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 action being performed on the batch. */ export declare const BatchAction: { readonly Create: "create"; }; /** * The action being performed on the batch. */ export type BatchAction = ClosedEnum; /** * The lifecycle status of the batch request itself. Terminal values are `completed` (processing finished — inspect `results` and `exclusions` for per-company outcomes) and `failed` (request failed; can be retried). This is distinct from the per-company `status` returned inside `results[]` and `exclusions[]`. */ export declare const PayrollDigestStatus: { readonly Pending: "pending"; readonly Processing: "processing"; readonly Completed: "completed"; readonly Failed: "failed"; }; /** * The lifecycle status of the batch request itself. Terminal values are `completed` (processing finished — inspect `results` and `exclusions` for per-company outcomes) and `failed` (request failed; can be retried). This is distinct from the per-company `status` returned inside `results[]` and `exclusions[]`. */ export type PayrollDigestStatus = ClosedEnum; /** * A payroll digest batch request. */ export type PayrollDigest = { /** * The unique identifier of the payroll digest batch. */ uuid: string; /** * The idempotency key provided when creating the batch. */ idempotencyKey: string; /** * The action being performed on the batch. */ batchAction: BatchAction; /** * The lifecycle status of the batch request itself. Terminal values are `completed` (processing finished — inspect `results` and `exclusions` for per-company outcomes) and `failed` (request failed; can be retried). This is distinct from the per-company `status` returned inside `results[]` and `exclusions[]`. */ status: PayrollDigestStatus; }; /** @internal */ export declare const BatchAction$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PayrollDigestStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PayrollDigest$inboundSchema: z.ZodType; export declare function payrollDigestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=payrolldigest.d.ts.map