import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { ExternalPayroll } from "../components/externalpayroll.js"; import { ExternalPayrollCreateRequest, ExternalPayrollCreateRequest$Outbound } from "../components/externalpayrollcreaterequest.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 PostV1ExternalPayrollHeaderXGustoAPIVersion: { 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 PostV1ExternalPayrollHeaderXGustoAPIVersion = ClosedEnum; export type PostV1ExternalPayrollRequest = { /** * 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?: PostV1ExternalPayrollHeaderXGustoAPIVersion | undefined; /** * The UUID of the company */ companyUuid: string; externalPayrollCreateRequest: ExternalPayrollCreateRequest; }; export type PostV1ExternalPayrollResponse = { httpMeta: HTTPMetadata; /** * Success */ externalPayroll?: ExternalPayroll | undefined; }; /** @internal */ export declare const PostV1ExternalPayrollHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export type PostV1ExternalPayrollRequest$Outbound = { "X-Gusto-API-Version": string; company_uuid: string; "External-Payroll-Create-Request": ExternalPayrollCreateRequest$Outbound; }; /** @internal */ export declare const PostV1ExternalPayrollRequest$outboundSchema: z.ZodType; export declare function postV1ExternalPayrollRequestToJSON(postV1ExternalPayrollRequest: PostV1ExternalPayrollRequest): string; /** @internal */ export declare const PostV1ExternalPayrollResponse$inboundSchema: z.ZodType; export declare function postV1ExternalPayrollResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=postv1externalpayroll.d.ts.map