@moovio/sdk 26.10.0-dev.2 → 26.10.0-dev.4
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 +135 -77
- package/bin/mcp-server.js +2526 -1427
- package/bin/mcp-server.js.map +171 -138
- package/funcs/bankAccountsCreateAttestation.d.ts +25 -0
- package/funcs/bankAccountsCreateAttestation.d.ts.map +1 -0
- package/funcs/bankAccountsCreateAttestation.js +142 -0
- package/funcs/bankAccountsCreateAttestation.js.map +1 -0
- package/funcs/bankAccountsGetAttestationEligibility.d.ts +23 -0
- package/funcs/bankAccountsGetAttestationEligibility.d.ts.map +1 -0
- package/funcs/bankAccountsGetAttestationEligibility.js +137 -0
- package/funcs/bankAccountsGetAttestationEligibility.js.map +1 -0
- package/funcs/bankAccountsListAttestations.d.ts +14 -0
- package/funcs/bankAccountsListAttestations.d.ts.map +1 -0
- package/funcs/bankAccountsListAttestations.js +126 -0
- package/funcs/bankAccountsListAttestations.js.map +1 -0
- package/funcs/cardIssuingGetFull.d.ts +1 -1
- package/funcs/cardIssuingGetFull.js +1 -1
- package/funcs/imagesUpload.d.ts +2 -2
- package/funcs/imagesUpload.d.ts.map +1 -1
- package/funcs/imagesUpload.js +2 -2
- package/funcs/imagesUpload.js.map +1 -1
- package/funcs/institutionsSearch.d.ts +1 -1
- package/funcs/institutionsSearch.js +1 -1
- package/funcs/issuingTransactionsList.js +1 -0
- package/funcs/issuingTransactionsList.js.map +1 -1
- package/funcs/transfersCreateCancellation.d.ts +3 -0
- package/funcs/transfersCreateCancellation.d.ts.map +1 -1
- package/funcs/transfersCreateCancellation.js +6 -1
- package/funcs/transfersCreateCancellation.js.map +1 -1
- package/funcs/transfersCreateCapture.d.ts +2 -1
- package/funcs/transfersCreateCapture.d.ts.map +1 -1
- package/funcs/transfersCreateCapture.js +2 -1
- package/funcs/transfersCreateCapture.js.map +1 -1
- package/funcs/transfersCreateReversal.d.ts +3 -0
- package/funcs/transfersCreateReversal.d.ts.map +1 -1
- package/funcs/transfersCreateReversal.js +3 -0
- package/funcs/transfersCreateReversal.js.map +1 -1
- package/funcs/transfersGetCapture.d.ts +1 -1
- package/funcs/transfersGetCapture.js +1 -1
- package/funcs/transfersList.js +0 -1
- package/funcs/transfersList.js.map +1 -1
- package/funcs/transfersListCancellations.js +1 -1
- package/funcs/transfersListCancellations.js.map +1 -1
- package/funcs/transfersListCaptures.d.ts +1 -1
- package/funcs/transfersListCaptures.js +2 -2
- package/funcs/transfersListCaptures.js.map +1 -1
- package/funcs/transfersListRefunds.js +1 -1
- package/funcs/transfersListRefunds.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.d.ts +10 -9
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +29 -13
- package/lib/encodings.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +7 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/bankAccountsCreateAttestation.d.ts +8 -0
- package/mcp-server/tools/bankAccountsCreateAttestation.d.ts.map +1 -0
- package/mcp-server/tools/bankAccountsCreateAttestation.js +72 -0
- package/mcp-server/tools/bankAccountsCreateAttestation.js.map +1 -0
- package/mcp-server/tools/bankAccountsGetAttestationEligibility.d.ts +8 -0
- package/mcp-server/tools/bankAccountsGetAttestationEligibility.d.ts.map +1 -0
- package/mcp-server/tools/bankAccountsGetAttestationEligibility.js +70 -0
- package/mcp-server/tools/bankAccountsGetAttestationEligibility.js.map +1 -0
- package/mcp-server/tools/bankAccountsListAttestations.d.ts +8 -0
- package/mcp-server/tools/bankAccountsListAttestations.d.ts.map +1 -0
- package/mcp-server/tools/bankAccountsListAttestations.js +62 -0
- package/mcp-server/tools/bankAccountsListAttestations.js.map +1 -0
- package/mcp-server/tools/cardIssuingGetFull.js +1 -1
- package/mcp-server/tools/cardIssuingGetFull.js.map +1 -1
- package/mcp-server/tools/imagesUpload.js +1 -1
- package/mcp-server/tools/imagesUpload.js.map +1 -1
- package/mcp-server/tools/institutionsSearch.js +1 -1
- package/mcp-server/tools/transfersCreateCancellation.d.ts.map +1 -1
- package/mcp-server/tools/transfersCreateCancellation.js +3 -0
- package/mcp-server/tools/transfersCreateCancellation.js.map +1 -1
- package/mcp-server/tools/transfersCreateCapture.d.ts.map +1 -1
- package/mcp-server/tools/transfersCreateCapture.js +2 -1
- package/mcp-server/tools/transfersCreateCapture.js.map +1 -1
- package/mcp-server/tools/transfersCreateReversal.d.ts.map +1 -1
- package/mcp-server/tools/transfersCreateReversal.js +4 -1
- package/mcp-server/tools/transfersCreateReversal.js.map +1 -1
- package/mcp-server/tools/transfersGetCapture.d.ts.map +1 -1
- package/mcp-server/tools/transfersGetCapture.js +1 -1
- package/mcp-server/tools/transfersGetCapture.js.map +1 -1
- package/mcp-server/tools/transfersListCancellations.js +1 -1
- package/mcp-server/tools/transfersListCaptures.d.ts.map +1 -1
- package/mcp-server/tools/transfersListCaptures.js +1 -1
- package/mcp-server/tools/transfersListCaptures.js.map +1 -1
- package/models/components/achcredittransferprocessingdetails.d.ts +6 -0
- package/models/components/achcredittransferprocessingdetails.d.ts.map +1 -1
- package/models/components/achcredittransferprocessingdetails.js +3 -0
- package/models/components/achcredittransferprocessingdetails.js.map +1 -1
- package/models/components/achdebittransferprocessingdetails.d.ts +6 -0
- package/models/components/achdebittransferprocessingdetails.d.ts.map +1 -1
- package/models/components/achdebittransferprocessingdetails.js +3 -0
- package/models/components/achdebittransferprocessingdetails.js.map +1 -1
- package/models/components/achtransactionstatus.d.ts +23 -0
- package/models/components/achtransactionstatus.d.ts.map +1 -0
- package/models/components/achtransactionstatus.js +57 -0
- package/models/components/achtransactionstatus.js.map +1 -0
- package/models/components/adjustmentfees.d.ts +30 -0
- package/models/components/adjustmentfees.d.ts.map +1 -0
- package/models/components/adjustmentfees.js +62 -0
- package/models/components/adjustmentfees.js.map +1 -0
- package/models/components/amountdecimalrange.d.ts +1 -3
- package/models/components/amountdecimalrange.d.ts.map +1 -1
- package/models/components/amountdecimalrange.js.map +1 -1
- package/models/components/amountdecimalrangeupdate.d.ts +1 -3
- package/models/components/amountdecimalrangeupdate.d.ts.map +1 -1
- package/models/components/amountdecimalrangeupdate.js.map +1 -1
- package/models/components/applicationscope.d.ts +1 -1
- package/models/components/applicationscope.js +1 -1
- package/models/components/applicationscope.js.map +1 -1
- package/models/components/asynccreatedrefund.d.ts +1 -1
- package/models/components/bankaccountattestation.d.ts +48 -0
- package/models/components/bankaccountattestation.d.ts.map +1 -0
- package/models/components/bankaccountattestation.js +69 -0
- package/models/components/bankaccountattestation.js.map +1 -0
- package/models/components/bankaccountattestationeligibility.d.ts +28 -0
- package/models/components/bankaccountattestationeligibility.d.ts.map +1 -0
- package/models/components/bankaccountattestationeligibility.js +61 -0
- package/models/components/bankaccountattestationeligibility.js.map +1 -0
- package/models/components/bankaccountattestationsummary.d.ts +38 -0
- package/models/components/bankaccountattestationsummary.d.ts.map +1 -0
- package/models/components/bankaccountattestationsummary.js +65 -0
- package/models/components/bankaccountattestationsummary.js.map +1 -0
- package/models/components/billingadjustment.d.ts +34 -0
- package/models/components/billingadjustment.d.ts.map +1 -0
- package/models/components/billingadjustment.js +64 -0
- package/models/components/billingadjustment.js.map +1 -0
- package/models/components/billingsummary.d.ts +15 -10
- package/models/components/billingsummary.d.ts.map +1 -1
- package/models/components/billingsummary.js +14 -11
- package/models/components/billingsummary.js.map +1 -1
- package/models/components/cancellation.d.ts +3 -0
- package/models/components/cancellation.d.ts.map +1 -1
- package/models/components/cancellation.js.map +1 -1
- package/models/components/capture.d.ts +9 -3
- package/models/components/capture.d.ts.map +1 -1
- package/models/components/capture.js +3 -0
- package/models/components/capture.js.map +1 -1
- package/models/components/capturestatus.d.ts +0 -2
- package/models/components/capturestatus.d.ts.map +1 -1
- package/models/components/capturestatus.js +0 -2
- package/models/components/capturestatus.js.map +1 -1
- package/models/components/cardacquiringrefund.d.ts +1 -1
- package/models/components/cardissuing.d.ts +25 -0
- package/models/components/cardissuing.d.ts.map +1 -0
- package/models/components/cardissuing.js +60 -0
- package/models/components/cardissuing.js.map +1 -0
- package/models/components/cardissuingerror.d.ts +18 -0
- package/models/components/cardissuingerror.d.ts.map +1 -0
- package/models/components/cardissuingerror.js +60 -0
- package/models/components/cardissuingerror.js.map +1 -0
- package/models/components/cardpaymenttransactionstatus.d.ts +22 -0
- package/models/components/cardpaymenttransactionstatus.d.ts.map +1 -0
- package/models/components/cardpaymenttransactionstatus.js +56 -0
- package/models/components/cardpaymenttransactionstatus.js.map +1 -0
- package/models/components/cardpaymenttransferprocessingdetails.d.ts +11 -2
- package/models/components/cardpaymenttransferprocessingdetails.d.ts.map +1 -1
- package/models/components/cardpaymenttransferprocessingdetails.js +5 -2
- package/models/components/cardpaymenttransferprocessingdetails.js.map +1 -1
- package/models/components/cardtransactionfailurecode.d.ts +16 -0
- package/models/components/cardtransactionfailurecode.d.ts.map +1 -1
- package/models/components/cardtransactionfailurecode.js +16 -0
- package/models/components/cardtransactionfailurecode.js.map +1 -1
- package/models/components/createbankaccountattestation.d.ts +28 -0
- package/models/components/createbankaccountattestation.d.ts.map +1 -0
- package/models/components/createbankaccountattestation.js +61 -0
- package/models/components/createbankaccountattestation.js.map +1 -0
- package/models/components/createcancellation.d.ts +10 -0
- package/models/components/createcancellation.d.ts.map +1 -1
- package/models/components/createcancellation.js.map +1 -1
- package/models/components/createcapture.d.ts +13 -4
- package/models/components/createcapture.d.ts.map +1 -1
- package/models/components/createcapture.js.map +1 -1
- package/models/components/createdtransfer.d.ts +14 -0
- package/models/components/createdtransfer.d.ts.map +1 -1
- package/models/components/createdtransfer.js.map +1 -1
- package/models/components/createfeeplanagreement.d.ts +16 -1
- package/models/components/createfeeplanagreement.d.ts.map +1 -1
- package/models/components/createfeeplanagreement.js +2 -0
- package/models/components/createfeeplanagreement.js.map +1 -1
- package/models/components/createpaymentlink.d.ts +3 -0
- package/models/components/createpaymentlink.d.ts.map +1 -1
- package/models/components/createpaymentlink.js.map +1 -1
- package/models/components/createrefund.d.ts +2 -2
- package/models/components/createreversal.d.ts +6 -1
- package/models/components/createreversal.d.ts.map +1 -1
- package/models/components/createreversal.js.map +1 -1
- package/models/components/createtransfer.d.ts +1 -1
- package/models/components/createtransferdestination.d.ts +6 -0
- package/models/components/createtransferdestination.d.ts.map +1 -1
- package/models/components/createtransferdestination.js +3 -0
- package/models/components/createtransferdestination.js.map +1 -1
- package/models/components/createtransferdestinationwire.d.ts +23 -0
- package/models/components/createtransferdestinationwire.d.ts.map +1 -0
- package/models/components/createtransferdestinationwire.js +59 -0
- package/models/components/createtransferdestinationwire.js.map +1 -0
- package/models/components/facilitatorfee.d.ts +7 -23
- package/models/components/facilitatorfee.d.ts.map +1 -1
- package/models/components/facilitatorfee.js +5 -8
- package/models/components/facilitatorfee.js.map +1 -1
- package/models/components/feepaidby.d.ts +0 -6
- package/models/components/feepaidby.d.ts.map +1 -1
- package/models/components/feepaidby.js +0 -3
- package/models/components/feepaidby.js.map +1 -1
- package/models/components/feeplanagreement.d.ts +10 -0
- package/models/components/feeplanagreement.d.ts.map +1 -1
- package/models/components/feeplanagreement.js +5 -0
- package/models/components/feeplanagreement.js.map +1 -1
- package/models/components/fullissuedcard.d.ts +1 -0
- package/models/components/fullissuedcard.d.ts.map +1 -1
- package/models/components/fullissuedcard.js.map +1 -1
- package/models/components/index.d.ts +22 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +22 -0
- package/models/components/index.js.map +1 -1
- package/models/components/instantbankcredittransferprocessingdetails.d.ts +6 -0
- package/models/components/instantbankcredittransferprocessingdetails.d.ts.map +1 -1
- package/models/components/instantbankcredittransferprocessingdetails.js +3 -0
- package/models/components/instantbankcredittransferprocessingdetails.js.map +1 -1
- package/models/components/instantbanktransactionstatus.d.ts +20 -0
- package/models/components/instantbanktransactionstatus.d.ts.map +1 -0
- package/models/components/instantbanktransactionstatus.js +54 -0
- package/models/components/instantbanktransactionstatus.js.map +1 -0
- package/models/components/issuedcard.d.ts +1 -0
- package/models/components/issuedcard.d.ts.map +1 -1
- package/models/components/issuedcard.js.map +1 -1
- package/models/components/issuedcardauthorization.d.ts +5 -0
- package/models/components/issuedcardauthorization.d.ts.map +1 -1
- package/models/components/issuedcardauthorization.js +2 -0
- package/models/components/issuedcardauthorization.js.map +1 -1
- package/models/components/issuedcardstate.d.ts +3 -0
- package/models/components/issuedcardstate.d.ts.map +1 -1
- package/models/components/issuedcardstate.js +2 -0
- package/models/components/issuedcardstate.js.map +1 -1
- package/models/components/issuedcardtransaction.d.ts +5 -0
- package/models/components/issuedcardtransaction.d.ts.map +1 -1
- package/models/components/issuedcardtransaction.js +2 -0
- package/models/components/issuedcardtransaction.js.map +1 -1
- package/models/components/issuedcontrols.d.ts +1 -4
- package/models/components/issuedcontrols.d.ts.map +1 -1
- package/models/components/issuedcontrols.js.map +1 -1
- package/models/components/issuingcontrols.d.ts +5 -5
- package/models/components/issuingcontrols.d.ts.map +1 -1
- package/models/components/issuingcontrolsrestrictionmode.d.ts +2 -2
- package/models/components/issuingcontrolsrestrictionmode.js +1 -1
- package/models/components/merchantcategoryrestrictions.d.ts +2 -2
- package/models/components/merchantentry.d.ts +3 -3
- package/models/components/merchantentry.d.ts.map +1 -1
- package/models/components/merchantentry.js +2 -2
- package/models/components/merchantentry.js.map +1 -1
- package/models/components/merchantentryerror.d.ts +2 -2
- package/models/components/merchantentryerror.d.ts.map +1 -1
- package/models/components/merchantentryerror.js +2 -2
- package/models/components/merchantentryerror.js.map +1 -1
- package/models/components/merchantrestrictions.d.ts +1 -1
- package/models/components/partnerpricingagreement.d.ts +12 -2
- package/models/components/partnerpricingagreement.d.ts.map +1 -1
- package/models/components/partnerpricingagreement.js +5 -0
- package/models/components/partnerpricingagreement.js.map +1 -1
- package/models/components/paymentlink.d.ts +4 -3
- package/models/components/paymentlink.d.ts.map +1 -1
- package/models/components/paymentlink.js.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetails.d.ts +1 -3
- package/models/components/paymentlinkcustomamountpaymentdetails.d.ts.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetails.js.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts +1 -3
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.js.map +1 -1
- package/models/components/paymentlinkpayoutdetails.d.ts +7 -8
- package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetails.js.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts +7 -8
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.js.map +1 -1
- package/models/components/paymentmethod.d.ts +3 -2
- package/models/components/paymentmethod.d.ts.map +1 -1
- package/models/components/paymentmethod.js +3 -0
- package/models/components/paymentmethod.js.map +1 -1
- package/models/components/paymentmethodtype.d.ts +1 -0
- package/models/components/paymentmethodtype.d.ts.map +1 -1
- package/models/components/paymentmethodtype.js +1 -0
- package/models/components/paymentmethodtype.js.map +1 -1
- package/models/components/pullfromcardtransactionstatus.d.ts +19 -0
- package/models/components/pullfromcardtransactionstatus.d.ts.map +1 -0
- package/models/components/pullfromcardtransactionstatus.js +53 -0
- package/models/components/pullfromcardtransactionstatus.js.map +1 -0
- package/models/components/pullfromcardtransferprocessingdetails.d.ts +6 -0
- package/models/components/pullfromcardtransferprocessingdetails.d.ts.map +1 -1
- package/models/components/pullfromcardtransferprocessingdetails.js +3 -0
- package/models/components/pullfromcardtransferprocessingdetails.js.map +1 -1
- package/models/components/pushoptions.d.ts +4 -6
- package/models/components/pushoptions.d.ts.map +1 -1
- package/models/components/pushoptions.js.map +1 -1
- package/models/components/pushoptionsupdate.d.ts +4 -6
- package/models/components/pushoptionsupdate.d.ts.map +1 -1
- package/models/components/pushoptionsupdate.js.map +1 -1
- package/models/components/pushtocardtransactionstatus.d.ts +21 -0
- package/models/components/pushtocardtransactionstatus.d.ts.map +1 -0
- package/models/components/pushtocardtransactionstatus.js +55 -0
- package/models/components/pushtocardtransactionstatus.js.map +1 -0
- package/models/components/pushtocardtransferprocessingdetails.d.ts +6 -0
- package/models/components/pushtocardtransferprocessingdetails.d.ts.map +1 -1
- package/models/components/pushtocardtransferprocessingdetails.js +3 -0
- package/models/components/pushtocardtransferprocessingdetails.js.map +1 -1
- package/models/components/requestcard.d.ts +3 -0
- package/models/components/requestcard.d.ts.map +1 -1
- package/models/components/requestcard.js.map +1 -1
- package/models/components/requirementid.d.ts +15 -0
- package/models/components/requirementid.d.ts.map +1 -1
- package/models/components/requirementid.js +15 -0
- package/models/components/requirementid.js.map +1 -1
- package/models/components/reversalamountdetails.d.ts +5 -1
- package/models/components/reversalamountdetails.d.ts.map +1 -1
- package/models/components/reversalamountdetails.js.map +1 -1
- package/models/components/reversedwithcancellation.d.ts +3 -0
- package/models/components/reversedwithcancellation.d.ts.map +1 -1
- package/models/components/reversedwithcancellation.js.map +1 -1
- package/models/components/statement.d.ts +6 -0
- package/models/components/statement.d.ts.map +1 -1
- package/models/components/statement.js +3 -0
- package/models/components/statement.js.map +1 -1
- package/models/components/sweepconfig.d.ts +2 -2
- package/models/components/sweepconfigpaymentmethod.d.ts +1 -1
- package/models/components/transfer.d.ts +14 -0
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js.map +1 -1
- package/models/components/transferauthorization.d.ts +21 -0
- package/models/components/transferauthorization.d.ts.map +1 -1
- package/models/components/transferauthorization.js.map +1 -1
- package/models/components/transferfeepaidby.d.ts +1 -1
- package/models/components/transferpaymentmethod.d.ts +3 -2
- package/models/components/transferpaymentmethod.d.ts.map +1 -1
- package/models/components/transferpaymentmethod.js +3 -0
- package/models/components/transferpaymentmethod.js.map +1 -1
- package/models/components/transferpaymentmethodtype.d.ts +1 -0
- package/models/components/transferpaymentmethodtype.d.ts.map +1 -1
- package/models/components/transferpaymentmethodtype.js +1 -0
- package/models/components/transferpaymentmethodtype.js.map +1 -1
- package/models/components/transferprocessingdetails.d.ts +6 -0
- package/models/components/transferprocessingdetails.d.ts.map +1 -1
- package/models/components/transferprocessingdetails.js +3 -0
- package/models/components/transferprocessingdetails.js.map +1 -1
- package/models/components/transferrailoptions.d.ts +6 -0
- package/models/components/transferrailoptions.d.ts.map +1 -1
- package/models/components/transferrailoptions.js +3 -0
- package/models/components/transferrailoptions.js.map +1 -1
- package/models/components/transfertype.d.ts +1 -0
- package/models/components/transfertype.d.ts.map +1 -1
- package/models/components/transfertype.js +1 -0
- package/models/components/transfertype.js.map +1 -1
- package/models/components/underwriting.d.ts +10 -0
- package/models/components/underwriting.d.ts.map +1 -1
- package/models/components/underwriting.js +3 -0
- package/models/components/underwriting.js.map +1 -1
- package/models/components/updateissuedcard.d.ts +2 -0
- package/models/components/updateissuedcard.d.ts.map +1 -1
- package/models/components/updateissuedcard.js.map +1 -1
- package/models/components/updateissuedcardstate.d.ts +6 -0
- package/models/components/updateissuedcardstate.d.ts.map +1 -1
- package/models/components/updateissuedcardstate.js +4 -0
- package/models/components/updateissuedcardstate.js.map +1 -1
- package/models/components/updateissuingcontrols.d.ts +10 -10
- package/models/components/updatepaymentlink.d.ts +3 -0
- package/models/components/updatepaymentlink.d.ts.map +1 -1
- package/models/components/updatepaymentlink.js.map +1 -1
- package/models/components/upsertunderwriting.d.ts +10 -0
- package/models/components/upsertunderwriting.d.ts.map +1 -1
- package/models/components/upsertunderwriting.js +3 -0
- package/models/components/upsertunderwriting.js.map +1 -1
- package/models/components/wallettransactiontype.d.ts +1 -0
- package/models/components/wallettransactiontype.d.ts.map +1 -1
- package/models/components/wallettransactiontype.js +1 -0
- package/models/components/wallettransactiontype.js.map +1 -1
- package/models/components/webhookdata.d.ts +4 -2
- package/models/components/webhookdata.d.ts.map +1 -1
- package/models/components/webhookdata.js +6 -0
- package/models/components/webhookdata.js.map +1 -1
- package/models/components/webhookdatacaptureupdated.d.ts +30 -0
- package/models/components/webhookdatacaptureupdated.d.ts.map +1 -0
- package/models/components/webhookdatacaptureupdated.js +66 -0
- package/models/components/webhookdatacaptureupdated.js.map +1 -0
- package/models/components/webhookdataeventtest.d.ts +20 -0
- package/models/components/webhookdataeventtest.d.ts.map +1 -0
- package/models/components/webhookdataeventtest.js +59 -0
- package/models/components/webhookdataeventtest.js.map +1 -0
- package/models/components/webhookdatatransferstatus.d.ts +1 -0
- package/models/components/webhookdatatransferstatus.d.ts.map +1 -1
- package/models/components/webhookdatatransferstatus.js +1 -0
- package/models/components/webhookdatatransferstatus.js.map +1 -1
- package/models/components/webhookeventtype.d.ts +2 -0
- package/models/components/webhookeventtype.d.ts.map +1 -1
- package/models/components/webhookeventtype.js +2 -0
- package/models/components/webhookeventtype.js.map +1 -1
- package/models/components/wirecreditpaymentmethod.d.ts +31 -0
- package/models/components/wirecreditpaymentmethod.d.ts.map +1 -0
- package/models/components/wirecreditpaymentmethod.js +64 -0
- package/models/components/wirecreditpaymentmethod.js.map +1 -0
- package/models/components/wirecredittransferpaymentmethod.d.ts +31 -0
- package/models/components/wirecredittransferpaymentmethod.d.ts.map +1 -0
- package/models/components/wirecredittransferpaymentmethod.js +64 -0
- package/models/components/wirecredittransferpaymentmethod.js.map +1 -0
- package/models/components/wirefailurecode.d.ts +25 -0
- package/models/components/wirefailurecode.d.ts.map +1 -0
- package/models/components/wirefailurecode.js +59 -0
- package/models/components/wirefailurecode.js.map +1 -0
- package/models/components/wireoptions.d.ts +23 -0
- package/models/components/wireoptions.d.ts.map +1 -0
- package/models/components/wireoptions.js +59 -0
- package/models/components/wireoptions.js.map +1 -0
- package/models/components/wiretransactionstatus.d.ts +20 -0
- package/models/components/wiretransactionstatus.d.ts.map +1 -0
- package/models/components/wiretransactionstatus.js +54 -0
- package/models/components/wiretransactionstatus.js.map +1 -0
- package/models/components/wiretransferprocessingdetails.d.ts +35 -0
- package/models/components/wiretransferprocessingdetails.d.ts.map +1 -0
- package/models/components/wiretransferprocessingdetails.js +65 -0
- package/models/components/wiretransferprocessingdetails.js.map +1 -0
- package/models/errors/bankaccountattestationvalidationerror.d.ts +45 -0
- package/models/errors/bankaccountattestationvalidationerror.d.ts.map +1 -0
- package/models/errors/bankaccountattestationvalidationerror.js +83 -0
- package/models/errors/bankaccountattestationvalidationerror.js.map +1 -0
- package/models/errors/cardacquiringrefund.d.ts +2 -2
- package/models/errors/imagemetadata.d.ts +78 -0
- package/models/errors/imagemetadata.d.ts.map +1 -0
- package/models/errors/imagemetadata.js +98 -0
- package/models/errors/imagemetadata.js.map +1 -0
- package/models/errors/index.d.ts +2 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +2 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/transfer.d.ts +28 -0
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js.map +1 -1
- package/models/errors/upsertunderwritingerror.d.ts +3 -0
- package/models/errors/upsertunderwritingerror.d.ts.map +1 -1
- package/models/errors/upsertunderwritingerror.js +4 -0
- package/models/errors/upsertunderwritingerror.js.map +1 -1
- package/models/operations/createbankaccountattestation.d.ts +41 -0
- package/models/operations/createbankaccountattestation.d.ts.map +1 -0
- package/models/operations/createbankaccountattestation.js +101 -0
- package/models/operations/createbankaccountattestation.js.map +1 -0
- package/models/operations/createcapture.d.ts +2 -2
- package/models/operations/getbankaccountattestationeligibility.d.ts +47 -0
- package/models/operations/getbankaccountattestationeligibility.d.ts.map +1 -0
- package/models/operations/getbankaccountattestationeligibility.js +93 -0
- package/models/operations/getbankaccountattestationeligibility.js.map +1 -0
- package/models/operations/getcapture.d.ts +2 -2
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listaccounts.d.ts +3 -0
- package/models/operations/listaccounts.d.ts.map +1 -1
- package/models/operations/listaccounts.js.map +1 -1
- package/models/operations/listbankaccountattestations.d.ts +39 -0
- package/models/operations/listbankaccountattestations.d.ts.map +1 -0
- package/models/operations/listbankaccountattestations.js +91 -0
- package/models/operations/listbankaccountattestations.js.map +1 -0
- package/models/operations/listcaptures.d.ts +2 -2
- package/models/operations/listconnectedaccountsforaccount.d.ts +3 -0
- package/models/operations/listconnectedaccountsforaccount.d.ts.map +1 -1
- package/models/operations/listconnectedaccountsforaccount.js.map +1 -1
- package/models/operations/listdisputes.d.ts +3 -0
- package/models/operations/listdisputes.d.ts.map +1 -1
- package/models/operations/listdisputes.js.map +1 -1
- package/models/operations/listfeeplanagreements.d.ts +3 -0
- package/models/operations/listfeeplanagreements.d.ts.map +1 -1
- package/models/operations/listfeeplanagreements.js.map +1 -1
- package/models/operations/listfeerevenue.d.ts +3 -0
- package/models/operations/listfeerevenue.d.ts.map +1 -1
- package/models/operations/listfeerevenue.js.map +1 -1
- package/models/operations/listinvoices.d.ts +3 -0
- package/models/operations/listinvoices.d.ts.map +1 -1
- package/models/operations/listinvoices.js.map +1 -1
- package/models/operations/listissuedcardauthorizationevents.d.ts +3 -0
- package/models/operations/listissuedcardauthorizationevents.d.ts.map +1 -1
- package/models/operations/listissuedcardauthorizationevents.js.map +1 -1
- package/models/operations/listissuedcardauthorizations.d.ts +3 -0
- package/models/operations/listissuedcardauthorizations.d.ts.map +1 -1
- package/models/operations/listissuedcardauthorizations.js.map +1 -1
- package/models/operations/listissuedcards.d.ts +3 -0
- package/models/operations/listissuedcards.d.ts.map +1 -1
- package/models/operations/listissuedcards.js.map +1 -1
- package/models/operations/listissuedcardtransactions.d.ts +8 -0
- package/models/operations/listissuedcardtransactions.d.ts.map +1 -1
- package/models/operations/listissuedcardtransactions.js +2 -0
- package/models/operations/listissuedcardtransactions.js.map +1 -1
- package/models/operations/listpartnerpricingagreements.d.ts +3 -0
- package/models/operations/listpartnerpricingagreements.d.ts.map +1 -1
- package/models/operations/listpartnerpricingagreements.js.map +1 -1
- package/models/operations/listpaymentlinks.d.ts +3 -0
- package/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/models/operations/listpaymentlinks.js.map +1 -1
- package/models/operations/listproducts.d.ts +3 -0
- package/models/operations/listproducts.d.ts.map +1 -1
- package/models/operations/listproducts.js.map +1 -1
- package/models/operations/listresidualfees.d.ts +3 -0
- package/models/operations/listresidualfees.d.ts.map +1 -1
- package/models/operations/listresidualfees.js.map +1 -1
- package/models/operations/listresiduals.d.ts +3 -0
- package/models/operations/listresiduals.d.ts.map +1 -1
- package/models/operations/listresiduals.js.map +1 -1
- package/models/operations/listschedules.d.ts +3 -0
- package/models/operations/listschedules.d.ts.map +1 -1
- package/models/operations/listschedules.js.map +1 -1
- package/models/operations/liststatements.d.ts +3 -0
- package/models/operations/liststatements.d.ts.map +1 -1
- package/models/operations/liststatements.js.map +1 -1
- package/models/operations/listsweeps.d.ts +3 -0
- package/models/operations/listsweeps.d.ts.map +1 -1
- package/models/operations/listsweeps.js.map +1 -1
- package/models/operations/listtickets.d.ts +3 -0
- package/models/operations/listtickets.d.ts.map +1 -1
- package/models/operations/listtickets.js.map +1 -1
- package/models/operations/listtransfers.d.ts +4 -6
- package/models/operations/listtransfers.d.ts.map +1 -1
- package/models/operations/listtransfers.js +0 -2
- package/models/operations/listtransfers.js.map +1 -1
- package/models/operations/listwallets.d.ts +3 -0
- package/models/operations/listwallets.d.ts.map +1 -1
- package/models/operations/listwallets.js.map +1 -1
- package/models/operations/listwallettransactions.d.ts +3 -0
- package/models/operations/listwallettransactions.d.ts.map +1 -1
- package/models/operations/listwallettransactions.js.map +1 -1
- package/models/operations/retrievefees.d.ts +3 -0
- package/models/operations/retrievefees.d.ts.map +1 -1
- package/models/operations/retrievefees.js.map +1 -1
- package/package.json +1 -1
- package/sdk/bankaccounts.d.ts +30 -0
- package/sdk/bankaccounts.d.ts.map +1 -1
- package/sdk/bankaccounts.js +39 -0
- package/sdk/bankaccounts.js.map +1 -1
- package/sdk/cardissuing.d.ts +1 -1
- package/sdk/cardissuing.js +1 -1
- package/sdk/images.d.ts +1 -1
- package/sdk/images.js +1 -1
- package/sdk/institutions.d.ts +1 -1
- package/sdk/institutions.js +1 -1
- package/sdk/transfers.d.ts +10 -3
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +10 -3
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/bankAccountsCreateAttestation.ts +205 -0
- package/src/funcs/bankAccountsGetAttestationEligibility.ts +199 -0
- package/src/funcs/bankAccountsListAttestations.ts +179 -0
- package/src/funcs/cardIssuingGetFull.ts +1 -1
- package/src/funcs/imagesUpload.ts +6 -2
- package/src/funcs/institutionsSearch.ts +1 -1
- package/src/funcs/issuingTransactionsList.ts +1 -0
- package/src/funcs/transfersCreateCancellation.ts +6 -1
- package/src/funcs/transfersCreateCapture.ts +2 -1
- package/src/funcs/transfersCreateReversal.ts +3 -0
- package/src/funcs/transfersGetCapture.ts +1 -1
- package/src/funcs/transfersList.ts +0 -1
- package/src/funcs/transfersListCancellations.ts +1 -1
- package/src/funcs/transfersListCaptures.ts +2 -2
- package/src/funcs/transfersListRefunds.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +58 -23
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -1
- package/src/mcp-server/tools/bankAccountsCreateAttestation.ts +46 -0
- package/src/mcp-server/tools/bankAccountsGetAttestationEligibility.ts +46 -0
- package/src/mcp-server/tools/bankAccountsListAttestations.ts +35 -0
- package/src/mcp-server/tools/cardIssuingGetFull.ts +1 -1
- package/src/mcp-server/tools/imagesUpload.ts +1 -1
- package/src/mcp-server/tools/institutionsSearch.ts +1 -1
- package/src/mcp-server/tools/transfersCreateCancellation.ts +3 -0
- package/src/mcp-server/tools/transfersCreateCapture.ts +3 -1
- package/src/mcp-server/tools/transfersCreateReversal.ts +4 -1
- package/src/mcp-server/tools/transfersGetCapture.ts +2 -1
- package/src/mcp-server/tools/transfersListCancellations.ts +1 -1
- package/src/mcp-server/tools/transfersListCaptures.ts +2 -1
- package/src/models/components/achcredittransferprocessingdetails.ts +12 -0
- package/src/models/components/achdebittransferprocessingdetails.ts +12 -0
- package/src/models/components/achtransactionstatus.ts +37 -0
- package/src/models/components/adjustmentfees.ts +72 -0
- package/src/models/components/amountdecimalrange.ts +1 -3
- package/src/models/components/amountdecimalrangeupdate.ts +1 -3
- package/src/models/components/applicationscope.ts +1 -1
- package/src/models/components/asynccreatedrefund.ts +1 -1
- package/src/models/components/bankaccountattestation.ts +95 -0
- package/src/models/components/bankaccountattestationeligibility.ts +67 -0
- package/src/models/components/bankaccountattestationsummary.ts +83 -0
- package/src/models/components/billingadjustment.ts +78 -0
- package/src/models/components/billingsummary.ts +35 -19
- package/src/models/components/cancellation.ts +3 -0
- package/src/models/components/capture.ts +15 -3
- package/src/models/components/capturestatus.ts +0 -2
- package/src/models/components/cardacquiringrefund.ts +1 -1
- package/src/models/components/cardissuing.ts +61 -0
- package/src/models/components/cardissuingerror.ts +58 -0
- package/src/models/components/cardpaymenttransactionstatus.ts +38 -0
- package/src/models/components/cardpaymenttransferprocessingdetails.ts +19 -4
- package/src/models/components/cardtransactionfailurecode.ts +16 -0
- package/src/models/components/createbankaccountattestation.ts +69 -0
- package/src/models/components/createcancellation.ts +10 -0
- package/src/models/components/createcapture.ts +13 -4
- package/src/models/components/createdtransfer.ts +14 -0
- package/src/models/components/createfeeplanagreement.ts +18 -1
- package/src/models/components/createpaymentlink.ts +3 -0
- package/src/models/components/createrefund.ts +2 -2
- package/src/models/components/createreversal.ts +6 -1
- package/src/models/components/createtransfer.ts +1 -1
- package/src/models/components/createtransferdestination.ts +13 -0
- package/src/models/components/createtransferdestinationwire.ts +60 -0
- package/src/models/components/facilitatorfee.ts +16 -31
- package/src/models/components/feepaidby.ts +0 -6
- package/src/models/components/feeplanagreement.ts +15 -0
- package/src/models/components/fullissuedcard.ts +1 -0
- package/src/models/components/index.ts +22 -0
- package/src/models/components/instantbankcredittransferprocessingdetails.ts +12 -0
- package/src/models/components/instantbanktransactionstatus.ts +36 -0
- package/src/models/components/issuedcard.ts +1 -0
- package/src/models/components/issuedcardauthorization.ts +7 -0
- package/src/models/components/issuedcardstate.ts +3 -0
- package/src/models/components/issuedcardtransaction.ts +7 -0
- package/src/models/components/issuedcontrols.ts +1 -4
- package/src/models/components/issuingcontrols.ts +5 -5
- package/src/models/components/issuingcontrolsrestrictionmode.ts +2 -2
- package/src/models/components/merchantcategoryrestrictions.ts +2 -2
- package/src/models/components/merchantentry.ts +5 -5
- package/src/models/components/merchantentryerror.ts +4 -4
- package/src/models/components/merchantrestrictions.ts +1 -1
- package/src/models/components/partnerpricingagreement.ts +17 -2
- package/src/models/components/paymentlink.ts +4 -3
- package/src/models/components/paymentlinkcustomamountpaymentdetails.ts +1 -3
- package/src/models/components/paymentlinkcustomamountpaymentdetailsupdate.ts +1 -3
- package/src/models/components/paymentlinkpayoutdetails.ts +7 -8
- package/src/models/components/paymentlinkpayoutdetailsupdate.ts +7 -8
- package/src/models/components/paymentmethod.ts +11 -1
- package/src/models/components/paymentmethodtype.ts +1 -0
- package/src/models/components/pullfromcardtransactionstatus.ts +35 -0
- package/src/models/components/pullfromcardtransferprocessingdetails.ts +12 -0
- package/src/models/components/pushoptions.ts +4 -6
- package/src/models/components/pushoptionsupdate.ts +4 -6
- package/src/models/components/pushtocardtransactionstatus.ts +37 -0
- package/src/models/components/pushtocardtransferprocessingdetails.ts +12 -0
- package/src/models/components/requestcard.ts +3 -0
- package/src/models/components/requirementid.ts +30 -0
- package/src/models/components/reversalamountdetails.ts +5 -1
- package/src/models/components/reversedwithcancellation.ts +3 -0
- package/src/models/components/statement.ts +13 -0
- package/src/models/components/sweepconfig.ts +2 -2
- package/src/models/components/sweepconfigpaymentmethod.ts +1 -1
- package/src/models/components/transfer.ts +14 -0
- package/src/models/components/transferauthorization.ts +21 -0
- package/src/models/components/transferfeepaidby.ts +1 -1
- package/src/models/components/transferpaymentmethod.ts +11 -1
- package/src/models/components/transferpaymentmethodtype.ts +1 -0
- package/src/models/components/transferprocessingdetails.ts +13 -0
- package/src/models/components/transferrailoptions.ts +13 -0
- package/src/models/components/transfertype.ts +1 -0
- package/src/models/components/underwriting.ts +17 -0
- package/src/models/components/updateissuedcard.ts +2 -0
- package/src/models/components/updateissuedcardstate.ts +6 -0
- package/src/models/components/updateissuingcontrols.ts +10 -10
- package/src/models/components/updatepaymentlink.ts +3 -0
- package/src/models/components/upsertunderwriting.ts +17 -0
- package/src/models/components/wallettransactiontype.ts +1 -0
- package/src/models/components/webhookdata.ts +22 -2
- package/src/models/components/webhookdatacaptureupdated.ts +75 -0
- package/src/models/components/webhookdataeventtest.ts +55 -0
- package/src/models/components/webhookdatatransferstatus.ts +1 -0
- package/src/models/components/webhookeventtype.ts +2 -0
- package/src/models/components/wirecreditpaymentmethod.ts +75 -0
- package/src/models/components/wirecredittransferpaymentmethod.ts +77 -0
- package/src/models/components/wirefailurecode.ts +39 -0
- package/src/models/components/wireoptions.ts +54 -0
- package/src/models/components/wiretransactionstatus.ts +34 -0
- package/src/models/components/wiretransferprocessingdetails.ts +84 -0
- package/src/models/errors/bankaccountattestationvalidationerror.ts +91 -0
- package/src/models/errors/cardacquiringrefund.ts +2 -2
- package/src/models/errors/imagemetadata.ts +139 -0
- package/src/models/errors/index.ts +2 -0
- package/src/models/errors/transfer.ts +28 -0
- package/src/models/errors/upsertunderwritingerror.ts +6 -0
- package/src/models/operations/createbankaccountattestation.ts +136 -0
- package/src/models/operations/createcapture.ts +2 -2
- package/src/models/operations/getbankaccountattestationeligibility.ts +149 -0
- package/src/models/operations/getcapture.ts +2 -2
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/listaccounts.ts +3 -0
- package/src/models/operations/listbankaccountattestations.ts +121 -0
- package/src/models/operations/listcaptures.ts +2 -2
- package/src/models/operations/listconnectedaccountsforaccount.ts +3 -0
- package/src/models/operations/listdisputes.ts +3 -0
- package/src/models/operations/listfeeplanagreements.ts +3 -0
- package/src/models/operations/listfeerevenue.ts +3 -0
- package/src/models/operations/listinvoices.ts +3 -0
- package/src/models/operations/listissuedcardauthorizationevents.ts +3 -0
- package/src/models/operations/listissuedcardauthorizations.ts +3 -0
- package/src/models/operations/listissuedcards.ts +3 -0
- package/src/models/operations/listissuedcardtransactions.ts +10 -0
- package/src/models/operations/listpartnerpricingagreements.ts +3 -0
- package/src/models/operations/listpaymentlinks.ts +3 -0
- package/src/models/operations/listproducts.ts +3 -0
- package/src/models/operations/listresidualfees.ts +3 -0
- package/src/models/operations/listresiduals.ts +3 -0
- package/src/models/operations/listschedules.ts +3 -0
- package/src/models/operations/liststatements.ts +3 -0
- package/src/models/operations/listsweeps.ts +3 -0
- package/src/models/operations/listtickets.ts +3 -0
- package/src/models/operations/listtransfers.ts +4 -8
- package/src/models/operations/listwallets.ts +3 -0
- package/src/models/operations/listwallettransactions.ts +3 -0
- package/src/models/operations/retrievefees.ts +3 -0
- package/src/sdk/bankaccounts.ts +63 -0
- package/src/sdk/cardissuing.ts +1 -1
- package/src/sdk/images.ts +1 -1
- package/src/sdk/institutions.ts +1 -1
- package/src/sdk/transfers.ts +10 -3
|
@@ -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 * as types from "../../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Wire-specific options supplied when creating a transfer.
|
|
13
|
+
*/
|
|
14
|
+
export type CreateTransferDestinationWire = {
|
|
15
|
+
/**
|
|
16
|
+
* Optional beneficiary reference for the wire transfer. Maximum 15 characters.
|
|
17
|
+
*/
|
|
18
|
+
beneficiaryReference?: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const CreateTransferDestinationWire$inboundSchema: z.ZodType<
|
|
23
|
+
CreateTransferDestinationWire,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
beneficiaryReference: types.optional(types.string()),
|
|
28
|
+
});
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type CreateTransferDestinationWire$Outbound = {
|
|
31
|
+
beneficiaryReference?: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const CreateTransferDestinationWire$outboundSchema: z.ZodType<
|
|
36
|
+
CreateTransferDestinationWire$Outbound,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
CreateTransferDestinationWire
|
|
39
|
+
> = z.object({
|
|
40
|
+
beneficiaryReference: z.string().optional(),
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export function createTransferDestinationWireToJSON(
|
|
44
|
+
createTransferDestinationWire: CreateTransferDestinationWire,
|
|
45
|
+
): string {
|
|
46
|
+
return JSON.stringify(
|
|
47
|
+
CreateTransferDestinationWire$outboundSchema.parse(
|
|
48
|
+
createTransferDestinationWire,
|
|
49
|
+
),
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export function createTransferDestinationWireFromJSON(
|
|
53
|
+
jsonString: string,
|
|
54
|
+
): SafeParseResult<CreateTransferDestinationWire, SDKValidationError> {
|
|
55
|
+
return safeParse(
|
|
56
|
+
jsonString,
|
|
57
|
+
(x) => CreateTransferDestinationWire$inboundSchema.parse(JSON.parse(x)),
|
|
58
|
+
`Failed to parse 'CreateTransferDestinationWire' from JSON`,
|
|
59
|
+
);
|
|
60
|
+
}
|
|
@@ -7,34 +7,25 @@ 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
|
* Total or markup fee.
|
|
13
19
|
*/
|
|
14
20
|
export type FacilitatorFee = {
|
|
15
21
|
/**
|
|
16
|
-
* Total facilitator fee
|
|
22
|
+
* Total facilitator fee.
|
|
17
23
|
*/
|
|
18
|
-
total?:
|
|
24
|
+
total?: AmountDecimal | undefined;
|
|
19
25
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* @remarks
|
|
23
|
-
*
|
|
24
|
-
* Only either `total` or `totalDecimal` can be set. Set this field if you expect the fee to be in fractions of a cent.
|
|
26
|
+
* Markup facilitator fee.
|
|
25
27
|
*/
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Markup facilitator fee in cents. Only either `markup` or `markupDecimal` can be set.
|
|
29
|
-
*/
|
|
30
|
-
markup?: number | undefined;
|
|
31
|
-
/**
|
|
32
|
-
* Same as `markup`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.
|
|
33
|
-
*
|
|
34
|
-
* @remarks
|
|
35
|
-
* Only either `markup` or `markupDecimal` can be set. Set this field if you expect the fee to be in fractions of a cent.
|
|
36
|
-
*/
|
|
37
|
-
markupDecimal?: string | undefined;
|
|
28
|
+
markup?: AmountDecimal | undefined;
|
|
38
29
|
};
|
|
39
30
|
|
|
40
31
|
/** @internal */
|
|
@@ -43,17 +34,13 @@ export const FacilitatorFee$inboundSchema: z.ZodType<
|
|
|
43
34
|
z.ZodTypeDef,
|
|
44
35
|
unknown
|
|
45
36
|
> = z.object({
|
|
46
|
-
total: types.optional(
|
|
47
|
-
|
|
48
|
-
markup: types.optional(types.number()),
|
|
49
|
-
markupDecimal: types.optional(types.string()),
|
|
37
|
+
total: types.optional(AmountDecimal$inboundSchema),
|
|
38
|
+
markup: types.optional(AmountDecimal$inboundSchema),
|
|
50
39
|
});
|
|
51
40
|
/** @internal */
|
|
52
41
|
export type FacilitatorFee$Outbound = {
|
|
53
|
-
total?:
|
|
54
|
-
|
|
55
|
-
markup?: number | undefined;
|
|
56
|
-
markupDecimal?: string | undefined;
|
|
42
|
+
total?: AmountDecimal$Outbound | undefined;
|
|
43
|
+
markup?: AmountDecimal$Outbound | undefined;
|
|
57
44
|
};
|
|
58
45
|
|
|
59
46
|
/** @internal */
|
|
@@ -62,10 +49,8 @@ export const FacilitatorFee$outboundSchema: z.ZodType<
|
|
|
62
49
|
z.ZodTypeDef,
|
|
63
50
|
FacilitatorFee
|
|
64
51
|
> = z.object({
|
|
65
|
-
total:
|
|
66
|
-
|
|
67
|
-
markup: z.number().int().optional(),
|
|
68
|
-
markupDecimal: z.string().optional(),
|
|
52
|
+
total: AmountDecimal$outboundSchema.optional(),
|
|
53
|
+
markup: AmountDecimal$outboundSchema.optional(),
|
|
69
54
|
});
|
|
70
55
|
|
|
71
56
|
export function facilitatorFeeToJSON(facilitatorFee: FacilitatorFee): string {
|
|
@@ -6,16 +6,10 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import * as openEnums from "../../types/enums.js";
|
|
7
7
|
import { OpenEnum } from "../../types/enums.js";
|
|
8
8
|
|
|
9
|
-
/**
|
|
10
|
-
* Indicates which party to a money movement bears an incurred fee.
|
|
11
|
-
*/
|
|
12
9
|
export const FeePaidBy = {
|
|
13
10
|
Source: "source",
|
|
14
11
|
Destination: "destination",
|
|
15
12
|
} as const;
|
|
16
|
-
/**
|
|
17
|
-
* Indicates which party to a money movement bears an incurred fee.
|
|
18
|
-
*/
|
|
19
13
|
export type FeePaidBy = OpenEnum<typeof FeePaidBy>;
|
|
20
14
|
|
|
21
15
|
/** @internal */
|
|
@@ -72,6 +72,14 @@ export type FeePlanAgreement = {
|
|
|
72
72
|
* Fixed recurring amount paid in the billing period regardless of usage.
|
|
73
73
|
*/
|
|
74
74
|
monthlyPlatformFee: MonthlyPlatformFee;
|
|
75
|
+
/**
|
|
76
|
+
* The agreement this one replaced. Only set when the agreement was created by replacing another.
|
|
77
|
+
*/
|
|
78
|
+
priorAgreementID?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* The date and time the prior agreement was terminated.
|
|
81
|
+
*/
|
|
82
|
+
priorAgreementTerminatedOn?: Date | undefined;
|
|
75
83
|
};
|
|
76
84
|
|
|
77
85
|
/** @internal */
|
|
@@ -91,6 +99,8 @@ export const FeePlanAgreement$inboundSchema: z.ZodType<
|
|
|
91
99
|
billableFees: z.array(BillableFee$inboundSchema),
|
|
92
100
|
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
93
101
|
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
|
|
102
|
+
priorAgreementID: types.optional(types.string()),
|
|
103
|
+
priorAgreementTerminatedOn: types.optional(types.date()),
|
|
94
104
|
});
|
|
95
105
|
/** @internal */
|
|
96
106
|
export type FeePlanAgreement$Outbound = {
|
|
@@ -105,6 +115,8 @@ export type FeePlanAgreement$Outbound = {
|
|
|
105
115
|
billableFees: Array<BillableFee$Outbound>;
|
|
106
116
|
minimumCommitment: MinimumCommitment$Outbound;
|
|
107
117
|
monthlyPlatformFee: MonthlyPlatformFee$Outbound;
|
|
118
|
+
priorAgreementID?: string | undefined;
|
|
119
|
+
priorAgreementTerminatedOn?: string | undefined;
|
|
108
120
|
};
|
|
109
121
|
|
|
110
122
|
/** @internal */
|
|
@@ -124,6 +136,9 @@ export const FeePlanAgreement$outboundSchema: z.ZodType<
|
|
|
124
136
|
billableFees: z.array(BillableFee$outboundSchema),
|
|
125
137
|
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
126
138
|
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
|
|
139
|
+
priorAgreementID: z.string().optional(),
|
|
140
|
+
priorAgreementTerminatedOn: z.date().transform(v => v.toISOString())
|
|
141
|
+
.optional(),
|
|
127
142
|
});
|
|
128
143
|
|
|
129
144
|
export function feePlanAgreementToJSON(
|
|
@@ -81,6 +81,7 @@ export type FullIssuedCard = {
|
|
|
81
81
|
* @remarks
|
|
82
82
|
*
|
|
83
83
|
* - `active`: The card is operational and can approve authorizations.
|
|
84
|
+
* - `frozen`: The card is temporarily suspended and cannot approve authorizations. A frozen card can be reactivated by setting its state back to `active`.
|
|
84
85
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
85
86
|
*/
|
|
86
87
|
state: IssuedCardState;
|
|
@@ -31,12 +31,14 @@ export * from "./achpaymentdetails.js";
|
|
|
31
31
|
export * from "./achpaymentdetailserror.js";
|
|
32
32
|
export * from "./achpaymentsettings.js";
|
|
33
33
|
export * from "./achreturncode.js";
|
|
34
|
+
export * from "./achtransactionstatus.js";
|
|
34
35
|
export * from "./addcapabilities.js";
|
|
35
36
|
export * from "./address.js";
|
|
36
37
|
export * from "./addresserror.js";
|
|
37
38
|
export * from "./addresssuggestion.js";
|
|
38
39
|
export * from "./addressupdate.js";
|
|
39
40
|
export * from "./adjustment.js";
|
|
41
|
+
export * from "./adjustmentfees.js";
|
|
40
42
|
export * from "./allowedscheduleerror.js";
|
|
41
43
|
export * from "./amount.js";
|
|
42
44
|
export * from "./amountdecimal.js";
|
|
@@ -64,6 +66,9 @@ export * from "./authtoken.js";
|
|
|
64
66
|
export * from "./authtokenrequest.js";
|
|
65
67
|
export * from "./avataruploadrequest.js";
|
|
66
68
|
export * from "./bankaccount.js";
|
|
69
|
+
export * from "./bankaccountattestation.js";
|
|
70
|
+
export * from "./bankaccountattestationeligibility.js";
|
|
71
|
+
export * from "./bankaccountattestationsummary.js";
|
|
67
72
|
export * from "./bankaccountexception.js";
|
|
68
73
|
export * from "./bankaccountholdertype.js";
|
|
69
74
|
export * from "./bankaccountintegration.js";
|
|
@@ -79,6 +84,7 @@ export * from "./bankaccountwaitfor.js";
|
|
|
79
84
|
export * from "./basicpaymentmethod.js";
|
|
80
85
|
export * from "./batchgettransfersrequest.js";
|
|
81
86
|
export * from "./billablefee.js";
|
|
87
|
+
export * from "./billingadjustment.js";
|
|
82
88
|
export * from "./billingcountandamount.js";
|
|
83
89
|
export * from "./billinginterchangeprogramfee.js";
|
|
84
90
|
export * from "./billingsummary.js";
|
|
@@ -116,6 +122,8 @@ export * from "./cardbrand.js";
|
|
|
116
122
|
export * from "./cardbrandfees.js";
|
|
117
123
|
export * from "./cardexpiration.js";
|
|
118
124
|
export * from "./cardexpirationerror.js";
|
|
125
|
+
export * from "./cardissuing.js";
|
|
126
|
+
export * from "./cardissuingerror.js";
|
|
119
127
|
export * from "./cardissuingnetwork.js";
|
|
120
128
|
export * from "./cardmetadata.js";
|
|
121
129
|
export * from "./cardmetadatarequest.js";
|
|
@@ -125,6 +133,7 @@ export * from "./cardpaymentoptions.js";
|
|
|
125
133
|
export * from "./cardpaymentpaymentmethod.js";
|
|
126
134
|
export * from "./cardpaymentrefundprocessingdetails.js";
|
|
127
135
|
export * from "./cardpaymentsettings.js";
|
|
136
|
+
export * from "./cardpaymenttransactionstatus.js";
|
|
128
137
|
export * from "./cardpaymenttransferpaymentmethod.js";
|
|
129
138
|
export * from "./cardpaymenttransferprocessingdetails.js";
|
|
130
139
|
export * from "./cardpayouttype.js";
|
|
@@ -154,6 +163,7 @@ export * from "./createaccount.js";
|
|
|
154
163
|
export * from "./createaccountsettings.js";
|
|
155
164
|
export * from "./createaccounttype.js";
|
|
156
165
|
export * from "./createapplepaysession.js";
|
|
166
|
+
export * from "./createbankaccountattestation.js";
|
|
157
167
|
export * from "./createbusinesserror.js";
|
|
158
168
|
export * from "./createbusinessprofile.js";
|
|
159
169
|
export * from "./createcancellation.js";
|
|
@@ -209,6 +219,7 @@ export * from "./createtransferconfig.js";
|
|
|
209
219
|
export * from "./createtransferdestination.js";
|
|
210
220
|
export * from "./createtransferdestinationach.js";
|
|
211
221
|
export * from "./createtransferdestinationcard.js";
|
|
222
|
+
export * from "./createtransferdestinationwire.js";
|
|
212
223
|
export * from "./createtransferfacilitatorfee.js";
|
|
213
224
|
export * from "./createtransferlineitem.js";
|
|
214
225
|
export * from "./createtransferlineitemoption.js";
|
|
@@ -306,6 +317,7 @@ export * from "./instantbankcredittransferpaymentmethod.js";
|
|
|
306
317
|
export * from "./instantbankcredittransferprocessingdetails.js";
|
|
307
318
|
export * from "./instantbankfailurecode.js";
|
|
308
319
|
export * from "./instantbanknetwork.js";
|
|
320
|
+
export * from "./instantbanktransactionstatus.js";
|
|
309
321
|
export * from "./instantpaymentfees.js";
|
|
310
322
|
export * from "./institutionssearchresponse.js";
|
|
311
323
|
export * from "./invoice.js";
|
|
@@ -450,6 +462,7 @@ export * from "./pullfromapplepaypaymentmethod.js";
|
|
|
450
462
|
export * from "./pullfromapplepaytransferpaymentmethod.js";
|
|
451
463
|
export * from "./pullfromcardoptions.js";
|
|
452
464
|
export * from "./pullfromcardpaymentmethod.js";
|
|
465
|
+
export * from "./pullfromcardtransactionstatus.js";
|
|
453
466
|
export * from "./pullfromcardtransferpaymentmethod.js";
|
|
454
467
|
export * from "./pullfromcardtransferprocessingdetails.js";
|
|
455
468
|
export * from "./pullfromgooglepaypaymentmethod.js";
|
|
@@ -462,6 +475,7 @@ export * from "./pushtoapplepaypaymentmethod.js";
|
|
|
462
475
|
export * from "./pushtoapplepaytransferpaymentmethod.js";
|
|
463
476
|
export * from "./pushtocardoptions.js";
|
|
464
477
|
export * from "./pushtocardpaymentmethod.js";
|
|
478
|
+
export * from "./pushtocardtransactionstatus.js";
|
|
465
479
|
export * from "./pushtocardtransferpaymentmethod.js";
|
|
466
480
|
export * from "./pushtocardtransferprocessingdetails.js";
|
|
467
481
|
export * from "./pushtogooglepaypaymentmethod.js";
|
|
@@ -643,9 +657,11 @@ export * from "./webhookdatacancellationcreated.js";
|
|
|
643
657
|
export * from "./webhookdatacancellationupdated.js";
|
|
644
658
|
export * from "./webhookdatacapabilityrequested.js";
|
|
645
659
|
export * from "./webhookdatacapabilityupdated.js";
|
|
660
|
+
export * from "./webhookdatacaptureupdated.js";
|
|
646
661
|
export * from "./webhookdatacardautoupdated.js";
|
|
647
662
|
export * from "./webhookdatadisputecreated.js";
|
|
648
663
|
export * from "./webhookdatadisputeupdated.js";
|
|
664
|
+
export * from "./webhookdataeventtest.js";
|
|
649
665
|
export * from "./webhookdatainvoicecreated.js";
|
|
650
666
|
export * from "./webhookdatainvoiceupdated.js";
|
|
651
667
|
export * from "./webhookdatanetworkidupdated.js";
|
|
@@ -674,5 +690,11 @@ export * from "./webhookeventtype.js";
|
|
|
674
690
|
export * from "./webhooksecret.js";
|
|
675
691
|
export * from "./webhookstatus.js";
|
|
676
692
|
export * from "./webhooktransferpaymentmethoddetails.js";
|
|
693
|
+
export * from "./wirecreditpaymentmethod.js";
|
|
694
|
+
export * from "./wirecredittransferpaymentmethod.js";
|
|
695
|
+
export * from "./wirefailurecode.js";
|
|
677
696
|
export * from "./wireinstitution.js";
|
|
697
|
+
export * from "./wireoptions.js";
|
|
678
698
|
export * from "./wireservices.js";
|
|
699
|
+
export * from "./wiretransactionstatus.js";
|
|
700
|
+
export * from "./wiretransferprocessingdetails.js";
|
|
@@ -17,8 +17,17 @@ import {
|
|
|
17
17
|
InstantBankNetwork$inboundSchema,
|
|
18
18
|
InstantBankNetwork$outboundSchema,
|
|
19
19
|
} from "./instantbanknetwork.js";
|
|
20
|
+
import {
|
|
21
|
+
InstantBankTransactionStatus,
|
|
22
|
+
InstantBankTransactionStatus$inboundSchema,
|
|
23
|
+
InstantBankTransactionStatus$outboundSchema,
|
|
24
|
+
} from "./instantbanktransactionstatus.js";
|
|
20
25
|
|
|
21
26
|
export type InstantBankCreditTransferProcessingDetails = {
|
|
27
|
+
/**
|
|
28
|
+
* Status of a transaction within the instant-bank lifecycle.
|
|
29
|
+
*/
|
|
30
|
+
status: InstantBankTransactionStatus;
|
|
22
31
|
/**
|
|
23
32
|
* The network that the transaction was processed on.
|
|
24
33
|
*/
|
|
@@ -35,6 +44,7 @@ export type InstantBankCreditTransferProcessingDetails = {
|
|
|
35
44
|
export const InstantBankCreditTransferProcessingDetails$inboundSchema:
|
|
36
45
|
z.ZodType<InstantBankCreditTransferProcessingDetails, z.ZodTypeDef, unknown> =
|
|
37
46
|
z.object({
|
|
47
|
+
status: InstantBankTransactionStatus$inboundSchema,
|
|
38
48
|
network: InstantBankNetwork$inboundSchema,
|
|
39
49
|
networkResponseCode: types.optional(types.string()),
|
|
40
50
|
failureCode: types.optional(InstantBankFailureCode$inboundSchema),
|
|
@@ -42,6 +52,7 @@ export const InstantBankCreditTransferProcessingDetails$inboundSchema:
|
|
|
42
52
|
});
|
|
43
53
|
/** @internal */
|
|
44
54
|
export type InstantBankCreditTransferProcessingDetails$Outbound = {
|
|
55
|
+
status: string;
|
|
45
56
|
network: string;
|
|
46
57
|
networkResponseCode?: string | undefined;
|
|
47
58
|
failureCode?: string | undefined;
|
|
@@ -55,6 +66,7 @@ export const InstantBankCreditTransferProcessingDetails$outboundSchema:
|
|
|
55
66
|
z.ZodTypeDef,
|
|
56
67
|
InstantBankCreditTransferProcessingDetails
|
|
57
68
|
> = z.object({
|
|
69
|
+
status: InstantBankTransactionStatus$outboundSchema,
|
|
58
70
|
network: InstantBankNetwork$outboundSchema,
|
|
59
71
|
networkResponseCode: z.string().optional(),
|
|
60
72
|
failureCode: InstantBankFailureCode$outboundSchema.optional(),
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Status of a transaction within the instant-bank lifecycle.
|
|
11
|
+
*/
|
|
12
|
+
export const InstantBankTransactionStatus = {
|
|
13
|
+
Initiated: "initiated",
|
|
14
|
+
Completed: "completed",
|
|
15
|
+
Failed: "failed",
|
|
16
|
+
AcceptedWithoutPosting: "accepted-without-posting",
|
|
17
|
+
} as const;
|
|
18
|
+
/**
|
|
19
|
+
* Status of a transaction within the instant-bank lifecycle.
|
|
20
|
+
*/
|
|
21
|
+
export type InstantBankTransactionStatus = OpenEnum<
|
|
22
|
+
typeof InstantBankTransactionStatus
|
|
23
|
+
>;
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const InstantBankTransactionStatus$inboundSchema: z.ZodType<
|
|
27
|
+
InstantBankTransactionStatus,
|
|
28
|
+
z.ZodTypeDef,
|
|
29
|
+
unknown
|
|
30
|
+
> = openEnums.inboundSchema(InstantBankTransactionStatus);
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const InstantBankTransactionStatus$outboundSchema: z.ZodType<
|
|
33
|
+
string,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
InstantBankTransactionStatus
|
|
36
|
+
> = openEnums.outboundSchema(InstantBankTransactionStatus);
|
|
@@ -78,6 +78,7 @@ export type IssuedCard = {
|
|
|
78
78
|
* @remarks
|
|
79
79
|
*
|
|
80
80
|
* - `active`: The card is operational and can approve authorizations.
|
|
81
|
+
* - `frozen`: The card is temporarily suspended and cannot approve authorizations. A frozen card can be reactivated by setting its state back to `active`.
|
|
81
82
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
82
83
|
*/
|
|
83
84
|
state: IssuedCardState;
|
|
@@ -27,6 +27,10 @@ import {
|
|
|
27
27
|
export type IssuedCardAuthorization = {
|
|
28
28
|
authorizationID: string;
|
|
29
29
|
issuedCardID: string;
|
|
30
|
+
/**
|
|
31
|
+
* Last four digits of the card number. Omitted for authorizations recorded before this was captured.
|
|
32
|
+
*/
|
|
33
|
+
lastFourCardNumber?: string | undefined;
|
|
30
34
|
fundingWalletID: string;
|
|
31
35
|
/**
|
|
32
36
|
* The name of the network a card transaction is routed through.
|
|
@@ -56,6 +60,7 @@ export const IssuedCardAuthorization$inboundSchema: z.ZodType<
|
|
|
56
60
|
> = z.object({
|
|
57
61
|
authorizationID: types.string(),
|
|
58
62
|
issuedCardID: types.string(),
|
|
63
|
+
lastFourCardNumber: types.optional(types.string()),
|
|
59
64
|
fundingWalletID: types.string(),
|
|
60
65
|
network: CardIssuingNetwork$inboundSchema,
|
|
61
66
|
authorizedAmount: types.string(),
|
|
@@ -68,6 +73,7 @@ export const IssuedCardAuthorization$inboundSchema: z.ZodType<
|
|
|
68
73
|
export type IssuedCardAuthorization$Outbound = {
|
|
69
74
|
authorizationID: string;
|
|
70
75
|
issuedCardID: string;
|
|
76
|
+
lastFourCardNumber?: string | undefined;
|
|
71
77
|
fundingWalletID: string;
|
|
72
78
|
network: string;
|
|
73
79
|
authorizedAmount: string;
|
|
@@ -85,6 +91,7 @@ export const IssuedCardAuthorization$outboundSchema: z.ZodType<
|
|
|
85
91
|
> = z.object({
|
|
86
92
|
authorizationID: z.string(),
|
|
87
93
|
issuedCardID: z.string(),
|
|
94
|
+
lastFourCardNumber: z.string().optional(),
|
|
88
95
|
fundingWalletID: z.string(),
|
|
89
96
|
network: CardIssuingNetwork$outboundSchema,
|
|
90
97
|
authorizedAmount: z.string(),
|
|
@@ -12,10 +12,12 @@ import { OpenEnum } from "../../types/enums.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
*
|
|
14
14
|
* - `active`: The card is operational and can approve authorizations.
|
|
15
|
+
* - `frozen`: The card is temporarily suspended and cannot approve authorizations. A frozen card can be reactivated by setting its state back to `active`.
|
|
15
16
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
16
17
|
*/
|
|
17
18
|
export const IssuedCardState = {
|
|
18
19
|
Active: "active",
|
|
20
|
+
Frozen: "frozen",
|
|
19
21
|
Closed: "closed",
|
|
20
22
|
} as const;
|
|
21
23
|
/**
|
|
@@ -24,6 +26,7 @@ export const IssuedCardState = {
|
|
|
24
26
|
* @remarks
|
|
25
27
|
*
|
|
26
28
|
* - `active`: The card is operational and can approve authorizations.
|
|
29
|
+
* - `frozen`: The card is temporarily suspended and cannot approve authorizations. A frozen card can be reactivated by setting its state back to `active`.
|
|
27
30
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
28
31
|
*/
|
|
29
32
|
export type IssuedCardState = OpenEnum<typeof IssuedCardState>;
|
|
@@ -17,6 +17,10 @@ import {
|
|
|
17
17
|
export type IssuedCardTransaction = {
|
|
18
18
|
cardTransactionID: string;
|
|
19
19
|
issuedCardID: string;
|
|
20
|
+
/**
|
|
21
|
+
* Last four digits of the card number. Omitted for transactions recorded before this was captured.
|
|
22
|
+
*/
|
|
23
|
+
lastFourCardNumber?: string | undefined;
|
|
20
24
|
fundingWalletID: string;
|
|
21
25
|
/**
|
|
22
26
|
* A decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99.
|
|
@@ -36,6 +40,7 @@ export const IssuedCardTransaction$inboundSchema: z.ZodType<
|
|
|
36
40
|
> = z.object({
|
|
37
41
|
cardTransactionID: types.string(),
|
|
38
42
|
issuedCardID: types.string(),
|
|
43
|
+
lastFourCardNumber: types.optional(types.string()),
|
|
39
44
|
fundingWalletID: types.string(),
|
|
40
45
|
amount: types.string(),
|
|
41
46
|
authorizationID: types.optional(types.string()),
|
|
@@ -47,6 +52,7 @@ export const IssuedCardTransaction$inboundSchema: z.ZodType<
|
|
|
47
52
|
export type IssuedCardTransaction$Outbound = {
|
|
48
53
|
cardTransactionID: string;
|
|
49
54
|
issuedCardID: string;
|
|
55
|
+
lastFourCardNumber?: string | undefined;
|
|
50
56
|
fundingWalletID: string;
|
|
51
57
|
amount: string;
|
|
52
58
|
authorizationID?: string | undefined;
|
|
@@ -63,6 +69,7 @@ export const IssuedCardTransaction$outboundSchema: z.ZodType<
|
|
|
63
69
|
> = z.object({
|
|
64
70
|
cardTransactionID: z.string(),
|
|
65
71
|
issuedCardID: z.string(),
|
|
72
|
+
lastFourCardNumber: z.string().optional(),
|
|
66
73
|
fundingWalletID: z.string(),
|
|
67
74
|
amount: z.string(),
|
|
68
75
|
authorizationID: z.string().optional(),
|
|
@@ -63,12 +63,9 @@ export type IssuedControls = {
|
|
|
63
63
|
*/
|
|
64
64
|
merchantCategoryRestrictions?: MerchantCategoryRestrictions | undefined;
|
|
65
65
|
/**
|
|
66
|
-
* Restricts card usage to specific merchants,
|
|
66
|
+
* Restricts card usage to specific merchants, independent of merchant category.
|
|
67
67
|
*/
|
|
68
68
|
merchantRestrictions?: MerchantRestrictions | undefined;
|
|
69
|
-
/**
|
|
70
|
-
* Limits card usage to specific days and times.
|
|
71
|
-
*/
|
|
72
69
|
allowedSchedule?: IssuedControlsAllowedSchedule | null | undefined;
|
|
73
70
|
/**
|
|
74
71
|
* A spend cutoff date and time. When set, all authorizations after this datetime are declined regardless of other controls.
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./schedulewindow.js";
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
* Limits card usage to specific days and times.
|
|
36
|
+
* Limits card usage to specific days and times.
|
|
37
37
|
*/
|
|
38
38
|
export type AllowedSchedule = {
|
|
39
39
|
/**
|
|
@@ -46,6 +46,9 @@ export type AllowedSchedule = {
|
|
|
46
46
|
windows: Array<ScheduleWindow>;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* Mutable spend controls for the card.
|
|
51
|
+
*/
|
|
49
52
|
export type IssuingControls = {
|
|
50
53
|
/**
|
|
51
54
|
* Indicates if the card is single-use. If true, the card closes after the first authorization.
|
|
@@ -60,12 +63,9 @@ export type IssuingControls = {
|
|
|
60
63
|
*/
|
|
61
64
|
merchantCategoryRestrictions?: MerchantCategoryRestrictions | undefined;
|
|
62
65
|
/**
|
|
63
|
-
* Restricts card usage to specific merchants,
|
|
66
|
+
* Restricts card usage to specific merchants, independent of merchant category.
|
|
64
67
|
*/
|
|
65
68
|
merchantRestrictions?: MerchantRestrictions | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* Limits card usage to specific days and times. Set to `null` to remove all schedule restrictions.
|
|
68
|
-
*/
|
|
69
69
|
allowedSchedule?: AllowedSchedule | null | undefined;
|
|
70
70
|
/**
|
|
71
71
|
* A spend cutoff date and time. When set, all authorizations after this datetime are declined regardless of other controls. Set to `null` for no cutoff.
|
|
@@ -7,14 +7,14 @@ import * as openEnums from "../../types/enums.js";
|
|
|
7
7
|
import { OpenEnum } from "../../types/enums.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Whether the listed items
|
|
10
|
+
* Whether the listed items should be allowed (`allow`) or blocked (`block`).
|
|
11
11
|
*/
|
|
12
12
|
export const IssuingControlsRestrictionMode = {
|
|
13
13
|
Allow: "allow",
|
|
14
14
|
Block: "block",
|
|
15
15
|
} as const;
|
|
16
16
|
/**
|
|
17
|
-
* Whether the listed items
|
|
17
|
+
* Whether the listed items should be allowed (`allow`) or blocked (`block`).
|
|
18
18
|
*/
|
|
19
19
|
export type IssuingControlsRestrictionMode = OpenEnum<
|
|
20
20
|
typeof IssuingControlsRestrictionMode
|
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
} from "./merchantentry.js";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* Restricts card usage by merchant category.
|
|
28
|
+
* Restricts card usage by merchant category. When not set, all categories are allowed.
|
|
29
29
|
*/
|
|
30
30
|
export type MerchantCategoryRestrictions = {
|
|
31
31
|
/**
|
|
32
|
-
* Whether the listed
|
|
32
|
+
* Whether the listed items should be allowed (`allow`) or blocked (`block`).
|
|
33
33
|
*/
|
|
34
34
|
mode: IssuingControlsRestrictionMode;
|
|
35
35
|
/**
|
|
@@ -9,13 +9,13 @@ import * as types from "../../types/primitives.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Identifies a merchant by ID, descriptor pattern, or both. At least one of `
|
|
12
|
+
* Identifies a merchant by ID, descriptor pattern, or both. At least one of `networkID` or `descriptorPattern` must be set.
|
|
13
13
|
*/
|
|
14
14
|
export type MerchantEntry = {
|
|
15
15
|
/**
|
|
16
16
|
* The merchant's unique identifier (ISO 8583 DE42), matched exactly.
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
networkID?: string | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* A case-insensitive RE2 regular expression matched against the merchant descriptor (ISO 8583 DE43).
|
|
21
21
|
*/
|
|
@@ -32,13 +32,13 @@ export const MerchantEntry$inboundSchema: z.ZodType<
|
|
|
32
32
|
z.ZodTypeDef,
|
|
33
33
|
unknown
|
|
34
34
|
> = z.object({
|
|
35
|
-
|
|
35
|
+
networkID: types.optional(types.string()),
|
|
36
36
|
descriptorPattern: types.optional(types.string()),
|
|
37
37
|
name: types.optional(types.string()),
|
|
38
38
|
});
|
|
39
39
|
/** @internal */
|
|
40
40
|
export type MerchantEntry$Outbound = {
|
|
41
|
-
|
|
41
|
+
networkID?: string | undefined;
|
|
42
42
|
descriptorPattern?: string | undefined;
|
|
43
43
|
name?: string | undefined;
|
|
44
44
|
};
|
|
@@ -49,7 +49,7 @@ export const MerchantEntry$outboundSchema: z.ZodType<
|
|
|
49
49
|
z.ZodTypeDef,
|
|
50
50
|
MerchantEntry
|
|
51
51
|
> = z.object({
|
|
52
|
-
|
|
52
|
+
networkID: z.string().optional(),
|
|
53
53
|
descriptorPattern: z.string().optional(),
|
|
54
54
|
name: z.string().optional(),
|
|
55
55
|
});
|
|
@@ -9,7 +9,7 @@ import * as types from "../../types/primitives.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export type MerchantEntryError = {
|
|
12
|
-
|
|
12
|
+
networkID?: string | undefined;
|
|
13
13
|
descriptorPattern?: string | undefined;
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -19,12 +19,12 @@ export const MerchantEntryError$inboundSchema: z.ZodType<
|
|
|
19
19
|
z.ZodTypeDef,
|
|
20
20
|
unknown
|
|
21
21
|
> = z.object({
|
|
22
|
-
|
|
22
|
+
networkID: types.optional(types.string()),
|
|
23
23
|
descriptorPattern: types.optional(types.string()),
|
|
24
24
|
});
|
|
25
25
|
/** @internal */
|
|
26
26
|
export type MerchantEntryError$Outbound = {
|
|
27
|
-
|
|
27
|
+
networkID?: string | undefined;
|
|
28
28
|
descriptorPattern?: string | undefined;
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -34,7 +34,7 @@ export const MerchantEntryError$outboundSchema: z.ZodType<
|
|
|
34
34
|
z.ZodTypeDef,
|
|
35
35
|
MerchantEntryError
|
|
36
36
|
> = z.object({
|
|
37
|
-
|
|
37
|
+
networkID: z.string().optional(),
|
|
38
38
|
descriptorPattern: z.string().optional(),
|
|
39
39
|
});
|
|
40
40
|
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
*/
|
|
24
24
|
export type MerchantRestrictions = {
|
|
25
25
|
/**
|
|
26
|
-
* Whether the listed
|
|
26
|
+
* Whether the listed items should be allowed (`allow`) or blocked (`block`).
|
|
27
27
|
*/
|
|
28
28
|
mode: IssuingControlsRestrictionMode;
|
|
29
29
|
/**
|