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 { PayrollPartnerDisbursements } from "../components/payrollpartnerdisbursements.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 PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsHeaderXGustoAPIVersion: { 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 PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsHeaderXGustoAPIVersion = ClosedEnum; /** * Payment method for the employee */ export declare const PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsPaymentMethod: { readonly DirectDeposit: "Direct Deposit"; readonly Check: "Check"; }; /** * Payment method for the employee */ export type PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsPaymentMethod = ClosedEnum; /** * Status of the payment disbursement */ export declare const PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsPaymentStatus: { readonly Pending: "Pending"; readonly Paid: "Paid"; readonly NotPartnerManaged: "Not partner managed"; readonly ConvertedToCheck: "Converted to check"; }; /** * Status of the payment disbursement */ export type PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsPaymentStatus = ClosedEnum; export type PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsDisbursements = { /** * UUID of the employee */ employeeUuid: string; /** * Payment method for the employee */ paymentMethod?: PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsPaymentMethod | undefined; /** * Status of the payment disbursement */ paymentStatus?: PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsPaymentStatus | undefined; }; export type PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequestBody = { disbursements: Array; }; export type PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequest = { /** * The UUID of the company */ companyId: string; /** * The UUID of the payroll */ id: 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. */ xGustoAPIVersion?: PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsHeaderXGustoAPIVersion | undefined; requestBody?: PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequestBody | undefined; }; export type PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsResponse = { httpMeta: HTTPMetadata; /** * successful */ payrollPartnerDisbursements?: PayrollPartnerDisbursements | undefined; }; /** @internal */ export declare const PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsPaymentMethod$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsPaymentStatus$outboundSchema: z.ZodNativeEnum; /** @internal */ export type PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsDisbursements$Outbound = { employee_uuid: string; payment_method?: string | undefined; payment_status?: string | undefined; }; /** @internal */ export declare const PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsDisbursements$outboundSchema: z.ZodType; export declare function patchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsDisbursementsToJSON(patchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsDisbursements: PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsDisbursements): string; /** @internal */ export type PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequestBody$Outbound = { disbursements: Array; }; /** @internal */ export declare const PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequestBody$outboundSchema: z.ZodType; export declare function patchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequestBodyToJSON(patchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequestBody: PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequestBody): string; /** @internal */ export type PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequest$Outbound = { company_id: string; id: string; "X-Gusto-API-Version": string; RequestBody?: PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequestBody$Outbound | undefined; }; /** @internal */ export declare const PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequest$outboundSchema: z.ZodType; export declare function patchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequestToJSON(patchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequest: PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsRequest): string; /** @internal */ export declare const PatchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsResponse$inboundSchema: z.ZodType; export declare function patchV1CompaniesCompanyIdPayrollsIdPartnerDisbursementsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=patchv1companiescompanyidpayrollsidpartnerdisbursements.d.ts.map