@moovio/sdk 0.15.6 → 0.16.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 +54 -43
- package/bin/mcp-server.js +1376 -629
- package/bin/mcp-server.js.map +25 -12
- package/docs/sdks/images/README.md +328 -0
- package/examples/package-lock.json +1 -1
- package/funcs/imagesDelete.d.ts +15 -0
- package/funcs/imagesDelete.d.ts.map +1 -0
- package/funcs/imagesDelete.js +137 -0
- package/funcs/imagesDelete.js.map +1 -0
- package/funcs/imagesGetMetadata.d.ts +14 -0
- package/funcs/imagesGetMetadata.d.ts.map +1 -0
- package/funcs/imagesGetMetadata.js +126 -0
- package/funcs/imagesGetMetadata.js.map +1 -0
- package/funcs/imagesGetPublic.d.ts +21 -0
- package/funcs/imagesGetPublic.d.ts.map +1 -0
- package/funcs/imagesGetPublic.js +144 -0
- package/funcs/imagesGetPublic.js.map +1 -0
- package/funcs/imagesList.d.ts +14 -0
- package/funcs/imagesList.d.ts.map +1 -0
- package/funcs/imagesList.js +122 -0
- package/funcs/imagesList.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 +9 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/imagesDelete.d.ts +8 -0
- package/mcp-server/tools/imagesDelete.d.ts.map +1 -0
- package/mcp-server/tools/imagesDelete.js +61 -0
- package/mcp-server/tools/imagesDelete.js.map +1 -0
- package/mcp-server/tools/imagesGetMetadata.d.ts +8 -0
- package/mcp-server/tools/imagesGetMetadata.d.ts.map +1 -0
- package/mcp-server/tools/imagesGetMetadata.js +62 -0
- package/mcp-server/tools/imagesGetMetadata.js.map +1 -0
- package/mcp-server/tools/imagesGetPublic.d.ts +8 -0
- package/mcp-server/tools/imagesGetPublic.d.ts.map +1 -0
- package/mcp-server/tools/imagesGetPublic.js +62 -0
- package/mcp-server/tools/imagesGetPublic.js.map +1 -0
- package/mcp-server/tools/imagesList.d.ts +8 -0
- package/mcp-server/tools/imagesList.d.ts.map +1 -0
- package/mcp-server/tools/imagesList.js +62 -0
- package/mcp-server/tools/imagesList.js.map +1 -0
- package/models/components/imagemetadata.d.ts +49 -0
- package/models/components/imagemetadata.d.ts.map +1 -0
- package/models/components/imagemetadata.js +77 -0
- package/models/components/imagemetadata.js.map +1 -0
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/paymentmethodswallet.d.ts +2 -2
- package/models/components/security.d.ts +4 -4
- package/models/components/security.d.ts.map +1 -1
- package/models/components/security.js +4 -4
- package/models/components/security.js.map +1 -1
- package/models/components/wallet.d.ts +2 -2
- package/models/components/wallettype.d.ts +4 -4
- package/models/components/wallettype.js +2 -2
- package/models/operations/deleteimage.d.ts +98 -0
- package/models/operations/deleteimage.d.ts.map +1 -0
- package/models/operations/deleteimage.js +142 -0
- package/models/operations/deleteimage.js.map +1 -0
- package/models/operations/getimagemetadata.d.ts +101 -0
- package/models/operations/getimagemetadata.d.ts.map +1 -0
- package/models/operations/getimagemetadata.js +147 -0
- package/models/operations/getimagemetadata.js.map +1 -0
- package/models/operations/getpublicimage.d.ts +94 -0
- package/models/operations/getpublicimage.d.ts.map +1 -0
- package/models/operations/getpublicimage.js +160 -0
- package/models/operations/getpublicimage.js.map +1 -0
- package/models/operations/index.d.ts +4 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listimagemetadata.d.ts +99 -0
- package/models/operations/listimagemetadata.d.ts.map +1 -0
- package/models/operations/listimagemetadata.js +145 -0
- package/models/operations/listimagemetadata.js.map +1 -0
- package/package.json +1 -1
- package/sdk/images.d.ts +25 -0
- package/sdk/images.d.ts.map +1 -0
- package/sdk/images.js +42 -0
- package/sdk/images.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/imagesDelete.ts +195 -0
- package/src/funcs/imagesGetMetadata.ts +180 -0
- package/src/funcs/imagesGetPublic.ts +196 -0
- package/src/funcs/imagesList.ts +176 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -1
- package/src/mcp-server/tools/imagesDelete.ts +33 -0
- package/src/mcp-server/tools/imagesGetMetadata.ts +35 -0
- package/src/mcp-server/tools/imagesGetPublic.ts +35 -0
- package/src/mcp-server/tools/imagesList.ts +35 -0
- package/src/models/components/imagemetadata.ts +90 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/paymentmethodswallet.ts +2 -2
- package/src/models/components/security.ts +8 -8
- package/src/models/components/wallet.ts +2 -2
- package/src/models/components/wallettype.ts +4 -4
- package/src/models/operations/deleteimage.ts +216 -0
- package/src/models/operations/getimagemetadata.ts +223 -0
- package/src/models/operations/getpublicimage.ts +244 -0
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/listimagemetadata.ts +219 -0
- package/src/sdk/images.ts +74 -0
- package/src/sdk/sdk.ts +6 -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.16.0",
|
|
34179
|
+
genVersion: "2.721.3",
|
|
34180
|
+
userAgent: "speakeasy-sdk/typescript 0.16.0 2.721.3 latest @moovio/sdk"
|
|
34181
34181
|
};
|
|
34182
34182
|
});
|
|
34183
34183
|
|
|
@@ -45040,6 +45040,30 @@ var init_governmentiderror = __esm(() => {
|
|
|
45040
45040
|
})(GovernmentIDError$ ||= {});
|
|
45041
45041
|
});
|
|
45042
45042
|
|
|
45043
|
+
// src/models/components/imagemetadata.ts
|
|
45044
|
+
var ImageMetadata$inboundSchema, ImageMetadata$outboundSchema, ImageMetadata$;
|
|
45045
|
+
var init_imagemetadata = __esm(() => {
|
|
45046
|
+
init_esm();
|
|
45047
|
+
ImageMetadata$inboundSchema = objectType({
|
|
45048
|
+
imageID: stringType(),
|
|
45049
|
+
altText: stringType().optional(),
|
|
45050
|
+
link: stringType(),
|
|
45051
|
+
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
45052
|
+
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
45053
|
+
});
|
|
45054
|
+
ImageMetadata$outboundSchema = objectType({
|
|
45055
|
+
imageID: stringType(),
|
|
45056
|
+
altText: stringType().optional(),
|
|
45057
|
+
link: stringType(),
|
|
45058
|
+
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
45059
|
+
updatedOn: dateType().transform((v2) => v2.toISOString())
|
|
45060
|
+
});
|
|
45061
|
+
((ImageMetadata$) => {
|
|
45062
|
+
ImageMetadata$.inboundSchema = ImageMetadata$inboundSchema;
|
|
45063
|
+
ImageMetadata$.outboundSchema = ImageMetadata$outboundSchema;
|
|
45064
|
+
})(ImageMetadata$ ||= {});
|
|
45065
|
+
});
|
|
45066
|
+
|
|
45043
45067
|
// src/models/components/incurredfee.ts
|
|
45044
45068
|
var IncurredFee$inboundSchema, IncurredFee$outboundSchema, IncurredFee$;
|
|
45045
45069
|
var init_incurredfee = __esm(() => {
|
|
@@ -47575,12 +47599,12 @@ var Security$inboundSchema, Security$outboundSchema, Security$;
|
|
|
47575
47599
|
var init_security2 = __esm(() => {
|
|
47576
47600
|
init_esm();
|
|
47577
47601
|
Security$inboundSchema = objectType({
|
|
47578
|
-
username: stringType(),
|
|
47579
|
-
password: stringType()
|
|
47602
|
+
username: stringType().optional(),
|
|
47603
|
+
password: stringType().optional()
|
|
47580
47604
|
});
|
|
47581
47605
|
Security$outboundSchema = objectType({
|
|
47582
|
-
username: stringType(),
|
|
47583
|
-
password: stringType()
|
|
47606
|
+
username: stringType().optional(),
|
|
47607
|
+
password: stringType().optional()
|
|
47584
47608
|
});
|
|
47585
47609
|
((Security$) => {
|
|
47586
47610
|
Security$.inboundSchema = Security$inboundSchema;
|
|
@@ -50266,6 +50290,7 @@ var init_components = __esm(() => {
|
|
|
50266
50290
|
init_governmentiderror();
|
|
50267
50291
|
init_granttype();
|
|
50268
50292
|
init_guestprofile();
|
|
50293
|
+
init_imagemetadata();
|
|
50269
50294
|
init_incurredfee();
|
|
50270
50295
|
init_individualname();
|
|
50271
50296
|
init_individualnameerror();
|
|
@@ -54558,6 +54583,61 @@ var init_deletedisputeevidencefile = __esm(() => {
|
|
|
54558
54583
|
})(DeleteDisputeEvidenceFileResponse$ ||= {});
|
|
54559
54584
|
});
|
|
54560
54585
|
|
|
54586
|
+
// src/models/operations/deleteimage.ts
|
|
54587
|
+
var DeleteImageGlobals$inboundSchema, DeleteImageGlobals$outboundSchema, DeleteImageGlobals$, DeleteImageRequest$inboundSchema, DeleteImageRequest$outboundSchema, DeleteImageRequest$, DeleteImageResponse$inboundSchema, DeleteImageResponse$outboundSchema, DeleteImageResponse$;
|
|
54588
|
+
var init_deleteimage = __esm(() => {
|
|
54589
|
+
init_esm();
|
|
54590
|
+
init_primitives();
|
|
54591
|
+
DeleteImageGlobals$inboundSchema = objectType({
|
|
54592
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
54593
|
+
}).transform((v2) => {
|
|
54594
|
+
return remap(v2, {
|
|
54595
|
+
"x-moov-version": "xMoovVersion"
|
|
54596
|
+
});
|
|
54597
|
+
});
|
|
54598
|
+
DeleteImageGlobals$outboundSchema = objectType({
|
|
54599
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
54600
|
+
}).transform((v2) => {
|
|
54601
|
+
return remap(v2, {
|
|
54602
|
+
xMoovVersion: "x-moov-version"
|
|
54603
|
+
});
|
|
54604
|
+
});
|
|
54605
|
+
((DeleteImageGlobals$) => {
|
|
54606
|
+
DeleteImageGlobals$.inboundSchema = DeleteImageGlobals$inboundSchema;
|
|
54607
|
+
DeleteImageGlobals$.outboundSchema = DeleteImageGlobals$outboundSchema;
|
|
54608
|
+
})(DeleteImageGlobals$ ||= {});
|
|
54609
|
+
DeleteImageRequest$inboundSchema = objectType({
|
|
54610
|
+
accountID: stringType(),
|
|
54611
|
+
imageID: stringType()
|
|
54612
|
+
});
|
|
54613
|
+
DeleteImageRequest$outboundSchema = objectType({
|
|
54614
|
+
accountID: stringType(),
|
|
54615
|
+
imageID: stringType()
|
|
54616
|
+
});
|
|
54617
|
+
((DeleteImageRequest$) => {
|
|
54618
|
+
DeleteImageRequest$.inboundSchema = DeleteImageRequest$inboundSchema;
|
|
54619
|
+
DeleteImageRequest$.outboundSchema = DeleteImageRequest$outboundSchema;
|
|
54620
|
+
})(DeleteImageRequest$ ||= {});
|
|
54621
|
+
DeleteImageResponse$inboundSchema = objectType({
|
|
54622
|
+
Headers: recordType(arrayType(stringType()))
|
|
54623
|
+
}).transform((v2) => {
|
|
54624
|
+
return remap(v2, {
|
|
54625
|
+
Headers: "headers"
|
|
54626
|
+
});
|
|
54627
|
+
});
|
|
54628
|
+
DeleteImageResponse$outboundSchema = objectType({
|
|
54629
|
+
headers: recordType(arrayType(stringType()))
|
|
54630
|
+
}).transform((v2) => {
|
|
54631
|
+
return remap(v2, {
|
|
54632
|
+
headers: "Headers"
|
|
54633
|
+
});
|
|
54634
|
+
});
|
|
54635
|
+
((DeleteImageResponse$) => {
|
|
54636
|
+
DeleteImageResponse$.inboundSchema = DeleteImageResponse$inboundSchema;
|
|
54637
|
+
DeleteImageResponse$.outboundSchema = DeleteImageResponse$outboundSchema;
|
|
54638
|
+
})(DeleteImageResponse$ ||= {});
|
|
54639
|
+
});
|
|
54640
|
+
|
|
54561
54641
|
// src/models/operations/deleterepresentative.ts
|
|
54562
54642
|
var DeleteRepresentativeGlobals$inboundSchema, DeleteRepresentativeGlobals$outboundSchema, DeleteRepresentativeGlobals$, DeleteRepresentativeRequest$inboundSchema, DeleteRepresentativeRequest$outboundSchema, DeleteRepresentativeRequest$, DeleteRepresentativeResponse$inboundSchema, DeleteRepresentativeResponse$outboundSchema, DeleteRepresentativeResponse$;
|
|
54563
54643
|
var init_deleterepresentative = __esm(() => {
|
|
@@ -56170,6 +56250,66 @@ var init_getfullissuedcard = __esm(() => {
|
|
|
56170
56250
|
})(GetFullIssuedCardResponse$ ||= {});
|
|
56171
56251
|
});
|
|
56172
56252
|
|
|
56253
|
+
// src/models/operations/getimagemetadata.ts
|
|
56254
|
+
var GetImageMetadataGlobals$inboundSchema, GetImageMetadataGlobals$outboundSchema, GetImageMetadataGlobals$, GetImageMetadataRequest$inboundSchema, GetImageMetadataRequest$outboundSchema, GetImageMetadataRequest$, GetImageMetadataResponse$inboundSchema, GetImageMetadataResponse$outboundSchema, GetImageMetadataResponse$;
|
|
56255
|
+
var init_getimagemetadata = __esm(() => {
|
|
56256
|
+
init_esm();
|
|
56257
|
+
init_primitives();
|
|
56258
|
+
init_components();
|
|
56259
|
+
GetImageMetadataGlobals$inboundSchema = objectType({
|
|
56260
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
56261
|
+
}).transform((v2) => {
|
|
56262
|
+
return remap(v2, {
|
|
56263
|
+
"x-moov-version": "xMoovVersion"
|
|
56264
|
+
});
|
|
56265
|
+
});
|
|
56266
|
+
GetImageMetadataGlobals$outboundSchema = objectType({
|
|
56267
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
56268
|
+
}).transform((v2) => {
|
|
56269
|
+
return remap(v2, {
|
|
56270
|
+
xMoovVersion: "x-moov-version"
|
|
56271
|
+
});
|
|
56272
|
+
});
|
|
56273
|
+
((GetImageMetadataGlobals$) => {
|
|
56274
|
+
GetImageMetadataGlobals$.inboundSchema = GetImageMetadataGlobals$inboundSchema;
|
|
56275
|
+
GetImageMetadataGlobals$.outboundSchema = GetImageMetadataGlobals$outboundSchema;
|
|
56276
|
+
})(GetImageMetadataGlobals$ ||= {});
|
|
56277
|
+
GetImageMetadataRequest$inboundSchema = objectType({
|
|
56278
|
+
accountID: stringType(),
|
|
56279
|
+
imageID: stringType()
|
|
56280
|
+
});
|
|
56281
|
+
GetImageMetadataRequest$outboundSchema = objectType({
|
|
56282
|
+
accountID: stringType(),
|
|
56283
|
+
imageID: stringType()
|
|
56284
|
+
});
|
|
56285
|
+
((GetImageMetadataRequest$) => {
|
|
56286
|
+
GetImageMetadataRequest$.inboundSchema = GetImageMetadataRequest$inboundSchema;
|
|
56287
|
+
GetImageMetadataRequest$.outboundSchema = GetImageMetadataRequest$outboundSchema;
|
|
56288
|
+
})(GetImageMetadataRequest$ ||= {});
|
|
56289
|
+
GetImageMetadataResponse$inboundSchema = objectType({
|
|
56290
|
+
Headers: recordType(arrayType(stringType())),
|
|
56291
|
+
Result: ImageMetadata$inboundSchema
|
|
56292
|
+
}).transform((v2) => {
|
|
56293
|
+
return remap(v2, {
|
|
56294
|
+
Headers: "headers",
|
|
56295
|
+
Result: "result"
|
|
56296
|
+
});
|
|
56297
|
+
});
|
|
56298
|
+
GetImageMetadataResponse$outboundSchema = objectType({
|
|
56299
|
+
headers: recordType(arrayType(stringType())),
|
|
56300
|
+
result: ImageMetadata$outboundSchema
|
|
56301
|
+
}).transform((v2) => {
|
|
56302
|
+
return remap(v2, {
|
|
56303
|
+
headers: "Headers",
|
|
56304
|
+
result: "Result"
|
|
56305
|
+
});
|
|
56306
|
+
});
|
|
56307
|
+
((GetImageMetadataResponse$) => {
|
|
56308
|
+
GetImageMetadataResponse$.inboundSchema = GetImageMetadataResponse$inboundSchema;
|
|
56309
|
+
GetImageMetadataResponse$.outboundSchema = GetImageMetadataResponse$outboundSchema;
|
|
56310
|
+
})(GetImageMetadataResponse$ ||= {});
|
|
56311
|
+
});
|
|
56312
|
+
|
|
56173
56313
|
// src/models/operations/getissuedcard.ts
|
|
56174
56314
|
var GetIssuedCardGlobals$inboundSchema, GetIssuedCardGlobals$outboundSchema, GetIssuedCardGlobals$, GetIssuedCardRequest$inboundSchema, GetIssuedCardRequest$outboundSchema, GetIssuedCardRequest$, GetIssuedCardResponse$inboundSchema, GetIssuedCardResponse$outboundSchema, GetIssuedCardResponse$;
|
|
56175
56315
|
var init_getissuedcard = __esm(() => {
|
|
@@ -56663,6 +56803,79 @@ var init_getpaymentmethod = __esm(() => {
|
|
|
56663
56803
|
})(GetPaymentMethodResponse$ ||= {});
|
|
56664
56804
|
});
|
|
56665
56805
|
|
|
56806
|
+
// src/models/operations/getpublicimage.ts
|
|
56807
|
+
var GetPublicImageRequest$inboundSchema, GetPublicImageRequest$outboundSchema, GetPublicImageRequest$, GetPublicImageResponseResult$inboundSchema, GetPublicImageResponseResult$outboundSchema, GetPublicImageResponseResult$, GetPublicImageResponse$inboundSchema, GetPublicImageResponse$outboundSchema, GetPublicImageResponse$;
|
|
56808
|
+
var init_getpublicimage = __esm(() => {
|
|
56809
|
+
init_esm();
|
|
56810
|
+
init_primitives();
|
|
56811
|
+
GetPublicImageRequest$inboundSchema = objectType({
|
|
56812
|
+
"if-none-match": stringType().optional(),
|
|
56813
|
+
publicID: stringType(),
|
|
56814
|
+
size: stringType().default("400x400")
|
|
56815
|
+
}).transform((v2) => {
|
|
56816
|
+
return remap(v2, {
|
|
56817
|
+
"if-none-match": "ifNoneMatch"
|
|
56818
|
+
});
|
|
56819
|
+
});
|
|
56820
|
+
GetPublicImageRequest$outboundSchema = objectType({
|
|
56821
|
+
ifNoneMatch: stringType().optional(),
|
|
56822
|
+
publicID: stringType(),
|
|
56823
|
+
size: stringType().default("400x400")
|
|
56824
|
+
}).transform((v2) => {
|
|
56825
|
+
return remap(v2, {
|
|
56826
|
+
ifNoneMatch: "if-none-match"
|
|
56827
|
+
});
|
|
56828
|
+
});
|
|
56829
|
+
((GetPublicImageRequest$) => {
|
|
56830
|
+
GetPublicImageRequest$.inboundSchema = GetPublicImageRequest$inboundSchema;
|
|
56831
|
+
GetPublicImageRequest$.outboundSchema = GetPublicImageRequest$outboundSchema;
|
|
56832
|
+
})(GetPublicImageRequest$ ||= {});
|
|
56833
|
+
GetPublicImageResponseResult$inboundSchema = unionType([
|
|
56834
|
+
instanceOfType(ReadableStream),
|
|
56835
|
+
instanceOfType(ReadableStream),
|
|
56836
|
+
instanceOfType(ReadableStream)
|
|
56837
|
+
]);
|
|
56838
|
+
GetPublicImageResponseResult$outboundSchema = unionType([
|
|
56839
|
+
instanceOfType(ReadableStream),
|
|
56840
|
+
instanceOfType(ReadableStream),
|
|
56841
|
+
instanceOfType(ReadableStream)
|
|
56842
|
+
]);
|
|
56843
|
+
((GetPublicImageResponseResult$) => {
|
|
56844
|
+
GetPublicImageResponseResult$.inboundSchema = GetPublicImageResponseResult$inboundSchema;
|
|
56845
|
+
GetPublicImageResponseResult$.outboundSchema = GetPublicImageResponseResult$outboundSchema;
|
|
56846
|
+
})(GetPublicImageResponseResult$ ||= {});
|
|
56847
|
+
GetPublicImageResponse$inboundSchema = objectType({
|
|
56848
|
+
Headers: recordType(arrayType(stringType())),
|
|
56849
|
+
Result: unionType([
|
|
56850
|
+
instanceOfType(ReadableStream),
|
|
56851
|
+
instanceOfType(ReadableStream),
|
|
56852
|
+
instanceOfType(ReadableStream)
|
|
56853
|
+
])
|
|
56854
|
+
}).transform((v2) => {
|
|
56855
|
+
return remap(v2, {
|
|
56856
|
+
Headers: "headers",
|
|
56857
|
+
Result: "result"
|
|
56858
|
+
});
|
|
56859
|
+
});
|
|
56860
|
+
GetPublicImageResponse$outboundSchema = objectType({
|
|
56861
|
+
headers: recordType(arrayType(stringType())),
|
|
56862
|
+
result: unionType([
|
|
56863
|
+
instanceOfType(ReadableStream),
|
|
56864
|
+
instanceOfType(ReadableStream),
|
|
56865
|
+
instanceOfType(ReadableStream)
|
|
56866
|
+
])
|
|
56867
|
+
}).transform((v2) => {
|
|
56868
|
+
return remap(v2, {
|
|
56869
|
+
headers: "Headers",
|
|
56870
|
+
result: "Result"
|
|
56871
|
+
});
|
|
56872
|
+
});
|
|
56873
|
+
((GetPublicImageResponse$) => {
|
|
56874
|
+
GetPublicImageResponse$.inboundSchema = GetPublicImageResponse$inboundSchema;
|
|
56875
|
+
GetPublicImageResponse$.outboundSchema = GetPublicImageResponse$outboundSchema;
|
|
56876
|
+
})(GetPublicImageResponse$ ||= {});
|
|
56877
|
+
});
|
|
56878
|
+
|
|
56666
56879
|
// src/models/operations/getrefund.ts
|
|
56667
56880
|
var GetRefundGlobals$inboundSchema, GetRefundGlobals$outboundSchema, GetRefundGlobals$, GetRefundRequest$inboundSchema, GetRefundRequest$outboundSchema, GetRefundRequest$, GetRefundResponse$inboundSchema, GetRefundResponse$outboundSchema, GetRefundResponse$;
|
|
56668
56881
|
var init_getrefund = __esm(() => {
|
|
@@ -58846,6 +59059,64 @@ var init_listfiles = __esm(() => {
|
|
|
58846
59059
|
})(ListFilesResponse$ ||= {});
|
|
58847
59060
|
});
|
|
58848
59061
|
|
|
59062
|
+
// src/models/operations/listimagemetadata.ts
|
|
59063
|
+
var ListImageMetadataGlobals$inboundSchema, ListImageMetadataGlobals$outboundSchema, ListImageMetadataGlobals$, ListImageMetadataRequest$inboundSchema, ListImageMetadataRequest$outboundSchema, ListImageMetadataRequest$, ListImageMetadataResponse$inboundSchema, ListImageMetadataResponse$outboundSchema, ListImageMetadataResponse$;
|
|
59064
|
+
var init_listimagemetadata = __esm(() => {
|
|
59065
|
+
init_esm();
|
|
59066
|
+
init_primitives();
|
|
59067
|
+
init_components();
|
|
59068
|
+
ListImageMetadataGlobals$inboundSchema = objectType({
|
|
59069
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
59070
|
+
}).transform((v2) => {
|
|
59071
|
+
return remap(v2, {
|
|
59072
|
+
"x-moov-version": "xMoovVersion"
|
|
59073
|
+
});
|
|
59074
|
+
});
|
|
59075
|
+
ListImageMetadataGlobals$outboundSchema = objectType({
|
|
59076
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
59077
|
+
}).transform((v2) => {
|
|
59078
|
+
return remap(v2, {
|
|
59079
|
+
xMoovVersion: "x-moov-version"
|
|
59080
|
+
});
|
|
59081
|
+
});
|
|
59082
|
+
((ListImageMetadataGlobals$) => {
|
|
59083
|
+
ListImageMetadataGlobals$.inboundSchema = ListImageMetadataGlobals$inboundSchema;
|
|
59084
|
+
ListImageMetadataGlobals$.outboundSchema = ListImageMetadataGlobals$outboundSchema;
|
|
59085
|
+
})(ListImageMetadataGlobals$ ||= {});
|
|
59086
|
+
ListImageMetadataRequest$inboundSchema = objectType({
|
|
59087
|
+
accountID: stringType()
|
|
59088
|
+
});
|
|
59089
|
+
ListImageMetadataRequest$outboundSchema = objectType({
|
|
59090
|
+
accountID: stringType()
|
|
59091
|
+
});
|
|
59092
|
+
((ListImageMetadataRequest$) => {
|
|
59093
|
+
ListImageMetadataRequest$.inboundSchema = ListImageMetadataRequest$inboundSchema;
|
|
59094
|
+
ListImageMetadataRequest$.outboundSchema = ListImageMetadataRequest$outboundSchema;
|
|
59095
|
+
})(ListImageMetadataRequest$ ||= {});
|
|
59096
|
+
ListImageMetadataResponse$inboundSchema = objectType({
|
|
59097
|
+
Headers: recordType(arrayType(stringType())),
|
|
59098
|
+
Result: arrayType(ImageMetadata$inboundSchema)
|
|
59099
|
+
}).transform((v2) => {
|
|
59100
|
+
return remap(v2, {
|
|
59101
|
+
Headers: "headers",
|
|
59102
|
+
Result: "result"
|
|
59103
|
+
});
|
|
59104
|
+
});
|
|
59105
|
+
ListImageMetadataResponse$outboundSchema = objectType({
|
|
59106
|
+
headers: recordType(arrayType(stringType())),
|
|
59107
|
+
result: arrayType(ImageMetadata$outboundSchema)
|
|
59108
|
+
}).transform((v2) => {
|
|
59109
|
+
return remap(v2, {
|
|
59110
|
+
headers: "Headers",
|
|
59111
|
+
result: "Result"
|
|
59112
|
+
});
|
|
59113
|
+
});
|
|
59114
|
+
((ListImageMetadataResponse$) => {
|
|
59115
|
+
ListImageMetadataResponse$.inboundSchema = ListImageMetadataResponse$inboundSchema;
|
|
59116
|
+
ListImageMetadataResponse$.outboundSchema = ListImageMetadataResponse$outboundSchema;
|
|
59117
|
+
})(ListImageMetadataResponse$ ||= {});
|
|
59118
|
+
});
|
|
59119
|
+
|
|
58849
59120
|
// src/models/operations/listindustries.ts
|
|
58850
59121
|
var ListIndustriesGlobals$inboundSchema, ListIndustriesGlobals$outboundSchema, ListIndustriesGlobals$, ListIndustriesRequest$inboundSchema, ListIndustriesRequest$outboundSchema, ListIndustriesRequest$, ListIndustriesResponse$inboundSchema, ListIndustriesResponse$outboundSchema, ListIndustriesResponse$;
|
|
58851
59122
|
var init_listindustries = __esm(() => {
|
|
@@ -62316,6 +62587,7 @@ var init_operations = __esm(() => {
|
|
|
62316
62587
|
init_createtransferoptions2();
|
|
62317
62588
|
init_createwallet2();
|
|
62318
62589
|
init_deletedisputeevidencefile();
|
|
62590
|
+
init_deleteimage();
|
|
62319
62591
|
init_deleterepresentative();
|
|
62320
62592
|
init_deleteterminalapplication();
|
|
62321
62593
|
init_disablebankaccount();
|
|
@@ -62343,6 +62615,7 @@ var init_operations = __esm(() => {
|
|
|
62343
62615
|
init_getenrichmentprofile();
|
|
62344
62616
|
init_getfiledetails();
|
|
62345
62617
|
init_getfullissuedcard();
|
|
62618
|
+
init_getimagemetadata();
|
|
62346
62619
|
init_getissuedcard();
|
|
62347
62620
|
init_getissuedcardauthorization();
|
|
62348
62621
|
init_getissuedcardtransaction();
|
|
@@ -62351,6 +62624,7 @@ var init_operations = __esm(() => {
|
|
|
62351
62624
|
init_getpaymentlink();
|
|
62352
62625
|
init_getpaymentlinkqrcode();
|
|
62353
62626
|
init_getpaymentmethod();
|
|
62627
|
+
init_getpublicimage();
|
|
62354
62628
|
init_getrefund();
|
|
62355
62629
|
init_getrepresentative();
|
|
62356
62630
|
init_getscheduledoccurrence();
|
|
@@ -62385,6 +62659,7 @@ var init_operations = __esm(() => {
|
|
|
62385
62659
|
init_listfeeplans();
|
|
62386
62660
|
init_listfeesfetch();
|
|
62387
62661
|
init_listfiles();
|
|
62662
|
+
init_listimagemetadata();
|
|
62388
62663
|
init_listindustries();
|
|
62389
62664
|
init_listinstitutions();
|
|
62390
62665
|
init_listissuedcardauthorizationevents();
|
|
@@ -71328,7 +71603,500 @@ async function $do73(client, request, options) {
|
|
|
71328
71603
|
const responseFields = {
|
|
71329
71604
|
HttpMeta: { Response: response, Request: req }
|
|
71330
71605
|
};
|
|
71331
|
-
const [result] = await match(json(200, GetFileDetailsResponse$inboundSchema, {
|
|
71606
|
+
const [result] = await match(json(200, GetFileDetailsResponse$inboundSchema, {
|
|
71607
|
+
hdrs: true,
|
|
71608
|
+
key: "Result"
|
|
71609
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71610
|
+
if (!result.ok) {
|
|
71611
|
+
return [result, { status: "complete", request: req, response }];
|
|
71612
|
+
}
|
|
71613
|
+
return [result, { status: "complete", request: req, response }];
|
|
71614
|
+
}
|
|
71615
|
+
var init_filesGet = __esm(() => {
|
|
71616
|
+
init_encodings();
|
|
71617
|
+
init_matchers();
|
|
71618
|
+
init_primitives();
|
|
71619
|
+
init_schemas();
|
|
71620
|
+
init_security();
|
|
71621
|
+
init_url();
|
|
71622
|
+
init_operations();
|
|
71623
|
+
init_async();
|
|
71624
|
+
});
|
|
71625
|
+
|
|
71626
|
+
// src/mcp-server/tools/filesGet.ts
|
|
71627
|
+
var args73, tool$filesGet;
|
|
71628
|
+
var init_filesGet2 = __esm(() => {
|
|
71629
|
+
init_filesGet();
|
|
71630
|
+
init_operations();
|
|
71631
|
+
init_tools();
|
|
71632
|
+
args73 = {
|
|
71633
|
+
request: GetFileDetailsRequest$inboundSchema
|
|
71634
|
+
};
|
|
71635
|
+
tool$filesGet = {
|
|
71636
|
+
name: "files-get",
|
|
71637
|
+
description: `Retrieve file details associated with a specific Moov account.
|
|
71638
|
+
|
|
71639
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71640
|
+
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
71641
|
+
args: args73,
|
|
71642
|
+
tool: async (client, args74, ctx) => {
|
|
71643
|
+
const [result, apiCall] = await filesGet(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71644
|
+
if (!result.ok) {
|
|
71645
|
+
return {
|
|
71646
|
+
content: [{ type: "text", text: result.error.message }],
|
|
71647
|
+
isError: true
|
|
71648
|
+
};
|
|
71649
|
+
}
|
|
71650
|
+
const value = result.value.result;
|
|
71651
|
+
return formatResult(value, apiCall);
|
|
71652
|
+
}
|
|
71653
|
+
};
|
|
71654
|
+
});
|
|
71655
|
+
|
|
71656
|
+
// src/funcs/filesList.ts
|
|
71657
|
+
function filesList(client, request, options) {
|
|
71658
|
+
return new APIPromise($do74(client, request, options));
|
|
71659
|
+
}
|
|
71660
|
+
async function $do74(client, request, options) {
|
|
71661
|
+
const parsed = safeParse(request, (value) => ListFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71662
|
+
if (!parsed.ok) {
|
|
71663
|
+
return [parsed, { status: "invalid" }];
|
|
71664
|
+
}
|
|
71665
|
+
const payload = parsed.value;
|
|
71666
|
+
const body = null;
|
|
71667
|
+
const pathParams = {
|
|
71668
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
71669
|
+
explode: false,
|
|
71670
|
+
charEncoding: "percent"
|
|
71671
|
+
})
|
|
71672
|
+
};
|
|
71673
|
+
const path = pathToFunc("/accounts/{accountID}/files")(pathParams);
|
|
71674
|
+
const headers = new Headers(compactMap({
|
|
71675
|
+
Accept: "application/json",
|
|
71676
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
71677
|
+
}));
|
|
71678
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
71679
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
71680
|
+
const context = {
|
|
71681
|
+
options: client._options,
|
|
71682
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71683
|
+
operationID: "listFiles",
|
|
71684
|
+
oAuth2Scopes: [],
|
|
71685
|
+
resolvedSecurity: requestSecurity,
|
|
71686
|
+
securitySource: client._options.security,
|
|
71687
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
71688
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
71689
|
+
};
|
|
71690
|
+
const requestRes = client._createRequest(context, {
|
|
71691
|
+
security: requestSecurity,
|
|
71692
|
+
method: "GET",
|
|
71693
|
+
baseURL: options?.serverURL,
|
|
71694
|
+
path,
|
|
71695
|
+
headers,
|
|
71696
|
+
body,
|
|
71697
|
+
userAgent: client._options.userAgent,
|
|
71698
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
71699
|
+
}, options);
|
|
71700
|
+
if (!requestRes.ok) {
|
|
71701
|
+
return [requestRes, { status: "invalid" }];
|
|
71702
|
+
}
|
|
71703
|
+
const req = requestRes.value;
|
|
71704
|
+
const doResult = await client._do(req, {
|
|
71705
|
+
context,
|
|
71706
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
71707
|
+
retryConfig: context.retryConfig,
|
|
71708
|
+
retryCodes: context.retryCodes
|
|
71709
|
+
});
|
|
71710
|
+
if (!doResult.ok) {
|
|
71711
|
+
return [doResult, { status: "request-error", request: req }];
|
|
71712
|
+
}
|
|
71713
|
+
const response = doResult.value;
|
|
71714
|
+
const responseFields = {
|
|
71715
|
+
HttpMeta: { Response: response, Request: req }
|
|
71716
|
+
};
|
|
71717
|
+
const [result] = await match(json(200, ListFilesResponse$inboundSchema, {
|
|
71718
|
+
hdrs: true,
|
|
71719
|
+
key: "Result"
|
|
71720
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71721
|
+
if (!result.ok) {
|
|
71722
|
+
return [result, { status: "complete", request: req, response }];
|
|
71723
|
+
}
|
|
71724
|
+
return [result, { status: "complete", request: req, response }];
|
|
71725
|
+
}
|
|
71726
|
+
var init_filesList = __esm(() => {
|
|
71727
|
+
init_encodings();
|
|
71728
|
+
init_matchers();
|
|
71729
|
+
init_primitives();
|
|
71730
|
+
init_schemas();
|
|
71731
|
+
init_security();
|
|
71732
|
+
init_url();
|
|
71733
|
+
init_operations();
|
|
71734
|
+
init_async();
|
|
71735
|
+
});
|
|
71736
|
+
|
|
71737
|
+
// src/mcp-server/tools/filesList.ts
|
|
71738
|
+
var args74, tool$filesList;
|
|
71739
|
+
var init_filesList2 = __esm(() => {
|
|
71740
|
+
init_filesList();
|
|
71741
|
+
init_operations();
|
|
71742
|
+
init_tools();
|
|
71743
|
+
args74 = {
|
|
71744
|
+
request: ListFilesRequest$inboundSchema
|
|
71745
|
+
};
|
|
71746
|
+
tool$filesList = {
|
|
71747
|
+
name: "files-list",
|
|
71748
|
+
description: `List all the files associated with a particular Moov account.
|
|
71749
|
+
|
|
71750
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71751
|
+
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
71752
|
+
args: args74,
|
|
71753
|
+
tool: async (client, args75, ctx) => {
|
|
71754
|
+
const [result, apiCall] = await filesList(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71755
|
+
if (!result.ok) {
|
|
71756
|
+
return {
|
|
71757
|
+
content: [{ type: "text", text: result.error.message }],
|
|
71758
|
+
isError: true
|
|
71759
|
+
};
|
|
71760
|
+
}
|
|
71761
|
+
const value = result.value.result;
|
|
71762
|
+
return formatResult(value, apiCall);
|
|
71763
|
+
}
|
|
71764
|
+
};
|
|
71765
|
+
});
|
|
71766
|
+
|
|
71767
|
+
// src/funcs/filesUpload.ts
|
|
71768
|
+
function filesUpload(client, request, options) {
|
|
71769
|
+
return new APIPromise($do75(client, request, options));
|
|
71770
|
+
}
|
|
71771
|
+
async function $do75(client, request, options) {
|
|
71772
|
+
const parsed = safeParse(request, (value) => UploadFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71773
|
+
if (!parsed.ok) {
|
|
71774
|
+
return [parsed, { status: "invalid" }];
|
|
71775
|
+
}
|
|
71776
|
+
const payload = parsed.value;
|
|
71777
|
+
const body = new FormData;
|
|
71778
|
+
if (isBlobLike(payload.FileUploadRequestMultiPart.file)) {
|
|
71779
|
+
appendForm(body, "file", payload.FileUploadRequestMultiPart.file);
|
|
71780
|
+
} else if (isReadableStream(payload.FileUploadRequestMultiPart.file.content)) {
|
|
71781
|
+
const buffer = await readableStreamToArrayBuffer(payload.FileUploadRequestMultiPart.file.content);
|
|
71782
|
+
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
71783
|
+
const blob = new Blob([buffer], { type: contentType2 });
|
|
71784
|
+
appendForm(body, "file", blob, payload.FileUploadRequestMultiPart.file.fileName);
|
|
71785
|
+
} else {
|
|
71786
|
+
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
71787
|
+
appendForm(body, "file", new Blob([payload.FileUploadRequestMultiPart.file.content], {
|
|
71788
|
+
type: contentType2
|
|
71789
|
+
}), payload.FileUploadRequestMultiPart.file.fileName);
|
|
71790
|
+
}
|
|
71791
|
+
appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
|
|
71792
|
+
if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
|
|
71793
|
+
appendForm(body, "metadata", payload.FileUploadRequestMultiPart.metadata);
|
|
71794
|
+
}
|
|
71795
|
+
const pathParams = {
|
|
71796
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
71797
|
+
explode: false,
|
|
71798
|
+
charEncoding: "percent"
|
|
71799
|
+
})
|
|
71800
|
+
};
|
|
71801
|
+
const path = pathToFunc("/accounts/{accountID}/files")(pathParams);
|
|
71802
|
+
const headers = new Headers(compactMap({
|
|
71803
|
+
Accept: "application/json",
|
|
71804
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
71805
|
+
}));
|
|
71806
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
71807
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
71808
|
+
const context = {
|
|
71809
|
+
options: client._options,
|
|
71810
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71811
|
+
operationID: "uploadFile",
|
|
71812
|
+
oAuth2Scopes: [],
|
|
71813
|
+
resolvedSecurity: requestSecurity,
|
|
71814
|
+
securitySource: client._options.security,
|
|
71815
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
71816
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
71817
|
+
};
|
|
71818
|
+
const requestRes = client._createRequest(context, {
|
|
71819
|
+
security: requestSecurity,
|
|
71820
|
+
method: "POST",
|
|
71821
|
+
baseURL: options?.serverURL,
|
|
71822
|
+
path,
|
|
71823
|
+
headers,
|
|
71824
|
+
body,
|
|
71825
|
+
userAgent: client._options.userAgent,
|
|
71826
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
71827
|
+
}, options);
|
|
71828
|
+
if (!requestRes.ok) {
|
|
71829
|
+
return [requestRes, { status: "invalid" }];
|
|
71830
|
+
}
|
|
71831
|
+
const req = requestRes.value;
|
|
71832
|
+
const doResult = await client._do(req, {
|
|
71833
|
+
context,
|
|
71834
|
+
errorCodes: [
|
|
71835
|
+
"400",
|
|
71836
|
+
"401",
|
|
71837
|
+
"403",
|
|
71838
|
+
"404",
|
|
71839
|
+
"409",
|
|
71840
|
+
"422",
|
|
71841
|
+
"429",
|
|
71842
|
+
"4XX",
|
|
71843
|
+
"500",
|
|
71844
|
+
"504",
|
|
71845
|
+
"5XX"
|
|
71846
|
+
],
|
|
71847
|
+
retryConfig: context.retryConfig,
|
|
71848
|
+
retryCodes: context.retryCodes
|
|
71849
|
+
});
|
|
71850
|
+
if (!doResult.ok) {
|
|
71851
|
+
return [doResult, { status: "request-error", request: req }];
|
|
71852
|
+
}
|
|
71853
|
+
const response = doResult.value;
|
|
71854
|
+
const responseFields = {
|
|
71855
|
+
HttpMeta: { Response: response, Request: req }
|
|
71856
|
+
};
|
|
71857
|
+
const [result] = await match(json(200, UploadFileResponse$inboundSchema, {
|
|
71858
|
+
hdrs: true,
|
|
71859
|
+
key: "Result"
|
|
71860
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, FileValidationError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71861
|
+
if (!result.ok) {
|
|
71862
|
+
return [result, { status: "complete", request: req, response }];
|
|
71863
|
+
}
|
|
71864
|
+
return [result, { status: "complete", request: req, response }];
|
|
71865
|
+
}
|
|
71866
|
+
var init_filesUpload = __esm(() => {
|
|
71867
|
+
init_encodings();
|
|
71868
|
+
init_matchers();
|
|
71869
|
+
init_primitives();
|
|
71870
|
+
init_schemas();
|
|
71871
|
+
init_security();
|
|
71872
|
+
init_url();
|
|
71873
|
+
init_errors2();
|
|
71874
|
+
init_operations();
|
|
71875
|
+
init_async();
|
|
71876
|
+
init_blobs();
|
|
71877
|
+
});
|
|
71878
|
+
|
|
71879
|
+
// src/mcp-server/tools/filesUpload.ts
|
|
71880
|
+
var args75, tool$filesUpload;
|
|
71881
|
+
var init_filesUpload2 = __esm(() => {
|
|
71882
|
+
init_filesUpload();
|
|
71883
|
+
init_operations();
|
|
71884
|
+
init_tools();
|
|
71885
|
+
args75 = {
|
|
71886
|
+
request: UploadFileRequest$inboundSchema
|
|
71887
|
+
};
|
|
71888
|
+
tool$filesUpload = {
|
|
71889
|
+
name: "files-upload",
|
|
71890
|
+
description: `Upload a file and link it to the specified Moov account.
|
|
71891
|
+
|
|
71892
|
+
The maximum file size is 20MB. Each account is allowed a maximum of 50 files. Acceptable file types include csv, jpg, pdf,
|
|
71893
|
+
and png.
|
|
71894
|
+
|
|
71895
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71896
|
+
you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
71897
|
+
args: args75,
|
|
71898
|
+
tool: async (client, args76, ctx) => {
|
|
71899
|
+
const [result, apiCall] = await filesUpload(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71900
|
+
if (!result.ok) {
|
|
71901
|
+
return {
|
|
71902
|
+
content: [{ type: "text", text: result.error.message }],
|
|
71903
|
+
isError: true
|
|
71904
|
+
};
|
|
71905
|
+
}
|
|
71906
|
+
const value = result.value.result;
|
|
71907
|
+
return formatResult(value, apiCall);
|
|
71908
|
+
}
|
|
71909
|
+
};
|
|
71910
|
+
});
|
|
71911
|
+
|
|
71912
|
+
// src/funcs/imagesDelete.ts
|
|
71913
|
+
function imagesDelete(client, request, options) {
|
|
71914
|
+
return new APIPromise($do76(client, request, options));
|
|
71915
|
+
}
|
|
71916
|
+
async function $do76(client, request, options) {
|
|
71917
|
+
const parsed = safeParse(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71918
|
+
if (!parsed.ok) {
|
|
71919
|
+
return [parsed, { status: "invalid" }];
|
|
71920
|
+
}
|
|
71921
|
+
const payload = parsed.value;
|
|
71922
|
+
const body = null;
|
|
71923
|
+
const pathParams = {
|
|
71924
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
71925
|
+
explode: false,
|
|
71926
|
+
charEncoding: "percent"
|
|
71927
|
+
}),
|
|
71928
|
+
imageID: encodeSimple("imageID", payload.imageID, {
|
|
71929
|
+
explode: false,
|
|
71930
|
+
charEncoding: "percent"
|
|
71931
|
+
})
|
|
71932
|
+
};
|
|
71933
|
+
const path = pathToFunc("/accounts/{accountID}/images/{imageID}")(pathParams);
|
|
71934
|
+
const headers = new Headers(compactMap({
|
|
71935
|
+
Accept: "application/json",
|
|
71936
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
71937
|
+
}));
|
|
71938
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
71939
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
71940
|
+
const context = {
|
|
71941
|
+
options: client._options,
|
|
71942
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71943
|
+
operationID: "deleteImage",
|
|
71944
|
+
oAuth2Scopes: [],
|
|
71945
|
+
resolvedSecurity: requestSecurity,
|
|
71946
|
+
securitySource: client._options.security,
|
|
71947
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
71948
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
71949
|
+
};
|
|
71950
|
+
const requestRes = client._createRequest(context, {
|
|
71951
|
+
security: requestSecurity,
|
|
71952
|
+
method: "DELETE",
|
|
71953
|
+
baseURL: options?.serverURL,
|
|
71954
|
+
path,
|
|
71955
|
+
headers,
|
|
71956
|
+
body,
|
|
71957
|
+
userAgent: client._options.userAgent,
|
|
71958
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
71959
|
+
}, options);
|
|
71960
|
+
if (!requestRes.ok) {
|
|
71961
|
+
return [requestRes, { status: "invalid" }];
|
|
71962
|
+
}
|
|
71963
|
+
const req = requestRes.value;
|
|
71964
|
+
const doResult = await client._do(req, {
|
|
71965
|
+
context,
|
|
71966
|
+
errorCodes: [
|
|
71967
|
+
"400",
|
|
71968
|
+
"401",
|
|
71969
|
+
"403",
|
|
71970
|
+
"404",
|
|
71971
|
+
"409",
|
|
71972
|
+
"429",
|
|
71973
|
+
"4XX",
|
|
71974
|
+
"500",
|
|
71975
|
+
"504",
|
|
71976
|
+
"5XX"
|
|
71977
|
+
],
|
|
71978
|
+
retryConfig: context.retryConfig,
|
|
71979
|
+
retryCodes: context.retryCodes
|
|
71980
|
+
});
|
|
71981
|
+
if (!doResult.ok) {
|
|
71982
|
+
return [doResult, { status: "request-error", request: req }];
|
|
71983
|
+
}
|
|
71984
|
+
const response = doResult.value;
|
|
71985
|
+
const responseFields = {
|
|
71986
|
+
HttpMeta: { Response: response, Request: req }
|
|
71987
|
+
};
|
|
71988
|
+
const [result] = await match(nil(204, DeleteImageResponse$inboundSchema.optional(), {
|
|
71989
|
+
hdrs: true
|
|
71990
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71991
|
+
if (!result.ok) {
|
|
71992
|
+
return [result, { status: "complete", request: req, response }];
|
|
71993
|
+
}
|
|
71994
|
+
return [result, { status: "complete", request: req, response }];
|
|
71995
|
+
}
|
|
71996
|
+
var init_imagesDelete = __esm(() => {
|
|
71997
|
+
init_encodings();
|
|
71998
|
+
init_matchers();
|
|
71999
|
+
init_primitives();
|
|
72000
|
+
init_schemas();
|
|
72001
|
+
init_security();
|
|
72002
|
+
init_url();
|
|
72003
|
+
init_errors2();
|
|
72004
|
+
init_operations();
|
|
72005
|
+
init_async();
|
|
72006
|
+
});
|
|
72007
|
+
|
|
72008
|
+
// src/mcp-server/tools/imagesDelete.ts
|
|
72009
|
+
var args76, tool$imagesDelete;
|
|
72010
|
+
var init_imagesDelete2 = __esm(() => {
|
|
72011
|
+
init_imagesDelete();
|
|
72012
|
+
init_operations();
|
|
72013
|
+
init_tools();
|
|
72014
|
+
args76 = {
|
|
72015
|
+
request: DeleteImageRequest$inboundSchema
|
|
72016
|
+
};
|
|
72017
|
+
tool$imagesDelete = {
|
|
72018
|
+
name: "images-delete",
|
|
72019
|
+
description: `Permanently delete an image by its ID.`,
|
|
72020
|
+
args: args76,
|
|
72021
|
+
tool: async (client, args77, ctx) => {
|
|
72022
|
+
const [result, apiCall] = await imagesDelete(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72023
|
+
if (!result.ok) {
|
|
72024
|
+
return {
|
|
72025
|
+
content: [{ type: "text", text: result.error.message }],
|
|
72026
|
+
isError: true
|
|
72027
|
+
};
|
|
72028
|
+
}
|
|
72029
|
+
return formatResult(undefined, apiCall);
|
|
72030
|
+
}
|
|
72031
|
+
};
|
|
72032
|
+
});
|
|
72033
|
+
|
|
72034
|
+
// src/funcs/imagesGetMetadata.ts
|
|
72035
|
+
function imagesGetMetadata(client, request, options) {
|
|
72036
|
+
return new APIPromise($do77(client, request, options));
|
|
72037
|
+
}
|
|
72038
|
+
async function $do77(client, request, options) {
|
|
72039
|
+
const parsed = safeParse(request, (value) => GetImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72040
|
+
if (!parsed.ok) {
|
|
72041
|
+
return [parsed, { status: "invalid" }];
|
|
72042
|
+
}
|
|
72043
|
+
const payload = parsed.value;
|
|
72044
|
+
const body = null;
|
|
72045
|
+
const pathParams = {
|
|
72046
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
72047
|
+
explode: false,
|
|
72048
|
+
charEncoding: "percent"
|
|
72049
|
+
}),
|
|
72050
|
+
imageID: encodeSimple("imageID", payload.imageID, {
|
|
72051
|
+
explode: false,
|
|
72052
|
+
charEncoding: "percent"
|
|
72053
|
+
})
|
|
72054
|
+
};
|
|
72055
|
+
const path = pathToFunc("/accounts/{accountID}/images/{imageID}")(pathParams);
|
|
72056
|
+
const headers = new Headers(compactMap({
|
|
72057
|
+
Accept: "application/json",
|
|
72058
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
72059
|
+
}));
|
|
72060
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
72061
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
72062
|
+
const context = {
|
|
72063
|
+
options: client._options,
|
|
72064
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
72065
|
+
operationID: "getImageMetadata",
|
|
72066
|
+
oAuth2Scopes: [],
|
|
72067
|
+
resolvedSecurity: requestSecurity,
|
|
72068
|
+
securitySource: client._options.security,
|
|
72069
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
72070
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
72071
|
+
};
|
|
72072
|
+
const requestRes = client._createRequest(context, {
|
|
72073
|
+
security: requestSecurity,
|
|
72074
|
+
method: "GET",
|
|
72075
|
+
baseURL: options?.serverURL,
|
|
72076
|
+
path,
|
|
72077
|
+
headers,
|
|
72078
|
+
body,
|
|
72079
|
+
userAgent: client._options.userAgent,
|
|
72080
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
72081
|
+
}, options);
|
|
72082
|
+
if (!requestRes.ok) {
|
|
72083
|
+
return [requestRes, { status: "invalid" }];
|
|
72084
|
+
}
|
|
72085
|
+
const req = requestRes.value;
|
|
72086
|
+
const doResult = await client._do(req, {
|
|
72087
|
+
context,
|
|
72088
|
+
errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
|
|
72089
|
+
retryConfig: context.retryConfig,
|
|
72090
|
+
retryCodes: context.retryCodes
|
|
72091
|
+
});
|
|
72092
|
+
if (!doResult.ok) {
|
|
72093
|
+
return [doResult, { status: "request-error", request: req }];
|
|
72094
|
+
}
|
|
72095
|
+
const response = doResult.value;
|
|
72096
|
+
const responseFields = {
|
|
72097
|
+
HttpMeta: { Response: response, Request: req }
|
|
72098
|
+
};
|
|
72099
|
+
const [result] = await match(json(200, GetImageMetadataResponse$inboundSchema, {
|
|
71332
72100
|
hdrs: true,
|
|
71333
72101
|
key: "Result"
|
|
71334
72102
|
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
@@ -71337,7 +72105,7 @@ async function $do73(client, request, options) {
|
|
|
71337
72105
|
}
|
|
71338
72106
|
return [result, { status: "complete", request: req, response }];
|
|
71339
72107
|
}
|
|
71340
|
-
var
|
|
72108
|
+
var init_imagesGetMetadata = __esm(() => {
|
|
71341
72109
|
init_encodings();
|
|
71342
72110
|
init_matchers();
|
|
71343
72111
|
init_primitives();
|
|
@@ -71348,24 +72116,21 @@ var init_filesGet = __esm(() => {
|
|
|
71348
72116
|
init_async();
|
|
71349
72117
|
});
|
|
71350
72118
|
|
|
71351
|
-
// src/mcp-server/tools/
|
|
71352
|
-
var
|
|
71353
|
-
var
|
|
71354
|
-
|
|
72119
|
+
// src/mcp-server/tools/imagesGetMetadata.ts
|
|
72120
|
+
var args77, tool$imagesGetMetadata;
|
|
72121
|
+
var init_imagesGetMetadata2 = __esm(() => {
|
|
72122
|
+
init_imagesGetMetadata();
|
|
71355
72123
|
init_operations();
|
|
71356
72124
|
init_tools();
|
|
71357
|
-
|
|
71358
|
-
request:
|
|
72125
|
+
args77 = {
|
|
72126
|
+
request: GetImageMetadataRequest$inboundSchema
|
|
71359
72127
|
};
|
|
71360
|
-
tool$
|
|
71361
|
-
name: "
|
|
71362
|
-
description: `Retrieve
|
|
71363
|
-
|
|
71364
|
-
|
|
71365
|
-
|
|
71366
|
-
args: args73,
|
|
71367
|
-
tool: async (client, args74, ctx) => {
|
|
71368
|
-
const [result, apiCall] = await filesGet(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72128
|
+
tool$imagesGetMetadata = {
|
|
72129
|
+
name: "images-get-metadata",
|
|
72130
|
+
description: `Retrieve metadata for a specific image by its ID.`,
|
|
72131
|
+
args: args77,
|
|
72132
|
+
tool: async (client, args78, ctx) => {
|
|
72133
|
+
const [result, apiCall] = await imagesGetMetadata(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71369
72134
|
if (!result.ok) {
|
|
71370
72135
|
return {
|
|
71371
72136
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71378,46 +72143,50 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
71378
72143
|
};
|
|
71379
72144
|
});
|
|
71380
72145
|
|
|
71381
|
-
// src/funcs/
|
|
71382
|
-
function
|
|
71383
|
-
return new APIPromise($
|
|
72146
|
+
// src/funcs/imagesGetPublic.ts
|
|
72147
|
+
function imagesGetPublic(client, request, options) {
|
|
72148
|
+
return new APIPromise($do78(client, request, options));
|
|
71384
72149
|
}
|
|
71385
|
-
async function $
|
|
71386
|
-
const parsed = safeParse(request, (value) =>
|
|
72150
|
+
async function $do78(client, request, options) {
|
|
72151
|
+
const parsed = safeParse(request, (value) => GetPublicImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71387
72152
|
if (!parsed.ok) {
|
|
71388
72153
|
return [parsed, { status: "invalid" }];
|
|
71389
72154
|
}
|
|
71390
72155
|
const payload = parsed.value;
|
|
71391
72156
|
const body = null;
|
|
71392
72157
|
const pathParams = {
|
|
71393
|
-
|
|
72158
|
+
publicID: encodeSimple("publicID", payload.publicID, {
|
|
71394
72159
|
explode: false,
|
|
71395
72160
|
charEncoding: "percent"
|
|
71396
72161
|
})
|
|
71397
72162
|
};
|
|
71398
|
-
const path = pathToFunc("/
|
|
72163
|
+
const path = pathToFunc("/images/{publicID}")(pathParams);
|
|
72164
|
+
const query = encodeFormQuery({
|
|
72165
|
+
size: payload.size
|
|
72166
|
+
}, { explode: false });
|
|
71399
72167
|
const headers = new Headers(compactMap({
|
|
71400
|
-
Accept: "
|
|
71401
|
-
"
|
|
72168
|
+
Accept: options?.acceptHeaderOverride || "image/jpeg;q=1, image/png;q=0.7, image/webp;q=0",
|
|
72169
|
+
"if-none-match": encodeSimple("if-none-match", payload["if-none-match"], {
|
|
72170
|
+
explode: false,
|
|
72171
|
+
charEncoding: "none"
|
|
72172
|
+
})
|
|
71402
72173
|
}));
|
|
71403
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
71404
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
71405
72174
|
const context = {
|
|
71406
72175
|
options: client._options,
|
|
71407
72176
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71408
|
-
operationID: "
|
|
72177
|
+
operationID: "getPublicImage",
|
|
71409
72178
|
oAuth2Scopes: [],
|
|
71410
|
-
resolvedSecurity:
|
|
71411
|
-
securitySource:
|
|
72179
|
+
resolvedSecurity: null,
|
|
72180
|
+
securitySource: null,
|
|
71412
72181
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
71413
72182
|
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
71414
72183
|
};
|
|
71415
72184
|
const requestRes = client._createRequest(context, {
|
|
71416
|
-
security: requestSecurity,
|
|
71417
72185
|
method: "GET",
|
|
71418
72186
|
baseURL: options?.serverURL,
|
|
71419
72187
|
path,
|
|
71420
72188
|
headers,
|
|
72189
|
+
query,
|
|
71421
72190
|
body,
|
|
71422
72191
|
userAgent: client._options.userAgent,
|
|
71423
72192
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -71428,7 +72197,7 @@ async function $do74(client, request, options) {
|
|
|
71428
72197
|
const req = requestRes.value;
|
|
71429
72198
|
const doResult = await client._do(req, {
|
|
71430
72199
|
context,
|
|
71431
|
-
errorCodes: ["
|
|
72200
|
+
errorCodes: ["404", "429", "4XX", "500", "502", "504", "5XX"],
|
|
71432
72201
|
retryConfig: context.retryConfig,
|
|
71433
72202
|
retryCodes: context.retryCodes
|
|
71434
72203
|
});
|
|
@@ -71439,91 +72208,81 @@ async function $do74(client, request, options) {
|
|
|
71439
72208
|
const responseFields = {
|
|
71440
72209
|
HttpMeta: { Response: response, Request: req }
|
|
71441
72210
|
};
|
|
71442
|
-
const [result] = await match(
|
|
72211
|
+
const [result] = await match(stream(200, GetPublicImageResponse$inboundSchema.optional(), {
|
|
72212
|
+
ctype: "image/webp",
|
|
71443
72213
|
hdrs: true,
|
|
71444
72214
|
key: "Result"
|
|
71445
|
-
}),
|
|
72215
|
+
}), stream(200, GetPublicImageResponse$inboundSchema.optional(), {
|
|
72216
|
+
ctype: "image/png",
|
|
72217
|
+
hdrs: true,
|
|
72218
|
+
key: "Result"
|
|
72219
|
+
}), stream(200, GetPublicImageResponse$inboundSchema.optional(), {
|
|
72220
|
+
ctype: "image/jpeg",
|
|
72221
|
+
hdrs: true,
|
|
72222
|
+
key: "Result"
|
|
72223
|
+
}), nil(304, GetPublicImageResponse$inboundSchema.optional(), {
|
|
72224
|
+
hdrs: true
|
|
72225
|
+
}), fail([404, 429]), fail([500, 502, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71446
72226
|
if (!result.ok) {
|
|
71447
72227
|
return [result, { status: "complete", request: req, response }];
|
|
71448
72228
|
}
|
|
71449
72229
|
return [result, { status: "complete", request: req, response }];
|
|
71450
72230
|
}
|
|
71451
|
-
var
|
|
72231
|
+
var init_imagesGetPublic = __esm(() => {
|
|
71452
72232
|
init_encodings();
|
|
71453
72233
|
init_matchers();
|
|
71454
72234
|
init_primitives();
|
|
71455
72235
|
init_schemas();
|
|
71456
|
-
init_security();
|
|
71457
72236
|
init_url();
|
|
71458
72237
|
init_operations();
|
|
71459
72238
|
init_async();
|
|
71460
72239
|
});
|
|
71461
72240
|
|
|
71462
|
-
// src/mcp-server/tools/
|
|
71463
|
-
var
|
|
71464
|
-
var
|
|
71465
|
-
|
|
72241
|
+
// src/mcp-server/tools/imagesGetPublic.ts
|
|
72242
|
+
var args78, tool$imagesGetPublic;
|
|
72243
|
+
var init_imagesGetPublic2 = __esm(() => {
|
|
72244
|
+
init_imagesGetPublic();
|
|
71466
72245
|
init_operations();
|
|
71467
72246
|
init_tools();
|
|
71468
|
-
|
|
71469
|
-
request:
|
|
72247
|
+
args78 = {
|
|
72248
|
+
request: GetPublicImageRequest$inboundSchema
|
|
71470
72249
|
};
|
|
71471
|
-
tool$
|
|
71472
|
-
name: "
|
|
71473
|
-
description: `
|
|
71474
|
-
|
|
71475
|
-
|
|
71476
|
-
|
|
71477
|
-
args: args74,
|
|
71478
|
-
tool: async (client, args75, ctx) => {
|
|
71479
|
-
const [result, apiCall] = await filesList(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72250
|
+
tool$imagesGetPublic = {
|
|
72251
|
+
name: "images-get-public",
|
|
72252
|
+
description: `Get an image by its public ID.`,
|
|
72253
|
+
args: args78,
|
|
72254
|
+
tool: async (client, args79, ctx) => {
|
|
72255
|
+
const [result, apiCall] = await imagesGetPublic(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71480
72256
|
if (!result.ok) {
|
|
71481
72257
|
return {
|
|
71482
72258
|
content: [{ type: "text", text: result.error.message }],
|
|
71483
72259
|
isError: true
|
|
71484
72260
|
};
|
|
71485
72261
|
}
|
|
71486
|
-
const value = result.value
|
|
72262
|
+
const value = result.value?.result;
|
|
71487
72263
|
return formatResult(value, apiCall);
|
|
71488
72264
|
}
|
|
71489
72265
|
};
|
|
71490
72266
|
});
|
|
71491
72267
|
|
|
71492
|
-
// src/funcs/
|
|
71493
|
-
function
|
|
71494
|
-
return new APIPromise($
|
|
72268
|
+
// src/funcs/imagesList.ts
|
|
72269
|
+
function imagesList(client, request, options) {
|
|
72270
|
+
return new APIPromise($do79(client, request, options));
|
|
71495
72271
|
}
|
|
71496
|
-
async function $
|
|
71497
|
-
const parsed = safeParse(request, (value) =>
|
|
72272
|
+
async function $do79(client, request, options) {
|
|
72273
|
+
const parsed = safeParse(request, (value) => ListImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71498
72274
|
if (!parsed.ok) {
|
|
71499
72275
|
return [parsed, { status: "invalid" }];
|
|
71500
72276
|
}
|
|
71501
72277
|
const payload = parsed.value;
|
|
71502
|
-
const body =
|
|
71503
|
-
if (isBlobLike(payload.FileUploadRequestMultiPart.file)) {
|
|
71504
|
-
appendForm(body, "file", payload.FileUploadRequestMultiPart.file);
|
|
71505
|
-
} else if (isReadableStream(payload.FileUploadRequestMultiPart.file.content)) {
|
|
71506
|
-
const buffer = await readableStreamToArrayBuffer(payload.FileUploadRequestMultiPart.file.content);
|
|
71507
|
-
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
71508
|
-
const blob = new Blob([buffer], { type: contentType2 });
|
|
71509
|
-
appendForm(body, "file", blob, payload.FileUploadRequestMultiPart.file.fileName);
|
|
71510
|
-
} else {
|
|
71511
|
-
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
71512
|
-
appendForm(body, "file", new Blob([payload.FileUploadRequestMultiPart.file.content], {
|
|
71513
|
-
type: contentType2
|
|
71514
|
-
}), payload.FileUploadRequestMultiPart.file.fileName);
|
|
71515
|
-
}
|
|
71516
|
-
appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
|
|
71517
|
-
if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
|
|
71518
|
-
appendForm(body, "metadata", payload.FileUploadRequestMultiPart.metadata);
|
|
71519
|
-
}
|
|
72278
|
+
const body = null;
|
|
71520
72279
|
const pathParams = {
|
|
71521
72280
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
71522
72281
|
explode: false,
|
|
71523
72282
|
charEncoding: "percent"
|
|
71524
72283
|
})
|
|
71525
72284
|
};
|
|
71526
|
-
const path = pathToFunc("/accounts/{accountID}/
|
|
72285
|
+
const path = pathToFunc("/accounts/{accountID}/images")(pathParams);
|
|
71527
72286
|
const headers = new Headers(compactMap({
|
|
71528
72287
|
Accept: "application/json",
|
|
71529
72288
|
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
@@ -71533,7 +72292,7 @@ async function $do75(client, request, options) {
|
|
|
71533
72292
|
const context = {
|
|
71534
72293
|
options: client._options,
|
|
71535
72294
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71536
|
-
operationID: "
|
|
72295
|
+
operationID: "listImageMetadata",
|
|
71537
72296
|
oAuth2Scopes: [],
|
|
71538
72297
|
resolvedSecurity: requestSecurity,
|
|
71539
72298
|
securitySource: client._options.security,
|
|
@@ -71542,7 +72301,7 @@ async function $do75(client, request, options) {
|
|
|
71542
72301
|
};
|
|
71543
72302
|
const requestRes = client._createRequest(context, {
|
|
71544
72303
|
security: requestSecurity,
|
|
71545
|
-
method: "
|
|
72304
|
+
method: "GET",
|
|
71546
72305
|
baseURL: options?.serverURL,
|
|
71547
72306
|
path,
|
|
71548
72307
|
headers,
|
|
@@ -71556,19 +72315,7 @@ async function $do75(client, request, options) {
|
|
|
71556
72315
|
const req = requestRes.value;
|
|
71557
72316
|
const doResult = await client._do(req, {
|
|
71558
72317
|
context,
|
|
71559
|
-
errorCodes: [
|
|
71560
|
-
"400",
|
|
71561
|
-
"401",
|
|
71562
|
-
"403",
|
|
71563
|
-
"404",
|
|
71564
|
-
"409",
|
|
71565
|
-
"422",
|
|
71566
|
-
"429",
|
|
71567
|
-
"4XX",
|
|
71568
|
-
"500",
|
|
71569
|
-
"504",
|
|
71570
|
-
"5XX"
|
|
71571
|
-
],
|
|
72318
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
71572
72319
|
retryConfig: context.retryConfig,
|
|
71573
72320
|
retryCodes: context.retryCodes
|
|
71574
72321
|
});
|
|
@@ -71579,49 +72326,41 @@ async function $do75(client, request, options) {
|
|
|
71579
72326
|
const responseFields = {
|
|
71580
72327
|
HttpMeta: { Response: response, Request: req }
|
|
71581
72328
|
};
|
|
71582
|
-
const [result] = await match(json(200,
|
|
72329
|
+
const [result] = await match(json(200, ListImageMetadataResponse$inboundSchema, {
|
|
71583
72330
|
hdrs: true,
|
|
71584
72331
|
key: "Result"
|
|
71585
|
-
}),
|
|
72332
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71586
72333
|
if (!result.ok) {
|
|
71587
72334
|
return [result, { status: "complete", request: req, response }];
|
|
71588
72335
|
}
|
|
71589
72336
|
return [result, { status: "complete", request: req, response }];
|
|
71590
72337
|
}
|
|
71591
|
-
var
|
|
72338
|
+
var init_imagesList = __esm(() => {
|
|
71592
72339
|
init_encodings();
|
|
71593
72340
|
init_matchers();
|
|
71594
72341
|
init_primitives();
|
|
71595
72342
|
init_schemas();
|
|
71596
72343
|
init_security();
|
|
71597
72344
|
init_url();
|
|
71598
|
-
init_errors2();
|
|
71599
72345
|
init_operations();
|
|
71600
72346
|
init_async();
|
|
71601
|
-
init_blobs();
|
|
71602
72347
|
});
|
|
71603
72348
|
|
|
71604
|
-
// src/mcp-server/tools/
|
|
71605
|
-
var
|
|
71606
|
-
var
|
|
71607
|
-
|
|
72349
|
+
// src/mcp-server/tools/imagesList.ts
|
|
72350
|
+
var args79, tool$imagesList;
|
|
72351
|
+
var init_imagesList2 = __esm(() => {
|
|
72352
|
+
init_imagesList();
|
|
71608
72353
|
init_operations();
|
|
71609
72354
|
init_tools();
|
|
71610
|
-
|
|
71611
|
-
request:
|
|
72355
|
+
args79 = {
|
|
72356
|
+
request: ListImageMetadataRequest$inboundSchema
|
|
71612
72357
|
};
|
|
71613
|
-
tool$
|
|
71614
|
-
name: "
|
|
71615
|
-
description: `
|
|
71616
|
-
|
|
71617
|
-
|
|
71618
|
-
|
|
71619
|
-
|
|
71620
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71621
|
-
you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
71622
|
-
args: args75,
|
|
71623
|
-
tool: async (client, args76, ctx) => {
|
|
71624
|
-
const [result, apiCall] = await filesUpload(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72358
|
+
tool$imagesList = {
|
|
72359
|
+
name: "images-list",
|
|
72360
|
+
description: `List metadata for all images in the specified account.`,
|
|
72361
|
+
args: args79,
|
|
72362
|
+
tool: async (client, args80, ctx) => {
|
|
72363
|
+
const [result, apiCall] = await imagesList(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71625
72364
|
if (!result.ok) {
|
|
71626
72365
|
return {
|
|
71627
72366
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71636,9 +72375,9 @@ you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
|
71636
72375
|
|
|
71637
72376
|
// src/funcs/industriesList.ts
|
|
71638
72377
|
function industriesList(client, _request, options) {
|
|
71639
|
-
return new APIPromise($
|
|
72378
|
+
return new APIPromise($do80(client, _request, options));
|
|
71640
72379
|
}
|
|
71641
|
-
async function $
|
|
72380
|
+
async function $do80(client, _request, options) {
|
|
71642
72381
|
const path = pathToFunc("/industries")();
|
|
71643
72382
|
const headers = new Headers(compactMap({
|
|
71644
72383
|
Accept: "application/json",
|
|
@@ -71702,12 +72441,12 @@ var init_industriesList = __esm(() => {
|
|
|
71702
72441
|
});
|
|
71703
72442
|
|
|
71704
72443
|
// src/mcp-server/tools/industriesList.ts
|
|
71705
|
-
var
|
|
72444
|
+
var args80, tool$industriesList;
|
|
71706
72445
|
var init_industriesList2 = __esm(() => {
|
|
71707
72446
|
init_industriesList();
|
|
71708
72447
|
init_operations();
|
|
71709
72448
|
init_tools();
|
|
71710
|
-
|
|
72449
|
+
args80 = {
|
|
71711
72450
|
request: ListIndustriesRequest$inboundSchema
|
|
71712
72451
|
};
|
|
71713
72452
|
tool$industriesList = {
|
|
@@ -71716,9 +72455,9 @@ var init_industriesList2 = __esm(() => {
|
|
|
71716
72455
|
|
|
71717
72456
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
71718
72457
|
you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
71719
|
-
args:
|
|
71720
|
-
tool: async (client,
|
|
71721
|
-
const [result, apiCall] = await industriesList(client,
|
|
72458
|
+
args: args80,
|
|
72459
|
+
tool: async (client, args81, ctx) => {
|
|
72460
|
+
const [result, apiCall] = await industriesList(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71722
72461
|
if (!result.ok) {
|
|
71723
72462
|
return {
|
|
71724
72463
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71733,9 +72472,9 @@ you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
|
71733
72472
|
|
|
71734
72473
|
// src/funcs/institutionsSearch.ts
|
|
71735
72474
|
function institutionsSearch(client, request, options) {
|
|
71736
|
-
return new APIPromise($
|
|
72475
|
+
return new APIPromise($do81(client, request, options));
|
|
71737
72476
|
}
|
|
71738
|
-
async function $
|
|
72477
|
+
async function $do81(client, request, options) {
|
|
71739
72478
|
const parsed = safeParse(request, (value) => ListInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71740
72479
|
if (!parsed.ok) {
|
|
71741
72480
|
return [parsed, { status: "invalid" }];
|
|
@@ -71815,12 +72554,12 @@ var init_institutionsSearch = __esm(() => {
|
|
|
71815
72554
|
});
|
|
71816
72555
|
|
|
71817
72556
|
// src/mcp-server/tools/institutionsSearch.ts
|
|
71818
|
-
var
|
|
72557
|
+
var args81, tool$institutionsSearch;
|
|
71819
72558
|
var init_institutionsSearch2 = __esm(() => {
|
|
71820
72559
|
init_institutionsSearch();
|
|
71821
72560
|
init_operations();
|
|
71822
72561
|
init_tools();
|
|
71823
|
-
|
|
72562
|
+
args81 = {
|
|
71824
72563
|
request: ListInstitutionsRequest$inboundSchema
|
|
71825
72564
|
};
|
|
71826
72565
|
tool$institutionsSearch = {
|
|
@@ -71829,9 +72568,9 @@ var init_institutionsSearch2 = __esm(() => {
|
|
|
71829
72568
|
|
|
71830
72569
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71831
72570
|
you'll need to specify the \`/fed.read\` scope.`,
|
|
71832
|
-
args:
|
|
71833
|
-
tool: async (client,
|
|
71834
|
-
const [result, apiCall] = await institutionsSearch(client,
|
|
72571
|
+
args: args81,
|
|
72572
|
+
tool: async (client, args82, ctx) => {
|
|
72573
|
+
const [result, apiCall] = await institutionsSearch(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71835
72574
|
if (!result.ok) {
|
|
71836
72575
|
return {
|
|
71837
72576
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71846,9 +72585,9 @@ you'll need to specify the \`/fed.read\` scope.`,
|
|
|
71846
72585
|
|
|
71847
72586
|
// src/funcs/institutionsSearchInstitutions.ts
|
|
71848
72587
|
function institutionsSearchInstitutions(client, request, options) {
|
|
71849
|
-
return new APIPromise($
|
|
72588
|
+
return new APIPromise($do82(client, request, options));
|
|
71850
72589
|
}
|
|
71851
|
-
async function $
|
|
72590
|
+
async function $do82(client, request, options) {
|
|
71852
72591
|
const parsed = safeParse(request, (value) => SearchInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71853
72592
|
if (!parsed.ok) {
|
|
71854
72593
|
return [parsed, { status: "invalid" }];
|
|
@@ -71926,12 +72665,12 @@ var init_institutionsSearchInstitutions = __esm(() => {
|
|
|
71926
72665
|
});
|
|
71927
72666
|
|
|
71928
72667
|
// src/mcp-server/tools/institutionsSearchInstitutions.ts
|
|
71929
|
-
var
|
|
72668
|
+
var args82, tool$institutionsSearchInstitutions;
|
|
71930
72669
|
var init_institutionsSearchInstitutions2 = __esm(() => {
|
|
71931
72670
|
init_institutionsSearchInstitutions();
|
|
71932
72671
|
init_operations();
|
|
71933
72672
|
init_tools();
|
|
71934
|
-
|
|
72673
|
+
args82 = {
|
|
71935
72674
|
request: SearchInstitutionsRequest$inboundSchema
|
|
71936
72675
|
};
|
|
71937
72676
|
tool$institutionsSearchInstitutions = {
|
|
@@ -71944,9 +72683,9 @@ This can be used to validate a financial institution before initiating payment a
|
|
|
71944
72683
|
|
|
71945
72684
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71946
72685
|
you'll need to specify the \`/institutions.read\` scope.`,
|
|
71947
|
-
args:
|
|
71948
|
-
tool: async (client,
|
|
71949
|
-
const [result, apiCall] = await institutionsSearchInstitutions(client,
|
|
72686
|
+
args: args82,
|
|
72687
|
+
tool: async (client, args83, ctx) => {
|
|
72688
|
+
const [result, apiCall] = await institutionsSearchInstitutions(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71950
72689
|
if (!result.ok) {
|
|
71951
72690
|
return {
|
|
71952
72691
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71961,9 +72700,9 @@ you'll need to specify the \`/institutions.read\` scope.`,
|
|
|
71961
72700
|
|
|
71962
72701
|
// src/funcs/issuingTransactionsGet.ts
|
|
71963
72702
|
function issuingTransactionsGet(client, request, options) {
|
|
71964
|
-
return new APIPromise($
|
|
72703
|
+
return new APIPromise($do83(client, request, options));
|
|
71965
72704
|
}
|
|
71966
|
-
async function $
|
|
72705
|
+
async function $do83(client, request, options) {
|
|
71967
72706
|
const parsed = safeParse(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71968
72707
|
if (!parsed.ok) {
|
|
71969
72708
|
return [parsed, { status: "invalid" }];
|
|
@@ -72042,12 +72781,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
72042
72781
|
});
|
|
72043
72782
|
|
|
72044
72783
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
72045
|
-
var
|
|
72784
|
+
var args83, tool$issuingTransactionsGet;
|
|
72046
72785
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
72047
72786
|
init_issuingTransactionsGet();
|
|
72048
72787
|
init_operations();
|
|
72049
72788
|
init_tools();
|
|
72050
|
-
|
|
72789
|
+
args83 = {
|
|
72051
72790
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
72052
72791
|
};
|
|
72053
72792
|
tool$issuingTransactionsGet = {
|
|
@@ -72056,9 +72795,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
72056
72795
|
|
|
72057
72796
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72058
72797
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
72059
|
-
args:
|
|
72060
|
-
tool: async (client,
|
|
72061
|
-
const [result, apiCall] = await issuingTransactionsGet(client,
|
|
72798
|
+
args: args83,
|
|
72799
|
+
tool: async (client, args84, ctx) => {
|
|
72800
|
+
const [result, apiCall] = await issuingTransactionsGet(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72062
72801
|
if (!result.ok) {
|
|
72063
72802
|
return {
|
|
72064
72803
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72073,9 +72812,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
72073
72812
|
|
|
72074
72813
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
72075
72814
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
72076
|
-
return new APIPromise($
|
|
72815
|
+
return new APIPromise($do84(client, request, options));
|
|
72077
72816
|
}
|
|
72078
|
-
async function $
|
|
72817
|
+
async function $do84(client, request, options) {
|
|
72079
72818
|
const parsed = safeParse(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72080
72819
|
if (!parsed.ok) {
|
|
72081
72820
|
return [parsed, { status: "invalid" }];
|
|
@@ -72157,12 +72896,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
72157
72896
|
});
|
|
72158
72897
|
|
|
72159
72898
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
72160
|
-
var
|
|
72899
|
+
var args84, tool$issuingTransactionsGetAuthorization;
|
|
72161
72900
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
72162
72901
|
init_issuingTransactionsGetAuthorization();
|
|
72163
72902
|
init_operations();
|
|
72164
72903
|
init_tools();
|
|
72165
|
-
|
|
72904
|
+
args84 = {
|
|
72166
72905
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
72167
72906
|
};
|
|
72168
72907
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -72171,9 +72910,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
72171
72910
|
|
|
72172
72911
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72173
72912
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
72174
|
-
args:
|
|
72175
|
-
tool: async (client,
|
|
72176
|
-
const [result, apiCall] = await issuingTransactionsGetAuthorization(client,
|
|
72913
|
+
args: args84,
|
|
72914
|
+
tool: async (client, args85, ctx) => {
|
|
72915
|
+
const [result, apiCall] = await issuingTransactionsGetAuthorization(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72177
72916
|
if (!result.ok) {
|
|
72178
72917
|
return {
|
|
72179
72918
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72188,9 +72927,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
72188
72927
|
|
|
72189
72928
|
// src/funcs/issuingTransactionsList.ts
|
|
72190
72929
|
function issuingTransactionsList(client, request, options) {
|
|
72191
|
-
return new APIPromise($
|
|
72930
|
+
return new APIPromise($do85(client, request, options));
|
|
72192
72931
|
}
|
|
72193
|
-
async function $
|
|
72932
|
+
async function $do85(client, request, options) {
|
|
72194
72933
|
const parsed = safeParse(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72195
72934
|
if (!parsed.ok) {
|
|
72196
72935
|
return [parsed, { status: "invalid" }];
|
|
@@ -72276,12 +73015,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
72276
73015
|
});
|
|
72277
73016
|
|
|
72278
73017
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
72279
|
-
var
|
|
73018
|
+
var args85, tool$issuingTransactionsList;
|
|
72280
73019
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
72281
73020
|
init_issuingTransactionsList();
|
|
72282
73021
|
init_operations();
|
|
72283
73022
|
init_tools();
|
|
72284
|
-
|
|
73023
|
+
args85 = {
|
|
72285
73024
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
72286
73025
|
};
|
|
72287
73026
|
tool$issuingTransactionsList = {
|
|
@@ -72290,9 +73029,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
72290
73029
|
|
|
72291
73030
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72292
73031
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
72293
|
-
args:
|
|
72294
|
-
tool: async (client,
|
|
72295
|
-
const [result, apiCall] = await issuingTransactionsList(client,
|
|
73032
|
+
args: args85,
|
|
73033
|
+
tool: async (client, args86, ctx) => {
|
|
73034
|
+
const [result, apiCall] = await issuingTransactionsList(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72296
73035
|
if (!result.ok) {
|
|
72297
73036
|
return {
|
|
72298
73037
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72307,9 +73046,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
72307
73046
|
|
|
72308
73047
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
72309
73048
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
72310
|
-
return new APIPromise($
|
|
73049
|
+
return new APIPromise($do86(client, request, options));
|
|
72311
73050
|
}
|
|
72312
|
-
async function $
|
|
73051
|
+
async function $do86(client, request, options) {
|
|
72313
73052
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72314
73053
|
if (!parsed.ok) {
|
|
72315
73054
|
return [parsed, { status: "invalid" }];
|
|
@@ -72393,12 +73132,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
72393
73132
|
});
|
|
72394
73133
|
|
|
72395
73134
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
72396
|
-
var
|
|
73135
|
+
var args86, tool$issuingTransactionsListAuthorizationEvents;
|
|
72397
73136
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
72398
73137
|
init_issuingTransactionsListAuthorizationEvents();
|
|
72399
73138
|
init_operations();
|
|
72400
73139
|
init_tools();
|
|
72401
|
-
|
|
73140
|
+
args86 = {
|
|
72402
73141
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
72403
73142
|
};
|
|
72404
73143
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -72407,9 +73146,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
72407
73146
|
|
|
72408
73147
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72409
73148
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
72410
|
-
args:
|
|
72411
|
-
tool: async (client,
|
|
72412
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client,
|
|
73149
|
+
args: args86,
|
|
73150
|
+
tool: async (client, args87, ctx) => {
|
|
73151
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72413
73152
|
if (!result.ok) {
|
|
72414
73153
|
return {
|
|
72415
73154
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72424,9 +73163,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
72424
73163
|
|
|
72425
73164
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
72426
73165
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
72427
|
-
return new APIPromise($
|
|
73166
|
+
return new APIPromise($do87(client, request, options));
|
|
72428
73167
|
}
|
|
72429
|
-
async function $
|
|
73168
|
+
async function $do87(client, request, options) {
|
|
72430
73169
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72431
73170
|
if (!parsed.ok) {
|
|
72432
73171
|
return [parsed, { status: "invalid" }];
|
|
@@ -72513,12 +73252,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
72513
73252
|
});
|
|
72514
73253
|
|
|
72515
73254
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
72516
|
-
var
|
|
73255
|
+
var args87, tool$issuingTransactionsListAuthorizations;
|
|
72517
73256
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
72518
73257
|
init_issuingTransactionsListAuthorizations();
|
|
72519
73258
|
init_operations();
|
|
72520
73259
|
init_tools();
|
|
72521
|
-
|
|
73260
|
+
args87 = {
|
|
72522
73261
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
72523
73262
|
};
|
|
72524
73263
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -72527,9 +73266,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
72527
73266
|
|
|
72528
73267
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72529
73268
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
72530
|
-
args:
|
|
72531
|
-
tool: async (client,
|
|
72532
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizations(client,
|
|
73269
|
+
args: args87,
|
|
73270
|
+
tool: async (client, args88, ctx) => {
|
|
73271
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizations(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72533
73272
|
if (!result.ok) {
|
|
72534
73273
|
return {
|
|
72535
73274
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72544,9 +73283,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
72544
73283
|
|
|
72545
73284
|
// src/funcs/onboardingCreateInvite.ts
|
|
72546
73285
|
function onboardingCreateInvite(client, request, options) {
|
|
72547
|
-
return new APIPromise($
|
|
73286
|
+
return new APIPromise($do88(client, request, options));
|
|
72548
73287
|
}
|
|
72549
|
-
async function $
|
|
73288
|
+
async function $do88(client, request, options) {
|
|
72550
73289
|
const parsed = safeParse(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72551
73290
|
if (!parsed.ok) {
|
|
72552
73291
|
return [parsed, { status: "invalid" }];
|
|
@@ -72633,12 +73372,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
72633
73372
|
});
|
|
72634
73373
|
|
|
72635
73374
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
72636
|
-
var
|
|
73375
|
+
var args88, tool$onboardingCreateInvite;
|
|
72637
73376
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
72638
73377
|
init_onboardingCreateInvite();
|
|
72639
73378
|
init_components();
|
|
72640
73379
|
init_tools();
|
|
72641
|
-
|
|
73380
|
+
args88 = {
|
|
72642
73381
|
request: OnboardingInviteRequest$inboundSchema
|
|
72643
73382
|
};
|
|
72644
73383
|
tool$onboardingCreateInvite = {
|
|
@@ -72647,9 +73386,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
72647
73386
|
|
|
72648
73387
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72649
73388
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
72650
|
-
args:
|
|
72651
|
-
tool: async (client,
|
|
72652
|
-
const [result, apiCall] = await onboardingCreateInvite(client,
|
|
73389
|
+
args: args88,
|
|
73390
|
+
tool: async (client, args89, ctx) => {
|
|
73391
|
+
const [result, apiCall] = await onboardingCreateInvite(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72653
73392
|
if (!result.ok) {
|
|
72654
73393
|
return {
|
|
72655
73394
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72664,9 +73403,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
72664
73403
|
|
|
72665
73404
|
// src/funcs/onboardingGetInvite.ts
|
|
72666
73405
|
function onboardingGetInvite(client, request, options) {
|
|
72667
|
-
return new APIPromise($
|
|
73406
|
+
return new APIPromise($do89(client, request, options));
|
|
72668
73407
|
}
|
|
72669
|
-
async function $
|
|
73408
|
+
async function $do89(client, request, options) {
|
|
72670
73409
|
const parsed = safeParse(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72671
73410
|
if (!parsed.ok) {
|
|
72672
73411
|
return [parsed, { status: "invalid" }];
|
|
@@ -72744,12 +73483,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
72744
73483
|
});
|
|
72745
73484
|
|
|
72746
73485
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
72747
|
-
var
|
|
73486
|
+
var args89, tool$onboardingGetInvite;
|
|
72748
73487
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
72749
73488
|
init_onboardingGetInvite();
|
|
72750
73489
|
init_operations();
|
|
72751
73490
|
init_tools();
|
|
72752
|
-
|
|
73491
|
+
args89 = {
|
|
72753
73492
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
72754
73493
|
};
|
|
72755
73494
|
tool$onboardingGetInvite = {
|
|
@@ -72758,9 +73497,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
72758
73497
|
|
|
72759
73498
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72760
73499
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
72761
|
-
args:
|
|
72762
|
-
tool: async (client,
|
|
72763
|
-
const [result, apiCall] = await onboardingGetInvite(client,
|
|
73500
|
+
args: args89,
|
|
73501
|
+
tool: async (client, args90, ctx) => {
|
|
73502
|
+
const [result, apiCall] = await onboardingGetInvite(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72764
73503
|
if (!result.ok) {
|
|
72765
73504
|
return {
|
|
72766
73505
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72775,9 +73514,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
72775
73514
|
|
|
72776
73515
|
// src/funcs/onboardingListInvites.ts
|
|
72777
73516
|
function onboardingListInvites(client, _request, options) {
|
|
72778
|
-
return new APIPromise($
|
|
73517
|
+
return new APIPromise($do90(client, _request, options));
|
|
72779
73518
|
}
|
|
72780
|
-
async function $
|
|
73519
|
+
async function $do90(client, _request, options) {
|
|
72781
73520
|
const path = pathToFunc("/onboarding-invites")();
|
|
72782
73521
|
const headers = new Headers(compactMap({
|
|
72783
73522
|
Accept: "application/json",
|
|
@@ -72841,12 +73580,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
72841
73580
|
});
|
|
72842
73581
|
|
|
72843
73582
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
72844
|
-
var
|
|
73583
|
+
var args90, tool$onboardingListInvites;
|
|
72845
73584
|
var init_onboardingListInvites2 = __esm(() => {
|
|
72846
73585
|
init_onboardingListInvites();
|
|
72847
73586
|
init_operations();
|
|
72848
73587
|
init_tools();
|
|
72849
|
-
|
|
73588
|
+
args90 = {
|
|
72850
73589
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
72851
73590
|
};
|
|
72852
73591
|
tool$onboardingListInvites = {
|
|
@@ -72855,9 +73594,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
72855
73594
|
|
|
72856
73595
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72857
73596
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
72858
|
-
args:
|
|
72859
|
-
tool: async (client,
|
|
72860
|
-
const [result, apiCall] = await onboardingListInvites(client,
|
|
73597
|
+
args: args90,
|
|
73598
|
+
tool: async (client, args91, ctx) => {
|
|
73599
|
+
const [result, apiCall] = await onboardingListInvites(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72861
73600
|
if (!result.ok) {
|
|
72862
73601
|
return {
|
|
72863
73602
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72872,9 +73611,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
72872
73611
|
|
|
72873
73612
|
// src/funcs/onboardingRevokeInvite.ts
|
|
72874
73613
|
function onboardingRevokeInvite(client, request, options) {
|
|
72875
|
-
return new APIPromise($
|
|
73614
|
+
return new APIPromise($do91(client, request, options));
|
|
72876
73615
|
}
|
|
72877
|
-
async function $
|
|
73616
|
+
async function $do91(client, request, options) {
|
|
72878
73617
|
const parsed = safeParse(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72879
73618
|
if (!parsed.ok) {
|
|
72880
73619
|
return [parsed, { status: "invalid" }];
|
|
@@ -72949,12 +73688,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
72949
73688
|
});
|
|
72950
73689
|
|
|
72951
73690
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
72952
|
-
var
|
|
73691
|
+
var args91, tool$onboardingRevokeInvite;
|
|
72953
73692
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
72954
73693
|
init_onboardingRevokeInvite();
|
|
72955
73694
|
init_operations();
|
|
72956
73695
|
init_tools();
|
|
72957
|
-
|
|
73696
|
+
args91 = {
|
|
72958
73697
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
72959
73698
|
};
|
|
72960
73699
|
tool$onboardingRevokeInvite = {
|
|
@@ -72963,9 +73702,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
72963
73702
|
|
|
72964
73703
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72965
73704
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
72966
|
-
args:
|
|
72967
|
-
tool: async (client,
|
|
72968
|
-
const [result, apiCall] = await onboardingRevokeInvite(client,
|
|
73705
|
+
args: args91,
|
|
73706
|
+
tool: async (client, args92, ctx) => {
|
|
73707
|
+
const [result, apiCall] = await onboardingRevokeInvite(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72969
73708
|
if (!result.ok) {
|
|
72970
73709
|
return {
|
|
72971
73710
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72979,9 +73718,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
72979
73718
|
|
|
72980
73719
|
// src/funcs/paymentLinksCreate.ts
|
|
72981
73720
|
function paymentLinksCreate(client, request, options) {
|
|
72982
|
-
return new APIPromise($
|
|
73721
|
+
return new APIPromise($do92(client, request, options));
|
|
72983
73722
|
}
|
|
72984
|
-
async function $
|
|
73723
|
+
async function $do92(client, request, options) {
|
|
72985
73724
|
const parsed = safeParse(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72986
73725
|
if (!parsed.ok) {
|
|
72987
73726
|
return [parsed, { status: "invalid" }];
|
|
@@ -73073,12 +73812,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
73073
73812
|
});
|
|
73074
73813
|
|
|
73075
73814
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
73076
|
-
var
|
|
73815
|
+
var args92, tool$paymentLinksCreate;
|
|
73077
73816
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
73078
73817
|
init_paymentLinksCreate();
|
|
73079
73818
|
init_operations();
|
|
73080
73819
|
init_tools();
|
|
73081
|
-
|
|
73820
|
+
args92 = {
|
|
73082
73821
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
73083
73822
|
};
|
|
73084
73823
|
tool$paymentLinksCreate = {
|
|
@@ -73087,9 +73826,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
73087
73826
|
|
|
73088
73827
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73089
73828
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73090
|
-
args:
|
|
73091
|
-
tool: async (client,
|
|
73092
|
-
const [result, apiCall] = await paymentLinksCreate(client,
|
|
73829
|
+
args: args92,
|
|
73830
|
+
tool: async (client, args93, ctx) => {
|
|
73831
|
+
const [result, apiCall] = await paymentLinksCreate(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73093
73832
|
if (!result.ok) {
|
|
73094
73833
|
return {
|
|
73095
73834
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73104,9 +73843,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73104
73843
|
|
|
73105
73844
|
// src/funcs/paymentLinksDisable.ts
|
|
73106
73845
|
function paymentLinksDisable(client, request, options) {
|
|
73107
|
-
return new APIPromise($
|
|
73846
|
+
return new APIPromise($do93(client, request, options));
|
|
73108
73847
|
}
|
|
73109
|
-
async function $
|
|
73848
|
+
async function $do93(client, request, options) {
|
|
73110
73849
|
const parsed = safeParse(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73111
73850
|
if (!parsed.ok) {
|
|
73112
73851
|
return [parsed, { status: "invalid" }];
|
|
@@ -73187,12 +73926,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
73187
73926
|
});
|
|
73188
73927
|
|
|
73189
73928
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
73190
|
-
var
|
|
73929
|
+
var args93, tool$paymentLinksDisable;
|
|
73191
73930
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
73192
73931
|
init_paymentLinksDisable();
|
|
73193
73932
|
init_operations();
|
|
73194
73933
|
init_tools();
|
|
73195
|
-
|
|
73934
|
+
args93 = {
|
|
73196
73935
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
73197
73936
|
};
|
|
73198
73937
|
tool$paymentLinksDisable = {
|
|
@@ -73201,9 +73940,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
73201
73940
|
|
|
73202
73941
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73203
73942
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73204
|
-
args:
|
|
73205
|
-
tool: async (client,
|
|
73206
|
-
const [result, apiCall] = await paymentLinksDisable(client,
|
|
73943
|
+
args: args93,
|
|
73944
|
+
tool: async (client, args94, ctx) => {
|
|
73945
|
+
const [result, apiCall] = await paymentLinksDisable(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73207
73946
|
if (!result.ok) {
|
|
73208
73947
|
return {
|
|
73209
73948
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73217,9 +73956,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73217
73956
|
|
|
73218
73957
|
// src/funcs/paymentLinksGet.ts
|
|
73219
73958
|
function paymentLinksGet(client, request, options) {
|
|
73220
|
-
return new APIPromise($
|
|
73959
|
+
return new APIPromise($do94(client, request, options));
|
|
73221
73960
|
}
|
|
73222
|
-
async function $
|
|
73961
|
+
async function $do94(client, request, options) {
|
|
73223
73962
|
const parsed = safeParse(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73224
73963
|
if (!parsed.ok) {
|
|
73225
73964
|
return [parsed, { status: "invalid" }];
|
|
@@ -73301,12 +74040,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
73301
74040
|
});
|
|
73302
74041
|
|
|
73303
74042
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
73304
|
-
var
|
|
74043
|
+
var args94, tool$paymentLinksGet;
|
|
73305
74044
|
var init_paymentLinksGet2 = __esm(() => {
|
|
73306
74045
|
init_paymentLinksGet();
|
|
73307
74046
|
init_operations();
|
|
73308
74047
|
init_tools();
|
|
73309
|
-
|
|
74048
|
+
args94 = {
|
|
73310
74049
|
request: GetPaymentLinkRequest$inboundSchema
|
|
73311
74050
|
};
|
|
73312
74051
|
tool$paymentLinksGet = {
|
|
@@ -73315,9 +74054,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
73315
74054
|
|
|
73316
74055
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73317
74056
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
73318
|
-
args:
|
|
73319
|
-
tool: async (client,
|
|
73320
|
-
const [result, apiCall] = await paymentLinksGet(client,
|
|
74057
|
+
args: args94,
|
|
74058
|
+
tool: async (client, args95, ctx) => {
|
|
74059
|
+
const [result, apiCall] = await paymentLinksGet(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73321
74060
|
if (!result.ok) {
|
|
73322
74061
|
return {
|
|
73323
74062
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73332,9 +74071,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
73332
74071
|
|
|
73333
74072
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
73334
74073
|
function paymentLinksGetQRCode(client, request, options) {
|
|
73335
|
-
return new APIPromise($
|
|
74074
|
+
return new APIPromise($do95(client, request, options));
|
|
73336
74075
|
}
|
|
73337
|
-
async function $
|
|
74076
|
+
async function $do95(client, request, options) {
|
|
73338
74077
|
const parsed = safeParse(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73339
74078
|
if (!parsed.ok) {
|
|
73340
74079
|
return [parsed, { status: "invalid" }];
|
|
@@ -73420,12 +74159,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
73420
74159
|
});
|
|
73421
74160
|
|
|
73422
74161
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
73423
|
-
var
|
|
74162
|
+
var args95, tool$paymentLinksGetQRCode;
|
|
73424
74163
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
73425
74164
|
init_paymentLinksGetQRCode();
|
|
73426
74165
|
init_operations();
|
|
73427
74166
|
init_tools();
|
|
73428
|
-
|
|
74167
|
+
args95 = {
|
|
73429
74168
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
73430
74169
|
};
|
|
73431
74170
|
tool$paymentLinksGetQRCode = {
|
|
@@ -73436,9 +74175,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
73436
74175
|
|
|
73437
74176
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73438
74177
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73439
|
-
args:
|
|
73440
|
-
tool: async (client,
|
|
73441
|
-
const [result, apiCall] = await paymentLinksGetQRCode(client,
|
|
74178
|
+
args: args95,
|
|
74179
|
+
tool: async (client, args96, ctx) => {
|
|
74180
|
+
const [result, apiCall] = await paymentLinksGetQRCode(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73442
74181
|
if (!result.ok) {
|
|
73443
74182
|
return {
|
|
73444
74183
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73453,9 +74192,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73453
74192
|
|
|
73454
74193
|
// src/funcs/paymentLinksList.ts
|
|
73455
74194
|
function paymentLinksList(client, request, options) {
|
|
73456
|
-
return new APIPromise($
|
|
74195
|
+
return new APIPromise($do96(client, request, options));
|
|
73457
74196
|
}
|
|
73458
|
-
async function $
|
|
74197
|
+
async function $do96(client, request, options) {
|
|
73459
74198
|
const parsed = safeParse(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73460
74199
|
if (!parsed.ok) {
|
|
73461
74200
|
return [parsed, { status: "invalid" }];
|
|
@@ -73533,12 +74272,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
73533
74272
|
});
|
|
73534
74273
|
|
|
73535
74274
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
73536
|
-
var
|
|
74275
|
+
var args96, tool$paymentLinksList;
|
|
73537
74276
|
var init_paymentLinksList2 = __esm(() => {
|
|
73538
74277
|
init_paymentLinksList();
|
|
73539
74278
|
init_operations();
|
|
73540
74279
|
init_tools();
|
|
73541
|
-
|
|
74280
|
+
args96 = {
|
|
73542
74281
|
request: ListPaymentLinksRequest$inboundSchema
|
|
73543
74282
|
};
|
|
73544
74283
|
tool$paymentLinksList = {
|
|
@@ -73547,9 +74286,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
73547
74286
|
|
|
73548
74287
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73549
74288
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
73550
|
-
args:
|
|
73551
|
-
tool: async (client,
|
|
73552
|
-
const [result, apiCall] = await paymentLinksList(client,
|
|
74289
|
+
args: args96,
|
|
74290
|
+
tool: async (client, args97, ctx) => {
|
|
74291
|
+
const [result, apiCall] = await paymentLinksList(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73553
74292
|
if (!result.ok) {
|
|
73554
74293
|
return {
|
|
73555
74294
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73564,9 +74303,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
73564
74303
|
|
|
73565
74304
|
// src/funcs/paymentLinksUpdate.ts
|
|
73566
74305
|
function paymentLinksUpdate(client, request, options) {
|
|
73567
|
-
return new APIPromise($
|
|
74306
|
+
return new APIPromise($do97(client, request, options));
|
|
73568
74307
|
}
|
|
73569
|
-
async function $
|
|
74308
|
+
async function $do97(client, request, options) {
|
|
73570
74309
|
const parsed = safeParse(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73571
74310
|
if (!parsed.ok) {
|
|
73572
74311
|
return [parsed, { status: "invalid" }];
|
|
@@ -73662,12 +74401,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
73662
74401
|
});
|
|
73663
74402
|
|
|
73664
74403
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
73665
|
-
var
|
|
74404
|
+
var args97, tool$paymentLinksUpdate;
|
|
73666
74405
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
73667
74406
|
init_paymentLinksUpdate();
|
|
73668
74407
|
init_operations();
|
|
73669
74408
|
init_tools();
|
|
73670
|
-
|
|
74409
|
+
args97 = {
|
|
73671
74410
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
73672
74411
|
};
|
|
73673
74412
|
tool$paymentLinksUpdate = {
|
|
@@ -73676,9 +74415,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
73676
74415
|
|
|
73677
74416
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73678
74417
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73679
|
-
args:
|
|
73680
|
-
tool: async (client,
|
|
73681
|
-
const [result, apiCall] = await paymentLinksUpdate(client,
|
|
74418
|
+
args: args97,
|
|
74419
|
+
tool: async (client, args98, ctx) => {
|
|
74420
|
+
const [result, apiCall] = await paymentLinksUpdate(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73682
74421
|
if (!result.ok) {
|
|
73683
74422
|
return {
|
|
73684
74423
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73693,9 +74432,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73693
74432
|
|
|
73694
74433
|
// src/funcs/paymentMethodsGet.ts
|
|
73695
74434
|
function paymentMethodsGet(client, request, options) {
|
|
73696
|
-
return new APIPromise($
|
|
74435
|
+
return new APIPromise($do98(client, request, options));
|
|
73697
74436
|
}
|
|
73698
|
-
async function $
|
|
74437
|
+
async function $do98(client, request, options) {
|
|
73699
74438
|
const parsed = safeParse(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73700
74439
|
if (!parsed.ok) {
|
|
73701
74440
|
return [parsed, { status: "invalid" }];
|
|
@@ -73777,12 +74516,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
73777
74516
|
});
|
|
73778
74517
|
|
|
73779
74518
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
73780
|
-
var
|
|
74519
|
+
var args98, tool$paymentMethodsGet;
|
|
73781
74520
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
73782
74521
|
init_paymentMethodsGet();
|
|
73783
74522
|
init_operations();
|
|
73784
74523
|
init_tools();
|
|
73785
|
-
|
|
74524
|
+
args98 = {
|
|
73786
74525
|
request: GetPaymentMethodRequest$inboundSchema
|
|
73787
74526
|
};
|
|
73788
74527
|
tool$paymentMethodsGet = {
|
|
@@ -73791,9 +74530,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
73791
74530
|
|
|
73792
74531
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73793
74532
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
73794
|
-
args:
|
|
73795
|
-
tool: async (client,
|
|
73796
|
-
const [result, apiCall] = await paymentMethodsGet(client,
|
|
74533
|
+
args: args98,
|
|
74534
|
+
tool: async (client, args99, ctx) => {
|
|
74535
|
+
const [result, apiCall] = await paymentMethodsGet(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73797
74536
|
if (!result.ok) {
|
|
73798
74537
|
return {
|
|
73799
74538
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73808,9 +74547,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
73808
74547
|
|
|
73809
74548
|
// src/funcs/paymentMethodsList.ts
|
|
73810
74549
|
function paymentMethodsList(client, request, options) {
|
|
73811
|
-
return new APIPromise($
|
|
74550
|
+
return new APIPromise($do99(client, request, options));
|
|
73812
74551
|
}
|
|
73813
|
-
async function $
|
|
74552
|
+
async function $do99(client, request, options) {
|
|
73814
74553
|
const parsed = safeParse(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73815
74554
|
if (!parsed.ok) {
|
|
73816
74555
|
return [parsed, { status: "invalid" }];
|
|
@@ -73893,12 +74632,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
73893
74632
|
});
|
|
73894
74633
|
|
|
73895
74634
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
73896
|
-
var
|
|
74635
|
+
var args99, tool$paymentMethodsList;
|
|
73897
74636
|
var init_paymentMethodsList2 = __esm(() => {
|
|
73898
74637
|
init_paymentMethodsList();
|
|
73899
74638
|
init_operations();
|
|
73900
74639
|
init_tools();
|
|
73901
|
-
|
|
74640
|
+
args99 = {
|
|
73902
74641
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
73903
74642
|
};
|
|
73904
74643
|
tool$paymentMethodsList = {
|
|
@@ -73908,9 +74647,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
73908
74647
|
|
|
73909
74648
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73910
74649
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
73911
|
-
args:
|
|
73912
|
-
tool: async (client,
|
|
73913
|
-
const [result, apiCall] = await paymentMethodsList(client,
|
|
74650
|
+
args: args99,
|
|
74651
|
+
tool: async (client, args100, ctx) => {
|
|
74652
|
+
const [result, apiCall] = await paymentMethodsList(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73914
74653
|
if (!result.ok) {
|
|
73915
74654
|
return {
|
|
73916
74655
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73925,9 +74664,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
73925
74664
|
|
|
73926
74665
|
// src/funcs/pingPing.ts
|
|
73927
74666
|
function pingPing(client, _request, options) {
|
|
73928
|
-
return new APIPromise($
|
|
74667
|
+
return new APIPromise($do100(client, _request, options));
|
|
73929
74668
|
}
|
|
73930
|
-
async function $
|
|
74669
|
+
async function $do100(client, _request, options) {
|
|
73931
74670
|
const path = pathToFunc("/ping")();
|
|
73932
74671
|
const headers = new Headers(compactMap({
|
|
73933
74672
|
Accept: "*/*",
|
|
@@ -73990,12 +74729,12 @@ var init_pingPing = __esm(() => {
|
|
|
73990
74729
|
});
|
|
73991
74730
|
|
|
73992
74731
|
// src/mcp-server/tools/pingPing.ts
|
|
73993
|
-
var
|
|
74732
|
+
var args100, tool$pingPing;
|
|
73994
74733
|
var init_pingPing2 = __esm(() => {
|
|
73995
74734
|
init_pingPing();
|
|
73996
74735
|
init_operations();
|
|
73997
74736
|
init_tools();
|
|
73998
|
-
|
|
74737
|
+
args100 = {
|
|
73999
74738
|
request: PingRequest$inboundSchema
|
|
74000
74739
|
};
|
|
74001
74740
|
tool$pingPing = {
|
|
@@ -74004,9 +74743,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
74004
74743
|
|
|
74005
74744
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74006
74745
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
74007
|
-
args:
|
|
74008
|
-
tool: async (client,
|
|
74009
|
-
const [result, apiCall] = await pingPing(client,
|
|
74746
|
+
args: args100,
|
|
74747
|
+
tool: async (client, args101, ctx) => {
|
|
74748
|
+
const [result, apiCall] = await pingPing(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74010
74749
|
if (!result.ok) {
|
|
74011
74750
|
return {
|
|
74012
74751
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74020,9 +74759,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
74020
74759
|
|
|
74021
74760
|
// src/funcs/receiptsCreate.ts
|
|
74022
74761
|
function receiptsCreate(client, request, options) {
|
|
74023
|
-
return new APIPromise($
|
|
74762
|
+
return new APIPromise($do101(client, request, options));
|
|
74024
74763
|
}
|
|
74025
|
-
async function $
|
|
74764
|
+
async function $do101(client, request, options) {
|
|
74026
74765
|
const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
74027
74766
|
if (!parsed.ok) {
|
|
74028
74767
|
return [parsed, { status: "invalid" }];
|
|
@@ -74110,13 +74849,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
74110
74849
|
});
|
|
74111
74850
|
|
|
74112
74851
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
74113
|
-
var
|
|
74852
|
+
var args101, tool$receiptsCreate;
|
|
74114
74853
|
var init_receiptsCreate2 = __esm(() => {
|
|
74115
74854
|
init_esm();
|
|
74116
74855
|
init_receiptsCreate();
|
|
74117
74856
|
init_components();
|
|
74118
74857
|
init_tools();
|
|
74119
|
-
|
|
74858
|
+
args101 = {
|
|
74120
74859
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
74121
74860
|
};
|
|
74122
74861
|
tool$receiptsCreate = {
|
|
@@ -74125,9 +74864,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
74125
74864
|
|
|
74126
74865
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74127
74866
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74128
|
-
args:
|
|
74129
|
-
tool: async (client,
|
|
74130
|
-
const [result, apiCall] = await receiptsCreate(client,
|
|
74867
|
+
args: args101,
|
|
74868
|
+
tool: async (client, args102, ctx) => {
|
|
74869
|
+
const [result, apiCall] = await receiptsCreate(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74131
74870
|
if (!result.ok) {
|
|
74132
74871
|
return {
|
|
74133
74872
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74142,9 +74881,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
74142
74881
|
|
|
74143
74882
|
// src/funcs/receiptsList.ts
|
|
74144
74883
|
function receiptsList(client, request, options) {
|
|
74145
|
-
return new APIPromise($
|
|
74884
|
+
return new APIPromise($do102(client, request, options));
|
|
74146
74885
|
}
|
|
74147
|
-
async function $
|
|
74886
|
+
async function $do102(client, request, options) {
|
|
74148
74887
|
const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74149
74888
|
if (!parsed.ok) {
|
|
74150
74889
|
return [parsed, { status: "invalid" }];
|
|
@@ -74220,12 +74959,12 @@ var init_receiptsList = __esm(() => {
|
|
|
74220
74959
|
});
|
|
74221
74960
|
|
|
74222
74961
|
// src/mcp-server/tools/receiptsList.ts
|
|
74223
|
-
var
|
|
74962
|
+
var args102, tool$receiptsList;
|
|
74224
74963
|
var init_receiptsList2 = __esm(() => {
|
|
74225
74964
|
init_receiptsList();
|
|
74226
74965
|
init_operations();
|
|
74227
74966
|
init_tools();
|
|
74228
|
-
|
|
74967
|
+
args102 = {
|
|
74229
74968
|
request: ListReceiptsRequest$inboundSchema
|
|
74230
74969
|
};
|
|
74231
74970
|
tool$receiptsList = {
|
|
@@ -74234,9 +74973,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
74234
74973
|
|
|
74235
74974
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74236
74975
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74237
|
-
args:
|
|
74238
|
-
tool: async (client,
|
|
74239
|
-
const [result, apiCall] = await receiptsList(client,
|
|
74976
|
+
args: args102,
|
|
74977
|
+
tool: async (client, args103, ctx) => {
|
|
74978
|
+
const [result, apiCall] = await receiptsList(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74240
74979
|
if (!result.ok) {
|
|
74241
74980
|
return {
|
|
74242
74981
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74251,9 +74990,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74251
74990
|
|
|
74252
74991
|
// src/funcs/representativesCreate.ts
|
|
74253
74992
|
function representativesCreate(client, request, options) {
|
|
74254
|
-
return new APIPromise($
|
|
74993
|
+
return new APIPromise($do103(client, request, options));
|
|
74255
74994
|
}
|
|
74256
|
-
async function $
|
|
74995
|
+
async function $do103(client, request, options) {
|
|
74257
74996
|
const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74258
74997
|
if (!parsed.ok) {
|
|
74259
74998
|
return [parsed, { status: "invalid" }];
|
|
@@ -74349,12 +75088,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
74349
75088
|
});
|
|
74350
75089
|
|
|
74351
75090
|
// src/mcp-server/tools/representativesCreate.ts
|
|
74352
|
-
var
|
|
75091
|
+
var args103, tool$representativesCreate;
|
|
74353
75092
|
var init_representativesCreate2 = __esm(() => {
|
|
74354
75093
|
init_representativesCreate();
|
|
74355
75094
|
init_operations();
|
|
74356
75095
|
init_tools();
|
|
74357
|
-
|
|
75096
|
+
args103 = {
|
|
74358
75097
|
request: CreateRepresentativeRequest$inboundSchema
|
|
74359
75098
|
};
|
|
74360
75099
|
tool$representativesCreate = {
|
|
@@ -74365,9 +75104,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
74365
75104
|
|
|
74366
75105
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74367
75106
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
74368
|
-
args:
|
|
74369
|
-
tool: async (client,
|
|
74370
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
75107
|
+
args: args103,
|
|
75108
|
+
tool: async (client, args104, ctx) => {
|
|
75109
|
+
const [result, apiCall] = await representativesCreate(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74371
75110
|
if (!result.ok) {
|
|
74372
75111
|
return {
|
|
74373
75112
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74382,9 +75121,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
74382
75121
|
|
|
74383
75122
|
// src/funcs/representativesDelete.ts
|
|
74384
75123
|
function representativesDelete(client, request, options) {
|
|
74385
|
-
return new APIPromise($
|
|
75124
|
+
return new APIPromise($do104(client, request, options));
|
|
74386
75125
|
}
|
|
74387
|
-
async function $
|
|
75126
|
+
async function $do104(client, request, options) {
|
|
74388
75127
|
const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74389
75128
|
if (!parsed.ok) {
|
|
74390
75129
|
return [parsed, { status: "invalid" }];
|
|
@@ -74472,12 +75211,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
74472
75211
|
});
|
|
74473
75212
|
|
|
74474
75213
|
// src/mcp-server/tools/representativesDelete.ts
|
|
74475
|
-
var
|
|
75214
|
+
var args104, tool$representativesDelete;
|
|
74476
75215
|
var init_representativesDelete2 = __esm(() => {
|
|
74477
75216
|
init_representativesDelete();
|
|
74478
75217
|
init_operations();
|
|
74479
75218
|
init_tools();
|
|
74480
|
-
|
|
75219
|
+
args104 = {
|
|
74481
75220
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
74482
75221
|
};
|
|
74483
75222
|
tool$representativesDelete = {
|
|
@@ -74486,9 +75225,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
74486
75225
|
|
|
74487
75226
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74488
75227
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
74489
|
-
args:
|
|
74490
|
-
tool: async (client,
|
|
74491
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
75228
|
+
args: args104,
|
|
75229
|
+
tool: async (client, args105, ctx) => {
|
|
75230
|
+
const [result, apiCall] = await representativesDelete(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74492
75231
|
if (!result.ok) {
|
|
74493
75232
|
return {
|
|
74494
75233
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74502,9 +75241,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
74502
75241
|
|
|
74503
75242
|
// src/funcs/representativesGet.ts
|
|
74504
75243
|
function representativesGet(client, request, options) {
|
|
74505
|
-
return new APIPromise($
|
|
75244
|
+
return new APIPromise($do105(client, request, options));
|
|
74506
75245
|
}
|
|
74507
|
-
async function $
|
|
75246
|
+
async function $do105(client, request, options) {
|
|
74508
75247
|
const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74509
75248
|
if (!parsed.ok) {
|
|
74510
75249
|
return [parsed, { status: "invalid" }];
|
|
@@ -74583,12 +75322,12 @@ var init_representativesGet = __esm(() => {
|
|
|
74583
75322
|
});
|
|
74584
75323
|
|
|
74585
75324
|
// src/mcp-server/tools/representativesGet.ts
|
|
74586
|
-
var
|
|
75325
|
+
var args105, tool$representativesGet;
|
|
74587
75326
|
var init_representativesGet2 = __esm(() => {
|
|
74588
75327
|
init_representativesGet();
|
|
74589
75328
|
init_operations();
|
|
74590
75329
|
init_tools();
|
|
74591
|
-
|
|
75330
|
+
args105 = {
|
|
74592
75331
|
request: GetRepresentativeRequest$inboundSchema
|
|
74593
75332
|
};
|
|
74594
75333
|
tool$representativesGet = {
|
|
@@ -74597,9 +75336,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
74597
75336
|
|
|
74598
75337
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74599
75338
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
74600
|
-
args:
|
|
74601
|
-
tool: async (client,
|
|
74602
|
-
const [result, apiCall] = await representativesGet(client,
|
|
75339
|
+
args: args105,
|
|
75340
|
+
tool: async (client, args106, ctx) => {
|
|
75341
|
+
const [result, apiCall] = await representativesGet(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74603
75342
|
if (!result.ok) {
|
|
74604
75343
|
return {
|
|
74605
75344
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74614,9 +75353,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
74614
75353
|
|
|
74615
75354
|
// src/funcs/representativesList.ts
|
|
74616
75355
|
function representativesList(client, request, options) {
|
|
74617
|
-
return new APIPromise($
|
|
75356
|
+
return new APIPromise($do106(client, request, options));
|
|
74618
75357
|
}
|
|
74619
|
-
async function $
|
|
75358
|
+
async function $do106(client, request, options) {
|
|
74620
75359
|
const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74621
75360
|
if (!parsed.ok) {
|
|
74622
75361
|
return [parsed, { status: "invalid" }];
|
|
@@ -74694,12 +75433,12 @@ var init_representativesList = __esm(() => {
|
|
|
74694
75433
|
});
|
|
74695
75434
|
|
|
74696
75435
|
// src/mcp-server/tools/representativesList.ts
|
|
74697
|
-
var
|
|
75436
|
+
var args106, tool$representativesList;
|
|
74698
75437
|
var init_representativesList2 = __esm(() => {
|
|
74699
75438
|
init_representativesList();
|
|
74700
75439
|
init_operations();
|
|
74701
75440
|
init_tools();
|
|
74702
|
-
|
|
75441
|
+
args106 = {
|
|
74703
75442
|
request: ListRepresentativesRequest$inboundSchema
|
|
74704
75443
|
};
|
|
74705
75444
|
tool$representativesList = {
|
|
@@ -74711,9 +75450,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
74711
75450
|
|
|
74712
75451
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74713
75452
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
74714
|
-
args:
|
|
74715
|
-
tool: async (client,
|
|
74716
|
-
const [result, apiCall] = await representativesList(client,
|
|
75453
|
+
args: args106,
|
|
75454
|
+
tool: async (client, args107, ctx) => {
|
|
75455
|
+
const [result, apiCall] = await representativesList(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74717
75456
|
if (!result.ok) {
|
|
74718
75457
|
return {
|
|
74719
75458
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74728,9 +75467,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
74728
75467
|
|
|
74729
75468
|
// src/funcs/representativesUpdate.ts
|
|
74730
75469
|
function representativesUpdate(client, request, options) {
|
|
74731
|
-
return new APIPromise($
|
|
75470
|
+
return new APIPromise($do107(client, request, options));
|
|
74732
75471
|
}
|
|
74733
|
-
async function $
|
|
75472
|
+
async function $do107(client, request, options) {
|
|
74734
75473
|
const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74735
75474
|
if (!parsed.ok) {
|
|
74736
75475
|
return [parsed, { status: "invalid" }];
|
|
@@ -74824,12 +75563,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
74824
75563
|
});
|
|
74825
75564
|
|
|
74826
75565
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
74827
|
-
var
|
|
75566
|
+
var args107, tool$representativesUpdate;
|
|
74828
75567
|
var init_representativesUpdate2 = __esm(() => {
|
|
74829
75568
|
init_representativesUpdate();
|
|
74830
75569
|
init_operations();
|
|
74831
75570
|
init_tools();
|
|
74832
|
-
|
|
75571
|
+
args107 = {
|
|
74833
75572
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
74834
75573
|
};
|
|
74835
75574
|
tool$representativesUpdate = {
|
|
@@ -74851,9 +75590,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
74851
75590
|
|
|
74852
75591
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74853
75592
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
74854
|
-
args:
|
|
74855
|
-
tool: async (client,
|
|
74856
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
75593
|
+
args: args107,
|
|
75594
|
+
tool: async (client, args108, ctx) => {
|
|
75595
|
+
const [result, apiCall] = await representativesUpdate(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74857
75596
|
if (!result.ok) {
|
|
74858
75597
|
return {
|
|
74859
75598
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74868,9 +75607,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
74868
75607
|
|
|
74869
75608
|
// src/funcs/schedulingCancel.ts
|
|
74870
75609
|
function schedulingCancel(client, request, options) {
|
|
74871
|
-
return new APIPromise($
|
|
75610
|
+
return new APIPromise($do108(client, request, options));
|
|
74872
75611
|
}
|
|
74873
|
-
async function $
|
|
75612
|
+
async function $do108(client, request, options) {
|
|
74874
75613
|
const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74875
75614
|
if (!parsed.ok) {
|
|
74876
75615
|
return [parsed, { status: "invalid" }];
|
|
@@ -74963,12 +75702,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
74963
75702
|
});
|
|
74964
75703
|
|
|
74965
75704
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
74966
|
-
var
|
|
75705
|
+
var args108, tool$schedulingCancel;
|
|
74967
75706
|
var init_schedulingCancel2 = __esm(() => {
|
|
74968
75707
|
init_schedulingCancel();
|
|
74969
75708
|
init_operations();
|
|
74970
75709
|
init_tools();
|
|
74971
|
-
|
|
75710
|
+
args108 = {
|
|
74972
75711
|
request: CancelScheduleRequest$inboundSchema
|
|
74973
75712
|
};
|
|
74974
75713
|
tool$schedulingCancel = {
|
|
@@ -74977,9 +75716,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
74977
75716
|
|
|
74978
75717
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74979
75718
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74980
|
-
args:
|
|
74981
|
-
tool: async (client,
|
|
74982
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
75719
|
+
args: args108,
|
|
75720
|
+
tool: async (client, args109, ctx) => {
|
|
75721
|
+
const [result, apiCall] = await schedulingCancel(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74983
75722
|
if (!result.ok) {
|
|
74984
75723
|
return {
|
|
74985
75724
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74993,9 +75732,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74993
75732
|
|
|
74994
75733
|
// src/funcs/schedulingCreate.ts
|
|
74995
75734
|
function schedulingCreate(client, request, options) {
|
|
74996
|
-
return new APIPromise($
|
|
75735
|
+
return new APIPromise($do109(client, request, options));
|
|
74997
75736
|
}
|
|
74998
|
-
async function $
|
|
75737
|
+
async function $do109(client, request, options) {
|
|
74999
75738
|
const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75000
75739
|
if (!parsed.ok) {
|
|
75001
75740
|
return [parsed, { status: "invalid" }];
|
|
@@ -75089,12 +75828,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
75089
75828
|
});
|
|
75090
75829
|
|
|
75091
75830
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
75092
|
-
var
|
|
75831
|
+
var args109, tool$schedulingCreate;
|
|
75093
75832
|
var init_schedulingCreate2 = __esm(() => {
|
|
75094
75833
|
init_schedulingCreate();
|
|
75095
75834
|
init_operations();
|
|
75096
75835
|
init_tools();
|
|
75097
|
-
|
|
75836
|
+
args109 = {
|
|
75098
75837
|
request: CreateScheduleRequest$inboundSchema
|
|
75099
75838
|
};
|
|
75100
75839
|
tool$schedulingCreate = {
|
|
@@ -75103,9 +75842,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
75103
75842
|
|
|
75104
75843
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75105
75844
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75106
|
-
args:
|
|
75107
|
-
tool: async (client,
|
|
75108
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
75845
|
+
args: args109,
|
|
75846
|
+
tool: async (client, args110, ctx) => {
|
|
75847
|
+
const [result, apiCall] = await schedulingCreate(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75109
75848
|
if (!result.ok) {
|
|
75110
75849
|
return {
|
|
75111
75850
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75120,9 +75859,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75120
75859
|
|
|
75121
75860
|
// src/funcs/schedulingGet.ts
|
|
75122
75861
|
function schedulingGet(client, request, options) {
|
|
75123
|
-
return new APIPromise($
|
|
75862
|
+
return new APIPromise($do110(client, request, options));
|
|
75124
75863
|
}
|
|
75125
|
-
async function $
|
|
75864
|
+
async function $do110(client, request, options) {
|
|
75126
75865
|
const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75127
75866
|
if (!parsed.ok) {
|
|
75128
75867
|
return [parsed, { status: "invalid" }];
|
|
@@ -75204,12 +75943,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
75204
75943
|
});
|
|
75205
75944
|
|
|
75206
75945
|
// src/mcp-server/tools/schedulingGet.ts
|
|
75207
|
-
var
|
|
75946
|
+
var args110, tool$schedulingGet;
|
|
75208
75947
|
var init_schedulingGet2 = __esm(() => {
|
|
75209
75948
|
init_schedulingGet();
|
|
75210
75949
|
init_operations();
|
|
75211
75950
|
init_tools();
|
|
75212
|
-
|
|
75951
|
+
args110 = {
|
|
75213
75952
|
request: GetSchedulesRequest$inboundSchema
|
|
75214
75953
|
};
|
|
75215
75954
|
tool$schedulingGet = {
|
|
@@ -75218,9 +75957,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
75218
75957
|
|
|
75219
75958
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75220
75959
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75221
|
-
args:
|
|
75222
|
-
tool: async (client,
|
|
75223
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
75960
|
+
args: args110,
|
|
75961
|
+
tool: async (client, args111, ctx) => {
|
|
75962
|
+
const [result, apiCall] = await schedulingGet(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75224
75963
|
if (!result.ok) {
|
|
75225
75964
|
return {
|
|
75226
75965
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75235,9 +75974,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75235
75974
|
|
|
75236
75975
|
// src/funcs/schedulingGetOccurrance.ts
|
|
75237
75976
|
function schedulingGetOccurrance(client, request, options) {
|
|
75238
|
-
return new APIPromise($
|
|
75977
|
+
return new APIPromise($do111(client, request, options));
|
|
75239
75978
|
}
|
|
75240
|
-
async function $
|
|
75979
|
+
async function $do111(client, request, options) {
|
|
75241
75980
|
const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75242
75981
|
if (!parsed.ok) {
|
|
75243
75982
|
return [parsed, { status: "invalid" }];
|
|
@@ -75320,12 +76059,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
75320
76059
|
});
|
|
75321
76060
|
|
|
75322
76061
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
75323
|
-
var
|
|
76062
|
+
var args111, tool$schedulingGetOccurrance;
|
|
75324
76063
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
75325
76064
|
init_schedulingGetOccurrance();
|
|
75326
76065
|
init_operations();
|
|
75327
76066
|
init_tools();
|
|
75328
|
-
|
|
76067
|
+
args111 = {
|
|
75329
76068
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
75330
76069
|
};
|
|
75331
76070
|
tool$schedulingGetOccurrance = {
|
|
@@ -75334,9 +76073,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
75334
76073
|
|
|
75335
76074
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75336
76075
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75337
|
-
args:
|
|
75338
|
-
tool: async (client,
|
|
75339
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
76076
|
+
args: args111,
|
|
76077
|
+
tool: async (client, args112, ctx) => {
|
|
76078
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75340
76079
|
if (!result.ok) {
|
|
75341
76080
|
return {
|
|
75342
76081
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75351,9 +76090,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75351
76090
|
|
|
75352
76091
|
// src/funcs/schedulingList.ts
|
|
75353
76092
|
function schedulingList(client, request, options) {
|
|
75354
|
-
return new APIPromise($
|
|
76093
|
+
return new APIPromise($do112(client, request, options));
|
|
75355
76094
|
}
|
|
75356
|
-
async function $
|
|
76095
|
+
async function $do112(client, request, options) {
|
|
75357
76096
|
const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75358
76097
|
if (!parsed.ok) {
|
|
75359
76098
|
return [parsed, { status: "invalid" }];
|
|
@@ -75437,12 +76176,12 @@ var init_schedulingList = __esm(() => {
|
|
|
75437
76176
|
});
|
|
75438
76177
|
|
|
75439
76178
|
// src/mcp-server/tools/schedulingList.ts
|
|
75440
|
-
var
|
|
76179
|
+
var args112, tool$schedulingList;
|
|
75441
76180
|
var init_schedulingList2 = __esm(() => {
|
|
75442
76181
|
init_schedulingList();
|
|
75443
76182
|
init_operations();
|
|
75444
76183
|
init_tools();
|
|
75445
|
-
|
|
76184
|
+
args112 = {
|
|
75446
76185
|
request: ListSchedulesRequest$inboundSchema
|
|
75447
76186
|
};
|
|
75448
76187
|
tool$schedulingList = {
|
|
@@ -75451,9 +76190,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
75451
76190
|
|
|
75452
76191
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75453
76192
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75454
|
-
args:
|
|
75455
|
-
tool: async (client,
|
|
75456
|
-
const [result, apiCall] = await schedulingList(client,
|
|
76193
|
+
args: args112,
|
|
76194
|
+
tool: async (client, args113, ctx) => {
|
|
76195
|
+
const [result, apiCall] = await schedulingList(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75457
76196
|
if (!result.ok) {
|
|
75458
76197
|
return {
|
|
75459
76198
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75468,9 +76207,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75468
76207
|
|
|
75469
76208
|
// src/funcs/schedulingUpdate.ts
|
|
75470
76209
|
function schedulingUpdate(client, request, options) {
|
|
75471
|
-
return new APIPromise($
|
|
76210
|
+
return new APIPromise($do113(client, request, options));
|
|
75472
76211
|
}
|
|
75473
|
-
async function $
|
|
76212
|
+
async function $do113(client, request, options) {
|
|
75474
76213
|
const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75475
76214
|
if (!parsed.ok) {
|
|
75476
76215
|
return [parsed, { status: "invalid" }];
|
|
@@ -75568,12 +76307,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
75568
76307
|
});
|
|
75569
76308
|
|
|
75570
76309
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
75571
|
-
var
|
|
76310
|
+
var args113, tool$schedulingUpdate;
|
|
75572
76311
|
var init_schedulingUpdate2 = __esm(() => {
|
|
75573
76312
|
init_schedulingUpdate();
|
|
75574
76313
|
init_operations();
|
|
75575
76314
|
init_tools();
|
|
75576
|
-
|
|
76315
|
+
args113 = {
|
|
75577
76316
|
request: UpdateScheduleRequest$inboundSchema
|
|
75578
76317
|
};
|
|
75579
76318
|
tool$schedulingUpdate = {
|
|
@@ -75582,9 +76321,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
75582
76321
|
|
|
75583
76322
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75584
76323
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75585
|
-
args:
|
|
75586
|
-
tool: async (client,
|
|
75587
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
76324
|
+
args: args113,
|
|
76325
|
+
tool: async (client, args114, ctx) => {
|
|
76326
|
+
const [result, apiCall] = await schedulingUpdate(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75588
76327
|
if (!result.ok) {
|
|
75589
76328
|
return {
|
|
75590
76329
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75599,9 +76338,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75599
76338
|
|
|
75600
76339
|
// src/funcs/statementsGet.ts
|
|
75601
76340
|
function statementsGet(client, request, options) {
|
|
75602
|
-
return new APIPromise($
|
|
76341
|
+
return new APIPromise($do114(client, request, options));
|
|
75603
76342
|
}
|
|
75604
|
-
async function $
|
|
76343
|
+
async function $do114(client, request, options) {
|
|
75605
76344
|
const parsed = safeParse(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75606
76345
|
if (!parsed.ok) {
|
|
75607
76346
|
return [parsed, { status: "invalid" }];
|
|
@@ -75687,12 +76426,12 @@ var init_statementsGet = __esm(() => {
|
|
|
75687
76426
|
});
|
|
75688
76427
|
|
|
75689
76428
|
// src/mcp-server/tools/statementsGet.ts
|
|
75690
|
-
var
|
|
76429
|
+
var args114, tool$statementsGet;
|
|
75691
76430
|
var init_statementsGet2 = __esm(() => {
|
|
75692
76431
|
init_statementsGet();
|
|
75693
76432
|
init_operations();
|
|
75694
76433
|
init_tools();
|
|
75695
|
-
|
|
76434
|
+
args114 = {
|
|
75696
76435
|
request: GetStatementRequest$inboundSchema
|
|
75697
76436
|
};
|
|
75698
76437
|
tool$statementsGet = {
|
|
@@ -75703,9 +76442,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
75703
76442
|
|
|
75704
76443
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75705
76444
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
75706
|
-
args:
|
|
75707
|
-
tool: async (client,
|
|
75708
|
-
const [result, apiCall] = await statementsGet(client,
|
|
76445
|
+
args: args114,
|
|
76446
|
+
tool: async (client, args115, ctx) => {
|
|
76447
|
+
const [result, apiCall] = await statementsGet(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75709
76448
|
if (!result.ok) {
|
|
75710
76449
|
return {
|
|
75711
76450
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75720,9 +76459,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
75720
76459
|
|
|
75721
76460
|
// src/funcs/statementsList.ts
|
|
75722
76461
|
function statementsList(client, request, options) {
|
|
75723
|
-
return new APIPromise($
|
|
76462
|
+
return new APIPromise($do115(client, request, options));
|
|
75724
76463
|
}
|
|
75725
|
-
async function $
|
|
76464
|
+
async function $do115(client, request, options) {
|
|
75726
76465
|
const parsed = safeParse(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75727
76466
|
if (!parsed.ok) {
|
|
75728
76467
|
return [parsed, { status: "invalid" }];
|
|
@@ -75808,12 +76547,12 @@ var init_statementsList = __esm(() => {
|
|
|
75808
76547
|
});
|
|
75809
76548
|
|
|
75810
76549
|
// src/mcp-server/tools/statementsList.ts
|
|
75811
|
-
var
|
|
76550
|
+
var args115, tool$statementsList;
|
|
75812
76551
|
var init_statementsList2 = __esm(() => {
|
|
75813
76552
|
init_statementsList();
|
|
75814
76553
|
init_operations();
|
|
75815
76554
|
init_tools();
|
|
75816
|
-
|
|
76555
|
+
args115 = {
|
|
75817
76556
|
request: ListStatementsRequest$inboundSchema
|
|
75818
76557
|
};
|
|
75819
76558
|
tool$statementsList = {
|
|
@@ -75822,9 +76561,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
75822
76561
|
|
|
75823
76562
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75824
76563
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
75825
|
-
args:
|
|
75826
|
-
tool: async (client,
|
|
75827
|
-
const [result, apiCall] = await statementsList(client,
|
|
76564
|
+
args: args115,
|
|
76565
|
+
tool: async (client, args116, ctx) => {
|
|
76566
|
+
const [result, apiCall] = await statementsList(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75828
76567
|
if (!result.ok) {
|
|
75829
76568
|
return {
|
|
75830
76569
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75839,9 +76578,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
75839
76578
|
|
|
75840
76579
|
// src/funcs/supportCreateTicket.ts
|
|
75841
76580
|
function supportCreateTicket(client, request, options) {
|
|
75842
|
-
return new APIPromise($
|
|
76581
|
+
return new APIPromise($do116(client, request, options));
|
|
75843
76582
|
}
|
|
75844
|
-
async function $
|
|
76583
|
+
async function $do116(client, request, options) {
|
|
75845
76584
|
const parsed = safeParse(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75846
76585
|
if (!parsed.ok) {
|
|
75847
76586
|
return [parsed, { status: "invalid" }];
|
|
@@ -75933,12 +76672,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
75933
76672
|
});
|
|
75934
76673
|
|
|
75935
76674
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
75936
|
-
var
|
|
76675
|
+
var args116, tool$supportCreateTicket;
|
|
75937
76676
|
var init_supportCreateTicket2 = __esm(() => {
|
|
75938
76677
|
init_supportCreateTicket();
|
|
75939
76678
|
init_operations();
|
|
75940
76679
|
init_tools();
|
|
75941
|
-
|
|
76680
|
+
args116 = {
|
|
75942
76681
|
request: CreateTicketRequest$inboundSchema
|
|
75943
76682
|
};
|
|
75944
76683
|
tool$supportCreateTicket = {
|
|
@@ -75950,9 +76689,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
75950
76689
|
|
|
75951
76690
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
75952
76691
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
75953
|
-
args:
|
|
75954
|
-
tool: async (client,
|
|
75955
|
-
const [result, apiCall] = await supportCreateTicket(client,
|
|
76692
|
+
args: args116,
|
|
76693
|
+
tool: async (client, args117, ctx) => {
|
|
76694
|
+
const [result, apiCall] = await supportCreateTicket(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75956
76695
|
if (!result.ok) {
|
|
75957
76696
|
return {
|
|
75958
76697
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75967,9 +76706,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
75967
76706
|
|
|
75968
76707
|
// src/funcs/supportGetTicket.ts
|
|
75969
76708
|
function supportGetTicket(client, request, options) {
|
|
75970
|
-
return new APIPromise($
|
|
76709
|
+
return new APIPromise($do117(client, request, options));
|
|
75971
76710
|
}
|
|
75972
|
-
async function $
|
|
76711
|
+
async function $do117(client, request, options) {
|
|
75973
76712
|
const parsed = safeParse(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75974
76713
|
if (!parsed.ok) {
|
|
75975
76714
|
return [parsed, { status: "invalid" }];
|
|
@@ -76051,12 +76790,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
76051
76790
|
});
|
|
76052
76791
|
|
|
76053
76792
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
76054
|
-
var
|
|
76793
|
+
var args117, tool$supportGetTicket;
|
|
76055
76794
|
var init_supportGetTicket2 = __esm(() => {
|
|
76056
76795
|
init_supportGetTicket();
|
|
76057
76796
|
init_operations();
|
|
76058
76797
|
init_tools();
|
|
76059
|
-
|
|
76798
|
+
args117 = {
|
|
76060
76799
|
request: GetTicketRequest$inboundSchema
|
|
76061
76800
|
};
|
|
76062
76801
|
tool$supportGetTicket = {
|
|
@@ -76068,9 +76807,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
76068
76807
|
|
|
76069
76808
|
If you're retrieving another account's ticket, then you'll need to
|
|
76070
76809
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
76071
|
-
args:
|
|
76072
|
-
tool: async (client,
|
|
76073
|
-
const [result, apiCall] = await supportGetTicket(client,
|
|
76810
|
+
args: args117,
|
|
76811
|
+
tool: async (client, args118, ctx) => {
|
|
76812
|
+
const [result, apiCall] = await supportGetTicket(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76074
76813
|
if (!result.ok) {
|
|
76075
76814
|
return {
|
|
76076
76815
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76085,9 +76824,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
76085
76824
|
|
|
76086
76825
|
// src/funcs/supportListTicketMessages.ts
|
|
76087
76826
|
function supportListTicketMessages(client, request, options) {
|
|
76088
|
-
return new APIPromise($
|
|
76827
|
+
return new APIPromise($do118(client, request, options));
|
|
76089
76828
|
}
|
|
76090
|
-
async function $
|
|
76829
|
+
async function $do118(client, request, options) {
|
|
76091
76830
|
const parsed = safeParse(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76092
76831
|
if (!parsed.ok) {
|
|
76093
76832
|
return [parsed, { status: "invalid" }];
|
|
@@ -76169,12 +76908,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
76169
76908
|
});
|
|
76170
76909
|
|
|
76171
76910
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
76172
|
-
var
|
|
76911
|
+
var args118, tool$supportListTicketMessages;
|
|
76173
76912
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
76174
76913
|
init_supportListTicketMessages();
|
|
76175
76914
|
init_operations();
|
|
76176
76915
|
init_tools();
|
|
76177
|
-
|
|
76916
|
+
args118 = {
|
|
76178
76917
|
request: ListTicketMessagesRequest$inboundSchema
|
|
76179
76918
|
};
|
|
76180
76919
|
tool$supportListTicketMessages = {
|
|
@@ -76186,9 +76925,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
76186
76925
|
|
|
76187
76926
|
If you're listing another account's messages, then you'll need to
|
|
76188
76927
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
76189
|
-
args:
|
|
76190
|
-
tool: async (client,
|
|
76191
|
-
const [result, apiCall] = await supportListTicketMessages(client,
|
|
76928
|
+
args: args118,
|
|
76929
|
+
tool: async (client, args119, ctx) => {
|
|
76930
|
+
const [result, apiCall] = await supportListTicketMessages(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76192
76931
|
if (!result.ok) {
|
|
76193
76932
|
return {
|
|
76194
76933
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76203,9 +76942,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
76203
76942
|
|
|
76204
76943
|
// src/funcs/supportListTickets.ts
|
|
76205
76944
|
function supportListTickets(client, request, options) {
|
|
76206
|
-
return new APIPromise($
|
|
76945
|
+
return new APIPromise($do119(client, request, options));
|
|
76207
76946
|
}
|
|
76208
|
-
async function $
|
|
76947
|
+
async function $do119(client, request, options) {
|
|
76209
76948
|
const parsed = safeParse(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76210
76949
|
if (!parsed.ok) {
|
|
76211
76950
|
return [parsed, { status: "invalid" }];
|
|
@@ -76290,12 +77029,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
76290
77029
|
});
|
|
76291
77030
|
|
|
76292
77031
|
// src/mcp-server/tools/supportListTickets.ts
|
|
76293
|
-
var
|
|
77032
|
+
var args119, tool$supportListTickets;
|
|
76294
77033
|
var init_supportListTickets2 = __esm(() => {
|
|
76295
77034
|
init_supportListTickets();
|
|
76296
77035
|
init_operations();
|
|
76297
77036
|
init_tools();
|
|
76298
|
-
|
|
77037
|
+
args119 = {
|
|
76299
77038
|
request: ListTicketsRequest$inboundSchema
|
|
76300
77039
|
};
|
|
76301
77040
|
tool$supportListTickets = {
|
|
@@ -76307,9 +77046,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
76307
77046
|
|
|
76308
77047
|
If you're listing another account's tickets, then you'll need to
|
|
76309
77048
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
76310
|
-
args:
|
|
76311
|
-
tool: async (client,
|
|
76312
|
-
const [result, apiCall] = await supportListTickets(client,
|
|
77049
|
+
args: args119,
|
|
77050
|
+
tool: async (client, args120, ctx) => {
|
|
77051
|
+
const [result, apiCall] = await supportListTickets(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76313
77052
|
if (!result.ok) {
|
|
76314
77053
|
return {
|
|
76315
77054
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76324,9 +77063,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
76324
77063
|
|
|
76325
77064
|
// src/funcs/supportUpdateTicket.ts
|
|
76326
77065
|
function supportUpdateTicket(client, request, options) {
|
|
76327
|
-
return new APIPromise($
|
|
77066
|
+
return new APIPromise($do120(client, request, options));
|
|
76328
77067
|
}
|
|
76329
|
-
async function $
|
|
77068
|
+
async function $do120(client, request, options) {
|
|
76330
77069
|
const parsed = safeParse(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76331
77070
|
if (!parsed.ok) {
|
|
76332
77071
|
return [parsed, { status: "invalid" }];
|
|
@@ -76422,12 +77161,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
76422
77161
|
});
|
|
76423
77162
|
|
|
76424
77163
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
76425
|
-
var
|
|
77164
|
+
var args120, tool$supportUpdateTicket;
|
|
76426
77165
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
76427
77166
|
init_supportUpdateTicket();
|
|
76428
77167
|
init_operations();
|
|
76429
77168
|
init_tools();
|
|
76430
|
-
|
|
77169
|
+
args120 = {
|
|
76431
77170
|
request: UpdateTicketRequest$inboundSchema
|
|
76432
77171
|
};
|
|
76433
77172
|
tool$supportUpdateTicket = {
|
|
@@ -76439,9 +77178,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
76439
77178
|
|
|
76440
77179
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
76441
77180
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
76442
|
-
args:
|
|
76443
|
-
tool: async (client,
|
|
76444
|
-
const [result, apiCall] = await supportUpdateTicket(client,
|
|
77181
|
+
args: args120,
|
|
77182
|
+
tool: async (client, args121, ctx) => {
|
|
77183
|
+
const [result, apiCall] = await supportUpdateTicket(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76445
77184
|
if (!result.ok) {
|
|
76446
77185
|
return {
|
|
76447
77186
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76456,9 +77195,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
76456
77195
|
|
|
76457
77196
|
// src/funcs/sweepsCreateConfig.ts
|
|
76458
77197
|
function sweepsCreateConfig(client, request, options) {
|
|
76459
|
-
return new APIPromise($
|
|
77198
|
+
return new APIPromise($do121(client, request, options));
|
|
76460
77199
|
}
|
|
76461
|
-
async function $
|
|
77200
|
+
async function $do121(client, request, options) {
|
|
76462
77201
|
const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76463
77202
|
if (!parsed.ok) {
|
|
76464
77203
|
return [parsed, { status: "invalid" }];
|
|
@@ -76550,12 +77289,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
76550
77289
|
});
|
|
76551
77290
|
|
|
76552
77291
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
76553
|
-
var
|
|
77292
|
+
var args121, tool$sweepsCreateConfig;
|
|
76554
77293
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
76555
77294
|
init_sweepsCreateConfig();
|
|
76556
77295
|
init_operations();
|
|
76557
77296
|
init_tools();
|
|
76558
|
-
|
|
77297
|
+
args121 = {
|
|
76559
77298
|
request: CreateSweepConfigRequest$inboundSchema
|
|
76560
77299
|
};
|
|
76561
77300
|
tool$sweepsCreateConfig = {
|
|
@@ -76564,9 +77303,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
76564
77303
|
|
|
76565
77304
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76566
77305
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
76567
|
-
args:
|
|
76568
|
-
tool: async (client,
|
|
76569
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
77306
|
+
args: args121,
|
|
77307
|
+
tool: async (client, args122, ctx) => {
|
|
77308
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76570
77309
|
if (!result.ok) {
|
|
76571
77310
|
return {
|
|
76572
77311
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76581,9 +77320,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
76581
77320
|
|
|
76582
77321
|
// src/funcs/sweepsGet.ts
|
|
76583
77322
|
function sweepsGet(client, request, options) {
|
|
76584
|
-
return new APIPromise($
|
|
77323
|
+
return new APIPromise($do122(client, request, options));
|
|
76585
77324
|
}
|
|
76586
|
-
async function $
|
|
77325
|
+
async function $do122(client, request, options) {
|
|
76587
77326
|
const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76588
77327
|
if (!parsed.ok) {
|
|
76589
77328
|
return [parsed, { status: "invalid" }];
|
|
@@ -76669,12 +77408,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
76669
77408
|
});
|
|
76670
77409
|
|
|
76671
77410
|
// src/mcp-server/tools/sweepsGet.ts
|
|
76672
|
-
var
|
|
77411
|
+
var args122, tool$sweepsGet;
|
|
76673
77412
|
var init_sweepsGet2 = __esm(() => {
|
|
76674
77413
|
init_sweepsGet();
|
|
76675
77414
|
init_operations();
|
|
76676
77415
|
init_tools();
|
|
76677
|
-
|
|
77416
|
+
args122 = {
|
|
76678
77417
|
request: GetSweepRequest$inboundSchema
|
|
76679
77418
|
};
|
|
76680
77419
|
tool$sweepsGet = {
|
|
@@ -76683,9 +77422,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
76683
77422
|
|
|
76684
77423
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76685
77424
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76686
|
-
args:
|
|
76687
|
-
tool: async (client,
|
|
76688
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
77425
|
+
args: args122,
|
|
77426
|
+
tool: async (client, args123, ctx) => {
|
|
77427
|
+
const [result, apiCall] = await sweepsGet(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76689
77428
|
if (!result.ok) {
|
|
76690
77429
|
return {
|
|
76691
77430
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76700,9 +77439,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76700
77439
|
|
|
76701
77440
|
// src/funcs/sweepsGetConfig.ts
|
|
76702
77441
|
function sweepsGetConfig(client, request, options) {
|
|
76703
|
-
return new APIPromise($
|
|
77442
|
+
return new APIPromise($do123(client, request, options));
|
|
76704
77443
|
}
|
|
76705
|
-
async function $
|
|
77444
|
+
async function $do123(client, request, options) {
|
|
76706
77445
|
const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76707
77446
|
if (!parsed.ok) {
|
|
76708
77447
|
return [parsed, { status: "invalid" }];
|
|
@@ -76784,12 +77523,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
76784
77523
|
});
|
|
76785
77524
|
|
|
76786
77525
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
76787
|
-
var
|
|
77526
|
+
var args123, tool$sweepsGetConfig;
|
|
76788
77527
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
76789
77528
|
init_sweepsGetConfig();
|
|
76790
77529
|
init_operations();
|
|
76791
77530
|
init_tools();
|
|
76792
|
-
|
|
77531
|
+
args123 = {
|
|
76793
77532
|
request: GetSweepConfigRequest$inboundSchema
|
|
76794
77533
|
};
|
|
76795
77534
|
tool$sweepsGetConfig = {
|
|
@@ -76798,9 +77537,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
76798
77537
|
|
|
76799
77538
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76800
77539
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76801
|
-
args:
|
|
76802
|
-
tool: async (client,
|
|
76803
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
77540
|
+
args: args123,
|
|
77541
|
+
tool: async (client, args124, ctx) => {
|
|
77542
|
+
const [result, apiCall] = await sweepsGetConfig(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76804
77543
|
if (!result.ok) {
|
|
76805
77544
|
return {
|
|
76806
77545
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76815,9 +77554,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76815
77554
|
|
|
76816
77555
|
// src/funcs/sweepsList.ts
|
|
76817
77556
|
function sweepsList(client, request, options) {
|
|
76818
|
-
return new APIPromise($
|
|
77557
|
+
return new APIPromise($do124(client, request, options));
|
|
76819
77558
|
}
|
|
76820
|
-
async function $
|
|
77559
|
+
async function $do124(client, request, options) {
|
|
76821
77560
|
const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76822
77561
|
if (!parsed.ok) {
|
|
76823
77562
|
return [parsed, { status: "invalid" }];
|
|
@@ -76906,12 +77645,12 @@ var init_sweepsList = __esm(() => {
|
|
|
76906
77645
|
});
|
|
76907
77646
|
|
|
76908
77647
|
// src/mcp-server/tools/sweepsList.ts
|
|
76909
|
-
var
|
|
77648
|
+
var args124, tool$sweepsList;
|
|
76910
77649
|
var init_sweepsList2 = __esm(() => {
|
|
76911
77650
|
init_sweepsList();
|
|
76912
77651
|
init_operations();
|
|
76913
77652
|
init_tools();
|
|
76914
|
-
|
|
77653
|
+
args124 = {
|
|
76915
77654
|
request: ListSweepsRequest$inboundSchema
|
|
76916
77655
|
};
|
|
76917
77656
|
tool$sweepsList = {
|
|
@@ -76920,9 +77659,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
76920
77659
|
|
|
76921
77660
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76922
77661
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76923
|
-
args:
|
|
76924
|
-
tool: async (client,
|
|
76925
|
-
const [result, apiCall] = await sweepsList(client,
|
|
77662
|
+
args: args124,
|
|
77663
|
+
tool: async (client, args125, ctx) => {
|
|
77664
|
+
const [result, apiCall] = await sweepsList(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76926
77665
|
if (!result.ok) {
|
|
76927
77666
|
return {
|
|
76928
77667
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76937,9 +77676,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76937
77676
|
|
|
76938
77677
|
// src/funcs/sweepsListConfigs.ts
|
|
76939
77678
|
function sweepsListConfigs(client, request, options) {
|
|
76940
|
-
return new APIPromise($
|
|
77679
|
+
return new APIPromise($do125(client, request, options));
|
|
76941
77680
|
}
|
|
76942
|
-
async function $
|
|
77681
|
+
async function $do125(client, request, options) {
|
|
76943
77682
|
const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76944
77683
|
if (!parsed.ok) {
|
|
76945
77684
|
return [parsed, { status: "invalid" }];
|
|
@@ -77017,12 +77756,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
77017
77756
|
});
|
|
77018
77757
|
|
|
77019
77758
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
77020
|
-
var
|
|
77759
|
+
var args125, tool$sweepsListConfigs;
|
|
77021
77760
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
77022
77761
|
init_sweepsListConfigs();
|
|
77023
77762
|
init_operations();
|
|
77024
77763
|
init_tools();
|
|
77025
|
-
|
|
77764
|
+
args125 = {
|
|
77026
77765
|
request: ListSweepConfigsRequest$inboundSchema
|
|
77027
77766
|
};
|
|
77028
77767
|
tool$sweepsListConfigs = {
|
|
@@ -77031,9 +77770,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
77031
77770
|
|
|
77032
77771
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77033
77772
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
77034
|
-
args:
|
|
77035
|
-
tool: async (client,
|
|
77036
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
77773
|
+
args: args125,
|
|
77774
|
+
tool: async (client, args126, ctx) => {
|
|
77775
|
+
const [result, apiCall] = await sweepsListConfigs(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77037
77776
|
if (!result.ok) {
|
|
77038
77777
|
return {
|
|
77039
77778
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77048,9 +77787,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
77048
77787
|
|
|
77049
77788
|
// src/funcs/sweepsUpdateConfig.ts
|
|
77050
77789
|
function sweepsUpdateConfig(client, request, options) {
|
|
77051
|
-
return new APIPromise($
|
|
77790
|
+
return new APIPromise($do126(client, request, options));
|
|
77052
77791
|
}
|
|
77053
|
-
async function $
|
|
77792
|
+
async function $do126(client, request, options) {
|
|
77054
77793
|
const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77055
77794
|
if (!parsed.ok) {
|
|
77056
77795
|
return [parsed, { status: "invalid" }];
|
|
@@ -77146,12 +77885,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
77146
77885
|
});
|
|
77147
77886
|
|
|
77148
77887
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
77149
|
-
var
|
|
77888
|
+
var args126, tool$sweepsUpdateConfig;
|
|
77150
77889
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
77151
77890
|
init_sweepsUpdateConfig();
|
|
77152
77891
|
init_operations();
|
|
77153
77892
|
init_tools();
|
|
77154
|
-
|
|
77893
|
+
args126 = {
|
|
77155
77894
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
77156
77895
|
};
|
|
77157
77896
|
tool$sweepsUpdateConfig = {
|
|
@@ -77160,9 +77899,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
77160
77899
|
|
|
77161
77900
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77162
77901
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
77163
|
-
args:
|
|
77164
|
-
tool: async (client,
|
|
77165
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
77902
|
+
args: args126,
|
|
77903
|
+
tool: async (client, args127, ctx) => {
|
|
77904
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77166
77905
|
if (!result.ok) {
|
|
77167
77906
|
return {
|
|
77168
77907
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77177,9 +77916,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
77177
77916
|
|
|
77178
77917
|
// src/funcs/terminalApplicationsCreate.ts
|
|
77179
77918
|
function terminalApplicationsCreate(client, request, options) {
|
|
77180
|
-
return new APIPromise($
|
|
77919
|
+
return new APIPromise($do127(client, request, options));
|
|
77181
77920
|
}
|
|
77182
|
-
async function $
|
|
77921
|
+
async function $do127(client, request, options) {
|
|
77183
77922
|
const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
77184
77923
|
if (!parsed.ok) {
|
|
77185
77924
|
return [parsed, { status: "invalid" }];
|
|
@@ -77268,12 +78007,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
77268
78007
|
});
|
|
77269
78008
|
|
|
77270
78009
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
77271
|
-
var
|
|
78010
|
+
var args127, tool$terminalApplicationsCreate;
|
|
77272
78011
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
77273
78012
|
init_terminalApplicationsCreate();
|
|
77274
78013
|
init_components();
|
|
77275
78014
|
init_tools();
|
|
77276
|
-
|
|
78015
|
+
args127 = {
|
|
77277
78016
|
request: CreateTerminalApplication$inboundSchema
|
|
77278
78017
|
};
|
|
77279
78018
|
tool$terminalApplicationsCreate = {
|
|
@@ -77282,9 +78021,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
77282
78021
|
|
|
77283
78022
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77284
78023
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
77285
|
-
args:
|
|
77286
|
-
tool: async (client,
|
|
77287
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
78024
|
+
args: args127,
|
|
78025
|
+
tool: async (client, args128, ctx) => {
|
|
78026
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77288
78027
|
if (!result.ok) {
|
|
77289
78028
|
return {
|
|
77290
78029
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77299,9 +78038,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
77299
78038
|
|
|
77300
78039
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
77301
78040
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
77302
|
-
return new APIPromise($
|
|
78041
|
+
return new APIPromise($do128(client, request, options));
|
|
77303
78042
|
}
|
|
77304
|
-
async function $
|
|
78043
|
+
async function $do128(client, request, options) {
|
|
77305
78044
|
const parsed = safeParse(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77306
78045
|
if (!parsed.ok) {
|
|
77307
78046
|
return [parsed, { status: "invalid" }];
|
|
@@ -77391,12 +78130,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
77391
78130
|
});
|
|
77392
78131
|
|
|
77393
78132
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
77394
|
-
var
|
|
78133
|
+
var args128, tool$terminalApplicationsCreateVersion;
|
|
77395
78134
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
77396
78135
|
init_terminalApplicationsCreateVersion();
|
|
77397
78136
|
init_operations();
|
|
77398
78137
|
init_tools();
|
|
77399
|
-
|
|
78138
|
+
args128 = {
|
|
77400
78139
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
77401
78140
|
};
|
|
77402
78141
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -77405,9 +78144,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
77405
78144
|
|
|
77406
78145
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77407
78146
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
77408
|
-
args:
|
|
77409
|
-
tool: async (client,
|
|
77410
|
-
const [result, apiCall] = await terminalApplicationsCreateVersion(client,
|
|
78147
|
+
args: args128,
|
|
78148
|
+
tool: async (client, args129, ctx) => {
|
|
78149
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77411
78150
|
if (!result.ok) {
|
|
77412
78151
|
return {
|
|
77413
78152
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77422,9 +78161,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
77422
78161
|
|
|
77423
78162
|
// src/funcs/terminalApplicationsDelete.ts
|
|
77424
78163
|
function terminalApplicationsDelete(client, request, options) {
|
|
77425
|
-
return new APIPromise($
|
|
78164
|
+
return new APIPromise($do129(client, request, options));
|
|
77426
78165
|
}
|
|
77427
|
-
async function $
|
|
78166
|
+
async function $do129(client, request, options) {
|
|
77428
78167
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77429
78168
|
if (!parsed.ok) {
|
|
77430
78169
|
return [parsed, { status: "invalid" }];
|
|
@@ -77508,12 +78247,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
77508
78247
|
});
|
|
77509
78248
|
|
|
77510
78249
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
77511
|
-
var
|
|
78250
|
+
var args129, tool$terminalApplicationsDelete;
|
|
77512
78251
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
77513
78252
|
init_terminalApplicationsDelete();
|
|
77514
78253
|
init_operations();
|
|
77515
78254
|
init_tools();
|
|
77516
|
-
|
|
78255
|
+
args129 = {
|
|
77517
78256
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
77518
78257
|
};
|
|
77519
78258
|
tool$terminalApplicationsDelete = {
|
|
@@ -77522,9 +78261,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
77522
78261
|
|
|
77523
78262
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77524
78263
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
77525
|
-
args:
|
|
77526
|
-
tool: async (client,
|
|
77527
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
78264
|
+
args: args129,
|
|
78265
|
+
tool: async (client, args130, ctx) => {
|
|
78266
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77528
78267
|
if (!result.ok) {
|
|
77529
78268
|
return {
|
|
77530
78269
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77538,9 +78277,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
77538
78277
|
|
|
77539
78278
|
// src/funcs/terminalApplicationsGet.ts
|
|
77540
78279
|
function terminalApplicationsGet(client, request, options) {
|
|
77541
|
-
return new APIPromise($
|
|
78280
|
+
return new APIPromise($do130(client, request, options));
|
|
77542
78281
|
}
|
|
77543
|
-
async function $
|
|
78282
|
+
async function $do130(client, request, options) {
|
|
77544
78283
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77545
78284
|
if (!parsed.ok) {
|
|
77546
78285
|
return [parsed, { status: "invalid" }];
|
|
@@ -77615,12 +78354,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
77615
78354
|
});
|
|
77616
78355
|
|
|
77617
78356
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
77618
|
-
var
|
|
78357
|
+
var args130, tool$terminalApplicationsGet;
|
|
77619
78358
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
77620
78359
|
init_terminalApplicationsGet();
|
|
77621
78360
|
init_operations();
|
|
77622
78361
|
init_tools();
|
|
77623
|
-
|
|
78362
|
+
args130 = {
|
|
77624
78363
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
77625
78364
|
};
|
|
77626
78365
|
tool$terminalApplicationsGet = {
|
|
@@ -77629,9 +78368,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
77629
78368
|
|
|
77630
78369
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77631
78370
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
77632
|
-
args:
|
|
77633
|
-
tool: async (client,
|
|
77634
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
78371
|
+
args: args130,
|
|
78372
|
+
tool: async (client, args131, ctx) => {
|
|
78373
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77635
78374
|
if (!result.ok) {
|
|
77636
78375
|
return {
|
|
77637
78376
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77646,9 +78385,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
77646
78385
|
|
|
77647
78386
|
// src/funcs/terminalApplicationsList.ts
|
|
77648
78387
|
function terminalApplicationsList(client, _request, options) {
|
|
77649
|
-
return new APIPromise($
|
|
78388
|
+
return new APIPromise($do131(client, _request, options));
|
|
77650
78389
|
}
|
|
77651
|
-
async function $
|
|
78390
|
+
async function $do131(client, _request, options) {
|
|
77652
78391
|
const path = pathToFunc("/terminal-applications")();
|
|
77653
78392
|
const headers = new Headers(compactMap({
|
|
77654
78393
|
Accept: "application/json",
|
|
@@ -77712,12 +78451,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
77712
78451
|
});
|
|
77713
78452
|
|
|
77714
78453
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
77715
|
-
var
|
|
78454
|
+
var args131, tool$terminalApplicationsList;
|
|
77716
78455
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
77717
78456
|
init_terminalApplicationsList();
|
|
77718
78457
|
init_operations();
|
|
77719
78458
|
init_tools();
|
|
77720
|
-
|
|
78459
|
+
args131 = {
|
|
77721
78460
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
77722
78461
|
};
|
|
77723
78462
|
tool$terminalApplicationsList = {
|
|
@@ -77726,9 +78465,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
77726
78465
|
|
|
77727
78466
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77728
78467
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
77729
|
-
args:
|
|
77730
|
-
tool: async (client,
|
|
77731
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
78468
|
+
args: args131,
|
|
78469
|
+
tool: async (client, args132, ctx) => {
|
|
78470
|
+
const [result, apiCall] = await terminalApplicationsList(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77732
78471
|
if (!result.ok) {
|
|
77733
78472
|
return {
|
|
77734
78473
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77743,9 +78482,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
77743
78482
|
|
|
77744
78483
|
// src/funcs/transfersCreate.ts
|
|
77745
78484
|
function transfersCreate(client, request, options) {
|
|
77746
|
-
return new APIPromise($
|
|
78485
|
+
return new APIPromise($do132(client, request, options));
|
|
77747
78486
|
}
|
|
77748
|
-
async function $
|
|
78487
|
+
async function $do132(client, request, options) {
|
|
77749
78488
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77750
78489
|
if (!parsed.ok) {
|
|
77751
78490
|
return [parsed, { status: "invalid" }];
|
|
@@ -77838,12 +78577,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
77838
78577
|
});
|
|
77839
78578
|
|
|
77840
78579
|
// src/mcp-server/tools/transfersCreate.ts
|
|
77841
|
-
var
|
|
78580
|
+
var args132, tool$transfersCreate;
|
|
77842
78581
|
var init_transfersCreate2 = __esm(() => {
|
|
77843
78582
|
init_transfersCreate();
|
|
77844
78583
|
init_operations();
|
|
77845
78584
|
init_tools();
|
|
77846
|
-
|
|
78585
|
+
args132 = {
|
|
77847
78586
|
request: CreateTransferRequest$inboundSchema
|
|
77848
78587
|
};
|
|
77849
78588
|
tool$transfersCreate = {
|
|
@@ -77854,9 +78593,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
77854
78593
|
|
|
77855
78594
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77856
78595
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77857
|
-
args:
|
|
77858
|
-
tool: async (client,
|
|
77859
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
78596
|
+
args: args132,
|
|
78597
|
+
tool: async (client, args133, ctx) => {
|
|
78598
|
+
const [result, apiCall] = await transfersCreate(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77860
78599
|
if (!result.ok) {
|
|
77861
78600
|
return {
|
|
77862
78601
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77871,9 +78610,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77871
78610
|
|
|
77872
78611
|
// src/funcs/transfersCreateCancellation.ts
|
|
77873
78612
|
function transfersCreateCancellation(client, request, options) {
|
|
77874
|
-
return new APIPromise($
|
|
78613
|
+
return new APIPromise($do133(client, request, options));
|
|
77875
78614
|
}
|
|
77876
|
-
async function $
|
|
78615
|
+
async function $do133(client, request, options) {
|
|
77877
78616
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77878
78617
|
if (!parsed.ok) {
|
|
77879
78618
|
return [parsed, { status: "invalid" }];
|
|
@@ -77956,12 +78695,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
77956
78695
|
});
|
|
77957
78696
|
|
|
77958
78697
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
77959
|
-
var
|
|
78698
|
+
var args133, tool$transfersCreateCancellation;
|
|
77960
78699
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
77961
78700
|
init_transfersCreateCancellation();
|
|
77962
78701
|
init_operations();
|
|
77963
78702
|
init_tools();
|
|
77964
|
-
|
|
78703
|
+
args133 = {
|
|
77965
78704
|
request: CreateCancellationRequest$inboundSchema
|
|
77966
78705
|
};
|
|
77967
78706
|
tool$transfersCreateCancellation = {
|
|
@@ -77970,9 +78709,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
77970
78709
|
|
|
77971
78710
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
77972
78711
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77973
|
-
args:
|
|
77974
|
-
tool: async (client,
|
|
77975
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
78712
|
+
args: args133,
|
|
78713
|
+
tool: async (client, args134, ctx) => {
|
|
78714
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77976
78715
|
if (!result.ok) {
|
|
77977
78716
|
return {
|
|
77978
78717
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77987,9 +78726,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
77987
78726
|
|
|
77988
78727
|
// src/funcs/transfersCreateReversal.ts
|
|
77989
78728
|
function transfersCreateReversal(client, request, options) {
|
|
77990
|
-
return new APIPromise($
|
|
78729
|
+
return new APIPromise($do134(client, request, options));
|
|
77991
78730
|
}
|
|
77992
|
-
async function $
|
|
78731
|
+
async function $do134(client, request, options) {
|
|
77993
78732
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77994
78733
|
if (!parsed.ok) {
|
|
77995
78734
|
return [parsed, { status: "invalid" }];
|
|
@@ -78088,12 +78827,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
78088
78827
|
});
|
|
78089
78828
|
|
|
78090
78829
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
78091
|
-
var
|
|
78830
|
+
var args134, tool$transfersCreateReversal;
|
|
78092
78831
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
78093
78832
|
init_transfersCreateReversal();
|
|
78094
78833
|
init_operations();
|
|
78095
78834
|
init_tools();
|
|
78096
|
-
|
|
78835
|
+
args134 = {
|
|
78097
78836
|
request: CreateReversalRequest$inboundSchema
|
|
78098
78837
|
};
|
|
78099
78838
|
tool$transfersCreateReversal = {
|
|
@@ -78104,9 +78843,9 @@ to learn more.
|
|
|
78104
78843
|
|
|
78105
78844
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
78106
78845
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
78107
|
-
args:
|
|
78108
|
-
tool: async (client,
|
|
78109
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
78846
|
+
args: args134,
|
|
78847
|
+
tool: async (client, args135, ctx) => {
|
|
78848
|
+
const [result, apiCall] = await transfersCreateReversal(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78110
78849
|
if (!result.ok) {
|
|
78111
78850
|
return {
|
|
78112
78851
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78121,9 +78860,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
78121
78860
|
|
|
78122
78861
|
// src/funcs/transfersGenerateOptions.ts
|
|
78123
78862
|
function transfersGenerateOptions(client, request, options) {
|
|
78124
|
-
return new APIPromise($
|
|
78863
|
+
return new APIPromise($do135(client, request, options));
|
|
78125
78864
|
}
|
|
78126
|
-
async function $
|
|
78865
|
+
async function $do135(client, request, options) {
|
|
78127
78866
|
const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78128
78867
|
if (!parsed.ok) {
|
|
78129
78868
|
return [parsed, { status: "invalid" }];
|
|
@@ -78207,12 +78946,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
78207
78946
|
});
|
|
78208
78947
|
|
|
78209
78948
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
78210
|
-
var
|
|
78949
|
+
var args135, tool$transfersGenerateOptions;
|
|
78211
78950
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
78212
78951
|
init_transfersGenerateOptions();
|
|
78213
78952
|
init_operations();
|
|
78214
78953
|
init_tools();
|
|
78215
|
-
|
|
78954
|
+
args135 = {
|
|
78216
78955
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
78217
78956
|
};
|
|
78218
78957
|
tool$transfersGenerateOptions = {
|
|
@@ -78226,9 +78965,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
78226
78965
|
|
|
78227
78966
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78228
78967
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
78229
|
-
args:
|
|
78230
|
-
tool: async (client,
|
|
78231
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
78968
|
+
args: args135,
|
|
78969
|
+
tool: async (client, args136, ctx) => {
|
|
78970
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78232
78971
|
if (!result.ok) {
|
|
78233
78972
|
return {
|
|
78234
78973
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78243,9 +78982,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
78243
78982
|
|
|
78244
78983
|
// src/funcs/transfersGet.ts
|
|
78245
78984
|
function transfersGet(client, request, options) {
|
|
78246
|
-
return new APIPromise($
|
|
78985
|
+
return new APIPromise($do136(client, request, options));
|
|
78247
78986
|
}
|
|
78248
|
-
async function $
|
|
78987
|
+
async function $do136(client, request, options) {
|
|
78249
78988
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78250
78989
|
if (!parsed.ok) {
|
|
78251
78990
|
return [parsed, { status: "invalid" }];
|
|
@@ -78327,12 +79066,12 @@ var init_transfersGet = __esm(() => {
|
|
|
78327
79066
|
});
|
|
78328
79067
|
|
|
78329
79068
|
// src/mcp-server/tools/transfersGet.ts
|
|
78330
|
-
var
|
|
79069
|
+
var args136, tool$transfersGet;
|
|
78331
79070
|
var init_transfersGet2 = __esm(() => {
|
|
78332
79071
|
init_transfersGet();
|
|
78333
79072
|
init_operations();
|
|
78334
79073
|
init_tools();
|
|
78335
|
-
|
|
79074
|
+
args136 = {
|
|
78336
79075
|
request: GetTransferRequest$inboundSchema
|
|
78337
79076
|
};
|
|
78338
79077
|
tool$transfersGet = {
|
|
@@ -78344,9 +79083,9 @@ to learn more.
|
|
|
78344
79083
|
|
|
78345
79084
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78346
79085
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78347
|
-
args:
|
|
78348
|
-
tool: async (client,
|
|
78349
|
-
const [result, apiCall] = await transfersGet(client,
|
|
79086
|
+
args: args136,
|
|
79087
|
+
tool: async (client, args137, ctx) => {
|
|
79088
|
+
const [result, apiCall] = await transfersGet(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78350
79089
|
if (!result.ok) {
|
|
78351
79090
|
return {
|
|
78352
79091
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78361,9 +79100,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78361
79100
|
|
|
78362
79101
|
// src/funcs/transfersGetCancellation.ts
|
|
78363
79102
|
function transfersGetCancellation(client, request, options) {
|
|
78364
|
-
return new APIPromise($
|
|
79103
|
+
return new APIPromise($do137(client, request, options));
|
|
78365
79104
|
}
|
|
78366
|
-
async function $
|
|
79105
|
+
async function $do137(client, request, options) {
|
|
78367
79106
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78368
79107
|
if (!parsed.ok) {
|
|
78369
79108
|
return [parsed, { status: "invalid" }];
|
|
@@ -78449,12 +79188,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
78449
79188
|
});
|
|
78450
79189
|
|
|
78451
79190
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
78452
|
-
var
|
|
79191
|
+
var args137, tool$transfersGetCancellation;
|
|
78453
79192
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
78454
79193
|
init_transfersGetCancellation();
|
|
78455
79194
|
init_operations();
|
|
78456
79195
|
init_tools();
|
|
78457
|
-
|
|
79196
|
+
args137 = {
|
|
78458
79197
|
request: GetCancellationRequest$inboundSchema
|
|
78459
79198
|
};
|
|
78460
79199
|
tool$transfersGetCancellation = {
|
|
@@ -78463,9 +79202,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
78463
79202
|
|
|
78464
79203
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
78465
79204
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78466
|
-
args:
|
|
78467
|
-
tool: async (client,
|
|
78468
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
79205
|
+
args: args137,
|
|
79206
|
+
tool: async (client, args138, ctx) => {
|
|
79207
|
+
const [result, apiCall] = await transfersGetCancellation(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78469
79208
|
if (!result.ok) {
|
|
78470
79209
|
return {
|
|
78471
79210
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78480,9 +79219,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
78480
79219
|
|
|
78481
79220
|
// src/funcs/transfersGetRefund.ts
|
|
78482
79221
|
function transfersGetRefund(client, request, options) {
|
|
78483
|
-
return new APIPromise($
|
|
79222
|
+
return new APIPromise($do138(client, request, options));
|
|
78484
79223
|
}
|
|
78485
|
-
async function $
|
|
79224
|
+
async function $do138(client, request, options) {
|
|
78486
79225
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78487
79226
|
if (!parsed.ok) {
|
|
78488
79227
|
return [parsed, { status: "invalid" }];
|
|
@@ -78568,12 +79307,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
78568
79307
|
});
|
|
78569
79308
|
|
|
78570
79309
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
78571
|
-
var
|
|
79310
|
+
var args138, tool$transfersGetRefund;
|
|
78572
79311
|
var init_transfersGetRefund2 = __esm(() => {
|
|
78573
79312
|
init_transfersGetRefund();
|
|
78574
79313
|
init_operations();
|
|
78575
79314
|
init_tools();
|
|
78576
|
-
|
|
79315
|
+
args138 = {
|
|
78577
79316
|
request: GetRefundRequest$inboundSchema
|
|
78578
79317
|
};
|
|
78579
79318
|
tool$transfersGetRefund = {
|
|
@@ -78582,9 +79321,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
78582
79321
|
|
|
78583
79322
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78584
79323
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78585
|
-
args:
|
|
78586
|
-
tool: async (client,
|
|
78587
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
79324
|
+
args: args138,
|
|
79325
|
+
tool: async (client, args139, ctx) => {
|
|
79326
|
+
const [result, apiCall] = await transfersGetRefund(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78588
79327
|
if (!result.ok) {
|
|
78589
79328
|
return {
|
|
78590
79329
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78599,9 +79338,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78599
79338
|
|
|
78600
79339
|
// src/funcs/transfersInitiateRefund.ts
|
|
78601
79340
|
function transfersInitiateRefund(client, request, options) {
|
|
78602
|
-
return new APIPromise($
|
|
79341
|
+
return new APIPromise($do139(client, request, options));
|
|
78603
79342
|
}
|
|
78604
|
-
async function $
|
|
79343
|
+
async function $do139(client, request, options) {
|
|
78605
79344
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78606
79345
|
if (!parsed.ok) {
|
|
78607
79346
|
return [parsed, { status: "invalid" }];
|
|
@@ -78693,12 +79432,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
78693
79432
|
});
|
|
78694
79433
|
|
|
78695
79434
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
78696
|
-
var
|
|
79435
|
+
var args139, tool$transfersInitiateRefund;
|
|
78697
79436
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
78698
79437
|
init_transfersInitiateRefund();
|
|
78699
79438
|
init_operations();
|
|
78700
79439
|
init_tools();
|
|
78701
|
-
|
|
79440
|
+
args139 = {
|
|
78702
79441
|
request: InitiateRefundRequest$inboundSchema
|
|
78703
79442
|
};
|
|
78704
79443
|
tool$transfersInitiateRefund = {
|
|
@@ -78710,9 +79449,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
78710
79449
|
|
|
78711
79450
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78712
79451
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
78713
|
-
args:
|
|
78714
|
-
tool: async (client,
|
|
78715
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
79452
|
+
args: args139,
|
|
79453
|
+
tool: async (client, args140, ctx) => {
|
|
79454
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78716
79455
|
if (!result.ok) {
|
|
78717
79456
|
return {
|
|
78718
79457
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78727,9 +79466,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
78727
79466
|
|
|
78728
79467
|
// src/funcs/transfersList.ts
|
|
78729
79468
|
function transfersList(client, request, options) {
|
|
78730
|
-
return new APIPromise($
|
|
79469
|
+
return new APIPromise($do140(client, request, options));
|
|
78731
79470
|
}
|
|
78732
|
-
async function $
|
|
79471
|
+
async function $do140(client, request, options) {
|
|
78733
79472
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78734
79473
|
if (!parsed.ok) {
|
|
78735
79474
|
return [parsed, { status: "invalid" }];
|
|
@@ -78825,12 +79564,12 @@ var init_transfersList = __esm(() => {
|
|
|
78825
79564
|
});
|
|
78826
79565
|
|
|
78827
79566
|
// src/mcp-server/tools/transfersList.ts
|
|
78828
|
-
var
|
|
79567
|
+
var args140, tool$transfersList;
|
|
78829
79568
|
var init_transfersList2 = __esm(() => {
|
|
78830
79569
|
init_transfersList();
|
|
78831
79570
|
init_operations();
|
|
78832
79571
|
init_tools();
|
|
78833
|
-
|
|
79572
|
+
args140 = {
|
|
78834
79573
|
request: ListTransfersRequest$inboundSchema
|
|
78835
79574
|
};
|
|
78836
79575
|
tool$transfersList = {
|
|
@@ -78846,9 +79585,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
78846
79585
|
|
|
78847
79586
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78848
79587
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78849
|
-
args:
|
|
78850
|
-
tool: async (client,
|
|
78851
|
-
const [result, apiCall] = await transfersList(client,
|
|
79588
|
+
args: args140,
|
|
79589
|
+
tool: async (client, args141, ctx) => {
|
|
79590
|
+
const [result, apiCall] = await transfersList(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78852
79591
|
if (!result.ok) {
|
|
78853
79592
|
return {
|
|
78854
79593
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78863,9 +79602,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78863
79602
|
|
|
78864
79603
|
// src/funcs/transfersListRefunds.ts
|
|
78865
79604
|
function transfersListRefunds(client, request, options) {
|
|
78866
|
-
return new APIPromise($
|
|
79605
|
+
return new APIPromise($do141(client, request, options));
|
|
78867
79606
|
}
|
|
78868
|
-
async function $
|
|
79607
|
+
async function $do141(client, request, options) {
|
|
78869
79608
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78870
79609
|
if (!parsed.ok) {
|
|
78871
79610
|
return [parsed, { status: "invalid" }];
|
|
@@ -78947,12 +79686,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
78947
79686
|
});
|
|
78948
79687
|
|
|
78949
79688
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
78950
|
-
var
|
|
79689
|
+
var args141, tool$transfersListRefunds;
|
|
78951
79690
|
var init_transfersListRefunds2 = __esm(() => {
|
|
78952
79691
|
init_transfersListRefunds();
|
|
78953
79692
|
init_operations();
|
|
78954
79693
|
init_tools();
|
|
78955
|
-
|
|
79694
|
+
args141 = {
|
|
78956
79695
|
request: ListRefundsRequest$inboundSchema
|
|
78957
79696
|
};
|
|
78958
79697
|
tool$transfersListRefunds = {
|
|
@@ -78961,9 +79700,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
78961
79700
|
|
|
78962
79701
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78963
79702
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78964
|
-
args:
|
|
78965
|
-
tool: async (client,
|
|
78966
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
79703
|
+
args: args141,
|
|
79704
|
+
tool: async (client, args142, ctx) => {
|
|
79705
|
+
const [result, apiCall] = await transfersListRefunds(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78967
79706
|
if (!result.ok) {
|
|
78968
79707
|
return {
|
|
78969
79708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78978,9 +79717,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78978
79717
|
|
|
78979
79718
|
// src/funcs/transfersUpdate.ts
|
|
78980
79719
|
function transfersUpdate(client, request, options) {
|
|
78981
|
-
return new APIPromise($
|
|
79720
|
+
return new APIPromise($do142(client, request, options));
|
|
78982
79721
|
}
|
|
78983
|
-
async function $
|
|
79722
|
+
async function $do142(client, request, options) {
|
|
78984
79723
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78985
79724
|
if (!parsed.ok) {
|
|
78986
79725
|
return [parsed, { status: "invalid" }];
|
|
@@ -79066,12 +79805,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
79066
79805
|
});
|
|
79067
79806
|
|
|
79068
79807
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
79069
|
-
var
|
|
79808
|
+
var args142, tool$transfersUpdate;
|
|
79070
79809
|
var init_transfersUpdate2 = __esm(() => {
|
|
79071
79810
|
init_transfersUpdate();
|
|
79072
79811
|
init_operations();
|
|
79073
79812
|
init_tools();
|
|
79074
|
-
|
|
79813
|
+
args142 = {
|
|
79075
79814
|
request: UpdateTransferRequest$inboundSchema
|
|
79076
79815
|
};
|
|
79077
79816
|
tool$transfersUpdate = {
|
|
@@ -79082,9 +79821,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
79082
79821
|
|
|
79083
79822
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79084
79823
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
79085
|
-
args:
|
|
79086
|
-
tool: async (client,
|
|
79087
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
79824
|
+
args: args142,
|
|
79825
|
+
tool: async (client, args143, ctx) => {
|
|
79826
|
+
const [result, apiCall] = await transfersUpdate(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79088
79827
|
if (!result.ok) {
|
|
79089
79828
|
return {
|
|
79090
79829
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79099,9 +79838,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
79099
79838
|
|
|
79100
79839
|
// src/funcs/underwritingGet.ts
|
|
79101
79840
|
function underwritingGet(client, request, options) {
|
|
79102
|
-
return new APIPromise($
|
|
79841
|
+
return new APIPromise($do143(client, request, options));
|
|
79103
79842
|
}
|
|
79104
|
-
async function $
|
|
79843
|
+
async function $do143(client, request, options) {
|
|
79105
79844
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79106
79845
|
if (!parsed.ok) {
|
|
79107
79846
|
return [parsed, { status: "invalid" }];
|
|
@@ -79179,12 +79918,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
79179
79918
|
});
|
|
79180
79919
|
|
|
79181
79920
|
// src/mcp-server/tools/underwritingGet.ts
|
|
79182
|
-
var
|
|
79921
|
+
var args143, tool$underwritingGet;
|
|
79183
79922
|
var init_underwritingGet2 = __esm(() => {
|
|
79184
79923
|
init_underwritingGet();
|
|
79185
79924
|
init_operations();
|
|
79186
79925
|
init_tools();
|
|
79187
|
-
|
|
79926
|
+
args143 = {
|
|
79188
79927
|
request: GetUnderwritingRequest$inboundSchema
|
|
79189
79928
|
};
|
|
79190
79929
|
tool$underwritingGet = {
|
|
@@ -79195,9 +79934,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
79195
79934
|
|
|
79196
79935
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79197
79936
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
79198
|
-
args:
|
|
79199
|
-
tool: async (client,
|
|
79200
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
79937
|
+
args: args143,
|
|
79938
|
+
tool: async (client, args144, ctx) => {
|
|
79939
|
+
const [result, apiCall] = await underwritingGet(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79201
79940
|
if (!result.ok) {
|
|
79202
79941
|
return {
|
|
79203
79942
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79212,9 +79951,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
79212
79951
|
|
|
79213
79952
|
// src/funcs/underwritingSave.ts
|
|
79214
79953
|
function underwritingSave(client, request, options) {
|
|
79215
|
-
return new APIPromise($
|
|
79954
|
+
return new APIPromise($do144(client, request, options));
|
|
79216
79955
|
}
|
|
79217
|
-
async function $
|
|
79956
|
+
async function $do144(client, request, options) {
|
|
79218
79957
|
const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79219
79958
|
if (!parsed.ok) {
|
|
79220
79959
|
return [parsed, { status: "invalid" }];
|
|
@@ -79310,12 +80049,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
79310
80049
|
});
|
|
79311
80050
|
|
|
79312
80051
|
// src/mcp-server/tools/underwritingSave.ts
|
|
79313
|
-
var
|
|
80052
|
+
var args144, tool$underwritingSave;
|
|
79314
80053
|
var init_underwritingSave2 = __esm(() => {
|
|
79315
80054
|
init_underwritingSave();
|
|
79316
80055
|
init_operations();
|
|
79317
80056
|
init_tools();
|
|
79318
|
-
|
|
80057
|
+
args144 = {
|
|
79319
80058
|
request: SaveUnderwritingRequest$inboundSchema
|
|
79320
80059
|
};
|
|
79321
80060
|
tool$underwritingSave = {
|
|
@@ -79326,9 +80065,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
79326
80065
|
|
|
79327
80066
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79328
80067
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
79329
|
-
args:
|
|
79330
|
-
tool: async (client,
|
|
79331
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
80068
|
+
args: args144,
|
|
80069
|
+
tool: async (client, args145, ctx) => {
|
|
80070
|
+
const [result, apiCall] = await underwritingSave(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79332
80071
|
if (!result.ok) {
|
|
79333
80072
|
return {
|
|
79334
80073
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79343,9 +80082,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
79343
80082
|
|
|
79344
80083
|
// src/funcs/underwritingUpsert.ts
|
|
79345
80084
|
function underwritingUpsert(client, request, options) {
|
|
79346
|
-
return new APIPromise($
|
|
80085
|
+
return new APIPromise($do145(client, request, options));
|
|
79347
80086
|
}
|
|
79348
|
-
async function $
|
|
80087
|
+
async function $do145(client, request, options) {
|
|
79349
80088
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79350
80089
|
if (!parsed.ok) {
|
|
79351
80090
|
return [parsed, { status: "invalid" }];
|
|
@@ -79441,12 +80180,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
79441
80180
|
});
|
|
79442
80181
|
|
|
79443
80182
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
79444
|
-
var
|
|
80183
|
+
var args145, tool$underwritingUpsert;
|
|
79445
80184
|
var init_underwritingUpsert2 = __esm(() => {
|
|
79446
80185
|
init_underwritingUpsert();
|
|
79447
80186
|
init_operations();
|
|
79448
80187
|
init_tools();
|
|
79449
|
-
|
|
80188
|
+
args145 = {
|
|
79450
80189
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
79451
80190
|
};
|
|
79452
80191
|
tool$underwritingUpsert = {
|
|
@@ -79457,9 +80196,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
79457
80196
|
|
|
79458
80197
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79459
80198
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
79460
|
-
args:
|
|
79461
|
-
tool: async (client,
|
|
79462
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
80199
|
+
args: args145,
|
|
80200
|
+
tool: async (client, args146, ctx) => {
|
|
80201
|
+
const [result, apiCall] = await underwritingUpsert(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79463
80202
|
if (!result.ok) {
|
|
79464
80203
|
return {
|
|
79465
80204
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79474,9 +80213,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
79474
80213
|
|
|
79475
80214
|
// src/funcs/walletsCreate.ts
|
|
79476
80215
|
function walletsCreate(client, request, options) {
|
|
79477
|
-
return new APIPromise($
|
|
80216
|
+
return new APIPromise($do146(client, request, options));
|
|
79478
80217
|
}
|
|
79479
|
-
async function $
|
|
80218
|
+
async function $do146(client, request, options) {
|
|
79480
80219
|
const parsed = safeParse(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79481
80220
|
if (!parsed.ok) {
|
|
79482
80221
|
return [parsed, { status: "invalid" }];
|
|
@@ -79570,12 +80309,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
79570
80309
|
});
|
|
79571
80310
|
|
|
79572
80311
|
// src/mcp-server/tools/walletsCreate.ts
|
|
79573
|
-
var
|
|
80312
|
+
var args146, tool$walletsCreate;
|
|
79574
80313
|
var init_walletsCreate2 = __esm(() => {
|
|
79575
80314
|
init_walletsCreate();
|
|
79576
80315
|
init_operations();
|
|
79577
80316
|
init_tools();
|
|
79578
|
-
|
|
80317
|
+
args146 = {
|
|
79579
80318
|
request: CreateWalletRequest$inboundSchema
|
|
79580
80319
|
};
|
|
79581
80320
|
tool$walletsCreate = {
|
|
@@ -79586,9 +80325,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79586
80325
|
|
|
79587
80326
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79588
80327
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79589
|
-
args:
|
|
79590
|
-
tool: async (client,
|
|
79591
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
80328
|
+
args: args146,
|
|
80329
|
+
tool: async (client, args147, ctx) => {
|
|
80330
|
+
const [result, apiCall] = await walletsCreate(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79592
80331
|
if (!result.ok) {
|
|
79593
80332
|
return {
|
|
79594
80333
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79603,9 +80342,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79603
80342
|
|
|
79604
80343
|
// src/funcs/walletsGet.ts
|
|
79605
80344
|
function walletsGet(client, request, options) {
|
|
79606
|
-
return new APIPromise($
|
|
80345
|
+
return new APIPromise($do147(client, request, options));
|
|
79607
80346
|
}
|
|
79608
|
-
async function $
|
|
80347
|
+
async function $do147(client, request, options) {
|
|
79609
80348
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79610
80349
|
if (!parsed.ok) {
|
|
79611
80350
|
return [parsed, { status: "invalid" }];
|
|
@@ -79687,12 +80426,12 @@ var init_walletsGet = __esm(() => {
|
|
|
79687
80426
|
});
|
|
79688
80427
|
|
|
79689
80428
|
// src/mcp-server/tools/walletsGet.ts
|
|
79690
|
-
var
|
|
80429
|
+
var args147, tool$walletsGet;
|
|
79691
80430
|
var init_walletsGet2 = __esm(() => {
|
|
79692
80431
|
init_walletsGet();
|
|
79693
80432
|
init_operations();
|
|
79694
80433
|
init_tools();
|
|
79695
|
-
|
|
80434
|
+
args147 = {
|
|
79696
80435
|
request: GetWalletRequest$inboundSchema
|
|
79697
80436
|
};
|
|
79698
80437
|
tool$walletsGet = {
|
|
@@ -79703,9 +80442,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79703
80442
|
|
|
79704
80443
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79705
80444
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79706
|
-
args:
|
|
79707
|
-
tool: async (client,
|
|
79708
|
-
const [result, apiCall] = await walletsGet(client,
|
|
80445
|
+
args: args147,
|
|
80446
|
+
tool: async (client, args148, ctx) => {
|
|
80447
|
+
const [result, apiCall] = await walletsGet(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79709
80448
|
if (!result.ok) {
|
|
79710
80449
|
return {
|
|
79711
80450
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79720,9 +80459,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79720
80459
|
|
|
79721
80460
|
// src/funcs/walletsList.ts
|
|
79722
80461
|
function walletsList(client, request, options) {
|
|
79723
|
-
return new APIPromise($
|
|
80462
|
+
return new APIPromise($do148(client, request, options));
|
|
79724
80463
|
}
|
|
79725
|
-
async function $
|
|
80464
|
+
async function $do148(client, request, options) {
|
|
79726
80465
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79727
80466
|
if (!parsed.ok) {
|
|
79728
80467
|
return [parsed, { status: "invalid" }];
|
|
@@ -79810,12 +80549,12 @@ var init_walletsList = __esm(() => {
|
|
|
79810
80549
|
});
|
|
79811
80550
|
|
|
79812
80551
|
// src/mcp-server/tools/walletsList.ts
|
|
79813
|
-
var
|
|
80552
|
+
var args148, tool$walletsList;
|
|
79814
80553
|
var init_walletsList2 = __esm(() => {
|
|
79815
80554
|
init_walletsList();
|
|
79816
80555
|
init_operations();
|
|
79817
80556
|
init_tools();
|
|
79818
|
-
|
|
80557
|
+
args148 = {
|
|
79819
80558
|
request: ListWalletsRequest$inboundSchema
|
|
79820
80559
|
};
|
|
79821
80560
|
tool$walletsList = {
|
|
@@ -79826,9 +80565,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79826
80565
|
|
|
79827
80566
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79828
80567
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79829
|
-
args:
|
|
79830
|
-
tool: async (client,
|
|
79831
|
-
const [result, apiCall] = await walletsList(client,
|
|
80568
|
+
args: args148,
|
|
80569
|
+
tool: async (client, args149, ctx) => {
|
|
80570
|
+
const [result, apiCall] = await walletsList(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79832
80571
|
if (!result.ok) {
|
|
79833
80572
|
return {
|
|
79834
80573
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79843,9 +80582,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79843
80582
|
|
|
79844
80583
|
// src/funcs/walletsUpdate.ts
|
|
79845
80584
|
function walletsUpdate(client, request, options) {
|
|
79846
|
-
return new APIPromise($
|
|
80585
|
+
return new APIPromise($do149(client, request, options));
|
|
79847
80586
|
}
|
|
79848
|
-
async function $
|
|
80587
|
+
async function $do149(client, request, options) {
|
|
79849
80588
|
const parsed = safeParse(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79850
80589
|
if (!parsed.ok) {
|
|
79851
80590
|
return [parsed, { status: "invalid" }];
|
|
@@ -79943,12 +80682,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
79943
80682
|
});
|
|
79944
80683
|
|
|
79945
80684
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
79946
|
-
var
|
|
80685
|
+
var args149, tool$walletsUpdate;
|
|
79947
80686
|
var init_walletsUpdate2 = __esm(() => {
|
|
79948
80687
|
init_walletsUpdate();
|
|
79949
80688
|
init_operations();
|
|
79950
80689
|
init_tools();
|
|
79951
|
-
|
|
80690
|
+
args149 = {
|
|
79952
80691
|
request: UpdateWalletRequest$inboundSchema
|
|
79953
80692
|
};
|
|
79954
80693
|
tool$walletsUpdate = {
|
|
@@ -79959,9 +80698,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79959
80698
|
|
|
79960
80699
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79961
80700
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79962
|
-
args:
|
|
79963
|
-
tool: async (client,
|
|
79964
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
80701
|
+
args: args149,
|
|
80702
|
+
tool: async (client, args150, ctx) => {
|
|
80703
|
+
const [result, apiCall] = await walletsUpdate(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79965
80704
|
if (!result.ok) {
|
|
79966
80705
|
return {
|
|
79967
80706
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79976,9 +80715,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79976
80715
|
|
|
79977
80716
|
// src/funcs/walletTransactionsGet.ts
|
|
79978
80717
|
function walletTransactionsGet(client, request, options) {
|
|
79979
|
-
return new APIPromise($
|
|
80718
|
+
return new APIPromise($do150(client, request, options));
|
|
79980
80719
|
}
|
|
79981
|
-
async function $
|
|
80720
|
+
async function $do150(client, request, options) {
|
|
79982
80721
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79983
80722
|
if (!parsed.ok) {
|
|
79984
80723
|
return [parsed, { status: "invalid" }];
|
|
@@ -80064,12 +80803,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
80064
80803
|
});
|
|
80065
80804
|
|
|
80066
80805
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
80067
|
-
var
|
|
80806
|
+
var args150, tool$walletTransactionsGet;
|
|
80068
80807
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
80069
80808
|
init_walletTransactionsGet();
|
|
80070
80809
|
init_operations();
|
|
80071
80810
|
init_tools();
|
|
80072
|
-
|
|
80811
|
+
args150 = {
|
|
80073
80812
|
request: GetWalletTransactionRequest$inboundSchema
|
|
80074
80813
|
};
|
|
80075
80814
|
tool$walletTransactionsGet = {
|
|
@@ -80080,9 +80819,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
80080
80819
|
|
|
80081
80820
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80082
80821
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
80083
|
-
args:
|
|
80084
|
-
tool: async (client,
|
|
80085
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
80822
|
+
args: args150,
|
|
80823
|
+
tool: async (client, args151, ctx) => {
|
|
80824
|
+
const [result, apiCall] = await walletTransactionsGet(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80086
80825
|
if (!result.ok) {
|
|
80087
80826
|
return {
|
|
80088
80827
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80097,9 +80836,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
80097
80836
|
|
|
80098
80837
|
// src/funcs/walletTransactionsList.ts
|
|
80099
80838
|
function walletTransactionsList(client, request, options) {
|
|
80100
|
-
return new APIPromise($
|
|
80839
|
+
return new APIPromise($do151(client, request, options));
|
|
80101
80840
|
}
|
|
80102
|
-
async function $
|
|
80841
|
+
async function $do151(client, request, options) {
|
|
80103
80842
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80104
80843
|
if (!parsed.ok) {
|
|
80105
80844
|
return [parsed, { status: "invalid" }];
|
|
@@ -80199,12 +80938,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
80199
80938
|
});
|
|
80200
80939
|
|
|
80201
80940
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
80202
|
-
var
|
|
80941
|
+
var args151, tool$walletTransactionsList;
|
|
80203
80942
|
var init_walletTransactionsList2 = __esm(() => {
|
|
80204
80943
|
init_walletTransactionsList();
|
|
80205
80944
|
init_operations();
|
|
80206
80945
|
init_tools();
|
|
80207
|
-
|
|
80946
|
+
args151 = {
|
|
80208
80947
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
80209
80948
|
};
|
|
80210
80949
|
tool$walletTransactionsList = {
|
|
@@ -80215,9 +80954,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
80215
80954
|
|
|
80216
80955
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80217
80956
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
80218
|
-
args:
|
|
80219
|
-
tool: async (client,
|
|
80220
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
80957
|
+
args: args151,
|
|
80958
|
+
tool: async (client, args152, ctx) => {
|
|
80959
|
+
const [result, apiCall] = await walletTransactionsList(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80221
80960
|
if (!result.ok) {
|
|
80222
80961
|
return {
|
|
80223
80962
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80234,7 +80973,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
80234
80973
|
function createMCPServer(deps) {
|
|
80235
80974
|
const server = new McpServer({
|
|
80236
80975
|
name: "Moov",
|
|
80237
|
-
version: "0.
|
|
80976
|
+
version: "0.16.0"
|
|
80238
80977
|
});
|
|
80239
80978
|
const client = new MoovCore({
|
|
80240
80979
|
security: deps.security,
|
|
@@ -80308,6 +81047,10 @@ function createMCPServer(deps) {
|
|
|
80308
81047
|
tool(tool$filesUpload);
|
|
80309
81048
|
tool(tool$filesList);
|
|
80310
81049
|
tool(tool$filesGet);
|
|
81050
|
+
tool(tool$imagesList);
|
|
81051
|
+
tool(tool$imagesGetMetadata);
|
|
81052
|
+
tool(tool$imagesDelete);
|
|
81053
|
+
tool(tool$imagesGetPublic);
|
|
80311
81054
|
tool(tool$paymentLinksCreate);
|
|
80312
81055
|
tool(tool$paymentLinksList);
|
|
80313
81056
|
tool(tool$paymentLinksGet);
|
|
@@ -80478,6 +81221,10 @@ var init_server2 = __esm(() => {
|
|
|
80478
81221
|
init_filesGet2();
|
|
80479
81222
|
init_filesList2();
|
|
80480
81223
|
init_filesUpload2();
|
|
81224
|
+
init_imagesDelete2();
|
|
81225
|
+
init_imagesGetMetadata2();
|
|
81226
|
+
init_imagesGetPublic2();
|
|
81227
|
+
init_imagesList2();
|
|
80481
81228
|
init_industriesList2();
|
|
80482
81229
|
init_institutionsSearch2();
|
|
80483
81230
|
init_institutionsSearchInstitutions2();
|
|
@@ -81752,7 +82499,7 @@ var routes = rn({
|
|
|
81752
82499
|
var app = Ve(routes, {
|
|
81753
82500
|
name: "mcp",
|
|
81754
82501
|
versionInfo: {
|
|
81755
|
-
currentVersion: "0.
|
|
82502
|
+
currentVersion: "0.16.0"
|
|
81756
82503
|
}
|
|
81757
82504
|
});
|
|
81758
82505
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -81760,5 +82507,5 @@ export {
|
|
|
81760
82507
|
app
|
|
81761
82508
|
};
|
|
81762
82509
|
|
|
81763
|
-
//# debugId=
|
|
82510
|
+
//# debugId=02D367C2AB1D284864756E2164756E21
|
|
81764
82511
|
//# sourceMappingURL=mcp-server.js.map
|