@moovio/sdk 26.10.0-dev.0 → 26.10.0-dev.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 +167 -68
- package/bin/mcp-server.js +2946 -1196
- package/bin/mcp-server.js.map +141 -85
- package/funcs/avatarsDelete.d.ts +23 -0
- package/funcs/avatarsDelete.d.ts.map +1 -0
- package/funcs/avatarsDelete.js +135 -0
- package/funcs/avatarsDelete.js.map +1 -0
- package/funcs/avatarsUpload.d.ts +23 -0
- package/funcs/avatarsUpload.d.ts.map +1 -0
- package/funcs/avatarsUpload.js +155 -0
- package/funcs/avatarsUpload.js.map +1 -0
- 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/productsList.js +1 -0
- package/funcs/productsList.js.map +1 -1
- package/funcs/productsListCategories.d.ts +14 -0
- package/funcs/productsListCategories.d.ts.map +1 -0
- package/funcs/productsListCategories.js +107 -0
- package/funcs/productsListCategories.js.map +1 -0
- package/funcs/transfersCreateCancellation.js +4 -1
- package/funcs/transfersCreateCancellation.js.map +1 -1
- package/funcs/transfersCreateCapture.d.ts +18 -0
- package/funcs/transfersCreateCapture.d.ts.map +1 -0
- package/funcs/transfersCreateCapture.js +132 -0
- package/funcs/transfersCreateCapture.js.map +1 -0
- package/funcs/transfersGetCapture.d.ts +17 -0
- package/funcs/transfersGetCapture.d.ts.map +1 -0
- package/funcs/transfersGetCapture.js +133 -0
- package/funcs/transfersGetCapture.js.map +1 -0
- package/funcs/transfersList.js +3 -0
- package/funcs/transfersList.js.map +1 -1
- package/funcs/transfersListCaptures.d.ts +17 -0
- package/funcs/transfersListCaptures.d.ts.map +1 -0
- package/funcs/transfersListCaptures.js +129 -0
- package/funcs/transfersListCaptures.js.map +1 -0
- package/hooks/oauth2scopes.d.ts +5 -0
- package/hooks/oauth2scopes.d.ts.map +1 -0
- package/hooks/oauth2scopes.js +6 -0
- package/hooks/oauth2scopes.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +16 -6
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/avatarsGet.js +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/institutionsSearch.js +1 -1
- package/mcp-server/tools/productsListCategories.d.ts +3 -0
- package/mcp-server/tools/productsListCategories.d.ts.map +1 -0
- package/mcp-server/tools/productsListCategories.js +24 -0
- package/mcp-server/tools/productsListCategories.js.map +1 -0
- package/mcp-server/tools/transfersCreateCapture.d.ts +8 -0
- package/mcp-server/tools/transfersCreateCapture.d.ts.map +1 -0
- package/mcp-server/tools/transfersCreateCapture.js +65 -0
- package/mcp-server/tools/transfersCreateCapture.js.map +1 -0
- package/mcp-server/tools/transfersGetCapture.d.ts +8 -0
- package/mcp-server/tools/transfersGetCapture.d.ts.map +1 -0
- package/mcp-server/tools/transfersGetCapture.js +65 -0
- package/mcp-server/tools/transfersGetCapture.js.map +1 -0
- package/mcp-server/tools/transfersListCaptures.d.ts +8 -0
- package/mcp-server/tools/transfersListCaptures.d.ts.map +1 -0
- package/mcp-server/tools/transfersListCaptures.js +65 -0
- package/mcp-server/tools/transfersListCaptures.js.map +1 -0
- package/models/components/achcreditoptions.d.ts +28 -0
- package/models/components/achcreditoptions.d.ts.map +1 -0
- package/models/components/achcreditoptions.js +64 -0
- package/models/components/achcreditoptions.js.map +1 -0
- package/models/components/achcredittransferprocessingdetails.d.ts +22 -0
- package/models/components/achcredittransferprocessingdetails.d.ts.map +1 -0
- package/models/components/achcredittransferprocessingdetails.js +64 -0
- package/models/components/achcredittransferprocessingdetails.js.map +1 -0
- package/models/components/achdebitoptions.d.ts +40 -0
- package/models/components/achdebitoptions.d.ts.map +1 -0
- package/models/components/{achtransactiondetails.js → achdebitoptions.js} +10 -34
- package/models/components/achdebitoptions.js.map +1 -0
- package/models/components/achdebittransferprocessingdetails.d.ts +22 -0
- package/models/components/achdebittransferprocessingdetails.d.ts.map +1 -0
- package/models/components/achdebittransferprocessingdetails.js +64 -0
- package/models/components/achdebittransferprocessingdetails.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/asynccreatedrefund.d.ts +8 -3
- package/models/components/asynccreatedrefund.d.ts.map +1 -1
- package/models/components/asynccreatedrefund.js +5 -3
- package/models/components/asynccreatedrefund.js.map +1 -1
- package/models/components/avataruploadrequest.d.ts +35 -0
- package/models/components/avataruploadrequest.d.ts.map +1 -0
- package/models/components/avataruploadrequest.js +88 -0
- package/models/components/avataruploadrequest.js.map +1 -0
- package/models/components/capabilityid.d.ts +1 -0
- package/models/components/capabilityid.d.ts.map +1 -1
- package/models/components/capabilityid.js +1 -0
- package/models/components/capabilityid.js.map +1 -1
- package/models/components/capture.d.ts +77 -0
- package/models/components/capture.d.ts.map +1 -0
- package/models/components/capture.js +85 -0
- package/models/components/capture.js.map +1 -0
- package/models/components/capturestatus.d.ts +16 -0
- package/models/components/capturestatus.d.ts.map +1 -0
- package/models/components/{refundcardstatus.js → capturestatus.js} +9 -8
- package/models/components/capturestatus.js.map +1 -0
- package/models/components/cardacquiringrefund.d.ts +11 -6
- package/models/components/cardacquiringrefund.d.ts.map +1 -1
- package/models/components/cardacquiringrefund.js +8 -6
- package/models/components/cardacquiringrefund.js.map +1 -1
- package/models/components/cardpaymentoptions.d.ts +31 -0
- package/models/components/cardpaymentoptions.d.ts.map +1 -0
- package/models/components/cardpaymentoptions.js +62 -0
- package/models/components/cardpaymentoptions.js.map +1 -0
- package/models/components/cardpaymentrefundprocessingdetails.d.ts +18 -0
- package/models/components/cardpaymentrefundprocessingdetails.d.ts.map +1 -0
- package/models/components/{refundcarddetails.js → cardpaymentrefundprocessingdetails.js} +10 -23
- package/models/components/cardpaymentrefundprocessingdetails.js.map +1 -0
- package/models/components/cardpaymenttransferprocessingdetails.d.ts +24 -0
- package/models/components/cardpaymenttransferprocessingdetails.d.ts.map +1 -0
- package/models/components/cardpaymenttransferprocessingdetails.js +66 -0
- package/models/components/cardpaymenttransferprocessingdetails.js.map +1 -0
- package/models/components/createcancellation.d.ts +18 -0
- package/models/components/createcancellation.d.ts.map +1 -0
- package/models/components/{cardacquiringdispute.js → createcancellation.js} +13 -17
- package/models/components/createcancellation.js.map +1 -0
- package/models/components/createcapture.d.ts +70 -0
- package/models/components/createcapture.d.ts.map +1 -0
- package/models/components/createcapture.js +78 -0
- package/models/components/createcapture.js.map +1 -0
- package/models/components/createdtransfer.d.ts +24 -23
- package/models/components/createdtransfer.d.ts.map +1 -1
- package/models/components/createdtransfer.js +21 -20
- package/models/components/createdtransfer.js.map +1 -1
- package/models/components/createrefund.d.ts +10 -4
- package/models/components/createrefund.d.ts.map +1 -1
- package/models/components/createrefund.js +5 -2
- package/models/components/createrefund.js.map +1 -1
- package/models/components/createreversal.d.ts +4 -3
- package/models/components/createreversal.d.ts.map +1 -1
- package/models/components/createreversal.js +3 -2
- package/models/components/createreversal.js.map +1 -1
- package/models/components/createtransfer.d.ts +13 -7
- package/models/components/createtransfer.d.ts.map +1 -1
- package/models/components/createtransfer.js +9 -6
- package/models/components/createtransfer.js.map +1 -1
- package/models/components/createtransferfacilitatorfee.d.ts +29 -0
- package/models/components/createtransferfacilitatorfee.d.ts.map +1 -0
- package/models/components/createtransferfacilitatorfee.js +62 -0
- package/models/components/createtransferfacilitatorfee.js.map +1 -0
- package/models/components/createtransferoptions.d.ts +3 -3
- package/models/components/createtransferoptions.d.ts.map +1 -1
- package/models/components/createtransferoptions.js +3 -3
- package/models/components/createtransferoptions.js.map +1 -1
- package/models/components/feepaidby.d.ts +18 -0
- package/models/components/feepaidby.d.ts.map +1 -0
- package/models/components/{achtransactionstatus.js → feepaidby.js} +8 -13
- package/models/components/feepaidby.js.map +1 -0
- package/models/components/fullissuedcard.d.ts +6 -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/incurredfee.d.ts +6 -0
- package/models/components/incurredfee.d.ts.map +1 -1
- package/models/components/incurredfee.js +3 -0
- package/models/components/incurredfee.js.map +1 -1
- package/models/components/index.d.ts +47 -9
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +47 -9
- package/models/components/index.js.map +1 -1
- package/models/components/instantbankcredittransferprocessingdetails.d.ts +31 -0
- package/models/components/instantbankcredittransferprocessingdetails.d.ts.map +1 -0
- package/models/components/{instantbanktransactiondetails.js → instantbankcredittransferprocessingdetails.js} +10 -21
- package/models/components/instantbankcredittransferprocessingdetails.js.map +1 -0
- package/models/components/issuedcard.d.ts +6 -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/issuedcontrols.d.ts +76 -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/{cardtransactionstatus.js → issuingcontrolsrestrictionmode.js} +8 -13
- package/models/components/issuingcontrolsrestrictionmode.js.map +1 -0
- package/models/components/issuingintervallimit.d.ts +9 -6
- package/models/components/issuingintervallimit.d.ts.map +1 -1
- package/models/components/issuingintervallimit.js +7 -4
- 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 +8 -3
- 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/moovfeedetails.d.ts +9 -8
- package/models/components/moovfeedetails.d.ts.map +1 -1
- package/models/components/moovfeedetails.js +9 -8
- package/models/components/moovfeedetails.js.map +1 -1
- package/models/components/paymentlinkpayoutdetails.d.ts +14 -0
- package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetails.js +3 -0
- package/models/components/paymentlinkpayoutdetails.js.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts +14 -0
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.js +3 -0
- 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/payoutdetailserror.d.ts +2 -0
- package/models/components/payoutdetailserror.d.ts.map +1 -1
- package/models/components/payoutdetailserror.js +2 -0
- package/models/components/payoutdetailserror.js.map +1 -1
- package/models/components/product.d.ts +6 -0
- package/models/components/product.d.ts.map +1 -1
- package/models/components/product.js +3 -0
- package/models/components/product.js.map +1 -1
- package/models/components/productcategories.d.ts +21 -0
- package/models/components/productcategories.d.ts.map +1 -0
- package/models/components/productcategories.js +59 -0
- package/models/components/productcategories.js.map +1 -0
- package/models/components/productcategory.d.ts +43 -0
- package/models/components/productcategory.d.ts.map +1 -0
- package/models/components/productcategory.js +67 -0
- package/models/components/productcategory.js.map +1 -0
- package/models/components/productrequest.d.ts +5 -0
- package/models/components/productrequest.d.ts.map +1 -1
- package/models/components/productrequest.js +2 -0
- package/models/components/productrequest.js.map +1 -1
- package/models/components/pullfromcardoptions.d.ts +31 -0
- package/models/components/pullfromcardoptions.d.ts.map +1 -0
- package/models/components/pullfromcardoptions.js +62 -0
- package/models/components/pullfromcardoptions.js.map +1 -0
- package/models/components/pullfromcardtransferprocessingdetails.d.ts +24 -0
- package/models/components/pullfromcardtransferprocessingdetails.d.ts.map +1 -0
- package/models/components/pullfromcardtransferprocessingdetails.js +66 -0
- package/models/components/pullfromcardtransferprocessingdetails.js.map +1 -0
- package/models/components/pushtocardoptions.d.ts +20 -0
- package/models/components/pushtocardoptions.d.ts.map +1 -0
- package/models/components/pushtocardoptions.js +59 -0
- package/models/components/pushtocardoptions.js.map +1 -0
- package/models/components/pushtocardtransferprocessingdetails.d.ts +24 -0
- package/models/components/pushtocardtransferprocessingdetails.d.ts.map +1 -0
- package/models/components/pushtocardtransferprocessingdetails.js +66 -0
- package/models/components/pushtocardtransferprocessingdetails.js.map +1 -0
- package/models/components/refundprocessingdetails.d.ts +18 -0
- package/models/components/refundprocessingdetails.d.ts.map +1 -0
- package/models/components/refundprocessingdetails.js +60 -0
- package/models/components/refundprocessingdetails.js.map +1 -0
- 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/transfer.d.ts +24 -23
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +21 -20
- package/models/components/transfer.js.map +1 -1
- package/models/components/transferauthorization.d.ts +28 -0
- package/models/components/transferauthorization.d.ts.map +1 -0
- package/models/components/transferauthorization.js +70 -0
- package/models/components/transferauthorization.js.map +1 -0
- package/models/components/transferdestination.d.ts +6 -24
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +6 -15
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/transferfeepaidby.d.ts +24 -0
- package/models/components/transferfeepaidby.d.ts.map +1 -0
- package/models/components/transferfeepaidby.js +60 -0
- package/models/components/transferfeepaidby.js.map +1 -0
- 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/transferprocessingdetails.d.ts +33 -0
- package/models/components/transferprocessingdetails.d.ts.map +1 -0
- package/models/components/transferprocessingdetails.js +76 -0
- package/models/components/transferprocessingdetails.js.map +1 -0
- package/models/components/transferrailoptions.d.ts +30 -0
- package/models/components/transferrailoptions.d.ts.map +1 -0
- package/models/components/transferrailoptions.js +72 -0
- package/models/components/transferrailoptions.js.map +1 -0
- package/models/components/transfersource.d.ts +6 -18
- package/models/components/transfersource.d.ts.map +1 -1
- package/models/components/transfersource.js +6 -12
- package/models/components/transfersource.js.map +1 -1
- package/models/components/transferstatus.d.ts +1 -0
- package/models/components/transferstatus.d.ts.map +1 -1
- package/models/components/transferstatus.js +1 -0
- package/models/components/transferstatus.js.map +1 -1
- package/models/components/transfertype.d.ts +24 -0
- package/models/components/transfertype.d.ts.map +1 -0
- package/models/components/{instantbanktransactionstatus.js → transfertype.js} +14 -10
- package/models/components/transfertype.js.map +1 -0
- package/models/components/updateissuedcard.d.ts +6 -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/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/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/capturevalidationerror.d.ts +55 -0
- package/models/errors/capturevalidationerror.d.ts.map +1 -0
- package/models/errors/capturevalidationerror.js +117 -0
- package/models/errors/capturevalidationerror.js.map +1 -0
- package/models/errors/cardacquiringrefund.d.ts +15 -6
- package/models/errors/cardacquiringrefund.d.ts.map +1 -1
- package/models/errors/cardacquiringrefund.js +9 -6
- package/models/errors/cardacquiringrefund.js.map +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/productrequestvalidationerror.d.ts +3 -0
- package/models/errors/productrequestvalidationerror.d.ts.map +1 -1
- package/models/errors/productrequestvalidationerror.js +4 -0
- package/models/errors/productrequestvalidationerror.js.map +1 -1
- package/models/errors/transfer.d.ts +30 -30
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js +21 -25
- 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/createcancellation.d.ts +2 -0
- package/models/operations/createcancellation.d.ts.map +1 -1
- package/models/operations/createcancellation.js +10 -0
- package/models/operations/createcancellation.js.map +1 -1
- package/models/operations/createcapture.d.ts +52 -0
- package/models/operations/createcapture.d.ts.map +1 -0
- package/models/operations/createcapture.js +105 -0
- package/models/operations/createcapture.js.map +1 -0
- package/models/operations/createreversal.d.ts +2 -2
- package/models/operations/createreversal.d.ts.map +1 -1
- package/models/operations/createreversal.js +2 -2
- package/models/operations/createreversal.js.map +1 -1
- package/models/operations/deleteavatar.d.ts +52 -0
- package/models/operations/deleteavatar.d.ts.map +1 -0
- package/models/operations/deleteavatar.js +102 -0
- package/models/operations/deleteavatar.js.map +1 -0
- package/models/operations/getcapture.d.ts +50 -0
- package/models/operations/getcapture.d.ts.map +1 -0
- package/models/operations/getcapture.js +93 -0
- package/models/operations/getcapture.js.map +1 -0
- package/models/operations/index.d.ts +7 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +7 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/initiaterefund.d.ts +2 -2
- package/models/operations/initiaterefund.d.ts.map +1 -1
- package/models/operations/initiaterefund.js +2 -2
- package/models/operations/initiaterefund.js.map +1 -1
- package/models/operations/listcaptures.d.ts +45 -0
- package/models/operations/listcaptures.d.ts.map +1 -0
- package/models/operations/listcaptures.js +91 -0
- package/models/operations/listcaptures.js.map +1 -0
- 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/listproductcategories.d.ts +24 -0
- package/models/operations/listproductcategories.d.ts.map +1 -0
- package/models/operations/listproductcategories.js +72 -0
- package/models/operations/listproductcategories.js.map +1 -0
- package/models/operations/listproducts.d.ts +9 -0
- package/models/operations/listproducts.d.ts.map +1 -1
- package/models/operations/listproducts.js +2 -0
- package/models/operations/listproducts.js.map +1 -1
- package/models/operations/listtransfers.d.ts +15 -0
- package/models/operations/listtransfers.d.ts.map +1 -1
- package/models/operations/listtransfers.js +6 -0
- package/models/operations/listtransfers.js.map +1 -1
- package/models/operations/uploadavatar.d.ts +55 -0
- package/models/operations/uploadavatar.d.ts.map +1 -0
- package/models/operations/uploadavatar.js +113 -0
- package/models/operations/uploadavatar.js.map +1 -0
- package/package.json +1 -1
- package/sdk/avatars.d.ts +24 -0
- package/sdk/avatars.d.ts.map +1 -1
- package/sdk/avatars.js +30 -0
- package/sdk/avatars.js.map +1 -1
- package/sdk/cardissuing.d.ts +9 -0
- package/sdk/cardissuing.d.ts.map +1 -1
- package/sdk/cardissuing.js +12 -0
- package/sdk/cardissuing.js.map +1 -1
- package/sdk/products.d.ts +4 -0
- package/sdk/products.d.ts.map +1 -1
- package/sdk/products.js +7 -0
- package/sdk/products.js.map +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 +21 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +30 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/avatarsDelete.ts +194 -0
- package/src/funcs/avatarsUpload.ts +231 -0
- package/src/funcs/cardIssuingListMerchantCategories.ts +155 -0
- package/src/funcs/productsList.ts +1 -0
- package/src/funcs/productsListCategories.ts +149 -0
- package/src/funcs/transfersCreateCancellation.ts +5 -2
- package/src/funcs/transfersCreateCapture.ts +196 -0
- package/src/funcs/transfersGetCapture.ts +185 -0
- package/src/funcs/transfersList.ts +3 -0
- package/src/funcs/transfersListCaptures.ts +181 -0
- package/src/hooks/oauth2scopes.ts +8 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +16 -6
- package/src/mcp-server/tools/avatarsGet.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/institutionsSearch.ts +1 -1
- package/src/mcp-server/tools/productsListCategories.ts +29 -0
- package/src/mcp-server/tools/transfersCreateCapture.ts +38 -0
- package/src/mcp-server/tools/transfersGetCapture.ts +38 -0
- package/src/mcp-server/tools/transfersListCaptures.ts +38 -0
- package/src/models/components/achcreditoptions.ts +72 -0
- package/src/models/components/achcredittransferprocessingdetails.ts +69 -0
- package/src/models/components/achdebitoptions.ts +94 -0
- package/src/models/components/achdebittransferprocessingdetails.ts +68 -0
- package/src/models/components/allowedscheduleerror.ts +62 -0
- package/src/models/components/asynccreatedrefund.ts +16 -9
- package/src/models/components/avataruploadrequest.ts +113 -0
- package/src/models/components/capabilityid.ts +1 -0
- package/src/models/components/capture.ts +142 -0
- package/src/models/components/capturestatus.ts +30 -0
- package/src/models/components/cardacquiringrefund.ts +25 -18
- package/src/models/components/cardpaymentoptions.ts +72 -0
- package/src/models/components/cardpaymentrefundprocessingdetails.ts +60 -0
- package/src/models/components/cardpaymenttransferprocessingdetails.ts +72 -0
- package/src/models/components/createcancellation.ts +58 -0
- package/src/models/components/createcapture.ts +128 -0
- package/src/models/components/createdtransfer.ts +63 -58
- package/src/models/components/createrefund.ts +19 -6
- package/src/models/components/createreversal.ts +11 -5
- package/src/models/components/createtransfer.ts +32 -19
- package/src/models/components/createtransferfacilitatorfee.ts +73 -0
- package/src/models/components/createtransferoptions.ts +9 -9
- package/src/models/components/feepaidby.ts +32 -0
- package/src/models/components/fullissuedcard.ts +12 -9
- package/src/models/components/incurredfee.ts +12 -0
- package/src/models/components/index.ts +47 -9
- package/src/models/components/instantbankcredittransferprocessingdetails.ts +88 -0
- package/src/models/components/issuedcard.ts +12 -9
- package/src/models/components/issuedcontrols.ts +180 -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 +18 -10
- package/src/models/components/issuingmerchantcategory.ts +56 -0
- package/src/models/components/issuingscheduleday.ts +26 -0
- package/src/models/components/issuingvelocitylimit.ts +12 -5
- 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/moovfeedetails.ts +22 -16
- package/src/models/components/paymentlinkpayoutdetails.ts +16 -0
- package/src/models/components/paymentlinkpayoutdetailsupdate.ts +16 -0
- package/src/models/components/paymentmethodswallet.ts +1 -0
- package/src/models/components/payoutdetailserror.ts +4 -0
- package/src/models/components/product.ts +13 -0
- package/src/models/components/productcategories.ts +60 -0
- package/src/models/components/productcategory.ts +84 -0
- package/src/models/components/productrequest.ts +7 -0
- package/src/models/components/pullfromcardoptions.ts +72 -0
- package/src/models/components/pullfromcardtransferprocessingdetails.ts +72 -0
- package/src/models/components/pushtocardoptions.ts +55 -0
- package/src/models/components/pushtocardtransferprocessingdetails.ts +72 -0
- package/src/models/components/refundprocessingdetails.ts +58 -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/transfer.ts +63 -58
- package/src/models/components/transferauthorization.ts +78 -0
- package/src/models/components/transferdestination.ts +12 -53
- package/src/models/components/transferfeepaidby.ts +63 -0
- package/src/models/components/transferpaymentmethodswallet.ts +1 -0
- package/src/models/components/transferprocessingdetails.ts +117 -0
- package/src/models/components/transferrailoptions.ts +98 -0
- package/src/models/components/transfersource.ts +12 -38
- package/src/models/components/transferstatus.ts +1 -0
- package/src/models/components/transfertype.ts +38 -0
- package/src/models/components/updateissuedcard.ts +13 -0
- package/src/models/components/updateissuingcontrols.ts +351 -0
- package/src/models/components/updateissuingcontrolserror.ts +101 -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/capturevalidationerror.ts +145 -0
- package/src/models/errors/cardacquiringrefund.ts +23 -11
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/productrequestvalidationerror.ts +6 -0
- package/src/models/errors/transfer.ts +50 -55
- package/src/models/errors/updateissuedcarderror.ts +6 -0
- package/src/models/operations/createcancellation.ts +12 -0
- package/src/models/operations/createcapture.ts +142 -0
- package/src/models/operations/createreversal.ts +4 -4
- package/src/models/operations/deleteavatar.ts +154 -0
- package/src/models/operations/getcapture.ts +128 -0
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/initiaterefund.ts +4 -4
- package/src/models/operations/listcaptures.ts +121 -0
- package/src/models/operations/listissuingmerchantcategories.ts +70 -0
- package/src/models/operations/listproductcategories.ts +69 -0
- package/src/models/operations/listproducts.ts +11 -0
- package/src/models/operations/listtransfers.ts +21 -0
- package/src/models/operations/uploadavatar.ts +167 -0
- package/src/sdk/avatars.ts +50 -0
- package/src/sdk/cardissuing.ts +18 -0
- package/src/sdk/products.ts +13 -0
- package/src/sdk/sdk.ts +5 -5
- package/src/sdk/transfers.ts +54 -0
- package/models/components/achtransactiondetails.d.ts +0 -70
- package/models/components/achtransactiondetails.d.ts.map +0 -1
- package/models/components/achtransactiondetails.js.map +0 -1
- package/models/components/achtransactionstatus.d.ts +0 -23
- package/models/components/achtransactionstatus.d.ts.map +0 -1
- package/models/components/achtransactionstatus.js.map +0 -1
- package/models/components/cardacquiringdispute.d.ts +0 -25
- package/models/components/cardacquiringdispute.d.ts.map +0 -1
- package/models/components/cardacquiringdispute.js.map +0 -1
- package/models/components/cardtransactiondetails.d.ts +0 -79
- package/models/components/cardtransactiondetails.d.ts.map +0 -1
- package/models/components/cardtransactiondetails.js +0 -90
- package/models/components/cardtransactiondetails.js.map +0 -1
- package/models/components/cardtransactionstatus.d.ts +0 -23
- package/models/components/cardtransactionstatus.d.ts.map +0 -1
- package/models/components/cardtransactionstatus.js.map +0 -1
- package/models/components/instantbanktransactiondetails.d.ts +0 -51
- package/models/components/instantbanktransactiondetails.d.ts.map +0 -1
- package/models/components/instantbanktransactiondetails.js.map +0 -1
- package/models/components/instantbanktransactionstatus.d.ts +0 -20
- package/models/components/instantbanktransactionstatus.d.ts.map +0 -1
- package/models/components/instantbanktransactionstatus.js.map +0 -1
- package/models/components/refundcarddetails.d.ts +0 -31
- package/models/components/refundcarddetails.d.ts.map +0 -1
- package/models/components/refundcarddetails.js.map +0 -1
- package/models/components/refundcardstatus.d.ts +0 -15
- package/models/components/refundcardstatus.d.ts.map +0 -1
- package/models/components/refundcardstatus.js.map +0 -1
- package/src/models/components/achtransactiondetails.ts +0 -157
- package/src/models/components/achtransactionstatus.ts +0 -37
- package/src/models/components/cardacquiringdispute.ts +0 -69
- package/src/models/components/cardtransactiondetails.ts +0 -154
- package/src/models/components/cardtransactionstatus.ts +0 -37
- package/src/models/components/instantbanktransactiondetails.ts +0 -116
- package/src/models/components/instantbanktransactionstatus.ts +0 -36
- package/src/models/components/refundcarddetails.ts +0 -86
- package/src/models/components/refundcardstatus.ts +0 -29
|
@@ -7,6 +7,12 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import * as types from "../../types/primitives.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
AmountDecimal,
|
|
12
|
+
AmountDecimal$inboundSchema,
|
|
13
|
+
AmountDecimal$Outbound,
|
|
14
|
+
AmountDecimal$outboundSchema,
|
|
15
|
+
} from "./amountdecimal.js";
|
|
10
16
|
import {
|
|
11
17
|
RefundAmountDetails,
|
|
12
18
|
RefundAmountDetails$inboundSchema,
|
|
@@ -19,13 +25,17 @@ import {
|
|
|
19
25
|
*
|
|
20
26
|
* @remarks
|
|
21
27
|
*
|
|
22
|
-
*
|
|
28
|
+
* 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
29
|
*/
|
|
24
30
|
export type CreateRefund = {
|
|
25
31
|
/**
|
|
26
|
-
* Amount to refund in cents. If
|
|
32
|
+
* Amount to refund. Before v2026.10, specify the amount in integer cents. If omitted, the original transfer's full amount will be refunded.
|
|
33
|
+
*/
|
|
34
|
+
amount?: AmountDecimal | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* ID of the capture to refund. Required for multi-capture card payment transfers.
|
|
27
37
|
*/
|
|
28
|
-
|
|
38
|
+
captureID?: string | undefined;
|
|
29
39
|
/**
|
|
30
40
|
* Breakdown of the refunded amount.
|
|
31
41
|
*/
|
|
@@ -38,12 +48,14 @@ export const CreateRefund$inboundSchema: z.ZodType<
|
|
|
38
48
|
z.ZodTypeDef,
|
|
39
49
|
unknown
|
|
40
50
|
> = z.object({
|
|
41
|
-
amount: types.optional(
|
|
51
|
+
amount: types.optional(AmountDecimal$inboundSchema),
|
|
52
|
+
captureID: types.optional(types.string()),
|
|
42
53
|
amountDetails: types.optional(RefundAmountDetails$inboundSchema),
|
|
43
54
|
});
|
|
44
55
|
/** @internal */
|
|
45
56
|
export type CreateRefund$Outbound = {
|
|
46
|
-
amount?:
|
|
57
|
+
amount?: AmountDecimal$Outbound | undefined;
|
|
58
|
+
captureID?: string | undefined;
|
|
47
59
|
amountDetails?: RefundAmountDetails$Outbound | undefined;
|
|
48
60
|
};
|
|
49
61
|
|
|
@@ -53,7 +65,8 @@ export const CreateRefund$outboundSchema: z.ZodType<
|
|
|
53
65
|
z.ZodTypeDef,
|
|
54
66
|
CreateRefund
|
|
55
67
|
> = z.object({
|
|
56
|
-
amount:
|
|
68
|
+
amount: AmountDecimal$outboundSchema.optional(),
|
|
69
|
+
captureID: z.string().optional(),
|
|
57
70
|
amountDetails: RefundAmountDetails$outboundSchema.optional(),
|
|
58
71
|
});
|
|
59
72
|
|
|
@@ -7,6 +7,12 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import * as types from "../../types/primitives.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
AmountDecimal,
|
|
12
|
+
AmountDecimal$inboundSchema,
|
|
13
|
+
AmountDecimal$Outbound,
|
|
14
|
+
AmountDecimal$outboundSchema,
|
|
15
|
+
} from "./amountdecimal.js";
|
|
10
16
|
import {
|
|
11
17
|
ReversalAmountDetails,
|
|
12
18
|
ReversalAmountDetails$inboundSchema,
|
|
@@ -16,9 +22,9 @@ import {
|
|
|
16
22
|
|
|
17
23
|
export type CreateReversal = {
|
|
18
24
|
/**
|
|
19
|
-
* Amount to reverse in cents. Partial amounts
|
|
25
|
+
* Amount to reverse. Before v2026.10, specify the amount in integer cents. Partial amounts automatically trigger a refund instead of a cancellation.
|
|
20
26
|
*/
|
|
21
|
-
amount:
|
|
27
|
+
amount: AmountDecimal;
|
|
22
28
|
/**
|
|
23
29
|
* Breakdown of the reversed amount.
|
|
24
30
|
*/
|
|
@@ -31,12 +37,12 @@ export const CreateReversal$inboundSchema: z.ZodType<
|
|
|
31
37
|
z.ZodTypeDef,
|
|
32
38
|
unknown
|
|
33
39
|
> = z.object({
|
|
34
|
-
amount:
|
|
40
|
+
amount: AmountDecimal$inboundSchema,
|
|
35
41
|
amountDetails: types.optional(ReversalAmountDetails$inboundSchema),
|
|
36
42
|
});
|
|
37
43
|
/** @internal */
|
|
38
44
|
export type CreateReversal$Outbound = {
|
|
39
|
-
amount:
|
|
45
|
+
amount: AmountDecimal$Outbound;
|
|
40
46
|
amountDetails?: ReversalAmountDetails$Outbound | undefined;
|
|
41
47
|
};
|
|
42
48
|
|
|
@@ -46,7 +52,7 @@ export const CreateReversal$outboundSchema: z.ZodType<
|
|
|
46
52
|
z.ZodTypeDef,
|
|
47
53
|
CreateReversal
|
|
48
54
|
> = z.object({
|
|
49
|
-
amount:
|
|
55
|
+
amount: AmountDecimal$outboundSchema,
|
|
50
56
|
amountDetails: ReversalAmountDetails$outboundSchema.optional(),
|
|
51
57
|
});
|
|
52
58
|
|
|
@@ -8,11 +8,11 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import * as types from "../../types/primitives.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
11
|
+
AmountDecimal,
|
|
12
|
+
AmountDecimal$inboundSchema,
|
|
13
|
+
AmountDecimal$Outbound,
|
|
14
|
+
AmountDecimal$outboundSchema,
|
|
15
|
+
} from "./amountdecimal.js";
|
|
16
16
|
import {
|
|
17
17
|
CreateTransferAmountDetails,
|
|
18
18
|
CreateTransferAmountDetails$inboundSchema,
|
|
@@ -25,6 +25,12 @@ import {
|
|
|
25
25
|
CreateTransferDestination$Outbound,
|
|
26
26
|
CreateTransferDestination$outboundSchema,
|
|
27
27
|
} from "./createtransferdestination.js";
|
|
28
|
+
import {
|
|
29
|
+
CreateTransferFacilitatorFee,
|
|
30
|
+
CreateTransferFacilitatorFee$inboundSchema,
|
|
31
|
+
CreateTransferFacilitatorFee$Outbound,
|
|
32
|
+
CreateTransferFacilitatorFee$outboundSchema,
|
|
33
|
+
} from "./createtransferfacilitatorfee.js";
|
|
28
34
|
import {
|
|
29
35
|
CreateTransferLineItems,
|
|
30
36
|
CreateTransferLineItems$inboundSchema,
|
|
@@ -38,11 +44,11 @@ import {
|
|
|
38
44
|
CreateTransferSource$outboundSchema,
|
|
39
45
|
} from "./createtransfersource.js";
|
|
40
46
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
47
|
+
TransferFeePaidBy,
|
|
48
|
+
TransferFeePaidBy$inboundSchema,
|
|
49
|
+
TransferFeePaidBy$Outbound,
|
|
50
|
+
TransferFeePaidBy$outboundSchema,
|
|
51
|
+
} from "./transferfeepaidby.js";
|
|
46
52
|
|
|
47
53
|
export type CreateTransfer = {
|
|
48
54
|
/**
|
|
@@ -53,11 +59,11 @@ export type CreateTransfer = {
|
|
|
53
59
|
* The final stage of a transfer and the ultimate recipient of the funds.
|
|
54
60
|
*/
|
|
55
61
|
destination: CreateTransferDestination;
|
|
56
|
-
amount:
|
|
62
|
+
amount: AmountDecimal;
|
|
57
63
|
/**
|
|
58
|
-
* Total or markup fee.
|
|
64
|
+
* Total or markup fee to apply when creating a transfer.
|
|
59
65
|
*/
|
|
60
|
-
facilitatorFee?:
|
|
66
|
+
facilitatorFee?: CreateTransferFacilitatorFee | undefined;
|
|
61
67
|
/**
|
|
62
68
|
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
63
69
|
*/
|
|
@@ -78,6 +84,10 @@ export type CreateTransfer = {
|
|
|
78
84
|
*/
|
|
79
85
|
lineItems?: CreateTransferLineItems | undefined;
|
|
80
86
|
amountDetails?: CreateTransferAmountDetails | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* Indicates which party bears fees for the transfer, keyed by fee type.
|
|
89
|
+
*/
|
|
90
|
+
feePaidBy?: TransferFeePaidBy | undefined;
|
|
81
91
|
};
|
|
82
92
|
|
|
83
93
|
/** @internal */
|
|
@@ -88,25 +98,27 @@ export const CreateTransfer$inboundSchema: z.ZodType<
|
|
|
88
98
|
> = z.object({
|
|
89
99
|
source: CreateTransferSource$inboundSchema,
|
|
90
100
|
destination: CreateTransferDestination$inboundSchema,
|
|
91
|
-
amount:
|
|
92
|
-
facilitatorFee: types.optional(
|
|
101
|
+
amount: AmountDecimal$inboundSchema,
|
|
102
|
+
facilitatorFee: types.optional(CreateTransferFacilitatorFee$inboundSchema),
|
|
93
103
|
description: types.optional(types.string()),
|
|
94
104
|
metadata: types.optional(z.record(types.string())),
|
|
95
105
|
foreignID: types.optional(types.string()),
|
|
96
106
|
lineItems: types.optional(CreateTransferLineItems$inboundSchema),
|
|
97
107
|
amountDetails: types.optional(CreateTransferAmountDetails$inboundSchema),
|
|
108
|
+
feePaidBy: types.optional(TransferFeePaidBy$inboundSchema),
|
|
98
109
|
});
|
|
99
110
|
/** @internal */
|
|
100
111
|
export type CreateTransfer$Outbound = {
|
|
101
112
|
source: CreateTransferSource$Outbound;
|
|
102
113
|
destination: CreateTransferDestination$Outbound;
|
|
103
|
-
amount:
|
|
104
|
-
facilitatorFee?:
|
|
114
|
+
amount: AmountDecimal$Outbound;
|
|
115
|
+
facilitatorFee?: CreateTransferFacilitatorFee$Outbound | undefined;
|
|
105
116
|
description?: string | undefined;
|
|
106
117
|
metadata?: { [k: string]: string } | undefined;
|
|
107
118
|
foreignID?: string | undefined;
|
|
108
119
|
lineItems?: CreateTransferLineItems$Outbound | undefined;
|
|
109
120
|
amountDetails?: CreateTransferAmountDetails$Outbound | undefined;
|
|
121
|
+
feePaidBy?: TransferFeePaidBy$Outbound | undefined;
|
|
110
122
|
};
|
|
111
123
|
|
|
112
124
|
/** @internal */
|
|
@@ -117,13 +129,14 @@ export const CreateTransfer$outboundSchema: z.ZodType<
|
|
|
117
129
|
> = z.object({
|
|
118
130
|
source: CreateTransferSource$outboundSchema,
|
|
119
131
|
destination: CreateTransferDestination$outboundSchema,
|
|
120
|
-
amount:
|
|
121
|
-
facilitatorFee:
|
|
132
|
+
amount: AmountDecimal$outboundSchema,
|
|
133
|
+
facilitatorFee: CreateTransferFacilitatorFee$outboundSchema.optional(),
|
|
122
134
|
description: z.string().optional(),
|
|
123
135
|
metadata: z.record(z.string()).optional(),
|
|
124
136
|
foreignID: z.string().optional(),
|
|
125
137
|
lineItems: CreateTransferLineItems$outboundSchema.optional(),
|
|
126
138
|
amountDetails: CreateTransferAmountDetails$outboundSchema.optional(),
|
|
139
|
+
feePaidBy: TransferFeePaidBy$outboundSchema.optional(),
|
|
127
140
|
});
|
|
128
141
|
|
|
129
142
|
export function createTransferToJSON(createTransfer: CreateTransfer): string {
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
* Total or markup fee to apply when creating a transfer.
|
|
19
|
+
*/
|
|
20
|
+
export type CreateTransferFacilitatorFee = {
|
|
21
|
+
/**
|
|
22
|
+
* Total facilitator fee. Only either `total` or `markup` can be set.
|
|
23
|
+
*/
|
|
24
|
+
total?: AmountDecimal | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Markup facilitator fee. Only either `total` or `markup` can be set.
|
|
27
|
+
*/
|
|
28
|
+
markup?: AmountDecimal | undefined;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const CreateTransferFacilitatorFee$inboundSchema: z.ZodType<
|
|
33
|
+
CreateTransferFacilitatorFee,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
unknown
|
|
36
|
+
> = z.object({
|
|
37
|
+
total: types.optional(AmountDecimal$inboundSchema),
|
|
38
|
+
markup: types.optional(AmountDecimal$inboundSchema),
|
|
39
|
+
});
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type CreateTransferFacilitatorFee$Outbound = {
|
|
42
|
+
total?: AmountDecimal$Outbound | undefined;
|
|
43
|
+
markup?: AmountDecimal$Outbound | undefined;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const CreateTransferFacilitatorFee$outboundSchema: z.ZodType<
|
|
48
|
+
CreateTransferFacilitatorFee$Outbound,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
CreateTransferFacilitatorFee
|
|
51
|
+
> = z.object({
|
|
52
|
+
total: AmountDecimal$outboundSchema.optional(),
|
|
53
|
+
markup: AmountDecimal$outboundSchema.optional(),
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export function createTransferFacilitatorFeeToJSON(
|
|
57
|
+
createTransferFacilitatorFee: CreateTransferFacilitatorFee,
|
|
58
|
+
): string {
|
|
59
|
+
return JSON.stringify(
|
|
60
|
+
CreateTransferFacilitatorFee$outboundSchema.parse(
|
|
61
|
+
createTransferFacilitatorFee,
|
|
62
|
+
),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export function createTransferFacilitatorFeeFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<CreateTransferFacilitatorFee, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) => CreateTransferFacilitatorFee$inboundSchema.parse(JSON.parse(x)),
|
|
71
|
+
`Failed to parse 'CreateTransferFacilitatorFee' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -7,11 +7,11 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
10
|
+
AmountDecimal,
|
|
11
|
+
AmountDecimal$inboundSchema,
|
|
12
|
+
AmountDecimal$Outbound,
|
|
13
|
+
AmountDecimal$outboundSchema,
|
|
14
|
+
} from "./amountdecimal.js";
|
|
15
15
|
import {
|
|
16
16
|
SourceDestinationOptions,
|
|
17
17
|
SourceDestinationOptions$inboundSchema,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
export type CreateTransferOptions = {
|
|
23
23
|
source: SourceDestinationOptions;
|
|
24
24
|
destination: SourceDestinationOptions;
|
|
25
|
-
amount:
|
|
25
|
+
amount: AmountDecimal;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
/** @internal */
|
|
@@ -33,13 +33,13 @@ export const CreateTransferOptions$inboundSchema: z.ZodType<
|
|
|
33
33
|
> = z.object({
|
|
34
34
|
source: SourceDestinationOptions$inboundSchema,
|
|
35
35
|
destination: SourceDestinationOptions$inboundSchema,
|
|
36
|
-
amount:
|
|
36
|
+
amount: AmountDecimal$inboundSchema,
|
|
37
37
|
});
|
|
38
38
|
/** @internal */
|
|
39
39
|
export type CreateTransferOptions$Outbound = {
|
|
40
40
|
source: SourceDestinationOptions$Outbound;
|
|
41
41
|
destination: SourceDestinationOptions$Outbound;
|
|
42
|
-
amount:
|
|
42
|
+
amount: AmountDecimal$Outbound;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
/** @internal */
|
|
@@ -50,7 +50,7 @@ export const CreateTransferOptions$outboundSchema: z.ZodType<
|
|
|
50
50
|
> = z.object({
|
|
51
51
|
source: SourceDestinationOptions$outboundSchema,
|
|
52
52
|
destination: SourceDestinationOptions$outboundSchema,
|
|
53
|
-
amount:
|
|
53
|
+
amount: AmountDecimal$outboundSchema,
|
|
54
54
|
});
|
|
55
55
|
|
|
56
56
|
export function createTransferOptionsToJSON(
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Indicates which party to a money movement bears an incurred fee.
|
|
11
|
+
*/
|
|
12
|
+
export const FeePaidBy = {
|
|
13
|
+
Source: "source",
|
|
14
|
+
Destination: "destination",
|
|
15
|
+
} as const;
|
|
16
|
+
/**
|
|
17
|
+
* Indicates which party to a money movement bears an incurred fee.
|
|
18
|
+
*/
|
|
19
|
+
export type FeePaidBy = OpenEnum<typeof FeePaidBy>;
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const FeePaidBy$inboundSchema: z.ZodType<
|
|
23
|
+
FeePaidBy,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = openEnums.inboundSchema(FeePaidBy);
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const FeePaidBy$outboundSchema: z.ZodType<
|
|
29
|
+
string,
|
|
30
|
+
z.ZodTypeDef,
|
|
31
|
+
FeePaidBy
|
|
32
|
+
> = openEnums.outboundSchema(FeePaidBy);
|
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
IssuedCardState$outboundSchema,
|
|
36
36
|
} from "./issuedcardstate.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
38
|
+
IssuedControls,
|
|
39
|
+
IssuedControls$inboundSchema,
|
|
40
|
+
IssuedControls$Outbound,
|
|
41
|
+
IssuedControls$outboundSchema,
|
|
42
|
+
} from "./issuedcontrols.js";
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* The full details of an issued card, including PAN and CVV.
|
|
@@ -88,7 +88,10 @@ export type FullIssuedCard = {
|
|
|
88
88
|
* Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
|
|
89
89
|
*/
|
|
90
90
|
formFactor: IssuedCardFormFactor;
|
|
91
|
-
|
|
91
|
+
/**
|
|
92
|
+
* Spend controls applied to an issued card, including velocity runtime state.
|
|
93
|
+
*/
|
|
94
|
+
controls?: IssuedControls | undefined;
|
|
92
95
|
createdOn: Date;
|
|
93
96
|
updatedOn: Date;
|
|
94
97
|
/**
|
|
@@ -118,7 +121,7 @@ export const FullIssuedCard$inboundSchema: z.ZodType<
|
|
|
118
121
|
billingAddress: types.optional(Address$inboundSchema),
|
|
119
122
|
state: IssuedCardState$inboundSchema,
|
|
120
123
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
121
|
-
controls: types.optional(
|
|
124
|
+
controls: types.optional(IssuedControls$inboundSchema),
|
|
122
125
|
createdOn: types.date(),
|
|
123
126
|
updatedOn: types.date(),
|
|
124
127
|
pan: types.string(),
|
|
@@ -137,7 +140,7 @@ export type FullIssuedCard$Outbound = {
|
|
|
137
140
|
billingAddress?: Address$Outbound | undefined;
|
|
138
141
|
state: string;
|
|
139
142
|
formFactor: string;
|
|
140
|
-
controls?:
|
|
143
|
+
controls?: IssuedControls$Outbound | undefined;
|
|
141
144
|
createdOn: string;
|
|
142
145
|
updatedOn: string;
|
|
143
146
|
pan: string;
|
|
@@ -161,7 +164,7 @@ export const FullIssuedCard$outboundSchema: z.ZodType<
|
|
|
161
164
|
billingAddress: Address$outboundSchema.optional(),
|
|
162
165
|
state: IssuedCardState$outboundSchema,
|
|
163
166
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
164
|
-
controls:
|
|
167
|
+
controls: IssuedControls$outboundSchema.optional(),
|
|
165
168
|
createdOn: z.date().transform(v => v.toISOString()),
|
|
166
169
|
updatedOn: z.date().transform(v => v.toISOString()),
|
|
167
170
|
pan: z.string(),
|
|
@@ -13,6 +13,11 @@ import {
|
|
|
13
13
|
AmountDecimal$Outbound,
|
|
14
14
|
AmountDecimal$outboundSchema,
|
|
15
15
|
} from "./amountdecimal.js";
|
|
16
|
+
import {
|
|
17
|
+
FeePaidBy,
|
|
18
|
+
FeePaidBy$inboundSchema,
|
|
19
|
+
FeePaidBy$outboundSchema,
|
|
20
|
+
} from "./feepaidby.js";
|
|
16
21
|
import {
|
|
17
22
|
GeneratedBy,
|
|
18
23
|
GeneratedBy$inboundSchema,
|
|
@@ -60,6 +65,10 @@ export type IncurredFee = {
|
|
|
60
65
|
* Unique identifier for this residual payment calculation.
|
|
61
66
|
*/
|
|
62
67
|
residualID?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* Indicates which party to the money movement bore this fee.
|
|
70
|
+
*/
|
|
71
|
+
feePaidBy?: FeePaidBy | undefined;
|
|
63
72
|
};
|
|
64
73
|
|
|
65
74
|
/** @internal */
|
|
@@ -77,6 +86,7 @@ export const IncurredFee$inboundSchema: z.ZodType<
|
|
|
77
86
|
generatedBy: types.optional(GeneratedBy$inboundSchema),
|
|
78
87
|
feeGroup: types.optional(types.string()),
|
|
79
88
|
residualID: types.optional(types.string()),
|
|
89
|
+
feePaidBy: types.optional(FeePaidBy$inboundSchema),
|
|
80
90
|
});
|
|
81
91
|
/** @internal */
|
|
82
92
|
export type IncurredFee$Outbound = {
|
|
@@ -89,6 +99,7 @@ export type IncurredFee$Outbound = {
|
|
|
89
99
|
generatedBy?: GeneratedBy$Outbound | undefined;
|
|
90
100
|
feeGroup?: string | undefined;
|
|
91
101
|
residualID?: string | undefined;
|
|
102
|
+
feePaidBy?: string | undefined;
|
|
92
103
|
};
|
|
93
104
|
|
|
94
105
|
/** @internal */
|
|
@@ -106,6 +117,7 @@ export const IncurredFee$outboundSchema: z.ZodType<
|
|
|
106
117
|
generatedBy: GeneratedBy$outboundSchema.optional(),
|
|
107
118
|
feeGroup: z.string().optional(),
|
|
108
119
|
residualID: z.string().optional(),
|
|
120
|
+
feePaidBy: FeePaidBy$outboundSchema.optional(),
|
|
109
121
|
});
|
|
110
122
|
|
|
111
123
|
export function incurredFeeToJSON(incurredFee: IncurredFee): string {
|