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"; export declare const ContractorPaymentDetailsListPaymentMethod: { readonly DirectDeposit: "Direct Deposit"; readonly Check: "Check"; }; export type ContractorPaymentDetailsListPaymentMethod = ClosedEnum; export declare const ContractorPaymentDetailsListSplitBy: { readonly Amount: "Amount"; readonly Percentage: "Percentage"; }; export type ContractorPaymentDetailsListSplitBy = ClosedEnum; export type ContractorPaymentDetailsListSplits = { bankAccountUuid?: string | undefined; name?: string | undefined; /** * An obfuscated version of the account number which can be used for display purposes. */ hiddenAccountNumber?: string | undefined; /** * Ciphertext containing the full bank account number, which must be decrypted using a key provided by Gusto. Only visible with the `contractor_payment_methods:read:account_number` scope. */ encryptedAccountNumber?: string | null | undefined; routingNumber?: string | undefined; /** * The order of priority for each payment split, with priority 1 being the first bank account paid. Priority must be unique and sequential. */ priority?: number | undefined; /** * If `split_by` is 'Amount', this is in cents (e.g., 500 for $5.00) and exactly one account must have a `split_amount` of `null` to capture the remainder. If `split_by` is 'Percentage', this is the percentage value (e.g., 60 for 60%). */ splitAmount?: number | null | undefined; accountType?: string | undefined; }; export type ContractorPaymentDetailsList = { contractorUuid?: string | undefined; paymentMethod?: ContractorPaymentDetailsListPaymentMethod | undefined; firstName?: string | undefined; lastName?: string | undefined; /** * Describes how the payment will be split. If split_by is Percentage, then the split amounts must add up to exactly 100. If split_by is Amount, then the amount represents cents and the last split amount must be `null` to capture the remainder. */ splitBy?: ContractorPaymentDetailsListSplitBy | null | undefined; splits?: Array | null | undefined; }; /** @internal */ export declare const ContractorPaymentDetailsListPaymentMethod$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ContractorPaymentDetailsListSplitBy$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ContractorPaymentDetailsListSplits$inboundSchema: z.ZodType; export declare function contractorPaymentDetailsListSplitsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ContractorPaymentDetailsList$inboundSchema: z.ZodType; export declare function contractorPaymentDetailsListFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=contractorpaymentdetailslist.d.ts.map