@moovio/sdk 0.6.1 → 0.6.2
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 +19 -0
- package/bin/mcp-server.js +769 -272
- package/bin/mcp-server.js.map +20 -9
- package/docs/sdks/receipts/README.md +189 -0
- package/funcs/receiptsCreate.d.ts +18 -0
- package/funcs/receiptsCreate.d.ts.map +1 -0
- package/funcs/receiptsCreate.js +133 -0
- package/funcs/receiptsCreate.js.map +1 -0
- package/funcs/receiptsList.d.ts +16 -0
- package/funcs/receiptsList.d.ts.map +1 -0
- package/funcs/receiptsList.js +121 -0
- package/funcs/receiptsList.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +5 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/receiptsCreate.d.ts +9 -0
- package/mcp-server/tools/receiptsCreate.d.ts.map +1 -0
- package/mcp-server/tools/receiptsCreate.js +66 -0
- package/mcp-server/tools/receiptsCreate.js.map +1 -0
- package/mcp-server/tools/receiptsList.d.ts +8 -0
- package/mcp-server/tools/receiptsList.d.ts.map +1 -0
- package/mcp-server/tools/receiptsList.js +65 -0
- package/mcp-server/tools/receiptsList.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/components/receiptkind.d.ts +31 -0
- package/models/components/receiptkind.d.ts.map +1 -0
- package/models/components/receiptkind.js +63 -0
- package/models/components/receiptkind.js.map +1 -0
- package/models/components/receiptrequest.d.ts +76 -0
- package/models/components/receiptrequest.d.ts.map +1 -0
- package/models/components/receiptrequest.js +80 -0
- package/models/components/receiptrequest.js.map +1 -0
- package/models/components/receiptresponse.d.ts +94 -0
- package/models/components/receiptresponse.d.ts.map +1 -0
- package/models/components/receiptresponse.js +90 -0
- package/models/components/receiptresponse.js.map +1 -0
- package/models/components/sentreceipt.d.ts +42 -0
- package/models/components/sentreceipt.d.ts.map +1 -0
- package/models/components/sentreceipt.js +73 -0
- package/models/components/sentreceipt.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/receiptvalidationerror.d.ts +46 -0
- package/models/errors/receiptvalidationerror.d.ts.map +1 -0
- package/models/errors/receiptvalidationerror.js +98 -0
- package/models/errors/receiptvalidationerror.js.map +1 -0
- package/models/operations/createreceipts.d.ts +74 -0
- package/models/operations/createreceipts.d.ts.map +1 -0
- package/models/operations/createreceipts.js +118 -0
- package/models/operations/createreceipts.js.map +1 -0
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listreceipts.d.ts +102 -0
- package/models/operations/listreceipts.d.ts.map +1 -0
- package/models/operations/listreceipts.js +145 -0
- package/models/operations/listreceipts.js.map +1 -0
- package/package.json +1 -1
- package/sdk/receipts.d.ts +20 -0
- package/sdk/receipts.d.ts.map +1 -0
- package/sdk/receipts.js +32 -0
- package/sdk/receipts.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/receiptsCreate.ts +190 -0
- package/src/funcs/receiptsList.ts +171 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/receiptsCreate.ts +39 -0
- package/src/mcp-server/tools/receiptsList.ts +38 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/receiptkind.ts +36 -0
- package/src/models/components/receiptrequest.ts +123 -0
- package/src/models/components/receiptresponse.ts +157 -0
- package/src/models/components/sentreceipt.ts +79 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/receiptvalidationerror.ts +99 -0
- package/src/models/operations/createreceipts.ts +161 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listreceipts.ts +222 -0
- package/src/sdk/receipts.ts +46 -0
- package/src/sdk/sdk.ts +6 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34213,9 +34213,9 @@ var init_config = __esm(() => {
|
|
|
34213
34213
|
SDK_METADATA = {
|
|
34214
34214
|
language: "typescript",
|
|
34215
34215
|
openapiDocVersion: "latest",
|
|
34216
|
-
sdkVersion: "0.6.
|
|
34217
|
-
genVersion: "2.
|
|
34218
|
-
userAgent: "speakeasy-sdk/typescript 0.6.
|
|
34216
|
+
sdkVersion: "0.6.2",
|
|
34217
|
+
genVersion: "2.541.0",
|
|
34218
|
+
userAgent: "speakeasy-sdk/typescript 0.6.2 2.541.0 latest @moovio/sdk"
|
|
34219
34219
|
};
|
|
34220
34220
|
});
|
|
34221
34221
|
|
|
@@ -42846,6 +42846,104 @@ var init_qrcode = __esm(() => {
|
|
|
42846
42846
|
})(QRCode$ ||= {});
|
|
42847
42847
|
});
|
|
42848
42848
|
|
|
42849
|
+
// src/models/components/receiptkind.ts
|
|
42850
|
+
var ReceiptKind, ReceiptKind$inboundSchema, ReceiptKind$outboundSchema, ReceiptKind$;
|
|
42851
|
+
var init_receiptkind = __esm(() => {
|
|
42852
|
+
init_lib();
|
|
42853
|
+
ReceiptKind = {
|
|
42854
|
+
SaleCustomerV1: "sale.customer.v1"
|
|
42855
|
+
};
|
|
42856
|
+
ReceiptKind$inboundSchema = nativeEnumType(ReceiptKind);
|
|
42857
|
+
ReceiptKind$outboundSchema = ReceiptKind$inboundSchema;
|
|
42858
|
+
((ReceiptKind$) => {
|
|
42859
|
+
ReceiptKind$.inboundSchema = ReceiptKind$inboundSchema;
|
|
42860
|
+
ReceiptKind$.outboundSchema = ReceiptKind$outboundSchema;
|
|
42861
|
+
})(ReceiptKind$ ||= {});
|
|
42862
|
+
});
|
|
42863
|
+
|
|
42864
|
+
// src/models/components/receiptrequest.ts
|
|
42865
|
+
var ReceiptRequest$inboundSchema, ReceiptRequest$outboundSchema, ReceiptRequest$;
|
|
42866
|
+
var init_receiptrequest = __esm(() => {
|
|
42867
|
+
init_lib();
|
|
42868
|
+
init_receiptkind();
|
|
42869
|
+
ReceiptRequest$inboundSchema = objectType({
|
|
42870
|
+
kind: ReceiptKind$inboundSchema,
|
|
42871
|
+
email: stringType().optional(),
|
|
42872
|
+
emailAccountID: stringType().optional(),
|
|
42873
|
+
forTransferID: stringType().optional(),
|
|
42874
|
+
forScheduleID: stringType().optional(),
|
|
42875
|
+
forOccurrenceID: stringType().optional()
|
|
42876
|
+
});
|
|
42877
|
+
ReceiptRequest$outboundSchema = objectType({
|
|
42878
|
+
kind: ReceiptKind$outboundSchema,
|
|
42879
|
+
email: stringType().optional(),
|
|
42880
|
+
emailAccountID: stringType().optional(),
|
|
42881
|
+
forTransferID: stringType().optional(),
|
|
42882
|
+
forScheduleID: stringType().optional(),
|
|
42883
|
+
forOccurrenceID: stringType().optional()
|
|
42884
|
+
});
|
|
42885
|
+
((ReceiptRequest$) => {
|
|
42886
|
+
ReceiptRequest$.inboundSchema = ReceiptRequest$inboundSchema;
|
|
42887
|
+
ReceiptRequest$.outboundSchema = ReceiptRequest$outboundSchema;
|
|
42888
|
+
})(ReceiptRequest$ ||= {});
|
|
42889
|
+
});
|
|
42890
|
+
|
|
42891
|
+
// src/models/components/sentreceipt.ts
|
|
42892
|
+
var SentReceipt$inboundSchema, SentReceipt$outboundSchema, SentReceipt$;
|
|
42893
|
+
var init_sentreceipt = __esm(() => {
|
|
42894
|
+
init_lib();
|
|
42895
|
+
SentReceipt$inboundSchema = objectType({
|
|
42896
|
+
receiptID: stringType(),
|
|
42897
|
+
idempotencyKey: stringType(),
|
|
42898
|
+
sentOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
42899
|
+
});
|
|
42900
|
+
SentReceipt$outboundSchema = objectType({
|
|
42901
|
+
receiptID: stringType(),
|
|
42902
|
+
idempotencyKey: stringType(),
|
|
42903
|
+
sentOn: dateType().transform((v2) => v2.toISOString())
|
|
42904
|
+
});
|
|
42905
|
+
((SentReceipt$) => {
|
|
42906
|
+
SentReceipt$.inboundSchema = SentReceipt$inboundSchema;
|
|
42907
|
+
SentReceipt$.outboundSchema = SentReceipt$outboundSchema;
|
|
42908
|
+
})(SentReceipt$ ||= {});
|
|
42909
|
+
});
|
|
42910
|
+
|
|
42911
|
+
// src/models/components/receiptresponse.ts
|
|
42912
|
+
var ReceiptResponse$inboundSchema, ReceiptResponse$outboundSchema, ReceiptResponse$;
|
|
42913
|
+
var init_receiptresponse = __esm(() => {
|
|
42914
|
+
init_lib();
|
|
42915
|
+
init_receiptkind();
|
|
42916
|
+
init_sentreceipt();
|
|
42917
|
+
ReceiptResponse$inboundSchema = objectType({
|
|
42918
|
+
receiptID: stringType(),
|
|
42919
|
+
createdBy: stringType(),
|
|
42920
|
+
disabledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
42921
|
+
kind: ReceiptKind$inboundSchema,
|
|
42922
|
+
email: stringType().optional(),
|
|
42923
|
+
emailAccountID: stringType().optional(),
|
|
42924
|
+
forTransferID: stringType().optional(),
|
|
42925
|
+
forScheduleID: stringType().optional(),
|
|
42926
|
+
forOccurrenceID: stringType().optional(),
|
|
42927
|
+
sentFor: arrayType(SentReceipt$inboundSchema)
|
|
42928
|
+
});
|
|
42929
|
+
ReceiptResponse$outboundSchema = objectType({
|
|
42930
|
+
receiptID: stringType(),
|
|
42931
|
+
createdBy: stringType(),
|
|
42932
|
+
disabledOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
42933
|
+
kind: ReceiptKind$outboundSchema,
|
|
42934
|
+
email: stringType().optional(),
|
|
42935
|
+
emailAccountID: stringType().optional(),
|
|
42936
|
+
forTransferID: stringType().optional(),
|
|
42937
|
+
forScheduleID: stringType().optional(),
|
|
42938
|
+
forOccurrenceID: stringType().optional(),
|
|
42939
|
+
sentFor: arrayType(SentReceipt$outboundSchema)
|
|
42940
|
+
});
|
|
42941
|
+
((ReceiptResponse$) => {
|
|
42942
|
+
ReceiptResponse$.inboundSchema = ReceiptResponse$inboundSchema;
|
|
42943
|
+
ReceiptResponse$.outboundSchema = ReceiptResponse$outboundSchema;
|
|
42944
|
+
})(ReceiptResponse$ ||= {});
|
|
42945
|
+
});
|
|
42946
|
+
|
|
42849
42947
|
// src/models/components/recur.ts
|
|
42850
42948
|
var Recur$inboundSchema, Recur$outboundSchema, Recur$;
|
|
42851
42949
|
var init_recur = __esm(() => {
|
|
@@ -44533,6 +44631,9 @@ var init_components = __esm(() => {
|
|
|
44533
44631
|
init_pullfromcardpaymentmethod();
|
|
44534
44632
|
init_pushtocardpaymentmethod();
|
|
44535
44633
|
init_qrcode();
|
|
44634
|
+
init_receiptkind();
|
|
44635
|
+
init_receiptrequest();
|
|
44636
|
+
init_receiptresponse();
|
|
44536
44637
|
init_recur();
|
|
44537
44638
|
init_refundcarddetails();
|
|
44538
44639
|
init_refundcardstatus();
|
|
@@ -44560,6 +44661,7 @@ var init_components = __esm(() => {
|
|
|
44560
44661
|
init_scheduleresponse();
|
|
44561
44662
|
init_seccode();
|
|
44562
44663
|
init_security2();
|
|
44664
|
+
init_sentreceipt();
|
|
44563
44665
|
init_settings();
|
|
44564
44666
|
init_sourcedestinationoptions();
|
|
44565
44667
|
init_sweep();
|
|
@@ -45415,6 +45517,61 @@ var init_patchsweepconfigerror = __esm(() => {
|
|
|
45415
45517
|
})(PatchSweepConfigError$ ||= {});
|
|
45416
45518
|
});
|
|
45417
45519
|
|
|
45520
|
+
// src/models/errors/receiptvalidationerror.ts
|
|
45521
|
+
var ReceiptValidationError, ReceiptValidationError$inboundSchema, ReceiptValidationError$outboundSchema, ReceiptValidationError$;
|
|
45522
|
+
var init_receiptvalidationerror = __esm(() => {
|
|
45523
|
+
init_lib();
|
|
45524
|
+
ReceiptValidationError = class ReceiptValidationError extends Error {
|
|
45525
|
+
kind;
|
|
45526
|
+
email;
|
|
45527
|
+
emailAccountID;
|
|
45528
|
+
forTransferID;
|
|
45529
|
+
forScheduleID;
|
|
45530
|
+
forOccurrenceID;
|
|
45531
|
+
data$;
|
|
45532
|
+
constructor(err) {
|
|
45533
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
45534
|
+
super(message);
|
|
45535
|
+
this.data$ = err;
|
|
45536
|
+
if (err.kind != null)
|
|
45537
|
+
this.kind = err.kind;
|
|
45538
|
+
if (err.email != null)
|
|
45539
|
+
this.email = err.email;
|
|
45540
|
+
if (err.emailAccountID != null)
|
|
45541
|
+
this.emailAccountID = err.emailAccountID;
|
|
45542
|
+
if (err.forTransferID != null)
|
|
45543
|
+
this.forTransferID = err.forTransferID;
|
|
45544
|
+
if (err.forScheduleID != null)
|
|
45545
|
+
this.forScheduleID = err.forScheduleID;
|
|
45546
|
+
if (err.forOccurrenceID != null)
|
|
45547
|
+
this.forOccurrenceID = err.forOccurrenceID;
|
|
45548
|
+
this.name = "ReceiptValidationError";
|
|
45549
|
+
}
|
|
45550
|
+
};
|
|
45551
|
+
ReceiptValidationError$inboundSchema = objectType({
|
|
45552
|
+
kind: stringType().optional(),
|
|
45553
|
+
email: stringType().optional(),
|
|
45554
|
+
emailAccountID: stringType().optional(),
|
|
45555
|
+
forTransferID: stringType().optional(),
|
|
45556
|
+
forScheduleID: stringType().optional(),
|
|
45557
|
+
forOccurrenceID: stringType().optional()
|
|
45558
|
+
}).transform((v2) => {
|
|
45559
|
+
return new ReceiptValidationError(v2);
|
|
45560
|
+
});
|
|
45561
|
+
ReceiptValidationError$outboundSchema = instanceOfType(ReceiptValidationError).transform((v2) => v2.data$).pipe(objectType({
|
|
45562
|
+
kind: stringType().optional(),
|
|
45563
|
+
email: stringType().optional(),
|
|
45564
|
+
emailAccountID: stringType().optional(),
|
|
45565
|
+
forTransferID: stringType().optional(),
|
|
45566
|
+
forScheduleID: stringType().optional(),
|
|
45567
|
+
forOccurrenceID: stringType().optional()
|
|
45568
|
+
}));
|
|
45569
|
+
((ReceiptValidationError$) => {
|
|
45570
|
+
ReceiptValidationError$.inboundSchema = ReceiptValidationError$inboundSchema;
|
|
45571
|
+
ReceiptValidationError$.outboundSchema = ReceiptValidationError$outboundSchema;
|
|
45572
|
+
})(ReceiptValidationError$ ||= {});
|
|
45573
|
+
});
|
|
45574
|
+
|
|
45418
45575
|
// src/models/errors/refundvalidationerror.ts
|
|
45419
45576
|
var RefundValidationError, RefundValidationError$inboundSchema, RefundValidationError$outboundSchema, RefundValidationError$;
|
|
45420
45577
|
var init_refundvalidationerror = __esm(() => {
|
|
@@ -46248,6 +46405,7 @@ var init_errors = __esm(() => {
|
|
|
46248
46405
|
init_microdepositvalidationerror();
|
|
46249
46406
|
init_onboardinginviteerror();
|
|
46250
46407
|
init_patchsweepconfigerror();
|
|
46408
|
+
init_receiptvalidationerror();
|
|
46251
46409
|
init_refundvalidationerror();
|
|
46252
46410
|
init_representativevalidationerror();
|
|
46253
46411
|
init_requestcarderror();
|
|
@@ -47065,6 +47223,54 @@ var init_createpaymentlink2 = __esm(() => {
|
|
|
47065
47223
|
})(CreatePaymentLinkResponse$ ||= {});
|
|
47066
47224
|
});
|
|
47067
47225
|
|
|
47226
|
+
// src/models/operations/createreceipts.ts
|
|
47227
|
+
var CreateReceiptsGlobals$inboundSchema, CreateReceiptsGlobals$outboundSchema, CreateReceiptsGlobals$, CreateReceiptsResponse$inboundSchema, CreateReceiptsResponse$outboundSchema, CreateReceiptsResponse$;
|
|
47228
|
+
var init_createreceipts = __esm(() => {
|
|
47229
|
+
init_lib();
|
|
47230
|
+
init_primitives();
|
|
47231
|
+
init_components();
|
|
47232
|
+
CreateReceiptsGlobals$inboundSchema = objectType({
|
|
47233
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
47234
|
+
}).transform((v2) => {
|
|
47235
|
+
return remap(v2, {
|
|
47236
|
+
"x-moov-version": "xMoovVersion"
|
|
47237
|
+
});
|
|
47238
|
+
});
|
|
47239
|
+
CreateReceiptsGlobals$outboundSchema = objectType({
|
|
47240
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
47241
|
+
}).transform((v2) => {
|
|
47242
|
+
return remap(v2, {
|
|
47243
|
+
xMoovVersion: "x-moov-version"
|
|
47244
|
+
});
|
|
47245
|
+
});
|
|
47246
|
+
((CreateReceiptsGlobals$) => {
|
|
47247
|
+
CreateReceiptsGlobals$.inboundSchema = CreateReceiptsGlobals$inboundSchema;
|
|
47248
|
+
CreateReceiptsGlobals$.outboundSchema = CreateReceiptsGlobals$outboundSchema;
|
|
47249
|
+
})(CreateReceiptsGlobals$ ||= {});
|
|
47250
|
+
CreateReceiptsResponse$inboundSchema = objectType({
|
|
47251
|
+
Headers: recordType(arrayType(stringType())),
|
|
47252
|
+
Result: ReceiptResponse$inboundSchema
|
|
47253
|
+
}).transform((v2) => {
|
|
47254
|
+
return remap(v2, {
|
|
47255
|
+
Headers: "headers",
|
|
47256
|
+
Result: "result"
|
|
47257
|
+
});
|
|
47258
|
+
});
|
|
47259
|
+
CreateReceiptsResponse$outboundSchema = objectType({
|
|
47260
|
+
headers: recordType(arrayType(stringType())),
|
|
47261
|
+
result: ReceiptResponse$outboundSchema
|
|
47262
|
+
}).transform((v2) => {
|
|
47263
|
+
return remap(v2, {
|
|
47264
|
+
headers: "Headers",
|
|
47265
|
+
result: "Result"
|
|
47266
|
+
});
|
|
47267
|
+
});
|
|
47268
|
+
((CreateReceiptsResponse$) => {
|
|
47269
|
+
CreateReceiptsResponse$.inboundSchema = CreateReceiptsResponse$inboundSchema;
|
|
47270
|
+
CreateReceiptsResponse$.outboundSchema = CreateReceiptsResponse$outboundSchema;
|
|
47271
|
+
})(CreateReceiptsResponse$ ||= {});
|
|
47272
|
+
});
|
|
47273
|
+
|
|
47068
47274
|
// src/models/operations/createrepresentative.ts
|
|
47069
47275
|
var CreateRepresentativeGlobals$inboundSchema, CreateRepresentativeGlobals$outboundSchema, CreateRepresentativeGlobals$, CreateRepresentativeRequest$inboundSchema, CreateRepresentativeRequest$outboundSchema, CreateRepresentativeRequest$, CreateRepresentativeResponse$inboundSchema, CreateRepresentativeResponse$outboundSchema, CreateRepresentativeResponse$;
|
|
47070
47276
|
var init_createrepresentative2 = __esm(() => {
|
|
@@ -52182,6 +52388,64 @@ var init_listpaymentmethods = __esm(() => {
|
|
|
52182
52388
|
})(ListPaymentMethodsResponse$ ||= {});
|
|
52183
52389
|
});
|
|
52184
52390
|
|
|
52391
|
+
// src/models/operations/listreceipts.ts
|
|
52392
|
+
var ListReceiptsGlobals$inboundSchema, ListReceiptsGlobals$outboundSchema, ListReceiptsGlobals$, ListReceiptsRequest$inboundSchema, ListReceiptsRequest$outboundSchema, ListReceiptsRequest$, ListReceiptsResponse$inboundSchema, ListReceiptsResponse$outboundSchema, ListReceiptsResponse$;
|
|
52393
|
+
var init_listreceipts = __esm(() => {
|
|
52394
|
+
init_lib();
|
|
52395
|
+
init_primitives();
|
|
52396
|
+
init_components();
|
|
52397
|
+
ListReceiptsGlobals$inboundSchema = objectType({
|
|
52398
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
52399
|
+
}).transform((v2) => {
|
|
52400
|
+
return remap(v2, {
|
|
52401
|
+
"x-moov-version": "xMoovVersion"
|
|
52402
|
+
});
|
|
52403
|
+
});
|
|
52404
|
+
ListReceiptsGlobals$outboundSchema = objectType({
|
|
52405
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
52406
|
+
}).transform((v2) => {
|
|
52407
|
+
return remap(v2, {
|
|
52408
|
+
xMoovVersion: "x-moov-version"
|
|
52409
|
+
});
|
|
52410
|
+
});
|
|
52411
|
+
((ListReceiptsGlobals$) => {
|
|
52412
|
+
ListReceiptsGlobals$.inboundSchema = ListReceiptsGlobals$inboundSchema;
|
|
52413
|
+
ListReceiptsGlobals$.outboundSchema = ListReceiptsGlobals$outboundSchema;
|
|
52414
|
+
})(ListReceiptsGlobals$ ||= {});
|
|
52415
|
+
ListReceiptsRequest$inboundSchema = objectType({
|
|
52416
|
+
id: stringType().optional()
|
|
52417
|
+
});
|
|
52418
|
+
ListReceiptsRequest$outboundSchema = objectType({
|
|
52419
|
+
id: stringType().optional()
|
|
52420
|
+
});
|
|
52421
|
+
((ListReceiptsRequest$) => {
|
|
52422
|
+
ListReceiptsRequest$.inboundSchema = ListReceiptsRequest$inboundSchema;
|
|
52423
|
+
ListReceiptsRequest$.outboundSchema = ListReceiptsRequest$outboundSchema;
|
|
52424
|
+
})(ListReceiptsRequest$ ||= {});
|
|
52425
|
+
ListReceiptsResponse$inboundSchema = objectType({
|
|
52426
|
+
Headers: recordType(arrayType(stringType())),
|
|
52427
|
+
Result: arrayType(ReceiptResponse$inboundSchema)
|
|
52428
|
+
}).transform((v2) => {
|
|
52429
|
+
return remap(v2, {
|
|
52430
|
+
Headers: "headers",
|
|
52431
|
+
Result: "result"
|
|
52432
|
+
});
|
|
52433
|
+
});
|
|
52434
|
+
ListReceiptsResponse$outboundSchema = objectType({
|
|
52435
|
+
headers: recordType(arrayType(stringType())),
|
|
52436
|
+
result: arrayType(ReceiptResponse$outboundSchema)
|
|
52437
|
+
}).transform((v2) => {
|
|
52438
|
+
return remap(v2, {
|
|
52439
|
+
headers: "Headers",
|
|
52440
|
+
result: "Result"
|
|
52441
|
+
});
|
|
52442
|
+
});
|
|
52443
|
+
((ListReceiptsResponse$) => {
|
|
52444
|
+
ListReceiptsResponse$.inboundSchema = ListReceiptsResponse$inboundSchema;
|
|
52445
|
+
ListReceiptsResponse$.outboundSchema = ListReceiptsResponse$outboundSchema;
|
|
52446
|
+
})(ListReceiptsResponse$ ||= {});
|
|
52447
|
+
});
|
|
52448
|
+
|
|
52185
52449
|
// src/models/operations/listrefunds.ts
|
|
52186
52450
|
var ListRefundsGlobals$inboundSchema, ListRefundsGlobals$outboundSchema, ListRefundsGlobals$, ListRefundsRequest$inboundSchema, ListRefundsRequest$outboundSchema, ListRefundsRequest$, ListRefundsResponse$inboundSchema, ListRefundsResponse$outboundSchema, ListRefundsResponse$;
|
|
52187
52451
|
var init_listrefunds = __esm(() => {
|
|
@@ -54399,6 +54663,7 @@ var init_operations = __esm(() => {
|
|
|
54399
54663
|
init_createfeeplanagreements();
|
|
54400
54664
|
init_createonboardinginvite();
|
|
54401
54665
|
init_createpaymentlink2();
|
|
54666
|
+
init_createreceipts();
|
|
54402
54667
|
init_createrepresentative2();
|
|
54403
54668
|
init_createreversal2();
|
|
54404
54669
|
init_createschedule();
|
|
@@ -54481,6 +54746,7 @@ var init_operations = __esm(() => {
|
|
|
54481
54746
|
init_listpartnerpricingagreements();
|
|
54482
54747
|
init_listpaymentlinks();
|
|
54483
54748
|
init_listpaymentmethods();
|
|
54749
|
+
init_listreceipts();
|
|
54484
54750
|
init_listrefunds();
|
|
54485
54751
|
init_listrepresentatives();
|
|
54486
54752
|
init_listschedules();
|
|
@@ -65307,11 +65573,238 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
65307
65573
|
};
|
|
65308
65574
|
});
|
|
65309
65575
|
|
|
65310
|
-
// src/funcs/
|
|
65311
|
-
function
|
|
65576
|
+
// src/funcs/receiptsCreate.ts
|
|
65577
|
+
function receiptsCreate(client, request, options) {
|
|
65312
65578
|
return new APIPromise($do92(client, request, options));
|
|
65313
65579
|
}
|
|
65314
65580
|
async function $do92(client, request, options) {
|
|
65581
|
+
const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
65582
|
+
if (!parsed.ok) {
|
|
65583
|
+
return [parsed, { status: "invalid" }];
|
|
65584
|
+
}
|
|
65585
|
+
const payload = parsed.value;
|
|
65586
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
65587
|
+
const path = pathToFunc("/receipts")();
|
|
65588
|
+
const headers = new Headers(compactMap({
|
|
65589
|
+
"Content-Type": "application/json",
|
|
65590
|
+
Accept: "application/json",
|
|
65591
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
65592
|
+
}));
|
|
65593
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
65594
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
65595
|
+
const context = {
|
|
65596
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
65597
|
+
operationID: "createReceipts",
|
|
65598
|
+
oAuth2Scopes: [],
|
|
65599
|
+
resolvedSecurity: requestSecurity,
|
|
65600
|
+
securitySource: client._options.security,
|
|
65601
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
65602
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
65603
|
+
};
|
|
65604
|
+
const requestRes = client._createRequest(context, {
|
|
65605
|
+
security: requestSecurity,
|
|
65606
|
+
method: "POST",
|
|
65607
|
+
baseURL: options?.serverURL,
|
|
65608
|
+
path,
|
|
65609
|
+
headers,
|
|
65610
|
+
body,
|
|
65611
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
65612
|
+
}, options);
|
|
65613
|
+
if (!requestRes.ok) {
|
|
65614
|
+
return [requestRes, { status: "invalid" }];
|
|
65615
|
+
}
|
|
65616
|
+
const req = requestRes.value;
|
|
65617
|
+
const doResult = await client._do(req, {
|
|
65618
|
+
context,
|
|
65619
|
+
errorCodes: [
|
|
65620
|
+
"400",
|
|
65621
|
+
"401",
|
|
65622
|
+
"403",
|
|
65623
|
+
"404",
|
|
65624
|
+
"409",
|
|
65625
|
+
"422",
|
|
65626
|
+
"429",
|
|
65627
|
+
"4XX",
|
|
65628
|
+
"500",
|
|
65629
|
+
"504",
|
|
65630
|
+
"5XX"
|
|
65631
|
+
],
|
|
65632
|
+
retryConfig: context.retryConfig,
|
|
65633
|
+
retryCodes: context.retryCodes
|
|
65634
|
+
});
|
|
65635
|
+
if (!doResult.ok) {
|
|
65636
|
+
return [doResult, { status: "request-error", request: req }];
|
|
65637
|
+
}
|
|
65638
|
+
const response = doResult.value;
|
|
65639
|
+
const responseFields = {
|
|
65640
|
+
HttpMeta: { Response: response, Request: req }
|
|
65641
|
+
};
|
|
65642
|
+
const [result] = await match(json(200, CreateReceiptsResponse$inboundSchema, {
|
|
65643
|
+
hdrs: true,
|
|
65644
|
+
key: "Result"
|
|
65645
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, ReceiptValidationError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
65646
|
+
if (!result.ok) {
|
|
65647
|
+
return [result, { status: "complete", request: req, response }];
|
|
65648
|
+
}
|
|
65649
|
+
return [result, { status: "complete", request: req, response }];
|
|
65650
|
+
}
|
|
65651
|
+
var init_receiptsCreate = __esm(() => {
|
|
65652
|
+
init_lib();
|
|
65653
|
+
init_encodings();
|
|
65654
|
+
init_matchers();
|
|
65655
|
+
init_primitives();
|
|
65656
|
+
init_schemas();
|
|
65657
|
+
init_security();
|
|
65658
|
+
init_url();
|
|
65659
|
+
init_components();
|
|
65660
|
+
init_errors();
|
|
65661
|
+
init_operations();
|
|
65662
|
+
init_async();
|
|
65663
|
+
});
|
|
65664
|
+
|
|
65665
|
+
// src/mcp-server/tools/receiptsCreate.ts
|
|
65666
|
+
var args92, tool$receiptsCreate;
|
|
65667
|
+
var init_receiptsCreate2 = __esm(() => {
|
|
65668
|
+
init_lib();
|
|
65669
|
+
init_receiptsCreate();
|
|
65670
|
+
init_components();
|
|
65671
|
+
init_tools();
|
|
65672
|
+
args92 = {
|
|
65673
|
+
request: arrayType(ReceiptRequest$inboundSchema)
|
|
65674
|
+
};
|
|
65675
|
+
tool$receiptsCreate = {
|
|
65676
|
+
name: "receipts_create",
|
|
65677
|
+
description: ` Create receipts for transfers and scheduled transfers.
|
|
65678
|
+
|
|
65679
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
65680
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
65681
|
+
args: args92,
|
|
65682
|
+
tool: async (client, args93, ctx) => {
|
|
65683
|
+
const [result, apiCall] = await receiptsCreate(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65684
|
+
if (!result.ok) {
|
|
65685
|
+
return {
|
|
65686
|
+
content: [{ type: "text", text: result.error.message }],
|
|
65687
|
+
isError: true
|
|
65688
|
+
};
|
|
65689
|
+
}
|
|
65690
|
+
const value = result.value.result;
|
|
65691
|
+
return formatResult(value, apiCall);
|
|
65692
|
+
}
|
|
65693
|
+
};
|
|
65694
|
+
});
|
|
65695
|
+
|
|
65696
|
+
// src/funcs/receiptsList.ts
|
|
65697
|
+
function receiptsList(client, request, options) {
|
|
65698
|
+
return new APIPromise($do93(client, request, options));
|
|
65699
|
+
}
|
|
65700
|
+
async function $do93(client, request, options) {
|
|
65701
|
+
const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65702
|
+
if (!parsed.ok) {
|
|
65703
|
+
return [parsed, { status: "invalid" }];
|
|
65704
|
+
}
|
|
65705
|
+
const payload = parsed.value;
|
|
65706
|
+
const body = null;
|
|
65707
|
+
const path = pathToFunc("/receipts")();
|
|
65708
|
+
const query = encodeFormQuery({
|
|
65709
|
+
id: payload.id
|
|
65710
|
+
}, { explode: false });
|
|
65711
|
+
const headers = new Headers(compactMap({
|
|
65712
|
+
Accept: "application/json",
|
|
65713
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
65714
|
+
}));
|
|
65715
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
65716
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
65717
|
+
const context = {
|
|
65718
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
65719
|
+
operationID: "listReceipts",
|
|
65720
|
+
oAuth2Scopes: [],
|
|
65721
|
+
resolvedSecurity: requestSecurity,
|
|
65722
|
+
securitySource: client._options.security,
|
|
65723
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
65724
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
65725
|
+
};
|
|
65726
|
+
const requestRes = client._createRequest(context, {
|
|
65727
|
+
security: requestSecurity,
|
|
65728
|
+
method: "GET",
|
|
65729
|
+
baseURL: options?.serverURL,
|
|
65730
|
+
path,
|
|
65731
|
+
headers,
|
|
65732
|
+
query,
|
|
65733
|
+
body,
|
|
65734
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
65735
|
+
}, options);
|
|
65736
|
+
if (!requestRes.ok) {
|
|
65737
|
+
return [requestRes, { status: "invalid" }];
|
|
65738
|
+
}
|
|
65739
|
+
const req = requestRes.value;
|
|
65740
|
+
const doResult = await client._do(req, {
|
|
65741
|
+
context,
|
|
65742
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
65743
|
+
retryConfig: context.retryConfig,
|
|
65744
|
+
retryCodes: context.retryCodes
|
|
65745
|
+
});
|
|
65746
|
+
if (!doResult.ok) {
|
|
65747
|
+
return [doResult, { status: "request-error", request: req }];
|
|
65748
|
+
}
|
|
65749
|
+
const response = doResult.value;
|
|
65750
|
+
const responseFields = {
|
|
65751
|
+
HttpMeta: { Response: response, Request: req }
|
|
65752
|
+
};
|
|
65753
|
+
const [result] = await match(json(200, ListReceiptsResponse$inboundSchema, {
|
|
65754
|
+
hdrs: true,
|
|
65755
|
+
key: "Result"
|
|
65756
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
65757
|
+
if (!result.ok) {
|
|
65758
|
+
return [result, { status: "complete", request: req, response }];
|
|
65759
|
+
}
|
|
65760
|
+
return [result, { status: "complete", request: req, response }];
|
|
65761
|
+
}
|
|
65762
|
+
var init_receiptsList = __esm(() => {
|
|
65763
|
+
init_encodings();
|
|
65764
|
+
init_matchers();
|
|
65765
|
+
init_primitives();
|
|
65766
|
+
init_schemas();
|
|
65767
|
+
init_security();
|
|
65768
|
+
init_url();
|
|
65769
|
+
init_operations();
|
|
65770
|
+
init_async();
|
|
65771
|
+
});
|
|
65772
|
+
|
|
65773
|
+
// src/mcp-server/tools/receiptsList.ts
|
|
65774
|
+
var args93, tool$receiptsList;
|
|
65775
|
+
var init_receiptsList2 = __esm(() => {
|
|
65776
|
+
init_receiptsList();
|
|
65777
|
+
init_operations();
|
|
65778
|
+
init_tools();
|
|
65779
|
+
args93 = {
|
|
65780
|
+
request: ListReceiptsRequest$inboundSchema
|
|
65781
|
+
};
|
|
65782
|
+
tool$receiptsList = {
|
|
65783
|
+
name: "receipts_list",
|
|
65784
|
+
description: `List receipts by trasnferID, scheduleID, or occurrenceID.
|
|
65785
|
+
|
|
65786
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
65787
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
65788
|
+
args: args93,
|
|
65789
|
+
tool: async (client, args94, ctx) => {
|
|
65790
|
+
const [result, apiCall] = await receiptsList(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65791
|
+
if (!result.ok) {
|
|
65792
|
+
return {
|
|
65793
|
+
content: [{ type: "text", text: result.error.message }],
|
|
65794
|
+
isError: true
|
|
65795
|
+
};
|
|
65796
|
+
}
|
|
65797
|
+
const value = result.value.result;
|
|
65798
|
+
return formatResult(value, apiCall);
|
|
65799
|
+
}
|
|
65800
|
+
};
|
|
65801
|
+
});
|
|
65802
|
+
|
|
65803
|
+
// src/funcs/representativesCreate.ts
|
|
65804
|
+
function representativesCreate(client, request, options) {
|
|
65805
|
+
return new APIPromise($do94(client, request, options));
|
|
65806
|
+
}
|
|
65807
|
+
async function $do94(client, request, options) {
|
|
65315
65808
|
const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65316
65809
|
if (!parsed.ok) {
|
|
65317
65810
|
return [parsed, { status: "invalid" }];
|
|
@@ -65405,12 +65898,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
65405
65898
|
});
|
|
65406
65899
|
|
|
65407
65900
|
// src/mcp-server/tools/representativesCreate.ts
|
|
65408
|
-
var
|
|
65901
|
+
var args94, tool$representativesCreate;
|
|
65409
65902
|
var init_representativesCreate2 = __esm(() => {
|
|
65410
65903
|
init_representativesCreate();
|
|
65411
65904
|
init_operations();
|
|
65412
65905
|
init_tools();
|
|
65413
|
-
|
|
65906
|
+
args94 = {
|
|
65414
65907
|
request: CreateRepresentativeRequest$inboundSchema
|
|
65415
65908
|
};
|
|
65416
65909
|
tool$representativesCreate = {
|
|
@@ -65421,9 +65914,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
65421
65914
|
|
|
65422
65915
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
65423
65916
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
65424
|
-
args:
|
|
65425
|
-
tool: async (client,
|
|
65426
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
65917
|
+
args: args94,
|
|
65918
|
+
tool: async (client, args95, ctx) => {
|
|
65919
|
+
const [result, apiCall] = await representativesCreate(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65427
65920
|
if (!result.ok) {
|
|
65428
65921
|
return {
|
|
65429
65922
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65438,9 +65931,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
65438
65931
|
|
|
65439
65932
|
// src/funcs/representativesDelete.ts
|
|
65440
65933
|
function representativesDelete(client, request, options) {
|
|
65441
|
-
return new APIPromise($
|
|
65934
|
+
return new APIPromise($do95(client, request, options));
|
|
65442
65935
|
}
|
|
65443
|
-
async function $
|
|
65936
|
+
async function $do95(client, request, options) {
|
|
65444
65937
|
const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65445
65938
|
if (!parsed.ok) {
|
|
65446
65939
|
return [parsed, { status: "invalid" }];
|
|
@@ -65526,12 +66019,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
65526
66019
|
});
|
|
65527
66020
|
|
|
65528
66021
|
// src/mcp-server/tools/representativesDelete.ts
|
|
65529
|
-
var
|
|
66022
|
+
var args95, tool$representativesDelete;
|
|
65530
66023
|
var init_representativesDelete2 = __esm(() => {
|
|
65531
66024
|
init_representativesDelete();
|
|
65532
66025
|
init_operations();
|
|
65533
66026
|
init_tools();
|
|
65534
|
-
|
|
66027
|
+
args95 = {
|
|
65535
66028
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
65536
66029
|
};
|
|
65537
66030
|
tool$representativesDelete = {
|
|
@@ -65540,9 +66033,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
65540
66033
|
|
|
65541
66034
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
65542
66035
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
65543
|
-
args:
|
|
65544
|
-
tool: async (client,
|
|
65545
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
66036
|
+
args: args95,
|
|
66037
|
+
tool: async (client, args96, ctx) => {
|
|
66038
|
+
const [result, apiCall] = await representativesDelete(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65546
66039
|
if (!result.ok) {
|
|
65547
66040
|
return {
|
|
65548
66041
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65556,9 +66049,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
65556
66049
|
|
|
65557
66050
|
// src/funcs/representativesGet.ts
|
|
65558
66051
|
function representativesGet(client, request, options) {
|
|
65559
|
-
return new APIPromise($
|
|
66052
|
+
return new APIPromise($do96(client, request, options));
|
|
65560
66053
|
}
|
|
65561
|
-
async function $
|
|
66054
|
+
async function $do96(client, request, options) {
|
|
65562
66055
|
const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65563
66056
|
if (!parsed.ok) {
|
|
65564
66057
|
return [parsed, { status: "invalid" }];
|
|
@@ -65635,12 +66128,12 @@ var init_representativesGet = __esm(() => {
|
|
|
65635
66128
|
});
|
|
65636
66129
|
|
|
65637
66130
|
// src/mcp-server/tools/representativesGet.ts
|
|
65638
|
-
var
|
|
66131
|
+
var args96, tool$representativesGet;
|
|
65639
66132
|
var init_representativesGet2 = __esm(() => {
|
|
65640
66133
|
init_representativesGet();
|
|
65641
66134
|
init_operations();
|
|
65642
66135
|
init_tools();
|
|
65643
|
-
|
|
66136
|
+
args96 = {
|
|
65644
66137
|
request: GetRepresentativeRequest$inboundSchema
|
|
65645
66138
|
};
|
|
65646
66139
|
tool$representativesGet = {
|
|
@@ -65649,9 +66142,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
65649
66142
|
|
|
65650
66143
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
65651
66144
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
65652
|
-
args:
|
|
65653
|
-
tool: async (client,
|
|
65654
|
-
const [result, apiCall] = await representativesGet(client,
|
|
66145
|
+
args: args96,
|
|
66146
|
+
tool: async (client, args97, ctx) => {
|
|
66147
|
+
const [result, apiCall] = await representativesGet(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65655
66148
|
if (!result.ok) {
|
|
65656
66149
|
return {
|
|
65657
66150
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65666,9 +66159,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
65666
66159
|
|
|
65667
66160
|
// src/funcs/representativesList.ts
|
|
65668
66161
|
function representativesList(client, request, options) {
|
|
65669
|
-
return new APIPromise($
|
|
66162
|
+
return new APIPromise($do97(client, request, options));
|
|
65670
66163
|
}
|
|
65671
|
-
async function $
|
|
66164
|
+
async function $do97(client, request, options) {
|
|
65672
66165
|
const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65673
66166
|
if (!parsed.ok) {
|
|
65674
66167
|
return [parsed, { status: "invalid" }];
|
|
@@ -65744,12 +66237,12 @@ var init_representativesList = __esm(() => {
|
|
|
65744
66237
|
});
|
|
65745
66238
|
|
|
65746
66239
|
// src/mcp-server/tools/representativesList.ts
|
|
65747
|
-
var
|
|
66240
|
+
var args97, tool$representativesList;
|
|
65748
66241
|
var init_representativesList2 = __esm(() => {
|
|
65749
66242
|
init_representativesList();
|
|
65750
66243
|
init_operations();
|
|
65751
66244
|
init_tools();
|
|
65752
|
-
|
|
66245
|
+
args97 = {
|
|
65753
66246
|
request: ListRepresentativesRequest$inboundSchema
|
|
65754
66247
|
};
|
|
65755
66248
|
tool$representativesList = {
|
|
@@ -65761,9 +66254,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
65761
66254
|
|
|
65762
66255
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
65763
66256
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
65764
|
-
args:
|
|
65765
|
-
tool: async (client,
|
|
65766
|
-
const [result, apiCall] = await representativesList(client,
|
|
66257
|
+
args: args97,
|
|
66258
|
+
tool: async (client, args98, ctx) => {
|
|
66259
|
+
const [result, apiCall] = await representativesList(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65767
66260
|
if (!result.ok) {
|
|
65768
66261
|
return {
|
|
65769
66262
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65778,9 +66271,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
65778
66271
|
|
|
65779
66272
|
// src/funcs/representativesUpdate.ts
|
|
65780
66273
|
function representativesUpdate(client, request, options) {
|
|
65781
|
-
return new APIPromise($
|
|
66274
|
+
return new APIPromise($do98(client, request, options));
|
|
65782
66275
|
}
|
|
65783
|
-
async function $
|
|
66276
|
+
async function $do98(client, request, options) {
|
|
65784
66277
|
const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65785
66278
|
if (!parsed.ok) {
|
|
65786
66279
|
return [parsed, { status: "invalid" }];
|
|
@@ -65872,12 +66365,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
65872
66365
|
});
|
|
65873
66366
|
|
|
65874
66367
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
65875
|
-
var
|
|
66368
|
+
var args98, tool$representativesUpdate;
|
|
65876
66369
|
var init_representativesUpdate2 = __esm(() => {
|
|
65877
66370
|
init_representativesUpdate();
|
|
65878
66371
|
init_operations();
|
|
65879
66372
|
init_tools();
|
|
65880
|
-
|
|
66373
|
+
args98 = {
|
|
65881
66374
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
65882
66375
|
};
|
|
65883
66376
|
tool$representativesUpdate = {
|
|
@@ -65899,9 +66392,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
65899
66392
|
|
|
65900
66393
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
65901
66394
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
65902
|
-
args:
|
|
65903
|
-
tool: async (client,
|
|
65904
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
66395
|
+
args: args98,
|
|
66396
|
+
tool: async (client, args99, ctx) => {
|
|
66397
|
+
const [result, apiCall] = await representativesUpdate(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
65905
66398
|
if (!result.ok) {
|
|
65906
66399
|
return {
|
|
65907
66400
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -65916,9 +66409,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
65916
66409
|
|
|
65917
66410
|
// src/funcs/schedulingCancel.ts
|
|
65918
66411
|
function schedulingCancel(client, request, options) {
|
|
65919
|
-
return new APIPromise($
|
|
66412
|
+
return new APIPromise($do99(client, request, options));
|
|
65920
66413
|
}
|
|
65921
|
-
async function $
|
|
66414
|
+
async function $do99(client, request, options) {
|
|
65922
66415
|
const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
65923
66416
|
if (!parsed.ok) {
|
|
65924
66417
|
return [parsed, { status: "invalid" }];
|
|
@@ -66009,12 +66502,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
66009
66502
|
});
|
|
66010
66503
|
|
|
66011
66504
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
66012
|
-
var
|
|
66505
|
+
var args99, tool$schedulingCancel;
|
|
66013
66506
|
var init_schedulingCancel2 = __esm(() => {
|
|
66014
66507
|
init_schedulingCancel();
|
|
66015
66508
|
init_operations();
|
|
66016
66509
|
init_tools();
|
|
66017
|
-
|
|
66510
|
+
args99 = {
|
|
66018
66511
|
request: CancelScheduleRequest$inboundSchema
|
|
66019
66512
|
};
|
|
66020
66513
|
tool$schedulingCancel = {
|
|
@@ -66023,9 +66516,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
66023
66516
|
|
|
66024
66517
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66025
66518
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
66026
|
-
args:
|
|
66027
|
-
tool: async (client,
|
|
66028
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
66519
|
+
args: args99,
|
|
66520
|
+
tool: async (client, args100, ctx) => {
|
|
66521
|
+
const [result, apiCall] = await schedulingCancel(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66029
66522
|
if (!result.ok) {
|
|
66030
66523
|
return {
|
|
66031
66524
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66039,9 +66532,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
66039
66532
|
|
|
66040
66533
|
// src/funcs/schedulingCreate.ts
|
|
66041
66534
|
function schedulingCreate(client, request, options) {
|
|
66042
|
-
return new APIPromise($
|
|
66535
|
+
return new APIPromise($do100(client, request, options));
|
|
66043
66536
|
}
|
|
66044
|
-
async function $
|
|
66537
|
+
async function $do100(client, request, options) {
|
|
66045
66538
|
const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66046
66539
|
if (!parsed.ok) {
|
|
66047
66540
|
return [parsed, { status: "invalid" }];
|
|
@@ -66133,12 +66626,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
66133
66626
|
});
|
|
66134
66627
|
|
|
66135
66628
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
66136
|
-
var
|
|
66629
|
+
var args100, tool$schedulingCreate;
|
|
66137
66630
|
var init_schedulingCreate2 = __esm(() => {
|
|
66138
66631
|
init_schedulingCreate();
|
|
66139
66632
|
init_operations();
|
|
66140
66633
|
init_tools();
|
|
66141
|
-
|
|
66634
|
+
args100 = {
|
|
66142
66635
|
request: CreateScheduleRequest$inboundSchema
|
|
66143
66636
|
};
|
|
66144
66637
|
tool$schedulingCreate = {
|
|
@@ -66147,9 +66640,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
66147
66640
|
|
|
66148
66641
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66149
66642
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
66150
|
-
args:
|
|
66151
|
-
tool: async (client,
|
|
66152
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
66643
|
+
args: args100,
|
|
66644
|
+
tool: async (client, args101, ctx) => {
|
|
66645
|
+
const [result, apiCall] = await schedulingCreate(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66153
66646
|
if (!result.ok) {
|
|
66154
66647
|
return {
|
|
66155
66648
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66164,9 +66657,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
66164
66657
|
|
|
66165
66658
|
// src/funcs/schedulingGet.ts
|
|
66166
66659
|
function schedulingGet(client, request, options) {
|
|
66167
|
-
return new APIPromise($
|
|
66660
|
+
return new APIPromise($do101(client, request, options));
|
|
66168
66661
|
}
|
|
66169
|
-
async function $
|
|
66662
|
+
async function $do101(client, request, options) {
|
|
66170
66663
|
const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66171
66664
|
if (!parsed.ok) {
|
|
66172
66665
|
return [parsed, { status: "invalid" }];
|
|
@@ -66246,12 +66739,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
66246
66739
|
});
|
|
66247
66740
|
|
|
66248
66741
|
// src/mcp-server/tools/schedulingGet.ts
|
|
66249
|
-
var
|
|
66742
|
+
var args101, tool$schedulingGet;
|
|
66250
66743
|
var init_schedulingGet2 = __esm(() => {
|
|
66251
66744
|
init_schedulingGet();
|
|
66252
66745
|
init_operations();
|
|
66253
66746
|
init_tools();
|
|
66254
|
-
|
|
66747
|
+
args101 = {
|
|
66255
66748
|
request: GetSchedulesRequest$inboundSchema
|
|
66256
66749
|
};
|
|
66257
66750
|
tool$schedulingGet = {
|
|
@@ -66260,9 +66753,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
66260
66753
|
|
|
66261
66754
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66262
66755
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
66263
|
-
args:
|
|
66264
|
-
tool: async (client,
|
|
66265
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
66756
|
+
args: args101,
|
|
66757
|
+
tool: async (client, args102, ctx) => {
|
|
66758
|
+
const [result, apiCall] = await schedulingGet(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66266
66759
|
if (!result.ok) {
|
|
66267
66760
|
return {
|
|
66268
66761
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66277,9 +66770,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
66277
66770
|
|
|
66278
66771
|
// src/funcs/schedulingGetOccurrance.ts
|
|
66279
66772
|
function schedulingGetOccurrance(client, request, options) {
|
|
66280
|
-
return new APIPromise($
|
|
66773
|
+
return new APIPromise($do102(client, request, options));
|
|
66281
66774
|
}
|
|
66282
|
-
async function $
|
|
66775
|
+
async function $do102(client, request, options) {
|
|
66283
66776
|
const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66284
66777
|
if (!parsed.ok) {
|
|
66285
66778
|
return [parsed, { status: "invalid" }];
|
|
@@ -66360,12 +66853,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
66360
66853
|
});
|
|
66361
66854
|
|
|
66362
66855
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
66363
|
-
var
|
|
66856
|
+
var args102, tool$schedulingGetOccurrance;
|
|
66364
66857
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
66365
66858
|
init_schedulingGetOccurrance();
|
|
66366
66859
|
init_operations();
|
|
66367
66860
|
init_tools();
|
|
66368
|
-
|
|
66861
|
+
args102 = {
|
|
66369
66862
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
66370
66863
|
};
|
|
66371
66864
|
tool$schedulingGetOccurrance = {
|
|
@@ -66374,9 +66867,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
66374
66867
|
|
|
66375
66868
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66376
66869
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
66377
|
-
args:
|
|
66378
|
-
tool: async (client,
|
|
66379
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
66870
|
+
args: args102,
|
|
66871
|
+
tool: async (client, args103, ctx) => {
|
|
66872
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66380
66873
|
if (!result.ok) {
|
|
66381
66874
|
return {
|
|
66382
66875
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66391,9 +66884,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
66391
66884
|
|
|
66392
66885
|
// src/funcs/schedulingList.ts
|
|
66393
66886
|
function schedulingList(client, request, options) {
|
|
66394
|
-
return new APIPromise($
|
|
66887
|
+
return new APIPromise($do103(client, request, options));
|
|
66395
66888
|
}
|
|
66396
|
-
async function $
|
|
66889
|
+
async function $do103(client, request, options) {
|
|
66397
66890
|
const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66398
66891
|
if (!parsed.ok) {
|
|
66399
66892
|
return [parsed, { status: "invalid" }];
|
|
@@ -66474,12 +66967,12 @@ var init_schedulingList = __esm(() => {
|
|
|
66474
66967
|
});
|
|
66475
66968
|
|
|
66476
66969
|
// src/mcp-server/tools/schedulingList.ts
|
|
66477
|
-
var
|
|
66970
|
+
var args103, tool$schedulingList;
|
|
66478
66971
|
var init_schedulingList2 = __esm(() => {
|
|
66479
66972
|
init_schedulingList();
|
|
66480
66973
|
init_operations();
|
|
66481
66974
|
init_tools();
|
|
66482
|
-
|
|
66975
|
+
args103 = {
|
|
66483
66976
|
request: ListSchedulesRequest$inboundSchema
|
|
66484
66977
|
};
|
|
66485
66978
|
tool$schedulingList = {
|
|
@@ -66488,9 +66981,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
66488
66981
|
|
|
66489
66982
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66490
66983
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
66491
|
-
args:
|
|
66492
|
-
tool: async (client,
|
|
66493
|
-
const [result, apiCall] = await schedulingList(client,
|
|
66984
|
+
args: args103,
|
|
66985
|
+
tool: async (client, args104, ctx) => {
|
|
66986
|
+
const [result, apiCall] = await schedulingList(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66494
66987
|
if (!result.ok) {
|
|
66495
66988
|
return {
|
|
66496
66989
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66505,9 +66998,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
66505
66998
|
|
|
66506
66999
|
// src/funcs/schedulingUpdate.ts
|
|
66507
67000
|
function schedulingUpdate(client, request, options) {
|
|
66508
|
-
return new APIPromise($
|
|
67001
|
+
return new APIPromise($do104(client, request, options));
|
|
66509
67002
|
}
|
|
66510
|
-
async function $
|
|
67003
|
+
async function $do104(client, request, options) {
|
|
66511
67004
|
const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66512
67005
|
if (!parsed.ok) {
|
|
66513
67006
|
return [parsed, { status: "invalid" }];
|
|
@@ -66603,12 +67096,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
66603
67096
|
});
|
|
66604
67097
|
|
|
66605
67098
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
66606
|
-
var
|
|
67099
|
+
var args104, tool$schedulingUpdate;
|
|
66607
67100
|
var init_schedulingUpdate2 = __esm(() => {
|
|
66608
67101
|
init_schedulingUpdate();
|
|
66609
67102
|
init_operations();
|
|
66610
67103
|
init_tools();
|
|
66611
|
-
|
|
67104
|
+
args104 = {
|
|
66612
67105
|
request: UpdateScheduleRequest$inboundSchema
|
|
66613
67106
|
};
|
|
66614
67107
|
tool$schedulingUpdate = {
|
|
@@ -66617,9 +67110,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
66617
67110
|
|
|
66618
67111
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66619
67112
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
66620
|
-
args:
|
|
66621
|
-
tool: async (client,
|
|
66622
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
67113
|
+
args: args104,
|
|
67114
|
+
tool: async (client, args105, ctx) => {
|
|
67115
|
+
const [result, apiCall] = await schedulingUpdate(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66623
67116
|
if (!result.ok) {
|
|
66624
67117
|
return {
|
|
66625
67118
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66634,9 +67127,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
66634
67127
|
|
|
66635
67128
|
// src/funcs/sweepsCreateConfig.ts
|
|
66636
67129
|
function sweepsCreateConfig(client, request, options) {
|
|
66637
|
-
return new APIPromise($
|
|
67130
|
+
return new APIPromise($do105(client, request, options));
|
|
66638
67131
|
}
|
|
66639
|
-
async function $
|
|
67132
|
+
async function $do105(client, request, options) {
|
|
66640
67133
|
const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66641
67134
|
if (!parsed.ok) {
|
|
66642
67135
|
return [parsed, { status: "invalid" }];
|
|
@@ -66726,12 +67219,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
66726
67219
|
});
|
|
66727
67220
|
|
|
66728
67221
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
66729
|
-
var
|
|
67222
|
+
var args105, tool$sweepsCreateConfig;
|
|
66730
67223
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
66731
67224
|
init_sweepsCreateConfig();
|
|
66732
67225
|
init_operations();
|
|
66733
67226
|
init_tools();
|
|
66734
|
-
|
|
67227
|
+
args105 = {
|
|
66735
67228
|
request: CreateSweepConfigRequest$inboundSchema
|
|
66736
67229
|
};
|
|
66737
67230
|
tool$sweepsCreateConfig = {
|
|
@@ -66740,9 +67233,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
66740
67233
|
|
|
66741
67234
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66742
67235
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
66743
|
-
args:
|
|
66744
|
-
tool: async (client,
|
|
66745
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
67236
|
+
args: args105,
|
|
67237
|
+
tool: async (client, args106, ctx) => {
|
|
67238
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66746
67239
|
if (!result.ok) {
|
|
66747
67240
|
return {
|
|
66748
67241
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66757,9 +67250,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
66757
67250
|
|
|
66758
67251
|
// src/funcs/sweepsGet.ts
|
|
66759
67252
|
function sweepsGet(client, request, options) {
|
|
66760
|
-
return new APIPromise($
|
|
67253
|
+
return new APIPromise($do106(client, request, options));
|
|
66761
67254
|
}
|
|
66762
|
-
async function $
|
|
67255
|
+
async function $do106(client, request, options) {
|
|
66763
67256
|
const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66764
67257
|
if (!parsed.ok) {
|
|
66765
67258
|
return [parsed, { status: "invalid" }];
|
|
@@ -66843,12 +67336,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
66843
67336
|
});
|
|
66844
67337
|
|
|
66845
67338
|
// src/mcp-server/tools/sweepsGet.ts
|
|
66846
|
-
var
|
|
67339
|
+
var args106, tool$sweepsGet;
|
|
66847
67340
|
var init_sweepsGet2 = __esm(() => {
|
|
66848
67341
|
init_sweepsGet();
|
|
66849
67342
|
init_operations();
|
|
66850
67343
|
init_tools();
|
|
66851
|
-
|
|
67344
|
+
args106 = {
|
|
66852
67345
|
request: GetSweepRequest$inboundSchema
|
|
66853
67346
|
};
|
|
66854
67347
|
tool$sweepsGet = {
|
|
@@ -66857,9 +67350,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
66857
67350
|
|
|
66858
67351
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66859
67352
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
66860
|
-
args:
|
|
66861
|
-
tool: async (client,
|
|
66862
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
67353
|
+
args: args106,
|
|
67354
|
+
tool: async (client, args107, ctx) => {
|
|
67355
|
+
const [result, apiCall] = await sweepsGet(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66863
67356
|
if (!result.ok) {
|
|
66864
67357
|
return {
|
|
66865
67358
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66874,9 +67367,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
66874
67367
|
|
|
66875
67368
|
// src/funcs/sweepsGetConfig.ts
|
|
66876
67369
|
function sweepsGetConfig(client, request, options) {
|
|
66877
|
-
return new APIPromise($
|
|
67370
|
+
return new APIPromise($do107(client, request, options));
|
|
66878
67371
|
}
|
|
66879
|
-
async function $
|
|
67372
|
+
async function $do107(client, request, options) {
|
|
66880
67373
|
const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66881
67374
|
if (!parsed.ok) {
|
|
66882
67375
|
return [parsed, { status: "invalid" }];
|
|
@@ -66956,12 +67449,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
66956
67449
|
});
|
|
66957
67450
|
|
|
66958
67451
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
66959
|
-
var
|
|
67452
|
+
var args107, tool$sweepsGetConfig;
|
|
66960
67453
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
66961
67454
|
init_sweepsGetConfig();
|
|
66962
67455
|
init_operations();
|
|
66963
67456
|
init_tools();
|
|
66964
|
-
|
|
67457
|
+
args107 = {
|
|
66965
67458
|
request: GetSweepConfigRequest$inboundSchema
|
|
66966
67459
|
};
|
|
66967
67460
|
tool$sweepsGetConfig = {
|
|
@@ -66970,9 +67463,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
66970
67463
|
|
|
66971
67464
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
66972
67465
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
66973
|
-
args:
|
|
66974
|
-
tool: async (client,
|
|
66975
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
67466
|
+
args: args107,
|
|
67467
|
+
tool: async (client, args108, ctx) => {
|
|
67468
|
+
const [result, apiCall] = await sweepsGetConfig(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
66976
67469
|
if (!result.ok) {
|
|
66977
67470
|
return {
|
|
66978
67471
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -66987,9 +67480,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
66987
67480
|
|
|
66988
67481
|
// src/funcs/sweepsList.ts
|
|
66989
67482
|
function sweepsList(client, request, options) {
|
|
66990
|
-
return new APIPromise($
|
|
67483
|
+
return new APIPromise($do108(client, request, options));
|
|
66991
67484
|
}
|
|
66992
|
-
async function $
|
|
67485
|
+
async function $do108(client, request, options) {
|
|
66993
67486
|
const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
66994
67487
|
if (!parsed.ok) {
|
|
66995
67488
|
return [parsed, { status: "invalid" }];
|
|
@@ -67076,12 +67569,12 @@ var init_sweepsList = __esm(() => {
|
|
|
67076
67569
|
});
|
|
67077
67570
|
|
|
67078
67571
|
// src/mcp-server/tools/sweepsList.ts
|
|
67079
|
-
var
|
|
67572
|
+
var args108, tool$sweepsList;
|
|
67080
67573
|
var init_sweepsList2 = __esm(() => {
|
|
67081
67574
|
init_sweepsList();
|
|
67082
67575
|
init_operations();
|
|
67083
67576
|
init_tools();
|
|
67084
|
-
|
|
67577
|
+
args108 = {
|
|
67085
67578
|
request: ListSweepsRequest$inboundSchema
|
|
67086
67579
|
};
|
|
67087
67580
|
tool$sweepsList = {
|
|
@@ -67090,9 +67583,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
67090
67583
|
|
|
67091
67584
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67092
67585
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
67093
|
-
args:
|
|
67094
|
-
tool: async (client,
|
|
67095
|
-
const [result, apiCall] = await sweepsList(client,
|
|
67586
|
+
args: args108,
|
|
67587
|
+
tool: async (client, args109, ctx) => {
|
|
67588
|
+
const [result, apiCall] = await sweepsList(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67096
67589
|
if (!result.ok) {
|
|
67097
67590
|
return {
|
|
67098
67591
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67107,9 +67600,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
67107
67600
|
|
|
67108
67601
|
// src/funcs/sweepsListConfigs.ts
|
|
67109
67602
|
function sweepsListConfigs(client, request, options) {
|
|
67110
|
-
return new APIPromise($
|
|
67603
|
+
return new APIPromise($do109(client, request, options));
|
|
67111
67604
|
}
|
|
67112
|
-
async function $
|
|
67605
|
+
async function $do109(client, request, options) {
|
|
67113
67606
|
const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67114
67607
|
if (!parsed.ok) {
|
|
67115
67608
|
return [parsed, { status: "invalid" }];
|
|
@@ -67185,12 +67678,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
67185
67678
|
});
|
|
67186
67679
|
|
|
67187
67680
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
67188
|
-
var
|
|
67681
|
+
var args109, tool$sweepsListConfigs;
|
|
67189
67682
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
67190
67683
|
init_sweepsListConfigs();
|
|
67191
67684
|
init_operations();
|
|
67192
67685
|
init_tools();
|
|
67193
|
-
|
|
67686
|
+
args109 = {
|
|
67194
67687
|
request: ListSweepConfigsRequest$inboundSchema
|
|
67195
67688
|
};
|
|
67196
67689
|
tool$sweepsListConfigs = {
|
|
@@ -67199,9 +67692,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
67199
67692
|
|
|
67200
67693
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67201
67694
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
67202
|
-
args:
|
|
67203
|
-
tool: async (client,
|
|
67204
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
67695
|
+
args: args109,
|
|
67696
|
+
tool: async (client, args110, ctx) => {
|
|
67697
|
+
const [result, apiCall] = await sweepsListConfigs(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67205
67698
|
if (!result.ok) {
|
|
67206
67699
|
return {
|
|
67207
67700
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67216,9 +67709,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
67216
67709
|
|
|
67217
67710
|
// src/funcs/sweepsUpdateConfig.ts
|
|
67218
67711
|
function sweepsUpdateConfig(client, request, options) {
|
|
67219
|
-
return new APIPromise($
|
|
67712
|
+
return new APIPromise($do110(client, request, options));
|
|
67220
67713
|
}
|
|
67221
|
-
async function $
|
|
67714
|
+
async function $do110(client, request, options) {
|
|
67222
67715
|
const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67223
67716
|
if (!parsed.ok) {
|
|
67224
67717
|
return [parsed, { status: "invalid" }];
|
|
@@ -67312,12 +67805,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
67312
67805
|
});
|
|
67313
67806
|
|
|
67314
67807
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
67315
|
-
var
|
|
67808
|
+
var args110, tool$sweepsUpdateConfig;
|
|
67316
67809
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
67317
67810
|
init_sweepsUpdateConfig();
|
|
67318
67811
|
init_operations();
|
|
67319
67812
|
init_tools();
|
|
67320
|
-
|
|
67813
|
+
args110 = {
|
|
67321
67814
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
67322
67815
|
};
|
|
67323
67816
|
tool$sweepsUpdateConfig = {
|
|
@@ -67326,9 +67819,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
67326
67819
|
|
|
67327
67820
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67328
67821
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
67329
|
-
args:
|
|
67330
|
-
tool: async (client,
|
|
67331
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
67822
|
+
args: args110,
|
|
67823
|
+
tool: async (client, args111, ctx) => {
|
|
67824
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67332
67825
|
if (!result.ok) {
|
|
67333
67826
|
return {
|
|
67334
67827
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67343,9 +67836,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
67343
67836
|
|
|
67344
67837
|
// src/funcs/terminalApplicationsCreate.ts
|
|
67345
67838
|
function terminalApplicationsCreate(client, request, options) {
|
|
67346
|
-
return new APIPromise($
|
|
67839
|
+
return new APIPromise($do111(client, request, options));
|
|
67347
67840
|
}
|
|
67348
|
-
async function $
|
|
67841
|
+
async function $do111(client, request, options) {
|
|
67349
67842
|
const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
67350
67843
|
if (!parsed.ok) {
|
|
67351
67844
|
return [parsed, { status: "invalid" }];
|
|
@@ -67432,12 +67925,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
67432
67925
|
});
|
|
67433
67926
|
|
|
67434
67927
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
67435
|
-
var
|
|
67928
|
+
var args111, tool$terminalApplicationsCreate;
|
|
67436
67929
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
67437
67930
|
init_terminalApplicationsCreate();
|
|
67438
67931
|
init_components();
|
|
67439
67932
|
init_tools();
|
|
67440
|
-
|
|
67933
|
+
args111 = {
|
|
67441
67934
|
request: CreateTerminalApplication$inboundSchema
|
|
67442
67935
|
};
|
|
67443
67936
|
tool$terminalApplicationsCreate = {
|
|
@@ -67446,9 +67939,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
67446
67939
|
|
|
67447
67940
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67448
67941
|
you'll need to specify the \`/terminalApplications.write\` scope.`,
|
|
67449
|
-
args:
|
|
67450
|
-
tool: async (client,
|
|
67451
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
67942
|
+
args: args111,
|
|
67943
|
+
tool: async (client, args112, ctx) => {
|
|
67944
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67452
67945
|
if (!result.ok) {
|
|
67453
67946
|
return {
|
|
67454
67947
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67463,9 +67956,9 @@ you'll need to specify the \`/terminalApplications.write\` scope.`,
|
|
|
67463
67956
|
|
|
67464
67957
|
// src/funcs/terminalApplicationsDelete.ts
|
|
67465
67958
|
function terminalApplicationsDelete(client, request, options) {
|
|
67466
|
-
return new APIPromise($
|
|
67959
|
+
return new APIPromise($do112(client, request, options));
|
|
67467
67960
|
}
|
|
67468
|
-
async function $
|
|
67961
|
+
async function $do112(client, request, options) {
|
|
67469
67962
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67470
67963
|
if (!parsed.ok) {
|
|
67471
67964
|
return [parsed, { status: "invalid" }];
|
|
@@ -67547,12 +68040,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
67547
68040
|
});
|
|
67548
68041
|
|
|
67549
68042
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
67550
|
-
var
|
|
68043
|
+
var args112, tool$terminalApplicationsDelete;
|
|
67551
68044
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
67552
68045
|
init_terminalApplicationsDelete();
|
|
67553
68046
|
init_operations();
|
|
67554
68047
|
init_tools();
|
|
67555
|
-
|
|
68048
|
+
args112 = {
|
|
67556
68049
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
67557
68050
|
};
|
|
67558
68051
|
tool$terminalApplicationsDelete = {
|
|
@@ -67561,9 +68054,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
67561
68054
|
|
|
67562
68055
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67563
68056
|
you'll need to specify the \`/terminalApplications.write\` scope.`,
|
|
67564
|
-
args:
|
|
67565
|
-
tool: async (client,
|
|
67566
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
68057
|
+
args: args112,
|
|
68058
|
+
tool: async (client, args113, ctx) => {
|
|
68059
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67567
68060
|
if (!result.ok) {
|
|
67568
68061
|
return {
|
|
67569
68062
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67577,9 +68070,9 @@ you'll need to specify the \`/terminalApplications.write\` scope.`,
|
|
|
67577
68070
|
|
|
67578
68071
|
// src/funcs/terminalApplicationsGet.ts
|
|
67579
68072
|
function terminalApplicationsGet(client, request, options) {
|
|
67580
|
-
return new APIPromise($
|
|
68073
|
+
return new APIPromise($do113(client, request, options));
|
|
67581
68074
|
}
|
|
67582
|
-
async function $
|
|
68075
|
+
async function $do113(client, request, options) {
|
|
67583
68076
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67584
68077
|
if (!parsed.ok) {
|
|
67585
68078
|
return [parsed, { status: "invalid" }];
|
|
@@ -67652,12 +68145,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
67652
68145
|
});
|
|
67653
68146
|
|
|
67654
68147
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
67655
|
-
var
|
|
68148
|
+
var args113, tool$terminalApplicationsGet;
|
|
67656
68149
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
67657
68150
|
init_terminalApplicationsGet();
|
|
67658
68151
|
init_operations();
|
|
67659
68152
|
init_tools();
|
|
67660
|
-
|
|
68153
|
+
args113 = {
|
|
67661
68154
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
67662
68155
|
};
|
|
67663
68156
|
tool$terminalApplicationsGet = {
|
|
@@ -67666,9 +68159,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
67666
68159
|
|
|
67667
68160
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67668
68161
|
you'll need to specify the \`/terminalApplications.read\` scope.`,
|
|
67669
|
-
args:
|
|
67670
|
-
tool: async (client,
|
|
67671
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
68162
|
+
args: args113,
|
|
68163
|
+
tool: async (client, args114, ctx) => {
|
|
68164
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67672
68165
|
if (!result.ok) {
|
|
67673
68166
|
return {
|
|
67674
68167
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67683,9 +68176,9 @@ you'll need to specify the \`/terminalApplications.read\` scope.`,
|
|
|
67683
68176
|
|
|
67684
68177
|
// src/funcs/terminalApplicationsList.ts
|
|
67685
68178
|
function terminalApplicationsList(client, _request, options) {
|
|
67686
|
-
return new APIPromise($
|
|
68179
|
+
return new APIPromise($do114(client, _request, options));
|
|
67687
68180
|
}
|
|
67688
|
-
async function $
|
|
68181
|
+
async function $do114(client, _request, options) {
|
|
67689
68182
|
const path = pathToFunc("/terminal-applications")();
|
|
67690
68183
|
const headers = new Headers(compactMap({
|
|
67691
68184
|
Accept: "application/json",
|
|
@@ -67747,12 +68240,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
67747
68240
|
});
|
|
67748
68241
|
|
|
67749
68242
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
67750
|
-
var
|
|
68243
|
+
var args114, tool$terminalApplicationsList;
|
|
67751
68244
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
67752
68245
|
init_terminalApplicationsList();
|
|
67753
68246
|
init_operations();
|
|
67754
68247
|
init_tools();
|
|
67755
|
-
|
|
68248
|
+
args114 = {
|
|
67756
68249
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
67757
68250
|
};
|
|
67758
68251
|
tool$terminalApplicationsList = {
|
|
@@ -67761,9 +68254,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
67761
68254
|
|
|
67762
68255
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67763
68256
|
you'll need to specify the \`/terminalApplications.read\` scope.`,
|
|
67764
|
-
args:
|
|
67765
|
-
tool: async (client,
|
|
67766
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
68257
|
+
args: args114,
|
|
68258
|
+
tool: async (client, args115, ctx) => {
|
|
68259
|
+
const [result, apiCall] = await terminalApplicationsList(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67767
68260
|
if (!result.ok) {
|
|
67768
68261
|
return {
|
|
67769
68262
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67778,9 +68271,9 @@ you'll need to specify the \`/terminalApplications.read\` scope.`,
|
|
|
67778
68271
|
|
|
67779
68272
|
// src/funcs/transfersCreate.ts
|
|
67780
68273
|
function transfersCreate(client, request, options) {
|
|
67781
|
-
return new APIPromise($
|
|
68274
|
+
return new APIPromise($do115(client, request, options));
|
|
67782
68275
|
}
|
|
67783
|
-
async function $
|
|
68276
|
+
async function $do115(client, request, options) {
|
|
67784
68277
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67785
68278
|
if (!parsed.ok) {
|
|
67786
68279
|
return [parsed, { status: "invalid" }];
|
|
@@ -67871,12 +68364,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
67871
68364
|
});
|
|
67872
68365
|
|
|
67873
68366
|
// src/mcp-server/tools/transfersCreate.ts
|
|
67874
|
-
var
|
|
68367
|
+
var args115, tool$transfersCreate;
|
|
67875
68368
|
var init_transfersCreate2 = __esm(() => {
|
|
67876
68369
|
init_transfersCreate();
|
|
67877
68370
|
init_operations();
|
|
67878
68371
|
init_tools();
|
|
67879
|
-
|
|
68372
|
+
args115 = {
|
|
67880
68373
|
request: CreateTransferRequest$inboundSchema
|
|
67881
68374
|
};
|
|
67882
68375
|
tool$transfersCreate = {
|
|
@@ -67887,9 +68380,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
67887
68380
|
|
|
67888
68381
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
67889
68382
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
67890
|
-
args:
|
|
67891
|
-
tool: async (client,
|
|
67892
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
68383
|
+
args: args115,
|
|
68384
|
+
tool: async (client, args116, ctx) => {
|
|
68385
|
+
const [result, apiCall] = await transfersCreate(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
67893
68386
|
if (!result.ok) {
|
|
67894
68387
|
return {
|
|
67895
68388
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -67904,9 +68397,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
67904
68397
|
|
|
67905
68398
|
// src/funcs/transfersCreateCancellation.ts
|
|
67906
68399
|
function transfersCreateCancellation(client, request, options) {
|
|
67907
|
-
return new APIPromise($
|
|
68400
|
+
return new APIPromise($do116(client, request, options));
|
|
67908
68401
|
}
|
|
67909
|
-
async function $
|
|
68402
|
+
async function $do116(client, request, options) {
|
|
67910
68403
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
67911
68404
|
if (!parsed.ok) {
|
|
67912
68405
|
return [parsed, { status: "invalid" }];
|
|
@@ -67987,12 +68480,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
67987
68480
|
});
|
|
67988
68481
|
|
|
67989
68482
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
67990
|
-
var
|
|
68483
|
+
var args116, tool$transfersCreateCancellation;
|
|
67991
68484
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
67992
68485
|
init_transfersCreateCancellation();
|
|
67993
68486
|
init_operations();
|
|
67994
68487
|
init_tools();
|
|
67995
|
-
|
|
68488
|
+
args116 = {
|
|
67996
68489
|
request: CreateCancellationRequest$inboundSchema
|
|
67997
68490
|
};
|
|
67998
68491
|
tool$transfersCreateCancellation = {
|
|
@@ -68001,9 +68494,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
68001
68494
|
|
|
68002
68495
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
68003
68496
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
68004
|
-
args:
|
|
68005
|
-
tool: async (client,
|
|
68006
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
68497
|
+
args: args116,
|
|
68498
|
+
tool: async (client, args117, ctx) => {
|
|
68499
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68007
68500
|
if (!result.ok) {
|
|
68008
68501
|
return {
|
|
68009
68502
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68018,9 +68511,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
68018
68511
|
|
|
68019
68512
|
// src/funcs/transfersCreateReversal.ts
|
|
68020
68513
|
function transfersCreateReversal(client, request, options) {
|
|
68021
|
-
return new APIPromise($
|
|
68514
|
+
return new APIPromise($do117(client, request, options));
|
|
68022
68515
|
}
|
|
68023
|
-
async function $
|
|
68516
|
+
async function $do117(client, request, options) {
|
|
68024
68517
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68025
68518
|
if (!parsed.ok) {
|
|
68026
68519
|
return [parsed, { status: "invalid" }];
|
|
@@ -68117,12 +68610,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
68117
68610
|
});
|
|
68118
68611
|
|
|
68119
68612
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
68120
|
-
var
|
|
68613
|
+
var args117, tool$transfersCreateReversal;
|
|
68121
68614
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
68122
68615
|
init_transfersCreateReversal();
|
|
68123
68616
|
init_operations();
|
|
68124
68617
|
init_tools();
|
|
68125
|
-
|
|
68618
|
+
args117 = {
|
|
68126
68619
|
request: CreateReversalRequest$inboundSchema
|
|
68127
68620
|
};
|
|
68128
68621
|
tool$transfersCreateReversal = {
|
|
@@ -68133,9 +68626,9 @@ to learn more.
|
|
|
68133
68626
|
|
|
68134
68627
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
68135
68628
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
68136
|
-
args:
|
|
68137
|
-
tool: async (client,
|
|
68138
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
68629
|
+
args: args117,
|
|
68630
|
+
tool: async (client, args118, ctx) => {
|
|
68631
|
+
const [result, apiCall] = await transfersCreateReversal(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68139
68632
|
if (!result.ok) {
|
|
68140
68633
|
return {
|
|
68141
68634
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68150,9 +68643,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
68150
68643
|
|
|
68151
68644
|
// src/funcs/transfersGenerateOptions.ts
|
|
68152
68645
|
function transfersGenerateOptions(client, request, options) {
|
|
68153
|
-
return new APIPromise($
|
|
68646
|
+
return new APIPromise($do118(client, request, options));
|
|
68154
68647
|
}
|
|
68155
|
-
async function $
|
|
68648
|
+
async function $do118(client, request, options) {
|
|
68156
68649
|
const parsed = safeParse(request, (value) => CreateTransferOptions$outboundSchema.parse(value), "Input validation failed");
|
|
68157
68650
|
if (!parsed.ok) {
|
|
68158
68651
|
return [parsed, { status: "invalid" }];
|
|
@@ -68227,12 +68720,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
68227
68720
|
});
|
|
68228
68721
|
|
|
68229
68722
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
68230
|
-
var
|
|
68723
|
+
var args118, tool$transfersGenerateOptions;
|
|
68231
68724
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
68232
68725
|
init_transfersGenerateOptions();
|
|
68233
68726
|
init_components();
|
|
68234
68727
|
init_tools();
|
|
68235
|
-
|
|
68728
|
+
args118 = {
|
|
68236
68729
|
request: CreateTransferOptions$inboundSchema
|
|
68237
68730
|
};
|
|
68238
68731
|
tool$transfersGenerateOptions = {
|
|
@@ -68244,9 +68737,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
68244
68737
|
|
|
68245
68738
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68246
68739
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
68247
|
-
args:
|
|
68248
|
-
tool: async (client,
|
|
68249
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
68740
|
+
args: args118,
|
|
68741
|
+
tool: async (client, args119, ctx) => {
|
|
68742
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68250
68743
|
if (!result.ok) {
|
|
68251
68744
|
return {
|
|
68252
68745
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68261,9 +68754,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
68261
68754
|
|
|
68262
68755
|
// src/funcs/transfersGet.ts
|
|
68263
68756
|
function transfersGet(client, request, options) {
|
|
68264
|
-
return new APIPromise($
|
|
68757
|
+
return new APIPromise($do119(client, request, options));
|
|
68265
68758
|
}
|
|
68266
|
-
async function $
|
|
68759
|
+
async function $do119(client, request, options) {
|
|
68267
68760
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68268
68761
|
if (!parsed.ok) {
|
|
68269
68762
|
return [parsed, { status: "invalid" }];
|
|
@@ -68343,12 +68836,12 @@ var init_transfersGet = __esm(() => {
|
|
|
68343
68836
|
});
|
|
68344
68837
|
|
|
68345
68838
|
// src/mcp-server/tools/transfersGet.ts
|
|
68346
|
-
var
|
|
68839
|
+
var args119, tool$transfersGet;
|
|
68347
68840
|
var init_transfersGet2 = __esm(() => {
|
|
68348
68841
|
init_transfersGet();
|
|
68349
68842
|
init_operations();
|
|
68350
68843
|
init_tools();
|
|
68351
|
-
|
|
68844
|
+
args119 = {
|
|
68352
68845
|
request: GetTransferRequest$inboundSchema
|
|
68353
68846
|
};
|
|
68354
68847
|
tool$transfersGet = {
|
|
@@ -68360,9 +68853,9 @@ to learn more.
|
|
|
68360
68853
|
|
|
68361
68854
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68362
68855
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
68363
|
-
args:
|
|
68364
|
-
tool: async (client,
|
|
68365
|
-
const [result, apiCall] = await transfersGet(client,
|
|
68856
|
+
args: args119,
|
|
68857
|
+
tool: async (client, args120, ctx) => {
|
|
68858
|
+
const [result, apiCall] = await transfersGet(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68366
68859
|
if (!result.ok) {
|
|
68367
68860
|
return {
|
|
68368
68861
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68377,9 +68870,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
68377
68870
|
|
|
68378
68871
|
// src/funcs/transfersGetCancellation.ts
|
|
68379
68872
|
function transfersGetCancellation(client, request, options) {
|
|
68380
|
-
return new APIPromise($
|
|
68873
|
+
return new APIPromise($do120(client, request, options));
|
|
68381
68874
|
}
|
|
68382
|
-
async function $
|
|
68875
|
+
async function $do120(client, request, options) {
|
|
68383
68876
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68384
68877
|
if (!parsed.ok) {
|
|
68385
68878
|
return [parsed, { status: "invalid" }];
|
|
@@ -68463,12 +68956,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
68463
68956
|
});
|
|
68464
68957
|
|
|
68465
68958
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
68466
|
-
var
|
|
68959
|
+
var args120, tool$transfersGetCancellation;
|
|
68467
68960
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
68468
68961
|
init_transfersGetCancellation();
|
|
68469
68962
|
init_operations();
|
|
68470
68963
|
init_tools();
|
|
68471
|
-
|
|
68964
|
+
args120 = {
|
|
68472
68965
|
request: GetCancellationRequest$inboundSchema
|
|
68473
68966
|
};
|
|
68474
68967
|
tool$transfersGetCancellation = {
|
|
@@ -68477,9 +68970,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
68477
68970
|
|
|
68478
68971
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
68479
68972
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
68480
|
-
args:
|
|
68481
|
-
tool: async (client,
|
|
68482
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
68973
|
+
args: args120,
|
|
68974
|
+
tool: async (client, args121, ctx) => {
|
|
68975
|
+
const [result, apiCall] = await transfersGetCancellation(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68483
68976
|
if (!result.ok) {
|
|
68484
68977
|
return {
|
|
68485
68978
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68494,9 +68987,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
68494
68987
|
|
|
68495
68988
|
// src/funcs/transfersGetRefund.ts
|
|
68496
68989
|
function transfersGetRefund(client, request, options) {
|
|
68497
|
-
return new APIPromise($
|
|
68990
|
+
return new APIPromise($do121(client, request, options));
|
|
68498
68991
|
}
|
|
68499
|
-
async function $
|
|
68992
|
+
async function $do121(client, request, options) {
|
|
68500
68993
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68501
68994
|
if (!parsed.ok) {
|
|
68502
68995
|
return [parsed, { status: "invalid" }];
|
|
@@ -68580,12 +69073,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
68580
69073
|
});
|
|
68581
69074
|
|
|
68582
69075
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
68583
|
-
var
|
|
69076
|
+
var args121, tool$transfersGetRefund;
|
|
68584
69077
|
var init_transfersGetRefund2 = __esm(() => {
|
|
68585
69078
|
init_transfersGetRefund();
|
|
68586
69079
|
init_operations();
|
|
68587
69080
|
init_tools();
|
|
68588
|
-
|
|
69081
|
+
args121 = {
|
|
68589
69082
|
request: GetRefundRequest$inboundSchema
|
|
68590
69083
|
};
|
|
68591
69084
|
tool$transfersGetRefund = {
|
|
@@ -68594,9 +69087,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
68594
69087
|
|
|
68595
69088
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68596
69089
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
68597
|
-
args:
|
|
68598
|
-
tool: async (client,
|
|
68599
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
69090
|
+
args: args121,
|
|
69091
|
+
tool: async (client, args122, ctx) => {
|
|
69092
|
+
const [result, apiCall] = await transfersGetRefund(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68600
69093
|
if (!result.ok) {
|
|
68601
69094
|
return {
|
|
68602
69095
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68611,9 +69104,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
68611
69104
|
|
|
68612
69105
|
// src/funcs/transfersInitiateRefund.ts
|
|
68613
69106
|
function transfersInitiateRefund(client, request, options) {
|
|
68614
|
-
return new APIPromise($
|
|
69107
|
+
return new APIPromise($do122(client, request, options));
|
|
68615
69108
|
}
|
|
68616
|
-
async function $
|
|
69109
|
+
async function $do122(client, request, options) {
|
|
68617
69110
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68618
69111
|
if (!parsed.ok) {
|
|
68619
69112
|
return [parsed, { status: "invalid" }];
|
|
@@ -68703,12 +69196,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
68703
69196
|
});
|
|
68704
69197
|
|
|
68705
69198
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
68706
|
-
var
|
|
69199
|
+
var args122, tool$transfersInitiateRefund;
|
|
68707
69200
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
68708
69201
|
init_transfersInitiateRefund();
|
|
68709
69202
|
init_operations();
|
|
68710
69203
|
init_tools();
|
|
68711
|
-
|
|
69204
|
+
args122 = {
|
|
68712
69205
|
request: InitiateRefundRequest$inboundSchema
|
|
68713
69206
|
};
|
|
68714
69207
|
tool$transfersInitiateRefund = {
|
|
@@ -68720,9 +69213,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
68720
69213
|
|
|
68721
69214
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68722
69215
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
68723
|
-
args:
|
|
68724
|
-
tool: async (client,
|
|
68725
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
69216
|
+
args: args122,
|
|
69217
|
+
tool: async (client, args123, ctx) => {
|
|
69218
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68726
69219
|
if (!result.ok) {
|
|
68727
69220
|
return {
|
|
68728
69221
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68737,9 +69230,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
68737
69230
|
|
|
68738
69231
|
// src/funcs/transfersList.ts
|
|
68739
69232
|
function transfersList(client, request, options) {
|
|
68740
|
-
return new APIPromise($
|
|
69233
|
+
return new APIPromise($do123(client, request, options));
|
|
68741
69234
|
}
|
|
68742
|
-
async function $
|
|
69235
|
+
async function $do123(client, request, options) {
|
|
68743
69236
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68744
69237
|
if (!parsed.ok) {
|
|
68745
69238
|
return [parsed, { status: "invalid" }];
|
|
@@ -68827,12 +69320,12 @@ var init_transfersList = __esm(() => {
|
|
|
68827
69320
|
});
|
|
68828
69321
|
|
|
68829
69322
|
// src/mcp-server/tools/transfersList.ts
|
|
68830
|
-
var
|
|
69323
|
+
var args123, tool$transfersList;
|
|
68831
69324
|
var init_transfersList2 = __esm(() => {
|
|
68832
69325
|
init_transfersList();
|
|
68833
69326
|
init_operations();
|
|
68834
69327
|
init_tools();
|
|
68835
|
-
|
|
69328
|
+
args123 = {
|
|
68836
69329
|
request: ListTransfersRequest$inboundSchema
|
|
68837
69330
|
};
|
|
68838
69331
|
tool$transfersList = {
|
|
@@ -68848,9 +69341,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
68848
69341
|
|
|
68849
69342
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68850
69343
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
68851
|
-
args:
|
|
68852
|
-
tool: async (client,
|
|
68853
|
-
const [result, apiCall] = await transfersList(client,
|
|
69344
|
+
args: args123,
|
|
69345
|
+
tool: async (client, args124, ctx) => {
|
|
69346
|
+
const [result, apiCall] = await transfersList(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68854
69347
|
if (!result.ok) {
|
|
68855
69348
|
return {
|
|
68856
69349
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68865,9 +69358,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
68865
69358
|
|
|
68866
69359
|
// src/funcs/transfersListRefunds.ts
|
|
68867
69360
|
function transfersListRefunds(client, request, options) {
|
|
68868
|
-
return new APIPromise($
|
|
69361
|
+
return new APIPromise($do124(client, request, options));
|
|
68869
69362
|
}
|
|
68870
|
-
async function $
|
|
69363
|
+
async function $do124(client, request, options) {
|
|
68871
69364
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68872
69365
|
if (!parsed.ok) {
|
|
68873
69366
|
return [parsed, { status: "invalid" }];
|
|
@@ -68947,12 +69440,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
68947
69440
|
});
|
|
68948
69441
|
|
|
68949
69442
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
68950
|
-
var
|
|
69443
|
+
var args124, tool$transfersListRefunds;
|
|
68951
69444
|
var init_transfersListRefunds2 = __esm(() => {
|
|
68952
69445
|
init_transfersListRefunds();
|
|
68953
69446
|
init_operations();
|
|
68954
69447
|
init_tools();
|
|
68955
|
-
|
|
69448
|
+
args124 = {
|
|
68956
69449
|
request: ListRefundsRequest$inboundSchema
|
|
68957
69450
|
};
|
|
68958
69451
|
tool$transfersListRefunds = {
|
|
@@ -68961,9 +69454,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
68961
69454
|
|
|
68962
69455
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68963
69456
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
68964
|
-
args:
|
|
68965
|
-
tool: async (client,
|
|
68966
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
69457
|
+
args: args124,
|
|
69458
|
+
tool: async (client, args125, ctx) => {
|
|
69459
|
+
const [result, apiCall] = await transfersListRefunds(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68967
69460
|
if (!result.ok) {
|
|
68968
69461
|
return {
|
|
68969
69462
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68978,9 +69471,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
68978
69471
|
|
|
68979
69472
|
// src/funcs/transfersUpdate.ts
|
|
68980
69473
|
function transfersUpdate(client, request, options) {
|
|
68981
|
-
return new APIPromise($
|
|
69474
|
+
return new APIPromise($do125(client, request, options));
|
|
68982
69475
|
}
|
|
68983
|
-
async function $
|
|
69476
|
+
async function $do125(client, request, options) {
|
|
68984
69477
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68985
69478
|
if (!parsed.ok) {
|
|
68986
69479
|
return [parsed, { status: "invalid" }];
|
|
@@ -69061,12 +69554,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
69061
69554
|
});
|
|
69062
69555
|
|
|
69063
69556
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
69064
|
-
var
|
|
69557
|
+
var args125, tool$transfersUpdate;
|
|
69065
69558
|
var init_transfersUpdate2 = __esm(() => {
|
|
69066
69559
|
init_transfersUpdate();
|
|
69067
69560
|
init_operations();
|
|
69068
69561
|
init_tools();
|
|
69069
|
-
|
|
69562
|
+
args125 = {
|
|
69070
69563
|
request: UpdateTransferRequest$inboundSchema
|
|
69071
69564
|
};
|
|
69072
69565
|
tool$transfersUpdate = {
|
|
@@ -69077,9 +69570,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
69077
69570
|
|
|
69078
69571
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69079
69572
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
69080
|
-
args:
|
|
69081
|
-
tool: async (client,
|
|
69082
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
69573
|
+
args: args125,
|
|
69574
|
+
tool: async (client, args126, ctx) => {
|
|
69575
|
+
const [result, apiCall] = await transfersUpdate(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69083
69576
|
if (!result.ok) {
|
|
69084
69577
|
return {
|
|
69085
69578
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69094,9 +69587,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
69094
69587
|
|
|
69095
69588
|
// src/funcs/underwritingGet.ts
|
|
69096
69589
|
function underwritingGet(client, request, options) {
|
|
69097
|
-
return new APIPromise($
|
|
69590
|
+
return new APIPromise($do126(client, request, options));
|
|
69098
69591
|
}
|
|
69099
|
-
async function $
|
|
69592
|
+
async function $do126(client, request, options) {
|
|
69100
69593
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69101
69594
|
if (!parsed.ok) {
|
|
69102
69595
|
return [parsed, { status: "invalid" }];
|
|
@@ -69172,12 +69665,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
69172
69665
|
});
|
|
69173
69666
|
|
|
69174
69667
|
// src/mcp-server/tools/underwritingGet.ts
|
|
69175
|
-
var
|
|
69668
|
+
var args126, tool$underwritingGet;
|
|
69176
69669
|
var init_underwritingGet2 = __esm(() => {
|
|
69177
69670
|
init_underwritingGet();
|
|
69178
69671
|
init_operations();
|
|
69179
69672
|
init_tools();
|
|
69180
|
-
|
|
69673
|
+
args126 = {
|
|
69181
69674
|
request: GetUnderwritingRequest$inboundSchema
|
|
69182
69675
|
};
|
|
69183
69676
|
tool$underwritingGet = {
|
|
@@ -69188,9 +69681,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
69188
69681
|
|
|
69189
69682
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69190
69683
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
69191
|
-
args:
|
|
69192
|
-
tool: async (client,
|
|
69193
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
69684
|
+
args: args126,
|
|
69685
|
+
tool: async (client, args127, ctx) => {
|
|
69686
|
+
const [result, apiCall] = await underwritingGet(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69194
69687
|
if (!result.ok) {
|
|
69195
69688
|
return {
|
|
69196
69689
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69205,9 +69698,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
69205
69698
|
|
|
69206
69699
|
// src/funcs/underwritingUpsert.ts
|
|
69207
69700
|
function underwritingUpsert(client, request, options) {
|
|
69208
|
-
return new APIPromise($
|
|
69701
|
+
return new APIPromise($do127(client, request, options));
|
|
69209
69702
|
}
|
|
69210
|
-
async function $
|
|
69703
|
+
async function $do127(client, request, options) {
|
|
69211
69704
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69212
69705
|
if (!parsed.ok) {
|
|
69213
69706
|
return [parsed, { status: "invalid" }];
|
|
@@ -69301,12 +69794,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
69301
69794
|
});
|
|
69302
69795
|
|
|
69303
69796
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
69304
|
-
var
|
|
69797
|
+
var args127, tool$underwritingUpsert;
|
|
69305
69798
|
var init_underwritingUpsert2 = __esm(() => {
|
|
69306
69799
|
init_underwritingUpsert();
|
|
69307
69800
|
init_operations();
|
|
69308
69801
|
init_tools();
|
|
69309
|
-
|
|
69802
|
+
args127 = {
|
|
69310
69803
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
69311
69804
|
};
|
|
69312
69805
|
tool$underwritingUpsert = {
|
|
@@ -69317,9 +69810,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
69317
69810
|
|
|
69318
69811
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69319
69812
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
69320
|
-
args:
|
|
69321
|
-
tool: async (client,
|
|
69322
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
69813
|
+
args: args127,
|
|
69814
|
+
tool: async (client, args128, ctx) => {
|
|
69815
|
+
const [result, apiCall] = await underwritingUpsert(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69323
69816
|
if (!result.ok) {
|
|
69324
69817
|
return {
|
|
69325
69818
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69334,9 +69827,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
69334
69827
|
|
|
69335
69828
|
// src/funcs/walletsGet.ts
|
|
69336
69829
|
function walletsGet(client, request, options) {
|
|
69337
|
-
return new APIPromise($
|
|
69830
|
+
return new APIPromise($do128(client, request, options));
|
|
69338
69831
|
}
|
|
69339
|
-
async function $
|
|
69832
|
+
async function $do128(client, request, options) {
|
|
69340
69833
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69341
69834
|
if (!parsed.ok) {
|
|
69342
69835
|
return [parsed, { status: "invalid" }];
|
|
@@ -69416,12 +69909,12 @@ var init_walletsGet = __esm(() => {
|
|
|
69416
69909
|
});
|
|
69417
69910
|
|
|
69418
69911
|
// src/mcp-server/tools/walletsGet.ts
|
|
69419
|
-
var
|
|
69912
|
+
var args128, tool$walletsGet;
|
|
69420
69913
|
var init_walletsGet2 = __esm(() => {
|
|
69421
69914
|
init_walletsGet();
|
|
69422
69915
|
init_operations();
|
|
69423
69916
|
init_tools();
|
|
69424
|
-
|
|
69917
|
+
args128 = {
|
|
69425
69918
|
request: GetWalletRequest$inboundSchema
|
|
69426
69919
|
};
|
|
69427
69920
|
tool$walletsGet = {
|
|
@@ -69432,9 +69925,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
69432
69925
|
|
|
69433
69926
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69434
69927
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
69435
|
-
args:
|
|
69436
|
-
tool: async (client,
|
|
69437
|
-
const [result, apiCall] = await walletsGet(client,
|
|
69928
|
+
args: args128,
|
|
69929
|
+
tool: async (client, args129, ctx) => {
|
|
69930
|
+
const [result, apiCall] = await walletsGet(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69438
69931
|
if (!result.ok) {
|
|
69439
69932
|
return {
|
|
69440
69933
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69449,9 +69942,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
69449
69942
|
|
|
69450
69943
|
// src/funcs/walletsList.ts
|
|
69451
69944
|
function walletsList(client, request, options) {
|
|
69452
|
-
return new APIPromise($
|
|
69945
|
+
return new APIPromise($do129(client, request, options));
|
|
69453
69946
|
}
|
|
69454
|
-
async function $
|
|
69947
|
+
async function $do129(client, request, options) {
|
|
69455
69948
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69456
69949
|
if (!parsed.ok) {
|
|
69457
69950
|
return [parsed, { status: "invalid" }];
|
|
@@ -69527,12 +70020,12 @@ var init_walletsList = __esm(() => {
|
|
|
69527
70020
|
});
|
|
69528
70021
|
|
|
69529
70022
|
// src/mcp-server/tools/walletsList.ts
|
|
69530
|
-
var
|
|
70023
|
+
var args129, tool$walletsList;
|
|
69531
70024
|
var init_walletsList2 = __esm(() => {
|
|
69532
70025
|
init_walletsList();
|
|
69533
70026
|
init_operations();
|
|
69534
70027
|
init_tools();
|
|
69535
|
-
|
|
70028
|
+
args129 = {
|
|
69536
70029
|
request: ListWalletsRequest$inboundSchema
|
|
69537
70030
|
};
|
|
69538
70031
|
tool$walletsList = {
|
|
@@ -69543,9 +70036,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
69543
70036
|
|
|
69544
70037
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69545
70038
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
69546
|
-
args:
|
|
69547
|
-
tool: async (client,
|
|
69548
|
-
const [result, apiCall] = await walletsList(client,
|
|
70039
|
+
args: args129,
|
|
70040
|
+
tool: async (client, args130, ctx) => {
|
|
70041
|
+
const [result, apiCall] = await walletsList(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69549
70042
|
if (!result.ok) {
|
|
69550
70043
|
return {
|
|
69551
70044
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69560,9 +70053,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
69560
70053
|
|
|
69561
70054
|
// src/funcs/walletTransactionsGet.ts
|
|
69562
70055
|
function walletTransactionsGet(client, request, options) {
|
|
69563
|
-
return new APIPromise($
|
|
70056
|
+
return new APIPromise($do130(client, request, options));
|
|
69564
70057
|
}
|
|
69565
|
-
async function $
|
|
70058
|
+
async function $do130(client, request, options) {
|
|
69566
70059
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69567
70060
|
if (!parsed.ok) {
|
|
69568
70061
|
return [parsed, { status: "invalid" }];
|
|
@@ -69646,12 +70139,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
69646
70139
|
});
|
|
69647
70140
|
|
|
69648
70141
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
69649
|
-
var
|
|
70142
|
+
var args130, tool$walletTransactionsGet;
|
|
69650
70143
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
69651
70144
|
init_walletTransactionsGet();
|
|
69652
70145
|
init_operations();
|
|
69653
70146
|
init_tools();
|
|
69654
|
-
|
|
70147
|
+
args130 = {
|
|
69655
70148
|
request: GetWalletTransactionRequest$inboundSchema
|
|
69656
70149
|
};
|
|
69657
70150
|
tool$walletTransactionsGet = {
|
|
@@ -69662,9 +70155,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
69662
70155
|
|
|
69663
70156
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69664
70157
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
69665
|
-
args:
|
|
69666
|
-
tool: async (client,
|
|
69667
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
70158
|
+
args: args130,
|
|
70159
|
+
tool: async (client, args131, ctx) => {
|
|
70160
|
+
const [result, apiCall] = await walletTransactionsGet(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69668
70161
|
if (!result.ok) {
|
|
69669
70162
|
return {
|
|
69670
70163
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69679,9 +70172,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
69679
70172
|
|
|
69680
70173
|
// src/funcs/walletTransactionsList.ts
|
|
69681
70174
|
function walletTransactionsList(client, request, options) {
|
|
69682
|
-
return new APIPromise($
|
|
70175
|
+
return new APIPromise($do131(client, request, options));
|
|
69683
70176
|
}
|
|
69684
|
-
async function $
|
|
70177
|
+
async function $do131(client, request, options) {
|
|
69685
70178
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69686
70179
|
if (!parsed.ok) {
|
|
69687
70180
|
return [parsed, { status: "invalid" }];
|
|
@@ -69776,12 +70269,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
69776
70269
|
});
|
|
69777
70270
|
|
|
69778
70271
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
69779
|
-
var
|
|
70272
|
+
var args131, tool$walletTransactionsList;
|
|
69780
70273
|
var init_walletTransactionsList2 = __esm(() => {
|
|
69781
70274
|
init_walletTransactionsList();
|
|
69782
70275
|
init_operations();
|
|
69783
70276
|
init_tools();
|
|
69784
|
-
|
|
70277
|
+
args131 = {
|
|
69785
70278
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
69786
70279
|
};
|
|
69787
70280
|
tool$walletTransactionsList = {
|
|
@@ -69792,9 +70285,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
69792
70285
|
|
|
69793
70286
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69794
70287
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
69795
|
-
args:
|
|
69796
|
-
tool: async (client,
|
|
69797
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
70288
|
+
args: args131,
|
|
70289
|
+
tool: async (client, args132, ctx) => {
|
|
70290
|
+
const [result, apiCall] = await walletTransactionsList(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69798
70291
|
if (!result.ok) {
|
|
69799
70292
|
return {
|
|
69800
70293
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69811,7 +70304,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
69811
70304
|
function createMCPServer(deps) {
|
|
69812
70305
|
const server = new McpServer({
|
|
69813
70306
|
name: "Moov",
|
|
69814
|
-
version: "0.6.
|
|
70307
|
+
version: "0.6.2"
|
|
69815
70308
|
});
|
|
69816
70309
|
const client = new MoovCore({
|
|
69817
70310
|
security: deps.security,
|
|
@@ -69947,6 +70440,8 @@ function createMCPServer(deps) {
|
|
|
69947
70440
|
tool(tool$onboardingGetInvite);
|
|
69948
70441
|
tool(tool$onboardingRevokeInvite);
|
|
69949
70442
|
tool(tool$pingPing);
|
|
70443
|
+
tool(tool$receiptsCreate);
|
|
70444
|
+
tool(tool$receiptsList);
|
|
69950
70445
|
tool(tool$terminalApplicationsCreate);
|
|
69951
70446
|
tool(tool$terminalApplicationsList);
|
|
69952
70447
|
tool(tool$terminalApplicationsGet);
|
|
@@ -70049,6 +70544,8 @@ var init_server2 = __esm(() => {
|
|
|
70049
70544
|
init_paymentMethodsGet2();
|
|
70050
70545
|
init_paymentMethodsList2();
|
|
70051
70546
|
init_pingPing2();
|
|
70547
|
+
init_receiptsCreate2();
|
|
70548
|
+
init_receiptsList2();
|
|
70052
70549
|
init_representativesCreate2();
|
|
70053
70550
|
init_representativesDelete2();
|
|
70054
70551
|
init_representativesGet2();
|
|
@@ -71301,7 +71798,7 @@ var routes = rn({
|
|
|
71301
71798
|
var app = Ve(routes, {
|
|
71302
71799
|
name: "mcp",
|
|
71303
71800
|
versionInfo: {
|
|
71304
|
-
currentVersion: "0.6.
|
|
71801
|
+
currentVersion: "0.6.2"
|
|
71305
71802
|
}
|
|
71306
71803
|
});
|
|
71307
71804
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -71309,5 +71806,5 @@ export {
|
|
|
71309
71806
|
app
|
|
71310
71807
|
};
|
|
71311
71808
|
|
|
71312
|
-
//# debugId=
|
|
71809
|
+
//# debugId=31E0C8A0A67FDE4264756E2164756E21
|
|
71313
71810
|
//# sourceMappingURL=mcp-server.js.map
|