/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; import { AccountUpdaterOptions, AccountUpdaterOptions$Outbound, AccountUpdaterOptions$outboundSchema, } from "./accountupdateroptions.js"; import { AdyenCardOptions, AdyenCardOptions$Outbound, AdyenCardOptions$outboundSchema, } from "./adyencardoptions.js"; import { AdyenOptions, AdyenOptions$Outbound, AdyenOptions$outboundSchema, } from "./adyenoptions.js"; import { AdyenPixOptions, AdyenPixOptions$Outbound, AdyenPixOptions$outboundSchema, } from "./adyenpixoptions.js"; import { AdyenSepaOptions, AdyenSepaOptions$Outbound, AdyenSepaOptions$outboundSchema, } from "./adyensepaoptions.js"; import { AffirmOptions, AffirmOptions$Outbound, AffirmOptions$outboundSchema, } from "./affirmoptions.js"; import { BraintreeOptions, BraintreeOptions$Outbound, BraintreeOptions$outboundSchema, } from "./braintreeoptions.js"; import { ChaseOptions, ChaseOptions$Outbound, ChaseOptions$outboundSchema, } from "./chaseoptions.js"; import { CybersourceAntiFraudOptions, CybersourceAntiFraudOptions$Outbound, CybersourceAntiFraudOptions$outboundSchema, } from "./cybersourceantifraudoptions.js"; import { CybersourceOptions, CybersourceOptions$Outbound, CybersourceOptions$outboundSchema, } from "./cybersourceoptions.js"; import { DlocalCardOptions, DlocalCardOptions$Outbound, DlocalCardOptions$outboundSchema, } from "./dlocalcardoptions.js"; import { DlocalOptions, DlocalOptions$Outbound, DlocalOptions$outboundSchema, } from "./dlocaloptions.js"; import { DlocalPIXOptions, DlocalPIXOptions$Outbound, DlocalPIXOptions$outboundSchema, } from "./dlocalpixoptions.js"; import { DlocalUPIOptions, DlocalUPIOptions$Outbound, DlocalUPIOptions$outboundSchema, } from "./dlocalupioptions.js"; import { EcommpayOptions, EcommpayOptions$Outbound, EcommpayOptions$outboundSchema, } from "./ecommpayoptions.js"; import { FiservOptions, FiservOptions$Outbound, FiservOptions$outboundSchema, } from "./fiservoptions.js"; import { ForterAntiFraudOptions, ForterAntiFraudOptions$Outbound, ForterAntiFraudOptions$outboundSchema, } from "./forterantifraudoptions.js"; import { GivingBlockOptions, GivingBlockOptions$Outbound, GivingBlockOptions$outboundSchema, } from "./givingblockoptions.js"; import { GoCardlessOptions, GoCardlessOptions$Outbound, GoCardlessOptions$outboundSchema, } from "./gocardlessoptions.js"; import { KlarnaOptions, KlarnaOptions$Outbound, KlarnaOptions$outboundSchema, } from "./klarnaoptions.js"; import { LatitudeOptions, LatitudeOptions$Outbound, LatitudeOptions$outboundSchema, } from "./latitudeoptions.js"; import { MattildaTapiOptions, MattildaTapiOptions$Outbound, MattildaTapiOptions$outboundSchema, } from "./mattildatapioptions.js"; import { MockCardOptions, MockCardOptions$Outbound, MockCardOptions$outboundSchema, } from "./mockcardoptions.js"; import { MonatoSpeiOptions, MonatoSpeiOptions$Outbound, MonatoSpeiOptions$outboundSchema, } from "./monatospeioptions.js"; import { NuveiIDealOptions, NuveiIDealOptions$Outbound, NuveiIDealOptions$outboundSchema, } from "./nuveiidealoptions.js"; import { NuveiKlarnaOptions, NuveiKlarnaOptions$Outbound, NuveiKlarnaOptions$outboundSchema, } from "./nuveiklarnaoptions.js"; import { NuveiOptions, NuveiOptions$Outbound, NuveiOptions$outboundSchema, } from "./nuveioptions.js"; import { NuveiPSEOptions, NuveiPSEOptions$Outbound, NuveiPSEOptions$outboundSchema, } from "./nuveipseoptions.js"; import { OxxoOptions, OxxoOptions$Outbound, OxxoOptions$outboundSchema, } from "./oxxooptions.js"; import { PaypalDirectOrderOptions, PaypalDirectOrderOptions$Outbound, PaypalDirectOrderOptions$outboundSchema, } from "./paypaldirectorderoptions.js"; import { PaypalOptions, PaypalOptions$Outbound, PaypalOptions$outboundSchema, } from "./paypaloptions.js"; import { PowertranzOptions, PowertranzOptions$Outbound, PowertranzOptions$outboundSchema, } from "./powertranzoptions.js"; import { RepayBankOptions, RepayBankOptions$Outbound, RepayBankOptions$outboundSchema, } from "./repaybankoptions.js"; import { RiskifiedAntiFraudOptions, RiskifiedAntiFraudOptions$Outbound, RiskifiedAntiFraudOptions$outboundSchema, } from "./riskifiedantifraudoptions.js"; import { StripeCardOptions, StripeCardOptions$Outbound, StripeCardOptions$outboundSchema, } from "./stripecardoptions.js"; import { StripeOptions, StripeOptions$Outbound, StripeOptions$outboundSchema, } from "./stripeoptions.js"; import { TravelhubOptions, TravelhubOptions$Outbound, TravelhubOptions$outboundSchema, } from "./travelhuboptions.js"; import { TrustlyOptions, TrustlyOptions$Outbound, TrustlyOptions$outboundSchema, } from "./trustlyoptions.js"; import { WorldpayVapOptions, WorldpayVapOptions$Outbound, WorldpayVapOptions$outboundSchema, } from "./worldpayvapoptions.js"; import { WpayEverdaypayOptions, WpayEverdaypayOptions$Outbound, WpayEverdaypayOptions$outboundSchema, } from "./wpayeverdaypayoptions.js"; import { WpayPaytoOptions, WpayPaytoOptions$Outbound, WpayPaytoOptions$outboundSchema, } from "./wpaypaytooptions.js"; export type TransactionConnectionOptions = { /** * Custom options to be passed to the `account-updater` connector, allowing for simulating different account updater responses. */ accountUpdater?: AccountUpdaterOptions | null | undefined; /** * Custom options to be passed to the `adyen-ach` connector. */ adyenAch?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-afterpay` connector. */ adyenAfterpay?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-cashappafterpay` connector. */ adyenCashappafterpay?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-alipay` connector. */ adyenAlipay?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-card` connector. */ adyenCard?: AdyenCardOptions | null | undefined; /** * Custom options to be passed to the `adyen-cashapp` connector. */ adyenCashapp?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-gcash` connector. */ adyenGcash?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-giropay` connector. */ adyenGiropay?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-ideal` connector. */ adyenIdeal?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-konbini` connector. */ adyenKonbini?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-paybybank` connector. */ adyenPaybybank?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-paypay` connector. */ adyenPaypay?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-pix` connector. */ adyenPix?: AdyenPixOptions | null | undefined; /** * Custom options to be passed to the `adyen-sepa` connector. */ adyenSepa?: AdyenSepaOptions | null | undefined; /** * Custom options to be passed to the `adyen-seveneleven` connector. */ adyenSeveneleven?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-sofort` connector. */ adyenSofort?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-swish` connector. */ adyenSwish?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `adyen-vipps` connector. */ adyenVipps?: AdyenOptions | null | undefined; /** * Custom options to be passed to the `affirm-affirm` connector. */ affirmAffirm?: AffirmOptions | null | undefined; /** * Custom options to be passed to the `braintree-card` connector. */ braintreeCard?: BraintreeOptions | null | undefined; /** * Custom options to be passed to the `chaseorbital-card` connector. */ chaseorbitalCard?: ChaseOptions | null | undefined; /** * Custom options to be passed to the `cybersource-anti-fraud` connector. */ cybersourceAntiFraud?: CybersourceAntiFraudOptions | null | undefined; /** * Custom options to be passed to the `cybersource-card` connector. */ cybersourceCard?: CybersourceOptions | null | undefined; /** * Custom options to be passed to the `cybersource-ideal` connector. */ cybersourceIdeal?: CybersourceOptions | null | undefined; /** * Custom options to be passed to the `cybersource-kcp` connector. */ cybersourceKcp?: CybersourceOptions | null | undefined; /** * Custom options to be passed to the `dlocal-card` connector. */ dlocalCard?: DlocalCardOptions | null | undefined; /** * Custom options to be passed to the `dlocal-nequi` connector. */ dlocalNequi?: DlocalOptions | null | undefined; /** * Custom options to be passed to the `dlocal-upi` connector. */ dlocalUpi?: DlocalUPIOptions | null | undefined; /** * Custom options to be passed to the `dlocal-pix` connector. */ dlocalPix?: DlocalPIXOptions | null | undefined; /** * Custom options to be passed to the `dlocal-gcash` connector. */ dlocalGcash?: DlocalOptions | null | undefined; /** * Custom options to be passed to the `ecommpay-card` connector. */ ecommpayCard?: EcommpayOptions | null | undefined; /** * Custom options to be passed to the `klarna-klarna` connector. */ klarnaKlarna?: KlarnaOptions | null | undefined; /** * Custom options to be passed to the `fiserv-card` connector. */ fiservCard?: FiservOptions | null | undefined; /** * Custom options to be passed to the `forter-anti-fraud` connector. */ forterAntiFraud?: ForterAntiFraudOptions | null | undefined; /** * Custom options to be passed to the `gem-gem` connector. */ gemGem?: LatitudeOptions | null | undefined; /** * Custom options to be passed to the `gem-gemds` connector. */ gemGemds?: LatitudeOptions | null | undefined; /** * Custom options to be passed to the `givingblock-givingblock` connector. */ givingblockGivingblock?: GivingBlockOptions | null | undefined; /** * Custom options to be passed to the `gocardless-gocardless` connector. */ gocardlessGocardless?: GoCardlessOptions | null | undefined; /** * Custom options to be passed to the `latitude-latitude` connector. */ latitudeLatitude?: LatitudeOptions | null | undefined; /** * Custom options to be passed to the `latitude-latitudeds` connector. */ latitudeLatitudeds?: LatitudeOptions | null | undefined; /** * Custom options to be passed to the `mattilda-tapi` connector. */ mattildaTapi?: MattildaTapiOptions | null | undefined; /** * Custom options to be passed to the `mattilda-tapifintechs` connector. */ mattildaTapifintechs?: MattildaTapiOptions | null | undefined; /** * Custom options to be passed to the `monato-spei` connector. */ monatoSpei?: MonatoSpeiOptions | null | undefined; /** * Custom options to be passed to the `mock-card` connector. */ mockCard?: MockCardOptions | null | undefined; /** * Custom options to be passed to the `mockds-card` connector. */ mockdsCard?: MockCardOptions | null | undefined; /** * Custom options to be passed to the `nuvei-card` connector. */ nuveiCard?: NuveiOptions | null | undefined; /** * Custom options to be passed to the `nuvei-ideal` connector. */ nuveiIdeal?: NuveiIDealOptions | null | undefined; /** * Custom options to be passed to the `nuvei-klarna` connector. */ nuveiKlarna?: NuveiKlarnaOptions | null | undefined; /** * Custom options to be passed to the `nuvei-pse` connector. */ nuveiPse?: NuveiPSEOptions | null | undefined; /** * Custom options to be passed to the `oxxo-oxxo` connector. */ oxxoOxxo?: OxxoOptions | null | undefined; /** * Custom options to be passed to the `paypal-paypal` connector. */ paypalPaypal?: PaypalOptions | null | undefined; /** * Custom options to be passed to the `paypal-paypaldirectorder` connector. */ paypalPaypaldirectorder?: PaypalDirectOrderOptions | null | undefined; /** * Custom options to be passed to the `paypal-paypalpaylater` connector. */ paypalPaypalpaylater?: PaypalOptions | null | undefined; /** * Custom options to be passed to the `powertranz-card` connector. */ powertranzCard?: PowertranzOptions | null | undefined; /** * Custom options to be passed to the `repay-bank` connector. */ repayBank?: RepayBankOptions | null | undefined; /** * Custom options to be passed to the `riskified-anti-fraud` connector. */ riskifiedAntiFraud?: RiskifiedAntiFraudOptions | null | undefined; /** * Custom options to be passed to the `stripe-affirm` connector. */ stripeAffirm?: StripeOptions | null | undefined; /** * Custom options to be passed to the `stripe-card` connector. */ stripeCard?: StripeCardOptions | null | undefined; /** * Custom options to be passed to the `stripe-klarna` connector. */ stripeKlarna?: StripeOptions | null | undefined; /** * Custom options to be passed to the `stripe-onelink` connector. */ stripeOnelink?: StripeOptions | null | undefined; /** * Custom options to be passed to the `stripe-stripe` connector. */ stripeStripe?: StripeOptions | null | undefined; /** * Custom options to be passed to the `travelhub-card` connector. */ travelhubCard?: TravelhubOptions | null | undefined; /** * Custom options to be passed to the `trustly-trustly` connector. */ trustlyTrustly?: TrustlyOptions | null | undefined; /** * Custom options to be passed to the `worldpayvap-card` connector. */ worldpayvapCard?: WorldpayVapOptions | null | undefined; /** * Custom options to be passed to the `wpay-everydaypay` connector. */ wpayEverydaypay?: WpayEverdaypayOptions | null | undefined; /** * Custom options to be passed to the `wpay-payto` connector. */ wpayPayto?: WpayPaytoOptions | null | undefined; }; /** @internal */ export type TransactionConnectionOptions$Outbound = { "account-updater"?: AccountUpdaterOptions$Outbound | null | undefined; "adyen-ach"?: AdyenOptions$Outbound | null | undefined; "adyen-afterpay"?: AdyenOptions$Outbound | null | undefined; "adyen-cashappafterpay"?: AdyenOptions$Outbound | null | undefined; "adyen-alipay"?: AdyenOptions$Outbound | null | undefined; "adyen-card"?: AdyenCardOptions$Outbound | null | undefined; "adyen-cashapp"?: AdyenOptions$Outbound | null | undefined; "adyen-gcash"?: AdyenOptions$Outbound | null | undefined; "adyen-giropay"?: AdyenOptions$Outbound | null | undefined; "adyen-ideal"?: AdyenOptions$Outbound | null | undefined; "adyen-konbini"?: AdyenOptions$Outbound | null | undefined; "adyen-paybybank"?: AdyenOptions$Outbound | null | undefined; "adyen-paypay"?: AdyenOptions$Outbound | null | undefined; "adyen-pix"?: AdyenPixOptions$Outbound | null | undefined; "adyen-sepa"?: AdyenSepaOptions$Outbound | null | undefined; "adyen-seveneleven"?: AdyenOptions$Outbound | null | undefined; "adyen-sofort"?: AdyenOptions$Outbound | null | undefined; "adyen-swish"?: AdyenOptions$Outbound | null | undefined; "adyen-vipps"?: AdyenOptions$Outbound | null | undefined; "affirm-affirm"?: AffirmOptions$Outbound | null | undefined; "braintree-card"?: BraintreeOptions$Outbound | null | undefined; "chaseorbital-card"?: ChaseOptions$Outbound | null | undefined; "cybersource-anti-fraud"?: | CybersourceAntiFraudOptions$Outbound | null | undefined; "cybersource-card"?: CybersourceOptions$Outbound | null | undefined; "cybersource-ideal"?: CybersourceOptions$Outbound | null | undefined; "cybersource-kcp"?: CybersourceOptions$Outbound | null | undefined; "dlocal-card"?: DlocalCardOptions$Outbound | null | undefined; "dlocal-nequi"?: DlocalOptions$Outbound | null | undefined; "dlocal-upi"?: DlocalUPIOptions$Outbound | null | undefined; "dlocal-pix"?: DlocalPIXOptions$Outbound | null | undefined; "dlocal-gcash"?: DlocalOptions$Outbound | null | undefined; "ecommpay-card"?: EcommpayOptions$Outbound | null | undefined; "klarna-klarna"?: KlarnaOptions$Outbound | null | undefined; "fiserv-card"?: FiservOptions$Outbound | null | undefined; "forter-anti-fraud"?: ForterAntiFraudOptions$Outbound | null | undefined; "gem-gem"?: LatitudeOptions$Outbound | null | undefined; "gem-gemds"?: LatitudeOptions$Outbound | null | undefined; "givingblock-givingblock"?: GivingBlockOptions$Outbound | null | undefined; "gocardless-gocardless"?: GoCardlessOptions$Outbound | null | undefined; "latitude-latitude"?: LatitudeOptions$Outbound | null | undefined; "latitude-latitudeds"?: LatitudeOptions$Outbound | null | undefined; "mattilda-tapi"?: MattildaTapiOptions$Outbound | null | undefined; "mattilda-tapifintechs"?: MattildaTapiOptions$Outbound | null | undefined; "monato-spei"?: MonatoSpeiOptions$Outbound | null | undefined; "mock-card"?: MockCardOptions$Outbound | null | undefined; "mockds-card"?: MockCardOptions$Outbound | null | undefined; "nuvei-card"?: NuveiOptions$Outbound | null | undefined; "nuvei-ideal"?: NuveiIDealOptions$Outbound | null | undefined; "nuvei-klarna"?: NuveiKlarnaOptions$Outbound | null | undefined; "nuvei-pse"?: NuveiPSEOptions$Outbound | null | undefined; "oxxo-oxxo"?: OxxoOptions$Outbound | null | undefined; "paypal-paypal"?: PaypalOptions$Outbound | null | undefined; "paypal-paypaldirectorder"?: | PaypalDirectOrderOptions$Outbound | null | undefined; "paypal-paypalpaylater"?: PaypalOptions$Outbound | null | undefined; "powertranz-card"?: PowertranzOptions$Outbound | null | undefined; "repay-bank"?: RepayBankOptions$Outbound | null | undefined; "riskified-anti-fraud"?: | RiskifiedAntiFraudOptions$Outbound | null | undefined; "stripe-affirm"?: StripeOptions$Outbound | null | undefined; "stripe-card"?: StripeCardOptions$Outbound | null | undefined; "stripe-klarna"?: StripeOptions$Outbound | null | undefined; "stripe-onelink"?: StripeOptions$Outbound | null | undefined; "stripe-stripe"?: StripeOptions$Outbound | null | undefined; "travelhub-card"?: TravelhubOptions$Outbound | null | undefined; "trustly-trustly"?: TrustlyOptions$Outbound | null | undefined; "worldpayvap-card"?: WorldpayVapOptions$Outbound | null | undefined; "wpay-everydaypay"?: WpayEverdaypayOptions$Outbound | null | undefined; "wpay-payto"?: WpayPaytoOptions$Outbound | null | undefined; }; /** @internal */ export const TransactionConnectionOptions$outboundSchema: z.ZodType< TransactionConnectionOptions$Outbound, z.ZodTypeDef, TransactionConnectionOptions > = z.object({ accountUpdater: z.nullable(AccountUpdaterOptions$outboundSchema).optional(), adyenAch: z.nullable(AdyenOptions$outboundSchema).optional(), adyenAfterpay: z.nullable(AdyenOptions$outboundSchema).optional(), adyenCashappafterpay: z.nullable(AdyenOptions$outboundSchema).optional(), adyenAlipay: z.nullable(AdyenOptions$outboundSchema).optional(), adyenCard: z.nullable(AdyenCardOptions$outboundSchema).optional(), adyenCashapp: z.nullable(AdyenOptions$outboundSchema).optional(), adyenGcash: z.nullable(AdyenOptions$outboundSchema).optional(), adyenGiropay: z.nullable(AdyenOptions$outboundSchema).optional(), adyenIdeal: z.nullable(AdyenOptions$outboundSchema).optional(), adyenKonbini: z.nullable(AdyenOptions$outboundSchema).optional(), adyenPaybybank: z.nullable(AdyenOptions$outboundSchema).optional(), adyenPaypay: z.nullable(AdyenOptions$outboundSchema).optional(), adyenPix: z.nullable(AdyenPixOptions$outboundSchema).optional(), adyenSepa: z.nullable(AdyenSepaOptions$outboundSchema).optional(), adyenSeveneleven: z.nullable(AdyenOptions$outboundSchema).optional(), adyenSofort: z.nullable(AdyenOptions$outboundSchema).optional(), adyenSwish: z.nullable(AdyenOptions$outboundSchema).optional(), adyenVipps: z.nullable(AdyenOptions$outboundSchema).optional(), affirmAffirm: z.nullable(AffirmOptions$outboundSchema).optional(), braintreeCard: z.nullable(BraintreeOptions$outboundSchema).optional(), chaseorbitalCard: z.nullable(ChaseOptions$outboundSchema).optional(), cybersourceAntiFraud: z.nullable(CybersourceAntiFraudOptions$outboundSchema) .optional(), cybersourceCard: z.nullable(CybersourceOptions$outboundSchema).optional(), cybersourceIdeal: z.nullable(CybersourceOptions$outboundSchema).optional(), cybersourceKcp: z.nullable(CybersourceOptions$outboundSchema).optional(), dlocalCard: z.nullable(DlocalCardOptions$outboundSchema).optional(), dlocalNequi: z.nullable(DlocalOptions$outboundSchema).optional(), dlocalUpi: z.nullable(DlocalUPIOptions$outboundSchema).optional(), dlocalPix: z.nullable(DlocalPIXOptions$outboundSchema).optional(), dlocalGcash: z.nullable(DlocalOptions$outboundSchema).optional(), ecommpayCard: z.nullable(EcommpayOptions$outboundSchema).optional(), klarnaKlarna: z.nullable(KlarnaOptions$outboundSchema).optional(), fiservCard: z.nullable(FiservOptions$outboundSchema).optional(), forterAntiFraud: z.nullable(ForterAntiFraudOptions$outboundSchema).optional(), gemGem: z.nullable(LatitudeOptions$outboundSchema).optional(), gemGemds: z.nullable(LatitudeOptions$outboundSchema).optional(), givingblockGivingblock: z.nullable(GivingBlockOptions$outboundSchema) .optional(), gocardlessGocardless: z.nullable(GoCardlessOptions$outboundSchema).optional(), latitudeLatitude: z.nullable(LatitudeOptions$outboundSchema).optional(), latitudeLatitudeds: z.nullable(LatitudeOptions$outboundSchema).optional(), mattildaTapi: z.nullable(MattildaTapiOptions$outboundSchema).optional(), mattildaTapifintechs: z.nullable(MattildaTapiOptions$outboundSchema) .optional(), monatoSpei: z.nullable(MonatoSpeiOptions$outboundSchema).optional(), mockCard: z.nullable(MockCardOptions$outboundSchema).optional(), mockdsCard: z.nullable(MockCardOptions$outboundSchema).optional(), nuveiCard: z.nullable(NuveiOptions$outboundSchema).optional(), nuveiIdeal: z.nullable(NuveiIDealOptions$outboundSchema).optional(), nuveiKlarna: z.nullable(NuveiKlarnaOptions$outboundSchema).optional(), nuveiPse: z.nullable(NuveiPSEOptions$outboundSchema).optional(), oxxoOxxo: z.nullable(OxxoOptions$outboundSchema).optional(), paypalPaypal: z.nullable(PaypalOptions$outboundSchema).optional(), paypalPaypaldirectorder: z.nullable(PaypalDirectOrderOptions$outboundSchema) .optional(), paypalPaypalpaylater: z.nullable(PaypalOptions$outboundSchema).optional(), powertranzCard: z.nullable(PowertranzOptions$outboundSchema).optional(), repayBank: z.nullable(RepayBankOptions$outboundSchema).optional(), riskifiedAntiFraud: z.nullable(RiskifiedAntiFraudOptions$outboundSchema) .optional(), stripeAffirm: z.nullable(StripeOptions$outboundSchema).optional(), stripeCard: z.nullable(StripeCardOptions$outboundSchema).optional(), stripeKlarna: z.nullable(StripeOptions$outboundSchema).optional(), stripeOnelink: z.nullable(StripeOptions$outboundSchema).optional(), stripeStripe: z.nullable(StripeOptions$outboundSchema).optional(), travelhubCard: z.nullable(TravelhubOptions$outboundSchema).optional(), trustlyTrustly: z.nullable(TrustlyOptions$outboundSchema).optional(), worldpayvapCard: z.nullable(WorldpayVapOptions$outboundSchema).optional(), wpayEverydaypay: z.nullable(WpayEverdaypayOptions$outboundSchema).optional(), wpayPayto: z.nullable(WpayPaytoOptions$outboundSchema).optional(), }).transform((v) => { return remap$(v, { accountUpdater: "account-updater", adyenAch: "adyen-ach", adyenAfterpay: "adyen-afterpay", adyenCashappafterpay: "adyen-cashappafterpay", adyenAlipay: "adyen-alipay", adyenCard: "adyen-card", adyenCashapp: "adyen-cashapp", adyenGcash: "adyen-gcash", adyenGiropay: "adyen-giropay", adyenIdeal: "adyen-ideal", adyenKonbini: "adyen-konbini", adyenPaybybank: "adyen-paybybank", adyenPaypay: "adyen-paypay", adyenPix: "adyen-pix", adyenSepa: "adyen-sepa", adyenSeveneleven: "adyen-seveneleven", adyenSofort: "adyen-sofort", adyenSwish: "adyen-swish", adyenVipps: "adyen-vipps", affirmAffirm: "affirm-affirm", braintreeCard: "braintree-card", chaseorbitalCard: "chaseorbital-card", cybersourceAntiFraud: "cybersource-anti-fraud", cybersourceCard: "cybersource-card", cybersourceIdeal: "cybersource-ideal", cybersourceKcp: "cybersource-kcp", dlocalCard: "dlocal-card", dlocalNequi: "dlocal-nequi", dlocalUpi: "dlocal-upi", dlocalPix: "dlocal-pix", dlocalGcash: "dlocal-gcash", ecommpayCard: "ecommpay-card", klarnaKlarna: "klarna-klarna", fiservCard: "fiserv-card", forterAntiFraud: "forter-anti-fraud", gemGem: "gem-gem", gemGemds: "gem-gemds", givingblockGivingblock: "givingblock-givingblock", gocardlessGocardless: "gocardless-gocardless", latitudeLatitude: "latitude-latitude", latitudeLatitudeds: "latitude-latitudeds", mattildaTapi: "mattilda-tapi", mattildaTapifintechs: "mattilda-tapifintechs", monatoSpei: "monato-spei", mockCard: "mock-card", mockdsCard: "mockds-card", nuveiCard: "nuvei-card", nuveiIdeal: "nuvei-ideal", nuveiKlarna: "nuvei-klarna", nuveiPse: "nuvei-pse", oxxoOxxo: "oxxo-oxxo", paypalPaypal: "paypal-paypal", paypalPaypaldirectorder: "paypal-paypaldirectorder", paypalPaypalpaylater: "paypal-paypalpaylater", powertranzCard: "powertranz-card", repayBank: "repay-bank", riskifiedAntiFraud: "riskified-anti-fraud", stripeAffirm: "stripe-affirm", stripeCard: "stripe-card", stripeKlarna: "stripe-klarna", stripeOnelink: "stripe-onelink", stripeStripe: "stripe-stripe", travelhubCard: "travelhub-card", trustlyTrustly: "trustly-trustly", worldpayvapCard: "worldpayvap-card", wpayEverydaypay: "wpay-everydaypay", wpayPayto: "wpay-payto", }); }); export function transactionConnectionOptionsToJSON( transactionConnectionOptions: TransactionConnectionOptions, ): string { return JSON.stringify( TransactionConnectionOptions$outboundSchema.parse( transactionConnectionOptions, ), ); }