@moovio/sdk 0.0.0-dev.26 → 0.0.0-dev.28
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 +133 -59
- package/bin/mcp-server.js +1317 -365
- package/bin/mcp-server.js.map +66 -35
- package/funcs/avatarsDelete.d.ts +23 -0
- package/funcs/avatarsDelete.d.ts.map +1 -0
- package/funcs/avatarsDelete.js +135 -0
- package/funcs/avatarsDelete.js.map +1 -0
- package/funcs/avatarsUpload.d.ts +23 -0
- package/funcs/avatarsUpload.d.ts.map +1 -0
- package/funcs/avatarsUpload.js +155 -0
- package/funcs/avatarsUpload.js.map +1 -0
- package/funcs/productsList.js +1 -0
- package/funcs/productsList.js.map +1 -1
- package/funcs/productsListCategories.d.ts +14 -0
- package/funcs/productsListCategories.d.ts.map +1 -0
- package/funcs/productsListCategories.js +107 -0
- package/funcs/productsListCategories.js.map +1 -0
- package/funcs/transfersGetRiskOutcomes.d.ts +19 -0
- package/funcs/transfersGetRiskOutcomes.d.ts.map +1 -0
- package/funcs/transfersGetRiskOutcomes.js +131 -0
- package/funcs/transfersGetRiskOutcomes.js.map +1 -0
- package/hooks/oauth2scopes.d.ts +5 -0
- package/hooks/oauth2scopes.d.ts.map +1 -0
- package/hooks/oauth2scopes.js +6 -0
- package/hooks/oauth2scopes.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/http.d.ts +1 -1
- package/lib/http.d.ts.map +1 -1
- package/lib/http.js +1 -1
- package/lib/http.js.map +1 -1
- package/lib/security.d.ts +5 -4
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -7
- package/lib/security.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +5 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/productsListCategories.d.ts +3 -0
- package/mcp-server/tools/productsListCategories.d.ts.map +1 -0
- package/mcp-server/tools/productsListCategories.js +24 -0
- package/mcp-server/tools/productsListCategories.js.map +1 -0
- package/mcp-server/tools/transfersGetRiskOutcomes.d.ts +8 -0
- package/mcp-server/tools/transfersGetRiskOutcomes.d.ts.map +1 -0
- package/mcp-server/tools/transfersGetRiskOutcomes.js +67 -0
- package/mcp-server/tools/transfersGetRiskOutcomes.js.map +1 -0
- package/models/components/allowedscheduleerror.d.ts +24 -0
- package/models/components/allowedscheduleerror.d.ts.map +1 -0
- package/models/components/allowedscheduleerror.js +62 -0
- package/models/components/allowedscheduleerror.js.map +1 -0
- package/models/components/avataruploadrequest.d.ts +35 -0
- package/models/components/avataruploadrequest.d.ts.map +1 -0
- package/models/components/avataruploadrequest.js +88 -0
- package/models/components/avataruploadrequest.js.map +1 -0
- package/models/components/capabilityid.d.ts +1 -0
- package/models/components/capabilityid.d.ts.map +1 -1
- package/models/components/capabilityid.js +1 -0
- package/models/components/capabilityid.js.map +1 -1
- package/models/components/cardbrandfees.d.ts +5 -0
- package/models/components/cardbrandfees.d.ts.map +1 -1
- package/models/components/cardbrandfees.js +2 -0
- package/models/components/cardbrandfees.js.map +1 -1
- package/models/components/contributingrule.d.ts +23 -0
- package/models/components/contributingrule.d.ts.map +1 -0
- package/models/components/contributingrule.js +59 -0
- package/models/components/contributingrule.js.map +1 -0
- package/models/components/createtransfer.d.ts +6 -0
- package/models/components/createtransfer.d.ts.map +1 -1
- package/models/components/createtransfer.js +3 -0
- package/models/components/createtransfer.js.map +1 -1
- package/models/components/feepaidby.d.ts +18 -0
- package/models/components/feepaidby.d.ts.map +1 -0
- package/models/components/feepaidby.js +52 -0
- package/models/components/feepaidby.js.map +1 -0
- package/models/components/filedetails.d.ts +1 -1
- package/models/components/filepurpose.d.ts +2 -2
- package/models/components/filepurpose.js +1 -1
- package/models/components/fullissuedcard.d.ts +6 -3
- package/models/components/fullissuedcard.d.ts.map +1 -1
- package/models/components/fullissuedcard.js +3 -3
- package/models/components/fullissuedcard.js.map +1 -1
- package/models/components/incurredfee.d.ts +6 -0
- package/models/components/incurredfee.d.ts.map +1 -1
- package/models/components/incurredfee.js +3 -0
- package/models/components/incurredfee.js.map +1 -1
- package/models/components/index.d.ts +23 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +23 -0
- package/models/components/index.js.map +1 -1
- package/models/components/issuedcard.d.ts +6 -3
- package/models/components/issuedcard.d.ts.map +1 -1
- package/models/components/issuedcard.js +3 -3
- package/models/components/issuedcard.js.map +1 -1
- package/models/components/issuedcontrols.d.ts +76 -0
- package/models/components/issuedcontrols.d.ts.map +1 -0
- package/models/components/issuedcontrols.js +92 -0
- package/models/components/issuedcontrols.js.map +1 -0
- package/models/components/issuedvelocitylimit.d.ts +59 -0
- package/models/components/issuedvelocitylimit.d.ts.map +1 -0
- package/models/components/issuedvelocitylimit.js +74 -0
- package/models/components/issuedvelocitylimit.js.map +1 -0
- package/models/components/issuingcontrols.d.ts +47 -0
- package/models/components/issuingcontrols.d.ts.map +1 -1
- package/models/components/issuingcontrols.js +33 -1
- package/models/components/issuingcontrols.js.map +1 -1
- package/models/components/issuingcontrolserror.d.ts +11 -0
- package/models/components/issuingcontrolserror.d.ts.map +1 -1
- package/models/components/issuingcontrolserror.js +12 -0
- package/models/components/issuingcontrolserror.js.map +1 -1
- package/models/components/issuingcontrolsrestrictionmode.d.ts +18 -0
- package/models/components/issuingcontrolsrestrictionmode.d.ts.map +1 -0
- package/models/components/issuingcontrolsrestrictionmode.js +52 -0
- package/models/components/issuingcontrolsrestrictionmode.js.map +1 -0
- package/models/components/issuingintervallimit.d.ts +9 -6
- package/models/components/issuingintervallimit.d.ts.map +1 -1
- package/models/components/issuingintervallimit.js +7 -4
- package/models/components/issuingintervallimit.js.map +1 -1
- package/models/components/issuingmerchantcategory.d.ts +42 -0
- package/models/components/issuingmerchantcategory.d.ts.map +1 -0
- package/models/components/issuingmerchantcategory.js +76 -0
- package/models/components/issuingmerchantcategory.js.map +1 -0
- package/models/components/issuingscheduleday.d.ts +17 -0
- package/models/components/issuingscheduleday.d.ts.map +1 -0
- package/models/components/issuingscheduleday.js +54 -0
- package/models/components/issuingscheduleday.js.map +1 -0
- package/models/components/issuingvelocitylimit.d.ts +8 -3
- package/models/components/issuingvelocitylimit.d.ts.map +1 -1
- package/models/components/issuingvelocitylimit.js +4 -2
- package/models/components/issuingvelocitylimit.js.map +1 -1
- package/models/components/issuingvelocitylimiterror.d.ts +2 -0
- package/models/components/issuingvelocitylimiterror.d.ts.map +1 -1
- package/models/components/issuingvelocitylimiterror.js +2 -0
- package/models/components/issuingvelocitylimiterror.js.map +1 -1
- package/models/components/merchantcategoryrestrictions.d.ts +41 -0
- package/models/components/merchantcategoryrestrictions.d.ts.map +1 -0
- package/models/components/merchantcategoryrestrictions.js +68 -0
- package/models/components/merchantcategoryrestrictions.js.map +1 -0
- package/models/components/merchantcategoryrestrictionserror.d.ts +36 -0
- package/models/components/merchantcategoryrestrictionserror.d.ts.map +1 -0
- package/models/components/merchantcategoryrestrictionserror.js +66 -0
- package/models/components/merchantcategoryrestrictionserror.js.map +1 -0
- package/models/components/merchantentry.d.ts +33 -0
- package/models/components/merchantentry.d.ts.map +1 -0
- package/models/components/merchantentry.js +63 -0
- package/models/components/merchantentry.js.map +1 -0
- package/models/components/merchantentryerror.d.ts +19 -0
- package/models/components/merchantentryerror.d.ts.map +1 -0
- package/models/components/merchantentryerror.js +61 -0
- package/models/components/merchantentryerror.js.map +1 -0
- package/models/components/merchantrestrictions.d.ts +30 -0
- package/models/components/merchantrestrictions.d.ts.map +1 -0
- package/models/components/merchantrestrictions.js +62 -0
- package/models/components/merchantrestrictions.js.map +1 -0
- package/models/components/merchantrestrictionserror.d.ts +24 -0
- package/models/components/merchantrestrictionserror.d.ts.map +1 -0
- package/models/components/merchantrestrictionserror.js +62 -0
- package/models/components/merchantrestrictionserror.js.map +1 -0
- package/models/components/onboardinginvite.d.ts +1 -1
- package/models/components/partnerriskoutcomesresponse.d.ts +33 -0
- package/models/components/partnerriskoutcomesresponse.d.ts.map +1 -0
- package/models/components/partnerriskoutcomesresponse.js +62 -0
- package/models/components/partnerriskoutcomesresponse.js.map +1 -0
- package/models/components/paymentlinkpayoutdetails.d.ts +14 -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 +14 -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 +2 -0
- package/models/components/payoutdetailserror.d.ts.map +1 -1
- package/models/components/payoutdetailserror.js +2 -0
- package/models/components/payoutdetailserror.js.map +1 -1
- package/models/components/product.d.ts +6 -0
- package/models/components/product.d.ts.map +1 -1
- package/models/components/product.js +3 -0
- package/models/components/product.js.map +1 -1
- package/models/components/productcategories.d.ts +21 -0
- package/models/components/productcategories.d.ts.map +1 -0
- package/models/components/productcategories.js +59 -0
- package/models/components/productcategories.js.map +1 -0
- package/models/components/productcategory.d.ts +43 -0
- package/models/components/productcategory.d.ts.map +1 -0
- package/models/components/productcategory.js +67 -0
- package/models/components/productcategory.js.map +1 -0
- package/models/components/productrequest.d.ts +5 -0
- package/models/components/productrequest.d.ts.map +1 -1
- package/models/components/productrequest.js +2 -0
- package/models/components/productrequest.js.map +1 -1
- package/models/components/schedulewindow.d.ts +34 -0
- package/models/components/schedulewindow.d.ts.map +1 -0
- package/models/components/schedulewindow.js +64 -0
- package/models/components/schedulewindow.js.map +1 -0
- package/models/components/schedulewindowerror.d.ts +21 -0
- package/models/components/schedulewindowerror.d.ts.map +1 -0
- package/models/components/schedulewindowerror.js +63 -0
- package/models/components/schedulewindowerror.js.map +1 -0
- package/models/components/transferfeepaidby.d.ts +24 -0
- package/models/components/transferfeepaidby.d.ts.map +1 -0
- package/models/components/transferfeepaidby.js +60 -0
- package/models/components/transferfeepaidby.js.map +1 -0
- package/models/components/updateissuedcard.d.ts +6 -0
- package/models/components/updateissuedcard.d.ts.map +1 -1
- package/models/components/updateissuedcard.js +3 -0
- package/models/components/updateissuedcard.js.map +1 -1
- package/models/components/updateissuingcontrols.d.ts +130 -0
- package/models/components/updateissuingcontrols.d.ts.map +1 -0
- package/models/components/updateissuingcontrols.js +130 -0
- package/models/components/updateissuingcontrols.js.map +1 -0
- package/models/components/updateissuingcontrolserror.d.ts +33 -0
- package/models/components/updateissuingcontrolserror.d.ts.map +1 -0
- package/models/components/updateissuingcontrolserror.js +72 -0
- package/models/components/updateissuingcontrolserror.js.map +1 -0
- package/models/errors/productrequestvalidationerror.d.ts +3 -0
- package/models/errors/productrequestvalidationerror.d.ts.map +1 -1
- package/models/errors/productrequestvalidationerror.js +4 -0
- package/models/errors/productrequestvalidationerror.js.map +1 -1
- package/models/errors/updateissuedcarderror.d.ts +3 -0
- package/models/errors/updateissuedcarderror.d.ts.map +1 -1
- package/models/errors/updateissuedcarderror.js +4 -0
- package/models/errors/updateissuedcarderror.js.map +1 -1
- package/models/operations/deleteavatar.d.ts +52 -0
- package/models/operations/deleteavatar.d.ts.map +1 -0
- package/models/operations/deleteavatar.js +102 -0
- package/models/operations/deleteavatar.js.map +1 -0
- package/models/operations/gettransferriskoutcomes.d.ts +48 -0
- package/models/operations/gettransferriskoutcomes.d.ts.map +1 -0
- package/models/operations/gettransferriskoutcomes.js +99 -0
- package/models/operations/gettransferriskoutcomes.js.map +1 -0
- package/models/operations/index.d.ts +4 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listproductcategories.d.ts +24 -0
- package/models/operations/listproductcategories.d.ts.map +1 -0
- package/models/operations/listproductcategories.js +72 -0
- package/models/operations/listproductcategories.js.map +1 -0
- package/models/operations/listproducts.d.ts +9 -0
- package/models/operations/listproducts.d.ts.map +1 -1
- package/models/operations/listproducts.js +2 -0
- package/models/operations/listproducts.js.map +1 -1
- package/models/operations/uploadavatar.d.ts +55 -0
- package/models/operations/uploadavatar.d.ts.map +1 -0
- package/models/operations/uploadavatar.js +113 -0
- package/models/operations/uploadavatar.js.map +1 -0
- package/package.json +1 -1
- package/sdk/avatars.d.ts +24 -0
- package/sdk/avatars.d.ts.map +1 -1
- package/sdk/avatars.js +30 -0
- package/sdk/avatars.js.map +1 -1
- package/sdk/products.d.ts +4 -0
- package/sdk/products.d.ts.map +1 -1
- package/sdk/products.js +7 -0
- package/sdk/products.js.map +1 -1
- package/sdk/transfers.d.ts +9 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +12 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/avatarsDelete.ts +194 -0
- package/src/funcs/avatarsUpload.ts +231 -0
- package/src/funcs/productsList.ts +1 -0
- package/src/funcs/productsListCategories.ts +149 -0
- package/src/funcs/transfersGetRiskOutcomes.ts +182 -0
- package/src/hooks/oauth2scopes.ts +8 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/http.ts +3 -1
- package/src/lib/security.ts +10 -5
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/productsListCategories.ts +29 -0
- package/src/mcp-server/tools/transfersGetRiskOutcomes.ts +41 -0
- package/src/models/components/allowedscheduleerror.ts +62 -0
- package/src/models/components/avataruploadrequest.ts +113 -0
- package/src/models/components/capabilityid.ts +1 -0
- package/src/models/components/cardbrandfees.ts +7 -0
- package/src/models/components/contributingrule.ts +58 -0
- package/src/models/components/createtransfer.ts +13 -0
- package/src/models/components/feepaidby.ts +32 -0
- package/src/models/components/filedetails.ts +1 -1
- package/src/models/components/filepurpose.ts +2 -2
- package/src/models/components/fullissuedcard.ts +12 -9
- package/src/models/components/incurredfee.ts +12 -0
- package/src/models/components/index.ts +23 -0
- package/src/models/components/issuedcard.ts +12 -9
- package/src/models/components/issuedcontrols.ts +180 -0
- package/src/models/components/issuedvelocitylimit.ts +112 -0
- package/src/models/components/issuingcontrols.ts +107 -0
- package/src/models/components/issuingcontrolserror.ts +39 -0
- package/src/models/components/issuingcontrolsrestrictionmode.ts +34 -0
- package/src/models/components/issuingintervallimit.ts +18 -10
- package/src/models/components/issuingmerchantcategory.ts +56 -0
- package/src/models/components/issuingscheduleday.ts +26 -0
- package/src/models/components/issuingvelocitylimit.ts +12 -5
- package/src/models/components/issuingvelocitylimiterror.ts +4 -0
- package/src/models/components/merchantcategoryrestrictions.ts +97 -0
- package/src/models/components/merchantcategoryrestrictionserror.ts +72 -0
- package/src/models/components/merchantentry.ts +68 -0
- package/src/models/components/merchantentryerror.ts +56 -0
- package/src/models/components/merchantrestrictions.ts +75 -0
- package/src/models/components/merchantrestrictionserror.ts +62 -0
- package/src/models/components/onboardinginvite.ts +1 -1
- package/src/models/components/partnerriskoutcomesresponse.ts +77 -0
- package/src/models/components/paymentlinkpayoutdetails.ts +16 -0
- package/src/models/components/paymentlinkpayoutdetailsupdate.ts +16 -0
- package/src/models/components/payoutdetailserror.ts +4 -0
- package/src/models/components/product.ts +13 -0
- package/src/models/components/productcategories.ts +60 -0
- package/src/models/components/productcategory.ts +84 -0
- package/src/models/components/productrequest.ts +7 -0
- package/src/models/components/schedulewindow.ts +73 -0
- package/src/models/components/schedulewindowerror.ts +60 -0
- package/src/models/components/transferfeepaidby.ts +63 -0
- package/src/models/components/updateissuedcard.ts +13 -0
- package/src/models/components/updateissuingcontrols.ts +351 -0
- package/src/models/components/updateissuingcontrolserror.ts +101 -0
- package/src/models/errors/productrequestvalidationerror.ts +6 -0
- package/src/models/errors/updateissuedcarderror.ts +6 -0
- package/src/models/operations/deleteavatar.ts +154 -0
- package/src/models/operations/gettransferriskoutcomes.ts +136 -0
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/listproductcategories.ts +69 -0
- package/src/models/operations/listproducts.ts +11 -0
- package/src/models/operations/uploadavatar.ts +167 -0
- package/src/sdk/avatars.ts +50 -0
- package/src/sdk/products.ts +13 -0
- package/src/sdk/transfers.ts +20 -0
package/bin/mcp-server.js
CHANGED
|
@@ -53651,9 +53651,9 @@ var init_config = __esm(() => {
|
|
|
53651
53651
|
SDK_METADATA = {
|
|
53652
53652
|
language: "typescript",
|
|
53653
53653
|
openapiDocVersion: "dev",
|
|
53654
|
-
sdkVersion: "0.0.0-dev.
|
|
53655
|
-
genVersion: "2.
|
|
53656
|
-
userAgent: "speakeasy-sdk/typescript 0.0.0-dev.
|
|
53654
|
+
sdkVersion: "0.0.0-dev.28",
|
|
53655
|
+
genVersion: "2.924.0",
|
|
53656
|
+
userAgent: "speakeasy-sdk/typescript 0.0.0-dev.28 2.924.0 dev @moovio/sdk"
|
|
53657
53657
|
};
|
|
53658
53658
|
});
|
|
53659
53659
|
|
|
@@ -54075,11 +54075,11 @@ var init_encodings = __esm(() => {
|
|
|
54075
54075
|
|
|
54076
54076
|
// src/lib/http.ts
|
|
54077
54077
|
class HTTPClient {
|
|
54078
|
-
options;
|
|
54079
54078
|
fetcher;
|
|
54080
54079
|
requestHooks = [];
|
|
54081
54080
|
requestErrorHooks = [];
|
|
54082
54081
|
responseHooks = [];
|
|
54082
|
+
options;
|
|
54083
54083
|
constructor(options = {}) {
|
|
54084
54084
|
this.options = options;
|
|
54085
54085
|
this.fetcher = options.fetcher || DEFAULT_FETCHER;
|
|
@@ -55285,8 +55285,12 @@ async function extractSecurity(sec) {
|
|
|
55285
55285
|
}
|
|
55286
55286
|
return typeof sec === "function" ? sec() : sec;
|
|
55287
55287
|
}
|
|
55288
|
-
var SecurityError;
|
|
55288
|
+
var SecurityErrorCode, SecurityError;
|
|
55289
55289
|
var init_security = __esm(() => {
|
|
55290
|
+
SecurityErrorCode = {
|
|
55291
|
+
Incomplete: "incomplete",
|
|
55292
|
+
UnrecognisedSecurityType: "unrecognized_security_type"
|
|
55293
|
+
};
|
|
55290
55294
|
SecurityError = class SecurityError extends Error {
|
|
55291
55295
|
code;
|
|
55292
55296
|
constructor(code, message) {
|
|
@@ -55295,10 +55299,10 @@ var init_security = __esm(() => {
|
|
|
55295
55299
|
this.name = "SecurityError";
|
|
55296
55300
|
}
|
|
55297
55301
|
static incomplete() {
|
|
55298
|
-
return new SecurityError(
|
|
55302
|
+
return new SecurityError(SecurityErrorCode.Incomplete, "Security requirements not met in order to perform the operation");
|
|
55299
55303
|
}
|
|
55300
55304
|
static unrecognizedType(type) {
|
|
55301
|
-
return new SecurityError(
|
|
55305
|
+
return new SecurityError(SecurityErrorCode.UnrecognisedSecurityType, `Unrecognised security type: ${type}`);
|
|
55302
55306
|
}
|
|
55303
55307
|
};
|
|
55304
55308
|
});
|
|
@@ -56924,6 +56928,7 @@ var init_capabilityid = __esm(() => {
|
|
|
56924
56928
|
SendFundsAch: "send-funds.ach",
|
|
56925
56929
|
SendFundsRtp: "send-funds.rtp",
|
|
56926
56930
|
SendFundsInstantBank: "send-funds.instant-bank",
|
|
56931
|
+
SendFundsWire: "send-funds.wire",
|
|
56927
56932
|
CollectFunds: "collect-funds",
|
|
56928
56933
|
CollectFundsCardPayments: "collect-funds.card-payments",
|
|
56929
56934
|
MoneyTransferPullFromCard: "money-transfer.pull-from-card",
|
|
@@ -57042,6 +57047,39 @@ var init_adjustment = __esm(() => {
|
|
|
57042
57047
|
});
|
|
57043
57048
|
});
|
|
57044
57049
|
|
|
57050
|
+
// src/models/components/schedulewindowerror.ts
|
|
57051
|
+
var ScheduleWindowError$inboundSchema, ScheduleWindowError$outboundSchema;
|
|
57052
|
+
var init_schedulewindowerror = __esm(() => {
|
|
57053
|
+
init_v3();
|
|
57054
|
+
init_primitives2();
|
|
57055
|
+
ScheduleWindowError$inboundSchema = objectType({
|
|
57056
|
+
days: optional3(string4()),
|
|
57057
|
+
startTime: optional3(string4()),
|
|
57058
|
+
endTime: optional3(string4())
|
|
57059
|
+
});
|
|
57060
|
+
ScheduleWindowError$outboundSchema = objectType({
|
|
57061
|
+
days: stringType().optional(),
|
|
57062
|
+
startTime: stringType().optional(),
|
|
57063
|
+
endTime: stringType().optional()
|
|
57064
|
+
});
|
|
57065
|
+
});
|
|
57066
|
+
|
|
57067
|
+
// src/models/components/allowedscheduleerror.ts
|
|
57068
|
+
var AllowedScheduleError$inboundSchema, AllowedScheduleError$outboundSchema;
|
|
57069
|
+
var init_allowedscheduleerror = __esm(() => {
|
|
57070
|
+
init_v3();
|
|
57071
|
+
init_primitives2();
|
|
57072
|
+
init_schedulewindowerror();
|
|
57073
|
+
AllowedScheduleError$inboundSchema = objectType({
|
|
57074
|
+
timezone: optional3(string4()),
|
|
57075
|
+
windows: optional3(recordType(ScheduleWindowError$inboundSchema))
|
|
57076
|
+
});
|
|
57077
|
+
AllowedScheduleError$outboundSchema = objectType({
|
|
57078
|
+
timezone: stringType().optional(),
|
|
57079
|
+
windows: recordType(ScheduleWindowError$outboundSchema).optional()
|
|
57080
|
+
});
|
|
57081
|
+
});
|
|
57082
|
+
|
|
57045
57083
|
// src/models/components/amount.ts
|
|
57046
57084
|
var Amount$inboundSchema, Amount$outboundSchema;
|
|
57047
57085
|
var init_amount = __esm(() => {
|
|
@@ -57578,6 +57616,64 @@ var init_authtokenrequest = __esm(() => {
|
|
|
57578
57616
|
});
|
|
57579
57617
|
});
|
|
57580
57618
|
|
|
57619
|
+
// src/types/blobs.ts
|
|
57620
|
+
function isBlobLike2(val) {
|
|
57621
|
+
if (val instanceof Blob) {
|
|
57622
|
+
return true;
|
|
57623
|
+
}
|
|
57624
|
+
if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
|
|
57625
|
+
return false;
|
|
57626
|
+
}
|
|
57627
|
+
const name = val[Symbol.toStringTag];
|
|
57628
|
+
if (typeof name !== "string") {
|
|
57629
|
+
return false;
|
|
57630
|
+
}
|
|
57631
|
+
if (name !== "Blob" && name !== "File") {
|
|
57632
|
+
return false;
|
|
57633
|
+
}
|
|
57634
|
+
return "stream" in val && typeof val.stream === "function";
|
|
57635
|
+
}
|
|
57636
|
+
var blobLikeSchema;
|
|
57637
|
+
var init_blobs = __esm(() => {
|
|
57638
|
+
init_v3();
|
|
57639
|
+
blobLikeSchema = custom(isBlobLike2, {
|
|
57640
|
+
message: "expected a Blob, File or Blob-like object",
|
|
57641
|
+
fatal: true
|
|
57642
|
+
});
|
|
57643
|
+
});
|
|
57644
|
+
|
|
57645
|
+
// src/models/components/avataruploadrequest.ts
|
|
57646
|
+
var AvatarUploadRequestFile$inboundSchema, AvatarUploadRequestFile$outboundSchema, AvatarUploadRequest$inboundSchema, AvatarUploadRequest$outboundSchema;
|
|
57647
|
+
var init_avataruploadrequest = __esm(() => {
|
|
57648
|
+
init_v3();
|
|
57649
|
+
init_blobs();
|
|
57650
|
+
init_primitives2();
|
|
57651
|
+
AvatarUploadRequestFile$inboundSchema = objectType({
|
|
57652
|
+
fileName: string4(),
|
|
57653
|
+
content: unionType([
|
|
57654
|
+
instanceOfType(ReadableStream),
|
|
57655
|
+
instanceOfType(Blob),
|
|
57656
|
+
instanceOfType(ArrayBuffer),
|
|
57657
|
+
instanceOfType(Uint8Array)
|
|
57658
|
+
])
|
|
57659
|
+
});
|
|
57660
|
+
AvatarUploadRequestFile$outboundSchema = objectType({
|
|
57661
|
+
fileName: stringType(),
|
|
57662
|
+
content: unionType([
|
|
57663
|
+
instanceOfType(ReadableStream),
|
|
57664
|
+
instanceOfType(Blob),
|
|
57665
|
+
instanceOfType(ArrayBuffer),
|
|
57666
|
+
instanceOfType(Uint8Array)
|
|
57667
|
+
])
|
|
57668
|
+
});
|
|
57669
|
+
AvatarUploadRequest$inboundSchema = objectType({
|
|
57670
|
+
file: lazyType(() => AvatarUploadRequestFile$inboundSchema)
|
|
57671
|
+
});
|
|
57672
|
+
AvatarUploadRequest$outboundSchema = objectType({
|
|
57673
|
+
file: lazyType(() => AvatarUploadRequestFile$outboundSchema).or(blobLikeSchema)
|
|
57674
|
+
});
|
|
57675
|
+
});
|
|
57676
|
+
|
|
57581
57677
|
// src/models/components/rtprejectioncode.ts
|
|
57582
57678
|
var RTPRejectionCode, RTPRejectionCode$inboundSchema, RTPRejectionCode$outboundSchema;
|
|
57583
57679
|
var init_rtprejectioncode = __esm(() => {
|
|
@@ -61098,6 +61194,7 @@ var init_cardbrandfees = __esm(() => {
|
|
|
61098
61194
|
completedInternationalInPerson: optional3(BillingCountAndAmount$inboundSchema),
|
|
61099
61195
|
declines: optional3(BillingCountAndAmount$inboundSchema),
|
|
61100
61196
|
refunds: optional3(BillingCountAndAmount$inboundSchema),
|
|
61197
|
+
cardCancellations: optional3(BillingCountAndAmount$inboundSchema),
|
|
61101
61198
|
total: BillingCountAndAmount$inboundSchema
|
|
61102
61199
|
});
|
|
61103
61200
|
CardBrandFees$outboundSchema = objectType({
|
|
@@ -61110,6 +61207,7 @@ var init_cardbrandfees = __esm(() => {
|
|
|
61110
61207
|
completedInternationalInPerson: BillingCountAndAmount$outboundSchema.optional(),
|
|
61111
61208
|
declines: BillingCountAndAmount$outboundSchema.optional(),
|
|
61112
61209
|
refunds: BillingCountAndAmount$outboundSchema.optional(),
|
|
61210
|
+
cardCancellations: BillingCountAndAmount$outboundSchema.optional(),
|
|
61113
61211
|
total: BillingCountAndAmount$outboundSchema
|
|
61114
61212
|
});
|
|
61115
61213
|
});
|
|
@@ -62122,6 +62220,19 @@ var init_completemicrodeposits = __esm(() => {
|
|
|
62122
62220
|
});
|
|
62123
62221
|
});
|
|
62124
62222
|
|
|
62223
|
+
// src/models/components/contributingrule.ts
|
|
62224
|
+
var ContributingRule$inboundSchema, ContributingRule$outboundSchema;
|
|
62225
|
+
var init_contributingrule = __esm(() => {
|
|
62226
|
+
init_v3();
|
|
62227
|
+
init_primitives2();
|
|
62228
|
+
ContributingRule$inboundSchema = objectType({
|
|
62229
|
+
name: string4()
|
|
62230
|
+
});
|
|
62231
|
+
ContributingRule$outboundSchema = objectType({
|
|
62232
|
+
name: stringType()
|
|
62233
|
+
});
|
|
62234
|
+
});
|
|
62235
|
+
|
|
62125
62236
|
// src/models/components/createaccounttype.ts
|
|
62126
62237
|
var CreateAccountType, CreateAccountType$inboundSchema, CreateAccountType$outboundSchema;
|
|
62127
62238
|
var init_createaccounttype = __esm(() => {
|
|
@@ -63001,32 +63112,6 @@ var init_createdtransfer = __esm(() => {
|
|
|
63001
63112
|
});
|
|
63002
63113
|
});
|
|
63003
63114
|
|
|
63004
|
-
// src/types/blobs.ts
|
|
63005
|
-
function isBlobLike2(val) {
|
|
63006
|
-
if (val instanceof Blob) {
|
|
63007
|
-
return true;
|
|
63008
|
-
}
|
|
63009
|
-
if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
|
|
63010
|
-
return false;
|
|
63011
|
-
}
|
|
63012
|
-
const name = val[Symbol.toStringTag];
|
|
63013
|
-
if (typeof name !== "string") {
|
|
63014
|
-
return false;
|
|
63015
|
-
}
|
|
63016
|
-
if (name !== "Blob" && name !== "File") {
|
|
63017
|
-
return false;
|
|
63018
|
-
}
|
|
63019
|
-
return "stream" in val && typeof val.stream === "function";
|
|
63020
|
-
}
|
|
63021
|
-
var blobLikeSchema;
|
|
63022
|
-
var init_blobs = __esm(() => {
|
|
63023
|
-
init_v3();
|
|
63024
|
-
blobLikeSchema = custom(isBlobLike2, {
|
|
63025
|
-
message: "expected a Blob, File or Blob-like object",
|
|
63026
|
-
fatal: true
|
|
63027
|
-
});
|
|
63028
|
-
});
|
|
63029
|
-
|
|
63030
63115
|
// src/models/components/evidencetype.ts
|
|
63031
63116
|
var EvidenceType, EvidenceType$inboundSchema, EvidenceType$outboundSchema;
|
|
63032
63117
|
var init_evidencetype = __esm(() => {
|
|
@@ -63530,6 +63615,18 @@ var init_disbursementpaymentmethodtype = __esm(() => {
|
|
|
63530
63615
|
DisbursementPaymentMethodType$outboundSchema = outboundSchema(DisbursementPaymentMethodType);
|
|
63531
63616
|
});
|
|
63532
63617
|
|
|
63618
|
+
// src/models/components/feepaidby.ts
|
|
63619
|
+
var FeePaidBy, FeePaidBy$inboundSchema, FeePaidBy$outboundSchema;
|
|
63620
|
+
var init_feepaidby = __esm(() => {
|
|
63621
|
+
init_enums();
|
|
63622
|
+
FeePaidBy = {
|
|
63623
|
+
Source: "source",
|
|
63624
|
+
Destination: "destination"
|
|
63625
|
+
};
|
|
63626
|
+
FeePaidBy$inboundSchema = inboundSchema(FeePaidBy);
|
|
63627
|
+
FeePaidBy$outboundSchema = outboundSchema(FeePaidBy);
|
|
63628
|
+
});
|
|
63629
|
+
|
|
63533
63630
|
// src/models/components/payoutrecipient.ts
|
|
63534
63631
|
var PayoutRecipient$inboundSchema, PayoutRecipient$outboundSchema;
|
|
63535
63632
|
var init_payoutrecipient = __esm(() => {
|
|
@@ -63580,19 +63677,22 @@ var init_paymentlinkpayoutdetails = __esm(() => {
|
|
|
63580
63677
|
init_v3();
|
|
63581
63678
|
init_primitives2();
|
|
63582
63679
|
init_disbursementpaymentmethodtype();
|
|
63680
|
+
init_feepaidby();
|
|
63583
63681
|
init_payoutrecipient();
|
|
63584
63682
|
init_pushoptions();
|
|
63585
63683
|
PaymentLinkPayoutDetails$inboundSchema = objectType({
|
|
63586
63684
|
allowedMethods: arrayType(DisbursementPaymentMethodType$inboundSchema),
|
|
63587
63685
|
recipient: PayoutRecipient$inboundSchema,
|
|
63588
63686
|
metadata: optional3(recordType(string4())),
|
|
63589
|
-
pushOptions: optional3(PushOptions$inboundSchema)
|
|
63687
|
+
pushOptions: optional3(PushOptions$inboundSchema),
|
|
63688
|
+
feePaidBy: optional3(recordType(FeePaidBy$inboundSchema))
|
|
63590
63689
|
});
|
|
63591
63690
|
PaymentLinkPayoutDetails$outboundSchema = objectType({
|
|
63592
63691
|
allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema),
|
|
63593
63692
|
recipient: PayoutRecipient$outboundSchema,
|
|
63594
63693
|
metadata: recordType(stringType()).optional(),
|
|
63595
|
-
pushOptions: PushOptions$outboundSchema.optional()
|
|
63694
|
+
pushOptions: PushOptions$outboundSchema.optional(),
|
|
63695
|
+
feePaidBy: recordType(FeePaidBy$outboundSchema).optional()
|
|
63596
63696
|
});
|
|
63597
63697
|
});
|
|
63598
63698
|
|
|
@@ -64558,6 +64658,20 @@ var init_createtransfersource = __esm(() => {
|
|
|
64558
64658
|
});
|
|
64559
64659
|
});
|
|
64560
64660
|
|
|
64661
|
+
// src/models/components/transferfeepaidby.ts
|
|
64662
|
+
var TransferFeePaidBy$inboundSchema, TransferFeePaidBy$outboundSchema;
|
|
64663
|
+
var init_transferfeepaidby = __esm(() => {
|
|
64664
|
+
init_v3();
|
|
64665
|
+
init_primitives2();
|
|
64666
|
+
init_feepaidby();
|
|
64667
|
+
TransferFeePaidBy$inboundSchema = objectType({
|
|
64668
|
+
payout: optional3(FeePaidBy$inboundSchema)
|
|
64669
|
+
});
|
|
64670
|
+
TransferFeePaidBy$outboundSchema = objectType({
|
|
64671
|
+
payout: FeePaidBy$outboundSchema.optional()
|
|
64672
|
+
});
|
|
64673
|
+
});
|
|
64674
|
+
|
|
64561
64675
|
// src/models/components/createtransfer.ts
|
|
64562
64676
|
var CreateTransfer$inboundSchema, CreateTransfer$outboundSchema;
|
|
64563
64677
|
var init_createtransfer = __esm(() => {
|
|
@@ -64569,6 +64683,7 @@ var init_createtransfer = __esm(() => {
|
|
|
64569
64683
|
init_createtransferlineitems();
|
|
64570
64684
|
init_createtransfersource();
|
|
64571
64685
|
init_facilitatorfee();
|
|
64686
|
+
init_transferfeepaidby();
|
|
64572
64687
|
CreateTransfer$inboundSchema = objectType({
|
|
64573
64688
|
source: CreateTransferSource$inboundSchema,
|
|
64574
64689
|
destination: CreateTransferDestination$inboundSchema,
|
|
@@ -64578,7 +64693,8 @@ var init_createtransfer = __esm(() => {
|
|
|
64578
64693
|
metadata: optional3(recordType(string4())),
|
|
64579
64694
|
foreignID: optional3(string4()),
|
|
64580
64695
|
lineItems: optional3(CreateTransferLineItems$inboundSchema),
|
|
64581
|
-
amountDetails: optional3(CreateTransferAmountDetails$inboundSchema)
|
|
64696
|
+
amountDetails: optional3(CreateTransferAmountDetails$inboundSchema),
|
|
64697
|
+
feePaidBy: optional3(TransferFeePaidBy$inboundSchema)
|
|
64582
64698
|
});
|
|
64583
64699
|
CreateTransfer$outboundSchema = objectType({
|
|
64584
64700
|
source: CreateTransferSource$outboundSchema,
|
|
@@ -64589,7 +64705,8 @@ var init_createtransfer = __esm(() => {
|
|
|
64589
64705
|
metadata: recordType(stringType()).optional(),
|
|
64590
64706
|
foreignID: stringType().optional(),
|
|
64591
64707
|
lineItems: CreateTransferLineItems$outboundSchema.optional(),
|
|
64592
|
-
amountDetails: CreateTransferAmountDetails$outboundSchema.optional()
|
|
64708
|
+
amountDetails: CreateTransferAmountDetails$outboundSchema.optional(),
|
|
64709
|
+
feePaidBy: TransferFeePaidBy$outboundSchema.optional()
|
|
64593
64710
|
});
|
|
64594
64711
|
});
|
|
64595
64712
|
|
|
@@ -65578,43 +65695,215 @@ var init_issuedcardstate = __esm(() => {
|
|
|
65578
65695
|
// src/models/components/issuingintervallimit.ts
|
|
65579
65696
|
var IssuingIntervalLimit, IssuingIntervalLimit$inboundSchema, IssuingIntervalLimit$outboundSchema;
|
|
65580
65697
|
var init_issuingintervallimit = __esm(() => {
|
|
65581
|
-
|
|
65698
|
+
init_enums();
|
|
65582
65699
|
IssuingIntervalLimit = {
|
|
65583
|
-
PerTransaction: "per-transaction"
|
|
65700
|
+
PerTransaction: "per-transaction",
|
|
65701
|
+
Daily: "daily",
|
|
65702
|
+
Weekly: "weekly",
|
|
65703
|
+
Monthly: "monthly"
|
|
65584
65704
|
};
|
|
65585
|
-
IssuingIntervalLimit$inboundSchema =
|
|
65586
|
-
IssuingIntervalLimit$outboundSchema = IssuingIntervalLimit
|
|
65705
|
+
IssuingIntervalLimit$inboundSchema = inboundSchema(IssuingIntervalLimit);
|
|
65706
|
+
IssuingIntervalLimit$outboundSchema = outboundSchema(IssuingIntervalLimit);
|
|
65587
65707
|
});
|
|
65588
65708
|
|
|
65589
|
-
// src/models/components/
|
|
65590
|
-
var
|
|
65591
|
-
var
|
|
65709
|
+
// src/models/components/issuedvelocitylimit.ts
|
|
65710
|
+
var IssuedVelocityLimit$inboundSchema, IssuedVelocityLimit$outboundSchema;
|
|
65711
|
+
var init_issuedvelocitylimit = __esm(() => {
|
|
65592
65712
|
init_v3();
|
|
65593
65713
|
init_primitives2();
|
|
65594
65714
|
init_issuingintervallimit();
|
|
65595
|
-
|
|
65596
|
-
amount: number4(),
|
|
65597
|
-
|
|
65715
|
+
IssuedVelocityLimit$inboundSchema = objectType({
|
|
65716
|
+
amount: optional3(number4()),
|
|
65717
|
+
count: optional3(number4()),
|
|
65718
|
+
interval: IssuingIntervalLimit$inboundSchema,
|
|
65719
|
+
amountUsed: optional3(number4()),
|
|
65720
|
+
amountRemaining: optional3(number4()),
|
|
65721
|
+
countUsed: optional3(number4()),
|
|
65722
|
+
countRemaining: optional3(number4()),
|
|
65723
|
+
resetsOn: optional3(date4())
|
|
65724
|
+
});
|
|
65725
|
+
IssuedVelocityLimit$outboundSchema = objectType({
|
|
65726
|
+
amount: numberType().int().optional(),
|
|
65727
|
+
count: numberType().int().optional(),
|
|
65728
|
+
interval: IssuingIntervalLimit$outboundSchema,
|
|
65729
|
+
amountUsed: numberType().int().optional(),
|
|
65730
|
+
amountRemaining: numberType().int().optional(),
|
|
65731
|
+
countUsed: numberType().int().optional(),
|
|
65732
|
+
countRemaining: numberType().int().optional(),
|
|
65733
|
+
resetsOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
65598
65734
|
});
|
|
65599
|
-
|
|
65600
|
-
|
|
65601
|
-
|
|
65735
|
+
});
|
|
65736
|
+
|
|
65737
|
+
// src/models/components/issuingcontrolsrestrictionmode.ts
|
|
65738
|
+
var IssuingControlsRestrictionMode, IssuingControlsRestrictionMode$inboundSchema, IssuingControlsRestrictionMode$outboundSchema;
|
|
65739
|
+
var init_issuingcontrolsrestrictionmode = __esm(() => {
|
|
65740
|
+
init_enums();
|
|
65741
|
+
IssuingControlsRestrictionMode = {
|
|
65742
|
+
Allow: "allow",
|
|
65743
|
+
Block: "block"
|
|
65744
|
+
};
|
|
65745
|
+
IssuingControlsRestrictionMode$inboundSchema = inboundSchema(IssuingControlsRestrictionMode);
|
|
65746
|
+
IssuingControlsRestrictionMode$outboundSchema = outboundSchema(IssuingControlsRestrictionMode);
|
|
65747
|
+
});
|
|
65748
|
+
|
|
65749
|
+
// src/models/components/issuingmerchantcategory.ts
|
|
65750
|
+
var IssuingMerchantCategory, IssuingMerchantCategory$inboundSchema, IssuingMerchantCategory$outboundSchema;
|
|
65751
|
+
var init_issuingmerchantcategory = __esm(() => {
|
|
65752
|
+
init_enums();
|
|
65753
|
+
IssuingMerchantCategory = {
|
|
65754
|
+
Advertising: "advertising",
|
|
65755
|
+
Airlines: "airlines",
|
|
65756
|
+
AlcoholAndBars: "alcohol-and-bars",
|
|
65757
|
+
CarRental: "car-rental",
|
|
65758
|
+
Education: "education",
|
|
65759
|
+
Electronics: "electronics",
|
|
65760
|
+
FuelAndGas: "fuel-and-gas",
|
|
65761
|
+
Gambling: "gambling",
|
|
65762
|
+
Groceries: "groceries",
|
|
65763
|
+
GroundTransportation: "ground-transportation",
|
|
65764
|
+
HardwareAndHome: "hardware-and-home",
|
|
65765
|
+
Healthcare: "healthcare",
|
|
65766
|
+
LiveEntertainment: "live-entertainment",
|
|
65767
|
+
Lodging: "lodging",
|
|
65768
|
+
Movies: "movies",
|
|
65769
|
+
OfficeSupplies: "office-supplies",
|
|
65770
|
+
Parking: "parking",
|
|
65771
|
+
PersonalCare: "personal-care",
|
|
65772
|
+
ProfessionalServices: "professional-services",
|
|
65773
|
+
RestaurantsAndDining: "restaurants-and-dining",
|
|
65774
|
+
RetailGeneral: "retail-general",
|
|
65775
|
+
RideshareAndTaxis: "rideshare-and-taxis",
|
|
65776
|
+
SoftwareAndSaas: "software-and-saas",
|
|
65777
|
+
SportsAndRecreation: "sports-and-recreation",
|
|
65778
|
+
Subscriptions: "subscriptions",
|
|
65779
|
+
TravelAgencies: "travel-agencies"
|
|
65780
|
+
};
|
|
65781
|
+
IssuingMerchantCategory$inboundSchema = inboundSchema(IssuingMerchantCategory);
|
|
65782
|
+
IssuingMerchantCategory$outboundSchema = outboundSchema(IssuingMerchantCategory);
|
|
65783
|
+
});
|
|
65784
|
+
|
|
65785
|
+
// src/models/components/merchantentry.ts
|
|
65786
|
+
var MerchantEntry$inboundSchema, MerchantEntry$outboundSchema;
|
|
65787
|
+
var init_merchantentry = __esm(() => {
|
|
65788
|
+
init_v3();
|
|
65789
|
+
init_primitives2();
|
|
65790
|
+
MerchantEntry$inboundSchema = objectType({
|
|
65791
|
+
mid: optional3(string4()),
|
|
65792
|
+
descriptorPattern: optional3(string4()),
|
|
65793
|
+
name: optional3(string4())
|
|
65794
|
+
});
|
|
65795
|
+
MerchantEntry$outboundSchema = objectType({
|
|
65796
|
+
mid: stringType().optional(),
|
|
65797
|
+
descriptorPattern: stringType().optional(),
|
|
65798
|
+
name: stringType().optional()
|
|
65602
65799
|
});
|
|
65603
65800
|
});
|
|
65604
65801
|
|
|
65605
|
-
// src/models/components/
|
|
65606
|
-
var
|
|
65607
|
-
var
|
|
65802
|
+
// src/models/components/merchantcategoryrestrictions.ts
|
|
65803
|
+
var MerchantCategoryRestrictions$inboundSchema, MerchantCategoryRestrictions$outboundSchema;
|
|
65804
|
+
var init_merchantcategoryrestrictions = __esm(() => {
|
|
65608
65805
|
init_v3();
|
|
65609
65806
|
init_primitives2();
|
|
65610
|
-
|
|
65611
|
-
|
|
65807
|
+
init_issuingcontrolsrestrictionmode();
|
|
65808
|
+
init_issuingmerchantcategory();
|
|
65809
|
+
init_merchantentry();
|
|
65810
|
+
MerchantCategoryRestrictions$inboundSchema = objectType({
|
|
65811
|
+
mode: IssuingControlsRestrictionMode$inboundSchema,
|
|
65812
|
+
categories: optional3(arrayType(IssuingMerchantCategory$inboundSchema)),
|
|
65813
|
+
customMCCs: optional3(arrayType(string4())),
|
|
65814
|
+
exemptMerchants: optional3(arrayType(MerchantEntry$inboundSchema))
|
|
65815
|
+
});
|
|
65816
|
+
MerchantCategoryRestrictions$outboundSchema = objectType({
|
|
65817
|
+
mode: IssuingControlsRestrictionMode$outboundSchema,
|
|
65818
|
+
categories: arrayType(IssuingMerchantCategory$outboundSchema).optional(),
|
|
65819
|
+
customMCCs: arrayType(stringType()).optional(),
|
|
65820
|
+
exemptMerchants: arrayType(MerchantEntry$outboundSchema).optional()
|
|
65821
|
+
});
|
|
65822
|
+
});
|
|
65823
|
+
|
|
65824
|
+
// src/models/components/merchantrestrictions.ts
|
|
65825
|
+
var MerchantRestrictions$inboundSchema, MerchantRestrictions$outboundSchema;
|
|
65826
|
+
var init_merchantrestrictions = __esm(() => {
|
|
65827
|
+
init_v3();
|
|
65828
|
+
init_issuingcontrolsrestrictionmode();
|
|
65829
|
+
init_merchantentry();
|
|
65830
|
+
MerchantRestrictions$inboundSchema = objectType({
|
|
65831
|
+
mode: IssuingControlsRestrictionMode$inboundSchema,
|
|
65832
|
+
merchants: arrayType(MerchantEntry$inboundSchema)
|
|
65833
|
+
});
|
|
65834
|
+
MerchantRestrictions$outboundSchema = objectType({
|
|
65835
|
+
mode: IssuingControlsRestrictionMode$outboundSchema,
|
|
65836
|
+
merchants: arrayType(MerchantEntry$outboundSchema)
|
|
65837
|
+
});
|
|
65838
|
+
});
|
|
65839
|
+
|
|
65840
|
+
// src/models/components/issuingscheduleday.ts
|
|
65841
|
+
var IssuingScheduleDay, IssuingScheduleDay$inboundSchema, IssuingScheduleDay$outboundSchema;
|
|
65842
|
+
var init_issuingscheduleday = __esm(() => {
|
|
65843
|
+
init_v3();
|
|
65844
|
+
IssuingScheduleDay = {
|
|
65845
|
+
Monday: "monday",
|
|
65846
|
+
Tuesday: "tuesday",
|
|
65847
|
+
Wednesday: "wednesday",
|
|
65848
|
+
Thursday: "thursday",
|
|
65849
|
+
Friday: "friday",
|
|
65850
|
+
Saturday: "saturday",
|
|
65851
|
+
Sunday: "sunday"
|
|
65852
|
+
};
|
|
65853
|
+
IssuingScheduleDay$inboundSchema = nativeEnumType(IssuingScheduleDay);
|
|
65854
|
+
IssuingScheduleDay$outboundSchema = IssuingScheduleDay$inboundSchema;
|
|
65855
|
+
});
|
|
65856
|
+
|
|
65857
|
+
// src/models/components/schedulewindow.ts
|
|
65858
|
+
var ScheduleWindow$inboundSchema, ScheduleWindow$outboundSchema;
|
|
65859
|
+
var init_schedulewindow = __esm(() => {
|
|
65860
|
+
init_v3();
|
|
65861
|
+
init_primitives2();
|
|
65862
|
+
init_issuingscheduleday();
|
|
65863
|
+
ScheduleWindow$inboundSchema = objectType({
|
|
65864
|
+
days: arrayType(IssuingScheduleDay$inboundSchema),
|
|
65865
|
+
startTime: string4(),
|
|
65866
|
+
endTime: string4()
|
|
65867
|
+
});
|
|
65868
|
+
ScheduleWindow$outboundSchema = objectType({
|
|
65869
|
+
days: arrayType(IssuingScheduleDay$outboundSchema),
|
|
65870
|
+
startTime: stringType(),
|
|
65871
|
+
endTime: stringType()
|
|
65872
|
+
});
|
|
65873
|
+
});
|
|
65874
|
+
|
|
65875
|
+
// src/models/components/issuedcontrols.ts
|
|
65876
|
+
var IssuedControlsAllowedSchedule$inboundSchema, IssuedControlsAllowedSchedule$outboundSchema, IssuedControls$inboundSchema, IssuedControls$outboundSchema;
|
|
65877
|
+
var init_issuedcontrols = __esm(() => {
|
|
65878
|
+
init_v3();
|
|
65879
|
+
init_primitives2();
|
|
65880
|
+
init_issuedvelocitylimit();
|
|
65881
|
+
init_merchantcategoryrestrictions();
|
|
65882
|
+
init_merchantrestrictions();
|
|
65883
|
+
init_schedulewindow();
|
|
65884
|
+
IssuedControlsAllowedSchedule$inboundSchema = objectType({
|
|
65885
|
+
timezone: string4(),
|
|
65886
|
+
windows: arrayType(ScheduleWindow$inboundSchema)
|
|
65887
|
+
});
|
|
65888
|
+
IssuedControlsAllowedSchedule$outboundSchema = objectType({
|
|
65889
|
+
timezone: stringType(),
|
|
65890
|
+
windows: arrayType(ScheduleWindow$outboundSchema)
|
|
65891
|
+
});
|
|
65892
|
+
IssuedControls$inboundSchema = objectType({
|
|
65612
65893
|
singleUse: optional3(boolean4()),
|
|
65613
|
-
velocityLimits: optional3(arrayType(
|
|
65894
|
+
velocityLimits: optional3(arrayType(IssuedVelocityLimit$inboundSchema)),
|
|
65895
|
+
merchantCategoryRestrictions: optional3(MerchantCategoryRestrictions$inboundSchema),
|
|
65896
|
+
merchantRestrictions: optional3(MerchantRestrictions$inboundSchema),
|
|
65897
|
+
allowedSchedule: nullableType(lazyType(() => IssuedControlsAllowedSchedule$inboundSchema)).optional(),
|
|
65898
|
+
expiresOn: nullableType(date4()).optional()
|
|
65614
65899
|
});
|
|
65615
|
-
|
|
65900
|
+
IssuedControls$outboundSchema = objectType({
|
|
65616
65901
|
singleUse: booleanType().optional(),
|
|
65617
|
-
velocityLimits: arrayType(
|
|
65902
|
+
velocityLimits: arrayType(IssuedVelocityLimit$outboundSchema).optional(),
|
|
65903
|
+
merchantCategoryRestrictions: MerchantCategoryRestrictions$outboundSchema.optional(),
|
|
65904
|
+
merchantRestrictions: MerchantRestrictions$outboundSchema.optional(),
|
|
65905
|
+
allowedSchedule: nullableType(lazyType(() => IssuedControlsAllowedSchedule$outboundSchema)).optional(),
|
|
65906
|
+
expiresOn: nullableType(dateType().transform((v2) => v2.toISOString())).optional()
|
|
65618
65907
|
});
|
|
65619
65908
|
});
|
|
65620
65909
|
|
|
@@ -65628,7 +65917,7 @@ var init_fullissuedcard = __esm(() => {
|
|
|
65628
65917
|
init_cardexpiration();
|
|
65629
65918
|
init_issuedcardformfactor();
|
|
65630
65919
|
init_issuedcardstate();
|
|
65631
|
-
|
|
65920
|
+
init_issuedcontrols();
|
|
65632
65921
|
FullIssuedCard$inboundSchema = objectType({
|
|
65633
65922
|
issuedCardID: string4(),
|
|
65634
65923
|
brand: CardBrand$inboundSchema,
|
|
@@ -65641,7 +65930,7 @@ var init_fullissuedcard = __esm(() => {
|
|
|
65641
65930
|
billingAddress: optional3(Address$inboundSchema),
|
|
65642
65931
|
state: IssuedCardState$inboundSchema,
|
|
65643
65932
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
65644
|
-
controls: optional3(
|
|
65933
|
+
controls: optional3(IssuedControls$inboundSchema),
|
|
65645
65934
|
createdOn: date4(),
|
|
65646
65935
|
updatedOn: date4(),
|
|
65647
65936
|
pan: string4(),
|
|
@@ -65659,7 +65948,7 @@ var init_fullissuedcard = __esm(() => {
|
|
|
65659
65948
|
billingAddress: Address$outboundSchema.optional(),
|
|
65660
65949
|
state: IssuedCardState$outboundSchema,
|
|
65661
65950
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
65662
|
-
controls:
|
|
65951
|
+
controls: IssuedControls$outboundSchema.optional(),
|
|
65663
65952
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
65664
65953
|
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
65665
65954
|
pan: stringType(),
|
|
@@ -65996,6 +66285,7 @@ var init_incurredfee = __esm(() => {
|
|
|
65996
66285
|
init_v3();
|
|
65997
66286
|
init_primitives2();
|
|
65998
66287
|
init_amountdecimal();
|
|
66288
|
+
init_feepaidby();
|
|
65999
66289
|
init_generatedby();
|
|
66000
66290
|
IncurredFee$inboundSchema = objectType({
|
|
66001
66291
|
feeID: optional3(string4()),
|
|
@@ -66006,7 +66296,8 @@ var init_incurredfee = __esm(() => {
|
|
|
66006
66296
|
amount: optional3(AmountDecimal$inboundSchema),
|
|
66007
66297
|
generatedBy: optional3(GeneratedBy$inboundSchema),
|
|
66008
66298
|
feeGroup: optional3(string4()),
|
|
66009
|
-
residualID: optional3(string4())
|
|
66299
|
+
residualID: optional3(string4()),
|
|
66300
|
+
feePaidBy: optional3(FeePaidBy$inboundSchema)
|
|
66010
66301
|
});
|
|
66011
66302
|
IncurredFee$outboundSchema = objectType({
|
|
66012
66303
|
feeID: stringType().optional(),
|
|
@@ -66017,7 +66308,8 @@ var init_incurredfee = __esm(() => {
|
|
|
66017
66308
|
amount: AmountDecimal$outboundSchema.optional(),
|
|
66018
66309
|
generatedBy: GeneratedBy$outboundSchema.optional(),
|
|
66019
66310
|
feeGroup: stringType().optional(),
|
|
66020
|
-
residualID: stringType().optional()
|
|
66311
|
+
residualID: stringType().optional(),
|
|
66312
|
+
feePaidBy: FeePaidBy$outboundSchema.optional()
|
|
66021
66313
|
});
|
|
66022
66314
|
});
|
|
66023
66315
|
|
|
@@ -66499,7 +66791,7 @@ var init_issuedcard = __esm(() => {
|
|
|
66499
66791
|
init_cardexpiration();
|
|
66500
66792
|
init_issuedcardformfactor();
|
|
66501
66793
|
init_issuedcardstate();
|
|
66502
|
-
|
|
66794
|
+
init_issuedcontrols();
|
|
66503
66795
|
IssuedCard$inboundSchema = objectType({
|
|
66504
66796
|
issuedCardID: string4(),
|
|
66505
66797
|
brand: CardBrand$inboundSchema,
|
|
@@ -66512,7 +66804,7 @@ var init_issuedcard = __esm(() => {
|
|
|
66512
66804
|
billingAddress: optional3(Address$inboundSchema),
|
|
66513
66805
|
state: IssuedCardState$inboundSchema,
|
|
66514
66806
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
66515
|
-
controls: optional3(
|
|
66807
|
+
controls: optional3(IssuedControls$inboundSchema),
|
|
66516
66808
|
createdOn: date4(),
|
|
66517
66809
|
updatedOn: date4()
|
|
66518
66810
|
});
|
|
@@ -66528,7 +66820,7 @@ var init_issuedcard = __esm(() => {
|
|
|
66528
66820
|
billingAddress: Address$outboundSchema.optional(),
|
|
66529
66821
|
state: IssuedCardState$outboundSchema,
|
|
66530
66822
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
66531
|
-
controls:
|
|
66823
|
+
controls: IssuedControls$outboundSchema.optional(),
|
|
66532
66824
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
66533
66825
|
updatedOn: dateType().transform((v2) => v2.toISOString())
|
|
66534
66826
|
});
|
|
@@ -66686,6 +66978,59 @@ var init_issuedcardtransaction = __esm(() => {
|
|
|
66686
66978
|
});
|
|
66687
66979
|
});
|
|
66688
66980
|
|
|
66981
|
+
// src/models/components/issuingvelocitylimit.ts
|
|
66982
|
+
var IssuingVelocityLimit$inboundSchema, IssuingVelocityLimit$outboundSchema;
|
|
66983
|
+
var init_issuingvelocitylimit = __esm(() => {
|
|
66984
|
+
init_v3();
|
|
66985
|
+
init_primitives2();
|
|
66986
|
+
init_issuingintervallimit();
|
|
66987
|
+
IssuingVelocityLimit$inboundSchema = objectType({
|
|
66988
|
+
amount: optional3(number4()),
|
|
66989
|
+
count: optional3(number4()),
|
|
66990
|
+
interval: IssuingIntervalLimit$inboundSchema
|
|
66991
|
+
});
|
|
66992
|
+
IssuingVelocityLimit$outboundSchema = objectType({
|
|
66993
|
+
amount: numberType().int().optional(),
|
|
66994
|
+
count: numberType().int().optional(),
|
|
66995
|
+
interval: IssuingIntervalLimit$outboundSchema
|
|
66996
|
+
});
|
|
66997
|
+
});
|
|
66998
|
+
|
|
66999
|
+
// src/models/components/issuingcontrols.ts
|
|
67000
|
+
var AllowedSchedule$inboundSchema, AllowedSchedule$outboundSchema, IssuingControls$inboundSchema, IssuingControls$outboundSchema;
|
|
67001
|
+
var init_issuingcontrols = __esm(() => {
|
|
67002
|
+
init_v3();
|
|
67003
|
+
init_primitives2();
|
|
67004
|
+
init_issuingvelocitylimit();
|
|
67005
|
+
init_merchantcategoryrestrictions();
|
|
67006
|
+
init_merchantrestrictions();
|
|
67007
|
+
init_schedulewindow();
|
|
67008
|
+
AllowedSchedule$inboundSchema = objectType({
|
|
67009
|
+
timezone: string4(),
|
|
67010
|
+
windows: arrayType(ScheduleWindow$inboundSchema)
|
|
67011
|
+
});
|
|
67012
|
+
AllowedSchedule$outboundSchema = objectType({
|
|
67013
|
+
timezone: stringType(),
|
|
67014
|
+
windows: arrayType(ScheduleWindow$outboundSchema)
|
|
67015
|
+
});
|
|
67016
|
+
IssuingControls$inboundSchema = objectType({
|
|
67017
|
+
singleUse: optional3(boolean4()),
|
|
67018
|
+
velocityLimits: optional3(arrayType(IssuingVelocityLimit$inboundSchema)),
|
|
67019
|
+
merchantCategoryRestrictions: optional3(MerchantCategoryRestrictions$inboundSchema),
|
|
67020
|
+
merchantRestrictions: optional3(MerchantRestrictions$inboundSchema),
|
|
67021
|
+
allowedSchedule: nullableType(lazyType(() => AllowedSchedule$inboundSchema)).optional(),
|
|
67022
|
+
expiresOn: nullableType(date4()).optional()
|
|
67023
|
+
});
|
|
67024
|
+
IssuingControls$outboundSchema = objectType({
|
|
67025
|
+
singleUse: booleanType().optional(),
|
|
67026
|
+
velocityLimits: arrayType(IssuingVelocityLimit$outboundSchema).optional(),
|
|
67027
|
+
merchantCategoryRestrictions: MerchantCategoryRestrictions$outboundSchema.optional(),
|
|
67028
|
+
merchantRestrictions: MerchantRestrictions$outboundSchema.optional(),
|
|
67029
|
+
allowedSchedule: nullableType(lazyType(() => AllowedSchedule$outboundSchema)).optional(),
|
|
67030
|
+
expiresOn: nullableType(dateType().transform((v2) => v2.toISOString())).optional()
|
|
67031
|
+
});
|
|
67032
|
+
});
|
|
67033
|
+
|
|
66689
67034
|
// src/models/components/issuingvelocitylimiterror.ts
|
|
66690
67035
|
var IssuingVelocityLimitError$inboundSchema, IssuingVelocityLimitError$outboundSchema;
|
|
66691
67036
|
var init_issuingvelocitylimiterror = __esm(() => {
|
|
@@ -66693,25 +67038,89 @@ var init_issuingvelocitylimiterror = __esm(() => {
|
|
|
66693
67038
|
init_primitives2();
|
|
66694
67039
|
IssuingVelocityLimitError$inboundSchema = objectType({
|
|
66695
67040
|
amount: optional3(string4()),
|
|
67041
|
+
count: optional3(string4()),
|
|
66696
67042
|
interval: optional3(string4())
|
|
66697
67043
|
});
|
|
66698
67044
|
IssuingVelocityLimitError$outboundSchema = objectType({
|
|
66699
67045
|
amount: stringType().optional(),
|
|
67046
|
+
count: stringType().optional(),
|
|
66700
67047
|
interval: stringType().optional()
|
|
66701
67048
|
});
|
|
66702
67049
|
});
|
|
66703
67050
|
|
|
67051
|
+
// src/models/components/merchantentryerror.ts
|
|
67052
|
+
var MerchantEntryError$inboundSchema, MerchantEntryError$outboundSchema;
|
|
67053
|
+
var init_merchantentryerror = __esm(() => {
|
|
67054
|
+
init_v3();
|
|
67055
|
+
init_primitives2();
|
|
67056
|
+
MerchantEntryError$inboundSchema = objectType({
|
|
67057
|
+
mid: optional3(string4()),
|
|
67058
|
+
descriptorPattern: optional3(string4())
|
|
67059
|
+
});
|
|
67060
|
+
MerchantEntryError$outboundSchema = objectType({
|
|
67061
|
+
mid: stringType().optional(),
|
|
67062
|
+
descriptorPattern: stringType().optional()
|
|
67063
|
+
});
|
|
67064
|
+
});
|
|
67065
|
+
|
|
67066
|
+
// src/models/components/merchantcategoryrestrictionserror.ts
|
|
67067
|
+
var MerchantCategoryRestrictionsError$inboundSchema, MerchantCategoryRestrictionsError$outboundSchema;
|
|
67068
|
+
var init_merchantcategoryrestrictionserror = __esm(() => {
|
|
67069
|
+
init_v3();
|
|
67070
|
+
init_primitives2();
|
|
67071
|
+
init_merchantentryerror();
|
|
67072
|
+
MerchantCategoryRestrictionsError$inboundSchema = objectType({
|
|
67073
|
+
mode: optional3(string4()),
|
|
67074
|
+
categories: optional3(recordType(string4())),
|
|
67075
|
+
customMCCs: optional3(recordType(string4())),
|
|
67076
|
+
exemptMerchants: optional3(recordType(MerchantEntryError$inboundSchema))
|
|
67077
|
+
});
|
|
67078
|
+
MerchantCategoryRestrictionsError$outboundSchema = objectType({
|
|
67079
|
+
mode: stringType().optional(),
|
|
67080
|
+
categories: recordType(stringType()).optional(),
|
|
67081
|
+
customMCCs: recordType(stringType()).optional(),
|
|
67082
|
+
exemptMerchants: recordType(MerchantEntryError$outboundSchema).optional()
|
|
67083
|
+
});
|
|
67084
|
+
});
|
|
67085
|
+
|
|
67086
|
+
// src/models/components/merchantrestrictionserror.ts
|
|
67087
|
+
var MerchantRestrictionsError$inboundSchema, MerchantRestrictionsError$outboundSchema;
|
|
67088
|
+
var init_merchantrestrictionserror = __esm(() => {
|
|
67089
|
+
init_v3();
|
|
67090
|
+
init_primitives2();
|
|
67091
|
+
init_merchantentryerror();
|
|
67092
|
+
MerchantRestrictionsError$inboundSchema = objectType({
|
|
67093
|
+
mode: optional3(string4()),
|
|
67094
|
+
merchants: optional3(recordType(MerchantEntryError$inboundSchema))
|
|
67095
|
+
});
|
|
67096
|
+
MerchantRestrictionsError$outboundSchema = objectType({
|
|
67097
|
+
mode: stringType().optional(),
|
|
67098
|
+
merchants: recordType(MerchantEntryError$outboundSchema).optional()
|
|
67099
|
+
});
|
|
67100
|
+
});
|
|
67101
|
+
|
|
66704
67102
|
// src/models/components/issuingcontrolserror.ts
|
|
66705
67103
|
var IssuingControlsError$inboundSchema, IssuingControlsError$outboundSchema;
|
|
66706
67104
|
var init_issuingcontrolserror = __esm(() => {
|
|
66707
67105
|
init_v3();
|
|
66708
67106
|
init_primitives2();
|
|
67107
|
+
init_allowedscheduleerror();
|
|
66709
67108
|
init_issuingvelocitylimiterror();
|
|
67109
|
+
init_merchantcategoryrestrictionserror();
|
|
67110
|
+
init_merchantrestrictionserror();
|
|
66710
67111
|
IssuingControlsError$inboundSchema = objectType({
|
|
66711
|
-
velocityLimits: optional3(recordType(IssuingVelocityLimitError$inboundSchema))
|
|
67112
|
+
velocityLimits: optional3(recordType(IssuingVelocityLimitError$inboundSchema)),
|
|
67113
|
+
merchantCategoryRestrictions: optional3(MerchantCategoryRestrictionsError$inboundSchema),
|
|
67114
|
+
merchantRestrictions: optional3(MerchantRestrictionsError$inboundSchema),
|
|
67115
|
+
allowedSchedule: optional3(AllowedScheduleError$inboundSchema),
|
|
67116
|
+
expiresOn: optional3(string4())
|
|
66712
67117
|
});
|
|
66713
67118
|
IssuingControlsError$outboundSchema = objectType({
|
|
66714
|
-
velocityLimits: recordType(IssuingVelocityLimitError$outboundSchema).optional()
|
|
67119
|
+
velocityLimits: recordType(IssuingVelocityLimitError$outboundSchema).optional(),
|
|
67120
|
+
merchantCategoryRestrictions: MerchantCategoryRestrictionsError$outboundSchema.optional(),
|
|
67121
|
+
merchantRestrictions: MerchantRestrictionsError$outboundSchema.optional(),
|
|
67122
|
+
allowedSchedule: AllowedScheduleError$outboundSchema.optional(),
|
|
67123
|
+
expiresOn: stringType().optional()
|
|
66715
67124
|
});
|
|
66716
67125
|
});
|
|
66717
67126
|
|
|
@@ -67621,6 +68030,22 @@ var init_partnerpricingagreement = __esm(() => {
|
|
|
67621
68030
|
});
|
|
67622
68031
|
});
|
|
67623
68032
|
|
|
68033
|
+
// src/models/components/partnerriskoutcomesresponse.ts
|
|
68034
|
+
var PartnerRiskOutcomesResponse$inboundSchema, PartnerRiskOutcomesResponse$outboundSchema;
|
|
68035
|
+
var init_partnerriskoutcomesresponse = __esm(() => {
|
|
68036
|
+
init_v3();
|
|
68037
|
+
init_primitives2();
|
|
68038
|
+
init_contributingrule();
|
|
68039
|
+
PartnerRiskOutcomesResponse$inboundSchema = objectType({
|
|
68040
|
+
transferID: string4(),
|
|
68041
|
+
contributingRules: arrayType(ContributingRule$inboundSchema)
|
|
68042
|
+
});
|
|
68043
|
+
PartnerRiskOutcomesResponse$outboundSchema = objectType({
|
|
68044
|
+
transferID: stringType(),
|
|
68045
|
+
contributingRules: arrayType(ContributingRule$outboundSchema)
|
|
68046
|
+
});
|
|
68047
|
+
});
|
|
68048
|
+
|
|
67624
68049
|
// src/models/components/taxidupdate.ts
|
|
67625
68050
|
var TaxIDUpdateEin$inboundSchema, TaxIDUpdateEin$outboundSchema, TaxIDUpdate$inboundSchema, TaxIDUpdate$outboundSchema;
|
|
67626
68051
|
var init_taxidupdate = __esm(() => {
|
|
@@ -68164,19 +68589,22 @@ var init_paymentlinkpayoutdetailsupdate = __esm(() => {
|
|
|
68164
68589
|
init_v3();
|
|
68165
68590
|
init_primitives2();
|
|
68166
68591
|
init_disbursementpaymentmethodtype();
|
|
68592
|
+
init_feepaidby();
|
|
68167
68593
|
init_payoutrecipient();
|
|
68168
68594
|
init_pushoptionsupdate();
|
|
68169
68595
|
PaymentLinkPayoutDetailsUpdate$inboundSchema = objectType({
|
|
68170
68596
|
allowedMethods: optional3(arrayType(DisbursementPaymentMethodType$inboundSchema)),
|
|
68171
68597
|
recipient: optional3(PayoutRecipient$inboundSchema),
|
|
68172
68598
|
metadata: optional3(recordType(string4())),
|
|
68173
|
-
pushOptions: optional3(PushOptionsUpdate$inboundSchema)
|
|
68599
|
+
pushOptions: optional3(PushOptionsUpdate$inboundSchema),
|
|
68600
|
+
feePaidBy: optional3(recordType(FeePaidBy$inboundSchema))
|
|
68174
68601
|
});
|
|
68175
68602
|
PaymentLinkPayoutDetailsUpdate$outboundSchema = objectType({
|
|
68176
68603
|
allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema).optional(),
|
|
68177
68604
|
recipient: PayoutRecipient$outboundSchema.optional(),
|
|
68178
68605
|
metadata: recordType(stringType()).optional(),
|
|
68179
|
-
pushOptions: PushOptionsUpdate$outboundSchema.optional()
|
|
68606
|
+
pushOptions: PushOptionsUpdate$outboundSchema.optional(),
|
|
68607
|
+
feePaidBy: recordType(FeePaidBy$outboundSchema).optional()
|
|
68180
68608
|
});
|
|
68181
68609
|
});
|
|
68182
68610
|
|
|
@@ -68410,13 +68838,15 @@ var init_payoutdetailserror = __esm(() => {
|
|
|
68410
68838
|
allowedMethods: optional3(string4()),
|
|
68411
68839
|
recipient: optional3(PayoutRecipientError$inboundSchema),
|
|
68412
68840
|
metadata: optional3(string4()),
|
|
68413
|
-
pushOptions: optional3(PushOptionsError$inboundSchema)
|
|
68841
|
+
pushOptions: optional3(PushOptionsError$inboundSchema),
|
|
68842
|
+
feePaidBy: optional3(string4())
|
|
68414
68843
|
});
|
|
68415
68844
|
PayoutDetailsError$outboundSchema = objectType({
|
|
68416
68845
|
allowedMethods: stringType().optional(),
|
|
68417
68846
|
recipient: PayoutRecipientError$outboundSchema.optional(),
|
|
68418
68847
|
metadata: stringType().optional(),
|
|
68419
|
-
pushOptions: PushOptionsError$outboundSchema.optional()
|
|
68848
|
+
pushOptions: PushOptionsError$outboundSchema.optional(),
|
|
68849
|
+
feePaidBy: stringType().optional()
|
|
68420
68850
|
});
|
|
68421
68851
|
});
|
|
68422
68852
|
|
|
@@ -68504,6 +68934,27 @@ var init_platformfees = __esm(() => {
|
|
|
68504
68934
|
});
|
|
68505
68935
|
});
|
|
68506
68936
|
|
|
68937
|
+
// src/models/components/productcategory.ts
|
|
68938
|
+
var ProductCategory$inboundSchema, ProductCategory$outboundSchema;
|
|
68939
|
+
var init_productcategory = __esm(() => {
|
|
68940
|
+
init_v3();
|
|
68941
|
+
init_primitives2();
|
|
68942
|
+
ProductCategory$inboundSchema = objectType({
|
|
68943
|
+
categoryID: string4(),
|
|
68944
|
+
name: string4(),
|
|
68945
|
+
fullName: string4(),
|
|
68946
|
+
level: number4(),
|
|
68947
|
+
parentID: optional3(string4())
|
|
68948
|
+
});
|
|
68949
|
+
ProductCategory$outboundSchema = objectType({
|
|
68950
|
+
categoryID: stringType(),
|
|
68951
|
+
name: stringType(),
|
|
68952
|
+
fullName: stringType(),
|
|
68953
|
+
level: numberType().int(),
|
|
68954
|
+
parentID: stringType().optional()
|
|
68955
|
+
});
|
|
68956
|
+
});
|
|
68957
|
+
|
|
68507
68958
|
// src/models/components/productimagemetadata.ts
|
|
68508
68959
|
var ProductImageMetadata$inboundSchema, ProductImageMetadata$outboundSchema;
|
|
68509
68960
|
var init_productimagemetadata = __esm(() => {
|
|
@@ -68572,6 +69023,7 @@ var init_product = __esm(() => {
|
|
|
68572
69023
|
init_v3();
|
|
68573
69024
|
init_primitives2();
|
|
68574
69025
|
init_amountdecimal();
|
|
69026
|
+
init_productcategory();
|
|
68575
69027
|
init_productimagemetadata();
|
|
68576
69028
|
init_productoptiongroup();
|
|
68577
69029
|
Product$inboundSchema = objectType({
|
|
@@ -68581,6 +69033,7 @@ var init_product = __esm(() => {
|
|
|
68581
69033
|
basePrice: AmountDecimal$inboundSchema,
|
|
68582
69034
|
optionGroups: optional3(arrayType(ProductOptionGroup$inboundSchema)),
|
|
68583
69035
|
images: optional3(arrayType(ProductImageMetadata$inboundSchema)),
|
|
69036
|
+
category: optional3(ProductCategory$inboundSchema),
|
|
68584
69037
|
createdOn: date4(),
|
|
68585
69038
|
updatedOn: date4(),
|
|
68586
69039
|
disabledOn: optional3(date4())
|
|
@@ -68592,12 +69045,26 @@ var init_product = __esm(() => {
|
|
|
68592
69045
|
basePrice: AmountDecimal$outboundSchema,
|
|
68593
69046
|
optionGroups: arrayType(ProductOptionGroup$outboundSchema).optional(),
|
|
68594
69047
|
images: arrayType(ProductImageMetadata$outboundSchema).optional(),
|
|
69048
|
+
category: ProductCategory$outboundSchema.optional(),
|
|
68595
69049
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
68596
69050
|
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
68597
69051
|
disabledOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
68598
69052
|
});
|
|
68599
69053
|
});
|
|
68600
69054
|
|
|
69055
|
+
// src/models/components/productcategories.ts
|
|
69056
|
+
var ProductCategories$inboundSchema, ProductCategories$outboundSchema;
|
|
69057
|
+
var init_productcategories = __esm(() => {
|
|
69058
|
+
init_v3();
|
|
69059
|
+
init_productcategory();
|
|
69060
|
+
ProductCategories$inboundSchema = objectType({
|
|
69061
|
+
categories: arrayType(ProductCategory$inboundSchema)
|
|
69062
|
+
});
|
|
69063
|
+
ProductCategories$outboundSchema = objectType({
|
|
69064
|
+
categories: arrayType(ProductCategory$outboundSchema)
|
|
69065
|
+
});
|
|
69066
|
+
});
|
|
69067
|
+
|
|
68601
69068
|
// src/models/components/productoptionvalidationerror.ts
|
|
68602
69069
|
var ProductOptionValidationError$inboundSchema, ProductOptionValidationError$outboundSchema;
|
|
68603
69070
|
var init_productoptionvalidationerror = __esm(() => {
|
|
@@ -68654,14 +69121,16 @@ var init_productrequest = __esm(() => {
|
|
|
68654
69121
|
description: optional3(string4()),
|
|
68655
69122
|
basePrice: AmountDecimal$inboundSchema,
|
|
68656
69123
|
images: optional3(arrayType(AssignProductImage$inboundSchema)),
|
|
68657
|
-
optionGroups: optional3(arrayType(CreateProductOptionGroup$inboundSchema))
|
|
69124
|
+
optionGroups: optional3(arrayType(CreateProductOptionGroup$inboundSchema)),
|
|
69125
|
+
categoryID: optional3(string4())
|
|
68658
69126
|
});
|
|
68659
69127
|
ProductRequest$outboundSchema = objectType({
|
|
68660
69128
|
title: stringType(),
|
|
68661
69129
|
description: stringType().optional(),
|
|
68662
69130
|
basePrice: AmountDecimal$outboundSchema,
|
|
68663
69131
|
images: arrayType(AssignProductImage$outboundSchema).optional(),
|
|
68664
|
-
optionGroups: arrayType(CreateProductOptionGroup$outboundSchema).optional()
|
|
69132
|
+
optionGroups: arrayType(CreateProductOptionGroup$outboundSchema).optional(),
|
|
69133
|
+
categoryID: stringType().optional()
|
|
68665
69134
|
});
|
|
68666
69135
|
});
|
|
68667
69136
|
|
|
@@ -70344,12 +70813,67 @@ var init_updateissuedcardstate = __esm(() => {
|
|
|
70344
70813
|
UpdateIssuedCardState$outboundSchema = UpdateIssuedCardState$inboundSchema;
|
|
70345
70814
|
});
|
|
70346
70815
|
|
|
70816
|
+
// src/models/components/updateissuingcontrols.ts
|
|
70817
|
+
var UpdateIssuingControlsMerchantCategoryRestrictions$inboundSchema, UpdateIssuingControlsMerchantCategoryRestrictions$outboundSchema, UpdateIssuingControlsMerchantRestrictions$inboundSchema, UpdateIssuingControlsMerchantRestrictions$outboundSchema, UpdateIssuingControlsAllowedSchedule$inboundSchema, UpdateIssuingControlsAllowedSchedule$outboundSchema, UpdateIssuingControls$inboundSchema, UpdateIssuingControls$outboundSchema;
|
|
70818
|
+
var init_updateissuingcontrols = __esm(() => {
|
|
70819
|
+
init_v3();
|
|
70820
|
+
init_primitives2();
|
|
70821
|
+
init_issuingcontrolsrestrictionmode();
|
|
70822
|
+
init_issuingmerchantcategory();
|
|
70823
|
+
init_issuingvelocitylimit();
|
|
70824
|
+
init_merchantentry();
|
|
70825
|
+
init_schedulewindow();
|
|
70826
|
+
UpdateIssuingControlsMerchantCategoryRestrictions$inboundSchema = objectType({
|
|
70827
|
+
mode: optional3(IssuingControlsRestrictionMode$inboundSchema),
|
|
70828
|
+
categories: optional3(arrayType(IssuingMerchantCategory$inboundSchema)),
|
|
70829
|
+
customMCCs: optional3(arrayType(string4())),
|
|
70830
|
+
exemptMerchants: optional3(arrayType(MerchantEntry$inboundSchema))
|
|
70831
|
+
});
|
|
70832
|
+
UpdateIssuingControlsMerchantCategoryRestrictions$outboundSchema = objectType({
|
|
70833
|
+
mode: IssuingControlsRestrictionMode$outboundSchema.optional(),
|
|
70834
|
+
categories: arrayType(IssuingMerchantCategory$outboundSchema).optional(),
|
|
70835
|
+
customMCCs: arrayType(stringType()).optional(),
|
|
70836
|
+
exemptMerchants: arrayType(MerchantEntry$outboundSchema).optional()
|
|
70837
|
+
});
|
|
70838
|
+
UpdateIssuingControlsMerchantRestrictions$inboundSchema = objectType({
|
|
70839
|
+
mode: optional3(IssuingControlsRestrictionMode$inboundSchema),
|
|
70840
|
+
merchants: optional3(arrayType(MerchantEntry$inboundSchema))
|
|
70841
|
+
});
|
|
70842
|
+
UpdateIssuingControlsMerchantRestrictions$outboundSchema = objectType({
|
|
70843
|
+
mode: IssuingControlsRestrictionMode$outboundSchema.optional(),
|
|
70844
|
+
merchants: arrayType(MerchantEntry$outboundSchema).optional()
|
|
70845
|
+
});
|
|
70846
|
+
UpdateIssuingControlsAllowedSchedule$inboundSchema = objectType({
|
|
70847
|
+
timezone: optional3(string4()),
|
|
70848
|
+
windows: optional3(arrayType(ScheduleWindow$inboundSchema))
|
|
70849
|
+
});
|
|
70850
|
+
UpdateIssuingControlsAllowedSchedule$outboundSchema = objectType({
|
|
70851
|
+
timezone: stringType().optional(),
|
|
70852
|
+
windows: arrayType(ScheduleWindow$outboundSchema).optional()
|
|
70853
|
+
});
|
|
70854
|
+
UpdateIssuingControls$inboundSchema = objectType({
|
|
70855
|
+
velocityLimits: optional3(arrayType(IssuingVelocityLimit$inboundSchema)),
|
|
70856
|
+
merchantCategoryRestrictions: nullableType(lazyType(() => UpdateIssuingControlsMerchantCategoryRestrictions$inboundSchema)).optional(),
|
|
70857
|
+
merchantRestrictions: nullableType(lazyType(() => UpdateIssuingControlsMerchantRestrictions$inboundSchema)).optional(),
|
|
70858
|
+
allowedSchedule: nullableType(lazyType(() => UpdateIssuingControlsAllowedSchedule$inboundSchema)).optional(),
|
|
70859
|
+
expiresOn: nullableType(date4()).optional()
|
|
70860
|
+
});
|
|
70861
|
+
UpdateIssuingControls$outboundSchema = objectType({
|
|
70862
|
+
velocityLimits: arrayType(IssuingVelocityLimit$outboundSchema).optional(),
|
|
70863
|
+
merchantCategoryRestrictions: nullableType(lazyType(() => UpdateIssuingControlsMerchantCategoryRestrictions$outboundSchema)).optional(),
|
|
70864
|
+
merchantRestrictions: nullableType(lazyType(() => UpdateIssuingControlsMerchantRestrictions$outboundSchema)).optional(),
|
|
70865
|
+
allowedSchedule: nullableType(lazyType(() => UpdateIssuingControlsAllowedSchedule$outboundSchema)).optional(),
|
|
70866
|
+
expiresOn: nullableType(dateType().transform((v2) => v2.toISOString())).optional()
|
|
70867
|
+
});
|
|
70868
|
+
});
|
|
70869
|
+
|
|
70347
70870
|
// src/models/components/updateissuedcard.ts
|
|
70348
70871
|
var BillingAddress$inboundSchema, BillingAddress$outboundSchema, UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
|
|
70349
70872
|
var init_updateissuedcard = __esm(() => {
|
|
70350
70873
|
init_v3();
|
|
70351
70874
|
init_primitives2();
|
|
70352
70875
|
init_updateissuedcardstate();
|
|
70876
|
+
init_updateissuingcontrols();
|
|
70353
70877
|
BillingAddress$inboundSchema = objectType({
|
|
70354
70878
|
addressLine1: optional3(string4()),
|
|
70355
70879
|
addressLine2: optional3(string4()),
|
|
@@ -70370,13 +70894,40 @@ var init_updateissuedcard = __esm(() => {
|
|
|
70370
70894
|
state: optional3(UpdateIssuedCardState$inboundSchema),
|
|
70371
70895
|
nickname: nullableType(string4()).optional(),
|
|
70372
70896
|
metadata: nullableType(recordType(string4())).optional(),
|
|
70373
|
-
billingAddress: nullableType(lazyType(() => BillingAddress$inboundSchema)).optional()
|
|
70897
|
+
billingAddress: nullableType(lazyType(() => BillingAddress$inboundSchema)).optional(),
|
|
70898
|
+
controls: optional3(UpdateIssuingControls$inboundSchema)
|
|
70374
70899
|
});
|
|
70375
70900
|
UpdateIssuedCard$outboundSchema = objectType({
|
|
70376
70901
|
state: UpdateIssuedCardState$outboundSchema.optional(),
|
|
70377
70902
|
nickname: nullableType(stringType()).optional(),
|
|
70378
70903
|
metadata: nullableType(recordType(stringType())).optional(),
|
|
70379
|
-
billingAddress: nullableType(lazyType(() => BillingAddress$outboundSchema)).optional()
|
|
70904
|
+
billingAddress: nullableType(lazyType(() => BillingAddress$outboundSchema)).optional(),
|
|
70905
|
+
controls: UpdateIssuingControls$outboundSchema.optional()
|
|
70906
|
+
});
|
|
70907
|
+
});
|
|
70908
|
+
|
|
70909
|
+
// src/models/components/updateissuingcontrolserror.ts
|
|
70910
|
+
var UpdateIssuingControlsError$inboundSchema, UpdateIssuingControlsError$outboundSchema;
|
|
70911
|
+
var init_updateissuingcontrolserror = __esm(() => {
|
|
70912
|
+
init_v3();
|
|
70913
|
+
init_primitives2();
|
|
70914
|
+
init_allowedscheduleerror();
|
|
70915
|
+
init_issuingvelocitylimiterror();
|
|
70916
|
+
init_merchantcategoryrestrictionserror();
|
|
70917
|
+
init_merchantrestrictionserror();
|
|
70918
|
+
UpdateIssuingControlsError$inboundSchema = objectType({
|
|
70919
|
+
velocityLimits: optional3(recordType(IssuingVelocityLimitError$inboundSchema)),
|
|
70920
|
+
merchantCategoryRestrictions: optional3(MerchantCategoryRestrictionsError$inboundSchema),
|
|
70921
|
+
merchantRestrictions: optional3(MerchantRestrictionsError$inboundSchema),
|
|
70922
|
+
allowedSchedule: optional3(AllowedScheduleError$inboundSchema),
|
|
70923
|
+
expiresOn: optional3(string4())
|
|
70924
|
+
});
|
|
70925
|
+
UpdateIssuingControlsError$outboundSchema = objectType({
|
|
70926
|
+
velocityLimits: recordType(IssuingVelocityLimitError$outboundSchema).optional(),
|
|
70927
|
+
merchantCategoryRestrictions: MerchantCategoryRestrictionsError$outboundSchema.optional(),
|
|
70928
|
+
merchantRestrictions: MerchantRestrictionsError$outboundSchema.optional(),
|
|
70929
|
+
allowedSchedule: AllowedScheduleError$outboundSchema.optional(),
|
|
70930
|
+
expiresOn: stringType().optional()
|
|
70380
70931
|
});
|
|
70381
70932
|
});
|
|
70382
70933
|
|
|
@@ -71791,6 +72342,7 @@ var init_components = __esm(() => {
|
|
|
71791
72342
|
init_addresssuggestion();
|
|
71792
72343
|
init_addressupdate();
|
|
71793
72344
|
init_adjustment();
|
|
72345
|
+
init_allowedscheduleerror();
|
|
71794
72346
|
init_amount();
|
|
71795
72347
|
init_amountdecimal();
|
|
71796
72348
|
init_amountdecimalrange();
|
|
@@ -71815,6 +72367,7 @@ var init_components = __esm(() => {
|
|
|
71815
72367
|
init_asynctransfer();
|
|
71816
72368
|
init_authtoken();
|
|
71817
72369
|
init_authtokenrequest();
|
|
72370
|
+
init_avataruploadrequest();
|
|
71818
72371
|
init_bankaccount();
|
|
71819
72372
|
init_bankaccountexception();
|
|
71820
72373
|
init_bankaccountholdertype();
|
|
@@ -71899,6 +72452,7 @@ var init_components = __esm(() => {
|
|
|
71899
72452
|
init_completedmicrodeposits();
|
|
71900
72453
|
init_completemicrodeposits();
|
|
71901
72454
|
init_contact();
|
|
72455
|
+
init_contributingrule();
|
|
71902
72456
|
init_createaccount();
|
|
71903
72457
|
init_createaccountsettings();
|
|
71904
72458
|
init_createaccounttype();
|
|
@@ -72004,6 +72558,7 @@ var init_components = __esm(() => {
|
|
|
72004
72558
|
init_fednowservices();
|
|
72005
72559
|
init_feecategory();
|
|
72006
72560
|
init_feemodel();
|
|
72561
|
+
init_feepaidby();
|
|
72007
72562
|
init_feeplan();
|
|
72008
72563
|
init_feeplanagreement();
|
|
72009
72564
|
init_feeplanagreementstatus();
|
|
@@ -72075,11 +72630,16 @@ var init_components = __esm(() => {
|
|
|
72075
72630
|
init_issuedcardformfactor();
|
|
72076
72631
|
init_issuedcardstate();
|
|
72077
72632
|
init_issuedcardtransaction();
|
|
72633
|
+
init_issuedcontrols();
|
|
72634
|
+
init_issuedvelocitylimit();
|
|
72078
72635
|
init_issuingauthorizationstatus();
|
|
72079
72636
|
init_issuingcontrols();
|
|
72080
72637
|
init_issuingcontrolserror();
|
|
72638
|
+
init_issuingcontrolsrestrictionmode();
|
|
72081
72639
|
init_issuingintervallimit();
|
|
72640
|
+
init_issuingmerchantcategory();
|
|
72082
72641
|
init_issuingmerchantdata();
|
|
72642
|
+
init_issuingscheduleday();
|
|
72083
72643
|
init_issuingvelocitylimit();
|
|
72084
72644
|
init_issuingvelocitylimiterror();
|
|
72085
72645
|
init_itemlistnextpage();
|
|
@@ -72098,6 +72658,12 @@ var init_components = __esm(() => {
|
|
|
72098
72658
|
init_listfeesfetchrequest();
|
|
72099
72659
|
init_manualtermsofservice();
|
|
72100
72660
|
init_manualtermsofserviceupdate();
|
|
72661
|
+
init_merchantcategoryrestrictions();
|
|
72662
|
+
init_merchantcategoryrestrictionserror();
|
|
72663
|
+
init_merchantentry();
|
|
72664
|
+
init_merchantentryerror();
|
|
72665
|
+
init_merchantrestrictions();
|
|
72666
|
+
init_merchantrestrictionserror();
|
|
72101
72667
|
init_microdepositstatus();
|
|
72102
72668
|
init_minimumcommitment();
|
|
72103
72669
|
init_mode();
|
|
@@ -72125,6 +72691,7 @@ var init_components = __esm(() => {
|
|
|
72125
72691
|
init_partialscheduleaccount();
|
|
72126
72692
|
init_partnerfees();
|
|
72127
72693
|
init_partnerpricingagreement();
|
|
72694
|
+
init_partnerriskoutcomesresponse();
|
|
72128
72695
|
init_patchaccount();
|
|
72129
72696
|
init_patchbusiness();
|
|
72130
72697
|
init_patchindividual();
|
|
@@ -72169,6 +72736,8 @@ var init_components = __esm(() => {
|
|
|
72169
72736
|
init_platformfees();
|
|
72170
72737
|
init_primaryregulator();
|
|
72171
72738
|
init_product();
|
|
72739
|
+
init_productcategories();
|
|
72740
|
+
init_productcategory();
|
|
72172
72741
|
init_productimagemetadata();
|
|
72173
72742
|
init_productoption();
|
|
72174
72743
|
init_productoptiongroup();
|
|
@@ -72238,6 +72807,8 @@ var init_components = __esm(() => {
|
|
|
72238
72807
|
init_schedulelistresponse();
|
|
72239
72808
|
init_schedulepaymentmethod();
|
|
72240
72809
|
init_scheduleresponse();
|
|
72810
|
+
init_schedulewindow();
|
|
72811
|
+
init_schedulewindowerror();
|
|
72241
72812
|
init_seccode();
|
|
72242
72813
|
init_security2();
|
|
72243
72814
|
init_sendfunds();
|
|
@@ -72294,6 +72865,7 @@ var init_components = __esm(() => {
|
|
|
72294
72865
|
init_transferdestination();
|
|
72295
72866
|
init_transferentrymode();
|
|
72296
72867
|
init_transferfailurereason();
|
|
72868
|
+
init_transferfeepaidby();
|
|
72297
72869
|
init_transferlineitem();
|
|
72298
72870
|
init_transferlineitemimagemetadata();
|
|
72299
72871
|
init_transferlineitemoption();
|
|
@@ -72319,6 +72891,8 @@ var init_components = __esm(() => {
|
|
|
72319
72891
|
init_updateinvoice();
|
|
72320
72892
|
init_updateissuedcard();
|
|
72321
72893
|
init_updateissuedcardstate();
|
|
72894
|
+
init_updateissuingcontrols();
|
|
72895
|
+
init_updateissuingcontrolserror();
|
|
72322
72896
|
init_updatepaymentlink();
|
|
72323
72897
|
init_updatepaymentlinkamountdetails();
|
|
72324
72898
|
init_updatepaymentlinkamountdetailsvalidationerror();
|
|
@@ -74242,6 +74816,7 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74242
74816
|
basePrice;
|
|
74243
74817
|
images;
|
|
74244
74818
|
optionGroups;
|
|
74819
|
+
categoryID;
|
|
74245
74820
|
data$;
|
|
74246
74821
|
constructor(err, httpMeta) {
|
|
74247
74822
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -74257,6 +74832,8 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74257
74832
|
this.images = err.images;
|
|
74258
74833
|
if (err.optionGroups != null)
|
|
74259
74834
|
this.optionGroups = err.optionGroups;
|
|
74835
|
+
if (err.categoryID != null)
|
|
74836
|
+
this.categoryID = err.categoryID;
|
|
74260
74837
|
this.name = "ProductRequestValidationError";
|
|
74261
74838
|
}
|
|
74262
74839
|
};
|
|
@@ -74266,6 +74843,7 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74266
74843
|
basePrice: optional3(AmountDecimalValidationError$inboundSchema),
|
|
74267
74844
|
images: optional3(recordType(AssignProductImageValidationError$inboundSchema)),
|
|
74268
74845
|
optionGroups: optional3(recordType(ProductOptionGroupValidationError$inboundSchema)),
|
|
74846
|
+
categoryID: optional3(string4()),
|
|
74269
74847
|
request$: instanceOfType(Request),
|
|
74270
74848
|
response$: instanceOfType(Response),
|
|
74271
74849
|
body$: stringType()
|
|
@@ -74281,7 +74859,8 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74281
74859
|
description: stringType().optional(),
|
|
74282
74860
|
basePrice: AmountDecimalValidationError$outboundSchema.optional(),
|
|
74283
74861
|
images: recordType(AssignProductImageValidationError$outboundSchema).optional(),
|
|
74284
|
-
optionGroups: recordType(ProductOptionGroupValidationError$outboundSchema).optional()
|
|
74862
|
+
optionGroups: recordType(ProductOptionGroupValidationError$outboundSchema).optional(),
|
|
74863
|
+
categoryID: stringType().optional()
|
|
74285
74864
|
}));
|
|
74286
74865
|
});
|
|
74287
74866
|
|
|
@@ -75161,6 +75740,7 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
75161
75740
|
nickname;
|
|
75162
75741
|
metadata;
|
|
75163
75742
|
billingAddress;
|
|
75743
|
+
controls;
|
|
75164
75744
|
data$;
|
|
75165
75745
|
constructor(err, httpMeta) {
|
|
75166
75746
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -75174,6 +75754,8 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
75174
75754
|
this.metadata = err.metadata;
|
|
75175
75755
|
if (err.billingAddress != null)
|
|
75176
75756
|
this.billingAddress = err.billingAddress;
|
|
75757
|
+
if (err.controls != null)
|
|
75758
|
+
this.controls = err.controls;
|
|
75177
75759
|
this.name = "UpdateIssuedCardError";
|
|
75178
75760
|
}
|
|
75179
75761
|
};
|
|
@@ -75182,6 +75764,7 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
75182
75764
|
nickname: optional3(string4()),
|
|
75183
75765
|
metadata: optional3(string4()),
|
|
75184
75766
|
billingAddress: optional3(AddressError$inboundSchema),
|
|
75767
|
+
controls: optional3(UpdateIssuingControlsError$inboundSchema),
|
|
75185
75768
|
request$: instanceOfType(Request),
|
|
75186
75769
|
response$: instanceOfType(Response),
|
|
75187
75770
|
body$: stringType()
|
|
@@ -75196,7 +75779,8 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
75196
75779
|
state: stringType().optional(),
|
|
75197
75780
|
nickname: stringType().optional(),
|
|
75198
75781
|
metadata: stringType().optional(),
|
|
75199
|
-
billingAddress: AddressError$outboundSchema.optional()
|
|
75782
|
+
billingAddress: AddressError$outboundSchema.optional(),
|
|
75783
|
+
controls: UpdateIssuingControlsError$outboundSchema.optional()
|
|
75200
75784
|
}));
|
|
75201
75785
|
});
|
|
75202
75786
|
|
|
@@ -76922,6 +77506,42 @@ var init_createwebhook2 = __esm(() => {
|
|
|
76922
77506
|
});
|
|
76923
77507
|
});
|
|
76924
77508
|
|
|
77509
|
+
// src/models/operations/deleteavatar.ts
|
|
77510
|
+
var DeleteAvatarSecurity$inboundSchema, DeleteAvatarSecurity$outboundSchema, DeleteAvatarRequest$inboundSchema, DeleteAvatarRequest$outboundSchema, DeleteAvatarResponse$inboundSchema, DeleteAvatarResponse$outboundSchema;
|
|
77511
|
+
var init_deleteavatar = __esm(() => {
|
|
77512
|
+
init_v3();
|
|
77513
|
+
init_primitives();
|
|
77514
|
+
init_primitives2();
|
|
77515
|
+
DeleteAvatarSecurity$inboundSchema = objectType({
|
|
77516
|
+
username: optional3(string4()),
|
|
77517
|
+
password: optional3(string4())
|
|
77518
|
+
});
|
|
77519
|
+
DeleteAvatarSecurity$outboundSchema = objectType({
|
|
77520
|
+
username: stringType().optional(),
|
|
77521
|
+
password: stringType().optional()
|
|
77522
|
+
});
|
|
77523
|
+
DeleteAvatarRequest$inboundSchema = objectType({
|
|
77524
|
+
uniqueID: string4()
|
|
77525
|
+
});
|
|
77526
|
+
DeleteAvatarRequest$outboundSchema = objectType({
|
|
77527
|
+
uniqueID: stringType()
|
|
77528
|
+
});
|
|
77529
|
+
DeleteAvatarResponse$inboundSchema = objectType({
|
|
77530
|
+
Headers: recordType(arrayType(stringType())).default({})
|
|
77531
|
+
}).transform((v2) => {
|
|
77532
|
+
return remap(v2, {
|
|
77533
|
+
Headers: "headers"
|
|
77534
|
+
});
|
|
77535
|
+
});
|
|
77536
|
+
DeleteAvatarResponse$outboundSchema = objectType({
|
|
77537
|
+
headers: recordType(arrayType(stringType()))
|
|
77538
|
+
}).transform((v2) => {
|
|
77539
|
+
return remap(v2, {
|
|
77540
|
+
headers: "Headers"
|
|
77541
|
+
});
|
|
77542
|
+
});
|
|
77543
|
+
});
|
|
77544
|
+
|
|
76925
77545
|
// src/models/operations/deletedisputeevidencefile.ts
|
|
76926
77546
|
var DeleteDisputeEvidenceFileRequest$inboundSchema, DeleteDisputeEvidenceFileRequest$outboundSchema, DeleteDisputeEvidenceFileResponse$inboundSchema, DeleteDisputeEvidenceFileResponse$outboundSchema;
|
|
76927
77547
|
var init_deletedisputeevidencefile = __esm(() => {
|
|
@@ -79059,6 +79679,49 @@ var init_gettransferconfig = __esm(() => {
|
|
|
79059
79679
|
});
|
|
79060
79680
|
});
|
|
79061
79681
|
|
|
79682
|
+
// src/models/operations/gettransferriskoutcomes.ts
|
|
79683
|
+
var GetTransferRiskOutcomesRequest$inboundSchema, GetTransferRiskOutcomesRequest$outboundSchema, GetTransferRiskOutcomesResponse$inboundSchema, GetTransferRiskOutcomesResponse$outboundSchema;
|
|
79684
|
+
var init_gettransferriskoutcomes = __esm(() => {
|
|
79685
|
+
init_v3();
|
|
79686
|
+
init_primitives();
|
|
79687
|
+
init_primitives2();
|
|
79688
|
+
init_components();
|
|
79689
|
+
GetTransferRiskOutcomesRequest$inboundSchema = objectType({
|
|
79690
|
+
transferID: string4(),
|
|
79691
|
+
"X-Account-ID": optional3(string4())
|
|
79692
|
+
}).transform((v2) => {
|
|
79693
|
+
return remap(v2, {
|
|
79694
|
+
"X-Account-ID": "xAccountID"
|
|
79695
|
+
});
|
|
79696
|
+
});
|
|
79697
|
+
GetTransferRiskOutcomesRequest$outboundSchema = objectType({
|
|
79698
|
+
transferID: stringType(),
|
|
79699
|
+
xAccountID: stringType().optional()
|
|
79700
|
+
}).transform((v2) => {
|
|
79701
|
+
return remap(v2, {
|
|
79702
|
+
xAccountID: "X-Account-ID"
|
|
79703
|
+
});
|
|
79704
|
+
});
|
|
79705
|
+
GetTransferRiskOutcomesResponse$inboundSchema = objectType({
|
|
79706
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
79707
|
+
Result: PartnerRiskOutcomesResponse$inboundSchema
|
|
79708
|
+
}).transform((v2) => {
|
|
79709
|
+
return remap(v2, {
|
|
79710
|
+
Headers: "headers",
|
|
79711
|
+
Result: "result"
|
|
79712
|
+
});
|
|
79713
|
+
});
|
|
79714
|
+
GetTransferRiskOutcomesResponse$outboundSchema = objectType({
|
|
79715
|
+
headers: recordType(arrayType(stringType())),
|
|
79716
|
+
result: PartnerRiskOutcomesResponse$outboundSchema
|
|
79717
|
+
}).transform((v2) => {
|
|
79718
|
+
return remap(v2, {
|
|
79719
|
+
headers: "Headers",
|
|
79720
|
+
result: "Result"
|
|
79721
|
+
});
|
|
79722
|
+
});
|
|
79723
|
+
});
|
|
79724
|
+
|
|
79062
79725
|
// src/models/operations/getunderwriting.ts
|
|
79063
79726
|
var GetUnderwritingRequest$inboundSchema, GetUnderwritingRequest$outboundSchema, GetUnderwritingResponse$inboundSchema, GetUnderwritingResponse$outboundSchema;
|
|
79064
79727
|
var init_getunderwriting = __esm(() => {
|
|
@@ -80710,6 +81373,32 @@ var init_listpaymentmethods = __esm(() => {
|
|
|
80710
81373
|
});
|
|
80711
81374
|
});
|
|
80712
81375
|
|
|
81376
|
+
// src/models/operations/listproductcategories.ts
|
|
81377
|
+
var ListProductCategoriesResponse$inboundSchema, ListProductCategoriesResponse$outboundSchema;
|
|
81378
|
+
var init_listproductcategories = __esm(() => {
|
|
81379
|
+
init_v3();
|
|
81380
|
+
init_primitives();
|
|
81381
|
+
init_components();
|
|
81382
|
+
ListProductCategoriesResponse$inboundSchema = objectType({
|
|
81383
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
81384
|
+
Result: ProductCategories$inboundSchema
|
|
81385
|
+
}).transform((v2) => {
|
|
81386
|
+
return remap(v2, {
|
|
81387
|
+
Headers: "headers",
|
|
81388
|
+
Result: "result"
|
|
81389
|
+
});
|
|
81390
|
+
});
|
|
81391
|
+
ListProductCategoriesResponse$outboundSchema = objectType({
|
|
81392
|
+
headers: recordType(arrayType(stringType())),
|
|
81393
|
+
result: ProductCategories$outboundSchema
|
|
81394
|
+
}).transform((v2) => {
|
|
81395
|
+
return remap(v2, {
|
|
81396
|
+
headers: "Headers",
|
|
81397
|
+
result: "Result"
|
|
81398
|
+
});
|
|
81399
|
+
});
|
|
81400
|
+
});
|
|
81401
|
+
|
|
80713
81402
|
// src/models/operations/listproducts.ts
|
|
80714
81403
|
var ListProductsRequest$inboundSchema, ListProductsRequest$outboundSchema, ListProductsResponse$inboundSchema, ListProductsResponse$outboundSchema;
|
|
80715
81404
|
var init_listproducts = __esm(() => {
|
|
@@ -80720,12 +81409,14 @@ var init_listproducts = __esm(() => {
|
|
|
80720
81409
|
ListProductsRequest$inboundSchema = objectType({
|
|
80721
81410
|
accountID: string4(),
|
|
80722
81411
|
title: optional3(string4()),
|
|
81412
|
+
category: optional3(string4()),
|
|
80723
81413
|
skip: optional3(number4()),
|
|
80724
81414
|
count: optional3(number4())
|
|
80725
81415
|
});
|
|
80726
81416
|
ListProductsRequest$outboundSchema = objectType({
|
|
80727
81417
|
accountID: stringType(),
|
|
80728
81418
|
title: stringType().optional(),
|
|
81419
|
+
category: stringType().optional(),
|
|
80729
81420
|
skip: numberType().int().optional(),
|
|
80730
81421
|
count: numberType().int().optional()
|
|
80731
81422
|
});
|
|
@@ -82640,6 +83331,53 @@ var init_updatewebhook2 = __esm(() => {
|
|
|
82640
83331
|
});
|
|
82641
83332
|
});
|
|
82642
83333
|
|
|
83334
|
+
// src/models/operations/uploadavatar.ts
|
|
83335
|
+
var UploadAvatarSecurity$inboundSchema, UploadAvatarSecurity$outboundSchema, UploadAvatarRequest$inboundSchema, UploadAvatarRequest$outboundSchema, UploadAvatarResponse$inboundSchema, UploadAvatarResponse$outboundSchema;
|
|
83336
|
+
var init_uploadavatar = __esm(() => {
|
|
83337
|
+
init_v3();
|
|
83338
|
+
init_primitives();
|
|
83339
|
+
init_primitives2();
|
|
83340
|
+
init_components();
|
|
83341
|
+
UploadAvatarSecurity$inboundSchema = objectType({
|
|
83342
|
+
username: optional3(string4()),
|
|
83343
|
+
password: optional3(string4())
|
|
83344
|
+
});
|
|
83345
|
+
UploadAvatarSecurity$outboundSchema = objectType({
|
|
83346
|
+
username: stringType().optional(),
|
|
83347
|
+
password: stringType().optional()
|
|
83348
|
+
});
|
|
83349
|
+
UploadAvatarRequest$inboundSchema = objectType({
|
|
83350
|
+
uniqueID: string4(),
|
|
83351
|
+
AvatarUploadRequest: AvatarUploadRequest$inboundSchema
|
|
83352
|
+
}).transform((v2) => {
|
|
83353
|
+
return remap(v2, {
|
|
83354
|
+
AvatarUploadRequest: "avatarUploadRequest"
|
|
83355
|
+
});
|
|
83356
|
+
});
|
|
83357
|
+
UploadAvatarRequest$outboundSchema = objectType({
|
|
83358
|
+
uniqueID: stringType(),
|
|
83359
|
+
avatarUploadRequest: AvatarUploadRequest$outboundSchema
|
|
83360
|
+
}).transform((v2) => {
|
|
83361
|
+
return remap(v2, {
|
|
83362
|
+
avatarUploadRequest: "AvatarUploadRequest"
|
|
83363
|
+
});
|
|
83364
|
+
});
|
|
83365
|
+
UploadAvatarResponse$inboundSchema = objectType({
|
|
83366
|
+
Headers: recordType(arrayType(stringType())).default({})
|
|
83367
|
+
}).transform((v2) => {
|
|
83368
|
+
return remap(v2, {
|
|
83369
|
+
Headers: "headers"
|
|
83370
|
+
});
|
|
83371
|
+
});
|
|
83372
|
+
UploadAvatarResponse$outboundSchema = objectType({
|
|
83373
|
+
headers: recordType(arrayType(stringType()))
|
|
83374
|
+
}).transform((v2) => {
|
|
83375
|
+
return remap(v2, {
|
|
83376
|
+
headers: "Headers"
|
|
83377
|
+
});
|
|
83378
|
+
});
|
|
83379
|
+
});
|
|
83380
|
+
|
|
82643
83381
|
// src/models/operations/uploaddisputeevidencefile.ts
|
|
82644
83382
|
var UploadDisputeEvidenceFileRequest$inboundSchema, UploadDisputeEvidenceFileRequest$outboundSchema, UploadDisputeEvidenceFileResponse$inboundSchema, UploadDisputeEvidenceFileResponse$outboundSchema;
|
|
82645
83383
|
var init_uploaddisputeevidencefile = __esm(() => {
|
|
@@ -82937,6 +83675,7 @@ var init_operations = __esm(() => {
|
|
|
82937
83675
|
init_createtransferoptions2();
|
|
82938
83676
|
init_createwallet2();
|
|
82939
83677
|
init_createwebhook2();
|
|
83678
|
+
init_deleteavatar();
|
|
82940
83679
|
init_deletedisputeevidencefile();
|
|
82941
83680
|
init_deleteimage();
|
|
82942
83681
|
init_deleteinvoice();
|
|
@@ -82998,6 +83737,7 @@ var init_operations = __esm(() => {
|
|
|
82998
83737
|
init_getticket();
|
|
82999
83738
|
init_gettransfer();
|
|
83000
83739
|
init_gettransferconfig();
|
|
83740
|
+
init_gettransferriskoutcomes();
|
|
83001
83741
|
init_getunderwriting();
|
|
83002
83742
|
init_getwallet();
|
|
83003
83743
|
init_getwallettransaction();
|
|
@@ -83040,6 +83780,7 @@ var init_operations = __esm(() => {
|
|
|
83040
83780
|
init_listpartnerpricingagreements();
|
|
83041
83781
|
init_listpaymentlinks();
|
|
83042
83782
|
init_listpaymentmethods();
|
|
83783
|
+
init_listproductcategories();
|
|
83043
83784
|
init_listproducts();
|
|
83044
83785
|
init_listreceipts();
|
|
83045
83786
|
init_listrefunds();
|
|
@@ -83088,6 +83829,7 @@ var init_operations = __esm(() => {
|
|
|
83088
83829
|
init_updatetransferconfig();
|
|
83089
83830
|
init_updatewallet();
|
|
83090
83831
|
init_updatewebhook2();
|
|
83832
|
+
init_uploadavatar();
|
|
83091
83833
|
init_uploaddisputeevidencefile();
|
|
83092
83834
|
init_uploaddisputeevidencetext();
|
|
83093
83835
|
init_uploadfile();
|
|
@@ -97121,6 +97863,7 @@ async function $do121(client, request, options) {
|
|
|
97121
97863
|
};
|
|
97122
97864
|
const path = pathToFunc("/accounts/{accountID}/products")(pathParams);
|
|
97123
97865
|
const query = encodeFormQuery({
|
|
97866
|
+
category: payload.category,
|
|
97124
97867
|
count: payload.count,
|
|
97125
97868
|
skip: payload.skip,
|
|
97126
97869
|
title: payload.title
|
|
@@ -97216,11 +97959,99 @@ var init_productsList2 = __esm(() => {
|
|
|
97216
97959
|
};
|
|
97217
97960
|
});
|
|
97218
97961
|
|
|
97962
|
+
// src/funcs/productsListCategories.ts
|
|
97963
|
+
function productsListCategories(client, options) {
|
|
97964
|
+
return new APIPromise($do122(client, options));
|
|
97965
|
+
}
|
|
97966
|
+
async function $do122(client, options) {
|
|
97967
|
+
const path = pathToFunc("/product-categories")();
|
|
97968
|
+
const headers = new Headers(compactMap({
|
|
97969
|
+
Accept: "application/json"
|
|
97970
|
+
}));
|
|
97971
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
97972
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
97973
|
+
const context = {
|
|
97974
|
+
options: client._options,
|
|
97975
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
97976
|
+
operationID: "listProductCategories",
|
|
97977
|
+
oAuth2Scopes: null,
|
|
97978
|
+
resolvedSecurity: requestSecurity,
|
|
97979
|
+
securitySource: client._options.security,
|
|
97980
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
97981
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
97982
|
+
};
|
|
97983
|
+
const requestRes = client._createRequest(context, {
|
|
97984
|
+
security: requestSecurity,
|
|
97985
|
+
method: "GET",
|
|
97986
|
+
baseURL: options?.serverURL,
|
|
97987
|
+
path,
|
|
97988
|
+
headers,
|
|
97989
|
+
userAgent: client._options.userAgent,
|
|
97990
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
97991
|
+
}, options);
|
|
97992
|
+
if (!requestRes.ok) {
|
|
97993
|
+
return [requestRes, { status: "invalid" }];
|
|
97994
|
+
}
|
|
97995
|
+
const req = requestRes.value;
|
|
97996
|
+
const doResult = await client._do(req, {
|
|
97997
|
+
context,
|
|
97998
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
97999
|
+
retryConfig: context.retryConfig,
|
|
98000
|
+
retryCodes: context.retryCodes
|
|
98001
|
+
});
|
|
98002
|
+
if (!doResult.ok) {
|
|
98003
|
+
return [doResult, { status: "request-error", request: req }];
|
|
98004
|
+
}
|
|
98005
|
+
const response = doResult.value;
|
|
98006
|
+
const responseFields = {
|
|
98007
|
+
HttpMeta: { Response: response, Request: req }
|
|
98008
|
+
};
|
|
98009
|
+
const [result] = await match(json(200, ListProductCategoriesResponse$inboundSchema, {
|
|
98010
|
+
hdrs: true,
|
|
98011
|
+
key: "Result"
|
|
98012
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
98013
|
+
if (!result.ok) {
|
|
98014
|
+
return [result, { status: "complete", request: req, response }];
|
|
98015
|
+
}
|
|
98016
|
+
return [result, { status: "complete", request: req, response }];
|
|
98017
|
+
}
|
|
98018
|
+
var init_productsListCategories = __esm(() => {
|
|
98019
|
+
init_http();
|
|
98020
|
+
init_matchers();
|
|
98021
|
+
init_primitives();
|
|
98022
|
+
init_security();
|
|
98023
|
+
init_url();
|
|
98024
|
+
init_operations();
|
|
98025
|
+
init_async();
|
|
98026
|
+
});
|
|
98027
|
+
|
|
98028
|
+
// src/mcp-server/tools/productsListCategories.ts
|
|
98029
|
+
var tool$productsListCategories;
|
|
98030
|
+
var init_productsListCategories2 = __esm(() => {
|
|
98031
|
+
init_productsListCategories();
|
|
98032
|
+
init_tools();
|
|
98033
|
+
tool$productsListCategories = {
|
|
98034
|
+
name: "products-list-categories",
|
|
98035
|
+
description: `Returns the full, read-only list of product categories from the product taxonomy.`,
|
|
98036
|
+
tool: async (client, ctx) => {
|
|
98037
|
+
const [result, apiCall] = await productsListCategories(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98038
|
+
if (!result.ok) {
|
|
98039
|
+
return {
|
|
98040
|
+
content: [{ type: "text", text: result.error.message }],
|
|
98041
|
+
isError: true
|
|
98042
|
+
};
|
|
98043
|
+
}
|
|
98044
|
+
const value = result.value.result;
|
|
98045
|
+
return formatResult(value, apiCall);
|
|
98046
|
+
}
|
|
98047
|
+
};
|
|
98048
|
+
});
|
|
98049
|
+
|
|
97219
98050
|
// src/funcs/productsUpdate.ts
|
|
97220
98051
|
function productsUpdate(client, request, options) {
|
|
97221
|
-
return new APIPromise($
|
|
98052
|
+
return new APIPromise($do123(client, request, options));
|
|
97222
98053
|
}
|
|
97223
|
-
async function $
|
|
98054
|
+
async function $do123(client, request, options) {
|
|
97224
98055
|
const parsed = safeParse4(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97225
98056
|
if (!parsed.ok) {
|
|
97226
98057
|
return [parsed, { status: "invalid" }];
|
|
@@ -97334,9 +98165,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
97334
98165
|
|
|
97335
98166
|
// src/funcs/receiptsCreate.ts
|
|
97336
98167
|
function receiptsCreate(client, request, options) {
|
|
97337
|
-
return new APIPromise($
|
|
98168
|
+
return new APIPromise($do124(client, request, options));
|
|
97338
98169
|
}
|
|
97339
|
-
async function $
|
|
98170
|
+
async function $do124(client, request, options) {
|
|
97340
98171
|
const parsed = safeParse4(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
97341
98172
|
if (!parsed.ok) {
|
|
97342
98173
|
return [parsed, { status: "invalid" }];
|
|
@@ -97444,9 +98275,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
97444
98275
|
|
|
97445
98276
|
// src/funcs/receiptsList.ts
|
|
97446
98277
|
function receiptsList(client, request, options) {
|
|
97447
|
-
return new APIPromise($
|
|
98278
|
+
return new APIPromise($do125(client, request, options));
|
|
97448
98279
|
}
|
|
97449
|
-
async function $
|
|
98280
|
+
async function $do125(client, request, options) {
|
|
97450
98281
|
const parsed = safeParse4(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97451
98282
|
if (!parsed.ok) {
|
|
97452
98283
|
return [parsed, { status: "invalid" }];
|
|
@@ -97553,9 +98384,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
97553
98384
|
|
|
97554
98385
|
// src/funcs/representativesCreate.ts
|
|
97555
98386
|
function representativesCreate(client, request, options) {
|
|
97556
|
-
return new APIPromise($
|
|
98387
|
+
return new APIPromise($do126(client, request, options));
|
|
97557
98388
|
}
|
|
97558
|
-
async function $
|
|
98389
|
+
async function $do126(client, request, options) {
|
|
97559
98390
|
const parsed = safeParse4(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97560
98391
|
if (!parsed.ok) {
|
|
97561
98392
|
return [parsed, { status: "invalid" }];
|
|
@@ -97672,9 +98503,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
97672
98503
|
|
|
97673
98504
|
// src/funcs/representativesDelete.ts
|
|
97674
98505
|
function representativesDelete(client, request, options) {
|
|
97675
|
-
return new APIPromise($
|
|
98506
|
+
return new APIPromise($do127(client, request, options));
|
|
97676
98507
|
}
|
|
97677
|
-
async function $
|
|
98508
|
+
async function $do127(client, request, options) {
|
|
97678
98509
|
const parsed = safeParse4(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97679
98510
|
if (!parsed.ok) {
|
|
97680
98511
|
return [parsed, { status: "invalid" }];
|
|
@@ -97782,9 +98613,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
97782
98613
|
|
|
97783
98614
|
// src/funcs/representativesGet.ts
|
|
97784
98615
|
function representativesGet(client, request, options) {
|
|
97785
|
-
return new APIPromise($
|
|
98616
|
+
return new APIPromise($do128(client, request, options));
|
|
97786
98617
|
}
|
|
97787
|
-
async function $
|
|
98618
|
+
async function $do128(client, request, options) {
|
|
97788
98619
|
const parsed = safeParse4(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97789
98620
|
if (!parsed.ok) {
|
|
97790
98621
|
return [parsed, { status: "invalid" }];
|
|
@@ -97894,9 +98725,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
97894
98725
|
|
|
97895
98726
|
// src/funcs/representativesList.ts
|
|
97896
98727
|
function representativesList(client, request, options) {
|
|
97897
|
-
return new APIPromise($
|
|
98728
|
+
return new APIPromise($do129(client, request, options));
|
|
97898
98729
|
}
|
|
97899
|
-
async function $
|
|
98730
|
+
async function $do129(client, request, options) {
|
|
97900
98731
|
const parsed = safeParse4(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97901
98732
|
if (!parsed.ok) {
|
|
97902
98733
|
return [parsed, { status: "invalid" }];
|
|
@@ -98008,9 +98839,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
98008
98839
|
|
|
98009
98840
|
// src/funcs/representativesUpdate.ts
|
|
98010
98841
|
function representativesUpdate(client, request, options) {
|
|
98011
|
-
return new APIPromise($
|
|
98842
|
+
return new APIPromise($do130(client, request, options));
|
|
98012
98843
|
}
|
|
98013
|
-
async function $
|
|
98844
|
+
async function $do130(client, request, options) {
|
|
98014
98845
|
const parsed = safeParse4(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98015
98846
|
if (!parsed.ok) {
|
|
98016
98847
|
return [parsed, { status: "invalid" }];
|
|
@@ -98137,9 +98968,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
98137
98968
|
|
|
98138
98969
|
// src/funcs/resolutionLinksCreate.ts
|
|
98139
98970
|
function resolutionLinksCreate(client, request, options) {
|
|
98140
|
-
return new APIPromise($
|
|
98971
|
+
return new APIPromise($do131(client, request, options));
|
|
98141
98972
|
}
|
|
98142
|
-
async function $
|
|
98973
|
+
async function $do131(client, request, options) {
|
|
98143
98974
|
const parsed = safeParse4(request, (value) => CreateResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98144
98975
|
if (!parsed.ok) {
|
|
98145
98976
|
return [parsed, { status: "invalid" }];
|
|
@@ -98256,9 +99087,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\`, \`/accounts/
|
|
|
98256
99087
|
|
|
98257
99088
|
// src/funcs/resolutionLinksDisable.ts
|
|
98258
99089
|
function resolutionLinksDisable(client, request, options) {
|
|
98259
|
-
return new APIPromise($
|
|
99090
|
+
return new APIPromise($do132(client, request, options));
|
|
98260
99091
|
}
|
|
98261
|
-
async function $
|
|
99092
|
+
async function $do132(client, request, options) {
|
|
98262
99093
|
const parsed = safeParse4(request, (value) => DisableResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98263
99094
|
if (!parsed.ok) {
|
|
98264
99095
|
return [parsed, { status: "invalid" }];
|
|
@@ -98366,9 +99197,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
98366
99197
|
|
|
98367
99198
|
// src/funcs/resolutionLinksGet.ts
|
|
98368
99199
|
function resolutionLinksGet(client, request, options) {
|
|
98369
|
-
return new APIPromise($
|
|
99200
|
+
return new APIPromise($do133(client, request, options));
|
|
98370
99201
|
}
|
|
98371
|
-
async function $
|
|
99202
|
+
async function $do133(client, request, options) {
|
|
98372
99203
|
const parsed = safeParse4(request, (value) => GetResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98373
99204
|
if (!parsed.ok) {
|
|
98374
99205
|
return [parsed, { status: "invalid" }];
|
|
@@ -98478,9 +99309,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
98478
99309
|
|
|
98479
99310
|
// src/funcs/resolutionLinksList.ts
|
|
98480
99311
|
function resolutionLinksList(client, request, options) {
|
|
98481
|
-
return new APIPromise($
|
|
99312
|
+
return new APIPromise($do134(client, request, options));
|
|
98482
99313
|
}
|
|
98483
|
-
async function $
|
|
99314
|
+
async function $do134(client, request, options) {
|
|
98484
99315
|
const parsed = safeParse4(request, (value) => ListResolutionLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98485
99316
|
if (!parsed.ok) {
|
|
98486
99317
|
return [parsed, { status: "invalid" }];
|
|
@@ -98589,9 +99420,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
98589
99420
|
|
|
98590
99421
|
// src/funcs/schedulingCancel.ts
|
|
98591
99422
|
function schedulingCancel(client, request, options) {
|
|
98592
|
-
return new APIPromise($
|
|
99423
|
+
return new APIPromise($do135(client, request, options));
|
|
98593
99424
|
}
|
|
98594
|
-
async function $
|
|
99425
|
+
async function $do135(client, request, options) {
|
|
98595
99426
|
const parsed = safeParse4(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98596
99427
|
if (!parsed.ok) {
|
|
98597
99428
|
return [parsed, { status: "invalid" }];
|
|
@@ -98702,9 +99533,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98702
99533
|
|
|
98703
99534
|
// src/funcs/schedulingCreate.ts
|
|
98704
99535
|
function schedulingCreate(client, request, options) {
|
|
98705
|
-
return new APIPromise($
|
|
99536
|
+
return new APIPromise($do136(client, request, options));
|
|
98706
99537
|
}
|
|
98707
|
-
async function $
|
|
99538
|
+
async function $do136(client, request, options) {
|
|
98708
99539
|
const parsed = safeParse4(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98709
99540
|
if (!parsed.ok) {
|
|
98710
99541
|
return [parsed, { status: "invalid" }];
|
|
@@ -98817,9 +99648,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98817
99648
|
|
|
98818
99649
|
// src/funcs/schedulingGet.ts
|
|
98819
99650
|
function schedulingGet(client, request, options) {
|
|
98820
|
-
return new APIPromise($
|
|
99651
|
+
return new APIPromise($do137(client, request, options));
|
|
98821
99652
|
}
|
|
98822
|
-
async function $
|
|
99653
|
+
async function $do137(client, request, options) {
|
|
98823
99654
|
const parsed = safeParse4(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98824
99655
|
if (!parsed.ok) {
|
|
98825
99656
|
return [parsed, { status: "invalid" }];
|
|
@@ -98932,9 +99763,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98932
99763
|
|
|
98933
99764
|
// src/funcs/schedulingGetOccurrance.ts
|
|
98934
99765
|
function schedulingGetOccurrance(client, request, options) {
|
|
98935
|
-
return new APIPromise($
|
|
99766
|
+
return new APIPromise($do138(client, request, options));
|
|
98936
99767
|
}
|
|
98937
|
-
async function $
|
|
99768
|
+
async function $do138(client, request, options) {
|
|
98938
99769
|
const parsed = safeParse4(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98939
99770
|
if (!parsed.ok) {
|
|
98940
99771
|
return [parsed, { status: "invalid" }];
|
|
@@ -99048,9 +99879,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99048
99879
|
|
|
99049
99880
|
// src/funcs/schedulingList.ts
|
|
99050
99881
|
function schedulingList(client, request, options) {
|
|
99051
|
-
return new APIPromise($
|
|
99882
|
+
return new APIPromise($do139(client, request, options));
|
|
99052
99883
|
}
|
|
99053
|
-
async function $
|
|
99884
|
+
async function $do139(client, request, options) {
|
|
99054
99885
|
const parsed = safeParse4(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99055
99886
|
if (!parsed.ok) {
|
|
99056
99887
|
return [parsed, { status: "invalid" }];
|
|
@@ -99165,9 +99996,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99165
99996
|
|
|
99166
99997
|
// src/funcs/schedulingUpdate.ts
|
|
99167
99998
|
function schedulingUpdate(client, request, options) {
|
|
99168
|
-
return new APIPromise($
|
|
99999
|
+
return new APIPromise($do140(client, request, options));
|
|
99169
100000
|
}
|
|
99170
|
-
async function $
|
|
100001
|
+
async function $do140(client, request, options) {
|
|
99171
100002
|
const parsed = safeParse4(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99172
100003
|
if (!parsed.ok) {
|
|
99173
100004
|
return [parsed, { status: "invalid" }];
|
|
@@ -99284,9 +100115,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
99284
100115
|
|
|
99285
100116
|
// src/funcs/statementsGet.ts
|
|
99286
100117
|
function statementsGet(client, request, options) {
|
|
99287
|
-
return new APIPromise($
|
|
100118
|
+
return new APIPromise($do141(client, request, options));
|
|
99288
100119
|
}
|
|
99289
|
-
async function $
|
|
100120
|
+
async function $do141(client, request, options) {
|
|
99290
100121
|
const parsed = safeParse4(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99291
100122
|
if (!parsed.ok) {
|
|
99292
100123
|
return [parsed, { status: "invalid" }];
|
|
@@ -99405,9 +100236,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99405
100236
|
|
|
99406
100237
|
// src/funcs/statementsList.ts
|
|
99407
100238
|
function statementsList(client, request, options) {
|
|
99408
|
-
return new APIPromise($
|
|
100239
|
+
return new APIPromise($do142(client, request, options));
|
|
99409
100240
|
}
|
|
99410
|
-
async function $
|
|
100241
|
+
async function $do142(client, request, options) {
|
|
99411
100242
|
const parsed = safeParse4(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99412
100243
|
if (!parsed.ok) {
|
|
99413
100244
|
return [parsed, { status: "invalid" }];
|
|
@@ -99524,9 +100355,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99524
100355
|
|
|
99525
100356
|
// src/funcs/supportCreateTicket.ts
|
|
99526
100357
|
function supportCreateTicket(client, request, options) {
|
|
99527
|
-
return new APIPromise($
|
|
100358
|
+
return new APIPromise($do143(client, request, options));
|
|
99528
100359
|
}
|
|
99529
|
-
async function $
|
|
100360
|
+
async function $do143(client, request, options) {
|
|
99530
100361
|
const parsed = safeParse4(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99531
100362
|
if (!parsed.ok) {
|
|
99532
100363
|
return [parsed, { status: "invalid" }];
|
|
@@ -99640,9 +100471,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
99640
100471
|
|
|
99641
100472
|
// src/funcs/supportGetTicket.ts
|
|
99642
100473
|
function supportGetTicket(client, request, options) {
|
|
99643
|
-
return new APIPromise($
|
|
100474
|
+
return new APIPromise($do144(client, request, options));
|
|
99644
100475
|
}
|
|
99645
|
-
async function $
|
|
100476
|
+
async function $do144(client, request, options) {
|
|
99646
100477
|
const parsed = safeParse4(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99647
100478
|
if (!parsed.ok) {
|
|
99648
100479
|
return [parsed, { status: "invalid" }];
|
|
@@ -99758,9 +100589,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
99758
100589
|
|
|
99759
100590
|
// src/funcs/supportListTicketMessages.ts
|
|
99760
100591
|
function supportListTicketMessages(client, request, options) {
|
|
99761
|
-
return new APIPromise($
|
|
100592
|
+
return new APIPromise($do145(client, request, options));
|
|
99762
100593
|
}
|
|
99763
|
-
async function $
|
|
100594
|
+
async function $do145(client, request, options) {
|
|
99764
100595
|
const parsed = safeParse4(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99765
100596
|
if (!parsed.ok) {
|
|
99766
100597
|
return [parsed, { status: "invalid" }];
|
|
@@ -99876,9 +100707,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
99876
100707
|
|
|
99877
100708
|
// src/funcs/supportListTickets.ts
|
|
99878
100709
|
function supportListTickets(client, request, options) {
|
|
99879
|
-
return new APIPromise($
|
|
100710
|
+
return new APIPromise($do146(client, request, options));
|
|
99880
100711
|
}
|
|
99881
|
-
async function $
|
|
100712
|
+
async function $do146(client, request, options) {
|
|
99882
100713
|
const parsed = safeParse4(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99883
100714
|
if (!parsed.ok) {
|
|
99884
100715
|
return [parsed, { status: "invalid" }];
|
|
@@ -99997,9 +100828,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
99997
100828
|
|
|
99998
100829
|
// src/funcs/supportUpdateTicket.ts
|
|
99999
100830
|
function supportUpdateTicket(client, request, options) {
|
|
100000
|
-
return new APIPromise($
|
|
100831
|
+
return new APIPromise($do147(client, request, options));
|
|
100001
100832
|
}
|
|
100002
|
-
async function $
|
|
100833
|
+
async function $do147(client, request, options) {
|
|
100003
100834
|
const parsed = safeParse4(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100004
100835
|
if (!parsed.ok) {
|
|
100005
100836
|
return [parsed, { status: "invalid" }];
|
|
@@ -100117,9 +100948,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
100117
100948
|
|
|
100118
100949
|
// src/funcs/sweepsCreateConfig.ts
|
|
100119
100950
|
function sweepsCreateConfig(client, request, options) {
|
|
100120
|
-
return new APIPromise($
|
|
100951
|
+
return new APIPromise($do148(client, request, options));
|
|
100121
100952
|
}
|
|
100122
|
-
async function $
|
|
100953
|
+
async function $do148(client, request, options) {
|
|
100123
100954
|
const parsed = safeParse4(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100124
100955
|
if (!parsed.ok) {
|
|
100125
100956
|
return [parsed, { status: "invalid" }];
|
|
@@ -100230,9 +101061,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100230
101061
|
|
|
100231
101062
|
// src/funcs/sweepsGet.ts
|
|
100232
101063
|
function sweepsGet(client, request, options) {
|
|
100233
|
-
return new APIPromise($
|
|
101064
|
+
return new APIPromise($do149(client, request, options));
|
|
100234
101065
|
}
|
|
100235
|
-
async function $
|
|
101066
|
+
async function $do149(client, request, options) {
|
|
100236
101067
|
const parsed = safeParse4(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100237
101068
|
if (!parsed.ok) {
|
|
100238
101069
|
return [parsed, { status: "invalid" }];
|
|
@@ -100349,9 +101180,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100349
101180
|
|
|
100350
101181
|
// src/funcs/sweepsGetConfig.ts
|
|
100351
101182
|
function sweepsGetConfig(client, request, options) {
|
|
100352
|
-
return new APIPromise($
|
|
101183
|
+
return new APIPromise($do150(client, request, options));
|
|
100353
101184
|
}
|
|
100354
|
-
async function $
|
|
101185
|
+
async function $do150(client, request, options) {
|
|
100355
101186
|
const parsed = safeParse4(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100356
101187
|
if (!parsed.ok) {
|
|
100357
101188
|
return [parsed, { status: "invalid" }];
|
|
@@ -100464,9 +101295,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100464
101295
|
|
|
100465
101296
|
// src/funcs/sweepsList.ts
|
|
100466
101297
|
function sweepsList(client, request, options) {
|
|
100467
|
-
return new APIPromise($
|
|
101298
|
+
return new APIPromise($do151(client, request, options));
|
|
100468
101299
|
}
|
|
100469
|
-
async function $
|
|
101300
|
+
async function $do151(client, request, options) {
|
|
100470
101301
|
const parsed = safeParse4(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100471
101302
|
if (!parsed.ok) {
|
|
100472
101303
|
return [parsed, { status: "invalid" }];
|
|
@@ -100586,9 +101417,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100586
101417
|
|
|
100587
101418
|
// src/funcs/sweepsListConfigs.ts
|
|
100588
101419
|
function sweepsListConfigs(client, request, options) {
|
|
100589
|
-
return new APIPromise($
|
|
101420
|
+
return new APIPromise($do152(client, request, options));
|
|
100590
101421
|
}
|
|
100591
|
-
async function $
|
|
101422
|
+
async function $do152(client, request, options) {
|
|
100592
101423
|
const parsed = safeParse4(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100593
101424
|
if (!parsed.ok) {
|
|
100594
101425
|
return [parsed, { status: "invalid" }];
|
|
@@ -100697,9 +101528,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100697
101528
|
|
|
100698
101529
|
// src/funcs/sweepsUpdateConfig.ts
|
|
100699
101530
|
function sweepsUpdateConfig(client, request, options) {
|
|
100700
|
-
return new APIPromise($
|
|
101531
|
+
return new APIPromise($do153(client, request, options));
|
|
100701
101532
|
}
|
|
100702
|
-
async function $
|
|
101533
|
+
async function $do153(client, request, options) {
|
|
100703
101534
|
const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100704
101535
|
if (!parsed.ok) {
|
|
100705
101536
|
return [parsed, { status: "invalid" }];
|
|
@@ -100814,9 +101645,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100814
101645
|
|
|
100815
101646
|
// src/funcs/terminalApplicationsCreate.ts
|
|
100816
101647
|
function terminalApplicationsCreate(client, request, options) {
|
|
100817
|
-
return new APIPromise($
|
|
101648
|
+
return new APIPromise($do154(client, request, options));
|
|
100818
101649
|
}
|
|
100819
|
-
async function $
|
|
101650
|
+
async function $do154(client, request, options) {
|
|
100820
101651
|
const parsed = safeParse4(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
100821
101652
|
if (!parsed.ok) {
|
|
100822
101653
|
return [parsed, { status: "invalid" }];
|
|
@@ -100924,9 +101755,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
100924
101755
|
|
|
100925
101756
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
100926
101757
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
100927
|
-
return new APIPromise($
|
|
101758
|
+
return new APIPromise($do155(client, request, options));
|
|
100928
101759
|
}
|
|
100929
|
-
async function $
|
|
101760
|
+
async function $do155(client, request, options) {
|
|
100930
101761
|
const parsed = safeParse4(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100931
101762
|
if (!parsed.ok) {
|
|
100932
101763
|
return [parsed, { status: "invalid" }];
|
|
@@ -101035,9 +101866,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
101035
101866
|
|
|
101036
101867
|
// src/funcs/terminalApplicationsDelete.ts
|
|
101037
101868
|
function terminalApplicationsDelete(client, request, options) {
|
|
101038
|
-
return new APIPromise($
|
|
101869
|
+
return new APIPromise($do156(client, request, options));
|
|
101039
101870
|
}
|
|
101040
|
-
async function $
|
|
101871
|
+
async function $do156(client, request, options) {
|
|
101041
101872
|
const parsed = safeParse4(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101042
101873
|
if (!parsed.ok) {
|
|
101043
101874
|
return [parsed, { status: "invalid" }];
|
|
@@ -101141,9 +101972,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
101141
101972
|
|
|
101142
101973
|
// src/funcs/terminalApplicationsGet.ts
|
|
101143
101974
|
function terminalApplicationsGet(client, request, options) {
|
|
101144
|
-
return new APIPromise($
|
|
101975
|
+
return new APIPromise($do157(client, request, options));
|
|
101145
101976
|
}
|
|
101146
|
-
async function $
|
|
101977
|
+
async function $do157(client, request, options) {
|
|
101147
101978
|
const parsed = safeParse4(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101148
101979
|
if (!parsed.ok) {
|
|
101149
101980
|
return [parsed, { status: "invalid" }];
|
|
@@ -101249,9 +102080,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
101249
102080
|
|
|
101250
102081
|
// src/funcs/terminalApplicationsList.ts
|
|
101251
102082
|
function terminalApplicationsList(client, options) {
|
|
101252
|
-
return new APIPromise($
|
|
102083
|
+
return new APIPromise($do158(client, options));
|
|
101253
102084
|
}
|
|
101254
|
-
async function $
|
|
102085
|
+
async function $do158(client, options) {
|
|
101255
102086
|
const path = pathToFunc("/terminal-applications")();
|
|
101256
102087
|
const headers = new Headers(compactMap({
|
|
101257
102088
|
Accept: "application/json"
|
|
@@ -101340,9 +102171,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
101340
102171
|
|
|
101341
102172
|
// src/funcs/transferConfigCreate.ts
|
|
101342
102173
|
function transferConfigCreate(client, request, options) {
|
|
101343
|
-
return new APIPromise($
|
|
102174
|
+
return new APIPromise($do159(client, request, options));
|
|
101344
102175
|
}
|
|
101345
|
-
async function $
|
|
102176
|
+
async function $do159(client, request, options) {
|
|
101346
102177
|
const parsed = safeParse4(request, (value) => CreateTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101347
102178
|
if (!parsed.ok) {
|
|
101348
102179
|
return [parsed, { status: "invalid" }];
|
|
@@ -101454,9 +102285,9 @@ var init_transferConfigCreate2 = __esm(() => {
|
|
|
101454
102285
|
|
|
101455
102286
|
// src/funcs/transferConfigGet.ts
|
|
101456
102287
|
function transferConfigGet(client, request, options) {
|
|
101457
|
-
return new APIPromise($
|
|
102288
|
+
return new APIPromise($do160(client, request, options));
|
|
101458
102289
|
}
|
|
101459
|
-
async function $
|
|
102290
|
+
async function $do160(client, request, options) {
|
|
101460
102291
|
const parsed = safeParse4(request, (value) => GetTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101461
102292
|
if (!parsed.ok) {
|
|
101462
102293
|
return [parsed, { status: "invalid" }];
|
|
@@ -101562,9 +102393,9 @@ var init_transferConfigGet2 = __esm(() => {
|
|
|
101562
102393
|
|
|
101563
102394
|
// src/funcs/transferConfigUpdate.ts
|
|
101564
102395
|
function transferConfigUpdate(client, request, options) {
|
|
101565
|
-
return new APIPromise($
|
|
102396
|
+
return new APIPromise($do161(client, request, options));
|
|
101566
102397
|
}
|
|
101567
|
-
async function $
|
|
102398
|
+
async function $do161(client, request, options) {
|
|
101568
102399
|
const parsed = safeParse4(request, (value) => UpdateTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101569
102400
|
if (!parsed.ok) {
|
|
101570
102401
|
return [parsed, { status: "invalid" }];
|
|
@@ -101674,9 +102505,9 @@ var init_transferConfigUpdate2 = __esm(() => {
|
|
|
101674
102505
|
|
|
101675
102506
|
// src/funcs/transfersBatchGetTransfers.ts
|
|
101676
102507
|
function transfersBatchGetTransfers(client, request, options) {
|
|
101677
|
-
return new APIPromise($
|
|
102508
|
+
return new APIPromise($do162(client, request, options));
|
|
101678
102509
|
}
|
|
101679
|
-
async function $
|
|
102510
|
+
async function $do162(client, request, options) {
|
|
101680
102511
|
const parsed = safeParse4(request, (value) => BatchGetTransfersRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
101681
102512
|
if (!parsed.ok) {
|
|
101682
102513
|
return [parsed, { status: "invalid" }];
|
|
@@ -101792,9 +102623,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
101792
102623
|
|
|
101793
102624
|
// src/funcs/transfersCreate.ts
|
|
101794
102625
|
function transfersCreate(client, request, options) {
|
|
101795
|
-
return new APIPromise($
|
|
102626
|
+
return new APIPromise($do163(client, request, options));
|
|
101796
102627
|
}
|
|
101797
|
-
async function $
|
|
102628
|
+
async function $do163(client, request, options) {
|
|
101798
102629
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101799
102630
|
if (!parsed.ok) {
|
|
101800
102631
|
return [parsed, { status: "invalid" }];
|
|
@@ -101920,9 +102751,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
101920
102751
|
|
|
101921
102752
|
// src/funcs/transfersCreateCancellation.ts
|
|
101922
102753
|
function transfersCreateCancellation(client, request, options) {
|
|
101923
|
-
return new APIPromise($
|
|
102754
|
+
return new APIPromise($do164(client, request, options));
|
|
101924
102755
|
}
|
|
101925
|
-
async function $
|
|
102756
|
+
async function $do164(client, request, options) {
|
|
101926
102757
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101927
102758
|
if (!parsed.ok) {
|
|
101928
102759
|
return [parsed, { status: "invalid" }];
|
|
@@ -102036,9 +102867,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
102036
102867
|
|
|
102037
102868
|
// src/funcs/transfersCreateReversal.ts
|
|
102038
102869
|
function transfersCreateReversal(client, request, options) {
|
|
102039
|
-
return new APIPromise($
|
|
102870
|
+
return new APIPromise($do165(client, request, options));
|
|
102040
102871
|
}
|
|
102041
|
-
async function $
|
|
102872
|
+
async function $do165(client, request, options) {
|
|
102042
102873
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102043
102874
|
if (!parsed.ok) {
|
|
102044
102875
|
return [parsed, { status: "invalid" }];
|
|
@@ -102158,9 +102989,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102158
102989
|
|
|
102159
102990
|
// src/funcs/transfersGenerateOptions.ts
|
|
102160
102991
|
function transfersGenerateOptions(client, request, options) {
|
|
102161
|
-
return new APIPromise($
|
|
102992
|
+
return new APIPromise($do166(client, request, options));
|
|
102162
102993
|
}
|
|
102163
|
-
async function $
|
|
102994
|
+
async function $do166(client, request, options) {
|
|
102164
102995
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102165
102996
|
if (!parsed.ok) {
|
|
102166
102997
|
return [parsed, { status: "invalid" }];
|
|
@@ -102280,9 +103111,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102280
103111
|
|
|
102281
103112
|
// src/funcs/transfersGet.ts
|
|
102282
103113
|
function transfersGet(client, request, options) {
|
|
102283
|
-
return new APIPromise($
|
|
103114
|
+
return new APIPromise($do167(client, request, options));
|
|
102284
103115
|
}
|
|
102285
|
-
async function $
|
|
103116
|
+
async function $do167(client, request, options) {
|
|
102286
103117
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102287
103118
|
if (!parsed.ok) {
|
|
102288
103119
|
return [parsed, { status: "invalid" }];
|
|
@@ -102398,9 +103229,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102398
103229
|
|
|
102399
103230
|
// src/funcs/transfersGetCancellation.ts
|
|
102400
103231
|
function transfersGetCancellation(client, request, options) {
|
|
102401
|
-
return new APIPromise($
|
|
103232
|
+
return new APIPromise($do168(client, request, options));
|
|
102402
103233
|
}
|
|
102403
|
-
async function $
|
|
103234
|
+
async function $do168(client, request, options) {
|
|
102404
103235
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102405
103236
|
if (!parsed.ok) {
|
|
102406
103237
|
return [parsed, { status: "invalid" }];
|
|
@@ -102464,7 +103295,126 @@ async function $do167(client, request, options) {
|
|
|
102464
103295
|
const responseFields = {
|
|
102465
103296
|
HttpMeta: { Response: response, Request: req }
|
|
102466
103297
|
};
|
|
102467
|
-
const [result] = await match(json(200, GetCancellationResponse$inboundSchema, {
|
|
103298
|
+
const [result] = await match(json(200, GetCancellationResponse$inboundSchema, {
|
|
103299
|
+
hdrs: true,
|
|
103300
|
+
key: "Result"
|
|
103301
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
103302
|
+
if (!result.ok) {
|
|
103303
|
+
return [result, { status: "complete", request: req, response }];
|
|
103304
|
+
}
|
|
103305
|
+
return [result, { status: "complete", request: req, response }];
|
|
103306
|
+
}
|
|
103307
|
+
var init_transfersGetCancellation = __esm(() => {
|
|
103308
|
+
init_encodings();
|
|
103309
|
+
init_http();
|
|
103310
|
+
init_matchers();
|
|
103311
|
+
init_primitives();
|
|
103312
|
+
init_schemas4();
|
|
103313
|
+
init_security();
|
|
103314
|
+
init_url();
|
|
103315
|
+
init_operations();
|
|
103316
|
+
init_async();
|
|
103317
|
+
});
|
|
103318
|
+
|
|
103319
|
+
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
103320
|
+
var args162, tool$transfersGetCancellation;
|
|
103321
|
+
var init_transfersGetCancellation2 = __esm(() => {
|
|
103322
|
+
init_transfersGetCancellation();
|
|
103323
|
+
init_operations();
|
|
103324
|
+
init_tools();
|
|
103325
|
+
args162 = {
|
|
103326
|
+
request: GetCancellationRequest$inboundSchema
|
|
103327
|
+
};
|
|
103328
|
+
tool$transfersGetCancellation = {
|
|
103329
|
+
name: "transfers-get-cancellation",
|
|
103330
|
+
description: ` Get details of a cancellation for a transfer.
|
|
103331
|
+
|
|
103332
|
+
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
103333
|
+
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
103334
|
+
args: args162,
|
|
103335
|
+
tool: async (client, args163, ctx) => {
|
|
103336
|
+
const [result, apiCall] = await transfersGetCancellation(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103337
|
+
if (!result.ok) {
|
|
103338
|
+
return {
|
|
103339
|
+
content: [{ type: "text", text: result.error.message }],
|
|
103340
|
+
isError: true
|
|
103341
|
+
};
|
|
103342
|
+
}
|
|
103343
|
+
const value = result.value.result;
|
|
103344
|
+
return formatResult(value, apiCall);
|
|
103345
|
+
}
|
|
103346
|
+
};
|
|
103347
|
+
});
|
|
103348
|
+
|
|
103349
|
+
// src/funcs/transfersGetRefund.ts
|
|
103350
|
+
function transfersGetRefund(client, request, options) {
|
|
103351
|
+
return new APIPromise($do169(client, request, options));
|
|
103352
|
+
}
|
|
103353
|
+
async function $do169(client, request, options) {
|
|
103354
|
+
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103355
|
+
if (!parsed.ok) {
|
|
103356
|
+
return [parsed, { status: "invalid" }];
|
|
103357
|
+
}
|
|
103358
|
+
const payload = parsed.value;
|
|
103359
|
+
const body = null;
|
|
103360
|
+
const pathParams = {
|
|
103361
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
103362
|
+
explode: false,
|
|
103363
|
+
charEncoding: "percent"
|
|
103364
|
+
}),
|
|
103365
|
+
refundID: encodeSimple("refundID", payload.refundID, {
|
|
103366
|
+
explode: false,
|
|
103367
|
+
charEncoding: "percent"
|
|
103368
|
+
}),
|
|
103369
|
+
transferID: encodeSimple("transferID", payload.transferID, {
|
|
103370
|
+
explode: false,
|
|
103371
|
+
charEncoding: "percent"
|
|
103372
|
+
})
|
|
103373
|
+
};
|
|
103374
|
+
const path = pathToFunc("/accounts/{accountID}/transfers/{transferID}/refunds/{refundID}")(pathParams);
|
|
103375
|
+
const headers = new Headers(compactMap({
|
|
103376
|
+
Accept: "application/json"
|
|
103377
|
+
}));
|
|
103378
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
103379
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
103380
|
+
const context = {
|
|
103381
|
+
options: client._options,
|
|
103382
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
103383
|
+
operationID: "getRefund",
|
|
103384
|
+
oAuth2Scopes: null,
|
|
103385
|
+
resolvedSecurity: requestSecurity,
|
|
103386
|
+
securitySource: client._options.security,
|
|
103387
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
103388
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
103389
|
+
};
|
|
103390
|
+
const requestRes = client._createRequest(context, {
|
|
103391
|
+
security: requestSecurity,
|
|
103392
|
+
method: "GET",
|
|
103393
|
+
baseURL: options?.serverURL,
|
|
103394
|
+
path,
|
|
103395
|
+
headers,
|
|
103396
|
+
body,
|
|
103397
|
+
userAgent: client._options.userAgent,
|
|
103398
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
103399
|
+
}, options);
|
|
103400
|
+
if (!requestRes.ok) {
|
|
103401
|
+
return [requestRes, { status: "invalid" }];
|
|
103402
|
+
}
|
|
103403
|
+
const req = requestRes.value;
|
|
103404
|
+
const doResult = await client._do(req, {
|
|
103405
|
+
context,
|
|
103406
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
103407
|
+
retryConfig: context.retryConfig,
|
|
103408
|
+
retryCodes: context.retryCodes
|
|
103409
|
+
});
|
|
103410
|
+
if (!doResult.ok) {
|
|
103411
|
+
return [doResult, { status: "request-error", request: req }];
|
|
103412
|
+
}
|
|
103413
|
+
const response = doResult.value;
|
|
103414
|
+
const responseFields = {
|
|
103415
|
+
HttpMeta: { Response: response, Request: req }
|
|
103416
|
+
};
|
|
103417
|
+
const [result] = await match(json(200, GetRefundResponse$inboundSchema, {
|
|
102468
103418
|
hdrs: true,
|
|
102469
103419
|
key: "Result"
|
|
102470
103420
|
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
@@ -102473,7 +103423,7 @@ async function $do167(client, request, options) {
|
|
|
102473
103423
|
}
|
|
102474
103424
|
return [result, { status: "complete", request: req, response }];
|
|
102475
103425
|
}
|
|
102476
|
-
var
|
|
103426
|
+
var init_transfersGetRefund = __esm(() => {
|
|
102477
103427
|
init_encodings();
|
|
102478
103428
|
init_http();
|
|
102479
103429
|
init_matchers();
|
|
@@ -102485,24 +103435,24 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
102485
103435
|
init_async();
|
|
102486
103436
|
});
|
|
102487
103437
|
|
|
102488
|
-
// src/mcp-server/tools/
|
|
102489
|
-
var
|
|
102490
|
-
var
|
|
102491
|
-
|
|
103438
|
+
// src/mcp-server/tools/transfersGetRefund.ts
|
|
103439
|
+
var args163, tool$transfersGetRefund;
|
|
103440
|
+
var init_transfersGetRefund2 = __esm(() => {
|
|
103441
|
+
init_transfersGetRefund();
|
|
102492
103442
|
init_operations();
|
|
102493
103443
|
init_tools();
|
|
102494
|
-
|
|
102495
|
-
request:
|
|
103444
|
+
args163 = {
|
|
103445
|
+
request: GetRefundRequest$inboundSchema
|
|
102496
103446
|
};
|
|
102497
|
-
tool$
|
|
102498
|
-
name: "transfers-get-
|
|
102499
|
-
description: `
|
|
102500
|
-
|
|
102501
|
-
|
|
102502
|
-
|
|
102503
|
-
args:
|
|
102504
|
-
tool: async (client,
|
|
102505
|
-
const [result, apiCall] = await
|
|
103447
|
+
tool$transfersGetRefund = {
|
|
103448
|
+
name: "transfers-get-refund",
|
|
103449
|
+
description: `Get details of a refund for a card transfer.
|
|
103450
|
+
|
|
103451
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103452
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
103453
|
+
args: args163,
|
|
103454
|
+
tool: async (client, args164, ctx) => {
|
|
103455
|
+
const [result, apiCall] = await transfersGetRefund(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102506
103456
|
if (!result.ok) {
|
|
102507
103457
|
return {
|
|
102508
103458
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102515,41 +103465,37 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
102515
103465
|
};
|
|
102516
103466
|
});
|
|
102517
103467
|
|
|
102518
|
-
// src/funcs/
|
|
102519
|
-
function
|
|
102520
|
-
return new APIPromise($
|
|
103468
|
+
// src/funcs/transfersGetRiskOutcomes.ts
|
|
103469
|
+
function transfersGetRiskOutcomes(client, request, options) {
|
|
103470
|
+
return new APIPromise($do170(client, request, options));
|
|
102521
103471
|
}
|
|
102522
|
-
async function $
|
|
102523
|
-
const parsed = safeParse4(request, (value) =>
|
|
103472
|
+
async function $do170(client, request, options) {
|
|
103473
|
+
const parsed = safeParse4(request, (value) => GetTransferRiskOutcomesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102524
103474
|
if (!parsed.ok) {
|
|
102525
103475
|
return [parsed, { status: "invalid" }];
|
|
102526
103476
|
}
|
|
102527
103477
|
const payload = parsed.value;
|
|
102528
103478
|
const body = null;
|
|
102529
103479
|
const pathParams = {
|
|
102530
|
-
accountID: encodeSimple("accountID", payload.accountID, {
|
|
102531
|
-
explode: false,
|
|
102532
|
-
charEncoding: "percent"
|
|
102533
|
-
}),
|
|
102534
|
-
refundID: encodeSimple("refundID", payload.refundID, {
|
|
102535
|
-
explode: false,
|
|
102536
|
-
charEncoding: "percent"
|
|
102537
|
-
}),
|
|
102538
103480
|
transferID: encodeSimple("transferID", payload.transferID, {
|
|
102539
103481
|
explode: false,
|
|
102540
103482
|
charEncoding: "percent"
|
|
102541
103483
|
})
|
|
102542
103484
|
};
|
|
102543
|
-
const path = pathToFunc("/
|
|
103485
|
+
const path = pathToFunc("/transfers/{transferID}/risk-outcomes")(pathParams);
|
|
102544
103486
|
const headers = new Headers(compactMap({
|
|
102545
|
-
Accept: "application/json"
|
|
103487
|
+
Accept: "application/json",
|
|
103488
|
+
"X-Account-ID": encodeSimple("X-Account-ID", payload["X-Account-ID"], {
|
|
103489
|
+
explode: false,
|
|
103490
|
+
charEncoding: "none"
|
|
103491
|
+
})
|
|
102546
103492
|
}));
|
|
102547
103493
|
const securityInput = await extractSecurity(client._options.security);
|
|
102548
103494
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
102549
103495
|
const context = {
|
|
102550
103496
|
options: client._options,
|
|
102551
103497
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
102552
|
-
operationID: "
|
|
103498
|
+
operationID: "getTransferRiskOutcomes",
|
|
102553
103499
|
oAuth2Scopes: null,
|
|
102554
103500
|
resolvedSecurity: requestSecurity,
|
|
102555
103501
|
securitySource: client._options.security,
|
|
@@ -102583,7 +103529,7 @@ async function $do168(client, request, options) {
|
|
|
102583
103529
|
const responseFields = {
|
|
102584
103530
|
HttpMeta: { Response: response, Request: req }
|
|
102585
103531
|
};
|
|
102586
|
-
const [result] = await match(json(200,
|
|
103532
|
+
const [result] = await match(json(200, GetTransferRiskOutcomesResponse$inboundSchema, {
|
|
102587
103533
|
hdrs: true,
|
|
102588
103534
|
key: "Result"
|
|
102589
103535
|
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
@@ -102592,7 +103538,7 @@ async function $do168(client, request, options) {
|
|
|
102592
103538
|
}
|
|
102593
103539
|
return [result, { status: "complete", request: req, response }];
|
|
102594
103540
|
}
|
|
102595
|
-
var
|
|
103541
|
+
var init_transfersGetRiskOutcomes = __esm(() => {
|
|
102596
103542
|
init_encodings();
|
|
102597
103543
|
init_http();
|
|
102598
103544
|
init_matchers();
|
|
@@ -102604,24 +103550,26 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
102604
103550
|
init_async();
|
|
102605
103551
|
});
|
|
102606
103552
|
|
|
102607
|
-
// src/mcp-server/tools/
|
|
102608
|
-
var
|
|
102609
|
-
var
|
|
102610
|
-
|
|
103553
|
+
// src/mcp-server/tools/transfersGetRiskOutcomes.ts
|
|
103554
|
+
var args164, tool$transfersGetRiskOutcomes;
|
|
103555
|
+
var init_transfersGetRiskOutcomes2 = __esm(() => {
|
|
103556
|
+
init_transfersGetRiskOutcomes();
|
|
102611
103557
|
init_operations();
|
|
102612
103558
|
init_tools();
|
|
102613
|
-
|
|
102614
|
-
request:
|
|
103559
|
+
args164 = {
|
|
103560
|
+
request: GetTransferRiskOutcomesRequest$inboundSchema
|
|
102615
103561
|
};
|
|
102616
|
-
tool$
|
|
102617
|
-
name: "transfers-get-
|
|
102618
|
-
description: `
|
|
103562
|
+
tool$transfersGetRiskOutcomes = {
|
|
103563
|
+
name: "transfers-get-risk-outcomes",
|
|
103564
|
+
description: `Retrieve the risk rules that contributed to a transfer's risk decision.
|
|
102619
103565
|
|
|
102620
|
-
|
|
103566
|
+
This endpoint has limited availability and must be enabled for your account by Moov.
|
|
103567
|
+
|
|
103568
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102621
103569
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
102622
|
-
args:
|
|
102623
|
-
tool: async (client,
|
|
102624
|
-
const [result, apiCall] = await
|
|
103570
|
+
args: args164,
|
|
103571
|
+
tool: async (client, args165, ctx) => {
|
|
103572
|
+
const [result, apiCall] = await transfersGetRiskOutcomes(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102625
103573
|
if (!result.ok) {
|
|
102626
103574
|
return {
|
|
102627
103575
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102636,9 +103584,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102636
103584
|
|
|
102637
103585
|
// src/funcs/transfersInitiateRefund.ts
|
|
102638
103586
|
function transfersInitiateRefund(client, request, options) {
|
|
102639
|
-
return new APIPromise($
|
|
103587
|
+
return new APIPromise($do171(client, request, options));
|
|
102640
103588
|
}
|
|
102641
|
-
async function $
|
|
103589
|
+
async function $do171(client, request, options) {
|
|
102642
103590
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102643
103591
|
if (!parsed.ok) {
|
|
102644
103592
|
return [parsed, { status: "invalid" }];
|
|
@@ -102730,12 +103678,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
102730
103678
|
});
|
|
102731
103679
|
|
|
102732
103680
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
102733
|
-
var
|
|
103681
|
+
var args165, tool$transfersInitiateRefund;
|
|
102734
103682
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
102735
103683
|
init_transfersInitiateRefund();
|
|
102736
103684
|
init_operations();
|
|
102737
103685
|
init_tools();
|
|
102738
|
-
|
|
103686
|
+
args165 = {
|
|
102739
103687
|
request: InitiateRefundRequest$inboundSchema
|
|
102740
103688
|
};
|
|
102741
103689
|
tool$transfersInitiateRefund = {
|
|
@@ -102747,9 +103695,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
102747
103695
|
|
|
102748
103696
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102749
103697
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
102750
|
-
args:
|
|
102751
|
-
tool: async (client,
|
|
102752
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
103698
|
+
args: args165,
|
|
103699
|
+
tool: async (client, args166, ctx) => {
|
|
103700
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102753
103701
|
if (!result.ok) {
|
|
102754
103702
|
return {
|
|
102755
103703
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102764,9 +103712,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102764
103712
|
|
|
102765
103713
|
// src/funcs/transfersList.ts
|
|
102766
103714
|
function transfersList(client, request, options) {
|
|
102767
|
-
return new APIPromise($
|
|
103715
|
+
return new APIPromise($do172(client, request, options));
|
|
102768
103716
|
}
|
|
102769
|
-
async function $
|
|
103717
|
+
async function $do172(client, request, options) {
|
|
102770
103718
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102771
103719
|
if (!parsed.ok) {
|
|
102772
103720
|
return [parsed, { status: "invalid" }];
|
|
@@ -102864,12 +103812,12 @@ var init_transfersList = __esm(() => {
|
|
|
102864
103812
|
});
|
|
102865
103813
|
|
|
102866
103814
|
// src/mcp-server/tools/transfersList.ts
|
|
102867
|
-
var
|
|
103815
|
+
var args166, tool$transfersList;
|
|
102868
103816
|
var init_transfersList2 = __esm(() => {
|
|
102869
103817
|
init_transfersList();
|
|
102870
103818
|
init_operations();
|
|
102871
103819
|
init_tools();
|
|
102872
|
-
|
|
103820
|
+
args166 = {
|
|
102873
103821
|
request: ListTransfersRequest$inboundSchema
|
|
102874
103822
|
};
|
|
102875
103823
|
tool$transfersList = {
|
|
@@ -102885,9 +103833,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
102885
103833
|
|
|
102886
103834
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102887
103835
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
102888
|
-
args:
|
|
102889
|
-
tool: async (client,
|
|
102890
|
-
const [result, apiCall] = await transfersList(client,
|
|
103836
|
+
args: args166,
|
|
103837
|
+
tool: async (client, args167, ctx) => {
|
|
103838
|
+
const [result, apiCall] = await transfersList(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102891
103839
|
if (!result.ok) {
|
|
102892
103840
|
return {
|
|
102893
103841
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102902,9 +103850,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102902
103850
|
|
|
102903
103851
|
// src/funcs/transfersListCancellations.ts
|
|
102904
103852
|
function transfersListCancellations(client, request, options) {
|
|
102905
|
-
return new APIPromise($
|
|
103853
|
+
return new APIPromise($do173(client, request, options));
|
|
102906
103854
|
}
|
|
102907
|
-
async function $
|
|
103855
|
+
async function $do173(client, request, options) {
|
|
102908
103856
|
const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102909
103857
|
if (!parsed.ok) {
|
|
102910
103858
|
return [parsed, { status: "invalid" }];
|
|
@@ -102986,12 +103934,12 @@ var init_transfersListCancellations = __esm(() => {
|
|
|
102986
103934
|
});
|
|
102987
103935
|
|
|
102988
103936
|
// src/mcp-server/tools/transfersListCancellations.ts
|
|
102989
|
-
var
|
|
103937
|
+
var args167, tool$transfersListCancellations;
|
|
102990
103938
|
var init_transfersListCancellations2 = __esm(() => {
|
|
102991
103939
|
init_transfersListCancellations();
|
|
102992
103940
|
init_operations();
|
|
102993
103941
|
init_tools();
|
|
102994
|
-
|
|
103942
|
+
args167 = {
|
|
102995
103943
|
request: ListCancellationsRequest$inboundSchema
|
|
102996
103944
|
};
|
|
102997
103945
|
tool$transfersListCancellations = {
|
|
@@ -103000,9 +103948,9 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
103000
103948
|
|
|
103001
103949
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
103002
103950
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
103003
|
-
args:
|
|
103004
|
-
tool: async (client,
|
|
103005
|
-
const [result, apiCall] = await transfersListCancellations(client,
|
|
103951
|
+
args: args167,
|
|
103952
|
+
tool: async (client, args168, ctx) => {
|
|
103953
|
+
const [result, apiCall] = await transfersListCancellations(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103006
103954
|
if (!result.ok) {
|
|
103007
103955
|
return {
|
|
103008
103956
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103017,9 +103965,9 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
103017
103965
|
|
|
103018
103966
|
// src/funcs/transfersListRefunds.ts
|
|
103019
103967
|
function transfersListRefunds(client, request, options) {
|
|
103020
|
-
return new APIPromise($
|
|
103968
|
+
return new APIPromise($do174(client, request, options));
|
|
103021
103969
|
}
|
|
103022
|
-
async function $
|
|
103970
|
+
async function $do174(client, request, options) {
|
|
103023
103971
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103024
103972
|
if (!parsed.ok) {
|
|
103025
103973
|
return [parsed, { status: "invalid" }];
|
|
@@ -103101,12 +104049,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
103101
104049
|
});
|
|
103102
104050
|
|
|
103103
104051
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
103104
|
-
var
|
|
104052
|
+
var args168, tool$transfersListRefunds;
|
|
103105
104053
|
var init_transfersListRefunds2 = __esm(() => {
|
|
103106
104054
|
init_transfersListRefunds();
|
|
103107
104055
|
init_operations();
|
|
103108
104056
|
init_tools();
|
|
103109
|
-
|
|
104057
|
+
args168 = {
|
|
103110
104058
|
request: ListRefundsRequest$inboundSchema
|
|
103111
104059
|
};
|
|
103112
104060
|
tool$transfersListRefunds = {
|
|
@@ -103115,9 +104063,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
103115
104063
|
|
|
103116
104064
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103117
104065
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
103118
|
-
args:
|
|
103119
|
-
tool: async (client,
|
|
103120
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
104066
|
+
args: args168,
|
|
104067
|
+
tool: async (client, args169, ctx) => {
|
|
104068
|
+
const [result, apiCall] = await transfersListRefunds(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103121
104069
|
if (!result.ok) {
|
|
103122
104070
|
return {
|
|
103123
104071
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103132,9 +104080,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
103132
104080
|
|
|
103133
104081
|
// src/funcs/transfersUpdate.ts
|
|
103134
104082
|
function transfersUpdate(client, request, options) {
|
|
103135
|
-
return new APIPromise($
|
|
104083
|
+
return new APIPromise($do175(client, request, options));
|
|
103136
104084
|
}
|
|
103137
|
-
async function $
|
|
104085
|
+
async function $do175(client, request, options) {
|
|
103138
104086
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103139
104087
|
if (!parsed.ok) {
|
|
103140
104088
|
return [parsed, { status: "invalid" }];
|
|
@@ -103220,12 +104168,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
103220
104168
|
});
|
|
103221
104169
|
|
|
103222
104170
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
103223
|
-
var
|
|
104171
|
+
var args169, tool$transfersUpdate;
|
|
103224
104172
|
var init_transfersUpdate2 = __esm(() => {
|
|
103225
104173
|
init_transfersUpdate();
|
|
103226
104174
|
init_operations();
|
|
103227
104175
|
init_tools();
|
|
103228
|
-
|
|
104176
|
+
args169 = {
|
|
103229
104177
|
request: UpdateTransferRequest$inboundSchema
|
|
103230
104178
|
};
|
|
103231
104179
|
tool$transfersUpdate = {
|
|
@@ -103236,9 +104184,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
103236
104184
|
|
|
103237
104185
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103238
104186
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
103239
|
-
args:
|
|
103240
|
-
tool: async (client,
|
|
103241
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
104187
|
+
args: args169,
|
|
104188
|
+
tool: async (client, args170, ctx) => {
|
|
104189
|
+
const [result, apiCall] = await transfersUpdate(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103242
104190
|
if (!result.ok) {
|
|
103243
104191
|
return {
|
|
103244
104192
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103253,9 +104201,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
103253
104201
|
|
|
103254
104202
|
// src/funcs/underwritingGet.ts
|
|
103255
104203
|
function underwritingGet(client, request, options) {
|
|
103256
|
-
return new APIPromise($
|
|
104204
|
+
return new APIPromise($do176(client, request, options));
|
|
103257
104205
|
}
|
|
103258
|
-
async function $
|
|
104206
|
+
async function $do176(client, request, options) {
|
|
103259
104207
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103260
104208
|
if (!parsed.ok) {
|
|
103261
104209
|
return [parsed, { status: "invalid" }];
|
|
@@ -103333,12 +104281,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
103333
104281
|
});
|
|
103334
104282
|
|
|
103335
104283
|
// src/mcp-server/tools/underwritingGet.ts
|
|
103336
|
-
var
|
|
104284
|
+
var args170, tool$underwritingGet;
|
|
103337
104285
|
var init_underwritingGet2 = __esm(() => {
|
|
103338
104286
|
init_underwritingGet();
|
|
103339
104287
|
init_operations();
|
|
103340
104288
|
init_tools();
|
|
103341
|
-
|
|
104289
|
+
args170 = {
|
|
103342
104290
|
request: GetUnderwritingRequest$inboundSchema
|
|
103343
104291
|
};
|
|
103344
104292
|
tool$underwritingGet = {
|
|
@@ -103349,9 +104297,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103349
104297
|
|
|
103350
104298
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103351
104299
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
103352
|
-
args:
|
|
103353
|
-
tool: async (client,
|
|
103354
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
104300
|
+
args: args170,
|
|
104301
|
+
tool: async (client, args171, ctx) => {
|
|
104302
|
+
const [result, apiCall] = await underwritingGet(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103355
104303
|
if (!result.ok) {
|
|
103356
104304
|
return {
|
|
103357
104305
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103366,9 +104314,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
103366
104314
|
|
|
103367
104315
|
// src/funcs/underwritingSave.ts
|
|
103368
104316
|
function underwritingSave(client, request, options) {
|
|
103369
|
-
return new APIPromise($
|
|
104317
|
+
return new APIPromise($do177(client, request, options));
|
|
103370
104318
|
}
|
|
103371
|
-
async function $
|
|
104319
|
+
async function $do177(client, request, options) {
|
|
103372
104320
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103373
104321
|
if (!parsed.ok) {
|
|
103374
104322
|
return [parsed, { status: "invalid" }];
|
|
@@ -103452,12 +104400,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
103452
104400
|
});
|
|
103453
104401
|
|
|
103454
104402
|
// src/mcp-server/tools/underwritingSave.ts
|
|
103455
|
-
var
|
|
104403
|
+
var args171, tool$underwritingSave;
|
|
103456
104404
|
var init_underwritingSave2 = __esm(() => {
|
|
103457
104405
|
init_underwritingSave();
|
|
103458
104406
|
init_operations();
|
|
103459
104407
|
init_tools();
|
|
103460
|
-
|
|
104408
|
+
args171 = {
|
|
103461
104409
|
request: SaveUnderwritingRequest$inboundSchema
|
|
103462
104410
|
};
|
|
103463
104411
|
tool$underwritingSave = {
|
|
@@ -103468,9 +104416,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103468
104416
|
|
|
103469
104417
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103470
104418
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
103471
|
-
args:
|
|
103472
|
-
tool: async (client,
|
|
103473
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
104419
|
+
args: args171,
|
|
104420
|
+
tool: async (client, args172, ctx) => {
|
|
104421
|
+
const [result, apiCall] = await underwritingSave(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103474
104422
|
if (!result.ok) {
|
|
103475
104423
|
return {
|
|
103476
104424
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103485,9 +104433,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103485
104433
|
|
|
103486
104434
|
// src/funcs/underwritingUpsert.ts
|
|
103487
104435
|
function underwritingUpsert(client, request, options) {
|
|
103488
|
-
return new APIPromise($
|
|
104436
|
+
return new APIPromise($do178(client, request, options));
|
|
103489
104437
|
}
|
|
103490
|
-
async function $
|
|
104438
|
+
async function $do178(client, request, options) {
|
|
103491
104439
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103492
104440
|
if (!parsed.ok) {
|
|
103493
104441
|
return [parsed, { status: "invalid" }];
|
|
@@ -103571,12 +104519,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
103571
104519
|
});
|
|
103572
104520
|
|
|
103573
104521
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
103574
|
-
var
|
|
104522
|
+
var args172, tool$underwritingUpsert;
|
|
103575
104523
|
var init_underwritingUpsert2 = __esm(() => {
|
|
103576
104524
|
init_underwritingUpsert();
|
|
103577
104525
|
init_operations();
|
|
103578
104526
|
init_tools();
|
|
103579
|
-
|
|
104527
|
+
args172 = {
|
|
103580
104528
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
103581
104529
|
};
|
|
103582
104530
|
tool$underwritingUpsert = {
|
|
@@ -103587,9 +104535,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
103587
104535
|
|
|
103588
104536
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103589
104537
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
103590
|
-
args:
|
|
103591
|
-
tool: async (client,
|
|
103592
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
104538
|
+
args: args172,
|
|
104539
|
+
tool: async (client, args173, ctx) => {
|
|
104540
|
+
const [result, apiCall] = await underwritingUpsert(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103593
104541
|
if (!result.ok) {
|
|
103594
104542
|
return {
|
|
103595
104543
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103604,9 +104552,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103604
104552
|
|
|
103605
104553
|
// src/funcs/walletsCreate.ts
|
|
103606
104554
|
function walletsCreate(client, request, options) {
|
|
103607
|
-
return new APIPromise($
|
|
104555
|
+
return new APIPromise($do179(client, request, options));
|
|
103608
104556
|
}
|
|
103609
|
-
async function $
|
|
104557
|
+
async function $do179(client, request, options) {
|
|
103610
104558
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103611
104559
|
if (!parsed.ok) {
|
|
103612
104560
|
return [parsed, { status: "invalid" }];
|
|
@@ -103688,12 +104636,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
103688
104636
|
});
|
|
103689
104637
|
|
|
103690
104638
|
// src/mcp-server/tools/walletsCreate.ts
|
|
103691
|
-
var
|
|
104639
|
+
var args173, tool$walletsCreate;
|
|
103692
104640
|
var init_walletsCreate2 = __esm(() => {
|
|
103693
104641
|
init_walletsCreate();
|
|
103694
104642
|
init_operations();
|
|
103695
104643
|
init_tools();
|
|
103696
|
-
|
|
104644
|
+
args173 = {
|
|
103697
104645
|
request: CreateWalletRequest$inboundSchema
|
|
103698
104646
|
};
|
|
103699
104647
|
tool$walletsCreate = {
|
|
@@ -103704,9 +104652,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103704
104652
|
|
|
103705
104653
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103706
104654
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
103707
|
-
args:
|
|
103708
|
-
tool: async (client,
|
|
103709
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
104655
|
+
args: args173,
|
|
104656
|
+
tool: async (client, args174, ctx) => {
|
|
104657
|
+
const [result, apiCall] = await walletsCreate(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103710
104658
|
if (!result.ok) {
|
|
103711
104659
|
return {
|
|
103712
104660
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103721,9 +104669,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
103721
104669
|
|
|
103722
104670
|
// src/funcs/walletsGet.ts
|
|
103723
104671
|
function walletsGet(client, request, options) {
|
|
103724
|
-
return new APIPromise($
|
|
104672
|
+
return new APIPromise($do180(client, request, options));
|
|
103725
104673
|
}
|
|
103726
|
-
async function $
|
|
104674
|
+
async function $do180(client, request, options) {
|
|
103727
104675
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103728
104676
|
if (!parsed.ok) {
|
|
103729
104677
|
return [parsed, { status: "invalid" }];
|
|
@@ -103805,12 +104753,12 @@ var init_walletsGet = __esm(() => {
|
|
|
103805
104753
|
});
|
|
103806
104754
|
|
|
103807
104755
|
// src/mcp-server/tools/walletsGet.ts
|
|
103808
|
-
var
|
|
104756
|
+
var args174, tool$walletsGet;
|
|
103809
104757
|
var init_walletsGet2 = __esm(() => {
|
|
103810
104758
|
init_walletsGet();
|
|
103811
104759
|
init_operations();
|
|
103812
104760
|
init_tools();
|
|
103813
|
-
|
|
104761
|
+
args174 = {
|
|
103814
104762
|
request: GetWalletRequest$inboundSchema
|
|
103815
104763
|
};
|
|
103816
104764
|
tool$walletsGet = {
|
|
@@ -103821,9 +104769,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103821
104769
|
|
|
103822
104770
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103823
104771
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103824
|
-
args:
|
|
103825
|
-
tool: async (client,
|
|
103826
|
-
const [result, apiCall] = await walletsGet(client,
|
|
104772
|
+
args: args174,
|
|
104773
|
+
tool: async (client, args175, ctx) => {
|
|
104774
|
+
const [result, apiCall] = await walletsGet(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103827
104775
|
if (!result.ok) {
|
|
103828
104776
|
return {
|
|
103829
104777
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103838,9 +104786,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103838
104786
|
|
|
103839
104787
|
// src/funcs/walletsList.ts
|
|
103840
104788
|
function walletsList(client, request, options) {
|
|
103841
|
-
return new APIPromise($
|
|
104789
|
+
return new APIPromise($do181(client, request, options));
|
|
103842
104790
|
}
|
|
103843
|
-
async function $
|
|
104791
|
+
async function $do181(client, request, options) {
|
|
103844
104792
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103845
104793
|
if (!parsed.ok) {
|
|
103846
104794
|
return [parsed, { status: "invalid" }];
|
|
@@ -103928,12 +104876,12 @@ var init_walletsList = __esm(() => {
|
|
|
103928
104876
|
});
|
|
103929
104877
|
|
|
103930
104878
|
// src/mcp-server/tools/walletsList.ts
|
|
103931
|
-
var
|
|
104879
|
+
var args175, tool$walletsList;
|
|
103932
104880
|
var init_walletsList2 = __esm(() => {
|
|
103933
104881
|
init_walletsList();
|
|
103934
104882
|
init_operations();
|
|
103935
104883
|
init_tools();
|
|
103936
|
-
|
|
104884
|
+
args175 = {
|
|
103937
104885
|
request: ListWalletsRequest$inboundSchema
|
|
103938
104886
|
};
|
|
103939
104887
|
tool$walletsList = {
|
|
@@ -103944,9 +104892,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
103944
104892
|
|
|
103945
104893
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
103946
104894
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
103947
|
-
args:
|
|
103948
|
-
tool: async (client,
|
|
103949
|
-
const [result, apiCall] = await walletsList(client,
|
|
104895
|
+
args: args175,
|
|
104896
|
+
tool: async (client, args176, ctx) => {
|
|
104897
|
+
const [result, apiCall] = await walletsList(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103950
104898
|
if (!result.ok) {
|
|
103951
104899
|
return {
|
|
103952
104900
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103961,9 +104909,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103961
104909
|
|
|
103962
104910
|
// src/funcs/walletsUpdate.ts
|
|
103963
104911
|
function walletsUpdate(client, request, options) {
|
|
103964
|
-
return new APIPromise($
|
|
104912
|
+
return new APIPromise($do182(client, request, options));
|
|
103965
104913
|
}
|
|
103966
|
-
async function $
|
|
104914
|
+
async function $do182(client, request, options) {
|
|
103967
104915
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103968
104916
|
if (!parsed.ok) {
|
|
103969
104917
|
return [parsed, { status: "invalid" }];
|
|
@@ -104049,12 +104997,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
104049
104997
|
});
|
|
104050
104998
|
|
|
104051
104999
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
104052
|
-
var
|
|
105000
|
+
var args176, tool$walletsUpdate;
|
|
104053
105001
|
var init_walletsUpdate2 = __esm(() => {
|
|
104054
105002
|
init_walletsUpdate();
|
|
104055
105003
|
init_operations();
|
|
104056
105004
|
init_tools();
|
|
104057
|
-
|
|
105005
|
+
args176 = {
|
|
104058
105006
|
request: UpdateWalletRequest$inboundSchema
|
|
104059
105007
|
};
|
|
104060
105008
|
tool$walletsUpdate = {
|
|
@@ -104065,9 +105013,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
104065
105013
|
|
|
104066
105014
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104067
105015
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
104068
|
-
args:
|
|
104069
|
-
tool: async (client,
|
|
104070
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
105016
|
+
args: args176,
|
|
105017
|
+
tool: async (client, args177, ctx) => {
|
|
105018
|
+
const [result, apiCall] = await walletsUpdate(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104071
105019
|
if (!result.ok) {
|
|
104072
105020
|
return {
|
|
104073
105021
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104082,9 +105030,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
104082
105030
|
|
|
104083
105031
|
// src/funcs/walletTransactionsGet.ts
|
|
104084
105032
|
function walletTransactionsGet(client, request, options) {
|
|
104085
|
-
return new APIPromise($
|
|
105033
|
+
return new APIPromise($do183(client, request, options));
|
|
104086
105034
|
}
|
|
104087
|
-
async function $
|
|
105035
|
+
async function $do183(client, request, options) {
|
|
104088
105036
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104089
105037
|
if (!parsed.ok) {
|
|
104090
105038
|
return [parsed, { status: "invalid" }];
|
|
@@ -104170,12 +105118,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
104170
105118
|
});
|
|
104171
105119
|
|
|
104172
105120
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
104173
|
-
var
|
|
105121
|
+
var args177, tool$walletTransactionsGet;
|
|
104174
105122
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
104175
105123
|
init_walletTransactionsGet();
|
|
104176
105124
|
init_operations();
|
|
104177
105125
|
init_tools();
|
|
104178
|
-
|
|
105126
|
+
args177 = {
|
|
104179
105127
|
request: GetWalletTransactionRequest$inboundSchema
|
|
104180
105128
|
};
|
|
104181
105129
|
tool$walletTransactionsGet = {
|
|
@@ -104186,9 +105134,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
104186
105134
|
|
|
104187
105135
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104188
105136
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
104189
|
-
args:
|
|
104190
|
-
tool: async (client,
|
|
104191
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
105137
|
+
args: args177,
|
|
105138
|
+
tool: async (client, args178, ctx) => {
|
|
105139
|
+
const [result, apiCall] = await walletTransactionsGet(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104192
105140
|
if (!result.ok) {
|
|
104193
105141
|
return {
|
|
104194
105142
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104203,9 +105151,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104203
105151
|
|
|
104204
105152
|
// src/funcs/walletTransactionsList.ts
|
|
104205
105153
|
function walletTransactionsList(client, request, options) {
|
|
104206
|
-
return new APIPromise($
|
|
105154
|
+
return new APIPromise($do184(client, request, options));
|
|
104207
105155
|
}
|
|
104208
|
-
async function $
|
|
105156
|
+
async function $do184(client, request, options) {
|
|
104209
105157
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104210
105158
|
if (!parsed.ok) {
|
|
104211
105159
|
return [parsed, { status: "invalid" }];
|
|
@@ -104305,12 +105253,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
104305
105253
|
});
|
|
104306
105254
|
|
|
104307
105255
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
104308
|
-
var
|
|
105256
|
+
var args178, tool$walletTransactionsList;
|
|
104309
105257
|
var init_walletTransactionsList2 = __esm(() => {
|
|
104310
105258
|
init_walletTransactionsList();
|
|
104311
105259
|
init_operations();
|
|
104312
105260
|
init_tools();
|
|
104313
|
-
|
|
105261
|
+
args178 = {
|
|
104314
105262
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
104315
105263
|
};
|
|
104316
105264
|
tool$walletTransactionsList = {
|
|
@@ -104321,9 +105269,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
104321
105269
|
|
|
104322
105270
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
104323
105271
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
104324
|
-
args:
|
|
104325
|
-
tool: async (client,
|
|
104326
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
105272
|
+
args: args178,
|
|
105273
|
+
tool: async (client, args179, ctx) => {
|
|
105274
|
+
const [result, apiCall] = await walletTransactionsList(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104327
105275
|
if (!result.ok) {
|
|
104328
105276
|
return {
|
|
104329
105277
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104338,9 +105286,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104338
105286
|
|
|
104339
105287
|
// src/funcs/webhooksCreate.ts
|
|
104340
105288
|
function webhooksCreate(client, request, options) {
|
|
104341
|
-
return new APIPromise($
|
|
105289
|
+
return new APIPromise($do185(client, request, options));
|
|
104342
105290
|
}
|
|
104343
|
-
async function $
|
|
105291
|
+
async function $do185(client, request, options) {
|
|
104344
105292
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
104345
105293
|
if (!parsed.ok) {
|
|
104346
105294
|
return [parsed, { status: "invalid" }];
|
|
@@ -104417,20 +105365,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
104417
105365
|
});
|
|
104418
105366
|
|
|
104419
105367
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
104420
|
-
var
|
|
105368
|
+
var args179, tool$webhooksCreate;
|
|
104421
105369
|
var init_webhooksCreate2 = __esm(() => {
|
|
104422
105370
|
init_webhooksCreate();
|
|
104423
105371
|
init_components();
|
|
104424
105372
|
init_tools();
|
|
104425
|
-
|
|
105373
|
+
args179 = {
|
|
104426
105374
|
request: CreateWebhook$inboundSchema
|
|
104427
105375
|
};
|
|
104428
105376
|
tool$webhooksCreate = {
|
|
104429
105377
|
name: "webhooks-create",
|
|
104430
105378
|
description: `Create a new webhook for the account.`,
|
|
104431
|
-
args:
|
|
104432
|
-
tool: async (client,
|
|
104433
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
105379
|
+
args: args179,
|
|
105380
|
+
tool: async (client, args180, ctx) => {
|
|
105381
|
+
const [result, apiCall] = await webhooksCreate(client, args180.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104434
105382
|
if (!result.ok) {
|
|
104435
105383
|
return {
|
|
104436
105384
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104445,9 +105393,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
104445
105393
|
|
|
104446
105394
|
// src/funcs/webhooksDisable.ts
|
|
104447
105395
|
function webhooksDisable(client, request, options) {
|
|
104448
|
-
return new APIPromise($
|
|
105396
|
+
return new APIPromise($do186(client, request, options));
|
|
104449
105397
|
}
|
|
104450
|
-
async function $
|
|
105398
|
+
async function $do186(client, request, options) {
|
|
104451
105399
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104452
105400
|
if (!parsed.ok) {
|
|
104453
105401
|
return [parsed, { status: "invalid" }];
|
|
@@ -104524,20 +105472,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
104524
105472
|
});
|
|
104525
105473
|
|
|
104526
105474
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
104527
|
-
var
|
|
105475
|
+
var args180, tool$webhooksDisable;
|
|
104528
105476
|
var init_webhooksDisable2 = __esm(() => {
|
|
104529
105477
|
init_webhooksDisable();
|
|
104530
105478
|
init_operations();
|
|
104531
105479
|
init_tools();
|
|
104532
|
-
|
|
105480
|
+
args180 = {
|
|
104533
105481
|
request: DisableWebhookRequest$inboundSchema
|
|
104534
105482
|
};
|
|
104535
105483
|
tool$webhooksDisable = {
|
|
104536
105484
|
name: "webhooks-disable",
|
|
104537
105485
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
104538
|
-
args:
|
|
104539
|
-
tool: async (client,
|
|
104540
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
105486
|
+
args: args180,
|
|
105487
|
+
tool: async (client, args181, ctx) => {
|
|
105488
|
+
const [result, apiCall] = await webhooksDisable(client, args181.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104541
105489
|
if (!result.ok) {
|
|
104542
105490
|
return {
|
|
104543
105491
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104551,9 +105499,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
104551
105499
|
|
|
104552
105500
|
// src/funcs/webhooksGet.ts
|
|
104553
105501
|
function webhooksGet(client, request, options) {
|
|
104554
|
-
return new APIPromise($
|
|
105502
|
+
return new APIPromise($do187(client, request, options));
|
|
104555
105503
|
}
|
|
104556
|
-
async function $
|
|
105504
|
+
async function $do187(client, request, options) {
|
|
104557
105505
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104558
105506
|
if (!parsed.ok) {
|
|
104559
105507
|
return [parsed, { status: "invalid" }];
|
|
@@ -104631,20 +105579,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
104631
105579
|
});
|
|
104632
105580
|
|
|
104633
105581
|
// src/mcp-server/tools/webhooksGet.ts
|
|
104634
|
-
var
|
|
105582
|
+
var args181, tool$webhooksGet;
|
|
104635
105583
|
var init_webhooksGet2 = __esm(() => {
|
|
104636
105584
|
init_webhooksGet();
|
|
104637
105585
|
init_operations();
|
|
104638
105586
|
init_tools();
|
|
104639
|
-
|
|
105587
|
+
args181 = {
|
|
104640
105588
|
request: GetWebhookRequest$inboundSchema
|
|
104641
105589
|
};
|
|
104642
105590
|
tool$webhooksGet = {
|
|
104643
105591
|
name: "webhooks-get",
|
|
104644
105592
|
description: `Get details of a specific webhook.`,
|
|
104645
|
-
args:
|
|
104646
|
-
tool: async (client,
|
|
104647
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
105593
|
+
args: args181,
|
|
105594
|
+
tool: async (client, args182, ctx) => {
|
|
105595
|
+
const [result, apiCall] = await webhooksGet(client, args182.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104648
105596
|
if (!result.ok) {
|
|
104649
105597
|
return {
|
|
104650
105598
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104659,9 +105607,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
104659
105607
|
|
|
104660
105608
|
// src/funcs/webhooksGetSecret.ts
|
|
104661
105609
|
function webhooksGetSecret(client, request, options) {
|
|
104662
|
-
return new APIPromise($
|
|
105610
|
+
return new APIPromise($do188(client, request, options));
|
|
104663
105611
|
}
|
|
104664
|
-
async function $
|
|
105612
|
+
async function $do188(client, request, options) {
|
|
104665
105613
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104666
105614
|
if (!parsed.ok) {
|
|
104667
105615
|
return [parsed, { status: "invalid" }];
|
|
@@ -104739,20 +105687,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
104739
105687
|
});
|
|
104740
105688
|
|
|
104741
105689
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
104742
|
-
var
|
|
105690
|
+
var args182, tool$webhooksGetSecret;
|
|
104743
105691
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
104744
105692
|
init_webhooksGetSecret();
|
|
104745
105693
|
init_operations();
|
|
104746
105694
|
init_tools();
|
|
104747
|
-
|
|
105695
|
+
args182 = {
|
|
104748
105696
|
request: GetWebhookSecretRequest$inboundSchema
|
|
104749
105697
|
};
|
|
104750
105698
|
tool$webhooksGetSecret = {
|
|
104751
105699
|
name: "webhooks-get-secret",
|
|
104752
105700
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
104753
|
-
args:
|
|
104754
|
-
tool: async (client,
|
|
104755
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
105701
|
+
args: args182,
|
|
105702
|
+
tool: async (client, args183, ctx) => {
|
|
105703
|
+
const [result, apiCall] = await webhooksGetSecret(client, args183.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
104756
105704
|
if (!result.ok) {
|
|
104757
105705
|
return {
|
|
104758
105706
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -104767,9 +105715,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
104767
105715
|
|
|
104768
105716
|
// src/funcs/webhooksList.ts
|
|
104769
105717
|
function webhooksList(client, options) {
|
|
104770
|
-
return new APIPromise($
|
|
105718
|
+
return new APIPromise($do189(client, options));
|
|
104771
105719
|
}
|
|
104772
|
-
async function $
|
|
105720
|
+
async function $do189(client, options) {
|
|
104773
105721
|
const path = pathToFunc("/webhooks")();
|
|
104774
105722
|
const headers = new Headers(compactMap({
|
|
104775
105723
|
Accept: "application/json"
|
|
@@ -104855,9 +105803,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
104855
105803
|
|
|
104856
105804
|
// src/funcs/webhooksListEventTypes.ts
|
|
104857
105805
|
function webhooksListEventTypes(client, options) {
|
|
104858
|
-
return new APIPromise($
|
|
105806
|
+
return new APIPromise($do190(client, options));
|
|
104859
105807
|
}
|
|
104860
|
-
async function $
|
|
105808
|
+
async function $do190(client, options) {
|
|
104861
105809
|
const path = pathToFunc("/event-types")();
|
|
104862
105810
|
const headers = new Headers(compactMap({
|
|
104863
105811
|
Accept: "application/json"
|
|
@@ -104943,9 +105891,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
104943
105891
|
|
|
104944
105892
|
// src/funcs/webhooksPing.ts
|
|
104945
105893
|
function webhooksPing(client, request, options) {
|
|
104946
|
-
return new APIPromise($
|
|
105894
|
+
return new APIPromise($do191(client, request, options));
|
|
104947
105895
|
}
|
|
104948
|
-
async function $
|
|
105896
|
+
async function $do191(client, request, options) {
|
|
104949
105897
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104950
105898
|
if (!parsed.ok) {
|
|
104951
105899
|
return [parsed, { status: "invalid" }];
|
|
@@ -105023,20 +105971,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
105023
105971
|
});
|
|
105024
105972
|
|
|
105025
105973
|
// src/mcp-server/tools/webhooksPing.ts
|
|
105026
|
-
var
|
|
105974
|
+
var args183, tool$webhooksPing;
|
|
105027
105975
|
var init_webhooksPing2 = __esm(() => {
|
|
105028
105976
|
init_webhooksPing();
|
|
105029
105977
|
init_operations();
|
|
105030
105978
|
init_tools();
|
|
105031
|
-
|
|
105979
|
+
args183 = {
|
|
105032
105980
|
request: PingWebhookRequest$inboundSchema
|
|
105033
105981
|
};
|
|
105034
105982
|
tool$webhooksPing = {
|
|
105035
105983
|
name: "webhooks-ping",
|
|
105036
105984
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
105037
|
-
args:
|
|
105038
|
-
tool: async (client,
|
|
105039
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
105985
|
+
args: args183,
|
|
105986
|
+
tool: async (client, args184, ctx) => {
|
|
105987
|
+
const [result, apiCall] = await webhooksPing(client, args184.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
105040
105988
|
if (!result.ok) {
|
|
105041
105989
|
return {
|
|
105042
105990
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -105051,9 +105999,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
105051
105999
|
|
|
105052
106000
|
// src/funcs/webhooksUpdate.ts
|
|
105053
106001
|
function webhooksUpdate(client, request, options) {
|
|
105054
|
-
return new APIPromise($
|
|
106002
|
+
return new APIPromise($do192(client, request, options));
|
|
105055
106003
|
}
|
|
105056
|
-
async function $
|
|
106004
|
+
async function $do192(client, request, options) {
|
|
105057
106005
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
105058
106006
|
if (!parsed.ok) {
|
|
105059
106007
|
return [parsed, { status: "invalid" }];
|
|
@@ -105135,20 +106083,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
105135
106083
|
});
|
|
105136
106084
|
|
|
105137
106085
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
105138
|
-
var
|
|
106086
|
+
var args184, tool$webhooksUpdate;
|
|
105139
106087
|
var init_webhooksUpdate2 = __esm(() => {
|
|
105140
106088
|
init_webhooksUpdate();
|
|
105141
106089
|
init_operations();
|
|
105142
106090
|
init_tools();
|
|
105143
|
-
|
|
106091
|
+
args184 = {
|
|
105144
106092
|
request: UpdateWebhookRequest$inboundSchema
|
|
105145
106093
|
};
|
|
105146
106094
|
tool$webhooksUpdate = {
|
|
105147
106095
|
name: "webhooks-update",
|
|
105148
106096
|
description: `Update an existing webhook.`,
|
|
105149
|
-
args:
|
|
105150
|
-
tool: async (client,
|
|
105151
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
106097
|
+
args: args184,
|
|
106098
|
+
tool: async (client, args185, ctx) => {
|
|
106099
|
+
const [result, apiCall] = await webhooksUpdate(client, args185.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
105152
106100
|
if (!result.ok) {
|
|
105153
106101
|
return {
|
|
105154
106102
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -105165,7 +106113,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
105165
106113
|
function createMCPServer(deps) {
|
|
105166
106114
|
const server = new McpServer({
|
|
105167
106115
|
name: "Moov",
|
|
105168
|
-
version: "0.0.0-dev.
|
|
106116
|
+
version: "0.0.0-dev.28"
|
|
105169
106117
|
});
|
|
105170
106118
|
const client = new MoovCore({
|
|
105171
106119
|
security: deps.security,
|
|
@@ -105272,6 +106220,7 @@ function createMCPServer(deps) {
|
|
|
105272
106220
|
tool(tool$productsGet);
|
|
105273
106221
|
tool(tool$productsUpdate);
|
|
105274
106222
|
tool(tool$productsDisable);
|
|
106223
|
+
tool(tool$productsListCategories);
|
|
105275
106224
|
tool(tool$representativesCreate);
|
|
105276
106225
|
tool(tool$representativesList);
|
|
105277
106226
|
tool(tool$representativesDelete);
|
|
@@ -105320,6 +106269,7 @@ function createMCPServer(deps) {
|
|
|
105320
106269
|
tool(tool$transfersListRefunds);
|
|
105321
106270
|
tool(tool$transfersGetRefund);
|
|
105322
106271
|
tool(tool$transfersCreateReversal);
|
|
106272
|
+
tool(tool$transfersGetRiskOutcomes);
|
|
105323
106273
|
tool(tool$underwritingGet);
|
|
105324
106274
|
tool(tool$underwritingSave);
|
|
105325
106275
|
tool(tool$underwritingUpsert);
|
|
@@ -105498,6 +106448,7 @@ var init_server2 = __esm(() => {
|
|
|
105498
106448
|
init_productsDisable2();
|
|
105499
106449
|
init_productsGet2();
|
|
105500
106450
|
init_productsList2();
|
|
106451
|
+
init_productsListCategories2();
|
|
105501
106452
|
init_productsUpdate2();
|
|
105502
106453
|
init_receiptsCreate2();
|
|
105503
106454
|
init_receiptsList2();
|
|
@@ -105545,6 +106496,7 @@ var init_server2 = __esm(() => {
|
|
|
105545
106496
|
init_transfersGet2();
|
|
105546
106497
|
init_transfersGetCancellation2();
|
|
105547
106498
|
init_transfersGetRefund2();
|
|
106499
|
+
init_transfersGetRiskOutcomes2();
|
|
105548
106500
|
init_transfersInitiateRefund2();
|
|
105549
106501
|
init_transfersList2();
|
|
105550
106502
|
init_transfersListCancellations2();
|
|
@@ -106769,7 +107721,7 @@ var routes = rn({
|
|
|
106769
107721
|
var app = Ve(routes, {
|
|
106770
107722
|
name: "mcp",
|
|
106771
107723
|
versionInfo: {
|
|
106772
|
-
currentVersion: "0.0.0-dev.
|
|
107724
|
+
currentVersion: "0.0.0-dev.28"
|
|
106773
107725
|
}
|
|
106774
107726
|
});
|
|
106775
107727
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -106777,5 +107729,5 @@ export {
|
|
|
106777
107729
|
app
|
|
106778
107730
|
};
|
|
106779
107731
|
|
|
106780
|
-
//# debugId=
|
|
107732
|
+
//# debugId=AE74C0FBB9C7E40964756E2164756E21
|
|
106781
107733
|
//# sourceMappingURL=mcp-server.js.map
|