@moovio/sdk 26.7.0-dev.3 → 26.7.0-dev.5
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 +113 -89
- package/bin/mcp-server.js +1832 -1174
- package/bin/mcp-server.js.map +95 -83
- package/funcs/accountsCreate.d.ts +8 -10
- package/funcs/accountsCreate.d.ts.map +1 -1
- package/funcs/accountsCreate.js +8 -10
- package/funcs/accountsCreate.js.map +1 -1
- package/funcs/bankAccountsLink.d.ts +1 -1
- package/funcs/bankAccountsLink.js +1 -1
- package/funcs/capabilitiesDisable.d.ts +1 -1
- package/funcs/capabilitiesDisable.js +1 -1
- package/funcs/capabilitiesGet.d.ts +1 -1
- package/funcs/capabilitiesGet.js +1 -1
- package/funcs/capabilitiesList.d.ts +1 -1
- package/funcs/capabilitiesList.js +1 -1
- package/funcs/capabilitiesRequest.d.ts +1 -1
- package/funcs/capabilitiesRequest.js +1 -1
- package/funcs/cardIssuingGet.js +1 -1
- package/funcs/cardIssuingGet.js.map +1 -1
- package/funcs/cardIssuingGetFull.js +1 -1
- package/funcs/cardIssuingGetFull.js.map +1 -1
- package/funcs/cardIssuingList.js +1 -1
- package/funcs/cardIssuingList.js.map +1 -1
- package/funcs/cardIssuingRequest.js +1 -1
- package/funcs/cardIssuingRequest.js.map +1 -1
- package/funcs/cardIssuingUpdate.js +1 -1
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/depositViewCreate.d.ts +22 -0
- package/funcs/depositViewCreate.d.ts.map +1 -0
- package/funcs/depositViewCreate.js +136 -0
- package/funcs/depositViewCreate.js.map +1 -0
- package/funcs/transfersListCancellations.d.ts +17 -0
- package/funcs/transfersListCancellations.d.ts.map +1 -0
- package/funcs/transfersListCancellations.js +129 -0
- package/funcs/transfersListCancellations.js.map +1 -0
- package/hooks/types.d.ts +1 -0
- package/hooks/types.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.js +12 -12
- package/lib/encodings.js.map +1 -1
- package/lib/matchers.js +3 -3
- package/lib/matchers.js.map +1 -1
- package/lib/primitives.d.ts +1 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +18 -0
- package/lib/primitives.js.map +1 -1
- package/lib/retries.js +7 -0
- package/lib/retries.js.map +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +50 -16
- package/lib/sdks.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 +5 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/accountsCreate.d.ts.map +1 -1
- package/mcp-server/tools/accountsCreate.js +8 -10
- package/mcp-server/tools/accountsCreate.js.map +1 -1
- package/mcp-server/tools/bankAccountsLink.js +1 -1
- package/mcp-server/tools/capabilitiesDisable.js +1 -1
- package/mcp-server/tools/capabilitiesGet.js +1 -1
- package/mcp-server/tools/capabilitiesList.js +1 -1
- package/mcp-server/tools/capabilitiesRequest.js +1 -1
- package/mcp-server/tools/depositViewCreate.d.ts +8 -0
- package/mcp-server/tools/depositViewCreate.d.ts.map +1 -0
- package/mcp-server/tools/depositViewCreate.js +69 -0
- package/mcp-server/tools/depositViewCreate.js.map +1 -0
- package/mcp-server/tools/transfersListCancellations.d.ts +8 -0
- package/mcp-server/tools/transfersListCancellations.d.ts.map +1 -0
- package/mcp-server/tools/transfersListCancellations.js +65 -0
- package/mcp-server/tools/transfersListCancellations.js.map +1 -0
- package/models/components/addcapabilities.d.ts +9 -0
- package/models/components/addcapabilities.d.ts.map +1 -1
- package/models/components/addcapabilities.js.map +1 -1
- package/models/components/amountdecimalrange.d.ts +15 -4
- package/models/components/amountdecimalrange.d.ts.map +1 -1
- package/models/components/amountdecimalrange.js +5 -4
- package/models/components/amountdecimalrange.js.map +1 -1
- package/models/components/amountdecimalrangeupdate.d.ts +11 -0
- package/models/components/amountdecimalrangeupdate.d.ts.map +1 -1
- package/models/components/amountdecimalrangeupdate.js.map +1 -1
- package/models/components/capability.d.ts +7 -1
- package/models/components/capability.d.ts.map +1 -1
- package/models/components/capability.js.map +1 -1
- package/models/components/capabilityid.d.ts +15 -2
- package/models/components/capabilityid.d.ts.map +1 -1
- package/models/components/capabilityid.js +8 -1
- package/models/components/capabilityid.js.map +1 -1
- package/models/components/cardtransactiondetails.d.ts +7 -0
- package/models/components/cardtransactiondetails.d.ts.map +1 -1
- package/models/components/cardtransactiondetails.js +4 -0
- package/models/components/cardtransactiondetails.js.map +1 -1
- package/models/components/cardtransactionstatus.d.ts +1 -0
- package/models/components/cardtransactionstatus.d.ts.map +1 -1
- package/models/components/cardtransactionstatus.js +1 -0
- package/models/components/cardtransactionstatus.js.map +1 -1
- package/models/components/createaccount.d.ts +9 -0
- package/models/components/createaccount.d.ts.map +1 -1
- package/models/components/createaccount.js.map +1 -1
- package/models/components/createpaymentlink.d.ts +9 -3
- package/models/components/createpaymentlink.d.ts.map +1 -1
- package/models/components/createpaymentlink.js +4 -0
- package/models/components/createpaymentlink.js.map +1 -1
- package/models/components/createtransferdestinationcard.d.ts +5 -0
- package/models/components/createtransferdestinationcard.d.ts.map +1 -1
- package/models/components/createtransferdestinationcard.js +2 -0
- package/models/components/createtransferdestinationcard.js.map +1 -1
- package/models/components/customamountpaymentdetailserror.d.ts +29 -0
- package/models/components/customamountpaymentdetailserror.d.ts.map +1 -0
- package/models/components/customamountpaymentdetailserror.js +71 -0
- package/models/components/customamountpaymentdetailserror.js.map +1 -0
- package/models/components/depositaccountingestedresponse.d.ts +39 -0
- package/models/components/depositaccountingestedresponse.d.ts.map +1 -0
- package/models/components/depositaccountingestedresponse.js +66 -0
- package/models/components/depositaccountingestedresponse.js.map +1 -0
- package/models/components/fullissuedcard.d.ts +26 -12
- package/models/components/fullissuedcard.d.ts.map +1 -1
- package/models/components/fullissuedcard.js +11 -5
- package/models/components/fullissuedcard.js.map +1 -1
- package/models/components/index.d.ts +10 -4
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +10 -4
- package/models/components/index.js.map +1 -1
- package/models/components/invoice.d.ts +5 -0
- package/models/components/invoice.d.ts.map +1 -1
- package/models/components/invoice.js +2 -0
- package/models/components/invoice.js.map +1 -1
- package/models/components/issuedcard.d.ts +26 -12
- package/models/components/issuedcard.d.ts.map +1 -1
- package/models/components/issuedcard.js +11 -5
- package/models/components/issuedcard.js.map +1 -1
- package/models/components/issuedcardstate.d.ts +2 -8
- package/models/components/issuedcardstate.d.ts.map +1 -1
- package/models/components/issuedcardstate.js +1 -5
- package/models/components/issuedcardstate.js.map +1 -1
- package/models/components/manualtermsofservice.d.ts +1 -1
- package/models/components/manualtermsofserviceupdate.d.ts +1 -1
- package/models/components/onboardinginvite.d.ts +1 -1
- package/models/components/onboardinginviterequest.d.ts +1 -1
- package/models/components/patchtransfer.d.ts +5 -2
- package/models/components/patchtransfer.d.ts.map +1 -1
- package/models/components/patchtransfer.js +2 -2
- package/models/components/patchtransfer.js.map +1 -1
- package/models/components/patchwallet.d.ts +4 -7
- package/models/components/patchwallet.d.ts.map +1 -1
- package/models/components/patchwallet.js +4 -4
- package/models/components/patchwallet.js.map +1 -1
- package/models/components/paymentlink.d.ts +13 -2
- package/models/components/paymentlink.d.ts.map +1 -1
- package/models/components/paymentlink.js +4 -0
- package/models/components/paymentlink.js.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetails.d.ts +70 -0
- package/models/components/paymentlinkcustomamountpaymentdetails.d.ts.map +1 -0
- package/models/components/paymentlinkcustomamountpaymentdetails.js +74 -0
- package/models/components/paymentlinkcustomamountpaymentdetails.js.map +1 -0
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts +70 -0
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts.map +1 -0
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.js +75 -0
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.js.map +1 -0
- package/models/components/paymentlinkpaymentdetails.d.ts +0 -33
- package/models/components/paymentlinkpaymentdetails.d.ts.map +1 -1
- package/models/components/paymentlinkpaymentdetails.js +1 -21
- package/models/components/paymentlinkpaymentdetails.js.map +1 -1
- package/models/components/paymentlinkpaymentdetailsupdate.d.ts +0 -33
- package/models/components/paymentlinkpaymentdetailsupdate.d.ts.map +1 -1
- package/models/components/paymentlinkpaymentdetailsupdate.js +1 -21
- package/models/components/paymentlinkpaymentdetailsupdate.js.map +1 -1
- package/models/components/paymentlinkpayoutdetails.d.ts +11 -0
- package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetails.js +3 -0
- package/models/components/paymentlinkpayoutdetails.js.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts +11 -0
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.js +3 -0
- package/models/components/paymentlinkpayoutdetailsupdate.js.map +1 -1
- package/models/components/paymentlinktype.d.ts +1 -0
- package/models/components/paymentlinktype.d.ts.map +1 -1
- package/models/components/paymentlinktype.js +1 -0
- package/models/components/paymentlinktype.js.map +1 -1
- package/models/components/paymentmethodscard.d.ts +8 -0
- package/models/components/paymentmethodscard.d.ts.map +1 -1
- package/models/components/paymentmethodscard.js +2 -0
- package/models/components/paymentmethodscard.js.map +1 -1
- package/models/components/payoutdetailserror.d.ts +3 -0
- package/models/components/payoutdetailserror.d.ts.map +1 -1
- package/models/components/payoutdetailserror.js +3 -0
- package/models/components/payoutdetailserror.js.map +1 -1
- package/models/components/pushdeliveryspeed.d.ts +18 -0
- package/models/components/pushdeliveryspeed.d.ts.map +1 -0
- package/models/components/pushdeliveryspeed.js +52 -0
- package/models/components/pushdeliveryspeed.js.map +1 -0
- package/models/components/pushoptions.d.ts +35 -0
- package/models/components/pushoptions.d.ts.map +1 -0
- package/models/components/{createauthorizeduser.js → pushoptions.js} +15 -17
- package/models/components/pushoptions.js.map +1 -0
- package/models/components/pushoptionserror.d.ts +19 -0
- package/models/components/pushoptionserror.d.ts.map +1 -0
- package/models/components/{authorizeduser.js → pushoptionserror.js} +14 -14
- package/models/components/pushoptionserror.js.map +1 -0
- package/models/components/pushoptionsupdate.d.ts +35 -0
- package/models/components/pushoptionsupdate.d.ts.map +1 -0
- package/models/components/{createauthorizedusererror.js → pushoptionsupdate.js} +15 -17
- package/models/components/pushoptionsupdate.js.map +1 -0
- package/models/components/requestcard.d.ts +14 -17
- package/models/components/requestcard.d.ts.map +1 -1
- package/models/components/requestcard.js +9 -10
- package/models/components/requestcard.js.map +1 -1
- package/models/components/sourcesystem.d.ts +29 -0
- package/models/components/sourcesystem.d.ts.map +1 -0
- package/models/components/sourcesystem.js +58 -0
- package/models/components/sourcesystem.js.map +1 -0
- package/models/components/termsofservice.d.ts +1 -1
- package/models/components/updateissuedcard.d.ts +33 -8
- package/models/components/updateissuedcard.d.ts.map +1 -1
- package/models/components/updateissuedcard.js +35 -6
- package/models/components/updateissuedcard.js.map +1 -1
- package/models/components/updatepaymentlink.d.ts +6 -0
- package/models/components/updatepaymentlink.d.ts.map +1 -1
- package/models/components/updatepaymentlink.js +3 -0
- package/models/components/updatepaymentlink.js.map +1 -1
- package/models/components/updatepaymentlinkamountdetails.d.ts +60 -5
- package/models/components/updatepaymentlinkamountdetails.d.ts.map +1 -1
- package/models/components/updatepaymentlinkamountdetails.js +43 -6
- package/models/components/updatepaymentlinkamountdetails.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 +7 -4
- package/models/components/webhookdata.js.map +1 -1
- package/models/components/webhookdataauthorizationexpiring.d.ts +23 -0
- package/models/components/webhookdataauthorizationexpiring.d.ts.map +1 -0
- package/models/components/{createauthorizeduserupdate.js → webhookdataauthorizationexpiring.js} +18 -17
- package/models/components/webhookdataauthorizationexpiring.js.map +1 -0
- package/models/components/webhookdatacapabilityrequested.d.ts +7 -1
- package/models/components/webhookdatacapabilityrequested.d.ts.map +1 -1
- package/models/components/webhookdatacapabilityrequested.js.map +1 -1
- package/models/components/webhookdatacapabilityupdated.d.ts +7 -1
- package/models/components/webhookdatacapabilityupdated.d.ts.map +1 -1
- package/models/components/webhookdatacapabilityupdated.js.map +1 -1
- package/models/components/webhookdatasweepcreated.d.ts +5 -0
- package/models/components/webhookdatasweepcreated.d.ts.map +1 -1
- package/models/components/webhookdatasweepcreated.js +2 -0
- package/models/components/webhookdatasweepcreated.js.map +1 -1
- package/models/components/webhookdatasweepupdated.d.ts +5 -0
- package/models/components/webhookdatasweepupdated.d.ts.map +1 -1
- package/models/components/webhookdatasweepupdated.js +2 -0
- package/models/components/webhookdatasweepupdated.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/errors/createpaymentlinkerror.d.ts +3 -0
- package/models/errors/createpaymentlinkerror.d.ts.map +1 -1
- package/models/errors/createpaymentlinkerror.js +6 -0
- package/models/errors/createpaymentlinkerror.js.map +1 -1
- package/models/errors/depositaccountvalidationerror.d.ts +41 -0
- package/models/errors/depositaccountvalidationerror.d.ts.map +1 -0
- package/models/errors/depositaccountvalidationerror.js +81 -0
- package/models/errors/depositaccountvalidationerror.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/requestcarderror.d.ts +12 -12
- package/models/errors/requestcarderror.d.ts.map +1 -1
- package/models/errors/requestcarderror.js +17 -17
- package/models/errors/requestcarderror.js.map +1 -1
- package/models/errors/updateissuedcarderror.d.ts +9 -6
- package/models/errors/updateissuedcarderror.d.ts.map +1 -1
- package/models/errors/updateissuedcarderror.js +12 -9
- package/models/errors/updateissuedcarderror.js.map +1 -1
- package/models/errors/updatepaymentlinkerror.d.ts +3 -0
- package/models/errors/updatepaymentlinkerror.d.ts.map +1 -1
- package/models/errors/updatepaymentlinkerror.js +6 -0
- package/models/errors/updatepaymentlinkerror.js.map +1 -1
- package/models/operations/createdepositaccount.d.ts +44 -0
- package/models/operations/createdepositaccount.d.ts.map +1 -0
- package/models/operations/createdepositaccount.js +113 -0
- package/models/operations/createdepositaccount.js.map +1 -0
- package/models/operations/disablecapability.d.ts +7 -1
- package/models/operations/disablecapability.d.ts.map +1 -1
- package/models/operations/disablecapability.js.map +1 -1
- package/models/operations/getcapability.d.ts +7 -1
- package/models/operations/getcapability.d.ts.map +1 -1
- package/models/operations/getcapability.js.map +1 -1
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/linkbankaccount.d.ts +1 -1
- package/models/operations/listcancellations.d.ts +45 -0
- package/models/operations/listcancellations.d.ts.map +1 -0
- package/models/operations/listcancellations.js +91 -0
- package/models/operations/listcancellations.js.map +1 -0
- package/models/operations/listissuedcards.d.ts +1 -1
- package/package.json +1 -1
- package/sdk/accounts.d.ts +8 -10
- package/sdk/accounts.d.ts.map +1 -1
- package/sdk/accounts.js +8 -10
- package/sdk/accounts.js.map +1 -1
- package/sdk/bankaccounts.d.ts +1 -1
- package/sdk/bankaccounts.js +1 -1
- package/sdk/capabilities.d.ts +4 -4
- package/sdk/capabilities.js +4 -4
- package/sdk/depositview.d.ts +16 -0
- package/sdk/depositview.d.ts.map +1 -0
- package/sdk/depositview.js +26 -0
- package/sdk/depositview.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/transfers.d.ts +7 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +10 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/accountsCreate.ts +8 -10
- package/src/funcs/bankAccountsLink.ts +1 -1
- package/src/funcs/capabilitiesDisable.ts +1 -1
- package/src/funcs/capabilitiesGet.ts +1 -1
- package/src/funcs/capabilitiesList.ts +1 -1
- package/src/funcs/capabilitiesRequest.ts +1 -1
- package/src/funcs/cardIssuingGet.ts +1 -1
- package/src/funcs/cardIssuingGetFull.ts +3 -3
- package/src/funcs/cardIssuingList.ts +1 -1
- package/src/funcs/cardIssuingRequest.ts +1 -1
- package/src/funcs/cardIssuingUpdate.ts +1 -1
- package/src/funcs/depositViewCreate.ts +201 -0
- package/src/funcs/transfersListCancellations.ts +181 -0
- package/src/hooks/types.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +1 -1
- package/src/lib/matchers.ts +1 -1
- package/src/lib/primitives.ts +16 -0
- package/src/lib/retries.ts +8 -0
- package/src/lib/sdks.ts +54 -17
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/accountsCreate.ts +8 -10
- package/src/mcp-server/tools/bankAccountsLink.ts +1 -1
- package/src/mcp-server/tools/capabilitiesDisable.ts +1 -1
- package/src/mcp-server/tools/capabilitiesGet.ts +1 -1
- package/src/mcp-server/tools/capabilitiesList.ts +1 -1
- package/src/mcp-server/tools/capabilitiesRequest.ts +1 -1
- package/src/mcp-server/tools/depositViewCreate.ts +43 -0
- package/src/mcp-server/tools/transfersListCancellations.ts +38 -0
- package/src/models/components/addcapabilities.ts +9 -0
- package/src/models/components/amountdecimalrange.ts +20 -8
- package/src/models/components/amountdecimalrangeupdate.ts +11 -0
- package/src/models/components/capability.ts +7 -1
- package/src/models/components/capabilityid.ts +15 -2
- package/src/models/components/cardtransactiondetails.ts +11 -0
- package/src/models/components/cardtransactionstatus.ts +1 -0
- package/src/models/components/createaccount.ts +9 -0
- package/src/models/components/createpaymentlink.ts +21 -3
- package/src/models/components/createtransferdestinationcard.ts +7 -0
- package/src/models/components/customamountpaymentdetailserror.ts +86 -0
- package/src/models/components/depositaccountingestedresponse.ts +86 -0
- package/src/models/components/fullissuedcard.ts +36 -20
- package/src/models/components/index.ts +10 -4
- package/src/models/components/invoice.ts +7 -0
- package/src/models/components/issuedcard.ts +36 -20
- package/src/models/components/issuedcardstate.ts +2 -8
- package/src/models/components/manualtermsofservice.ts +1 -1
- package/src/models/components/manualtermsofserviceupdate.ts +1 -1
- package/src/models/components/onboardinginvite.ts +1 -1
- package/src/models/components/onboardinginviterequest.ts +1 -1
- package/src/models/components/patchtransfer.ts +7 -4
- package/src/models/components/patchwallet.ts +8 -11
- package/src/models/components/paymentlink.ts +25 -2
- package/src/models/components/paymentlinkcustomamountpaymentdetails.ts +138 -0
- package/src/models/components/paymentlinkcustomamountpaymentdetailsupdate.ts +149 -0
- package/src/models/components/paymentlinkpaymentdetails.ts +0 -60
- package/src/models/components/paymentlinkpaymentdetailsupdate.ts +0 -61
- package/src/models/components/paymentlinkpayoutdetails.ts +18 -0
- package/src/models/components/paymentlinkpayoutdetailsupdate.ts +18 -0
- package/src/models/components/paymentlinktype.ts +1 -0
- package/src/models/components/paymentmethodscard.ts +10 -0
- package/src/models/components/payoutdetailserror.ts +10 -0
- package/src/models/components/pushdeliveryspeed.ts +32 -0
- package/src/models/components/pushoptions.ts +72 -0
- package/src/models/components/pushoptionserror.ts +56 -0
- package/src/models/components/pushoptionsupdate.ts +76 -0
- package/src/models/components/requestcard.ts +23 -34
- package/src/models/components/sourcesystem.ts +43 -0
- package/src/models/components/termsofservice.ts +1 -1
- package/src/models/components/updateissuedcard.ts +73 -17
- package/src/models/components/updatepaymentlink.ts +18 -0
- package/src/models/components/updatepaymentlinkamountdetails.ts +114 -14
- package/src/models/components/webhookdata.ts +18 -8
- package/src/models/components/webhookdataauthorizationexpiring.ts +66 -0
- package/src/models/components/webhookdatacapabilityrequested.ts +7 -1
- package/src/models/components/webhookdatacapabilityupdated.ts +7 -1
- package/src/models/components/webhookdatasweepcreated.ts +7 -0
- package/src/models/components/webhookdatasweepupdated.ts +7 -0
- package/src/models/components/webhookeventtype.ts +1 -0
- package/src/models/errors/createpaymentlinkerror.ts +13 -0
- package/src/models/errors/depositaccountvalidationerror.ts +86 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/requestcarderror.ts +26 -27
- package/src/models/errors/updateissuedcarderror.ts +18 -15
- package/src/models/errors/updatepaymentlinkerror.ts +13 -0
- package/src/models/operations/createdepositaccount.ts +146 -0
- package/src/models/operations/disablecapability.ts +7 -1
- package/src/models/operations/getcapability.ts +7 -1
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/linkbankaccount.ts +1 -1
- package/src/models/operations/listcancellations.ts +121 -0
- package/src/models/operations/listissuedcards.ts +1 -1
- package/src/sdk/accounts.ts +8 -10
- package/src/sdk/bankaccounts.ts +1 -1
- package/src/sdk/capabilities.ts +4 -4
- package/src/sdk/depositview.ts +31 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/transfers.ts +18 -0
- package/lib/dlv.d.ts +0 -14
- package/lib/dlv.d.ts.map +0 -1
- package/lib/dlv.js +0 -49
- package/lib/dlv.js.map +0 -1
- package/lib/is-plain-object.d.ts +0 -2
- package/lib/is-plain-object.d.ts.map +0 -1
- package/lib/is-plain-object.js +0 -41
- package/lib/is-plain-object.js.map +0 -1
- package/models/components/authorizeduser.d.ts +0 -22
- package/models/components/authorizeduser.d.ts.map +0 -1
- package/models/components/authorizeduser.js.map +0 -1
- package/models/components/createauthorizeduser.d.ts +0 -25
- package/models/components/createauthorizeduser.d.ts.map +0 -1
- package/models/components/createauthorizeduser.js.map +0 -1
- package/models/components/createauthorizedusererror.d.ts +0 -22
- package/models/components/createauthorizedusererror.d.ts.map +0 -1
- package/models/components/createauthorizedusererror.js.map +0 -1
- package/models/components/createauthorizeduserupdate.d.ts +0 -25
- package/models/components/createauthorizeduserupdate.d.ts.map +0 -1
- package/models/components/createauthorizeduserupdate.js.map +0 -1
- package/src/lib/dlv.ts +0 -53
- package/src/lib/is-plain-object.ts +0 -43
- package/src/models/components/authorizeduser.ts +0 -55
- package/src/models/components/createauthorizeduser.ts +0 -69
- package/src/models/components/createauthorizedusererror.ts +0 -66
- package/src/models/components/createauthorizeduserupdate.ts +0 -69
|
@@ -18,6 +18,10 @@ export type CreateTransferDestinationCard = {
|
|
|
18
18
|
* An optional override of the default card statement descriptor for a transfer. Accounts must be enabled by Moov to set this field.
|
|
19
19
|
*/
|
|
20
20
|
dynamicDescriptor?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* The scheduled date and time for the transfer to be delivered. This field is only valid for push-to-card transfers. Must be between 24 and 48 hours in the future in production. In sandbox mode, any future time up to 48 hours is accepted so integrations can test deferred delivery using the sandbox test cards with relaxed wait times.
|
|
23
|
+
*/
|
|
24
|
+
scheduledDeliveryOn?: Date | undefined;
|
|
21
25
|
/**
|
|
22
26
|
* An optional field to specify the type of card payout, used to route the transfer with the appropriate business application identifier (BAI).
|
|
23
27
|
*/
|
|
@@ -31,11 +35,13 @@ export const CreateTransferDestinationCard$inboundSchema: z.ZodType<
|
|
|
31
35
|
unknown
|
|
32
36
|
> = z.object({
|
|
33
37
|
dynamicDescriptor: types.optional(types.string()),
|
|
38
|
+
scheduledDeliveryOn: types.optional(types.date()),
|
|
34
39
|
payoutType: types.optional(CardPayoutType$inboundSchema),
|
|
35
40
|
});
|
|
36
41
|
/** @internal */
|
|
37
42
|
export type CreateTransferDestinationCard$Outbound = {
|
|
38
43
|
dynamicDescriptor?: string | undefined;
|
|
44
|
+
scheduledDeliveryOn?: string | undefined;
|
|
39
45
|
payoutType?: string | undefined;
|
|
40
46
|
};
|
|
41
47
|
|
|
@@ -46,6 +52,7 @@ export const CreateTransferDestinationCard$outboundSchema: z.ZodType<
|
|
|
46
52
|
CreateTransferDestinationCard
|
|
47
53
|
> = z.object({
|
|
48
54
|
dynamicDescriptor: z.string().optional(),
|
|
55
|
+
scheduledDeliveryOn: z.date().transform(v => v.toISOString()).optional(),
|
|
49
56
|
payoutType: CardPayoutType$outboundSchema.optional(),
|
|
50
57
|
});
|
|
51
58
|
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import * as types from "../../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
ACHPaymentDetailsError,
|
|
12
|
+
ACHPaymentDetailsError$inboundSchema,
|
|
13
|
+
ACHPaymentDetailsError$Outbound,
|
|
14
|
+
ACHPaymentDetailsError$outboundSchema,
|
|
15
|
+
} from "./achpaymentdetailserror.js";
|
|
16
|
+
import {
|
|
17
|
+
CardPaymentDetailsError,
|
|
18
|
+
CardPaymentDetailsError$inboundSchema,
|
|
19
|
+
CardPaymentDetailsError$Outbound,
|
|
20
|
+
CardPaymentDetailsError$outboundSchema,
|
|
21
|
+
} from "./cardpaymentdetailserror.js";
|
|
22
|
+
|
|
23
|
+
export type CustomAmountPaymentDetailsError = {
|
|
24
|
+
allowedMethods?: string | undefined;
|
|
25
|
+
cardDetails?: CardPaymentDetailsError | undefined;
|
|
26
|
+
achDetails?: ACHPaymentDetailsError | undefined;
|
|
27
|
+
metadata?: string | undefined;
|
|
28
|
+
amountRange?: string | undefined;
|
|
29
|
+
suggestedAmounts?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const CustomAmountPaymentDetailsError$inboundSchema: z.ZodType<
|
|
34
|
+
CustomAmountPaymentDetailsError,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
unknown
|
|
37
|
+
> = z.object({
|
|
38
|
+
allowedMethods: types.optional(types.string()),
|
|
39
|
+
cardDetails: types.optional(CardPaymentDetailsError$inboundSchema),
|
|
40
|
+
achDetails: types.optional(ACHPaymentDetailsError$inboundSchema),
|
|
41
|
+
metadata: types.optional(types.string()),
|
|
42
|
+
amountRange: types.optional(types.string()),
|
|
43
|
+
suggestedAmounts: types.optional(types.string()),
|
|
44
|
+
});
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type CustomAmountPaymentDetailsError$Outbound = {
|
|
47
|
+
allowedMethods?: string | undefined;
|
|
48
|
+
cardDetails?: CardPaymentDetailsError$Outbound | undefined;
|
|
49
|
+
achDetails?: ACHPaymentDetailsError$Outbound | undefined;
|
|
50
|
+
metadata?: string | undefined;
|
|
51
|
+
amountRange?: string | undefined;
|
|
52
|
+
suggestedAmounts?: string | undefined;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/** @internal */
|
|
56
|
+
export const CustomAmountPaymentDetailsError$outboundSchema: z.ZodType<
|
|
57
|
+
CustomAmountPaymentDetailsError$Outbound,
|
|
58
|
+
z.ZodTypeDef,
|
|
59
|
+
CustomAmountPaymentDetailsError
|
|
60
|
+
> = z.object({
|
|
61
|
+
allowedMethods: z.string().optional(),
|
|
62
|
+
cardDetails: CardPaymentDetailsError$outboundSchema.optional(),
|
|
63
|
+
achDetails: ACHPaymentDetailsError$outboundSchema.optional(),
|
|
64
|
+
metadata: z.string().optional(),
|
|
65
|
+
amountRange: z.string().optional(),
|
|
66
|
+
suggestedAmounts: z.string().optional(),
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export function customAmountPaymentDetailsErrorToJSON(
|
|
70
|
+
customAmountPaymentDetailsError: CustomAmountPaymentDetailsError,
|
|
71
|
+
): string {
|
|
72
|
+
return JSON.stringify(
|
|
73
|
+
CustomAmountPaymentDetailsError$outboundSchema.parse(
|
|
74
|
+
customAmountPaymentDetailsError,
|
|
75
|
+
),
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
export function customAmountPaymentDetailsErrorFromJSON(
|
|
79
|
+
jsonString: string,
|
|
80
|
+
): SafeParseResult<CustomAmountPaymentDetailsError, SDKValidationError> {
|
|
81
|
+
return safeParse(
|
|
82
|
+
jsonString,
|
|
83
|
+
(x) => CustomAmountPaymentDetailsError$inboundSchema.parse(JSON.parse(x)),
|
|
84
|
+
`Failed to parse 'CustomAmountPaymentDetailsError' from JSON`,
|
|
85
|
+
);
|
|
86
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import * as types from "../../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
SourceSystem,
|
|
12
|
+
SourceSystem$inboundSchema,
|
|
13
|
+
SourceSystem$outboundSchema,
|
|
14
|
+
} from "./sourcesystem.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The result of ingesting a deposit account into the deposit view.
|
|
18
|
+
*/
|
|
19
|
+
export type DepositAccountIngestedResponse = {
|
|
20
|
+
/**
|
|
21
|
+
* The Moov account that owns the deposit view the account was ingested into.
|
|
22
|
+
*/
|
|
23
|
+
moovAccountID: string;
|
|
24
|
+
/**
|
|
25
|
+
* The core banking source system that produced the ingested payload.
|
|
26
|
+
*/
|
|
27
|
+
sourceSystem: SourceSystem;
|
|
28
|
+
/**
|
|
29
|
+
* The identifier of the deposit account within the source system.
|
|
30
|
+
*/
|
|
31
|
+
sourceAccountID: string;
|
|
32
|
+
/**
|
|
33
|
+
* The date and time the deposit account was ingested.
|
|
34
|
+
*/
|
|
35
|
+
ingestedAt: Date;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const DepositAccountIngestedResponse$inboundSchema: z.ZodType<
|
|
40
|
+
DepositAccountIngestedResponse,
|
|
41
|
+
z.ZodTypeDef,
|
|
42
|
+
unknown
|
|
43
|
+
> = z.object({
|
|
44
|
+
moovAccountID: types.string(),
|
|
45
|
+
sourceSystem: SourceSystem$inboundSchema,
|
|
46
|
+
sourceAccountID: types.string(),
|
|
47
|
+
ingestedAt: types.date(),
|
|
48
|
+
});
|
|
49
|
+
/** @internal */
|
|
50
|
+
export type DepositAccountIngestedResponse$Outbound = {
|
|
51
|
+
moovAccountID: string;
|
|
52
|
+
sourceSystem: string;
|
|
53
|
+
sourceAccountID: string;
|
|
54
|
+
ingestedAt: string;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export const DepositAccountIngestedResponse$outboundSchema: z.ZodType<
|
|
59
|
+
DepositAccountIngestedResponse$Outbound,
|
|
60
|
+
z.ZodTypeDef,
|
|
61
|
+
DepositAccountIngestedResponse
|
|
62
|
+
> = z.object({
|
|
63
|
+
moovAccountID: z.string(),
|
|
64
|
+
sourceSystem: SourceSystem$outboundSchema,
|
|
65
|
+
sourceAccountID: z.string(),
|
|
66
|
+
ingestedAt: z.date().transform(v => v.toISOString()),
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
export function depositAccountIngestedResponseToJSON(
|
|
70
|
+
depositAccountIngestedResponse: DepositAccountIngestedResponse,
|
|
71
|
+
): string {
|
|
72
|
+
return JSON.stringify(
|
|
73
|
+
DepositAccountIngestedResponse$outboundSchema.parse(
|
|
74
|
+
depositAccountIngestedResponse,
|
|
75
|
+
),
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
export function depositAccountIngestedResponseFromJSON(
|
|
79
|
+
jsonString: string,
|
|
80
|
+
): SafeParseResult<DepositAccountIngestedResponse, SDKValidationError> {
|
|
81
|
+
return safeParse(
|
|
82
|
+
jsonString,
|
|
83
|
+
(x) => DepositAccountIngestedResponse$inboundSchema.parse(JSON.parse(x)),
|
|
84
|
+
`Failed to parse 'DepositAccountIngestedResponse' from JSON`,
|
|
85
|
+
);
|
|
86
|
+
}
|
|
@@ -8,11 +8,11 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import * as types from "../../types/primitives.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
11
|
+
Address,
|
|
12
|
+
Address$inboundSchema,
|
|
13
|
+
Address$Outbound,
|
|
14
|
+
Address$outboundSchema,
|
|
15
|
+
} from "./address.js";
|
|
16
16
|
import {
|
|
17
17
|
CardBrand,
|
|
18
18
|
CardBrand$inboundSchema,
|
|
@@ -56,26 +56,32 @@ export type FullIssuedCard = {
|
|
|
56
56
|
*/
|
|
57
57
|
expiration: CardExpiration;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Unique identifier for the wallet funding the card.
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
fundingWalletID: string;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Identifier for the account of the card's authorized user.
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
authorizedUserAccountID?: string | undefined;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* An optional descriptive name for the card.
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
nickname?: string | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
|
|
72
|
+
*/
|
|
73
|
+
metadata?: { [k: string]: string } | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* Billing address associated with the card.
|
|
76
|
+
*/
|
|
77
|
+
billingAddress?: Address | undefined;
|
|
70
78
|
/**
|
|
71
79
|
* The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.
|
|
72
80
|
*
|
|
73
81
|
* @remarks
|
|
74
82
|
*
|
|
75
|
-
* - `active`: The card is operational and
|
|
76
|
-
* - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
|
|
83
|
+
* - `active`: The card is operational and can approve authorizations.
|
|
77
84
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
78
|
-
* - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
|
|
79
85
|
*/
|
|
80
86
|
state: IssuedCardState;
|
|
81
87
|
/**
|
|
@@ -84,6 +90,7 @@ export type FullIssuedCard = {
|
|
|
84
90
|
formFactor: IssuedCardFormFactor;
|
|
85
91
|
controls?: IssuingControls | undefined;
|
|
86
92
|
createdOn: Date;
|
|
93
|
+
updatedOn: Date;
|
|
87
94
|
/**
|
|
88
95
|
* The issued card's Primary Account Number (PAN)
|
|
89
96
|
*/
|
|
@@ -104,13 +111,16 @@ export const FullIssuedCard$inboundSchema: z.ZodType<
|
|
|
104
111
|
brand: CardBrand$inboundSchema,
|
|
105
112
|
lastFourCardNumber: types.string(),
|
|
106
113
|
expiration: CardExpiration$inboundSchema,
|
|
107
|
-
authorizedUser: AuthorizedUser$inboundSchema,
|
|
108
|
-
memo: types.optional(types.string()),
|
|
109
114
|
fundingWalletID: types.string(),
|
|
115
|
+
authorizedUserAccountID: types.optional(types.string()),
|
|
116
|
+
nickname: types.optional(types.string()),
|
|
117
|
+
metadata: types.optional(z.record(types.string())),
|
|
118
|
+
billingAddress: types.optional(Address$inboundSchema),
|
|
110
119
|
state: IssuedCardState$inboundSchema,
|
|
111
120
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
112
121
|
controls: types.optional(IssuingControls$inboundSchema),
|
|
113
122
|
createdOn: types.date(),
|
|
123
|
+
updatedOn: types.date(),
|
|
114
124
|
pan: types.string(),
|
|
115
125
|
cvv: types.string(),
|
|
116
126
|
});
|
|
@@ -120,13 +130,16 @@ export type FullIssuedCard$Outbound = {
|
|
|
120
130
|
brand: string;
|
|
121
131
|
lastFourCardNumber: string;
|
|
122
132
|
expiration: CardExpiration$Outbound;
|
|
123
|
-
authorizedUser: AuthorizedUser$Outbound;
|
|
124
|
-
memo?: string | undefined;
|
|
125
133
|
fundingWalletID: string;
|
|
134
|
+
authorizedUserAccountID?: string | undefined;
|
|
135
|
+
nickname?: string | undefined;
|
|
136
|
+
metadata?: { [k: string]: string } | undefined;
|
|
137
|
+
billingAddress?: Address$Outbound | undefined;
|
|
126
138
|
state: string;
|
|
127
139
|
formFactor: string;
|
|
128
140
|
controls?: IssuingControls$Outbound | undefined;
|
|
129
141
|
createdOn: string;
|
|
142
|
+
updatedOn: string;
|
|
130
143
|
pan: string;
|
|
131
144
|
cvv: string;
|
|
132
145
|
};
|
|
@@ -141,13 +154,16 @@ export const FullIssuedCard$outboundSchema: z.ZodType<
|
|
|
141
154
|
brand: CardBrand$outboundSchema,
|
|
142
155
|
lastFourCardNumber: z.string(),
|
|
143
156
|
expiration: CardExpiration$outboundSchema,
|
|
144
|
-
authorizedUser: AuthorizedUser$outboundSchema,
|
|
145
|
-
memo: z.string().optional(),
|
|
146
157
|
fundingWalletID: z.string(),
|
|
158
|
+
authorizedUserAccountID: z.string().optional(),
|
|
159
|
+
nickname: z.string().optional(),
|
|
160
|
+
metadata: z.record(z.string()).optional(),
|
|
161
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
147
162
|
state: IssuedCardState$outboundSchema,
|
|
148
163
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
149
164
|
controls: IssuingControls$outboundSchema.optional(),
|
|
150
165
|
createdOn: z.date().transform(v => v.toISOString()),
|
|
166
|
+
updatedOn: z.date().transform(v => v.toISOString()),
|
|
151
167
|
pan: z.string(),
|
|
152
168
|
cvv: z.string(),
|
|
153
169
|
});
|
|
@@ -57,7 +57,6 @@ export * from "./assignproductimage.js";
|
|
|
57
57
|
export * from "./assignproductimagevalidationerror.js";
|
|
58
58
|
export * from "./asynccreatedrefund.js";
|
|
59
59
|
export * from "./asynctransfer.js";
|
|
60
|
-
export * from "./authorizeduser.js";
|
|
61
60
|
export * from "./authtoken.js";
|
|
62
61
|
export * from "./authtokenrequest.js";
|
|
63
62
|
export * from "./bankaccount.js";
|
|
@@ -148,9 +147,6 @@ export * from "./createaccount.js";
|
|
|
148
147
|
export * from "./createaccountsettings.js";
|
|
149
148
|
export * from "./createaccounttype.js";
|
|
150
149
|
export * from "./createapplepaysession.js";
|
|
151
|
-
export * from "./createauthorizeduser.js";
|
|
152
|
-
export * from "./createauthorizedusererror.js";
|
|
153
|
-
export * from "./createauthorizeduserupdate.js";
|
|
154
150
|
export * from "./createbusinesserror.js";
|
|
155
151
|
export * from "./createbusinessprofile.js";
|
|
156
152
|
export * from "./createdtransfer.js";
|
|
@@ -216,9 +212,11 @@ export * from "./createtransfersourceach.js";
|
|
|
216
212
|
export * from "./createtransfersourcecard.js";
|
|
217
213
|
export * from "./createwallet.js";
|
|
218
214
|
export * from "./createwebhook.js";
|
|
215
|
+
export * from "./customamountpaymentdetailserror.js";
|
|
219
216
|
export * from "./customersupport.js";
|
|
220
217
|
export * from "./customersupporterror.js";
|
|
221
218
|
export * from "./debitholdperiod.js";
|
|
219
|
+
export * from "./depositaccountingestedresponse.js";
|
|
222
220
|
export * from "./disbursementpaymentmethodtype.js";
|
|
223
221
|
export * from "./displayoptionserror.js";
|
|
224
222
|
export * from "./dispute.js";
|
|
@@ -381,6 +379,8 @@ export * from "./patchwallet.js";
|
|
|
381
379
|
export * from "./paymentdetailserror.js";
|
|
382
380
|
export * from "./paymentlink.js";
|
|
383
381
|
export * from "./paymentlinkamountdetails.js";
|
|
382
|
+
export * from "./paymentlinkcustomamountpaymentdetails.js";
|
|
383
|
+
export * from "./paymentlinkcustomamountpaymentdetailsupdate.js";
|
|
384
384
|
export * from "./paymentlinkcustomeroptions.js";
|
|
385
385
|
export * from "./paymentlinkdisplayoptions.js";
|
|
386
386
|
export * from "./paymentlinkdisplayoptionsupdate.js";
|
|
@@ -426,6 +426,10 @@ export * from "./pullfromcardpaymentmethod.js";
|
|
|
426
426
|
export * from "./pullfromcardtransferpaymentmethod.js";
|
|
427
427
|
export * from "./pullfromgooglepaypaymentmethod.js";
|
|
428
428
|
export * from "./pullfromgooglepaytransferpaymentmethod.js";
|
|
429
|
+
export * from "./pushdeliveryspeed.js";
|
|
430
|
+
export * from "./pushoptions.js";
|
|
431
|
+
export * from "./pushoptionserror.js";
|
|
432
|
+
export * from "./pushoptionsupdate.js";
|
|
429
433
|
export * from "./pushtoapplepaypaymentmethod.js";
|
|
430
434
|
export * from "./pushtoapplepaytransferpaymentmethod.js";
|
|
431
435
|
export * from "./pushtocardpaymentmethod.js";
|
|
@@ -494,6 +498,7 @@ export * from "./sentreceipt.js";
|
|
|
494
498
|
export * from "./settings.js";
|
|
495
499
|
export * from "./sharescopes.js";
|
|
496
500
|
export * from "./sourcedestinationoptions.js";
|
|
501
|
+
export * from "./sourcesystem.js";
|
|
497
502
|
export * from "./statement.js";
|
|
498
503
|
export * from "./submissionintent.js";
|
|
499
504
|
export * from "./sweep.js";
|
|
@@ -589,6 +594,7 @@ export * from "./webhookdata.js";
|
|
|
589
594
|
export * from "./webhookdataaccountcreated.js";
|
|
590
595
|
export * from "./webhookdataaccountdisconnected.js";
|
|
591
596
|
export * from "./webhookdataaccountupdated.js";
|
|
597
|
+
export * from "./webhookdataauthorizationexpiring.js";
|
|
592
598
|
export * from "./webhookdatabalanceupdated.js";
|
|
593
599
|
export * from "./webhookdatabankaccountcreated.js";
|
|
594
600
|
export * from "./webhookdatabankaccountdeleted.js";
|
|
@@ -88,6 +88,10 @@ export type Invoice = {
|
|
|
88
88
|
*/
|
|
89
89
|
disputedAmount: AmountDecimal;
|
|
90
90
|
paymentLinkCode?: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* URL to the hosted payment link for the invoice.
|
|
93
|
+
*/
|
|
94
|
+
paymentLinkURL?: string | undefined;
|
|
91
95
|
/**
|
|
92
96
|
* Payment made towards an invoice, will be either a transfer or an external payment.
|
|
93
97
|
*/
|
|
@@ -121,6 +125,7 @@ export const Invoice$inboundSchema: z.ZodType<Invoice, z.ZodTypeDef, unknown> =
|
|
|
121
125
|
refundedAmount: AmountDecimal$inboundSchema,
|
|
122
126
|
disputedAmount: AmountDecimal$inboundSchema,
|
|
123
127
|
paymentLinkCode: types.optional(types.string()),
|
|
128
|
+
paymentLinkURL: types.optional(types.string()),
|
|
124
129
|
invoicePayments: types.optional(z.array(InvoicePayment$inboundSchema)),
|
|
125
130
|
createdOn: types.date(),
|
|
126
131
|
invoiceDate: types.optional(types.date()),
|
|
@@ -149,6 +154,7 @@ export type Invoice$Outbound = {
|
|
|
149
154
|
refundedAmount: AmountDecimal$Outbound;
|
|
150
155
|
disputedAmount: AmountDecimal$Outbound;
|
|
151
156
|
paymentLinkCode?: string | undefined;
|
|
157
|
+
paymentLinkURL?: string | undefined;
|
|
152
158
|
invoicePayments?: Array<InvoicePayment$Outbound> | undefined;
|
|
153
159
|
createdOn: string;
|
|
154
160
|
invoiceDate?: string | undefined;
|
|
@@ -182,6 +188,7 @@ export const Invoice$outboundSchema: z.ZodType<
|
|
|
182
188
|
refundedAmount: AmountDecimal$outboundSchema,
|
|
183
189
|
disputedAmount: AmountDecimal$outboundSchema,
|
|
184
190
|
paymentLinkCode: z.string().optional(),
|
|
191
|
+
paymentLinkURL: z.string().optional(),
|
|
185
192
|
invoicePayments: z.array(InvoicePayment$outboundSchema).optional(),
|
|
186
193
|
createdOn: z.date().transform(v => v.toISOString()),
|
|
187
194
|
invoiceDate: z.date().transform(v => v.toISOString()).optional(),
|
|
@@ -8,11 +8,11 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import * as types from "../../types/primitives.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
11
|
+
Address,
|
|
12
|
+
Address$inboundSchema,
|
|
13
|
+
Address$Outbound,
|
|
14
|
+
Address$outboundSchema,
|
|
15
|
+
} from "./address.js";
|
|
16
16
|
import {
|
|
17
17
|
CardBrand,
|
|
18
18
|
CardBrand$inboundSchema,
|
|
@@ -53,26 +53,32 @@ export type IssuedCard = {
|
|
|
53
53
|
*/
|
|
54
54
|
expiration: CardExpiration;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Unique identifier for the wallet funding the card.
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
fundingWalletID: string;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Identifier for the account of the card's authorized user.
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
authorizedUserAccountID?: string | undefined;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* An optional descriptive name for the card.
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
nickname?: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
|
|
69
|
+
*/
|
|
70
|
+
metadata?: { [k: string]: string } | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Billing address associated with the card.
|
|
73
|
+
*/
|
|
74
|
+
billingAddress?: Address | undefined;
|
|
67
75
|
/**
|
|
68
76
|
* The `state` represents the operational status of an issued card. A card can only approve incoming authorizations if it is in an active state.
|
|
69
77
|
*
|
|
70
78
|
* @remarks
|
|
71
79
|
*
|
|
72
|
-
* - `active`: The card is operational and
|
|
73
|
-
* - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
|
|
80
|
+
* - `active`: The card is operational and can approve authorizations.
|
|
74
81
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
75
|
-
* - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
|
|
76
82
|
*/
|
|
77
83
|
state: IssuedCardState;
|
|
78
84
|
/**
|
|
@@ -81,6 +87,7 @@ export type IssuedCard = {
|
|
|
81
87
|
formFactor: IssuedCardFormFactor;
|
|
82
88
|
controls?: IssuingControls | undefined;
|
|
83
89
|
createdOn: Date;
|
|
90
|
+
updatedOn: Date;
|
|
84
91
|
};
|
|
85
92
|
|
|
86
93
|
/** @internal */
|
|
@@ -93,13 +100,16 @@ export const IssuedCard$inboundSchema: z.ZodType<
|
|
|
93
100
|
brand: CardBrand$inboundSchema,
|
|
94
101
|
lastFourCardNumber: types.string(),
|
|
95
102
|
expiration: CardExpiration$inboundSchema,
|
|
96
|
-
authorizedUser: AuthorizedUser$inboundSchema,
|
|
97
|
-
memo: types.optional(types.string()),
|
|
98
103
|
fundingWalletID: types.string(),
|
|
104
|
+
authorizedUserAccountID: types.optional(types.string()),
|
|
105
|
+
nickname: types.optional(types.string()),
|
|
106
|
+
metadata: types.optional(z.record(types.string())),
|
|
107
|
+
billingAddress: types.optional(Address$inboundSchema),
|
|
99
108
|
state: IssuedCardState$inboundSchema,
|
|
100
109
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
101
110
|
controls: types.optional(IssuingControls$inboundSchema),
|
|
102
111
|
createdOn: types.date(),
|
|
112
|
+
updatedOn: types.date(),
|
|
103
113
|
});
|
|
104
114
|
/** @internal */
|
|
105
115
|
export type IssuedCard$Outbound = {
|
|
@@ -107,13 +117,16 @@ export type IssuedCard$Outbound = {
|
|
|
107
117
|
brand: string;
|
|
108
118
|
lastFourCardNumber: string;
|
|
109
119
|
expiration: CardExpiration$Outbound;
|
|
110
|
-
authorizedUser: AuthorizedUser$Outbound;
|
|
111
|
-
memo?: string | undefined;
|
|
112
120
|
fundingWalletID: string;
|
|
121
|
+
authorizedUserAccountID?: string | undefined;
|
|
122
|
+
nickname?: string | undefined;
|
|
123
|
+
metadata?: { [k: string]: string } | undefined;
|
|
124
|
+
billingAddress?: Address$Outbound | undefined;
|
|
113
125
|
state: string;
|
|
114
126
|
formFactor: string;
|
|
115
127
|
controls?: IssuingControls$Outbound | undefined;
|
|
116
128
|
createdOn: string;
|
|
129
|
+
updatedOn: string;
|
|
117
130
|
};
|
|
118
131
|
|
|
119
132
|
/** @internal */
|
|
@@ -126,13 +139,16 @@ export const IssuedCard$outboundSchema: z.ZodType<
|
|
|
126
139
|
brand: CardBrand$outboundSchema,
|
|
127
140
|
lastFourCardNumber: z.string(),
|
|
128
141
|
expiration: CardExpiration$outboundSchema,
|
|
129
|
-
authorizedUser: AuthorizedUser$outboundSchema,
|
|
130
|
-
memo: z.string().optional(),
|
|
131
142
|
fundingWalletID: z.string(),
|
|
143
|
+
authorizedUserAccountID: z.string().optional(),
|
|
144
|
+
nickname: z.string().optional(),
|
|
145
|
+
metadata: z.record(z.string()).optional(),
|
|
146
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
132
147
|
state: IssuedCardState$outboundSchema,
|
|
133
148
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
134
149
|
controls: IssuingControls$outboundSchema.optional(),
|
|
135
150
|
createdOn: z.date().transform(v => v.toISOString()),
|
|
151
|
+
updatedOn: z.date().transform(v => v.toISOString()),
|
|
136
152
|
});
|
|
137
153
|
|
|
138
154
|
export function issuedCardToJSON(issuedCard: IssuedCard): string {
|
|
@@ -11,15 +11,11 @@ import { OpenEnum } from "../../types/enums.js";
|
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
13
|
*
|
|
14
|
-
* - `active`: The card is operational and
|
|
15
|
-
* - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
|
|
14
|
+
* - `active`: The card is operational and can approve authorizations.
|
|
16
15
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
17
|
-
* - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
|
|
18
16
|
*/
|
|
19
17
|
export const IssuedCardState = {
|
|
20
18
|
Active: "active",
|
|
21
|
-
Inactive: "inactive",
|
|
22
|
-
PendingVerification: "pending-verification",
|
|
23
19
|
Closed: "closed",
|
|
24
20
|
} as const;
|
|
25
21
|
/**
|
|
@@ -27,10 +23,8 @@ export const IssuedCardState = {
|
|
|
27
23
|
*
|
|
28
24
|
* @remarks
|
|
29
25
|
*
|
|
30
|
-
* - `active`: The card is operational and
|
|
31
|
-
* - `inactive`: The card cannot approve authorizations. This is currently a temporary state assigned post-creation during the activation process.
|
|
26
|
+
* - `active`: The card is operational and can approve authorizations.
|
|
32
27
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
33
|
-
* - `pending-verification`: Awaiting additional authorized user verification before the card can be activated.
|
|
34
28
|
*/
|
|
35
29
|
export type IssuedCardState = OpenEnum<typeof IssuedCardState>;
|
|
36
30
|
|
|
@@ -17,7 +17,7 @@ export type ManualTermsOfServiceUpdate = {
|
|
|
17
17
|
*/
|
|
18
18
|
acceptedDate?: Date | undefined;
|
|
19
19
|
/**
|
|
20
|
-
* The IP address from which the terms of service were accepted.
|
|
20
|
+
* The IP address (IPv4 or IPv6) from which the terms of service were accepted.
|
|
21
21
|
*/
|
|
22
22
|
acceptedIP?: string | undefined;
|
|
23
23
|
/**
|
|
@@ -62,7 +62,7 @@ export type OnboardingInvite = {
|
|
|
62
62
|
*/
|
|
63
63
|
grantScopes?: Array<ApplicationScope> | undefined;
|
|
64
64
|
/**
|
|
65
|
-
* List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/) you intend to request for this
|
|
65
|
+
* List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/reference/) you intend to request for this
|
|
66
66
|
*
|
|
67
67
|
* @remarks
|
|
68
68
|
* account. These values are used to determine what information to collect from the user during onboarding.
|
|
@@ -51,7 +51,7 @@ export type OnboardingInviteRequest = {
|
|
|
51
51
|
*/
|
|
52
52
|
grantScopes?: Array<ApplicationScope> | undefined;
|
|
53
53
|
/**
|
|
54
|
-
* List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/) you intend to request for this
|
|
54
|
+
* List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/reference/) you intend to request for this
|
|
55
55
|
*
|
|
56
56
|
* @remarks
|
|
57
57
|
* account. These values are used to determine what information to collect from the user during onboarding.
|
|
@@ -9,11 +9,14 @@ import * as types from "../../types/primitives.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export type PatchTransfer = {
|
|
12
|
+
/**
|
|
13
|
+
* Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
|
|
14
|
+
*/
|
|
12
15
|
metadata?: { [k: string]: string } | null | undefined;
|
|
13
16
|
/**
|
|
14
17
|
* Optional alias from a foreign/external system which can be used to reference this resource.
|
|
15
18
|
*/
|
|
16
|
-
foreignID?: string | undefined;
|
|
19
|
+
foreignID?: string | null | undefined;
|
|
17
20
|
};
|
|
18
21
|
|
|
19
22
|
/** @internal */
|
|
@@ -23,12 +26,12 @@ export const PatchTransfer$inboundSchema: z.ZodType<
|
|
|
23
26
|
unknown
|
|
24
27
|
> = z.object({
|
|
25
28
|
metadata: z.nullable(z.record(types.string())).optional(),
|
|
26
|
-
foreignID:
|
|
29
|
+
foreignID: z.nullable(types.string()).optional(),
|
|
27
30
|
});
|
|
28
31
|
/** @internal */
|
|
29
32
|
export type PatchTransfer$Outbound = {
|
|
30
33
|
metadata?: { [k: string]: string } | null | undefined;
|
|
31
|
-
foreignID?: string | undefined;
|
|
34
|
+
foreignID?: string | null | undefined;
|
|
32
35
|
};
|
|
33
36
|
|
|
34
37
|
/** @internal */
|
|
@@ -38,7 +41,7 @@ export const PatchTransfer$outboundSchema: z.ZodType<
|
|
|
38
41
|
PatchTransfer
|
|
39
42
|
> = z.object({
|
|
40
43
|
metadata: z.nullable(z.record(z.string())).optional(),
|
|
41
|
-
foreignID: z.string().optional(),
|
|
44
|
+
foreignID: z.nullable(z.string()).optional(),
|
|
42
45
|
});
|
|
43
46
|
|
|
44
47
|
export function patchTransferToJSON(patchTransfer: PatchTransfer): string {
|