@moovio/sdk 0.16.5 → 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 +1167 -551
- package/bin/mcp-server.js.map +23 -12
- package/docs/sdks/images/README.md +190 -0
- package/docs/sdks/products/README.md +32 -8
- 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/createproductoption.d.ts +3 -2
- package/models/components/createproductoption.d.ts.map +1 -1
- package/models/components/createproductoption.js +3 -2
- package/models/components/createproductoption.js.map +1 -1
- 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/components/productoption.d.ts +3 -2
- package/models/components/productoption.d.ts.map +1 -1
- package/models/components/productoption.js +3 -2
- package/models/components/productoption.js.map +1 -1
- package/models/components/productoptionvalidationerror.d.ts +3 -2
- package/models/components/productoptionvalidationerror.d.ts.map +1 -1
- package/models/components/productoptionvalidationerror.js +3 -2
- package/models/components/productoptionvalidationerror.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/createproductoption.ts +10 -4
- 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/components/productoption.ts +10 -4
- package/src/models/components/productoptionvalidationerror.ts +10 -4
- 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
|
|
|
@@ -43554,17 +43554,18 @@ var init_createpaymentlink = __esm(() => {
|
|
|
43554
43554
|
var CreateProductOption$inboundSchema, CreateProductOption$outboundSchema, CreateProductOption$;
|
|
43555
43555
|
var init_createproductoption = __esm(() => {
|
|
43556
43556
|
init_esm();
|
|
43557
|
+
init_amountdecimal();
|
|
43557
43558
|
init_assignproductimage();
|
|
43558
43559
|
CreateProductOption$inboundSchema = objectType({
|
|
43559
43560
|
name: stringType(),
|
|
43560
43561
|
description: stringType().optional(),
|
|
43561
|
-
priceModifier:
|
|
43562
|
+
priceModifier: AmountDecimal$inboundSchema.optional(),
|
|
43562
43563
|
images: arrayType(AssignProductImage$inboundSchema).optional()
|
|
43563
43564
|
});
|
|
43564
43565
|
CreateProductOption$outboundSchema = objectType({
|
|
43565
43566
|
name: stringType(),
|
|
43566
43567
|
description: stringType().optional(),
|
|
43567
|
-
priceModifier:
|
|
43568
|
+
priceModifier: AmountDecimal$outboundSchema.optional(),
|
|
43568
43569
|
images: arrayType(AssignProductImage$outboundSchema).optional()
|
|
43569
43570
|
});
|
|
43570
43571
|
((CreateProductOption$) => {
|
|
@@ -45189,6 +45190,131 @@ var init_imagemetadata = __esm(() => {
|
|
|
45189
45190
|
})(ImageMetadata$ ||= {});
|
|
45190
45191
|
});
|
|
45191
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
|
+
|
|
45192
45318
|
// src/models/components/incurredfee.ts
|
|
45193
45319
|
var IncurredFee$inboundSchema, IncurredFee$outboundSchema, IncurredFee$;
|
|
45194
45320
|
var init_incurredfee = __esm(() => {
|
|
@@ -47340,17 +47466,18 @@ var init_productimagemetadata = __esm(() => {
|
|
|
47340
47466
|
var ProductOption$inboundSchema, ProductOption$outboundSchema, ProductOption$;
|
|
47341
47467
|
var init_productoption = __esm(() => {
|
|
47342
47468
|
init_esm();
|
|
47469
|
+
init_amountdecimal();
|
|
47343
47470
|
init_productimagemetadata();
|
|
47344
47471
|
ProductOption$inboundSchema = objectType({
|
|
47345
47472
|
name: stringType(),
|
|
47346
47473
|
description: stringType().optional(),
|
|
47347
|
-
priceModifier:
|
|
47474
|
+
priceModifier: AmountDecimal$inboundSchema.optional(),
|
|
47348
47475
|
images: arrayType(ProductImageMetadata$inboundSchema).optional()
|
|
47349
47476
|
});
|
|
47350
47477
|
ProductOption$outboundSchema = objectType({
|
|
47351
47478
|
name: stringType(),
|
|
47352
47479
|
description: stringType().optional(),
|
|
47353
|
-
priceModifier:
|
|
47480
|
+
priceModifier: AmountDecimal$outboundSchema.optional(),
|
|
47354
47481
|
images: arrayType(ProductImageMetadata$outboundSchema).optional()
|
|
47355
47482
|
});
|
|
47356
47483
|
((ProductOption$) => {
|
|
@@ -47423,17 +47550,18 @@ var init_product = __esm(() => {
|
|
|
47423
47550
|
var ProductOptionValidationError$inboundSchema, ProductOptionValidationError$outboundSchema, ProductOptionValidationError$;
|
|
47424
47551
|
var init_productoptionvalidationerror = __esm(() => {
|
|
47425
47552
|
init_esm();
|
|
47553
|
+
init_amountdecimalvalidationerror();
|
|
47426
47554
|
init_assignproductimagevalidationerror();
|
|
47427
47555
|
ProductOptionValidationError$inboundSchema = objectType({
|
|
47428
47556
|
name: stringType().optional(),
|
|
47429
47557
|
description: stringType().optional(),
|
|
47430
|
-
priceModifier:
|
|
47558
|
+
priceModifier: AmountDecimalValidationError$inboundSchema.optional(),
|
|
47431
47559
|
images: recordType(AssignProductImageValidationError$inboundSchema).optional()
|
|
47432
47560
|
});
|
|
47433
47561
|
ProductOptionValidationError$outboundSchema = objectType({
|
|
47434
47562
|
name: stringType().optional(),
|
|
47435
47563
|
description: stringType().optional(),
|
|
47436
|
-
priceModifier:
|
|
47564
|
+
priceModifier: AmountDecimalValidationError$outboundSchema.optional(),
|
|
47437
47565
|
images: recordType(AssignProductImageValidationError$outboundSchema).optional()
|
|
47438
47566
|
});
|
|
47439
47567
|
((ProductOptionValidationError$) => {
|
|
@@ -50639,6 +50767,10 @@ var init_components = __esm(() => {
|
|
|
50639
50767
|
init_granttype();
|
|
50640
50768
|
init_guestprofile();
|
|
50641
50769
|
init_imagemetadata();
|
|
50770
|
+
init_imagemetadatarequest();
|
|
50771
|
+
init_imagemetadatavalidationerror();
|
|
50772
|
+
init_imageupdaterequestmultipart();
|
|
50773
|
+
init_imageuploadrequestmultipart();
|
|
50642
50774
|
init_incurredfee();
|
|
50643
50775
|
init_individualname();
|
|
50644
50776
|
init_individualnameerror();
|
|
@@ -51519,6 +51651,50 @@ var init_genericerror = __esm(() => {
|
|
|
51519
51651
|
})(GenericError$ ||= {});
|
|
51520
51652
|
});
|
|
51521
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
|
+
|
|
51522
51698
|
// src/models/errors/linkapplepayerror.ts
|
|
51523
51699
|
var LinkApplePayError, LinkApplePayError$inboundSchema, LinkApplePayError$outboundSchema, LinkApplePayError$;
|
|
51524
51700
|
var init_linkapplepayerror = __esm(() => {
|
|
@@ -53368,6 +53544,7 @@ var init_errors2 = __esm(() => {
|
|
|
53368
53544
|
init_filevalidationerror();
|
|
53369
53545
|
init_genericerror();
|
|
53370
53546
|
init_httpclienterrors();
|
|
53547
|
+
init_imagerequestvalidationerror();
|
|
53371
53548
|
init_linkapplepayerror();
|
|
53372
53549
|
init_linkcarderror();
|
|
53373
53550
|
init_listtransfersvalidationerror();
|
|
@@ -62323,6 +62500,76 @@ var init_updatedisputeevidence = __esm(() => {
|
|
|
62323
62500
|
})(UpdateDisputeEvidenceResponse$ ||= {});
|
|
62324
62501
|
});
|
|
62325
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
|
+
|
|
62326
62573
|
// src/models/operations/updateissuedcard.ts
|
|
62327
62574
|
var UpdateIssuedCardGlobals$inboundSchema, UpdateIssuedCardGlobals$outboundSchema, UpdateIssuedCardGlobals$, UpdateIssuedCardRequest$inboundSchema, UpdateIssuedCardRequest$outboundSchema, UpdateIssuedCardRequest$, UpdateIssuedCardResponse$inboundSchema, UpdateIssuedCardResponse$outboundSchema, UpdateIssuedCardResponse$;
|
|
62328
62575
|
var init_updateissuedcard2 = __esm(() => {
|
|
@@ -63157,6 +63404,74 @@ var init_uploadfile = __esm(() => {
|
|
|
63157
63404
|
})(UploadFileResponse$ ||= {});
|
|
63158
63405
|
});
|
|
63159
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
|
+
|
|
63160
63475
|
// src/models/operations/upsertbrand.ts
|
|
63161
63476
|
var UpsertBrandGlobals$inboundSchema, UpsertBrandGlobals$outboundSchema, UpsertBrandGlobals$, UpsertBrandRequest$inboundSchema, UpsertBrandRequest$outboundSchema, UpsertBrandRequest$, UpsertBrandResponse$inboundSchema, UpsertBrandResponse$outboundSchema, UpsertBrandResponse$;
|
|
63162
63477
|
var init_upsertbrand = __esm(() => {
|
|
@@ -63437,6 +63752,7 @@ var init_operations = __esm(() => {
|
|
|
63437
63752
|
init_updatebrand2();
|
|
63438
63753
|
init_updatecard2();
|
|
63439
63754
|
init_updatedisputeevidence();
|
|
63755
|
+
init_updateimage();
|
|
63440
63756
|
init_updateissuedcard2();
|
|
63441
63757
|
init_updatepaymentlink2();
|
|
63442
63758
|
init_updateproduct();
|
|
@@ -63449,6 +63765,7 @@ var init_operations = __esm(() => {
|
|
|
63449
63765
|
init_uploaddisputeevidencefile();
|
|
63450
63766
|
init_uploaddisputeevidencetext();
|
|
63451
63767
|
init_uploadfile();
|
|
63768
|
+
init_uploadimage();
|
|
63452
63769
|
init_upsertbrand();
|
|
63453
63770
|
init_upsertunderwriting2();
|
|
63454
63771
|
});
|
|
@@ -73111,11 +73428,306 @@ var init_imagesList2 = __esm(() => {
|
|
|
73111
73428
|
};
|
|
73112
73429
|
});
|
|
73113
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
|
+
|
|
73114
73726
|
// src/funcs/industriesList.ts
|
|
73115
73727
|
function industriesList(client, _request, options) {
|
|
73116
|
-
return new APIPromise($
|
|
73728
|
+
return new APIPromise($do82(client, _request, options));
|
|
73117
73729
|
}
|
|
73118
|
-
async function $
|
|
73730
|
+
async function $do82(client, _request, options) {
|
|
73119
73731
|
const path = pathToFunc("/industries")();
|
|
73120
73732
|
const headers = new Headers(compactMap({
|
|
73121
73733
|
Accept: "application/json",
|
|
@@ -73179,12 +73791,12 @@ var init_industriesList = __esm(() => {
|
|
|
73179
73791
|
});
|
|
73180
73792
|
|
|
73181
73793
|
// src/mcp-server/tools/industriesList.ts
|
|
73182
|
-
var
|
|
73794
|
+
var args82, tool$industriesList;
|
|
73183
73795
|
var init_industriesList2 = __esm(() => {
|
|
73184
73796
|
init_industriesList();
|
|
73185
73797
|
init_operations();
|
|
73186
73798
|
init_tools();
|
|
73187
|
-
|
|
73799
|
+
args82 = {
|
|
73188
73800
|
request: ListIndustriesRequest$inboundSchema
|
|
73189
73801
|
};
|
|
73190
73802
|
tool$industriesList = {
|
|
@@ -73193,9 +73805,9 @@ var init_industriesList2 = __esm(() => {
|
|
|
73193
73805
|
|
|
73194
73806
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
73195
73807
|
you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
73196
|
-
args:
|
|
73197
|
-
tool: async (client,
|
|
73198
|
-
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();
|
|
73199
73811
|
if (!result.ok) {
|
|
73200
73812
|
return {
|
|
73201
73813
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73210,9 +73822,9 @@ you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
|
73210
73822
|
|
|
73211
73823
|
// src/funcs/institutionsSearch.ts
|
|
73212
73824
|
function institutionsSearch(client, request, options) {
|
|
73213
|
-
return new APIPromise($
|
|
73825
|
+
return new APIPromise($do83(client, request, options));
|
|
73214
73826
|
}
|
|
73215
|
-
async function $
|
|
73827
|
+
async function $do83(client, request, options) {
|
|
73216
73828
|
const parsed = safeParse(request, (value) => ListInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73217
73829
|
if (!parsed.ok) {
|
|
73218
73830
|
return [parsed, { status: "invalid" }];
|
|
@@ -73292,12 +73904,12 @@ var init_institutionsSearch = __esm(() => {
|
|
|
73292
73904
|
});
|
|
73293
73905
|
|
|
73294
73906
|
// src/mcp-server/tools/institutionsSearch.ts
|
|
73295
|
-
var
|
|
73907
|
+
var args83, tool$institutionsSearch;
|
|
73296
73908
|
var init_institutionsSearch2 = __esm(() => {
|
|
73297
73909
|
init_institutionsSearch();
|
|
73298
73910
|
init_operations();
|
|
73299
73911
|
init_tools();
|
|
73300
|
-
|
|
73912
|
+
args83 = {
|
|
73301
73913
|
request: ListInstitutionsRequest$inboundSchema
|
|
73302
73914
|
};
|
|
73303
73915
|
tool$institutionsSearch = {
|
|
@@ -73306,9 +73918,9 @@ var init_institutionsSearch2 = __esm(() => {
|
|
|
73306
73918
|
|
|
73307
73919
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73308
73920
|
you'll need to specify the \`/fed.read\` scope.`,
|
|
73309
|
-
args:
|
|
73310
|
-
tool: async (client,
|
|
73311
|
-
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();
|
|
73312
73924
|
if (!result.ok) {
|
|
73313
73925
|
return {
|
|
73314
73926
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73323,9 +73935,9 @@ you'll need to specify the \`/fed.read\` scope.`,
|
|
|
73323
73935
|
|
|
73324
73936
|
// src/funcs/institutionsSearchInstitutions.ts
|
|
73325
73937
|
function institutionsSearchInstitutions(client, request, options) {
|
|
73326
|
-
return new APIPromise($
|
|
73938
|
+
return new APIPromise($do84(client, request, options));
|
|
73327
73939
|
}
|
|
73328
|
-
async function $
|
|
73940
|
+
async function $do84(client, request, options) {
|
|
73329
73941
|
const parsed = safeParse(request, (value) => SearchInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73330
73942
|
if (!parsed.ok) {
|
|
73331
73943
|
return [parsed, { status: "invalid" }];
|
|
@@ -73403,12 +74015,12 @@ var init_institutionsSearchInstitutions = __esm(() => {
|
|
|
73403
74015
|
});
|
|
73404
74016
|
|
|
73405
74017
|
// src/mcp-server/tools/institutionsSearchInstitutions.ts
|
|
73406
|
-
var
|
|
74018
|
+
var args84, tool$institutionsSearchInstitutions;
|
|
73407
74019
|
var init_institutionsSearchInstitutions2 = __esm(() => {
|
|
73408
74020
|
init_institutionsSearchInstitutions();
|
|
73409
74021
|
init_operations();
|
|
73410
74022
|
init_tools();
|
|
73411
|
-
|
|
74023
|
+
args84 = {
|
|
73412
74024
|
request: SearchInstitutionsRequest$inboundSchema
|
|
73413
74025
|
};
|
|
73414
74026
|
tool$institutionsSearchInstitutions = {
|
|
@@ -73421,9 +74033,9 @@ This can be used to validate a financial institution before initiating payment a
|
|
|
73421
74033
|
|
|
73422
74034
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73423
74035
|
you'll need to specify the \`/institutions.read\` scope.`,
|
|
73424
|
-
args:
|
|
73425
|
-
tool: async (client,
|
|
73426
|
-
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();
|
|
73427
74039
|
if (!result.ok) {
|
|
73428
74040
|
return {
|
|
73429
74041
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73438,9 +74050,9 @@ you'll need to specify the \`/institutions.read\` scope.`,
|
|
|
73438
74050
|
|
|
73439
74051
|
// src/funcs/issuingTransactionsGet.ts
|
|
73440
74052
|
function issuingTransactionsGet(client, request, options) {
|
|
73441
|
-
return new APIPromise($
|
|
74053
|
+
return new APIPromise($do85(client, request, options));
|
|
73442
74054
|
}
|
|
73443
|
-
async function $
|
|
74055
|
+
async function $do85(client, request, options) {
|
|
73444
74056
|
const parsed = safeParse(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73445
74057
|
if (!parsed.ok) {
|
|
73446
74058
|
return [parsed, { status: "invalid" }];
|
|
@@ -73519,12 +74131,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
73519
74131
|
});
|
|
73520
74132
|
|
|
73521
74133
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
73522
|
-
var
|
|
74134
|
+
var args85, tool$issuingTransactionsGet;
|
|
73523
74135
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
73524
74136
|
init_issuingTransactionsGet();
|
|
73525
74137
|
init_operations();
|
|
73526
74138
|
init_tools();
|
|
73527
|
-
|
|
74139
|
+
args85 = {
|
|
73528
74140
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
73529
74141
|
};
|
|
73530
74142
|
tool$issuingTransactionsGet = {
|
|
@@ -73533,9 +74145,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
73533
74145
|
|
|
73534
74146
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73535
74147
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
73536
|
-
args:
|
|
73537
|
-
tool: async (client,
|
|
73538
|
-
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();
|
|
73539
74151
|
if (!result.ok) {
|
|
73540
74152
|
return {
|
|
73541
74153
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73550,9 +74162,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
73550
74162
|
|
|
73551
74163
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
73552
74164
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
73553
|
-
return new APIPromise($
|
|
74165
|
+
return new APIPromise($do86(client, request, options));
|
|
73554
74166
|
}
|
|
73555
|
-
async function $
|
|
74167
|
+
async function $do86(client, request, options) {
|
|
73556
74168
|
const parsed = safeParse(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73557
74169
|
if (!parsed.ok) {
|
|
73558
74170
|
return [parsed, { status: "invalid" }];
|
|
@@ -73634,12 +74246,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
73634
74246
|
});
|
|
73635
74247
|
|
|
73636
74248
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
73637
|
-
var
|
|
74249
|
+
var args86, tool$issuingTransactionsGetAuthorization;
|
|
73638
74250
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
73639
74251
|
init_issuingTransactionsGetAuthorization();
|
|
73640
74252
|
init_operations();
|
|
73641
74253
|
init_tools();
|
|
73642
|
-
|
|
74254
|
+
args86 = {
|
|
73643
74255
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
73644
74256
|
};
|
|
73645
74257
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -73648,9 +74260,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
73648
74260
|
|
|
73649
74261
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73650
74262
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
73651
|
-
args:
|
|
73652
|
-
tool: async (client,
|
|
73653
|
-
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();
|
|
73654
74266
|
if (!result.ok) {
|
|
73655
74267
|
return {
|
|
73656
74268
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73665,9 +74277,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
73665
74277
|
|
|
73666
74278
|
// src/funcs/issuingTransactionsList.ts
|
|
73667
74279
|
function issuingTransactionsList(client, request, options) {
|
|
73668
|
-
return new APIPromise($
|
|
74280
|
+
return new APIPromise($do87(client, request, options));
|
|
73669
74281
|
}
|
|
73670
|
-
async function $
|
|
74282
|
+
async function $do87(client, request, options) {
|
|
73671
74283
|
const parsed = safeParse(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73672
74284
|
if (!parsed.ok) {
|
|
73673
74285
|
return [parsed, { status: "invalid" }];
|
|
@@ -73753,12 +74365,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
73753
74365
|
});
|
|
73754
74366
|
|
|
73755
74367
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
73756
|
-
var
|
|
74368
|
+
var args87, tool$issuingTransactionsList;
|
|
73757
74369
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
73758
74370
|
init_issuingTransactionsList();
|
|
73759
74371
|
init_operations();
|
|
73760
74372
|
init_tools();
|
|
73761
|
-
|
|
74373
|
+
args87 = {
|
|
73762
74374
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
73763
74375
|
};
|
|
73764
74376
|
tool$issuingTransactionsList = {
|
|
@@ -73767,9 +74379,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
73767
74379
|
|
|
73768
74380
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73769
74381
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
73770
|
-
args:
|
|
73771
|
-
tool: async (client,
|
|
73772
|
-
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();
|
|
73773
74385
|
if (!result.ok) {
|
|
73774
74386
|
return {
|
|
73775
74387
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73784,9 +74396,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
73784
74396
|
|
|
73785
74397
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
73786
74398
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
73787
|
-
return new APIPromise($
|
|
74399
|
+
return new APIPromise($do88(client, request, options));
|
|
73788
74400
|
}
|
|
73789
|
-
async function $
|
|
74401
|
+
async function $do88(client, request, options) {
|
|
73790
74402
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73791
74403
|
if (!parsed.ok) {
|
|
73792
74404
|
return [parsed, { status: "invalid" }];
|
|
@@ -73870,12 +74482,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
73870
74482
|
});
|
|
73871
74483
|
|
|
73872
74484
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
73873
|
-
var
|
|
74485
|
+
var args88, tool$issuingTransactionsListAuthorizationEvents;
|
|
73874
74486
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
73875
74487
|
init_issuingTransactionsListAuthorizationEvents();
|
|
73876
74488
|
init_operations();
|
|
73877
74489
|
init_tools();
|
|
73878
|
-
|
|
74490
|
+
args88 = {
|
|
73879
74491
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
73880
74492
|
};
|
|
73881
74493
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -73884,9 +74496,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
73884
74496
|
|
|
73885
74497
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73886
74498
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
73887
|
-
args:
|
|
73888
|
-
tool: async (client,
|
|
73889
|
-
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();
|
|
73890
74502
|
if (!result.ok) {
|
|
73891
74503
|
return {
|
|
73892
74504
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73901,9 +74513,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
73901
74513
|
|
|
73902
74514
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
73903
74515
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
73904
|
-
return new APIPromise($
|
|
74516
|
+
return new APIPromise($do89(client, request, options));
|
|
73905
74517
|
}
|
|
73906
|
-
async function $
|
|
74518
|
+
async function $do89(client, request, options) {
|
|
73907
74519
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73908
74520
|
if (!parsed.ok) {
|
|
73909
74521
|
return [parsed, { status: "invalid" }];
|
|
@@ -73990,12 +74602,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
73990
74602
|
});
|
|
73991
74603
|
|
|
73992
74604
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
73993
|
-
var
|
|
74605
|
+
var args89, tool$issuingTransactionsListAuthorizations;
|
|
73994
74606
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
73995
74607
|
init_issuingTransactionsListAuthorizations();
|
|
73996
74608
|
init_operations();
|
|
73997
74609
|
init_tools();
|
|
73998
|
-
|
|
74610
|
+
args89 = {
|
|
73999
74611
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
74000
74612
|
};
|
|
74001
74613
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -74004,9 +74616,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
74004
74616
|
|
|
74005
74617
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74006
74618
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74007
|
-
args:
|
|
74008
|
-
tool: async (client,
|
|
74009
|
-
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();
|
|
74010
74622
|
if (!result.ok) {
|
|
74011
74623
|
return {
|
|
74012
74624
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74021,9 +74633,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74021
74633
|
|
|
74022
74634
|
// src/funcs/onboardingCreateInvite.ts
|
|
74023
74635
|
function onboardingCreateInvite(client, request, options) {
|
|
74024
|
-
return new APIPromise($
|
|
74636
|
+
return new APIPromise($do90(client, request, options));
|
|
74025
74637
|
}
|
|
74026
|
-
async function $
|
|
74638
|
+
async function $do90(client, request, options) {
|
|
74027
74639
|
const parsed = safeParse(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74028
74640
|
if (!parsed.ok) {
|
|
74029
74641
|
return [parsed, { status: "invalid" }];
|
|
@@ -74110,12 +74722,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
74110
74722
|
});
|
|
74111
74723
|
|
|
74112
74724
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
74113
|
-
var
|
|
74725
|
+
var args90, tool$onboardingCreateInvite;
|
|
74114
74726
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
74115
74727
|
init_onboardingCreateInvite();
|
|
74116
74728
|
init_components();
|
|
74117
74729
|
init_tools();
|
|
74118
|
-
|
|
74730
|
+
args90 = {
|
|
74119
74731
|
request: OnboardingInviteRequest$inboundSchema
|
|
74120
74732
|
};
|
|
74121
74733
|
tool$onboardingCreateInvite = {
|
|
@@ -74124,9 +74736,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
74124
74736
|
|
|
74125
74737
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74126
74738
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
74127
|
-
args:
|
|
74128
|
-
tool: async (client,
|
|
74129
|
-
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();
|
|
74130
74742
|
if (!result.ok) {
|
|
74131
74743
|
return {
|
|
74132
74744
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74141,9 +74753,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
74141
74753
|
|
|
74142
74754
|
// src/funcs/onboardingGetInvite.ts
|
|
74143
74755
|
function onboardingGetInvite(client, request, options) {
|
|
74144
|
-
return new APIPromise($
|
|
74756
|
+
return new APIPromise($do91(client, request, options));
|
|
74145
74757
|
}
|
|
74146
|
-
async function $
|
|
74758
|
+
async function $do91(client, request, options) {
|
|
74147
74759
|
const parsed = safeParse(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74148
74760
|
if (!parsed.ok) {
|
|
74149
74761
|
return [parsed, { status: "invalid" }];
|
|
@@ -74221,12 +74833,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
74221
74833
|
});
|
|
74222
74834
|
|
|
74223
74835
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
74224
|
-
var
|
|
74836
|
+
var args91, tool$onboardingGetInvite;
|
|
74225
74837
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
74226
74838
|
init_onboardingGetInvite();
|
|
74227
74839
|
init_operations();
|
|
74228
74840
|
init_tools();
|
|
74229
|
-
|
|
74841
|
+
args91 = {
|
|
74230
74842
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
74231
74843
|
};
|
|
74232
74844
|
tool$onboardingGetInvite = {
|
|
@@ -74235,9 +74847,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
74235
74847
|
|
|
74236
74848
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74237
74849
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
74238
|
-
args:
|
|
74239
|
-
tool: async (client,
|
|
74240
|
-
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();
|
|
74241
74853
|
if (!result.ok) {
|
|
74242
74854
|
return {
|
|
74243
74855
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74252,9 +74864,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
74252
74864
|
|
|
74253
74865
|
// src/funcs/onboardingListInvites.ts
|
|
74254
74866
|
function onboardingListInvites(client, _request, options) {
|
|
74255
|
-
return new APIPromise($
|
|
74867
|
+
return new APIPromise($do92(client, _request, options));
|
|
74256
74868
|
}
|
|
74257
|
-
async function $
|
|
74869
|
+
async function $do92(client, _request, options) {
|
|
74258
74870
|
const path = pathToFunc("/onboarding-invites")();
|
|
74259
74871
|
const headers = new Headers(compactMap({
|
|
74260
74872
|
Accept: "application/json",
|
|
@@ -74318,12 +74930,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
74318
74930
|
});
|
|
74319
74931
|
|
|
74320
74932
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
74321
|
-
var
|
|
74933
|
+
var args92, tool$onboardingListInvites;
|
|
74322
74934
|
var init_onboardingListInvites2 = __esm(() => {
|
|
74323
74935
|
init_onboardingListInvites();
|
|
74324
74936
|
init_operations();
|
|
74325
74937
|
init_tools();
|
|
74326
|
-
|
|
74938
|
+
args92 = {
|
|
74327
74939
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
74328
74940
|
};
|
|
74329
74941
|
tool$onboardingListInvites = {
|
|
@@ -74332,9 +74944,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
74332
74944
|
|
|
74333
74945
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74334
74946
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
74335
|
-
args:
|
|
74336
|
-
tool: async (client,
|
|
74337
|
-
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();
|
|
74338
74950
|
if (!result.ok) {
|
|
74339
74951
|
return {
|
|
74340
74952
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74349,9 +74961,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
74349
74961
|
|
|
74350
74962
|
// src/funcs/onboardingRevokeInvite.ts
|
|
74351
74963
|
function onboardingRevokeInvite(client, request, options) {
|
|
74352
|
-
return new APIPromise($
|
|
74964
|
+
return new APIPromise($do93(client, request, options));
|
|
74353
74965
|
}
|
|
74354
|
-
async function $
|
|
74966
|
+
async function $do93(client, request, options) {
|
|
74355
74967
|
const parsed = safeParse(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74356
74968
|
if (!parsed.ok) {
|
|
74357
74969
|
return [parsed, { status: "invalid" }];
|
|
@@ -74426,12 +75038,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
74426
75038
|
});
|
|
74427
75039
|
|
|
74428
75040
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
74429
|
-
var
|
|
75041
|
+
var args93, tool$onboardingRevokeInvite;
|
|
74430
75042
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
74431
75043
|
init_onboardingRevokeInvite();
|
|
74432
75044
|
init_operations();
|
|
74433
75045
|
init_tools();
|
|
74434
|
-
|
|
75046
|
+
args93 = {
|
|
74435
75047
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
74436
75048
|
};
|
|
74437
75049
|
tool$onboardingRevokeInvite = {
|
|
@@ -74440,9 +75052,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
74440
75052
|
|
|
74441
75053
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74442
75054
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
74443
|
-
args:
|
|
74444
|
-
tool: async (client,
|
|
74445
|
-
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();
|
|
74446
75058
|
if (!result.ok) {
|
|
74447
75059
|
return {
|
|
74448
75060
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74456,9 +75068,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
74456
75068
|
|
|
74457
75069
|
// src/funcs/paymentLinksCreate.ts
|
|
74458
75070
|
function paymentLinksCreate(client, request, options) {
|
|
74459
|
-
return new APIPromise($
|
|
75071
|
+
return new APIPromise($do94(client, request, options));
|
|
74460
75072
|
}
|
|
74461
|
-
async function $
|
|
75073
|
+
async function $do94(client, request, options) {
|
|
74462
75074
|
const parsed = safeParse(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74463
75075
|
if (!parsed.ok) {
|
|
74464
75076
|
return [parsed, { status: "invalid" }];
|
|
@@ -74550,12 +75162,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
74550
75162
|
});
|
|
74551
75163
|
|
|
74552
75164
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
74553
|
-
var
|
|
75165
|
+
var args94, tool$paymentLinksCreate;
|
|
74554
75166
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
74555
75167
|
init_paymentLinksCreate();
|
|
74556
75168
|
init_operations();
|
|
74557
75169
|
init_tools();
|
|
74558
|
-
|
|
75170
|
+
args94 = {
|
|
74559
75171
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
74560
75172
|
};
|
|
74561
75173
|
tool$paymentLinksCreate = {
|
|
@@ -74564,9 +75176,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
74564
75176
|
|
|
74565
75177
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74566
75178
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74567
|
-
args:
|
|
74568
|
-
tool: async (client,
|
|
74569
|
-
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();
|
|
74570
75182
|
if (!result.ok) {
|
|
74571
75183
|
return {
|
|
74572
75184
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74581,9 +75193,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74581
75193
|
|
|
74582
75194
|
// src/funcs/paymentLinksDisable.ts
|
|
74583
75195
|
function paymentLinksDisable(client, request, options) {
|
|
74584
|
-
return new APIPromise($
|
|
75196
|
+
return new APIPromise($do95(client, request, options));
|
|
74585
75197
|
}
|
|
74586
|
-
async function $
|
|
75198
|
+
async function $do95(client, request, options) {
|
|
74587
75199
|
const parsed = safeParse(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74588
75200
|
if (!parsed.ok) {
|
|
74589
75201
|
return [parsed, { status: "invalid" }];
|
|
@@ -74664,12 +75276,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
74664
75276
|
});
|
|
74665
75277
|
|
|
74666
75278
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
74667
|
-
var
|
|
75279
|
+
var args95, tool$paymentLinksDisable;
|
|
74668
75280
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
74669
75281
|
init_paymentLinksDisable();
|
|
74670
75282
|
init_operations();
|
|
74671
75283
|
init_tools();
|
|
74672
|
-
|
|
75284
|
+
args95 = {
|
|
74673
75285
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
74674
75286
|
};
|
|
74675
75287
|
tool$paymentLinksDisable = {
|
|
@@ -74678,9 +75290,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
74678
75290
|
|
|
74679
75291
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74680
75292
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74681
|
-
args:
|
|
74682
|
-
tool: async (client,
|
|
74683
|
-
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();
|
|
74684
75296
|
if (!result.ok) {
|
|
74685
75297
|
return {
|
|
74686
75298
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74694,9 +75306,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74694
75306
|
|
|
74695
75307
|
// src/funcs/paymentLinksGet.ts
|
|
74696
75308
|
function paymentLinksGet(client, request, options) {
|
|
74697
|
-
return new APIPromise($
|
|
75309
|
+
return new APIPromise($do96(client, request, options));
|
|
74698
75310
|
}
|
|
74699
|
-
async function $
|
|
75311
|
+
async function $do96(client, request, options) {
|
|
74700
75312
|
const parsed = safeParse(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74701
75313
|
if (!parsed.ok) {
|
|
74702
75314
|
return [parsed, { status: "invalid" }];
|
|
@@ -74778,12 +75390,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
74778
75390
|
});
|
|
74779
75391
|
|
|
74780
75392
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
74781
|
-
var
|
|
75393
|
+
var args96, tool$paymentLinksGet;
|
|
74782
75394
|
var init_paymentLinksGet2 = __esm(() => {
|
|
74783
75395
|
init_paymentLinksGet();
|
|
74784
75396
|
init_operations();
|
|
74785
75397
|
init_tools();
|
|
74786
|
-
|
|
75398
|
+
args96 = {
|
|
74787
75399
|
request: GetPaymentLinkRequest$inboundSchema
|
|
74788
75400
|
};
|
|
74789
75401
|
tool$paymentLinksGet = {
|
|
@@ -74792,9 +75404,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
74792
75404
|
|
|
74793
75405
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74794
75406
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74795
|
-
args:
|
|
74796
|
-
tool: async (client,
|
|
74797
|
-
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();
|
|
74798
75410
|
if (!result.ok) {
|
|
74799
75411
|
return {
|
|
74800
75412
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74809,9 +75421,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74809
75421
|
|
|
74810
75422
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
74811
75423
|
function paymentLinksGetQRCode(client, request, options) {
|
|
74812
|
-
return new APIPromise($
|
|
75424
|
+
return new APIPromise($do97(client, request, options));
|
|
74813
75425
|
}
|
|
74814
|
-
async function $
|
|
75426
|
+
async function $do97(client, request, options) {
|
|
74815
75427
|
const parsed = safeParse(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74816
75428
|
if (!parsed.ok) {
|
|
74817
75429
|
return [parsed, { status: "invalid" }];
|
|
@@ -74897,12 +75509,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
74897
75509
|
});
|
|
74898
75510
|
|
|
74899
75511
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
74900
|
-
var
|
|
75512
|
+
var args97, tool$paymentLinksGetQRCode;
|
|
74901
75513
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
74902
75514
|
init_paymentLinksGetQRCode();
|
|
74903
75515
|
init_operations();
|
|
74904
75516
|
init_tools();
|
|
74905
|
-
|
|
75517
|
+
args97 = {
|
|
74906
75518
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
74907
75519
|
};
|
|
74908
75520
|
tool$paymentLinksGetQRCode = {
|
|
@@ -74913,9 +75525,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
74913
75525
|
|
|
74914
75526
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74915
75527
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74916
|
-
args:
|
|
74917
|
-
tool: async (client,
|
|
74918
|
-
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();
|
|
74919
75531
|
if (!result.ok) {
|
|
74920
75532
|
return {
|
|
74921
75533
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74930,9 +75542,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74930
75542
|
|
|
74931
75543
|
// src/funcs/paymentLinksList.ts
|
|
74932
75544
|
function paymentLinksList(client, request, options) {
|
|
74933
|
-
return new APIPromise($
|
|
75545
|
+
return new APIPromise($do98(client, request, options));
|
|
74934
75546
|
}
|
|
74935
|
-
async function $
|
|
75547
|
+
async function $do98(client, request, options) {
|
|
74936
75548
|
const parsed = safeParse(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74937
75549
|
if (!parsed.ok) {
|
|
74938
75550
|
return [parsed, { status: "invalid" }];
|
|
@@ -75010,12 +75622,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
75010
75622
|
});
|
|
75011
75623
|
|
|
75012
75624
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
75013
|
-
var
|
|
75625
|
+
var args98, tool$paymentLinksList;
|
|
75014
75626
|
var init_paymentLinksList2 = __esm(() => {
|
|
75015
75627
|
init_paymentLinksList();
|
|
75016
75628
|
init_operations();
|
|
75017
75629
|
init_tools();
|
|
75018
|
-
|
|
75630
|
+
args98 = {
|
|
75019
75631
|
request: ListPaymentLinksRequest$inboundSchema
|
|
75020
75632
|
};
|
|
75021
75633
|
tool$paymentLinksList = {
|
|
@@ -75024,9 +75636,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
75024
75636
|
|
|
75025
75637
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75026
75638
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75027
|
-
args:
|
|
75028
|
-
tool: async (client,
|
|
75029
|
-
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();
|
|
75030
75642
|
if (!result.ok) {
|
|
75031
75643
|
return {
|
|
75032
75644
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75041,9 +75653,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75041
75653
|
|
|
75042
75654
|
// src/funcs/paymentLinksUpdate.ts
|
|
75043
75655
|
function paymentLinksUpdate(client, request, options) {
|
|
75044
|
-
return new APIPromise($
|
|
75656
|
+
return new APIPromise($do99(client, request, options));
|
|
75045
75657
|
}
|
|
75046
|
-
async function $
|
|
75658
|
+
async function $do99(client, request, options) {
|
|
75047
75659
|
const parsed = safeParse(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75048
75660
|
if (!parsed.ok) {
|
|
75049
75661
|
return [parsed, { status: "invalid" }];
|
|
@@ -75139,12 +75751,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
75139
75751
|
});
|
|
75140
75752
|
|
|
75141
75753
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
75142
|
-
var
|
|
75754
|
+
var args99, tool$paymentLinksUpdate;
|
|
75143
75755
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
75144
75756
|
init_paymentLinksUpdate();
|
|
75145
75757
|
init_operations();
|
|
75146
75758
|
init_tools();
|
|
75147
|
-
|
|
75759
|
+
args99 = {
|
|
75148
75760
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
75149
75761
|
};
|
|
75150
75762
|
tool$paymentLinksUpdate = {
|
|
@@ -75153,9 +75765,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
75153
75765
|
|
|
75154
75766
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75155
75767
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75156
|
-
args:
|
|
75157
|
-
tool: async (client,
|
|
75158
|
-
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();
|
|
75159
75771
|
if (!result.ok) {
|
|
75160
75772
|
return {
|
|
75161
75773
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75170,9 +75782,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75170
75782
|
|
|
75171
75783
|
// src/funcs/paymentMethodsGet.ts
|
|
75172
75784
|
function paymentMethodsGet(client, request, options) {
|
|
75173
|
-
return new APIPromise($
|
|
75785
|
+
return new APIPromise($do100(client, request, options));
|
|
75174
75786
|
}
|
|
75175
|
-
async function $
|
|
75787
|
+
async function $do100(client, request, options) {
|
|
75176
75788
|
const parsed = safeParse(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75177
75789
|
if (!parsed.ok) {
|
|
75178
75790
|
return [parsed, { status: "invalid" }];
|
|
@@ -75254,12 +75866,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
75254
75866
|
});
|
|
75255
75867
|
|
|
75256
75868
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
75257
|
-
var
|
|
75869
|
+
var args100, tool$paymentMethodsGet;
|
|
75258
75870
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
75259
75871
|
init_paymentMethodsGet();
|
|
75260
75872
|
init_operations();
|
|
75261
75873
|
init_tools();
|
|
75262
|
-
|
|
75874
|
+
args100 = {
|
|
75263
75875
|
request: GetPaymentMethodRequest$inboundSchema
|
|
75264
75876
|
};
|
|
75265
75877
|
tool$paymentMethodsGet = {
|
|
@@ -75268,9 +75880,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
75268
75880
|
|
|
75269
75881
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75270
75882
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
75271
|
-
args:
|
|
75272
|
-
tool: async (client,
|
|
75273
|
-
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();
|
|
75274
75886
|
if (!result.ok) {
|
|
75275
75887
|
return {
|
|
75276
75888
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75285,9 +75897,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
75285
75897
|
|
|
75286
75898
|
// src/funcs/paymentMethodsList.ts
|
|
75287
75899
|
function paymentMethodsList(client, request, options) {
|
|
75288
|
-
return new APIPromise($
|
|
75900
|
+
return new APIPromise($do101(client, request, options));
|
|
75289
75901
|
}
|
|
75290
|
-
async function $
|
|
75902
|
+
async function $do101(client, request, options) {
|
|
75291
75903
|
const parsed = safeParse(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75292
75904
|
if (!parsed.ok) {
|
|
75293
75905
|
return [parsed, { status: "invalid" }];
|
|
@@ -75370,12 +75982,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
75370
75982
|
});
|
|
75371
75983
|
|
|
75372
75984
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
75373
|
-
var
|
|
75985
|
+
var args101, tool$paymentMethodsList;
|
|
75374
75986
|
var init_paymentMethodsList2 = __esm(() => {
|
|
75375
75987
|
init_paymentMethodsList();
|
|
75376
75988
|
init_operations();
|
|
75377
75989
|
init_tools();
|
|
75378
|
-
|
|
75990
|
+
args101 = {
|
|
75379
75991
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
75380
75992
|
};
|
|
75381
75993
|
tool$paymentMethodsList = {
|
|
@@ -75385,9 +75997,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
75385
75997
|
|
|
75386
75998
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75387
75999
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
75388
|
-
args:
|
|
75389
|
-
tool: async (client,
|
|
75390
|
-
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();
|
|
75391
76003
|
if (!result.ok) {
|
|
75392
76004
|
return {
|
|
75393
76005
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75402,9 +76014,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
75402
76014
|
|
|
75403
76015
|
// src/funcs/pingPing.ts
|
|
75404
76016
|
function pingPing(client, _request, options) {
|
|
75405
|
-
return new APIPromise($
|
|
76017
|
+
return new APIPromise($do102(client, _request, options));
|
|
75406
76018
|
}
|
|
75407
|
-
async function $
|
|
76019
|
+
async function $do102(client, _request, options) {
|
|
75408
76020
|
const path = pathToFunc("/ping")();
|
|
75409
76021
|
const headers = new Headers(compactMap({
|
|
75410
76022
|
Accept: "*/*",
|
|
@@ -75467,12 +76079,12 @@ var init_pingPing = __esm(() => {
|
|
|
75467
76079
|
});
|
|
75468
76080
|
|
|
75469
76081
|
// src/mcp-server/tools/pingPing.ts
|
|
75470
|
-
var
|
|
76082
|
+
var args102, tool$pingPing;
|
|
75471
76083
|
var init_pingPing2 = __esm(() => {
|
|
75472
76084
|
init_pingPing();
|
|
75473
76085
|
init_operations();
|
|
75474
76086
|
init_tools();
|
|
75475
|
-
|
|
76087
|
+
args102 = {
|
|
75476
76088
|
request: PingRequest$inboundSchema
|
|
75477
76089
|
};
|
|
75478
76090
|
tool$pingPing = {
|
|
@@ -75481,9 +76093,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
75481
76093
|
|
|
75482
76094
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75483
76095
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
75484
|
-
args:
|
|
75485
|
-
tool: async (client,
|
|
75486
|
-
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();
|
|
75487
76099
|
if (!result.ok) {
|
|
75488
76100
|
return {
|
|
75489
76101
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75497,9 +76109,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
75497
76109
|
|
|
75498
76110
|
// src/funcs/productsCreate.ts
|
|
75499
76111
|
function productsCreate(client, request, options) {
|
|
75500
|
-
return new APIPromise($
|
|
76112
|
+
return new APIPromise($do103(client, request, options));
|
|
75501
76113
|
}
|
|
75502
|
-
async function $
|
|
76114
|
+
async function $do103(client, request, options) {
|
|
75503
76115
|
const parsed = safeParse(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75504
76116
|
if (!parsed.ok) {
|
|
75505
76117
|
return [parsed, { status: "invalid" }];
|
|
@@ -75593,20 +76205,20 @@ var init_productsCreate = __esm(() => {
|
|
|
75593
76205
|
});
|
|
75594
76206
|
|
|
75595
76207
|
// src/mcp-server/tools/productsCreate.ts
|
|
75596
|
-
var
|
|
76208
|
+
var args103, tool$productsCreate;
|
|
75597
76209
|
var init_productsCreate2 = __esm(() => {
|
|
75598
76210
|
init_productsCreate();
|
|
75599
76211
|
init_operations();
|
|
75600
76212
|
init_tools();
|
|
75601
|
-
|
|
76213
|
+
args103 = {
|
|
75602
76214
|
request: CreateProductRequest$inboundSchema
|
|
75603
76215
|
};
|
|
75604
76216
|
tool$productsCreate = {
|
|
75605
76217
|
name: "products-create",
|
|
75606
76218
|
description: `Creates a new product for the specified account.`,
|
|
75607
|
-
args:
|
|
75608
|
-
tool: async (client,
|
|
75609
|
-
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();
|
|
75610
76222
|
if (!result.ok) {
|
|
75611
76223
|
return {
|
|
75612
76224
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75621,9 +76233,9 @@ var init_productsCreate2 = __esm(() => {
|
|
|
75621
76233
|
|
|
75622
76234
|
// src/funcs/productsDisable.ts
|
|
75623
76235
|
function productsDisable(client, request, options) {
|
|
75624
|
-
return new APIPromise($
|
|
76236
|
+
return new APIPromise($do104(client, request, options));
|
|
75625
76237
|
}
|
|
75626
|
-
async function $
|
|
76238
|
+
async function $do104(client, request, options) {
|
|
75627
76239
|
const parsed = safeParse(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75628
76240
|
if (!parsed.ok) {
|
|
75629
76241
|
return [parsed, { status: "invalid" }];
|
|
@@ -75716,12 +76328,12 @@ var init_productsDisable = __esm(() => {
|
|
|
75716
76328
|
});
|
|
75717
76329
|
|
|
75718
76330
|
// src/mcp-server/tools/productsDisable.ts
|
|
75719
|
-
var
|
|
76331
|
+
var args104, tool$productsDisable;
|
|
75720
76332
|
var init_productsDisable2 = __esm(() => {
|
|
75721
76333
|
init_productsDisable();
|
|
75722
76334
|
init_operations();
|
|
75723
76335
|
init_tools();
|
|
75724
|
-
|
|
76336
|
+
args104 = {
|
|
75725
76337
|
request: DisableProductRequest$inboundSchema
|
|
75726
76338
|
};
|
|
75727
76339
|
tool$productsDisable = {
|
|
@@ -75729,9 +76341,9 @@ var init_productsDisable2 = __esm(() => {
|
|
|
75729
76341
|
description: `Disable a product by ID.
|
|
75730
76342
|
|
|
75731
76343
|
The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
|
|
75732
|
-
args:
|
|
75733
|
-
tool: async (client,
|
|
75734
|
-
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();
|
|
75735
76347
|
if (!result.ok) {
|
|
75736
76348
|
return {
|
|
75737
76349
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75745,9 +76357,9 @@ The product will no longer be available, but will remain in the system for histo
|
|
|
75745
76357
|
|
|
75746
76358
|
// src/funcs/productsGet.ts
|
|
75747
76359
|
function productsGet(client, request, options) {
|
|
75748
|
-
return new APIPromise($
|
|
76360
|
+
return new APIPromise($do105(client, request, options));
|
|
75749
76361
|
}
|
|
75750
|
-
async function $
|
|
76362
|
+
async function $do105(client, request, options) {
|
|
75751
76363
|
const parsed = safeParse(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75752
76364
|
if (!parsed.ok) {
|
|
75753
76365
|
return [parsed, { status: "invalid" }];
|
|
@@ -75829,20 +76441,20 @@ var init_productsGet = __esm(() => {
|
|
|
75829
76441
|
});
|
|
75830
76442
|
|
|
75831
76443
|
// src/mcp-server/tools/productsGet.ts
|
|
75832
|
-
var
|
|
76444
|
+
var args105, tool$productsGet;
|
|
75833
76445
|
var init_productsGet2 = __esm(() => {
|
|
75834
76446
|
init_productsGet();
|
|
75835
76447
|
init_operations();
|
|
75836
76448
|
init_tools();
|
|
75837
|
-
|
|
76449
|
+
args105 = {
|
|
75838
76450
|
request: GetProductRequest$inboundSchema
|
|
75839
76451
|
};
|
|
75840
76452
|
tool$productsGet = {
|
|
75841
76453
|
name: "products-get",
|
|
75842
76454
|
description: `Retrieve a product by ID.`,
|
|
75843
|
-
args:
|
|
75844
|
-
tool: async (client,
|
|
75845
|
-
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();
|
|
75846
76458
|
if (!result.ok) {
|
|
75847
76459
|
return {
|
|
75848
76460
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75857,9 +76469,9 @@ var init_productsGet2 = __esm(() => {
|
|
|
75857
76469
|
|
|
75858
76470
|
// src/funcs/productsList.ts
|
|
75859
76471
|
function productsList(client, request, options) {
|
|
75860
|
-
return new APIPromise($
|
|
76472
|
+
return new APIPromise($do106(client, request, options));
|
|
75861
76473
|
}
|
|
75862
|
-
async function $
|
|
76474
|
+
async function $do106(client, request, options) {
|
|
75863
76475
|
const parsed = safeParse(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75864
76476
|
if (!parsed.ok) {
|
|
75865
76477
|
return [parsed, { status: "invalid" }];
|
|
@@ -75942,20 +76554,20 @@ var init_productsList = __esm(() => {
|
|
|
75942
76554
|
});
|
|
75943
76555
|
|
|
75944
76556
|
// src/mcp-server/tools/productsList.ts
|
|
75945
|
-
var
|
|
76557
|
+
var args106, tool$productsList;
|
|
75946
76558
|
var init_productsList2 = __esm(() => {
|
|
75947
76559
|
init_productsList();
|
|
75948
76560
|
init_operations();
|
|
75949
76561
|
init_tools();
|
|
75950
|
-
|
|
76562
|
+
args106 = {
|
|
75951
76563
|
request: ListProductsRequest$inboundSchema
|
|
75952
76564
|
};
|
|
75953
76565
|
tool$productsList = {
|
|
75954
76566
|
name: "products-list",
|
|
75955
76567
|
description: `List active (non-disabled) products for an account.`,
|
|
75956
|
-
args:
|
|
75957
|
-
tool: async (client,
|
|
75958
|
-
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();
|
|
75959
76571
|
if (!result.ok) {
|
|
75960
76572
|
return {
|
|
75961
76573
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75970,9 +76582,9 @@ var init_productsList2 = __esm(() => {
|
|
|
75970
76582
|
|
|
75971
76583
|
// src/funcs/productsUpdate.ts
|
|
75972
76584
|
function productsUpdate(client, request, options) {
|
|
75973
|
-
return new APIPromise($
|
|
76585
|
+
return new APIPromise($do107(client, request, options));
|
|
75974
76586
|
}
|
|
75975
|
-
async function $
|
|
76587
|
+
async function $do107(client, request, options) {
|
|
75976
76588
|
const parsed = safeParse(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75977
76589
|
if (!parsed.ok) {
|
|
75978
76590
|
return [parsed, { status: "invalid" }];
|
|
@@ -76070,20 +76682,20 @@ var init_productsUpdate = __esm(() => {
|
|
|
76070
76682
|
});
|
|
76071
76683
|
|
|
76072
76684
|
// src/mcp-server/tools/productsUpdate.ts
|
|
76073
|
-
var
|
|
76685
|
+
var args107, tool$productsUpdate;
|
|
76074
76686
|
var init_productsUpdate2 = __esm(() => {
|
|
76075
76687
|
init_productsUpdate();
|
|
76076
76688
|
init_operations();
|
|
76077
76689
|
init_tools();
|
|
76078
|
-
|
|
76690
|
+
args107 = {
|
|
76079
76691
|
request: UpdateProductRequest$inboundSchema
|
|
76080
76692
|
};
|
|
76081
76693
|
tool$productsUpdate = {
|
|
76082
76694
|
name: "products-update",
|
|
76083
76695
|
description: `Update a product and its options.`,
|
|
76084
|
-
args:
|
|
76085
|
-
tool: async (client,
|
|
76086
|
-
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();
|
|
76087
76699
|
if (!result.ok) {
|
|
76088
76700
|
return {
|
|
76089
76701
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76098,9 +76710,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
76098
76710
|
|
|
76099
76711
|
// src/funcs/receiptsCreate.ts
|
|
76100
76712
|
function receiptsCreate(client, request, options) {
|
|
76101
|
-
return new APIPromise($
|
|
76713
|
+
return new APIPromise($do108(client, request, options));
|
|
76102
76714
|
}
|
|
76103
|
-
async function $
|
|
76715
|
+
async function $do108(client, request, options) {
|
|
76104
76716
|
const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
76105
76717
|
if (!parsed.ok) {
|
|
76106
76718
|
return [parsed, { status: "invalid" }];
|
|
@@ -76188,13 +76800,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
76188
76800
|
});
|
|
76189
76801
|
|
|
76190
76802
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
76191
|
-
var
|
|
76803
|
+
var args108, tool$receiptsCreate;
|
|
76192
76804
|
var init_receiptsCreate2 = __esm(() => {
|
|
76193
76805
|
init_esm();
|
|
76194
76806
|
init_receiptsCreate();
|
|
76195
76807
|
init_components();
|
|
76196
76808
|
init_tools();
|
|
76197
|
-
|
|
76809
|
+
args108 = {
|
|
76198
76810
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
76199
76811
|
};
|
|
76200
76812
|
tool$receiptsCreate = {
|
|
@@ -76203,9 +76815,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
76203
76815
|
|
|
76204
76816
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76205
76817
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
76206
|
-
args:
|
|
76207
|
-
tool: async (client,
|
|
76208
|
-
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();
|
|
76209
76821
|
if (!result.ok) {
|
|
76210
76822
|
return {
|
|
76211
76823
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76220,9 +76832,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
76220
76832
|
|
|
76221
76833
|
// src/funcs/receiptsList.ts
|
|
76222
76834
|
function receiptsList(client, request, options) {
|
|
76223
|
-
return new APIPromise($
|
|
76835
|
+
return new APIPromise($do109(client, request, options));
|
|
76224
76836
|
}
|
|
76225
|
-
async function $
|
|
76837
|
+
async function $do109(client, request, options) {
|
|
76226
76838
|
const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76227
76839
|
if (!parsed.ok) {
|
|
76228
76840
|
return [parsed, { status: "invalid" }];
|
|
@@ -76298,12 +76910,12 @@ var init_receiptsList = __esm(() => {
|
|
|
76298
76910
|
});
|
|
76299
76911
|
|
|
76300
76912
|
// src/mcp-server/tools/receiptsList.ts
|
|
76301
|
-
var
|
|
76913
|
+
var args109, tool$receiptsList;
|
|
76302
76914
|
var init_receiptsList2 = __esm(() => {
|
|
76303
76915
|
init_receiptsList();
|
|
76304
76916
|
init_operations();
|
|
76305
76917
|
init_tools();
|
|
76306
|
-
|
|
76918
|
+
args109 = {
|
|
76307
76919
|
request: ListReceiptsRequest$inboundSchema
|
|
76308
76920
|
};
|
|
76309
76921
|
tool$receiptsList = {
|
|
@@ -76312,9 +76924,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
76312
76924
|
|
|
76313
76925
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76314
76926
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
76315
|
-
args:
|
|
76316
|
-
tool: async (client,
|
|
76317
|
-
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();
|
|
76318
76930
|
if (!result.ok) {
|
|
76319
76931
|
return {
|
|
76320
76932
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76329,9 +76941,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
76329
76941
|
|
|
76330
76942
|
// src/funcs/representativesCreate.ts
|
|
76331
76943
|
function representativesCreate(client, request, options) {
|
|
76332
|
-
return new APIPromise($
|
|
76944
|
+
return new APIPromise($do110(client, request, options));
|
|
76333
76945
|
}
|
|
76334
|
-
async function $
|
|
76946
|
+
async function $do110(client, request, options) {
|
|
76335
76947
|
const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76336
76948
|
if (!parsed.ok) {
|
|
76337
76949
|
return [parsed, { status: "invalid" }];
|
|
@@ -76427,12 +77039,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
76427
77039
|
});
|
|
76428
77040
|
|
|
76429
77041
|
// src/mcp-server/tools/representativesCreate.ts
|
|
76430
|
-
var
|
|
77042
|
+
var args110, tool$representativesCreate;
|
|
76431
77043
|
var init_representativesCreate2 = __esm(() => {
|
|
76432
77044
|
init_representativesCreate();
|
|
76433
77045
|
init_operations();
|
|
76434
77046
|
init_tools();
|
|
76435
|
-
|
|
77047
|
+
args110 = {
|
|
76436
77048
|
request: CreateRepresentativeRequest$inboundSchema
|
|
76437
77049
|
};
|
|
76438
77050
|
tool$representativesCreate = {
|
|
@@ -76443,9 +77055,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
76443
77055
|
|
|
76444
77056
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76445
77057
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
76446
|
-
args:
|
|
76447
|
-
tool: async (client,
|
|
76448
|
-
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();
|
|
76449
77061
|
if (!result.ok) {
|
|
76450
77062
|
return {
|
|
76451
77063
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76460,9 +77072,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
76460
77072
|
|
|
76461
77073
|
// src/funcs/representativesDelete.ts
|
|
76462
77074
|
function representativesDelete(client, request, options) {
|
|
76463
|
-
return new APIPromise($
|
|
77075
|
+
return new APIPromise($do111(client, request, options));
|
|
76464
77076
|
}
|
|
76465
|
-
async function $
|
|
77077
|
+
async function $do111(client, request, options) {
|
|
76466
77078
|
const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76467
77079
|
if (!parsed.ok) {
|
|
76468
77080
|
return [parsed, { status: "invalid" }];
|
|
@@ -76550,12 +77162,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
76550
77162
|
});
|
|
76551
77163
|
|
|
76552
77164
|
// src/mcp-server/tools/representativesDelete.ts
|
|
76553
|
-
var
|
|
77165
|
+
var args111, tool$representativesDelete;
|
|
76554
77166
|
var init_representativesDelete2 = __esm(() => {
|
|
76555
77167
|
init_representativesDelete();
|
|
76556
77168
|
init_operations();
|
|
76557
77169
|
init_tools();
|
|
76558
|
-
|
|
77170
|
+
args111 = {
|
|
76559
77171
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
76560
77172
|
};
|
|
76561
77173
|
tool$representativesDelete = {
|
|
@@ -76564,9 +77176,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
76564
77176
|
|
|
76565
77177
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76566
77178
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
76567
|
-
args:
|
|
76568
|
-
tool: async (client,
|
|
76569
|
-
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();
|
|
76570
77182
|
if (!result.ok) {
|
|
76571
77183
|
return {
|
|
76572
77184
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76580,9 +77192,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
76580
77192
|
|
|
76581
77193
|
// src/funcs/representativesGet.ts
|
|
76582
77194
|
function representativesGet(client, request, options) {
|
|
76583
|
-
return new APIPromise($
|
|
77195
|
+
return new APIPromise($do112(client, request, options));
|
|
76584
77196
|
}
|
|
76585
|
-
async function $
|
|
77197
|
+
async function $do112(client, request, options) {
|
|
76586
77198
|
const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76587
77199
|
if (!parsed.ok) {
|
|
76588
77200
|
return [parsed, { status: "invalid" }];
|
|
@@ -76661,12 +77273,12 @@ var init_representativesGet = __esm(() => {
|
|
|
76661
77273
|
});
|
|
76662
77274
|
|
|
76663
77275
|
// src/mcp-server/tools/representativesGet.ts
|
|
76664
|
-
var
|
|
77276
|
+
var args112, tool$representativesGet;
|
|
76665
77277
|
var init_representativesGet2 = __esm(() => {
|
|
76666
77278
|
init_representativesGet();
|
|
76667
77279
|
init_operations();
|
|
76668
77280
|
init_tools();
|
|
76669
|
-
|
|
77281
|
+
args112 = {
|
|
76670
77282
|
request: GetRepresentativeRequest$inboundSchema
|
|
76671
77283
|
};
|
|
76672
77284
|
tool$representativesGet = {
|
|
@@ -76675,9 +77287,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
76675
77287
|
|
|
76676
77288
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76677
77289
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
76678
|
-
args:
|
|
76679
|
-
tool: async (client,
|
|
76680
|
-
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();
|
|
76681
77293
|
if (!result.ok) {
|
|
76682
77294
|
return {
|
|
76683
77295
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76692,9 +77304,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
76692
77304
|
|
|
76693
77305
|
// src/funcs/representativesList.ts
|
|
76694
77306
|
function representativesList(client, request, options) {
|
|
76695
|
-
return new APIPromise($
|
|
77307
|
+
return new APIPromise($do113(client, request, options));
|
|
76696
77308
|
}
|
|
76697
|
-
async function $
|
|
77309
|
+
async function $do113(client, request, options) {
|
|
76698
77310
|
const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76699
77311
|
if (!parsed.ok) {
|
|
76700
77312
|
return [parsed, { status: "invalid" }];
|
|
@@ -76772,12 +77384,12 @@ var init_representativesList = __esm(() => {
|
|
|
76772
77384
|
});
|
|
76773
77385
|
|
|
76774
77386
|
// src/mcp-server/tools/representativesList.ts
|
|
76775
|
-
var
|
|
77387
|
+
var args113, tool$representativesList;
|
|
76776
77388
|
var init_representativesList2 = __esm(() => {
|
|
76777
77389
|
init_representativesList();
|
|
76778
77390
|
init_operations();
|
|
76779
77391
|
init_tools();
|
|
76780
|
-
|
|
77392
|
+
args113 = {
|
|
76781
77393
|
request: ListRepresentativesRequest$inboundSchema
|
|
76782
77394
|
};
|
|
76783
77395
|
tool$representativesList = {
|
|
@@ -76789,9 +77401,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
76789
77401
|
|
|
76790
77402
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76791
77403
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
76792
|
-
args:
|
|
76793
|
-
tool: async (client,
|
|
76794
|
-
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();
|
|
76795
77407
|
if (!result.ok) {
|
|
76796
77408
|
return {
|
|
76797
77409
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76806,9 +77418,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
76806
77418
|
|
|
76807
77419
|
// src/funcs/representativesUpdate.ts
|
|
76808
77420
|
function representativesUpdate(client, request, options) {
|
|
76809
|
-
return new APIPromise($
|
|
77421
|
+
return new APIPromise($do114(client, request, options));
|
|
76810
77422
|
}
|
|
76811
|
-
async function $
|
|
77423
|
+
async function $do114(client, request, options) {
|
|
76812
77424
|
const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76813
77425
|
if (!parsed.ok) {
|
|
76814
77426
|
return [parsed, { status: "invalid" }];
|
|
@@ -76902,12 +77514,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
76902
77514
|
});
|
|
76903
77515
|
|
|
76904
77516
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
76905
|
-
var
|
|
77517
|
+
var args114, tool$representativesUpdate;
|
|
76906
77518
|
var init_representativesUpdate2 = __esm(() => {
|
|
76907
77519
|
init_representativesUpdate();
|
|
76908
77520
|
init_operations();
|
|
76909
77521
|
init_tools();
|
|
76910
|
-
|
|
77522
|
+
args114 = {
|
|
76911
77523
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
76912
77524
|
};
|
|
76913
77525
|
tool$representativesUpdate = {
|
|
@@ -76929,9 +77541,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
76929
77541
|
|
|
76930
77542
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76931
77543
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
76932
|
-
args:
|
|
76933
|
-
tool: async (client,
|
|
76934
|
-
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();
|
|
76935
77547
|
if (!result.ok) {
|
|
76936
77548
|
return {
|
|
76937
77549
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76946,9 +77558,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
76946
77558
|
|
|
76947
77559
|
// src/funcs/schedulingCancel.ts
|
|
76948
77560
|
function schedulingCancel(client, request, options) {
|
|
76949
|
-
return new APIPromise($
|
|
77561
|
+
return new APIPromise($do115(client, request, options));
|
|
76950
77562
|
}
|
|
76951
|
-
async function $
|
|
77563
|
+
async function $do115(client, request, options) {
|
|
76952
77564
|
const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76953
77565
|
if (!parsed.ok) {
|
|
76954
77566
|
return [parsed, { status: "invalid" }];
|
|
@@ -77041,12 +77653,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
77041
77653
|
});
|
|
77042
77654
|
|
|
77043
77655
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
77044
|
-
var
|
|
77656
|
+
var args115, tool$schedulingCancel;
|
|
77045
77657
|
var init_schedulingCancel2 = __esm(() => {
|
|
77046
77658
|
init_schedulingCancel();
|
|
77047
77659
|
init_operations();
|
|
77048
77660
|
init_tools();
|
|
77049
|
-
|
|
77661
|
+
args115 = {
|
|
77050
77662
|
request: CancelScheduleRequest$inboundSchema
|
|
77051
77663
|
};
|
|
77052
77664
|
tool$schedulingCancel = {
|
|
@@ -77055,9 +77667,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
77055
77667
|
|
|
77056
77668
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77057
77669
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77058
|
-
args:
|
|
77059
|
-
tool: async (client,
|
|
77060
|
-
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();
|
|
77061
77673
|
if (!result.ok) {
|
|
77062
77674
|
return {
|
|
77063
77675
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77071,9 +77683,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77071
77683
|
|
|
77072
77684
|
// src/funcs/schedulingCreate.ts
|
|
77073
77685
|
function schedulingCreate(client, request, options) {
|
|
77074
|
-
return new APIPromise($
|
|
77686
|
+
return new APIPromise($do116(client, request, options));
|
|
77075
77687
|
}
|
|
77076
|
-
async function $
|
|
77688
|
+
async function $do116(client, request, options) {
|
|
77077
77689
|
const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77078
77690
|
if (!parsed.ok) {
|
|
77079
77691
|
return [parsed, { status: "invalid" }];
|
|
@@ -77167,12 +77779,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
77167
77779
|
});
|
|
77168
77780
|
|
|
77169
77781
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
77170
|
-
var
|
|
77782
|
+
var args116, tool$schedulingCreate;
|
|
77171
77783
|
var init_schedulingCreate2 = __esm(() => {
|
|
77172
77784
|
init_schedulingCreate();
|
|
77173
77785
|
init_operations();
|
|
77174
77786
|
init_tools();
|
|
77175
|
-
|
|
77787
|
+
args116 = {
|
|
77176
77788
|
request: CreateScheduleRequest$inboundSchema
|
|
77177
77789
|
};
|
|
77178
77790
|
tool$schedulingCreate = {
|
|
@@ -77181,9 +77793,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
77181
77793
|
|
|
77182
77794
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77183
77795
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77184
|
-
args:
|
|
77185
|
-
tool: async (client,
|
|
77186
|
-
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();
|
|
77187
77799
|
if (!result.ok) {
|
|
77188
77800
|
return {
|
|
77189
77801
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77198,9 +77810,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77198
77810
|
|
|
77199
77811
|
// src/funcs/schedulingGet.ts
|
|
77200
77812
|
function schedulingGet(client, request, options) {
|
|
77201
|
-
return new APIPromise($
|
|
77813
|
+
return new APIPromise($do117(client, request, options));
|
|
77202
77814
|
}
|
|
77203
|
-
async function $
|
|
77815
|
+
async function $do117(client, request, options) {
|
|
77204
77816
|
const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77205
77817
|
if (!parsed.ok) {
|
|
77206
77818
|
return [parsed, { status: "invalid" }];
|
|
@@ -77282,12 +77894,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
77282
77894
|
});
|
|
77283
77895
|
|
|
77284
77896
|
// src/mcp-server/tools/schedulingGet.ts
|
|
77285
|
-
var
|
|
77897
|
+
var args117, tool$schedulingGet;
|
|
77286
77898
|
var init_schedulingGet2 = __esm(() => {
|
|
77287
77899
|
init_schedulingGet();
|
|
77288
77900
|
init_operations();
|
|
77289
77901
|
init_tools();
|
|
77290
|
-
|
|
77902
|
+
args117 = {
|
|
77291
77903
|
request: GetSchedulesRequest$inboundSchema
|
|
77292
77904
|
};
|
|
77293
77905
|
tool$schedulingGet = {
|
|
@@ -77296,9 +77908,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
77296
77908
|
|
|
77297
77909
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77298
77910
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77299
|
-
args:
|
|
77300
|
-
tool: async (client,
|
|
77301
|
-
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();
|
|
77302
77914
|
if (!result.ok) {
|
|
77303
77915
|
return {
|
|
77304
77916
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77313,9 +77925,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77313
77925
|
|
|
77314
77926
|
// src/funcs/schedulingGetOccurrance.ts
|
|
77315
77927
|
function schedulingGetOccurrance(client, request, options) {
|
|
77316
|
-
return new APIPromise($
|
|
77928
|
+
return new APIPromise($do118(client, request, options));
|
|
77317
77929
|
}
|
|
77318
|
-
async function $
|
|
77930
|
+
async function $do118(client, request, options) {
|
|
77319
77931
|
const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77320
77932
|
if (!parsed.ok) {
|
|
77321
77933
|
return [parsed, { status: "invalid" }];
|
|
@@ -77398,12 +78010,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
77398
78010
|
});
|
|
77399
78011
|
|
|
77400
78012
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
77401
|
-
var
|
|
78013
|
+
var args118, tool$schedulingGetOccurrance;
|
|
77402
78014
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
77403
78015
|
init_schedulingGetOccurrance();
|
|
77404
78016
|
init_operations();
|
|
77405
78017
|
init_tools();
|
|
77406
|
-
|
|
78018
|
+
args118 = {
|
|
77407
78019
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
77408
78020
|
};
|
|
77409
78021
|
tool$schedulingGetOccurrance = {
|
|
@@ -77412,9 +78024,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
77412
78024
|
|
|
77413
78025
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77414
78026
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77415
|
-
args:
|
|
77416
|
-
tool: async (client,
|
|
77417
|
-
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();
|
|
77418
78030
|
if (!result.ok) {
|
|
77419
78031
|
return {
|
|
77420
78032
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77429,9 +78041,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77429
78041
|
|
|
77430
78042
|
// src/funcs/schedulingList.ts
|
|
77431
78043
|
function schedulingList(client, request, options) {
|
|
77432
|
-
return new APIPromise($
|
|
78044
|
+
return new APIPromise($do119(client, request, options));
|
|
77433
78045
|
}
|
|
77434
|
-
async function $
|
|
78046
|
+
async function $do119(client, request, options) {
|
|
77435
78047
|
const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77436
78048
|
if (!parsed.ok) {
|
|
77437
78049
|
return [parsed, { status: "invalid" }];
|
|
@@ -77515,12 +78127,12 @@ var init_schedulingList = __esm(() => {
|
|
|
77515
78127
|
});
|
|
77516
78128
|
|
|
77517
78129
|
// src/mcp-server/tools/schedulingList.ts
|
|
77518
|
-
var
|
|
78130
|
+
var args119, tool$schedulingList;
|
|
77519
78131
|
var init_schedulingList2 = __esm(() => {
|
|
77520
78132
|
init_schedulingList();
|
|
77521
78133
|
init_operations();
|
|
77522
78134
|
init_tools();
|
|
77523
|
-
|
|
78135
|
+
args119 = {
|
|
77524
78136
|
request: ListSchedulesRequest$inboundSchema
|
|
77525
78137
|
};
|
|
77526
78138
|
tool$schedulingList = {
|
|
@@ -77529,9 +78141,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
77529
78141
|
|
|
77530
78142
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77531
78143
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77532
|
-
args:
|
|
77533
|
-
tool: async (client,
|
|
77534
|
-
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();
|
|
77535
78147
|
if (!result.ok) {
|
|
77536
78148
|
return {
|
|
77537
78149
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77546,9 +78158,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77546
78158
|
|
|
77547
78159
|
// src/funcs/schedulingUpdate.ts
|
|
77548
78160
|
function schedulingUpdate(client, request, options) {
|
|
77549
|
-
return new APIPromise($
|
|
78161
|
+
return new APIPromise($do120(client, request, options));
|
|
77550
78162
|
}
|
|
77551
|
-
async function $
|
|
78163
|
+
async function $do120(client, request, options) {
|
|
77552
78164
|
const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77553
78165
|
if (!parsed.ok) {
|
|
77554
78166
|
return [parsed, { status: "invalid" }];
|
|
@@ -77646,12 +78258,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
77646
78258
|
});
|
|
77647
78259
|
|
|
77648
78260
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
77649
|
-
var
|
|
78261
|
+
var args120, tool$schedulingUpdate;
|
|
77650
78262
|
var init_schedulingUpdate2 = __esm(() => {
|
|
77651
78263
|
init_schedulingUpdate();
|
|
77652
78264
|
init_operations();
|
|
77653
78265
|
init_tools();
|
|
77654
|
-
|
|
78266
|
+
args120 = {
|
|
77655
78267
|
request: UpdateScheduleRequest$inboundSchema
|
|
77656
78268
|
};
|
|
77657
78269
|
tool$schedulingUpdate = {
|
|
@@ -77660,9 +78272,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
77660
78272
|
|
|
77661
78273
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77662
78274
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77663
|
-
args:
|
|
77664
|
-
tool: async (client,
|
|
77665
|
-
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();
|
|
77666
78278
|
if (!result.ok) {
|
|
77667
78279
|
return {
|
|
77668
78280
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77677,9 +78289,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77677
78289
|
|
|
77678
78290
|
// src/funcs/statementsGet.ts
|
|
77679
78291
|
function statementsGet(client, request, options) {
|
|
77680
|
-
return new APIPromise($
|
|
78292
|
+
return new APIPromise($do121(client, request, options));
|
|
77681
78293
|
}
|
|
77682
|
-
async function $
|
|
78294
|
+
async function $do121(client, request, options) {
|
|
77683
78295
|
const parsed = safeParse(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77684
78296
|
if (!parsed.ok) {
|
|
77685
78297
|
return [parsed, { status: "invalid" }];
|
|
@@ -77765,12 +78377,12 @@ var init_statementsGet = __esm(() => {
|
|
|
77765
78377
|
});
|
|
77766
78378
|
|
|
77767
78379
|
// src/mcp-server/tools/statementsGet.ts
|
|
77768
|
-
var
|
|
78380
|
+
var args121, tool$statementsGet;
|
|
77769
78381
|
var init_statementsGet2 = __esm(() => {
|
|
77770
78382
|
init_statementsGet();
|
|
77771
78383
|
init_operations();
|
|
77772
78384
|
init_tools();
|
|
77773
|
-
|
|
78385
|
+
args121 = {
|
|
77774
78386
|
request: GetStatementRequest$inboundSchema
|
|
77775
78387
|
};
|
|
77776
78388
|
tool$statementsGet = {
|
|
@@ -77781,9 +78393,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
77781
78393
|
|
|
77782
78394
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77783
78395
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
77784
|
-
args:
|
|
77785
|
-
tool: async (client,
|
|
77786
|
-
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();
|
|
77787
78399
|
if (!result.ok) {
|
|
77788
78400
|
return {
|
|
77789
78401
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77798,9 +78410,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
77798
78410
|
|
|
77799
78411
|
// src/funcs/statementsList.ts
|
|
77800
78412
|
function statementsList(client, request, options) {
|
|
77801
|
-
return new APIPromise($
|
|
78413
|
+
return new APIPromise($do122(client, request, options));
|
|
77802
78414
|
}
|
|
77803
|
-
async function $
|
|
78415
|
+
async function $do122(client, request, options) {
|
|
77804
78416
|
const parsed = safeParse(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77805
78417
|
if (!parsed.ok) {
|
|
77806
78418
|
return [parsed, { status: "invalid" }];
|
|
@@ -77886,12 +78498,12 @@ var init_statementsList = __esm(() => {
|
|
|
77886
78498
|
});
|
|
77887
78499
|
|
|
77888
78500
|
// src/mcp-server/tools/statementsList.ts
|
|
77889
|
-
var
|
|
78501
|
+
var args122, tool$statementsList;
|
|
77890
78502
|
var init_statementsList2 = __esm(() => {
|
|
77891
78503
|
init_statementsList();
|
|
77892
78504
|
init_operations();
|
|
77893
78505
|
init_tools();
|
|
77894
|
-
|
|
78506
|
+
args122 = {
|
|
77895
78507
|
request: ListStatementsRequest$inboundSchema
|
|
77896
78508
|
};
|
|
77897
78509
|
tool$statementsList = {
|
|
@@ -77900,9 +78512,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
77900
78512
|
|
|
77901
78513
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77902
78514
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
77903
|
-
args:
|
|
77904
|
-
tool: async (client,
|
|
77905
|
-
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();
|
|
77906
78518
|
if (!result.ok) {
|
|
77907
78519
|
return {
|
|
77908
78520
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77917,9 +78529,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
77917
78529
|
|
|
77918
78530
|
// src/funcs/supportCreateTicket.ts
|
|
77919
78531
|
function supportCreateTicket(client, request, options) {
|
|
77920
|
-
return new APIPromise($
|
|
78532
|
+
return new APIPromise($do123(client, request, options));
|
|
77921
78533
|
}
|
|
77922
|
-
async function $
|
|
78534
|
+
async function $do123(client, request, options) {
|
|
77923
78535
|
const parsed = safeParse(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77924
78536
|
if (!parsed.ok) {
|
|
77925
78537
|
return [parsed, { status: "invalid" }];
|
|
@@ -78011,12 +78623,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
78011
78623
|
});
|
|
78012
78624
|
|
|
78013
78625
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
78014
|
-
var
|
|
78626
|
+
var args123, tool$supportCreateTicket;
|
|
78015
78627
|
var init_supportCreateTicket2 = __esm(() => {
|
|
78016
78628
|
init_supportCreateTicket();
|
|
78017
78629
|
init_operations();
|
|
78018
78630
|
init_tools();
|
|
78019
|
-
|
|
78631
|
+
args123 = {
|
|
78020
78632
|
request: CreateTicketRequest$inboundSchema
|
|
78021
78633
|
};
|
|
78022
78634
|
tool$supportCreateTicket = {
|
|
@@ -78028,9 +78640,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
78028
78640
|
|
|
78029
78641
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
78030
78642
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78031
|
-
args:
|
|
78032
|
-
tool: async (client,
|
|
78033
|
-
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();
|
|
78034
78646
|
if (!result.ok) {
|
|
78035
78647
|
return {
|
|
78036
78648
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78045,9 +78657,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
78045
78657
|
|
|
78046
78658
|
// src/funcs/supportGetTicket.ts
|
|
78047
78659
|
function supportGetTicket(client, request, options) {
|
|
78048
|
-
return new APIPromise($
|
|
78660
|
+
return new APIPromise($do124(client, request, options));
|
|
78049
78661
|
}
|
|
78050
|
-
async function $
|
|
78662
|
+
async function $do124(client, request, options) {
|
|
78051
78663
|
const parsed = safeParse(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78052
78664
|
if (!parsed.ok) {
|
|
78053
78665
|
return [parsed, { status: "invalid" }];
|
|
@@ -78129,12 +78741,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
78129
78741
|
});
|
|
78130
78742
|
|
|
78131
78743
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
78132
|
-
var
|
|
78744
|
+
var args124, tool$supportGetTicket;
|
|
78133
78745
|
var init_supportGetTicket2 = __esm(() => {
|
|
78134
78746
|
init_supportGetTicket();
|
|
78135
78747
|
init_operations();
|
|
78136
78748
|
init_tools();
|
|
78137
|
-
|
|
78749
|
+
args124 = {
|
|
78138
78750
|
request: GetTicketRequest$inboundSchema
|
|
78139
78751
|
};
|
|
78140
78752
|
tool$supportGetTicket = {
|
|
@@ -78146,9 +78758,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
78146
78758
|
|
|
78147
78759
|
If you're retrieving another account's ticket, then you'll need to
|
|
78148
78760
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78149
|
-
args:
|
|
78150
|
-
tool: async (client,
|
|
78151
|
-
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();
|
|
78152
78764
|
if (!result.ok) {
|
|
78153
78765
|
return {
|
|
78154
78766
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78163,9 +78775,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
78163
78775
|
|
|
78164
78776
|
// src/funcs/supportListTicketMessages.ts
|
|
78165
78777
|
function supportListTicketMessages(client, request, options) {
|
|
78166
|
-
return new APIPromise($
|
|
78778
|
+
return new APIPromise($do125(client, request, options));
|
|
78167
78779
|
}
|
|
78168
|
-
async function $
|
|
78780
|
+
async function $do125(client, request, options) {
|
|
78169
78781
|
const parsed = safeParse(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78170
78782
|
if (!parsed.ok) {
|
|
78171
78783
|
return [parsed, { status: "invalid" }];
|
|
@@ -78247,12 +78859,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
78247
78859
|
});
|
|
78248
78860
|
|
|
78249
78861
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
78250
|
-
var
|
|
78862
|
+
var args125, tool$supportListTicketMessages;
|
|
78251
78863
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
78252
78864
|
init_supportListTicketMessages();
|
|
78253
78865
|
init_operations();
|
|
78254
78866
|
init_tools();
|
|
78255
|
-
|
|
78867
|
+
args125 = {
|
|
78256
78868
|
request: ListTicketMessagesRequest$inboundSchema
|
|
78257
78869
|
};
|
|
78258
78870
|
tool$supportListTicketMessages = {
|
|
@@ -78264,9 +78876,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
78264
78876
|
|
|
78265
78877
|
If you're listing another account's messages, then you'll need to
|
|
78266
78878
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78267
|
-
args:
|
|
78268
|
-
tool: async (client,
|
|
78269
|
-
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();
|
|
78270
78882
|
if (!result.ok) {
|
|
78271
78883
|
return {
|
|
78272
78884
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78281,9 +78893,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
78281
78893
|
|
|
78282
78894
|
// src/funcs/supportListTickets.ts
|
|
78283
78895
|
function supportListTickets(client, request, options) {
|
|
78284
|
-
return new APIPromise($
|
|
78896
|
+
return new APIPromise($do126(client, request, options));
|
|
78285
78897
|
}
|
|
78286
|
-
async function $
|
|
78898
|
+
async function $do126(client, request, options) {
|
|
78287
78899
|
const parsed = safeParse(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78288
78900
|
if (!parsed.ok) {
|
|
78289
78901
|
return [parsed, { status: "invalid" }];
|
|
@@ -78368,12 +78980,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
78368
78980
|
});
|
|
78369
78981
|
|
|
78370
78982
|
// src/mcp-server/tools/supportListTickets.ts
|
|
78371
|
-
var
|
|
78983
|
+
var args126, tool$supportListTickets;
|
|
78372
78984
|
var init_supportListTickets2 = __esm(() => {
|
|
78373
78985
|
init_supportListTickets();
|
|
78374
78986
|
init_operations();
|
|
78375
78987
|
init_tools();
|
|
78376
|
-
|
|
78988
|
+
args126 = {
|
|
78377
78989
|
request: ListTicketsRequest$inboundSchema
|
|
78378
78990
|
};
|
|
78379
78991
|
tool$supportListTickets = {
|
|
@@ -78385,9 +78997,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
78385
78997
|
|
|
78386
78998
|
If you're listing another account's tickets, then you'll need to
|
|
78387
78999
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78388
|
-
args:
|
|
78389
|
-
tool: async (client,
|
|
78390
|
-
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();
|
|
78391
79003
|
if (!result.ok) {
|
|
78392
79004
|
return {
|
|
78393
79005
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78402,9 +79014,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
78402
79014
|
|
|
78403
79015
|
// src/funcs/supportUpdateTicket.ts
|
|
78404
79016
|
function supportUpdateTicket(client, request, options) {
|
|
78405
|
-
return new APIPromise($
|
|
79017
|
+
return new APIPromise($do127(client, request, options));
|
|
78406
79018
|
}
|
|
78407
|
-
async function $
|
|
79019
|
+
async function $do127(client, request, options) {
|
|
78408
79020
|
const parsed = safeParse(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78409
79021
|
if (!parsed.ok) {
|
|
78410
79022
|
return [parsed, { status: "invalid" }];
|
|
@@ -78500,12 +79112,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
78500
79112
|
});
|
|
78501
79113
|
|
|
78502
79114
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
78503
|
-
var
|
|
79115
|
+
var args127, tool$supportUpdateTicket;
|
|
78504
79116
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
78505
79117
|
init_supportUpdateTicket();
|
|
78506
79118
|
init_operations();
|
|
78507
79119
|
init_tools();
|
|
78508
|
-
|
|
79120
|
+
args127 = {
|
|
78509
79121
|
request: UpdateTicketRequest$inboundSchema
|
|
78510
79122
|
};
|
|
78511
79123
|
tool$supportUpdateTicket = {
|
|
@@ -78517,9 +79129,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
78517
79129
|
|
|
78518
79130
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
78519
79131
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78520
|
-
args:
|
|
78521
|
-
tool: async (client,
|
|
78522
|
-
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();
|
|
78523
79135
|
if (!result.ok) {
|
|
78524
79136
|
return {
|
|
78525
79137
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78534,9 +79146,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
78534
79146
|
|
|
78535
79147
|
// src/funcs/sweepsCreateConfig.ts
|
|
78536
79148
|
function sweepsCreateConfig(client, request, options) {
|
|
78537
|
-
return new APIPromise($
|
|
79149
|
+
return new APIPromise($do128(client, request, options));
|
|
78538
79150
|
}
|
|
78539
|
-
async function $
|
|
79151
|
+
async function $do128(client, request, options) {
|
|
78540
79152
|
const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78541
79153
|
if (!parsed.ok) {
|
|
78542
79154
|
return [parsed, { status: "invalid" }];
|
|
@@ -78628,12 +79240,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
78628
79240
|
});
|
|
78629
79241
|
|
|
78630
79242
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
78631
|
-
var
|
|
79243
|
+
var args128, tool$sweepsCreateConfig;
|
|
78632
79244
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
78633
79245
|
init_sweepsCreateConfig();
|
|
78634
79246
|
init_operations();
|
|
78635
79247
|
init_tools();
|
|
78636
|
-
|
|
79248
|
+
args128 = {
|
|
78637
79249
|
request: CreateSweepConfigRequest$inboundSchema
|
|
78638
79250
|
};
|
|
78639
79251
|
tool$sweepsCreateConfig = {
|
|
@@ -78642,9 +79254,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
78642
79254
|
|
|
78643
79255
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78644
79256
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
78645
|
-
args:
|
|
78646
|
-
tool: async (client,
|
|
78647
|
-
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();
|
|
78648
79260
|
if (!result.ok) {
|
|
78649
79261
|
return {
|
|
78650
79262
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78659,9 +79271,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
78659
79271
|
|
|
78660
79272
|
// src/funcs/sweepsGet.ts
|
|
78661
79273
|
function sweepsGet(client, request, options) {
|
|
78662
|
-
return new APIPromise($
|
|
79274
|
+
return new APIPromise($do129(client, request, options));
|
|
78663
79275
|
}
|
|
78664
|
-
async function $
|
|
79276
|
+
async function $do129(client, request, options) {
|
|
78665
79277
|
const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78666
79278
|
if (!parsed.ok) {
|
|
78667
79279
|
return [parsed, { status: "invalid" }];
|
|
@@ -78747,12 +79359,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
78747
79359
|
});
|
|
78748
79360
|
|
|
78749
79361
|
// src/mcp-server/tools/sweepsGet.ts
|
|
78750
|
-
var
|
|
79362
|
+
var args129, tool$sweepsGet;
|
|
78751
79363
|
var init_sweepsGet2 = __esm(() => {
|
|
78752
79364
|
init_sweepsGet();
|
|
78753
79365
|
init_operations();
|
|
78754
79366
|
init_tools();
|
|
78755
|
-
|
|
79367
|
+
args129 = {
|
|
78756
79368
|
request: GetSweepRequest$inboundSchema
|
|
78757
79369
|
};
|
|
78758
79370
|
tool$sweepsGet = {
|
|
@@ -78761,9 +79373,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
78761
79373
|
|
|
78762
79374
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78763
79375
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
78764
|
-
args:
|
|
78765
|
-
tool: async (client,
|
|
78766
|
-
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();
|
|
78767
79379
|
if (!result.ok) {
|
|
78768
79380
|
return {
|
|
78769
79381
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78778,9 +79390,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
78778
79390
|
|
|
78779
79391
|
// src/funcs/sweepsGetConfig.ts
|
|
78780
79392
|
function sweepsGetConfig(client, request, options) {
|
|
78781
|
-
return new APIPromise($
|
|
79393
|
+
return new APIPromise($do130(client, request, options));
|
|
78782
79394
|
}
|
|
78783
|
-
async function $
|
|
79395
|
+
async function $do130(client, request, options) {
|
|
78784
79396
|
const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78785
79397
|
if (!parsed.ok) {
|
|
78786
79398
|
return [parsed, { status: "invalid" }];
|
|
@@ -78862,12 +79474,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
78862
79474
|
});
|
|
78863
79475
|
|
|
78864
79476
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
78865
|
-
var
|
|
79477
|
+
var args130, tool$sweepsGetConfig;
|
|
78866
79478
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
78867
79479
|
init_sweepsGetConfig();
|
|
78868
79480
|
init_operations();
|
|
78869
79481
|
init_tools();
|
|
78870
|
-
|
|
79482
|
+
args130 = {
|
|
78871
79483
|
request: GetSweepConfigRequest$inboundSchema
|
|
78872
79484
|
};
|
|
78873
79485
|
tool$sweepsGetConfig = {
|
|
@@ -78876,9 +79488,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
78876
79488
|
|
|
78877
79489
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78878
79490
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
78879
|
-
args:
|
|
78880
|
-
tool: async (client,
|
|
78881
|
-
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();
|
|
78882
79494
|
if (!result.ok) {
|
|
78883
79495
|
return {
|
|
78884
79496
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78893,9 +79505,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
78893
79505
|
|
|
78894
79506
|
// src/funcs/sweepsList.ts
|
|
78895
79507
|
function sweepsList(client, request, options) {
|
|
78896
|
-
return new APIPromise($
|
|
79508
|
+
return new APIPromise($do131(client, request, options));
|
|
78897
79509
|
}
|
|
78898
|
-
async function $
|
|
79510
|
+
async function $do131(client, request, options) {
|
|
78899
79511
|
const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78900
79512
|
if (!parsed.ok) {
|
|
78901
79513
|
return [parsed, { status: "invalid" }];
|
|
@@ -78984,12 +79596,12 @@ var init_sweepsList = __esm(() => {
|
|
|
78984
79596
|
});
|
|
78985
79597
|
|
|
78986
79598
|
// src/mcp-server/tools/sweepsList.ts
|
|
78987
|
-
var
|
|
79599
|
+
var args131, tool$sweepsList;
|
|
78988
79600
|
var init_sweepsList2 = __esm(() => {
|
|
78989
79601
|
init_sweepsList();
|
|
78990
79602
|
init_operations();
|
|
78991
79603
|
init_tools();
|
|
78992
|
-
|
|
79604
|
+
args131 = {
|
|
78993
79605
|
request: ListSweepsRequest$inboundSchema
|
|
78994
79606
|
};
|
|
78995
79607
|
tool$sweepsList = {
|
|
@@ -78998,9 +79610,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
78998
79610
|
|
|
78999
79611
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79000
79612
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79001
|
-
args:
|
|
79002
|
-
tool: async (client,
|
|
79003
|
-
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();
|
|
79004
79616
|
if (!result.ok) {
|
|
79005
79617
|
return {
|
|
79006
79618
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79015,9 +79627,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79015
79627
|
|
|
79016
79628
|
// src/funcs/sweepsListConfigs.ts
|
|
79017
79629
|
function sweepsListConfigs(client, request, options) {
|
|
79018
|
-
return new APIPromise($
|
|
79630
|
+
return new APIPromise($do132(client, request, options));
|
|
79019
79631
|
}
|
|
79020
|
-
async function $
|
|
79632
|
+
async function $do132(client, request, options) {
|
|
79021
79633
|
const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79022
79634
|
if (!parsed.ok) {
|
|
79023
79635
|
return [parsed, { status: "invalid" }];
|
|
@@ -79095,12 +79707,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
79095
79707
|
});
|
|
79096
79708
|
|
|
79097
79709
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
79098
|
-
var
|
|
79710
|
+
var args132, tool$sweepsListConfigs;
|
|
79099
79711
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
79100
79712
|
init_sweepsListConfigs();
|
|
79101
79713
|
init_operations();
|
|
79102
79714
|
init_tools();
|
|
79103
|
-
|
|
79715
|
+
args132 = {
|
|
79104
79716
|
request: ListSweepConfigsRequest$inboundSchema
|
|
79105
79717
|
};
|
|
79106
79718
|
tool$sweepsListConfigs = {
|
|
@@ -79109,9 +79721,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
79109
79721
|
|
|
79110
79722
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79111
79723
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79112
|
-
args:
|
|
79113
|
-
tool: async (client,
|
|
79114
|
-
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();
|
|
79115
79727
|
if (!result.ok) {
|
|
79116
79728
|
return {
|
|
79117
79729
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79126,9 +79738,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79126
79738
|
|
|
79127
79739
|
// src/funcs/sweepsUpdateConfig.ts
|
|
79128
79740
|
function sweepsUpdateConfig(client, request, options) {
|
|
79129
|
-
return new APIPromise($
|
|
79741
|
+
return new APIPromise($do133(client, request, options));
|
|
79130
79742
|
}
|
|
79131
|
-
async function $
|
|
79743
|
+
async function $do133(client, request, options) {
|
|
79132
79744
|
const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79133
79745
|
if (!parsed.ok) {
|
|
79134
79746
|
return [parsed, { status: "invalid" }];
|
|
@@ -79224,12 +79836,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
79224
79836
|
});
|
|
79225
79837
|
|
|
79226
79838
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
79227
|
-
var
|
|
79839
|
+
var args133, tool$sweepsUpdateConfig;
|
|
79228
79840
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
79229
79841
|
init_sweepsUpdateConfig();
|
|
79230
79842
|
init_operations();
|
|
79231
79843
|
init_tools();
|
|
79232
|
-
|
|
79844
|
+
args133 = {
|
|
79233
79845
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
79234
79846
|
};
|
|
79235
79847
|
tool$sweepsUpdateConfig = {
|
|
@@ -79238,9 +79850,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
79238
79850
|
|
|
79239
79851
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79240
79852
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79241
|
-
args:
|
|
79242
|
-
tool: async (client,
|
|
79243
|
-
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();
|
|
79244
79856
|
if (!result.ok) {
|
|
79245
79857
|
return {
|
|
79246
79858
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79255,9 +79867,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79255
79867
|
|
|
79256
79868
|
// src/funcs/terminalApplicationsCreate.ts
|
|
79257
79869
|
function terminalApplicationsCreate(client, request, options) {
|
|
79258
|
-
return new APIPromise($
|
|
79870
|
+
return new APIPromise($do134(client, request, options));
|
|
79259
79871
|
}
|
|
79260
|
-
async function $
|
|
79872
|
+
async function $do134(client, request, options) {
|
|
79261
79873
|
const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
79262
79874
|
if (!parsed.ok) {
|
|
79263
79875
|
return [parsed, { status: "invalid" }];
|
|
@@ -79346,12 +79958,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
79346
79958
|
});
|
|
79347
79959
|
|
|
79348
79960
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
79349
|
-
var
|
|
79961
|
+
var args134, tool$terminalApplicationsCreate;
|
|
79350
79962
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
79351
79963
|
init_terminalApplicationsCreate();
|
|
79352
79964
|
init_components();
|
|
79353
79965
|
init_tools();
|
|
79354
|
-
|
|
79966
|
+
args134 = {
|
|
79355
79967
|
request: CreateTerminalApplication$inboundSchema
|
|
79356
79968
|
};
|
|
79357
79969
|
tool$terminalApplicationsCreate = {
|
|
@@ -79360,9 +79972,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
79360
79972
|
|
|
79361
79973
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79362
79974
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
79363
|
-
args:
|
|
79364
|
-
tool: async (client,
|
|
79365
|
-
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();
|
|
79366
79978
|
if (!result.ok) {
|
|
79367
79979
|
return {
|
|
79368
79980
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79377,9 +79989,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
79377
79989
|
|
|
79378
79990
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
79379
79991
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
79380
|
-
return new APIPromise($
|
|
79992
|
+
return new APIPromise($do135(client, request, options));
|
|
79381
79993
|
}
|
|
79382
|
-
async function $
|
|
79994
|
+
async function $do135(client, request, options) {
|
|
79383
79995
|
const parsed = safeParse(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79384
79996
|
if (!parsed.ok) {
|
|
79385
79997
|
return [parsed, { status: "invalid" }];
|
|
@@ -79469,12 +80081,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
79469
80081
|
});
|
|
79470
80082
|
|
|
79471
80083
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
79472
|
-
var
|
|
80084
|
+
var args135, tool$terminalApplicationsCreateVersion;
|
|
79473
80085
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
79474
80086
|
init_terminalApplicationsCreateVersion();
|
|
79475
80087
|
init_operations();
|
|
79476
80088
|
init_tools();
|
|
79477
|
-
|
|
80089
|
+
args135 = {
|
|
79478
80090
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
79479
80091
|
};
|
|
79480
80092
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -79483,9 +80095,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
79483
80095
|
|
|
79484
80096
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79485
80097
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
79486
|
-
args:
|
|
79487
|
-
tool: async (client,
|
|
79488
|
-
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();
|
|
79489
80101
|
if (!result.ok) {
|
|
79490
80102
|
return {
|
|
79491
80103
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79500,9 +80112,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
79500
80112
|
|
|
79501
80113
|
// src/funcs/terminalApplicationsDelete.ts
|
|
79502
80114
|
function terminalApplicationsDelete(client, request, options) {
|
|
79503
|
-
return new APIPromise($
|
|
80115
|
+
return new APIPromise($do136(client, request, options));
|
|
79504
80116
|
}
|
|
79505
|
-
async function $
|
|
80117
|
+
async function $do136(client, request, options) {
|
|
79506
80118
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79507
80119
|
if (!parsed.ok) {
|
|
79508
80120
|
return [parsed, { status: "invalid" }];
|
|
@@ -79586,12 +80198,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
79586
80198
|
});
|
|
79587
80199
|
|
|
79588
80200
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
79589
|
-
var
|
|
80201
|
+
var args136, tool$terminalApplicationsDelete;
|
|
79590
80202
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
79591
80203
|
init_terminalApplicationsDelete();
|
|
79592
80204
|
init_operations();
|
|
79593
80205
|
init_tools();
|
|
79594
|
-
|
|
80206
|
+
args136 = {
|
|
79595
80207
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
79596
80208
|
};
|
|
79597
80209
|
tool$terminalApplicationsDelete = {
|
|
@@ -79600,9 +80212,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
79600
80212
|
|
|
79601
80213
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79602
80214
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
79603
|
-
args:
|
|
79604
|
-
tool: async (client,
|
|
79605
|
-
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();
|
|
79606
80218
|
if (!result.ok) {
|
|
79607
80219
|
return {
|
|
79608
80220
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79616,9 +80228,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
79616
80228
|
|
|
79617
80229
|
// src/funcs/terminalApplicationsGet.ts
|
|
79618
80230
|
function terminalApplicationsGet(client, request, options) {
|
|
79619
|
-
return new APIPromise($
|
|
80231
|
+
return new APIPromise($do137(client, request, options));
|
|
79620
80232
|
}
|
|
79621
|
-
async function $
|
|
80233
|
+
async function $do137(client, request, options) {
|
|
79622
80234
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79623
80235
|
if (!parsed.ok) {
|
|
79624
80236
|
return [parsed, { status: "invalid" }];
|
|
@@ -79693,12 +80305,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
79693
80305
|
});
|
|
79694
80306
|
|
|
79695
80307
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
79696
|
-
var
|
|
80308
|
+
var args137, tool$terminalApplicationsGet;
|
|
79697
80309
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
79698
80310
|
init_terminalApplicationsGet();
|
|
79699
80311
|
init_operations();
|
|
79700
80312
|
init_tools();
|
|
79701
|
-
|
|
80313
|
+
args137 = {
|
|
79702
80314
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
79703
80315
|
};
|
|
79704
80316
|
tool$terminalApplicationsGet = {
|
|
@@ -79707,9 +80319,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
79707
80319
|
|
|
79708
80320
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79709
80321
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
79710
|
-
args:
|
|
79711
|
-
tool: async (client,
|
|
79712
|
-
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();
|
|
79713
80325
|
if (!result.ok) {
|
|
79714
80326
|
return {
|
|
79715
80327
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79724,9 +80336,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
79724
80336
|
|
|
79725
80337
|
// src/funcs/terminalApplicationsList.ts
|
|
79726
80338
|
function terminalApplicationsList(client, _request, options) {
|
|
79727
|
-
return new APIPromise($
|
|
80339
|
+
return new APIPromise($do138(client, _request, options));
|
|
79728
80340
|
}
|
|
79729
|
-
async function $
|
|
80341
|
+
async function $do138(client, _request, options) {
|
|
79730
80342
|
const path = pathToFunc("/terminal-applications")();
|
|
79731
80343
|
const headers = new Headers(compactMap({
|
|
79732
80344
|
Accept: "application/json",
|
|
@@ -79790,12 +80402,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
79790
80402
|
});
|
|
79791
80403
|
|
|
79792
80404
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
79793
|
-
var
|
|
80405
|
+
var args138, tool$terminalApplicationsList;
|
|
79794
80406
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
79795
80407
|
init_terminalApplicationsList();
|
|
79796
80408
|
init_operations();
|
|
79797
80409
|
init_tools();
|
|
79798
|
-
|
|
80410
|
+
args138 = {
|
|
79799
80411
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
79800
80412
|
};
|
|
79801
80413
|
tool$terminalApplicationsList = {
|
|
@@ -79804,9 +80416,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
79804
80416
|
|
|
79805
80417
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79806
80418
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
79807
|
-
args:
|
|
79808
|
-
tool: async (client,
|
|
79809
|
-
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();
|
|
79810
80422
|
if (!result.ok) {
|
|
79811
80423
|
return {
|
|
79812
80424
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79821,9 +80433,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
79821
80433
|
|
|
79822
80434
|
// src/funcs/transfersCreate.ts
|
|
79823
80435
|
function transfersCreate(client, request, options) {
|
|
79824
|
-
return new APIPromise($
|
|
80436
|
+
return new APIPromise($do139(client, request, options));
|
|
79825
80437
|
}
|
|
79826
|
-
async function $
|
|
80438
|
+
async function $do139(client, request, options) {
|
|
79827
80439
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79828
80440
|
if (!parsed.ok) {
|
|
79829
80441
|
return [parsed, { status: "invalid" }];
|
|
@@ -79916,12 +80528,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
79916
80528
|
});
|
|
79917
80529
|
|
|
79918
80530
|
// src/mcp-server/tools/transfersCreate.ts
|
|
79919
|
-
var
|
|
80531
|
+
var args139, tool$transfersCreate;
|
|
79920
80532
|
var init_transfersCreate2 = __esm(() => {
|
|
79921
80533
|
init_transfersCreate();
|
|
79922
80534
|
init_operations();
|
|
79923
80535
|
init_tools();
|
|
79924
|
-
|
|
80536
|
+
args139 = {
|
|
79925
80537
|
request: CreateTransferRequest$inboundSchema
|
|
79926
80538
|
};
|
|
79927
80539
|
tool$transfersCreate = {
|
|
@@ -79932,9 +80544,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
79932
80544
|
|
|
79933
80545
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79934
80546
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
79935
|
-
args:
|
|
79936
|
-
tool: async (client,
|
|
79937
|
-
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();
|
|
79938
80550
|
if (!result.ok) {
|
|
79939
80551
|
return {
|
|
79940
80552
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79949,9 +80561,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
79949
80561
|
|
|
79950
80562
|
// src/funcs/transfersCreateCancellation.ts
|
|
79951
80563
|
function transfersCreateCancellation(client, request, options) {
|
|
79952
|
-
return new APIPromise($
|
|
80564
|
+
return new APIPromise($do140(client, request, options));
|
|
79953
80565
|
}
|
|
79954
|
-
async function $
|
|
80566
|
+
async function $do140(client, request, options) {
|
|
79955
80567
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79956
80568
|
if (!parsed.ok) {
|
|
79957
80569
|
return [parsed, { status: "invalid" }];
|
|
@@ -80034,12 +80646,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
80034
80646
|
});
|
|
80035
80647
|
|
|
80036
80648
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
80037
|
-
var
|
|
80649
|
+
var args140, tool$transfersCreateCancellation;
|
|
80038
80650
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
80039
80651
|
init_transfersCreateCancellation();
|
|
80040
80652
|
init_operations();
|
|
80041
80653
|
init_tools();
|
|
80042
|
-
|
|
80654
|
+
args140 = {
|
|
80043
80655
|
request: CreateCancellationRequest$inboundSchema
|
|
80044
80656
|
};
|
|
80045
80657
|
tool$transfersCreateCancellation = {
|
|
@@ -80048,9 +80660,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
80048
80660
|
|
|
80049
80661
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80050
80662
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80051
|
-
args:
|
|
80052
|
-
tool: async (client,
|
|
80053
|
-
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();
|
|
80054
80666
|
if (!result.ok) {
|
|
80055
80667
|
return {
|
|
80056
80668
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80065,9 +80677,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
80065
80677
|
|
|
80066
80678
|
// src/funcs/transfersCreateReversal.ts
|
|
80067
80679
|
function transfersCreateReversal(client, request, options) {
|
|
80068
|
-
return new APIPromise($
|
|
80680
|
+
return new APIPromise($do141(client, request, options));
|
|
80069
80681
|
}
|
|
80070
|
-
async function $
|
|
80682
|
+
async function $do141(client, request, options) {
|
|
80071
80683
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80072
80684
|
if (!parsed.ok) {
|
|
80073
80685
|
return [parsed, { status: "invalid" }];
|
|
@@ -80166,12 +80778,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
80166
80778
|
});
|
|
80167
80779
|
|
|
80168
80780
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
80169
|
-
var
|
|
80781
|
+
var args141, tool$transfersCreateReversal;
|
|
80170
80782
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
80171
80783
|
init_transfersCreateReversal();
|
|
80172
80784
|
init_operations();
|
|
80173
80785
|
init_tools();
|
|
80174
|
-
|
|
80786
|
+
args141 = {
|
|
80175
80787
|
request: CreateReversalRequest$inboundSchema
|
|
80176
80788
|
};
|
|
80177
80789
|
tool$transfersCreateReversal = {
|
|
@@ -80182,9 +80794,9 @@ to learn more.
|
|
|
80182
80794
|
|
|
80183
80795
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80184
80796
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80185
|
-
args:
|
|
80186
|
-
tool: async (client,
|
|
80187
|
-
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();
|
|
80188
80800
|
if (!result.ok) {
|
|
80189
80801
|
return {
|
|
80190
80802
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80199,9 +80811,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80199
80811
|
|
|
80200
80812
|
// src/funcs/transfersGenerateOptions.ts
|
|
80201
80813
|
function transfersGenerateOptions(client, request, options) {
|
|
80202
|
-
return new APIPromise($
|
|
80814
|
+
return new APIPromise($do142(client, request, options));
|
|
80203
80815
|
}
|
|
80204
|
-
async function $
|
|
80816
|
+
async function $do142(client, request, options) {
|
|
80205
80817
|
const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80206
80818
|
if (!parsed.ok) {
|
|
80207
80819
|
return [parsed, { status: "invalid" }];
|
|
@@ -80285,12 +80897,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
80285
80897
|
});
|
|
80286
80898
|
|
|
80287
80899
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
80288
|
-
var
|
|
80900
|
+
var args142, tool$transfersGenerateOptions;
|
|
80289
80901
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
80290
80902
|
init_transfersGenerateOptions();
|
|
80291
80903
|
init_operations();
|
|
80292
80904
|
init_tools();
|
|
80293
|
-
|
|
80905
|
+
args142 = {
|
|
80294
80906
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
80295
80907
|
};
|
|
80296
80908
|
tool$transfersGenerateOptions = {
|
|
@@ -80304,9 +80916,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
80304
80916
|
|
|
80305
80917
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80306
80918
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80307
|
-
args:
|
|
80308
|
-
tool: async (client,
|
|
80309
|
-
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();
|
|
80310
80922
|
if (!result.ok) {
|
|
80311
80923
|
return {
|
|
80312
80924
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80321,9 +80933,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80321
80933
|
|
|
80322
80934
|
// src/funcs/transfersGet.ts
|
|
80323
80935
|
function transfersGet(client, request, options) {
|
|
80324
|
-
return new APIPromise($
|
|
80936
|
+
return new APIPromise($do143(client, request, options));
|
|
80325
80937
|
}
|
|
80326
|
-
async function $
|
|
80938
|
+
async function $do143(client, request, options) {
|
|
80327
80939
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80328
80940
|
if (!parsed.ok) {
|
|
80329
80941
|
return [parsed, { status: "invalid" }];
|
|
@@ -80405,12 +81017,12 @@ var init_transfersGet = __esm(() => {
|
|
|
80405
81017
|
});
|
|
80406
81018
|
|
|
80407
81019
|
// src/mcp-server/tools/transfersGet.ts
|
|
80408
|
-
var
|
|
81020
|
+
var args143, tool$transfersGet;
|
|
80409
81021
|
var init_transfersGet2 = __esm(() => {
|
|
80410
81022
|
init_transfersGet();
|
|
80411
81023
|
init_operations();
|
|
80412
81024
|
init_tools();
|
|
80413
|
-
|
|
81025
|
+
args143 = {
|
|
80414
81026
|
request: GetTransferRequest$inboundSchema
|
|
80415
81027
|
};
|
|
80416
81028
|
tool$transfersGet = {
|
|
@@ -80422,9 +81034,9 @@ to learn more.
|
|
|
80422
81034
|
|
|
80423
81035
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80424
81036
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
80425
|
-
args:
|
|
80426
|
-
tool: async (client,
|
|
80427
|
-
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();
|
|
80428
81040
|
if (!result.ok) {
|
|
80429
81041
|
return {
|
|
80430
81042
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80439,9 +81051,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
80439
81051
|
|
|
80440
81052
|
// src/funcs/transfersGetCancellation.ts
|
|
80441
81053
|
function transfersGetCancellation(client, request, options) {
|
|
80442
|
-
return new APIPromise($
|
|
81054
|
+
return new APIPromise($do144(client, request, options));
|
|
80443
81055
|
}
|
|
80444
|
-
async function $
|
|
81056
|
+
async function $do144(client, request, options) {
|
|
80445
81057
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80446
81058
|
if (!parsed.ok) {
|
|
80447
81059
|
return [parsed, { status: "invalid" }];
|
|
@@ -80527,12 +81139,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
80527
81139
|
});
|
|
80528
81140
|
|
|
80529
81141
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
80530
|
-
var
|
|
81142
|
+
var args144, tool$transfersGetCancellation;
|
|
80531
81143
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
80532
81144
|
init_transfersGetCancellation();
|
|
80533
81145
|
init_operations();
|
|
80534
81146
|
init_tools();
|
|
80535
|
-
|
|
81147
|
+
args144 = {
|
|
80536
81148
|
request: GetCancellationRequest$inboundSchema
|
|
80537
81149
|
};
|
|
80538
81150
|
tool$transfersGetCancellation = {
|
|
@@ -80541,9 +81153,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
80541
81153
|
|
|
80542
81154
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80543
81155
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
80544
|
-
args:
|
|
80545
|
-
tool: async (client,
|
|
80546
|
-
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();
|
|
80547
81159
|
if (!result.ok) {
|
|
80548
81160
|
return {
|
|
80549
81161
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80558,9 +81170,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
80558
81170
|
|
|
80559
81171
|
// src/funcs/transfersGetRefund.ts
|
|
80560
81172
|
function transfersGetRefund(client, request, options) {
|
|
80561
|
-
return new APIPromise($
|
|
81173
|
+
return new APIPromise($do145(client, request, options));
|
|
80562
81174
|
}
|
|
80563
|
-
async function $
|
|
81175
|
+
async function $do145(client, request, options) {
|
|
80564
81176
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80565
81177
|
if (!parsed.ok) {
|
|
80566
81178
|
return [parsed, { status: "invalid" }];
|
|
@@ -80646,12 +81258,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
80646
81258
|
});
|
|
80647
81259
|
|
|
80648
81260
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
80649
|
-
var
|
|
81261
|
+
var args145, tool$transfersGetRefund;
|
|
80650
81262
|
var init_transfersGetRefund2 = __esm(() => {
|
|
80651
81263
|
init_transfersGetRefund();
|
|
80652
81264
|
init_operations();
|
|
80653
81265
|
init_tools();
|
|
80654
|
-
|
|
81266
|
+
args145 = {
|
|
80655
81267
|
request: GetRefundRequest$inboundSchema
|
|
80656
81268
|
};
|
|
80657
81269
|
tool$transfersGetRefund = {
|
|
@@ -80660,9 +81272,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
80660
81272
|
|
|
80661
81273
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80662
81274
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
80663
|
-
args:
|
|
80664
|
-
tool: async (client,
|
|
80665
|
-
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();
|
|
80666
81278
|
if (!result.ok) {
|
|
80667
81279
|
return {
|
|
80668
81280
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80677,9 +81289,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
80677
81289
|
|
|
80678
81290
|
// src/funcs/transfersInitiateRefund.ts
|
|
80679
81291
|
function transfersInitiateRefund(client, request, options) {
|
|
80680
|
-
return new APIPromise($
|
|
81292
|
+
return new APIPromise($do146(client, request, options));
|
|
80681
81293
|
}
|
|
80682
|
-
async function $
|
|
81294
|
+
async function $do146(client, request, options) {
|
|
80683
81295
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80684
81296
|
if (!parsed.ok) {
|
|
80685
81297
|
return [parsed, { status: "invalid" }];
|
|
@@ -80771,12 +81383,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
80771
81383
|
});
|
|
80772
81384
|
|
|
80773
81385
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
80774
|
-
var
|
|
81386
|
+
var args146, tool$transfersInitiateRefund;
|
|
80775
81387
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
80776
81388
|
init_transfersInitiateRefund();
|
|
80777
81389
|
init_operations();
|
|
80778
81390
|
init_tools();
|
|
80779
|
-
|
|
81391
|
+
args146 = {
|
|
80780
81392
|
request: InitiateRefundRequest$inboundSchema
|
|
80781
81393
|
};
|
|
80782
81394
|
tool$transfersInitiateRefund = {
|
|
@@ -80788,9 +81400,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
80788
81400
|
|
|
80789
81401
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80790
81402
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80791
|
-
args:
|
|
80792
|
-
tool: async (client,
|
|
80793
|
-
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();
|
|
80794
81406
|
if (!result.ok) {
|
|
80795
81407
|
return {
|
|
80796
81408
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80805,9 +81417,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80805
81417
|
|
|
80806
81418
|
// src/funcs/transfersList.ts
|
|
80807
81419
|
function transfersList(client, request, options) {
|
|
80808
|
-
return new APIPromise($
|
|
81420
|
+
return new APIPromise($do147(client, request, options));
|
|
80809
81421
|
}
|
|
80810
|
-
async function $
|
|
81422
|
+
async function $do147(client, request, options) {
|
|
80811
81423
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80812
81424
|
if (!parsed.ok) {
|
|
80813
81425
|
return [parsed, { status: "invalid" }];
|
|
@@ -80903,12 +81515,12 @@ var init_transfersList = __esm(() => {
|
|
|
80903
81515
|
});
|
|
80904
81516
|
|
|
80905
81517
|
// src/mcp-server/tools/transfersList.ts
|
|
80906
|
-
var
|
|
81518
|
+
var args147, tool$transfersList;
|
|
80907
81519
|
var init_transfersList2 = __esm(() => {
|
|
80908
81520
|
init_transfersList();
|
|
80909
81521
|
init_operations();
|
|
80910
81522
|
init_tools();
|
|
80911
|
-
|
|
81523
|
+
args147 = {
|
|
80912
81524
|
request: ListTransfersRequest$inboundSchema
|
|
80913
81525
|
};
|
|
80914
81526
|
tool$transfersList = {
|
|
@@ -80924,9 +81536,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
80924
81536
|
|
|
80925
81537
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80926
81538
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
80927
|
-
args:
|
|
80928
|
-
tool: async (client,
|
|
80929
|
-
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();
|
|
80930
81542
|
if (!result.ok) {
|
|
80931
81543
|
return {
|
|
80932
81544
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80941,9 +81553,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
80941
81553
|
|
|
80942
81554
|
// src/funcs/transfersListRefunds.ts
|
|
80943
81555
|
function transfersListRefunds(client, request, options) {
|
|
80944
|
-
return new APIPromise($
|
|
81556
|
+
return new APIPromise($do148(client, request, options));
|
|
80945
81557
|
}
|
|
80946
|
-
async function $
|
|
81558
|
+
async function $do148(client, request, options) {
|
|
80947
81559
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80948
81560
|
if (!parsed.ok) {
|
|
80949
81561
|
return [parsed, { status: "invalid" }];
|
|
@@ -81025,12 +81637,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
81025
81637
|
});
|
|
81026
81638
|
|
|
81027
81639
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
81028
|
-
var
|
|
81640
|
+
var args148, tool$transfersListRefunds;
|
|
81029
81641
|
var init_transfersListRefunds2 = __esm(() => {
|
|
81030
81642
|
init_transfersListRefunds();
|
|
81031
81643
|
init_operations();
|
|
81032
81644
|
init_tools();
|
|
81033
|
-
|
|
81645
|
+
args148 = {
|
|
81034
81646
|
request: ListRefundsRequest$inboundSchema
|
|
81035
81647
|
};
|
|
81036
81648
|
tool$transfersListRefunds = {
|
|
@@ -81039,9 +81651,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
81039
81651
|
|
|
81040
81652
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81041
81653
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81042
|
-
args:
|
|
81043
|
-
tool: async (client,
|
|
81044
|
-
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();
|
|
81045
81657
|
if (!result.ok) {
|
|
81046
81658
|
return {
|
|
81047
81659
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81056,9 +81668,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81056
81668
|
|
|
81057
81669
|
// src/funcs/transfersUpdate.ts
|
|
81058
81670
|
function transfersUpdate(client, request, options) {
|
|
81059
|
-
return new APIPromise($
|
|
81671
|
+
return new APIPromise($do149(client, request, options));
|
|
81060
81672
|
}
|
|
81061
|
-
async function $
|
|
81673
|
+
async function $do149(client, request, options) {
|
|
81062
81674
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81063
81675
|
if (!parsed.ok) {
|
|
81064
81676
|
return [parsed, { status: "invalid" }];
|
|
@@ -81144,12 +81756,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
81144
81756
|
});
|
|
81145
81757
|
|
|
81146
81758
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
81147
|
-
var
|
|
81759
|
+
var args149, tool$transfersUpdate;
|
|
81148
81760
|
var init_transfersUpdate2 = __esm(() => {
|
|
81149
81761
|
init_transfersUpdate();
|
|
81150
81762
|
init_operations();
|
|
81151
81763
|
init_tools();
|
|
81152
|
-
|
|
81764
|
+
args149 = {
|
|
81153
81765
|
request: UpdateTransferRequest$inboundSchema
|
|
81154
81766
|
};
|
|
81155
81767
|
tool$transfersUpdate = {
|
|
@@ -81160,9 +81772,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
81160
81772
|
|
|
81161
81773
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81162
81774
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
81163
|
-
args:
|
|
81164
|
-
tool: async (client,
|
|
81165
|
-
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();
|
|
81166
81778
|
if (!result.ok) {
|
|
81167
81779
|
return {
|
|
81168
81780
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81177,9 +81789,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
81177
81789
|
|
|
81178
81790
|
// src/funcs/underwritingGet.ts
|
|
81179
81791
|
function underwritingGet(client, request, options) {
|
|
81180
|
-
return new APIPromise($
|
|
81792
|
+
return new APIPromise($do150(client, request, options));
|
|
81181
81793
|
}
|
|
81182
|
-
async function $
|
|
81794
|
+
async function $do150(client, request, options) {
|
|
81183
81795
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81184
81796
|
if (!parsed.ok) {
|
|
81185
81797
|
return [parsed, { status: "invalid" }];
|
|
@@ -81257,12 +81869,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
81257
81869
|
});
|
|
81258
81870
|
|
|
81259
81871
|
// src/mcp-server/tools/underwritingGet.ts
|
|
81260
|
-
var
|
|
81872
|
+
var args150, tool$underwritingGet;
|
|
81261
81873
|
var init_underwritingGet2 = __esm(() => {
|
|
81262
81874
|
init_underwritingGet();
|
|
81263
81875
|
init_operations();
|
|
81264
81876
|
init_tools();
|
|
81265
|
-
|
|
81877
|
+
args150 = {
|
|
81266
81878
|
request: GetUnderwritingRequest$inboundSchema
|
|
81267
81879
|
};
|
|
81268
81880
|
tool$underwritingGet = {
|
|
@@ -81273,9 +81885,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
81273
81885
|
|
|
81274
81886
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81275
81887
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
81276
|
-
args:
|
|
81277
|
-
tool: async (client,
|
|
81278
|
-
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();
|
|
81279
81891
|
if (!result.ok) {
|
|
81280
81892
|
return {
|
|
81281
81893
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81290,9 +81902,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
81290
81902
|
|
|
81291
81903
|
// src/funcs/underwritingSave.ts
|
|
81292
81904
|
function underwritingSave(client, request, options) {
|
|
81293
|
-
return new APIPromise($
|
|
81905
|
+
return new APIPromise($do151(client, request, options));
|
|
81294
81906
|
}
|
|
81295
|
-
async function $
|
|
81907
|
+
async function $do151(client, request, options) {
|
|
81296
81908
|
const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81297
81909
|
if (!parsed.ok) {
|
|
81298
81910
|
return [parsed, { status: "invalid" }];
|
|
@@ -81388,12 +82000,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
81388
82000
|
});
|
|
81389
82001
|
|
|
81390
82002
|
// src/mcp-server/tools/underwritingSave.ts
|
|
81391
|
-
var
|
|
82003
|
+
var args151, tool$underwritingSave;
|
|
81392
82004
|
var init_underwritingSave2 = __esm(() => {
|
|
81393
82005
|
init_underwritingSave();
|
|
81394
82006
|
init_operations();
|
|
81395
82007
|
init_tools();
|
|
81396
|
-
|
|
82008
|
+
args151 = {
|
|
81397
82009
|
request: SaveUnderwritingRequest$inboundSchema
|
|
81398
82010
|
};
|
|
81399
82011
|
tool$underwritingSave = {
|
|
@@ -81404,9 +82016,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
81404
82016
|
|
|
81405
82017
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81406
82018
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
81407
|
-
args:
|
|
81408
|
-
tool: async (client,
|
|
81409
|
-
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();
|
|
81410
82022
|
if (!result.ok) {
|
|
81411
82023
|
return {
|
|
81412
82024
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81421,9 +82033,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
81421
82033
|
|
|
81422
82034
|
// src/funcs/underwritingUpsert.ts
|
|
81423
82035
|
function underwritingUpsert(client, request, options) {
|
|
81424
|
-
return new APIPromise($
|
|
82036
|
+
return new APIPromise($do152(client, request, options));
|
|
81425
82037
|
}
|
|
81426
|
-
async function $
|
|
82038
|
+
async function $do152(client, request, options) {
|
|
81427
82039
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81428
82040
|
if (!parsed.ok) {
|
|
81429
82041
|
return [parsed, { status: "invalid" }];
|
|
@@ -81519,12 +82131,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
81519
82131
|
});
|
|
81520
82132
|
|
|
81521
82133
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
81522
|
-
var
|
|
82134
|
+
var args152, tool$underwritingUpsert;
|
|
81523
82135
|
var init_underwritingUpsert2 = __esm(() => {
|
|
81524
82136
|
init_underwritingUpsert();
|
|
81525
82137
|
init_operations();
|
|
81526
82138
|
init_tools();
|
|
81527
|
-
|
|
82139
|
+
args152 = {
|
|
81528
82140
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
81529
82141
|
};
|
|
81530
82142
|
tool$underwritingUpsert = {
|
|
@@ -81535,9 +82147,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
81535
82147
|
|
|
81536
82148
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81537
82149
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
81538
|
-
args:
|
|
81539
|
-
tool: async (client,
|
|
81540
|
-
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();
|
|
81541
82153
|
if (!result.ok) {
|
|
81542
82154
|
return {
|
|
81543
82155
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81552,9 +82164,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
81552
82164
|
|
|
81553
82165
|
// src/funcs/walletsCreate.ts
|
|
81554
82166
|
function walletsCreate(client, request, options) {
|
|
81555
|
-
return new APIPromise($
|
|
82167
|
+
return new APIPromise($do153(client, request, options));
|
|
81556
82168
|
}
|
|
81557
|
-
async function $
|
|
82169
|
+
async function $do153(client, request, options) {
|
|
81558
82170
|
const parsed = safeParse(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81559
82171
|
if (!parsed.ok) {
|
|
81560
82172
|
return [parsed, { status: "invalid" }];
|
|
@@ -81648,12 +82260,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
81648
82260
|
});
|
|
81649
82261
|
|
|
81650
82262
|
// src/mcp-server/tools/walletsCreate.ts
|
|
81651
|
-
var
|
|
82263
|
+
var args153, tool$walletsCreate;
|
|
81652
82264
|
var init_walletsCreate2 = __esm(() => {
|
|
81653
82265
|
init_walletsCreate();
|
|
81654
82266
|
init_operations();
|
|
81655
82267
|
init_tools();
|
|
81656
|
-
|
|
82268
|
+
args153 = {
|
|
81657
82269
|
request: CreateWalletRequest$inboundSchema
|
|
81658
82270
|
};
|
|
81659
82271
|
tool$walletsCreate = {
|
|
@@ -81664,9 +82276,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
81664
82276
|
|
|
81665
82277
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81666
82278
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
81667
|
-
args:
|
|
81668
|
-
tool: async (client,
|
|
81669
|
-
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();
|
|
81670
82282
|
if (!result.ok) {
|
|
81671
82283
|
return {
|
|
81672
82284
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81681,9 +82293,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
81681
82293
|
|
|
81682
82294
|
// src/funcs/walletsGet.ts
|
|
81683
82295
|
function walletsGet(client, request, options) {
|
|
81684
|
-
return new APIPromise($
|
|
82296
|
+
return new APIPromise($do154(client, request, options));
|
|
81685
82297
|
}
|
|
81686
|
-
async function $
|
|
82298
|
+
async function $do154(client, request, options) {
|
|
81687
82299
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81688
82300
|
if (!parsed.ok) {
|
|
81689
82301
|
return [parsed, { status: "invalid" }];
|
|
@@ -81765,12 +82377,12 @@ var init_walletsGet = __esm(() => {
|
|
|
81765
82377
|
});
|
|
81766
82378
|
|
|
81767
82379
|
// src/mcp-server/tools/walletsGet.ts
|
|
81768
|
-
var
|
|
82380
|
+
var args154, tool$walletsGet;
|
|
81769
82381
|
var init_walletsGet2 = __esm(() => {
|
|
81770
82382
|
init_walletsGet();
|
|
81771
82383
|
init_operations();
|
|
81772
82384
|
init_tools();
|
|
81773
|
-
|
|
82385
|
+
args154 = {
|
|
81774
82386
|
request: GetWalletRequest$inboundSchema
|
|
81775
82387
|
};
|
|
81776
82388
|
tool$walletsGet = {
|
|
@@ -81781,9 +82393,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
81781
82393
|
|
|
81782
82394
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81783
82395
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
81784
|
-
args:
|
|
81785
|
-
tool: async (client,
|
|
81786
|
-
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();
|
|
81787
82399
|
if (!result.ok) {
|
|
81788
82400
|
return {
|
|
81789
82401
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81798,9 +82410,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
81798
82410
|
|
|
81799
82411
|
// src/funcs/walletsList.ts
|
|
81800
82412
|
function walletsList(client, request, options) {
|
|
81801
|
-
return new APIPromise($
|
|
82413
|
+
return new APIPromise($do155(client, request, options));
|
|
81802
82414
|
}
|
|
81803
|
-
async function $
|
|
82415
|
+
async function $do155(client, request, options) {
|
|
81804
82416
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81805
82417
|
if (!parsed.ok) {
|
|
81806
82418
|
return [parsed, { status: "invalid" }];
|
|
@@ -81888,12 +82500,12 @@ var init_walletsList = __esm(() => {
|
|
|
81888
82500
|
});
|
|
81889
82501
|
|
|
81890
82502
|
// src/mcp-server/tools/walletsList.ts
|
|
81891
|
-
var
|
|
82503
|
+
var args155, tool$walletsList;
|
|
81892
82504
|
var init_walletsList2 = __esm(() => {
|
|
81893
82505
|
init_walletsList();
|
|
81894
82506
|
init_operations();
|
|
81895
82507
|
init_tools();
|
|
81896
|
-
|
|
82508
|
+
args155 = {
|
|
81897
82509
|
request: ListWalletsRequest$inboundSchema
|
|
81898
82510
|
};
|
|
81899
82511
|
tool$walletsList = {
|
|
@@ -81904,9 +82516,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
81904
82516
|
|
|
81905
82517
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81906
82518
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
81907
|
-
args:
|
|
81908
|
-
tool: async (client,
|
|
81909
|
-
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();
|
|
81910
82522
|
if (!result.ok) {
|
|
81911
82523
|
return {
|
|
81912
82524
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81921,9 +82533,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
81921
82533
|
|
|
81922
82534
|
// src/funcs/walletsUpdate.ts
|
|
81923
82535
|
function walletsUpdate(client, request, options) {
|
|
81924
|
-
return new APIPromise($
|
|
82536
|
+
return new APIPromise($do156(client, request, options));
|
|
81925
82537
|
}
|
|
81926
|
-
async function $
|
|
82538
|
+
async function $do156(client, request, options) {
|
|
81927
82539
|
const parsed = safeParse(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81928
82540
|
if (!parsed.ok) {
|
|
81929
82541
|
return [parsed, { status: "invalid" }];
|
|
@@ -82021,12 +82633,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
82021
82633
|
});
|
|
82022
82634
|
|
|
82023
82635
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
82024
|
-
var
|
|
82636
|
+
var args156, tool$walletsUpdate;
|
|
82025
82637
|
var init_walletsUpdate2 = __esm(() => {
|
|
82026
82638
|
init_walletsUpdate();
|
|
82027
82639
|
init_operations();
|
|
82028
82640
|
init_tools();
|
|
82029
|
-
|
|
82641
|
+
args156 = {
|
|
82030
82642
|
request: UpdateWalletRequest$inboundSchema
|
|
82031
82643
|
};
|
|
82032
82644
|
tool$walletsUpdate = {
|
|
@@ -82037,9 +82649,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82037
82649
|
|
|
82038
82650
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82039
82651
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
82040
|
-
args:
|
|
82041
|
-
tool: async (client,
|
|
82042
|
-
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();
|
|
82043
82655
|
if (!result.ok) {
|
|
82044
82656
|
return {
|
|
82045
82657
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82054,9 +82666,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
82054
82666
|
|
|
82055
82667
|
// src/funcs/walletTransactionsGet.ts
|
|
82056
82668
|
function walletTransactionsGet(client, request, options) {
|
|
82057
|
-
return new APIPromise($
|
|
82669
|
+
return new APIPromise($do157(client, request, options));
|
|
82058
82670
|
}
|
|
82059
|
-
async function $
|
|
82671
|
+
async function $do157(client, request, options) {
|
|
82060
82672
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82061
82673
|
if (!parsed.ok) {
|
|
82062
82674
|
return [parsed, { status: "invalid" }];
|
|
@@ -82142,12 +82754,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
82142
82754
|
});
|
|
82143
82755
|
|
|
82144
82756
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
82145
|
-
var
|
|
82757
|
+
var args157, tool$walletTransactionsGet;
|
|
82146
82758
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
82147
82759
|
init_walletTransactionsGet();
|
|
82148
82760
|
init_operations();
|
|
82149
82761
|
init_tools();
|
|
82150
|
-
|
|
82762
|
+
args157 = {
|
|
82151
82763
|
request: GetWalletTransactionRequest$inboundSchema
|
|
82152
82764
|
};
|
|
82153
82765
|
tool$walletTransactionsGet = {
|
|
@@ -82158,9 +82770,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
82158
82770
|
|
|
82159
82771
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82160
82772
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82161
|
-
args:
|
|
82162
|
-
tool: async (client,
|
|
82163
|
-
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();
|
|
82164
82776
|
if (!result.ok) {
|
|
82165
82777
|
return {
|
|
82166
82778
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82175,9 +82787,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82175
82787
|
|
|
82176
82788
|
// src/funcs/walletTransactionsList.ts
|
|
82177
82789
|
function walletTransactionsList(client, request, options) {
|
|
82178
|
-
return new APIPromise($
|
|
82790
|
+
return new APIPromise($do158(client, request, options));
|
|
82179
82791
|
}
|
|
82180
|
-
async function $
|
|
82792
|
+
async function $do158(client, request, options) {
|
|
82181
82793
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82182
82794
|
if (!parsed.ok) {
|
|
82183
82795
|
return [parsed, { status: "invalid" }];
|
|
@@ -82277,12 +82889,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
82277
82889
|
});
|
|
82278
82890
|
|
|
82279
82891
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
82280
|
-
var
|
|
82892
|
+
var args158, tool$walletTransactionsList;
|
|
82281
82893
|
var init_walletTransactionsList2 = __esm(() => {
|
|
82282
82894
|
init_walletTransactionsList();
|
|
82283
82895
|
init_operations();
|
|
82284
82896
|
init_tools();
|
|
82285
|
-
|
|
82897
|
+
args158 = {
|
|
82286
82898
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
82287
82899
|
};
|
|
82288
82900
|
tool$walletTransactionsList = {
|
|
@@ -82293,9 +82905,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
82293
82905
|
|
|
82294
82906
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82295
82907
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82296
|
-
args:
|
|
82297
|
-
tool: async (client,
|
|
82298
|
-
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();
|
|
82299
82911
|
if (!result.ok) {
|
|
82300
82912
|
return {
|
|
82301
82913
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82312,7 +82924,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82312
82924
|
function createMCPServer(deps) {
|
|
82313
82925
|
const server = new McpServer({
|
|
82314
82926
|
name: "Moov",
|
|
82315
|
-
version: "0.
|
|
82927
|
+
version: "0.17.0"
|
|
82316
82928
|
});
|
|
82317
82929
|
const client = new MoovCore({
|
|
82318
82930
|
security: deps.security,
|
|
@@ -82387,7 +82999,9 @@ function createMCPServer(deps) {
|
|
|
82387
82999
|
tool(tool$filesList);
|
|
82388
83000
|
tool(tool$filesGet);
|
|
82389
83001
|
tool(tool$imagesList);
|
|
83002
|
+
tool(tool$imagesUpload);
|
|
82390
83003
|
tool(tool$imagesGetMetadata);
|
|
83004
|
+
tool(tool$imagesUpdate);
|
|
82391
83005
|
tool(tool$imagesDelete);
|
|
82392
83006
|
tool(tool$imagesGetPublic);
|
|
82393
83007
|
tool(tool$paymentLinksCreate);
|
|
@@ -82569,6 +83183,8 @@ var init_server2 = __esm(() => {
|
|
|
82569
83183
|
init_imagesGetMetadata2();
|
|
82570
83184
|
init_imagesGetPublic2();
|
|
82571
83185
|
init_imagesList2();
|
|
83186
|
+
init_imagesUpdate2();
|
|
83187
|
+
init_imagesUpload2();
|
|
82572
83188
|
init_industriesList2();
|
|
82573
83189
|
init_institutionsSearch2();
|
|
82574
83190
|
init_institutionsSearchInstitutions2();
|
|
@@ -83848,7 +84464,7 @@ var routes = rn({
|
|
|
83848
84464
|
var app = Ve(routes, {
|
|
83849
84465
|
name: "mcp",
|
|
83850
84466
|
versionInfo: {
|
|
83851
|
-
currentVersion: "0.
|
|
84467
|
+
currentVersion: "0.17.0"
|
|
83852
84468
|
}
|
|
83853
84469
|
});
|
|
83854
84470
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -83856,5 +84472,5 @@ export {
|
|
|
83856
84472
|
app
|
|
83857
84473
|
};
|
|
83858
84474
|
|
|
83859
|
-
//# debugId=
|
|
84475
|
+
//# debugId=6D0045DC65D74E0064756E2164756E21
|
|
83860
84476
|
//# sourceMappingURL=mcp-server.js.map
|