/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; export type AccountUpdaterJobCreate = { /** * A list of payment method IDs to request an update for. */ paymentMethodIds: Array; }; /** @internal */ export type AccountUpdaterJobCreate$Outbound = { payment_method_ids: Array; }; /** @internal */ export const AccountUpdaterJobCreate$outboundSchema: z.ZodType< AccountUpdaterJobCreate$Outbound, z.ZodTypeDef, AccountUpdaterJobCreate > = z.object({ paymentMethodIds: z.array(z.string()), }).transform((v) => { return remap$(v, { paymentMethodIds: "payment_method_ids", }); }); export function accountUpdaterJobCreateToJSON( accountUpdaterJobCreate: AccountUpdaterJobCreate, ): string { return JSON.stringify( AccountUpdaterJobCreate$outboundSchema.parse(accountUpdaterJobCreate), ); }