@moovio/sdk 0.0.0-dev.27 → 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 +121 -59
- package/bin/mcp-server.js +969 -217
- package/bin/mcp-server.js.map +55 -29
- 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/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/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/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/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/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/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 +21 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +21 -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/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/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -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/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/hooks/oauth2scopes.ts +8 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/productsListCategories.ts +29 -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/createtransfer.ts +13 -0
- package/src/models/components/feepaidby.ts +32 -0
- package/src/models/components/fullissuedcard.ts +12 -9
- package/src/models/components/incurredfee.ts +12 -0
- package/src/models/components/index.ts +21 -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/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/index.ts +3 -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/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
|
|
|
@@ -56928,6 +56928,7 @@ var init_capabilityid = __esm(() => {
|
|
|
56928
56928
|
SendFundsAch: "send-funds.ach",
|
|
56929
56929
|
SendFundsRtp: "send-funds.rtp",
|
|
56930
56930
|
SendFundsInstantBank: "send-funds.instant-bank",
|
|
56931
|
+
SendFundsWire: "send-funds.wire",
|
|
56931
56932
|
CollectFunds: "collect-funds",
|
|
56932
56933
|
CollectFundsCardPayments: "collect-funds.card-payments",
|
|
56933
56934
|
MoneyTransferPullFromCard: "money-transfer.pull-from-card",
|
|
@@ -57046,6 +57047,39 @@ var init_adjustment = __esm(() => {
|
|
|
57046
57047
|
});
|
|
57047
57048
|
});
|
|
57048
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
|
+
|
|
57049
57083
|
// src/models/components/amount.ts
|
|
57050
57084
|
var Amount$inboundSchema, Amount$outboundSchema;
|
|
57051
57085
|
var init_amount = __esm(() => {
|
|
@@ -57582,6 +57616,64 @@ var init_authtokenrequest = __esm(() => {
|
|
|
57582
57616
|
});
|
|
57583
57617
|
});
|
|
57584
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
|
+
|
|
57585
57677
|
// src/models/components/rtprejectioncode.ts
|
|
57586
57678
|
var RTPRejectionCode, RTPRejectionCode$inboundSchema, RTPRejectionCode$outboundSchema;
|
|
57587
57679
|
var init_rtprejectioncode = __esm(() => {
|
|
@@ -63020,32 +63112,6 @@ var init_createdtransfer = __esm(() => {
|
|
|
63020
63112
|
});
|
|
63021
63113
|
});
|
|
63022
63114
|
|
|
63023
|
-
// src/types/blobs.ts
|
|
63024
|
-
function isBlobLike2(val) {
|
|
63025
|
-
if (val instanceof Blob) {
|
|
63026
|
-
return true;
|
|
63027
|
-
}
|
|
63028
|
-
if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
|
|
63029
|
-
return false;
|
|
63030
|
-
}
|
|
63031
|
-
const name = val[Symbol.toStringTag];
|
|
63032
|
-
if (typeof name !== "string") {
|
|
63033
|
-
return false;
|
|
63034
|
-
}
|
|
63035
|
-
if (name !== "Blob" && name !== "File") {
|
|
63036
|
-
return false;
|
|
63037
|
-
}
|
|
63038
|
-
return "stream" in val && typeof val.stream === "function";
|
|
63039
|
-
}
|
|
63040
|
-
var blobLikeSchema;
|
|
63041
|
-
var init_blobs = __esm(() => {
|
|
63042
|
-
init_v3();
|
|
63043
|
-
blobLikeSchema = custom(isBlobLike2, {
|
|
63044
|
-
message: "expected a Blob, File or Blob-like object",
|
|
63045
|
-
fatal: true
|
|
63046
|
-
});
|
|
63047
|
-
});
|
|
63048
|
-
|
|
63049
63115
|
// src/models/components/evidencetype.ts
|
|
63050
63116
|
var EvidenceType, EvidenceType$inboundSchema, EvidenceType$outboundSchema;
|
|
63051
63117
|
var init_evidencetype = __esm(() => {
|
|
@@ -63549,6 +63615,18 @@ var init_disbursementpaymentmethodtype = __esm(() => {
|
|
|
63549
63615
|
DisbursementPaymentMethodType$outboundSchema = outboundSchema(DisbursementPaymentMethodType);
|
|
63550
63616
|
});
|
|
63551
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
|
+
|
|
63552
63630
|
// src/models/components/payoutrecipient.ts
|
|
63553
63631
|
var PayoutRecipient$inboundSchema, PayoutRecipient$outboundSchema;
|
|
63554
63632
|
var init_payoutrecipient = __esm(() => {
|
|
@@ -63599,19 +63677,22 @@ var init_paymentlinkpayoutdetails = __esm(() => {
|
|
|
63599
63677
|
init_v3();
|
|
63600
63678
|
init_primitives2();
|
|
63601
63679
|
init_disbursementpaymentmethodtype();
|
|
63680
|
+
init_feepaidby();
|
|
63602
63681
|
init_payoutrecipient();
|
|
63603
63682
|
init_pushoptions();
|
|
63604
63683
|
PaymentLinkPayoutDetails$inboundSchema = objectType({
|
|
63605
63684
|
allowedMethods: arrayType(DisbursementPaymentMethodType$inboundSchema),
|
|
63606
63685
|
recipient: PayoutRecipient$inboundSchema,
|
|
63607
63686
|
metadata: optional3(recordType(string4())),
|
|
63608
|
-
pushOptions: optional3(PushOptions$inboundSchema)
|
|
63687
|
+
pushOptions: optional3(PushOptions$inboundSchema),
|
|
63688
|
+
feePaidBy: optional3(recordType(FeePaidBy$inboundSchema))
|
|
63609
63689
|
});
|
|
63610
63690
|
PaymentLinkPayoutDetails$outboundSchema = objectType({
|
|
63611
63691
|
allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema),
|
|
63612
63692
|
recipient: PayoutRecipient$outboundSchema,
|
|
63613
63693
|
metadata: recordType(stringType()).optional(),
|
|
63614
|
-
pushOptions: PushOptions$outboundSchema.optional()
|
|
63694
|
+
pushOptions: PushOptions$outboundSchema.optional(),
|
|
63695
|
+
feePaidBy: recordType(FeePaidBy$outboundSchema).optional()
|
|
63615
63696
|
});
|
|
63616
63697
|
});
|
|
63617
63698
|
|
|
@@ -64577,6 +64658,20 @@ var init_createtransfersource = __esm(() => {
|
|
|
64577
64658
|
});
|
|
64578
64659
|
});
|
|
64579
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
|
+
|
|
64580
64675
|
// src/models/components/createtransfer.ts
|
|
64581
64676
|
var CreateTransfer$inboundSchema, CreateTransfer$outboundSchema;
|
|
64582
64677
|
var init_createtransfer = __esm(() => {
|
|
@@ -64588,6 +64683,7 @@ var init_createtransfer = __esm(() => {
|
|
|
64588
64683
|
init_createtransferlineitems();
|
|
64589
64684
|
init_createtransfersource();
|
|
64590
64685
|
init_facilitatorfee();
|
|
64686
|
+
init_transferfeepaidby();
|
|
64591
64687
|
CreateTransfer$inboundSchema = objectType({
|
|
64592
64688
|
source: CreateTransferSource$inboundSchema,
|
|
64593
64689
|
destination: CreateTransferDestination$inboundSchema,
|
|
@@ -64597,7 +64693,8 @@ var init_createtransfer = __esm(() => {
|
|
|
64597
64693
|
metadata: optional3(recordType(string4())),
|
|
64598
64694
|
foreignID: optional3(string4()),
|
|
64599
64695
|
lineItems: optional3(CreateTransferLineItems$inboundSchema),
|
|
64600
|
-
amountDetails: optional3(CreateTransferAmountDetails$inboundSchema)
|
|
64696
|
+
amountDetails: optional3(CreateTransferAmountDetails$inboundSchema),
|
|
64697
|
+
feePaidBy: optional3(TransferFeePaidBy$inboundSchema)
|
|
64601
64698
|
});
|
|
64602
64699
|
CreateTransfer$outboundSchema = objectType({
|
|
64603
64700
|
source: CreateTransferSource$outboundSchema,
|
|
@@ -64608,7 +64705,8 @@ var init_createtransfer = __esm(() => {
|
|
|
64608
64705
|
metadata: recordType(stringType()).optional(),
|
|
64609
64706
|
foreignID: stringType().optional(),
|
|
64610
64707
|
lineItems: CreateTransferLineItems$outboundSchema.optional(),
|
|
64611
|
-
amountDetails: CreateTransferAmountDetails$outboundSchema.optional()
|
|
64708
|
+
amountDetails: CreateTransferAmountDetails$outboundSchema.optional(),
|
|
64709
|
+
feePaidBy: TransferFeePaidBy$outboundSchema.optional()
|
|
64612
64710
|
});
|
|
64613
64711
|
});
|
|
64614
64712
|
|
|
@@ -65597,43 +65695,215 @@ var init_issuedcardstate = __esm(() => {
|
|
|
65597
65695
|
// src/models/components/issuingintervallimit.ts
|
|
65598
65696
|
var IssuingIntervalLimit, IssuingIntervalLimit$inboundSchema, IssuingIntervalLimit$outboundSchema;
|
|
65599
65697
|
var init_issuingintervallimit = __esm(() => {
|
|
65600
|
-
|
|
65698
|
+
init_enums();
|
|
65601
65699
|
IssuingIntervalLimit = {
|
|
65602
|
-
PerTransaction: "per-transaction"
|
|
65700
|
+
PerTransaction: "per-transaction",
|
|
65701
|
+
Daily: "daily",
|
|
65702
|
+
Weekly: "weekly",
|
|
65703
|
+
Monthly: "monthly"
|
|
65603
65704
|
};
|
|
65604
|
-
IssuingIntervalLimit$inboundSchema =
|
|
65605
|
-
IssuingIntervalLimit$outboundSchema = IssuingIntervalLimit
|
|
65705
|
+
IssuingIntervalLimit$inboundSchema = inboundSchema(IssuingIntervalLimit);
|
|
65706
|
+
IssuingIntervalLimit$outboundSchema = outboundSchema(IssuingIntervalLimit);
|
|
65606
65707
|
});
|
|
65607
65708
|
|
|
65608
|
-
// src/models/components/
|
|
65609
|
-
var
|
|
65610
|
-
var
|
|
65709
|
+
// src/models/components/issuedvelocitylimit.ts
|
|
65710
|
+
var IssuedVelocityLimit$inboundSchema, IssuedVelocityLimit$outboundSchema;
|
|
65711
|
+
var init_issuedvelocitylimit = __esm(() => {
|
|
65611
65712
|
init_v3();
|
|
65612
65713
|
init_primitives2();
|
|
65613
65714
|
init_issuingintervallimit();
|
|
65614
|
-
|
|
65615
|
-
amount: number4(),
|
|
65616
|
-
|
|
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()
|
|
65617
65734
|
});
|
|
65618
|
-
|
|
65619
|
-
|
|
65620
|
-
|
|
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()
|
|
65621
65799
|
});
|
|
65622
65800
|
});
|
|
65623
65801
|
|
|
65624
|
-
// src/models/components/
|
|
65625
|
-
var
|
|
65626
|
-
var
|
|
65802
|
+
// src/models/components/merchantcategoryrestrictions.ts
|
|
65803
|
+
var MerchantCategoryRestrictions$inboundSchema, MerchantCategoryRestrictions$outboundSchema;
|
|
65804
|
+
var init_merchantcategoryrestrictions = __esm(() => {
|
|
65627
65805
|
init_v3();
|
|
65628
65806
|
init_primitives2();
|
|
65629
|
-
|
|
65630
|
-
|
|
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({
|
|
65631
65893
|
singleUse: optional3(boolean4()),
|
|
65632
|
-
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()
|
|
65633
65899
|
});
|
|
65634
|
-
|
|
65900
|
+
IssuedControls$outboundSchema = objectType({
|
|
65635
65901
|
singleUse: booleanType().optional(),
|
|
65636
|
-
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()
|
|
65637
65907
|
});
|
|
65638
65908
|
});
|
|
65639
65909
|
|
|
@@ -65647,7 +65917,7 @@ var init_fullissuedcard = __esm(() => {
|
|
|
65647
65917
|
init_cardexpiration();
|
|
65648
65918
|
init_issuedcardformfactor();
|
|
65649
65919
|
init_issuedcardstate();
|
|
65650
|
-
|
|
65920
|
+
init_issuedcontrols();
|
|
65651
65921
|
FullIssuedCard$inboundSchema = objectType({
|
|
65652
65922
|
issuedCardID: string4(),
|
|
65653
65923
|
brand: CardBrand$inboundSchema,
|
|
@@ -65660,7 +65930,7 @@ var init_fullissuedcard = __esm(() => {
|
|
|
65660
65930
|
billingAddress: optional3(Address$inboundSchema),
|
|
65661
65931
|
state: IssuedCardState$inboundSchema,
|
|
65662
65932
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
65663
|
-
controls: optional3(
|
|
65933
|
+
controls: optional3(IssuedControls$inboundSchema),
|
|
65664
65934
|
createdOn: date4(),
|
|
65665
65935
|
updatedOn: date4(),
|
|
65666
65936
|
pan: string4(),
|
|
@@ -65678,7 +65948,7 @@ var init_fullissuedcard = __esm(() => {
|
|
|
65678
65948
|
billingAddress: Address$outboundSchema.optional(),
|
|
65679
65949
|
state: IssuedCardState$outboundSchema,
|
|
65680
65950
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
65681
|
-
controls:
|
|
65951
|
+
controls: IssuedControls$outboundSchema.optional(),
|
|
65682
65952
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
65683
65953
|
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
65684
65954
|
pan: stringType(),
|
|
@@ -66015,6 +66285,7 @@ var init_incurredfee = __esm(() => {
|
|
|
66015
66285
|
init_v3();
|
|
66016
66286
|
init_primitives2();
|
|
66017
66287
|
init_amountdecimal();
|
|
66288
|
+
init_feepaidby();
|
|
66018
66289
|
init_generatedby();
|
|
66019
66290
|
IncurredFee$inboundSchema = objectType({
|
|
66020
66291
|
feeID: optional3(string4()),
|
|
@@ -66025,7 +66296,8 @@ var init_incurredfee = __esm(() => {
|
|
|
66025
66296
|
amount: optional3(AmountDecimal$inboundSchema),
|
|
66026
66297
|
generatedBy: optional3(GeneratedBy$inboundSchema),
|
|
66027
66298
|
feeGroup: optional3(string4()),
|
|
66028
|
-
residualID: optional3(string4())
|
|
66299
|
+
residualID: optional3(string4()),
|
|
66300
|
+
feePaidBy: optional3(FeePaidBy$inboundSchema)
|
|
66029
66301
|
});
|
|
66030
66302
|
IncurredFee$outboundSchema = objectType({
|
|
66031
66303
|
feeID: stringType().optional(),
|
|
@@ -66036,7 +66308,8 @@ var init_incurredfee = __esm(() => {
|
|
|
66036
66308
|
amount: AmountDecimal$outboundSchema.optional(),
|
|
66037
66309
|
generatedBy: GeneratedBy$outboundSchema.optional(),
|
|
66038
66310
|
feeGroup: stringType().optional(),
|
|
66039
|
-
residualID: stringType().optional()
|
|
66311
|
+
residualID: stringType().optional(),
|
|
66312
|
+
feePaidBy: FeePaidBy$outboundSchema.optional()
|
|
66040
66313
|
});
|
|
66041
66314
|
});
|
|
66042
66315
|
|
|
@@ -66518,7 +66791,7 @@ var init_issuedcard = __esm(() => {
|
|
|
66518
66791
|
init_cardexpiration();
|
|
66519
66792
|
init_issuedcardformfactor();
|
|
66520
66793
|
init_issuedcardstate();
|
|
66521
|
-
|
|
66794
|
+
init_issuedcontrols();
|
|
66522
66795
|
IssuedCard$inboundSchema = objectType({
|
|
66523
66796
|
issuedCardID: string4(),
|
|
66524
66797
|
brand: CardBrand$inboundSchema,
|
|
@@ -66531,7 +66804,7 @@ var init_issuedcard = __esm(() => {
|
|
|
66531
66804
|
billingAddress: optional3(Address$inboundSchema),
|
|
66532
66805
|
state: IssuedCardState$inboundSchema,
|
|
66533
66806
|
formFactor: IssuedCardFormFactor$inboundSchema,
|
|
66534
|
-
controls: optional3(
|
|
66807
|
+
controls: optional3(IssuedControls$inboundSchema),
|
|
66535
66808
|
createdOn: date4(),
|
|
66536
66809
|
updatedOn: date4()
|
|
66537
66810
|
});
|
|
@@ -66547,7 +66820,7 @@ var init_issuedcard = __esm(() => {
|
|
|
66547
66820
|
billingAddress: Address$outboundSchema.optional(),
|
|
66548
66821
|
state: IssuedCardState$outboundSchema,
|
|
66549
66822
|
formFactor: IssuedCardFormFactor$outboundSchema,
|
|
66550
|
-
controls:
|
|
66823
|
+
controls: IssuedControls$outboundSchema.optional(),
|
|
66551
66824
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
66552
66825
|
updatedOn: dateType().transform((v2) => v2.toISOString())
|
|
66553
66826
|
});
|
|
@@ -66705,6 +66978,59 @@ var init_issuedcardtransaction = __esm(() => {
|
|
|
66705
66978
|
});
|
|
66706
66979
|
});
|
|
66707
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
|
+
|
|
66708
67034
|
// src/models/components/issuingvelocitylimiterror.ts
|
|
66709
67035
|
var IssuingVelocityLimitError$inboundSchema, IssuingVelocityLimitError$outboundSchema;
|
|
66710
67036
|
var init_issuingvelocitylimiterror = __esm(() => {
|
|
@@ -66712,25 +67038,89 @@ var init_issuingvelocitylimiterror = __esm(() => {
|
|
|
66712
67038
|
init_primitives2();
|
|
66713
67039
|
IssuingVelocityLimitError$inboundSchema = objectType({
|
|
66714
67040
|
amount: optional3(string4()),
|
|
67041
|
+
count: optional3(string4()),
|
|
66715
67042
|
interval: optional3(string4())
|
|
66716
67043
|
});
|
|
66717
67044
|
IssuingVelocityLimitError$outboundSchema = objectType({
|
|
66718
67045
|
amount: stringType().optional(),
|
|
67046
|
+
count: stringType().optional(),
|
|
66719
67047
|
interval: stringType().optional()
|
|
66720
67048
|
});
|
|
66721
67049
|
});
|
|
66722
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
|
+
|
|
66723
67102
|
// src/models/components/issuingcontrolserror.ts
|
|
66724
67103
|
var IssuingControlsError$inboundSchema, IssuingControlsError$outboundSchema;
|
|
66725
67104
|
var init_issuingcontrolserror = __esm(() => {
|
|
66726
67105
|
init_v3();
|
|
66727
67106
|
init_primitives2();
|
|
67107
|
+
init_allowedscheduleerror();
|
|
66728
67108
|
init_issuingvelocitylimiterror();
|
|
67109
|
+
init_merchantcategoryrestrictionserror();
|
|
67110
|
+
init_merchantrestrictionserror();
|
|
66729
67111
|
IssuingControlsError$inboundSchema = objectType({
|
|
66730
|
-
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())
|
|
66731
67117
|
});
|
|
66732
67118
|
IssuingControlsError$outboundSchema = objectType({
|
|
66733
|
-
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()
|
|
66734
67124
|
});
|
|
66735
67125
|
});
|
|
66736
67126
|
|
|
@@ -68199,19 +68589,22 @@ var init_paymentlinkpayoutdetailsupdate = __esm(() => {
|
|
|
68199
68589
|
init_v3();
|
|
68200
68590
|
init_primitives2();
|
|
68201
68591
|
init_disbursementpaymentmethodtype();
|
|
68592
|
+
init_feepaidby();
|
|
68202
68593
|
init_payoutrecipient();
|
|
68203
68594
|
init_pushoptionsupdate();
|
|
68204
68595
|
PaymentLinkPayoutDetailsUpdate$inboundSchema = objectType({
|
|
68205
68596
|
allowedMethods: optional3(arrayType(DisbursementPaymentMethodType$inboundSchema)),
|
|
68206
68597
|
recipient: optional3(PayoutRecipient$inboundSchema),
|
|
68207
68598
|
metadata: optional3(recordType(string4())),
|
|
68208
|
-
pushOptions: optional3(PushOptionsUpdate$inboundSchema)
|
|
68599
|
+
pushOptions: optional3(PushOptionsUpdate$inboundSchema),
|
|
68600
|
+
feePaidBy: optional3(recordType(FeePaidBy$inboundSchema))
|
|
68209
68601
|
});
|
|
68210
68602
|
PaymentLinkPayoutDetailsUpdate$outboundSchema = objectType({
|
|
68211
68603
|
allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema).optional(),
|
|
68212
68604
|
recipient: PayoutRecipient$outboundSchema.optional(),
|
|
68213
68605
|
metadata: recordType(stringType()).optional(),
|
|
68214
|
-
pushOptions: PushOptionsUpdate$outboundSchema.optional()
|
|
68606
|
+
pushOptions: PushOptionsUpdate$outboundSchema.optional(),
|
|
68607
|
+
feePaidBy: recordType(FeePaidBy$outboundSchema).optional()
|
|
68215
68608
|
});
|
|
68216
68609
|
});
|
|
68217
68610
|
|
|
@@ -68445,13 +68838,15 @@ var init_payoutdetailserror = __esm(() => {
|
|
|
68445
68838
|
allowedMethods: optional3(string4()),
|
|
68446
68839
|
recipient: optional3(PayoutRecipientError$inboundSchema),
|
|
68447
68840
|
metadata: optional3(string4()),
|
|
68448
|
-
pushOptions: optional3(PushOptionsError$inboundSchema)
|
|
68841
|
+
pushOptions: optional3(PushOptionsError$inboundSchema),
|
|
68842
|
+
feePaidBy: optional3(string4())
|
|
68449
68843
|
});
|
|
68450
68844
|
PayoutDetailsError$outboundSchema = objectType({
|
|
68451
68845
|
allowedMethods: stringType().optional(),
|
|
68452
68846
|
recipient: PayoutRecipientError$outboundSchema.optional(),
|
|
68453
68847
|
metadata: stringType().optional(),
|
|
68454
|
-
pushOptions: PushOptionsError$outboundSchema.optional()
|
|
68848
|
+
pushOptions: PushOptionsError$outboundSchema.optional(),
|
|
68849
|
+
feePaidBy: stringType().optional()
|
|
68455
68850
|
});
|
|
68456
68851
|
});
|
|
68457
68852
|
|
|
@@ -68539,6 +68934,27 @@ var init_platformfees = __esm(() => {
|
|
|
68539
68934
|
});
|
|
68540
68935
|
});
|
|
68541
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
|
+
|
|
68542
68958
|
// src/models/components/productimagemetadata.ts
|
|
68543
68959
|
var ProductImageMetadata$inboundSchema, ProductImageMetadata$outboundSchema;
|
|
68544
68960
|
var init_productimagemetadata = __esm(() => {
|
|
@@ -68607,6 +69023,7 @@ var init_product = __esm(() => {
|
|
|
68607
69023
|
init_v3();
|
|
68608
69024
|
init_primitives2();
|
|
68609
69025
|
init_amountdecimal();
|
|
69026
|
+
init_productcategory();
|
|
68610
69027
|
init_productimagemetadata();
|
|
68611
69028
|
init_productoptiongroup();
|
|
68612
69029
|
Product$inboundSchema = objectType({
|
|
@@ -68616,6 +69033,7 @@ var init_product = __esm(() => {
|
|
|
68616
69033
|
basePrice: AmountDecimal$inboundSchema,
|
|
68617
69034
|
optionGroups: optional3(arrayType(ProductOptionGroup$inboundSchema)),
|
|
68618
69035
|
images: optional3(arrayType(ProductImageMetadata$inboundSchema)),
|
|
69036
|
+
category: optional3(ProductCategory$inboundSchema),
|
|
68619
69037
|
createdOn: date4(),
|
|
68620
69038
|
updatedOn: date4(),
|
|
68621
69039
|
disabledOn: optional3(date4())
|
|
@@ -68627,12 +69045,26 @@ var init_product = __esm(() => {
|
|
|
68627
69045
|
basePrice: AmountDecimal$outboundSchema,
|
|
68628
69046
|
optionGroups: arrayType(ProductOptionGroup$outboundSchema).optional(),
|
|
68629
69047
|
images: arrayType(ProductImageMetadata$outboundSchema).optional(),
|
|
69048
|
+
category: ProductCategory$outboundSchema.optional(),
|
|
68630
69049
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
68631
69050
|
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
68632
69051
|
disabledOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
68633
69052
|
});
|
|
68634
69053
|
});
|
|
68635
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
|
+
|
|
68636
69068
|
// src/models/components/productoptionvalidationerror.ts
|
|
68637
69069
|
var ProductOptionValidationError$inboundSchema, ProductOptionValidationError$outboundSchema;
|
|
68638
69070
|
var init_productoptionvalidationerror = __esm(() => {
|
|
@@ -68689,14 +69121,16 @@ var init_productrequest = __esm(() => {
|
|
|
68689
69121
|
description: optional3(string4()),
|
|
68690
69122
|
basePrice: AmountDecimal$inboundSchema,
|
|
68691
69123
|
images: optional3(arrayType(AssignProductImage$inboundSchema)),
|
|
68692
|
-
optionGroups: optional3(arrayType(CreateProductOptionGroup$inboundSchema))
|
|
69124
|
+
optionGroups: optional3(arrayType(CreateProductOptionGroup$inboundSchema)),
|
|
69125
|
+
categoryID: optional3(string4())
|
|
68693
69126
|
});
|
|
68694
69127
|
ProductRequest$outboundSchema = objectType({
|
|
68695
69128
|
title: stringType(),
|
|
68696
69129
|
description: stringType().optional(),
|
|
68697
69130
|
basePrice: AmountDecimal$outboundSchema,
|
|
68698
69131
|
images: arrayType(AssignProductImage$outboundSchema).optional(),
|
|
68699
|
-
optionGroups: arrayType(CreateProductOptionGroup$outboundSchema).optional()
|
|
69132
|
+
optionGroups: arrayType(CreateProductOptionGroup$outboundSchema).optional(),
|
|
69133
|
+
categoryID: stringType().optional()
|
|
68700
69134
|
});
|
|
68701
69135
|
});
|
|
68702
69136
|
|
|
@@ -70379,12 +70813,67 @@ var init_updateissuedcardstate = __esm(() => {
|
|
|
70379
70813
|
UpdateIssuedCardState$outboundSchema = UpdateIssuedCardState$inboundSchema;
|
|
70380
70814
|
});
|
|
70381
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
|
+
|
|
70382
70870
|
// src/models/components/updateissuedcard.ts
|
|
70383
70871
|
var BillingAddress$inboundSchema, BillingAddress$outboundSchema, UpdateIssuedCard$inboundSchema, UpdateIssuedCard$outboundSchema;
|
|
70384
70872
|
var init_updateissuedcard = __esm(() => {
|
|
70385
70873
|
init_v3();
|
|
70386
70874
|
init_primitives2();
|
|
70387
70875
|
init_updateissuedcardstate();
|
|
70876
|
+
init_updateissuingcontrols();
|
|
70388
70877
|
BillingAddress$inboundSchema = objectType({
|
|
70389
70878
|
addressLine1: optional3(string4()),
|
|
70390
70879
|
addressLine2: optional3(string4()),
|
|
@@ -70405,13 +70894,40 @@ var init_updateissuedcard = __esm(() => {
|
|
|
70405
70894
|
state: optional3(UpdateIssuedCardState$inboundSchema),
|
|
70406
70895
|
nickname: nullableType(string4()).optional(),
|
|
70407
70896
|
metadata: nullableType(recordType(string4())).optional(),
|
|
70408
|
-
billingAddress: nullableType(lazyType(() => BillingAddress$inboundSchema)).optional()
|
|
70897
|
+
billingAddress: nullableType(lazyType(() => BillingAddress$inboundSchema)).optional(),
|
|
70898
|
+
controls: optional3(UpdateIssuingControls$inboundSchema)
|
|
70409
70899
|
});
|
|
70410
70900
|
UpdateIssuedCard$outboundSchema = objectType({
|
|
70411
70901
|
state: UpdateIssuedCardState$outboundSchema.optional(),
|
|
70412
70902
|
nickname: nullableType(stringType()).optional(),
|
|
70413
70903
|
metadata: nullableType(recordType(stringType())).optional(),
|
|
70414
|
-
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()
|
|
70415
70931
|
});
|
|
70416
70932
|
});
|
|
70417
70933
|
|
|
@@ -71826,6 +72342,7 @@ var init_components = __esm(() => {
|
|
|
71826
72342
|
init_addresssuggestion();
|
|
71827
72343
|
init_addressupdate();
|
|
71828
72344
|
init_adjustment();
|
|
72345
|
+
init_allowedscheduleerror();
|
|
71829
72346
|
init_amount();
|
|
71830
72347
|
init_amountdecimal();
|
|
71831
72348
|
init_amountdecimalrange();
|
|
@@ -71850,6 +72367,7 @@ var init_components = __esm(() => {
|
|
|
71850
72367
|
init_asynctransfer();
|
|
71851
72368
|
init_authtoken();
|
|
71852
72369
|
init_authtokenrequest();
|
|
72370
|
+
init_avataruploadrequest();
|
|
71853
72371
|
init_bankaccount();
|
|
71854
72372
|
init_bankaccountexception();
|
|
71855
72373
|
init_bankaccountholdertype();
|
|
@@ -72040,6 +72558,7 @@ var init_components = __esm(() => {
|
|
|
72040
72558
|
init_fednowservices();
|
|
72041
72559
|
init_feecategory();
|
|
72042
72560
|
init_feemodel();
|
|
72561
|
+
init_feepaidby();
|
|
72043
72562
|
init_feeplan();
|
|
72044
72563
|
init_feeplanagreement();
|
|
72045
72564
|
init_feeplanagreementstatus();
|
|
@@ -72111,11 +72630,16 @@ var init_components = __esm(() => {
|
|
|
72111
72630
|
init_issuedcardformfactor();
|
|
72112
72631
|
init_issuedcardstate();
|
|
72113
72632
|
init_issuedcardtransaction();
|
|
72633
|
+
init_issuedcontrols();
|
|
72634
|
+
init_issuedvelocitylimit();
|
|
72114
72635
|
init_issuingauthorizationstatus();
|
|
72115
72636
|
init_issuingcontrols();
|
|
72116
72637
|
init_issuingcontrolserror();
|
|
72638
|
+
init_issuingcontrolsrestrictionmode();
|
|
72117
72639
|
init_issuingintervallimit();
|
|
72640
|
+
init_issuingmerchantcategory();
|
|
72118
72641
|
init_issuingmerchantdata();
|
|
72642
|
+
init_issuingscheduleday();
|
|
72119
72643
|
init_issuingvelocitylimit();
|
|
72120
72644
|
init_issuingvelocitylimiterror();
|
|
72121
72645
|
init_itemlistnextpage();
|
|
@@ -72134,6 +72658,12 @@ var init_components = __esm(() => {
|
|
|
72134
72658
|
init_listfeesfetchrequest();
|
|
72135
72659
|
init_manualtermsofservice();
|
|
72136
72660
|
init_manualtermsofserviceupdate();
|
|
72661
|
+
init_merchantcategoryrestrictions();
|
|
72662
|
+
init_merchantcategoryrestrictionserror();
|
|
72663
|
+
init_merchantentry();
|
|
72664
|
+
init_merchantentryerror();
|
|
72665
|
+
init_merchantrestrictions();
|
|
72666
|
+
init_merchantrestrictionserror();
|
|
72137
72667
|
init_microdepositstatus();
|
|
72138
72668
|
init_minimumcommitment();
|
|
72139
72669
|
init_mode();
|
|
@@ -72206,6 +72736,8 @@ var init_components = __esm(() => {
|
|
|
72206
72736
|
init_platformfees();
|
|
72207
72737
|
init_primaryregulator();
|
|
72208
72738
|
init_product();
|
|
72739
|
+
init_productcategories();
|
|
72740
|
+
init_productcategory();
|
|
72209
72741
|
init_productimagemetadata();
|
|
72210
72742
|
init_productoption();
|
|
72211
72743
|
init_productoptiongroup();
|
|
@@ -72275,6 +72807,8 @@ var init_components = __esm(() => {
|
|
|
72275
72807
|
init_schedulelistresponse();
|
|
72276
72808
|
init_schedulepaymentmethod();
|
|
72277
72809
|
init_scheduleresponse();
|
|
72810
|
+
init_schedulewindow();
|
|
72811
|
+
init_schedulewindowerror();
|
|
72278
72812
|
init_seccode();
|
|
72279
72813
|
init_security2();
|
|
72280
72814
|
init_sendfunds();
|
|
@@ -72331,6 +72865,7 @@ var init_components = __esm(() => {
|
|
|
72331
72865
|
init_transferdestination();
|
|
72332
72866
|
init_transferentrymode();
|
|
72333
72867
|
init_transferfailurereason();
|
|
72868
|
+
init_transferfeepaidby();
|
|
72334
72869
|
init_transferlineitem();
|
|
72335
72870
|
init_transferlineitemimagemetadata();
|
|
72336
72871
|
init_transferlineitemoption();
|
|
@@ -72356,6 +72891,8 @@ var init_components = __esm(() => {
|
|
|
72356
72891
|
init_updateinvoice();
|
|
72357
72892
|
init_updateissuedcard();
|
|
72358
72893
|
init_updateissuedcardstate();
|
|
72894
|
+
init_updateissuingcontrols();
|
|
72895
|
+
init_updateissuingcontrolserror();
|
|
72359
72896
|
init_updatepaymentlink();
|
|
72360
72897
|
init_updatepaymentlinkamountdetails();
|
|
72361
72898
|
init_updatepaymentlinkamountdetailsvalidationerror();
|
|
@@ -74279,6 +74816,7 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74279
74816
|
basePrice;
|
|
74280
74817
|
images;
|
|
74281
74818
|
optionGroups;
|
|
74819
|
+
categoryID;
|
|
74282
74820
|
data$;
|
|
74283
74821
|
constructor(err, httpMeta) {
|
|
74284
74822
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -74294,6 +74832,8 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74294
74832
|
this.images = err.images;
|
|
74295
74833
|
if (err.optionGroups != null)
|
|
74296
74834
|
this.optionGroups = err.optionGroups;
|
|
74835
|
+
if (err.categoryID != null)
|
|
74836
|
+
this.categoryID = err.categoryID;
|
|
74297
74837
|
this.name = "ProductRequestValidationError";
|
|
74298
74838
|
}
|
|
74299
74839
|
};
|
|
@@ -74303,6 +74843,7 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74303
74843
|
basePrice: optional3(AmountDecimalValidationError$inboundSchema),
|
|
74304
74844
|
images: optional3(recordType(AssignProductImageValidationError$inboundSchema)),
|
|
74305
74845
|
optionGroups: optional3(recordType(ProductOptionGroupValidationError$inboundSchema)),
|
|
74846
|
+
categoryID: optional3(string4()),
|
|
74306
74847
|
request$: instanceOfType(Request),
|
|
74307
74848
|
response$: instanceOfType(Response),
|
|
74308
74849
|
body$: stringType()
|
|
@@ -74318,7 +74859,8 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74318
74859
|
description: stringType().optional(),
|
|
74319
74860
|
basePrice: AmountDecimalValidationError$outboundSchema.optional(),
|
|
74320
74861
|
images: recordType(AssignProductImageValidationError$outboundSchema).optional(),
|
|
74321
|
-
optionGroups: recordType(ProductOptionGroupValidationError$outboundSchema).optional()
|
|
74862
|
+
optionGroups: recordType(ProductOptionGroupValidationError$outboundSchema).optional(),
|
|
74863
|
+
categoryID: stringType().optional()
|
|
74322
74864
|
}));
|
|
74323
74865
|
});
|
|
74324
74866
|
|
|
@@ -75198,6 +75740,7 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
75198
75740
|
nickname;
|
|
75199
75741
|
metadata;
|
|
75200
75742
|
billingAddress;
|
|
75743
|
+
controls;
|
|
75201
75744
|
data$;
|
|
75202
75745
|
constructor(err, httpMeta) {
|
|
75203
75746
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -75211,6 +75754,8 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
75211
75754
|
this.metadata = err.metadata;
|
|
75212
75755
|
if (err.billingAddress != null)
|
|
75213
75756
|
this.billingAddress = err.billingAddress;
|
|
75757
|
+
if (err.controls != null)
|
|
75758
|
+
this.controls = err.controls;
|
|
75214
75759
|
this.name = "UpdateIssuedCardError";
|
|
75215
75760
|
}
|
|
75216
75761
|
};
|
|
@@ -75219,6 +75764,7 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
75219
75764
|
nickname: optional3(string4()),
|
|
75220
75765
|
metadata: optional3(string4()),
|
|
75221
75766
|
billingAddress: optional3(AddressError$inboundSchema),
|
|
75767
|
+
controls: optional3(UpdateIssuingControlsError$inboundSchema),
|
|
75222
75768
|
request$: instanceOfType(Request),
|
|
75223
75769
|
response$: instanceOfType(Response),
|
|
75224
75770
|
body$: stringType()
|
|
@@ -75233,7 +75779,8 @@ var init_updateissuedcarderror = __esm(() => {
|
|
|
75233
75779
|
state: stringType().optional(),
|
|
75234
75780
|
nickname: stringType().optional(),
|
|
75235
75781
|
metadata: stringType().optional(),
|
|
75236
|
-
billingAddress: AddressError$outboundSchema.optional()
|
|
75782
|
+
billingAddress: AddressError$outboundSchema.optional(),
|
|
75783
|
+
controls: UpdateIssuingControlsError$outboundSchema.optional()
|
|
75237
75784
|
}));
|
|
75238
75785
|
});
|
|
75239
75786
|
|
|
@@ -76959,6 +77506,42 @@ var init_createwebhook2 = __esm(() => {
|
|
|
76959
77506
|
});
|
|
76960
77507
|
});
|
|
76961
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
|
+
|
|
76962
77545
|
// src/models/operations/deletedisputeevidencefile.ts
|
|
76963
77546
|
var DeleteDisputeEvidenceFileRequest$inboundSchema, DeleteDisputeEvidenceFileRequest$outboundSchema, DeleteDisputeEvidenceFileResponse$inboundSchema, DeleteDisputeEvidenceFileResponse$outboundSchema;
|
|
76964
77547
|
var init_deletedisputeevidencefile = __esm(() => {
|
|
@@ -80790,6 +81373,32 @@ var init_listpaymentmethods = __esm(() => {
|
|
|
80790
81373
|
});
|
|
80791
81374
|
});
|
|
80792
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
|
+
|
|
80793
81402
|
// src/models/operations/listproducts.ts
|
|
80794
81403
|
var ListProductsRequest$inboundSchema, ListProductsRequest$outboundSchema, ListProductsResponse$inboundSchema, ListProductsResponse$outboundSchema;
|
|
80795
81404
|
var init_listproducts = __esm(() => {
|
|
@@ -80800,12 +81409,14 @@ var init_listproducts = __esm(() => {
|
|
|
80800
81409
|
ListProductsRequest$inboundSchema = objectType({
|
|
80801
81410
|
accountID: string4(),
|
|
80802
81411
|
title: optional3(string4()),
|
|
81412
|
+
category: optional3(string4()),
|
|
80803
81413
|
skip: optional3(number4()),
|
|
80804
81414
|
count: optional3(number4())
|
|
80805
81415
|
});
|
|
80806
81416
|
ListProductsRequest$outboundSchema = objectType({
|
|
80807
81417
|
accountID: stringType(),
|
|
80808
81418
|
title: stringType().optional(),
|
|
81419
|
+
category: stringType().optional(),
|
|
80809
81420
|
skip: numberType().int().optional(),
|
|
80810
81421
|
count: numberType().int().optional()
|
|
80811
81422
|
});
|
|
@@ -82720,6 +83331,53 @@ var init_updatewebhook2 = __esm(() => {
|
|
|
82720
83331
|
});
|
|
82721
83332
|
});
|
|
82722
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
|
+
|
|
82723
83381
|
// src/models/operations/uploaddisputeevidencefile.ts
|
|
82724
83382
|
var UploadDisputeEvidenceFileRequest$inboundSchema, UploadDisputeEvidenceFileRequest$outboundSchema, UploadDisputeEvidenceFileResponse$inboundSchema, UploadDisputeEvidenceFileResponse$outboundSchema;
|
|
82725
83383
|
var init_uploaddisputeevidencefile = __esm(() => {
|
|
@@ -83017,6 +83675,7 @@ var init_operations = __esm(() => {
|
|
|
83017
83675
|
init_createtransferoptions2();
|
|
83018
83676
|
init_createwallet2();
|
|
83019
83677
|
init_createwebhook2();
|
|
83678
|
+
init_deleteavatar();
|
|
83020
83679
|
init_deletedisputeevidencefile();
|
|
83021
83680
|
init_deleteimage();
|
|
83022
83681
|
init_deleteinvoice();
|
|
@@ -83121,6 +83780,7 @@ var init_operations = __esm(() => {
|
|
|
83121
83780
|
init_listpartnerpricingagreements();
|
|
83122
83781
|
init_listpaymentlinks();
|
|
83123
83782
|
init_listpaymentmethods();
|
|
83783
|
+
init_listproductcategories();
|
|
83124
83784
|
init_listproducts();
|
|
83125
83785
|
init_listreceipts();
|
|
83126
83786
|
init_listrefunds();
|
|
@@ -83169,6 +83829,7 @@ var init_operations = __esm(() => {
|
|
|
83169
83829
|
init_updatetransferconfig();
|
|
83170
83830
|
init_updatewallet();
|
|
83171
83831
|
init_updatewebhook2();
|
|
83832
|
+
init_uploadavatar();
|
|
83172
83833
|
init_uploaddisputeevidencefile();
|
|
83173
83834
|
init_uploaddisputeevidencetext();
|
|
83174
83835
|
init_uploadfile();
|
|
@@ -97202,6 +97863,7 @@ async function $do121(client, request, options) {
|
|
|
97202
97863
|
};
|
|
97203
97864
|
const path = pathToFunc("/accounts/{accountID}/products")(pathParams);
|
|
97204
97865
|
const query = encodeFormQuery({
|
|
97866
|
+
category: payload.category,
|
|
97205
97867
|
count: payload.count,
|
|
97206
97868
|
skip: payload.skip,
|
|
97207
97869
|
title: payload.title
|
|
@@ -97297,11 +97959,99 @@ var init_productsList2 = __esm(() => {
|
|
|
97297
97959
|
};
|
|
97298
97960
|
});
|
|
97299
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
|
+
|
|
97300
98050
|
// src/funcs/productsUpdate.ts
|
|
97301
98051
|
function productsUpdate(client, request, options) {
|
|
97302
|
-
return new APIPromise($
|
|
98052
|
+
return new APIPromise($do123(client, request, options));
|
|
97303
98053
|
}
|
|
97304
|
-
async function $
|
|
98054
|
+
async function $do123(client, request, options) {
|
|
97305
98055
|
const parsed = safeParse4(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97306
98056
|
if (!parsed.ok) {
|
|
97307
98057
|
return [parsed, { status: "invalid" }];
|
|
@@ -97415,9 +98165,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
97415
98165
|
|
|
97416
98166
|
// src/funcs/receiptsCreate.ts
|
|
97417
98167
|
function receiptsCreate(client, request, options) {
|
|
97418
|
-
return new APIPromise($
|
|
98168
|
+
return new APIPromise($do124(client, request, options));
|
|
97419
98169
|
}
|
|
97420
|
-
async function $
|
|
98170
|
+
async function $do124(client, request, options) {
|
|
97421
98171
|
const parsed = safeParse4(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
97422
98172
|
if (!parsed.ok) {
|
|
97423
98173
|
return [parsed, { status: "invalid" }];
|
|
@@ -97525,9 +98275,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
97525
98275
|
|
|
97526
98276
|
// src/funcs/receiptsList.ts
|
|
97527
98277
|
function receiptsList(client, request, options) {
|
|
97528
|
-
return new APIPromise($
|
|
98278
|
+
return new APIPromise($do125(client, request, options));
|
|
97529
98279
|
}
|
|
97530
|
-
async function $
|
|
98280
|
+
async function $do125(client, request, options) {
|
|
97531
98281
|
const parsed = safeParse4(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97532
98282
|
if (!parsed.ok) {
|
|
97533
98283
|
return [parsed, { status: "invalid" }];
|
|
@@ -97634,9 +98384,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
97634
98384
|
|
|
97635
98385
|
// src/funcs/representativesCreate.ts
|
|
97636
98386
|
function representativesCreate(client, request, options) {
|
|
97637
|
-
return new APIPromise($
|
|
98387
|
+
return new APIPromise($do126(client, request, options));
|
|
97638
98388
|
}
|
|
97639
|
-
async function $
|
|
98389
|
+
async function $do126(client, request, options) {
|
|
97640
98390
|
const parsed = safeParse4(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97641
98391
|
if (!parsed.ok) {
|
|
97642
98392
|
return [parsed, { status: "invalid" }];
|
|
@@ -97753,9 +98503,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
97753
98503
|
|
|
97754
98504
|
// src/funcs/representativesDelete.ts
|
|
97755
98505
|
function representativesDelete(client, request, options) {
|
|
97756
|
-
return new APIPromise($
|
|
98506
|
+
return new APIPromise($do127(client, request, options));
|
|
97757
98507
|
}
|
|
97758
|
-
async function $
|
|
98508
|
+
async function $do127(client, request, options) {
|
|
97759
98509
|
const parsed = safeParse4(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97760
98510
|
if (!parsed.ok) {
|
|
97761
98511
|
return [parsed, { status: "invalid" }];
|
|
@@ -97863,9 +98613,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
97863
98613
|
|
|
97864
98614
|
// src/funcs/representativesGet.ts
|
|
97865
98615
|
function representativesGet(client, request, options) {
|
|
97866
|
-
return new APIPromise($
|
|
98616
|
+
return new APIPromise($do128(client, request, options));
|
|
97867
98617
|
}
|
|
97868
|
-
async function $
|
|
98618
|
+
async function $do128(client, request, options) {
|
|
97869
98619
|
const parsed = safeParse4(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97870
98620
|
if (!parsed.ok) {
|
|
97871
98621
|
return [parsed, { status: "invalid" }];
|
|
@@ -97975,9 +98725,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
97975
98725
|
|
|
97976
98726
|
// src/funcs/representativesList.ts
|
|
97977
98727
|
function representativesList(client, request, options) {
|
|
97978
|
-
return new APIPromise($
|
|
98728
|
+
return new APIPromise($do129(client, request, options));
|
|
97979
98729
|
}
|
|
97980
|
-
async function $
|
|
98730
|
+
async function $do129(client, request, options) {
|
|
97981
98731
|
const parsed = safeParse4(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97982
98732
|
if (!parsed.ok) {
|
|
97983
98733
|
return [parsed, { status: "invalid" }];
|
|
@@ -98089,9 +98839,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
98089
98839
|
|
|
98090
98840
|
// src/funcs/representativesUpdate.ts
|
|
98091
98841
|
function representativesUpdate(client, request, options) {
|
|
98092
|
-
return new APIPromise($
|
|
98842
|
+
return new APIPromise($do130(client, request, options));
|
|
98093
98843
|
}
|
|
98094
|
-
async function $
|
|
98844
|
+
async function $do130(client, request, options) {
|
|
98095
98845
|
const parsed = safeParse4(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98096
98846
|
if (!parsed.ok) {
|
|
98097
98847
|
return [parsed, { status: "invalid" }];
|
|
@@ -98218,9 +98968,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
98218
98968
|
|
|
98219
98969
|
// src/funcs/resolutionLinksCreate.ts
|
|
98220
98970
|
function resolutionLinksCreate(client, request, options) {
|
|
98221
|
-
return new APIPromise($
|
|
98971
|
+
return new APIPromise($do131(client, request, options));
|
|
98222
98972
|
}
|
|
98223
|
-
async function $
|
|
98973
|
+
async function $do131(client, request, options) {
|
|
98224
98974
|
const parsed = safeParse4(request, (value) => CreateResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98225
98975
|
if (!parsed.ok) {
|
|
98226
98976
|
return [parsed, { status: "invalid" }];
|
|
@@ -98337,9 +99087,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\`, \`/accounts/
|
|
|
98337
99087
|
|
|
98338
99088
|
// src/funcs/resolutionLinksDisable.ts
|
|
98339
99089
|
function resolutionLinksDisable(client, request, options) {
|
|
98340
|
-
return new APIPromise($
|
|
99090
|
+
return new APIPromise($do132(client, request, options));
|
|
98341
99091
|
}
|
|
98342
|
-
async function $
|
|
99092
|
+
async function $do132(client, request, options) {
|
|
98343
99093
|
const parsed = safeParse4(request, (value) => DisableResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98344
99094
|
if (!parsed.ok) {
|
|
98345
99095
|
return [parsed, { status: "invalid" }];
|
|
@@ -98447,9 +99197,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
98447
99197
|
|
|
98448
99198
|
// src/funcs/resolutionLinksGet.ts
|
|
98449
99199
|
function resolutionLinksGet(client, request, options) {
|
|
98450
|
-
return new APIPromise($
|
|
99200
|
+
return new APIPromise($do133(client, request, options));
|
|
98451
99201
|
}
|
|
98452
|
-
async function $
|
|
99202
|
+
async function $do133(client, request, options) {
|
|
98453
99203
|
const parsed = safeParse4(request, (value) => GetResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98454
99204
|
if (!parsed.ok) {
|
|
98455
99205
|
return [parsed, { status: "invalid" }];
|
|
@@ -98559,9 +99309,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
98559
99309
|
|
|
98560
99310
|
// src/funcs/resolutionLinksList.ts
|
|
98561
99311
|
function resolutionLinksList(client, request, options) {
|
|
98562
|
-
return new APIPromise($
|
|
99312
|
+
return new APIPromise($do134(client, request, options));
|
|
98563
99313
|
}
|
|
98564
|
-
async function $
|
|
99314
|
+
async function $do134(client, request, options) {
|
|
98565
99315
|
const parsed = safeParse4(request, (value) => ListResolutionLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98566
99316
|
if (!parsed.ok) {
|
|
98567
99317
|
return [parsed, { status: "invalid" }];
|
|
@@ -98670,9 +99420,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
98670
99420
|
|
|
98671
99421
|
// src/funcs/schedulingCancel.ts
|
|
98672
99422
|
function schedulingCancel(client, request, options) {
|
|
98673
|
-
return new APIPromise($
|
|
99423
|
+
return new APIPromise($do135(client, request, options));
|
|
98674
99424
|
}
|
|
98675
|
-
async function $
|
|
99425
|
+
async function $do135(client, request, options) {
|
|
98676
99426
|
const parsed = safeParse4(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98677
99427
|
if (!parsed.ok) {
|
|
98678
99428
|
return [parsed, { status: "invalid" }];
|
|
@@ -98783,9 +99533,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98783
99533
|
|
|
98784
99534
|
// src/funcs/schedulingCreate.ts
|
|
98785
99535
|
function schedulingCreate(client, request, options) {
|
|
98786
|
-
return new APIPromise($
|
|
99536
|
+
return new APIPromise($do136(client, request, options));
|
|
98787
99537
|
}
|
|
98788
|
-
async function $
|
|
99538
|
+
async function $do136(client, request, options) {
|
|
98789
99539
|
const parsed = safeParse4(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98790
99540
|
if (!parsed.ok) {
|
|
98791
99541
|
return [parsed, { status: "invalid" }];
|
|
@@ -98898,9 +99648,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98898
99648
|
|
|
98899
99649
|
// src/funcs/schedulingGet.ts
|
|
98900
99650
|
function schedulingGet(client, request, options) {
|
|
98901
|
-
return new APIPromise($
|
|
99651
|
+
return new APIPromise($do137(client, request, options));
|
|
98902
99652
|
}
|
|
98903
|
-
async function $
|
|
99653
|
+
async function $do137(client, request, options) {
|
|
98904
99654
|
const parsed = safeParse4(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98905
99655
|
if (!parsed.ok) {
|
|
98906
99656
|
return [parsed, { status: "invalid" }];
|
|
@@ -99013,9 +99763,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99013
99763
|
|
|
99014
99764
|
// src/funcs/schedulingGetOccurrance.ts
|
|
99015
99765
|
function schedulingGetOccurrance(client, request, options) {
|
|
99016
|
-
return new APIPromise($
|
|
99766
|
+
return new APIPromise($do138(client, request, options));
|
|
99017
99767
|
}
|
|
99018
|
-
async function $
|
|
99768
|
+
async function $do138(client, request, options) {
|
|
99019
99769
|
const parsed = safeParse4(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99020
99770
|
if (!parsed.ok) {
|
|
99021
99771
|
return [parsed, { status: "invalid" }];
|
|
@@ -99129,9 +99879,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99129
99879
|
|
|
99130
99880
|
// src/funcs/schedulingList.ts
|
|
99131
99881
|
function schedulingList(client, request, options) {
|
|
99132
|
-
return new APIPromise($
|
|
99882
|
+
return new APIPromise($do139(client, request, options));
|
|
99133
99883
|
}
|
|
99134
|
-
async function $
|
|
99884
|
+
async function $do139(client, request, options) {
|
|
99135
99885
|
const parsed = safeParse4(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99136
99886
|
if (!parsed.ok) {
|
|
99137
99887
|
return [parsed, { status: "invalid" }];
|
|
@@ -99246,9 +99996,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99246
99996
|
|
|
99247
99997
|
// src/funcs/schedulingUpdate.ts
|
|
99248
99998
|
function schedulingUpdate(client, request, options) {
|
|
99249
|
-
return new APIPromise($
|
|
99999
|
+
return new APIPromise($do140(client, request, options));
|
|
99250
100000
|
}
|
|
99251
|
-
async function $
|
|
100001
|
+
async function $do140(client, request, options) {
|
|
99252
100002
|
const parsed = safeParse4(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99253
100003
|
if (!parsed.ok) {
|
|
99254
100004
|
return [parsed, { status: "invalid" }];
|
|
@@ -99365,9 +100115,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
99365
100115
|
|
|
99366
100116
|
// src/funcs/statementsGet.ts
|
|
99367
100117
|
function statementsGet(client, request, options) {
|
|
99368
|
-
return new APIPromise($
|
|
100118
|
+
return new APIPromise($do141(client, request, options));
|
|
99369
100119
|
}
|
|
99370
|
-
async function $
|
|
100120
|
+
async function $do141(client, request, options) {
|
|
99371
100121
|
const parsed = safeParse4(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99372
100122
|
if (!parsed.ok) {
|
|
99373
100123
|
return [parsed, { status: "invalid" }];
|
|
@@ -99486,9 +100236,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99486
100236
|
|
|
99487
100237
|
// src/funcs/statementsList.ts
|
|
99488
100238
|
function statementsList(client, request, options) {
|
|
99489
|
-
return new APIPromise($
|
|
100239
|
+
return new APIPromise($do142(client, request, options));
|
|
99490
100240
|
}
|
|
99491
|
-
async function $
|
|
100241
|
+
async function $do142(client, request, options) {
|
|
99492
100242
|
const parsed = safeParse4(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99493
100243
|
if (!parsed.ok) {
|
|
99494
100244
|
return [parsed, { status: "invalid" }];
|
|
@@ -99605,9 +100355,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99605
100355
|
|
|
99606
100356
|
// src/funcs/supportCreateTicket.ts
|
|
99607
100357
|
function supportCreateTicket(client, request, options) {
|
|
99608
|
-
return new APIPromise($
|
|
100358
|
+
return new APIPromise($do143(client, request, options));
|
|
99609
100359
|
}
|
|
99610
|
-
async function $
|
|
100360
|
+
async function $do143(client, request, options) {
|
|
99611
100361
|
const parsed = safeParse4(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99612
100362
|
if (!parsed.ok) {
|
|
99613
100363
|
return [parsed, { status: "invalid" }];
|
|
@@ -99721,9 +100471,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
99721
100471
|
|
|
99722
100472
|
// src/funcs/supportGetTicket.ts
|
|
99723
100473
|
function supportGetTicket(client, request, options) {
|
|
99724
|
-
return new APIPromise($
|
|
100474
|
+
return new APIPromise($do144(client, request, options));
|
|
99725
100475
|
}
|
|
99726
|
-
async function $
|
|
100476
|
+
async function $do144(client, request, options) {
|
|
99727
100477
|
const parsed = safeParse4(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99728
100478
|
if (!parsed.ok) {
|
|
99729
100479
|
return [parsed, { status: "invalid" }];
|
|
@@ -99839,9 +100589,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
99839
100589
|
|
|
99840
100590
|
// src/funcs/supportListTicketMessages.ts
|
|
99841
100591
|
function supportListTicketMessages(client, request, options) {
|
|
99842
|
-
return new APIPromise($
|
|
100592
|
+
return new APIPromise($do145(client, request, options));
|
|
99843
100593
|
}
|
|
99844
|
-
async function $
|
|
100594
|
+
async function $do145(client, request, options) {
|
|
99845
100595
|
const parsed = safeParse4(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99846
100596
|
if (!parsed.ok) {
|
|
99847
100597
|
return [parsed, { status: "invalid" }];
|
|
@@ -99957,9 +100707,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
99957
100707
|
|
|
99958
100708
|
// src/funcs/supportListTickets.ts
|
|
99959
100709
|
function supportListTickets(client, request, options) {
|
|
99960
|
-
return new APIPromise($
|
|
100710
|
+
return new APIPromise($do146(client, request, options));
|
|
99961
100711
|
}
|
|
99962
|
-
async function $
|
|
100712
|
+
async function $do146(client, request, options) {
|
|
99963
100713
|
const parsed = safeParse4(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99964
100714
|
if (!parsed.ok) {
|
|
99965
100715
|
return [parsed, { status: "invalid" }];
|
|
@@ -100078,9 +100828,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
100078
100828
|
|
|
100079
100829
|
// src/funcs/supportUpdateTicket.ts
|
|
100080
100830
|
function supportUpdateTicket(client, request, options) {
|
|
100081
|
-
return new APIPromise($
|
|
100831
|
+
return new APIPromise($do147(client, request, options));
|
|
100082
100832
|
}
|
|
100083
|
-
async function $
|
|
100833
|
+
async function $do147(client, request, options) {
|
|
100084
100834
|
const parsed = safeParse4(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100085
100835
|
if (!parsed.ok) {
|
|
100086
100836
|
return [parsed, { status: "invalid" }];
|
|
@@ -100198,9 +100948,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
100198
100948
|
|
|
100199
100949
|
// src/funcs/sweepsCreateConfig.ts
|
|
100200
100950
|
function sweepsCreateConfig(client, request, options) {
|
|
100201
|
-
return new APIPromise($
|
|
100951
|
+
return new APIPromise($do148(client, request, options));
|
|
100202
100952
|
}
|
|
100203
|
-
async function $
|
|
100953
|
+
async function $do148(client, request, options) {
|
|
100204
100954
|
const parsed = safeParse4(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100205
100955
|
if (!parsed.ok) {
|
|
100206
100956
|
return [parsed, { status: "invalid" }];
|
|
@@ -100311,9 +101061,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100311
101061
|
|
|
100312
101062
|
// src/funcs/sweepsGet.ts
|
|
100313
101063
|
function sweepsGet(client, request, options) {
|
|
100314
|
-
return new APIPromise($
|
|
101064
|
+
return new APIPromise($do149(client, request, options));
|
|
100315
101065
|
}
|
|
100316
|
-
async function $
|
|
101066
|
+
async function $do149(client, request, options) {
|
|
100317
101067
|
const parsed = safeParse4(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100318
101068
|
if (!parsed.ok) {
|
|
100319
101069
|
return [parsed, { status: "invalid" }];
|
|
@@ -100430,9 +101180,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100430
101180
|
|
|
100431
101181
|
// src/funcs/sweepsGetConfig.ts
|
|
100432
101182
|
function sweepsGetConfig(client, request, options) {
|
|
100433
|
-
return new APIPromise($
|
|
101183
|
+
return new APIPromise($do150(client, request, options));
|
|
100434
101184
|
}
|
|
100435
|
-
async function $
|
|
101185
|
+
async function $do150(client, request, options) {
|
|
100436
101186
|
const parsed = safeParse4(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100437
101187
|
if (!parsed.ok) {
|
|
100438
101188
|
return [parsed, { status: "invalid" }];
|
|
@@ -100545,9 +101295,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100545
101295
|
|
|
100546
101296
|
// src/funcs/sweepsList.ts
|
|
100547
101297
|
function sweepsList(client, request, options) {
|
|
100548
|
-
return new APIPromise($
|
|
101298
|
+
return new APIPromise($do151(client, request, options));
|
|
100549
101299
|
}
|
|
100550
|
-
async function $
|
|
101300
|
+
async function $do151(client, request, options) {
|
|
100551
101301
|
const parsed = safeParse4(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100552
101302
|
if (!parsed.ok) {
|
|
100553
101303
|
return [parsed, { status: "invalid" }];
|
|
@@ -100667,9 +101417,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100667
101417
|
|
|
100668
101418
|
// src/funcs/sweepsListConfigs.ts
|
|
100669
101419
|
function sweepsListConfigs(client, request, options) {
|
|
100670
|
-
return new APIPromise($
|
|
101420
|
+
return new APIPromise($do152(client, request, options));
|
|
100671
101421
|
}
|
|
100672
|
-
async function $
|
|
101422
|
+
async function $do152(client, request, options) {
|
|
100673
101423
|
const parsed = safeParse4(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100674
101424
|
if (!parsed.ok) {
|
|
100675
101425
|
return [parsed, { status: "invalid" }];
|
|
@@ -100778,9 +101528,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100778
101528
|
|
|
100779
101529
|
// src/funcs/sweepsUpdateConfig.ts
|
|
100780
101530
|
function sweepsUpdateConfig(client, request, options) {
|
|
100781
|
-
return new APIPromise($
|
|
101531
|
+
return new APIPromise($do153(client, request, options));
|
|
100782
101532
|
}
|
|
100783
|
-
async function $
|
|
101533
|
+
async function $do153(client, request, options) {
|
|
100784
101534
|
const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100785
101535
|
if (!parsed.ok) {
|
|
100786
101536
|
return [parsed, { status: "invalid" }];
|
|
@@ -100895,9 +101645,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100895
101645
|
|
|
100896
101646
|
// src/funcs/terminalApplicationsCreate.ts
|
|
100897
101647
|
function terminalApplicationsCreate(client, request, options) {
|
|
100898
|
-
return new APIPromise($
|
|
101648
|
+
return new APIPromise($do154(client, request, options));
|
|
100899
101649
|
}
|
|
100900
|
-
async function $
|
|
101650
|
+
async function $do154(client, request, options) {
|
|
100901
101651
|
const parsed = safeParse4(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
100902
101652
|
if (!parsed.ok) {
|
|
100903
101653
|
return [parsed, { status: "invalid" }];
|
|
@@ -101005,9 +101755,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
101005
101755
|
|
|
101006
101756
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
101007
101757
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
101008
|
-
return new APIPromise($
|
|
101758
|
+
return new APIPromise($do155(client, request, options));
|
|
101009
101759
|
}
|
|
101010
|
-
async function $
|
|
101760
|
+
async function $do155(client, request, options) {
|
|
101011
101761
|
const parsed = safeParse4(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101012
101762
|
if (!parsed.ok) {
|
|
101013
101763
|
return [parsed, { status: "invalid" }];
|
|
@@ -101116,9 +101866,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
101116
101866
|
|
|
101117
101867
|
// src/funcs/terminalApplicationsDelete.ts
|
|
101118
101868
|
function terminalApplicationsDelete(client, request, options) {
|
|
101119
|
-
return new APIPromise($
|
|
101869
|
+
return new APIPromise($do156(client, request, options));
|
|
101120
101870
|
}
|
|
101121
|
-
async function $
|
|
101871
|
+
async function $do156(client, request, options) {
|
|
101122
101872
|
const parsed = safeParse4(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101123
101873
|
if (!parsed.ok) {
|
|
101124
101874
|
return [parsed, { status: "invalid" }];
|
|
@@ -101222,9 +101972,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
101222
101972
|
|
|
101223
101973
|
// src/funcs/terminalApplicationsGet.ts
|
|
101224
101974
|
function terminalApplicationsGet(client, request, options) {
|
|
101225
|
-
return new APIPromise($
|
|
101975
|
+
return new APIPromise($do157(client, request, options));
|
|
101226
101976
|
}
|
|
101227
|
-
async function $
|
|
101977
|
+
async function $do157(client, request, options) {
|
|
101228
101978
|
const parsed = safeParse4(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101229
101979
|
if (!parsed.ok) {
|
|
101230
101980
|
return [parsed, { status: "invalid" }];
|
|
@@ -101330,9 +102080,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
101330
102080
|
|
|
101331
102081
|
// src/funcs/terminalApplicationsList.ts
|
|
101332
102082
|
function terminalApplicationsList(client, options) {
|
|
101333
|
-
return new APIPromise($
|
|
102083
|
+
return new APIPromise($do158(client, options));
|
|
101334
102084
|
}
|
|
101335
|
-
async function $
|
|
102085
|
+
async function $do158(client, options) {
|
|
101336
102086
|
const path = pathToFunc("/terminal-applications")();
|
|
101337
102087
|
const headers = new Headers(compactMap({
|
|
101338
102088
|
Accept: "application/json"
|
|
@@ -101421,9 +102171,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
101421
102171
|
|
|
101422
102172
|
// src/funcs/transferConfigCreate.ts
|
|
101423
102173
|
function transferConfigCreate(client, request, options) {
|
|
101424
|
-
return new APIPromise($
|
|
102174
|
+
return new APIPromise($do159(client, request, options));
|
|
101425
102175
|
}
|
|
101426
|
-
async function $
|
|
102176
|
+
async function $do159(client, request, options) {
|
|
101427
102177
|
const parsed = safeParse4(request, (value) => CreateTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101428
102178
|
if (!parsed.ok) {
|
|
101429
102179
|
return [parsed, { status: "invalid" }];
|
|
@@ -101535,9 +102285,9 @@ var init_transferConfigCreate2 = __esm(() => {
|
|
|
101535
102285
|
|
|
101536
102286
|
// src/funcs/transferConfigGet.ts
|
|
101537
102287
|
function transferConfigGet(client, request, options) {
|
|
101538
|
-
return new APIPromise($
|
|
102288
|
+
return new APIPromise($do160(client, request, options));
|
|
101539
102289
|
}
|
|
101540
|
-
async function $
|
|
102290
|
+
async function $do160(client, request, options) {
|
|
101541
102291
|
const parsed = safeParse4(request, (value) => GetTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101542
102292
|
if (!parsed.ok) {
|
|
101543
102293
|
return [parsed, { status: "invalid" }];
|
|
@@ -101643,9 +102393,9 @@ var init_transferConfigGet2 = __esm(() => {
|
|
|
101643
102393
|
|
|
101644
102394
|
// src/funcs/transferConfigUpdate.ts
|
|
101645
102395
|
function transferConfigUpdate(client, request, options) {
|
|
101646
|
-
return new APIPromise($
|
|
102396
|
+
return new APIPromise($do161(client, request, options));
|
|
101647
102397
|
}
|
|
101648
|
-
async function $
|
|
102398
|
+
async function $do161(client, request, options) {
|
|
101649
102399
|
const parsed = safeParse4(request, (value) => UpdateTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101650
102400
|
if (!parsed.ok) {
|
|
101651
102401
|
return [parsed, { status: "invalid" }];
|
|
@@ -101755,9 +102505,9 @@ var init_transferConfigUpdate2 = __esm(() => {
|
|
|
101755
102505
|
|
|
101756
102506
|
// src/funcs/transfersBatchGetTransfers.ts
|
|
101757
102507
|
function transfersBatchGetTransfers(client, request, options) {
|
|
101758
|
-
return new APIPromise($
|
|
102508
|
+
return new APIPromise($do162(client, request, options));
|
|
101759
102509
|
}
|
|
101760
|
-
async function $
|
|
102510
|
+
async function $do162(client, request, options) {
|
|
101761
102511
|
const parsed = safeParse4(request, (value) => BatchGetTransfersRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
101762
102512
|
if (!parsed.ok) {
|
|
101763
102513
|
return [parsed, { status: "invalid" }];
|
|
@@ -101873,9 +102623,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
101873
102623
|
|
|
101874
102624
|
// src/funcs/transfersCreate.ts
|
|
101875
102625
|
function transfersCreate(client, request, options) {
|
|
101876
|
-
return new APIPromise($
|
|
102626
|
+
return new APIPromise($do163(client, request, options));
|
|
101877
102627
|
}
|
|
101878
|
-
async function $
|
|
102628
|
+
async function $do163(client, request, options) {
|
|
101879
102629
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101880
102630
|
if (!parsed.ok) {
|
|
101881
102631
|
return [parsed, { status: "invalid" }];
|
|
@@ -102001,9 +102751,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102001
102751
|
|
|
102002
102752
|
// src/funcs/transfersCreateCancellation.ts
|
|
102003
102753
|
function transfersCreateCancellation(client, request, options) {
|
|
102004
|
-
return new APIPromise($
|
|
102754
|
+
return new APIPromise($do164(client, request, options));
|
|
102005
102755
|
}
|
|
102006
|
-
async function $
|
|
102756
|
+
async function $do164(client, request, options) {
|
|
102007
102757
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102008
102758
|
if (!parsed.ok) {
|
|
102009
102759
|
return [parsed, { status: "invalid" }];
|
|
@@ -102117,9 +102867,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
102117
102867
|
|
|
102118
102868
|
// src/funcs/transfersCreateReversal.ts
|
|
102119
102869
|
function transfersCreateReversal(client, request, options) {
|
|
102120
|
-
return new APIPromise($
|
|
102870
|
+
return new APIPromise($do165(client, request, options));
|
|
102121
102871
|
}
|
|
102122
|
-
async function $
|
|
102872
|
+
async function $do165(client, request, options) {
|
|
102123
102873
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102124
102874
|
if (!parsed.ok) {
|
|
102125
102875
|
return [parsed, { status: "invalid" }];
|
|
@@ -102239,9 +102989,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102239
102989
|
|
|
102240
102990
|
// src/funcs/transfersGenerateOptions.ts
|
|
102241
102991
|
function transfersGenerateOptions(client, request, options) {
|
|
102242
|
-
return new APIPromise($
|
|
102992
|
+
return new APIPromise($do166(client, request, options));
|
|
102243
102993
|
}
|
|
102244
|
-
async function $
|
|
102994
|
+
async function $do166(client, request, options) {
|
|
102245
102995
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102246
102996
|
if (!parsed.ok) {
|
|
102247
102997
|
return [parsed, { status: "invalid" }];
|
|
@@ -102361,9 +103111,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102361
103111
|
|
|
102362
103112
|
// src/funcs/transfersGet.ts
|
|
102363
103113
|
function transfersGet(client, request, options) {
|
|
102364
|
-
return new APIPromise($
|
|
103114
|
+
return new APIPromise($do167(client, request, options));
|
|
102365
103115
|
}
|
|
102366
|
-
async function $
|
|
103116
|
+
async function $do167(client, request, options) {
|
|
102367
103117
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102368
103118
|
if (!parsed.ok) {
|
|
102369
103119
|
return [parsed, { status: "invalid" }];
|
|
@@ -102479,9 +103229,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102479
103229
|
|
|
102480
103230
|
// src/funcs/transfersGetCancellation.ts
|
|
102481
103231
|
function transfersGetCancellation(client, request, options) {
|
|
102482
|
-
return new APIPromise($
|
|
103232
|
+
return new APIPromise($do168(client, request, options));
|
|
102483
103233
|
}
|
|
102484
|
-
async function $
|
|
103234
|
+
async function $do168(client, request, options) {
|
|
102485
103235
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102486
103236
|
if (!parsed.ok) {
|
|
102487
103237
|
return [parsed, { status: "invalid" }];
|
|
@@ -102598,9 +103348,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
102598
103348
|
|
|
102599
103349
|
// src/funcs/transfersGetRefund.ts
|
|
102600
103350
|
function transfersGetRefund(client, request, options) {
|
|
102601
|
-
return new APIPromise($
|
|
103351
|
+
return new APIPromise($do169(client, request, options));
|
|
102602
103352
|
}
|
|
102603
|
-
async function $
|
|
103353
|
+
async function $do169(client, request, options) {
|
|
102604
103354
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102605
103355
|
if (!parsed.ok) {
|
|
102606
103356
|
return [parsed, { status: "invalid" }];
|
|
@@ -102717,9 +103467,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102717
103467
|
|
|
102718
103468
|
// src/funcs/transfersGetRiskOutcomes.ts
|
|
102719
103469
|
function transfersGetRiskOutcomes(client, request, options) {
|
|
102720
|
-
return new APIPromise($
|
|
103470
|
+
return new APIPromise($do170(client, request, options));
|
|
102721
103471
|
}
|
|
102722
|
-
async function $
|
|
103472
|
+
async function $do170(client, request, options) {
|
|
102723
103473
|
const parsed = safeParse4(request, (value) => GetTransferRiskOutcomesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102724
103474
|
if (!parsed.ok) {
|
|
102725
103475
|
return [parsed, { status: "invalid" }];
|
|
@@ -102834,9 +103584,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102834
103584
|
|
|
102835
103585
|
// src/funcs/transfersInitiateRefund.ts
|
|
102836
103586
|
function transfersInitiateRefund(client, request, options) {
|
|
102837
|
-
return new APIPromise($
|
|
103587
|
+
return new APIPromise($do171(client, request, options));
|
|
102838
103588
|
}
|
|
102839
|
-
async function $
|
|
103589
|
+
async function $do171(client, request, options) {
|
|
102840
103590
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102841
103591
|
if (!parsed.ok) {
|
|
102842
103592
|
return [parsed, { status: "invalid" }];
|
|
@@ -102962,9 +103712,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102962
103712
|
|
|
102963
103713
|
// src/funcs/transfersList.ts
|
|
102964
103714
|
function transfersList(client, request, options) {
|
|
102965
|
-
return new APIPromise($
|
|
103715
|
+
return new APIPromise($do172(client, request, options));
|
|
102966
103716
|
}
|
|
102967
|
-
async function $
|
|
103717
|
+
async function $do172(client, request, options) {
|
|
102968
103718
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102969
103719
|
if (!parsed.ok) {
|
|
102970
103720
|
return [parsed, { status: "invalid" }];
|
|
@@ -103100,9 +103850,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
103100
103850
|
|
|
103101
103851
|
// src/funcs/transfersListCancellations.ts
|
|
103102
103852
|
function transfersListCancellations(client, request, options) {
|
|
103103
|
-
return new APIPromise($
|
|
103853
|
+
return new APIPromise($do173(client, request, options));
|
|
103104
103854
|
}
|
|
103105
|
-
async function $
|
|
103855
|
+
async function $do173(client, request, options) {
|
|
103106
103856
|
const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103107
103857
|
if (!parsed.ok) {
|
|
103108
103858
|
return [parsed, { status: "invalid" }];
|
|
@@ -103215,9 +103965,9 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
103215
103965
|
|
|
103216
103966
|
// src/funcs/transfersListRefunds.ts
|
|
103217
103967
|
function transfersListRefunds(client, request, options) {
|
|
103218
|
-
return new APIPromise($
|
|
103968
|
+
return new APIPromise($do174(client, request, options));
|
|
103219
103969
|
}
|
|
103220
|
-
async function $
|
|
103970
|
+
async function $do174(client, request, options) {
|
|
103221
103971
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103222
103972
|
if (!parsed.ok) {
|
|
103223
103973
|
return [parsed, { status: "invalid" }];
|
|
@@ -103330,9 +104080,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
103330
104080
|
|
|
103331
104081
|
// src/funcs/transfersUpdate.ts
|
|
103332
104082
|
function transfersUpdate(client, request, options) {
|
|
103333
|
-
return new APIPromise($
|
|
104083
|
+
return new APIPromise($do175(client, request, options));
|
|
103334
104084
|
}
|
|
103335
|
-
async function $
|
|
104085
|
+
async function $do175(client, request, options) {
|
|
103336
104086
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103337
104087
|
if (!parsed.ok) {
|
|
103338
104088
|
return [parsed, { status: "invalid" }];
|
|
@@ -103451,9 +104201,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
103451
104201
|
|
|
103452
104202
|
// src/funcs/underwritingGet.ts
|
|
103453
104203
|
function underwritingGet(client, request, options) {
|
|
103454
|
-
return new APIPromise($
|
|
104204
|
+
return new APIPromise($do176(client, request, options));
|
|
103455
104205
|
}
|
|
103456
|
-
async function $
|
|
104206
|
+
async function $do176(client, request, options) {
|
|
103457
104207
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103458
104208
|
if (!parsed.ok) {
|
|
103459
104209
|
return [parsed, { status: "invalid" }];
|
|
@@ -103564,9 +104314,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
103564
104314
|
|
|
103565
104315
|
// src/funcs/underwritingSave.ts
|
|
103566
104316
|
function underwritingSave(client, request, options) {
|
|
103567
|
-
return new APIPromise($
|
|
104317
|
+
return new APIPromise($do177(client, request, options));
|
|
103568
104318
|
}
|
|
103569
|
-
async function $
|
|
104319
|
+
async function $do177(client, request, options) {
|
|
103570
104320
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103571
104321
|
if (!parsed.ok) {
|
|
103572
104322
|
return [parsed, { status: "invalid" }];
|
|
@@ -103683,9 +104433,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103683
104433
|
|
|
103684
104434
|
// src/funcs/underwritingUpsert.ts
|
|
103685
104435
|
function underwritingUpsert(client, request, options) {
|
|
103686
|
-
return new APIPromise($
|
|
104436
|
+
return new APIPromise($do178(client, request, options));
|
|
103687
104437
|
}
|
|
103688
|
-
async function $
|
|
104438
|
+
async function $do178(client, request, options) {
|
|
103689
104439
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103690
104440
|
if (!parsed.ok) {
|
|
103691
104441
|
return [parsed, { status: "invalid" }];
|
|
@@ -103802,9 +104552,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103802
104552
|
|
|
103803
104553
|
// src/funcs/walletsCreate.ts
|
|
103804
104554
|
function walletsCreate(client, request, options) {
|
|
103805
|
-
return new APIPromise($
|
|
104555
|
+
return new APIPromise($do179(client, request, options));
|
|
103806
104556
|
}
|
|
103807
|
-
async function $
|
|
104557
|
+
async function $do179(client, request, options) {
|
|
103808
104558
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103809
104559
|
if (!parsed.ok) {
|
|
103810
104560
|
return [parsed, { status: "invalid" }];
|
|
@@ -103919,9 +104669,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
103919
104669
|
|
|
103920
104670
|
// src/funcs/walletsGet.ts
|
|
103921
104671
|
function walletsGet(client, request, options) {
|
|
103922
|
-
return new APIPromise($
|
|
104672
|
+
return new APIPromise($do180(client, request, options));
|
|
103923
104673
|
}
|
|
103924
|
-
async function $
|
|
104674
|
+
async function $do180(client, request, options) {
|
|
103925
104675
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103926
104676
|
if (!parsed.ok) {
|
|
103927
104677
|
return [parsed, { status: "invalid" }];
|
|
@@ -104036,9 +104786,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104036
104786
|
|
|
104037
104787
|
// src/funcs/walletsList.ts
|
|
104038
104788
|
function walletsList(client, request, options) {
|
|
104039
|
-
return new APIPromise($
|
|
104789
|
+
return new APIPromise($do181(client, request, options));
|
|
104040
104790
|
}
|
|
104041
|
-
async function $
|
|
104791
|
+
async function $do181(client, request, options) {
|
|
104042
104792
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104043
104793
|
if (!parsed.ok) {
|
|
104044
104794
|
return [parsed, { status: "invalid" }];
|
|
@@ -104159,9 +104909,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104159
104909
|
|
|
104160
104910
|
// src/funcs/walletsUpdate.ts
|
|
104161
104911
|
function walletsUpdate(client, request, options) {
|
|
104162
|
-
return new APIPromise($
|
|
104912
|
+
return new APIPromise($do182(client, request, options));
|
|
104163
104913
|
}
|
|
104164
|
-
async function $
|
|
104914
|
+
async function $do182(client, request, options) {
|
|
104165
104915
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104166
104916
|
if (!parsed.ok) {
|
|
104167
104917
|
return [parsed, { status: "invalid" }];
|
|
@@ -104280,9 +105030,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
104280
105030
|
|
|
104281
105031
|
// src/funcs/walletTransactionsGet.ts
|
|
104282
105032
|
function walletTransactionsGet(client, request, options) {
|
|
104283
|
-
return new APIPromise($
|
|
105033
|
+
return new APIPromise($do183(client, request, options));
|
|
104284
105034
|
}
|
|
104285
|
-
async function $
|
|
105035
|
+
async function $do183(client, request, options) {
|
|
104286
105036
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104287
105037
|
if (!parsed.ok) {
|
|
104288
105038
|
return [parsed, { status: "invalid" }];
|
|
@@ -104401,9 +105151,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104401
105151
|
|
|
104402
105152
|
// src/funcs/walletTransactionsList.ts
|
|
104403
105153
|
function walletTransactionsList(client, request, options) {
|
|
104404
|
-
return new APIPromise($
|
|
105154
|
+
return new APIPromise($do184(client, request, options));
|
|
104405
105155
|
}
|
|
104406
|
-
async function $
|
|
105156
|
+
async function $do184(client, request, options) {
|
|
104407
105157
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104408
105158
|
if (!parsed.ok) {
|
|
104409
105159
|
return [parsed, { status: "invalid" }];
|
|
@@ -104536,9 +105286,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104536
105286
|
|
|
104537
105287
|
// src/funcs/webhooksCreate.ts
|
|
104538
105288
|
function webhooksCreate(client, request, options) {
|
|
104539
|
-
return new APIPromise($
|
|
105289
|
+
return new APIPromise($do185(client, request, options));
|
|
104540
105290
|
}
|
|
104541
|
-
async function $
|
|
105291
|
+
async function $do185(client, request, options) {
|
|
104542
105292
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
104543
105293
|
if (!parsed.ok) {
|
|
104544
105294
|
return [parsed, { status: "invalid" }];
|
|
@@ -104643,9 +105393,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
104643
105393
|
|
|
104644
105394
|
// src/funcs/webhooksDisable.ts
|
|
104645
105395
|
function webhooksDisable(client, request, options) {
|
|
104646
|
-
return new APIPromise($
|
|
105396
|
+
return new APIPromise($do186(client, request, options));
|
|
104647
105397
|
}
|
|
104648
|
-
async function $
|
|
105398
|
+
async function $do186(client, request, options) {
|
|
104649
105399
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104650
105400
|
if (!parsed.ok) {
|
|
104651
105401
|
return [parsed, { status: "invalid" }];
|
|
@@ -104749,9 +105499,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
104749
105499
|
|
|
104750
105500
|
// src/funcs/webhooksGet.ts
|
|
104751
105501
|
function webhooksGet(client, request, options) {
|
|
104752
|
-
return new APIPromise($
|
|
105502
|
+
return new APIPromise($do187(client, request, options));
|
|
104753
105503
|
}
|
|
104754
|
-
async function $
|
|
105504
|
+
async function $do187(client, request, options) {
|
|
104755
105505
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104756
105506
|
if (!parsed.ok) {
|
|
104757
105507
|
return [parsed, { status: "invalid" }];
|
|
@@ -104857,9 +105607,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
104857
105607
|
|
|
104858
105608
|
// src/funcs/webhooksGetSecret.ts
|
|
104859
105609
|
function webhooksGetSecret(client, request, options) {
|
|
104860
|
-
return new APIPromise($
|
|
105610
|
+
return new APIPromise($do188(client, request, options));
|
|
104861
105611
|
}
|
|
104862
|
-
async function $
|
|
105612
|
+
async function $do188(client, request, options) {
|
|
104863
105613
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104864
105614
|
if (!parsed.ok) {
|
|
104865
105615
|
return [parsed, { status: "invalid" }];
|
|
@@ -104965,9 +105715,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
104965
105715
|
|
|
104966
105716
|
// src/funcs/webhooksList.ts
|
|
104967
105717
|
function webhooksList(client, options) {
|
|
104968
|
-
return new APIPromise($
|
|
105718
|
+
return new APIPromise($do189(client, options));
|
|
104969
105719
|
}
|
|
104970
|
-
async function $
|
|
105720
|
+
async function $do189(client, options) {
|
|
104971
105721
|
const path = pathToFunc("/webhooks")();
|
|
104972
105722
|
const headers = new Headers(compactMap({
|
|
104973
105723
|
Accept: "application/json"
|
|
@@ -105053,9 +105803,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
105053
105803
|
|
|
105054
105804
|
// src/funcs/webhooksListEventTypes.ts
|
|
105055
105805
|
function webhooksListEventTypes(client, options) {
|
|
105056
|
-
return new APIPromise($
|
|
105806
|
+
return new APIPromise($do190(client, options));
|
|
105057
105807
|
}
|
|
105058
|
-
async function $
|
|
105808
|
+
async function $do190(client, options) {
|
|
105059
105809
|
const path = pathToFunc("/event-types")();
|
|
105060
105810
|
const headers = new Headers(compactMap({
|
|
105061
105811
|
Accept: "application/json"
|
|
@@ -105141,9 +105891,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
105141
105891
|
|
|
105142
105892
|
// src/funcs/webhooksPing.ts
|
|
105143
105893
|
function webhooksPing(client, request, options) {
|
|
105144
|
-
return new APIPromise($
|
|
105894
|
+
return new APIPromise($do191(client, request, options));
|
|
105145
105895
|
}
|
|
105146
|
-
async function $
|
|
105896
|
+
async function $do191(client, request, options) {
|
|
105147
105897
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
105148
105898
|
if (!parsed.ok) {
|
|
105149
105899
|
return [parsed, { status: "invalid" }];
|
|
@@ -105249,9 +105999,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
105249
105999
|
|
|
105250
106000
|
// src/funcs/webhooksUpdate.ts
|
|
105251
106001
|
function webhooksUpdate(client, request, options) {
|
|
105252
|
-
return new APIPromise($
|
|
106002
|
+
return new APIPromise($do192(client, request, options));
|
|
105253
106003
|
}
|
|
105254
|
-
async function $
|
|
106004
|
+
async function $do192(client, request, options) {
|
|
105255
106005
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
105256
106006
|
if (!parsed.ok) {
|
|
105257
106007
|
return [parsed, { status: "invalid" }];
|
|
@@ -105363,7 +106113,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
105363
106113
|
function createMCPServer(deps) {
|
|
105364
106114
|
const server = new McpServer({
|
|
105365
106115
|
name: "Moov",
|
|
105366
|
-
version: "0.0.0-dev.
|
|
106116
|
+
version: "0.0.0-dev.28"
|
|
105367
106117
|
});
|
|
105368
106118
|
const client = new MoovCore({
|
|
105369
106119
|
security: deps.security,
|
|
@@ -105470,6 +106220,7 @@ function createMCPServer(deps) {
|
|
|
105470
106220
|
tool(tool$productsGet);
|
|
105471
106221
|
tool(tool$productsUpdate);
|
|
105472
106222
|
tool(tool$productsDisable);
|
|
106223
|
+
tool(tool$productsListCategories);
|
|
105473
106224
|
tool(tool$representativesCreate);
|
|
105474
106225
|
tool(tool$representativesList);
|
|
105475
106226
|
tool(tool$representativesDelete);
|
|
@@ -105697,6 +106448,7 @@ var init_server2 = __esm(() => {
|
|
|
105697
106448
|
init_productsDisable2();
|
|
105698
106449
|
init_productsGet2();
|
|
105699
106450
|
init_productsList2();
|
|
106451
|
+
init_productsListCategories2();
|
|
105700
106452
|
init_productsUpdate2();
|
|
105701
106453
|
init_receiptsCreate2();
|
|
105702
106454
|
init_receiptsList2();
|
|
@@ -106969,7 +107721,7 @@ var routes = rn({
|
|
|
106969
107721
|
var app = Ve(routes, {
|
|
106970
107722
|
name: "mcp",
|
|
106971
107723
|
versionInfo: {
|
|
106972
|
-
currentVersion: "0.0.0-dev.
|
|
107724
|
+
currentVersion: "0.0.0-dev.28"
|
|
106973
107725
|
}
|
|
106974
107726
|
});
|
|
106975
107727
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -106977,5 +107729,5 @@ export {
|
|
|
106977
107729
|
app
|
|
106978
107730
|
};
|
|
106979
107731
|
|
|
106980
|
-
//# debugId=
|
|
107732
|
+
//# debugId=AE74C0FBB9C7E40964756E2164756E21
|
|
106981
107733
|
//# sourceMappingURL=mcp-server.js.map
|