@moovio/sdk 25.10.5 → 25.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/bin/mcp-server.js +536 -78
- package/bin/mcp-server.js.map +207 -188
- package/examples/package-lock.json +1 -1
- package/funcs/cardsLink.d.ts +1 -1
- package/funcs/cardsLink.d.ts.map +1 -1
- package/funcs/cardsLink.js +1 -1
- package/funcs/cardsLink.js.map +1 -1
- package/funcs/paymentLinksList.js +1 -2
- package/funcs/paymentLinksList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/achcreditsamedaytransferpaymentmethod.d.ts +28 -0
- package/models/components/achcreditsamedaytransferpaymentmethod.d.ts.map +1 -0
- package/models/components/achcreditsamedaytransferpaymentmethod.js +63 -0
- package/models/components/achcreditsamedaytransferpaymentmethod.js.map +1 -0
- package/models/components/achcreditstandardtransferpaymentmethod.d.ts +28 -0
- package/models/components/achcreditstandardtransferpaymentmethod.d.ts.map +1 -0
- package/models/components/achcreditstandardtransferpaymentmethod.js +63 -0
- package/models/components/achcreditstandardtransferpaymentmethod.js.map +1 -0
- package/models/components/achdebitcollecttransferpaymentmethod.d.ts +28 -0
- package/models/components/achdebitcollecttransferpaymentmethod.d.ts.map +1 -0
- package/models/components/achdebitcollecttransferpaymentmethod.js +63 -0
- package/models/components/achdebitcollecttransferpaymentmethod.js.map +1 -0
- package/models/components/achdebitfundtransferpaymentmethod.d.ts +28 -0
- package/models/components/achdebitfundtransferpaymentmethod.d.ts.map +1 -0
- package/models/components/achdebitfundtransferpaymentmethod.js +63 -0
- package/models/components/achdebitfundtransferpaymentmethod.js.map +1 -0
- package/models/components/applepaytransferpaymentmethod.d.ts +28 -0
- package/models/components/applepaytransferpaymentmethod.d.ts.map +1 -0
- package/models/components/applepaytransferpaymentmethod.js +63 -0
- package/models/components/applepaytransferpaymentmethod.js.map +1 -0
- package/models/components/cardpaymenttransferpaymentmethod.d.ts +28 -0
- package/models/components/cardpaymenttransferpaymentmethod.d.ts.map +1 -0
- package/models/components/cardpaymenttransferpaymentmethod.js +63 -0
- package/models/components/cardpaymenttransferpaymentmethod.js.map +1 -0
- package/models/components/cardpresentpaymenttransferpaymentmethod.d.ts +31 -0
- package/models/components/cardpresentpaymenttransferpaymentmethod.d.ts.map +1 -0
- package/models/components/cardpresentpaymenttransferpaymentmethod.js +63 -0
- package/models/components/cardpresentpaymenttransferpaymentmethod.js.map +1 -0
- package/models/components/index.d.ts +18 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +18 -0
- package/models/components/index.js.map +1 -1
- package/models/components/moovwallettransferpaymentmethod.d.ts +25 -0
- package/models/components/moovwallettransferpaymentmethod.d.ts.map +1 -0
- package/models/components/moovwallettransferpaymentmethod.js +63 -0
- package/models/components/moovwallettransferpaymentmethod.js.map +1 -0
- package/models/components/paymentlinktype.d.ts +1 -0
- package/models/components/paymentlinktype.d.ts.map +1 -1
- package/models/components/paymentlinktype.js +1 -0
- package/models/components/paymentlinktype.js.map +1 -1
- package/models/components/pullfromcardtransferpaymentmethod.d.ts +28 -0
- package/models/components/pullfromcardtransferpaymentmethod.d.ts.map +1 -0
- package/models/components/pullfromcardtransferpaymentmethod.js +63 -0
- package/models/components/pullfromcardtransferpaymentmethod.js.map +1 -0
- package/models/components/pushtocardtransferpaymentmethod.d.ts +28 -0
- package/models/components/pushtocardtransferpaymentmethod.d.ts.map +1 -0
- package/models/components/pushtocardtransferpaymentmethod.js +63 -0
- package/models/components/pushtocardtransferpaymentmethod.js.map +1 -0
- package/models/components/rtpcredittransferpaymentmethod.d.ts +28 -0
- package/models/components/rtpcredittransferpaymentmethod.d.ts.map +1 -0
- package/models/components/rtpcredittransferpaymentmethod.js +63 -0
- package/models/components/rtpcredittransferpaymentmethod.js.map +1 -0
- package/models/components/transferdestination.d.ts +11 -11
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +12 -12
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/transferentrymode.d.ts +17 -0
- package/models/components/transferentrymode.d.ts.map +1 -0
- package/models/components/transferentrymode.js +51 -0
- package/models/components/transferentrymode.js.map +1 -0
- package/models/components/transferoptions.d.ts +5 -5
- package/models/components/transferoptions.d.ts.map +1 -1
- package/models/components/transferoptions.js +5 -5
- package/models/components/transferoptions.js.map +1 -1
- package/models/components/transferpaymentmethod.d.ts +27 -0
- package/models/components/transferpaymentmethod.d.ts.map +1 -0
- package/models/components/transferpaymentmethod.js +89 -0
- package/models/components/transferpaymentmethod.js.map +1 -0
- package/models/components/transferpaymentmethodsbankaccount.d.ts +54 -0
- package/models/components/transferpaymentmethodsbankaccount.d.ts.map +1 -0
- package/models/components/transferpaymentmethodsbankaccount.js +79 -0
- package/models/components/transferpaymentmethodsbankaccount.js.map +1 -0
- package/models/components/transferpaymentmethodscard.d.ts +109 -0
- package/models/components/transferpaymentmethodscard.d.ts.map +1 -0
- package/models/components/transferpaymentmethodscard.js +98 -0
- package/models/components/transferpaymentmethodscard.js.map +1 -0
- package/models/components/transferpaymentmethodswallet.d.ts +29 -0
- package/models/components/transferpaymentmethodswallet.d.ts.map +1 -0
- package/models/components/transferpaymentmethodswallet.js +63 -0
- package/models/components/transferpaymentmethodswallet.js.map +1 -0
- package/models/components/transferpaymentmethodtype.d.ts +27 -0
- package/models/components/transferpaymentmethodtype.d.ts.map +1 -0
- package/models/components/transferpaymentmethodtype.js +61 -0
- package/models/components/transferpaymentmethodtype.js.map +1 -0
- package/models/components/transfersource.d.ts +14 -14
- package/models/components/transfersource.d.ts.map +1 -1
- package/models/components/transfersource.js +15 -15
- package/models/components/transfersource.js.map +1 -1
- package/models/components/transferterminalcard.d.ts +83 -0
- package/models/components/transferterminalcard.d.ts.map +1 -0
- package/models/components/transferterminalcard.js +84 -0
- package/models/components/transferterminalcard.js.map +1 -0
- package/models/components/wallettransactiontype.d.ts +1 -0
- package/models/components/wallettransactiontype.d.ts.map +1 -1
- package/models/components/wallettransactiontype.js +1 -0
- package/models/components/wallettransactiontype.js.map +1 -1
- package/models/errors/duplicatecarderror.d.ts +45 -0
- package/models/errors/duplicatecarderror.d.ts.map +1 -0
- package/models/errors/duplicatecarderror.js +78 -0
- package/models/errors/duplicatecarderror.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/acceptdispute.d.ts +1 -1
- package/models/operations/assignaccountcountries.d.ts +1 -1
- package/models/operations/cancelschedule.d.ts +1 -1
- package/models/operations/completebankaccountverification.d.ts +1 -1
- package/models/operations/completemicrodeposits.d.ts +1 -1
- package/models/operations/connectaccount.d.ts +1 -1
- package/models/operations/createaccesstoken.d.ts +1 -1
- package/models/operations/createaccount.d.ts +1 -1
- package/models/operations/createapplepaysession.d.ts +1 -1
- package/models/operations/createbrand.d.ts +1 -1
- package/models/operations/createcancellation.d.ts +1 -1
- package/models/operations/createfeeplanagreements.d.ts +1 -1
- package/models/operations/createonboardinginvite.d.ts +1 -1
- package/models/operations/createpaymentlink.d.ts +1 -1
- package/models/operations/createproduct.d.ts +1 -1
- package/models/operations/createreceipts.d.ts +1 -1
- package/models/operations/createrepresentative.d.ts +1 -1
- package/models/operations/createreversal.d.ts +1 -1
- package/models/operations/createschedule.d.ts +1 -1
- package/models/operations/createsweepconfig.d.ts +1 -1
- package/models/operations/createterminalapplication.d.ts +1 -1
- package/models/operations/createterminalapplicationversion.d.ts +1 -1
- package/models/operations/createticket.d.ts +1 -1
- package/models/operations/createtransfer.d.ts +1 -1
- package/models/operations/createtransferoptions.d.ts +1 -1
- package/models/operations/createwallet.d.ts +1 -1
- package/models/operations/createwebhook.d.ts +1 -1
- package/models/operations/deletedisputeevidencefile.d.ts +1 -1
- package/models/operations/deleteimage.d.ts +1 -1
- package/models/operations/deleterepresentative.d.ts +1 -1
- package/models/operations/deleteterminalapplication.d.ts +1 -1
- package/models/operations/disablebankaccount.d.ts +1 -1
- package/models/operations/disablecapability.d.ts +1 -1
- package/models/operations/disablecard.d.ts +1 -1
- package/models/operations/disablepaymentlink.d.ts +1 -1
- package/models/operations/disableproduct.d.ts +1 -1
- package/models/operations/disablewebhook.d.ts +1 -1
- package/models/operations/disconnectaccount.d.ts +1 -1
- package/models/operations/generateendtoendkey.d.ts +1 -1
- package/models/operations/getaccount.d.ts +1 -1
- package/models/operations/getaccountcountries.d.ts +1 -1
- package/models/operations/getaccountterminalapplication.d.ts +1 -1
- package/models/operations/getadjustment.d.ts +1 -1
- package/models/operations/getapplepaymerchantdomains.d.ts +1 -1
- package/models/operations/getavatar.d.ts +1 -1
- package/models/operations/getbankaccount.d.ts +1 -1
- package/models/operations/getbankaccountverification.d.ts +1 -1
- package/models/operations/getbrand.d.ts +1 -1
- package/models/operations/getcancellation.d.ts +1 -1
- package/models/operations/getcapability.d.ts +1 -1
- package/models/operations/getcard.d.ts +1 -1
- package/models/operations/getdispute.d.ts +1 -1
- package/models/operations/getdisputeevidence.d.ts +1 -1
- package/models/operations/getdisputeevidencedata.d.ts +1 -1
- package/models/operations/getenrichmentaddress.d.ts +1 -1
- package/models/operations/getenrichmentprofile.d.ts +1 -1
- package/models/operations/getfiledetails.d.ts +1 -1
- package/models/operations/getfullissuedcard.d.ts +1 -1
- package/models/operations/getimagemetadata.d.ts +1 -1
- package/models/operations/getissuedcard.d.ts +1 -1
- package/models/operations/getissuedcardauthorization.d.ts +1 -1
- package/models/operations/getissuedcardtransaction.d.ts +1 -1
- package/models/operations/getmerchantprocessingagreement.d.ts +1 -1
- package/models/operations/getonboardinginvite.d.ts +1 -1
- package/models/operations/getpaymentlink.d.ts +1 -1
- package/models/operations/getpaymentlinkqrcode.d.ts +1 -1
- package/models/operations/getpaymentmethod.d.ts +1 -1
- package/models/operations/getproduct.d.ts +1 -1
- package/models/operations/getpublicimage.d.ts +2 -2
- package/models/operations/getpublicimage.d.ts.map +1 -1
- package/models/operations/getpublicimage.js +2 -2
- package/models/operations/getpublicimage.js.map +1 -1
- package/models/operations/getrefund.d.ts +1 -1
- package/models/operations/getrepresentative.d.ts +1 -1
- package/models/operations/getresidual.d.ts +1 -1
- package/models/operations/getscheduledoccurrence.d.ts +1 -1
- package/models/operations/getschedules.d.ts +1 -1
- package/models/operations/getstatement.d.ts +1 -1
- package/models/operations/getsweep.d.ts +1 -1
- package/models/operations/getsweepconfig.d.ts +1 -1
- package/models/operations/getterminalapplication.d.ts +1 -1
- package/models/operations/getterminalconfiguration.d.ts +1 -1
- package/models/operations/gettermsofservicetoken.d.ts +1 -1
- package/models/operations/getticket.d.ts +1 -1
- package/models/operations/gettransfer.d.ts +1 -1
- package/models/operations/getunderwriting.d.ts +1 -1
- package/models/operations/getwallet.d.ts +1 -1
- package/models/operations/getwallettransaction.d.ts +1 -1
- package/models/operations/getwebhook.d.ts +1 -1
- package/models/operations/getwebhooksecret.d.ts +1 -1
- package/models/operations/initiatebankaccountverification.d.ts +1 -1
- package/models/operations/initiatemicrodeposits.d.ts +1 -1
- package/models/operations/initiaterefund.d.ts +1 -1
- package/models/operations/linkaccountterminalapplication.d.ts +1 -1
- package/models/operations/linkapplepaytoken.d.ts +1 -1
- package/models/operations/linkbankaccount.d.ts +1 -1
- package/models/operations/linkcard.d.ts +1 -1
- package/models/operations/listaccounts.d.ts +1 -1
- package/models/operations/listaccountterminalapplications.d.ts +1 -1
- package/models/operations/listadjustments.d.ts +1 -1
- package/models/operations/listbankaccounts.d.ts +1 -1
- package/models/operations/listcapabilities.d.ts +1 -1
- package/models/operations/listcards.d.ts +1 -1
- package/models/operations/listconnectedaccountsforaccount.d.ts +1 -1
- package/models/operations/listdisputeevidence.d.ts +1 -1
- package/models/operations/listdisputes.d.ts +1 -1
- package/models/operations/listeventtypes.d.ts +1 -1
- package/models/operations/listfeeplanagreements.d.ts +1 -1
- package/models/operations/listfeeplans.d.ts +1 -1
- package/models/operations/listfeerevenue.d.ts +1 -1
- package/models/operations/listfeesfetch.d.ts +1 -1
- package/models/operations/listfiles.d.ts +1 -1
- package/models/operations/listimagemetadata.d.ts +1 -1
- package/models/operations/listindustries.d.ts +1 -1
- package/models/operations/listinstitutions.d.ts +1 -1
- package/models/operations/listissuedcardauthorizationevents.d.ts +1 -1
- package/models/operations/listissuedcardauthorizations.d.ts +1 -1
- package/models/operations/listissuedcards.d.ts +1 -1
- package/models/operations/listissuedcardtransactions.d.ts +1 -1
- package/models/operations/listonboardinginvites.d.ts +1 -1
- package/models/operations/listpartnerpricingagreements.d.ts +1 -1
- package/models/operations/listpaymentlinks.d.ts +6 -5
- package/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/models/operations/listpaymentlinks.js +2 -4
- package/models/operations/listpaymentlinks.js.map +1 -1
- package/models/operations/listpaymentmethods.d.ts +1 -1
- package/models/operations/listproducts.d.ts +1 -1
- package/models/operations/listreceipts.d.ts +1 -1
- package/models/operations/listrefunds.d.ts +1 -1
- package/models/operations/listrepresentatives.d.ts +1 -1
- package/models/operations/listresidualfees.d.ts +1 -1
- package/models/operations/listresiduals.d.ts +1 -1
- package/models/operations/listschedules.d.ts +1 -1
- package/models/operations/liststatements.d.ts +1 -1
- package/models/operations/listsweepconfigs.d.ts +1 -1
- package/models/operations/listsweeps.d.ts +1 -1
- package/models/operations/listterminalapplications.d.ts +1 -1
- package/models/operations/listticketmessages.d.ts +1 -1
- package/models/operations/listtickets.d.ts +1 -1
- package/models/operations/listtransfers.d.ts +1 -1
- package/models/operations/listwallets.d.ts +1 -1
- package/models/operations/listwallettransactions.d.ts +1 -1
- package/models/operations/listwebhooks.d.ts +1 -1
- package/models/operations/ping.d.ts +1 -1
- package/models/operations/pingwebhook.d.ts +1 -1
- package/models/operations/registerapplepaymerchantdomains.d.ts +1 -1
- package/models/operations/requestcapabilities.d.ts +1 -1
- package/models/operations/requestcard.d.ts +1 -1
- package/models/operations/retrievefees.d.ts +1 -1
- package/models/operations/revokeaccesstoken.d.ts +1 -1
- package/models/operations/revokeonboardinginvite.d.ts +1 -1
- package/models/operations/saveunderwriting.d.ts +1 -1
- package/models/operations/searchinstitutions.d.ts +1 -1
- package/models/operations/submitdisputeevidence.d.ts +1 -1
- package/models/operations/testendtoendtoken.d.ts +1 -1
- package/models/operations/updateaccount.d.ts +1 -1
- package/models/operations/updateapplepaymerchantdomains.d.ts +1 -1
- package/models/operations/updatecard.d.ts +1 -1
- package/models/operations/updatedisputeevidence.d.ts +1 -1
- package/models/operations/updateimage.d.ts +1 -1
- package/models/operations/updateimagemetadata.d.ts +1 -1
- package/models/operations/updateissuedcard.d.ts +1 -1
- package/models/operations/updatepaymentlink.d.ts +1 -1
- package/models/operations/updateproduct.d.ts +1 -1
- package/models/operations/updaterepresentative.d.ts +1 -1
- package/models/operations/updateschedule.d.ts +1 -1
- package/models/operations/updatesweepconfig.d.ts +1 -1
- package/models/operations/updateticket.d.ts +1 -1
- package/models/operations/updatetransfer.d.ts +1 -1
- package/models/operations/updatewallet.d.ts +1 -1
- package/models/operations/updatewebhook.d.ts +1 -1
- package/models/operations/uploaddisputeevidencefile.d.ts +1 -1
- package/models/operations/uploaddisputeevidencetext.d.ts +1 -1
- package/models/operations/uploadfile.d.ts +1 -1
- package/models/operations/uploadimage.d.ts +1 -1
- package/models/operations/upsertbrand.d.ts +1 -1
- package/models/operations/upsertunderwriting.d.ts +1 -1
- package/package.json +1 -1
- package/src/funcs/cardsLink.ts +5 -1
- package/src/funcs/paymentLinksList.ts +1 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/achcreditsamedaytransferpaymentmethod.ts +74 -0
- package/src/models/components/achcreditstandardtransferpaymentmethod.ts +75 -0
- package/src/models/components/achdebitcollecttransferpaymentmethod.ts +74 -0
- package/src/models/components/achdebitfundtransferpaymentmethod.ts +73 -0
- package/src/models/components/applepaytransferpaymentmethod.ts +73 -0
- package/src/models/components/cardpaymenttransferpaymentmethod.ts +73 -0
- package/src/models/components/cardpresentpaymenttransferpaymentmethod.ts +83 -0
- package/src/models/components/index.ts +18 -0
- package/src/models/components/moovwallettransferpaymentmethod.ts +70 -0
- package/src/models/components/paymentlinktype.ts +1 -0
- package/src/models/components/pullfromcardtransferpaymentmethod.ts +73 -0
- package/src/models/components/pushtocardtransferpaymentmethod.ts +73 -0
- package/src/models/components/rtpcredittransferpaymentmethod.ts +73 -0
- package/src/models/components/transferdestination.ts +38 -38
- package/src/models/components/transferentrymode.ts +26 -0
- package/src/models/components/transferoptions.ts +13 -13
- package/src/models/components/transferpaymentmethod.ts +158 -0
- package/src/models/components/transferpaymentmethodsbankaccount.ts +120 -0
- package/src/models/components/transferpaymentmethodscard.ts +211 -0
- package/src/models/components/transferpaymentmethodswallet.ts +73 -0
- package/src/models/components/transferpaymentmethodtype.ts +38 -0
- package/src/models/components/transfersource.ts +48 -48
- package/src/models/components/transferterminalcard.ts +156 -0
- package/src/models/components/wallettransactiontype.ts +1 -0
- package/src/models/errors/duplicatecarderror.ts +90 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/acceptdispute.ts +1 -1
- package/src/models/operations/assignaccountcountries.ts +1 -1
- package/src/models/operations/cancelschedule.ts +1 -1
- package/src/models/operations/completebankaccountverification.ts +1 -1
- package/src/models/operations/completemicrodeposits.ts +1 -1
- package/src/models/operations/connectaccount.ts +1 -1
- package/src/models/operations/createaccesstoken.ts +1 -1
- package/src/models/operations/createaccount.ts +1 -1
- package/src/models/operations/createapplepaysession.ts +1 -1
- package/src/models/operations/createbrand.ts +1 -1
- package/src/models/operations/createcancellation.ts +1 -1
- package/src/models/operations/createfeeplanagreements.ts +1 -1
- package/src/models/operations/createonboardinginvite.ts +1 -1
- package/src/models/operations/createpaymentlink.ts +1 -1
- package/src/models/operations/createproduct.ts +1 -1
- package/src/models/operations/createreceipts.ts +1 -1
- package/src/models/operations/createrepresentative.ts +1 -1
- package/src/models/operations/createreversal.ts +1 -1
- package/src/models/operations/createschedule.ts +1 -1
- package/src/models/operations/createsweepconfig.ts +1 -1
- package/src/models/operations/createterminalapplication.ts +1 -1
- package/src/models/operations/createterminalapplicationversion.ts +1 -1
- package/src/models/operations/createticket.ts +1 -1
- package/src/models/operations/createtransfer.ts +1 -1
- package/src/models/operations/createtransferoptions.ts +1 -1
- package/src/models/operations/createwallet.ts +1 -1
- package/src/models/operations/createwebhook.ts +1 -1
- package/src/models/operations/deletedisputeevidencefile.ts +1 -1
- package/src/models/operations/deleteimage.ts +1 -1
- package/src/models/operations/deleterepresentative.ts +1 -1
- package/src/models/operations/deleteterminalapplication.ts +1 -1
- package/src/models/operations/disablebankaccount.ts +1 -1
- package/src/models/operations/disablecapability.ts +1 -1
- package/src/models/operations/disablecard.ts +1 -1
- package/src/models/operations/disablepaymentlink.ts +1 -1
- package/src/models/operations/disableproduct.ts +1 -1
- package/src/models/operations/disablewebhook.ts +1 -1
- package/src/models/operations/disconnectaccount.ts +1 -1
- package/src/models/operations/generateendtoendkey.ts +1 -1
- package/src/models/operations/getaccount.ts +1 -1
- package/src/models/operations/getaccountcountries.ts +1 -1
- package/src/models/operations/getaccountterminalapplication.ts +1 -1
- package/src/models/operations/getadjustment.ts +1 -1
- package/src/models/operations/getapplepaymerchantdomains.ts +1 -1
- package/src/models/operations/getavatar.ts +1 -1
- package/src/models/operations/getbankaccount.ts +1 -1
- package/src/models/operations/getbankaccountverification.ts +1 -1
- package/src/models/operations/getbrand.ts +1 -1
- package/src/models/operations/getcancellation.ts +1 -1
- package/src/models/operations/getcapability.ts +1 -1
- package/src/models/operations/getcard.ts +1 -1
- package/src/models/operations/getdispute.ts +1 -1
- package/src/models/operations/getdisputeevidence.ts +1 -1
- package/src/models/operations/getdisputeevidencedata.ts +1 -1
- package/src/models/operations/getenrichmentaddress.ts +1 -1
- package/src/models/operations/getenrichmentprofile.ts +1 -1
- package/src/models/operations/getfiledetails.ts +1 -1
- package/src/models/operations/getfullissuedcard.ts +1 -1
- package/src/models/operations/getimagemetadata.ts +1 -1
- package/src/models/operations/getissuedcard.ts +1 -1
- package/src/models/operations/getissuedcardauthorization.ts +1 -1
- package/src/models/operations/getissuedcardtransaction.ts +1 -1
- package/src/models/operations/getmerchantprocessingagreement.ts +1 -1
- package/src/models/operations/getonboardinginvite.ts +1 -1
- package/src/models/operations/getpaymentlink.ts +1 -1
- package/src/models/operations/getpaymentlinkqrcode.ts +1 -1
- package/src/models/operations/getpaymentmethod.ts +1 -1
- package/src/models/operations/getproduct.ts +1 -1
- package/src/models/operations/getpublicimage.ts +8 -6
- package/src/models/operations/getrefund.ts +1 -1
- package/src/models/operations/getrepresentative.ts +1 -1
- package/src/models/operations/getresidual.ts +1 -1
- package/src/models/operations/getscheduledoccurrence.ts +1 -1
- package/src/models/operations/getschedules.ts +1 -1
- package/src/models/operations/getstatement.ts +1 -1
- package/src/models/operations/getsweep.ts +1 -1
- package/src/models/operations/getsweepconfig.ts +1 -1
- package/src/models/operations/getterminalapplication.ts +1 -1
- package/src/models/operations/getterminalconfiguration.ts +1 -1
- package/src/models/operations/gettermsofservicetoken.ts +1 -1
- package/src/models/operations/getticket.ts +1 -1
- package/src/models/operations/gettransfer.ts +1 -1
- package/src/models/operations/getunderwriting.ts +1 -1
- package/src/models/operations/getwallet.ts +1 -1
- package/src/models/operations/getwallettransaction.ts +1 -1
- package/src/models/operations/getwebhook.ts +1 -1
- package/src/models/operations/getwebhooksecret.ts +1 -1
- package/src/models/operations/initiatebankaccountverification.ts +1 -1
- package/src/models/operations/initiatemicrodeposits.ts +1 -1
- package/src/models/operations/initiaterefund.ts +1 -1
- package/src/models/operations/linkaccountterminalapplication.ts +1 -1
- package/src/models/operations/linkapplepaytoken.ts +1 -1
- package/src/models/operations/linkbankaccount.ts +1 -1
- package/src/models/operations/linkcard.ts +1 -1
- package/src/models/operations/listaccounts.ts +1 -1
- package/src/models/operations/listaccountterminalapplications.ts +1 -1
- package/src/models/operations/listadjustments.ts +1 -1
- package/src/models/operations/listbankaccounts.ts +1 -1
- package/src/models/operations/listcapabilities.ts +1 -1
- package/src/models/operations/listcards.ts +1 -1
- package/src/models/operations/listconnectedaccountsforaccount.ts +1 -1
- package/src/models/operations/listdisputeevidence.ts +1 -1
- package/src/models/operations/listdisputes.ts +1 -1
- package/src/models/operations/listeventtypes.ts +1 -1
- package/src/models/operations/listfeeplanagreements.ts +1 -1
- package/src/models/operations/listfeeplans.ts +1 -1
- package/src/models/operations/listfeerevenue.ts +1 -1
- package/src/models/operations/listfeesfetch.ts +1 -1
- package/src/models/operations/listfiles.ts +1 -1
- package/src/models/operations/listimagemetadata.ts +1 -1
- package/src/models/operations/listindustries.ts +1 -1
- package/src/models/operations/listinstitutions.ts +1 -1
- package/src/models/operations/listissuedcardauthorizationevents.ts +1 -1
- package/src/models/operations/listissuedcardauthorizations.ts +1 -1
- package/src/models/operations/listissuedcards.ts +1 -1
- package/src/models/operations/listissuedcardtransactions.ts +1 -1
- package/src/models/operations/listonboardinginvites.ts +1 -1
- package/src/models/operations/listpartnerpricingagreements.ts +1 -1
- package/src/models/operations/listpaymentlinks.ts +8 -9
- package/src/models/operations/listpaymentmethods.ts +1 -1
- package/src/models/operations/listproducts.ts +1 -1
- package/src/models/operations/listreceipts.ts +1 -1
- package/src/models/operations/listrefunds.ts +1 -1
- package/src/models/operations/listrepresentatives.ts +1 -1
- package/src/models/operations/listresidualfees.ts +1 -1
- package/src/models/operations/listresiduals.ts +1 -1
- package/src/models/operations/listschedules.ts +1 -1
- package/src/models/operations/liststatements.ts +1 -1
- package/src/models/operations/listsweepconfigs.ts +1 -1
- package/src/models/operations/listsweeps.ts +1 -1
- package/src/models/operations/listterminalapplications.ts +1 -1
- package/src/models/operations/listticketmessages.ts +1 -1
- package/src/models/operations/listtickets.ts +1 -1
- package/src/models/operations/listtransfers.ts +1 -1
- package/src/models/operations/listwallets.ts +1 -1
- package/src/models/operations/listwallettransactions.ts +1 -1
- package/src/models/operations/listwebhooks.ts +1 -1
- package/src/models/operations/ping.ts +1 -1
- package/src/models/operations/pingwebhook.ts +1 -1
- package/src/models/operations/registerapplepaymerchantdomains.ts +1 -1
- package/src/models/operations/requestcapabilities.ts +1 -1
- package/src/models/operations/requestcard.ts +1 -1
- package/src/models/operations/retrievefees.ts +1 -1
- package/src/models/operations/revokeaccesstoken.ts +1 -1
- package/src/models/operations/revokeonboardinginvite.ts +1 -1
- package/src/models/operations/saveunderwriting.ts +1 -1
- package/src/models/operations/searchinstitutions.ts +1 -1
- package/src/models/operations/submitdisputeevidence.ts +1 -1
- package/src/models/operations/testendtoendtoken.ts +1 -1
- package/src/models/operations/updateaccount.ts +1 -1
- package/src/models/operations/updateapplepaymerchantdomains.ts +1 -1
- package/src/models/operations/updatecard.ts +1 -1
- package/src/models/operations/updatedisputeevidence.ts +1 -1
- package/src/models/operations/updateimage.ts +1 -1
- package/src/models/operations/updateimagemetadata.ts +1 -1
- package/src/models/operations/updateissuedcard.ts +1 -1
- package/src/models/operations/updatepaymentlink.ts +1 -1
- package/src/models/operations/updateproduct.ts +1 -1
- package/src/models/operations/updaterepresentative.ts +1 -1
- package/src/models/operations/updateschedule.ts +1 -1
- package/src/models/operations/updatesweepconfig.ts +1 -1
- package/src/models/operations/updateticket.ts +1 -1
- package/src/models/operations/updatetransfer.ts +1 -1
- package/src/models/operations/updatewallet.ts +1 -1
- package/src/models/operations/updatewebhook.ts +1 -1
- package/src/models/operations/uploaddisputeevidencefile.ts +1 -1
- package/src/models/operations/uploaddisputeevidencetext.ts +1 -1
- package/src/models/operations/uploadfile.ts +1 -1
- package/src/models/operations/uploadimage.ts +1 -1
- package/src/models/operations/upsertbrand.ts +1 -1
- package/src/models/operations/upsertunderwriting.ts +1 -1
|
@@ -24,41 +24,41 @@ import {
|
|
|
24
24
|
CardTransactionDetails$Outbound,
|
|
25
25
|
CardTransactionDetails$outboundSchema,
|
|
26
26
|
} from "./cardtransactiondetails.js";
|
|
27
|
-
import {
|
|
28
|
-
PaymentMethodsBankAccount,
|
|
29
|
-
PaymentMethodsBankAccount$inboundSchema,
|
|
30
|
-
PaymentMethodsBankAccount$Outbound,
|
|
31
|
-
PaymentMethodsBankAccount$outboundSchema,
|
|
32
|
-
} from "./paymentmethodsbankaccount.js";
|
|
33
|
-
import {
|
|
34
|
-
PaymentMethodsCard,
|
|
35
|
-
PaymentMethodsCard$inboundSchema,
|
|
36
|
-
PaymentMethodsCard$Outbound,
|
|
37
|
-
PaymentMethodsCard$outboundSchema,
|
|
38
|
-
} from "./paymentmethodscard.js";
|
|
39
|
-
import {
|
|
40
|
-
PaymentMethodsWallet,
|
|
41
|
-
PaymentMethodsWallet$inboundSchema,
|
|
42
|
-
PaymentMethodsWallet$Outbound,
|
|
43
|
-
PaymentMethodsWallet$outboundSchema,
|
|
44
|
-
} from "./paymentmethodswallet.js";
|
|
45
|
-
import {
|
|
46
|
-
PaymentMethodType,
|
|
47
|
-
PaymentMethodType$inboundSchema,
|
|
48
|
-
PaymentMethodType$outboundSchema,
|
|
49
|
-
} from "./paymentmethodtype.js";
|
|
50
|
-
import {
|
|
51
|
-
TerminalCard,
|
|
52
|
-
TerminalCard$inboundSchema,
|
|
53
|
-
TerminalCard$Outbound,
|
|
54
|
-
TerminalCard$outboundSchema,
|
|
55
|
-
} from "./terminalcard.js";
|
|
56
27
|
import {
|
|
57
28
|
TransferAccount,
|
|
58
29
|
TransferAccount$inboundSchema,
|
|
59
30
|
TransferAccount$Outbound,
|
|
60
31
|
TransferAccount$outboundSchema,
|
|
61
32
|
} from "./transferaccount.js";
|
|
33
|
+
import {
|
|
34
|
+
TransferPaymentMethodsBankAccount,
|
|
35
|
+
TransferPaymentMethodsBankAccount$inboundSchema,
|
|
36
|
+
TransferPaymentMethodsBankAccount$Outbound,
|
|
37
|
+
TransferPaymentMethodsBankAccount$outboundSchema,
|
|
38
|
+
} from "./transferpaymentmethodsbankaccount.js";
|
|
39
|
+
import {
|
|
40
|
+
TransferPaymentMethodsCard,
|
|
41
|
+
TransferPaymentMethodsCard$inboundSchema,
|
|
42
|
+
TransferPaymentMethodsCard$Outbound,
|
|
43
|
+
TransferPaymentMethodsCard$outboundSchema,
|
|
44
|
+
} from "./transferpaymentmethodscard.js";
|
|
45
|
+
import {
|
|
46
|
+
TransferPaymentMethodsWallet,
|
|
47
|
+
TransferPaymentMethodsWallet$inboundSchema,
|
|
48
|
+
TransferPaymentMethodsWallet$Outbound,
|
|
49
|
+
TransferPaymentMethodsWallet$outboundSchema,
|
|
50
|
+
} from "./transferpaymentmethodswallet.js";
|
|
51
|
+
import {
|
|
52
|
+
TransferPaymentMethodType,
|
|
53
|
+
TransferPaymentMethodType$inboundSchema,
|
|
54
|
+
TransferPaymentMethodType$outboundSchema,
|
|
55
|
+
} from "./transferpaymentmethodtype.js";
|
|
56
|
+
import {
|
|
57
|
+
TransferTerminalCard,
|
|
58
|
+
TransferTerminalCard$inboundSchema,
|
|
59
|
+
TransferTerminalCard$Outbound,
|
|
60
|
+
TransferTerminalCard$outboundSchema,
|
|
61
|
+
} from "./transferterminalcard.js";
|
|
62
62
|
|
|
63
63
|
export type TransferSource = {
|
|
64
64
|
/**
|
|
@@ -69,17 +69,17 @@ export type TransferSource = {
|
|
|
69
69
|
/**
|
|
70
70
|
* The payment method type that represents a payment rail and directionality
|
|
71
71
|
*/
|
|
72
|
-
paymentMethodType:
|
|
72
|
+
paymentMethodType: TransferPaymentMethodType;
|
|
73
73
|
account: TransferAccount;
|
|
74
74
|
/**
|
|
75
75
|
* A bank account as contained within a payment method.
|
|
76
76
|
*/
|
|
77
|
-
bankAccount?:
|
|
78
|
-
wallet?:
|
|
77
|
+
bankAccount?: TransferPaymentMethodsBankAccount | undefined;
|
|
78
|
+
wallet?: TransferPaymentMethodsWallet | undefined;
|
|
79
79
|
/**
|
|
80
80
|
* A card as contained within a payment method.
|
|
81
81
|
*/
|
|
82
|
-
card?:
|
|
82
|
+
card?: TransferPaymentMethodsCard | undefined;
|
|
83
83
|
/**
|
|
84
84
|
* Describes an Apple Pay token on a Moov account.
|
|
85
85
|
*/
|
|
@@ -87,7 +87,7 @@ export type TransferSource = {
|
|
|
87
87
|
/**
|
|
88
88
|
* Describes payment card details captured with tap or in-person payment.
|
|
89
89
|
*/
|
|
90
|
-
terminalCard?:
|
|
90
|
+
terminalCard?: TransferTerminalCard | undefined;
|
|
91
91
|
/**
|
|
92
92
|
* Card-specific details about the transaction.
|
|
93
93
|
*/
|
|
@@ -106,13 +106,13 @@ export const TransferSource$inboundSchema: z.ZodType<
|
|
|
106
106
|
> = z.object({
|
|
107
107
|
transferID: z.string().optional(),
|
|
108
108
|
paymentMethodID: z.string(),
|
|
109
|
-
paymentMethodType:
|
|
109
|
+
paymentMethodType: TransferPaymentMethodType$inboundSchema,
|
|
110
110
|
account: TransferAccount$inboundSchema,
|
|
111
|
-
bankAccount:
|
|
112
|
-
wallet:
|
|
113
|
-
card:
|
|
111
|
+
bankAccount: TransferPaymentMethodsBankAccount$inboundSchema.optional(),
|
|
112
|
+
wallet: TransferPaymentMethodsWallet$inboundSchema.optional(),
|
|
113
|
+
card: TransferPaymentMethodsCard$inboundSchema.optional(),
|
|
114
114
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
115
|
-
terminalCard:
|
|
115
|
+
terminalCard: TransferTerminalCard$inboundSchema.optional(),
|
|
116
116
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
117
117
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
118
118
|
});
|
|
@@ -122,11 +122,11 @@ export type TransferSource$Outbound = {
|
|
|
122
122
|
paymentMethodID: string;
|
|
123
123
|
paymentMethodType: string;
|
|
124
124
|
account: TransferAccount$Outbound;
|
|
125
|
-
bankAccount?:
|
|
126
|
-
wallet?:
|
|
127
|
-
card?:
|
|
125
|
+
bankAccount?: TransferPaymentMethodsBankAccount$Outbound | undefined;
|
|
126
|
+
wallet?: TransferPaymentMethodsWallet$Outbound | undefined;
|
|
127
|
+
card?: TransferPaymentMethodsCard$Outbound | undefined;
|
|
128
128
|
applePay?: ApplePayResponse$Outbound | undefined;
|
|
129
|
-
terminalCard?:
|
|
129
|
+
terminalCard?: TransferTerminalCard$Outbound | undefined;
|
|
130
130
|
cardDetails?: CardTransactionDetails$Outbound | undefined;
|
|
131
131
|
achDetails?: ACHTransactionDetails$Outbound | undefined;
|
|
132
132
|
};
|
|
@@ -139,13 +139,13 @@ export const TransferSource$outboundSchema: z.ZodType<
|
|
|
139
139
|
> = z.object({
|
|
140
140
|
transferID: z.string().optional(),
|
|
141
141
|
paymentMethodID: z.string(),
|
|
142
|
-
paymentMethodType:
|
|
142
|
+
paymentMethodType: TransferPaymentMethodType$outboundSchema,
|
|
143
143
|
account: TransferAccount$outboundSchema,
|
|
144
|
-
bankAccount:
|
|
145
|
-
wallet:
|
|
146
|
-
card:
|
|
144
|
+
bankAccount: TransferPaymentMethodsBankAccount$outboundSchema.optional(),
|
|
145
|
+
wallet: TransferPaymentMethodsWallet$outboundSchema.optional(),
|
|
146
|
+
card: TransferPaymentMethodsCard$outboundSchema.optional(),
|
|
147
147
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
148
|
-
terminalCard:
|
|
148
|
+
terminalCard: TransferTerminalCard$outboundSchema.optional(),
|
|
149
149
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
150
150
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
151
151
|
});
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
CardBrand,
|
|
11
|
+
CardBrand$inboundSchema,
|
|
12
|
+
CardBrand$outboundSchema,
|
|
13
|
+
} from "./cardbrand.js";
|
|
14
|
+
import {
|
|
15
|
+
CardExpiration,
|
|
16
|
+
CardExpiration$inboundSchema,
|
|
17
|
+
CardExpiration$Outbound,
|
|
18
|
+
CardExpiration$outboundSchema,
|
|
19
|
+
} from "./cardexpiration.js";
|
|
20
|
+
import {
|
|
21
|
+
CardType,
|
|
22
|
+
CardType$inboundSchema,
|
|
23
|
+
CardType$outboundSchema,
|
|
24
|
+
} from "./cardtype.js";
|
|
25
|
+
import {
|
|
26
|
+
TransferEntryMode,
|
|
27
|
+
TransferEntryMode$inboundSchema,
|
|
28
|
+
TransferEntryMode$outboundSchema,
|
|
29
|
+
} from "./transferentrymode.js";
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Describes payment card details captured with tap or in-person payment.
|
|
33
|
+
*/
|
|
34
|
+
export type TransferTerminalCard = {
|
|
35
|
+
/**
|
|
36
|
+
* How the card information was entered into the point of sale terminal.
|
|
37
|
+
*/
|
|
38
|
+
entryMode?: TransferEntryMode | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* The card brand.
|
|
41
|
+
*/
|
|
42
|
+
brand?: CardBrand | undefined;
|
|
43
|
+
bin?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* The type of the card.
|
|
46
|
+
*/
|
|
47
|
+
cardType?: CardType | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* The expiration date of the card or token.
|
|
50
|
+
*/
|
|
51
|
+
expiration?: CardExpiration | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Uniquely identifies a linked payment card or token.
|
|
54
|
+
*
|
|
55
|
+
* @remarks
|
|
56
|
+
* For Apple Pay, the fingerprint is based on the tokenized card number and may vary based on the user's device.
|
|
57
|
+
* This field can be used to identify specific payment methods across multiple accounts on your platform.
|
|
58
|
+
*/
|
|
59
|
+
fingerprint?: string | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* The name of the cardholder as it appears on the card.
|
|
62
|
+
*/
|
|
63
|
+
holderName?: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* Financial institution that issued the card.
|
|
66
|
+
*/
|
|
67
|
+
issuer?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* Country where the card was issued.
|
|
70
|
+
*/
|
|
71
|
+
issuerCountry?: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Last four digits of the card number
|
|
74
|
+
*/
|
|
75
|
+
lastFourCardNumber?: string | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* Identifier for the point of sale terminal application.
|
|
78
|
+
*/
|
|
79
|
+
applicationID?: string | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* Name label for the point of sale terminal application.
|
|
82
|
+
*/
|
|
83
|
+
applicationName?: string | undefined;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/** @internal */
|
|
87
|
+
export const TransferTerminalCard$inboundSchema: z.ZodType<
|
|
88
|
+
TransferTerminalCard,
|
|
89
|
+
z.ZodTypeDef,
|
|
90
|
+
unknown
|
|
91
|
+
> = z.object({
|
|
92
|
+
entryMode: TransferEntryMode$inboundSchema.optional(),
|
|
93
|
+
brand: CardBrand$inboundSchema.optional(),
|
|
94
|
+
bin: z.string().optional(),
|
|
95
|
+
cardType: CardType$inboundSchema.optional(),
|
|
96
|
+
expiration: CardExpiration$inboundSchema.optional(),
|
|
97
|
+
fingerprint: z.string().optional(),
|
|
98
|
+
holderName: z.string().optional(),
|
|
99
|
+
issuer: z.string().optional(),
|
|
100
|
+
issuerCountry: z.string().optional(),
|
|
101
|
+
lastFourCardNumber: z.string().optional(),
|
|
102
|
+
applicationID: z.string().optional(),
|
|
103
|
+
applicationName: z.string().optional(),
|
|
104
|
+
});
|
|
105
|
+
/** @internal */
|
|
106
|
+
export type TransferTerminalCard$Outbound = {
|
|
107
|
+
entryMode?: string | undefined;
|
|
108
|
+
brand?: string | undefined;
|
|
109
|
+
bin?: string | undefined;
|
|
110
|
+
cardType?: string | undefined;
|
|
111
|
+
expiration?: CardExpiration$Outbound | undefined;
|
|
112
|
+
fingerprint?: string | undefined;
|
|
113
|
+
holderName?: string | undefined;
|
|
114
|
+
issuer?: string | undefined;
|
|
115
|
+
issuerCountry?: string | undefined;
|
|
116
|
+
lastFourCardNumber?: string | undefined;
|
|
117
|
+
applicationID?: string | undefined;
|
|
118
|
+
applicationName?: string | undefined;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/** @internal */
|
|
122
|
+
export const TransferTerminalCard$outboundSchema: z.ZodType<
|
|
123
|
+
TransferTerminalCard$Outbound,
|
|
124
|
+
z.ZodTypeDef,
|
|
125
|
+
TransferTerminalCard
|
|
126
|
+
> = z.object({
|
|
127
|
+
entryMode: TransferEntryMode$outboundSchema.optional(),
|
|
128
|
+
brand: CardBrand$outboundSchema.optional(),
|
|
129
|
+
bin: z.string().optional(),
|
|
130
|
+
cardType: CardType$outboundSchema.optional(),
|
|
131
|
+
expiration: CardExpiration$outboundSchema.optional(),
|
|
132
|
+
fingerprint: z.string().optional(),
|
|
133
|
+
holderName: z.string().optional(),
|
|
134
|
+
issuer: z.string().optional(),
|
|
135
|
+
issuerCountry: z.string().optional(),
|
|
136
|
+
lastFourCardNumber: z.string().optional(),
|
|
137
|
+
applicationID: z.string().optional(),
|
|
138
|
+
applicationName: z.string().optional(),
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
export function transferTerminalCardToJSON(
|
|
142
|
+
transferTerminalCard: TransferTerminalCard,
|
|
143
|
+
): string {
|
|
144
|
+
return JSON.stringify(
|
|
145
|
+
TransferTerminalCard$outboundSchema.parse(transferTerminalCard),
|
|
146
|
+
);
|
|
147
|
+
}
|
|
148
|
+
export function transferTerminalCardFromJSON(
|
|
149
|
+
jsonString: string,
|
|
150
|
+
): SafeParseResult<TransferTerminalCard, SDKValidationError> {
|
|
151
|
+
return safeParse(
|
|
152
|
+
jsonString,
|
|
153
|
+
(x) => TransferTerminalCard$inboundSchema.parse(JSON.parse(x)),
|
|
154
|
+
`Failed to parse 'TransferTerminalCard' from JSON`,
|
|
155
|
+
);
|
|
156
|
+
}
|
|
@@ -33,6 +33,7 @@ export const WalletTransactionType = {
|
|
|
33
33
|
Adjustment: "adjustment",
|
|
34
34
|
FeeRevenue: "fee-revenue",
|
|
35
35
|
Residual: "residual",
|
|
36
|
+
InstantBankFailure: "instant-bank-failure",
|
|
36
37
|
} as const;
|
|
37
38
|
export type WalletTransactionType = ClosedEnum<typeof WalletTransactionType>;
|
|
38
39
|
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { MoovError } from "./mooverror.js";
|
|
7
|
+
|
|
8
|
+
export type DuplicateCardErrorData = {
|
|
9
|
+
/**
|
|
10
|
+
* A human-readable description of the error.
|
|
11
|
+
*/
|
|
12
|
+
error: string;
|
|
13
|
+
/**
|
|
14
|
+
* The ID of the existing card that caused the conflict.
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* This field is included when attempting to link a card that already exists on the account.
|
|
18
|
+
*/
|
|
19
|
+
existingCardID?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export class DuplicateCardError extends MoovError {
|
|
23
|
+
/**
|
|
24
|
+
* A human-readable description of the error.
|
|
25
|
+
*/
|
|
26
|
+
error: string;
|
|
27
|
+
/**
|
|
28
|
+
* The ID of the existing card that caused the conflict.
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
* This field is included when attempting to link a card that already exists on the account.
|
|
32
|
+
*/
|
|
33
|
+
existingCardID?: string | undefined;
|
|
34
|
+
|
|
35
|
+
/** The original data that was passed to this error instance. */
|
|
36
|
+
data$: DuplicateCardErrorData;
|
|
37
|
+
|
|
38
|
+
constructor(
|
|
39
|
+
err: DuplicateCardErrorData,
|
|
40
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
41
|
+
) {
|
|
42
|
+
const message = "message" in err && typeof err.message === "string"
|
|
43
|
+
? err.message
|
|
44
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
45
|
+
super(message, httpMeta);
|
|
46
|
+
this.data$ = err;
|
|
47
|
+
this.error = err.error;
|
|
48
|
+
if (err.existingCardID != null) this.existingCardID = err.existingCardID;
|
|
49
|
+
|
|
50
|
+
this.name = "DuplicateCardError";
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const DuplicateCardError$inboundSchema: z.ZodType<
|
|
56
|
+
DuplicateCardError,
|
|
57
|
+
z.ZodTypeDef,
|
|
58
|
+
unknown
|
|
59
|
+
> = z.object({
|
|
60
|
+
error: z.string(),
|
|
61
|
+
existingCardID: z.string().optional(),
|
|
62
|
+
request$: z.instanceof(Request),
|
|
63
|
+
response$: z.instanceof(Response),
|
|
64
|
+
body$: z.string(),
|
|
65
|
+
})
|
|
66
|
+
.transform((v) => {
|
|
67
|
+
return new DuplicateCardError(v, {
|
|
68
|
+
request: v.request$,
|
|
69
|
+
response: v.response$,
|
|
70
|
+
body: v.body$,
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
/** @internal */
|
|
75
|
+
export type DuplicateCardError$Outbound = {
|
|
76
|
+
error: string;
|
|
77
|
+
existingCardID?: string | undefined;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const DuplicateCardError$outboundSchema: z.ZodType<
|
|
82
|
+
DuplicateCardError$Outbound,
|
|
83
|
+
z.ZodTypeDef,
|
|
84
|
+
DuplicateCardError
|
|
85
|
+
> = z.instanceof(DuplicateCardError)
|
|
86
|
+
.transform(v => v.data$)
|
|
87
|
+
.pipe(z.object({
|
|
88
|
+
error: z.string(),
|
|
89
|
+
existingCardID: z.string().optional(),
|
|
90
|
+
}));
|
|
@@ -17,6 +17,7 @@ export * from "./createsweepconfigerror.js";
|
|
|
17
17
|
export * from "./createticketerror.js";
|
|
18
18
|
export * from "./createwalletvalidationerror.js";
|
|
19
19
|
export * from "./createwebhookvalidationerror.js";
|
|
20
|
+
export * from "./duplicatecarderror.js";
|
|
20
21
|
export * from "./feeplanagreementerror.js";
|
|
21
22
|
export * from "./fileuploadvalidationerror.js";
|
|
22
23
|
export * from "./filevalidationerror.js";
|
|
@@ -21,7 +21,7 @@ export type AcceptDisputeGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type AssignAccountCountriesGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -20,7 +20,7 @@ export type CancelScheduleGlobals = {
|
|
|
20
20
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
21
21
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
22
22
|
*
|
|
23
|
-
* The `
|
|
23
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
24
24
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
25
25
|
*/
|
|
26
26
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CompleteBankAccountVerificationGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CompleteMicroDepositsGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type ConnectAccountGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateAccessTokenGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateAccountGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateApplePaySessionGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateBrandGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateCancellationGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateFeePlanAgreementsGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateOnboardingInviteGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreatePaymentLinkGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateProductGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateReceiptsGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateRepresentativeGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateReversalGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateScheduleGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateSweepConfigGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateTerminalApplicationGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateTerminalApplicationVersionGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|
|
@@ -21,7 +21,7 @@ export type CreateTicketGlobals = {
|
|
|
21
21
|
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
22
22
|
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
23
23
|
*
|
|
24
|
-
* The `
|
|
24
|
+
* The `dev` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
25
25
|
* When no version is specified, the API defaults to `v2024.01.00`.
|
|
26
26
|
*/
|
|
27
27
|
xMoovVersion?: string | undefined;
|