@moovio/sdk 0.15.5 → 0.15.7
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 +1399 -647
- package/bin/mcp-server.js.map +24 -11
- 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 +12 -0
- package/models/components/paymentmethodswallet.d.ts.map +1 -1
- package/models/components/paymentmethodswallet.js +5 -0
- package/models/components/paymentmethodswallet.js.map +1 -1
- 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/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 +20 -0
- package/src/models/components/security.ts +8 -8
- 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.15.
|
|
34179
|
-
genVersion: "2.
|
|
34180
|
-
userAgent: "speakeasy-sdk/typescript 0.15.
|
|
34178
|
+
sdkVersion: "0.15.7",
|
|
34179
|
+
genVersion: "2.720.1",
|
|
34180
|
+
userAgent: "speakeasy-sdk/typescript 0.15.7 2.720.1 latest @moovio/sdk"
|
|
34181
34181
|
};
|
|
34182
34182
|
});
|
|
34183
34183
|
|
|
@@ -42769,15 +42769,36 @@ var init_moovfeedetails = __esm(() => {
|
|
|
42769
42769
|
})(MoovFeeDetails$ ||= {});
|
|
42770
42770
|
});
|
|
42771
42771
|
|
|
42772
|
+
// src/models/components/wallettype.ts
|
|
42773
|
+
var WalletType, WalletType$inboundSchema, WalletType$outboundSchema, WalletType$;
|
|
42774
|
+
var init_wallettype = __esm(() => {
|
|
42775
|
+
init_esm();
|
|
42776
|
+
WalletType = {
|
|
42777
|
+
Default: "default",
|
|
42778
|
+
General: "general"
|
|
42779
|
+
};
|
|
42780
|
+
WalletType$inboundSchema = nativeEnumType(WalletType);
|
|
42781
|
+
WalletType$outboundSchema = WalletType$inboundSchema;
|
|
42782
|
+
((WalletType$) => {
|
|
42783
|
+
WalletType$.inboundSchema = WalletType$inboundSchema;
|
|
42784
|
+
WalletType$.outboundSchema = WalletType$outboundSchema;
|
|
42785
|
+
})(WalletType$ ||= {});
|
|
42786
|
+
});
|
|
42787
|
+
|
|
42772
42788
|
// src/models/components/paymentmethodswallet.ts
|
|
42773
42789
|
var PaymentMethodsWallet$inboundSchema, PaymentMethodsWallet$outboundSchema, PaymentMethodsWallet$;
|
|
42774
42790
|
var init_paymentmethodswallet = __esm(() => {
|
|
42775
42791
|
init_esm();
|
|
42792
|
+
init_wallettype();
|
|
42776
42793
|
PaymentMethodsWallet$inboundSchema = objectType({
|
|
42777
|
-
walletID: stringType()
|
|
42794
|
+
walletID: stringType(),
|
|
42795
|
+
partnerAccountID: stringType(),
|
|
42796
|
+
walletType: WalletType$inboundSchema
|
|
42778
42797
|
});
|
|
42779
42798
|
PaymentMethodsWallet$outboundSchema = objectType({
|
|
42780
|
-
walletID: stringType()
|
|
42799
|
+
walletID: stringType(),
|
|
42800
|
+
partnerAccountID: stringType(),
|
|
42801
|
+
walletType: WalletType$outboundSchema
|
|
42781
42802
|
});
|
|
42782
42803
|
((PaymentMethodsWallet$) => {
|
|
42783
42804
|
PaymentMethodsWallet$.inboundSchema = PaymentMethodsWallet$inboundSchema;
|
|
@@ -45019,6 +45040,30 @@ var init_governmentiderror = __esm(() => {
|
|
|
45019
45040
|
})(GovernmentIDError$ ||= {});
|
|
45020
45041
|
});
|
|
45021
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
|
+
|
|
45022
45067
|
// src/models/components/incurredfee.ts
|
|
45023
45068
|
var IncurredFee$inboundSchema, IncurredFee$outboundSchema, IncurredFee$;
|
|
45024
45069
|
var init_incurredfee = __esm(() => {
|
|
@@ -47554,12 +47599,12 @@ var Security$inboundSchema, Security$outboundSchema, Security$;
|
|
|
47554
47599
|
var init_security2 = __esm(() => {
|
|
47555
47600
|
init_esm();
|
|
47556
47601
|
Security$inboundSchema = objectType({
|
|
47557
|
-
username: stringType(),
|
|
47558
|
-
password: stringType()
|
|
47602
|
+
username: stringType().optional(),
|
|
47603
|
+
password: stringType().optional()
|
|
47559
47604
|
});
|
|
47560
47605
|
Security$outboundSchema = objectType({
|
|
47561
|
-
username: stringType(),
|
|
47562
|
-
password: stringType()
|
|
47606
|
+
username: stringType().optional(),
|
|
47607
|
+
password: stringType().optional()
|
|
47563
47608
|
});
|
|
47564
47609
|
((Security$) => {
|
|
47565
47610
|
Security$.inboundSchema = Security$inboundSchema;
|
|
@@ -48908,22 +48953,6 @@ var init_walletavailablebalance = __esm(() => {
|
|
|
48908
48953
|
})(WalletAvailableBalance$ ||= {});
|
|
48909
48954
|
});
|
|
48910
48955
|
|
|
48911
|
-
// src/models/components/wallettype.ts
|
|
48912
|
-
var WalletType, WalletType$inboundSchema, WalletType$outboundSchema, WalletType$;
|
|
48913
|
-
var init_wallettype = __esm(() => {
|
|
48914
|
-
init_esm();
|
|
48915
|
-
WalletType = {
|
|
48916
|
-
Default: "default",
|
|
48917
|
-
General: "general"
|
|
48918
|
-
};
|
|
48919
|
-
WalletType$inboundSchema = nativeEnumType(WalletType);
|
|
48920
|
-
WalletType$outboundSchema = WalletType$inboundSchema;
|
|
48921
|
-
((WalletType$) => {
|
|
48922
|
-
WalletType$.inboundSchema = WalletType$inboundSchema;
|
|
48923
|
-
WalletType$.outboundSchema = WalletType$outboundSchema;
|
|
48924
|
-
})(WalletType$ ||= {});
|
|
48925
|
-
});
|
|
48926
|
-
|
|
48927
48956
|
// src/models/components/wallet.ts
|
|
48928
48957
|
var Wallet$inboundSchema, Wallet$outboundSchema, Wallet$;
|
|
48929
48958
|
var init_wallet = __esm(() => {
|
|
@@ -50261,6 +50290,7 @@ var init_components = __esm(() => {
|
|
|
50261
50290
|
init_governmentiderror();
|
|
50262
50291
|
init_granttype();
|
|
50263
50292
|
init_guestprofile();
|
|
50293
|
+
init_imagemetadata();
|
|
50264
50294
|
init_incurredfee();
|
|
50265
50295
|
init_individualname();
|
|
50266
50296
|
init_individualnameerror();
|
|
@@ -54553,6 +54583,61 @@ var init_deletedisputeevidencefile = __esm(() => {
|
|
|
54553
54583
|
})(DeleteDisputeEvidenceFileResponse$ ||= {});
|
|
54554
54584
|
});
|
|
54555
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
|
+
|
|
54556
54641
|
// src/models/operations/deleterepresentative.ts
|
|
54557
54642
|
var DeleteRepresentativeGlobals$inboundSchema, DeleteRepresentativeGlobals$outboundSchema, DeleteRepresentativeGlobals$, DeleteRepresentativeRequest$inboundSchema, DeleteRepresentativeRequest$outboundSchema, DeleteRepresentativeRequest$, DeleteRepresentativeResponse$inboundSchema, DeleteRepresentativeResponse$outboundSchema, DeleteRepresentativeResponse$;
|
|
54558
54643
|
var init_deleterepresentative = __esm(() => {
|
|
@@ -56165,6 +56250,66 @@ var init_getfullissuedcard = __esm(() => {
|
|
|
56165
56250
|
})(GetFullIssuedCardResponse$ ||= {});
|
|
56166
56251
|
});
|
|
56167
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
|
+
|
|
56168
56313
|
// src/models/operations/getissuedcard.ts
|
|
56169
56314
|
var GetIssuedCardGlobals$inboundSchema, GetIssuedCardGlobals$outboundSchema, GetIssuedCardGlobals$, GetIssuedCardRequest$inboundSchema, GetIssuedCardRequest$outboundSchema, GetIssuedCardRequest$, GetIssuedCardResponse$inboundSchema, GetIssuedCardResponse$outboundSchema, GetIssuedCardResponse$;
|
|
56170
56315
|
var init_getissuedcard = __esm(() => {
|
|
@@ -56658,6 +56803,79 @@ var init_getpaymentmethod = __esm(() => {
|
|
|
56658
56803
|
})(GetPaymentMethodResponse$ ||= {});
|
|
56659
56804
|
});
|
|
56660
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
|
+
|
|
56661
56879
|
// src/models/operations/getrefund.ts
|
|
56662
56880
|
var GetRefundGlobals$inboundSchema, GetRefundGlobals$outboundSchema, GetRefundGlobals$, GetRefundRequest$inboundSchema, GetRefundRequest$outboundSchema, GetRefundRequest$, GetRefundResponse$inboundSchema, GetRefundResponse$outboundSchema, GetRefundResponse$;
|
|
56663
56881
|
var init_getrefund = __esm(() => {
|
|
@@ -58841,6 +59059,64 @@ var init_listfiles = __esm(() => {
|
|
|
58841
59059
|
})(ListFilesResponse$ ||= {});
|
|
58842
59060
|
});
|
|
58843
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
|
+
|
|
58844
59120
|
// src/models/operations/listindustries.ts
|
|
58845
59121
|
var ListIndustriesGlobals$inboundSchema, ListIndustriesGlobals$outboundSchema, ListIndustriesGlobals$, ListIndustriesRequest$inboundSchema, ListIndustriesRequest$outboundSchema, ListIndustriesRequest$, ListIndustriesResponse$inboundSchema, ListIndustriesResponse$outboundSchema, ListIndustriesResponse$;
|
|
58846
59122
|
var init_listindustries = __esm(() => {
|
|
@@ -62311,6 +62587,7 @@ var init_operations = __esm(() => {
|
|
|
62311
62587
|
init_createtransferoptions2();
|
|
62312
62588
|
init_createwallet2();
|
|
62313
62589
|
init_deletedisputeevidencefile();
|
|
62590
|
+
init_deleteimage();
|
|
62314
62591
|
init_deleterepresentative();
|
|
62315
62592
|
init_deleteterminalapplication();
|
|
62316
62593
|
init_disablebankaccount();
|
|
@@ -62338,6 +62615,7 @@ var init_operations = __esm(() => {
|
|
|
62338
62615
|
init_getenrichmentprofile();
|
|
62339
62616
|
init_getfiledetails();
|
|
62340
62617
|
init_getfullissuedcard();
|
|
62618
|
+
init_getimagemetadata();
|
|
62341
62619
|
init_getissuedcard();
|
|
62342
62620
|
init_getissuedcardauthorization();
|
|
62343
62621
|
init_getissuedcardtransaction();
|
|
@@ -62346,6 +62624,7 @@ var init_operations = __esm(() => {
|
|
|
62346
62624
|
init_getpaymentlink();
|
|
62347
62625
|
init_getpaymentlinkqrcode();
|
|
62348
62626
|
init_getpaymentmethod();
|
|
62627
|
+
init_getpublicimage();
|
|
62349
62628
|
init_getrefund();
|
|
62350
62629
|
init_getrepresentative();
|
|
62351
62630
|
init_getscheduledoccurrence();
|
|
@@ -62380,6 +62659,7 @@ var init_operations = __esm(() => {
|
|
|
62380
62659
|
init_listfeeplans();
|
|
62381
62660
|
init_listfeesfetch();
|
|
62382
62661
|
init_listfiles();
|
|
62662
|
+
init_listimagemetadata();
|
|
62383
62663
|
init_listindustries();
|
|
62384
62664
|
init_listinstitutions();
|
|
62385
62665
|
init_listissuedcardauthorizationevents();
|
|
@@ -71323,7 +71603,500 @@ async function $do73(client, request, options) {
|
|
|
71323
71603
|
const responseFields = {
|
|
71324
71604
|
HttpMeta: { Response: response, Request: req }
|
|
71325
71605
|
};
|
|
71326
|
-
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, {
|
|
71327
72100
|
hdrs: true,
|
|
71328
72101
|
key: "Result"
|
|
71329
72102
|
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
@@ -71332,7 +72105,7 @@ async function $do73(client, request, options) {
|
|
|
71332
72105
|
}
|
|
71333
72106
|
return [result, { status: "complete", request: req, response }];
|
|
71334
72107
|
}
|
|
71335
|
-
var
|
|
72108
|
+
var init_imagesGetMetadata = __esm(() => {
|
|
71336
72109
|
init_encodings();
|
|
71337
72110
|
init_matchers();
|
|
71338
72111
|
init_primitives();
|
|
@@ -71343,24 +72116,21 @@ var init_filesGet = __esm(() => {
|
|
|
71343
72116
|
init_async();
|
|
71344
72117
|
});
|
|
71345
72118
|
|
|
71346
|
-
// src/mcp-server/tools/
|
|
71347
|
-
var
|
|
71348
|
-
var
|
|
71349
|
-
|
|
72119
|
+
// src/mcp-server/tools/imagesGetMetadata.ts
|
|
72120
|
+
var args77, tool$imagesGetMetadata;
|
|
72121
|
+
var init_imagesGetMetadata2 = __esm(() => {
|
|
72122
|
+
init_imagesGetMetadata();
|
|
71350
72123
|
init_operations();
|
|
71351
72124
|
init_tools();
|
|
71352
|
-
|
|
71353
|
-
request:
|
|
72125
|
+
args77 = {
|
|
72126
|
+
request: GetImageMetadataRequest$inboundSchema
|
|
71354
72127
|
};
|
|
71355
|
-
tool$
|
|
71356
|
-
name: "
|
|
71357
|
-
description: `Retrieve
|
|
71358
|
-
|
|
71359
|
-
|
|
71360
|
-
|
|
71361
|
-
args: args73,
|
|
71362
|
-
tool: async (client, args74, ctx) => {
|
|
71363
|
-
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();
|
|
71364
72134
|
if (!result.ok) {
|
|
71365
72135
|
return {
|
|
71366
72136
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71373,46 +72143,50 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
71373
72143
|
};
|
|
71374
72144
|
});
|
|
71375
72145
|
|
|
71376
|
-
// src/funcs/
|
|
71377
|
-
function
|
|
71378
|
-
return new APIPromise($
|
|
72146
|
+
// src/funcs/imagesGetPublic.ts
|
|
72147
|
+
function imagesGetPublic(client, request, options) {
|
|
72148
|
+
return new APIPromise($do78(client, request, options));
|
|
71379
72149
|
}
|
|
71380
|
-
async function $
|
|
71381
|
-
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");
|
|
71382
72152
|
if (!parsed.ok) {
|
|
71383
72153
|
return [parsed, { status: "invalid" }];
|
|
71384
72154
|
}
|
|
71385
72155
|
const payload = parsed.value;
|
|
71386
72156
|
const body = null;
|
|
71387
72157
|
const pathParams = {
|
|
71388
|
-
|
|
72158
|
+
publicID: encodeSimple("publicID", payload.publicID, {
|
|
71389
72159
|
explode: false,
|
|
71390
72160
|
charEncoding: "percent"
|
|
71391
72161
|
})
|
|
71392
72162
|
};
|
|
71393
|
-
const path = pathToFunc("/
|
|
72163
|
+
const path = pathToFunc("/images/{publicID}")(pathParams);
|
|
72164
|
+
const query = encodeFormQuery({
|
|
72165
|
+
size: payload.size
|
|
72166
|
+
}, { explode: false });
|
|
71394
72167
|
const headers = new Headers(compactMap({
|
|
71395
|
-
Accept: "
|
|
71396
|
-
"
|
|
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
|
+
})
|
|
71397
72173
|
}));
|
|
71398
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
71399
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
71400
72174
|
const context = {
|
|
71401
72175
|
options: client._options,
|
|
71402
72176
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71403
|
-
operationID: "
|
|
72177
|
+
operationID: "getPublicImage",
|
|
71404
72178
|
oAuth2Scopes: [],
|
|
71405
|
-
resolvedSecurity:
|
|
71406
|
-
securitySource:
|
|
72179
|
+
resolvedSecurity: null,
|
|
72180
|
+
securitySource: null,
|
|
71407
72181
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
71408
72182
|
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
71409
72183
|
};
|
|
71410
72184
|
const requestRes = client._createRequest(context, {
|
|
71411
|
-
security: requestSecurity,
|
|
71412
72185
|
method: "GET",
|
|
71413
72186
|
baseURL: options?.serverURL,
|
|
71414
72187
|
path,
|
|
71415
72188
|
headers,
|
|
72189
|
+
query,
|
|
71416
72190
|
body,
|
|
71417
72191
|
userAgent: client._options.userAgent,
|
|
71418
72192
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -71423,7 +72197,7 @@ async function $do74(client, request, options) {
|
|
|
71423
72197
|
const req = requestRes.value;
|
|
71424
72198
|
const doResult = await client._do(req, {
|
|
71425
72199
|
context,
|
|
71426
|
-
errorCodes: ["
|
|
72200
|
+
errorCodes: ["404", "429", "4XX", "500", "502", "504", "5XX"],
|
|
71427
72201
|
retryConfig: context.retryConfig,
|
|
71428
72202
|
retryCodes: context.retryCodes
|
|
71429
72203
|
});
|
|
@@ -71434,91 +72208,81 @@ async function $do74(client, request, options) {
|
|
|
71434
72208
|
const responseFields = {
|
|
71435
72209
|
HttpMeta: { Response: response, Request: req }
|
|
71436
72210
|
};
|
|
71437
|
-
const [result] = await match(
|
|
72211
|
+
const [result] = await match(stream(200, GetPublicImageResponse$inboundSchema.optional(), {
|
|
72212
|
+
ctype: "image/webp",
|
|
71438
72213
|
hdrs: true,
|
|
71439
72214
|
key: "Result"
|
|
71440
|
-
}),
|
|
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 });
|
|
71441
72226
|
if (!result.ok) {
|
|
71442
72227
|
return [result, { status: "complete", request: req, response }];
|
|
71443
72228
|
}
|
|
71444
72229
|
return [result, { status: "complete", request: req, response }];
|
|
71445
72230
|
}
|
|
71446
|
-
var
|
|
72231
|
+
var init_imagesGetPublic = __esm(() => {
|
|
71447
72232
|
init_encodings();
|
|
71448
72233
|
init_matchers();
|
|
71449
72234
|
init_primitives();
|
|
71450
72235
|
init_schemas();
|
|
71451
|
-
init_security();
|
|
71452
72236
|
init_url();
|
|
71453
72237
|
init_operations();
|
|
71454
72238
|
init_async();
|
|
71455
72239
|
});
|
|
71456
72240
|
|
|
71457
|
-
// src/mcp-server/tools/
|
|
71458
|
-
var
|
|
71459
|
-
var
|
|
71460
|
-
|
|
72241
|
+
// src/mcp-server/tools/imagesGetPublic.ts
|
|
72242
|
+
var args78, tool$imagesGetPublic;
|
|
72243
|
+
var init_imagesGetPublic2 = __esm(() => {
|
|
72244
|
+
init_imagesGetPublic();
|
|
71461
72245
|
init_operations();
|
|
71462
72246
|
init_tools();
|
|
71463
|
-
|
|
71464
|
-
request:
|
|
72247
|
+
args78 = {
|
|
72248
|
+
request: GetPublicImageRequest$inboundSchema
|
|
71465
72249
|
};
|
|
71466
|
-
tool$
|
|
71467
|
-
name: "
|
|
71468
|
-
description: `
|
|
71469
|
-
|
|
71470
|
-
|
|
71471
|
-
|
|
71472
|
-
args: args74,
|
|
71473
|
-
tool: async (client, args75, ctx) => {
|
|
71474
|
-
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();
|
|
71475
72256
|
if (!result.ok) {
|
|
71476
72257
|
return {
|
|
71477
72258
|
content: [{ type: "text", text: result.error.message }],
|
|
71478
72259
|
isError: true
|
|
71479
72260
|
};
|
|
71480
72261
|
}
|
|
71481
|
-
const value = result.value
|
|
72262
|
+
const value = result.value?.result;
|
|
71482
72263
|
return formatResult(value, apiCall);
|
|
71483
72264
|
}
|
|
71484
72265
|
};
|
|
71485
72266
|
});
|
|
71486
72267
|
|
|
71487
|
-
// src/funcs/
|
|
71488
|
-
function
|
|
71489
|
-
return new APIPromise($
|
|
72268
|
+
// src/funcs/imagesList.ts
|
|
72269
|
+
function imagesList(client, request, options) {
|
|
72270
|
+
return new APIPromise($do79(client, request, options));
|
|
71490
72271
|
}
|
|
71491
|
-
async function $
|
|
71492
|
-
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");
|
|
71493
72274
|
if (!parsed.ok) {
|
|
71494
72275
|
return [parsed, { status: "invalid" }];
|
|
71495
72276
|
}
|
|
71496
72277
|
const payload = parsed.value;
|
|
71497
|
-
const body =
|
|
71498
|
-
if (isBlobLike(payload.FileUploadRequestMultiPart.file)) {
|
|
71499
|
-
appendForm(body, "file", payload.FileUploadRequestMultiPart.file);
|
|
71500
|
-
} else if (isReadableStream(payload.FileUploadRequestMultiPart.file.content)) {
|
|
71501
|
-
const buffer = await readableStreamToArrayBuffer(payload.FileUploadRequestMultiPart.file.content);
|
|
71502
|
-
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
71503
|
-
const blob = new Blob([buffer], { type: contentType2 });
|
|
71504
|
-
appendForm(body, "file", blob, payload.FileUploadRequestMultiPart.file.fileName);
|
|
71505
|
-
} else {
|
|
71506
|
-
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
71507
|
-
appendForm(body, "file", new Blob([payload.FileUploadRequestMultiPart.file.content], {
|
|
71508
|
-
type: contentType2
|
|
71509
|
-
}), payload.FileUploadRequestMultiPart.file.fileName);
|
|
71510
|
-
}
|
|
71511
|
-
appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
|
|
71512
|
-
if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
|
|
71513
|
-
appendForm(body, "metadata", payload.FileUploadRequestMultiPart.metadata);
|
|
71514
|
-
}
|
|
72278
|
+
const body = null;
|
|
71515
72279
|
const pathParams = {
|
|
71516
72280
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
71517
72281
|
explode: false,
|
|
71518
72282
|
charEncoding: "percent"
|
|
71519
72283
|
})
|
|
71520
72284
|
};
|
|
71521
|
-
const path = pathToFunc("/accounts/{accountID}/
|
|
72285
|
+
const path = pathToFunc("/accounts/{accountID}/images")(pathParams);
|
|
71522
72286
|
const headers = new Headers(compactMap({
|
|
71523
72287
|
Accept: "application/json",
|
|
71524
72288
|
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
@@ -71528,7 +72292,7 @@ async function $do75(client, request, options) {
|
|
|
71528
72292
|
const context = {
|
|
71529
72293
|
options: client._options,
|
|
71530
72294
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
71531
|
-
operationID: "
|
|
72295
|
+
operationID: "listImageMetadata",
|
|
71532
72296
|
oAuth2Scopes: [],
|
|
71533
72297
|
resolvedSecurity: requestSecurity,
|
|
71534
72298
|
securitySource: client._options.security,
|
|
@@ -71537,7 +72301,7 @@ async function $do75(client, request, options) {
|
|
|
71537
72301
|
};
|
|
71538
72302
|
const requestRes = client._createRequest(context, {
|
|
71539
72303
|
security: requestSecurity,
|
|
71540
|
-
method: "
|
|
72304
|
+
method: "GET",
|
|
71541
72305
|
baseURL: options?.serverURL,
|
|
71542
72306
|
path,
|
|
71543
72307
|
headers,
|
|
@@ -71551,19 +72315,7 @@ async function $do75(client, request, options) {
|
|
|
71551
72315
|
const req = requestRes.value;
|
|
71552
72316
|
const doResult = await client._do(req, {
|
|
71553
72317
|
context,
|
|
71554
|
-
errorCodes: [
|
|
71555
|
-
"400",
|
|
71556
|
-
"401",
|
|
71557
|
-
"403",
|
|
71558
|
-
"404",
|
|
71559
|
-
"409",
|
|
71560
|
-
"422",
|
|
71561
|
-
"429",
|
|
71562
|
-
"4XX",
|
|
71563
|
-
"500",
|
|
71564
|
-
"504",
|
|
71565
|
-
"5XX"
|
|
71566
|
-
],
|
|
72318
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
71567
72319
|
retryConfig: context.retryConfig,
|
|
71568
72320
|
retryCodes: context.retryCodes
|
|
71569
72321
|
});
|
|
@@ -71574,49 +72326,41 @@ async function $do75(client, request, options) {
|
|
|
71574
72326
|
const responseFields = {
|
|
71575
72327
|
HttpMeta: { Response: response, Request: req }
|
|
71576
72328
|
};
|
|
71577
|
-
const [result] = await match(json(200,
|
|
72329
|
+
const [result] = await match(json(200, ListImageMetadataResponse$inboundSchema, {
|
|
71578
72330
|
hdrs: true,
|
|
71579
72331
|
key: "Result"
|
|
71580
|
-
}),
|
|
72332
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
71581
72333
|
if (!result.ok) {
|
|
71582
72334
|
return [result, { status: "complete", request: req, response }];
|
|
71583
72335
|
}
|
|
71584
72336
|
return [result, { status: "complete", request: req, response }];
|
|
71585
72337
|
}
|
|
71586
|
-
var
|
|
72338
|
+
var init_imagesList = __esm(() => {
|
|
71587
72339
|
init_encodings();
|
|
71588
72340
|
init_matchers();
|
|
71589
72341
|
init_primitives();
|
|
71590
72342
|
init_schemas();
|
|
71591
72343
|
init_security();
|
|
71592
72344
|
init_url();
|
|
71593
|
-
init_errors2();
|
|
71594
72345
|
init_operations();
|
|
71595
72346
|
init_async();
|
|
71596
|
-
init_blobs();
|
|
71597
72347
|
});
|
|
71598
72348
|
|
|
71599
|
-
// src/mcp-server/tools/
|
|
71600
|
-
var
|
|
71601
|
-
var
|
|
71602
|
-
|
|
72349
|
+
// src/mcp-server/tools/imagesList.ts
|
|
72350
|
+
var args79, tool$imagesList;
|
|
72351
|
+
var init_imagesList2 = __esm(() => {
|
|
72352
|
+
init_imagesList();
|
|
71603
72353
|
init_operations();
|
|
71604
72354
|
init_tools();
|
|
71605
|
-
|
|
71606
|
-
request:
|
|
72355
|
+
args79 = {
|
|
72356
|
+
request: ListImageMetadataRequest$inboundSchema
|
|
71607
72357
|
};
|
|
71608
|
-
tool$
|
|
71609
|
-
name: "
|
|
71610
|
-
description: `
|
|
71611
|
-
|
|
71612
|
-
|
|
71613
|
-
|
|
71614
|
-
|
|
71615
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71616
|
-
you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
71617
|
-
args: args75,
|
|
71618
|
-
tool: async (client, args76, ctx) => {
|
|
71619
|
-
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();
|
|
71620
72364
|
if (!result.ok) {
|
|
71621
72365
|
return {
|
|
71622
72366
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71631,9 +72375,9 @@ you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
|
71631
72375
|
|
|
71632
72376
|
// src/funcs/industriesList.ts
|
|
71633
72377
|
function industriesList(client, _request, options) {
|
|
71634
|
-
return new APIPromise($
|
|
72378
|
+
return new APIPromise($do80(client, _request, options));
|
|
71635
72379
|
}
|
|
71636
|
-
async function $
|
|
72380
|
+
async function $do80(client, _request, options) {
|
|
71637
72381
|
const path = pathToFunc("/industries")();
|
|
71638
72382
|
const headers = new Headers(compactMap({
|
|
71639
72383
|
Accept: "application/json",
|
|
@@ -71697,12 +72441,12 @@ var init_industriesList = __esm(() => {
|
|
|
71697
72441
|
});
|
|
71698
72442
|
|
|
71699
72443
|
// src/mcp-server/tools/industriesList.ts
|
|
71700
|
-
var
|
|
72444
|
+
var args80, tool$industriesList;
|
|
71701
72445
|
var init_industriesList2 = __esm(() => {
|
|
71702
72446
|
init_industriesList();
|
|
71703
72447
|
init_operations();
|
|
71704
72448
|
init_tools();
|
|
71705
|
-
|
|
72449
|
+
args80 = {
|
|
71706
72450
|
request: ListIndustriesRequest$inboundSchema
|
|
71707
72451
|
};
|
|
71708
72452
|
tool$industriesList = {
|
|
@@ -71711,9 +72455,9 @@ var init_industriesList2 = __esm(() => {
|
|
|
71711
72455
|
|
|
71712
72456
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
71713
72457
|
you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
71714
|
-
args:
|
|
71715
|
-
tool: async (client,
|
|
71716
|
-
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();
|
|
71717
72461
|
if (!result.ok) {
|
|
71718
72462
|
return {
|
|
71719
72463
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71728,9 +72472,9 @@ you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
|
71728
72472
|
|
|
71729
72473
|
// src/funcs/institutionsSearch.ts
|
|
71730
72474
|
function institutionsSearch(client, request, options) {
|
|
71731
|
-
return new APIPromise($
|
|
72475
|
+
return new APIPromise($do81(client, request, options));
|
|
71732
72476
|
}
|
|
71733
|
-
async function $
|
|
72477
|
+
async function $do81(client, request, options) {
|
|
71734
72478
|
const parsed = safeParse(request, (value) => ListInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71735
72479
|
if (!parsed.ok) {
|
|
71736
72480
|
return [parsed, { status: "invalid" }];
|
|
@@ -71810,12 +72554,12 @@ var init_institutionsSearch = __esm(() => {
|
|
|
71810
72554
|
});
|
|
71811
72555
|
|
|
71812
72556
|
// src/mcp-server/tools/institutionsSearch.ts
|
|
71813
|
-
var
|
|
72557
|
+
var args81, tool$institutionsSearch;
|
|
71814
72558
|
var init_institutionsSearch2 = __esm(() => {
|
|
71815
72559
|
init_institutionsSearch();
|
|
71816
72560
|
init_operations();
|
|
71817
72561
|
init_tools();
|
|
71818
|
-
|
|
72562
|
+
args81 = {
|
|
71819
72563
|
request: ListInstitutionsRequest$inboundSchema
|
|
71820
72564
|
};
|
|
71821
72565
|
tool$institutionsSearch = {
|
|
@@ -71824,9 +72568,9 @@ var init_institutionsSearch2 = __esm(() => {
|
|
|
71824
72568
|
|
|
71825
72569
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71826
72570
|
you'll need to specify the \`/fed.read\` scope.`,
|
|
71827
|
-
args:
|
|
71828
|
-
tool: async (client,
|
|
71829
|
-
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();
|
|
71830
72574
|
if (!result.ok) {
|
|
71831
72575
|
return {
|
|
71832
72576
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71841,9 +72585,9 @@ you'll need to specify the \`/fed.read\` scope.`,
|
|
|
71841
72585
|
|
|
71842
72586
|
// src/funcs/institutionsSearchInstitutions.ts
|
|
71843
72587
|
function institutionsSearchInstitutions(client, request, options) {
|
|
71844
|
-
return new APIPromise($
|
|
72588
|
+
return new APIPromise($do82(client, request, options));
|
|
71845
72589
|
}
|
|
71846
|
-
async function $
|
|
72590
|
+
async function $do82(client, request, options) {
|
|
71847
72591
|
const parsed = safeParse(request, (value) => SearchInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71848
72592
|
if (!parsed.ok) {
|
|
71849
72593
|
return [parsed, { status: "invalid" }];
|
|
@@ -71921,12 +72665,12 @@ var init_institutionsSearchInstitutions = __esm(() => {
|
|
|
71921
72665
|
});
|
|
71922
72666
|
|
|
71923
72667
|
// src/mcp-server/tools/institutionsSearchInstitutions.ts
|
|
71924
|
-
var
|
|
72668
|
+
var args82, tool$institutionsSearchInstitutions;
|
|
71925
72669
|
var init_institutionsSearchInstitutions2 = __esm(() => {
|
|
71926
72670
|
init_institutionsSearchInstitutions();
|
|
71927
72671
|
init_operations();
|
|
71928
72672
|
init_tools();
|
|
71929
|
-
|
|
72673
|
+
args82 = {
|
|
71930
72674
|
request: SearchInstitutionsRequest$inboundSchema
|
|
71931
72675
|
};
|
|
71932
72676
|
tool$institutionsSearchInstitutions = {
|
|
@@ -71939,9 +72683,9 @@ This can be used to validate a financial institution before initiating payment a
|
|
|
71939
72683
|
|
|
71940
72684
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71941
72685
|
you'll need to specify the \`/institutions.read\` scope.`,
|
|
71942
|
-
args:
|
|
71943
|
-
tool: async (client,
|
|
71944
|
-
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();
|
|
71945
72689
|
if (!result.ok) {
|
|
71946
72690
|
return {
|
|
71947
72691
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -71956,9 +72700,9 @@ you'll need to specify the \`/institutions.read\` scope.`,
|
|
|
71956
72700
|
|
|
71957
72701
|
// src/funcs/issuingTransactionsGet.ts
|
|
71958
72702
|
function issuingTransactionsGet(client, request, options) {
|
|
71959
|
-
return new APIPromise($
|
|
72703
|
+
return new APIPromise($do83(client, request, options));
|
|
71960
72704
|
}
|
|
71961
|
-
async function $
|
|
72705
|
+
async function $do83(client, request, options) {
|
|
71962
72706
|
const parsed = safeParse(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71963
72707
|
if (!parsed.ok) {
|
|
71964
72708
|
return [parsed, { status: "invalid" }];
|
|
@@ -72037,12 +72781,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
72037
72781
|
});
|
|
72038
72782
|
|
|
72039
72783
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
72040
|
-
var
|
|
72784
|
+
var args83, tool$issuingTransactionsGet;
|
|
72041
72785
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
72042
72786
|
init_issuingTransactionsGet();
|
|
72043
72787
|
init_operations();
|
|
72044
72788
|
init_tools();
|
|
72045
|
-
|
|
72789
|
+
args83 = {
|
|
72046
72790
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
72047
72791
|
};
|
|
72048
72792
|
tool$issuingTransactionsGet = {
|
|
@@ -72051,9 +72795,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
72051
72795
|
|
|
72052
72796
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72053
72797
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
72054
|
-
args:
|
|
72055
|
-
tool: async (client,
|
|
72056
|
-
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();
|
|
72057
72801
|
if (!result.ok) {
|
|
72058
72802
|
return {
|
|
72059
72803
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72068,9 +72812,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
72068
72812
|
|
|
72069
72813
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
72070
72814
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
72071
|
-
return new APIPromise($
|
|
72815
|
+
return new APIPromise($do84(client, request, options));
|
|
72072
72816
|
}
|
|
72073
|
-
async function $
|
|
72817
|
+
async function $do84(client, request, options) {
|
|
72074
72818
|
const parsed = safeParse(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72075
72819
|
if (!parsed.ok) {
|
|
72076
72820
|
return [parsed, { status: "invalid" }];
|
|
@@ -72152,12 +72896,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
72152
72896
|
});
|
|
72153
72897
|
|
|
72154
72898
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
72155
|
-
var
|
|
72899
|
+
var args84, tool$issuingTransactionsGetAuthorization;
|
|
72156
72900
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
72157
72901
|
init_issuingTransactionsGetAuthorization();
|
|
72158
72902
|
init_operations();
|
|
72159
72903
|
init_tools();
|
|
72160
|
-
|
|
72904
|
+
args84 = {
|
|
72161
72905
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
72162
72906
|
};
|
|
72163
72907
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -72166,9 +72910,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
72166
72910
|
|
|
72167
72911
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72168
72912
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
72169
|
-
args:
|
|
72170
|
-
tool: async (client,
|
|
72171
|
-
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();
|
|
72172
72916
|
if (!result.ok) {
|
|
72173
72917
|
return {
|
|
72174
72918
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72183,9 +72927,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
72183
72927
|
|
|
72184
72928
|
// src/funcs/issuingTransactionsList.ts
|
|
72185
72929
|
function issuingTransactionsList(client, request, options) {
|
|
72186
|
-
return new APIPromise($
|
|
72930
|
+
return new APIPromise($do85(client, request, options));
|
|
72187
72931
|
}
|
|
72188
|
-
async function $
|
|
72932
|
+
async function $do85(client, request, options) {
|
|
72189
72933
|
const parsed = safeParse(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72190
72934
|
if (!parsed.ok) {
|
|
72191
72935
|
return [parsed, { status: "invalid" }];
|
|
@@ -72271,12 +73015,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
72271
73015
|
});
|
|
72272
73016
|
|
|
72273
73017
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
72274
|
-
var
|
|
73018
|
+
var args85, tool$issuingTransactionsList;
|
|
72275
73019
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
72276
73020
|
init_issuingTransactionsList();
|
|
72277
73021
|
init_operations();
|
|
72278
73022
|
init_tools();
|
|
72279
|
-
|
|
73023
|
+
args85 = {
|
|
72280
73024
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
72281
73025
|
};
|
|
72282
73026
|
tool$issuingTransactionsList = {
|
|
@@ -72285,9 +73029,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
72285
73029
|
|
|
72286
73030
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72287
73031
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
72288
|
-
args:
|
|
72289
|
-
tool: async (client,
|
|
72290
|
-
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();
|
|
72291
73035
|
if (!result.ok) {
|
|
72292
73036
|
return {
|
|
72293
73037
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72302,9 +73046,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
72302
73046
|
|
|
72303
73047
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
72304
73048
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
72305
|
-
return new APIPromise($
|
|
73049
|
+
return new APIPromise($do86(client, request, options));
|
|
72306
73050
|
}
|
|
72307
|
-
async function $
|
|
73051
|
+
async function $do86(client, request, options) {
|
|
72308
73052
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72309
73053
|
if (!parsed.ok) {
|
|
72310
73054
|
return [parsed, { status: "invalid" }];
|
|
@@ -72388,12 +73132,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
72388
73132
|
});
|
|
72389
73133
|
|
|
72390
73134
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
72391
|
-
var
|
|
73135
|
+
var args86, tool$issuingTransactionsListAuthorizationEvents;
|
|
72392
73136
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
72393
73137
|
init_issuingTransactionsListAuthorizationEvents();
|
|
72394
73138
|
init_operations();
|
|
72395
73139
|
init_tools();
|
|
72396
|
-
|
|
73140
|
+
args86 = {
|
|
72397
73141
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
72398
73142
|
};
|
|
72399
73143
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -72402,9 +73146,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
72402
73146
|
|
|
72403
73147
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72404
73148
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
72405
|
-
args:
|
|
72406
|
-
tool: async (client,
|
|
72407
|
-
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();
|
|
72408
73152
|
if (!result.ok) {
|
|
72409
73153
|
return {
|
|
72410
73154
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72419,9 +73163,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
72419
73163
|
|
|
72420
73164
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
72421
73165
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
72422
|
-
return new APIPromise($
|
|
73166
|
+
return new APIPromise($do87(client, request, options));
|
|
72423
73167
|
}
|
|
72424
|
-
async function $
|
|
73168
|
+
async function $do87(client, request, options) {
|
|
72425
73169
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72426
73170
|
if (!parsed.ok) {
|
|
72427
73171
|
return [parsed, { status: "invalid" }];
|
|
@@ -72508,12 +73252,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
72508
73252
|
});
|
|
72509
73253
|
|
|
72510
73254
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
72511
|
-
var
|
|
73255
|
+
var args87, tool$issuingTransactionsListAuthorizations;
|
|
72512
73256
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
72513
73257
|
init_issuingTransactionsListAuthorizations();
|
|
72514
73258
|
init_operations();
|
|
72515
73259
|
init_tools();
|
|
72516
|
-
|
|
73260
|
+
args87 = {
|
|
72517
73261
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
72518
73262
|
};
|
|
72519
73263
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -72522,9 +73266,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
72522
73266
|
|
|
72523
73267
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72524
73268
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
72525
|
-
args:
|
|
72526
|
-
tool: async (client,
|
|
72527
|
-
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();
|
|
72528
73272
|
if (!result.ok) {
|
|
72529
73273
|
return {
|
|
72530
73274
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72539,9 +73283,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
72539
73283
|
|
|
72540
73284
|
// src/funcs/onboardingCreateInvite.ts
|
|
72541
73285
|
function onboardingCreateInvite(client, request, options) {
|
|
72542
|
-
return new APIPromise($
|
|
73286
|
+
return new APIPromise($do88(client, request, options));
|
|
72543
73287
|
}
|
|
72544
|
-
async function $
|
|
73288
|
+
async function $do88(client, request, options) {
|
|
72545
73289
|
const parsed = safeParse(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72546
73290
|
if (!parsed.ok) {
|
|
72547
73291
|
return [parsed, { status: "invalid" }];
|
|
@@ -72628,12 +73372,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
72628
73372
|
});
|
|
72629
73373
|
|
|
72630
73374
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
72631
|
-
var
|
|
73375
|
+
var args88, tool$onboardingCreateInvite;
|
|
72632
73376
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
72633
73377
|
init_onboardingCreateInvite();
|
|
72634
73378
|
init_components();
|
|
72635
73379
|
init_tools();
|
|
72636
|
-
|
|
73380
|
+
args88 = {
|
|
72637
73381
|
request: OnboardingInviteRequest$inboundSchema
|
|
72638
73382
|
};
|
|
72639
73383
|
tool$onboardingCreateInvite = {
|
|
@@ -72642,9 +73386,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
72642
73386
|
|
|
72643
73387
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72644
73388
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
72645
|
-
args:
|
|
72646
|
-
tool: async (client,
|
|
72647
|
-
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();
|
|
72648
73392
|
if (!result.ok) {
|
|
72649
73393
|
return {
|
|
72650
73394
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72659,9 +73403,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
72659
73403
|
|
|
72660
73404
|
// src/funcs/onboardingGetInvite.ts
|
|
72661
73405
|
function onboardingGetInvite(client, request, options) {
|
|
72662
|
-
return new APIPromise($
|
|
73406
|
+
return new APIPromise($do89(client, request, options));
|
|
72663
73407
|
}
|
|
72664
|
-
async function $
|
|
73408
|
+
async function $do89(client, request, options) {
|
|
72665
73409
|
const parsed = safeParse(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72666
73410
|
if (!parsed.ok) {
|
|
72667
73411
|
return [parsed, { status: "invalid" }];
|
|
@@ -72739,12 +73483,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
72739
73483
|
});
|
|
72740
73484
|
|
|
72741
73485
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
72742
|
-
var
|
|
73486
|
+
var args89, tool$onboardingGetInvite;
|
|
72743
73487
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
72744
73488
|
init_onboardingGetInvite();
|
|
72745
73489
|
init_operations();
|
|
72746
73490
|
init_tools();
|
|
72747
|
-
|
|
73491
|
+
args89 = {
|
|
72748
73492
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
72749
73493
|
};
|
|
72750
73494
|
tool$onboardingGetInvite = {
|
|
@@ -72753,9 +73497,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
72753
73497
|
|
|
72754
73498
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72755
73499
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
72756
|
-
args:
|
|
72757
|
-
tool: async (client,
|
|
72758
|
-
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();
|
|
72759
73503
|
if (!result.ok) {
|
|
72760
73504
|
return {
|
|
72761
73505
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72770,9 +73514,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
72770
73514
|
|
|
72771
73515
|
// src/funcs/onboardingListInvites.ts
|
|
72772
73516
|
function onboardingListInvites(client, _request, options) {
|
|
72773
|
-
return new APIPromise($
|
|
73517
|
+
return new APIPromise($do90(client, _request, options));
|
|
72774
73518
|
}
|
|
72775
|
-
async function $
|
|
73519
|
+
async function $do90(client, _request, options) {
|
|
72776
73520
|
const path = pathToFunc("/onboarding-invites")();
|
|
72777
73521
|
const headers = new Headers(compactMap({
|
|
72778
73522
|
Accept: "application/json",
|
|
@@ -72836,12 +73580,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
72836
73580
|
});
|
|
72837
73581
|
|
|
72838
73582
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
72839
|
-
var
|
|
73583
|
+
var args90, tool$onboardingListInvites;
|
|
72840
73584
|
var init_onboardingListInvites2 = __esm(() => {
|
|
72841
73585
|
init_onboardingListInvites();
|
|
72842
73586
|
init_operations();
|
|
72843
73587
|
init_tools();
|
|
72844
|
-
|
|
73588
|
+
args90 = {
|
|
72845
73589
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
72846
73590
|
};
|
|
72847
73591
|
tool$onboardingListInvites = {
|
|
@@ -72850,9 +73594,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
72850
73594
|
|
|
72851
73595
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72852
73596
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
72853
|
-
args:
|
|
72854
|
-
tool: async (client,
|
|
72855
|
-
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();
|
|
72856
73600
|
if (!result.ok) {
|
|
72857
73601
|
return {
|
|
72858
73602
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72867,9 +73611,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
72867
73611
|
|
|
72868
73612
|
// src/funcs/onboardingRevokeInvite.ts
|
|
72869
73613
|
function onboardingRevokeInvite(client, request, options) {
|
|
72870
|
-
return new APIPromise($
|
|
73614
|
+
return new APIPromise($do91(client, request, options));
|
|
72871
73615
|
}
|
|
72872
|
-
async function $
|
|
73616
|
+
async function $do91(client, request, options) {
|
|
72873
73617
|
const parsed = safeParse(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72874
73618
|
if (!parsed.ok) {
|
|
72875
73619
|
return [parsed, { status: "invalid" }];
|
|
@@ -72944,12 +73688,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
72944
73688
|
});
|
|
72945
73689
|
|
|
72946
73690
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
72947
|
-
var
|
|
73691
|
+
var args91, tool$onboardingRevokeInvite;
|
|
72948
73692
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
72949
73693
|
init_onboardingRevokeInvite();
|
|
72950
73694
|
init_operations();
|
|
72951
73695
|
init_tools();
|
|
72952
|
-
|
|
73696
|
+
args91 = {
|
|
72953
73697
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
72954
73698
|
};
|
|
72955
73699
|
tool$onboardingRevokeInvite = {
|
|
@@ -72958,9 +73702,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
72958
73702
|
|
|
72959
73703
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72960
73704
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
72961
|
-
args:
|
|
72962
|
-
tool: async (client,
|
|
72963
|
-
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();
|
|
72964
73708
|
if (!result.ok) {
|
|
72965
73709
|
return {
|
|
72966
73710
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72974,9 +73718,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
72974
73718
|
|
|
72975
73719
|
// src/funcs/paymentLinksCreate.ts
|
|
72976
73720
|
function paymentLinksCreate(client, request, options) {
|
|
72977
|
-
return new APIPromise($
|
|
73721
|
+
return new APIPromise($do92(client, request, options));
|
|
72978
73722
|
}
|
|
72979
|
-
async function $
|
|
73723
|
+
async function $do92(client, request, options) {
|
|
72980
73724
|
const parsed = safeParse(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72981
73725
|
if (!parsed.ok) {
|
|
72982
73726
|
return [parsed, { status: "invalid" }];
|
|
@@ -73068,12 +73812,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
73068
73812
|
});
|
|
73069
73813
|
|
|
73070
73814
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
73071
|
-
var
|
|
73815
|
+
var args92, tool$paymentLinksCreate;
|
|
73072
73816
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
73073
73817
|
init_paymentLinksCreate();
|
|
73074
73818
|
init_operations();
|
|
73075
73819
|
init_tools();
|
|
73076
|
-
|
|
73820
|
+
args92 = {
|
|
73077
73821
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
73078
73822
|
};
|
|
73079
73823
|
tool$paymentLinksCreate = {
|
|
@@ -73082,9 +73826,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
73082
73826
|
|
|
73083
73827
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73084
73828
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73085
|
-
args:
|
|
73086
|
-
tool: async (client,
|
|
73087
|
-
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();
|
|
73088
73832
|
if (!result.ok) {
|
|
73089
73833
|
return {
|
|
73090
73834
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73099,9 +73843,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73099
73843
|
|
|
73100
73844
|
// src/funcs/paymentLinksDisable.ts
|
|
73101
73845
|
function paymentLinksDisable(client, request, options) {
|
|
73102
|
-
return new APIPromise($
|
|
73846
|
+
return new APIPromise($do93(client, request, options));
|
|
73103
73847
|
}
|
|
73104
|
-
async function $
|
|
73848
|
+
async function $do93(client, request, options) {
|
|
73105
73849
|
const parsed = safeParse(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73106
73850
|
if (!parsed.ok) {
|
|
73107
73851
|
return [parsed, { status: "invalid" }];
|
|
@@ -73182,12 +73926,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
73182
73926
|
});
|
|
73183
73927
|
|
|
73184
73928
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
73185
|
-
var
|
|
73929
|
+
var args93, tool$paymentLinksDisable;
|
|
73186
73930
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
73187
73931
|
init_paymentLinksDisable();
|
|
73188
73932
|
init_operations();
|
|
73189
73933
|
init_tools();
|
|
73190
|
-
|
|
73934
|
+
args93 = {
|
|
73191
73935
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
73192
73936
|
};
|
|
73193
73937
|
tool$paymentLinksDisable = {
|
|
@@ -73196,9 +73940,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
73196
73940
|
|
|
73197
73941
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73198
73942
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73199
|
-
args:
|
|
73200
|
-
tool: async (client,
|
|
73201
|
-
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();
|
|
73202
73946
|
if (!result.ok) {
|
|
73203
73947
|
return {
|
|
73204
73948
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73212,9 +73956,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73212
73956
|
|
|
73213
73957
|
// src/funcs/paymentLinksGet.ts
|
|
73214
73958
|
function paymentLinksGet(client, request, options) {
|
|
73215
|
-
return new APIPromise($
|
|
73959
|
+
return new APIPromise($do94(client, request, options));
|
|
73216
73960
|
}
|
|
73217
|
-
async function $
|
|
73961
|
+
async function $do94(client, request, options) {
|
|
73218
73962
|
const parsed = safeParse(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73219
73963
|
if (!parsed.ok) {
|
|
73220
73964
|
return [parsed, { status: "invalid" }];
|
|
@@ -73296,12 +74040,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
73296
74040
|
});
|
|
73297
74041
|
|
|
73298
74042
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
73299
|
-
var
|
|
74043
|
+
var args94, tool$paymentLinksGet;
|
|
73300
74044
|
var init_paymentLinksGet2 = __esm(() => {
|
|
73301
74045
|
init_paymentLinksGet();
|
|
73302
74046
|
init_operations();
|
|
73303
74047
|
init_tools();
|
|
73304
|
-
|
|
74048
|
+
args94 = {
|
|
73305
74049
|
request: GetPaymentLinkRequest$inboundSchema
|
|
73306
74050
|
};
|
|
73307
74051
|
tool$paymentLinksGet = {
|
|
@@ -73310,9 +74054,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
73310
74054
|
|
|
73311
74055
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73312
74056
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
73313
|
-
args:
|
|
73314
|
-
tool: async (client,
|
|
73315
|
-
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();
|
|
73316
74060
|
if (!result.ok) {
|
|
73317
74061
|
return {
|
|
73318
74062
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73327,9 +74071,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
73327
74071
|
|
|
73328
74072
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
73329
74073
|
function paymentLinksGetQRCode(client, request, options) {
|
|
73330
|
-
return new APIPromise($
|
|
74074
|
+
return new APIPromise($do95(client, request, options));
|
|
73331
74075
|
}
|
|
73332
|
-
async function $
|
|
74076
|
+
async function $do95(client, request, options) {
|
|
73333
74077
|
const parsed = safeParse(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73334
74078
|
if (!parsed.ok) {
|
|
73335
74079
|
return [parsed, { status: "invalid" }];
|
|
@@ -73415,12 +74159,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
73415
74159
|
});
|
|
73416
74160
|
|
|
73417
74161
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
73418
|
-
var
|
|
74162
|
+
var args95, tool$paymentLinksGetQRCode;
|
|
73419
74163
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
73420
74164
|
init_paymentLinksGetQRCode();
|
|
73421
74165
|
init_operations();
|
|
73422
74166
|
init_tools();
|
|
73423
|
-
|
|
74167
|
+
args95 = {
|
|
73424
74168
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
73425
74169
|
};
|
|
73426
74170
|
tool$paymentLinksGetQRCode = {
|
|
@@ -73431,9 +74175,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
73431
74175
|
|
|
73432
74176
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73433
74177
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73434
|
-
args:
|
|
73435
|
-
tool: async (client,
|
|
73436
|
-
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();
|
|
73437
74181
|
if (!result.ok) {
|
|
73438
74182
|
return {
|
|
73439
74183
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73448,9 +74192,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73448
74192
|
|
|
73449
74193
|
// src/funcs/paymentLinksList.ts
|
|
73450
74194
|
function paymentLinksList(client, request, options) {
|
|
73451
|
-
return new APIPromise($
|
|
74195
|
+
return new APIPromise($do96(client, request, options));
|
|
73452
74196
|
}
|
|
73453
|
-
async function $
|
|
74197
|
+
async function $do96(client, request, options) {
|
|
73454
74198
|
const parsed = safeParse(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73455
74199
|
if (!parsed.ok) {
|
|
73456
74200
|
return [parsed, { status: "invalid" }];
|
|
@@ -73528,12 +74272,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
73528
74272
|
});
|
|
73529
74273
|
|
|
73530
74274
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
73531
|
-
var
|
|
74275
|
+
var args96, tool$paymentLinksList;
|
|
73532
74276
|
var init_paymentLinksList2 = __esm(() => {
|
|
73533
74277
|
init_paymentLinksList();
|
|
73534
74278
|
init_operations();
|
|
73535
74279
|
init_tools();
|
|
73536
|
-
|
|
74280
|
+
args96 = {
|
|
73537
74281
|
request: ListPaymentLinksRequest$inboundSchema
|
|
73538
74282
|
};
|
|
73539
74283
|
tool$paymentLinksList = {
|
|
@@ -73542,9 +74286,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
73542
74286
|
|
|
73543
74287
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73544
74288
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
73545
|
-
args:
|
|
73546
|
-
tool: async (client,
|
|
73547
|
-
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();
|
|
73548
74292
|
if (!result.ok) {
|
|
73549
74293
|
return {
|
|
73550
74294
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73559,9 +74303,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
73559
74303
|
|
|
73560
74304
|
// src/funcs/paymentLinksUpdate.ts
|
|
73561
74305
|
function paymentLinksUpdate(client, request, options) {
|
|
73562
|
-
return new APIPromise($
|
|
74306
|
+
return new APIPromise($do97(client, request, options));
|
|
73563
74307
|
}
|
|
73564
|
-
async function $
|
|
74308
|
+
async function $do97(client, request, options) {
|
|
73565
74309
|
const parsed = safeParse(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73566
74310
|
if (!parsed.ok) {
|
|
73567
74311
|
return [parsed, { status: "invalid" }];
|
|
@@ -73657,12 +74401,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
73657
74401
|
});
|
|
73658
74402
|
|
|
73659
74403
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
73660
|
-
var
|
|
74404
|
+
var args97, tool$paymentLinksUpdate;
|
|
73661
74405
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
73662
74406
|
init_paymentLinksUpdate();
|
|
73663
74407
|
init_operations();
|
|
73664
74408
|
init_tools();
|
|
73665
|
-
|
|
74409
|
+
args97 = {
|
|
73666
74410
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
73667
74411
|
};
|
|
73668
74412
|
tool$paymentLinksUpdate = {
|
|
@@ -73671,9 +74415,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
73671
74415
|
|
|
73672
74416
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73673
74417
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73674
|
-
args:
|
|
73675
|
-
tool: async (client,
|
|
73676
|
-
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();
|
|
73677
74421
|
if (!result.ok) {
|
|
73678
74422
|
return {
|
|
73679
74423
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73688,9 +74432,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73688
74432
|
|
|
73689
74433
|
// src/funcs/paymentMethodsGet.ts
|
|
73690
74434
|
function paymentMethodsGet(client, request, options) {
|
|
73691
|
-
return new APIPromise($
|
|
74435
|
+
return new APIPromise($do98(client, request, options));
|
|
73692
74436
|
}
|
|
73693
|
-
async function $
|
|
74437
|
+
async function $do98(client, request, options) {
|
|
73694
74438
|
const parsed = safeParse(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73695
74439
|
if (!parsed.ok) {
|
|
73696
74440
|
return [parsed, { status: "invalid" }];
|
|
@@ -73772,12 +74516,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
73772
74516
|
});
|
|
73773
74517
|
|
|
73774
74518
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
73775
|
-
var
|
|
74519
|
+
var args98, tool$paymentMethodsGet;
|
|
73776
74520
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
73777
74521
|
init_paymentMethodsGet();
|
|
73778
74522
|
init_operations();
|
|
73779
74523
|
init_tools();
|
|
73780
|
-
|
|
74524
|
+
args98 = {
|
|
73781
74525
|
request: GetPaymentMethodRequest$inboundSchema
|
|
73782
74526
|
};
|
|
73783
74527
|
tool$paymentMethodsGet = {
|
|
@@ -73786,9 +74530,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
73786
74530
|
|
|
73787
74531
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73788
74532
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
73789
|
-
args:
|
|
73790
|
-
tool: async (client,
|
|
73791
|
-
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();
|
|
73792
74536
|
if (!result.ok) {
|
|
73793
74537
|
return {
|
|
73794
74538
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73803,9 +74547,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
73803
74547
|
|
|
73804
74548
|
// src/funcs/paymentMethodsList.ts
|
|
73805
74549
|
function paymentMethodsList(client, request, options) {
|
|
73806
|
-
return new APIPromise($
|
|
74550
|
+
return new APIPromise($do99(client, request, options));
|
|
73807
74551
|
}
|
|
73808
|
-
async function $
|
|
74552
|
+
async function $do99(client, request, options) {
|
|
73809
74553
|
const parsed = safeParse(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73810
74554
|
if (!parsed.ok) {
|
|
73811
74555
|
return [parsed, { status: "invalid" }];
|
|
@@ -73888,12 +74632,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
73888
74632
|
});
|
|
73889
74633
|
|
|
73890
74634
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
73891
|
-
var
|
|
74635
|
+
var args99, tool$paymentMethodsList;
|
|
73892
74636
|
var init_paymentMethodsList2 = __esm(() => {
|
|
73893
74637
|
init_paymentMethodsList();
|
|
73894
74638
|
init_operations();
|
|
73895
74639
|
init_tools();
|
|
73896
|
-
|
|
74640
|
+
args99 = {
|
|
73897
74641
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
73898
74642
|
};
|
|
73899
74643
|
tool$paymentMethodsList = {
|
|
@@ -73903,9 +74647,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
73903
74647
|
|
|
73904
74648
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73905
74649
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
73906
|
-
args:
|
|
73907
|
-
tool: async (client,
|
|
73908
|
-
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();
|
|
73909
74653
|
if (!result.ok) {
|
|
73910
74654
|
return {
|
|
73911
74655
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73920,9 +74664,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
73920
74664
|
|
|
73921
74665
|
// src/funcs/pingPing.ts
|
|
73922
74666
|
function pingPing(client, _request, options) {
|
|
73923
|
-
return new APIPromise($
|
|
74667
|
+
return new APIPromise($do100(client, _request, options));
|
|
73924
74668
|
}
|
|
73925
|
-
async function $
|
|
74669
|
+
async function $do100(client, _request, options) {
|
|
73926
74670
|
const path = pathToFunc("/ping")();
|
|
73927
74671
|
const headers = new Headers(compactMap({
|
|
73928
74672
|
Accept: "*/*",
|
|
@@ -73985,12 +74729,12 @@ var init_pingPing = __esm(() => {
|
|
|
73985
74729
|
});
|
|
73986
74730
|
|
|
73987
74731
|
// src/mcp-server/tools/pingPing.ts
|
|
73988
|
-
var
|
|
74732
|
+
var args100, tool$pingPing;
|
|
73989
74733
|
var init_pingPing2 = __esm(() => {
|
|
73990
74734
|
init_pingPing();
|
|
73991
74735
|
init_operations();
|
|
73992
74736
|
init_tools();
|
|
73993
|
-
|
|
74737
|
+
args100 = {
|
|
73994
74738
|
request: PingRequest$inboundSchema
|
|
73995
74739
|
};
|
|
73996
74740
|
tool$pingPing = {
|
|
@@ -73999,9 +74743,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
73999
74743
|
|
|
74000
74744
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74001
74745
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
74002
|
-
args:
|
|
74003
|
-
tool: async (client,
|
|
74004
|
-
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();
|
|
74005
74749
|
if (!result.ok) {
|
|
74006
74750
|
return {
|
|
74007
74751
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74015,9 +74759,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
74015
74759
|
|
|
74016
74760
|
// src/funcs/receiptsCreate.ts
|
|
74017
74761
|
function receiptsCreate(client, request, options) {
|
|
74018
|
-
return new APIPromise($
|
|
74762
|
+
return new APIPromise($do101(client, request, options));
|
|
74019
74763
|
}
|
|
74020
|
-
async function $
|
|
74764
|
+
async function $do101(client, request, options) {
|
|
74021
74765
|
const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
74022
74766
|
if (!parsed.ok) {
|
|
74023
74767
|
return [parsed, { status: "invalid" }];
|
|
@@ -74105,13 +74849,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
74105
74849
|
});
|
|
74106
74850
|
|
|
74107
74851
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
74108
|
-
var
|
|
74852
|
+
var args101, tool$receiptsCreate;
|
|
74109
74853
|
var init_receiptsCreate2 = __esm(() => {
|
|
74110
74854
|
init_esm();
|
|
74111
74855
|
init_receiptsCreate();
|
|
74112
74856
|
init_components();
|
|
74113
74857
|
init_tools();
|
|
74114
|
-
|
|
74858
|
+
args101 = {
|
|
74115
74859
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
74116
74860
|
};
|
|
74117
74861
|
tool$receiptsCreate = {
|
|
@@ -74120,9 +74864,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
74120
74864
|
|
|
74121
74865
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74122
74866
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74123
|
-
args:
|
|
74124
|
-
tool: async (client,
|
|
74125
|
-
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();
|
|
74126
74870
|
if (!result.ok) {
|
|
74127
74871
|
return {
|
|
74128
74872
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74137,9 +74881,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
74137
74881
|
|
|
74138
74882
|
// src/funcs/receiptsList.ts
|
|
74139
74883
|
function receiptsList(client, request, options) {
|
|
74140
|
-
return new APIPromise($
|
|
74884
|
+
return new APIPromise($do102(client, request, options));
|
|
74141
74885
|
}
|
|
74142
|
-
async function $
|
|
74886
|
+
async function $do102(client, request, options) {
|
|
74143
74887
|
const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74144
74888
|
if (!parsed.ok) {
|
|
74145
74889
|
return [parsed, { status: "invalid" }];
|
|
@@ -74215,12 +74959,12 @@ var init_receiptsList = __esm(() => {
|
|
|
74215
74959
|
});
|
|
74216
74960
|
|
|
74217
74961
|
// src/mcp-server/tools/receiptsList.ts
|
|
74218
|
-
var
|
|
74962
|
+
var args102, tool$receiptsList;
|
|
74219
74963
|
var init_receiptsList2 = __esm(() => {
|
|
74220
74964
|
init_receiptsList();
|
|
74221
74965
|
init_operations();
|
|
74222
74966
|
init_tools();
|
|
74223
|
-
|
|
74967
|
+
args102 = {
|
|
74224
74968
|
request: ListReceiptsRequest$inboundSchema
|
|
74225
74969
|
};
|
|
74226
74970
|
tool$receiptsList = {
|
|
@@ -74229,9 +74973,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
74229
74973
|
|
|
74230
74974
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74231
74975
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74232
|
-
args:
|
|
74233
|
-
tool: async (client,
|
|
74234
|
-
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();
|
|
74235
74979
|
if (!result.ok) {
|
|
74236
74980
|
return {
|
|
74237
74981
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74246,9 +74990,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74246
74990
|
|
|
74247
74991
|
// src/funcs/representativesCreate.ts
|
|
74248
74992
|
function representativesCreate(client, request, options) {
|
|
74249
|
-
return new APIPromise($
|
|
74993
|
+
return new APIPromise($do103(client, request, options));
|
|
74250
74994
|
}
|
|
74251
|
-
async function $
|
|
74995
|
+
async function $do103(client, request, options) {
|
|
74252
74996
|
const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74253
74997
|
if (!parsed.ok) {
|
|
74254
74998
|
return [parsed, { status: "invalid" }];
|
|
@@ -74344,12 +75088,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
74344
75088
|
});
|
|
74345
75089
|
|
|
74346
75090
|
// src/mcp-server/tools/representativesCreate.ts
|
|
74347
|
-
var
|
|
75091
|
+
var args103, tool$representativesCreate;
|
|
74348
75092
|
var init_representativesCreate2 = __esm(() => {
|
|
74349
75093
|
init_representativesCreate();
|
|
74350
75094
|
init_operations();
|
|
74351
75095
|
init_tools();
|
|
74352
|
-
|
|
75096
|
+
args103 = {
|
|
74353
75097
|
request: CreateRepresentativeRequest$inboundSchema
|
|
74354
75098
|
};
|
|
74355
75099
|
tool$representativesCreate = {
|
|
@@ -74360,9 +75104,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
74360
75104
|
|
|
74361
75105
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74362
75106
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
74363
|
-
args:
|
|
74364
|
-
tool: async (client,
|
|
74365
|
-
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();
|
|
74366
75110
|
if (!result.ok) {
|
|
74367
75111
|
return {
|
|
74368
75112
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74377,9 +75121,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
74377
75121
|
|
|
74378
75122
|
// src/funcs/representativesDelete.ts
|
|
74379
75123
|
function representativesDelete(client, request, options) {
|
|
74380
|
-
return new APIPromise($
|
|
75124
|
+
return new APIPromise($do104(client, request, options));
|
|
74381
75125
|
}
|
|
74382
|
-
async function $
|
|
75126
|
+
async function $do104(client, request, options) {
|
|
74383
75127
|
const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74384
75128
|
if (!parsed.ok) {
|
|
74385
75129
|
return [parsed, { status: "invalid" }];
|
|
@@ -74467,12 +75211,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
74467
75211
|
});
|
|
74468
75212
|
|
|
74469
75213
|
// src/mcp-server/tools/representativesDelete.ts
|
|
74470
|
-
var
|
|
75214
|
+
var args104, tool$representativesDelete;
|
|
74471
75215
|
var init_representativesDelete2 = __esm(() => {
|
|
74472
75216
|
init_representativesDelete();
|
|
74473
75217
|
init_operations();
|
|
74474
75218
|
init_tools();
|
|
74475
|
-
|
|
75219
|
+
args104 = {
|
|
74476
75220
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
74477
75221
|
};
|
|
74478
75222
|
tool$representativesDelete = {
|
|
@@ -74481,9 +75225,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
74481
75225
|
|
|
74482
75226
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74483
75227
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
74484
|
-
args:
|
|
74485
|
-
tool: async (client,
|
|
74486
|
-
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();
|
|
74487
75231
|
if (!result.ok) {
|
|
74488
75232
|
return {
|
|
74489
75233
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74497,9 +75241,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
74497
75241
|
|
|
74498
75242
|
// src/funcs/representativesGet.ts
|
|
74499
75243
|
function representativesGet(client, request, options) {
|
|
74500
|
-
return new APIPromise($
|
|
75244
|
+
return new APIPromise($do105(client, request, options));
|
|
74501
75245
|
}
|
|
74502
|
-
async function $
|
|
75246
|
+
async function $do105(client, request, options) {
|
|
74503
75247
|
const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74504
75248
|
if (!parsed.ok) {
|
|
74505
75249
|
return [parsed, { status: "invalid" }];
|
|
@@ -74578,12 +75322,12 @@ var init_representativesGet = __esm(() => {
|
|
|
74578
75322
|
});
|
|
74579
75323
|
|
|
74580
75324
|
// src/mcp-server/tools/representativesGet.ts
|
|
74581
|
-
var
|
|
75325
|
+
var args105, tool$representativesGet;
|
|
74582
75326
|
var init_representativesGet2 = __esm(() => {
|
|
74583
75327
|
init_representativesGet();
|
|
74584
75328
|
init_operations();
|
|
74585
75329
|
init_tools();
|
|
74586
|
-
|
|
75330
|
+
args105 = {
|
|
74587
75331
|
request: GetRepresentativeRequest$inboundSchema
|
|
74588
75332
|
};
|
|
74589
75333
|
tool$representativesGet = {
|
|
@@ -74592,9 +75336,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
74592
75336
|
|
|
74593
75337
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74594
75338
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
74595
|
-
args:
|
|
74596
|
-
tool: async (client,
|
|
74597
|
-
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();
|
|
74598
75342
|
if (!result.ok) {
|
|
74599
75343
|
return {
|
|
74600
75344
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74609,9 +75353,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
74609
75353
|
|
|
74610
75354
|
// src/funcs/representativesList.ts
|
|
74611
75355
|
function representativesList(client, request, options) {
|
|
74612
|
-
return new APIPromise($
|
|
75356
|
+
return new APIPromise($do106(client, request, options));
|
|
74613
75357
|
}
|
|
74614
|
-
async function $
|
|
75358
|
+
async function $do106(client, request, options) {
|
|
74615
75359
|
const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74616
75360
|
if (!parsed.ok) {
|
|
74617
75361
|
return [parsed, { status: "invalid" }];
|
|
@@ -74689,12 +75433,12 @@ var init_representativesList = __esm(() => {
|
|
|
74689
75433
|
});
|
|
74690
75434
|
|
|
74691
75435
|
// src/mcp-server/tools/representativesList.ts
|
|
74692
|
-
var
|
|
75436
|
+
var args106, tool$representativesList;
|
|
74693
75437
|
var init_representativesList2 = __esm(() => {
|
|
74694
75438
|
init_representativesList();
|
|
74695
75439
|
init_operations();
|
|
74696
75440
|
init_tools();
|
|
74697
|
-
|
|
75441
|
+
args106 = {
|
|
74698
75442
|
request: ListRepresentativesRequest$inboundSchema
|
|
74699
75443
|
};
|
|
74700
75444
|
tool$representativesList = {
|
|
@@ -74706,9 +75450,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
74706
75450
|
|
|
74707
75451
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74708
75452
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
74709
|
-
args:
|
|
74710
|
-
tool: async (client,
|
|
74711
|
-
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();
|
|
74712
75456
|
if (!result.ok) {
|
|
74713
75457
|
return {
|
|
74714
75458
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74723,9 +75467,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
74723
75467
|
|
|
74724
75468
|
// src/funcs/representativesUpdate.ts
|
|
74725
75469
|
function representativesUpdate(client, request, options) {
|
|
74726
|
-
return new APIPromise($
|
|
75470
|
+
return new APIPromise($do107(client, request, options));
|
|
74727
75471
|
}
|
|
74728
|
-
async function $
|
|
75472
|
+
async function $do107(client, request, options) {
|
|
74729
75473
|
const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74730
75474
|
if (!parsed.ok) {
|
|
74731
75475
|
return [parsed, { status: "invalid" }];
|
|
@@ -74819,12 +75563,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
74819
75563
|
});
|
|
74820
75564
|
|
|
74821
75565
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
74822
|
-
var
|
|
75566
|
+
var args107, tool$representativesUpdate;
|
|
74823
75567
|
var init_representativesUpdate2 = __esm(() => {
|
|
74824
75568
|
init_representativesUpdate();
|
|
74825
75569
|
init_operations();
|
|
74826
75570
|
init_tools();
|
|
74827
|
-
|
|
75571
|
+
args107 = {
|
|
74828
75572
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
74829
75573
|
};
|
|
74830
75574
|
tool$representativesUpdate = {
|
|
@@ -74846,9 +75590,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
74846
75590
|
|
|
74847
75591
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74848
75592
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
74849
|
-
args:
|
|
74850
|
-
tool: async (client,
|
|
74851
|
-
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();
|
|
74852
75596
|
if (!result.ok) {
|
|
74853
75597
|
return {
|
|
74854
75598
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74863,9 +75607,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
74863
75607
|
|
|
74864
75608
|
// src/funcs/schedulingCancel.ts
|
|
74865
75609
|
function schedulingCancel(client, request, options) {
|
|
74866
|
-
return new APIPromise($
|
|
75610
|
+
return new APIPromise($do108(client, request, options));
|
|
74867
75611
|
}
|
|
74868
|
-
async function $
|
|
75612
|
+
async function $do108(client, request, options) {
|
|
74869
75613
|
const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74870
75614
|
if (!parsed.ok) {
|
|
74871
75615
|
return [parsed, { status: "invalid" }];
|
|
@@ -74958,12 +75702,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
74958
75702
|
});
|
|
74959
75703
|
|
|
74960
75704
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
74961
|
-
var
|
|
75705
|
+
var args108, tool$schedulingCancel;
|
|
74962
75706
|
var init_schedulingCancel2 = __esm(() => {
|
|
74963
75707
|
init_schedulingCancel();
|
|
74964
75708
|
init_operations();
|
|
74965
75709
|
init_tools();
|
|
74966
|
-
|
|
75710
|
+
args108 = {
|
|
74967
75711
|
request: CancelScheduleRequest$inboundSchema
|
|
74968
75712
|
};
|
|
74969
75713
|
tool$schedulingCancel = {
|
|
@@ -74972,9 +75716,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
74972
75716
|
|
|
74973
75717
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74974
75718
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74975
|
-
args:
|
|
74976
|
-
tool: async (client,
|
|
74977
|
-
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();
|
|
74978
75722
|
if (!result.ok) {
|
|
74979
75723
|
return {
|
|
74980
75724
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74988,9 +75732,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74988
75732
|
|
|
74989
75733
|
// src/funcs/schedulingCreate.ts
|
|
74990
75734
|
function schedulingCreate(client, request, options) {
|
|
74991
|
-
return new APIPromise($
|
|
75735
|
+
return new APIPromise($do109(client, request, options));
|
|
74992
75736
|
}
|
|
74993
|
-
async function $
|
|
75737
|
+
async function $do109(client, request, options) {
|
|
74994
75738
|
const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74995
75739
|
if (!parsed.ok) {
|
|
74996
75740
|
return [parsed, { status: "invalid" }];
|
|
@@ -75084,12 +75828,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
75084
75828
|
});
|
|
75085
75829
|
|
|
75086
75830
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
75087
|
-
var
|
|
75831
|
+
var args109, tool$schedulingCreate;
|
|
75088
75832
|
var init_schedulingCreate2 = __esm(() => {
|
|
75089
75833
|
init_schedulingCreate();
|
|
75090
75834
|
init_operations();
|
|
75091
75835
|
init_tools();
|
|
75092
|
-
|
|
75836
|
+
args109 = {
|
|
75093
75837
|
request: CreateScheduleRequest$inboundSchema
|
|
75094
75838
|
};
|
|
75095
75839
|
tool$schedulingCreate = {
|
|
@@ -75098,9 +75842,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
75098
75842
|
|
|
75099
75843
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75100
75844
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75101
|
-
args:
|
|
75102
|
-
tool: async (client,
|
|
75103
|
-
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();
|
|
75104
75848
|
if (!result.ok) {
|
|
75105
75849
|
return {
|
|
75106
75850
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75115,9 +75859,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75115
75859
|
|
|
75116
75860
|
// src/funcs/schedulingGet.ts
|
|
75117
75861
|
function schedulingGet(client, request, options) {
|
|
75118
|
-
return new APIPromise($
|
|
75862
|
+
return new APIPromise($do110(client, request, options));
|
|
75119
75863
|
}
|
|
75120
|
-
async function $
|
|
75864
|
+
async function $do110(client, request, options) {
|
|
75121
75865
|
const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75122
75866
|
if (!parsed.ok) {
|
|
75123
75867
|
return [parsed, { status: "invalid" }];
|
|
@@ -75199,12 +75943,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
75199
75943
|
});
|
|
75200
75944
|
|
|
75201
75945
|
// src/mcp-server/tools/schedulingGet.ts
|
|
75202
|
-
var
|
|
75946
|
+
var args110, tool$schedulingGet;
|
|
75203
75947
|
var init_schedulingGet2 = __esm(() => {
|
|
75204
75948
|
init_schedulingGet();
|
|
75205
75949
|
init_operations();
|
|
75206
75950
|
init_tools();
|
|
75207
|
-
|
|
75951
|
+
args110 = {
|
|
75208
75952
|
request: GetSchedulesRequest$inboundSchema
|
|
75209
75953
|
};
|
|
75210
75954
|
tool$schedulingGet = {
|
|
@@ -75213,9 +75957,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
75213
75957
|
|
|
75214
75958
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75215
75959
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75216
|
-
args:
|
|
75217
|
-
tool: async (client,
|
|
75218
|
-
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();
|
|
75219
75963
|
if (!result.ok) {
|
|
75220
75964
|
return {
|
|
75221
75965
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75230,9 +75974,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75230
75974
|
|
|
75231
75975
|
// src/funcs/schedulingGetOccurrance.ts
|
|
75232
75976
|
function schedulingGetOccurrance(client, request, options) {
|
|
75233
|
-
return new APIPromise($
|
|
75977
|
+
return new APIPromise($do111(client, request, options));
|
|
75234
75978
|
}
|
|
75235
|
-
async function $
|
|
75979
|
+
async function $do111(client, request, options) {
|
|
75236
75980
|
const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75237
75981
|
if (!parsed.ok) {
|
|
75238
75982
|
return [parsed, { status: "invalid" }];
|
|
@@ -75315,12 +76059,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
75315
76059
|
});
|
|
75316
76060
|
|
|
75317
76061
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
75318
|
-
var
|
|
76062
|
+
var args111, tool$schedulingGetOccurrance;
|
|
75319
76063
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
75320
76064
|
init_schedulingGetOccurrance();
|
|
75321
76065
|
init_operations();
|
|
75322
76066
|
init_tools();
|
|
75323
|
-
|
|
76067
|
+
args111 = {
|
|
75324
76068
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
75325
76069
|
};
|
|
75326
76070
|
tool$schedulingGetOccurrance = {
|
|
@@ -75329,9 +76073,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
75329
76073
|
|
|
75330
76074
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75331
76075
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75332
|
-
args:
|
|
75333
|
-
tool: async (client,
|
|
75334
|
-
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();
|
|
75335
76079
|
if (!result.ok) {
|
|
75336
76080
|
return {
|
|
75337
76081
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75346,9 +76090,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75346
76090
|
|
|
75347
76091
|
// src/funcs/schedulingList.ts
|
|
75348
76092
|
function schedulingList(client, request, options) {
|
|
75349
|
-
return new APIPromise($
|
|
76093
|
+
return new APIPromise($do112(client, request, options));
|
|
75350
76094
|
}
|
|
75351
|
-
async function $
|
|
76095
|
+
async function $do112(client, request, options) {
|
|
75352
76096
|
const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75353
76097
|
if (!parsed.ok) {
|
|
75354
76098
|
return [parsed, { status: "invalid" }];
|
|
@@ -75432,12 +76176,12 @@ var init_schedulingList = __esm(() => {
|
|
|
75432
76176
|
});
|
|
75433
76177
|
|
|
75434
76178
|
// src/mcp-server/tools/schedulingList.ts
|
|
75435
|
-
var
|
|
76179
|
+
var args112, tool$schedulingList;
|
|
75436
76180
|
var init_schedulingList2 = __esm(() => {
|
|
75437
76181
|
init_schedulingList();
|
|
75438
76182
|
init_operations();
|
|
75439
76183
|
init_tools();
|
|
75440
|
-
|
|
76184
|
+
args112 = {
|
|
75441
76185
|
request: ListSchedulesRequest$inboundSchema
|
|
75442
76186
|
};
|
|
75443
76187
|
tool$schedulingList = {
|
|
@@ -75446,9 +76190,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
75446
76190
|
|
|
75447
76191
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75448
76192
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75449
|
-
args:
|
|
75450
|
-
tool: async (client,
|
|
75451
|
-
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();
|
|
75452
76196
|
if (!result.ok) {
|
|
75453
76197
|
return {
|
|
75454
76198
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75463,9 +76207,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75463
76207
|
|
|
75464
76208
|
// src/funcs/schedulingUpdate.ts
|
|
75465
76209
|
function schedulingUpdate(client, request, options) {
|
|
75466
|
-
return new APIPromise($
|
|
76210
|
+
return new APIPromise($do113(client, request, options));
|
|
75467
76211
|
}
|
|
75468
|
-
async function $
|
|
76212
|
+
async function $do113(client, request, options) {
|
|
75469
76213
|
const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75470
76214
|
if (!parsed.ok) {
|
|
75471
76215
|
return [parsed, { status: "invalid" }];
|
|
@@ -75563,12 +76307,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
75563
76307
|
});
|
|
75564
76308
|
|
|
75565
76309
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
75566
|
-
var
|
|
76310
|
+
var args113, tool$schedulingUpdate;
|
|
75567
76311
|
var init_schedulingUpdate2 = __esm(() => {
|
|
75568
76312
|
init_schedulingUpdate();
|
|
75569
76313
|
init_operations();
|
|
75570
76314
|
init_tools();
|
|
75571
|
-
|
|
76315
|
+
args113 = {
|
|
75572
76316
|
request: UpdateScheduleRequest$inboundSchema
|
|
75573
76317
|
};
|
|
75574
76318
|
tool$schedulingUpdate = {
|
|
@@ -75577,9 +76321,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
75577
76321
|
|
|
75578
76322
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75579
76323
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75580
|
-
args:
|
|
75581
|
-
tool: async (client,
|
|
75582
|
-
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();
|
|
75583
76327
|
if (!result.ok) {
|
|
75584
76328
|
return {
|
|
75585
76329
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75594,9 +76338,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75594
76338
|
|
|
75595
76339
|
// src/funcs/statementsGet.ts
|
|
75596
76340
|
function statementsGet(client, request, options) {
|
|
75597
|
-
return new APIPromise($
|
|
76341
|
+
return new APIPromise($do114(client, request, options));
|
|
75598
76342
|
}
|
|
75599
|
-
async function $
|
|
76343
|
+
async function $do114(client, request, options) {
|
|
75600
76344
|
const parsed = safeParse(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75601
76345
|
if (!parsed.ok) {
|
|
75602
76346
|
return [parsed, { status: "invalid" }];
|
|
@@ -75682,12 +76426,12 @@ var init_statementsGet = __esm(() => {
|
|
|
75682
76426
|
});
|
|
75683
76427
|
|
|
75684
76428
|
// src/mcp-server/tools/statementsGet.ts
|
|
75685
|
-
var
|
|
76429
|
+
var args114, tool$statementsGet;
|
|
75686
76430
|
var init_statementsGet2 = __esm(() => {
|
|
75687
76431
|
init_statementsGet();
|
|
75688
76432
|
init_operations();
|
|
75689
76433
|
init_tools();
|
|
75690
|
-
|
|
76434
|
+
args114 = {
|
|
75691
76435
|
request: GetStatementRequest$inboundSchema
|
|
75692
76436
|
};
|
|
75693
76437
|
tool$statementsGet = {
|
|
@@ -75698,9 +76442,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
75698
76442
|
|
|
75699
76443
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75700
76444
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
75701
|
-
args:
|
|
75702
|
-
tool: async (client,
|
|
75703
|
-
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();
|
|
75704
76448
|
if (!result.ok) {
|
|
75705
76449
|
return {
|
|
75706
76450
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75715,9 +76459,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
75715
76459
|
|
|
75716
76460
|
// src/funcs/statementsList.ts
|
|
75717
76461
|
function statementsList(client, request, options) {
|
|
75718
|
-
return new APIPromise($
|
|
76462
|
+
return new APIPromise($do115(client, request, options));
|
|
75719
76463
|
}
|
|
75720
|
-
async function $
|
|
76464
|
+
async function $do115(client, request, options) {
|
|
75721
76465
|
const parsed = safeParse(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75722
76466
|
if (!parsed.ok) {
|
|
75723
76467
|
return [parsed, { status: "invalid" }];
|
|
@@ -75803,12 +76547,12 @@ var init_statementsList = __esm(() => {
|
|
|
75803
76547
|
});
|
|
75804
76548
|
|
|
75805
76549
|
// src/mcp-server/tools/statementsList.ts
|
|
75806
|
-
var
|
|
76550
|
+
var args115, tool$statementsList;
|
|
75807
76551
|
var init_statementsList2 = __esm(() => {
|
|
75808
76552
|
init_statementsList();
|
|
75809
76553
|
init_operations();
|
|
75810
76554
|
init_tools();
|
|
75811
|
-
|
|
76555
|
+
args115 = {
|
|
75812
76556
|
request: ListStatementsRequest$inboundSchema
|
|
75813
76557
|
};
|
|
75814
76558
|
tool$statementsList = {
|
|
@@ -75817,9 +76561,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
75817
76561
|
|
|
75818
76562
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75819
76563
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
75820
|
-
args:
|
|
75821
|
-
tool: async (client,
|
|
75822
|
-
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();
|
|
75823
76567
|
if (!result.ok) {
|
|
75824
76568
|
return {
|
|
75825
76569
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75834,9 +76578,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
75834
76578
|
|
|
75835
76579
|
// src/funcs/supportCreateTicket.ts
|
|
75836
76580
|
function supportCreateTicket(client, request, options) {
|
|
75837
|
-
return new APIPromise($
|
|
76581
|
+
return new APIPromise($do116(client, request, options));
|
|
75838
76582
|
}
|
|
75839
|
-
async function $
|
|
76583
|
+
async function $do116(client, request, options) {
|
|
75840
76584
|
const parsed = safeParse(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75841
76585
|
if (!parsed.ok) {
|
|
75842
76586
|
return [parsed, { status: "invalid" }];
|
|
@@ -75928,12 +76672,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
75928
76672
|
});
|
|
75929
76673
|
|
|
75930
76674
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
75931
|
-
var
|
|
76675
|
+
var args116, tool$supportCreateTicket;
|
|
75932
76676
|
var init_supportCreateTicket2 = __esm(() => {
|
|
75933
76677
|
init_supportCreateTicket();
|
|
75934
76678
|
init_operations();
|
|
75935
76679
|
init_tools();
|
|
75936
|
-
|
|
76680
|
+
args116 = {
|
|
75937
76681
|
request: CreateTicketRequest$inboundSchema
|
|
75938
76682
|
};
|
|
75939
76683
|
tool$supportCreateTicket = {
|
|
@@ -75945,9 +76689,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
75945
76689
|
|
|
75946
76690
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
75947
76691
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
75948
|
-
args:
|
|
75949
|
-
tool: async (client,
|
|
75950
|
-
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();
|
|
75951
76695
|
if (!result.ok) {
|
|
75952
76696
|
return {
|
|
75953
76697
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75962,9 +76706,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
75962
76706
|
|
|
75963
76707
|
// src/funcs/supportGetTicket.ts
|
|
75964
76708
|
function supportGetTicket(client, request, options) {
|
|
75965
|
-
return new APIPromise($
|
|
76709
|
+
return new APIPromise($do117(client, request, options));
|
|
75966
76710
|
}
|
|
75967
|
-
async function $
|
|
76711
|
+
async function $do117(client, request, options) {
|
|
75968
76712
|
const parsed = safeParse(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75969
76713
|
if (!parsed.ok) {
|
|
75970
76714
|
return [parsed, { status: "invalid" }];
|
|
@@ -76046,12 +76790,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
76046
76790
|
});
|
|
76047
76791
|
|
|
76048
76792
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
76049
|
-
var
|
|
76793
|
+
var args117, tool$supportGetTicket;
|
|
76050
76794
|
var init_supportGetTicket2 = __esm(() => {
|
|
76051
76795
|
init_supportGetTicket();
|
|
76052
76796
|
init_operations();
|
|
76053
76797
|
init_tools();
|
|
76054
|
-
|
|
76798
|
+
args117 = {
|
|
76055
76799
|
request: GetTicketRequest$inboundSchema
|
|
76056
76800
|
};
|
|
76057
76801
|
tool$supportGetTicket = {
|
|
@@ -76063,9 +76807,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
76063
76807
|
|
|
76064
76808
|
If you're retrieving another account's ticket, then you'll need to
|
|
76065
76809
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
76066
|
-
args:
|
|
76067
|
-
tool: async (client,
|
|
76068
|
-
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();
|
|
76069
76813
|
if (!result.ok) {
|
|
76070
76814
|
return {
|
|
76071
76815
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76080,9 +76824,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
76080
76824
|
|
|
76081
76825
|
// src/funcs/supportListTicketMessages.ts
|
|
76082
76826
|
function supportListTicketMessages(client, request, options) {
|
|
76083
|
-
return new APIPromise($
|
|
76827
|
+
return new APIPromise($do118(client, request, options));
|
|
76084
76828
|
}
|
|
76085
|
-
async function $
|
|
76829
|
+
async function $do118(client, request, options) {
|
|
76086
76830
|
const parsed = safeParse(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76087
76831
|
if (!parsed.ok) {
|
|
76088
76832
|
return [parsed, { status: "invalid" }];
|
|
@@ -76164,12 +76908,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
76164
76908
|
});
|
|
76165
76909
|
|
|
76166
76910
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
76167
|
-
var
|
|
76911
|
+
var args118, tool$supportListTicketMessages;
|
|
76168
76912
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
76169
76913
|
init_supportListTicketMessages();
|
|
76170
76914
|
init_operations();
|
|
76171
76915
|
init_tools();
|
|
76172
|
-
|
|
76916
|
+
args118 = {
|
|
76173
76917
|
request: ListTicketMessagesRequest$inboundSchema
|
|
76174
76918
|
};
|
|
76175
76919
|
tool$supportListTicketMessages = {
|
|
@@ -76181,9 +76925,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
76181
76925
|
|
|
76182
76926
|
If you're listing another account's messages, then you'll need to
|
|
76183
76927
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
76184
|
-
args:
|
|
76185
|
-
tool: async (client,
|
|
76186
|
-
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();
|
|
76187
76931
|
if (!result.ok) {
|
|
76188
76932
|
return {
|
|
76189
76933
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76198,9 +76942,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
76198
76942
|
|
|
76199
76943
|
// src/funcs/supportListTickets.ts
|
|
76200
76944
|
function supportListTickets(client, request, options) {
|
|
76201
|
-
return new APIPromise($
|
|
76945
|
+
return new APIPromise($do119(client, request, options));
|
|
76202
76946
|
}
|
|
76203
|
-
async function $
|
|
76947
|
+
async function $do119(client, request, options) {
|
|
76204
76948
|
const parsed = safeParse(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76205
76949
|
if (!parsed.ok) {
|
|
76206
76950
|
return [parsed, { status: "invalid" }];
|
|
@@ -76285,12 +77029,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
76285
77029
|
});
|
|
76286
77030
|
|
|
76287
77031
|
// src/mcp-server/tools/supportListTickets.ts
|
|
76288
|
-
var
|
|
77032
|
+
var args119, tool$supportListTickets;
|
|
76289
77033
|
var init_supportListTickets2 = __esm(() => {
|
|
76290
77034
|
init_supportListTickets();
|
|
76291
77035
|
init_operations();
|
|
76292
77036
|
init_tools();
|
|
76293
|
-
|
|
77037
|
+
args119 = {
|
|
76294
77038
|
request: ListTicketsRequest$inboundSchema
|
|
76295
77039
|
};
|
|
76296
77040
|
tool$supportListTickets = {
|
|
@@ -76302,9 +77046,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
76302
77046
|
|
|
76303
77047
|
If you're listing another account's tickets, then you'll need to
|
|
76304
77048
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
76305
|
-
args:
|
|
76306
|
-
tool: async (client,
|
|
76307
|
-
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();
|
|
76308
77052
|
if (!result.ok) {
|
|
76309
77053
|
return {
|
|
76310
77054
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76319,9 +77063,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
76319
77063
|
|
|
76320
77064
|
// src/funcs/supportUpdateTicket.ts
|
|
76321
77065
|
function supportUpdateTicket(client, request, options) {
|
|
76322
|
-
return new APIPromise($
|
|
77066
|
+
return new APIPromise($do120(client, request, options));
|
|
76323
77067
|
}
|
|
76324
|
-
async function $
|
|
77068
|
+
async function $do120(client, request, options) {
|
|
76325
77069
|
const parsed = safeParse(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76326
77070
|
if (!parsed.ok) {
|
|
76327
77071
|
return [parsed, { status: "invalid" }];
|
|
@@ -76417,12 +77161,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
76417
77161
|
});
|
|
76418
77162
|
|
|
76419
77163
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
76420
|
-
var
|
|
77164
|
+
var args120, tool$supportUpdateTicket;
|
|
76421
77165
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
76422
77166
|
init_supportUpdateTicket();
|
|
76423
77167
|
init_operations();
|
|
76424
77168
|
init_tools();
|
|
76425
|
-
|
|
77169
|
+
args120 = {
|
|
76426
77170
|
request: UpdateTicketRequest$inboundSchema
|
|
76427
77171
|
};
|
|
76428
77172
|
tool$supportUpdateTicket = {
|
|
@@ -76434,9 +77178,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
76434
77178
|
|
|
76435
77179
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
76436
77180
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
76437
|
-
args:
|
|
76438
|
-
tool: async (client,
|
|
76439
|
-
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();
|
|
76440
77184
|
if (!result.ok) {
|
|
76441
77185
|
return {
|
|
76442
77186
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76451,9 +77195,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
76451
77195
|
|
|
76452
77196
|
// src/funcs/sweepsCreateConfig.ts
|
|
76453
77197
|
function sweepsCreateConfig(client, request, options) {
|
|
76454
|
-
return new APIPromise($
|
|
77198
|
+
return new APIPromise($do121(client, request, options));
|
|
76455
77199
|
}
|
|
76456
|
-
async function $
|
|
77200
|
+
async function $do121(client, request, options) {
|
|
76457
77201
|
const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76458
77202
|
if (!parsed.ok) {
|
|
76459
77203
|
return [parsed, { status: "invalid" }];
|
|
@@ -76545,12 +77289,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
76545
77289
|
});
|
|
76546
77290
|
|
|
76547
77291
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
76548
|
-
var
|
|
77292
|
+
var args121, tool$sweepsCreateConfig;
|
|
76549
77293
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
76550
77294
|
init_sweepsCreateConfig();
|
|
76551
77295
|
init_operations();
|
|
76552
77296
|
init_tools();
|
|
76553
|
-
|
|
77297
|
+
args121 = {
|
|
76554
77298
|
request: CreateSweepConfigRequest$inboundSchema
|
|
76555
77299
|
};
|
|
76556
77300
|
tool$sweepsCreateConfig = {
|
|
@@ -76559,9 +77303,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
76559
77303
|
|
|
76560
77304
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76561
77305
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
76562
|
-
args:
|
|
76563
|
-
tool: async (client,
|
|
76564
|
-
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();
|
|
76565
77309
|
if (!result.ok) {
|
|
76566
77310
|
return {
|
|
76567
77311
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76576,9 +77320,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
76576
77320
|
|
|
76577
77321
|
// src/funcs/sweepsGet.ts
|
|
76578
77322
|
function sweepsGet(client, request, options) {
|
|
76579
|
-
return new APIPromise($
|
|
77323
|
+
return new APIPromise($do122(client, request, options));
|
|
76580
77324
|
}
|
|
76581
|
-
async function $
|
|
77325
|
+
async function $do122(client, request, options) {
|
|
76582
77326
|
const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76583
77327
|
if (!parsed.ok) {
|
|
76584
77328
|
return [parsed, { status: "invalid" }];
|
|
@@ -76664,12 +77408,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
76664
77408
|
});
|
|
76665
77409
|
|
|
76666
77410
|
// src/mcp-server/tools/sweepsGet.ts
|
|
76667
|
-
var
|
|
77411
|
+
var args122, tool$sweepsGet;
|
|
76668
77412
|
var init_sweepsGet2 = __esm(() => {
|
|
76669
77413
|
init_sweepsGet();
|
|
76670
77414
|
init_operations();
|
|
76671
77415
|
init_tools();
|
|
76672
|
-
|
|
77416
|
+
args122 = {
|
|
76673
77417
|
request: GetSweepRequest$inboundSchema
|
|
76674
77418
|
};
|
|
76675
77419
|
tool$sweepsGet = {
|
|
@@ -76678,9 +77422,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
76678
77422
|
|
|
76679
77423
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76680
77424
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76681
|
-
args:
|
|
76682
|
-
tool: async (client,
|
|
76683
|
-
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();
|
|
76684
77428
|
if (!result.ok) {
|
|
76685
77429
|
return {
|
|
76686
77430
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76695,9 +77439,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76695
77439
|
|
|
76696
77440
|
// src/funcs/sweepsGetConfig.ts
|
|
76697
77441
|
function sweepsGetConfig(client, request, options) {
|
|
76698
|
-
return new APIPromise($
|
|
77442
|
+
return new APIPromise($do123(client, request, options));
|
|
76699
77443
|
}
|
|
76700
|
-
async function $
|
|
77444
|
+
async function $do123(client, request, options) {
|
|
76701
77445
|
const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76702
77446
|
if (!parsed.ok) {
|
|
76703
77447
|
return [parsed, { status: "invalid" }];
|
|
@@ -76779,12 +77523,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
76779
77523
|
});
|
|
76780
77524
|
|
|
76781
77525
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
76782
|
-
var
|
|
77526
|
+
var args123, tool$sweepsGetConfig;
|
|
76783
77527
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
76784
77528
|
init_sweepsGetConfig();
|
|
76785
77529
|
init_operations();
|
|
76786
77530
|
init_tools();
|
|
76787
|
-
|
|
77531
|
+
args123 = {
|
|
76788
77532
|
request: GetSweepConfigRequest$inboundSchema
|
|
76789
77533
|
};
|
|
76790
77534
|
tool$sweepsGetConfig = {
|
|
@@ -76793,9 +77537,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
76793
77537
|
|
|
76794
77538
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76795
77539
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76796
|
-
args:
|
|
76797
|
-
tool: async (client,
|
|
76798
|
-
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();
|
|
76799
77543
|
if (!result.ok) {
|
|
76800
77544
|
return {
|
|
76801
77545
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76810,9 +77554,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76810
77554
|
|
|
76811
77555
|
// src/funcs/sweepsList.ts
|
|
76812
77556
|
function sweepsList(client, request, options) {
|
|
76813
|
-
return new APIPromise($
|
|
77557
|
+
return new APIPromise($do124(client, request, options));
|
|
76814
77558
|
}
|
|
76815
|
-
async function $
|
|
77559
|
+
async function $do124(client, request, options) {
|
|
76816
77560
|
const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76817
77561
|
if (!parsed.ok) {
|
|
76818
77562
|
return [parsed, { status: "invalid" }];
|
|
@@ -76901,12 +77645,12 @@ var init_sweepsList = __esm(() => {
|
|
|
76901
77645
|
});
|
|
76902
77646
|
|
|
76903
77647
|
// src/mcp-server/tools/sweepsList.ts
|
|
76904
|
-
var
|
|
77648
|
+
var args124, tool$sweepsList;
|
|
76905
77649
|
var init_sweepsList2 = __esm(() => {
|
|
76906
77650
|
init_sweepsList();
|
|
76907
77651
|
init_operations();
|
|
76908
77652
|
init_tools();
|
|
76909
|
-
|
|
77653
|
+
args124 = {
|
|
76910
77654
|
request: ListSweepsRequest$inboundSchema
|
|
76911
77655
|
};
|
|
76912
77656
|
tool$sweepsList = {
|
|
@@ -76915,9 +77659,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
76915
77659
|
|
|
76916
77660
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76917
77661
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
76918
|
-
args:
|
|
76919
|
-
tool: async (client,
|
|
76920
|
-
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();
|
|
76921
77665
|
if (!result.ok) {
|
|
76922
77666
|
return {
|
|
76923
77667
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76932,9 +77676,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76932
77676
|
|
|
76933
77677
|
// src/funcs/sweepsListConfigs.ts
|
|
76934
77678
|
function sweepsListConfigs(client, request, options) {
|
|
76935
|
-
return new APIPromise($
|
|
77679
|
+
return new APIPromise($do125(client, request, options));
|
|
76936
77680
|
}
|
|
76937
|
-
async function $
|
|
77681
|
+
async function $do125(client, request, options) {
|
|
76938
77682
|
const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76939
77683
|
if (!parsed.ok) {
|
|
76940
77684
|
return [parsed, { status: "invalid" }];
|
|
@@ -77012,12 +77756,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
77012
77756
|
});
|
|
77013
77757
|
|
|
77014
77758
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
77015
|
-
var
|
|
77759
|
+
var args125, tool$sweepsListConfigs;
|
|
77016
77760
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
77017
77761
|
init_sweepsListConfigs();
|
|
77018
77762
|
init_operations();
|
|
77019
77763
|
init_tools();
|
|
77020
|
-
|
|
77764
|
+
args125 = {
|
|
77021
77765
|
request: ListSweepConfigsRequest$inboundSchema
|
|
77022
77766
|
};
|
|
77023
77767
|
tool$sweepsListConfigs = {
|
|
@@ -77026,9 +77770,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
77026
77770
|
|
|
77027
77771
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77028
77772
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
77029
|
-
args:
|
|
77030
|
-
tool: async (client,
|
|
77031
|
-
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();
|
|
77032
77776
|
if (!result.ok) {
|
|
77033
77777
|
return {
|
|
77034
77778
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77043,9 +77787,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
77043
77787
|
|
|
77044
77788
|
// src/funcs/sweepsUpdateConfig.ts
|
|
77045
77789
|
function sweepsUpdateConfig(client, request, options) {
|
|
77046
|
-
return new APIPromise($
|
|
77790
|
+
return new APIPromise($do126(client, request, options));
|
|
77047
77791
|
}
|
|
77048
|
-
async function $
|
|
77792
|
+
async function $do126(client, request, options) {
|
|
77049
77793
|
const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77050
77794
|
if (!parsed.ok) {
|
|
77051
77795
|
return [parsed, { status: "invalid" }];
|
|
@@ -77141,12 +77885,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
77141
77885
|
});
|
|
77142
77886
|
|
|
77143
77887
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
77144
|
-
var
|
|
77888
|
+
var args126, tool$sweepsUpdateConfig;
|
|
77145
77889
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
77146
77890
|
init_sweepsUpdateConfig();
|
|
77147
77891
|
init_operations();
|
|
77148
77892
|
init_tools();
|
|
77149
|
-
|
|
77893
|
+
args126 = {
|
|
77150
77894
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
77151
77895
|
};
|
|
77152
77896
|
tool$sweepsUpdateConfig = {
|
|
@@ -77155,9 +77899,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
77155
77899
|
|
|
77156
77900
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77157
77901
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
77158
|
-
args:
|
|
77159
|
-
tool: async (client,
|
|
77160
|
-
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();
|
|
77161
77905
|
if (!result.ok) {
|
|
77162
77906
|
return {
|
|
77163
77907
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77172,9 +77916,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
77172
77916
|
|
|
77173
77917
|
// src/funcs/terminalApplicationsCreate.ts
|
|
77174
77918
|
function terminalApplicationsCreate(client, request, options) {
|
|
77175
|
-
return new APIPromise($
|
|
77919
|
+
return new APIPromise($do127(client, request, options));
|
|
77176
77920
|
}
|
|
77177
|
-
async function $
|
|
77921
|
+
async function $do127(client, request, options) {
|
|
77178
77922
|
const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
77179
77923
|
if (!parsed.ok) {
|
|
77180
77924
|
return [parsed, { status: "invalid" }];
|
|
@@ -77263,12 +78007,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
77263
78007
|
});
|
|
77264
78008
|
|
|
77265
78009
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
77266
|
-
var
|
|
78010
|
+
var args127, tool$terminalApplicationsCreate;
|
|
77267
78011
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
77268
78012
|
init_terminalApplicationsCreate();
|
|
77269
78013
|
init_components();
|
|
77270
78014
|
init_tools();
|
|
77271
|
-
|
|
78015
|
+
args127 = {
|
|
77272
78016
|
request: CreateTerminalApplication$inboundSchema
|
|
77273
78017
|
};
|
|
77274
78018
|
tool$terminalApplicationsCreate = {
|
|
@@ -77277,9 +78021,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
77277
78021
|
|
|
77278
78022
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77279
78023
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
77280
|
-
args:
|
|
77281
|
-
tool: async (client,
|
|
77282
|
-
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();
|
|
77283
78027
|
if (!result.ok) {
|
|
77284
78028
|
return {
|
|
77285
78029
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77294,9 +78038,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
77294
78038
|
|
|
77295
78039
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
77296
78040
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
77297
|
-
return new APIPromise($
|
|
78041
|
+
return new APIPromise($do128(client, request, options));
|
|
77298
78042
|
}
|
|
77299
|
-
async function $
|
|
78043
|
+
async function $do128(client, request, options) {
|
|
77300
78044
|
const parsed = safeParse(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77301
78045
|
if (!parsed.ok) {
|
|
77302
78046
|
return [parsed, { status: "invalid" }];
|
|
@@ -77386,12 +78130,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
77386
78130
|
});
|
|
77387
78131
|
|
|
77388
78132
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
77389
|
-
var
|
|
78133
|
+
var args128, tool$terminalApplicationsCreateVersion;
|
|
77390
78134
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
77391
78135
|
init_terminalApplicationsCreateVersion();
|
|
77392
78136
|
init_operations();
|
|
77393
78137
|
init_tools();
|
|
77394
|
-
|
|
78138
|
+
args128 = {
|
|
77395
78139
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
77396
78140
|
};
|
|
77397
78141
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -77400,9 +78144,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
77400
78144
|
|
|
77401
78145
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77402
78146
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
77403
|
-
args:
|
|
77404
|
-
tool: async (client,
|
|
77405
|
-
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();
|
|
77406
78150
|
if (!result.ok) {
|
|
77407
78151
|
return {
|
|
77408
78152
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77417,9 +78161,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
77417
78161
|
|
|
77418
78162
|
// src/funcs/terminalApplicationsDelete.ts
|
|
77419
78163
|
function terminalApplicationsDelete(client, request, options) {
|
|
77420
|
-
return new APIPromise($
|
|
78164
|
+
return new APIPromise($do129(client, request, options));
|
|
77421
78165
|
}
|
|
77422
|
-
async function $
|
|
78166
|
+
async function $do129(client, request, options) {
|
|
77423
78167
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77424
78168
|
if (!parsed.ok) {
|
|
77425
78169
|
return [parsed, { status: "invalid" }];
|
|
@@ -77503,12 +78247,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
77503
78247
|
});
|
|
77504
78248
|
|
|
77505
78249
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
77506
|
-
var
|
|
78250
|
+
var args129, tool$terminalApplicationsDelete;
|
|
77507
78251
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
77508
78252
|
init_terminalApplicationsDelete();
|
|
77509
78253
|
init_operations();
|
|
77510
78254
|
init_tools();
|
|
77511
|
-
|
|
78255
|
+
args129 = {
|
|
77512
78256
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
77513
78257
|
};
|
|
77514
78258
|
tool$terminalApplicationsDelete = {
|
|
@@ -77517,9 +78261,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
77517
78261
|
|
|
77518
78262
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77519
78263
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
77520
|
-
args:
|
|
77521
|
-
tool: async (client,
|
|
77522
|
-
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();
|
|
77523
78267
|
if (!result.ok) {
|
|
77524
78268
|
return {
|
|
77525
78269
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77533,9 +78277,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
77533
78277
|
|
|
77534
78278
|
// src/funcs/terminalApplicationsGet.ts
|
|
77535
78279
|
function terminalApplicationsGet(client, request, options) {
|
|
77536
|
-
return new APIPromise($
|
|
78280
|
+
return new APIPromise($do130(client, request, options));
|
|
77537
78281
|
}
|
|
77538
|
-
async function $
|
|
78282
|
+
async function $do130(client, request, options) {
|
|
77539
78283
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77540
78284
|
if (!parsed.ok) {
|
|
77541
78285
|
return [parsed, { status: "invalid" }];
|
|
@@ -77610,12 +78354,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
77610
78354
|
});
|
|
77611
78355
|
|
|
77612
78356
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
77613
|
-
var
|
|
78357
|
+
var args130, tool$terminalApplicationsGet;
|
|
77614
78358
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
77615
78359
|
init_terminalApplicationsGet();
|
|
77616
78360
|
init_operations();
|
|
77617
78361
|
init_tools();
|
|
77618
|
-
|
|
78362
|
+
args130 = {
|
|
77619
78363
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
77620
78364
|
};
|
|
77621
78365
|
tool$terminalApplicationsGet = {
|
|
@@ -77624,9 +78368,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
77624
78368
|
|
|
77625
78369
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77626
78370
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
77627
|
-
args:
|
|
77628
|
-
tool: async (client,
|
|
77629
|
-
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();
|
|
77630
78374
|
if (!result.ok) {
|
|
77631
78375
|
return {
|
|
77632
78376
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77641,9 +78385,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
77641
78385
|
|
|
77642
78386
|
// src/funcs/terminalApplicationsList.ts
|
|
77643
78387
|
function terminalApplicationsList(client, _request, options) {
|
|
77644
|
-
return new APIPromise($
|
|
78388
|
+
return new APIPromise($do131(client, _request, options));
|
|
77645
78389
|
}
|
|
77646
|
-
async function $
|
|
78390
|
+
async function $do131(client, _request, options) {
|
|
77647
78391
|
const path = pathToFunc("/terminal-applications")();
|
|
77648
78392
|
const headers = new Headers(compactMap({
|
|
77649
78393
|
Accept: "application/json",
|
|
@@ -77707,12 +78451,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
77707
78451
|
});
|
|
77708
78452
|
|
|
77709
78453
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
77710
|
-
var
|
|
78454
|
+
var args131, tool$terminalApplicationsList;
|
|
77711
78455
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
77712
78456
|
init_terminalApplicationsList();
|
|
77713
78457
|
init_operations();
|
|
77714
78458
|
init_tools();
|
|
77715
|
-
|
|
78459
|
+
args131 = {
|
|
77716
78460
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
77717
78461
|
};
|
|
77718
78462
|
tool$terminalApplicationsList = {
|
|
@@ -77721,9 +78465,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
77721
78465
|
|
|
77722
78466
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77723
78467
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
77724
|
-
args:
|
|
77725
|
-
tool: async (client,
|
|
77726
|
-
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();
|
|
77727
78471
|
if (!result.ok) {
|
|
77728
78472
|
return {
|
|
77729
78473
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77738,9 +78482,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
77738
78482
|
|
|
77739
78483
|
// src/funcs/transfersCreate.ts
|
|
77740
78484
|
function transfersCreate(client, request, options) {
|
|
77741
|
-
return new APIPromise($
|
|
78485
|
+
return new APIPromise($do132(client, request, options));
|
|
77742
78486
|
}
|
|
77743
|
-
async function $
|
|
78487
|
+
async function $do132(client, request, options) {
|
|
77744
78488
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77745
78489
|
if (!parsed.ok) {
|
|
77746
78490
|
return [parsed, { status: "invalid" }];
|
|
@@ -77833,12 +78577,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
77833
78577
|
});
|
|
77834
78578
|
|
|
77835
78579
|
// src/mcp-server/tools/transfersCreate.ts
|
|
77836
|
-
var
|
|
78580
|
+
var args132, tool$transfersCreate;
|
|
77837
78581
|
var init_transfersCreate2 = __esm(() => {
|
|
77838
78582
|
init_transfersCreate();
|
|
77839
78583
|
init_operations();
|
|
77840
78584
|
init_tools();
|
|
77841
|
-
|
|
78585
|
+
args132 = {
|
|
77842
78586
|
request: CreateTransferRequest$inboundSchema
|
|
77843
78587
|
};
|
|
77844
78588
|
tool$transfersCreate = {
|
|
@@ -77849,9 +78593,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
77849
78593
|
|
|
77850
78594
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77851
78595
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77852
|
-
args:
|
|
77853
|
-
tool: async (client,
|
|
77854
|
-
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();
|
|
77855
78599
|
if (!result.ok) {
|
|
77856
78600
|
return {
|
|
77857
78601
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77866,9 +78610,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77866
78610
|
|
|
77867
78611
|
// src/funcs/transfersCreateCancellation.ts
|
|
77868
78612
|
function transfersCreateCancellation(client, request, options) {
|
|
77869
|
-
return new APIPromise($
|
|
78613
|
+
return new APIPromise($do133(client, request, options));
|
|
77870
78614
|
}
|
|
77871
|
-
async function $
|
|
78615
|
+
async function $do133(client, request, options) {
|
|
77872
78616
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77873
78617
|
if (!parsed.ok) {
|
|
77874
78618
|
return [parsed, { status: "invalid" }];
|
|
@@ -77951,12 +78695,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
77951
78695
|
});
|
|
77952
78696
|
|
|
77953
78697
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
77954
|
-
var
|
|
78698
|
+
var args133, tool$transfersCreateCancellation;
|
|
77955
78699
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
77956
78700
|
init_transfersCreateCancellation();
|
|
77957
78701
|
init_operations();
|
|
77958
78702
|
init_tools();
|
|
77959
|
-
|
|
78703
|
+
args133 = {
|
|
77960
78704
|
request: CreateCancellationRequest$inboundSchema
|
|
77961
78705
|
};
|
|
77962
78706
|
tool$transfersCreateCancellation = {
|
|
@@ -77965,9 +78709,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
77965
78709
|
|
|
77966
78710
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
77967
78711
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77968
|
-
args:
|
|
77969
|
-
tool: async (client,
|
|
77970
|
-
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();
|
|
77971
78715
|
if (!result.ok) {
|
|
77972
78716
|
return {
|
|
77973
78717
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77982,9 +78726,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
77982
78726
|
|
|
77983
78727
|
// src/funcs/transfersCreateReversal.ts
|
|
77984
78728
|
function transfersCreateReversal(client, request, options) {
|
|
77985
|
-
return new APIPromise($
|
|
78729
|
+
return new APIPromise($do134(client, request, options));
|
|
77986
78730
|
}
|
|
77987
|
-
async function $
|
|
78731
|
+
async function $do134(client, request, options) {
|
|
77988
78732
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77989
78733
|
if (!parsed.ok) {
|
|
77990
78734
|
return [parsed, { status: "invalid" }];
|
|
@@ -78083,12 +78827,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
78083
78827
|
});
|
|
78084
78828
|
|
|
78085
78829
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
78086
|
-
var
|
|
78830
|
+
var args134, tool$transfersCreateReversal;
|
|
78087
78831
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
78088
78832
|
init_transfersCreateReversal();
|
|
78089
78833
|
init_operations();
|
|
78090
78834
|
init_tools();
|
|
78091
|
-
|
|
78835
|
+
args134 = {
|
|
78092
78836
|
request: CreateReversalRequest$inboundSchema
|
|
78093
78837
|
};
|
|
78094
78838
|
tool$transfersCreateReversal = {
|
|
@@ -78099,9 +78843,9 @@ to learn more.
|
|
|
78099
78843
|
|
|
78100
78844
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
78101
78845
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
78102
|
-
args:
|
|
78103
|
-
tool: async (client,
|
|
78104
|
-
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();
|
|
78105
78849
|
if (!result.ok) {
|
|
78106
78850
|
return {
|
|
78107
78851
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78116,9 +78860,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
78116
78860
|
|
|
78117
78861
|
// src/funcs/transfersGenerateOptions.ts
|
|
78118
78862
|
function transfersGenerateOptions(client, request, options) {
|
|
78119
|
-
return new APIPromise($
|
|
78863
|
+
return new APIPromise($do135(client, request, options));
|
|
78120
78864
|
}
|
|
78121
|
-
async function $
|
|
78865
|
+
async function $do135(client, request, options) {
|
|
78122
78866
|
const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78123
78867
|
if (!parsed.ok) {
|
|
78124
78868
|
return [parsed, { status: "invalid" }];
|
|
@@ -78202,12 +78946,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
78202
78946
|
});
|
|
78203
78947
|
|
|
78204
78948
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
78205
|
-
var
|
|
78949
|
+
var args135, tool$transfersGenerateOptions;
|
|
78206
78950
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
78207
78951
|
init_transfersGenerateOptions();
|
|
78208
78952
|
init_operations();
|
|
78209
78953
|
init_tools();
|
|
78210
|
-
|
|
78954
|
+
args135 = {
|
|
78211
78955
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
78212
78956
|
};
|
|
78213
78957
|
tool$transfersGenerateOptions = {
|
|
@@ -78221,9 +78965,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
78221
78965
|
|
|
78222
78966
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78223
78967
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
78224
|
-
args:
|
|
78225
|
-
tool: async (client,
|
|
78226
|
-
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();
|
|
78227
78971
|
if (!result.ok) {
|
|
78228
78972
|
return {
|
|
78229
78973
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78238,9 +78982,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
78238
78982
|
|
|
78239
78983
|
// src/funcs/transfersGet.ts
|
|
78240
78984
|
function transfersGet(client, request, options) {
|
|
78241
|
-
return new APIPromise($
|
|
78985
|
+
return new APIPromise($do136(client, request, options));
|
|
78242
78986
|
}
|
|
78243
|
-
async function $
|
|
78987
|
+
async function $do136(client, request, options) {
|
|
78244
78988
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78245
78989
|
if (!parsed.ok) {
|
|
78246
78990
|
return [parsed, { status: "invalid" }];
|
|
@@ -78322,12 +79066,12 @@ var init_transfersGet = __esm(() => {
|
|
|
78322
79066
|
});
|
|
78323
79067
|
|
|
78324
79068
|
// src/mcp-server/tools/transfersGet.ts
|
|
78325
|
-
var
|
|
79069
|
+
var args136, tool$transfersGet;
|
|
78326
79070
|
var init_transfersGet2 = __esm(() => {
|
|
78327
79071
|
init_transfersGet();
|
|
78328
79072
|
init_operations();
|
|
78329
79073
|
init_tools();
|
|
78330
|
-
|
|
79074
|
+
args136 = {
|
|
78331
79075
|
request: GetTransferRequest$inboundSchema
|
|
78332
79076
|
};
|
|
78333
79077
|
tool$transfersGet = {
|
|
@@ -78339,9 +79083,9 @@ to learn more.
|
|
|
78339
79083
|
|
|
78340
79084
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78341
79085
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78342
|
-
args:
|
|
78343
|
-
tool: async (client,
|
|
78344
|
-
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();
|
|
78345
79089
|
if (!result.ok) {
|
|
78346
79090
|
return {
|
|
78347
79091
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78356,9 +79100,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78356
79100
|
|
|
78357
79101
|
// src/funcs/transfersGetCancellation.ts
|
|
78358
79102
|
function transfersGetCancellation(client, request, options) {
|
|
78359
|
-
return new APIPromise($
|
|
79103
|
+
return new APIPromise($do137(client, request, options));
|
|
78360
79104
|
}
|
|
78361
|
-
async function $
|
|
79105
|
+
async function $do137(client, request, options) {
|
|
78362
79106
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78363
79107
|
if (!parsed.ok) {
|
|
78364
79108
|
return [parsed, { status: "invalid" }];
|
|
@@ -78444,12 +79188,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
78444
79188
|
});
|
|
78445
79189
|
|
|
78446
79190
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
78447
|
-
var
|
|
79191
|
+
var args137, tool$transfersGetCancellation;
|
|
78448
79192
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
78449
79193
|
init_transfersGetCancellation();
|
|
78450
79194
|
init_operations();
|
|
78451
79195
|
init_tools();
|
|
78452
|
-
|
|
79196
|
+
args137 = {
|
|
78453
79197
|
request: GetCancellationRequest$inboundSchema
|
|
78454
79198
|
};
|
|
78455
79199
|
tool$transfersGetCancellation = {
|
|
@@ -78458,9 +79202,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
78458
79202
|
|
|
78459
79203
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
78460
79204
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78461
|
-
args:
|
|
78462
|
-
tool: async (client,
|
|
78463
|
-
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();
|
|
78464
79208
|
if (!result.ok) {
|
|
78465
79209
|
return {
|
|
78466
79210
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78475,9 +79219,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
78475
79219
|
|
|
78476
79220
|
// src/funcs/transfersGetRefund.ts
|
|
78477
79221
|
function transfersGetRefund(client, request, options) {
|
|
78478
|
-
return new APIPromise($
|
|
79222
|
+
return new APIPromise($do138(client, request, options));
|
|
78479
79223
|
}
|
|
78480
|
-
async function $
|
|
79224
|
+
async function $do138(client, request, options) {
|
|
78481
79225
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78482
79226
|
if (!parsed.ok) {
|
|
78483
79227
|
return [parsed, { status: "invalid" }];
|
|
@@ -78563,12 +79307,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
78563
79307
|
});
|
|
78564
79308
|
|
|
78565
79309
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
78566
|
-
var
|
|
79310
|
+
var args138, tool$transfersGetRefund;
|
|
78567
79311
|
var init_transfersGetRefund2 = __esm(() => {
|
|
78568
79312
|
init_transfersGetRefund();
|
|
78569
79313
|
init_operations();
|
|
78570
79314
|
init_tools();
|
|
78571
|
-
|
|
79315
|
+
args138 = {
|
|
78572
79316
|
request: GetRefundRequest$inboundSchema
|
|
78573
79317
|
};
|
|
78574
79318
|
tool$transfersGetRefund = {
|
|
@@ -78577,9 +79321,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
78577
79321
|
|
|
78578
79322
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78579
79323
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78580
|
-
args:
|
|
78581
|
-
tool: async (client,
|
|
78582
|
-
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();
|
|
78583
79327
|
if (!result.ok) {
|
|
78584
79328
|
return {
|
|
78585
79329
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78594,9 +79338,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78594
79338
|
|
|
78595
79339
|
// src/funcs/transfersInitiateRefund.ts
|
|
78596
79340
|
function transfersInitiateRefund(client, request, options) {
|
|
78597
|
-
return new APIPromise($
|
|
79341
|
+
return new APIPromise($do139(client, request, options));
|
|
78598
79342
|
}
|
|
78599
|
-
async function $
|
|
79343
|
+
async function $do139(client, request, options) {
|
|
78600
79344
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78601
79345
|
if (!parsed.ok) {
|
|
78602
79346
|
return [parsed, { status: "invalid" }];
|
|
@@ -78688,12 +79432,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
78688
79432
|
});
|
|
78689
79433
|
|
|
78690
79434
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
78691
|
-
var
|
|
79435
|
+
var args139, tool$transfersInitiateRefund;
|
|
78692
79436
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
78693
79437
|
init_transfersInitiateRefund();
|
|
78694
79438
|
init_operations();
|
|
78695
79439
|
init_tools();
|
|
78696
|
-
|
|
79440
|
+
args139 = {
|
|
78697
79441
|
request: InitiateRefundRequest$inboundSchema
|
|
78698
79442
|
};
|
|
78699
79443
|
tool$transfersInitiateRefund = {
|
|
@@ -78705,9 +79449,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
78705
79449
|
|
|
78706
79450
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78707
79451
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
78708
|
-
args:
|
|
78709
|
-
tool: async (client,
|
|
78710
|
-
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();
|
|
78711
79455
|
if (!result.ok) {
|
|
78712
79456
|
return {
|
|
78713
79457
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78722,9 +79466,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
78722
79466
|
|
|
78723
79467
|
// src/funcs/transfersList.ts
|
|
78724
79468
|
function transfersList(client, request, options) {
|
|
78725
|
-
return new APIPromise($
|
|
79469
|
+
return new APIPromise($do140(client, request, options));
|
|
78726
79470
|
}
|
|
78727
|
-
async function $
|
|
79471
|
+
async function $do140(client, request, options) {
|
|
78728
79472
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78729
79473
|
if (!parsed.ok) {
|
|
78730
79474
|
return [parsed, { status: "invalid" }];
|
|
@@ -78820,12 +79564,12 @@ var init_transfersList = __esm(() => {
|
|
|
78820
79564
|
});
|
|
78821
79565
|
|
|
78822
79566
|
// src/mcp-server/tools/transfersList.ts
|
|
78823
|
-
var
|
|
79567
|
+
var args140, tool$transfersList;
|
|
78824
79568
|
var init_transfersList2 = __esm(() => {
|
|
78825
79569
|
init_transfersList();
|
|
78826
79570
|
init_operations();
|
|
78827
79571
|
init_tools();
|
|
78828
|
-
|
|
79572
|
+
args140 = {
|
|
78829
79573
|
request: ListTransfersRequest$inboundSchema
|
|
78830
79574
|
};
|
|
78831
79575
|
tool$transfersList = {
|
|
@@ -78841,9 +79585,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
78841
79585
|
|
|
78842
79586
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78843
79587
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78844
|
-
args:
|
|
78845
|
-
tool: async (client,
|
|
78846
|
-
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();
|
|
78847
79591
|
if (!result.ok) {
|
|
78848
79592
|
return {
|
|
78849
79593
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78858,9 +79602,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78858
79602
|
|
|
78859
79603
|
// src/funcs/transfersListRefunds.ts
|
|
78860
79604
|
function transfersListRefunds(client, request, options) {
|
|
78861
|
-
return new APIPromise($
|
|
79605
|
+
return new APIPromise($do141(client, request, options));
|
|
78862
79606
|
}
|
|
78863
|
-
async function $
|
|
79607
|
+
async function $do141(client, request, options) {
|
|
78864
79608
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78865
79609
|
if (!parsed.ok) {
|
|
78866
79610
|
return [parsed, { status: "invalid" }];
|
|
@@ -78942,12 +79686,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
78942
79686
|
});
|
|
78943
79687
|
|
|
78944
79688
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
78945
|
-
var
|
|
79689
|
+
var args141, tool$transfersListRefunds;
|
|
78946
79690
|
var init_transfersListRefunds2 = __esm(() => {
|
|
78947
79691
|
init_transfersListRefunds();
|
|
78948
79692
|
init_operations();
|
|
78949
79693
|
init_tools();
|
|
78950
|
-
|
|
79694
|
+
args141 = {
|
|
78951
79695
|
request: ListRefundsRequest$inboundSchema
|
|
78952
79696
|
};
|
|
78953
79697
|
tool$transfersListRefunds = {
|
|
@@ -78956,9 +79700,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
78956
79700
|
|
|
78957
79701
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78958
79702
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78959
|
-
args:
|
|
78960
|
-
tool: async (client,
|
|
78961
|
-
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();
|
|
78962
79706
|
if (!result.ok) {
|
|
78963
79707
|
return {
|
|
78964
79708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78973,9 +79717,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78973
79717
|
|
|
78974
79718
|
// src/funcs/transfersUpdate.ts
|
|
78975
79719
|
function transfersUpdate(client, request, options) {
|
|
78976
|
-
return new APIPromise($
|
|
79720
|
+
return new APIPromise($do142(client, request, options));
|
|
78977
79721
|
}
|
|
78978
|
-
async function $
|
|
79722
|
+
async function $do142(client, request, options) {
|
|
78979
79723
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78980
79724
|
if (!parsed.ok) {
|
|
78981
79725
|
return [parsed, { status: "invalid" }];
|
|
@@ -79061,12 +79805,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
79061
79805
|
});
|
|
79062
79806
|
|
|
79063
79807
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
79064
|
-
var
|
|
79808
|
+
var args142, tool$transfersUpdate;
|
|
79065
79809
|
var init_transfersUpdate2 = __esm(() => {
|
|
79066
79810
|
init_transfersUpdate();
|
|
79067
79811
|
init_operations();
|
|
79068
79812
|
init_tools();
|
|
79069
|
-
|
|
79813
|
+
args142 = {
|
|
79070
79814
|
request: UpdateTransferRequest$inboundSchema
|
|
79071
79815
|
};
|
|
79072
79816
|
tool$transfersUpdate = {
|
|
@@ -79077,9 +79821,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
79077
79821
|
|
|
79078
79822
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79079
79823
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
79080
|
-
args:
|
|
79081
|
-
tool: async (client,
|
|
79082
|
-
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();
|
|
79083
79827
|
if (!result.ok) {
|
|
79084
79828
|
return {
|
|
79085
79829
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79094,9 +79838,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
79094
79838
|
|
|
79095
79839
|
// src/funcs/underwritingGet.ts
|
|
79096
79840
|
function underwritingGet(client, request, options) {
|
|
79097
|
-
return new APIPromise($
|
|
79841
|
+
return new APIPromise($do143(client, request, options));
|
|
79098
79842
|
}
|
|
79099
|
-
async function $
|
|
79843
|
+
async function $do143(client, request, options) {
|
|
79100
79844
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79101
79845
|
if (!parsed.ok) {
|
|
79102
79846
|
return [parsed, { status: "invalid" }];
|
|
@@ -79174,12 +79918,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
79174
79918
|
});
|
|
79175
79919
|
|
|
79176
79920
|
// src/mcp-server/tools/underwritingGet.ts
|
|
79177
|
-
var
|
|
79921
|
+
var args143, tool$underwritingGet;
|
|
79178
79922
|
var init_underwritingGet2 = __esm(() => {
|
|
79179
79923
|
init_underwritingGet();
|
|
79180
79924
|
init_operations();
|
|
79181
79925
|
init_tools();
|
|
79182
|
-
|
|
79926
|
+
args143 = {
|
|
79183
79927
|
request: GetUnderwritingRequest$inboundSchema
|
|
79184
79928
|
};
|
|
79185
79929
|
tool$underwritingGet = {
|
|
@@ -79190,9 +79934,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
79190
79934
|
|
|
79191
79935
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79192
79936
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
79193
|
-
args:
|
|
79194
|
-
tool: async (client,
|
|
79195
|
-
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();
|
|
79196
79940
|
if (!result.ok) {
|
|
79197
79941
|
return {
|
|
79198
79942
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79207,9 +79951,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
79207
79951
|
|
|
79208
79952
|
// src/funcs/underwritingSave.ts
|
|
79209
79953
|
function underwritingSave(client, request, options) {
|
|
79210
|
-
return new APIPromise($
|
|
79954
|
+
return new APIPromise($do144(client, request, options));
|
|
79211
79955
|
}
|
|
79212
|
-
async function $
|
|
79956
|
+
async function $do144(client, request, options) {
|
|
79213
79957
|
const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79214
79958
|
if (!parsed.ok) {
|
|
79215
79959
|
return [parsed, { status: "invalid" }];
|
|
@@ -79305,12 +80049,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
79305
80049
|
});
|
|
79306
80050
|
|
|
79307
80051
|
// src/mcp-server/tools/underwritingSave.ts
|
|
79308
|
-
var
|
|
80052
|
+
var args144, tool$underwritingSave;
|
|
79309
80053
|
var init_underwritingSave2 = __esm(() => {
|
|
79310
80054
|
init_underwritingSave();
|
|
79311
80055
|
init_operations();
|
|
79312
80056
|
init_tools();
|
|
79313
|
-
|
|
80057
|
+
args144 = {
|
|
79314
80058
|
request: SaveUnderwritingRequest$inboundSchema
|
|
79315
80059
|
};
|
|
79316
80060
|
tool$underwritingSave = {
|
|
@@ -79321,9 +80065,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
79321
80065
|
|
|
79322
80066
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79323
80067
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
79324
|
-
args:
|
|
79325
|
-
tool: async (client,
|
|
79326
|
-
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();
|
|
79327
80071
|
if (!result.ok) {
|
|
79328
80072
|
return {
|
|
79329
80073
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79338,9 +80082,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
79338
80082
|
|
|
79339
80083
|
// src/funcs/underwritingUpsert.ts
|
|
79340
80084
|
function underwritingUpsert(client, request, options) {
|
|
79341
|
-
return new APIPromise($
|
|
80085
|
+
return new APIPromise($do145(client, request, options));
|
|
79342
80086
|
}
|
|
79343
|
-
async function $
|
|
80087
|
+
async function $do145(client, request, options) {
|
|
79344
80088
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79345
80089
|
if (!parsed.ok) {
|
|
79346
80090
|
return [parsed, { status: "invalid" }];
|
|
@@ -79436,12 +80180,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
79436
80180
|
});
|
|
79437
80181
|
|
|
79438
80182
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
79439
|
-
var
|
|
80183
|
+
var args145, tool$underwritingUpsert;
|
|
79440
80184
|
var init_underwritingUpsert2 = __esm(() => {
|
|
79441
80185
|
init_underwritingUpsert();
|
|
79442
80186
|
init_operations();
|
|
79443
80187
|
init_tools();
|
|
79444
|
-
|
|
80188
|
+
args145 = {
|
|
79445
80189
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
79446
80190
|
};
|
|
79447
80191
|
tool$underwritingUpsert = {
|
|
@@ -79452,9 +80196,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
79452
80196
|
|
|
79453
80197
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79454
80198
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
79455
|
-
args:
|
|
79456
|
-
tool: async (client,
|
|
79457
|
-
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();
|
|
79458
80202
|
if (!result.ok) {
|
|
79459
80203
|
return {
|
|
79460
80204
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79469,9 +80213,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
79469
80213
|
|
|
79470
80214
|
// src/funcs/walletsCreate.ts
|
|
79471
80215
|
function walletsCreate(client, request, options) {
|
|
79472
|
-
return new APIPromise($
|
|
80216
|
+
return new APIPromise($do146(client, request, options));
|
|
79473
80217
|
}
|
|
79474
|
-
async function $
|
|
80218
|
+
async function $do146(client, request, options) {
|
|
79475
80219
|
const parsed = safeParse(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79476
80220
|
if (!parsed.ok) {
|
|
79477
80221
|
return [parsed, { status: "invalid" }];
|
|
@@ -79565,12 +80309,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
79565
80309
|
});
|
|
79566
80310
|
|
|
79567
80311
|
// src/mcp-server/tools/walletsCreate.ts
|
|
79568
|
-
var
|
|
80312
|
+
var args146, tool$walletsCreate;
|
|
79569
80313
|
var init_walletsCreate2 = __esm(() => {
|
|
79570
80314
|
init_walletsCreate();
|
|
79571
80315
|
init_operations();
|
|
79572
80316
|
init_tools();
|
|
79573
|
-
|
|
80317
|
+
args146 = {
|
|
79574
80318
|
request: CreateWalletRequest$inboundSchema
|
|
79575
80319
|
};
|
|
79576
80320
|
tool$walletsCreate = {
|
|
@@ -79581,9 +80325,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79581
80325
|
|
|
79582
80326
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79583
80327
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79584
|
-
args:
|
|
79585
|
-
tool: async (client,
|
|
79586
|
-
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();
|
|
79587
80331
|
if (!result.ok) {
|
|
79588
80332
|
return {
|
|
79589
80333
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79598,9 +80342,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79598
80342
|
|
|
79599
80343
|
// src/funcs/walletsGet.ts
|
|
79600
80344
|
function walletsGet(client, request, options) {
|
|
79601
|
-
return new APIPromise($
|
|
80345
|
+
return new APIPromise($do147(client, request, options));
|
|
79602
80346
|
}
|
|
79603
|
-
async function $
|
|
80347
|
+
async function $do147(client, request, options) {
|
|
79604
80348
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79605
80349
|
if (!parsed.ok) {
|
|
79606
80350
|
return [parsed, { status: "invalid" }];
|
|
@@ -79682,12 +80426,12 @@ var init_walletsGet = __esm(() => {
|
|
|
79682
80426
|
});
|
|
79683
80427
|
|
|
79684
80428
|
// src/mcp-server/tools/walletsGet.ts
|
|
79685
|
-
var
|
|
80429
|
+
var args147, tool$walletsGet;
|
|
79686
80430
|
var init_walletsGet2 = __esm(() => {
|
|
79687
80431
|
init_walletsGet();
|
|
79688
80432
|
init_operations();
|
|
79689
80433
|
init_tools();
|
|
79690
|
-
|
|
80434
|
+
args147 = {
|
|
79691
80435
|
request: GetWalletRequest$inboundSchema
|
|
79692
80436
|
};
|
|
79693
80437
|
tool$walletsGet = {
|
|
@@ -79698,9 +80442,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79698
80442
|
|
|
79699
80443
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79700
80444
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79701
|
-
args:
|
|
79702
|
-
tool: async (client,
|
|
79703
|
-
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();
|
|
79704
80448
|
if (!result.ok) {
|
|
79705
80449
|
return {
|
|
79706
80450
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79715,9 +80459,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79715
80459
|
|
|
79716
80460
|
// src/funcs/walletsList.ts
|
|
79717
80461
|
function walletsList(client, request, options) {
|
|
79718
|
-
return new APIPromise($
|
|
80462
|
+
return new APIPromise($do148(client, request, options));
|
|
79719
80463
|
}
|
|
79720
|
-
async function $
|
|
80464
|
+
async function $do148(client, request, options) {
|
|
79721
80465
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79722
80466
|
if (!parsed.ok) {
|
|
79723
80467
|
return [parsed, { status: "invalid" }];
|
|
@@ -79805,12 +80549,12 @@ var init_walletsList = __esm(() => {
|
|
|
79805
80549
|
});
|
|
79806
80550
|
|
|
79807
80551
|
// src/mcp-server/tools/walletsList.ts
|
|
79808
|
-
var
|
|
80552
|
+
var args148, tool$walletsList;
|
|
79809
80553
|
var init_walletsList2 = __esm(() => {
|
|
79810
80554
|
init_walletsList();
|
|
79811
80555
|
init_operations();
|
|
79812
80556
|
init_tools();
|
|
79813
|
-
|
|
80557
|
+
args148 = {
|
|
79814
80558
|
request: ListWalletsRequest$inboundSchema
|
|
79815
80559
|
};
|
|
79816
80560
|
tool$walletsList = {
|
|
@@ -79821,9 +80565,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79821
80565
|
|
|
79822
80566
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79823
80567
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79824
|
-
args:
|
|
79825
|
-
tool: async (client,
|
|
79826
|
-
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();
|
|
79827
80571
|
if (!result.ok) {
|
|
79828
80572
|
return {
|
|
79829
80573
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79838,9 +80582,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79838
80582
|
|
|
79839
80583
|
// src/funcs/walletsUpdate.ts
|
|
79840
80584
|
function walletsUpdate(client, request, options) {
|
|
79841
|
-
return new APIPromise($
|
|
80585
|
+
return new APIPromise($do149(client, request, options));
|
|
79842
80586
|
}
|
|
79843
|
-
async function $
|
|
80587
|
+
async function $do149(client, request, options) {
|
|
79844
80588
|
const parsed = safeParse(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79845
80589
|
if (!parsed.ok) {
|
|
79846
80590
|
return [parsed, { status: "invalid" }];
|
|
@@ -79938,12 +80682,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
79938
80682
|
});
|
|
79939
80683
|
|
|
79940
80684
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
79941
|
-
var
|
|
80685
|
+
var args149, tool$walletsUpdate;
|
|
79942
80686
|
var init_walletsUpdate2 = __esm(() => {
|
|
79943
80687
|
init_walletsUpdate();
|
|
79944
80688
|
init_operations();
|
|
79945
80689
|
init_tools();
|
|
79946
|
-
|
|
80690
|
+
args149 = {
|
|
79947
80691
|
request: UpdateWalletRequest$inboundSchema
|
|
79948
80692
|
};
|
|
79949
80693
|
tool$walletsUpdate = {
|
|
@@ -79954,9 +80698,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
79954
80698
|
|
|
79955
80699
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79956
80700
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79957
|
-
args:
|
|
79958
|
-
tool: async (client,
|
|
79959
|
-
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();
|
|
79960
80704
|
if (!result.ok) {
|
|
79961
80705
|
return {
|
|
79962
80706
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79971,9 +80715,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79971
80715
|
|
|
79972
80716
|
// src/funcs/walletTransactionsGet.ts
|
|
79973
80717
|
function walletTransactionsGet(client, request, options) {
|
|
79974
|
-
return new APIPromise($
|
|
80718
|
+
return new APIPromise($do150(client, request, options));
|
|
79975
80719
|
}
|
|
79976
|
-
async function $
|
|
80720
|
+
async function $do150(client, request, options) {
|
|
79977
80721
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79978
80722
|
if (!parsed.ok) {
|
|
79979
80723
|
return [parsed, { status: "invalid" }];
|
|
@@ -80059,12 +80803,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
80059
80803
|
});
|
|
80060
80804
|
|
|
80061
80805
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
80062
|
-
var
|
|
80806
|
+
var args150, tool$walletTransactionsGet;
|
|
80063
80807
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
80064
80808
|
init_walletTransactionsGet();
|
|
80065
80809
|
init_operations();
|
|
80066
80810
|
init_tools();
|
|
80067
|
-
|
|
80811
|
+
args150 = {
|
|
80068
80812
|
request: GetWalletTransactionRequest$inboundSchema
|
|
80069
80813
|
};
|
|
80070
80814
|
tool$walletTransactionsGet = {
|
|
@@ -80075,9 +80819,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
80075
80819
|
|
|
80076
80820
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80077
80821
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
80078
|
-
args:
|
|
80079
|
-
tool: async (client,
|
|
80080
|
-
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();
|
|
80081
80825
|
if (!result.ok) {
|
|
80082
80826
|
return {
|
|
80083
80827
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80092,9 +80836,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
80092
80836
|
|
|
80093
80837
|
// src/funcs/walletTransactionsList.ts
|
|
80094
80838
|
function walletTransactionsList(client, request, options) {
|
|
80095
|
-
return new APIPromise($
|
|
80839
|
+
return new APIPromise($do151(client, request, options));
|
|
80096
80840
|
}
|
|
80097
|
-
async function $
|
|
80841
|
+
async function $do151(client, request, options) {
|
|
80098
80842
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80099
80843
|
if (!parsed.ok) {
|
|
80100
80844
|
return [parsed, { status: "invalid" }];
|
|
@@ -80194,12 +80938,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
80194
80938
|
});
|
|
80195
80939
|
|
|
80196
80940
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
80197
|
-
var
|
|
80941
|
+
var args151, tool$walletTransactionsList;
|
|
80198
80942
|
var init_walletTransactionsList2 = __esm(() => {
|
|
80199
80943
|
init_walletTransactionsList();
|
|
80200
80944
|
init_operations();
|
|
80201
80945
|
init_tools();
|
|
80202
|
-
|
|
80946
|
+
args151 = {
|
|
80203
80947
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
80204
80948
|
};
|
|
80205
80949
|
tool$walletTransactionsList = {
|
|
@@ -80210,9 +80954,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
80210
80954
|
|
|
80211
80955
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80212
80956
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
80213
|
-
args:
|
|
80214
|
-
tool: async (client,
|
|
80215
|
-
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();
|
|
80216
80960
|
if (!result.ok) {
|
|
80217
80961
|
return {
|
|
80218
80962
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80229,7 +80973,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
80229
80973
|
function createMCPServer(deps) {
|
|
80230
80974
|
const server = new McpServer({
|
|
80231
80975
|
name: "Moov",
|
|
80232
|
-
version: "0.15.
|
|
80976
|
+
version: "0.15.7"
|
|
80233
80977
|
});
|
|
80234
80978
|
const client = new MoovCore({
|
|
80235
80979
|
security: deps.security,
|
|
@@ -80303,6 +81047,10 @@ function createMCPServer(deps) {
|
|
|
80303
81047
|
tool(tool$filesUpload);
|
|
80304
81048
|
tool(tool$filesList);
|
|
80305
81049
|
tool(tool$filesGet);
|
|
81050
|
+
tool(tool$imagesList);
|
|
81051
|
+
tool(tool$imagesGetMetadata);
|
|
81052
|
+
tool(tool$imagesDelete);
|
|
81053
|
+
tool(tool$imagesGetPublic);
|
|
80306
81054
|
tool(tool$paymentLinksCreate);
|
|
80307
81055
|
tool(tool$paymentLinksList);
|
|
80308
81056
|
tool(tool$paymentLinksGet);
|
|
@@ -80473,6 +81221,10 @@ var init_server2 = __esm(() => {
|
|
|
80473
81221
|
init_filesGet2();
|
|
80474
81222
|
init_filesList2();
|
|
80475
81223
|
init_filesUpload2();
|
|
81224
|
+
init_imagesDelete2();
|
|
81225
|
+
init_imagesGetMetadata2();
|
|
81226
|
+
init_imagesGetPublic2();
|
|
81227
|
+
init_imagesList2();
|
|
80476
81228
|
init_industriesList2();
|
|
80477
81229
|
init_institutionsSearch2();
|
|
80478
81230
|
init_institutionsSearchInstitutions2();
|
|
@@ -81747,7 +82499,7 @@ var routes = rn({
|
|
|
81747
82499
|
var app = Ve(routes, {
|
|
81748
82500
|
name: "mcp",
|
|
81749
82501
|
versionInfo: {
|
|
81750
|
-
currentVersion: "0.15.
|
|
82502
|
+
currentVersion: "0.15.7"
|
|
81751
82503
|
}
|
|
81752
82504
|
});
|
|
81753
82505
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -81755,5 +82507,5 @@ export {
|
|
|
81755
82507
|
app
|
|
81756
82508
|
};
|
|
81757
82509
|
|
|
81758
|
-
//# debugId=
|
|
82510
|
+
//# debugId=1493228D02582F0064756E2164756E21
|
|
81759
82511
|
//# sourceMappingURL=mcp-server.js.map
|