@moovio/sdk 26.7.0-dev.6 → 26.7.0
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 +510 -183
- package/bin/mcp-server.js.map +35 -25
- 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.d.ts.map +1 -1
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +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/filedetails.d.ts +1 -1
- package/models/components/filepurpose.d.ts +2 -2
- package/models/components/filepurpose.js +1 -1
- package/models/components/incurredfee.d.ts +6 -0
- package/models/components/incurredfee.d.ts.map +1 -1
- package/models/components/incurredfee.js +3 -0
- package/models/components/incurredfee.js.map +1 -1
- package/models/components/index.d.ts +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/onboardinginvite.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 -4
- 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/filedetails.ts +1 -1
- package/src/models/components/filepurpose.ts +2 -2
- 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/onboardinginvite.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.07.00",
|
|
53654
|
-
sdkVersion: "26.7.0
|
|
53655
|
-
genVersion: "2.
|
|
53656
|
-
userAgent: "speakeasy-sdk/typescript 26.7.0
|
|
53654
|
+
sdkVersion: "26.7.0",
|
|
53655
|
+
genVersion: "2.924.0",
|
|
53656
|
+
userAgent: "speakeasy-sdk/typescript 26.7.0 2.924.0 v2026.07.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(() => {
|
|
@@ -62989,32 +63048,6 @@ var init_createdtransfer = __esm(() => {
|
|
|
62989
63048
|
});
|
|
62990
63049
|
});
|
|
62991
63050
|
|
|
62992
|
-
// src/types/blobs.ts
|
|
62993
|
-
function isBlobLike2(val) {
|
|
62994
|
-
if (val instanceof Blob) {
|
|
62995
|
-
return true;
|
|
62996
|
-
}
|
|
62997
|
-
if (typeof val !== "object" || val == null || !(Symbol.toStringTag in val)) {
|
|
62998
|
-
return false;
|
|
62999
|
-
}
|
|
63000
|
-
const name = val[Symbol.toStringTag];
|
|
63001
|
-
if (typeof name !== "string") {
|
|
63002
|
-
return false;
|
|
63003
|
-
}
|
|
63004
|
-
if (name !== "Blob" && name !== "File") {
|
|
63005
|
-
return false;
|
|
63006
|
-
}
|
|
63007
|
-
return "stream" in val && typeof val.stream === "function";
|
|
63008
|
-
}
|
|
63009
|
-
var blobLikeSchema;
|
|
63010
|
-
var init_blobs = __esm(() => {
|
|
63011
|
-
init_v3();
|
|
63012
|
-
blobLikeSchema = custom(isBlobLike2, {
|
|
63013
|
-
message: "expected a Blob, File or Blob-like object",
|
|
63014
|
-
fatal: true
|
|
63015
|
-
});
|
|
63016
|
-
});
|
|
63017
|
-
|
|
63018
63051
|
// src/models/components/evidencetype.ts
|
|
63019
63052
|
var EvidenceType, EvidenceType$inboundSchema, EvidenceType$outboundSchema;
|
|
63020
63053
|
var init_evidencetype = __esm(() => {
|
|
@@ -63518,6 +63551,18 @@ var init_disbursementpaymentmethodtype = __esm(() => {
|
|
|
63518
63551
|
DisbursementPaymentMethodType$outboundSchema = outboundSchema(DisbursementPaymentMethodType);
|
|
63519
63552
|
});
|
|
63520
63553
|
|
|
63554
|
+
// src/models/components/feepaidby.ts
|
|
63555
|
+
var FeePaidBy, FeePaidBy$inboundSchema, FeePaidBy$outboundSchema;
|
|
63556
|
+
var init_feepaidby = __esm(() => {
|
|
63557
|
+
init_enums();
|
|
63558
|
+
FeePaidBy = {
|
|
63559
|
+
Source: "source",
|
|
63560
|
+
Destination: "destination"
|
|
63561
|
+
};
|
|
63562
|
+
FeePaidBy$inboundSchema = inboundSchema(FeePaidBy);
|
|
63563
|
+
FeePaidBy$outboundSchema = outboundSchema(FeePaidBy);
|
|
63564
|
+
});
|
|
63565
|
+
|
|
63521
63566
|
// src/models/components/payoutrecipient.ts
|
|
63522
63567
|
var PayoutRecipient$inboundSchema, PayoutRecipient$outboundSchema;
|
|
63523
63568
|
var init_payoutrecipient = __esm(() => {
|
|
@@ -63568,19 +63613,22 @@ var init_paymentlinkpayoutdetails = __esm(() => {
|
|
|
63568
63613
|
init_v3();
|
|
63569
63614
|
init_primitives2();
|
|
63570
63615
|
init_disbursementpaymentmethodtype();
|
|
63616
|
+
init_feepaidby();
|
|
63571
63617
|
init_payoutrecipient();
|
|
63572
63618
|
init_pushoptions();
|
|
63573
63619
|
PaymentLinkPayoutDetails$inboundSchema = objectType({
|
|
63574
63620
|
allowedMethods: arrayType(DisbursementPaymentMethodType$inboundSchema),
|
|
63575
63621
|
recipient: PayoutRecipient$inboundSchema,
|
|
63576
63622
|
metadata: optional3(recordType(string4())),
|
|
63577
|
-
pushOptions: optional3(PushOptions$inboundSchema)
|
|
63623
|
+
pushOptions: optional3(PushOptions$inboundSchema),
|
|
63624
|
+
feePaidBy: optional3(recordType(FeePaidBy$inboundSchema))
|
|
63578
63625
|
});
|
|
63579
63626
|
PaymentLinkPayoutDetails$outboundSchema = objectType({
|
|
63580
63627
|
allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema),
|
|
63581
63628
|
recipient: PayoutRecipient$outboundSchema,
|
|
63582
63629
|
metadata: recordType(stringType()).optional(),
|
|
63583
|
-
pushOptions: PushOptions$outboundSchema.optional()
|
|
63630
|
+
pushOptions: PushOptions$outboundSchema.optional(),
|
|
63631
|
+
feePaidBy: recordType(FeePaidBy$outboundSchema).optional()
|
|
63584
63632
|
});
|
|
63585
63633
|
});
|
|
63586
63634
|
|
|
@@ -64546,6 +64594,20 @@ var init_createtransfersource = __esm(() => {
|
|
|
64546
64594
|
});
|
|
64547
64595
|
});
|
|
64548
64596
|
|
|
64597
|
+
// src/models/components/transferfeepaidby.ts
|
|
64598
|
+
var TransferFeePaidBy$inboundSchema, TransferFeePaidBy$outboundSchema;
|
|
64599
|
+
var init_transferfeepaidby = __esm(() => {
|
|
64600
|
+
init_v3();
|
|
64601
|
+
init_primitives2();
|
|
64602
|
+
init_feepaidby();
|
|
64603
|
+
TransferFeePaidBy$inboundSchema = objectType({
|
|
64604
|
+
payout: optional3(FeePaidBy$inboundSchema)
|
|
64605
|
+
});
|
|
64606
|
+
TransferFeePaidBy$outboundSchema = objectType({
|
|
64607
|
+
payout: FeePaidBy$outboundSchema.optional()
|
|
64608
|
+
});
|
|
64609
|
+
});
|
|
64610
|
+
|
|
64549
64611
|
// src/models/components/createtransfer.ts
|
|
64550
64612
|
var CreateTransfer$inboundSchema, CreateTransfer$outboundSchema;
|
|
64551
64613
|
var init_createtransfer = __esm(() => {
|
|
@@ -64557,6 +64619,7 @@ var init_createtransfer = __esm(() => {
|
|
|
64557
64619
|
init_createtransferlineitems();
|
|
64558
64620
|
init_createtransfersource();
|
|
64559
64621
|
init_facilitatorfee();
|
|
64622
|
+
init_transferfeepaidby();
|
|
64560
64623
|
CreateTransfer$inboundSchema = objectType({
|
|
64561
64624
|
source: CreateTransferSource$inboundSchema,
|
|
64562
64625
|
destination: CreateTransferDestination$inboundSchema,
|
|
@@ -64566,7 +64629,8 @@ var init_createtransfer = __esm(() => {
|
|
|
64566
64629
|
metadata: optional3(recordType(string4())),
|
|
64567
64630
|
foreignID: optional3(string4()),
|
|
64568
64631
|
lineItems: optional3(CreateTransferLineItems$inboundSchema),
|
|
64569
|
-
amountDetails: optional3(CreateTransferAmountDetails$inboundSchema)
|
|
64632
|
+
amountDetails: optional3(CreateTransferAmountDetails$inboundSchema),
|
|
64633
|
+
feePaidBy: optional3(TransferFeePaidBy$inboundSchema)
|
|
64570
64634
|
});
|
|
64571
64635
|
CreateTransfer$outboundSchema = objectType({
|
|
64572
64636
|
source: CreateTransferSource$outboundSchema,
|
|
@@ -64577,7 +64641,8 @@ var init_createtransfer = __esm(() => {
|
|
|
64577
64641
|
metadata: recordType(stringType()).optional(),
|
|
64578
64642
|
foreignID: stringType().optional(),
|
|
64579
64643
|
lineItems: CreateTransferLineItems$outboundSchema.optional(),
|
|
64580
|
-
amountDetails: CreateTransferAmountDetails$outboundSchema.optional()
|
|
64644
|
+
amountDetails: CreateTransferAmountDetails$outboundSchema.optional(),
|
|
64645
|
+
feePaidBy: TransferFeePaidBy$outboundSchema.optional()
|
|
64581
64646
|
});
|
|
64582
64647
|
});
|
|
64583
64648
|
|
|
@@ -65984,6 +66049,7 @@ var init_incurredfee = __esm(() => {
|
|
|
65984
66049
|
init_v3();
|
|
65985
66050
|
init_primitives2();
|
|
65986
66051
|
init_amountdecimal();
|
|
66052
|
+
init_feepaidby();
|
|
65987
66053
|
init_generatedby();
|
|
65988
66054
|
IncurredFee$inboundSchema = objectType({
|
|
65989
66055
|
feeID: optional3(string4()),
|
|
@@ -65994,7 +66060,8 @@ var init_incurredfee = __esm(() => {
|
|
|
65994
66060
|
amount: optional3(AmountDecimal$inboundSchema),
|
|
65995
66061
|
generatedBy: optional3(GeneratedBy$inboundSchema),
|
|
65996
66062
|
feeGroup: optional3(string4()),
|
|
65997
|
-
residualID: optional3(string4())
|
|
66063
|
+
residualID: optional3(string4()),
|
|
66064
|
+
feePaidBy: optional3(FeePaidBy$inboundSchema)
|
|
65998
66065
|
});
|
|
65999
66066
|
IncurredFee$outboundSchema = objectType({
|
|
66000
66067
|
feeID: stringType().optional(),
|
|
@@ -66005,7 +66072,8 @@ var init_incurredfee = __esm(() => {
|
|
|
66005
66072
|
amount: AmountDecimal$outboundSchema.optional(),
|
|
66006
66073
|
generatedBy: GeneratedBy$outboundSchema.optional(),
|
|
66007
66074
|
feeGroup: stringType().optional(),
|
|
66008
|
-
residualID: stringType().optional()
|
|
66075
|
+
residualID: stringType().optional(),
|
|
66076
|
+
feePaidBy: FeePaidBy$outboundSchema.optional()
|
|
66009
66077
|
});
|
|
66010
66078
|
});
|
|
66011
66079
|
|
|
@@ -68152,19 +68220,22 @@ var init_paymentlinkpayoutdetailsupdate = __esm(() => {
|
|
|
68152
68220
|
init_v3();
|
|
68153
68221
|
init_primitives2();
|
|
68154
68222
|
init_disbursementpaymentmethodtype();
|
|
68223
|
+
init_feepaidby();
|
|
68155
68224
|
init_payoutrecipient();
|
|
68156
68225
|
init_pushoptionsupdate();
|
|
68157
68226
|
PaymentLinkPayoutDetailsUpdate$inboundSchema = objectType({
|
|
68158
68227
|
allowedMethods: optional3(arrayType(DisbursementPaymentMethodType$inboundSchema)),
|
|
68159
68228
|
recipient: optional3(PayoutRecipient$inboundSchema),
|
|
68160
68229
|
metadata: optional3(recordType(string4())),
|
|
68161
|
-
pushOptions: optional3(PushOptionsUpdate$inboundSchema)
|
|
68230
|
+
pushOptions: optional3(PushOptionsUpdate$inboundSchema),
|
|
68231
|
+
feePaidBy: optional3(recordType(FeePaidBy$inboundSchema))
|
|
68162
68232
|
});
|
|
68163
68233
|
PaymentLinkPayoutDetailsUpdate$outboundSchema = objectType({
|
|
68164
68234
|
allowedMethods: arrayType(DisbursementPaymentMethodType$outboundSchema).optional(),
|
|
68165
68235
|
recipient: PayoutRecipient$outboundSchema.optional(),
|
|
68166
68236
|
metadata: recordType(stringType()).optional(),
|
|
68167
|
-
pushOptions: PushOptionsUpdate$outboundSchema.optional()
|
|
68237
|
+
pushOptions: PushOptionsUpdate$outboundSchema.optional(),
|
|
68238
|
+
feePaidBy: recordType(FeePaidBy$outboundSchema).optional()
|
|
68168
68239
|
});
|
|
68169
68240
|
});
|
|
68170
68241
|
|
|
@@ -68398,13 +68469,15 @@ var init_payoutdetailserror = __esm(() => {
|
|
|
68398
68469
|
allowedMethods: optional3(string4()),
|
|
68399
68470
|
recipient: optional3(PayoutRecipientError$inboundSchema),
|
|
68400
68471
|
metadata: optional3(string4()),
|
|
68401
|
-
pushOptions: optional3(PushOptionsError$inboundSchema)
|
|
68472
|
+
pushOptions: optional3(PushOptionsError$inboundSchema),
|
|
68473
|
+
feePaidBy: optional3(string4())
|
|
68402
68474
|
});
|
|
68403
68475
|
PayoutDetailsError$outboundSchema = objectType({
|
|
68404
68476
|
allowedMethods: stringType().optional(),
|
|
68405
68477
|
recipient: PayoutRecipientError$outboundSchema.optional(),
|
|
68406
68478
|
metadata: stringType().optional(),
|
|
68407
|
-
pushOptions: PushOptionsError$outboundSchema.optional()
|
|
68479
|
+
pushOptions: PushOptionsError$outboundSchema.optional(),
|
|
68480
|
+
feePaidBy: stringType().optional()
|
|
68408
68481
|
});
|
|
68409
68482
|
});
|
|
68410
68483
|
|
|
@@ -68492,6 +68565,27 @@ var init_platformfees = __esm(() => {
|
|
|
68492
68565
|
});
|
|
68493
68566
|
});
|
|
68494
68567
|
|
|
68568
|
+
// src/models/components/productcategory.ts
|
|
68569
|
+
var ProductCategory$inboundSchema, ProductCategory$outboundSchema;
|
|
68570
|
+
var init_productcategory = __esm(() => {
|
|
68571
|
+
init_v3();
|
|
68572
|
+
init_primitives2();
|
|
68573
|
+
ProductCategory$inboundSchema = objectType({
|
|
68574
|
+
categoryID: string4(),
|
|
68575
|
+
name: string4(),
|
|
68576
|
+
fullName: string4(),
|
|
68577
|
+
level: number4(),
|
|
68578
|
+
parentID: optional3(string4())
|
|
68579
|
+
});
|
|
68580
|
+
ProductCategory$outboundSchema = objectType({
|
|
68581
|
+
categoryID: stringType(),
|
|
68582
|
+
name: stringType(),
|
|
68583
|
+
fullName: stringType(),
|
|
68584
|
+
level: numberType().int(),
|
|
68585
|
+
parentID: stringType().optional()
|
|
68586
|
+
});
|
|
68587
|
+
});
|
|
68588
|
+
|
|
68495
68589
|
// src/models/components/productimagemetadata.ts
|
|
68496
68590
|
var ProductImageMetadata$inboundSchema, ProductImageMetadata$outboundSchema;
|
|
68497
68591
|
var init_productimagemetadata = __esm(() => {
|
|
@@ -68560,6 +68654,7 @@ var init_product = __esm(() => {
|
|
|
68560
68654
|
init_v3();
|
|
68561
68655
|
init_primitives2();
|
|
68562
68656
|
init_amountdecimal();
|
|
68657
|
+
init_productcategory();
|
|
68563
68658
|
init_productimagemetadata();
|
|
68564
68659
|
init_productoptiongroup();
|
|
68565
68660
|
Product$inboundSchema = objectType({
|
|
@@ -68569,6 +68664,7 @@ var init_product = __esm(() => {
|
|
|
68569
68664
|
basePrice: AmountDecimal$inboundSchema,
|
|
68570
68665
|
optionGroups: optional3(arrayType(ProductOptionGroup$inboundSchema)),
|
|
68571
68666
|
images: optional3(arrayType(ProductImageMetadata$inboundSchema)),
|
|
68667
|
+
category: optional3(ProductCategory$inboundSchema),
|
|
68572
68668
|
createdOn: date4(),
|
|
68573
68669
|
updatedOn: date4(),
|
|
68574
68670
|
disabledOn: optional3(date4())
|
|
@@ -68580,12 +68676,26 @@ var init_product = __esm(() => {
|
|
|
68580
68676
|
basePrice: AmountDecimal$outboundSchema,
|
|
68581
68677
|
optionGroups: arrayType(ProductOptionGroup$outboundSchema).optional(),
|
|
68582
68678
|
images: arrayType(ProductImageMetadata$outboundSchema).optional(),
|
|
68679
|
+
category: ProductCategory$outboundSchema.optional(),
|
|
68583
68680
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
68584
68681
|
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
68585
68682
|
disabledOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
68586
68683
|
});
|
|
68587
68684
|
});
|
|
68588
68685
|
|
|
68686
|
+
// src/models/components/productcategories.ts
|
|
68687
|
+
var ProductCategories$inboundSchema, ProductCategories$outboundSchema;
|
|
68688
|
+
var init_productcategories = __esm(() => {
|
|
68689
|
+
init_v3();
|
|
68690
|
+
init_productcategory();
|
|
68691
|
+
ProductCategories$inboundSchema = objectType({
|
|
68692
|
+
categories: arrayType(ProductCategory$inboundSchema)
|
|
68693
|
+
});
|
|
68694
|
+
ProductCategories$outboundSchema = objectType({
|
|
68695
|
+
categories: arrayType(ProductCategory$outboundSchema)
|
|
68696
|
+
});
|
|
68697
|
+
});
|
|
68698
|
+
|
|
68589
68699
|
// src/models/components/productoptionvalidationerror.ts
|
|
68590
68700
|
var ProductOptionValidationError$inboundSchema, ProductOptionValidationError$outboundSchema;
|
|
68591
68701
|
var init_productoptionvalidationerror = __esm(() => {
|
|
@@ -68642,14 +68752,16 @@ var init_productrequest = __esm(() => {
|
|
|
68642
68752
|
description: optional3(string4()),
|
|
68643
68753
|
basePrice: AmountDecimal$inboundSchema,
|
|
68644
68754
|
images: optional3(arrayType(AssignProductImage$inboundSchema)),
|
|
68645
|
-
optionGroups: optional3(arrayType(CreateProductOptionGroup$inboundSchema))
|
|
68755
|
+
optionGroups: optional3(arrayType(CreateProductOptionGroup$inboundSchema)),
|
|
68756
|
+
categoryID: optional3(string4())
|
|
68646
68757
|
});
|
|
68647
68758
|
ProductRequest$outboundSchema = objectType({
|
|
68648
68759
|
title: stringType(),
|
|
68649
68760
|
description: stringType().optional(),
|
|
68650
68761
|
basePrice: AmountDecimal$outboundSchema,
|
|
68651
68762
|
images: arrayType(AssignProductImage$outboundSchema).optional(),
|
|
68652
|
-
optionGroups: arrayType(CreateProductOptionGroup$outboundSchema).optional()
|
|
68763
|
+
optionGroups: arrayType(CreateProductOptionGroup$outboundSchema).optional(),
|
|
68764
|
+
categoryID: stringType().optional()
|
|
68653
68765
|
});
|
|
68654
68766
|
});
|
|
68655
68767
|
|
|
@@ -71800,6 +71912,7 @@ var init_components = __esm(() => {
|
|
|
71800
71912
|
init_asynctransfer();
|
|
71801
71913
|
init_authtoken();
|
|
71802
71914
|
init_authtokenrequest();
|
|
71915
|
+
init_avataruploadrequest();
|
|
71803
71916
|
init_bankaccount();
|
|
71804
71917
|
init_bankaccountexception();
|
|
71805
71918
|
init_bankaccountholdertype();
|
|
@@ -71989,6 +72102,7 @@ var init_components = __esm(() => {
|
|
|
71989
72102
|
init_fednowservices();
|
|
71990
72103
|
init_feecategory();
|
|
71991
72104
|
init_feemodel();
|
|
72105
|
+
init_feepaidby();
|
|
71992
72106
|
init_feeplan();
|
|
71993
72107
|
init_feeplanagreement();
|
|
71994
72108
|
init_feeplanagreementstatus();
|
|
@@ -72154,6 +72268,8 @@ var init_components = __esm(() => {
|
|
|
72154
72268
|
init_platformfees();
|
|
72155
72269
|
init_primaryregulator();
|
|
72156
72270
|
init_product();
|
|
72271
|
+
init_productcategories();
|
|
72272
|
+
init_productcategory();
|
|
72157
72273
|
init_productimagemetadata();
|
|
72158
72274
|
init_productoption();
|
|
72159
72275
|
init_productoptiongroup();
|
|
@@ -72278,6 +72394,7 @@ var init_components = __esm(() => {
|
|
|
72278
72394
|
init_transferdestination();
|
|
72279
72395
|
init_transferentrymode();
|
|
72280
72396
|
init_transferfailurereason();
|
|
72397
|
+
init_transferfeepaidby();
|
|
72281
72398
|
init_transferlineitem();
|
|
72282
72399
|
init_transferlineitemimagemetadata();
|
|
72283
72400
|
init_transferlineitemoption();
|
|
@@ -74226,6 +74343,7 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74226
74343
|
basePrice;
|
|
74227
74344
|
images;
|
|
74228
74345
|
optionGroups;
|
|
74346
|
+
categoryID;
|
|
74229
74347
|
data$;
|
|
74230
74348
|
constructor(err, httpMeta) {
|
|
74231
74349
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -74241,6 +74359,8 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74241
74359
|
this.images = err.images;
|
|
74242
74360
|
if (err.optionGroups != null)
|
|
74243
74361
|
this.optionGroups = err.optionGroups;
|
|
74362
|
+
if (err.categoryID != null)
|
|
74363
|
+
this.categoryID = err.categoryID;
|
|
74244
74364
|
this.name = "ProductRequestValidationError";
|
|
74245
74365
|
}
|
|
74246
74366
|
};
|
|
@@ -74250,6 +74370,7 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74250
74370
|
basePrice: optional3(AmountDecimalValidationError$inboundSchema),
|
|
74251
74371
|
images: optional3(recordType(AssignProductImageValidationError$inboundSchema)),
|
|
74252
74372
|
optionGroups: optional3(recordType(ProductOptionGroupValidationError$inboundSchema)),
|
|
74373
|
+
categoryID: optional3(string4()),
|
|
74253
74374
|
request$: instanceOfType(Request),
|
|
74254
74375
|
response$: instanceOfType(Response),
|
|
74255
74376
|
body$: stringType()
|
|
@@ -74265,7 +74386,8 @@ var init_productrequestvalidationerror = __esm(() => {
|
|
|
74265
74386
|
description: stringType().optional(),
|
|
74266
74387
|
basePrice: AmountDecimalValidationError$outboundSchema.optional(),
|
|
74267
74388
|
images: recordType(AssignProductImageValidationError$outboundSchema).optional(),
|
|
74268
|
-
optionGroups: recordType(ProductOptionGroupValidationError$outboundSchema).optional()
|
|
74389
|
+
optionGroups: recordType(ProductOptionGroupValidationError$outboundSchema).optional(),
|
|
74390
|
+
categoryID: stringType().optional()
|
|
74269
74391
|
}));
|
|
74270
74392
|
});
|
|
74271
74393
|
|
|
@@ -76901,6 +77023,42 @@ var init_createwebhook2 = __esm(() => {
|
|
|
76901
77023
|
});
|
|
76902
77024
|
});
|
|
76903
77025
|
|
|
77026
|
+
// src/models/operations/deleteavatar.ts
|
|
77027
|
+
var DeleteAvatarSecurity$inboundSchema, DeleteAvatarSecurity$outboundSchema, DeleteAvatarRequest$inboundSchema, DeleteAvatarRequest$outboundSchema, DeleteAvatarResponse$inboundSchema, DeleteAvatarResponse$outboundSchema;
|
|
77028
|
+
var init_deleteavatar = __esm(() => {
|
|
77029
|
+
init_v3();
|
|
77030
|
+
init_primitives();
|
|
77031
|
+
init_primitives2();
|
|
77032
|
+
DeleteAvatarSecurity$inboundSchema = objectType({
|
|
77033
|
+
username: optional3(string4()),
|
|
77034
|
+
password: optional3(string4())
|
|
77035
|
+
});
|
|
77036
|
+
DeleteAvatarSecurity$outboundSchema = objectType({
|
|
77037
|
+
username: stringType().optional(),
|
|
77038
|
+
password: stringType().optional()
|
|
77039
|
+
});
|
|
77040
|
+
DeleteAvatarRequest$inboundSchema = objectType({
|
|
77041
|
+
uniqueID: string4()
|
|
77042
|
+
});
|
|
77043
|
+
DeleteAvatarRequest$outboundSchema = objectType({
|
|
77044
|
+
uniqueID: stringType()
|
|
77045
|
+
});
|
|
77046
|
+
DeleteAvatarResponse$inboundSchema = objectType({
|
|
77047
|
+
Headers: recordType(arrayType(stringType())).default({})
|
|
77048
|
+
}).transform((v2) => {
|
|
77049
|
+
return remap(v2, {
|
|
77050
|
+
Headers: "headers"
|
|
77051
|
+
});
|
|
77052
|
+
});
|
|
77053
|
+
DeleteAvatarResponse$outboundSchema = objectType({
|
|
77054
|
+
headers: recordType(arrayType(stringType()))
|
|
77055
|
+
}).transform((v2) => {
|
|
77056
|
+
return remap(v2, {
|
|
77057
|
+
headers: "Headers"
|
|
77058
|
+
});
|
|
77059
|
+
});
|
|
77060
|
+
});
|
|
77061
|
+
|
|
76904
77062
|
// src/models/operations/deletedisputeevidencefile.ts
|
|
76905
77063
|
var DeleteDisputeEvidenceFileRequest$inboundSchema, DeleteDisputeEvidenceFileRequest$outboundSchema, DeleteDisputeEvidenceFileResponse$inboundSchema, DeleteDisputeEvidenceFileResponse$outboundSchema;
|
|
76906
77064
|
var init_deletedisputeevidencefile = __esm(() => {
|
|
@@ -80689,6 +80847,32 @@ var init_listpaymentmethods = __esm(() => {
|
|
|
80689
80847
|
});
|
|
80690
80848
|
});
|
|
80691
80849
|
|
|
80850
|
+
// src/models/operations/listproductcategories.ts
|
|
80851
|
+
var ListProductCategoriesResponse$inboundSchema, ListProductCategoriesResponse$outboundSchema;
|
|
80852
|
+
var init_listproductcategories = __esm(() => {
|
|
80853
|
+
init_v3();
|
|
80854
|
+
init_primitives();
|
|
80855
|
+
init_components();
|
|
80856
|
+
ListProductCategoriesResponse$inboundSchema = objectType({
|
|
80857
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
80858
|
+
Result: ProductCategories$inboundSchema
|
|
80859
|
+
}).transform((v2) => {
|
|
80860
|
+
return remap(v2, {
|
|
80861
|
+
Headers: "headers",
|
|
80862
|
+
Result: "result"
|
|
80863
|
+
});
|
|
80864
|
+
});
|
|
80865
|
+
ListProductCategoriesResponse$outboundSchema = objectType({
|
|
80866
|
+
headers: recordType(arrayType(stringType())),
|
|
80867
|
+
result: ProductCategories$outboundSchema
|
|
80868
|
+
}).transform((v2) => {
|
|
80869
|
+
return remap(v2, {
|
|
80870
|
+
headers: "Headers",
|
|
80871
|
+
result: "Result"
|
|
80872
|
+
});
|
|
80873
|
+
});
|
|
80874
|
+
});
|
|
80875
|
+
|
|
80692
80876
|
// src/models/operations/listproducts.ts
|
|
80693
80877
|
var ListProductsRequest$inboundSchema, ListProductsRequest$outboundSchema, ListProductsResponse$inboundSchema, ListProductsResponse$outboundSchema;
|
|
80694
80878
|
var init_listproducts = __esm(() => {
|
|
@@ -80699,12 +80883,14 @@ var init_listproducts = __esm(() => {
|
|
|
80699
80883
|
ListProductsRequest$inboundSchema = objectType({
|
|
80700
80884
|
accountID: string4(),
|
|
80701
80885
|
title: optional3(string4()),
|
|
80886
|
+
category: optional3(string4()),
|
|
80702
80887
|
skip: optional3(number4()),
|
|
80703
80888
|
count: optional3(number4())
|
|
80704
80889
|
});
|
|
80705
80890
|
ListProductsRequest$outboundSchema = objectType({
|
|
80706
80891
|
accountID: stringType(),
|
|
80707
80892
|
title: stringType().optional(),
|
|
80893
|
+
category: stringType().optional(),
|
|
80708
80894
|
skip: numberType().int().optional(),
|
|
80709
80895
|
count: numberType().int().optional()
|
|
80710
80896
|
});
|
|
@@ -82615,6 +82801,53 @@ var init_updatewebhook2 = __esm(() => {
|
|
|
82615
82801
|
});
|
|
82616
82802
|
});
|
|
82617
82803
|
|
|
82804
|
+
// src/models/operations/uploadavatar.ts
|
|
82805
|
+
var UploadAvatarSecurity$inboundSchema, UploadAvatarSecurity$outboundSchema, UploadAvatarRequest$inboundSchema, UploadAvatarRequest$outboundSchema, UploadAvatarResponse$inboundSchema, UploadAvatarResponse$outboundSchema;
|
|
82806
|
+
var init_uploadavatar = __esm(() => {
|
|
82807
|
+
init_v3();
|
|
82808
|
+
init_primitives();
|
|
82809
|
+
init_primitives2();
|
|
82810
|
+
init_components();
|
|
82811
|
+
UploadAvatarSecurity$inboundSchema = objectType({
|
|
82812
|
+
username: optional3(string4()),
|
|
82813
|
+
password: optional3(string4())
|
|
82814
|
+
});
|
|
82815
|
+
UploadAvatarSecurity$outboundSchema = objectType({
|
|
82816
|
+
username: stringType().optional(),
|
|
82817
|
+
password: stringType().optional()
|
|
82818
|
+
});
|
|
82819
|
+
UploadAvatarRequest$inboundSchema = objectType({
|
|
82820
|
+
uniqueID: string4(),
|
|
82821
|
+
AvatarUploadRequest: AvatarUploadRequest$inboundSchema
|
|
82822
|
+
}).transform((v2) => {
|
|
82823
|
+
return remap(v2, {
|
|
82824
|
+
AvatarUploadRequest: "avatarUploadRequest"
|
|
82825
|
+
});
|
|
82826
|
+
});
|
|
82827
|
+
UploadAvatarRequest$outboundSchema = objectType({
|
|
82828
|
+
uniqueID: stringType(),
|
|
82829
|
+
avatarUploadRequest: AvatarUploadRequest$outboundSchema
|
|
82830
|
+
}).transform((v2) => {
|
|
82831
|
+
return remap(v2, {
|
|
82832
|
+
avatarUploadRequest: "AvatarUploadRequest"
|
|
82833
|
+
});
|
|
82834
|
+
});
|
|
82835
|
+
UploadAvatarResponse$inboundSchema = objectType({
|
|
82836
|
+
Headers: recordType(arrayType(stringType())).default({})
|
|
82837
|
+
}).transform((v2) => {
|
|
82838
|
+
return remap(v2, {
|
|
82839
|
+
Headers: "headers"
|
|
82840
|
+
});
|
|
82841
|
+
});
|
|
82842
|
+
UploadAvatarResponse$outboundSchema = objectType({
|
|
82843
|
+
headers: recordType(arrayType(stringType()))
|
|
82844
|
+
}).transform((v2) => {
|
|
82845
|
+
return remap(v2, {
|
|
82846
|
+
headers: "Headers"
|
|
82847
|
+
});
|
|
82848
|
+
});
|
|
82849
|
+
});
|
|
82850
|
+
|
|
82618
82851
|
// src/models/operations/uploaddisputeevidencefile.ts
|
|
82619
82852
|
var UploadDisputeEvidenceFileRequest$inboundSchema, UploadDisputeEvidenceFileRequest$outboundSchema, UploadDisputeEvidenceFileResponse$inboundSchema, UploadDisputeEvidenceFileResponse$outboundSchema;
|
|
82620
82853
|
var init_uploaddisputeevidencefile = __esm(() => {
|
|
@@ -82912,6 +83145,7 @@ var init_operations = __esm(() => {
|
|
|
82912
83145
|
init_createtransferoptions2();
|
|
82913
83146
|
init_createwallet2();
|
|
82914
83147
|
init_createwebhook2();
|
|
83148
|
+
init_deleteavatar();
|
|
82915
83149
|
init_deletedisputeevidencefile();
|
|
82916
83150
|
init_deleteimage();
|
|
82917
83151
|
init_deleteinvoice();
|
|
@@ -83015,6 +83249,7 @@ var init_operations = __esm(() => {
|
|
|
83015
83249
|
init_listpartnerpricingagreements();
|
|
83016
83250
|
init_listpaymentlinks();
|
|
83017
83251
|
init_listpaymentmethods();
|
|
83252
|
+
init_listproductcategories();
|
|
83018
83253
|
init_listproducts();
|
|
83019
83254
|
init_listreceipts();
|
|
83020
83255
|
init_listrefunds();
|
|
@@ -83063,6 +83298,7 @@ var init_operations = __esm(() => {
|
|
|
83063
83298
|
init_updatetransferconfig();
|
|
83064
83299
|
init_updatewallet();
|
|
83065
83300
|
init_updatewebhook2();
|
|
83301
|
+
init_uploadavatar();
|
|
83066
83302
|
init_uploaddisputeevidencefile();
|
|
83067
83303
|
init_uploaddisputeevidencetext();
|
|
83068
83304
|
init_uploadfile();
|
|
@@ -97096,6 +97332,7 @@ async function $do121(client, request, options) {
|
|
|
97096
97332
|
};
|
|
97097
97333
|
const path = pathToFunc("/accounts/{accountID}/products")(pathParams);
|
|
97098
97334
|
const query = encodeFormQuery({
|
|
97335
|
+
category: payload.category,
|
|
97099
97336
|
count: payload.count,
|
|
97100
97337
|
skip: payload.skip,
|
|
97101
97338
|
title: payload.title
|
|
@@ -97191,11 +97428,99 @@ var init_productsList2 = __esm(() => {
|
|
|
97191
97428
|
};
|
|
97192
97429
|
});
|
|
97193
97430
|
|
|
97431
|
+
// src/funcs/productsListCategories.ts
|
|
97432
|
+
function productsListCategories(client, options) {
|
|
97433
|
+
return new APIPromise($do122(client, options));
|
|
97434
|
+
}
|
|
97435
|
+
async function $do122(client, options) {
|
|
97436
|
+
const path = pathToFunc("/product-categories")();
|
|
97437
|
+
const headers = new Headers(compactMap({
|
|
97438
|
+
Accept: "application/json"
|
|
97439
|
+
}));
|
|
97440
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
97441
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
97442
|
+
const context = {
|
|
97443
|
+
options: client._options,
|
|
97444
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
97445
|
+
operationID: "listProductCategories",
|
|
97446
|
+
oAuth2Scopes: null,
|
|
97447
|
+
resolvedSecurity: requestSecurity,
|
|
97448
|
+
securitySource: client._options.security,
|
|
97449
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
97450
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
97451
|
+
};
|
|
97452
|
+
const requestRes = client._createRequest(context, {
|
|
97453
|
+
security: requestSecurity,
|
|
97454
|
+
method: "GET",
|
|
97455
|
+
baseURL: options?.serverURL,
|
|
97456
|
+
path,
|
|
97457
|
+
headers,
|
|
97458
|
+
userAgent: client._options.userAgent,
|
|
97459
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
97460
|
+
}, options);
|
|
97461
|
+
if (!requestRes.ok) {
|
|
97462
|
+
return [requestRes, { status: "invalid" }];
|
|
97463
|
+
}
|
|
97464
|
+
const req = requestRes.value;
|
|
97465
|
+
const doResult = await client._do(req, {
|
|
97466
|
+
context,
|
|
97467
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
97468
|
+
retryConfig: context.retryConfig,
|
|
97469
|
+
retryCodes: context.retryCodes
|
|
97470
|
+
});
|
|
97471
|
+
if (!doResult.ok) {
|
|
97472
|
+
return [doResult, { status: "request-error", request: req }];
|
|
97473
|
+
}
|
|
97474
|
+
const response = doResult.value;
|
|
97475
|
+
const responseFields = {
|
|
97476
|
+
HttpMeta: { Response: response, Request: req }
|
|
97477
|
+
};
|
|
97478
|
+
const [result] = await match(json(200, ListProductCategoriesResponse$inboundSchema, {
|
|
97479
|
+
hdrs: true,
|
|
97480
|
+
key: "Result"
|
|
97481
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
97482
|
+
if (!result.ok) {
|
|
97483
|
+
return [result, { status: "complete", request: req, response }];
|
|
97484
|
+
}
|
|
97485
|
+
return [result, { status: "complete", request: req, response }];
|
|
97486
|
+
}
|
|
97487
|
+
var init_productsListCategories = __esm(() => {
|
|
97488
|
+
init_http();
|
|
97489
|
+
init_matchers();
|
|
97490
|
+
init_primitives();
|
|
97491
|
+
init_security();
|
|
97492
|
+
init_url();
|
|
97493
|
+
init_operations();
|
|
97494
|
+
init_async();
|
|
97495
|
+
});
|
|
97496
|
+
|
|
97497
|
+
// src/mcp-server/tools/productsListCategories.ts
|
|
97498
|
+
var tool$productsListCategories;
|
|
97499
|
+
var init_productsListCategories2 = __esm(() => {
|
|
97500
|
+
init_productsListCategories();
|
|
97501
|
+
init_tools();
|
|
97502
|
+
tool$productsListCategories = {
|
|
97503
|
+
name: "products-list-categories",
|
|
97504
|
+
description: `Returns the full, read-only list of product categories from the product taxonomy.`,
|
|
97505
|
+
tool: async (client, ctx) => {
|
|
97506
|
+
const [result, apiCall] = await productsListCategories(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97507
|
+
if (!result.ok) {
|
|
97508
|
+
return {
|
|
97509
|
+
content: [{ type: "text", text: result.error.message }],
|
|
97510
|
+
isError: true
|
|
97511
|
+
};
|
|
97512
|
+
}
|
|
97513
|
+
const value = result.value.result;
|
|
97514
|
+
return formatResult(value, apiCall);
|
|
97515
|
+
}
|
|
97516
|
+
};
|
|
97517
|
+
});
|
|
97518
|
+
|
|
97194
97519
|
// src/funcs/productsUpdate.ts
|
|
97195
97520
|
function productsUpdate(client, request, options) {
|
|
97196
|
-
return new APIPromise($
|
|
97521
|
+
return new APIPromise($do123(client, request, options));
|
|
97197
97522
|
}
|
|
97198
|
-
async function $
|
|
97523
|
+
async function $do123(client, request, options) {
|
|
97199
97524
|
const parsed = safeParse4(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97200
97525
|
if (!parsed.ok) {
|
|
97201
97526
|
return [parsed, { status: "invalid" }];
|
|
@@ -97309,9 +97634,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
97309
97634
|
|
|
97310
97635
|
// src/funcs/receiptsCreate.ts
|
|
97311
97636
|
function receiptsCreate(client, request, options) {
|
|
97312
|
-
return new APIPromise($
|
|
97637
|
+
return new APIPromise($do124(client, request, options));
|
|
97313
97638
|
}
|
|
97314
|
-
async function $
|
|
97639
|
+
async function $do124(client, request, options) {
|
|
97315
97640
|
const parsed = safeParse4(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
97316
97641
|
if (!parsed.ok) {
|
|
97317
97642
|
return [parsed, { status: "invalid" }];
|
|
@@ -97419,9 +97744,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
97419
97744
|
|
|
97420
97745
|
// src/funcs/receiptsList.ts
|
|
97421
97746
|
function receiptsList(client, request, options) {
|
|
97422
|
-
return new APIPromise($
|
|
97747
|
+
return new APIPromise($do125(client, request, options));
|
|
97423
97748
|
}
|
|
97424
|
-
async function $
|
|
97749
|
+
async function $do125(client, request, options) {
|
|
97425
97750
|
const parsed = safeParse4(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97426
97751
|
if (!parsed.ok) {
|
|
97427
97752
|
return [parsed, { status: "invalid" }];
|
|
@@ -97528,9 +97853,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
97528
97853
|
|
|
97529
97854
|
// src/funcs/representativesCreate.ts
|
|
97530
97855
|
function representativesCreate(client, request, options) {
|
|
97531
|
-
return new APIPromise($
|
|
97856
|
+
return new APIPromise($do126(client, request, options));
|
|
97532
97857
|
}
|
|
97533
|
-
async function $
|
|
97858
|
+
async function $do126(client, request, options) {
|
|
97534
97859
|
const parsed = safeParse4(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97535
97860
|
if (!parsed.ok) {
|
|
97536
97861
|
return [parsed, { status: "invalid" }];
|
|
@@ -97647,9 +97972,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
97647
97972
|
|
|
97648
97973
|
// src/funcs/representativesDelete.ts
|
|
97649
97974
|
function representativesDelete(client, request, options) {
|
|
97650
|
-
return new APIPromise($
|
|
97975
|
+
return new APIPromise($do127(client, request, options));
|
|
97651
97976
|
}
|
|
97652
|
-
async function $
|
|
97977
|
+
async function $do127(client, request, options) {
|
|
97653
97978
|
const parsed = safeParse4(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97654
97979
|
if (!parsed.ok) {
|
|
97655
97980
|
return [parsed, { status: "invalid" }];
|
|
@@ -97757,9 +98082,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
97757
98082
|
|
|
97758
98083
|
// src/funcs/representativesGet.ts
|
|
97759
98084
|
function representativesGet(client, request, options) {
|
|
97760
|
-
return new APIPromise($
|
|
98085
|
+
return new APIPromise($do128(client, request, options));
|
|
97761
98086
|
}
|
|
97762
|
-
async function $
|
|
98087
|
+
async function $do128(client, request, options) {
|
|
97763
98088
|
const parsed = safeParse4(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97764
98089
|
if (!parsed.ok) {
|
|
97765
98090
|
return [parsed, { status: "invalid" }];
|
|
@@ -97869,9 +98194,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
97869
98194
|
|
|
97870
98195
|
// src/funcs/representativesList.ts
|
|
97871
98196
|
function representativesList(client, request, options) {
|
|
97872
|
-
return new APIPromise($
|
|
98197
|
+
return new APIPromise($do129(client, request, options));
|
|
97873
98198
|
}
|
|
97874
|
-
async function $
|
|
98199
|
+
async function $do129(client, request, options) {
|
|
97875
98200
|
const parsed = safeParse4(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97876
98201
|
if (!parsed.ok) {
|
|
97877
98202
|
return [parsed, { status: "invalid" }];
|
|
@@ -97983,9 +98308,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
97983
98308
|
|
|
97984
98309
|
// src/funcs/representativesUpdate.ts
|
|
97985
98310
|
function representativesUpdate(client, request, options) {
|
|
97986
|
-
return new APIPromise($
|
|
98311
|
+
return new APIPromise($do130(client, request, options));
|
|
97987
98312
|
}
|
|
97988
|
-
async function $
|
|
98313
|
+
async function $do130(client, request, options) {
|
|
97989
98314
|
const parsed = safeParse4(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97990
98315
|
if (!parsed.ok) {
|
|
97991
98316
|
return [parsed, { status: "invalid" }];
|
|
@@ -98112,9 +98437,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
98112
98437
|
|
|
98113
98438
|
// src/funcs/resolutionLinksCreate.ts
|
|
98114
98439
|
function resolutionLinksCreate(client, request, options) {
|
|
98115
|
-
return new APIPromise($
|
|
98440
|
+
return new APIPromise($do131(client, request, options));
|
|
98116
98441
|
}
|
|
98117
|
-
async function $
|
|
98442
|
+
async function $do131(client, request, options) {
|
|
98118
98443
|
const parsed = safeParse4(request, (value) => CreateResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98119
98444
|
if (!parsed.ok) {
|
|
98120
98445
|
return [parsed, { status: "invalid" }];
|
|
@@ -98231,9 +98556,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\`, \`/accounts/
|
|
|
98231
98556
|
|
|
98232
98557
|
// src/funcs/resolutionLinksDisable.ts
|
|
98233
98558
|
function resolutionLinksDisable(client, request, options) {
|
|
98234
|
-
return new APIPromise($
|
|
98559
|
+
return new APIPromise($do132(client, request, options));
|
|
98235
98560
|
}
|
|
98236
|
-
async function $
|
|
98561
|
+
async function $do132(client, request, options) {
|
|
98237
98562
|
const parsed = safeParse4(request, (value) => DisableResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98238
98563
|
if (!parsed.ok) {
|
|
98239
98564
|
return [parsed, { status: "invalid" }];
|
|
@@ -98341,9 +98666,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
98341
98666
|
|
|
98342
98667
|
// src/funcs/resolutionLinksGet.ts
|
|
98343
98668
|
function resolutionLinksGet(client, request, options) {
|
|
98344
|
-
return new APIPromise($
|
|
98669
|
+
return new APIPromise($do133(client, request, options));
|
|
98345
98670
|
}
|
|
98346
|
-
async function $
|
|
98671
|
+
async function $do133(client, request, options) {
|
|
98347
98672
|
const parsed = safeParse4(request, (value) => GetResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98348
98673
|
if (!parsed.ok) {
|
|
98349
98674
|
return [parsed, { status: "invalid" }];
|
|
@@ -98453,9 +98778,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
98453
98778
|
|
|
98454
98779
|
// src/funcs/resolutionLinksList.ts
|
|
98455
98780
|
function resolutionLinksList(client, request, options) {
|
|
98456
|
-
return new APIPromise($
|
|
98781
|
+
return new APIPromise($do134(client, request, options));
|
|
98457
98782
|
}
|
|
98458
|
-
async function $
|
|
98783
|
+
async function $do134(client, request, options) {
|
|
98459
98784
|
const parsed = safeParse4(request, (value) => ListResolutionLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98460
98785
|
if (!parsed.ok) {
|
|
98461
98786
|
return [parsed, { status: "invalid" }];
|
|
@@ -98564,9 +98889,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
98564
98889
|
|
|
98565
98890
|
// src/funcs/schedulingCancel.ts
|
|
98566
98891
|
function schedulingCancel(client, request, options) {
|
|
98567
|
-
return new APIPromise($
|
|
98892
|
+
return new APIPromise($do135(client, request, options));
|
|
98568
98893
|
}
|
|
98569
|
-
async function $
|
|
98894
|
+
async function $do135(client, request, options) {
|
|
98570
98895
|
const parsed = safeParse4(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98571
98896
|
if (!parsed.ok) {
|
|
98572
98897
|
return [parsed, { status: "invalid" }];
|
|
@@ -98677,9 +99002,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98677
99002
|
|
|
98678
99003
|
// src/funcs/schedulingCreate.ts
|
|
98679
99004
|
function schedulingCreate(client, request, options) {
|
|
98680
|
-
return new APIPromise($
|
|
99005
|
+
return new APIPromise($do136(client, request, options));
|
|
98681
99006
|
}
|
|
98682
|
-
async function $
|
|
99007
|
+
async function $do136(client, request, options) {
|
|
98683
99008
|
const parsed = safeParse4(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98684
99009
|
if (!parsed.ok) {
|
|
98685
99010
|
return [parsed, { status: "invalid" }];
|
|
@@ -98792,9 +99117,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98792
99117
|
|
|
98793
99118
|
// src/funcs/schedulingGet.ts
|
|
98794
99119
|
function schedulingGet(client, request, options) {
|
|
98795
|
-
return new APIPromise($
|
|
99120
|
+
return new APIPromise($do137(client, request, options));
|
|
98796
99121
|
}
|
|
98797
|
-
async function $
|
|
99122
|
+
async function $do137(client, request, options) {
|
|
98798
99123
|
const parsed = safeParse4(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98799
99124
|
if (!parsed.ok) {
|
|
98800
99125
|
return [parsed, { status: "invalid" }];
|
|
@@ -98907,9 +99232,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98907
99232
|
|
|
98908
99233
|
// src/funcs/schedulingGetOccurrance.ts
|
|
98909
99234
|
function schedulingGetOccurrance(client, request, options) {
|
|
98910
|
-
return new APIPromise($
|
|
99235
|
+
return new APIPromise($do138(client, request, options));
|
|
98911
99236
|
}
|
|
98912
|
-
async function $
|
|
99237
|
+
async function $do138(client, request, options) {
|
|
98913
99238
|
const parsed = safeParse4(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98914
99239
|
if (!parsed.ok) {
|
|
98915
99240
|
return [parsed, { status: "invalid" }];
|
|
@@ -99023,9 +99348,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99023
99348
|
|
|
99024
99349
|
// src/funcs/schedulingList.ts
|
|
99025
99350
|
function schedulingList(client, request, options) {
|
|
99026
|
-
return new APIPromise($
|
|
99351
|
+
return new APIPromise($do139(client, request, options));
|
|
99027
99352
|
}
|
|
99028
|
-
async function $
|
|
99353
|
+
async function $do139(client, request, options) {
|
|
99029
99354
|
const parsed = safeParse4(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99030
99355
|
if (!parsed.ok) {
|
|
99031
99356
|
return [parsed, { status: "invalid" }];
|
|
@@ -99140,9 +99465,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99140
99465
|
|
|
99141
99466
|
// src/funcs/schedulingUpdate.ts
|
|
99142
99467
|
function schedulingUpdate(client, request, options) {
|
|
99143
|
-
return new APIPromise($
|
|
99468
|
+
return new APIPromise($do140(client, request, options));
|
|
99144
99469
|
}
|
|
99145
|
-
async function $
|
|
99470
|
+
async function $do140(client, request, options) {
|
|
99146
99471
|
const parsed = safeParse4(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99147
99472
|
if (!parsed.ok) {
|
|
99148
99473
|
return [parsed, { status: "invalid" }];
|
|
@@ -99259,9 +99584,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
99259
99584
|
|
|
99260
99585
|
// src/funcs/statementsGet.ts
|
|
99261
99586
|
function statementsGet(client, request, options) {
|
|
99262
|
-
return new APIPromise($
|
|
99587
|
+
return new APIPromise($do141(client, request, options));
|
|
99263
99588
|
}
|
|
99264
|
-
async function $
|
|
99589
|
+
async function $do141(client, request, options) {
|
|
99265
99590
|
const parsed = safeParse4(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99266
99591
|
if (!parsed.ok) {
|
|
99267
99592
|
return [parsed, { status: "invalid" }];
|
|
@@ -99380,9 +99705,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99380
99705
|
|
|
99381
99706
|
// src/funcs/statementsList.ts
|
|
99382
99707
|
function statementsList(client, request, options) {
|
|
99383
|
-
return new APIPromise($
|
|
99708
|
+
return new APIPromise($do142(client, request, options));
|
|
99384
99709
|
}
|
|
99385
|
-
async function $
|
|
99710
|
+
async function $do142(client, request, options) {
|
|
99386
99711
|
const parsed = safeParse4(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99387
99712
|
if (!parsed.ok) {
|
|
99388
99713
|
return [parsed, { status: "invalid" }];
|
|
@@ -99499,9 +99824,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99499
99824
|
|
|
99500
99825
|
// src/funcs/supportCreateTicket.ts
|
|
99501
99826
|
function supportCreateTicket(client, request, options) {
|
|
99502
|
-
return new APIPromise($
|
|
99827
|
+
return new APIPromise($do143(client, request, options));
|
|
99503
99828
|
}
|
|
99504
|
-
async function $
|
|
99829
|
+
async function $do143(client, request, options) {
|
|
99505
99830
|
const parsed = safeParse4(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99506
99831
|
if (!parsed.ok) {
|
|
99507
99832
|
return [parsed, { status: "invalid" }];
|
|
@@ -99615,9 +99940,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
99615
99940
|
|
|
99616
99941
|
// src/funcs/supportGetTicket.ts
|
|
99617
99942
|
function supportGetTicket(client, request, options) {
|
|
99618
|
-
return new APIPromise($
|
|
99943
|
+
return new APIPromise($do144(client, request, options));
|
|
99619
99944
|
}
|
|
99620
|
-
async function $
|
|
99945
|
+
async function $do144(client, request, options) {
|
|
99621
99946
|
const parsed = safeParse4(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99622
99947
|
if (!parsed.ok) {
|
|
99623
99948
|
return [parsed, { status: "invalid" }];
|
|
@@ -99733,9 +100058,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
99733
100058
|
|
|
99734
100059
|
// src/funcs/supportListTicketMessages.ts
|
|
99735
100060
|
function supportListTicketMessages(client, request, options) {
|
|
99736
|
-
return new APIPromise($
|
|
100061
|
+
return new APIPromise($do145(client, request, options));
|
|
99737
100062
|
}
|
|
99738
|
-
async function $
|
|
100063
|
+
async function $do145(client, request, options) {
|
|
99739
100064
|
const parsed = safeParse4(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99740
100065
|
if (!parsed.ok) {
|
|
99741
100066
|
return [parsed, { status: "invalid" }];
|
|
@@ -99851,9 +100176,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
99851
100176
|
|
|
99852
100177
|
// src/funcs/supportListTickets.ts
|
|
99853
100178
|
function supportListTickets(client, request, options) {
|
|
99854
|
-
return new APIPromise($
|
|
100179
|
+
return new APIPromise($do146(client, request, options));
|
|
99855
100180
|
}
|
|
99856
|
-
async function $
|
|
100181
|
+
async function $do146(client, request, options) {
|
|
99857
100182
|
const parsed = safeParse4(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99858
100183
|
if (!parsed.ok) {
|
|
99859
100184
|
return [parsed, { status: "invalid" }];
|
|
@@ -99972,9 +100297,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
99972
100297
|
|
|
99973
100298
|
// src/funcs/supportUpdateTicket.ts
|
|
99974
100299
|
function supportUpdateTicket(client, request, options) {
|
|
99975
|
-
return new APIPromise($
|
|
100300
|
+
return new APIPromise($do147(client, request, options));
|
|
99976
100301
|
}
|
|
99977
|
-
async function $
|
|
100302
|
+
async function $do147(client, request, options) {
|
|
99978
100303
|
const parsed = safeParse4(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99979
100304
|
if (!parsed.ok) {
|
|
99980
100305
|
return [parsed, { status: "invalid" }];
|
|
@@ -100092,9 +100417,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
100092
100417
|
|
|
100093
100418
|
// src/funcs/sweepsCreateConfig.ts
|
|
100094
100419
|
function sweepsCreateConfig(client, request, options) {
|
|
100095
|
-
return new APIPromise($
|
|
100420
|
+
return new APIPromise($do148(client, request, options));
|
|
100096
100421
|
}
|
|
100097
|
-
async function $
|
|
100422
|
+
async function $do148(client, request, options) {
|
|
100098
100423
|
const parsed = safeParse4(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100099
100424
|
if (!parsed.ok) {
|
|
100100
100425
|
return [parsed, { status: "invalid" }];
|
|
@@ -100205,9 +100530,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100205
100530
|
|
|
100206
100531
|
// src/funcs/sweepsGet.ts
|
|
100207
100532
|
function sweepsGet(client, request, options) {
|
|
100208
|
-
return new APIPromise($
|
|
100533
|
+
return new APIPromise($do149(client, request, options));
|
|
100209
100534
|
}
|
|
100210
|
-
async function $
|
|
100535
|
+
async function $do149(client, request, options) {
|
|
100211
100536
|
const parsed = safeParse4(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100212
100537
|
if (!parsed.ok) {
|
|
100213
100538
|
return [parsed, { status: "invalid" }];
|
|
@@ -100324,9 +100649,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100324
100649
|
|
|
100325
100650
|
// src/funcs/sweepsGetConfig.ts
|
|
100326
100651
|
function sweepsGetConfig(client, request, options) {
|
|
100327
|
-
return new APIPromise($
|
|
100652
|
+
return new APIPromise($do150(client, request, options));
|
|
100328
100653
|
}
|
|
100329
|
-
async function $
|
|
100654
|
+
async function $do150(client, request, options) {
|
|
100330
100655
|
const parsed = safeParse4(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100331
100656
|
if (!parsed.ok) {
|
|
100332
100657
|
return [parsed, { status: "invalid" }];
|
|
@@ -100439,9 +100764,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100439
100764
|
|
|
100440
100765
|
// src/funcs/sweepsList.ts
|
|
100441
100766
|
function sweepsList(client, request, options) {
|
|
100442
|
-
return new APIPromise($
|
|
100767
|
+
return new APIPromise($do151(client, request, options));
|
|
100443
100768
|
}
|
|
100444
|
-
async function $
|
|
100769
|
+
async function $do151(client, request, options) {
|
|
100445
100770
|
const parsed = safeParse4(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100446
100771
|
if (!parsed.ok) {
|
|
100447
100772
|
return [parsed, { status: "invalid" }];
|
|
@@ -100561,9 +100886,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100561
100886
|
|
|
100562
100887
|
// src/funcs/sweepsListConfigs.ts
|
|
100563
100888
|
function sweepsListConfigs(client, request, options) {
|
|
100564
|
-
return new APIPromise($
|
|
100889
|
+
return new APIPromise($do152(client, request, options));
|
|
100565
100890
|
}
|
|
100566
|
-
async function $
|
|
100891
|
+
async function $do152(client, request, options) {
|
|
100567
100892
|
const parsed = safeParse4(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100568
100893
|
if (!parsed.ok) {
|
|
100569
100894
|
return [parsed, { status: "invalid" }];
|
|
@@ -100672,9 +100997,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100672
100997
|
|
|
100673
100998
|
// src/funcs/sweepsUpdateConfig.ts
|
|
100674
100999
|
function sweepsUpdateConfig(client, request, options) {
|
|
100675
|
-
return new APIPromise($
|
|
101000
|
+
return new APIPromise($do153(client, request, options));
|
|
100676
101001
|
}
|
|
100677
|
-
async function $
|
|
101002
|
+
async function $do153(client, request, options) {
|
|
100678
101003
|
const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100679
101004
|
if (!parsed.ok) {
|
|
100680
101005
|
return [parsed, { status: "invalid" }];
|
|
@@ -100789,9 +101114,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100789
101114
|
|
|
100790
101115
|
// src/funcs/terminalApplicationsCreate.ts
|
|
100791
101116
|
function terminalApplicationsCreate(client, request, options) {
|
|
100792
|
-
return new APIPromise($
|
|
101117
|
+
return new APIPromise($do154(client, request, options));
|
|
100793
101118
|
}
|
|
100794
|
-
async function $
|
|
101119
|
+
async function $do154(client, request, options) {
|
|
100795
101120
|
const parsed = safeParse4(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
100796
101121
|
if (!parsed.ok) {
|
|
100797
101122
|
return [parsed, { status: "invalid" }];
|
|
@@ -100899,9 +101224,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
100899
101224
|
|
|
100900
101225
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
100901
101226
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
100902
|
-
return new APIPromise($
|
|
101227
|
+
return new APIPromise($do155(client, request, options));
|
|
100903
101228
|
}
|
|
100904
|
-
async function $
|
|
101229
|
+
async function $do155(client, request, options) {
|
|
100905
101230
|
const parsed = safeParse4(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100906
101231
|
if (!parsed.ok) {
|
|
100907
101232
|
return [parsed, { status: "invalid" }];
|
|
@@ -101010,9 +101335,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
101010
101335
|
|
|
101011
101336
|
// src/funcs/terminalApplicationsDelete.ts
|
|
101012
101337
|
function terminalApplicationsDelete(client, request, options) {
|
|
101013
|
-
return new APIPromise($
|
|
101338
|
+
return new APIPromise($do156(client, request, options));
|
|
101014
101339
|
}
|
|
101015
|
-
async function $
|
|
101340
|
+
async function $do156(client, request, options) {
|
|
101016
101341
|
const parsed = safeParse4(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101017
101342
|
if (!parsed.ok) {
|
|
101018
101343
|
return [parsed, { status: "invalid" }];
|
|
@@ -101116,9 +101441,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
101116
101441
|
|
|
101117
101442
|
// src/funcs/terminalApplicationsGet.ts
|
|
101118
101443
|
function terminalApplicationsGet(client, request, options) {
|
|
101119
|
-
return new APIPromise($
|
|
101444
|
+
return new APIPromise($do157(client, request, options));
|
|
101120
101445
|
}
|
|
101121
|
-
async function $
|
|
101446
|
+
async function $do157(client, request, options) {
|
|
101122
101447
|
const parsed = safeParse4(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101123
101448
|
if (!parsed.ok) {
|
|
101124
101449
|
return [parsed, { status: "invalid" }];
|
|
@@ -101224,9 +101549,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
101224
101549
|
|
|
101225
101550
|
// src/funcs/terminalApplicationsList.ts
|
|
101226
101551
|
function terminalApplicationsList(client, options) {
|
|
101227
|
-
return new APIPromise($
|
|
101552
|
+
return new APIPromise($do158(client, options));
|
|
101228
101553
|
}
|
|
101229
|
-
async function $
|
|
101554
|
+
async function $do158(client, options) {
|
|
101230
101555
|
const path = pathToFunc("/terminal-applications")();
|
|
101231
101556
|
const headers = new Headers(compactMap({
|
|
101232
101557
|
Accept: "application/json"
|
|
@@ -101315,9 +101640,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
101315
101640
|
|
|
101316
101641
|
// src/funcs/transferConfigCreate.ts
|
|
101317
101642
|
function transferConfigCreate(client, request, options) {
|
|
101318
|
-
return new APIPromise($
|
|
101643
|
+
return new APIPromise($do159(client, request, options));
|
|
101319
101644
|
}
|
|
101320
|
-
async function $
|
|
101645
|
+
async function $do159(client, request, options) {
|
|
101321
101646
|
const parsed = safeParse4(request, (value) => CreateTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101322
101647
|
if (!parsed.ok) {
|
|
101323
101648
|
return [parsed, { status: "invalid" }];
|
|
@@ -101429,9 +101754,9 @@ var init_transferConfigCreate2 = __esm(() => {
|
|
|
101429
101754
|
|
|
101430
101755
|
// src/funcs/transferConfigGet.ts
|
|
101431
101756
|
function transferConfigGet(client, request, options) {
|
|
101432
|
-
return new APIPromise($
|
|
101757
|
+
return new APIPromise($do160(client, request, options));
|
|
101433
101758
|
}
|
|
101434
|
-
async function $
|
|
101759
|
+
async function $do160(client, request, options) {
|
|
101435
101760
|
const parsed = safeParse4(request, (value) => GetTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101436
101761
|
if (!parsed.ok) {
|
|
101437
101762
|
return [parsed, { status: "invalid" }];
|
|
@@ -101537,9 +101862,9 @@ var init_transferConfigGet2 = __esm(() => {
|
|
|
101537
101862
|
|
|
101538
101863
|
// src/funcs/transferConfigUpdate.ts
|
|
101539
101864
|
function transferConfigUpdate(client, request, options) {
|
|
101540
|
-
return new APIPromise($
|
|
101865
|
+
return new APIPromise($do161(client, request, options));
|
|
101541
101866
|
}
|
|
101542
|
-
async function $
|
|
101867
|
+
async function $do161(client, request, options) {
|
|
101543
101868
|
const parsed = safeParse4(request, (value) => UpdateTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101544
101869
|
if (!parsed.ok) {
|
|
101545
101870
|
return [parsed, { status: "invalid" }];
|
|
@@ -101649,9 +101974,9 @@ var init_transferConfigUpdate2 = __esm(() => {
|
|
|
101649
101974
|
|
|
101650
101975
|
// src/funcs/transfersBatchGetTransfers.ts
|
|
101651
101976
|
function transfersBatchGetTransfers(client, request, options) {
|
|
101652
|
-
return new APIPromise($
|
|
101977
|
+
return new APIPromise($do162(client, request, options));
|
|
101653
101978
|
}
|
|
101654
|
-
async function $
|
|
101979
|
+
async function $do162(client, request, options) {
|
|
101655
101980
|
const parsed = safeParse4(request, (value) => BatchGetTransfersRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
101656
101981
|
if (!parsed.ok) {
|
|
101657
101982
|
return [parsed, { status: "invalid" }];
|
|
@@ -101767,9 +102092,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
101767
102092
|
|
|
101768
102093
|
// src/funcs/transfersCreate.ts
|
|
101769
102094
|
function transfersCreate(client, request, options) {
|
|
101770
|
-
return new APIPromise($
|
|
102095
|
+
return new APIPromise($do163(client, request, options));
|
|
101771
102096
|
}
|
|
101772
|
-
async function $
|
|
102097
|
+
async function $do163(client, request, options) {
|
|
101773
102098
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101774
102099
|
if (!parsed.ok) {
|
|
101775
102100
|
return [parsed, { status: "invalid" }];
|
|
@@ -101895,9 +102220,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
101895
102220
|
|
|
101896
102221
|
// src/funcs/transfersCreateCancellation.ts
|
|
101897
102222
|
function transfersCreateCancellation(client, request, options) {
|
|
101898
|
-
return new APIPromise($
|
|
102223
|
+
return new APIPromise($do164(client, request, options));
|
|
101899
102224
|
}
|
|
101900
|
-
async function $
|
|
102225
|
+
async function $do164(client, request, options) {
|
|
101901
102226
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101902
102227
|
if (!parsed.ok) {
|
|
101903
102228
|
return [parsed, { status: "invalid" }];
|
|
@@ -102011,9 +102336,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
102011
102336
|
|
|
102012
102337
|
// src/funcs/transfersCreateReversal.ts
|
|
102013
102338
|
function transfersCreateReversal(client, request, options) {
|
|
102014
|
-
return new APIPromise($
|
|
102339
|
+
return new APIPromise($do165(client, request, options));
|
|
102015
102340
|
}
|
|
102016
|
-
async function $
|
|
102341
|
+
async function $do165(client, request, options) {
|
|
102017
102342
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102018
102343
|
if (!parsed.ok) {
|
|
102019
102344
|
return [parsed, { status: "invalid" }];
|
|
@@ -102133,9 +102458,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102133
102458
|
|
|
102134
102459
|
// src/funcs/transfersGenerateOptions.ts
|
|
102135
102460
|
function transfersGenerateOptions(client, request, options) {
|
|
102136
|
-
return new APIPromise($
|
|
102461
|
+
return new APIPromise($do166(client, request, options));
|
|
102137
102462
|
}
|
|
102138
|
-
async function $
|
|
102463
|
+
async function $do166(client, request, options) {
|
|
102139
102464
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102140
102465
|
if (!parsed.ok) {
|
|
102141
102466
|
return [parsed, { status: "invalid" }];
|
|
@@ -102255,9 +102580,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102255
102580
|
|
|
102256
102581
|
// src/funcs/transfersGet.ts
|
|
102257
102582
|
function transfersGet(client, request, options) {
|
|
102258
|
-
return new APIPromise($
|
|
102583
|
+
return new APIPromise($do167(client, request, options));
|
|
102259
102584
|
}
|
|
102260
|
-
async function $
|
|
102585
|
+
async function $do167(client, request, options) {
|
|
102261
102586
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102262
102587
|
if (!parsed.ok) {
|
|
102263
102588
|
return [parsed, { status: "invalid" }];
|
|
@@ -102373,9 +102698,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102373
102698
|
|
|
102374
102699
|
// src/funcs/transfersGetCancellation.ts
|
|
102375
102700
|
function transfersGetCancellation(client, request, options) {
|
|
102376
|
-
return new APIPromise($
|
|
102701
|
+
return new APIPromise($do168(client, request, options));
|
|
102377
102702
|
}
|
|
102378
|
-
async function $
|
|
102703
|
+
async function $do168(client, request, options) {
|
|
102379
102704
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102380
102705
|
if (!parsed.ok) {
|
|
102381
102706
|
return [parsed, { status: "invalid" }];
|
|
@@ -102492,9 +102817,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
102492
102817
|
|
|
102493
102818
|
// src/funcs/transfersGetRefund.ts
|
|
102494
102819
|
function transfersGetRefund(client, request, options) {
|
|
102495
|
-
return new APIPromise($
|
|
102820
|
+
return new APIPromise($do169(client, request, options));
|
|
102496
102821
|
}
|
|
102497
|
-
async function $
|
|
102822
|
+
async function $do169(client, request, options) {
|
|
102498
102823
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102499
102824
|
if (!parsed.ok) {
|
|
102500
102825
|
return [parsed, { status: "invalid" }];
|
|
@@ -102611,9 +102936,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102611
102936
|
|
|
102612
102937
|
// src/funcs/transfersInitiateRefund.ts
|
|
102613
102938
|
function transfersInitiateRefund(client, request, options) {
|
|
102614
|
-
return new APIPromise($
|
|
102939
|
+
return new APIPromise($do170(client, request, options));
|
|
102615
102940
|
}
|
|
102616
|
-
async function $
|
|
102941
|
+
async function $do170(client, request, options) {
|
|
102617
102942
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102618
102943
|
if (!parsed.ok) {
|
|
102619
102944
|
return [parsed, { status: "invalid" }];
|
|
@@ -102739,9 +103064,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
102739
103064
|
|
|
102740
103065
|
// src/funcs/transfersList.ts
|
|
102741
103066
|
function transfersList(client, request, options) {
|
|
102742
|
-
return new APIPromise($
|
|
103067
|
+
return new APIPromise($do171(client, request, options));
|
|
102743
103068
|
}
|
|
102744
|
-
async function $
|
|
103069
|
+
async function $do171(client, request, options) {
|
|
102745
103070
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102746
103071
|
if (!parsed.ok) {
|
|
102747
103072
|
return [parsed, { status: "invalid" }];
|
|
@@ -102875,9 +103200,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
102875
103200
|
|
|
102876
103201
|
// src/funcs/transfersListCancellations.ts
|
|
102877
103202
|
function transfersListCancellations(client, request, options) {
|
|
102878
|
-
return new APIPromise($
|
|
103203
|
+
return new APIPromise($do172(client, request, options));
|
|
102879
103204
|
}
|
|
102880
|
-
async function $
|
|
103205
|
+
async function $do172(client, request, options) {
|
|
102881
103206
|
const parsed = safeParse4(request, (value) => ListCancellationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102882
103207
|
if (!parsed.ok) {
|
|
102883
103208
|
return [parsed, { status: "invalid" }];
|
|
@@ -102990,9 +103315,9 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
102990
103315
|
|
|
102991
103316
|
// src/funcs/transfersListRefunds.ts
|
|
102992
103317
|
function transfersListRefunds(client, request, options) {
|
|
102993
|
-
return new APIPromise($
|
|
103318
|
+
return new APIPromise($do173(client, request, options));
|
|
102994
103319
|
}
|
|
102995
|
-
async function $
|
|
103320
|
+
async function $do173(client, request, options) {
|
|
102996
103321
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102997
103322
|
if (!parsed.ok) {
|
|
102998
103323
|
return [parsed, { status: "invalid" }];
|
|
@@ -103105,9 +103430,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
103105
103430
|
|
|
103106
103431
|
// src/funcs/transfersUpdate.ts
|
|
103107
103432
|
function transfersUpdate(client, request, options) {
|
|
103108
|
-
return new APIPromise($
|
|
103433
|
+
return new APIPromise($do174(client, request, options));
|
|
103109
103434
|
}
|
|
103110
|
-
async function $
|
|
103435
|
+
async function $do174(client, request, options) {
|
|
103111
103436
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103112
103437
|
if (!parsed.ok) {
|
|
103113
103438
|
return [parsed, { status: "invalid" }];
|
|
@@ -103226,9 +103551,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
103226
103551
|
|
|
103227
103552
|
// src/funcs/underwritingGet.ts
|
|
103228
103553
|
function underwritingGet(client, request, options) {
|
|
103229
|
-
return new APIPromise($
|
|
103554
|
+
return new APIPromise($do175(client, request, options));
|
|
103230
103555
|
}
|
|
103231
|
-
async function $
|
|
103556
|
+
async function $do175(client, request, options) {
|
|
103232
103557
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103233
103558
|
if (!parsed.ok) {
|
|
103234
103559
|
return [parsed, { status: "invalid" }];
|
|
@@ -103339,9 +103664,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
103339
103664
|
|
|
103340
103665
|
// src/funcs/underwritingSave.ts
|
|
103341
103666
|
function underwritingSave(client, request, options) {
|
|
103342
|
-
return new APIPromise($
|
|
103667
|
+
return new APIPromise($do176(client, request, options));
|
|
103343
103668
|
}
|
|
103344
|
-
async function $
|
|
103669
|
+
async function $do176(client, request, options) {
|
|
103345
103670
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103346
103671
|
if (!parsed.ok) {
|
|
103347
103672
|
return [parsed, { status: "invalid" }];
|
|
@@ -103458,9 +103783,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103458
103783
|
|
|
103459
103784
|
// src/funcs/underwritingUpsert.ts
|
|
103460
103785
|
function underwritingUpsert(client, request, options) {
|
|
103461
|
-
return new APIPromise($
|
|
103786
|
+
return new APIPromise($do177(client, request, options));
|
|
103462
103787
|
}
|
|
103463
|
-
async function $
|
|
103788
|
+
async function $do177(client, request, options) {
|
|
103464
103789
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103465
103790
|
if (!parsed.ok) {
|
|
103466
103791
|
return [parsed, { status: "invalid" }];
|
|
@@ -103577,9 +103902,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
103577
103902
|
|
|
103578
103903
|
// src/funcs/walletsCreate.ts
|
|
103579
103904
|
function walletsCreate(client, request, options) {
|
|
103580
|
-
return new APIPromise($
|
|
103905
|
+
return new APIPromise($do178(client, request, options));
|
|
103581
103906
|
}
|
|
103582
|
-
async function $
|
|
103907
|
+
async function $do178(client, request, options) {
|
|
103583
103908
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103584
103909
|
if (!parsed.ok) {
|
|
103585
103910
|
return [parsed, { status: "invalid" }];
|
|
@@ -103694,9 +104019,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
103694
104019
|
|
|
103695
104020
|
// src/funcs/walletsGet.ts
|
|
103696
104021
|
function walletsGet(client, request, options) {
|
|
103697
|
-
return new APIPromise($
|
|
104022
|
+
return new APIPromise($do179(client, request, options));
|
|
103698
104023
|
}
|
|
103699
|
-
async function $
|
|
104024
|
+
async function $do179(client, request, options) {
|
|
103700
104025
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103701
104026
|
if (!parsed.ok) {
|
|
103702
104027
|
return [parsed, { status: "invalid" }];
|
|
@@ -103811,9 +104136,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103811
104136
|
|
|
103812
104137
|
// src/funcs/walletsList.ts
|
|
103813
104138
|
function walletsList(client, request, options) {
|
|
103814
|
-
return new APIPromise($
|
|
104139
|
+
return new APIPromise($do180(client, request, options));
|
|
103815
104140
|
}
|
|
103816
|
-
async function $
|
|
104141
|
+
async function $do180(client, request, options) {
|
|
103817
104142
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103818
104143
|
if (!parsed.ok) {
|
|
103819
104144
|
return [parsed, { status: "invalid" }];
|
|
@@ -103934,9 +104259,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
103934
104259
|
|
|
103935
104260
|
// src/funcs/walletsUpdate.ts
|
|
103936
104261
|
function walletsUpdate(client, request, options) {
|
|
103937
|
-
return new APIPromise($
|
|
104262
|
+
return new APIPromise($do181(client, request, options));
|
|
103938
104263
|
}
|
|
103939
|
-
async function $
|
|
104264
|
+
async function $do181(client, request, options) {
|
|
103940
104265
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103941
104266
|
if (!parsed.ok) {
|
|
103942
104267
|
return [parsed, { status: "invalid" }];
|
|
@@ -104055,9 +104380,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
104055
104380
|
|
|
104056
104381
|
// src/funcs/walletTransactionsGet.ts
|
|
104057
104382
|
function walletTransactionsGet(client, request, options) {
|
|
104058
|
-
return new APIPromise($
|
|
104383
|
+
return new APIPromise($do182(client, request, options));
|
|
104059
104384
|
}
|
|
104060
|
-
async function $
|
|
104385
|
+
async function $do182(client, request, options) {
|
|
104061
104386
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104062
104387
|
if (!parsed.ok) {
|
|
104063
104388
|
return [parsed, { status: "invalid" }];
|
|
@@ -104176,9 +104501,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104176
104501
|
|
|
104177
104502
|
// src/funcs/walletTransactionsList.ts
|
|
104178
104503
|
function walletTransactionsList(client, request, options) {
|
|
104179
|
-
return new APIPromise($
|
|
104504
|
+
return new APIPromise($do183(client, request, options));
|
|
104180
104505
|
}
|
|
104181
|
-
async function $
|
|
104506
|
+
async function $do183(client, request, options) {
|
|
104182
104507
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104183
104508
|
if (!parsed.ok) {
|
|
104184
104509
|
return [parsed, { status: "invalid" }];
|
|
@@ -104311,9 +104636,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
104311
104636
|
|
|
104312
104637
|
// src/funcs/webhooksCreate.ts
|
|
104313
104638
|
function webhooksCreate(client, request, options) {
|
|
104314
|
-
return new APIPromise($
|
|
104639
|
+
return new APIPromise($do184(client, request, options));
|
|
104315
104640
|
}
|
|
104316
|
-
async function $
|
|
104641
|
+
async function $do184(client, request, options) {
|
|
104317
104642
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
104318
104643
|
if (!parsed.ok) {
|
|
104319
104644
|
return [parsed, { status: "invalid" }];
|
|
@@ -104418,9 +104743,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
104418
104743
|
|
|
104419
104744
|
// src/funcs/webhooksDisable.ts
|
|
104420
104745
|
function webhooksDisable(client, request, options) {
|
|
104421
|
-
return new APIPromise($
|
|
104746
|
+
return new APIPromise($do185(client, request, options));
|
|
104422
104747
|
}
|
|
104423
|
-
async function $
|
|
104748
|
+
async function $do185(client, request, options) {
|
|
104424
104749
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104425
104750
|
if (!parsed.ok) {
|
|
104426
104751
|
return [parsed, { status: "invalid" }];
|
|
@@ -104524,9 +104849,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
104524
104849
|
|
|
104525
104850
|
// src/funcs/webhooksGet.ts
|
|
104526
104851
|
function webhooksGet(client, request, options) {
|
|
104527
|
-
return new APIPromise($
|
|
104852
|
+
return new APIPromise($do186(client, request, options));
|
|
104528
104853
|
}
|
|
104529
|
-
async function $
|
|
104854
|
+
async function $do186(client, request, options) {
|
|
104530
104855
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104531
104856
|
if (!parsed.ok) {
|
|
104532
104857
|
return [parsed, { status: "invalid" }];
|
|
@@ -104632,9 +104957,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
104632
104957
|
|
|
104633
104958
|
// src/funcs/webhooksGetSecret.ts
|
|
104634
104959
|
function webhooksGetSecret(client, request, options) {
|
|
104635
|
-
return new APIPromise($
|
|
104960
|
+
return new APIPromise($do187(client, request, options));
|
|
104636
104961
|
}
|
|
104637
|
-
async function $
|
|
104962
|
+
async function $do187(client, request, options) {
|
|
104638
104963
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104639
104964
|
if (!parsed.ok) {
|
|
104640
104965
|
return [parsed, { status: "invalid" }];
|
|
@@ -104740,9 +105065,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
104740
105065
|
|
|
104741
105066
|
// src/funcs/webhooksList.ts
|
|
104742
105067
|
function webhooksList(client, options) {
|
|
104743
|
-
return new APIPromise($
|
|
105068
|
+
return new APIPromise($do188(client, options));
|
|
104744
105069
|
}
|
|
104745
|
-
async function $
|
|
105070
|
+
async function $do188(client, options) {
|
|
104746
105071
|
const path = pathToFunc("/webhooks")();
|
|
104747
105072
|
const headers = new Headers(compactMap({
|
|
104748
105073
|
Accept: "application/json"
|
|
@@ -104828,9 +105153,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
104828
105153
|
|
|
104829
105154
|
// src/funcs/webhooksListEventTypes.ts
|
|
104830
105155
|
function webhooksListEventTypes(client, options) {
|
|
104831
|
-
return new APIPromise($
|
|
105156
|
+
return new APIPromise($do189(client, options));
|
|
104832
105157
|
}
|
|
104833
|
-
async function $
|
|
105158
|
+
async function $do189(client, options) {
|
|
104834
105159
|
const path = pathToFunc("/event-types")();
|
|
104835
105160
|
const headers = new Headers(compactMap({
|
|
104836
105161
|
Accept: "application/json"
|
|
@@ -104916,9 +105241,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
104916
105241
|
|
|
104917
105242
|
// src/funcs/webhooksPing.ts
|
|
104918
105243
|
function webhooksPing(client, request, options) {
|
|
104919
|
-
return new APIPromise($
|
|
105244
|
+
return new APIPromise($do190(client, request, options));
|
|
104920
105245
|
}
|
|
104921
|
-
async function $
|
|
105246
|
+
async function $do190(client, request, options) {
|
|
104922
105247
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
104923
105248
|
if (!parsed.ok) {
|
|
104924
105249
|
return [parsed, { status: "invalid" }];
|
|
@@ -105024,9 +105349,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
105024
105349
|
|
|
105025
105350
|
// src/funcs/webhooksUpdate.ts
|
|
105026
105351
|
function webhooksUpdate(client, request, options) {
|
|
105027
|
-
return new APIPromise($
|
|
105352
|
+
return new APIPromise($do191(client, request, options));
|
|
105028
105353
|
}
|
|
105029
|
-
async function $
|
|
105354
|
+
async function $do191(client, request, options) {
|
|
105030
105355
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
105031
105356
|
if (!parsed.ok) {
|
|
105032
105357
|
return [parsed, { status: "invalid" }];
|
|
@@ -105138,7 +105463,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
105138
105463
|
function createMCPServer(deps) {
|
|
105139
105464
|
const server = new McpServer({
|
|
105140
105465
|
name: "Moov",
|
|
105141
|
-
version: "26.7.0
|
|
105466
|
+
version: "26.7.0"
|
|
105142
105467
|
});
|
|
105143
105468
|
const client = new MoovCore({
|
|
105144
105469
|
security: deps.security,
|
|
@@ -105245,6 +105570,7 @@ function createMCPServer(deps) {
|
|
|
105245
105570
|
tool(tool$productsGet);
|
|
105246
105571
|
tool(tool$productsUpdate);
|
|
105247
105572
|
tool(tool$productsDisable);
|
|
105573
|
+
tool(tool$productsListCategories);
|
|
105248
105574
|
tool(tool$representativesCreate);
|
|
105249
105575
|
tool(tool$representativesList);
|
|
105250
105576
|
tool(tool$representativesDelete);
|
|
@@ -105471,6 +105797,7 @@ var init_server2 = __esm(() => {
|
|
|
105471
105797
|
init_productsDisable2();
|
|
105472
105798
|
init_productsGet2();
|
|
105473
105799
|
init_productsList2();
|
|
105800
|
+
init_productsListCategories2();
|
|
105474
105801
|
init_productsUpdate2();
|
|
105475
105802
|
init_receiptsCreate2();
|
|
105476
105803
|
init_receiptsList2();
|
|
@@ -106742,7 +107069,7 @@ var routes = rn({
|
|
|
106742
107069
|
var app = Ve(routes, {
|
|
106743
107070
|
name: "mcp",
|
|
106744
107071
|
versionInfo: {
|
|
106745
|
-
currentVersion: "26.7.0
|
|
107072
|
+
currentVersion: "26.7.0"
|
|
106746
107073
|
}
|
|
106747
107074
|
});
|
|
106748
107075
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -106750,5 +107077,5 @@ export {
|
|
|
106750
107077
|
app
|
|
106751
107078
|
};
|
|
106752
107079
|
|
|
106753
|
-
//# debugId=
|
|
107080
|
+
//# debugId=913BD292F65F51C464756E2164756E21
|
|
106754
107081
|
//# sourceMappingURL=mcp-server.js.map
|