@moovio/sdk 0.0.0-dev.23 → 0.0.0-dev.25
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 +90 -86
- package/bin/mcp-server.js +772 -380
- package/bin/mcp-server.js.map +80 -74
- 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/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/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 +3 -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/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/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/amountdetails.d.ts +26 -0
- package/models/components/amountdetails.d.ts.map +1 -0
- package/models/components/{authorizeduser.js → amountdetails.js} +15 -14
- package/models/components/amountdetails.js.map +1 -0
- package/models/components/amountdetailsupdate.d.ts +26 -0
- package/models/components/amountdetailsupdate.d.ts.map +1 -0
- package/models/components/{createauthorizedusererror.js → amountdetailsupdate.js} +15 -17
- package/models/components/amountdetailsupdate.js.map +1 -0
- package/models/components/amountdetailsvalidationerror.d.ts +19 -0
- package/models/components/amountdetailsvalidationerror.d.ts.map +1 -0
- package/models/components/{createauthorizeduser.js → amountdetailsvalidationerror.js} +14 -17
- package/models/components/amountdetailsvalidationerror.js.map +1 -0
- 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 +14 -2
- package/models/components/capabilityid.d.ts.map +1 -1
- package/models/components/capabilityid.js +7 -1
- package/models/components/capabilityid.js.map +1 -1
- package/models/components/cardtransactiondetails.d.ts +5 -0
- package/models/components/cardtransactiondetails.d.ts.map +1 -1
- package/models/components/cardtransactiondetails.js +2 -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/createinvoice.d.ts +3 -3
- package/models/components/createinvoice.d.ts.map +1 -1
- package/models/components/createinvoice.js +3 -3
- package/models/components/createinvoice.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/fullissuedcard.d.ts +25 -9
- 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 +8 -4
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +8 -4
- package/models/components/index.js.map +1 -1
- package/models/components/invoice.d.ts +4 -3
- package/models/components/invoice.d.ts.map +1 -1
- package/models/components/invoice.js +3 -2
- package/models/components/invoice.js.map +1 -1
- package/models/components/issuedcard.d.ts +25 -9
- 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/onboardinginvite.d.ts +1 -1
- package/models/components/onboardinginviterequest.d.ts +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/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/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/transferconfig.d.ts +3 -0
- package/models/components/transferconfig.d.ts.map +1 -1
- package/models/components/transferconfig.js +3 -0
- package/models/components/transferconfig.js.map +1 -1
- package/models/components/transfercontrols.d.ts +43 -0
- package/models/components/transfercontrols.d.ts.map +1 -0
- package/models/components/{createauthorizeduserupdate.js → transfercontrols.js} +20 -17
- package/models/components/transfercontrols.js.map +1 -0
- package/models/components/updateinvoice.d.ts +9 -9
- package/models/components/updateinvoice.d.ts.map +1 -1
- package/models/components/updateinvoice.js +3 -3
- package/models/components/updateinvoice.js.map +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/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/webhookdataauthorizationexpiring.js +65 -0
- 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/createinvoiceerror.d.ts +3 -3
- package/models/errors/createinvoiceerror.d.ts.map +1 -1
- package/models/errors/createinvoiceerror.js +4 -4
- package/models/errors/createinvoiceerror.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/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/updateinvoiceerror.d.ts +3 -3
- package/models/errors/updateinvoiceerror.d.ts.map +1 -1
- package/models/errors/updateinvoiceerror.js +4 -4
- package/models/errors/updateinvoiceerror.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/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 +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +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/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/capabilities.d.ts +4 -4
- package/sdk/capabilities.js +4 -4
- 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/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/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 +3 -1
- package/src/mcp-server/tools/accountsCreate.ts +8 -10
- 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/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/amountdetails.ts +64 -0
- package/src/models/components/amountdetailsupdate.ts +68 -0
- package/src/models/components/amountdetailsvalidationerror.ts +58 -0
- package/src/models/components/capability.ts +7 -1
- package/src/models/components/capabilityid.ts +14 -2
- package/src/models/components/cardtransactiondetails.ts +7 -0
- package/src/models/components/cardtransactionstatus.ts +1 -0
- package/src/models/components/createaccount.ts +9 -0
- package/src/models/components/createinvoice.ts +9 -9
- 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/fullissuedcard.ts +35 -17
- package/src/models/components/index.ts +8 -4
- package/src/models/components/invoice.ts +11 -5
- package/src/models/components/issuedcard.ts +35 -17
- package/src/models/components/onboardinginvite.ts +1 -1
- package/src/models/components/onboardinginviterequest.ts +1 -1
- 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/paymentlinktype.ts +1 -0
- package/src/models/components/requestcard.ts +23 -34
- package/src/models/components/transferconfig.ts +10 -0
- package/src/models/components/transfercontrols.ts +86 -0
- package/src/models/components/updateinvoice.ts +15 -15
- package/src/models/components/updateissuedcard.ts +73 -17
- package/src/models/components/updatepaymentlink.ts +18 -0
- 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/createinvoiceerror.ts +7 -7
- package/src/models/errors/createpaymentlinkerror.ts +13 -0
- package/src/models/errors/requestcarderror.ts +26 -27
- package/src/models/errors/updateinvoiceerror.ts +7 -7
- package/src/models/errors/updateissuedcarderror.ts +18 -15
- package/src/models/errors/updatepaymentlinkerror.ts +13 -0
- package/src/models/operations/disablecapability.ts +7 -1
- package/src/models/operations/getcapability.ts +7 -1
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/listcancellations.ts +121 -0
- package/src/sdk/accounts.ts +8 -10
- package/src/sdk/capabilities.ts +4 -4
- package/src/sdk/transfers.ts +18 -0
- package/src/types/async.ts +8 -7
- package/src/types/primitives.ts +0 -24
- package/types/async.d.ts.map +1 -1
- package/types/async.js +8 -7
- package/types/async.js.map +1 -1
- package/types/primitives.d.ts +0 -2
- package/types/primitives.d.ts.map +1 -1
- package/types/primitives.js +0 -23
- package/types/primitives.js.map +1 -1
- 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
package/bin/mcp-server.js
CHANGED
|
@@ -37787,6 +37787,57 @@ function remap(inp, mappings) {
|
|
|
37787
37787
|
}
|
|
37788
37788
|
return out;
|
|
37789
37789
|
}
|
|
37790
|
+
function combineSignals(...signals) {
|
|
37791
|
+
const filtered = [];
|
|
37792
|
+
for (const signal of signals) {
|
|
37793
|
+
if (signal) {
|
|
37794
|
+
filtered.push(signal);
|
|
37795
|
+
}
|
|
37796
|
+
}
|
|
37797
|
+
switch (filtered.length) {
|
|
37798
|
+
case 0:
|
|
37799
|
+
case 1:
|
|
37800
|
+
return filtered[0] || null;
|
|
37801
|
+
default:
|
|
37802
|
+
if ("any" in AbortSignal && typeof AbortSignal.any === "function") {
|
|
37803
|
+
return AbortSignal.any(filtered);
|
|
37804
|
+
}
|
|
37805
|
+
return abortSignalAny(filtered);
|
|
37806
|
+
}
|
|
37807
|
+
}
|
|
37808
|
+
function abortSignalAny(signals) {
|
|
37809
|
+
const controller = new AbortController;
|
|
37810
|
+
const result = controller.signal;
|
|
37811
|
+
if (!signals.length) {
|
|
37812
|
+
return controller.signal;
|
|
37813
|
+
}
|
|
37814
|
+
if (signals.length === 1) {
|
|
37815
|
+
return signals[0] || controller.signal;
|
|
37816
|
+
}
|
|
37817
|
+
for (const signal of signals) {
|
|
37818
|
+
if (signal.aborted) {
|
|
37819
|
+
return signal;
|
|
37820
|
+
}
|
|
37821
|
+
}
|
|
37822
|
+
function abort() {
|
|
37823
|
+
controller.abort(this.reason);
|
|
37824
|
+
clean();
|
|
37825
|
+
}
|
|
37826
|
+
const signalRefs = [];
|
|
37827
|
+
function clean() {
|
|
37828
|
+
for (const signalRef of signalRefs) {
|
|
37829
|
+
const signal = signalRef.deref();
|
|
37830
|
+
if (signal) {
|
|
37831
|
+
signal.removeEventListener("abort", abort);
|
|
37832
|
+
}
|
|
37833
|
+
}
|
|
37834
|
+
}
|
|
37835
|
+
for (const signal of signals) {
|
|
37836
|
+
signalRefs.push(new WeakRef(signal));
|
|
37837
|
+
signal.addEventListener("abort", abort);
|
|
37838
|
+
}
|
|
37839
|
+
return result;
|
|
37840
|
+
}
|
|
37790
37841
|
function compactMap(values) {
|
|
37791
37842
|
const out = {};
|
|
37792
37843
|
for (const [k2, v2] of Object.entries(values)) {
|
|
@@ -37802,6 +37853,20 @@ function allRequired(v2) {
|
|
|
37802
37853
|
}
|
|
37803
37854
|
return v2;
|
|
37804
37855
|
}
|
|
37856
|
+
function isPlainObject2(value) {
|
|
37857
|
+
if (value === null || typeof value !== "object")
|
|
37858
|
+
return false;
|
|
37859
|
+
if (Object.prototype.toString.call(value) !== "[object Object]")
|
|
37860
|
+
return false;
|
|
37861
|
+
const proto = Object.getPrototypeOf(value);
|
|
37862
|
+
if (proto === null || proto === Object.prototype)
|
|
37863
|
+
return true;
|
|
37864
|
+
try {
|
|
37865
|
+
return Object.getPrototypeOf(proto) === null;
|
|
37866
|
+
} catch {
|
|
37867
|
+
return false;
|
|
37868
|
+
}
|
|
37869
|
+
}
|
|
37805
37870
|
var init_primitives = () => {};
|
|
37806
37871
|
|
|
37807
37872
|
// node_modules/zod/v4/mini/parse.js
|
|
@@ -40301,7 +40366,7 @@ class Protocol {
|
|
|
40301
40366
|
};
|
|
40302
40367
|
}
|
|
40303
40368
|
}
|
|
40304
|
-
function
|
|
40369
|
+
function isPlainObject3(value) {
|
|
40305
40370
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
40306
40371
|
}
|
|
40307
40372
|
function mergeCapabilities(base, additional) {
|
|
@@ -40312,7 +40377,7 @@ function mergeCapabilities(base, additional) {
|
|
|
40312
40377
|
if (addValue === undefined)
|
|
40313
40378
|
continue;
|
|
40314
40379
|
const baseValue = result[k2];
|
|
40315
|
-
if (
|
|
40380
|
+
if (isPlainObject3(baseValue) && isPlainObject3(addValue)) {
|
|
40316
40381
|
result[k2] = { ...baseValue, ...addValue };
|
|
40317
40382
|
} else {
|
|
40318
40383
|
result[k2] = addValue;
|
|
@@ -53586,9 +53651,9 @@ var init_config = __esm(() => {
|
|
|
53586
53651
|
SDK_METADATA = {
|
|
53587
53652
|
language: "typescript",
|
|
53588
53653
|
openapiDocVersion: "dev",
|
|
53589
|
-
sdkVersion: "0.0.0-dev.
|
|
53590
|
-
genVersion: "2.
|
|
53591
|
-
userAgent: "speakeasy-sdk/typescript 0.0.0-dev.
|
|
53654
|
+
sdkVersion: "0.0.0-dev.25",
|
|
53655
|
+
genVersion: "2.911.0",
|
|
53656
|
+
userAgent: "speakeasy-sdk/typescript 0.0.0-dev.25 2.911.0 dev @moovio/sdk"
|
|
53592
53657
|
};
|
|
53593
53658
|
});
|
|
53594
53659
|
|
|
@@ -53761,15 +53826,6 @@ var init_base64 = __esm(() => {
|
|
|
53761
53826
|
zodInbound = instanceOfType(Uint8Array).or(stringType().transform(bytesFromBase64));
|
|
53762
53827
|
});
|
|
53763
53828
|
|
|
53764
|
-
// src/lib/is-plain-object.ts
|
|
53765
|
-
function isPlainObject3(value) {
|
|
53766
|
-
if (typeof value !== "object" || value === null) {
|
|
53767
|
-
return false;
|
|
53768
|
-
}
|
|
53769
|
-
const prototype = Object.getPrototypeOf(value);
|
|
53770
|
-
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
|
|
53771
|
-
}
|
|
53772
|
-
|
|
53773
53829
|
// src/lib/encodings.ts
|
|
53774
53830
|
function formEncoder(sep) {
|
|
53775
53831
|
return (key, value, options) => {
|
|
@@ -53790,7 +53846,7 @@ function formEncoder(sep) {
|
|
|
53790
53846
|
return;
|
|
53791
53847
|
} else if (Array.isArray(pv)) {
|
|
53792
53848
|
encValue = mapDefined(pv, (v2) => `${encodeValue(v2)}`)?.join(encodedSep);
|
|
53793
|
-
} else if (
|
|
53849
|
+
} else if (isPlainObject2(pv)) {
|
|
53794
53850
|
encValue = mapDefinedEntries(Object.entries(pv), ([k2, v2]) => {
|
|
53795
53851
|
return `${encodeString(k2)}${encodedSep}${encodeValue(v2)}`;
|
|
53796
53852
|
})?.join(encodedSep);
|
|
@@ -53813,7 +53869,7 @@ function encodeDeepObject(key, value, options) {
|
|
|
53813
53869
|
if (value == null) {
|
|
53814
53870
|
return;
|
|
53815
53871
|
}
|
|
53816
|
-
if (!
|
|
53872
|
+
if (!isPlainObject2(value)) {
|
|
53817
53873
|
throw new EncodingError(`Value of parameter '${key}' which uses deepObject encoding must be an object or null`);
|
|
53818
53874
|
}
|
|
53819
53875
|
return encodeDeepObjectObject(key, value, options);
|
|
@@ -53826,7 +53882,7 @@ function encodeDeepObjectObject(key, value, options) {
|
|
|
53826
53882
|
const encodeString = (v2) => {
|
|
53827
53883
|
return options?.charEncoding === "percent" ? encodeURIComponent(v2) : v2;
|
|
53828
53884
|
};
|
|
53829
|
-
if (!
|
|
53885
|
+
if (!isPlainObject2(value)) {
|
|
53830
53886
|
throw new EncodingError(`Expected parameter '${key}' to be an object.`);
|
|
53831
53887
|
}
|
|
53832
53888
|
Object.entries(value).forEach(([ck, cv]) => {
|
|
@@ -53834,7 +53890,7 @@ function encodeDeepObjectObject(key, value, options) {
|
|
|
53834
53890
|
return;
|
|
53835
53891
|
}
|
|
53836
53892
|
const pk = `${key}[${ck}]`;
|
|
53837
|
-
if (
|
|
53893
|
+
if (isPlainObject2(cv)) {
|
|
53838
53894
|
const objOut = encodeDeepObjectObject(pk, cv, options);
|
|
53839
53895
|
out += objOut == null ? "" : `&${objOut}`;
|
|
53840
53896
|
return;
|
|
@@ -53860,7 +53916,7 @@ function encodeJSON(key, value, options) {
|
|
|
53860
53916
|
function explode(key, value) {
|
|
53861
53917
|
if (Array.isArray(value)) {
|
|
53862
53918
|
return value.map((v2) => [key, v2]);
|
|
53863
|
-
} else if (
|
|
53919
|
+
} else if (isPlainObject2(value)) {
|
|
53864
53920
|
const o = value ?? {};
|
|
53865
53921
|
return Object.entries(o).map(([k2, v2]) => [k2, v2]);
|
|
53866
53922
|
} else {
|
|
@@ -53985,13 +54041,13 @@ var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encode
|
|
|
53985
54041
|
return;
|
|
53986
54042
|
} else if (Array.isArray(pv)) {
|
|
53987
54043
|
tmp = mapDefined(pv, (v2) => `${encodeValue(v2)}`)?.join(",");
|
|
53988
|
-
} else if (
|
|
54044
|
+
} else if (isPlainObject2(pv)) {
|
|
53989
54045
|
const mapped = mapDefinedEntries(Object.entries(pv), ([k2, v2]) => {
|
|
53990
54046
|
return `,${encodeString(k2)},${encodeValue(v2)}`;
|
|
53991
54047
|
});
|
|
53992
54048
|
tmp = mapped?.join("").slice(1);
|
|
53993
54049
|
} else {
|
|
53994
|
-
const k2 = options?.explode &&
|
|
54050
|
+
const k2 = options?.explode && isPlainObject2(value) ? `${pk}=` : "";
|
|
53995
54051
|
tmp = `${k2}${encodeValue(pv)}`;
|
|
53996
54052
|
}
|
|
53997
54053
|
out += tmp ? `,${tmp}` : "";
|
|
@@ -54000,6 +54056,7 @@ var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encode
|
|
|
54000
54056
|
}, encodeJSONQuery, encodeFormQuery, encodeSpaceDelimitedQuery, encodePipeDelimitedQuery, encodeDeepObjectQuery;
|
|
54001
54057
|
var init_encodings = __esm(() => {
|
|
54002
54058
|
init_base64();
|
|
54059
|
+
init_primitives();
|
|
54003
54060
|
EncodingError = class EncodingError extends Error {
|
|
54004
54061
|
constructor(message) {
|
|
54005
54062
|
super(message);
|
|
@@ -54265,6 +54322,13 @@ async function retryBackoff(fn, strategy) {
|
|
|
54265
54322
|
}
|
|
54266
54323
|
}
|
|
54267
54324
|
function retryIntervalFromResponse(res) {
|
|
54325
|
+
const retryAfterMsVal = res.headers.get("retry-after-ms");
|
|
54326
|
+
if (retryAfterMsVal) {
|
|
54327
|
+
const parsedMs = Number(retryAfterMsVal);
|
|
54328
|
+
if (Number.isFinite(parsedMs) && parsedMs >= 0) {
|
|
54329
|
+
return parsedMs;
|
|
54330
|
+
}
|
|
54331
|
+
}
|
|
54268
54332
|
const retryVal = res.headers.get("retry-after") || "";
|
|
54269
54333
|
if (!retryVal) {
|
|
54270
54334
|
return 0;
|
|
@@ -54356,24 +54420,41 @@ class ClientSDK {
|
|
|
54356
54420
|
if (path) {
|
|
54357
54421
|
baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/";
|
|
54358
54422
|
reqURL = new URL(path, baseURL);
|
|
54423
|
+
if (!reqURL.search && baseURL.search) {
|
|
54424
|
+
reqURL.search = baseURL.search;
|
|
54425
|
+
}
|
|
54359
54426
|
} else {
|
|
54360
54427
|
reqURL = baseURL;
|
|
54361
54428
|
}
|
|
54362
54429
|
reqURL.hash = "";
|
|
54363
|
-
|
|
54364
|
-
|
|
54365
|
-
|
|
54366
|
-
const q2 = encodeForm(k2, v2, { charEncoding: "percent" });
|
|
54367
|
-
if (typeof q2 !== "undefined") {
|
|
54368
|
-
secQuery.push(q2);
|
|
54430
|
+
const mergeQuery = (current, additions) => {
|
|
54431
|
+
if (!additions) {
|
|
54432
|
+
return current;
|
|
54369
54433
|
}
|
|
54370
|
-
|
|
54371
|
-
|
|
54372
|
-
|
|
54373
|
-
|
|
54434
|
+
const additionKeys = new Set(additions.split("&").filter((pair) => pair !== "").map((pair) => pair.split("=")[0] ?? ""));
|
|
54435
|
+
const kept = current.split("&").filter((pair) => {
|
|
54436
|
+
return pair !== "" && !additionKeys.has(pair.split("=")[0] ?? "");
|
|
54437
|
+
});
|
|
54438
|
+
return [...kept, additions].join("&");
|
|
54439
|
+
};
|
|
54440
|
+
const encodeQueryRecord = (record3) => {
|
|
54441
|
+
return Object.entries(record3).map(([k2, v2]) => {
|
|
54442
|
+
if (v2 == null) {
|
|
54443
|
+
return;
|
|
54444
|
+
}
|
|
54445
|
+
const value = v2;
|
|
54446
|
+
return encodeForm(k2, value, {
|
|
54447
|
+
explode: Array.isArray(value),
|
|
54448
|
+
charEncoding: "percent"
|
|
54449
|
+
});
|
|
54450
|
+
}).filter((pair) => typeof pair !== "undefined").join("&");
|
|
54451
|
+
};
|
|
54452
|
+
const finalQuery = [
|
|
54453
|
+
query || "",
|
|
54454
|
+
encodeQueryRecord(security?.queryParams || {})
|
|
54455
|
+
].reduce(mergeQuery, reqURL.search.slice(1));
|
|
54374
54456
|
if (finalQuery) {
|
|
54375
|
-
|
|
54376
|
-
reqURL.search = `?${q2}`;
|
|
54457
|
+
reqURL.search = `?${finalQuery}`;
|
|
54377
54458
|
}
|
|
54378
54459
|
const headers = new Headers(opHeaders);
|
|
54379
54460
|
const username = security?.basic.username;
|
|
@@ -54403,9 +54484,8 @@ class ClientSDK {
|
|
|
54403
54484
|
...options?.fetchOptions,
|
|
54404
54485
|
...options
|
|
54405
54486
|
};
|
|
54406
|
-
if (!fetchOptions?.signal && conf.timeoutMs && conf.timeoutMs > 0) {
|
|
54407
|
-
|
|
54408
|
-
fetchOptions.signal = timeoutSignal;
|
|
54487
|
+
if (!fetchOptions?.signal && conf.timeoutMs != null && conf.timeoutMs > 0) {
|
|
54488
|
+
context.timeoutMs = conf.timeoutMs;
|
|
54409
54489
|
}
|
|
54410
54490
|
if (conf.body instanceof ReadableStream) {
|
|
54411
54491
|
Object.assign(fetchOptions, { duplex: "half" });
|
|
@@ -54430,8 +54510,16 @@ class ClientSDK {
|
|
|
54430
54510
|
}
|
|
54431
54511
|
async _do(request, options) {
|
|
54432
54512
|
const { context, isErrorStatusCode } = options;
|
|
54513
|
+
const timeoutMs = context.timeoutMs;
|
|
54433
54514
|
return retry(async () => {
|
|
54434
|
-
const
|
|
54515
|
+
const cloned = request.clone();
|
|
54516
|
+
let attempt = cloned;
|
|
54517
|
+
if (timeoutMs != null && timeoutMs > 0) {
|
|
54518
|
+
const timeoutSignal = AbortSignal.timeout(timeoutMs);
|
|
54519
|
+
const combined = combineSignals(cloned.signal, timeoutSignal) ?? timeoutSignal;
|
|
54520
|
+
attempt = new Request(cloned, { signal: combined });
|
|
54521
|
+
}
|
|
54522
|
+
const req = await this.#hooks.beforeRequest(context, attempt);
|
|
54435
54523
|
await logRequest(this.#logger, req).catch((e) => this.#logger?.log("Failed to log request:", e));
|
|
54436
54524
|
let response = await this.#httpClient.request(req);
|
|
54437
54525
|
try {
|
|
@@ -54549,6 +54637,7 @@ var init_sdks = __esm(() => {
|
|
|
54549
54637
|
init_config();
|
|
54550
54638
|
init_encodings();
|
|
54551
54639
|
init_http();
|
|
54640
|
+
init_primitives();
|
|
54552
54641
|
init_retries();
|
|
54553
54642
|
gt2 = typeof globalThis === "undefined" ? null : globalThis;
|
|
54554
54643
|
webWorkerLike2 = typeof gt2 === "object" && gt2 != null && "importScripts" in gt2 && typeof gt2["importScripts"] === "function";
|
|
@@ -54998,7 +55087,7 @@ function match(...matchers) {
|
|
|
54998
55087
|
data = {
|
|
54999
55088
|
...options?.extraFields,
|
|
55000
55089
|
...matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null,
|
|
55001
|
-
...
|
|
55090
|
+
...isPlainObject2(raw) ? raw : null,
|
|
55002
55091
|
request$: request,
|
|
55003
55092
|
response$: response,
|
|
55004
55093
|
body$: body
|
|
@@ -55013,7 +55102,7 @@ function match(...matchers) {
|
|
|
55013
55102
|
data = {
|
|
55014
55103
|
...options?.extraFields,
|
|
55015
55104
|
...matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null,
|
|
55016
|
-
...
|
|
55105
|
+
...isPlainObject2(raw) ? raw : null
|
|
55017
55106
|
};
|
|
55018
55107
|
} else {
|
|
55019
55108
|
data = raw;
|
|
@@ -55053,6 +55142,7 @@ var init_matchers = __esm(() => {
|
|
|
55053
55142
|
init_apierror();
|
|
55054
55143
|
init_responsevalidationerror();
|
|
55055
55144
|
init_http();
|
|
55145
|
+
init_primitives();
|
|
55056
55146
|
DEFAULT_CONTENT_TYPES = {
|
|
55057
55147
|
jsonl: "application/jsonl",
|
|
55058
55148
|
json: "application/json",
|
|
@@ -56970,14 +57060,15 @@ var init_amount = __esm(() => {
|
|
|
56970
57060
|
var AmountDecimalRange$inboundSchema, AmountDecimalRange$outboundSchema;
|
|
56971
57061
|
var init_amountdecimalrange = __esm(() => {
|
|
56972
57062
|
init_v3();
|
|
57063
|
+
init_primitives2();
|
|
56973
57064
|
init_amountdecimal();
|
|
56974
57065
|
AmountDecimalRange$inboundSchema = objectType({
|
|
56975
|
-
minimum: AmountDecimal$inboundSchema,
|
|
56976
|
-
maximum: AmountDecimal$inboundSchema
|
|
57066
|
+
minimum: optional3(AmountDecimal$inboundSchema),
|
|
57067
|
+
maximum: optional3(AmountDecimal$inboundSchema)
|
|
56977
57068
|
});
|
|
56978
57069
|
AmountDecimalRange$outboundSchema = objectType({
|
|
56979
|
-
minimum: AmountDecimal$outboundSchema,
|
|
56980
|
-
maximum: AmountDecimal$outboundSchema
|
|
57070
|
+
minimum: AmountDecimal$outboundSchema.optional(),
|
|
57071
|
+
maximum: AmountDecimal$outboundSchema.optional()
|
|
56981
57072
|
});
|
|
56982
57073
|
});
|
|
56983
57074
|
|
|
@@ -57027,6 +57118,53 @@ var init_amountdecimalvalidationerror = __esm(() => {
|
|
|
57027
57118
|
});
|
|
57028
57119
|
});
|
|
57029
57120
|
|
|
57121
|
+
// src/models/components/amountdetails.ts
|
|
57122
|
+
var AmountDetails$inboundSchema, AmountDetails$outboundSchema;
|
|
57123
|
+
var init_amountdetails = __esm(() => {
|
|
57124
|
+
init_v3();
|
|
57125
|
+
init_primitives2();
|
|
57126
|
+
init_amountdecimal();
|
|
57127
|
+
AmountDetails$inboundSchema = objectType({
|
|
57128
|
+
tax: optional3(AmountDecimal$inboundSchema),
|
|
57129
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
57130
|
+
});
|
|
57131
|
+
AmountDetails$outboundSchema = objectType({
|
|
57132
|
+
tax: AmountDecimal$outboundSchema.optional(),
|
|
57133
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
57134
|
+
});
|
|
57135
|
+
});
|
|
57136
|
+
|
|
57137
|
+
// src/models/components/amountdetailsupdate.ts
|
|
57138
|
+
var AmountDetailsUpdate$inboundSchema, AmountDetailsUpdate$outboundSchema;
|
|
57139
|
+
var init_amountdetailsupdate = __esm(() => {
|
|
57140
|
+
init_v3();
|
|
57141
|
+
init_primitives2();
|
|
57142
|
+
init_amountdecimalupdate();
|
|
57143
|
+
AmountDetailsUpdate$inboundSchema = objectType({
|
|
57144
|
+
tax: optional3(AmountDecimalUpdate$inboundSchema),
|
|
57145
|
+
surcharge: optional3(AmountDecimalUpdate$inboundSchema)
|
|
57146
|
+
});
|
|
57147
|
+
AmountDetailsUpdate$outboundSchema = objectType({
|
|
57148
|
+
tax: AmountDecimalUpdate$outboundSchema.optional(),
|
|
57149
|
+
surcharge: AmountDecimalUpdate$outboundSchema.optional()
|
|
57150
|
+
});
|
|
57151
|
+
});
|
|
57152
|
+
|
|
57153
|
+
// src/models/components/amountdetailsvalidationerror.ts
|
|
57154
|
+
var AmountDetailsValidationError$inboundSchema, AmountDetailsValidationError$outboundSchema;
|
|
57155
|
+
var init_amountdetailsvalidationerror = __esm(() => {
|
|
57156
|
+
init_v3();
|
|
57157
|
+
init_primitives2();
|
|
57158
|
+
AmountDetailsValidationError$inboundSchema = objectType({
|
|
57159
|
+
tax: optional3(string4()),
|
|
57160
|
+
surcharge: optional3(string4())
|
|
57161
|
+
});
|
|
57162
|
+
AmountDetailsValidationError$outboundSchema = objectType({
|
|
57163
|
+
tax: stringType().optional(),
|
|
57164
|
+
surcharge: stringType().optional()
|
|
57165
|
+
});
|
|
57166
|
+
});
|
|
57167
|
+
|
|
57030
57168
|
// src/models/components/amountupdate.ts
|
|
57031
57169
|
var AmountUpdate$inboundSchema, AmountUpdate$outboundSchema;
|
|
57032
57170
|
var init_amountupdate = __esm(() => {
|
|
@@ -57342,21 +57480,6 @@ var init_asynctransfer = __esm(() => {
|
|
|
57342
57480
|
});
|
|
57343
57481
|
});
|
|
57344
57482
|
|
|
57345
|
-
// src/models/components/authorizeduser.ts
|
|
57346
|
-
var AuthorizedUser$inboundSchema, AuthorizedUser$outboundSchema;
|
|
57347
|
-
var init_authorizeduser = __esm(() => {
|
|
57348
|
-
init_v3();
|
|
57349
|
-
init_primitives2();
|
|
57350
|
-
AuthorizedUser$inboundSchema = objectType({
|
|
57351
|
-
firstName: string4(),
|
|
57352
|
-
lastName: string4()
|
|
57353
|
-
});
|
|
57354
|
-
AuthorizedUser$outboundSchema = objectType({
|
|
57355
|
-
firstName: stringType(),
|
|
57356
|
-
lastName: stringType()
|
|
57357
|
-
});
|
|
57358
|
-
});
|
|
57359
|
-
|
|
57360
57483
|
// src/models/components/tokentype.ts
|
|
57361
57484
|
var TokenType, TokenType$inboundSchema, TokenType$outboundSchema;
|
|
57362
57485
|
var init_tokentype = __esm(() => {
|
|
@@ -61562,7 +61685,8 @@ var init_cardtransactionstatus = __esm(() => {
|
|
|
61562
61685
|
Canceled: "canceled",
|
|
61563
61686
|
Settled: "settled",
|
|
61564
61687
|
Failed: "failed",
|
|
61565
|
-
Completed: "completed"
|
|
61688
|
+
Completed: "completed",
|
|
61689
|
+
Deferred: "deferred"
|
|
61566
61690
|
};
|
|
61567
61691
|
CardTransactionStatus$inboundSchema = inboundSchema(CardTransactionStatus);
|
|
61568
61692
|
CardTransactionStatus$outboundSchema = outboundSchema(CardTransactionStatus);
|
|
@@ -61593,6 +61717,7 @@ var init_cardtransactiondetails = __esm(() => {
|
|
|
61593
61717
|
status: optional3(CardTransactionStatus$inboundSchema),
|
|
61594
61718
|
failureCode: optional3(CardTransactionFailureCode$inboundSchema),
|
|
61595
61719
|
dynamicDescriptor: optional3(string4()),
|
|
61720
|
+
scheduledDeliveryOn: optional3(date4()),
|
|
61596
61721
|
transactionSource: optional3(TransactionSource$inboundSchema),
|
|
61597
61722
|
initiatedOn: optional3(date4()),
|
|
61598
61723
|
confirmedOn: optional3(date4()),
|
|
@@ -61608,6 +61733,7 @@ var init_cardtransactiondetails = __esm(() => {
|
|
|
61608
61733
|
status: CardTransactionStatus$outboundSchema.optional(),
|
|
61609
61734
|
failureCode: CardTransactionFailureCode$outboundSchema.optional(),
|
|
61610
61735
|
dynamicDescriptor: stringType().optional(),
|
|
61736
|
+
scheduledDeliveryOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61611
61737
|
transactionSource: TransactionSource$outboundSchema.optional(),
|
|
61612
61738
|
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61613
61739
|
confirmedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
@@ -62252,60 +62378,6 @@ var init_createapplepaysession = __esm(() => {
|
|
|
62252
62378
|
});
|
|
62253
62379
|
});
|
|
62254
62380
|
|
|
62255
|
-
// src/models/components/createauthorizeduser.ts
|
|
62256
|
-
var CreateAuthorizedUser$inboundSchema, CreateAuthorizedUser$outboundSchema;
|
|
62257
|
-
var init_createauthorizeduser = __esm(() => {
|
|
62258
|
-
init_v3();
|
|
62259
|
-
init_primitives2();
|
|
62260
|
-
init_birthdate();
|
|
62261
|
-
CreateAuthorizedUser$inboundSchema = objectType({
|
|
62262
|
-
firstName: string4(),
|
|
62263
|
-
lastName: string4(),
|
|
62264
|
-
birthDate: optional3(BirthDate$inboundSchema)
|
|
62265
|
-
});
|
|
62266
|
-
CreateAuthorizedUser$outboundSchema = objectType({
|
|
62267
|
-
firstName: stringType(),
|
|
62268
|
-
lastName: stringType(),
|
|
62269
|
-
birthDate: BirthDate$outboundSchema.optional()
|
|
62270
|
-
});
|
|
62271
|
-
});
|
|
62272
|
-
|
|
62273
|
-
// src/models/components/createauthorizedusererror.ts
|
|
62274
|
-
var CreateAuthorizedUserError$inboundSchema, CreateAuthorizedUserError$outboundSchema;
|
|
62275
|
-
var init_createauthorizedusererror = __esm(() => {
|
|
62276
|
-
init_v3();
|
|
62277
|
-
init_primitives2();
|
|
62278
|
-
init_birthdateerror();
|
|
62279
|
-
CreateAuthorizedUserError$inboundSchema = objectType({
|
|
62280
|
-
firstName: optional3(string4()),
|
|
62281
|
-
lastName: optional3(string4()),
|
|
62282
|
-
birthDate: optional3(BirthDateError$inboundSchema)
|
|
62283
|
-
});
|
|
62284
|
-
CreateAuthorizedUserError$outboundSchema = objectType({
|
|
62285
|
-
firstName: stringType().optional(),
|
|
62286
|
-
lastName: stringType().optional(),
|
|
62287
|
-
birthDate: BirthDateError$outboundSchema.optional()
|
|
62288
|
-
});
|
|
62289
|
-
});
|
|
62290
|
-
|
|
62291
|
-
// src/models/components/createauthorizeduserupdate.ts
|
|
62292
|
-
var CreateAuthorizedUserUpdate$inboundSchema, CreateAuthorizedUserUpdate$outboundSchema;
|
|
62293
|
-
var init_createauthorizeduserupdate = __esm(() => {
|
|
62294
|
-
init_v3();
|
|
62295
|
-
init_primitives2();
|
|
62296
|
-
init_birthdateupdate();
|
|
62297
|
-
CreateAuthorizedUserUpdate$inboundSchema = objectType({
|
|
62298
|
-
firstName: optional3(string4()),
|
|
62299
|
-
lastName: optional3(string4()),
|
|
62300
|
-
birthDate: optional3(BirthDateUpdate$inboundSchema)
|
|
62301
|
-
});
|
|
62302
|
-
CreateAuthorizedUserUpdate$outboundSchema = objectType({
|
|
62303
|
-
firstName: stringType().optional(),
|
|
62304
|
-
lastName: stringType().optional(),
|
|
62305
|
-
birthDate: BirthDateUpdate$outboundSchema.optional()
|
|
62306
|
-
});
|
|
62307
|
-
});
|
|
62308
|
-
|
|
62309
62381
|
// src/models/components/phonenumbererror.ts
|
|
62310
62382
|
var PhoneNumberError$inboundSchema, PhoneNumberError$outboundSchema;
|
|
62311
62383
|
var init_phonenumbererror = __esm(() => {
|
|
@@ -63163,7 +63235,7 @@ var CreateInvoice$inboundSchema, CreateInvoice$outboundSchema;
|
|
|
63163
63235
|
var init_createinvoice = __esm(() => {
|
|
63164
63236
|
init_v3();
|
|
63165
63237
|
init_primitives2();
|
|
63166
|
-
|
|
63238
|
+
init_amountdetails();
|
|
63167
63239
|
init_createinvoicelineitems();
|
|
63168
63240
|
CreateInvoice$inboundSchema = objectType({
|
|
63169
63241
|
customerAccountID: string4(),
|
|
@@ -63171,7 +63243,7 @@ var init_createinvoice = __esm(() => {
|
|
|
63171
63243
|
lineItems: CreateInvoiceLineItems$inboundSchema,
|
|
63172
63244
|
invoiceDate: optional3(date4()),
|
|
63173
63245
|
dueDate: optional3(date4()),
|
|
63174
|
-
|
|
63246
|
+
amountDetails: optional3(AmountDetails$inboundSchema)
|
|
63175
63247
|
});
|
|
63176
63248
|
CreateInvoice$outboundSchema = objectType({
|
|
63177
63249
|
customerAccountID: stringType(),
|
|
@@ -63179,7 +63251,7 @@ var init_createinvoice = __esm(() => {
|
|
|
63179
63251
|
lineItems: CreateInvoiceLineItems$outboundSchema,
|
|
63180
63252
|
invoiceDate: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
63181
63253
|
dueDate: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
63182
|
-
|
|
63254
|
+
amountDetails: AmountDetails$outboundSchema.optional()
|
|
63183
63255
|
});
|
|
63184
63256
|
});
|
|
63185
63257
|
|
|
@@ -63350,6 +63422,34 @@ var init_createpaymentlinklineitems = __esm(() => {
|
|
|
63350
63422
|
});
|
|
63351
63423
|
});
|
|
63352
63424
|
|
|
63425
|
+
// src/models/components/paymentlinkcustomamountpaymentdetails.ts
|
|
63426
|
+
var PaymentLinkCustomAmountPaymentDetails$inboundSchema, PaymentLinkCustomAmountPaymentDetails$outboundSchema;
|
|
63427
|
+
var init_paymentlinkcustomamountpaymentdetails = __esm(() => {
|
|
63428
|
+
init_v3();
|
|
63429
|
+
init_primitives2();
|
|
63430
|
+
init_achpaymentdetails();
|
|
63431
|
+
init_amountdecimal();
|
|
63432
|
+
init_amountdecimalrange();
|
|
63433
|
+
init_cardpaymentdetails();
|
|
63434
|
+
init_collectionpaymentmethodtype();
|
|
63435
|
+
PaymentLinkCustomAmountPaymentDetails$inboundSchema = objectType({
|
|
63436
|
+
allowedMethods: arrayType(CollectionPaymentMethodType$inboundSchema),
|
|
63437
|
+
cardDetails: optional3(CardPaymentDetails$inboundSchema),
|
|
63438
|
+
achDetails: optional3(ACHPaymentDetails$inboundSchema),
|
|
63439
|
+
metadata: optional3(recordType(string4())),
|
|
63440
|
+
amountRange: optional3(AmountDecimalRange$inboundSchema),
|
|
63441
|
+
suggestedAmounts: optional3(arrayType(AmountDecimal$inboundSchema))
|
|
63442
|
+
});
|
|
63443
|
+
PaymentLinkCustomAmountPaymentDetails$outboundSchema = objectType({
|
|
63444
|
+
allowedMethods: arrayType(CollectionPaymentMethodType$outboundSchema),
|
|
63445
|
+
cardDetails: CardPaymentDetails$outboundSchema.optional(),
|
|
63446
|
+
achDetails: ACHPaymentDetails$outboundSchema.optional(),
|
|
63447
|
+
metadata: recordType(stringType()).optional(),
|
|
63448
|
+
amountRange: AmountDecimalRange$outboundSchema.optional(),
|
|
63449
|
+
suggestedAmounts: arrayType(AmountDecimal$outboundSchema).optional()
|
|
63450
|
+
});
|
|
63451
|
+
});
|
|
63452
|
+
|
|
63353
63453
|
// src/models/components/paymentlinkcustomeroptions.ts
|
|
63354
63454
|
var PaymentLinkCustomerOptions$inboundSchema, PaymentLinkCustomerOptions$outboundSchema;
|
|
63355
63455
|
var init_paymentlinkcustomeroptions = __esm(() => {
|
|
@@ -63388,36 +63488,21 @@ var init_paymentlinkdisplayoptions = __esm(() => {
|
|
|
63388
63488
|
});
|
|
63389
63489
|
|
|
63390
63490
|
// src/models/components/paymentlinkpaymentdetails.ts
|
|
63391
|
-
var
|
|
63491
|
+
var PaymentLinkPaymentDetails$inboundSchema, PaymentLinkPaymentDetails$outboundSchema;
|
|
63392
63492
|
var init_paymentlinkpaymentdetails = __esm(() => {
|
|
63393
63493
|
init_v3();
|
|
63394
|
-
init_enums();
|
|
63395
63494
|
init_primitives2();
|
|
63396
63495
|
init_achpaymentdetails();
|
|
63397
|
-
init_amountdecimal();
|
|
63398
|
-
init_amountdecimalrange();
|
|
63399
63496
|
init_cardpaymentdetails();
|
|
63400
63497
|
init_collectionpaymentmethodtype();
|
|
63401
|
-
AmountType = {
|
|
63402
|
-
Fixed: "fixed",
|
|
63403
|
-
Open: "open"
|
|
63404
|
-
};
|
|
63405
|
-
AmountType$inboundSchema = inboundSchema(AmountType);
|
|
63406
|
-
AmountType$outboundSchema = outboundSchema(AmountType);
|
|
63407
63498
|
PaymentLinkPaymentDetails$inboundSchema = objectType({
|
|
63408
63499
|
allowedMethods: arrayType(CollectionPaymentMethodType$inboundSchema),
|
|
63409
|
-
amountType: AmountType$inboundSchema.default("fixed"),
|
|
63410
|
-
amountRange: optional3(AmountDecimalRange$inboundSchema),
|
|
63411
|
-
suggestedAmounts: optional3(arrayType(AmountDecimal$inboundSchema)),
|
|
63412
63500
|
cardDetails: optional3(CardPaymentDetails$inboundSchema),
|
|
63413
63501
|
achDetails: optional3(ACHPaymentDetails$inboundSchema),
|
|
63414
63502
|
metadata: optional3(recordType(string4()))
|
|
63415
63503
|
});
|
|
63416
63504
|
PaymentLinkPaymentDetails$outboundSchema = objectType({
|
|
63417
63505
|
allowedMethods: arrayType(CollectionPaymentMethodType$outboundSchema),
|
|
63418
|
-
amountType: AmountType$outboundSchema.default("fixed"),
|
|
63419
|
-
amountRange: AmountDecimalRange$outboundSchema.optional(),
|
|
63420
|
-
suggestedAmounts: arrayType(AmountDecimal$outboundSchema).optional(),
|
|
63421
63506
|
cardDetails: CardPaymentDetails$outboundSchema.optional(),
|
|
63422
63507
|
achDetails: ACHPaymentDetails$outboundSchema.optional(),
|
|
63423
63508
|
metadata: recordType(stringType()).optional()
|
|
@@ -63483,6 +63568,7 @@ var init_createpaymentlink = __esm(() => {
|
|
|
63483
63568
|
init_amount();
|
|
63484
63569
|
init_createpaymentlinkamountdetails();
|
|
63485
63570
|
init_createpaymentlinklineitems();
|
|
63571
|
+
init_paymentlinkcustomamountpaymentdetails();
|
|
63486
63572
|
init_paymentlinkcustomeroptions();
|
|
63487
63573
|
init_paymentlinkdisplayoptions();
|
|
63488
63574
|
init_paymentlinkpaymentdetails();
|
|
@@ -63497,6 +63583,7 @@ var init_createpaymentlink = __esm(() => {
|
|
|
63497
63583
|
customer: optional3(PaymentLinkCustomerOptions$inboundSchema),
|
|
63498
63584
|
payment: optional3(PaymentLinkPaymentDetails$inboundSchema),
|
|
63499
63585
|
payout: optional3(PaymentLinkPayoutDetails$inboundSchema),
|
|
63586
|
+
customAmountPayment: optional3(PaymentLinkCustomAmountPaymentDetails$inboundSchema),
|
|
63500
63587
|
lineItems: optional3(CreatePaymentLinkLineItems$inboundSchema),
|
|
63501
63588
|
amountDetails: optional3(CreatePaymentLinkAmountDetails$inboundSchema)
|
|
63502
63589
|
});
|
|
@@ -63510,6 +63597,7 @@ var init_createpaymentlink = __esm(() => {
|
|
|
63510
63597
|
customer: PaymentLinkCustomerOptions$outboundSchema.optional(),
|
|
63511
63598
|
payment: PaymentLinkPaymentDetails$outboundSchema.optional(),
|
|
63512
63599
|
payout: PaymentLinkPayoutDetails$outboundSchema.optional(),
|
|
63600
|
+
customAmountPayment: PaymentLinkCustomAmountPaymentDetails$outboundSchema.optional(),
|
|
63513
63601
|
lineItems: CreatePaymentLinkLineItems$outboundSchema.optional(),
|
|
63514
63602
|
amountDetails: CreatePaymentLinkAmountDetails$outboundSchema.optional()
|
|
63515
63603
|
});
|
|
@@ -64282,10 +64370,12 @@ var init_createtransferdestinationcard = __esm(() => {
|
|
|
64282
64370
|
init_cardpayouttype();
|
|
64283
64371
|
CreateTransferDestinationCard$inboundSchema = objectType({
|
|
64284
64372
|
dynamicDescriptor: optional3(string4()),
|
|
64373
|
+
scheduledDeliveryOn: optional3(date4()),
|
|
64285
64374
|
payoutType: optional3(CardPayoutType$inboundSchema)
|
|
64286
64375
|
});
|
|
64287
64376
|
CreateTransferDestinationCard$outboundSchema = objectType({
|
|
64288
64377
|
dynamicDescriptor: stringType().optional(),
|
|
64378
|
+
scheduledDeliveryOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
64289
64379
|
payoutType: CardPayoutType$outboundSchema.optional()
|
|
64290
64380
|
});
|
|
64291
64381
|
});
|
|
@@ -64651,7 +64741,8 @@ var init_webhookeventtype = __esm(() => {
|
|
|
64651
64741
|
WalletCreated: "wallet.created",
|
|
64652
64742
|
WalletUpdated: "wallet.updated",
|
|
64653
64743
|
WalletTransactionUpdated: "walletTransaction.updated",
|
|
64654
|
-
BillingStatementCreated: "billingStatement.created"
|
|
64744
|
+
BillingStatementCreated: "billingStatement.created",
|
|
64745
|
+
AuthorizationExpiring: "authorization.expiring"
|
|
64655
64746
|
};
|
|
64656
64747
|
WebhookEventType$inboundSchema = inboundSchema(WebhookEventType);
|
|
64657
64748
|
WebhookEventType$outboundSchema = outboundSchema(WebhookEventType);
|
|
@@ -64690,6 +64781,31 @@ var init_createwebhook = __esm(() => {
|
|
|
64690
64781
|
});
|
|
64691
64782
|
});
|
|
64692
64783
|
|
|
64784
|
+
// src/models/components/customamountpaymentdetailserror.ts
|
|
64785
|
+
var CustomAmountPaymentDetailsError$inboundSchema, CustomAmountPaymentDetailsError$outboundSchema;
|
|
64786
|
+
var init_customamountpaymentdetailserror = __esm(() => {
|
|
64787
|
+
init_v3();
|
|
64788
|
+
init_primitives2();
|
|
64789
|
+
init_achpaymentdetailserror();
|
|
64790
|
+
init_cardpaymentdetailserror();
|
|
64791
|
+
CustomAmountPaymentDetailsError$inboundSchema = objectType({
|
|
64792
|
+
allowedMethods: optional3(string4()),
|
|
64793
|
+
cardDetails: optional3(CardPaymentDetailsError$inboundSchema),
|
|
64794
|
+
achDetails: optional3(ACHPaymentDetailsError$inboundSchema),
|
|
64795
|
+
metadata: optional3(string4()),
|
|
64796
|
+
amountRange: optional3(string4()),
|
|
64797
|
+
suggestedAmounts: optional3(string4())
|
|
64798
|
+
});
|
|
64799
|
+
CustomAmountPaymentDetailsError$outboundSchema = objectType({
|
|
64800
|
+
allowedMethods: stringType().optional(),
|
|
64801
|
+
cardDetails: CardPaymentDetailsError$outboundSchema.optional(),
|
|
64802
|
+
achDetails: ACHPaymentDetailsError$outboundSchema.optional(),
|
|
64803
|
+
metadata: stringType().optional(),
|
|
64804
|
+
amountRange: stringType().optional(),
|
|
64805
|
+
suggestedAmounts: stringType().optional()
|
|
64806
|
+
});
|
|
64807
|
+
});
|
|
64808
|
+
|
|
64693
64809
|
// src/models/components/customersupporterror.ts
|
|
64694
64810
|
var CustomerSupportError$inboundSchema, CustomerSupportError$outboundSchema;
|
|
64695
64811
|
var init_customersupporterror = __esm(() => {
|
|
@@ -65440,7 +65556,7 @@ var FullIssuedCard$inboundSchema, FullIssuedCard$outboundSchema;
|
|
|
65440
65556
|
var init_fullissuedcard = __esm(() => {
|
|
65441
65557
|
init_v3();
|
|
65442
65558
|
init_primitives2();
|
|
65443
|
-
|
|
65559
|
+
init_address();
|
|
65444
65560
|
init_cardbrand();
|
|
65445
65561
|
init_cardexpiration();
|
|
65446
65562
|
init_issuedcardformfactor();
|
|
@@ -65451,13 +65567,16 @@ var init_fullissuedcard = __esm(() => {
|
|
|
65451
65567
|
brand: CardBrand$inboundSchema,
|
|
65452
65568
|
lastFourCardNumber: string4(),
|
|
65453
65569
|
expiration: CardExpiration$inboundSchema,
|
|
65454
|
-
authorizedUser: AuthorizedUser$inboundSchema,
|
|
65455
|
-
memo: optional3(string4()),
|
|
65456
65570
|
fundingWalletID: string4(),
|
|
65571
|
+
authorizedUserAccountID: optional3(string4()),
|
|
65572
|
+
nickname: optional3(string4()),
|
|
65573
|
+
metadata: optional3(recordType(string4())),
|
|
65574
|
+
billingAddress: optional3(Address$inboundSchema),
|
|
65457
65575
|
state: IssuedCardState$inboundSchema,
|
|
65458
65576
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
65459
65577
|
controls: optional3(IssuingControls$inboundSchema),
|
|
65460
65578
|
createdOn: date4(),
|
|
65579
|
+
updatedOn: date4(),
|
|
65461
65580
|
pan: string4(),
|
|
65462
65581
|
cvv: string4()
|
|
65463
65582
|
});
|
|
@@ -65466,13 +65585,16 @@ var init_fullissuedcard = __esm(() => {
|
|
|
65466
65585
|
brand: CardBrand$outboundSchema,
|
|
65467
65586
|
lastFourCardNumber: stringType(),
|
|
65468
65587
|
expiration: CardExpiration$outboundSchema,
|
|
65469
|
-
authorizedUser: AuthorizedUser$outboundSchema,
|
|
65470
|
-
memo: stringType().optional(),
|
|
65471
65588
|
fundingWalletID: stringType(),
|
|
65589
|
+
authorizedUserAccountID: stringType().optional(),
|
|
65590
|
+
nickname: stringType().optional(),
|
|
65591
|
+
metadata: recordType(stringType()).optional(),
|
|
65592
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
65472
65593
|
state: IssuedCardState$outboundSchema,
|
|
65473
65594
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
65474
65595
|
controls: IssuingControls$outboundSchema.optional(),
|
|
65475
65596
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
65597
|
+
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
65476
65598
|
pan: stringType(),
|
|
65477
65599
|
cvv: stringType()
|
|
65478
65600
|
});
|
|
@@ -66181,6 +66303,7 @@ var init_invoice = __esm(() => {
|
|
|
66181
66303
|
init_v3();
|
|
66182
66304
|
init_primitives2();
|
|
66183
66305
|
init_amountdecimal();
|
|
66306
|
+
init_amountdetails();
|
|
66184
66307
|
init_invoicelineitems();
|
|
66185
66308
|
init_invoicepayment();
|
|
66186
66309
|
init_invoicestatus();
|
|
@@ -66195,7 +66318,7 @@ var init_invoice = __esm(() => {
|
|
|
66195
66318
|
status: InvoiceStatus$inboundSchema,
|
|
66196
66319
|
lineItems: InvoiceLineItems$inboundSchema,
|
|
66197
66320
|
subtotalAmount: AmountDecimal$inboundSchema,
|
|
66198
|
-
|
|
66321
|
+
amountDetails: optional3(AmountDetails$inboundSchema),
|
|
66199
66322
|
totalAmount: AmountDecimal$inboundSchema,
|
|
66200
66323
|
pendingAmount: AmountDecimal$inboundSchema,
|
|
66201
66324
|
paidAmount: AmountDecimal$inboundSchema,
|
|
@@ -66222,7 +66345,7 @@ var init_invoice = __esm(() => {
|
|
|
66222
66345
|
status: InvoiceStatus$outboundSchema,
|
|
66223
66346
|
lineItems: InvoiceLineItems$outboundSchema,
|
|
66224
66347
|
subtotalAmount: AmountDecimal$outboundSchema,
|
|
66225
|
-
|
|
66348
|
+
amountDetails: AmountDetails$outboundSchema.optional(),
|
|
66226
66349
|
totalAmount: AmountDecimal$outboundSchema,
|
|
66227
66350
|
pendingAmount: AmountDecimal$outboundSchema,
|
|
66228
66351
|
paidAmount: AmountDecimal$outboundSchema,
|
|
@@ -66302,7 +66425,7 @@ var IssuedCard$inboundSchema, IssuedCard$outboundSchema;
|
|
|
66302
66425
|
var init_issuedcard = __esm(() => {
|
|
66303
66426
|
init_v3();
|
|
66304
66427
|
init_primitives2();
|
|
66305
|
-
|
|
66428
|
+
init_address();
|
|
66306
66429
|
init_cardbrand();
|
|
66307
66430
|
init_cardexpiration();
|
|
66308
66431
|
init_issuedcardformfactor();
|
|
@@ -66313,26 +66436,32 @@ var init_issuedcard = __esm(() => {
|
|
|
66313
66436
|
brand: CardBrand$inboundSchema,
|
|
66314
66437
|
lastFourCardNumber: string4(),
|
|
66315
66438
|
expiration: CardExpiration$inboundSchema,
|
|
66316
|
-
authorizedUser: AuthorizedUser$inboundSchema,
|
|
66317
|
-
memo: optional3(string4()),
|
|
66318
66439
|
fundingWalletID: string4(),
|
|
66440
|
+
authorizedUserAccountID: optional3(string4()),
|
|
66441
|
+
nickname: optional3(string4()),
|
|
66442
|
+
metadata: optional3(recordType(string4())),
|
|
66443
|
+
billingAddress: optional3(Address$inboundSchema),
|
|
66319
66444
|
state: IssuedCardState$inboundSchema,
|
|
66320
66445
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
66321
66446
|
controls: optional3(IssuingControls$inboundSchema),
|
|
66322
|
-
createdOn: date4()
|
|
66447
|
+
createdOn: date4(),
|
|
66448
|
+
updatedOn: date4()
|
|
66323
66449
|
});
|
|
66324
66450
|
IssuedCard$outboundSchema = objectType({
|
|
66325
66451
|
issuedCardID: stringType(),
|
|
66326
66452
|
brand: CardBrand$outboundSchema,
|
|
66327
66453
|
lastFourCardNumber: stringType(),
|
|
66328
66454
|
expiration: CardExpiration$outboundSchema,
|
|
66329
|
-
authorizedUser: AuthorizedUser$outboundSchema,
|
|
66330
|
-
memo: stringType().optional(),
|
|
66331
66455
|
fundingWalletID: stringType(),
|
|
66456
|
+
authorizedUserAccountID: stringType().optional(),
|
|
66457
|
+
nickname: stringType().optional(),
|
|
66458
|
+
metadata: recordType(stringType()).optional(),
|
|
66459
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
66332
66460
|
state: IssuedCardState$outboundSchema,
|
|
66333
66461
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
66334
66462
|
controls: IssuingControls$outboundSchema.optional(),
|
|
66335
|
-
createdOn: dateType().transform((v2) => v2.toISOString())
|
|
66463
|
+
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
66464
|
+
updatedOn: dateType().transform((v2) => v2.toISOString())
|
|
66336
66465
|
});
|
|
66337
66466
|
});
|
|
66338
66467
|
|
|
@@ -67799,7 +67928,8 @@ var init_paymentlinktype = __esm(() => {
|
|
|
67799
67928
|
PaymentLinkType = {
|
|
67800
67929
|
Payment: "payment",
|
|
67801
67930
|
Payout: "payout",
|
|
67802
|
-
InvoicePayment: "invoice-payment"
|
|
67931
|
+
InvoicePayment: "invoice-payment",
|
|
67932
|
+
CustomAmountPayment: "custom-amount-payment"
|
|
67803
67933
|
};
|
|
67804
67934
|
PaymentLinkType$inboundSchema = inboundSchema(PaymentLinkType);
|
|
67805
67935
|
PaymentLinkType$outboundSchema = outboundSchema(PaymentLinkType);
|
|
@@ -67813,6 +67943,7 @@ var init_paymentlink = __esm(() => {
|
|
|
67813
67943
|
init_amount();
|
|
67814
67944
|
init_mode();
|
|
67815
67945
|
init_paymentlinkamountdetails();
|
|
67946
|
+
init_paymentlinkcustomamountpaymentdetails();
|
|
67816
67947
|
init_paymentlinkcustomeroptions();
|
|
67817
67948
|
init_paymentlinkdisplayoptions();
|
|
67818
67949
|
init_paymentlinklineitems();
|
|
@@ -67839,6 +67970,7 @@ var init_paymentlink = __esm(() => {
|
|
|
67839
67970
|
customer: PaymentLinkCustomerOptions$inboundSchema,
|
|
67840
67971
|
payment: optional3(PaymentLinkPaymentDetails$inboundSchema),
|
|
67841
67972
|
payout: optional3(PaymentLinkPayoutDetails$inboundSchema),
|
|
67973
|
+
customAmountPayment: optional3(PaymentLinkCustomAmountPaymentDetails$inboundSchema),
|
|
67842
67974
|
lineItems: optional3(PaymentLinkLineItems$inboundSchema),
|
|
67843
67975
|
createdOn: date4(),
|
|
67844
67976
|
updatedOn: date4(),
|
|
@@ -67864,6 +67996,7 @@ var init_paymentlink = __esm(() => {
|
|
|
67864
67996
|
customer: PaymentLinkCustomerOptions$outboundSchema,
|
|
67865
67997
|
payment: PaymentLinkPaymentDetails$outboundSchema.optional(),
|
|
67866
67998
|
payout: PaymentLinkPayoutDetails$outboundSchema.optional(),
|
|
67999
|
+
customAmountPayment: PaymentLinkCustomAmountPaymentDetails$outboundSchema.optional(),
|
|
67867
68000
|
lineItems: PaymentLinkLineItems$outboundSchema.optional(),
|
|
67868
68001
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
67869
68002
|
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
@@ -67872,6 +68005,34 @@ var init_paymentlink = __esm(() => {
|
|
|
67872
68005
|
});
|
|
67873
68006
|
});
|
|
67874
68007
|
|
|
68008
|
+
// src/models/components/paymentlinkcustomamountpaymentdetailsupdate.ts
|
|
68009
|
+
var PaymentLinkCustomAmountPaymentDetailsUpdate$inboundSchema, PaymentLinkCustomAmountPaymentDetailsUpdate$outboundSchema;
|
|
68010
|
+
var init_paymentlinkcustomamountpaymentdetailsupdate = __esm(() => {
|
|
68011
|
+
init_v3();
|
|
68012
|
+
init_primitives2();
|
|
68013
|
+
init_achpaymentdetails();
|
|
68014
|
+
init_amountdecimal();
|
|
68015
|
+
init_amountdecimalrangeupdate();
|
|
68016
|
+
init_cardpaymentdetails();
|
|
68017
|
+
init_collectionpaymentmethodtype();
|
|
68018
|
+
PaymentLinkCustomAmountPaymentDetailsUpdate$inboundSchema = objectType({
|
|
68019
|
+
allowedMethods: optional3(arrayType(CollectionPaymentMethodType$inboundSchema)),
|
|
68020
|
+
cardDetails: optional3(CardPaymentDetails$inboundSchema),
|
|
68021
|
+
achDetails: optional3(ACHPaymentDetails$inboundSchema),
|
|
68022
|
+
metadata: optional3(recordType(string4())),
|
|
68023
|
+
amountRange: optional3(AmountDecimalRangeUpdate$inboundSchema),
|
|
68024
|
+
suggestedAmounts: optional3(arrayType(AmountDecimal$inboundSchema))
|
|
68025
|
+
});
|
|
68026
|
+
PaymentLinkCustomAmountPaymentDetailsUpdate$outboundSchema = objectType({
|
|
68027
|
+
allowedMethods: arrayType(CollectionPaymentMethodType$outboundSchema).optional(),
|
|
68028
|
+
cardDetails: CardPaymentDetails$outboundSchema.optional(),
|
|
68029
|
+
achDetails: ACHPaymentDetails$outboundSchema.optional(),
|
|
68030
|
+
metadata: recordType(stringType()).optional(),
|
|
68031
|
+
amountRange: AmountDecimalRangeUpdate$outboundSchema.optional(),
|
|
68032
|
+
suggestedAmounts: arrayType(AmountDecimal$outboundSchema).optional()
|
|
68033
|
+
});
|
|
68034
|
+
});
|
|
68035
|
+
|
|
67875
68036
|
// src/models/components/paymentlinkdisplayoptionsupdate.ts
|
|
67876
68037
|
var PaymentLinkDisplayOptionsUpdate$inboundSchema, PaymentLinkDisplayOptionsUpdate$outboundSchema;
|
|
67877
68038
|
var init_paymentlinkdisplayoptionsupdate = __esm(() => {
|
|
@@ -67891,35 +68052,21 @@ var init_paymentlinkdisplayoptionsupdate = __esm(() => {
|
|
|
67891
68052
|
});
|
|
67892
68053
|
|
|
67893
68054
|
// src/models/components/paymentlinkpaymentdetailsupdate.ts
|
|
67894
|
-
var
|
|
68055
|
+
var PaymentLinkPaymentDetailsUpdate$inboundSchema, PaymentLinkPaymentDetailsUpdate$outboundSchema;
|
|
67895
68056
|
var init_paymentlinkpaymentdetailsupdate = __esm(() => {
|
|
67896
68057
|
init_v3();
|
|
67897
68058
|
init_primitives2();
|
|
67898
68059
|
init_achpaymentdetails();
|
|
67899
|
-
init_amountdecimal();
|
|
67900
|
-
init_amountdecimalrangeupdate();
|
|
67901
68060
|
init_cardpaymentdetails();
|
|
67902
68061
|
init_collectionpaymentmethodtype();
|
|
67903
|
-
PaymentLinkPaymentDetailsUpdateAmountType = {
|
|
67904
|
-
Fixed: "fixed",
|
|
67905
|
-
Open: "open"
|
|
67906
|
-
};
|
|
67907
|
-
PaymentLinkPaymentDetailsUpdateAmountType$inboundSchema = nativeEnumType(PaymentLinkPaymentDetailsUpdateAmountType);
|
|
67908
|
-
PaymentLinkPaymentDetailsUpdateAmountType$outboundSchema = PaymentLinkPaymentDetailsUpdateAmountType$inboundSchema;
|
|
67909
68062
|
PaymentLinkPaymentDetailsUpdate$inboundSchema = objectType({
|
|
67910
68063
|
allowedMethods: optional3(arrayType(CollectionPaymentMethodType$inboundSchema)),
|
|
67911
|
-
amountType: PaymentLinkPaymentDetailsUpdateAmountType$inboundSchema.default("fixed"),
|
|
67912
|
-
amountRange: optional3(AmountDecimalRangeUpdate$inboundSchema),
|
|
67913
|
-
suggestedAmounts: optional3(arrayType(AmountDecimal$inboundSchema)),
|
|
67914
68064
|
cardDetails: optional3(CardPaymentDetails$inboundSchema),
|
|
67915
68065
|
achDetails: optional3(ACHPaymentDetails$inboundSchema),
|
|
67916
68066
|
metadata: optional3(recordType(string4()))
|
|
67917
68067
|
});
|
|
67918
68068
|
PaymentLinkPaymentDetailsUpdate$outboundSchema = objectType({
|
|
67919
68069
|
allowedMethods: arrayType(CollectionPaymentMethodType$outboundSchema).optional(),
|
|
67920
|
-
amountType: PaymentLinkPaymentDetailsUpdateAmountType$outboundSchema.default("fixed"),
|
|
67921
|
-
amountRange: AmountDecimalRangeUpdate$outboundSchema.optional(),
|
|
67922
|
-
suggestedAmounts: arrayType(AmountDecimal$outboundSchema).optional(),
|
|
67923
68070
|
cardDetails: CardPaymentDetails$outboundSchema.optional(),
|
|
67924
68071
|
achDetails: ACHPaymentDetails$outboundSchema.optional(),
|
|
67925
68072
|
metadata: recordType(stringType()).optional()
|
|
@@ -68746,23 +68893,22 @@ var RequestCard$inboundSchema, RequestCard$outboundSchema;
|
|
|
68746
68893
|
var init_requestcard = __esm(() => {
|
|
68747
68894
|
init_v3();
|
|
68748
68895
|
init_primitives2();
|
|
68896
|
+
init_address();
|
|
68749
68897
|
init_cardexpiration();
|
|
68750
|
-
init_createauthorizeduser();
|
|
68751
|
-
init_issuedcardformfactor();
|
|
68752
68898
|
init_issuingcontrols();
|
|
68753
68899
|
RequestCard$inboundSchema = objectType({
|
|
68754
|
-
|
|
68755
|
-
|
|
68756
|
-
|
|
68757
|
-
|
|
68900
|
+
authorizedUserAccountID: optional3(string4()),
|
|
68901
|
+
nickname: optional3(string4()),
|
|
68902
|
+
metadata: optional3(recordType(string4())),
|
|
68903
|
+
billingAddress: optional3(Address$inboundSchema),
|
|
68758
68904
|
expiration: optional3(CardExpiration$inboundSchema),
|
|
68759
68905
|
controls: optional3(IssuingControls$inboundSchema)
|
|
68760
68906
|
});
|
|
68761
68907
|
RequestCard$outboundSchema = objectType({
|
|
68762
|
-
|
|
68763
|
-
|
|
68764
|
-
|
|
68765
|
-
|
|
68908
|
+
authorizedUserAccountID: stringType().optional(),
|
|
68909
|
+
nickname: stringType().optional(),
|
|
68910
|
+
metadata: recordType(stringType()).optional(),
|
|
68911
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
68766
68912
|
expiration: CardExpiration$outboundSchema.optional(),
|
|
68767
68913
|
controls: IssuingControls$outboundSchema.optional()
|
|
68768
68914
|
});
|
|
@@ -69732,17 +69878,41 @@ var init_transfer = __esm(() => {
|
|
|
69732
69878
|
});
|
|
69733
69879
|
});
|
|
69734
69880
|
|
|
69881
|
+
// src/models/components/transfercontrols.ts
|
|
69882
|
+
var TransferControls$inboundSchema, TransferControls$outboundSchema;
|
|
69883
|
+
var init_transfercontrols = __esm(() => {
|
|
69884
|
+
init_v3();
|
|
69885
|
+
init_primitives2();
|
|
69886
|
+
TransferControls$inboundSchema = objectType({
|
|
69887
|
+
accountID: string4(),
|
|
69888
|
+
partnerAccountID: string4(),
|
|
69889
|
+
debtRepayment: boolean4(),
|
|
69890
|
+
allowDynamicDescriptor: boolean4(),
|
|
69891
|
+
allowSurcharge: boolean4()
|
|
69892
|
+
});
|
|
69893
|
+
TransferControls$outboundSchema = objectType({
|
|
69894
|
+
accountID: stringType(),
|
|
69895
|
+
partnerAccountID: stringType(),
|
|
69896
|
+
debtRepayment: booleanType(),
|
|
69897
|
+
allowDynamicDescriptor: booleanType(),
|
|
69898
|
+
allowSurcharge: booleanType()
|
|
69899
|
+
});
|
|
69900
|
+
});
|
|
69901
|
+
|
|
69735
69902
|
// src/models/components/transferconfig.ts
|
|
69736
69903
|
var TransferConfig$inboundSchema, TransferConfig$outboundSchema;
|
|
69737
69904
|
var init_transferconfig = __esm(() => {
|
|
69738
69905
|
init_v3();
|
|
69739
69906
|
init_primitives2();
|
|
69740
69907
|
init_tippresets();
|
|
69908
|
+
init_transfercontrols();
|
|
69741
69909
|
TransferConfig$inboundSchema = objectType({
|
|
69742
|
-
tipPresets: optional3(TipPresets$inboundSchema)
|
|
69910
|
+
tipPresets: optional3(TipPresets$inboundSchema),
|
|
69911
|
+
transferControls: optional3(arrayType(TransferControls$inboundSchema))
|
|
69743
69912
|
});
|
|
69744
69913
|
TransferConfig$outboundSchema = objectType({
|
|
69745
|
-
tipPresets: TipPresets$outboundSchema.optional()
|
|
69914
|
+
tipPresets: TipPresets$outboundSchema.optional(),
|
|
69915
|
+
transferControls: arrayType(TransferControls$outboundSchema).optional()
|
|
69746
69916
|
});
|
|
69747
69917
|
});
|
|
69748
69918
|
|
|
@@ -70036,7 +70206,7 @@ var UpdateInvoice$inboundSchema, UpdateInvoice$outboundSchema;
|
|
|
70036
70206
|
var init_updateinvoice = __esm(() => {
|
|
70037
70207
|
init_v3();
|
|
70038
70208
|
init_primitives2();
|
|
70039
|
-
|
|
70209
|
+
init_amountdetailsupdate();
|
|
70040
70210
|
init_createinvoicelineitemsupdate();
|
|
70041
70211
|
init_invoicestatus();
|
|
70042
70212
|
UpdateInvoice$inboundSchema = objectType({
|
|
@@ -70045,7 +70215,7 @@ var init_updateinvoice = __esm(() => {
|
|
|
70045
70215
|
invoiceDate: nullableType(date4()).optional(),
|
|
70046
70216
|
dueDate: nullableType(date4()).optional(),
|
|
70047
70217
|
status: optional3(InvoiceStatus$inboundSchema),
|
|
70048
|
-
|
|
70218
|
+
amountDetails: optional3(AmountDetailsUpdate$inboundSchema)
|
|
70049
70219
|
});
|
|
70050
70220
|
UpdateInvoice$outboundSchema = objectType({
|
|
70051
70221
|
description: stringType().optional(),
|
|
@@ -70053,7 +70223,7 @@ var init_updateinvoice = __esm(() => {
|
|
|
70053
70223
|
invoiceDate: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
70054
70224
|
dueDate: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
70055
70225
|
status: InvoiceStatus$outboundSchema.optional(),
|
|
70056
|
-
|
|
70226
|
+
amountDetails: AmountDetailsUpdate$outboundSchema.optional()
|
|
70057
70227
|
});
|
|
70058
70228
|
});
|
|
70059
70229
|
|
|
@@ -70069,21 +70239,38 @@ var init_updateissuedcardstate = __esm(() => {
|
|
|
70069
70239
|
});
|
|
70070
70240
|
|
|
70071
70241
|
// src/models/components/updateissuedcard.ts
|
|
70072
|
-
var UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
|
|
70242
|
+
var BillingAddress$inboundSchema, BillingAddress$outboundSchema, UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
|
|
70073
70243
|
var init_updateissuedcard = __esm(() => {
|
|
70074
70244
|
init_v3();
|
|
70075
70245
|
init_primitives2();
|
|
70076
|
-
init_createauthorizeduserupdate();
|
|
70077
70246
|
init_updateissuedcardstate();
|
|
70247
|
+
BillingAddress$inboundSchema = objectType({
|
|
70248
|
+
addressLine1: optional3(string4()),
|
|
70249
|
+
addressLine2: optional3(string4()),
|
|
70250
|
+
city: optional3(string4()),
|
|
70251
|
+
stateOrProvince: optional3(string4()),
|
|
70252
|
+
postalCode: optional3(string4()),
|
|
70253
|
+
country: optional3(string4())
|
|
70254
|
+
});
|
|
70255
|
+
BillingAddress$outboundSchema = objectType({
|
|
70256
|
+
addressLine1: stringType().optional(),
|
|
70257
|
+
addressLine2: stringType().optional(),
|
|
70258
|
+
city: stringType().optional(),
|
|
70259
|
+
stateOrProvince: stringType().optional(),
|
|
70260
|
+
postalCode: stringType().optional(),
|
|
70261
|
+
country: stringType().optional()
|
|
70262
|
+
});
|
|
70078
70263
|
UpdateIssuedCard$inboundSchema = objectType({
|
|
70079
70264
|
state: optional3(UpdateIssuedCardState$inboundSchema),
|
|
70080
|
-
|
|
70081
|
-
|
|
70265
|
+
nickname: nullableType(string4()).optional(),
|
|
70266
|
+
metadata: nullableType(recordType(string4())).optional(),
|
|
70267
|
+
billingAddress: nullableType(lazyType(() => BillingAddress$inboundSchema)).optional()
|
|
70082
70268
|
});
|
|
70083
70269
|
UpdateIssuedCard$outboundSchema = objectType({
|
|
70084
70270
|
state: UpdateIssuedCardState$outboundSchema.optional(),
|
|
70085
|
-
|
|
70086
|
-
|
|
70271
|
+
nickname: nullableType(stringType()).optional(),
|
|
70272
|
+
metadata: nullableType(recordType(stringType())).optional(),
|
|
70273
|
+
billingAddress: nullableType(lazyType(() => BillingAddress$outboundSchema)).optional()
|
|
70087
70274
|
});
|
|
70088
70275
|
});
|
|
70089
70276
|
|
|
@@ -70110,6 +70297,7 @@ var init_updatepaymentlink = __esm(() => {
|
|
|
70110
70297
|
init_primitives2();
|
|
70111
70298
|
init_amountupdate();
|
|
70112
70299
|
init_createpaymentlinklineitemsupdate();
|
|
70300
|
+
init_paymentlinkcustomamountpaymentdetailsupdate();
|
|
70113
70301
|
init_paymentlinkcustomeroptions();
|
|
70114
70302
|
init_paymentlinkdisplayoptionsupdate();
|
|
70115
70303
|
init_paymentlinkpaymentdetailsupdate();
|
|
@@ -70122,6 +70310,7 @@ var init_updatepaymentlink = __esm(() => {
|
|
|
70122
70310
|
customer: optional3(PaymentLinkCustomerOptions$inboundSchema),
|
|
70123
70311
|
payment: optional3(PaymentLinkPaymentDetailsUpdate$inboundSchema),
|
|
70124
70312
|
payout: optional3(PaymentLinkPayoutDetailsUpdate$inboundSchema),
|
|
70313
|
+
customAmountPayment: optional3(PaymentLinkCustomAmountPaymentDetailsUpdate$inboundSchema),
|
|
70125
70314
|
lineItems: optional3(CreatePaymentLinkLineItemsUpdate$inboundSchema),
|
|
70126
70315
|
amountDetails: optional3(UpdatePaymentLinkAmountDetails$inboundSchema)
|
|
70127
70316
|
});
|
|
@@ -70132,6 +70321,7 @@ var init_updatepaymentlink = __esm(() => {
|
|
|
70132
70321
|
customer: PaymentLinkCustomerOptions$outboundSchema.optional(),
|
|
70133
70322
|
payment: PaymentLinkPaymentDetailsUpdate$outboundSchema.optional(),
|
|
70134
70323
|
payout: PaymentLinkPayoutDetailsUpdate$outboundSchema.optional(),
|
|
70324
|
+
customAmountPayment: PaymentLinkCustomAmountPaymentDetailsUpdate$outboundSchema.optional(),
|
|
70135
70325
|
lineItems: CreatePaymentLinkLineItemsUpdate$outboundSchema.optional(),
|
|
70136
70326
|
amountDetails: UpdatePaymentLinkAmountDetails$outboundSchema.optional()
|
|
70137
70327
|
});
|
|
@@ -70603,6 +70793,25 @@ var init_webhookdataaccountupdated = __esm(() => {
|
|
|
70603
70793
|
});
|
|
70604
70794
|
});
|
|
70605
70795
|
|
|
70796
|
+
// src/models/components/webhookdataauthorizationexpiring.ts
|
|
70797
|
+
var WebhookDataAuthorizationExpiring$inboundSchema, WebhookDataAuthorizationExpiring$outboundSchema;
|
|
70798
|
+
var init_webhookdataauthorizationexpiring = __esm(() => {
|
|
70799
|
+
init_v3();
|
|
70800
|
+
init_primitives2();
|
|
70801
|
+
WebhookDataAuthorizationExpiring$inboundSchema = objectType({
|
|
70802
|
+
merchantAccountID: string4(),
|
|
70803
|
+
partnerAccountID: string4(),
|
|
70804
|
+
authorizationID: string4(),
|
|
70805
|
+
expiresOn: date4()
|
|
70806
|
+
});
|
|
70807
|
+
WebhookDataAuthorizationExpiring$outboundSchema = objectType({
|
|
70808
|
+
merchantAccountID: stringType(),
|
|
70809
|
+
partnerAccountID: stringType(),
|
|
70810
|
+
authorizationID: stringType(),
|
|
70811
|
+
expiresOn: dateType().transform((v2) => v2.toISOString())
|
|
70812
|
+
});
|
|
70813
|
+
});
|
|
70814
|
+
|
|
70606
70815
|
// src/models/components/webhookdatabalanceupdated.ts
|
|
70607
70816
|
var WebhookDataBalanceUpdated$inboundSchema, WebhookDataBalanceUpdated$outboundSchema;
|
|
70608
70817
|
var init_webhookdatabalanceupdated = __esm(() => {
|
|
@@ -70999,10 +71208,12 @@ var init_webhookdatasweepcreated = __esm(() => {
|
|
|
70999
71208
|
init_v3();
|
|
71000
71209
|
init_primitives2();
|
|
71001
71210
|
WebhookDataSweepCreated$inboundSchema = objectType({
|
|
71211
|
+
accountID: string4(),
|
|
71002
71212
|
walletID: string4(),
|
|
71003
71213
|
sweepID: string4()
|
|
71004
71214
|
});
|
|
71005
71215
|
WebhookDataSweepCreated$outboundSchema = objectType({
|
|
71216
|
+
accountID: stringType(),
|
|
71006
71217
|
walletID: stringType(),
|
|
71007
71218
|
sweepID: stringType()
|
|
71008
71219
|
});
|
|
@@ -71015,12 +71226,14 @@ var init_webhookdatasweepupdated = __esm(() => {
|
|
|
71015
71226
|
init_primitives2();
|
|
71016
71227
|
init_sweepstatus();
|
|
71017
71228
|
WebhookDataSweepUpdated$inboundSchema = objectType({
|
|
71229
|
+
accountID: string4(),
|
|
71018
71230
|
walletID: string4(),
|
|
71019
71231
|
sweepID: string4(),
|
|
71020
71232
|
transferID: optional3(string4()),
|
|
71021
71233
|
status: SweepStatus$inboundSchema
|
|
71022
71234
|
});
|
|
71023
71235
|
WebhookDataSweepUpdated$outboundSchema = objectType({
|
|
71236
|
+
accountID: stringType(),
|
|
71024
71237
|
walletID: stringType(),
|
|
71025
71238
|
sweepID: stringType(),
|
|
71026
71239
|
transferID: stringType().optional(),
|
|
@@ -71272,6 +71485,7 @@ var init_webhookdata = __esm(() => {
|
|
|
71272
71485
|
init_webhookdataaccountcreated();
|
|
71273
71486
|
init_webhookdataaccountdisconnected();
|
|
71274
71487
|
init_webhookdataaccountupdated();
|
|
71488
|
+
init_webhookdataauthorizationexpiring();
|
|
71275
71489
|
init_webhookdatabalanceupdated();
|
|
71276
71490
|
init_webhookdatabankaccountcreated();
|
|
71277
71491
|
init_webhookdatabankaccountdeleted();
|
|
@@ -71311,7 +71525,9 @@ var init_webhookdata = __esm(() => {
|
|
|
71311
71525
|
WebhookDataTransferUpdated$inboundSchema,
|
|
71312
71526
|
WebhookDataBankAccountUpdated$inboundSchema,
|
|
71313
71527
|
WebhookDataRefundUpdated$inboundSchema,
|
|
71528
|
+
WebhookDataSweepUpdated$inboundSchema,
|
|
71314
71529
|
WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
71530
|
+
WebhookDataAuthorizationExpiring$inboundSchema,
|
|
71315
71531
|
WebhookDataBankAccountCreated$inboundSchema,
|
|
71316
71532
|
WebhookDataBankAccountDeleted$inboundSchema,
|
|
71317
71533
|
WebhookDataCancellationCreated$inboundSchema,
|
|
@@ -71322,7 +71538,7 @@ var init_webhookdata = __esm(() => {
|
|
|
71322
71538
|
WebhookDataPaymentMethodEnabled$inboundSchema,
|
|
71323
71539
|
WebhookDataPaymentMethodDisabled$inboundSchema,
|
|
71324
71540
|
WebhookDataRefundCreated$inboundSchema,
|
|
71325
|
-
|
|
71541
|
+
WebhookDataSweepCreated$inboundSchema,
|
|
71326
71542
|
WebhookDataTicketUpdated$inboundSchema,
|
|
71327
71543
|
WebhookDataTransferCreated$inboundSchema,
|
|
71328
71544
|
WebhookDataWalletUpdated$inboundSchema,
|
|
@@ -71332,7 +71548,6 @@ var init_webhookdata = __esm(() => {
|
|
|
71332
71548
|
WebhookDataRepresentativeCreated$inboundSchema,
|
|
71333
71549
|
WebhookDataRepresentativeUpdated$inboundSchema,
|
|
71334
71550
|
WebhookDataRepresentativeDisabled$inboundSchema,
|
|
71335
|
-
WebhookDataSweepCreated$inboundSchema,
|
|
71336
71551
|
WebhookDataTerminalApplicationCreated$inboundSchema,
|
|
71337
71552
|
WebhookDataTerminalApplicationUpdated$inboundSchema,
|
|
71338
71553
|
WebhookDataTicketCreated$inboundSchema,
|
|
@@ -71350,7 +71565,9 @@ var init_webhookdata = __esm(() => {
|
|
|
71350
71565
|
WebhookDataTransferUpdated$outboundSchema,
|
|
71351
71566
|
WebhookDataBankAccountUpdated$outboundSchema,
|
|
71352
71567
|
WebhookDataRefundUpdated$outboundSchema,
|
|
71568
|
+
WebhookDataSweepUpdated$outboundSchema,
|
|
71353
71569
|
WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
71570
|
+
WebhookDataAuthorizationExpiring$outboundSchema,
|
|
71354
71571
|
WebhookDataBankAccountCreated$outboundSchema,
|
|
71355
71572
|
WebhookDataBankAccountDeleted$outboundSchema,
|
|
71356
71573
|
WebhookDataCancellationCreated$outboundSchema,
|
|
@@ -71361,7 +71578,7 @@ var init_webhookdata = __esm(() => {
|
|
|
71361
71578
|
WebhookDataPaymentMethodEnabled$outboundSchema,
|
|
71362
71579
|
WebhookDataPaymentMethodDisabled$outboundSchema,
|
|
71363
71580
|
WebhookDataRefundCreated$outboundSchema,
|
|
71364
|
-
|
|
71581
|
+
WebhookDataSweepCreated$outboundSchema,
|
|
71365
71582
|
WebhookDataTicketUpdated$outboundSchema,
|
|
71366
71583
|
WebhookDataTransferCreated$outboundSchema,
|
|
71367
71584
|
WebhookDataWalletUpdated$outboundSchema,
|
|
@@ -71371,7 +71588,6 @@ var init_webhookdata = __esm(() => {
|
|
|
71371
71588
|
WebhookDataRepresentativeCreated$outboundSchema,
|
|
71372
71589
|
WebhookDataRepresentativeUpdated$outboundSchema,
|
|
71373
71590
|
WebhookDataRepresentativeDisabled$outboundSchema,
|
|
71374
|
-
WebhookDataSweepCreated$outboundSchema,
|
|
71375
71591
|
WebhookDataTerminalApplicationCreated$outboundSchema,
|
|
71376
71592
|
WebhookDataTerminalApplicationUpdated$outboundSchema,
|
|
71377
71593
|
WebhookDataTicketCreated$outboundSchema,
|
|
@@ -71460,6 +71676,9 @@ var init_components = __esm(() => {
|
|
|
71460
71676
|
init_amountdecimalrangeupdate();
|
|
71461
71677
|
init_amountdecimalupdate();
|
|
71462
71678
|
init_amountdecimalvalidationerror();
|
|
71679
|
+
init_amountdetails();
|
|
71680
|
+
init_amountdetailsupdate();
|
|
71681
|
+
init_amountdetailsvalidationerror();
|
|
71463
71682
|
init_amountupdate();
|
|
71464
71683
|
init_amountvalidationerror();
|
|
71465
71684
|
init_applebillingcontact();
|
|
@@ -71473,7 +71692,6 @@ var init_components = __esm(() => {
|
|
|
71473
71692
|
init_assignproductimagevalidationerror();
|
|
71474
71693
|
init_asynccreatedrefund();
|
|
71475
71694
|
init_asynctransfer();
|
|
71476
|
-
init_authorizeduser();
|
|
71477
71695
|
init_authtoken();
|
|
71478
71696
|
init_authtokenrequest();
|
|
71479
71697
|
init_bankaccount();
|
|
@@ -71564,9 +71782,6 @@ var init_components = __esm(() => {
|
|
|
71564
71782
|
init_createaccountsettings();
|
|
71565
71783
|
init_createaccounttype();
|
|
71566
71784
|
init_createapplepaysession();
|
|
71567
|
-
init_createauthorizeduser();
|
|
71568
|
-
init_createauthorizedusererror();
|
|
71569
|
-
init_createauthorizeduserupdate();
|
|
71570
71785
|
init_createbusinesserror();
|
|
71571
71786
|
init_createbusinessprofile();
|
|
71572
71787
|
init_createdtransfer();
|
|
@@ -71632,6 +71847,7 @@ var init_components = __esm(() => {
|
|
|
71632
71847
|
init_createtransfersourcecard();
|
|
71633
71848
|
init_createwallet();
|
|
71634
71849
|
init_createwebhook();
|
|
71850
|
+
init_customamountpaymentdetailserror();
|
|
71635
71851
|
init_customersupport();
|
|
71636
71852
|
init_customersupporterror();
|
|
71637
71853
|
init_debitholdperiod();
|
|
@@ -71797,6 +72013,8 @@ var init_components = __esm(() => {
|
|
|
71797
72013
|
init_paymentdetailserror();
|
|
71798
72014
|
init_paymentlink();
|
|
71799
72015
|
init_paymentlinkamountdetails();
|
|
72016
|
+
init_paymentlinkcustomamountpaymentdetails();
|
|
72017
|
+
init_paymentlinkcustomamountpaymentdetailsupdate();
|
|
71800
72018
|
init_paymentlinkcustomeroptions();
|
|
71801
72019
|
init_paymentlinkdisplayoptions();
|
|
71802
72020
|
init_paymentlinkdisplayoptionsupdate();
|
|
@@ -71945,6 +72163,7 @@ var init_components = __esm(() => {
|
|
|
71945
72163
|
init_transferamountdetails();
|
|
71946
72164
|
init_transfercapture();
|
|
71947
72165
|
init_transferconfig();
|
|
72166
|
+
init_transfercontrols();
|
|
71948
72167
|
init_transferdestination();
|
|
71949
72168
|
init_transferentrymode();
|
|
71950
72169
|
init_transferfailurereason();
|
|
@@ -72005,6 +72224,7 @@ var init_components = __esm(() => {
|
|
|
72005
72224
|
init_webhookdataaccountcreated();
|
|
72006
72225
|
init_webhookdataaccountdisconnected();
|
|
72007
72226
|
init_webhookdataaccountupdated();
|
|
72227
|
+
init_webhookdataauthorizationexpiring();
|
|
72008
72228
|
init_webhookdatabalanceupdated();
|
|
72009
72229
|
init_webhookdatabankaccountcreated();
|
|
72010
72230
|
init_webhookdatabankaccountdeleted();
|
|
@@ -72316,7 +72536,7 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
72316
72536
|
lineItems;
|
|
72317
72537
|
invoiceDate;
|
|
72318
72538
|
dueDate;
|
|
72319
|
-
|
|
72539
|
+
amountDetails;
|
|
72320
72540
|
data$;
|
|
72321
72541
|
constructor(err, httpMeta) {
|
|
72322
72542
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -72333,8 +72553,8 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
72333
72553
|
this.invoiceDate = err.invoiceDate;
|
|
72334
72554
|
if (err.dueDate != null)
|
|
72335
72555
|
this.dueDate = err.dueDate;
|
|
72336
|
-
if (err.
|
|
72337
|
-
this.
|
|
72556
|
+
if (err.amountDetails != null)
|
|
72557
|
+
this.amountDetails = err.amountDetails;
|
|
72338
72558
|
this.name = "CreateInvoiceError";
|
|
72339
72559
|
}
|
|
72340
72560
|
};
|
|
@@ -72344,7 +72564,7 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
72344
72564
|
lineItems: optional3(CreateInvoiceLineItemsValidationError$inboundSchema),
|
|
72345
72565
|
invoiceDate: optional3(string4()),
|
|
72346
72566
|
dueDate: optional3(string4()),
|
|
72347
|
-
|
|
72567
|
+
amountDetails: optional3(AmountDetailsValidationError$inboundSchema),
|
|
72348
72568
|
request$: instanceOfType(Request),
|
|
72349
72569
|
response$: instanceOfType(Response),
|
|
72350
72570
|
body$: stringType()
|
|
@@ -72361,7 +72581,7 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
72361
72581
|
lineItems: CreateInvoiceLineItemsValidationError$outboundSchema.optional(),
|
|
72362
72582
|
invoiceDate: stringType().optional(),
|
|
72363
72583
|
dueDate: stringType().optional(),
|
|
72364
|
-
|
|
72584
|
+
amountDetails: AmountDetailsValidationError$outboundSchema.optional()
|
|
72365
72585
|
}));
|
|
72366
72586
|
});
|
|
72367
72587
|
|
|
@@ -72432,6 +72652,7 @@ var init_createpaymentlinkerror = __esm(() => {
|
|
|
72432
72652
|
display;
|
|
72433
72653
|
payment;
|
|
72434
72654
|
payout;
|
|
72655
|
+
customAmountPayment;
|
|
72435
72656
|
lineItems;
|
|
72436
72657
|
amountDetails;
|
|
72437
72658
|
data$;
|
|
@@ -72457,6 +72678,9 @@ var init_createpaymentlinkerror = __esm(() => {
|
|
|
72457
72678
|
this.payment = err.payment;
|
|
72458
72679
|
if (err.payout != null)
|
|
72459
72680
|
this.payout = err.payout;
|
|
72681
|
+
if (err.customAmountPayment != null) {
|
|
72682
|
+
this.customAmountPayment = err.customAmountPayment;
|
|
72683
|
+
}
|
|
72460
72684
|
if (err.lineItems != null)
|
|
72461
72685
|
this.lineItems = err.lineItems;
|
|
72462
72686
|
if (err.amountDetails != null)
|
|
@@ -72473,6 +72697,7 @@ var init_createpaymentlinkerror = __esm(() => {
|
|
|
72473
72697
|
display: optional3(DisplayOptionsError$inboundSchema),
|
|
72474
72698
|
payment: optional3(PaymentDetailsError$inboundSchema),
|
|
72475
72699
|
payout: optional3(PayoutDetailsError$inboundSchema),
|
|
72700
|
+
customAmountPayment: optional3(CustomAmountPaymentDetailsError$inboundSchema),
|
|
72476
72701
|
lineItems: optional3(CreatePaymentLinkLineItemsValidationError$inboundSchema),
|
|
72477
72702
|
amountDetails: optional3(CreatePaymentLinkAmountDetailsValidationError$inboundSchema),
|
|
72478
72703
|
request$: instanceOfType(Request),
|
|
@@ -72494,6 +72719,7 @@ var init_createpaymentlinkerror = __esm(() => {
|
|
|
72494
72719
|
display: DisplayOptionsError$outboundSchema.optional(),
|
|
72495
72720
|
payment: PaymentDetailsError$outboundSchema.optional(),
|
|
72496
72721
|
payout: PayoutDetailsError$outboundSchema.optional(),
|
|
72722
|
+
customAmountPayment: CustomAmountPaymentDetailsError$outboundSchema.optional(),
|
|
72497
72723
|
lineItems: CreatePaymentLinkLineItemsValidationError$outboundSchema.optional(),
|
|
72498
72724
|
amountDetails: CreatePaymentLinkAmountDetailsValidationError$outboundSchema.optional()
|
|
72499
72725
|
}));
|
|
@@ -74002,10 +74228,10 @@ var init_requestcarderror = __esm(() => {
|
|
|
74002
74228
|
init_components();
|
|
74003
74229
|
init_mooverror();
|
|
74004
74230
|
RequestCardError = class RequestCardError extends MoovError {
|
|
74005
|
-
|
|
74006
|
-
|
|
74007
|
-
|
|
74008
|
-
|
|
74231
|
+
authorizedUserAccountID;
|
|
74232
|
+
nickname;
|
|
74233
|
+
metadata;
|
|
74234
|
+
billingAddress;
|
|
74009
74235
|
expiration;
|
|
74010
74236
|
controls;
|
|
74011
74237
|
data$;
|
|
@@ -74013,14 +74239,15 @@ var init_requestcarderror = __esm(() => {
|
|
|
74013
74239
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
74014
74240
|
super(message, httpMeta);
|
|
74015
74241
|
this.data$ = err;
|
|
74016
|
-
if (err.
|
|
74017
|
-
this.
|
|
74018
|
-
|
|
74019
|
-
|
|
74020
|
-
|
|
74021
|
-
|
|
74022
|
-
|
|
74023
|
-
|
|
74242
|
+
if (err.authorizedUserAccountID != null) {
|
|
74243
|
+
this.authorizedUserAccountID = err.authorizedUserAccountID;
|
|
74244
|
+
}
|
|
74245
|
+
if (err.nickname != null)
|
|
74246
|
+
this.nickname = err.nickname;
|
|
74247
|
+
if (err.metadata != null)
|
|
74248
|
+
this.metadata = err.metadata;
|
|
74249
|
+
if (err.billingAddress != null)
|
|
74250
|
+
this.billingAddress = err.billingAddress;
|
|
74024
74251
|
if (err.expiration != null)
|
|
74025
74252
|
this.expiration = err.expiration;
|
|
74026
74253
|
if (err.controls != null)
|
|
@@ -74029,10 +74256,10 @@ var init_requestcarderror = __esm(() => {
|
|
|
74029
74256
|
}
|
|
74030
74257
|
};
|
|
74031
74258
|
RequestCardError$inboundSchema = objectType({
|
|
74032
|
-
|
|
74033
|
-
|
|
74034
|
-
|
|
74035
|
-
|
|
74259
|
+
authorizedUserAccountID: optional3(string4()),
|
|
74260
|
+
nickname: optional3(string4()),
|
|
74261
|
+
metadata: optional3(string4()),
|
|
74262
|
+
billingAddress: optional3(AddressError$inboundSchema),
|
|
74036
74263
|
expiration: optional3(CardExpirationError$inboundSchema),
|
|
74037
74264
|
controls: optional3(IssuingControlsError$inboundSchema),
|
|
74038
74265
|
request$: instanceOfType(Request),
|
|
@@ -74046,10 +74273,10 @@ var init_requestcarderror = __esm(() => {
|
|
|
74046
74273
|
});
|
|
74047
74274
|
});
|
|
74048
74275
|
RequestCardError$outboundSchema = instanceOfType(RequestCardError).transform((v2) => v2.data$).pipe(objectType({
|
|
74049
|
-
|
|
74050
|
-
|
|
74051
|
-
|
|
74052
|
-
|
|
74276
|
+
authorizedUserAccountID: stringType().optional(),
|
|
74277
|
+
nickname: stringType().optional(),
|
|
74278
|
+
metadata: stringType().optional(),
|
|
74279
|
+
billingAddress: AddressError$outboundSchema.optional(),
|
|
74053
74280
|
expiration: CardExpirationError$outboundSchema.optional(),
|
|
74054
74281
|
controls: IssuingControlsError$outboundSchema.optional()
|
|
74055
74282
|
}));
|
|
@@ -74710,7 +74937,7 @@ var init_updateinvoiceerror = __esm(() => {
|
|
|
74710
74937
|
invoiceDate;
|
|
74711
74938
|
dueDate;
|
|
74712
74939
|
status;
|
|
74713
|
-
|
|
74940
|
+
amountDetails;
|
|
74714
74941
|
data$;
|
|
74715
74942
|
constructor(err, httpMeta) {
|
|
74716
74943
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -74726,8 +74953,8 @@ var init_updateinvoiceerror = __esm(() => {
|
|
|
74726
74953
|
this.dueDate = err.dueDate;
|
|
74727
74954
|
if (err.status != null)
|
|
74728
74955
|
this.status = err.status;
|
|
74729
|
-
if (err.
|
|
74730
|
-
this.
|
|
74956
|
+
if (err.amountDetails != null)
|
|
74957
|
+
this.amountDetails = err.amountDetails;
|
|
74731
74958
|
this.name = "UpdateInvoiceError";
|
|
74732
74959
|
}
|
|
74733
74960
|
};
|
|
@@ -74737,7 +74964,7 @@ var init_updateinvoiceerror = __esm(() => {
|
|
|
74737
74964
|
invoiceDate: optional3(string4()),
|
|
74738
74965
|
dueDate: optional3(string4()),
|
|
74739
74966
|
status: optional3(string4()),
|
|
74740
|
-
|
|
74967
|
+
amountDetails: optional3(AmountDetailsValidationError$inboundSchema),
|
|
74741
74968
|
request$: instanceOfType(Request),
|
|
74742
74969
|
response$: instanceOfType(Response),
|
|
74743
74970
|
body$: stringType()
|
|
@@ -74754,7 +74981,7 @@ var init_updateinvoiceerror = __esm(() => {
|
|
|
74754
74981
|
invoiceDate: stringType().optional(),
|
|
74755
74982
|
dueDate: stringType().optional(),
|
|
74756
74983
|
status: stringType().optional(),
|
|
74757
|
-
|
|
74984
|
+
amountDetails: AmountDetailsValidationError$outboundSchema.optional()
|
|
74758
74985
|
}));
|
|
74759
74986
|
});
|
|
74760
74987
|
|
|
@@ -74767,8 +74994,9 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
74767
74994
|
init_mooverror();
|
|
74768
74995
|
UpdateIssuedCardError = class UpdateIssuedCardError extends MoovError {
|
|
74769
74996
|
state;
|
|
74770
|
-
|
|
74771
|
-
|
|
74997
|
+
nickname;
|
|
74998
|
+
metadata;
|
|
74999
|
+
billingAddress;
|
|
74772
75000
|
data$;
|
|
74773
75001
|
constructor(err, httpMeta) {
|
|
74774
75002
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -74776,17 +75004,20 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
74776
75004
|
this.data$ = err;
|
|
74777
75005
|
if (err.state != null)
|
|
74778
75006
|
this.state = err.state;
|
|
74779
|
-
if (err.
|
|
74780
|
-
this.
|
|
74781
|
-
if (err.
|
|
74782
|
-
this.
|
|
75007
|
+
if (err.nickname != null)
|
|
75008
|
+
this.nickname = err.nickname;
|
|
75009
|
+
if (err.metadata != null)
|
|
75010
|
+
this.metadata = err.metadata;
|
|
75011
|
+
if (err.billingAddress != null)
|
|
75012
|
+
this.billingAddress = err.billingAddress;
|
|
74783
75013
|
this.name = "UpdateIssuedCardError";
|
|
74784
75014
|
}
|
|
74785
75015
|
};
|
|
74786
75016
|
UpdateIssuedCardError$inboundSchema = objectType({
|
|
74787
75017
|
state: optional3(string4()),
|
|
74788
|
-
|
|
74789
|
-
|
|
75018
|
+
nickname: optional3(string4()),
|
|
75019
|
+
metadata: optional3(string4()),
|
|
75020
|
+
billingAddress: optional3(AddressError$inboundSchema),
|
|
74790
75021
|
request$: instanceOfType(Request),
|
|
74791
75022
|
response$: instanceOfType(Response),
|
|
74792
75023
|
body$: stringType()
|
|
@@ -74799,8 +75030,9 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
74799
75030
|
});
|
|
74800
75031
|
UpdateIssuedCardError$outboundSchema = instanceOfType(UpdateIssuedCardError).transform((v2) => v2.data$).pipe(objectType({
|
|
74801
75032
|
state: stringType().optional(),
|
|
74802
|
-
|
|
74803
|
-
|
|
75033
|
+
nickname: stringType().optional(),
|
|
75034
|
+
metadata: stringType().optional(),
|
|
75035
|
+
billingAddress: AddressError$outboundSchema.optional()
|
|
74804
75036
|
}));
|
|
74805
75037
|
});
|
|
74806
75038
|
|
|
@@ -74817,6 +75049,7 @@ var init_updatepaymentlinkerror = __esm(() => {
|
|
|
74817
75049
|
display;
|
|
74818
75050
|
payment;
|
|
74819
75051
|
payout;
|
|
75052
|
+
customAmountPayment;
|
|
74820
75053
|
lineItems;
|
|
74821
75054
|
amountDetails;
|
|
74822
75055
|
data$;
|
|
@@ -74834,6 +75067,9 @@ var init_updatepaymentlinkerror = __esm(() => {
|
|
|
74834
75067
|
this.payment = err.payment;
|
|
74835
75068
|
if (err.payout != null)
|
|
74836
75069
|
this.payout = err.payout;
|
|
75070
|
+
if (err.customAmountPayment != null) {
|
|
75071
|
+
this.customAmountPayment = err.customAmountPayment;
|
|
75072
|
+
}
|
|
74837
75073
|
if (err.lineItems != null)
|
|
74838
75074
|
this.lineItems = err.lineItems;
|
|
74839
75075
|
if (err.amountDetails != null)
|
|
@@ -74847,6 +75083,7 @@ var init_updatepaymentlinkerror = __esm(() => {
|
|
|
74847
75083
|
display: optional3(DisplayOptionsError$inboundSchema),
|
|
74848
75084
|
payment: optional3(PaymentDetailsError$inboundSchema),
|
|
74849
75085
|
payout: optional3(PayoutDetailsError$inboundSchema),
|
|
75086
|
+
customAmountPayment: optional3(CustomAmountPaymentDetailsError$inboundSchema),
|
|
74850
75087
|
lineItems: optional3(CreatePaymentLinkLineItemsValidationError$inboundSchema),
|
|
74851
75088
|
amountDetails: optional3(UpdatePaymentLinkAmountDetailsValidationError$inboundSchema),
|
|
74852
75089
|
request$: instanceOfType(Request),
|
|
@@ -74865,6 +75102,7 @@ var init_updatepaymentlinkerror = __esm(() => {
|
|
|
74865
75102
|
display: DisplayOptionsError$outboundSchema.optional(),
|
|
74866
75103
|
payment: PaymentDetailsError$outboundSchema.optional(),
|
|
74867
75104
|
payout: PayoutDetailsError$outboundSchema.optional(),
|
|
75105
|
+
customAmountPayment: CustomAmountPaymentDetailsError$outboundSchema.optional(),
|
|
74868
75106
|
lineItems: CreatePaymentLinkLineItemsValidationError$outboundSchema.optional(),
|
|
74869
75107
|
amountDetails: UpdatePaymentLinkAmountDetailsValidationError$outboundSchema.optional()
|
|
74870
75108
|
}));
|
|
@@ -79286,6 +79524,41 @@ var init_listbankaccounts = __esm(() => {
|
|
|
79286
79524
|
});
|
|
79287
79525
|
});
|
|
79288
79526
|
|
|
79527
|
+
// src/models/operations/listcancellations.ts
|
|
79528
|
+
var ListCancellationsRequest$inboundSchema, ListCancellationsRequest$outboundSchema, ListCancellationsResponse$inboundSchema, ListCancellationsResponse$outboundSchema;
|
|
79529
|
+
var init_listcancellations = __esm(() => {
|
|
79530
|
+
init_v3();
|
|
79531
|
+
init_primitives();
|
|
79532
|
+
init_primitives2();
|
|
79533
|
+
init_components();
|
|
79534
|
+
ListCancellationsRequest$inboundSchema = objectType({
|
|
79535
|
+
accountID: string4(),
|
|
79536
|
+
transferID: string4()
|
|
79537
|
+
});
|
|
79538
|
+
ListCancellationsRequest$outboundSchema = objectType({
|
|
79539
|
+
accountID: stringType(),
|
|
79540
|
+
transferID: stringType()
|
|
79541
|
+
});
|
|
79542
|
+
ListCancellationsResponse$inboundSchema = objectType({
|
|
79543
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
79544
|
+
Result: arrayType(Cancellation$inboundSchema)
|
|
79545
|
+
}).transform((v2) => {
|
|
79546
|
+
return remap(v2, {
|
|
79547
|
+
Headers: "headers",
|
|
79548
|
+
Result: "result"
|
|
79549
|
+
});
|
|
79550
|
+
});
|
|
79551
|
+
ListCancellationsResponse$outboundSchema = objectType({
|
|
79552
|
+
headers: recordType(arrayType(stringType())),
|
|
79553
|
+
result: arrayType(Cancellation$outboundSchema)
|
|
79554
|
+
}).transform((v2) => {
|
|
79555
|
+
return remap(v2, {
|
|
79556
|
+
headers: "Headers",
|
|
79557
|
+
result: "Result"
|
|
79558
|
+
});
|
|
79559
|
+
});
|
|
79560
|
+
});
|
|
79561
|
+
|
|
79289
79562
|
// src/models/operations/listcapabilities.ts
|
|
79290
79563
|
var ListCapabilitiesRequest$inboundSchema, ListCapabilitiesRequest$outboundSchema, ListCapabilitiesResponse$inboundSchema, ListCapabilitiesResponse$outboundSchema;
|
|
79291
79564
|
var init_listcapabilities = __esm(() => {
|
|
@@ -82519,6 +82792,7 @@ var init_operations = __esm(() => {
|
|
|
82519
82792
|
init_listaccountterminalapplications();
|
|
82520
82793
|
init_listadjustments();
|
|
82521
82794
|
init_listbankaccounts();
|
|
82795
|
+
init_listcancellations();
|
|
82522
82796
|
init_listcapabilities();
|
|
82523
82797
|
init_listcards();
|
|
82524
82798
|
init_listconnectedaccountsforaccount();
|
|
@@ -82608,16 +82882,19 @@ var init_async = __esm(() => {
|
|
|
82608
82882
|
[Symbol.toStringTag] = "APIPromise";
|
|
82609
82883
|
constructor(p) {
|
|
82610
82884
|
this.#promise = p instanceof Promise ? p : Promise.resolve(p);
|
|
82611
|
-
this.#unwrapped = p instanceof Promise ?
|
|
82885
|
+
this.#unwrapped = p instanceof Promise ? null : Promise.resolve(p[0]);
|
|
82886
|
+
}
|
|
82887
|
+
#getUnwrapped() {
|
|
82888
|
+
return this.#unwrapped ??= this.#promise.then(([value]) => value);
|
|
82612
82889
|
}
|
|
82613
82890
|
then(onfulfilled, onrejected) {
|
|
82614
82891
|
return this.#promise.then(onfulfilled ? ([value]) => onfulfilled(value) : undefined, onrejected);
|
|
82615
82892
|
}
|
|
82616
82893
|
catch(onrejected) {
|
|
82617
|
-
return this.#
|
|
82894
|
+
return this.#getUnwrapped().catch(onrejected);
|
|
82618
82895
|
}
|
|
82619
82896
|
finally(onfinally) {
|
|
82620
|
-
return this.#
|
|
82897
|
+
return this.#getUnwrapped().finally(onfinally);
|
|
82621
82898
|
}
|
|
82622
82899
|
$inspect() {
|
|
82623
82900
|
return this.#promise;
|
|
@@ -82939,21 +83216,19 @@ var init_accountsCreate2 = __esm(() => {
|
|
|
82939
83216
|
};
|
|
82940
83217
|
tool$accountsCreate = {
|
|
82941
83218
|
name: "accounts-create",
|
|
82942
|
-
description: `You can create
|
|
82943
|
-
|
|
83219
|
+
description: `You can create business or individual accounts for your users (i.e., customers, merchants) by passing the required information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/reference/).
|
|
83220
|
+
|
|
83221
|
+
The \`transfers\` capability is automatically requested for every account. If you request any capability beyond \`transfers\` (for example, \`send-funds.ach\`, \`collect-funds.card-payments\`), you'll need to:
|
|
83222
|
+
+ Send Moov the user's [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance. This can be done at account creation, or by [patching](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account using the \`termsOfService\` field.
|
|
83223
|
+
+ Fulfill the [verification and underwriting requirements](https://docs.moov.io/guides/accounts/requirements/) for each requested capability. A capability isn't enabled until its requirements pass — check the capability's status to see what's still outstanding.
|
|
82944
83224
|
|
|
82945
|
-
If you're
|
|
82946
|
-
+ Send Moov the user [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance.
|
|
82947
|
-
This can be done upon account creation, or by [patching](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account using the \`termsOfService\` field.
|
|
82948
|
-
If you're creating a business account with the business type \`llc\`, \`partnership\`, or \`privateCorporation\`, you'll need to:
|
|
83225
|
+
If you're creating a business account, depending on the business type, you'll also need to:
|
|
82949
83226
|
+ Provide [business representatives](https://docs.moov.io/api/moov-accounts/representatives/) after creating the account.
|
|
82950
83227
|
+ [Patch](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account to indicate that business representative ownership information is complete.
|
|
82951
83228
|
|
|
82952
|
-
Visit our documentation to read more about [creating accounts](https://docs.moov.io/guides/accounts/create-accounts/) and [verification requirements](https://docs.moov.io/guides/accounts/requirements/identity-verification/).
|
|
82953
|
-
Note that the \`mode\` field (for production or sandbox) is only required when creating a _facilitator_ account. All non-facilitator account requests will ignore the mode field and be set to the calling facilitator's mode.
|
|
83229
|
+
Visit our documentation to read more about [creating accounts](https://docs.moov.io/guides/accounts/create-accounts/) and [verification requirements](https://docs.moov.io/guides/accounts/requirements/identity-verification/). Note that the \`mode\` field (for production or sandbox) is only required when creating a Partner account. All other account requests will ignore the mode field and be set to the calling Partner account's mode.
|
|
82954
83230
|
|
|
82955
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
82956
|
-
to specify the \`/accounts.write\` scope.`,
|
|
83231
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need to specify the \`/accounts.write\` scope.`,
|
|
82957
83232
|
args: args3,
|
|
82958
83233
|
tool: async (client, args4, ctx) => {
|
|
82959
83234
|
const [result, apiCall] = await accountsCreate(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -86990,7 +87265,7 @@ var init_capabilitiesDisable2 = __esm(() => {
|
|
|
86990
87265
|
};
|
|
86991
87266
|
tool$capabilitiesDisable = {
|
|
86992
87267
|
name: "capabilities-disable",
|
|
86993
|
-
description: `Disable a specific capability that an account has requested. Read our [capabilities
|
|
87268
|
+
description: `Disable a specific capability that an account has requested. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
|
|
86994
87269
|
|
|
86995
87270
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
86996
87271
|
you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
|
|
@@ -87104,7 +87379,7 @@ var init_capabilitiesGet2 = __esm(() => {
|
|
|
87104
87379
|
};
|
|
87105
87380
|
tool$capabilitiesGet = {
|
|
87106
87381
|
name: "capabilities-get",
|
|
87107
|
-
description: `Retrieve a specific capability that an account has requested. Read our [capabilities
|
|
87382
|
+
description: `Retrieve a specific capability that an account has requested. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
|
|
87108
87383
|
|
|
87109
87384
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87110
87385
|
you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
|
|
@@ -87217,7 +87492,7 @@ var init_capabilitiesList2 = __esm(() => {
|
|
|
87217
87492
|
name: "capabilities-list",
|
|
87218
87493
|
description: `Retrieve all the capabilities an account has requested.
|
|
87219
87494
|
|
|
87220
|
-
Read our [capabilities
|
|
87495
|
+
Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
|
|
87221
87496
|
|
|
87222
87497
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87223
87498
|
you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
|
|
@@ -87330,7 +87605,7 @@ var init_capabilitiesRequest2 = __esm(() => {
|
|
|
87330
87605
|
};
|
|
87331
87606
|
tool$capabilitiesRequest = {
|
|
87332
87607
|
name: "capabilities-request",
|
|
87333
|
-
description: `Request capabilities for a specific account. Read our [capabilities
|
|
87608
|
+
description: `Request capabilities for a specific account. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
|
|
87334
87609
|
|
|
87335
87610
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87336
87611
|
you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
|
|
@@ -87370,7 +87645,7 @@ async function $do42(client, request, options) {
|
|
|
87370
87645
|
charEncoding: "percent"
|
|
87371
87646
|
})
|
|
87372
87647
|
};
|
|
87373
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
87648
|
+
const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
|
|
87374
87649
|
const headers = new Headers(compactMap({
|
|
87375
87650
|
Accept: "application/json"
|
|
87376
87651
|
}));
|
|
@@ -87485,7 +87760,7 @@ async function $do43(client, request, options) {
|
|
|
87485
87760
|
charEncoding: "percent"
|
|
87486
87761
|
})
|
|
87487
87762
|
};
|
|
87488
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
87763
|
+
const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}/details")(pathParams);
|
|
87489
87764
|
const headers = new Headers(compactMap({
|
|
87490
87765
|
Accept: "application/json"
|
|
87491
87766
|
}));
|
|
@@ -87598,7 +87873,7 @@ async function $do44(client, request, options) {
|
|
|
87598
87873
|
charEncoding: "percent"
|
|
87599
87874
|
})
|
|
87600
87875
|
};
|
|
87601
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
87876
|
+
const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
|
|
87602
87877
|
const query = encodeFormQuery({
|
|
87603
87878
|
count: payload.count,
|
|
87604
87879
|
skip: payload.skip,
|
|
@@ -87715,7 +87990,7 @@ async function $do45(client, request, options) {
|
|
|
87715
87990
|
charEncoding: "percent"
|
|
87716
87991
|
})
|
|
87717
87992
|
};
|
|
87718
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
87993
|
+
const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
|
|
87719
87994
|
const headers = new Headers(compactMap({
|
|
87720
87995
|
"Content-Type": "application/json",
|
|
87721
87996
|
Accept: "application/json"
|
|
@@ -87832,7 +88107,7 @@ async function $do46(client, request, options) {
|
|
|
87832
88107
|
charEncoding: "percent"
|
|
87833
88108
|
})
|
|
87834
88109
|
};
|
|
87835
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
88110
|
+
const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
|
|
87836
88111
|
const headers = new Headers(compactMap({
|
|
87837
88112
|
"Content-Type": "application/json",
|
|
87838
88113
|
Accept: "application/json"
|
|
@@ -102282,11 +102557,126 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102282
102557
|
};
|
|
102283
102558
|
});
|
|
102284
102559
|
|
|
102285
|
-
// src/funcs/
|
|
102286
|
-
function
|
|
102560
|
+
// src/funcs/transfersListCancellations.ts
|
|
102561
|
+
function transfersListCancellations(client, request, options) {
|
|
102287
102562
|
return new APIPromise($do170(client, request, options));
|
|
102288
102563
|
}
|
|
102289
102564
|
async function $do170(client, request, options) {
|
|
102565
|
+
const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102566
|
+
if (!parsed.ok) {
|
|
102567
|
+
return [parsed, { status: "invalid" }];
|
|
102568
|
+
}
|
|
102569
|
+
const payload = parsed.value;
|
|
102570
|
+
const body = null;
|
|
102571
|
+
const pathParams = {
|
|
102572
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
102573
|
+
explode: false,
|
|
102574
|
+
charEncoding: "percent"
|
|
102575
|
+
}),
|
|
102576
|
+
transferID: encodeSimple("transferID", payload.transferID, {
|
|
102577
|
+
explode: false,
|
|
102578
|
+
charEncoding: "percent"
|
|
102579
|
+
})
|
|
102580
|
+
};
|
|
102581
|
+
const path = pathToFunc("/accounts/{accountID}/transfers/{transferID}/cancellations")(pathParams);
|
|
102582
|
+
const headers = new Headers(compactMap({
|
|
102583
|
+
Accept: "application/json"
|
|
102584
|
+
}));
|
|
102585
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
102586
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
102587
|
+
const context = {
|
|
102588
|
+
options: client._options,
|
|
102589
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
102590
|
+
operationID: "listCancellations",
|
|
102591
|
+
oAuth2Scopes: null,
|
|
102592
|
+
resolvedSecurity: requestSecurity,
|
|
102593
|
+
securitySource: client._options.security,
|
|
102594
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
102595
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
102596
|
+
};
|
|
102597
|
+
const requestRes = client._createRequest(context, {
|
|
102598
|
+
security: requestSecurity,
|
|
102599
|
+
method: "GET",
|
|
102600
|
+
baseURL: options?.serverURL,
|
|
102601
|
+
path,
|
|
102602
|
+
headers,
|
|
102603
|
+
body,
|
|
102604
|
+
userAgent: client._options.userAgent,
|
|
102605
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
102606
|
+
}, options);
|
|
102607
|
+
if (!requestRes.ok) {
|
|
102608
|
+
return [requestRes, { status: "invalid" }];
|
|
102609
|
+
}
|
|
102610
|
+
const req = requestRes.value;
|
|
102611
|
+
const doResult = await client._do(req, {
|
|
102612
|
+
context,
|
|
102613
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
102614
|
+
retryConfig: context.retryConfig,
|
|
102615
|
+
retryCodes: context.retryCodes
|
|
102616
|
+
});
|
|
102617
|
+
if (!doResult.ok) {
|
|
102618
|
+
return [doResult, { status: "request-error", request: req }];
|
|
102619
|
+
}
|
|
102620
|
+
const response = doResult.value;
|
|
102621
|
+
const responseFields = {
|
|
102622
|
+
HttpMeta: { Response: response, Request: req }
|
|
102623
|
+
};
|
|
102624
|
+
const [result] = await match(json(200, ListCancellationsResponse$inboundSchema, {
|
|
102625
|
+
hdrs: true,
|
|
102626
|
+
key: "Result"
|
|
102627
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
102628
|
+
if (!result.ok) {
|
|
102629
|
+
return [result, { status: "complete", request: req, response }];
|
|
102630
|
+
}
|
|
102631
|
+
return [result, { status: "complete", request: req, response }];
|
|
102632
|
+
}
|
|
102633
|
+
var init_transfersListCancellations = __esm(() => {
|
|
102634
|
+
init_encodings();
|
|
102635
|
+
init_http();
|
|
102636
|
+
init_matchers();
|
|
102637
|
+
init_primitives();
|
|
102638
|
+
init_schemas4();
|
|
102639
|
+
init_security();
|
|
102640
|
+
init_url();
|
|
102641
|
+
init_operations();
|
|
102642
|
+
init_async();
|
|
102643
|
+
});
|
|
102644
|
+
|
|
102645
|
+
// src/mcp-server/tools/transfersListCancellations.ts
|
|
102646
|
+
var args165, tool$transfersListCancellations;
|
|
102647
|
+
var init_transfersListCancellations2 = __esm(() => {
|
|
102648
|
+
init_transfersListCancellations();
|
|
102649
|
+
init_operations();
|
|
102650
|
+
init_tools();
|
|
102651
|
+
args165 = {
|
|
102652
|
+
request: ListCancellationsRequest$inboundSchema
|
|
102653
|
+
};
|
|
102654
|
+
tool$transfersListCancellations = {
|
|
102655
|
+
name: "transfers-list-cancellations",
|
|
102656
|
+
description: ` Get a list of cancellations for a transfer.
|
|
102657
|
+
|
|
102658
|
+
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
102659
|
+
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
102660
|
+
args: args165,
|
|
102661
|
+
tool: async (client, args166, ctx) => {
|
|
102662
|
+
const [result, apiCall] = await transfersListCancellations(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102663
|
+
if (!result.ok) {
|
|
102664
|
+
return {
|
|
102665
|
+
content: [{ type: "text", text: result.error.message }],
|
|
102666
|
+
isError: true
|
|
102667
|
+
};
|
|
102668
|
+
}
|
|
102669
|
+
const value = result.value.result;
|
|
102670
|
+
return formatResult(value, apiCall);
|
|
102671
|
+
}
|
|
102672
|
+
};
|
|
102673
|
+
});
|
|
102674
|
+
|
|
102675
|
+
// src/funcs/transfersListRefunds.ts
|
|
102676
|
+
function transfersListRefunds(client, request, options) {
|
|
102677
|
+
return new APIPromise($do171(client, request, options));
|
|
102678
|
+
}
|
|
102679
|
+
async function $do171(client, request, options) {
|
|
102290
102680
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102291
102681
|
if (!parsed.ok) {
|
|
102292
102682
|
return [parsed, { status: "invalid" }];
|
|
@@ -102368,12 +102758,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
102368
102758
|
});
|
|
102369
102759
|
|
|
102370
102760
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
102371
|
-
var
|
|
102761
|
+
var args166, tool$transfersListRefunds;
|
|
102372
102762
|
var init_transfersListRefunds2 = __esm(() => {
|
|
102373
102763
|
init_transfersListRefunds();
|
|
102374
102764
|
init_operations();
|
|
102375
102765
|
init_tools();
|
|
102376
|
-
|
|
102766
|
+
args166 = {
|
|
102377
102767
|
request: ListRefundsRequest$inboundSchema
|
|
102378
102768
|
};
|
|
102379
102769
|
tool$transfersListRefunds = {
|
|
@@ -102382,9 +102772,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
102382
102772
|
|
|
102383
102773
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102384
102774
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
102385
|
-
args:
|
|
102386
|
-
tool: async (client,
|
|
102387
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
102775
|
+
args: args166,
|
|
102776
|
+
tool: async (client, args167, ctx) => {
|
|
102777
|
+
const [result, apiCall] = await transfersListRefunds(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102388
102778
|
if (!result.ok) {
|
|
102389
102779
|
return {
|
|
102390
102780
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102399,9 +102789,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102399
102789
|
|
|
102400
102790
|
// src/funcs/transfersUpdate.ts
|
|
102401
102791
|
function transfersUpdate(client, request, options) {
|
|
102402
|
-
return new APIPromise($
|
|
102792
|
+
return new APIPromise($do172(client, request, options));
|
|
102403
102793
|
}
|
|
102404
|
-
async function $
|
|
102794
|
+
async function $do172(client, request, options) {
|
|
102405
102795
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102406
102796
|
if (!parsed.ok) {
|
|
102407
102797
|
return [parsed, { status: "invalid" }];
|
|
@@ -102487,12 +102877,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
102487
102877
|
});
|
|
102488
102878
|
|
|
102489
102879
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
102490
|
-
var
|
|
102880
|
+
var args167, tool$transfersUpdate;
|
|
102491
102881
|
var init_transfersUpdate2 = __esm(() => {
|
|
102492
102882
|
init_transfersUpdate();
|
|
102493
102883
|
init_operations();
|
|
102494
102884
|
init_tools();
|
|
102495
|
-
|
|
102885
|
+
args167 = {
|
|
102496
102886
|
request: UpdateTransferRequest$inboundSchema
|
|
102497
102887
|
};
|
|
102498
102888
|
tool$transfersUpdate = {
|
|
@@ -102503,9 +102893,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
102503
102893
|
|
|
102504
102894
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102505
102895
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
102506
|
-
args:
|
|
102507
|
-
tool: async (client,
|
|
102508
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
102896
|
+
args: args167,
|
|
102897
|
+
tool: async (client, args168, ctx) => {
|
|
102898
|
+
const [result, apiCall] = await transfersUpdate(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102509
102899
|
if (!result.ok) {
|
|
102510
102900
|
return {
|
|
102511
102901
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102520,9 +102910,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102520
102910
|
|
|
102521
102911
|
// src/funcs/underwritingGet.ts
|
|
102522
102912
|
function underwritingGet(client, request, options) {
|
|
102523
|
-
return new APIPromise($
|
|
102913
|
+
return new APIPromise($do173(client, request, options));
|
|
102524
102914
|
}
|
|
102525
|
-
async function $
|
|
102915
|
+
async function $do173(client, request, options) {
|
|
102526
102916
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102527
102917
|
if (!parsed.ok) {
|
|
102528
102918
|
return [parsed, { status: "invalid" }];
|
|
@@ -102600,12 +102990,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
102600
102990
|
});
|
|
102601
102991
|
|
|
102602
102992
|
// src/mcp-server/tools/underwritingGet.ts
|
|
102603
|
-
var
|
|
102993
|
+
var args168, tool$underwritingGet;
|
|
102604
102994
|
var init_underwritingGet2 = __esm(() => {
|
|
102605
102995
|
init_underwritingGet();
|
|
102606
102996
|
init_operations();
|
|
102607
102997
|
init_tools();
|
|
102608
|
-
|
|
102998
|
+
args168 = {
|
|
102609
102999
|
request: GetUnderwritingRequest$inboundSchema
|
|
102610
103000
|
};
|
|
102611
103001
|
tool$underwritingGet = {
|
|
@@ -102616,9 +103006,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
102616
103006
|
|
|
102617
103007
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102618
103008
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
102619
|
-
args:
|
|
102620
|
-
tool: async (client,
|
|
102621
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
103009
|
+
args: args168,
|
|
103010
|
+
tool: async (client, args169, ctx) => {
|
|
103011
|
+
const [result, apiCall] = await underwritingGet(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102622
103012
|
if (!result.ok) {
|
|
102623
103013
|
return {
|
|
102624
103014
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102633,9 +103023,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
102633
103023
|
|
|
102634
103024
|
// src/funcs/underwritingSave.ts
|
|
102635
103025
|
function underwritingSave(client, request, options) {
|
|
102636
|
-
return new APIPromise($
|
|
103026
|
+
return new APIPromise($do174(client, request, options));
|
|
102637
103027
|
}
|
|
102638
|
-
async function $
|
|
103028
|
+
async function $do174(client, request, options) {
|
|
102639
103029
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102640
103030
|
if (!parsed.ok) {
|
|
102641
103031
|
return [parsed, { status: "invalid" }];
|
|
@@ -102719,12 +103109,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
102719
103109
|
});
|
|
102720
103110
|
|
|
102721
103111
|
// src/mcp-server/tools/underwritingSave.ts
|
|
102722
|
-
var
|
|
103112
|
+
var args169, tool$underwritingSave;
|
|
102723
103113
|
var init_underwritingSave2 = __esm(() => {
|
|
102724
103114
|
init_underwritingSave();
|
|
102725
103115
|
init_operations();
|
|
102726
103116
|
init_tools();
|
|
102727
|
-
|
|
103117
|
+
args169 = {
|
|
102728
103118
|
request: SaveUnderwritingRequest$inboundSchema
|
|
102729
103119
|
};
|
|
102730
103120
|
tool$underwritingSave = {
|
|
@@ -102735,9 +103125,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
102735
103125
|
|
|
102736
103126
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102737
103127
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
102738
|
-
args:
|
|
102739
|
-
tool: async (client,
|
|
102740
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
103128
|
+
args: args169,
|
|
103129
|
+
tool: async (client, args170, ctx) => {
|
|
103130
|
+
const [result, apiCall] = await underwritingSave(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102741
103131
|
if (!result.ok) {
|
|
102742
103132
|
return {
|
|
102743
103133
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102752,9 +103142,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
102752
103142
|
|
|
102753
103143
|
// src/funcs/underwritingUpsert.ts
|
|
102754
103144
|
function underwritingUpsert(client, request, options) {
|
|
102755
|
-
return new APIPromise($
|
|
103145
|
+
return new APIPromise($do175(client, request, options));
|
|
102756
103146
|
}
|
|
102757
|
-
async function $
|
|
103147
|
+
async function $do175(client, request, options) {
|
|
102758
103148
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102759
103149
|
if (!parsed.ok) {
|
|
102760
103150
|
return [parsed, { status: "invalid" }];
|
|
@@ -102838,12 +103228,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
102838
103228
|
});
|
|
102839
103229
|
|
|
102840
103230
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
102841
|
-
var
|
|
103231
|
+
var args170, tool$underwritingUpsert;
|
|
102842
103232
|
var init_underwritingUpsert2 = __esm(() => {
|
|
102843
103233
|
init_underwritingUpsert();
|
|
102844
103234
|
init_operations();
|
|
102845
103235
|
init_tools();
|
|
102846
|
-
|
|
103236
|
+
args170 = {
|
|
102847
103237
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
102848
103238
|
};
|
|
102849
103239
|
tool$underwritingUpsert = {
|
|
@@ -102854,9 +103244,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
102854
103244
|
|
|
102855
103245
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102856
103246
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
102857
|
-
args:
|
|
102858
|
-
tool: async (client,
|
|
102859
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
103247
|
+
args: args170,
|
|
103248
|
+
tool: async (client, args171, ctx) => {
|
|
103249
|
+
const [result, apiCall] = await underwritingUpsert(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102860
103250
|
if (!result.ok) {
|
|
102861
103251
|
return {
|
|
102862
103252
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102871,9 +103261,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
102871
103261
|
|
|
102872
103262
|
// src/funcs/walletsCreate.ts
|
|
102873
103263
|
function walletsCreate(client, request, options) {
|
|
102874
|
-
return new APIPromise($
|
|
103264
|
+
return new APIPromise($do176(client, request, options));
|
|
102875
103265
|
}
|
|
102876
|
-
async function $
|
|
103266
|
+
async function $do176(client, request, options) {
|
|
102877
103267
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102878
103268
|
if (!parsed.ok) {
|
|
102879
103269
|
return [parsed, { status: "invalid" }];
|
|
@@ -102955,12 +103345,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
102955
103345
|
});
|
|
102956
103346
|
|
|
102957
103347
|
// src/mcp-server/tools/walletsCreate.ts
|
|
102958
|
-
var
|
|
103348
|
+
var args171, tool$walletsCreate;
|
|
102959
103349
|
var init_walletsCreate2 = __esm(() => {
|
|
102960
103350
|
init_walletsCreate();
|
|
102961
103351
|
init_operations();
|
|
102962
103352
|
init_tools();
|
|
102963
|
-
|
|
103353
|
+
args171 = {
|
|
102964
103354
|
request: CreateWalletRequest$inboundSchema
|
|
102965
103355
|
};
|
|
102966
103356
|
tool$walletsCreate = {
|
|
@@ -102971,9 +103361,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
102971
103361
|
|
|
102972
103362
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102973
103363
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
102974
|
-
args:
|
|
102975
|
-
tool: async (client,
|
|
102976
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
103364
|
+
args: args171,
|
|
103365
|
+
tool: async (client, args172, ctx) => {
|
|
103366
|
+
const [result, apiCall] = await walletsCreate(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102977
103367
|
if (!result.ok) {
|
|
102978
103368
|
return {
|
|
102979
103369
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102988,9 +103378,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
102988
103378
|
|
|
102989
103379
|
// src/funcs/walletsGet.ts
|
|
102990
103380
|
function walletsGet(client, request, options) {
|
|
102991
|
-
return new APIPromise($
|
|
103381
|
+
return new APIPromise($do177(client, request, options));
|
|
102992
103382
|
}
|
|
102993
|
-
async function $
|
|
103383
|
+
async function $do177(client, request, options) {
|
|
102994
103384
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102995
103385
|
if (!parsed.ok) {
|
|
102996
103386
|
return [parsed, { status: "invalid" }];
|
|
@@ -103072,12 +103462,12 @@ var init_walletsGet = __esm(() => {
|
|
|
103072
103462
|
});
|
|
103073
103463
|
|
|
103074
103464
|
// src/mcp-server/tools/walletsGet.ts
|
|
103075
|
-
var
|
|
103465
|
+
var args172, tool$walletsGet;
|
|
103076
103466
|
var init_walletsGet2 = __esm(() => {
|
|
103077
103467
|
init_walletsGet();
|
|
103078
103468
|
init_operations();
|
|
103079
103469
|
init_tools();
|
|
103080
|
-
|
|
103470
|
+
args172 = {
|
|
103081
103471
|
request: GetWalletRequest$inboundSchema
|
|
103082
103472
|
};
|
|
103083
103473
|
tool$walletsGet = {
|
|
@@ -103088,9 +103478,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103088
103478
|
|
|
103089
103479
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103090
103480
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103091
|
-
args:
|
|
103092
|
-
tool: async (client,
|
|
103093
|
-
const [result, apiCall] = await walletsGet(client,
|
|
103481
|
+
args: args172,
|
|
103482
|
+
tool: async (client, args173, ctx) => {
|
|
103483
|
+
const [result, apiCall] = await walletsGet(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103094
103484
|
if (!result.ok) {
|
|
103095
103485
|
return {
|
|
103096
103486
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103105,9 +103495,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103105
103495
|
|
|
103106
103496
|
// src/funcs/walletsList.ts
|
|
103107
103497
|
function walletsList(client, request, options) {
|
|
103108
|
-
return new APIPromise($
|
|
103498
|
+
return new APIPromise($do178(client, request, options));
|
|
103109
103499
|
}
|
|
103110
|
-
async function $
|
|
103500
|
+
async function $do178(client, request, options) {
|
|
103111
103501
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103112
103502
|
if (!parsed.ok) {
|
|
103113
103503
|
return [parsed, { status: "invalid" }];
|
|
@@ -103195,12 +103585,12 @@ var init_walletsList = __esm(() => {
|
|
|
103195
103585
|
});
|
|
103196
103586
|
|
|
103197
103587
|
// src/mcp-server/tools/walletsList.ts
|
|
103198
|
-
var
|
|
103588
|
+
var args173, tool$walletsList;
|
|
103199
103589
|
var init_walletsList2 = __esm(() => {
|
|
103200
103590
|
init_walletsList();
|
|
103201
103591
|
init_operations();
|
|
103202
103592
|
init_tools();
|
|
103203
|
-
|
|
103593
|
+
args173 = {
|
|
103204
103594
|
request: ListWalletsRequest$inboundSchema
|
|
103205
103595
|
};
|
|
103206
103596
|
tool$walletsList = {
|
|
@@ -103211,9 +103601,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103211
103601
|
|
|
103212
103602
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103213
103603
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103214
|
-
args:
|
|
103215
|
-
tool: async (client,
|
|
103216
|
-
const [result, apiCall] = await walletsList(client,
|
|
103604
|
+
args: args173,
|
|
103605
|
+
tool: async (client, args174, ctx) => {
|
|
103606
|
+
const [result, apiCall] = await walletsList(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103217
103607
|
if (!result.ok) {
|
|
103218
103608
|
return {
|
|
103219
103609
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103228,9 +103618,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103228
103618
|
|
|
103229
103619
|
// src/funcs/walletsUpdate.ts
|
|
103230
103620
|
function walletsUpdate(client, request, options) {
|
|
103231
|
-
return new APIPromise($
|
|
103621
|
+
return new APIPromise($do179(client, request, options));
|
|
103232
103622
|
}
|
|
103233
|
-
async function $
|
|
103623
|
+
async function $do179(client, request, options) {
|
|
103234
103624
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103235
103625
|
if (!parsed.ok) {
|
|
103236
103626
|
return [parsed, { status: "invalid" }];
|
|
@@ -103316,12 +103706,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
103316
103706
|
});
|
|
103317
103707
|
|
|
103318
103708
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
103319
|
-
var
|
|
103709
|
+
var args174, tool$walletsUpdate;
|
|
103320
103710
|
var init_walletsUpdate2 = __esm(() => {
|
|
103321
103711
|
init_walletsUpdate();
|
|
103322
103712
|
init_operations();
|
|
103323
103713
|
init_tools();
|
|
103324
|
-
|
|
103714
|
+
args174 = {
|
|
103325
103715
|
request: UpdateWalletRequest$inboundSchema
|
|
103326
103716
|
};
|
|
103327
103717
|
tool$walletsUpdate = {
|
|
@@ -103332,9 +103722,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103332
103722
|
|
|
103333
103723
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103334
103724
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
103335
|
-
args:
|
|
103336
|
-
tool: async (client,
|
|
103337
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
103725
|
+
args: args174,
|
|
103726
|
+
tool: async (client, args175, ctx) => {
|
|
103727
|
+
const [result, apiCall] = await walletsUpdate(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103338
103728
|
if (!result.ok) {
|
|
103339
103729
|
return {
|
|
103340
103730
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103349,9 +103739,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
103349
103739
|
|
|
103350
103740
|
// src/funcs/walletTransactionsGet.ts
|
|
103351
103741
|
function walletTransactionsGet(client, request, options) {
|
|
103352
|
-
return new APIPromise($
|
|
103742
|
+
return new APIPromise($do180(client, request, options));
|
|
103353
103743
|
}
|
|
103354
|
-
async function $
|
|
103744
|
+
async function $do180(client, request, options) {
|
|
103355
103745
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103356
103746
|
if (!parsed.ok) {
|
|
103357
103747
|
return [parsed, { status: "invalid" }];
|
|
@@ -103437,12 +103827,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
103437
103827
|
});
|
|
103438
103828
|
|
|
103439
103829
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
103440
|
-
var
|
|
103830
|
+
var args175, tool$walletTransactionsGet;
|
|
103441
103831
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
103442
103832
|
init_walletTransactionsGet();
|
|
103443
103833
|
init_operations();
|
|
103444
103834
|
init_tools();
|
|
103445
|
-
|
|
103835
|
+
args175 = {
|
|
103446
103836
|
request: GetWalletTransactionRequest$inboundSchema
|
|
103447
103837
|
};
|
|
103448
103838
|
tool$walletTransactionsGet = {
|
|
@@ -103453,9 +103843,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
103453
103843
|
|
|
103454
103844
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103455
103845
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103456
|
-
args:
|
|
103457
|
-
tool: async (client,
|
|
103458
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
103846
|
+
args: args175,
|
|
103847
|
+
tool: async (client, args176, ctx) => {
|
|
103848
|
+
const [result, apiCall] = await walletTransactionsGet(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103459
103849
|
if (!result.ok) {
|
|
103460
103850
|
return {
|
|
103461
103851
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103470,9 +103860,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103470
103860
|
|
|
103471
103861
|
// src/funcs/walletTransactionsList.ts
|
|
103472
103862
|
function walletTransactionsList(client, request, options) {
|
|
103473
|
-
return new APIPromise($
|
|
103863
|
+
return new APIPromise($do181(client, request, options));
|
|
103474
103864
|
}
|
|
103475
|
-
async function $
|
|
103865
|
+
async function $do181(client, request, options) {
|
|
103476
103866
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103477
103867
|
if (!parsed.ok) {
|
|
103478
103868
|
return [parsed, { status: "invalid" }];
|
|
@@ -103572,12 +103962,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
103572
103962
|
});
|
|
103573
103963
|
|
|
103574
103964
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
103575
|
-
var
|
|
103965
|
+
var args176, tool$walletTransactionsList;
|
|
103576
103966
|
var init_walletTransactionsList2 = __esm(() => {
|
|
103577
103967
|
init_walletTransactionsList();
|
|
103578
103968
|
init_operations();
|
|
103579
103969
|
init_tools();
|
|
103580
|
-
|
|
103970
|
+
args176 = {
|
|
103581
103971
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
103582
103972
|
};
|
|
103583
103973
|
tool$walletTransactionsList = {
|
|
@@ -103588,9 +103978,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
103588
103978
|
|
|
103589
103979
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103590
103980
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103591
|
-
args:
|
|
103592
|
-
tool: async (client,
|
|
103593
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
103981
|
+
args: args176,
|
|
103982
|
+
tool: async (client, args177, ctx) => {
|
|
103983
|
+
const [result, apiCall] = await walletTransactionsList(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103594
103984
|
if (!result.ok) {
|
|
103595
103985
|
return {
|
|
103596
103986
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103605,9 +103995,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103605
103995
|
|
|
103606
103996
|
// src/funcs/webhooksCreate.ts
|
|
103607
103997
|
function webhooksCreate(client, request, options) {
|
|
103608
|
-
return new APIPromise($
|
|
103998
|
+
return new APIPromise($do182(client, request, options));
|
|
103609
103999
|
}
|
|
103610
|
-
async function $
|
|
104000
|
+
async function $do182(client, request, options) {
|
|
103611
104001
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
103612
104002
|
if (!parsed.ok) {
|
|
103613
104003
|
return [parsed, { status: "invalid" }];
|
|
@@ -103684,20 +104074,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
103684
104074
|
});
|
|
103685
104075
|
|
|
103686
104076
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
103687
|
-
var
|
|
104077
|
+
var args177, tool$webhooksCreate;
|
|
103688
104078
|
var init_webhooksCreate2 = __esm(() => {
|
|
103689
104079
|
init_webhooksCreate();
|
|
103690
104080
|
init_components();
|
|
103691
104081
|
init_tools();
|
|
103692
|
-
|
|
104082
|
+
args177 = {
|
|
103693
104083
|
request: CreateWebhook$inboundSchema
|
|
103694
104084
|
};
|
|
103695
104085
|
tool$webhooksCreate = {
|
|
103696
104086
|
name: "webhooks-create",
|
|
103697
104087
|
description: `Create a new webhook for the account.`,
|
|
103698
|
-
args:
|
|
103699
|
-
tool: async (client,
|
|
103700
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
104088
|
+
args: args177,
|
|
104089
|
+
tool: async (client, args178, ctx) => {
|
|
104090
|
+
const [result, apiCall] = await webhooksCreate(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103701
104091
|
if (!result.ok) {
|
|
103702
104092
|
return {
|
|
103703
104093
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103712,9 +104102,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
103712
104102
|
|
|
103713
104103
|
// src/funcs/webhooksDisable.ts
|
|
103714
104104
|
function webhooksDisable(client, request, options) {
|
|
103715
|
-
return new APIPromise($
|
|
104105
|
+
return new APIPromise($do183(client, request, options));
|
|
103716
104106
|
}
|
|
103717
|
-
async function $
|
|
104107
|
+
async function $do183(client, request, options) {
|
|
103718
104108
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103719
104109
|
if (!parsed.ok) {
|
|
103720
104110
|
return [parsed, { status: "invalid" }];
|
|
@@ -103791,20 +104181,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
103791
104181
|
});
|
|
103792
104182
|
|
|
103793
104183
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
103794
|
-
var
|
|
104184
|
+
var args178, tool$webhooksDisable;
|
|
103795
104185
|
var init_webhooksDisable2 = __esm(() => {
|
|
103796
104186
|
init_webhooksDisable();
|
|
103797
104187
|
init_operations();
|
|
103798
104188
|
init_tools();
|
|
103799
|
-
|
|
104189
|
+
args178 = {
|
|
103800
104190
|
request: DisableWebhookRequest$inboundSchema
|
|
103801
104191
|
};
|
|
103802
104192
|
tool$webhooksDisable = {
|
|
103803
104193
|
name: "webhooks-disable",
|
|
103804
104194
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
103805
|
-
args:
|
|
103806
|
-
tool: async (client,
|
|
103807
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
104195
|
+
args: args178,
|
|
104196
|
+
tool: async (client, args179, ctx) => {
|
|
104197
|
+
const [result, apiCall] = await webhooksDisable(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103808
104198
|
if (!result.ok) {
|
|
103809
104199
|
return {
|
|
103810
104200
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103818,9 +104208,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
103818
104208
|
|
|
103819
104209
|
// src/funcs/webhooksGet.ts
|
|
103820
104210
|
function webhooksGet(client, request, options) {
|
|
103821
|
-
return new APIPromise($
|
|
104211
|
+
return new APIPromise($do184(client, request, options));
|
|
103822
104212
|
}
|
|
103823
|
-
async function $
|
|
104213
|
+
async function $do184(client, request, options) {
|
|
103824
104214
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103825
104215
|
if (!parsed.ok) {
|
|
103826
104216
|
return [parsed, { status: "invalid" }];
|
|
@@ -103898,20 +104288,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
103898
104288
|
});
|
|
103899
104289
|
|
|
103900
104290
|
// src/mcp-server/tools/webhooksGet.ts
|
|
103901
|
-
var
|
|
104291
|
+
var args179, tool$webhooksGet;
|
|
103902
104292
|
var init_webhooksGet2 = __esm(() => {
|
|
103903
104293
|
init_webhooksGet();
|
|
103904
104294
|
init_operations();
|
|
103905
104295
|
init_tools();
|
|
103906
|
-
|
|
104296
|
+
args179 = {
|
|
103907
104297
|
request: GetWebhookRequest$inboundSchema
|
|
103908
104298
|
};
|
|
103909
104299
|
tool$webhooksGet = {
|
|
103910
104300
|
name: "webhooks-get",
|
|
103911
104301
|
description: `Get details of a specific webhook.`,
|
|
103912
|
-
args:
|
|
103913
|
-
tool: async (client,
|
|
103914
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
104302
|
+
args: args179,
|
|
104303
|
+
tool: async (client, args180, ctx) => {
|
|
104304
|
+
const [result, apiCall] = await webhooksGet(client, args180.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103915
104305
|
if (!result.ok) {
|
|
103916
104306
|
return {
|
|
103917
104307
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103926,9 +104316,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
103926
104316
|
|
|
103927
104317
|
// src/funcs/webhooksGetSecret.ts
|
|
103928
104318
|
function webhooksGetSecret(client, request, options) {
|
|
103929
|
-
return new APIPromise($
|
|
104319
|
+
return new APIPromise($do185(client, request, options));
|
|
103930
104320
|
}
|
|
103931
|
-
async function $
|
|
104321
|
+
async function $do185(client, request, options) {
|
|
103932
104322
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103933
104323
|
if (!parsed.ok) {
|
|
103934
104324
|
return [parsed, { status: "invalid" }];
|
|
@@ -104006,20 +104396,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
104006
104396
|
});
|
|
104007
104397
|
|
|
104008
104398
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
104009
|
-
var
|
|
104399
|
+
var args180, tool$webhooksGetSecret;
|
|
104010
104400
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
104011
104401
|
init_webhooksGetSecret();
|
|
104012
104402
|
init_operations();
|
|
104013
104403
|
init_tools();
|
|
104014
|
-
|
|
104404
|
+
args180 = {
|
|
104015
104405
|
request: GetWebhookSecretRequest$inboundSchema
|
|
104016
104406
|
};
|
|
104017
104407
|
tool$webhooksGetSecret = {
|
|
104018
104408
|
name: "webhooks-get-secret",
|
|
104019
104409
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
104020
|
-
args:
|
|
104021
|
-
tool: async (client,
|
|
104022
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
104410
|
+
args: args180,
|
|
104411
|
+
tool: async (client, args181, ctx) => {
|
|
104412
|
+
const [result, apiCall] = await webhooksGetSecret(client, args181.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104023
104413
|
if (!result.ok) {
|
|
104024
104414
|
return {
|
|
104025
104415
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104034,9 +104424,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
104034
104424
|
|
|
104035
104425
|
// src/funcs/webhooksList.ts
|
|
104036
104426
|
function webhooksList(client, options) {
|
|
104037
|
-
return new APIPromise($
|
|
104427
|
+
return new APIPromise($do186(client, options));
|
|
104038
104428
|
}
|
|
104039
|
-
async function $
|
|
104429
|
+
async function $do186(client, options) {
|
|
104040
104430
|
const path = pathToFunc("/webhooks")();
|
|
104041
104431
|
const headers = new Headers(compactMap({
|
|
104042
104432
|
Accept: "application/json"
|
|
@@ -104122,9 +104512,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
104122
104512
|
|
|
104123
104513
|
// src/funcs/webhooksListEventTypes.ts
|
|
104124
104514
|
function webhooksListEventTypes(client, options) {
|
|
104125
|
-
return new APIPromise($
|
|
104515
|
+
return new APIPromise($do187(client, options));
|
|
104126
104516
|
}
|
|
104127
|
-
async function $
|
|
104517
|
+
async function $do187(client, options) {
|
|
104128
104518
|
const path = pathToFunc("/event-types")();
|
|
104129
104519
|
const headers = new Headers(compactMap({
|
|
104130
104520
|
Accept: "application/json"
|
|
@@ -104210,9 +104600,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
104210
104600
|
|
|
104211
104601
|
// src/funcs/webhooksPing.ts
|
|
104212
104602
|
function webhooksPing(client, request, options) {
|
|
104213
|
-
return new APIPromise($
|
|
104603
|
+
return new APIPromise($do188(client, request, options));
|
|
104214
104604
|
}
|
|
104215
|
-
async function $
|
|
104605
|
+
async function $do188(client, request, options) {
|
|
104216
104606
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104217
104607
|
if (!parsed.ok) {
|
|
104218
104608
|
return [parsed, { status: "invalid" }];
|
|
@@ -104290,20 +104680,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
104290
104680
|
});
|
|
104291
104681
|
|
|
104292
104682
|
// src/mcp-server/tools/webhooksPing.ts
|
|
104293
|
-
var
|
|
104683
|
+
var args181, tool$webhooksPing;
|
|
104294
104684
|
var init_webhooksPing2 = __esm(() => {
|
|
104295
104685
|
init_webhooksPing();
|
|
104296
104686
|
init_operations();
|
|
104297
104687
|
init_tools();
|
|
104298
|
-
|
|
104688
|
+
args181 = {
|
|
104299
104689
|
request: PingWebhookRequest$inboundSchema
|
|
104300
104690
|
};
|
|
104301
104691
|
tool$webhooksPing = {
|
|
104302
104692
|
name: "webhooks-ping",
|
|
104303
104693
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
104304
|
-
args:
|
|
104305
|
-
tool: async (client,
|
|
104306
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
104694
|
+
args: args181,
|
|
104695
|
+
tool: async (client, args182, ctx) => {
|
|
104696
|
+
const [result, apiCall] = await webhooksPing(client, args182.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104307
104697
|
if (!result.ok) {
|
|
104308
104698
|
return {
|
|
104309
104699
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104318,9 +104708,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
104318
104708
|
|
|
104319
104709
|
// src/funcs/webhooksUpdate.ts
|
|
104320
104710
|
function webhooksUpdate(client, request, options) {
|
|
104321
|
-
return new APIPromise($
|
|
104711
|
+
return new APIPromise($do189(client, request, options));
|
|
104322
104712
|
}
|
|
104323
|
-
async function $
|
|
104713
|
+
async function $do189(client, request, options) {
|
|
104324
104714
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104325
104715
|
if (!parsed.ok) {
|
|
104326
104716
|
return [parsed, { status: "invalid" }];
|
|
@@ -104402,20 +104792,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
104402
104792
|
});
|
|
104403
104793
|
|
|
104404
104794
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
104405
|
-
var
|
|
104795
|
+
var args182, tool$webhooksUpdate;
|
|
104406
104796
|
var init_webhooksUpdate2 = __esm(() => {
|
|
104407
104797
|
init_webhooksUpdate();
|
|
104408
104798
|
init_operations();
|
|
104409
104799
|
init_tools();
|
|
104410
|
-
|
|
104800
|
+
args182 = {
|
|
104411
104801
|
request: UpdateWebhookRequest$inboundSchema
|
|
104412
104802
|
};
|
|
104413
104803
|
tool$webhooksUpdate = {
|
|
104414
104804
|
name: "webhooks-update",
|
|
104415
104805
|
description: `Update an existing webhook.`,
|
|
104416
|
-
args:
|
|
104417
|
-
tool: async (client,
|
|
104418
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
104806
|
+
args: args182,
|
|
104807
|
+
tool: async (client, args183, ctx) => {
|
|
104808
|
+
const [result, apiCall] = await webhooksUpdate(client, args183.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104419
104809
|
if (!result.ok) {
|
|
104420
104810
|
return {
|
|
104421
104811
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104432,7 +104822,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
104432
104822
|
function createMCPServer(deps) {
|
|
104433
104823
|
const server = new McpServer({
|
|
104434
104824
|
name: "Moov",
|
|
104435
|
-
version: "0.0.0-dev.
|
|
104825
|
+
version: "0.0.0-dev.25"
|
|
104436
104826
|
});
|
|
104437
104827
|
const client = new MoovCore({
|
|
104438
104828
|
security: deps.security,
|
|
@@ -104581,6 +104971,7 @@ function createMCPServer(deps) {
|
|
|
104581
104971
|
tool(tool$transfersGet);
|
|
104582
104972
|
tool(tool$transfersUpdate);
|
|
104583
104973
|
tool(tool$transfersCreateCancellation);
|
|
104974
|
+
tool(tool$transfersListCancellations);
|
|
104584
104975
|
tool(tool$transfersGetCancellation);
|
|
104585
104976
|
tool(tool$transfersInitiateRefund);
|
|
104586
104977
|
tool(tool$transfersListRefunds);
|
|
@@ -104811,6 +105202,7 @@ var init_server2 = __esm(() => {
|
|
|
104811
105202
|
init_transfersGetRefund2();
|
|
104812
105203
|
init_transfersInitiateRefund2();
|
|
104813
105204
|
init_transfersList2();
|
|
105205
|
+
init_transfersListCancellations2();
|
|
104814
105206
|
init_transfersListRefunds2();
|
|
104815
105207
|
init_transfersUpdate2();
|
|
104816
105208
|
init_underwritingGet2();
|
|
@@ -106032,7 +106424,7 @@ var routes = rn({
|
|
|
106032
106424
|
var app = Ve(routes, {
|
|
106033
106425
|
name: "mcp",
|
|
106034
106426
|
versionInfo: {
|
|
106035
|
-
currentVersion: "0.0.0-dev.
|
|
106427
|
+
currentVersion: "0.0.0-dev.25"
|
|
106036
106428
|
}
|
|
106037
106429
|
});
|
|
106038
106430
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -106040,5 +106432,5 @@ export {
|
|
|
106040
106432
|
app
|
|
106041
106433
|
};
|
|
106042
106434
|
|
|
106043
|
-
//# debugId=
|
|
106435
|
+
//# debugId=102845F49F4E76B864756E2164756E21
|
|
106044
106436
|
//# sourceMappingURL=mcp-server.js.map
|