import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The type of recipient associated with the document (will be `Contractor` for Contractor Documents) */ export declare const DocumentSignedRecipientType: { readonly Company: "Company"; readonly Employee: "Employee"; readonly Contractor: "Contractor"; }; /** * The type of recipient associated with the document (will be `Contractor` for Contractor Documents) */ export type DocumentSignedRecipientType = ClosedEnum; export type DocumentSignedPages = { /** * Image URL for the page */ imageUrl?: string | undefined; /** * Page number */ pageNumber?: number | undefined; }; export type DocumentSignedFields = { /** * Unique identifier of the field. May be null for custom fields that do not correspond to a known Gusto-managed key mapping. */ key?: string | null | undefined; /** * Value of the field */ value?: string | null | undefined; /** * X-coordinate location of the field on the page. May be null when the field has no positioning information. */ x?: number | null | undefined; /** * Y-coordinate location of the field on the page. May be null when the field has no positioning information. */ y?: number | null | undefined; /** * Width of the field. May be null when the field has no positioning information. */ width?: number | null | undefined; /** * Height of the field. May be null when the field has no positioning information. */ height?: number | null | undefined; /** * Page number of the field. May be null when the field has no positioning information. */ pageNumber?: number | null | undefined; /** * The field's data type */ dataType?: string | undefined; /** * Whether the field is required */ required?: boolean | undefined; }; export type DocumentSigned = { /** * The UUID of the document */ uuid?: string | undefined; /** * The title of the document */ title?: string | undefined; /** * The type identifier of the document */ name?: string | undefined; /** * The type of recipient associated with the document (will be `Contractor` for Contractor Documents) */ recipientType?: DocumentSignedRecipientType | undefined; /** * Unique identifier for the recipient associated with the document */ recipientUuid?: string | undefined; /** * List of the document's pages and associated image URLs. */ pages?: Array | undefined; /** * List of the document's fields and associated data. Values reflect the data provided at signing. */ fields?: Array | undefined; /** * When the document was signed (will be `null` if unsigned) */ signedAt?: string | null | undefined; /** * The description of the document */ description?: string | undefined; /** * A boolean flag that indicates whether the document needs signing or not. Note that this value will change after the document is signed. */ requiresSigning?: boolean | undefined; /** * If the document is in a draft state */ draft?: boolean | undefined; /** * The year of this document. This value is nullable and will not be present on all documents. */ year?: number | null | undefined; /** * The quarter of this document. This value is nullable and will not be present on all documents. */ quarter?: number | null | undefined; }; /** @internal */ export declare const DocumentSignedRecipientType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const DocumentSignedPages$inboundSchema: z.ZodType; export declare function documentSignedPagesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DocumentSignedFields$inboundSchema: z.ZodType; export declare function documentSignedFieldsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DocumentSigned$inboundSchema: z.ZodType; export declare function documentSignedFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=documentsigned.d.ts.map