@moovio/sdk 0.0.0-dev.28 → 0.0.0-dev.29
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 +2111 -1146
- package/bin/mcp-server.js.map +95 -66
- 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 +1 -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/{models/components/instantbanktransactionstatus.js → mcp-server/tools/transfersGetCapture.js} +26 -15
- 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/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 -29
- package/models/components/createdtransfer.d.ts.map +1 -1
- package/models/components/createdtransfer.js +21 -23
- 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/index.d.ts +26 -10
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +26 -10
- 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/merchantcategories.d.ts +21 -0
- package/models/components/merchantcategories.d.ts.map +1 -0
- package/models/components/{cardtransactionstatus.js → merchantcategories.js} +19 -17
- 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/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/{transfercapture.js → pushtocardoptions.js} +12 -14
- 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/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 -29
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +21 -23
- 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/{achtransactionstatus.js → transfertype.js} +14 -13
- package/models/components/transfertype.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 -39
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js +21 -29
- package/models/errors/transfer.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 +5 -0
- package/models/operations/listtransfers.d.ts.map +1 -1
- package/models/operations/listtransfers.js +2 -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 +1 -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/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 +62 -70
- 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/index.ts +26 -10
- package/src/models/components/instantbankcredittransferprocessingdetails.ts +88 -0
- package/src/models/components/merchantcategories.ts +60 -0
- package/src/models/components/merchantcategory.ts +73 -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/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 +62 -70
- 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/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 -67
- 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 +7 -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/models/components/transfercapture.d.ts +0 -28
- package/models/components/transfercapture.d.ts.map +0 -1
- package/models/components/transfercapture.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
- package/src/models/components/transfercapture.ts +0 -63
|
@@ -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,
|
|
@@ -37,12 +43,6 @@ import {
|
|
|
37
43
|
CreateTransferSource$Outbound,
|
|
38
44
|
CreateTransferSource$outboundSchema,
|
|
39
45
|
} from "./createtransfersource.js";
|
|
40
|
-
import {
|
|
41
|
-
FacilitatorFee,
|
|
42
|
-
FacilitatorFee$inboundSchema,
|
|
43
|
-
FacilitatorFee$Outbound,
|
|
44
|
-
FacilitatorFee$outboundSchema,
|
|
45
|
-
} from "./facilitatorfee.js";
|
|
46
46
|
import {
|
|
47
47
|
TransferFeePaidBy,
|
|
48
48
|
TransferFeePaidBy$inboundSchema,
|
|
@@ -59,11 +59,11 @@ export type CreateTransfer = {
|
|
|
59
59
|
* The final stage of a transfer and the ultimate recipient of the funds.
|
|
60
60
|
*/
|
|
61
61
|
destination: CreateTransferDestination;
|
|
62
|
-
amount:
|
|
62
|
+
amount: AmountDecimal;
|
|
63
63
|
/**
|
|
64
|
-
* Total or markup fee.
|
|
64
|
+
* Total or markup fee to apply when creating a transfer.
|
|
65
65
|
*/
|
|
66
|
-
facilitatorFee?:
|
|
66
|
+
facilitatorFee?: CreateTransferFacilitatorFee | undefined;
|
|
67
67
|
/**
|
|
68
68
|
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
69
69
|
*/
|
|
@@ -98,8 +98,8 @@ export const CreateTransfer$inboundSchema: z.ZodType<
|
|
|
98
98
|
> = z.object({
|
|
99
99
|
source: CreateTransferSource$inboundSchema,
|
|
100
100
|
destination: CreateTransferDestination$inboundSchema,
|
|
101
|
-
amount:
|
|
102
|
-
facilitatorFee: types.optional(
|
|
101
|
+
amount: AmountDecimal$inboundSchema,
|
|
102
|
+
facilitatorFee: types.optional(CreateTransferFacilitatorFee$inboundSchema),
|
|
103
103
|
description: types.optional(types.string()),
|
|
104
104
|
metadata: types.optional(z.record(types.string())),
|
|
105
105
|
foreignID: types.optional(types.string()),
|
|
@@ -111,8 +111,8 @@ export const CreateTransfer$inboundSchema: z.ZodType<
|
|
|
111
111
|
export type CreateTransfer$Outbound = {
|
|
112
112
|
source: CreateTransferSource$Outbound;
|
|
113
113
|
destination: CreateTransferDestination$Outbound;
|
|
114
|
-
amount:
|
|
115
|
-
facilitatorFee?:
|
|
114
|
+
amount: AmountDecimal$Outbound;
|
|
115
|
+
facilitatorFee?: CreateTransferFacilitatorFee$Outbound | undefined;
|
|
116
116
|
description?: string | undefined;
|
|
117
117
|
metadata?: { [k: string]: string } | undefined;
|
|
118
118
|
foreignID?: string | undefined;
|
|
@@ -129,8 +129,8 @@ export const CreateTransfer$outboundSchema: z.ZodType<
|
|
|
129
129
|
> = z.object({
|
|
130
130
|
source: CreateTransferSource$outboundSchema,
|
|
131
131
|
destination: CreateTransferDestination$outboundSchema,
|
|
132
|
-
amount:
|
|
133
|
-
facilitatorFee:
|
|
132
|
+
amount: AmountDecimal$outboundSchema,
|
|
133
|
+
facilitatorFee: CreateTransferFacilitatorFee$outboundSchema.optional(),
|
|
134
134
|
description: z.string().optional(),
|
|
135
135
|
metadata: z.record(z.string()).optional(),
|
|
136
136
|
foreignID: z.string().optional(),
|
|
@@ -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(
|
|
@@ -10,14 +10,18 @@ export * from "./accountnameverification.js";
|
|
|
10
10
|
export * from "./accountterminalapplication.js";
|
|
11
11
|
export * from "./accounttype.js";
|
|
12
12
|
export * from "./accountverificationstatus.js";
|
|
13
|
+
export * from "./achcreditoptions.js";
|
|
13
14
|
export * from "./achcreditsamedaypaymentmethod.js";
|
|
14
15
|
export * from "./achcreditsamedaytransferpaymentmethod.js";
|
|
15
16
|
export * from "./achcreditstandardpaymentmethod.js";
|
|
16
17
|
export * from "./achcreditstandardtransferpaymentmethod.js";
|
|
18
|
+
export * from "./achcredittransferprocessingdetails.js";
|
|
17
19
|
export * from "./achdebitcollectpaymentmethod.js";
|
|
18
20
|
export * from "./achdebitcollecttransferpaymentmethod.js";
|
|
19
21
|
export * from "./achdebitfundpaymentmethod.js";
|
|
20
22
|
export * from "./achdebitfundtransferpaymentmethod.js";
|
|
23
|
+
export * from "./achdebitoptions.js";
|
|
24
|
+
export * from "./achdebittransferprocessingdetails.js";
|
|
21
25
|
export * from "./achexception.js";
|
|
22
26
|
export * from "./achfees.js";
|
|
23
27
|
export * from "./achinstitution.js";
|
|
@@ -27,8 +31,6 @@ export * from "./achpaymentdetails.js";
|
|
|
27
31
|
export * from "./achpaymentdetailserror.js";
|
|
28
32
|
export * from "./achpaymentsettings.js";
|
|
29
33
|
export * from "./achreturncode.js";
|
|
30
|
-
export * from "./achtransactiondetails.js";
|
|
31
|
-
export * from "./achtransactionstatus.js";
|
|
32
34
|
export * from "./addcapabilities.js";
|
|
33
35
|
export * from "./address.js";
|
|
34
36
|
export * from "./addresserror.js";
|
|
@@ -100,11 +102,12 @@ export * from "./capability.js";
|
|
|
100
102
|
export * from "./capabilityid.js";
|
|
101
103
|
export * from "./capabilityrequirement.js";
|
|
102
104
|
export * from "./capabilitystatus.js";
|
|
105
|
+
export * from "./capture.js";
|
|
106
|
+
export * from "./capturestatus.js";
|
|
103
107
|
export * from "./card.js";
|
|
104
108
|
export * from "./cardacceptancemethods.js";
|
|
105
109
|
export * from "./cardacceptancemethodserror.js";
|
|
106
110
|
export * from "./cardaccountupdater.js";
|
|
107
|
-
export * from "./cardacquiringdispute.js";
|
|
108
111
|
export * from "./cardacquiringfees.js";
|
|
109
112
|
export * from "./cardacquiringmodel.js";
|
|
110
113
|
export * from "./cardacquiringrefund.js";
|
|
@@ -118,15 +121,16 @@ export * from "./cardmetadata.js";
|
|
|
118
121
|
export * from "./cardmetadatarequest.js";
|
|
119
122
|
export * from "./cardpaymentdetails.js";
|
|
120
123
|
export * from "./cardpaymentdetailserror.js";
|
|
124
|
+
export * from "./cardpaymentoptions.js";
|
|
121
125
|
export * from "./cardpaymentpaymentmethod.js";
|
|
126
|
+
export * from "./cardpaymentrefundprocessingdetails.js";
|
|
122
127
|
export * from "./cardpaymentsettings.js";
|
|
123
128
|
export * from "./cardpaymenttransferpaymentmethod.js";
|
|
129
|
+
export * from "./cardpaymenttransferprocessingdetails.js";
|
|
124
130
|
export * from "./cardpayouttype.js";
|
|
125
131
|
export * from "./cardpresentpaymentpaymentmethod.js";
|
|
126
132
|
export * from "./cardpresentpaymenttransferpaymentmethod.js";
|
|
127
|
-
export * from "./cardtransactiondetails.js";
|
|
128
133
|
export * from "./cardtransactionfailurecode.js";
|
|
129
|
-
export * from "./cardtransactionstatus.js";
|
|
130
134
|
export * from "./cardtype.js";
|
|
131
135
|
export * from "./cardupdatereason.js";
|
|
132
136
|
export * from "./cardverification.js";
|
|
@@ -152,6 +156,8 @@ export * from "./createaccounttype.js";
|
|
|
152
156
|
export * from "./createapplepaysession.js";
|
|
153
157
|
export * from "./createbusinesserror.js";
|
|
154
158
|
export * from "./createbusinessprofile.js";
|
|
159
|
+
export * from "./createcancellation.js";
|
|
160
|
+
export * from "./createcapture.js";
|
|
155
161
|
export * from "./createdtransfer.js";
|
|
156
162
|
export * from "./createevidencefilemultipart.js";
|
|
157
163
|
export * from "./createevidencetext.js";
|
|
@@ -203,6 +209,7 @@ export * from "./createtransferconfig.js";
|
|
|
203
209
|
export * from "./createtransferdestination.js";
|
|
204
210
|
export * from "./createtransferdestinationach.js";
|
|
205
211
|
export * from "./createtransferdestinationcard.js";
|
|
212
|
+
export * from "./createtransferfacilitatorfee.js";
|
|
206
213
|
export * from "./createtransferlineitem.js";
|
|
207
214
|
export * from "./createtransferlineitemoption.js";
|
|
208
215
|
export * from "./createtransferlineitemoptionvalidationerror.js";
|
|
@@ -296,10 +303,9 @@ export * from "./industrycodes.js";
|
|
|
296
303
|
export * from "./industrytaxonomy.js";
|
|
297
304
|
export * from "./instantbankcreditpaymentmethod.js";
|
|
298
305
|
export * from "./instantbankcredittransferpaymentmethod.js";
|
|
306
|
+
export * from "./instantbankcredittransferprocessingdetails.js";
|
|
299
307
|
export * from "./instantbankfailurecode.js";
|
|
300
308
|
export * from "./instantbanknetwork.js";
|
|
301
|
-
export * from "./instantbanktransactiondetails.js";
|
|
302
|
-
export * from "./instantbanktransactionstatus.js";
|
|
303
309
|
export * from "./instantpaymentfees.js";
|
|
304
310
|
export * from "./institutionssearchresponse.js";
|
|
305
311
|
export * from "./invoice.js";
|
|
@@ -351,6 +357,8 @@ export * from "./linkgooglepay.js";
|
|
|
351
357
|
export * from "./listfeesfetchrequest.js";
|
|
352
358
|
export * from "./manualtermsofservice.js";
|
|
353
359
|
export * from "./manualtermsofserviceupdate.js";
|
|
360
|
+
export * from "./merchantcategories.js";
|
|
361
|
+
export * from "./merchantcategory.js";
|
|
354
362
|
export * from "./merchantcategoryrestrictions.js";
|
|
355
363
|
export * from "./merchantcategoryrestrictionserror.js";
|
|
356
364
|
export * from "./merchantentry.js";
|
|
@@ -440,8 +448,10 @@ export * from "./productrequest.js";
|
|
|
440
448
|
export * from "./profile.js";
|
|
441
449
|
export * from "./pullfromapplepaypaymentmethod.js";
|
|
442
450
|
export * from "./pullfromapplepaytransferpaymentmethod.js";
|
|
451
|
+
export * from "./pullfromcardoptions.js";
|
|
443
452
|
export * from "./pullfromcardpaymentmethod.js";
|
|
444
453
|
export * from "./pullfromcardtransferpaymentmethod.js";
|
|
454
|
+
export * from "./pullfromcardtransferprocessingdetails.js";
|
|
445
455
|
export * from "./pullfromgooglepaypaymentmethod.js";
|
|
446
456
|
export * from "./pullfromgooglepaytransferpaymentmethod.js";
|
|
447
457
|
export * from "./pushdeliveryspeed.js";
|
|
@@ -450,8 +460,10 @@ export * from "./pushoptionserror.js";
|
|
|
450
460
|
export * from "./pushoptionsupdate.js";
|
|
451
461
|
export * from "./pushtoapplepaypaymentmethod.js";
|
|
452
462
|
export * from "./pushtoapplepaytransferpaymentmethod.js";
|
|
463
|
+
export * from "./pushtocardoptions.js";
|
|
453
464
|
export * from "./pushtocardpaymentmethod.js";
|
|
454
465
|
export * from "./pushtocardtransferpaymentmethod.js";
|
|
466
|
+
export * from "./pushtocardtransferprocessingdetails.js";
|
|
455
467
|
export * from "./pushtogooglepaypaymentmethod.js";
|
|
456
468
|
export * from "./pushtogooglepaytransferpaymentmethod.js";
|
|
457
469
|
export * from "./puttippresets.js";
|
|
@@ -464,9 +476,8 @@ export * from "./recur.js";
|
|
|
464
476
|
export * from "./recurresponse.js";
|
|
465
477
|
export * from "./refundamountdetails.js";
|
|
466
478
|
export * from "./refundamountdetailsvalidationerror.js";
|
|
467
|
-
export * from "./refundcarddetails.js";
|
|
468
|
-
export * from "./refundcardstatus.js";
|
|
469
479
|
export * from "./refundpolicy.js";
|
|
480
|
+
export * from "./refundprocessingdetails.js";
|
|
470
481
|
export * from "./refundstatus.js";
|
|
471
482
|
export * from "./registerapplepaymerchantdomains.js";
|
|
472
483
|
export * from "./representative.js";
|
|
@@ -514,6 +525,8 @@ export * from "./sendfundspushtocard.js";
|
|
|
514
525
|
export * from "./sendfundspushtocarderror.js";
|
|
515
526
|
export * from "./sendfundsrtp.js";
|
|
516
527
|
export * from "./sendfundsrtperror.js";
|
|
528
|
+
export * from "./sendfundswire.js";
|
|
529
|
+
export * from "./sendfundswireerror.js";
|
|
517
530
|
export * from "./sentreceipt.js";
|
|
518
531
|
export * from "./settings.js";
|
|
519
532
|
export * from "./sharescopes.js";
|
|
@@ -552,7 +565,7 @@ export * from "./transfer.js";
|
|
|
552
565
|
export * from "./transferaccount.js";
|
|
553
566
|
export * from "./transferachaddendarecord.js";
|
|
554
567
|
export * from "./transferamountdetails.js";
|
|
555
|
-
export * from "./
|
|
568
|
+
export * from "./transferauthorization.js";
|
|
556
569
|
export * from "./transferconfig.js";
|
|
557
570
|
export * from "./transfercontrols.js";
|
|
558
571
|
export * from "./transferdestination.js";
|
|
@@ -570,9 +583,12 @@ export * from "./transferpaymentmethodsbankaccount.js";
|
|
|
570
583
|
export * from "./transferpaymentmethodscard.js";
|
|
571
584
|
export * from "./transferpaymentmethodswallet.js";
|
|
572
585
|
export * from "./transferpaymentmethodtype.js";
|
|
586
|
+
export * from "./transferprocessingdetails.js";
|
|
587
|
+
export * from "./transferrailoptions.js";
|
|
573
588
|
export * from "./transfersource.js";
|
|
574
589
|
export * from "./transferstatus.js";
|
|
575
590
|
export * from "./transferterminalcard.js";
|
|
591
|
+
export * from "./transfertype.js";
|
|
576
592
|
export * from "./transferwaitfor.js";
|
|
577
593
|
export * from "./underwriting.js";
|
|
578
594
|
export * from "./underwritingstatus.js";
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
InstantBankFailureCode,
|
|
12
|
+
InstantBankFailureCode$inboundSchema,
|
|
13
|
+
InstantBankFailureCode$outboundSchema,
|
|
14
|
+
} from "./instantbankfailurecode.js";
|
|
15
|
+
import {
|
|
16
|
+
InstantBankNetwork,
|
|
17
|
+
InstantBankNetwork$inboundSchema,
|
|
18
|
+
InstantBankNetwork$outboundSchema,
|
|
19
|
+
} from "./instantbanknetwork.js";
|
|
20
|
+
|
|
21
|
+
export type InstantBankCreditTransferProcessingDetails = {
|
|
22
|
+
/**
|
|
23
|
+
* The network that the transaction was processed on.
|
|
24
|
+
*/
|
|
25
|
+
network: InstantBankNetwork;
|
|
26
|
+
networkResponseCode?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Status codes for instant-bank failures.
|
|
29
|
+
*/
|
|
30
|
+
failureCode?: InstantBankFailureCode | undefined;
|
|
31
|
+
endToEndID?: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const InstantBankCreditTransferProcessingDetails$inboundSchema:
|
|
36
|
+
z.ZodType<InstantBankCreditTransferProcessingDetails, z.ZodTypeDef, unknown> =
|
|
37
|
+
z.object({
|
|
38
|
+
network: InstantBankNetwork$inboundSchema,
|
|
39
|
+
networkResponseCode: types.optional(types.string()),
|
|
40
|
+
failureCode: types.optional(InstantBankFailureCode$inboundSchema),
|
|
41
|
+
endToEndID: types.optional(types.string()),
|
|
42
|
+
});
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type InstantBankCreditTransferProcessingDetails$Outbound = {
|
|
45
|
+
network: string;
|
|
46
|
+
networkResponseCode?: string | undefined;
|
|
47
|
+
failureCode?: string | undefined;
|
|
48
|
+
endToEndID?: string | undefined;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const InstantBankCreditTransferProcessingDetails$outboundSchema:
|
|
53
|
+
z.ZodType<
|
|
54
|
+
InstantBankCreditTransferProcessingDetails$Outbound,
|
|
55
|
+
z.ZodTypeDef,
|
|
56
|
+
InstantBankCreditTransferProcessingDetails
|
|
57
|
+
> = z.object({
|
|
58
|
+
network: InstantBankNetwork$outboundSchema,
|
|
59
|
+
networkResponseCode: z.string().optional(),
|
|
60
|
+
failureCode: InstantBankFailureCode$outboundSchema.optional(),
|
|
61
|
+
endToEndID: z.string().optional(),
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
export function instantBankCreditTransferProcessingDetailsToJSON(
|
|
65
|
+
instantBankCreditTransferProcessingDetails:
|
|
66
|
+
InstantBankCreditTransferProcessingDetails,
|
|
67
|
+
): string {
|
|
68
|
+
return JSON.stringify(
|
|
69
|
+
InstantBankCreditTransferProcessingDetails$outboundSchema.parse(
|
|
70
|
+
instantBankCreditTransferProcessingDetails,
|
|
71
|
+
),
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
export function instantBankCreditTransferProcessingDetailsFromJSON(
|
|
75
|
+
jsonString: string,
|
|
76
|
+
): SafeParseResult<
|
|
77
|
+
InstantBankCreditTransferProcessingDetails,
|
|
78
|
+
SDKValidationError
|
|
79
|
+
> {
|
|
80
|
+
return safeParse(
|
|
81
|
+
jsonString,
|
|
82
|
+
(x) =>
|
|
83
|
+
InstantBankCreditTransferProcessingDetails$inboundSchema.parse(
|
|
84
|
+
JSON.parse(x),
|
|
85
|
+
),
|
|
86
|
+
`Failed to parse 'InstantBankCreditTransferProcessingDetails' from JSON`,
|
|
87
|
+
);
|
|
88
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
MerchantCategory,
|
|
11
|
+
MerchantCategory$inboundSchema,
|
|
12
|
+
MerchantCategory$Outbound,
|
|
13
|
+
MerchantCategory$outboundSchema,
|
|
14
|
+
} from "./merchantcategory.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The predefined merchant category groups available for issued card spend controls.
|
|
18
|
+
*/
|
|
19
|
+
export type MerchantCategories = {
|
|
20
|
+
merchantCategories: Array<MerchantCategory>;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const MerchantCategories$inboundSchema: z.ZodType<
|
|
25
|
+
MerchantCategories,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
unknown
|
|
28
|
+
> = z.object({
|
|
29
|
+
merchantCategories: z.array(MerchantCategory$inboundSchema),
|
|
30
|
+
});
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type MerchantCategories$Outbound = {
|
|
33
|
+
merchantCategories: Array<MerchantCategory$Outbound>;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const MerchantCategories$outboundSchema: z.ZodType<
|
|
38
|
+
MerchantCategories$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
MerchantCategories
|
|
41
|
+
> = z.object({
|
|
42
|
+
merchantCategories: z.array(MerchantCategory$outboundSchema),
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
export function merchantCategoriesToJSON(
|
|
46
|
+
merchantCategories: MerchantCategories,
|
|
47
|
+
): string {
|
|
48
|
+
return JSON.stringify(
|
|
49
|
+
MerchantCategories$outboundSchema.parse(merchantCategories),
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export function merchantCategoriesFromJSON(
|
|
53
|
+
jsonString: string,
|
|
54
|
+
): SafeParseResult<MerchantCategories, SDKValidationError> {
|
|
55
|
+
return safeParse(
|
|
56
|
+
jsonString,
|
|
57
|
+
(x) => MerchantCategories$inboundSchema.parse(JSON.parse(x)),
|
|
58
|
+
`Failed to parse 'MerchantCategories' from JSON`,
|
|
59
|
+
);
|
|
60
|
+
}
|
|
@@ -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
|
+
IssuingMerchantCategory,
|
|
12
|
+
IssuingMerchantCategory$inboundSchema,
|
|
13
|
+
IssuingMerchantCategory$outboundSchema,
|
|
14
|
+
} from "./issuingmerchantcategory.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* A predefined merchant category group and the merchant category codes (MCCs) it covers.
|
|
18
|
+
*/
|
|
19
|
+
export type MerchantCategory = {
|
|
20
|
+
/**
|
|
21
|
+
* The predefined category group.
|
|
22
|
+
*/
|
|
23
|
+
category: IssuingMerchantCategory;
|
|
24
|
+
/**
|
|
25
|
+
* The merchant category codes (MCCs) covered by this category. Each entry is either a single
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* 4-digit MCC, such as `4511`, or an inclusive range of MCCs, such as `3000-3299`.
|
|
29
|
+
*/
|
|
30
|
+
mccs: Array<string>;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const MerchantCategory$inboundSchema: z.ZodType<
|
|
35
|
+
MerchantCategory,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
unknown
|
|
38
|
+
> = z.object({
|
|
39
|
+
category: IssuingMerchantCategory$inboundSchema,
|
|
40
|
+
mccs: z.array(types.string()),
|
|
41
|
+
});
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type MerchantCategory$Outbound = {
|
|
44
|
+
category: string;
|
|
45
|
+
mccs: Array<string>;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const MerchantCategory$outboundSchema: z.ZodType<
|
|
50
|
+
MerchantCategory$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
MerchantCategory
|
|
53
|
+
> = z.object({
|
|
54
|
+
category: IssuingMerchantCategory$outboundSchema,
|
|
55
|
+
mccs: z.array(z.string()),
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export function merchantCategoryToJSON(
|
|
59
|
+
merchantCategory: MerchantCategory,
|
|
60
|
+
): string {
|
|
61
|
+
return JSON.stringify(
|
|
62
|
+
MerchantCategory$outboundSchema.parse(merchantCategory),
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export function merchantCategoryFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<MerchantCategory, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) => MerchantCategory$inboundSchema.parse(JSON.parse(x)),
|
|
71
|
+
`Failed to parse 'MerchantCategory' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -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
|
|
|
11
17
|
/**
|
|
12
18
|
* Processing and pass-through costs that add up to the moovFee.
|
|
@@ -15,19 +21,19 @@ export type MoovFeeDetails = {
|
|
|
15
21
|
/**
|
|
16
22
|
* Card scheme fees accrued during authorization and settlement. String type represents dollars with up to 9 decimal place precision.
|
|
17
23
|
*/
|
|
18
|
-
cardScheme?:
|
|
24
|
+
cardScheme?: AmountDecimal | undefined;
|
|
19
25
|
/**
|
|
20
26
|
* Network interchange fee for Visa, Mastercard, or Discover. String type represents dollars with up to 9 decimal place precision.
|
|
21
27
|
*/
|
|
22
|
-
interchange?:
|
|
28
|
+
interchange?: AmountDecimal | undefined;
|
|
23
29
|
/**
|
|
24
30
|
* Network discount fee for American Express. String type represents dollars with up to 9 decimal place precision.
|
|
25
31
|
*/
|
|
26
|
-
discount?:
|
|
32
|
+
discount?: AmountDecimal | undefined;
|
|
27
33
|
/**
|
|
28
34
|
* Moov processing fee. String type represents dollars with up to 9 decimal place precision.
|
|
29
35
|
*/
|
|
30
|
-
moovProcessing:
|
|
36
|
+
moovProcessing: AmountDecimal;
|
|
31
37
|
};
|
|
32
38
|
|
|
33
39
|
/** @internal */
|
|
@@ -36,17 +42,17 @@ export const MoovFeeDetails$inboundSchema: z.ZodType<
|
|
|
36
42
|
z.ZodTypeDef,
|
|
37
43
|
unknown
|
|
38
44
|
> = z.object({
|
|
39
|
-
cardScheme: types.optional(
|
|
40
|
-
interchange: types.optional(
|
|
41
|
-
discount: types.optional(
|
|
42
|
-
moovProcessing:
|
|
45
|
+
cardScheme: types.optional(AmountDecimal$inboundSchema),
|
|
46
|
+
interchange: types.optional(AmountDecimal$inboundSchema),
|
|
47
|
+
discount: types.optional(AmountDecimal$inboundSchema),
|
|
48
|
+
moovProcessing: AmountDecimal$inboundSchema,
|
|
43
49
|
});
|
|
44
50
|
/** @internal */
|
|
45
51
|
export type MoovFeeDetails$Outbound = {
|
|
46
|
-
cardScheme?:
|
|
47
|
-
interchange?:
|
|
48
|
-
discount?:
|
|
49
|
-
moovProcessing:
|
|
52
|
+
cardScheme?: AmountDecimal$Outbound | undefined;
|
|
53
|
+
interchange?: AmountDecimal$Outbound | undefined;
|
|
54
|
+
discount?: AmountDecimal$Outbound | undefined;
|
|
55
|
+
moovProcessing: AmountDecimal$Outbound;
|
|
50
56
|
};
|
|
51
57
|
|
|
52
58
|
/** @internal */
|
|
@@ -55,10 +61,10 @@ export const MoovFeeDetails$outboundSchema: z.ZodType<
|
|
|
55
61
|
z.ZodTypeDef,
|
|
56
62
|
MoovFeeDetails
|
|
57
63
|
> = z.object({
|
|
58
|
-
cardScheme:
|
|
59
|
-
interchange:
|
|
60
|
-
discount:
|
|
61
|
-
moovProcessing:
|
|
64
|
+
cardScheme: AmountDecimal$outboundSchema.optional(),
|
|
65
|
+
interchange: AmountDecimal$outboundSchema.optional(),
|
|
66
|
+
discount: AmountDecimal$outboundSchema.optional(),
|
|
67
|
+
moovProcessing: AmountDecimal$outboundSchema,
|
|
62
68
|
});
|
|
63
69
|
|
|
64
70
|
export function moovFeeDetailsToJSON(moovFeeDetails: MoovFeeDetails): string {
|
|
@@ -22,6 +22,7 @@ export type PaymentMethodsWallet = {
|
|
|
22
22
|
* @remarks
|
|
23
23
|
* - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
24
24
|
* - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
25
|
+
* - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
25
26
|
*/
|
|
26
27
|
walletType: WalletType;
|
|
27
28
|
};
|