@moovio/sdk 0.16.6 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -45
- package/bin/mcp-server.js +1158 -545
- package/bin/mcp-server.js.map +20 -9
- package/docs/sdks/images/README.md +190 -0
- package/examples/package-lock.json +1 -1
- package/funcs/imagesUpdate.d.ts +19 -0
- package/funcs/imagesUpdate.d.ts.map +1 -0
- package/funcs/imagesUpdate.js +170 -0
- package/funcs/imagesUpdate.js.map +1 -0
- package/funcs/imagesUpload.d.ts +16 -0
- package/funcs/imagesUpload.d.ts.map +1 -0
- package/funcs/imagesUpload.js +161 -0
- package/funcs/imagesUpload.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/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/imagesUpdate.d.ts +8 -0
- package/mcp-server/tools/imagesUpdate.d.ts.map +1 -0
- package/mcp-server/tools/imagesUpdate.js +66 -0
- package/mcp-server/tools/imagesUpdate.js.map +1 -0
- package/mcp-server/tools/imagesUpload.d.ts +8 -0
- package/mcp-server/tools/imagesUpload.d.ts.map +1 -0
- package/mcp-server/tools/imagesUpload.js +63 -0
- package/mcp-server/tools/imagesUpload.js.map +1 -0
- package/models/components/imagemetadatarequest.d.ts +35 -0
- package/models/components/imagemetadatarequest.d.ts.map +1 -0
- package/models/components/imagemetadatarequest.js +69 -0
- package/models/components/imagemetadatarequest.js.map +1 -0
- package/models/components/imagemetadatavalidationerror.d.ts +29 -0
- package/models/components/imagemetadatavalidationerror.d.ts.map +1 -0
- package/models/components/imagemetadatavalidationerror.js +69 -0
- package/models/components/imagemetadatavalidationerror.js.map +1 -0
- package/models/components/imageupdaterequestmultipart.d.ts +103 -0
- package/models/components/imageupdaterequestmultipart.d.ts.map +1 -0
- package/models/components/imageupdaterequestmultipart.js +139 -0
- package/models/components/imageupdaterequestmultipart.js.map +1 -0
- package/models/components/imageuploadrequestmultipart.d.ts +65 -0
- package/models/components/imageuploadrequestmultipart.d.ts.map +1 -0
- package/models/components/imageuploadrequestmultipart.js +113 -0
- package/models/components/imageuploadrequestmultipart.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/errors/imagerequestvalidationerror.d.ts +40 -0
- package/models/errors/imagerequestvalidationerror.d.ts.map +1 -0
- package/models/errors/imagerequestvalidationerror.js +91 -0
- package/models/errors/imagerequestvalidationerror.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/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/updateimage.d.ts +103 -0
- package/models/operations/updateimage.d.ts.map +1 -0
- package/models/operations/updateimage.js +157 -0
- package/models/operations/updateimage.js.map +1 -0
- package/models/operations/uploadimage.d.ts +101 -0
- package/models/operations/uploadimage.d.ts.map +1 -0
- package/models/operations/uploadimage.js +155 -0
- package/models/operations/uploadimage.js.map +1 -0
- package/package.json +1 -1
- package/sdk/images.d.ts +13 -0
- package/sdk/images.d.ts.map +1 -1
- package/sdk/images.js +19 -0
- package/sdk/images.js.map +1 -1
- package/src/funcs/imagesUpdate.ts +258 -0
- package/src/funcs/imagesUpload.ts +249 -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/imagesUpdate.ts +39 -0
- package/src/mcp-server/tools/imagesUpload.ts +36 -0
- package/src/models/components/imagemetadatarequest.ts +72 -0
- package/src/models/components/imagemetadatavalidationerror.ts +68 -0
- package/src/models/components/imageupdaterequestmultipart.ts +224 -0
- package/src/models/components/imageuploadrequestmultipart.ts +150 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/errors/imagerequestvalidationerror.ts +86 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/updateimage.ts +237 -0
- package/src/models/operations/uploadimage.ts +233 -0
- package/src/sdk/images.ts +35 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34175,9 +34175,9 @@ var init_config = __esm(() => {
|
|
|
34175
34175
|
SDK_METADATA = {
|
|
34176
34176
|
language: "typescript",
|
|
34177
34177
|
openapiDocVersion: "latest",
|
|
34178
|
-
sdkVersion: "0.
|
|
34179
|
-
genVersion: "2.
|
|
34180
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34178
|
+
sdkVersion: "0.17.0",
|
|
34179
|
+
genVersion: "2.727.4",
|
|
34180
|
+
userAgent: "speakeasy-sdk/typescript 0.17.0 2.727.4 latest @moovio/sdk"
|
|
34181
34181
|
};
|
|
34182
34182
|
});
|
|
34183
34183
|
|
|
@@ -45190,6 +45190,131 @@ var init_imagemetadata = __esm(() => {
|
|
|
45190
45190
|
})(ImageMetadata$ ||= {});
|
|
45191
45191
|
});
|
|
45192
45192
|
|
|
45193
|
+
// src/models/components/imagemetadatarequest.ts
|
|
45194
|
+
var ImageMetadataRequest$inboundSchema, ImageMetadataRequest$outboundSchema, ImageMetadataRequest$;
|
|
45195
|
+
var init_imagemetadatarequest = __esm(() => {
|
|
45196
|
+
init_esm();
|
|
45197
|
+
ImageMetadataRequest$inboundSchema = objectType({
|
|
45198
|
+
altText: stringType().optional()
|
|
45199
|
+
});
|
|
45200
|
+
ImageMetadataRequest$outboundSchema = objectType({
|
|
45201
|
+
altText: stringType().optional()
|
|
45202
|
+
});
|
|
45203
|
+
((ImageMetadataRequest$) => {
|
|
45204
|
+
ImageMetadataRequest$.inboundSchema = ImageMetadataRequest$inboundSchema;
|
|
45205
|
+
ImageMetadataRequest$.outboundSchema = ImageMetadataRequest$outboundSchema;
|
|
45206
|
+
})(ImageMetadataRequest$ ||= {});
|
|
45207
|
+
});
|
|
45208
|
+
|
|
45209
|
+
// src/models/components/imagemetadatavalidationerror.ts
|
|
45210
|
+
var ImageMetadataValidationError$inboundSchema, ImageMetadataValidationError$outboundSchema, ImageMetadataValidationError$;
|
|
45211
|
+
var init_imagemetadatavalidationerror = __esm(() => {
|
|
45212
|
+
init_esm();
|
|
45213
|
+
ImageMetadataValidationError$inboundSchema = objectType({
|
|
45214
|
+
altText: stringType().optional()
|
|
45215
|
+
});
|
|
45216
|
+
ImageMetadataValidationError$outboundSchema = objectType({
|
|
45217
|
+
altText: stringType().optional()
|
|
45218
|
+
});
|
|
45219
|
+
((ImageMetadataValidationError$) => {
|
|
45220
|
+
ImageMetadataValidationError$.inboundSchema = ImageMetadataValidationError$inboundSchema;
|
|
45221
|
+
ImageMetadataValidationError$.outboundSchema = ImageMetadataValidationError$outboundSchema;
|
|
45222
|
+
})(ImageMetadataValidationError$ ||= {});
|
|
45223
|
+
});
|
|
45224
|
+
|
|
45225
|
+
// src/models/components/imageupdaterequestmultipart.ts
|
|
45226
|
+
var ImageUpdateRequestMultiPartImage$inboundSchema, ImageUpdateRequestMultiPartImage$outboundSchema, ImageUpdateRequestMultiPartImage$, Metadata$inboundSchema, Metadata$outboundSchema, Metadata$, ImageUpdateRequestMultiPart$inboundSchema, ImageUpdateRequestMultiPart$outboundSchema, ImageUpdateRequestMultiPart$;
|
|
45227
|
+
var init_imageupdaterequestmultipart = __esm(() => {
|
|
45228
|
+
init_esm();
|
|
45229
|
+
init_blobs();
|
|
45230
|
+
ImageUpdateRequestMultiPartImage$inboundSchema = objectType({
|
|
45231
|
+
fileName: stringType(),
|
|
45232
|
+
content: unionType([
|
|
45233
|
+
instanceOfType(ReadableStream),
|
|
45234
|
+
instanceOfType(Blob),
|
|
45235
|
+
instanceOfType(ArrayBuffer),
|
|
45236
|
+
instanceOfType(Uint8Array)
|
|
45237
|
+
])
|
|
45238
|
+
});
|
|
45239
|
+
ImageUpdateRequestMultiPartImage$outboundSchema = objectType({
|
|
45240
|
+
fileName: stringType(),
|
|
45241
|
+
content: unionType([
|
|
45242
|
+
instanceOfType(ReadableStream),
|
|
45243
|
+
instanceOfType(Blob),
|
|
45244
|
+
instanceOfType(ArrayBuffer),
|
|
45245
|
+
instanceOfType(Uint8Array)
|
|
45246
|
+
])
|
|
45247
|
+
});
|
|
45248
|
+
((ImageUpdateRequestMultiPartImage$) => {
|
|
45249
|
+
ImageUpdateRequestMultiPartImage$.inboundSchema = ImageUpdateRequestMultiPartImage$inboundSchema;
|
|
45250
|
+
ImageUpdateRequestMultiPartImage$.outboundSchema = ImageUpdateRequestMultiPartImage$outboundSchema;
|
|
45251
|
+
})(ImageUpdateRequestMultiPartImage$ ||= {});
|
|
45252
|
+
Metadata$inboundSchema = objectType({
|
|
45253
|
+
altText: stringType().optional()
|
|
45254
|
+
});
|
|
45255
|
+
Metadata$outboundSchema = objectType({
|
|
45256
|
+
altText: stringType().optional()
|
|
45257
|
+
});
|
|
45258
|
+
((Metadata$) => {
|
|
45259
|
+
Metadata$.inboundSchema = Metadata$inboundSchema;
|
|
45260
|
+
Metadata$.outboundSchema = Metadata$outboundSchema;
|
|
45261
|
+
})(Metadata$ ||= {});
|
|
45262
|
+
ImageUpdateRequestMultiPart$inboundSchema = objectType({
|
|
45263
|
+
image: lazyType(() => ImageUpdateRequestMultiPartImage$inboundSchema).optional(),
|
|
45264
|
+
metadata: nullableType(lazyType(() => Metadata$inboundSchema)).optional()
|
|
45265
|
+
});
|
|
45266
|
+
ImageUpdateRequestMultiPart$outboundSchema = objectType({
|
|
45267
|
+
image: lazyType(() => ImageUpdateRequestMultiPartImage$outboundSchema).or(blobLikeSchema).optional(),
|
|
45268
|
+
metadata: nullableType(lazyType(() => Metadata$outboundSchema)).optional()
|
|
45269
|
+
});
|
|
45270
|
+
((ImageUpdateRequestMultiPart$) => {
|
|
45271
|
+
ImageUpdateRequestMultiPart$.inboundSchema = ImageUpdateRequestMultiPart$inboundSchema;
|
|
45272
|
+
ImageUpdateRequestMultiPart$.outboundSchema = ImageUpdateRequestMultiPart$outboundSchema;
|
|
45273
|
+
})(ImageUpdateRequestMultiPart$ ||= {});
|
|
45274
|
+
});
|
|
45275
|
+
|
|
45276
|
+
// src/models/components/imageuploadrequestmultipart.ts
|
|
45277
|
+
var Image$inboundSchema, Image$outboundSchema, Image$, ImageUploadRequestMultiPart$inboundSchema, ImageUploadRequestMultiPart$outboundSchema, ImageUploadRequestMultiPart$;
|
|
45278
|
+
var init_imageuploadrequestmultipart = __esm(() => {
|
|
45279
|
+
init_esm();
|
|
45280
|
+
init_blobs();
|
|
45281
|
+
init_imagemetadatarequest();
|
|
45282
|
+
Image$inboundSchema = objectType({
|
|
45283
|
+
fileName: stringType(),
|
|
45284
|
+
content: unionType([
|
|
45285
|
+
instanceOfType(ReadableStream),
|
|
45286
|
+
instanceOfType(Blob),
|
|
45287
|
+
instanceOfType(ArrayBuffer),
|
|
45288
|
+
instanceOfType(Uint8Array)
|
|
45289
|
+
])
|
|
45290
|
+
});
|
|
45291
|
+
Image$outboundSchema = objectType({
|
|
45292
|
+
fileName: stringType(),
|
|
45293
|
+
content: unionType([
|
|
45294
|
+
instanceOfType(ReadableStream),
|
|
45295
|
+
instanceOfType(Blob),
|
|
45296
|
+
instanceOfType(ArrayBuffer),
|
|
45297
|
+
instanceOfType(Uint8Array)
|
|
45298
|
+
])
|
|
45299
|
+
});
|
|
45300
|
+
((Image$) => {
|
|
45301
|
+
Image$.inboundSchema = Image$inboundSchema;
|
|
45302
|
+
Image$.outboundSchema = Image$outboundSchema;
|
|
45303
|
+
})(Image$ ||= {});
|
|
45304
|
+
ImageUploadRequestMultiPart$inboundSchema = objectType({
|
|
45305
|
+
image: lazyType(() => Image$inboundSchema),
|
|
45306
|
+
metadata: ImageMetadataRequest$inboundSchema.optional()
|
|
45307
|
+
});
|
|
45308
|
+
ImageUploadRequestMultiPart$outboundSchema = objectType({
|
|
45309
|
+
image: lazyType(() => Image$outboundSchema).or(blobLikeSchema),
|
|
45310
|
+
metadata: ImageMetadataRequest$outboundSchema.optional()
|
|
45311
|
+
});
|
|
45312
|
+
((ImageUploadRequestMultiPart$) => {
|
|
45313
|
+
ImageUploadRequestMultiPart$.inboundSchema = ImageUploadRequestMultiPart$inboundSchema;
|
|
45314
|
+
ImageUploadRequestMultiPart$.outboundSchema = ImageUploadRequestMultiPart$outboundSchema;
|
|
45315
|
+
})(ImageUploadRequestMultiPart$ ||= {});
|
|
45316
|
+
});
|
|
45317
|
+
|
|
45193
45318
|
// src/models/components/incurredfee.ts
|
|
45194
45319
|
var IncurredFee$inboundSchema, IncurredFee$outboundSchema, IncurredFee$;
|
|
45195
45320
|
var init_incurredfee = __esm(() => {
|
|
@@ -50642,6 +50767,10 @@ var init_components = __esm(() => {
|
|
|
50642
50767
|
init_granttype();
|
|
50643
50768
|
init_guestprofile();
|
|
50644
50769
|
init_imagemetadata();
|
|
50770
|
+
init_imagemetadatarequest();
|
|
50771
|
+
init_imagemetadatavalidationerror();
|
|
50772
|
+
init_imageupdaterequestmultipart();
|
|
50773
|
+
init_imageuploadrequestmultipart();
|
|
50645
50774
|
init_incurredfee();
|
|
50646
50775
|
init_individualname();
|
|
50647
50776
|
init_individualnameerror();
|
|
@@ -51522,6 +51651,50 @@ var init_genericerror = __esm(() => {
|
|
|
51522
51651
|
})(GenericError$ ||= {});
|
|
51523
51652
|
});
|
|
51524
51653
|
|
|
51654
|
+
// src/models/errors/imagerequestvalidationerror.ts
|
|
51655
|
+
var ImageRequestValidationError, ImageRequestValidationError$inboundSchema, ImageRequestValidationError$outboundSchema, ImageRequestValidationError$;
|
|
51656
|
+
var init_imagerequestvalidationerror = __esm(() => {
|
|
51657
|
+
init_esm();
|
|
51658
|
+
init_components();
|
|
51659
|
+
init_mooverror();
|
|
51660
|
+
ImageRequestValidationError = class ImageRequestValidationError extends MoovError {
|
|
51661
|
+
image;
|
|
51662
|
+
metadata;
|
|
51663
|
+
data$;
|
|
51664
|
+
constructor(err, httpMeta) {
|
|
51665
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
51666
|
+
super(message, httpMeta);
|
|
51667
|
+
this.data$ = err;
|
|
51668
|
+
if (err.image != null)
|
|
51669
|
+
this.image = err.image;
|
|
51670
|
+
if (err.metadata != null)
|
|
51671
|
+
this.metadata = err.metadata;
|
|
51672
|
+
this.name = "ImageRequestValidationError";
|
|
51673
|
+
}
|
|
51674
|
+
};
|
|
51675
|
+
ImageRequestValidationError$inboundSchema = objectType({
|
|
51676
|
+
image: stringType().optional(),
|
|
51677
|
+
metadata: ImageMetadataValidationError$inboundSchema.optional(),
|
|
51678
|
+
request$: instanceOfType(Request),
|
|
51679
|
+
response$: instanceOfType(Response),
|
|
51680
|
+
body$: stringType()
|
|
51681
|
+
}).transform((v2) => {
|
|
51682
|
+
return new ImageRequestValidationError(v2, {
|
|
51683
|
+
request: v2.request$,
|
|
51684
|
+
response: v2.response$,
|
|
51685
|
+
body: v2.body$
|
|
51686
|
+
});
|
|
51687
|
+
});
|
|
51688
|
+
ImageRequestValidationError$outboundSchema = instanceOfType(ImageRequestValidationError).transform((v2) => v2.data$).pipe(objectType({
|
|
51689
|
+
image: stringType().optional(),
|
|
51690
|
+
metadata: ImageMetadataValidationError$outboundSchema.optional()
|
|
51691
|
+
}));
|
|
51692
|
+
((ImageRequestValidationError$) => {
|
|
51693
|
+
ImageRequestValidationError$.inboundSchema = ImageRequestValidationError$inboundSchema;
|
|
51694
|
+
ImageRequestValidationError$.outboundSchema = ImageRequestValidationError$outboundSchema;
|
|
51695
|
+
})(ImageRequestValidationError$ ||= {});
|
|
51696
|
+
});
|
|
51697
|
+
|
|
51525
51698
|
// src/models/errors/linkapplepayerror.ts
|
|
51526
51699
|
var LinkApplePayError, LinkApplePayError$inboundSchema, LinkApplePayError$outboundSchema, LinkApplePayError$;
|
|
51527
51700
|
var init_linkapplepayerror = __esm(() => {
|
|
@@ -53371,6 +53544,7 @@ var init_errors2 = __esm(() => {
|
|
|
53371
53544
|
init_filevalidationerror();
|
|
53372
53545
|
init_genericerror();
|
|
53373
53546
|
init_httpclienterrors();
|
|
53547
|
+
init_imagerequestvalidationerror();
|
|
53374
53548
|
init_linkapplepayerror();
|
|
53375
53549
|
init_linkcarderror();
|
|
53376
53550
|
init_listtransfersvalidationerror();
|
|
@@ -62326,6 +62500,76 @@ var init_updatedisputeevidence = __esm(() => {
|
|
|
62326
62500
|
})(UpdateDisputeEvidenceResponse$ ||= {});
|
|
62327
62501
|
});
|
|
62328
62502
|
|
|
62503
|
+
// src/models/operations/updateimage.ts
|
|
62504
|
+
var UpdateImageGlobals$inboundSchema, UpdateImageGlobals$outboundSchema, UpdateImageGlobals$, UpdateImageRequest$inboundSchema, UpdateImageRequest$outboundSchema, UpdateImageRequest$, UpdateImageResponse$inboundSchema, UpdateImageResponse$outboundSchema, UpdateImageResponse$;
|
|
62505
|
+
var init_updateimage = __esm(() => {
|
|
62506
|
+
init_esm();
|
|
62507
|
+
init_primitives();
|
|
62508
|
+
init_components();
|
|
62509
|
+
UpdateImageGlobals$inboundSchema = objectType({
|
|
62510
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
62511
|
+
}).transform((v2) => {
|
|
62512
|
+
return remap(v2, {
|
|
62513
|
+
"x-moov-version": "xMoovVersion"
|
|
62514
|
+
});
|
|
62515
|
+
});
|
|
62516
|
+
UpdateImageGlobals$outboundSchema = objectType({
|
|
62517
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
62518
|
+
}).transform((v2) => {
|
|
62519
|
+
return remap(v2, {
|
|
62520
|
+
xMoovVersion: "x-moov-version"
|
|
62521
|
+
});
|
|
62522
|
+
});
|
|
62523
|
+
((UpdateImageGlobals$) => {
|
|
62524
|
+
UpdateImageGlobals$.inboundSchema = UpdateImageGlobals$inboundSchema;
|
|
62525
|
+
UpdateImageGlobals$.outboundSchema = UpdateImageGlobals$outboundSchema;
|
|
62526
|
+
})(UpdateImageGlobals$ ||= {});
|
|
62527
|
+
UpdateImageRequest$inboundSchema = objectType({
|
|
62528
|
+
accountID: stringType(),
|
|
62529
|
+
imageID: stringType(),
|
|
62530
|
+
ImageUpdateRequestMultiPart: ImageUpdateRequestMultiPart$inboundSchema
|
|
62531
|
+
}).transform((v2) => {
|
|
62532
|
+
return remap(v2, {
|
|
62533
|
+
ImageUpdateRequestMultiPart: "imageUpdateRequestMultiPart"
|
|
62534
|
+
});
|
|
62535
|
+
});
|
|
62536
|
+
UpdateImageRequest$outboundSchema = objectType({
|
|
62537
|
+
accountID: stringType(),
|
|
62538
|
+
imageID: stringType(),
|
|
62539
|
+
imageUpdateRequestMultiPart: ImageUpdateRequestMultiPart$outboundSchema
|
|
62540
|
+
}).transform((v2) => {
|
|
62541
|
+
return remap(v2, {
|
|
62542
|
+
imageUpdateRequestMultiPart: "ImageUpdateRequestMultiPart"
|
|
62543
|
+
});
|
|
62544
|
+
});
|
|
62545
|
+
((UpdateImageRequest$) => {
|
|
62546
|
+
UpdateImageRequest$.inboundSchema = UpdateImageRequest$inboundSchema;
|
|
62547
|
+
UpdateImageRequest$.outboundSchema = UpdateImageRequest$outboundSchema;
|
|
62548
|
+
})(UpdateImageRequest$ ||= {});
|
|
62549
|
+
UpdateImageResponse$inboundSchema = objectType({
|
|
62550
|
+
Headers: recordType(arrayType(stringType())),
|
|
62551
|
+
Result: ImageMetadata$inboundSchema
|
|
62552
|
+
}).transform((v2) => {
|
|
62553
|
+
return remap(v2, {
|
|
62554
|
+
Headers: "headers",
|
|
62555
|
+
Result: "result"
|
|
62556
|
+
});
|
|
62557
|
+
});
|
|
62558
|
+
UpdateImageResponse$outboundSchema = objectType({
|
|
62559
|
+
headers: recordType(arrayType(stringType())),
|
|
62560
|
+
result: ImageMetadata$outboundSchema
|
|
62561
|
+
}).transform((v2) => {
|
|
62562
|
+
return remap(v2, {
|
|
62563
|
+
headers: "Headers",
|
|
62564
|
+
result: "Result"
|
|
62565
|
+
});
|
|
62566
|
+
});
|
|
62567
|
+
((UpdateImageResponse$) => {
|
|
62568
|
+
UpdateImageResponse$.inboundSchema = UpdateImageResponse$inboundSchema;
|
|
62569
|
+
UpdateImageResponse$.outboundSchema = UpdateImageResponse$outboundSchema;
|
|
62570
|
+
})(UpdateImageResponse$ ||= {});
|
|
62571
|
+
});
|
|
62572
|
+
|
|
62329
62573
|
// src/models/operations/updateissuedcard.ts
|
|
62330
62574
|
var UpdateIssuedCardGlobals$inboundSchema, UpdateIssuedCardGlobals$outboundSchema, UpdateIssuedCardGlobals$, UpdateIssuedCardRequest$inboundSchema, UpdateIssuedCardRequest$outboundSchema, UpdateIssuedCardRequest$, UpdateIssuedCardResponse$inboundSchema, UpdateIssuedCardResponse$outboundSchema, UpdateIssuedCardResponse$;
|
|
62331
62575
|
var init_updateissuedcard2 = __esm(() => {
|
|
@@ -63160,6 +63404,74 @@ var init_uploadfile = __esm(() => {
|
|
|
63160
63404
|
})(UploadFileResponse$ ||= {});
|
|
63161
63405
|
});
|
|
63162
63406
|
|
|
63407
|
+
// src/models/operations/uploadimage.ts
|
|
63408
|
+
var UploadImageGlobals$inboundSchema, UploadImageGlobals$outboundSchema, UploadImageGlobals$, UploadImageRequest$inboundSchema, UploadImageRequest$outboundSchema, UploadImageRequest$, UploadImageResponse$inboundSchema, UploadImageResponse$outboundSchema, UploadImageResponse$;
|
|
63409
|
+
var init_uploadimage = __esm(() => {
|
|
63410
|
+
init_esm();
|
|
63411
|
+
init_primitives();
|
|
63412
|
+
init_components();
|
|
63413
|
+
UploadImageGlobals$inboundSchema = objectType({
|
|
63414
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
63415
|
+
}).transform((v2) => {
|
|
63416
|
+
return remap(v2, {
|
|
63417
|
+
"x-moov-version": "xMoovVersion"
|
|
63418
|
+
});
|
|
63419
|
+
});
|
|
63420
|
+
UploadImageGlobals$outboundSchema = objectType({
|
|
63421
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
63422
|
+
}).transform((v2) => {
|
|
63423
|
+
return remap(v2, {
|
|
63424
|
+
xMoovVersion: "x-moov-version"
|
|
63425
|
+
});
|
|
63426
|
+
});
|
|
63427
|
+
((UploadImageGlobals$) => {
|
|
63428
|
+
UploadImageGlobals$.inboundSchema = UploadImageGlobals$inboundSchema;
|
|
63429
|
+
UploadImageGlobals$.outboundSchema = UploadImageGlobals$outboundSchema;
|
|
63430
|
+
})(UploadImageGlobals$ ||= {});
|
|
63431
|
+
UploadImageRequest$inboundSchema = objectType({
|
|
63432
|
+
accountID: stringType(),
|
|
63433
|
+
ImageUploadRequestMultiPart: ImageUploadRequestMultiPart$inboundSchema
|
|
63434
|
+
}).transform((v2) => {
|
|
63435
|
+
return remap(v2, {
|
|
63436
|
+
ImageUploadRequestMultiPart: "imageUploadRequestMultiPart"
|
|
63437
|
+
});
|
|
63438
|
+
});
|
|
63439
|
+
UploadImageRequest$outboundSchema = objectType({
|
|
63440
|
+
accountID: stringType(),
|
|
63441
|
+
imageUploadRequestMultiPart: ImageUploadRequestMultiPart$outboundSchema
|
|
63442
|
+
}).transform((v2) => {
|
|
63443
|
+
return remap(v2, {
|
|
63444
|
+
imageUploadRequestMultiPart: "ImageUploadRequestMultiPart"
|
|
63445
|
+
});
|
|
63446
|
+
});
|
|
63447
|
+
((UploadImageRequest$) => {
|
|
63448
|
+
UploadImageRequest$.inboundSchema = UploadImageRequest$inboundSchema;
|
|
63449
|
+
UploadImageRequest$.outboundSchema = UploadImageRequest$outboundSchema;
|
|
63450
|
+
})(UploadImageRequest$ ||= {});
|
|
63451
|
+
UploadImageResponse$inboundSchema = objectType({
|
|
63452
|
+
Headers: recordType(arrayType(stringType())),
|
|
63453
|
+
Result: ImageMetadata$inboundSchema
|
|
63454
|
+
}).transform((v2) => {
|
|
63455
|
+
return remap(v2, {
|
|
63456
|
+
Headers: "headers",
|
|
63457
|
+
Result: "result"
|
|
63458
|
+
});
|
|
63459
|
+
});
|
|
63460
|
+
UploadImageResponse$outboundSchema = objectType({
|
|
63461
|
+
headers: recordType(arrayType(stringType())),
|
|
63462
|
+
result: ImageMetadata$outboundSchema
|
|
63463
|
+
}).transform((v2) => {
|
|
63464
|
+
return remap(v2, {
|
|
63465
|
+
headers: "Headers",
|
|
63466
|
+
result: "Result"
|
|
63467
|
+
});
|
|
63468
|
+
});
|
|
63469
|
+
((UploadImageResponse$) => {
|
|
63470
|
+
UploadImageResponse$.inboundSchema = UploadImageResponse$inboundSchema;
|
|
63471
|
+
UploadImageResponse$.outboundSchema = UploadImageResponse$outboundSchema;
|
|
63472
|
+
})(UploadImageResponse$ ||= {});
|
|
63473
|
+
});
|
|
63474
|
+
|
|
63163
63475
|
// src/models/operations/upsertbrand.ts
|
|
63164
63476
|
var UpsertBrandGlobals$inboundSchema, UpsertBrandGlobals$outboundSchema, UpsertBrandGlobals$, UpsertBrandRequest$inboundSchema, UpsertBrandRequest$outboundSchema, UpsertBrandRequest$, UpsertBrandResponse$inboundSchema, UpsertBrandResponse$outboundSchema, UpsertBrandResponse$;
|
|
63165
63477
|
var init_upsertbrand = __esm(() => {
|
|
@@ -63440,6 +63752,7 @@ var init_operations = __esm(() => {
|
|
|
63440
63752
|
init_updatebrand2();
|
|
63441
63753
|
init_updatecard2();
|
|
63442
63754
|
init_updatedisputeevidence();
|
|
63755
|
+
init_updateimage();
|
|
63443
63756
|
init_updateissuedcard2();
|
|
63444
63757
|
init_updatepaymentlink2();
|
|
63445
63758
|
init_updateproduct();
|
|
@@ -63452,6 +63765,7 @@ var init_operations = __esm(() => {
|
|
|
63452
63765
|
init_uploaddisputeevidencefile();
|
|
63453
63766
|
init_uploaddisputeevidencetext();
|
|
63454
63767
|
init_uploadfile();
|
|
63768
|
+
init_uploadimage();
|
|
63455
63769
|
init_upsertbrand();
|
|
63456
63770
|
init_upsertunderwriting2();
|
|
63457
63771
|
});
|
|
@@ -73114,11 +73428,306 @@ var init_imagesList2 = __esm(() => {
|
|
|
73114
73428
|
};
|
|
73115
73429
|
});
|
|
73116
73430
|
|
|
73431
|
+
// src/funcs/imagesUpdate.ts
|
|
73432
|
+
function imagesUpdate(client, request, options) {
|
|
73433
|
+
return new APIPromise($do80(client, request, options));
|
|
73434
|
+
}
|
|
73435
|
+
async function $do80(client, request, options) {
|
|
73436
|
+
const parsed = safeParse(request, (value) => UpdateImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73437
|
+
if (!parsed.ok) {
|
|
73438
|
+
return [parsed, { status: "invalid" }];
|
|
73439
|
+
}
|
|
73440
|
+
const payload = parsed.value;
|
|
73441
|
+
const body = new FormData;
|
|
73442
|
+
if (payload.ImageUpdateRequestMultiPart.image !== undefined) {
|
|
73443
|
+
if (isBlobLike(payload.ImageUpdateRequestMultiPart.image)) {
|
|
73444
|
+
appendForm(body, "image", payload.ImageUpdateRequestMultiPart.image);
|
|
73445
|
+
} else if (isReadableStream(payload.ImageUpdateRequestMultiPart.image.content)) {
|
|
73446
|
+
const buffer = await readableStreamToArrayBuffer(payload.ImageUpdateRequestMultiPart.image.content);
|
|
73447
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUpdateRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
73448
|
+
const blob = new Blob([buffer], { type: contentType2 });
|
|
73449
|
+
appendForm(body, "image", blob, payload.ImageUpdateRequestMultiPart.image.fileName);
|
|
73450
|
+
} else {
|
|
73451
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUpdateRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
73452
|
+
appendForm(body, "image", new Blob([payload.ImageUpdateRequestMultiPart.image.content], {
|
|
73453
|
+
type: contentType2
|
|
73454
|
+
}), payload.ImageUpdateRequestMultiPart.image.fileName);
|
|
73455
|
+
}
|
|
73456
|
+
}
|
|
73457
|
+
if (payload.ImageUpdateRequestMultiPart.metadata !== undefined) {
|
|
73458
|
+
appendForm(body, "metadata", encodeJSON("metadata", payload.ImageUpdateRequestMultiPart.metadata, {
|
|
73459
|
+
explode: true
|
|
73460
|
+
}));
|
|
73461
|
+
}
|
|
73462
|
+
const pathParams = {
|
|
73463
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
73464
|
+
explode: false,
|
|
73465
|
+
charEncoding: "percent"
|
|
73466
|
+
}),
|
|
73467
|
+
imageID: encodeSimple("imageID", payload.imageID, {
|
|
73468
|
+
explode: false,
|
|
73469
|
+
charEncoding: "percent"
|
|
73470
|
+
})
|
|
73471
|
+
};
|
|
73472
|
+
const path = pathToFunc("/accounts/{accountID}/images/{imageID}")(pathParams);
|
|
73473
|
+
const headers = new Headers(compactMap({
|
|
73474
|
+
Accept: "application/json",
|
|
73475
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
73476
|
+
}));
|
|
73477
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
73478
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
73479
|
+
const context = {
|
|
73480
|
+
options: client._options,
|
|
73481
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
73482
|
+
operationID: "updateImage",
|
|
73483
|
+
oAuth2Scopes: null,
|
|
73484
|
+
resolvedSecurity: requestSecurity,
|
|
73485
|
+
securitySource: client._options.security,
|
|
73486
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
73487
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
73488
|
+
};
|
|
73489
|
+
const requestRes = client._createRequest(context, {
|
|
73490
|
+
security: requestSecurity,
|
|
73491
|
+
method: "PATCH",
|
|
73492
|
+
baseURL: options?.serverURL,
|
|
73493
|
+
path,
|
|
73494
|
+
headers,
|
|
73495
|
+
body,
|
|
73496
|
+
userAgent: client._options.userAgent,
|
|
73497
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
73498
|
+
}, options);
|
|
73499
|
+
if (!requestRes.ok) {
|
|
73500
|
+
return [requestRes, { status: "invalid" }];
|
|
73501
|
+
}
|
|
73502
|
+
const req = requestRes.value;
|
|
73503
|
+
const doResult = await client._do(req, {
|
|
73504
|
+
context,
|
|
73505
|
+
errorCodes: [
|
|
73506
|
+
"400",
|
|
73507
|
+
"401",
|
|
73508
|
+
"403",
|
|
73509
|
+
"404",
|
|
73510
|
+
"409",
|
|
73511
|
+
"422",
|
|
73512
|
+
"429",
|
|
73513
|
+
"4XX",
|
|
73514
|
+
"500",
|
|
73515
|
+
"504",
|
|
73516
|
+
"5XX"
|
|
73517
|
+
],
|
|
73518
|
+
retryConfig: context.retryConfig,
|
|
73519
|
+
retryCodes: context.retryCodes
|
|
73520
|
+
});
|
|
73521
|
+
if (!doResult.ok) {
|
|
73522
|
+
return [doResult, { status: "request-error", request: req }];
|
|
73523
|
+
}
|
|
73524
|
+
const response = doResult.value;
|
|
73525
|
+
const responseFields = {
|
|
73526
|
+
HttpMeta: { Response: response, Request: req }
|
|
73527
|
+
};
|
|
73528
|
+
const [result] = await match(json(200, UpdateImageResponse$inboundSchema, {
|
|
73529
|
+
hdrs: true,
|
|
73530
|
+
key: "Result"
|
|
73531
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, ImageRequestValidationError$inboundSchema, {
|
|
73532
|
+
hdrs: true
|
|
73533
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
73534
|
+
if (!result.ok) {
|
|
73535
|
+
return [result, { status: "complete", request: req, response }];
|
|
73536
|
+
}
|
|
73537
|
+
return [result, { status: "complete", request: req, response }];
|
|
73538
|
+
}
|
|
73539
|
+
var init_imagesUpdate = __esm(() => {
|
|
73540
|
+
init_encodings();
|
|
73541
|
+
init_matchers();
|
|
73542
|
+
init_primitives();
|
|
73543
|
+
init_schemas();
|
|
73544
|
+
init_security();
|
|
73545
|
+
init_url();
|
|
73546
|
+
init_errors2();
|
|
73547
|
+
init_operations();
|
|
73548
|
+
init_async();
|
|
73549
|
+
init_blobs();
|
|
73550
|
+
});
|
|
73551
|
+
|
|
73552
|
+
// src/mcp-server/tools/imagesUpdate.ts
|
|
73553
|
+
var args80, tool$imagesUpdate;
|
|
73554
|
+
var init_imagesUpdate2 = __esm(() => {
|
|
73555
|
+
init_imagesUpdate();
|
|
73556
|
+
init_operations();
|
|
73557
|
+
init_tools();
|
|
73558
|
+
args80 = {
|
|
73559
|
+
request: UpdateImageRequest$inboundSchema
|
|
73560
|
+
};
|
|
73561
|
+
tool$imagesUpdate = {
|
|
73562
|
+
name: "images-update",
|
|
73563
|
+
description: `Update an existing image and/or its metadata.
|
|
73564
|
+
|
|
73565
|
+
Duplicate images, and requests larger than 16MB will be rejected. Omit any
|
|
73566
|
+
form parts you do not wish to update. Existing metadata can be cleared by
|
|
73567
|
+
sending \`null\` for the \`metadata\` form part.`,
|
|
73568
|
+
args: args80,
|
|
73569
|
+
tool: async (client, args81, ctx) => {
|
|
73570
|
+
const [result, apiCall] = await imagesUpdate(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73571
|
+
if (!result.ok) {
|
|
73572
|
+
return {
|
|
73573
|
+
content: [{ type: "text", text: result.error.message }],
|
|
73574
|
+
isError: true
|
|
73575
|
+
};
|
|
73576
|
+
}
|
|
73577
|
+
const value = result.value.result;
|
|
73578
|
+
return formatResult(value, apiCall);
|
|
73579
|
+
}
|
|
73580
|
+
};
|
|
73581
|
+
});
|
|
73582
|
+
|
|
73583
|
+
// src/funcs/imagesUpload.ts
|
|
73584
|
+
function imagesUpload(client, request, options) {
|
|
73585
|
+
return new APIPromise($do81(client, request, options));
|
|
73586
|
+
}
|
|
73587
|
+
async function $do81(client, request, options) {
|
|
73588
|
+
const parsed = safeParse(request, (value) => UploadImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73589
|
+
if (!parsed.ok) {
|
|
73590
|
+
return [parsed, { status: "invalid" }];
|
|
73591
|
+
}
|
|
73592
|
+
const payload = parsed.value;
|
|
73593
|
+
const body = new FormData;
|
|
73594
|
+
if (isBlobLike(payload.ImageUploadRequestMultiPart.image)) {
|
|
73595
|
+
appendForm(body, "image", payload.ImageUploadRequestMultiPart.image);
|
|
73596
|
+
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
73597
|
+
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
73598
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
73599
|
+
const blob = new Blob([buffer], { type: contentType2 });
|
|
73600
|
+
appendForm(body, "image", blob, payload.ImageUploadRequestMultiPart.image.fileName);
|
|
73601
|
+
} else {
|
|
73602
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
73603
|
+
appendForm(body, "image", new Blob([payload.ImageUploadRequestMultiPart.image.content], {
|
|
73604
|
+
type: contentType2
|
|
73605
|
+
}), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
73606
|
+
}
|
|
73607
|
+
if (payload.ImageUploadRequestMultiPart.metadata !== undefined) {
|
|
73608
|
+
appendForm(body, "metadata", encodeJSON("metadata", payload.ImageUploadRequestMultiPart.metadata, {
|
|
73609
|
+
explode: true
|
|
73610
|
+
}));
|
|
73611
|
+
}
|
|
73612
|
+
const pathParams = {
|
|
73613
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
73614
|
+
explode: false,
|
|
73615
|
+
charEncoding: "percent"
|
|
73616
|
+
})
|
|
73617
|
+
};
|
|
73618
|
+
const path = pathToFunc("/accounts/{accountID}/images")(pathParams);
|
|
73619
|
+
const headers = new Headers(compactMap({
|
|
73620
|
+
Accept: "application/json",
|
|
73621
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
73622
|
+
}));
|
|
73623
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
73624
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
73625
|
+
const context = {
|
|
73626
|
+
options: client._options,
|
|
73627
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
73628
|
+
operationID: "uploadImage",
|
|
73629
|
+
oAuth2Scopes: null,
|
|
73630
|
+
resolvedSecurity: requestSecurity,
|
|
73631
|
+
securitySource: client._options.security,
|
|
73632
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
73633
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
73634
|
+
};
|
|
73635
|
+
const requestRes = client._createRequest(context, {
|
|
73636
|
+
security: requestSecurity,
|
|
73637
|
+
method: "POST",
|
|
73638
|
+
baseURL: options?.serverURL,
|
|
73639
|
+
path,
|
|
73640
|
+
headers,
|
|
73641
|
+
body,
|
|
73642
|
+
userAgent: client._options.userAgent,
|
|
73643
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
73644
|
+
}, options);
|
|
73645
|
+
if (!requestRes.ok) {
|
|
73646
|
+
return [requestRes, { status: "invalid" }];
|
|
73647
|
+
}
|
|
73648
|
+
const req = requestRes.value;
|
|
73649
|
+
const doResult = await client._do(req, {
|
|
73650
|
+
context,
|
|
73651
|
+
errorCodes: [
|
|
73652
|
+
"400",
|
|
73653
|
+
"401",
|
|
73654
|
+
"403",
|
|
73655
|
+
"404",
|
|
73656
|
+
"409",
|
|
73657
|
+
"422",
|
|
73658
|
+
"429",
|
|
73659
|
+
"4XX",
|
|
73660
|
+
"500",
|
|
73661
|
+
"504",
|
|
73662
|
+
"5XX"
|
|
73663
|
+
],
|
|
73664
|
+
retryConfig: context.retryConfig,
|
|
73665
|
+
retryCodes: context.retryCodes
|
|
73666
|
+
});
|
|
73667
|
+
if (!doResult.ok) {
|
|
73668
|
+
return [doResult, { status: "request-error", request: req }];
|
|
73669
|
+
}
|
|
73670
|
+
const response = doResult.value;
|
|
73671
|
+
const responseFields = {
|
|
73672
|
+
HttpMeta: { Response: response, Request: req }
|
|
73673
|
+
};
|
|
73674
|
+
const [result] = await match(json(201, UploadImageResponse$inboundSchema, {
|
|
73675
|
+
hdrs: true,
|
|
73676
|
+
key: "Result"
|
|
73677
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, ImageRequestValidationError$inboundSchema, {
|
|
73678
|
+
hdrs: true
|
|
73679
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
73680
|
+
if (!result.ok) {
|
|
73681
|
+
return [result, { status: "complete", request: req, response }];
|
|
73682
|
+
}
|
|
73683
|
+
return [result, { status: "complete", request: req, response }];
|
|
73684
|
+
}
|
|
73685
|
+
var init_imagesUpload = __esm(() => {
|
|
73686
|
+
init_encodings();
|
|
73687
|
+
init_matchers();
|
|
73688
|
+
init_primitives();
|
|
73689
|
+
init_schemas();
|
|
73690
|
+
init_security();
|
|
73691
|
+
init_url();
|
|
73692
|
+
init_errors2();
|
|
73693
|
+
init_operations();
|
|
73694
|
+
init_async();
|
|
73695
|
+
init_blobs();
|
|
73696
|
+
});
|
|
73697
|
+
|
|
73698
|
+
// src/mcp-server/tools/imagesUpload.ts
|
|
73699
|
+
var args81, tool$imagesUpload;
|
|
73700
|
+
var init_imagesUpload2 = __esm(() => {
|
|
73701
|
+
init_imagesUpload();
|
|
73702
|
+
init_operations();
|
|
73703
|
+
init_tools();
|
|
73704
|
+
args81 = {
|
|
73705
|
+
request: UploadImageRequest$inboundSchema
|
|
73706
|
+
};
|
|
73707
|
+
tool$imagesUpload = {
|
|
73708
|
+
name: "images-upload",
|
|
73709
|
+
description: ` Upload a new PNG, JPEG, or WebP image with optional metadata.
|
|
73710
|
+
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
73711
|
+
args: args81,
|
|
73712
|
+
tool: async (client, args82, ctx) => {
|
|
73713
|
+
const [result, apiCall] = await imagesUpload(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73714
|
+
if (!result.ok) {
|
|
73715
|
+
return {
|
|
73716
|
+
content: [{ type: "text", text: result.error.message }],
|
|
73717
|
+
isError: true
|
|
73718
|
+
};
|
|
73719
|
+
}
|
|
73720
|
+
const value = result.value.result;
|
|
73721
|
+
return formatResult(value, apiCall);
|
|
73722
|
+
}
|
|
73723
|
+
};
|
|
73724
|
+
});
|
|
73725
|
+
|
|
73117
73726
|
// src/funcs/industriesList.ts
|
|
73118
73727
|
function industriesList(client, _request, options) {
|
|
73119
|
-
return new APIPromise($
|
|
73728
|
+
return new APIPromise($do82(client, _request, options));
|
|
73120
73729
|
}
|
|
73121
|
-
async function $
|
|
73730
|
+
async function $do82(client, _request, options) {
|
|
73122
73731
|
const path = pathToFunc("/industries")();
|
|
73123
73732
|
const headers = new Headers(compactMap({
|
|
73124
73733
|
Accept: "application/json",
|
|
@@ -73182,12 +73791,12 @@ var init_industriesList = __esm(() => {
|
|
|
73182
73791
|
});
|
|
73183
73792
|
|
|
73184
73793
|
// src/mcp-server/tools/industriesList.ts
|
|
73185
|
-
var
|
|
73794
|
+
var args82, tool$industriesList;
|
|
73186
73795
|
var init_industriesList2 = __esm(() => {
|
|
73187
73796
|
init_industriesList();
|
|
73188
73797
|
init_operations();
|
|
73189
73798
|
init_tools();
|
|
73190
|
-
|
|
73799
|
+
args82 = {
|
|
73191
73800
|
request: ListIndustriesRequest$inboundSchema
|
|
73192
73801
|
};
|
|
73193
73802
|
tool$industriesList = {
|
|
@@ -73196,9 +73805,9 @@ var init_industriesList2 = __esm(() => {
|
|
|
73196
73805
|
|
|
73197
73806
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
73198
73807
|
you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
73199
|
-
args:
|
|
73200
|
-
tool: async (client,
|
|
73201
|
-
const [result, apiCall] = await industriesList(client,
|
|
73808
|
+
args: args82,
|
|
73809
|
+
tool: async (client, args83, ctx) => {
|
|
73810
|
+
const [result, apiCall] = await industriesList(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73202
73811
|
if (!result.ok) {
|
|
73203
73812
|
return {
|
|
73204
73813
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73213,9 +73822,9 @@ you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
|
73213
73822
|
|
|
73214
73823
|
// src/funcs/institutionsSearch.ts
|
|
73215
73824
|
function institutionsSearch(client, request, options) {
|
|
73216
|
-
return new APIPromise($
|
|
73825
|
+
return new APIPromise($do83(client, request, options));
|
|
73217
73826
|
}
|
|
73218
|
-
async function $
|
|
73827
|
+
async function $do83(client, request, options) {
|
|
73219
73828
|
const parsed = safeParse(request, (value) => ListInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73220
73829
|
if (!parsed.ok) {
|
|
73221
73830
|
return [parsed, { status: "invalid" }];
|
|
@@ -73295,12 +73904,12 @@ var init_institutionsSearch = __esm(() => {
|
|
|
73295
73904
|
});
|
|
73296
73905
|
|
|
73297
73906
|
// src/mcp-server/tools/institutionsSearch.ts
|
|
73298
|
-
var
|
|
73907
|
+
var args83, tool$institutionsSearch;
|
|
73299
73908
|
var init_institutionsSearch2 = __esm(() => {
|
|
73300
73909
|
init_institutionsSearch();
|
|
73301
73910
|
init_operations();
|
|
73302
73911
|
init_tools();
|
|
73303
|
-
|
|
73912
|
+
args83 = {
|
|
73304
73913
|
request: ListInstitutionsRequest$inboundSchema
|
|
73305
73914
|
};
|
|
73306
73915
|
tool$institutionsSearch = {
|
|
@@ -73309,9 +73918,9 @@ var init_institutionsSearch2 = __esm(() => {
|
|
|
73309
73918
|
|
|
73310
73919
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73311
73920
|
you'll need to specify the \`/fed.read\` scope.`,
|
|
73312
|
-
args:
|
|
73313
|
-
tool: async (client,
|
|
73314
|
-
const [result, apiCall] = await institutionsSearch(client,
|
|
73921
|
+
args: args83,
|
|
73922
|
+
tool: async (client, args84, ctx) => {
|
|
73923
|
+
const [result, apiCall] = await institutionsSearch(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73315
73924
|
if (!result.ok) {
|
|
73316
73925
|
return {
|
|
73317
73926
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73326,9 +73935,9 @@ you'll need to specify the \`/fed.read\` scope.`,
|
|
|
73326
73935
|
|
|
73327
73936
|
// src/funcs/institutionsSearchInstitutions.ts
|
|
73328
73937
|
function institutionsSearchInstitutions(client, request, options) {
|
|
73329
|
-
return new APIPromise($
|
|
73938
|
+
return new APIPromise($do84(client, request, options));
|
|
73330
73939
|
}
|
|
73331
|
-
async function $
|
|
73940
|
+
async function $do84(client, request, options) {
|
|
73332
73941
|
const parsed = safeParse(request, (value) => SearchInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73333
73942
|
if (!parsed.ok) {
|
|
73334
73943
|
return [parsed, { status: "invalid" }];
|
|
@@ -73406,12 +74015,12 @@ var init_institutionsSearchInstitutions = __esm(() => {
|
|
|
73406
74015
|
});
|
|
73407
74016
|
|
|
73408
74017
|
// src/mcp-server/tools/institutionsSearchInstitutions.ts
|
|
73409
|
-
var
|
|
74018
|
+
var args84, tool$institutionsSearchInstitutions;
|
|
73410
74019
|
var init_institutionsSearchInstitutions2 = __esm(() => {
|
|
73411
74020
|
init_institutionsSearchInstitutions();
|
|
73412
74021
|
init_operations();
|
|
73413
74022
|
init_tools();
|
|
73414
|
-
|
|
74023
|
+
args84 = {
|
|
73415
74024
|
request: SearchInstitutionsRequest$inboundSchema
|
|
73416
74025
|
};
|
|
73417
74026
|
tool$institutionsSearchInstitutions = {
|
|
@@ -73424,9 +74033,9 @@ This can be used to validate a financial institution before initiating payment a
|
|
|
73424
74033
|
|
|
73425
74034
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73426
74035
|
you'll need to specify the \`/institutions.read\` scope.`,
|
|
73427
|
-
args:
|
|
73428
|
-
tool: async (client,
|
|
73429
|
-
const [result, apiCall] = await institutionsSearchInstitutions(client,
|
|
74036
|
+
args: args84,
|
|
74037
|
+
tool: async (client, args85, ctx) => {
|
|
74038
|
+
const [result, apiCall] = await institutionsSearchInstitutions(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73430
74039
|
if (!result.ok) {
|
|
73431
74040
|
return {
|
|
73432
74041
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73441,9 +74050,9 @@ you'll need to specify the \`/institutions.read\` scope.`,
|
|
|
73441
74050
|
|
|
73442
74051
|
// src/funcs/issuingTransactionsGet.ts
|
|
73443
74052
|
function issuingTransactionsGet(client, request, options) {
|
|
73444
|
-
return new APIPromise($
|
|
74053
|
+
return new APIPromise($do85(client, request, options));
|
|
73445
74054
|
}
|
|
73446
|
-
async function $
|
|
74055
|
+
async function $do85(client, request, options) {
|
|
73447
74056
|
const parsed = safeParse(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73448
74057
|
if (!parsed.ok) {
|
|
73449
74058
|
return [parsed, { status: "invalid" }];
|
|
@@ -73522,12 +74131,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
73522
74131
|
});
|
|
73523
74132
|
|
|
73524
74133
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
73525
|
-
var
|
|
74134
|
+
var args85, tool$issuingTransactionsGet;
|
|
73526
74135
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
73527
74136
|
init_issuingTransactionsGet();
|
|
73528
74137
|
init_operations();
|
|
73529
74138
|
init_tools();
|
|
73530
|
-
|
|
74139
|
+
args85 = {
|
|
73531
74140
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
73532
74141
|
};
|
|
73533
74142
|
tool$issuingTransactionsGet = {
|
|
@@ -73536,9 +74145,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
73536
74145
|
|
|
73537
74146
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73538
74147
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
73539
|
-
args:
|
|
73540
|
-
tool: async (client,
|
|
73541
|
-
const [result, apiCall] = await issuingTransactionsGet(client,
|
|
74148
|
+
args: args85,
|
|
74149
|
+
tool: async (client, args86, ctx) => {
|
|
74150
|
+
const [result, apiCall] = await issuingTransactionsGet(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73542
74151
|
if (!result.ok) {
|
|
73543
74152
|
return {
|
|
73544
74153
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73553,9 +74162,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
73553
74162
|
|
|
73554
74163
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
73555
74164
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
73556
|
-
return new APIPromise($
|
|
74165
|
+
return new APIPromise($do86(client, request, options));
|
|
73557
74166
|
}
|
|
73558
|
-
async function $
|
|
74167
|
+
async function $do86(client, request, options) {
|
|
73559
74168
|
const parsed = safeParse(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73560
74169
|
if (!parsed.ok) {
|
|
73561
74170
|
return [parsed, { status: "invalid" }];
|
|
@@ -73637,12 +74246,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
73637
74246
|
});
|
|
73638
74247
|
|
|
73639
74248
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
73640
|
-
var
|
|
74249
|
+
var args86, tool$issuingTransactionsGetAuthorization;
|
|
73641
74250
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
73642
74251
|
init_issuingTransactionsGetAuthorization();
|
|
73643
74252
|
init_operations();
|
|
73644
74253
|
init_tools();
|
|
73645
|
-
|
|
74254
|
+
args86 = {
|
|
73646
74255
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
73647
74256
|
};
|
|
73648
74257
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -73651,9 +74260,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
73651
74260
|
|
|
73652
74261
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73653
74262
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
73654
|
-
args:
|
|
73655
|
-
tool: async (client,
|
|
73656
|
-
const [result, apiCall] = await issuingTransactionsGetAuthorization(client,
|
|
74263
|
+
args: args86,
|
|
74264
|
+
tool: async (client, args87, ctx) => {
|
|
74265
|
+
const [result, apiCall] = await issuingTransactionsGetAuthorization(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73657
74266
|
if (!result.ok) {
|
|
73658
74267
|
return {
|
|
73659
74268
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73668,9 +74277,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
73668
74277
|
|
|
73669
74278
|
// src/funcs/issuingTransactionsList.ts
|
|
73670
74279
|
function issuingTransactionsList(client, request, options) {
|
|
73671
|
-
return new APIPromise($
|
|
74280
|
+
return new APIPromise($do87(client, request, options));
|
|
73672
74281
|
}
|
|
73673
|
-
async function $
|
|
74282
|
+
async function $do87(client, request, options) {
|
|
73674
74283
|
const parsed = safeParse(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73675
74284
|
if (!parsed.ok) {
|
|
73676
74285
|
return [parsed, { status: "invalid" }];
|
|
@@ -73756,12 +74365,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
73756
74365
|
});
|
|
73757
74366
|
|
|
73758
74367
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
73759
|
-
var
|
|
74368
|
+
var args87, tool$issuingTransactionsList;
|
|
73760
74369
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
73761
74370
|
init_issuingTransactionsList();
|
|
73762
74371
|
init_operations();
|
|
73763
74372
|
init_tools();
|
|
73764
|
-
|
|
74373
|
+
args87 = {
|
|
73765
74374
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
73766
74375
|
};
|
|
73767
74376
|
tool$issuingTransactionsList = {
|
|
@@ -73770,9 +74379,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
73770
74379
|
|
|
73771
74380
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73772
74381
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
73773
|
-
args:
|
|
73774
|
-
tool: async (client,
|
|
73775
|
-
const [result, apiCall] = await issuingTransactionsList(client,
|
|
74382
|
+
args: args87,
|
|
74383
|
+
tool: async (client, args88, ctx) => {
|
|
74384
|
+
const [result, apiCall] = await issuingTransactionsList(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73776
74385
|
if (!result.ok) {
|
|
73777
74386
|
return {
|
|
73778
74387
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73787,9 +74396,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
73787
74396
|
|
|
73788
74397
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
73789
74398
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
73790
|
-
return new APIPromise($
|
|
74399
|
+
return new APIPromise($do88(client, request, options));
|
|
73791
74400
|
}
|
|
73792
|
-
async function $
|
|
74401
|
+
async function $do88(client, request, options) {
|
|
73793
74402
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73794
74403
|
if (!parsed.ok) {
|
|
73795
74404
|
return [parsed, { status: "invalid" }];
|
|
@@ -73873,12 +74482,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
73873
74482
|
});
|
|
73874
74483
|
|
|
73875
74484
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
73876
|
-
var
|
|
74485
|
+
var args88, tool$issuingTransactionsListAuthorizationEvents;
|
|
73877
74486
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
73878
74487
|
init_issuingTransactionsListAuthorizationEvents();
|
|
73879
74488
|
init_operations();
|
|
73880
74489
|
init_tools();
|
|
73881
|
-
|
|
74490
|
+
args88 = {
|
|
73882
74491
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
73883
74492
|
};
|
|
73884
74493
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -73887,9 +74496,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
73887
74496
|
|
|
73888
74497
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73889
74498
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
73890
|
-
args:
|
|
73891
|
-
tool: async (client,
|
|
73892
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client,
|
|
74499
|
+
args: args88,
|
|
74500
|
+
tool: async (client, args89, ctx) => {
|
|
74501
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73893
74502
|
if (!result.ok) {
|
|
73894
74503
|
return {
|
|
73895
74504
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73904,9 +74513,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
73904
74513
|
|
|
73905
74514
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
73906
74515
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
73907
|
-
return new APIPromise($
|
|
74516
|
+
return new APIPromise($do89(client, request, options));
|
|
73908
74517
|
}
|
|
73909
|
-
async function $
|
|
74518
|
+
async function $do89(client, request, options) {
|
|
73910
74519
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73911
74520
|
if (!parsed.ok) {
|
|
73912
74521
|
return [parsed, { status: "invalid" }];
|
|
@@ -73993,12 +74602,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
73993
74602
|
});
|
|
73994
74603
|
|
|
73995
74604
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
73996
|
-
var
|
|
74605
|
+
var args89, tool$issuingTransactionsListAuthorizations;
|
|
73997
74606
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
73998
74607
|
init_issuingTransactionsListAuthorizations();
|
|
73999
74608
|
init_operations();
|
|
74000
74609
|
init_tools();
|
|
74001
|
-
|
|
74610
|
+
args89 = {
|
|
74002
74611
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
74003
74612
|
};
|
|
74004
74613
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -74007,9 +74616,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
74007
74616
|
|
|
74008
74617
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74009
74618
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74010
|
-
args:
|
|
74011
|
-
tool: async (client,
|
|
74012
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizations(client,
|
|
74619
|
+
args: args89,
|
|
74620
|
+
tool: async (client, args90, ctx) => {
|
|
74621
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizations(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74013
74622
|
if (!result.ok) {
|
|
74014
74623
|
return {
|
|
74015
74624
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74024,9 +74633,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74024
74633
|
|
|
74025
74634
|
// src/funcs/onboardingCreateInvite.ts
|
|
74026
74635
|
function onboardingCreateInvite(client, request, options) {
|
|
74027
|
-
return new APIPromise($
|
|
74636
|
+
return new APIPromise($do90(client, request, options));
|
|
74028
74637
|
}
|
|
74029
|
-
async function $
|
|
74638
|
+
async function $do90(client, request, options) {
|
|
74030
74639
|
const parsed = safeParse(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74031
74640
|
if (!parsed.ok) {
|
|
74032
74641
|
return [parsed, { status: "invalid" }];
|
|
@@ -74113,12 +74722,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
74113
74722
|
});
|
|
74114
74723
|
|
|
74115
74724
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
74116
|
-
var
|
|
74725
|
+
var args90, tool$onboardingCreateInvite;
|
|
74117
74726
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
74118
74727
|
init_onboardingCreateInvite();
|
|
74119
74728
|
init_components();
|
|
74120
74729
|
init_tools();
|
|
74121
|
-
|
|
74730
|
+
args90 = {
|
|
74122
74731
|
request: OnboardingInviteRequest$inboundSchema
|
|
74123
74732
|
};
|
|
74124
74733
|
tool$onboardingCreateInvite = {
|
|
@@ -74127,9 +74736,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
74127
74736
|
|
|
74128
74737
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74129
74738
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
74130
|
-
args:
|
|
74131
|
-
tool: async (client,
|
|
74132
|
-
const [result, apiCall] = await onboardingCreateInvite(client,
|
|
74739
|
+
args: args90,
|
|
74740
|
+
tool: async (client, args91, ctx) => {
|
|
74741
|
+
const [result, apiCall] = await onboardingCreateInvite(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74133
74742
|
if (!result.ok) {
|
|
74134
74743
|
return {
|
|
74135
74744
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74144,9 +74753,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
74144
74753
|
|
|
74145
74754
|
// src/funcs/onboardingGetInvite.ts
|
|
74146
74755
|
function onboardingGetInvite(client, request, options) {
|
|
74147
|
-
return new APIPromise($
|
|
74756
|
+
return new APIPromise($do91(client, request, options));
|
|
74148
74757
|
}
|
|
74149
|
-
async function $
|
|
74758
|
+
async function $do91(client, request, options) {
|
|
74150
74759
|
const parsed = safeParse(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74151
74760
|
if (!parsed.ok) {
|
|
74152
74761
|
return [parsed, { status: "invalid" }];
|
|
@@ -74224,12 +74833,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
74224
74833
|
});
|
|
74225
74834
|
|
|
74226
74835
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
74227
|
-
var
|
|
74836
|
+
var args91, tool$onboardingGetInvite;
|
|
74228
74837
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
74229
74838
|
init_onboardingGetInvite();
|
|
74230
74839
|
init_operations();
|
|
74231
74840
|
init_tools();
|
|
74232
|
-
|
|
74841
|
+
args91 = {
|
|
74233
74842
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
74234
74843
|
};
|
|
74235
74844
|
tool$onboardingGetInvite = {
|
|
@@ -74238,9 +74847,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
74238
74847
|
|
|
74239
74848
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74240
74849
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
74241
|
-
args:
|
|
74242
|
-
tool: async (client,
|
|
74243
|
-
const [result, apiCall] = await onboardingGetInvite(client,
|
|
74850
|
+
args: args91,
|
|
74851
|
+
tool: async (client, args92, ctx) => {
|
|
74852
|
+
const [result, apiCall] = await onboardingGetInvite(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74244
74853
|
if (!result.ok) {
|
|
74245
74854
|
return {
|
|
74246
74855
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74255,9 +74864,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
74255
74864
|
|
|
74256
74865
|
// src/funcs/onboardingListInvites.ts
|
|
74257
74866
|
function onboardingListInvites(client, _request, options) {
|
|
74258
|
-
return new APIPromise($
|
|
74867
|
+
return new APIPromise($do92(client, _request, options));
|
|
74259
74868
|
}
|
|
74260
|
-
async function $
|
|
74869
|
+
async function $do92(client, _request, options) {
|
|
74261
74870
|
const path = pathToFunc("/onboarding-invites")();
|
|
74262
74871
|
const headers = new Headers(compactMap({
|
|
74263
74872
|
Accept: "application/json",
|
|
@@ -74321,12 +74930,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
74321
74930
|
});
|
|
74322
74931
|
|
|
74323
74932
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
74324
|
-
var
|
|
74933
|
+
var args92, tool$onboardingListInvites;
|
|
74325
74934
|
var init_onboardingListInvites2 = __esm(() => {
|
|
74326
74935
|
init_onboardingListInvites();
|
|
74327
74936
|
init_operations();
|
|
74328
74937
|
init_tools();
|
|
74329
|
-
|
|
74938
|
+
args92 = {
|
|
74330
74939
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
74331
74940
|
};
|
|
74332
74941
|
tool$onboardingListInvites = {
|
|
@@ -74335,9 +74944,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
74335
74944
|
|
|
74336
74945
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74337
74946
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
74338
|
-
args:
|
|
74339
|
-
tool: async (client,
|
|
74340
|
-
const [result, apiCall] = await onboardingListInvites(client,
|
|
74947
|
+
args: args92,
|
|
74948
|
+
tool: async (client, args93, ctx) => {
|
|
74949
|
+
const [result, apiCall] = await onboardingListInvites(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74341
74950
|
if (!result.ok) {
|
|
74342
74951
|
return {
|
|
74343
74952
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74352,9 +74961,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
74352
74961
|
|
|
74353
74962
|
// src/funcs/onboardingRevokeInvite.ts
|
|
74354
74963
|
function onboardingRevokeInvite(client, request, options) {
|
|
74355
|
-
return new APIPromise($
|
|
74964
|
+
return new APIPromise($do93(client, request, options));
|
|
74356
74965
|
}
|
|
74357
|
-
async function $
|
|
74966
|
+
async function $do93(client, request, options) {
|
|
74358
74967
|
const parsed = safeParse(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74359
74968
|
if (!parsed.ok) {
|
|
74360
74969
|
return [parsed, { status: "invalid" }];
|
|
@@ -74429,12 +75038,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
74429
75038
|
});
|
|
74430
75039
|
|
|
74431
75040
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
74432
|
-
var
|
|
75041
|
+
var args93, tool$onboardingRevokeInvite;
|
|
74433
75042
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
74434
75043
|
init_onboardingRevokeInvite();
|
|
74435
75044
|
init_operations();
|
|
74436
75045
|
init_tools();
|
|
74437
|
-
|
|
75046
|
+
args93 = {
|
|
74438
75047
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
74439
75048
|
};
|
|
74440
75049
|
tool$onboardingRevokeInvite = {
|
|
@@ -74443,9 +75052,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
74443
75052
|
|
|
74444
75053
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74445
75054
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
74446
|
-
args:
|
|
74447
|
-
tool: async (client,
|
|
74448
|
-
const [result, apiCall] = await onboardingRevokeInvite(client,
|
|
75055
|
+
args: args93,
|
|
75056
|
+
tool: async (client, args94, ctx) => {
|
|
75057
|
+
const [result, apiCall] = await onboardingRevokeInvite(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74449
75058
|
if (!result.ok) {
|
|
74450
75059
|
return {
|
|
74451
75060
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74459,9 +75068,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
74459
75068
|
|
|
74460
75069
|
// src/funcs/paymentLinksCreate.ts
|
|
74461
75070
|
function paymentLinksCreate(client, request, options) {
|
|
74462
|
-
return new APIPromise($
|
|
75071
|
+
return new APIPromise($do94(client, request, options));
|
|
74463
75072
|
}
|
|
74464
|
-
async function $
|
|
75073
|
+
async function $do94(client, request, options) {
|
|
74465
75074
|
const parsed = safeParse(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74466
75075
|
if (!parsed.ok) {
|
|
74467
75076
|
return [parsed, { status: "invalid" }];
|
|
@@ -74553,12 +75162,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
74553
75162
|
});
|
|
74554
75163
|
|
|
74555
75164
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
74556
|
-
var
|
|
75165
|
+
var args94, tool$paymentLinksCreate;
|
|
74557
75166
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
74558
75167
|
init_paymentLinksCreate();
|
|
74559
75168
|
init_operations();
|
|
74560
75169
|
init_tools();
|
|
74561
|
-
|
|
75170
|
+
args94 = {
|
|
74562
75171
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
74563
75172
|
};
|
|
74564
75173
|
tool$paymentLinksCreate = {
|
|
@@ -74567,9 +75176,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
74567
75176
|
|
|
74568
75177
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74569
75178
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74570
|
-
args:
|
|
74571
|
-
tool: async (client,
|
|
74572
|
-
const [result, apiCall] = await paymentLinksCreate(client,
|
|
75179
|
+
args: args94,
|
|
75180
|
+
tool: async (client, args95, ctx) => {
|
|
75181
|
+
const [result, apiCall] = await paymentLinksCreate(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74573
75182
|
if (!result.ok) {
|
|
74574
75183
|
return {
|
|
74575
75184
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74584,9 +75193,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74584
75193
|
|
|
74585
75194
|
// src/funcs/paymentLinksDisable.ts
|
|
74586
75195
|
function paymentLinksDisable(client, request, options) {
|
|
74587
|
-
return new APIPromise($
|
|
75196
|
+
return new APIPromise($do95(client, request, options));
|
|
74588
75197
|
}
|
|
74589
|
-
async function $
|
|
75198
|
+
async function $do95(client, request, options) {
|
|
74590
75199
|
const parsed = safeParse(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74591
75200
|
if (!parsed.ok) {
|
|
74592
75201
|
return [parsed, { status: "invalid" }];
|
|
@@ -74667,12 +75276,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
74667
75276
|
});
|
|
74668
75277
|
|
|
74669
75278
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
74670
|
-
var
|
|
75279
|
+
var args95, tool$paymentLinksDisable;
|
|
74671
75280
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
74672
75281
|
init_paymentLinksDisable();
|
|
74673
75282
|
init_operations();
|
|
74674
75283
|
init_tools();
|
|
74675
|
-
|
|
75284
|
+
args95 = {
|
|
74676
75285
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
74677
75286
|
};
|
|
74678
75287
|
tool$paymentLinksDisable = {
|
|
@@ -74681,9 +75290,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
74681
75290
|
|
|
74682
75291
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74683
75292
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74684
|
-
args:
|
|
74685
|
-
tool: async (client,
|
|
74686
|
-
const [result, apiCall] = await paymentLinksDisable(client,
|
|
75293
|
+
args: args95,
|
|
75294
|
+
tool: async (client, args96, ctx) => {
|
|
75295
|
+
const [result, apiCall] = await paymentLinksDisable(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74687
75296
|
if (!result.ok) {
|
|
74688
75297
|
return {
|
|
74689
75298
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74697,9 +75306,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74697
75306
|
|
|
74698
75307
|
// src/funcs/paymentLinksGet.ts
|
|
74699
75308
|
function paymentLinksGet(client, request, options) {
|
|
74700
|
-
return new APIPromise($
|
|
75309
|
+
return new APIPromise($do96(client, request, options));
|
|
74701
75310
|
}
|
|
74702
|
-
async function $
|
|
75311
|
+
async function $do96(client, request, options) {
|
|
74703
75312
|
const parsed = safeParse(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74704
75313
|
if (!parsed.ok) {
|
|
74705
75314
|
return [parsed, { status: "invalid" }];
|
|
@@ -74781,12 +75390,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
74781
75390
|
});
|
|
74782
75391
|
|
|
74783
75392
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
74784
|
-
var
|
|
75393
|
+
var args96, tool$paymentLinksGet;
|
|
74785
75394
|
var init_paymentLinksGet2 = __esm(() => {
|
|
74786
75395
|
init_paymentLinksGet();
|
|
74787
75396
|
init_operations();
|
|
74788
75397
|
init_tools();
|
|
74789
|
-
|
|
75398
|
+
args96 = {
|
|
74790
75399
|
request: GetPaymentLinkRequest$inboundSchema
|
|
74791
75400
|
};
|
|
74792
75401
|
tool$paymentLinksGet = {
|
|
@@ -74795,9 +75404,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
74795
75404
|
|
|
74796
75405
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74797
75406
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74798
|
-
args:
|
|
74799
|
-
tool: async (client,
|
|
74800
|
-
const [result, apiCall] = await paymentLinksGet(client,
|
|
75407
|
+
args: args96,
|
|
75408
|
+
tool: async (client, args97, ctx) => {
|
|
75409
|
+
const [result, apiCall] = await paymentLinksGet(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74801
75410
|
if (!result.ok) {
|
|
74802
75411
|
return {
|
|
74803
75412
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74812,9 +75421,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74812
75421
|
|
|
74813
75422
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
74814
75423
|
function paymentLinksGetQRCode(client, request, options) {
|
|
74815
|
-
return new APIPromise($
|
|
75424
|
+
return new APIPromise($do97(client, request, options));
|
|
74816
75425
|
}
|
|
74817
|
-
async function $
|
|
75426
|
+
async function $do97(client, request, options) {
|
|
74818
75427
|
const parsed = safeParse(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74819
75428
|
if (!parsed.ok) {
|
|
74820
75429
|
return [parsed, { status: "invalid" }];
|
|
@@ -74900,12 +75509,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
74900
75509
|
});
|
|
74901
75510
|
|
|
74902
75511
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
74903
|
-
var
|
|
75512
|
+
var args97, tool$paymentLinksGetQRCode;
|
|
74904
75513
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
74905
75514
|
init_paymentLinksGetQRCode();
|
|
74906
75515
|
init_operations();
|
|
74907
75516
|
init_tools();
|
|
74908
|
-
|
|
75517
|
+
args97 = {
|
|
74909
75518
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
74910
75519
|
};
|
|
74911
75520
|
tool$paymentLinksGetQRCode = {
|
|
@@ -74916,9 +75525,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
74916
75525
|
|
|
74917
75526
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74918
75527
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74919
|
-
args:
|
|
74920
|
-
tool: async (client,
|
|
74921
|
-
const [result, apiCall] = await paymentLinksGetQRCode(client,
|
|
75528
|
+
args: args97,
|
|
75529
|
+
tool: async (client, args98, ctx) => {
|
|
75530
|
+
const [result, apiCall] = await paymentLinksGetQRCode(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74922
75531
|
if (!result.ok) {
|
|
74923
75532
|
return {
|
|
74924
75533
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74933,9 +75542,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74933
75542
|
|
|
74934
75543
|
// src/funcs/paymentLinksList.ts
|
|
74935
75544
|
function paymentLinksList(client, request, options) {
|
|
74936
|
-
return new APIPromise($
|
|
75545
|
+
return new APIPromise($do98(client, request, options));
|
|
74937
75546
|
}
|
|
74938
|
-
async function $
|
|
75547
|
+
async function $do98(client, request, options) {
|
|
74939
75548
|
const parsed = safeParse(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74940
75549
|
if (!parsed.ok) {
|
|
74941
75550
|
return [parsed, { status: "invalid" }];
|
|
@@ -75013,12 +75622,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
75013
75622
|
});
|
|
75014
75623
|
|
|
75015
75624
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
75016
|
-
var
|
|
75625
|
+
var args98, tool$paymentLinksList;
|
|
75017
75626
|
var init_paymentLinksList2 = __esm(() => {
|
|
75018
75627
|
init_paymentLinksList();
|
|
75019
75628
|
init_operations();
|
|
75020
75629
|
init_tools();
|
|
75021
|
-
|
|
75630
|
+
args98 = {
|
|
75022
75631
|
request: ListPaymentLinksRequest$inboundSchema
|
|
75023
75632
|
};
|
|
75024
75633
|
tool$paymentLinksList = {
|
|
@@ -75027,9 +75636,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
75027
75636
|
|
|
75028
75637
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75029
75638
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75030
|
-
args:
|
|
75031
|
-
tool: async (client,
|
|
75032
|
-
const [result, apiCall] = await paymentLinksList(client,
|
|
75639
|
+
args: args98,
|
|
75640
|
+
tool: async (client, args99, ctx) => {
|
|
75641
|
+
const [result, apiCall] = await paymentLinksList(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75033
75642
|
if (!result.ok) {
|
|
75034
75643
|
return {
|
|
75035
75644
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75044,9 +75653,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75044
75653
|
|
|
75045
75654
|
// src/funcs/paymentLinksUpdate.ts
|
|
75046
75655
|
function paymentLinksUpdate(client, request, options) {
|
|
75047
|
-
return new APIPromise($
|
|
75656
|
+
return new APIPromise($do99(client, request, options));
|
|
75048
75657
|
}
|
|
75049
|
-
async function $
|
|
75658
|
+
async function $do99(client, request, options) {
|
|
75050
75659
|
const parsed = safeParse(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75051
75660
|
if (!parsed.ok) {
|
|
75052
75661
|
return [parsed, { status: "invalid" }];
|
|
@@ -75142,12 +75751,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
75142
75751
|
});
|
|
75143
75752
|
|
|
75144
75753
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
75145
|
-
var
|
|
75754
|
+
var args99, tool$paymentLinksUpdate;
|
|
75146
75755
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
75147
75756
|
init_paymentLinksUpdate();
|
|
75148
75757
|
init_operations();
|
|
75149
75758
|
init_tools();
|
|
75150
|
-
|
|
75759
|
+
args99 = {
|
|
75151
75760
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
75152
75761
|
};
|
|
75153
75762
|
tool$paymentLinksUpdate = {
|
|
@@ -75156,9 +75765,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
75156
75765
|
|
|
75157
75766
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75158
75767
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75159
|
-
args:
|
|
75160
|
-
tool: async (client,
|
|
75161
|
-
const [result, apiCall] = await paymentLinksUpdate(client,
|
|
75768
|
+
args: args99,
|
|
75769
|
+
tool: async (client, args100, ctx) => {
|
|
75770
|
+
const [result, apiCall] = await paymentLinksUpdate(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75162
75771
|
if (!result.ok) {
|
|
75163
75772
|
return {
|
|
75164
75773
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75173,9 +75782,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75173
75782
|
|
|
75174
75783
|
// src/funcs/paymentMethodsGet.ts
|
|
75175
75784
|
function paymentMethodsGet(client, request, options) {
|
|
75176
|
-
return new APIPromise($
|
|
75785
|
+
return new APIPromise($do100(client, request, options));
|
|
75177
75786
|
}
|
|
75178
|
-
async function $
|
|
75787
|
+
async function $do100(client, request, options) {
|
|
75179
75788
|
const parsed = safeParse(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75180
75789
|
if (!parsed.ok) {
|
|
75181
75790
|
return [parsed, { status: "invalid" }];
|
|
@@ -75257,12 +75866,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
75257
75866
|
});
|
|
75258
75867
|
|
|
75259
75868
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
75260
|
-
var
|
|
75869
|
+
var args100, tool$paymentMethodsGet;
|
|
75261
75870
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
75262
75871
|
init_paymentMethodsGet();
|
|
75263
75872
|
init_operations();
|
|
75264
75873
|
init_tools();
|
|
75265
|
-
|
|
75874
|
+
args100 = {
|
|
75266
75875
|
request: GetPaymentMethodRequest$inboundSchema
|
|
75267
75876
|
};
|
|
75268
75877
|
tool$paymentMethodsGet = {
|
|
@@ -75271,9 +75880,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
75271
75880
|
|
|
75272
75881
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75273
75882
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
75274
|
-
args:
|
|
75275
|
-
tool: async (client,
|
|
75276
|
-
const [result, apiCall] = await paymentMethodsGet(client,
|
|
75883
|
+
args: args100,
|
|
75884
|
+
tool: async (client, args101, ctx) => {
|
|
75885
|
+
const [result, apiCall] = await paymentMethodsGet(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75277
75886
|
if (!result.ok) {
|
|
75278
75887
|
return {
|
|
75279
75888
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75288,9 +75897,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
75288
75897
|
|
|
75289
75898
|
// src/funcs/paymentMethodsList.ts
|
|
75290
75899
|
function paymentMethodsList(client, request, options) {
|
|
75291
|
-
return new APIPromise($
|
|
75900
|
+
return new APIPromise($do101(client, request, options));
|
|
75292
75901
|
}
|
|
75293
|
-
async function $
|
|
75902
|
+
async function $do101(client, request, options) {
|
|
75294
75903
|
const parsed = safeParse(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75295
75904
|
if (!parsed.ok) {
|
|
75296
75905
|
return [parsed, { status: "invalid" }];
|
|
@@ -75373,12 +75982,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
75373
75982
|
});
|
|
75374
75983
|
|
|
75375
75984
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
75376
|
-
var
|
|
75985
|
+
var args101, tool$paymentMethodsList;
|
|
75377
75986
|
var init_paymentMethodsList2 = __esm(() => {
|
|
75378
75987
|
init_paymentMethodsList();
|
|
75379
75988
|
init_operations();
|
|
75380
75989
|
init_tools();
|
|
75381
|
-
|
|
75990
|
+
args101 = {
|
|
75382
75991
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
75383
75992
|
};
|
|
75384
75993
|
tool$paymentMethodsList = {
|
|
@@ -75388,9 +75997,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
75388
75997
|
|
|
75389
75998
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75390
75999
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
75391
|
-
args:
|
|
75392
|
-
tool: async (client,
|
|
75393
|
-
const [result, apiCall] = await paymentMethodsList(client,
|
|
76000
|
+
args: args101,
|
|
76001
|
+
tool: async (client, args102, ctx) => {
|
|
76002
|
+
const [result, apiCall] = await paymentMethodsList(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75394
76003
|
if (!result.ok) {
|
|
75395
76004
|
return {
|
|
75396
76005
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75405,9 +76014,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
75405
76014
|
|
|
75406
76015
|
// src/funcs/pingPing.ts
|
|
75407
76016
|
function pingPing(client, _request, options) {
|
|
75408
|
-
return new APIPromise($
|
|
76017
|
+
return new APIPromise($do102(client, _request, options));
|
|
75409
76018
|
}
|
|
75410
|
-
async function $
|
|
76019
|
+
async function $do102(client, _request, options) {
|
|
75411
76020
|
const path = pathToFunc("/ping")();
|
|
75412
76021
|
const headers = new Headers(compactMap({
|
|
75413
76022
|
Accept: "*/*",
|
|
@@ -75470,12 +76079,12 @@ var init_pingPing = __esm(() => {
|
|
|
75470
76079
|
});
|
|
75471
76080
|
|
|
75472
76081
|
// src/mcp-server/tools/pingPing.ts
|
|
75473
|
-
var
|
|
76082
|
+
var args102, tool$pingPing;
|
|
75474
76083
|
var init_pingPing2 = __esm(() => {
|
|
75475
76084
|
init_pingPing();
|
|
75476
76085
|
init_operations();
|
|
75477
76086
|
init_tools();
|
|
75478
|
-
|
|
76087
|
+
args102 = {
|
|
75479
76088
|
request: PingRequest$inboundSchema
|
|
75480
76089
|
};
|
|
75481
76090
|
tool$pingPing = {
|
|
@@ -75484,9 +76093,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
75484
76093
|
|
|
75485
76094
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75486
76095
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
75487
|
-
args:
|
|
75488
|
-
tool: async (client,
|
|
75489
|
-
const [result, apiCall] = await pingPing(client,
|
|
76096
|
+
args: args102,
|
|
76097
|
+
tool: async (client, args103, ctx) => {
|
|
76098
|
+
const [result, apiCall] = await pingPing(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75490
76099
|
if (!result.ok) {
|
|
75491
76100
|
return {
|
|
75492
76101
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75500,9 +76109,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
75500
76109
|
|
|
75501
76110
|
// src/funcs/productsCreate.ts
|
|
75502
76111
|
function productsCreate(client, request, options) {
|
|
75503
|
-
return new APIPromise($
|
|
76112
|
+
return new APIPromise($do103(client, request, options));
|
|
75504
76113
|
}
|
|
75505
|
-
async function $
|
|
76114
|
+
async function $do103(client, request, options) {
|
|
75506
76115
|
const parsed = safeParse(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75507
76116
|
if (!parsed.ok) {
|
|
75508
76117
|
return [parsed, { status: "invalid" }];
|
|
@@ -75596,20 +76205,20 @@ var init_productsCreate = __esm(() => {
|
|
|
75596
76205
|
});
|
|
75597
76206
|
|
|
75598
76207
|
// src/mcp-server/tools/productsCreate.ts
|
|
75599
|
-
var
|
|
76208
|
+
var args103, tool$productsCreate;
|
|
75600
76209
|
var init_productsCreate2 = __esm(() => {
|
|
75601
76210
|
init_productsCreate();
|
|
75602
76211
|
init_operations();
|
|
75603
76212
|
init_tools();
|
|
75604
|
-
|
|
76213
|
+
args103 = {
|
|
75605
76214
|
request: CreateProductRequest$inboundSchema
|
|
75606
76215
|
};
|
|
75607
76216
|
tool$productsCreate = {
|
|
75608
76217
|
name: "products-create",
|
|
75609
76218
|
description: `Creates a new product for the specified account.`,
|
|
75610
|
-
args:
|
|
75611
|
-
tool: async (client,
|
|
75612
|
-
const [result, apiCall] = await productsCreate(client,
|
|
76219
|
+
args: args103,
|
|
76220
|
+
tool: async (client, args104, ctx) => {
|
|
76221
|
+
const [result, apiCall] = await productsCreate(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75613
76222
|
if (!result.ok) {
|
|
75614
76223
|
return {
|
|
75615
76224
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75624,9 +76233,9 @@ var init_productsCreate2 = __esm(() => {
|
|
|
75624
76233
|
|
|
75625
76234
|
// src/funcs/productsDisable.ts
|
|
75626
76235
|
function productsDisable(client, request, options) {
|
|
75627
|
-
return new APIPromise($
|
|
76236
|
+
return new APIPromise($do104(client, request, options));
|
|
75628
76237
|
}
|
|
75629
|
-
async function $
|
|
76238
|
+
async function $do104(client, request, options) {
|
|
75630
76239
|
const parsed = safeParse(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75631
76240
|
if (!parsed.ok) {
|
|
75632
76241
|
return [parsed, { status: "invalid" }];
|
|
@@ -75719,12 +76328,12 @@ var init_productsDisable = __esm(() => {
|
|
|
75719
76328
|
});
|
|
75720
76329
|
|
|
75721
76330
|
// src/mcp-server/tools/productsDisable.ts
|
|
75722
|
-
var
|
|
76331
|
+
var args104, tool$productsDisable;
|
|
75723
76332
|
var init_productsDisable2 = __esm(() => {
|
|
75724
76333
|
init_productsDisable();
|
|
75725
76334
|
init_operations();
|
|
75726
76335
|
init_tools();
|
|
75727
|
-
|
|
76336
|
+
args104 = {
|
|
75728
76337
|
request: DisableProductRequest$inboundSchema
|
|
75729
76338
|
};
|
|
75730
76339
|
tool$productsDisable = {
|
|
@@ -75732,9 +76341,9 @@ var init_productsDisable2 = __esm(() => {
|
|
|
75732
76341
|
description: `Disable a product by ID.
|
|
75733
76342
|
|
|
75734
76343
|
The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
|
|
75735
|
-
args:
|
|
75736
|
-
tool: async (client,
|
|
75737
|
-
const [result, apiCall] = await productsDisable(client,
|
|
76344
|
+
args: args104,
|
|
76345
|
+
tool: async (client, args105, ctx) => {
|
|
76346
|
+
const [result, apiCall] = await productsDisable(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75738
76347
|
if (!result.ok) {
|
|
75739
76348
|
return {
|
|
75740
76349
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75748,9 +76357,9 @@ The product will no longer be available, but will remain in the system for histo
|
|
|
75748
76357
|
|
|
75749
76358
|
// src/funcs/productsGet.ts
|
|
75750
76359
|
function productsGet(client, request, options) {
|
|
75751
|
-
return new APIPromise($
|
|
76360
|
+
return new APIPromise($do105(client, request, options));
|
|
75752
76361
|
}
|
|
75753
|
-
async function $
|
|
76362
|
+
async function $do105(client, request, options) {
|
|
75754
76363
|
const parsed = safeParse(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75755
76364
|
if (!parsed.ok) {
|
|
75756
76365
|
return [parsed, { status: "invalid" }];
|
|
@@ -75832,20 +76441,20 @@ var init_productsGet = __esm(() => {
|
|
|
75832
76441
|
});
|
|
75833
76442
|
|
|
75834
76443
|
// src/mcp-server/tools/productsGet.ts
|
|
75835
|
-
var
|
|
76444
|
+
var args105, tool$productsGet;
|
|
75836
76445
|
var init_productsGet2 = __esm(() => {
|
|
75837
76446
|
init_productsGet();
|
|
75838
76447
|
init_operations();
|
|
75839
76448
|
init_tools();
|
|
75840
|
-
|
|
76449
|
+
args105 = {
|
|
75841
76450
|
request: GetProductRequest$inboundSchema
|
|
75842
76451
|
};
|
|
75843
76452
|
tool$productsGet = {
|
|
75844
76453
|
name: "products-get",
|
|
75845
76454
|
description: `Retrieve a product by ID.`,
|
|
75846
|
-
args:
|
|
75847
|
-
tool: async (client,
|
|
75848
|
-
const [result, apiCall] = await productsGet(client,
|
|
76455
|
+
args: args105,
|
|
76456
|
+
tool: async (client, args106, ctx) => {
|
|
76457
|
+
const [result, apiCall] = await productsGet(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75849
76458
|
if (!result.ok) {
|
|
75850
76459
|
return {
|
|
75851
76460
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75860,9 +76469,9 @@ var init_productsGet2 = __esm(() => {
|
|
|
75860
76469
|
|
|
75861
76470
|
// src/funcs/productsList.ts
|
|
75862
76471
|
function productsList(client, request, options) {
|
|
75863
|
-
return new APIPromise($
|
|
76472
|
+
return new APIPromise($do106(client, request, options));
|
|
75864
76473
|
}
|
|
75865
|
-
async function $
|
|
76474
|
+
async function $do106(client, request, options) {
|
|
75866
76475
|
const parsed = safeParse(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75867
76476
|
if (!parsed.ok) {
|
|
75868
76477
|
return [parsed, { status: "invalid" }];
|
|
@@ -75945,20 +76554,20 @@ var init_productsList = __esm(() => {
|
|
|
75945
76554
|
});
|
|
75946
76555
|
|
|
75947
76556
|
// src/mcp-server/tools/productsList.ts
|
|
75948
|
-
var
|
|
76557
|
+
var args106, tool$productsList;
|
|
75949
76558
|
var init_productsList2 = __esm(() => {
|
|
75950
76559
|
init_productsList();
|
|
75951
76560
|
init_operations();
|
|
75952
76561
|
init_tools();
|
|
75953
|
-
|
|
76562
|
+
args106 = {
|
|
75954
76563
|
request: ListProductsRequest$inboundSchema
|
|
75955
76564
|
};
|
|
75956
76565
|
tool$productsList = {
|
|
75957
76566
|
name: "products-list",
|
|
75958
76567
|
description: `List active (non-disabled) products for an account.`,
|
|
75959
|
-
args:
|
|
75960
|
-
tool: async (client,
|
|
75961
|
-
const [result, apiCall] = await productsList(client,
|
|
76568
|
+
args: args106,
|
|
76569
|
+
tool: async (client, args107, ctx) => {
|
|
76570
|
+
const [result, apiCall] = await productsList(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75962
76571
|
if (!result.ok) {
|
|
75963
76572
|
return {
|
|
75964
76573
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75973,9 +76582,9 @@ var init_productsList2 = __esm(() => {
|
|
|
75973
76582
|
|
|
75974
76583
|
// src/funcs/productsUpdate.ts
|
|
75975
76584
|
function productsUpdate(client, request, options) {
|
|
75976
|
-
return new APIPromise($
|
|
76585
|
+
return new APIPromise($do107(client, request, options));
|
|
75977
76586
|
}
|
|
75978
|
-
async function $
|
|
76587
|
+
async function $do107(client, request, options) {
|
|
75979
76588
|
const parsed = safeParse(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75980
76589
|
if (!parsed.ok) {
|
|
75981
76590
|
return [parsed, { status: "invalid" }];
|
|
@@ -76073,20 +76682,20 @@ var init_productsUpdate = __esm(() => {
|
|
|
76073
76682
|
});
|
|
76074
76683
|
|
|
76075
76684
|
// src/mcp-server/tools/productsUpdate.ts
|
|
76076
|
-
var
|
|
76685
|
+
var args107, tool$productsUpdate;
|
|
76077
76686
|
var init_productsUpdate2 = __esm(() => {
|
|
76078
76687
|
init_productsUpdate();
|
|
76079
76688
|
init_operations();
|
|
76080
76689
|
init_tools();
|
|
76081
|
-
|
|
76690
|
+
args107 = {
|
|
76082
76691
|
request: UpdateProductRequest$inboundSchema
|
|
76083
76692
|
};
|
|
76084
76693
|
tool$productsUpdate = {
|
|
76085
76694
|
name: "products-update",
|
|
76086
76695
|
description: `Update a product and its options.`,
|
|
76087
|
-
args:
|
|
76088
|
-
tool: async (client,
|
|
76089
|
-
const [result, apiCall] = await productsUpdate(client,
|
|
76696
|
+
args: args107,
|
|
76697
|
+
tool: async (client, args108, ctx) => {
|
|
76698
|
+
const [result, apiCall] = await productsUpdate(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76090
76699
|
if (!result.ok) {
|
|
76091
76700
|
return {
|
|
76092
76701
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76101,9 +76710,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
76101
76710
|
|
|
76102
76711
|
// src/funcs/receiptsCreate.ts
|
|
76103
76712
|
function receiptsCreate(client, request, options) {
|
|
76104
|
-
return new APIPromise($
|
|
76713
|
+
return new APIPromise($do108(client, request, options));
|
|
76105
76714
|
}
|
|
76106
|
-
async function $
|
|
76715
|
+
async function $do108(client, request, options) {
|
|
76107
76716
|
const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
76108
76717
|
if (!parsed.ok) {
|
|
76109
76718
|
return [parsed, { status: "invalid" }];
|
|
@@ -76191,13 +76800,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
76191
76800
|
});
|
|
76192
76801
|
|
|
76193
76802
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
76194
|
-
var
|
|
76803
|
+
var args108, tool$receiptsCreate;
|
|
76195
76804
|
var init_receiptsCreate2 = __esm(() => {
|
|
76196
76805
|
init_esm();
|
|
76197
76806
|
init_receiptsCreate();
|
|
76198
76807
|
init_components();
|
|
76199
76808
|
init_tools();
|
|
76200
|
-
|
|
76809
|
+
args108 = {
|
|
76201
76810
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
76202
76811
|
};
|
|
76203
76812
|
tool$receiptsCreate = {
|
|
@@ -76206,9 +76815,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
76206
76815
|
|
|
76207
76816
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76208
76817
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
76209
|
-
args:
|
|
76210
|
-
tool: async (client,
|
|
76211
|
-
const [result, apiCall] = await receiptsCreate(client,
|
|
76818
|
+
args: args108,
|
|
76819
|
+
tool: async (client, args109, ctx) => {
|
|
76820
|
+
const [result, apiCall] = await receiptsCreate(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76212
76821
|
if (!result.ok) {
|
|
76213
76822
|
return {
|
|
76214
76823
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76223,9 +76832,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
76223
76832
|
|
|
76224
76833
|
// src/funcs/receiptsList.ts
|
|
76225
76834
|
function receiptsList(client, request, options) {
|
|
76226
|
-
return new APIPromise($
|
|
76835
|
+
return new APIPromise($do109(client, request, options));
|
|
76227
76836
|
}
|
|
76228
|
-
async function $
|
|
76837
|
+
async function $do109(client, request, options) {
|
|
76229
76838
|
const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76230
76839
|
if (!parsed.ok) {
|
|
76231
76840
|
return [parsed, { status: "invalid" }];
|
|
@@ -76301,12 +76910,12 @@ var init_receiptsList = __esm(() => {
|
|
|
76301
76910
|
});
|
|
76302
76911
|
|
|
76303
76912
|
// src/mcp-server/tools/receiptsList.ts
|
|
76304
|
-
var
|
|
76913
|
+
var args109, tool$receiptsList;
|
|
76305
76914
|
var init_receiptsList2 = __esm(() => {
|
|
76306
76915
|
init_receiptsList();
|
|
76307
76916
|
init_operations();
|
|
76308
76917
|
init_tools();
|
|
76309
|
-
|
|
76918
|
+
args109 = {
|
|
76310
76919
|
request: ListReceiptsRequest$inboundSchema
|
|
76311
76920
|
};
|
|
76312
76921
|
tool$receiptsList = {
|
|
@@ -76315,9 +76924,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
76315
76924
|
|
|
76316
76925
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76317
76926
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
76318
|
-
args:
|
|
76319
|
-
tool: async (client,
|
|
76320
|
-
const [result, apiCall] = await receiptsList(client,
|
|
76927
|
+
args: args109,
|
|
76928
|
+
tool: async (client, args110, ctx) => {
|
|
76929
|
+
const [result, apiCall] = await receiptsList(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76321
76930
|
if (!result.ok) {
|
|
76322
76931
|
return {
|
|
76323
76932
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76332,9 +76941,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
76332
76941
|
|
|
76333
76942
|
// src/funcs/representativesCreate.ts
|
|
76334
76943
|
function representativesCreate(client, request, options) {
|
|
76335
|
-
return new APIPromise($
|
|
76944
|
+
return new APIPromise($do110(client, request, options));
|
|
76336
76945
|
}
|
|
76337
|
-
async function $
|
|
76946
|
+
async function $do110(client, request, options) {
|
|
76338
76947
|
const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76339
76948
|
if (!parsed.ok) {
|
|
76340
76949
|
return [parsed, { status: "invalid" }];
|
|
@@ -76430,12 +77039,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
76430
77039
|
});
|
|
76431
77040
|
|
|
76432
77041
|
// src/mcp-server/tools/representativesCreate.ts
|
|
76433
|
-
var
|
|
77042
|
+
var args110, tool$representativesCreate;
|
|
76434
77043
|
var init_representativesCreate2 = __esm(() => {
|
|
76435
77044
|
init_representativesCreate();
|
|
76436
77045
|
init_operations();
|
|
76437
77046
|
init_tools();
|
|
76438
|
-
|
|
77047
|
+
args110 = {
|
|
76439
77048
|
request: CreateRepresentativeRequest$inboundSchema
|
|
76440
77049
|
};
|
|
76441
77050
|
tool$representativesCreate = {
|
|
@@ -76446,9 +77055,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
76446
77055
|
|
|
76447
77056
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76448
77057
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
76449
|
-
args:
|
|
76450
|
-
tool: async (client,
|
|
76451
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
77058
|
+
args: args110,
|
|
77059
|
+
tool: async (client, args111, ctx) => {
|
|
77060
|
+
const [result, apiCall] = await representativesCreate(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76452
77061
|
if (!result.ok) {
|
|
76453
77062
|
return {
|
|
76454
77063
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76463,9 +77072,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
76463
77072
|
|
|
76464
77073
|
// src/funcs/representativesDelete.ts
|
|
76465
77074
|
function representativesDelete(client, request, options) {
|
|
76466
|
-
return new APIPromise($
|
|
77075
|
+
return new APIPromise($do111(client, request, options));
|
|
76467
77076
|
}
|
|
76468
|
-
async function $
|
|
77077
|
+
async function $do111(client, request, options) {
|
|
76469
77078
|
const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76470
77079
|
if (!parsed.ok) {
|
|
76471
77080
|
return [parsed, { status: "invalid" }];
|
|
@@ -76553,12 +77162,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
76553
77162
|
});
|
|
76554
77163
|
|
|
76555
77164
|
// src/mcp-server/tools/representativesDelete.ts
|
|
76556
|
-
var
|
|
77165
|
+
var args111, tool$representativesDelete;
|
|
76557
77166
|
var init_representativesDelete2 = __esm(() => {
|
|
76558
77167
|
init_representativesDelete();
|
|
76559
77168
|
init_operations();
|
|
76560
77169
|
init_tools();
|
|
76561
|
-
|
|
77170
|
+
args111 = {
|
|
76562
77171
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
76563
77172
|
};
|
|
76564
77173
|
tool$representativesDelete = {
|
|
@@ -76567,9 +77176,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
76567
77176
|
|
|
76568
77177
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76569
77178
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
76570
|
-
args:
|
|
76571
|
-
tool: async (client,
|
|
76572
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
77179
|
+
args: args111,
|
|
77180
|
+
tool: async (client, args112, ctx) => {
|
|
77181
|
+
const [result, apiCall] = await representativesDelete(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76573
77182
|
if (!result.ok) {
|
|
76574
77183
|
return {
|
|
76575
77184
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76583,9 +77192,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
76583
77192
|
|
|
76584
77193
|
// src/funcs/representativesGet.ts
|
|
76585
77194
|
function representativesGet(client, request, options) {
|
|
76586
|
-
return new APIPromise($
|
|
77195
|
+
return new APIPromise($do112(client, request, options));
|
|
76587
77196
|
}
|
|
76588
|
-
async function $
|
|
77197
|
+
async function $do112(client, request, options) {
|
|
76589
77198
|
const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76590
77199
|
if (!parsed.ok) {
|
|
76591
77200
|
return [parsed, { status: "invalid" }];
|
|
@@ -76664,12 +77273,12 @@ var init_representativesGet = __esm(() => {
|
|
|
76664
77273
|
});
|
|
76665
77274
|
|
|
76666
77275
|
// src/mcp-server/tools/representativesGet.ts
|
|
76667
|
-
var
|
|
77276
|
+
var args112, tool$representativesGet;
|
|
76668
77277
|
var init_representativesGet2 = __esm(() => {
|
|
76669
77278
|
init_representativesGet();
|
|
76670
77279
|
init_operations();
|
|
76671
77280
|
init_tools();
|
|
76672
|
-
|
|
77281
|
+
args112 = {
|
|
76673
77282
|
request: GetRepresentativeRequest$inboundSchema
|
|
76674
77283
|
};
|
|
76675
77284
|
tool$representativesGet = {
|
|
@@ -76678,9 +77287,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
76678
77287
|
|
|
76679
77288
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76680
77289
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
76681
|
-
args:
|
|
76682
|
-
tool: async (client,
|
|
76683
|
-
const [result, apiCall] = await representativesGet(client,
|
|
77290
|
+
args: args112,
|
|
77291
|
+
tool: async (client, args113, ctx) => {
|
|
77292
|
+
const [result, apiCall] = await representativesGet(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76684
77293
|
if (!result.ok) {
|
|
76685
77294
|
return {
|
|
76686
77295
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76695,9 +77304,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
76695
77304
|
|
|
76696
77305
|
// src/funcs/representativesList.ts
|
|
76697
77306
|
function representativesList(client, request, options) {
|
|
76698
|
-
return new APIPromise($
|
|
77307
|
+
return new APIPromise($do113(client, request, options));
|
|
76699
77308
|
}
|
|
76700
|
-
async function $
|
|
77309
|
+
async function $do113(client, request, options) {
|
|
76701
77310
|
const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76702
77311
|
if (!parsed.ok) {
|
|
76703
77312
|
return [parsed, { status: "invalid" }];
|
|
@@ -76775,12 +77384,12 @@ var init_representativesList = __esm(() => {
|
|
|
76775
77384
|
});
|
|
76776
77385
|
|
|
76777
77386
|
// src/mcp-server/tools/representativesList.ts
|
|
76778
|
-
var
|
|
77387
|
+
var args113, tool$representativesList;
|
|
76779
77388
|
var init_representativesList2 = __esm(() => {
|
|
76780
77389
|
init_representativesList();
|
|
76781
77390
|
init_operations();
|
|
76782
77391
|
init_tools();
|
|
76783
|
-
|
|
77392
|
+
args113 = {
|
|
76784
77393
|
request: ListRepresentativesRequest$inboundSchema
|
|
76785
77394
|
};
|
|
76786
77395
|
tool$representativesList = {
|
|
@@ -76792,9 +77401,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
76792
77401
|
|
|
76793
77402
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76794
77403
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
76795
|
-
args:
|
|
76796
|
-
tool: async (client,
|
|
76797
|
-
const [result, apiCall] = await representativesList(client,
|
|
77404
|
+
args: args113,
|
|
77405
|
+
tool: async (client, args114, ctx) => {
|
|
77406
|
+
const [result, apiCall] = await representativesList(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76798
77407
|
if (!result.ok) {
|
|
76799
77408
|
return {
|
|
76800
77409
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76809,9 +77418,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
76809
77418
|
|
|
76810
77419
|
// src/funcs/representativesUpdate.ts
|
|
76811
77420
|
function representativesUpdate(client, request, options) {
|
|
76812
|
-
return new APIPromise($
|
|
77421
|
+
return new APIPromise($do114(client, request, options));
|
|
76813
77422
|
}
|
|
76814
|
-
async function $
|
|
77423
|
+
async function $do114(client, request, options) {
|
|
76815
77424
|
const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76816
77425
|
if (!parsed.ok) {
|
|
76817
77426
|
return [parsed, { status: "invalid" }];
|
|
@@ -76905,12 +77514,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
76905
77514
|
});
|
|
76906
77515
|
|
|
76907
77516
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
76908
|
-
var
|
|
77517
|
+
var args114, tool$representativesUpdate;
|
|
76909
77518
|
var init_representativesUpdate2 = __esm(() => {
|
|
76910
77519
|
init_representativesUpdate();
|
|
76911
77520
|
init_operations();
|
|
76912
77521
|
init_tools();
|
|
76913
|
-
|
|
77522
|
+
args114 = {
|
|
76914
77523
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
76915
77524
|
};
|
|
76916
77525
|
tool$representativesUpdate = {
|
|
@@ -76932,9 +77541,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
76932
77541
|
|
|
76933
77542
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76934
77543
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
76935
|
-
args:
|
|
76936
|
-
tool: async (client,
|
|
76937
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
77544
|
+
args: args114,
|
|
77545
|
+
tool: async (client, args115, ctx) => {
|
|
77546
|
+
const [result, apiCall] = await representativesUpdate(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76938
77547
|
if (!result.ok) {
|
|
76939
77548
|
return {
|
|
76940
77549
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76949,9 +77558,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
76949
77558
|
|
|
76950
77559
|
// src/funcs/schedulingCancel.ts
|
|
76951
77560
|
function schedulingCancel(client, request, options) {
|
|
76952
|
-
return new APIPromise($
|
|
77561
|
+
return new APIPromise($do115(client, request, options));
|
|
76953
77562
|
}
|
|
76954
|
-
async function $
|
|
77563
|
+
async function $do115(client, request, options) {
|
|
76955
77564
|
const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76956
77565
|
if (!parsed.ok) {
|
|
76957
77566
|
return [parsed, { status: "invalid" }];
|
|
@@ -77044,12 +77653,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
77044
77653
|
});
|
|
77045
77654
|
|
|
77046
77655
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
77047
|
-
var
|
|
77656
|
+
var args115, tool$schedulingCancel;
|
|
77048
77657
|
var init_schedulingCancel2 = __esm(() => {
|
|
77049
77658
|
init_schedulingCancel();
|
|
77050
77659
|
init_operations();
|
|
77051
77660
|
init_tools();
|
|
77052
|
-
|
|
77661
|
+
args115 = {
|
|
77053
77662
|
request: CancelScheduleRequest$inboundSchema
|
|
77054
77663
|
};
|
|
77055
77664
|
tool$schedulingCancel = {
|
|
@@ -77058,9 +77667,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
77058
77667
|
|
|
77059
77668
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77060
77669
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77061
|
-
args:
|
|
77062
|
-
tool: async (client,
|
|
77063
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
77670
|
+
args: args115,
|
|
77671
|
+
tool: async (client, args116, ctx) => {
|
|
77672
|
+
const [result, apiCall] = await schedulingCancel(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77064
77673
|
if (!result.ok) {
|
|
77065
77674
|
return {
|
|
77066
77675
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77074,9 +77683,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77074
77683
|
|
|
77075
77684
|
// src/funcs/schedulingCreate.ts
|
|
77076
77685
|
function schedulingCreate(client, request, options) {
|
|
77077
|
-
return new APIPromise($
|
|
77686
|
+
return new APIPromise($do116(client, request, options));
|
|
77078
77687
|
}
|
|
77079
|
-
async function $
|
|
77688
|
+
async function $do116(client, request, options) {
|
|
77080
77689
|
const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77081
77690
|
if (!parsed.ok) {
|
|
77082
77691
|
return [parsed, { status: "invalid" }];
|
|
@@ -77170,12 +77779,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
77170
77779
|
});
|
|
77171
77780
|
|
|
77172
77781
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
77173
|
-
var
|
|
77782
|
+
var args116, tool$schedulingCreate;
|
|
77174
77783
|
var init_schedulingCreate2 = __esm(() => {
|
|
77175
77784
|
init_schedulingCreate();
|
|
77176
77785
|
init_operations();
|
|
77177
77786
|
init_tools();
|
|
77178
|
-
|
|
77787
|
+
args116 = {
|
|
77179
77788
|
request: CreateScheduleRequest$inboundSchema
|
|
77180
77789
|
};
|
|
77181
77790
|
tool$schedulingCreate = {
|
|
@@ -77184,9 +77793,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
77184
77793
|
|
|
77185
77794
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77186
77795
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77187
|
-
args:
|
|
77188
|
-
tool: async (client,
|
|
77189
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
77796
|
+
args: args116,
|
|
77797
|
+
tool: async (client, args117, ctx) => {
|
|
77798
|
+
const [result, apiCall] = await schedulingCreate(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77190
77799
|
if (!result.ok) {
|
|
77191
77800
|
return {
|
|
77192
77801
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77201,9 +77810,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77201
77810
|
|
|
77202
77811
|
// src/funcs/schedulingGet.ts
|
|
77203
77812
|
function schedulingGet(client, request, options) {
|
|
77204
|
-
return new APIPromise($
|
|
77813
|
+
return new APIPromise($do117(client, request, options));
|
|
77205
77814
|
}
|
|
77206
|
-
async function $
|
|
77815
|
+
async function $do117(client, request, options) {
|
|
77207
77816
|
const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77208
77817
|
if (!parsed.ok) {
|
|
77209
77818
|
return [parsed, { status: "invalid" }];
|
|
@@ -77285,12 +77894,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
77285
77894
|
});
|
|
77286
77895
|
|
|
77287
77896
|
// src/mcp-server/tools/schedulingGet.ts
|
|
77288
|
-
var
|
|
77897
|
+
var args117, tool$schedulingGet;
|
|
77289
77898
|
var init_schedulingGet2 = __esm(() => {
|
|
77290
77899
|
init_schedulingGet();
|
|
77291
77900
|
init_operations();
|
|
77292
77901
|
init_tools();
|
|
77293
|
-
|
|
77902
|
+
args117 = {
|
|
77294
77903
|
request: GetSchedulesRequest$inboundSchema
|
|
77295
77904
|
};
|
|
77296
77905
|
tool$schedulingGet = {
|
|
@@ -77299,9 +77908,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
77299
77908
|
|
|
77300
77909
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77301
77910
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77302
|
-
args:
|
|
77303
|
-
tool: async (client,
|
|
77304
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
77911
|
+
args: args117,
|
|
77912
|
+
tool: async (client, args118, ctx) => {
|
|
77913
|
+
const [result, apiCall] = await schedulingGet(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77305
77914
|
if (!result.ok) {
|
|
77306
77915
|
return {
|
|
77307
77916
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77316,9 +77925,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77316
77925
|
|
|
77317
77926
|
// src/funcs/schedulingGetOccurrance.ts
|
|
77318
77927
|
function schedulingGetOccurrance(client, request, options) {
|
|
77319
|
-
return new APIPromise($
|
|
77928
|
+
return new APIPromise($do118(client, request, options));
|
|
77320
77929
|
}
|
|
77321
|
-
async function $
|
|
77930
|
+
async function $do118(client, request, options) {
|
|
77322
77931
|
const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77323
77932
|
if (!parsed.ok) {
|
|
77324
77933
|
return [parsed, { status: "invalid" }];
|
|
@@ -77401,12 +78010,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
77401
78010
|
});
|
|
77402
78011
|
|
|
77403
78012
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
77404
|
-
var
|
|
78013
|
+
var args118, tool$schedulingGetOccurrance;
|
|
77405
78014
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
77406
78015
|
init_schedulingGetOccurrance();
|
|
77407
78016
|
init_operations();
|
|
77408
78017
|
init_tools();
|
|
77409
|
-
|
|
78018
|
+
args118 = {
|
|
77410
78019
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
77411
78020
|
};
|
|
77412
78021
|
tool$schedulingGetOccurrance = {
|
|
@@ -77415,9 +78024,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
77415
78024
|
|
|
77416
78025
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77417
78026
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77418
|
-
args:
|
|
77419
|
-
tool: async (client,
|
|
77420
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
78027
|
+
args: args118,
|
|
78028
|
+
tool: async (client, args119, ctx) => {
|
|
78029
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77421
78030
|
if (!result.ok) {
|
|
77422
78031
|
return {
|
|
77423
78032
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77432,9 +78041,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77432
78041
|
|
|
77433
78042
|
// src/funcs/schedulingList.ts
|
|
77434
78043
|
function schedulingList(client, request, options) {
|
|
77435
|
-
return new APIPromise($
|
|
78044
|
+
return new APIPromise($do119(client, request, options));
|
|
77436
78045
|
}
|
|
77437
|
-
async function $
|
|
78046
|
+
async function $do119(client, request, options) {
|
|
77438
78047
|
const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77439
78048
|
if (!parsed.ok) {
|
|
77440
78049
|
return [parsed, { status: "invalid" }];
|
|
@@ -77518,12 +78127,12 @@ var init_schedulingList = __esm(() => {
|
|
|
77518
78127
|
});
|
|
77519
78128
|
|
|
77520
78129
|
// src/mcp-server/tools/schedulingList.ts
|
|
77521
|
-
var
|
|
78130
|
+
var args119, tool$schedulingList;
|
|
77522
78131
|
var init_schedulingList2 = __esm(() => {
|
|
77523
78132
|
init_schedulingList();
|
|
77524
78133
|
init_operations();
|
|
77525
78134
|
init_tools();
|
|
77526
|
-
|
|
78135
|
+
args119 = {
|
|
77527
78136
|
request: ListSchedulesRequest$inboundSchema
|
|
77528
78137
|
};
|
|
77529
78138
|
tool$schedulingList = {
|
|
@@ -77532,9 +78141,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
77532
78141
|
|
|
77533
78142
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77534
78143
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77535
|
-
args:
|
|
77536
|
-
tool: async (client,
|
|
77537
|
-
const [result, apiCall] = await schedulingList(client,
|
|
78144
|
+
args: args119,
|
|
78145
|
+
tool: async (client, args120, ctx) => {
|
|
78146
|
+
const [result, apiCall] = await schedulingList(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77538
78147
|
if (!result.ok) {
|
|
77539
78148
|
return {
|
|
77540
78149
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77549,9 +78158,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77549
78158
|
|
|
77550
78159
|
// src/funcs/schedulingUpdate.ts
|
|
77551
78160
|
function schedulingUpdate(client, request, options) {
|
|
77552
|
-
return new APIPromise($
|
|
78161
|
+
return new APIPromise($do120(client, request, options));
|
|
77553
78162
|
}
|
|
77554
|
-
async function $
|
|
78163
|
+
async function $do120(client, request, options) {
|
|
77555
78164
|
const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77556
78165
|
if (!parsed.ok) {
|
|
77557
78166
|
return [parsed, { status: "invalid" }];
|
|
@@ -77649,12 +78258,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
77649
78258
|
});
|
|
77650
78259
|
|
|
77651
78260
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
77652
|
-
var
|
|
78261
|
+
var args120, tool$schedulingUpdate;
|
|
77653
78262
|
var init_schedulingUpdate2 = __esm(() => {
|
|
77654
78263
|
init_schedulingUpdate();
|
|
77655
78264
|
init_operations();
|
|
77656
78265
|
init_tools();
|
|
77657
|
-
|
|
78266
|
+
args120 = {
|
|
77658
78267
|
request: UpdateScheduleRequest$inboundSchema
|
|
77659
78268
|
};
|
|
77660
78269
|
tool$schedulingUpdate = {
|
|
@@ -77663,9 +78272,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
77663
78272
|
|
|
77664
78273
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77665
78274
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77666
|
-
args:
|
|
77667
|
-
tool: async (client,
|
|
77668
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
78275
|
+
args: args120,
|
|
78276
|
+
tool: async (client, args121, ctx) => {
|
|
78277
|
+
const [result, apiCall] = await schedulingUpdate(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77669
78278
|
if (!result.ok) {
|
|
77670
78279
|
return {
|
|
77671
78280
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77680,9 +78289,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77680
78289
|
|
|
77681
78290
|
// src/funcs/statementsGet.ts
|
|
77682
78291
|
function statementsGet(client, request, options) {
|
|
77683
|
-
return new APIPromise($
|
|
78292
|
+
return new APIPromise($do121(client, request, options));
|
|
77684
78293
|
}
|
|
77685
|
-
async function $
|
|
78294
|
+
async function $do121(client, request, options) {
|
|
77686
78295
|
const parsed = safeParse(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77687
78296
|
if (!parsed.ok) {
|
|
77688
78297
|
return [parsed, { status: "invalid" }];
|
|
@@ -77768,12 +78377,12 @@ var init_statementsGet = __esm(() => {
|
|
|
77768
78377
|
});
|
|
77769
78378
|
|
|
77770
78379
|
// src/mcp-server/tools/statementsGet.ts
|
|
77771
|
-
var
|
|
78380
|
+
var args121, tool$statementsGet;
|
|
77772
78381
|
var init_statementsGet2 = __esm(() => {
|
|
77773
78382
|
init_statementsGet();
|
|
77774
78383
|
init_operations();
|
|
77775
78384
|
init_tools();
|
|
77776
|
-
|
|
78385
|
+
args121 = {
|
|
77777
78386
|
request: GetStatementRequest$inboundSchema
|
|
77778
78387
|
};
|
|
77779
78388
|
tool$statementsGet = {
|
|
@@ -77784,9 +78393,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
77784
78393
|
|
|
77785
78394
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77786
78395
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
77787
|
-
args:
|
|
77788
|
-
tool: async (client,
|
|
77789
|
-
const [result, apiCall] = await statementsGet(client,
|
|
78396
|
+
args: args121,
|
|
78397
|
+
tool: async (client, args122, ctx) => {
|
|
78398
|
+
const [result, apiCall] = await statementsGet(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77790
78399
|
if (!result.ok) {
|
|
77791
78400
|
return {
|
|
77792
78401
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77801,9 +78410,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
77801
78410
|
|
|
77802
78411
|
// src/funcs/statementsList.ts
|
|
77803
78412
|
function statementsList(client, request, options) {
|
|
77804
|
-
return new APIPromise($
|
|
78413
|
+
return new APIPromise($do122(client, request, options));
|
|
77805
78414
|
}
|
|
77806
|
-
async function $
|
|
78415
|
+
async function $do122(client, request, options) {
|
|
77807
78416
|
const parsed = safeParse(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77808
78417
|
if (!parsed.ok) {
|
|
77809
78418
|
return [parsed, { status: "invalid" }];
|
|
@@ -77889,12 +78498,12 @@ var init_statementsList = __esm(() => {
|
|
|
77889
78498
|
});
|
|
77890
78499
|
|
|
77891
78500
|
// src/mcp-server/tools/statementsList.ts
|
|
77892
|
-
var
|
|
78501
|
+
var args122, tool$statementsList;
|
|
77893
78502
|
var init_statementsList2 = __esm(() => {
|
|
77894
78503
|
init_statementsList();
|
|
77895
78504
|
init_operations();
|
|
77896
78505
|
init_tools();
|
|
77897
|
-
|
|
78506
|
+
args122 = {
|
|
77898
78507
|
request: ListStatementsRequest$inboundSchema
|
|
77899
78508
|
};
|
|
77900
78509
|
tool$statementsList = {
|
|
@@ -77903,9 +78512,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
77903
78512
|
|
|
77904
78513
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77905
78514
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
77906
|
-
args:
|
|
77907
|
-
tool: async (client,
|
|
77908
|
-
const [result, apiCall] = await statementsList(client,
|
|
78515
|
+
args: args122,
|
|
78516
|
+
tool: async (client, args123, ctx) => {
|
|
78517
|
+
const [result, apiCall] = await statementsList(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77909
78518
|
if (!result.ok) {
|
|
77910
78519
|
return {
|
|
77911
78520
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77920,9 +78529,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
77920
78529
|
|
|
77921
78530
|
// src/funcs/supportCreateTicket.ts
|
|
77922
78531
|
function supportCreateTicket(client, request, options) {
|
|
77923
|
-
return new APIPromise($
|
|
78532
|
+
return new APIPromise($do123(client, request, options));
|
|
77924
78533
|
}
|
|
77925
|
-
async function $
|
|
78534
|
+
async function $do123(client, request, options) {
|
|
77926
78535
|
const parsed = safeParse(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77927
78536
|
if (!parsed.ok) {
|
|
77928
78537
|
return [parsed, { status: "invalid" }];
|
|
@@ -78014,12 +78623,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
78014
78623
|
});
|
|
78015
78624
|
|
|
78016
78625
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
78017
|
-
var
|
|
78626
|
+
var args123, tool$supportCreateTicket;
|
|
78018
78627
|
var init_supportCreateTicket2 = __esm(() => {
|
|
78019
78628
|
init_supportCreateTicket();
|
|
78020
78629
|
init_operations();
|
|
78021
78630
|
init_tools();
|
|
78022
|
-
|
|
78631
|
+
args123 = {
|
|
78023
78632
|
request: CreateTicketRequest$inboundSchema
|
|
78024
78633
|
};
|
|
78025
78634
|
tool$supportCreateTicket = {
|
|
@@ -78031,9 +78640,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
78031
78640
|
|
|
78032
78641
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
78033
78642
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78034
|
-
args:
|
|
78035
|
-
tool: async (client,
|
|
78036
|
-
const [result, apiCall] = await supportCreateTicket(client,
|
|
78643
|
+
args: args123,
|
|
78644
|
+
tool: async (client, args124, ctx) => {
|
|
78645
|
+
const [result, apiCall] = await supportCreateTicket(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78037
78646
|
if (!result.ok) {
|
|
78038
78647
|
return {
|
|
78039
78648
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78048,9 +78657,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
78048
78657
|
|
|
78049
78658
|
// src/funcs/supportGetTicket.ts
|
|
78050
78659
|
function supportGetTicket(client, request, options) {
|
|
78051
|
-
return new APIPromise($
|
|
78660
|
+
return new APIPromise($do124(client, request, options));
|
|
78052
78661
|
}
|
|
78053
|
-
async function $
|
|
78662
|
+
async function $do124(client, request, options) {
|
|
78054
78663
|
const parsed = safeParse(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78055
78664
|
if (!parsed.ok) {
|
|
78056
78665
|
return [parsed, { status: "invalid" }];
|
|
@@ -78132,12 +78741,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
78132
78741
|
});
|
|
78133
78742
|
|
|
78134
78743
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
78135
|
-
var
|
|
78744
|
+
var args124, tool$supportGetTicket;
|
|
78136
78745
|
var init_supportGetTicket2 = __esm(() => {
|
|
78137
78746
|
init_supportGetTicket();
|
|
78138
78747
|
init_operations();
|
|
78139
78748
|
init_tools();
|
|
78140
|
-
|
|
78749
|
+
args124 = {
|
|
78141
78750
|
request: GetTicketRequest$inboundSchema
|
|
78142
78751
|
};
|
|
78143
78752
|
tool$supportGetTicket = {
|
|
@@ -78149,9 +78758,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
78149
78758
|
|
|
78150
78759
|
If you're retrieving another account's ticket, then you'll need to
|
|
78151
78760
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78152
|
-
args:
|
|
78153
|
-
tool: async (client,
|
|
78154
|
-
const [result, apiCall] = await supportGetTicket(client,
|
|
78761
|
+
args: args124,
|
|
78762
|
+
tool: async (client, args125, ctx) => {
|
|
78763
|
+
const [result, apiCall] = await supportGetTicket(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78155
78764
|
if (!result.ok) {
|
|
78156
78765
|
return {
|
|
78157
78766
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78166,9 +78775,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
78166
78775
|
|
|
78167
78776
|
// src/funcs/supportListTicketMessages.ts
|
|
78168
78777
|
function supportListTicketMessages(client, request, options) {
|
|
78169
|
-
return new APIPromise($
|
|
78778
|
+
return new APIPromise($do125(client, request, options));
|
|
78170
78779
|
}
|
|
78171
|
-
async function $
|
|
78780
|
+
async function $do125(client, request, options) {
|
|
78172
78781
|
const parsed = safeParse(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78173
78782
|
if (!parsed.ok) {
|
|
78174
78783
|
return [parsed, { status: "invalid" }];
|
|
@@ -78250,12 +78859,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
78250
78859
|
});
|
|
78251
78860
|
|
|
78252
78861
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
78253
|
-
var
|
|
78862
|
+
var args125, tool$supportListTicketMessages;
|
|
78254
78863
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
78255
78864
|
init_supportListTicketMessages();
|
|
78256
78865
|
init_operations();
|
|
78257
78866
|
init_tools();
|
|
78258
|
-
|
|
78867
|
+
args125 = {
|
|
78259
78868
|
request: ListTicketMessagesRequest$inboundSchema
|
|
78260
78869
|
};
|
|
78261
78870
|
tool$supportListTicketMessages = {
|
|
@@ -78267,9 +78876,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
78267
78876
|
|
|
78268
78877
|
If you're listing another account's messages, then you'll need to
|
|
78269
78878
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78270
|
-
args:
|
|
78271
|
-
tool: async (client,
|
|
78272
|
-
const [result, apiCall] = await supportListTicketMessages(client,
|
|
78879
|
+
args: args125,
|
|
78880
|
+
tool: async (client, args126, ctx) => {
|
|
78881
|
+
const [result, apiCall] = await supportListTicketMessages(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78273
78882
|
if (!result.ok) {
|
|
78274
78883
|
return {
|
|
78275
78884
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78284,9 +78893,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
78284
78893
|
|
|
78285
78894
|
// src/funcs/supportListTickets.ts
|
|
78286
78895
|
function supportListTickets(client, request, options) {
|
|
78287
|
-
return new APIPromise($
|
|
78896
|
+
return new APIPromise($do126(client, request, options));
|
|
78288
78897
|
}
|
|
78289
|
-
async function $
|
|
78898
|
+
async function $do126(client, request, options) {
|
|
78290
78899
|
const parsed = safeParse(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78291
78900
|
if (!parsed.ok) {
|
|
78292
78901
|
return [parsed, { status: "invalid" }];
|
|
@@ -78371,12 +78980,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
78371
78980
|
});
|
|
78372
78981
|
|
|
78373
78982
|
// src/mcp-server/tools/supportListTickets.ts
|
|
78374
|
-
var
|
|
78983
|
+
var args126, tool$supportListTickets;
|
|
78375
78984
|
var init_supportListTickets2 = __esm(() => {
|
|
78376
78985
|
init_supportListTickets();
|
|
78377
78986
|
init_operations();
|
|
78378
78987
|
init_tools();
|
|
78379
|
-
|
|
78988
|
+
args126 = {
|
|
78380
78989
|
request: ListTicketsRequest$inboundSchema
|
|
78381
78990
|
};
|
|
78382
78991
|
tool$supportListTickets = {
|
|
@@ -78388,9 +78997,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
78388
78997
|
|
|
78389
78998
|
If you're listing another account's tickets, then you'll need to
|
|
78390
78999
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78391
|
-
args:
|
|
78392
|
-
tool: async (client,
|
|
78393
|
-
const [result, apiCall] = await supportListTickets(client,
|
|
79000
|
+
args: args126,
|
|
79001
|
+
tool: async (client, args127, ctx) => {
|
|
79002
|
+
const [result, apiCall] = await supportListTickets(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78394
79003
|
if (!result.ok) {
|
|
78395
79004
|
return {
|
|
78396
79005
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78405,9 +79014,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
78405
79014
|
|
|
78406
79015
|
// src/funcs/supportUpdateTicket.ts
|
|
78407
79016
|
function supportUpdateTicket(client, request, options) {
|
|
78408
|
-
return new APIPromise($
|
|
79017
|
+
return new APIPromise($do127(client, request, options));
|
|
78409
79018
|
}
|
|
78410
|
-
async function $
|
|
79019
|
+
async function $do127(client, request, options) {
|
|
78411
79020
|
const parsed = safeParse(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78412
79021
|
if (!parsed.ok) {
|
|
78413
79022
|
return [parsed, { status: "invalid" }];
|
|
@@ -78503,12 +79112,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
78503
79112
|
});
|
|
78504
79113
|
|
|
78505
79114
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
78506
|
-
var
|
|
79115
|
+
var args127, tool$supportUpdateTicket;
|
|
78507
79116
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
78508
79117
|
init_supportUpdateTicket();
|
|
78509
79118
|
init_operations();
|
|
78510
79119
|
init_tools();
|
|
78511
|
-
|
|
79120
|
+
args127 = {
|
|
78512
79121
|
request: UpdateTicketRequest$inboundSchema
|
|
78513
79122
|
};
|
|
78514
79123
|
tool$supportUpdateTicket = {
|
|
@@ -78520,9 +79129,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
78520
79129
|
|
|
78521
79130
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
78522
79131
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78523
|
-
args:
|
|
78524
|
-
tool: async (client,
|
|
78525
|
-
const [result, apiCall] = await supportUpdateTicket(client,
|
|
79132
|
+
args: args127,
|
|
79133
|
+
tool: async (client, args128, ctx) => {
|
|
79134
|
+
const [result, apiCall] = await supportUpdateTicket(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78526
79135
|
if (!result.ok) {
|
|
78527
79136
|
return {
|
|
78528
79137
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78537,9 +79146,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
78537
79146
|
|
|
78538
79147
|
// src/funcs/sweepsCreateConfig.ts
|
|
78539
79148
|
function sweepsCreateConfig(client, request, options) {
|
|
78540
|
-
return new APIPromise($
|
|
79149
|
+
return new APIPromise($do128(client, request, options));
|
|
78541
79150
|
}
|
|
78542
|
-
async function $
|
|
79151
|
+
async function $do128(client, request, options) {
|
|
78543
79152
|
const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78544
79153
|
if (!parsed.ok) {
|
|
78545
79154
|
return [parsed, { status: "invalid" }];
|
|
@@ -78631,12 +79240,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
78631
79240
|
});
|
|
78632
79241
|
|
|
78633
79242
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
78634
|
-
var
|
|
79243
|
+
var args128, tool$sweepsCreateConfig;
|
|
78635
79244
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
78636
79245
|
init_sweepsCreateConfig();
|
|
78637
79246
|
init_operations();
|
|
78638
79247
|
init_tools();
|
|
78639
|
-
|
|
79248
|
+
args128 = {
|
|
78640
79249
|
request: CreateSweepConfigRequest$inboundSchema
|
|
78641
79250
|
};
|
|
78642
79251
|
tool$sweepsCreateConfig = {
|
|
@@ -78645,9 +79254,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
78645
79254
|
|
|
78646
79255
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78647
79256
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
78648
|
-
args:
|
|
78649
|
-
tool: async (client,
|
|
78650
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
79257
|
+
args: args128,
|
|
79258
|
+
tool: async (client, args129, ctx) => {
|
|
79259
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78651
79260
|
if (!result.ok) {
|
|
78652
79261
|
return {
|
|
78653
79262
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78662,9 +79271,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
78662
79271
|
|
|
78663
79272
|
// src/funcs/sweepsGet.ts
|
|
78664
79273
|
function sweepsGet(client, request, options) {
|
|
78665
|
-
return new APIPromise($
|
|
79274
|
+
return new APIPromise($do129(client, request, options));
|
|
78666
79275
|
}
|
|
78667
|
-
async function $
|
|
79276
|
+
async function $do129(client, request, options) {
|
|
78668
79277
|
const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78669
79278
|
if (!parsed.ok) {
|
|
78670
79279
|
return [parsed, { status: "invalid" }];
|
|
@@ -78750,12 +79359,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
78750
79359
|
});
|
|
78751
79360
|
|
|
78752
79361
|
// src/mcp-server/tools/sweepsGet.ts
|
|
78753
|
-
var
|
|
79362
|
+
var args129, tool$sweepsGet;
|
|
78754
79363
|
var init_sweepsGet2 = __esm(() => {
|
|
78755
79364
|
init_sweepsGet();
|
|
78756
79365
|
init_operations();
|
|
78757
79366
|
init_tools();
|
|
78758
|
-
|
|
79367
|
+
args129 = {
|
|
78759
79368
|
request: GetSweepRequest$inboundSchema
|
|
78760
79369
|
};
|
|
78761
79370
|
tool$sweepsGet = {
|
|
@@ -78764,9 +79373,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
78764
79373
|
|
|
78765
79374
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78766
79375
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
78767
|
-
args:
|
|
78768
|
-
tool: async (client,
|
|
78769
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
79376
|
+
args: args129,
|
|
79377
|
+
tool: async (client, args130, ctx) => {
|
|
79378
|
+
const [result, apiCall] = await sweepsGet(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78770
79379
|
if (!result.ok) {
|
|
78771
79380
|
return {
|
|
78772
79381
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78781,9 +79390,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
78781
79390
|
|
|
78782
79391
|
// src/funcs/sweepsGetConfig.ts
|
|
78783
79392
|
function sweepsGetConfig(client, request, options) {
|
|
78784
|
-
return new APIPromise($
|
|
79393
|
+
return new APIPromise($do130(client, request, options));
|
|
78785
79394
|
}
|
|
78786
|
-
async function $
|
|
79395
|
+
async function $do130(client, request, options) {
|
|
78787
79396
|
const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78788
79397
|
if (!parsed.ok) {
|
|
78789
79398
|
return [parsed, { status: "invalid" }];
|
|
@@ -78865,12 +79474,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
78865
79474
|
});
|
|
78866
79475
|
|
|
78867
79476
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
78868
|
-
var
|
|
79477
|
+
var args130, tool$sweepsGetConfig;
|
|
78869
79478
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
78870
79479
|
init_sweepsGetConfig();
|
|
78871
79480
|
init_operations();
|
|
78872
79481
|
init_tools();
|
|
78873
|
-
|
|
79482
|
+
args130 = {
|
|
78874
79483
|
request: GetSweepConfigRequest$inboundSchema
|
|
78875
79484
|
};
|
|
78876
79485
|
tool$sweepsGetConfig = {
|
|
@@ -78879,9 +79488,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
78879
79488
|
|
|
78880
79489
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78881
79490
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
78882
|
-
args:
|
|
78883
|
-
tool: async (client,
|
|
78884
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
79491
|
+
args: args130,
|
|
79492
|
+
tool: async (client, args131, ctx) => {
|
|
79493
|
+
const [result, apiCall] = await sweepsGetConfig(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78885
79494
|
if (!result.ok) {
|
|
78886
79495
|
return {
|
|
78887
79496
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78896,9 +79505,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
78896
79505
|
|
|
78897
79506
|
// src/funcs/sweepsList.ts
|
|
78898
79507
|
function sweepsList(client, request, options) {
|
|
78899
|
-
return new APIPromise($
|
|
79508
|
+
return new APIPromise($do131(client, request, options));
|
|
78900
79509
|
}
|
|
78901
|
-
async function $
|
|
79510
|
+
async function $do131(client, request, options) {
|
|
78902
79511
|
const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78903
79512
|
if (!parsed.ok) {
|
|
78904
79513
|
return [parsed, { status: "invalid" }];
|
|
@@ -78987,12 +79596,12 @@ var init_sweepsList = __esm(() => {
|
|
|
78987
79596
|
});
|
|
78988
79597
|
|
|
78989
79598
|
// src/mcp-server/tools/sweepsList.ts
|
|
78990
|
-
var
|
|
79599
|
+
var args131, tool$sweepsList;
|
|
78991
79600
|
var init_sweepsList2 = __esm(() => {
|
|
78992
79601
|
init_sweepsList();
|
|
78993
79602
|
init_operations();
|
|
78994
79603
|
init_tools();
|
|
78995
|
-
|
|
79604
|
+
args131 = {
|
|
78996
79605
|
request: ListSweepsRequest$inboundSchema
|
|
78997
79606
|
};
|
|
78998
79607
|
tool$sweepsList = {
|
|
@@ -79001,9 +79610,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
79001
79610
|
|
|
79002
79611
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79003
79612
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79004
|
-
args:
|
|
79005
|
-
tool: async (client,
|
|
79006
|
-
const [result, apiCall] = await sweepsList(client,
|
|
79613
|
+
args: args131,
|
|
79614
|
+
tool: async (client, args132, ctx) => {
|
|
79615
|
+
const [result, apiCall] = await sweepsList(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79007
79616
|
if (!result.ok) {
|
|
79008
79617
|
return {
|
|
79009
79618
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79018,9 +79627,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79018
79627
|
|
|
79019
79628
|
// src/funcs/sweepsListConfigs.ts
|
|
79020
79629
|
function sweepsListConfigs(client, request, options) {
|
|
79021
|
-
return new APIPromise($
|
|
79630
|
+
return new APIPromise($do132(client, request, options));
|
|
79022
79631
|
}
|
|
79023
|
-
async function $
|
|
79632
|
+
async function $do132(client, request, options) {
|
|
79024
79633
|
const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79025
79634
|
if (!parsed.ok) {
|
|
79026
79635
|
return [parsed, { status: "invalid" }];
|
|
@@ -79098,12 +79707,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
79098
79707
|
});
|
|
79099
79708
|
|
|
79100
79709
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
79101
|
-
var
|
|
79710
|
+
var args132, tool$sweepsListConfigs;
|
|
79102
79711
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
79103
79712
|
init_sweepsListConfigs();
|
|
79104
79713
|
init_operations();
|
|
79105
79714
|
init_tools();
|
|
79106
|
-
|
|
79715
|
+
args132 = {
|
|
79107
79716
|
request: ListSweepConfigsRequest$inboundSchema
|
|
79108
79717
|
};
|
|
79109
79718
|
tool$sweepsListConfigs = {
|
|
@@ -79112,9 +79721,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
79112
79721
|
|
|
79113
79722
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79114
79723
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79115
|
-
args:
|
|
79116
|
-
tool: async (client,
|
|
79117
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
79724
|
+
args: args132,
|
|
79725
|
+
tool: async (client, args133, ctx) => {
|
|
79726
|
+
const [result, apiCall] = await sweepsListConfigs(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79118
79727
|
if (!result.ok) {
|
|
79119
79728
|
return {
|
|
79120
79729
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79129,9 +79738,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79129
79738
|
|
|
79130
79739
|
// src/funcs/sweepsUpdateConfig.ts
|
|
79131
79740
|
function sweepsUpdateConfig(client, request, options) {
|
|
79132
|
-
return new APIPromise($
|
|
79741
|
+
return new APIPromise($do133(client, request, options));
|
|
79133
79742
|
}
|
|
79134
|
-
async function $
|
|
79743
|
+
async function $do133(client, request, options) {
|
|
79135
79744
|
const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79136
79745
|
if (!parsed.ok) {
|
|
79137
79746
|
return [parsed, { status: "invalid" }];
|
|
@@ -79227,12 +79836,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
79227
79836
|
});
|
|
79228
79837
|
|
|
79229
79838
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
79230
|
-
var
|
|
79839
|
+
var args133, tool$sweepsUpdateConfig;
|
|
79231
79840
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
79232
79841
|
init_sweepsUpdateConfig();
|
|
79233
79842
|
init_operations();
|
|
79234
79843
|
init_tools();
|
|
79235
|
-
|
|
79844
|
+
args133 = {
|
|
79236
79845
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
79237
79846
|
};
|
|
79238
79847
|
tool$sweepsUpdateConfig = {
|
|
@@ -79241,9 +79850,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
79241
79850
|
|
|
79242
79851
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79243
79852
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79244
|
-
args:
|
|
79245
|
-
tool: async (client,
|
|
79246
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
79853
|
+
args: args133,
|
|
79854
|
+
tool: async (client, args134, ctx) => {
|
|
79855
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79247
79856
|
if (!result.ok) {
|
|
79248
79857
|
return {
|
|
79249
79858
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79258,9 +79867,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79258
79867
|
|
|
79259
79868
|
// src/funcs/terminalApplicationsCreate.ts
|
|
79260
79869
|
function terminalApplicationsCreate(client, request, options) {
|
|
79261
|
-
return new APIPromise($
|
|
79870
|
+
return new APIPromise($do134(client, request, options));
|
|
79262
79871
|
}
|
|
79263
|
-
async function $
|
|
79872
|
+
async function $do134(client, request, options) {
|
|
79264
79873
|
const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
79265
79874
|
if (!parsed.ok) {
|
|
79266
79875
|
return [parsed, { status: "invalid" }];
|
|
@@ -79349,12 +79958,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
79349
79958
|
});
|
|
79350
79959
|
|
|
79351
79960
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
79352
|
-
var
|
|
79961
|
+
var args134, tool$terminalApplicationsCreate;
|
|
79353
79962
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
79354
79963
|
init_terminalApplicationsCreate();
|
|
79355
79964
|
init_components();
|
|
79356
79965
|
init_tools();
|
|
79357
|
-
|
|
79966
|
+
args134 = {
|
|
79358
79967
|
request: CreateTerminalApplication$inboundSchema
|
|
79359
79968
|
};
|
|
79360
79969
|
tool$terminalApplicationsCreate = {
|
|
@@ -79363,9 +79972,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
79363
79972
|
|
|
79364
79973
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79365
79974
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
79366
|
-
args:
|
|
79367
|
-
tool: async (client,
|
|
79368
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
79975
|
+
args: args134,
|
|
79976
|
+
tool: async (client, args135, ctx) => {
|
|
79977
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79369
79978
|
if (!result.ok) {
|
|
79370
79979
|
return {
|
|
79371
79980
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79380,9 +79989,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
79380
79989
|
|
|
79381
79990
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
79382
79991
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
79383
|
-
return new APIPromise($
|
|
79992
|
+
return new APIPromise($do135(client, request, options));
|
|
79384
79993
|
}
|
|
79385
|
-
async function $
|
|
79994
|
+
async function $do135(client, request, options) {
|
|
79386
79995
|
const parsed = safeParse(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79387
79996
|
if (!parsed.ok) {
|
|
79388
79997
|
return [parsed, { status: "invalid" }];
|
|
@@ -79472,12 +80081,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
79472
80081
|
});
|
|
79473
80082
|
|
|
79474
80083
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
79475
|
-
var
|
|
80084
|
+
var args135, tool$terminalApplicationsCreateVersion;
|
|
79476
80085
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
79477
80086
|
init_terminalApplicationsCreateVersion();
|
|
79478
80087
|
init_operations();
|
|
79479
80088
|
init_tools();
|
|
79480
|
-
|
|
80089
|
+
args135 = {
|
|
79481
80090
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
79482
80091
|
};
|
|
79483
80092
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -79486,9 +80095,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
79486
80095
|
|
|
79487
80096
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79488
80097
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
79489
|
-
args:
|
|
79490
|
-
tool: async (client,
|
|
79491
|
-
const [result, apiCall] = await terminalApplicationsCreateVersion(client,
|
|
80098
|
+
args: args135,
|
|
80099
|
+
tool: async (client, args136, ctx) => {
|
|
80100
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79492
80101
|
if (!result.ok) {
|
|
79493
80102
|
return {
|
|
79494
80103
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79503,9 +80112,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
79503
80112
|
|
|
79504
80113
|
// src/funcs/terminalApplicationsDelete.ts
|
|
79505
80114
|
function terminalApplicationsDelete(client, request, options) {
|
|
79506
|
-
return new APIPromise($
|
|
80115
|
+
return new APIPromise($do136(client, request, options));
|
|
79507
80116
|
}
|
|
79508
|
-
async function $
|
|
80117
|
+
async function $do136(client, request, options) {
|
|
79509
80118
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79510
80119
|
if (!parsed.ok) {
|
|
79511
80120
|
return [parsed, { status: "invalid" }];
|
|
@@ -79589,12 +80198,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
79589
80198
|
});
|
|
79590
80199
|
|
|
79591
80200
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
79592
|
-
var
|
|
80201
|
+
var args136, tool$terminalApplicationsDelete;
|
|
79593
80202
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
79594
80203
|
init_terminalApplicationsDelete();
|
|
79595
80204
|
init_operations();
|
|
79596
80205
|
init_tools();
|
|
79597
|
-
|
|
80206
|
+
args136 = {
|
|
79598
80207
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
79599
80208
|
};
|
|
79600
80209
|
tool$terminalApplicationsDelete = {
|
|
@@ -79603,9 +80212,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
79603
80212
|
|
|
79604
80213
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79605
80214
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
79606
|
-
args:
|
|
79607
|
-
tool: async (client,
|
|
79608
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
80215
|
+
args: args136,
|
|
80216
|
+
tool: async (client, args137, ctx) => {
|
|
80217
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79609
80218
|
if (!result.ok) {
|
|
79610
80219
|
return {
|
|
79611
80220
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79619,9 +80228,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
79619
80228
|
|
|
79620
80229
|
// src/funcs/terminalApplicationsGet.ts
|
|
79621
80230
|
function terminalApplicationsGet(client, request, options) {
|
|
79622
|
-
return new APIPromise($
|
|
80231
|
+
return new APIPromise($do137(client, request, options));
|
|
79623
80232
|
}
|
|
79624
|
-
async function $
|
|
80233
|
+
async function $do137(client, request, options) {
|
|
79625
80234
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79626
80235
|
if (!parsed.ok) {
|
|
79627
80236
|
return [parsed, { status: "invalid" }];
|
|
@@ -79696,12 +80305,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
79696
80305
|
});
|
|
79697
80306
|
|
|
79698
80307
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
79699
|
-
var
|
|
80308
|
+
var args137, tool$terminalApplicationsGet;
|
|
79700
80309
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
79701
80310
|
init_terminalApplicationsGet();
|
|
79702
80311
|
init_operations();
|
|
79703
80312
|
init_tools();
|
|
79704
|
-
|
|
80313
|
+
args137 = {
|
|
79705
80314
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
79706
80315
|
};
|
|
79707
80316
|
tool$terminalApplicationsGet = {
|
|
@@ -79710,9 +80319,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
79710
80319
|
|
|
79711
80320
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79712
80321
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
79713
|
-
args:
|
|
79714
|
-
tool: async (client,
|
|
79715
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
80322
|
+
args: args137,
|
|
80323
|
+
tool: async (client, args138, ctx) => {
|
|
80324
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79716
80325
|
if (!result.ok) {
|
|
79717
80326
|
return {
|
|
79718
80327
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79727,9 +80336,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
79727
80336
|
|
|
79728
80337
|
// src/funcs/terminalApplicationsList.ts
|
|
79729
80338
|
function terminalApplicationsList(client, _request, options) {
|
|
79730
|
-
return new APIPromise($
|
|
80339
|
+
return new APIPromise($do138(client, _request, options));
|
|
79731
80340
|
}
|
|
79732
|
-
async function $
|
|
80341
|
+
async function $do138(client, _request, options) {
|
|
79733
80342
|
const path = pathToFunc("/terminal-applications")();
|
|
79734
80343
|
const headers = new Headers(compactMap({
|
|
79735
80344
|
Accept: "application/json",
|
|
@@ -79793,12 +80402,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
79793
80402
|
});
|
|
79794
80403
|
|
|
79795
80404
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
79796
|
-
var
|
|
80405
|
+
var args138, tool$terminalApplicationsList;
|
|
79797
80406
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
79798
80407
|
init_terminalApplicationsList();
|
|
79799
80408
|
init_operations();
|
|
79800
80409
|
init_tools();
|
|
79801
|
-
|
|
80410
|
+
args138 = {
|
|
79802
80411
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
79803
80412
|
};
|
|
79804
80413
|
tool$terminalApplicationsList = {
|
|
@@ -79807,9 +80416,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
79807
80416
|
|
|
79808
80417
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79809
80418
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
79810
|
-
args:
|
|
79811
|
-
tool: async (client,
|
|
79812
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
80419
|
+
args: args138,
|
|
80420
|
+
tool: async (client, args139, ctx) => {
|
|
80421
|
+
const [result, apiCall] = await terminalApplicationsList(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79813
80422
|
if (!result.ok) {
|
|
79814
80423
|
return {
|
|
79815
80424
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79824,9 +80433,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
79824
80433
|
|
|
79825
80434
|
// src/funcs/transfersCreate.ts
|
|
79826
80435
|
function transfersCreate(client, request, options) {
|
|
79827
|
-
return new APIPromise($
|
|
80436
|
+
return new APIPromise($do139(client, request, options));
|
|
79828
80437
|
}
|
|
79829
|
-
async function $
|
|
80438
|
+
async function $do139(client, request, options) {
|
|
79830
80439
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79831
80440
|
if (!parsed.ok) {
|
|
79832
80441
|
return [parsed, { status: "invalid" }];
|
|
@@ -79919,12 +80528,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
79919
80528
|
});
|
|
79920
80529
|
|
|
79921
80530
|
// src/mcp-server/tools/transfersCreate.ts
|
|
79922
|
-
var
|
|
80531
|
+
var args139, tool$transfersCreate;
|
|
79923
80532
|
var init_transfersCreate2 = __esm(() => {
|
|
79924
80533
|
init_transfersCreate();
|
|
79925
80534
|
init_operations();
|
|
79926
80535
|
init_tools();
|
|
79927
|
-
|
|
80536
|
+
args139 = {
|
|
79928
80537
|
request: CreateTransferRequest$inboundSchema
|
|
79929
80538
|
};
|
|
79930
80539
|
tool$transfersCreate = {
|
|
@@ -79935,9 +80544,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
79935
80544
|
|
|
79936
80545
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79937
80546
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
79938
|
-
args:
|
|
79939
|
-
tool: async (client,
|
|
79940
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
80547
|
+
args: args139,
|
|
80548
|
+
tool: async (client, args140, ctx) => {
|
|
80549
|
+
const [result, apiCall] = await transfersCreate(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79941
80550
|
if (!result.ok) {
|
|
79942
80551
|
return {
|
|
79943
80552
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79952,9 +80561,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
79952
80561
|
|
|
79953
80562
|
// src/funcs/transfersCreateCancellation.ts
|
|
79954
80563
|
function transfersCreateCancellation(client, request, options) {
|
|
79955
|
-
return new APIPromise($
|
|
80564
|
+
return new APIPromise($do140(client, request, options));
|
|
79956
80565
|
}
|
|
79957
|
-
async function $
|
|
80566
|
+
async function $do140(client, request, options) {
|
|
79958
80567
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79959
80568
|
if (!parsed.ok) {
|
|
79960
80569
|
return [parsed, { status: "invalid" }];
|
|
@@ -80037,12 +80646,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
80037
80646
|
});
|
|
80038
80647
|
|
|
80039
80648
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
80040
|
-
var
|
|
80649
|
+
var args140, tool$transfersCreateCancellation;
|
|
80041
80650
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
80042
80651
|
init_transfersCreateCancellation();
|
|
80043
80652
|
init_operations();
|
|
80044
80653
|
init_tools();
|
|
80045
|
-
|
|
80654
|
+
args140 = {
|
|
80046
80655
|
request: CreateCancellationRequest$inboundSchema
|
|
80047
80656
|
};
|
|
80048
80657
|
tool$transfersCreateCancellation = {
|
|
@@ -80051,9 +80660,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
80051
80660
|
|
|
80052
80661
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80053
80662
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80054
|
-
args:
|
|
80055
|
-
tool: async (client,
|
|
80056
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
80663
|
+
args: args140,
|
|
80664
|
+
tool: async (client, args141, ctx) => {
|
|
80665
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80057
80666
|
if (!result.ok) {
|
|
80058
80667
|
return {
|
|
80059
80668
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80068,9 +80677,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
80068
80677
|
|
|
80069
80678
|
// src/funcs/transfersCreateReversal.ts
|
|
80070
80679
|
function transfersCreateReversal(client, request, options) {
|
|
80071
|
-
return new APIPromise($
|
|
80680
|
+
return new APIPromise($do141(client, request, options));
|
|
80072
80681
|
}
|
|
80073
|
-
async function $
|
|
80682
|
+
async function $do141(client, request, options) {
|
|
80074
80683
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80075
80684
|
if (!parsed.ok) {
|
|
80076
80685
|
return [parsed, { status: "invalid" }];
|
|
@@ -80169,12 +80778,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
80169
80778
|
});
|
|
80170
80779
|
|
|
80171
80780
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
80172
|
-
var
|
|
80781
|
+
var args141, tool$transfersCreateReversal;
|
|
80173
80782
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
80174
80783
|
init_transfersCreateReversal();
|
|
80175
80784
|
init_operations();
|
|
80176
80785
|
init_tools();
|
|
80177
|
-
|
|
80786
|
+
args141 = {
|
|
80178
80787
|
request: CreateReversalRequest$inboundSchema
|
|
80179
80788
|
};
|
|
80180
80789
|
tool$transfersCreateReversal = {
|
|
@@ -80185,9 +80794,9 @@ to learn more.
|
|
|
80185
80794
|
|
|
80186
80795
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80187
80796
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80188
|
-
args:
|
|
80189
|
-
tool: async (client,
|
|
80190
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
80797
|
+
args: args141,
|
|
80798
|
+
tool: async (client, args142, ctx) => {
|
|
80799
|
+
const [result, apiCall] = await transfersCreateReversal(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80191
80800
|
if (!result.ok) {
|
|
80192
80801
|
return {
|
|
80193
80802
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80202,9 +80811,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80202
80811
|
|
|
80203
80812
|
// src/funcs/transfersGenerateOptions.ts
|
|
80204
80813
|
function transfersGenerateOptions(client, request, options) {
|
|
80205
|
-
return new APIPromise($
|
|
80814
|
+
return new APIPromise($do142(client, request, options));
|
|
80206
80815
|
}
|
|
80207
|
-
async function $
|
|
80816
|
+
async function $do142(client, request, options) {
|
|
80208
80817
|
const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80209
80818
|
if (!parsed.ok) {
|
|
80210
80819
|
return [parsed, { status: "invalid" }];
|
|
@@ -80288,12 +80897,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
80288
80897
|
});
|
|
80289
80898
|
|
|
80290
80899
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
80291
|
-
var
|
|
80900
|
+
var args142, tool$transfersGenerateOptions;
|
|
80292
80901
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
80293
80902
|
init_transfersGenerateOptions();
|
|
80294
80903
|
init_operations();
|
|
80295
80904
|
init_tools();
|
|
80296
|
-
|
|
80905
|
+
args142 = {
|
|
80297
80906
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
80298
80907
|
};
|
|
80299
80908
|
tool$transfersGenerateOptions = {
|
|
@@ -80307,9 +80916,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
80307
80916
|
|
|
80308
80917
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80309
80918
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80310
|
-
args:
|
|
80311
|
-
tool: async (client,
|
|
80312
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
80919
|
+
args: args142,
|
|
80920
|
+
tool: async (client, args143, ctx) => {
|
|
80921
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80313
80922
|
if (!result.ok) {
|
|
80314
80923
|
return {
|
|
80315
80924
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80324,9 +80933,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80324
80933
|
|
|
80325
80934
|
// src/funcs/transfersGet.ts
|
|
80326
80935
|
function transfersGet(client, request, options) {
|
|
80327
|
-
return new APIPromise($
|
|
80936
|
+
return new APIPromise($do143(client, request, options));
|
|
80328
80937
|
}
|
|
80329
|
-
async function $
|
|
80938
|
+
async function $do143(client, request, options) {
|
|
80330
80939
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80331
80940
|
if (!parsed.ok) {
|
|
80332
80941
|
return [parsed, { status: "invalid" }];
|
|
@@ -80408,12 +81017,12 @@ var init_transfersGet = __esm(() => {
|
|
|
80408
81017
|
});
|
|
80409
81018
|
|
|
80410
81019
|
// src/mcp-server/tools/transfersGet.ts
|
|
80411
|
-
var
|
|
81020
|
+
var args143, tool$transfersGet;
|
|
80412
81021
|
var init_transfersGet2 = __esm(() => {
|
|
80413
81022
|
init_transfersGet();
|
|
80414
81023
|
init_operations();
|
|
80415
81024
|
init_tools();
|
|
80416
|
-
|
|
81025
|
+
args143 = {
|
|
80417
81026
|
request: GetTransferRequest$inboundSchema
|
|
80418
81027
|
};
|
|
80419
81028
|
tool$transfersGet = {
|
|
@@ -80425,9 +81034,9 @@ to learn more.
|
|
|
80425
81034
|
|
|
80426
81035
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80427
81036
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
80428
|
-
args:
|
|
80429
|
-
tool: async (client,
|
|
80430
|
-
const [result, apiCall] = await transfersGet(client,
|
|
81037
|
+
args: args143,
|
|
81038
|
+
tool: async (client, args144, ctx) => {
|
|
81039
|
+
const [result, apiCall] = await transfersGet(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80431
81040
|
if (!result.ok) {
|
|
80432
81041
|
return {
|
|
80433
81042
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80442,9 +81051,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
80442
81051
|
|
|
80443
81052
|
// src/funcs/transfersGetCancellation.ts
|
|
80444
81053
|
function transfersGetCancellation(client, request, options) {
|
|
80445
|
-
return new APIPromise($
|
|
81054
|
+
return new APIPromise($do144(client, request, options));
|
|
80446
81055
|
}
|
|
80447
|
-
async function $
|
|
81056
|
+
async function $do144(client, request, options) {
|
|
80448
81057
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80449
81058
|
if (!parsed.ok) {
|
|
80450
81059
|
return [parsed, { status: "invalid" }];
|
|
@@ -80530,12 +81139,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
80530
81139
|
});
|
|
80531
81140
|
|
|
80532
81141
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
80533
|
-
var
|
|
81142
|
+
var args144, tool$transfersGetCancellation;
|
|
80534
81143
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
80535
81144
|
init_transfersGetCancellation();
|
|
80536
81145
|
init_operations();
|
|
80537
81146
|
init_tools();
|
|
80538
|
-
|
|
81147
|
+
args144 = {
|
|
80539
81148
|
request: GetCancellationRequest$inboundSchema
|
|
80540
81149
|
};
|
|
80541
81150
|
tool$transfersGetCancellation = {
|
|
@@ -80544,9 +81153,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
80544
81153
|
|
|
80545
81154
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80546
81155
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
80547
|
-
args:
|
|
80548
|
-
tool: async (client,
|
|
80549
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
81156
|
+
args: args144,
|
|
81157
|
+
tool: async (client, args145, ctx) => {
|
|
81158
|
+
const [result, apiCall] = await transfersGetCancellation(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80550
81159
|
if (!result.ok) {
|
|
80551
81160
|
return {
|
|
80552
81161
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80561,9 +81170,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
80561
81170
|
|
|
80562
81171
|
// src/funcs/transfersGetRefund.ts
|
|
80563
81172
|
function transfersGetRefund(client, request, options) {
|
|
80564
|
-
return new APIPromise($
|
|
81173
|
+
return new APIPromise($do145(client, request, options));
|
|
80565
81174
|
}
|
|
80566
|
-
async function $
|
|
81175
|
+
async function $do145(client, request, options) {
|
|
80567
81176
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80568
81177
|
if (!parsed.ok) {
|
|
80569
81178
|
return [parsed, { status: "invalid" }];
|
|
@@ -80649,12 +81258,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
80649
81258
|
});
|
|
80650
81259
|
|
|
80651
81260
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
80652
|
-
var
|
|
81261
|
+
var args145, tool$transfersGetRefund;
|
|
80653
81262
|
var init_transfersGetRefund2 = __esm(() => {
|
|
80654
81263
|
init_transfersGetRefund();
|
|
80655
81264
|
init_operations();
|
|
80656
81265
|
init_tools();
|
|
80657
|
-
|
|
81266
|
+
args145 = {
|
|
80658
81267
|
request: GetRefundRequest$inboundSchema
|
|
80659
81268
|
};
|
|
80660
81269
|
tool$transfersGetRefund = {
|
|
@@ -80663,9 +81272,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
80663
81272
|
|
|
80664
81273
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80665
81274
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
80666
|
-
args:
|
|
80667
|
-
tool: async (client,
|
|
80668
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
81275
|
+
args: args145,
|
|
81276
|
+
tool: async (client, args146, ctx) => {
|
|
81277
|
+
const [result, apiCall] = await transfersGetRefund(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80669
81278
|
if (!result.ok) {
|
|
80670
81279
|
return {
|
|
80671
81280
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80680,9 +81289,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
80680
81289
|
|
|
80681
81290
|
// src/funcs/transfersInitiateRefund.ts
|
|
80682
81291
|
function transfersInitiateRefund(client, request, options) {
|
|
80683
|
-
return new APIPromise($
|
|
81292
|
+
return new APIPromise($do146(client, request, options));
|
|
80684
81293
|
}
|
|
80685
|
-
async function $
|
|
81294
|
+
async function $do146(client, request, options) {
|
|
80686
81295
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80687
81296
|
if (!parsed.ok) {
|
|
80688
81297
|
return [parsed, { status: "invalid" }];
|
|
@@ -80774,12 +81383,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
80774
81383
|
});
|
|
80775
81384
|
|
|
80776
81385
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
80777
|
-
var
|
|
81386
|
+
var args146, tool$transfersInitiateRefund;
|
|
80778
81387
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
80779
81388
|
init_transfersInitiateRefund();
|
|
80780
81389
|
init_operations();
|
|
80781
81390
|
init_tools();
|
|
80782
|
-
|
|
81391
|
+
args146 = {
|
|
80783
81392
|
request: InitiateRefundRequest$inboundSchema
|
|
80784
81393
|
};
|
|
80785
81394
|
tool$transfersInitiateRefund = {
|
|
@@ -80791,9 +81400,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
80791
81400
|
|
|
80792
81401
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80793
81402
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80794
|
-
args:
|
|
80795
|
-
tool: async (client,
|
|
80796
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
81403
|
+
args: args146,
|
|
81404
|
+
tool: async (client, args147, ctx) => {
|
|
81405
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80797
81406
|
if (!result.ok) {
|
|
80798
81407
|
return {
|
|
80799
81408
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80808,9 +81417,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80808
81417
|
|
|
80809
81418
|
// src/funcs/transfersList.ts
|
|
80810
81419
|
function transfersList(client, request, options) {
|
|
80811
|
-
return new APIPromise($
|
|
81420
|
+
return new APIPromise($do147(client, request, options));
|
|
80812
81421
|
}
|
|
80813
|
-
async function $
|
|
81422
|
+
async function $do147(client, request, options) {
|
|
80814
81423
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80815
81424
|
if (!parsed.ok) {
|
|
80816
81425
|
return [parsed, { status: "invalid" }];
|
|
@@ -80906,12 +81515,12 @@ var init_transfersList = __esm(() => {
|
|
|
80906
81515
|
});
|
|
80907
81516
|
|
|
80908
81517
|
// src/mcp-server/tools/transfersList.ts
|
|
80909
|
-
var
|
|
81518
|
+
var args147, tool$transfersList;
|
|
80910
81519
|
var init_transfersList2 = __esm(() => {
|
|
80911
81520
|
init_transfersList();
|
|
80912
81521
|
init_operations();
|
|
80913
81522
|
init_tools();
|
|
80914
|
-
|
|
81523
|
+
args147 = {
|
|
80915
81524
|
request: ListTransfersRequest$inboundSchema
|
|
80916
81525
|
};
|
|
80917
81526
|
tool$transfersList = {
|
|
@@ -80927,9 +81536,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
80927
81536
|
|
|
80928
81537
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80929
81538
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
80930
|
-
args:
|
|
80931
|
-
tool: async (client,
|
|
80932
|
-
const [result, apiCall] = await transfersList(client,
|
|
81539
|
+
args: args147,
|
|
81540
|
+
tool: async (client, args148, ctx) => {
|
|
81541
|
+
const [result, apiCall] = await transfersList(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80933
81542
|
if (!result.ok) {
|
|
80934
81543
|
return {
|
|
80935
81544
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80944,9 +81553,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
80944
81553
|
|
|
80945
81554
|
// src/funcs/transfersListRefunds.ts
|
|
80946
81555
|
function transfersListRefunds(client, request, options) {
|
|
80947
|
-
return new APIPromise($
|
|
81556
|
+
return new APIPromise($do148(client, request, options));
|
|
80948
81557
|
}
|
|
80949
|
-
async function $
|
|
81558
|
+
async function $do148(client, request, options) {
|
|
80950
81559
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80951
81560
|
if (!parsed.ok) {
|
|
80952
81561
|
return [parsed, { status: "invalid" }];
|
|
@@ -81028,12 +81637,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
81028
81637
|
});
|
|
81029
81638
|
|
|
81030
81639
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
81031
|
-
var
|
|
81640
|
+
var args148, tool$transfersListRefunds;
|
|
81032
81641
|
var init_transfersListRefunds2 = __esm(() => {
|
|
81033
81642
|
init_transfersListRefunds();
|
|
81034
81643
|
init_operations();
|
|
81035
81644
|
init_tools();
|
|
81036
|
-
|
|
81645
|
+
args148 = {
|
|
81037
81646
|
request: ListRefundsRequest$inboundSchema
|
|
81038
81647
|
};
|
|
81039
81648
|
tool$transfersListRefunds = {
|
|
@@ -81042,9 +81651,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
81042
81651
|
|
|
81043
81652
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81044
81653
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81045
|
-
args:
|
|
81046
|
-
tool: async (client,
|
|
81047
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
81654
|
+
args: args148,
|
|
81655
|
+
tool: async (client, args149, ctx) => {
|
|
81656
|
+
const [result, apiCall] = await transfersListRefunds(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81048
81657
|
if (!result.ok) {
|
|
81049
81658
|
return {
|
|
81050
81659
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81059,9 +81668,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81059
81668
|
|
|
81060
81669
|
// src/funcs/transfersUpdate.ts
|
|
81061
81670
|
function transfersUpdate(client, request, options) {
|
|
81062
|
-
return new APIPromise($
|
|
81671
|
+
return new APIPromise($do149(client, request, options));
|
|
81063
81672
|
}
|
|
81064
|
-
async function $
|
|
81673
|
+
async function $do149(client, request, options) {
|
|
81065
81674
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81066
81675
|
if (!parsed.ok) {
|
|
81067
81676
|
return [parsed, { status: "invalid" }];
|
|
@@ -81147,12 +81756,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
81147
81756
|
});
|
|
81148
81757
|
|
|
81149
81758
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
81150
|
-
var
|
|
81759
|
+
var args149, tool$transfersUpdate;
|
|
81151
81760
|
var init_transfersUpdate2 = __esm(() => {
|
|
81152
81761
|
init_transfersUpdate();
|
|
81153
81762
|
init_operations();
|
|
81154
81763
|
init_tools();
|
|
81155
|
-
|
|
81764
|
+
args149 = {
|
|
81156
81765
|
request: UpdateTransferRequest$inboundSchema
|
|
81157
81766
|
};
|
|
81158
81767
|
tool$transfersUpdate = {
|
|
@@ -81163,9 +81772,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
81163
81772
|
|
|
81164
81773
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81165
81774
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
81166
|
-
args:
|
|
81167
|
-
tool: async (client,
|
|
81168
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
81775
|
+
args: args149,
|
|
81776
|
+
tool: async (client, args150, ctx) => {
|
|
81777
|
+
const [result, apiCall] = await transfersUpdate(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81169
81778
|
if (!result.ok) {
|
|
81170
81779
|
return {
|
|
81171
81780
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81180,9 +81789,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
81180
81789
|
|
|
81181
81790
|
// src/funcs/underwritingGet.ts
|
|
81182
81791
|
function underwritingGet(client, request, options) {
|
|
81183
|
-
return new APIPromise($
|
|
81792
|
+
return new APIPromise($do150(client, request, options));
|
|
81184
81793
|
}
|
|
81185
|
-
async function $
|
|
81794
|
+
async function $do150(client, request, options) {
|
|
81186
81795
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81187
81796
|
if (!parsed.ok) {
|
|
81188
81797
|
return [parsed, { status: "invalid" }];
|
|
@@ -81260,12 +81869,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
81260
81869
|
});
|
|
81261
81870
|
|
|
81262
81871
|
// src/mcp-server/tools/underwritingGet.ts
|
|
81263
|
-
var
|
|
81872
|
+
var args150, tool$underwritingGet;
|
|
81264
81873
|
var init_underwritingGet2 = __esm(() => {
|
|
81265
81874
|
init_underwritingGet();
|
|
81266
81875
|
init_operations();
|
|
81267
81876
|
init_tools();
|
|
81268
|
-
|
|
81877
|
+
args150 = {
|
|
81269
81878
|
request: GetUnderwritingRequest$inboundSchema
|
|
81270
81879
|
};
|
|
81271
81880
|
tool$underwritingGet = {
|
|
@@ -81276,9 +81885,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
81276
81885
|
|
|
81277
81886
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81278
81887
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
81279
|
-
args:
|
|
81280
|
-
tool: async (client,
|
|
81281
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
81888
|
+
args: args150,
|
|
81889
|
+
tool: async (client, args151, ctx) => {
|
|
81890
|
+
const [result, apiCall] = await underwritingGet(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81282
81891
|
if (!result.ok) {
|
|
81283
81892
|
return {
|
|
81284
81893
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81293,9 +81902,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
81293
81902
|
|
|
81294
81903
|
// src/funcs/underwritingSave.ts
|
|
81295
81904
|
function underwritingSave(client, request, options) {
|
|
81296
|
-
return new APIPromise($
|
|
81905
|
+
return new APIPromise($do151(client, request, options));
|
|
81297
81906
|
}
|
|
81298
|
-
async function $
|
|
81907
|
+
async function $do151(client, request, options) {
|
|
81299
81908
|
const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81300
81909
|
if (!parsed.ok) {
|
|
81301
81910
|
return [parsed, { status: "invalid" }];
|
|
@@ -81391,12 +82000,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
81391
82000
|
});
|
|
81392
82001
|
|
|
81393
82002
|
// src/mcp-server/tools/underwritingSave.ts
|
|
81394
|
-
var
|
|
82003
|
+
var args151, tool$underwritingSave;
|
|
81395
82004
|
var init_underwritingSave2 = __esm(() => {
|
|
81396
82005
|
init_underwritingSave();
|
|
81397
82006
|
init_operations();
|
|
81398
82007
|
init_tools();
|
|
81399
|
-
|
|
82008
|
+
args151 = {
|
|
81400
82009
|
request: SaveUnderwritingRequest$inboundSchema
|
|
81401
82010
|
};
|
|
81402
82011
|
tool$underwritingSave = {
|
|
@@ -81407,9 +82016,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
81407
82016
|
|
|
81408
82017
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81409
82018
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
81410
|
-
args:
|
|
81411
|
-
tool: async (client,
|
|
81412
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
82019
|
+
args: args151,
|
|
82020
|
+
tool: async (client, args152, ctx) => {
|
|
82021
|
+
const [result, apiCall] = await underwritingSave(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81413
82022
|
if (!result.ok) {
|
|
81414
82023
|
return {
|
|
81415
82024
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81424,9 +82033,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
81424
82033
|
|
|
81425
82034
|
// src/funcs/underwritingUpsert.ts
|
|
81426
82035
|
function underwritingUpsert(client, request, options) {
|
|
81427
|
-
return new APIPromise($
|
|
82036
|
+
return new APIPromise($do152(client, request, options));
|
|
81428
82037
|
}
|
|
81429
|
-
async function $
|
|
82038
|
+
async function $do152(client, request, options) {
|
|
81430
82039
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81431
82040
|
if (!parsed.ok) {
|
|
81432
82041
|
return [parsed, { status: "invalid" }];
|
|
@@ -81522,12 +82131,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
81522
82131
|
});
|
|
81523
82132
|
|
|
81524
82133
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
81525
|
-
var
|
|
82134
|
+
var args152, tool$underwritingUpsert;
|
|
81526
82135
|
var init_underwritingUpsert2 = __esm(() => {
|
|
81527
82136
|
init_underwritingUpsert();
|
|
81528
82137
|
init_operations();
|
|
81529
82138
|
init_tools();
|
|
81530
|
-
|
|
82139
|
+
args152 = {
|
|
81531
82140
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
81532
82141
|
};
|
|
81533
82142
|
tool$underwritingUpsert = {
|
|
@@ -81538,9 +82147,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
81538
82147
|
|
|
81539
82148
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81540
82149
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
81541
|
-
args:
|
|
81542
|
-
tool: async (client,
|
|
81543
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
82150
|
+
args: args152,
|
|
82151
|
+
tool: async (client, args153, ctx) => {
|
|
82152
|
+
const [result, apiCall] = await underwritingUpsert(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81544
82153
|
if (!result.ok) {
|
|
81545
82154
|
return {
|
|
81546
82155
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81555,9 +82164,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
81555
82164
|
|
|
81556
82165
|
// src/funcs/walletsCreate.ts
|
|
81557
82166
|
function walletsCreate(client, request, options) {
|
|
81558
|
-
return new APIPromise($
|
|
82167
|
+
return new APIPromise($do153(client, request, options));
|
|
81559
82168
|
}
|
|
81560
|
-
async function $
|
|
82169
|
+
async function $do153(client, request, options) {
|
|
81561
82170
|
const parsed = safeParse(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81562
82171
|
if (!parsed.ok) {
|
|
81563
82172
|
return [parsed, { status: "invalid" }];
|
|
@@ -81651,12 +82260,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
81651
82260
|
});
|
|
81652
82261
|
|
|
81653
82262
|
// src/mcp-server/tools/walletsCreate.ts
|
|
81654
|
-
var
|
|
82263
|
+
var args153, tool$walletsCreate;
|
|
81655
82264
|
var init_walletsCreate2 = __esm(() => {
|
|
81656
82265
|
init_walletsCreate();
|
|
81657
82266
|
init_operations();
|
|
81658
82267
|
init_tools();
|
|
81659
|
-
|
|
82268
|
+
args153 = {
|
|
81660
82269
|
request: CreateWalletRequest$inboundSchema
|
|
81661
82270
|
};
|
|
81662
82271
|
tool$walletsCreate = {
|
|
@@ -81667,9 +82276,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
81667
82276
|
|
|
81668
82277
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81669
82278
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
81670
|
-
args:
|
|
81671
|
-
tool: async (client,
|
|
81672
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
82279
|
+
args: args153,
|
|
82280
|
+
tool: async (client, args154, ctx) => {
|
|
82281
|
+
const [result, apiCall] = await walletsCreate(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81673
82282
|
if (!result.ok) {
|
|
81674
82283
|
return {
|
|
81675
82284
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81684,9 +82293,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
81684
82293
|
|
|
81685
82294
|
// src/funcs/walletsGet.ts
|
|
81686
82295
|
function walletsGet(client, request, options) {
|
|
81687
|
-
return new APIPromise($
|
|
82296
|
+
return new APIPromise($do154(client, request, options));
|
|
81688
82297
|
}
|
|
81689
|
-
async function $
|
|
82298
|
+
async function $do154(client, request, options) {
|
|
81690
82299
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81691
82300
|
if (!parsed.ok) {
|
|
81692
82301
|
return [parsed, { status: "invalid" }];
|
|
@@ -81768,12 +82377,12 @@ var init_walletsGet = __esm(() => {
|
|
|
81768
82377
|
});
|
|
81769
82378
|
|
|
81770
82379
|
// src/mcp-server/tools/walletsGet.ts
|
|
81771
|
-
var
|
|
82380
|
+
var args154, tool$walletsGet;
|
|
81772
82381
|
var init_walletsGet2 = __esm(() => {
|
|
81773
82382
|
init_walletsGet();
|
|
81774
82383
|
init_operations();
|
|
81775
82384
|
init_tools();
|
|
81776
|
-
|
|
82385
|
+
args154 = {
|
|
81777
82386
|
request: GetWalletRequest$inboundSchema
|
|
81778
82387
|
};
|
|
81779
82388
|
tool$walletsGet = {
|
|
@@ -81784,9 +82393,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
81784
82393
|
|
|
81785
82394
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81786
82395
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
81787
|
-
args:
|
|
81788
|
-
tool: async (client,
|
|
81789
|
-
const [result, apiCall] = await walletsGet(client,
|
|
82396
|
+
args: args154,
|
|
82397
|
+
tool: async (client, args155, ctx) => {
|
|
82398
|
+
const [result, apiCall] = await walletsGet(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81790
82399
|
if (!result.ok) {
|
|
81791
82400
|
return {
|
|
81792
82401
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81801,9 +82410,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
81801
82410
|
|
|
81802
82411
|
// src/funcs/walletsList.ts
|
|
81803
82412
|
function walletsList(client, request, options) {
|
|
81804
|
-
return new APIPromise($
|
|
82413
|
+
return new APIPromise($do155(client, request, options));
|
|
81805
82414
|
}
|
|
81806
|
-
async function $
|
|
82415
|
+
async function $do155(client, request, options) {
|
|
81807
82416
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81808
82417
|
if (!parsed.ok) {
|
|
81809
82418
|
return [parsed, { status: "invalid" }];
|
|
@@ -81891,12 +82500,12 @@ var init_walletsList = __esm(() => {
|
|
|
81891
82500
|
});
|
|
81892
82501
|
|
|
81893
82502
|
// src/mcp-server/tools/walletsList.ts
|
|
81894
|
-
var
|
|
82503
|
+
var args155, tool$walletsList;
|
|
81895
82504
|
var init_walletsList2 = __esm(() => {
|
|
81896
82505
|
init_walletsList();
|
|
81897
82506
|
init_operations();
|
|
81898
82507
|
init_tools();
|
|
81899
|
-
|
|
82508
|
+
args155 = {
|
|
81900
82509
|
request: ListWalletsRequest$inboundSchema
|
|
81901
82510
|
};
|
|
81902
82511
|
tool$walletsList = {
|
|
@@ -81907,9 +82516,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
81907
82516
|
|
|
81908
82517
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81909
82518
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
81910
|
-
args:
|
|
81911
|
-
tool: async (client,
|
|
81912
|
-
const [result, apiCall] = await walletsList(client,
|
|
82519
|
+
args: args155,
|
|
82520
|
+
tool: async (client, args156, ctx) => {
|
|
82521
|
+
const [result, apiCall] = await walletsList(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81913
82522
|
if (!result.ok) {
|
|
81914
82523
|
return {
|
|
81915
82524
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81924,9 +82533,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
81924
82533
|
|
|
81925
82534
|
// src/funcs/walletsUpdate.ts
|
|
81926
82535
|
function walletsUpdate(client, request, options) {
|
|
81927
|
-
return new APIPromise($
|
|
82536
|
+
return new APIPromise($do156(client, request, options));
|
|
81928
82537
|
}
|
|
81929
|
-
async function $
|
|
82538
|
+
async function $do156(client, request, options) {
|
|
81930
82539
|
const parsed = safeParse(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81931
82540
|
if (!parsed.ok) {
|
|
81932
82541
|
return [parsed, { status: "invalid" }];
|
|
@@ -82024,12 +82633,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
82024
82633
|
});
|
|
82025
82634
|
|
|
82026
82635
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
82027
|
-
var
|
|
82636
|
+
var args156, tool$walletsUpdate;
|
|
82028
82637
|
var init_walletsUpdate2 = __esm(() => {
|
|
82029
82638
|
init_walletsUpdate();
|
|
82030
82639
|
init_operations();
|
|
82031
82640
|
init_tools();
|
|
82032
|
-
|
|
82641
|
+
args156 = {
|
|
82033
82642
|
request: UpdateWalletRequest$inboundSchema
|
|
82034
82643
|
};
|
|
82035
82644
|
tool$walletsUpdate = {
|
|
@@ -82040,9 +82649,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82040
82649
|
|
|
82041
82650
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82042
82651
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
82043
|
-
args:
|
|
82044
|
-
tool: async (client,
|
|
82045
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
82652
|
+
args: args156,
|
|
82653
|
+
tool: async (client, args157, ctx) => {
|
|
82654
|
+
const [result, apiCall] = await walletsUpdate(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82046
82655
|
if (!result.ok) {
|
|
82047
82656
|
return {
|
|
82048
82657
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82057,9 +82666,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
82057
82666
|
|
|
82058
82667
|
// src/funcs/walletTransactionsGet.ts
|
|
82059
82668
|
function walletTransactionsGet(client, request, options) {
|
|
82060
|
-
return new APIPromise($
|
|
82669
|
+
return new APIPromise($do157(client, request, options));
|
|
82061
82670
|
}
|
|
82062
|
-
async function $
|
|
82671
|
+
async function $do157(client, request, options) {
|
|
82063
82672
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82064
82673
|
if (!parsed.ok) {
|
|
82065
82674
|
return [parsed, { status: "invalid" }];
|
|
@@ -82145,12 +82754,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
82145
82754
|
});
|
|
82146
82755
|
|
|
82147
82756
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
82148
|
-
var
|
|
82757
|
+
var args157, tool$walletTransactionsGet;
|
|
82149
82758
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
82150
82759
|
init_walletTransactionsGet();
|
|
82151
82760
|
init_operations();
|
|
82152
82761
|
init_tools();
|
|
82153
|
-
|
|
82762
|
+
args157 = {
|
|
82154
82763
|
request: GetWalletTransactionRequest$inboundSchema
|
|
82155
82764
|
};
|
|
82156
82765
|
tool$walletTransactionsGet = {
|
|
@@ -82161,9 +82770,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
82161
82770
|
|
|
82162
82771
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82163
82772
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82164
|
-
args:
|
|
82165
|
-
tool: async (client,
|
|
82166
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
82773
|
+
args: args157,
|
|
82774
|
+
tool: async (client, args158, ctx) => {
|
|
82775
|
+
const [result, apiCall] = await walletTransactionsGet(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82167
82776
|
if (!result.ok) {
|
|
82168
82777
|
return {
|
|
82169
82778
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82178,9 +82787,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82178
82787
|
|
|
82179
82788
|
// src/funcs/walletTransactionsList.ts
|
|
82180
82789
|
function walletTransactionsList(client, request, options) {
|
|
82181
|
-
return new APIPromise($
|
|
82790
|
+
return new APIPromise($do158(client, request, options));
|
|
82182
82791
|
}
|
|
82183
|
-
async function $
|
|
82792
|
+
async function $do158(client, request, options) {
|
|
82184
82793
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82185
82794
|
if (!parsed.ok) {
|
|
82186
82795
|
return [parsed, { status: "invalid" }];
|
|
@@ -82280,12 +82889,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
82280
82889
|
});
|
|
82281
82890
|
|
|
82282
82891
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
82283
|
-
var
|
|
82892
|
+
var args158, tool$walletTransactionsList;
|
|
82284
82893
|
var init_walletTransactionsList2 = __esm(() => {
|
|
82285
82894
|
init_walletTransactionsList();
|
|
82286
82895
|
init_operations();
|
|
82287
82896
|
init_tools();
|
|
82288
|
-
|
|
82897
|
+
args158 = {
|
|
82289
82898
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
82290
82899
|
};
|
|
82291
82900
|
tool$walletTransactionsList = {
|
|
@@ -82296,9 +82905,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
82296
82905
|
|
|
82297
82906
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82298
82907
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82299
|
-
args:
|
|
82300
|
-
tool: async (client,
|
|
82301
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
82908
|
+
args: args158,
|
|
82909
|
+
tool: async (client, args159, ctx) => {
|
|
82910
|
+
const [result, apiCall] = await walletTransactionsList(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82302
82911
|
if (!result.ok) {
|
|
82303
82912
|
return {
|
|
82304
82913
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82315,7 +82924,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82315
82924
|
function createMCPServer(deps) {
|
|
82316
82925
|
const server = new McpServer({
|
|
82317
82926
|
name: "Moov",
|
|
82318
|
-
version: "0.
|
|
82927
|
+
version: "0.17.0"
|
|
82319
82928
|
});
|
|
82320
82929
|
const client = new MoovCore({
|
|
82321
82930
|
security: deps.security,
|
|
@@ -82390,7 +82999,9 @@ function createMCPServer(deps) {
|
|
|
82390
82999
|
tool(tool$filesList);
|
|
82391
83000
|
tool(tool$filesGet);
|
|
82392
83001
|
tool(tool$imagesList);
|
|
83002
|
+
tool(tool$imagesUpload);
|
|
82393
83003
|
tool(tool$imagesGetMetadata);
|
|
83004
|
+
tool(tool$imagesUpdate);
|
|
82394
83005
|
tool(tool$imagesDelete);
|
|
82395
83006
|
tool(tool$imagesGetPublic);
|
|
82396
83007
|
tool(tool$paymentLinksCreate);
|
|
@@ -82572,6 +83183,8 @@ var init_server2 = __esm(() => {
|
|
|
82572
83183
|
init_imagesGetMetadata2();
|
|
82573
83184
|
init_imagesGetPublic2();
|
|
82574
83185
|
init_imagesList2();
|
|
83186
|
+
init_imagesUpdate2();
|
|
83187
|
+
init_imagesUpload2();
|
|
82575
83188
|
init_industriesList2();
|
|
82576
83189
|
init_institutionsSearch2();
|
|
82577
83190
|
init_institutionsSearchInstitutions2();
|
|
@@ -83851,7 +84464,7 @@ var routes = rn({
|
|
|
83851
84464
|
var app = Ve(routes, {
|
|
83852
84465
|
name: "mcp",
|
|
83853
84466
|
versionInfo: {
|
|
83854
|
-
currentVersion: "0.
|
|
84467
|
+
currentVersion: "0.17.0"
|
|
83855
84468
|
}
|
|
83856
84469
|
});
|
|
83857
84470
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -83859,5 +84472,5 @@ export {
|
|
|
83859
84472
|
app
|
|
83860
84473
|
};
|
|
83861
84474
|
|
|
83862
|
-
//# debugId=
|
|
84475
|
+
//# debugId=6D0045DC65D74E0064756E2164756E21
|
|
83863
84476
|
//# sourceMappingURL=mcp-server.js.map
|