@moovio/sdk 0.16.6 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -45
- package/bin/mcp-server.js +1162 -585
- package/bin/mcp-server.js.map +24 -13
- package/docs/sdks/images/README.md +190 -0
- package/examples/package-lock.json +1 -1
- package/funcs/imagesUpdate.d.ts +19 -0
- package/funcs/imagesUpdate.d.ts.map +1 -0
- package/funcs/imagesUpdate.js +170 -0
- package/funcs/imagesUpdate.js.map +1 -0
- package/funcs/imagesUpload.d.ts +16 -0
- package/funcs/imagesUpload.d.ts.map +1 -0
- package/funcs/imagesUpload.js +161 -0
- package/funcs/imagesUpload.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +5 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/imagesUpdate.d.ts +8 -0
- package/mcp-server/tools/imagesUpdate.d.ts.map +1 -0
- package/mcp-server/tools/imagesUpdate.js +66 -0
- package/mcp-server/tools/imagesUpdate.js.map +1 -0
- package/mcp-server/tools/imagesUpload.d.ts +8 -0
- package/mcp-server/tools/imagesUpload.d.ts.map +1 -0
- package/mcp-server/tools/imagesUpload.js +63 -0
- package/mcp-server/tools/imagesUpload.js.map +1 -0
- package/models/components/generatedbyaccountid.d.ts +1 -1
- package/models/components/generatedbyaccountid.d.ts.map +1 -1
- package/models/components/generatedbyaccountid.js +1 -10
- package/models/components/generatedbyaccountid.js.map +1 -1
- package/models/components/generatedbybankaccountid.d.ts +1 -1
- package/models/components/generatedbybankaccountid.d.ts.map +1 -1
- package/models/components/generatedbybankaccountid.js +1 -10
- package/models/components/generatedbybankaccountid.js.map +1 -1
- package/models/components/generatedbycardid.d.ts +1 -1
- package/models/components/generatedbycardid.d.ts.map +1 -1
- package/models/components/generatedbycardid.js +1 -10
- package/models/components/generatedbycardid.js.map +1 -1
- package/models/components/generatedbydisputeid.d.ts +1 -1
- package/models/components/generatedbydisputeid.d.ts.map +1 -1
- package/models/components/generatedbydisputeid.js +1 -10
- package/models/components/generatedbydisputeid.js.map +1 -1
- package/models/components/imagemetadatarequest.d.ts +35 -0
- package/models/components/imagemetadatarequest.d.ts.map +1 -0
- package/models/components/imagemetadatarequest.js +69 -0
- package/models/components/imagemetadatarequest.js.map +1 -0
- package/models/components/imagemetadatavalidationerror.d.ts +29 -0
- package/models/components/imagemetadatavalidationerror.d.ts.map +1 -0
- package/models/components/imagemetadatavalidationerror.js +69 -0
- package/models/components/imagemetadatavalidationerror.js.map +1 -0
- package/models/components/imageupdaterequestmultipart.d.ts +103 -0
- package/models/components/imageupdaterequestmultipart.d.ts.map +1 -0
- package/models/components/imageupdaterequestmultipart.js +139 -0
- package/models/components/imageupdaterequestmultipart.js.map +1 -0
- package/models/components/imageuploadrequestmultipart.d.ts +65 -0
- package/models/components/imageuploadrequestmultipart.d.ts.map +1 -0
- package/models/components/imageuploadrequestmultipart.js +113 -0
- package/models/components/imageuploadrequestmultipart.js.map +1 -0
- package/models/components/index.d.ts +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -0
- package/models/components/index.js.map +1 -1
- package/models/errors/imagerequestvalidationerror.d.ts +40 -0
- package/models/errors/imagerequestvalidationerror.d.ts.map +1 -0
- package/models/errors/imagerequestvalidationerror.js +91 -0
- package/models/errors/imagerequestvalidationerror.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/updateimage.d.ts +103 -0
- package/models/operations/updateimage.d.ts.map +1 -0
- package/models/operations/updateimage.js +157 -0
- package/models/operations/updateimage.js.map +1 -0
- package/models/operations/uploadimage.d.ts +101 -0
- package/models/operations/uploadimage.d.ts.map +1 -0
- package/models/operations/uploadimage.js +155 -0
- package/models/operations/uploadimage.js.map +1 -0
- package/package.json +1 -1
- package/sdk/images.d.ts +13 -0
- package/sdk/images.d.ts.map +1 -1
- package/sdk/images.js +19 -0
- package/sdk/images.js.map +1 -1
- package/src/funcs/imagesUpdate.ts +258 -0
- package/src/funcs/imagesUpload.ts +249 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/imagesUpdate.ts +39 -0
- package/src/mcp-server/tools/imagesUpload.ts +36 -0
- package/src/models/components/generatedbyaccountid.ts +2 -11
- package/src/models/components/generatedbybankaccountid.ts +2 -11
- package/src/models/components/generatedbycardid.ts +2 -11
- package/src/models/components/generatedbydisputeid.ts +2 -11
- package/src/models/components/imagemetadatarequest.ts +72 -0
- package/src/models/components/imagemetadatavalidationerror.ts +68 -0
- package/src/models/components/imageupdaterequestmultipart.ts +224 -0
- package/src/models/components/imageuploadrequestmultipart.ts +150 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/errors/imagerequestvalidationerror.ts +86 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/updateimage.ts +237 -0
- package/src/models/operations/uploadimage.ts +233 -0
- package/src/sdk/images.ts +35 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34175,9 +34175,9 @@ var init_config = __esm(() => {
|
|
|
34175
34175
|
SDK_METADATA = {
|
|
34176
34176
|
language: "typescript",
|
|
34177
34177
|
openapiDocVersion: "latest",
|
|
34178
|
-
sdkVersion: "0.
|
|
34179
|
-
genVersion: "2.
|
|
34180
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34178
|
+
sdkVersion: "0.17.1",
|
|
34179
|
+
genVersion: "2.727.9",
|
|
34180
|
+
userAgent: "speakeasy-sdk/typescript 0.17.1 2.727.9 latest @moovio/sdk"
|
|
34181
34181
|
};
|
|
34182
34182
|
});
|
|
34183
34183
|
|
|
@@ -44966,20 +44966,11 @@ var init_fullissuedcard = __esm(() => {
|
|
|
44966
44966
|
var GeneratedByAccountID$inboundSchema, GeneratedByAccountID$outboundSchema, GeneratedByAccountID$;
|
|
44967
44967
|
var init_generatedbyaccountid = __esm(() => {
|
|
44968
44968
|
init_esm();
|
|
44969
|
-
init_primitives();
|
|
44970
44969
|
GeneratedByAccountID$inboundSchema = objectType({
|
|
44971
|
-
|
|
44972
|
-
}).transform((v2) => {
|
|
44973
|
-
return remap(v2, {
|
|
44974
|
-
AccountID: "accountID"
|
|
44975
|
-
});
|
|
44970
|
+
accountID: stringType().optional()
|
|
44976
44971
|
});
|
|
44977
44972
|
GeneratedByAccountID$outboundSchema = objectType({
|
|
44978
44973
|
accountID: stringType().optional()
|
|
44979
|
-
}).transform((v2) => {
|
|
44980
|
-
return remap(v2, {
|
|
44981
|
-
accountID: "AccountID"
|
|
44982
|
-
});
|
|
44983
44974
|
});
|
|
44984
44975
|
((GeneratedByAccountID$) => {
|
|
44985
44976
|
GeneratedByAccountID$.inboundSchema = GeneratedByAccountID$inboundSchema;
|
|
@@ -44991,20 +44982,11 @@ var init_generatedbyaccountid = __esm(() => {
|
|
|
44991
44982
|
var GeneratedByBankAccountID$inboundSchema, GeneratedByBankAccountID$outboundSchema, GeneratedByBankAccountID$;
|
|
44992
44983
|
var init_generatedbybankaccountid = __esm(() => {
|
|
44993
44984
|
init_esm();
|
|
44994
|
-
init_primitives();
|
|
44995
44985
|
GeneratedByBankAccountID$inboundSchema = objectType({
|
|
44996
|
-
|
|
44997
|
-
}).transform((v2) => {
|
|
44998
|
-
return remap(v2, {
|
|
44999
|
-
BankAccountID: "bankAccountID"
|
|
45000
|
-
});
|
|
44986
|
+
bankAccountID: stringType().optional()
|
|
45001
44987
|
});
|
|
45002
44988
|
GeneratedByBankAccountID$outboundSchema = objectType({
|
|
45003
44989
|
bankAccountID: stringType().optional()
|
|
45004
|
-
}).transform((v2) => {
|
|
45005
|
-
return remap(v2, {
|
|
45006
|
-
bankAccountID: "BankAccountID"
|
|
45007
|
-
});
|
|
45008
44990
|
});
|
|
45009
44991
|
((GeneratedByBankAccountID$) => {
|
|
45010
44992
|
GeneratedByBankAccountID$.inboundSchema = GeneratedByBankAccountID$inboundSchema;
|
|
@@ -45016,20 +44998,11 @@ var init_generatedbybankaccountid = __esm(() => {
|
|
|
45016
44998
|
var GeneratedByCardID$inboundSchema, GeneratedByCardID$outboundSchema, GeneratedByCardID$;
|
|
45017
44999
|
var init_generatedbycardid = __esm(() => {
|
|
45018
45000
|
init_esm();
|
|
45019
|
-
init_primitives();
|
|
45020
45001
|
GeneratedByCardID$inboundSchema = objectType({
|
|
45021
|
-
|
|
45022
|
-
}).transform((v2) => {
|
|
45023
|
-
return remap(v2, {
|
|
45024
|
-
CardID: "cardID"
|
|
45025
|
-
});
|
|
45002
|
+
cardID: stringType().optional()
|
|
45026
45003
|
});
|
|
45027
45004
|
GeneratedByCardID$outboundSchema = objectType({
|
|
45028
45005
|
cardID: stringType().optional()
|
|
45029
|
-
}).transform((v2) => {
|
|
45030
|
-
return remap(v2, {
|
|
45031
|
-
cardID: "CardID"
|
|
45032
|
-
});
|
|
45033
45006
|
});
|
|
45034
45007
|
((GeneratedByCardID$) => {
|
|
45035
45008
|
GeneratedByCardID$.inboundSchema = GeneratedByCardID$inboundSchema;
|
|
@@ -45041,20 +45014,11 @@ var init_generatedbycardid = __esm(() => {
|
|
|
45041
45014
|
var GeneratedByDisputeID$inboundSchema, GeneratedByDisputeID$outboundSchema, GeneratedByDisputeID$;
|
|
45042
45015
|
var init_generatedbydisputeid = __esm(() => {
|
|
45043
45016
|
init_esm();
|
|
45044
|
-
init_primitives();
|
|
45045
45017
|
GeneratedByDisputeID$inboundSchema = objectType({
|
|
45046
|
-
|
|
45047
|
-
}).transform((v2) => {
|
|
45048
|
-
return remap(v2, {
|
|
45049
|
-
DisputeID: "disputeID"
|
|
45050
|
-
});
|
|
45018
|
+
disputeID: stringType().optional()
|
|
45051
45019
|
});
|
|
45052
45020
|
GeneratedByDisputeID$outboundSchema = objectType({
|
|
45053
45021
|
disputeID: stringType().optional()
|
|
45054
|
-
}).transform((v2) => {
|
|
45055
|
-
return remap(v2, {
|
|
45056
|
-
disputeID: "DisputeID"
|
|
45057
|
-
});
|
|
45058
45022
|
});
|
|
45059
45023
|
((GeneratedByDisputeID$) => {
|
|
45060
45024
|
GeneratedByDisputeID$.inboundSchema = GeneratedByDisputeID$inboundSchema;
|
|
@@ -45190,6 +45154,131 @@ var init_imagemetadata = __esm(() => {
|
|
|
45190
45154
|
})(ImageMetadata$ ||= {});
|
|
45191
45155
|
});
|
|
45192
45156
|
|
|
45157
|
+
// src/models/components/imagemetadatarequest.ts
|
|
45158
|
+
var ImageMetadataRequest$inboundSchema, ImageMetadataRequest$outboundSchema, ImageMetadataRequest$;
|
|
45159
|
+
var init_imagemetadatarequest = __esm(() => {
|
|
45160
|
+
init_esm();
|
|
45161
|
+
ImageMetadataRequest$inboundSchema = objectType({
|
|
45162
|
+
altText: stringType().optional()
|
|
45163
|
+
});
|
|
45164
|
+
ImageMetadataRequest$outboundSchema = objectType({
|
|
45165
|
+
altText: stringType().optional()
|
|
45166
|
+
});
|
|
45167
|
+
((ImageMetadataRequest$) => {
|
|
45168
|
+
ImageMetadataRequest$.inboundSchema = ImageMetadataRequest$inboundSchema;
|
|
45169
|
+
ImageMetadataRequest$.outboundSchema = ImageMetadataRequest$outboundSchema;
|
|
45170
|
+
})(ImageMetadataRequest$ ||= {});
|
|
45171
|
+
});
|
|
45172
|
+
|
|
45173
|
+
// src/models/components/imagemetadatavalidationerror.ts
|
|
45174
|
+
var ImageMetadataValidationError$inboundSchema, ImageMetadataValidationError$outboundSchema, ImageMetadataValidationError$;
|
|
45175
|
+
var init_imagemetadatavalidationerror = __esm(() => {
|
|
45176
|
+
init_esm();
|
|
45177
|
+
ImageMetadataValidationError$inboundSchema = objectType({
|
|
45178
|
+
altText: stringType().optional()
|
|
45179
|
+
});
|
|
45180
|
+
ImageMetadataValidationError$outboundSchema = objectType({
|
|
45181
|
+
altText: stringType().optional()
|
|
45182
|
+
});
|
|
45183
|
+
((ImageMetadataValidationError$) => {
|
|
45184
|
+
ImageMetadataValidationError$.inboundSchema = ImageMetadataValidationError$inboundSchema;
|
|
45185
|
+
ImageMetadataValidationError$.outboundSchema = ImageMetadataValidationError$outboundSchema;
|
|
45186
|
+
})(ImageMetadataValidationError$ ||= {});
|
|
45187
|
+
});
|
|
45188
|
+
|
|
45189
|
+
// src/models/components/imageupdaterequestmultipart.ts
|
|
45190
|
+
var ImageUpdateRequestMultiPartImage$inboundSchema, ImageUpdateRequestMultiPartImage$outboundSchema, ImageUpdateRequestMultiPartImage$, Metadata$inboundSchema, Metadata$outboundSchema, Metadata$, ImageUpdateRequestMultiPart$inboundSchema, ImageUpdateRequestMultiPart$outboundSchema, ImageUpdateRequestMultiPart$;
|
|
45191
|
+
var init_imageupdaterequestmultipart = __esm(() => {
|
|
45192
|
+
init_esm();
|
|
45193
|
+
init_blobs();
|
|
45194
|
+
ImageUpdateRequestMultiPartImage$inboundSchema = objectType({
|
|
45195
|
+
fileName: stringType(),
|
|
45196
|
+
content: unionType([
|
|
45197
|
+
instanceOfType(ReadableStream),
|
|
45198
|
+
instanceOfType(Blob),
|
|
45199
|
+
instanceOfType(ArrayBuffer),
|
|
45200
|
+
instanceOfType(Uint8Array)
|
|
45201
|
+
])
|
|
45202
|
+
});
|
|
45203
|
+
ImageUpdateRequestMultiPartImage$outboundSchema = objectType({
|
|
45204
|
+
fileName: stringType(),
|
|
45205
|
+
content: unionType([
|
|
45206
|
+
instanceOfType(ReadableStream),
|
|
45207
|
+
instanceOfType(Blob),
|
|
45208
|
+
instanceOfType(ArrayBuffer),
|
|
45209
|
+
instanceOfType(Uint8Array)
|
|
45210
|
+
])
|
|
45211
|
+
});
|
|
45212
|
+
((ImageUpdateRequestMultiPartImage$) => {
|
|
45213
|
+
ImageUpdateRequestMultiPartImage$.inboundSchema = ImageUpdateRequestMultiPartImage$inboundSchema;
|
|
45214
|
+
ImageUpdateRequestMultiPartImage$.outboundSchema = ImageUpdateRequestMultiPartImage$outboundSchema;
|
|
45215
|
+
})(ImageUpdateRequestMultiPartImage$ ||= {});
|
|
45216
|
+
Metadata$inboundSchema = objectType({
|
|
45217
|
+
altText: stringType().optional()
|
|
45218
|
+
});
|
|
45219
|
+
Metadata$outboundSchema = objectType({
|
|
45220
|
+
altText: stringType().optional()
|
|
45221
|
+
});
|
|
45222
|
+
((Metadata$) => {
|
|
45223
|
+
Metadata$.inboundSchema = Metadata$inboundSchema;
|
|
45224
|
+
Metadata$.outboundSchema = Metadata$outboundSchema;
|
|
45225
|
+
})(Metadata$ ||= {});
|
|
45226
|
+
ImageUpdateRequestMultiPart$inboundSchema = objectType({
|
|
45227
|
+
image: lazyType(() => ImageUpdateRequestMultiPartImage$inboundSchema).optional(),
|
|
45228
|
+
metadata: nullableType(lazyType(() => Metadata$inboundSchema)).optional()
|
|
45229
|
+
});
|
|
45230
|
+
ImageUpdateRequestMultiPart$outboundSchema = objectType({
|
|
45231
|
+
image: lazyType(() => ImageUpdateRequestMultiPartImage$outboundSchema).or(blobLikeSchema).optional(),
|
|
45232
|
+
metadata: nullableType(lazyType(() => Metadata$outboundSchema)).optional()
|
|
45233
|
+
});
|
|
45234
|
+
((ImageUpdateRequestMultiPart$) => {
|
|
45235
|
+
ImageUpdateRequestMultiPart$.inboundSchema = ImageUpdateRequestMultiPart$inboundSchema;
|
|
45236
|
+
ImageUpdateRequestMultiPart$.outboundSchema = ImageUpdateRequestMultiPart$outboundSchema;
|
|
45237
|
+
})(ImageUpdateRequestMultiPart$ ||= {});
|
|
45238
|
+
});
|
|
45239
|
+
|
|
45240
|
+
// src/models/components/imageuploadrequestmultipart.ts
|
|
45241
|
+
var Image$inboundSchema, Image$outboundSchema, Image$, ImageUploadRequestMultiPart$inboundSchema, ImageUploadRequestMultiPart$outboundSchema, ImageUploadRequestMultiPart$;
|
|
45242
|
+
var init_imageuploadrequestmultipart = __esm(() => {
|
|
45243
|
+
init_esm();
|
|
45244
|
+
init_blobs();
|
|
45245
|
+
init_imagemetadatarequest();
|
|
45246
|
+
Image$inboundSchema = objectType({
|
|
45247
|
+
fileName: stringType(),
|
|
45248
|
+
content: unionType([
|
|
45249
|
+
instanceOfType(ReadableStream),
|
|
45250
|
+
instanceOfType(Blob),
|
|
45251
|
+
instanceOfType(ArrayBuffer),
|
|
45252
|
+
instanceOfType(Uint8Array)
|
|
45253
|
+
])
|
|
45254
|
+
});
|
|
45255
|
+
Image$outboundSchema = objectType({
|
|
45256
|
+
fileName: stringType(),
|
|
45257
|
+
content: unionType([
|
|
45258
|
+
instanceOfType(ReadableStream),
|
|
45259
|
+
instanceOfType(Blob),
|
|
45260
|
+
instanceOfType(ArrayBuffer),
|
|
45261
|
+
instanceOfType(Uint8Array)
|
|
45262
|
+
])
|
|
45263
|
+
});
|
|
45264
|
+
((Image$) => {
|
|
45265
|
+
Image$.inboundSchema = Image$inboundSchema;
|
|
45266
|
+
Image$.outboundSchema = Image$outboundSchema;
|
|
45267
|
+
})(Image$ ||= {});
|
|
45268
|
+
ImageUploadRequestMultiPart$inboundSchema = objectType({
|
|
45269
|
+
image: lazyType(() => Image$inboundSchema),
|
|
45270
|
+
metadata: ImageMetadataRequest$inboundSchema.optional()
|
|
45271
|
+
});
|
|
45272
|
+
ImageUploadRequestMultiPart$outboundSchema = objectType({
|
|
45273
|
+
image: lazyType(() => Image$outboundSchema).or(blobLikeSchema),
|
|
45274
|
+
metadata: ImageMetadataRequest$outboundSchema.optional()
|
|
45275
|
+
});
|
|
45276
|
+
((ImageUploadRequestMultiPart$) => {
|
|
45277
|
+
ImageUploadRequestMultiPart$.inboundSchema = ImageUploadRequestMultiPart$inboundSchema;
|
|
45278
|
+
ImageUploadRequestMultiPart$.outboundSchema = ImageUploadRequestMultiPart$outboundSchema;
|
|
45279
|
+
})(ImageUploadRequestMultiPart$ ||= {});
|
|
45280
|
+
});
|
|
45281
|
+
|
|
45193
45282
|
// src/models/components/incurredfee.ts
|
|
45194
45283
|
var IncurredFee$inboundSchema, IncurredFee$outboundSchema, IncurredFee$;
|
|
45195
45284
|
var init_incurredfee = __esm(() => {
|
|
@@ -50642,6 +50731,10 @@ var init_components = __esm(() => {
|
|
|
50642
50731
|
init_granttype();
|
|
50643
50732
|
init_guestprofile();
|
|
50644
50733
|
init_imagemetadata();
|
|
50734
|
+
init_imagemetadatarequest();
|
|
50735
|
+
init_imagemetadatavalidationerror();
|
|
50736
|
+
init_imageupdaterequestmultipart();
|
|
50737
|
+
init_imageuploadrequestmultipart();
|
|
50645
50738
|
init_incurredfee();
|
|
50646
50739
|
init_individualname();
|
|
50647
50740
|
init_individualnameerror();
|
|
@@ -51522,6 +51615,50 @@ var init_genericerror = __esm(() => {
|
|
|
51522
51615
|
})(GenericError$ ||= {});
|
|
51523
51616
|
});
|
|
51524
51617
|
|
|
51618
|
+
// src/models/errors/imagerequestvalidationerror.ts
|
|
51619
|
+
var ImageRequestValidationError, ImageRequestValidationError$inboundSchema, ImageRequestValidationError$outboundSchema, ImageRequestValidationError$;
|
|
51620
|
+
var init_imagerequestvalidationerror = __esm(() => {
|
|
51621
|
+
init_esm();
|
|
51622
|
+
init_components();
|
|
51623
|
+
init_mooverror();
|
|
51624
|
+
ImageRequestValidationError = class ImageRequestValidationError extends MoovError {
|
|
51625
|
+
image;
|
|
51626
|
+
metadata;
|
|
51627
|
+
data$;
|
|
51628
|
+
constructor(err, httpMeta) {
|
|
51629
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
51630
|
+
super(message, httpMeta);
|
|
51631
|
+
this.data$ = err;
|
|
51632
|
+
if (err.image != null)
|
|
51633
|
+
this.image = err.image;
|
|
51634
|
+
if (err.metadata != null)
|
|
51635
|
+
this.metadata = err.metadata;
|
|
51636
|
+
this.name = "ImageRequestValidationError";
|
|
51637
|
+
}
|
|
51638
|
+
};
|
|
51639
|
+
ImageRequestValidationError$inboundSchema = objectType({
|
|
51640
|
+
image: stringType().optional(),
|
|
51641
|
+
metadata: ImageMetadataValidationError$inboundSchema.optional(),
|
|
51642
|
+
request$: instanceOfType(Request),
|
|
51643
|
+
response$: instanceOfType(Response),
|
|
51644
|
+
body$: stringType()
|
|
51645
|
+
}).transform((v2) => {
|
|
51646
|
+
return new ImageRequestValidationError(v2, {
|
|
51647
|
+
request: v2.request$,
|
|
51648
|
+
response: v2.response$,
|
|
51649
|
+
body: v2.body$
|
|
51650
|
+
});
|
|
51651
|
+
});
|
|
51652
|
+
ImageRequestValidationError$outboundSchema = instanceOfType(ImageRequestValidationError).transform((v2) => v2.data$).pipe(objectType({
|
|
51653
|
+
image: stringType().optional(),
|
|
51654
|
+
metadata: ImageMetadataValidationError$outboundSchema.optional()
|
|
51655
|
+
}));
|
|
51656
|
+
((ImageRequestValidationError$) => {
|
|
51657
|
+
ImageRequestValidationError$.inboundSchema = ImageRequestValidationError$inboundSchema;
|
|
51658
|
+
ImageRequestValidationError$.outboundSchema = ImageRequestValidationError$outboundSchema;
|
|
51659
|
+
})(ImageRequestValidationError$ ||= {});
|
|
51660
|
+
});
|
|
51661
|
+
|
|
51525
51662
|
// src/models/errors/linkapplepayerror.ts
|
|
51526
51663
|
var LinkApplePayError, LinkApplePayError$inboundSchema, LinkApplePayError$outboundSchema, LinkApplePayError$;
|
|
51527
51664
|
var init_linkapplepayerror = __esm(() => {
|
|
@@ -53371,6 +53508,7 @@ var init_errors2 = __esm(() => {
|
|
|
53371
53508
|
init_filevalidationerror();
|
|
53372
53509
|
init_genericerror();
|
|
53373
53510
|
init_httpclienterrors();
|
|
53511
|
+
init_imagerequestvalidationerror();
|
|
53374
53512
|
init_linkapplepayerror();
|
|
53375
53513
|
init_linkcarderror();
|
|
53376
53514
|
init_listtransfersvalidationerror();
|
|
@@ -62326,6 +62464,76 @@ var init_updatedisputeevidence = __esm(() => {
|
|
|
62326
62464
|
})(UpdateDisputeEvidenceResponse$ ||= {});
|
|
62327
62465
|
});
|
|
62328
62466
|
|
|
62467
|
+
// src/models/operations/updateimage.ts
|
|
62468
|
+
var UpdateImageGlobals$inboundSchema, UpdateImageGlobals$outboundSchema, UpdateImageGlobals$, UpdateImageRequest$inboundSchema, UpdateImageRequest$outboundSchema, UpdateImageRequest$, UpdateImageResponse$inboundSchema, UpdateImageResponse$outboundSchema, UpdateImageResponse$;
|
|
62469
|
+
var init_updateimage = __esm(() => {
|
|
62470
|
+
init_esm();
|
|
62471
|
+
init_primitives();
|
|
62472
|
+
init_components();
|
|
62473
|
+
UpdateImageGlobals$inboundSchema = objectType({
|
|
62474
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
62475
|
+
}).transform((v2) => {
|
|
62476
|
+
return remap(v2, {
|
|
62477
|
+
"x-moov-version": "xMoovVersion"
|
|
62478
|
+
});
|
|
62479
|
+
});
|
|
62480
|
+
UpdateImageGlobals$outboundSchema = objectType({
|
|
62481
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
62482
|
+
}).transform((v2) => {
|
|
62483
|
+
return remap(v2, {
|
|
62484
|
+
xMoovVersion: "x-moov-version"
|
|
62485
|
+
});
|
|
62486
|
+
});
|
|
62487
|
+
((UpdateImageGlobals$) => {
|
|
62488
|
+
UpdateImageGlobals$.inboundSchema = UpdateImageGlobals$inboundSchema;
|
|
62489
|
+
UpdateImageGlobals$.outboundSchema = UpdateImageGlobals$outboundSchema;
|
|
62490
|
+
})(UpdateImageGlobals$ ||= {});
|
|
62491
|
+
UpdateImageRequest$inboundSchema = objectType({
|
|
62492
|
+
accountID: stringType(),
|
|
62493
|
+
imageID: stringType(),
|
|
62494
|
+
ImageUpdateRequestMultiPart: ImageUpdateRequestMultiPart$inboundSchema
|
|
62495
|
+
}).transform((v2) => {
|
|
62496
|
+
return remap(v2, {
|
|
62497
|
+
ImageUpdateRequestMultiPart: "imageUpdateRequestMultiPart"
|
|
62498
|
+
});
|
|
62499
|
+
});
|
|
62500
|
+
UpdateImageRequest$outboundSchema = objectType({
|
|
62501
|
+
accountID: stringType(),
|
|
62502
|
+
imageID: stringType(),
|
|
62503
|
+
imageUpdateRequestMultiPart: ImageUpdateRequestMultiPart$outboundSchema
|
|
62504
|
+
}).transform((v2) => {
|
|
62505
|
+
return remap(v2, {
|
|
62506
|
+
imageUpdateRequestMultiPart: "ImageUpdateRequestMultiPart"
|
|
62507
|
+
});
|
|
62508
|
+
});
|
|
62509
|
+
((UpdateImageRequest$) => {
|
|
62510
|
+
UpdateImageRequest$.inboundSchema = UpdateImageRequest$inboundSchema;
|
|
62511
|
+
UpdateImageRequest$.outboundSchema = UpdateImageRequest$outboundSchema;
|
|
62512
|
+
})(UpdateImageRequest$ ||= {});
|
|
62513
|
+
UpdateImageResponse$inboundSchema = objectType({
|
|
62514
|
+
Headers: recordType(arrayType(stringType())),
|
|
62515
|
+
Result: ImageMetadata$inboundSchema
|
|
62516
|
+
}).transform((v2) => {
|
|
62517
|
+
return remap(v2, {
|
|
62518
|
+
Headers: "headers",
|
|
62519
|
+
Result: "result"
|
|
62520
|
+
});
|
|
62521
|
+
});
|
|
62522
|
+
UpdateImageResponse$outboundSchema = objectType({
|
|
62523
|
+
headers: recordType(arrayType(stringType())),
|
|
62524
|
+
result: ImageMetadata$outboundSchema
|
|
62525
|
+
}).transform((v2) => {
|
|
62526
|
+
return remap(v2, {
|
|
62527
|
+
headers: "Headers",
|
|
62528
|
+
result: "Result"
|
|
62529
|
+
});
|
|
62530
|
+
});
|
|
62531
|
+
((UpdateImageResponse$) => {
|
|
62532
|
+
UpdateImageResponse$.inboundSchema = UpdateImageResponse$inboundSchema;
|
|
62533
|
+
UpdateImageResponse$.outboundSchema = UpdateImageResponse$outboundSchema;
|
|
62534
|
+
})(UpdateImageResponse$ ||= {});
|
|
62535
|
+
});
|
|
62536
|
+
|
|
62329
62537
|
// src/models/operations/updateissuedcard.ts
|
|
62330
62538
|
var UpdateIssuedCardGlobals$inboundSchema, UpdateIssuedCardGlobals$outboundSchema, UpdateIssuedCardGlobals$, UpdateIssuedCardRequest$inboundSchema, UpdateIssuedCardRequest$outboundSchema, UpdateIssuedCardRequest$, UpdateIssuedCardResponse$inboundSchema, UpdateIssuedCardResponse$outboundSchema, UpdateIssuedCardResponse$;
|
|
62331
62539
|
var init_updateissuedcard2 = __esm(() => {
|
|
@@ -63160,6 +63368,74 @@ var init_uploadfile = __esm(() => {
|
|
|
63160
63368
|
})(UploadFileResponse$ ||= {});
|
|
63161
63369
|
});
|
|
63162
63370
|
|
|
63371
|
+
// src/models/operations/uploadimage.ts
|
|
63372
|
+
var UploadImageGlobals$inboundSchema, UploadImageGlobals$outboundSchema, UploadImageGlobals$, UploadImageRequest$inboundSchema, UploadImageRequest$outboundSchema, UploadImageRequest$, UploadImageResponse$inboundSchema, UploadImageResponse$outboundSchema, UploadImageResponse$;
|
|
63373
|
+
var init_uploadimage = __esm(() => {
|
|
63374
|
+
init_esm();
|
|
63375
|
+
init_primitives();
|
|
63376
|
+
init_components();
|
|
63377
|
+
UploadImageGlobals$inboundSchema = objectType({
|
|
63378
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
63379
|
+
}).transform((v2) => {
|
|
63380
|
+
return remap(v2, {
|
|
63381
|
+
"x-moov-version": "xMoovVersion"
|
|
63382
|
+
});
|
|
63383
|
+
});
|
|
63384
|
+
UploadImageGlobals$outboundSchema = objectType({
|
|
63385
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
63386
|
+
}).transform((v2) => {
|
|
63387
|
+
return remap(v2, {
|
|
63388
|
+
xMoovVersion: "x-moov-version"
|
|
63389
|
+
});
|
|
63390
|
+
});
|
|
63391
|
+
((UploadImageGlobals$) => {
|
|
63392
|
+
UploadImageGlobals$.inboundSchema = UploadImageGlobals$inboundSchema;
|
|
63393
|
+
UploadImageGlobals$.outboundSchema = UploadImageGlobals$outboundSchema;
|
|
63394
|
+
})(UploadImageGlobals$ ||= {});
|
|
63395
|
+
UploadImageRequest$inboundSchema = objectType({
|
|
63396
|
+
accountID: stringType(),
|
|
63397
|
+
ImageUploadRequestMultiPart: ImageUploadRequestMultiPart$inboundSchema
|
|
63398
|
+
}).transform((v2) => {
|
|
63399
|
+
return remap(v2, {
|
|
63400
|
+
ImageUploadRequestMultiPart: "imageUploadRequestMultiPart"
|
|
63401
|
+
});
|
|
63402
|
+
});
|
|
63403
|
+
UploadImageRequest$outboundSchema = objectType({
|
|
63404
|
+
accountID: stringType(),
|
|
63405
|
+
imageUploadRequestMultiPart: ImageUploadRequestMultiPart$outboundSchema
|
|
63406
|
+
}).transform((v2) => {
|
|
63407
|
+
return remap(v2, {
|
|
63408
|
+
imageUploadRequestMultiPart: "ImageUploadRequestMultiPart"
|
|
63409
|
+
});
|
|
63410
|
+
});
|
|
63411
|
+
((UploadImageRequest$) => {
|
|
63412
|
+
UploadImageRequest$.inboundSchema = UploadImageRequest$inboundSchema;
|
|
63413
|
+
UploadImageRequest$.outboundSchema = UploadImageRequest$outboundSchema;
|
|
63414
|
+
})(UploadImageRequest$ ||= {});
|
|
63415
|
+
UploadImageResponse$inboundSchema = objectType({
|
|
63416
|
+
Headers: recordType(arrayType(stringType())),
|
|
63417
|
+
Result: ImageMetadata$inboundSchema
|
|
63418
|
+
}).transform((v2) => {
|
|
63419
|
+
return remap(v2, {
|
|
63420
|
+
Headers: "headers",
|
|
63421
|
+
Result: "result"
|
|
63422
|
+
});
|
|
63423
|
+
});
|
|
63424
|
+
UploadImageResponse$outboundSchema = objectType({
|
|
63425
|
+
headers: recordType(arrayType(stringType())),
|
|
63426
|
+
result: ImageMetadata$outboundSchema
|
|
63427
|
+
}).transform((v2) => {
|
|
63428
|
+
return remap(v2, {
|
|
63429
|
+
headers: "Headers",
|
|
63430
|
+
result: "Result"
|
|
63431
|
+
});
|
|
63432
|
+
});
|
|
63433
|
+
((UploadImageResponse$) => {
|
|
63434
|
+
UploadImageResponse$.inboundSchema = UploadImageResponse$inboundSchema;
|
|
63435
|
+
UploadImageResponse$.outboundSchema = UploadImageResponse$outboundSchema;
|
|
63436
|
+
})(UploadImageResponse$ ||= {});
|
|
63437
|
+
});
|
|
63438
|
+
|
|
63163
63439
|
// src/models/operations/upsertbrand.ts
|
|
63164
63440
|
var UpsertBrandGlobals$inboundSchema, UpsertBrandGlobals$outboundSchema, UpsertBrandGlobals$, UpsertBrandRequest$inboundSchema, UpsertBrandRequest$outboundSchema, UpsertBrandRequest$, UpsertBrandResponse$inboundSchema, UpsertBrandResponse$outboundSchema, UpsertBrandResponse$;
|
|
63165
63441
|
var init_upsertbrand = __esm(() => {
|
|
@@ -63440,6 +63716,7 @@ var init_operations = __esm(() => {
|
|
|
63440
63716
|
init_updatebrand2();
|
|
63441
63717
|
init_updatecard2();
|
|
63442
63718
|
init_updatedisputeevidence();
|
|
63719
|
+
init_updateimage();
|
|
63443
63720
|
init_updateissuedcard2();
|
|
63444
63721
|
init_updatepaymentlink2();
|
|
63445
63722
|
init_updateproduct();
|
|
@@ -63452,6 +63729,7 @@ var init_operations = __esm(() => {
|
|
|
63452
63729
|
init_uploaddisputeevidencefile();
|
|
63453
63730
|
init_uploaddisputeevidencetext();
|
|
63454
63731
|
init_uploadfile();
|
|
63732
|
+
init_uploadimage();
|
|
63455
63733
|
init_upsertbrand();
|
|
63456
63734
|
init_upsertunderwriting2();
|
|
63457
63735
|
});
|
|
@@ -73114,11 +73392,306 @@ var init_imagesList2 = __esm(() => {
|
|
|
73114
73392
|
};
|
|
73115
73393
|
});
|
|
73116
73394
|
|
|
73395
|
+
// src/funcs/imagesUpdate.ts
|
|
73396
|
+
function imagesUpdate(client, request, options) {
|
|
73397
|
+
return new APIPromise($do80(client, request, options));
|
|
73398
|
+
}
|
|
73399
|
+
async function $do80(client, request, options) {
|
|
73400
|
+
const parsed = safeParse(request, (value) => UpdateImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73401
|
+
if (!parsed.ok) {
|
|
73402
|
+
return [parsed, { status: "invalid" }];
|
|
73403
|
+
}
|
|
73404
|
+
const payload = parsed.value;
|
|
73405
|
+
const body = new FormData;
|
|
73406
|
+
if (payload.ImageUpdateRequestMultiPart.image !== undefined) {
|
|
73407
|
+
if (isBlobLike(payload.ImageUpdateRequestMultiPart.image)) {
|
|
73408
|
+
appendForm(body, "image", payload.ImageUpdateRequestMultiPart.image);
|
|
73409
|
+
} else if (isReadableStream(payload.ImageUpdateRequestMultiPart.image.content)) {
|
|
73410
|
+
const buffer = await readableStreamToArrayBuffer(payload.ImageUpdateRequestMultiPart.image.content);
|
|
73411
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUpdateRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
73412
|
+
const blob = new Blob([buffer], { type: contentType2 });
|
|
73413
|
+
appendForm(body, "image", blob, payload.ImageUpdateRequestMultiPart.image.fileName);
|
|
73414
|
+
} else {
|
|
73415
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUpdateRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
73416
|
+
appendForm(body, "image", new Blob([payload.ImageUpdateRequestMultiPart.image.content], {
|
|
73417
|
+
type: contentType2
|
|
73418
|
+
}), payload.ImageUpdateRequestMultiPart.image.fileName);
|
|
73419
|
+
}
|
|
73420
|
+
}
|
|
73421
|
+
if (payload.ImageUpdateRequestMultiPart.metadata !== undefined) {
|
|
73422
|
+
appendForm(body, "metadata", encodeJSON("metadata", payload.ImageUpdateRequestMultiPart.metadata, {
|
|
73423
|
+
explode: true
|
|
73424
|
+
}));
|
|
73425
|
+
}
|
|
73426
|
+
const pathParams = {
|
|
73427
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
73428
|
+
explode: false,
|
|
73429
|
+
charEncoding: "percent"
|
|
73430
|
+
}),
|
|
73431
|
+
imageID: encodeSimple("imageID", payload.imageID, {
|
|
73432
|
+
explode: false,
|
|
73433
|
+
charEncoding: "percent"
|
|
73434
|
+
})
|
|
73435
|
+
};
|
|
73436
|
+
const path = pathToFunc("/accounts/{accountID}/images/{imageID}")(pathParams);
|
|
73437
|
+
const headers = new Headers(compactMap({
|
|
73438
|
+
Accept: "application/json",
|
|
73439
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
73440
|
+
}));
|
|
73441
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
73442
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
73443
|
+
const context = {
|
|
73444
|
+
options: client._options,
|
|
73445
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
73446
|
+
operationID: "updateImage",
|
|
73447
|
+
oAuth2Scopes: null,
|
|
73448
|
+
resolvedSecurity: requestSecurity,
|
|
73449
|
+
securitySource: client._options.security,
|
|
73450
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
73451
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
73452
|
+
};
|
|
73453
|
+
const requestRes = client._createRequest(context, {
|
|
73454
|
+
security: requestSecurity,
|
|
73455
|
+
method: "PATCH",
|
|
73456
|
+
baseURL: options?.serverURL,
|
|
73457
|
+
path,
|
|
73458
|
+
headers,
|
|
73459
|
+
body,
|
|
73460
|
+
userAgent: client._options.userAgent,
|
|
73461
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
73462
|
+
}, options);
|
|
73463
|
+
if (!requestRes.ok) {
|
|
73464
|
+
return [requestRes, { status: "invalid" }];
|
|
73465
|
+
}
|
|
73466
|
+
const req = requestRes.value;
|
|
73467
|
+
const doResult = await client._do(req, {
|
|
73468
|
+
context,
|
|
73469
|
+
errorCodes: [
|
|
73470
|
+
"400",
|
|
73471
|
+
"401",
|
|
73472
|
+
"403",
|
|
73473
|
+
"404",
|
|
73474
|
+
"409",
|
|
73475
|
+
"422",
|
|
73476
|
+
"429",
|
|
73477
|
+
"4XX",
|
|
73478
|
+
"500",
|
|
73479
|
+
"504",
|
|
73480
|
+
"5XX"
|
|
73481
|
+
],
|
|
73482
|
+
retryConfig: context.retryConfig,
|
|
73483
|
+
retryCodes: context.retryCodes
|
|
73484
|
+
});
|
|
73485
|
+
if (!doResult.ok) {
|
|
73486
|
+
return [doResult, { status: "request-error", request: req }];
|
|
73487
|
+
}
|
|
73488
|
+
const response = doResult.value;
|
|
73489
|
+
const responseFields = {
|
|
73490
|
+
HttpMeta: { Response: response, Request: req }
|
|
73491
|
+
};
|
|
73492
|
+
const [result] = await match(json(200, UpdateImageResponse$inboundSchema, {
|
|
73493
|
+
hdrs: true,
|
|
73494
|
+
key: "Result"
|
|
73495
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, ImageRequestValidationError$inboundSchema, {
|
|
73496
|
+
hdrs: true
|
|
73497
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
73498
|
+
if (!result.ok) {
|
|
73499
|
+
return [result, { status: "complete", request: req, response }];
|
|
73500
|
+
}
|
|
73501
|
+
return [result, { status: "complete", request: req, response }];
|
|
73502
|
+
}
|
|
73503
|
+
var init_imagesUpdate = __esm(() => {
|
|
73504
|
+
init_encodings();
|
|
73505
|
+
init_matchers();
|
|
73506
|
+
init_primitives();
|
|
73507
|
+
init_schemas();
|
|
73508
|
+
init_security();
|
|
73509
|
+
init_url();
|
|
73510
|
+
init_errors2();
|
|
73511
|
+
init_operations();
|
|
73512
|
+
init_async();
|
|
73513
|
+
init_blobs();
|
|
73514
|
+
});
|
|
73515
|
+
|
|
73516
|
+
// src/mcp-server/tools/imagesUpdate.ts
|
|
73517
|
+
var args80, tool$imagesUpdate;
|
|
73518
|
+
var init_imagesUpdate2 = __esm(() => {
|
|
73519
|
+
init_imagesUpdate();
|
|
73520
|
+
init_operations();
|
|
73521
|
+
init_tools();
|
|
73522
|
+
args80 = {
|
|
73523
|
+
request: UpdateImageRequest$inboundSchema
|
|
73524
|
+
};
|
|
73525
|
+
tool$imagesUpdate = {
|
|
73526
|
+
name: "images-update",
|
|
73527
|
+
description: `Update an existing image and/or its metadata.
|
|
73528
|
+
|
|
73529
|
+
Duplicate images, and requests larger than 16MB will be rejected. Omit any
|
|
73530
|
+
form parts you do not wish to update. Existing metadata can be cleared by
|
|
73531
|
+
sending \`null\` for the \`metadata\` form part.`,
|
|
73532
|
+
args: args80,
|
|
73533
|
+
tool: async (client, args81, ctx) => {
|
|
73534
|
+
const [result, apiCall] = await imagesUpdate(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73535
|
+
if (!result.ok) {
|
|
73536
|
+
return {
|
|
73537
|
+
content: [{ type: "text", text: result.error.message }],
|
|
73538
|
+
isError: true
|
|
73539
|
+
};
|
|
73540
|
+
}
|
|
73541
|
+
const value = result.value.result;
|
|
73542
|
+
return formatResult(value, apiCall);
|
|
73543
|
+
}
|
|
73544
|
+
};
|
|
73545
|
+
});
|
|
73546
|
+
|
|
73547
|
+
// src/funcs/imagesUpload.ts
|
|
73548
|
+
function imagesUpload(client, request, options) {
|
|
73549
|
+
return new APIPromise($do81(client, request, options));
|
|
73550
|
+
}
|
|
73551
|
+
async function $do81(client, request, options) {
|
|
73552
|
+
const parsed = safeParse(request, (value) => UploadImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73553
|
+
if (!parsed.ok) {
|
|
73554
|
+
return [parsed, { status: "invalid" }];
|
|
73555
|
+
}
|
|
73556
|
+
const payload = parsed.value;
|
|
73557
|
+
const body = new FormData;
|
|
73558
|
+
if (isBlobLike(payload.ImageUploadRequestMultiPart.image)) {
|
|
73559
|
+
appendForm(body, "image", payload.ImageUploadRequestMultiPart.image);
|
|
73560
|
+
} else if (isReadableStream(payload.ImageUploadRequestMultiPart.image.content)) {
|
|
73561
|
+
const buffer = await readableStreamToArrayBuffer(payload.ImageUploadRequestMultiPart.image.content);
|
|
73562
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
73563
|
+
const blob = new Blob([buffer], { type: contentType2 });
|
|
73564
|
+
appendForm(body, "image", blob, payload.ImageUploadRequestMultiPart.image.fileName);
|
|
73565
|
+
} else {
|
|
73566
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
73567
|
+
appendForm(body, "image", new Blob([payload.ImageUploadRequestMultiPart.image.content], {
|
|
73568
|
+
type: contentType2
|
|
73569
|
+
}), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
73570
|
+
}
|
|
73571
|
+
if (payload.ImageUploadRequestMultiPart.metadata !== undefined) {
|
|
73572
|
+
appendForm(body, "metadata", encodeJSON("metadata", payload.ImageUploadRequestMultiPart.metadata, {
|
|
73573
|
+
explode: true
|
|
73574
|
+
}));
|
|
73575
|
+
}
|
|
73576
|
+
const pathParams = {
|
|
73577
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
73578
|
+
explode: false,
|
|
73579
|
+
charEncoding: "percent"
|
|
73580
|
+
})
|
|
73581
|
+
};
|
|
73582
|
+
const path = pathToFunc("/accounts/{accountID}/images")(pathParams);
|
|
73583
|
+
const headers = new Headers(compactMap({
|
|
73584
|
+
Accept: "application/json",
|
|
73585
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
73586
|
+
}));
|
|
73587
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
73588
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
73589
|
+
const context = {
|
|
73590
|
+
options: client._options,
|
|
73591
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
73592
|
+
operationID: "uploadImage",
|
|
73593
|
+
oAuth2Scopes: null,
|
|
73594
|
+
resolvedSecurity: requestSecurity,
|
|
73595
|
+
securitySource: client._options.security,
|
|
73596
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
73597
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
73598
|
+
};
|
|
73599
|
+
const requestRes = client._createRequest(context, {
|
|
73600
|
+
security: requestSecurity,
|
|
73601
|
+
method: "POST",
|
|
73602
|
+
baseURL: options?.serverURL,
|
|
73603
|
+
path,
|
|
73604
|
+
headers,
|
|
73605
|
+
body,
|
|
73606
|
+
userAgent: client._options.userAgent,
|
|
73607
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
73608
|
+
}, options);
|
|
73609
|
+
if (!requestRes.ok) {
|
|
73610
|
+
return [requestRes, { status: "invalid" }];
|
|
73611
|
+
}
|
|
73612
|
+
const req = requestRes.value;
|
|
73613
|
+
const doResult = await client._do(req, {
|
|
73614
|
+
context,
|
|
73615
|
+
errorCodes: [
|
|
73616
|
+
"400",
|
|
73617
|
+
"401",
|
|
73618
|
+
"403",
|
|
73619
|
+
"404",
|
|
73620
|
+
"409",
|
|
73621
|
+
"422",
|
|
73622
|
+
"429",
|
|
73623
|
+
"4XX",
|
|
73624
|
+
"500",
|
|
73625
|
+
"504",
|
|
73626
|
+
"5XX"
|
|
73627
|
+
],
|
|
73628
|
+
retryConfig: context.retryConfig,
|
|
73629
|
+
retryCodes: context.retryCodes
|
|
73630
|
+
});
|
|
73631
|
+
if (!doResult.ok) {
|
|
73632
|
+
return [doResult, { status: "request-error", request: req }];
|
|
73633
|
+
}
|
|
73634
|
+
const response = doResult.value;
|
|
73635
|
+
const responseFields = {
|
|
73636
|
+
HttpMeta: { Response: response, Request: req }
|
|
73637
|
+
};
|
|
73638
|
+
const [result] = await match(json(201, UploadImageResponse$inboundSchema, {
|
|
73639
|
+
hdrs: true,
|
|
73640
|
+
key: "Result"
|
|
73641
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, ImageRequestValidationError$inboundSchema, {
|
|
73642
|
+
hdrs: true
|
|
73643
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
73644
|
+
if (!result.ok) {
|
|
73645
|
+
return [result, { status: "complete", request: req, response }];
|
|
73646
|
+
}
|
|
73647
|
+
return [result, { status: "complete", request: req, response }];
|
|
73648
|
+
}
|
|
73649
|
+
var init_imagesUpload = __esm(() => {
|
|
73650
|
+
init_encodings();
|
|
73651
|
+
init_matchers();
|
|
73652
|
+
init_primitives();
|
|
73653
|
+
init_schemas();
|
|
73654
|
+
init_security();
|
|
73655
|
+
init_url();
|
|
73656
|
+
init_errors2();
|
|
73657
|
+
init_operations();
|
|
73658
|
+
init_async();
|
|
73659
|
+
init_blobs();
|
|
73660
|
+
});
|
|
73661
|
+
|
|
73662
|
+
// src/mcp-server/tools/imagesUpload.ts
|
|
73663
|
+
var args81, tool$imagesUpload;
|
|
73664
|
+
var init_imagesUpload2 = __esm(() => {
|
|
73665
|
+
init_imagesUpload();
|
|
73666
|
+
init_operations();
|
|
73667
|
+
init_tools();
|
|
73668
|
+
args81 = {
|
|
73669
|
+
request: UploadImageRequest$inboundSchema
|
|
73670
|
+
};
|
|
73671
|
+
tool$imagesUpload = {
|
|
73672
|
+
name: "images-upload",
|
|
73673
|
+
description: ` Upload a new PNG, JPEG, or WebP image with optional metadata.
|
|
73674
|
+
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
73675
|
+
args: args81,
|
|
73676
|
+
tool: async (client, args82, ctx) => {
|
|
73677
|
+
const [result, apiCall] = await imagesUpload(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73678
|
+
if (!result.ok) {
|
|
73679
|
+
return {
|
|
73680
|
+
content: [{ type: "text", text: result.error.message }],
|
|
73681
|
+
isError: true
|
|
73682
|
+
};
|
|
73683
|
+
}
|
|
73684
|
+
const value = result.value.result;
|
|
73685
|
+
return formatResult(value, apiCall);
|
|
73686
|
+
}
|
|
73687
|
+
};
|
|
73688
|
+
});
|
|
73689
|
+
|
|
73117
73690
|
// src/funcs/industriesList.ts
|
|
73118
73691
|
function industriesList(client, _request, options) {
|
|
73119
|
-
return new APIPromise($
|
|
73692
|
+
return new APIPromise($do82(client, _request, options));
|
|
73120
73693
|
}
|
|
73121
|
-
async function $
|
|
73694
|
+
async function $do82(client, _request, options) {
|
|
73122
73695
|
const path = pathToFunc("/industries")();
|
|
73123
73696
|
const headers = new Headers(compactMap({
|
|
73124
73697
|
Accept: "application/json",
|
|
@@ -73182,12 +73755,12 @@ var init_industriesList = __esm(() => {
|
|
|
73182
73755
|
});
|
|
73183
73756
|
|
|
73184
73757
|
// src/mcp-server/tools/industriesList.ts
|
|
73185
|
-
var
|
|
73758
|
+
var args82, tool$industriesList;
|
|
73186
73759
|
var init_industriesList2 = __esm(() => {
|
|
73187
73760
|
init_industriesList();
|
|
73188
73761
|
init_operations();
|
|
73189
73762
|
init_tools();
|
|
73190
|
-
|
|
73763
|
+
args82 = {
|
|
73191
73764
|
request: ListIndustriesRequest$inboundSchema
|
|
73192
73765
|
};
|
|
73193
73766
|
tool$industriesList = {
|
|
@@ -73196,9 +73769,9 @@ var init_industriesList2 = __esm(() => {
|
|
|
73196
73769
|
|
|
73197
73770
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
73198
73771
|
you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
73199
|
-
args:
|
|
73200
|
-
tool: async (client,
|
|
73201
|
-
const [result, apiCall] = await industriesList(client,
|
|
73772
|
+
args: args82,
|
|
73773
|
+
tool: async (client, args83, ctx) => {
|
|
73774
|
+
const [result, apiCall] = await industriesList(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73202
73775
|
if (!result.ok) {
|
|
73203
73776
|
return {
|
|
73204
73777
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73213,9 +73786,9 @@ you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
|
73213
73786
|
|
|
73214
73787
|
// src/funcs/institutionsSearch.ts
|
|
73215
73788
|
function institutionsSearch(client, request, options) {
|
|
73216
|
-
return new APIPromise($
|
|
73789
|
+
return new APIPromise($do83(client, request, options));
|
|
73217
73790
|
}
|
|
73218
|
-
async function $
|
|
73791
|
+
async function $do83(client, request, options) {
|
|
73219
73792
|
const parsed = safeParse(request, (value) => ListInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73220
73793
|
if (!parsed.ok) {
|
|
73221
73794
|
return [parsed, { status: "invalid" }];
|
|
@@ -73295,12 +73868,12 @@ var init_institutionsSearch = __esm(() => {
|
|
|
73295
73868
|
});
|
|
73296
73869
|
|
|
73297
73870
|
// src/mcp-server/tools/institutionsSearch.ts
|
|
73298
|
-
var
|
|
73871
|
+
var args83, tool$institutionsSearch;
|
|
73299
73872
|
var init_institutionsSearch2 = __esm(() => {
|
|
73300
73873
|
init_institutionsSearch();
|
|
73301
73874
|
init_operations();
|
|
73302
73875
|
init_tools();
|
|
73303
|
-
|
|
73876
|
+
args83 = {
|
|
73304
73877
|
request: ListInstitutionsRequest$inboundSchema
|
|
73305
73878
|
};
|
|
73306
73879
|
tool$institutionsSearch = {
|
|
@@ -73309,9 +73882,9 @@ var init_institutionsSearch2 = __esm(() => {
|
|
|
73309
73882
|
|
|
73310
73883
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73311
73884
|
you'll need to specify the \`/fed.read\` scope.`,
|
|
73312
|
-
args:
|
|
73313
|
-
tool: async (client,
|
|
73314
|
-
const [result, apiCall] = await institutionsSearch(client,
|
|
73885
|
+
args: args83,
|
|
73886
|
+
tool: async (client, args84, ctx) => {
|
|
73887
|
+
const [result, apiCall] = await institutionsSearch(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73315
73888
|
if (!result.ok) {
|
|
73316
73889
|
return {
|
|
73317
73890
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73326,9 +73899,9 @@ you'll need to specify the \`/fed.read\` scope.`,
|
|
|
73326
73899
|
|
|
73327
73900
|
// src/funcs/institutionsSearchInstitutions.ts
|
|
73328
73901
|
function institutionsSearchInstitutions(client, request, options) {
|
|
73329
|
-
return new APIPromise($
|
|
73902
|
+
return new APIPromise($do84(client, request, options));
|
|
73330
73903
|
}
|
|
73331
|
-
async function $
|
|
73904
|
+
async function $do84(client, request, options) {
|
|
73332
73905
|
const parsed = safeParse(request, (value) => SearchInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73333
73906
|
if (!parsed.ok) {
|
|
73334
73907
|
return [parsed, { status: "invalid" }];
|
|
@@ -73406,12 +73979,12 @@ var init_institutionsSearchInstitutions = __esm(() => {
|
|
|
73406
73979
|
});
|
|
73407
73980
|
|
|
73408
73981
|
// src/mcp-server/tools/institutionsSearchInstitutions.ts
|
|
73409
|
-
var
|
|
73982
|
+
var args84, tool$institutionsSearchInstitutions;
|
|
73410
73983
|
var init_institutionsSearchInstitutions2 = __esm(() => {
|
|
73411
73984
|
init_institutionsSearchInstitutions();
|
|
73412
73985
|
init_operations();
|
|
73413
73986
|
init_tools();
|
|
73414
|
-
|
|
73987
|
+
args84 = {
|
|
73415
73988
|
request: SearchInstitutionsRequest$inboundSchema
|
|
73416
73989
|
};
|
|
73417
73990
|
tool$institutionsSearchInstitutions = {
|
|
@@ -73424,9 +73997,9 @@ This can be used to validate a financial institution before initiating payment a
|
|
|
73424
73997
|
|
|
73425
73998
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73426
73999
|
you'll need to specify the \`/institutions.read\` scope.`,
|
|
73427
|
-
args:
|
|
73428
|
-
tool: async (client,
|
|
73429
|
-
const [result, apiCall] = await institutionsSearchInstitutions(client,
|
|
74000
|
+
args: args84,
|
|
74001
|
+
tool: async (client, args85, ctx) => {
|
|
74002
|
+
const [result, apiCall] = await institutionsSearchInstitutions(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73430
74003
|
if (!result.ok) {
|
|
73431
74004
|
return {
|
|
73432
74005
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73441,9 +74014,9 @@ you'll need to specify the \`/institutions.read\` scope.`,
|
|
|
73441
74014
|
|
|
73442
74015
|
// src/funcs/issuingTransactionsGet.ts
|
|
73443
74016
|
function issuingTransactionsGet(client, request, options) {
|
|
73444
|
-
return new APIPromise($
|
|
74017
|
+
return new APIPromise($do85(client, request, options));
|
|
73445
74018
|
}
|
|
73446
|
-
async function $
|
|
74019
|
+
async function $do85(client, request, options) {
|
|
73447
74020
|
const parsed = safeParse(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73448
74021
|
if (!parsed.ok) {
|
|
73449
74022
|
return [parsed, { status: "invalid" }];
|
|
@@ -73522,12 +74095,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
73522
74095
|
});
|
|
73523
74096
|
|
|
73524
74097
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
73525
|
-
var
|
|
74098
|
+
var args85, tool$issuingTransactionsGet;
|
|
73526
74099
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
73527
74100
|
init_issuingTransactionsGet();
|
|
73528
74101
|
init_operations();
|
|
73529
74102
|
init_tools();
|
|
73530
|
-
|
|
74103
|
+
args85 = {
|
|
73531
74104
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
73532
74105
|
};
|
|
73533
74106
|
tool$issuingTransactionsGet = {
|
|
@@ -73536,9 +74109,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
73536
74109
|
|
|
73537
74110
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73538
74111
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
73539
|
-
args:
|
|
73540
|
-
tool: async (client,
|
|
73541
|
-
const [result, apiCall] = await issuingTransactionsGet(client,
|
|
74112
|
+
args: args85,
|
|
74113
|
+
tool: async (client, args86, ctx) => {
|
|
74114
|
+
const [result, apiCall] = await issuingTransactionsGet(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73542
74115
|
if (!result.ok) {
|
|
73543
74116
|
return {
|
|
73544
74117
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73553,9 +74126,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
73553
74126
|
|
|
73554
74127
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
73555
74128
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
73556
|
-
return new APIPromise($
|
|
74129
|
+
return new APIPromise($do86(client, request, options));
|
|
73557
74130
|
}
|
|
73558
|
-
async function $
|
|
74131
|
+
async function $do86(client, request, options) {
|
|
73559
74132
|
const parsed = safeParse(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73560
74133
|
if (!parsed.ok) {
|
|
73561
74134
|
return [parsed, { status: "invalid" }];
|
|
@@ -73637,12 +74210,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
73637
74210
|
});
|
|
73638
74211
|
|
|
73639
74212
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
73640
|
-
var
|
|
74213
|
+
var args86, tool$issuingTransactionsGetAuthorization;
|
|
73641
74214
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
73642
74215
|
init_issuingTransactionsGetAuthorization();
|
|
73643
74216
|
init_operations();
|
|
73644
74217
|
init_tools();
|
|
73645
|
-
|
|
74218
|
+
args86 = {
|
|
73646
74219
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
73647
74220
|
};
|
|
73648
74221
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -73651,9 +74224,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
73651
74224
|
|
|
73652
74225
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73653
74226
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
73654
|
-
args:
|
|
73655
|
-
tool: async (client,
|
|
73656
|
-
const [result, apiCall] = await issuingTransactionsGetAuthorization(client,
|
|
74227
|
+
args: args86,
|
|
74228
|
+
tool: async (client, args87, ctx) => {
|
|
74229
|
+
const [result, apiCall] = await issuingTransactionsGetAuthorization(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73657
74230
|
if (!result.ok) {
|
|
73658
74231
|
return {
|
|
73659
74232
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73668,9 +74241,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
73668
74241
|
|
|
73669
74242
|
// src/funcs/issuingTransactionsList.ts
|
|
73670
74243
|
function issuingTransactionsList(client, request, options) {
|
|
73671
|
-
return new APIPromise($
|
|
74244
|
+
return new APIPromise($do87(client, request, options));
|
|
73672
74245
|
}
|
|
73673
|
-
async function $
|
|
74246
|
+
async function $do87(client, request, options) {
|
|
73674
74247
|
const parsed = safeParse(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73675
74248
|
if (!parsed.ok) {
|
|
73676
74249
|
return [parsed, { status: "invalid" }];
|
|
@@ -73756,12 +74329,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
73756
74329
|
});
|
|
73757
74330
|
|
|
73758
74331
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
73759
|
-
var
|
|
74332
|
+
var args87, tool$issuingTransactionsList;
|
|
73760
74333
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
73761
74334
|
init_issuingTransactionsList();
|
|
73762
74335
|
init_operations();
|
|
73763
74336
|
init_tools();
|
|
73764
|
-
|
|
74337
|
+
args87 = {
|
|
73765
74338
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
73766
74339
|
};
|
|
73767
74340
|
tool$issuingTransactionsList = {
|
|
@@ -73770,9 +74343,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
73770
74343
|
|
|
73771
74344
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73772
74345
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
73773
|
-
args:
|
|
73774
|
-
tool: async (client,
|
|
73775
|
-
const [result, apiCall] = await issuingTransactionsList(client,
|
|
74346
|
+
args: args87,
|
|
74347
|
+
tool: async (client, args88, ctx) => {
|
|
74348
|
+
const [result, apiCall] = await issuingTransactionsList(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73776
74349
|
if (!result.ok) {
|
|
73777
74350
|
return {
|
|
73778
74351
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73787,9 +74360,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
73787
74360
|
|
|
73788
74361
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
73789
74362
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
73790
|
-
return new APIPromise($
|
|
74363
|
+
return new APIPromise($do88(client, request, options));
|
|
73791
74364
|
}
|
|
73792
|
-
async function $
|
|
74365
|
+
async function $do88(client, request, options) {
|
|
73793
74366
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73794
74367
|
if (!parsed.ok) {
|
|
73795
74368
|
return [parsed, { status: "invalid" }];
|
|
@@ -73873,12 +74446,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
73873
74446
|
});
|
|
73874
74447
|
|
|
73875
74448
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
73876
|
-
var
|
|
74449
|
+
var args88, tool$issuingTransactionsListAuthorizationEvents;
|
|
73877
74450
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
73878
74451
|
init_issuingTransactionsListAuthorizationEvents();
|
|
73879
74452
|
init_operations();
|
|
73880
74453
|
init_tools();
|
|
73881
|
-
|
|
74454
|
+
args88 = {
|
|
73882
74455
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
73883
74456
|
};
|
|
73884
74457
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -73887,9 +74460,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
73887
74460
|
|
|
73888
74461
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73889
74462
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
73890
|
-
args:
|
|
73891
|
-
tool: async (client,
|
|
73892
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client,
|
|
74463
|
+
args: args88,
|
|
74464
|
+
tool: async (client, args89, ctx) => {
|
|
74465
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73893
74466
|
if (!result.ok) {
|
|
73894
74467
|
return {
|
|
73895
74468
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73904,9 +74477,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
73904
74477
|
|
|
73905
74478
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
73906
74479
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
73907
|
-
return new APIPromise($
|
|
74480
|
+
return new APIPromise($do89(client, request, options));
|
|
73908
74481
|
}
|
|
73909
|
-
async function $
|
|
74482
|
+
async function $do89(client, request, options) {
|
|
73910
74483
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73911
74484
|
if (!parsed.ok) {
|
|
73912
74485
|
return [parsed, { status: "invalid" }];
|
|
@@ -73993,12 +74566,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
73993
74566
|
});
|
|
73994
74567
|
|
|
73995
74568
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
73996
|
-
var
|
|
74569
|
+
var args89, tool$issuingTransactionsListAuthorizations;
|
|
73997
74570
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
73998
74571
|
init_issuingTransactionsListAuthorizations();
|
|
73999
74572
|
init_operations();
|
|
74000
74573
|
init_tools();
|
|
74001
|
-
|
|
74574
|
+
args89 = {
|
|
74002
74575
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
74003
74576
|
};
|
|
74004
74577
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -74007,9 +74580,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
74007
74580
|
|
|
74008
74581
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74009
74582
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74010
|
-
args:
|
|
74011
|
-
tool: async (client,
|
|
74012
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizations(client,
|
|
74583
|
+
args: args89,
|
|
74584
|
+
tool: async (client, args90, ctx) => {
|
|
74585
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizations(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74013
74586
|
if (!result.ok) {
|
|
74014
74587
|
return {
|
|
74015
74588
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74024,9 +74597,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74024
74597
|
|
|
74025
74598
|
// src/funcs/onboardingCreateInvite.ts
|
|
74026
74599
|
function onboardingCreateInvite(client, request, options) {
|
|
74027
|
-
return new APIPromise($
|
|
74600
|
+
return new APIPromise($do90(client, request, options));
|
|
74028
74601
|
}
|
|
74029
|
-
async function $
|
|
74602
|
+
async function $do90(client, request, options) {
|
|
74030
74603
|
const parsed = safeParse(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74031
74604
|
if (!parsed.ok) {
|
|
74032
74605
|
return [parsed, { status: "invalid" }];
|
|
@@ -74113,12 +74686,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
74113
74686
|
});
|
|
74114
74687
|
|
|
74115
74688
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
74116
|
-
var
|
|
74689
|
+
var args90, tool$onboardingCreateInvite;
|
|
74117
74690
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
74118
74691
|
init_onboardingCreateInvite();
|
|
74119
74692
|
init_components();
|
|
74120
74693
|
init_tools();
|
|
74121
|
-
|
|
74694
|
+
args90 = {
|
|
74122
74695
|
request: OnboardingInviteRequest$inboundSchema
|
|
74123
74696
|
};
|
|
74124
74697
|
tool$onboardingCreateInvite = {
|
|
@@ -74127,9 +74700,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
74127
74700
|
|
|
74128
74701
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74129
74702
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
74130
|
-
args:
|
|
74131
|
-
tool: async (client,
|
|
74132
|
-
const [result, apiCall] = await onboardingCreateInvite(client,
|
|
74703
|
+
args: args90,
|
|
74704
|
+
tool: async (client, args91, ctx) => {
|
|
74705
|
+
const [result, apiCall] = await onboardingCreateInvite(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74133
74706
|
if (!result.ok) {
|
|
74134
74707
|
return {
|
|
74135
74708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74144,9 +74717,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
74144
74717
|
|
|
74145
74718
|
// src/funcs/onboardingGetInvite.ts
|
|
74146
74719
|
function onboardingGetInvite(client, request, options) {
|
|
74147
|
-
return new APIPromise($
|
|
74720
|
+
return new APIPromise($do91(client, request, options));
|
|
74148
74721
|
}
|
|
74149
|
-
async function $
|
|
74722
|
+
async function $do91(client, request, options) {
|
|
74150
74723
|
const parsed = safeParse(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74151
74724
|
if (!parsed.ok) {
|
|
74152
74725
|
return [parsed, { status: "invalid" }];
|
|
@@ -74224,12 +74797,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
74224
74797
|
});
|
|
74225
74798
|
|
|
74226
74799
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
74227
|
-
var
|
|
74800
|
+
var args91, tool$onboardingGetInvite;
|
|
74228
74801
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
74229
74802
|
init_onboardingGetInvite();
|
|
74230
74803
|
init_operations();
|
|
74231
74804
|
init_tools();
|
|
74232
|
-
|
|
74805
|
+
args91 = {
|
|
74233
74806
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
74234
74807
|
};
|
|
74235
74808
|
tool$onboardingGetInvite = {
|
|
@@ -74238,9 +74811,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
74238
74811
|
|
|
74239
74812
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74240
74813
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
74241
|
-
args:
|
|
74242
|
-
tool: async (client,
|
|
74243
|
-
const [result, apiCall] = await onboardingGetInvite(client,
|
|
74814
|
+
args: args91,
|
|
74815
|
+
tool: async (client, args92, ctx) => {
|
|
74816
|
+
const [result, apiCall] = await onboardingGetInvite(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74244
74817
|
if (!result.ok) {
|
|
74245
74818
|
return {
|
|
74246
74819
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74255,9 +74828,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
74255
74828
|
|
|
74256
74829
|
// src/funcs/onboardingListInvites.ts
|
|
74257
74830
|
function onboardingListInvites(client, _request, options) {
|
|
74258
|
-
return new APIPromise($
|
|
74831
|
+
return new APIPromise($do92(client, _request, options));
|
|
74259
74832
|
}
|
|
74260
|
-
async function $
|
|
74833
|
+
async function $do92(client, _request, options) {
|
|
74261
74834
|
const path = pathToFunc("/onboarding-invites")();
|
|
74262
74835
|
const headers = new Headers(compactMap({
|
|
74263
74836
|
Accept: "application/json",
|
|
@@ -74321,12 +74894,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
74321
74894
|
});
|
|
74322
74895
|
|
|
74323
74896
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
74324
|
-
var
|
|
74897
|
+
var args92, tool$onboardingListInvites;
|
|
74325
74898
|
var init_onboardingListInvites2 = __esm(() => {
|
|
74326
74899
|
init_onboardingListInvites();
|
|
74327
74900
|
init_operations();
|
|
74328
74901
|
init_tools();
|
|
74329
|
-
|
|
74902
|
+
args92 = {
|
|
74330
74903
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
74331
74904
|
};
|
|
74332
74905
|
tool$onboardingListInvites = {
|
|
@@ -74335,9 +74908,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
74335
74908
|
|
|
74336
74909
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74337
74910
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
74338
|
-
args:
|
|
74339
|
-
tool: async (client,
|
|
74340
|
-
const [result, apiCall] = await onboardingListInvites(client,
|
|
74911
|
+
args: args92,
|
|
74912
|
+
tool: async (client, args93, ctx) => {
|
|
74913
|
+
const [result, apiCall] = await onboardingListInvites(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74341
74914
|
if (!result.ok) {
|
|
74342
74915
|
return {
|
|
74343
74916
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74352,9 +74925,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
74352
74925
|
|
|
74353
74926
|
// src/funcs/onboardingRevokeInvite.ts
|
|
74354
74927
|
function onboardingRevokeInvite(client, request, options) {
|
|
74355
|
-
return new APIPromise($
|
|
74928
|
+
return new APIPromise($do93(client, request, options));
|
|
74356
74929
|
}
|
|
74357
|
-
async function $
|
|
74930
|
+
async function $do93(client, request, options) {
|
|
74358
74931
|
const parsed = safeParse(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74359
74932
|
if (!parsed.ok) {
|
|
74360
74933
|
return [parsed, { status: "invalid" }];
|
|
@@ -74429,12 +75002,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
74429
75002
|
});
|
|
74430
75003
|
|
|
74431
75004
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
74432
|
-
var
|
|
75005
|
+
var args93, tool$onboardingRevokeInvite;
|
|
74433
75006
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
74434
75007
|
init_onboardingRevokeInvite();
|
|
74435
75008
|
init_operations();
|
|
74436
75009
|
init_tools();
|
|
74437
|
-
|
|
75010
|
+
args93 = {
|
|
74438
75011
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
74439
75012
|
};
|
|
74440
75013
|
tool$onboardingRevokeInvite = {
|
|
@@ -74443,9 +75016,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
74443
75016
|
|
|
74444
75017
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74445
75018
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
74446
|
-
args:
|
|
74447
|
-
tool: async (client,
|
|
74448
|
-
const [result, apiCall] = await onboardingRevokeInvite(client,
|
|
75019
|
+
args: args93,
|
|
75020
|
+
tool: async (client, args94, ctx) => {
|
|
75021
|
+
const [result, apiCall] = await onboardingRevokeInvite(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74449
75022
|
if (!result.ok) {
|
|
74450
75023
|
return {
|
|
74451
75024
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74459,9 +75032,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
74459
75032
|
|
|
74460
75033
|
// src/funcs/paymentLinksCreate.ts
|
|
74461
75034
|
function paymentLinksCreate(client, request, options) {
|
|
74462
|
-
return new APIPromise($
|
|
75035
|
+
return new APIPromise($do94(client, request, options));
|
|
74463
75036
|
}
|
|
74464
|
-
async function $
|
|
75037
|
+
async function $do94(client, request, options) {
|
|
74465
75038
|
const parsed = safeParse(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74466
75039
|
if (!parsed.ok) {
|
|
74467
75040
|
return [parsed, { status: "invalid" }];
|
|
@@ -74553,12 +75126,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
74553
75126
|
});
|
|
74554
75127
|
|
|
74555
75128
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
74556
|
-
var
|
|
75129
|
+
var args94, tool$paymentLinksCreate;
|
|
74557
75130
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
74558
75131
|
init_paymentLinksCreate();
|
|
74559
75132
|
init_operations();
|
|
74560
75133
|
init_tools();
|
|
74561
|
-
|
|
75134
|
+
args94 = {
|
|
74562
75135
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
74563
75136
|
};
|
|
74564
75137
|
tool$paymentLinksCreate = {
|
|
@@ -74567,9 +75140,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
74567
75140
|
|
|
74568
75141
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74569
75142
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74570
|
-
args:
|
|
74571
|
-
tool: async (client,
|
|
74572
|
-
const [result, apiCall] = await paymentLinksCreate(client,
|
|
75143
|
+
args: args94,
|
|
75144
|
+
tool: async (client, args95, ctx) => {
|
|
75145
|
+
const [result, apiCall] = await paymentLinksCreate(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74573
75146
|
if (!result.ok) {
|
|
74574
75147
|
return {
|
|
74575
75148
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74584,9 +75157,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74584
75157
|
|
|
74585
75158
|
// src/funcs/paymentLinksDisable.ts
|
|
74586
75159
|
function paymentLinksDisable(client, request, options) {
|
|
74587
|
-
return new APIPromise($
|
|
75160
|
+
return new APIPromise($do95(client, request, options));
|
|
74588
75161
|
}
|
|
74589
|
-
async function $
|
|
75162
|
+
async function $do95(client, request, options) {
|
|
74590
75163
|
const parsed = safeParse(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74591
75164
|
if (!parsed.ok) {
|
|
74592
75165
|
return [parsed, { status: "invalid" }];
|
|
@@ -74667,12 +75240,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
74667
75240
|
});
|
|
74668
75241
|
|
|
74669
75242
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
74670
|
-
var
|
|
75243
|
+
var args95, tool$paymentLinksDisable;
|
|
74671
75244
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
74672
75245
|
init_paymentLinksDisable();
|
|
74673
75246
|
init_operations();
|
|
74674
75247
|
init_tools();
|
|
74675
|
-
|
|
75248
|
+
args95 = {
|
|
74676
75249
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
74677
75250
|
};
|
|
74678
75251
|
tool$paymentLinksDisable = {
|
|
@@ -74681,9 +75254,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
74681
75254
|
|
|
74682
75255
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74683
75256
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74684
|
-
args:
|
|
74685
|
-
tool: async (client,
|
|
74686
|
-
const [result, apiCall] = await paymentLinksDisable(client,
|
|
75257
|
+
args: args95,
|
|
75258
|
+
tool: async (client, args96, ctx) => {
|
|
75259
|
+
const [result, apiCall] = await paymentLinksDisable(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74687
75260
|
if (!result.ok) {
|
|
74688
75261
|
return {
|
|
74689
75262
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74697,9 +75270,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74697
75270
|
|
|
74698
75271
|
// src/funcs/paymentLinksGet.ts
|
|
74699
75272
|
function paymentLinksGet(client, request, options) {
|
|
74700
|
-
return new APIPromise($
|
|
75273
|
+
return new APIPromise($do96(client, request, options));
|
|
74701
75274
|
}
|
|
74702
|
-
async function $
|
|
75275
|
+
async function $do96(client, request, options) {
|
|
74703
75276
|
const parsed = safeParse(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74704
75277
|
if (!parsed.ok) {
|
|
74705
75278
|
return [parsed, { status: "invalid" }];
|
|
@@ -74781,12 +75354,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
74781
75354
|
});
|
|
74782
75355
|
|
|
74783
75356
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
74784
|
-
var
|
|
75357
|
+
var args96, tool$paymentLinksGet;
|
|
74785
75358
|
var init_paymentLinksGet2 = __esm(() => {
|
|
74786
75359
|
init_paymentLinksGet();
|
|
74787
75360
|
init_operations();
|
|
74788
75361
|
init_tools();
|
|
74789
|
-
|
|
75362
|
+
args96 = {
|
|
74790
75363
|
request: GetPaymentLinkRequest$inboundSchema
|
|
74791
75364
|
};
|
|
74792
75365
|
tool$paymentLinksGet = {
|
|
@@ -74795,9 +75368,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
74795
75368
|
|
|
74796
75369
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74797
75370
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74798
|
-
args:
|
|
74799
|
-
tool: async (client,
|
|
74800
|
-
const [result, apiCall] = await paymentLinksGet(client,
|
|
75371
|
+
args: args96,
|
|
75372
|
+
tool: async (client, args97, ctx) => {
|
|
75373
|
+
const [result, apiCall] = await paymentLinksGet(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74801
75374
|
if (!result.ok) {
|
|
74802
75375
|
return {
|
|
74803
75376
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74812,9 +75385,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74812
75385
|
|
|
74813
75386
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
74814
75387
|
function paymentLinksGetQRCode(client, request, options) {
|
|
74815
|
-
return new APIPromise($
|
|
75388
|
+
return new APIPromise($do97(client, request, options));
|
|
74816
75389
|
}
|
|
74817
|
-
async function $
|
|
75390
|
+
async function $do97(client, request, options) {
|
|
74818
75391
|
const parsed = safeParse(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74819
75392
|
if (!parsed.ok) {
|
|
74820
75393
|
return [parsed, { status: "invalid" }];
|
|
@@ -74900,12 +75473,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
74900
75473
|
});
|
|
74901
75474
|
|
|
74902
75475
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
74903
|
-
var
|
|
75476
|
+
var args97, tool$paymentLinksGetQRCode;
|
|
74904
75477
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
74905
75478
|
init_paymentLinksGetQRCode();
|
|
74906
75479
|
init_operations();
|
|
74907
75480
|
init_tools();
|
|
74908
|
-
|
|
75481
|
+
args97 = {
|
|
74909
75482
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
74910
75483
|
};
|
|
74911
75484
|
tool$paymentLinksGetQRCode = {
|
|
@@ -74916,9 +75489,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
74916
75489
|
|
|
74917
75490
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74918
75491
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74919
|
-
args:
|
|
74920
|
-
tool: async (client,
|
|
74921
|
-
const [result, apiCall] = await paymentLinksGetQRCode(client,
|
|
75492
|
+
args: args97,
|
|
75493
|
+
tool: async (client, args98, ctx) => {
|
|
75494
|
+
const [result, apiCall] = await paymentLinksGetQRCode(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74922
75495
|
if (!result.ok) {
|
|
74923
75496
|
return {
|
|
74924
75497
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74933,9 +75506,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74933
75506
|
|
|
74934
75507
|
// src/funcs/paymentLinksList.ts
|
|
74935
75508
|
function paymentLinksList(client, request, options) {
|
|
74936
|
-
return new APIPromise($
|
|
75509
|
+
return new APIPromise($do98(client, request, options));
|
|
74937
75510
|
}
|
|
74938
|
-
async function $
|
|
75511
|
+
async function $do98(client, request, options) {
|
|
74939
75512
|
const parsed = safeParse(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74940
75513
|
if (!parsed.ok) {
|
|
74941
75514
|
return [parsed, { status: "invalid" }];
|
|
@@ -75013,12 +75586,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
75013
75586
|
});
|
|
75014
75587
|
|
|
75015
75588
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
75016
|
-
var
|
|
75589
|
+
var args98, tool$paymentLinksList;
|
|
75017
75590
|
var init_paymentLinksList2 = __esm(() => {
|
|
75018
75591
|
init_paymentLinksList();
|
|
75019
75592
|
init_operations();
|
|
75020
75593
|
init_tools();
|
|
75021
|
-
|
|
75594
|
+
args98 = {
|
|
75022
75595
|
request: ListPaymentLinksRequest$inboundSchema
|
|
75023
75596
|
};
|
|
75024
75597
|
tool$paymentLinksList = {
|
|
@@ -75027,9 +75600,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
75027
75600
|
|
|
75028
75601
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75029
75602
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75030
|
-
args:
|
|
75031
|
-
tool: async (client,
|
|
75032
|
-
const [result, apiCall] = await paymentLinksList(client,
|
|
75603
|
+
args: args98,
|
|
75604
|
+
tool: async (client, args99, ctx) => {
|
|
75605
|
+
const [result, apiCall] = await paymentLinksList(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75033
75606
|
if (!result.ok) {
|
|
75034
75607
|
return {
|
|
75035
75608
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75044,9 +75617,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75044
75617
|
|
|
75045
75618
|
// src/funcs/paymentLinksUpdate.ts
|
|
75046
75619
|
function paymentLinksUpdate(client, request, options) {
|
|
75047
|
-
return new APIPromise($
|
|
75620
|
+
return new APIPromise($do99(client, request, options));
|
|
75048
75621
|
}
|
|
75049
|
-
async function $
|
|
75622
|
+
async function $do99(client, request, options) {
|
|
75050
75623
|
const parsed = safeParse(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75051
75624
|
if (!parsed.ok) {
|
|
75052
75625
|
return [parsed, { status: "invalid" }];
|
|
@@ -75142,12 +75715,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
75142
75715
|
});
|
|
75143
75716
|
|
|
75144
75717
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
75145
|
-
var
|
|
75718
|
+
var args99, tool$paymentLinksUpdate;
|
|
75146
75719
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
75147
75720
|
init_paymentLinksUpdate();
|
|
75148
75721
|
init_operations();
|
|
75149
75722
|
init_tools();
|
|
75150
|
-
|
|
75723
|
+
args99 = {
|
|
75151
75724
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
75152
75725
|
};
|
|
75153
75726
|
tool$paymentLinksUpdate = {
|
|
@@ -75156,9 +75729,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
75156
75729
|
|
|
75157
75730
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75158
75731
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75159
|
-
args:
|
|
75160
|
-
tool: async (client,
|
|
75161
|
-
const [result, apiCall] = await paymentLinksUpdate(client,
|
|
75732
|
+
args: args99,
|
|
75733
|
+
tool: async (client, args100, ctx) => {
|
|
75734
|
+
const [result, apiCall] = await paymentLinksUpdate(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75162
75735
|
if (!result.ok) {
|
|
75163
75736
|
return {
|
|
75164
75737
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75173,9 +75746,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75173
75746
|
|
|
75174
75747
|
// src/funcs/paymentMethodsGet.ts
|
|
75175
75748
|
function paymentMethodsGet(client, request, options) {
|
|
75176
|
-
return new APIPromise($
|
|
75749
|
+
return new APIPromise($do100(client, request, options));
|
|
75177
75750
|
}
|
|
75178
|
-
async function $
|
|
75751
|
+
async function $do100(client, request, options) {
|
|
75179
75752
|
const parsed = safeParse(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75180
75753
|
if (!parsed.ok) {
|
|
75181
75754
|
return [parsed, { status: "invalid" }];
|
|
@@ -75257,12 +75830,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
75257
75830
|
});
|
|
75258
75831
|
|
|
75259
75832
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
75260
|
-
var
|
|
75833
|
+
var args100, tool$paymentMethodsGet;
|
|
75261
75834
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
75262
75835
|
init_paymentMethodsGet();
|
|
75263
75836
|
init_operations();
|
|
75264
75837
|
init_tools();
|
|
75265
|
-
|
|
75838
|
+
args100 = {
|
|
75266
75839
|
request: GetPaymentMethodRequest$inboundSchema
|
|
75267
75840
|
};
|
|
75268
75841
|
tool$paymentMethodsGet = {
|
|
@@ -75271,9 +75844,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
75271
75844
|
|
|
75272
75845
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75273
75846
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
75274
|
-
args:
|
|
75275
|
-
tool: async (client,
|
|
75276
|
-
const [result, apiCall] = await paymentMethodsGet(client,
|
|
75847
|
+
args: args100,
|
|
75848
|
+
tool: async (client, args101, ctx) => {
|
|
75849
|
+
const [result, apiCall] = await paymentMethodsGet(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75277
75850
|
if (!result.ok) {
|
|
75278
75851
|
return {
|
|
75279
75852
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75288,9 +75861,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
75288
75861
|
|
|
75289
75862
|
// src/funcs/paymentMethodsList.ts
|
|
75290
75863
|
function paymentMethodsList(client, request, options) {
|
|
75291
|
-
return new APIPromise($
|
|
75864
|
+
return new APIPromise($do101(client, request, options));
|
|
75292
75865
|
}
|
|
75293
|
-
async function $
|
|
75866
|
+
async function $do101(client, request, options) {
|
|
75294
75867
|
const parsed = safeParse(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75295
75868
|
if (!parsed.ok) {
|
|
75296
75869
|
return [parsed, { status: "invalid" }];
|
|
@@ -75373,12 +75946,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
75373
75946
|
});
|
|
75374
75947
|
|
|
75375
75948
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
75376
|
-
var
|
|
75949
|
+
var args101, tool$paymentMethodsList;
|
|
75377
75950
|
var init_paymentMethodsList2 = __esm(() => {
|
|
75378
75951
|
init_paymentMethodsList();
|
|
75379
75952
|
init_operations();
|
|
75380
75953
|
init_tools();
|
|
75381
|
-
|
|
75954
|
+
args101 = {
|
|
75382
75955
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
75383
75956
|
};
|
|
75384
75957
|
tool$paymentMethodsList = {
|
|
@@ -75388,9 +75961,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
75388
75961
|
|
|
75389
75962
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75390
75963
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
75391
|
-
args:
|
|
75392
|
-
tool: async (client,
|
|
75393
|
-
const [result, apiCall] = await paymentMethodsList(client,
|
|
75964
|
+
args: args101,
|
|
75965
|
+
tool: async (client, args102, ctx) => {
|
|
75966
|
+
const [result, apiCall] = await paymentMethodsList(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75394
75967
|
if (!result.ok) {
|
|
75395
75968
|
return {
|
|
75396
75969
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75405,9 +75978,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
75405
75978
|
|
|
75406
75979
|
// src/funcs/pingPing.ts
|
|
75407
75980
|
function pingPing(client, _request, options) {
|
|
75408
|
-
return new APIPromise($
|
|
75981
|
+
return new APIPromise($do102(client, _request, options));
|
|
75409
75982
|
}
|
|
75410
|
-
async function $
|
|
75983
|
+
async function $do102(client, _request, options) {
|
|
75411
75984
|
const path = pathToFunc("/ping")();
|
|
75412
75985
|
const headers = new Headers(compactMap({
|
|
75413
75986
|
Accept: "*/*",
|
|
@@ -75470,12 +76043,12 @@ var init_pingPing = __esm(() => {
|
|
|
75470
76043
|
});
|
|
75471
76044
|
|
|
75472
76045
|
// src/mcp-server/tools/pingPing.ts
|
|
75473
|
-
var
|
|
76046
|
+
var args102, tool$pingPing;
|
|
75474
76047
|
var init_pingPing2 = __esm(() => {
|
|
75475
76048
|
init_pingPing();
|
|
75476
76049
|
init_operations();
|
|
75477
76050
|
init_tools();
|
|
75478
|
-
|
|
76051
|
+
args102 = {
|
|
75479
76052
|
request: PingRequest$inboundSchema
|
|
75480
76053
|
};
|
|
75481
76054
|
tool$pingPing = {
|
|
@@ -75484,9 +76057,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
75484
76057
|
|
|
75485
76058
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75486
76059
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
75487
|
-
args:
|
|
75488
|
-
tool: async (client,
|
|
75489
|
-
const [result, apiCall] = await pingPing(client,
|
|
76060
|
+
args: args102,
|
|
76061
|
+
tool: async (client, args103, ctx) => {
|
|
76062
|
+
const [result, apiCall] = await pingPing(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75490
76063
|
if (!result.ok) {
|
|
75491
76064
|
return {
|
|
75492
76065
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75500,9 +76073,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
75500
76073
|
|
|
75501
76074
|
// src/funcs/productsCreate.ts
|
|
75502
76075
|
function productsCreate(client, request, options) {
|
|
75503
|
-
return new APIPromise($
|
|
76076
|
+
return new APIPromise($do103(client, request, options));
|
|
75504
76077
|
}
|
|
75505
|
-
async function $
|
|
76078
|
+
async function $do103(client, request, options) {
|
|
75506
76079
|
const parsed = safeParse(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75507
76080
|
if (!parsed.ok) {
|
|
75508
76081
|
return [parsed, { status: "invalid" }];
|
|
@@ -75596,20 +76169,20 @@ var init_productsCreate = __esm(() => {
|
|
|
75596
76169
|
});
|
|
75597
76170
|
|
|
75598
76171
|
// src/mcp-server/tools/productsCreate.ts
|
|
75599
|
-
var
|
|
76172
|
+
var args103, tool$productsCreate;
|
|
75600
76173
|
var init_productsCreate2 = __esm(() => {
|
|
75601
76174
|
init_productsCreate();
|
|
75602
76175
|
init_operations();
|
|
75603
76176
|
init_tools();
|
|
75604
|
-
|
|
76177
|
+
args103 = {
|
|
75605
76178
|
request: CreateProductRequest$inboundSchema
|
|
75606
76179
|
};
|
|
75607
76180
|
tool$productsCreate = {
|
|
75608
76181
|
name: "products-create",
|
|
75609
76182
|
description: `Creates a new product for the specified account.`,
|
|
75610
|
-
args:
|
|
75611
|
-
tool: async (client,
|
|
75612
|
-
const [result, apiCall] = await productsCreate(client,
|
|
76183
|
+
args: args103,
|
|
76184
|
+
tool: async (client, args104, ctx) => {
|
|
76185
|
+
const [result, apiCall] = await productsCreate(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75613
76186
|
if (!result.ok) {
|
|
75614
76187
|
return {
|
|
75615
76188
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75624,9 +76197,9 @@ var init_productsCreate2 = __esm(() => {
|
|
|
75624
76197
|
|
|
75625
76198
|
// src/funcs/productsDisable.ts
|
|
75626
76199
|
function productsDisable(client, request, options) {
|
|
75627
|
-
return new APIPromise($
|
|
76200
|
+
return new APIPromise($do104(client, request, options));
|
|
75628
76201
|
}
|
|
75629
|
-
async function $
|
|
76202
|
+
async function $do104(client, request, options) {
|
|
75630
76203
|
const parsed = safeParse(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75631
76204
|
if (!parsed.ok) {
|
|
75632
76205
|
return [parsed, { status: "invalid" }];
|
|
@@ -75719,12 +76292,12 @@ var init_productsDisable = __esm(() => {
|
|
|
75719
76292
|
});
|
|
75720
76293
|
|
|
75721
76294
|
// src/mcp-server/tools/productsDisable.ts
|
|
75722
|
-
var
|
|
76295
|
+
var args104, tool$productsDisable;
|
|
75723
76296
|
var init_productsDisable2 = __esm(() => {
|
|
75724
76297
|
init_productsDisable();
|
|
75725
76298
|
init_operations();
|
|
75726
76299
|
init_tools();
|
|
75727
|
-
|
|
76300
|
+
args104 = {
|
|
75728
76301
|
request: DisableProductRequest$inboundSchema
|
|
75729
76302
|
};
|
|
75730
76303
|
tool$productsDisable = {
|
|
@@ -75732,9 +76305,9 @@ var init_productsDisable2 = __esm(() => {
|
|
|
75732
76305
|
description: `Disable a product by ID.
|
|
75733
76306
|
|
|
75734
76307
|
The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
|
|
75735
|
-
args:
|
|
75736
|
-
tool: async (client,
|
|
75737
|
-
const [result, apiCall] = await productsDisable(client,
|
|
76308
|
+
args: args104,
|
|
76309
|
+
tool: async (client, args105, ctx) => {
|
|
76310
|
+
const [result, apiCall] = await productsDisable(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75738
76311
|
if (!result.ok) {
|
|
75739
76312
|
return {
|
|
75740
76313
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75748,9 +76321,9 @@ The product will no longer be available, but will remain in the system for histo
|
|
|
75748
76321
|
|
|
75749
76322
|
// src/funcs/productsGet.ts
|
|
75750
76323
|
function productsGet(client, request, options) {
|
|
75751
|
-
return new APIPromise($
|
|
76324
|
+
return new APIPromise($do105(client, request, options));
|
|
75752
76325
|
}
|
|
75753
|
-
async function $
|
|
76326
|
+
async function $do105(client, request, options) {
|
|
75754
76327
|
const parsed = safeParse(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75755
76328
|
if (!parsed.ok) {
|
|
75756
76329
|
return [parsed, { status: "invalid" }];
|
|
@@ -75832,20 +76405,20 @@ var init_productsGet = __esm(() => {
|
|
|
75832
76405
|
});
|
|
75833
76406
|
|
|
75834
76407
|
// src/mcp-server/tools/productsGet.ts
|
|
75835
|
-
var
|
|
76408
|
+
var args105, tool$productsGet;
|
|
75836
76409
|
var init_productsGet2 = __esm(() => {
|
|
75837
76410
|
init_productsGet();
|
|
75838
76411
|
init_operations();
|
|
75839
76412
|
init_tools();
|
|
75840
|
-
|
|
76413
|
+
args105 = {
|
|
75841
76414
|
request: GetProductRequest$inboundSchema
|
|
75842
76415
|
};
|
|
75843
76416
|
tool$productsGet = {
|
|
75844
76417
|
name: "products-get",
|
|
75845
76418
|
description: `Retrieve a product by ID.`,
|
|
75846
|
-
args:
|
|
75847
|
-
tool: async (client,
|
|
75848
|
-
const [result, apiCall] = await productsGet(client,
|
|
76419
|
+
args: args105,
|
|
76420
|
+
tool: async (client, args106, ctx) => {
|
|
76421
|
+
const [result, apiCall] = await productsGet(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75849
76422
|
if (!result.ok) {
|
|
75850
76423
|
return {
|
|
75851
76424
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75860,9 +76433,9 @@ var init_productsGet2 = __esm(() => {
|
|
|
75860
76433
|
|
|
75861
76434
|
// src/funcs/productsList.ts
|
|
75862
76435
|
function productsList(client, request, options) {
|
|
75863
|
-
return new APIPromise($
|
|
76436
|
+
return new APIPromise($do106(client, request, options));
|
|
75864
76437
|
}
|
|
75865
|
-
async function $
|
|
76438
|
+
async function $do106(client, request, options) {
|
|
75866
76439
|
const parsed = safeParse(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75867
76440
|
if (!parsed.ok) {
|
|
75868
76441
|
return [parsed, { status: "invalid" }];
|
|
@@ -75945,20 +76518,20 @@ var init_productsList = __esm(() => {
|
|
|
75945
76518
|
});
|
|
75946
76519
|
|
|
75947
76520
|
// src/mcp-server/tools/productsList.ts
|
|
75948
|
-
var
|
|
76521
|
+
var args106, tool$productsList;
|
|
75949
76522
|
var init_productsList2 = __esm(() => {
|
|
75950
76523
|
init_productsList();
|
|
75951
76524
|
init_operations();
|
|
75952
76525
|
init_tools();
|
|
75953
|
-
|
|
76526
|
+
args106 = {
|
|
75954
76527
|
request: ListProductsRequest$inboundSchema
|
|
75955
76528
|
};
|
|
75956
76529
|
tool$productsList = {
|
|
75957
76530
|
name: "products-list",
|
|
75958
76531
|
description: `List active (non-disabled) products for an account.`,
|
|
75959
|
-
args:
|
|
75960
|
-
tool: async (client,
|
|
75961
|
-
const [result, apiCall] = await productsList(client,
|
|
76532
|
+
args: args106,
|
|
76533
|
+
tool: async (client, args107, ctx) => {
|
|
76534
|
+
const [result, apiCall] = await productsList(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75962
76535
|
if (!result.ok) {
|
|
75963
76536
|
return {
|
|
75964
76537
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75973,9 +76546,9 @@ var init_productsList2 = __esm(() => {
|
|
|
75973
76546
|
|
|
75974
76547
|
// src/funcs/productsUpdate.ts
|
|
75975
76548
|
function productsUpdate(client, request, options) {
|
|
75976
|
-
return new APIPromise($
|
|
76549
|
+
return new APIPromise($do107(client, request, options));
|
|
75977
76550
|
}
|
|
75978
|
-
async function $
|
|
76551
|
+
async function $do107(client, request, options) {
|
|
75979
76552
|
const parsed = safeParse(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75980
76553
|
if (!parsed.ok) {
|
|
75981
76554
|
return [parsed, { status: "invalid" }];
|
|
@@ -76073,20 +76646,20 @@ var init_productsUpdate = __esm(() => {
|
|
|
76073
76646
|
});
|
|
76074
76647
|
|
|
76075
76648
|
// src/mcp-server/tools/productsUpdate.ts
|
|
76076
|
-
var
|
|
76649
|
+
var args107, tool$productsUpdate;
|
|
76077
76650
|
var init_productsUpdate2 = __esm(() => {
|
|
76078
76651
|
init_productsUpdate();
|
|
76079
76652
|
init_operations();
|
|
76080
76653
|
init_tools();
|
|
76081
|
-
|
|
76654
|
+
args107 = {
|
|
76082
76655
|
request: UpdateProductRequest$inboundSchema
|
|
76083
76656
|
};
|
|
76084
76657
|
tool$productsUpdate = {
|
|
76085
76658
|
name: "products-update",
|
|
76086
76659
|
description: `Update a product and its options.`,
|
|
76087
|
-
args:
|
|
76088
|
-
tool: async (client,
|
|
76089
|
-
const [result, apiCall] = await productsUpdate(client,
|
|
76660
|
+
args: args107,
|
|
76661
|
+
tool: async (client, args108, ctx) => {
|
|
76662
|
+
const [result, apiCall] = await productsUpdate(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76090
76663
|
if (!result.ok) {
|
|
76091
76664
|
return {
|
|
76092
76665
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76101,9 +76674,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
76101
76674
|
|
|
76102
76675
|
// src/funcs/receiptsCreate.ts
|
|
76103
76676
|
function receiptsCreate(client, request, options) {
|
|
76104
|
-
return new APIPromise($
|
|
76677
|
+
return new APIPromise($do108(client, request, options));
|
|
76105
76678
|
}
|
|
76106
|
-
async function $
|
|
76679
|
+
async function $do108(client, request, options) {
|
|
76107
76680
|
const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
76108
76681
|
if (!parsed.ok) {
|
|
76109
76682
|
return [parsed, { status: "invalid" }];
|
|
@@ -76191,13 +76764,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
76191
76764
|
});
|
|
76192
76765
|
|
|
76193
76766
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
76194
|
-
var
|
|
76767
|
+
var args108, tool$receiptsCreate;
|
|
76195
76768
|
var init_receiptsCreate2 = __esm(() => {
|
|
76196
76769
|
init_esm();
|
|
76197
76770
|
init_receiptsCreate();
|
|
76198
76771
|
init_components();
|
|
76199
76772
|
init_tools();
|
|
76200
|
-
|
|
76773
|
+
args108 = {
|
|
76201
76774
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
76202
76775
|
};
|
|
76203
76776
|
tool$receiptsCreate = {
|
|
@@ -76206,9 +76779,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
76206
76779
|
|
|
76207
76780
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76208
76781
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
76209
|
-
args:
|
|
76210
|
-
tool: async (client,
|
|
76211
|
-
const [result, apiCall] = await receiptsCreate(client,
|
|
76782
|
+
args: args108,
|
|
76783
|
+
tool: async (client, args109, ctx) => {
|
|
76784
|
+
const [result, apiCall] = await receiptsCreate(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76212
76785
|
if (!result.ok) {
|
|
76213
76786
|
return {
|
|
76214
76787
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76223,9 +76796,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
76223
76796
|
|
|
76224
76797
|
// src/funcs/receiptsList.ts
|
|
76225
76798
|
function receiptsList(client, request, options) {
|
|
76226
|
-
return new APIPromise($
|
|
76799
|
+
return new APIPromise($do109(client, request, options));
|
|
76227
76800
|
}
|
|
76228
|
-
async function $
|
|
76801
|
+
async function $do109(client, request, options) {
|
|
76229
76802
|
const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76230
76803
|
if (!parsed.ok) {
|
|
76231
76804
|
return [parsed, { status: "invalid" }];
|
|
@@ -76301,12 +76874,12 @@ var init_receiptsList = __esm(() => {
|
|
|
76301
76874
|
});
|
|
76302
76875
|
|
|
76303
76876
|
// src/mcp-server/tools/receiptsList.ts
|
|
76304
|
-
var
|
|
76877
|
+
var args109, tool$receiptsList;
|
|
76305
76878
|
var init_receiptsList2 = __esm(() => {
|
|
76306
76879
|
init_receiptsList();
|
|
76307
76880
|
init_operations();
|
|
76308
76881
|
init_tools();
|
|
76309
|
-
|
|
76882
|
+
args109 = {
|
|
76310
76883
|
request: ListReceiptsRequest$inboundSchema
|
|
76311
76884
|
};
|
|
76312
76885
|
tool$receiptsList = {
|
|
@@ -76315,9 +76888,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
76315
76888
|
|
|
76316
76889
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76317
76890
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
76318
|
-
args:
|
|
76319
|
-
tool: async (client,
|
|
76320
|
-
const [result, apiCall] = await receiptsList(client,
|
|
76891
|
+
args: args109,
|
|
76892
|
+
tool: async (client, args110, ctx) => {
|
|
76893
|
+
const [result, apiCall] = await receiptsList(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76321
76894
|
if (!result.ok) {
|
|
76322
76895
|
return {
|
|
76323
76896
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76332,9 +76905,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
76332
76905
|
|
|
76333
76906
|
// src/funcs/representativesCreate.ts
|
|
76334
76907
|
function representativesCreate(client, request, options) {
|
|
76335
|
-
return new APIPromise($
|
|
76908
|
+
return new APIPromise($do110(client, request, options));
|
|
76336
76909
|
}
|
|
76337
|
-
async function $
|
|
76910
|
+
async function $do110(client, request, options) {
|
|
76338
76911
|
const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76339
76912
|
if (!parsed.ok) {
|
|
76340
76913
|
return [parsed, { status: "invalid" }];
|
|
@@ -76430,12 +77003,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
76430
77003
|
});
|
|
76431
77004
|
|
|
76432
77005
|
// src/mcp-server/tools/representativesCreate.ts
|
|
76433
|
-
var
|
|
77006
|
+
var args110, tool$representativesCreate;
|
|
76434
77007
|
var init_representativesCreate2 = __esm(() => {
|
|
76435
77008
|
init_representativesCreate();
|
|
76436
77009
|
init_operations();
|
|
76437
77010
|
init_tools();
|
|
76438
|
-
|
|
77011
|
+
args110 = {
|
|
76439
77012
|
request: CreateRepresentativeRequest$inboundSchema
|
|
76440
77013
|
};
|
|
76441
77014
|
tool$representativesCreate = {
|
|
@@ -76446,9 +77019,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
76446
77019
|
|
|
76447
77020
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76448
77021
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
76449
|
-
args:
|
|
76450
|
-
tool: async (client,
|
|
76451
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
77022
|
+
args: args110,
|
|
77023
|
+
tool: async (client, args111, ctx) => {
|
|
77024
|
+
const [result, apiCall] = await representativesCreate(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76452
77025
|
if (!result.ok) {
|
|
76453
77026
|
return {
|
|
76454
77027
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76463,9 +77036,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
76463
77036
|
|
|
76464
77037
|
// src/funcs/representativesDelete.ts
|
|
76465
77038
|
function representativesDelete(client, request, options) {
|
|
76466
|
-
return new APIPromise($
|
|
77039
|
+
return new APIPromise($do111(client, request, options));
|
|
76467
77040
|
}
|
|
76468
|
-
async function $
|
|
77041
|
+
async function $do111(client, request, options) {
|
|
76469
77042
|
const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76470
77043
|
if (!parsed.ok) {
|
|
76471
77044
|
return [parsed, { status: "invalid" }];
|
|
@@ -76553,12 +77126,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
76553
77126
|
});
|
|
76554
77127
|
|
|
76555
77128
|
// src/mcp-server/tools/representativesDelete.ts
|
|
76556
|
-
var
|
|
77129
|
+
var args111, tool$representativesDelete;
|
|
76557
77130
|
var init_representativesDelete2 = __esm(() => {
|
|
76558
77131
|
init_representativesDelete();
|
|
76559
77132
|
init_operations();
|
|
76560
77133
|
init_tools();
|
|
76561
|
-
|
|
77134
|
+
args111 = {
|
|
76562
77135
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
76563
77136
|
};
|
|
76564
77137
|
tool$representativesDelete = {
|
|
@@ -76567,9 +77140,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
76567
77140
|
|
|
76568
77141
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76569
77142
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
76570
|
-
args:
|
|
76571
|
-
tool: async (client,
|
|
76572
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
77143
|
+
args: args111,
|
|
77144
|
+
tool: async (client, args112, ctx) => {
|
|
77145
|
+
const [result, apiCall] = await representativesDelete(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76573
77146
|
if (!result.ok) {
|
|
76574
77147
|
return {
|
|
76575
77148
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76583,9 +77156,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
76583
77156
|
|
|
76584
77157
|
// src/funcs/representativesGet.ts
|
|
76585
77158
|
function representativesGet(client, request, options) {
|
|
76586
|
-
return new APIPromise($
|
|
77159
|
+
return new APIPromise($do112(client, request, options));
|
|
76587
77160
|
}
|
|
76588
|
-
async function $
|
|
77161
|
+
async function $do112(client, request, options) {
|
|
76589
77162
|
const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76590
77163
|
if (!parsed.ok) {
|
|
76591
77164
|
return [parsed, { status: "invalid" }];
|
|
@@ -76664,12 +77237,12 @@ var init_representativesGet = __esm(() => {
|
|
|
76664
77237
|
});
|
|
76665
77238
|
|
|
76666
77239
|
// src/mcp-server/tools/representativesGet.ts
|
|
76667
|
-
var
|
|
77240
|
+
var args112, tool$representativesGet;
|
|
76668
77241
|
var init_representativesGet2 = __esm(() => {
|
|
76669
77242
|
init_representativesGet();
|
|
76670
77243
|
init_operations();
|
|
76671
77244
|
init_tools();
|
|
76672
|
-
|
|
77245
|
+
args112 = {
|
|
76673
77246
|
request: GetRepresentativeRequest$inboundSchema
|
|
76674
77247
|
};
|
|
76675
77248
|
tool$representativesGet = {
|
|
@@ -76678,9 +77251,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
76678
77251
|
|
|
76679
77252
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76680
77253
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
76681
|
-
args:
|
|
76682
|
-
tool: async (client,
|
|
76683
|
-
const [result, apiCall] = await representativesGet(client,
|
|
77254
|
+
args: args112,
|
|
77255
|
+
tool: async (client, args113, ctx) => {
|
|
77256
|
+
const [result, apiCall] = await representativesGet(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76684
77257
|
if (!result.ok) {
|
|
76685
77258
|
return {
|
|
76686
77259
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76695,9 +77268,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
76695
77268
|
|
|
76696
77269
|
// src/funcs/representativesList.ts
|
|
76697
77270
|
function representativesList(client, request, options) {
|
|
76698
|
-
return new APIPromise($
|
|
77271
|
+
return new APIPromise($do113(client, request, options));
|
|
76699
77272
|
}
|
|
76700
|
-
async function $
|
|
77273
|
+
async function $do113(client, request, options) {
|
|
76701
77274
|
const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76702
77275
|
if (!parsed.ok) {
|
|
76703
77276
|
return [parsed, { status: "invalid" }];
|
|
@@ -76775,12 +77348,12 @@ var init_representativesList = __esm(() => {
|
|
|
76775
77348
|
});
|
|
76776
77349
|
|
|
76777
77350
|
// src/mcp-server/tools/representativesList.ts
|
|
76778
|
-
var
|
|
77351
|
+
var args113, tool$representativesList;
|
|
76779
77352
|
var init_representativesList2 = __esm(() => {
|
|
76780
77353
|
init_representativesList();
|
|
76781
77354
|
init_operations();
|
|
76782
77355
|
init_tools();
|
|
76783
|
-
|
|
77356
|
+
args113 = {
|
|
76784
77357
|
request: ListRepresentativesRequest$inboundSchema
|
|
76785
77358
|
};
|
|
76786
77359
|
tool$representativesList = {
|
|
@@ -76792,9 +77365,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
76792
77365
|
|
|
76793
77366
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76794
77367
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
76795
|
-
args:
|
|
76796
|
-
tool: async (client,
|
|
76797
|
-
const [result, apiCall] = await representativesList(client,
|
|
77368
|
+
args: args113,
|
|
77369
|
+
tool: async (client, args114, ctx) => {
|
|
77370
|
+
const [result, apiCall] = await representativesList(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76798
77371
|
if (!result.ok) {
|
|
76799
77372
|
return {
|
|
76800
77373
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76809,9 +77382,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
76809
77382
|
|
|
76810
77383
|
// src/funcs/representativesUpdate.ts
|
|
76811
77384
|
function representativesUpdate(client, request, options) {
|
|
76812
|
-
return new APIPromise($
|
|
77385
|
+
return new APIPromise($do114(client, request, options));
|
|
76813
77386
|
}
|
|
76814
|
-
async function $
|
|
77387
|
+
async function $do114(client, request, options) {
|
|
76815
77388
|
const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76816
77389
|
if (!parsed.ok) {
|
|
76817
77390
|
return [parsed, { status: "invalid" }];
|
|
@@ -76905,12 +77478,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
76905
77478
|
});
|
|
76906
77479
|
|
|
76907
77480
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
76908
|
-
var
|
|
77481
|
+
var args114, tool$representativesUpdate;
|
|
76909
77482
|
var init_representativesUpdate2 = __esm(() => {
|
|
76910
77483
|
init_representativesUpdate();
|
|
76911
77484
|
init_operations();
|
|
76912
77485
|
init_tools();
|
|
76913
|
-
|
|
77486
|
+
args114 = {
|
|
76914
77487
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
76915
77488
|
};
|
|
76916
77489
|
tool$representativesUpdate = {
|
|
@@ -76932,9 +77505,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
76932
77505
|
|
|
76933
77506
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76934
77507
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
76935
|
-
args:
|
|
76936
|
-
tool: async (client,
|
|
76937
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
77508
|
+
args: args114,
|
|
77509
|
+
tool: async (client, args115, ctx) => {
|
|
77510
|
+
const [result, apiCall] = await representativesUpdate(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76938
77511
|
if (!result.ok) {
|
|
76939
77512
|
return {
|
|
76940
77513
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76949,9 +77522,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
76949
77522
|
|
|
76950
77523
|
// src/funcs/schedulingCancel.ts
|
|
76951
77524
|
function schedulingCancel(client, request, options) {
|
|
76952
|
-
return new APIPromise($
|
|
77525
|
+
return new APIPromise($do115(client, request, options));
|
|
76953
77526
|
}
|
|
76954
|
-
async function $
|
|
77527
|
+
async function $do115(client, request, options) {
|
|
76955
77528
|
const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76956
77529
|
if (!parsed.ok) {
|
|
76957
77530
|
return [parsed, { status: "invalid" }];
|
|
@@ -77044,12 +77617,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
77044
77617
|
});
|
|
77045
77618
|
|
|
77046
77619
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
77047
|
-
var
|
|
77620
|
+
var args115, tool$schedulingCancel;
|
|
77048
77621
|
var init_schedulingCancel2 = __esm(() => {
|
|
77049
77622
|
init_schedulingCancel();
|
|
77050
77623
|
init_operations();
|
|
77051
77624
|
init_tools();
|
|
77052
|
-
|
|
77625
|
+
args115 = {
|
|
77053
77626
|
request: CancelScheduleRequest$inboundSchema
|
|
77054
77627
|
};
|
|
77055
77628
|
tool$schedulingCancel = {
|
|
@@ -77058,9 +77631,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
77058
77631
|
|
|
77059
77632
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77060
77633
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77061
|
-
args:
|
|
77062
|
-
tool: async (client,
|
|
77063
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
77634
|
+
args: args115,
|
|
77635
|
+
tool: async (client, args116, ctx) => {
|
|
77636
|
+
const [result, apiCall] = await schedulingCancel(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77064
77637
|
if (!result.ok) {
|
|
77065
77638
|
return {
|
|
77066
77639
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77074,9 +77647,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77074
77647
|
|
|
77075
77648
|
// src/funcs/schedulingCreate.ts
|
|
77076
77649
|
function schedulingCreate(client, request, options) {
|
|
77077
|
-
return new APIPromise($
|
|
77650
|
+
return new APIPromise($do116(client, request, options));
|
|
77078
77651
|
}
|
|
77079
|
-
async function $
|
|
77652
|
+
async function $do116(client, request, options) {
|
|
77080
77653
|
const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77081
77654
|
if (!parsed.ok) {
|
|
77082
77655
|
return [parsed, { status: "invalid" }];
|
|
@@ -77170,12 +77743,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
77170
77743
|
});
|
|
77171
77744
|
|
|
77172
77745
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
77173
|
-
var
|
|
77746
|
+
var args116, tool$schedulingCreate;
|
|
77174
77747
|
var init_schedulingCreate2 = __esm(() => {
|
|
77175
77748
|
init_schedulingCreate();
|
|
77176
77749
|
init_operations();
|
|
77177
77750
|
init_tools();
|
|
77178
|
-
|
|
77751
|
+
args116 = {
|
|
77179
77752
|
request: CreateScheduleRequest$inboundSchema
|
|
77180
77753
|
};
|
|
77181
77754
|
tool$schedulingCreate = {
|
|
@@ -77184,9 +77757,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
77184
77757
|
|
|
77185
77758
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77186
77759
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77187
|
-
args:
|
|
77188
|
-
tool: async (client,
|
|
77189
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
77760
|
+
args: args116,
|
|
77761
|
+
tool: async (client, args117, ctx) => {
|
|
77762
|
+
const [result, apiCall] = await schedulingCreate(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77190
77763
|
if (!result.ok) {
|
|
77191
77764
|
return {
|
|
77192
77765
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77201,9 +77774,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77201
77774
|
|
|
77202
77775
|
// src/funcs/schedulingGet.ts
|
|
77203
77776
|
function schedulingGet(client, request, options) {
|
|
77204
|
-
return new APIPromise($
|
|
77777
|
+
return new APIPromise($do117(client, request, options));
|
|
77205
77778
|
}
|
|
77206
|
-
async function $
|
|
77779
|
+
async function $do117(client, request, options) {
|
|
77207
77780
|
const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77208
77781
|
if (!parsed.ok) {
|
|
77209
77782
|
return [parsed, { status: "invalid" }];
|
|
@@ -77285,12 +77858,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
77285
77858
|
});
|
|
77286
77859
|
|
|
77287
77860
|
// src/mcp-server/tools/schedulingGet.ts
|
|
77288
|
-
var
|
|
77861
|
+
var args117, tool$schedulingGet;
|
|
77289
77862
|
var init_schedulingGet2 = __esm(() => {
|
|
77290
77863
|
init_schedulingGet();
|
|
77291
77864
|
init_operations();
|
|
77292
77865
|
init_tools();
|
|
77293
|
-
|
|
77866
|
+
args117 = {
|
|
77294
77867
|
request: GetSchedulesRequest$inboundSchema
|
|
77295
77868
|
};
|
|
77296
77869
|
tool$schedulingGet = {
|
|
@@ -77299,9 +77872,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
77299
77872
|
|
|
77300
77873
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77301
77874
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77302
|
-
args:
|
|
77303
|
-
tool: async (client,
|
|
77304
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
77875
|
+
args: args117,
|
|
77876
|
+
tool: async (client, args118, ctx) => {
|
|
77877
|
+
const [result, apiCall] = await schedulingGet(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77305
77878
|
if (!result.ok) {
|
|
77306
77879
|
return {
|
|
77307
77880
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77316,9 +77889,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77316
77889
|
|
|
77317
77890
|
// src/funcs/schedulingGetOccurrance.ts
|
|
77318
77891
|
function schedulingGetOccurrance(client, request, options) {
|
|
77319
|
-
return new APIPromise($
|
|
77892
|
+
return new APIPromise($do118(client, request, options));
|
|
77320
77893
|
}
|
|
77321
|
-
async function $
|
|
77894
|
+
async function $do118(client, request, options) {
|
|
77322
77895
|
const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77323
77896
|
if (!parsed.ok) {
|
|
77324
77897
|
return [parsed, { status: "invalid" }];
|
|
@@ -77401,12 +77974,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
77401
77974
|
});
|
|
77402
77975
|
|
|
77403
77976
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
77404
|
-
var
|
|
77977
|
+
var args118, tool$schedulingGetOccurrance;
|
|
77405
77978
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
77406
77979
|
init_schedulingGetOccurrance();
|
|
77407
77980
|
init_operations();
|
|
77408
77981
|
init_tools();
|
|
77409
|
-
|
|
77982
|
+
args118 = {
|
|
77410
77983
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
77411
77984
|
};
|
|
77412
77985
|
tool$schedulingGetOccurrance = {
|
|
@@ -77415,9 +77988,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
77415
77988
|
|
|
77416
77989
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77417
77990
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77418
|
-
args:
|
|
77419
|
-
tool: async (client,
|
|
77420
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
77991
|
+
args: args118,
|
|
77992
|
+
tool: async (client, args119, ctx) => {
|
|
77993
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77421
77994
|
if (!result.ok) {
|
|
77422
77995
|
return {
|
|
77423
77996
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77432,9 +78005,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77432
78005
|
|
|
77433
78006
|
// src/funcs/schedulingList.ts
|
|
77434
78007
|
function schedulingList(client, request, options) {
|
|
77435
|
-
return new APIPromise($
|
|
78008
|
+
return new APIPromise($do119(client, request, options));
|
|
77436
78009
|
}
|
|
77437
|
-
async function $
|
|
78010
|
+
async function $do119(client, request, options) {
|
|
77438
78011
|
const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77439
78012
|
if (!parsed.ok) {
|
|
77440
78013
|
return [parsed, { status: "invalid" }];
|
|
@@ -77518,12 +78091,12 @@ var init_schedulingList = __esm(() => {
|
|
|
77518
78091
|
});
|
|
77519
78092
|
|
|
77520
78093
|
// src/mcp-server/tools/schedulingList.ts
|
|
77521
|
-
var
|
|
78094
|
+
var args119, tool$schedulingList;
|
|
77522
78095
|
var init_schedulingList2 = __esm(() => {
|
|
77523
78096
|
init_schedulingList();
|
|
77524
78097
|
init_operations();
|
|
77525
78098
|
init_tools();
|
|
77526
|
-
|
|
78099
|
+
args119 = {
|
|
77527
78100
|
request: ListSchedulesRequest$inboundSchema
|
|
77528
78101
|
};
|
|
77529
78102
|
tool$schedulingList = {
|
|
@@ -77532,9 +78105,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
77532
78105
|
|
|
77533
78106
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77534
78107
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77535
|
-
args:
|
|
77536
|
-
tool: async (client,
|
|
77537
|
-
const [result, apiCall] = await schedulingList(client,
|
|
78108
|
+
args: args119,
|
|
78109
|
+
tool: async (client, args120, ctx) => {
|
|
78110
|
+
const [result, apiCall] = await schedulingList(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77538
78111
|
if (!result.ok) {
|
|
77539
78112
|
return {
|
|
77540
78113
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77549,9 +78122,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77549
78122
|
|
|
77550
78123
|
// src/funcs/schedulingUpdate.ts
|
|
77551
78124
|
function schedulingUpdate(client, request, options) {
|
|
77552
|
-
return new APIPromise($
|
|
78125
|
+
return new APIPromise($do120(client, request, options));
|
|
77553
78126
|
}
|
|
77554
|
-
async function $
|
|
78127
|
+
async function $do120(client, request, options) {
|
|
77555
78128
|
const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77556
78129
|
if (!parsed.ok) {
|
|
77557
78130
|
return [parsed, { status: "invalid" }];
|
|
@@ -77649,12 +78222,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
77649
78222
|
});
|
|
77650
78223
|
|
|
77651
78224
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
77652
|
-
var
|
|
78225
|
+
var args120, tool$schedulingUpdate;
|
|
77653
78226
|
var init_schedulingUpdate2 = __esm(() => {
|
|
77654
78227
|
init_schedulingUpdate();
|
|
77655
78228
|
init_operations();
|
|
77656
78229
|
init_tools();
|
|
77657
|
-
|
|
78230
|
+
args120 = {
|
|
77658
78231
|
request: UpdateScheduleRequest$inboundSchema
|
|
77659
78232
|
};
|
|
77660
78233
|
tool$schedulingUpdate = {
|
|
@@ -77663,9 +78236,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
77663
78236
|
|
|
77664
78237
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77665
78238
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77666
|
-
args:
|
|
77667
|
-
tool: async (client,
|
|
77668
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
78239
|
+
args: args120,
|
|
78240
|
+
tool: async (client, args121, ctx) => {
|
|
78241
|
+
const [result, apiCall] = await schedulingUpdate(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77669
78242
|
if (!result.ok) {
|
|
77670
78243
|
return {
|
|
77671
78244
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77680,9 +78253,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77680
78253
|
|
|
77681
78254
|
// src/funcs/statementsGet.ts
|
|
77682
78255
|
function statementsGet(client, request, options) {
|
|
77683
|
-
return new APIPromise($
|
|
78256
|
+
return new APIPromise($do121(client, request, options));
|
|
77684
78257
|
}
|
|
77685
|
-
async function $
|
|
78258
|
+
async function $do121(client, request, options) {
|
|
77686
78259
|
const parsed = safeParse(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77687
78260
|
if (!parsed.ok) {
|
|
77688
78261
|
return [parsed, { status: "invalid" }];
|
|
@@ -77768,12 +78341,12 @@ var init_statementsGet = __esm(() => {
|
|
|
77768
78341
|
});
|
|
77769
78342
|
|
|
77770
78343
|
// src/mcp-server/tools/statementsGet.ts
|
|
77771
|
-
var
|
|
78344
|
+
var args121, tool$statementsGet;
|
|
77772
78345
|
var init_statementsGet2 = __esm(() => {
|
|
77773
78346
|
init_statementsGet();
|
|
77774
78347
|
init_operations();
|
|
77775
78348
|
init_tools();
|
|
77776
|
-
|
|
78349
|
+
args121 = {
|
|
77777
78350
|
request: GetStatementRequest$inboundSchema
|
|
77778
78351
|
};
|
|
77779
78352
|
tool$statementsGet = {
|
|
@@ -77784,9 +78357,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
77784
78357
|
|
|
77785
78358
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77786
78359
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
77787
|
-
args:
|
|
77788
|
-
tool: async (client,
|
|
77789
|
-
const [result, apiCall] = await statementsGet(client,
|
|
78360
|
+
args: args121,
|
|
78361
|
+
tool: async (client, args122, ctx) => {
|
|
78362
|
+
const [result, apiCall] = await statementsGet(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77790
78363
|
if (!result.ok) {
|
|
77791
78364
|
return {
|
|
77792
78365
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77801,9 +78374,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
77801
78374
|
|
|
77802
78375
|
// src/funcs/statementsList.ts
|
|
77803
78376
|
function statementsList(client, request, options) {
|
|
77804
|
-
return new APIPromise($
|
|
78377
|
+
return new APIPromise($do122(client, request, options));
|
|
77805
78378
|
}
|
|
77806
|
-
async function $
|
|
78379
|
+
async function $do122(client, request, options) {
|
|
77807
78380
|
const parsed = safeParse(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77808
78381
|
if (!parsed.ok) {
|
|
77809
78382
|
return [parsed, { status: "invalid" }];
|
|
@@ -77889,12 +78462,12 @@ var init_statementsList = __esm(() => {
|
|
|
77889
78462
|
});
|
|
77890
78463
|
|
|
77891
78464
|
// src/mcp-server/tools/statementsList.ts
|
|
77892
|
-
var
|
|
78465
|
+
var args122, tool$statementsList;
|
|
77893
78466
|
var init_statementsList2 = __esm(() => {
|
|
77894
78467
|
init_statementsList();
|
|
77895
78468
|
init_operations();
|
|
77896
78469
|
init_tools();
|
|
77897
|
-
|
|
78470
|
+
args122 = {
|
|
77898
78471
|
request: ListStatementsRequest$inboundSchema
|
|
77899
78472
|
};
|
|
77900
78473
|
tool$statementsList = {
|
|
@@ -77903,9 +78476,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
77903
78476
|
|
|
77904
78477
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77905
78478
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
77906
|
-
args:
|
|
77907
|
-
tool: async (client,
|
|
77908
|
-
const [result, apiCall] = await statementsList(client,
|
|
78479
|
+
args: args122,
|
|
78480
|
+
tool: async (client, args123, ctx) => {
|
|
78481
|
+
const [result, apiCall] = await statementsList(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77909
78482
|
if (!result.ok) {
|
|
77910
78483
|
return {
|
|
77911
78484
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77920,9 +78493,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
77920
78493
|
|
|
77921
78494
|
// src/funcs/supportCreateTicket.ts
|
|
77922
78495
|
function supportCreateTicket(client, request, options) {
|
|
77923
|
-
return new APIPromise($
|
|
78496
|
+
return new APIPromise($do123(client, request, options));
|
|
77924
78497
|
}
|
|
77925
|
-
async function $
|
|
78498
|
+
async function $do123(client, request, options) {
|
|
77926
78499
|
const parsed = safeParse(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77927
78500
|
if (!parsed.ok) {
|
|
77928
78501
|
return [parsed, { status: "invalid" }];
|
|
@@ -78014,12 +78587,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
78014
78587
|
});
|
|
78015
78588
|
|
|
78016
78589
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
78017
|
-
var
|
|
78590
|
+
var args123, tool$supportCreateTicket;
|
|
78018
78591
|
var init_supportCreateTicket2 = __esm(() => {
|
|
78019
78592
|
init_supportCreateTicket();
|
|
78020
78593
|
init_operations();
|
|
78021
78594
|
init_tools();
|
|
78022
|
-
|
|
78595
|
+
args123 = {
|
|
78023
78596
|
request: CreateTicketRequest$inboundSchema
|
|
78024
78597
|
};
|
|
78025
78598
|
tool$supportCreateTicket = {
|
|
@@ -78031,9 +78604,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
78031
78604
|
|
|
78032
78605
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
78033
78606
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78034
|
-
args:
|
|
78035
|
-
tool: async (client,
|
|
78036
|
-
const [result, apiCall] = await supportCreateTicket(client,
|
|
78607
|
+
args: args123,
|
|
78608
|
+
tool: async (client, args124, ctx) => {
|
|
78609
|
+
const [result, apiCall] = await supportCreateTicket(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78037
78610
|
if (!result.ok) {
|
|
78038
78611
|
return {
|
|
78039
78612
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78048,9 +78621,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
78048
78621
|
|
|
78049
78622
|
// src/funcs/supportGetTicket.ts
|
|
78050
78623
|
function supportGetTicket(client, request, options) {
|
|
78051
|
-
return new APIPromise($
|
|
78624
|
+
return new APIPromise($do124(client, request, options));
|
|
78052
78625
|
}
|
|
78053
|
-
async function $
|
|
78626
|
+
async function $do124(client, request, options) {
|
|
78054
78627
|
const parsed = safeParse(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78055
78628
|
if (!parsed.ok) {
|
|
78056
78629
|
return [parsed, { status: "invalid" }];
|
|
@@ -78132,12 +78705,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
78132
78705
|
});
|
|
78133
78706
|
|
|
78134
78707
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
78135
|
-
var
|
|
78708
|
+
var args124, tool$supportGetTicket;
|
|
78136
78709
|
var init_supportGetTicket2 = __esm(() => {
|
|
78137
78710
|
init_supportGetTicket();
|
|
78138
78711
|
init_operations();
|
|
78139
78712
|
init_tools();
|
|
78140
|
-
|
|
78713
|
+
args124 = {
|
|
78141
78714
|
request: GetTicketRequest$inboundSchema
|
|
78142
78715
|
};
|
|
78143
78716
|
tool$supportGetTicket = {
|
|
@@ -78149,9 +78722,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
78149
78722
|
|
|
78150
78723
|
If you're retrieving another account's ticket, then you'll need to
|
|
78151
78724
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78152
|
-
args:
|
|
78153
|
-
tool: async (client,
|
|
78154
|
-
const [result, apiCall] = await supportGetTicket(client,
|
|
78725
|
+
args: args124,
|
|
78726
|
+
tool: async (client, args125, ctx) => {
|
|
78727
|
+
const [result, apiCall] = await supportGetTicket(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78155
78728
|
if (!result.ok) {
|
|
78156
78729
|
return {
|
|
78157
78730
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78166,9 +78739,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
78166
78739
|
|
|
78167
78740
|
// src/funcs/supportListTicketMessages.ts
|
|
78168
78741
|
function supportListTicketMessages(client, request, options) {
|
|
78169
|
-
return new APIPromise($
|
|
78742
|
+
return new APIPromise($do125(client, request, options));
|
|
78170
78743
|
}
|
|
78171
|
-
async function $
|
|
78744
|
+
async function $do125(client, request, options) {
|
|
78172
78745
|
const parsed = safeParse(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78173
78746
|
if (!parsed.ok) {
|
|
78174
78747
|
return [parsed, { status: "invalid" }];
|
|
@@ -78250,12 +78823,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
78250
78823
|
});
|
|
78251
78824
|
|
|
78252
78825
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
78253
|
-
var
|
|
78826
|
+
var args125, tool$supportListTicketMessages;
|
|
78254
78827
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
78255
78828
|
init_supportListTicketMessages();
|
|
78256
78829
|
init_operations();
|
|
78257
78830
|
init_tools();
|
|
78258
|
-
|
|
78831
|
+
args125 = {
|
|
78259
78832
|
request: ListTicketMessagesRequest$inboundSchema
|
|
78260
78833
|
};
|
|
78261
78834
|
tool$supportListTicketMessages = {
|
|
@@ -78267,9 +78840,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
78267
78840
|
|
|
78268
78841
|
If you're listing another account's messages, then you'll need to
|
|
78269
78842
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78270
|
-
args:
|
|
78271
|
-
tool: async (client,
|
|
78272
|
-
const [result, apiCall] = await supportListTicketMessages(client,
|
|
78843
|
+
args: args125,
|
|
78844
|
+
tool: async (client, args126, ctx) => {
|
|
78845
|
+
const [result, apiCall] = await supportListTicketMessages(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78273
78846
|
if (!result.ok) {
|
|
78274
78847
|
return {
|
|
78275
78848
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78284,9 +78857,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
78284
78857
|
|
|
78285
78858
|
// src/funcs/supportListTickets.ts
|
|
78286
78859
|
function supportListTickets(client, request, options) {
|
|
78287
|
-
return new APIPromise($
|
|
78860
|
+
return new APIPromise($do126(client, request, options));
|
|
78288
78861
|
}
|
|
78289
|
-
async function $
|
|
78862
|
+
async function $do126(client, request, options) {
|
|
78290
78863
|
const parsed = safeParse(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78291
78864
|
if (!parsed.ok) {
|
|
78292
78865
|
return [parsed, { status: "invalid" }];
|
|
@@ -78371,12 +78944,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
78371
78944
|
});
|
|
78372
78945
|
|
|
78373
78946
|
// src/mcp-server/tools/supportListTickets.ts
|
|
78374
|
-
var
|
|
78947
|
+
var args126, tool$supportListTickets;
|
|
78375
78948
|
var init_supportListTickets2 = __esm(() => {
|
|
78376
78949
|
init_supportListTickets();
|
|
78377
78950
|
init_operations();
|
|
78378
78951
|
init_tools();
|
|
78379
|
-
|
|
78952
|
+
args126 = {
|
|
78380
78953
|
request: ListTicketsRequest$inboundSchema
|
|
78381
78954
|
};
|
|
78382
78955
|
tool$supportListTickets = {
|
|
@@ -78388,9 +78961,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
78388
78961
|
|
|
78389
78962
|
If you're listing another account's tickets, then you'll need to
|
|
78390
78963
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78391
|
-
args:
|
|
78392
|
-
tool: async (client,
|
|
78393
|
-
const [result, apiCall] = await supportListTickets(client,
|
|
78964
|
+
args: args126,
|
|
78965
|
+
tool: async (client, args127, ctx) => {
|
|
78966
|
+
const [result, apiCall] = await supportListTickets(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78394
78967
|
if (!result.ok) {
|
|
78395
78968
|
return {
|
|
78396
78969
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78405,9 +78978,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
78405
78978
|
|
|
78406
78979
|
// src/funcs/supportUpdateTicket.ts
|
|
78407
78980
|
function supportUpdateTicket(client, request, options) {
|
|
78408
|
-
return new APIPromise($
|
|
78981
|
+
return new APIPromise($do127(client, request, options));
|
|
78409
78982
|
}
|
|
78410
|
-
async function $
|
|
78983
|
+
async function $do127(client, request, options) {
|
|
78411
78984
|
const parsed = safeParse(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78412
78985
|
if (!parsed.ok) {
|
|
78413
78986
|
return [parsed, { status: "invalid" }];
|
|
@@ -78503,12 +79076,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
78503
79076
|
});
|
|
78504
79077
|
|
|
78505
79078
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
78506
|
-
var
|
|
79079
|
+
var args127, tool$supportUpdateTicket;
|
|
78507
79080
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
78508
79081
|
init_supportUpdateTicket();
|
|
78509
79082
|
init_operations();
|
|
78510
79083
|
init_tools();
|
|
78511
|
-
|
|
79084
|
+
args127 = {
|
|
78512
79085
|
request: UpdateTicketRequest$inboundSchema
|
|
78513
79086
|
};
|
|
78514
79087
|
tool$supportUpdateTicket = {
|
|
@@ -78520,9 +79093,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
78520
79093
|
|
|
78521
79094
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
78522
79095
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78523
|
-
args:
|
|
78524
|
-
tool: async (client,
|
|
78525
|
-
const [result, apiCall] = await supportUpdateTicket(client,
|
|
79096
|
+
args: args127,
|
|
79097
|
+
tool: async (client, args128, ctx) => {
|
|
79098
|
+
const [result, apiCall] = await supportUpdateTicket(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78526
79099
|
if (!result.ok) {
|
|
78527
79100
|
return {
|
|
78528
79101
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78537,9 +79110,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
78537
79110
|
|
|
78538
79111
|
// src/funcs/sweepsCreateConfig.ts
|
|
78539
79112
|
function sweepsCreateConfig(client, request, options) {
|
|
78540
|
-
return new APIPromise($
|
|
79113
|
+
return new APIPromise($do128(client, request, options));
|
|
78541
79114
|
}
|
|
78542
|
-
async function $
|
|
79115
|
+
async function $do128(client, request, options) {
|
|
78543
79116
|
const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78544
79117
|
if (!parsed.ok) {
|
|
78545
79118
|
return [parsed, { status: "invalid" }];
|
|
@@ -78631,12 +79204,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
78631
79204
|
});
|
|
78632
79205
|
|
|
78633
79206
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
78634
|
-
var
|
|
79207
|
+
var args128, tool$sweepsCreateConfig;
|
|
78635
79208
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
78636
79209
|
init_sweepsCreateConfig();
|
|
78637
79210
|
init_operations();
|
|
78638
79211
|
init_tools();
|
|
78639
|
-
|
|
79212
|
+
args128 = {
|
|
78640
79213
|
request: CreateSweepConfigRequest$inboundSchema
|
|
78641
79214
|
};
|
|
78642
79215
|
tool$sweepsCreateConfig = {
|
|
@@ -78645,9 +79218,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
78645
79218
|
|
|
78646
79219
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78647
79220
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
78648
|
-
args:
|
|
78649
|
-
tool: async (client,
|
|
78650
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
79221
|
+
args: args128,
|
|
79222
|
+
tool: async (client, args129, ctx) => {
|
|
79223
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78651
79224
|
if (!result.ok) {
|
|
78652
79225
|
return {
|
|
78653
79226
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78662,9 +79235,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
78662
79235
|
|
|
78663
79236
|
// src/funcs/sweepsGet.ts
|
|
78664
79237
|
function sweepsGet(client, request, options) {
|
|
78665
|
-
return new APIPromise($
|
|
79238
|
+
return new APIPromise($do129(client, request, options));
|
|
78666
79239
|
}
|
|
78667
|
-
async function $
|
|
79240
|
+
async function $do129(client, request, options) {
|
|
78668
79241
|
const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78669
79242
|
if (!parsed.ok) {
|
|
78670
79243
|
return [parsed, { status: "invalid" }];
|
|
@@ -78750,12 +79323,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
78750
79323
|
});
|
|
78751
79324
|
|
|
78752
79325
|
// src/mcp-server/tools/sweepsGet.ts
|
|
78753
|
-
var
|
|
79326
|
+
var args129, tool$sweepsGet;
|
|
78754
79327
|
var init_sweepsGet2 = __esm(() => {
|
|
78755
79328
|
init_sweepsGet();
|
|
78756
79329
|
init_operations();
|
|
78757
79330
|
init_tools();
|
|
78758
|
-
|
|
79331
|
+
args129 = {
|
|
78759
79332
|
request: GetSweepRequest$inboundSchema
|
|
78760
79333
|
};
|
|
78761
79334
|
tool$sweepsGet = {
|
|
@@ -78764,9 +79337,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
78764
79337
|
|
|
78765
79338
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78766
79339
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
78767
|
-
args:
|
|
78768
|
-
tool: async (client,
|
|
78769
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
79340
|
+
args: args129,
|
|
79341
|
+
tool: async (client, args130, ctx) => {
|
|
79342
|
+
const [result, apiCall] = await sweepsGet(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78770
79343
|
if (!result.ok) {
|
|
78771
79344
|
return {
|
|
78772
79345
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78781,9 +79354,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
78781
79354
|
|
|
78782
79355
|
// src/funcs/sweepsGetConfig.ts
|
|
78783
79356
|
function sweepsGetConfig(client, request, options) {
|
|
78784
|
-
return new APIPromise($
|
|
79357
|
+
return new APIPromise($do130(client, request, options));
|
|
78785
79358
|
}
|
|
78786
|
-
async function $
|
|
79359
|
+
async function $do130(client, request, options) {
|
|
78787
79360
|
const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78788
79361
|
if (!parsed.ok) {
|
|
78789
79362
|
return [parsed, { status: "invalid" }];
|
|
@@ -78865,12 +79438,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
78865
79438
|
});
|
|
78866
79439
|
|
|
78867
79440
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
78868
|
-
var
|
|
79441
|
+
var args130, tool$sweepsGetConfig;
|
|
78869
79442
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
78870
79443
|
init_sweepsGetConfig();
|
|
78871
79444
|
init_operations();
|
|
78872
79445
|
init_tools();
|
|
78873
|
-
|
|
79446
|
+
args130 = {
|
|
78874
79447
|
request: GetSweepConfigRequest$inboundSchema
|
|
78875
79448
|
};
|
|
78876
79449
|
tool$sweepsGetConfig = {
|
|
@@ -78879,9 +79452,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
78879
79452
|
|
|
78880
79453
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78881
79454
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
78882
|
-
args:
|
|
78883
|
-
tool: async (client,
|
|
78884
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
79455
|
+
args: args130,
|
|
79456
|
+
tool: async (client, args131, ctx) => {
|
|
79457
|
+
const [result, apiCall] = await sweepsGetConfig(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78885
79458
|
if (!result.ok) {
|
|
78886
79459
|
return {
|
|
78887
79460
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78896,9 +79469,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
78896
79469
|
|
|
78897
79470
|
// src/funcs/sweepsList.ts
|
|
78898
79471
|
function sweepsList(client, request, options) {
|
|
78899
|
-
return new APIPromise($
|
|
79472
|
+
return new APIPromise($do131(client, request, options));
|
|
78900
79473
|
}
|
|
78901
|
-
async function $
|
|
79474
|
+
async function $do131(client, request, options) {
|
|
78902
79475
|
const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78903
79476
|
if (!parsed.ok) {
|
|
78904
79477
|
return [parsed, { status: "invalid" }];
|
|
@@ -78987,12 +79560,12 @@ var init_sweepsList = __esm(() => {
|
|
|
78987
79560
|
});
|
|
78988
79561
|
|
|
78989
79562
|
// src/mcp-server/tools/sweepsList.ts
|
|
78990
|
-
var
|
|
79563
|
+
var args131, tool$sweepsList;
|
|
78991
79564
|
var init_sweepsList2 = __esm(() => {
|
|
78992
79565
|
init_sweepsList();
|
|
78993
79566
|
init_operations();
|
|
78994
79567
|
init_tools();
|
|
78995
|
-
|
|
79568
|
+
args131 = {
|
|
78996
79569
|
request: ListSweepsRequest$inboundSchema
|
|
78997
79570
|
};
|
|
78998
79571
|
tool$sweepsList = {
|
|
@@ -79001,9 +79574,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
79001
79574
|
|
|
79002
79575
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79003
79576
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79004
|
-
args:
|
|
79005
|
-
tool: async (client,
|
|
79006
|
-
const [result, apiCall] = await sweepsList(client,
|
|
79577
|
+
args: args131,
|
|
79578
|
+
tool: async (client, args132, ctx) => {
|
|
79579
|
+
const [result, apiCall] = await sweepsList(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79007
79580
|
if (!result.ok) {
|
|
79008
79581
|
return {
|
|
79009
79582
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79018,9 +79591,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79018
79591
|
|
|
79019
79592
|
// src/funcs/sweepsListConfigs.ts
|
|
79020
79593
|
function sweepsListConfigs(client, request, options) {
|
|
79021
|
-
return new APIPromise($
|
|
79594
|
+
return new APIPromise($do132(client, request, options));
|
|
79022
79595
|
}
|
|
79023
|
-
async function $
|
|
79596
|
+
async function $do132(client, request, options) {
|
|
79024
79597
|
const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79025
79598
|
if (!parsed.ok) {
|
|
79026
79599
|
return [parsed, { status: "invalid" }];
|
|
@@ -79098,12 +79671,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
79098
79671
|
});
|
|
79099
79672
|
|
|
79100
79673
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
79101
|
-
var
|
|
79674
|
+
var args132, tool$sweepsListConfigs;
|
|
79102
79675
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
79103
79676
|
init_sweepsListConfigs();
|
|
79104
79677
|
init_operations();
|
|
79105
79678
|
init_tools();
|
|
79106
|
-
|
|
79679
|
+
args132 = {
|
|
79107
79680
|
request: ListSweepConfigsRequest$inboundSchema
|
|
79108
79681
|
};
|
|
79109
79682
|
tool$sweepsListConfigs = {
|
|
@@ -79112,9 +79685,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
79112
79685
|
|
|
79113
79686
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79114
79687
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79115
|
-
args:
|
|
79116
|
-
tool: async (client,
|
|
79117
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
79688
|
+
args: args132,
|
|
79689
|
+
tool: async (client, args133, ctx) => {
|
|
79690
|
+
const [result, apiCall] = await sweepsListConfigs(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79118
79691
|
if (!result.ok) {
|
|
79119
79692
|
return {
|
|
79120
79693
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79129,9 +79702,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79129
79702
|
|
|
79130
79703
|
// src/funcs/sweepsUpdateConfig.ts
|
|
79131
79704
|
function sweepsUpdateConfig(client, request, options) {
|
|
79132
|
-
return new APIPromise($
|
|
79705
|
+
return new APIPromise($do133(client, request, options));
|
|
79133
79706
|
}
|
|
79134
|
-
async function $
|
|
79707
|
+
async function $do133(client, request, options) {
|
|
79135
79708
|
const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79136
79709
|
if (!parsed.ok) {
|
|
79137
79710
|
return [parsed, { status: "invalid" }];
|
|
@@ -79227,12 +79800,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
79227
79800
|
});
|
|
79228
79801
|
|
|
79229
79802
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
79230
|
-
var
|
|
79803
|
+
var args133, tool$sweepsUpdateConfig;
|
|
79231
79804
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
79232
79805
|
init_sweepsUpdateConfig();
|
|
79233
79806
|
init_operations();
|
|
79234
79807
|
init_tools();
|
|
79235
|
-
|
|
79808
|
+
args133 = {
|
|
79236
79809
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
79237
79810
|
};
|
|
79238
79811
|
tool$sweepsUpdateConfig = {
|
|
@@ -79241,9 +79814,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
79241
79814
|
|
|
79242
79815
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79243
79816
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79244
|
-
args:
|
|
79245
|
-
tool: async (client,
|
|
79246
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
79817
|
+
args: args133,
|
|
79818
|
+
tool: async (client, args134, ctx) => {
|
|
79819
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79247
79820
|
if (!result.ok) {
|
|
79248
79821
|
return {
|
|
79249
79822
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79258,9 +79831,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79258
79831
|
|
|
79259
79832
|
// src/funcs/terminalApplicationsCreate.ts
|
|
79260
79833
|
function terminalApplicationsCreate(client, request, options) {
|
|
79261
|
-
return new APIPromise($
|
|
79834
|
+
return new APIPromise($do134(client, request, options));
|
|
79262
79835
|
}
|
|
79263
|
-
async function $
|
|
79836
|
+
async function $do134(client, request, options) {
|
|
79264
79837
|
const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
79265
79838
|
if (!parsed.ok) {
|
|
79266
79839
|
return [parsed, { status: "invalid" }];
|
|
@@ -79349,12 +79922,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
79349
79922
|
});
|
|
79350
79923
|
|
|
79351
79924
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
79352
|
-
var
|
|
79925
|
+
var args134, tool$terminalApplicationsCreate;
|
|
79353
79926
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
79354
79927
|
init_terminalApplicationsCreate();
|
|
79355
79928
|
init_components();
|
|
79356
79929
|
init_tools();
|
|
79357
|
-
|
|
79930
|
+
args134 = {
|
|
79358
79931
|
request: CreateTerminalApplication$inboundSchema
|
|
79359
79932
|
};
|
|
79360
79933
|
tool$terminalApplicationsCreate = {
|
|
@@ -79363,9 +79936,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
79363
79936
|
|
|
79364
79937
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79365
79938
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
79366
|
-
args:
|
|
79367
|
-
tool: async (client,
|
|
79368
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
79939
|
+
args: args134,
|
|
79940
|
+
tool: async (client, args135, ctx) => {
|
|
79941
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79369
79942
|
if (!result.ok) {
|
|
79370
79943
|
return {
|
|
79371
79944
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79380,9 +79953,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
79380
79953
|
|
|
79381
79954
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
79382
79955
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
79383
|
-
return new APIPromise($
|
|
79956
|
+
return new APIPromise($do135(client, request, options));
|
|
79384
79957
|
}
|
|
79385
|
-
async function $
|
|
79958
|
+
async function $do135(client, request, options) {
|
|
79386
79959
|
const parsed = safeParse(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79387
79960
|
if (!parsed.ok) {
|
|
79388
79961
|
return [parsed, { status: "invalid" }];
|
|
@@ -79472,12 +80045,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
79472
80045
|
});
|
|
79473
80046
|
|
|
79474
80047
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
79475
|
-
var
|
|
80048
|
+
var args135, tool$terminalApplicationsCreateVersion;
|
|
79476
80049
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
79477
80050
|
init_terminalApplicationsCreateVersion();
|
|
79478
80051
|
init_operations();
|
|
79479
80052
|
init_tools();
|
|
79480
|
-
|
|
80053
|
+
args135 = {
|
|
79481
80054
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
79482
80055
|
};
|
|
79483
80056
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -79486,9 +80059,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
79486
80059
|
|
|
79487
80060
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79488
80061
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
79489
|
-
args:
|
|
79490
|
-
tool: async (client,
|
|
79491
|
-
const [result, apiCall] = await terminalApplicationsCreateVersion(client,
|
|
80062
|
+
args: args135,
|
|
80063
|
+
tool: async (client, args136, ctx) => {
|
|
80064
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79492
80065
|
if (!result.ok) {
|
|
79493
80066
|
return {
|
|
79494
80067
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79503,9 +80076,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
79503
80076
|
|
|
79504
80077
|
// src/funcs/terminalApplicationsDelete.ts
|
|
79505
80078
|
function terminalApplicationsDelete(client, request, options) {
|
|
79506
|
-
return new APIPromise($
|
|
80079
|
+
return new APIPromise($do136(client, request, options));
|
|
79507
80080
|
}
|
|
79508
|
-
async function $
|
|
80081
|
+
async function $do136(client, request, options) {
|
|
79509
80082
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79510
80083
|
if (!parsed.ok) {
|
|
79511
80084
|
return [parsed, { status: "invalid" }];
|
|
@@ -79589,12 +80162,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
79589
80162
|
});
|
|
79590
80163
|
|
|
79591
80164
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
79592
|
-
var
|
|
80165
|
+
var args136, tool$terminalApplicationsDelete;
|
|
79593
80166
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
79594
80167
|
init_terminalApplicationsDelete();
|
|
79595
80168
|
init_operations();
|
|
79596
80169
|
init_tools();
|
|
79597
|
-
|
|
80170
|
+
args136 = {
|
|
79598
80171
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
79599
80172
|
};
|
|
79600
80173
|
tool$terminalApplicationsDelete = {
|
|
@@ -79603,9 +80176,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
79603
80176
|
|
|
79604
80177
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79605
80178
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
79606
|
-
args:
|
|
79607
|
-
tool: async (client,
|
|
79608
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
80179
|
+
args: args136,
|
|
80180
|
+
tool: async (client, args137, ctx) => {
|
|
80181
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79609
80182
|
if (!result.ok) {
|
|
79610
80183
|
return {
|
|
79611
80184
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79619,9 +80192,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
79619
80192
|
|
|
79620
80193
|
// src/funcs/terminalApplicationsGet.ts
|
|
79621
80194
|
function terminalApplicationsGet(client, request, options) {
|
|
79622
|
-
return new APIPromise($
|
|
80195
|
+
return new APIPromise($do137(client, request, options));
|
|
79623
80196
|
}
|
|
79624
|
-
async function $
|
|
80197
|
+
async function $do137(client, request, options) {
|
|
79625
80198
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79626
80199
|
if (!parsed.ok) {
|
|
79627
80200
|
return [parsed, { status: "invalid" }];
|
|
@@ -79696,12 +80269,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
79696
80269
|
});
|
|
79697
80270
|
|
|
79698
80271
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
79699
|
-
var
|
|
80272
|
+
var args137, tool$terminalApplicationsGet;
|
|
79700
80273
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
79701
80274
|
init_terminalApplicationsGet();
|
|
79702
80275
|
init_operations();
|
|
79703
80276
|
init_tools();
|
|
79704
|
-
|
|
80277
|
+
args137 = {
|
|
79705
80278
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
79706
80279
|
};
|
|
79707
80280
|
tool$terminalApplicationsGet = {
|
|
@@ -79710,9 +80283,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
79710
80283
|
|
|
79711
80284
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79712
80285
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
79713
|
-
args:
|
|
79714
|
-
tool: async (client,
|
|
79715
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
80286
|
+
args: args137,
|
|
80287
|
+
tool: async (client, args138, ctx) => {
|
|
80288
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79716
80289
|
if (!result.ok) {
|
|
79717
80290
|
return {
|
|
79718
80291
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79727,9 +80300,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
79727
80300
|
|
|
79728
80301
|
// src/funcs/terminalApplicationsList.ts
|
|
79729
80302
|
function terminalApplicationsList(client, _request, options) {
|
|
79730
|
-
return new APIPromise($
|
|
80303
|
+
return new APIPromise($do138(client, _request, options));
|
|
79731
80304
|
}
|
|
79732
|
-
async function $
|
|
80305
|
+
async function $do138(client, _request, options) {
|
|
79733
80306
|
const path = pathToFunc("/terminal-applications")();
|
|
79734
80307
|
const headers = new Headers(compactMap({
|
|
79735
80308
|
Accept: "application/json",
|
|
@@ -79793,12 +80366,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
79793
80366
|
});
|
|
79794
80367
|
|
|
79795
80368
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
79796
|
-
var
|
|
80369
|
+
var args138, tool$terminalApplicationsList;
|
|
79797
80370
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
79798
80371
|
init_terminalApplicationsList();
|
|
79799
80372
|
init_operations();
|
|
79800
80373
|
init_tools();
|
|
79801
|
-
|
|
80374
|
+
args138 = {
|
|
79802
80375
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
79803
80376
|
};
|
|
79804
80377
|
tool$terminalApplicationsList = {
|
|
@@ -79807,9 +80380,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
79807
80380
|
|
|
79808
80381
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79809
80382
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
79810
|
-
args:
|
|
79811
|
-
tool: async (client,
|
|
79812
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
80383
|
+
args: args138,
|
|
80384
|
+
tool: async (client, args139, ctx) => {
|
|
80385
|
+
const [result, apiCall] = await terminalApplicationsList(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79813
80386
|
if (!result.ok) {
|
|
79814
80387
|
return {
|
|
79815
80388
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79824,9 +80397,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
79824
80397
|
|
|
79825
80398
|
// src/funcs/transfersCreate.ts
|
|
79826
80399
|
function transfersCreate(client, request, options) {
|
|
79827
|
-
return new APIPromise($
|
|
80400
|
+
return new APIPromise($do139(client, request, options));
|
|
79828
80401
|
}
|
|
79829
|
-
async function $
|
|
80402
|
+
async function $do139(client, request, options) {
|
|
79830
80403
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79831
80404
|
if (!parsed.ok) {
|
|
79832
80405
|
return [parsed, { status: "invalid" }];
|
|
@@ -79919,12 +80492,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
79919
80492
|
});
|
|
79920
80493
|
|
|
79921
80494
|
// src/mcp-server/tools/transfersCreate.ts
|
|
79922
|
-
var
|
|
80495
|
+
var args139, tool$transfersCreate;
|
|
79923
80496
|
var init_transfersCreate2 = __esm(() => {
|
|
79924
80497
|
init_transfersCreate();
|
|
79925
80498
|
init_operations();
|
|
79926
80499
|
init_tools();
|
|
79927
|
-
|
|
80500
|
+
args139 = {
|
|
79928
80501
|
request: CreateTransferRequest$inboundSchema
|
|
79929
80502
|
};
|
|
79930
80503
|
tool$transfersCreate = {
|
|
@@ -79935,9 +80508,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
79935
80508
|
|
|
79936
80509
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79937
80510
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
79938
|
-
args:
|
|
79939
|
-
tool: async (client,
|
|
79940
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
80511
|
+
args: args139,
|
|
80512
|
+
tool: async (client, args140, ctx) => {
|
|
80513
|
+
const [result, apiCall] = await transfersCreate(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79941
80514
|
if (!result.ok) {
|
|
79942
80515
|
return {
|
|
79943
80516
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79952,9 +80525,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
79952
80525
|
|
|
79953
80526
|
// src/funcs/transfersCreateCancellation.ts
|
|
79954
80527
|
function transfersCreateCancellation(client, request, options) {
|
|
79955
|
-
return new APIPromise($
|
|
80528
|
+
return new APIPromise($do140(client, request, options));
|
|
79956
80529
|
}
|
|
79957
|
-
async function $
|
|
80530
|
+
async function $do140(client, request, options) {
|
|
79958
80531
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79959
80532
|
if (!parsed.ok) {
|
|
79960
80533
|
return [parsed, { status: "invalid" }];
|
|
@@ -80037,12 +80610,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
80037
80610
|
});
|
|
80038
80611
|
|
|
80039
80612
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
80040
|
-
var
|
|
80613
|
+
var args140, tool$transfersCreateCancellation;
|
|
80041
80614
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
80042
80615
|
init_transfersCreateCancellation();
|
|
80043
80616
|
init_operations();
|
|
80044
80617
|
init_tools();
|
|
80045
|
-
|
|
80618
|
+
args140 = {
|
|
80046
80619
|
request: CreateCancellationRequest$inboundSchema
|
|
80047
80620
|
};
|
|
80048
80621
|
tool$transfersCreateCancellation = {
|
|
@@ -80051,9 +80624,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
80051
80624
|
|
|
80052
80625
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80053
80626
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80054
|
-
args:
|
|
80055
|
-
tool: async (client,
|
|
80056
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
80627
|
+
args: args140,
|
|
80628
|
+
tool: async (client, args141, ctx) => {
|
|
80629
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80057
80630
|
if (!result.ok) {
|
|
80058
80631
|
return {
|
|
80059
80632
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80068,9 +80641,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
80068
80641
|
|
|
80069
80642
|
// src/funcs/transfersCreateReversal.ts
|
|
80070
80643
|
function transfersCreateReversal(client, request, options) {
|
|
80071
|
-
return new APIPromise($
|
|
80644
|
+
return new APIPromise($do141(client, request, options));
|
|
80072
80645
|
}
|
|
80073
|
-
async function $
|
|
80646
|
+
async function $do141(client, request, options) {
|
|
80074
80647
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80075
80648
|
if (!parsed.ok) {
|
|
80076
80649
|
return [parsed, { status: "invalid" }];
|
|
@@ -80169,12 +80742,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
80169
80742
|
});
|
|
80170
80743
|
|
|
80171
80744
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
80172
|
-
var
|
|
80745
|
+
var args141, tool$transfersCreateReversal;
|
|
80173
80746
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
80174
80747
|
init_transfersCreateReversal();
|
|
80175
80748
|
init_operations();
|
|
80176
80749
|
init_tools();
|
|
80177
|
-
|
|
80750
|
+
args141 = {
|
|
80178
80751
|
request: CreateReversalRequest$inboundSchema
|
|
80179
80752
|
};
|
|
80180
80753
|
tool$transfersCreateReversal = {
|
|
@@ -80185,9 +80758,9 @@ to learn more.
|
|
|
80185
80758
|
|
|
80186
80759
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80187
80760
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80188
|
-
args:
|
|
80189
|
-
tool: async (client,
|
|
80190
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
80761
|
+
args: args141,
|
|
80762
|
+
tool: async (client, args142, ctx) => {
|
|
80763
|
+
const [result, apiCall] = await transfersCreateReversal(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80191
80764
|
if (!result.ok) {
|
|
80192
80765
|
return {
|
|
80193
80766
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80202,9 +80775,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80202
80775
|
|
|
80203
80776
|
// src/funcs/transfersGenerateOptions.ts
|
|
80204
80777
|
function transfersGenerateOptions(client, request, options) {
|
|
80205
|
-
return new APIPromise($
|
|
80778
|
+
return new APIPromise($do142(client, request, options));
|
|
80206
80779
|
}
|
|
80207
|
-
async function $
|
|
80780
|
+
async function $do142(client, request, options) {
|
|
80208
80781
|
const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80209
80782
|
if (!parsed.ok) {
|
|
80210
80783
|
return [parsed, { status: "invalid" }];
|
|
@@ -80288,12 +80861,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
80288
80861
|
});
|
|
80289
80862
|
|
|
80290
80863
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
80291
|
-
var
|
|
80864
|
+
var args142, tool$transfersGenerateOptions;
|
|
80292
80865
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
80293
80866
|
init_transfersGenerateOptions();
|
|
80294
80867
|
init_operations();
|
|
80295
80868
|
init_tools();
|
|
80296
|
-
|
|
80869
|
+
args142 = {
|
|
80297
80870
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
80298
80871
|
};
|
|
80299
80872
|
tool$transfersGenerateOptions = {
|
|
@@ -80307,9 +80880,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
80307
80880
|
|
|
80308
80881
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80309
80882
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80310
|
-
args:
|
|
80311
|
-
tool: async (client,
|
|
80312
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
80883
|
+
args: args142,
|
|
80884
|
+
tool: async (client, args143, ctx) => {
|
|
80885
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80313
80886
|
if (!result.ok) {
|
|
80314
80887
|
return {
|
|
80315
80888
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80324,9 +80897,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80324
80897
|
|
|
80325
80898
|
// src/funcs/transfersGet.ts
|
|
80326
80899
|
function transfersGet(client, request, options) {
|
|
80327
|
-
return new APIPromise($
|
|
80900
|
+
return new APIPromise($do143(client, request, options));
|
|
80328
80901
|
}
|
|
80329
|
-
async function $
|
|
80902
|
+
async function $do143(client, request, options) {
|
|
80330
80903
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80331
80904
|
if (!parsed.ok) {
|
|
80332
80905
|
return [parsed, { status: "invalid" }];
|
|
@@ -80408,12 +80981,12 @@ var init_transfersGet = __esm(() => {
|
|
|
80408
80981
|
});
|
|
80409
80982
|
|
|
80410
80983
|
// src/mcp-server/tools/transfersGet.ts
|
|
80411
|
-
var
|
|
80984
|
+
var args143, tool$transfersGet;
|
|
80412
80985
|
var init_transfersGet2 = __esm(() => {
|
|
80413
80986
|
init_transfersGet();
|
|
80414
80987
|
init_operations();
|
|
80415
80988
|
init_tools();
|
|
80416
|
-
|
|
80989
|
+
args143 = {
|
|
80417
80990
|
request: GetTransferRequest$inboundSchema
|
|
80418
80991
|
};
|
|
80419
80992
|
tool$transfersGet = {
|
|
@@ -80425,9 +80998,9 @@ to learn more.
|
|
|
80425
80998
|
|
|
80426
80999
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80427
81000
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
80428
|
-
args:
|
|
80429
|
-
tool: async (client,
|
|
80430
|
-
const [result, apiCall] = await transfersGet(client,
|
|
81001
|
+
args: args143,
|
|
81002
|
+
tool: async (client, args144, ctx) => {
|
|
81003
|
+
const [result, apiCall] = await transfersGet(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80431
81004
|
if (!result.ok) {
|
|
80432
81005
|
return {
|
|
80433
81006
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80442,9 +81015,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
80442
81015
|
|
|
80443
81016
|
// src/funcs/transfersGetCancellation.ts
|
|
80444
81017
|
function transfersGetCancellation(client, request, options) {
|
|
80445
|
-
return new APIPromise($
|
|
81018
|
+
return new APIPromise($do144(client, request, options));
|
|
80446
81019
|
}
|
|
80447
|
-
async function $
|
|
81020
|
+
async function $do144(client, request, options) {
|
|
80448
81021
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80449
81022
|
if (!parsed.ok) {
|
|
80450
81023
|
return [parsed, { status: "invalid" }];
|
|
@@ -80530,12 +81103,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
80530
81103
|
});
|
|
80531
81104
|
|
|
80532
81105
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
80533
|
-
var
|
|
81106
|
+
var args144, tool$transfersGetCancellation;
|
|
80534
81107
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
80535
81108
|
init_transfersGetCancellation();
|
|
80536
81109
|
init_operations();
|
|
80537
81110
|
init_tools();
|
|
80538
|
-
|
|
81111
|
+
args144 = {
|
|
80539
81112
|
request: GetCancellationRequest$inboundSchema
|
|
80540
81113
|
};
|
|
80541
81114
|
tool$transfersGetCancellation = {
|
|
@@ -80544,9 +81117,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
80544
81117
|
|
|
80545
81118
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80546
81119
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
80547
|
-
args:
|
|
80548
|
-
tool: async (client,
|
|
80549
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
81120
|
+
args: args144,
|
|
81121
|
+
tool: async (client, args145, ctx) => {
|
|
81122
|
+
const [result, apiCall] = await transfersGetCancellation(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80550
81123
|
if (!result.ok) {
|
|
80551
81124
|
return {
|
|
80552
81125
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80561,9 +81134,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
80561
81134
|
|
|
80562
81135
|
// src/funcs/transfersGetRefund.ts
|
|
80563
81136
|
function transfersGetRefund(client, request, options) {
|
|
80564
|
-
return new APIPromise($
|
|
81137
|
+
return new APIPromise($do145(client, request, options));
|
|
80565
81138
|
}
|
|
80566
|
-
async function $
|
|
81139
|
+
async function $do145(client, request, options) {
|
|
80567
81140
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80568
81141
|
if (!parsed.ok) {
|
|
80569
81142
|
return [parsed, { status: "invalid" }];
|
|
@@ -80649,12 +81222,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
80649
81222
|
});
|
|
80650
81223
|
|
|
80651
81224
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
80652
|
-
var
|
|
81225
|
+
var args145, tool$transfersGetRefund;
|
|
80653
81226
|
var init_transfersGetRefund2 = __esm(() => {
|
|
80654
81227
|
init_transfersGetRefund();
|
|
80655
81228
|
init_operations();
|
|
80656
81229
|
init_tools();
|
|
80657
|
-
|
|
81230
|
+
args145 = {
|
|
80658
81231
|
request: GetRefundRequest$inboundSchema
|
|
80659
81232
|
};
|
|
80660
81233
|
tool$transfersGetRefund = {
|
|
@@ -80663,9 +81236,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
80663
81236
|
|
|
80664
81237
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80665
81238
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
80666
|
-
args:
|
|
80667
|
-
tool: async (client,
|
|
80668
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
81239
|
+
args: args145,
|
|
81240
|
+
tool: async (client, args146, ctx) => {
|
|
81241
|
+
const [result, apiCall] = await transfersGetRefund(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80669
81242
|
if (!result.ok) {
|
|
80670
81243
|
return {
|
|
80671
81244
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80680,9 +81253,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
80680
81253
|
|
|
80681
81254
|
// src/funcs/transfersInitiateRefund.ts
|
|
80682
81255
|
function transfersInitiateRefund(client, request, options) {
|
|
80683
|
-
return new APIPromise($
|
|
81256
|
+
return new APIPromise($do146(client, request, options));
|
|
80684
81257
|
}
|
|
80685
|
-
async function $
|
|
81258
|
+
async function $do146(client, request, options) {
|
|
80686
81259
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80687
81260
|
if (!parsed.ok) {
|
|
80688
81261
|
return [parsed, { status: "invalid" }];
|
|
@@ -80774,12 +81347,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
80774
81347
|
});
|
|
80775
81348
|
|
|
80776
81349
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
80777
|
-
var
|
|
81350
|
+
var args146, tool$transfersInitiateRefund;
|
|
80778
81351
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
80779
81352
|
init_transfersInitiateRefund();
|
|
80780
81353
|
init_operations();
|
|
80781
81354
|
init_tools();
|
|
80782
|
-
|
|
81355
|
+
args146 = {
|
|
80783
81356
|
request: InitiateRefundRequest$inboundSchema
|
|
80784
81357
|
};
|
|
80785
81358
|
tool$transfersInitiateRefund = {
|
|
@@ -80791,9 +81364,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
80791
81364
|
|
|
80792
81365
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80793
81366
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80794
|
-
args:
|
|
80795
|
-
tool: async (client,
|
|
80796
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
81367
|
+
args: args146,
|
|
81368
|
+
tool: async (client, args147, ctx) => {
|
|
81369
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80797
81370
|
if (!result.ok) {
|
|
80798
81371
|
return {
|
|
80799
81372
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80808,9 +81381,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80808
81381
|
|
|
80809
81382
|
// src/funcs/transfersList.ts
|
|
80810
81383
|
function transfersList(client, request, options) {
|
|
80811
|
-
return new APIPromise($
|
|
81384
|
+
return new APIPromise($do147(client, request, options));
|
|
80812
81385
|
}
|
|
80813
|
-
async function $
|
|
81386
|
+
async function $do147(client, request, options) {
|
|
80814
81387
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80815
81388
|
if (!parsed.ok) {
|
|
80816
81389
|
return [parsed, { status: "invalid" }];
|
|
@@ -80906,12 +81479,12 @@ var init_transfersList = __esm(() => {
|
|
|
80906
81479
|
});
|
|
80907
81480
|
|
|
80908
81481
|
// src/mcp-server/tools/transfersList.ts
|
|
80909
|
-
var
|
|
81482
|
+
var args147, tool$transfersList;
|
|
80910
81483
|
var init_transfersList2 = __esm(() => {
|
|
80911
81484
|
init_transfersList();
|
|
80912
81485
|
init_operations();
|
|
80913
81486
|
init_tools();
|
|
80914
|
-
|
|
81487
|
+
args147 = {
|
|
80915
81488
|
request: ListTransfersRequest$inboundSchema
|
|
80916
81489
|
};
|
|
80917
81490
|
tool$transfersList = {
|
|
@@ -80927,9 +81500,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
80927
81500
|
|
|
80928
81501
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80929
81502
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
80930
|
-
args:
|
|
80931
|
-
tool: async (client,
|
|
80932
|
-
const [result, apiCall] = await transfersList(client,
|
|
81503
|
+
args: args147,
|
|
81504
|
+
tool: async (client, args148, ctx) => {
|
|
81505
|
+
const [result, apiCall] = await transfersList(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80933
81506
|
if (!result.ok) {
|
|
80934
81507
|
return {
|
|
80935
81508
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80944,9 +81517,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
80944
81517
|
|
|
80945
81518
|
// src/funcs/transfersListRefunds.ts
|
|
80946
81519
|
function transfersListRefunds(client, request, options) {
|
|
80947
|
-
return new APIPromise($
|
|
81520
|
+
return new APIPromise($do148(client, request, options));
|
|
80948
81521
|
}
|
|
80949
|
-
async function $
|
|
81522
|
+
async function $do148(client, request, options) {
|
|
80950
81523
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80951
81524
|
if (!parsed.ok) {
|
|
80952
81525
|
return [parsed, { status: "invalid" }];
|
|
@@ -81028,12 +81601,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
81028
81601
|
});
|
|
81029
81602
|
|
|
81030
81603
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
81031
|
-
var
|
|
81604
|
+
var args148, tool$transfersListRefunds;
|
|
81032
81605
|
var init_transfersListRefunds2 = __esm(() => {
|
|
81033
81606
|
init_transfersListRefunds();
|
|
81034
81607
|
init_operations();
|
|
81035
81608
|
init_tools();
|
|
81036
|
-
|
|
81609
|
+
args148 = {
|
|
81037
81610
|
request: ListRefundsRequest$inboundSchema
|
|
81038
81611
|
};
|
|
81039
81612
|
tool$transfersListRefunds = {
|
|
@@ -81042,9 +81615,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
81042
81615
|
|
|
81043
81616
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81044
81617
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81045
|
-
args:
|
|
81046
|
-
tool: async (client,
|
|
81047
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
81618
|
+
args: args148,
|
|
81619
|
+
tool: async (client, args149, ctx) => {
|
|
81620
|
+
const [result, apiCall] = await transfersListRefunds(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81048
81621
|
if (!result.ok) {
|
|
81049
81622
|
return {
|
|
81050
81623
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81059,9 +81632,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81059
81632
|
|
|
81060
81633
|
// src/funcs/transfersUpdate.ts
|
|
81061
81634
|
function transfersUpdate(client, request, options) {
|
|
81062
|
-
return new APIPromise($
|
|
81635
|
+
return new APIPromise($do149(client, request, options));
|
|
81063
81636
|
}
|
|
81064
|
-
async function $
|
|
81637
|
+
async function $do149(client, request, options) {
|
|
81065
81638
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81066
81639
|
if (!parsed.ok) {
|
|
81067
81640
|
return [parsed, { status: "invalid" }];
|
|
@@ -81147,12 +81720,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
81147
81720
|
});
|
|
81148
81721
|
|
|
81149
81722
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
81150
|
-
var
|
|
81723
|
+
var args149, tool$transfersUpdate;
|
|
81151
81724
|
var init_transfersUpdate2 = __esm(() => {
|
|
81152
81725
|
init_transfersUpdate();
|
|
81153
81726
|
init_operations();
|
|
81154
81727
|
init_tools();
|
|
81155
|
-
|
|
81728
|
+
args149 = {
|
|
81156
81729
|
request: UpdateTransferRequest$inboundSchema
|
|
81157
81730
|
};
|
|
81158
81731
|
tool$transfersUpdate = {
|
|
@@ -81163,9 +81736,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
81163
81736
|
|
|
81164
81737
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81165
81738
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
81166
|
-
args:
|
|
81167
|
-
tool: async (client,
|
|
81168
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
81739
|
+
args: args149,
|
|
81740
|
+
tool: async (client, args150, ctx) => {
|
|
81741
|
+
const [result, apiCall] = await transfersUpdate(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81169
81742
|
if (!result.ok) {
|
|
81170
81743
|
return {
|
|
81171
81744
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81180,9 +81753,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
81180
81753
|
|
|
81181
81754
|
// src/funcs/underwritingGet.ts
|
|
81182
81755
|
function underwritingGet(client, request, options) {
|
|
81183
|
-
return new APIPromise($
|
|
81756
|
+
return new APIPromise($do150(client, request, options));
|
|
81184
81757
|
}
|
|
81185
|
-
async function $
|
|
81758
|
+
async function $do150(client, request, options) {
|
|
81186
81759
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81187
81760
|
if (!parsed.ok) {
|
|
81188
81761
|
return [parsed, { status: "invalid" }];
|
|
@@ -81260,12 +81833,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
81260
81833
|
});
|
|
81261
81834
|
|
|
81262
81835
|
// src/mcp-server/tools/underwritingGet.ts
|
|
81263
|
-
var
|
|
81836
|
+
var args150, tool$underwritingGet;
|
|
81264
81837
|
var init_underwritingGet2 = __esm(() => {
|
|
81265
81838
|
init_underwritingGet();
|
|
81266
81839
|
init_operations();
|
|
81267
81840
|
init_tools();
|
|
81268
|
-
|
|
81841
|
+
args150 = {
|
|
81269
81842
|
request: GetUnderwritingRequest$inboundSchema
|
|
81270
81843
|
};
|
|
81271
81844
|
tool$underwritingGet = {
|
|
@@ -81276,9 +81849,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
81276
81849
|
|
|
81277
81850
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81278
81851
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
81279
|
-
args:
|
|
81280
|
-
tool: async (client,
|
|
81281
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
81852
|
+
args: args150,
|
|
81853
|
+
tool: async (client, args151, ctx) => {
|
|
81854
|
+
const [result, apiCall] = await underwritingGet(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81282
81855
|
if (!result.ok) {
|
|
81283
81856
|
return {
|
|
81284
81857
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81293,9 +81866,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
81293
81866
|
|
|
81294
81867
|
// src/funcs/underwritingSave.ts
|
|
81295
81868
|
function underwritingSave(client, request, options) {
|
|
81296
|
-
return new APIPromise($
|
|
81869
|
+
return new APIPromise($do151(client, request, options));
|
|
81297
81870
|
}
|
|
81298
|
-
async function $
|
|
81871
|
+
async function $do151(client, request, options) {
|
|
81299
81872
|
const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81300
81873
|
if (!parsed.ok) {
|
|
81301
81874
|
return [parsed, { status: "invalid" }];
|
|
@@ -81391,12 +81964,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
81391
81964
|
});
|
|
81392
81965
|
|
|
81393
81966
|
// src/mcp-server/tools/underwritingSave.ts
|
|
81394
|
-
var
|
|
81967
|
+
var args151, tool$underwritingSave;
|
|
81395
81968
|
var init_underwritingSave2 = __esm(() => {
|
|
81396
81969
|
init_underwritingSave();
|
|
81397
81970
|
init_operations();
|
|
81398
81971
|
init_tools();
|
|
81399
|
-
|
|
81972
|
+
args151 = {
|
|
81400
81973
|
request: SaveUnderwritingRequest$inboundSchema
|
|
81401
81974
|
};
|
|
81402
81975
|
tool$underwritingSave = {
|
|
@@ -81407,9 +81980,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
81407
81980
|
|
|
81408
81981
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81409
81982
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
81410
|
-
args:
|
|
81411
|
-
tool: async (client,
|
|
81412
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
81983
|
+
args: args151,
|
|
81984
|
+
tool: async (client, args152, ctx) => {
|
|
81985
|
+
const [result, apiCall] = await underwritingSave(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81413
81986
|
if (!result.ok) {
|
|
81414
81987
|
return {
|
|
81415
81988
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81424,9 +81997,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
81424
81997
|
|
|
81425
81998
|
// src/funcs/underwritingUpsert.ts
|
|
81426
81999
|
function underwritingUpsert(client, request, options) {
|
|
81427
|
-
return new APIPromise($
|
|
82000
|
+
return new APIPromise($do152(client, request, options));
|
|
81428
82001
|
}
|
|
81429
|
-
async function $
|
|
82002
|
+
async function $do152(client, request, options) {
|
|
81430
82003
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81431
82004
|
if (!parsed.ok) {
|
|
81432
82005
|
return [parsed, { status: "invalid" }];
|
|
@@ -81522,12 +82095,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
81522
82095
|
});
|
|
81523
82096
|
|
|
81524
82097
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
81525
|
-
var
|
|
82098
|
+
var args152, tool$underwritingUpsert;
|
|
81526
82099
|
var init_underwritingUpsert2 = __esm(() => {
|
|
81527
82100
|
init_underwritingUpsert();
|
|
81528
82101
|
init_operations();
|
|
81529
82102
|
init_tools();
|
|
81530
|
-
|
|
82103
|
+
args152 = {
|
|
81531
82104
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
81532
82105
|
};
|
|
81533
82106
|
tool$underwritingUpsert = {
|
|
@@ -81538,9 +82111,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
81538
82111
|
|
|
81539
82112
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81540
82113
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
81541
|
-
args:
|
|
81542
|
-
tool: async (client,
|
|
81543
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
82114
|
+
args: args152,
|
|
82115
|
+
tool: async (client, args153, ctx) => {
|
|
82116
|
+
const [result, apiCall] = await underwritingUpsert(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81544
82117
|
if (!result.ok) {
|
|
81545
82118
|
return {
|
|
81546
82119
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81555,9 +82128,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
81555
82128
|
|
|
81556
82129
|
// src/funcs/walletsCreate.ts
|
|
81557
82130
|
function walletsCreate(client, request, options) {
|
|
81558
|
-
return new APIPromise($
|
|
82131
|
+
return new APIPromise($do153(client, request, options));
|
|
81559
82132
|
}
|
|
81560
|
-
async function $
|
|
82133
|
+
async function $do153(client, request, options) {
|
|
81561
82134
|
const parsed = safeParse(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81562
82135
|
if (!parsed.ok) {
|
|
81563
82136
|
return [parsed, { status: "invalid" }];
|
|
@@ -81651,12 +82224,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
81651
82224
|
});
|
|
81652
82225
|
|
|
81653
82226
|
// src/mcp-server/tools/walletsCreate.ts
|
|
81654
|
-
var
|
|
82227
|
+
var args153, tool$walletsCreate;
|
|
81655
82228
|
var init_walletsCreate2 = __esm(() => {
|
|
81656
82229
|
init_walletsCreate();
|
|
81657
82230
|
init_operations();
|
|
81658
82231
|
init_tools();
|
|
81659
|
-
|
|
82232
|
+
args153 = {
|
|
81660
82233
|
request: CreateWalletRequest$inboundSchema
|
|
81661
82234
|
};
|
|
81662
82235
|
tool$walletsCreate = {
|
|
@@ -81667,9 +82240,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
81667
82240
|
|
|
81668
82241
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81669
82242
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
81670
|
-
args:
|
|
81671
|
-
tool: async (client,
|
|
81672
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
82243
|
+
args: args153,
|
|
82244
|
+
tool: async (client, args154, ctx) => {
|
|
82245
|
+
const [result, apiCall] = await walletsCreate(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81673
82246
|
if (!result.ok) {
|
|
81674
82247
|
return {
|
|
81675
82248
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81684,9 +82257,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
81684
82257
|
|
|
81685
82258
|
// src/funcs/walletsGet.ts
|
|
81686
82259
|
function walletsGet(client, request, options) {
|
|
81687
|
-
return new APIPromise($
|
|
82260
|
+
return new APIPromise($do154(client, request, options));
|
|
81688
82261
|
}
|
|
81689
|
-
async function $
|
|
82262
|
+
async function $do154(client, request, options) {
|
|
81690
82263
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81691
82264
|
if (!parsed.ok) {
|
|
81692
82265
|
return [parsed, { status: "invalid" }];
|
|
@@ -81768,12 +82341,12 @@ var init_walletsGet = __esm(() => {
|
|
|
81768
82341
|
});
|
|
81769
82342
|
|
|
81770
82343
|
// src/mcp-server/tools/walletsGet.ts
|
|
81771
|
-
var
|
|
82344
|
+
var args154, tool$walletsGet;
|
|
81772
82345
|
var init_walletsGet2 = __esm(() => {
|
|
81773
82346
|
init_walletsGet();
|
|
81774
82347
|
init_operations();
|
|
81775
82348
|
init_tools();
|
|
81776
|
-
|
|
82349
|
+
args154 = {
|
|
81777
82350
|
request: GetWalletRequest$inboundSchema
|
|
81778
82351
|
};
|
|
81779
82352
|
tool$walletsGet = {
|
|
@@ -81784,9 +82357,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
81784
82357
|
|
|
81785
82358
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81786
82359
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
81787
|
-
args:
|
|
81788
|
-
tool: async (client,
|
|
81789
|
-
const [result, apiCall] = await walletsGet(client,
|
|
82360
|
+
args: args154,
|
|
82361
|
+
tool: async (client, args155, ctx) => {
|
|
82362
|
+
const [result, apiCall] = await walletsGet(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81790
82363
|
if (!result.ok) {
|
|
81791
82364
|
return {
|
|
81792
82365
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81801,9 +82374,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
81801
82374
|
|
|
81802
82375
|
// src/funcs/walletsList.ts
|
|
81803
82376
|
function walletsList(client, request, options) {
|
|
81804
|
-
return new APIPromise($
|
|
82377
|
+
return new APIPromise($do155(client, request, options));
|
|
81805
82378
|
}
|
|
81806
|
-
async function $
|
|
82379
|
+
async function $do155(client, request, options) {
|
|
81807
82380
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81808
82381
|
if (!parsed.ok) {
|
|
81809
82382
|
return [parsed, { status: "invalid" }];
|
|
@@ -81891,12 +82464,12 @@ var init_walletsList = __esm(() => {
|
|
|
81891
82464
|
});
|
|
81892
82465
|
|
|
81893
82466
|
// src/mcp-server/tools/walletsList.ts
|
|
81894
|
-
var
|
|
82467
|
+
var args155, tool$walletsList;
|
|
81895
82468
|
var init_walletsList2 = __esm(() => {
|
|
81896
82469
|
init_walletsList();
|
|
81897
82470
|
init_operations();
|
|
81898
82471
|
init_tools();
|
|
81899
|
-
|
|
82472
|
+
args155 = {
|
|
81900
82473
|
request: ListWalletsRequest$inboundSchema
|
|
81901
82474
|
};
|
|
81902
82475
|
tool$walletsList = {
|
|
@@ -81907,9 +82480,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
81907
82480
|
|
|
81908
82481
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81909
82482
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
81910
|
-
args:
|
|
81911
|
-
tool: async (client,
|
|
81912
|
-
const [result, apiCall] = await walletsList(client,
|
|
82483
|
+
args: args155,
|
|
82484
|
+
tool: async (client, args156, ctx) => {
|
|
82485
|
+
const [result, apiCall] = await walletsList(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81913
82486
|
if (!result.ok) {
|
|
81914
82487
|
return {
|
|
81915
82488
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81924,9 +82497,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
81924
82497
|
|
|
81925
82498
|
// src/funcs/walletsUpdate.ts
|
|
81926
82499
|
function walletsUpdate(client, request, options) {
|
|
81927
|
-
return new APIPromise($
|
|
82500
|
+
return new APIPromise($do156(client, request, options));
|
|
81928
82501
|
}
|
|
81929
|
-
async function $
|
|
82502
|
+
async function $do156(client, request, options) {
|
|
81930
82503
|
const parsed = safeParse(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81931
82504
|
if (!parsed.ok) {
|
|
81932
82505
|
return [parsed, { status: "invalid" }];
|
|
@@ -82024,12 +82597,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
82024
82597
|
});
|
|
82025
82598
|
|
|
82026
82599
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
82027
|
-
var
|
|
82600
|
+
var args156, tool$walletsUpdate;
|
|
82028
82601
|
var init_walletsUpdate2 = __esm(() => {
|
|
82029
82602
|
init_walletsUpdate();
|
|
82030
82603
|
init_operations();
|
|
82031
82604
|
init_tools();
|
|
82032
|
-
|
|
82605
|
+
args156 = {
|
|
82033
82606
|
request: UpdateWalletRequest$inboundSchema
|
|
82034
82607
|
};
|
|
82035
82608
|
tool$walletsUpdate = {
|
|
@@ -82040,9 +82613,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82040
82613
|
|
|
82041
82614
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82042
82615
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
82043
|
-
args:
|
|
82044
|
-
tool: async (client,
|
|
82045
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
82616
|
+
args: args156,
|
|
82617
|
+
tool: async (client, args157, ctx) => {
|
|
82618
|
+
const [result, apiCall] = await walletsUpdate(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82046
82619
|
if (!result.ok) {
|
|
82047
82620
|
return {
|
|
82048
82621
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82057,9 +82630,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
82057
82630
|
|
|
82058
82631
|
// src/funcs/walletTransactionsGet.ts
|
|
82059
82632
|
function walletTransactionsGet(client, request, options) {
|
|
82060
|
-
return new APIPromise($
|
|
82633
|
+
return new APIPromise($do157(client, request, options));
|
|
82061
82634
|
}
|
|
82062
|
-
async function $
|
|
82635
|
+
async function $do157(client, request, options) {
|
|
82063
82636
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82064
82637
|
if (!parsed.ok) {
|
|
82065
82638
|
return [parsed, { status: "invalid" }];
|
|
@@ -82145,12 +82718,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
82145
82718
|
});
|
|
82146
82719
|
|
|
82147
82720
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
82148
|
-
var
|
|
82721
|
+
var args157, tool$walletTransactionsGet;
|
|
82149
82722
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
82150
82723
|
init_walletTransactionsGet();
|
|
82151
82724
|
init_operations();
|
|
82152
82725
|
init_tools();
|
|
82153
|
-
|
|
82726
|
+
args157 = {
|
|
82154
82727
|
request: GetWalletTransactionRequest$inboundSchema
|
|
82155
82728
|
};
|
|
82156
82729
|
tool$walletTransactionsGet = {
|
|
@@ -82161,9 +82734,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
82161
82734
|
|
|
82162
82735
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82163
82736
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82164
|
-
args:
|
|
82165
|
-
tool: async (client,
|
|
82166
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
82737
|
+
args: args157,
|
|
82738
|
+
tool: async (client, args158, ctx) => {
|
|
82739
|
+
const [result, apiCall] = await walletTransactionsGet(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82167
82740
|
if (!result.ok) {
|
|
82168
82741
|
return {
|
|
82169
82742
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82178,9 +82751,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82178
82751
|
|
|
82179
82752
|
// src/funcs/walletTransactionsList.ts
|
|
82180
82753
|
function walletTransactionsList(client, request, options) {
|
|
82181
|
-
return new APIPromise($
|
|
82754
|
+
return new APIPromise($do158(client, request, options));
|
|
82182
82755
|
}
|
|
82183
|
-
async function $
|
|
82756
|
+
async function $do158(client, request, options) {
|
|
82184
82757
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82185
82758
|
if (!parsed.ok) {
|
|
82186
82759
|
return [parsed, { status: "invalid" }];
|
|
@@ -82280,12 +82853,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
82280
82853
|
});
|
|
82281
82854
|
|
|
82282
82855
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
82283
|
-
var
|
|
82856
|
+
var args158, tool$walletTransactionsList;
|
|
82284
82857
|
var init_walletTransactionsList2 = __esm(() => {
|
|
82285
82858
|
init_walletTransactionsList();
|
|
82286
82859
|
init_operations();
|
|
82287
82860
|
init_tools();
|
|
82288
|
-
|
|
82861
|
+
args158 = {
|
|
82289
82862
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
82290
82863
|
};
|
|
82291
82864
|
tool$walletTransactionsList = {
|
|
@@ -82296,9 +82869,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
82296
82869
|
|
|
82297
82870
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82298
82871
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82299
|
-
args:
|
|
82300
|
-
tool: async (client,
|
|
82301
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
82872
|
+
args: args158,
|
|
82873
|
+
tool: async (client, args159, ctx) => {
|
|
82874
|
+
const [result, apiCall] = await walletTransactionsList(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82302
82875
|
if (!result.ok) {
|
|
82303
82876
|
return {
|
|
82304
82877
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82315,7 +82888,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82315
82888
|
function createMCPServer(deps) {
|
|
82316
82889
|
const server = new McpServer({
|
|
82317
82890
|
name: "Moov",
|
|
82318
|
-
version: "0.
|
|
82891
|
+
version: "0.17.1"
|
|
82319
82892
|
});
|
|
82320
82893
|
const client = new MoovCore({
|
|
82321
82894
|
security: deps.security,
|
|
@@ -82390,7 +82963,9 @@ function createMCPServer(deps) {
|
|
|
82390
82963
|
tool(tool$filesList);
|
|
82391
82964
|
tool(tool$filesGet);
|
|
82392
82965
|
tool(tool$imagesList);
|
|
82966
|
+
tool(tool$imagesUpload);
|
|
82393
82967
|
tool(tool$imagesGetMetadata);
|
|
82968
|
+
tool(tool$imagesUpdate);
|
|
82394
82969
|
tool(tool$imagesDelete);
|
|
82395
82970
|
tool(tool$imagesGetPublic);
|
|
82396
82971
|
tool(tool$paymentLinksCreate);
|
|
@@ -82572,6 +83147,8 @@ var init_server2 = __esm(() => {
|
|
|
82572
83147
|
init_imagesGetMetadata2();
|
|
82573
83148
|
init_imagesGetPublic2();
|
|
82574
83149
|
init_imagesList2();
|
|
83150
|
+
init_imagesUpdate2();
|
|
83151
|
+
init_imagesUpload2();
|
|
82575
83152
|
init_industriesList2();
|
|
82576
83153
|
init_institutionsSearch2();
|
|
82577
83154
|
init_institutionsSearchInstitutions2();
|
|
@@ -83851,7 +84428,7 @@ var routes = rn({
|
|
|
83851
84428
|
var app = Ve(routes, {
|
|
83852
84429
|
name: "mcp",
|
|
83853
84430
|
versionInfo: {
|
|
83854
|
-
currentVersion: "0.
|
|
84431
|
+
currentVersion: "0.17.1"
|
|
83855
84432
|
}
|
|
83856
84433
|
});
|
|
83857
84434
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -83859,5 +84436,5 @@ export {
|
|
|
83859
84436
|
app
|
|
83860
84437
|
};
|
|
83861
84438
|
|
|
83862
|
-
//# debugId=
|
|
84439
|
+
//# debugId=DEE9282CA16AF6D164756E2164756E21
|
|
83863
84440
|
//# sourceMappingURL=mcp-server.js.map
|