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 ContractorPaymentForGroupPaymentMethod: { readonly DirectDeposit: "Direct Deposit"; readonly Check: "Check"; readonly HistoricalPayment: "Historical Payment"; readonly CorrectionPayment: "Correction Payment"; }; /** * The payment method. */ export type ContractorPaymentForGroupPaymentMethod = ClosedEnum; /** * The status of the contractor payment. Will transition to `Funded` during payments processing if the payment should be funded, i.e. has `Direct Deposit` for payment method. Contractors payments with `Check` payment method will remain `Unfunded`. */ export declare const ContractorPaymentForGroupStatus: { readonly Funded: "Funded"; readonly Unfunded: "Unfunded"; }; /** * The status of the contractor payment. Will transition to `Funded` during payments processing if the payment should be funded, i.e. has `Direct Deposit` for payment method. Contractors payments with `Check` payment method will remain `Unfunded`. */ export type ContractorPaymentForGroupStatus = ClosedEnum; /** * The wage type for the payment. */ export declare const ContractorPaymentForGroupWageType: { readonly Hourly: "Hourly"; readonly Fixed: "Fixed"; }; /** * The wage type for the payment. */ export type ContractorPaymentForGroupWageType = ClosedEnum; /** * The representation of a single contractor payment. */ export type ContractorPaymentForGroup = { /** * The unique identifier of the contractor payment in Gusto. */ uuid?: string | undefined; /** * The UUID of the contractor. */ contractorUuid?: string | undefined; /** * The bonus amount in the payment. */ bonus?: string | undefined; /** * The number of hours worked for the payment. */ hours?: string | undefined; /** * The payment method. */ paymentMethod?: ContractorPaymentForGroupPaymentMethod | undefined; /** * The reimbursement amount in the payment. */ reimbursement?: string | undefined; /** * The status of the contractor payment. Will transition to `Funded` during payments processing if the payment should be funded, i.e. has `Direct Deposit` for payment method. Contractors payments with `Check` payment method will remain `Unfunded`. */ status?: ContractorPaymentForGroupStatus | 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?: ContractorPaymentForGroupWageType | undefined; /** * (hours * hourly_rate) + wage + bonus */ wageTotal?: string | undefined; }; /** @internal */ export declare const ContractorPaymentForGroupPaymentMethod$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ContractorPaymentForGroupStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ContractorPaymentForGroupWageType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ContractorPaymentForGroup$inboundSchema: z.ZodType; export declare function contractorPaymentForGroupFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=contractorpaymentforgroup.d.ts.map