import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Compensation, Compensation$Outbound } from "./compensation.js"; import { PayrollTotals, PayrollTotals$Outbound } from "./payrolltotals.js"; export type EmployeePayroll = { /** * A unique identifier for an object. */ id: string | null; /** * ID of the employee */ employeeId?: string | null | undefined; /** * The unique identifier of the company. */ companyId?: string | null | undefined; /** * Whether or not the payroll has been successfully processed. Note that processed payrolls cannot be updated. */ processed: boolean | null; /** * The date the payroll was processed. */ processedDate?: string | null | undefined; /** * The date on which employees will be paid for the payroll. */ checkDate: string | null; /** * The start date, inclusive, of the pay period. */ startDate: string | null; /** * The end date, inclusive, of the pay period. */ endDate: string | null; /** * The overview of the payroll totals. */ totals?: PayrollTotals | undefined; /** * An array of compensations for the payroll. */ compensations?: Array | undefined; }; /** @internal */ export declare const EmployeePayroll$inboundSchema: z.ZodType; /** @internal */ export type EmployeePayroll$Outbound = { id: string | null; employee_id?: string | null | undefined; company_id?: string | null | undefined; processed: boolean | null; processed_date?: string | null | undefined; check_date: string | null; start_date: string | null; end_date: string | null; totals?: PayrollTotals$Outbound | undefined; compensations?: Array | undefined; }; /** @internal */ export declare const EmployeePayroll$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 EmployeePayroll$ { /** @deprecated use `EmployeePayroll$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EmployeePayroll$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EmployeePayroll$Outbound` instead. */ type Outbound = EmployeePayroll$Outbound; } export declare function employeePayrollToJSON(employeePayroll: EmployeePayroll): string; export declare function employeePayrollFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=employeepayroll.d.ts.map