/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; export type GetWalletBalanceRequest = { /** * Wallet ID */ id: string; /** * Expand fields (e.g., credits_available_breakdown) */ expand?: string | undefined; }; /** @internal */ export type GetWalletBalanceRequest$Outbound = { id: string; expand?: string | undefined; }; /** @internal */ export const GetWalletBalanceRequest$outboundSchema: z.ZodMiniType< GetWalletBalanceRequest$Outbound, GetWalletBalanceRequest > = z.object({ id: z.string(), expand: z.optional(z.string()), }); export function getWalletBalanceRequestToJSON( getWalletBalanceRequest: GetWalletBalanceRequest, ): string { return JSON.stringify( GetWalletBalanceRequest$outboundSchema.parse(getWalletBalanceRequest), ); }