@moovio/sdk 26.7.0-dev.2 → 26.7.0-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -86
- package/bin/mcp-server.js +892 -402
- package/bin/mcp-server.js.map +96 -86
- 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/{createauthorizedusererror.js → amountdetails.js} +15 -17
- 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/{createauthorizeduserupdate.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/asynccreatedrefund.d.ts +3 -0
- package/models/components/asynccreatedrefund.d.ts.map +1 -1
- package/models/components/asynccreatedrefund.js +3 -0
- package/models/components/asynccreatedrefund.js.map +1 -1
- package/models/components/capability.d.ts +7 -1
- package/models/components/capability.d.ts.map +1 -1
- package/models/components/capability.js.map +1 -1
- package/models/components/capabilityid.d.ts +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/cardacquiringrefund.d.ts +3 -0
- package/models/components/cardacquiringrefund.d.ts.map +1 -1
- package/models/components/cardacquiringrefund.js +3 -0
- package/models/components/cardacquiringrefund.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/createpaymentlinkamountdetails.d.ts +5 -0
- package/models/components/createpaymentlinkamountdetails.d.ts.map +1 -1
- package/models/components/createpaymentlinkamountdetails.js +2 -0
- package/models/components/createpaymentlinkamountdetails.js.map +1 -1
- package/models/components/createpaymentlinkamountdetailsvalidationerror.d.ts +2 -0
- package/models/components/createpaymentlinkamountdetailsvalidationerror.d.ts.map +1 -1
- package/models/components/createpaymentlinkamountdetailsvalidationerror.js +2 -0
- package/models/components/createpaymentlinkamountdetailsvalidationerror.js.map +1 -1
- package/models/components/createrefund.d.ts +6 -0
- package/models/components/createrefund.d.ts.map +1 -1
- package/models/components/createrefund.js +3 -0
- package/models/components/createrefund.js.map +1 -1
- package/models/components/createreversal.d.ts +6 -0
- package/models/components/createreversal.d.ts.map +1 -1
- package/models/components/createreversal.js +3 -0
- package/models/components/createreversal.js.map +1 -1
- package/models/components/createtransferamountdetails.d.ts +5 -0
- package/models/components/createtransferamountdetails.d.ts.map +1 -1
- package/models/components/createtransferamountdetails.js +2 -0
- package/models/components/createtransferamountdetails.js.map +1 -1
- package/models/components/createtransferamountdetailsvalidationerror.d.ts +2 -0
- package/models/components/createtransferamountdetailsvalidationerror.d.ts.map +1 -1
- package/models/components/createtransferamountdetailsvalidationerror.js +2 -0
- package/models/components/createtransferamountdetailsvalidationerror.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 +12 -4
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +12 -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/paymentlinkamountdetails.d.ts +5 -0
- package/models/components/paymentlinkamountdetails.d.ts.map +1 -1
- package/models/components/paymentlinkamountdetails.js +2 -0
- package/models/components/paymentlinkamountdetails.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/refundamountdetails.d.ts +21 -0
- package/models/components/refundamountdetails.d.ts.map +1 -0
- package/models/components/{authorizeduser.js → refundamountdetails.js} +13 -14
- package/models/components/refundamountdetails.js.map +1 -0
- package/models/components/refundamountdetailsvalidationerror.d.ts +17 -0
- package/models/components/refundamountdetailsvalidationerror.d.ts.map +1 -0
- package/models/components/refundamountdetailsvalidationerror.js +59 -0
- package/models/components/refundamountdetailsvalidationerror.js.map +1 -0
- package/models/components/requestcard.d.ts +14 -17
- package/models/components/requestcard.d.ts.map +1 -1
- package/models/components/requestcard.js +9 -10
- package/models/components/requestcard.js.map +1 -1
- package/models/components/reversalamountdetails.d.ts +21 -0
- package/models/components/reversalamountdetails.d.ts.map +1 -0
- package/models/components/reversalamountdetails.js +60 -0
- package/models/components/reversalamountdetails.js.map +1 -0
- package/models/components/reversalamountdetailsvalidationerror.d.ts +17 -0
- package/models/components/reversalamountdetailsvalidationerror.d.ts.map +1 -0
- package/models/components/reversalamountdetailsvalidationerror.js +59 -0
- package/models/components/reversalamountdetailsvalidationerror.js.map +1 -0
- package/models/components/transferamountdetails.d.ts +5 -0
- package/models/components/transferamountdetails.d.ts.map +1 -1
- package/models/components/transferamountdetails.js +2 -0
- package/models/components/transferamountdetails.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/transfercontrols.js +67 -0
- 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/updatepaymentlinkamountdetails.d.ts +5 -0
- package/models/components/updatepaymentlinkamountdetails.d.ts.map +1 -1
- package/models/components/updatepaymentlinkamountdetails.js +2 -0
- package/models/components/updatepaymentlinkamountdetails.js.map +1 -1
- package/models/components/updatepaymentlinkamountdetailsvalidationerror.d.ts +2 -0
- package/models/components/updatepaymentlinkamountdetailsvalidationerror.d.ts.map +1 -1
- package/models/components/updatepaymentlinkamountdetailsvalidationerror.js +2 -0
- package/models/components/updatepaymentlinkamountdetailsvalidationerror.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/cardacquiringrefund.d.ts +3 -0
- package/models/errors/cardacquiringrefund.d.ts.map +1 -1
- package/models/errors/cardacquiringrefund.js +4 -0
- package/models/errors/cardacquiringrefund.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/refundvalidationerror.d.ts +4 -0
- package/models/errors/refundvalidationerror.d.ts.map +1 -1
- package/models/errors/refundvalidationerror.js +6 -0
- package/models/errors/refundvalidationerror.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/reversalvalidationerror.d.ts +4 -0
- package/models/errors/reversalvalidationerror.d.ts.map +1 -1
- package/models/errors/reversalvalidationerror.js +6 -0
- package/models/errors/reversalvalidationerror.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/asynccreatedrefund.ts +10 -0
- package/src/models/components/capability.ts +7 -1
- package/src/models/components/capabilityid.ts +14 -2
- package/src/models/components/cardacquiringrefund.ts +10 -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/createpaymentlinkamountdetails.ts +7 -0
- package/src/models/components/createpaymentlinkamountdetailsvalidationerror.ts +4 -0
- package/src/models/components/createrefund.ts +13 -0
- package/src/models/components/createreversal.ts +13 -0
- package/src/models/components/createtransferamountdetails.ts +7 -0
- package/src/models/components/createtransferamountdetailsvalidationerror.ts +4 -0
- package/src/models/components/customamountpaymentdetailserror.ts +86 -0
- package/src/models/components/fullissuedcard.ts +35 -17
- package/src/models/components/index.ts +12 -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/paymentlinkamountdetails.ts +7 -0
- 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/refundamountdetails.ts +61 -0
- package/src/models/components/refundamountdetailsvalidationerror.ts +55 -0
- package/src/models/components/requestcard.ts +23 -34
- package/src/models/components/reversalamountdetails.ts +61 -0
- package/src/models/components/reversalamountdetailsvalidationerror.ts +55 -0
- package/src/models/components/transferamountdetails.ts +7 -0
- 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/updatepaymentlinkamountdetails.ts +7 -0
- package/src/models/components/updatepaymentlinkamountdetailsvalidationerror.ts +4 -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/cardacquiringrefund.ts +6 -0
- package/src/models/errors/createinvoiceerror.ts +7 -7
- package/src/models/errors/createpaymentlinkerror.ts +13 -0
- package/src/models/errors/refundvalidationerror.ts +12 -0
- package/src/models/errors/requestcarderror.ts +26 -27
- package/src/models/errors/reversalvalidationerror.ts +12 -0
- 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: "v2026.07.00",
|
|
53589
|
-
sdkVersion: "26.7.0-dev.
|
|
53590
|
-
genVersion: "2.
|
|
53591
|
-
userAgent: "speakeasy-sdk/typescript 26.7.0-dev.
|
|
53654
|
+
sdkVersion: "26.7.0-dev.4",
|
|
53655
|
+
genVersion: "2.910.1",
|
|
53656
|
+
userAgent: "speakeasy-sdk/typescript 26.7.0-dev.4 2.910.1 v2026.07.00 @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(() => {
|
|
@@ -57292,21 +57430,38 @@ var init_assignproductimagevalidationerror = __esm(() => {
|
|
|
57292
57430
|
});
|
|
57293
57431
|
});
|
|
57294
57432
|
|
|
57433
|
+
// src/models/components/refundamountdetails.ts
|
|
57434
|
+
var RefundAmountDetails$inboundSchema, RefundAmountDetails$outboundSchema;
|
|
57435
|
+
var init_refundamountdetails = __esm(() => {
|
|
57436
|
+
init_v3();
|
|
57437
|
+
init_primitives2();
|
|
57438
|
+
init_amountdecimal();
|
|
57439
|
+
RefundAmountDetails$inboundSchema = objectType({
|
|
57440
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
57441
|
+
});
|
|
57442
|
+
RefundAmountDetails$outboundSchema = objectType({
|
|
57443
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
57444
|
+
});
|
|
57445
|
+
});
|
|
57446
|
+
|
|
57295
57447
|
// src/models/components/asynccreatedrefund.ts
|
|
57296
57448
|
var AsyncCreatedRefund$inboundSchema, AsyncCreatedRefund$outboundSchema;
|
|
57297
57449
|
var init_asynccreatedrefund = __esm(() => {
|
|
57298
57450
|
init_v3();
|
|
57299
57451
|
init_primitives2();
|
|
57300
57452
|
init_amount();
|
|
57453
|
+
init_refundamountdetails();
|
|
57301
57454
|
AsyncCreatedRefund$inboundSchema = objectType({
|
|
57302
57455
|
refundID: string4(),
|
|
57303
57456
|
createdOn: date4(),
|
|
57304
|
-
amount: Amount$inboundSchema
|
|
57457
|
+
amount: Amount$inboundSchema,
|
|
57458
|
+
amountDetails: optional3(RefundAmountDetails$inboundSchema)
|
|
57305
57459
|
});
|
|
57306
57460
|
AsyncCreatedRefund$outboundSchema = objectType({
|
|
57307
57461
|
refundID: stringType(),
|
|
57308
57462
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
57309
|
-
amount: Amount$outboundSchema
|
|
57463
|
+
amount: Amount$outboundSchema,
|
|
57464
|
+
amountDetails: RefundAmountDetails$outboundSchema.optional()
|
|
57310
57465
|
});
|
|
57311
57466
|
});
|
|
57312
57467
|
|
|
@@ -57325,21 +57480,6 @@ var init_asynctransfer = __esm(() => {
|
|
|
57325
57480
|
});
|
|
57326
57481
|
});
|
|
57327
57482
|
|
|
57328
|
-
// src/models/components/authorizeduser.ts
|
|
57329
|
-
var AuthorizedUser$inboundSchema, AuthorizedUser$outboundSchema;
|
|
57330
|
-
var init_authorizeduser = __esm(() => {
|
|
57331
|
-
init_v3();
|
|
57332
|
-
init_primitives2();
|
|
57333
|
-
AuthorizedUser$inboundSchema = objectType({
|
|
57334
|
-
firstName: string4(),
|
|
57335
|
-
lastName: string4()
|
|
57336
|
-
});
|
|
57337
|
-
AuthorizedUser$outboundSchema = objectType({
|
|
57338
|
-
firstName: stringType(),
|
|
57339
|
-
lastName: stringType()
|
|
57340
|
-
});
|
|
57341
|
-
});
|
|
57342
|
-
|
|
57343
57483
|
// src/models/components/tokentype.ts
|
|
57344
57484
|
var TokenType, TokenType$inboundSchema, TokenType$outboundSchema;
|
|
57345
57485
|
var init_tokentype = __esm(() => {
|
|
@@ -61101,6 +61241,7 @@ var init_cardacquiringrefund = __esm(() => {
|
|
|
61101
61241
|
init_v3();
|
|
61102
61242
|
init_primitives2();
|
|
61103
61243
|
init_amount();
|
|
61244
|
+
init_refundamountdetails();
|
|
61104
61245
|
init_refundcarddetails();
|
|
61105
61246
|
init_refundstatus();
|
|
61106
61247
|
CardAcquiringRefund$inboundSchema = objectType({
|
|
@@ -61109,6 +61250,7 @@ var init_cardacquiringrefund = __esm(() => {
|
|
|
61109
61250
|
updatedOn: date4(),
|
|
61110
61251
|
status: RefundStatus$inboundSchema,
|
|
61111
61252
|
amount: Amount$inboundSchema,
|
|
61253
|
+
amountDetails: optional3(RefundAmountDetails$inboundSchema),
|
|
61112
61254
|
cardDetails: optional3(RefundCardDetails$inboundSchema)
|
|
61113
61255
|
});
|
|
61114
61256
|
CardAcquiringRefund$outboundSchema = objectType({
|
|
@@ -61117,6 +61259,7 @@ var init_cardacquiringrefund = __esm(() => {
|
|
|
61117
61259
|
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
61118
61260
|
status: RefundStatus$outboundSchema,
|
|
61119
61261
|
amount: Amount$outboundSchema,
|
|
61262
|
+
amountDetails: RefundAmountDetails$outboundSchema.optional(),
|
|
61120
61263
|
cardDetails: RefundCardDetails$outboundSchema.optional()
|
|
61121
61264
|
});
|
|
61122
61265
|
});
|
|
@@ -62232,60 +62375,6 @@ var init_createapplepaysession = __esm(() => {
|
|
|
62232
62375
|
});
|
|
62233
62376
|
});
|
|
62234
62377
|
|
|
62235
|
-
// src/models/components/createauthorizeduser.ts
|
|
62236
|
-
var CreateAuthorizedUser$inboundSchema, CreateAuthorizedUser$outboundSchema;
|
|
62237
|
-
var init_createauthorizeduser = __esm(() => {
|
|
62238
|
-
init_v3();
|
|
62239
|
-
init_primitives2();
|
|
62240
|
-
init_birthdate();
|
|
62241
|
-
CreateAuthorizedUser$inboundSchema = objectType({
|
|
62242
|
-
firstName: string4(),
|
|
62243
|
-
lastName: string4(),
|
|
62244
|
-
birthDate: optional3(BirthDate$inboundSchema)
|
|
62245
|
-
});
|
|
62246
|
-
CreateAuthorizedUser$outboundSchema = objectType({
|
|
62247
|
-
firstName: stringType(),
|
|
62248
|
-
lastName: stringType(),
|
|
62249
|
-
birthDate: BirthDate$outboundSchema.optional()
|
|
62250
|
-
});
|
|
62251
|
-
});
|
|
62252
|
-
|
|
62253
|
-
// src/models/components/createauthorizedusererror.ts
|
|
62254
|
-
var CreateAuthorizedUserError$inboundSchema, CreateAuthorizedUserError$outboundSchema;
|
|
62255
|
-
var init_createauthorizedusererror = __esm(() => {
|
|
62256
|
-
init_v3();
|
|
62257
|
-
init_primitives2();
|
|
62258
|
-
init_birthdateerror();
|
|
62259
|
-
CreateAuthorizedUserError$inboundSchema = objectType({
|
|
62260
|
-
firstName: optional3(string4()),
|
|
62261
|
-
lastName: optional3(string4()),
|
|
62262
|
-
birthDate: optional3(BirthDateError$inboundSchema)
|
|
62263
|
-
});
|
|
62264
|
-
CreateAuthorizedUserError$outboundSchema = objectType({
|
|
62265
|
-
firstName: stringType().optional(),
|
|
62266
|
-
lastName: stringType().optional(),
|
|
62267
|
-
birthDate: BirthDateError$outboundSchema.optional()
|
|
62268
|
-
});
|
|
62269
|
-
});
|
|
62270
|
-
|
|
62271
|
-
// src/models/components/createauthorizeduserupdate.ts
|
|
62272
|
-
var CreateAuthorizedUserUpdate$inboundSchema, CreateAuthorizedUserUpdate$outboundSchema;
|
|
62273
|
-
var init_createauthorizeduserupdate = __esm(() => {
|
|
62274
|
-
init_v3();
|
|
62275
|
-
init_primitives2();
|
|
62276
|
-
init_birthdateupdate();
|
|
62277
|
-
CreateAuthorizedUserUpdate$inboundSchema = objectType({
|
|
62278
|
-
firstName: optional3(string4()),
|
|
62279
|
-
lastName: optional3(string4()),
|
|
62280
|
-
birthDate: optional3(BirthDateUpdate$inboundSchema)
|
|
62281
|
-
});
|
|
62282
|
-
CreateAuthorizedUserUpdate$outboundSchema = objectType({
|
|
62283
|
-
firstName: stringType().optional(),
|
|
62284
|
-
lastName: stringType().optional(),
|
|
62285
|
-
birthDate: BirthDateUpdate$outboundSchema.optional()
|
|
62286
|
-
});
|
|
62287
|
-
});
|
|
62288
|
-
|
|
62289
62378
|
// src/models/components/phonenumbererror.ts
|
|
62290
62379
|
var PhoneNumberError$inboundSchema, PhoneNumberError$outboundSchema;
|
|
62291
62380
|
var init_phonenumbererror = __esm(() => {
|
|
@@ -62406,11 +62495,13 @@ var init_transferamountdetails = __esm(() => {
|
|
|
62406
62495
|
init_amountdecimal();
|
|
62407
62496
|
TransferAmountDetails$inboundSchema = objectType({
|
|
62408
62497
|
tip: optional3(AmountDecimal$inboundSchema),
|
|
62409
|
-
tax: optional3(AmountDecimal$inboundSchema)
|
|
62498
|
+
tax: optional3(AmountDecimal$inboundSchema),
|
|
62499
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
62410
62500
|
});
|
|
62411
62501
|
TransferAmountDetails$outboundSchema = objectType({
|
|
62412
62502
|
tip: AmountDecimal$outboundSchema.optional(),
|
|
62413
|
-
tax: AmountDecimal$outboundSchema.optional()
|
|
62503
|
+
tax: AmountDecimal$outboundSchema.optional(),
|
|
62504
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
62414
62505
|
});
|
|
62415
62506
|
});
|
|
62416
62507
|
|
|
@@ -63123,7 +63214,7 @@ var CreateInvoice$inboundSchema, CreateInvoice$outboundSchema;
|
|
|
63123
63214
|
var init_createinvoice = __esm(() => {
|
|
63124
63215
|
init_v3();
|
|
63125
63216
|
init_primitives2();
|
|
63126
|
-
|
|
63217
|
+
init_amountdetails();
|
|
63127
63218
|
init_createinvoicelineitems();
|
|
63128
63219
|
CreateInvoice$inboundSchema = objectType({
|
|
63129
63220
|
customerAccountID: string4(),
|
|
@@ -63131,7 +63222,7 @@ var init_createinvoice = __esm(() => {
|
|
|
63131
63222
|
lineItems: CreateInvoiceLineItems$inboundSchema,
|
|
63132
63223
|
invoiceDate: optional3(date4()),
|
|
63133
63224
|
dueDate: optional3(date4()),
|
|
63134
|
-
|
|
63225
|
+
amountDetails: optional3(AmountDetails$inboundSchema)
|
|
63135
63226
|
});
|
|
63136
63227
|
CreateInvoice$outboundSchema = objectType({
|
|
63137
63228
|
customerAccountID: stringType(),
|
|
@@ -63139,7 +63230,7 @@ var init_createinvoice = __esm(() => {
|
|
|
63139
63230
|
lineItems: CreateInvoiceLineItems$outboundSchema,
|
|
63140
63231
|
invoiceDate: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
63141
63232
|
dueDate: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
63142
|
-
|
|
63233
|
+
amountDetails: AmountDetails$outboundSchema.optional()
|
|
63143
63234
|
});
|
|
63144
63235
|
});
|
|
63145
63236
|
|
|
@@ -63241,10 +63332,12 @@ var init_createpaymentlinkamountdetails = __esm(() => {
|
|
|
63241
63332
|
init_primitives2();
|
|
63242
63333
|
init_amountdecimal();
|
|
63243
63334
|
CreatePaymentLinkAmountDetails$inboundSchema = objectType({
|
|
63244
|
-
tax: optional3(AmountDecimal$inboundSchema)
|
|
63335
|
+
tax: optional3(AmountDecimal$inboundSchema),
|
|
63336
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
63245
63337
|
});
|
|
63246
63338
|
CreatePaymentLinkAmountDetails$outboundSchema = objectType({
|
|
63247
|
-
tax: AmountDecimal$outboundSchema.optional()
|
|
63339
|
+
tax: AmountDecimal$outboundSchema.optional(),
|
|
63340
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
63248
63341
|
});
|
|
63249
63342
|
});
|
|
63250
63343
|
|
|
@@ -63308,6 +63401,34 @@ var init_createpaymentlinklineitems = __esm(() => {
|
|
|
63308
63401
|
});
|
|
63309
63402
|
});
|
|
63310
63403
|
|
|
63404
|
+
// src/models/components/paymentlinkcustomamountpaymentdetails.ts
|
|
63405
|
+
var PaymentLinkCustomAmountPaymentDetails$inboundSchema, PaymentLinkCustomAmountPaymentDetails$outboundSchema;
|
|
63406
|
+
var init_paymentlinkcustomamountpaymentdetails = __esm(() => {
|
|
63407
|
+
init_v3();
|
|
63408
|
+
init_primitives2();
|
|
63409
|
+
init_achpaymentdetails();
|
|
63410
|
+
init_amountdecimal();
|
|
63411
|
+
init_amountdecimalrange();
|
|
63412
|
+
init_cardpaymentdetails();
|
|
63413
|
+
init_collectionpaymentmethodtype();
|
|
63414
|
+
PaymentLinkCustomAmountPaymentDetails$inboundSchema = objectType({
|
|
63415
|
+
allowedMethods: arrayType(CollectionPaymentMethodType$inboundSchema),
|
|
63416
|
+
cardDetails: optional3(CardPaymentDetails$inboundSchema),
|
|
63417
|
+
achDetails: optional3(ACHPaymentDetails$inboundSchema),
|
|
63418
|
+
metadata: optional3(recordType(string4())),
|
|
63419
|
+
amountRange: optional3(AmountDecimalRange$inboundSchema),
|
|
63420
|
+
suggestedAmounts: optional3(arrayType(AmountDecimal$inboundSchema))
|
|
63421
|
+
});
|
|
63422
|
+
PaymentLinkCustomAmountPaymentDetails$outboundSchema = objectType({
|
|
63423
|
+
allowedMethods: arrayType(CollectionPaymentMethodType$outboundSchema),
|
|
63424
|
+
cardDetails: CardPaymentDetails$outboundSchema.optional(),
|
|
63425
|
+
achDetails: ACHPaymentDetails$outboundSchema.optional(),
|
|
63426
|
+
metadata: recordType(stringType()).optional(),
|
|
63427
|
+
amountRange: AmountDecimalRange$outboundSchema.optional(),
|
|
63428
|
+
suggestedAmounts: arrayType(AmountDecimal$outboundSchema).optional()
|
|
63429
|
+
});
|
|
63430
|
+
});
|
|
63431
|
+
|
|
63311
63432
|
// src/models/components/paymentlinkcustomeroptions.ts
|
|
63312
63433
|
var PaymentLinkCustomerOptions$inboundSchema, PaymentLinkCustomerOptions$outboundSchema;
|
|
63313
63434
|
var init_paymentlinkcustomeroptions = __esm(() => {
|
|
@@ -63346,36 +63467,21 @@ var init_paymentlinkdisplayoptions = __esm(() => {
|
|
|
63346
63467
|
});
|
|
63347
63468
|
|
|
63348
63469
|
// src/models/components/paymentlinkpaymentdetails.ts
|
|
63349
|
-
var
|
|
63470
|
+
var PaymentLinkPaymentDetails$inboundSchema, PaymentLinkPaymentDetails$outboundSchema;
|
|
63350
63471
|
var init_paymentlinkpaymentdetails = __esm(() => {
|
|
63351
63472
|
init_v3();
|
|
63352
|
-
init_enums();
|
|
63353
63473
|
init_primitives2();
|
|
63354
63474
|
init_achpaymentdetails();
|
|
63355
|
-
init_amountdecimal();
|
|
63356
|
-
init_amountdecimalrange();
|
|
63357
63475
|
init_cardpaymentdetails();
|
|
63358
63476
|
init_collectionpaymentmethodtype();
|
|
63359
|
-
AmountType = {
|
|
63360
|
-
Fixed: "fixed",
|
|
63361
|
-
Open: "open"
|
|
63362
|
-
};
|
|
63363
|
-
AmountType$inboundSchema = inboundSchema(AmountType);
|
|
63364
|
-
AmountType$outboundSchema = outboundSchema(AmountType);
|
|
63365
63477
|
PaymentLinkPaymentDetails$inboundSchema = objectType({
|
|
63366
63478
|
allowedMethods: arrayType(CollectionPaymentMethodType$inboundSchema),
|
|
63367
|
-
amountType: AmountType$inboundSchema.default("fixed"),
|
|
63368
|
-
amountRange: optional3(AmountDecimalRange$inboundSchema),
|
|
63369
|
-
suggestedAmounts: optional3(arrayType(AmountDecimal$inboundSchema)),
|
|
63370
63479
|
cardDetails: optional3(CardPaymentDetails$inboundSchema),
|
|
63371
63480
|
achDetails: optional3(ACHPaymentDetails$inboundSchema),
|
|
63372
63481
|
metadata: optional3(recordType(string4()))
|
|
63373
63482
|
});
|
|
63374
63483
|
PaymentLinkPaymentDetails$outboundSchema = objectType({
|
|
63375
63484
|
allowedMethods: arrayType(CollectionPaymentMethodType$outboundSchema),
|
|
63376
|
-
amountType: AmountType$outboundSchema.default("fixed"),
|
|
63377
|
-
amountRange: AmountDecimalRange$outboundSchema.optional(),
|
|
63378
|
-
suggestedAmounts: arrayType(AmountDecimal$outboundSchema).optional(),
|
|
63379
63485
|
cardDetails: CardPaymentDetails$outboundSchema.optional(),
|
|
63380
63486
|
achDetails: ACHPaymentDetails$outboundSchema.optional(),
|
|
63381
63487
|
metadata: recordType(stringType()).optional()
|
|
@@ -63441,6 +63547,7 @@ var init_createpaymentlink = __esm(() => {
|
|
|
63441
63547
|
init_amount();
|
|
63442
63548
|
init_createpaymentlinkamountdetails();
|
|
63443
63549
|
init_createpaymentlinklineitems();
|
|
63550
|
+
init_paymentlinkcustomamountpaymentdetails();
|
|
63444
63551
|
init_paymentlinkcustomeroptions();
|
|
63445
63552
|
init_paymentlinkdisplayoptions();
|
|
63446
63553
|
init_paymentlinkpaymentdetails();
|
|
@@ -63455,6 +63562,7 @@ var init_createpaymentlink = __esm(() => {
|
|
|
63455
63562
|
customer: optional3(PaymentLinkCustomerOptions$inboundSchema),
|
|
63456
63563
|
payment: optional3(PaymentLinkPaymentDetails$inboundSchema),
|
|
63457
63564
|
payout: optional3(PaymentLinkPayoutDetails$inboundSchema),
|
|
63565
|
+
customAmountPayment: optional3(PaymentLinkCustomAmountPaymentDetails$inboundSchema),
|
|
63458
63566
|
lineItems: optional3(CreatePaymentLinkLineItems$inboundSchema),
|
|
63459
63567
|
amountDetails: optional3(CreatePaymentLinkAmountDetails$inboundSchema)
|
|
63460
63568
|
});
|
|
@@ -63468,6 +63576,7 @@ var init_createpaymentlink = __esm(() => {
|
|
|
63468
63576
|
customer: PaymentLinkCustomerOptions$outboundSchema.optional(),
|
|
63469
63577
|
payment: PaymentLinkPaymentDetails$outboundSchema.optional(),
|
|
63470
63578
|
payout: PaymentLinkPayoutDetails$outboundSchema.optional(),
|
|
63579
|
+
customAmountPayment: PaymentLinkCustomAmountPaymentDetails$outboundSchema.optional(),
|
|
63471
63580
|
lineItems: CreatePaymentLinkLineItems$outboundSchema.optional(),
|
|
63472
63581
|
amountDetails: CreatePaymentLinkAmountDetails$outboundSchema.optional()
|
|
63473
63582
|
});
|
|
@@ -63479,10 +63588,12 @@ var init_createpaymentlinkamountdetailsvalidationerror = __esm(() => {
|
|
|
63479
63588
|
init_v3();
|
|
63480
63589
|
init_primitives2();
|
|
63481
63590
|
CreatePaymentLinkAmountDetailsValidationError$inboundSchema = objectType({
|
|
63482
|
-
tax: optional3(string4())
|
|
63591
|
+
tax: optional3(string4()),
|
|
63592
|
+
surcharge: optional3(string4())
|
|
63483
63593
|
});
|
|
63484
63594
|
CreatePaymentLinkAmountDetailsValidationError$outboundSchema = objectType({
|
|
63485
|
-
tax: stringType().optional()
|
|
63595
|
+
tax: stringType().optional(),
|
|
63596
|
+
surcharge: stringType().optional()
|
|
63486
63597
|
});
|
|
63487
63598
|
});
|
|
63488
63599
|
|
|
@@ -63622,11 +63733,14 @@ var CreateRefund$inboundSchema, CreateRefund$outboundSchema;
|
|
|
63622
63733
|
var init_createrefund = __esm(() => {
|
|
63623
63734
|
init_v3();
|
|
63624
63735
|
init_primitives2();
|
|
63736
|
+
init_refundamountdetails();
|
|
63625
63737
|
CreateRefund$inboundSchema = objectType({
|
|
63626
|
-
amount: optional3(number4())
|
|
63738
|
+
amount: optional3(number4()),
|
|
63739
|
+
amountDetails: optional3(RefundAmountDetails$inboundSchema)
|
|
63627
63740
|
});
|
|
63628
63741
|
CreateRefund$outboundSchema = objectType({
|
|
63629
|
-
amount: numberType().int().optional()
|
|
63742
|
+
amount: numberType().int().optional(),
|
|
63743
|
+
amountDetails: RefundAmountDetails$outboundSchema.optional()
|
|
63630
63744
|
});
|
|
63631
63745
|
});
|
|
63632
63746
|
|
|
@@ -63875,16 +63989,33 @@ var init_createresolutionlink = __esm(() => {
|
|
|
63875
63989
|
});
|
|
63876
63990
|
});
|
|
63877
63991
|
|
|
63992
|
+
// src/models/components/reversalamountdetails.ts
|
|
63993
|
+
var ReversalAmountDetails$inboundSchema, ReversalAmountDetails$outboundSchema;
|
|
63994
|
+
var init_reversalamountdetails = __esm(() => {
|
|
63995
|
+
init_v3();
|
|
63996
|
+
init_primitives2();
|
|
63997
|
+
init_amountdecimal();
|
|
63998
|
+
ReversalAmountDetails$inboundSchema = objectType({
|
|
63999
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
64000
|
+
});
|
|
64001
|
+
ReversalAmountDetails$outboundSchema = objectType({
|
|
64002
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
64003
|
+
});
|
|
64004
|
+
});
|
|
64005
|
+
|
|
63878
64006
|
// src/models/components/createreversal.ts
|
|
63879
64007
|
var CreateReversal$inboundSchema, CreateReversal$outboundSchema;
|
|
63880
64008
|
var init_createreversal = __esm(() => {
|
|
63881
64009
|
init_v3();
|
|
63882
64010
|
init_primitives2();
|
|
64011
|
+
init_reversalamountdetails();
|
|
63883
64012
|
CreateReversal$inboundSchema = objectType({
|
|
63884
|
-
amount: number4()
|
|
64013
|
+
amount: number4(),
|
|
64014
|
+
amountDetails: optional3(ReversalAmountDetails$inboundSchema)
|
|
63885
64015
|
});
|
|
63886
64016
|
CreateReversal$outboundSchema = objectType({
|
|
63887
|
-
amount: numberType().int()
|
|
64017
|
+
amount: numberType().int(),
|
|
64018
|
+
amountDetails: ReversalAmountDetails$outboundSchema.optional()
|
|
63888
64019
|
});
|
|
63889
64020
|
});
|
|
63890
64021
|
|
|
@@ -64169,11 +64300,13 @@ var init_createtransferamountdetails = __esm(() => {
|
|
|
64169
64300
|
init_amountdecimal();
|
|
64170
64301
|
CreateTransferAmountDetails$inboundSchema = objectType({
|
|
64171
64302
|
tip: optional3(AmountDecimal$inboundSchema),
|
|
64172
|
-
tax: optional3(AmountDecimal$inboundSchema)
|
|
64303
|
+
tax: optional3(AmountDecimal$inboundSchema),
|
|
64304
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
64173
64305
|
});
|
|
64174
64306
|
CreateTransferAmountDetails$outboundSchema = objectType({
|
|
64175
64307
|
tip: AmountDecimal$outboundSchema.optional(),
|
|
64176
|
-
tax: AmountDecimal$outboundSchema.optional()
|
|
64308
|
+
tax: AmountDecimal$outboundSchema.optional(),
|
|
64309
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
64177
64310
|
});
|
|
64178
64311
|
});
|
|
64179
64312
|
|
|
@@ -64408,11 +64541,13 @@ var init_createtransferamountdetailsvalidationerror = __esm(() => {
|
|
|
64408
64541
|
init_primitives2();
|
|
64409
64542
|
CreateTransferAmountDetailsValidationError$inboundSchema = objectType({
|
|
64410
64543
|
tip: optional3(string4()),
|
|
64411
|
-
tax: optional3(string4())
|
|
64544
|
+
tax: optional3(string4()),
|
|
64545
|
+
surcharge: optional3(string4())
|
|
64412
64546
|
});
|
|
64413
64547
|
CreateTransferAmountDetailsValidationError$outboundSchema = objectType({
|
|
64414
64548
|
tip: stringType().optional(),
|
|
64415
|
-
tax: stringType().optional()
|
|
64549
|
+
tax: stringType().optional(),
|
|
64550
|
+
surcharge: stringType().optional()
|
|
64416
64551
|
});
|
|
64417
64552
|
});
|
|
64418
64553
|
|
|
@@ -64583,7 +64718,8 @@ var init_webhookeventtype = __esm(() => {
|
|
|
64583
64718
|
WalletCreated: "wallet.created",
|
|
64584
64719
|
WalletUpdated: "wallet.updated",
|
|
64585
64720
|
WalletTransactionUpdated: "walletTransaction.updated",
|
|
64586
|
-
BillingStatementCreated: "billingStatement.created"
|
|
64721
|
+
BillingStatementCreated: "billingStatement.created",
|
|
64722
|
+
AuthorizationExpiring: "authorization.expiring"
|
|
64587
64723
|
};
|
|
64588
64724
|
WebhookEventType$inboundSchema = inboundSchema(WebhookEventType);
|
|
64589
64725
|
WebhookEventType$outboundSchema = outboundSchema(WebhookEventType);
|
|
@@ -64622,6 +64758,31 @@ var init_createwebhook = __esm(() => {
|
|
|
64622
64758
|
});
|
|
64623
64759
|
});
|
|
64624
64760
|
|
|
64761
|
+
// src/models/components/customamountpaymentdetailserror.ts
|
|
64762
|
+
var CustomAmountPaymentDetailsError$inboundSchema, CustomAmountPaymentDetailsError$outboundSchema;
|
|
64763
|
+
var init_customamountpaymentdetailserror = __esm(() => {
|
|
64764
|
+
init_v3();
|
|
64765
|
+
init_primitives2();
|
|
64766
|
+
init_achpaymentdetailserror();
|
|
64767
|
+
init_cardpaymentdetailserror();
|
|
64768
|
+
CustomAmountPaymentDetailsError$inboundSchema = objectType({
|
|
64769
|
+
allowedMethods: optional3(string4()),
|
|
64770
|
+
cardDetails: optional3(CardPaymentDetailsError$inboundSchema),
|
|
64771
|
+
achDetails: optional3(ACHPaymentDetailsError$inboundSchema),
|
|
64772
|
+
metadata: optional3(string4()),
|
|
64773
|
+
amountRange: optional3(string4()),
|
|
64774
|
+
suggestedAmounts: optional3(string4())
|
|
64775
|
+
});
|
|
64776
|
+
CustomAmountPaymentDetailsError$outboundSchema = objectType({
|
|
64777
|
+
allowedMethods: stringType().optional(),
|
|
64778
|
+
cardDetails: CardPaymentDetailsError$outboundSchema.optional(),
|
|
64779
|
+
achDetails: ACHPaymentDetailsError$outboundSchema.optional(),
|
|
64780
|
+
metadata: stringType().optional(),
|
|
64781
|
+
amountRange: stringType().optional(),
|
|
64782
|
+
suggestedAmounts: stringType().optional()
|
|
64783
|
+
});
|
|
64784
|
+
});
|
|
64785
|
+
|
|
64625
64786
|
// src/models/components/customersupporterror.ts
|
|
64626
64787
|
var CustomerSupportError$inboundSchema, CustomerSupportError$outboundSchema;
|
|
64627
64788
|
var init_customersupporterror = __esm(() => {
|
|
@@ -65372,7 +65533,7 @@ var FullIssuedCard$inboundSchema, FullIssuedCard$outboundSchema;
|
|
|
65372
65533
|
var init_fullissuedcard = __esm(() => {
|
|
65373
65534
|
init_v3();
|
|
65374
65535
|
init_primitives2();
|
|
65375
|
-
|
|
65536
|
+
init_address();
|
|
65376
65537
|
init_cardbrand();
|
|
65377
65538
|
init_cardexpiration();
|
|
65378
65539
|
init_issuedcardformfactor();
|
|
@@ -65383,13 +65544,16 @@ var init_fullissuedcard = __esm(() => {
|
|
|
65383
65544
|
brand: CardBrand$inboundSchema,
|
|
65384
65545
|
lastFourCardNumber: string4(),
|
|
65385
65546
|
expiration: CardExpiration$inboundSchema,
|
|
65386
|
-
authorizedUser: AuthorizedUser$inboundSchema,
|
|
65387
|
-
memo: optional3(string4()),
|
|
65388
65547
|
fundingWalletID: string4(),
|
|
65548
|
+
authorizedUserAccountID: optional3(string4()),
|
|
65549
|
+
nickname: optional3(string4()),
|
|
65550
|
+
metadata: optional3(recordType(string4())),
|
|
65551
|
+
billingAddress: optional3(Address$inboundSchema),
|
|
65389
65552
|
state: IssuedCardState$inboundSchema,
|
|
65390
65553
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
65391
65554
|
controls: optional3(IssuingControls$inboundSchema),
|
|
65392
65555
|
createdOn: date4(),
|
|
65556
|
+
updatedOn: date4(),
|
|
65393
65557
|
pan: string4(),
|
|
65394
65558
|
cvv: string4()
|
|
65395
65559
|
});
|
|
@@ -65398,13 +65562,16 @@ var init_fullissuedcard = __esm(() => {
|
|
|
65398
65562
|
brand: CardBrand$outboundSchema,
|
|
65399
65563
|
lastFourCardNumber: stringType(),
|
|
65400
65564
|
expiration: CardExpiration$outboundSchema,
|
|
65401
|
-
authorizedUser: AuthorizedUser$outboundSchema,
|
|
65402
|
-
memo: stringType().optional(),
|
|
65403
65565
|
fundingWalletID: stringType(),
|
|
65566
|
+
authorizedUserAccountID: stringType().optional(),
|
|
65567
|
+
nickname: stringType().optional(),
|
|
65568
|
+
metadata: recordType(stringType()).optional(),
|
|
65569
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
65404
65570
|
state: IssuedCardState$outboundSchema,
|
|
65405
65571
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
65406
65572
|
controls: IssuingControls$outboundSchema.optional(),
|
|
65407
65573
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
65574
|
+
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
65408
65575
|
pan: stringType(),
|
|
65409
65576
|
cvv: stringType()
|
|
65410
65577
|
});
|
|
@@ -66113,6 +66280,7 @@ var init_invoice = __esm(() => {
|
|
|
66113
66280
|
init_v3();
|
|
66114
66281
|
init_primitives2();
|
|
66115
66282
|
init_amountdecimal();
|
|
66283
|
+
init_amountdetails();
|
|
66116
66284
|
init_invoicelineitems();
|
|
66117
66285
|
init_invoicepayment();
|
|
66118
66286
|
init_invoicestatus();
|
|
@@ -66127,7 +66295,7 @@ var init_invoice = __esm(() => {
|
|
|
66127
66295
|
status: InvoiceStatus$inboundSchema,
|
|
66128
66296
|
lineItems: InvoiceLineItems$inboundSchema,
|
|
66129
66297
|
subtotalAmount: AmountDecimal$inboundSchema,
|
|
66130
|
-
|
|
66298
|
+
amountDetails: optional3(AmountDetails$inboundSchema),
|
|
66131
66299
|
totalAmount: AmountDecimal$inboundSchema,
|
|
66132
66300
|
pendingAmount: AmountDecimal$inboundSchema,
|
|
66133
66301
|
paidAmount: AmountDecimal$inboundSchema,
|
|
@@ -66154,7 +66322,7 @@ var init_invoice = __esm(() => {
|
|
|
66154
66322
|
status: InvoiceStatus$outboundSchema,
|
|
66155
66323
|
lineItems: InvoiceLineItems$outboundSchema,
|
|
66156
66324
|
subtotalAmount: AmountDecimal$outboundSchema,
|
|
66157
|
-
|
|
66325
|
+
amountDetails: AmountDetails$outboundSchema.optional(),
|
|
66158
66326
|
totalAmount: AmountDecimal$outboundSchema,
|
|
66159
66327
|
pendingAmount: AmountDecimal$outboundSchema,
|
|
66160
66328
|
paidAmount: AmountDecimal$outboundSchema,
|
|
@@ -66234,7 +66402,7 @@ var IssuedCard$inboundSchema, IssuedCard$outboundSchema;
|
|
|
66234
66402
|
var init_issuedcard = __esm(() => {
|
|
66235
66403
|
init_v3();
|
|
66236
66404
|
init_primitives2();
|
|
66237
|
-
|
|
66405
|
+
init_address();
|
|
66238
66406
|
init_cardbrand();
|
|
66239
66407
|
init_cardexpiration();
|
|
66240
66408
|
init_issuedcardformfactor();
|
|
@@ -66245,26 +66413,32 @@ var init_issuedcard = __esm(() => {
|
|
|
66245
66413
|
brand: CardBrand$inboundSchema,
|
|
66246
66414
|
lastFourCardNumber: string4(),
|
|
66247
66415
|
expiration: CardExpiration$inboundSchema,
|
|
66248
|
-
authorizedUser: AuthorizedUser$inboundSchema,
|
|
66249
|
-
memo: optional3(string4()),
|
|
66250
66416
|
fundingWalletID: string4(),
|
|
66417
|
+
authorizedUserAccountID: optional3(string4()),
|
|
66418
|
+
nickname: optional3(string4()),
|
|
66419
|
+
metadata: optional3(recordType(string4())),
|
|
66420
|
+
billingAddress: optional3(Address$inboundSchema),
|
|
66251
66421
|
state: IssuedCardState$inboundSchema,
|
|
66252
66422
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
66253
66423
|
controls: optional3(IssuingControls$inboundSchema),
|
|
66254
|
-
createdOn: date4()
|
|
66424
|
+
createdOn: date4(),
|
|
66425
|
+
updatedOn: date4()
|
|
66255
66426
|
});
|
|
66256
66427
|
IssuedCard$outboundSchema = objectType({
|
|
66257
66428
|
issuedCardID: stringType(),
|
|
66258
66429
|
brand: CardBrand$outboundSchema,
|
|
66259
66430
|
lastFourCardNumber: stringType(),
|
|
66260
66431
|
expiration: CardExpiration$outboundSchema,
|
|
66261
|
-
authorizedUser: AuthorizedUser$outboundSchema,
|
|
66262
|
-
memo: stringType().optional(),
|
|
66263
66432
|
fundingWalletID: stringType(),
|
|
66433
|
+
authorizedUserAccountID: stringType().optional(),
|
|
66434
|
+
nickname: stringType().optional(),
|
|
66435
|
+
metadata: recordType(stringType()).optional(),
|
|
66436
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
66264
66437
|
state: IssuedCardState$outboundSchema,
|
|
66265
66438
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
66266
66439
|
controls: IssuingControls$outboundSchema.optional(),
|
|
66267
|
-
createdOn: dateType().transform((v2) => v2.toISOString())
|
|
66440
|
+
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
66441
|
+
updatedOn: dateType().transform((v2) => v2.toISOString())
|
|
66268
66442
|
});
|
|
66269
66443
|
});
|
|
66270
66444
|
|
|
@@ -67620,10 +67794,12 @@ var init_paymentlinkamountdetails = __esm(() => {
|
|
|
67620
67794
|
init_primitives2();
|
|
67621
67795
|
init_amountdecimal();
|
|
67622
67796
|
PaymentLinkAmountDetails$inboundSchema = objectType({
|
|
67623
|
-
tax: optional3(AmountDecimal$inboundSchema)
|
|
67797
|
+
tax: optional3(AmountDecimal$inboundSchema),
|
|
67798
|
+
surcharge: optional3(AmountDecimal$inboundSchema)
|
|
67624
67799
|
});
|
|
67625
67800
|
PaymentLinkAmountDetails$outboundSchema = objectType({
|
|
67626
|
-
tax: AmountDecimal$outboundSchema.optional()
|
|
67801
|
+
tax: AmountDecimal$outboundSchema.optional(),
|
|
67802
|
+
surcharge: AmountDecimal$outboundSchema.optional()
|
|
67627
67803
|
});
|
|
67628
67804
|
});
|
|
67629
67805
|
|
|
@@ -67729,7 +67905,8 @@ var init_paymentlinktype = __esm(() => {
|
|
|
67729
67905
|
PaymentLinkType = {
|
|
67730
67906
|
Payment: "payment",
|
|
67731
67907
|
Payout: "payout",
|
|
67732
|
-
InvoicePayment: "invoice-payment"
|
|
67908
|
+
InvoicePayment: "invoice-payment",
|
|
67909
|
+
CustomAmountPayment: "custom-amount-payment"
|
|
67733
67910
|
};
|
|
67734
67911
|
PaymentLinkType$inboundSchema = inboundSchema(PaymentLinkType);
|
|
67735
67912
|
PaymentLinkType$outboundSchema = outboundSchema(PaymentLinkType);
|
|
@@ -67743,6 +67920,7 @@ var init_paymentlink = __esm(() => {
|
|
|
67743
67920
|
init_amount();
|
|
67744
67921
|
init_mode();
|
|
67745
67922
|
init_paymentlinkamountdetails();
|
|
67923
|
+
init_paymentlinkcustomamountpaymentdetails();
|
|
67746
67924
|
init_paymentlinkcustomeroptions();
|
|
67747
67925
|
init_paymentlinkdisplayoptions();
|
|
67748
67926
|
init_paymentlinklineitems();
|
|
@@ -67769,6 +67947,7 @@ var init_paymentlink = __esm(() => {
|
|
|
67769
67947
|
customer: PaymentLinkCustomerOptions$inboundSchema,
|
|
67770
67948
|
payment: optional3(PaymentLinkPaymentDetails$inboundSchema),
|
|
67771
67949
|
payout: optional3(PaymentLinkPayoutDetails$inboundSchema),
|
|
67950
|
+
customAmountPayment: optional3(PaymentLinkCustomAmountPaymentDetails$inboundSchema),
|
|
67772
67951
|
lineItems: optional3(PaymentLinkLineItems$inboundSchema),
|
|
67773
67952
|
createdOn: date4(),
|
|
67774
67953
|
updatedOn: date4(),
|
|
@@ -67794,6 +67973,7 @@ var init_paymentlink = __esm(() => {
|
|
|
67794
67973
|
customer: PaymentLinkCustomerOptions$outboundSchema,
|
|
67795
67974
|
payment: PaymentLinkPaymentDetails$outboundSchema.optional(),
|
|
67796
67975
|
payout: PaymentLinkPayoutDetails$outboundSchema.optional(),
|
|
67976
|
+
customAmountPayment: PaymentLinkCustomAmountPaymentDetails$outboundSchema.optional(),
|
|
67797
67977
|
lineItems: PaymentLinkLineItems$outboundSchema.optional(),
|
|
67798
67978
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
67799
67979
|
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
@@ -67802,6 +67982,34 @@ var init_paymentlink = __esm(() => {
|
|
|
67802
67982
|
});
|
|
67803
67983
|
});
|
|
67804
67984
|
|
|
67985
|
+
// src/models/components/paymentlinkcustomamountpaymentdetailsupdate.ts
|
|
67986
|
+
var PaymentLinkCustomAmountPaymentDetailsUpdate$inboundSchema, PaymentLinkCustomAmountPaymentDetailsUpdate$outboundSchema;
|
|
67987
|
+
var init_paymentlinkcustomamountpaymentdetailsupdate = __esm(() => {
|
|
67988
|
+
init_v3();
|
|
67989
|
+
init_primitives2();
|
|
67990
|
+
init_achpaymentdetails();
|
|
67991
|
+
init_amountdecimal();
|
|
67992
|
+
init_amountdecimalrangeupdate();
|
|
67993
|
+
init_cardpaymentdetails();
|
|
67994
|
+
init_collectionpaymentmethodtype();
|
|
67995
|
+
PaymentLinkCustomAmountPaymentDetailsUpdate$inboundSchema = objectType({
|
|
67996
|
+
allowedMethods: optional3(arrayType(CollectionPaymentMethodType$inboundSchema)),
|
|
67997
|
+
cardDetails: optional3(CardPaymentDetails$inboundSchema),
|
|
67998
|
+
achDetails: optional3(ACHPaymentDetails$inboundSchema),
|
|
67999
|
+
metadata: optional3(recordType(string4())),
|
|
68000
|
+
amountRange: optional3(AmountDecimalRangeUpdate$inboundSchema),
|
|
68001
|
+
suggestedAmounts: optional3(arrayType(AmountDecimal$inboundSchema))
|
|
68002
|
+
});
|
|
68003
|
+
PaymentLinkCustomAmountPaymentDetailsUpdate$outboundSchema = objectType({
|
|
68004
|
+
allowedMethods: arrayType(CollectionPaymentMethodType$outboundSchema).optional(),
|
|
68005
|
+
cardDetails: CardPaymentDetails$outboundSchema.optional(),
|
|
68006
|
+
achDetails: ACHPaymentDetails$outboundSchema.optional(),
|
|
68007
|
+
metadata: recordType(stringType()).optional(),
|
|
68008
|
+
amountRange: AmountDecimalRangeUpdate$outboundSchema.optional(),
|
|
68009
|
+
suggestedAmounts: arrayType(AmountDecimal$outboundSchema).optional()
|
|
68010
|
+
});
|
|
68011
|
+
});
|
|
68012
|
+
|
|
67805
68013
|
// src/models/components/paymentlinkdisplayoptionsupdate.ts
|
|
67806
68014
|
var PaymentLinkDisplayOptionsUpdate$inboundSchema, PaymentLinkDisplayOptionsUpdate$outboundSchema;
|
|
67807
68015
|
var init_paymentlinkdisplayoptionsupdate = __esm(() => {
|
|
@@ -67821,35 +68029,21 @@ var init_paymentlinkdisplayoptionsupdate = __esm(() => {
|
|
|
67821
68029
|
});
|
|
67822
68030
|
|
|
67823
68031
|
// src/models/components/paymentlinkpaymentdetailsupdate.ts
|
|
67824
|
-
var
|
|
68032
|
+
var PaymentLinkPaymentDetailsUpdate$inboundSchema, PaymentLinkPaymentDetailsUpdate$outboundSchema;
|
|
67825
68033
|
var init_paymentlinkpaymentdetailsupdate = __esm(() => {
|
|
67826
68034
|
init_v3();
|
|
67827
68035
|
init_primitives2();
|
|
67828
68036
|
init_achpaymentdetails();
|
|
67829
|
-
init_amountdecimal();
|
|
67830
|
-
init_amountdecimalrangeupdate();
|
|
67831
68037
|
init_cardpaymentdetails();
|
|
67832
68038
|
init_collectionpaymentmethodtype();
|
|
67833
|
-
PaymentLinkPaymentDetailsUpdateAmountType = {
|
|
67834
|
-
Fixed: "fixed",
|
|
67835
|
-
Open: "open"
|
|
67836
|
-
};
|
|
67837
|
-
PaymentLinkPaymentDetailsUpdateAmountType$inboundSchema = nativeEnumType(PaymentLinkPaymentDetailsUpdateAmountType);
|
|
67838
|
-
PaymentLinkPaymentDetailsUpdateAmountType$outboundSchema = PaymentLinkPaymentDetailsUpdateAmountType$inboundSchema;
|
|
67839
68039
|
PaymentLinkPaymentDetailsUpdate$inboundSchema = objectType({
|
|
67840
68040
|
allowedMethods: optional3(arrayType(CollectionPaymentMethodType$inboundSchema)),
|
|
67841
|
-
amountType: PaymentLinkPaymentDetailsUpdateAmountType$inboundSchema.default("fixed"),
|
|
67842
|
-
amountRange: optional3(AmountDecimalRangeUpdate$inboundSchema),
|
|
67843
|
-
suggestedAmounts: optional3(arrayType(AmountDecimal$inboundSchema)),
|
|
67844
68041
|
cardDetails: optional3(CardPaymentDetails$inboundSchema),
|
|
67845
68042
|
achDetails: optional3(ACHPaymentDetails$inboundSchema),
|
|
67846
68043
|
metadata: optional3(recordType(string4()))
|
|
67847
68044
|
});
|
|
67848
68045
|
PaymentLinkPaymentDetailsUpdate$outboundSchema = objectType({
|
|
67849
68046
|
allowedMethods: arrayType(CollectionPaymentMethodType$outboundSchema).optional(),
|
|
67850
|
-
amountType: PaymentLinkPaymentDetailsUpdateAmountType$outboundSchema.default("fixed"),
|
|
67851
|
-
amountRange: AmountDecimalRangeUpdate$outboundSchema.optional(),
|
|
67852
|
-
suggestedAmounts: arrayType(AmountDecimal$outboundSchema).optional(),
|
|
67853
68047
|
cardDetails: CardPaymentDetails$outboundSchema.optional(),
|
|
67854
68048
|
achDetails: ACHPaymentDetails$outboundSchema.optional(),
|
|
67855
68049
|
metadata: recordType(stringType()).optional()
|
|
@@ -68624,6 +68818,19 @@ var init_recurresponse = __esm(() => {
|
|
|
68624
68818
|
});
|
|
68625
68819
|
});
|
|
68626
68820
|
|
|
68821
|
+
// src/models/components/refundamountdetailsvalidationerror.ts
|
|
68822
|
+
var RefundAmountDetailsValidationError$inboundSchema, RefundAmountDetailsValidationError$outboundSchema;
|
|
68823
|
+
var init_refundamountdetailsvalidationerror = __esm(() => {
|
|
68824
|
+
init_v3();
|
|
68825
|
+
init_primitives2();
|
|
68826
|
+
RefundAmountDetailsValidationError$inboundSchema = objectType({
|
|
68827
|
+
surcharge: optional3(string4())
|
|
68828
|
+
});
|
|
68829
|
+
RefundAmountDetailsValidationError$outboundSchema = objectType({
|
|
68830
|
+
surcharge: stringType().optional()
|
|
68831
|
+
});
|
|
68832
|
+
});
|
|
68833
|
+
|
|
68627
68834
|
// src/models/components/registerapplepaymerchantdomains.ts
|
|
68628
68835
|
var RegisterApplePayMerchantDomains$inboundSchema, RegisterApplePayMerchantDomains$outboundSchema;
|
|
68629
68836
|
var init_registerapplepaymerchantdomains = __esm(() => {
|
|
@@ -68663,23 +68870,22 @@ var RequestCard$inboundSchema, RequestCard$outboundSchema;
|
|
|
68663
68870
|
var init_requestcard = __esm(() => {
|
|
68664
68871
|
init_v3();
|
|
68665
68872
|
init_primitives2();
|
|
68873
|
+
init_address();
|
|
68666
68874
|
init_cardexpiration();
|
|
68667
|
-
init_createauthorizeduser();
|
|
68668
|
-
init_issuedcardformfactor();
|
|
68669
68875
|
init_issuingcontrols();
|
|
68670
68876
|
RequestCard$inboundSchema = objectType({
|
|
68671
|
-
|
|
68672
|
-
|
|
68673
|
-
|
|
68674
|
-
|
|
68877
|
+
authorizedUserAccountID: optional3(string4()),
|
|
68878
|
+
nickname: optional3(string4()),
|
|
68879
|
+
metadata: optional3(recordType(string4())),
|
|
68880
|
+
billingAddress: optional3(Address$inboundSchema),
|
|
68675
68881
|
expiration: optional3(CardExpiration$inboundSchema),
|
|
68676
68882
|
controls: optional3(IssuingControls$inboundSchema)
|
|
68677
68883
|
});
|
|
68678
68884
|
RequestCard$outboundSchema = objectType({
|
|
68679
|
-
|
|
68680
|
-
|
|
68681
|
-
|
|
68682
|
-
|
|
68885
|
+
authorizedUserAccountID: stringType().optional(),
|
|
68886
|
+
nickname: stringType().optional(),
|
|
68887
|
+
metadata: recordType(stringType()).optional(),
|
|
68888
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
68683
68889
|
expiration: CardExpiration$outboundSchema.optional(),
|
|
68684
68890
|
controls: IssuingControls$outboundSchema.optional()
|
|
68685
68891
|
});
|
|
@@ -68808,6 +69014,19 @@ var init_reversal = __esm(() => {
|
|
|
68808
69014
|
]);
|
|
68809
69015
|
});
|
|
68810
69016
|
|
|
69017
|
+
// src/models/components/reversalamountdetailsvalidationerror.ts
|
|
69018
|
+
var ReversalAmountDetailsValidationError$inboundSchema, ReversalAmountDetailsValidationError$outboundSchema;
|
|
69019
|
+
var init_reversalamountdetailsvalidationerror = __esm(() => {
|
|
69020
|
+
init_v3();
|
|
69021
|
+
init_primitives2();
|
|
69022
|
+
ReversalAmountDetailsValidationError$inboundSchema = objectType({
|
|
69023
|
+
surcharge: optional3(string4())
|
|
69024
|
+
});
|
|
69025
|
+
ReversalAmountDetailsValidationError$outboundSchema = objectType({
|
|
69026
|
+
surcharge: stringType().optional()
|
|
69027
|
+
});
|
|
69028
|
+
});
|
|
69029
|
+
|
|
68811
69030
|
// src/models/components/revoketokenrequest.ts
|
|
68812
69031
|
var TokenTypeHint, TokenTypeHint$inboundSchema, TokenTypeHint$outboundSchema, RevokeTokenRequest$inboundSchema, RevokeTokenRequest$outboundSchema;
|
|
68813
69032
|
var init_revoketokenrequest = __esm(() => {
|
|
@@ -69633,17 +69852,41 @@ var init_transfer = __esm(() => {
|
|
|
69633
69852
|
});
|
|
69634
69853
|
});
|
|
69635
69854
|
|
|
69855
|
+
// src/models/components/transfercontrols.ts
|
|
69856
|
+
var TransferControls$inboundSchema, TransferControls$outboundSchema;
|
|
69857
|
+
var init_transfercontrols = __esm(() => {
|
|
69858
|
+
init_v3();
|
|
69859
|
+
init_primitives2();
|
|
69860
|
+
TransferControls$inboundSchema = objectType({
|
|
69861
|
+
accountID: string4(),
|
|
69862
|
+
partnerAccountID: string4(),
|
|
69863
|
+
debtRepayment: boolean4(),
|
|
69864
|
+
allowDynamicDescriptor: boolean4(),
|
|
69865
|
+
allowSurcharge: boolean4()
|
|
69866
|
+
});
|
|
69867
|
+
TransferControls$outboundSchema = objectType({
|
|
69868
|
+
accountID: stringType(),
|
|
69869
|
+
partnerAccountID: stringType(),
|
|
69870
|
+
debtRepayment: booleanType(),
|
|
69871
|
+
allowDynamicDescriptor: booleanType(),
|
|
69872
|
+
allowSurcharge: booleanType()
|
|
69873
|
+
});
|
|
69874
|
+
});
|
|
69875
|
+
|
|
69636
69876
|
// src/models/components/transferconfig.ts
|
|
69637
69877
|
var TransferConfig$inboundSchema, TransferConfig$outboundSchema;
|
|
69638
69878
|
var init_transferconfig = __esm(() => {
|
|
69639
69879
|
init_v3();
|
|
69640
69880
|
init_primitives2();
|
|
69641
69881
|
init_tippresets();
|
|
69882
|
+
init_transfercontrols();
|
|
69642
69883
|
TransferConfig$inboundSchema = objectType({
|
|
69643
|
-
tipPresets: optional3(TipPresets$inboundSchema)
|
|
69884
|
+
tipPresets: optional3(TipPresets$inboundSchema),
|
|
69885
|
+
transferControls: optional3(arrayType(TransferControls$inboundSchema))
|
|
69644
69886
|
});
|
|
69645
69887
|
TransferConfig$outboundSchema = objectType({
|
|
69646
|
-
tipPresets: TipPresets$outboundSchema.optional()
|
|
69888
|
+
tipPresets: TipPresets$outboundSchema.optional(),
|
|
69889
|
+
transferControls: arrayType(TransferControls$outboundSchema).optional()
|
|
69647
69890
|
});
|
|
69648
69891
|
});
|
|
69649
69892
|
|
|
@@ -69937,7 +70180,7 @@ var UpdateInvoice$inboundSchema, UpdateInvoice$outboundSchema;
|
|
|
69937
70180
|
var init_updateinvoice = __esm(() => {
|
|
69938
70181
|
init_v3();
|
|
69939
70182
|
init_primitives2();
|
|
69940
|
-
|
|
70183
|
+
init_amountdetailsupdate();
|
|
69941
70184
|
init_createinvoicelineitemsupdate();
|
|
69942
70185
|
init_invoicestatus();
|
|
69943
70186
|
UpdateInvoice$inboundSchema = objectType({
|
|
@@ -69946,7 +70189,7 @@ var init_updateinvoice = __esm(() => {
|
|
|
69946
70189
|
invoiceDate: nullableType(date4()).optional(),
|
|
69947
70190
|
dueDate: nullableType(date4()).optional(),
|
|
69948
70191
|
status: optional3(InvoiceStatus$inboundSchema),
|
|
69949
|
-
|
|
70192
|
+
amountDetails: optional3(AmountDetailsUpdate$inboundSchema)
|
|
69950
70193
|
});
|
|
69951
70194
|
UpdateInvoice$outboundSchema = objectType({
|
|
69952
70195
|
description: stringType().optional(),
|
|
@@ -69954,7 +70197,7 @@ var init_updateinvoice = __esm(() => {
|
|
|
69954
70197
|
invoiceDate: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
69955
70198
|
dueDate: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
69956
70199
|
status: InvoiceStatus$outboundSchema.optional(),
|
|
69957
|
-
|
|
70200
|
+
amountDetails: AmountDetailsUpdate$outboundSchema.optional()
|
|
69958
70201
|
});
|
|
69959
70202
|
});
|
|
69960
70203
|
|
|
@@ -69970,21 +70213,38 @@ var init_updateissuedcardstate = __esm(() => {
|
|
|
69970
70213
|
});
|
|
69971
70214
|
|
|
69972
70215
|
// src/models/components/updateissuedcard.ts
|
|
69973
|
-
var UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
|
|
70216
|
+
var BillingAddress$inboundSchema, BillingAddress$outboundSchema, UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
|
|
69974
70217
|
var init_updateissuedcard = __esm(() => {
|
|
69975
70218
|
init_v3();
|
|
69976
70219
|
init_primitives2();
|
|
69977
|
-
init_createauthorizeduserupdate();
|
|
69978
70220
|
init_updateissuedcardstate();
|
|
70221
|
+
BillingAddress$inboundSchema = objectType({
|
|
70222
|
+
addressLine1: optional3(string4()),
|
|
70223
|
+
addressLine2: optional3(string4()),
|
|
70224
|
+
city: optional3(string4()),
|
|
70225
|
+
stateOrProvince: optional3(string4()),
|
|
70226
|
+
postalCode: optional3(string4()),
|
|
70227
|
+
country: optional3(string4())
|
|
70228
|
+
});
|
|
70229
|
+
BillingAddress$outboundSchema = objectType({
|
|
70230
|
+
addressLine1: stringType().optional(),
|
|
70231
|
+
addressLine2: stringType().optional(),
|
|
70232
|
+
city: stringType().optional(),
|
|
70233
|
+
stateOrProvince: stringType().optional(),
|
|
70234
|
+
postalCode: stringType().optional(),
|
|
70235
|
+
country: stringType().optional()
|
|
70236
|
+
});
|
|
69979
70237
|
UpdateIssuedCard$inboundSchema = objectType({
|
|
69980
70238
|
state: optional3(UpdateIssuedCardState$inboundSchema),
|
|
69981
|
-
|
|
69982
|
-
|
|
70239
|
+
nickname: nullableType(string4()).optional(),
|
|
70240
|
+
metadata: nullableType(recordType(string4())).optional(),
|
|
70241
|
+
billingAddress: nullableType(lazyType(() => BillingAddress$inboundSchema)).optional()
|
|
69983
70242
|
});
|
|
69984
70243
|
UpdateIssuedCard$outboundSchema = objectType({
|
|
69985
70244
|
state: UpdateIssuedCardState$outboundSchema.optional(),
|
|
69986
|
-
|
|
69987
|
-
|
|
70245
|
+
nickname: nullableType(stringType()).optional(),
|
|
70246
|
+
metadata: nullableType(recordType(stringType())).optional(),
|
|
70247
|
+
billingAddress: nullableType(lazyType(() => BillingAddress$outboundSchema)).optional()
|
|
69988
70248
|
});
|
|
69989
70249
|
});
|
|
69990
70250
|
|
|
@@ -69995,10 +70255,12 @@ var init_updatepaymentlinkamountdetails = __esm(() => {
|
|
|
69995
70255
|
init_primitives2();
|
|
69996
70256
|
init_amountdecimalupdate();
|
|
69997
70257
|
UpdatePaymentLinkAmountDetails$inboundSchema = objectType({
|
|
69998
|
-
tax: optional3(AmountDecimalUpdate$inboundSchema)
|
|
70258
|
+
tax: optional3(AmountDecimalUpdate$inboundSchema),
|
|
70259
|
+
surcharge: optional3(AmountDecimalUpdate$inboundSchema)
|
|
69999
70260
|
});
|
|
70000
70261
|
UpdatePaymentLinkAmountDetails$outboundSchema = objectType({
|
|
70001
|
-
tax: AmountDecimalUpdate$outboundSchema.optional()
|
|
70262
|
+
tax: AmountDecimalUpdate$outboundSchema.optional(),
|
|
70263
|
+
surcharge: AmountDecimalUpdate$outboundSchema.optional()
|
|
70002
70264
|
});
|
|
70003
70265
|
});
|
|
70004
70266
|
|
|
@@ -70009,6 +70271,7 @@ var init_updatepaymentlink = __esm(() => {
|
|
|
70009
70271
|
init_primitives2();
|
|
70010
70272
|
init_amountupdate();
|
|
70011
70273
|
init_createpaymentlinklineitemsupdate();
|
|
70274
|
+
init_paymentlinkcustomamountpaymentdetailsupdate();
|
|
70012
70275
|
init_paymentlinkcustomeroptions();
|
|
70013
70276
|
init_paymentlinkdisplayoptionsupdate();
|
|
70014
70277
|
init_paymentlinkpaymentdetailsupdate();
|
|
@@ -70021,6 +70284,7 @@ var init_updatepaymentlink = __esm(() => {
|
|
|
70021
70284
|
customer: optional3(PaymentLinkCustomerOptions$inboundSchema),
|
|
70022
70285
|
payment: optional3(PaymentLinkPaymentDetailsUpdate$inboundSchema),
|
|
70023
70286
|
payout: optional3(PaymentLinkPayoutDetailsUpdate$inboundSchema),
|
|
70287
|
+
customAmountPayment: optional3(PaymentLinkCustomAmountPaymentDetailsUpdate$inboundSchema),
|
|
70024
70288
|
lineItems: optional3(CreatePaymentLinkLineItemsUpdate$inboundSchema),
|
|
70025
70289
|
amountDetails: optional3(UpdatePaymentLinkAmountDetails$inboundSchema)
|
|
70026
70290
|
});
|
|
@@ -70031,6 +70295,7 @@ var init_updatepaymentlink = __esm(() => {
|
|
|
70031
70295
|
customer: PaymentLinkCustomerOptions$outboundSchema.optional(),
|
|
70032
70296
|
payment: PaymentLinkPaymentDetailsUpdate$outboundSchema.optional(),
|
|
70033
70297
|
payout: PaymentLinkPayoutDetailsUpdate$outboundSchema.optional(),
|
|
70298
|
+
customAmountPayment: PaymentLinkCustomAmountPaymentDetailsUpdate$outboundSchema.optional(),
|
|
70034
70299
|
lineItems: CreatePaymentLinkLineItemsUpdate$outboundSchema.optional(),
|
|
70035
70300
|
amountDetails: UpdatePaymentLinkAmountDetails$outboundSchema.optional()
|
|
70036
70301
|
});
|
|
@@ -70042,10 +70307,12 @@ var init_updatepaymentlinkamountdetailsvalidationerror = __esm(() => {
|
|
|
70042
70307
|
init_v3();
|
|
70043
70308
|
init_primitives2();
|
|
70044
70309
|
UpdatePaymentLinkAmountDetailsValidationError$inboundSchema = objectType({
|
|
70045
|
-
tax: optional3(string4())
|
|
70310
|
+
tax: optional3(string4()),
|
|
70311
|
+
surcharge: optional3(string4())
|
|
70046
70312
|
});
|
|
70047
70313
|
UpdatePaymentLinkAmountDetailsValidationError$outboundSchema = objectType({
|
|
70048
|
-
tax: stringType().optional()
|
|
70314
|
+
tax: stringType().optional(),
|
|
70315
|
+
surcharge: stringType().optional()
|
|
70049
70316
|
});
|
|
70050
70317
|
});
|
|
70051
70318
|
|
|
@@ -70500,6 +70767,25 @@ var init_webhookdataaccountupdated = __esm(() => {
|
|
|
70500
70767
|
});
|
|
70501
70768
|
});
|
|
70502
70769
|
|
|
70770
|
+
// src/models/components/webhookdataauthorizationexpiring.ts
|
|
70771
|
+
var WebhookDataAuthorizationExpiring$inboundSchema, WebhookDataAuthorizationExpiring$outboundSchema;
|
|
70772
|
+
var init_webhookdataauthorizationexpiring = __esm(() => {
|
|
70773
|
+
init_v3();
|
|
70774
|
+
init_primitives2();
|
|
70775
|
+
WebhookDataAuthorizationExpiring$inboundSchema = objectType({
|
|
70776
|
+
merchantAccountID: string4(),
|
|
70777
|
+
partnerAccountID: string4(),
|
|
70778
|
+
authorizationID: string4(),
|
|
70779
|
+
expiresOn: date4()
|
|
70780
|
+
});
|
|
70781
|
+
WebhookDataAuthorizationExpiring$outboundSchema = objectType({
|
|
70782
|
+
merchantAccountID: stringType(),
|
|
70783
|
+
partnerAccountID: stringType(),
|
|
70784
|
+
authorizationID: stringType(),
|
|
70785
|
+
expiresOn: dateType().transform((v2) => v2.toISOString())
|
|
70786
|
+
});
|
|
70787
|
+
});
|
|
70788
|
+
|
|
70503
70789
|
// src/models/components/webhookdatabalanceupdated.ts
|
|
70504
70790
|
var WebhookDataBalanceUpdated$inboundSchema, WebhookDataBalanceUpdated$outboundSchema;
|
|
70505
70791
|
var init_webhookdatabalanceupdated = __esm(() => {
|
|
@@ -70896,10 +71182,12 @@ var init_webhookdatasweepcreated = __esm(() => {
|
|
|
70896
71182
|
init_v3();
|
|
70897
71183
|
init_primitives2();
|
|
70898
71184
|
WebhookDataSweepCreated$inboundSchema = objectType({
|
|
71185
|
+
accountID: string4(),
|
|
70899
71186
|
walletID: string4(),
|
|
70900
71187
|
sweepID: string4()
|
|
70901
71188
|
});
|
|
70902
71189
|
WebhookDataSweepCreated$outboundSchema = objectType({
|
|
71190
|
+
accountID: stringType(),
|
|
70903
71191
|
walletID: stringType(),
|
|
70904
71192
|
sweepID: stringType()
|
|
70905
71193
|
});
|
|
@@ -70912,12 +71200,14 @@ var init_webhookdatasweepupdated = __esm(() => {
|
|
|
70912
71200
|
init_primitives2();
|
|
70913
71201
|
init_sweepstatus();
|
|
70914
71202
|
WebhookDataSweepUpdated$inboundSchema = objectType({
|
|
71203
|
+
accountID: string4(),
|
|
70915
71204
|
walletID: string4(),
|
|
70916
71205
|
sweepID: string4(),
|
|
70917
71206
|
transferID: optional3(string4()),
|
|
70918
71207
|
status: SweepStatus$inboundSchema
|
|
70919
71208
|
});
|
|
70920
71209
|
WebhookDataSweepUpdated$outboundSchema = objectType({
|
|
71210
|
+
accountID: stringType(),
|
|
70921
71211
|
walletID: stringType(),
|
|
70922
71212
|
sweepID: stringType(),
|
|
70923
71213
|
transferID: stringType().optional(),
|
|
@@ -71169,6 +71459,7 @@ var init_webhookdata = __esm(() => {
|
|
|
71169
71459
|
init_webhookdataaccountcreated();
|
|
71170
71460
|
init_webhookdataaccountdisconnected();
|
|
71171
71461
|
init_webhookdataaccountupdated();
|
|
71462
|
+
init_webhookdataauthorizationexpiring();
|
|
71172
71463
|
init_webhookdatabalanceupdated();
|
|
71173
71464
|
init_webhookdatabankaccountcreated();
|
|
71174
71465
|
init_webhookdatabankaccountdeleted();
|
|
@@ -71208,7 +71499,9 @@ var init_webhookdata = __esm(() => {
|
|
|
71208
71499
|
WebhookDataTransferUpdated$inboundSchema,
|
|
71209
71500
|
WebhookDataBankAccountUpdated$inboundSchema,
|
|
71210
71501
|
WebhookDataRefundUpdated$inboundSchema,
|
|
71502
|
+
WebhookDataSweepUpdated$inboundSchema,
|
|
71211
71503
|
WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
71504
|
+
WebhookDataAuthorizationExpiring$inboundSchema,
|
|
71212
71505
|
WebhookDataBankAccountCreated$inboundSchema,
|
|
71213
71506
|
WebhookDataBankAccountDeleted$inboundSchema,
|
|
71214
71507
|
WebhookDataCancellationCreated$inboundSchema,
|
|
@@ -71219,7 +71512,7 @@ var init_webhookdata = __esm(() => {
|
|
|
71219
71512
|
WebhookDataPaymentMethodEnabled$inboundSchema,
|
|
71220
71513
|
WebhookDataPaymentMethodDisabled$inboundSchema,
|
|
71221
71514
|
WebhookDataRefundCreated$inboundSchema,
|
|
71222
|
-
|
|
71515
|
+
WebhookDataSweepCreated$inboundSchema,
|
|
71223
71516
|
WebhookDataTicketUpdated$inboundSchema,
|
|
71224
71517
|
WebhookDataTransferCreated$inboundSchema,
|
|
71225
71518
|
WebhookDataWalletUpdated$inboundSchema,
|
|
@@ -71229,7 +71522,6 @@ var init_webhookdata = __esm(() => {
|
|
|
71229
71522
|
WebhookDataRepresentativeCreated$inboundSchema,
|
|
71230
71523
|
WebhookDataRepresentativeUpdated$inboundSchema,
|
|
71231
71524
|
WebhookDataRepresentativeDisabled$inboundSchema,
|
|
71232
|
-
WebhookDataSweepCreated$inboundSchema,
|
|
71233
71525
|
WebhookDataTerminalApplicationCreated$inboundSchema,
|
|
71234
71526
|
WebhookDataTerminalApplicationUpdated$inboundSchema,
|
|
71235
71527
|
WebhookDataTicketCreated$inboundSchema,
|
|
@@ -71247,7 +71539,9 @@ var init_webhookdata = __esm(() => {
|
|
|
71247
71539
|
WebhookDataTransferUpdated$outboundSchema,
|
|
71248
71540
|
WebhookDataBankAccountUpdated$outboundSchema,
|
|
71249
71541
|
WebhookDataRefundUpdated$outboundSchema,
|
|
71542
|
+
WebhookDataSweepUpdated$outboundSchema,
|
|
71250
71543
|
WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
71544
|
+
WebhookDataAuthorizationExpiring$outboundSchema,
|
|
71251
71545
|
WebhookDataBankAccountCreated$outboundSchema,
|
|
71252
71546
|
WebhookDataBankAccountDeleted$outboundSchema,
|
|
71253
71547
|
WebhookDataCancellationCreated$outboundSchema,
|
|
@@ -71258,7 +71552,7 @@ var init_webhookdata = __esm(() => {
|
|
|
71258
71552
|
WebhookDataPaymentMethodEnabled$outboundSchema,
|
|
71259
71553
|
WebhookDataPaymentMethodDisabled$outboundSchema,
|
|
71260
71554
|
WebhookDataRefundCreated$outboundSchema,
|
|
71261
|
-
|
|
71555
|
+
WebhookDataSweepCreated$outboundSchema,
|
|
71262
71556
|
WebhookDataTicketUpdated$outboundSchema,
|
|
71263
71557
|
WebhookDataTransferCreated$outboundSchema,
|
|
71264
71558
|
WebhookDataWalletUpdated$outboundSchema,
|
|
@@ -71268,7 +71562,6 @@ var init_webhookdata = __esm(() => {
|
|
|
71268
71562
|
WebhookDataRepresentativeCreated$outboundSchema,
|
|
71269
71563
|
WebhookDataRepresentativeUpdated$outboundSchema,
|
|
71270
71564
|
WebhookDataRepresentativeDisabled$outboundSchema,
|
|
71271
|
-
WebhookDataSweepCreated$outboundSchema,
|
|
71272
71565
|
WebhookDataTerminalApplicationCreated$outboundSchema,
|
|
71273
71566
|
WebhookDataTerminalApplicationUpdated$outboundSchema,
|
|
71274
71567
|
WebhookDataTicketCreated$outboundSchema,
|
|
@@ -71357,6 +71650,9 @@ var init_components = __esm(() => {
|
|
|
71357
71650
|
init_amountdecimalrangeupdate();
|
|
71358
71651
|
init_amountdecimalupdate();
|
|
71359
71652
|
init_amountdecimalvalidationerror();
|
|
71653
|
+
init_amountdetails();
|
|
71654
|
+
init_amountdetailsupdate();
|
|
71655
|
+
init_amountdetailsvalidationerror();
|
|
71360
71656
|
init_amountupdate();
|
|
71361
71657
|
init_amountvalidationerror();
|
|
71362
71658
|
init_applebillingcontact();
|
|
@@ -71370,7 +71666,6 @@ var init_components = __esm(() => {
|
|
|
71370
71666
|
init_assignproductimagevalidationerror();
|
|
71371
71667
|
init_asynccreatedrefund();
|
|
71372
71668
|
init_asynctransfer();
|
|
71373
|
-
init_authorizeduser();
|
|
71374
71669
|
init_authtoken();
|
|
71375
71670
|
init_authtokenrequest();
|
|
71376
71671
|
init_bankaccount();
|
|
@@ -71461,9 +71756,6 @@ var init_components = __esm(() => {
|
|
|
71461
71756
|
init_createaccountsettings();
|
|
71462
71757
|
init_createaccounttype();
|
|
71463
71758
|
init_createapplepaysession();
|
|
71464
|
-
init_createauthorizeduser();
|
|
71465
|
-
init_createauthorizedusererror();
|
|
71466
|
-
init_createauthorizeduserupdate();
|
|
71467
71759
|
init_createbusinesserror();
|
|
71468
71760
|
init_createbusinessprofile();
|
|
71469
71761
|
init_createdtransfer();
|
|
@@ -71529,6 +71821,7 @@ var init_components = __esm(() => {
|
|
|
71529
71821
|
init_createtransfersourcecard();
|
|
71530
71822
|
init_createwallet();
|
|
71531
71823
|
init_createwebhook();
|
|
71824
|
+
init_customamountpaymentdetailserror();
|
|
71532
71825
|
init_customersupport();
|
|
71533
71826
|
init_customersupporterror();
|
|
71534
71827
|
init_debitholdperiod();
|
|
@@ -71694,6 +71987,8 @@ var init_components = __esm(() => {
|
|
|
71694
71987
|
init_paymentdetailserror();
|
|
71695
71988
|
init_paymentlink();
|
|
71696
71989
|
init_paymentlinkamountdetails();
|
|
71990
|
+
init_paymentlinkcustomamountpaymentdetails();
|
|
71991
|
+
init_paymentlinkcustomamountpaymentdetailsupdate();
|
|
71697
71992
|
init_paymentlinkcustomeroptions();
|
|
71698
71993
|
init_paymentlinkdisplayoptions();
|
|
71699
71994
|
init_paymentlinkdisplayoptionsupdate();
|
|
@@ -71753,6 +72048,8 @@ var init_components = __esm(() => {
|
|
|
71753
72048
|
init_receiptresponse();
|
|
71754
72049
|
init_recur();
|
|
71755
72050
|
init_recurresponse();
|
|
72051
|
+
init_refundamountdetails();
|
|
72052
|
+
init_refundamountdetailsvalidationerror();
|
|
71756
72053
|
init_refundcarddetails();
|
|
71757
72054
|
init_refundcardstatus();
|
|
71758
72055
|
init_refundpolicy();
|
|
@@ -71771,6 +72068,8 @@ var init_components = __esm(() => {
|
|
|
71771
72068
|
init_resolutionlinkstatus();
|
|
71772
72069
|
init_returnpolicytype();
|
|
71773
72070
|
init_reversal();
|
|
72071
|
+
init_reversalamountdetails();
|
|
72072
|
+
init_reversalamountdetailsvalidationerror();
|
|
71774
72073
|
init_reversedwithcancellation();
|
|
71775
72074
|
init_reversedwithrefund();
|
|
71776
72075
|
init_revoketokenrequest();
|
|
@@ -71837,6 +72136,7 @@ var init_components = __esm(() => {
|
|
|
71837
72136
|
init_transferachaddendarecord();
|
|
71838
72137
|
init_transferamountdetails();
|
|
71839
72138
|
init_transferconfig();
|
|
72139
|
+
init_transfercontrols();
|
|
71840
72140
|
init_transferdestination();
|
|
71841
72141
|
init_transferentrymode();
|
|
71842
72142
|
init_transferfailurereason();
|
|
@@ -71897,6 +72197,7 @@ var init_components = __esm(() => {
|
|
|
71897
72197
|
init_webhookdataaccountcreated();
|
|
71898
72198
|
init_webhookdataaccountdisconnected();
|
|
71899
72199
|
init_webhookdataaccountupdated();
|
|
72200
|
+
init_webhookdataauthorizationexpiring();
|
|
71900
72201
|
init_webhookdatabalanceupdated();
|
|
71901
72202
|
init_webhookdatabankaccountcreated();
|
|
71902
72203
|
init_webhookdatabankaccountdeleted();
|
|
@@ -71989,6 +72290,7 @@ var init_cardacquiringrefund2 = __esm(() => {
|
|
|
71989
72290
|
updatedOn;
|
|
71990
72291
|
status;
|
|
71991
72292
|
amount;
|
|
72293
|
+
amountDetails;
|
|
71992
72294
|
cardDetails;
|
|
71993
72295
|
data$;
|
|
71994
72296
|
constructor(err, httpMeta) {
|
|
@@ -72000,6 +72302,8 @@ var init_cardacquiringrefund2 = __esm(() => {
|
|
|
72000
72302
|
this.updatedOn = err.updatedOn;
|
|
72001
72303
|
this.status = err.status;
|
|
72002
72304
|
this.amount = err.amount;
|
|
72305
|
+
if (err.amountDetails != null)
|
|
72306
|
+
this.amountDetails = err.amountDetails;
|
|
72003
72307
|
if (err.cardDetails != null)
|
|
72004
72308
|
this.cardDetails = err.cardDetails;
|
|
72005
72309
|
this.name = "CardAcquiringRefund";
|
|
@@ -72011,6 +72315,7 @@ var init_cardacquiringrefund2 = __esm(() => {
|
|
|
72011
72315
|
updatedOn: date4(),
|
|
72012
72316
|
status: RefundStatus$inboundSchema,
|
|
72013
72317
|
amount: Amount$inboundSchema,
|
|
72318
|
+
amountDetails: optional3(RefundAmountDetails$inboundSchema),
|
|
72014
72319
|
cardDetails: optional3(RefundCardDetails$inboundSchema),
|
|
72015
72320
|
request$: instanceOfType(Request),
|
|
72016
72321
|
response$: instanceOfType(Response),
|
|
@@ -72028,6 +72333,7 @@ var init_cardacquiringrefund2 = __esm(() => {
|
|
|
72028
72333
|
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
72029
72334
|
status: RefundStatus$outboundSchema,
|
|
72030
72335
|
amount: Amount$outboundSchema,
|
|
72336
|
+
amountDetails: RefundAmountDetails$outboundSchema.optional(),
|
|
72031
72337
|
cardDetails: RefundCardDetails$outboundSchema.optional()
|
|
72032
72338
|
}));
|
|
72033
72339
|
});
|
|
@@ -72203,7 +72509,7 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
72203
72509
|
lineItems;
|
|
72204
72510
|
invoiceDate;
|
|
72205
72511
|
dueDate;
|
|
72206
|
-
|
|
72512
|
+
amountDetails;
|
|
72207
72513
|
data$;
|
|
72208
72514
|
constructor(err, httpMeta) {
|
|
72209
72515
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -72220,8 +72526,8 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
72220
72526
|
this.invoiceDate = err.invoiceDate;
|
|
72221
72527
|
if (err.dueDate != null)
|
|
72222
72528
|
this.dueDate = err.dueDate;
|
|
72223
|
-
if (err.
|
|
72224
|
-
this.
|
|
72529
|
+
if (err.amountDetails != null)
|
|
72530
|
+
this.amountDetails = err.amountDetails;
|
|
72225
72531
|
this.name = "CreateInvoiceError";
|
|
72226
72532
|
}
|
|
72227
72533
|
};
|
|
@@ -72231,7 +72537,7 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
72231
72537
|
lineItems: optional3(CreateInvoiceLineItemsValidationError$inboundSchema),
|
|
72232
72538
|
invoiceDate: optional3(string4()),
|
|
72233
72539
|
dueDate: optional3(string4()),
|
|
72234
|
-
|
|
72540
|
+
amountDetails: optional3(AmountDetailsValidationError$inboundSchema),
|
|
72235
72541
|
request$: instanceOfType(Request),
|
|
72236
72542
|
response$: instanceOfType(Response),
|
|
72237
72543
|
body$: stringType()
|
|
@@ -72248,7 +72554,7 @@ var init_createinvoiceerror = __esm(() => {
|
|
|
72248
72554
|
lineItems: CreateInvoiceLineItemsValidationError$outboundSchema.optional(),
|
|
72249
72555
|
invoiceDate: stringType().optional(),
|
|
72250
72556
|
dueDate: stringType().optional(),
|
|
72251
|
-
|
|
72557
|
+
amountDetails: AmountDetailsValidationError$outboundSchema.optional()
|
|
72252
72558
|
}));
|
|
72253
72559
|
});
|
|
72254
72560
|
|
|
@@ -72319,6 +72625,7 @@ var init_createpaymentlinkerror = __esm(() => {
|
|
|
72319
72625
|
display;
|
|
72320
72626
|
payment;
|
|
72321
72627
|
payout;
|
|
72628
|
+
customAmountPayment;
|
|
72322
72629
|
lineItems;
|
|
72323
72630
|
amountDetails;
|
|
72324
72631
|
data$;
|
|
@@ -72344,6 +72651,9 @@ var init_createpaymentlinkerror = __esm(() => {
|
|
|
72344
72651
|
this.payment = err.payment;
|
|
72345
72652
|
if (err.payout != null)
|
|
72346
72653
|
this.payout = err.payout;
|
|
72654
|
+
if (err.customAmountPayment != null) {
|
|
72655
|
+
this.customAmountPayment = err.customAmountPayment;
|
|
72656
|
+
}
|
|
72347
72657
|
if (err.lineItems != null)
|
|
72348
72658
|
this.lineItems = err.lineItems;
|
|
72349
72659
|
if (err.amountDetails != null)
|
|
@@ -72360,6 +72670,7 @@ var init_createpaymentlinkerror = __esm(() => {
|
|
|
72360
72670
|
display: optional3(DisplayOptionsError$inboundSchema),
|
|
72361
72671
|
payment: optional3(PaymentDetailsError$inboundSchema),
|
|
72362
72672
|
payout: optional3(PayoutDetailsError$inboundSchema),
|
|
72673
|
+
customAmountPayment: optional3(CustomAmountPaymentDetailsError$inboundSchema),
|
|
72363
72674
|
lineItems: optional3(CreatePaymentLinkLineItemsValidationError$inboundSchema),
|
|
72364
72675
|
amountDetails: optional3(CreatePaymentLinkAmountDetailsValidationError$inboundSchema),
|
|
72365
72676
|
request$: instanceOfType(Request),
|
|
@@ -72381,6 +72692,7 @@ var init_createpaymentlinkerror = __esm(() => {
|
|
|
72381
72692
|
display: DisplayOptionsError$outboundSchema.optional(),
|
|
72382
72693
|
payment: PaymentDetailsError$outboundSchema.optional(),
|
|
72383
72694
|
payout: PayoutDetailsError$outboundSchema.optional(),
|
|
72695
|
+
customAmountPayment: CustomAmountPaymentDetailsError$outboundSchema.optional(),
|
|
72384
72696
|
lineItems: CreatePaymentLinkLineItemsValidationError$outboundSchema.optional(),
|
|
72385
72697
|
amountDetails: CreatePaymentLinkAmountDetailsValidationError$outboundSchema.optional()
|
|
72386
72698
|
}));
|
|
@@ -73787,9 +74099,11 @@ var RefundValidationError, RefundValidationError$inboundSchema, RefundValidation
|
|
|
73787
74099
|
var init_refundvalidationerror = __esm(() => {
|
|
73788
74100
|
init_v3();
|
|
73789
74101
|
init_primitives2();
|
|
74102
|
+
init_components();
|
|
73790
74103
|
init_mooverror();
|
|
73791
74104
|
RefundValidationError = class RefundValidationError extends MoovError {
|
|
73792
74105
|
amount;
|
|
74106
|
+
amountDetails;
|
|
73793
74107
|
error;
|
|
73794
74108
|
data$;
|
|
73795
74109
|
constructor(err, httpMeta) {
|
|
@@ -73798,6 +74112,8 @@ var init_refundvalidationerror = __esm(() => {
|
|
|
73798
74112
|
this.data$ = err;
|
|
73799
74113
|
if (err.amount != null)
|
|
73800
74114
|
this.amount = err.amount;
|
|
74115
|
+
if (err.amountDetails != null)
|
|
74116
|
+
this.amountDetails = err.amountDetails;
|
|
73801
74117
|
if (err.error != null)
|
|
73802
74118
|
this.error = err.error;
|
|
73803
74119
|
this.name = "RefundValidationError";
|
|
@@ -73805,6 +74121,7 @@ var init_refundvalidationerror = __esm(() => {
|
|
|
73805
74121
|
};
|
|
73806
74122
|
RefundValidationError$inboundSchema = objectType({
|
|
73807
74123
|
amount: optional3(string4()),
|
|
74124
|
+
amountDetails: optional3(RefundAmountDetailsValidationError$inboundSchema),
|
|
73808
74125
|
error: optional3(string4()),
|
|
73809
74126
|
request$: instanceOfType(Request),
|
|
73810
74127
|
response$: instanceOfType(Response),
|
|
@@ -73818,6 +74135,7 @@ var init_refundvalidationerror = __esm(() => {
|
|
|
73818
74135
|
});
|
|
73819
74136
|
RefundValidationError$outboundSchema = instanceOfType(RefundValidationError).transform((v2) => v2.data$).pipe(objectType({
|
|
73820
74137
|
amount: stringType().optional(),
|
|
74138
|
+
amountDetails: RefundAmountDetailsValidationError$outboundSchema.optional(),
|
|
73821
74139
|
error: stringType().optional()
|
|
73822
74140
|
}));
|
|
73823
74141
|
});
|
|
@@ -73883,10 +74201,10 @@ var init_requestcarderror = __esm(() => {
|
|
|
73883
74201
|
init_components();
|
|
73884
74202
|
init_mooverror();
|
|
73885
74203
|
RequestCardError = class RequestCardError extends MoovError {
|
|
73886
|
-
|
|
73887
|
-
|
|
73888
|
-
|
|
73889
|
-
|
|
74204
|
+
authorizedUserAccountID;
|
|
74205
|
+
nickname;
|
|
74206
|
+
metadata;
|
|
74207
|
+
billingAddress;
|
|
73890
74208
|
expiration;
|
|
73891
74209
|
controls;
|
|
73892
74210
|
data$;
|
|
@@ -73894,14 +74212,15 @@ var init_requestcarderror = __esm(() => {
|
|
|
73894
74212
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
73895
74213
|
super(message, httpMeta);
|
|
73896
74214
|
this.data$ = err;
|
|
73897
|
-
if (err.
|
|
73898
|
-
this.
|
|
73899
|
-
|
|
73900
|
-
|
|
73901
|
-
|
|
73902
|
-
|
|
73903
|
-
|
|
73904
|
-
|
|
74215
|
+
if (err.authorizedUserAccountID != null) {
|
|
74216
|
+
this.authorizedUserAccountID = err.authorizedUserAccountID;
|
|
74217
|
+
}
|
|
74218
|
+
if (err.nickname != null)
|
|
74219
|
+
this.nickname = err.nickname;
|
|
74220
|
+
if (err.metadata != null)
|
|
74221
|
+
this.metadata = err.metadata;
|
|
74222
|
+
if (err.billingAddress != null)
|
|
74223
|
+
this.billingAddress = err.billingAddress;
|
|
73905
74224
|
if (err.expiration != null)
|
|
73906
74225
|
this.expiration = err.expiration;
|
|
73907
74226
|
if (err.controls != null)
|
|
@@ -73910,10 +74229,10 @@ var init_requestcarderror = __esm(() => {
|
|
|
73910
74229
|
}
|
|
73911
74230
|
};
|
|
73912
74231
|
RequestCardError$inboundSchema = objectType({
|
|
73913
|
-
|
|
73914
|
-
|
|
73915
|
-
|
|
73916
|
-
|
|
74232
|
+
authorizedUserAccountID: optional3(string4()),
|
|
74233
|
+
nickname: optional3(string4()),
|
|
74234
|
+
metadata: optional3(string4()),
|
|
74235
|
+
billingAddress: optional3(AddressError$inboundSchema),
|
|
73917
74236
|
expiration: optional3(CardExpirationError$inboundSchema),
|
|
73918
74237
|
controls: optional3(IssuingControlsError$inboundSchema),
|
|
73919
74238
|
request$: instanceOfType(Request),
|
|
@@ -73927,10 +74246,10 @@ var init_requestcarderror = __esm(() => {
|
|
|
73927
74246
|
});
|
|
73928
74247
|
});
|
|
73929
74248
|
RequestCardError$outboundSchema = instanceOfType(RequestCardError).transform((v2) => v2.data$).pipe(objectType({
|
|
73930
|
-
|
|
73931
|
-
|
|
73932
|
-
|
|
73933
|
-
|
|
74249
|
+
authorizedUserAccountID: stringType().optional(),
|
|
74250
|
+
nickname: stringType().optional(),
|
|
74251
|
+
metadata: stringType().optional(),
|
|
74252
|
+
billingAddress: AddressError$outboundSchema.optional(),
|
|
73934
74253
|
expiration: CardExpirationError$outboundSchema.optional(),
|
|
73935
74254
|
controls: IssuingControlsError$outboundSchema.optional()
|
|
73936
74255
|
}));
|
|
@@ -73941,9 +74260,11 @@ var ReversalValidationError, ReversalValidationError$inboundSchema, ReversalVali
|
|
|
73941
74260
|
var init_reversalvalidationerror = __esm(() => {
|
|
73942
74261
|
init_v3();
|
|
73943
74262
|
init_primitives2();
|
|
74263
|
+
init_components();
|
|
73944
74264
|
init_mooverror();
|
|
73945
74265
|
ReversalValidationError = class ReversalValidationError extends MoovError {
|
|
73946
74266
|
amount;
|
|
74267
|
+
amountDetails;
|
|
73947
74268
|
data$;
|
|
73948
74269
|
constructor(err, httpMeta) {
|
|
73949
74270
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -73951,11 +74272,14 @@ var init_reversalvalidationerror = __esm(() => {
|
|
|
73951
74272
|
this.data$ = err;
|
|
73952
74273
|
if (err.amount != null)
|
|
73953
74274
|
this.amount = err.amount;
|
|
74275
|
+
if (err.amountDetails != null)
|
|
74276
|
+
this.amountDetails = err.amountDetails;
|
|
73954
74277
|
this.name = "ReversalValidationError";
|
|
73955
74278
|
}
|
|
73956
74279
|
};
|
|
73957
74280
|
ReversalValidationError$inboundSchema = objectType({
|
|
73958
74281
|
amount: optional3(string4()),
|
|
74282
|
+
amountDetails: optional3(ReversalAmountDetailsValidationError$inboundSchema),
|
|
73959
74283
|
request$: instanceOfType(Request),
|
|
73960
74284
|
response$: instanceOfType(Response),
|
|
73961
74285
|
body$: stringType()
|
|
@@ -73967,7 +74291,8 @@ var init_reversalvalidationerror = __esm(() => {
|
|
|
73967
74291
|
});
|
|
73968
74292
|
});
|
|
73969
74293
|
ReversalValidationError$outboundSchema = instanceOfType(ReversalValidationError).transform((v2) => v2.data$).pipe(objectType({
|
|
73970
|
-
amount: stringType().optional()
|
|
74294
|
+
amount: stringType().optional(),
|
|
74295
|
+
amountDetails: ReversalAmountDetailsValidationError$outboundSchema.optional()
|
|
73971
74296
|
}));
|
|
73972
74297
|
});
|
|
73973
74298
|
|
|
@@ -74580,7 +74905,7 @@ var init_updateinvoiceerror = __esm(() => {
|
|
|
74580
74905
|
invoiceDate;
|
|
74581
74906
|
dueDate;
|
|
74582
74907
|
status;
|
|
74583
|
-
|
|
74908
|
+
amountDetails;
|
|
74584
74909
|
data$;
|
|
74585
74910
|
constructor(err, httpMeta) {
|
|
74586
74911
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -74596,8 +74921,8 @@ var init_updateinvoiceerror = __esm(() => {
|
|
|
74596
74921
|
this.dueDate = err.dueDate;
|
|
74597
74922
|
if (err.status != null)
|
|
74598
74923
|
this.status = err.status;
|
|
74599
|
-
if (err.
|
|
74600
|
-
this.
|
|
74924
|
+
if (err.amountDetails != null)
|
|
74925
|
+
this.amountDetails = err.amountDetails;
|
|
74601
74926
|
this.name = "UpdateInvoiceError";
|
|
74602
74927
|
}
|
|
74603
74928
|
};
|
|
@@ -74607,7 +74932,7 @@ var init_updateinvoiceerror = __esm(() => {
|
|
|
74607
74932
|
invoiceDate: optional3(string4()),
|
|
74608
74933
|
dueDate: optional3(string4()),
|
|
74609
74934
|
status: optional3(string4()),
|
|
74610
|
-
|
|
74935
|
+
amountDetails: optional3(AmountDetailsValidationError$inboundSchema),
|
|
74611
74936
|
request$: instanceOfType(Request),
|
|
74612
74937
|
response$: instanceOfType(Response),
|
|
74613
74938
|
body$: stringType()
|
|
@@ -74624,7 +74949,7 @@ var init_updateinvoiceerror = __esm(() => {
|
|
|
74624
74949
|
invoiceDate: stringType().optional(),
|
|
74625
74950
|
dueDate: stringType().optional(),
|
|
74626
74951
|
status: stringType().optional(),
|
|
74627
|
-
|
|
74952
|
+
amountDetails: AmountDetailsValidationError$outboundSchema.optional()
|
|
74628
74953
|
}));
|
|
74629
74954
|
});
|
|
74630
74955
|
|
|
@@ -74637,8 +74962,9 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
74637
74962
|
init_mooverror();
|
|
74638
74963
|
UpdateIssuedCardError = class UpdateIssuedCardError extends MoovError {
|
|
74639
74964
|
state;
|
|
74640
|
-
|
|
74641
|
-
|
|
74965
|
+
nickname;
|
|
74966
|
+
metadata;
|
|
74967
|
+
billingAddress;
|
|
74642
74968
|
data$;
|
|
74643
74969
|
constructor(err, httpMeta) {
|
|
74644
74970
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -74646,17 +74972,20 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
74646
74972
|
this.data$ = err;
|
|
74647
74973
|
if (err.state != null)
|
|
74648
74974
|
this.state = err.state;
|
|
74649
|
-
if (err.
|
|
74650
|
-
this.
|
|
74651
|
-
if (err.
|
|
74652
|
-
this.
|
|
74975
|
+
if (err.nickname != null)
|
|
74976
|
+
this.nickname = err.nickname;
|
|
74977
|
+
if (err.metadata != null)
|
|
74978
|
+
this.metadata = err.metadata;
|
|
74979
|
+
if (err.billingAddress != null)
|
|
74980
|
+
this.billingAddress = err.billingAddress;
|
|
74653
74981
|
this.name = "UpdateIssuedCardError";
|
|
74654
74982
|
}
|
|
74655
74983
|
};
|
|
74656
74984
|
UpdateIssuedCardError$inboundSchema = objectType({
|
|
74657
74985
|
state: optional3(string4()),
|
|
74658
|
-
|
|
74659
|
-
|
|
74986
|
+
nickname: optional3(string4()),
|
|
74987
|
+
metadata: optional3(string4()),
|
|
74988
|
+
billingAddress: optional3(AddressError$inboundSchema),
|
|
74660
74989
|
request$: instanceOfType(Request),
|
|
74661
74990
|
response$: instanceOfType(Response),
|
|
74662
74991
|
body$: stringType()
|
|
@@ -74669,8 +74998,9 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
74669
74998
|
});
|
|
74670
74999
|
UpdateIssuedCardError$outboundSchema = instanceOfType(UpdateIssuedCardError).transform((v2) => v2.data$).pipe(objectType({
|
|
74671
75000
|
state: stringType().optional(),
|
|
74672
|
-
|
|
74673
|
-
|
|
75001
|
+
nickname: stringType().optional(),
|
|
75002
|
+
metadata: stringType().optional(),
|
|
75003
|
+
billingAddress: AddressError$outboundSchema.optional()
|
|
74674
75004
|
}));
|
|
74675
75005
|
});
|
|
74676
75006
|
|
|
@@ -74687,6 +75017,7 @@ var init_updatepaymentlinkerror = __esm(() => {
|
|
|
74687
75017
|
display;
|
|
74688
75018
|
payment;
|
|
74689
75019
|
payout;
|
|
75020
|
+
customAmountPayment;
|
|
74690
75021
|
lineItems;
|
|
74691
75022
|
amountDetails;
|
|
74692
75023
|
data$;
|
|
@@ -74704,6 +75035,9 @@ var init_updatepaymentlinkerror = __esm(() => {
|
|
|
74704
75035
|
this.payment = err.payment;
|
|
74705
75036
|
if (err.payout != null)
|
|
74706
75037
|
this.payout = err.payout;
|
|
75038
|
+
if (err.customAmountPayment != null) {
|
|
75039
|
+
this.customAmountPayment = err.customAmountPayment;
|
|
75040
|
+
}
|
|
74707
75041
|
if (err.lineItems != null)
|
|
74708
75042
|
this.lineItems = err.lineItems;
|
|
74709
75043
|
if (err.amountDetails != null)
|
|
@@ -74717,6 +75051,7 @@ var init_updatepaymentlinkerror = __esm(() => {
|
|
|
74717
75051
|
display: optional3(DisplayOptionsError$inboundSchema),
|
|
74718
75052
|
payment: optional3(PaymentDetailsError$inboundSchema),
|
|
74719
75053
|
payout: optional3(PayoutDetailsError$inboundSchema),
|
|
75054
|
+
customAmountPayment: optional3(CustomAmountPaymentDetailsError$inboundSchema),
|
|
74720
75055
|
lineItems: optional3(CreatePaymentLinkLineItemsValidationError$inboundSchema),
|
|
74721
75056
|
amountDetails: optional3(UpdatePaymentLinkAmountDetailsValidationError$inboundSchema),
|
|
74722
75057
|
request$: instanceOfType(Request),
|
|
@@ -74735,6 +75070,7 @@ var init_updatepaymentlinkerror = __esm(() => {
|
|
|
74735
75070
|
display: DisplayOptionsError$outboundSchema.optional(),
|
|
74736
75071
|
payment: PaymentDetailsError$outboundSchema.optional(),
|
|
74737
75072
|
payout: PayoutDetailsError$outboundSchema.optional(),
|
|
75073
|
+
customAmountPayment: CustomAmountPaymentDetailsError$outboundSchema.optional(),
|
|
74738
75074
|
lineItems: CreatePaymentLinkLineItemsValidationError$outboundSchema.optional(),
|
|
74739
75075
|
amountDetails: UpdatePaymentLinkAmountDetailsValidationError$outboundSchema.optional()
|
|
74740
75076
|
}));
|
|
@@ -79156,6 +79492,41 @@ var init_listbankaccounts = __esm(() => {
|
|
|
79156
79492
|
});
|
|
79157
79493
|
});
|
|
79158
79494
|
|
|
79495
|
+
// src/models/operations/listcancellations.ts
|
|
79496
|
+
var ListCancellationsRequest$inboundSchema, ListCancellationsRequest$outboundSchema, ListCancellationsResponse$inboundSchema, ListCancellationsResponse$outboundSchema;
|
|
79497
|
+
var init_listcancellations = __esm(() => {
|
|
79498
|
+
init_v3();
|
|
79499
|
+
init_primitives();
|
|
79500
|
+
init_primitives2();
|
|
79501
|
+
init_components();
|
|
79502
|
+
ListCancellationsRequest$inboundSchema = objectType({
|
|
79503
|
+
accountID: string4(),
|
|
79504
|
+
transferID: string4()
|
|
79505
|
+
});
|
|
79506
|
+
ListCancellationsRequest$outboundSchema = objectType({
|
|
79507
|
+
accountID: stringType(),
|
|
79508
|
+
transferID: stringType()
|
|
79509
|
+
});
|
|
79510
|
+
ListCancellationsResponse$inboundSchema = objectType({
|
|
79511
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
79512
|
+
Result: arrayType(Cancellation$inboundSchema)
|
|
79513
|
+
}).transform((v2) => {
|
|
79514
|
+
return remap(v2, {
|
|
79515
|
+
Headers: "headers",
|
|
79516
|
+
Result: "result"
|
|
79517
|
+
});
|
|
79518
|
+
});
|
|
79519
|
+
ListCancellationsResponse$outboundSchema = objectType({
|
|
79520
|
+
headers: recordType(arrayType(stringType())),
|
|
79521
|
+
result: arrayType(Cancellation$outboundSchema)
|
|
79522
|
+
}).transform((v2) => {
|
|
79523
|
+
return remap(v2, {
|
|
79524
|
+
headers: "Headers",
|
|
79525
|
+
result: "Result"
|
|
79526
|
+
});
|
|
79527
|
+
});
|
|
79528
|
+
});
|
|
79529
|
+
|
|
79159
79530
|
// src/models/operations/listcapabilities.ts
|
|
79160
79531
|
var ListCapabilitiesRequest$inboundSchema, ListCapabilitiesRequest$outboundSchema, ListCapabilitiesResponse$inboundSchema, ListCapabilitiesResponse$outboundSchema;
|
|
79161
79532
|
var init_listcapabilities = __esm(() => {
|
|
@@ -82385,6 +82756,7 @@ var init_operations = __esm(() => {
|
|
|
82385
82756
|
init_listaccountterminalapplications();
|
|
82386
82757
|
init_listadjustments();
|
|
82387
82758
|
init_listbankaccounts();
|
|
82759
|
+
init_listcancellations();
|
|
82388
82760
|
init_listcapabilities();
|
|
82389
82761
|
init_listcards();
|
|
82390
82762
|
init_listconnectedaccountsforaccount();
|
|
@@ -82474,16 +82846,19 @@ var init_async = __esm(() => {
|
|
|
82474
82846
|
[Symbol.toStringTag] = "APIPromise";
|
|
82475
82847
|
constructor(p) {
|
|
82476
82848
|
this.#promise = p instanceof Promise ? p : Promise.resolve(p);
|
|
82477
|
-
this.#unwrapped = p instanceof Promise ?
|
|
82849
|
+
this.#unwrapped = p instanceof Promise ? null : Promise.resolve(p[0]);
|
|
82850
|
+
}
|
|
82851
|
+
#getUnwrapped() {
|
|
82852
|
+
return this.#unwrapped ??= this.#promise.then(([value]) => value);
|
|
82478
82853
|
}
|
|
82479
82854
|
then(onfulfilled, onrejected) {
|
|
82480
82855
|
return this.#promise.then(onfulfilled ? ([value]) => onfulfilled(value) : undefined, onrejected);
|
|
82481
82856
|
}
|
|
82482
82857
|
catch(onrejected) {
|
|
82483
|
-
return this.#
|
|
82858
|
+
return this.#getUnwrapped().catch(onrejected);
|
|
82484
82859
|
}
|
|
82485
82860
|
finally(onfinally) {
|
|
82486
|
-
return this.#
|
|
82861
|
+
return this.#getUnwrapped().finally(onfinally);
|
|
82487
82862
|
}
|
|
82488
82863
|
$inspect() {
|
|
82489
82864
|
return this.#promise;
|
|
@@ -82805,21 +83180,19 @@ var init_accountsCreate2 = __esm(() => {
|
|
|
82805
83180
|
};
|
|
82806
83181
|
tool$accountsCreate = {
|
|
82807
83182
|
name: "accounts-create",
|
|
82808
|
-
description: `You can create
|
|
82809
|
-
information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/requirements/).
|
|
83183
|
+
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/).
|
|
82810
83184
|
|
|
82811
|
-
If you
|
|
82812
|
-
+ Send Moov the user [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance.
|
|
82813
|
-
|
|
82814
|
-
|
|
83185
|
+
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:
|
|
83186
|
+
+ 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.
|
|
83187
|
+
+ 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.
|
|
83188
|
+
|
|
83189
|
+
If you're creating a business account, depending on the business type, you'll also need to:
|
|
82815
83190
|
+ Provide [business representatives](https://docs.moov.io/api/moov-accounts/representatives/) after creating the account.
|
|
82816
83191
|
+ [Patch](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account to indicate that business representative ownership information is complete.
|
|
82817
83192
|
|
|
82818
|
-
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/).
|
|
82819
|
-
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.
|
|
83193
|
+
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.
|
|
82820
83194
|
|
|
82821
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
82822
|
-
to specify the \`/accounts.write\` scope.`,
|
|
83195
|
+
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.`,
|
|
82823
83196
|
args: args3,
|
|
82824
83197
|
tool: async (client, args4, ctx) => {
|
|
82825
83198
|
const [result, apiCall] = await accountsCreate(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -86856,7 +87229,7 @@ var init_capabilitiesDisable2 = __esm(() => {
|
|
|
86856
87229
|
};
|
|
86857
87230
|
tool$capabilitiesDisable = {
|
|
86858
87231
|
name: "capabilities-disable",
|
|
86859
|
-
description: `Disable a specific capability that an account has requested. Read our [capabilities
|
|
87232
|
+
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.
|
|
86860
87233
|
|
|
86861
87234
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
86862
87235
|
you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
|
|
@@ -86970,7 +87343,7 @@ var init_capabilitiesGet2 = __esm(() => {
|
|
|
86970
87343
|
};
|
|
86971
87344
|
tool$capabilitiesGet = {
|
|
86972
87345
|
name: "capabilities-get",
|
|
86973
|
-
description: `Retrieve a specific capability that an account has requested. Read our [capabilities
|
|
87346
|
+
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.
|
|
86974
87347
|
|
|
86975
87348
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
86976
87349
|
you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
|
|
@@ -87083,7 +87456,7 @@ var init_capabilitiesList2 = __esm(() => {
|
|
|
87083
87456
|
name: "capabilities-list",
|
|
87084
87457
|
description: `Retrieve all the capabilities an account has requested.
|
|
87085
87458
|
|
|
87086
|
-
Read our [capabilities
|
|
87459
|
+
Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
|
|
87087
87460
|
|
|
87088
87461
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87089
87462
|
you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
|
|
@@ -87196,7 +87569,7 @@ var init_capabilitiesRequest2 = __esm(() => {
|
|
|
87196
87569
|
};
|
|
87197
87570
|
tool$capabilitiesRequest = {
|
|
87198
87571
|
name: "capabilities-request",
|
|
87199
|
-
description: `Request capabilities for a specific account. Read our [capabilities
|
|
87572
|
+
description: `Request capabilities for a specific account. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
|
|
87200
87573
|
|
|
87201
87574
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
87202
87575
|
you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
|
|
@@ -87236,7 +87609,7 @@ async function $do42(client, request, options) {
|
|
|
87236
87609
|
charEncoding: "percent"
|
|
87237
87610
|
})
|
|
87238
87611
|
};
|
|
87239
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
87612
|
+
const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
|
|
87240
87613
|
const headers = new Headers(compactMap({
|
|
87241
87614
|
Accept: "application/json"
|
|
87242
87615
|
}));
|
|
@@ -87351,7 +87724,7 @@ async function $do43(client, request, options) {
|
|
|
87351
87724
|
charEncoding: "percent"
|
|
87352
87725
|
})
|
|
87353
87726
|
};
|
|
87354
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
87727
|
+
const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}/details")(pathParams);
|
|
87355
87728
|
const headers = new Headers(compactMap({
|
|
87356
87729
|
Accept: "application/json"
|
|
87357
87730
|
}));
|
|
@@ -87464,7 +87837,7 @@ async function $do44(client, request, options) {
|
|
|
87464
87837
|
charEncoding: "percent"
|
|
87465
87838
|
})
|
|
87466
87839
|
};
|
|
87467
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
87840
|
+
const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
|
|
87468
87841
|
const query = encodeFormQuery({
|
|
87469
87842
|
count: payload.count,
|
|
87470
87843
|
skip: payload.skip,
|
|
@@ -87581,7 +87954,7 @@ async function $do45(client, request, options) {
|
|
|
87581
87954
|
charEncoding: "percent"
|
|
87582
87955
|
})
|
|
87583
87956
|
};
|
|
87584
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
87957
|
+
const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
|
|
87585
87958
|
const headers = new Headers(compactMap({
|
|
87586
87959
|
"Content-Type": "application/json",
|
|
87587
87960
|
Accept: "application/json"
|
|
@@ -87698,7 +88071,7 @@ async function $do46(client, request, options) {
|
|
|
87698
88071
|
charEncoding: "percent"
|
|
87699
88072
|
})
|
|
87700
88073
|
};
|
|
87701
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
88074
|
+
const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
|
|
87702
88075
|
const headers = new Headers(compactMap({
|
|
87703
88076
|
"Content-Type": "application/json",
|
|
87704
88077
|
Accept: "application/json"
|
|
@@ -102146,11 +102519,126 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102146
102519
|
};
|
|
102147
102520
|
});
|
|
102148
102521
|
|
|
102149
|
-
// src/funcs/
|
|
102150
|
-
function
|
|
102522
|
+
// src/funcs/transfersListCancellations.ts
|
|
102523
|
+
function transfersListCancellations(client, request, options) {
|
|
102151
102524
|
return new APIPromise($do170(client, request, options));
|
|
102152
102525
|
}
|
|
102153
102526
|
async function $do170(client, request, options) {
|
|
102527
|
+
const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102528
|
+
if (!parsed.ok) {
|
|
102529
|
+
return [parsed, { status: "invalid" }];
|
|
102530
|
+
}
|
|
102531
|
+
const payload = parsed.value;
|
|
102532
|
+
const body = null;
|
|
102533
|
+
const pathParams = {
|
|
102534
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
102535
|
+
explode: false,
|
|
102536
|
+
charEncoding: "percent"
|
|
102537
|
+
}),
|
|
102538
|
+
transferID: encodeSimple("transferID", payload.transferID, {
|
|
102539
|
+
explode: false,
|
|
102540
|
+
charEncoding: "percent"
|
|
102541
|
+
})
|
|
102542
|
+
};
|
|
102543
|
+
const path = pathToFunc("/accounts/{accountID}/transfers/{transferID}/cancellations")(pathParams);
|
|
102544
|
+
const headers = new Headers(compactMap({
|
|
102545
|
+
Accept: "application/json"
|
|
102546
|
+
}));
|
|
102547
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
102548
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
102549
|
+
const context = {
|
|
102550
|
+
options: client._options,
|
|
102551
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
102552
|
+
operationID: "listCancellations",
|
|
102553
|
+
oAuth2Scopes: null,
|
|
102554
|
+
resolvedSecurity: requestSecurity,
|
|
102555
|
+
securitySource: client._options.security,
|
|
102556
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
102557
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
102558
|
+
};
|
|
102559
|
+
const requestRes = client._createRequest(context, {
|
|
102560
|
+
security: requestSecurity,
|
|
102561
|
+
method: "GET",
|
|
102562
|
+
baseURL: options?.serverURL,
|
|
102563
|
+
path,
|
|
102564
|
+
headers,
|
|
102565
|
+
body,
|
|
102566
|
+
userAgent: client._options.userAgent,
|
|
102567
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
102568
|
+
}, options);
|
|
102569
|
+
if (!requestRes.ok) {
|
|
102570
|
+
return [requestRes, { status: "invalid" }];
|
|
102571
|
+
}
|
|
102572
|
+
const req = requestRes.value;
|
|
102573
|
+
const doResult = await client._do(req, {
|
|
102574
|
+
context,
|
|
102575
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
102576
|
+
retryConfig: context.retryConfig,
|
|
102577
|
+
retryCodes: context.retryCodes
|
|
102578
|
+
});
|
|
102579
|
+
if (!doResult.ok) {
|
|
102580
|
+
return [doResult, { status: "request-error", request: req }];
|
|
102581
|
+
}
|
|
102582
|
+
const response = doResult.value;
|
|
102583
|
+
const responseFields = {
|
|
102584
|
+
HttpMeta: { Response: response, Request: req }
|
|
102585
|
+
};
|
|
102586
|
+
const [result] = await match(json(200, ListCancellationsResponse$inboundSchema, {
|
|
102587
|
+
hdrs: true,
|
|
102588
|
+
key: "Result"
|
|
102589
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
102590
|
+
if (!result.ok) {
|
|
102591
|
+
return [result, { status: "complete", request: req, response }];
|
|
102592
|
+
}
|
|
102593
|
+
return [result, { status: "complete", request: req, response }];
|
|
102594
|
+
}
|
|
102595
|
+
var init_transfersListCancellations = __esm(() => {
|
|
102596
|
+
init_encodings();
|
|
102597
|
+
init_http();
|
|
102598
|
+
init_matchers();
|
|
102599
|
+
init_primitives();
|
|
102600
|
+
init_schemas4();
|
|
102601
|
+
init_security();
|
|
102602
|
+
init_url();
|
|
102603
|
+
init_operations();
|
|
102604
|
+
init_async();
|
|
102605
|
+
});
|
|
102606
|
+
|
|
102607
|
+
// src/mcp-server/tools/transfersListCancellations.ts
|
|
102608
|
+
var args165, tool$transfersListCancellations;
|
|
102609
|
+
var init_transfersListCancellations2 = __esm(() => {
|
|
102610
|
+
init_transfersListCancellations();
|
|
102611
|
+
init_operations();
|
|
102612
|
+
init_tools();
|
|
102613
|
+
args165 = {
|
|
102614
|
+
request: ListCancellationsRequest$inboundSchema
|
|
102615
|
+
};
|
|
102616
|
+
tool$transfersListCancellations = {
|
|
102617
|
+
name: "transfers-list-cancellations",
|
|
102618
|
+
description: ` Get a list of cancellations for a transfer.
|
|
102619
|
+
|
|
102620
|
+
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
102621
|
+
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
102622
|
+
args: args165,
|
|
102623
|
+
tool: async (client, args166, ctx) => {
|
|
102624
|
+
const [result, apiCall] = await transfersListCancellations(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102625
|
+
if (!result.ok) {
|
|
102626
|
+
return {
|
|
102627
|
+
content: [{ type: "text", text: result.error.message }],
|
|
102628
|
+
isError: true
|
|
102629
|
+
};
|
|
102630
|
+
}
|
|
102631
|
+
const value = result.value.result;
|
|
102632
|
+
return formatResult(value, apiCall);
|
|
102633
|
+
}
|
|
102634
|
+
};
|
|
102635
|
+
});
|
|
102636
|
+
|
|
102637
|
+
// src/funcs/transfersListRefunds.ts
|
|
102638
|
+
function transfersListRefunds(client, request, options) {
|
|
102639
|
+
return new APIPromise($do171(client, request, options));
|
|
102640
|
+
}
|
|
102641
|
+
async function $do171(client, request, options) {
|
|
102154
102642
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102155
102643
|
if (!parsed.ok) {
|
|
102156
102644
|
return [parsed, { status: "invalid" }];
|
|
@@ -102232,12 +102720,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
102232
102720
|
});
|
|
102233
102721
|
|
|
102234
102722
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
102235
|
-
var
|
|
102723
|
+
var args166, tool$transfersListRefunds;
|
|
102236
102724
|
var init_transfersListRefunds2 = __esm(() => {
|
|
102237
102725
|
init_transfersListRefunds();
|
|
102238
102726
|
init_operations();
|
|
102239
102727
|
init_tools();
|
|
102240
|
-
|
|
102728
|
+
args166 = {
|
|
102241
102729
|
request: ListRefundsRequest$inboundSchema
|
|
102242
102730
|
};
|
|
102243
102731
|
tool$transfersListRefunds = {
|
|
@@ -102246,9 +102734,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
102246
102734
|
|
|
102247
102735
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102248
102736
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
102249
|
-
args:
|
|
102250
|
-
tool: async (client,
|
|
102251
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
102737
|
+
args: args166,
|
|
102738
|
+
tool: async (client, args167, ctx) => {
|
|
102739
|
+
const [result, apiCall] = await transfersListRefunds(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102252
102740
|
if (!result.ok) {
|
|
102253
102741
|
return {
|
|
102254
102742
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102263,9 +102751,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102263
102751
|
|
|
102264
102752
|
// src/funcs/transfersUpdate.ts
|
|
102265
102753
|
function transfersUpdate(client, request, options) {
|
|
102266
|
-
return new APIPromise($
|
|
102754
|
+
return new APIPromise($do172(client, request, options));
|
|
102267
102755
|
}
|
|
102268
|
-
async function $
|
|
102756
|
+
async function $do172(client, request, options) {
|
|
102269
102757
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102270
102758
|
if (!parsed.ok) {
|
|
102271
102759
|
return [parsed, { status: "invalid" }];
|
|
@@ -102351,12 +102839,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
102351
102839
|
});
|
|
102352
102840
|
|
|
102353
102841
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
102354
|
-
var
|
|
102842
|
+
var args167, tool$transfersUpdate;
|
|
102355
102843
|
var init_transfersUpdate2 = __esm(() => {
|
|
102356
102844
|
init_transfersUpdate();
|
|
102357
102845
|
init_operations();
|
|
102358
102846
|
init_tools();
|
|
102359
|
-
|
|
102847
|
+
args167 = {
|
|
102360
102848
|
request: UpdateTransferRequest$inboundSchema
|
|
102361
102849
|
};
|
|
102362
102850
|
tool$transfersUpdate = {
|
|
@@ -102367,9 +102855,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
102367
102855
|
|
|
102368
102856
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102369
102857
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
102370
|
-
args:
|
|
102371
|
-
tool: async (client,
|
|
102372
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
102858
|
+
args: args167,
|
|
102859
|
+
tool: async (client, args168, ctx) => {
|
|
102860
|
+
const [result, apiCall] = await transfersUpdate(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102373
102861
|
if (!result.ok) {
|
|
102374
102862
|
return {
|
|
102375
102863
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102384,9 +102872,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102384
102872
|
|
|
102385
102873
|
// src/funcs/underwritingGet.ts
|
|
102386
102874
|
function underwritingGet(client, request, options) {
|
|
102387
|
-
return new APIPromise($
|
|
102875
|
+
return new APIPromise($do173(client, request, options));
|
|
102388
102876
|
}
|
|
102389
|
-
async function $
|
|
102877
|
+
async function $do173(client, request, options) {
|
|
102390
102878
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102391
102879
|
if (!parsed.ok) {
|
|
102392
102880
|
return [parsed, { status: "invalid" }];
|
|
@@ -102464,12 +102952,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
102464
102952
|
});
|
|
102465
102953
|
|
|
102466
102954
|
// src/mcp-server/tools/underwritingGet.ts
|
|
102467
|
-
var
|
|
102955
|
+
var args168, tool$underwritingGet;
|
|
102468
102956
|
var init_underwritingGet2 = __esm(() => {
|
|
102469
102957
|
init_underwritingGet();
|
|
102470
102958
|
init_operations();
|
|
102471
102959
|
init_tools();
|
|
102472
|
-
|
|
102960
|
+
args168 = {
|
|
102473
102961
|
request: GetUnderwritingRequest$inboundSchema
|
|
102474
102962
|
};
|
|
102475
102963
|
tool$underwritingGet = {
|
|
@@ -102480,9 +102968,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
102480
102968
|
|
|
102481
102969
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102482
102970
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
102483
|
-
args:
|
|
102484
|
-
tool: async (client,
|
|
102485
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
102971
|
+
args: args168,
|
|
102972
|
+
tool: async (client, args169, ctx) => {
|
|
102973
|
+
const [result, apiCall] = await underwritingGet(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102486
102974
|
if (!result.ok) {
|
|
102487
102975
|
return {
|
|
102488
102976
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102497,9 +102985,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
102497
102985
|
|
|
102498
102986
|
// src/funcs/underwritingSave.ts
|
|
102499
102987
|
function underwritingSave(client, request, options) {
|
|
102500
|
-
return new APIPromise($
|
|
102988
|
+
return new APIPromise($do174(client, request, options));
|
|
102501
102989
|
}
|
|
102502
|
-
async function $
|
|
102990
|
+
async function $do174(client, request, options) {
|
|
102503
102991
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102504
102992
|
if (!parsed.ok) {
|
|
102505
102993
|
return [parsed, { status: "invalid" }];
|
|
@@ -102583,12 +103071,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
102583
103071
|
});
|
|
102584
103072
|
|
|
102585
103073
|
// src/mcp-server/tools/underwritingSave.ts
|
|
102586
|
-
var
|
|
103074
|
+
var args169, tool$underwritingSave;
|
|
102587
103075
|
var init_underwritingSave2 = __esm(() => {
|
|
102588
103076
|
init_underwritingSave();
|
|
102589
103077
|
init_operations();
|
|
102590
103078
|
init_tools();
|
|
102591
|
-
|
|
103079
|
+
args169 = {
|
|
102592
103080
|
request: SaveUnderwritingRequest$inboundSchema
|
|
102593
103081
|
};
|
|
102594
103082
|
tool$underwritingSave = {
|
|
@@ -102599,9 +103087,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
102599
103087
|
|
|
102600
103088
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102601
103089
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
102602
|
-
args:
|
|
102603
|
-
tool: async (client,
|
|
102604
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
103090
|
+
args: args169,
|
|
103091
|
+
tool: async (client, args170, ctx) => {
|
|
103092
|
+
const [result, apiCall] = await underwritingSave(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102605
103093
|
if (!result.ok) {
|
|
102606
103094
|
return {
|
|
102607
103095
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102616,9 +103104,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
102616
103104
|
|
|
102617
103105
|
// src/funcs/underwritingUpsert.ts
|
|
102618
103106
|
function underwritingUpsert(client, request, options) {
|
|
102619
|
-
return new APIPromise($
|
|
103107
|
+
return new APIPromise($do175(client, request, options));
|
|
102620
103108
|
}
|
|
102621
|
-
async function $
|
|
103109
|
+
async function $do175(client, request, options) {
|
|
102622
103110
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102623
103111
|
if (!parsed.ok) {
|
|
102624
103112
|
return [parsed, { status: "invalid" }];
|
|
@@ -102702,12 +103190,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
102702
103190
|
});
|
|
102703
103191
|
|
|
102704
103192
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
102705
|
-
var
|
|
103193
|
+
var args170, tool$underwritingUpsert;
|
|
102706
103194
|
var init_underwritingUpsert2 = __esm(() => {
|
|
102707
103195
|
init_underwritingUpsert();
|
|
102708
103196
|
init_operations();
|
|
102709
103197
|
init_tools();
|
|
102710
|
-
|
|
103198
|
+
args170 = {
|
|
102711
103199
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
102712
103200
|
};
|
|
102713
103201
|
tool$underwritingUpsert = {
|
|
@@ -102718,9 +103206,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
102718
103206
|
|
|
102719
103207
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102720
103208
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
102721
|
-
args:
|
|
102722
|
-
tool: async (client,
|
|
102723
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
103209
|
+
args: args170,
|
|
103210
|
+
tool: async (client, args171, ctx) => {
|
|
103211
|
+
const [result, apiCall] = await underwritingUpsert(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102724
103212
|
if (!result.ok) {
|
|
102725
103213
|
return {
|
|
102726
103214
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102735,9 +103223,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
102735
103223
|
|
|
102736
103224
|
// src/funcs/walletsCreate.ts
|
|
102737
103225
|
function walletsCreate(client, request, options) {
|
|
102738
|
-
return new APIPromise($
|
|
103226
|
+
return new APIPromise($do176(client, request, options));
|
|
102739
103227
|
}
|
|
102740
|
-
async function $
|
|
103228
|
+
async function $do176(client, request, options) {
|
|
102741
103229
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102742
103230
|
if (!parsed.ok) {
|
|
102743
103231
|
return [parsed, { status: "invalid" }];
|
|
@@ -102819,12 +103307,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
102819
103307
|
});
|
|
102820
103308
|
|
|
102821
103309
|
// src/mcp-server/tools/walletsCreate.ts
|
|
102822
|
-
var
|
|
103310
|
+
var args171, tool$walletsCreate;
|
|
102823
103311
|
var init_walletsCreate2 = __esm(() => {
|
|
102824
103312
|
init_walletsCreate();
|
|
102825
103313
|
init_operations();
|
|
102826
103314
|
init_tools();
|
|
102827
|
-
|
|
103315
|
+
args171 = {
|
|
102828
103316
|
request: CreateWalletRequest$inboundSchema
|
|
102829
103317
|
};
|
|
102830
103318
|
tool$walletsCreate = {
|
|
@@ -102835,9 +103323,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
102835
103323
|
|
|
102836
103324
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102837
103325
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
102838
|
-
args:
|
|
102839
|
-
tool: async (client,
|
|
102840
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
103326
|
+
args: args171,
|
|
103327
|
+
tool: async (client, args172, ctx) => {
|
|
103328
|
+
const [result, apiCall] = await walletsCreate(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102841
103329
|
if (!result.ok) {
|
|
102842
103330
|
return {
|
|
102843
103331
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102852,9 +103340,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
102852
103340
|
|
|
102853
103341
|
// src/funcs/walletsGet.ts
|
|
102854
103342
|
function walletsGet(client, request, options) {
|
|
102855
|
-
return new APIPromise($
|
|
103343
|
+
return new APIPromise($do177(client, request, options));
|
|
102856
103344
|
}
|
|
102857
|
-
async function $
|
|
103345
|
+
async function $do177(client, request, options) {
|
|
102858
103346
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102859
103347
|
if (!parsed.ok) {
|
|
102860
103348
|
return [parsed, { status: "invalid" }];
|
|
@@ -102936,12 +103424,12 @@ var init_walletsGet = __esm(() => {
|
|
|
102936
103424
|
});
|
|
102937
103425
|
|
|
102938
103426
|
// src/mcp-server/tools/walletsGet.ts
|
|
102939
|
-
var
|
|
103427
|
+
var args172, tool$walletsGet;
|
|
102940
103428
|
var init_walletsGet2 = __esm(() => {
|
|
102941
103429
|
init_walletsGet();
|
|
102942
103430
|
init_operations();
|
|
102943
103431
|
init_tools();
|
|
102944
|
-
|
|
103432
|
+
args172 = {
|
|
102945
103433
|
request: GetWalletRequest$inboundSchema
|
|
102946
103434
|
};
|
|
102947
103435
|
tool$walletsGet = {
|
|
@@ -102952,9 +103440,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
102952
103440
|
|
|
102953
103441
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102954
103442
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
102955
|
-
args:
|
|
102956
|
-
tool: async (client,
|
|
102957
|
-
const [result, apiCall] = await walletsGet(client,
|
|
103443
|
+
args: args172,
|
|
103444
|
+
tool: async (client, args173, ctx) => {
|
|
103445
|
+
const [result, apiCall] = await walletsGet(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102958
103446
|
if (!result.ok) {
|
|
102959
103447
|
return {
|
|
102960
103448
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102969,9 +103457,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
102969
103457
|
|
|
102970
103458
|
// src/funcs/walletsList.ts
|
|
102971
103459
|
function walletsList(client, request, options) {
|
|
102972
|
-
return new APIPromise($
|
|
103460
|
+
return new APIPromise($do178(client, request, options));
|
|
102973
103461
|
}
|
|
102974
|
-
async function $
|
|
103462
|
+
async function $do178(client, request, options) {
|
|
102975
103463
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102976
103464
|
if (!parsed.ok) {
|
|
102977
103465
|
return [parsed, { status: "invalid" }];
|
|
@@ -103059,12 +103547,12 @@ var init_walletsList = __esm(() => {
|
|
|
103059
103547
|
});
|
|
103060
103548
|
|
|
103061
103549
|
// src/mcp-server/tools/walletsList.ts
|
|
103062
|
-
var
|
|
103550
|
+
var args173, tool$walletsList;
|
|
103063
103551
|
var init_walletsList2 = __esm(() => {
|
|
103064
103552
|
init_walletsList();
|
|
103065
103553
|
init_operations();
|
|
103066
103554
|
init_tools();
|
|
103067
|
-
|
|
103555
|
+
args173 = {
|
|
103068
103556
|
request: ListWalletsRequest$inboundSchema
|
|
103069
103557
|
};
|
|
103070
103558
|
tool$walletsList = {
|
|
@@ -103075,9 +103563,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103075
103563
|
|
|
103076
103564
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103077
103565
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103078
|
-
args:
|
|
103079
|
-
tool: async (client,
|
|
103080
|
-
const [result, apiCall] = await walletsList(client,
|
|
103566
|
+
args: args173,
|
|
103567
|
+
tool: async (client, args174, ctx) => {
|
|
103568
|
+
const [result, apiCall] = await walletsList(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103081
103569
|
if (!result.ok) {
|
|
103082
103570
|
return {
|
|
103083
103571
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103092,9 +103580,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103092
103580
|
|
|
103093
103581
|
// src/funcs/walletsUpdate.ts
|
|
103094
103582
|
function walletsUpdate(client, request, options) {
|
|
103095
|
-
return new APIPromise($
|
|
103583
|
+
return new APIPromise($do179(client, request, options));
|
|
103096
103584
|
}
|
|
103097
|
-
async function $
|
|
103585
|
+
async function $do179(client, request, options) {
|
|
103098
103586
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103099
103587
|
if (!parsed.ok) {
|
|
103100
103588
|
return [parsed, { status: "invalid" }];
|
|
@@ -103180,12 +103668,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
103180
103668
|
});
|
|
103181
103669
|
|
|
103182
103670
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
103183
|
-
var
|
|
103671
|
+
var args174, tool$walletsUpdate;
|
|
103184
103672
|
var init_walletsUpdate2 = __esm(() => {
|
|
103185
103673
|
init_walletsUpdate();
|
|
103186
103674
|
init_operations();
|
|
103187
103675
|
init_tools();
|
|
103188
|
-
|
|
103676
|
+
args174 = {
|
|
103189
103677
|
request: UpdateWalletRequest$inboundSchema
|
|
103190
103678
|
};
|
|
103191
103679
|
tool$walletsUpdate = {
|
|
@@ -103196,9 +103684,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103196
103684
|
|
|
103197
103685
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103198
103686
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
103199
|
-
args:
|
|
103200
|
-
tool: async (client,
|
|
103201
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
103687
|
+
args: args174,
|
|
103688
|
+
tool: async (client, args175, ctx) => {
|
|
103689
|
+
const [result, apiCall] = await walletsUpdate(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103202
103690
|
if (!result.ok) {
|
|
103203
103691
|
return {
|
|
103204
103692
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103213,9 +103701,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
103213
103701
|
|
|
103214
103702
|
// src/funcs/walletTransactionsGet.ts
|
|
103215
103703
|
function walletTransactionsGet(client, request, options) {
|
|
103216
|
-
return new APIPromise($
|
|
103704
|
+
return new APIPromise($do180(client, request, options));
|
|
103217
103705
|
}
|
|
103218
|
-
async function $
|
|
103706
|
+
async function $do180(client, request, options) {
|
|
103219
103707
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103220
103708
|
if (!parsed.ok) {
|
|
103221
103709
|
return [parsed, { status: "invalid" }];
|
|
@@ -103301,12 +103789,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
103301
103789
|
});
|
|
103302
103790
|
|
|
103303
103791
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
103304
|
-
var
|
|
103792
|
+
var args175, tool$walletTransactionsGet;
|
|
103305
103793
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
103306
103794
|
init_walletTransactionsGet();
|
|
103307
103795
|
init_operations();
|
|
103308
103796
|
init_tools();
|
|
103309
|
-
|
|
103797
|
+
args175 = {
|
|
103310
103798
|
request: GetWalletTransactionRequest$inboundSchema
|
|
103311
103799
|
};
|
|
103312
103800
|
tool$walletTransactionsGet = {
|
|
@@ -103317,9 +103805,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
103317
103805
|
|
|
103318
103806
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103319
103807
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103320
|
-
args:
|
|
103321
|
-
tool: async (client,
|
|
103322
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
103808
|
+
args: args175,
|
|
103809
|
+
tool: async (client, args176, ctx) => {
|
|
103810
|
+
const [result, apiCall] = await walletTransactionsGet(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103323
103811
|
if (!result.ok) {
|
|
103324
103812
|
return {
|
|
103325
103813
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103334,9 +103822,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103334
103822
|
|
|
103335
103823
|
// src/funcs/walletTransactionsList.ts
|
|
103336
103824
|
function walletTransactionsList(client, request, options) {
|
|
103337
|
-
return new APIPromise($
|
|
103825
|
+
return new APIPromise($do181(client, request, options));
|
|
103338
103826
|
}
|
|
103339
|
-
async function $
|
|
103827
|
+
async function $do181(client, request, options) {
|
|
103340
103828
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103341
103829
|
if (!parsed.ok) {
|
|
103342
103830
|
return [parsed, { status: "invalid" }];
|
|
@@ -103436,12 +103924,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
103436
103924
|
});
|
|
103437
103925
|
|
|
103438
103926
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
103439
|
-
var
|
|
103927
|
+
var args176, tool$walletTransactionsList;
|
|
103440
103928
|
var init_walletTransactionsList2 = __esm(() => {
|
|
103441
103929
|
init_walletTransactionsList();
|
|
103442
103930
|
init_operations();
|
|
103443
103931
|
init_tools();
|
|
103444
|
-
|
|
103932
|
+
args176 = {
|
|
103445
103933
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
103446
103934
|
};
|
|
103447
103935
|
tool$walletTransactionsList = {
|
|
@@ -103452,9 +103940,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
103452
103940
|
|
|
103453
103941
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103454
103942
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103455
|
-
args:
|
|
103456
|
-
tool: async (client,
|
|
103457
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
103943
|
+
args: args176,
|
|
103944
|
+
tool: async (client, args177, ctx) => {
|
|
103945
|
+
const [result, apiCall] = await walletTransactionsList(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103458
103946
|
if (!result.ok) {
|
|
103459
103947
|
return {
|
|
103460
103948
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103469,9 +103957,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103469
103957
|
|
|
103470
103958
|
// src/funcs/webhooksCreate.ts
|
|
103471
103959
|
function webhooksCreate(client, request, options) {
|
|
103472
|
-
return new APIPromise($
|
|
103960
|
+
return new APIPromise($do182(client, request, options));
|
|
103473
103961
|
}
|
|
103474
|
-
async function $
|
|
103962
|
+
async function $do182(client, request, options) {
|
|
103475
103963
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
103476
103964
|
if (!parsed.ok) {
|
|
103477
103965
|
return [parsed, { status: "invalid" }];
|
|
@@ -103548,20 +104036,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
103548
104036
|
});
|
|
103549
104037
|
|
|
103550
104038
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
103551
|
-
var
|
|
104039
|
+
var args177, tool$webhooksCreate;
|
|
103552
104040
|
var init_webhooksCreate2 = __esm(() => {
|
|
103553
104041
|
init_webhooksCreate();
|
|
103554
104042
|
init_components();
|
|
103555
104043
|
init_tools();
|
|
103556
|
-
|
|
104044
|
+
args177 = {
|
|
103557
104045
|
request: CreateWebhook$inboundSchema
|
|
103558
104046
|
};
|
|
103559
104047
|
tool$webhooksCreate = {
|
|
103560
104048
|
name: "webhooks-create",
|
|
103561
104049
|
description: `Create a new webhook for the account.`,
|
|
103562
|
-
args:
|
|
103563
|
-
tool: async (client,
|
|
103564
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
104050
|
+
args: args177,
|
|
104051
|
+
tool: async (client, args178, ctx) => {
|
|
104052
|
+
const [result, apiCall] = await webhooksCreate(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103565
104053
|
if (!result.ok) {
|
|
103566
104054
|
return {
|
|
103567
104055
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103576,9 +104064,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
103576
104064
|
|
|
103577
104065
|
// src/funcs/webhooksDisable.ts
|
|
103578
104066
|
function webhooksDisable(client, request, options) {
|
|
103579
|
-
return new APIPromise($
|
|
104067
|
+
return new APIPromise($do183(client, request, options));
|
|
103580
104068
|
}
|
|
103581
|
-
async function $
|
|
104069
|
+
async function $do183(client, request, options) {
|
|
103582
104070
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103583
104071
|
if (!parsed.ok) {
|
|
103584
104072
|
return [parsed, { status: "invalid" }];
|
|
@@ -103655,20 +104143,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
103655
104143
|
});
|
|
103656
104144
|
|
|
103657
104145
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
103658
|
-
var
|
|
104146
|
+
var args178, tool$webhooksDisable;
|
|
103659
104147
|
var init_webhooksDisable2 = __esm(() => {
|
|
103660
104148
|
init_webhooksDisable();
|
|
103661
104149
|
init_operations();
|
|
103662
104150
|
init_tools();
|
|
103663
|
-
|
|
104151
|
+
args178 = {
|
|
103664
104152
|
request: DisableWebhookRequest$inboundSchema
|
|
103665
104153
|
};
|
|
103666
104154
|
tool$webhooksDisable = {
|
|
103667
104155
|
name: "webhooks-disable",
|
|
103668
104156
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
103669
|
-
args:
|
|
103670
|
-
tool: async (client,
|
|
103671
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
104157
|
+
args: args178,
|
|
104158
|
+
tool: async (client, args179, ctx) => {
|
|
104159
|
+
const [result, apiCall] = await webhooksDisable(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103672
104160
|
if (!result.ok) {
|
|
103673
104161
|
return {
|
|
103674
104162
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103682,9 +104170,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
103682
104170
|
|
|
103683
104171
|
// src/funcs/webhooksGet.ts
|
|
103684
104172
|
function webhooksGet(client, request, options) {
|
|
103685
|
-
return new APIPromise($
|
|
104173
|
+
return new APIPromise($do184(client, request, options));
|
|
103686
104174
|
}
|
|
103687
|
-
async function $
|
|
104175
|
+
async function $do184(client, request, options) {
|
|
103688
104176
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103689
104177
|
if (!parsed.ok) {
|
|
103690
104178
|
return [parsed, { status: "invalid" }];
|
|
@@ -103762,20 +104250,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
103762
104250
|
});
|
|
103763
104251
|
|
|
103764
104252
|
// src/mcp-server/tools/webhooksGet.ts
|
|
103765
|
-
var
|
|
104253
|
+
var args179, tool$webhooksGet;
|
|
103766
104254
|
var init_webhooksGet2 = __esm(() => {
|
|
103767
104255
|
init_webhooksGet();
|
|
103768
104256
|
init_operations();
|
|
103769
104257
|
init_tools();
|
|
103770
|
-
|
|
104258
|
+
args179 = {
|
|
103771
104259
|
request: GetWebhookRequest$inboundSchema
|
|
103772
104260
|
};
|
|
103773
104261
|
tool$webhooksGet = {
|
|
103774
104262
|
name: "webhooks-get",
|
|
103775
104263
|
description: `Get details of a specific webhook.`,
|
|
103776
|
-
args:
|
|
103777
|
-
tool: async (client,
|
|
103778
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
104264
|
+
args: args179,
|
|
104265
|
+
tool: async (client, args180, ctx) => {
|
|
104266
|
+
const [result, apiCall] = await webhooksGet(client, args180.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103779
104267
|
if (!result.ok) {
|
|
103780
104268
|
return {
|
|
103781
104269
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103790,9 +104278,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
103790
104278
|
|
|
103791
104279
|
// src/funcs/webhooksGetSecret.ts
|
|
103792
104280
|
function webhooksGetSecret(client, request, options) {
|
|
103793
|
-
return new APIPromise($
|
|
104281
|
+
return new APIPromise($do185(client, request, options));
|
|
103794
104282
|
}
|
|
103795
|
-
async function $
|
|
104283
|
+
async function $do185(client, request, options) {
|
|
103796
104284
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103797
104285
|
if (!parsed.ok) {
|
|
103798
104286
|
return [parsed, { status: "invalid" }];
|
|
@@ -103870,20 +104358,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
103870
104358
|
});
|
|
103871
104359
|
|
|
103872
104360
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
103873
|
-
var
|
|
104361
|
+
var args180, tool$webhooksGetSecret;
|
|
103874
104362
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
103875
104363
|
init_webhooksGetSecret();
|
|
103876
104364
|
init_operations();
|
|
103877
104365
|
init_tools();
|
|
103878
|
-
|
|
104366
|
+
args180 = {
|
|
103879
104367
|
request: GetWebhookSecretRequest$inboundSchema
|
|
103880
104368
|
};
|
|
103881
104369
|
tool$webhooksGetSecret = {
|
|
103882
104370
|
name: "webhooks-get-secret",
|
|
103883
104371
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
103884
|
-
args:
|
|
103885
|
-
tool: async (client,
|
|
103886
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
104372
|
+
args: args180,
|
|
104373
|
+
tool: async (client, args181, ctx) => {
|
|
104374
|
+
const [result, apiCall] = await webhooksGetSecret(client, args181.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103887
104375
|
if (!result.ok) {
|
|
103888
104376
|
return {
|
|
103889
104377
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103898,9 +104386,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
103898
104386
|
|
|
103899
104387
|
// src/funcs/webhooksList.ts
|
|
103900
104388
|
function webhooksList(client, options) {
|
|
103901
|
-
return new APIPromise($
|
|
104389
|
+
return new APIPromise($do186(client, options));
|
|
103902
104390
|
}
|
|
103903
|
-
async function $
|
|
104391
|
+
async function $do186(client, options) {
|
|
103904
104392
|
const path = pathToFunc("/webhooks")();
|
|
103905
104393
|
const headers = new Headers(compactMap({
|
|
103906
104394
|
Accept: "application/json"
|
|
@@ -103986,9 +104474,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
103986
104474
|
|
|
103987
104475
|
// src/funcs/webhooksListEventTypes.ts
|
|
103988
104476
|
function webhooksListEventTypes(client, options) {
|
|
103989
|
-
return new APIPromise($
|
|
104477
|
+
return new APIPromise($do187(client, options));
|
|
103990
104478
|
}
|
|
103991
|
-
async function $
|
|
104479
|
+
async function $do187(client, options) {
|
|
103992
104480
|
const path = pathToFunc("/event-types")();
|
|
103993
104481
|
const headers = new Headers(compactMap({
|
|
103994
104482
|
Accept: "application/json"
|
|
@@ -104074,9 +104562,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
104074
104562
|
|
|
104075
104563
|
// src/funcs/webhooksPing.ts
|
|
104076
104564
|
function webhooksPing(client, request, options) {
|
|
104077
|
-
return new APIPromise($
|
|
104565
|
+
return new APIPromise($do188(client, request, options));
|
|
104078
104566
|
}
|
|
104079
|
-
async function $
|
|
104567
|
+
async function $do188(client, request, options) {
|
|
104080
104568
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104081
104569
|
if (!parsed.ok) {
|
|
104082
104570
|
return [parsed, { status: "invalid" }];
|
|
@@ -104154,20 +104642,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
104154
104642
|
});
|
|
104155
104643
|
|
|
104156
104644
|
// src/mcp-server/tools/webhooksPing.ts
|
|
104157
|
-
var
|
|
104645
|
+
var args181, tool$webhooksPing;
|
|
104158
104646
|
var init_webhooksPing2 = __esm(() => {
|
|
104159
104647
|
init_webhooksPing();
|
|
104160
104648
|
init_operations();
|
|
104161
104649
|
init_tools();
|
|
104162
|
-
|
|
104650
|
+
args181 = {
|
|
104163
104651
|
request: PingWebhookRequest$inboundSchema
|
|
104164
104652
|
};
|
|
104165
104653
|
tool$webhooksPing = {
|
|
104166
104654
|
name: "webhooks-ping",
|
|
104167
104655
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
104168
|
-
args:
|
|
104169
|
-
tool: async (client,
|
|
104170
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
104656
|
+
args: args181,
|
|
104657
|
+
tool: async (client, args182, ctx) => {
|
|
104658
|
+
const [result, apiCall] = await webhooksPing(client, args182.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104171
104659
|
if (!result.ok) {
|
|
104172
104660
|
return {
|
|
104173
104661
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104182,9 +104670,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
104182
104670
|
|
|
104183
104671
|
// src/funcs/webhooksUpdate.ts
|
|
104184
104672
|
function webhooksUpdate(client, request, options) {
|
|
104185
|
-
return new APIPromise($
|
|
104673
|
+
return new APIPromise($do189(client, request, options));
|
|
104186
104674
|
}
|
|
104187
|
-
async function $
|
|
104675
|
+
async function $do189(client, request, options) {
|
|
104188
104676
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104189
104677
|
if (!parsed.ok) {
|
|
104190
104678
|
return [parsed, { status: "invalid" }];
|
|
@@ -104266,20 +104754,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
104266
104754
|
});
|
|
104267
104755
|
|
|
104268
104756
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
104269
|
-
var
|
|
104757
|
+
var args182, tool$webhooksUpdate;
|
|
104270
104758
|
var init_webhooksUpdate2 = __esm(() => {
|
|
104271
104759
|
init_webhooksUpdate();
|
|
104272
104760
|
init_operations();
|
|
104273
104761
|
init_tools();
|
|
104274
|
-
|
|
104762
|
+
args182 = {
|
|
104275
104763
|
request: UpdateWebhookRequest$inboundSchema
|
|
104276
104764
|
};
|
|
104277
104765
|
tool$webhooksUpdate = {
|
|
104278
104766
|
name: "webhooks-update",
|
|
104279
104767
|
description: `Update an existing webhook.`,
|
|
104280
|
-
args:
|
|
104281
|
-
tool: async (client,
|
|
104282
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
104768
|
+
args: args182,
|
|
104769
|
+
tool: async (client, args183, ctx) => {
|
|
104770
|
+
const [result, apiCall] = await webhooksUpdate(client, args183.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104283
104771
|
if (!result.ok) {
|
|
104284
104772
|
return {
|
|
104285
104773
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104296,7 +104784,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
104296
104784
|
function createMCPServer(deps) {
|
|
104297
104785
|
const server = new McpServer({
|
|
104298
104786
|
name: "Moov",
|
|
104299
|
-
version: "26.7.0-dev.
|
|
104787
|
+
version: "26.7.0-dev.4"
|
|
104300
104788
|
});
|
|
104301
104789
|
const client = new MoovCore({
|
|
104302
104790
|
security: deps.security,
|
|
@@ -104445,6 +104933,7 @@ function createMCPServer(deps) {
|
|
|
104445
104933
|
tool(tool$transfersGet);
|
|
104446
104934
|
tool(tool$transfersUpdate);
|
|
104447
104935
|
tool(tool$transfersCreateCancellation);
|
|
104936
|
+
tool(tool$transfersListCancellations);
|
|
104448
104937
|
tool(tool$transfersGetCancellation);
|
|
104449
104938
|
tool(tool$transfersInitiateRefund);
|
|
104450
104939
|
tool(tool$transfersListRefunds);
|
|
@@ -104675,6 +105164,7 @@ var init_server2 = __esm(() => {
|
|
|
104675
105164
|
init_transfersGetRefund2();
|
|
104676
105165
|
init_transfersInitiateRefund2();
|
|
104677
105166
|
init_transfersList2();
|
|
105167
|
+
init_transfersListCancellations2();
|
|
104678
105168
|
init_transfersListRefunds2();
|
|
104679
105169
|
init_transfersUpdate2();
|
|
104680
105170
|
init_underwritingGet2();
|
|
@@ -105896,7 +106386,7 @@ var routes = rn({
|
|
|
105896
106386
|
var app = Ve(routes, {
|
|
105897
106387
|
name: "mcp",
|
|
105898
106388
|
versionInfo: {
|
|
105899
|
-
currentVersion: "26.7.0-dev.
|
|
106389
|
+
currentVersion: "26.7.0-dev.4"
|
|
105900
106390
|
}
|
|
105901
106391
|
});
|
|
105902
106392
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -105904,5 +106394,5 @@ export {
|
|
|
105904
106394
|
app
|
|
105905
106395
|
};
|
|
105906
106396
|
|
|
105907
|
-
//# debugId=
|
|
106397
|
+
//# debugId=773E48B16BFC625D64756E2164756E21
|
|
105908
106398
|
//# sourceMappingURL=mcp-server.js.map
|