/* * 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 onboarding documents configuration. */ export type EmployeeOnboardingDocumentsConfigRequest = { /** * Whether to include Form I-9 for this employee during onboarding. * * @remarks * When true, the employee will be prompted to complete Form I-9 as part of their onboarding. */ i9Document?: boolean | undefined; }; /** @internal */ export type EmployeeOnboardingDocumentsConfigRequest$Outbound = { i9_document: boolean; }; /** @internal */ export const EmployeeOnboardingDocumentsConfigRequest$outboundSchema: z.ZodType< EmployeeOnboardingDocumentsConfigRequest$Outbound, z.ZodTypeDef, EmployeeOnboardingDocumentsConfigRequest > = z.object({ i9Document: z.boolean().default(false), }).transform((v) => { return remap$(v, { i9Document: "i9_document", }); }); export function employeeOnboardingDocumentsConfigRequestToJSON( employeeOnboardingDocumentsConfigRequest: EmployeeOnboardingDocumentsConfigRequest, ): string { return JSON.stringify( EmployeeOnboardingDocumentsConfigRequest$outboundSchema.parse( employeeOnboardingDocumentsConfigRequest, ), ); }