@moovio/sdk 26.10.0-dev.2 → 26.10.0-dev.3
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 +2501 -1424
- package/bin/mcp-server.js.map +168 -136
- 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 +21 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +21 -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/issuedcardstate.d.ts +3 -0
- package/models/components/issuedcardstate.d.ts.map +1 -1
- package/models/components/issuedcardstate.js +2 -0
- package/models/components/issuedcardstate.js.map +1 -1
- package/models/components/issuedcontrols.d.ts +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 +3 -2
- package/models/components/webhookdata.d.ts.map +1 -1
- package/models/components/webhookdata.js +3 -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/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 +1 -0
- package/models/components/webhookeventtype.d.ts.map +1 -1
- package/models/components/webhookeventtype.js +1 -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 +21 -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/issuedcardstate.ts +3 -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 +10 -0
- package/src/models/components/webhookdatacaptureupdated.ts +75 -0
- package/src/models/components/webhookdatatransferstatus.ts +1 -0
- package/src/models/components/webhookeventtype.ts +1 -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,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;
|
|
@@ -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>;
|
|
@@ -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
|
/**
|
|
@@ -73,11 +73,19 @@ export type PartnerPricingAgreement = {
|
|
|
73
73
|
*/
|
|
74
74
|
monthlyPlatformFee: MonthlyPlatformFee;
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
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;
|
|
83
|
+
/**
|
|
84
|
+
* The decimal-formatted numerical string of the revenue split for partner.
|
|
77
85
|
*
|
|
78
86
|
* @remarks
|
|
79
87
|
*
|
|
80
|
-
*
|
|
88
|
+
* For example, 2.25% is '2.25'.
|
|
81
89
|
*/
|
|
82
90
|
revenueShare: string;
|
|
83
91
|
};
|
|
@@ -99,6 +107,8 @@ export const PartnerPricingAgreement$inboundSchema: z.ZodType<
|
|
|
99
107
|
billableFees: z.array(BillableFee$inboundSchema),
|
|
100
108
|
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
101
109
|
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
|
|
110
|
+
priorAgreementID: types.optional(types.string()),
|
|
111
|
+
priorAgreementTerminatedOn: types.optional(types.date()),
|
|
102
112
|
revenueShare: types.string(),
|
|
103
113
|
});
|
|
104
114
|
/** @internal */
|
|
@@ -114,6 +124,8 @@ export type PartnerPricingAgreement$Outbound = {
|
|
|
114
124
|
billableFees: Array<BillableFee$Outbound>;
|
|
115
125
|
minimumCommitment: MinimumCommitment$Outbound;
|
|
116
126
|
monthlyPlatformFee: MonthlyPlatformFee$Outbound;
|
|
127
|
+
priorAgreementID?: string | undefined;
|
|
128
|
+
priorAgreementTerminatedOn?: string | undefined;
|
|
117
129
|
revenueShare: string;
|
|
118
130
|
};
|
|
119
131
|
|
|
@@ -134,6 +146,9 @@ export const PartnerPricingAgreement$outboundSchema: z.ZodType<
|
|
|
134
146
|
billableFees: z.array(BillableFee$outboundSchema),
|
|
135
147
|
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
136
148
|
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
|
|
149
|
+
priorAgreementID: z.string().optional(),
|
|
150
|
+
priorAgreementTerminatedOn: z.date().transform(v => v.toISOString())
|
|
151
|
+
.optional(),
|
|
137
152
|
revenueShare: z.string(),
|
|
138
153
|
});
|
|
139
154
|
|
|
@@ -138,13 +138,14 @@ export type PaymentLink = {
|
|
|
138
138
|
* Options for payment links used to collect payment.
|
|
139
139
|
*/
|
|
140
140
|
payment?: PaymentLinkPaymentDetails | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* Options for payout links used to send a payout.
|
|
143
|
+
*/
|
|
141
144
|
payout?: PaymentLinkPayoutDetails | undefined;
|
|
142
145
|
/**
|
|
143
|
-
*
|
|
146
|
+
* A custom amount payment link shares all the options of a `payment` link, but the payor chooses how much to
|
|
144
147
|
*
|
|
145
148
|
* @remarks
|
|
146
|
-
*
|
|
147
|
-
* A custom amount payment link shares all the options of a `payment` link, but the payor chooses how much to
|
|
148
149
|
* pay rather than the merchant fixing the amount. The amount may optionally be constrained to a range.
|
|
149
150
|
*/
|
|
150
151
|
customAmountPayment?: PaymentLinkCustomAmountPaymentDetails | undefined;
|
|
@@ -38,11 +38,9 @@ import {
|
|
|
38
38
|
} from "./collectionpaymentmethodtype.js";
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* A custom amount payment link shares all the options of a `payment` link, but the payor chooses how much to
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
|
-
*
|
|
45
|
-
* A custom amount payment link shares all the options of a `payment` link, but the payor chooses how much to
|
|
46
44
|
* pay rather than the merchant fixing the amount. The amount may optionally be constrained to a range.
|
|
47
45
|
*/
|
|
48
46
|
export type PaymentLinkCustomAmountPaymentDetails = {
|
|
@@ -38,11 +38,9 @@ import {
|
|
|
38
38
|
} from "./collectionpaymentmethodtype.js";
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* A custom amount payment link shares all the options of a `payment` link, but the payor chooses how much to
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
|
-
*
|
|
45
|
-
* A custom amount payment link shares all the options of a `payment` link, but the payor chooses how much to
|
|
46
44
|
* pay rather than the merchant fixing the amount. The amount may optionally be constrained to a range.
|
|
47
45
|
*/
|
|
48
46
|
export type PaymentLinkCustomAmountPaymentDetailsUpdate = {
|
|
@@ -30,6 +30,9 @@ import {
|
|
|
30
30
|
PushOptions$outboundSchema,
|
|
31
31
|
} from "./pushoptions.js";
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* Options for payout links used to send a payout.
|
|
35
|
+
*/
|
|
33
36
|
export type PaymentLinkPayoutDetails = {
|
|
34
37
|
/**
|
|
35
38
|
* A list of payment methods that should be supported for this payment link.
|
|
@@ -49,20 +52,16 @@ export type PaymentLinkPayoutDetails = {
|
|
|
49
52
|
*/
|
|
50
53
|
metadata?: { [k: string]: string } | undefined;
|
|
51
54
|
/**
|
|
52
|
-
* Delivery options for push-to-card
|
|
53
|
-
*
|
|
54
|
-
* @remarks
|
|
55
|
-
*
|
|
56
|
-
* The `deferred` speed and `deferredBy` apply to `push-to-card` only. Other push methods
|
|
57
|
-
* (`push-to-apple-pay`, `push-to-google-pay`) are always delivered instantly regardless of these options.
|
|
55
|
+
* Delivery options for `push-to-card` and `push-to-apple-pay` payouts.
|
|
58
56
|
*/
|
|
59
57
|
pushOptions?: PushOptions | undefined;
|
|
60
58
|
/**
|
|
61
|
-
* Indicates which party
|
|
59
|
+
* Indicates which party pays the fee, keyed by `PayoutFeePaidByKey`. If keys are not set,
|
|
62
60
|
*
|
|
63
61
|
* @remarks
|
|
62
|
+
* the default is `source`.
|
|
64
63
|
*
|
|
65
|
-
*
|
|
64
|
+
* Possible `PayoutFeePaidByKey` keys: `instant-push-to-card`, `deferred-push-to-card`, `instant-push-to-apple-pay`, `deferred-push-to-apple-pay`, `instant-bank-credit` (API v2026.01.00 and later), `rtp-credit`, `ach-credit-same-day`, `ach-credit-standard`, `push-to-google-pay`
|
|
66
65
|
*/
|
|
67
66
|
feePaidBy?: { [k: string]: FeePaidBy } | undefined;
|
|
68
67
|
};
|
|
@@ -30,6 +30,9 @@ import {
|
|
|
30
30
|
PushOptionsUpdate$outboundSchema,
|
|
31
31
|
} from "./pushoptionsupdate.js";
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* Options for payout links used to send a payout.
|
|
35
|
+
*/
|
|
33
36
|
export type PaymentLinkPayoutDetailsUpdate = {
|
|
34
37
|
/**
|
|
35
38
|
* A list of payment methods that should be supported for this payment link.
|
|
@@ -49,20 +52,16 @@ export type PaymentLinkPayoutDetailsUpdate = {
|
|
|
49
52
|
*/
|
|
50
53
|
metadata?: { [k: string]: string } | undefined;
|
|
51
54
|
/**
|
|
52
|
-
* Delivery options for push-to-card
|
|
53
|
-
*
|
|
54
|
-
* @remarks
|
|
55
|
-
*
|
|
56
|
-
* The `deferred` speed and `deferredBy` apply to `push-to-card` only. Other push methods
|
|
57
|
-
* (`push-to-apple-pay`, `push-to-google-pay`) are always delivered instantly regardless of these options.
|
|
55
|
+
* Delivery options for `push-to-card` and `push-to-apple-pay` payouts.
|
|
58
56
|
*/
|
|
59
57
|
pushOptions?: PushOptionsUpdate | undefined;
|
|
60
58
|
/**
|
|
61
|
-
* Indicates which party
|
|
59
|
+
* Indicates which party pays the fee, keyed by `PayoutFeePaidByKey`. If keys are not set,
|
|
62
60
|
*
|
|
63
61
|
* @remarks
|
|
62
|
+
* the default is `source`.
|
|
64
63
|
*
|
|
65
|
-
*
|
|
64
|
+
* Possible `PayoutFeePaidByKey` keys: `instant-push-to-card`, `deferred-push-to-card`, `instant-push-to-apple-pay`, `deferred-push-to-apple-pay`, `rtp-credit`, `ach-credit-same-day`, `ach-credit-standard`, `push-to-google-pay`
|
|
66
65
|
*/
|
|
67
66
|
feePaidBy?: { [k: string]: FeePaidBy } | undefined;
|
|
68
67
|
};
|
|
@@ -110,6 +110,12 @@ import {
|
|
|
110
110
|
RtpCreditPaymentMethod$Outbound,
|
|
111
111
|
RtpCreditPaymentMethod$outboundSchema,
|
|
112
112
|
} from "./rtpcreditpaymentmethod.js";
|
|
113
|
+
import {
|
|
114
|
+
WireCreditPaymentMethod,
|
|
115
|
+
WireCreditPaymentMethod$inboundSchema,
|
|
116
|
+
WireCreditPaymentMethod$Outbound,
|
|
117
|
+
WireCreditPaymentMethod$outboundSchema,
|
|
118
|
+
} from "./wirecreditpaymentmethod.js";
|
|
113
119
|
|
|
114
120
|
/**
|
|
115
121
|
* A method of moving money
|
|
@@ -132,6 +138,7 @@ export type PaymentMethod =
|
|
|
132
138
|
| GooglePayPaymentMethod
|
|
133
139
|
| PushToGooglePayPaymentMethod
|
|
134
140
|
| PullFromGooglePayPaymentMethod
|
|
141
|
+
| WireCreditPaymentMethod
|
|
135
142
|
| discriminatedUnionTypes.Unknown<"paymentMethodType">;
|
|
136
143
|
|
|
137
144
|
/** @internal */
|
|
@@ -157,6 +164,7 @@ export const PaymentMethod$inboundSchema: z.ZodType<
|
|
|
157
164
|
["google-pay"]: GooglePayPaymentMethod$inboundSchema,
|
|
158
165
|
["push-to-google-pay"]: PushToGooglePayPaymentMethod$inboundSchema,
|
|
159
166
|
["pull-from-google-pay"]: PullFromGooglePayPaymentMethod$inboundSchema,
|
|
167
|
+
["wire-credit"]: WireCreditPaymentMethod$inboundSchema,
|
|
160
168
|
});
|
|
161
169
|
/** @internal */
|
|
162
170
|
export type PaymentMethod$Outbound =
|
|
@@ -176,7 +184,8 @@ export type PaymentMethod$Outbound =
|
|
|
176
184
|
| PullFromApplePayPaymentMethod$Outbound
|
|
177
185
|
| GooglePayPaymentMethod$Outbound
|
|
178
186
|
| PushToGooglePayPaymentMethod$Outbound
|
|
179
|
-
| PullFromGooglePayPaymentMethod$Outbound
|
|
187
|
+
| PullFromGooglePayPaymentMethod$Outbound
|
|
188
|
+
| WireCreditPaymentMethod$Outbound;
|
|
180
189
|
|
|
181
190
|
/** @internal */
|
|
182
191
|
export const PaymentMethod$outboundSchema: z.ZodType<
|
|
@@ -201,6 +210,7 @@ export const PaymentMethod$outboundSchema: z.ZodType<
|
|
|
201
210
|
GooglePayPaymentMethod$outboundSchema,
|
|
202
211
|
PushToGooglePayPaymentMethod$outboundSchema,
|
|
203
212
|
PullFromGooglePayPaymentMethod$outboundSchema,
|
|
213
|
+
WireCreditPaymentMethod$outboundSchema,
|
|
204
214
|
]);
|
|
205
215
|
|
|
206
216
|
export function paymentMethodToJSON(paymentMethod: PaymentMethod): string {
|
|
@@ -27,6 +27,7 @@ export const PaymentMethodType = {
|
|
|
27
27
|
GooglePay: "google-pay",
|
|
28
28
|
PushToGooglePay: "push-to-google-pay",
|
|
29
29
|
PullFromGooglePay: "pull-from-google-pay",
|
|
30
|
+
WireCredit: "wire-credit",
|
|
30
31
|
} as const;
|
|
31
32
|
/**
|
|
32
33
|
* The payment method type that represents a payment rail and directionality
|
|
@@ -0,0 +1,35 @@
|
|
|
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 pull-from-card transaction.
|
|
11
|
+
*/
|
|
12
|
+
export const PullFromCardTransactionStatus = {
|
|
13
|
+
Initiated: "initiated",
|
|
14
|
+
Failed: "failed",
|
|
15
|
+
Completed: "completed",
|
|
16
|
+
} as const;
|
|
17
|
+
/**
|
|
18
|
+
* Status of a pull-from-card transaction.
|
|
19
|
+
*/
|
|
20
|
+
export type PullFromCardTransactionStatus = OpenEnum<
|
|
21
|
+
typeof PullFromCardTransactionStatus
|
|
22
|
+
>;
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const PullFromCardTransactionStatus$inboundSchema: z.ZodType<
|
|
26
|
+
PullFromCardTransactionStatus,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = openEnums.inboundSchema(PullFromCardTransactionStatus);
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const PullFromCardTransactionStatus$outboundSchema: z.ZodType<
|
|
32
|
+
string,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
PullFromCardTransactionStatus
|
|
35
|
+
> = openEnums.outboundSchema(PullFromCardTransactionStatus);
|
|
@@ -12,8 +12,17 @@ import {
|
|
|
12
12
|
CardTransactionFailureCode$inboundSchema,
|
|
13
13
|
CardTransactionFailureCode$outboundSchema,
|
|
14
14
|
} from "./cardtransactionfailurecode.js";
|
|
15
|
+
import {
|
|
16
|
+
PullFromCardTransactionStatus,
|
|
17
|
+
PullFromCardTransactionStatus$inboundSchema,
|
|
18
|
+
PullFromCardTransactionStatus$outboundSchema,
|
|
19
|
+
} from "./pullfromcardtransactionstatus.js";
|
|
15
20
|
|
|
16
21
|
export type PullFromCardTransferProcessingDetails = {
|
|
22
|
+
/**
|
|
23
|
+
* Status of a pull-from-card transaction.
|
|
24
|
+
*/
|
|
25
|
+
status: PullFromCardTransactionStatus;
|
|
17
26
|
authorizationCode?: string | undefined;
|
|
18
27
|
networkTransactionID?: string | undefined;
|
|
19
28
|
networkResponseCode?: string | undefined;
|
|
@@ -26,6 +35,7 @@ export const PullFromCardTransferProcessingDetails$inboundSchema: z.ZodType<
|
|
|
26
35
|
z.ZodTypeDef,
|
|
27
36
|
unknown
|
|
28
37
|
> = z.object({
|
|
38
|
+
status: PullFromCardTransactionStatus$inboundSchema,
|
|
29
39
|
authorizationCode: types.optional(types.string()),
|
|
30
40
|
networkTransactionID: types.optional(types.string()),
|
|
31
41
|
networkResponseCode: types.optional(types.string()),
|
|
@@ -33,6 +43,7 @@ export const PullFromCardTransferProcessingDetails$inboundSchema: z.ZodType<
|
|
|
33
43
|
});
|
|
34
44
|
/** @internal */
|
|
35
45
|
export type PullFromCardTransferProcessingDetails$Outbound = {
|
|
46
|
+
status: string;
|
|
36
47
|
authorizationCode?: string | undefined;
|
|
37
48
|
networkTransactionID?: string | undefined;
|
|
38
49
|
networkResponseCode?: string | undefined;
|
|
@@ -45,6 +56,7 @@ export const PullFromCardTransferProcessingDetails$outboundSchema: z.ZodType<
|
|
|
45
56
|
z.ZodTypeDef,
|
|
46
57
|
PullFromCardTransferProcessingDetails
|
|
47
58
|
> = z.object({
|
|
59
|
+
status: PullFromCardTransactionStatus$outboundSchema,
|
|
48
60
|
authorizationCode: z.string().optional(),
|
|
49
61
|
networkTransactionID: z.string().optional(),
|
|
50
62
|
networkResponseCode: z.string().optional(),
|
|
@@ -13,19 +13,17 @@ import {
|
|
|
13
13
|
PushDeliverySpeed$outboundSchema,
|
|
14
14
|
} from "./pushdeliveryspeed.js";
|
|
15
15
|
|
|
16
|
-
/**
|
|
17
|
-
* Delivery options for push-to-card payouts.
|
|
18
|
-
*/
|
|
19
16
|
export type PushOptions = {
|
|
20
17
|
/**
|
|
21
|
-
* Delivery speeds the recipient may choose from for `push-to-card
|
|
18
|
+
* Delivery speeds the recipient may choose from for `push-to-card` and `push-to-apple-pay`.
|
|
22
19
|
*
|
|
23
20
|
* @remarks
|
|
24
|
-
* delivery, `deferred` to allow delayed delivery, or both
|
|
21
|
+
* Include `instant` to allow immediate delivery, `deferred` to allow delayed delivery, or both
|
|
22
|
+
* to let the recipient choose at checkout.
|
|
25
23
|
*/
|
|
26
24
|
allowedSpeeds: Array<PushDeliverySpeed>;
|
|
27
25
|
/**
|
|
28
|
-
* Delay before delivering a deferred
|
|
26
|
+
* Delay before delivering a deferred payout. Required when `allowedSpeeds` includes `deferred`.
|
|
29
27
|
*
|
|
30
28
|
* @remarks
|
|
31
29
|
* Accepted values are `24h` or `48h`.
|
|
@@ -13,19 +13,17 @@ import {
|
|
|
13
13
|
PushDeliverySpeed$outboundSchema,
|
|
14
14
|
} from "./pushdeliveryspeed.js";
|
|
15
15
|
|
|
16
|
-
/**
|
|
17
|
-
* Delivery options for push-to-card payouts.
|
|
18
|
-
*/
|
|
19
16
|
export type PushOptionsUpdate = {
|
|
20
17
|
/**
|
|
21
|
-
* Delivery speeds the recipient may choose from for `push-to-card
|
|
18
|
+
* Delivery speeds the recipient may choose from for `push-to-card` and `push-to-apple-pay`.
|
|
22
19
|
*
|
|
23
20
|
* @remarks
|
|
24
|
-
* delivery, `deferred` to allow delayed delivery, or both
|
|
21
|
+
* Include `instant` to allow immediate delivery, `deferred` to allow delayed delivery, or both
|
|
22
|
+
* to let the recipient choose at checkout.
|
|
25
23
|
*/
|
|
26
24
|
allowedSpeeds?: Array<PushDeliverySpeed> | undefined;
|
|
27
25
|
/**
|
|
28
|
-
* Delay before delivering a deferred
|
|
26
|
+
* Delay before delivering a deferred payout. Required when `allowedSpeeds` includes `deferred`.
|
|
29
27
|
*
|
|
30
28
|
* @remarks
|
|
31
29
|
* Accepted values are `24h` or `48h`.
|
|
@@ -0,0 +1,37 @@
|
|
|
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 push-to-card transaction.
|
|
11
|
+
*/
|
|
12
|
+
export const PushToCardTransactionStatus = {
|
|
13
|
+
Initiated: "initiated",
|
|
14
|
+
Deferred: "deferred",
|
|
15
|
+
Canceled: "canceled",
|
|
16
|
+
Failed: "failed",
|
|
17
|
+
Completed: "completed",
|
|
18
|
+
} as const;
|
|
19
|
+
/**
|
|
20
|
+
* Status of a push-to-card transaction.
|
|
21
|
+
*/
|
|
22
|
+
export type PushToCardTransactionStatus = OpenEnum<
|
|
23
|
+
typeof PushToCardTransactionStatus
|
|
24
|
+
>;
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const PushToCardTransactionStatus$inboundSchema: z.ZodType<
|
|
28
|
+
PushToCardTransactionStatus,
|
|
29
|
+
z.ZodTypeDef,
|
|
30
|
+
unknown
|
|
31
|
+
> = openEnums.inboundSchema(PushToCardTransactionStatus);
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const PushToCardTransactionStatus$outboundSchema: z.ZodType<
|
|
34
|
+
string,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
PushToCardTransactionStatus
|
|
37
|
+
> = openEnums.outboundSchema(PushToCardTransactionStatus);
|
|
@@ -12,8 +12,17 @@ import {
|
|
|
12
12
|
CardTransactionFailureCode$inboundSchema,
|
|
13
13
|
CardTransactionFailureCode$outboundSchema,
|
|
14
14
|
} from "./cardtransactionfailurecode.js";
|
|
15
|
+
import {
|
|
16
|
+
PushToCardTransactionStatus,
|
|
17
|
+
PushToCardTransactionStatus$inboundSchema,
|
|
18
|
+
PushToCardTransactionStatus$outboundSchema,
|
|
19
|
+
} from "./pushtocardtransactionstatus.js";
|
|
15
20
|
|
|
16
21
|
export type PushToCardTransferProcessingDetails = {
|
|
22
|
+
/**
|
|
23
|
+
* Status of a push-to-card transaction.
|
|
24
|
+
*/
|
|
25
|
+
status: PushToCardTransactionStatus;
|
|
17
26
|
authorizationCode?: string | undefined;
|
|
18
27
|
networkTransactionID?: string | undefined;
|
|
19
28
|
networkResponseCode?: string | undefined;
|
|
@@ -26,6 +35,7 @@ export const PushToCardTransferProcessingDetails$inboundSchema: z.ZodType<
|
|
|
26
35
|
z.ZodTypeDef,
|
|
27
36
|
unknown
|
|
28
37
|
> = z.object({
|
|
38
|
+
status: PushToCardTransactionStatus$inboundSchema,
|
|
29
39
|
authorizationCode: types.optional(types.string()),
|
|
30
40
|
networkTransactionID: types.optional(types.string()),
|
|
31
41
|
networkResponseCode: types.optional(types.string()),
|
|
@@ -33,6 +43,7 @@ export const PushToCardTransferProcessingDetails$inboundSchema: z.ZodType<
|
|
|
33
43
|
});
|
|
34
44
|
/** @internal */
|
|
35
45
|
export type PushToCardTransferProcessingDetails$Outbound = {
|
|
46
|
+
status: string;
|
|
36
47
|
authorizationCode?: string | undefined;
|
|
37
48
|
networkTransactionID?: string | undefined;
|
|
38
49
|
networkResponseCode?: string | undefined;
|
|
@@ -45,6 +56,7 @@ export const PushToCardTransferProcessingDetails$outboundSchema: z.ZodType<
|
|
|
45
56
|
z.ZodTypeDef,
|
|
46
57
|
PushToCardTransferProcessingDetails
|
|
47
58
|
> = z.object({
|
|
59
|
+
status: PushToCardTransactionStatus$outboundSchema,
|
|
48
60
|
authorizationCode: z.string().optional(),
|
|
49
61
|
networkTransactionID: z.string().optional(),
|
|
50
62
|
networkResponseCode: z.string().optional(),
|