@moovio/sdk 0.9.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -7
- package/bin/mcp-server.js +354 -128
- package/bin/mcp-server.js.map +18 -13
- package/docs/sdks/terminalconfigurations/README.md +98 -0
- package/funcs/terminalConfigurationsGet.d.ts +16 -0
- package/funcs/terminalConfigurationsGet.d.ts.map +1 -0
- package/funcs/terminalConfigurationsGet.js +124 -0
- package/funcs/terminalConfigurationsGet.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/lib/security.d.ts +4 -3
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -1
- package/lib/security.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/terminalConfigurationsGet.d.ts +8 -0
- package/mcp-server/tools/terminalConfigurationsGet.d.ts.map +1 -0
- package/mcp-server/tools/terminalConfigurationsGet.js +65 -0
- package/mcp-server/tools/terminalConfigurationsGet.js.map +1 -0
- package/models/components/feeplan.d.ts +6 -0
- package/models/components/feeplan.d.ts.map +1 -1
- package/models/components/feeplan.js +3 -0
- package/models/components/feeplan.js.map +1 -1
- package/models/components/feeplanagreement.d.ts +6 -0
- package/models/components/feeplanagreement.d.ts.map +1 -1
- package/models/components/feeplanagreement.js +3 -0
- package/models/components/feeplanagreement.js.map +1 -1
- 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/monthlyplatformfee.d.ts +44 -0
- package/models/components/monthlyplatformfee.d.ts.map +1 -0
- package/models/components/monthlyplatformfee.js +71 -0
- package/models/components/monthlyplatformfee.js.map +1 -0
- package/models/components/partnerpricing.d.ts +6 -0
- package/models/components/partnerpricing.d.ts.map +1 -1
- package/models/components/partnerpricing.js +3 -0
- package/models/components/partnerpricing.js.map +1 -1
- package/models/components/partnerpricingagreement.d.ts +6 -0
- package/models/components/partnerpricingagreement.d.ts.map +1 -1
- package/models/components/partnerpricingagreement.js +3 -0
- package/models/components/partnerpricingagreement.js.map +1 -1
- package/models/components/terminalconfiguration.d.ts +32 -0
- package/models/components/terminalconfiguration.d.ts.map +1 -0
- package/models/components/terminalconfiguration.js +69 -0
- package/models/components/terminalconfiguration.js.map +1 -0
- package/models/operations/getterminalconfiguration.d.ts +101 -0
- package/models/operations/getterminalconfiguration.d.ts.map +1 -0
- package/models/operations/getterminalconfiguration.js +147 -0
- package/models/operations/getterminalconfiguration.js.map +1 -0
- 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/package.json +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/terminalconfigurations.d.ts +12 -0
- package/sdk/terminalconfigurations.d.ts.map +1 -0
- package/sdk/terminalconfigurations.js +22 -0
- package/sdk/terminalconfigurations.js.map +1 -0
- package/src/funcs/terminalConfigurationsGet.ts +181 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +11 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/terminalConfigurationsGet.ts +38 -0
- package/src/models/components/feeplan.ts +13 -0
- package/src/models/components/feeplanagreement.ts +13 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/monthlyplatformfee.ts +83 -0
- package/src/models/components/partnerpricing.ts +13 -0
- package/src/models/components/partnerpricingagreement.ts +13 -0
- package/src/models/components/terminalconfiguration.ts +69 -0
- package/src/models/operations/getterminalconfiguration.ts +229 -0
- package/src/models/operations/index.ts +1 -0
- package/src/sdk/sdk.ts +8 -0
- package/src/sdk/terminalconfigurations.ts +27 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34213,9 +34213,9 @@ var init_config = __esm(() => {
|
|
|
34213
34213
|
SDK_METADATA = {
|
|
34214
34214
|
language: "typescript",
|
|
34215
34215
|
openapiDocVersion: "latest",
|
|
34216
|
-
sdkVersion: "0.
|
|
34217
|
-
genVersion: "2.
|
|
34218
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34216
|
+
sdkVersion: "0.10.1",
|
|
34217
|
+
genVersion: "2.559.0",
|
|
34218
|
+
userAgent: "speakeasy-sdk/typescript 0.10.1 2.559.0 latest @moovio/sdk"
|
|
34219
34219
|
};
|
|
34220
34220
|
});
|
|
34221
34221
|
|
|
@@ -35440,6 +35440,9 @@ function resolveSecurity(...options) {
|
|
|
35440
35440
|
} else if (o.type === "oauth2:password") {
|
|
35441
35441
|
return typeof o.value === "string" && !!o.value;
|
|
35442
35442
|
} else if (o.type === "oauth2:client_credentials") {
|
|
35443
|
+
if (typeof o.value == "string") {
|
|
35444
|
+
return !!o.value;
|
|
35445
|
+
}
|
|
35443
35446
|
return o.value.clientID != null || o.value.clientSecret != null;
|
|
35444
35447
|
} else if (typeof o.value === "string") {
|
|
35445
35448
|
return !!o.value;
|
|
@@ -35505,7 +35508,9 @@ function applyBearer(state, spec) {
|
|
|
35505
35508
|
if (value.slice(0, 7).toLowerCase() !== "bearer ") {
|
|
35506
35509
|
value = `Bearer ${value}`;
|
|
35507
35510
|
}
|
|
35508
|
-
|
|
35511
|
+
if (spec.fieldName !== undefined) {
|
|
35512
|
+
state.headers[spec.fieldName] = value;
|
|
35513
|
+
}
|
|
35509
35514
|
}
|
|
35510
35515
|
function resolveGlobalSecurity(security) {
|
|
35511
35516
|
return resolveSecurity([
|
|
@@ -40664,6 +40669,24 @@ var init_minimumcommitment = __esm(() => {
|
|
|
40664
40669
|
})(MinimumCommitment$ ||= {});
|
|
40665
40670
|
});
|
|
40666
40671
|
|
|
40672
|
+
// src/models/components/monthlyplatformfee.ts
|
|
40673
|
+
var MonthlyPlatformFee$inboundSchema, MonthlyPlatformFee$outboundSchema, MonthlyPlatformFee$;
|
|
40674
|
+
var init_monthlyplatformfee = __esm(() => {
|
|
40675
|
+
init_lib();
|
|
40676
|
+
MonthlyPlatformFee$inboundSchema = objectType({
|
|
40677
|
+
currency: stringType(),
|
|
40678
|
+
valueDecimal: stringType()
|
|
40679
|
+
});
|
|
40680
|
+
MonthlyPlatformFee$outboundSchema = objectType({
|
|
40681
|
+
currency: stringType(),
|
|
40682
|
+
valueDecimal: stringType()
|
|
40683
|
+
});
|
|
40684
|
+
((MonthlyPlatformFee$) => {
|
|
40685
|
+
MonthlyPlatformFee$.inboundSchema = MonthlyPlatformFee$inboundSchema;
|
|
40686
|
+
MonthlyPlatformFee$.outboundSchema = MonthlyPlatformFee$outboundSchema;
|
|
40687
|
+
})(MonthlyPlatformFee$ ||= {});
|
|
40688
|
+
});
|
|
40689
|
+
|
|
40667
40690
|
// src/models/components/feeplan.ts
|
|
40668
40691
|
var FeePlan$inboundSchema, FeePlan$outboundSchema, FeePlan$;
|
|
40669
40692
|
var init_feeplan = __esm(() => {
|
|
@@ -40671,6 +40694,7 @@ var init_feeplan = __esm(() => {
|
|
|
40671
40694
|
init_billablefee();
|
|
40672
40695
|
init_cardacquiringmodel();
|
|
40673
40696
|
init_minimumcommitment();
|
|
40697
|
+
init_monthlyplatformfee();
|
|
40674
40698
|
FeePlan$inboundSchema = objectType({
|
|
40675
40699
|
planID: stringType(),
|
|
40676
40700
|
name: stringType(),
|
|
@@ -40678,6 +40702,7 @@ var init_feeplan = __esm(() => {
|
|
|
40678
40702
|
cardAcquiringModel: CardAcquiringModel$inboundSchema,
|
|
40679
40703
|
billableFees: arrayType(BillableFee$inboundSchema),
|
|
40680
40704
|
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
40705
|
+
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
|
|
40681
40706
|
createdAt: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
40682
40707
|
});
|
|
40683
40708
|
FeePlan$outboundSchema = objectType({
|
|
@@ -40687,6 +40712,7 @@ var init_feeplan = __esm(() => {
|
|
|
40687
40712
|
cardAcquiringModel: CardAcquiringModel$outboundSchema,
|
|
40688
40713
|
billableFees: arrayType(BillableFee$outboundSchema),
|
|
40689
40714
|
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
40715
|
+
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
|
|
40690
40716
|
createdAt: dateType().transform((v2) => v2.toISOString())
|
|
40691
40717
|
});
|
|
40692
40718
|
((FeePlan$) => {
|
|
@@ -40719,6 +40745,7 @@ var init_feeplanagreement = __esm(() => {
|
|
|
40719
40745
|
init_cardacquiringmodel();
|
|
40720
40746
|
init_feeplanagreementstatus();
|
|
40721
40747
|
init_minimumcommitment();
|
|
40748
|
+
init_monthlyplatformfee();
|
|
40722
40749
|
FeePlanAgreement$inboundSchema = objectType({
|
|
40723
40750
|
agreementID: stringType(),
|
|
40724
40751
|
planID: stringType(),
|
|
@@ -40729,7 +40756,8 @@ var init_feeplanagreement = __esm(() => {
|
|
|
40729
40756
|
status: FeePlanAgreementStatus$inboundSchema,
|
|
40730
40757
|
cardAcquiringModel: CardAcquiringModel$inboundSchema,
|
|
40731
40758
|
billableFees: arrayType(BillableFee$inboundSchema),
|
|
40732
|
-
minimumCommitment: MinimumCommitment$inboundSchema
|
|
40759
|
+
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
40760
|
+
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema
|
|
40733
40761
|
});
|
|
40734
40762
|
FeePlanAgreement$outboundSchema = objectType({
|
|
40735
40763
|
agreementID: stringType(),
|
|
@@ -40741,7 +40769,8 @@ var init_feeplanagreement = __esm(() => {
|
|
|
40741
40769
|
status: FeePlanAgreementStatus$outboundSchema,
|
|
40742
40770
|
cardAcquiringModel: CardAcquiringModel$outboundSchema,
|
|
40743
40771
|
billableFees: arrayType(BillableFee$outboundSchema),
|
|
40744
|
-
minimumCommitment: MinimumCommitment$outboundSchema
|
|
40772
|
+
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
40773
|
+
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema
|
|
40745
40774
|
});
|
|
40746
40775
|
((FeePlanAgreement$) => {
|
|
40747
40776
|
FeePlanAgreement$.inboundSchema = FeePlanAgreement$inboundSchema;
|
|
@@ -42287,6 +42316,7 @@ var init_partnerpricing = __esm(() => {
|
|
|
42287
42316
|
init_billablefee();
|
|
42288
42317
|
init_cardacquiringmodel();
|
|
42289
42318
|
init_minimumcommitment();
|
|
42319
|
+
init_monthlyplatformfee();
|
|
42290
42320
|
PartnerPricing$inboundSchema = objectType({
|
|
42291
42321
|
planID: stringType(),
|
|
42292
42322
|
name: stringType(),
|
|
@@ -42295,6 +42325,7 @@ var init_partnerpricing = __esm(() => {
|
|
|
42295
42325
|
cardAcquiringModel: CardAcquiringModel$inboundSchema,
|
|
42296
42326
|
billableFees: arrayType(BillableFee$inboundSchema),
|
|
42297
42327
|
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
42328
|
+
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
|
|
42298
42329
|
createdAt: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
42299
42330
|
});
|
|
42300
42331
|
PartnerPricing$outboundSchema = objectType({
|
|
@@ -42305,6 +42336,7 @@ var init_partnerpricing = __esm(() => {
|
|
|
42305
42336
|
cardAcquiringModel: CardAcquiringModel$outboundSchema,
|
|
42306
42337
|
billableFees: arrayType(BillableFee$outboundSchema),
|
|
42307
42338
|
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
42339
|
+
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
|
|
42308
42340
|
createdAt: dateType().transform((v2) => v2.toISOString())
|
|
42309
42341
|
});
|
|
42310
42342
|
((PartnerPricing$) => {
|
|
@@ -42321,6 +42353,7 @@ var init_partnerpricingagreement = __esm(() => {
|
|
|
42321
42353
|
init_cardacquiringmodel();
|
|
42322
42354
|
init_feeplanagreementstatus();
|
|
42323
42355
|
init_minimumcommitment();
|
|
42356
|
+
init_monthlyplatformfee();
|
|
42324
42357
|
PartnerPricingAgreement$inboundSchema = objectType({
|
|
42325
42358
|
agreementID: stringType(),
|
|
42326
42359
|
planID: stringType(),
|
|
@@ -42332,6 +42365,7 @@ var init_partnerpricingagreement = __esm(() => {
|
|
|
42332
42365
|
cardAcquiringModel: CardAcquiringModel$inboundSchema,
|
|
42333
42366
|
billableFees: arrayType(BillableFee$inboundSchema),
|
|
42334
42367
|
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
42368
|
+
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
|
|
42335
42369
|
revenueShare: numberType().int()
|
|
42336
42370
|
});
|
|
42337
42371
|
PartnerPricingAgreement$outboundSchema = objectType({
|
|
@@ -42345,6 +42379,7 @@ var init_partnerpricingagreement = __esm(() => {
|
|
|
42345
42379
|
cardAcquiringModel: CardAcquiringModel$outboundSchema,
|
|
42346
42380
|
billableFees: arrayType(BillableFee$outboundSchema),
|
|
42347
42381
|
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
42382
|
+
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
|
|
42348
42383
|
revenueShare: numberType().int()
|
|
42349
42384
|
});
|
|
42350
42385
|
((PartnerPricingAgreement$) => {
|
|
@@ -43679,6 +43714,22 @@ var init_terminalapplication = __esm(() => {
|
|
|
43679
43714
|
})(TerminalApplication$ ||= {});
|
|
43680
43715
|
});
|
|
43681
43716
|
|
|
43717
|
+
// src/models/components/terminalconfiguration.ts
|
|
43718
|
+
var TerminalConfiguration$inboundSchema, TerminalConfiguration$outboundSchema, TerminalConfiguration$;
|
|
43719
|
+
var init_terminalconfiguration = __esm(() => {
|
|
43720
|
+
init_lib();
|
|
43721
|
+
TerminalConfiguration$inboundSchema = objectType({
|
|
43722
|
+
configuration: stringType()
|
|
43723
|
+
});
|
|
43724
|
+
TerminalConfiguration$outboundSchema = objectType({
|
|
43725
|
+
configuration: stringType()
|
|
43726
|
+
});
|
|
43727
|
+
((TerminalConfiguration$) => {
|
|
43728
|
+
TerminalConfiguration$.inboundSchema = TerminalConfiguration$inboundSchema;
|
|
43729
|
+
TerminalConfiguration$.outboundSchema = TerminalConfiguration$outboundSchema;
|
|
43730
|
+
})(TerminalConfiguration$ ||= {});
|
|
43731
|
+
});
|
|
43732
|
+
|
|
43682
43733
|
// src/models/components/transferaccount.ts
|
|
43683
43734
|
var TransferAccount$inboundSchema, TransferAccount$outboundSchema, TransferAccount$;
|
|
43684
43735
|
var init_transferaccount = __esm(() => {
|
|
@@ -44838,6 +44889,7 @@ var init_components = __esm(() => {
|
|
|
44838
44889
|
init_microdepositstatus();
|
|
44839
44890
|
init_minimumcommitment();
|
|
44840
44891
|
init_mode();
|
|
44892
|
+
init_monthlyplatformfee();
|
|
44841
44893
|
init_moovfeedetails();
|
|
44842
44894
|
init_moovwalletpaymentmethod();
|
|
44843
44895
|
init_mxauthorizationcode();
|
|
@@ -44933,6 +44985,7 @@ var init_components = __esm(() => {
|
|
|
44933
44985
|
init_terminalapplicationplatform();
|
|
44934
44986
|
init_terminalapplicationstatus();
|
|
44935
44987
|
init_terminalcard();
|
|
44988
|
+
init_terminalconfiguration();
|
|
44936
44989
|
init_termsofservice();
|
|
44937
44990
|
init_termsofserviceerror();
|
|
44938
44991
|
init_termsofservicetoken();
|
|
@@ -50528,6 +50581,66 @@ var init_getterminalapplication = __esm(() => {
|
|
|
50528
50581
|
})(GetTerminalApplicationResponse$ ||= {});
|
|
50529
50582
|
});
|
|
50530
50583
|
|
|
50584
|
+
// src/models/operations/getterminalconfiguration.ts
|
|
50585
|
+
var GetTerminalConfigurationGlobals$inboundSchema, GetTerminalConfigurationGlobals$outboundSchema, GetTerminalConfigurationGlobals$, GetTerminalConfigurationRequest$inboundSchema, GetTerminalConfigurationRequest$outboundSchema, GetTerminalConfigurationRequest$, GetTerminalConfigurationResponse$inboundSchema, GetTerminalConfigurationResponse$outboundSchema, GetTerminalConfigurationResponse$;
|
|
50586
|
+
var init_getterminalconfiguration = __esm(() => {
|
|
50587
|
+
init_lib();
|
|
50588
|
+
init_primitives();
|
|
50589
|
+
init_components();
|
|
50590
|
+
GetTerminalConfigurationGlobals$inboundSchema = objectType({
|
|
50591
|
+
"x-moov-version": stringType().default("v2024.01.00")
|
|
50592
|
+
}).transform((v2) => {
|
|
50593
|
+
return remap(v2, {
|
|
50594
|
+
"x-moov-version": "xMoovVersion"
|
|
50595
|
+
});
|
|
50596
|
+
});
|
|
50597
|
+
GetTerminalConfigurationGlobals$outboundSchema = objectType({
|
|
50598
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
50599
|
+
}).transform((v2) => {
|
|
50600
|
+
return remap(v2, {
|
|
50601
|
+
xMoovVersion: "x-moov-version"
|
|
50602
|
+
});
|
|
50603
|
+
});
|
|
50604
|
+
((GetTerminalConfigurationGlobals$) => {
|
|
50605
|
+
GetTerminalConfigurationGlobals$.inboundSchema = GetTerminalConfigurationGlobals$inboundSchema;
|
|
50606
|
+
GetTerminalConfigurationGlobals$.outboundSchema = GetTerminalConfigurationGlobals$outboundSchema;
|
|
50607
|
+
})(GetTerminalConfigurationGlobals$ ||= {});
|
|
50608
|
+
GetTerminalConfigurationRequest$inboundSchema = objectType({
|
|
50609
|
+
accountID: stringType(),
|
|
50610
|
+
terminalApplicationID: stringType()
|
|
50611
|
+
});
|
|
50612
|
+
GetTerminalConfigurationRequest$outboundSchema = objectType({
|
|
50613
|
+
accountID: stringType(),
|
|
50614
|
+
terminalApplicationID: stringType()
|
|
50615
|
+
});
|
|
50616
|
+
((GetTerminalConfigurationRequest$) => {
|
|
50617
|
+
GetTerminalConfigurationRequest$.inboundSchema = GetTerminalConfigurationRequest$inboundSchema;
|
|
50618
|
+
GetTerminalConfigurationRequest$.outboundSchema = GetTerminalConfigurationRequest$outboundSchema;
|
|
50619
|
+
})(GetTerminalConfigurationRequest$ ||= {});
|
|
50620
|
+
GetTerminalConfigurationResponse$inboundSchema = objectType({
|
|
50621
|
+
Headers: recordType(arrayType(stringType())),
|
|
50622
|
+
Result: TerminalConfiguration$inboundSchema
|
|
50623
|
+
}).transform((v2) => {
|
|
50624
|
+
return remap(v2, {
|
|
50625
|
+
Headers: "headers",
|
|
50626
|
+
Result: "result"
|
|
50627
|
+
});
|
|
50628
|
+
});
|
|
50629
|
+
GetTerminalConfigurationResponse$outboundSchema = objectType({
|
|
50630
|
+
headers: recordType(arrayType(stringType())),
|
|
50631
|
+
result: TerminalConfiguration$outboundSchema
|
|
50632
|
+
}).transform((v2) => {
|
|
50633
|
+
return remap(v2, {
|
|
50634
|
+
headers: "Headers",
|
|
50635
|
+
result: "Result"
|
|
50636
|
+
});
|
|
50637
|
+
});
|
|
50638
|
+
((GetTerminalConfigurationResponse$) => {
|
|
50639
|
+
GetTerminalConfigurationResponse$.inboundSchema = GetTerminalConfigurationResponse$inboundSchema;
|
|
50640
|
+
GetTerminalConfigurationResponse$.outboundSchema = GetTerminalConfigurationResponse$outboundSchema;
|
|
50641
|
+
})(GetTerminalConfigurationResponse$ ||= {});
|
|
50642
|
+
});
|
|
50643
|
+
|
|
50531
50644
|
// src/models/operations/gettermsofservicetoken.ts
|
|
50532
50645
|
var GetTermsOfServiceTokenGlobals$inboundSchema, GetTermsOfServiceTokenGlobals$outboundSchema, GetTermsOfServiceTokenGlobals$, GetTermsOfServiceTokenRequest$inboundSchema, GetTermsOfServiceTokenRequest$outboundSchema, GetTermsOfServiceTokenRequest$, GetTermsOfServiceTokenResponse$inboundSchema, GetTermsOfServiceTokenResponse$outboundSchema, GetTermsOfServiceTokenResponse$;
|
|
50533
50646
|
var init_gettermsofservicetoken = __esm(() => {
|
|
@@ -54983,6 +55096,7 @@ var init_operations = __esm(() => {
|
|
|
54983
55096
|
init_getsweep();
|
|
54984
55097
|
init_getsweepconfig();
|
|
54985
55098
|
init_getterminalapplication();
|
|
55099
|
+
init_getterminalconfiguration();
|
|
54986
55100
|
init_gettermsofservicetoken();
|
|
54987
55101
|
init_gettransfer();
|
|
54988
55102
|
init_getunderwriting();
|
|
@@ -68540,11 +68654,121 @@ you'll need to specify the \`/terminalApplications.read\` scope.`,
|
|
|
68540
68654
|
};
|
|
68541
68655
|
});
|
|
68542
68656
|
|
|
68543
|
-
// src/funcs/
|
|
68544
|
-
function
|
|
68657
|
+
// src/funcs/terminalConfigurationsGet.ts
|
|
68658
|
+
function terminalConfigurationsGet(client, request, options) {
|
|
68545
68659
|
return new APIPromise($do115(client, request, options));
|
|
68546
68660
|
}
|
|
68547
68661
|
async function $do115(client, request, options) {
|
|
68662
|
+
const parsed = safeParse(request, (value) => GetTerminalConfigurationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68663
|
+
if (!parsed.ok) {
|
|
68664
|
+
return [parsed, { status: "invalid" }];
|
|
68665
|
+
}
|
|
68666
|
+
const payload = parsed.value;
|
|
68667
|
+
const body = null;
|
|
68668
|
+
const pathParams = {
|
|
68669
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
68670
|
+
explode: false,
|
|
68671
|
+
charEncoding: "percent"
|
|
68672
|
+
}),
|
|
68673
|
+
terminalApplicationID: encodeSimple("terminalApplicationID", payload.terminalApplicationID, { explode: false, charEncoding: "percent" })
|
|
68674
|
+
};
|
|
68675
|
+
const path = pathToFunc("/accounts/{accountID}/terminal-applications/{terminalApplicationID}/configuration")(pathParams);
|
|
68676
|
+
const headers = new Headers(compactMap({
|
|
68677
|
+
Accept: "application/json",
|
|
68678
|
+
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
68679
|
+
}));
|
|
68680
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
68681
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
68682
|
+
const context = {
|
|
68683
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
68684
|
+
operationID: "getTerminalConfiguration",
|
|
68685
|
+
oAuth2Scopes: [],
|
|
68686
|
+
resolvedSecurity: requestSecurity,
|
|
68687
|
+
securitySource: client._options.security,
|
|
68688
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
68689
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
68690
|
+
};
|
|
68691
|
+
const requestRes = client._createRequest(context, {
|
|
68692
|
+
security: requestSecurity,
|
|
68693
|
+
method: "GET",
|
|
68694
|
+
baseURL: options?.serverURL,
|
|
68695
|
+
path,
|
|
68696
|
+
headers,
|
|
68697
|
+
body,
|
|
68698
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
68699
|
+
}, options);
|
|
68700
|
+
if (!requestRes.ok) {
|
|
68701
|
+
return [requestRes, { status: "invalid" }];
|
|
68702
|
+
}
|
|
68703
|
+
const req = requestRes.value;
|
|
68704
|
+
const doResult = await client._do(req, {
|
|
68705
|
+
context,
|
|
68706
|
+
errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
|
|
68707
|
+
retryConfig: context.retryConfig,
|
|
68708
|
+
retryCodes: context.retryCodes
|
|
68709
|
+
});
|
|
68710
|
+
if (!doResult.ok) {
|
|
68711
|
+
return [doResult, { status: "request-error", request: req }];
|
|
68712
|
+
}
|
|
68713
|
+
const response = doResult.value;
|
|
68714
|
+
const responseFields = {
|
|
68715
|
+
HttpMeta: { Response: response, Request: req }
|
|
68716
|
+
};
|
|
68717
|
+
const [result] = await match(json(200, GetTerminalConfigurationResponse$inboundSchema, {
|
|
68718
|
+
hdrs: true,
|
|
68719
|
+
key: "Result"
|
|
68720
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
68721
|
+
if (!result.ok) {
|
|
68722
|
+
return [result, { status: "complete", request: req, response }];
|
|
68723
|
+
}
|
|
68724
|
+
return [result, { status: "complete", request: req, response }];
|
|
68725
|
+
}
|
|
68726
|
+
var init_terminalConfigurationsGet = __esm(() => {
|
|
68727
|
+
init_encodings();
|
|
68728
|
+
init_matchers();
|
|
68729
|
+
init_primitives();
|
|
68730
|
+
init_schemas();
|
|
68731
|
+
init_security();
|
|
68732
|
+
init_url();
|
|
68733
|
+
init_operations();
|
|
68734
|
+
init_async();
|
|
68735
|
+
});
|
|
68736
|
+
|
|
68737
|
+
// src/mcp-server/tools/terminalConfigurationsGet.ts
|
|
68738
|
+
var args115, tool$terminalConfigurationsGet;
|
|
68739
|
+
var init_terminalConfigurationsGet2 = __esm(() => {
|
|
68740
|
+
init_terminalConfigurationsGet();
|
|
68741
|
+
init_operations();
|
|
68742
|
+
init_tools();
|
|
68743
|
+
args115 = {
|
|
68744
|
+
request: GetTerminalConfigurationRequest$inboundSchema
|
|
68745
|
+
};
|
|
68746
|
+
tool$terminalConfigurationsGet = {
|
|
68747
|
+
name: "terminal-configurations-get",
|
|
68748
|
+
description: `Fetch the configuration for a given Terminal Application
|
|
68749
|
+
|
|
68750
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68751
|
+
you'll need to specify the \`/accounts/{accountID}/terminal-configuration.read\` scope.`,
|
|
68752
|
+
args: args115,
|
|
68753
|
+
tool: async (client, args116, ctx) => {
|
|
68754
|
+
const [result, apiCall] = await terminalConfigurationsGet(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68755
|
+
if (!result.ok) {
|
|
68756
|
+
return {
|
|
68757
|
+
content: [{ type: "text", text: result.error.message }],
|
|
68758
|
+
isError: true
|
|
68759
|
+
};
|
|
68760
|
+
}
|
|
68761
|
+
const value = result.value.result;
|
|
68762
|
+
return formatResult(value, apiCall);
|
|
68763
|
+
}
|
|
68764
|
+
};
|
|
68765
|
+
});
|
|
68766
|
+
|
|
68767
|
+
// src/funcs/transfersCreate.ts
|
|
68768
|
+
function transfersCreate(client, request, options) {
|
|
68769
|
+
return new APIPromise($do116(client, request, options));
|
|
68770
|
+
}
|
|
68771
|
+
async function $do116(client, request, options) {
|
|
68548
68772
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68549
68773
|
if (!parsed.ok) {
|
|
68550
68774
|
return [parsed, { status: "invalid" }];
|
|
@@ -68635,12 +68859,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
68635
68859
|
});
|
|
68636
68860
|
|
|
68637
68861
|
// src/mcp-server/tools/transfersCreate.ts
|
|
68638
|
-
var
|
|
68862
|
+
var args116, tool$transfersCreate;
|
|
68639
68863
|
var init_transfersCreate2 = __esm(() => {
|
|
68640
68864
|
init_transfersCreate();
|
|
68641
68865
|
init_operations();
|
|
68642
68866
|
init_tools();
|
|
68643
|
-
|
|
68867
|
+
args116 = {
|
|
68644
68868
|
request: CreateTransferRequest$inboundSchema
|
|
68645
68869
|
};
|
|
68646
68870
|
tool$transfersCreate = {
|
|
@@ -68651,9 +68875,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
68651
68875
|
|
|
68652
68876
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
68653
68877
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
68654
|
-
args:
|
|
68655
|
-
tool: async (client,
|
|
68656
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
68878
|
+
args: args116,
|
|
68879
|
+
tool: async (client, args117, ctx) => {
|
|
68880
|
+
const [result, apiCall] = await transfersCreate(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68657
68881
|
if (!result.ok) {
|
|
68658
68882
|
return {
|
|
68659
68883
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68668,9 +68892,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
68668
68892
|
|
|
68669
68893
|
// src/funcs/transfersCreateCancellation.ts
|
|
68670
68894
|
function transfersCreateCancellation(client, request, options) {
|
|
68671
|
-
return new APIPromise($
|
|
68895
|
+
return new APIPromise($do117(client, request, options));
|
|
68672
68896
|
}
|
|
68673
|
-
async function $
|
|
68897
|
+
async function $do117(client, request, options) {
|
|
68674
68898
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68675
68899
|
if (!parsed.ok) {
|
|
68676
68900
|
return [parsed, { status: "invalid" }];
|
|
@@ -68751,12 +68975,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
68751
68975
|
});
|
|
68752
68976
|
|
|
68753
68977
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
68754
|
-
var
|
|
68978
|
+
var args117, tool$transfersCreateCancellation;
|
|
68755
68979
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
68756
68980
|
init_transfersCreateCancellation();
|
|
68757
68981
|
init_operations();
|
|
68758
68982
|
init_tools();
|
|
68759
|
-
|
|
68983
|
+
args117 = {
|
|
68760
68984
|
request: CreateCancellationRequest$inboundSchema
|
|
68761
68985
|
};
|
|
68762
68986
|
tool$transfersCreateCancellation = {
|
|
@@ -68765,9 +68989,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
68765
68989
|
|
|
68766
68990
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
68767
68991
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
68768
|
-
args:
|
|
68769
|
-
tool: async (client,
|
|
68770
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
68992
|
+
args: args117,
|
|
68993
|
+
tool: async (client, args118, ctx) => {
|
|
68994
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68771
68995
|
if (!result.ok) {
|
|
68772
68996
|
return {
|
|
68773
68997
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68782,9 +69006,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
68782
69006
|
|
|
68783
69007
|
// src/funcs/transfersCreateReversal.ts
|
|
68784
69008
|
function transfersCreateReversal(client, request, options) {
|
|
68785
|
-
return new APIPromise($
|
|
69009
|
+
return new APIPromise($do118(client, request, options));
|
|
68786
69010
|
}
|
|
68787
|
-
async function $
|
|
69011
|
+
async function $do118(client, request, options) {
|
|
68788
69012
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
68789
69013
|
if (!parsed.ok) {
|
|
68790
69014
|
return [parsed, { status: "invalid" }];
|
|
@@ -68881,12 +69105,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
68881
69105
|
});
|
|
68882
69106
|
|
|
68883
69107
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
68884
|
-
var
|
|
69108
|
+
var args118, tool$transfersCreateReversal;
|
|
68885
69109
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
68886
69110
|
init_transfersCreateReversal();
|
|
68887
69111
|
init_operations();
|
|
68888
69112
|
init_tools();
|
|
68889
|
-
|
|
69113
|
+
args118 = {
|
|
68890
69114
|
request: CreateReversalRequest$inboundSchema
|
|
68891
69115
|
};
|
|
68892
69116
|
tool$transfersCreateReversal = {
|
|
@@ -68897,9 +69121,9 @@ to learn more.
|
|
|
68897
69121
|
|
|
68898
69122
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
68899
69123
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
68900
|
-
args:
|
|
68901
|
-
tool: async (client,
|
|
68902
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
69124
|
+
args: args118,
|
|
69125
|
+
tool: async (client, args119, ctx) => {
|
|
69126
|
+
const [result, apiCall] = await transfersCreateReversal(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
68903
69127
|
if (!result.ok) {
|
|
68904
69128
|
return {
|
|
68905
69129
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -68914,9 +69138,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
68914
69138
|
|
|
68915
69139
|
// src/funcs/transfersGenerateOptions.ts
|
|
68916
69140
|
function transfersGenerateOptions(client, request, options) {
|
|
68917
|
-
return new APIPromise($
|
|
69141
|
+
return new APIPromise($do119(client, request, options));
|
|
68918
69142
|
}
|
|
68919
|
-
async function $
|
|
69143
|
+
async function $do119(client, request, options) {
|
|
68920
69144
|
const parsed = safeParse(request, (value) => CreateTransferOptions$outboundSchema.parse(value), "Input validation failed");
|
|
68921
69145
|
if (!parsed.ok) {
|
|
68922
69146
|
return [parsed, { status: "invalid" }];
|
|
@@ -68991,12 +69215,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
68991
69215
|
});
|
|
68992
69216
|
|
|
68993
69217
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
68994
|
-
var
|
|
69218
|
+
var args119, tool$transfersGenerateOptions;
|
|
68995
69219
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
68996
69220
|
init_transfersGenerateOptions();
|
|
68997
69221
|
init_components();
|
|
68998
69222
|
init_tools();
|
|
68999
|
-
|
|
69223
|
+
args119 = {
|
|
69000
69224
|
request: CreateTransferOptions$inboundSchema
|
|
69001
69225
|
};
|
|
69002
69226
|
tool$transfersGenerateOptions = {
|
|
@@ -69008,9 +69232,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
69008
69232
|
|
|
69009
69233
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69010
69234
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
69011
|
-
args:
|
|
69012
|
-
tool: async (client,
|
|
69013
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
69235
|
+
args: args119,
|
|
69236
|
+
tool: async (client, args120, ctx) => {
|
|
69237
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69014
69238
|
if (!result.ok) {
|
|
69015
69239
|
return {
|
|
69016
69240
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69025,9 +69249,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
69025
69249
|
|
|
69026
69250
|
// src/funcs/transfersGet.ts
|
|
69027
69251
|
function transfersGet(client, request, options) {
|
|
69028
|
-
return new APIPromise($
|
|
69252
|
+
return new APIPromise($do120(client, request, options));
|
|
69029
69253
|
}
|
|
69030
|
-
async function $
|
|
69254
|
+
async function $do120(client, request, options) {
|
|
69031
69255
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69032
69256
|
if (!parsed.ok) {
|
|
69033
69257
|
return [parsed, { status: "invalid" }];
|
|
@@ -69107,12 +69331,12 @@ var init_transfersGet = __esm(() => {
|
|
|
69107
69331
|
});
|
|
69108
69332
|
|
|
69109
69333
|
// src/mcp-server/tools/transfersGet.ts
|
|
69110
|
-
var
|
|
69334
|
+
var args120, tool$transfersGet;
|
|
69111
69335
|
var init_transfersGet2 = __esm(() => {
|
|
69112
69336
|
init_transfersGet();
|
|
69113
69337
|
init_operations();
|
|
69114
69338
|
init_tools();
|
|
69115
|
-
|
|
69339
|
+
args120 = {
|
|
69116
69340
|
request: GetTransferRequest$inboundSchema
|
|
69117
69341
|
};
|
|
69118
69342
|
tool$transfersGet = {
|
|
@@ -69124,9 +69348,9 @@ to learn more.
|
|
|
69124
69348
|
|
|
69125
69349
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69126
69350
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
69127
|
-
args:
|
|
69128
|
-
tool: async (client,
|
|
69129
|
-
const [result, apiCall] = await transfersGet(client,
|
|
69351
|
+
args: args120,
|
|
69352
|
+
tool: async (client, args121, ctx) => {
|
|
69353
|
+
const [result, apiCall] = await transfersGet(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69130
69354
|
if (!result.ok) {
|
|
69131
69355
|
return {
|
|
69132
69356
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69141,9 +69365,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
69141
69365
|
|
|
69142
69366
|
// src/funcs/transfersGetCancellation.ts
|
|
69143
69367
|
function transfersGetCancellation(client, request, options) {
|
|
69144
|
-
return new APIPromise($
|
|
69368
|
+
return new APIPromise($do121(client, request, options));
|
|
69145
69369
|
}
|
|
69146
|
-
async function $
|
|
69370
|
+
async function $do121(client, request, options) {
|
|
69147
69371
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69148
69372
|
if (!parsed.ok) {
|
|
69149
69373
|
return [parsed, { status: "invalid" }];
|
|
@@ -69227,12 +69451,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
69227
69451
|
});
|
|
69228
69452
|
|
|
69229
69453
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
69230
|
-
var
|
|
69454
|
+
var args121, tool$transfersGetCancellation;
|
|
69231
69455
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
69232
69456
|
init_transfersGetCancellation();
|
|
69233
69457
|
init_operations();
|
|
69234
69458
|
init_tools();
|
|
69235
|
-
|
|
69459
|
+
args121 = {
|
|
69236
69460
|
request: GetCancellationRequest$inboundSchema
|
|
69237
69461
|
};
|
|
69238
69462
|
tool$transfersGetCancellation = {
|
|
@@ -69241,9 +69465,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
69241
69465
|
|
|
69242
69466
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
69243
69467
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
69244
|
-
args:
|
|
69245
|
-
tool: async (client,
|
|
69246
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
69468
|
+
args: args121,
|
|
69469
|
+
tool: async (client, args122, ctx) => {
|
|
69470
|
+
const [result, apiCall] = await transfersGetCancellation(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69247
69471
|
if (!result.ok) {
|
|
69248
69472
|
return {
|
|
69249
69473
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69258,9 +69482,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
69258
69482
|
|
|
69259
69483
|
// src/funcs/transfersGetRefund.ts
|
|
69260
69484
|
function transfersGetRefund(client, request, options) {
|
|
69261
|
-
return new APIPromise($
|
|
69485
|
+
return new APIPromise($do122(client, request, options));
|
|
69262
69486
|
}
|
|
69263
|
-
async function $
|
|
69487
|
+
async function $do122(client, request, options) {
|
|
69264
69488
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69265
69489
|
if (!parsed.ok) {
|
|
69266
69490
|
return [parsed, { status: "invalid" }];
|
|
@@ -69344,12 +69568,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
69344
69568
|
});
|
|
69345
69569
|
|
|
69346
69570
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
69347
|
-
var
|
|
69571
|
+
var args122, tool$transfersGetRefund;
|
|
69348
69572
|
var init_transfersGetRefund2 = __esm(() => {
|
|
69349
69573
|
init_transfersGetRefund();
|
|
69350
69574
|
init_operations();
|
|
69351
69575
|
init_tools();
|
|
69352
|
-
|
|
69576
|
+
args122 = {
|
|
69353
69577
|
request: GetRefundRequest$inboundSchema
|
|
69354
69578
|
};
|
|
69355
69579
|
tool$transfersGetRefund = {
|
|
@@ -69358,9 +69582,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
69358
69582
|
|
|
69359
69583
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69360
69584
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
69361
|
-
args:
|
|
69362
|
-
tool: async (client,
|
|
69363
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
69585
|
+
args: args122,
|
|
69586
|
+
tool: async (client, args123, ctx) => {
|
|
69587
|
+
const [result, apiCall] = await transfersGetRefund(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69364
69588
|
if (!result.ok) {
|
|
69365
69589
|
return {
|
|
69366
69590
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69375,9 +69599,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
69375
69599
|
|
|
69376
69600
|
// src/funcs/transfersInitiateRefund.ts
|
|
69377
69601
|
function transfersInitiateRefund(client, request, options) {
|
|
69378
|
-
return new APIPromise($
|
|
69602
|
+
return new APIPromise($do123(client, request, options));
|
|
69379
69603
|
}
|
|
69380
|
-
async function $
|
|
69604
|
+
async function $do123(client, request, options) {
|
|
69381
69605
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69382
69606
|
if (!parsed.ok) {
|
|
69383
69607
|
return [parsed, { status: "invalid" }];
|
|
@@ -69467,12 +69691,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
69467
69691
|
});
|
|
69468
69692
|
|
|
69469
69693
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
69470
|
-
var
|
|
69694
|
+
var args123, tool$transfersInitiateRefund;
|
|
69471
69695
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
69472
69696
|
init_transfersInitiateRefund();
|
|
69473
69697
|
init_operations();
|
|
69474
69698
|
init_tools();
|
|
69475
|
-
|
|
69699
|
+
args123 = {
|
|
69476
69700
|
request: InitiateRefundRequest$inboundSchema
|
|
69477
69701
|
};
|
|
69478
69702
|
tool$transfersInitiateRefund = {
|
|
@@ -69484,9 +69708,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
69484
69708
|
|
|
69485
69709
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69486
69710
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
69487
|
-
args:
|
|
69488
|
-
tool: async (client,
|
|
69489
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
69711
|
+
args: args123,
|
|
69712
|
+
tool: async (client, args124, ctx) => {
|
|
69713
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69490
69714
|
if (!result.ok) {
|
|
69491
69715
|
return {
|
|
69492
69716
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69501,9 +69725,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
69501
69725
|
|
|
69502
69726
|
// src/funcs/transfersList.ts
|
|
69503
69727
|
function transfersList(client, request, options) {
|
|
69504
|
-
return new APIPromise($
|
|
69728
|
+
return new APIPromise($do124(client, request, options));
|
|
69505
69729
|
}
|
|
69506
|
-
async function $
|
|
69730
|
+
async function $do124(client, request, options) {
|
|
69507
69731
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69508
69732
|
if (!parsed.ok) {
|
|
69509
69733
|
return [parsed, { status: "invalid" }];
|
|
@@ -69591,12 +69815,12 @@ var init_transfersList = __esm(() => {
|
|
|
69591
69815
|
});
|
|
69592
69816
|
|
|
69593
69817
|
// src/mcp-server/tools/transfersList.ts
|
|
69594
|
-
var
|
|
69818
|
+
var args124, tool$transfersList;
|
|
69595
69819
|
var init_transfersList2 = __esm(() => {
|
|
69596
69820
|
init_transfersList();
|
|
69597
69821
|
init_operations();
|
|
69598
69822
|
init_tools();
|
|
69599
|
-
|
|
69823
|
+
args124 = {
|
|
69600
69824
|
request: ListTransfersRequest$inboundSchema
|
|
69601
69825
|
};
|
|
69602
69826
|
tool$transfersList = {
|
|
@@ -69612,9 +69836,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
69612
69836
|
|
|
69613
69837
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69614
69838
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
69615
|
-
args:
|
|
69616
|
-
tool: async (client,
|
|
69617
|
-
const [result, apiCall] = await transfersList(client,
|
|
69839
|
+
args: args124,
|
|
69840
|
+
tool: async (client, args125, ctx) => {
|
|
69841
|
+
const [result, apiCall] = await transfersList(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69618
69842
|
if (!result.ok) {
|
|
69619
69843
|
return {
|
|
69620
69844
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69629,9 +69853,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
69629
69853
|
|
|
69630
69854
|
// src/funcs/transfersListRefunds.ts
|
|
69631
69855
|
function transfersListRefunds(client, request, options) {
|
|
69632
|
-
return new APIPromise($
|
|
69856
|
+
return new APIPromise($do125(client, request, options));
|
|
69633
69857
|
}
|
|
69634
|
-
async function $
|
|
69858
|
+
async function $do125(client, request, options) {
|
|
69635
69859
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69636
69860
|
if (!parsed.ok) {
|
|
69637
69861
|
return [parsed, { status: "invalid" }];
|
|
@@ -69711,12 +69935,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
69711
69935
|
});
|
|
69712
69936
|
|
|
69713
69937
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
69714
|
-
var
|
|
69938
|
+
var args125, tool$transfersListRefunds;
|
|
69715
69939
|
var init_transfersListRefunds2 = __esm(() => {
|
|
69716
69940
|
init_transfersListRefunds();
|
|
69717
69941
|
init_operations();
|
|
69718
69942
|
init_tools();
|
|
69719
|
-
|
|
69943
|
+
args125 = {
|
|
69720
69944
|
request: ListRefundsRequest$inboundSchema
|
|
69721
69945
|
};
|
|
69722
69946
|
tool$transfersListRefunds = {
|
|
@@ -69725,9 +69949,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
69725
69949
|
|
|
69726
69950
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69727
69951
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
69728
|
-
args:
|
|
69729
|
-
tool: async (client,
|
|
69730
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
69952
|
+
args: args125,
|
|
69953
|
+
tool: async (client, args126, ctx) => {
|
|
69954
|
+
const [result, apiCall] = await transfersListRefunds(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69731
69955
|
if (!result.ok) {
|
|
69732
69956
|
return {
|
|
69733
69957
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69742,9 +69966,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
69742
69966
|
|
|
69743
69967
|
// src/funcs/transfersUpdate.ts
|
|
69744
69968
|
function transfersUpdate(client, request, options) {
|
|
69745
|
-
return new APIPromise($
|
|
69969
|
+
return new APIPromise($do126(client, request, options));
|
|
69746
69970
|
}
|
|
69747
|
-
async function $
|
|
69971
|
+
async function $do126(client, request, options) {
|
|
69748
69972
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69749
69973
|
if (!parsed.ok) {
|
|
69750
69974
|
return [parsed, { status: "invalid" }];
|
|
@@ -69825,12 +70049,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
69825
70049
|
});
|
|
69826
70050
|
|
|
69827
70051
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
69828
|
-
var
|
|
70052
|
+
var args126, tool$transfersUpdate;
|
|
69829
70053
|
var init_transfersUpdate2 = __esm(() => {
|
|
69830
70054
|
init_transfersUpdate();
|
|
69831
70055
|
init_operations();
|
|
69832
70056
|
init_tools();
|
|
69833
|
-
|
|
70057
|
+
args126 = {
|
|
69834
70058
|
request: UpdateTransferRequest$inboundSchema
|
|
69835
70059
|
};
|
|
69836
70060
|
tool$transfersUpdate = {
|
|
@@ -69841,9 +70065,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
69841
70065
|
|
|
69842
70066
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69843
70067
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
69844
|
-
args:
|
|
69845
|
-
tool: async (client,
|
|
69846
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
70068
|
+
args: args126,
|
|
70069
|
+
tool: async (client, args127, ctx) => {
|
|
70070
|
+
const [result, apiCall] = await transfersUpdate(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69847
70071
|
if (!result.ok) {
|
|
69848
70072
|
return {
|
|
69849
70073
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69858,9 +70082,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
69858
70082
|
|
|
69859
70083
|
// src/funcs/underwritingGet.ts
|
|
69860
70084
|
function underwritingGet(client, request, options) {
|
|
69861
|
-
return new APIPromise($
|
|
70085
|
+
return new APIPromise($do127(client, request, options));
|
|
69862
70086
|
}
|
|
69863
|
-
async function $
|
|
70087
|
+
async function $do127(client, request, options) {
|
|
69864
70088
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69865
70089
|
if (!parsed.ok) {
|
|
69866
70090
|
return [parsed, { status: "invalid" }];
|
|
@@ -69936,12 +70160,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
69936
70160
|
});
|
|
69937
70161
|
|
|
69938
70162
|
// src/mcp-server/tools/underwritingGet.ts
|
|
69939
|
-
var
|
|
70163
|
+
var args127, tool$underwritingGet;
|
|
69940
70164
|
var init_underwritingGet2 = __esm(() => {
|
|
69941
70165
|
init_underwritingGet();
|
|
69942
70166
|
init_operations();
|
|
69943
70167
|
init_tools();
|
|
69944
|
-
|
|
70168
|
+
args127 = {
|
|
69945
70169
|
request: GetUnderwritingRequest$inboundSchema
|
|
69946
70170
|
};
|
|
69947
70171
|
tool$underwritingGet = {
|
|
@@ -69952,9 +70176,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
69952
70176
|
|
|
69953
70177
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
69954
70178
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
69955
|
-
args:
|
|
69956
|
-
tool: async (client,
|
|
69957
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
70179
|
+
args: args127,
|
|
70180
|
+
tool: async (client, args128, ctx) => {
|
|
70181
|
+
const [result, apiCall] = await underwritingGet(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
69958
70182
|
if (!result.ok) {
|
|
69959
70183
|
return {
|
|
69960
70184
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -69969,9 +70193,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
69969
70193
|
|
|
69970
70194
|
// src/funcs/underwritingUpsert.ts
|
|
69971
70195
|
function underwritingUpsert(client, request, options) {
|
|
69972
|
-
return new APIPromise($
|
|
70196
|
+
return new APIPromise($do128(client, request, options));
|
|
69973
70197
|
}
|
|
69974
|
-
async function $
|
|
70198
|
+
async function $do128(client, request, options) {
|
|
69975
70199
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
69976
70200
|
if (!parsed.ok) {
|
|
69977
70201
|
return [parsed, { status: "invalid" }];
|
|
@@ -70065,12 +70289,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
70065
70289
|
});
|
|
70066
70290
|
|
|
70067
70291
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
70068
|
-
var
|
|
70292
|
+
var args128, tool$underwritingUpsert;
|
|
70069
70293
|
var init_underwritingUpsert2 = __esm(() => {
|
|
70070
70294
|
init_underwritingUpsert();
|
|
70071
70295
|
init_operations();
|
|
70072
70296
|
init_tools();
|
|
70073
|
-
|
|
70297
|
+
args128 = {
|
|
70074
70298
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
70075
70299
|
};
|
|
70076
70300
|
tool$underwritingUpsert = {
|
|
@@ -70081,9 +70305,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
70081
70305
|
|
|
70082
70306
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70083
70307
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
70084
|
-
args:
|
|
70085
|
-
tool: async (client,
|
|
70086
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
70308
|
+
args: args128,
|
|
70309
|
+
tool: async (client, args129, ctx) => {
|
|
70310
|
+
const [result, apiCall] = await underwritingUpsert(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70087
70311
|
if (!result.ok) {
|
|
70088
70312
|
return {
|
|
70089
70313
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70098,9 +70322,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
70098
70322
|
|
|
70099
70323
|
// src/funcs/walletsGet.ts
|
|
70100
70324
|
function walletsGet(client, request, options) {
|
|
70101
|
-
return new APIPromise($
|
|
70325
|
+
return new APIPromise($do129(client, request, options));
|
|
70102
70326
|
}
|
|
70103
|
-
async function $
|
|
70327
|
+
async function $do129(client, request, options) {
|
|
70104
70328
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70105
70329
|
if (!parsed.ok) {
|
|
70106
70330
|
return [parsed, { status: "invalid" }];
|
|
@@ -70180,12 +70404,12 @@ var init_walletsGet = __esm(() => {
|
|
|
70180
70404
|
});
|
|
70181
70405
|
|
|
70182
70406
|
// src/mcp-server/tools/walletsGet.ts
|
|
70183
|
-
var
|
|
70407
|
+
var args129, tool$walletsGet;
|
|
70184
70408
|
var init_walletsGet2 = __esm(() => {
|
|
70185
70409
|
init_walletsGet();
|
|
70186
70410
|
init_operations();
|
|
70187
70411
|
init_tools();
|
|
70188
|
-
|
|
70412
|
+
args129 = {
|
|
70189
70413
|
request: GetWalletRequest$inboundSchema
|
|
70190
70414
|
};
|
|
70191
70415
|
tool$walletsGet = {
|
|
@@ -70196,9 +70420,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
70196
70420
|
|
|
70197
70421
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70198
70422
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
70199
|
-
args:
|
|
70200
|
-
tool: async (client,
|
|
70201
|
-
const [result, apiCall] = await walletsGet(client,
|
|
70423
|
+
args: args129,
|
|
70424
|
+
tool: async (client, args130, ctx) => {
|
|
70425
|
+
const [result, apiCall] = await walletsGet(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70202
70426
|
if (!result.ok) {
|
|
70203
70427
|
return {
|
|
70204
70428
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70213,9 +70437,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
70213
70437
|
|
|
70214
70438
|
// src/funcs/walletsList.ts
|
|
70215
70439
|
function walletsList(client, request, options) {
|
|
70216
|
-
return new APIPromise($
|
|
70440
|
+
return new APIPromise($do130(client, request, options));
|
|
70217
70441
|
}
|
|
70218
|
-
async function $
|
|
70442
|
+
async function $do130(client, request, options) {
|
|
70219
70443
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70220
70444
|
if (!parsed.ok) {
|
|
70221
70445
|
return [parsed, { status: "invalid" }];
|
|
@@ -70291,12 +70515,12 @@ var init_walletsList = __esm(() => {
|
|
|
70291
70515
|
});
|
|
70292
70516
|
|
|
70293
70517
|
// src/mcp-server/tools/walletsList.ts
|
|
70294
|
-
var
|
|
70518
|
+
var args130, tool$walletsList;
|
|
70295
70519
|
var init_walletsList2 = __esm(() => {
|
|
70296
70520
|
init_walletsList();
|
|
70297
70521
|
init_operations();
|
|
70298
70522
|
init_tools();
|
|
70299
|
-
|
|
70523
|
+
args130 = {
|
|
70300
70524
|
request: ListWalletsRequest$inboundSchema
|
|
70301
70525
|
};
|
|
70302
70526
|
tool$walletsList = {
|
|
@@ -70307,9 +70531,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
70307
70531
|
|
|
70308
70532
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70309
70533
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
70310
|
-
args:
|
|
70311
|
-
tool: async (client,
|
|
70312
|
-
const [result, apiCall] = await walletsList(client,
|
|
70534
|
+
args: args130,
|
|
70535
|
+
tool: async (client, args131, ctx) => {
|
|
70536
|
+
const [result, apiCall] = await walletsList(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70313
70537
|
if (!result.ok) {
|
|
70314
70538
|
return {
|
|
70315
70539
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70324,9 +70548,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
70324
70548
|
|
|
70325
70549
|
// src/funcs/walletTransactionsGet.ts
|
|
70326
70550
|
function walletTransactionsGet(client, request, options) {
|
|
70327
|
-
return new APIPromise($
|
|
70551
|
+
return new APIPromise($do131(client, request, options));
|
|
70328
70552
|
}
|
|
70329
|
-
async function $
|
|
70553
|
+
async function $do131(client, request, options) {
|
|
70330
70554
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70331
70555
|
if (!parsed.ok) {
|
|
70332
70556
|
return [parsed, { status: "invalid" }];
|
|
@@ -70410,12 +70634,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
70410
70634
|
});
|
|
70411
70635
|
|
|
70412
70636
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
70413
|
-
var
|
|
70637
|
+
var args131, tool$walletTransactionsGet;
|
|
70414
70638
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
70415
70639
|
init_walletTransactionsGet();
|
|
70416
70640
|
init_operations();
|
|
70417
70641
|
init_tools();
|
|
70418
|
-
|
|
70642
|
+
args131 = {
|
|
70419
70643
|
request: GetWalletTransactionRequest$inboundSchema
|
|
70420
70644
|
};
|
|
70421
70645
|
tool$walletTransactionsGet = {
|
|
@@ -70426,9 +70650,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
70426
70650
|
|
|
70427
70651
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70428
70652
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
70429
|
-
args:
|
|
70430
|
-
tool: async (client,
|
|
70431
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
70653
|
+
args: args131,
|
|
70654
|
+
tool: async (client, args132, ctx) => {
|
|
70655
|
+
const [result, apiCall] = await walletTransactionsGet(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70432
70656
|
if (!result.ok) {
|
|
70433
70657
|
return {
|
|
70434
70658
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70443,9 +70667,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
70443
70667
|
|
|
70444
70668
|
// src/funcs/walletTransactionsList.ts
|
|
70445
70669
|
function walletTransactionsList(client, request, options) {
|
|
70446
|
-
return new APIPromise($
|
|
70670
|
+
return new APIPromise($do132(client, request, options));
|
|
70447
70671
|
}
|
|
70448
|
-
async function $
|
|
70672
|
+
async function $do132(client, request, options) {
|
|
70449
70673
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
70450
70674
|
if (!parsed.ok) {
|
|
70451
70675
|
return [parsed, { status: "invalid" }];
|
|
@@ -70540,12 +70764,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
70540
70764
|
});
|
|
70541
70765
|
|
|
70542
70766
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
70543
|
-
var
|
|
70767
|
+
var args132, tool$walletTransactionsList;
|
|
70544
70768
|
var init_walletTransactionsList2 = __esm(() => {
|
|
70545
70769
|
init_walletTransactionsList();
|
|
70546
70770
|
init_operations();
|
|
70547
70771
|
init_tools();
|
|
70548
|
-
|
|
70772
|
+
args132 = {
|
|
70549
70773
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
70550
70774
|
};
|
|
70551
70775
|
tool$walletTransactionsList = {
|
|
@@ -70556,9 +70780,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
70556
70780
|
|
|
70557
70781
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
70558
70782
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
70559
|
-
args:
|
|
70560
|
-
tool: async (client,
|
|
70561
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
70783
|
+
args: args132,
|
|
70784
|
+
tool: async (client, args133, ctx) => {
|
|
70785
|
+
const [result, apiCall] = await walletTransactionsList(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
70562
70786
|
if (!result.ok) {
|
|
70563
70787
|
return {
|
|
70564
70788
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -70575,7 +70799,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
70575
70799
|
function createMCPServer(deps) {
|
|
70576
70800
|
const server = new McpServer({
|
|
70577
70801
|
name: "Moov",
|
|
70578
|
-
version: "0.
|
|
70802
|
+
version: "0.10.1"
|
|
70579
70803
|
});
|
|
70580
70804
|
const client = new MoovCore({
|
|
70581
70805
|
security: deps.security,
|
|
@@ -70674,6 +70898,7 @@ function createMCPServer(deps) {
|
|
|
70674
70898
|
tool(tool$sweepsUpdateConfig);
|
|
70675
70899
|
tool(tool$sweepsList);
|
|
70676
70900
|
tool(tool$sweepsGet);
|
|
70901
|
+
tool(tool$terminalConfigurationsGet);
|
|
70677
70902
|
tool(tool$transfersCreate);
|
|
70678
70903
|
tool(tool$transfersList);
|
|
70679
70904
|
tool(tool$transfersGet);
|
|
@@ -70843,6 +71068,7 @@ var init_server2 = __esm(() => {
|
|
|
70843
71068
|
init_terminalApplicationsDelete2();
|
|
70844
71069
|
init_terminalApplicationsGet2();
|
|
70845
71070
|
init_terminalApplicationsList2();
|
|
71071
|
+
init_terminalConfigurationsGet2();
|
|
70846
71072
|
init_transfersCreate2();
|
|
70847
71073
|
init_transfersCreateCancellation2();
|
|
70848
71074
|
init_transfersCreateReversal2();
|
|
@@ -72074,7 +72300,7 @@ var routes = rn({
|
|
|
72074
72300
|
var app = Ve(routes, {
|
|
72075
72301
|
name: "mcp",
|
|
72076
72302
|
versionInfo: {
|
|
72077
|
-
currentVersion: "0.
|
|
72303
|
+
currentVersion: "0.10.1"
|
|
72078
72304
|
}
|
|
72079
72305
|
});
|
|
72080
72306
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -72082,5 +72308,5 @@ export {
|
|
|
72082
72308
|
app
|
|
72083
72309
|
};
|
|
72084
72310
|
|
|
72085
|
-
//# debugId=
|
|
72311
|
+
//# debugId=EC15EF2799041F1B64756E2164756E21
|
|
72086
72312
|
//# sourceMappingURL=mcp-server.js.map
|