import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { ContractorPaymentGroupPartnerDisbursements } from "../components/contractorpaymentgrouppartnerdisbursements.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 PatchV1ContractorPaymentGroupsIdPartnerDisbursementsHeaderXGustoAPIVersion: { 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 PatchV1ContractorPaymentGroupsIdPartnerDisbursementsHeaderXGustoAPIVersion = ClosedEnum; /** * Payment method for the contractor */ export declare const PatchV1ContractorPaymentGroupsIdPartnerDisbursementsPaymentMethod: { readonly DirectDeposit: "Direct Deposit"; readonly Check: "Check"; }; /** * Payment method for the contractor */ export type PatchV1ContractorPaymentGroupsIdPartnerDisbursementsPaymentMethod = ClosedEnum; /** * Status of the payment disbursement */ export declare const PaymentStatus: { readonly Pending: "Pending"; readonly Paid: "Paid"; readonly NotPartnerManaged: "Not partner managed"; readonly ConvertedToCheck: "Converted to check"; }; /** * Status of the payment disbursement */ export type PaymentStatus = ClosedEnum; export type Disbursements = { /** * UUID of the contractor payment */ contractorPaymentUuid: string; /** * Payment method for the contractor */ paymentMethod?: PatchV1ContractorPaymentGroupsIdPartnerDisbursementsPaymentMethod | undefined; /** * Status of the payment disbursement */ paymentStatus?: PaymentStatus | undefined; }; export type PatchV1ContractorPaymentGroupsIdPartnerDisbursementsRequestBody = { disbursements: Array; }; export type PatchV1ContractorPaymentGroupsIdPartnerDisbursementsRequest = { /** * The UUID of the contractor payment group */ 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?: PatchV1ContractorPaymentGroupsIdPartnerDisbursementsHeaderXGustoAPIVersion | undefined; requestBody?: PatchV1ContractorPaymentGroupsIdPartnerDisbursementsRequestBody | undefined; }; export type PatchV1ContractorPaymentGroupsIdPartnerDisbursementsResponse = { httpMeta: HTTPMetadata; /** * successful */ contractorPaymentGroupPartnerDisbursements?: ContractorPaymentGroupPartnerDisbursements | undefined; }; /** @internal */ export declare const PatchV1ContractorPaymentGroupsIdPartnerDisbursementsHeaderXGustoAPIVersion$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PatchV1ContractorPaymentGroupsIdPartnerDisbursementsPaymentMethod$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PaymentStatus$outboundSchema: z.ZodNativeEnum; /** @internal */ export type Disbursements$Outbound = { contractor_payment_uuid: string; payment_method?: string | undefined; payment_status?: string | undefined; }; /** @internal */ export declare const Disbursements$outboundSchema: z.ZodType; export declare function disbursementsToJSON(disbursements: Disbursements): string; /** @internal */ export type PatchV1ContractorPaymentGroupsIdPartnerDisbursementsRequestBody$Outbound = { disbursements: Array; }; /** @internal */ export declare const PatchV1ContractorPaymentGroupsIdPartnerDisbursementsRequestBody$outboundSchema: z.ZodType; export declare function patchV1ContractorPaymentGroupsIdPartnerDisbursementsRequestBodyToJSON(patchV1ContractorPaymentGroupsIdPartnerDisbursementsRequestBody: PatchV1ContractorPaymentGroupsIdPartnerDisbursementsRequestBody): string; /** @internal */ export type PatchV1ContractorPaymentGroupsIdPartnerDisbursementsRequest$Outbound = { id: string; "X-Gusto-API-Version": string; RequestBody?: PatchV1ContractorPaymentGroupsIdPartnerDisbursementsRequestBody$Outbound | undefined; }; /** @internal */ export declare const PatchV1ContractorPaymentGroupsIdPartnerDisbursementsRequest$outboundSchema: z.ZodType; export declare function patchV1ContractorPaymentGroupsIdPartnerDisbursementsRequestToJSON(patchV1ContractorPaymentGroupsIdPartnerDisbursementsRequest: PatchV1ContractorPaymentGroupsIdPartnerDisbursementsRequest): string; /** @internal */ export declare const PatchV1ContractorPaymentGroupsIdPartnerDisbursementsResponse$inboundSchema: z.ZodType; export declare function patchV1ContractorPaymentGroupsIdPartnerDisbursementsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=patchv1contractorpaymentgroupsidpartnerdisbursements.d.ts.map