/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import { remap as remap$ } from "../../lib/primitives.js"; export type GetCustomerWalletsRequest = { /** * populated from x-max-live header, not query param */ minus?: number | undefined; expand?: string | undefined; fromCache?: boolean | undefined; id?: string | undefined; includeRealTimeBalance?: boolean | undefined; lookupKey?: string | undefined; }; /** @internal */ export type GetCustomerWalletsRequest$Outbound = { "-"?: number | undefined; expand?: string | undefined; from_cache: boolean; id?: string | undefined; include_real_time_balance: boolean; lookup_key?: string | undefined; }; /** @internal */ export const GetCustomerWalletsRequest$outboundSchema: z.ZodMiniType< GetCustomerWalletsRequest$Outbound, GetCustomerWalletsRequest > = z.pipe( z.object({ minus: z.optional(z.int()), expand: z.optional(z.string()), fromCache: z._default(z.boolean(), false), id: z.optional(z.string()), includeRealTimeBalance: z._default(z.boolean(), false), lookupKey: z.optional(z.string()), }), z.transform((v) => { return remap$(v, { minus: "-", fromCache: "from_cache", includeRealTimeBalance: "include_real_time_balance", lookupKey: "lookup_key", }); }), ); export function getCustomerWalletsRequestToJSON( getCustomerWalletsRequest: GetCustomerWalletsRequest, ): string { return JSON.stringify( GetCustomerWalletsRequest$outboundSchema.parse(getCustomerWalletsRequest), ); }