/* * 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 updating an employee's Section 603 high earner status */ export type EmployeeSection603HighEarnerStatusUpdateRequest = { /** * Whether the employee is classified as a high earner for Section 603 purposes */ isHighEarner: boolean; }; /** @internal */ export type EmployeeSection603HighEarnerStatusUpdateRequest$Outbound = { is_high_earner: boolean; }; /** @internal */ export const EmployeeSection603HighEarnerStatusUpdateRequest$outboundSchema: z.ZodType< EmployeeSection603HighEarnerStatusUpdateRequest$Outbound, z.ZodTypeDef, EmployeeSection603HighEarnerStatusUpdateRequest > = z.object({ isHighEarner: z.boolean(), }).transform((v) => { return remap$(v, { isHighEarner: "is_high_earner", }); }); export function employeeSection603HighEarnerStatusUpdateRequestToJSON( employeeSection603HighEarnerStatusUpdateRequest: EmployeeSection603HighEarnerStatusUpdateRequest, ): string { return JSON.stringify( EmployeeSection603HighEarnerStatusUpdateRequest$outboundSchema.parse( employeeSection603HighEarnerStatusUpdateRequest, ), ); }