@moovio/sdk 26.10.0-dev.1 → 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 +111 -74
- package/bin/mcp-server.js +2581 -1158
- package/bin/mcp-server.js.map +120 -74
- 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/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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +14 -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/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/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 +7 -7
- package/models/components/createtransfer.d.ts.map +1 -1
- package/models/components/createtransfer.js +6 -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/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/index.d.ts +42 -9
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +42 -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/{achtransactionstatus.js → issuingcontrolsrestrictionmode.js} +8 -13
- 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/{instantbanktransactionstatus.js → issuingscheduleday.js} +13 -13
- 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/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/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/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/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/{cardtransactionstatus.js → transfertype.js} +14 -13
- 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/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/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 +4 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -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/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/package.json +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/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/cardIssuingListMerchantCategories.ts +155 -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/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +14 -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/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/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 +20 -20
- package/src/models/components/createtransferfacilitatorfee.ts +73 -0
- package/src/models/components/createtransferoptions.ts +9 -9
- package/src/models/components/fullissuedcard.ts +12 -9
- package/src/models/components/index.ts +42 -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 +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/moovfeedetails.ts +22 -16
- package/src/models/components/paymentmethodswallet.ts +1 -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/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/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/getcapture.ts +128 -0
- package/src/models/operations/index.ts +4 -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/listtransfers.ts +21 -0
- package/src/sdk/cardissuing.ts +18 -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
|
@@ -42,15 +42,18 @@ exports.createRefundFromJSON = createRefundFromJSON;
|
|
|
42
42
|
const z = __importStar(require("zod/v3"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
const types = __importStar(require("../../types/primitives.js"));
|
|
45
|
+
const amountdecimal_js_1 = require("./amountdecimal.js");
|
|
45
46
|
const refundamountdetails_js_1 = require("./refundamountdetails.js");
|
|
46
47
|
/** @internal */
|
|
47
48
|
exports.CreateRefund$inboundSchema = z.object({
|
|
48
|
-
amount: types.optional(
|
|
49
|
+
amount: types.optional(amountdecimal_js_1.AmountDecimal$inboundSchema),
|
|
50
|
+
captureID: types.optional(types.string()),
|
|
49
51
|
amountDetails: types.optional(refundamountdetails_js_1.RefundAmountDetails$inboundSchema),
|
|
50
52
|
});
|
|
51
53
|
/** @internal */
|
|
52
54
|
exports.CreateRefund$outboundSchema = z.object({
|
|
53
|
-
amount:
|
|
55
|
+
amount: amountdecimal_js_1.AmountDecimal$outboundSchema.optional(),
|
|
56
|
+
captureID: z.string().optional(),
|
|
54
57
|
amountDetails: refundamountdetails_js_1.RefundAmountDetails$outboundSchema.optional(),
|
|
55
58
|
});
|
|
56
59
|
function createRefundToJSON(createRefund) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createrefund.js","sourceRoot":"","sources":["../../src/models/components/createrefund.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"createrefund.js","sourceRoot":"","sources":["../../src/models/components/createrefund.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsEH,gDAEC;AACD,oDAQC;AA/ED,0CAA4B;AAC5B,qDAAiD;AAEjD,iEAAmD;AAEnD,yDAK4B;AAC5B,qEAKkC;AAwBlC,gBAAgB;AACH,QAAA,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,8CAA2B,CAAC;IACnD,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACzC,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,0DAAiC,CAAC;CACjE,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,+CAA4B,CAAC,QAAQ,EAAE;IAC/C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,aAAa,EAAE,2DAAkC,CAAC,QAAQ,EAAE;CAC7D,CAAC,CAAC;AAEH,SAAgB,kBAAkB,CAAC,YAA0B;IAC3D,OAAO,IAAI,CAAC,SAAS,CAAC,mCAA2B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;AACzE,CAAC;AACD,SAAgB,oBAAoB,CAClC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,0CAA0C,CAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { AmountDecimal, AmountDecimal$Outbound } from "./amountdecimal.js";
|
|
4
5
|
import { ReversalAmountDetails, ReversalAmountDetails$Outbound } from "./reversalamountdetails.js";
|
|
5
6
|
export type CreateReversal = {
|
|
6
7
|
/**
|
|
7
|
-
* Amount to reverse in cents. Partial amounts
|
|
8
|
+
* Amount to reverse. Before v2026.10, specify the amount in integer cents. Partial amounts automatically trigger a refund instead of a cancellation.
|
|
8
9
|
*/
|
|
9
|
-
amount:
|
|
10
|
+
amount: AmountDecimal;
|
|
10
11
|
/**
|
|
11
12
|
* Breakdown of the reversed amount.
|
|
12
13
|
*/
|
|
@@ -16,7 +17,7 @@ export type CreateReversal = {
|
|
|
16
17
|
export declare const CreateReversal$inboundSchema: z.ZodType<CreateReversal, z.ZodTypeDef, unknown>;
|
|
17
18
|
/** @internal */
|
|
18
19
|
export type CreateReversal$Outbound = {
|
|
19
|
-
amount:
|
|
20
|
+
amount: AmountDecimal$Outbound;
|
|
20
21
|
amountDetails?: ReversalAmountDetails$Outbound | undefined;
|
|
21
22
|
};
|
|
22
23
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createreversal.d.ts","sourceRoot":"","sources":["../../src/models/components/createreversal.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"createreversal.d.ts","sourceRoot":"","sources":["../../src/models/components/createreversal.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,qBAAqB,EAErB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,MAAM,EAAE,aAAa,CAAC;IACtB;;OAEG;IACH,aAAa,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,sBAAsB,CAAC;IAC/B,aAAa,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;CAC5D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,cAAc,CAId,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E;AACD,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
|
|
@@ -42,15 +42,16 @@ exports.createReversalFromJSON = createReversalFromJSON;
|
|
|
42
42
|
const z = __importStar(require("zod/v3"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
const types = __importStar(require("../../types/primitives.js"));
|
|
45
|
+
const amountdecimal_js_1 = require("./amountdecimal.js");
|
|
45
46
|
const reversalamountdetails_js_1 = require("./reversalamountdetails.js");
|
|
46
47
|
/** @internal */
|
|
47
48
|
exports.CreateReversal$inboundSchema = z.object({
|
|
48
|
-
amount:
|
|
49
|
+
amount: amountdecimal_js_1.AmountDecimal$inboundSchema,
|
|
49
50
|
amountDetails: types.optional(reversalamountdetails_js_1.ReversalAmountDetails$inboundSchema),
|
|
50
51
|
});
|
|
51
52
|
/** @internal */
|
|
52
53
|
exports.CreateReversal$outboundSchema = z.object({
|
|
53
|
-
amount:
|
|
54
|
+
amount: amountdecimal_js_1.AmountDecimal$outboundSchema,
|
|
54
55
|
amountDetails: reversalamountdetails_js_1.ReversalAmountDetails$outboundSchema.optional(),
|
|
55
56
|
});
|
|
56
57
|
function createReversalToJSON(createReversal) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createreversal.js","sourceRoot":"","sources":["../../src/models/components/createreversal.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"createreversal.js","sourceRoot":"","sources":["../../src/models/components/createreversal.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDH,oDAEC;AACD,wDAQC;AAjED,0CAA4B;AAC5B,qDAAiD;AAEjD,iEAAmD;AAEnD,yDAK4B;AAC5B,yEAKoC;AAapC,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,8CAA2B;IACnC,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,8DAAmC,CAAC;CACnE,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,+CAA4B;IACpC,aAAa,EAAE,+DAAoC,CAAC,QAAQ,EAAE;CAC/D,CAAC,CAAC;AAEH,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC;AACD,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import {
|
|
4
|
+
import { AmountDecimal, AmountDecimal$Outbound } from "./amountdecimal.js";
|
|
5
5
|
import { CreateTransferAmountDetails, CreateTransferAmountDetails$Outbound } from "./createtransferamountdetails.js";
|
|
6
6
|
import { CreateTransferDestination, CreateTransferDestination$Outbound } from "./createtransferdestination.js";
|
|
7
|
+
import { CreateTransferFacilitatorFee, CreateTransferFacilitatorFee$Outbound } from "./createtransferfacilitatorfee.js";
|
|
7
8
|
import { CreateTransferLineItems, CreateTransferLineItems$Outbound } from "./createtransferlineitems.js";
|
|
8
9
|
import { CreateTransferSource, CreateTransferSource$Outbound } from "./createtransfersource.js";
|
|
9
|
-
import { FacilitatorFee, FacilitatorFee$Outbound } from "./facilitatorfee.js";
|
|
10
10
|
import { TransferFeePaidBy, TransferFeePaidBy$Outbound } from "./transferfeepaidby.js";
|
|
11
11
|
export type CreateTransfer = {
|
|
12
12
|
/**
|
|
@@ -17,11 +17,11 @@ export type CreateTransfer = {
|
|
|
17
17
|
* The final stage of a transfer and the ultimate recipient of the funds.
|
|
18
18
|
*/
|
|
19
19
|
destination: CreateTransferDestination;
|
|
20
|
-
amount:
|
|
20
|
+
amount: AmountDecimal;
|
|
21
21
|
/**
|
|
22
|
-
* Total or markup fee.
|
|
22
|
+
* Total or markup fee to apply when creating a transfer.
|
|
23
23
|
*/
|
|
24
|
-
facilitatorFee?:
|
|
24
|
+
facilitatorFee?: CreateTransferFacilitatorFee | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
27
27
|
*/
|
|
@@ -55,8 +55,8 @@ export declare const CreateTransfer$inboundSchema: z.ZodType<CreateTransfer, z.Z
|
|
|
55
55
|
export type CreateTransfer$Outbound = {
|
|
56
56
|
source: CreateTransferSource$Outbound;
|
|
57
57
|
destination: CreateTransferDestination$Outbound;
|
|
58
|
-
amount:
|
|
59
|
-
facilitatorFee?:
|
|
58
|
+
amount: AmountDecimal$Outbound;
|
|
59
|
+
facilitatorFee?: CreateTransferFacilitatorFee$Outbound | undefined;
|
|
60
60
|
description?: string | undefined;
|
|
61
61
|
metadata?: {
|
|
62
62
|
[k: string]: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createtransfer.d.ts","sourceRoot":"","sources":["../../src/models/components/createtransfer.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,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3"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
const types = __importStar(require("../../types/primitives.js"));
|
|
45
|
-
const
|
|
45
|
+
const amountdecimal_js_1 = require("./amountdecimal.js");
|
|
46
46
|
const createtransferamountdetails_js_1 = require("./createtransferamountdetails.js");
|
|
47
47
|
const createtransferdestination_js_1 = require("./createtransferdestination.js");
|
|
48
|
+
const createtransferfacilitatorfee_js_1 = require("./createtransferfacilitatorfee.js");
|
|
48
49
|
const createtransferlineitems_js_1 = require("./createtransferlineitems.js");
|
|
49
50
|
const createtransfersource_js_1 = require("./createtransfersource.js");
|
|
50
|
-
const facilitatorfee_js_1 = require("./facilitatorfee.js");
|
|
51
51
|
const transferfeepaidby_js_1 = require("./transferfeepaidby.js");
|
|
52
52
|
/** @internal */
|
|
53
53
|
exports.CreateTransfer$inboundSchema = z.object({
|
|
54
54
|
source: createtransfersource_js_1.CreateTransferSource$inboundSchema,
|
|
55
55
|
destination: createtransferdestination_js_1.CreateTransferDestination$inboundSchema,
|
|
56
|
-
amount:
|
|
57
|
-
facilitatorFee: types.optional(
|
|
56
|
+
amount: amountdecimal_js_1.AmountDecimal$inboundSchema,
|
|
57
|
+
facilitatorFee: types.optional(createtransferfacilitatorfee_js_1.CreateTransferFacilitatorFee$inboundSchema),
|
|
58
58
|
description: types.optional(types.string()),
|
|
59
59
|
metadata: types.optional(z.record(types.string())),
|
|
60
60
|
foreignID: types.optional(types.string()),
|
|
@@ -66,8 +66,8 @@ exports.CreateTransfer$inboundSchema = z.object({
|
|
|
66
66
|
exports.CreateTransfer$outboundSchema = z.object({
|
|
67
67
|
source: createtransfersource_js_1.CreateTransferSource$outboundSchema,
|
|
68
68
|
destination: createtransferdestination_js_1.CreateTransferDestination$outboundSchema,
|
|
69
|
-
amount:
|
|
70
|
-
facilitatorFee:
|
|
69
|
+
amount: amountdecimal_js_1.AmountDecimal$outboundSchema,
|
|
70
|
+
facilitatorFee: createtransferfacilitatorfee_js_1.CreateTransferFacilitatorFee$outboundSchema.optional(),
|
|
71
71
|
description: z.string().optional(),
|
|
72
72
|
metadata: z.record(z.string()).optional(),
|
|
73
73
|
foreignID: z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createtransfer.js","sourceRoot":"","sources":["../../src/models/components/createtransfer.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2IH,oDAEC;AACD,wDAQC;AApJD,0CAA4B;AAC5B,qDAAiD;AAEjD,iEAAmD;AAEnD,
|
|
1
|
+
{"version":3,"file":"createtransfer.js","sourceRoot":"","sources":["../../src/models/components/createtransfer.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2IH,oDAEC;AACD,wDAQC;AApJD,0CAA4B;AAC5B,qDAAiD;AAEjD,iEAAmD;AAEnD,yDAK4B;AAC5B,qFAK0C;AAC1C,iFAKwC;AACxC,uFAK2C;AAC3C,6EAKsC;AACtC,uEAKmC;AACnC,iEAKgC;AA0ChC,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,4DAAkC;IAC1C,WAAW,EAAE,sEAAuC;IACpD,MAAM,EAAE,8CAA2B;IACnC,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,4EAA0C,CAAC;IAC1E,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC3C,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IAClD,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACzC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,kEAAqC,CAAC;IAChE,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,0EAAyC,CAAC;IACxE,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,sDAA+B,CAAC;CAC3D,CAAC,CAAC;AAeH,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,6DAAmC;IAC3C,WAAW,EAAE,uEAAwC;IACrD,MAAM,EAAE,+CAA4B;IACpC,cAAc,EAAE,6EAA2C,CAAC,QAAQ,EAAE;IACtE,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,mEAAsC,CAAC,QAAQ,EAAE;IAC5D,aAAa,EAAE,2EAA0C,CAAC,QAAQ,EAAE;IACpE,SAAS,EAAE,uDAAgC,CAAC,QAAQ,EAAE;CACvD,CAAC,CAAC;AAEH,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC;AACD,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { AmountDecimal, AmountDecimal$Outbound } from "./amountdecimal.js";
|
|
5
|
+
/**
|
|
6
|
+
* Total or markup fee to apply when creating a transfer.
|
|
7
|
+
*/
|
|
8
|
+
export type CreateTransferFacilitatorFee = {
|
|
9
|
+
/**
|
|
10
|
+
* Total facilitator fee. Only either `total` or `markup` can be set.
|
|
11
|
+
*/
|
|
12
|
+
total?: AmountDecimal | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Markup facilitator fee. Only either `total` or `markup` can be set.
|
|
15
|
+
*/
|
|
16
|
+
markup?: AmountDecimal | undefined;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const CreateTransferFacilitatorFee$inboundSchema: z.ZodType<CreateTransferFacilitatorFee, z.ZodTypeDef, unknown>;
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type CreateTransferFacilitatorFee$Outbound = {
|
|
22
|
+
total?: AmountDecimal$Outbound | undefined;
|
|
23
|
+
markup?: AmountDecimal$Outbound | undefined;
|
|
24
|
+
};
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare const CreateTransferFacilitatorFee$outboundSchema: z.ZodType<CreateTransferFacilitatorFee$Outbound, z.ZodTypeDef, CreateTransferFacilitatorFee>;
|
|
27
|
+
export declare function createTransferFacilitatorFeeToJSON(createTransferFacilitatorFee: CreateTransferFacilitatorFee): string;
|
|
28
|
+
export declare function createTransferFacilitatorFeeFromJSON(jsonString: string): SafeParseResult<CreateTransferFacilitatorFee, SDKValidationError>;
|
|
29
|
+
//# sourceMappingURL=createtransferfacilitatorfee.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createtransferfacilitatorfee.d.ts","sourceRoot":"","sources":["../../src/models/components/createtransferfacilitatorfee.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,KAAK,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC3C,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAI5B,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR;AACD,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreateTransferFacilitatorFee$outboundSchema = exports.CreateTransferFacilitatorFee$inboundSchema = void 0;
|
|
40
|
+
exports.createTransferFacilitatorFeeToJSON = createTransferFacilitatorFeeToJSON;
|
|
41
|
+
exports.createTransferFacilitatorFeeFromJSON = createTransferFacilitatorFeeFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const types = __importStar(require("../../types/primitives.js"));
|
|
45
|
+
const amountdecimal_js_1 = require("./amountdecimal.js");
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.CreateTransferFacilitatorFee$inboundSchema = z.object({
|
|
48
|
+
total: types.optional(amountdecimal_js_1.AmountDecimal$inboundSchema),
|
|
49
|
+
markup: types.optional(amountdecimal_js_1.AmountDecimal$inboundSchema),
|
|
50
|
+
});
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.CreateTransferFacilitatorFee$outboundSchema = z.object({
|
|
53
|
+
total: amountdecimal_js_1.AmountDecimal$outboundSchema.optional(),
|
|
54
|
+
markup: amountdecimal_js_1.AmountDecimal$outboundSchema.optional(),
|
|
55
|
+
});
|
|
56
|
+
function createTransferFacilitatorFeeToJSON(createTransferFacilitatorFee) {
|
|
57
|
+
return JSON.stringify(exports.CreateTransferFacilitatorFee$outboundSchema.parse(createTransferFacilitatorFee));
|
|
58
|
+
}
|
|
59
|
+
function createTransferFacilitatorFeeFromJSON(jsonString) {
|
|
60
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateTransferFacilitatorFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateTransferFacilitatorFee' from JSON`);
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=createtransferfacilitatorfee.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createtransferfacilitatorfee.js","sourceRoot":"","sources":["../../src/models/components/createtransferfacilitatorfee.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDH,gFAQC;AACD,oFAQC;AApED,0CAA4B;AAC5B,qDAAiD;AAEjD,iEAAmD;AAEnD,yDAK4B;AAgB5B,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,8CAA2B,CAAC;IAClD,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,8CAA2B,CAAC;CACpD,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,+CAA4B,CAAC,QAAQ,EAAE;IAC9C,MAAM,EAAE,+CAA4B,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC;AAEH,SAAgB,kCAAkC,CAChD,4BAA0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,mDAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,oCAAoC,CAClD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kDAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import {
|
|
4
|
+
import { AmountDecimal, AmountDecimal$Outbound } from "./amountdecimal.js";
|
|
5
5
|
import { SourceDestinationOptions, SourceDestinationOptions$Outbound } from "./sourcedestinationoptions.js";
|
|
6
6
|
export type CreateTransferOptions = {
|
|
7
7
|
source: SourceDestinationOptions;
|
|
8
8
|
destination: SourceDestinationOptions;
|
|
9
|
-
amount:
|
|
9
|
+
amount: AmountDecimal;
|
|
10
10
|
};
|
|
11
11
|
/** @internal */
|
|
12
12
|
export declare const CreateTransferOptions$inboundSchema: z.ZodType<CreateTransferOptions, z.ZodTypeDef, unknown>;
|
|
@@ -14,7 +14,7 @@ export declare const CreateTransferOptions$inboundSchema: z.ZodType<CreateTransf
|
|
|
14
14
|
export type CreateTransferOptions$Outbound = {
|
|
15
15
|
source: SourceDestinationOptions$Outbound;
|
|
16
16
|
destination: SourceDestinationOptions$Outbound;
|
|
17
|
-
amount:
|
|
17
|
+
amount: AmountDecimal$Outbound;
|
|
18
18
|
};
|
|
19
19
|
/** @internal */
|
|
20
20
|
export declare const CreateTransferOptions$outboundSchema: z.ZodType<CreateTransferOptions$Outbound, z.ZodTypeDef, CreateTransferOptions>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createtransferoptions.d.ts","sourceRoot":"","sources":["../../src/models/components/createtransferoptions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"createtransferoptions.d.ts","sourceRoot":"","sources":["../../src/models/components/createtransferoptions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,wBAAwB,CAAC;IACjC,WAAW,EAAE,wBAAwB,CAAC;IACtC,MAAM,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,MAAM,EAAE,iCAAiC,CAAC;IAC1C,WAAW,EAAE,iCAAiC,CAAC;IAC/C,MAAM,EAAE,sBAAsB,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAKrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AACD,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -41,19 +41,19 @@ exports.createTransferOptionsToJSON = createTransferOptionsToJSON;
|
|
|
41
41
|
exports.createTransferOptionsFromJSON = createTransferOptionsFromJSON;
|
|
42
42
|
const z = __importStar(require("zod/v3"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
-
const
|
|
44
|
+
const amountdecimal_js_1 = require("./amountdecimal.js");
|
|
45
45
|
const sourcedestinationoptions_js_1 = require("./sourcedestinationoptions.js");
|
|
46
46
|
/** @internal */
|
|
47
47
|
exports.CreateTransferOptions$inboundSchema = z.object({
|
|
48
48
|
source: sourcedestinationoptions_js_1.SourceDestinationOptions$inboundSchema,
|
|
49
49
|
destination: sourcedestinationoptions_js_1.SourceDestinationOptions$inboundSchema,
|
|
50
|
-
amount:
|
|
50
|
+
amount: amountdecimal_js_1.AmountDecimal$inboundSchema,
|
|
51
51
|
});
|
|
52
52
|
/** @internal */
|
|
53
53
|
exports.CreateTransferOptions$outboundSchema = z.object({
|
|
54
54
|
source: sourcedestinationoptions_js_1.SourceDestinationOptions$outboundSchema,
|
|
55
55
|
destination: sourcedestinationoptions_js_1.SourceDestinationOptions$outboundSchema,
|
|
56
|
-
amount:
|
|
56
|
+
amount: amountdecimal_js_1.AmountDecimal$outboundSchema,
|
|
57
57
|
});
|
|
58
58
|
function createTransferOptionsToJSON(createTransferOptions) {
|
|
59
59
|
return JSON.stringify(exports.CreateTransferOptions$outboundSchema.parse(createTransferOptions));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createtransferoptions.js","sourceRoot":"","sources":["../../src/models/components/createtransferoptions.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDH,kEAMC;AACD,sEAQC;AAlED,0CAA4B;AAC5B,qDAAiD;AAGjD,
|
|
1
|
+
{"version":3,"file":"createtransferoptions.js","sourceRoot":"","sources":["../../src/models/components/createtransferoptions.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDH,kEAMC;AACD,sEAQC;AAlED,0CAA4B;AAC5B,qDAAiD;AAGjD,yDAK4B;AAC5B,+EAKuC;AAQvC,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,oEAAsC;IAC9C,WAAW,EAAE,oEAAsC;IACnD,MAAM,EAAE,8CAA2B;CACpC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,qEAAuC;IAC/C,WAAW,EAAE,qEAAuC;IACpD,MAAM,EAAE,+CAA4B;CACrC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AACD,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { CardBrand } from "./cardbrand.js";
|
|
|
6
6
|
import { CardExpiration, CardExpiration$Outbound } from "./cardexpiration.js";
|
|
7
7
|
import { IssuedCardFormFactor } from "./issuedcardformfactor.js";
|
|
8
8
|
import { IssuedCardState } from "./issuedcardstate.js";
|
|
9
|
-
import {
|
|
9
|
+
import { IssuedControls, IssuedControls$Outbound } from "./issuedcontrols.js";
|
|
10
10
|
/**
|
|
11
11
|
* The full details of an issued card, including PAN and CVV.
|
|
12
12
|
*/
|
|
@@ -56,7 +56,10 @@ export type FullIssuedCard = {
|
|
|
56
56
|
* Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
|
|
57
57
|
*/
|
|
58
58
|
formFactor: IssuedCardFormFactor;
|
|
59
|
-
|
|
59
|
+
/**
|
|
60
|
+
* Spend controls applied to an issued card, including velocity runtime state.
|
|
61
|
+
*/
|
|
62
|
+
controls?: IssuedControls | undefined;
|
|
60
63
|
createdOn: Date;
|
|
61
64
|
updatedOn: Date;
|
|
62
65
|
/**
|
|
@@ -85,7 +88,7 @@ export type FullIssuedCard$Outbound = {
|
|
|
85
88
|
billingAddress?: Address$Outbound | undefined;
|
|
86
89
|
state: string;
|
|
87
90
|
formFactor: string;
|
|
88
|
-
controls?:
|
|
91
|
+
controls?: IssuedControls$Outbound | undefined;
|
|
89
92
|
createdOn: string;
|
|
90
93
|
updatedOn: string;
|
|
91
94
|
pan: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fullissuedcard.d.ts","sourceRoot":"","sources":["../../src/models/components/fullissuedcard.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,OAAO,EAEP,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,SAAS,EAGV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,cAAc,EAEd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,o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,UAAU,EACZ,cAAc,CAkBd,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E;AACD,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
|
|
@@ -47,7 +47,7 @@ const cardbrand_js_1 = require("./cardbrand.js");
|
|
|
47
47
|
const cardexpiration_js_1 = require("./cardexpiration.js");
|
|
48
48
|
const issuedcardformfactor_js_1 = require("./issuedcardformfactor.js");
|
|
49
49
|
const issuedcardstate_js_1 = require("./issuedcardstate.js");
|
|
50
|
-
const
|
|
50
|
+
const issuedcontrols_js_1 = require("./issuedcontrols.js");
|
|
51
51
|
/** @internal */
|
|
52
52
|
exports.FullIssuedCard$inboundSchema = z.object({
|
|
53
53
|
issuedCardID: types.string(),
|
|
@@ -61,7 +61,7 @@ exports.FullIssuedCard$inboundSchema = z.object({
|
|
|
61
61
|
billingAddress: types.optional(address_js_1.Address$inboundSchema),
|
|
62
62
|
state: issuedcardstate_js_1.IssuedCardState$inboundSchema,
|
|
63
63
|
formFactor: issuedcardformfactor_js_1.IssuedCardFormFactor$inboundSchema,
|
|
64
|
-
controls: types.optional(
|
|
64
|
+
controls: types.optional(issuedcontrols_js_1.IssuedControls$inboundSchema),
|
|
65
65
|
createdOn: types.date(),
|
|
66
66
|
updatedOn: types.date(),
|
|
67
67
|
pan: types.string(),
|
|
@@ -80,7 +80,7 @@ exports.FullIssuedCard$outboundSchema = z.object({
|
|
|
80
80
|
billingAddress: address_js_1.Address$outboundSchema.optional(),
|
|
81
81
|
state: issuedcardstate_js_1.IssuedCardState$outboundSchema,
|
|
82
82
|
formFactor: issuedcardformfactor_js_1.IssuedCardFormFactor$outboundSchema,
|
|
83
|
-
controls:
|
|
83
|
+
controls: issuedcontrols_js_1.IssuedControls$outboundSchema.optional(),
|
|
84
84
|
createdOn: z.date().transform(v => v.toISOString()),
|
|
85
85
|
updatedOn: z.date().transform(v => v.toISOString()),
|
|
86
86
|
pan: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fullissuedcard.js","sourceRoot":"","sources":["../../src/models/components/fullissuedcard.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"fullissuedcard.js","sourceRoot":"","sources":["../../src/models/components/fullissuedcard.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2KH,oDAEC;AACD,wDAQC;AApLD,0CAA4B;AAC5B,qDAAiD;AAEjD,iEAAmD;AAEnD,6CAKsB;AACtB,iDAIwB;AACxB,2DAK6B;AAC7B,uEAImC;AACnC,6DAI8B;AAC9B,2DAK6B;AAiE7B,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,KAAK,CAAC,MAAM,EAAE;IAC5B,KAAK,EAAE,sCAAuB;IAC9B,kBAAkB,EAAE,KAAK,CAAC,MAAM,EAAE;IAClC,UAAU,EAAE,gDAA4B;IACxC,eAAe,EAAE,KAAK,CAAC,MAAM,EAAE;IAC/B,uBAAuB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACvD,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACxC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IAClD,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,kCAAqB,CAAC;IACrD,KAAK,EAAE,kDAA6B;IACpC,UAAU,EAAE,4DAAkC;IAC9C,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,gDAA4B,CAAC;IACtD,SAAS,EAAE,KAAK,CAAC,I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