import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { HTTPMetadata } from "../components/httpmetadata.js"; import { PayrollDigest } from "../components/payrolldigest.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type PostV1PayrollDigestsSecurity = { systemAccessAuth: string; }; /** * 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 PostV1PayrollDigestsHeaderXGustoAPIVersion: { 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 PostV1PayrollDigestsHeaderXGustoAPIVersion = ClosedEnum; /** * The action to perform on the batch. */ export declare const PostV1PayrollDigestsBatchAction: { readonly Create: "create"; }; /** * The action to perform on the batch. */ export type PostV1PayrollDigestsBatchAction = ClosedEnum; /** * The type of entity to look up. */ export declare const PostV1PayrollDigestsEntityType: { readonly Company: "company"; }; /** * The type of entity to look up. */ export type PostV1PayrollDigestsEntityType = ClosedEnum; export type PostV1PayrollDigestsBatch = { /** * The type of entity to look up. */ entityType: PostV1PayrollDigestsEntityType; /** * The UUID of a company that the partner is mapped to. Companies that the partner is not authorized to access will appear in the response's `exclusions` array. */ uuid: string; }; export type PostV1PayrollDigestsRequestBody = { /** * A partner-generated unique identifier to ensure idempotency of the batch request. Scoped per partner. */ idempotencyKey: string; /** * The action to perform on the batch. */ batchAction: PostV1PayrollDigestsBatchAction; /** * Array of companies to fetch payroll digest data for. Maximum 25 companies per request. */ batch: Array; }; export type PostV1PayrollDigestsRequest = { /** * 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?: PostV1PayrollDigestsHeaderXGustoAPIVersion | undefined; requestBody: PostV1PayrollDigestsRequestBody; }; export type PostV1PayrollDigestsResponse = { httpMeta: HTTPMetadata; /** * created */ payrollDigest?: PayrollDigest | undefined; }; /** @internal */ export type PostV1PayrollDigestsSecurity$Outbound = { SystemAccessAuth: string; }; /** @internal */ export declare const PostV1PayrollDigestsSecurity$outboundSchema: z.ZodType; export declare function postV1PayrollDigestsSecurityToJSON(postV1PayrollDigestsSecurity: PostV1PayrollDigestsSecurity): string; /** @internal */ export declare const PostV1PayrollDigestsHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PostV1PayrollDigestsBatchAction$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PostV1PayrollDigestsEntityType$outboundSchema: z.ZodNativeEnum; /** @internal */ export type PostV1PayrollDigestsBatch$Outbound = { entity_type: string; uuid: string; }; /** @internal */ export declare const PostV1PayrollDigestsBatch$outboundSchema: z.ZodType; export declare function postV1PayrollDigestsBatchToJSON(postV1PayrollDigestsBatch: PostV1PayrollDigestsBatch): string; /** @internal */ export type PostV1PayrollDigestsRequestBody$Outbound = { idempotency_key: string; batch_action: string; batch: Array; }; /** @internal */ export declare const PostV1PayrollDigestsRequestBody$outboundSchema: z.ZodType; export declare function postV1PayrollDigestsRequestBodyToJSON(postV1PayrollDigestsRequestBody: PostV1PayrollDigestsRequestBody): string; /** @internal */ export type PostV1PayrollDigestsRequest$Outbound = { "X-Gusto-API-Version": string; RequestBody: PostV1PayrollDigestsRequestBody$Outbound; }; /** @internal */ export declare const PostV1PayrollDigestsRequest$outboundSchema: z.ZodType; export declare function postV1PayrollDigestsRequestToJSON(postV1PayrollDigestsRequest: PostV1PayrollDigestsRequest): string; /** @internal */ export declare const PostV1PayrollDigestsResponse$inboundSchema: z.ZodType; export declare function postV1PayrollDigestsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=postv1payrolldigests.d.ts.map