/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { remap as remap$ } from "../../lib/primitives.js"; import { CustomFieldV2, CustomFieldV2$inboundSchema, CustomFieldV2$Outbound, CustomFieldV2$outboundSchema, } from "./customfieldv2.js"; export type ListResponseBody5 = { customFields: Array; }; /** @internal */ export const ListResponseBody5$inboundSchema: z.ZodType< ListResponseBody5, z.ZodTypeDef, unknown > = z.object({ custom_fields: z.array(CustomFieldV2$inboundSchema), }).transform((v) => { return remap$(v, { "custom_fields": "customFields", }); }); /** @internal */ export type ListResponseBody5$Outbound = { custom_fields: Array; }; /** @internal */ export const ListResponseBody5$outboundSchema: z.ZodType< ListResponseBody5$Outbound, z.ZodTypeDef, ListResponseBody5 > = z.object({ customFields: z.array(CustomFieldV2$outboundSchema), }).transform((v) => { return remap$(v, { customFields: "custom_fields", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ListResponseBody5$ { /** @deprecated use `ListResponseBody5$inboundSchema` instead. */ export const inboundSchema = ListResponseBody5$inboundSchema; /** @deprecated use `ListResponseBody5$outboundSchema` instead. */ export const outboundSchema = ListResponseBody5$outboundSchema; /** @deprecated use `ListResponseBody5$Outbound` instead. */ export type Outbound = ListResponseBody5$Outbound; }