/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { remap as remap$ } from "../../lib/primitives.js"; export type CustomFieldOptionsV1NumberListRequest = { /** * number of records to return */ pageSize?: number | undefined; /** * A custom field option's ID. This endpoint will return a list of custom field options created after this option. */ after?: string | undefined; /** * The custom field to list options for. */ customFieldId: string; }; /** @internal */ export const CustomFieldOptionsV1NumberListRequest$inboundSchema: z.ZodType< CustomFieldOptionsV1NumberListRequest, z.ZodTypeDef, unknown > = z.object({ page_size: z.number().int().default(25), after: z.string().optional(), custom_field_id: z.string(), }).transform((v) => { return remap$(v, { "page_size": "pageSize", "custom_field_id": "customFieldId", }); }); /** @internal */ export type CustomFieldOptionsV1NumberListRequest$Outbound = { page_size: number; after?: string | undefined; custom_field_id: string; }; /** @internal */ export const CustomFieldOptionsV1NumberListRequest$outboundSchema: z.ZodType< CustomFieldOptionsV1NumberListRequest$Outbound, z.ZodTypeDef, CustomFieldOptionsV1NumberListRequest > = z.object({ pageSize: z.number().int().default(25), after: z.string().optional(), customFieldId: z.string(), }).transform((v) => { return remap$(v, { pageSize: "page_size", customFieldId: "custom_field_id", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace CustomFieldOptionsV1NumberListRequest$ { /** @deprecated use `CustomFieldOptionsV1NumberListRequest$inboundSchema` instead. */ export const inboundSchema = CustomFieldOptionsV1NumberListRequest$inboundSchema; /** @deprecated use `CustomFieldOptionsV1NumberListRequest$outboundSchema` instead. */ export const outboundSchema = CustomFieldOptionsV1NumberListRequest$outboundSchema; /** @deprecated use `CustomFieldOptionsV1NumberListRequest$Outbound` instead. */ export type Outbound = CustomFieldOptionsV1NumberListRequest$Outbound; }