@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
|
@@ -13,7 +13,7 @@ const args = {
|
|
|
13
13
|
export const tool$transfersListCancellations: ToolDefinition<typeof args> = {
|
|
14
14
|
name: "transfers-list-cancellations",
|
|
15
15
|
description: ` Get a list of cancellations for a transfer.
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
18
18
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
19
19
|
args,
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
BillingAdjustment,
|
|
11
|
+
BillingAdjustment$inboundSchema,
|
|
12
|
+
BillingAdjustment$Outbound,
|
|
13
|
+
BillingAdjustment$outboundSchema,
|
|
14
|
+
} from "./billingadjustment.js";
|
|
15
|
+
import {
|
|
16
|
+
BillingCountAndAmount,
|
|
17
|
+
BillingCountAndAmount$inboundSchema,
|
|
18
|
+
BillingCountAndAmount$Outbound,
|
|
19
|
+
BillingCountAndAmount$outboundSchema,
|
|
20
|
+
} from "./billingcountandamount.js";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A detailed breakdown of adjustment (correction) fees by fee name.
|
|
24
|
+
*/
|
|
25
|
+
export type AdjustmentFees = {
|
|
26
|
+
/**
|
|
27
|
+
* Adjustment fees grouped by fee name.
|
|
28
|
+
*/
|
|
29
|
+
items: Array<BillingAdjustment>;
|
|
30
|
+
/**
|
|
31
|
+
* Total adjustment fees.
|
|
32
|
+
*/
|
|
33
|
+
total: BillingCountAndAmount;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const AdjustmentFees$inboundSchema: z.ZodType<
|
|
38
|
+
AdjustmentFees,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
unknown
|
|
41
|
+
> = z.object({
|
|
42
|
+
items: z.array(BillingAdjustment$inboundSchema),
|
|
43
|
+
total: BillingCountAndAmount$inboundSchema,
|
|
44
|
+
});
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type AdjustmentFees$Outbound = {
|
|
47
|
+
items: Array<BillingAdjustment$Outbound>;
|
|
48
|
+
total: BillingCountAndAmount$Outbound;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const AdjustmentFees$outboundSchema: z.ZodType<
|
|
53
|
+
AdjustmentFees$Outbound,
|
|
54
|
+
z.ZodTypeDef,
|
|
55
|
+
AdjustmentFees
|
|
56
|
+
> = z.object({
|
|
57
|
+
items: z.array(BillingAdjustment$outboundSchema),
|
|
58
|
+
total: BillingCountAndAmount$outboundSchema,
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
export function adjustmentFeesToJSON(adjustmentFees: AdjustmentFees): string {
|
|
62
|
+
return JSON.stringify(AdjustmentFees$outboundSchema.parse(adjustmentFees));
|
|
63
|
+
}
|
|
64
|
+
export function adjustmentFeesFromJSON(
|
|
65
|
+
jsonString: string,
|
|
66
|
+
): SafeParseResult<AdjustmentFees, SDKValidationError> {
|
|
67
|
+
return safeParse(
|
|
68
|
+
jsonString,
|
|
69
|
+
(x) => AdjustmentFees$inboundSchema.parse(JSON.parse(x)),
|
|
70
|
+
`Failed to parse 'AdjustmentFees' from JSON`,
|
|
71
|
+
);
|
|
72
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
ScheduleWindowError,
|
|
12
|
+
ScheduleWindowError$inboundSchema,
|
|
13
|
+
ScheduleWindowError$Outbound,
|
|
14
|
+
ScheduleWindowError$outboundSchema,
|
|
15
|
+
} from "./schedulewindowerror.js";
|
|
16
|
+
|
|
17
|
+
export type AllowedScheduleError = {
|
|
18
|
+
timezone?: string | undefined;
|
|
19
|
+
windows?: { [k: string]: ScheduleWindowError } | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const AllowedScheduleError$inboundSchema: z.ZodType<
|
|
24
|
+
AllowedScheduleError,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
timezone: types.optional(types.string()),
|
|
29
|
+
windows: types.optional(z.record(ScheduleWindowError$inboundSchema)),
|
|
30
|
+
});
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type AllowedScheduleError$Outbound = {
|
|
33
|
+
timezone?: string | undefined;
|
|
34
|
+
windows?: { [k: string]: ScheduleWindowError$Outbound } | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const AllowedScheduleError$outboundSchema: z.ZodType<
|
|
39
|
+
AllowedScheduleError$Outbound,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
AllowedScheduleError
|
|
42
|
+
> = z.object({
|
|
43
|
+
timezone: z.string().optional(),
|
|
44
|
+
windows: z.record(ScheduleWindowError$outboundSchema).optional(),
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export function allowedScheduleErrorToJSON(
|
|
48
|
+
allowedScheduleError: AllowedScheduleError,
|
|
49
|
+
): string {
|
|
50
|
+
return JSON.stringify(
|
|
51
|
+
AllowedScheduleError$outboundSchema.parse(allowedScheduleError),
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
export function allowedScheduleErrorFromJSON(
|
|
55
|
+
jsonString: string,
|
|
56
|
+
): SafeParseResult<AllowedScheduleError, SDKValidationError> {
|
|
57
|
+
return safeParse(
|
|
58
|
+
jsonString,
|
|
59
|
+
(x) => AllowedScheduleError$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
+
`Failed to parse 'AllowedScheduleError' from JSON`,
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -15,12 +15,10 @@ import {
|
|
|
15
15
|
} from "./amountdecimal.js";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* If either `minimum` or `maximum` is omitted, the range is "open" on that end:
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
21
|
*
|
|
22
|
-
* If either `minimum` or `maximum` is omitted, the range is "open" on that end:
|
|
23
|
-
*
|
|
24
22
|
* `minimum` specified: `amt >= minimum`
|
|
25
23
|
* `maximum` specified: `amt <= maximum`
|
|
26
24
|
* both specified: `minimum <= amt <= maximum`
|
|
@@ -15,12 +15,10 @@ import {
|
|
|
15
15
|
} from "./amountdecimalupdate.js";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* If either `minimum` or `maximum` is omitted, the range is "open" on that end:
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
21
|
*
|
|
22
|
-
* If either `minimum` or `maximum` is omitted, the range is "open" on that end:
|
|
23
|
-
*
|
|
24
22
|
* `minimum` specified: `amt >= minimum`
|
|
25
23
|
* `maximum` specified: `amt <= maximum`
|
|
26
24
|
* both specified: `minimum <= amt <= maximum`
|
|
@@ -30,7 +30,7 @@ export const ApplicationScope = {
|
|
|
30
30
|
FilesWrite: "files.write",
|
|
31
31
|
IssuedCardsRead: "issued-cards.read",
|
|
32
32
|
IssuedCardsWrite: "issued-cards.write",
|
|
33
|
-
|
|
33
|
+
IssuedCardsReadPrivate: "issued-cards.read-private",
|
|
34
34
|
PaymentMethodsRead: "payment-methods.read",
|
|
35
35
|
PingRead: "ping.read",
|
|
36
36
|
ProfileEnrichmentRead: "profile-enrichment.read",
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
AmountDecimal,
|
|
12
|
+
AmountDecimal$inboundSchema,
|
|
13
|
+
AmountDecimal$Outbound,
|
|
14
|
+
AmountDecimal$outboundSchema,
|
|
15
|
+
} from "./amountdecimal.js";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* An adjustment (correction) fee grouped by its statement line-item name.
|
|
19
|
+
*/
|
|
20
|
+
export type BillingAdjustment = {
|
|
21
|
+
/**
|
|
22
|
+
* The name of the adjustment fee, shown as the statement line item.
|
|
23
|
+
*/
|
|
24
|
+
feeName: string;
|
|
25
|
+
/**
|
|
26
|
+
* The number of adjustments with this fee name.
|
|
27
|
+
*/
|
|
28
|
+
count: number;
|
|
29
|
+
/**
|
|
30
|
+
* The total amount for this fee name. May be negative for a credit/refund.
|
|
31
|
+
*/
|
|
32
|
+
amount: AmountDecimal;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const BillingAdjustment$inboundSchema: z.ZodType<
|
|
37
|
+
BillingAdjustment,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
unknown
|
|
40
|
+
> = z.object({
|
|
41
|
+
feeName: types.string(),
|
|
42
|
+
count: types.number(),
|
|
43
|
+
amount: AmountDecimal$inboundSchema,
|
|
44
|
+
});
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type BillingAdjustment$Outbound = {
|
|
47
|
+
feeName: string;
|
|
48
|
+
count: number;
|
|
49
|
+
amount: AmountDecimal$Outbound;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const BillingAdjustment$outboundSchema: z.ZodType<
|
|
54
|
+
BillingAdjustment$Outbound,
|
|
55
|
+
z.ZodTypeDef,
|
|
56
|
+
BillingAdjustment
|
|
57
|
+
> = z.object({
|
|
58
|
+
feeName: z.string(),
|
|
59
|
+
count: z.number().int(),
|
|
60
|
+
amount: AmountDecimal$outboundSchema,
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
export function billingAdjustmentToJSON(
|
|
64
|
+
billingAdjustment: BillingAdjustment,
|
|
65
|
+
): string {
|
|
66
|
+
return JSON.stringify(
|
|
67
|
+
BillingAdjustment$outboundSchema.parse(billingAdjustment),
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
export function billingAdjustmentFromJSON(
|
|
71
|
+
jsonString: string,
|
|
72
|
+
): SafeParseResult<BillingAdjustment, SDKValidationError> {
|
|
73
|
+
return safeParse(
|
|
74
|
+
jsonString,
|
|
75
|
+
(x) => BillingAdjustment$inboundSchema.parse(JSON.parse(x)),
|
|
76
|
+
`Failed to parse 'BillingAdjustment' from JSON`,
|
|
77
|
+
);
|
|
78
|
+
}
|
|
@@ -111,11 +111,11 @@ export type BillingSummaryPlatformFees = {
|
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
|
-
* The total amount of adjustment fees. This field is deprecated and will be removed in a future release.
|
|
114
|
+
* The total amount of adjustment fees. This field is deprecated and will be removed in a future release. Use adjustments.total.
|
|
115
115
|
*
|
|
116
116
|
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
117
117
|
*/
|
|
118
|
-
export type
|
|
118
|
+
export type BillingSummaryAdjustmentFees = {
|
|
119
119
|
/**
|
|
120
120
|
* A 3-letter ISO 4217 currency code.
|
|
121
121
|
*/
|
|
@@ -177,11 +177,11 @@ export type BillingSummary = {
|
|
|
177
177
|
*/
|
|
178
178
|
accountFees?: BillingSummaryDetails | undefined;
|
|
179
179
|
/**
|
|
180
|
-
* The total amount of adjustment fees. This field is deprecated and will be removed in a future release.
|
|
180
|
+
* The total amount of adjustment fees. This field is deprecated and will be removed in a future release. Use adjustments.total.
|
|
181
181
|
*
|
|
182
182
|
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
183
183
|
*/
|
|
184
|
-
adjustmentFees?:
|
|
184
|
+
adjustmentFees?: BillingSummaryAdjustmentFees | undefined;
|
|
185
185
|
/**
|
|
186
186
|
* The total amount of other card fees. This field is deprecated and will be removed in a future release. Use summary.otherCardFees.
|
|
187
187
|
*
|
|
@@ -216,6 +216,10 @@ export type BillingSummary = {
|
|
|
216
216
|
* Final partner payment after deducting monthlyPartnerCosts.
|
|
217
217
|
*/
|
|
218
218
|
netPartnerPayment?: AmountDecimal | undefined;
|
|
219
|
+
/**
|
|
220
|
+
* Final partner payment after deducting monthlyPartnerCosts and any adjustments.
|
|
221
|
+
*/
|
|
222
|
+
totalNetPartnerPayment?: AmountDecimal | undefined;
|
|
219
223
|
};
|
|
220
224
|
|
|
221
225
|
/** @internal */
|
|
@@ -359,8 +363,8 @@ export function billingSummaryPlatformFeesFromJSON(
|
|
|
359
363
|
}
|
|
360
364
|
|
|
361
365
|
/** @internal */
|
|
362
|
-
export const
|
|
363
|
-
|
|
366
|
+
export const BillingSummaryAdjustmentFees$inboundSchema: z.ZodType<
|
|
367
|
+
BillingSummaryAdjustmentFees,
|
|
364
368
|
z.ZodTypeDef,
|
|
365
369
|
unknown
|
|
366
370
|
> = z.object({
|
|
@@ -368,31 +372,37 @@ export const AdjustmentFees$inboundSchema: z.ZodType<
|
|
|
368
372
|
valueDecimal: types.string(),
|
|
369
373
|
});
|
|
370
374
|
/** @internal */
|
|
371
|
-
export type
|
|
375
|
+
export type BillingSummaryAdjustmentFees$Outbound = {
|
|
372
376
|
currency: string;
|
|
373
377
|
valueDecimal: string;
|
|
374
378
|
};
|
|
375
379
|
|
|
376
380
|
/** @internal */
|
|
377
|
-
export const
|
|
378
|
-
|
|
381
|
+
export const BillingSummaryAdjustmentFees$outboundSchema: z.ZodType<
|
|
382
|
+
BillingSummaryAdjustmentFees$Outbound,
|
|
379
383
|
z.ZodTypeDef,
|
|
380
|
-
|
|
384
|
+
BillingSummaryAdjustmentFees
|
|
381
385
|
> = z.object({
|
|
382
386
|
currency: z.string(),
|
|
383
387
|
valueDecimal: z.string(),
|
|
384
388
|
});
|
|
385
389
|
|
|
386
|
-
export function
|
|
387
|
-
|
|
390
|
+
export function billingSummaryAdjustmentFeesToJSON(
|
|
391
|
+
billingSummaryAdjustmentFees: BillingSummaryAdjustmentFees,
|
|
392
|
+
): string {
|
|
393
|
+
return JSON.stringify(
|
|
394
|
+
BillingSummaryAdjustmentFees$outboundSchema.parse(
|
|
395
|
+
billingSummaryAdjustmentFees,
|
|
396
|
+
),
|
|
397
|
+
);
|
|
388
398
|
}
|
|
389
|
-
export function
|
|
399
|
+
export function billingSummaryAdjustmentFeesFromJSON(
|
|
390
400
|
jsonString: string,
|
|
391
|
-
): SafeParseResult<
|
|
401
|
+
): SafeParseResult<BillingSummaryAdjustmentFees, SDKValidationError> {
|
|
392
402
|
return safeParse(
|
|
393
403
|
jsonString,
|
|
394
|
-
(x) =>
|
|
395
|
-
`Failed to parse '
|
|
404
|
+
(x) => BillingSummaryAdjustmentFees$inboundSchema.parse(JSON.parse(x)),
|
|
405
|
+
`Failed to parse 'BillingSummaryAdjustmentFees' from JSON`,
|
|
396
406
|
);
|
|
397
407
|
}
|
|
398
408
|
|
|
@@ -447,7 +457,9 @@ export const BillingSummary$inboundSchema: z.ZodType<
|
|
|
447
457
|
z.lazy(() => BillingSummaryPlatformFees$inboundSchema),
|
|
448
458
|
),
|
|
449
459
|
accountFees: types.optional(BillingSummaryDetails$inboundSchema),
|
|
450
|
-
adjustmentFees: types.optional(
|
|
460
|
+
adjustmentFees: types.optional(
|
|
461
|
+
z.lazy(() => BillingSummaryAdjustmentFees$inboundSchema),
|
|
462
|
+
),
|
|
451
463
|
otherFees: types.optional(z.lazy(() => OtherFees$inboundSchema)),
|
|
452
464
|
otherCardFees: types.optional(BillingSummaryDetails$inboundSchema),
|
|
453
465
|
total: types.optional(AmountDecimal$inboundSchema),
|
|
@@ -456,6 +468,7 @@ export const BillingSummary$inboundSchema: z.ZodType<
|
|
|
456
468
|
residualSubtotal: types.optional(AmountDecimal$inboundSchema),
|
|
457
469
|
monthlyPartnerCosts: types.optional(PartnerFees$inboundSchema),
|
|
458
470
|
netPartnerPayment: types.optional(AmountDecimal$inboundSchema),
|
|
471
|
+
totalNetPartnerPayment: types.optional(AmountDecimal$inboundSchema),
|
|
459
472
|
});
|
|
460
473
|
/** @internal */
|
|
461
474
|
export type BillingSummary$Outbound = {
|
|
@@ -464,7 +477,7 @@ export type BillingSummary$Outbound = {
|
|
|
464
477
|
instantPayments?: BillingSummaryDetails$Outbound | undefined;
|
|
465
478
|
platformFees?: BillingSummaryPlatformFees$Outbound | undefined;
|
|
466
479
|
accountFees?: BillingSummaryDetails$Outbound | undefined;
|
|
467
|
-
adjustmentFees?:
|
|
480
|
+
adjustmentFees?: BillingSummaryAdjustmentFees$Outbound | undefined;
|
|
468
481
|
otherFees?: OtherFees$Outbound | undefined;
|
|
469
482
|
otherCardFees?: BillingSummaryDetails$Outbound | undefined;
|
|
470
483
|
total?: AmountDecimal$Outbound | undefined;
|
|
@@ -473,6 +486,7 @@ export type BillingSummary$Outbound = {
|
|
|
473
486
|
residualSubtotal?: AmountDecimal$Outbound | undefined;
|
|
474
487
|
monthlyPartnerCosts?: PartnerFees$Outbound | undefined;
|
|
475
488
|
netPartnerPayment?: AmountDecimal$Outbound | undefined;
|
|
489
|
+
totalNetPartnerPayment?: AmountDecimal$Outbound | undefined;
|
|
476
490
|
};
|
|
477
491
|
|
|
478
492
|
/** @internal */
|
|
@@ -487,7 +501,8 @@ export const BillingSummary$outboundSchema: z.ZodType<
|
|
|
487
501
|
platformFees: z.lazy(() => BillingSummaryPlatformFees$outboundSchema)
|
|
488
502
|
.optional(),
|
|
489
503
|
accountFees: BillingSummaryDetails$outboundSchema.optional(),
|
|
490
|
-
adjustmentFees: z.lazy(() =>
|
|
504
|
+
adjustmentFees: z.lazy(() => BillingSummaryAdjustmentFees$outboundSchema)
|
|
505
|
+
.optional(),
|
|
491
506
|
otherFees: z.lazy(() => OtherFees$outboundSchema).optional(),
|
|
492
507
|
otherCardFees: BillingSummaryDetails$outboundSchema.optional(),
|
|
493
508
|
total: AmountDecimal$outboundSchema.optional(),
|
|
@@ -496,6 +511,7 @@ export const BillingSummary$outboundSchema: z.ZodType<
|
|
|
496
511
|
residualSubtotal: AmountDecimal$outboundSchema.optional(),
|
|
497
512
|
monthlyPartnerCosts: PartnerFees$outboundSchema.optional(),
|
|
498
513
|
netPartnerPayment: AmountDecimal$outboundSchema.optional(),
|
|
514
|
+
totalNetPartnerPayment: AmountDecimal$outboundSchema.optional(),
|
|
499
515
|
});
|
|
500
516
|
|
|
501
517
|
export function billingSummaryToJSON(billingSummary: BillingSummary): string {
|
|
@@ -49,6 +49,12 @@ import {
|
|
|
49
49
|
TransferAmountDetails$Outbound,
|
|
50
50
|
TransferAmountDetails$outboundSchema,
|
|
51
51
|
} from "./transferamountdetails.js";
|
|
52
|
+
import {
|
|
53
|
+
TransferCapture,
|
|
54
|
+
TransferCapture$inboundSchema,
|
|
55
|
+
TransferCapture$Outbound,
|
|
56
|
+
TransferCapture$outboundSchema,
|
|
57
|
+
} from "./transfercapture.js";
|
|
52
58
|
import {
|
|
53
59
|
TransferDestination,
|
|
54
60
|
TransferDestination$inboundSchema,
|
|
@@ -92,6 +98,14 @@ export type CreatedTransfer = {
|
|
|
92
98
|
* Reason for a transfer's failure.
|
|
93
99
|
*/
|
|
94
100
|
failureReason?: TransferFailureReason | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* Amount associated with this transfer.
|
|
103
|
+
*
|
|
104
|
+
* @remarks
|
|
105
|
+
* In v2026.10 and later, an auth-capture `card-payment` transfer reports the approved authorization amount until a final capture is created.
|
|
106
|
+
* For these transfers, when a final capture is created, this is updated to the cumulative captured amount.
|
|
107
|
+
* For other transfer types, this is the transfer amount.
|
|
108
|
+
*/
|
|
95
109
|
amount?: Amount | undefined;
|
|
96
110
|
/**
|
|
97
111
|
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
@@ -139,6 +153,10 @@ export type CreatedTransfer = {
|
|
|
139
153
|
*/
|
|
140
154
|
lineItems?: TransferLineItems | undefined;
|
|
141
155
|
amountDetails?: TransferAmountDetails | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* The card authorization and capture IDs associated with a transfer.
|
|
158
|
+
*/
|
|
159
|
+
capture?: TransferCapture | undefined;
|
|
142
160
|
};
|
|
143
161
|
|
|
144
162
|
/** @internal */
|
|
@@ -174,6 +192,7 @@ export const CreatedTransfer$inboundSchema: z.ZodType<
|
|
|
174
192
|
foreignID: types.optional(types.string()),
|
|
175
193
|
lineItems: types.optional(TransferLineItems$inboundSchema),
|
|
176
194
|
amountDetails: types.optional(TransferAmountDetails$inboundSchema),
|
|
195
|
+
capture: types.optional(TransferCapture$inboundSchema),
|
|
177
196
|
});
|
|
178
197
|
/** @internal */
|
|
179
198
|
export type CreatedTransfer$Outbound = {
|
|
@@ -204,6 +223,7 @@ export type CreatedTransfer$Outbound = {
|
|
|
204
223
|
foreignID?: string | undefined;
|
|
205
224
|
lineItems?: TransferLineItems$Outbound | undefined;
|
|
206
225
|
amountDetails?: TransferAmountDetails$Outbound | undefined;
|
|
226
|
+
capture?: TransferCapture$Outbound | undefined;
|
|
207
227
|
};
|
|
208
228
|
|
|
209
229
|
/** @internal */
|
|
@@ -239,6 +259,7 @@ export const CreatedTransfer$outboundSchema: z.ZodType<
|
|
|
239
259
|
foreignID: z.string().optional(),
|
|
240
260
|
lineItems: TransferLineItems$outboundSchema.optional(),
|
|
241
261
|
amountDetails: TransferAmountDetails$outboundSchema.optional(),
|
|
262
|
+
capture: TransferCapture$outboundSchema.optional(),
|
|
242
263
|
});
|
|
243
264
|
|
|
244
265
|
export function createdTransferToJSON(
|
|
@@ -10,9 +10,23 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
|
|
11
11
|
export type CreateFeePlanAgreement = {
|
|
12
12
|
/**
|
|
13
|
-
* A unique identifier for a
|
|
13
|
+
* A unique identifier for a fee plan: the pricing terms, such as flat-rate or cost-plus, that an account
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* is charged under its fee plan agreement. Use GET /accounts/{accountID}/fee-plans to list the fee plans
|
|
17
|
+
* available to assign to a given account.
|
|
14
18
|
*/
|
|
15
19
|
planID: string;
|
|
20
|
+
/**
|
|
21
|
+
* The account's active fee plan agreement to supersede. When set, that agreement is terminated and
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* the new one takes its place in a single operation, so the account is never without an active fee
|
|
25
|
+
* plan agreement. This new agreement always receives a newly issued agreementID.
|
|
26
|
+
*
|
|
27
|
+
* Omit it if the account doesn't already have an active fee plan agreement.
|
|
28
|
+
*/
|
|
29
|
+
priorAgreementID?: string | undefined;
|
|
16
30
|
};
|
|
17
31
|
|
|
18
32
|
/** @internal */
|
|
@@ -22,10 +36,12 @@ export const CreateFeePlanAgreement$inboundSchema: z.ZodType<
|
|
|
22
36
|
unknown
|
|
23
37
|
> = z.object({
|
|
24
38
|
planID: types.string(),
|
|
39
|
+
priorAgreementID: types.optional(types.string()),
|
|
25
40
|
});
|
|
26
41
|
/** @internal */
|
|
27
42
|
export type CreateFeePlanAgreement$Outbound = {
|
|
28
43
|
planID: string;
|
|
44
|
+
priorAgreementID?: string | undefined;
|
|
29
45
|
};
|
|
30
46
|
|
|
31
47
|
/** @internal */
|
|
@@ -35,6 +51,7 @@ export const CreateFeePlanAgreement$outboundSchema: z.ZodType<
|
|
|
35
51
|
CreateFeePlanAgreement
|
|
36
52
|
> = z.object({
|
|
37
53
|
planID: z.string(),
|
|
54
|
+
priorAgreementID: z.string().optional(),
|
|
38
55
|
});
|
|
39
56
|
|
|
40
57
|
export function createFeePlanAgreementToJSON(
|
|
@@ -106,6 +106,9 @@ export type CreatePaymentLink = {
|
|
|
106
106
|
* Options for payment links used to collect payment.
|
|
107
107
|
*/
|
|
108
108
|
payment?: PaymentLinkPaymentDetails | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* Options for payout links used to send a payout.
|
|
111
|
+
*/
|
|
109
112
|
payout?: PaymentLinkPayoutDetails | undefined;
|
|
110
113
|
/**
|
|
111
114
|
* Options for a custom amount payment link. Mutually exclusive with `payment` and `payout`.
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
21
|
*
|
|
22
|
-
*
|
|
22
|
+
* Before v2026.10, this request body may be omitted. In v2026.10 and later, send an empty object to refund the full amount of the original transfer.
|
|
23
23
|
*/
|
|
24
24
|
export type CreateRefund = {
|
|
25
25
|
/**
|
|
26
|
-
* Amount to refund
|
|
26
|
+
* Amount to refund. If omitted, the original transfer's full amount will be refunded.
|
|
27
27
|
*/
|
|
28
28
|
amount?: number | undefined;
|
|
29
29
|
/**
|
|
@@ -16,7 +16,12 @@ import {
|
|
|
16
16
|
|
|
17
17
|
export type CreateReversal = {
|
|
18
18
|
/**
|
|
19
|
-
* Amount to reverse
|
|
19
|
+
* Amount to reverse.
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* Before v2026.10, specify the amount in integer cents.
|
|
23
|
+
* For supported auth-capture `card-payment` reversals in v2026.10 and later, a transfer with no captures uses the full `capturableAmount`.
|
|
24
|
+
* For those transfers with one final capture, a cancellation uses the full capture amount, while a refund may be partial.
|
|
20
25
|
*/
|
|
21
26
|
amount: number;
|
|
22
27
|
/**
|
|
@@ -85,7 +85,7 @@ export type CreateTransfer = {
|
|
|
85
85
|
lineItems?: CreateTransferLineItems | undefined;
|
|
86
86
|
amountDetails?: CreateTransferAmountDetails | undefined;
|
|
87
87
|
/**
|
|
88
|
-
* Indicates which party bears fees for
|
|
88
|
+
* Indicates which party bears fees for a transfer, keyed by fee type.
|
|
89
89
|
*/
|
|
90
90
|
feePaidBy?: TransferFeePaidBy | undefined;
|
|
91
91
|
};
|
|
@@ -13,7 +13,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
13
13
|
*/
|
|
14
14
|
export type FacilitatorFee = {
|
|
15
15
|
/**
|
|
16
|
-
* Total facilitator fee
|
|
16
|
+
* Total facilitator fee.
|
|
17
17
|
*/
|
|
18
18
|
total?: number | undefined;
|
|
19
19
|
/**
|
|
@@ -25,7 +25,7 @@ export type FacilitatorFee = {
|
|
|
25
25
|
*/
|
|
26
26
|
totalDecimal?: string | undefined;
|
|
27
27
|
/**
|
|
28
|
-
* Markup facilitator fee
|
|
28
|
+
* Markup facilitator fee.
|
|
29
29
|
*/
|
|
30
30
|
markup?: number | undefined;
|
|
31
31
|
/**
|
|
@@ -6,16 +6,10 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import * as openEnums from "../../types/enums.js";
|
|
7
7
|
import { OpenEnum } from "../../types/enums.js";
|
|
8
8
|
|
|
9
|
-
/**
|
|
10
|
-
* Indicates which party to a money movement bears an incurred fee.
|
|
11
|
-
*/
|
|
12
9
|
export const FeePaidBy = {
|
|
13
10
|
Source: "source",
|
|
14
11
|
Destination: "destination",
|
|
15
12
|
} as const;
|
|
16
|
-
/**
|
|
17
|
-
* Indicates which party to a money movement bears an incurred fee.
|
|
18
|
-
*/
|
|
19
13
|
export type FeePaidBy = OpenEnum<typeof FeePaidBy>;
|
|
20
14
|
|
|
21
15
|
/** @internal */
|
|
@@ -72,6 +72,14 @@ export type FeePlanAgreement = {
|
|
|
72
72
|
* Fixed recurring amount paid in the billing period regardless of usage.
|
|
73
73
|
*/
|
|
74
74
|
monthlyPlatformFee: MonthlyPlatformFee;
|
|
75
|
+
/**
|
|
76
|
+
* The agreement this one replaced. Only set when the agreement was created by replacing another.
|
|
77
|
+
*/
|
|
78
|
+
priorAgreementID?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* The date and time the prior agreement was terminated.
|
|
81
|
+
*/
|
|
82
|
+
priorAgreementTerminatedOn?: Date | undefined;
|
|
75
83
|
};
|
|
76
84
|
|
|
77
85
|
/** @internal */
|
|
@@ -91,6 +99,8 @@ export const FeePlanAgreement$inboundSchema: z.ZodType<
|
|
|
91
99
|
billableFees: z.array(BillableFee$inboundSchema),
|
|
92
100
|
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
93
101
|
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
|
|
102
|
+
priorAgreementID: types.optional(types.string()),
|
|
103
|
+
priorAgreementTerminatedOn: types.optional(types.date()),
|
|
94
104
|
});
|
|
95
105
|
/** @internal */
|
|
96
106
|
export type FeePlanAgreement$Outbound = {
|
|
@@ -105,6 +115,8 @@ export type FeePlanAgreement$Outbound = {
|
|
|
105
115
|
billableFees: Array<BillableFee$Outbound>;
|
|
106
116
|
minimumCommitment: MinimumCommitment$Outbound;
|
|
107
117
|
monthlyPlatformFee: MonthlyPlatformFee$Outbound;
|
|
118
|
+
priorAgreementID?: string | undefined;
|
|
119
|
+
priorAgreementTerminatedOn?: string | undefined;
|
|
108
120
|
};
|
|
109
121
|
|
|
110
122
|
/** @internal */
|
|
@@ -124,6 +136,9 @@ export const FeePlanAgreement$outboundSchema: z.ZodType<
|
|
|
124
136
|
billableFees: z.array(BillableFee$outboundSchema),
|
|
125
137
|
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
126
138
|
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
|
|
139
|
+
priorAgreementID: z.string().optional(),
|
|
140
|
+
priorAgreementTerminatedOn: z.date().transform(v => v.toISOString())
|
|
141
|
+
.optional(),
|
|
127
142
|
});
|
|
128
143
|
|
|
129
144
|
export function feePlanAgreementToJSON(
|