@moovio/sdk 26.5.0 → 26.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +91 -87
- package/bin/mcp-server.js +667 -331
- package/bin/mcp-server.js.map +78 -74
- package/funcs/accountsCreate.d.ts +8 -10
- package/funcs/accountsCreate.d.ts.map +1 -1
- package/funcs/accountsCreate.js +8 -10
- package/funcs/accountsCreate.js.map +1 -1
- package/funcs/bankAccountsLink.d.ts +1 -1
- package/funcs/bankAccountsLink.js +1 -1
- package/funcs/capabilitiesDisable.d.ts +1 -1
- package/funcs/capabilitiesDisable.js +1 -1
- package/funcs/capabilitiesGet.d.ts +1 -1
- package/funcs/capabilitiesGet.js +1 -1
- package/funcs/capabilitiesList.d.ts +1 -1
- package/funcs/capabilitiesList.js +1 -1
- package/funcs/capabilitiesRequest.d.ts +1 -1
- package/funcs/capabilitiesRequest.js +1 -1
- package/funcs/cardIssuingGet.js +1 -1
- package/funcs/cardIssuingGet.js.map +1 -1
- package/funcs/cardIssuingGetFull.js +1 -1
- package/funcs/cardIssuingGetFull.js.map +1 -1
- package/funcs/cardIssuingList.js +1 -1
- package/funcs/cardIssuingList.js.map +1 -1
- package/funcs/cardIssuingRequest.js +1 -1
- package/funcs/cardIssuingRequest.js.map +1 -1
- package/funcs/cardIssuingUpdate.js +1 -1
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/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/bankAccountsLink.js +1 -1
- package/mcp-server/tools/capabilitiesDisable.js +1 -1
- package/mcp-server/tools/capabilitiesGet.js +1 -1
- package/mcp-server/tools/capabilitiesList.js +1 -1
- package/mcp-server/tools/capabilitiesRequest.js +1 -1
- package/mcp-server/tools/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/capability.d.ts +7 -1
- package/models/components/capability.d.ts.map +1 -1
- package/models/components/capability.js.map +1 -1
- package/models/components/capabilityid.d.ts +15 -2
- package/models/components/capabilityid.d.ts.map +1 -1
- package/models/components/capabilityid.js +8 -1
- package/models/components/capabilityid.js.map +1 -1
- package/models/components/cardtransactiondetails.d.ts +7 -0
- package/models/components/cardtransactiondetails.d.ts.map +1 -1
- package/models/components/cardtransactiondetails.js +5 -0
- package/models/components/cardtransactiondetails.js.map +1 -1
- package/models/components/cardtransactionstatus.d.ts +1 -0
- package/models/components/cardtransactionstatus.d.ts.map +1 -1
- package/models/components/cardtransactionstatus.js +1 -0
- package/models/components/cardtransactionstatus.js.map +1 -1
- package/models/components/createaccount.d.ts +9 -0
- package/models/components/createaccount.d.ts.map +1 -1
- package/models/components/createaccount.js.map +1 -1
- package/models/components/createpaymentlink.d.ts +3 -3
- package/models/components/createtransferdestinationcard.d.ts +5 -0
- package/models/components/createtransferdestinationcard.d.ts.map +1 -1
- package/models/components/createtransferdestinationcard.js +2 -0
- package/models/components/createtransferdestinationcard.js.map +1 -1
- package/models/components/fullissuedcard.d.ts +26 -12
- package/models/components/fullissuedcard.d.ts.map +1 -1
- package/models/components/fullissuedcard.js +11 -5
- package/models/components/fullissuedcard.js.map +1 -1
- package/models/components/index.d.ts +6 -4
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +6 -4
- package/models/components/index.js.map +1 -1
- package/models/components/invoice.d.ts +6 -1
- package/models/components/invoice.d.ts.map +1 -1
- package/models/components/invoice.js +2 -0
- package/models/components/invoice.js.map +1 -1
- package/models/components/issuedcard.d.ts +26 -12
- package/models/components/issuedcard.d.ts.map +1 -1
- package/models/components/issuedcard.js +11 -5
- package/models/components/issuedcard.js.map +1 -1
- package/models/components/issuedcardstate.d.ts +2 -8
- package/models/components/issuedcardstate.d.ts.map +1 -1
- package/models/components/issuedcardstate.js +1 -5
- package/models/components/issuedcardstate.js.map +1 -1
- package/models/components/manualtermsofservice.d.ts +1 -1
- package/models/components/manualtermsofserviceupdate.d.ts +1 -1
- package/models/components/onboardinginvite.d.ts +1 -1
- package/models/components/onboardinginviterequest.d.ts +1 -1
- package/models/components/patchtransfer.d.ts +3 -0
- package/models/components/patchtransfer.d.ts.map +1 -1
- package/models/components/patchtransfer.js.map +1 -1
- package/models/components/paymentlink.d.ts +2 -2
- package/models/components/paymentlinkpayoutdetails.d.ts +11 -0
- package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetails.js +3 -0
- package/models/components/paymentlinkpayoutdetails.js.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts +11 -0
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.js +3 -0
- package/models/components/paymentlinkpayoutdetailsupdate.js.map +1 -1
- package/models/components/payoutdetailserror.d.ts +3 -0
- package/models/components/payoutdetailserror.d.ts.map +1 -1
- package/models/components/payoutdetailserror.js +3 -0
- package/models/components/payoutdetailserror.js.map +1 -1
- package/models/components/pushdeliveryspeed.d.ts +18 -0
- package/models/components/pushdeliveryspeed.d.ts.map +1 -0
- package/models/components/pushdeliveryspeed.js +52 -0
- package/models/components/pushdeliveryspeed.js.map +1 -0
- package/models/components/pushoptions.d.ts +35 -0
- package/models/components/pushoptions.d.ts.map +1 -0
- package/models/components/{createauthorizeduser.js → pushoptions.js} +15 -17
- package/models/components/pushoptions.js.map +1 -0
- package/models/components/pushoptionserror.d.ts +19 -0
- package/models/components/pushoptionserror.d.ts.map +1 -0
- package/models/components/{authorizeduser.js → pushoptionserror.js} +14 -14
- package/models/components/pushoptionserror.js.map +1 -0
- package/models/components/pushoptionsupdate.d.ts +35 -0
- package/models/components/pushoptionsupdate.d.ts.map +1 -0
- package/models/components/{createauthorizedusererror.js → pushoptionsupdate.js} +15 -17
- package/models/components/pushoptionsupdate.js.map +1 -0
- package/models/components/requestcard.d.ts +14 -17
- package/models/components/requestcard.d.ts.map +1 -1
- package/models/components/requestcard.js +9 -10
- package/models/components/requestcard.js.map +1 -1
- package/models/components/termsofservice.d.ts +1 -1
- package/models/components/transferconfig.d.ts +3 -0
- package/models/components/transferconfig.d.ts.map +1 -1
- package/models/components/transferconfig.js +3 -0
- package/models/components/transferconfig.js.map +1 -1
- package/models/components/transfercontrols.d.ts +43 -0
- package/models/components/transfercontrols.d.ts.map +1 -0
- package/models/components/{createauthorizeduserupdate.js → transfercontrols.js} +20 -17
- package/models/components/transfercontrols.js.map +1 -0
- package/models/components/updateinvoice.d.ts +6 -6
- 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/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 +64 -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/requestcarderror.d.ts +12 -12
- package/models/errors/requestcarderror.d.ts.map +1 -1
- package/models/errors/requestcarderror.js +17 -17
- package/models/errors/requestcarderror.js.map +1 -1
- package/models/errors/updateissuedcarderror.d.ts +9 -6
- package/models/errors/updateissuedcarderror.d.ts.map +1 -1
- package/models/errors/updateissuedcarderror.js +12 -9
- package/models/errors/updateissuedcarderror.js.map +1 -1
- package/models/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/linkbankaccount.d.ts +1 -1
- package/models/operations/listcancellations.d.ts +45 -0
- package/models/operations/listcancellations.d.ts.map +1 -0
- package/models/operations/listcancellations.js +90 -0
- package/models/operations/listcancellations.js.map +1 -0
- package/models/operations/listissuedcards.d.ts +1 -1
- package/package.json +1 -1
- package/sdk/accounts.d.ts +8 -10
- package/sdk/accounts.d.ts.map +1 -1
- package/sdk/accounts.js +8 -10
- package/sdk/accounts.js.map +1 -1
- package/sdk/bankaccounts.d.ts +1 -1
- package/sdk/bankaccounts.js +1 -1
- package/sdk/capabilities.d.ts +4 -4
- package/sdk/capabilities.js +4 -4
- package/sdk/transfers.d.ts +7 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +10 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/accountsCreate.ts +8 -10
- package/src/funcs/bankAccountsLink.ts +1 -1
- package/src/funcs/capabilitiesDisable.ts +1 -1
- package/src/funcs/capabilitiesGet.ts +1 -1
- package/src/funcs/capabilitiesList.ts +1 -1
- package/src/funcs/capabilitiesRequest.ts +1 -1
- package/src/funcs/cardIssuingGet.ts +1 -1
- package/src/funcs/cardIssuingGetFull.ts +3 -3
- package/src/funcs/cardIssuingList.ts +1 -1
- package/src/funcs/cardIssuingRequest.ts +1 -1
- package/src/funcs/cardIssuingUpdate.ts +1 -1
- package/src/funcs/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/bankAccountsLink.ts +1 -1
- package/src/mcp-server/tools/capabilitiesDisable.ts +1 -1
- package/src/mcp-server/tools/capabilitiesGet.ts +1 -1
- package/src/mcp-server/tools/capabilitiesList.ts +1 -1
- package/src/mcp-server/tools/capabilitiesRequest.ts +1 -1
- package/src/mcp-server/tools/transfersListCancellations.ts +38 -0
- package/src/models/components/addcapabilities.ts +9 -0
- package/src/models/components/capability.ts +7 -1
- package/src/models/components/capabilityid.ts +15 -2
- package/src/models/components/cardtransactiondetails.ts +14 -0
- package/src/models/components/cardtransactionstatus.ts +1 -0
- package/src/models/components/createaccount.ts +9 -0
- package/src/models/components/createpaymentlink.ts +3 -3
- package/src/models/components/createtransferdestinationcard.ts +9 -0
- package/src/models/components/fullissuedcard.ts +36 -20
- package/src/models/components/index.ts +6 -4
- package/src/models/components/invoice.ts +8 -1
- package/src/models/components/issuedcard.ts +36 -20
- package/src/models/components/issuedcardstate.ts +2 -8
- package/src/models/components/manualtermsofservice.ts +1 -1
- package/src/models/components/manualtermsofserviceupdate.ts +1 -1
- package/src/models/components/onboardinginvite.ts +1 -1
- package/src/models/components/onboardinginviterequest.ts +1 -1
- package/src/models/components/patchtransfer.ts +3 -0
- package/src/models/components/paymentlink.ts +2 -2
- package/src/models/components/paymentlinkpayoutdetails.ts +18 -0
- package/src/models/components/paymentlinkpayoutdetailsupdate.ts +18 -0
- package/src/models/components/payoutdetailserror.ts +10 -0
- package/src/models/components/pushdeliveryspeed.ts +27 -0
- package/src/models/components/pushoptions.ts +71 -0
- package/src/models/components/pushoptionserror.ts +55 -0
- package/src/models/components/pushoptionsupdate.ts +75 -0
- package/src/models/components/requestcard.ts +23 -34
- package/src/models/components/termsofservice.ts +1 -1
- package/src/models/components/transferconfig.ts +10 -0
- package/src/models/components/transfercontrols.ts +85 -0
- package/src/models/components/updateinvoice.ts +6 -6
- package/src/models/components/updateissuedcard.ts +73 -17
- package/src/models/components/webhookdata.ts +18 -8
- package/src/models/components/webhookdataauthorizationexpiring.ts +65 -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/requestcarderror.ts +26 -25
- package/src/models/errors/updateissuedcarderror.ts +18 -13
- 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/linkbankaccount.ts +1 -1
- package/src/models/operations/listcancellations.ts +120 -0
- package/src/models/operations/listissuedcards.ts +1 -1
- package/src/sdk/accounts.ts +8 -10
- package/src/sdk/bankaccounts.ts +1 -1
- package/src/sdk/capabilities.ts +4 -4
- package/src/sdk/transfers.ts +18 -0
- package/src/types/async.ts +8 -7
- package/types/async.d.ts.map +1 -1
- package/types/async.js +8 -7
- package/types/async.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 -54
- package/src/models/components/createauthorizeduser.ts +0 -68
- package/src/models/components/createauthorizedusererror.ts +0 -65
- package/src/models/components/createauthorizeduserupdate.ts +0 -68
package/bin/mcp-server.js
CHANGED
|
@@ -37121,6 +37121,57 @@ function remap(inp, mappings) {
|
|
|
37121
37121
|
}
|
|
37122
37122
|
return out;
|
|
37123
37123
|
}
|
|
37124
|
+
function combineSignals(...signals) {
|
|
37125
|
+
const filtered = [];
|
|
37126
|
+
for (const signal of signals) {
|
|
37127
|
+
if (signal) {
|
|
37128
|
+
filtered.push(signal);
|
|
37129
|
+
}
|
|
37130
|
+
}
|
|
37131
|
+
switch (filtered.length) {
|
|
37132
|
+
case 0:
|
|
37133
|
+
case 1:
|
|
37134
|
+
return filtered[0] || null;
|
|
37135
|
+
default:
|
|
37136
|
+
if ("any" in AbortSignal && typeof AbortSignal.any === "function") {
|
|
37137
|
+
return AbortSignal.any(filtered);
|
|
37138
|
+
}
|
|
37139
|
+
return abortSignalAny(filtered);
|
|
37140
|
+
}
|
|
37141
|
+
}
|
|
37142
|
+
function abortSignalAny(signals) {
|
|
37143
|
+
const controller = new AbortController;
|
|
37144
|
+
const result = controller.signal;
|
|
37145
|
+
if (!signals.length) {
|
|
37146
|
+
return controller.signal;
|
|
37147
|
+
}
|
|
37148
|
+
if (signals.length === 1) {
|
|
37149
|
+
return signals[0] || controller.signal;
|
|
37150
|
+
}
|
|
37151
|
+
for (const signal of signals) {
|
|
37152
|
+
if (signal.aborted) {
|
|
37153
|
+
return signal;
|
|
37154
|
+
}
|
|
37155
|
+
}
|
|
37156
|
+
function abort() {
|
|
37157
|
+
controller.abort(this.reason);
|
|
37158
|
+
clean();
|
|
37159
|
+
}
|
|
37160
|
+
const signalRefs = [];
|
|
37161
|
+
function clean() {
|
|
37162
|
+
for (const signalRef of signalRefs) {
|
|
37163
|
+
const signal = signalRef.deref();
|
|
37164
|
+
if (signal) {
|
|
37165
|
+
signal.removeEventListener("abort", abort);
|
|
37166
|
+
}
|
|
37167
|
+
}
|
|
37168
|
+
}
|
|
37169
|
+
for (const signal of signals) {
|
|
37170
|
+
signalRefs.push(new WeakRef(signal));
|
|
37171
|
+
signal.addEventListener("abort", abort);
|
|
37172
|
+
}
|
|
37173
|
+
return result;
|
|
37174
|
+
}
|
|
37124
37175
|
function compactMap(values) {
|
|
37125
37176
|
const out = {};
|
|
37126
37177
|
for (const [k2, v2] of Object.entries(values)) {
|
|
@@ -37136,6 +37187,20 @@ function allRequired(v2) {
|
|
|
37136
37187
|
}
|
|
37137
37188
|
return v2;
|
|
37138
37189
|
}
|
|
37190
|
+
function isPlainObject2(value) {
|
|
37191
|
+
if (value === null || typeof value !== "object")
|
|
37192
|
+
return false;
|
|
37193
|
+
if (Object.prototype.toString.call(value) !== "[object Object]")
|
|
37194
|
+
return false;
|
|
37195
|
+
const proto = Object.getPrototypeOf(value);
|
|
37196
|
+
if (proto === null || proto === Object.prototype)
|
|
37197
|
+
return true;
|
|
37198
|
+
try {
|
|
37199
|
+
return Object.getPrototypeOf(proto) === null;
|
|
37200
|
+
} catch {
|
|
37201
|
+
return false;
|
|
37202
|
+
}
|
|
37203
|
+
}
|
|
37139
37204
|
var init_primitives = () => {};
|
|
37140
37205
|
|
|
37141
37206
|
// node_modules/zod/dist/esm/v4/mini/parse.js
|
|
@@ -39629,7 +39694,7 @@ class Protocol {
|
|
|
39629
39694
|
};
|
|
39630
39695
|
}
|
|
39631
39696
|
}
|
|
39632
|
-
function
|
|
39697
|
+
function isPlainObject3(value) {
|
|
39633
39698
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
39634
39699
|
}
|
|
39635
39700
|
function mergeCapabilities(base, additional) {
|
|
@@ -39640,7 +39705,7 @@ function mergeCapabilities(base, additional) {
|
|
|
39640
39705
|
if (addValue === undefined)
|
|
39641
39706
|
continue;
|
|
39642
39707
|
const baseValue = result[k2];
|
|
39643
|
-
if (
|
|
39708
|
+
if (isPlainObject3(baseValue) && isPlainObject3(addValue)) {
|
|
39644
39709
|
result[k2] = { ...baseValue, ...addValue };
|
|
39645
39710
|
} else {
|
|
39646
39711
|
result[k2] = addValue;
|
|
@@ -52909,9 +52974,9 @@ var init_config = __esm(() => {
|
|
|
52909
52974
|
SDK_METADATA = {
|
|
52910
52975
|
language: "typescript",
|
|
52911
52976
|
openapiDocVersion: "v2026.04.00",
|
|
52912
|
-
sdkVersion: "26.5.
|
|
52913
|
-
genVersion: "2.
|
|
52914
|
-
userAgent: "speakeasy-sdk/typescript 26.5.
|
|
52977
|
+
sdkVersion: "26.5.3",
|
|
52978
|
+
genVersion: "2.916.2",
|
|
52979
|
+
userAgent: "speakeasy-sdk/typescript 26.5.3 2.916.2 v2026.04.00 @moovio/sdk"
|
|
52915
52980
|
};
|
|
52916
52981
|
});
|
|
52917
52982
|
|
|
@@ -53084,15 +53149,6 @@ var init_base64 = __esm(() => {
|
|
|
53084
53149
|
zodInbound = instanceOfType(Uint8Array).or(stringType().transform(bytesFromBase64));
|
|
53085
53150
|
});
|
|
53086
53151
|
|
|
53087
|
-
// src/lib/is-plain-object.ts
|
|
53088
|
-
function isPlainObject3(value) {
|
|
53089
|
-
if (typeof value !== "object" || value === null) {
|
|
53090
|
-
return false;
|
|
53091
|
-
}
|
|
53092
|
-
const prototype = Object.getPrototypeOf(value);
|
|
53093
|
-
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
|
|
53094
|
-
}
|
|
53095
|
-
|
|
53096
53152
|
// src/lib/encodings.ts
|
|
53097
53153
|
function formEncoder(sep) {
|
|
53098
53154
|
return (key, value, options) => {
|
|
@@ -53113,7 +53169,7 @@ function formEncoder(sep) {
|
|
|
53113
53169
|
return;
|
|
53114
53170
|
} else if (Array.isArray(pv)) {
|
|
53115
53171
|
encValue = mapDefined(pv, (v2) => `${encodeValue(v2)}`)?.join(encodedSep);
|
|
53116
|
-
} else if (
|
|
53172
|
+
} else if (isPlainObject2(pv)) {
|
|
53117
53173
|
encValue = mapDefinedEntries(Object.entries(pv), ([k2, v2]) => {
|
|
53118
53174
|
return `${encodeString(k2)}${encodedSep}${encodeValue(v2)}`;
|
|
53119
53175
|
})?.join(encodedSep);
|
|
@@ -53136,7 +53192,7 @@ function encodeDeepObject(key, value, options) {
|
|
|
53136
53192
|
if (value == null) {
|
|
53137
53193
|
return;
|
|
53138
53194
|
}
|
|
53139
|
-
if (!
|
|
53195
|
+
if (!isPlainObject2(value)) {
|
|
53140
53196
|
throw new EncodingError(`Value of parameter '${key}' which uses deepObject encoding must be an object or null`);
|
|
53141
53197
|
}
|
|
53142
53198
|
return encodeDeepObjectObject(key, value, options);
|
|
@@ -53149,7 +53205,7 @@ function encodeDeepObjectObject(key, value, options) {
|
|
|
53149
53205
|
const encodeString = (v2) => {
|
|
53150
53206
|
return options?.charEncoding === "percent" ? encodeURIComponent(v2) : v2;
|
|
53151
53207
|
};
|
|
53152
|
-
if (!
|
|
53208
|
+
if (!isPlainObject2(value)) {
|
|
53153
53209
|
throw new EncodingError(`Expected parameter '${key}' to be an object.`);
|
|
53154
53210
|
}
|
|
53155
53211
|
Object.entries(value).forEach(([ck, cv]) => {
|
|
@@ -53157,7 +53213,7 @@ function encodeDeepObjectObject(key, value, options) {
|
|
|
53157
53213
|
return;
|
|
53158
53214
|
}
|
|
53159
53215
|
const pk = `${key}[${ck}]`;
|
|
53160
|
-
if (
|
|
53216
|
+
if (isPlainObject2(cv)) {
|
|
53161
53217
|
const objOut = encodeDeepObjectObject(pk, cv, options);
|
|
53162
53218
|
out += objOut == null ? "" : `&${objOut}`;
|
|
53163
53219
|
return;
|
|
@@ -53183,7 +53239,7 @@ function encodeJSON(key, value, options) {
|
|
|
53183
53239
|
function explode(key, value) {
|
|
53184
53240
|
if (Array.isArray(value)) {
|
|
53185
53241
|
return value.map((v2) => [key, v2]);
|
|
53186
|
-
} else if (
|
|
53242
|
+
} else if (isPlainObject2(value)) {
|
|
53187
53243
|
const o = value ?? {};
|
|
53188
53244
|
return Object.entries(o).map(([k2, v2]) => [k2, v2]);
|
|
53189
53245
|
} else {
|
|
@@ -53308,13 +53364,13 @@ var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encode
|
|
|
53308
53364
|
return;
|
|
53309
53365
|
} else if (Array.isArray(pv)) {
|
|
53310
53366
|
tmp = mapDefined(pv, (v2) => `${encodeValue(v2)}`)?.join(",");
|
|
53311
|
-
} else if (
|
|
53367
|
+
} else if (isPlainObject2(pv)) {
|
|
53312
53368
|
const mapped = mapDefinedEntries(Object.entries(pv), ([k2, v2]) => {
|
|
53313
53369
|
return `,${encodeString(k2)},${encodeValue(v2)}`;
|
|
53314
53370
|
});
|
|
53315
53371
|
tmp = mapped?.join("").slice(1);
|
|
53316
53372
|
} else {
|
|
53317
|
-
const k2 = options?.explode &&
|
|
53373
|
+
const k2 = options?.explode && isPlainObject2(value) ? `${pk}=` : "";
|
|
53318
53374
|
tmp = `${k2}${encodeValue(pv)}`;
|
|
53319
53375
|
}
|
|
53320
53376
|
out += tmp ? `,${tmp}` : "";
|
|
@@ -53323,6 +53379,7 @@ var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encode
|
|
|
53323
53379
|
}, encodeJSONQuery, encodeFormQuery, encodeSpaceDelimitedQuery, encodePipeDelimitedQuery, encodeDeepObjectQuery;
|
|
53324
53380
|
var init_encodings = __esm(() => {
|
|
53325
53381
|
init_base64();
|
|
53382
|
+
init_primitives();
|
|
53326
53383
|
EncodingError = class EncodingError extends Error {
|
|
53327
53384
|
constructor(message) {
|
|
53328
53385
|
super(message);
|
|
@@ -53588,6 +53645,13 @@ async function retryBackoff(fn, strategy) {
|
|
|
53588
53645
|
}
|
|
53589
53646
|
}
|
|
53590
53647
|
function retryIntervalFromResponse(res) {
|
|
53648
|
+
const retryAfterMsVal = res.headers.get("retry-after-ms");
|
|
53649
|
+
if (retryAfterMsVal) {
|
|
53650
|
+
const parsedMs = Number(retryAfterMsVal);
|
|
53651
|
+
if (Number.isFinite(parsedMs) && parsedMs >= 0) {
|
|
53652
|
+
return parsedMs;
|
|
53653
|
+
}
|
|
53654
|
+
}
|
|
53591
53655
|
const retryVal = res.headers.get("retry-after") || "";
|
|
53592
53656
|
if (!retryVal) {
|
|
53593
53657
|
return 0;
|
|
@@ -53679,24 +53743,41 @@ class ClientSDK {
|
|
|
53679
53743
|
if (path) {
|
|
53680
53744
|
baseURL.pathname = baseURL.pathname.replace(/\/+$/, "") + "/";
|
|
53681
53745
|
reqURL = new URL(path, baseURL);
|
|
53746
|
+
if (!reqURL.search && baseURL.search) {
|
|
53747
|
+
reqURL.search = baseURL.search;
|
|
53748
|
+
}
|
|
53682
53749
|
} else {
|
|
53683
53750
|
reqURL = baseURL;
|
|
53684
53751
|
}
|
|
53685
53752
|
reqURL.hash = "";
|
|
53686
|
-
|
|
53687
|
-
|
|
53688
|
-
|
|
53689
|
-
const q2 = encodeForm(k2, v2, { charEncoding: "percent" });
|
|
53690
|
-
if (typeof q2 !== "undefined") {
|
|
53691
|
-
secQuery.push(q2);
|
|
53753
|
+
const mergeQuery = (current, additions) => {
|
|
53754
|
+
if (!additions) {
|
|
53755
|
+
return current;
|
|
53692
53756
|
}
|
|
53693
|
-
|
|
53694
|
-
|
|
53695
|
-
|
|
53696
|
-
|
|
53757
|
+
const additionKeys = new Set(additions.split("&").filter((pair) => pair !== "").map((pair) => pair.split("=")[0] ?? ""));
|
|
53758
|
+
const kept = current.split("&").filter((pair) => {
|
|
53759
|
+
return pair !== "" && !additionKeys.has(pair.split("=")[0] ?? "");
|
|
53760
|
+
});
|
|
53761
|
+
return [...kept, additions].join("&");
|
|
53762
|
+
};
|
|
53763
|
+
const encodeQueryRecord = (record3) => {
|
|
53764
|
+
return Object.entries(record3).map(([k2, v2]) => {
|
|
53765
|
+
if (v2 == null) {
|
|
53766
|
+
return;
|
|
53767
|
+
}
|
|
53768
|
+
const value = v2;
|
|
53769
|
+
return encodeForm(k2, value, {
|
|
53770
|
+
explode: Array.isArray(value),
|
|
53771
|
+
charEncoding: "percent"
|
|
53772
|
+
});
|
|
53773
|
+
}).filter((pair) => typeof pair !== "undefined").join("&");
|
|
53774
|
+
};
|
|
53775
|
+
const finalQuery = [
|
|
53776
|
+
query || "",
|
|
53777
|
+
encodeQueryRecord(security?.queryParams || {})
|
|
53778
|
+
].reduce(mergeQuery, reqURL.search.slice(1));
|
|
53697
53779
|
if (finalQuery) {
|
|
53698
|
-
|
|
53699
|
-
reqURL.search = `?${q2}`;
|
|
53780
|
+
reqURL.search = `?${finalQuery}`;
|
|
53700
53781
|
}
|
|
53701
53782
|
const headers = new Headers(opHeaders);
|
|
53702
53783
|
const username = security?.basic.username;
|
|
@@ -53726,9 +53807,8 @@ class ClientSDK {
|
|
|
53726
53807
|
...options?.fetchOptions,
|
|
53727
53808
|
...options
|
|
53728
53809
|
};
|
|
53729
|
-
if (!fetchOptions?.signal && conf.timeoutMs && conf.timeoutMs > 0) {
|
|
53730
|
-
|
|
53731
|
-
fetchOptions.signal = timeoutSignal;
|
|
53810
|
+
if (!fetchOptions?.signal && conf.timeoutMs != null && conf.timeoutMs > 0) {
|
|
53811
|
+
context.timeoutMs = conf.timeoutMs;
|
|
53732
53812
|
}
|
|
53733
53813
|
if (conf.body instanceof ReadableStream) {
|
|
53734
53814
|
Object.assign(fetchOptions, { duplex: "half" });
|
|
@@ -53753,8 +53833,16 @@ class ClientSDK {
|
|
|
53753
53833
|
}
|
|
53754
53834
|
async _do(request, options) {
|
|
53755
53835
|
const { context, isErrorStatusCode } = options;
|
|
53836
|
+
const timeoutMs = context.timeoutMs;
|
|
53756
53837
|
return retry(async () => {
|
|
53757
|
-
const
|
|
53838
|
+
const cloned = request.clone();
|
|
53839
|
+
let attempt = cloned;
|
|
53840
|
+
if (timeoutMs != null && timeoutMs > 0) {
|
|
53841
|
+
const timeoutSignal = AbortSignal.timeout(timeoutMs);
|
|
53842
|
+
const combined = combineSignals(cloned.signal, timeoutSignal) ?? timeoutSignal;
|
|
53843
|
+
attempt = new Request(cloned, { signal: combined });
|
|
53844
|
+
}
|
|
53845
|
+
const req = await this.#hooks.beforeRequest(context, attempt);
|
|
53758
53846
|
await logRequest(this.#logger, req).catch((e) => this.#logger?.log("Failed to log request:", e));
|
|
53759
53847
|
let response = await this.#httpClient.request(req);
|
|
53760
53848
|
try {
|
|
@@ -53872,6 +53960,7 @@ var init_sdks = __esm(() => {
|
|
|
53872
53960
|
init_config();
|
|
53873
53961
|
init_encodings();
|
|
53874
53962
|
init_http();
|
|
53963
|
+
init_primitives();
|
|
53875
53964
|
init_retries();
|
|
53876
53965
|
gt2 = typeof globalThis === "undefined" ? null : globalThis;
|
|
53877
53966
|
webWorkerLike2 = typeof gt2 === "object" && gt2 != null && "importScripts" in gt2 && typeof gt2["importScripts"] === "function";
|
|
@@ -54321,7 +54410,7 @@ function match(...matchers) {
|
|
|
54321
54410
|
data = {
|
|
54322
54411
|
...options?.extraFields,
|
|
54323
54412
|
...matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null,
|
|
54324
|
-
...
|
|
54413
|
+
...isPlainObject2(raw) ? raw : null,
|
|
54325
54414
|
request$: request,
|
|
54326
54415
|
response$: response,
|
|
54327
54416
|
body$: body
|
|
@@ -54336,7 +54425,7 @@ function match(...matchers) {
|
|
|
54336
54425
|
data = {
|
|
54337
54426
|
...options?.extraFields,
|
|
54338
54427
|
...matcher.hdrs ? { Headers: unpackHeaders(response.headers) } : null,
|
|
54339
|
-
...
|
|
54428
|
+
...isPlainObject2(raw) ? raw : null
|
|
54340
54429
|
};
|
|
54341
54430
|
} else {
|
|
54342
54431
|
data = raw;
|
|
@@ -54376,6 +54465,7 @@ var init_matchers = __esm(() => {
|
|
|
54376
54465
|
init_apierror();
|
|
54377
54466
|
init_responsevalidationerror();
|
|
54378
54467
|
init_http();
|
|
54468
|
+
init_primitives();
|
|
54379
54469
|
DEFAULT_CONTENT_TYPES = {
|
|
54380
54470
|
jsonl: "application/jsonl",
|
|
54381
54471
|
json: "application/json",
|
|
@@ -55957,6 +56047,7 @@ var init_capabilityid = __esm(() => {
|
|
|
55957
56047
|
Wallet: "wallet",
|
|
55958
56048
|
WalletBalance: "wallet.balance",
|
|
55959
56049
|
CardIssuing: "card-issuing",
|
|
56050
|
+
IssuingCardholder: "issuing.cardholder",
|
|
55960
56051
|
ProductionApp: "production-app",
|
|
55961
56052
|
PlatformProductionApp: "platform.production-app",
|
|
55962
56053
|
PlatformWalletTransfers: "platform.wallet-transfers"
|
|
@@ -56390,20 +56481,6 @@ var init_asynctransfer = __esm(() => {
|
|
|
56390
56481
|
});
|
|
56391
56482
|
});
|
|
56392
56483
|
|
|
56393
|
-
// src/models/components/authorizeduser.ts
|
|
56394
|
-
var AuthorizedUser$inboundSchema, AuthorizedUser$outboundSchema;
|
|
56395
|
-
var init_authorizeduser = __esm(() => {
|
|
56396
|
-
init_esm();
|
|
56397
|
-
AuthorizedUser$inboundSchema = objectType({
|
|
56398
|
-
firstName: stringType(),
|
|
56399
|
-
lastName: stringType()
|
|
56400
|
-
});
|
|
56401
|
-
AuthorizedUser$outboundSchema = objectType({
|
|
56402
|
-
firstName: stringType(),
|
|
56403
|
-
lastName: stringType()
|
|
56404
|
-
});
|
|
56405
|
-
});
|
|
56406
|
-
|
|
56407
56484
|
// src/models/components/tokentype.ts
|
|
56408
56485
|
var TokenType, TokenType$inboundSchema, TokenType$outboundSchema;
|
|
56409
56486
|
var init_tokentype = __esm(() => {
|
|
@@ -60493,7 +60570,8 @@ var init_cardtransactionstatus = __esm(() => {
|
|
|
60493
60570
|
Canceled: "canceled",
|
|
60494
60571
|
Settled: "settled",
|
|
60495
60572
|
Failed: "failed",
|
|
60496
|
-
Completed: "completed"
|
|
60573
|
+
Completed: "completed",
|
|
60574
|
+
Deferred: "deferred"
|
|
60497
60575
|
};
|
|
60498
60576
|
CardTransactionStatus$inboundSchema = nativeEnumType(CardTransactionStatus);
|
|
60499
60577
|
CardTransactionStatus$outboundSchema = CardTransactionStatus$inboundSchema;
|
|
@@ -60523,6 +60601,7 @@ var init_cardtransactiondetails = __esm(() => {
|
|
|
60523
60601
|
status: CardTransactionStatus$inboundSchema.optional(),
|
|
60524
60602
|
failureCode: CardTransactionFailureCode$inboundSchema.optional(),
|
|
60525
60603
|
dynamicDescriptor: stringType().optional(),
|
|
60604
|
+
scheduledDeliveryOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60526
60605
|
transactionSource: TransactionSource$inboundSchema.optional(),
|
|
60527
60606
|
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60528
60607
|
confirmedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
@@ -60530,6 +60609,7 @@ var init_cardtransactiondetails = __esm(() => {
|
|
|
60530
60609
|
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60531
60610
|
canceledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60532
60611
|
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60612
|
+
deferredOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60533
60613
|
interchangeQualification: stringType().optional(),
|
|
60534
60614
|
feeProgram: stringType().optional(),
|
|
60535
60615
|
authorizationCode: stringType().optional()
|
|
@@ -60538,6 +60618,7 @@ var init_cardtransactiondetails = __esm(() => {
|
|
|
60538
60618
|
status: CardTransactionStatus$outboundSchema.optional(),
|
|
60539
60619
|
failureCode: CardTransactionFailureCode$outboundSchema.optional(),
|
|
60540
60620
|
dynamicDescriptor: stringType().optional(),
|
|
60621
|
+
scheduledDeliveryOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60541
60622
|
transactionSource: TransactionSource$outboundSchema.optional(),
|
|
60542
60623
|
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60543
60624
|
confirmedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
@@ -60545,6 +60626,7 @@ var init_cardtransactiondetails = __esm(() => {
|
|
|
60545
60626
|
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60546
60627
|
canceledOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60547
60628
|
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60629
|
+
deferredOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60548
60630
|
interchangeQualification: stringType().optional(),
|
|
60549
60631
|
feeProgram: stringType().optional(),
|
|
60550
60632
|
authorizationCode: stringType().optional()
|
|
@@ -61157,57 +61239,6 @@ var init_createapplepaysession = __esm(() => {
|
|
|
61157
61239
|
});
|
|
61158
61240
|
});
|
|
61159
61241
|
|
|
61160
|
-
// src/models/components/createauthorizeduser.ts
|
|
61161
|
-
var CreateAuthorizedUser$inboundSchema, CreateAuthorizedUser$outboundSchema;
|
|
61162
|
-
var init_createauthorizeduser = __esm(() => {
|
|
61163
|
-
init_esm();
|
|
61164
|
-
init_birthdate();
|
|
61165
|
-
CreateAuthorizedUser$inboundSchema = objectType({
|
|
61166
|
-
firstName: stringType(),
|
|
61167
|
-
lastName: stringType(),
|
|
61168
|
-
birthDate: BirthDate$inboundSchema.optional()
|
|
61169
|
-
});
|
|
61170
|
-
CreateAuthorizedUser$outboundSchema = objectType({
|
|
61171
|
-
firstName: stringType(),
|
|
61172
|
-
lastName: stringType(),
|
|
61173
|
-
birthDate: BirthDate$outboundSchema.optional()
|
|
61174
|
-
});
|
|
61175
|
-
});
|
|
61176
|
-
|
|
61177
|
-
// src/models/components/createauthorizedusererror.ts
|
|
61178
|
-
var CreateAuthorizedUserError$inboundSchema, CreateAuthorizedUserError$outboundSchema;
|
|
61179
|
-
var init_createauthorizedusererror = __esm(() => {
|
|
61180
|
-
init_esm();
|
|
61181
|
-
init_birthdateerror();
|
|
61182
|
-
CreateAuthorizedUserError$inboundSchema = objectType({
|
|
61183
|
-
firstName: stringType().optional(),
|
|
61184
|
-
lastName: stringType().optional(),
|
|
61185
|
-
birthDate: BirthDateError$inboundSchema.optional()
|
|
61186
|
-
});
|
|
61187
|
-
CreateAuthorizedUserError$outboundSchema = objectType({
|
|
61188
|
-
firstName: stringType().optional(),
|
|
61189
|
-
lastName: stringType().optional(),
|
|
61190
|
-
birthDate: BirthDateError$outboundSchema.optional()
|
|
61191
|
-
});
|
|
61192
|
-
});
|
|
61193
|
-
|
|
61194
|
-
// src/models/components/createauthorizeduserupdate.ts
|
|
61195
|
-
var CreateAuthorizedUserUpdate$inboundSchema, CreateAuthorizedUserUpdate$outboundSchema;
|
|
61196
|
-
var init_createauthorizeduserupdate = __esm(() => {
|
|
61197
|
-
init_esm();
|
|
61198
|
-
init_birthdateupdate();
|
|
61199
|
-
CreateAuthorizedUserUpdate$inboundSchema = objectType({
|
|
61200
|
-
firstName: stringType().optional(),
|
|
61201
|
-
lastName: stringType().optional(),
|
|
61202
|
-
birthDate: BirthDateUpdate$inboundSchema.optional()
|
|
61203
|
-
});
|
|
61204
|
-
CreateAuthorizedUserUpdate$outboundSchema = objectType({
|
|
61205
|
-
firstName: stringType().optional(),
|
|
61206
|
-
lastName: stringType().optional(),
|
|
61207
|
-
birthDate: BirthDateUpdate$outboundSchema.optional()
|
|
61208
|
-
});
|
|
61209
|
-
});
|
|
61210
|
-
|
|
61211
61242
|
// src/models/components/phonenumbererror.ts
|
|
61212
61243
|
var PhoneNumberError$inboundSchema, PhoneNumberError$outboundSchema;
|
|
61213
61244
|
var init_phonenumbererror = __esm(() => {
|
|
@@ -62335,21 +62366,51 @@ var init_payoutrecipient = __esm(() => {
|
|
|
62335
62366
|
});
|
|
62336
62367
|
});
|
|
62337
62368
|
|
|
62369
|
+
// src/models/components/pushdeliveryspeed.ts
|
|
62370
|
+
var PushDeliverySpeed, PushDeliverySpeed$inboundSchema, PushDeliverySpeed$outboundSchema;
|
|
62371
|
+
var init_pushdeliveryspeed = __esm(() => {
|
|
62372
|
+
init_esm();
|
|
62373
|
+
PushDeliverySpeed = {
|
|
62374
|
+
Instant: "instant",
|
|
62375
|
+
Deferred: "deferred"
|
|
62376
|
+
};
|
|
62377
|
+
PushDeliverySpeed$inboundSchema = nativeEnumType(PushDeliverySpeed);
|
|
62378
|
+
PushDeliverySpeed$outboundSchema = PushDeliverySpeed$inboundSchema;
|
|
62379
|
+
});
|
|
62380
|
+
|
|
62381
|
+
// src/models/components/pushoptions.ts
|
|
62382
|
+
var PushOptions$inboundSchema, PushOptions$outboundSchema;
|
|
62383
|
+
var init_pushoptions = __esm(() => {
|
|
62384
|
+
init_esm();
|
|
62385
|
+
init_pushdeliveryspeed();
|
|
62386
|
+
PushOptions$inboundSchema = objectType({
|
|
62387
|
+
allowedSpeeds: arrayType(PushDeliverySpeed$inboundSchema),
|
|
62388
|
+
deferredBy: stringType().optional()
|
|
62389
|
+
});
|
|
62390
|
+
PushOptions$outboundSchema = objectType({
|
|
62391
|
+
allowedSpeeds: arrayType(PushDeliverySpeed$outboundSchema),
|
|
62392
|
+
deferredBy: stringType().optional()
|
|
62393
|
+
});
|
|
62394
|
+
});
|
|
62395
|
+
|
|
62338
62396
|
// src/models/components/paymentlinkpayoutdetails.ts
|
|
62339
62397
|
var PaymentLinkPayoutDetails$inboundSchema, PaymentLinkPayoutDetails$outboundSchema;
|
|
62340
62398
|
var init_paymentlinkpayoutdetails = __esm(() => {
|
|
62341
62399
|
init_esm();
|
|
62342
62400
|
init_disbursementpaymentmethodtype();
|
|
62343
62401
|
init_payoutrecipient();
|
|
62402
|
+
init_pushoptions();
|
|
62344
62403
|
PaymentLinkPayoutDetails$inboundSchema = objectType({
|
|
62345
62404
|
allowedMethods: arrayType(DisbursementPaymentMethodType$inboundSchema),
|
|
62346
62405
|
recipient: PayoutRecipient$inboundSchema,
|
|
62347
|
-
metadata: recordType(stringType()).optional()
|
|
62406
|
+
metadata: recordType(stringType()).optional(),
|
|
62407
|
+
pushOptions: PushOptions$inboundSchema.optional()
|
|
62348
62408
|
});
|
|
62349
62409
|
PaymentLinkPayoutDetails$outboundSchema = objectType({
|
|
62350
62410
|
allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema),
|
|
62351
62411
|
recipient: PayoutRecipient$outboundSchema,
|
|
62352
|
-
metadata: recordType(stringType()).optional()
|
|
62412
|
+
metadata: recordType(stringType()).optional(),
|
|
62413
|
+
pushOptions: PushOptions$outboundSchema.optional()
|
|
62353
62414
|
});
|
|
62354
62415
|
});
|
|
62355
62416
|
|
|
@@ -62925,10 +62986,12 @@ var init_createtransferdestinationcard = __esm(() => {
|
|
|
62925
62986
|
init_cardpayouttype();
|
|
62926
62987
|
CreateTransferDestinationCard$inboundSchema = objectType({
|
|
62927
62988
|
dynamicDescriptor: stringType().optional(),
|
|
62989
|
+
scheduledDeliveryOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
62928
62990
|
payoutType: CardPayoutType$inboundSchema.optional()
|
|
62929
62991
|
});
|
|
62930
62992
|
CreateTransferDestinationCard$outboundSchema = objectType({
|
|
62931
62993
|
dynamicDescriptor: stringType().optional(),
|
|
62994
|
+
scheduledDeliveryOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
62932
62995
|
payoutType: CardPayoutType$outboundSchema.optional()
|
|
62933
62996
|
});
|
|
62934
62997
|
});
|
|
@@ -63278,7 +63341,8 @@ var init_webhookeventtype = __esm(() => {
|
|
|
63278
63341
|
WalletCreated: "wallet.created",
|
|
63279
63342
|
WalletUpdated: "wallet.updated",
|
|
63280
63343
|
WalletTransactionUpdated: "walletTransaction.updated",
|
|
63281
|
-
BillingStatementCreated: "billingStatement.created"
|
|
63344
|
+
BillingStatementCreated: "billingStatement.created",
|
|
63345
|
+
AuthorizationExpiring: "authorization.expiring"
|
|
63282
63346
|
};
|
|
63283
63347
|
WebhookEventType$inboundSchema = nativeEnumType(WebhookEventType);
|
|
63284
63348
|
WebhookEventType$outboundSchema = WebhookEventType$inboundSchema;
|
|
@@ -63997,8 +64061,6 @@ var init_issuedcardstate = __esm(() => {
|
|
|
63997
64061
|
init_esm();
|
|
63998
64062
|
IssuedCardState = {
|
|
63999
64063
|
Active: "active",
|
|
64000
|
-
Inactive: "inactive",
|
|
64001
|
-
PendingVerification: "pending-verification",
|
|
64002
64064
|
Closed: "closed"
|
|
64003
64065
|
};
|
|
64004
64066
|
IssuedCardState$inboundSchema = nativeEnumType(IssuedCardState);
|
|
@@ -64050,7 +64112,7 @@ var init_issuingcontrols = __esm(() => {
|
|
|
64050
64112
|
var FullIssuedCard$inboundSchema, FullIssuedCard$outboundSchema;
|
|
64051
64113
|
var init_fullissuedcard = __esm(() => {
|
|
64052
64114
|
init_esm();
|
|
64053
|
-
|
|
64115
|
+
init_address();
|
|
64054
64116
|
init_cardbrand();
|
|
64055
64117
|
init_cardexpiration();
|
|
64056
64118
|
init_issuedcardformfactor();
|
|
@@ -64061,13 +64123,16 @@ var init_fullissuedcard = __esm(() => {
|
|
|
64061
64123
|
brand: CardBrand$inboundSchema,
|
|
64062
64124
|
lastFourCardNumber: stringType(),
|
|
64063
64125
|
expiration: CardExpiration$inboundSchema,
|
|
64064
|
-
authorizedUser: AuthorizedUser$inboundSchema,
|
|
64065
|
-
memo: stringType().optional(),
|
|
64066
64126
|
fundingWalletID: stringType(),
|
|
64127
|
+
authorizedUserAccountID: stringType().optional(),
|
|
64128
|
+
nickname: stringType().optional(),
|
|
64129
|
+
metadata: recordType(stringType()).optional(),
|
|
64130
|
+
billingAddress: Address$inboundSchema.optional(),
|
|
64067
64131
|
state: IssuedCardState$inboundSchema,
|
|
64068
64132
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
64069
64133
|
controls: IssuingControls$inboundSchema.optional(),
|
|
64070
64134
|
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
64135
|
+
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
64071
64136
|
pan: stringType(),
|
|
64072
64137
|
cvv: stringType()
|
|
64073
64138
|
});
|
|
@@ -64076,13 +64141,16 @@ var init_fullissuedcard = __esm(() => {
|
|
|
64076
64141
|
brand: CardBrand$outboundSchema,
|
|
64077
64142
|
lastFourCardNumber: stringType(),
|
|
64078
64143
|
expiration: CardExpiration$outboundSchema,
|
|
64079
|
-
authorizedUser: AuthorizedUser$outboundSchema,
|
|
64080
|
-
memo: stringType().optional(),
|
|
64081
64144
|
fundingWalletID: stringType(),
|
|
64145
|
+
authorizedUserAccountID: stringType().optional(),
|
|
64146
|
+
nickname: stringType().optional(),
|
|
64147
|
+
metadata: recordType(stringType()).optional(),
|
|
64148
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
64082
64149
|
state: IssuedCardState$outboundSchema,
|
|
64083
64150
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
64084
64151
|
controls: IssuingControls$outboundSchema.optional(),
|
|
64085
64152
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
64153
|
+
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
64086
64154
|
pan: stringType(),
|
|
64087
64155
|
cvv: stringType()
|
|
64088
64156
|
});
|
|
@@ -64782,6 +64850,7 @@ var init_invoice = __esm(() => {
|
|
|
64782
64850
|
refundedAmount: AmountDecimal$inboundSchema,
|
|
64783
64851
|
disputedAmount: AmountDecimal$inboundSchema,
|
|
64784
64852
|
paymentLinkCode: stringType().optional(),
|
|
64853
|
+
paymentLinkURL: stringType().optional(),
|
|
64785
64854
|
invoicePayments: arrayType(InvoicePayment$inboundSchema).optional(),
|
|
64786
64855
|
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
64787
64856
|
invoiceDate: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
@@ -64809,6 +64878,7 @@ var init_invoice = __esm(() => {
|
|
|
64809
64878
|
refundedAmount: AmountDecimal$outboundSchema,
|
|
64810
64879
|
disputedAmount: AmountDecimal$outboundSchema,
|
|
64811
64880
|
paymentLinkCode: stringType().optional(),
|
|
64881
|
+
paymentLinkURL: stringType().optional(),
|
|
64812
64882
|
invoicePayments: arrayType(InvoicePayment$outboundSchema).optional(),
|
|
64813
64883
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
64814
64884
|
invoiceDate: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
@@ -64878,7 +64948,7 @@ var init_invoicelineitemsvalidationerror = __esm(() => {
|
|
|
64878
64948
|
var IssuedCard$inboundSchema, IssuedCard$outboundSchema;
|
|
64879
64949
|
var init_issuedcard = __esm(() => {
|
|
64880
64950
|
init_esm();
|
|
64881
|
-
|
|
64951
|
+
init_address();
|
|
64882
64952
|
init_cardbrand();
|
|
64883
64953
|
init_cardexpiration();
|
|
64884
64954
|
init_issuedcardformfactor();
|
|
@@ -64889,26 +64959,32 @@ var init_issuedcard = __esm(() => {
|
|
|
64889
64959
|
brand: CardBrand$inboundSchema,
|
|
64890
64960
|
lastFourCardNumber: stringType(),
|
|
64891
64961
|
expiration: CardExpiration$inboundSchema,
|
|
64892
|
-
authorizedUser: AuthorizedUser$inboundSchema,
|
|
64893
|
-
memo: stringType().optional(),
|
|
64894
64962
|
fundingWalletID: stringType(),
|
|
64963
|
+
authorizedUserAccountID: stringType().optional(),
|
|
64964
|
+
nickname: stringType().optional(),
|
|
64965
|
+
metadata: recordType(stringType()).optional(),
|
|
64966
|
+
billingAddress: Address$inboundSchema.optional(),
|
|
64895
64967
|
state: IssuedCardState$inboundSchema,
|
|
64896
64968
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
64897
64969
|
controls: IssuingControls$inboundSchema.optional(),
|
|
64898
|
-
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
64970
|
+
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
64971
|
+
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
64899
64972
|
});
|
|
64900
64973
|
IssuedCard$outboundSchema = objectType({
|
|
64901
64974
|
issuedCardID: stringType(),
|
|
64902
64975
|
brand: CardBrand$outboundSchema,
|
|
64903
64976
|
lastFourCardNumber: stringType(),
|
|
64904
64977
|
expiration: CardExpiration$outboundSchema,
|
|
64905
|
-
authorizedUser: AuthorizedUser$outboundSchema,
|
|
64906
|
-
memo: stringType().optional(),
|
|
64907
64978
|
fundingWalletID: stringType(),
|
|
64979
|
+
authorizedUserAccountID: stringType().optional(),
|
|
64980
|
+
nickname: stringType().optional(),
|
|
64981
|
+
metadata: recordType(stringType()).optional(),
|
|
64982
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
64908
64983
|
state: IssuedCardState$outboundSchema,
|
|
64909
64984
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
64910
64985
|
controls: IssuingControls$outboundSchema.optional(),
|
|
64911
|
-
createdOn: dateType().transform((v2) => v2.toISOString())
|
|
64986
|
+
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
64987
|
+
updatedOn: dateType().transform((v2) => v2.toISOString())
|
|
64912
64988
|
});
|
|
64913
64989
|
});
|
|
64914
64990
|
|
|
@@ -66411,21 +66487,39 @@ var init_paymentlinkpaymentdetailsupdate = __esm(() => {
|
|
|
66411
66487
|
});
|
|
66412
66488
|
});
|
|
66413
66489
|
|
|
66490
|
+
// src/models/components/pushoptionsupdate.ts
|
|
66491
|
+
var PushOptionsUpdate$inboundSchema, PushOptionsUpdate$outboundSchema;
|
|
66492
|
+
var init_pushoptionsupdate = __esm(() => {
|
|
66493
|
+
init_esm();
|
|
66494
|
+
init_pushdeliveryspeed();
|
|
66495
|
+
PushOptionsUpdate$inboundSchema = objectType({
|
|
66496
|
+
allowedSpeeds: arrayType(PushDeliverySpeed$inboundSchema).optional(),
|
|
66497
|
+
deferredBy: stringType().optional()
|
|
66498
|
+
});
|
|
66499
|
+
PushOptionsUpdate$outboundSchema = objectType({
|
|
66500
|
+
allowedSpeeds: arrayType(PushDeliverySpeed$outboundSchema).optional(),
|
|
66501
|
+
deferredBy: stringType().optional()
|
|
66502
|
+
});
|
|
66503
|
+
});
|
|
66504
|
+
|
|
66414
66505
|
// src/models/components/paymentlinkpayoutdetailsupdate.ts
|
|
66415
66506
|
var PaymentLinkPayoutDetailsUpdate$inboundSchema, PaymentLinkPayoutDetailsUpdate$outboundSchema;
|
|
66416
66507
|
var init_paymentlinkpayoutdetailsupdate = __esm(() => {
|
|
66417
66508
|
init_esm();
|
|
66418
66509
|
init_disbursementpaymentmethodtype();
|
|
66419
66510
|
init_payoutrecipient();
|
|
66511
|
+
init_pushoptionsupdate();
|
|
66420
66512
|
PaymentLinkPayoutDetailsUpdate$inboundSchema = objectType({
|
|
66421
66513
|
allowedMethods: arrayType(DisbursementPaymentMethodType$inboundSchema).optional(),
|
|
66422
66514
|
recipient: PayoutRecipient$inboundSchema.optional(),
|
|
66423
|
-
metadata: recordType(stringType()).optional()
|
|
66515
|
+
metadata: recordType(stringType()).optional(),
|
|
66516
|
+
pushOptions: PushOptionsUpdate$inboundSchema.optional()
|
|
66424
66517
|
});
|
|
66425
66518
|
PaymentLinkPayoutDetailsUpdate$outboundSchema = objectType({
|
|
66426
66519
|
allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema).optional(),
|
|
66427
66520
|
recipient: PayoutRecipient$outboundSchema.optional(),
|
|
66428
|
-
metadata: recordType(stringType()).optional()
|
|
66521
|
+
metadata: recordType(stringType()).optional(),
|
|
66522
|
+
pushOptions: PushOptionsUpdate$outboundSchema.optional()
|
|
66429
66523
|
});
|
|
66430
66524
|
});
|
|
66431
66525
|
|
|
@@ -66624,20 +66718,37 @@ var init_payoutrecipienterror = __esm(() => {
|
|
|
66624
66718
|
});
|
|
66625
66719
|
});
|
|
66626
66720
|
|
|
66721
|
+
// src/models/components/pushoptionserror.ts
|
|
66722
|
+
var PushOptionsError$inboundSchema, PushOptionsError$outboundSchema;
|
|
66723
|
+
var init_pushoptionserror = __esm(() => {
|
|
66724
|
+
init_esm();
|
|
66725
|
+
PushOptionsError$inboundSchema = objectType({
|
|
66726
|
+
allowedSpeeds: stringType().optional(),
|
|
66727
|
+
deferredBy: stringType().optional()
|
|
66728
|
+
});
|
|
66729
|
+
PushOptionsError$outboundSchema = objectType({
|
|
66730
|
+
allowedSpeeds: stringType().optional(),
|
|
66731
|
+
deferredBy: stringType().optional()
|
|
66732
|
+
});
|
|
66733
|
+
});
|
|
66734
|
+
|
|
66627
66735
|
// src/models/components/payoutdetailserror.ts
|
|
66628
66736
|
var PayoutDetailsError$inboundSchema, PayoutDetailsError$outboundSchema;
|
|
66629
66737
|
var init_payoutdetailserror = __esm(() => {
|
|
66630
66738
|
init_esm();
|
|
66631
66739
|
init_payoutrecipienterror();
|
|
66740
|
+
init_pushoptionserror();
|
|
66632
66741
|
PayoutDetailsError$inboundSchema = objectType({
|
|
66633
66742
|
allowedMethods: stringType().optional(),
|
|
66634
66743
|
recipient: PayoutRecipientError$inboundSchema.optional(),
|
|
66635
|
-
metadata: stringType().optional()
|
|
66744
|
+
metadata: stringType().optional(),
|
|
66745
|
+
pushOptions: PushOptionsError$inboundSchema.optional()
|
|
66636
66746
|
});
|
|
66637
66747
|
PayoutDetailsError$outboundSchema = objectType({
|
|
66638
66748
|
allowedMethods: stringType().optional(),
|
|
66639
66749
|
recipient: PayoutRecipientError$outboundSchema.optional(),
|
|
66640
|
-
metadata: stringType().optional()
|
|
66750
|
+
metadata: stringType().optional(),
|
|
66751
|
+
pushOptions: PushOptionsError$outboundSchema.optional()
|
|
66641
66752
|
});
|
|
66642
66753
|
});
|
|
66643
66754
|
|
|
@@ -67182,23 +67293,22 @@ var init_representativeresponsibilitieserror = __esm(() => {
|
|
|
67182
67293
|
var RequestCard$inboundSchema, RequestCard$outboundSchema;
|
|
67183
67294
|
var init_requestcard = __esm(() => {
|
|
67184
67295
|
init_esm();
|
|
67296
|
+
init_address();
|
|
67185
67297
|
init_cardexpiration();
|
|
67186
|
-
init_createauthorizeduser();
|
|
67187
|
-
init_issuedcardformfactor();
|
|
67188
67298
|
init_issuingcontrols();
|
|
67189
67299
|
RequestCard$inboundSchema = objectType({
|
|
67190
|
-
|
|
67191
|
-
|
|
67192
|
-
|
|
67193
|
-
|
|
67300
|
+
authorizedUserAccountID: stringType().optional(),
|
|
67301
|
+
nickname: stringType().optional(),
|
|
67302
|
+
metadata: recordType(stringType()).optional(),
|
|
67303
|
+
billingAddress: Address$inboundSchema.optional(),
|
|
67194
67304
|
expiration: CardExpiration$inboundSchema.optional(),
|
|
67195
67305
|
controls: IssuingControls$inboundSchema.optional()
|
|
67196
67306
|
});
|
|
67197
67307
|
RequestCard$outboundSchema = objectType({
|
|
67198
|
-
|
|
67199
|
-
|
|
67200
|
-
|
|
67201
|
-
|
|
67308
|
+
authorizedUserAccountID: stringType().optional(),
|
|
67309
|
+
nickname: stringType().optional(),
|
|
67310
|
+
metadata: recordType(stringType()).optional(),
|
|
67311
|
+
billingAddress: Address$outboundSchema.optional(),
|
|
67202
67312
|
expiration: CardExpiration$outboundSchema.optional(),
|
|
67203
67313
|
controls: IssuingControls$outboundSchema.optional()
|
|
67204
67314
|
});
|
|
@@ -68122,16 +68232,39 @@ var init_transfer = __esm(() => {
|
|
|
68122
68232
|
});
|
|
68123
68233
|
});
|
|
68124
68234
|
|
|
68235
|
+
// src/models/components/transfercontrols.ts
|
|
68236
|
+
var TransferControls$inboundSchema, TransferControls$outboundSchema;
|
|
68237
|
+
var init_transfercontrols = __esm(() => {
|
|
68238
|
+
init_esm();
|
|
68239
|
+
TransferControls$inboundSchema = objectType({
|
|
68240
|
+
accountID: stringType(),
|
|
68241
|
+
partnerAccountID: stringType(),
|
|
68242
|
+
debtRepayment: booleanType(),
|
|
68243
|
+
allowDynamicDescriptor: booleanType(),
|
|
68244
|
+
allowSurcharge: booleanType()
|
|
68245
|
+
});
|
|
68246
|
+
TransferControls$outboundSchema = objectType({
|
|
68247
|
+
accountID: stringType(),
|
|
68248
|
+
partnerAccountID: stringType(),
|
|
68249
|
+
debtRepayment: booleanType(),
|
|
68250
|
+
allowDynamicDescriptor: booleanType(),
|
|
68251
|
+
allowSurcharge: booleanType()
|
|
68252
|
+
});
|
|
68253
|
+
});
|
|
68254
|
+
|
|
68125
68255
|
// src/models/components/transferconfig.ts
|
|
68126
68256
|
var TransferConfig$inboundSchema, TransferConfig$outboundSchema;
|
|
68127
68257
|
var init_transferconfig = __esm(() => {
|
|
68128
68258
|
init_esm();
|
|
68129
68259
|
init_tippresets();
|
|
68260
|
+
init_transfercontrols();
|
|
68130
68261
|
TransferConfig$inboundSchema = objectType({
|
|
68131
|
-
tipPresets: TipPresets$inboundSchema.optional()
|
|
68262
|
+
tipPresets: TipPresets$inboundSchema.optional(),
|
|
68263
|
+
transferControls: arrayType(TransferControls$inboundSchema).optional()
|
|
68132
68264
|
});
|
|
68133
68265
|
TransferConfig$outboundSchema = objectType({
|
|
68134
|
-
tipPresets: TipPresets$outboundSchema.optional()
|
|
68266
|
+
tipPresets: TipPresets$outboundSchema.optional(),
|
|
68267
|
+
transferControls: arrayType(TransferControls$outboundSchema).optional()
|
|
68135
68268
|
});
|
|
68136
68269
|
});
|
|
68137
68270
|
|
|
@@ -68447,20 +68580,37 @@ var init_updateissuedcardstate = __esm(() => {
|
|
|
68447
68580
|
});
|
|
68448
68581
|
|
|
68449
68582
|
// src/models/components/updateissuedcard.ts
|
|
68450
|
-
var UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
|
|
68583
|
+
var BillingAddress$inboundSchema, BillingAddress$outboundSchema, UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
|
|
68451
68584
|
var init_updateissuedcard = __esm(() => {
|
|
68452
68585
|
init_esm();
|
|
68453
|
-
init_createauthorizeduserupdate();
|
|
68454
68586
|
init_updateissuedcardstate();
|
|
68587
|
+
BillingAddress$inboundSchema = objectType({
|
|
68588
|
+
addressLine1: stringType().optional(),
|
|
68589
|
+
addressLine2: stringType().optional(),
|
|
68590
|
+
city: stringType().optional(),
|
|
68591
|
+
stateOrProvince: stringType().optional(),
|
|
68592
|
+
postalCode: stringType().optional(),
|
|
68593
|
+
country: stringType().optional()
|
|
68594
|
+
});
|
|
68595
|
+
BillingAddress$outboundSchema = objectType({
|
|
68596
|
+
addressLine1: stringType().optional(),
|
|
68597
|
+
addressLine2: stringType().optional(),
|
|
68598
|
+
city: stringType().optional(),
|
|
68599
|
+
stateOrProvince: stringType().optional(),
|
|
68600
|
+
postalCode: stringType().optional(),
|
|
68601
|
+
country: stringType().optional()
|
|
68602
|
+
});
|
|
68455
68603
|
UpdateIssuedCard$inboundSchema = objectType({
|
|
68456
68604
|
state: UpdateIssuedCardState$inboundSchema.optional(),
|
|
68457
|
-
|
|
68458
|
-
|
|
68605
|
+
nickname: nullableType(stringType()).optional(),
|
|
68606
|
+
metadata: nullableType(recordType(stringType())).optional(),
|
|
68607
|
+
billingAddress: nullableType(lazyType(() => BillingAddress$inboundSchema)).optional()
|
|
68459
68608
|
});
|
|
68460
68609
|
UpdateIssuedCard$outboundSchema = objectType({
|
|
68461
68610
|
state: UpdateIssuedCardState$outboundSchema.optional(),
|
|
68462
|
-
|
|
68463
|
-
|
|
68611
|
+
nickname: nullableType(stringType()).optional(),
|
|
68612
|
+
metadata: nullableType(recordType(stringType())).optional(),
|
|
68613
|
+
billingAddress: nullableType(lazyType(() => BillingAddress$outboundSchema)).optional()
|
|
68464
68614
|
});
|
|
68465
68615
|
});
|
|
68466
68616
|
|
|
@@ -68932,6 +69082,24 @@ var init_webhookdataaccountupdated = __esm(() => {
|
|
|
68932
69082
|
});
|
|
68933
69083
|
});
|
|
68934
69084
|
|
|
69085
|
+
// src/models/components/webhookdataauthorizationexpiring.ts
|
|
69086
|
+
var WebhookDataAuthorizationExpiring$inboundSchema, WebhookDataAuthorizationExpiring$outboundSchema;
|
|
69087
|
+
var init_webhookdataauthorizationexpiring = __esm(() => {
|
|
69088
|
+
init_esm();
|
|
69089
|
+
WebhookDataAuthorizationExpiring$inboundSchema = objectType({
|
|
69090
|
+
merchantAccountID: stringType(),
|
|
69091
|
+
partnerAccountID: stringType(),
|
|
69092
|
+
authorizationID: stringType(),
|
|
69093
|
+
expiresOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
69094
|
+
});
|
|
69095
|
+
WebhookDataAuthorizationExpiring$outboundSchema = objectType({
|
|
69096
|
+
merchantAccountID: stringType(),
|
|
69097
|
+
partnerAccountID: stringType(),
|
|
69098
|
+
authorizationID: stringType(),
|
|
69099
|
+
expiresOn: dateType().transform((v2) => v2.toISOString())
|
|
69100
|
+
});
|
|
69101
|
+
});
|
|
69102
|
+
|
|
68935
69103
|
// src/models/components/webhookdatabalanceupdated.ts
|
|
68936
69104
|
var WebhookDataBalanceUpdated$inboundSchema, WebhookDataBalanceUpdated$outboundSchema;
|
|
68937
69105
|
var init_webhookdatabalanceupdated = __esm(() => {
|
|
@@ -69306,10 +69474,12 @@ var WebhookDataSweepCreated$inboundSchema, WebhookDataSweepCreated$outboundSchem
|
|
|
69306
69474
|
var init_webhookdatasweepcreated = __esm(() => {
|
|
69307
69475
|
init_esm();
|
|
69308
69476
|
WebhookDataSweepCreated$inboundSchema = objectType({
|
|
69477
|
+
accountID: stringType(),
|
|
69309
69478
|
walletID: stringType(),
|
|
69310
69479
|
sweepID: stringType()
|
|
69311
69480
|
});
|
|
69312
69481
|
WebhookDataSweepCreated$outboundSchema = objectType({
|
|
69482
|
+
accountID: stringType(),
|
|
69313
69483
|
walletID: stringType(),
|
|
69314
69484
|
sweepID: stringType()
|
|
69315
69485
|
});
|
|
@@ -69321,12 +69491,14 @@ var init_webhookdatasweepupdated = __esm(() => {
|
|
|
69321
69491
|
init_esm();
|
|
69322
69492
|
init_sweepstatus();
|
|
69323
69493
|
WebhookDataSweepUpdated$inboundSchema = objectType({
|
|
69494
|
+
accountID: stringType(),
|
|
69324
69495
|
walletID: stringType(),
|
|
69325
69496
|
sweepID: stringType(),
|
|
69326
69497
|
transferID: stringType().optional(),
|
|
69327
69498
|
status: SweepStatus$inboundSchema
|
|
69328
69499
|
});
|
|
69329
69500
|
WebhookDataSweepUpdated$outboundSchema = objectType({
|
|
69501
|
+
accountID: stringType(),
|
|
69330
69502
|
walletID: stringType(),
|
|
69331
69503
|
sweepID: stringType(),
|
|
69332
69504
|
transferID: stringType().optional(),
|
|
@@ -69567,6 +69739,7 @@ var init_webhookdata = __esm(() => {
|
|
|
69567
69739
|
init_webhookdataaccountcreated();
|
|
69568
69740
|
init_webhookdataaccountdisconnected();
|
|
69569
69741
|
init_webhookdataaccountupdated();
|
|
69742
|
+
init_webhookdataauthorizationexpiring();
|
|
69570
69743
|
init_webhookdatabalanceupdated();
|
|
69571
69744
|
init_webhookdatabankaccountcreated();
|
|
69572
69745
|
init_webhookdatabankaccountdeleted();
|
|
@@ -69606,7 +69779,9 @@ var init_webhookdata = __esm(() => {
|
|
|
69606
69779
|
WebhookDataTransferUpdated$inboundSchema,
|
|
69607
69780
|
WebhookDataBankAccountUpdated$inboundSchema,
|
|
69608
69781
|
WebhookDataRefundUpdated$inboundSchema,
|
|
69782
|
+
WebhookDataSweepUpdated$inboundSchema,
|
|
69609
69783
|
WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
69784
|
+
WebhookDataAuthorizationExpiring$inboundSchema,
|
|
69610
69785
|
WebhookDataBankAccountCreated$inboundSchema,
|
|
69611
69786
|
WebhookDataBankAccountDeleted$inboundSchema,
|
|
69612
69787
|
WebhookDataCancellationCreated$inboundSchema,
|
|
@@ -69617,7 +69792,7 @@ var init_webhookdata = __esm(() => {
|
|
|
69617
69792
|
WebhookDataPaymentMethodEnabled$inboundSchema,
|
|
69618
69793
|
WebhookDataPaymentMethodDisabled$inboundSchema,
|
|
69619
69794
|
WebhookDataRefundCreated$inboundSchema,
|
|
69620
|
-
|
|
69795
|
+
WebhookDataSweepCreated$inboundSchema,
|
|
69621
69796
|
WebhookDataTicketUpdated$inboundSchema,
|
|
69622
69797
|
WebhookDataTransferCreated$inboundSchema,
|
|
69623
69798
|
WebhookDataWalletUpdated$inboundSchema,
|
|
@@ -69627,7 +69802,6 @@ var init_webhookdata = __esm(() => {
|
|
|
69627
69802
|
WebhookDataRepresentativeCreated$inboundSchema,
|
|
69628
69803
|
WebhookDataRepresentativeUpdated$inboundSchema,
|
|
69629
69804
|
WebhookDataRepresentativeDisabled$inboundSchema,
|
|
69630
|
-
WebhookDataSweepCreated$inboundSchema,
|
|
69631
69805
|
WebhookDataTerminalApplicationCreated$inboundSchema,
|
|
69632
69806
|
WebhookDataTerminalApplicationUpdated$inboundSchema,
|
|
69633
69807
|
WebhookDataTicketCreated$inboundSchema,
|
|
@@ -69645,7 +69819,9 @@ var init_webhookdata = __esm(() => {
|
|
|
69645
69819
|
WebhookDataTransferUpdated$outboundSchema,
|
|
69646
69820
|
WebhookDataBankAccountUpdated$outboundSchema,
|
|
69647
69821
|
WebhookDataRefundUpdated$outboundSchema,
|
|
69822
|
+
WebhookDataSweepUpdated$outboundSchema,
|
|
69648
69823
|
WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
69824
|
+
WebhookDataAuthorizationExpiring$outboundSchema,
|
|
69649
69825
|
WebhookDataBankAccountCreated$outboundSchema,
|
|
69650
69826
|
WebhookDataBankAccountDeleted$outboundSchema,
|
|
69651
69827
|
WebhookDataCancellationCreated$outboundSchema,
|
|
@@ -69656,7 +69832,7 @@ var init_webhookdata = __esm(() => {
|
|
|
69656
69832
|
WebhookDataPaymentMethodEnabled$outboundSchema,
|
|
69657
69833
|
WebhookDataPaymentMethodDisabled$outboundSchema,
|
|
69658
69834
|
WebhookDataRefundCreated$outboundSchema,
|
|
69659
|
-
|
|
69835
|
+
WebhookDataSweepCreated$outboundSchema,
|
|
69660
69836
|
WebhookDataTicketUpdated$outboundSchema,
|
|
69661
69837
|
WebhookDataTransferCreated$outboundSchema,
|
|
69662
69838
|
WebhookDataWalletUpdated$outboundSchema,
|
|
@@ -69666,7 +69842,6 @@ var init_webhookdata = __esm(() => {
|
|
|
69666
69842
|
WebhookDataRepresentativeCreated$outboundSchema,
|
|
69667
69843
|
WebhookDataRepresentativeUpdated$outboundSchema,
|
|
69668
69844
|
WebhookDataRepresentativeDisabled$outboundSchema,
|
|
69669
|
-
WebhookDataSweepCreated$outboundSchema,
|
|
69670
69845
|
WebhookDataTerminalApplicationCreated$outboundSchema,
|
|
69671
69846
|
WebhookDataTerminalApplicationUpdated$outboundSchema,
|
|
69672
69847
|
WebhookDataTicketCreated$outboundSchema,
|
|
@@ -69764,7 +69939,6 @@ var init_components = __esm(() => {
|
|
|
69764
69939
|
init_assignproductimagevalidationerror();
|
|
69765
69940
|
init_asynccreatedrefund();
|
|
69766
69941
|
init_asynctransfer();
|
|
69767
|
-
init_authorizeduser();
|
|
69768
69942
|
init_authtoken();
|
|
69769
69943
|
init_authtokenrequest();
|
|
69770
69944
|
init_bankaccount();
|
|
@@ -69853,9 +70027,6 @@ var init_components = __esm(() => {
|
|
|
69853
70027
|
init_createaccountsettings();
|
|
69854
70028
|
init_createaccounttype();
|
|
69855
70029
|
init_createapplepaysession();
|
|
69856
|
-
init_createauthorizeduser();
|
|
69857
|
-
init_createauthorizedusererror();
|
|
69858
|
-
init_createauthorizeduserupdate();
|
|
69859
70030
|
init_createbusinesserror();
|
|
69860
70031
|
init_createbusinessprofile();
|
|
69861
70032
|
init_createdtransfer();
|
|
@@ -70128,6 +70299,10 @@ var init_components = __esm(() => {
|
|
|
70128
70299
|
init_pullfromcardtransferpaymentmethod();
|
|
70129
70300
|
init_pullfromgooglepaypaymentmethod();
|
|
70130
70301
|
init_pullfromgooglepaytransferpaymentmethod();
|
|
70302
|
+
init_pushdeliveryspeed();
|
|
70303
|
+
init_pushoptions();
|
|
70304
|
+
init_pushoptionserror();
|
|
70305
|
+
init_pushoptionsupdate();
|
|
70131
70306
|
init_pushtoapplepaypaymentmethod();
|
|
70132
70307
|
init_pushtoapplepaytransferpaymentmethod();
|
|
70133
70308
|
init_pushtocardpaymentmethod();
|
|
@@ -70229,6 +70404,7 @@ var init_components = __esm(() => {
|
|
|
70229
70404
|
init_transferachaddendarecord();
|
|
70230
70405
|
init_transferamountdetails();
|
|
70231
70406
|
init_transferconfig();
|
|
70407
|
+
init_transfercontrols();
|
|
70232
70408
|
init_transferdestination();
|
|
70233
70409
|
init_transferentrymode();
|
|
70234
70410
|
init_transferfailurereason();
|
|
@@ -70287,6 +70463,7 @@ var init_components = __esm(() => {
|
|
|
70287
70463
|
init_webhookdataaccountcreated();
|
|
70288
70464
|
init_webhookdataaccountdisconnected();
|
|
70289
70465
|
init_webhookdataaccountupdated();
|
|
70466
|
+
init_webhookdataauthorizationexpiring();
|
|
70290
70467
|
init_webhookdatabalanceupdated();
|
|
70291
70468
|
init_webhookdatabankaccountcreated();
|
|
70292
70469
|
init_webhookdatabankaccountdeleted();
|
|
@@ -72191,10 +72368,10 @@ var init_requestcarderror = __esm(() => {
|
|
|
72191
72368
|
init_components();
|
|
72192
72369
|
init_mooverror();
|
|
72193
72370
|
RequestCardError = class RequestCardError extends MoovError {
|
|
72194
|
-
|
|
72195
|
-
|
|
72196
|
-
|
|
72197
|
-
|
|
72371
|
+
authorizedUserAccountID;
|
|
72372
|
+
nickname;
|
|
72373
|
+
metadata;
|
|
72374
|
+
billingAddress;
|
|
72198
72375
|
expiration;
|
|
72199
72376
|
controls;
|
|
72200
72377
|
data$;
|
|
@@ -72202,14 +72379,15 @@ var init_requestcarderror = __esm(() => {
|
|
|
72202
72379
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
72203
72380
|
super(message, httpMeta);
|
|
72204
72381
|
this.data$ = err;
|
|
72205
|
-
if (err.
|
|
72206
|
-
this.
|
|
72207
|
-
|
|
72208
|
-
|
|
72209
|
-
|
|
72210
|
-
|
|
72211
|
-
|
|
72212
|
-
|
|
72382
|
+
if (err.authorizedUserAccountID != null) {
|
|
72383
|
+
this.authorizedUserAccountID = err.authorizedUserAccountID;
|
|
72384
|
+
}
|
|
72385
|
+
if (err.nickname != null)
|
|
72386
|
+
this.nickname = err.nickname;
|
|
72387
|
+
if (err.metadata != null)
|
|
72388
|
+
this.metadata = err.metadata;
|
|
72389
|
+
if (err.billingAddress != null)
|
|
72390
|
+
this.billingAddress = err.billingAddress;
|
|
72213
72391
|
if (err.expiration != null)
|
|
72214
72392
|
this.expiration = err.expiration;
|
|
72215
72393
|
if (err.controls != null)
|
|
@@ -72218,10 +72396,10 @@ var init_requestcarderror = __esm(() => {
|
|
|
72218
72396
|
}
|
|
72219
72397
|
};
|
|
72220
72398
|
RequestCardError$inboundSchema = objectType({
|
|
72221
|
-
|
|
72222
|
-
|
|
72223
|
-
|
|
72224
|
-
|
|
72399
|
+
authorizedUserAccountID: stringType().optional(),
|
|
72400
|
+
nickname: stringType().optional(),
|
|
72401
|
+
metadata: stringType().optional(),
|
|
72402
|
+
billingAddress: AddressError$inboundSchema.optional(),
|
|
72225
72403
|
expiration: CardExpirationError$inboundSchema.optional(),
|
|
72226
72404
|
controls: IssuingControlsError$inboundSchema.optional(),
|
|
72227
72405
|
request$: instanceOfType(Request),
|
|
@@ -72235,10 +72413,10 @@ var init_requestcarderror = __esm(() => {
|
|
|
72235
72413
|
});
|
|
72236
72414
|
});
|
|
72237
72415
|
RequestCardError$outboundSchema = instanceOfType(RequestCardError).transform((v2) => v2.data$).pipe(objectType({
|
|
72238
|
-
|
|
72239
|
-
|
|
72240
|
-
|
|
72241
|
-
|
|
72416
|
+
authorizedUserAccountID: stringType().optional(),
|
|
72417
|
+
nickname: stringType().optional(),
|
|
72418
|
+
metadata: stringType().optional(),
|
|
72419
|
+
billingAddress: AddressError$outboundSchema.optional(),
|
|
72242
72420
|
expiration: CardExpirationError$outboundSchema.optional(),
|
|
72243
72421
|
controls: IssuingControlsError$outboundSchema.optional()
|
|
72244
72422
|
}));
|
|
@@ -72944,8 +73122,9 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
72944
73122
|
init_mooverror();
|
|
72945
73123
|
UpdateIssuedCardError = class UpdateIssuedCardError extends MoovError {
|
|
72946
73124
|
state;
|
|
72947
|
-
|
|
72948
|
-
|
|
73125
|
+
nickname;
|
|
73126
|
+
metadata;
|
|
73127
|
+
billingAddress;
|
|
72949
73128
|
data$;
|
|
72950
73129
|
constructor(err, httpMeta) {
|
|
72951
73130
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -72953,17 +73132,20 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
72953
73132
|
this.data$ = err;
|
|
72954
73133
|
if (err.state != null)
|
|
72955
73134
|
this.state = err.state;
|
|
72956
|
-
if (err.
|
|
72957
|
-
this.
|
|
72958
|
-
if (err.
|
|
72959
|
-
this.
|
|
73135
|
+
if (err.nickname != null)
|
|
73136
|
+
this.nickname = err.nickname;
|
|
73137
|
+
if (err.metadata != null)
|
|
73138
|
+
this.metadata = err.metadata;
|
|
73139
|
+
if (err.billingAddress != null)
|
|
73140
|
+
this.billingAddress = err.billingAddress;
|
|
72960
73141
|
this.name = "UpdateIssuedCardError";
|
|
72961
73142
|
}
|
|
72962
73143
|
};
|
|
72963
73144
|
UpdateIssuedCardError$inboundSchema = objectType({
|
|
72964
73145
|
state: stringType().optional(),
|
|
72965
|
-
|
|
72966
|
-
|
|
73146
|
+
nickname: stringType().optional(),
|
|
73147
|
+
metadata: stringType().optional(),
|
|
73148
|
+
billingAddress: AddressError$inboundSchema.optional(),
|
|
72967
73149
|
request$: instanceOfType(Request),
|
|
72968
73150
|
response$: instanceOfType(Response),
|
|
72969
73151
|
body$: stringType()
|
|
@@ -72976,8 +73158,9 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
72976
73158
|
});
|
|
72977
73159
|
UpdateIssuedCardError$outboundSchema = instanceOfType(UpdateIssuedCardError).transform((v2) => v2.data$).pipe(objectType({
|
|
72978
73160
|
state: stringType().optional(),
|
|
72979
|
-
|
|
72980
|
-
|
|
73161
|
+
nickname: stringType().optional(),
|
|
73162
|
+
metadata: stringType().optional(),
|
|
73163
|
+
billingAddress: AddressError$outboundSchema.optional()
|
|
72981
73164
|
}));
|
|
72982
73165
|
});
|
|
72983
73166
|
|
|
@@ -77323,6 +77506,40 @@ var init_listbankaccounts = __esm(() => {
|
|
|
77323
77506
|
});
|
|
77324
77507
|
});
|
|
77325
77508
|
|
|
77509
|
+
// src/models/operations/listcancellations.ts
|
|
77510
|
+
var ListCancellationsRequest$inboundSchema, ListCancellationsRequest$outboundSchema, ListCancellationsResponse$inboundSchema, ListCancellationsResponse$outboundSchema;
|
|
77511
|
+
var init_listcancellations = __esm(() => {
|
|
77512
|
+
init_esm();
|
|
77513
|
+
init_primitives();
|
|
77514
|
+
init_components();
|
|
77515
|
+
ListCancellationsRequest$inboundSchema = objectType({
|
|
77516
|
+
accountID: stringType(),
|
|
77517
|
+
transferID: stringType()
|
|
77518
|
+
});
|
|
77519
|
+
ListCancellationsRequest$outboundSchema = objectType({
|
|
77520
|
+
accountID: stringType(),
|
|
77521
|
+
transferID: stringType()
|
|
77522
|
+
});
|
|
77523
|
+
ListCancellationsResponse$inboundSchema = objectType({
|
|
77524
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
77525
|
+
Result: arrayType(Cancellation$inboundSchema)
|
|
77526
|
+
}).transform((v2) => {
|
|
77527
|
+
return remap(v2, {
|
|
77528
|
+
Headers: "headers",
|
|
77529
|
+
Result: "result"
|
|
77530
|
+
});
|
|
77531
|
+
});
|
|
77532
|
+
ListCancellationsResponse$outboundSchema = objectType({
|
|
77533
|
+
headers: recordType(arrayType(stringType())),
|
|
77534
|
+
result: arrayType(Cancellation$outboundSchema)
|
|
77535
|
+
}).transform((v2) => {
|
|
77536
|
+
return remap(v2, {
|
|
77537
|
+
headers: "Headers",
|
|
77538
|
+
result: "Result"
|
|
77539
|
+
});
|
|
77540
|
+
});
|
|
77541
|
+
});
|
|
77542
|
+
|
|
77326
77543
|
// src/models/operations/listcapabilities.ts
|
|
77327
77544
|
var ListCapabilitiesRequest$inboundSchema, ListCapabilitiesRequest$outboundSchema, ListCapabilitiesResponse$inboundSchema, ListCapabilitiesResponse$outboundSchema;
|
|
77328
77545
|
var init_listcapabilities = __esm(() => {
|
|
@@ -80481,6 +80698,7 @@ var init_operations = __esm(() => {
|
|
|
80481
80698
|
init_listaccountterminalapplications();
|
|
80482
80699
|
init_listadjustments();
|
|
80483
80700
|
init_listbankaccounts();
|
|
80701
|
+
init_listcancellations();
|
|
80484
80702
|
init_listcapabilities();
|
|
80485
80703
|
init_listcards();
|
|
80486
80704
|
init_listconnectedaccountsforaccount();
|
|
@@ -80570,16 +80788,19 @@ var init_async = __esm(() => {
|
|
|
80570
80788
|
[Symbol.toStringTag] = "APIPromise";
|
|
80571
80789
|
constructor(p) {
|
|
80572
80790
|
this.#promise = p instanceof Promise ? p : Promise.resolve(p);
|
|
80573
|
-
this.#unwrapped = p instanceof Promise ?
|
|
80791
|
+
this.#unwrapped = p instanceof Promise ? null : Promise.resolve(p[0]);
|
|
80792
|
+
}
|
|
80793
|
+
#getUnwrapped() {
|
|
80794
|
+
return this.#unwrapped ??= this.#promise.then(([value]) => value);
|
|
80574
80795
|
}
|
|
80575
80796
|
then(onfulfilled, onrejected) {
|
|
80576
80797
|
return this.#promise.then(onfulfilled ? ([value]) => onfulfilled(value) : undefined, onrejected);
|
|
80577
80798
|
}
|
|
80578
80799
|
catch(onrejected) {
|
|
80579
|
-
return this.#
|
|
80800
|
+
return this.#getUnwrapped().catch(onrejected);
|
|
80580
80801
|
}
|
|
80581
80802
|
finally(onfinally) {
|
|
80582
|
-
return this.#
|
|
80803
|
+
return this.#getUnwrapped().finally(onfinally);
|
|
80583
80804
|
}
|
|
80584
80805
|
$inspect() {
|
|
80585
80806
|
return this.#promise;
|
|
@@ -80902,21 +81123,19 @@ var init_accountsCreate2 = __esm(() => {
|
|
|
80902
81123
|
};
|
|
80903
81124
|
tool$accountsCreate = {
|
|
80904
81125
|
name: "accounts-create",
|
|
80905
|
-
description: `You can create
|
|
80906
|
-
information to Moov. Requirements differ per account type and requested [capabilities](https://docs.moov.io/guides/accounts/capabilities/requirements/).
|
|
81126
|
+
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/).
|
|
80907
81127
|
|
|
80908
|
-
If you
|
|
80909
|
-
+ Send Moov the user [platform terms of service agreement](https://docs.moov.io/guides/accounts/requirements/platform-agreement/) acceptance.
|
|
80910
|
-
|
|
80911
|
-
|
|
81128
|
+
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:
|
|
81129
|
+
+ 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.
|
|
81130
|
+
+ 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.
|
|
81131
|
+
|
|
81132
|
+
If you're creating a business account, depending on the business type, you'll also need to:
|
|
80912
81133
|
+ Provide [business representatives](https://docs.moov.io/api/moov-accounts/representatives/) after creating the account.
|
|
80913
81134
|
+ [Patch](https://docs.moov.io/api/moov-accounts/accounts/patch/) the account to indicate that business representative ownership information is complete.
|
|
80914
81135
|
|
|
80915
|
-
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/).
|
|
80916
|
-
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.
|
|
81136
|
+
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.
|
|
80917
81137
|
|
|
80918
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80919
|
-
to specify the \`/accounts.write\` scope.`,
|
|
81138
|
+
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.`,
|
|
80920
81139
|
args: args3,
|
|
80921
81140
|
tool: async (client, args4, ctx) => {
|
|
80922
81141
|
const [result, apiCall] = await accountsCreate(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -84388,7 +84607,7 @@ var init_bankAccountsLink2 = __esm(() => {
|
|
|
84388
84607
|
description: `Link a bank account to an existing Moov account. Read our [bank accounts guide](https://docs.moov.io/guides/sources/bank-accounts/) to learn more.
|
|
84389
84608
|
|
|
84390
84609
|
It is strongly recommended that callers include the \`X-Wait-For\` header, set to \`payment-method\`, if the newly linked
|
|
84391
|
-
bank
|
|
84610
|
+
bank account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
|
|
84392
84611
|
Methods](https://docs.moov.io/api/sources/payment-methods/list/)
|
|
84393
84612
|
endpoint to wait for the new payment methods to be available for use.
|
|
84394
84613
|
|
|
@@ -84955,7 +85174,7 @@ var init_capabilitiesDisable2 = __esm(() => {
|
|
|
84955
85174
|
};
|
|
84956
85175
|
tool$capabilitiesDisable = {
|
|
84957
85176
|
name: "capabilities-disable",
|
|
84958
|
-
description: `Disable a specific capability that an account has requested. Read our [capabilities
|
|
85177
|
+
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.
|
|
84959
85178
|
|
|
84960
85179
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
84961
85180
|
you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
|
|
@@ -85069,7 +85288,7 @@ var init_capabilitiesGet2 = __esm(() => {
|
|
|
85069
85288
|
};
|
|
85070
85289
|
tool$capabilitiesGet = {
|
|
85071
85290
|
name: "capabilities-get",
|
|
85072
|
-
description: `Retrieve a specific capability that an account has requested. Read our [capabilities
|
|
85291
|
+
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.
|
|
85073
85292
|
|
|
85074
85293
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
85075
85294
|
you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
|
|
@@ -85182,7 +85401,7 @@ var init_capabilitiesList2 = __esm(() => {
|
|
|
85182
85401
|
name: "capabilities-list",
|
|
85183
85402
|
description: `Retrieve all the capabilities an account has requested.
|
|
85184
85403
|
|
|
85185
|
-
Read our [capabilities
|
|
85404
|
+
Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
|
|
85186
85405
|
|
|
85187
85406
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
85188
85407
|
you'll need to specify the \`/accounts/{accountID}/capabilities.read\` scope.`,
|
|
@@ -85295,7 +85514,7 @@ var init_capabilitiesRequest2 = __esm(() => {
|
|
|
85295
85514
|
};
|
|
85296
85515
|
tool$capabilitiesRequest = {
|
|
85297
85516
|
name: "capabilities-request",
|
|
85298
|
-
description: `Request capabilities for a specific account. Read our [capabilities
|
|
85517
|
+
description: `Request capabilities for a specific account. Read our [capabilities reference](https://docs.moov.io/guides/accounts/capabilities/reference/) to learn more.
|
|
85299
85518
|
|
|
85300
85519
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
85301
85520
|
you'll need to specify the \`/accounts/{accountID}/capabilities.write\` scope.`,
|
|
@@ -85335,7 +85554,7 @@ async function $do42(client, request, options) {
|
|
|
85335
85554
|
charEncoding: "percent"
|
|
85336
85555
|
})
|
|
85337
85556
|
};
|
|
85338
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
85557
|
+
const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
|
|
85339
85558
|
const headers = new Headers(compactMap({
|
|
85340
85559
|
Accept: "application/json"
|
|
85341
85560
|
}));
|
|
@@ -85450,7 +85669,7 @@ async function $do43(client, request, options) {
|
|
|
85450
85669
|
charEncoding: "percent"
|
|
85451
85670
|
})
|
|
85452
85671
|
};
|
|
85453
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
85672
|
+
const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}/details")(pathParams);
|
|
85454
85673
|
const headers = new Headers(compactMap({
|
|
85455
85674
|
Accept: "application/json"
|
|
85456
85675
|
}));
|
|
@@ -85563,7 +85782,7 @@ async function $do44(client, request, options) {
|
|
|
85563
85782
|
charEncoding: "percent"
|
|
85564
85783
|
})
|
|
85565
85784
|
};
|
|
85566
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
85785
|
+
const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
|
|
85567
85786
|
const query = encodeFormQuery({
|
|
85568
85787
|
count: payload.count,
|
|
85569
85788
|
skip: payload.skip,
|
|
@@ -85680,7 +85899,7 @@ async function $do45(client, request, options) {
|
|
|
85680
85899
|
charEncoding: "percent"
|
|
85681
85900
|
})
|
|
85682
85901
|
};
|
|
85683
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
85902
|
+
const path = pathToFunc("/issuing/{accountID}/cards")(pathParams);
|
|
85684
85903
|
const headers = new Headers(compactMap({
|
|
85685
85904
|
"Content-Type": "application/json",
|
|
85686
85905
|
Accept: "application/json"
|
|
@@ -85797,7 +86016,7 @@ async function $do46(client, request, options) {
|
|
|
85797
86016
|
charEncoding: "percent"
|
|
85798
86017
|
})
|
|
85799
86018
|
};
|
|
85800
|
-
const path = pathToFunc("/issuing/{accountID}/
|
|
86019
|
+
const path = pathToFunc("/issuing/{accountID}/cards/{issuedCardID}")(pathParams);
|
|
85801
86020
|
const headers = new Headers(compactMap({
|
|
85802
86021
|
"Content-Type": "application/json",
|
|
85803
86022
|
Accept: "application/json"
|
|
@@ -100143,11 +100362,126 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
100143
100362
|
};
|
|
100144
100363
|
});
|
|
100145
100364
|
|
|
100146
|
-
// src/funcs/
|
|
100147
|
-
function
|
|
100365
|
+
// src/funcs/transfersListCancellations.ts
|
|
100366
|
+
function transfersListCancellations(client, request, options) {
|
|
100148
100367
|
return new APIPromise($do169(client, request, options));
|
|
100149
100368
|
}
|
|
100150
100369
|
async function $do169(client, request, options) {
|
|
100370
|
+
const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100371
|
+
if (!parsed.ok) {
|
|
100372
|
+
return [parsed, { status: "invalid" }];
|
|
100373
|
+
}
|
|
100374
|
+
const payload = parsed.value;
|
|
100375
|
+
const body = null;
|
|
100376
|
+
const pathParams = {
|
|
100377
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
100378
|
+
explode: false,
|
|
100379
|
+
charEncoding: "percent"
|
|
100380
|
+
}),
|
|
100381
|
+
transferID: encodeSimple("transferID", payload.transferID, {
|
|
100382
|
+
explode: false,
|
|
100383
|
+
charEncoding: "percent"
|
|
100384
|
+
})
|
|
100385
|
+
};
|
|
100386
|
+
const path = pathToFunc("/accounts/{accountID}/transfers/{transferID}/cancellations")(pathParams);
|
|
100387
|
+
const headers = new Headers(compactMap({
|
|
100388
|
+
Accept: "application/json"
|
|
100389
|
+
}));
|
|
100390
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
100391
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
100392
|
+
const context = {
|
|
100393
|
+
options: client._options,
|
|
100394
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
100395
|
+
operationID: "listCancellations",
|
|
100396
|
+
oAuth2Scopes: null,
|
|
100397
|
+
resolvedSecurity: requestSecurity,
|
|
100398
|
+
securitySource: client._options.security,
|
|
100399
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
100400
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
100401
|
+
};
|
|
100402
|
+
const requestRes = client._createRequest(context, {
|
|
100403
|
+
security: requestSecurity,
|
|
100404
|
+
method: "GET",
|
|
100405
|
+
baseURL: options?.serverURL,
|
|
100406
|
+
path,
|
|
100407
|
+
headers,
|
|
100408
|
+
body,
|
|
100409
|
+
userAgent: client._options.userAgent,
|
|
100410
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
100411
|
+
}, options);
|
|
100412
|
+
if (!requestRes.ok) {
|
|
100413
|
+
return [requestRes, { status: "invalid" }];
|
|
100414
|
+
}
|
|
100415
|
+
const req = requestRes.value;
|
|
100416
|
+
const doResult = await client._do(req, {
|
|
100417
|
+
context,
|
|
100418
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
100419
|
+
retryConfig: context.retryConfig,
|
|
100420
|
+
retryCodes: context.retryCodes
|
|
100421
|
+
});
|
|
100422
|
+
if (!doResult.ok) {
|
|
100423
|
+
return [doResult, { status: "request-error", request: req }];
|
|
100424
|
+
}
|
|
100425
|
+
const response = doResult.value;
|
|
100426
|
+
const responseFields = {
|
|
100427
|
+
HttpMeta: { Response: response, Request: req }
|
|
100428
|
+
};
|
|
100429
|
+
const [result] = await match(json(200, ListCancellationsResponse$inboundSchema, {
|
|
100430
|
+
hdrs: true,
|
|
100431
|
+
key: "Result"
|
|
100432
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
100433
|
+
if (!result.ok) {
|
|
100434
|
+
return [result, { status: "complete", request: req, response }];
|
|
100435
|
+
}
|
|
100436
|
+
return [result, { status: "complete", request: req, response }];
|
|
100437
|
+
}
|
|
100438
|
+
var init_transfersListCancellations = __esm(() => {
|
|
100439
|
+
init_encodings();
|
|
100440
|
+
init_http();
|
|
100441
|
+
init_matchers();
|
|
100442
|
+
init_primitives();
|
|
100443
|
+
init_schemas4();
|
|
100444
|
+
init_security();
|
|
100445
|
+
init_url();
|
|
100446
|
+
init_operations();
|
|
100447
|
+
init_async();
|
|
100448
|
+
});
|
|
100449
|
+
|
|
100450
|
+
// src/mcp-server/tools/transfersListCancellations.ts
|
|
100451
|
+
var args164, tool$transfersListCancellations;
|
|
100452
|
+
var init_transfersListCancellations2 = __esm(() => {
|
|
100453
|
+
init_transfersListCancellations();
|
|
100454
|
+
init_operations();
|
|
100455
|
+
init_tools();
|
|
100456
|
+
args164 = {
|
|
100457
|
+
request: ListCancellationsRequest$inboundSchema
|
|
100458
|
+
};
|
|
100459
|
+
tool$transfersListCancellations = {
|
|
100460
|
+
name: "transfers-list-cancellations",
|
|
100461
|
+
description: ` Get a list of cancellations for a transfer.
|
|
100462
|
+
|
|
100463
|
+
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
100464
|
+
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
100465
|
+
args: args164,
|
|
100466
|
+
tool: async (client, args165, ctx) => {
|
|
100467
|
+
const [result, apiCall] = await transfersListCancellations(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100468
|
+
if (!result.ok) {
|
|
100469
|
+
return {
|
|
100470
|
+
content: [{ type: "text", text: result.error.message }],
|
|
100471
|
+
isError: true
|
|
100472
|
+
};
|
|
100473
|
+
}
|
|
100474
|
+
const value = result.value.result;
|
|
100475
|
+
return formatResult(value, apiCall);
|
|
100476
|
+
}
|
|
100477
|
+
};
|
|
100478
|
+
});
|
|
100479
|
+
|
|
100480
|
+
// src/funcs/transfersListRefunds.ts
|
|
100481
|
+
function transfersListRefunds(client, request, options) {
|
|
100482
|
+
return new APIPromise($do170(client, request, options));
|
|
100483
|
+
}
|
|
100484
|
+
async function $do170(client, request, options) {
|
|
100151
100485
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100152
100486
|
if (!parsed.ok) {
|
|
100153
100487
|
return [parsed, { status: "invalid" }];
|
|
@@ -100229,12 +100563,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
100229
100563
|
});
|
|
100230
100564
|
|
|
100231
100565
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
100232
|
-
var
|
|
100566
|
+
var args165, tool$transfersListRefunds;
|
|
100233
100567
|
var init_transfersListRefunds2 = __esm(() => {
|
|
100234
100568
|
init_transfersListRefunds();
|
|
100235
100569
|
init_operations();
|
|
100236
100570
|
init_tools();
|
|
100237
|
-
|
|
100571
|
+
args165 = {
|
|
100238
100572
|
request: ListRefundsRequest$inboundSchema
|
|
100239
100573
|
};
|
|
100240
100574
|
tool$transfersListRefunds = {
|
|
@@ -100243,9 +100577,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
100243
100577
|
|
|
100244
100578
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100245
100579
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
100246
|
-
args:
|
|
100247
|
-
tool: async (client,
|
|
100248
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
100580
|
+
args: args165,
|
|
100581
|
+
tool: async (client, args166, ctx) => {
|
|
100582
|
+
const [result, apiCall] = await transfersListRefunds(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100249
100583
|
if (!result.ok) {
|
|
100250
100584
|
return {
|
|
100251
100585
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100260,9 +100594,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
100260
100594
|
|
|
100261
100595
|
// src/funcs/transfersUpdate.ts
|
|
100262
100596
|
function transfersUpdate(client, request, options) {
|
|
100263
|
-
return new APIPromise($
|
|
100597
|
+
return new APIPromise($do171(client, request, options));
|
|
100264
100598
|
}
|
|
100265
|
-
async function $
|
|
100599
|
+
async function $do171(client, request, options) {
|
|
100266
100600
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100267
100601
|
if (!parsed.ok) {
|
|
100268
100602
|
return [parsed, { status: "invalid" }];
|
|
@@ -100348,12 +100682,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
100348
100682
|
});
|
|
100349
100683
|
|
|
100350
100684
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
100351
|
-
var
|
|
100685
|
+
var args166, tool$transfersUpdate;
|
|
100352
100686
|
var init_transfersUpdate2 = __esm(() => {
|
|
100353
100687
|
init_transfersUpdate();
|
|
100354
100688
|
init_operations();
|
|
100355
100689
|
init_tools();
|
|
100356
|
-
|
|
100690
|
+
args166 = {
|
|
100357
100691
|
request: UpdateTransferRequest$inboundSchema
|
|
100358
100692
|
};
|
|
100359
100693
|
tool$transfersUpdate = {
|
|
@@ -100364,9 +100698,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
100364
100698
|
|
|
100365
100699
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100366
100700
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
100367
|
-
args:
|
|
100368
|
-
tool: async (client,
|
|
100369
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
100701
|
+
args: args166,
|
|
100702
|
+
tool: async (client, args167, ctx) => {
|
|
100703
|
+
const [result, apiCall] = await transfersUpdate(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100370
100704
|
if (!result.ok) {
|
|
100371
100705
|
return {
|
|
100372
100706
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100381,9 +100715,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
100381
100715
|
|
|
100382
100716
|
// src/funcs/underwritingGet.ts
|
|
100383
100717
|
function underwritingGet(client, request, options) {
|
|
100384
|
-
return new APIPromise($
|
|
100718
|
+
return new APIPromise($do172(client, request, options));
|
|
100385
100719
|
}
|
|
100386
|
-
async function $
|
|
100720
|
+
async function $do172(client, request, options) {
|
|
100387
100721
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100388
100722
|
if (!parsed.ok) {
|
|
100389
100723
|
return [parsed, { status: "invalid" }];
|
|
@@ -100461,12 +100795,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
100461
100795
|
});
|
|
100462
100796
|
|
|
100463
100797
|
// src/mcp-server/tools/underwritingGet.ts
|
|
100464
|
-
var
|
|
100798
|
+
var args167, tool$underwritingGet;
|
|
100465
100799
|
var init_underwritingGet2 = __esm(() => {
|
|
100466
100800
|
init_underwritingGet();
|
|
100467
100801
|
init_operations();
|
|
100468
100802
|
init_tools();
|
|
100469
|
-
|
|
100803
|
+
args167 = {
|
|
100470
100804
|
request: GetUnderwritingRequest$inboundSchema
|
|
100471
100805
|
};
|
|
100472
100806
|
tool$underwritingGet = {
|
|
@@ -100477,9 +100811,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
100477
100811
|
|
|
100478
100812
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100479
100813
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
100480
|
-
args:
|
|
100481
|
-
tool: async (client,
|
|
100482
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
100814
|
+
args: args167,
|
|
100815
|
+
tool: async (client, args168, ctx) => {
|
|
100816
|
+
const [result, apiCall] = await underwritingGet(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100483
100817
|
if (!result.ok) {
|
|
100484
100818
|
return {
|
|
100485
100819
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100494,9 +100828,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
100494
100828
|
|
|
100495
100829
|
// src/funcs/underwritingSave.ts
|
|
100496
100830
|
function underwritingSave(client, request, options) {
|
|
100497
|
-
return new APIPromise($
|
|
100831
|
+
return new APIPromise($do173(client, request, options));
|
|
100498
100832
|
}
|
|
100499
|
-
async function $
|
|
100833
|
+
async function $do173(client, request, options) {
|
|
100500
100834
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100501
100835
|
if (!parsed.ok) {
|
|
100502
100836
|
return [parsed, { status: "invalid" }];
|
|
@@ -100580,12 +100914,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
100580
100914
|
});
|
|
100581
100915
|
|
|
100582
100916
|
// src/mcp-server/tools/underwritingSave.ts
|
|
100583
|
-
var
|
|
100917
|
+
var args168, tool$underwritingSave;
|
|
100584
100918
|
var init_underwritingSave2 = __esm(() => {
|
|
100585
100919
|
init_underwritingSave();
|
|
100586
100920
|
init_operations();
|
|
100587
100921
|
init_tools();
|
|
100588
|
-
|
|
100922
|
+
args168 = {
|
|
100589
100923
|
request: SaveUnderwritingRequest$inboundSchema
|
|
100590
100924
|
};
|
|
100591
100925
|
tool$underwritingSave = {
|
|
@@ -100596,9 +100930,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
100596
100930
|
|
|
100597
100931
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100598
100932
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
100599
|
-
args:
|
|
100600
|
-
tool: async (client,
|
|
100601
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
100933
|
+
args: args168,
|
|
100934
|
+
tool: async (client, args169, ctx) => {
|
|
100935
|
+
const [result, apiCall] = await underwritingSave(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100602
100936
|
if (!result.ok) {
|
|
100603
100937
|
return {
|
|
100604
100938
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100613,9 +100947,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
100613
100947
|
|
|
100614
100948
|
// src/funcs/underwritingUpsert.ts
|
|
100615
100949
|
function underwritingUpsert(client, request, options) {
|
|
100616
|
-
return new APIPromise($
|
|
100950
|
+
return new APIPromise($do174(client, request, options));
|
|
100617
100951
|
}
|
|
100618
|
-
async function $
|
|
100952
|
+
async function $do174(client, request, options) {
|
|
100619
100953
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100620
100954
|
if (!parsed.ok) {
|
|
100621
100955
|
return [parsed, { status: "invalid" }];
|
|
@@ -100699,12 +101033,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
100699
101033
|
});
|
|
100700
101034
|
|
|
100701
101035
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
100702
|
-
var
|
|
101036
|
+
var args169, tool$underwritingUpsert;
|
|
100703
101037
|
var init_underwritingUpsert2 = __esm(() => {
|
|
100704
101038
|
init_underwritingUpsert();
|
|
100705
101039
|
init_operations();
|
|
100706
101040
|
init_tools();
|
|
100707
|
-
|
|
101041
|
+
args169 = {
|
|
100708
101042
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
100709
101043
|
};
|
|
100710
101044
|
tool$underwritingUpsert = {
|
|
@@ -100715,9 +101049,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
100715
101049
|
|
|
100716
101050
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100717
101051
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
100718
|
-
args:
|
|
100719
|
-
tool: async (client,
|
|
100720
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
101052
|
+
args: args169,
|
|
101053
|
+
tool: async (client, args170, ctx) => {
|
|
101054
|
+
const [result, apiCall] = await underwritingUpsert(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100721
101055
|
if (!result.ok) {
|
|
100722
101056
|
return {
|
|
100723
101057
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100732,9 +101066,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
100732
101066
|
|
|
100733
101067
|
// src/funcs/walletsCreate.ts
|
|
100734
101068
|
function walletsCreate(client, request, options) {
|
|
100735
|
-
return new APIPromise($
|
|
101069
|
+
return new APIPromise($do175(client, request, options));
|
|
100736
101070
|
}
|
|
100737
|
-
async function $
|
|
101071
|
+
async function $do175(client, request, options) {
|
|
100738
101072
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100739
101073
|
if (!parsed.ok) {
|
|
100740
101074
|
return [parsed, { status: "invalid" }];
|
|
@@ -100816,12 +101150,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
100816
101150
|
});
|
|
100817
101151
|
|
|
100818
101152
|
// src/mcp-server/tools/walletsCreate.ts
|
|
100819
|
-
var
|
|
101153
|
+
var args170, tool$walletsCreate;
|
|
100820
101154
|
var init_walletsCreate2 = __esm(() => {
|
|
100821
101155
|
init_walletsCreate();
|
|
100822
101156
|
init_operations();
|
|
100823
101157
|
init_tools();
|
|
100824
|
-
|
|
101158
|
+
args170 = {
|
|
100825
101159
|
request: CreateWalletRequest$inboundSchema
|
|
100826
101160
|
};
|
|
100827
101161
|
tool$walletsCreate = {
|
|
@@ -100832,9 +101166,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
100832
101166
|
|
|
100833
101167
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100834
101168
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
100835
|
-
args:
|
|
100836
|
-
tool: async (client,
|
|
100837
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
101169
|
+
args: args170,
|
|
101170
|
+
tool: async (client, args171, ctx) => {
|
|
101171
|
+
const [result, apiCall] = await walletsCreate(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100838
101172
|
if (!result.ok) {
|
|
100839
101173
|
return {
|
|
100840
101174
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100849,9 +101183,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100849
101183
|
|
|
100850
101184
|
// src/funcs/walletsGet.ts
|
|
100851
101185
|
function walletsGet(client, request, options) {
|
|
100852
|
-
return new APIPromise($
|
|
101186
|
+
return new APIPromise($do176(client, request, options));
|
|
100853
101187
|
}
|
|
100854
|
-
async function $
|
|
101188
|
+
async function $do176(client, request, options) {
|
|
100855
101189
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100856
101190
|
if (!parsed.ok) {
|
|
100857
101191
|
return [parsed, { status: "invalid" }];
|
|
@@ -100933,12 +101267,12 @@ var init_walletsGet = __esm(() => {
|
|
|
100933
101267
|
});
|
|
100934
101268
|
|
|
100935
101269
|
// src/mcp-server/tools/walletsGet.ts
|
|
100936
|
-
var
|
|
101270
|
+
var args171, tool$walletsGet;
|
|
100937
101271
|
var init_walletsGet2 = __esm(() => {
|
|
100938
101272
|
init_walletsGet();
|
|
100939
101273
|
init_operations();
|
|
100940
101274
|
init_tools();
|
|
100941
|
-
|
|
101275
|
+
args171 = {
|
|
100942
101276
|
request: GetWalletRequest$inboundSchema
|
|
100943
101277
|
};
|
|
100944
101278
|
tool$walletsGet = {
|
|
@@ -100949,9 +101283,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
100949
101283
|
|
|
100950
101284
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100951
101285
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100952
|
-
args:
|
|
100953
|
-
tool: async (client,
|
|
100954
|
-
const [result, apiCall] = await walletsGet(client,
|
|
101286
|
+
args: args171,
|
|
101287
|
+
tool: async (client, args172, ctx) => {
|
|
101288
|
+
const [result, apiCall] = await walletsGet(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100955
101289
|
if (!result.ok) {
|
|
100956
101290
|
return {
|
|
100957
101291
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100966,9 +101300,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100966
101300
|
|
|
100967
101301
|
// src/funcs/walletsList.ts
|
|
100968
101302
|
function walletsList(client, request, options) {
|
|
100969
|
-
return new APIPromise($
|
|
101303
|
+
return new APIPromise($do177(client, request, options));
|
|
100970
101304
|
}
|
|
100971
|
-
async function $
|
|
101305
|
+
async function $do177(client, request, options) {
|
|
100972
101306
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100973
101307
|
if (!parsed.ok) {
|
|
100974
101308
|
return [parsed, { status: "invalid" }];
|
|
@@ -101056,12 +101390,12 @@ var init_walletsList = __esm(() => {
|
|
|
101056
101390
|
});
|
|
101057
101391
|
|
|
101058
101392
|
// src/mcp-server/tools/walletsList.ts
|
|
101059
|
-
var
|
|
101393
|
+
var args172, tool$walletsList;
|
|
101060
101394
|
var init_walletsList2 = __esm(() => {
|
|
101061
101395
|
init_walletsList();
|
|
101062
101396
|
init_operations();
|
|
101063
101397
|
init_tools();
|
|
101064
|
-
|
|
101398
|
+
args172 = {
|
|
101065
101399
|
request: ListWalletsRequest$inboundSchema
|
|
101066
101400
|
};
|
|
101067
101401
|
tool$walletsList = {
|
|
@@ -101072,9 +101406,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
101072
101406
|
|
|
101073
101407
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101074
101408
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
101075
|
-
args:
|
|
101076
|
-
tool: async (client,
|
|
101077
|
-
const [result, apiCall] = await walletsList(client,
|
|
101409
|
+
args: args172,
|
|
101410
|
+
tool: async (client, args173, ctx) => {
|
|
101411
|
+
const [result, apiCall] = await walletsList(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101078
101412
|
if (!result.ok) {
|
|
101079
101413
|
return {
|
|
101080
101414
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101089,9 +101423,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
101089
101423
|
|
|
101090
101424
|
// src/funcs/walletsUpdate.ts
|
|
101091
101425
|
function walletsUpdate(client, request, options) {
|
|
101092
|
-
return new APIPromise($
|
|
101426
|
+
return new APIPromise($do178(client, request, options));
|
|
101093
101427
|
}
|
|
101094
|
-
async function $
|
|
101428
|
+
async function $do178(client, request, options) {
|
|
101095
101429
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101096
101430
|
if (!parsed.ok) {
|
|
101097
101431
|
return [parsed, { status: "invalid" }];
|
|
@@ -101177,12 +101511,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
101177
101511
|
});
|
|
101178
101512
|
|
|
101179
101513
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
101180
|
-
var
|
|
101514
|
+
var args173, tool$walletsUpdate;
|
|
101181
101515
|
var init_walletsUpdate2 = __esm(() => {
|
|
101182
101516
|
init_walletsUpdate();
|
|
101183
101517
|
init_operations();
|
|
101184
101518
|
init_tools();
|
|
101185
|
-
|
|
101519
|
+
args173 = {
|
|
101186
101520
|
request: UpdateWalletRequest$inboundSchema
|
|
101187
101521
|
};
|
|
101188
101522
|
tool$walletsUpdate = {
|
|
@@ -101193,9 +101527,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
101193
101527
|
|
|
101194
101528
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101195
101529
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
101196
|
-
args:
|
|
101197
|
-
tool: async (client,
|
|
101198
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
101530
|
+
args: args173,
|
|
101531
|
+
tool: async (client, args174, ctx) => {
|
|
101532
|
+
const [result, apiCall] = await walletsUpdate(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101199
101533
|
if (!result.ok) {
|
|
101200
101534
|
return {
|
|
101201
101535
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101210,9 +101544,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
101210
101544
|
|
|
101211
101545
|
// src/funcs/walletTransactionsGet.ts
|
|
101212
101546
|
function walletTransactionsGet(client, request, options) {
|
|
101213
|
-
return new APIPromise($
|
|
101547
|
+
return new APIPromise($do179(client, request, options));
|
|
101214
101548
|
}
|
|
101215
|
-
async function $
|
|
101549
|
+
async function $do179(client, request, options) {
|
|
101216
101550
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101217
101551
|
if (!parsed.ok) {
|
|
101218
101552
|
return [parsed, { status: "invalid" }];
|
|
@@ -101298,12 +101632,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
101298
101632
|
});
|
|
101299
101633
|
|
|
101300
101634
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
101301
|
-
var
|
|
101635
|
+
var args174, tool$walletTransactionsGet;
|
|
101302
101636
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
101303
101637
|
init_walletTransactionsGet();
|
|
101304
101638
|
init_operations();
|
|
101305
101639
|
init_tools();
|
|
101306
|
-
|
|
101640
|
+
args174 = {
|
|
101307
101641
|
request: GetWalletTransactionRequest$inboundSchema
|
|
101308
101642
|
};
|
|
101309
101643
|
tool$walletTransactionsGet = {
|
|
@@ -101314,9 +101648,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
101314
101648
|
|
|
101315
101649
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101316
101650
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
101317
|
-
args:
|
|
101318
|
-
tool: async (client,
|
|
101319
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
101651
|
+
args: args174,
|
|
101652
|
+
tool: async (client, args175, ctx) => {
|
|
101653
|
+
const [result, apiCall] = await walletTransactionsGet(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101320
101654
|
if (!result.ok) {
|
|
101321
101655
|
return {
|
|
101322
101656
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101331,9 +101665,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
101331
101665
|
|
|
101332
101666
|
// src/funcs/walletTransactionsList.ts
|
|
101333
101667
|
function walletTransactionsList(client, request, options) {
|
|
101334
|
-
return new APIPromise($
|
|
101668
|
+
return new APIPromise($do180(client, request, options));
|
|
101335
101669
|
}
|
|
101336
|
-
async function $
|
|
101670
|
+
async function $do180(client, request, options) {
|
|
101337
101671
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101338
101672
|
if (!parsed.ok) {
|
|
101339
101673
|
return [parsed, { status: "invalid" }];
|
|
@@ -101433,12 +101767,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
101433
101767
|
});
|
|
101434
101768
|
|
|
101435
101769
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
101436
|
-
var
|
|
101770
|
+
var args175, tool$walletTransactionsList;
|
|
101437
101771
|
var init_walletTransactionsList2 = __esm(() => {
|
|
101438
101772
|
init_walletTransactionsList();
|
|
101439
101773
|
init_operations();
|
|
101440
101774
|
init_tools();
|
|
101441
|
-
|
|
101775
|
+
args175 = {
|
|
101442
101776
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
101443
101777
|
};
|
|
101444
101778
|
tool$walletTransactionsList = {
|
|
@@ -101449,9 +101783,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
101449
101783
|
|
|
101450
101784
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101451
101785
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
101452
|
-
args:
|
|
101453
|
-
tool: async (client,
|
|
101454
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
101786
|
+
args: args175,
|
|
101787
|
+
tool: async (client, args176, ctx) => {
|
|
101788
|
+
const [result, apiCall] = await walletTransactionsList(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101455
101789
|
if (!result.ok) {
|
|
101456
101790
|
return {
|
|
101457
101791
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101466,9 +101800,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
101466
101800
|
|
|
101467
101801
|
// src/funcs/webhooksCreate.ts
|
|
101468
101802
|
function webhooksCreate(client, request, options) {
|
|
101469
|
-
return new APIPromise($
|
|
101803
|
+
return new APIPromise($do181(client, request, options));
|
|
101470
101804
|
}
|
|
101471
|
-
async function $
|
|
101805
|
+
async function $do181(client, request, options) {
|
|
101472
101806
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
101473
101807
|
if (!parsed.ok) {
|
|
101474
101808
|
return [parsed, { status: "invalid" }];
|
|
@@ -101545,20 +101879,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
101545
101879
|
});
|
|
101546
101880
|
|
|
101547
101881
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
101548
|
-
var
|
|
101882
|
+
var args176, tool$webhooksCreate;
|
|
101549
101883
|
var init_webhooksCreate2 = __esm(() => {
|
|
101550
101884
|
init_webhooksCreate();
|
|
101551
101885
|
init_components();
|
|
101552
101886
|
init_tools();
|
|
101553
|
-
|
|
101887
|
+
args176 = {
|
|
101554
101888
|
request: CreateWebhook$inboundSchema
|
|
101555
101889
|
};
|
|
101556
101890
|
tool$webhooksCreate = {
|
|
101557
101891
|
name: "webhooks-create",
|
|
101558
101892
|
description: `Create a new webhook for the account.`,
|
|
101559
|
-
args:
|
|
101560
|
-
tool: async (client,
|
|
101561
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
101893
|
+
args: args176,
|
|
101894
|
+
tool: async (client, args177, ctx) => {
|
|
101895
|
+
const [result, apiCall] = await webhooksCreate(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101562
101896
|
if (!result.ok) {
|
|
101563
101897
|
return {
|
|
101564
101898
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101573,9 +101907,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
101573
101907
|
|
|
101574
101908
|
// src/funcs/webhooksDisable.ts
|
|
101575
101909
|
function webhooksDisable(client, request, options) {
|
|
101576
|
-
return new APIPromise($
|
|
101910
|
+
return new APIPromise($do182(client, request, options));
|
|
101577
101911
|
}
|
|
101578
|
-
async function $
|
|
101912
|
+
async function $do182(client, request, options) {
|
|
101579
101913
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101580
101914
|
if (!parsed.ok) {
|
|
101581
101915
|
return [parsed, { status: "invalid" }];
|
|
@@ -101653,20 +101987,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
101653
101987
|
});
|
|
101654
101988
|
|
|
101655
101989
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
101656
|
-
var
|
|
101990
|
+
var args177, tool$webhooksDisable;
|
|
101657
101991
|
var init_webhooksDisable2 = __esm(() => {
|
|
101658
101992
|
init_webhooksDisable();
|
|
101659
101993
|
init_operations();
|
|
101660
101994
|
init_tools();
|
|
101661
|
-
|
|
101995
|
+
args177 = {
|
|
101662
101996
|
request: DisableWebhookRequest$inboundSchema
|
|
101663
101997
|
};
|
|
101664
101998
|
tool$webhooksDisable = {
|
|
101665
101999
|
name: "webhooks-disable",
|
|
101666
102000
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
101667
|
-
args:
|
|
101668
|
-
tool: async (client,
|
|
101669
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
102001
|
+
args: args177,
|
|
102002
|
+
tool: async (client, args178, ctx) => {
|
|
102003
|
+
const [result, apiCall] = await webhooksDisable(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101670
102004
|
if (!result.ok) {
|
|
101671
102005
|
return {
|
|
101672
102006
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101680,9 +102014,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
101680
102014
|
|
|
101681
102015
|
// src/funcs/webhooksGet.ts
|
|
101682
102016
|
function webhooksGet(client, request, options) {
|
|
101683
|
-
return new APIPromise($
|
|
102017
|
+
return new APIPromise($do183(client, request, options));
|
|
101684
102018
|
}
|
|
101685
|
-
async function $
|
|
102019
|
+
async function $do183(client, request, options) {
|
|
101686
102020
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101687
102021
|
if (!parsed.ok) {
|
|
101688
102022
|
return [parsed, { status: "invalid" }];
|
|
@@ -101760,20 +102094,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
101760
102094
|
});
|
|
101761
102095
|
|
|
101762
102096
|
// src/mcp-server/tools/webhooksGet.ts
|
|
101763
|
-
var
|
|
102097
|
+
var args178, tool$webhooksGet;
|
|
101764
102098
|
var init_webhooksGet2 = __esm(() => {
|
|
101765
102099
|
init_webhooksGet();
|
|
101766
102100
|
init_operations();
|
|
101767
102101
|
init_tools();
|
|
101768
|
-
|
|
102102
|
+
args178 = {
|
|
101769
102103
|
request: GetWebhookRequest$inboundSchema
|
|
101770
102104
|
};
|
|
101771
102105
|
tool$webhooksGet = {
|
|
101772
102106
|
name: "webhooks-get",
|
|
101773
102107
|
description: `Get details of a specific webhook.`,
|
|
101774
|
-
args:
|
|
101775
|
-
tool: async (client,
|
|
101776
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
102108
|
+
args: args178,
|
|
102109
|
+
tool: async (client, args179, ctx) => {
|
|
102110
|
+
const [result, apiCall] = await webhooksGet(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101777
102111
|
if (!result.ok) {
|
|
101778
102112
|
return {
|
|
101779
102113
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101788,9 +102122,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
101788
102122
|
|
|
101789
102123
|
// src/funcs/webhooksGetSecret.ts
|
|
101790
102124
|
function webhooksGetSecret(client, request, options) {
|
|
101791
|
-
return new APIPromise($
|
|
102125
|
+
return new APIPromise($do184(client, request, options));
|
|
101792
102126
|
}
|
|
101793
|
-
async function $
|
|
102127
|
+
async function $do184(client, request, options) {
|
|
101794
102128
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101795
102129
|
if (!parsed.ok) {
|
|
101796
102130
|
return [parsed, { status: "invalid" }];
|
|
@@ -101868,20 +102202,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
101868
102202
|
});
|
|
101869
102203
|
|
|
101870
102204
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
101871
|
-
var
|
|
102205
|
+
var args179, tool$webhooksGetSecret;
|
|
101872
102206
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
101873
102207
|
init_webhooksGetSecret();
|
|
101874
102208
|
init_operations();
|
|
101875
102209
|
init_tools();
|
|
101876
|
-
|
|
102210
|
+
args179 = {
|
|
101877
102211
|
request: GetWebhookSecretRequest$inboundSchema
|
|
101878
102212
|
};
|
|
101879
102213
|
tool$webhooksGetSecret = {
|
|
101880
102214
|
name: "webhooks-get-secret",
|
|
101881
102215
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
101882
|
-
args:
|
|
101883
|
-
tool: async (client,
|
|
101884
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
102216
|
+
args: args179,
|
|
102217
|
+
tool: async (client, args180, ctx) => {
|
|
102218
|
+
const [result, apiCall] = await webhooksGetSecret(client, args180.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101885
102219
|
if (!result.ok) {
|
|
101886
102220
|
return {
|
|
101887
102221
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101896,9 +102230,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
101896
102230
|
|
|
101897
102231
|
// src/funcs/webhooksList.ts
|
|
101898
102232
|
function webhooksList(client, options) {
|
|
101899
|
-
return new APIPromise($
|
|
102233
|
+
return new APIPromise($do185(client, options));
|
|
101900
102234
|
}
|
|
101901
|
-
async function $
|
|
102235
|
+
async function $do185(client, options) {
|
|
101902
102236
|
const path = pathToFunc("/webhooks")();
|
|
101903
102237
|
const headers = new Headers(compactMap({
|
|
101904
102238
|
Accept: "application/json"
|
|
@@ -101984,9 +102318,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
101984
102318
|
|
|
101985
102319
|
// src/funcs/webhooksListEventTypes.ts
|
|
101986
102320
|
function webhooksListEventTypes(client, options) {
|
|
101987
|
-
return new APIPromise($
|
|
102321
|
+
return new APIPromise($do186(client, options));
|
|
101988
102322
|
}
|
|
101989
|
-
async function $
|
|
102323
|
+
async function $do186(client, options) {
|
|
101990
102324
|
const path = pathToFunc("/event-types")();
|
|
101991
102325
|
const headers = new Headers(compactMap({
|
|
101992
102326
|
Accept: "application/json"
|
|
@@ -102072,9 +102406,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
102072
102406
|
|
|
102073
102407
|
// src/funcs/webhooksPing.ts
|
|
102074
102408
|
function webhooksPing(client, request, options) {
|
|
102075
|
-
return new APIPromise($
|
|
102409
|
+
return new APIPromise($do187(client, request, options));
|
|
102076
102410
|
}
|
|
102077
|
-
async function $
|
|
102411
|
+
async function $do187(client, request, options) {
|
|
102078
102412
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102079
102413
|
if (!parsed.ok) {
|
|
102080
102414
|
return [parsed, { status: "invalid" }];
|
|
@@ -102152,20 +102486,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
102152
102486
|
});
|
|
102153
102487
|
|
|
102154
102488
|
// src/mcp-server/tools/webhooksPing.ts
|
|
102155
|
-
var
|
|
102489
|
+
var args180, tool$webhooksPing;
|
|
102156
102490
|
var init_webhooksPing2 = __esm(() => {
|
|
102157
102491
|
init_webhooksPing();
|
|
102158
102492
|
init_operations();
|
|
102159
102493
|
init_tools();
|
|
102160
|
-
|
|
102494
|
+
args180 = {
|
|
102161
102495
|
request: PingWebhookRequest$inboundSchema
|
|
102162
102496
|
};
|
|
102163
102497
|
tool$webhooksPing = {
|
|
102164
102498
|
name: "webhooks-ping",
|
|
102165
102499
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
102166
|
-
args:
|
|
102167
|
-
tool: async (client,
|
|
102168
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
102500
|
+
args: args180,
|
|
102501
|
+
tool: async (client, args181, ctx) => {
|
|
102502
|
+
const [result, apiCall] = await webhooksPing(client, args181.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102169
102503
|
if (!result.ok) {
|
|
102170
102504
|
return {
|
|
102171
102505
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102180,9 +102514,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
102180
102514
|
|
|
102181
102515
|
// src/funcs/webhooksUpdate.ts
|
|
102182
102516
|
function webhooksUpdate(client, request, options) {
|
|
102183
|
-
return new APIPromise($
|
|
102517
|
+
return new APIPromise($do188(client, request, options));
|
|
102184
102518
|
}
|
|
102185
|
-
async function $
|
|
102519
|
+
async function $do188(client, request, options) {
|
|
102186
102520
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102187
102521
|
if (!parsed.ok) {
|
|
102188
102522
|
return [parsed, { status: "invalid" }];
|
|
@@ -102264,20 +102598,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
102264
102598
|
});
|
|
102265
102599
|
|
|
102266
102600
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
102267
|
-
var
|
|
102601
|
+
var args181, tool$webhooksUpdate;
|
|
102268
102602
|
var init_webhooksUpdate2 = __esm(() => {
|
|
102269
102603
|
init_webhooksUpdate();
|
|
102270
102604
|
init_operations();
|
|
102271
102605
|
init_tools();
|
|
102272
|
-
|
|
102606
|
+
args181 = {
|
|
102273
102607
|
request: UpdateWebhookRequest$inboundSchema
|
|
102274
102608
|
};
|
|
102275
102609
|
tool$webhooksUpdate = {
|
|
102276
102610
|
name: "webhooks-update",
|
|
102277
102611
|
description: `Update an existing webhook.`,
|
|
102278
|
-
args:
|
|
102279
|
-
tool: async (client,
|
|
102280
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
102612
|
+
args: args181,
|
|
102613
|
+
tool: async (client, args182, ctx) => {
|
|
102614
|
+
const [result, apiCall] = await webhooksUpdate(client, args182.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102281
102615
|
if (!result.ok) {
|
|
102282
102616
|
return {
|
|
102283
102617
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102294,7 +102628,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
102294
102628
|
function createMCPServer(deps) {
|
|
102295
102629
|
const server = new McpServer({
|
|
102296
102630
|
name: "Moov",
|
|
102297
|
-
version: "26.5.
|
|
102631
|
+
version: "26.5.3"
|
|
102298
102632
|
});
|
|
102299
102633
|
const client = new MoovCore({
|
|
102300
102634
|
security: deps.security,
|
|
@@ -102442,6 +102776,7 @@ function createMCPServer(deps) {
|
|
|
102442
102776
|
tool(tool$transfersGet);
|
|
102443
102777
|
tool(tool$transfersUpdate);
|
|
102444
102778
|
tool(tool$transfersCreateCancellation);
|
|
102779
|
+
tool(tool$transfersListCancellations);
|
|
102445
102780
|
tool(tool$transfersGetCancellation);
|
|
102446
102781
|
tool(tool$transfersInitiateRefund);
|
|
102447
102782
|
tool(tool$transfersListRefunds);
|
|
@@ -102671,6 +103006,7 @@ var init_server2 = __esm(() => {
|
|
|
102671
103006
|
init_transfersGetRefund2();
|
|
102672
103007
|
init_transfersInitiateRefund2();
|
|
102673
103008
|
init_transfersList2();
|
|
103009
|
+
init_transfersListCancellations2();
|
|
102674
103010
|
init_transfersListRefunds2();
|
|
102675
103011
|
init_transfersUpdate2();
|
|
102676
103012
|
init_underwritingGet2();
|
|
@@ -103892,7 +104228,7 @@ var routes = rn({
|
|
|
103892
104228
|
var app = Ve(routes, {
|
|
103893
104229
|
name: "mcp",
|
|
103894
104230
|
versionInfo: {
|
|
103895
|
-
currentVersion: "26.5.
|
|
104231
|
+
currentVersion: "26.5.3"
|
|
103896
104232
|
}
|
|
103897
104233
|
});
|
|
103898
104234
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -103900,5 +104236,5 @@ export {
|
|
|
103900
104236
|
app
|
|
103901
104237
|
};
|
|
103902
104238
|
|
|
103903
|
-
//# debugId=
|
|
104239
|
+
//# debugId=9008C8064D55D73D64756E2164756E21
|
|
103904
104240
|
//# sourceMappingURL=mcp-server.js.map
|