/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; /** * Unit of measurement for employee compensation. */ export const PaymentUnit = { Hour: "hour", Week: "week", Month: "month", Year: "year", Paycheck: "paycheck", Other: "other", } as const; /** * Unit of measurement for employee compensation. */ export type PaymentUnit = ClosedEnum; /** @internal */ export const PaymentUnit$inboundSchema: z.ZodNativeEnum = z .nativeEnum(PaymentUnit); /** @internal */ export const PaymentUnit$outboundSchema: z.ZodNativeEnum = PaymentUnit$inboundSchema; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace PaymentUnit$ { /** @deprecated use `PaymentUnit$inboundSchema` instead. */ export const inboundSchema = PaymentUnit$inboundSchema; /** @deprecated use `PaymentUnit$outboundSchema` instead. */ export const outboundSchema = PaymentUnit$outboundSchema; }