/* * 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 AccountingLocationsFilter = { /** * Id of the subsidiary to search for */ subsidiary?: string | undefined; }; /** @internal */ export type AccountingLocationsFilter$Outbound = { subsidiary?: string | undefined; }; /** @internal */ export const AccountingLocationsFilter$outboundSchema: z.ZodType< AccountingLocationsFilter$Outbound, z.ZodTypeDef, AccountingLocationsFilter > = /* @__PURE__ */ lazySchema$(() => z.object({ subsidiary: z.string().optional(), }) ); export function accountingLocationsFilterToJSON( accountingLocationsFilter: AccountingLocationsFilter, ): string { return JSON.stringify( AccountingLocationsFilter$outboundSchema.parse(accountingLocationsFilter), ); }