@moovio/sdk 26.4.0-dev.10 → 26.4.0-dev.11
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 +95 -55
- package/bin/mcp-server.js +1202 -423
- package/bin/mcp-server.js.map +27 -11
- package/funcs/resolutionLinksCreate.d.ts +20 -0
- package/funcs/resolutionLinksCreate.d.ts.map +1 -0
- package/funcs/resolutionLinksCreate.js +145 -0
- package/funcs/resolutionLinksCreate.js.map +1 -0
- package/funcs/resolutionLinksDisable.d.ts +18 -0
- package/funcs/resolutionLinksDisable.d.ts.map +1 -0
- package/funcs/resolutionLinksDisable.js +135 -0
- package/funcs/resolutionLinksDisable.js.map +1 -0
- package/funcs/resolutionLinksGet.d.ts +17 -0
- package/funcs/resolutionLinksGet.d.ts.map +1 -0
- package/funcs/resolutionLinksGet.js +126 -0
- package/funcs/resolutionLinksGet.js.map +1 -0
- package/funcs/resolutionLinksList.d.ts +17 -0
- package/funcs/resolutionLinksList.d.ts.map +1 -0
- package/funcs/resolutionLinksList.js +125 -0
- package/funcs/resolutionLinksList.js.map +1 -0
- package/hooks/moov-version-hook.d.ts +3 -4
- package/hooks/moov-version-hook.d.ts.map +1 -1
- package/hooks/moov-version-hook.js +5 -4
- package/hooks/moov-version-hook.js.map +1 -1
- package/hooks/registration.js +1 -1
- package/hooks/registration.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +9 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/resolutionLinksCreate.d.ts +8 -0
- package/mcp-server/tools/resolutionLinksCreate.d.ts.map +1 -0
- package/mcp-server/tools/resolutionLinksCreate.js +67 -0
- package/mcp-server/tools/resolutionLinksCreate.js.map +1 -0
- package/mcp-server/tools/resolutionLinksDisable.d.ts +8 -0
- package/mcp-server/tools/resolutionLinksDisable.d.ts.map +1 -0
- package/mcp-server/tools/resolutionLinksDisable.js +64 -0
- package/mcp-server/tools/resolutionLinksDisable.js.map +1 -0
- package/mcp-server/tools/resolutionLinksGet.d.ts +8 -0
- package/mcp-server/tools/resolutionLinksGet.d.ts.map +1 -0
- package/mcp-server/tools/resolutionLinksGet.js +65 -0
- package/mcp-server/tools/resolutionLinksGet.js.map +1 -0
- package/mcp-server/tools/resolutionLinksList.d.ts +8 -0
- package/mcp-server/tools/resolutionLinksList.d.ts.map +1 -0
- package/mcp-server/tools/resolutionLinksList.js +65 -0
- package/mcp-server/tools/resolutionLinksList.js.map +1 -0
- package/models/components/createresolutionlink.d.ts +24 -0
- package/models/components/createresolutionlink.d.ts.map +1 -0
- package/models/components/createresolutionlink.js +59 -0
- package/models/components/createresolutionlink.js.map +1 -0
- package/models/components/index.d.ts +3 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -0
- package/models/components/index.js.map +1 -1
- package/models/components/resolutionlink.d.ts +63 -0
- package/models/components/resolutionlink.d.ts.map +1 -0
- package/models/components/resolutionlink.js +75 -0
- package/models/components/resolutionlink.js.map +1 -0
- package/models/components/resolutionlinkrecipient.d.ts +29 -0
- package/models/components/resolutionlinkrecipient.d.ts.map +1 -0
- package/models/components/resolutionlinkrecipient.js +61 -0
- package/models/components/resolutionlinkrecipient.js.map +1 -0
- package/models/errors/createresolutionlinkerror.d.ts +45 -0
- package/models/errors/createresolutionlinkerror.d.ts.map +1 -0
- package/models/errors/createresolutionlinkerror.js +82 -0
- package/models/errors/createresolutionlinkerror.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/createresolutionlink.d.ts +66 -0
- package/models/operations/createresolutionlink.d.ts.map +1 -0
- package/models/operations/createresolutionlink.js +122 -0
- package/models/operations/createresolutionlink.js.map +1 -0
- package/models/operations/disableresolutionlink.d.ts +63 -0
- package/models/operations/disableresolutionlink.d.ts.map +1 -0
- package/models/operations/disableresolutionlink.js +109 -0
- package/models/operations/disableresolutionlink.js.map +1 -0
- package/models/operations/getresolutionlink.d.ts +66 -0
- package/models/operations/getresolutionlink.d.ts.map +1 -0
- package/models/operations/getresolutionlink.js +114 -0
- package/models/operations/getresolutionlink.js.map +1 -0
- package/models/operations/index.d.ts +4 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listresolutionlinks.d.ts +64 -0
- package/models/operations/listresolutionlinks.d.ts.map +1 -0
- package/models/operations/listresolutionlinks.js +112 -0
- package/models/operations/listresolutionlinks.js.map +1 -0
- package/package.json +1 -1
- package/sdk/resolutionlinks.d.ts +35 -0
- package/sdk/resolutionlinks.d.ts.map +1 -0
- package/sdk/resolutionlinks.js +54 -0
- package/sdk/resolutionlinks.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/resolutionLinksCreate.ts +208 -0
- package/src/funcs/resolutionLinksDisable.ts +204 -0
- package/src/funcs/resolutionLinksGet.ts +186 -0
- package/src/funcs/resolutionLinksList.ts +180 -0
- package/src/hooks/moov-version-hook.ts +10 -6
- package/src/hooks/registration.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -1
- package/src/mcp-server/tools/resolutionLinksCreate.ts +41 -0
- package/src/mcp-server/tools/resolutionLinksDisable.ts +37 -0
- package/src/mcp-server/tools/resolutionLinksGet.ts +38 -0
- package/src/mcp-server/tools/resolutionLinksList.ts +38 -0
- package/src/models/components/createresolutionlink.ts +63 -0
- package/src/models/components/index.ts +3 -0
- package/src/models/components/resolutionlink.ts +110 -0
- package/src/models/components/resolutionlinkrecipient.ts +70 -0
- package/src/models/errors/createresolutionlinkerror.ts +90 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/createresolutionlink.ts +193 -0
- package/src/models/operations/disableresolutionlink.ts +178 -0
- package/src/models/operations/getresolutionlink.ts +179 -0
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/listresolutionlinks.ts +177 -0
- package/src/sdk/resolutionlinks.ts +83 -0
- package/src/sdk/sdk.ts +6 -0
package/bin/mcp-server.js
CHANGED
|
@@ -52879,17 +52879,18 @@ var init_config = __esm(() => {
|
|
|
52879
52879
|
SDK_METADATA = {
|
|
52880
52880
|
language: "typescript",
|
|
52881
52881
|
openapiDocVersion: "v2026.04.00",
|
|
52882
|
-
sdkVersion: "26.4.0-dev.
|
|
52883
|
-
genVersion: "2.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 26.4.0-dev.
|
|
52882
|
+
sdkVersion: "26.4.0-dev.11",
|
|
52883
|
+
genVersion: "2.859.2",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 26.4.0-dev.11 2.859.2 v2026.04.00 @moovio/sdk"
|
|
52885
52885
|
};
|
|
52886
52886
|
});
|
|
52887
52887
|
|
|
52888
52888
|
// src/hooks/moov-version-hook.ts
|
|
52889
52889
|
class MoovVersionHook {
|
|
52890
|
-
|
|
52891
|
-
|
|
52892
|
-
|
|
52890
|
+
beforeRequest(_hookCtx, request) {
|
|
52891
|
+
const newRequest = new Request(request);
|
|
52892
|
+
newRequest.headers.set("X-Moov-Version", SDK_METADATA.openapiDocVersion);
|
|
52893
|
+
return newRequest;
|
|
52893
52894
|
}
|
|
52894
52895
|
}
|
|
52895
52896
|
var init_moov_version_hook = __esm(() => {
|
|
@@ -52899,7 +52900,7 @@ var init_moov_version_hook = __esm(() => {
|
|
|
52899
52900
|
// src/hooks/registration.ts
|
|
52900
52901
|
function initHooks(hooks) {
|
|
52901
52902
|
const versionHook = new MoovVersionHook;
|
|
52902
|
-
hooks.
|
|
52903
|
+
hooks.registerBeforeRequestHook(versionHook);
|
|
52903
52904
|
}
|
|
52904
52905
|
var init_registration = __esm(() => {
|
|
52905
52906
|
init_moov_version_hook();
|
|
@@ -62345,6 +62346,34 @@ var init_createrepresentative = __esm(() => {
|
|
|
62345
62346
|
});
|
|
62346
62347
|
});
|
|
62347
62348
|
|
|
62349
|
+
// src/models/components/resolutionlinkrecipient.ts
|
|
62350
|
+
var ResolutionLinkRecipient$inboundSchema, ResolutionLinkRecipient$outboundSchema;
|
|
62351
|
+
var init_resolutionlinkrecipient = __esm(() => {
|
|
62352
|
+
init_esm();
|
|
62353
|
+
init_phonenumber();
|
|
62354
|
+
ResolutionLinkRecipient$inboundSchema = objectType({
|
|
62355
|
+
email: stringType().optional(),
|
|
62356
|
+
phone: PhoneNumber$inboundSchema.optional()
|
|
62357
|
+
});
|
|
62358
|
+
ResolutionLinkRecipient$outboundSchema = objectType({
|
|
62359
|
+
email: stringType().optional(),
|
|
62360
|
+
phone: PhoneNumber$outboundSchema.optional()
|
|
62361
|
+
});
|
|
62362
|
+
});
|
|
62363
|
+
|
|
62364
|
+
// src/models/components/createresolutionlink.ts
|
|
62365
|
+
var CreateResolutionLink$inboundSchema, CreateResolutionLink$outboundSchema;
|
|
62366
|
+
var init_createresolutionlink = __esm(() => {
|
|
62367
|
+
init_esm();
|
|
62368
|
+
init_resolutionlinkrecipient();
|
|
62369
|
+
CreateResolutionLink$inboundSchema = objectType({
|
|
62370
|
+
recipient: ResolutionLinkRecipient$inboundSchema
|
|
62371
|
+
});
|
|
62372
|
+
CreateResolutionLink$outboundSchema = objectType({
|
|
62373
|
+
recipient: ResolutionLinkRecipient$outboundSchema
|
|
62374
|
+
});
|
|
62375
|
+
});
|
|
62376
|
+
|
|
62348
62377
|
// src/models/components/createreversal.ts
|
|
62349
62378
|
var CreateReversal$inboundSchema, CreateReversal$outboundSchema;
|
|
62350
62379
|
var init_createreversal = __esm(() => {
|
|
@@ -66505,6 +66534,34 @@ var init_residual = __esm(() => {
|
|
|
66505
66534
|
});
|
|
66506
66535
|
});
|
|
66507
66536
|
|
|
66537
|
+
// src/models/components/resolutionlink.ts
|
|
66538
|
+
var ResolutionLink$inboundSchema, ResolutionLink$outboundSchema;
|
|
66539
|
+
var init_resolutionlink = __esm(() => {
|
|
66540
|
+
init_esm();
|
|
66541
|
+
ResolutionLink$inboundSchema = objectType({
|
|
66542
|
+
code: stringType(),
|
|
66543
|
+
accountID: stringType(),
|
|
66544
|
+
partnerAccountID: stringType(),
|
|
66545
|
+
recipient: stringType(),
|
|
66546
|
+
url: stringType(),
|
|
66547
|
+
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
66548
|
+
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
66549
|
+
disabledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
66550
|
+
expiresOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
66551
|
+
});
|
|
66552
|
+
ResolutionLink$outboundSchema = objectType({
|
|
66553
|
+
code: stringType(),
|
|
66554
|
+
accountID: stringType(),
|
|
66555
|
+
partnerAccountID: stringType(),
|
|
66556
|
+
recipient: stringType(),
|
|
66557
|
+
url: stringType(),
|
|
66558
|
+
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
66559
|
+
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
66560
|
+
disabledOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
66561
|
+
expiresOn: dateType().transform((v2) => v2.toISOString())
|
|
66562
|
+
});
|
|
66563
|
+
});
|
|
66564
|
+
|
|
66508
66565
|
// src/models/components/reversedwithcancellation.ts
|
|
66509
66566
|
var ReversedWithCancellation$inboundSchema, ReversedWithCancellation$outboundSchema;
|
|
66510
66567
|
var init_reversedwithcancellation = __esm(() => {
|
|
@@ -69050,6 +69107,7 @@ var init_components = __esm(() => {
|
|
|
69050
69107
|
init_createrefund();
|
|
69051
69108
|
init_createrefundresponse();
|
|
69052
69109
|
init_createrepresentative();
|
|
69110
|
+
init_createresolutionlink();
|
|
69053
69111
|
init_createreversal();
|
|
69054
69112
|
init_createruntransfer();
|
|
69055
69113
|
init_createscheduledtransferlineitem();
|
|
@@ -69291,6 +69349,8 @@ var init_components = __esm(() => {
|
|
|
69291
69349
|
init_requirementerrorcode();
|
|
69292
69350
|
init_requirementid();
|
|
69293
69351
|
init_residual();
|
|
69352
|
+
init_resolutionlink();
|
|
69353
|
+
init_resolutionlinkrecipient();
|
|
69294
69354
|
init_returnpolicytype();
|
|
69295
69355
|
init_reversal();
|
|
69296
69356
|
init_reversedwithcancellation();
|
|
@@ -69849,6 +69909,45 @@ var init_createpaymentlinkerror = __esm(() => {
|
|
|
69849
69909
|
}));
|
|
69850
69910
|
});
|
|
69851
69911
|
|
|
69912
|
+
// src/models/errors/createresolutionlinkerror.ts
|
|
69913
|
+
var CreateResolutionLinkError, CreateResolutionLinkError$inboundSchema, CreateResolutionLinkError$outboundSchema;
|
|
69914
|
+
var init_createresolutionlinkerror = __esm(() => {
|
|
69915
|
+
init_esm();
|
|
69916
|
+
init_mooverror();
|
|
69917
|
+
CreateResolutionLinkError = class CreateResolutionLinkError extends MoovError {
|
|
69918
|
+
email;
|
|
69919
|
+
phone;
|
|
69920
|
+
data$;
|
|
69921
|
+
constructor(err, httpMeta) {
|
|
69922
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
69923
|
+
super(message, httpMeta);
|
|
69924
|
+
this.data$ = err;
|
|
69925
|
+
if (err.email != null)
|
|
69926
|
+
this.email = err.email;
|
|
69927
|
+
if (err.phone != null)
|
|
69928
|
+
this.phone = err.phone;
|
|
69929
|
+
this.name = "CreateResolutionLinkError";
|
|
69930
|
+
}
|
|
69931
|
+
};
|
|
69932
|
+
CreateResolutionLinkError$inboundSchema = objectType({
|
|
69933
|
+
email: stringType().optional(),
|
|
69934
|
+
phone: stringType().optional(),
|
|
69935
|
+
request$: instanceOfType(Request),
|
|
69936
|
+
response$: instanceOfType(Response),
|
|
69937
|
+
body$: stringType()
|
|
69938
|
+
}).transform((v2) => {
|
|
69939
|
+
return new CreateResolutionLinkError(v2, {
|
|
69940
|
+
request: v2.request$,
|
|
69941
|
+
response: v2.response$,
|
|
69942
|
+
body: v2.body$
|
|
69943
|
+
});
|
|
69944
|
+
});
|
|
69945
|
+
CreateResolutionLinkError$outboundSchema = instanceOfType(CreateResolutionLinkError).transform((v2) => v2.data$).pipe(objectType({
|
|
69946
|
+
email: stringType().optional(),
|
|
69947
|
+
phone: stringType().optional()
|
|
69948
|
+
}));
|
|
69949
|
+
});
|
|
69950
|
+
|
|
69852
69951
|
// src/models/errors/createsweepconfigerror.ts
|
|
69853
69952
|
var CreateSweepConfigError, CreateSweepConfigError$inboundSchema, CreateSweepConfigError$outboundSchema;
|
|
69854
69953
|
var init_createsweepconfigerror = __esm(() => {
|
|
@@ -72273,6 +72372,7 @@ var init_errors4 = __esm(() => {
|
|
|
72273
72372
|
init_createinvoiceerror();
|
|
72274
72373
|
init_createinvoicepaymenterror();
|
|
72275
72374
|
init_createpaymentlinkerror();
|
|
72375
|
+
init_createresolutionlinkerror();
|
|
72276
72376
|
init_createsweepconfigerror();
|
|
72277
72377
|
init_createticketerror();
|
|
72278
72378
|
init_createwalletvalidationerror();
|
|
@@ -73294,6 +73394,62 @@ var init_createrepresentative2 = __esm(() => {
|
|
|
73294
73394
|
});
|
|
73295
73395
|
});
|
|
73296
73396
|
|
|
73397
|
+
// src/models/operations/createresolutionlink.ts
|
|
73398
|
+
var CreateResolutionLinkGlobals$inboundSchema, CreateResolutionLinkGlobals$outboundSchema, CreateResolutionLinkRequest$inboundSchema, CreateResolutionLinkRequest$outboundSchema, CreateResolutionLinkResponse$inboundSchema, CreateResolutionLinkResponse$outboundSchema;
|
|
73399
|
+
var init_createresolutionlink2 = __esm(() => {
|
|
73400
|
+
init_esm();
|
|
73401
|
+
init_primitives();
|
|
73402
|
+
init_components();
|
|
73403
|
+
CreateResolutionLinkGlobals$inboundSchema = objectType({
|
|
73404
|
+
"X-Moov-Version": stringType().optional()
|
|
73405
|
+
}).transform((v2) => {
|
|
73406
|
+
return remap(v2, {
|
|
73407
|
+
"X-Moov-Version": "xMoovVersion"
|
|
73408
|
+
});
|
|
73409
|
+
});
|
|
73410
|
+
CreateResolutionLinkGlobals$outboundSchema = objectType({
|
|
73411
|
+
xMoovVersion: stringType().optional()
|
|
73412
|
+
}).transform((v2) => {
|
|
73413
|
+
return remap(v2, {
|
|
73414
|
+
xMoovVersion: "X-Moov-Version"
|
|
73415
|
+
});
|
|
73416
|
+
});
|
|
73417
|
+
CreateResolutionLinkRequest$inboundSchema = objectType({
|
|
73418
|
+
accountID: stringType(),
|
|
73419
|
+
CreateResolutionLink: CreateResolutionLink$inboundSchema
|
|
73420
|
+
}).transform((v2) => {
|
|
73421
|
+
return remap(v2, {
|
|
73422
|
+
CreateResolutionLink: "createResolutionLink"
|
|
73423
|
+
});
|
|
73424
|
+
});
|
|
73425
|
+
CreateResolutionLinkRequest$outboundSchema = objectType({
|
|
73426
|
+
accountID: stringType(),
|
|
73427
|
+
createResolutionLink: CreateResolutionLink$outboundSchema
|
|
73428
|
+
}).transform((v2) => {
|
|
73429
|
+
return remap(v2, {
|
|
73430
|
+
createResolutionLink: "CreateResolutionLink"
|
|
73431
|
+
});
|
|
73432
|
+
});
|
|
73433
|
+
CreateResolutionLinkResponse$inboundSchema = objectType({
|
|
73434
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
73435
|
+
Result: ResolutionLink$inboundSchema
|
|
73436
|
+
}).transform((v2) => {
|
|
73437
|
+
return remap(v2, {
|
|
73438
|
+
Headers: "headers",
|
|
73439
|
+
Result: "result"
|
|
73440
|
+
});
|
|
73441
|
+
});
|
|
73442
|
+
CreateResolutionLinkResponse$outboundSchema = objectType({
|
|
73443
|
+
headers: recordType(arrayType(stringType())),
|
|
73444
|
+
result: ResolutionLink$outboundSchema
|
|
73445
|
+
}).transform((v2) => {
|
|
73446
|
+
return remap(v2, {
|
|
73447
|
+
headers: "Headers",
|
|
73448
|
+
result: "Result"
|
|
73449
|
+
});
|
|
73450
|
+
});
|
|
73451
|
+
});
|
|
73452
|
+
|
|
73297
73453
|
// src/models/operations/createreversal.ts
|
|
73298
73454
|
var CreateReversalGlobals$inboundSchema, CreateReversalGlobals$outboundSchema, CreateReversalRequest$inboundSchema, CreateReversalRequest$outboundSchema, CreateReversalResponse$inboundSchema, CreateReversalResponse$outboundSchema;
|
|
73299
73455
|
var init_createreversal2 = __esm(() => {
|
|
@@ -74285,6 +74441,49 @@ var init_disableproduct = __esm(() => {
|
|
|
74285
74441
|
});
|
|
74286
74442
|
});
|
|
74287
74443
|
|
|
74444
|
+
// src/models/operations/disableresolutionlink.ts
|
|
74445
|
+
var DisableResolutionLinkGlobals$inboundSchema, DisableResolutionLinkGlobals$outboundSchema, DisableResolutionLinkRequest$inboundSchema, DisableResolutionLinkRequest$outboundSchema, DisableResolutionLinkResponse$inboundSchema, DisableResolutionLinkResponse$outboundSchema;
|
|
74446
|
+
var init_disableresolutionlink = __esm(() => {
|
|
74447
|
+
init_esm();
|
|
74448
|
+
init_primitives();
|
|
74449
|
+
DisableResolutionLinkGlobals$inboundSchema = objectType({
|
|
74450
|
+
"X-Moov-Version": stringType().optional()
|
|
74451
|
+
}).transform((v2) => {
|
|
74452
|
+
return remap(v2, {
|
|
74453
|
+
"X-Moov-Version": "xMoovVersion"
|
|
74454
|
+
});
|
|
74455
|
+
});
|
|
74456
|
+
DisableResolutionLinkGlobals$outboundSchema = objectType({
|
|
74457
|
+
xMoovVersion: stringType().optional()
|
|
74458
|
+
}).transform((v2) => {
|
|
74459
|
+
return remap(v2, {
|
|
74460
|
+
xMoovVersion: "X-Moov-Version"
|
|
74461
|
+
});
|
|
74462
|
+
});
|
|
74463
|
+
DisableResolutionLinkRequest$inboundSchema = objectType({
|
|
74464
|
+
accountID: stringType(),
|
|
74465
|
+
resolutionLinkCode: stringType()
|
|
74466
|
+
});
|
|
74467
|
+
DisableResolutionLinkRequest$outboundSchema = objectType({
|
|
74468
|
+
accountID: stringType(),
|
|
74469
|
+
resolutionLinkCode: stringType()
|
|
74470
|
+
});
|
|
74471
|
+
DisableResolutionLinkResponse$inboundSchema = objectType({
|
|
74472
|
+
Headers: recordType(arrayType(stringType())).default({})
|
|
74473
|
+
}).transform((v2) => {
|
|
74474
|
+
return remap(v2, {
|
|
74475
|
+
Headers: "headers"
|
|
74476
|
+
});
|
|
74477
|
+
});
|
|
74478
|
+
DisableResolutionLinkResponse$outboundSchema = objectType({
|
|
74479
|
+
headers: recordType(arrayType(stringType()))
|
|
74480
|
+
}).transform((v2) => {
|
|
74481
|
+
return remap(v2, {
|
|
74482
|
+
headers: "Headers"
|
|
74483
|
+
});
|
|
74484
|
+
});
|
|
74485
|
+
});
|
|
74486
|
+
|
|
74288
74487
|
// src/models/operations/disablewebhook.ts
|
|
74289
74488
|
var DisableWebhookGlobals$inboundSchema, DisableWebhookGlobals$outboundSchema, DisableWebhookRequest$inboundSchema, DisableWebhookRequest$outboundSchema, DisableWebhookResponse$inboundSchema, DisableWebhookResponse$outboundSchema;
|
|
74290
74489
|
var init_disablewebhook = __esm(() => {
|
|
@@ -76097,6 +76296,54 @@ var init_getresidual = __esm(() => {
|
|
|
76097
76296
|
});
|
|
76098
76297
|
});
|
|
76099
76298
|
|
|
76299
|
+
// src/models/operations/getresolutionlink.ts
|
|
76300
|
+
var GetResolutionLinkGlobals$inboundSchema, GetResolutionLinkGlobals$outboundSchema, GetResolutionLinkRequest$inboundSchema, GetResolutionLinkRequest$outboundSchema, GetResolutionLinkResponse$inboundSchema, GetResolutionLinkResponse$outboundSchema;
|
|
76301
|
+
var init_getresolutionlink = __esm(() => {
|
|
76302
|
+
init_esm();
|
|
76303
|
+
init_primitives();
|
|
76304
|
+
init_components();
|
|
76305
|
+
GetResolutionLinkGlobals$inboundSchema = objectType({
|
|
76306
|
+
"X-Moov-Version": stringType().optional()
|
|
76307
|
+
}).transform((v2) => {
|
|
76308
|
+
return remap(v2, {
|
|
76309
|
+
"X-Moov-Version": "xMoovVersion"
|
|
76310
|
+
});
|
|
76311
|
+
});
|
|
76312
|
+
GetResolutionLinkGlobals$outboundSchema = objectType({
|
|
76313
|
+
xMoovVersion: stringType().optional()
|
|
76314
|
+
}).transform((v2) => {
|
|
76315
|
+
return remap(v2, {
|
|
76316
|
+
xMoovVersion: "X-Moov-Version"
|
|
76317
|
+
});
|
|
76318
|
+
});
|
|
76319
|
+
GetResolutionLinkRequest$inboundSchema = objectType({
|
|
76320
|
+
accountID: stringType(),
|
|
76321
|
+
resolutionLinkCode: stringType()
|
|
76322
|
+
});
|
|
76323
|
+
GetResolutionLinkRequest$outboundSchema = objectType({
|
|
76324
|
+
accountID: stringType(),
|
|
76325
|
+
resolutionLinkCode: stringType()
|
|
76326
|
+
});
|
|
76327
|
+
GetResolutionLinkResponse$inboundSchema = objectType({
|
|
76328
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
76329
|
+
Result: ResolutionLink$inboundSchema
|
|
76330
|
+
}).transform((v2) => {
|
|
76331
|
+
return remap(v2, {
|
|
76332
|
+
Headers: "headers",
|
|
76333
|
+
Result: "result"
|
|
76334
|
+
});
|
|
76335
|
+
});
|
|
76336
|
+
GetResolutionLinkResponse$outboundSchema = objectType({
|
|
76337
|
+
headers: recordType(arrayType(stringType())),
|
|
76338
|
+
result: ResolutionLink$outboundSchema
|
|
76339
|
+
}).transform((v2) => {
|
|
76340
|
+
return remap(v2, {
|
|
76341
|
+
headers: "Headers",
|
|
76342
|
+
result: "Result"
|
|
76343
|
+
});
|
|
76344
|
+
});
|
|
76345
|
+
});
|
|
76346
|
+
|
|
76100
76347
|
// src/models/operations/getscheduledoccurrence.ts
|
|
76101
76348
|
var GetScheduledOccurrenceGlobals$inboundSchema, GetScheduledOccurrenceGlobals$outboundSchema, GetScheduledOccurrenceRequest$inboundSchema, GetScheduledOccurrenceRequest$outboundSchema, GetScheduledOccurrenceResponse$inboundSchema, GetScheduledOccurrenceResponse$outboundSchema;
|
|
76102
76349
|
var init_getscheduledoccurrence = __esm(() => {
|
|
@@ -78996,6 +79243,52 @@ var init_listresiduals = __esm(() => {
|
|
|
78996
79243
|
});
|
|
78997
79244
|
});
|
|
78998
79245
|
|
|
79246
|
+
// src/models/operations/listresolutionlinks.ts
|
|
79247
|
+
var ListResolutionLinksGlobals$inboundSchema, ListResolutionLinksGlobals$outboundSchema, ListResolutionLinksRequest$inboundSchema, ListResolutionLinksRequest$outboundSchema, ListResolutionLinksResponse$inboundSchema, ListResolutionLinksResponse$outboundSchema;
|
|
79248
|
+
var init_listresolutionlinks = __esm(() => {
|
|
79249
|
+
init_esm();
|
|
79250
|
+
init_primitives();
|
|
79251
|
+
init_components();
|
|
79252
|
+
ListResolutionLinksGlobals$inboundSchema = objectType({
|
|
79253
|
+
"X-Moov-Version": stringType().optional()
|
|
79254
|
+
}).transform((v2) => {
|
|
79255
|
+
return remap(v2, {
|
|
79256
|
+
"X-Moov-Version": "xMoovVersion"
|
|
79257
|
+
});
|
|
79258
|
+
});
|
|
79259
|
+
ListResolutionLinksGlobals$outboundSchema = objectType({
|
|
79260
|
+
xMoovVersion: stringType().optional()
|
|
79261
|
+
}).transform((v2) => {
|
|
79262
|
+
return remap(v2, {
|
|
79263
|
+
xMoovVersion: "X-Moov-Version"
|
|
79264
|
+
});
|
|
79265
|
+
});
|
|
79266
|
+
ListResolutionLinksRequest$inboundSchema = objectType({
|
|
79267
|
+
accountID: stringType()
|
|
79268
|
+
});
|
|
79269
|
+
ListResolutionLinksRequest$outboundSchema = objectType({
|
|
79270
|
+
accountID: stringType()
|
|
79271
|
+
});
|
|
79272
|
+
ListResolutionLinksResponse$inboundSchema = objectType({
|
|
79273
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
79274
|
+
Result: arrayType(ResolutionLink$inboundSchema)
|
|
79275
|
+
}).transform((v2) => {
|
|
79276
|
+
return remap(v2, {
|
|
79277
|
+
Headers: "headers",
|
|
79278
|
+
Result: "result"
|
|
79279
|
+
});
|
|
79280
|
+
});
|
|
79281
|
+
ListResolutionLinksResponse$outboundSchema = objectType({
|
|
79282
|
+
headers: recordType(arrayType(stringType())),
|
|
79283
|
+
result: arrayType(ResolutionLink$outboundSchema)
|
|
79284
|
+
}).transform((v2) => {
|
|
79285
|
+
return remap(v2, {
|
|
79286
|
+
headers: "Headers",
|
|
79287
|
+
result: "Result"
|
|
79288
|
+
});
|
|
79289
|
+
});
|
|
79290
|
+
});
|
|
79291
|
+
|
|
78999
79292
|
// src/models/operations/listschedules.ts
|
|
79000
79293
|
var Hydrate, ListSchedulesGlobals$inboundSchema, ListSchedulesGlobals$outboundSchema, Hydrate$inboundSchema, Hydrate$outboundSchema, ListSchedulesRequest$inboundSchema, ListSchedulesRequest$outboundSchema, ListSchedulesResponse$inboundSchema, ListSchedulesResponse$outboundSchema;
|
|
79001
79294
|
var init_listschedules = __esm(() => {
|
|
@@ -81510,6 +81803,7 @@ var init_operations = __esm(() => {
|
|
|
81510
81803
|
init_createproduct();
|
|
81511
81804
|
init_createreceipts();
|
|
81512
81805
|
init_createrepresentative2();
|
|
81806
|
+
init_createresolutionlink2();
|
|
81513
81807
|
init_createreversal2();
|
|
81514
81808
|
init_createschedule();
|
|
81515
81809
|
init_createsweepconfig2();
|
|
@@ -81530,6 +81824,7 @@ var init_operations = __esm(() => {
|
|
|
81530
81824
|
init_disablecard();
|
|
81531
81825
|
init_disablepaymentlink();
|
|
81532
81826
|
init_disableproduct();
|
|
81827
|
+
init_disableresolutionlink();
|
|
81533
81828
|
init_disablewebhook();
|
|
81534
81829
|
init_disconnectaccount();
|
|
81535
81830
|
init_generateendtoendkey();
|
|
@@ -81567,6 +81862,7 @@ var init_operations = __esm(() => {
|
|
|
81567
81862
|
init_getrefund();
|
|
81568
81863
|
init_getrepresentative();
|
|
81569
81864
|
init_getresidual();
|
|
81865
|
+
init_getresolutionlink();
|
|
81570
81866
|
init_getscheduledoccurrence();
|
|
81571
81867
|
init_getschedules();
|
|
81572
81868
|
init_getstatement();
|
|
@@ -81623,6 +81919,7 @@ var init_operations = __esm(() => {
|
|
|
81623
81919
|
init_listrepresentatives();
|
|
81624
81920
|
init_listresidualfees();
|
|
81625
81921
|
init_listresiduals();
|
|
81922
|
+
init_listresolutionlinks();
|
|
81626
81923
|
init_listschedules();
|
|
81627
81924
|
init_liststatements();
|
|
81628
81925
|
init_listsweepconfigs();
|
|
@@ -96979,29 +97276,28 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
96979
97276
|
};
|
|
96980
97277
|
});
|
|
96981
97278
|
|
|
96982
|
-
// src/funcs/
|
|
96983
|
-
function
|
|
97279
|
+
// src/funcs/resolutionLinksCreate.ts
|
|
97280
|
+
function resolutionLinksCreate(client, request, options) {
|
|
96984
97281
|
return new APIPromise($do127(client, request, options));
|
|
96985
97282
|
}
|
|
96986
97283
|
async function $do127(client, request, options) {
|
|
96987
|
-
const parsed = safeParse4(request, (value) =>
|
|
97284
|
+
const parsed = safeParse4(request, (value) => CreateResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96988
97285
|
if (!parsed.ok) {
|
|
96989
97286
|
return [parsed, { status: "invalid" }];
|
|
96990
97287
|
}
|
|
96991
97288
|
const payload = parsed.value;
|
|
96992
|
-
const body =
|
|
97289
|
+
const body = encodeJSON("body", payload.CreateResolutionLink, {
|
|
97290
|
+
explode: true
|
|
97291
|
+
});
|
|
96993
97292
|
const pathParams = {
|
|
96994
97293
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
96995
97294
|
explode: false,
|
|
96996
97295
|
charEncoding: "percent"
|
|
96997
|
-
}),
|
|
96998
|
-
scheduleID: encodeSimple("scheduleID", payload.scheduleID, {
|
|
96999
|
-
explode: false,
|
|
97000
|
-
charEncoding: "percent"
|
|
97001
97296
|
})
|
|
97002
97297
|
};
|
|
97003
|
-
const path = pathToFunc("/accounts/{accountID}/
|
|
97298
|
+
const path = pathToFunc("/accounts/{accountID}/resolution-links")(pathParams);
|
|
97004
97299
|
const headers = new Headers(compactMap({
|
|
97300
|
+
"Content-Type": "application/json",
|
|
97005
97301
|
Accept: "application/json",
|
|
97006
97302
|
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
97007
97303
|
}));
|
|
@@ -97010,7 +97306,7 @@ async function $do127(client, request, options) {
|
|
|
97010
97306
|
const context = {
|
|
97011
97307
|
options: client._options,
|
|
97012
97308
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
97013
|
-
operationID: "
|
|
97309
|
+
operationID: "createResolutionLink",
|
|
97014
97310
|
oAuth2Scopes: null,
|
|
97015
97311
|
resolvedSecurity: requestSecurity,
|
|
97016
97312
|
securitySource: client._options.security,
|
|
@@ -97019,7 +97315,7 @@ async function $do127(client, request, options) {
|
|
|
97019
97315
|
};
|
|
97020
97316
|
const requestRes = client._createRequest(context, {
|
|
97021
97317
|
security: requestSecurity,
|
|
97022
|
-
method: "
|
|
97318
|
+
method: "POST",
|
|
97023
97319
|
baseURL: options?.serverURL,
|
|
97024
97320
|
path,
|
|
97025
97321
|
headers,
|
|
@@ -97039,6 +97335,7 @@ async function $do127(client, request, options) {
|
|
|
97039
97335
|
"403",
|
|
97040
97336
|
"404",
|
|
97041
97337
|
"409",
|
|
97338
|
+
"422",
|
|
97042
97339
|
"429",
|
|
97043
97340
|
"4XX",
|
|
97044
97341
|
"500",
|
|
@@ -97055,15 +97352,18 @@ async function $do127(client, request, options) {
|
|
|
97055
97352
|
const responseFields = {
|
|
97056
97353
|
HttpMeta: { Response: response, Request: req }
|
|
97057
97354
|
};
|
|
97058
|
-
const [result] = await match(
|
|
97355
|
+
const [result] = await match(json(200, CreateResolutionLinkResponse$inboundSchema, {
|
|
97356
|
+
hdrs: true,
|
|
97357
|
+
key: "Result"
|
|
97358
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, CreateResolutionLinkError$inboundSchema, {
|
|
97059
97359
|
hdrs: true
|
|
97060
|
-
}),
|
|
97360
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
97061
97361
|
if (!result.ok) {
|
|
97062
97362
|
return [result, { status: "complete", request: req, response }];
|
|
97063
97363
|
}
|
|
97064
97364
|
return [result, { status: "complete", request: req, response }];
|
|
97065
97365
|
}
|
|
97066
|
-
var
|
|
97366
|
+
var init_resolutionLinksCreate = __esm(() => {
|
|
97067
97367
|
init_encodings();
|
|
97068
97368
|
init_matchers();
|
|
97069
97369
|
init_primitives();
|
|
@@ -97075,55 +97375,58 @@ var init_schedulingCancel = __esm(() => {
|
|
|
97075
97375
|
init_async();
|
|
97076
97376
|
});
|
|
97077
97377
|
|
|
97078
|
-
// src/mcp-server/tools/
|
|
97079
|
-
var args127, tool$
|
|
97080
|
-
var
|
|
97081
|
-
|
|
97378
|
+
// src/mcp-server/tools/resolutionLinksCreate.ts
|
|
97379
|
+
var args127, tool$resolutionLinksCreate;
|
|
97380
|
+
var init_resolutionLinksCreate2 = __esm(() => {
|
|
97381
|
+
init_resolutionLinksCreate();
|
|
97082
97382
|
init_operations();
|
|
97083
97383
|
init_tools();
|
|
97084
97384
|
args127 = {
|
|
97085
|
-
request:
|
|
97385
|
+
request: CreateResolutionLinkRequest$inboundSchema
|
|
97086
97386
|
};
|
|
97087
|
-
tool$
|
|
97088
|
-
name: "
|
|
97089
|
-
description: `
|
|
97387
|
+
tool$resolutionLinksCreate = {
|
|
97388
|
+
name: "resolution-links-create",
|
|
97389
|
+
description: `Create a resolution link for the specified account. Resolution links are temporary, secure links
|
|
97390
|
+
sent to merchants to resolve account requirements such as KYC verification or document uploads. Only one active resolution link
|
|
97391
|
+
is allowed per connected account.
|
|
97090
97392
|
|
|
97091
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97092
|
-
you'll need to specify the \`/accounts/{accountID}/
|
|
97393
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97394
|
+
you'll need to specify the \`/accounts/{accountID}/profile.write\`, \`/accounts/{accountID}/representatives.write\` and \`/accounts/{accountID}/files.write\` scopes.`,
|
|
97093
97395
|
args: args127,
|
|
97094
97396
|
tool: async (client, args128, ctx) => {
|
|
97095
|
-
const [result, apiCall] = await
|
|
97397
|
+
const [result, apiCall] = await resolutionLinksCreate(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97096
97398
|
if (!result.ok) {
|
|
97097
97399
|
return {
|
|
97098
97400
|
content: [{ type: "text", text: result.error.message }],
|
|
97099
97401
|
isError: true
|
|
97100
97402
|
};
|
|
97101
97403
|
}
|
|
97102
|
-
|
|
97404
|
+
const value = result.value.result;
|
|
97405
|
+
return formatResult(value, apiCall);
|
|
97103
97406
|
}
|
|
97104
97407
|
};
|
|
97105
97408
|
});
|
|
97106
97409
|
|
|
97107
|
-
// src/funcs/
|
|
97108
|
-
function
|
|
97410
|
+
// src/funcs/resolutionLinksDisable.ts
|
|
97411
|
+
function resolutionLinksDisable(client, request, options) {
|
|
97109
97412
|
return new APIPromise($do128(client, request, options));
|
|
97110
97413
|
}
|
|
97111
97414
|
async function $do128(client, request, options) {
|
|
97112
|
-
const parsed = safeParse4(request, (value) =>
|
|
97415
|
+
const parsed = safeParse4(request, (value) => DisableResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97113
97416
|
if (!parsed.ok) {
|
|
97114
97417
|
return [parsed, { status: "invalid" }];
|
|
97115
97418
|
}
|
|
97116
97419
|
const payload = parsed.value;
|
|
97117
|
-
const body =
|
|
97420
|
+
const body = null;
|
|
97118
97421
|
const pathParams = {
|
|
97119
97422
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
97120
97423
|
explode: false,
|
|
97121
97424
|
charEncoding: "percent"
|
|
97122
|
-
})
|
|
97425
|
+
}),
|
|
97426
|
+
resolutionLinkCode: encodeSimple("resolutionLinkCode", payload.resolutionLinkCode, { explode: false, charEncoding: "percent" })
|
|
97123
97427
|
};
|
|
97124
|
-
const path = pathToFunc("/accounts/{accountID}/
|
|
97428
|
+
const path = pathToFunc("/accounts/{accountID}/resolution-links/{resolutionLinkCode}")(pathParams);
|
|
97125
97429
|
const headers = new Headers(compactMap({
|
|
97126
|
-
"Content-Type": "application/json",
|
|
97127
97430
|
Accept: "application/json",
|
|
97128
97431
|
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
97129
97432
|
}));
|
|
@@ -97132,7 +97435,7 @@ async function $do128(client, request, options) {
|
|
|
97132
97435
|
const context = {
|
|
97133
97436
|
options: client._options,
|
|
97134
97437
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
97135
|
-
operationID: "
|
|
97438
|
+
operationID: "disableResolutionLink",
|
|
97136
97439
|
oAuth2Scopes: null,
|
|
97137
97440
|
resolvedSecurity: requestSecurity,
|
|
97138
97441
|
securitySource: client._options.security,
|
|
@@ -97141,7 +97444,7 @@ async function $do128(client, request, options) {
|
|
|
97141
97444
|
};
|
|
97142
97445
|
const requestRes = client._createRequest(context, {
|
|
97143
97446
|
security: requestSecurity,
|
|
97144
|
-
method: "
|
|
97447
|
+
method: "DELETE",
|
|
97145
97448
|
baseURL: options?.serverURL,
|
|
97146
97449
|
path,
|
|
97147
97450
|
headers,
|
|
@@ -97161,7 +97464,6 @@ async function $do128(client, request, options) {
|
|
|
97161
97464
|
"403",
|
|
97162
97465
|
"404",
|
|
97163
97466
|
"409",
|
|
97164
|
-
"422",
|
|
97165
97467
|
"429",
|
|
97166
97468
|
"4XX",
|
|
97167
97469
|
"500",
|
|
@@ -97178,18 +97480,13 @@ async function $do128(client, request, options) {
|
|
|
97178
97480
|
const responseFields = {
|
|
97179
97481
|
HttpMeta: { Response: response, Request: req }
|
|
97180
97482
|
};
|
|
97181
|
-
const [result] = await match(
|
|
97182
|
-
hdrs: true,
|
|
97183
|
-
key: "Result"
|
|
97184
|
-
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, ScheduleValidationError$inboundSchema, {
|
|
97185
|
-
hdrs: true
|
|
97186
|
-
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
97483
|
+
const [result] = await match(nil(204, DisableResolutionLinkResponse$inboundSchema.optional(), { hdrs: true }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
97187
97484
|
if (!result.ok) {
|
|
97188
97485
|
return [result, { status: "complete", request: req, response }];
|
|
97189
97486
|
}
|
|
97190
97487
|
return [result, { status: "complete", request: req, response }];
|
|
97191
97488
|
}
|
|
97192
|
-
var
|
|
97489
|
+
var init_resolutionLinksDisable = __esm(() => {
|
|
97193
97490
|
init_encodings();
|
|
97194
97491
|
init_matchers();
|
|
97195
97492
|
init_primitives();
|
|
@@ -97201,42 +97498,41 @@ var init_schedulingCreate = __esm(() => {
|
|
|
97201
97498
|
init_async();
|
|
97202
97499
|
});
|
|
97203
97500
|
|
|
97204
|
-
// src/mcp-server/tools/
|
|
97205
|
-
var args128, tool$
|
|
97206
|
-
var
|
|
97207
|
-
|
|
97501
|
+
// src/mcp-server/tools/resolutionLinksDisable.ts
|
|
97502
|
+
var args128, tool$resolutionLinksDisable;
|
|
97503
|
+
var init_resolutionLinksDisable2 = __esm(() => {
|
|
97504
|
+
init_resolutionLinksDisable();
|
|
97208
97505
|
init_operations();
|
|
97209
97506
|
init_tools();
|
|
97210
97507
|
args128 = {
|
|
97211
|
-
request:
|
|
97508
|
+
request: DisableResolutionLinkRequest$inboundSchema
|
|
97212
97509
|
};
|
|
97213
|
-
tool$
|
|
97214
|
-
name: "
|
|
97215
|
-
description: `
|
|
97510
|
+
tool$resolutionLinksDisable = {
|
|
97511
|
+
name: "resolution-links-disable",
|
|
97512
|
+
description: `Disable a resolution link. Disabled resolution links can no longer be used by merchants.
|
|
97216
97513
|
|
|
97217
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97218
|
-
you'll need to specify the \`/accounts/{accountID}/
|
|
97514
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97515
|
+
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
97219
97516
|
args: args128,
|
|
97220
97517
|
tool: async (client, args129, ctx) => {
|
|
97221
|
-
const [result, apiCall] = await
|
|
97518
|
+
const [result, apiCall] = await resolutionLinksDisable(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97222
97519
|
if (!result.ok) {
|
|
97223
97520
|
return {
|
|
97224
97521
|
content: [{ type: "text", text: result.error.message }],
|
|
97225
97522
|
isError: true
|
|
97226
97523
|
};
|
|
97227
97524
|
}
|
|
97228
|
-
|
|
97229
|
-
return formatResult(value, apiCall);
|
|
97525
|
+
return formatResult(undefined, apiCall);
|
|
97230
97526
|
}
|
|
97231
97527
|
};
|
|
97232
97528
|
});
|
|
97233
97529
|
|
|
97234
|
-
// src/funcs/
|
|
97235
|
-
function
|
|
97530
|
+
// src/funcs/resolutionLinksGet.ts
|
|
97531
|
+
function resolutionLinksGet(client, request, options) {
|
|
97236
97532
|
return new APIPromise($do129(client, request, options));
|
|
97237
97533
|
}
|
|
97238
97534
|
async function $do129(client, request, options) {
|
|
97239
|
-
const parsed = safeParse4(request, (value) =>
|
|
97535
|
+
const parsed = safeParse4(request, (value) => GetResolutionLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97240
97536
|
if (!parsed.ok) {
|
|
97241
97537
|
return [parsed, { status: "invalid" }];
|
|
97242
97538
|
}
|
|
@@ -97247,12 +97543,9 @@ async function $do129(client, request, options) {
|
|
|
97247
97543
|
explode: false,
|
|
97248
97544
|
charEncoding: "percent"
|
|
97249
97545
|
}),
|
|
97250
|
-
|
|
97251
|
-
explode: false,
|
|
97252
|
-
charEncoding: "percent"
|
|
97253
|
-
})
|
|
97546
|
+
resolutionLinkCode: encodeSimple("resolutionLinkCode", payload.resolutionLinkCode, { explode: false, charEncoding: "percent" })
|
|
97254
97547
|
};
|
|
97255
|
-
const path = pathToFunc("/accounts/{accountID}/
|
|
97548
|
+
const path = pathToFunc("/accounts/{accountID}/resolution-links/{resolutionLinkCode}")(pathParams);
|
|
97256
97549
|
const headers = new Headers(compactMap({
|
|
97257
97550
|
Accept: "application/json",
|
|
97258
97551
|
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
@@ -97262,7 +97555,485 @@ async function $do129(client, request, options) {
|
|
|
97262
97555
|
const context = {
|
|
97263
97556
|
options: client._options,
|
|
97264
97557
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
97265
|
-
operationID: "
|
|
97558
|
+
operationID: "getResolutionLink",
|
|
97559
|
+
oAuth2Scopes: null,
|
|
97560
|
+
resolvedSecurity: requestSecurity,
|
|
97561
|
+
securitySource: client._options.security,
|
|
97562
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
97563
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
97564
|
+
};
|
|
97565
|
+
const requestRes = client._createRequest(context, {
|
|
97566
|
+
security: requestSecurity,
|
|
97567
|
+
method: "GET",
|
|
97568
|
+
baseURL: options?.serverURL,
|
|
97569
|
+
path,
|
|
97570
|
+
headers,
|
|
97571
|
+
body,
|
|
97572
|
+
userAgent: client._options.userAgent,
|
|
97573
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
97574
|
+
}, options);
|
|
97575
|
+
if (!requestRes.ok) {
|
|
97576
|
+
return [requestRes, { status: "invalid" }];
|
|
97577
|
+
}
|
|
97578
|
+
const req = requestRes.value;
|
|
97579
|
+
const doResult = await client._do(req, {
|
|
97580
|
+
context,
|
|
97581
|
+
errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
|
|
97582
|
+
retryConfig: context.retryConfig,
|
|
97583
|
+
retryCodes: context.retryCodes
|
|
97584
|
+
});
|
|
97585
|
+
if (!doResult.ok) {
|
|
97586
|
+
return [doResult, { status: "request-error", request: req }];
|
|
97587
|
+
}
|
|
97588
|
+
const response = doResult.value;
|
|
97589
|
+
const responseFields = {
|
|
97590
|
+
HttpMeta: { Response: response, Request: req }
|
|
97591
|
+
};
|
|
97592
|
+
const [result] = await match(json(200, GetResolutionLinkResponse$inboundSchema, {
|
|
97593
|
+
hdrs: true,
|
|
97594
|
+
key: "Result"
|
|
97595
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
97596
|
+
if (!result.ok) {
|
|
97597
|
+
return [result, { status: "complete", request: req, response }];
|
|
97598
|
+
}
|
|
97599
|
+
return [result, { status: "complete", request: req, response }];
|
|
97600
|
+
}
|
|
97601
|
+
var init_resolutionLinksGet = __esm(() => {
|
|
97602
|
+
init_encodings();
|
|
97603
|
+
init_matchers();
|
|
97604
|
+
init_primitives();
|
|
97605
|
+
init_schemas4();
|
|
97606
|
+
init_security();
|
|
97607
|
+
init_url();
|
|
97608
|
+
init_operations();
|
|
97609
|
+
init_async();
|
|
97610
|
+
});
|
|
97611
|
+
|
|
97612
|
+
// src/mcp-server/tools/resolutionLinksGet.ts
|
|
97613
|
+
var args129, tool$resolutionLinksGet;
|
|
97614
|
+
var init_resolutionLinksGet2 = __esm(() => {
|
|
97615
|
+
init_resolutionLinksGet();
|
|
97616
|
+
init_operations();
|
|
97617
|
+
init_tools();
|
|
97618
|
+
args129 = {
|
|
97619
|
+
request: GetResolutionLinkRequest$inboundSchema
|
|
97620
|
+
};
|
|
97621
|
+
tool$resolutionLinksGet = {
|
|
97622
|
+
name: "resolution-links-get",
|
|
97623
|
+
description: `Get a resolution link by code.
|
|
97624
|
+
|
|
97625
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97626
|
+
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
97627
|
+
args: args129,
|
|
97628
|
+
tool: async (client, args130, ctx) => {
|
|
97629
|
+
const [result, apiCall] = await resolutionLinksGet(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97630
|
+
if (!result.ok) {
|
|
97631
|
+
return {
|
|
97632
|
+
content: [{ type: "text", text: result.error.message }],
|
|
97633
|
+
isError: true
|
|
97634
|
+
};
|
|
97635
|
+
}
|
|
97636
|
+
const value = result.value.result;
|
|
97637
|
+
return formatResult(value, apiCall);
|
|
97638
|
+
}
|
|
97639
|
+
};
|
|
97640
|
+
});
|
|
97641
|
+
|
|
97642
|
+
// src/funcs/resolutionLinksList.ts
|
|
97643
|
+
function resolutionLinksList(client, request, options) {
|
|
97644
|
+
return new APIPromise($do130(client, request, options));
|
|
97645
|
+
}
|
|
97646
|
+
async function $do130(client, request, options) {
|
|
97647
|
+
const parsed = safeParse4(request, (value) => ListResolutionLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97648
|
+
if (!parsed.ok) {
|
|
97649
|
+
return [parsed, { status: "invalid" }];
|
|
97650
|
+
}
|
|
97651
|
+
const payload = parsed.value;
|
|
97652
|
+
const body = null;
|
|
97653
|
+
const pathParams = {
|
|
97654
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
97655
|
+
explode: false,
|
|
97656
|
+
charEncoding: "percent"
|
|
97657
|
+
})
|
|
97658
|
+
};
|
|
97659
|
+
const path = pathToFunc("/accounts/{accountID}/resolution-links")(pathParams);
|
|
97660
|
+
const headers = new Headers(compactMap({
|
|
97661
|
+
Accept: "application/json",
|
|
97662
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
97663
|
+
}));
|
|
97664
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
97665
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
97666
|
+
const context = {
|
|
97667
|
+
options: client._options,
|
|
97668
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
97669
|
+
operationID: "listResolutionLinks",
|
|
97670
|
+
oAuth2Scopes: null,
|
|
97671
|
+
resolvedSecurity: requestSecurity,
|
|
97672
|
+
securitySource: client._options.security,
|
|
97673
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
97674
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
97675
|
+
};
|
|
97676
|
+
const requestRes = client._createRequest(context, {
|
|
97677
|
+
security: requestSecurity,
|
|
97678
|
+
method: "GET",
|
|
97679
|
+
baseURL: options?.serverURL,
|
|
97680
|
+
path,
|
|
97681
|
+
headers,
|
|
97682
|
+
body,
|
|
97683
|
+
userAgent: client._options.userAgent,
|
|
97684
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
97685
|
+
}, options);
|
|
97686
|
+
if (!requestRes.ok) {
|
|
97687
|
+
return [requestRes, { status: "invalid" }];
|
|
97688
|
+
}
|
|
97689
|
+
const req = requestRes.value;
|
|
97690
|
+
const doResult = await client._do(req, {
|
|
97691
|
+
context,
|
|
97692
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
97693
|
+
retryConfig: context.retryConfig,
|
|
97694
|
+
retryCodes: context.retryCodes
|
|
97695
|
+
});
|
|
97696
|
+
if (!doResult.ok) {
|
|
97697
|
+
return [doResult, { status: "request-error", request: req }];
|
|
97698
|
+
}
|
|
97699
|
+
const response = doResult.value;
|
|
97700
|
+
const responseFields = {
|
|
97701
|
+
HttpMeta: { Response: response, Request: req }
|
|
97702
|
+
};
|
|
97703
|
+
const [result] = await match(json(200, ListResolutionLinksResponse$inboundSchema, {
|
|
97704
|
+
hdrs: true,
|
|
97705
|
+
key: "Result"
|
|
97706
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
97707
|
+
if (!result.ok) {
|
|
97708
|
+
return [result, { status: "complete", request: req, response }];
|
|
97709
|
+
}
|
|
97710
|
+
return [result, { status: "complete", request: req, response }];
|
|
97711
|
+
}
|
|
97712
|
+
var init_resolutionLinksList = __esm(() => {
|
|
97713
|
+
init_encodings();
|
|
97714
|
+
init_matchers();
|
|
97715
|
+
init_primitives();
|
|
97716
|
+
init_schemas4();
|
|
97717
|
+
init_security();
|
|
97718
|
+
init_url();
|
|
97719
|
+
init_operations();
|
|
97720
|
+
init_async();
|
|
97721
|
+
});
|
|
97722
|
+
|
|
97723
|
+
// src/mcp-server/tools/resolutionLinksList.ts
|
|
97724
|
+
var args130, tool$resolutionLinksList;
|
|
97725
|
+
var init_resolutionLinksList2 = __esm(() => {
|
|
97726
|
+
init_resolutionLinksList();
|
|
97727
|
+
init_operations();
|
|
97728
|
+
init_tools();
|
|
97729
|
+
args130 = {
|
|
97730
|
+
request: ListResolutionLinksRequest$inboundSchema
|
|
97731
|
+
};
|
|
97732
|
+
tool$resolutionLinksList = {
|
|
97733
|
+
name: "resolution-links-list",
|
|
97734
|
+
description: `List resolution links for the specified account.
|
|
97735
|
+
|
|
97736
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97737
|
+
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
97738
|
+
args: args130,
|
|
97739
|
+
tool: async (client, args131, ctx) => {
|
|
97740
|
+
const [result, apiCall] = await resolutionLinksList(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97741
|
+
if (!result.ok) {
|
|
97742
|
+
return {
|
|
97743
|
+
content: [{ type: "text", text: result.error.message }],
|
|
97744
|
+
isError: true
|
|
97745
|
+
};
|
|
97746
|
+
}
|
|
97747
|
+
const value = result.value.result;
|
|
97748
|
+
return formatResult(value, apiCall);
|
|
97749
|
+
}
|
|
97750
|
+
};
|
|
97751
|
+
});
|
|
97752
|
+
|
|
97753
|
+
// src/funcs/schedulingCancel.ts
|
|
97754
|
+
function schedulingCancel(client, request, options) {
|
|
97755
|
+
return new APIPromise($do131(client, request, options));
|
|
97756
|
+
}
|
|
97757
|
+
async function $do131(client, request, options) {
|
|
97758
|
+
const parsed = safeParse4(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97759
|
+
if (!parsed.ok) {
|
|
97760
|
+
return [parsed, { status: "invalid" }];
|
|
97761
|
+
}
|
|
97762
|
+
const payload = parsed.value;
|
|
97763
|
+
const body = null;
|
|
97764
|
+
const pathParams = {
|
|
97765
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
97766
|
+
explode: false,
|
|
97767
|
+
charEncoding: "percent"
|
|
97768
|
+
}),
|
|
97769
|
+
scheduleID: encodeSimple("scheduleID", payload.scheduleID, {
|
|
97770
|
+
explode: false,
|
|
97771
|
+
charEncoding: "percent"
|
|
97772
|
+
})
|
|
97773
|
+
};
|
|
97774
|
+
const path = pathToFunc("/accounts/{accountID}/schedules/{scheduleID}")(pathParams);
|
|
97775
|
+
const headers = new Headers(compactMap({
|
|
97776
|
+
Accept: "application/json",
|
|
97777
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
97778
|
+
}));
|
|
97779
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
97780
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
97781
|
+
const context = {
|
|
97782
|
+
options: client._options,
|
|
97783
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
97784
|
+
operationID: "cancelSchedule",
|
|
97785
|
+
oAuth2Scopes: null,
|
|
97786
|
+
resolvedSecurity: requestSecurity,
|
|
97787
|
+
securitySource: client._options.security,
|
|
97788
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
97789
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
97790
|
+
};
|
|
97791
|
+
const requestRes = client._createRequest(context, {
|
|
97792
|
+
security: requestSecurity,
|
|
97793
|
+
method: "DELETE",
|
|
97794
|
+
baseURL: options?.serverURL,
|
|
97795
|
+
path,
|
|
97796
|
+
headers,
|
|
97797
|
+
body,
|
|
97798
|
+
userAgent: client._options.userAgent,
|
|
97799
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
97800
|
+
}, options);
|
|
97801
|
+
if (!requestRes.ok) {
|
|
97802
|
+
return [requestRes, { status: "invalid" }];
|
|
97803
|
+
}
|
|
97804
|
+
const req = requestRes.value;
|
|
97805
|
+
const doResult = await client._do(req, {
|
|
97806
|
+
context,
|
|
97807
|
+
errorCodes: [
|
|
97808
|
+
"400",
|
|
97809
|
+
"401",
|
|
97810
|
+
"403",
|
|
97811
|
+
"404",
|
|
97812
|
+
"409",
|
|
97813
|
+
"429",
|
|
97814
|
+
"4XX",
|
|
97815
|
+
"500",
|
|
97816
|
+
"504",
|
|
97817
|
+
"5XX"
|
|
97818
|
+
],
|
|
97819
|
+
retryConfig: context.retryConfig,
|
|
97820
|
+
retryCodes: context.retryCodes
|
|
97821
|
+
});
|
|
97822
|
+
if (!doResult.ok) {
|
|
97823
|
+
return [doResult, { status: "request-error", request: req }];
|
|
97824
|
+
}
|
|
97825
|
+
const response = doResult.value;
|
|
97826
|
+
const responseFields = {
|
|
97827
|
+
HttpMeta: { Response: response, Request: req }
|
|
97828
|
+
};
|
|
97829
|
+
const [result] = await match(nil(204, CancelScheduleResponse$inboundSchema.optional(), {
|
|
97830
|
+
hdrs: true
|
|
97831
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
97832
|
+
if (!result.ok) {
|
|
97833
|
+
return [result, { status: "complete", request: req, response }];
|
|
97834
|
+
}
|
|
97835
|
+
return [result, { status: "complete", request: req, response }];
|
|
97836
|
+
}
|
|
97837
|
+
var init_schedulingCancel = __esm(() => {
|
|
97838
|
+
init_encodings();
|
|
97839
|
+
init_matchers();
|
|
97840
|
+
init_primitives();
|
|
97841
|
+
init_schemas4();
|
|
97842
|
+
init_security();
|
|
97843
|
+
init_url();
|
|
97844
|
+
init_errors4();
|
|
97845
|
+
init_operations();
|
|
97846
|
+
init_async();
|
|
97847
|
+
});
|
|
97848
|
+
|
|
97849
|
+
// src/mcp-server/tools/schedulingCancel.ts
|
|
97850
|
+
var args131, tool$schedulingCancel;
|
|
97851
|
+
var init_schedulingCancel2 = __esm(() => {
|
|
97852
|
+
init_schedulingCancel();
|
|
97853
|
+
init_operations();
|
|
97854
|
+
init_tools();
|
|
97855
|
+
args131 = {
|
|
97856
|
+
request: CancelScheduleRequest$inboundSchema
|
|
97857
|
+
};
|
|
97858
|
+
tool$schedulingCancel = {
|
|
97859
|
+
name: "scheduling-cancel",
|
|
97860
|
+
description: `Describes the schedule to cancel.
|
|
97861
|
+
|
|
97862
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97863
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
97864
|
+
args: args131,
|
|
97865
|
+
tool: async (client, args132, ctx) => {
|
|
97866
|
+
const [result, apiCall] = await schedulingCancel(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97867
|
+
if (!result.ok) {
|
|
97868
|
+
return {
|
|
97869
|
+
content: [{ type: "text", text: result.error.message }],
|
|
97870
|
+
isError: true
|
|
97871
|
+
};
|
|
97872
|
+
}
|
|
97873
|
+
return formatResult(undefined, apiCall);
|
|
97874
|
+
}
|
|
97875
|
+
};
|
|
97876
|
+
});
|
|
97877
|
+
|
|
97878
|
+
// src/funcs/schedulingCreate.ts
|
|
97879
|
+
function schedulingCreate(client, request, options) {
|
|
97880
|
+
return new APIPromise($do132(client, request, options));
|
|
97881
|
+
}
|
|
97882
|
+
async function $do132(client, request, options) {
|
|
97883
|
+
const parsed = safeParse4(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97884
|
+
if (!parsed.ok) {
|
|
97885
|
+
return [parsed, { status: "invalid" }];
|
|
97886
|
+
}
|
|
97887
|
+
const payload = parsed.value;
|
|
97888
|
+
const body = encodeJSON("body", payload.UpsertSchedule, { explode: true });
|
|
97889
|
+
const pathParams = {
|
|
97890
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
97891
|
+
explode: false,
|
|
97892
|
+
charEncoding: "percent"
|
|
97893
|
+
})
|
|
97894
|
+
};
|
|
97895
|
+
const path = pathToFunc("/accounts/{accountID}/schedules")(pathParams);
|
|
97896
|
+
const headers = new Headers(compactMap({
|
|
97897
|
+
"Content-Type": "application/json",
|
|
97898
|
+
Accept: "application/json",
|
|
97899
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
97900
|
+
}));
|
|
97901
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
97902
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
97903
|
+
const context = {
|
|
97904
|
+
options: client._options,
|
|
97905
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
97906
|
+
operationID: "createSchedule",
|
|
97907
|
+
oAuth2Scopes: null,
|
|
97908
|
+
resolvedSecurity: requestSecurity,
|
|
97909
|
+
securitySource: client._options.security,
|
|
97910
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
97911
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
97912
|
+
};
|
|
97913
|
+
const requestRes = client._createRequest(context, {
|
|
97914
|
+
security: requestSecurity,
|
|
97915
|
+
method: "POST",
|
|
97916
|
+
baseURL: options?.serverURL,
|
|
97917
|
+
path,
|
|
97918
|
+
headers,
|
|
97919
|
+
body,
|
|
97920
|
+
userAgent: client._options.userAgent,
|
|
97921
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
97922
|
+
}, options);
|
|
97923
|
+
if (!requestRes.ok) {
|
|
97924
|
+
return [requestRes, { status: "invalid" }];
|
|
97925
|
+
}
|
|
97926
|
+
const req = requestRes.value;
|
|
97927
|
+
const doResult = await client._do(req, {
|
|
97928
|
+
context,
|
|
97929
|
+
errorCodes: [
|
|
97930
|
+
"400",
|
|
97931
|
+
"401",
|
|
97932
|
+
"403",
|
|
97933
|
+
"404",
|
|
97934
|
+
"409",
|
|
97935
|
+
"422",
|
|
97936
|
+
"429",
|
|
97937
|
+
"4XX",
|
|
97938
|
+
"500",
|
|
97939
|
+
"504",
|
|
97940
|
+
"5XX"
|
|
97941
|
+
],
|
|
97942
|
+
retryConfig: context.retryConfig,
|
|
97943
|
+
retryCodes: context.retryCodes
|
|
97944
|
+
});
|
|
97945
|
+
if (!doResult.ok) {
|
|
97946
|
+
return [doResult, { status: "request-error", request: req }];
|
|
97947
|
+
}
|
|
97948
|
+
const response = doResult.value;
|
|
97949
|
+
const responseFields = {
|
|
97950
|
+
HttpMeta: { Response: response, Request: req }
|
|
97951
|
+
};
|
|
97952
|
+
const [result] = await match(json(200, CreateScheduleResponse$inboundSchema, {
|
|
97953
|
+
hdrs: true,
|
|
97954
|
+
key: "Result"
|
|
97955
|
+
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, ScheduleValidationError$inboundSchema, {
|
|
97956
|
+
hdrs: true
|
|
97957
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
97958
|
+
if (!result.ok) {
|
|
97959
|
+
return [result, { status: "complete", request: req, response }];
|
|
97960
|
+
}
|
|
97961
|
+
return [result, { status: "complete", request: req, response }];
|
|
97962
|
+
}
|
|
97963
|
+
var init_schedulingCreate = __esm(() => {
|
|
97964
|
+
init_encodings();
|
|
97965
|
+
init_matchers();
|
|
97966
|
+
init_primitives();
|
|
97967
|
+
init_schemas4();
|
|
97968
|
+
init_security();
|
|
97969
|
+
init_url();
|
|
97970
|
+
init_errors4();
|
|
97971
|
+
init_operations();
|
|
97972
|
+
init_async();
|
|
97973
|
+
});
|
|
97974
|
+
|
|
97975
|
+
// src/mcp-server/tools/schedulingCreate.ts
|
|
97976
|
+
var args132, tool$schedulingCreate;
|
|
97977
|
+
var init_schedulingCreate2 = __esm(() => {
|
|
97978
|
+
init_schedulingCreate();
|
|
97979
|
+
init_operations();
|
|
97980
|
+
init_tools();
|
|
97981
|
+
args132 = {
|
|
97982
|
+
request: CreateScheduleRequest$inboundSchema
|
|
97983
|
+
};
|
|
97984
|
+
tool$schedulingCreate = {
|
|
97985
|
+
name: "scheduling-create",
|
|
97986
|
+
description: `Describes the schedule to create or modify.
|
|
97987
|
+
|
|
97988
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97989
|
+
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
97990
|
+
args: args132,
|
|
97991
|
+
tool: async (client, args133, ctx) => {
|
|
97992
|
+
const [result, apiCall] = await schedulingCreate(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97993
|
+
if (!result.ok) {
|
|
97994
|
+
return {
|
|
97995
|
+
content: [{ type: "text", text: result.error.message }],
|
|
97996
|
+
isError: true
|
|
97997
|
+
};
|
|
97998
|
+
}
|
|
97999
|
+
const value = result.value.result;
|
|
98000
|
+
return formatResult(value, apiCall);
|
|
98001
|
+
}
|
|
98002
|
+
};
|
|
98003
|
+
});
|
|
98004
|
+
|
|
98005
|
+
// src/funcs/schedulingGet.ts
|
|
98006
|
+
function schedulingGet(client, request, options) {
|
|
98007
|
+
return new APIPromise($do133(client, request, options));
|
|
98008
|
+
}
|
|
98009
|
+
async function $do133(client, request, options) {
|
|
98010
|
+
const parsed = safeParse4(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98011
|
+
if (!parsed.ok) {
|
|
98012
|
+
return [parsed, { status: "invalid" }];
|
|
98013
|
+
}
|
|
98014
|
+
const payload = parsed.value;
|
|
98015
|
+
const body = null;
|
|
98016
|
+
const pathParams = {
|
|
98017
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
98018
|
+
explode: false,
|
|
98019
|
+
charEncoding: "percent"
|
|
98020
|
+
}),
|
|
98021
|
+
scheduleID: encodeSimple("scheduleID", payload.scheduleID, {
|
|
98022
|
+
explode: false,
|
|
98023
|
+
charEncoding: "percent"
|
|
98024
|
+
})
|
|
98025
|
+
};
|
|
98026
|
+
const path = pathToFunc("/accounts/{accountID}/schedules/{scheduleID}")(pathParams);
|
|
98027
|
+
const headers = new Headers(compactMap({
|
|
98028
|
+
Accept: "application/json",
|
|
98029
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
98030
|
+
}));
|
|
98031
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
98032
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
98033
|
+
const context = {
|
|
98034
|
+
options: client._options,
|
|
98035
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
98036
|
+
operationID: "getSchedules",
|
|
97266
98037
|
oAuth2Scopes: null,
|
|
97267
98038
|
resolvedSecurity: requestSecurity,
|
|
97268
98039
|
securitySource: client._options.security,
|
|
@@ -97317,12 +98088,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
97317
98088
|
});
|
|
97318
98089
|
|
|
97319
98090
|
// src/mcp-server/tools/schedulingGet.ts
|
|
97320
|
-
var
|
|
98091
|
+
var args133, tool$schedulingGet;
|
|
97321
98092
|
var init_schedulingGet2 = __esm(() => {
|
|
97322
98093
|
init_schedulingGet();
|
|
97323
98094
|
init_operations();
|
|
97324
98095
|
init_tools();
|
|
97325
|
-
|
|
98096
|
+
args133 = {
|
|
97326
98097
|
request: GetSchedulesRequest$inboundSchema
|
|
97327
98098
|
};
|
|
97328
98099
|
tool$schedulingGet = {
|
|
@@ -97331,9 +98102,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
97331
98102
|
|
|
97332
98103
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97333
98104
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
97334
|
-
args:
|
|
97335
|
-
tool: async (client,
|
|
97336
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
98105
|
+
args: args133,
|
|
98106
|
+
tool: async (client, args134, ctx) => {
|
|
98107
|
+
const [result, apiCall] = await schedulingGet(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97337
98108
|
if (!result.ok) {
|
|
97338
98109
|
return {
|
|
97339
98110
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97348,9 +98119,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
97348
98119
|
|
|
97349
98120
|
// src/funcs/schedulingGetOccurrance.ts
|
|
97350
98121
|
function schedulingGetOccurrance(client, request, options) {
|
|
97351
|
-
return new APIPromise($
|
|
98122
|
+
return new APIPromise($do134(client, request, options));
|
|
97352
98123
|
}
|
|
97353
|
-
async function $
|
|
98124
|
+
async function $do134(client, request, options) {
|
|
97354
98125
|
const parsed = safeParse4(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97355
98126
|
if (!parsed.ok) {
|
|
97356
98127
|
return [parsed, { status: "invalid" }];
|
|
@@ -97433,12 +98204,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
97433
98204
|
});
|
|
97434
98205
|
|
|
97435
98206
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
97436
|
-
var
|
|
98207
|
+
var args134, tool$schedulingGetOccurrance;
|
|
97437
98208
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
97438
98209
|
init_schedulingGetOccurrance();
|
|
97439
98210
|
init_operations();
|
|
97440
98211
|
init_tools();
|
|
97441
|
-
|
|
98212
|
+
args134 = {
|
|
97442
98213
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
97443
98214
|
};
|
|
97444
98215
|
tool$schedulingGetOccurrance = {
|
|
@@ -97447,9 +98218,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
97447
98218
|
|
|
97448
98219
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97449
98220
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
97450
|
-
args:
|
|
97451
|
-
tool: async (client,
|
|
97452
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
98221
|
+
args: args134,
|
|
98222
|
+
tool: async (client, args135, ctx) => {
|
|
98223
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97453
98224
|
if (!result.ok) {
|
|
97454
98225
|
return {
|
|
97455
98226
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97464,9 +98235,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
97464
98235
|
|
|
97465
98236
|
// src/funcs/schedulingList.ts
|
|
97466
98237
|
function schedulingList(client, request, options) {
|
|
97467
|
-
return new APIPromise($
|
|
98238
|
+
return new APIPromise($do135(client, request, options));
|
|
97468
98239
|
}
|
|
97469
|
-
async function $
|
|
98240
|
+
async function $do135(client, request, options) {
|
|
97470
98241
|
const parsed = safeParse4(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97471
98242
|
if (!parsed.ok) {
|
|
97472
98243
|
return [parsed, { status: "invalid" }];
|
|
@@ -97550,12 +98321,12 @@ var init_schedulingList = __esm(() => {
|
|
|
97550
98321
|
});
|
|
97551
98322
|
|
|
97552
98323
|
// src/mcp-server/tools/schedulingList.ts
|
|
97553
|
-
var
|
|
98324
|
+
var args135, tool$schedulingList;
|
|
97554
98325
|
var init_schedulingList2 = __esm(() => {
|
|
97555
98326
|
init_schedulingList();
|
|
97556
98327
|
init_operations();
|
|
97557
98328
|
init_tools();
|
|
97558
|
-
|
|
98329
|
+
args135 = {
|
|
97559
98330
|
request: ListSchedulesRequest$inboundSchema
|
|
97560
98331
|
};
|
|
97561
98332
|
tool$schedulingList = {
|
|
@@ -97564,9 +98335,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
97564
98335
|
|
|
97565
98336
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97566
98337
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
97567
|
-
args:
|
|
97568
|
-
tool: async (client,
|
|
97569
|
-
const [result, apiCall] = await schedulingList(client,
|
|
98338
|
+
args: args135,
|
|
98339
|
+
tool: async (client, args136, ctx) => {
|
|
98340
|
+
const [result, apiCall] = await schedulingList(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97570
98341
|
if (!result.ok) {
|
|
97571
98342
|
return {
|
|
97572
98343
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97581,9 +98352,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
97581
98352
|
|
|
97582
98353
|
// src/funcs/schedulingUpdate.ts
|
|
97583
98354
|
function schedulingUpdate(client, request, options) {
|
|
97584
|
-
return new APIPromise($
|
|
98355
|
+
return new APIPromise($do136(client, request, options));
|
|
97585
98356
|
}
|
|
97586
|
-
async function $
|
|
98357
|
+
async function $do136(client, request, options) {
|
|
97587
98358
|
const parsed = safeParse4(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97588
98359
|
if (!parsed.ok) {
|
|
97589
98360
|
return [parsed, { status: "invalid" }];
|
|
@@ -97681,12 +98452,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
97681
98452
|
});
|
|
97682
98453
|
|
|
97683
98454
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
97684
|
-
var
|
|
98455
|
+
var args136, tool$schedulingUpdate;
|
|
97685
98456
|
var init_schedulingUpdate2 = __esm(() => {
|
|
97686
98457
|
init_schedulingUpdate();
|
|
97687
98458
|
init_operations();
|
|
97688
98459
|
init_tools();
|
|
97689
|
-
|
|
98460
|
+
args136 = {
|
|
97690
98461
|
request: UpdateScheduleRequest$inboundSchema
|
|
97691
98462
|
};
|
|
97692
98463
|
tool$schedulingUpdate = {
|
|
@@ -97695,9 +98466,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
97695
98466
|
|
|
97696
98467
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97697
98468
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
97698
|
-
args:
|
|
97699
|
-
tool: async (client,
|
|
97700
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
98469
|
+
args: args136,
|
|
98470
|
+
tool: async (client, args137, ctx) => {
|
|
98471
|
+
const [result, apiCall] = await schedulingUpdate(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97701
98472
|
if (!result.ok) {
|
|
97702
98473
|
return {
|
|
97703
98474
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97712,9 +98483,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
97712
98483
|
|
|
97713
98484
|
// src/funcs/statementsGet.ts
|
|
97714
98485
|
function statementsGet(client, request, options) {
|
|
97715
|
-
return new APIPromise($
|
|
98486
|
+
return new APIPromise($do137(client, request, options));
|
|
97716
98487
|
}
|
|
97717
|
-
async function $
|
|
98488
|
+
async function $do137(client, request, options) {
|
|
97718
98489
|
const parsed = safeParse4(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97719
98490
|
if (!parsed.ok) {
|
|
97720
98491
|
return [parsed, { status: "invalid" }];
|
|
@@ -97800,12 +98571,12 @@ var init_statementsGet = __esm(() => {
|
|
|
97800
98571
|
});
|
|
97801
98572
|
|
|
97802
98573
|
// src/mcp-server/tools/statementsGet.ts
|
|
97803
|
-
var
|
|
98574
|
+
var args137, tool$statementsGet;
|
|
97804
98575
|
var init_statementsGet2 = __esm(() => {
|
|
97805
98576
|
init_statementsGet();
|
|
97806
98577
|
init_operations();
|
|
97807
98578
|
init_tools();
|
|
97808
|
-
|
|
98579
|
+
args137 = {
|
|
97809
98580
|
request: GetStatementRequest$inboundSchema
|
|
97810
98581
|
};
|
|
97811
98582
|
tool$statementsGet = {
|
|
@@ -97816,9 +98587,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
97816
98587
|
|
|
97817
98588
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97818
98589
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
97819
|
-
args:
|
|
97820
|
-
tool: async (client,
|
|
97821
|
-
const [result, apiCall] = await statementsGet(client,
|
|
98590
|
+
args: args137,
|
|
98591
|
+
tool: async (client, args138, ctx) => {
|
|
98592
|
+
const [result, apiCall] = await statementsGet(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97822
98593
|
if (!result.ok) {
|
|
97823
98594
|
return {
|
|
97824
98595
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97833,9 +98604,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
97833
98604
|
|
|
97834
98605
|
// src/funcs/statementsList.ts
|
|
97835
98606
|
function statementsList(client, request, options) {
|
|
97836
|
-
return new APIPromise($
|
|
98607
|
+
return new APIPromise($do138(client, request, options));
|
|
97837
98608
|
}
|
|
97838
|
-
async function $
|
|
98609
|
+
async function $do138(client, request, options) {
|
|
97839
98610
|
const parsed = safeParse4(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97840
98611
|
if (!parsed.ok) {
|
|
97841
98612
|
return [parsed, { status: "invalid" }];
|
|
@@ -97921,12 +98692,12 @@ var init_statementsList = __esm(() => {
|
|
|
97921
98692
|
});
|
|
97922
98693
|
|
|
97923
98694
|
// src/mcp-server/tools/statementsList.ts
|
|
97924
|
-
var
|
|
98695
|
+
var args138, tool$statementsList;
|
|
97925
98696
|
var init_statementsList2 = __esm(() => {
|
|
97926
98697
|
init_statementsList();
|
|
97927
98698
|
init_operations();
|
|
97928
98699
|
init_tools();
|
|
97929
|
-
|
|
98700
|
+
args138 = {
|
|
97930
98701
|
request: ListStatementsRequest$inboundSchema
|
|
97931
98702
|
};
|
|
97932
98703
|
tool$statementsList = {
|
|
@@ -97935,9 +98706,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
97935
98706
|
|
|
97936
98707
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97937
98708
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
97938
|
-
args:
|
|
97939
|
-
tool: async (client,
|
|
97940
|
-
const [result, apiCall] = await statementsList(client,
|
|
98709
|
+
args: args138,
|
|
98710
|
+
tool: async (client, args139, ctx) => {
|
|
98711
|
+
const [result, apiCall] = await statementsList(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97941
98712
|
if (!result.ok) {
|
|
97942
98713
|
return {
|
|
97943
98714
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97952,9 +98723,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
97952
98723
|
|
|
97953
98724
|
// src/funcs/supportCreateTicket.ts
|
|
97954
98725
|
function supportCreateTicket(client, request, options) {
|
|
97955
|
-
return new APIPromise($
|
|
98726
|
+
return new APIPromise($do139(client, request, options));
|
|
97956
98727
|
}
|
|
97957
|
-
async function $
|
|
98728
|
+
async function $do139(client, request, options) {
|
|
97958
98729
|
const parsed = safeParse4(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97959
98730
|
if (!parsed.ok) {
|
|
97960
98731
|
return [parsed, { status: "invalid" }];
|
|
@@ -98046,12 +98817,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
98046
98817
|
});
|
|
98047
98818
|
|
|
98048
98819
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
98049
|
-
var
|
|
98820
|
+
var args139, tool$supportCreateTicket;
|
|
98050
98821
|
var init_supportCreateTicket2 = __esm(() => {
|
|
98051
98822
|
init_supportCreateTicket();
|
|
98052
98823
|
init_operations();
|
|
98053
98824
|
init_tools();
|
|
98054
|
-
|
|
98825
|
+
args139 = {
|
|
98055
98826
|
request: CreateTicketRequest$inboundSchema
|
|
98056
98827
|
};
|
|
98057
98828
|
tool$supportCreateTicket = {
|
|
@@ -98063,9 +98834,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
98063
98834
|
|
|
98064
98835
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
98065
98836
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
98066
|
-
args:
|
|
98067
|
-
tool: async (client,
|
|
98068
|
-
const [result, apiCall] = await supportCreateTicket(client,
|
|
98837
|
+
args: args139,
|
|
98838
|
+
tool: async (client, args140, ctx) => {
|
|
98839
|
+
const [result, apiCall] = await supportCreateTicket(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98069
98840
|
if (!result.ok) {
|
|
98070
98841
|
return {
|
|
98071
98842
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98080,9 +98851,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
98080
98851
|
|
|
98081
98852
|
// src/funcs/supportGetTicket.ts
|
|
98082
98853
|
function supportGetTicket(client, request, options) {
|
|
98083
|
-
return new APIPromise($
|
|
98854
|
+
return new APIPromise($do140(client, request, options));
|
|
98084
98855
|
}
|
|
98085
|
-
async function $
|
|
98856
|
+
async function $do140(client, request, options) {
|
|
98086
98857
|
const parsed = safeParse4(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98087
98858
|
if (!parsed.ok) {
|
|
98088
98859
|
return [parsed, { status: "invalid" }];
|
|
@@ -98164,12 +98935,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
98164
98935
|
});
|
|
98165
98936
|
|
|
98166
98937
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
98167
|
-
var
|
|
98938
|
+
var args140, tool$supportGetTicket;
|
|
98168
98939
|
var init_supportGetTicket2 = __esm(() => {
|
|
98169
98940
|
init_supportGetTicket();
|
|
98170
98941
|
init_operations();
|
|
98171
98942
|
init_tools();
|
|
98172
|
-
|
|
98943
|
+
args140 = {
|
|
98173
98944
|
request: GetTicketRequest$inboundSchema
|
|
98174
98945
|
};
|
|
98175
98946
|
tool$supportGetTicket = {
|
|
@@ -98181,9 +98952,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
98181
98952
|
|
|
98182
98953
|
If you're retrieving another account's ticket, then you'll need to
|
|
98183
98954
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
98184
|
-
args:
|
|
98185
|
-
tool: async (client,
|
|
98186
|
-
const [result, apiCall] = await supportGetTicket(client,
|
|
98955
|
+
args: args140,
|
|
98956
|
+
tool: async (client, args141, ctx) => {
|
|
98957
|
+
const [result, apiCall] = await supportGetTicket(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98187
98958
|
if (!result.ok) {
|
|
98188
98959
|
return {
|
|
98189
98960
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98198,9 +98969,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
98198
98969
|
|
|
98199
98970
|
// src/funcs/supportListTicketMessages.ts
|
|
98200
98971
|
function supportListTicketMessages(client, request, options) {
|
|
98201
|
-
return new APIPromise($
|
|
98972
|
+
return new APIPromise($do141(client, request, options));
|
|
98202
98973
|
}
|
|
98203
|
-
async function $
|
|
98974
|
+
async function $do141(client, request, options) {
|
|
98204
98975
|
const parsed = safeParse4(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98205
98976
|
if (!parsed.ok) {
|
|
98206
98977
|
return [parsed, { status: "invalid" }];
|
|
@@ -98282,12 +99053,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
98282
99053
|
});
|
|
98283
99054
|
|
|
98284
99055
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
98285
|
-
var
|
|
99056
|
+
var args141, tool$supportListTicketMessages;
|
|
98286
99057
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
98287
99058
|
init_supportListTicketMessages();
|
|
98288
99059
|
init_operations();
|
|
98289
99060
|
init_tools();
|
|
98290
|
-
|
|
99061
|
+
args141 = {
|
|
98291
99062
|
request: ListTicketMessagesRequest$inboundSchema
|
|
98292
99063
|
};
|
|
98293
99064
|
tool$supportListTicketMessages = {
|
|
@@ -98299,9 +99070,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
98299
99070
|
|
|
98300
99071
|
If you're listing another account's messages, then you'll need to
|
|
98301
99072
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
98302
|
-
args:
|
|
98303
|
-
tool: async (client,
|
|
98304
|
-
const [result, apiCall] = await supportListTicketMessages(client,
|
|
99073
|
+
args: args141,
|
|
99074
|
+
tool: async (client, args142, ctx) => {
|
|
99075
|
+
const [result, apiCall] = await supportListTicketMessages(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98305
99076
|
if (!result.ok) {
|
|
98306
99077
|
return {
|
|
98307
99078
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98316,9 +99087,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
98316
99087
|
|
|
98317
99088
|
// src/funcs/supportListTickets.ts
|
|
98318
99089
|
function supportListTickets(client, request, options) {
|
|
98319
|
-
return new APIPromise($
|
|
99090
|
+
return new APIPromise($do142(client, request, options));
|
|
98320
99091
|
}
|
|
98321
|
-
async function $
|
|
99092
|
+
async function $do142(client, request, options) {
|
|
98322
99093
|
const parsed = safeParse4(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98323
99094
|
if (!parsed.ok) {
|
|
98324
99095
|
return [parsed, { status: "invalid" }];
|
|
@@ -98403,12 +99174,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
98403
99174
|
});
|
|
98404
99175
|
|
|
98405
99176
|
// src/mcp-server/tools/supportListTickets.ts
|
|
98406
|
-
var
|
|
99177
|
+
var args142, tool$supportListTickets;
|
|
98407
99178
|
var init_supportListTickets2 = __esm(() => {
|
|
98408
99179
|
init_supportListTickets();
|
|
98409
99180
|
init_operations();
|
|
98410
99181
|
init_tools();
|
|
98411
|
-
|
|
99182
|
+
args142 = {
|
|
98412
99183
|
request: ListTicketsRequest$inboundSchema
|
|
98413
99184
|
};
|
|
98414
99185
|
tool$supportListTickets = {
|
|
@@ -98420,9 +99191,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
98420
99191
|
|
|
98421
99192
|
If you're listing another account's tickets, then you'll need to
|
|
98422
99193
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
98423
|
-
args:
|
|
98424
|
-
tool: async (client,
|
|
98425
|
-
const [result, apiCall] = await supportListTickets(client,
|
|
99194
|
+
args: args142,
|
|
99195
|
+
tool: async (client, args143, ctx) => {
|
|
99196
|
+
const [result, apiCall] = await supportListTickets(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98426
99197
|
if (!result.ok) {
|
|
98427
99198
|
return {
|
|
98428
99199
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98437,9 +99208,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
98437
99208
|
|
|
98438
99209
|
// src/funcs/supportUpdateTicket.ts
|
|
98439
99210
|
function supportUpdateTicket(client, request, options) {
|
|
98440
|
-
return new APIPromise($
|
|
99211
|
+
return new APIPromise($do143(client, request, options));
|
|
98441
99212
|
}
|
|
98442
|
-
async function $
|
|
99213
|
+
async function $do143(client, request, options) {
|
|
98443
99214
|
const parsed = safeParse4(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98444
99215
|
if (!parsed.ok) {
|
|
98445
99216
|
return [parsed, { status: "invalid" }];
|
|
@@ -98535,12 +99306,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
98535
99306
|
});
|
|
98536
99307
|
|
|
98537
99308
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
98538
|
-
var
|
|
99309
|
+
var args143, tool$supportUpdateTicket;
|
|
98539
99310
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
98540
99311
|
init_supportUpdateTicket();
|
|
98541
99312
|
init_operations();
|
|
98542
99313
|
init_tools();
|
|
98543
|
-
|
|
99314
|
+
args143 = {
|
|
98544
99315
|
request: UpdateTicketRequest$inboundSchema
|
|
98545
99316
|
};
|
|
98546
99317
|
tool$supportUpdateTicket = {
|
|
@@ -98552,9 +99323,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
98552
99323
|
|
|
98553
99324
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
98554
99325
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
98555
|
-
args:
|
|
98556
|
-
tool: async (client,
|
|
98557
|
-
const [result, apiCall] = await supportUpdateTicket(client,
|
|
99326
|
+
args: args143,
|
|
99327
|
+
tool: async (client, args144, ctx) => {
|
|
99328
|
+
const [result, apiCall] = await supportUpdateTicket(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98558
99329
|
if (!result.ok) {
|
|
98559
99330
|
return {
|
|
98560
99331
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98569,9 +99340,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
98569
99340
|
|
|
98570
99341
|
// src/funcs/sweepsCreateConfig.ts
|
|
98571
99342
|
function sweepsCreateConfig(client, request, options) {
|
|
98572
|
-
return new APIPromise($
|
|
99343
|
+
return new APIPromise($do144(client, request, options));
|
|
98573
99344
|
}
|
|
98574
|
-
async function $
|
|
99345
|
+
async function $do144(client, request, options) {
|
|
98575
99346
|
const parsed = safeParse4(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98576
99347
|
if (!parsed.ok) {
|
|
98577
99348
|
return [parsed, { status: "invalid" }];
|
|
@@ -98663,12 +99434,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
98663
99434
|
});
|
|
98664
99435
|
|
|
98665
99436
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
98666
|
-
var
|
|
99437
|
+
var args144, tool$sweepsCreateConfig;
|
|
98667
99438
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
98668
99439
|
init_sweepsCreateConfig();
|
|
98669
99440
|
init_operations();
|
|
98670
99441
|
init_tools();
|
|
98671
|
-
|
|
99442
|
+
args144 = {
|
|
98672
99443
|
request: CreateSweepConfigRequest$inboundSchema
|
|
98673
99444
|
};
|
|
98674
99445
|
tool$sweepsCreateConfig = {
|
|
@@ -98677,9 +99448,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
98677
99448
|
|
|
98678
99449
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98679
99450
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
98680
|
-
args:
|
|
98681
|
-
tool: async (client,
|
|
98682
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
99451
|
+
args: args144,
|
|
99452
|
+
tool: async (client, args145, ctx) => {
|
|
99453
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98683
99454
|
if (!result.ok) {
|
|
98684
99455
|
return {
|
|
98685
99456
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98694,9 +99465,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
98694
99465
|
|
|
98695
99466
|
// src/funcs/sweepsGet.ts
|
|
98696
99467
|
function sweepsGet(client, request, options) {
|
|
98697
|
-
return new APIPromise($
|
|
99468
|
+
return new APIPromise($do145(client, request, options));
|
|
98698
99469
|
}
|
|
98699
|
-
async function $
|
|
99470
|
+
async function $do145(client, request, options) {
|
|
98700
99471
|
const parsed = safeParse4(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98701
99472
|
if (!parsed.ok) {
|
|
98702
99473
|
return [parsed, { status: "invalid" }];
|
|
@@ -98782,12 +99553,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
98782
99553
|
});
|
|
98783
99554
|
|
|
98784
99555
|
// src/mcp-server/tools/sweepsGet.ts
|
|
98785
|
-
var
|
|
99556
|
+
var args145, tool$sweepsGet;
|
|
98786
99557
|
var init_sweepsGet2 = __esm(() => {
|
|
98787
99558
|
init_sweepsGet();
|
|
98788
99559
|
init_operations();
|
|
98789
99560
|
init_tools();
|
|
98790
|
-
|
|
99561
|
+
args145 = {
|
|
98791
99562
|
request: GetSweepRequest$inboundSchema
|
|
98792
99563
|
};
|
|
98793
99564
|
tool$sweepsGet = {
|
|
@@ -98796,9 +99567,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
98796
99567
|
|
|
98797
99568
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98798
99569
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
98799
|
-
args:
|
|
98800
|
-
tool: async (client,
|
|
98801
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
99570
|
+
args: args145,
|
|
99571
|
+
tool: async (client, args146, ctx) => {
|
|
99572
|
+
const [result, apiCall] = await sweepsGet(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98802
99573
|
if (!result.ok) {
|
|
98803
99574
|
return {
|
|
98804
99575
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98813,9 +99584,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
98813
99584
|
|
|
98814
99585
|
// src/funcs/sweepsGetConfig.ts
|
|
98815
99586
|
function sweepsGetConfig(client, request, options) {
|
|
98816
|
-
return new APIPromise($
|
|
99587
|
+
return new APIPromise($do146(client, request, options));
|
|
98817
99588
|
}
|
|
98818
|
-
async function $
|
|
99589
|
+
async function $do146(client, request, options) {
|
|
98819
99590
|
const parsed = safeParse4(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98820
99591
|
if (!parsed.ok) {
|
|
98821
99592
|
return [parsed, { status: "invalid" }];
|
|
@@ -98897,12 +99668,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
98897
99668
|
});
|
|
98898
99669
|
|
|
98899
99670
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
98900
|
-
var
|
|
99671
|
+
var args146, tool$sweepsGetConfig;
|
|
98901
99672
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
98902
99673
|
init_sweepsGetConfig();
|
|
98903
99674
|
init_operations();
|
|
98904
99675
|
init_tools();
|
|
98905
|
-
|
|
99676
|
+
args146 = {
|
|
98906
99677
|
request: GetSweepConfigRequest$inboundSchema
|
|
98907
99678
|
};
|
|
98908
99679
|
tool$sweepsGetConfig = {
|
|
@@ -98911,9 +99682,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
98911
99682
|
|
|
98912
99683
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98913
99684
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
98914
|
-
args:
|
|
98915
|
-
tool: async (client,
|
|
98916
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
99685
|
+
args: args146,
|
|
99686
|
+
tool: async (client, args147, ctx) => {
|
|
99687
|
+
const [result, apiCall] = await sweepsGetConfig(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98917
99688
|
if (!result.ok) {
|
|
98918
99689
|
return {
|
|
98919
99690
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98928,9 +99699,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
98928
99699
|
|
|
98929
99700
|
// src/funcs/sweepsList.ts
|
|
98930
99701
|
function sweepsList(client, request, options) {
|
|
98931
|
-
return new APIPromise($
|
|
99702
|
+
return new APIPromise($do147(client, request, options));
|
|
98932
99703
|
}
|
|
98933
|
-
async function $
|
|
99704
|
+
async function $do147(client, request, options) {
|
|
98934
99705
|
const parsed = safeParse4(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98935
99706
|
if (!parsed.ok) {
|
|
98936
99707
|
return [parsed, { status: "invalid" }];
|
|
@@ -99019,12 +99790,12 @@ var init_sweepsList = __esm(() => {
|
|
|
99019
99790
|
});
|
|
99020
99791
|
|
|
99021
99792
|
// src/mcp-server/tools/sweepsList.ts
|
|
99022
|
-
var
|
|
99793
|
+
var args147, tool$sweepsList;
|
|
99023
99794
|
var init_sweepsList2 = __esm(() => {
|
|
99024
99795
|
init_sweepsList();
|
|
99025
99796
|
init_operations();
|
|
99026
99797
|
init_tools();
|
|
99027
|
-
|
|
99798
|
+
args147 = {
|
|
99028
99799
|
request: ListSweepsRequest$inboundSchema
|
|
99029
99800
|
};
|
|
99030
99801
|
tool$sweepsList = {
|
|
@@ -99033,9 +99804,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
99033
99804
|
|
|
99034
99805
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99035
99806
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
99036
|
-
args:
|
|
99037
|
-
tool: async (client,
|
|
99038
|
-
const [result, apiCall] = await sweepsList(client,
|
|
99807
|
+
args: args147,
|
|
99808
|
+
tool: async (client, args148, ctx) => {
|
|
99809
|
+
const [result, apiCall] = await sweepsList(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99039
99810
|
if (!result.ok) {
|
|
99040
99811
|
return {
|
|
99041
99812
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99050,9 +99821,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
99050
99821
|
|
|
99051
99822
|
// src/funcs/sweepsListConfigs.ts
|
|
99052
99823
|
function sweepsListConfigs(client, request, options) {
|
|
99053
|
-
return new APIPromise($
|
|
99824
|
+
return new APIPromise($do148(client, request, options));
|
|
99054
99825
|
}
|
|
99055
|
-
async function $
|
|
99826
|
+
async function $do148(client, request, options) {
|
|
99056
99827
|
const parsed = safeParse4(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99057
99828
|
if (!parsed.ok) {
|
|
99058
99829
|
return [parsed, { status: "invalid" }];
|
|
@@ -99130,12 +99901,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
99130
99901
|
});
|
|
99131
99902
|
|
|
99132
99903
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
99133
|
-
var
|
|
99904
|
+
var args148, tool$sweepsListConfigs;
|
|
99134
99905
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
99135
99906
|
init_sweepsListConfigs();
|
|
99136
99907
|
init_operations();
|
|
99137
99908
|
init_tools();
|
|
99138
|
-
|
|
99909
|
+
args148 = {
|
|
99139
99910
|
request: ListSweepConfigsRequest$inboundSchema
|
|
99140
99911
|
};
|
|
99141
99912
|
tool$sweepsListConfigs = {
|
|
@@ -99144,9 +99915,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
99144
99915
|
|
|
99145
99916
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99146
99917
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
99147
|
-
args:
|
|
99148
|
-
tool: async (client,
|
|
99149
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
99918
|
+
args: args148,
|
|
99919
|
+
tool: async (client, args149, ctx) => {
|
|
99920
|
+
const [result, apiCall] = await sweepsListConfigs(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99150
99921
|
if (!result.ok) {
|
|
99151
99922
|
return {
|
|
99152
99923
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99161,9 +99932,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
99161
99932
|
|
|
99162
99933
|
// src/funcs/sweepsUpdateConfig.ts
|
|
99163
99934
|
function sweepsUpdateConfig(client, request, options) {
|
|
99164
|
-
return new APIPromise($
|
|
99935
|
+
return new APIPromise($do149(client, request, options));
|
|
99165
99936
|
}
|
|
99166
|
-
async function $
|
|
99937
|
+
async function $do149(client, request, options) {
|
|
99167
99938
|
const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99168
99939
|
if (!parsed.ok) {
|
|
99169
99940
|
return [parsed, { status: "invalid" }];
|
|
@@ -99259,12 +100030,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
99259
100030
|
});
|
|
99260
100031
|
|
|
99261
100032
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
99262
|
-
var
|
|
100033
|
+
var args149, tool$sweepsUpdateConfig;
|
|
99263
100034
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
99264
100035
|
init_sweepsUpdateConfig();
|
|
99265
100036
|
init_operations();
|
|
99266
100037
|
init_tools();
|
|
99267
|
-
|
|
100038
|
+
args149 = {
|
|
99268
100039
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
99269
100040
|
};
|
|
99270
100041
|
tool$sweepsUpdateConfig = {
|
|
@@ -99273,9 +100044,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
99273
100044
|
|
|
99274
100045
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99275
100046
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
99276
|
-
args:
|
|
99277
|
-
tool: async (client,
|
|
99278
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
100047
|
+
args: args149,
|
|
100048
|
+
tool: async (client, args150, ctx) => {
|
|
100049
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99279
100050
|
if (!result.ok) {
|
|
99280
100051
|
return {
|
|
99281
100052
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99290,9 +100061,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
99290
100061
|
|
|
99291
100062
|
// src/funcs/terminalApplicationsCreate.ts
|
|
99292
100063
|
function terminalApplicationsCreate(client, request, options) {
|
|
99293
|
-
return new APIPromise($
|
|
100064
|
+
return new APIPromise($do150(client, request, options));
|
|
99294
100065
|
}
|
|
99295
|
-
async function $
|
|
100066
|
+
async function $do150(client, request, options) {
|
|
99296
100067
|
const parsed = safeParse4(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
99297
100068
|
if (!parsed.ok) {
|
|
99298
100069
|
return [parsed, { status: "invalid" }];
|
|
@@ -99381,12 +100152,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
99381
100152
|
});
|
|
99382
100153
|
|
|
99383
100154
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
99384
|
-
var
|
|
100155
|
+
var args150, tool$terminalApplicationsCreate;
|
|
99385
100156
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
99386
100157
|
init_terminalApplicationsCreate();
|
|
99387
100158
|
init_components();
|
|
99388
100159
|
init_tools();
|
|
99389
|
-
|
|
100160
|
+
args150 = {
|
|
99390
100161
|
request: CreateTerminalApplication$inboundSchema
|
|
99391
100162
|
};
|
|
99392
100163
|
tool$terminalApplicationsCreate = {
|
|
@@ -99395,9 +100166,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
99395
100166
|
|
|
99396
100167
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99397
100168
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
99398
|
-
args:
|
|
99399
|
-
tool: async (client,
|
|
99400
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
100169
|
+
args: args150,
|
|
100170
|
+
tool: async (client, args151, ctx) => {
|
|
100171
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99401
100172
|
if (!result.ok) {
|
|
99402
100173
|
return {
|
|
99403
100174
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99412,9 +100183,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
99412
100183
|
|
|
99413
100184
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
99414
100185
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
99415
|
-
return new APIPromise($
|
|
100186
|
+
return new APIPromise($do151(client, request, options));
|
|
99416
100187
|
}
|
|
99417
|
-
async function $
|
|
100188
|
+
async function $do151(client, request, options) {
|
|
99418
100189
|
const parsed = safeParse4(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99419
100190
|
if (!parsed.ok) {
|
|
99420
100191
|
return [parsed, { status: "invalid" }];
|
|
@@ -99504,12 +100275,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
99504
100275
|
});
|
|
99505
100276
|
|
|
99506
100277
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
99507
|
-
var
|
|
100278
|
+
var args151, tool$terminalApplicationsCreateVersion;
|
|
99508
100279
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
99509
100280
|
init_terminalApplicationsCreateVersion();
|
|
99510
100281
|
init_operations();
|
|
99511
100282
|
init_tools();
|
|
99512
|
-
|
|
100283
|
+
args151 = {
|
|
99513
100284
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
99514
100285
|
};
|
|
99515
100286
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -99518,9 +100289,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
99518
100289
|
|
|
99519
100290
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99520
100291
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
99521
|
-
args:
|
|
99522
|
-
tool: async (client,
|
|
99523
|
-
const [result, apiCall] = await terminalApplicationsCreateVersion(client,
|
|
100292
|
+
args: args151,
|
|
100293
|
+
tool: async (client, args152, ctx) => {
|
|
100294
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99524
100295
|
if (!result.ok) {
|
|
99525
100296
|
return {
|
|
99526
100297
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99535,9 +100306,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
99535
100306
|
|
|
99536
100307
|
// src/funcs/terminalApplicationsDelete.ts
|
|
99537
100308
|
function terminalApplicationsDelete(client, request, options) {
|
|
99538
|
-
return new APIPromise($
|
|
100309
|
+
return new APIPromise($do152(client, request, options));
|
|
99539
100310
|
}
|
|
99540
|
-
async function $
|
|
100311
|
+
async function $do152(client, request, options) {
|
|
99541
100312
|
const parsed = safeParse4(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99542
100313
|
if (!parsed.ok) {
|
|
99543
100314
|
return [parsed, { status: "invalid" }];
|
|
@@ -99621,12 +100392,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
99621
100392
|
});
|
|
99622
100393
|
|
|
99623
100394
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
99624
|
-
var
|
|
100395
|
+
var args152, tool$terminalApplicationsDelete;
|
|
99625
100396
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
99626
100397
|
init_terminalApplicationsDelete();
|
|
99627
100398
|
init_operations();
|
|
99628
100399
|
init_tools();
|
|
99629
|
-
|
|
100400
|
+
args152 = {
|
|
99630
100401
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
99631
100402
|
};
|
|
99632
100403
|
tool$terminalApplicationsDelete = {
|
|
@@ -99635,9 +100406,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
99635
100406
|
|
|
99636
100407
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99637
100408
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
99638
|
-
args:
|
|
99639
|
-
tool: async (client,
|
|
99640
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
100409
|
+
args: args152,
|
|
100410
|
+
tool: async (client, args153, ctx) => {
|
|
100411
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99641
100412
|
if (!result.ok) {
|
|
99642
100413
|
return {
|
|
99643
100414
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99651,9 +100422,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
99651
100422
|
|
|
99652
100423
|
// src/funcs/terminalApplicationsGet.ts
|
|
99653
100424
|
function terminalApplicationsGet(client, request, options) {
|
|
99654
|
-
return new APIPromise($
|
|
100425
|
+
return new APIPromise($do153(client, request, options));
|
|
99655
100426
|
}
|
|
99656
|
-
async function $
|
|
100427
|
+
async function $do153(client, request, options) {
|
|
99657
100428
|
const parsed = safeParse4(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99658
100429
|
if (!parsed.ok) {
|
|
99659
100430
|
return [parsed, { status: "invalid" }];
|
|
@@ -99728,12 +100499,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
99728
100499
|
});
|
|
99729
100500
|
|
|
99730
100501
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
99731
|
-
var
|
|
100502
|
+
var args153, tool$terminalApplicationsGet;
|
|
99732
100503
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
99733
100504
|
init_terminalApplicationsGet();
|
|
99734
100505
|
init_operations();
|
|
99735
100506
|
init_tools();
|
|
99736
|
-
|
|
100507
|
+
args153 = {
|
|
99737
100508
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
99738
100509
|
};
|
|
99739
100510
|
tool$terminalApplicationsGet = {
|
|
@@ -99742,9 +100513,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
99742
100513
|
|
|
99743
100514
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99744
100515
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
99745
|
-
args:
|
|
99746
|
-
tool: async (client,
|
|
99747
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
100516
|
+
args: args153,
|
|
100517
|
+
tool: async (client, args154, ctx) => {
|
|
100518
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99748
100519
|
if (!result.ok) {
|
|
99749
100520
|
return {
|
|
99750
100521
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99759,9 +100530,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
99759
100530
|
|
|
99760
100531
|
// src/funcs/terminalApplicationsList.ts
|
|
99761
100532
|
function terminalApplicationsList(client, _request, options) {
|
|
99762
|
-
return new APIPromise($
|
|
100533
|
+
return new APIPromise($do154(client, _request, options));
|
|
99763
100534
|
}
|
|
99764
|
-
async function $
|
|
100535
|
+
async function $do154(client, _request, options) {
|
|
99765
100536
|
const path = pathToFunc("/terminal-applications")();
|
|
99766
100537
|
const headers = new Headers(compactMap({
|
|
99767
100538
|
Accept: "application/json",
|
|
@@ -99825,12 +100596,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
99825
100596
|
});
|
|
99826
100597
|
|
|
99827
100598
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
99828
|
-
var
|
|
100599
|
+
var args154, tool$terminalApplicationsList;
|
|
99829
100600
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
99830
100601
|
init_terminalApplicationsList();
|
|
99831
100602
|
init_operations();
|
|
99832
100603
|
init_tools();
|
|
99833
|
-
|
|
100604
|
+
args154 = {
|
|
99834
100605
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
99835
100606
|
};
|
|
99836
100607
|
tool$terminalApplicationsList = {
|
|
@@ -99839,9 +100610,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
99839
100610
|
|
|
99840
100611
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99841
100612
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
99842
|
-
args:
|
|
99843
|
-
tool: async (client,
|
|
99844
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
100613
|
+
args: args154,
|
|
100614
|
+
tool: async (client, args155, ctx) => {
|
|
100615
|
+
const [result, apiCall] = await terminalApplicationsList(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99845
100616
|
if (!result.ok) {
|
|
99846
100617
|
return {
|
|
99847
100618
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99856,9 +100627,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
99856
100627
|
|
|
99857
100628
|
// src/funcs/transfersCreate.ts
|
|
99858
100629
|
function transfersCreate(client, request, options) {
|
|
99859
|
-
return new APIPromise($
|
|
100630
|
+
return new APIPromise($do155(client, request, options));
|
|
99860
100631
|
}
|
|
99861
|
-
async function $
|
|
100632
|
+
async function $do155(client, request, options) {
|
|
99862
100633
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99863
100634
|
if (!parsed.ok) {
|
|
99864
100635
|
return [parsed, { status: "invalid" }];
|
|
@@ -99951,12 +100722,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
99951
100722
|
});
|
|
99952
100723
|
|
|
99953
100724
|
// src/mcp-server/tools/transfersCreate.ts
|
|
99954
|
-
var
|
|
100725
|
+
var args155, tool$transfersCreate;
|
|
99955
100726
|
var init_transfersCreate2 = __esm(() => {
|
|
99956
100727
|
init_transfersCreate();
|
|
99957
100728
|
init_operations();
|
|
99958
100729
|
init_tools();
|
|
99959
|
-
|
|
100730
|
+
args155 = {
|
|
99960
100731
|
request: CreateTransferRequest$inboundSchema
|
|
99961
100732
|
};
|
|
99962
100733
|
tool$transfersCreate = {
|
|
@@ -99967,9 +100738,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
99967
100738
|
|
|
99968
100739
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99969
100740
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
99970
|
-
args:
|
|
99971
|
-
tool: async (client,
|
|
99972
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
100741
|
+
args: args155,
|
|
100742
|
+
tool: async (client, args156, ctx) => {
|
|
100743
|
+
const [result, apiCall] = await transfersCreate(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99973
100744
|
if (!result.ok) {
|
|
99974
100745
|
return {
|
|
99975
100746
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99984,9 +100755,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
99984
100755
|
|
|
99985
100756
|
// src/funcs/transfersCreateCancellation.ts
|
|
99986
100757
|
function transfersCreateCancellation(client, request, options) {
|
|
99987
|
-
return new APIPromise($
|
|
100758
|
+
return new APIPromise($do156(client, request, options));
|
|
99988
100759
|
}
|
|
99989
|
-
async function $
|
|
100760
|
+
async function $do156(client, request, options) {
|
|
99990
100761
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99991
100762
|
if (!parsed.ok) {
|
|
99992
100763
|
return [parsed, { status: "invalid" }];
|
|
@@ -100069,12 +100840,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
100069
100840
|
});
|
|
100070
100841
|
|
|
100071
100842
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
100072
|
-
var
|
|
100843
|
+
var args156, tool$transfersCreateCancellation;
|
|
100073
100844
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
100074
100845
|
init_transfersCreateCancellation();
|
|
100075
100846
|
init_operations();
|
|
100076
100847
|
init_tools();
|
|
100077
|
-
|
|
100848
|
+
args156 = {
|
|
100078
100849
|
request: CreateCancellationRequest$inboundSchema
|
|
100079
100850
|
};
|
|
100080
100851
|
tool$transfersCreateCancellation = {
|
|
@@ -100083,9 +100854,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
100083
100854
|
|
|
100084
100855
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
100085
100856
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
100086
|
-
args:
|
|
100087
|
-
tool: async (client,
|
|
100088
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
100857
|
+
args: args156,
|
|
100858
|
+
tool: async (client, args157, ctx) => {
|
|
100859
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100089
100860
|
if (!result.ok) {
|
|
100090
100861
|
return {
|
|
100091
100862
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100100,9 +100871,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
100100
100871
|
|
|
100101
100872
|
// src/funcs/transfersCreateReversal.ts
|
|
100102
100873
|
function transfersCreateReversal(client, request, options) {
|
|
100103
|
-
return new APIPromise($
|
|
100874
|
+
return new APIPromise($do157(client, request, options));
|
|
100104
100875
|
}
|
|
100105
|
-
async function $
|
|
100876
|
+
async function $do157(client, request, options) {
|
|
100106
100877
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100107
100878
|
if (!parsed.ok) {
|
|
100108
100879
|
return [parsed, { status: "invalid" }];
|
|
@@ -100201,12 +100972,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
100201
100972
|
});
|
|
100202
100973
|
|
|
100203
100974
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
100204
|
-
var
|
|
100975
|
+
var args157, tool$transfersCreateReversal;
|
|
100205
100976
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
100206
100977
|
init_transfersCreateReversal();
|
|
100207
100978
|
init_operations();
|
|
100208
100979
|
init_tools();
|
|
100209
|
-
|
|
100980
|
+
args157 = {
|
|
100210
100981
|
request: CreateReversalRequest$inboundSchema
|
|
100211
100982
|
};
|
|
100212
100983
|
tool$transfersCreateReversal = {
|
|
@@ -100217,9 +100988,9 @@ to learn more.
|
|
|
100217
100988
|
|
|
100218
100989
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
100219
100990
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
100220
|
-
args:
|
|
100221
|
-
tool: async (client,
|
|
100222
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
100991
|
+
args: args157,
|
|
100992
|
+
tool: async (client, args158, ctx) => {
|
|
100993
|
+
const [result, apiCall] = await transfersCreateReversal(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100223
100994
|
if (!result.ok) {
|
|
100224
100995
|
return {
|
|
100225
100996
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100234,9 +101005,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
100234
101005
|
|
|
100235
101006
|
// src/funcs/transfersGenerateOptions.ts
|
|
100236
101007
|
function transfersGenerateOptions(client, request, options) {
|
|
100237
|
-
return new APIPromise($
|
|
101008
|
+
return new APIPromise($do158(client, request, options));
|
|
100238
101009
|
}
|
|
100239
|
-
async function $
|
|
101010
|
+
async function $do158(client, request, options) {
|
|
100240
101011
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100241
101012
|
if (!parsed.ok) {
|
|
100242
101013
|
return [parsed, { status: "invalid" }];
|
|
@@ -100320,12 +101091,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
100320
101091
|
});
|
|
100321
101092
|
|
|
100322
101093
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
100323
|
-
var
|
|
101094
|
+
var args158, tool$transfersGenerateOptions;
|
|
100324
101095
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
100325
101096
|
init_transfersGenerateOptions();
|
|
100326
101097
|
init_operations();
|
|
100327
101098
|
init_tools();
|
|
100328
|
-
|
|
101099
|
+
args158 = {
|
|
100329
101100
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
100330
101101
|
};
|
|
100331
101102
|
tool$transfersGenerateOptions = {
|
|
@@ -100339,9 +101110,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
100339
101110
|
|
|
100340
101111
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100341
101112
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
100342
|
-
args:
|
|
100343
|
-
tool: async (client,
|
|
100344
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
101113
|
+
args: args158,
|
|
101114
|
+
tool: async (client, args159, ctx) => {
|
|
101115
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100345
101116
|
if (!result.ok) {
|
|
100346
101117
|
return {
|
|
100347
101118
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100356,9 +101127,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
100356
101127
|
|
|
100357
101128
|
// src/funcs/transfersGet.ts
|
|
100358
101129
|
function transfersGet(client, request, options) {
|
|
100359
|
-
return new APIPromise($
|
|
101130
|
+
return new APIPromise($do159(client, request, options));
|
|
100360
101131
|
}
|
|
100361
|
-
async function $
|
|
101132
|
+
async function $do159(client, request, options) {
|
|
100362
101133
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100363
101134
|
if (!parsed.ok) {
|
|
100364
101135
|
return [parsed, { status: "invalid" }];
|
|
@@ -100440,12 +101211,12 @@ var init_transfersGet = __esm(() => {
|
|
|
100440
101211
|
});
|
|
100441
101212
|
|
|
100442
101213
|
// src/mcp-server/tools/transfersGet.ts
|
|
100443
|
-
var
|
|
101214
|
+
var args159, tool$transfersGet;
|
|
100444
101215
|
var init_transfersGet2 = __esm(() => {
|
|
100445
101216
|
init_transfersGet();
|
|
100446
101217
|
init_operations();
|
|
100447
101218
|
init_tools();
|
|
100448
|
-
|
|
101219
|
+
args159 = {
|
|
100449
101220
|
request: GetTransferRequest$inboundSchema
|
|
100450
101221
|
};
|
|
100451
101222
|
tool$transfersGet = {
|
|
@@ -100457,9 +101228,9 @@ to learn more.
|
|
|
100457
101228
|
|
|
100458
101229
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100459
101230
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
100460
|
-
args:
|
|
100461
|
-
tool: async (client,
|
|
100462
|
-
const [result, apiCall] = await transfersGet(client,
|
|
101231
|
+
args: args159,
|
|
101232
|
+
tool: async (client, args160, ctx) => {
|
|
101233
|
+
const [result, apiCall] = await transfersGet(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100463
101234
|
if (!result.ok) {
|
|
100464
101235
|
return {
|
|
100465
101236
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100474,9 +101245,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
100474
101245
|
|
|
100475
101246
|
// src/funcs/transfersGetCancellation.ts
|
|
100476
101247
|
function transfersGetCancellation(client, request, options) {
|
|
100477
|
-
return new APIPromise($
|
|
101248
|
+
return new APIPromise($do160(client, request, options));
|
|
100478
101249
|
}
|
|
100479
|
-
async function $
|
|
101250
|
+
async function $do160(client, request, options) {
|
|
100480
101251
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100481
101252
|
if (!parsed.ok) {
|
|
100482
101253
|
return [parsed, { status: "invalid" }];
|
|
@@ -100562,12 +101333,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
100562
101333
|
});
|
|
100563
101334
|
|
|
100564
101335
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
100565
|
-
var
|
|
101336
|
+
var args160, tool$transfersGetCancellation;
|
|
100566
101337
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
100567
101338
|
init_transfersGetCancellation();
|
|
100568
101339
|
init_operations();
|
|
100569
101340
|
init_tools();
|
|
100570
|
-
|
|
101341
|
+
args160 = {
|
|
100571
101342
|
request: GetCancellationRequest$inboundSchema
|
|
100572
101343
|
};
|
|
100573
101344
|
tool$transfersGetCancellation = {
|
|
@@ -100576,9 +101347,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
100576
101347
|
|
|
100577
101348
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
100578
101349
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
100579
|
-
args:
|
|
100580
|
-
tool: async (client,
|
|
100581
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
101350
|
+
args: args160,
|
|
101351
|
+
tool: async (client, args161, ctx) => {
|
|
101352
|
+
const [result, apiCall] = await transfersGetCancellation(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100582
101353
|
if (!result.ok) {
|
|
100583
101354
|
return {
|
|
100584
101355
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100593,9 +101364,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
100593
101364
|
|
|
100594
101365
|
// src/funcs/transfersGetRefund.ts
|
|
100595
101366
|
function transfersGetRefund(client, request, options) {
|
|
100596
|
-
return new APIPromise($
|
|
101367
|
+
return new APIPromise($do161(client, request, options));
|
|
100597
101368
|
}
|
|
100598
|
-
async function $
|
|
101369
|
+
async function $do161(client, request, options) {
|
|
100599
101370
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100600
101371
|
if (!parsed.ok) {
|
|
100601
101372
|
return [parsed, { status: "invalid" }];
|
|
@@ -100681,12 +101452,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
100681
101452
|
});
|
|
100682
101453
|
|
|
100683
101454
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
100684
|
-
var
|
|
101455
|
+
var args161, tool$transfersGetRefund;
|
|
100685
101456
|
var init_transfersGetRefund2 = __esm(() => {
|
|
100686
101457
|
init_transfersGetRefund();
|
|
100687
101458
|
init_operations();
|
|
100688
101459
|
init_tools();
|
|
100689
|
-
|
|
101460
|
+
args161 = {
|
|
100690
101461
|
request: GetRefundRequest$inboundSchema
|
|
100691
101462
|
};
|
|
100692
101463
|
tool$transfersGetRefund = {
|
|
@@ -100695,9 +101466,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
100695
101466
|
|
|
100696
101467
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100697
101468
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
100698
|
-
args:
|
|
100699
|
-
tool: async (client,
|
|
100700
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
101469
|
+
args: args161,
|
|
101470
|
+
tool: async (client, args162, ctx) => {
|
|
101471
|
+
const [result, apiCall] = await transfersGetRefund(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100701
101472
|
if (!result.ok) {
|
|
100702
101473
|
return {
|
|
100703
101474
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100712,9 +101483,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
100712
101483
|
|
|
100713
101484
|
// src/funcs/transfersInitiateRefund.ts
|
|
100714
101485
|
function transfersInitiateRefund(client, request, options) {
|
|
100715
|
-
return new APIPromise($
|
|
101486
|
+
return new APIPromise($do162(client, request, options));
|
|
100716
101487
|
}
|
|
100717
|
-
async function $
|
|
101488
|
+
async function $do162(client, request, options) {
|
|
100718
101489
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100719
101490
|
if (!parsed.ok) {
|
|
100720
101491
|
return [parsed, { status: "invalid" }];
|
|
@@ -100806,12 +101577,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
100806
101577
|
});
|
|
100807
101578
|
|
|
100808
101579
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
100809
|
-
var
|
|
101580
|
+
var args162, tool$transfersInitiateRefund;
|
|
100810
101581
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
100811
101582
|
init_transfersInitiateRefund();
|
|
100812
101583
|
init_operations();
|
|
100813
101584
|
init_tools();
|
|
100814
|
-
|
|
101585
|
+
args162 = {
|
|
100815
101586
|
request: InitiateRefundRequest$inboundSchema
|
|
100816
101587
|
};
|
|
100817
101588
|
tool$transfersInitiateRefund = {
|
|
@@ -100823,9 +101594,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
100823
101594
|
|
|
100824
101595
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100825
101596
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
100826
|
-
args:
|
|
100827
|
-
tool: async (client,
|
|
100828
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
101597
|
+
args: args162,
|
|
101598
|
+
tool: async (client, args163, ctx) => {
|
|
101599
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100829
101600
|
if (!result.ok) {
|
|
100830
101601
|
return {
|
|
100831
101602
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100840,9 +101611,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
100840
101611
|
|
|
100841
101612
|
// src/funcs/transfersList.ts
|
|
100842
101613
|
function transfersList(client, request, options) {
|
|
100843
|
-
return new APIPromise($
|
|
101614
|
+
return new APIPromise($do163(client, request, options));
|
|
100844
101615
|
}
|
|
100845
|
-
async function $
|
|
101616
|
+
async function $do163(client, request, options) {
|
|
100846
101617
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100847
101618
|
if (!parsed.ok) {
|
|
100848
101619
|
return [parsed, { status: "invalid" }];
|
|
@@ -100938,12 +101709,12 @@ var init_transfersList = __esm(() => {
|
|
|
100938
101709
|
});
|
|
100939
101710
|
|
|
100940
101711
|
// src/mcp-server/tools/transfersList.ts
|
|
100941
|
-
var
|
|
101712
|
+
var args163, tool$transfersList;
|
|
100942
101713
|
var init_transfersList2 = __esm(() => {
|
|
100943
101714
|
init_transfersList();
|
|
100944
101715
|
init_operations();
|
|
100945
101716
|
init_tools();
|
|
100946
|
-
|
|
101717
|
+
args163 = {
|
|
100947
101718
|
request: ListTransfersRequest$inboundSchema
|
|
100948
101719
|
};
|
|
100949
101720
|
tool$transfersList = {
|
|
@@ -100959,9 +101730,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
100959
101730
|
|
|
100960
101731
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100961
101732
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
100962
|
-
args:
|
|
100963
|
-
tool: async (client,
|
|
100964
|
-
const [result, apiCall] = await transfersList(client,
|
|
101733
|
+
args: args163,
|
|
101734
|
+
tool: async (client, args164, ctx) => {
|
|
101735
|
+
const [result, apiCall] = await transfersList(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100965
101736
|
if (!result.ok) {
|
|
100966
101737
|
return {
|
|
100967
101738
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100976,9 +101747,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
100976
101747
|
|
|
100977
101748
|
// src/funcs/transfersListRefunds.ts
|
|
100978
101749
|
function transfersListRefunds(client, request, options) {
|
|
100979
|
-
return new APIPromise($
|
|
101750
|
+
return new APIPromise($do164(client, request, options));
|
|
100980
101751
|
}
|
|
100981
|
-
async function $
|
|
101752
|
+
async function $do164(client, request, options) {
|
|
100982
101753
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100983
101754
|
if (!parsed.ok) {
|
|
100984
101755
|
return [parsed, { status: "invalid" }];
|
|
@@ -101060,12 +101831,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
101060
101831
|
});
|
|
101061
101832
|
|
|
101062
101833
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
101063
|
-
var
|
|
101834
|
+
var args164, tool$transfersListRefunds;
|
|
101064
101835
|
var init_transfersListRefunds2 = __esm(() => {
|
|
101065
101836
|
init_transfersListRefunds();
|
|
101066
101837
|
init_operations();
|
|
101067
101838
|
init_tools();
|
|
101068
|
-
|
|
101839
|
+
args164 = {
|
|
101069
101840
|
request: ListRefundsRequest$inboundSchema
|
|
101070
101841
|
};
|
|
101071
101842
|
tool$transfersListRefunds = {
|
|
@@ -101074,9 +101845,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
101074
101845
|
|
|
101075
101846
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101076
101847
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
101077
|
-
args:
|
|
101078
|
-
tool: async (client,
|
|
101079
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
101848
|
+
args: args164,
|
|
101849
|
+
tool: async (client, args165, ctx) => {
|
|
101850
|
+
const [result, apiCall] = await transfersListRefunds(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101080
101851
|
if (!result.ok) {
|
|
101081
101852
|
return {
|
|
101082
101853
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101091,9 +101862,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
101091
101862
|
|
|
101092
101863
|
// src/funcs/transfersUpdate.ts
|
|
101093
101864
|
function transfersUpdate(client, request, options) {
|
|
101094
|
-
return new APIPromise($
|
|
101865
|
+
return new APIPromise($do165(client, request, options));
|
|
101095
101866
|
}
|
|
101096
|
-
async function $
|
|
101867
|
+
async function $do165(client, request, options) {
|
|
101097
101868
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101098
101869
|
if (!parsed.ok) {
|
|
101099
101870
|
return [parsed, { status: "invalid" }];
|
|
@@ -101179,12 +101950,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
101179
101950
|
});
|
|
101180
101951
|
|
|
101181
101952
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
101182
|
-
var
|
|
101953
|
+
var args165, tool$transfersUpdate;
|
|
101183
101954
|
var init_transfersUpdate2 = __esm(() => {
|
|
101184
101955
|
init_transfersUpdate();
|
|
101185
101956
|
init_operations();
|
|
101186
101957
|
init_tools();
|
|
101187
|
-
|
|
101958
|
+
args165 = {
|
|
101188
101959
|
request: UpdateTransferRequest$inboundSchema
|
|
101189
101960
|
};
|
|
101190
101961
|
tool$transfersUpdate = {
|
|
@@ -101195,9 +101966,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
101195
101966
|
|
|
101196
101967
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101197
101968
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
101198
|
-
args:
|
|
101199
|
-
tool: async (client,
|
|
101200
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
101969
|
+
args: args165,
|
|
101970
|
+
tool: async (client, args166, ctx) => {
|
|
101971
|
+
const [result, apiCall] = await transfersUpdate(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101201
101972
|
if (!result.ok) {
|
|
101202
101973
|
return {
|
|
101203
101974
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101212,9 +101983,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
101212
101983
|
|
|
101213
101984
|
// src/funcs/underwritingGet.ts
|
|
101214
101985
|
function underwritingGet(client, request, options) {
|
|
101215
|
-
return new APIPromise($
|
|
101986
|
+
return new APIPromise($do166(client, request, options));
|
|
101216
101987
|
}
|
|
101217
|
-
async function $
|
|
101988
|
+
async function $do166(client, request, options) {
|
|
101218
101989
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101219
101990
|
if (!parsed.ok) {
|
|
101220
101991
|
return [parsed, { status: "invalid" }];
|
|
@@ -101292,12 +102063,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
101292
102063
|
});
|
|
101293
102064
|
|
|
101294
102065
|
// src/mcp-server/tools/underwritingGet.ts
|
|
101295
|
-
var
|
|
102066
|
+
var args166, tool$underwritingGet;
|
|
101296
102067
|
var init_underwritingGet2 = __esm(() => {
|
|
101297
102068
|
init_underwritingGet();
|
|
101298
102069
|
init_operations();
|
|
101299
102070
|
init_tools();
|
|
101300
|
-
|
|
102071
|
+
args166 = {
|
|
101301
102072
|
request: GetUnderwritingRequest$inboundSchema
|
|
101302
102073
|
};
|
|
101303
102074
|
tool$underwritingGet = {
|
|
@@ -101308,9 +102079,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
101308
102079
|
|
|
101309
102080
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101310
102081
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
101311
|
-
args:
|
|
101312
|
-
tool: async (client,
|
|
101313
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
102082
|
+
args: args166,
|
|
102083
|
+
tool: async (client, args167, ctx) => {
|
|
102084
|
+
const [result, apiCall] = await underwritingGet(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101314
102085
|
if (!result.ok) {
|
|
101315
102086
|
return {
|
|
101316
102087
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101325,9 +102096,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
101325
102096
|
|
|
101326
102097
|
// src/funcs/underwritingSave.ts
|
|
101327
102098
|
function underwritingSave(client, request, options) {
|
|
101328
|
-
return new APIPromise($
|
|
102099
|
+
return new APIPromise($do167(client, request, options));
|
|
101329
102100
|
}
|
|
101330
|
-
async function $
|
|
102101
|
+
async function $do167(client, request, options) {
|
|
101331
102102
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101332
102103
|
if (!parsed.ok) {
|
|
101333
102104
|
return [parsed, { status: "invalid" }];
|
|
@@ -101423,12 +102194,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
101423
102194
|
});
|
|
101424
102195
|
|
|
101425
102196
|
// src/mcp-server/tools/underwritingSave.ts
|
|
101426
|
-
var
|
|
102197
|
+
var args167, tool$underwritingSave;
|
|
101427
102198
|
var init_underwritingSave2 = __esm(() => {
|
|
101428
102199
|
init_underwritingSave();
|
|
101429
102200
|
init_operations();
|
|
101430
102201
|
init_tools();
|
|
101431
|
-
|
|
102202
|
+
args167 = {
|
|
101432
102203
|
request: SaveUnderwritingRequest$inboundSchema
|
|
101433
102204
|
};
|
|
101434
102205
|
tool$underwritingSave = {
|
|
@@ -101439,9 +102210,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
101439
102210
|
|
|
101440
102211
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101441
102212
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
101442
|
-
args:
|
|
101443
|
-
tool: async (client,
|
|
101444
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
102213
|
+
args: args167,
|
|
102214
|
+
tool: async (client, args168, ctx) => {
|
|
102215
|
+
const [result, apiCall] = await underwritingSave(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101445
102216
|
if (!result.ok) {
|
|
101446
102217
|
return {
|
|
101447
102218
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101456,9 +102227,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
101456
102227
|
|
|
101457
102228
|
// src/funcs/underwritingUpsert.ts
|
|
101458
102229
|
function underwritingUpsert(client, request, options) {
|
|
101459
|
-
return new APIPromise($
|
|
102230
|
+
return new APIPromise($do168(client, request, options));
|
|
101460
102231
|
}
|
|
101461
|
-
async function $
|
|
102232
|
+
async function $do168(client, request, options) {
|
|
101462
102233
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101463
102234
|
if (!parsed.ok) {
|
|
101464
102235
|
return [parsed, { status: "invalid" }];
|
|
@@ -101554,12 +102325,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
101554
102325
|
});
|
|
101555
102326
|
|
|
101556
102327
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
101557
|
-
var
|
|
102328
|
+
var args168, tool$underwritingUpsert;
|
|
101558
102329
|
var init_underwritingUpsert2 = __esm(() => {
|
|
101559
102330
|
init_underwritingUpsert();
|
|
101560
102331
|
init_operations();
|
|
101561
102332
|
init_tools();
|
|
101562
|
-
|
|
102333
|
+
args168 = {
|
|
101563
102334
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
101564
102335
|
};
|
|
101565
102336
|
tool$underwritingUpsert = {
|
|
@@ -101570,9 +102341,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
101570
102341
|
|
|
101571
102342
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101572
102343
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
101573
|
-
args:
|
|
101574
|
-
tool: async (client,
|
|
101575
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
102344
|
+
args: args168,
|
|
102345
|
+
tool: async (client, args169, ctx) => {
|
|
102346
|
+
const [result, apiCall] = await underwritingUpsert(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101576
102347
|
if (!result.ok) {
|
|
101577
102348
|
return {
|
|
101578
102349
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101587,9 +102358,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
101587
102358
|
|
|
101588
102359
|
// src/funcs/walletsCreate.ts
|
|
101589
102360
|
function walletsCreate(client, request, options) {
|
|
101590
|
-
return new APIPromise($
|
|
102361
|
+
return new APIPromise($do169(client, request, options));
|
|
101591
102362
|
}
|
|
101592
|
-
async function $
|
|
102363
|
+
async function $do169(client, request, options) {
|
|
101593
102364
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101594
102365
|
if (!parsed.ok) {
|
|
101595
102366
|
return [parsed, { status: "invalid" }];
|
|
@@ -101683,12 +102454,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
101683
102454
|
});
|
|
101684
102455
|
|
|
101685
102456
|
// src/mcp-server/tools/walletsCreate.ts
|
|
101686
|
-
var
|
|
102457
|
+
var args169, tool$walletsCreate;
|
|
101687
102458
|
var init_walletsCreate2 = __esm(() => {
|
|
101688
102459
|
init_walletsCreate();
|
|
101689
102460
|
init_operations();
|
|
101690
102461
|
init_tools();
|
|
101691
|
-
|
|
102462
|
+
args169 = {
|
|
101692
102463
|
request: CreateWalletRequest$inboundSchema
|
|
101693
102464
|
};
|
|
101694
102465
|
tool$walletsCreate = {
|
|
@@ -101699,9 +102470,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
101699
102470
|
|
|
101700
102471
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101701
102472
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
101702
|
-
args:
|
|
101703
|
-
tool: async (client,
|
|
101704
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
102473
|
+
args: args169,
|
|
102474
|
+
tool: async (client, args170, ctx) => {
|
|
102475
|
+
const [result, apiCall] = await walletsCreate(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101705
102476
|
if (!result.ok) {
|
|
101706
102477
|
return {
|
|
101707
102478
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101716,9 +102487,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
101716
102487
|
|
|
101717
102488
|
// src/funcs/walletsGet.ts
|
|
101718
102489
|
function walletsGet(client, request, options) {
|
|
101719
|
-
return new APIPromise($
|
|
102490
|
+
return new APIPromise($do170(client, request, options));
|
|
101720
102491
|
}
|
|
101721
|
-
async function $
|
|
102492
|
+
async function $do170(client, request, options) {
|
|
101722
102493
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101723
102494
|
if (!parsed.ok) {
|
|
101724
102495
|
return [parsed, { status: "invalid" }];
|
|
@@ -101800,12 +102571,12 @@ var init_walletsGet = __esm(() => {
|
|
|
101800
102571
|
});
|
|
101801
102572
|
|
|
101802
102573
|
// src/mcp-server/tools/walletsGet.ts
|
|
101803
|
-
var
|
|
102574
|
+
var args170, tool$walletsGet;
|
|
101804
102575
|
var init_walletsGet2 = __esm(() => {
|
|
101805
102576
|
init_walletsGet();
|
|
101806
102577
|
init_operations();
|
|
101807
102578
|
init_tools();
|
|
101808
|
-
|
|
102579
|
+
args170 = {
|
|
101809
102580
|
request: GetWalletRequest$inboundSchema
|
|
101810
102581
|
};
|
|
101811
102582
|
tool$walletsGet = {
|
|
@@ -101816,9 +102587,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
101816
102587
|
|
|
101817
102588
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101818
102589
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
101819
|
-
args:
|
|
101820
|
-
tool: async (client,
|
|
101821
|
-
const [result, apiCall] = await walletsGet(client,
|
|
102590
|
+
args: args170,
|
|
102591
|
+
tool: async (client, args171, ctx) => {
|
|
102592
|
+
const [result, apiCall] = await walletsGet(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101822
102593
|
if (!result.ok) {
|
|
101823
102594
|
return {
|
|
101824
102595
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101833,9 +102604,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
101833
102604
|
|
|
101834
102605
|
// src/funcs/walletsList.ts
|
|
101835
102606
|
function walletsList(client, request, options) {
|
|
101836
|
-
return new APIPromise($
|
|
102607
|
+
return new APIPromise($do171(client, request, options));
|
|
101837
102608
|
}
|
|
101838
|
-
async function $
|
|
102609
|
+
async function $do171(client, request, options) {
|
|
101839
102610
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101840
102611
|
if (!parsed.ok) {
|
|
101841
102612
|
return [parsed, { status: "invalid" }];
|
|
@@ -101923,12 +102694,12 @@ var init_walletsList = __esm(() => {
|
|
|
101923
102694
|
});
|
|
101924
102695
|
|
|
101925
102696
|
// src/mcp-server/tools/walletsList.ts
|
|
101926
|
-
var
|
|
102697
|
+
var args171, tool$walletsList;
|
|
101927
102698
|
var init_walletsList2 = __esm(() => {
|
|
101928
102699
|
init_walletsList();
|
|
101929
102700
|
init_operations();
|
|
101930
102701
|
init_tools();
|
|
101931
|
-
|
|
102702
|
+
args171 = {
|
|
101932
102703
|
request: ListWalletsRequest$inboundSchema
|
|
101933
102704
|
};
|
|
101934
102705
|
tool$walletsList = {
|
|
@@ -101939,9 +102710,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
101939
102710
|
|
|
101940
102711
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
101941
102712
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
101942
|
-
args:
|
|
101943
|
-
tool: async (client,
|
|
101944
|
-
const [result, apiCall] = await walletsList(client,
|
|
102713
|
+
args: args171,
|
|
102714
|
+
tool: async (client, args172, ctx) => {
|
|
102715
|
+
const [result, apiCall] = await walletsList(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101945
102716
|
if (!result.ok) {
|
|
101946
102717
|
return {
|
|
101947
102718
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101956,9 +102727,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
101956
102727
|
|
|
101957
102728
|
// src/funcs/walletsUpdate.ts
|
|
101958
102729
|
function walletsUpdate(client, request, options) {
|
|
101959
|
-
return new APIPromise($
|
|
102730
|
+
return new APIPromise($do172(client, request, options));
|
|
101960
102731
|
}
|
|
101961
|
-
async function $
|
|
102732
|
+
async function $do172(client, request, options) {
|
|
101962
102733
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101963
102734
|
if (!parsed.ok) {
|
|
101964
102735
|
return [parsed, { status: "invalid" }];
|
|
@@ -102056,12 +102827,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
102056
102827
|
});
|
|
102057
102828
|
|
|
102058
102829
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
102059
|
-
var
|
|
102830
|
+
var args172, tool$walletsUpdate;
|
|
102060
102831
|
var init_walletsUpdate2 = __esm(() => {
|
|
102061
102832
|
init_walletsUpdate();
|
|
102062
102833
|
init_operations();
|
|
102063
102834
|
init_tools();
|
|
102064
|
-
|
|
102835
|
+
args172 = {
|
|
102065
102836
|
request: UpdateWalletRequest$inboundSchema
|
|
102066
102837
|
};
|
|
102067
102838
|
tool$walletsUpdate = {
|
|
@@ -102072,9 +102843,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
102072
102843
|
|
|
102073
102844
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102074
102845
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
102075
|
-
args:
|
|
102076
|
-
tool: async (client,
|
|
102077
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
102846
|
+
args: args172,
|
|
102847
|
+
tool: async (client, args173, ctx) => {
|
|
102848
|
+
const [result, apiCall] = await walletsUpdate(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102078
102849
|
if (!result.ok) {
|
|
102079
102850
|
return {
|
|
102080
102851
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102089,9 +102860,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
102089
102860
|
|
|
102090
102861
|
// src/funcs/walletTransactionsGet.ts
|
|
102091
102862
|
function walletTransactionsGet(client, request, options) {
|
|
102092
|
-
return new APIPromise($
|
|
102863
|
+
return new APIPromise($do173(client, request, options));
|
|
102093
102864
|
}
|
|
102094
|
-
async function $
|
|
102865
|
+
async function $do173(client, request, options) {
|
|
102095
102866
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102096
102867
|
if (!parsed.ok) {
|
|
102097
102868
|
return [parsed, { status: "invalid" }];
|
|
@@ -102177,12 +102948,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
102177
102948
|
});
|
|
102178
102949
|
|
|
102179
102950
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
102180
|
-
var
|
|
102951
|
+
var args173, tool$walletTransactionsGet;
|
|
102181
102952
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
102182
102953
|
init_walletTransactionsGet();
|
|
102183
102954
|
init_operations();
|
|
102184
102955
|
init_tools();
|
|
102185
|
-
|
|
102956
|
+
args173 = {
|
|
102186
102957
|
request: GetWalletTransactionRequest$inboundSchema
|
|
102187
102958
|
};
|
|
102188
102959
|
tool$walletTransactionsGet = {
|
|
@@ -102193,9 +102964,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
102193
102964
|
|
|
102194
102965
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102195
102966
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
102196
|
-
args:
|
|
102197
|
-
tool: async (client,
|
|
102198
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
102967
|
+
args: args173,
|
|
102968
|
+
tool: async (client, args174, ctx) => {
|
|
102969
|
+
const [result, apiCall] = await walletTransactionsGet(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102199
102970
|
if (!result.ok) {
|
|
102200
102971
|
return {
|
|
102201
102972
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102210,9 +102981,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
102210
102981
|
|
|
102211
102982
|
// src/funcs/walletTransactionsList.ts
|
|
102212
102983
|
function walletTransactionsList(client, request, options) {
|
|
102213
|
-
return new APIPromise($
|
|
102984
|
+
return new APIPromise($do174(client, request, options));
|
|
102214
102985
|
}
|
|
102215
|
-
async function $
|
|
102986
|
+
async function $do174(client, request, options) {
|
|
102216
102987
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102217
102988
|
if (!parsed.ok) {
|
|
102218
102989
|
return [parsed, { status: "invalid" }];
|
|
@@ -102312,12 +103083,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
102312
103083
|
});
|
|
102313
103084
|
|
|
102314
103085
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
102315
|
-
var
|
|
103086
|
+
var args174, tool$walletTransactionsList;
|
|
102316
103087
|
var init_walletTransactionsList2 = __esm(() => {
|
|
102317
103088
|
init_walletTransactionsList();
|
|
102318
103089
|
init_operations();
|
|
102319
103090
|
init_tools();
|
|
102320
|
-
|
|
103091
|
+
args174 = {
|
|
102321
103092
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
102322
103093
|
};
|
|
102323
103094
|
tool$walletTransactionsList = {
|
|
@@ -102328,9 +103099,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
102328
103099
|
|
|
102329
103100
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
102330
103101
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
102331
|
-
args:
|
|
102332
|
-
tool: async (client,
|
|
102333
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
103102
|
+
args: args174,
|
|
103103
|
+
tool: async (client, args175, ctx) => {
|
|
103104
|
+
const [result, apiCall] = await walletTransactionsList(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102334
103105
|
if (!result.ok) {
|
|
102335
103106
|
return {
|
|
102336
103107
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102345,9 +103116,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
102345
103116
|
|
|
102346
103117
|
// src/funcs/webhooksCreate.ts
|
|
102347
103118
|
function webhooksCreate(client, request, options) {
|
|
102348
|
-
return new APIPromise($
|
|
103119
|
+
return new APIPromise($do175(client, request, options));
|
|
102349
103120
|
}
|
|
102350
|
-
async function $
|
|
103121
|
+
async function $do175(client, request, options) {
|
|
102351
103122
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
102352
103123
|
if (!parsed.ok) {
|
|
102353
103124
|
return [parsed, { status: "invalid" }];
|
|
@@ -102436,20 +103207,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
102436
103207
|
});
|
|
102437
103208
|
|
|
102438
103209
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
102439
|
-
var
|
|
103210
|
+
var args175, tool$webhooksCreate;
|
|
102440
103211
|
var init_webhooksCreate2 = __esm(() => {
|
|
102441
103212
|
init_webhooksCreate();
|
|
102442
103213
|
init_components();
|
|
102443
103214
|
init_tools();
|
|
102444
|
-
|
|
103215
|
+
args175 = {
|
|
102445
103216
|
request: CreateWebhook$inboundSchema
|
|
102446
103217
|
};
|
|
102447
103218
|
tool$webhooksCreate = {
|
|
102448
103219
|
name: "webhooks-create",
|
|
102449
103220
|
description: `Create a new webhook for the account.`,
|
|
102450
|
-
args:
|
|
102451
|
-
tool: async (client,
|
|
102452
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
103221
|
+
args: args175,
|
|
103222
|
+
tool: async (client, args176, ctx) => {
|
|
103223
|
+
const [result, apiCall] = await webhooksCreate(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102453
103224
|
if (!result.ok) {
|
|
102454
103225
|
return {
|
|
102455
103226
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102464,9 +103235,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
102464
103235
|
|
|
102465
103236
|
// src/funcs/webhooksDisable.ts
|
|
102466
103237
|
function webhooksDisable(client, request, options) {
|
|
102467
|
-
return new APIPromise($
|
|
103238
|
+
return new APIPromise($do176(client, request, options));
|
|
102468
103239
|
}
|
|
102469
|
-
async function $
|
|
103240
|
+
async function $do176(client, request, options) {
|
|
102470
103241
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102471
103242
|
if (!parsed.ok) {
|
|
102472
103243
|
return [parsed, { status: "invalid" }];
|
|
@@ -102555,20 +103326,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
102555
103326
|
});
|
|
102556
103327
|
|
|
102557
103328
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
102558
|
-
var
|
|
103329
|
+
var args176, tool$webhooksDisable;
|
|
102559
103330
|
var init_webhooksDisable2 = __esm(() => {
|
|
102560
103331
|
init_webhooksDisable();
|
|
102561
103332
|
init_operations();
|
|
102562
103333
|
init_tools();
|
|
102563
|
-
|
|
103334
|
+
args176 = {
|
|
102564
103335
|
request: DisableWebhookRequest$inboundSchema
|
|
102565
103336
|
};
|
|
102566
103337
|
tool$webhooksDisable = {
|
|
102567
103338
|
name: "webhooks-disable",
|
|
102568
103339
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
102569
|
-
args:
|
|
102570
|
-
tool: async (client,
|
|
102571
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
103340
|
+
args: args176,
|
|
103341
|
+
tool: async (client, args177, ctx) => {
|
|
103342
|
+
const [result, apiCall] = await webhooksDisable(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102572
103343
|
if (!result.ok) {
|
|
102573
103344
|
return {
|
|
102574
103345
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102582,9 +103353,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
102582
103353
|
|
|
102583
103354
|
// src/funcs/webhooksGet.ts
|
|
102584
103355
|
function webhooksGet(client, request, options) {
|
|
102585
|
-
return new APIPromise($
|
|
103356
|
+
return new APIPromise($do177(client, request, options));
|
|
102586
103357
|
}
|
|
102587
|
-
async function $
|
|
103358
|
+
async function $do177(client, request, options) {
|
|
102588
103359
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102589
103360
|
if (!parsed.ok) {
|
|
102590
103361
|
return [parsed, { status: "invalid" }];
|
|
@@ -102662,20 +103433,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
102662
103433
|
});
|
|
102663
103434
|
|
|
102664
103435
|
// src/mcp-server/tools/webhooksGet.ts
|
|
102665
|
-
var
|
|
103436
|
+
var args177, tool$webhooksGet;
|
|
102666
103437
|
var init_webhooksGet2 = __esm(() => {
|
|
102667
103438
|
init_webhooksGet();
|
|
102668
103439
|
init_operations();
|
|
102669
103440
|
init_tools();
|
|
102670
|
-
|
|
103441
|
+
args177 = {
|
|
102671
103442
|
request: GetWebhookRequest$inboundSchema
|
|
102672
103443
|
};
|
|
102673
103444
|
tool$webhooksGet = {
|
|
102674
103445
|
name: "webhooks-get",
|
|
102675
103446
|
description: `Get details of a specific webhook.`,
|
|
102676
|
-
args:
|
|
102677
|
-
tool: async (client,
|
|
102678
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
103447
|
+
args: args177,
|
|
103448
|
+
tool: async (client, args178, ctx) => {
|
|
103449
|
+
const [result, apiCall] = await webhooksGet(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102679
103450
|
if (!result.ok) {
|
|
102680
103451
|
return {
|
|
102681
103452
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102690,9 +103461,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
102690
103461
|
|
|
102691
103462
|
// src/funcs/webhooksGetSecret.ts
|
|
102692
103463
|
function webhooksGetSecret(client, request, options) {
|
|
102693
|
-
return new APIPromise($
|
|
103464
|
+
return new APIPromise($do178(client, request, options));
|
|
102694
103465
|
}
|
|
102695
|
-
async function $
|
|
103466
|
+
async function $do178(client, request, options) {
|
|
102696
103467
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102697
103468
|
if (!parsed.ok) {
|
|
102698
103469
|
return [parsed, { status: "invalid" }];
|
|
@@ -102770,20 +103541,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
102770
103541
|
});
|
|
102771
103542
|
|
|
102772
103543
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
102773
|
-
var
|
|
103544
|
+
var args178, tool$webhooksGetSecret;
|
|
102774
103545
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
102775
103546
|
init_webhooksGetSecret();
|
|
102776
103547
|
init_operations();
|
|
102777
103548
|
init_tools();
|
|
102778
|
-
|
|
103549
|
+
args178 = {
|
|
102779
103550
|
request: GetWebhookSecretRequest$inboundSchema
|
|
102780
103551
|
};
|
|
102781
103552
|
tool$webhooksGetSecret = {
|
|
102782
103553
|
name: "webhooks-get-secret",
|
|
102783
103554
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
102784
|
-
args:
|
|
102785
|
-
tool: async (client,
|
|
102786
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
103555
|
+
args: args178,
|
|
103556
|
+
tool: async (client, args179, ctx) => {
|
|
103557
|
+
const [result, apiCall] = await webhooksGetSecret(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102787
103558
|
if (!result.ok) {
|
|
102788
103559
|
return {
|
|
102789
103560
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102798,9 +103569,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
102798
103569
|
|
|
102799
103570
|
// src/funcs/webhooksList.ts
|
|
102800
103571
|
function webhooksList(client, _request, options) {
|
|
102801
|
-
return new APIPromise($
|
|
103572
|
+
return new APIPromise($do179(client, _request, options));
|
|
102802
103573
|
}
|
|
102803
|
-
async function $
|
|
103574
|
+
async function $do179(client, _request, options) {
|
|
102804
103575
|
const path = pathToFunc("/webhooks")();
|
|
102805
103576
|
const headers = new Headers(compactMap({
|
|
102806
103577
|
Accept: "application/json",
|
|
@@ -102864,20 +103635,20 @@ var init_webhooksList = __esm(() => {
|
|
|
102864
103635
|
});
|
|
102865
103636
|
|
|
102866
103637
|
// src/mcp-server/tools/webhooksList.ts
|
|
102867
|
-
var
|
|
103638
|
+
var args179, tool$webhooksList;
|
|
102868
103639
|
var init_webhooksList2 = __esm(() => {
|
|
102869
103640
|
init_webhooksList();
|
|
102870
103641
|
init_operations();
|
|
102871
103642
|
init_tools();
|
|
102872
|
-
|
|
103643
|
+
args179 = {
|
|
102873
103644
|
request: ListWebhooksRequest$inboundSchema
|
|
102874
103645
|
};
|
|
102875
103646
|
tool$webhooksList = {
|
|
102876
103647
|
name: "webhooks-list",
|
|
102877
103648
|
description: `List all webhooks configured for the account.`,
|
|
102878
|
-
args:
|
|
102879
|
-
tool: async (client,
|
|
102880
|
-
const [result, apiCall] = await webhooksList(client,
|
|
103649
|
+
args: args179,
|
|
103650
|
+
tool: async (client, args180, ctx) => {
|
|
103651
|
+
const [result, apiCall] = await webhooksList(client, args180.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102881
103652
|
if (!result.ok) {
|
|
102882
103653
|
return {
|
|
102883
103654
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102892,9 +103663,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
102892
103663
|
|
|
102893
103664
|
// src/funcs/webhooksListEventTypes.ts
|
|
102894
103665
|
function webhooksListEventTypes(client, _request, options) {
|
|
102895
|
-
return new APIPromise($
|
|
103666
|
+
return new APIPromise($do180(client, _request, options));
|
|
102896
103667
|
}
|
|
102897
|
-
async function $
|
|
103668
|
+
async function $do180(client, _request, options) {
|
|
102898
103669
|
const path = pathToFunc("/event-types")();
|
|
102899
103670
|
const headers = new Headers(compactMap({
|
|
102900
103671
|
Accept: "application/json",
|
|
@@ -102958,20 +103729,20 @@ var init_webhooksListEventTypes = __esm(() => {
|
|
|
102958
103729
|
});
|
|
102959
103730
|
|
|
102960
103731
|
// src/mcp-server/tools/webhooksListEventTypes.ts
|
|
102961
|
-
var
|
|
103732
|
+
var args180, tool$webhooksListEventTypes;
|
|
102962
103733
|
var init_webhooksListEventTypes2 = __esm(() => {
|
|
102963
103734
|
init_webhooksListEventTypes();
|
|
102964
103735
|
init_operations();
|
|
102965
103736
|
init_tools();
|
|
102966
|
-
|
|
103737
|
+
args180 = {
|
|
102967
103738
|
request: ListEventTypesRequest$inboundSchema
|
|
102968
103739
|
};
|
|
102969
103740
|
tool$webhooksListEventTypes = {
|
|
102970
103741
|
name: "webhooks-list-event-types",
|
|
102971
103742
|
description: `List all available event types that can be subscribed to.`,
|
|
102972
|
-
args:
|
|
102973
|
-
tool: async (client,
|
|
102974
|
-
const [result, apiCall] = await webhooksListEventTypes(client,
|
|
103743
|
+
args: args180,
|
|
103744
|
+
tool: async (client, args181, ctx) => {
|
|
103745
|
+
const [result, apiCall] = await webhooksListEventTypes(client, args181.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
102975
103746
|
if (!result.ok) {
|
|
102976
103747
|
return {
|
|
102977
103748
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -102986,9 +103757,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
102986
103757
|
|
|
102987
103758
|
// src/funcs/webhooksPing.ts
|
|
102988
103759
|
function webhooksPing(client, request, options) {
|
|
102989
|
-
return new APIPromise($
|
|
103760
|
+
return new APIPromise($do181(client, request, options));
|
|
102990
103761
|
}
|
|
102991
|
-
async function $
|
|
103762
|
+
async function $do181(client, request, options) {
|
|
102992
103763
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
102993
103764
|
if (!parsed.ok) {
|
|
102994
103765
|
return [parsed, { status: "invalid" }];
|
|
@@ -103066,20 +103837,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
103066
103837
|
});
|
|
103067
103838
|
|
|
103068
103839
|
// src/mcp-server/tools/webhooksPing.ts
|
|
103069
|
-
var
|
|
103840
|
+
var args181, tool$webhooksPing;
|
|
103070
103841
|
var init_webhooksPing2 = __esm(() => {
|
|
103071
103842
|
init_webhooksPing();
|
|
103072
103843
|
init_operations();
|
|
103073
103844
|
init_tools();
|
|
103074
|
-
|
|
103845
|
+
args181 = {
|
|
103075
103846
|
request: PingWebhookRequest$inboundSchema
|
|
103076
103847
|
};
|
|
103077
103848
|
tool$webhooksPing = {
|
|
103078
103849
|
name: "webhooks-ping",
|
|
103079
103850
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
103080
|
-
args:
|
|
103081
|
-
tool: async (client,
|
|
103082
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
103851
|
+
args: args181,
|
|
103852
|
+
tool: async (client, args182, ctx) => {
|
|
103853
|
+
const [result, apiCall] = await webhooksPing(client, args182.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103083
103854
|
if (!result.ok) {
|
|
103084
103855
|
return {
|
|
103085
103856
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103094,9 +103865,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
103094
103865
|
|
|
103095
103866
|
// src/funcs/webhooksUpdate.ts
|
|
103096
103867
|
function webhooksUpdate(client, request, options) {
|
|
103097
|
-
return new APIPromise($
|
|
103868
|
+
return new APIPromise($do182(client, request, options));
|
|
103098
103869
|
}
|
|
103099
|
-
async function $
|
|
103870
|
+
async function $do182(client, request, options) {
|
|
103100
103871
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
103101
103872
|
if (!parsed.ok) {
|
|
103102
103873
|
return [parsed, { status: "invalid" }];
|
|
@@ -103190,20 +103961,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
103190
103961
|
});
|
|
103191
103962
|
|
|
103192
103963
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
103193
|
-
var
|
|
103964
|
+
var args182, tool$webhooksUpdate;
|
|
103194
103965
|
var init_webhooksUpdate2 = __esm(() => {
|
|
103195
103966
|
init_webhooksUpdate();
|
|
103196
103967
|
init_operations();
|
|
103197
103968
|
init_tools();
|
|
103198
|
-
|
|
103969
|
+
args182 = {
|
|
103199
103970
|
request: UpdateWebhookRequest$inboundSchema
|
|
103200
103971
|
};
|
|
103201
103972
|
tool$webhooksUpdate = {
|
|
103202
103973
|
name: "webhooks-update",
|
|
103203
103974
|
description: `Update an existing webhook.`,
|
|
103204
|
-
args:
|
|
103205
|
-
tool: async (client,
|
|
103206
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
103975
|
+
args: args182,
|
|
103976
|
+
tool: async (client, args183, ctx) => {
|
|
103977
|
+
const [result, apiCall] = await webhooksUpdate(client, args183.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
103207
103978
|
if (!result.ok) {
|
|
103208
103979
|
return {
|
|
103209
103980
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -103220,7 +103991,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
103220
103991
|
function createMCPServer(deps) {
|
|
103221
103992
|
const server = new McpServer({
|
|
103222
103993
|
name: "Moov",
|
|
103223
|
-
version: "26.4.0-dev.
|
|
103994
|
+
version: "26.4.0-dev.11"
|
|
103224
103995
|
});
|
|
103225
103996
|
const client = new MoovCore({
|
|
103226
103997
|
security: deps.security,
|
|
@@ -103330,6 +104101,10 @@ function createMCPServer(deps) {
|
|
|
103330
104101
|
tool(tool$representativesDelete);
|
|
103331
104102
|
tool(tool$representativesGet);
|
|
103332
104103
|
tool(tool$representativesUpdate);
|
|
104104
|
+
tool(tool$resolutionLinksCreate);
|
|
104105
|
+
tool(tool$resolutionLinksList);
|
|
104106
|
+
tool(tool$resolutionLinksGet);
|
|
104107
|
+
tool(tool$resolutionLinksDisable);
|
|
103333
104108
|
tool(tool$schedulingCreate);
|
|
103334
104109
|
tool(tool$schedulingList);
|
|
103335
104110
|
tool(tool$schedulingUpdate);
|
|
@@ -103546,6 +104321,10 @@ var init_server2 = __esm(() => {
|
|
|
103546
104321
|
init_representativesGet2();
|
|
103547
104322
|
init_representativesList2();
|
|
103548
104323
|
init_representativesUpdate2();
|
|
104324
|
+
init_resolutionLinksCreate2();
|
|
104325
|
+
init_resolutionLinksDisable2();
|
|
104326
|
+
init_resolutionLinksGet2();
|
|
104327
|
+
init_resolutionLinksList2();
|
|
103549
104328
|
init_schedulingCancel2();
|
|
103550
104329
|
init_schedulingCreate2();
|
|
103551
104330
|
init_schedulingGet2();
|
|
@@ -104800,7 +105579,7 @@ var routes = rn({
|
|
|
104800
105579
|
var app = Ve(routes, {
|
|
104801
105580
|
name: "mcp",
|
|
104802
105581
|
versionInfo: {
|
|
104803
|
-
currentVersion: "26.4.0-dev.
|
|
105582
|
+
currentVersion: "26.4.0-dev.11"
|
|
104804
105583
|
}
|
|
104805
105584
|
});
|
|
104806
105585
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -104808,5 +105587,5 @@ export {
|
|
|
104808
105587
|
app
|
|
104809
105588
|
};
|
|
104810
105589
|
|
|
104811
|
-
//# debugId=
|
|
105590
|
+
//# debugId=EB0540AC8D69881664756E2164756E21
|
|
104812
105591
|
//# sourceMappingURL=mcp-server.js.map
|