/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; /** * Request body for creating an employee's Section 603 high earner status */ export type EmployeeSection603HighEarnerStatusCreateRequest = { /** * The year for which this high earner status applies */ effectiveYear: number; /** * Whether the employee is classified as a high earner for Section 603 purposes */ isHighEarner: boolean; }; /** @internal */ export type EmployeeSection603HighEarnerStatusCreateRequest$Outbound = { effective_year: number; is_high_earner: boolean; }; /** @internal */ export const EmployeeSection603HighEarnerStatusCreateRequest$outboundSchema: z.ZodType< EmployeeSection603HighEarnerStatusCreateRequest$Outbound, z.ZodTypeDef, EmployeeSection603HighEarnerStatusCreateRequest > = z.object({ effectiveYear: z.number().int(), isHighEarner: z.boolean(), }).transform((v) => { return remap$(v, { effectiveYear: "effective_year", isHighEarner: "is_high_earner", }); }); export function employeeSection603HighEarnerStatusCreateRequestToJSON( employeeSection603HighEarnerStatusCreateRequest: EmployeeSection603HighEarnerStatusCreateRequest, ): string { return JSON.stringify( EmployeeSection603HighEarnerStatusCreateRequest$outboundSchema.parse( employeeSection603HighEarnerStatusCreateRequest, ), ); }