/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { lazySchema as lazySchema$ } from "../../lib/schemas.js"; export type AccountingDepartmentsFilter = { /** * Id of the subsidiary to search for */ subsidiary?: string | undefined; }; /** @internal */ export type AccountingDepartmentsFilter$Outbound = { subsidiary?: string | undefined; }; /** @internal */ export const AccountingDepartmentsFilter$outboundSchema: z.ZodType< AccountingDepartmentsFilter$Outbound, z.ZodTypeDef, AccountingDepartmentsFilter > = /* @__PURE__ */ lazySchema$(() => z.object({ subsidiary: z.string().optional(), }) ); export function accountingDepartmentsFilterToJSON( accountingDepartmentsFilter: AccountingDepartmentsFilter, ): string { return JSON.stringify( AccountingDepartmentsFilter$outboundSchema.parse( accountingDepartmentsFilter, ), ); }