import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Benefit, Benefit$Outbound } from "./benefit.js"; import { Deduction, Deduction$Outbound } from "./deduction.js"; import { Tax, Tax$Outbound } from "./tax.js"; export type Compensation = { /** * A unique identifier for an object. */ employeeId: string | null; /** * The employee's net pay. Only available when payroll has been processed */ netPay?: number | null | undefined; /** * The employee's gross pay. Only available when payroll has been processed */ grossPay?: number | null | undefined; /** * An array of employer and employee taxes for the pay period. */ taxes?: Array | null | undefined; /** * An array of employee deductions for the pay period. */ deductions?: Array | null | undefined; /** * An array of employee benefits for the pay period. */ benefits?: Array | null | undefined; }; /** @internal */ export declare const Compensation$inboundSchema: z.ZodType; /** @internal */ export type Compensation$Outbound = { employee_id: string | null; net_pay?: number | null | undefined; gross_pay?: number | null | undefined; taxes?: Array | null | undefined; deductions?: Array | null | undefined; benefits?: Array | null | undefined; }; /** @internal */ export declare const Compensation$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Compensation$ { /** @deprecated use `Compensation$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Compensation$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Compensation$Outbound` instead. */ type Outbound = Compensation$Outbound; } export declare function compensationToJSON(compensation: Compensation): string; export declare function compensationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=compensation.d.ts.map