@moovio/sdk 26.10.0-dev.0 → 26.10.0-dev.1
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 +512 -185
- package/bin/mcp-server.js.map +32 -22
- 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/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/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 +5 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +5 -0
- package/models/components/index.js.map +1 -1
- package/models/components/issuingintervallimit.d.ts +2 -2
- package/models/components/issuingintervallimit.js +1 -1
- package/models/components/issuingvelocitylimit.d.ts +1 -1
- 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/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/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/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/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/incurredfee.ts +12 -0
- package/src/models/components/index.ts +5 -0
- package/src/models/components/issuingintervallimit.ts +2 -2
- package/src/models/components/issuingvelocitylimit.ts +1 -1
- 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/transferfeepaidby.ts +63 -0
- package/src/models/errors/productrequestvalidationerror.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: "v2026.10.00",
|
|
53654
|
-
sdkVersion: "26.10.0-dev.
|
|
53655
|
-
genVersion: "2.
|
|
53656
|
-
userAgent: "speakeasy-sdk/typescript 26.10.0-dev.
|
|
53654
|
+
sdkVersion: "26.10.0-dev.1",
|
|
53655
|
+
genVersion: "2.924.0",
|
|
53656
|
+
userAgent: "speakeasy-sdk/typescript 26.10.0-dev.1 2.924.0 v2026.10.00 @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",
|
|
@@ -57582,6 +57583,64 @@ var init_authtokenrequest = __esm(() => {
|
|
|
57582
57583
|
});
|
|
57583
57584
|
});
|
|
57584
57585
|
|
|
57586
|
+
// src/types/blobs.ts
|
|
57587
|
+
function isBlobLike2(val) {
|
|
57588
|
+
if (val instanceof Blob) {
|
|
57589
|
+
return true;
|
|
57590
|
+
}
|
|
57591
|
+
if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
|
|
57592
|
+
return false;
|
|
57593
|
+
}
|
|
57594
|
+
const name = val[Symbol.toStringTag];
|
|
57595
|
+
if (typeof name !== "string") {
|
|
57596
|
+
return false;
|
|
57597
|
+
}
|
|
57598
|
+
if (name !== "Blob" && name !== "File") {
|
|
57599
|
+
return false;
|
|
57600
|
+
}
|
|
57601
|
+
return "stream" in val && typeof val.stream === "function";
|
|
57602
|
+
}
|
|
57603
|
+
var blobLikeSchema;
|
|
57604
|
+
var init_blobs = __esm(() => {
|
|
57605
|
+
init_v3();
|
|
57606
|
+
blobLikeSchema = custom(isBlobLike2, {
|
|
57607
|
+
message: "expected a Blob, File or Blob-like object",
|
|
57608
|
+
fatal: true
|
|
57609
|
+
});
|
|
57610
|
+
});
|
|
57611
|
+
|
|
57612
|
+
// src/models/components/avataruploadrequest.ts
|
|
57613
|
+
var AvatarUploadRequestFile$inboundSchema, AvatarUploadRequestFile$outboundSchema, AvatarUploadRequest$inboundSchema, AvatarUploadRequest$outboundSchema;
|
|
57614
|
+
var init_avataruploadrequest = __esm(() => {
|
|
57615
|
+
init_v3();
|
|
57616
|
+
init_blobs();
|
|
57617
|
+
init_primitives2();
|
|
57618
|
+
AvatarUploadRequestFile$inboundSchema = objectType({
|
|
57619
|
+
fileName: string4(),
|
|
57620
|
+
content: unionType([
|
|
57621
|
+
instanceOfType(ReadableStream),
|
|
57622
|
+
instanceOfType(Blob),
|
|
57623
|
+
instanceOfType(ArrayBuffer),
|
|
57624
|
+
instanceOfType(Uint8Array)
|
|
57625
|
+
])
|
|
57626
|
+
});
|
|
57627
|
+
AvatarUploadRequestFile$outboundSchema = objectType({
|
|
57628
|
+
fileName: stringType(),
|
|
57629
|
+
content: unionType([
|
|
57630
|
+
instanceOfType(ReadableStream),
|
|
57631
|
+
instanceOfType(Blob),
|
|
57632
|
+
instanceOfType(ArrayBuffer),
|
|
57633
|
+
instanceOfType(Uint8Array)
|
|
57634
|
+
])
|
|
57635
|
+
});
|
|
57636
|
+
AvatarUploadRequest$inboundSchema = objectType({
|
|
57637
|
+
file: lazyType(() => AvatarUploadRequestFile$inboundSchema)
|
|
57638
|
+
});
|
|
57639
|
+
AvatarUploadRequest$outboundSchema = objectType({
|
|
57640
|
+
file: lazyType(() => AvatarUploadRequestFile$outboundSchema).or(blobLikeSchema)
|
|
57641
|
+
});
|
|
57642
|
+
});
|
|
57643
|
+
|
|
57585
57644
|
// src/models/components/rtprejectioncode.ts
|
|
57586
57645
|
var RTPRejectionCode, RTPRejectionCode$inboundSchema, RTPRejectionCode$outboundSchema;
|
|
57587
57646
|
var init_rtprejectioncode = __esm(() => {
|
|
@@ -63002,32 +63061,6 @@ var init_createdtransfer = __esm(() => {
|
|
|
63002
63061
|
});
|
|
63003
63062
|
});
|
|
63004
63063
|
|
|
63005
|
-
// src/types/blobs.ts
|
|
63006
|
-
function isBlobLike2(val) {
|
|
63007
|
-
if (val instanceof Blob) {
|
|
63008
|
-
return true;
|
|
63009
|
-
}
|
|
63010
|
-
if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
|
|
63011
|
-
return false;
|
|
63012
|
-
}
|
|
63013
|
-
const name = val[Symbol.toStringTag];
|
|
63014
|
-
if (typeof name !== "string") {
|
|
63015
|
-
return false;
|
|
63016
|
-
}
|
|
63017
|
-
if (name !== "Blob" && name !== "File") {
|
|
63018
|
-
return false;
|
|
63019
|
-
}
|
|
63020
|
-
return "stream" in val && typeof val.stream === "function";
|
|
63021
|
-
}
|
|
63022
|
-
var blobLikeSchema;
|
|
63023
|
-
var init_blobs = __esm(() => {
|
|
63024
|
-
init_v3();
|
|
63025
|
-
blobLikeSchema = custom(isBlobLike2, {
|
|
63026
|
-
message: "expected a Blob, File or Blob-like object",
|
|
63027
|
-
fatal: true
|
|
63028
|
-
});
|
|
63029
|
-
});
|
|
63030
|
-
|
|
63031
63064
|
// src/models/components/evidencetype.ts
|
|
63032
63065
|
var EvidenceType, EvidenceType$inboundSchema, EvidenceType$outboundSchema;
|
|
63033
63066
|
var init_evidencetype = __esm(() => {
|
|
@@ -63531,6 +63564,18 @@ var init_disbursementpaymentmethodtype = __esm(() => {
|
|
|
63531
63564
|
DisbursementPaymentMethodType$outboundSchema = outboundSchema(DisbursementPaymentMethodType);
|
|
63532
63565
|
});
|
|
63533
63566
|
|
|
63567
|
+
// src/models/components/feepaidby.ts
|
|
63568
|
+
var FeePaidBy, FeePaidBy$inboundSchema, FeePaidBy$outboundSchema;
|
|
63569
|
+
var init_feepaidby = __esm(() => {
|
|
63570
|
+
init_enums();
|
|
63571
|
+
FeePaidBy = {
|
|
63572
|
+
Source: "source",
|
|
63573
|
+
Destination: "destination"
|
|
63574
|
+
};
|
|
63575
|
+
FeePaidBy$inboundSchema = inboundSchema(FeePaidBy);
|
|
63576
|
+
FeePaidBy$outboundSchema = outboundSchema(FeePaidBy);
|
|
63577
|
+
});
|
|
63578
|
+
|
|
63534
63579
|
// src/models/components/payoutrecipient.ts
|
|
63535
63580
|
var PayoutRecipient$inboundSchema, PayoutRecipient$outboundSchema;
|
|
63536
63581
|
var init_payoutrecipient = __esm(() => {
|
|
@@ -63581,19 +63626,22 @@ var init_paymentlinkpayoutdetails = __esm(() => {
|
|
|
63581
63626
|
init_v3();
|
|
63582
63627
|
init_primitives2();
|
|
63583
63628
|
init_disbursementpaymentmethodtype();
|
|
63629
|
+
init_feepaidby();
|
|
63584
63630
|
init_payoutrecipient();
|
|
63585
63631
|
init_pushoptions();
|
|
63586
63632
|
PaymentLinkPayoutDetails$inboundSchema = objectType({
|
|
63587
63633
|
allowedMethods: arrayType(DisbursementPaymentMethodType$inboundSchema),
|
|
63588
63634
|
recipient: PayoutRecipient$inboundSchema,
|
|
63589
63635
|
metadata: optional3(recordType(string4())),
|
|
63590
|
-
pushOptions: optional3(PushOptions$inboundSchema)
|
|
63636
|
+
pushOptions: optional3(PushOptions$inboundSchema),
|
|
63637
|
+
feePaidBy: optional3(recordType(FeePaidBy$inboundSchema))
|
|
63591
63638
|
});
|
|
63592
63639
|
PaymentLinkPayoutDetails$outboundSchema = objectType({
|
|
63593
63640
|
allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema),
|
|
63594
63641
|
recipient: PayoutRecipient$outboundSchema,
|
|
63595
63642
|
metadata: recordType(stringType()).optional(),
|
|
63596
|
-
pushOptions: PushOptions$outboundSchema.optional()
|
|
63643
|
+
pushOptions: PushOptions$outboundSchema.optional(),
|
|
63644
|
+
feePaidBy: recordType(FeePaidBy$outboundSchema).optional()
|
|
63597
63645
|
});
|
|
63598
63646
|
});
|
|
63599
63647
|
|
|
@@ -64559,6 +64607,20 @@ var init_createtransfersource = __esm(() => {
|
|
|
64559
64607
|
});
|
|
64560
64608
|
});
|
|
64561
64609
|
|
|
64610
|
+
// src/models/components/transferfeepaidby.ts
|
|
64611
|
+
var TransferFeePaidBy$inboundSchema, TransferFeePaidBy$outboundSchema;
|
|
64612
|
+
var init_transferfeepaidby = __esm(() => {
|
|
64613
|
+
init_v3();
|
|
64614
|
+
init_primitives2();
|
|
64615
|
+
init_feepaidby();
|
|
64616
|
+
TransferFeePaidBy$inboundSchema = objectType({
|
|
64617
|
+
payout: optional3(FeePaidBy$inboundSchema)
|
|
64618
|
+
});
|
|
64619
|
+
TransferFeePaidBy$outboundSchema = objectType({
|
|
64620
|
+
payout: FeePaidBy$outboundSchema.optional()
|
|
64621
|
+
});
|
|
64622
|
+
});
|
|
64623
|
+
|
|
64562
64624
|
// src/models/components/createtransfer.ts
|
|
64563
64625
|
var CreateTransfer$inboundSchema, CreateTransfer$outboundSchema;
|
|
64564
64626
|
var init_createtransfer = __esm(() => {
|
|
@@ -64570,6 +64632,7 @@ var init_createtransfer = __esm(() => {
|
|
|
64570
64632
|
init_createtransferlineitems();
|
|
64571
64633
|
init_createtransfersource();
|
|
64572
64634
|
init_facilitatorfee();
|
|
64635
|
+
init_transferfeepaidby();
|
|
64573
64636
|
CreateTransfer$inboundSchema = objectType({
|
|
64574
64637
|
source: CreateTransferSource$inboundSchema,
|
|
64575
64638
|
destination: CreateTransferDestination$inboundSchema,
|
|
@@ -64579,7 +64642,8 @@ var init_createtransfer = __esm(() => {
|
|
|
64579
64642
|
metadata: optional3(recordType(string4())),
|
|
64580
64643
|
foreignID: optional3(string4()),
|
|
64581
64644
|
lineItems: optional3(CreateTransferLineItems$inboundSchema),
|
|
64582
|
-
amountDetails: optional3(CreateTransferAmountDetails$inboundSchema)
|
|
64645
|
+
amountDetails: optional3(CreateTransferAmountDetails$inboundSchema),
|
|
64646
|
+
feePaidBy: optional3(TransferFeePaidBy$inboundSchema)
|
|
64583
64647
|
});
|
|
64584
64648
|
CreateTransfer$outboundSchema = objectType({
|
|
64585
64649
|
source: CreateTransferSource$outboundSchema,
|
|
@@ -64590,7 +64654,8 @@ var init_createtransfer = __esm(() => {
|
|
|
64590
64654
|
metadata: recordType(stringType()).optional(),
|
|
64591
64655
|
foreignID: stringType().optional(),
|
|
64592
64656
|
lineItems: CreateTransferLineItems$outboundSchema.optional(),
|
|
64593
|
-
amountDetails: CreateTransferAmountDetails$outboundSchema.optional()
|
|
64657
|
+
amountDetails: CreateTransferAmountDetails$outboundSchema.optional(),
|
|
64658
|
+
feePaidBy: TransferFeePaidBy$outboundSchema.optional()
|
|
64594
64659
|
});
|
|
64595
64660
|
});
|
|
64596
64661
|
|
|
@@ -65997,6 +66062,7 @@ var init_incurredfee = __esm(() => {
|
|
|
65997
66062
|
init_v3();
|
|
65998
66063
|
init_primitives2();
|
|
65999
66064
|
init_amountdecimal();
|
|
66065
|
+
init_feepaidby();
|
|
66000
66066
|
init_generatedby();
|
|
66001
66067
|
IncurredFee$inboundSchema = objectType({
|
|
66002
66068
|
feeID: optional3(string4()),
|
|
@@ -66007,7 +66073,8 @@ var init_incurredfee = __esm(() => {
|
|
|
66007
66073
|
amount: optional3(AmountDecimal$inboundSchema),
|
|
66008
66074
|
generatedBy: optional3(GeneratedBy$inboundSchema),
|
|
66009
66075
|
feeGroup: optional3(string4()),
|
|
66010
|
-
residualID: optional3(string4())
|
|
66076
|
+
residualID: optional3(string4()),
|
|
66077
|
+
feePaidBy: optional3(FeePaidBy$inboundSchema)
|
|
66011
66078
|
});
|
|
66012
66079
|
IncurredFee$outboundSchema = objectType({
|
|
66013
66080
|
feeID: stringType().optional(),
|
|
@@ -66018,7 +66085,8 @@ var init_incurredfee = __esm(() => {
|
|
|
66018
66085
|
amount: AmountDecimal$outboundSchema.optional(),
|
|
66019
66086
|
generatedBy: GeneratedBy$outboundSchema.optional(),
|
|
66020
66087
|
feeGroup: stringType().optional(),
|
|
66021
|
-
residualID: stringType().optional()
|
|
66088
|
+
residualID: stringType().optional(),
|
|
66089
|
+
feePaidBy: FeePaidBy$outboundSchema.optional()
|
|
66022
66090
|
});
|
|
66023
66091
|
});
|
|
66024
66092
|
|
|
@@ -68181,19 +68249,22 @@ var init_paymentlinkpayoutdetailsupdate = __esm(() => {
|
|
|
68181
68249
|
init_v3();
|
|
68182
68250
|
init_primitives2();
|
|
68183
68251
|
init_disbursementpaymentmethodtype();
|
|
68252
|
+
init_feepaidby();
|
|
68184
68253
|
init_payoutrecipient();
|
|
68185
68254
|
init_pushoptionsupdate();
|
|
68186
68255
|
PaymentLinkPayoutDetailsUpdate$inboundSchema = objectType({
|
|
68187
68256
|
allowedMethods: optional3(arrayType(DisbursementPaymentMethodType$inboundSchema)),
|
|
68188
68257
|
recipient: optional3(PayoutRecipient$inboundSchema),
|
|
68189
68258
|
metadata: optional3(recordType(string4())),
|
|
68190
|
-
pushOptions: optional3(PushOptionsUpdate$inboundSchema)
|
|
68259
|
+
pushOptions: optional3(PushOptionsUpdate$inboundSchema),
|
|
68260
|
+
feePaidBy: optional3(recordType(FeePaidBy$inboundSchema))
|
|
68191
68261
|
});
|
|
68192
68262
|
PaymentLinkPayoutDetailsUpdate$outboundSchema = objectType({
|
|
68193
68263
|
allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema).optional(),
|
|
68194
68264
|
recipient: PayoutRecipient$outboundSchema.optional(),
|
|
68195
68265
|
metadata: recordType(stringType()).optional(),
|
|
68196
|
-
pushOptions: PushOptionsUpdate$outboundSchema.optional()
|
|
68266
|
+
pushOptions: PushOptionsUpdate$outboundSchema.optional(),
|
|
68267
|
+
feePaidBy: recordType(FeePaidBy$outboundSchema).optional()
|
|
68197
68268
|
});
|
|
68198
68269
|
});
|
|
68199
68270
|
|
|
@@ -68427,13 +68498,15 @@ var init_payoutdetailserror = __esm(() => {
|
|
|
68427
68498
|
allowedMethods: optional3(string4()),
|
|
68428
68499
|
recipient: optional3(PayoutRecipientError$inboundSchema),
|
|
68429
68500
|
metadata: optional3(string4()),
|
|
68430
|
-
pushOptions: optional3(PushOptionsError$inboundSchema)
|
|
68501
|
+
pushOptions: optional3(PushOptionsError$inboundSchema),
|
|
68502
|
+
feePaidBy: optional3(string4())
|
|
68431
68503
|
});
|
|
68432
68504
|
PayoutDetailsError$outboundSchema = objectType({
|
|
68433
68505
|
allowedMethods: stringType().optional(),
|
|
68434
68506
|
recipient: PayoutRecipientError$outboundSchema.optional(),
|
|
68435
68507
|
metadata: stringType().optional(),
|
|
68436
|
-
pushOptions: PushOptionsError$outboundSchema.optional()
|
|
68508
|
+
pushOptions: PushOptionsError$outboundSchema.optional(),
|
|
68509
|
+
feePaidBy: stringType().optional()
|
|
68437
68510
|
});
|
|
68438
68511
|
});
|
|
68439
68512
|
|
|
@@ -68521,6 +68594,27 @@ var init_platformfees = __esm(() => {
|
|
|
68521
68594
|
});
|
|
68522
68595
|
});
|
|
68523
68596
|
|
|
68597
|
+
// src/models/components/productcategory.ts
|
|
68598
|
+
var ProductCategory$inboundSchema, ProductCategory$outboundSchema;
|
|
68599
|
+
var init_productcategory = __esm(() => {
|
|
68600
|
+
init_v3();
|
|
68601
|
+
init_primitives2();
|
|
68602
|
+
ProductCategory$inboundSchema = objectType({
|
|
68603
|
+
categoryID: string4(),
|
|
68604
|
+
name: string4(),
|
|
68605
|
+
fullName: string4(),
|
|
68606
|
+
level: number4(),
|
|
68607
|
+
parentID: optional3(string4())
|
|
68608
|
+
});
|
|
68609
|
+
ProductCategory$outboundSchema = objectType({
|
|
68610
|
+
categoryID: stringType(),
|
|
68611
|
+
name: stringType(),
|
|
68612
|
+
fullName: stringType(),
|
|
68613
|
+
level: numberType().int(),
|
|
68614
|
+
parentID: stringType().optional()
|
|
68615
|
+
});
|
|
68616
|
+
});
|
|
68617
|
+
|
|
68524
68618
|
// src/models/components/productimagemetadata.ts
|
|
68525
68619
|
var ProductImageMetadata$inboundSchema, ProductImageMetadata$outboundSchema;
|
|
68526
68620
|
var init_productimagemetadata = __esm(() => {
|
|
@@ -68589,6 +68683,7 @@ var init_product = __esm(() => {
|
|
|
68589
68683
|
init_v3();
|
|
68590
68684
|
init_primitives2();
|
|
68591
68685
|
init_amountdecimal();
|
|
68686
|
+
init_productcategory();
|
|
68592
68687
|
init_productimagemetadata();
|
|
68593
68688
|
init_productoptiongroup();
|
|
68594
68689
|
Product$inboundSchema = objectType({
|
|
@@ -68598,6 +68693,7 @@ var init_product = __esm(() => {
|
|
|
68598
68693
|
basePrice: AmountDecimal$inboundSchema,
|
|
68599
68694
|
optionGroups: optional3(arrayType(ProductOptionGroup$inboundSchema)),
|
|
68600
68695
|
images: optional3(arrayType(ProductImageMetadata$inboundSchema)),
|
|
68696
|
+
category: optional3(ProductCategory$inboundSchema),
|
|
68601
68697
|
createdOn: date4(),
|
|
68602
68698
|
updatedOn: date4(),
|
|
68603
68699
|
disabledOn: optional3(date4())
|
|
@@ -68609,12 +68705,26 @@ var init_product = __esm(() => {
|
|
|
68609
68705
|
basePrice: AmountDecimal$outboundSchema,
|
|
68610
68706
|
optionGroups: arrayType(ProductOptionGroup$outboundSchema).optional(),
|
|
68611
68707
|
images: arrayType(ProductImageMetadata$outboundSchema).optional(),
|
|
68708
|
+
category: ProductCategory$outboundSchema.optional(),
|
|
68612
68709
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
68613
68710
|
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
68614
68711
|
disabledOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
68615
68712
|
});
|
|
68616
68713
|
});
|
|
68617
68714
|
|
|
68715
|
+
// src/models/components/productcategories.ts
|
|
68716
|
+
var ProductCategories$inboundSchema, ProductCategories$outboundSchema;
|
|
68717
|
+
var init_productcategories = __esm(() => {
|
|
68718
|
+
init_v3();
|
|
68719
|
+
init_productcategory();
|
|
68720
|
+
ProductCategories$inboundSchema = objectType({
|
|
68721
|
+
categories: arrayType(ProductCategory$inboundSchema)
|
|
68722
|
+
});
|
|
68723
|
+
ProductCategories$outboundSchema = objectType({
|
|
68724
|
+
categories: arrayType(ProductCategory$outboundSchema)
|
|
68725
|
+
});
|
|
68726
|
+
});
|
|
68727
|
+
|
|
68618
68728
|
// src/models/components/productoptionvalidationerror.ts
|
|
68619
68729
|
var ProductOptionValidationError$inboundSchema, ProductOptionValidationError$outboundSchema;
|
|
68620
68730
|
var init_productoptionvalidationerror = __esm(() => {
|
|
@@ -68671,14 +68781,16 @@ var init_productrequest = __esm(() => {
|
|
|
68671
68781
|
description: optional3(string4()),
|
|
68672
68782
|
basePrice: AmountDecimal$inboundSchema,
|
|
68673
68783
|
images: optional3(arrayType(AssignProductImage$inboundSchema)),
|
|
68674
|
-
optionGroups: optional3(arrayType(CreateProductOptionGroup$inboundSchema))
|
|
68784
|
+
optionGroups: optional3(arrayType(CreateProductOptionGroup$inboundSchema)),
|
|
68785
|
+
categoryID: optional3(string4())
|
|
68675
68786
|
});
|
|
68676
68787
|
ProductRequest$outboundSchema = objectType({
|
|
68677
68788
|
title: stringType(),
|
|
68678
68789
|
description: stringType().optional(),
|
|
68679
68790
|
basePrice: AmountDecimal$outboundSchema,
|
|
68680
68791
|
images: arrayType(AssignProductImage$outboundSchema).optional(),
|
|
68681
|
-
optionGroups: arrayType(CreateProductOptionGroup$outboundSchema).optional()
|
|
68792
|
+
optionGroups: arrayType(CreateProductOptionGroup$outboundSchema).optional(),
|
|
68793
|
+
categoryID: stringType().optional()
|
|
68682
68794
|
});
|
|
68683
68795
|
});
|
|
68684
68796
|
|
|
@@ -71829,6 +71941,7 @@ var init_components = __esm(() => {
|
|
|
71829
71941
|
init_asynctransfer();
|
|
71830
71942
|
init_authtoken();
|
|
71831
71943
|
init_authtokenrequest();
|
|
71944
|
+
init_avataruploadrequest();
|
|
71832
71945
|
init_bankaccount();
|
|
71833
71946
|
init_bankaccountexception();
|
|
71834
71947
|
init_bankaccountholdertype();
|
|
@@ -72019,6 +72132,7 @@ var init_components = __esm(() => {
|
|
|
72019
72132
|
init_fednowservices();
|
|
72020
72133
|
init_feecategory();
|
|
72021
72134
|
init_feemodel();
|
|
72135
|
+
init_feepaidby();
|
|
72022
72136
|
init_feeplan();
|
|
72023
72137
|
init_feeplanagreement();
|
|
72024
72138
|
init_feeplanagreementstatus();
|
|
@@ -72185,6 +72299,8 @@ var init_components = __esm(() => {
|
|
|
72185
72299
|
init_platformfees();
|
|
72186
72300
|
init_primaryregulator();
|
|
72187
72301
|
init_product();
|
|
72302
|
+
init_productcategories();
|
|
72303
|
+
init_productcategory();
|
|
72188
72304
|
init_productimagemetadata();
|
|
72189
72305
|
init_productoption();
|
|
72190
72306
|
init_productoptiongroup();
|
|
@@ -72309,6 +72425,7 @@ var init_components = __esm(() => {
|
|
|
72309
72425
|
init_transferdestination();
|
|
72310
72426
|
init_transferentrymode();
|
|
72311
72427
|
init_transferfailurereason();
|
|
72428
|
+
init_transferfeepaidby();
|
|
72312
72429
|
init_transferlineitem();
|
|
72313
72430
|
init_transferlineitemimagemetadata();
|
|
72314
72431
|
init_transferlineitemoption();
|
|
@@ -74257,6 +74374,7 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74257
74374
|
basePrice;
|
|
74258
74375
|
images;
|
|
74259
74376
|
optionGroups;
|
|
74377
|
+
categoryID;
|
|
74260
74378
|
data$;
|
|
74261
74379
|
constructor(err, httpMeta) {
|
|
74262
74380
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -74272,6 +74390,8 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74272
74390
|
this.images = err.images;
|
|
74273
74391
|
if (err.optionGroups != null)
|
|
74274
74392
|
this.optionGroups = err.optionGroups;
|
|
74393
|
+
if (err.categoryID != null)
|
|
74394
|
+
this.categoryID = err.categoryID;
|
|
74275
74395
|
this.name = "ProductRequestValidationError";
|
|
74276
74396
|
}
|
|
74277
74397
|
};
|
|
@@ -74281,6 +74401,7 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74281
74401
|
basePrice: optional3(AmountDecimalValidationError$inboundSchema),
|
|
74282
74402
|
images: optional3(recordType(AssignProductImageValidationError$inboundSchema)),
|
|
74283
74403
|
optionGroups: optional3(recordType(ProductOptionGroupValidationError$inboundSchema)),
|
|
74404
|
+
categoryID: optional3(string4()),
|
|
74284
74405
|
request$: instanceOfType(Request),
|
|
74285
74406
|
response$: instanceOfType(Response),
|
|
74286
74407
|
body$: stringType()
|
|
@@ -74296,7 +74417,8 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74296
74417
|
description: stringType().optional(),
|
|
74297
74418
|
basePrice: AmountDecimalValidationError$outboundSchema.optional(),
|
|
74298
74419
|
images: recordType(AssignProductImageValidationError$outboundSchema).optional(),
|
|
74299
|
-
optionGroups: recordType(ProductOptionGroupValidationError$outboundSchema).optional()
|
|
74420
|
+
optionGroups: recordType(ProductOptionGroupValidationError$outboundSchema).optional(),
|
|
74421
|
+
categoryID: stringType().optional()
|
|
74300
74422
|
}));
|
|
74301
74423
|
});
|
|
74302
74424
|
|
|
@@ -76932,6 +77054,42 @@ var init_createwebhook2 = __esm(() => {
|
|
|
76932
77054
|
});
|
|
76933
77055
|
});
|
|
76934
77056
|
|
|
77057
|
+
// src/models/operations/deleteavatar.ts
|
|
77058
|
+
var DeleteAvatarSecurity$inboundSchema, DeleteAvatarSecurity$outboundSchema, DeleteAvatarRequest$inboundSchema, DeleteAvatarRequest$outboundSchema, DeleteAvatarResponse$inboundSchema, DeleteAvatarResponse$outboundSchema;
|
|
77059
|
+
var init_deleteavatar = __esm(() => {
|
|
77060
|
+
init_v3();
|
|
77061
|
+
init_primitives();
|
|
77062
|
+
init_primitives2();
|
|
77063
|
+
DeleteAvatarSecurity$inboundSchema = objectType({
|
|
77064
|
+
username: optional3(string4()),
|
|
77065
|
+
password: optional3(string4())
|
|
77066
|
+
});
|
|
77067
|
+
DeleteAvatarSecurity$outboundSchema = objectType({
|
|
77068
|
+
username: stringType().optional(),
|
|
77069
|
+
password: stringType().optional()
|
|
77070
|
+
});
|
|
77071
|
+
DeleteAvatarRequest$inboundSchema = objectType({
|
|
77072
|
+
uniqueID: string4()
|
|
77073
|
+
});
|
|
77074
|
+
DeleteAvatarRequest$outboundSchema = objectType({
|
|
77075
|
+
uniqueID: stringType()
|
|
77076
|
+
});
|
|
77077
|
+
DeleteAvatarResponse$inboundSchema = objectType({
|
|
77078
|
+
Headers: recordType(arrayType(stringType())).default({})
|
|
77079
|
+
}).transform((v2) => {
|
|
77080
|
+
return remap(v2, {
|
|
77081
|
+
Headers: "headers"
|
|
77082
|
+
});
|
|
77083
|
+
});
|
|
77084
|
+
DeleteAvatarResponse$outboundSchema = objectType({
|
|
77085
|
+
headers: recordType(arrayType(stringType()))
|
|
77086
|
+
}).transform((v2) => {
|
|
77087
|
+
return remap(v2, {
|
|
77088
|
+
headers: "Headers"
|
|
77089
|
+
});
|
|
77090
|
+
});
|
|
77091
|
+
});
|
|
77092
|
+
|
|
76935
77093
|
// src/models/operations/deletedisputeevidencefile.ts
|
|
76936
77094
|
var DeleteDisputeEvidenceFileRequest$inboundSchema, DeleteDisputeEvidenceFileRequest$outboundSchema, DeleteDisputeEvidenceFileResponse$inboundSchema, DeleteDisputeEvidenceFileResponse$outboundSchema;
|
|
76937
77095
|
var init_deletedisputeevidencefile = __esm(() => {
|
|
@@ -80763,6 +80921,32 @@ var init_listpaymentmethods = __esm(() => {
|
|
|
80763
80921
|
});
|
|
80764
80922
|
});
|
|
80765
80923
|
|
|
80924
|
+
// src/models/operations/listproductcategories.ts
|
|
80925
|
+
var ListProductCategoriesResponse$inboundSchema, ListProductCategoriesResponse$outboundSchema;
|
|
80926
|
+
var init_listproductcategories = __esm(() => {
|
|
80927
|
+
init_v3();
|
|
80928
|
+
init_primitives();
|
|
80929
|
+
init_components();
|
|
80930
|
+
ListProductCategoriesResponse$inboundSchema = objectType({
|
|
80931
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
80932
|
+
Result: ProductCategories$inboundSchema
|
|
80933
|
+
}).transform((v2) => {
|
|
80934
|
+
return remap(v2, {
|
|
80935
|
+
Headers: "headers",
|
|
80936
|
+
Result: "result"
|
|
80937
|
+
});
|
|
80938
|
+
});
|
|
80939
|
+
ListProductCategoriesResponse$outboundSchema = objectType({
|
|
80940
|
+
headers: recordType(arrayType(stringType())),
|
|
80941
|
+
result: ProductCategories$outboundSchema
|
|
80942
|
+
}).transform((v2) => {
|
|
80943
|
+
return remap(v2, {
|
|
80944
|
+
headers: "Headers",
|
|
80945
|
+
result: "Result"
|
|
80946
|
+
});
|
|
80947
|
+
});
|
|
80948
|
+
});
|
|
80949
|
+
|
|
80766
80950
|
// src/models/operations/listproducts.ts
|
|
80767
80951
|
var ListProductsRequest$inboundSchema, ListProductsRequest$outboundSchema, ListProductsResponse$inboundSchema, ListProductsResponse$outboundSchema;
|
|
80768
80952
|
var init_listproducts = __esm(() => {
|
|
@@ -80773,12 +80957,14 @@ var init_listproducts = __esm(() => {
|
|
|
80773
80957
|
ListProductsRequest$inboundSchema = objectType({
|
|
80774
80958
|
accountID: string4(),
|
|
80775
80959
|
title: optional3(string4()),
|
|
80960
|
+
category: optional3(string4()),
|
|
80776
80961
|
skip: optional3(number4()),
|
|
80777
80962
|
count: optional3(number4())
|
|
80778
80963
|
});
|
|
80779
80964
|
ListProductsRequest$outboundSchema = objectType({
|
|
80780
80965
|
accountID: stringType(),
|
|
80781
80966
|
title: stringType().optional(),
|
|
80967
|
+
category: stringType().optional(),
|
|
80782
80968
|
skip: numberType().int().optional(),
|
|
80783
80969
|
count: numberType().int().optional()
|
|
80784
80970
|
});
|
|
@@ -82689,6 +82875,53 @@ var init_updatewebhook2 = __esm(() => {
|
|
|
82689
82875
|
});
|
|
82690
82876
|
});
|
|
82691
82877
|
|
|
82878
|
+
// src/models/operations/uploadavatar.ts
|
|
82879
|
+
var UploadAvatarSecurity$inboundSchema, UploadAvatarSecurity$outboundSchema, UploadAvatarRequest$inboundSchema, UploadAvatarRequest$outboundSchema, UploadAvatarResponse$inboundSchema, UploadAvatarResponse$outboundSchema;
|
|
82880
|
+
var init_uploadavatar = __esm(() => {
|
|
82881
|
+
init_v3();
|
|
82882
|
+
init_primitives();
|
|
82883
|
+
init_primitives2();
|
|
82884
|
+
init_components();
|
|
82885
|
+
UploadAvatarSecurity$inboundSchema = objectType({
|
|
82886
|
+
username: optional3(string4()),
|
|
82887
|
+
password: optional3(string4())
|
|
82888
|
+
});
|
|
82889
|
+
UploadAvatarSecurity$outboundSchema = objectType({
|
|
82890
|
+
username: stringType().optional(),
|
|
82891
|
+
password: stringType().optional()
|
|
82892
|
+
});
|
|
82893
|
+
UploadAvatarRequest$inboundSchema = objectType({
|
|
82894
|
+
uniqueID: string4(),
|
|
82895
|
+
AvatarUploadRequest: AvatarUploadRequest$inboundSchema
|
|
82896
|
+
}).transform((v2) => {
|
|
82897
|
+
return remap(v2, {
|
|
82898
|
+
AvatarUploadRequest: "avatarUploadRequest"
|
|
82899
|
+
});
|
|
82900
|
+
});
|
|
82901
|
+
UploadAvatarRequest$outboundSchema = objectType({
|
|
82902
|
+
uniqueID: stringType(),
|
|
82903
|
+
avatarUploadRequest: AvatarUploadRequest$outboundSchema
|
|
82904
|
+
}).transform((v2) => {
|
|
82905
|
+
return remap(v2, {
|
|
82906
|
+
avatarUploadRequest: "AvatarUploadRequest"
|
|
82907
|
+
});
|
|
82908
|
+
});
|
|
82909
|
+
UploadAvatarResponse$inboundSchema = objectType({
|
|
82910
|
+
Headers: recordType(arrayType(stringType())).default({})
|
|
82911
|
+
}).transform((v2) => {
|
|
82912
|
+
return remap(v2, {
|
|
82913
|
+
Headers: "headers"
|
|
82914
|
+
});
|
|
82915
|
+
});
|
|
82916
|
+
UploadAvatarResponse$outboundSchema = objectType({
|
|
82917
|
+
headers: recordType(arrayType(stringType()))
|
|
82918
|
+
}).transform((v2) => {
|
|
82919
|
+
return remap(v2, {
|
|
82920
|
+
headers: "Headers"
|
|
82921
|
+
});
|
|
82922
|
+
});
|
|
82923
|
+
});
|
|
82924
|
+
|
|
82692
82925
|
// src/models/operations/uploaddisputeevidencefile.ts
|
|
82693
82926
|
var UploadDisputeEvidenceFileRequest$inboundSchema, UploadDisputeEvidenceFileRequest$outboundSchema, UploadDisputeEvidenceFileResponse$inboundSchema, UploadDisputeEvidenceFileResponse$outboundSchema;
|
|
82694
82927
|
var init_uploaddisputeevidencefile = __esm(() => {
|
|
@@ -82986,6 +83219,7 @@ var init_operations = __esm(() => {
|
|
|
82986
83219
|
init_createtransferoptions2();
|
|
82987
83220
|
init_createwallet2();
|
|
82988
83221
|
init_createwebhook2();
|
|
83222
|
+
init_deleteavatar();
|
|
82989
83223
|
init_deletedisputeevidencefile();
|
|
82990
83224
|
init_deleteimage();
|
|
82991
83225
|
init_deleteinvoice();
|
|
@@ -83090,6 +83324,7 @@ var init_operations = __esm(() => {
|
|
|
83090
83324
|
init_listpartnerpricingagreements();
|
|
83091
83325
|
init_listpaymentlinks();
|
|
83092
83326
|
init_listpaymentmethods();
|
|
83327
|
+
init_listproductcategories();
|
|
83093
83328
|
init_listproducts();
|
|
83094
83329
|
init_listreceipts();
|
|
83095
83330
|
init_listrefunds();
|
|
@@ -83138,6 +83373,7 @@ var init_operations = __esm(() => {
|
|
|
83138
83373
|
init_updatetransferconfig();
|
|
83139
83374
|
init_updatewallet();
|
|
83140
83375
|
init_updatewebhook2();
|
|
83376
|
+
init_uploadavatar();
|
|
83141
83377
|
init_uploaddisputeevidencefile();
|
|
83142
83378
|
init_uploaddisputeevidencetext();
|
|
83143
83379
|
init_uploadfile();
|
|
@@ -97171,6 +97407,7 @@ async function $do121(client, request, options) {
|
|
|
97171
97407
|
};
|
|
97172
97408
|
const path = pathToFunc("/accounts/{accountID}/products")(pathParams);
|
|
97173
97409
|
const query = encodeFormQuery({
|
|
97410
|
+
category: payload.category,
|
|
97174
97411
|
count: payload.count,
|
|
97175
97412
|
skip: payload.skip,
|
|
97176
97413
|
title: payload.title
|
|
@@ -97266,11 +97503,99 @@ var init_productsList2 = __esm(() => {
|
|
|
97266
97503
|
};
|
|
97267
97504
|
});
|
|
97268
97505
|
|
|
97506
|
+
// src/funcs/productsListCategories.ts
|
|
97507
|
+
function productsListCategories(client, options) {
|
|
97508
|
+
return new APIPromise($do122(client, options));
|
|
97509
|
+
}
|
|
97510
|
+
async function $do122(client, options) {
|
|
97511
|
+
const path = pathToFunc("/product-categories")();
|
|
97512
|
+
const headers = new Headers(compactMap({
|
|
97513
|
+
Accept: "application/json"
|
|
97514
|
+
}));
|
|
97515
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
97516
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
97517
|
+
const context = {
|
|
97518
|
+
options: client._options,
|
|
97519
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
97520
|
+
operationID: "listProductCategories",
|
|
97521
|
+
oAuth2Scopes: null,
|
|
97522
|
+
resolvedSecurity: requestSecurity,
|
|
97523
|
+
securitySource: client._options.security,
|
|
97524
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
97525
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
97526
|
+
};
|
|
97527
|
+
const requestRes = client._createRequest(context, {
|
|
97528
|
+
security: requestSecurity,
|
|
97529
|
+
method: "GET",
|
|
97530
|
+
baseURL: options?.serverURL,
|
|
97531
|
+
path,
|
|
97532
|
+
headers,
|
|
97533
|
+
userAgent: client._options.userAgent,
|
|
97534
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
97535
|
+
}, options);
|
|
97536
|
+
if (!requestRes.ok) {
|
|
97537
|
+
return [requestRes, { status: "invalid" }];
|
|
97538
|
+
}
|
|
97539
|
+
const req = requestRes.value;
|
|
97540
|
+
const doResult = await client._do(req, {
|
|
97541
|
+
context,
|
|
97542
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
97543
|
+
retryConfig: context.retryConfig,
|
|
97544
|
+
retryCodes: context.retryCodes
|
|
97545
|
+
});
|
|
97546
|
+
if (!doResult.ok) {
|
|
97547
|
+
return [doResult, { status: "request-error", request: req }];
|
|
97548
|
+
}
|
|
97549
|
+
const response = doResult.value;
|
|
97550
|
+
const responseFields = {
|
|
97551
|
+
HttpMeta: { Response: response, Request: req }
|
|
97552
|
+
};
|
|
97553
|
+
const [result] = await match(json(200, ListProductCategoriesResponse$inboundSchema, {
|
|
97554
|
+
hdrs: true,
|
|
97555
|
+
key: "Result"
|
|
97556
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
97557
|
+
if (!result.ok) {
|
|
97558
|
+
return [result, { status: "complete", request: req, response }];
|
|
97559
|
+
}
|
|
97560
|
+
return [result, { status: "complete", request: req, response }];
|
|
97561
|
+
}
|
|
97562
|
+
var init_productsListCategories = __esm(() => {
|
|
97563
|
+
init_http();
|
|
97564
|
+
init_matchers();
|
|
97565
|
+
init_primitives();
|
|
97566
|
+
init_security();
|
|
97567
|
+
init_url();
|
|
97568
|
+
init_operations();
|
|
97569
|
+
init_async();
|
|
97570
|
+
});
|
|
97571
|
+
|
|
97572
|
+
// src/mcp-server/tools/productsListCategories.ts
|
|
97573
|
+
var tool$productsListCategories;
|
|
97574
|
+
var init_productsListCategories2 = __esm(() => {
|
|
97575
|
+
init_productsListCategories();
|
|
97576
|
+
init_tools();
|
|
97577
|
+
tool$productsListCategories = {
|
|
97578
|
+
name: "products-list-categories",
|
|
97579
|
+
description: `Returns the full, read-only list of product categories from the product taxonomy.`,
|
|
97580
|
+
tool: async (client, ctx) => {
|
|
97581
|
+
const [result, apiCall] = await productsListCategories(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97582
|
+
if (!result.ok) {
|
|
97583
|
+
return {
|
|
97584
|
+
content: [{ type: "text", text: result.error.message }],
|
|
97585
|
+
isError: true
|
|
97586
|
+
};
|
|
97587
|
+
}
|
|
97588
|
+
const value = result.value.result;
|
|
97589
|
+
return formatResult(value, apiCall);
|
|
97590
|
+
}
|
|
97591
|
+
};
|
|
97592
|
+
});
|
|
97593
|
+
|
|
97269
97594
|
// src/funcs/productsUpdate.ts
|
|
97270
97595
|
function productsUpdate(client, request, options) {
|
|
97271
|
-
return new APIPromise($
|
|
97596
|
+
return new APIPromise($do123(client, request, options));
|
|
97272
97597
|
}
|
|
97273
|
-
async function $
|
|
97598
|
+
async function $do123(client, request, options) {
|
|
97274
97599
|
const parsed = safeParse4(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97275
97600
|
if (!parsed.ok) {
|
|
97276
97601
|
return [parsed, { status: "invalid" }];
|
|
@@ -97384,9 +97709,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
97384
97709
|
|
|
97385
97710
|
// src/funcs/receiptsCreate.ts
|
|
97386
97711
|
function receiptsCreate(client, request, options) {
|
|
97387
|
-
return new APIPromise($
|
|
97712
|
+
return new APIPromise($do124(client, request, options));
|
|
97388
97713
|
}
|
|
97389
|
-
async function $
|
|
97714
|
+
async function $do124(client, request, options) {
|
|
97390
97715
|
const parsed = safeParse4(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
97391
97716
|
if (!parsed.ok) {
|
|
97392
97717
|
return [parsed, { status: "invalid" }];
|
|
@@ -97494,9 +97819,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
97494
97819
|
|
|
97495
97820
|
// src/funcs/receiptsList.ts
|
|
97496
97821
|
function receiptsList(client, request, options) {
|
|
97497
|
-
return new APIPromise($
|
|
97822
|
+
return new APIPromise($do125(client, request, options));
|
|
97498
97823
|
}
|
|
97499
|
-
async function $
|
|
97824
|
+
async function $do125(client, request, options) {
|
|
97500
97825
|
const parsed = safeParse4(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97501
97826
|
if (!parsed.ok) {
|
|
97502
97827
|
return [parsed, { status: "invalid" }];
|
|
@@ -97603,9 +97928,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
97603
97928
|
|
|
97604
97929
|
// src/funcs/representativesCreate.ts
|
|
97605
97930
|
function representativesCreate(client, request, options) {
|
|
97606
|
-
return new APIPromise($
|
|
97931
|
+
return new APIPromise($do126(client, request, options));
|
|
97607
97932
|
}
|
|
97608
|
-
async function $
|
|
97933
|
+
async function $do126(client, request, options) {
|
|
97609
97934
|
const parsed = safeParse4(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97610
97935
|
if (!parsed.ok) {
|
|
97611
97936
|
return [parsed, { status: "invalid" }];
|
|
@@ -97722,9 +98047,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
97722
98047
|
|
|
97723
98048
|
// src/funcs/representativesDelete.ts
|
|
97724
98049
|
function representativesDelete(client, request, options) {
|
|
97725
|
-
return new APIPromise($
|
|
98050
|
+
return new APIPromise($do127(client, request, options));
|
|
97726
98051
|
}
|
|
97727
|
-
async function $
|
|
98052
|
+
async function $do127(client, request, options) {
|
|
97728
98053
|
const parsed = safeParse4(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97729
98054
|
if (!parsed.ok) {
|
|
97730
98055
|
return [parsed, { status: "invalid" }];
|
|
@@ -97832,9 +98157,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
97832
98157
|
|
|
97833
98158
|
// src/funcs/representativesGet.ts
|
|
97834
98159
|
function representativesGet(client, request, options) {
|
|
97835
|
-
return new APIPromise($
|
|
98160
|
+
return new APIPromise($do128(client, request, options));
|
|
97836
98161
|
}
|
|
97837
|
-
async function $
|
|
98162
|
+
async function $do128(client, request, options) {
|
|
97838
98163
|
const parsed = safeParse4(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97839
98164
|
if (!parsed.ok) {
|
|
97840
98165
|
return [parsed, { status: "invalid" }];
|
|
@@ -97944,9 +98269,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
97944
98269
|
|
|
97945
98270
|
// src/funcs/representativesList.ts
|
|
97946
98271
|
function representativesList(client, request, options) {
|
|
97947
|
-
return new APIPromise($
|
|
98272
|
+
return new APIPromise($do129(client, request, options));
|
|
97948
98273
|
}
|
|
97949
|
-
async function $
|
|
98274
|
+
async function $do129(client, request, options) {
|
|
97950
98275
|
const parsed = safeParse4(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97951
98276
|
if (!parsed.ok) {
|
|
97952
98277
|
return [parsed, { status: "invalid" }];
|
|
@@ -98058,9 +98383,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
98058
98383
|
|
|
98059
98384
|
// src/funcs/representativesUpdate.ts
|
|
98060
98385
|
function representativesUpdate(client, request, options) {
|
|
98061
|
-
return new APIPromise($
|
|
98386
|
+
return new APIPromise($do130(client, request, options));
|
|
98062
98387
|
}
|
|
98063
|
-
async function $
|
|
98388
|
+
async function $do130(client, request, options) {
|
|
98064
98389
|
const parsed = safeParse4(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98065
98390
|
if (!parsed.ok) {
|
|
98066
98391
|
return [parsed, { status: "invalid" }];
|
|
@@ -98187,9 +98512,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
98187
98512
|
|
|
98188
98513
|
// src/funcs/resolutionLinksCreate.ts
|
|
98189
98514
|
function resolutionLinksCreate(client, request, options) {
|
|
98190
|
-
return new APIPromise($
|
|
98515
|
+
return new APIPromise($do131(client, request, options));
|
|
98191
98516
|
}
|
|
98192
|
-
async function $
|
|
98517
|
+
async function $do131(client, request, options) {
|
|
98193
98518
|
const parsed = safeParse4(request, (value) => CreateResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98194
98519
|
if (!parsed.ok) {
|
|
98195
98520
|
return [parsed, { status: "invalid" }];
|
|
@@ -98306,9 +98631,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\`, \`/accounts/
|
|
|
98306
98631
|
|
|
98307
98632
|
// src/funcs/resolutionLinksDisable.ts
|
|
98308
98633
|
function resolutionLinksDisable(client, request, options) {
|
|
98309
|
-
return new APIPromise($
|
|
98634
|
+
return new APIPromise($do132(client, request, options));
|
|
98310
98635
|
}
|
|
98311
|
-
async function $
|
|
98636
|
+
async function $do132(client, request, options) {
|
|
98312
98637
|
const parsed = safeParse4(request, (value) => DisableResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98313
98638
|
if (!parsed.ok) {
|
|
98314
98639
|
return [parsed, { status: "invalid" }];
|
|
@@ -98416,9 +98741,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
98416
98741
|
|
|
98417
98742
|
// src/funcs/resolutionLinksGet.ts
|
|
98418
98743
|
function resolutionLinksGet(client, request, options) {
|
|
98419
|
-
return new APIPromise($
|
|
98744
|
+
return new APIPromise($do133(client, request, options));
|
|
98420
98745
|
}
|
|
98421
|
-
async function $
|
|
98746
|
+
async function $do133(client, request, options) {
|
|
98422
98747
|
const parsed = safeParse4(request, (value) => GetResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98423
98748
|
if (!parsed.ok) {
|
|
98424
98749
|
return [parsed, { status: "invalid" }];
|
|
@@ -98528,9 +98853,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
98528
98853
|
|
|
98529
98854
|
// src/funcs/resolutionLinksList.ts
|
|
98530
98855
|
function resolutionLinksList(client, request, options) {
|
|
98531
|
-
return new APIPromise($
|
|
98856
|
+
return new APIPromise($do134(client, request, options));
|
|
98532
98857
|
}
|
|
98533
|
-
async function $
|
|
98858
|
+
async function $do134(client, request, options) {
|
|
98534
98859
|
const parsed = safeParse4(request, (value) => ListResolutionLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98535
98860
|
if (!parsed.ok) {
|
|
98536
98861
|
return [parsed, { status: "invalid" }];
|
|
@@ -98639,9 +98964,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
98639
98964
|
|
|
98640
98965
|
// src/funcs/schedulingCancel.ts
|
|
98641
98966
|
function schedulingCancel(client, request, options) {
|
|
98642
|
-
return new APIPromise($
|
|
98967
|
+
return new APIPromise($do135(client, request, options));
|
|
98643
98968
|
}
|
|
98644
|
-
async function $
|
|
98969
|
+
async function $do135(client, request, options) {
|
|
98645
98970
|
const parsed = safeParse4(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98646
98971
|
if (!parsed.ok) {
|
|
98647
98972
|
return [parsed, { status: "invalid" }];
|
|
@@ -98752,9 +99077,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98752
99077
|
|
|
98753
99078
|
// src/funcs/schedulingCreate.ts
|
|
98754
99079
|
function schedulingCreate(client, request, options) {
|
|
98755
|
-
return new APIPromise($
|
|
99080
|
+
return new APIPromise($do136(client, request, options));
|
|
98756
99081
|
}
|
|
98757
|
-
async function $
|
|
99082
|
+
async function $do136(client, request, options) {
|
|
98758
99083
|
const parsed = safeParse4(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98759
99084
|
if (!parsed.ok) {
|
|
98760
99085
|
return [parsed, { status: "invalid" }];
|
|
@@ -98867,9 +99192,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98867
99192
|
|
|
98868
99193
|
// src/funcs/schedulingGet.ts
|
|
98869
99194
|
function schedulingGet(client, request, options) {
|
|
98870
|
-
return new APIPromise($
|
|
99195
|
+
return new APIPromise($do137(client, request, options));
|
|
98871
99196
|
}
|
|
98872
|
-
async function $
|
|
99197
|
+
async function $do137(client, request, options) {
|
|
98873
99198
|
const parsed = safeParse4(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98874
99199
|
if (!parsed.ok) {
|
|
98875
99200
|
return [parsed, { status: "invalid" }];
|
|
@@ -98982,9 +99307,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98982
99307
|
|
|
98983
99308
|
// src/funcs/schedulingGetOccurrance.ts
|
|
98984
99309
|
function schedulingGetOccurrance(client, request, options) {
|
|
98985
|
-
return new APIPromise($
|
|
99310
|
+
return new APIPromise($do138(client, request, options));
|
|
98986
99311
|
}
|
|
98987
|
-
async function $
|
|
99312
|
+
async function $do138(client, request, options) {
|
|
98988
99313
|
const parsed = safeParse4(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98989
99314
|
if (!parsed.ok) {
|
|
98990
99315
|
return [parsed, { status: "invalid" }];
|
|
@@ -99098,9 +99423,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99098
99423
|
|
|
99099
99424
|
// src/funcs/schedulingList.ts
|
|
99100
99425
|
function schedulingList(client, request, options) {
|
|
99101
|
-
return new APIPromise($
|
|
99426
|
+
return new APIPromise($do139(client, request, options));
|
|
99102
99427
|
}
|
|
99103
|
-
async function $
|
|
99428
|
+
async function $do139(client, request, options) {
|
|
99104
99429
|
const parsed = safeParse4(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99105
99430
|
if (!parsed.ok) {
|
|
99106
99431
|
return [parsed, { status: "invalid" }];
|
|
@@ -99215,9 +99540,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99215
99540
|
|
|
99216
99541
|
// src/funcs/schedulingUpdate.ts
|
|
99217
99542
|
function schedulingUpdate(client, request, options) {
|
|
99218
|
-
return new APIPromise($
|
|
99543
|
+
return new APIPromise($do140(client, request, options));
|
|
99219
99544
|
}
|
|
99220
|
-
async function $
|
|
99545
|
+
async function $do140(client, request, options) {
|
|
99221
99546
|
const parsed = safeParse4(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99222
99547
|
if (!parsed.ok) {
|
|
99223
99548
|
return [parsed, { status: "invalid" }];
|
|
@@ -99334,9 +99659,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
99334
99659
|
|
|
99335
99660
|
// src/funcs/statementsGet.ts
|
|
99336
99661
|
function statementsGet(client, request, options) {
|
|
99337
|
-
return new APIPromise($
|
|
99662
|
+
return new APIPromise($do141(client, request, options));
|
|
99338
99663
|
}
|
|
99339
|
-
async function $
|
|
99664
|
+
async function $do141(client, request, options) {
|
|
99340
99665
|
const parsed = safeParse4(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99341
99666
|
if (!parsed.ok) {
|
|
99342
99667
|
return [parsed, { status: "invalid" }];
|
|
@@ -99455,9 +99780,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99455
99780
|
|
|
99456
99781
|
// src/funcs/statementsList.ts
|
|
99457
99782
|
function statementsList(client, request, options) {
|
|
99458
|
-
return new APIPromise($
|
|
99783
|
+
return new APIPromise($do142(client, request, options));
|
|
99459
99784
|
}
|
|
99460
|
-
async function $
|
|
99785
|
+
async function $do142(client, request, options) {
|
|
99461
99786
|
const parsed = safeParse4(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99462
99787
|
if (!parsed.ok) {
|
|
99463
99788
|
return [parsed, { status: "invalid" }];
|
|
@@ -99574,9 +99899,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99574
99899
|
|
|
99575
99900
|
// src/funcs/supportCreateTicket.ts
|
|
99576
99901
|
function supportCreateTicket(client, request, options) {
|
|
99577
|
-
return new APIPromise($
|
|
99902
|
+
return new APIPromise($do143(client, request, options));
|
|
99578
99903
|
}
|
|
99579
|
-
async function $
|
|
99904
|
+
async function $do143(client, request, options) {
|
|
99580
99905
|
const parsed = safeParse4(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99581
99906
|
if (!parsed.ok) {
|
|
99582
99907
|
return [parsed, { status: "invalid" }];
|
|
@@ -99690,9 +100015,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
99690
100015
|
|
|
99691
100016
|
// src/funcs/supportGetTicket.ts
|
|
99692
100017
|
function supportGetTicket(client, request, options) {
|
|
99693
|
-
return new APIPromise($
|
|
100018
|
+
return new APIPromise($do144(client, request, options));
|
|
99694
100019
|
}
|
|
99695
|
-
async function $
|
|
100020
|
+
async function $do144(client, request, options) {
|
|
99696
100021
|
const parsed = safeParse4(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99697
100022
|
if (!parsed.ok) {
|
|
99698
100023
|
return [parsed, { status: "invalid" }];
|
|
@@ -99808,9 +100133,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
99808
100133
|
|
|
99809
100134
|
// src/funcs/supportListTicketMessages.ts
|
|
99810
100135
|
function supportListTicketMessages(client, request, options) {
|
|
99811
|
-
return new APIPromise($
|
|
100136
|
+
return new APIPromise($do145(client, request, options));
|
|
99812
100137
|
}
|
|
99813
|
-
async function $
|
|
100138
|
+
async function $do145(client, request, options) {
|
|
99814
100139
|
const parsed = safeParse4(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99815
100140
|
if (!parsed.ok) {
|
|
99816
100141
|
return [parsed, { status: "invalid" }];
|
|
@@ -99926,9 +100251,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
99926
100251
|
|
|
99927
100252
|
// src/funcs/supportListTickets.ts
|
|
99928
100253
|
function supportListTickets(client, request, options) {
|
|
99929
|
-
return new APIPromise($
|
|
100254
|
+
return new APIPromise($do146(client, request, options));
|
|
99930
100255
|
}
|
|
99931
|
-
async function $
|
|
100256
|
+
async function $do146(client, request, options) {
|
|
99932
100257
|
const parsed = safeParse4(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99933
100258
|
if (!parsed.ok) {
|
|
99934
100259
|
return [parsed, { status: "invalid" }];
|
|
@@ -100047,9 +100372,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
100047
100372
|
|
|
100048
100373
|
// src/funcs/supportUpdateTicket.ts
|
|
100049
100374
|
function supportUpdateTicket(client, request, options) {
|
|
100050
|
-
return new APIPromise($
|
|
100375
|
+
return new APIPromise($do147(client, request, options));
|
|
100051
100376
|
}
|
|
100052
|
-
async function $
|
|
100377
|
+
async function $do147(client, request, options) {
|
|
100053
100378
|
const parsed = safeParse4(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100054
100379
|
if (!parsed.ok) {
|
|
100055
100380
|
return [parsed, { status: "invalid" }];
|
|
@@ -100167,9 +100492,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
100167
100492
|
|
|
100168
100493
|
// src/funcs/sweepsCreateConfig.ts
|
|
100169
100494
|
function sweepsCreateConfig(client, request, options) {
|
|
100170
|
-
return new APIPromise($
|
|
100495
|
+
return new APIPromise($do148(client, request, options));
|
|
100171
100496
|
}
|
|
100172
|
-
async function $
|
|
100497
|
+
async function $do148(client, request, options) {
|
|
100173
100498
|
const parsed = safeParse4(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100174
100499
|
if (!parsed.ok) {
|
|
100175
100500
|
return [parsed, { status: "invalid" }];
|
|
@@ -100280,9 +100605,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100280
100605
|
|
|
100281
100606
|
// src/funcs/sweepsGet.ts
|
|
100282
100607
|
function sweepsGet(client, request, options) {
|
|
100283
|
-
return new APIPromise($
|
|
100608
|
+
return new APIPromise($do149(client, request, options));
|
|
100284
100609
|
}
|
|
100285
|
-
async function $
|
|
100610
|
+
async function $do149(client, request, options) {
|
|
100286
100611
|
const parsed = safeParse4(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100287
100612
|
if (!parsed.ok) {
|
|
100288
100613
|
return [parsed, { status: "invalid" }];
|
|
@@ -100399,9 +100724,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100399
100724
|
|
|
100400
100725
|
// src/funcs/sweepsGetConfig.ts
|
|
100401
100726
|
function sweepsGetConfig(client, request, options) {
|
|
100402
|
-
return new APIPromise($
|
|
100727
|
+
return new APIPromise($do150(client, request, options));
|
|
100403
100728
|
}
|
|
100404
|
-
async function $
|
|
100729
|
+
async function $do150(client, request, options) {
|
|
100405
100730
|
const parsed = safeParse4(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100406
100731
|
if (!parsed.ok) {
|
|
100407
100732
|
return [parsed, { status: "invalid" }];
|
|
@@ -100514,9 +100839,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100514
100839
|
|
|
100515
100840
|
// src/funcs/sweepsList.ts
|
|
100516
100841
|
function sweepsList(client, request, options) {
|
|
100517
|
-
return new APIPromise($
|
|
100842
|
+
return new APIPromise($do151(client, request, options));
|
|
100518
100843
|
}
|
|
100519
|
-
async function $
|
|
100844
|
+
async function $do151(client, request, options) {
|
|
100520
100845
|
const parsed = safeParse4(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100521
100846
|
if (!parsed.ok) {
|
|
100522
100847
|
return [parsed, { status: "invalid" }];
|
|
@@ -100636,9 +100961,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100636
100961
|
|
|
100637
100962
|
// src/funcs/sweepsListConfigs.ts
|
|
100638
100963
|
function sweepsListConfigs(client, request, options) {
|
|
100639
|
-
return new APIPromise($
|
|
100964
|
+
return new APIPromise($do152(client, request, options));
|
|
100640
100965
|
}
|
|
100641
|
-
async function $
|
|
100966
|
+
async function $do152(client, request, options) {
|
|
100642
100967
|
const parsed = safeParse4(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100643
100968
|
if (!parsed.ok) {
|
|
100644
100969
|
return [parsed, { status: "invalid" }];
|
|
@@ -100747,9 +101072,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100747
101072
|
|
|
100748
101073
|
// src/funcs/sweepsUpdateConfig.ts
|
|
100749
101074
|
function sweepsUpdateConfig(client, request, options) {
|
|
100750
|
-
return new APIPromise($
|
|
101075
|
+
return new APIPromise($do153(client, request, options));
|
|
100751
101076
|
}
|
|
100752
|
-
async function $
|
|
101077
|
+
async function $do153(client, request, options) {
|
|
100753
101078
|
const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100754
101079
|
if (!parsed.ok) {
|
|
100755
101080
|
return [parsed, { status: "invalid" }];
|
|
@@ -100864,9 +101189,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100864
101189
|
|
|
100865
101190
|
// src/funcs/terminalApplicationsCreate.ts
|
|
100866
101191
|
function terminalApplicationsCreate(client, request, options) {
|
|
100867
|
-
return new APIPromise($
|
|
101192
|
+
return new APIPromise($do154(client, request, options));
|
|
100868
101193
|
}
|
|
100869
|
-
async function $
|
|
101194
|
+
async function $do154(client, request, options) {
|
|
100870
101195
|
const parsed = safeParse4(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
100871
101196
|
if (!parsed.ok) {
|
|
100872
101197
|
return [parsed, { status: "invalid" }];
|
|
@@ -100974,9 +101299,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
100974
101299
|
|
|
100975
101300
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
100976
101301
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
100977
|
-
return new APIPromise($
|
|
101302
|
+
return new APIPromise($do155(client, request, options));
|
|
100978
101303
|
}
|
|
100979
|
-
async function $
|
|
101304
|
+
async function $do155(client, request, options) {
|
|
100980
101305
|
const parsed = safeParse4(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100981
101306
|
if (!parsed.ok) {
|
|
100982
101307
|
return [parsed, { status: "invalid" }];
|
|
@@ -101085,9 +101410,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
101085
101410
|
|
|
101086
101411
|
// src/funcs/terminalApplicationsDelete.ts
|
|
101087
101412
|
function terminalApplicationsDelete(client, request, options) {
|
|
101088
|
-
return new APIPromise($
|
|
101413
|
+
return new APIPromise($do156(client, request, options));
|
|
101089
101414
|
}
|
|
101090
|
-
async function $
|
|
101415
|
+
async function $do156(client, request, options) {
|
|
101091
101416
|
const parsed = safeParse4(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101092
101417
|
if (!parsed.ok) {
|
|
101093
101418
|
return [parsed, { status: "invalid" }];
|
|
@@ -101191,9 +101516,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
101191
101516
|
|
|
101192
101517
|
// src/funcs/terminalApplicationsGet.ts
|
|
101193
101518
|
function terminalApplicationsGet(client, request, options) {
|
|
101194
|
-
return new APIPromise($
|
|
101519
|
+
return new APIPromise($do157(client, request, options));
|
|
101195
101520
|
}
|
|
101196
|
-
async function $
|
|
101521
|
+
async function $do157(client, request, options) {
|
|
101197
101522
|
const parsed = safeParse4(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101198
101523
|
if (!parsed.ok) {
|
|
101199
101524
|
return [parsed, { status: "invalid" }];
|
|
@@ -101299,9 +101624,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
101299
101624
|
|
|
101300
101625
|
// src/funcs/terminalApplicationsList.ts
|
|
101301
101626
|
function terminalApplicationsList(client, options) {
|
|
101302
|
-
return new APIPromise($
|
|
101627
|
+
return new APIPromise($do158(client, options));
|
|
101303
101628
|
}
|
|
101304
|
-
async function $
|
|
101629
|
+
async function $do158(client, options) {
|
|
101305
101630
|
const path = pathToFunc("/terminal-applications")();
|
|
101306
101631
|
const headers = new Headers(compactMap({
|
|
101307
101632
|
Accept: "application/json"
|
|
@@ -101390,9 +101715,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
101390
101715
|
|
|
101391
101716
|
// src/funcs/transferConfigCreate.ts
|
|
101392
101717
|
function transferConfigCreate(client, request, options) {
|
|
101393
|
-
return new APIPromise($
|
|
101718
|
+
return new APIPromise($do159(client, request, options));
|
|
101394
101719
|
}
|
|
101395
|
-
async function $
|
|
101720
|
+
async function $do159(client, request, options) {
|
|
101396
101721
|
const parsed = safeParse4(request, (value) => CreateTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101397
101722
|
if (!parsed.ok) {
|
|
101398
101723
|
return [parsed, { status: "invalid" }];
|
|
@@ -101504,9 +101829,9 @@ var init_transferConfigCreate2 = __esm(() => {
|
|
|
101504
101829
|
|
|
101505
101830
|
// src/funcs/transferConfigGet.ts
|
|
101506
101831
|
function transferConfigGet(client, request, options) {
|
|
101507
|
-
return new APIPromise($
|
|
101832
|
+
return new APIPromise($do160(client, request, options));
|
|
101508
101833
|
}
|
|
101509
|
-
async function $
|
|
101834
|
+
async function $do160(client, request, options) {
|
|
101510
101835
|
const parsed = safeParse4(request, (value) => GetTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101511
101836
|
if (!parsed.ok) {
|
|
101512
101837
|
return [parsed, { status: "invalid" }];
|
|
@@ -101612,9 +101937,9 @@ var init_transferConfigGet2 = __esm(() => {
|
|
|
101612
101937
|
|
|
101613
101938
|
// src/funcs/transferConfigUpdate.ts
|
|
101614
101939
|
function transferConfigUpdate(client, request, options) {
|
|
101615
|
-
return new APIPromise($
|
|
101940
|
+
return new APIPromise($do161(client, request, options));
|
|
101616
101941
|
}
|
|
101617
|
-
async function $
|
|
101942
|
+
async function $do161(client, request, options) {
|
|
101618
101943
|
const parsed = safeParse4(request, (value) => UpdateTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101619
101944
|
if (!parsed.ok) {
|
|
101620
101945
|
return [parsed, { status: "invalid" }];
|
|
@@ -101724,9 +102049,9 @@ var init_transferConfigUpdate2 = __esm(() => {
|
|
|
101724
102049
|
|
|
101725
102050
|
// src/funcs/transfersBatchGetTransfers.ts
|
|
101726
102051
|
function transfersBatchGetTransfers(client, request, options) {
|
|
101727
|
-
return new APIPromise($
|
|
102052
|
+
return new APIPromise($do162(client, request, options));
|
|
101728
102053
|
}
|
|
101729
|
-
async function $
|
|
102054
|
+
async function $do162(client, request, options) {
|
|
101730
102055
|
const parsed = safeParse4(request, (value) => BatchGetTransfersRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
101731
102056
|
if (!parsed.ok) {
|
|
101732
102057
|
return [parsed, { status: "invalid" }];
|
|
@@ -101842,9 +102167,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
101842
102167
|
|
|
101843
102168
|
// src/funcs/transfersCreate.ts
|
|
101844
102169
|
function transfersCreate(client, request, options) {
|
|
101845
|
-
return new APIPromise($
|
|
102170
|
+
return new APIPromise($do163(client, request, options));
|
|
101846
102171
|
}
|
|
101847
|
-
async function $
|
|
102172
|
+
async function $do163(client, request, options) {
|
|
101848
102173
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101849
102174
|
if (!parsed.ok) {
|
|
101850
102175
|
return [parsed, { status: "invalid" }];
|
|
@@ -101970,9 +102295,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
101970
102295
|
|
|
101971
102296
|
// src/funcs/transfersCreateCancellation.ts
|
|
101972
102297
|
function transfersCreateCancellation(client, request, options) {
|
|
101973
|
-
return new APIPromise($
|
|
102298
|
+
return new APIPromise($do164(client, request, options));
|
|
101974
102299
|
}
|
|
101975
|
-
async function $
|
|
102300
|
+
async function $do164(client, request, options) {
|
|
101976
102301
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101977
102302
|
if (!parsed.ok) {
|
|
101978
102303
|
return [parsed, { status: "invalid" }];
|
|
@@ -102086,9 +102411,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
102086
102411
|
|
|
102087
102412
|
// src/funcs/transfersCreateReversal.ts
|
|
102088
102413
|
function transfersCreateReversal(client, request, options) {
|
|
102089
|
-
return new APIPromise($
|
|
102414
|
+
return new APIPromise($do165(client, request, options));
|
|
102090
102415
|
}
|
|
102091
|
-
async function $
|
|
102416
|
+
async function $do165(client, request, options) {
|
|
102092
102417
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102093
102418
|
if (!parsed.ok) {
|
|
102094
102419
|
return [parsed, { status: "invalid" }];
|
|
@@ -102208,9 +102533,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102208
102533
|
|
|
102209
102534
|
// src/funcs/transfersGenerateOptions.ts
|
|
102210
102535
|
function transfersGenerateOptions(client, request, options) {
|
|
102211
|
-
return new APIPromise($
|
|
102536
|
+
return new APIPromise($do166(client, request, options));
|
|
102212
102537
|
}
|
|
102213
|
-
async function $
|
|
102538
|
+
async function $do166(client, request, options) {
|
|
102214
102539
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102215
102540
|
if (!parsed.ok) {
|
|
102216
102541
|
return [parsed, { status: "invalid" }];
|
|
@@ -102330,9 +102655,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102330
102655
|
|
|
102331
102656
|
// src/funcs/transfersGet.ts
|
|
102332
102657
|
function transfersGet(client, request, options) {
|
|
102333
|
-
return new APIPromise($
|
|
102658
|
+
return new APIPromise($do167(client, request, options));
|
|
102334
102659
|
}
|
|
102335
|
-
async function $
|
|
102660
|
+
async function $do167(client, request, options) {
|
|
102336
102661
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102337
102662
|
if (!parsed.ok) {
|
|
102338
102663
|
return [parsed, { status: "invalid" }];
|
|
@@ -102448,9 +102773,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102448
102773
|
|
|
102449
102774
|
// src/funcs/transfersGetCancellation.ts
|
|
102450
102775
|
function transfersGetCancellation(client, request, options) {
|
|
102451
|
-
return new APIPromise($
|
|
102776
|
+
return new APIPromise($do168(client, request, options));
|
|
102452
102777
|
}
|
|
102453
|
-
async function $
|
|
102778
|
+
async function $do168(client, request, options) {
|
|
102454
102779
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102455
102780
|
if (!parsed.ok) {
|
|
102456
102781
|
return [parsed, { status: "invalid" }];
|
|
@@ -102567,9 +102892,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
102567
102892
|
|
|
102568
102893
|
// src/funcs/transfersGetRefund.ts
|
|
102569
102894
|
function transfersGetRefund(client, request, options) {
|
|
102570
|
-
return new APIPromise($
|
|
102895
|
+
return new APIPromise($do169(client, request, options));
|
|
102571
102896
|
}
|
|
102572
|
-
async function $
|
|
102897
|
+
async function $do169(client, request, options) {
|
|
102573
102898
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102574
102899
|
if (!parsed.ok) {
|
|
102575
102900
|
return [parsed, { status: "invalid" }];
|
|
@@ -102686,9 +103011,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102686
103011
|
|
|
102687
103012
|
// src/funcs/transfersGetRiskOutcomes.ts
|
|
102688
103013
|
function transfersGetRiskOutcomes(client, request, options) {
|
|
102689
|
-
return new APIPromise($
|
|
103014
|
+
return new APIPromise($do170(client, request, options));
|
|
102690
103015
|
}
|
|
102691
|
-
async function $
|
|
103016
|
+
async function $do170(client, request, options) {
|
|
102692
103017
|
const parsed = safeParse4(request, (value) => GetTransferRiskOutcomesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102693
103018
|
if (!parsed.ok) {
|
|
102694
103019
|
return [parsed, { status: "invalid" }];
|
|
@@ -102803,9 +103128,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102803
103128
|
|
|
102804
103129
|
// src/funcs/transfersInitiateRefund.ts
|
|
102805
103130
|
function transfersInitiateRefund(client, request, options) {
|
|
102806
|
-
return new APIPromise($
|
|
103131
|
+
return new APIPromise($do171(client, request, options));
|
|
102807
103132
|
}
|
|
102808
|
-
async function $
|
|
103133
|
+
async function $do171(client, request, options) {
|
|
102809
103134
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102810
103135
|
if (!parsed.ok) {
|
|
102811
103136
|
return [parsed, { status: "invalid" }];
|
|
@@ -102931,9 +103256,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102931
103256
|
|
|
102932
103257
|
// src/funcs/transfersList.ts
|
|
102933
103258
|
function transfersList(client, request, options) {
|
|
102934
|
-
return new APIPromise($
|
|
103259
|
+
return new APIPromise($do172(client, request, options));
|
|
102935
103260
|
}
|
|
102936
|
-
async function $
|
|
103261
|
+
async function $do172(client, request, options) {
|
|
102937
103262
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102938
103263
|
if (!parsed.ok) {
|
|
102939
103264
|
return [parsed, { status: "invalid" }];
|
|
@@ -103067,9 +103392,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
103067
103392
|
|
|
103068
103393
|
// src/funcs/transfersListCancellations.ts
|
|
103069
103394
|
function transfersListCancellations(client, request, options) {
|
|
103070
|
-
return new APIPromise($
|
|
103395
|
+
return new APIPromise($do173(client, request, options));
|
|
103071
103396
|
}
|
|
103072
|
-
async function $
|
|
103397
|
+
async function $do173(client, request, options) {
|
|
103073
103398
|
const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103074
103399
|
if (!parsed.ok) {
|
|
103075
103400
|
return [parsed, { status: "invalid" }];
|
|
@@ -103182,9 +103507,9 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
103182
103507
|
|
|
103183
103508
|
// src/funcs/transfersListRefunds.ts
|
|
103184
103509
|
function transfersListRefunds(client, request, options) {
|
|
103185
|
-
return new APIPromise($
|
|
103510
|
+
return new APIPromise($do174(client, request, options));
|
|
103186
103511
|
}
|
|
103187
|
-
async function $
|
|
103512
|
+
async function $do174(client, request, options) {
|
|
103188
103513
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103189
103514
|
if (!parsed.ok) {
|
|
103190
103515
|
return [parsed, { status: "invalid" }];
|
|
@@ -103297,9 +103622,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
103297
103622
|
|
|
103298
103623
|
// src/funcs/transfersUpdate.ts
|
|
103299
103624
|
function transfersUpdate(client, request, options) {
|
|
103300
|
-
return new APIPromise($
|
|
103625
|
+
return new APIPromise($do175(client, request, options));
|
|
103301
103626
|
}
|
|
103302
|
-
async function $
|
|
103627
|
+
async function $do175(client, request, options) {
|
|
103303
103628
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103304
103629
|
if (!parsed.ok) {
|
|
103305
103630
|
return [parsed, { status: "invalid" }];
|
|
@@ -103418,9 +103743,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
103418
103743
|
|
|
103419
103744
|
// src/funcs/underwritingGet.ts
|
|
103420
103745
|
function underwritingGet(client, request, options) {
|
|
103421
|
-
return new APIPromise($
|
|
103746
|
+
return new APIPromise($do176(client, request, options));
|
|
103422
103747
|
}
|
|
103423
|
-
async function $
|
|
103748
|
+
async function $do176(client, request, options) {
|
|
103424
103749
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103425
103750
|
if (!parsed.ok) {
|
|
103426
103751
|
return [parsed, { status: "invalid" }];
|
|
@@ -103531,9 +103856,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
103531
103856
|
|
|
103532
103857
|
// src/funcs/underwritingSave.ts
|
|
103533
103858
|
function underwritingSave(client, request, options) {
|
|
103534
|
-
return new APIPromise($
|
|
103859
|
+
return new APIPromise($do177(client, request, options));
|
|
103535
103860
|
}
|
|
103536
|
-
async function $
|
|
103861
|
+
async function $do177(client, request, options) {
|
|
103537
103862
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103538
103863
|
if (!parsed.ok) {
|
|
103539
103864
|
return [parsed, { status: "invalid" }];
|
|
@@ -103650,9 +103975,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103650
103975
|
|
|
103651
103976
|
// src/funcs/underwritingUpsert.ts
|
|
103652
103977
|
function underwritingUpsert(client, request, options) {
|
|
103653
|
-
return new APIPromise($
|
|
103978
|
+
return new APIPromise($do178(client, request, options));
|
|
103654
103979
|
}
|
|
103655
|
-
async function $
|
|
103980
|
+
async function $do178(client, request, options) {
|
|
103656
103981
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103657
103982
|
if (!parsed.ok) {
|
|
103658
103983
|
return [parsed, { status: "invalid" }];
|
|
@@ -103769,9 +104094,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103769
104094
|
|
|
103770
104095
|
// src/funcs/walletsCreate.ts
|
|
103771
104096
|
function walletsCreate(client, request, options) {
|
|
103772
|
-
return new APIPromise($
|
|
104097
|
+
return new APIPromise($do179(client, request, options));
|
|
103773
104098
|
}
|
|
103774
|
-
async function $
|
|
104099
|
+
async function $do179(client, request, options) {
|
|
103775
104100
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103776
104101
|
if (!parsed.ok) {
|
|
103777
104102
|
return [parsed, { status: "invalid" }];
|
|
@@ -103886,9 +104211,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
103886
104211
|
|
|
103887
104212
|
// src/funcs/walletsGet.ts
|
|
103888
104213
|
function walletsGet(client, request, options) {
|
|
103889
|
-
return new APIPromise($
|
|
104214
|
+
return new APIPromise($do180(client, request, options));
|
|
103890
104215
|
}
|
|
103891
|
-
async function $
|
|
104216
|
+
async function $do180(client, request, options) {
|
|
103892
104217
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103893
104218
|
if (!parsed.ok) {
|
|
103894
104219
|
return [parsed, { status: "invalid" }];
|
|
@@ -104003,9 +104328,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104003
104328
|
|
|
104004
104329
|
// src/funcs/walletsList.ts
|
|
104005
104330
|
function walletsList(client, request, options) {
|
|
104006
|
-
return new APIPromise($
|
|
104331
|
+
return new APIPromise($do181(client, request, options));
|
|
104007
104332
|
}
|
|
104008
|
-
async function $
|
|
104333
|
+
async function $do181(client, request, options) {
|
|
104009
104334
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104010
104335
|
if (!parsed.ok) {
|
|
104011
104336
|
return [parsed, { status: "invalid" }];
|
|
@@ -104126,9 +104451,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104126
104451
|
|
|
104127
104452
|
// src/funcs/walletsUpdate.ts
|
|
104128
104453
|
function walletsUpdate(client, request, options) {
|
|
104129
|
-
return new APIPromise($
|
|
104454
|
+
return new APIPromise($do182(client, request, options));
|
|
104130
104455
|
}
|
|
104131
|
-
async function $
|
|
104456
|
+
async function $do182(client, request, options) {
|
|
104132
104457
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104133
104458
|
if (!parsed.ok) {
|
|
104134
104459
|
return [parsed, { status: "invalid" }];
|
|
@@ -104247,9 +104572,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
104247
104572
|
|
|
104248
104573
|
// src/funcs/walletTransactionsGet.ts
|
|
104249
104574
|
function walletTransactionsGet(client, request, options) {
|
|
104250
|
-
return new APIPromise($
|
|
104575
|
+
return new APIPromise($do183(client, request, options));
|
|
104251
104576
|
}
|
|
104252
|
-
async function $
|
|
104577
|
+
async function $do183(client, request, options) {
|
|
104253
104578
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104254
104579
|
if (!parsed.ok) {
|
|
104255
104580
|
return [parsed, { status: "invalid" }];
|
|
@@ -104368,9 +104693,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104368
104693
|
|
|
104369
104694
|
// src/funcs/walletTransactionsList.ts
|
|
104370
104695
|
function walletTransactionsList(client, request, options) {
|
|
104371
|
-
return new APIPromise($
|
|
104696
|
+
return new APIPromise($do184(client, request, options));
|
|
104372
104697
|
}
|
|
104373
|
-
async function $
|
|
104698
|
+
async function $do184(client, request, options) {
|
|
104374
104699
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104375
104700
|
if (!parsed.ok) {
|
|
104376
104701
|
return [parsed, { status: "invalid" }];
|
|
@@ -104503,9 +104828,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104503
104828
|
|
|
104504
104829
|
// src/funcs/webhooksCreate.ts
|
|
104505
104830
|
function webhooksCreate(client, request, options) {
|
|
104506
|
-
return new APIPromise($
|
|
104831
|
+
return new APIPromise($do185(client, request, options));
|
|
104507
104832
|
}
|
|
104508
|
-
async function $
|
|
104833
|
+
async function $do185(client, request, options) {
|
|
104509
104834
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
104510
104835
|
if (!parsed.ok) {
|
|
104511
104836
|
return [parsed, { status: "invalid" }];
|
|
@@ -104610,9 +104935,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
104610
104935
|
|
|
104611
104936
|
// src/funcs/webhooksDisable.ts
|
|
104612
104937
|
function webhooksDisable(client, request, options) {
|
|
104613
|
-
return new APIPromise($
|
|
104938
|
+
return new APIPromise($do186(client, request, options));
|
|
104614
104939
|
}
|
|
104615
|
-
async function $
|
|
104940
|
+
async function $do186(client, request, options) {
|
|
104616
104941
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104617
104942
|
if (!parsed.ok) {
|
|
104618
104943
|
return [parsed, { status: "invalid" }];
|
|
@@ -104716,9 +105041,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
104716
105041
|
|
|
104717
105042
|
// src/funcs/webhooksGet.ts
|
|
104718
105043
|
function webhooksGet(client, request, options) {
|
|
104719
|
-
return new APIPromise($
|
|
105044
|
+
return new APIPromise($do187(client, request, options));
|
|
104720
105045
|
}
|
|
104721
|
-
async function $
|
|
105046
|
+
async function $do187(client, request, options) {
|
|
104722
105047
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104723
105048
|
if (!parsed.ok) {
|
|
104724
105049
|
return [parsed, { status: "invalid" }];
|
|
@@ -104824,9 +105149,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
104824
105149
|
|
|
104825
105150
|
// src/funcs/webhooksGetSecret.ts
|
|
104826
105151
|
function webhooksGetSecret(client, request, options) {
|
|
104827
|
-
return new APIPromise($
|
|
105152
|
+
return new APIPromise($do188(client, request, options));
|
|
104828
105153
|
}
|
|
104829
|
-
async function $
|
|
105154
|
+
async function $do188(client, request, options) {
|
|
104830
105155
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104831
105156
|
if (!parsed.ok) {
|
|
104832
105157
|
return [parsed, { status: "invalid" }];
|
|
@@ -104932,9 +105257,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
104932
105257
|
|
|
104933
105258
|
// src/funcs/webhooksList.ts
|
|
104934
105259
|
function webhooksList(client, options) {
|
|
104935
|
-
return new APIPromise($
|
|
105260
|
+
return new APIPromise($do189(client, options));
|
|
104936
105261
|
}
|
|
104937
|
-
async function $
|
|
105262
|
+
async function $do189(client, options) {
|
|
104938
105263
|
const path = pathToFunc("/webhooks")();
|
|
104939
105264
|
const headers = new Headers(compactMap({
|
|
104940
105265
|
Accept: "application/json"
|
|
@@ -105020,9 +105345,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
105020
105345
|
|
|
105021
105346
|
// src/funcs/webhooksListEventTypes.ts
|
|
105022
105347
|
function webhooksListEventTypes(client, options) {
|
|
105023
|
-
return new APIPromise($
|
|
105348
|
+
return new APIPromise($do190(client, options));
|
|
105024
105349
|
}
|
|
105025
|
-
async function $
|
|
105350
|
+
async function $do190(client, options) {
|
|
105026
105351
|
const path = pathToFunc("/event-types")();
|
|
105027
105352
|
const headers = new Headers(compactMap({
|
|
105028
105353
|
Accept: "application/json"
|
|
@@ -105108,9 +105433,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
105108
105433
|
|
|
105109
105434
|
// src/funcs/webhooksPing.ts
|
|
105110
105435
|
function webhooksPing(client, request, options) {
|
|
105111
|
-
return new APIPromise($
|
|
105436
|
+
return new APIPromise($do191(client, request, options));
|
|
105112
105437
|
}
|
|
105113
|
-
async function $
|
|
105438
|
+
async function $do191(client, request, options) {
|
|
105114
105439
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
105115
105440
|
if (!parsed.ok) {
|
|
105116
105441
|
return [parsed, { status: "invalid" }];
|
|
@@ -105216,9 +105541,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
105216
105541
|
|
|
105217
105542
|
// src/funcs/webhooksUpdate.ts
|
|
105218
105543
|
function webhooksUpdate(client, request, options) {
|
|
105219
|
-
return new APIPromise($
|
|
105544
|
+
return new APIPromise($do192(client, request, options));
|
|
105220
105545
|
}
|
|
105221
|
-
async function $
|
|
105546
|
+
async function $do192(client, request, options) {
|
|
105222
105547
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
105223
105548
|
if (!parsed.ok) {
|
|
105224
105549
|
return [parsed, { status: "invalid" }];
|
|
@@ -105330,7 +105655,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
105330
105655
|
function createMCPServer(deps) {
|
|
105331
105656
|
const server = new McpServer({
|
|
105332
105657
|
name: "Moov",
|
|
105333
|
-
version: "26.10.0-dev.
|
|
105658
|
+
version: "26.10.0-dev.1"
|
|
105334
105659
|
});
|
|
105335
105660
|
const client = new MoovCore({
|
|
105336
105661
|
security: deps.security,
|
|
@@ -105437,6 +105762,7 @@ function createMCPServer(deps) {
|
|
|
105437
105762
|
tool(tool$productsGet);
|
|
105438
105763
|
tool(tool$productsUpdate);
|
|
105439
105764
|
tool(tool$productsDisable);
|
|
105765
|
+
tool(tool$productsListCategories);
|
|
105440
105766
|
tool(tool$representativesCreate);
|
|
105441
105767
|
tool(tool$representativesList);
|
|
105442
105768
|
tool(tool$representativesDelete);
|
|
@@ -105664,6 +105990,7 @@ var init_server2 = __esm(() => {
|
|
|
105664
105990
|
init_productsDisable2();
|
|
105665
105991
|
init_productsGet2();
|
|
105666
105992
|
init_productsList2();
|
|
105993
|
+
init_productsListCategories2();
|
|
105667
105994
|
init_productsUpdate2();
|
|
105668
105995
|
init_receiptsCreate2();
|
|
105669
105996
|
init_receiptsList2();
|
|
@@ -106936,7 +107263,7 @@ var routes = rn({
|
|
|
106936
107263
|
var app = Ve(routes, {
|
|
106937
107264
|
name: "mcp",
|
|
106938
107265
|
versionInfo: {
|
|
106939
|
-
currentVersion: "26.10.0-dev.
|
|
107266
|
+
currentVersion: "26.10.0-dev.1"
|
|
106940
107267
|
}
|
|
106941
107268
|
});
|
|
106942
107269
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -106944,5 +107271,5 @@ export {
|
|
|
106944
107271
|
app
|
|
106945
107272
|
};
|
|
106946
107273
|
|
|
106947
|
-
//# debugId=
|
|
107274
|
+
//# debugId=401F6AD454520D6364756E2164756E21
|
|
106948
107275
|
//# sourceMappingURL=mcp-server.js.map
|