@moovio/sdk 0.14.8 → 0.14.9
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 +45 -37
- package/bin/mcp-server.js +389 -159
- package/bin/mcp-server.js.map +18 -13
- package/docs/sdks/terminalapplications/README.md +102 -9
- package/examples/package-lock.json +1 -1
- package/funcs/terminalApplicationsCreateVersion.d.ts +18 -0
- package/funcs/terminalApplicationsCreateVersion.d.ts.map +1 -0
- package/funcs/terminalApplicationsCreateVersion.js +137 -0
- package/funcs/terminalApplicationsCreateVersion.js.map +1 -0
- 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 +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/terminalApplicationsCreateVersion.d.ts +8 -0
- package/mcp-server/tools/terminalApplicationsCreateVersion.d.ts.map +1 -0
- package/mcp-server/tools/terminalApplicationsCreateVersion.js +65 -0
- package/mcp-server/tools/terminalApplicationsCreateVersion.js.map +1 -0
- package/models/components/accountterminalapplication.d.ts +40 -0
- package/models/components/accountterminalapplication.d.ts.map +1 -0
- package/models/components/accountterminalapplication.js +71 -0
- package/models/components/accountterminalapplication.js.map +1 -0
- package/models/components/createterminalapplication.d.ts +2 -2
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/terminalapplication.d.ts +2 -2
- package/models/components/terminalapplicationversion.d.ts +35 -0
- package/models/components/terminalapplicationversion.d.ts.map +1 -0
- package/models/components/terminalapplicationversion.js +69 -0
- package/models/components/terminalapplicationversion.js.map +1 -0
- package/models/operations/createterminalapplicationversion.d.ts +101 -0
- package/models/operations/createterminalapplicationversion.d.ts.map +1 -0
- package/models/operations/createterminalapplicationversion.js +155 -0
- package/models/operations/createterminalapplicationversion.js.map +1 -0
- package/models/operations/getaccountterminalapplication.d.ts +2 -2
- package/models/operations/getaccountterminalapplication.d.ts.map +1 -1
- package/models/operations/getaccountterminalapplication.js +2 -2
- package/models/operations/getaccountterminalapplication.js.map +1 -1
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/linkaccountterminalapplication.d.ts +2 -2
- package/models/operations/linkaccountterminalapplication.d.ts.map +1 -1
- package/models/operations/linkaccountterminalapplication.js +2 -2
- package/models/operations/linkaccountterminalapplication.js.map +1 -1
- package/models/operations/listaccountterminalapplications.d.ts +2 -2
- package/models/operations/listaccountterminalapplications.d.ts.map +1 -1
- package/models/operations/listaccountterminalapplications.js +2 -2
- package/models/operations/listaccountterminalapplications.js.map +1 -1
- package/package.json +1 -1
- package/sdk/terminalapplications.d.ts +7 -0
- package/sdk/terminalapplications.d.ts.map +1 -1
- package/sdk/terminalapplications.js +10 -0
- package/sdk/terminalapplications.js.map +1 -1
- package/src/funcs/terminalApplicationsCreateVersion.ts +212 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/terminalApplicationsCreateVersion.ts +41 -0
- package/src/models/components/accountterminalapplication.ts +79 -0
- package/src/models/components/createterminalapplication.ts +2 -2
- package/src/models/components/index.ts +2 -0
- package/src/models/components/terminalapplication.ts +2 -2
- package/src/models/components/terminalapplicationversion.ts +72 -0
- package/src/models/operations/createterminalapplicationversion.ts +266 -0
- package/src/models/operations/getaccountterminalapplication.ts +4 -4
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/linkaccountterminalapplication.ts +4 -4
- package/src/models/operations/listaccountterminalapplications.ts +4 -4
- package/src/sdk/terminalapplications.ts +18 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34175,9 +34175,9 @@ var init_config = __esm(() => {
|
|
|
34175
34175
|
SDK_METADATA = {
|
|
34176
34176
|
language: "typescript",
|
|
34177
34177
|
openapiDocVersion: "latest",
|
|
34178
|
-
sdkVersion: "0.14.
|
|
34179
|
-
genVersion: "2.
|
|
34180
|
-
userAgent: "speakeasy-sdk/typescript 0.14.
|
|
34178
|
+
sdkVersion: "0.14.9",
|
|
34179
|
+
genVersion: "2.657.1",
|
|
34180
|
+
userAgent: "speakeasy-sdk/typescript 0.14.9 2.657.1 latest @moovio/sdk"
|
|
34181
34181
|
};
|
|
34182
34182
|
});
|
|
34183
34183
|
|
|
@@ -36329,6 +36329,24 @@ var init_accountnameverification = __esm(() => {
|
|
|
36329
36329
|
})(AccountNameVerification$ ||= {});
|
|
36330
36330
|
});
|
|
36331
36331
|
|
|
36332
|
+
// src/models/components/accountterminalapplication.ts
|
|
36333
|
+
var AccountTerminalApplication$inboundSchema, AccountTerminalApplication$outboundSchema, AccountTerminalApplication$;
|
|
36334
|
+
var init_accountterminalapplication = __esm(() => {
|
|
36335
|
+
init_esm();
|
|
36336
|
+
AccountTerminalApplication$inboundSchema = objectType({
|
|
36337
|
+
accountID: stringType(),
|
|
36338
|
+
terminalApplicationID: stringType()
|
|
36339
|
+
});
|
|
36340
|
+
AccountTerminalApplication$outboundSchema = objectType({
|
|
36341
|
+
accountID: stringType(),
|
|
36342
|
+
terminalApplicationID: stringType()
|
|
36343
|
+
});
|
|
36344
|
+
((AccountTerminalApplication$) => {
|
|
36345
|
+
AccountTerminalApplication$.inboundSchema = AccountTerminalApplication$inboundSchema;
|
|
36346
|
+
AccountTerminalApplication$.outboundSchema = AccountTerminalApplication$outboundSchema;
|
|
36347
|
+
})(AccountTerminalApplication$ ||= {});
|
|
36348
|
+
});
|
|
36349
|
+
|
|
36332
36350
|
// src/models/components/bankaccountholdertype.ts
|
|
36333
36351
|
var BankAccountHolderType, BankAccountHolderType$inboundSchema, BankAccountHolderType$outboundSchema, BankAccountHolderType$;
|
|
36334
36352
|
var init_bankaccountholdertype = __esm(() => {
|
|
@@ -45093,6 +45111,22 @@ var init_terminalapplication = __esm(() => {
|
|
|
45093
45111
|
})(TerminalApplication$ ||= {});
|
|
45094
45112
|
});
|
|
45095
45113
|
|
|
45114
|
+
// src/models/components/terminalapplicationversion.ts
|
|
45115
|
+
var TerminalApplicationVersion$inboundSchema, TerminalApplicationVersion$outboundSchema, TerminalApplicationVersion$;
|
|
45116
|
+
var init_terminalapplicationversion = __esm(() => {
|
|
45117
|
+
init_esm();
|
|
45118
|
+
TerminalApplicationVersion$inboundSchema = objectType({
|
|
45119
|
+
version: stringType()
|
|
45120
|
+
});
|
|
45121
|
+
TerminalApplicationVersion$outboundSchema = objectType({
|
|
45122
|
+
version: stringType()
|
|
45123
|
+
});
|
|
45124
|
+
((TerminalApplicationVersion$) => {
|
|
45125
|
+
TerminalApplicationVersion$.inboundSchema = TerminalApplicationVersion$inboundSchema;
|
|
45126
|
+
TerminalApplicationVersion$.outboundSchema = TerminalApplicationVersion$outboundSchema;
|
|
45127
|
+
})(TerminalApplicationVersion$ ||= {});
|
|
45128
|
+
});
|
|
45129
|
+
|
|
45096
45130
|
// src/models/components/terminalconfiguration.ts
|
|
45097
45131
|
var TerminalConfiguration$inboundSchema, TerminalConfiguration$outboundSchema, TerminalConfiguration$;
|
|
45098
45132
|
var init_terminalconfiguration = __esm(() => {
|
|
@@ -46902,6 +46936,7 @@ var init_components = __esm(() => {
|
|
|
46902
46936
|
init_accountcapability();
|
|
46903
46937
|
init_accountcountries();
|
|
46904
46938
|
init_accountnameverification();
|
|
46939
|
+
init_accountterminalapplication();
|
|
46905
46940
|
init_accounttype();
|
|
46906
46941
|
init_accountverificationstatus();
|
|
46907
46942
|
init_achcreditsamedaypaymentmethod();
|
|
@@ -47261,6 +47296,7 @@ var init_components = __esm(() => {
|
|
|
47261
47296
|
init_terminalapplication();
|
|
47262
47297
|
init_terminalapplicationplatform();
|
|
47263
47298
|
init_terminalapplicationstatus();
|
|
47299
|
+
init_terminalapplicationversion();
|
|
47264
47300
|
init_terminalcard();
|
|
47265
47301
|
init_terminalconfiguration();
|
|
47266
47302
|
init_termsofservice();
|
|
@@ -50655,6 +50691,74 @@ var init_createterminalapplication2 = __esm(() => {
|
|
|
50655
50691
|
})(CreateTerminalApplicationResponse$ ||= {});
|
|
50656
50692
|
});
|
|
50657
50693
|
|
|
50694
|
+
// src/models/operations/createterminalapplicationversion.ts
|
|
50695
|
+
var CreateTerminalApplicationVersionGlobals$inboundSchema, CreateTerminalApplicationVersionGlobals$outboundSchema, CreateTerminalApplicationVersionGlobals$, CreateTerminalApplicationVersionRequest$inboundSchema, CreateTerminalApplicationVersionRequest$outboundSchema, CreateTerminalApplicationVersionRequest$, CreateTerminalApplicationVersionResponse$inboundSchema, CreateTerminalApplicationVersionResponse$outboundSchema, CreateTerminalApplicationVersionResponse$;
|
|
50696
|
+
var init_createterminalapplicationversion = __esm(() => {
|
|
50697
|
+
init_esm();
|
|
50698
|
+
init_primitives();
|
|
50699
|
+
init_components();
|
|
50700
|
+
CreateTerminalApplicationVersionGlobals$inboundSchema = objectType({
|
|
50701
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
50702
|
+
}).transform((v2) => {
|
|
50703
|
+
return remap(v2, {
|
|
50704
|
+
"x-moov-version": "xMoovVersion"
|
|
50705
|
+
});
|
|
50706
|
+
});
|
|
50707
|
+
CreateTerminalApplicationVersionGlobals$outboundSchema = objectType({
|
|
50708
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
50709
|
+
}).transform((v2) => {
|
|
50710
|
+
return remap(v2, {
|
|
50711
|
+
xMoovVersion: "x-moov-version"
|
|
50712
|
+
});
|
|
50713
|
+
});
|
|
50714
|
+
((CreateTerminalApplicationVersionGlobals$) => {
|
|
50715
|
+
CreateTerminalApplicationVersionGlobals$.inboundSchema = CreateTerminalApplicationVersionGlobals$inboundSchema;
|
|
50716
|
+
CreateTerminalApplicationVersionGlobals$.outboundSchema = CreateTerminalApplicationVersionGlobals$outboundSchema;
|
|
50717
|
+
})(CreateTerminalApplicationVersionGlobals$ ||= {});
|
|
50718
|
+
CreateTerminalApplicationVersionRequest$inboundSchema = objectType({
|
|
50719
|
+
terminalApplicationID: stringType(),
|
|
50720
|
+
TerminalApplicationVersion: TerminalApplicationVersion$inboundSchema
|
|
50721
|
+
}).transform((v2) => {
|
|
50722
|
+
return remap(v2, {
|
|
50723
|
+
TerminalApplicationVersion: "terminalApplicationVersion"
|
|
50724
|
+
});
|
|
50725
|
+
});
|
|
50726
|
+
CreateTerminalApplicationVersionRequest$outboundSchema = objectType({
|
|
50727
|
+
terminalApplicationID: stringType(),
|
|
50728
|
+
terminalApplicationVersion: TerminalApplicationVersion$outboundSchema
|
|
50729
|
+
}).transform((v2) => {
|
|
50730
|
+
return remap(v2, {
|
|
50731
|
+
terminalApplicationVersion: "TerminalApplicationVersion"
|
|
50732
|
+
});
|
|
50733
|
+
});
|
|
50734
|
+
((CreateTerminalApplicationVersionRequest$) => {
|
|
50735
|
+
CreateTerminalApplicationVersionRequest$.inboundSchema = CreateTerminalApplicationVersionRequest$inboundSchema;
|
|
50736
|
+
CreateTerminalApplicationVersionRequest$.outboundSchema = CreateTerminalApplicationVersionRequest$outboundSchema;
|
|
50737
|
+
})(CreateTerminalApplicationVersionRequest$ ||= {});
|
|
50738
|
+
CreateTerminalApplicationVersionResponse$inboundSchema = objectType({
|
|
50739
|
+
Headers: recordType(arrayType(stringType())),
|
|
50740
|
+
Result: TerminalApplicationVersion$inboundSchema
|
|
50741
|
+
}).transform((v2) => {
|
|
50742
|
+
return remap(v2, {
|
|
50743
|
+
Headers: "headers",
|
|
50744
|
+
Result: "result"
|
|
50745
|
+
});
|
|
50746
|
+
});
|
|
50747
|
+
CreateTerminalApplicationVersionResponse$outboundSchema = objectType({
|
|
50748
|
+
headers: recordType(arrayType(stringType())),
|
|
50749
|
+
result: TerminalApplicationVersion$outboundSchema
|
|
50750
|
+
}).transform((v2) => {
|
|
50751
|
+
return remap(v2, {
|
|
50752
|
+
headers: "Headers",
|
|
50753
|
+
result: "Result"
|
|
50754
|
+
});
|
|
50755
|
+
});
|
|
50756
|
+
((CreateTerminalApplicationVersionResponse$) => {
|
|
50757
|
+
CreateTerminalApplicationVersionResponse$.inboundSchema = CreateTerminalApplicationVersionResponse$inboundSchema;
|
|
50758
|
+
CreateTerminalApplicationVersionResponse$.outboundSchema = CreateTerminalApplicationVersionResponse$outboundSchema;
|
|
50759
|
+
})(CreateTerminalApplicationVersionResponse$ ||= {});
|
|
50760
|
+
});
|
|
50761
|
+
|
|
50658
50762
|
// src/models/operations/createticket.ts
|
|
50659
50763
|
var CreateTicketGlobals$inboundSchema, CreateTicketGlobals$outboundSchema, CreateTicketGlobals$, CreateTicketRequest$inboundSchema, CreateTicketRequest$outboundSchema, CreateTicketRequest$, CreateTicketResponse$inboundSchema, CreateTicketResponse$outboundSchema, CreateTicketResponse$;
|
|
50660
50764
|
var init_createticket2 = __esm(() => {
|
|
@@ -51536,7 +51640,7 @@ var init_getaccountterminalapplication = __esm(() => {
|
|
|
51536
51640
|
})(GetAccountTerminalApplicationRequest$ ||= {});
|
|
51537
51641
|
GetAccountTerminalApplicationResponse$inboundSchema = objectType({
|
|
51538
51642
|
Headers: recordType(arrayType(stringType())),
|
|
51539
|
-
Result:
|
|
51643
|
+
Result: AccountTerminalApplication$inboundSchema
|
|
51540
51644
|
}).transform((v2) => {
|
|
51541
51645
|
return remap(v2, {
|
|
51542
51646
|
Headers: "headers",
|
|
@@ -51545,7 +51649,7 @@ var init_getaccountterminalapplication = __esm(() => {
|
|
|
51545
51649
|
});
|
|
51546
51650
|
GetAccountTerminalApplicationResponse$outboundSchema = objectType({
|
|
51547
51651
|
headers: recordType(arrayType(stringType())),
|
|
51548
|
-
result:
|
|
51652
|
+
result: AccountTerminalApplication$outboundSchema
|
|
51549
51653
|
}).transform((v2) => {
|
|
51550
51654
|
return remap(v2, {
|
|
51551
51655
|
headers: "Headers",
|
|
@@ -54162,7 +54266,7 @@ var init_linkaccountterminalapplication2 = __esm(() => {
|
|
|
54162
54266
|
})(LinkAccountTerminalApplicationRequest$ ||= {});
|
|
54163
54267
|
LinkAccountTerminalApplicationResponse$inboundSchema = objectType({
|
|
54164
54268
|
Headers: recordType(arrayType(stringType())),
|
|
54165
|
-
Result:
|
|
54269
|
+
Result: AccountTerminalApplication$inboundSchema
|
|
54166
54270
|
}).transform((v2) => {
|
|
54167
54271
|
return remap(v2, {
|
|
54168
54272
|
Headers: "headers",
|
|
@@ -54171,7 +54275,7 @@ var init_linkaccountterminalapplication2 = __esm(() => {
|
|
|
54171
54275
|
});
|
|
54172
54276
|
LinkAccountTerminalApplicationResponse$outboundSchema = objectType({
|
|
54173
54277
|
headers: recordType(arrayType(stringType())),
|
|
54174
|
-
result:
|
|
54278
|
+
result: AccountTerminalApplication$outboundSchema
|
|
54175
54279
|
}).transform((v2) => {
|
|
54176
54280
|
return remap(v2, {
|
|
54177
54281
|
headers: "Headers",
|
|
@@ -54508,7 +54612,7 @@ var init_listaccountterminalapplications = __esm(() => {
|
|
|
54508
54612
|
})(ListAccountTerminalApplicationsRequest$ ||= {});
|
|
54509
54613
|
ListAccountTerminalApplicationsResponse$inboundSchema = objectType({
|
|
54510
54614
|
Headers: recordType(arrayType(stringType())),
|
|
54511
|
-
Result: arrayType(
|
|
54615
|
+
Result: arrayType(AccountTerminalApplication$inboundSchema)
|
|
54512
54616
|
}).transform((v2) => {
|
|
54513
54617
|
return remap(v2, {
|
|
54514
54618
|
Headers: "headers",
|
|
@@ -54517,7 +54621,7 @@ var init_listaccountterminalapplications = __esm(() => {
|
|
|
54517
54621
|
});
|
|
54518
54622
|
ListAccountTerminalApplicationsResponse$outboundSchema = objectType({
|
|
54519
54623
|
headers: recordType(arrayType(stringType())),
|
|
54520
|
-
result: arrayType(
|
|
54624
|
+
result: arrayType(AccountTerminalApplication$outboundSchema)
|
|
54521
54625
|
}).transform((v2) => {
|
|
54522
54626
|
return remap(v2, {
|
|
54523
54627
|
headers: "Headers",
|
|
@@ -58476,6 +58580,7 @@ var init_operations = __esm(() => {
|
|
|
58476
58580
|
init_createschedule();
|
|
58477
58581
|
init_createsweepconfig2();
|
|
58478
58582
|
init_createterminalapplication2();
|
|
58583
|
+
init_createterminalapplicationversion();
|
|
58479
58584
|
init_createticket2();
|
|
58480
58585
|
init_createtransfer2();
|
|
58481
58586
|
init_createtransferoptions2();
|
|
@@ -73207,11 +73312,134 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
73207
73312
|
};
|
|
73208
73313
|
});
|
|
73209
73314
|
|
|
73210
|
-
// src/funcs/
|
|
73211
|
-
function
|
|
73315
|
+
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
73316
|
+
function terminalApplicationsCreateVersion(client, request, options) {
|
|
73212
73317
|
return new APIPromise($do122(client, request, options));
|
|
73213
73318
|
}
|
|
73214
73319
|
async function $do122(client, request, options) {
|
|
73320
|
+
const parsed = safeParse(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73321
|
+
if (!parsed.ok) {
|
|
73322
|
+
return [parsed, { status: "invalid" }];
|
|
73323
|
+
}
|
|
73324
|
+
const payload = parsed.value;
|
|
73325
|
+
const body = encodeJSON("body", payload.TerminalApplicationVersion, {
|
|
73326
|
+
explode: true
|
|
73327
|
+
});
|
|
73328
|
+
const pathParams = {
|
|
73329
|
+
terminalApplicationID: encodeSimple("terminalApplicationID", payload.terminalApplicationID, { explode: false, charEncoding: "percent" })
|
|
73330
|
+
};
|
|
73331
|
+
const path = pathToFunc("/terminal-applications/{terminalApplicationID}/versions")(pathParams);
|
|
73332
|
+
const headers = new Headers(compactMap({
|
|
73333
|
+
"Content-Type": "application/json",
|
|
73334
|
+
Accept: "application/json",
|
|
73335
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
73336
|
+
}));
|
|
73337
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
73338
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
73339
|
+
const context = {
|
|
73340
|
+
options: client._options,
|
|
73341
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
73342
|
+
operationID: "createTerminalApplicationVersion",
|
|
73343
|
+
oAuth2Scopes: [],
|
|
73344
|
+
resolvedSecurity: requestSecurity,
|
|
73345
|
+
securitySource: client._options.security,
|
|
73346
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
73347
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
73348
|
+
};
|
|
73349
|
+
const requestRes = client._createRequest(context, {
|
|
73350
|
+
security: requestSecurity,
|
|
73351
|
+
method: "POST",
|
|
73352
|
+
baseURL: options?.serverURL,
|
|
73353
|
+
path,
|
|
73354
|
+
headers,
|
|
73355
|
+
body,
|
|
73356
|
+
userAgent: client._options.userAgent,
|
|
73357
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
73358
|
+
}, options);
|
|
73359
|
+
if (!requestRes.ok) {
|
|
73360
|
+
return [requestRes, { status: "invalid" }];
|
|
73361
|
+
}
|
|
73362
|
+
const req = requestRes.value;
|
|
73363
|
+
const doResult = await client._do(req, {
|
|
73364
|
+
context,
|
|
73365
|
+
errorCodes: [
|
|
73366
|
+
"400",
|
|
73367
|
+
"401",
|
|
73368
|
+
"403",
|
|
73369
|
+
"404",
|
|
73370
|
+
"409",
|
|
73371
|
+
"422",
|
|
73372
|
+
"429",
|
|
73373
|
+
"4XX",
|
|
73374
|
+
"500",
|
|
73375
|
+
"504",
|
|
73376
|
+
"5XX"
|
|
73377
|
+
],
|
|
73378
|
+
retryConfig: context.retryConfig,
|
|
73379
|
+
retryCodes: context.retryCodes
|
|
73380
|
+
});
|
|
73381
|
+
if (!doResult.ok) {
|
|
73382
|
+
return [doResult, { status: "request-error", request: req }];
|
|
73383
|
+
}
|
|
73384
|
+
const response = doResult.value;
|
|
73385
|
+
const responseFields = {
|
|
73386
|
+
HttpMeta: { Response: response, Request: req }
|
|
73387
|
+
};
|
|
73388
|
+
const [result] = await match(json(200, CreateTerminalApplicationVersionResponse$inboundSchema, { hdrs: true, key: "Result" }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, TerminalApplicationError$inboundSchema, {
|
|
73389
|
+
hdrs: true
|
|
73390
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
73391
|
+
if (!result.ok) {
|
|
73392
|
+
return [result, { status: "complete", request: req, response }];
|
|
73393
|
+
}
|
|
73394
|
+
return [result, { status: "complete", request: req, response }];
|
|
73395
|
+
}
|
|
73396
|
+
var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
73397
|
+
init_encodings();
|
|
73398
|
+
init_matchers();
|
|
73399
|
+
init_primitives();
|
|
73400
|
+
init_schemas();
|
|
73401
|
+
init_security();
|
|
73402
|
+
init_url();
|
|
73403
|
+
init_errors2();
|
|
73404
|
+
init_operations();
|
|
73405
|
+
init_async();
|
|
73406
|
+
});
|
|
73407
|
+
|
|
73408
|
+
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
73409
|
+
var args122, tool$terminalApplicationsCreateVersion;
|
|
73410
|
+
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
73411
|
+
init_terminalApplicationsCreateVersion();
|
|
73412
|
+
init_operations();
|
|
73413
|
+
init_tools();
|
|
73414
|
+
args122 = {
|
|
73415
|
+
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
73416
|
+
};
|
|
73417
|
+
tool$terminalApplicationsCreateVersion = {
|
|
73418
|
+
name: "terminal-applications-create-version",
|
|
73419
|
+
description: `Register a new version of a terminal application. For Android applications, this is used to register a new version code of the application.
|
|
73420
|
+
|
|
73421
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73422
|
+
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
73423
|
+
args: args122,
|
|
73424
|
+
tool: async (client, args123, ctx) => {
|
|
73425
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73426
|
+
if (!result.ok) {
|
|
73427
|
+
return {
|
|
73428
|
+
content: [{ type: "text", text: result.error.message }],
|
|
73429
|
+
isError: true
|
|
73430
|
+
};
|
|
73431
|
+
}
|
|
73432
|
+
const value = result.value.result;
|
|
73433
|
+
return formatResult(value, apiCall);
|
|
73434
|
+
}
|
|
73435
|
+
};
|
|
73436
|
+
});
|
|
73437
|
+
|
|
73438
|
+
// src/funcs/terminalApplicationsDelete.ts
|
|
73439
|
+
function terminalApplicationsDelete(client, request, options) {
|
|
73440
|
+
return new APIPromise($do123(client, request, options));
|
|
73441
|
+
}
|
|
73442
|
+
async function $do123(client, request, options) {
|
|
73215
73443
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73216
73444
|
if (!parsed.ok) {
|
|
73217
73445
|
return [parsed, { status: "invalid" }];
|
|
@@ -73295,12 +73523,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
73295
73523
|
});
|
|
73296
73524
|
|
|
73297
73525
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
73298
|
-
var
|
|
73526
|
+
var args123, tool$terminalApplicationsDelete;
|
|
73299
73527
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
73300
73528
|
init_terminalApplicationsDelete();
|
|
73301
73529
|
init_operations();
|
|
73302
73530
|
init_tools();
|
|
73303
|
-
|
|
73531
|
+
args123 = {
|
|
73304
73532
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
73305
73533
|
};
|
|
73306
73534
|
tool$terminalApplicationsDelete = {
|
|
@@ -73309,9 +73537,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
73309
73537
|
|
|
73310
73538
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73311
73539
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
73312
|
-
args:
|
|
73313
|
-
tool: async (client,
|
|
73314
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
73540
|
+
args: args123,
|
|
73541
|
+
tool: async (client, args124, ctx) => {
|
|
73542
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73315
73543
|
if (!result.ok) {
|
|
73316
73544
|
return {
|
|
73317
73545
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73325,9 +73553,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
73325
73553
|
|
|
73326
73554
|
// src/funcs/terminalApplicationsGet.ts
|
|
73327
73555
|
function terminalApplicationsGet(client, request, options) {
|
|
73328
|
-
return new APIPromise($
|
|
73556
|
+
return new APIPromise($do124(client, request, options));
|
|
73329
73557
|
}
|
|
73330
|
-
async function $
|
|
73558
|
+
async function $do124(client, request, options) {
|
|
73331
73559
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73332
73560
|
if (!parsed.ok) {
|
|
73333
73561
|
return [parsed, { status: "invalid" }];
|
|
@@ -73402,12 +73630,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
73402
73630
|
});
|
|
73403
73631
|
|
|
73404
73632
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
73405
|
-
var
|
|
73633
|
+
var args124, tool$terminalApplicationsGet;
|
|
73406
73634
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
73407
73635
|
init_terminalApplicationsGet();
|
|
73408
73636
|
init_operations();
|
|
73409
73637
|
init_tools();
|
|
73410
|
-
|
|
73638
|
+
args124 = {
|
|
73411
73639
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
73412
73640
|
};
|
|
73413
73641
|
tool$terminalApplicationsGet = {
|
|
@@ -73416,9 +73644,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
73416
73644
|
|
|
73417
73645
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73418
73646
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
73419
|
-
args:
|
|
73420
|
-
tool: async (client,
|
|
73421
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
73647
|
+
args: args124,
|
|
73648
|
+
tool: async (client, args125, ctx) => {
|
|
73649
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73422
73650
|
if (!result.ok) {
|
|
73423
73651
|
return {
|
|
73424
73652
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73433,9 +73661,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
73433
73661
|
|
|
73434
73662
|
// src/funcs/terminalApplicationsList.ts
|
|
73435
73663
|
function terminalApplicationsList(client, _request, options) {
|
|
73436
|
-
return new APIPromise($
|
|
73664
|
+
return new APIPromise($do125(client, _request, options));
|
|
73437
73665
|
}
|
|
73438
|
-
async function $
|
|
73666
|
+
async function $do125(client, _request, options) {
|
|
73439
73667
|
const path = pathToFunc("/terminal-applications")();
|
|
73440
73668
|
const headers = new Headers(compactMap({
|
|
73441
73669
|
Accept: "application/json",
|
|
@@ -73499,12 +73727,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
73499
73727
|
});
|
|
73500
73728
|
|
|
73501
73729
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
73502
|
-
var
|
|
73730
|
+
var args125, tool$terminalApplicationsList;
|
|
73503
73731
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
73504
73732
|
init_terminalApplicationsList();
|
|
73505
73733
|
init_operations();
|
|
73506
73734
|
init_tools();
|
|
73507
|
-
|
|
73735
|
+
args125 = {
|
|
73508
73736
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
73509
73737
|
};
|
|
73510
73738
|
tool$terminalApplicationsList = {
|
|
@@ -73513,9 +73741,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
73513
73741
|
|
|
73514
73742
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73515
73743
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
73516
|
-
args:
|
|
73517
|
-
tool: async (client,
|
|
73518
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
73744
|
+
args: args125,
|
|
73745
|
+
tool: async (client, args126, ctx) => {
|
|
73746
|
+
const [result, apiCall] = await terminalApplicationsList(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73519
73747
|
if (!result.ok) {
|
|
73520
73748
|
return {
|
|
73521
73749
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73530,9 +73758,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
73530
73758
|
|
|
73531
73759
|
// src/funcs/transfersCreate.ts
|
|
73532
73760
|
function transfersCreate(client, request, options) {
|
|
73533
|
-
return new APIPromise($
|
|
73761
|
+
return new APIPromise($do126(client, request, options));
|
|
73534
73762
|
}
|
|
73535
|
-
async function $
|
|
73763
|
+
async function $do126(client, request, options) {
|
|
73536
73764
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73537
73765
|
if (!parsed.ok) {
|
|
73538
73766
|
return [parsed, { status: "invalid" }];
|
|
@@ -73625,12 +73853,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
73625
73853
|
});
|
|
73626
73854
|
|
|
73627
73855
|
// src/mcp-server/tools/transfersCreate.ts
|
|
73628
|
-
var
|
|
73856
|
+
var args126, tool$transfersCreate;
|
|
73629
73857
|
var init_transfersCreate2 = __esm(() => {
|
|
73630
73858
|
init_transfersCreate();
|
|
73631
73859
|
init_operations();
|
|
73632
73860
|
init_tools();
|
|
73633
|
-
|
|
73861
|
+
args126 = {
|
|
73634
73862
|
request: CreateTransferRequest$inboundSchema
|
|
73635
73863
|
};
|
|
73636
73864
|
tool$transfersCreate = {
|
|
@@ -73641,9 +73869,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
73641
73869
|
|
|
73642
73870
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73643
73871
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73644
|
-
args:
|
|
73645
|
-
tool: async (client,
|
|
73646
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
73872
|
+
args: args126,
|
|
73873
|
+
tool: async (client, args127, ctx) => {
|
|
73874
|
+
const [result, apiCall] = await transfersCreate(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73647
73875
|
if (!result.ok) {
|
|
73648
73876
|
return {
|
|
73649
73877
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73658,9 +73886,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73658
73886
|
|
|
73659
73887
|
// src/funcs/transfersCreateCancellation.ts
|
|
73660
73888
|
function transfersCreateCancellation(client, request, options) {
|
|
73661
|
-
return new APIPromise($
|
|
73889
|
+
return new APIPromise($do127(client, request, options));
|
|
73662
73890
|
}
|
|
73663
|
-
async function $
|
|
73891
|
+
async function $do127(client, request, options) {
|
|
73664
73892
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73665
73893
|
if (!parsed.ok) {
|
|
73666
73894
|
return [parsed, { status: "invalid" }];
|
|
@@ -73743,12 +73971,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
73743
73971
|
});
|
|
73744
73972
|
|
|
73745
73973
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
73746
|
-
var
|
|
73974
|
+
var args127, tool$transfersCreateCancellation;
|
|
73747
73975
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
73748
73976
|
init_transfersCreateCancellation();
|
|
73749
73977
|
init_operations();
|
|
73750
73978
|
init_tools();
|
|
73751
|
-
|
|
73979
|
+
args127 = {
|
|
73752
73980
|
request: CreateCancellationRequest$inboundSchema
|
|
73753
73981
|
};
|
|
73754
73982
|
tool$transfersCreateCancellation = {
|
|
@@ -73757,9 +73985,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
73757
73985
|
|
|
73758
73986
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
73759
73987
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73760
|
-
args:
|
|
73761
|
-
tool: async (client,
|
|
73762
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
73988
|
+
args: args127,
|
|
73989
|
+
tool: async (client, args128, ctx) => {
|
|
73990
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73763
73991
|
if (!result.ok) {
|
|
73764
73992
|
return {
|
|
73765
73993
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73774,9 +74002,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
73774
74002
|
|
|
73775
74003
|
// src/funcs/transfersCreateReversal.ts
|
|
73776
74004
|
function transfersCreateReversal(client, request, options) {
|
|
73777
|
-
return new APIPromise($
|
|
74005
|
+
return new APIPromise($do128(client, request, options));
|
|
73778
74006
|
}
|
|
73779
|
-
async function $
|
|
74007
|
+
async function $do128(client, request, options) {
|
|
73780
74008
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73781
74009
|
if (!parsed.ok) {
|
|
73782
74010
|
return [parsed, { status: "invalid" }];
|
|
@@ -73875,12 +74103,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
73875
74103
|
});
|
|
73876
74104
|
|
|
73877
74105
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
73878
|
-
var
|
|
74106
|
+
var args128, tool$transfersCreateReversal;
|
|
73879
74107
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
73880
74108
|
init_transfersCreateReversal();
|
|
73881
74109
|
init_operations();
|
|
73882
74110
|
init_tools();
|
|
73883
|
-
|
|
74111
|
+
args128 = {
|
|
73884
74112
|
request: CreateReversalRequest$inboundSchema
|
|
73885
74113
|
};
|
|
73886
74114
|
tool$transfersCreateReversal = {
|
|
@@ -73891,9 +74119,9 @@ to learn more.
|
|
|
73891
74119
|
|
|
73892
74120
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
73893
74121
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73894
|
-
args:
|
|
73895
|
-
tool: async (client,
|
|
73896
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
74122
|
+
args: args128,
|
|
74123
|
+
tool: async (client, args129, ctx) => {
|
|
74124
|
+
const [result, apiCall] = await transfersCreateReversal(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73897
74125
|
if (!result.ok) {
|
|
73898
74126
|
return {
|
|
73899
74127
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73908,9 +74136,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73908
74136
|
|
|
73909
74137
|
// src/funcs/transfersGenerateOptions.ts
|
|
73910
74138
|
function transfersGenerateOptions(client, request, options) {
|
|
73911
|
-
return new APIPromise($
|
|
74139
|
+
return new APIPromise($do129(client, request, options));
|
|
73912
74140
|
}
|
|
73913
|
-
async function $
|
|
74141
|
+
async function $do129(client, request, options) {
|
|
73914
74142
|
const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73915
74143
|
if (!parsed.ok) {
|
|
73916
74144
|
return [parsed, { status: "invalid" }];
|
|
@@ -73994,12 +74222,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
73994
74222
|
});
|
|
73995
74223
|
|
|
73996
74224
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
73997
|
-
var
|
|
74225
|
+
var args129, tool$transfersGenerateOptions;
|
|
73998
74226
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
73999
74227
|
init_transfersGenerateOptions();
|
|
74000
74228
|
init_operations();
|
|
74001
74229
|
init_tools();
|
|
74002
|
-
|
|
74230
|
+
args129 = {
|
|
74003
74231
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
74004
74232
|
};
|
|
74005
74233
|
tool$transfersGenerateOptions = {
|
|
@@ -74013,9 +74241,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
74013
74241
|
|
|
74014
74242
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74015
74243
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74016
|
-
args:
|
|
74017
|
-
tool: async (client,
|
|
74018
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
74244
|
+
args: args129,
|
|
74245
|
+
tool: async (client, args130, ctx) => {
|
|
74246
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74019
74247
|
if (!result.ok) {
|
|
74020
74248
|
return {
|
|
74021
74249
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74030,9 +74258,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74030
74258
|
|
|
74031
74259
|
// src/funcs/transfersGet.ts
|
|
74032
74260
|
function transfersGet(client, request, options) {
|
|
74033
|
-
return new APIPromise($
|
|
74261
|
+
return new APIPromise($do130(client, request, options));
|
|
74034
74262
|
}
|
|
74035
|
-
async function $
|
|
74263
|
+
async function $do130(client, request, options) {
|
|
74036
74264
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74037
74265
|
if (!parsed.ok) {
|
|
74038
74266
|
return [parsed, { status: "invalid" }];
|
|
@@ -74114,12 +74342,12 @@ var init_transfersGet = __esm(() => {
|
|
|
74114
74342
|
});
|
|
74115
74343
|
|
|
74116
74344
|
// src/mcp-server/tools/transfersGet.ts
|
|
74117
|
-
var
|
|
74345
|
+
var args130, tool$transfersGet;
|
|
74118
74346
|
var init_transfersGet2 = __esm(() => {
|
|
74119
74347
|
init_transfersGet();
|
|
74120
74348
|
init_operations();
|
|
74121
74349
|
init_tools();
|
|
74122
|
-
|
|
74350
|
+
args130 = {
|
|
74123
74351
|
request: GetTransferRequest$inboundSchema
|
|
74124
74352
|
};
|
|
74125
74353
|
tool$transfersGet = {
|
|
@@ -74131,9 +74359,9 @@ to learn more.
|
|
|
74131
74359
|
|
|
74132
74360
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74133
74361
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74134
|
-
args:
|
|
74135
|
-
tool: async (client,
|
|
74136
|
-
const [result, apiCall] = await transfersGet(client,
|
|
74362
|
+
args: args130,
|
|
74363
|
+
tool: async (client, args131, ctx) => {
|
|
74364
|
+
const [result, apiCall] = await transfersGet(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74137
74365
|
if (!result.ok) {
|
|
74138
74366
|
return {
|
|
74139
74367
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74148,9 +74376,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74148
74376
|
|
|
74149
74377
|
// src/funcs/transfersGetCancellation.ts
|
|
74150
74378
|
function transfersGetCancellation(client, request, options) {
|
|
74151
|
-
return new APIPromise($
|
|
74379
|
+
return new APIPromise($do131(client, request, options));
|
|
74152
74380
|
}
|
|
74153
|
-
async function $
|
|
74381
|
+
async function $do131(client, request, options) {
|
|
74154
74382
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74155
74383
|
if (!parsed.ok) {
|
|
74156
74384
|
return [parsed, { status: "invalid" }];
|
|
@@ -74236,12 +74464,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
74236
74464
|
});
|
|
74237
74465
|
|
|
74238
74466
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
74239
|
-
var
|
|
74467
|
+
var args131, tool$transfersGetCancellation;
|
|
74240
74468
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
74241
74469
|
init_transfersGetCancellation();
|
|
74242
74470
|
init_operations();
|
|
74243
74471
|
init_tools();
|
|
74244
|
-
|
|
74472
|
+
args131 = {
|
|
74245
74473
|
request: GetCancellationRequest$inboundSchema
|
|
74246
74474
|
};
|
|
74247
74475
|
tool$transfersGetCancellation = {
|
|
@@ -74250,9 +74478,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
74250
74478
|
|
|
74251
74479
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
74252
74480
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74253
|
-
args:
|
|
74254
|
-
tool: async (client,
|
|
74255
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
74481
|
+
args: args131,
|
|
74482
|
+
tool: async (client, args132, ctx) => {
|
|
74483
|
+
const [result, apiCall] = await transfersGetCancellation(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74256
74484
|
if (!result.ok) {
|
|
74257
74485
|
return {
|
|
74258
74486
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74267,9 +74495,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
74267
74495
|
|
|
74268
74496
|
// src/funcs/transfersGetRefund.ts
|
|
74269
74497
|
function transfersGetRefund(client, request, options) {
|
|
74270
|
-
return new APIPromise($
|
|
74498
|
+
return new APIPromise($do132(client, request, options));
|
|
74271
74499
|
}
|
|
74272
|
-
async function $
|
|
74500
|
+
async function $do132(client, request, options) {
|
|
74273
74501
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74274
74502
|
if (!parsed.ok) {
|
|
74275
74503
|
return [parsed, { status: "invalid" }];
|
|
@@ -74355,12 +74583,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
74355
74583
|
});
|
|
74356
74584
|
|
|
74357
74585
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
74358
|
-
var
|
|
74586
|
+
var args132, tool$transfersGetRefund;
|
|
74359
74587
|
var init_transfersGetRefund2 = __esm(() => {
|
|
74360
74588
|
init_transfersGetRefund();
|
|
74361
74589
|
init_operations();
|
|
74362
74590
|
init_tools();
|
|
74363
|
-
|
|
74591
|
+
args132 = {
|
|
74364
74592
|
request: GetRefundRequest$inboundSchema
|
|
74365
74593
|
};
|
|
74366
74594
|
tool$transfersGetRefund = {
|
|
@@ -74369,9 +74597,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
74369
74597
|
|
|
74370
74598
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74371
74599
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74372
|
-
args:
|
|
74373
|
-
tool: async (client,
|
|
74374
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
74600
|
+
args: args132,
|
|
74601
|
+
tool: async (client, args133, ctx) => {
|
|
74602
|
+
const [result, apiCall] = await transfersGetRefund(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74375
74603
|
if (!result.ok) {
|
|
74376
74604
|
return {
|
|
74377
74605
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74386,9 +74614,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74386
74614
|
|
|
74387
74615
|
// src/funcs/transfersInitiateRefund.ts
|
|
74388
74616
|
function transfersInitiateRefund(client, request, options) {
|
|
74389
|
-
return new APIPromise($
|
|
74617
|
+
return new APIPromise($do133(client, request, options));
|
|
74390
74618
|
}
|
|
74391
|
-
async function $
|
|
74619
|
+
async function $do133(client, request, options) {
|
|
74392
74620
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74393
74621
|
if (!parsed.ok) {
|
|
74394
74622
|
return [parsed, { status: "invalid" }];
|
|
@@ -74480,12 +74708,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
74480
74708
|
});
|
|
74481
74709
|
|
|
74482
74710
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
74483
|
-
var
|
|
74711
|
+
var args133, tool$transfersInitiateRefund;
|
|
74484
74712
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
74485
74713
|
init_transfersInitiateRefund();
|
|
74486
74714
|
init_operations();
|
|
74487
74715
|
init_tools();
|
|
74488
|
-
|
|
74716
|
+
args133 = {
|
|
74489
74717
|
request: InitiateRefundRequest$inboundSchema
|
|
74490
74718
|
};
|
|
74491
74719
|
tool$transfersInitiateRefund = {
|
|
@@ -74497,9 +74725,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
74497
74725
|
|
|
74498
74726
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74499
74727
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74500
|
-
args:
|
|
74501
|
-
tool: async (client,
|
|
74502
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
74728
|
+
args: args133,
|
|
74729
|
+
tool: async (client, args134, ctx) => {
|
|
74730
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74503
74731
|
if (!result.ok) {
|
|
74504
74732
|
return {
|
|
74505
74733
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74514,9 +74742,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74514
74742
|
|
|
74515
74743
|
// src/funcs/transfersList.ts
|
|
74516
74744
|
function transfersList(client, request, options) {
|
|
74517
|
-
return new APIPromise($
|
|
74745
|
+
return new APIPromise($do134(client, request, options));
|
|
74518
74746
|
}
|
|
74519
|
-
async function $
|
|
74747
|
+
async function $do134(client, request, options) {
|
|
74520
74748
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74521
74749
|
if (!parsed.ok) {
|
|
74522
74750
|
return [parsed, { status: "invalid" }];
|
|
@@ -74609,12 +74837,12 @@ var init_transfersList = __esm(() => {
|
|
|
74609
74837
|
});
|
|
74610
74838
|
|
|
74611
74839
|
// src/mcp-server/tools/transfersList.ts
|
|
74612
|
-
var
|
|
74840
|
+
var args134, tool$transfersList;
|
|
74613
74841
|
var init_transfersList2 = __esm(() => {
|
|
74614
74842
|
init_transfersList();
|
|
74615
74843
|
init_operations();
|
|
74616
74844
|
init_tools();
|
|
74617
|
-
|
|
74845
|
+
args134 = {
|
|
74618
74846
|
request: ListTransfersRequest$inboundSchema
|
|
74619
74847
|
};
|
|
74620
74848
|
tool$transfersList = {
|
|
@@ -74630,9 +74858,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
74630
74858
|
|
|
74631
74859
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74632
74860
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74633
|
-
args:
|
|
74634
|
-
tool: async (client,
|
|
74635
|
-
const [result, apiCall] = await transfersList(client,
|
|
74861
|
+
args: args134,
|
|
74862
|
+
tool: async (client, args135, ctx) => {
|
|
74863
|
+
const [result, apiCall] = await transfersList(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74636
74864
|
if (!result.ok) {
|
|
74637
74865
|
return {
|
|
74638
74866
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74647,9 +74875,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74647
74875
|
|
|
74648
74876
|
// src/funcs/transfersListRefunds.ts
|
|
74649
74877
|
function transfersListRefunds(client, request, options) {
|
|
74650
|
-
return new APIPromise($
|
|
74878
|
+
return new APIPromise($do135(client, request, options));
|
|
74651
74879
|
}
|
|
74652
|
-
async function $
|
|
74880
|
+
async function $do135(client, request, options) {
|
|
74653
74881
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74654
74882
|
if (!parsed.ok) {
|
|
74655
74883
|
return [parsed, { status: "invalid" }];
|
|
@@ -74731,12 +74959,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
74731
74959
|
});
|
|
74732
74960
|
|
|
74733
74961
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
74734
|
-
var
|
|
74962
|
+
var args135, tool$transfersListRefunds;
|
|
74735
74963
|
var init_transfersListRefunds2 = __esm(() => {
|
|
74736
74964
|
init_transfersListRefunds();
|
|
74737
74965
|
init_operations();
|
|
74738
74966
|
init_tools();
|
|
74739
|
-
|
|
74967
|
+
args135 = {
|
|
74740
74968
|
request: ListRefundsRequest$inboundSchema
|
|
74741
74969
|
};
|
|
74742
74970
|
tool$transfersListRefunds = {
|
|
@@ -74745,9 +74973,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
74745
74973
|
|
|
74746
74974
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74747
74975
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74748
|
-
args:
|
|
74749
|
-
tool: async (client,
|
|
74750
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
74976
|
+
args: args135,
|
|
74977
|
+
tool: async (client, args136, ctx) => {
|
|
74978
|
+
const [result, apiCall] = await transfersListRefunds(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74751
74979
|
if (!result.ok) {
|
|
74752
74980
|
return {
|
|
74753
74981
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74762,9 +74990,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74762
74990
|
|
|
74763
74991
|
// src/funcs/transfersUpdate.ts
|
|
74764
74992
|
function transfersUpdate(client, request, options) {
|
|
74765
|
-
return new APIPromise($
|
|
74993
|
+
return new APIPromise($do136(client, request, options));
|
|
74766
74994
|
}
|
|
74767
|
-
async function $
|
|
74995
|
+
async function $do136(client, request, options) {
|
|
74768
74996
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74769
74997
|
if (!parsed.ok) {
|
|
74770
74998
|
return [parsed, { status: "invalid" }];
|
|
@@ -74847,12 +75075,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
74847
75075
|
});
|
|
74848
75076
|
|
|
74849
75077
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
74850
|
-
var
|
|
75078
|
+
var args136, tool$transfersUpdate;
|
|
74851
75079
|
var init_transfersUpdate2 = __esm(() => {
|
|
74852
75080
|
init_transfersUpdate();
|
|
74853
75081
|
init_operations();
|
|
74854
75082
|
init_tools();
|
|
74855
|
-
|
|
75083
|
+
args136 = {
|
|
74856
75084
|
request: UpdateTransferRequest$inboundSchema
|
|
74857
75085
|
};
|
|
74858
75086
|
tool$transfersUpdate = {
|
|
@@ -74863,9 +75091,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
74863
75091
|
|
|
74864
75092
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74865
75093
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74866
|
-
args:
|
|
74867
|
-
tool: async (client,
|
|
74868
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
75094
|
+
args: args136,
|
|
75095
|
+
tool: async (client, args137, ctx) => {
|
|
75096
|
+
const [result, apiCall] = await transfersUpdate(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74869
75097
|
if (!result.ok) {
|
|
74870
75098
|
return {
|
|
74871
75099
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74880,9 +75108,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74880
75108
|
|
|
74881
75109
|
// src/funcs/underwritingGet.ts
|
|
74882
75110
|
function underwritingGet(client, request, options) {
|
|
74883
|
-
return new APIPromise($
|
|
75111
|
+
return new APIPromise($do137(client, request, options));
|
|
74884
75112
|
}
|
|
74885
|
-
async function $
|
|
75113
|
+
async function $do137(client, request, options) {
|
|
74886
75114
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74887
75115
|
if (!parsed.ok) {
|
|
74888
75116
|
return [parsed, { status: "invalid" }];
|
|
@@ -74960,12 +75188,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
74960
75188
|
});
|
|
74961
75189
|
|
|
74962
75190
|
// src/mcp-server/tools/underwritingGet.ts
|
|
74963
|
-
var
|
|
75191
|
+
var args137, tool$underwritingGet;
|
|
74964
75192
|
var init_underwritingGet2 = __esm(() => {
|
|
74965
75193
|
init_underwritingGet();
|
|
74966
75194
|
init_operations();
|
|
74967
75195
|
init_tools();
|
|
74968
|
-
|
|
75196
|
+
args137 = {
|
|
74969
75197
|
request: GetUnderwritingRequest$inboundSchema
|
|
74970
75198
|
};
|
|
74971
75199
|
tool$underwritingGet = {
|
|
@@ -74976,9 +75204,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
74976
75204
|
|
|
74977
75205
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74978
75206
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
74979
|
-
args:
|
|
74980
|
-
tool: async (client,
|
|
74981
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
75207
|
+
args: args137,
|
|
75208
|
+
tool: async (client, args138, ctx) => {
|
|
75209
|
+
const [result, apiCall] = await underwritingGet(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74982
75210
|
if (!result.ok) {
|
|
74983
75211
|
return {
|
|
74984
75212
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74993,9 +75221,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
74993
75221
|
|
|
74994
75222
|
// src/funcs/underwritingSave.ts
|
|
74995
75223
|
function underwritingSave(client, request, options) {
|
|
74996
|
-
return new APIPromise($
|
|
75224
|
+
return new APIPromise($do138(client, request, options));
|
|
74997
75225
|
}
|
|
74998
|
-
async function $
|
|
75226
|
+
async function $do138(client, request, options) {
|
|
74999
75227
|
const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75000
75228
|
if (!parsed.ok) {
|
|
75001
75229
|
return [parsed, { status: "invalid" }];
|
|
@@ -75091,12 +75319,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
75091
75319
|
});
|
|
75092
75320
|
|
|
75093
75321
|
// src/mcp-server/tools/underwritingSave.ts
|
|
75094
|
-
var
|
|
75322
|
+
var args138, tool$underwritingSave;
|
|
75095
75323
|
var init_underwritingSave2 = __esm(() => {
|
|
75096
75324
|
init_underwritingSave();
|
|
75097
75325
|
init_operations();
|
|
75098
75326
|
init_tools();
|
|
75099
|
-
|
|
75327
|
+
args138 = {
|
|
75100
75328
|
request: SaveUnderwritingRequest$inboundSchema
|
|
75101
75329
|
};
|
|
75102
75330
|
tool$underwritingSave = {
|
|
@@ -75107,9 +75335,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
75107
75335
|
|
|
75108
75336
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75109
75337
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
75110
|
-
args:
|
|
75111
|
-
tool: async (client,
|
|
75112
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
75338
|
+
args: args138,
|
|
75339
|
+
tool: async (client, args139, ctx) => {
|
|
75340
|
+
const [result, apiCall] = await underwritingSave(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75113
75341
|
if (!result.ok) {
|
|
75114
75342
|
return {
|
|
75115
75343
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75124,9 +75352,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
75124
75352
|
|
|
75125
75353
|
// src/funcs/underwritingUpsert.ts
|
|
75126
75354
|
function underwritingUpsert(client, request, options) {
|
|
75127
|
-
return new APIPromise($
|
|
75355
|
+
return new APIPromise($do139(client, request, options));
|
|
75128
75356
|
}
|
|
75129
|
-
async function $
|
|
75357
|
+
async function $do139(client, request, options) {
|
|
75130
75358
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75131
75359
|
if (!parsed.ok) {
|
|
75132
75360
|
return [parsed, { status: "invalid" }];
|
|
@@ -75222,12 +75450,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
75222
75450
|
});
|
|
75223
75451
|
|
|
75224
75452
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
75225
|
-
var
|
|
75453
|
+
var args139, tool$underwritingUpsert;
|
|
75226
75454
|
var init_underwritingUpsert2 = __esm(() => {
|
|
75227
75455
|
init_underwritingUpsert();
|
|
75228
75456
|
init_operations();
|
|
75229
75457
|
init_tools();
|
|
75230
|
-
|
|
75458
|
+
args139 = {
|
|
75231
75459
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
75232
75460
|
};
|
|
75233
75461
|
tool$underwritingUpsert = {
|
|
@@ -75238,9 +75466,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
75238
75466
|
|
|
75239
75467
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75240
75468
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
75241
|
-
args:
|
|
75242
|
-
tool: async (client,
|
|
75243
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
75469
|
+
args: args139,
|
|
75470
|
+
tool: async (client, args140, ctx) => {
|
|
75471
|
+
const [result, apiCall] = await underwritingUpsert(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75244
75472
|
if (!result.ok) {
|
|
75245
75473
|
return {
|
|
75246
75474
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75255,9 +75483,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
75255
75483
|
|
|
75256
75484
|
// src/funcs/walletsGet.ts
|
|
75257
75485
|
function walletsGet(client, request, options) {
|
|
75258
|
-
return new APIPromise($
|
|
75486
|
+
return new APIPromise($do140(client, request, options));
|
|
75259
75487
|
}
|
|
75260
|
-
async function $
|
|
75488
|
+
async function $do140(client, request, options) {
|
|
75261
75489
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75262
75490
|
if (!parsed.ok) {
|
|
75263
75491
|
return [parsed, { status: "invalid" }];
|
|
@@ -75339,12 +75567,12 @@ var init_walletsGet = __esm(() => {
|
|
|
75339
75567
|
});
|
|
75340
75568
|
|
|
75341
75569
|
// src/mcp-server/tools/walletsGet.ts
|
|
75342
|
-
var
|
|
75570
|
+
var args140, tool$walletsGet;
|
|
75343
75571
|
var init_walletsGet2 = __esm(() => {
|
|
75344
75572
|
init_walletsGet();
|
|
75345
75573
|
init_operations();
|
|
75346
75574
|
init_tools();
|
|
75347
|
-
|
|
75575
|
+
args140 = {
|
|
75348
75576
|
request: GetWalletRequest$inboundSchema
|
|
75349
75577
|
};
|
|
75350
75578
|
tool$walletsGet = {
|
|
@@ -75355,9 +75583,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
75355
75583
|
|
|
75356
75584
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75357
75585
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
75358
|
-
args:
|
|
75359
|
-
tool: async (client,
|
|
75360
|
-
const [result, apiCall] = await walletsGet(client,
|
|
75586
|
+
args: args140,
|
|
75587
|
+
tool: async (client, args141, ctx) => {
|
|
75588
|
+
const [result, apiCall] = await walletsGet(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75361
75589
|
if (!result.ok) {
|
|
75362
75590
|
return {
|
|
75363
75591
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75372,9 +75600,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
75372
75600
|
|
|
75373
75601
|
// src/funcs/walletsList.ts
|
|
75374
75602
|
function walletsList(client, request, options) {
|
|
75375
|
-
return new APIPromise($
|
|
75603
|
+
return new APIPromise($do141(client, request, options));
|
|
75376
75604
|
}
|
|
75377
|
-
async function $
|
|
75605
|
+
async function $do141(client, request, options) {
|
|
75378
75606
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75379
75607
|
if (!parsed.ok) {
|
|
75380
75608
|
return [parsed, { status: "invalid" }];
|
|
@@ -75452,12 +75680,12 @@ var init_walletsList = __esm(() => {
|
|
|
75452
75680
|
});
|
|
75453
75681
|
|
|
75454
75682
|
// src/mcp-server/tools/walletsList.ts
|
|
75455
|
-
var
|
|
75683
|
+
var args141, tool$walletsList;
|
|
75456
75684
|
var init_walletsList2 = __esm(() => {
|
|
75457
75685
|
init_walletsList();
|
|
75458
75686
|
init_operations();
|
|
75459
75687
|
init_tools();
|
|
75460
|
-
|
|
75688
|
+
args141 = {
|
|
75461
75689
|
request: ListWalletsRequest$inboundSchema
|
|
75462
75690
|
};
|
|
75463
75691
|
tool$walletsList = {
|
|
@@ -75468,9 +75696,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
75468
75696
|
|
|
75469
75697
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75470
75698
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
75471
|
-
args:
|
|
75472
|
-
tool: async (client,
|
|
75473
|
-
const [result, apiCall] = await walletsList(client,
|
|
75699
|
+
args: args141,
|
|
75700
|
+
tool: async (client, args142, ctx) => {
|
|
75701
|
+
const [result, apiCall] = await walletsList(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75474
75702
|
if (!result.ok) {
|
|
75475
75703
|
return {
|
|
75476
75704
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75485,9 +75713,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
75485
75713
|
|
|
75486
75714
|
// src/funcs/walletTransactionsGet.ts
|
|
75487
75715
|
function walletTransactionsGet(client, request, options) {
|
|
75488
|
-
return new APIPromise($
|
|
75716
|
+
return new APIPromise($do142(client, request, options));
|
|
75489
75717
|
}
|
|
75490
|
-
async function $
|
|
75718
|
+
async function $do142(client, request, options) {
|
|
75491
75719
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75492
75720
|
if (!parsed.ok) {
|
|
75493
75721
|
return [parsed, { status: "invalid" }];
|
|
@@ -75573,12 +75801,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
75573
75801
|
});
|
|
75574
75802
|
|
|
75575
75803
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
75576
|
-
var
|
|
75804
|
+
var args142, tool$walletTransactionsGet;
|
|
75577
75805
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
75578
75806
|
init_walletTransactionsGet();
|
|
75579
75807
|
init_operations();
|
|
75580
75808
|
init_tools();
|
|
75581
|
-
|
|
75809
|
+
args142 = {
|
|
75582
75810
|
request: GetWalletTransactionRequest$inboundSchema
|
|
75583
75811
|
};
|
|
75584
75812
|
tool$walletTransactionsGet = {
|
|
@@ -75589,9 +75817,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
75589
75817
|
|
|
75590
75818
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75591
75819
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
75592
|
-
args:
|
|
75593
|
-
tool: async (client,
|
|
75594
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
75820
|
+
args: args142,
|
|
75821
|
+
tool: async (client, args143, ctx) => {
|
|
75822
|
+
const [result, apiCall] = await walletTransactionsGet(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75595
75823
|
if (!result.ok) {
|
|
75596
75824
|
return {
|
|
75597
75825
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75606,9 +75834,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
75606
75834
|
|
|
75607
75835
|
// src/funcs/walletTransactionsList.ts
|
|
75608
75836
|
function walletTransactionsList(client, request, options) {
|
|
75609
|
-
return new APIPromise($
|
|
75837
|
+
return new APIPromise($do143(client, request, options));
|
|
75610
75838
|
}
|
|
75611
|
-
async function $
|
|
75839
|
+
async function $do143(client, request, options) {
|
|
75612
75840
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75613
75841
|
if (!parsed.ok) {
|
|
75614
75842
|
return [parsed, { status: "invalid" }];
|
|
@@ -75705,12 +75933,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
75705
75933
|
});
|
|
75706
75934
|
|
|
75707
75935
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
75708
|
-
var
|
|
75936
|
+
var args143, tool$walletTransactionsList;
|
|
75709
75937
|
var init_walletTransactionsList2 = __esm(() => {
|
|
75710
75938
|
init_walletTransactionsList();
|
|
75711
75939
|
init_operations();
|
|
75712
75940
|
init_tools();
|
|
75713
|
-
|
|
75941
|
+
args143 = {
|
|
75714
75942
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
75715
75943
|
};
|
|
75716
75944
|
tool$walletTransactionsList = {
|
|
@@ -75721,9 +75949,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
75721
75949
|
|
|
75722
75950
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75723
75951
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
75724
|
-
args:
|
|
75725
|
-
tool: async (client,
|
|
75726
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
75952
|
+
args: args143,
|
|
75953
|
+
tool: async (client, args144, ctx) => {
|
|
75954
|
+
const [result, apiCall] = await walletTransactionsList(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75727
75955
|
if (!result.ok) {
|
|
75728
75956
|
return {
|
|
75729
75957
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75740,7 +75968,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
75740
75968
|
function createMCPServer(deps) {
|
|
75741
75969
|
const server = new McpServer({
|
|
75742
75970
|
name: "Moov",
|
|
75743
|
-
version: "0.14.
|
|
75971
|
+
version: "0.14.9"
|
|
75744
75972
|
});
|
|
75745
75973
|
const client = new MoovCore({
|
|
75746
75974
|
security: deps.security,
|
|
@@ -75897,6 +76125,7 @@ function createMCPServer(deps) {
|
|
|
75897
76125
|
tool(tool$terminalApplicationsList);
|
|
75898
76126
|
tool(tool$terminalApplicationsGet);
|
|
75899
76127
|
tool(tool$terminalApplicationsDelete);
|
|
76128
|
+
tool(tool$terminalApplicationsCreateVersion);
|
|
75900
76129
|
return server;
|
|
75901
76130
|
}
|
|
75902
76131
|
var init_server2 = __esm(() => {
|
|
@@ -76025,6 +76254,7 @@ var init_server2 = __esm(() => {
|
|
|
76025
76254
|
init_sweepsListConfigs2();
|
|
76026
76255
|
init_sweepsUpdateConfig2();
|
|
76027
76256
|
init_terminalApplicationsCreate2();
|
|
76257
|
+
init_terminalApplicationsCreateVersion2();
|
|
76028
76258
|
init_terminalApplicationsDelete2();
|
|
76029
76259
|
init_terminalApplicationsGet2();
|
|
76030
76260
|
init_terminalApplicationsList2();
|
|
@@ -77248,7 +77478,7 @@ var routes = rn({
|
|
|
77248
77478
|
var app = Ve(routes, {
|
|
77249
77479
|
name: "mcp",
|
|
77250
77480
|
versionInfo: {
|
|
77251
|
-
currentVersion: "0.14.
|
|
77481
|
+
currentVersion: "0.14.9"
|
|
77252
77482
|
}
|
|
77253
77483
|
});
|
|
77254
77484
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -77256,5 +77486,5 @@ export {
|
|
|
77256
77486
|
app
|
|
77257
77487
|
};
|
|
77258
77488
|
|
|
77259
|
-
//# debugId=
|
|
77489
|
+
//# debugId=90E58B6E4F31485764756E2164756E21
|
|
77260
77490
|
//# sourceMappingURL=mcp-server.js.map
|