import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { Form } from "../components/form.js"; import { HTTPMetadata } from "../components/httpmetadata.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ export declare const PutV1CompanyFormSignHeaderXGustoAPIVersion: { readonly TwoThousandAndTwentyFiveMinus06Minus15: "2025-06-15"; }; /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ export type PutV1CompanyFormSignHeaderXGustoAPIVersion = ClosedEnum; export type PutV1CompanyFormSignRequestBody = { /** * The signature */ signatureText: string; /** * Whether you agree to sign electronically */ agree: boolean; /** * The IP address of the signatory who signed the form. Both IPv4 AND IPv6 are supported. You must provide the IP address with either this parameter OR you can leave out this parameter and set the IP address in the request header using the `x-gusto-client-ip` header instead. */ signedByIpAddress?: string | undefined; }; export type PutV1CompanyFormSignRequest = { /** * Determines the date-based API version associated with your API call. If none is provided, your application's [minimum API version](https://docs.gusto.com/embedded-payroll/docs/api-versioning#minimum-api-version) is used. */ xGustoAPIVersion?: PutV1CompanyFormSignHeaderXGustoAPIVersion | undefined; /** * The UUID of the form */ formId: string; /** * Optional header to supply the IP address. This can be used to supply the IP address for signature endpoints instead of the signed_by_ip_address parameter. */ xGustoClientIp?: string | undefined; requestBody: PutV1CompanyFormSignRequestBody; }; export type PutV1CompanyFormSignResponse = { httpMeta: HTTPMetadata; /** * Success */ form?: Form | undefined; }; /** @internal */ export declare const PutV1CompanyFormSignHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export type PutV1CompanyFormSignRequestBody$Outbound = { signature_text: string; agree: boolean; signed_by_ip_address?: string | undefined; }; /** @internal */ export declare const PutV1CompanyFormSignRequestBody$outboundSchema: z.ZodType; export declare function putV1CompanyFormSignRequestBodyToJSON(putV1CompanyFormSignRequestBody: PutV1CompanyFormSignRequestBody): string; /** @internal */ export type PutV1CompanyFormSignRequest$Outbound = { "X-Gusto-API-Version": string; form_id: string; "x-gusto-client-ip"?: string | undefined; RequestBody: PutV1CompanyFormSignRequestBody$Outbound; }; /** @internal */ export declare const PutV1CompanyFormSignRequest$outboundSchema: z.ZodType; export declare function putV1CompanyFormSignRequestToJSON(putV1CompanyFormSignRequest: PutV1CompanyFormSignRequest): string; /** @internal */ export declare const PutV1CompanyFormSignResponse$inboundSchema: z.ZodType; export declare function putV1CompanyFormSignResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=putv1companyformsign.d.ts.map