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"; import { FlsaStatusType } from "./flsastatustype.js"; /** * The unit accompanying the compensation rate. If the employee is an owner, rate should be 'Paycheck'. */ export declare const PaymentUnit: { readonly Hour: "Hour"; readonly Week: "Week"; readonly Month: "Month"; readonly Year: "Year"; readonly Paycheck: "Paycheck"; }; /** * The unit accompanying the compensation rate. If the employee is an owner, rate should be 'Paycheck'. */ export type PaymentUnit = ClosedEnum; export type MinimumWages = { /** * The UUID of the minimum wage. */ uuid?: string | undefined; /** * The wage amount. */ wage?: string | undefined; /** * The effective date of the minimum wage. */ effectiveDate?: string | undefined; }; /** * The representation of compensation in Gusto. */ export type Compensation = { /** * The UUID of the compensation in Gusto. */ uuid: string; /** * The current version of the object. See the [versioning guide](https://docs.gusto.com/embedded-payroll/docs/idempotency) for information on how to use this field. */ version?: string | undefined; /** * The UUID of the job to which the compensation belongs. */ jobUuid?: string | undefined; /** * The UUID of the employee to which the compensation belongs. */ employeeUuid?: string | undefined; /** * The dollar amount paid per payment unit. */ rate?: string | undefined; /** * The unit accompanying the compensation rate. If the employee is an owner, rate should be 'Paycheck'. */ paymentUnit?: PaymentUnit | undefined; /** * The FLSA status for this compensation. Salaried ('Exempt') employees are paid a fixed salary every pay period. Salaried with overtime ('Salaried Nonexempt') employees are paid a fixed salary every pay period, and receive overtime pay when applicable. Hourly ('Nonexempt') employees are paid for the hours they work, and receive overtime pay when applicable. Commissioned employees ('Commission Only Exempt') earn wages based only on commission. Commissioned with overtime ('Commission Only Nonexempt') earn wages based on commission, and receive overtime pay when applicable. Owners ('Owner') are employees that own at least twenty percent of the company. */ flsaStatus?: FlsaStatusType | undefined; /** * The job title for this compensation. */ title?: string | undefined; /** * The effective date for this compensation. For the first compensation, this defaults to the job's hire date. */ effectiveDate?: string | undefined; /** * Indicates if the compensation could be adjusted to minimum wage during payroll calculation. */ adjustForMinimumWage?: boolean | undefined; /** * The minimum wages associated with the compensation. */ minimumWages?: Array | undefined; }; /** @internal */ export declare const PaymentUnit$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const MinimumWages$inboundSchema: z.ZodType; export declare function minimumWagesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Compensation$inboundSchema: z.ZodType; export declare function compensationFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=compensation.d.ts.map