/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; import { lazySchema as lazySchema$ } from "../../lib/schemas.js"; export type ApplicantsFilter = { /** * Id of the job to filter on */ jobId?: string | undefined; }; /** @internal */ export type ApplicantsFilter$Outbound = { job_id?: string | undefined; }; /** @internal */ export const ApplicantsFilter$outboundSchema: z.ZodType< ApplicantsFilter$Outbound, z.ZodTypeDef, ApplicantsFilter > = /* @__PURE__ */ lazySchema$(() => z.object({ jobId: z.string().optional(), }).transform((v) => { return remap$(v, { jobId: "job_id", }); }) ); export function applicantsFilterToJSON( applicantsFilter: ApplicantsFilter, ): string { return JSON.stringify( ApplicantsFilter$outboundSchema.parse(applicantsFilter), ); }