@moovio/sdk 0.22.9 → 0.22.11
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 +59 -64
- package/bin/mcp-server.js +549 -790
- package/bin/mcp-server.js.map +15 -20
- package/examples/package-lock.json +1 -1
- package/funcs/imagesDelete.d.ts +4 -1
- package/funcs/imagesDelete.d.ts.map +1 -1
- package/funcs/imagesDelete.js +4 -1
- package/funcs/imagesDelete.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- 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 +1 -3
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/imagesDelete.d.ts.map +1 -1
- package/mcp-server/tools/imagesDelete.js +4 -1
- package/mcp-server/tools/imagesDelete.js.map +1 -1
- package/models/components/imagemetadata.d.ts +2 -0
- package/models/components/imagemetadata.d.ts.map +1 -1
- package/models/components/imagemetadata.js +3 -0
- package/models/components/imagemetadata.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/components/transfer.d.ts +5 -0
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +2 -0
- package/models/components/transfer.js.map +1 -1
- package/models/components/updateinvoice.d.ts +5 -1
- package/models/components/updateinvoice.d.ts.map +1 -1
- package/models/components/updateinvoice.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/errors/transfer.d.ts +9 -0
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js +4 -0
- package/models/errors/transfer.js.map +1 -1
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/images.d.ts +4 -1
- package/sdk/images.d.ts.map +1 -1
- package/sdk/images.js +4 -1
- package/sdk/images.js.map +1 -1
- package/sdk/invoices.d.ts +0 -8
- package/sdk/invoices.d.ts.map +1 -1
- package/sdk/invoices.js +0 -11
- package/sdk/invoices.js.map +1 -1
- package/src/funcs/imagesDelete.ts +4 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -3
- package/src/mcp-server/tools/imagesDelete.ts +4 -1
- package/src/models/components/imagemetadata.ts +5 -0
- package/src/models/components/index.ts +0 -1
- package/src/models/components/transfer.ts +7 -0
- package/src/models/components/updateinvoice.ts +5 -1
- package/src/models/errors/index.ts +0 -1
- package/src/models/errors/transfer.ts +12 -0
- package/src/models/operations/index.ts +0 -1
- package/src/sdk/images.ts +4 -1
- package/src/sdk/invoices.ts +0 -19
- package/funcs/invoicesMarkPaidInvoice.d.ts +0 -19
- package/funcs/invoicesMarkPaidInvoice.d.ts.map +0 -1
- package/funcs/invoicesMarkPaidInvoice.js +0 -144
- package/funcs/invoicesMarkPaidInvoice.js.map +0 -1
- package/mcp-server/tools/invoicesMarkPaidInvoice.d.ts +0 -8
- package/mcp-server/tools/invoicesMarkPaidInvoice.d.ts.map +0 -1
- package/mcp-server/tools/invoicesMarkPaidInvoice.js +0 -66
- package/mcp-server/tools/invoicesMarkPaidInvoice.js.map +0 -1
- package/models/components/markinvoicepaid.d.ts +0 -21
- package/models/components/markinvoicepaid.d.ts.map +0 -1
- package/models/components/markinvoicepaid.js +0 -63
- package/models/components/markinvoicepaid.js.map +0 -1
- package/models/errors/markinvoicepaiderror.d.ts +0 -30
- package/models/errors/markinvoicepaiderror.d.ts.map +0 -1
- package/models/errors/markinvoicepaiderror.js +0 -83
- package/models/errors/markinvoicepaiderror.js.map +0 -1
- package/models/operations/markpaidinvoice.d.ts +0 -68
- package/models/operations/markpaidinvoice.d.ts.map +0 -1
- package/models/operations/markpaidinvoice.js +0 -124
- package/models/operations/markpaidinvoice.js.map +0 -1
- package/src/funcs/invoicesMarkPaidInvoice.ts +0 -208
- package/src/mcp-server/tools/invoicesMarkPaidInvoice.ts +0 -39
- package/src/models/components/markinvoicepaid.ts +0 -58
- package/src/models/errors/markinvoicepaiderror.ts +0 -78
- package/src/models/operations/markpaidinvoice.ts +0 -191
package/bin/mcp-server.js
CHANGED
|
@@ -52413,9 +52413,9 @@ var init_config = __esm(() => {
|
|
|
52413
52413
|
SDK_METADATA = {
|
|
52414
52414
|
language: "typescript",
|
|
52415
52415
|
openapiDocVersion: "latest",
|
|
52416
|
-
sdkVersion: "0.22.
|
|
52417
|
-
genVersion: "2.788.
|
|
52418
|
-
userAgent: "speakeasy-sdk/typescript 0.22.
|
|
52416
|
+
sdkVersion: "0.22.11",
|
|
52417
|
+
genVersion: "2.788.7",
|
|
52418
|
+
userAgent: "speakeasy-sdk/typescript 0.22.11 2.788.7 latest @moovio/sdk"
|
|
52419
52419
|
};
|
|
52420
52420
|
});
|
|
52421
52421
|
|
|
@@ -62782,7 +62782,8 @@ var init_imagemetadata = __esm(() => {
|
|
|
62782
62782
|
altText: stringType().optional(),
|
|
62783
62783
|
link: stringType(),
|
|
62784
62784
|
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
62785
|
-
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
62785
|
+
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
62786
|
+
disabledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
62786
62787
|
});
|
|
62787
62788
|
ImageMetadata$outboundSchema = objectType({
|
|
62788
62789
|
imageID: stringType(),
|
|
@@ -62790,7 +62791,8 @@ var init_imagemetadata = __esm(() => {
|
|
|
62790
62791
|
altText: stringType().optional(),
|
|
62791
62792
|
link: stringType(),
|
|
62792
62793
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
62793
|
-
updatedOn: dateType().transform((v2) => v2.toISOString())
|
|
62794
|
+
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
62795
|
+
disabledOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
62794
62796
|
});
|
|
62795
62797
|
});
|
|
62796
62798
|
|
|
@@ -63853,22 +63855,6 @@ var init_manualtermsofserviceupdate = __esm(() => {
|
|
|
63853
63855
|
});
|
|
63854
63856
|
});
|
|
63855
63857
|
|
|
63856
|
-
// src/models/components/markinvoicepaid.ts
|
|
63857
|
-
var MarkInvoicePaid$inboundSchema, MarkInvoicePaid$outboundSchema;
|
|
63858
|
-
var init_markinvoicepaid = __esm(() => {
|
|
63859
|
-
init_esm();
|
|
63860
|
-
MarkInvoicePaid$inboundSchema = objectType({
|
|
63861
|
-
foreignID: stringType().optional(),
|
|
63862
|
-
description: stringType().optional(),
|
|
63863
|
-
paymentDate: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
63864
|
-
});
|
|
63865
|
-
MarkInvoicePaid$outboundSchema = objectType({
|
|
63866
|
-
foreignID: stringType().optional(),
|
|
63867
|
-
description: stringType().optional(),
|
|
63868
|
-
paymentDate: dateType().transform((v2) => v2.toISOString()).optional()
|
|
63869
|
-
});
|
|
63870
|
-
});
|
|
63871
|
-
|
|
63872
63858
|
// src/models/components/moneytransferpullfromcard.ts
|
|
63873
63859
|
var MoneyTransferPullFromCard$inboundSchema, MoneyTransferPullFromCard$outboundSchema;
|
|
63874
63860
|
var init_moneytransferpullfromcard = __esm(() => {
|
|
@@ -66146,7 +66132,8 @@ var init_transfer = __esm(() => {
|
|
|
66146
66132
|
paymentLinkCode: stringType().optional(),
|
|
66147
66133
|
salesTaxAmount: Amount$inboundSchema.optional(),
|
|
66148
66134
|
foreignID: stringType().optional(),
|
|
66149
|
-
lineItems: TransferLineItems$inboundSchema.optional()
|
|
66135
|
+
lineItems: TransferLineItems$inboundSchema.optional(),
|
|
66136
|
+
invoiceID: stringType().optional()
|
|
66150
66137
|
});
|
|
66151
66138
|
Transfer$outboundSchema = objectType({
|
|
66152
66139
|
transferID: stringType(),
|
|
@@ -66176,7 +66163,8 @@ var init_transfer = __esm(() => {
|
|
|
66176
66163
|
paymentLinkCode: stringType().optional(),
|
|
66177
66164
|
salesTaxAmount: Amount$outboundSchema.optional(),
|
|
66178
66165
|
foreignID: stringType().optional(),
|
|
66179
|
-
lineItems: TransferLineItems$outboundSchema.optional()
|
|
66166
|
+
lineItems: TransferLineItems$outboundSchema.optional(),
|
|
66167
|
+
invoiceID: stringType().optional()
|
|
66180
66168
|
});
|
|
66181
66169
|
});
|
|
66182
66170
|
|
|
@@ -68001,7 +67989,6 @@ var init_components = __esm(() => {
|
|
|
68001
67989
|
init_listfeesfetchrequest();
|
|
68002
67990
|
init_manualtermsofservice();
|
|
68003
67991
|
init_manualtermsofserviceupdate();
|
|
68004
|
-
init_markinvoicepaid();
|
|
68005
67992
|
init_microdepositstatus();
|
|
68006
67993
|
init_minimumcommitment();
|
|
68007
67994
|
init_mode();
|
|
@@ -69417,50 +69404,6 @@ var init_listwallettransactionsvalidationerror = __esm(() => {
|
|
|
69417
69404
|
}));
|
|
69418
69405
|
});
|
|
69419
69406
|
|
|
69420
|
-
// src/models/errors/markinvoicepaiderror.ts
|
|
69421
|
-
var MarkInvoicePaidError, MarkInvoicePaidError$inboundSchema, MarkInvoicePaidError$outboundSchema;
|
|
69422
|
-
var init_markinvoicepaiderror = __esm(() => {
|
|
69423
|
-
init_esm();
|
|
69424
|
-
init_mooverror();
|
|
69425
|
-
MarkInvoicePaidError = class MarkInvoicePaidError extends MoovError {
|
|
69426
|
-
foreignID;
|
|
69427
|
-
description;
|
|
69428
|
-
paymentDate;
|
|
69429
|
-
data$;
|
|
69430
|
-
constructor(err, httpMeta) {
|
|
69431
|
-
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
69432
|
-
super(message, httpMeta);
|
|
69433
|
-
this.data$ = err;
|
|
69434
|
-
if (err.foreignID != null)
|
|
69435
|
-
this.foreignID = err.foreignID;
|
|
69436
|
-
if (err.description != null)
|
|
69437
|
-
this.description = err.description;
|
|
69438
|
-
if (err.paymentDate != null)
|
|
69439
|
-
this.paymentDate = err.paymentDate;
|
|
69440
|
-
this.name = "MarkInvoicePaidError";
|
|
69441
|
-
}
|
|
69442
|
-
};
|
|
69443
|
-
MarkInvoicePaidError$inboundSchema = objectType({
|
|
69444
|
-
foreignID: stringType().optional(),
|
|
69445
|
-
description: stringType().optional(),
|
|
69446
|
-
paymentDate: stringType().optional(),
|
|
69447
|
-
request$: instanceOfType(Request),
|
|
69448
|
-
response$: instanceOfType(Response),
|
|
69449
|
-
body$: stringType()
|
|
69450
|
-
}).transform((v2) => {
|
|
69451
|
-
return new MarkInvoicePaidError(v2, {
|
|
69452
|
-
request: v2.request$,
|
|
69453
|
-
response: v2.response$,
|
|
69454
|
-
body: v2.body$
|
|
69455
|
-
});
|
|
69456
|
-
});
|
|
69457
|
-
MarkInvoicePaidError$outboundSchema = instanceOfType(MarkInvoicePaidError).transform((v2) => v2.data$).pipe(objectType({
|
|
69458
|
-
foreignID: stringType().optional(),
|
|
69459
|
-
description: stringType().optional(),
|
|
69460
|
-
paymentDate: stringType().optional()
|
|
69461
|
-
}));
|
|
69462
|
-
});
|
|
69463
|
-
|
|
69464
69407
|
// src/models/errors/microdepositvalidationerror.ts
|
|
69465
69408
|
var MicroDepositValidationError, MicroDepositValidationError$inboundSchema, MicroDepositValidationError$outboundSchema;
|
|
69466
69409
|
var init_microdepositvalidationerror = __esm(() => {
|
|
@@ -70177,6 +70120,7 @@ var init_transfer2 = __esm(() => {
|
|
|
70177
70120
|
salesTaxAmount;
|
|
70178
70121
|
foreignID;
|
|
70179
70122
|
lineItems;
|
|
70123
|
+
invoiceID;
|
|
70180
70124
|
data$;
|
|
70181
70125
|
constructor(err, httpMeta) {
|
|
70182
70126
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -70232,6 +70176,8 @@ var init_transfer2 = __esm(() => {
|
|
|
70232
70176
|
this.foreignID = err.foreignID;
|
|
70233
70177
|
if (err.lineItems != null)
|
|
70234
70178
|
this.lineItems = err.lineItems;
|
|
70179
|
+
if (err.invoiceID != null)
|
|
70180
|
+
this.invoiceID = err.invoiceID;
|
|
70235
70181
|
this.name = "Transfer";
|
|
70236
70182
|
}
|
|
70237
70183
|
};
|
|
@@ -70264,6 +70210,7 @@ var init_transfer2 = __esm(() => {
|
|
|
70264
70210
|
salesTaxAmount: Amount$inboundSchema.optional(),
|
|
70265
70211
|
foreignID: stringType().optional(),
|
|
70266
70212
|
lineItems: TransferLineItems$inboundSchema.optional(),
|
|
70213
|
+
invoiceID: stringType().optional(),
|
|
70267
70214
|
request$: instanceOfType(Request),
|
|
70268
70215
|
response$: instanceOfType(Response),
|
|
70269
70216
|
body$: stringType()
|
|
@@ -70302,7 +70249,8 @@ var init_transfer2 = __esm(() => {
|
|
|
70302
70249
|
paymentLinkCode: stringType().optional(),
|
|
70303
70250
|
salesTaxAmount: Amount$outboundSchema.optional(),
|
|
70304
70251
|
foreignID: stringType().optional(),
|
|
70305
|
-
lineItems: TransferLineItems$outboundSchema.optional()
|
|
70252
|
+
lineItems: TransferLineItems$outboundSchema.optional(),
|
|
70253
|
+
invoiceID: stringType().optional()
|
|
70306
70254
|
}));
|
|
70307
70255
|
});
|
|
70308
70256
|
|
|
@@ -70912,7 +70860,6 @@ var init_errors4 = __esm(() => {
|
|
|
70912
70860
|
init_listtransfersvalidationerror();
|
|
70913
70861
|
init_listwalletsvalidationerror();
|
|
70914
70862
|
init_listwallettransactionsvalidationerror();
|
|
70915
|
-
init_markinvoicepaiderror();
|
|
70916
70863
|
init_microdepositvalidationerror();
|
|
70917
70864
|
init_mooverror();
|
|
70918
70865
|
init_onboardinginviteerror();
|
|
@@ -77848,64 +77795,6 @@ var init_listwallettransactions = __esm(() => {
|
|
|
77848
77795
|
});
|
|
77849
77796
|
});
|
|
77850
77797
|
|
|
77851
|
-
// src/models/operations/markpaidinvoice.ts
|
|
77852
|
-
var MarkPaidInvoiceGlobals$inboundSchema, MarkPaidInvoiceGlobals$outboundSchema, MarkPaidInvoiceRequest$inboundSchema, MarkPaidInvoiceRequest$outboundSchema, MarkPaidInvoiceResponse$inboundSchema, MarkPaidInvoiceResponse$outboundSchema;
|
|
77853
|
-
var init_markpaidinvoice = __esm(() => {
|
|
77854
|
-
init_esm();
|
|
77855
|
-
init_primitives();
|
|
77856
|
-
init_components();
|
|
77857
|
-
MarkPaidInvoiceGlobals$inboundSchema = objectType({
|
|
77858
|
-
"X-Moov-Version": stringType().optional()
|
|
77859
|
-
}).transform((v2) => {
|
|
77860
|
-
return remap(v2, {
|
|
77861
|
-
"X-Moov-Version": "xMoovVersion"
|
|
77862
|
-
});
|
|
77863
|
-
});
|
|
77864
|
-
MarkPaidInvoiceGlobals$outboundSchema = objectType({
|
|
77865
|
-
xMoovVersion: stringType().optional()
|
|
77866
|
-
}).transform((v2) => {
|
|
77867
|
-
return remap(v2, {
|
|
77868
|
-
xMoovVersion: "X-Moov-Version"
|
|
77869
|
-
});
|
|
77870
|
-
});
|
|
77871
|
-
MarkPaidInvoiceRequest$inboundSchema = objectType({
|
|
77872
|
-
accountID: stringType(),
|
|
77873
|
-
invoiceID: stringType(),
|
|
77874
|
-
MarkInvoicePaid: MarkInvoicePaid$inboundSchema
|
|
77875
|
-
}).transform((v2) => {
|
|
77876
|
-
return remap(v2, {
|
|
77877
|
-
MarkInvoicePaid: "markInvoicePaid"
|
|
77878
|
-
});
|
|
77879
|
-
});
|
|
77880
|
-
MarkPaidInvoiceRequest$outboundSchema = objectType({
|
|
77881
|
-
accountID: stringType(),
|
|
77882
|
-
invoiceID: stringType(),
|
|
77883
|
-
markInvoicePaid: MarkInvoicePaid$outboundSchema
|
|
77884
|
-
}).transform((v2) => {
|
|
77885
|
-
return remap(v2, {
|
|
77886
|
-
markInvoicePaid: "MarkInvoicePaid"
|
|
77887
|
-
});
|
|
77888
|
-
});
|
|
77889
|
-
MarkPaidInvoiceResponse$inboundSchema = objectType({
|
|
77890
|
-
Headers: recordType(arrayType(stringType())).default({}),
|
|
77891
|
-
Result: Invoice$inboundSchema
|
|
77892
|
-
}).transform((v2) => {
|
|
77893
|
-
return remap(v2, {
|
|
77894
|
-
Headers: "headers",
|
|
77895
|
-
Result: "result"
|
|
77896
|
-
});
|
|
77897
|
-
});
|
|
77898
|
-
MarkPaidInvoiceResponse$outboundSchema = objectType({
|
|
77899
|
-
headers: recordType(arrayType(stringType())),
|
|
77900
|
-
result: Invoice$outboundSchema
|
|
77901
|
-
}).transform((v2) => {
|
|
77902
|
-
return remap(v2, {
|
|
77903
|
-
headers: "Headers",
|
|
77904
|
-
result: "Result"
|
|
77905
|
-
});
|
|
77906
|
-
});
|
|
77907
|
-
});
|
|
77908
|
-
|
|
77909
77798
|
// src/models/operations/ping.ts
|
|
77910
77799
|
var PingGlobals$inboundSchema, PingGlobals$outboundSchema, PingRequest$inboundSchema, PingRequest$outboundSchema, PingResponse$inboundSchema, PingResponse$outboundSchema;
|
|
77911
77800
|
var init_ping = __esm(() => {
|
|
@@ -79829,7 +79718,6 @@ var init_operations = __esm(() => {
|
|
|
79829
79718
|
init_listtransfers();
|
|
79830
79719
|
init_listwallets();
|
|
79831
79720
|
init_listwallettransactions();
|
|
79832
|
-
init_markpaidinvoice();
|
|
79833
79721
|
init_ping();
|
|
79834
79722
|
init_registerapplepaymerchantdomains2();
|
|
79835
79723
|
init_requestcapabilities();
|
|
@@ -89761,7 +89649,10 @@ var init_imagesDelete2 = __esm(() => {
|
|
|
89761
89649
|
};
|
|
89762
89650
|
tool$imagesDelete = {
|
|
89763
89651
|
name: "images-delete",
|
|
89764
|
-
description: `
|
|
89652
|
+
description: ` Disable an image by its ID.
|
|
89653
|
+
|
|
89654
|
+
Disabled images are still be accessible via their public URL, and cannot be assigned
|
|
89655
|
+
to products or line-items.`,
|
|
89765
89656
|
args: args81,
|
|
89766
89657
|
tool: async (client, args82, ctx) => {
|
|
89767
89658
|
const [result, apiCall] = await imagesDelete(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -91233,141 +91124,11 @@ you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
|
91233
91124
|
};
|
|
91234
91125
|
});
|
|
91235
91126
|
|
|
91236
|
-
// src/funcs/invoicesMarkPaidInvoice.ts
|
|
91237
|
-
function invoicesMarkPaidInvoice(client, request, options) {
|
|
91238
|
-
return new APIPromise($do94(client, request, options));
|
|
91239
|
-
}
|
|
91240
|
-
async function $do94(client, request, options) {
|
|
91241
|
-
const parsed = safeParse4(request, (value) => MarkPaidInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91242
|
-
if (!parsed.ok) {
|
|
91243
|
-
return [parsed, { status: "invalid" }];
|
|
91244
|
-
}
|
|
91245
|
-
const payload = parsed.value;
|
|
91246
|
-
const body = encodeJSON("body", payload.MarkInvoicePaid, { explode: true });
|
|
91247
|
-
const pathParams = {
|
|
91248
|
-
accountID: encodeSimple("accountID", payload.accountID, {
|
|
91249
|
-
explode: false,
|
|
91250
|
-
charEncoding: "percent"
|
|
91251
|
-
}),
|
|
91252
|
-
invoiceID: encodeSimple("invoiceID", payload.invoiceID, {
|
|
91253
|
-
explode: false,
|
|
91254
|
-
charEncoding: "percent"
|
|
91255
|
-
})
|
|
91256
|
-
};
|
|
91257
|
-
const path = pathToFunc("/accounts/{accountID}/invoices/{invoiceID}/mark-paid")(pathParams);
|
|
91258
|
-
const headers = new Headers(compactMap({
|
|
91259
|
-
"Content-Type": "application/json",
|
|
91260
|
-
Accept: "application/json",
|
|
91261
|
-
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
91262
|
-
}));
|
|
91263
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
91264
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
91265
|
-
const context = {
|
|
91266
|
-
options: client._options,
|
|
91267
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
91268
|
-
operationID: "markPaidInvoice",
|
|
91269
|
-
oAuth2Scopes: null,
|
|
91270
|
-
resolvedSecurity: requestSecurity,
|
|
91271
|
-
securitySource: client._options.security,
|
|
91272
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
91273
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
91274
|
-
};
|
|
91275
|
-
const requestRes = client._createRequest(context, {
|
|
91276
|
-
security: requestSecurity,
|
|
91277
|
-
method: "POST",
|
|
91278
|
-
baseURL: options?.serverURL,
|
|
91279
|
-
path,
|
|
91280
|
-
headers,
|
|
91281
|
-
body,
|
|
91282
|
-
userAgent: client._options.userAgent,
|
|
91283
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
91284
|
-
}, options);
|
|
91285
|
-
if (!requestRes.ok) {
|
|
91286
|
-
return [requestRes, { status: "invalid" }];
|
|
91287
|
-
}
|
|
91288
|
-
const req = requestRes.value;
|
|
91289
|
-
const doResult = await client._do(req, {
|
|
91290
|
-
context,
|
|
91291
|
-
errorCodes: [
|
|
91292
|
-
"400",
|
|
91293
|
-
"401",
|
|
91294
|
-
"403",
|
|
91295
|
-
"404",
|
|
91296
|
-
"409",
|
|
91297
|
-
"422",
|
|
91298
|
-
"429",
|
|
91299
|
-
"4XX",
|
|
91300
|
-
"500",
|
|
91301
|
-
"504",
|
|
91302
|
-
"5XX"
|
|
91303
|
-
],
|
|
91304
|
-
retryConfig: context.retryConfig,
|
|
91305
|
-
retryCodes: context.retryCodes
|
|
91306
|
-
});
|
|
91307
|
-
if (!doResult.ok) {
|
|
91308
|
-
return [doResult, { status: "request-error", request: req }];
|
|
91309
|
-
}
|
|
91310
|
-
const response = doResult.value;
|
|
91311
|
-
const responseFields = {
|
|
91312
|
-
HttpMeta: { Response: response, Request: req }
|
|
91313
|
-
};
|
|
91314
|
-
const [result] = await match(json(200, MarkPaidInvoiceResponse$inboundSchema, {
|
|
91315
|
-
hdrs: true,
|
|
91316
|
-
key: "Result"
|
|
91317
|
-
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, MarkInvoicePaidError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
91318
|
-
if (!result.ok) {
|
|
91319
|
-
return [result, { status: "complete", request: req, response }];
|
|
91320
|
-
}
|
|
91321
|
-
return [result, { status: "complete", request: req, response }];
|
|
91322
|
-
}
|
|
91323
|
-
var init_invoicesMarkPaidInvoice = __esm(() => {
|
|
91324
|
-
init_encodings();
|
|
91325
|
-
init_matchers();
|
|
91326
|
-
init_primitives();
|
|
91327
|
-
init_schemas4();
|
|
91328
|
-
init_security();
|
|
91329
|
-
init_url();
|
|
91330
|
-
init_errors4();
|
|
91331
|
-
init_operations();
|
|
91332
|
-
init_async();
|
|
91333
|
-
});
|
|
91334
|
-
|
|
91335
|
-
// src/mcp-server/tools/invoicesMarkPaidInvoice.ts
|
|
91336
|
-
var args94, tool$invoicesMarkPaidInvoice;
|
|
91337
|
-
var init_invoicesMarkPaidInvoice2 = __esm(() => {
|
|
91338
|
-
init_invoicesMarkPaidInvoice();
|
|
91339
|
-
init_operations();
|
|
91340
|
-
init_tools();
|
|
91341
|
-
args94 = {
|
|
91342
|
-
request: MarkPaidInvoiceRequest$inboundSchema
|
|
91343
|
-
};
|
|
91344
|
-
tool$invoicesMarkPaidInvoice = {
|
|
91345
|
-
name: "invoices-mark-paid-invoice",
|
|
91346
|
-
description: `Marks an invoice as paid outside of the Moov platform.
|
|
91347
|
-
If a payment link was created, the corresponding payment link is canceled, but a receipt is still sent.
|
|
91348
|
-
|
|
91349
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91350
|
-
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
91351
|
-
args: args94,
|
|
91352
|
-
tool: async (client, args95, ctx) => {
|
|
91353
|
-
const [result, apiCall] = await invoicesMarkPaidInvoice(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91354
|
-
if (!result.ok) {
|
|
91355
|
-
return {
|
|
91356
|
-
content: [{ type: "text", text: result.error.message }],
|
|
91357
|
-
isError: true
|
|
91358
|
-
};
|
|
91359
|
-
}
|
|
91360
|
-
const value = result.value.result;
|
|
91361
|
-
return formatResult(value, apiCall);
|
|
91362
|
-
}
|
|
91363
|
-
};
|
|
91364
|
-
});
|
|
91365
|
-
|
|
91366
91127
|
// src/funcs/invoicesUpdateInvoice.ts
|
|
91367
91128
|
function invoicesUpdateInvoice(client, request, options) {
|
|
91368
|
-
return new APIPromise($
|
|
91129
|
+
return new APIPromise($do94(client, request, options));
|
|
91369
91130
|
}
|
|
91370
|
-
async function $
|
|
91131
|
+
async function $do94(client, request, options) {
|
|
91371
91132
|
const parsed = safeParse4(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91372
91133
|
if (!parsed.ok) {
|
|
91373
91134
|
return [parsed, { status: "invalid" }];
|
|
@@ -91463,12 +91224,12 @@ var init_invoicesUpdateInvoice = __esm(() => {
|
|
|
91463
91224
|
});
|
|
91464
91225
|
|
|
91465
91226
|
// src/mcp-server/tools/invoicesUpdateInvoice.ts
|
|
91466
|
-
var
|
|
91227
|
+
var args94, tool$invoicesUpdateInvoice;
|
|
91467
91228
|
var init_invoicesUpdateInvoice2 = __esm(() => {
|
|
91468
91229
|
init_invoicesUpdateInvoice();
|
|
91469
91230
|
init_operations();
|
|
91470
91231
|
init_tools();
|
|
91471
|
-
|
|
91232
|
+
args94 = {
|
|
91472
91233
|
request: UpdateInvoiceRequest$inboundSchema
|
|
91473
91234
|
};
|
|
91474
91235
|
tool$invoicesUpdateInvoice = {
|
|
@@ -91477,9 +91238,9 @@ var init_invoicesUpdateInvoice2 = __esm(() => {
|
|
|
91477
91238
|
|
|
91478
91239
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91479
91240
|
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
91480
|
-
args:
|
|
91481
|
-
tool: async (client,
|
|
91482
|
-
const [result, apiCall] = await invoicesUpdateInvoice(client,
|
|
91241
|
+
args: args94,
|
|
91242
|
+
tool: async (client, args95, ctx) => {
|
|
91243
|
+
const [result, apiCall] = await invoicesUpdateInvoice(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91483
91244
|
if (!result.ok) {
|
|
91484
91245
|
return {
|
|
91485
91246
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91494,9 +91255,9 @@ you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
|
91494
91255
|
|
|
91495
91256
|
// src/funcs/issuingTransactionsGet.ts
|
|
91496
91257
|
function issuingTransactionsGet(client, request, options) {
|
|
91497
|
-
return new APIPromise($
|
|
91258
|
+
return new APIPromise($do95(client, request, options));
|
|
91498
91259
|
}
|
|
91499
|
-
async function $
|
|
91260
|
+
async function $do95(client, request, options) {
|
|
91500
91261
|
const parsed = safeParse4(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91501
91262
|
if (!parsed.ok) {
|
|
91502
91263
|
return [parsed, { status: "invalid" }];
|
|
@@ -91575,12 +91336,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
91575
91336
|
});
|
|
91576
91337
|
|
|
91577
91338
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
91578
|
-
var
|
|
91339
|
+
var args95, tool$issuingTransactionsGet;
|
|
91579
91340
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
91580
91341
|
init_issuingTransactionsGet();
|
|
91581
91342
|
init_operations();
|
|
91582
91343
|
init_tools();
|
|
91583
|
-
|
|
91344
|
+
args95 = {
|
|
91584
91345
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
91585
91346
|
};
|
|
91586
91347
|
tool$issuingTransactionsGet = {
|
|
@@ -91589,9 +91350,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
91589
91350
|
|
|
91590
91351
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91591
91352
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
91592
|
-
args:
|
|
91593
|
-
tool: async (client,
|
|
91594
|
-
const [result, apiCall] = await issuingTransactionsGet(client,
|
|
91353
|
+
args: args95,
|
|
91354
|
+
tool: async (client, args96, ctx) => {
|
|
91355
|
+
const [result, apiCall] = await issuingTransactionsGet(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91595
91356
|
if (!result.ok) {
|
|
91596
91357
|
return {
|
|
91597
91358
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91606,9 +91367,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
91606
91367
|
|
|
91607
91368
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
91608
91369
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
91609
|
-
return new APIPromise($
|
|
91370
|
+
return new APIPromise($do96(client, request, options));
|
|
91610
91371
|
}
|
|
91611
|
-
async function $
|
|
91372
|
+
async function $do96(client, request, options) {
|
|
91612
91373
|
const parsed = safeParse4(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91613
91374
|
if (!parsed.ok) {
|
|
91614
91375
|
return [parsed, { status: "invalid" }];
|
|
@@ -91690,12 +91451,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
91690
91451
|
});
|
|
91691
91452
|
|
|
91692
91453
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
91693
|
-
var
|
|
91454
|
+
var args96, tool$issuingTransactionsGetAuthorization;
|
|
91694
91455
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
91695
91456
|
init_issuingTransactionsGetAuthorization();
|
|
91696
91457
|
init_operations();
|
|
91697
91458
|
init_tools();
|
|
91698
|
-
|
|
91459
|
+
args96 = {
|
|
91699
91460
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
91700
91461
|
};
|
|
91701
91462
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -91704,9 +91465,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
91704
91465
|
|
|
91705
91466
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91706
91467
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
91707
|
-
args:
|
|
91708
|
-
tool: async (client,
|
|
91709
|
-
const [result, apiCall] = await issuingTransactionsGetAuthorization(client,
|
|
91468
|
+
args: args96,
|
|
91469
|
+
tool: async (client, args97, ctx) => {
|
|
91470
|
+
const [result, apiCall] = await issuingTransactionsGetAuthorization(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91710
91471
|
if (!result.ok) {
|
|
91711
91472
|
return {
|
|
91712
91473
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91721,9 +91482,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
91721
91482
|
|
|
91722
91483
|
// src/funcs/issuingTransactionsList.ts
|
|
91723
91484
|
function issuingTransactionsList(client, request, options) {
|
|
91724
|
-
return new APIPromise($
|
|
91485
|
+
return new APIPromise($do97(client, request, options));
|
|
91725
91486
|
}
|
|
91726
|
-
async function $
|
|
91487
|
+
async function $do97(client, request, options) {
|
|
91727
91488
|
const parsed = safeParse4(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91728
91489
|
if (!parsed.ok) {
|
|
91729
91490
|
return [parsed, { status: "invalid" }];
|
|
@@ -91809,12 +91570,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
91809
91570
|
});
|
|
91810
91571
|
|
|
91811
91572
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
91812
|
-
var
|
|
91573
|
+
var args97, tool$issuingTransactionsList;
|
|
91813
91574
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
91814
91575
|
init_issuingTransactionsList();
|
|
91815
91576
|
init_operations();
|
|
91816
91577
|
init_tools();
|
|
91817
|
-
|
|
91578
|
+
args97 = {
|
|
91818
91579
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
91819
91580
|
};
|
|
91820
91581
|
tool$issuingTransactionsList = {
|
|
@@ -91823,9 +91584,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
91823
91584
|
|
|
91824
91585
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91825
91586
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
91826
|
-
args:
|
|
91827
|
-
tool: async (client,
|
|
91828
|
-
const [result, apiCall] = await issuingTransactionsList(client,
|
|
91587
|
+
args: args97,
|
|
91588
|
+
tool: async (client, args98, ctx) => {
|
|
91589
|
+
const [result, apiCall] = await issuingTransactionsList(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91829
91590
|
if (!result.ok) {
|
|
91830
91591
|
return {
|
|
91831
91592
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91840,9 +91601,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
91840
91601
|
|
|
91841
91602
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
91842
91603
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
91843
|
-
return new APIPromise($
|
|
91604
|
+
return new APIPromise($do98(client, request, options));
|
|
91844
91605
|
}
|
|
91845
|
-
async function $
|
|
91606
|
+
async function $do98(client, request, options) {
|
|
91846
91607
|
const parsed = safeParse4(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91847
91608
|
if (!parsed.ok) {
|
|
91848
91609
|
return [parsed, { status: "invalid" }];
|
|
@@ -91926,12 +91687,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
91926
91687
|
});
|
|
91927
91688
|
|
|
91928
91689
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
91929
|
-
var
|
|
91690
|
+
var args98, tool$issuingTransactionsListAuthorizationEvents;
|
|
91930
91691
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
91931
91692
|
init_issuingTransactionsListAuthorizationEvents();
|
|
91932
91693
|
init_operations();
|
|
91933
91694
|
init_tools();
|
|
91934
|
-
|
|
91695
|
+
args98 = {
|
|
91935
91696
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
91936
91697
|
};
|
|
91937
91698
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -91940,9 +91701,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
91940
91701
|
|
|
91941
91702
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91942
91703
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
91943
|
-
args:
|
|
91944
|
-
tool: async (client,
|
|
91945
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client,
|
|
91704
|
+
args: args98,
|
|
91705
|
+
tool: async (client, args99, ctx) => {
|
|
91706
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91946
91707
|
if (!result.ok) {
|
|
91947
91708
|
return {
|
|
91948
91709
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91957,9 +91718,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
91957
91718
|
|
|
91958
91719
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
91959
91720
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
91960
|
-
return new APIPromise($
|
|
91721
|
+
return new APIPromise($do99(client, request, options));
|
|
91961
91722
|
}
|
|
91962
|
-
async function $
|
|
91723
|
+
async function $do99(client, request, options) {
|
|
91963
91724
|
const parsed = safeParse4(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91964
91725
|
if (!parsed.ok) {
|
|
91965
91726
|
return [parsed, { status: "invalid" }];
|
|
@@ -92046,12 +91807,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
92046
91807
|
});
|
|
92047
91808
|
|
|
92048
91809
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
92049
|
-
var
|
|
91810
|
+
var args99, tool$issuingTransactionsListAuthorizations;
|
|
92050
91811
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
92051
91812
|
init_issuingTransactionsListAuthorizations();
|
|
92052
91813
|
init_operations();
|
|
92053
91814
|
init_tools();
|
|
92054
|
-
|
|
91815
|
+
args99 = {
|
|
92055
91816
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
92056
91817
|
};
|
|
92057
91818
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -92060,9 +91821,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
92060
91821
|
|
|
92061
91822
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92062
91823
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
92063
|
-
args:
|
|
92064
|
-
tool: async (client,
|
|
92065
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizations(client,
|
|
91824
|
+
args: args99,
|
|
91825
|
+
tool: async (client, args100, ctx) => {
|
|
91826
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizations(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92066
91827
|
if (!result.ok) {
|
|
92067
91828
|
return {
|
|
92068
91829
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92077,9 +91838,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
92077
91838
|
|
|
92078
91839
|
// src/funcs/onboardingCreateInvite.ts
|
|
92079
91840
|
function onboardingCreateInvite(client, request, options) {
|
|
92080
|
-
return new APIPromise($
|
|
91841
|
+
return new APIPromise($do100(client, request, options));
|
|
92081
91842
|
}
|
|
92082
|
-
async function $
|
|
91843
|
+
async function $do100(client, request, options) {
|
|
92083
91844
|
const parsed = safeParse4(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92084
91845
|
if (!parsed.ok) {
|
|
92085
91846
|
return [parsed, { status: "invalid" }];
|
|
@@ -92166,12 +91927,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
92166
91927
|
});
|
|
92167
91928
|
|
|
92168
91929
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
92169
|
-
var
|
|
91930
|
+
var args100, tool$onboardingCreateInvite;
|
|
92170
91931
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
92171
91932
|
init_onboardingCreateInvite();
|
|
92172
91933
|
init_components();
|
|
92173
91934
|
init_tools();
|
|
92174
|
-
|
|
91935
|
+
args100 = {
|
|
92175
91936
|
request: OnboardingInviteRequest$inboundSchema
|
|
92176
91937
|
};
|
|
92177
91938
|
tool$onboardingCreateInvite = {
|
|
@@ -92180,9 +91941,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
92180
91941
|
|
|
92181
91942
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92182
91943
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
92183
|
-
args:
|
|
92184
|
-
tool: async (client,
|
|
92185
|
-
const [result, apiCall] = await onboardingCreateInvite(client,
|
|
91944
|
+
args: args100,
|
|
91945
|
+
tool: async (client, args101, ctx) => {
|
|
91946
|
+
const [result, apiCall] = await onboardingCreateInvite(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92186
91947
|
if (!result.ok) {
|
|
92187
91948
|
return {
|
|
92188
91949
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92197,9 +91958,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
92197
91958
|
|
|
92198
91959
|
// src/funcs/onboardingGetInvite.ts
|
|
92199
91960
|
function onboardingGetInvite(client, request, options) {
|
|
92200
|
-
return new APIPromise($
|
|
91961
|
+
return new APIPromise($do101(client, request, options));
|
|
92201
91962
|
}
|
|
92202
|
-
async function $
|
|
91963
|
+
async function $do101(client, request, options) {
|
|
92203
91964
|
const parsed = safeParse4(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92204
91965
|
if (!parsed.ok) {
|
|
92205
91966
|
return [parsed, { status: "invalid" }];
|
|
@@ -92277,12 +92038,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
92277
92038
|
});
|
|
92278
92039
|
|
|
92279
92040
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
92280
|
-
var
|
|
92041
|
+
var args101, tool$onboardingGetInvite;
|
|
92281
92042
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
92282
92043
|
init_onboardingGetInvite();
|
|
92283
92044
|
init_operations();
|
|
92284
92045
|
init_tools();
|
|
92285
|
-
|
|
92046
|
+
args101 = {
|
|
92286
92047
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
92287
92048
|
};
|
|
92288
92049
|
tool$onboardingGetInvite = {
|
|
@@ -92291,9 +92052,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
92291
92052
|
|
|
92292
92053
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92293
92054
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
92294
|
-
args:
|
|
92295
|
-
tool: async (client,
|
|
92296
|
-
const [result, apiCall] = await onboardingGetInvite(client,
|
|
92055
|
+
args: args101,
|
|
92056
|
+
tool: async (client, args102, ctx) => {
|
|
92057
|
+
const [result, apiCall] = await onboardingGetInvite(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92297
92058
|
if (!result.ok) {
|
|
92298
92059
|
return {
|
|
92299
92060
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92308,9 +92069,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
92308
92069
|
|
|
92309
92070
|
// src/funcs/onboardingListInvites.ts
|
|
92310
92071
|
function onboardingListInvites(client, _request, options) {
|
|
92311
|
-
return new APIPromise($
|
|
92072
|
+
return new APIPromise($do102(client, _request, options));
|
|
92312
92073
|
}
|
|
92313
|
-
async function $
|
|
92074
|
+
async function $do102(client, _request, options) {
|
|
92314
92075
|
const path = pathToFunc("/onboarding-invites")();
|
|
92315
92076
|
const headers = new Headers(compactMap({
|
|
92316
92077
|
Accept: "application/json",
|
|
@@ -92374,12 +92135,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
92374
92135
|
});
|
|
92375
92136
|
|
|
92376
92137
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
92377
|
-
var
|
|
92138
|
+
var args102, tool$onboardingListInvites;
|
|
92378
92139
|
var init_onboardingListInvites2 = __esm(() => {
|
|
92379
92140
|
init_onboardingListInvites();
|
|
92380
92141
|
init_operations();
|
|
92381
92142
|
init_tools();
|
|
92382
|
-
|
|
92143
|
+
args102 = {
|
|
92383
92144
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
92384
92145
|
};
|
|
92385
92146
|
tool$onboardingListInvites = {
|
|
@@ -92388,9 +92149,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
92388
92149
|
|
|
92389
92150
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92390
92151
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
92391
|
-
args:
|
|
92392
|
-
tool: async (client,
|
|
92393
|
-
const [result, apiCall] = await onboardingListInvites(client,
|
|
92152
|
+
args: args102,
|
|
92153
|
+
tool: async (client, args103, ctx) => {
|
|
92154
|
+
const [result, apiCall] = await onboardingListInvites(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92394
92155
|
if (!result.ok) {
|
|
92395
92156
|
return {
|
|
92396
92157
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92405,9 +92166,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
92405
92166
|
|
|
92406
92167
|
// src/funcs/onboardingRevokeInvite.ts
|
|
92407
92168
|
function onboardingRevokeInvite(client, request, options) {
|
|
92408
|
-
return new APIPromise($
|
|
92169
|
+
return new APIPromise($do103(client, request, options));
|
|
92409
92170
|
}
|
|
92410
|
-
async function $
|
|
92171
|
+
async function $do103(client, request, options) {
|
|
92411
92172
|
const parsed = safeParse4(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92412
92173
|
if (!parsed.ok) {
|
|
92413
92174
|
return [parsed, { status: "invalid" }];
|
|
@@ -92482,12 +92243,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
92482
92243
|
});
|
|
92483
92244
|
|
|
92484
92245
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
92485
|
-
var
|
|
92246
|
+
var args103, tool$onboardingRevokeInvite;
|
|
92486
92247
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
92487
92248
|
init_onboardingRevokeInvite();
|
|
92488
92249
|
init_operations();
|
|
92489
92250
|
init_tools();
|
|
92490
|
-
|
|
92251
|
+
args103 = {
|
|
92491
92252
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
92492
92253
|
};
|
|
92493
92254
|
tool$onboardingRevokeInvite = {
|
|
@@ -92496,9 +92257,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
92496
92257
|
|
|
92497
92258
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92498
92259
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
92499
|
-
args:
|
|
92500
|
-
tool: async (client,
|
|
92501
|
-
const [result, apiCall] = await onboardingRevokeInvite(client,
|
|
92260
|
+
args: args103,
|
|
92261
|
+
tool: async (client, args104, ctx) => {
|
|
92262
|
+
const [result, apiCall] = await onboardingRevokeInvite(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92502
92263
|
if (!result.ok) {
|
|
92503
92264
|
return {
|
|
92504
92265
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92512,9 +92273,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
92512
92273
|
|
|
92513
92274
|
// src/funcs/paymentLinksCreate.ts
|
|
92514
92275
|
function paymentLinksCreate(client, request, options) {
|
|
92515
|
-
return new APIPromise($
|
|
92276
|
+
return new APIPromise($do104(client, request, options));
|
|
92516
92277
|
}
|
|
92517
|
-
async function $
|
|
92278
|
+
async function $do104(client, request, options) {
|
|
92518
92279
|
const parsed = safeParse4(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92519
92280
|
if (!parsed.ok) {
|
|
92520
92281
|
return [parsed, { status: "invalid" }];
|
|
@@ -92606,12 +92367,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
92606
92367
|
});
|
|
92607
92368
|
|
|
92608
92369
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
92609
|
-
var
|
|
92370
|
+
var args104, tool$paymentLinksCreate;
|
|
92610
92371
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
92611
92372
|
init_paymentLinksCreate();
|
|
92612
92373
|
init_operations();
|
|
92613
92374
|
init_tools();
|
|
92614
|
-
|
|
92375
|
+
args104 = {
|
|
92615
92376
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
92616
92377
|
};
|
|
92617
92378
|
tool$paymentLinksCreate = {
|
|
@@ -92620,9 +92381,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
92620
92381
|
|
|
92621
92382
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92622
92383
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
92623
|
-
args:
|
|
92624
|
-
tool: async (client,
|
|
92625
|
-
const [result, apiCall] = await paymentLinksCreate(client,
|
|
92384
|
+
args: args104,
|
|
92385
|
+
tool: async (client, args105, ctx) => {
|
|
92386
|
+
const [result, apiCall] = await paymentLinksCreate(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92626
92387
|
if (!result.ok) {
|
|
92627
92388
|
return {
|
|
92628
92389
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92637,9 +92398,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
92637
92398
|
|
|
92638
92399
|
// src/funcs/paymentLinksDisable.ts
|
|
92639
92400
|
function paymentLinksDisable(client, request, options) {
|
|
92640
|
-
return new APIPromise($
|
|
92401
|
+
return new APIPromise($do105(client, request, options));
|
|
92641
92402
|
}
|
|
92642
|
-
async function $
|
|
92403
|
+
async function $do105(client, request, options) {
|
|
92643
92404
|
const parsed = safeParse4(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92644
92405
|
if (!parsed.ok) {
|
|
92645
92406
|
return [parsed, { status: "invalid" }];
|
|
@@ -92720,12 +92481,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
92720
92481
|
});
|
|
92721
92482
|
|
|
92722
92483
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
92723
|
-
var
|
|
92484
|
+
var args105, tool$paymentLinksDisable;
|
|
92724
92485
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
92725
92486
|
init_paymentLinksDisable();
|
|
92726
92487
|
init_operations();
|
|
92727
92488
|
init_tools();
|
|
92728
|
-
|
|
92489
|
+
args105 = {
|
|
92729
92490
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
92730
92491
|
};
|
|
92731
92492
|
tool$paymentLinksDisable = {
|
|
@@ -92734,9 +92495,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
92734
92495
|
|
|
92735
92496
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92736
92497
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
92737
|
-
args:
|
|
92738
|
-
tool: async (client,
|
|
92739
|
-
const [result, apiCall] = await paymentLinksDisable(client,
|
|
92498
|
+
args: args105,
|
|
92499
|
+
tool: async (client, args106, ctx) => {
|
|
92500
|
+
const [result, apiCall] = await paymentLinksDisable(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92740
92501
|
if (!result.ok) {
|
|
92741
92502
|
return {
|
|
92742
92503
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92750,9 +92511,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
92750
92511
|
|
|
92751
92512
|
// src/funcs/paymentLinksGet.ts
|
|
92752
92513
|
function paymentLinksGet(client, request, options) {
|
|
92753
|
-
return new APIPromise($
|
|
92514
|
+
return new APIPromise($do106(client, request, options));
|
|
92754
92515
|
}
|
|
92755
|
-
async function $
|
|
92516
|
+
async function $do106(client, request, options) {
|
|
92756
92517
|
const parsed = safeParse4(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92757
92518
|
if (!parsed.ok) {
|
|
92758
92519
|
return [parsed, { status: "invalid" }];
|
|
@@ -92834,12 +92595,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
92834
92595
|
});
|
|
92835
92596
|
|
|
92836
92597
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
92837
|
-
var
|
|
92598
|
+
var args106, tool$paymentLinksGet;
|
|
92838
92599
|
var init_paymentLinksGet2 = __esm(() => {
|
|
92839
92600
|
init_paymentLinksGet();
|
|
92840
92601
|
init_operations();
|
|
92841
92602
|
init_tools();
|
|
92842
|
-
|
|
92603
|
+
args106 = {
|
|
92843
92604
|
request: GetPaymentLinkRequest$inboundSchema
|
|
92844
92605
|
};
|
|
92845
92606
|
tool$paymentLinksGet = {
|
|
@@ -92848,9 +92609,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
92848
92609
|
|
|
92849
92610
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92850
92611
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
92851
|
-
args:
|
|
92852
|
-
tool: async (client,
|
|
92853
|
-
const [result, apiCall] = await paymentLinksGet(client,
|
|
92612
|
+
args: args106,
|
|
92613
|
+
tool: async (client, args107, ctx) => {
|
|
92614
|
+
const [result, apiCall] = await paymentLinksGet(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92854
92615
|
if (!result.ok) {
|
|
92855
92616
|
return {
|
|
92856
92617
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92865,9 +92626,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
92865
92626
|
|
|
92866
92627
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
92867
92628
|
function paymentLinksGetQRCode(client, request, options) {
|
|
92868
|
-
return new APIPromise($
|
|
92629
|
+
return new APIPromise($do107(client, request, options));
|
|
92869
92630
|
}
|
|
92870
|
-
async function $
|
|
92631
|
+
async function $do107(client, request, options) {
|
|
92871
92632
|
const parsed = safeParse4(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92872
92633
|
if (!parsed.ok) {
|
|
92873
92634
|
return [parsed, { status: "invalid" }];
|
|
@@ -92953,12 +92714,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
92953
92714
|
});
|
|
92954
92715
|
|
|
92955
92716
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
92956
|
-
var
|
|
92717
|
+
var args107, tool$paymentLinksGetQRCode;
|
|
92957
92718
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
92958
92719
|
init_paymentLinksGetQRCode();
|
|
92959
92720
|
init_operations();
|
|
92960
92721
|
init_tools();
|
|
92961
|
-
|
|
92722
|
+
args107 = {
|
|
92962
92723
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
92963
92724
|
};
|
|
92964
92725
|
tool$paymentLinksGetQRCode = {
|
|
@@ -92969,9 +92730,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
92969
92730
|
|
|
92970
92731
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92971
92732
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
92972
|
-
args:
|
|
92973
|
-
tool: async (client,
|
|
92974
|
-
const [result, apiCall] = await paymentLinksGetQRCode(client,
|
|
92733
|
+
args: args107,
|
|
92734
|
+
tool: async (client, args108, ctx) => {
|
|
92735
|
+
const [result, apiCall] = await paymentLinksGetQRCode(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92975
92736
|
if (!result.ok) {
|
|
92976
92737
|
return {
|
|
92977
92738
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92986,9 +92747,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
92986
92747
|
|
|
92987
92748
|
// src/funcs/paymentLinksList.ts
|
|
92988
92749
|
function paymentLinksList(client, request, options) {
|
|
92989
|
-
return new APIPromise($
|
|
92750
|
+
return new APIPromise($do108(client, request, options));
|
|
92990
92751
|
}
|
|
92991
|
-
async function $
|
|
92752
|
+
async function $do108(client, request, options) {
|
|
92992
92753
|
const parsed = safeParse4(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92993
92754
|
if (!parsed.ok) {
|
|
92994
92755
|
return [parsed, { status: "invalid" }];
|
|
@@ -93073,12 +92834,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
93073
92834
|
});
|
|
93074
92835
|
|
|
93075
92836
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
93076
|
-
var
|
|
92837
|
+
var args108, tool$paymentLinksList;
|
|
93077
92838
|
var init_paymentLinksList2 = __esm(() => {
|
|
93078
92839
|
init_paymentLinksList();
|
|
93079
92840
|
init_operations();
|
|
93080
92841
|
init_tools();
|
|
93081
|
-
|
|
92842
|
+
args108 = {
|
|
93082
92843
|
request: ListPaymentLinksRequest$inboundSchema
|
|
93083
92844
|
};
|
|
93084
92845
|
tool$paymentLinksList = {
|
|
@@ -93087,9 +92848,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
93087
92848
|
|
|
93088
92849
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93089
92850
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
93090
|
-
args:
|
|
93091
|
-
tool: async (client,
|
|
93092
|
-
const [result, apiCall] = await paymentLinksList(client,
|
|
92851
|
+
args: args108,
|
|
92852
|
+
tool: async (client, args109, ctx) => {
|
|
92853
|
+
const [result, apiCall] = await paymentLinksList(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93093
92854
|
if (!result.ok) {
|
|
93094
92855
|
return {
|
|
93095
92856
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93104,9 +92865,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
93104
92865
|
|
|
93105
92866
|
// src/funcs/paymentLinksUpdate.ts
|
|
93106
92867
|
function paymentLinksUpdate(client, request, options) {
|
|
93107
|
-
return new APIPromise($
|
|
92868
|
+
return new APIPromise($do109(client, request, options));
|
|
93108
92869
|
}
|
|
93109
|
-
async function $
|
|
92870
|
+
async function $do109(client, request, options) {
|
|
93110
92871
|
const parsed = safeParse4(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93111
92872
|
if (!parsed.ok) {
|
|
93112
92873
|
return [parsed, { status: "invalid" }];
|
|
@@ -93202,12 +92963,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
93202
92963
|
});
|
|
93203
92964
|
|
|
93204
92965
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
93205
|
-
var
|
|
92966
|
+
var args109, tool$paymentLinksUpdate;
|
|
93206
92967
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
93207
92968
|
init_paymentLinksUpdate();
|
|
93208
92969
|
init_operations();
|
|
93209
92970
|
init_tools();
|
|
93210
|
-
|
|
92971
|
+
args109 = {
|
|
93211
92972
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
93212
92973
|
};
|
|
93213
92974
|
tool$paymentLinksUpdate = {
|
|
@@ -93216,9 +92977,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
93216
92977
|
|
|
93217
92978
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93218
92979
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
93219
|
-
args:
|
|
93220
|
-
tool: async (client,
|
|
93221
|
-
const [result, apiCall] = await paymentLinksUpdate(client,
|
|
92980
|
+
args: args109,
|
|
92981
|
+
tool: async (client, args110, ctx) => {
|
|
92982
|
+
const [result, apiCall] = await paymentLinksUpdate(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93222
92983
|
if (!result.ok) {
|
|
93223
92984
|
return {
|
|
93224
92985
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93233,9 +92994,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
93233
92994
|
|
|
93234
92995
|
// src/funcs/paymentMethodsGet.ts
|
|
93235
92996
|
function paymentMethodsGet(client, request, options) {
|
|
93236
|
-
return new APIPromise($
|
|
92997
|
+
return new APIPromise($do110(client, request, options));
|
|
93237
92998
|
}
|
|
93238
|
-
async function $
|
|
92999
|
+
async function $do110(client, request, options) {
|
|
93239
93000
|
const parsed = safeParse4(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93240
93001
|
if (!parsed.ok) {
|
|
93241
93002
|
return [parsed, { status: "invalid" }];
|
|
@@ -93317,12 +93078,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
93317
93078
|
});
|
|
93318
93079
|
|
|
93319
93080
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
93320
|
-
var
|
|
93081
|
+
var args110, tool$paymentMethodsGet;
|
|
93321
93082
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
93322
93083
|
init_paymentMethodsGet();
|
|
93323
93084
|
init_operations();
|
|
93324
93085
|
init_tools();
|
|
93325
|
-
|
|
93086
|
+
args110 = {
|
|
93326
93087
|
request: GetPaymentMethodRequest$inboundSchema
|
|
93327
93088
|
};
|
|
93328
93089
|
tool$paymentMethodsGet = {
|
|
@@ -93331,9 +93092,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
93331
93092
|
|
|
93332
93093
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93333
93094
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
93334
|
-
args:
|
|
93335
|
-
tool: async (client,
|
|
93336
|
-
const [result, apiCall] = await paymentMethodsGet(client,
|
|
93095
|
+
args: args110,
|
|
93096
|
+
tool: async (client, args111, ctx) => {
|
|
93097
|
+
const [result, apiCall] = await paymentMethodsGet(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93337
93098
|
if (!result.ok) {
|
|
93338
93099
|
return {
|
|
93339
93100
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93348,9 +93109,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
93348
93109
|
|
|
93349
93110
|
// src/funcs/paymentMethodsList.ts
|
|
93350
93111
|
function paymentMethodsList(client, request, options) {
|
|
93351
|
-
return new APIPromise($
|
|
93112
|
+
return new APIPromise($do111(client, request, options));
|
|
93352
93113
|
}
|
|
93353
|
-
async function $
|
|
93114
|
+
async function $do111(client, request, options) {
|
|
93354
93115
|
const parsed = safeParse4(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93355
93116
|
if (!parsed.ok) {
|
|
93356
93117
|
return [parsed, { status: "invalid" }];
|
|
@@ -93433,12 +93194,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
93433
93194
|
});
|
|
93434
93195
|
|
|
93435
93196
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
93436
|
-
var
|
|
93197
|
+
var args111, tool$paymentMethodsList;
|
|
93437
93198
|
var init_paymentMethodsList2 = __esm(() => {
|
|
93438
93199
|
init_paymentMethodsList();
|
|
93439
93200
|
init_operations();
|
|
93440
93201
|
init_tools();
|
|
93441
|
-
|
|
93202
|
+
args111 = {
|
|
93442
93203
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
93443
93204
|
};
|
|
93444
93205
|
tool$paymentMethodsList = {
|
|
@@ -93448,9 +93209,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
93448
93209
|
|
|
93449
93210
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93450
93211
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
93451
|
-
args:
|
|
93452
|
-
tool: async (client,
|
|
93453
|
-
const [result, apiCall] = await paymentMethodsList(client,
|
|
93212
|
+
args: args111,
|
|
93213
|
+
tool: async (client, args112, ctx) => {
|
|
93214
|
+
const [result, apiCall] = await paymentMethodsList(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93454
93215
|
if (!result.ok) {
|
|
93455
93216
|
return {
|
|
93456
93217
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93465,9 +93226,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
93465
93226
|
|
|
93466
93227
|
// src/funcs/pingPing.ts
|
|
93467
93228
|
function pingPing(client, _request, options) {
|
|
93468
|
-
return new APIPromise($
|
|
93229
|
+
return new APIPromise($do112(client, _request, options));
|
|
93469
93230
|
}
|
|
93470
|
-
async function $
|
|
93231
|
+
async function $do112(client, _request, options) {
|
|
93471
93232
|
const path = pathToFunc("/ping")();
|
|
93472
93233
|
const headers = new Headers(compactMap({
|
|
93473
93234
|
Accept: "*/*",
|
|
@@ -93530,12 +93291,12 @@ var init_pingPing = __esm(() => {
|
|
|
93530
93291
|
});
|
|
93531
93292
|
|
|
93532
93293
|
// src/mcp-server/tools/pingPing.ts
|
|
93533
|
-
var
|
|
93294
|
+
var args112, tool$pingPing;
|
|
93534
93295
|
var init_pingPing2 = __esm(() => {
|
|
93535
93296
|
init_pingPing();
|
|
93536
93297
|
init_operations();
|
|
93537
93298
|
init_tools();
|
|
93538
|
-
|
|
93299
|
+
args112 = {
|
|
93539
93300
|
request: PingRequest$inboundSchema
|
|
93540
93301
|
};
|
|
93541
93302
|
tool$pingPing = {
|
|
@@ -93544,9 +93305,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
93544
93305
|
|
|
93545
93306
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93546
93307
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
93547
|
-
args:
|
|
93548
|
-
tool: async (client,
|
|
93549
|
-
const [result, apiCall] = await pingPing(client,
|
|
93308
|
+
args: args112,
|
|
93309
|
+
tool: async (client, args113, ctx) => {
|
|
93310
|
+
const [result, apiCall] = await pingPing(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93550
93311
|
if (!result.ok) {
|
|
93551
93312
|
return {
|
|
93552
93313
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93560,9 +93321,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
93560
93321
|
|
|
93561
93322
|
// src/funcs/productsCreate.ts
|
|
93562
93323
|
function productsCreate(client, request, options) {
|
|
93563
|
-
return new APIPromise($
|
|
93324
|
+
return new APIPromise($do113(client, request, options));
|
|
93564
93325
|
}
|
|
93565
|
-
async function $
|
|
93326
|
+
async function $do113(client, request, options) {
|
|
93566
93327
|
const parsed = safeParse4(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93567
93328
|
if (!parsed.ok) {
|
|
93568
93329
|
return [parsed, { status: "invalid" }];
|
|
@@ -93656,20 +93417,20 @@ var init_productsCreate = __esm(() => {
|
|
|
93656
93417
|
});
|
|
93657
93418
|
|
|
93658
93419
|
// src/mcp-server/tools/productsCreate.ts
|
|
93659
|
-
var
|
|
93420
|
+
var args113, tool$productsCreate;
|
|
93660
93421
|
var init_productsCreate2 = __esm(() => {
|
|
93661
93422
|
init_productsCreate();
|
|
93662
93423
|
init_operations();
|
|
93663
93424
|
init_tools();
|
|
93664
|
-
|
|
93425
|
+
args113 = {
|
|
93665
93426
|
request: CreateProductRequest$inboundSchema
|
|
93666
93427
|
};
|
|
93667
93428
|
tool$productsCreate = {
|
|
93668
93429
|
name: "products-create",
|
|
93669
93430
|
description: `Creates a new product for the specified account.`,
|
|
93670
|
-
args:
|
|
93671
|
-
tool: async (client,
|
|
93672
|
-
const [result, apiCall] = await productsCreate(client,
|
|
93431
|
+
args: args113,
|
|
93432
|
+
tool: async (client, args114, ctx) => {
|
|
93433
|
+
const [result, apiCall] = await productsCreate(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93673
93434
|
if (!result.ok) {
|
|
93674
93435
|
return {
|
|
93675
93436
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93684,9 +93445,9 @@ var init_productsCreate2 = __esm(() => {
|
|
|
93684
93445
|
|
|
93685
93446
|
// src/funcs/productsDisable.ts
|
|
93686
93447
|
function productsDisable(client, request, options) {
|
|
93687
|
-
return new APIPromise($
|
|
93448
|
+
return new APIPromise($do114(client, request, options));
|
|
93688
93449
|
}
|
|
93689
|
-
async function $
|
|
93450
|
+
async function $do114(client, request, options) {
|
|
93690
93451
|
const parsed = safeParse4(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93691
93452
|
if (!parsed.ok) {
|
|
93692
93453
|
return [parsed, { status: "invalid" }];
|
|
@@ -93779,12 +93540,12 @@ var init_productsDisable = __esm(() => {
|
|
|
93779
93540
|
});
|
|
93780
93541
|
|
|
93781
93542
|
// src/mcp-server/tools/productsDisable.ts
|
|
93782
|
-
var
|
|
93543
|
+
var args114, tool$productsDisable;
|
|
93783
93544
|
var init_productsDisable2 = __esm(() => {
|
|
93784
93545
|
init_productsDisable();
|
|
93785
93546
|
init_operations();
|
|
93786
93547
|
init_tools();
|
|
93787
|
-
|
|
93548
|
+
args114 = {
|
|
93788
93549
|
request: DisableProductRequest$inboundSchema
|
|
93789
93550
|
};
|
|
93790
93551
|
tool$productsDisable = {
|
|
@@ -93792,9 +93553,9 @@ var init_productsDisable2 = __esm(() => {
|
|
|
93792
93553
|
description: `Disable a product by ID.
|
|
93793
93554
|
|
|
93794
93555
|
The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
|
|
93795
|
-
args:
|
|
93796
|
-
tool: async (client,
|
|
93797
|
-
const [result, apiCall] = await productsDisable(client,
|
|
93556
|
+
args: args114,
|
|
93557
|
+
tool: async (client, args115, ctx) => {
|
|
93558
|
+
const [result, apiCall] = await productsDisable(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93798
93559
|
if (!result.ok) {
|
|
93799
93560
|
return {
|
|
93800
93561
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93808,9 +93569,9 @@ The product will no longer be available, but will remain in the system for histo
|
|
|
93808
93569
|
|
|
93809
93570
|
// src/funcs/productsGet.ts
|
|
93810
93571
|
function productsGet(client, request, options) {
|
|
93811
|
-
return new APIPromise($
|
|
93572
|
+
return new APIPromise($do115(client, request, options));
|
|
93812
93573
|
}
|
|
93813
|
-
async function $
|
|
93574
|
+
async function $do115(client, request, options) {
|
|
93814
93575
|
const parsed = safeParse4(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93815
93576
|
if (!parsed.ok) {
|
|
93816
93577
|
return [parsed, { status: "invalid" }];
|
|
@@ -93892,20 +93653,20 @@ var init_productsGet = __esm(() => {
|
|
|
93892
93653
|
});
|
|
93893
93654
|
|
|
93894
93655
|
// src/mcp-server/tools/productsGet.ts
|
|
93895
|
-
var
|
|
93656
|
+
var args115, tool$productsGet;
|
|
93896
93657
|
var init_productsGet2 = __esm(() => {
|
|
93897
93658
|
init_productsGet();
|
|
93898
93659
|
init_operations();
|
|
93899
93660
|
init_tools();
|
|
93900
|
-
|
|
93661
|
+
args115 = {
|
|
93901
93662
|
request: GetProductRequest$inboundSchema
|
|
93902
93663
|
};
|
|
93903
93664
|
tool$productsGet = {
|
|
93904
93665
|
name: "products-get",
|
|
93905
93666
|
description: `Retrieve a product by ID.`,
|
|
93906
|
-
args:
|
|
93907
|
-
tool: async (client,
|
|
93908
|
-
const [result, apiCall] = await productsGet(client,
|
|
93667
|
+
args: args115,
|
|
93668
|
+
tool: async (client, args116, ctx) => {
|
|
93669
|
+
const [result, apiCall] = await productsGet(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93909
93670
|
if (!result.ok) {
|
|
93910
93671
|
return {
|
|
93911
93672
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93920,9 +93681,9 @@ var init_productsGet2 = __esm(() => {
|
|
|
93920
93681
|
|
|
93921
93682
|
// src/funcs/productsList.ts
|
|
93922
93683
|
function productsList(client, request, options) {
|
|
93923
|
-
return new APIPromise($
|
|
93684
|
+
return new APIPromise($do116(client, request, options));
|
|
93924
93685
|
}
|
|
93925
|
-
async function $
|
|
93686
|
+
async function $do116(client, request, options) {
|
|
93926
93687
|
const parsed = safeParse4(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93927
93688
|
if (!parsed.ok) {
|
|
93928
93689
|
return [parsed, { status: "invalid" }];
|
|
@@ -94005,20 +93766,20 @@ var init_productsList = __esm(() => {
|
|
|
94005
93766
|
});
|
|
94006
93767
|
|
|
94007
93768
|
// src/mcp-server/tools/productsList.ts
|
|
94008
|
-
var
|
|
93769
|
+
var args116, tool$productsList;
|
|
94009
93770
|
var init_productsList2 = __esm(() => {
|
|
94010
93771
|
init_productsList();
|
|
94011
93772
|
init_operations();
|
|
94012
93773
|
init_tools();
|
|
94013
|
-
|
|
93774
|
+
args116 = {
|
|
94014
93775
|
request: ListProductsRequest$inboundSchema
|
|
94015
93776
|
};
|
|
94016
93777
|
tool$productsList = {
|
|
94017
93778
|
name: "products-list",
|
|
94018
93779
|
description: `List active (non-disabled) products for an account.`,
|
|
94019
|
-
args:
|
|
94020
|
-
tool: async (client,
|
|
94021
|
-
const [result, apiCall] = await productsList(client,
|
|
93780
|
+
args: args116,
|
|
93781
|
+
tool: async (client, args117, ctx) => {
|
|
93782
|
+
const [result, apiCall] = await productsList(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94022
93783
|
if (!result.ok) {
|
|
94023
93784
|
return {
|
|
94024
93785
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94033,9 +93794,9 @@ var init_productsList2 = __esm(() => {
|
|
|
94033
93794
|
|
|
94034
93795
|
// src/funcs/productsUpdate.ts
|
|
94035
93796
|
function productsUpdate(client, request, options) {
|
|
94036
|
-
return new APIPromise($
|
|
93797
|
+
return new APIPromise($do117(client, request, options));
|
|
94037
93798
|
}
|
|
94038
|
-
async function $
|
|
93799
|
+
async function $do117(client, request, options) {
|
|
94039
93800
|
const parsed = safeParse4(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94040
93801
|
if (!parsed.ok) {
|
|
94041
93802
|
return [parsed, { status: "invalid" }];
|
|
@@ -94133,20 +93894,20 @@ var init_productsUpdate = __esm(() => {
|
|
|
94133
93894
|
});
|
|
94134
93895
|
|
|
94135
93896
|
// src/mcp-server/tools/productsUpdate.ts
|
|
94136
|
-
var
|
|
93897
|
+
var args117, tool$productsUpdate;
|
|
94137
93898
|
var init_productsUpdate2 = __esm(() => {
|
|
94138
93899
|
init_productsUpdate();
|
|
94139
93900
|
init_operations();
|
|
94140
93901
|
init_tools();
|
|
94141
|
-
|
|
93902
|
+
args117 = {
|
|
94142
93903
|
request: UpdateProductRequest$inboundSchema
|
|
94143
93904
|
};
|
|
94144
93905
|
tool$productsUpdate = {
|
|
94145
93906
|
name: "products-update",
|
|
94146
93907
|
description: `Update a product and its options.`,
|
|
94147
|
-
args:
|
|
94148
|
-
tool: async (client,
|
|
94149
|
-
const [result, apiCall] = await productsUpdate(client,
|
|
93908
|
+
args: args117,
|
|
93909
|
+
tool: async (client, args118, ctx) => {
|
|
93910
|
+
const [result, apiCall] = await productsUpdate(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94150
93911
|
if (!result.ok) {
|
|
94151
93912
|
return {
|
|
94152
93913
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94161,9 +93922,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
94161
93922
|
|
|
94162
93923
|
// src/funcs/receiptsCreate.ts
|
|
94163
93924
|
function receiptsCreate(client, request, options) {
|
|
94164
|
-
return new APIPromise($
|
|
93925
|
+
return new APIPromise($do118(client, request, options));
|
|
94165
93926
|
}
|
|
94166
|
-
async function $
|
|
93927
|
+
async function $do118(client, request, options) {
|
|
94167
93928
|
const parsed = safeParse4(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
94168
93929
|
if (!parsed.ok) {
|
|
94169
93930
|
return [parsed, { status: "invalid" }];
|
|
@@ -94251,13 +94012,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
94251
94012
|
});
|
|
94252
94013
|
|
|
94253
94014
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
94254
|
-
var
|
|
94015
|
+
var args118, tool$receiptsCreate;
|
|
94255
94016
|
var init_receiptsCreate2 = __esm(() => {
|
|
94256
94017
|
init_esm();
|
|
94257
94018
|
init_receiptsCreate();
|
|
94258
94019
|
init_components();
|
|
94259
94020
|
init_tools();
|
|
94260
|
-
|
|
94021
|
+
args118 = {
|
|
94261
94022
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
94262
94023
|
};
|
|
94263
94024
|
tool$receiptsCreate = {
|
|
@@ -94266,9 +94027,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
94266
94027
|
|
|
94267
94028
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94268
94029
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
94269
|
-
args:
|
|
94270
|
-
tool: async (client,
|
|
94271
|
-
const [result, apiCall] = await receiptsCreate(client,
|
|
94030
|
+
args: args118,
|
|
94031
|
+
tool: async (client, args119, ctx) => {
|
|
94032
|
+
const [result, apiCall] = await receiptsCreate(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94272
94033
|
if (!result.ok) {
|
|
94273
94034
|
return {
|
|
94274
94035
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94283,9 +94044,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
94283
94044
|
|
|
94284
94045
|
// src/funcs/receiptsList.ts
|
|
94285
94046
|
function receiptsList(client, request, options) {
|
|
94286
|
-
return new APIPromise($
|
|
94047
|
+
return new APIPromise($do119(client, request, options));
|
|
94287
94048
|
}
|
|
94288
|
-
async function $
|
|
94049
|
+
async function $do119(client, request, options) {
|
|
94289
94050
|
const parsed = safeParse4(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94290
94051
|
if (!parsed.ok) {
|
|
94291
94052
|
return [parsed, { status: "invalid" }];
|
|
@@ -94361,12 +94122,12 @@ var init_receiptsList = __esm(() => {
|
|
|
94361
94122
|
});
|
|
94362
94123
|
|
|
94363
94124
|
// src/mcp-server/tools/receiptsList.ts
|
|
94364
|
-
var
|
|
94125
|
+
var args119, tool$receiptsList;
|
|
94365
94126
|
var init_receiptsList2 = __esm(() => {
|
|
94366
94127
|
init_receiptsList();
|
|
94367
94128
|
init_operations();
|
|
94368
94129
|
init_tools();
|
|
94369
|
-
|
|
94130
|
+
args119 = {
|
|
94370
94131
|
request: ListReceiptsRequest$inboundSchema
|
|
94371
94132
|
};
|
|
94372
94133
|
tool$receiptsList = {
|
|
@@ -94375,9 +94136,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
94375
94136
|
|
|
94376
94137
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94377
94138
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
94378
|
-
args:
|
|
94379
|
-
tool: async (client,
|
|
94380
|
-
const [result, apiCall] = await receiptsList(client,
|
|
94139
|
+
args: args119,
|
|
94140
|
+
tool: async (client, args120, ctx) => {
|
|
94141
|
+
const [result, apiCall] = await receiptsList(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94381
94142
|
if (!result.ok) {
|
|
94382
94143
|
return {
|
|
94383
94144
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94392,9 +94153,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
94392
94153
|
|
|
94393
94154
|
// src/funcs/representativesCreate.ts
|
|
94394
94155
|
function representativesCreate(client, request, options) {
|
|
94395
|
-
return new APIPromise($
|
|
94156
|
+
return new APIPromise($do120(client, request, options));
|
|
94396
94157
|
}
|
|
94397
|
-
async function $
|
|
94158
|
+
async function $do120(client, request, options) {
|
|
94398
94159
|
const parsed = safeParse4(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94399
94160
|
if (!parsed.ok) {
|
|
94400
94161
|
return [parsed, { status: "invalid" }];
|
|
@@ -94490,12 +94251,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
94490
94251
|
});
|
|
94491
94252
|
|
|
94492
94253
|
// src/mcp-server/tools/representativesCreate.ts
|
|
94493
|
-
var
|
|
94254
|
+
var args120, tool$representativesCreate;
|
|
94494
94255
|
var init_representativesCreate2 = __esm(() => {
|
|
94495
94256
|
init_representativesCreate();
|
|
94496
94257
|
init_operations();
|
|
94497
94258
|
init_tools();
|
|
94498
|
-
|
|
94259
|
+
args120 = {
|
|
94499
94260
|
request: CreateRepresentativeRequest$inboundSchema
|
|
94500
94261
|
};
|
|
94501
94262
|
tool$representativesCreate = {
|
|
@@ -94506,9 +94267,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
94506
94267
|
|
|
94507
94268
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94508
94269
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
94509
|
-
args:
|
|
94510
|
-
tool: async (client,
|
|
94511
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
94270
|
+
args: args120,
|
|
94271
|
+
tool: async (client, args121, ctx) => {
|
|
94272
|
+
const [result, apiCall] = await representativesCreate(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94512
94273
|
if (!result.ok) {
|
|
94513
94274
|
return {
|
|
94514
94275
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94523,9 +94284,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
94523
94284
|
|
|
94524
94285
|
// src/funcs/representativesDelete.ts
|
|
94525
94286
|
function representativesDelete(client, request, options) {
|
|
94526
|
-
return new APIPromise($
|
|
94287
|
+
return new APIPromise($do121(client, request, options));
|
|
94527
94288
|
}
|
|
94528
|
-
async function $
|
|
94289
|
+
async function $do121(client, request, options) {
|
|
94529
94290
|
const parsed = safeParse4(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94530
94291
|
if (!parsed.ok) {
|
|
94531
94292
|
return [parsed, { status: "invalid" }];
|
|
@@ -94613,12 +94374,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
94613
94374
|
});
|
|
94614
94375
|
|
|
94615
94376
|
// src/mcp-server/tools/representativesDelete.ts
|
|
94616
|
-
var
|
|
94377
|
+
var args121, tool$representativesDelete;
|
|
94617
94378
|
var init_representativesDelete2 = __esm(() => {
|
|
94618
94379
|
init_representativesDelete();
|
|
94619
94380
|
init_operations();
|
|
94620
94381
|
init_tools();
|
|
94621
|
-
|
|
94382
|
+
args121 = {
|
|
94622
94383
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
94623
94384
|
};
|
|
94624
94385
|
tool$representativesDelete = {
|
|
@@ -94627,9 +94388,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
94627
94388
|
|
|
94628
94389
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94629
94390
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
94630
|
-
args:
|
|
94631
|
-
tool: async (client,
|
|
94632
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
94391
|
+
args: args121,
|
|
94392
|
+
tool: async (client, args122, ctx) => {
|
|
94393
|
+
const [result, apiCall] = await representativesDelete(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94633
94394
|
if (!result.ok) {
|
|
94634
94395
|
return {
|
|
94635
94396
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94643,9 +94404,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
94643
94404
|
|
|
94644
94405
|
// src/funcs/representativesGet.ts
|
|
94645
94406
|
function representativesGet(client, request, options) {
|
|
94646
|
-
return new APIPromise($
|
|
94407
|
+
return new APIPromise($do122(client, request, options));
|
|
94647
94408
|
}
|
|
94648
|
-
async function $
|
|
94409
|
+
async function $do122(client, request, options) {
|
|
94649
94410
|
const parsed = safeParse4(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94650
94411
|
if (!parsed.ok) {
|
|
94651
94412
|
return [parsed, { status: "invalid" }];
|
|
@@ -94724,12 +94485,12 @@ var init_representativesGet = __esm(() => {
|
|
|
94724
94485
|
});
|
|
94725
94486
|
|
|
94726
94487
|
// src/mcp-server/tools/representativesGet.ts
|
|
94727
|
-
var
|
|
94488
|
+
var args122, tool$representativesGet;
|
|
94728
94489
|
var init_representativesGet2 = __esm(() => {
|
|
94729
94490
|
init_representativesGet();
|
|
94730
94491
|
init_operations();
|
|
94731
94492
|
init_tools();
|
|
94732
|
-
|
|
94493
|
+
args122 = {
|
|
94733
94494
|
request: GetRepresentativeRequest$inboundSchema
|
|
94734
94495
|
};
|
|
94735
94496
|
tool$representativesGet = {
|
|
@@ -94738,9 +94499,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
94738
94499
|
|
|
94739
94500
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94740
94501
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
94741
|
-
args:
|
|
94742
|
-
tool: async (client,
|
|
94743
|
-
const [result, apiCall] = await representativesGet(client,
|
|
94502
|
+
args: args122,
|
|
94503
|
+
tool: async (client, args123, ctx) => {
|
|
94504
|
+
const [result, apiCall] = await representativesGet(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94744
94505
|
if (!result.ok) {
|
|
94745
94506
|
return {
|
|
94746
94507
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94755,9 +94516,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
94755
94516
|
|
|
94756
94517
|
// src/funcs/representativesList.ts
|
|
94757
94518
|
function representativesList(client, request, options) {
|
|
94758
|
-
return new APIPromise($
|
|
94519
|
+
return new APIPromise($do123(client, request, options));
|
|
94759
94520
|
}
|
|
94760
|
-
async function $
|
|
94521
|
+
async function $do123(client, request, options) {
|
|
94761
94522
|
const parsed = safeParse4(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94762
94523
|
if (!parsed.ok) {
|
|
94763
94524
|
return [parsed, { status: "invalid" }];
|
|
@@ -94835,12 +94596,12 @@ var init_representativesList = __esm(() => {
|
|
|
94835
94596
|
});
|
|
94836
94597
|
|
|
94837
94598
|
// src/mcp-server/tools/representativesList.ts
|
|
94838
|
-
var
|
|
94599
|
+
var args123, tool$representativesList;
|
|
94839
94600
|
var init_representativesList2 = __esm(() => {
|
|
94840
94601
|
init_representativesList();
|
|
94841
94602
|
init_operations();
|
|
94842
94603
|
init_tools();
|
|
94843
|
-
|
|
94604
|
+
args123 = {
|
|
94844
94605
|
request: ListRepresentativesRequest$inboundSchema
|
|
94845
94606
|
};
|
|
94846
94607
|
tool$representativesList = {
|
|
@@ -94852,9 +94613,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
94852
94613
|
|
|
94853
94614
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94854
94615
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
94855
|
-
args:
|
|
94856
|
-
tool: async (client,
|
|
94857
|
-
const [result, apiCall] = await representativesList(client,
|
|
94616
|
+
args: args123,
|
|
94617
|
+
tool: async (client, args124, ctx) => {
|
|
94618
|
+
const [result, apiCall] = await representativesList(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94858
94619
|
if (!result.ok) {
|
|
94859
94620
|
return {
|
|
94860
94621
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94869,9 +94630,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
94869
94630
|
|
|
94870
94631
|
// src/funcs/representativesUpdate.ts
|
|
94871
94632
|
function representativesUpdate(client, request, options) {
|
|
94872
|
-
return new APIPromise($
|
|
94633
|
+
return new APIPromise($do124(client, request, options));
|
|
94873
94634
|
}
|
|
94874
|
-
async function $
|
|
94635
|
+
async function $do124(client, request, options) {
|
|
94875
94636
|
const parsed = safeParse4(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94876
94637
|
if (!parsed.ok) {
|
|
94877
94638
|
return [parsed, { status: "invalid" }];
|
|
@@ -94965,12 +94726,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
94965
94726
|
});
|
|
94966
94727
|
|
|
94967
94728
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
94968
|
-
var
|
|
94729
|
+
var args124, tool$representativesUpdate;
|
|
94969
94730
|
var init_representativesUpdate2 = __esm(() => {
|
|
94970
94731
|
init_representativesUpdate();
|
|
94971
94732
|
init_operations();
|
|
94972
94733
|
init_tools();
|
|
94973
|
-
|
|
94734
|
+
args124 = {
|
|
94974
94735
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
94975
94736
|
};
|
|
94976
94737
|
tool$representativesUpdate = {
|
|
@@ -94992,9 +94753,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
94992
94753
|
|
|
94993
94754
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94994
94755
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
94995
|
-
args:
|
|
94996
|
-
tool: async (client,
|
|
94997
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
94756
|
+
args: args124,
|
|
94757
|
+
tool: async (client, args125, ctx) => {
|
|
94758
|
+
const [result, apiCall] = await representativesUpdate(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94998
94759
|
if (!result.ok) {
|
|
94999
94760
|
return {
|
|
95000
94761
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95009,9 +94770,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
95009
94770
|
|
|
95010
94771
|
// src/funcs/schedulingCancel.ts
|
|
95011
94772
|
function schedulingCancel(client, request, options) {
|
|
95012
|
-
return new APIPromise($
|
|
94773
|
+
return new APIPromise($do125(client, request, options));
|
|
95013
94774
|
}
|
|
95014
|
-
async function $
|
|
94775
|
+
async function $do125(client, request, options) {
|
|
95015
94776
|
const parsed = safeParse4(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95016
94777
|
if (!parsed.ok) {
|
|
95017
94778
|
return [parsed, { status: "invalid" }];
|
|
@@ -95104,12 +94865,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
95104
94865
|
});
|
|
95105
94866
|
|
|
95106
94867
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
95107
|
-
var
|
|
94868
|
+
var args125, tool$schedulingCancel;
|
|
95108
94869
|
var init_schedulingCancel2 = __esm(() => {
|
|
95109
94870
|
init_schedulingCancel();
|
|
95110
94871
|
init_operations();
|
|
95111
94872
|
init_tools();
|
|
95112
|
-
|
|
94873
|
+
args125 = {
|
|
95113
94874
|
request: CancelScheduleRequest$inboundSchema
|
|
95114
94875
|
};
|
|
95115
94876
|
tool$schedulingCancel = {
|
|
@@ -95118,9 +94879,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
95118
94879
|
|
|
95119
94880
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95120
94881
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95121
|
-
args:
|
|
95122
|
-
tool: async (client,
|
|
95123
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
94882
|
+
args: args125,
|
|
94883
|
+
tool: async (client, args126, ctx) => {
|
|
94884
|
+
const [result, apiCall] = await schedulingCancel(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95124
94885
|
if (!result.ok) {
|
|
95125
94886
|
return {
|
|
95126
94887
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95134,9 +94895,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95134
94895
|
|
|
95135
94896
|
// src/funcs/schedulingCreate.ts
|
|
95136
94897
|
function schedulingCreate(client, request, options) {
|
|
95137
|
-
return new APIPromise($
|
|
94898
|
+
return new APIPromise($do126(client, request, options));
|
|
95138
94899
|
}
|
|
95139
|
-
async function $
|
|
94900
|
+
async function $do126(client, request, options) {
|
|
95140
94901
|
const parsed = safeParse4(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95141
94902
|
if (!parsed.ok) {
|
|
95142
94903
|
return [parsed, { status: "invalid" }];
|
|
@@ -95230,12 +94991,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
95230
94991
|
});
|
|
95231
94992
|
|
|
95232
94993
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
95233
|
-
var
|
|
94994
|
+
var args126, tool$schedulingCreate;
|
|
95234
94995
|
var init_schedulingCreate2 = __esm(() => {
|
|
95235
94996
|
init_schedulingCreate();
|
|
95236
94997
|
init_operations();
|
|
95237
94998
|
init_tools();
|
|
95238
|
-
|
|
94999
|
+
args126 = {
|
|
95239
95000
|
request: CreateScheduleRequest$inboundSchema
|
|
95240
95001
|
};
|
|
95241
95002
|
tool$schedulingCreate = {
|
|
@@ -95244,9 +95005,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
95244
95005
|
|
|
95245
95006
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95246
95007
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95247
|
-
args:
|
|
95248
|
-
tool: async (client,
|
|
95249
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
95008
|
+
args: args126,
|
|
95009
|
+
tool: async (client, args127, ctx) => {
|
|
95010
|
+
const [result, apiCall] = await schedulingCreate(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95250
95011
|
if (!result.ok) {
|
|
95251
95012
|
return {
|
|
95252
95013
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95261,9 +95022,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95261
95022
|
|
|
95262
95023
|
// src/funcs/schedulingGet.ts
|
|
95263
95024
|
function schedulingGet(client, request, options) {
|
|
95264
|
-
return new APIPromise($
|
|
95025
|
+
return new APIPromise($do127(client, request, options));
|
|
95265
95026
|
}
|
|
95266
|
-
async function $
|
|
95027
|
+
async function $do127(client, request, options) {
|
|
95267
95028
|
const parsed = safeParse4(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95268
95029
|
if (!parsed.ok) {
|
|
95269
95030
|
return [parsed, { status: "invalid" }];
|
|
@@ -95345,12 +95106,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
95345
95106
|
});
|
|
95346
95107
|
|
|
95347
95108
|
// src/mcp-server/tools/schedulingGet.ts
|
|
95348
|
-
var
|
|
95109
|
+
var args127, tool$schedulingGet;
|
|
95349
95110
|
var init_schedulingGet2 = __esm(() => {
|
|
95350
95111
|
init_schedulingGet();
|
|
95351
95112
|
init_operations();
|
|
95352
95113
|
init_tools();
|
|
95353
|
-
|
|
95114
|
+
args127 = {
|
|
95354
95115
|
request: GetSchedulesRequest$inboundSchema
|
|
95355
95116
|
};
|
|
95356
95117
|
tool$schedulingGet = {
|
|
@@ -95359,9 +95120,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
95359
95120
|
|
|
95360
95121
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95361
95122
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95362
|
-
args:
|
|
95363
|
-
tool: async (client,
|
|
95364
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
95123
|
+
args: args127,
|
|
95124
|
+
tool: async (client, args128, ctx) => {
|
|
95125
|
+
const [result, apiCall] = await schedulingGet(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95365
95126
|
if (!result.ok) {
|
|
95366
95127
|
return {
|
|
95367
95128
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95376,9 +95137,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
95376
95137
|
|
|
95377
95138
|
// src/funcs/schedulingGetOccurrance.ts
|
|
95378
95139
|
function schedulingGetOccurrance(client, request, options) {
|
|
95379
|
-
return new APIPromise($
|
|
95140
|
+
return new APIPromise($do128(client, request, options));
|
|
95380
95141
|
}
|
|
95381
|
-
async function $
|
|
95142
|
+
async function $do128(client, request, options) {
|
|
95382
95143
|
const parsed = safeParse4(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95383
95144
|
if (!parsed.ok) {
|
|
95384
95145
|
return [parsed, { status: "invalid" }];
|
|
@@ -95461,12 +95222,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
95461
95222
|
});
|
|
95462
95223
|
|
|
95463
95224
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
95464
|
-
var
|
|
95225
|
+
var args128, tool$schedulingGetOccurrance;
|
|
95465
95226
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
95466
95227
|
init_schedulingGetOccurrance();
|
|
95467
95228
|
init_operations();
|
|
95468
95229
|
init_tools();
|
|
95469
|
-
|
|
95230
|
+
args128 = {
|
|
95470
95231
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
95471
95232
|
};
|
|
95472
95233
|
tool$schedulingGetOccurrance = {
|
|
@@ -95475,9 +95236,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
95475
95236
|
|
|
95476
95237
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95477
95238
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95478
|
-
args:
|
|
95479
|
-
tool: async (client,
|
|
95480
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
95239
|
+
args: args128,
|
|
95240
|
+
tool: async (client, args129, ctx) => {
|
|
95241
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95481
95242
|
if (!result.ok) {
|
|
95482
95243
|
return {
|
|
95483
95244
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95492,9 +95253,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
95492
95253
|
|
|
95493
95254
|
// src/funcs/schedulingList.ts
|
|
95494
95255
|
function schedulingList(client, request, options) {
|
|
95495
|
-
return new APIPromise($
|
|
95256
|
+
return new APIPromise($do129(client, request, options));
|
|
95496
95257
|
}
|
|
95497
|
-
async function $
|
|
95258
|
+
async function $do129(client, request, options) {
|
|
95498
95259
|
const parsed = safeParse4(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95499
95260
|
if (!parsed.ok) {
|
|
95500
95261
|
return [parsed, { status: "invalid" }];
|
|
@@ -95578,12 +95339,12 @@ var init_schedulingList = __esm(() => {
|
|
|
95578
95339
|
});
|
|
95579
95340
|
|
|
95580
95341
|
// src/mcp-server/tools/schedulingList.ts
|
|
95581
|
-
var
|
|
95342
|
+
var args129, tool$schedulingList;
|
|
95582
95343
|
var init_schedulingList2 = __esm(() => {
|
|
95583
95344
|
init_schedulingList();
|
|
95584
95345
|
init_operations();
|
|
95585
95346
|
init_tools();
|
|
95586
|
-
|
|
95347
|
+
args129 = {
|
|
95587
95348
|
request: ListSchedulesRequest$inboundSchema
|
|
95588
95349
|
};
|
|
95589
95350
|
tool$schedulingList = {
|
|
@@ -95592,9 +95353,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
95592
95353
|
|
|
95593
95354
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95594
95355
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95595
|
-
args:
|
|
95596
|
-
tool: async (client,
|
|
95597
|
-
const [result, apiCall] = await schedulingList(client,
|
|
95356
|
+
args: args129,
|
|
95357
|
+
tool: async (client, args130, ctx) => {
|
|
95358
|
+
const [result, apiCall] = await schedulingList(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95598
95359
|
if (!result.ok) {
|
|
95599
95360
|
return {
|
|
95600
95361
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95609,9 +95370,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
95609
95370
|
|
|
95610
95371
|
// src/funcs/schedulingUpdate.ts
|
|
95611
95372
|
function schedulingUpdate(client, request, options) {
|
|
95612
|
-
return new APIPromise($
|
|
95373
|
+
return new APIPromise($do130(client, request, options));
|
|
95613
95374
|
}
|
|
95614
|
-
async function $
|
|
95375
|
+
async function $do130(client, request, options) {
|
|
95615
95376
|
const parsed = safeParse4(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95616
95377
|
if (!parsed.ok) {
|
|
95617
95378
|
return [parsed, { status: "invalid" }];
|
|
@@ -95709,12 +95470,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
95709
95470
|
});
|
|
95710
95471
|
|
|
95711
95472
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
95712
|
-
var
|
|
95473
|
+
var args130, tool$schedulingUpdate;
|
|
95713
95474
|
var init_schedulingUpdate2 = __esm(() => {
|
|
95714
95475
|
init_schedulingUpdate();
|
|
95715
95476
|
init_operations();
|
|
95716
95477
|
init_tools();
|
|
95717
|
-
|
|
95478
|
+
args130 = {
|
|
95718
95479
|
request: UpdateScheduleRequest$inboundSchema
|
|
95719
95480
|
};
|
|
95720
95481
|
tool$schedulingUpdate = {
|
|
@@ -95723,9 +95484,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
95723
95484
|
|
|
95724
95485
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95725
95486
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95726
|
-
args:
|
|
95727
|
-
tool: async (client,
|
|
95728
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
95487
|
+
args: args130,
|
|
95488
|
+
tool: async (client, args131, ctx) => {
|
|
95489
|
+
const [result, apiCall] = await schedulingUpdate(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95729
95490
|
if (!result.ok) {
|
|
95730
95491
|
return {
|
|
95731
95492
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95740,9 +95501,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95740
95501
|
|
|
95741
95502
|
// src/funcs/statementsGet.ts
|
|
95742
95503
|
function statementsGet(client, request, options) {
|
|
95743
|
-
return new APIPromise($
|
|
95504
|
+
return new APIPromise($do131(client, request, options));
|
|
95744
95505
|
}
|
|
95745
|
-
async function $
|
|
95506
|
+
async function $do131(client, request, options) {
|
|
95746
95507
|
const parsed = safeParse4(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95747
95508
|
if (!parsed.ok) {
|
|
95748
95509
|
return [parsed, { status: "invalid" }];
|
|
@@ -95828,12 +95589,12 @@ var init_statementsGet = __esm(() => {
|
|
|
95828
95589
|
});
|
|
95829
95590
|
|
|
95830
95591
|
// src/mcp-server/tools/statementsGet.ts
|
|
95831
|
-
var
|
|
95592
|
+
var args131, tool$statementsGet;
|
|
95832
95593
|
var init_statementsGet2 = __esm(() => {
|
|
95833
95594
|
init_statementsGet();
|
|
95834
95595
|
init_operations();
|
|
95835
95596
|
init_tools();
|
|
95836
|
-
|
|
95597
|
+
args131 = {
|
|
95837
95598
|
request: GetStatementRequest$inboundSchema
|
|
95838
95599
|
};
|
|
95839
95600
|
tool$statementsGet = {
|
|
@@ -95844,9 +95605,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
95844
95605
|
|
|
95845
95606
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95846
95607
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
95847
|
-
args:
|
|
95848
|
-
tool: async (client,
|
|
95849
|
-
const [result, apiCall] = await statementsGet(client,
|
|
95608
|
+
args: args131,
|
|
95609
|
+
tool: async (client, args132, ctx) => {
|
|
95610
|
+
const [result, apiCall] = await statementsGet(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95850
95611
|
if (!result.ok) {
|
|
95851
95612
|
return {
|
|
95852
95613
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95861,9 +95622,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
95861
95622
|
|
|
95862
95623
|
// src/funcs/statementsList.ts
|
|
95863
95624
|
function statementsList(client, request, options) {
|
|
95864
|
-
return new APIPromise($
|
|
95625
|
+
return new APIPromise($do132(client, request, options));
|
|
95865
95626
|
}
|
|
95866
|
-
async function $
|
|
95627
|
+
async function $do132(client, request, options) {
|
|
95867
95628
|
const parsed = safeParse4(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95868
95629
|
if (!parsed.ok) {
|
|
95869
95630
|
return [parsed, { status: "invalid" }];
|
|
@@ -95949,12 +95710,12 @@ var init_statementsList = __esm(() => {
|
|
|
95949
95710
|
});
|
|
95950
95711
|
|
|
95951
95712
|
// src/mcp-server/tools/statementsList.ts
|
|
95952
|
-
var
|
|
95713
|
+
var args132, tool$statementsList;
|
|
95953
95714
|
var init_statementsList2 = __esm(() => {
|
|
95954
95715
|
init_statementsList();
|
|
95955
95716
|
init_operations();
|
|
95956
95717
|
init_tools();
|
|
95957
|
-
|
|
95718
|
+
args132 = {
|
|
95958
95719
|
request: ListStatementsRequest$inboundSchema
|
|
95959
95720
|
};
|
|
95960
95721
|
tool$statementsList = {
|
|
@@ -95963,9 +95724,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
95963
95724
|
|
|
95964
95725
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95965
95726
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
95966
|
-
args:
|
|
95967
|
-
tool: async (client,
|
|
95968
|
-
const [result, apiCall] = await statementsList(client,
|
|
95727
|
+
args: args132,
|
|
95728
|
+
tool: async (client, args133, ctx) => {
|
|
95729
|
+
const [result, apiCall] = await statementsList(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95969
95730
|
if (!result.ok) {
|
|
95970
95731
|
return {
|
|
95971
95732
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95980,9 +95741,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
95980
95741
|
|
|
95981
95742
|
// src/funcs/supportCreateTicket.ts
|
|
95982
95743
|
function supportCreateTicket(client, request, options) {
|
|
95983
|
-
return new APIPromise($
|
|
95744
|
+
return new APIPromise($do133(client, request, options));
|
|
95984
95745
|
}
|
|
95985
|
-
async function $
|
|
95746
|
+
async function $do133(client, request, options) {
|
|
95986
95747
|
const parsed = safeParse4(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95987
95748
|
if (!parsed.ok) {
|
|
95988
95749
|
return [parsed, { status: "invalid" }];
|
|
@@ -96074,12 +95835,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
96074
95835
|
});
|
|
96075
95836
|
|
|
96076
95837
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
96077
|
-
var
|
|
95838
|
+
var args133, tool$supportCreateTicket;
|
|
96078
95839
|
var init_supportCreateTicket2 = __esm(() => {
|
|
96079
95840
|
init_supportCreateTicket();
|
|
96080
95841
|
init_operations();
|
|
96081
95842
|
init_tools();
|
|
96082
|
-
|
|
95843
|
+
args133 = {
|
|
96083
95844
|
request: CreateTicketRequest$inboundSchema
|
|
96084
95845
|
};
|
|
96085
95846
|
tool$supportCreateTicket = {
|
|
@@ -96091,9 +95852,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
96091
95852
|
|
|
96092
95853
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
96093
95854
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96094
|
-
args:
|
|
96095
|
-
tool: async (client,
|
|
96096
|
-
const [result, apiCall] = await supportCreateTicket(client,
|
|
95855
|
+
args: args133,
|
|
95856
|
+
tool: async (client, args134, ctx) => {
|
|
95857
|
+
const [result, apiCall] = await supportCreateTicket(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96097
95858
|
if (!result.ok) {
|
|
96098
95859
|
return {
|
|
96099
95860
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96108,9 +95869,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
96108
95869
|
|
|
96109
95870
|
// src/funcs/supportGetTicket.ts
|
|
96110
95871
|
function supportGetTicket(client, request, options) {
|
|
96111
|
-
return new APIPromise($
|
|
95872
|
+
return new APIPromise($do134(client, request, options));
|
|
96112
95873
|
}
|
|
96113
|
-
async function $
|
|
95874
|
+
async function $do134(client, request, options) {
|
|
96114
95875
|
const parsed = safeParse4(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96115
95876
|
if (!parsed.ok) {
|
|
96116
95877
|
return [parsed, { status: "invalid" }];
|
|
@@ -96192,12 +95953,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
96192
95953
|
});
|
|
96193
95954
|
|
|
96194
95955
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
96195
|
-
var
|
|
95956
|
+
var args134, tool$supportGetTicket;
|
|
96196
95957
|
var init_supportGetTicket2 = __esm(() => {
|
|
96197
95958
|
init_supportGetTicket();
|
|
96198
95959
|
init_operations();
|
|
96199
95960
|
init_tools();
|
|
96200
|
-
|
|
95961
|
+
args134 = {
|
|
96201
95962
|
request: GetTicketRequest$inboundSchema
|
|
96202
95963
|
};
|
|
96203
95964
|
tool$supportGetTicket = {
|
|
@@ -96209,9 +95970,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
96209
95970
|
|
|
96210
95971
|
If you're retrieving another account's ticket, then you'll need to
|
|
96211
95972
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96212
|
-
args:
|
|
96213
|
-
tool: async (client,
|
|
96214
|
-
const [result, apiCall] = await supportGetTicket(client,
|
|
95973
|
+
args: args134,
|
|
95974
|
+
tool: async (client, args135, ctx) => {
|
|
95975
|
+
const [result, apiCall] = await supportGetTicket(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96215
95976
|
if (!result.ok) {
|
|
96216
95977
|
return {
|
|
96217
95978
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96226,9 +95987,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
96226
95987
|
|
|
96227
95988
|
// src/funcs/supportListTicketMessages.ts
|
|
96228
95989
|
function supportListTicketMessages(client, request, options) {
|
|
96229
|
-
return new APIPromise($
|
|
95990
|
+
return new APIPromise($do135(client, request, options));
|
|
96230
95991
|
}
|
|
96231
|
-
async function $
|
|
95992
|
+
async function $do135(client, request, options) {
|
|
96232
95993
|
const parsed = safeParse4(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96233
95994
|
if (!parsed.ok) {
|
|
96234
95995
|
return [parsed, { status: "invalid" }];
|
|
@@ -96310,12 +96071,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
96310
96071
|
});
|
|
96311
96072
|
|
|
96312
96073
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
96313
|
-
var
|
|
96074
|
+
var args135, tool$supportListTicketMessages;
|
|
96314
96075
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
96315
96076
|
init_supportListTicketMessages();
|
|
96316
96077
|
init_operations();
|
|
96317
96078
|
init_tools();
|
|
96318
|
-
|
|
96079
|
+
args135 = {
|
|
96319
96080
|
request: ListTicketMessagesRequest$inboundSchema
|
|
96320
96081
|
};
|
|
96321
96082
|
tool$supportListTicketMessages = {
|
|
@@ -96327,9 +96088,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
96327
96088
|
|
|
96328
96089
|
If you're listing another account's messages, then you'll need to
|
|
96329
96090
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96330
|
-
args:
|
|
96331
|
-
tool: async (client,
|
|
96332
|
-
const [result, apiCall] = await supportListTicketMessages(client,
|
|
96091
|
+
args: args135,
|
|
96092
|
+
tool: async (client, args136, ctx) => {
|
|
96093
|
+
const [result, apiCall] = await supportListTicketMessages(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96333
96094
|
if (!result.ok) {
|
|
96334
96095
|
return {
|
|
96335
96096
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96344,9 +96105,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
96344
96105
|
|
|
96345
96106
|
// src/funcs/supportListTickets.ts
|
|
96346
96107
|
function supportListTickets(client, request, options) {
|
|
96347
|
-
return new APIPromise($
|
|
96108
|
+
return new APIPromise($do136(client, request, options));
|
|
96348
96109
|
}
|
|
96349
|
-
async function $
|
|
96110
|
+
async function $do136(client, request, options) {
|
|
96350
96111
|
const parsed = safeParse4(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96351
96112
|
if (!parsed.ok) {
|
|
96352
96113
|
return [parsed, { status: "invalid" }];
|
|
@@ -96431,12 +96192,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
96431
96192
|
});
|
|
96432
96193
|
|
|
96433
96194
|
// src/mcp-server/tools/supportListTickets.ts
|
|
96434
|
-
var
|
|
96195
|
+
var args136, tool$supportListTickets;
|
|
96435
96196
|
var init_supportListTickets2 = __esm(() => {
|
|
96436
96197
|
init_supportListTickets();
|
|
96437
96198
|
init_operations();
|
|
96438
96199
|
init_tools();
|
|
96439
|
-
|
|
96200
|
+
args136 = {
|
|
96440
96201
|
request: ListTicketsRequest$inboundSchema
|
|
96441
96202
|
};
|
|
96442
96203
|
tool$supportListTickets = {
|
|
@@ -96448,9 +96209,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
96448
96209
|
|
|
96449
96210
|
If you're listing another account's tickets, then you'll need to
|
|
96450
96211
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96451
|
-
args:
|
|
96452
|
-
tool: async (client,
|
|
96453
|
-
const [result, apiCall] = await supportListTickets(client,
|
|
96212
|
+
args: args136,
|
|
96213
|
+
tool: async (client, args137, ctx) => {
|
|
96214
|
+
const [result, apiCall] = await supportListTickets(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96454
96215
|
if (!result.ok) {
|
|
96455
96216
|
return {
|
|
96456
96217
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96465,9 +96226,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
96465
96226
|
|
|
96466
96227
|
// src/funcs/supportUpdateTicket.ts
|
|
96467
96228
|
function supportUpdateTicket(client, request, options) {
|
|
96468
|
-
return new APIPromise($
|
|
96229
|
+
return new APIPromise($do137(client, request, options));
|
|
96469
96230
|
}
|
|
96470
|
-
async function $
|
|
96231
|
+
async function $do137(client, request, options) {
|
|
96471
96232
|
const parsed = safeParse4(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96472
96233
|
if (!parsed.ok) {
|
|
96473
96234
|
return [parsed, { status: "invalid" }];
|
|
@@ -96563,12 +96324,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
96563
96324
|
});
|
|
96564
96325
|
|
|
96565
96326
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
96566
|
-
var
|
|
96327
|
+
var args137, tool$supportUpdateTicket;
|
|
96567
96328
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
96568
96329
|
init_supportUpdateTicket();
|
|
96569
96330
|
init_operations();
|
|
96570
96331
|
init_tools();
|
|
96571
|
-
|
|
96332
|
+
args137 = {
|
|
96572
96333
|
request: UpdateTicketRequest$inboundSchema
|
|
96573
96334
|
};
|
|
96574
96335
|
tool$supportUpdateTicket = {
|
|
@@ -96580,9 +96341,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
96580
96341
|
|
|
96581
96342
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
96582
96343
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96583
|
-
args:
|
|
96584
|
-
tool: async (client,
|
|
96585
|
-
const [result, apiCall] = await supportUpdateTicket(client,
|
|
96344
|
+
args: args137,
|
|
96345
|
+
tool: async (client, args138, ctx) => {
|
|
96346
|
+
const [result, apiCall] = await supportUpdateTicket(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96586
96347
|
if (!result.ok) {
|
|
96587
96348
|
return {
|
|
96588
96349
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96597,9 +96358,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
96597
96358
|
|
|
96598
96359
|
// src/funcs/sweepsCreateConfig.ts
|
|
96599
96360
|
function sweepsCreateConfig(client, request, options) {
|
|
96600
|
-
return new APIPromise($
|
|
96361
|
+
return new APIPromise($do138(client, request, options));
|
|
96601
96362
|
}
|
|
96602
|
-
async function $
|
|
96363
|
+
async function $do138(client, request, options) {
|
|
96603
96364
|
const parsed = safeParse4(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96604
96365
|
if (!parsed.ok) {
|
|
96605
96366
|
return [parsed, { status: "invalid" }];
|
|
@@ -96691,12 +96452,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
96691
96452
|
});
|
|
96692
96453
|
|
|
96693
96454
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
96694
|
-
var
|
|
96455
|
+
var args138, tool$sweepsCreateConfig;
|
|
96695
96456
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
96696
96457
|
init_sweepsCreateConfig();
|
|
96697
96458
|
init_operations();
|
|
96698
96459
|
init_tools();
|
|
96699
|
-
|
|
96460
|
+
args138 = {
|
|
96700
96461
|
request: CreateSweepConfigRequest$inboundSchema
|
|
96701
96462
|
};
|
|
96702
96463
|
tool$sweepsCreateConfig = {
|
|
@@ -96705,9 +96466,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
96705
96466
|
|
|
96706
96467
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96707
96468
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
96708
|
-
args:
|
|
96709
|
-
tool: async (client,
|
|
96710
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
96469
|
+
args: args138,
|
|
96470
|
+
tool: async (client, args139, ctx) => {
|
|
96471
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96711
96472
|
if (!result.ok) {
|
|
96712
96473
|
return {
|
|
96713
96474
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96722,9 +96483,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
96722
96483
|
|
|
96723
96484
|
// src/funcs/sweepsGet.ts
|
|
96724
96485
|
function sweepsGet(client, request, options) {
|
|
96725
|
-
return new APIPromise($
|
|
96486
|
+
return new APIPromise($do139(client, request, options));
|
|
96726
96487
|
}
|
|
96727
|
-
async function $
|
|
96488
|
+
async function $do139(client, request, options) {
|
|
96728
96489
|
const parsed = safeParse4(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96729
96490
|
if (!parsed.ok) {
|
|
96730
96491
|
return [parsed, { status: "invalid" }];
|
|
@@ -96810,12 +96571,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
96810
96571
|
});
|
|
96811
96572
|
|
|
96812
96573
|
// src/mcp-server/tools/sweepsGet.ts
|
|
96813
|
-
var
|
|
96574
|
+
var args139, tool$sweepsGet;
|
|
96814
96575
|
var init_sweepsGet2 = __esm(() => {
|
|
96815
96576
|
init_sweepsGet();
|
|
96816
96577
|
init_operations();
|
|
96817
96578
|
init_tools();
|
|
96818
|
-
|
|
96579
|
+
args139 = {
|
|
96819
96580
|
request: GetSweepRequest$inboundSchema
|
|
96820
96581
|
};
|
|
96821
96582
|
tool$sweepsGet = {
|
|
@@ -96824,9 +96585,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
96824
96585
|
|
|
96825
96586
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96826
96587
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
96827
|
-
args:
|
|
96828
|
-
tool: async (client,
|
|
96829
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
96588
|
+
args: args139,
|
|
96589
|
+
tool: async (client, args140, ctx) => {
|
|
96590
|
+
const [result, apiCall] = await sweepsGet(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96830
96591
|
if (!result.ok) {
|
|
96831
96592
|
return {
|
|
96832
96593
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96841,9 +96602,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
96841
96602
|
|
|
96842
96603
|
// src/funcs/sweepsGetConfig.ts
|
|
96843
96604
|
function sweepsGetConfig(client, request, options) {
|
|
96844
|
-
return new APIPromise($
|
|
96605
|
+
return new APIPromise($do140(client, request, options));
|
|
96845
96606
|
}
|
|
96846
|
-
async function $
|
|
96607
|
+
async function $do140(client, request, options) {
|
|
96847
96608
|
const parsed = safeParse4(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96848
96609
|
if (!parsed.ok) {
|
|
96849
96610
|
return [parsed, { status: "invalid" }];
|
|
@@ -96925,12 +96686,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
96925
96686
|
});
|
|
96926
96687
|
|
|
96927
96688
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
96928
|
-
var
|
|
96689
|
+
var args140, tool$sweepsGetConfig;
|
|
96929
96690
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
96930
96691
|
init_sweepsGetConfig();
|
|
96931
96692
|
init_operations();
|
|
96932
96693
|
init_tools();
|
|
96933
|
-
|
|
96694
|
+
args140 = {
|
|
96934
96695
|
request: GetSweepConfigRequest$inboundSchema
|
|
96935
96696
|
};
|
|
96936
96697
|
tool$sweepsGetConfig = {
|
|
@@ -96939,9 +96700,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
96939
96700
|
|
|
96940
96701
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96941
96702
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
96942
|
-
args:
|
|
96943
|
-
tool: async (client,
|
|
96944
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
96703
|
+
args: args140,
|
|
96704
|
+
tool: async (client, args141, ctx) => {
|
|
96705
|
+
const [result, apiCall] = await sweepsGetConfig(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96945
96706
|
if (!result.ok) {
|
|
96946
96707
|
return {
|
|
96947
96708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96956,9 +96717,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
96956
96717
|
|
|
96957
96718
|
// src/funcs/sweepsList.ts
|
|
96958
96719
|
function sweepsList(client, request, options) {
|
|
96959
|
-
return new APIPromise($
|
|
96720
|
+
return new APIPromise($do141(client, request, options));
|
|
96960
96721
|
}
|
|
96961
|
-
async function $
|
|
96722
|
+
async function $do141(client, request, options) {
|
|
96962
96723
|
const parsed = safeParse4(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96963
96724
|
if (!parsed.ok) {
|
|
96964
96725
|
return [parsed, { status: "invalid" }];
|
|
@@ -97047,12 +96808,12 @@ var init_sweepsList = __esm(() => {
|
|
|
97047
96808
|
});
|
|
97048
96809
|
|
|
97049
96810
|
// src/mcp-server/tools/sweepsList.ts
|
|
97050
|
-
var
|
|
96811
|
+
var args141, tool$sweepsList;
|
|
97051
96812
|
var init_sweepsList2 = __esm(() => {
|
|
97052
96813
|
init_sweepsList();
|
|
97053
96814
|
init_operations();
|
|
97054
96815
|
init_tools();
|
|
97055
|
-
|
|
96816
|
+
args141 = {
|
|
97056
96817
|
request: ListSweepsRequest$inboundSchema
|
|
97057
96818
|
};
|
|
97058
96819
|
tool$sweepsList = {
|
|
@@ -97061,9 +96822,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
97061
96822
|
|
|
97062
96823
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97063
96824
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97064
|
-
args:
|
|
97065
|
-
tool: async (client,
|
|
97066
|
-
const [result, apiCall] = await sweepsList(client,
|
|
96825
|
+
args: args141,
|
|
96826
|
+
tool: async (client, args142, ctx) => {
|
|
96827
|
+
const [result, apiCall] = await sweepsList(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97067
96828
|
if (!result.ok) {
|
|
97068
96829
|
return {
|
|
97069
96830
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97078,9 +96839,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97078
96839
|
|
|
97079
96840
|
// src/funcs/sweepsListConfigs.ts
|
|
97080
96841
|
function sweepsListConfigs(client, request, options) {
|
|
97081
|
-
return new APIPromise($
|
|
96842
|
+
return new APIPromise($do142(client, request, options));
|
|
97082
96843
|
}
|
|
97083
|
-
async function $
|
|
96844
|
+
async function $do142(client, request, options) {
|
|
97084
96845
|
const parsed = safeParse4(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97085
96846
|
if (!parsed.ok) {
|
|
97086
96847
|
return [parsed, { status: "invalid" }];
|
|
@@ -97158,12 +96919,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
97158
96919
|
});
|
|
97159
96920
|
|
|
97160
96921
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
97161
|
-
var
|
|
96922
|
+
var args142, tool$sweepsListConfigs;
|
|
97162
96923
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
97163
96924
|
init_sweepsListConfigs();
|
|
97164
96925
|
init_operations();
|
|
97165
96926
|
init_tools();
|
|
97166
|
-
|
|
96927
|
+
args142 = {
|
|
97167
96928
|
request: ListSweepConfigsRequest$inboundSchema
|
|
97168
96929
|
};
|
|
97169
96930
|
tool$sweepsListConfigs = {
|
|
@@ -97172,9 +96933,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
97172
96933
|
|
|
97173
96934
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97174
96935
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97175
|
-
args:
|
|
97176
|
-
tool: async (client,
|
|
97177
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
96936
|
+
args: args142,
|
|
96937
|
+
tool: async (client, args143, ctx) => {
|
|
96938
|
+
const [result, apiCall] = await sweepsListConfigs(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97178
96939
|
if (!result.ok) {
|
|
97179
96940
|
return {
|
|
97180
96941
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97189,9 +96950,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97189
96950
|
|
|
97190
96951
|
// src/funcs/sweepsUpdateConfig.ts
|
|
97191
96952
|
function sweepsUpdateConfig(client, request, options) {
|
|
97192
|
-
return new APIPromise($
|
|
96953
|
+
return new APIPromise($do143(client, request, options));
|
|
97193
96954
|
}
|
|
97194
|
-
async function $
|
|
96955
|
+
async function $do143(client, request, options) {
|
|
97195
96956
|
const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97196
96957
|
if (!parsed.ok) {
|
|
97197
96958
|
return [parsed, { status: "invalid" }];
|
|
@@ -97287,12 +97048,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
97287
97048
|
});
|
|
97288
97049
|
|
|
97289
97050
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
97290
|
-
var
|
|
97051
|
+
var args143, tool$sweepsUpdateConfig;
|
|
97291
97052
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
97292
97053
|
init_sweepsUpdateConfig();
|
|
97293
97054
|
init_operations();
|
|
97294
97055
|
init_tools();
|
|
97295
|
-
|
|
97056
|
+
args143 = {
|
|
97296
97057
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
97297
97058
|
};
|
|
97298
97059
|
tool$sweepsUpdateConfig = {
|
|
@@ -97301,9 +97062,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
97301
97062
|
|
|
97302
97063
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97303
97064
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
97304
|
-
args:
|
|
97305
|
-
tool: async (client,
|
|
97306
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
97065
|
+
args: args143,
|
|
97066
|
+
tool: async (client, args144, ctx) => {
|
|
97067
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97307
97068
|
if (!result.ok) {
|
|
97308
97069
|
return {
|
|
97309
97070
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97318,9 +97079,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
97318
97079
|
|
|
97319
97080
|
// src/funcs/terminalApplicationsCreate.ts
|
|
97320
97081
|
function terminalApplicationsCreate(client, request, options) {
|
|
97321
|
-
return new APIPromise($
|
|
97082
|
+
return new APIPromise($do144(client, request, options));
|
|
97322
97083
|
}
|
|
97323
|
-
async function $
|
|
97084
|
+
async function $do144(client, request, options) {
|
|
97324
97085
|
const parsed = safeParse4(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
97325
97086
|
if (!parsed.ok) {
|
|
97326
97087
|
return [parsed, { status: "invalid" }];
|
|
@@ -97409,12 +97170,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
97409
97170
|
});
|
|
97410
97171
|
|
|
97411
97172
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
97412
|
-
var
|
|
97173
|
+
var args144, tool$terminalApplicationsCreate;
|
|
97413
97174
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
97414
97175
|
init_terminalApplicationsCreate();
|
|
97415
97176
|
init_components();
|
|
97416
97177
|
init_tools();
|
|
97417
|
-
|
|
97178
|
+
args144 = {
|
|
97418
97179
|
request: CreateTerminalApplication$inboundSchema
|
|
97419
97180
|
};
|
|
97420
97181
|
tool$terminalApplicationsCreate = {
|
|
@@ -97423,9 +97184,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
97423
97184
|
|
|
97424
97185
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97425
97186
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
97426
|
-
args:
|
|
97427
|
-
tool: async (client,
|
|
97428
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
97187
|
+
args: args144,
|
|
97188
|
+
tool: async (client, args145, ctx) => {
|
|
97189
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97429
97190
|
if (!result.ok) {
|
|
97430
97191
|
return {
|
|
97431
97192
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97440,9 +97201,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
97440
97201
|
|
|
97441
97202
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
97442
97203
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
97443
|
-
return new APIPromise($
|
|
97204
|
+
return new APIPromise($do145(client, request, options));
|
|
97444
97205
|
}
|
|
97445
|
-
async function $
|
|
97206
|
+
async function $do145(client, request, options) {
|
|
97446
97207
|
const parsed = safeParse4(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97447
97208
|
if (!parsed.ok) {
|
|
97448
97209
|
return [parsed, { status: "invalid" }];
|
|
@@ -97532,12 +97293,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
97532
97293
|
});
|
|
97533
97294
|
|
|
97534
97295
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
97535
|
-
var
|
|
97296
|
+
var args145, tool$terminalApplicationsCreateVersion;
|
|
97536
97297
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
97537
97298
|
init_terminalApplicationsCreateVersion();
|
|
97538
97299
|
init_operations();
|
|
97539
97300
|
init_tools();
|
|
97540
|
-
|
|
97301
|
+
args145 = {
|
|
97541
97302
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
97542
97303
|
};
|
|
97543
97304
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -97546,9 +97307,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
97546
97307
|
|
|
97547
97308
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97548
97309
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
97549
|
-
args:
|
|
97550
|
-
tool: async (client,
|
|
97551
|
-
const [result, apiCall] = await terminalApplicationsCreateVersion(client,
|
|
97310
|
+
args: args145,
|
|
97311
|
+
tool: async (client, args146, ctx) => {
|
|
97312
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97552
97313
|
if (!result.ok) {
|
|
97553
97314
|
return {
|
|
97554
97315
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97563,9 +97324,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
97563
97324
|
|
|
97564
97325
|
// src/funcs/terminalApplicationsDelete.ts
|
|
97565
97326
|
function terminalApplicationsDelete(client, request, options) {
|
|
97566
|
-
return new APIPromise($
|
|
97327
|
+
return new APIPromise($do146(client, request, options));
|
|
97567
97328
|
}
|
|
97568
|
-
async function $
|
|
97329
|
+
async function $do146(client, request, options) {
|
|
97569
97330
|
const parsed = safeParse4(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97570
97331
|
if (!parsed.ok) {
|
|
97571
97332
|
return [parsed, { status: "invalid" }];
|
|
@@ -97649,12 +97410,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
97649
97410
|
});
|
|
97650
97411
|
|
|
97651
97412
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
97652
|
-
var
|
|
97413
|
+
var args146, tool$terminalApplicationsDelete;
|
|
97653
97414
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
97654
97415
|
init_terminalApplicationsDelete();
|
|
97655
97416
|
init_operations();
|
|
97656
97417
|
init_tools();
|
|
97657
|
-
|
|
97418
|
+
args146 = {
|
|
97658
97419
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
97659
97420
|
};
|
|
97660
97421
|
tool$terminalApplicationsDelete = {
|
|
@@ -97663,9 +97424,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
97663
97424
|
|
|
97664
97425
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97665
97426
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
97666
|
-
args:
|
|
97667
|
-
tool: async (client,
|
|
97668
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
97427
|
+
args: args146,
|
|
97428
|
+
tool: async (client, args147, ctx) => {
|
|
97429
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97669
97430
|
if (!result.ok) {
|
|
97670
97431
|
return {
|
|
97671
97432
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97679,9 +97440,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
97679
97440
|
|
|
97680
97441
|
// src/funcs/terminalApplicationsGet.ts
|
|
97681
97442
|
function terminalApplicationsGet(client, request, options) {
|
|
97682
|
-
return new APIPromise($
|
|
97443
|
+
return new APIPromise($do147(client, request, options));
|
|
97683
97444
|
}
|
|
97684
|
-
async function $
|
|
97445
|
+
async function $do147(client, request, options) {
|
|
97685
97446
|
const parsed = safeParse4(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97686
97447
|
if (!parsed.ok) {
|
|
97687
97448
|
return [parsed, { status: "invalid" }];
|
|
@@ -97756,12 +97517,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
97756
97517
|
});
|
|
97757
97518
|
|
|
97758
97519
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
97759
|
-
var
|
|
97520
|
+
var args147, tool$terminalApplicationsGet;
|
|
97760
97521
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
97761
97522
|
init_terminalApplicationsGet();
|
|
97762
97523
|
init_operations();
|
|
97763
97524
|
init_tools();
|
|
97764
|
-
|
|
97525
|
+
args147 = {
|
|
97765
97526
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
97766
97527
|
};
|
|
97767
97528
|
tool$terminalApplicationsGet = {
|
|
@@ -97770,9 +97531,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
97770
97531
|
|
|
97771
97532
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97772
97533
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
97773
|
-
args:
|
|
97774
|
-
tool: async (client,
|
|
97775
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
97534
|
+
args: args147,
|
|
97535
|
+
tool: async (client, args148, ctx) => {
|
|
97536
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97776
97537
|
if (!result.ok) {
|
|
97777
97538
|
return {
|
|
97778
97539
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97787,9 +97548,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
97787
97548
|
|
|
97788
97549
|
// src/funcs/terminalApplicationsList.ts
|
|
97789
97550
|
function terminalApplicationsList(client, _request, options) {
|
|
97790
|
-
return new APIPromise($
|
|
97551
|
+
return new APIPromise($do148(client, _request, options));
|
|
97791
97552
|
}
|
|
97792
|
-
async function $
|
|
97553
|
+
async function $do148(client, _request, options) {
|
|
97793
97554
|
const path = pathToFunc("/terminal-applications")();
|
|
97794
97555
|
const headers = new Headers(compactMap({
|
|
97795
97556
|
Accept: "application/json",
|
|
@@ -97853,12 +97614,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
97853
97614
|
});
|
|
97854
97615
|
|
|
97855
97616
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
97856
|
-
var
|
|
97617
|
+
var args148, tool$terminalApplicationsList;
|
|
97857
97618
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
97858
97619
|
init_terminalApplicationsList();
|
|
97859
97620
|
init_operations();
|
|
97860
97621
|
init_tools();
|
|
97861
|
-
|
|
97622
|
+
args148 = {
|
|
97862
97623
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
97863
97624
|
};
|
|
97864
97625
|
tool$terminalApplicationsList = {
|
|
@@ -97867,9 +97628,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
97867
97628
|
|
|
97868
97629
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97869
97630
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
97870
|
-
args:
|
|
97871
|
-
tool: async (client,
|
|
97872
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
97631
|
+
args: args148,
|
|
97632
|
+
tool: async (client, args149, ctx) => {
|
|
97633
|
+
const [result, apiCall] = await terminalApplicationsList(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97873
97634
|
if (!result.ok) {
|
|
97874
97635
|
return {
|
|
97875
97636
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97884,9 +97645,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
97884
97645
|
|
|
97885
97646
|
// src/funcs/transfersCreate.ts
|
|
97886
97647
|
function transfersCreate(client, request, options) {
|
|
97887
|
-
return new APIPromise($
|
|
97648
|
+
return new APIPromise($do149(client, request, options));
|
|
97888
97649
|
}
|
|
97889
|
-
async function $
|
|
97650
|
+
async function $do149(client, request, options) {
|
|
97890
97651
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97891
97652
|
if (!parsed.ok) {
|
|
97892
97653
|
return [parsed, { status: "invalid" }];
|
|
@@ -97979,12 +97740,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
97979
97740
|
});
|
|
97980
97741
|
|
|
97981
97742
|
// src/mcp-server/tools/transfersCreate.ts
|
|
97982
|
-
var
|
|
97743
|
+
var args149, tool$transfersCreate;
|
|
97983
97744
|
var init_transfersCreate2 = __esm(() => {
|
|
97984
97745
|
init_transfersCreate();
|
|
97985
97746
|
init_operations();
|
|
97986
97747
|
init_tools();
|
|
97987
|
-
|
|
97748
|
+
args149 = {
|
|
97988
97749
|
request: CreateTransferRequest$inboundSchema
|
|
97989
97750
|
};
|
|
97990
97751
|
tool$transfersCreate = {
|
|
@@ -97995,9 +97756,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
97995
97756
|
|
|
97996
97757
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97997
97758
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
97998
|
-
args:
|
|
97999
|
-
tool: async (client,
|
|
98000
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
97759
|
+
args: args149,
|
|
97760
|
+
tool: async (client, args150, ctx) => {
|
|
97761
|
+
const [result, apiCall] = await transfersCreate(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98001
97762
|
if (!result.ok) {
|
|
98002
97763
|
return {
|
|
98003
97764
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98012,9 +97773,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98012
97773
|
|
|
98013
97774
|
// src/funcs/transfersCreateCancellation.ts
|
|
98014
97775
|
function transfersCreateCancellation(client, request, options) {
|
|
98015
|
-
return new APIPromise($
|
|
97776
|
+
return new APIPromise($do150(client, request, options));
|
|
98016
97777
|
}
|
|
98017
|
-
async function $
|
|
97778
|
+
async function $do150(client, request, options) {
|
|
98018
97779
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98019
97780
|
if (!parsed.ok) {
|
|
98020
97781
|
return [parsed, { status: "invalid" }];
|
|
@@ -98097,12 +97858,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
98097
97858
|
});
|
|
98098
97859
|
|
|
98099
97860
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
98100
|
-
var
|
|
97861
|
+
var args150, tool$transfersCreateCancellation;
|
|
98101
97862
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
98102
97863
|
init_transfersCreateCancellation();
|
|
98103
97864
|
init_operations();
|
|
98104
97865
|
init_tools();
|
|
98105
|
-
|
|
97866
|
+
args150 = {
|
|
98106
97867
|
request: CreateCancellationRequest$inboundSchema
|
|
98107
97868
|
};
|
|
98108
97869
|
tool$transfersCreateCancellation = {
|
|
@@ -98111,9 +97872,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
98111
97872
|
|
|
98112
97873
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98113
97874
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98114
|
-
args:
|
|
98115
|
-
tool: async (client,
|
|
98116
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
97875
|
+
args: args150,
|
|
97876
|
+
tool: async (client, args151, ctx) => {
|
|
97877
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98117
97878
|
if (!result.ok) {
|
|
98118
97879
|
return {
|
|
98119
97880
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98128,9 +97889,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
98128
97889
|
|
|
98129
97890
|
// src/funcs/transfersCreateReversal.ts
|
|
98130
97891
|
function transfersCreateReversal(client, request, options) {
|
|
98131
|
-
return new APIPromise($
|
|
97892
|
+
return new APIPromise($do151(client, request, options));
|
|
98132
97893
|
}
|
|
98133
|
-
async function $
|
|
97894
|
+
async function $do151(client, request, options) {
|
|
98134
97895
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98135
97896
|
if (!parsed.ok) {
|
|
98136
97897
|
return [parsed, { status: "invalid" }];
|
|
@@ -98229,12 +97990,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
98229
97990
|
});
|
|
98230
97991
|
|
|
98231
97992
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
98232
|
-
var
|
|
97993
|
+
var args151, tool$transfersCreateReversal;
|
|
98233
97994
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
98234
97995
|
init_transfersCreateReversal();
|
|
98235
97996
|
init_operations();
|
|
98236
97997
|
init_tools();
|
|
98237
|
-
|
|
97998
|
+
args151 = {
|
|
98238
97999
|
request: CreateReversalRequest$inboundSchema
|
|
98239
98000
|
};
|
|
98240
98001
|
tool$transfersCreateReversal = {
|
|
@@ -98245,9 +98006,9 @@ to learn more.
|
|
|
98245
98006
|
|
|
98246
98007
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98247
98008
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98248
|
-
args:
|
|
98249
|
-
tool: async (client,
|
|
98250
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
98009
|
+
args: args151,
|
|
98010
|
+
tool: async (client, args152, ctx) => {
|
|
98011
|
+
const [result, apiCall] = await transfersCreateReversal(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98251
98012
|
if (!result.ok) {
|
|
98252
98013
|
return {
|
|
98253
98014
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98262,9 +98023,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98262
98023
|
|
|
98263
98024
|
// src/funcs/transfersGenerateOptions.ts
|
|
98264
98025
|
function transfersGenerateOptions(client, request, options) {
|
|
98265
|
-
return new APIPromise($
|
|
98026
|
+
return new APIPromise($do152(client, request, options));
|
|
98266
98027
|
}
|
|
98267
|
-
async function $
|
|
98028
|
+
async function $do152(client, request, options) {
|
|
98268
98029
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98269
98030
|
if (!parsed.ok) {
|
|
98270
98031
|
return [parsed, { status: "invalid" }];
|
|
@@ -98348,12 +98109,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
98348
98109
|
});
|
|
98349
98110
|
|
|
98350
98111
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
98351
|
-
var
|
|
98112
|
+
var args152, tool$transfersGenerateOptions;
|
|
98352
98113
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
98353
98114
|
init_transfersGenerateOptions();
|
|
98354
98115
|
init_operations();
|
|
98355
98116
|
init_tools();
|
|
98356
|
-
|
|
98117
|
+
args152 = {
|
|
98357
98118
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
98358
98119
|
};
|
|
98359
98120
|
tool$transfersGenerateOptions = {
|
|
@@ -98367,9 +98128,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
98367
98128
|
|
|
98368
98129
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98369
98130
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98370
|
-
args:
|
|
98371
|
-
tool: async (client,
|
|
98372
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
98131
|
+
args: args152,
|
|
98132
|
+
tool: async (client, args153, ctx) => {
|
|
98133
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98373
98134
|
if (!result.ok) {
|
|
98374
98135
|
return {
|
|
98375
98136
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98384,9 +98145,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98384
98145
|
|
|
98385
98146
|
// src/funcs/transfersGet.ts
|
|
98386
98147
|
function transfersGet(client, request, options) {
|
|
98387
|
-
return new APIPromise($
|
|
98148
|
+
return new APIPromise($do153(client, request, options));
|
|
98388
98149
|
}
|
|
98389
|
-
async function $
|
|
98150
|
+
async function $do153(client, request, options) {
|
|
98390
98151
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98391
98152
|
if (!parsed.ok) {
|
|
98392
98153
|
return [parsed, { status: "invalid" }];
|
|
@@ -98468,12 +98229,12 @@ var init_transfersGet = __esm(() => {
|
|
|
98468
98229
|
});
|
|
98469
98230
|
|
|
98470
98231
|
// src/mcp-server/tools/transfersGet.ts
|
|
98471
|
-
var
|
|
98232
|
+
var args153, tool$transfersGet;
|
|
98472
98233
|
var init_transfersGet2 = __esm(() => {
|
|
98473
98234
|
init_transfersGet();
|
|
98474
98235
|
init_operations();
|
|
98475
98236
|
init_tools();
|
|
98476
|
-
|
|
98237
|
+
args153 = {
|
|
98477
98238
|
request: GetTransferRequest$inboundSchema
|
|
98478
98239
|
};
|
|
98479
98240
|
tool$transfersGet = {
|
|
@@ -98485,9 +98246,9 @@ to learn more.
|
|
|
98485
98246
|
|
|
98486
98247
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98487
98248
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98488
|
-
args:
|
|
98489
|
-
tool: async (client,
|
|
98490
|
-
const [result, apiCall] = await transfersGet(client,
|
|
98249
|
+
args: args153,
|
|
98250
|
+
tool: async (client, args154, ctx) => {
|
|
98251
|
+
const [result, apiCall] = await transfersGet(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98491
98252
|
if (!result.ok) {
|
|
98492
98253
|
return {
|
|
98493
98254
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98502,9 +98263,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98502
98263
|
|
|
98503
98264
|
// src/funcs/transfersGetCancellation.ts
|
|
98504
98265
|
function transfersGetCancellation(client, request, options) {
|
|
98505
|
-
return new APIPromise($
|
|
98266
|
+
return new APIPromise($do154(client, request, options));
|
|
98506
98267
|
}
|
|
98507
|
-
async function $
|
|
98268
|
+
async function $do154(client, request, options) {
|
|
98508
98269
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98509
98270
|
if (!parsed.ok) {
|
|
98510
98271
|
return [parsed, { status: "invalid" }];
|
|
@@ -98590,12 +98351,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
98590
98351
|
});
|
|
98591
98352
|
|
|
98592
98353
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
98593
|
-
var
|
|
98354
|
+
var args154, tool$transfersGetCancellation;
|
|
98594
98355
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
98595
98356
|
init_transfersGetCancellation();
|
|
98596
98357
|
init_operations();
|
|
98597
98358
|
init_tools();
|
|
98598
|
-
|
|
98359
|
+
args154 = {
|
|
98599
98360
|
request: GetCancellationRequest$inboundSchema
|
|
98600
98361
|
};
|
|
98601
98362
|
tool$transfersGetCancellation = {
|
|
@@ -98604,9 +98365,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
98604
98365
|
|
|
98605
98366
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98606
98367
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98607
|
-
args:
|
|
98608
|
-
tool: async (client,
|
|
98609
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
98368
|
+
args: args154,
|
|
98369
|
+
tool: async (client, args155, ctx) => {
|
|
98370
|
+
const [result, apiCall] = await transfersGetCancellation(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98610
98371
|
if (!result.ok) {
|
|
98611
98372
|
return {
|
|
98612
98373
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98621,9 +98382,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
98621
98382
|
|
|
98622
98383
|
// src/funcs/transfersGetRefund.ts
|
|
98623
98384
|
function transfersGetRefund(client, request, options) {
|
|
98624
|
-
return new APIPromise($
|
|
98385
|
+
return new APIPromise($do155(client, request, options));
|
|
98625
98386
|
}
|
|
98626
|
-
async function $
|
|
98387
|
+
async function $do155(client, request, options) {
|
|
98627
98388
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98628
98389
|
if (!parsed.ok) {
|
|
98629
98390
|
return [parsed, { status: "invalid" }];
|
|
@@ -98709,12 +98470,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
98709
98470
|
});
|
|
98710
98471
|
|
|
98711
98472
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
98712
|
-
var
|
|
98473
|
+
var args155, tool$transfersGetRefund;
|
|
98713
98474
|
var init_transfersGetRefund2 = __esm(() => {
|
|
98714
98475
|
init_transfersGetRefund();
|
|
98715
98476
|
init_operations();
|
|
98716
98477
|
init_tools();
|
|
98717
|
-
|
|
98478
|
+
args155 = {
|
|
98718
98479
|
request: GetRefundRequest$inboundSchema
|
|
98719
98480
|
};
|
|
98720
98481
|
tool$transfersGetRefund = {
|
|
@@ -98723,9 +98484,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
98723
98484
|
|
|
98724
98485
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98725
98486
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98726
|
-
args:
|
|
98727
|
-
tool: async (client,
|
|
98728
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
98487
|
+
args: args155,
|
|
98488
|
+
tool: async (client, args156, ctx) => {
|
|
98489
|
+
const [result, apiCall] = await transfersGetRefund(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98729
98490
|
if (!result.ok) {
|
|
98730
98491
|
return {
|
|
98731
98492
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98740,9 +98501,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98740
98501
|
|
|
98741
98502
|
// src/funcs/transfersInitiateRefund.ts
|
|
98742
98503
|
function transfersInitiateRefund(client, request, options) {
|
|
98743
|
-
return new APIPromise($
|
|
98504
|
+
return new APIPromise($do156(client, request, options));
|
|
98744
98505
|
}
|
|
98745
|
-
async function $
|
|
98506
|
+
async function $do156(client, request, options) {
|
|
98746
98507
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98747
98508
|
if (!parsed.ok) {
|
|
98748
98509
|
return [parsed, { status: "invalid" }];
|
|
@@ -98834,12 +98595,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
98834
98595
|
});
|
|
98835
98596
|
|
|
98836
98597
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
98837
|
-
var
|
|
98598
|
+
var args156, tool$transfersInitiateRefund;
|
|
98838
98599
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
98839
98600
|
init_transfersInitiateRefund();
|
|
98840
98601
|
init_operations();
|
|
98841
98602
|
init_tools();
|
|
98842
|
-
|
|
98603
|
+
args156 = {
|
|
98843
98604
|
request: InitiateRefundRequest$inboundSchema
|
|
98844
98605
|
};
|
|
98845
98606
|
tool$transfersInitiateRefund = {
|
|
@@ -98851,9 +98612,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
98851
98612
|
|
|
98852
98613
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98853
98614
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98854
|
-
args:
|
|
98855
|
-
tool: async (client,
|
|
98856
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
98615
|
+
args: args156,
|
|
98616
|
+
tool: async (client, args157, ctx) => {
|
|
98617
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98857
98618
|
if (!result.ok) {
|
|
98858
98619
|
return {
|
|
98859
98620
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98868,9 +98629,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98868
98629
|
|
|
98869
98630
|
// src/funcs/transfersList.ts
|
|
98870
98631
|
function transfersList(client, request, options) {
|
|
98871
|
-
return new APIPromise($
|
|
98632
|
+
return new APIPromise($do157(client, request, options));
|
|
98872
98633
|
}
|
|
98873
|
-
async function $
|
|
98634
|
+
async function $do157(client, request, options) {
|
|
98874
98635
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98875
98636
|
if (!parsed.ok) {
|
|
98876
98637
|
return [parsed, { status: "invalid" }];
|
|
@@ -98966,12 +98727,12 @@ var init_transfersList = __esm(() => {
|
|
|
98966
98727
|
});
|
|
98967
98728
|
|
|
98968
98729
|
// src/mcp-server/tools/transfersList.ts
|
|
98969
|
-
var
|
|
98730
|
+
var args157, tool$transfersList;
|
|
98970
98731
|
var init_transfersList2 = __esm(() => {
|
|
98971
98732
|
init_transfersList();
|
|
98972
98733
|
init_operations();
|
|
98973
98734
|
init_tools();
|
|
98974
|
-
|
|
98735
|
+
args157 = {
|
|
98975
98736
|
request: ListTransfersRequest$inboundSchema
|
|
98976
98737
|
};
|
|
98977
98738
|
tool$transfersList = {
|
|
@@ -98987,9 +98748,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
98987
98748
|
|
|
98988
98749
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98989
98750
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98990
|
-
args:
|
|
98991
|
-
tool: async (client,
|
|
98992
|
-
const [result, apiCall] = await transfersList(client,
|
|
98751
|
+
args: args157,
|
|
98752
|
+
tool: async (client, args158, ctx) => {
|
|
98753
|
+
const [result, apiCall] = await transfersList(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98993
98754
|
if (!result.ok) {
|
|
98994
98755
|
return {
|
|
98995
98756
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99004,9 +98765,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99004
98765
|
|
|
99005
98766
|
// src/funcs/transfersListRefunds.ts
|
|
99006
98767
|
function transfersListRefunds(client, request, options) {
|
|
99007
|
-
return new APIPromise($
|
|
98768
|
+
return new APIPromise($do158(client, request, options));
|
|
99008
98769
|
}
|
|
99009
|
-
async function $
|
|
98770
|
+
async function $do158(client, request, options) {
|
|
99010
98771
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99011
98772
|
if (!parsed.ok) {
|
|
99012
98773
|
return [parsed, { status: "invalid" }];
|
|
@@ -99088,12 +98849,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
99088
98849
|
});
|
|
99089
98850
|
|
|
99090
98851
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
99091
|
-
var
|
|
98852
|
+
var args158, tool$transfersListRefunds;
|
|
99092
98853
|
var init_transfersListRefunds2 = __esm(() => {
|
|
99093
98854
|
init_transfersListRefunds();
|
|
99094
98855
|
init_operations();
|
|
99095
98856
|
init_tools();
|
|
99096
|
-
|
|
98857
|
+
args158 = {
|
|
99097
98858
|
request: ListRefundsRequest$inboundSchema
|
|
99098
98859
|
};
|
|
99099
98860
|
tool$transfersListRefunds = {
|
|
@@ -99102,9 +98863,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
99102
98863
|
|
|
99103
98864
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99104
98865
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
99105
|
-
args:
|
|
99106
|
-
tool: async (client,
|
|
99107
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
98866
|
+
args: args158,
|
|
98867
|
+
tool: async (client, args159, ctx) => {
|
|
98868
|
+
const [result, apiCall] = await transfersListRefunds(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99108
98869
|
if (!result.ok) {
|
|
99109
98870
|
return {
|
|
99110
98871
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99119,9 +98880,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99119
98880
|
|
|
99120
98881
|
// src/funcs/transfersUpdate.ts
|
|
99121
98882
|
function transfersUpdate(client, request, options) {
|
|
99122
|
-
return new APIPromise($
|
|
98883
|
+
return new APIPromise($do159(client, request, options));
|
|
99123
98884
|
}
|
|
99124
|
-
async function $
|
|
98885
|
+
async function $do159(client, request, options) {
|
|
99125
98886
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99126
98887
|
if (!parsed.ok) {
|
|
99127
98888
|
return [parsed, { status: "invalid" }];
|
|
@@ -99207,12 +98968,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
99207
98968
|
});
|
|
99208
98969
|
|
|
99209
98970
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
99210
|
-
var
|
|
98971
|
+
var args159, tool$transfersUpdate;
|
|
99211
98972
|
var init_transfersUpdate2 = __esm(() => {
|
|
99212
98973
|
init_transfersUpdate();
|
|
99213
98974
|
init_operations();
|
|
99214
98975
|
init_tools();
|
|
99215
|
-
|
|
98976
|
+
args159 = {
|
|
99216
98977
|
request: UpdateTransferRequest$inboundSchema
|
|
99217
98978
|
};
|
|
99218
98979
|
tool$transfersUpdate = {
|
|
@@ -99223,9 +98984,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
99223
98984
|
|
|
99224
98985
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99225
98986
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
99226
|
-
args:
|
|
99227
|
-
tool: async (client,
|
|
99228
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
98987
|
+
args: args159,
|
|
98988
|
+
tool: async (client, args160, ctx) => {
|
|
98989
|
+
const [result, apiCall] = await transfersUpdate(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99229
98990
|
if (!result.ok) {
|
|
99230
98991
|
return {
|
|
99231
98992
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99240,9 +99001,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
99240
99001
|
|
|
99241
99002
|
// src/funcs/underwritingGet.ts
|
|
99242
99003
|
function underwritingGet(client, request, options) {
|
|
99243
|
-
return new APIPromise($
|
|
99004
|
+
return new APIPromise($do160(client, request, options));
|
|
99244
99005
|
}
|
|
99245
|
-
async function $
|
|
99006
|
+
async function $do160(client, request, options) {
|
|
99246
99007
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99247
99008
|
if (!parsed.ok) {
|
|
99248
99009
|
return [parsed, { status: "invalid" }];
|
|
@@ -99320,12 +99081,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
99320
99081
|
});
|
|
99321
99082
|
|
|
99322
99083
|
// src/mcp-server/tools/underwritingGet.ts
|
|
99323
|
-
var
|
|
99084
|
+
var args160, tool$underwritingGet;
|
|
99324
99085
|
var init_underwritingGet2 = __esm(() => {
|
|
99325
99086
|
init_underwritingGet();
|
|
99326
99087
|
init_operations();
|
|
99327
99088
|
init_tools();
|
|
99328
|
-
|
|
99089
|
+
args160 = {
|
|
99329
99090
|
request: GetUnderwritingRequest$inboundSchema
|
|
99330
99091
|
};
|
|
99331
99092
|
tool$underwritingGet = {
|
|
@@ -99336,9 +99097,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99336
99097
|
|
|
99337
99098
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99338
99099
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
99339
|
-
args:
|
|
99340
|
-
tool: async (client,
|
|
99341
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
99100
|
+
args: args160,
|
|
99101
|
+
tool: async (client, args161, ctx) => {
|
|
99102
|
+
const [result, apiCall] = await underwritingGet(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99342
99103
|
if (!result.ok) {
|
|
99343
99104
|
return {
|
|
99344
99105
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99353,9 +99114,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99353
99114
|
|
|
99354
99115
|
// src/funcs/underwritingSave.ts
|
|
99355
99116
|
function underwritingSave(client, request, options) {
|
|
99356
|
-
return new APIPromise($
|
|
99117
|
+
return new APIPromise($do161(client, request, options));
|
|
99357
99118
|
}
|
|
99358
|
-
async function $
|
|
99119
|
+
async function $do161(client, request, options) {
|
|
99359
99120
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99360
99121
|
if (!parsed.ok) {
|
|
99361
99122
|
return [parsed, { status: "invalid" }];
|
|
@@ -99451,12 +99212,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
99451
99212
|
});
|
|
99452
99213
|
|
|
99453
99214
|
// src/mcp-server/tools/underwritingSave.ts
|
|
99454
|
-
var
|
|
99215
|
+
var args161, tool$underwritingSave;
|
|
99455
99216
|
var init_underwritingSave2 = __esm(() => {
|
|
99456
99217
|
init_underwritingSave();
|
|
99457
99218
|
init_operations();
|
|
99458
99219
|
init_tools();
|
|
99459
|
-
|
|
99220
|
+
args161 = {
|
|
99460
99221
|
request: SaveUnderwritingRequest$inboundSchema
|
|
99461
99222
|
};
|
|
99462
99223
|
tool$underwritingSave = {
|
|
@@ -99467,9 +99228,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99467
99228
|
|
|
99468
99229
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99469
99230
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
99470
|
-
args:
|
|
99471
|
-
tool: async (client,
|
|
99472
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
99231
|
+
args: args161,
|
|
99232
|
+
tool: async (client, args162, ctx) => {
|
|
99233
|
+
const [result, apiCall] = await underwritingSave(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99473
99234
|
if (!result.ok) {
|
|
99474
99235
|
return {
|
|
99475
99236
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99484,9 +99245,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
99484
99245
|
|
|
99485
99246
|
// src/funcs/underwritingUpsert.ts
|
|
99486
99247
|
function underwritingUpsert(client, request, options) {
|
|
99487
|
-
return new APIPromise($
|
|
99248
|
+
return new APIPromise($do162(client, request, options));
|
|
99488
99249
|
}
|
|
99489
|
-
async function $
|
|
99250
|
+
async function $do162(client, request, options) {
|
|
99490
99251
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99491
99252
|
if (!parsed.ok) {
|
|
99492
99253
|
return [parsed, { status: "invalid" }];
|
|
@@ -99582,12 +99343,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
99582
99343
|
});
|
|
99583
99344
|
|
|
99584
99345
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
99585
|
-
var
|
|
99346
|
+
var args162, tool$underwritingUpsert;
|
|
99586
99347
|
var init_underwritingUpsert2 = __esm(() => {
|
|
99587
99348
|
init_underwritingUpsert();
|
|
99588
99349
|
init_operations();
|
|
99589
99350
|
init_tools();
|
|
99590
|
-
|
|
99351
|
+
args162 = {
|
|
99591
99352
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
99592
99353
|
};
|
|
99593
99354
|
tool$underwritingUpsert = {
|
|
@@ -99598,9 +99359,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99598
99359
|
|
|
99599
99360
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99600
99361
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
99601
|
-
args:
|
|
99602
|
-
tool: async (client,
|
|
99603
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
99362
|
+
args: args162,
|
|
99363
|
+
tool: async (client, args163, ctx) => {
|
|
99364
|
+
const [result, apiCall] = await underwritingUpsert(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99604
99365
|
if (!result.ok) {
|
|
99605
99366
|
return {
|
|
99606
99367
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99615,9 +99376,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
99615
99376
|
|
|
99616
99377
|
// src/funcs/walletsCreate.ts
|
|
99617
99378
|
function walletsCreate(client, request, options) {
|
|
99618
|
-
return new APIPromise($
|
|
99379
|
+
return new APIPromise($do163(client, request, options));
|
|
99619
99380
|
}
|
|
99620
|
-
async function $
|
|
99381
|
+
async function $do163(client, request, options) {
|
|
99621
99382
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99622
99383
|
if (!parsed.ok) {
|
|
99623
99384
|
return [parsed, { status: "invalid" }];
|
|
@@ -99711,12 +99472,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
99711
99472
|
});
|
|
99712
99473
|
|
|
99713
99474
|
// src/mcp-server/tools/walletsCreate.ts
|
|
99714
|
-
var
|
|
99475
|
+
var args163, tool$walletsCreate;
|
|
99715
99476
|
var init_walletsCreate2 = __esm(() => {
|
|
99716
99477
|
init_walletsCreate();
|
|
99717
99478
|
init_operations();
|
|
99718
99479
|
init_tools();
|
|
99719
|
-
|
|
99480
|
+
args163 = {
|
|
99720
99481
|
request: CreateWalletRequest$inboundSchema
|
|
99721
99482
|
};
|
|
99722
99483
|
tool$walletsCreate = {
|
|
@@ -99727,9 +99488,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99727
99488
|
|
|
99728
99489
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99729
99490
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
99730
|
-
args:
|
|
99731
|
-
tool: async (client,
|
|
99732
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
99491
|
+
args: args163,
|
|
99492
|
+
tool: async (client, args164, ctx) => {
|
|
99493
|
+
const [result, apiCall] = await walletsCreate(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99733
99494
|
if (!result.ok) {
|
|
99734
99495
|
return {
|
|
99735
99496
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99744,9 +99505,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
99744
99505
|
|
|
99745
99506
|
// src/funcs/walletsGet.ts
|
|
99746
99507
|
function walletsGet(client, request, options) {
|
|
99747
|
-
return new APIPromise($
|
|
99508
|
+
return new APIPromise($do164(client, request, options));
|
|
99748
99509
|
}
|
|
99749
|
-
async function $
|
|
99510
|
+
async function $do164(client, request, options) {
|
|
99750
99511
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99751
99512
|
if (!parsed.ok) {
|
|
99752
99513
|
return [parsed, { status: "invalid" }];
|
|
@@ -99828,12 +99589,12 @@ var init_walletsGet = __esm(() => {
|
|
|
99828
99589
|
});
|
|
99829
99590
|
|
|
99830
99591
|
// src/mcp-server/tools/walletsGet.ts
|
|
99831
|
-
var
|
|
99592
|
+
var args164, tool$walletsGet;
|
|
99832
99593
|
var init_walletsGet2 = __esm(() => {
|
|
99833
99594
|
init_walletsGet();
|
|
99834
99595
|
init_operations();
|
|
99835
99596
|
init_tools();
|
|
99836
|
-
|
|
99597
|
+
args164 = {
|
|
99837
99598
|
request: GetWalletRequest$inboundSchema
|
|
99838
99599
|
};
|
|
99839
99600
|
tool$walletsGet = {
|
|
@@ -99844,9 +99605,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99844
99605
|
|
|
99845
99606
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99846
99607
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
99847
|
-
args:
|
|
99848
|
-
tool: async (client,
|
|
99849
|
-
const [result, apiCall] = await walletsGet(client,
|
|
99608
|
+
args: args164,
|
|
99609
|
+
tool: async (client, args165, ctx) => {
|
|
99610
|
+
const [result, apiCall] = await walletsGet(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99850
99611
|
if (!result.ok) {
|
|
99851
99612
|
return {
|
|
99852
99613
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99861,9 +99622,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
99861
99622
|
|
|
99862
99623
|
// src/funcs/walletsList.ts
|
|
99863
99624
|
function walletsList(client, request, options) {
|
|
99864
|
-
return new APIPromise($
|
|
99625
|
+
return new APIPromise($do165(client, request, options));
|
|
99865
99626
|
}
|
|
99866
|
-
async function $
|
|
99627
|
+
async function $do165(client, request, options) {
|
|
99867
99628
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99868
99629
|
if (!parsed.ok) {
|
|
99869
99630
|
return [parsed, { status: "invalid" }];
|
|
@@ -99951,12 +99712,12 @@ var init_walletsList = __esm(() => {
|
|
|
99951
99712
|
});
|
|
99952
99713
|
|
|
99953
99714
|
// src/mcp-server/tools/walletsList.ts
|
|
99954
|
-
var
|
|
99715
|
+
var args165, tool$walletsList;
|
|
99955
99716
|
var init_walletsList2 = __esm(() => {
|
|
99956
99717
|
init_walletsList();
|
|
99957
99718
|
init_operations();
|
|
99958
99719
|
init_tools();
|
|
99959
|
-
|
|
99720
|
+
args165 = {
|
|
99960
99721
|
request: ListWalletsRequest$inboundSchema
|
|
99961
99722
|
};
|
|
99962
99723
|
tool$walletsList = {
|
|
@@ -99967,9 +99728,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99967
99728
|
|
|
99968
99729
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99969
99730
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
99970
|
-
args:
|
|
99971
|
-
tool: async (client,
|
|
99972
|
-
const [result, apiCall] = await walletsList(client,
|
|
99731
|
+
args: args165,
|
|
99732
|
+
tool: async (client, args166, ctx) => {
|
|
99733
|
+
const [result, apiCall] = await walletsList(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99973
99734
|
if (!result.ok) {
|
|
99974
99735
|
return {
|
|
99975
99736
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99984,9 +99745,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
99984
99745
|
|
|
99985
99746
|
// src/funcs/walletsUpdate.ts
|
|
99986
99747
|
function walletsUpdate(client, request, options) {
|
|
99987
|
-
return new APIPromise($
|
|
99748
|
+
return new APIPromise($do166(client, request, options));
|
|
99988
99749
|
}
|
|
99989
|
-
async function $
|
|
99750
|
+
async function $do166(client, request, options) {
|
|
99990
99751
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99991
99752
|
if (!parsed.ok) {
|
|
99992
99753
|
return [parsed, { status: "invalid" }];
|
|
@@ -100084,12 +99845,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
100084
99845
|
});
|
|
100085
99846
|
|
|
100086
99847
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
100087
|
-
var
|
|
99848
|
+
var args166, tool$walletsUpdate;
|
|
100088
99849
|
var init_walletsUpdate2 = __esm(() => {
|
|
100089
99850
|
init_walletsUpdate();
|
|
100090
99851
|
init_operations();
|
|
100091
99852
|
init_tools();
|
|
100092
|
-
|
|
99853
|
+
args166 = {
|
|
100093
99854
|
request: UpdateWalletRequest$inboundSchema
|
|
100094
99855
|
};
|
|
100095
99856
|
tool$walletsUpdate = {
|
|
@@ -100100,9 +99861,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
100100
99861
|
|
|
100101
99862
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100102
99863
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
100103
|
-
args:
|
|
100104
|
-
tool: async (client,
|
|
100105
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
99864
|
+
args: args166,
|
|
99865
|
+
tool: async (client, args167, ctx) => {
|
|
99866
|
+
const [result, apiCall] = await walletsUpdate(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100106
99867
|
if (!result.ok) {
|
|
100107
99868
|
return {
|
|
100108
99869
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100117,9 +99878,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100117
99878
|
|
|
100118
99879
|
// src/funcs/walletTransactionsGet.ts
|
|
100119
99880
|
function walletTransactionsGet(client, request, options) {
|
|
100120
|
-
return new APIPromise($
|
|
99881
|
+
return new APIPromise($do167(client, request, options));
|
|
100121
99882
|
}
|
|
100122
|
-
async function $
|
|
99883
|
+
async function $do167(client, request, options) {
|
|
100123
99884
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100124
99885
|
if (!parsed.ok) {
|
|
100125
99886
|
return [parsed, { status: "invalid" }];
|
|
@@ -100205,12 +99966,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
100205
99966
|
});
|
|
100206
99967
|
|
|
100207
99968
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
100208
|
-
var
|
|
99969
|
+
var args167, tool$walletTransactionsGet;
|
|
100209
99970
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
100210
99971
|
init_walletTransactionsGet();
|
|
100211
99972
|
init_operations();
|
|
100212
99973
|
init_tools();
|
|
100213
|
-
|
|
99974
|
+
args167 = {
|
|
100214
99975
|
request: GetWalletTransactionRequest$inboundSchema
|
|
100215
99976
|
};
|
|
100216
99977
|
tool$walletTransactionsGet = {
|
|
@@ -100221,9 +99982,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
100221
99982
|
|
|
100222
99983
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100223
99984
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100224
|
-
args:
|
|
100225
|
-
tool: async (client,
|
|
100226
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
99985
|
+
args: args167,
|
|
99986
|
+
tool: async (client, args168, ctx) => {
|
|
99987
|
+
const [result, apiCall] = await walletTransactionsGet(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100227
99988
|
if (!result.ok) {
|
|
100228
99989
|
return {
|
|
100229
99990
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100238,9 +99999,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100238
99999
|
|
|
100239
100000
|
// src/funcs/walletTransactionsList.ts
|
|
100240
100001
|
function walletTransactionsList(client, request, options) {
|
|
100241
|
-
return new APIPromise($
|
|
100002
|
+
return new APIPromise($do168(client, request, options));
|
|
100242
100003
|
}
|
|
100243
|
-
async function $
|
|
100004
|
+
async function $do168(client, request, options) {
|
|
100244
100005
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100245
100006
|
if (!parsed.ok) {
|
|
100246
100007
|
return [parsed, { status: "invalid" }];
|
|
@@ -100340,12 +100101,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
100340
100101
|
});
|
|
100341
100102
|
|
|
100342
100103
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
100343
|
-
var
|
|
100104
|
+
var args168, tool$walletTransactionsList;
|
|
100344
100105
|
var init_walletTransactionsList2 = __esm(() => {
|
|
100345
100106
|
init_walletTransactionsList();
|
|
100346
100107
|
init_operations();
|
|
100347
100108
|
init_tools();
|
|
100348
|
-
|
|
100109
|
+
args168 = {
|
|
100349
100110
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
100350
100111
|
};
|
|
100351
100112
|
tool$walletTransactionsList = {
|
|
@@ -100356,9 +100117,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
100356
100117
|
|
|
100357
100118
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100358
100119
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100359
|
-
args:
|
|
100360
|
-
tool: async (client,
|
|
100361
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
100120
|
+
args: args168,
|
|
100121
|
+
tool: async (client, args169, ctx) => {
|
|
100122
|
+
const [result, apiCall] = await walletTransactionsList(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100362
100123
|
if (!result.ok) {
|
|
100363
100124
|
return {
|
|
100364
100125
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100375,7 +100136,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100375
100136
|
function createMCPServer(deps) {
|
|
100376
100137
|
const server = new McpServer({
|
|
100377
100138
|
name: "Moov",
|
|
100378
|
-
version: "0.22.
|
|
100139
|
+
version: "0.22.11"
|
|
100379
100140
|
});
|
|
100380
100141
|
const client = new MoovCore({
|
|
100381
100142
|
security: deps.security,
|
|
@@ -100465,7 +100226,6 @@ function createMCPServer(deps) {
|
|
|
100465
100226
|
tool(tool$invoicesListInvoices);
|
|
100466
100227
|
tool(tool$invoicesGetInvoice);
|
|
100467
100228
|
tool(tool$invoicesUpdateInvoice);
|
|
100468
|
-
tool(tool$invoicesMarkPaidInvoice);
|
|
100469
100229
|
tool(tool$paymentLinksCreate);
|
|
100470
100230
|
tool(tool$paymentLinksList);
|
|
100471
100231
|
tool(tool$paymentLinksGet);
|
|
@@ -100659,7 +100419,6 @@ var init_server2 = __esm(() => {
|
|
|
100659
100419
|
init_invoicesCreateInvoice2();
|
|
100660
100420
|
init_invoicesGetInvoice2();
|
|
100661
100421
|
init_invoicesListInvoices2();
|
|
100662
|
-
init_invoicesMarkPaidInvoice2();
|
|
100663
100422
|
init_invoicesUpdateInvoice2();
|
|
100664
100423
|
init_issuingTransactionsGet2();
|
|
100665
100424
|
init_issuingTransactionsGetAuthorization2();
|
|
@@ -101937,7 +101696,7 @@ var routes = rn({
|
|
|
101937
101696
|
var app = Ve(routes, {
|
|
101938
101697
|
name: "mcp",
|
|
101939
101698
|
versionInfo: {
|
|
101940
|
-
currentVersion: "0.22.
|
|
101699
|
+
currentVersion: "0.22.11"
|
|
101941
101700
|
}
|
|
101942
101701
|
});
|
|
101943
101702
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -101945,5 +101704,5 @@ export {
|
|
|
101945
101704
|
app
|
|
101946
101705
|
};
|
|
101947
101706
|
|
|
101948
|
-
//# debugId=
|
|
101707
|
+
//# debugId=5BFC7F9D350A3CAD64756E2164756E21
|
|
101949
101708
|
//# sourceMappingURL=mcp-server.js.map
|