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 payment method. */ export declare const ContractorPaymentPaymentMethod: { readonly DirectDeposit: "Direct Deposit"; readonly Check: "Check"; readonly HistoricalPayment: "Historical Payment"; readonly CorrectionPayment: "Correction Payment"; }; /** * The payment method. */ export type ContractorPaymentPaymentMethod = ClosedEnum; /** * Contractor payment status */ export declare const ContractorPaymentStatus: { readonly Funded: "Funded"; readonly Unfunded: "Unfunded"; }; /** * Contractor payment status */ export type ContractorPaymentStatus = ClosedEnum; /** * The wage type for the payment. */ export declare const ContractorPaymentWageType: { readonly Hourly: "Hourly"; readonly Fixed: "Fixed"; }; /** * The wage type for the payment. */ export type ContractorPaymentWageType = ClosedEnum; /** * The representation of a single contractor payment. */ export type ContractorPayment = { /** * The unique identifier of the contractor payment in Gusto. */ uuid: string; /** * The UUID of the contractor. */ contractorUuid?: string | undefined; /** * The bonus amount in the payment. */ bonus?: string | undefined; /** * The payment date. */ date?: string | undefined; /** * The number of hours worked for the payment. */ hours?: string | undefined; /** * The payment method. */ paymentMethod?: ContractorPaymentPaymentMethod | undefined; /** * The reimbursement amount in the payment. */ reimbursement?: string | undefined; /** * Contractor payment status */ status?: ContractorPaymentStatus | undefined; /** * The rate per hour worked for the payment. */ hourlyRate?: string | undefined; /** * Determine if the contractor payment can be cancelled. */ mayCancel?: boolean | undefined; /** * The fixed wage of the payment, regardless of hours worked. */ wage?: string | undefined; /** * The wage type for the payment. */ wageType?: ContractorPaymentWageType | undefined; /** * (hours * hourly_rate) + wage + bonus */ wageTotal?: string | undefined; }; /** @internal */ export declare const ContractorPaymentPaymentMethod$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ContractorPaymentStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ContractorPaymentWageType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ContractorPayment$inboundSchema: z.ZodType; export declare function contractorPaymentFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=contractorpayment.d.ts.map