@moovio/sdk 0.14.8 → 0.14.10
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 +401 -163
- package/bin/mcp-server.js.map +19 -14
- 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/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +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/receiptrequest.d.ts +30 -5
- package/models/components/receiptrequest.d.ts.map +1 -1
- package/models/components/receiptrequest.js +24 -4
- package/models/components/receiptrequest.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/receiptrequest.ts +35 -11
- 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.10",
|
|
34179
|
+
genVersion: "2.657.1",
|
|
34180
|
+
userAgent: "speakeasy-sdk/typescript 0.14.10 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(() => {
|
|
@@ -44339,12 +44357,20 @@ var init_receiptkind = __esm(() => {
|
|
|
44339
44357
|
});
|
|
44340
44358
|
|
|
44341
44359
|
// src/models/components/receiptrequest.ts
|
|
44342
|
-
var ReceiptRequest$inboundSchema, ReceiptRequest$outboundSchema, ReceiptRequest$;
|
|
44360
|
+
var Kind, Kind$inboundSchema, Kind$outboundSchema, Kind$, ReceiptRequest$inboundSchema, ReceiptRequest$outboundSchema, ReceiptRequest$;
|
|
44343
44361
|
var init_receiptrequest = __esm(() => {
|
|
44344
44362
|
init_esm();
|
|
44345
|
-
|
|
44363
|
+
Kind = {
|
|
44364
|
+
SaleCustomerV1: "sale.customer.v1"
|
|
44365
|
+
};
|
|
44366
|
+
Kind$inboundSchema = nativeEnumType(Kind);
|
|
44367
|
+
Kind$outboundSchema = Kind$inboundSchema;
|
|
44368
|
+
((Kind$) => {
|
|
44369
|
+
Kind$.inboundSchema = Kind$inboundSchema;
|
|
44370
|
+
Kind$.outboundSchema = Kind$outboundSchema;
|
|
44371
|
+
})(Kind$ ||= {});
|
|
44346
44372
|
ReceiptRequest$inboundSchema = objectType({
|
|
44347
|
-
kind:
|
|
44373
|
+
kind: Kind$inboundSchema,
|
|
44348
44374
|
email: stringType().optional(),
|
|
44349
44375
|
emailAccountID: stringType().optional(),
|
|
44350
44376
|
forTransferID: stringType().optional(),
|
|
@@ -44352,7 +44378,7 @@ var init_receiptrequest = __esm(() => {
|
|
|
44352
44378
|
forOccurrenceID: stringType().optional()
|
|
44353
44379
|
});
|
|
44354
44380
|
ReceiptRequest$outboundSchema = objectType({
|
|
44355
|
-
kind:
|
|
44381
|
+
kind: Kind$outboundSchema,
|
|
44356
44382
|
email: stringType().optional(),
|
|
44357
44383
|
emailAccountID: stringType().optional(),
|
|
44358
44384
|
forTransferID: stringType().optional(),
|
|
@@ -45093,6 +45119,22 @@ var init_terminalapplication = __esm(() => {
|
|
|
45093
45119
|
})(TerminalApplication$ ||= {});
|
|
45094
45120
|
});
|
|
45095
45121
|
|
|
45122
|
+
// src/models/components/terminalapplicationversion.ts
|
|
45123
|
+
var TerminalApplicationVersion$inboundSchema, TerminalApplicationVersion$outboundSchema, TerminalApplicationVersion$;
|
|
45124
|
+
var init_terminalapplicationversion = __esm(() => {
|
|
45125
|
+
init_esm();
|
|
45126
|
+
TerminalApplicationVersion$inboundSchema = objectType({
|
|
45127
|
+
version: stringType()
|
|
45128
|
+
});
|
|
45129
|
+
TerminalApplicationVersion$outboundSchema = objectType({
|
|
45130
|
+
version: stringType()
|
|
45131
|
+
});
|
|
45132
|
+
((TerminalApplicationVersion$) => {
|
|
45133
|
+
TerminalApplicationVersion$.inboundSchema = TerminalApplicationVersion$inboundSchema;
|
|
45134
|
+
TerminalApplicationVersion$.outboundSchema = TerminalApplicationVersion$outboundSchema;
|
|
45135
|
+
})(TerminalApplicationVersion$ ||= {});
|
|
45136
|
+
});
|
|
45137
|
+
|
|
45096
45138
|
// src/models/components/terminalconfiguration.ts
|
|
45097
45139
|
var TerminalConfiguration$inboundSchema, TerminalConfiguration$outboundSchema, TerminalConfiguration$;
|
|
45098
45140
|
var init_terminalconfiguration = __esm(() => {
|
|
@@ -46902,6 +46944,7 @@ var init_components = __esm(() => {
|
|
|
46902
46944
|
init_accountcapability();
|
|
46903
46945
|
init_accountcountries();
|
|
46904
46946
|
init_accountnameverification();
|
|
46947
|
+
init_accountterminalapplication();
|
|
46905
46948
|
init_accounttype();
|
|
46906
46949
|
init_accountverificationstatus();
|
|
46907
46950
|
init_achcreditsamedaypaymentmethod();
|
|
@@ -47261,6 +47304,7 @@ var init_components = __esm(() => {
|
|
|
47261
47304
|
init_terminalapplication();
|
|
47262
47305
|
init_terminalapplicationplatform();
|
|
47263
47306
|
init_terminalapplicationstatus();
|
|
47307
|
+
init_terminalapplicationversion();
|
|
47264
47308
|
init_terminalcard();
|
|
47265
47309
|
init_terminalconfiguration();
|
|
47266
47310
|
init_termsofservice();
|
|
@@ -50655,6 +50699,74 @@ var init_createterminalapplication2 = __esm(() => {
|
|
|
50655
50699
|
})(CreateTerminalApplicationResponse$ ||= {});
|
|
50656
50700
|
});
|
|
50657
50701
|
|
|
50702
|
+
// src/models/operations/createterminalapplicationversion.ts
|
|
50703
|
+
var CreateTerminalApplicationVersionGlobals$inboundSchema, CreateTerminalApplicationVersionGlobals$outboundSchema, CreateTerminalApplicationVersionGlobals$, CreateTerminalApplicationVersionRequest$inboundSchema, CreateTerminalApplicationVersionRequest$outboundSchema, CreateTerminalApplicationVersionRequest$, CreateTerminalApplicationVersionResponse$inboundSchema, CreateTerminalApplicationVersionResponse$outboundSchema, CreateTerminalApplicationVersionResponse$;
|
|
50704
|
+
var init_createterminalapplicationversion = __esm(() => {
|
|
50705
|
+
init_esm();
|
|
50706
|
+
init_primitives();
|
|
50707
|
+
init_components();
|
|
50708
|
+
CreateTerminalApplicationVersionGlobals$inboundSchema = objectType({
|
|
50709
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
50710
|
+
}).transform((v2) => {
|
|
50711
|
+
return remap(v2, {
|
|
50712
|
+
"x-moov-version": "xMoovVersion"
|
|
50713
|
+
});
|
|
50714
|
+
});
|
|
50715
|
+
CreateTerminalApplicationVersionGlobals$outboundSchema = objectType({
|
|
50716
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
50717
|
+
}).transform((v2) => {
|
|
50718
|
+
return remap(v2, {
|
|
50719
|
+
xMoovVersion: "x-moov-version"
|
|
50720
|
+
});
|
|
50721
|
+
});
|
|
50722
|
+
((CreateTerminalApplicationVersionGlobals$) => {
|
|
50723
|
+
CreateTerminalApplicationVersionGlobals$.inboundSchema = CreateTerminalApplicationVersionGlobals$inboundSchema;
|
|
50724
|
+
CreateTerminalApplicationVersionGlobals$.outboundSchema = CreateTerminalApplicationVersionGlobals$outboundSchema;
|
|
50725
|
+
})(CreateTerminalApplicationVersionGlobals$ ||= {});
|
|
50726
|
+
CreateTerminalApplicationVersionRequest$inboundSchema = objectType({
|
|
50727
|
+
terminalApplicationID: stringType(),
|
|
50728
|
+
TerminalApplicationVersion: TerminalApplicationVersion$inboundSchema
|
|
50729
|
+
}).transform((v2) => {
|
|
50730
|
+
return remap(v2, {
|
|
50731
|
+
TerminalApplicationVersion: "terminalApplicationVersion"
|
|
50732
|
+
});
|
|
50733
|
+
});
|
|
50734
|
+
CreateTerminalApplicationVersionRequest$outboundSchema = objectType({
|
|
50735
|
+
terminalApplicationID: stringType(),
|
|
50736
|
+
terminalApplicationVersion: TerminalApplicationVersion$outboundSchema
|
|
50737
|
+
}).transform((v2) => {
|
|
50738
|
+
return remap(v2, {
|
|
50739
|
+
terminalApplicationVersion: "TerminalApplicationVersion"
|
|
50740
|
+
});
|
|
50741
|
+
});
|
|
50742
|
+
((CreateTerminalApplicationVersionRequest$) => {
|
|
50743
|
+
CreateTerminalApplicationVersionRequest$.inboundSchema = CreateTerminalApplicationVersionRequest$inboundSchema;
|
|
50744
|
+
CreateTerminalApplicationVersionRequest$.outboundSchema = CreateTerminalApplicationVersionRequest$outboundSchema;
|
|
50745
|
+
})(CreateTerminalApplicationVersionRequest$ ||= {});
|
|
50746
|
+
CreateTerminalApplicationVersionResponse$inboundSchema = objectType({
|
|
50747
|
+
Headers: recordType(arrayType(stringType())),
|
|
50748
|
+
Result: TerminalApplicationVersion$inboundSchema
|
|
50749
|
+
}).transform((v2) => {
|
|
50750
|
+
return remap(v2, {
|
|
50751
|
+
Headers: "headers",
|
|
50752
|
+
Result: "result"
|
|
50753
|
+
});
|
|
50754
|
+
});
|
|
50755
|
+
CreateTerminalApplicationVersionResponse$outboundSchema = objectType({
|
|
50756
|
+
headers: recordType(arrayType(stringType())),
|
|
50757
|
+
result: TerminalApplicationVersion$outboundSchema
|
|
50758
|
+
}).transform((v2) => {
|
|
50759
|
+
return remap(v2, {
|
|
50760
|
+
headers: "Headers",
|
|
50761
|
+
result: "Result"
|
|
50762
|
+
});
|
|
50763
|
+
});
|
|
50764
|
+
((CreateTerminalApplicationVersionResponse$) => {
|
|
50765
|
+
CreateTerminalApplicationVersionResponse$.inboundSchema = CreateTerminalApplicationVersionResponse$inboundSchema;
|
|
50766
|
+
CreateTerminalApplicationVersionResponse$.outboundSchema = CreateTerminalApplicationVersionResponse$outboundSchema;
|
|
50767
|
+
})(CreateTerminalApplicationVersionResponse$ ||= {});
|
|
50768
|
+
});
|
|
50769
|
+
|
|
50658
50770
|
// src/models/operations/createticket.ts
|
|
50659
50771
|
var CreateTicketGlobals$inboundSchema, CreateTicketGlobals$outboundSchema, CreateTicketGlobals$, CreateTicketRequest$inboundSchema, CreateTicketRequest$outboundSchema, CreateTicketRequest$, CreateTicketResponse$inboundSchema, CreateTicketResponse$outboundSchema, CreateTicketResponse$;
|
|
50660
50772
|
var init_createticket2 = __esm(() => {
|
|
@@ -51536,7 +51648,7 @@ var init_getaccountterminalapplication = __esm(() => {
|
|
|
51536
51648
|
})(GetAccountTerminalApplicationRequest$ ||= {});
|
|
51537
51649
|
GetAccountTerminalApplicationResponse$inboundSchema = objectType({
|
|
51538
51650
|
Headers: recordType(arrayType(stringType())),
|
|
51539
|
-
Result:
|
|
51651
|
+
Result: AccountTerminalApplication$inboundSchema
|
|
51540
51652
|
}).transform((v2) => {
|
|
51541
51653
|
return remap(v2, {
|
|
51542
51654
|
Headers: "headers",
|
|
@@ -51545,7 +51657,7 @@ var init_getaccountterminalapplication = __esm(() => {
|
|
|
51545
51657
|
});
|
|
51546
51658
|
GetAccountTerminalApplicationResponse$outboundSchema = objectType({
|
|
51547
51659
|
headers: recordType(arrayType(stringType())),
|
|
51548
|
-
result:
|
|
51660
|
+
result: AccountTerminalApplication$outboundSchema
|
|
51549
51661
|
}).transform((v2) => {
|
|
51550
51662
|
return remap(v2, {
|
|
51551
51663
|
headers: "Headers",
|
|
@@ -54162,7 +54274,7 @@ var init_linkaccountterminalapplication2 = __esm(() => {
|
|
|
54162
54274
|
})(LinkAccountTerminalApplicationRequest$ ||= {});
|
|
54163
54275
|
LinkAccountTerminalApplicationResponse$inboundSchema = objectType({
|
|
54164
54276
|
Headers: recordType(arrayType(stringType())),
|
|
54165
|
-
Result:
|
|
54277
|
+
Result: AccountTerminalApplication$inboundSchema
|
|
54166
54278
|
}).transform((v2) => {
|
|
54167
54279
|
return remap(v2, {
|
|
54168
54280
|
Headers: "headers",
|
|
@@ -54171,7 +54283,7 @@ var init_linkaccountterminalapplication2 = __esm(() => {
|
|
|
54171
54283
|
});
|
|
54172
54284
|
LinkAccountTerminalApplicationResponse$outboundSchema = objectType({
|
|
54173
54285
|
headers: recordType(arrayType(stringType())),
|
|
54174
|
-
result:
|
|
54286
|
+
result: AccountTerminalApplication$outboundSchema
|
|
54175
54287
|
}).transform((v2) => {
|
|
54176
54288
|
return remap(v2, {
|
|
54177
54289
|
headers: "Headers",
|
|
@@ -54508,7 +54620,7 @@ var init_listaccountterminalapplications = __esm(() => {
|
|
|
54508
54620
|
})(ListAccountTerminalApplicationsRequest$ ||= {});
|
|
54509
54621
|
ListAccountTerminalApplicationsResponse$inboundSchema = objectType({
|
|
54510
54622
|
Headers: recordType(arrayType(stringType())),
|
|
54511
|
-
Result: arrayType(
|
|
54623
|
+
Result: arrayType(AccountTerminalApplication$inboundSchema)
|
|
54512
54624
|
}).transform((v2) => {
|
|
54513
54625
|
return remap(v2, {
|
|
54514
54626
|
Headers: "headers",
|
|
@@ -54517,7 +54629,7 @@ var init_listaccountterminalapplications = __esm(() => {
|
|
|
54517
54629
|
});
|
|
54518
54630
|
ListAccountTerminalApplicationsResponse$outboundSchema = objectType({
|
|
54519
54631
|
headers: recordType(arrayType(stringType())),
|
|
54520
|
-
result: arrayType(
|
|
54632
|
+
result: arrayType(AccountTerminalApplication$outboundSchema)
|
|
54521
54633
|
}).transform((v2) => {
|
|
54522
54634
|
return remap(v2, {
|
|
54523
54635
|
headers: "Headers",
|
|
@@ -58476,6 +58588,7 @@ var init_operations = __esm(() => {
|
|
|
58476
58588
|
init_createschedule();
|
|
58477
58589
|
init_createsweepconfig2();
|
|
58478
58590
|
init_createterminalapplication2();
|
|
58591
|
+
init_createterminalapplicationversion();
|
|
58479
58592
|
init_createticket2();
|
|
58480
58593
|
init_createtransfer2();
|
|
58481
58594
|
init_createtransferoptions2();
|
|
@@ -73207,11 +73320,134 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
73207
73320
|
};
|
|
73208
73321
|
});
|
|
73209
73322
|
|
|
73210
|
-
// src/funcs/
|
|
73211
|
-
function
|
|
73323
|
+
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
73324
|
+
function terminalApplicationsCreateVersion(client, request, options) {
|
|
73212
73325
|
return new APIPromise($do122(client, request, options));
|
|
73213
73326
|
}
|
|
73214
73327
|
async function $do122(client, request, options) {
|
|
73328
|
+
const parsed = safeParse(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73329
|
+
if (!parsed.ok) {
|
|
73330
|
+
return [parsed, { status: "invalid" }];
|
|
73331
|
+
}
|
|
73332
|
+
const payload = parsed.value;
|
|
73333
|
+
const body = encodeJSON("body", payload.TerminalApplicationVersion, {
|
|
73334
|
+
explode: true
|
|
73335
|
+
});
|
|
73336
|
+
const pathParams = {
|
|
73337
|
+
terminalApplicationID: encodeSimple("terminalApplicationID", payload.terminalApplicationID, { explode: false, charEncoding: "percent" })
|
|
73338
|
+
};
|
|
73339
|
+
const path = pathToFunc("/terminal-applications/{terminalApplicationID}/versions")(pathParams);
|
|
73340
|
+
const headers = new Headers(compactMap({
|
|
73341
|
+
"Content-Type": "application/json",
|
|
73342
|
+
Accept: "application/json",
|
|
73343
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
73344
|
+
}));
|
|
73345
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
73346
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
73347
|
+
const context = {
|
|
73348
|
+
options: client._options,
|
|
73349
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
73350
|
+
operationID: "createTerminalApplicationVersion",
|
|
73351
|
+
oAuth2Scopes: [],
|
|
73352
|
+
resolvedSecurity: requestSecurity,
|
|
73353
|
+
securitySource: client._options.security,
|
|
73354
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
73355
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
73356
|
+
};
|
|
73357
|
+
const requestRes = client._createRequest(context, {
|
|
73358
|
+
security: requestSecurity,
|
|
73359
|
+
method: "POST",
|
|
73360
|
+
baseURL: options?.serverURL,
|
|
73361
|
+
path,
|
|
73362
|
+
headers,
|
|
73363
|
+
body,
|
|
73364
|
+
userAgent: client._options.userAgent,
|
|
73365
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
73366
|
+
}, options);
|
|
73367
|
+
if (!requestRes.ok) {
|
|
73368
|
+
return [requestRes, { status: "invalid" }];
|
|
73369
|
+
}
|
|
73370
|
+
const req = requestRes.value;
|
|
73371
|
+
const doResult = await client._do(req, {
|
|
73372
|
+
context,
|
|
73373
|
+
errorCodes: [
|
|
73374
|
+
"400",
|
|
73375
|
+
"401",
|
|
73376
|
+
"403",
|
|
73377
|
+
"404",
|
|
73378
|
+
"409",
|
|
73379
|
+
"422",
|
|
73380
|
+
"429",
|
|
73381
|
+
"4XX",
|
|
73382
|
+
"500",
|
|
73383
|
+
"504",
|
|
73384
|
+
"5XX"
|
|
73385
|
+
],
|
|
73386
|
+
retryConfig: context.retryConfig,
|
|
73387
|
+
retryCodes: context.retryCodes
|
|
73388
|
+
});
|
|
73389
|
+
if (!doResult.ok) {
|
|
73390
|
+
return [doResult, { status: "request-error", request: req }];
|
|
73391
|
+
}
|
|
73392
|
+
const response = doResult.value;
|
|
73393
|
+
const responseFields = {
|
|
73394
|
+
HttpMeta: { Response: response, Request: req }
|
|
73395
|
+
};
|
|
73396
|
+
const [result] = await match(json(200, CreateTerminalApplicationVersionResponse$inboundSchema, { hdrs: true, key: "Result" }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, TerminalApplicationError$inboundSchema, {
|
|
73397
|
+
hdrs: true
|
|
73398
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
73399
|
+
if (!result.ok) {
|
|
73400
|
+
return [result, { status: "complete", request: req, response }];
|
|
73401
|
+
}
|
|
73402
|
+
return [result, { status: "complete", request: req, response }];
|
|
73403
|
+
}
|
|
73404
|
+
var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
73405
|
+
init_encodings();
|
|
73406
|
+
init_matchers();
|
|
73407
|
+
init_primitives();
|
|
73408
|
+
init_schemas();
|
|
73409
|
+
init_security();
|
|
73410
|
+
init_url();
|
|
73411
|
+
init_errors2();
|
|
73412
|
+
init_operations();
|
|
73413
|
+
init_async();
|
|
73414
|
+
});
|
|
73415
|
+
|
|
73416
|
+
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
73417
|
+
var args122, tool$terminalApplicationsCreateVersion;
|
|
73418
|
+
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
73419
|
+
init_terminalApplicationsCreateVersion();
|
|
73420
|
+
init_operations();
|
|
73421
|
+
init_tools();
|
|
73422
|
+
args122 = {
|
|
73423
|
+
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
73424
|
+
};
|
|
73425
|
+
tool$terminalApplicationsCreateVersion = {
|
|
73426
|
+
name: "terminal-applications-create-version",
|
|
73427
|
+
description: `Register a new version of a terminal application. For Android applications, this is used to register a new version code of the application.
|
|
73428
|
+
|
|
73429
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73430
|
+
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
73431
|
+
args: args122,
|
|
73432
|
+
tool: async (client, args123, ctx) => {
|
|
73433
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73434
|
+
if (!result.ok) {
|
|
73435
|
+
return {
|
|
73436
|
+
content: [{ type: "text", text: result.error.message }],
|
|
73437
|
+
isError: true
|
|
73438
|
+
};
|
|
73439
|
+
}
|
|
73440
|
+
const value = result.value.result;
|
|
73441
|
+
return formatResult(value, apiCall);
|
|
73442
|
+
}
|
|
73443
|
+
};
|
|
73444
|
+
});
|
|
73445
|
+
|
|
73446
|
+
// src/funcs/terminalApplicationsDelete.ts
|
|
73447
|
+
function terminalApplicationsDelete(client, request, options) {
|
|
73448
|
+
return new APIPromise($do123(client, request, options));
|
|
73449
|
+
}
|
|
73450
|
+
async function $do123(client, request, options) {
|
|
73215
73451
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73216
73452
|
if (!parsed.ok) {
|
|
73217
73453
|
return [parsed, { status: "invalid" }];
|
|
@@ -73295,12 +73531,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
73295
73531
|
});
|
|
73296
73532
|
|
|
73297
73533
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
73298
|
-
var
|
|
73534
|
+
var args123, tool$terminalApplicationsDelete;
|
|
73299
73535
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
73300
73536
|
init_terminalApplicationsDelete();
|
|
73301
73537
|
init_operations();
|
|
73302
73538
|
init_tools();
|
|
73303
|
-
|
|
73539
|
+
args123 = {
|
|
73304
73540
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
73305
73541
|
};
|
|
73306
73542
|
tool$terminalApplicationsDelete = {
|
|
@@ -73309,9 +73545,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
73309
73545
|
|
|
73310
73546
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73311
73547
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
73312
|
-
args:
|
|
73313
|
-
tool: async (client,
|
|
73314
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
73548
|
+
args: args123,
|
|
73549
|
+
tool: async (client, args124, ctx) => {
|
|
73550
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73315
73551
|
if (!result.ok) {
|
|
73316
73552
|
return {
|
|
73317
73553
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73325,9 +73561,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
73325
73561
|
|
|
73326
73562
|
// src/funcs/terminalApplicationsGet.ts
|
|
73327
73563
|
function terminalApplicationsGet(client, request, options) {
|
|
73328
|
-
return new APIPromise($
|
|
73564
|
+
return new APIPromise($do124(client, request, options));
|
|
73329
73565
|
}
|
|
73330
|
-
async function $
|
|
73566
|
+
async function $do124(client, request, options) {
|
|
73331
73567
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73332
73568
|
if (!parsed.ok) {
|
|
73333
73569
|
return [parsed, { status: "invalid" }];
|
|
@@ -73402,12 +73638,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
73402
73638
|
});
|
|
73403
73639
|
|
|
73404
73640
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
73405
|
-
var
|
|
73641
|
+
var args124, tool$terminalApplicationsGet;
|
|
73406
73642
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
73407
73643
|
init_terminalApplicationsGet();
|
|
73408
73644
|
init_operations();
|
|
73409
73645
|
init_tools();
|
|
73410
|
-
|
|
73646
|
+
args124 = {
|
|
73411
73647
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
73412
73648
|
};
|
|
73413
73649
|
tool$terminalApplicationsGet = {
|
|
@@ -73416,9 +73652,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
73416
73652
|
|
|
73417
73653
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73418
73654
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
73419
|
-
args:
|
|
73420
|
-
tool: async (client,
|
|
73421
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
73655
|
+
args: args124,
|
|
73656
|
+
tool: async (client, args125, ctx) => {
|
|
73657
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73422
73658
|
if (!result.ok) {
|
|
73423
73659
|
return {
|
|
73424
73660
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73433,9 +73669,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
73433
73669
|
|
|
73434
73670
|
// src/funcs/terminalApplicationsList.ts
|
|
73435
73671
|
function terminalApplicationsList(client, _request, options) {
|
|
73436
|
-
return new APIPromise($
|
|
73672
|
+
return new APIPromise($do125(client, _request, options));
|
|
73437
73673
|
}
|
|
73438
|
-
async function $
|
|
73674
|
+
async function $do125(client, _request, options) {
|
|
73439
73675
|
const path = pathToFunc("/terminal-applications")();
|
|
73440
73676
|
const headers = new Headers(compactMap({
|
|
73441
73677
|
Accept: "application/json",
|
|
@@ -73499,12 +73735,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
73499
73735
|
});
|
|
73500
73736
|
|
|
73501
73737
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
73502
|
-
var
|
|
73738
|
+
var args125, tool$terminalApplicationsList;
|
|
73503
73739
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
73504
73740
|
init_terminalApplicationsList();
|
|
73505
73741
|
init_operations();
|
|
73506
73742
|
init_tools();
|
|
73507
|
-
|
|
73743
|
+
args125 = {
|
|
73508
73744
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
73509
73745
|
};
|
|
73510
73746
|
tool$terminalApplicationsList = {
|
|
@@ -73513,9 +73749,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
73513
73749
|
|
|
73514
73750
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73515
73751
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
73516
|
-
args:
|
|
73517
|
-
tool: async (client,
|
|
73518
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
73752
|
+
args: args125,
|
|
73753
|
+
tool: async (client, args126, ctx) => {
|
|
73754
|
+
const [result, apiCall] = await terminalApplicationsList(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73519
73755
|
if (!result.ok) {
|
|
73520
73756
|
return {
|
|
73521
73757
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73530,9 +73766,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
73530
73766
|
|
|
73531
73767
|
// src/funcs/transfersCreate.ts
|
|
73532
73768
|
function transfersCreate(client, request, options) {
|
|
73533
|
-
return new APIPromise($
|
|
73769
|
+
return new APIPromise($do126(client, request, options));
|
|
73534
73770
|
}
|
|
73535
|
-
async function $
|
|
73771
|
+
async function $do126(client, request, options) {
|
|
73536
73772
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73537
73773
|
if (!parsed.ok) {
|
|
73538
73774
|
return [parsed, { status: "invalid" }];
|
|
@@ -73625,12 +73861,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
73625
73861
|
});
|
|
73626
73862
|
|
|
73627
73863
|
// src/mcp-server/tools/transfersCreate.ts
|
|
73628
|
-
var
|
|
73864
|
+
var args126, tool$transfersCreate;
|
|
73629
73865
|
var init_transfersCreate2 = __esm(() => {
|
|
73630
73866
|
init_transfersCreate();
|
|
73631
73867
|
init_operations();
|
|
73632
73868
|
init_tools();
|
|
73633
|
-
|
|
73869
|
+
args126 = {
|
|
73634
73870
|
request: CreateTransferRequest$inboundSchema
|
|
73635
73871
|
};
|
|
73636
73872
|
tool$transfersCreate = {
|
|
@@ -73641,9 +73877,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
73641
73877
|
|
|
73642
73878
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73643
73879
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73644
|
-
args:
|
|
73645
|
-
tool: async (client,
|
|
73646
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
73880
|
+
args: args126,
|
|
73881
|
+
tool: async (client, args127, ctx) => {
|
|
73882
|
+
const [result, apiCall] = await transfersCreate(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73647
73883
|
if (!result.ok) {
|
|
73648
73884
|
return {
|
|
73649
73885
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73658,9 +73894,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73658
73894
|
|
|
73659
73895
|
// src/funcs/transfersCreateCancellation.ts
|
|
73660
73896
|
function transfersCreateCancellation(client, request, options) {
|
|
73661
|
-
return new APIPromise($
|
|
73897
|
+
return new APIPromise($do127(client, request, options));
|
|
73662
73898
|
}
|
|
73663
|
-
async function $
|
|
73899
|
+
async function $do127(client, request, options) {
|
|
73664
73900
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73665
73901
|
if (!parsed.ok) {
|
|
73666
73902
|
return [parsed, { status: "invalid" }];
|
|
@@ -73743,12 +73979,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
73743
73979
|
});
|
|
73744
73980
|
|
|
73745
73981
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
73746
|
-
var
|
|
73982
|
+
var args127, tool$transfersCreateCancellation;
|
|
73747
73983
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
73748
73984
|
init_transfersCreateCancellation();
|
|
73749
73985
|
init_operations();
|
|
73750
73986
|
init_tools();
|
|
73751
|
-
|
|
73987
|
+
args127 = {
|
|
73752
73988
|
request: CreateCancellationRequest$inboundSchema
|
|
73753
73989
|
};
|
|
73754
73990
|
tool$transfersCreateCancellation = {
|
|
@@ -73757,9 +73993,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
73757
73993
|
|
|
73758
73994
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
73759
73995
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73760
|
-
args:
|
|
73761
|
-
tool: async (client,
|
|
73762
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
73996
|
+
args: args127,
|
|
73997
|
+
tool: async (client, args128, ctx) => {
|
|
73998
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73763
73999
|
if (!result.ok) {
|
|
73764
74000
|
return {
|
|
73765
74001
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73774,9 +74010,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
73774
74010
|
|
|
73775
74011
|
// src/funcs/transfersCreateReversal.ts
|
|
73776
74012
|
function transfersCreateReversal(client, request, options) {
|
|
73777
|
-
return new APIPromise($
|
|
74013
|
+
return new APIPromise($do128(client, request, options));
|
|
73778
74014
|
}
|
|
73779
|
-
async function $
|
|
74015
|
+
async function $do128(client, request, options) {
|
|
73780
74016
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73781
74017
|
if (!parsed.ok) {
|
|
73782
74018
|
return [parsed, { status: "invalid" }];
|
|
@@ -73875,12 +74111,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
73875
74111
|
});
|
|
73876
74112
|
|
|
73877
74113
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
73878
|
-
var
|
|
74114
|
+
var args128, tool$transfersCreateReversal;
|
|
73879
74115
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
73880
74116
|
init_transfersCreateReversal();
|
|
73881
74117
|
init_operations();
|
|
73882
74118
|
init_tools();
|
|
73883
|
-
|
|
74119
|
+
args128 = {
|
|
73884
74120
|
request: CreateReversalRequest$inboundSchema
|
|
73885
74121
|
};
|
|
73886
74122
|
tool$transfersCreateReversal = {
|
|
@@ -73891,9 +74127,9 @@ to learn more.
|
|
|
73891
74127
|
|
|
73892
74128
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
73893
74129
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
73894
|
-
args:
|
|
73895
|
-
tool: async (client,
|
|
73896
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
74130
|
+
args: args128,
|
|
74131
|
+
tool: async (client, args129, ctx) => {
|
|
74132
|
+
const [result, apiCall] = await transfersCreateReversal(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73897
74133
|
if (!result.ok) {
|
|
73898
74134
|
return {
|
|
73899
74135
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73908,9 +74144,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
73908
74144
|
|
|
73909
74145
|
// src/funcs/transfersGenerateOptions.ts
|
|
73910
74146
|
function transfersGenerateOptions(client, request, options) {
|
|
73911
|
-
return new APIPromise($
|
|
74147
|
+
return new APIPromise($do129(client, request, options));
|
|
73912
74148
|
}
|
|
73913
|
-
async function $
|
|
74149
|
+
async function $do129(client, request, options) {
|
|
73914
74150
|
const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73915
74151
|
if (!parsed.ok) {
|
|
73916
74152
|
return [parsed, { status: "invalid" }];
|
|
@@ -73994,12 +74230,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
73994
74230
|
});
|
|
73995
74231
|
|
|
73996
74232
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
73997
|
-
var
|
|
74233
|
+
var args129, tool$transfersGenerateOptions;
|
|
73998
74234
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
73999
74235
|
init_transfersGenerateOptions();
|
|
74000
74236
|
init_operations();
|
|
74001
74237
|
init_tools();
|
|
74002
|
-
|
|
74238
|
+
args129 = {
|
|
74003
74239
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
74004
74240
|
};
|
|
74005
74241
|
tool$transfersGenerateOptions = {
|
|
@@ -74013,9 +74249,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
74013
74249
|
|
|
74014
74250
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74015
74251
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74016
|
-
args:
|
|
74017
|
-
tool: async (client,
|
|
74018
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
74252
|
+
args: args129,
|
|
74253
|
+
tool: async (client, args130, ctx) => {
|
|
74254
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74019
74255
|
if (!result.ok) {
|
|
74020
74256
|
return {
|
|
74021
74257
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74030,9 +74266,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74030
74266
|
|
|
74031
74267
|
// src/funcs/transfersGet.ts
|
|
74032
74268
|
function transfersGet(client, request, options) {
|
|
74033
|
-
return new APIPromise($
|
|
74269
|
+
return new APIPromise($do130(client, request, options));
|
|
74034
74270
|
}
|
|
74035
|
-
async function $
|
|
74271
|
+
async function $do130(client, request, options) {
|
|
74036
74272
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74037
74273
|
if (!parsed.ok) {
|
|
74038
74274
|
return [parsed, { status: "invalid" }];
|
|
@@ -74114,12 +74350,12 @@ var init_transfersGet = __esm(() => {
|
|
|
74114
74350
|
});
|
|
74115
74351
|
|
|
74116
74352
|
// src/mcp-server/tools/transfersGet.ts
|
|
74117
|
-
var
|
|
74353
|
+
var args130, tool$transfersGet;
|
|
74118
74354
|
var init_transfersGet2 = __esm(() => {
|
|
74119
74355
|
init_transfersGet();
|
|
74120
74356
|
init_operations();
|
|
74121
74357
|
init_tools();
|
|
74122
|
-
|
|
74358
|
+
args130 = {
|
|
74123
74359
|
request: GetTransferRequest$inboundSchema
|
|
74124
74360
|
};
|
|
74125
74361
|
tool$transfersGet = {
|
|
@@ -74131,9 +74367,9 @@ to learn more.
|
|
|
74131
74367
|
|
|
74132
74368
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74133
74369
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74134
|
-
args:
|
|
74135
|
-
tool: async (client,
|
|
74136
|
-
const [result, apiCall] = await transfersGet(client,
|
|
74370
|
+
args: args130,
|
|
74371
|
+
tool: async (client, args131, ctx) => {
|
|
74372
|
+
const [result, apiCall] = await transfersGet(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74137
74373
|
if (!result.ok) {
|
|
74138
74374
|
return {
|
|
74139
74375
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74148,9 +74384,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74148
74384
|
|
|
74149
74385
|
// src/funcs/transfersGetCancellation.ts
|
|
74150
74386
|
function transfersGetCancellation(client, request, options) {
|
|
74151
|
-
return new APIPromise($
|
|
74387
|
+
return new APIPromise($do131(client, request, options));
|
|
74152
74388
|
}
|
|
74153
|
-
async function $
|
|
74389
|
+
async function $do131(client, request, options) {
|
|
74154
74390
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74155
74391
|
if (!parsed.ok) {
|
|
74156
74392
|
return [parsed, { status: "invalid" }];
|
|
@@ -74236,12 +74472,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
74236
74472
|
});
|
|
74237
74473
|
|
|
74238
74474
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
74239
|
-
var
|
|
74475
|
+
var args131, tool$transfersGetCancellation;
|
|
74240
74476
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
74241
74477
|
init_transfersGetCancellation();
|
|
74242
74478
|
init_operations();
|
|
74243
74479
|
init_tools();
|
|
74244
|
-
|
|
74480
|
+
args131 = {
|
|
74245
74481
|
request: GetCancellationRequest$inboundSchema
|
|
74246
74482
|
};
|
|
74247
74483
|
tool$transfersGetCancellation = {
|
|
@@ -74250,9 +74486,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
74250
74486
|
|
|
74251
74487
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
74252
74488
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74253
|
-
args:
|
|
74254
|
-
tool: async (client,
|
|
74255
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
74489
|
+
args: args131,
|
|
74490
|
+
tool: async (client, args132, ctx) => {
|
|
74491
|
+
const [result, apiCall] = await transfersGetCancellation(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74256
74492
|
if (!result.ok) {
|
|
74257
74493
|
return {
|
|
74258
74494
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74267,9 +74503,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
74267
74503
|
|
|
74268
74504
|
// src/funcs/transfersGetRefund.ts
|
|
74269
74505
|
function transfersGetRefund(client, request, options) {
|
|
74270
|
-
return new APIPromise($
|
|
74506
|
+
return new APIPromise($do132(client, request, options));
|
|
74271
74507
|
}
|
|
74272
|
-
async function $
|
|
74508
|
+
async function $do132(client, request, options) {
|
|
74273
74509
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74274
74510
|
if (!parsed.ok) {
|
|
74275
74511
|
return [parsed, { status: "invalid" }];
|
|
@@ -74355,12 +74591,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
74355
74591
|
});
|
|
74356
74592
|
|
|
74357
74593
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
74358
|
-
var
|
|
74594
|
+
var args132, tool$transfersGetRefund;
|
|
74359
74595
|
var init_transfersGetRefund2 = __esm(() => {
|
|
74360
74596
|
init_transfersGetRefund();
|
|
74361
74597
|
init_operations();
|
|
74362
74598
|
init_tools();
|
|
74363
|
-
|
|
74599
|
+
args132 = {
|
|
74364
74600
|
request: GetRefundRequest$inboundSchema
|
|
74365
74601
|
};
|
|
74366
74602
|
tool$transfersGetRefund = {
|
|
@@ -74369,9 +74605,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
74369
74605
|
|
|
74370
74606
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74371
74607
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74372
|
-
args:
|
|
74373
|
-
tool: async (client,
|
|
74374
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
74608
|
+
args: args132,
|
|
74609
|
+
tool: async (client, args133, ctx) => {
|
|
74610
|
+
const [result, apiCall] = await transfersGetRefund(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74375
74611
|
if (!result.ok) {
|
|
74376
74612
|
return {
|
|
74377
74613
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74386,9 +74622,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74386
74622
|
|
|
74387
74623
|
// src/funcs/transfersInitiateRefund.ts
|
|
74388
74624
|
function transfersInitiateRefund(client, request, options) {
|
|
74389
|
-
return new APIPromise($
|
|
74625
|
+
return new APIPromise($do133(client, request, options));
|
|
74390
74626
|
}
|
|
74391
|
-
async function $
|
|
74627
|
+
async function $do133(client, request, options) {
|
|
74392
74628
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74393
74629
|
if (!parsed.ok) {
|
|
74394
74630
|
return [parsed, { status: "invalid" }];
|
|
@@ -74480,12 +74716,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
74480
74716
|
});
|
|
74481
74717
|
|
|
74482
74718
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
74483
|
-
var
|
|
74719
|
+
var args133, tool$transfersInitiateRefund;
|
|
74484
74720
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
74485
74721
|
init_transfersInitiateRefund();
|
|
74486
74722
|
init_operations();
|
|
74487
74723
|
init_tools();
|
|
74488
|
-
|
|
74724
|
+
args133 = {
|
|
74489
74725
|
request: InitiateRefundRequest$inboundSchema
|
|
74490
74726
|
};
|
|
74491
74727
|
tool$transfersInitiateRefund = {
|
|
@@ -74497,9 +74733,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
74497
74733
|
|
|
74498
74734
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74499
74735
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74500
|
-
args:
|
|
74501
|
-
tool: async (client,
|
|
74502
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
74736
|
+
args: args133,
|
|
74737
|
+
tool: async (client, args134, ctx) => {
|
|
74738
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74503
74739
|
if (!result.ok) {
|
|
74504
74740
|
return {
|
|
74505
74741
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74514,9 +74750,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74514
74750
|
|
|
74515
74751
|
// src/funcs/transfersList.ts
|
|
74516
74752
|
function transfersList(client, request, options) {
|
|
74517
|
-
return new APIPromise($
|
|
74753
|
+
return new APIPromise($do134(client, request, options));
|
|
74518
74754
|
}
|
|
74519
|
-
async function $
|
|
74755
|
+
async function $do134(client, request, options) {
|
|
74520
74756
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74521
74757
|
if (!parsed.ok) {
|
|
74522
74758
|
return [parsed, { status: "invalid" }];
|
|
@@ -74609,12 +74845,12 @@ var init_transfersList = __esm(() => {
|
|
|
74609
74845
|
});
|
|
74610
74846
|
|
|
74611
74847
|
// src/mcp-server/tools/transfersList.ts
|
|
74612
|
-
var
|
|
74848
|
+
var args134, tool$transfersList;
|
|
74613
74849
|
var init_transfersList2 = __esm(() => {
|
|
74614
74850
|
init_transfersList();
|
|
74615
74851
|
init_operations();
|
|
74616
74852
|
init_tools();
|
|
74617
|
-
|
|
74853
|
+
args134 = {
|
|
74618
74854
|
request: ListTransfersRequest$inboundSchema
|
|
74619
74855
|
};
|
|
74620
74856
|
tool$transfersList = {
|
|
@@ -74630,9 +74866,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
74630
74866
|
|
|
74631
74867
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74632
74868
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74633
|
-
args:
|
|
74634
|
-
tool: async (client,
|
|
74635
|
-
const [result, apiCall] = await transfersList(client,
|
|
74869
|
+
args: args134,
|
|
74870
|
+
tool: async (client, args135, ctx) => {
|
|
74871
|
+
const [result, apiCall] = await transfersList(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74636
74872
|
if (!result.ok) {
|
|
74637
74873
|
return {
|
|
74638
74874
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74647,9 +74883,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74647
74883
|
|
|
74648
74884
|
// src/funcs/transfersListRefunds.ts
|
|
74649
74885
|
function transfersListRefunds(client, request, options) {
|
|
74650
|
-
return new APIPromise($
|
|
74886
|
+
return new APIPromise($do135(client, request, options));
|
|
74651
74887
|
}
|
|
74652
|
-
async function $
|
|
74888
|
+
async function $do135(client, request, options) {
|
|
74653
74889
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74654
74890
|
if (!parsed.ok) {
|
|
74655
74891
|
return [parsed, { status: "invalid" }];
|
|
@@ -74731,12 +74967,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
74731
74967
|
});
|
|
74732
74968
|
|
|
74733
74969
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
74734
|
-
var
|
|
74970
|
+
var args135, tool$transfersListRefunds;
|
|
74735
74971
|
var init_transfersListRefunds2 = __esm(() => {
|
|
74736
74972
|
init_transfersListRefunds();
|
|
74737
74973
|
init_operations();
|
|
74738
74974
|
init_tools();
|
|
74739
|
-
|
|
74975
|
+
args135 = {
|
|
74740
74976
|
request: ListRefundsRequest$inboundSchema
|
|
74741
74977
|
};
|
|
74742
74978
|
tool$transfersListRefunds = {
|
|
@@ -74745,9 +74981,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
74745
74981
|
|
|
74746
74982
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74747
74983
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
74748
|
-
args:
|
|
74749
|
-
tool: async (client,
|
|
74750
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
74984
|
+
args: args135,
|
|
74985
|
+
tool: async (client, args136, ctx) => {
|
|
74986
|
+
const [result, apiCall] = await transfersListRefunds(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74751
74987
|
if (!result.ok) {
|
|
74752
74988
|
return {
|
|
74753
74989
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74762,9 +74998,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
74762
74998
|
|
|
74763
74999
|
// src/funcs/transfersUpdate.ts
|
|
74764
75000
|
function transfersUpdate(client, request, options) {
|
|
74765
|
-
return new APIPromise($
|
|
75001
|
+
return new APIPromise($do136(client, request, options));
|
|
74766
75002
|
}
|
|
74767
|
-
async function $
|
|
75003
|
+
async function $do136(client, request, options) {
|
|
74768
75004
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74769
75005
|
if (!parsed.ok) {
|
|
74770
75006
|
return [parsed, { status: "invalid" }];
|
|
@@ -74847,12 +75083,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
74847
75083
|
});
|
|
74848
75084
|
|
|
74849
75085
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
74850
|
-
var
|
|
75086
|
+
var args136, tool$transfersUpdate;
|
|
74851
75087
|
var init_transfersUpdate2 = __esm(() => {
|
|
74852
75088
|
init_transfersUpdate();
|
|
74853
75089
|
init_operations();
|
|
74854
75090
|
init_tools();
|
|
74855
|
-
|
|
75091
|
+
args136 = {
|
|
74856
75092
|
request: UpdateTransferRequest$inboundSchema
|
|
74857
75093
|
};
|
|
74858
75094
|
tool$transfersUpdate = {
|
|
@@ -74863,9 +75099,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
74863
75099
|
|
|
74864
75100
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74865
75101
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
74866
|
-
args:
|
|
74867
|
-
tool: async (client,
|
|
74868
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
75102
|
+
args: args136,
|
|
75103
|
+
tool: async (client, args137, ctx) => {
|
|
75104
|
+
const [result, apiCall] = await transfersUpdate(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74869
75105
|
if (!result.ok) {
|
|
74870
75106
|
return {
|
|
74871
75107
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74880,9 +75116,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
74880
75116
|
|
|
74881
75117
|
// src/funcs/underwritingGet.ts
|
|
74882
75118
|
function underwritingGet(client, request, options) {
|
|
74883
|
-
return new APIPromise($
|
|
75119
|
+
return new APIPromise($do137(client, request, options));
|
|
74884
75120
|
}
|
|
74885
|
-
async function $
|
|
75121
|
+
async function $do137(client, request, options) {
|
|
74886
75122
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74887
75123
|
if (!parsed.ok) {
|
|
74888
75124
|
return [parsed, { status: "invalid" }];
|
|
@@ -74960,12 +75196,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
74960
75196
|
});
|
|
74961
75197
|
|
|
74962
75198
|
// src/mcp-server/tools/underwritingGet.ts
|
|
74963
|
-
var
|
|
75199
|
+
var args137, tool$underwritingGet;
|
|
74964
75200
|
var init_underwritingGet2 = __esm(() => {
|
|
74965
75201
|
init_underwritingGet();
|
|
74966
75202
|
init_operations();
|
|
74967
75203
|
init_tools();
|
|
74968
|
-
|
|
75204
|
+
args137 = {
|
|
74969
75205
|
request: GetUnderwritingRequest$inboundSchema
|
|
74970
75206
|
};
|
|
74971
75207
|
tool$underwritingGet = {
|
|
@@ -74976,9 +75212,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
74976
75212
|
|
|
74977
75213
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74978
75214
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
74979
|
-
args:
|
|
74980
|
-
tool: async (client,
|
|
74981
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
75215
|
+
args: args137,
|
|
75216
|
+
tool: async (client, args138, ctx) => {
|
|
75217
|
+
const [result, apiCall] = await underwritingGet(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74982
75218
|
if (!result.ok) {
|
|
74983
75219
|
return {
|
|
74984
75220
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74993,9 +75229,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
74993
75229
|
|
|
74994
75230
|
// src/funcs/underwritingSave.ts
|
|
74995
75231
|
function underwritingSave(client, request, options) {
|
|
74996
|
-
return new APIPromise($
|
|
75232
|
+
return new APIPromise($do138(client, request, options));
|
|
74997
75233
|
}
|
|
74998
|
-
async function $
|
|
75234
|
+
async function $do138(client, request, options) {
|
|
74999
75235
|
const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75000
75236
|
if (!parsed.ok) {
|
|
75001
75237
|
return [parsed, { status: "invalid" }];
|
|
@@ -75091,12 +75327,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
75091
75327
|
});
|
|
75092
75328
|
|
|
75093
75329
|
// src/mcp-server/tools/underwritingSave.ts
|
|
75094
|
-
var
|
|
75330
|
+
var args138, tool$underwritingSave;
|
|
75095
75331
|
var init_underwritingSave2 = __esm(() => {
|
|
75096
75332
|
init_underwritingSave();
|
|
75097
75333
|
init_operations();
|
|
75098
75334
|
init_tools();
|
|
75099
|
-
|
|
75335
|
+
args138 = {
|
|
75100
75336
|
request: SaveUnderwritingRequest$inboundSchema
|
|
75101
75337
|
};
|
|
75102
75338
|
tool$underwritingSave = {
|
|
@@ -75107,9 +75343,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
75107
75343
|
|
|
75108
75344
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75109
75345
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
75110
|
-
args:
|
|
75111
|
-
tool: async (client,
|
|
75112
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
75346
|
+
args: args138,
|
|
75347
|
+
tool: async (client, args139, ctx) => {
|
|
75348
|
+
const [result, apiCall] = await underwritingSave(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75113
75349
|
if (!result.ok) {
|
|
75114
75350
|
return {
|
|
75115
75351
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75124,9 +75360,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
75124
75360
|
|
|
75125
75361
|
// src/funcs/underwritingUpsert.ts
|
|
75126
75362
|
function underwritingUpsert(client, request, options) {
|
|
75127
|
-
return new APIPromise($
|
|
75363
|
+
return new APIPromise($do139(client, request, options));
|
|
75128
75364
|
}
|
|
75129
|
-
async function $
|
|
75365
|
+
async function $do139(client, request, options) {
|
|
75130
75366
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75131
75367
|
if (!parsed.ok) {
|
|
75132
75368
|
return [parsed, { status: "invalid" }];
|
|
@@ -75222,12 +75458,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
75222
75458
|
});
|
|
75223
75459
|
|
|
75224
75460
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
75225
|
-
var
|
|
75461
|
+
var args139, tool$underwritingUpsert;
|
|
75226
75462
|
var init_underwritingUpsert2 = __esm(() => {
|
|
75227
75463
|
init_underwritingUpsert();
|
|
75228
75464
|
init_operations();
|
|
75229
75465
|
init_tools();
|
|
75230
|
-
|
|
75466
|
+
args139 = {
|
|
75231
75467
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
75232
75468
|
};
|
|
75233
75469
|
tool$underwritingUpsert = {
|
|
@@ -75238,9 +75474,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
75238
75474
|
|
|
75239
75475
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75240
75476
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
75241
|
-
args:
|
|
75242
|
-
tool: async (client,
|
|
75243
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
75477
|
+
args: args139,
|
|
75478
|
+
tool: async (client, args140, ctx) => {
|
|
75479
|
+
const [result, apiCall] = await underwritingUpsert(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75244
75480
|
if (!result.ok) {
|
|
75245
75481
|
return {
|
|
75246
75482
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75255,9 +75491,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
75255
75491
|
|
|
75256
75492
|
// src/funcs/walletsGet.ts
|
|
75257
75493
|
function walletsGet(client, request, options) {
|
|
75258
|
-
return new APIPromise($
|
|
75494
|
+
return new APIPromise($do140(client, request, options));
|
|
75259
75495
|
}
|
|
75260
|
-
async function $
|
|
75496
|
+
async function $do140(client, request, options) {
|
|
75261
75497
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75262
75498
|
if (!parsed.ok) {
|
|
75263
75499
|
return [parsed, { status: "invalid" }];
|
|
@@ -75339,12 +75575,12 @@ var init_walletsGet = __esm(() => {
|
|
|
75339
75575
|
});
|
|
75340
75576
|
|
|
75341
75577
|
// src/mcp-server/tools/walletsGet.ts
|
|
75342
|
-
var
|
|
75578
|
+
var args140, tool$walletsGet;
|
|
75343
75579
|
var init_walletsGet2 = __esm(() => {
|
|
75344
75580
|
init_walletsGet();
|
|
75345
75581
|
init_operations();
|
|
75346
75582
|
init_tools();
|
|
75347
|
-
|
|
75583
|
+
args140 = {
|
|
75348
75584
|
request: GetWalletRequest$inboundSchema
|
|
75349
75585
|
};
|
|
75350
75586
|
tool$walletsGet = {
|
|
@@ -75355,9 +75591,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
75355
75591
|
|
|
75356
75592
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75357
75593
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
75358
|
-
args:
|
|
75359
|
-
tool: async (client,
|
|
75360
|
-
const [result, apiCall] = await walletsGet(client,
|
|
75594
|
+
args: args140,
|
|
75595
|
+
tool: async (client, args141, ctx) => {
|
|
75596
|
+
const [result, apiCall] = await walletsGet(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75361
75597
|
if (!result.ok) {
|
|
75362
75598
|
return {
|
|
75363
75599
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75372,9 +75608,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
75372
75608
|
|
|
75373
75609
|
// src/funcs/walletsList.ts
|
|
75374
75610
|
function walletsList(client, request, options) {
|
|
75375
|
-
return new APIPromise($
|
|
75611
|
+
return new APIPromise($do141(client, request, options));
|
|
75376
75612
|
}
|
|
75377
|
-
async function $
|
|
75613
|
+
async function $do141(client, request, options) {
|
|
75378
75614
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75379
75615
|
if (!parsed.ok) {
|
|
75380
75616
|
return [parsed, { status: "invalid" }];
|
|
@@ -75452,12 +75688,12 @@ var init_walletsList = __esm(() => {
|
|
|
75452
75688
|
});
|
|
75453
75689
|
|
|
75454
75690
|
// src/mcp-server/tools/walletsList.ts
|
|
75455
|
-
var
|
|
75691
|
+
var args141, tool$walletsList;
|
|
75456
75692
|
var init_walletsList2 = __esm(() => {
|
|
75457
75693
|
init_walletsList();
|
|
75458
75694
|
init_operations();
|
|
75459
75695
|
init_tools();
|
|
75460
|
-
|
|
75696
|
+
args141 = {
|
|
75461
75697
|
request: ListWalletsRequest$inboundSchema
|
|
75462
75698
|
};
|
|
75463
75699
|
tool$walletsList = {
|
|
@@ -75468,9 +75704,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
75468
75704
|
|
|
75469
75705
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75470
75706
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
75471
|
-
args:
|
|
75472
|
-
tool: async (client,
|
|
75473
|
-
const [result, apiCall] = await walletsList(client,
|
|
75707
|
+
args: args141,
|
|
75708
|
+
tool: async (client, args142, ctx) => {
|
|
75709
|
+
const [result, apiCall] = await walletsList(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75474
75710
|
if (!result.ok) {
|
|
75475
75711
|
return {
|
|
75476
75712
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75485,9 +75721,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
75485
75721
|
|
|
75486
75722
|
// src/funcs/walletTransactionsGet.ts
|
|
75487
75723
|
function walletTransactionsGet(client, request, options) {
|
|
75488
|
-
return new APIPromise($
|
|
75724
|
+
return new APIPromise($do142(client, request, options));
|
|
75489
75725
|
}
|
|
75490
|
-
async function $
|
|
75726
|
+
async function $do142(client, request, options) {
|
|
75491
75727
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75492
75728
|
if (!parsed.ok) {
|
|
75493
75729
|
return [parsed, { status: "invalid" }];
|
|
@@ -75573,12 +75809,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
75573
75809
|
});
|
|
75574
75810
|
|
|
75575
75811
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
75576
|
-
var
|
|
75812
|
+
var args142, tool$walletTransactionsGet;
|
|
75577
75813
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
75578
75814
|
init_walletTransactionsGet();
|
|
75579
75815
|
init_operations();
|
|
75580
75816
|
init_tools();
|
|
75581
|
-
|
|
75817
|
+
args142 = {
|
|
75582
75818
|
request: GetWalletTransactionRequest$inboundSchema
|
|
75583
75819
|
};
|
|
75584
75820
|
tool$walletTransactionsGet = {
|
|
@@ -75589,9 +75825,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
75589
75825
|
|
|
75590
75826
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75591
75827
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
75592
|
-
args:
|
|
75593
|
-
tool: async (client,
|
|
75594
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
75828
|
+
args: args142,
|
|
75829
|
+
tool: async (client, args143, ctx) => {
|
|
75830
|
+
const [result, apiCall] = await walletTransactionsGet(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75595
75831
|
if (!result.ok) {
|
|
75596
75832
|
return {
|
|
75597
75833
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75606,9 +75842,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
75606
75842
|
|
|
75607
75843
|
// src/funcs/walletTransactionsList.ts
|
|
75608
75844
|
function walletTransactionsList(client, request, options) {
|
|
75609
|
-
return new APIPromise($
|
|
75845
|
+
return new APIPromise($do143(client, request, options));
|
|
75610
75846
|
}
|
|
75611
|
-
async function $
|
|
75847
|
+
async function $do143(client, request, options) {
|
|
75612
75848
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75613
75849
|
if (!parsed.ok) {
|
|
75614
75850
|
return [parsed, { status: "invalid" }];
|
|
@@ -75705,12 +75941,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
75705
75941
|
});
|
|
75706
75942
|
|
|
75707
75943
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
75708
|
-
var
|
|
75944
|
+
var args143, tool$walletTransactionsList;
|
|
75709
75945
|
var init_walletTransactionsList2 = __esm(() => {
|
|
75710
75946
|
init_walletTransactionsList();
|
|
75711
75947
|
init_operations();
|
|
75712
75948
|
init_tools();
|
|
75713
|
-
|
|
75949
|
+
args143 = {
|
|
75714
75950
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
75715
75951
|
};
|
|
75716
75952
|
tool$walletTransactionsList = {
|
|
@@ -75721,9 +75957,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
75721
75957
|
|
|
75722
75958
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75723
75959
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
75724
|
-
args:
|
|
75725
|
-
tool: async (client,
|
|
75726
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
75960
|
+
args: args143,
|
|
75961
|
+
tool: async (client, args144, ctx) => {
|
|
75962
|
+
const [result, apiCall] = await walletTransactionsList(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75727
75963
|
if (!result.ok) {
|
|
75728
75964
|
return {
|
|
75729
75965
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75740,7 +75976,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
75740
75976
|
function createMCPServer(deps) {
|
|
75741
75977
|
const server = new McpServer({
|
|
75742
75978
|
name: "Moov",
|
|
75743
|
-
version: "0.14.
|
|
75979
|
+
version: "0.14.10"
|
|
75744
75980
|
});
|
|
75745
75981
|
const client = new MoovCore({
|
|
75746
75982
|
security: deps.security,
|
|
@@ -75897,6 +76133,7 @@ function createMCPServer(deps) {
|
|
|
75897
76133
|
tool(tool$terminalApplicationsList);
|
|
75898
76134
|
tool(tool$terminalApplicationsGet);
|
|
75899
76135
|
tool(tool$terminalApplicationsDelete);
|
|
76136
|
+
tool(tool$terminalApplicationsCreateVersion);
|
|
75900
76137
|
return server;
|
|
75901
76138
|
}
|
|
75902
76139
|
var init_server2 = __esm(() => {
|
|
@@ -76025,6 +76262,7 @@ var init_server2 = __esm(() => {
|
|
|
76025
76262
|
init_sweepsListConfigs2();
|
|
76026
76263
|
init_sweepsUpdateConfig2();
|
|
76027
76264
|
init_terminalApplicationsCreate2();
|
|
76265
|
+
init_terminalApplicationsCreateVersion2();
|
|
76028
76266
|
init_terminalApplicationsDelete2();
|
|
76029
76267
|
init_terminalApplicationsGet2();
|
|
76030
76268
|
init_terminalApplicationsList2();
|
|
@@ -77248,7 +77486,7 @@ var routes = rn({
|
|
|
77248
77486
|
var app = Ve(routes, {
|
|
77249
77487
|
name: "mcp",
|
|
77250
77488
|
versionInfo: {
|
|
77251
|
-
currentVersion: "0.14.
|
|
77489
|
+
currentVersion: "0.14.10"
|
|
77252
77490
|
}
|
|
77253
77491
|
});
|
|
77254
77492
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -77256,5 +77494,5 @@ export {
|
|
|
77256
77494
|
app
|
|
77257
77495
|
};
|
|
77258
77496
|
|
|
77259
|
-
//# debugId=
|
|
77497
|
+
//# debugId=ED3FBCD2EB97DCDA64756E2164756E21
|
|
77260
77498
|
//# sourceMappingURL=mcp-server.js.map
|