import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Currency } from "./currency.js"; import { PaymentFrequency } from "./paymentfrequency.js"; import { PaymentUnit } from "./paymentunit.js"; /** * The FLSA status for this compensation. */ export declare const FlsaStatus: { readonly Exempt: "exempt"; readonly SalariedNonexempt: "salaried-nonexempt"; readonly Nonexempt: "nonexempt"; readonly Owner: "owner"; readonly Other: "other"; }; /** * The FLSA status for this compensation. */ export type FlsaStatus = ClosedEnum; export type EmployeeCompensation = { /** * A unique identifier for an object. */ id?: string | null | undefined; /** * The ID of the job to which the compensation belongs. */ jobId?: string | null | undefined; /** * The amount paid per payment unit. */ rate?: number | null | undefined; /** * Unit of measurement for employee compensation. */ paymentUnit?: PaymentUnit | null | undefined; /** * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). */ currency?: Currency | null | undefined; /** * The FLSA status for this compensation. */ flsaStatus?: FlsaStatus | null | undefined; /** * The date on which a change to an employee's compensation takes effect. */ effectiveDate?: string | null | undefined; /** * Frequency of employee compensation. */ paymentFrequency?: PaymentFrequency | null | undefined; }; export type EmployeeCompensationInput = { /** * The amount paid per payment unit. */ rate?: number | null | undefined; /** * Unit of measurement for employee compensation. */ paymentUnit?: PaymentUnit | null | undefined; /** * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). */ currency?: Currency | null | undefined; /** * The FLSA status for this compensation. */ flsaStatus?: FlsaStatus | null | undefined; /** * The date on which a change to an employee's compensation takes effect. */ effectiveDate?: string | null | undefined; /** * Frequency of employee compensation. */ paymentFrequency?: PaymentFrequency | null | undefined; }; /** @internal */ export declare const FlsaStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const FlsaStatus$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace FlsaStatus$ { /** @deprecated use `FlsaStatus$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Exempt: "exempt"; readonly SalariedNonexempt: "salaried-nonexempt"; readonly Nonexempt: "nonexempt"; readonly Owner: "owner"; readonly Other: "other"; }>; /** @deprecated use `FlsaStatus$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Exempt: "exempt"; readonly SalariedNonexempt: "salaried-nonexempt"; readonly Nonexempt: "nonexempt"; readonly Owner: "owner"; readonly Other: "other"; }>; } /** @internal */ export declare const EmployeeCompensation$inboundSchema: z.ZodType; /** @internal */ export type EmployeeCompensation$Outbound = { id?: string | null | undefined; job_id?: string | null | undefined; rate?: number | null | undefined; payment_unit?: string | null | undefined; currency?: string | null | undefined; flsa_status?: string | null | undefined; effective_date?: string | null | undefined; payment_frequency?: string | null | undefined; }; /** @internal */ export declare const EmployeeCompensation$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 EmployeeCompensation$ { /** @deprecated use `EmployeeCompensation$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EmployeeCompensation$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EmployeeCompensation$Outbound` instead. */ type Outbound = EmployeeCompensation$Outbound; } export declare function employeeCompensationToJSON(employeeCompensation: EmployeeCompensation): string; export declare function employeeCompensationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const EmployeeCompensationInput$inboundSchema: z.ZodType; /** @internal */ export type EmployeeCompensationInput$Outbound = { rate?: number | null | undefined; payment_unit?: string | null | undefined; currency?: string | null | undefined; flsa_status?: string | null | undefined; effective_date?: string | null | undefined; payment_frequency?: string | null | undefined; }; /** @internal */ export declare const EmployeeCompensationInput$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 EmployeeCompensationInput$ { /** @deprecated use `EmployeeCompensationInput$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `EmployeeCompensationInput$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `EmployeeCompensationInput$Outbound` instead. */ type Outbound = EmployeeCompensationInput$Outbound; } export declare function employeeCompensationInputToJSON(employeeCompensationInput: EmployeeCompensationInput): string; export declare function employeeCompensationInputFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=employeecompensation.d.ts.map