@moovio/sdk 26.7.0 → 26.7.2
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 +107 -83
- package/bin/mcp-server.js +1121 -380
- package/bin/mcp-server.js.map +127 -101
- package/funcs/cardIssuingGetFull.d.ts +1 -1
- package/funcs/cardIssuingGetFull.js +1 -1
- package/funcs/cardIssuingListMerchantCategories.d.ts +19 -0
- package/funcs/cardIssuingListMerchantCategories.d.ts.map +1 -0
- package/funcs/cardIssuingListMerchantCategories.js +109 -0
- package/funcs/cardIssuingListMerchantCategories.js.map +1 -0
- package/funcs/imagesUpload.d.ts +1 -1
- package/funcs/imagesUpload.js +1 -1
- package/funcs/institutionsSearch.d.ts +1 -1
- package/funcs/institutionsSearch.js +1 -1
- package/funcs/issuingTransactionsList.js +1 -0
- package/funcs/issuingTransactionsList.js.map +1 -1
- package/funcs/transfersCreateCancellation.d.ts +3 -0
- package/funcs/transfersCreateCancellation.d.ts.map +1 -1
- package/funcs/transfersCreateCancellation.js +6 -1
- package/funcs/transfersCreateCancellation.js.map +1 -1
- package/funcs/transfersCreateReversal.d.ts +3 -0
- package/funcs/transfersCreateReversal.d.ts.map +1 -1
- package/funcs/transfersCreateReversal.js +3 -0
- package/funcs/transfersCreateReversal.js.map +1 -1
- package/funcs/transfersList.js +2 -0
- package/funcs/transfersList.js.map +1 -1
- package/funcs/transfersListCancellations.js +1 -1
- package/funcs/transfersListCancellations.js.map +1 -1
- package/funcs/transfersListRefunds.js +1 -1
- package/funcs/transfersListRefunds.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.d.ts +10 -9
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +29 -13
- package/lib/encodings.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +8 -6
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/avatarsGet.js +1 -1
- package/mcp-server/tools/cardIssuingGetFull.js +1 -1
- package/mcp-server/tools/cardIssuingGetFull.js.map +1 -1
- package/mcp-server/tools/cardIssuingListMerchantCategories.d.ts +3 -0
- package/mcp-server/tools/cardIssuingListMerchantCategories.d.ts.map +1 -0
- package/mcp-server/tools/cardIssuingListMerchantCategories.js +29 -0
- package/mcp-server/tools/cardIssuingListMerchantCategories.js.map +1 -0
- package/mcp-server/tools/enrichedAddressGet.js +1 -1
- package/mcp-server/tools/enrichedProfileGet.js +1 -1
- package/mcp-server/tools/imagesUpload.js +1 -1
- package/mcp-server/tools/imagesUpload.js.map +1 -1
- package/mcp-server/tools/institutionsSearch.js +2 -2
- package/mcp-server/tools/transfersCreateCancellation.d.ts.map +1 -1
- package/mcp-server/tools/transfersCreateCancellation.js +3 -0
- package/mcp-server/tools/transfersCreateCancellation.js.map +1 -1
- package/mcp-server/tools/transfersCreateReversal.d.ts.map +1 -1
- package/mcp-server/tools/transfersCreateReversal.js +4 -1
- package/mcp-server/tools/transfersCreateReversal.js.map +1 -1
- package/mcp-server/tools/transfersListCancellations.js +1 -1
- package/models/components/adjustmentfees.d.ts +30 -0
- package/models/components/adjustmentfees.d.ts.map +1 -0
- package/models/components/adjustmentfees.js +62 -0
- package/models/components/adjustmentfees.js.map +1 -0
- package/models/components/allowedscheduleerror.d.ts +24 -0
- package/models/components/allowedscheduleerror.d.ts.map +1 -0
- package/models/components/allowedscheduleerror.js +62 -0
- package/models/components/allowedscheduleerror.js.map +1 -0
- package/models/components/amountdecimalrange.d.ts +1 -3
- package/models/components/amountdecimalrange.d.ts.map +1 -1
- package/models/components/amountdecimalrange.js.map +1 -1
- package/models/components/amountdecimalrangeupdate.d.ts +1 -3
- package/models/components/amountdecimalrangeupdate.d.ts.map +1 -1
- package/models/components/amountdecimalrangeupdate.js.map +1 -1
- package/models/components/applicationscope.d.ts +1 -1
- package/models/components/applicationscope.js +1 -1
- package/models/components/applicationscope.js.map +1 -1
- package/models/components/billingadjustment.d.ts +34 -0
- package/models/components/billingadjustment.d.ts.map +1 -0
- package/models/components/billingadjustment.js +64 -0
- package/models/components/billingadjustment.js.map +1 -0
- package/models/components/billingsummary.d.ts +15 -10
- package/models/components/billingsummary.d.ts.map +1 -1
- package/models/components/billingsummary.js +14 -11
- package/models/components/billingsummary.js.map +1 -1
- package/models/components/cancellation.d.ts +3 -0
- package/models/components/cancellation.d.ts.map +1 -1
- package/models/components/cancellation.js.map +1 -1
- package/models/components/createdtransfer.d.ts +14 -0
- package/models/components/createdtransfer.d.ts.map +1 -1
- package/models/components/createdtransfer.js +3 -0
- package/models/components/createdtransfer.js.map +1 -1
- package/models/components/createfeeplanagreement.d.ts +16 -1
- package/models/components/createfeeplanagreement.d.ts.map +1 -1
- package/models/components/createfeeplanagreement.js +2 -0
- package/models/components/createfeeplanagreement.js.map +1 -1
- package/models/components/createpaymentlink.d.ts +3 -0
- package/models/components/createpaymentlink.d.ts.map +1 -1
- package/models/components/createpaymentlink.js.map +1 -1
- package/models/components/createrefund.d.ts +2 -2
- package/models/components/createreversal.d.ts +6 -1
- package/models/components/createreversal.d.ts.map +1 -1
- package/models/components/createreversal.js.map +1 -1
- package/models/components/createtransfer.d.ts +1 -1
- package/models/components/facilitatorfee.d.ts +2 -2
- package/models/components/feepaidby.d.ts +0 -6
- package/models/components/feepaidby.d.ts.map +1 -1
- package/models/components/feepaidby.js +0 -3
- package/models/components/feepaidby.js.map +1 -1
- package/models/components/feeplanagreement.d.ts +10 -0
- package/models/components/feeplanagreement.d.ts.map +1 -1
- package/models/components/feeplanagreement.js +5 -0
- package/models/components/feeplanagreement.js.map +1 -1
- package/models/components/fullissuedcard.d.ts +7 -3
- package/models/components/fullissuedcard.d.ts.map +1 -1
- package/models/components/fullissuedcard.js +3 -3
- package/models/components/fullissuedcard.js.map +1 -1
- package/models/components/index.d.ts +23 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +23 -0
- package/models/components/index.js.map +1 -1
- package/models/components/issuedcard.d.ts +7 -3
- package/models/components/issuedcard.d.ts.map +1 -1
- package/models/components/issuedcard.js +3 -3
- package/models/components/issuedcard.js.map +1 -1
- package/models/components/issuedcardstate.d.ts +3 -0
- package/models/components/issuedcardstate.d.ts.map +1 -1
- package/models/components/issuedcardstate.js +2 -0
- package/models/components/issuedcardstate.js.map +1 -1
- package/models/components/issuedcontrols.d.ts +73 -0
- package/models/components/issuedcontrols.d.ts.map +1 -0
- package/models/components/issuedcontrols.js +92 -0
- package/models/components/issuedcontrols.js.map +1 -0
- package/models/components/issuedvelocitylimit.d.ts +59 -0
- package/models/components/issuedvelocitylimit.d.ts.map +1 -0
- package/models/components/issuedvelocitylimit.js +74 -0
- package/models/components/issuedvelocitylimit.js.map +1 -0
- package/models/components/issuingcontrols.d.ts +47 -0
- package/models/components/issuingcontrols.d.ts.map +1 -1
- package/models/components/issuingcontrols.js +33 -1
- package/models/components/issuingcontrols.js.map +1 -1
- package/models/components/issuingcontrolserror.d.ts +11 -0
- package/models/components/issuingcontrolserror.d.ts.map +1 -1
- package/models/components/issuingcontrolserror.js +12 -0
- package/models/components/issuingcontrolserror.js.map +1 -1
- package/models/components/issuingcontrolsrestrictionmode.d.ts +18 -0
- package/models/components/issuingcontrolsrestrictionmode.d.ts.map +1 -0
- package/models/components/issuingcontrolsrestrictionmode.js +52 -0
- package/models/components/issuingcontrolsrestrictionmode.js.map +1 -0
- package/models/components/issuingintervallimit.d.ts +7 -4
- package/models/components/issuingintervallimit.d.ts.map +1 -1
- package/models/components/issuingintervallimit.js +6 -3
- package/models/components/issuingintervallimit.js.map +1 -1
- package/models/components/issuingmerchantcategory.d.ts +42 -0
- package/models/components/issuingmerchantcategory.d.ts.map +1 -0
- package/models/components/issuingmerchantcategory.js +76 -0
- package/models/components/issuingmerchantcategory.js.map +1 -0
- package/models/components/issuingscheduleday.d.ts +17 -0
- package/models/components/issuingscheduleday.d.ts.map +1 -0
- package/models/components/issuingscheduleday.js +54 -0
- package/models/components/issuingscheduleday.js.map +1 -0
- package/models/components/issuingvelocitylimit.d.ts +7 -2
- package/models/components/issuingvelocitylimit.d.ts.map +1 -1
- package/models/components/issuingvelocitylimit.js +4 -2
- package/models/components/issuingvelocitylimit.js.map +1 -1
- package/models/components/issuingvelocitylimiterror.d.ts +2 -0
- package/models/components/issuingvelocitylimiterror.d.ts.map +1 -1
- package/models/components/issuingvelocitylimiterror.js +2 -0
- package/models/components/issuingvelocitylimiterror.js.map +1 -1
- package/models/components/merchantcategories.d.ts +21 -0
- package/models/components/merchantcategories.d.ts.map +1 -0
- package/models/components/merchantcategories.js +59 -0
- package/models/components/merchantcategories.js.map +1 -0
- package/models/components/merchantcategory.d.ts +32 -0
- package/models/components/merchantcategory.d.ts.map +1 -0
- package/models/components/merchantcategory.js +62 -0
- package/models/components/merchantcategory.js.map +1 -0
- package/models/components/merchantcategoryrestrictions.d.ts +41 -0
- package/models/components/merchantcategoryrestrictions.d.ts.map +1 -0
- package/models/components/merchantcategoryrestrictions.js +68 -0
- package/models/components/merchantcategoryrestrictions.js.map +1 -0
- package/models/components/merchantcategoryrestrictionserror.d.ts +36 -0
- package/models/components/merchantcategoryrestrictionserror.d.ts.map +1 -0
- package/models/components/merchantcategoryrestrictionserror.js +66 -0
- package/models/components/merchantcategoryrestrictionserror.js.map +1 -0
- package/models/components/merchantentry.d.ts +33 -0
- package/models/components/merchantentry.d.ts.map +1 -0
- package/models/components/merchantentry.js +63 -0
- package/models/components/merchantentry.js.map +1 -0
- package/models/components/merchantentryerror.d.ts +19 -0
- package/models/components/merchantentryerror.d.ts.map +1 -0
- package/models/components/merchantentryerror.js +61 -0
- package/models/components/merchantentryerror.js.map +1 -0
- package/models/components/merchantrestrictions.d.ts +30 -0
- package/models/components/merchantrestrictions.d.ts.map +1 -0
- package/models/components/merchantrestrictions.js +62 -0
- package/models/components/merchantrestrictions.js.map +1 -0
- package/models/components/merchantrestrictionserror.d.ts +24 -0
- package/models/components/merchantrestrictionserror.d.ts.map +1 -0
- package/models/components/merchantrestrictionserror.js +62 -0
- package/models/components/merchantrestrictionserror.js.map +1 -0
- package/models/components/partnerpricingagreement.d.ts +12 -2
- package/models/components/partnerpricingagreement.d.ts.map +1 -1
- package/models/components/partnerpricingagreement.js +5 -0
- package/models/components/partnerpricingagreement.js.map +1 -1
- package/models/components/paymentlink.d.ts +4 -3
- package/models/components/paymentlink.d.ts.map +1 -1
- package/models/components/paymentlink.js.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetails.d.ts +1 -3
- package/models/components/paymentlinkcustomamountpaymentdetails.d.ts.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetails.js.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts +1 -3
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.js.map +1 -1
- package/models/components/paymentlinkpayoutdetails.d.ts +7 -8
- package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetails.js.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts +7 -8
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.js.map +1 -1
- package/models/components/paymentmethodswallet.d.ts +1 -0
- package/models/components/paymentmethodswallet.d.ts.map +1 -1
- package/models/components/paymentmethodswallet.js.map +1 -1
- package/models/components/pushoptions.d.ts +4 -6
- package/models/components/pushoptions.d.ts.map +1 -1
- package/models/components/pushoptions.js.map +1 -1
- package/models/components/pushoptionsupdate.d.ts +4 -6
- package/models/components/pushoptionsupdate.d.ts.map +1 -1
- package/models/components/pushoptionsupdate.js.map +1 -1
- package/models/components/requestcard.d.ts +3 -0
- package/models/components/requestcard.d.ts.map +1 -1
- package/models/components/requestcard.js.map +1 -1
- package/models/components/requirementid.d.ts +14 -0
- package/models/components/requirementid.d.ts.map +1 -1
- package/models/components/requirementid.js +14 -0
- package/models/components/requirementid.js.map +1 -1
- package/models/components/reversalamountdetails.d.ts +5 -1
- package/models/components/reversalamountdetails.d.ts.map +1 -1
- package/models/components/reversalamountdetails.js.map +1 -1
- package/models/components/reversedwithcancellation.d.ts +3 -0
- package/models/components/reversedwithcancellation.d.ts.map +1 -1
- package/models/components/reversedwithcancellation.js.map +1 -1
- package/models/components/schedulewindow.d.ts +34 -0
- package/models/components/schedulewindow.d.ts.map +1 -0
- package/models/components/schedulewindow.js +64 -0
- package/models/components/schedulewindow.js.map +1 -0
- package/models/components/schedulewindowerror.d.ts +21 -0
- package/models/components/schedulewindowerror.d.ts.map +1 -0
- package/models/components/schedulewindowerror.js +63 -0
- package/models/components/schedulewindowerror.js.map +1 -0
- package/models/components/sendfunds.d.ts +3 -0
- package/models/components/sendfunds.d.ts.map +1 -1
- package/models/components/sendfunds.js +3 -0
- package/models/components/sendfunds.js.map +1 -1
- package/models/components/sendfundserror.d.ts +3 -0
- package/models/components/sendfundserror.d.ts.map +1 -1
- package/models/components/sendfundserror.js +3 -0
- package/models/components/sendfundserror.js.map +1 -1
- package/models/components/sendfundswire.d.ts +18 -0
- package/models/components/sendfundswire.d.ts.map +1 -0
- package/models/components/sendfundswire.js +60 -0
- package/models/components/sendfundswire.js.map +1 -0
- package/models/components/sendfundswireerror.d.ts +18 -0
- package/models/components/sendfundswireerror.d.ts.map +1 -0
- package/models/components/sendfundswireerror.js +60 -0
- package/models/components/sendfundswireerror.js.map +1 -0
- package/models/components/statement.d.ts +6 -0
- package/models/components/statement.d.ts.map +1 -1
- package/models/components/statement.js +3 -0
- package/models/components/statement.js.map +1 -1
- package/models/components/sweepconfig.d.ts +2 -2
- package/models/components/sweepconfigpaymentmethod.d.ts +1 -1
- package/models/components/transfer.d.ts +14 -0
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +3 -0
- package/models/components/transfer.js.map +1 -1
- package/models/components/transfercapture.d.ts +28 -0
- package/models/components/transfercapture.d.ts.map +1 -0
- package/models/components/transfercapture.js +61 -0
- package/models/components/transfercapture.js.map +1 -0
- package/models/components/transferfeepaidby.d.ts +1 -1
- package/models/components/transferpaymentmethodswallet.d.ts +1 -0
- package/models/components/transferpaymentmethodswallet.d.ts.map +1 -1
- package/models/components/transferpaymentmethodswallet.js.map +1 -1
- package/models/components/updateissuedcard.d.ts +8 -0
- package/models/components/updateissuedcard.d.ts.map +1 -1
- package/models/components/updateissuedcard.js +3 -0
- package/models/components/updateissuedcard.js.map +1 -1
- package/models/components/updateissuedcardstate.d.ts +6 -0
- package/models/components/updateissuedcardstate.d.ts.map +1 -1
- package/models/components/updateissuedcardstate.js +4 -0
- package/models/components/updateissuedcardstate.js.map +1 -1
- package/models/components/updateissuingcontrols.d.ts +130 -0
- package/models/components/updateissuingcontrols.d.ts.map +1 -0
- package/models/components/updateissuingcontrols.js +130 -0
- package/models/components/updateissuingcontrols.js.map +1 -0
- package/models/components/updateissuingcontrolserror.d.ts +33 -0
- package/models/components/updateissuingcontrolserror.d.ts.map +1 -0
- package/models/components/updateissuingcontrolserror.js +72 -0
- package/models/components/updateissuingcontrolserror.js.map +1 -0
- package/models/components/updatepaymentlink.d.ts +3 -0
- package/models/components/updatepaymentlink.d.ts.map +1 -1
- package/models/components/updatepaymentlink.js.map +1 -1
- package/models/components/wallet.d.ts +1 -0
- package/models/components/wallet.d.ts.map +1 -1
- package/models/components/wallet.js.map +1 -1
- package/models/components/wallettype.d.ts +3 -0
- package/models/components/wallettype.d.ts.map +1 -1
- package/models/components/wallettype.js +2 -0
- package/models/components/wallettype.js.map +1 -1
- package/models/components/webhookdatatransferstatus.d.ts +3 -0
- package/models/components/webhookdatatransferstatus.d.ts.map +1 -1
- package/models/components/webhookdatatransferstatus.js +3 -0
- package/models/components/webhookdatatransferstatus.js.map +1 -1
- package/models/errors/transfer.d.ts +25 -0
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js +4 -0
- package/models/errors/transfer.js.map +1 -1
- package/models/errors/updateissuedcarderror.d.ts +3 -0
- package/models/errors/updateissuedcarderror.d.ts.map +1 -1
- package/models/errors/updateissuedcarderror.js +4 -0
- package/models/errors/updateissuedcarderror.js.map +1 -1
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listaccounts.d.ts +3 -0
- package/models/operations/listaccounts.d.ts.map +1 -1
- package/models/operations/listaccounts.js.map +1 -1
- package/models/operations/listconnectedaccountsforaccount.d.ts +3 -0
- package/models/operations/listconnectedaccountsforaccount.d.ts.map +1 -1
- package/models/operations/listconnectedaccountsforaccount.js.map +1 -1
- package/models/operations/listdisputes.d.ts +3 -0
- package/models/operations/listdisputes.d.ts.map +1 -1
- package/models/operations/listdisputes.js.map +1 -1
- package/models/operations/listfeeplanagreements.d.ts +3 -0
- package/models/operations/listfeeplanagreements.d.ts.map +1 -1
- package/models/operations/listfeeplanagreements.js.map +1 -1
- package/models/operations/listfeerevenue.d.ts +3 -0
- package/models/operations/listfeerevenue.d.ts.map +1 -1
- package/models/operations/listfeerevenue.js.map +1 -1
- package/models/operations/listinvoices.d.ts +3 -0
- package/models/operations/listinvoices.d.ts.map +1 -1
- package/models/operations/listinvoices.js.map +1 -1
- package/models/operations/listissuedcardauthorizationevents.d.ts +3 -0
- package/models/operations/listissuedcardauthorizationevents.d.ts.map +1 -1
- package/models/operations/listissuedcardauthorizationevents.js.map +1 -1
- package/models/operations/listissuedcardauthorizations.d.ts +3 -0
- package/models/operations/listissuedcardauthorizations.d.ts.map +1 -1
- package/models/operations/listissuedcardauthorizations.js.map +1 -1
- package/models/operations/listissuedcards.d.ts +3 -0
- package/models/operations/listissuedcards.d.ts.map +1 -1
- package/models/operations/listissuedcards.js.map +1 -1
- package/models/operations/listissuedcardtransactions.d.ts +8 -0
- package/models/operations/listissuedcardtransactions.d.ts.map +1 -1
- package/models/operations/listissuedcardtransactions.js +2 -0
- package/models/operations/listissuedcardtransactions.js.map +1 -1
- package/models/operations/listissuingmerchantcategories.d.ts +24 -0
- package/models/operations/listissuingmerchantcategories.d.ts.map +1 -0
- package/models/operations/listissuingmerchantcategories.js +72 -0
- package/models/operations/listissuingmerchantcategories.js.map +1 -0
- package/models/operations/listpartnerpricingagreements.d.ts +3 -0
- package/models/operations/listpartnerpricingagreements.d.ts.map +1 -1
- package/models/operations/listpartnerpricingagreements.js.map +1 -1
- package/models/operations/listpaymentlinks.d.ts +3 -0
- package/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/models/operations/listpaymentlinks.js.map +1 -1
- package/models/operations/listproducts.d.ts +3 -0
- package/models/operations/listproducts.d.ts.map +1 -1
- package/models/operations/listproducts.js.map +1 -1
- package/models/operations/listresidualfees.d.ts +3 -0
- package/models/operations/listresidualfees.d.ts.map +1 -1
- package/models/operations/listresidualfees.js.map +1 -1
- package/models/operations/listresiduals.d.ts +3 -0
- package/models/operations/listresiduals.d.ts.map +1 -1
- package/models/operations/listresiduals.js.map +1 -1
- package/models/operations/listschedules.d.ts +3 -0
- package/models/operations/listschedules.d.ts.map +1 -1
- package/models/operations/listschedules.js.map +1 -1
- package/models/operations/liststatements.d.ts +3 -0
- package/models/operations/liststatements.d.ts.map +1 -1
- package/models/operations/liststatements.js.map +1 -1
- package/models/operations/listsweeps.d.ts +3 -0
- package/models/operations/listsweeps.d.ts.map +1 -1
- package/models/operations/listsweeps.js.map +1 -1
- package/models/operations/listtickets.d.ts +3 -0
- package/models/operations/listtickets.d.ts.map +1 -1
- package/models/operations/listtickets.js.map +1 -1
- package/models/operations/listtransfers.d.ts +13 -0
- package/models/operations/listtransfers.d.ts.map +1 -1
- package/models/operations/listtransfers.js +4 -0
- package/models/operations/listtransfers.js.map +1 -1
- package/models/operations/listwallets.d.ts +3 -0
- package/models/operations/listwallets.d.ts.map +1 -1
- package/models/operations/listwallets.js.map +1 -1
- package/models/operations/listwallettransactions.d.ts +3 -0
- package/models/operations/listwallettransactions.d.ts.map +1 -1
- package/models/operations/listwallettransactions.js.map +1 -1
- package/models/operations/retrievefees.d.ts +3 -0
- package/models/operations/retrievefees.d.ts.map +1 -1
- package/models/operations/retrievefees.js.map +1 -1
- package/package.json +1 -1
- package/sdk/cardissuing.d.ts +10 -1
- package/sdk/cardissuing.d.ts.map +1 -1
- package/sdk/cardissuing.js +13 -1
- package/sdk/cardissuing.js.map +1 -1
- package/sdk/images.d.ts +1 -1
- package/sdk/images.js +1 -1
- package/sdk/institutions.d.ts +1 -1
- package/sdk/institutions.js +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/transfers.d.ts +6 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +6 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/cardIssuingGetFull.ts +1 -1
- package/src/funcs/cardIssuingListMerchantCategories.ts +155 -0
- package/src/funcs/imagesUpload.ts +1 -1
- package/src/funcs/institutionsSearch.ts +1 -1
- package/src/funcs/issuingTransactionsList.ts +1 -0
- package/src/funcs/transfersCreateCancellation.ts +6 -1
- package/src/funcs/transfersCreateReversal.ts +3 -0
- package/src/funcs/transfersList.ts +2 -0
- package/src/funcs/transfersListCancellations.ts +1 -1
- package/src/funcs/transfersListRefunds.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +58 -23
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +8 -6
- package/src/mcp-server/tools/avatarsGet.ts +1 -1
- package/src/mcp-server/tools/cardIssuingGetFull.ts +1 -1
- package/src/mcp-server/tools/cardIssuingListMerchantCategories.ts +34 -0
- package/src/mcp-server/tools/enrichedAddressGet.ts +1 -1
- package/src/mcp-server/tools/enrichedProfileGet.ts +1 -1
- package/src/mcp-server/tools/imagesUpload.ts +1 -1
- package/src/mcp-server/tools/institutionsSearch.ts +2 -2
- package/src/mcp-server/tools/transfersCreateCancellation.ts +3 -0
- package/src/mcp-server/tools/transfersCreateReversal.ts +4 -1
- package/src/mcp-server/tools/transfersListCancellations.ts +1 -1
- package/src/models/components/adjustmentfees.ts +72 -0
- package/src/models/components/allowedscheduleerror.ts +62 -0
- package/src/models/components/amountdecimalrange.ts +1 -3
- package/src/models/components/amountdecimalrangeupdate.ts +1 -3
- package/src/models/components/applicationscope.ts +1 -1
- package/src/models/components/billingadjustment.ts +78 -0
- package/src/models/components/billingsummary.ts +35 -19
- package/src/models/components/cancellation.ts +3 -0
- package/src/models/components/createdtransfer.ts +21 -0
- package/src/models/components/createfeeplanagreement.ts +18 -1
- package/src/models/components/createpaymentlink.ts +3 -0
- package/src/models/components/createrefund.ts +2 -2
- package/src/models/components/createreversal.ts +6 -1
- package/src/models/components/createtransfer.ts +1 -1
- package/src/models/components/facilitatorfee.ts +2 -2
- package/src/models/components/feepaidby.ts +0 -6
- package/src/models/components/feeplanagreement.ts +15 -0
- package/src/models/components/fullissuedcard.ts +13 -9
- package/src/models/components/index.ts +23 -0
- package/src/models/components/issuedcard.ts +13 -9
- package/src/models/components/issuedcardstate.ts +3 -0
- package/src/models/components/issuedcontrols.ts +177 -0
- package/src/models/components/issuedvelocitylimit.ts +112 -0
- package/src/models/components/issuingcontrols.ts +107 -0
- package/src/models/components/issuingcontrolserror.ts +39 -0
- package/src/models/components/issuingcontrolsrestrictionmode.ts +34 -0
- package/src/models/components/issuingintervallimit.ts +16 -8
- package/src/models/components/issuingmerchantcategory.ts +56 -0
- package/src/models/components/issuingscheduleday.ts +26 -0
- package/src/models/components/issuingvelocitylimit.ts +11 -4
- package/src/models/components/issuingvelocitylimiterror.ts +4 -0
- package/src/models/components/merchantcategories.ts +60 -0
- package/src/models/components/merchantcategory.ts +73 -0
- package/src/models/components/merchantcategoryrestrictions.ts +97 -0
- package/src/models/components/merchantcategoryrestrictionserror.ts +72 -0
- package/src/models/components/merchantentry.ts +68 -0
- package/src/models/components/merchantentryerror.ts +56 -0
- package/src/models/components/merchantrestrictions.ts +75 -0
- package/src/models/components/merchantrestrictionserror.ts +62 -0
- package/src/models/components/partnerpricingagreement.ts +17 -2
- package/src/models/components/paymentlink.ts +4 -3
- package/src/models/components/paymentlinkcustomamountpaymentdetails.ts +1 -3
- package/src/models/components/paymentlinkcustomamountpaymentdetailsupdate.ts +1 -3
- package/src/models/components/paymentlinkpayoutdetails.ts +7 -8
- package/src/models/components/paymentlinkpayoutdetailsupdate.ts +7 -8
- package/src/models/components/paymentmethodswallet.ts +1 -0
- package/src/models/components/pushoptions.ts +4 -6
- package/src/models/components/pushoptionsupdate.ts +4 -6
- package/src/models/components/requestcard.ts +3 -0
- package/src/models/components/requirementid.ts +28 -0
- package/src/models/components/reversalamountdetails.ts +5 -1
- package/src/models/components/reversedwithcancellation.ts +3 -0
- package/src/models/components/schedulewindow.ts +73 -0
- package/src/models/components/schedulewindowerror.ts +60 -0
- package/src/models/components/sendfunds.ts +10 -0
- package/src/models/components/sendfundserror.ts +10 -0
- package/src/models/components/sendfundswire.ts +54 -0
- package/src/models/components/sendfundswireerror.ts +58 -0
- package/src/models/components/statement.ts +13 -0
- package/src/models/components/sweepconfig.ts +2 -2
- package/src/models/components/sweepconfigpaymentmethod.ts +1 -1
- package/src/models/components/transfer.ts +21 -0
- package/src/models/components/transfercapture.ts +63 -0
- package/src/models/components/transferfeepaidby.ts +1 -1
- package/src/models/components/transferpaymentmethodswallet.ts +1 -0
- package/src/models/components/updateissuedcard.ts +15 -0
- package/src/models/components/updateissuedcardstate.ts +6 -0
- package/src/models/components/updateissuingcontrols.ts +351 -0
- package/src/models/components/updateissuingcontrolserror.ts +101 -0
- package/src/models/components/updatepaymentlink.ts +3 -0
- package/src/models/components/wallet.ts +1 -0
- package/src/models/components/wallettype.ts +3 -0
- package/src/models/components/webhookdatatransferstatus.ts +3 -0
- package/src/models/errors/transfer.ts +28 -0
- package/src/models/errors/updateissuedcarderror.ts +6 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/listaccounts.ts +3 -0
- package/src/models/operations/listconnectedaccountsforaccount.ts +3 -0
- package/src/models/operations/listdisputes.ts +3 -0
- package/src/models/operations/listfeeplanagreements.ts +3 -0
- package/src/models/operations/listfeerevenue.ts +3 -0
- package/src/models/operations/listinvoices.ts +3 -0
- package/src/models/operations/listissuedcardauthorizationevents.ts +3 -0
- package/src/models/operations/listissuedcardauthorizations.ts +3 -0
- package/src/models/operations/listissuedcards.ts +3 -0
- package/src/models/operations/listissuedcardtransactions.ts +10 -0
- package/src/models/operations/listissuingmerchantcategories.ts +70 -0
- package/src/models/operations/listpartnerpricingagreements.ts +3 -0
- package/src/models/operations/listpaymentlinks.ts +3 -0
- package/src/models/operations/listproducts.ts +3 -0
- package/src/models/operations/listresidualfees.ts +3 -0
- package/src/models/operations/listresiduals.ts +3 -0
- package/src/models/operations/listschedules.ts +3 -0
- package/src/models/operations/liststatements.ts +3 -0
- package/src/models/operations/listsweeps.ts +3 -0
- package/src/models/operations/listtickets.ts +3 -0
- package/src/models/operations/listtransfers.ts +17 -0
- package/src/models/operations/listwallets.ts +3 -0
- package/src/models/operations/listwallettransactions.ts +3 -0
- package/src/models/operations/retrievefees.ts +3 -0
- package/src/sdk/cardissuing.ts +19 -1
- package/src/sdk/images.ts +1 -1
- package/src/sdk/institutions.ts +1 -1
- package/src/sdk/sdk.ts +5 -5
- package/src/sdk/transfers.ts +6 -0
|
@@ -31,12 +31,19 @@ import {
|
|
|
31
31
|
SendFundsRtpError$Outbound,
|
|
32
32
|
SendFundsRtpError$outboundSchema,
|
|
33
33
|
} from "./sendfundsrtperror.js";
|
|
34
|
+
import {
|
|
35
|
+
SendFundsWireError,
|
|
36
|
+
SendFundsWireError$inboundSchema,
|
|
37
|
+
SendFundsWireError$Outbound,
|
|
38
|
+
SendFundsWireError$outboundSchema,
|
|
39
|
+
} from "./sendfundswireerror.js";
|
|
34
40
|
|
|
35
41
|
export type SendFundsError = {
|
|
36
42
|
ach?: SendFundsAchError | undefined;
|
|
37
43
|
pushToCard?: SendFundsPushToCardError | undefined;
|
|
38
44
|
rtp?: SendFundsRtpError | undefined;
|
|
39
45
|
instantBank?: SendFundsInstantBankError | undefined;
|
|
46
|
+
wire?: SendFundsWireError | undefined;
|
|
40
47
|
};
|
|
41
48
|
|
|
42
49
|
/** @internal */
|
|
@@ -49,6 +56,7 @@ export const SendFundsError$inboundSchema: z.ZodType<
|
|
|
49
56
|
pushToCard: types.optional(SendFundsPushToCardError$inboundSchema),
|
|
50
57
|
rtp: types.optional(SendFundsRtpError$inboundSchema),
|
|
51
58
|
instantBank: types.optional(SendFundsInstantBankError$inboundSchema),
|
|
59
|
+
wire: types.optional(SendFundsWireError$inboundSchema),
|
|
52
60
|
});
|
|
53
61
|
/** @internal */
|
|
54
62
|
export type SendFundsError$Outbound = {
|
|
@@ -56,6 +64,7 @@ export type SendFundsError$Outbound = {
|
|
|
56
64
|
pushToCard?: SendFundsPushToCardError$Outbound | undefined;
|
|
57
65
|
rtp?: SendFundsRtpError$Outbound | undefined;
|
|
58
66
|
instantBank?: SendFundsInstantBankError$Outbound | undefined;
|
|
67
|
+
wire?: SendFundsWireError$Outbound | undefined;
|
|
59
68
|
};
|
|
60
69
|
|
|
61
70
|
/** @internal */
|
|
@@ -68,6 +77,7 @@ export const SendFundsError$outboundSchema: z.ZodType<
|
|
|
68
77
|
pushToCard: SendFundsPushToCardError$outboundSchema.optional(),
|
|
69
78
|
rtp: SendFundsRtpError$outboundSchema.optional(),
|
|
70
79
|
instantBank: SendFundsInstantBankError$outboundSchema.optional(),
|
|
80
|
+
wire: SendFundsWireError$outboundSchema.optional(),
|
|
71
81
|
});
|
|
72
82
|
|
|
73
83
|
export function sendFundsErrorToJSON(sendFundsError: SendFundsError): string {
|
|
@@ -0,0 +1,54 @@
|
|
|
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 * as types from "../../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
EstimatedActivity,
|
|
12
|
+
EstimatedActivity$inboundSchema,
|
|
13
|
+
EstimatedActivity$Outbound,
|
|
14
|
+
EstimatedActivity$outboundSchema,
|
|
15
|
+
} from "./estimatedactivity.js";
|
|
16
|
+
|
|
17
|
+
export type SendFundsWire = {
|
|
18
|
+
estimatedActivity?: EstimatedActivity | undefined;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const SendFundsWire$inboundSchema: z.ZodType<
|
|
23
|
+
SendFundsWire,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
estimatedActivity: types.optional(EstimatedActivity$inboundSchema),
|
|
28
|
+
});
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type SendFundsWire$Outbound = {
|
|
31
|
+
estimatedActivity?: EstimatedActivity$Outbound | undefined;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const SendFundsWire$outboundSchema: z.ZodType<
|
|
36
|
+
SendFundsWire$Outbound,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
SendFundsWire
|
|
39
|
+
> = z.object({
|
|
40
|
+
estimatedActivity: EstimatedActivity$outboundSchema.optional(),
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export function sendFundsWireToJSON(sendFundsWire: SendFundsWire): string {
|
|
44
|
+
return JSON.stringify(SendFundsWire$outboundSchema.parse(sendFundsWire));
|
|
45
|
+
}
|
|
46
|
+
export function sendFundsWireFromJSON(
|
|
47
|
+
jsonString: string,
|
|
48
|
+
): SafeParseResult<SendFundsWire, SDKValidationError> {
|
|
49
|
+
return safeParse(
|
|
50
|
+
jsonString,
|
|
51
|
+
(x) => SendFundsWire$inboundSchema.parse(JSON.parse(x)),
|
|
52
|
+
`Failed to parse 'SendFundsWire' from JSON`,
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 * as types from "../../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
EstimatedActivityError,
|
|
12
|
+
EstimatedActivityError$inboundSchema,
|
|
13
|
+
EstimatedActivityError$Outbound,
|
|
14
|
+
EstimatedActivityError$outboundSchema,
|
|
15
|
+
} from "./estimatedactivityerror.js";
|
|
16
|
+
|
|
17
|
+
export type SendFundsWireError = {
|
|
18
|
+
estimatedActivity?: EstimatedActivityError | undefined;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const SendFundsWireError$inboundSchema: z.ZodType<
|
|
23
|
+
SendFundsWireError,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
estimatedActivity: types.optional(EstimatedActivityError$inboundSchema),
|
|
28
|
+
});
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type SendFundsWireError$Outbound = {
|
|
31
|
+
estimatedActivity?: EstimatedActivityError$Outbound | undefined;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const SendFundsWireError$outboundSchema: z.ZodType<
|
|
36
|
+
SendFundsWireError$Outbound,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
SendFundsWireError
|
|
39
|
+
> = z.object({
|
|
40
|
+
estimatedActivity: EstimatedActivityError$outboundSchema.optional(),
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export function sendFundsWireErrorToJSON(
|
|
44
|
+
sendFundsWireError: SendFundsWireError,
|
|
45
|
+
): string {
|
|
46
|
+
return JSON.stringify(
|
|
47
|
+
SendFundsWireError$outboundSchema.parse(sendFundsWireError),
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
export function sendFundsWireErrorFromJSON(
|
|
51
|
+
jsonString: string,
|
|
52
|
+
): SafeParseResult<SendFundsWireError, SDKValidationError> {
|
|
53
|
+
return safeParse(
|
|
54
|
+
jsonString,
|
|
55
|
+
(x) => SendFundsWireError$inboundSchema.parse(JSON.parse(x)),
|
|
56
|
+
`Failed to parse 'SendFundsWireError' from JSON`,
|
|
57
|
+
);
|
|
58
|
+
}
|
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
ACHFees$Outbound,
|
|
20
20
|
ACHFees$outboundSchema,
|
|
21
21
|
} from "./achfees.js";
|
|
22
|
+
import {
|
|
23
|
+
AdjustmentFees,
|
|
24
|
+
AdjustmentFees$inboundSchema,
|
|
25
|
+
AdjustmentFees$Outbound,
|
|
26
|
+
AdjustmentFees$outboundSchema,
|
|
27
|
+
} from "./adjustmentfees.js";
|
|
22
28
|
import {
|
|
23
29
|
BillingSummary,
|
|
24
30
|
BillingSummary$inboundSchema,
|
|
@@ -122,6 +128,10 @@ export type Statement = {
|
|
|
122
128
|
* Monthly partner costs that are charged separately and not included in residual subtotal (e.g. platform fees, minimums).
|
|
123
129
|
*/
|
|
124
130
|
partnerFees?: PartnerFees | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* A detailed breakdown of adjustment (correction) fees by fee name.
|
|
133
|
+
*/
|
|
134
|
+
adjustments?: AdjustmentFees | undefined;
|
|
125
135
|
/**
|
|
126
136
|
* The date and time the statement was created.
|
|
127
137
|
*/
|
|
@@ -153,6 +163,7 @@ export const Statement$inboundSchema: z.ZodType<
|
|
|
153
163
|
accountFees: types.optional(AccountFees$inboundSchema),
|
|
154
164
|
otherCardFees: types.optional(OtherCardFees$inboundSchema),
|
|
155
165
|
partnerFees: types.optional(PartnerFees$inboundSchema),
|
|
166
|
+
adjustments: types.optional(AdjustmentFees$inboundSchema),
|
|
156
167
|
createdOn: types.date(),
|
|
157
168
|
updatedOn: types.date(),
|
|
158
169
|
});
|
|
@@ -173,6 +184,7 @@ export type Statement$Outbound = {
|
|
|
173
184
|
accountFees?: AccountFees$Outbound | undefined;
|
|
174
185
|
otherCardFees?: OtherCardFees$Outbound | undefined;
|
|
175
186
|
partnerFees?: PartnerFees$Outbound | undefined;
|
|
187
|
+
adjustments?: AdjustmentFees$Outbound | undefined;
|
|
176
188
|
createdOn: string;
|
|
177
189
|
updatedOn: string;
|
|
178
190
|
};
|
|
@@ -198,6 +210,7 @@ export const Statement$outboundSchema: z.ZodType<
|
|
|
198
210
|
accountFees: AccountFees$outboundSchema.optional(),
|
|
199
211
|
otherCardFees: OtherCardFees$outboundSchema.optional(),
|
|
200
212
|
partnerFees: PartnerFees$outboundSchema.optional(),
|
|
213
|
+
adjustments: AdjustmentFees$outboundSchema.optional(),
|
|
201
214
|
createdOn: z.date().transform(v => v.toISOString()),
|
|
202
215
|
updatedOn: z.date().transform(v => v.toISOString()),
|
|
203
216
|
});
|
|
@@ -27,14 +27,14 @@ export type SweepConfig = {
|
|
|
27
27
|
* The payment method used to push or pull funds to a bank account.
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* The push payment method can only be ach-credit-standard, ach-credit-same-day, or
|
|
30
|
+
* The push payment method can only be ach-credit-standard, ach-credit-same-day, rtp-credit, or instant-bank-credit (API v2026.01.00 and later). The pull payment method can only be ach-debit-fund.
|
|
31
31
|
*/
|
|
32
32
|
pushPaymentMethod: SweepConfigPaymentMethod;
|
|
33
33
|
/**
|
|
34
34
|
* The payment method used to push or pull funds to a bank account.
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
* The push payment method can only be ach-credit-standard, ach-credit-same-day, or
|
|
37
|
+
* The push payment method can only be ach-credit-standard, ach-credit-same-day, rtp-credit, or instant-bank-credit (API v2026.01.00 and later). The pull payment method can only be ach-debit-fund.
|
|
38
38
|
*/
|
|
39
39
|
pullPaymentMethod: SweepConfigPaymentMethod;
|
|
40
40
|
/**
|
|
@@ -12,7 +12,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
* The payment method used to push or pull funds to a bank account.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* The push payment method can only be ach-credit-standard, ach-credit-same-day, or
|
|
15
|
+
* The push payment method can only be ach-credit-standard, ach-credit-same-day, rtp-credit, or instant-bank-credit (API v2026.01.00 and later). The pull payment method can only be ach-debit-fund.
|
|
16
16
|
*/
|
|
17
17
|
export type SweepConfigPaymentMethod = {
|
|
18
18
|
/**
|
|
@@ -55,6 +55,12 @@ import {
|
|
|
55
55
|
TransferAmountDetails$Outbound,
|
|
56
56
|
TransferAmountDetails$outboundSchema,
|
|
57
57
|
} from "./transferamountdetails.js";
|
|
58
|
+
import {
|
|
59
|
+
TransferCapture,
|
|
60
|
+
TransferCapture$inboundSchema,
|
|
61
|
+
TransferCapture$Outbound,
|
|
62
|
+
TransferCapture$outboundSchema,
|
|
63
|
+
} from "./transfercapture.js";
|
|
58
64
|
import {
|
|
59
65
|
TransferDestination,
|
|
60
66
|
TransferDestination$inboundSchema,
|
|
@@ -101,6 +107,14 @@ export type Transfer = {
|
|
|
101
107
|
* Reason for a transfer's failure.
|
|
102
108
|
*/
|
|
103
109
|
failureReason?: TransferFailureReason | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Amount associated with this transfer.
|
|
112
|
+
*
|
|
113
|
+
* @remarks
|
|
114
|
+
* In v2026.10 and later, an auth-capture `card-payment` transfer reports the approved authorization amount until a final capture is created.
|
|
115
|
+
* For these transfers, when a final capture is created, this is updated to the cumulative captured amount.
|
|
116
|
+
* For other transfer types, this is the transfer amount.
|
|
117
|
+
*/
|
|
104
118
|
amount: Amount;
|
|
105
119
|
/**
|
|
106
120
|
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
@@ -159,6 +173,10 @@ export type Transfer = {
|
|
|
159
173
|
*/
|
|
160
174
|
invoiceID?: string | undefined;
|
|
161
175
|
amountDetails?: TransferAmountDetails | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* The card authorization and capture IDs associated with a transfer.
|
|
178
|
+
*/
|
|
179
|
+
capture?: TransferCapture | undefined;
|
|
162
180
|
};
|
|
163
181
|
|
|
164
182
|
/** @internal */
|
|
@@ -196,6 +214,7 @@ export const Transfer$inboundSchema: z.ZodType<
|
|
|
196
214
|
lineItems: types.optional(TransferLineItems$inboundSchema),
|
|
197
215
|
invoiceID: types.optional(types.string()),
|
|
198
216
|
amountDetails: types.optional(TransferAmountDetails$inboundSchema),
|
|
217
|
+
capture: types.optional(TransferCapture$inboundSchema),
|
|
199
218
|
});
|
|
200
219
|
/** @internal */
|
|
201
220
|
export type Transfer$Outbound = {
|
|
@@ -228,6 +247,7 @@ export type Transfer$Outbound = {
|
|
|
228
247
|
lineItems?: TransferLineItems$Outbound | undefined;
|
|
229
248
|
invoiceID?: string | undefined;
|
|
230
249
|
amountDetails?: TransferAmountDetails$Outbound | undefined;
|
|
250
|
+
capture?: TransferCapture$Outbound | undefined;
|
|
231
251
|
};
|
|
232
252
|
|
|
233
253
|
/** @internal */
|
|
@@ -265,6 +285,7 @@ export const Transfer$outboundSchema: z.ZodType<
|
|
|
265
285
|
lineItems: TransferLineItems$outboundSchema.optional(),
|
|
266
286
|
invoiceID: z.string().optional(),
|
|
267
287
|
amountDetails: TransferAmountDetails$outboundSchema.optional(),
|
|
288
|
+
capture: TransferCapture$outboundSchema.optional(),
|
|
268
289
|
});
|
|
269
290
|
|
|
270
291
|
export function transferToJSON(transfer: Transfer): string {
|
|
@@ -0,0 +1,63 @@
|
|
|
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 * as types from "../../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* The card authorization and capture IDs associated with a transfer.
|
|
13
|
+
*/
|
|
14
|
+
export type TransferCapture = {
|
|
15
|
+
/**
|
|
16
|
+
* ID of the card authorization associated with this transfer.
|
|
17
|
+
*/
|
|
18
|
+
authorizationID: string;
|
|
19
|
+
/**
|
|
20
|
+
* ID of the card capture associated with this transfer.
|
|
21
|
+
*/
|
|
22
|
+
captureID: string;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const TransferCapture$inboundSchema: z.ZodType<
|
|
27
|
+
TransferCapture,
|
|
28
|
+
z.ZodTypeDef,
|
|
29
|
+
unknown
|
|
30
|
+
> = z.object({
|
|
31
|
+
authorizationID: types.string(),
|
|
32
|
+
captureID: types.string(),
|
|
33
|
+
});
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type TransferCapture$Outbound = {
|
|
36
|
+
authorizationID: string;
|
|
37
|
+
captureID: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const TransferCapture$outboundSchema: z.ZodType<
|
|
42
|
+
TransferCapture$Outbound,
|
|
43
|
+
z.ZodTypeDef,
|
|
44
|
+
TransferCapture
|
|
45
|
+
> = z.object({
|
|
46
|
+
authorizationID: z.string(),
|
|
47
|
+
captureID: z.string(),
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export function transferCaptureToJSON(
|
|
51
|
+
transferCapture: TransferCapture,
|
|
52
|
+
): string {
|
|
53
|
+
return JSON.stringify(TransferCapture$outboundSchema.parse(transferCapture));
|
|
54
|
+
}
|
|
55
|
+
export function transferCaptureFromJSON(
|
|
56
|
+
jsonString: string,
|
|
57
|
+
): SafeParseResult<TransferCapture, SDKValidationError> {
|
|
58
|
+
return safeParse(
|
|
59
|
+
jsonString,
|
|
60
|
+
(x) => TransferCapture$inboundSchema.parse(JSON.parse(x)),
|
|
61
|
+
`Failed to parse 'TransferCapture' from JSON`,
|
|
62
|
+
);
|
|
63
|
+
}
|
|
@@ -22,6 +22,7 @@ export type TransferPaymentMethodsWallet = {
|
|
|
22
22
|
* @remarks
|
|
23
23
|
* - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
24
24
|
* - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
25
|
+
* - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
25
26
|
*/
|
|
26
27
|
walletType: WalletType;
|
|
27
28
|
};
|
|
@@ -12,6 +12,12 @@ import {
|
|
|
12
12
|
UpdateIssuedCardState$inboundSchema,
|
|
13
13
|
UpdateIssuedCardState$outboundSchema,
|
|
14
14
|
} from "./updateissuedcardstate.js";
|
|
15
|
+
import {
|
|
16
|
+
UpdateIssuingControls,
|
|
17
|
+
UpdateIssuingControls$inboundSchema,
|
|
18
|
+
UpdateIssuingControls$Outbound,
|
|
19
|
+
UpdateIssuingControls$outboundSchema,
|
|
20
|
+
} from "./updateissuingcontrols.js";
|
|
15
21
|
|
|
16
22
|
export type BillingAddress = {
|
|
17
23
|
addressLine1?: string | undefined;
|
|
@@ -27,12 +33,18 @@ export type UpdateIssuedCard = {
|
|
|
27
33
|
* Updates the state of a Moov issued card.
|
|
28
34
|
*
|
|
29
35
|
* @remarks
|
|
36
|
+
* - `active`: Reactivates a frozen card so it can approve authorizations again.
|
|
37
|
+
* - `frozen`: Temporarily suspends the card so it cannot approve authorizations. A card can be moved between `frozen` and `active` at will until it is `closed`, which is a terminal state.
|
|
30
38
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
31
39
|
*/
|
|
32
40
|
state?: UpdateIssuedCardState | undefined;
|
|
33
41
|
nickname?: string | null | undefined;
|
|
34
42
|
metadata?: { [k: string]: string } | null | undefined;
|
|
35
43
|
billingAddress?: BillingAddress | null | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Mutable spend controls for the card.
|
|
46
|
+
*/
|
|
47
|
+
controls?: UpdateIssuingControls | undefined;
|
|
36
48
|
};
|
|
37
49
|
|
|
38
50
|
/** @internal */
|
|
@@ -96,6 +108,7 @@ export const UpdateIssuedCard$inboundSchema: z.ZodType<
|
|
|
96
108
|
metadata: z.nullable(z.record(types.string())).optional(),
|
|
97
109
|
billingAddress: z.nullable(z.lazy(() => BillingAddress$inboundSchema))
|
|
98
110
|
.optional(),
|
|
111
|
+
controls: types.optional(UpdateIssuingControls$inboundSchema),
|
|
99
112
|
});
|
|
100
113
|
/** @internal */
|
|
101
114
|
export type UpdateIssuedCard$Outbound = {
|
|
@@ -103,6 +116,7 @@ export type UpdateIssuedCard$Outbound = {
|
|
|
103
116
|
nickname?: string | null | undefined;
|
|
104
117
|
metadata?: { [k: string]: string } | null | undefined;
|
|
105
118
|
billingAddress?: BillingAddress$Outbound | null | undefined;
|
|
119
|
+
controls?: UpdateIssuingControls$Outbound | undefined;
|
|
106
120
|
};
|
|
107
121
|
|
|
108
122
|
/** @internal */
|
|
@@ -116,6 +130,7 @@ export const UpdateIssuedCard$outboundSchema: z.ZodType<
|
|
|
116
130
|
metadata: z.nullable(z.record(z.string())).optional(),
|
|
117
131
|
billingAddress: z.nullable(z.lazy(() => BillingAddress$outboundSchema))
|
|
118
132
|
.optional(),
|
|
133
|
+
controls: UpdateIssuingControls$outboundSchema.optional(),
|
|
119
134
|
});
|
|
120
135
|
|
|
121
136
|
export function updateIssuedCardToJSON(
|
|
@@ -9,15 +9,21 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
9
9
|
* Updates the state of a Moov issued card.
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
+
* - `active`: Reactivates a frozen card so it can approve authorizations again.
|
|
13
|
+
* - `frozen`: Temporarily suspends the card so it cannot approve authorizations. A card can be moved between `frozen` and `active` at will until it is `closed`, which is a terminal state.
|
|
12
14
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
13
15
|
*/
|
|
14
16
|
export const UpdateIssuedCardState = {
|
|
17
|
+
Active: "active",
|
|
18
|
+
Frozen: "frozen",
|
|
15
19
|
Closed: "closed",
|
|
16
20
|
} as const;
|
|
17
21
|
/**
|
|
18
22
|
* Updates the state of a Moov issued card.
|
|
19
23
|
*
|
|
20
24
|
* @remarks
|
|
25
|
+
* - `active`: Reactivates a frozen card so it can approve authorizations again.
|
|
26
|
+
* - `frozen`: Temporarily suspends the card so it cannot approve authorizations. A card can be moved between `frozen` and `active` at will until it is `closed`, which is a terminal state.
|
|
21
27
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
22
28
|
*/
|
|
23
29
|
export type UpdateIssuedCardState = ClosedEnum<typeof UpdateIssuedCardState>;
|