@moovio/sdk 0.5.3 → 0.6.0
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/bin/mcp-server.js +96 -75
- package/bin/mcp-server.js.map +18 -18
- package/docs/sdks/feeplans/README.md +8 -0
- package/funcs/feePlansListFeePlanAgreements.js +2 -0
- package/funcs/feePlansListFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansListPartnerPricingAgreements.js +2 -0
- package/funcs/feePlansListPartnerPricingAgreements.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/cli/start/command.d.ts.map +1 -1
- package/mcp-server/cli/start/command.js +9 -0
- package/mcp-server/cli/start/command.js.map +1 -1
- package/mcp-server/cli/start/impl.d.ts +1 -0
- package/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/mcp-server/cli/start/impl.js +2 -0
- package/mcp-server/cli/start/impl.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts +1 -0
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -2
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools.d.ts +1 -1
- package/mcp-server/tools.d.ts.map +1 -1
- package/mcp-server/tools.js +4 -1
- package/mcp-server/tools.js.map +1 -1
- package/models/components/feecategory.d.ts +15 -12
- package/models/components/feecategory.d.ts.map +1 -1
- package/models/components/feecategory.js +5 -4
- package/models/components/feecategory.js.map +1 -1
- package/models/components/governmentid.d.ts +30 -30
- package/models/components/governmentid.d.ts.map +1 -1
- package/models/components/governmentid.js +35 -38
- package/models/components/governmentid.js.map +1 -1
- package/models/components/governmentiderror.d.ts +30 -30
- package/models/components/governmentiderror.d.ts.map +1 -1
- package/models/components/governmentiderror.js +38 -35
- package/models/components/governmentiderror.js.map +1 -1
- package/models/components/onboardinginvite.d.ts +6 -1
- package/models/components/onboardinginvite.d.ts.map +1 -1
- package/models/components/onboardinginvite.js +3 -10
- package/models/components/onboardinginvite.js.map +1 -1
- package/models/components/taxid.d.ts +15 -15
- package/models/components/taxid.d.ts.map +1 -1
- package/models/components/taxid.js +18 -20
- package/models/components/taxid.js.map +1 -1
- package/models/components/taxidupdate.d.ts +15 -15
- package/models/components/taxidupdate.d.ts.map +1 -1
- package/models/components/taxidupdate.js +20 -18
- package/models/components/taxidupdate.js.map +1 -1
- package/models/operations/listfeeplanagreements.d.ts +4 -0
- package/models/operations/listfeeplanagreements.d.ts.map +1 -1
- package/models/operations/listfeeplanagreements.js +4 -0
- package/models/operations/listfeeplanagreements.js.map +1 -1
- package/models/operations/listpartnerpricingagreements.d.ts +4 -0
- package/models/operations/listpartnerpricingagreements.d.ts.map +1 -1
- package/models/operations/listpartnerpricingagreements.js +4 -0
- package/models/operations/listpartnerpricingagreements.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/feePlansListFeePlanAgreements.ts +2 -0
- package/src/funcs/feePlansListPartnerPricingAgreements.ts +2 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/cli/start/command.ts +9 -0
- package/src/mcp-server/cli/start/impl.ts +3 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +10 -2
- package/src/mcp-server/tools.ts +5 -0
- package/src/models/components/feecategory.ts +5 -4
- package/src/models/components/governmentid.ts +76 -58
- package/src/models/components/governmentiderror.ts +58 -78
- package/src/models/components/onboardinginvite.ts +9 -11
- package/src/models/components/taxid.ts +33 -27
- package/src/models/components/taxidupdate.ts +27 -33
- package/src/models/operations/listfeeplanagreements.ts +8 -0
- package/src/models/operations/listpartnerpricingagreements.ts +8 -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.6.0",
|
|
34217
|
+
genVersion: "2.539.0",
|
|
34218
|
+
userAgent: "speakeasy-sdk/typescript 0.6.0 2.539.0 latest @moovio/sdk"
|
|
34219
34219
|
};
|
|
34220
34220
|
});
|
|
34221
34221
|
|
|
@@ -35085,8 +35085,11 @@ async function consumeSSE(value) {
|
|
|
35085
35085
|
}
|
|
35086
35086
|
return content;
|
|
35087
35087
|
}
|
|
35088
|
-
function createRegisterTool(logger, server, sdk, allowedScopes) {
|
|
35088
|
+
function createRegisterTool(logger, server, sdk, allowedScopes, allowedTools) {
|
|
35089
35089
|
return (tool) => {
|
|
35090
|
+
if (allowedTools && !allowedTools.has(tool.name)) {
|
|
35091
|
+
return;
|
|
35092
|
+
}
|
|
35090
35093
|
const toolScopes = tool.scopes ?? [];
|
|
35091
35094
|
if (!toolScopes.every((s) => allowedScopes.has(s))) {
|
|
35092
35095
|
return;
|
|
@@ -37538,14 +37541,15 @@ var FeeCategory, FeeCategory$inboundSchema, FeeCategory$outboundSchema, FeeCateg
|
|
|
37538
37541
|
var init_feecategory = __esm(() => {
|
|
37539
37542
|
init_lib();
|
|
37540
37543
|
FeeCategory = {
|
|
37541
|
-
CardAcquiring: "card-acquiring",
|
|
37542
|
-
CardPush: "card-push",
|
|
37543
|
-
CardPull: "card-pull",
|
|
37544
37544
|
Ach: "ach",
|
|
37545
|
-
|
|
37545
|
+
CardAcquiring: "card-acquiring",
|
|
37546
37546
|
CardOther: "card-other",
|
|
37547
|
+
CardPull: "card-pull",
|
|
37548
|
+
CardPush: "card-push",
|
|
37549
|
+
MonthlyPlatform: "monthly-platform",
|
|
37547
37550
|
NetworkPassthrough: "network-passthrough",
|
|
37548
|
-
Other: "other"
|
|
37551
|
+
Other: "other",
|
|
37552
|
+
Rtp: "rtp"
|
|
37549
37553
|
};
|
|
37550
37554
|
FeeCategory$inboundSchema = nativeEnumType(FeeCategory);
|
|
37551
37555
|
FeeCategory$outboundSchema = FeeCategory$inboundSchema;
|
|
@@ -38797,24 +38801,24 @@ var init_countrieserrors = __esm(() => {
|
|
|
38797
38801
|
});
|
|
38798
38802
|
|
|
38799
38803
|
// src/models/components/taxid.ts
|
|
38800
|
-
var
|
|
38804
|
+
var TaxIDEin$inboundSchema, TaxIDEin$outboundSchema, TaxIDEin$, TaxID$inboundSchema, TaxID$outboundSchema, TaxID$;
|
|
38801
38805
|
var init_taxid = __esm(() => {
|
|
38802
38806
|
init_lib();
|
|
38803
|
-
|
|
38807
|
+
TaxIDEin$inboundSchema = objectType({
|
|
38804
38808
|
number: stringType()
|
|
38805
38809
|
});
|
|
38806
|
-
|
|
38810
|
+
TaxIDEin$outboundSchema = objectType({
|
|
38807
38811
|
number: stringType()
|
|
38808
38812
|
});
|
|
38809
|
-
((
|
|
38810
|
-
|
|
38811
|
-
|
|
38812
|
-
})(
|
|
38813
|
+
((TaxIDEin$) => {
|
|
38814
|
+
TaxIDEin$.inboundSchema = TaxIDEin$inboundSchema;
|
|
38815
|
+
TaxIDEin$.outboundSchema = TaxIDEin$outboundSchema;
|
|
38816
|
+
})(TaxIDEin$ ||= {});
|
|
38813
38817
|
TaxID$inboundSchema = objectType({
|
|
38814
|
-
ein: lazyType(() =>
|
|
38818
|
+
ein: lazyType(() => TaxIDEin$inboundSchema)
|
|
38815
38819
|
});
|
|
38816
38820
|
TaxID$outboundSchema = objectType({
|
|
38817
|
-
ein: lazyType(() =>
|
|
38821
|
+
ein: lazyType(() => TaxIDEin$outboundSchema)
|
|
38818
38822
|
});
|
|
38819
38823
|
((TaxID$) => {
|
|
38820
38824
|
TaxID$.inboundSchema = TaxID$inboundSchema;
|
|
@@ -38865,40 +38869,40 @@ var init_createbusinessprofile = __esm(() => {
|
|
|
38865
38869
|
});
|
|
38866
38870
|
|
|
38867
38871
|
// src/models/components/governmentid.ts
|
|
38868
|
-
var
|
|
38872
|
+
var GovernmentIDSsn$inboundSchema, GovernmentIDSsn$outboundSchema, GovernmentIDSsn$, GovernmentIDItin$inboundSchema, GovernmentIDItin$outboundSchema, GovernmentIDItin$, GovernmentID$inboundSchema, GovernmentID$outboundSchema, GovernmentID$;
|
|
38869
38873
|
var init_governmentid = __esm(() => {
|
|
38870
38874
|
init_lib();
|
|
38871
|
-
|
|
38875
|
+
GovernmentIDSsn$inboundSchema = objectType({
|
|
38872
38876
|
full: stringType().optional(),
|
|
38873
38877
|
lastFour: stringType().optional()
|
|
38874
38878
|
});
|
|
38875
|
-
|
|
38879
|
+
GovernmentIDSsn$outboundSchema = objectType({
|
|
38876
38880
|
full: stringType().optional(),
|
|
38877
38881
|
lastFour: stringType().optional()
|
|
38878
38882
|
});
|
|
38879
|
-
((
|
|
38880
|
-
|
|
38881
|
-
|
|
38882
|
-
})(
|
|
38883
|
-
|
|
38883
|
+
((GovernmentIDSsn$) => {
|
|
38884
|
+
GovernmentIDSsn$.inboundSchema = GovernmentIDSsn$inboundSchema;
|
|
38885
|
+
GovernmentIDSsn$.outboundSchema = GovernmentIDSsn$outboundSchema;
|
|
38886
|
+
})(GovernmentIDSsn$ ||= {});
|
|
38887
|
+
GovernmentIDItin$inboundSchema = objectType({
|
|
38884
38888
|
full: stringType().optional(),
|
|
38885
38889
|
lastFour: stringType().optional()
|
|
38886
38890
|
});
|
|
38887
|
-
|
|
38891
|
+
GovernmentIDItin$outboundSchema = objectType({
|
|
38888
38892
|
full: stringType().optional(),
|
|
38889
38893
|
lastFour: stringType().optional()
|
|
38890
38894
|
});
|
|
38891
|
-
((
|
|
38892
|
-
|
|
38893
|
-
|
|
38894
|
-
})(
|
|
38895
|
+
((GovernmentIDItin$) => {
|
|
38896
|
+
GovernmentIDItin$.inboundSchema = GovernmentIDItin$inboundSchema;
|
|
38897
|
+
GovernmentIDItin$.outboundSchema = GovernmentIDItin$outboundSchema;
|
|
38898
|
+
})(GovernmentIDItin$ ||= {});
|
|
38895
38899
|
GovernmentID$inboundSchema = objectType({
|
|
38896
|
-
ssn: lazyType(() =>
|
|
38897
|
-
itin: lazyType(() =>
|
|
38900
|
+
ssn: lazyType(() => GovernmentIDSsn$inboundSchema).optional(),
|
|
38901
|
+
itin: lazyType(() => GovernmentIDItin$inboundSchema).optional()
|
|
38898
38902
|
});
|
|
38899
38903
|
GovernmentID$outboundSchema = objectType({
|
|
38900
|
-
ssn: lazyType(() =>
|
|
38901
|
-
itin: lazyType(() =>
|
|
38904
|
+
ssn: lazyType(() => GovernmentIDSsn$outboundSchema).optional(),
|
|
38905
|
+
itin: lazyType(() => GovernmentIDItin$outboundSchema).optional()
|
|
38902
38906
|
});
|
|
38903
38907
|
((GovernmentID$) => {
|
|
38904
38908
|
GovernmentID$.inboundSchema = GovernmentID$inboundSchema;
|
|
@@ -41044,40 +41048,40 @@ var init_generatedby = __esm(() => {
|
|
|
41044
41048
|
});
|
|
41045
41049
|
|
|
41046
41050
|
// src/models/components/governmentiderror.ts
|
|
41047
|
-
var
|
|
41051
|
+
var Ssn$inboundSchema, Ssn$outboundSchema, Ssn$, Itin$inboundSchema, Itin$outboundSchema, Itin$, GovernmentIDError$inboundSchema, GovernmentIDError$outboundSchema, GovernmentIDError$;
|
|
41048
41052
|
var init_governmentiderror = __esm(() => {
|
|
41049
41053
|
init_lib();
|
|
41050
|
-
|
|
41054
|
+
Ssn$inboundSchema = objectType({
|
|
41051
41055
|
full: stringType().optional(),
|
|
41052
41056
|
lastFour: stringType().optional()
|
|
41053
41057
|
});
|
|
41054
|
-
|
|
41058
|
+
Ssn$outboundSchema = objectType({
|
|
41055
41059
|
full: stringType().optional(),
|
|
41056
41060
|
lastFour: stringType().optional()
|
|
41057
41061
|
});
|
|
41058
|
-
((
|
|
41059
|
-
|
|
41060
|
-
|
|
41061
|
-
})(
|
|
41062
|
-
|
|
41062
|
+
((Ssn$) => {
|
|
41063
|
+
Ssn$.inboundSchema = Ssn$inboundSchema;
|
|
41064
|
+
Ssn$.outboundSchema = Ssn$outboundSchema;
|
|
41065
|
+
})(Ssn$ ||= {});
|
|
41066
|
+
Itin$inboundSchema = objectType({
|
|
41063
41067
|
full: stringType().optional(),
|
|
41064
41068
|
lastFour: stringType().optional()
|
|
41065
41069
|
});
|
|
41066
|
-
|
|
41070
|
+
Itin$outboundSchema = objectType({
|
|
41067
41071
|
full: stringType().optional(),
|
|
41068
41072
|
lastFour: stringType().optional()
|
|
41069
41073
|
});
|
|
41070
|
-
((
|
|
41071
|
-
|
|
41072
|
-
|
|
41073
|
-
})(
|
|
41074
|
+
((Itin$) => {
|
|
41075
|
+
Itin$.inboundSchema = Itin$inboundSchema;
|
|
41076
|
+
Itin$.outboundSchema = Itin$outboundSchema;
|
|
41077
|
+
})(Itin$ ||= {});
|
|
41074
41078
|
GovernmentIDError$inboundSchema = objectType({
|
|
41075
|
-
ssn: lazyType(() =>
|
|
41076
|
-
itin: lazyType(() =>
|
|
41079
|
+
ssn: lazyType(() => Ssn$inboundSchema).optional(),
|
|
41080
|
+
itin: lazyType(() => Itin$inboundSchema).optional()
|
|
41077
41081
|
});
|
|
41078
41082
|
GovernmentIDError$outboundSchema = objectType({
|
|
41079
|
-
ssn: lazyType(() =>
|
|
41080
|
-
itin: lazyType(() =>
|
|
41083
|
+
ssn: lazyType(() => Ssn$outboundSchema).optional(),
|
|
41084
|
+
itin: lazyType(() => Itin$outboundSchema).optional()
|
|
41081
41085
|
});
|
|
41082
41086
|
((GovernmentIDError$) => {
|
|
41083
41087
|
GovernmentIDError$.inboundSchema = GovernmentIDError$inboundSchema;
|
|
@@ -42015,7 +42019,6 @@ var init_onboardingpartneraccount = __esm(() => {
|
|
|
42015
42019
|
var OnboardingInvite$inboundSchema, OnboardingInvite$outboundSchema, OnboardingInvite$;
|
|
42016
42020
|
var init_onboardinginvite = __esm(() => {
|
|
42017
42021
|
init_lib();
|
|
42018
|
-
init_primitives();
|
|
42019
42022
|
init_applicationscope();
|
|
42020
42023
|
init_capabilityid();
|
|
42021
42024
|
init_createaccount();
|
|
@@ -42024,19 +42027,16 @@ var init_onboardinginvite = __esm(() => {
|
|
|
42024
42027
|
code: stringType(),
|
|
42025
42028
|
link: stringType(),
|
|
42026
42029
|
returnURL: stringType().optional(),
|
|
42027
|
-
|
|
42030
|
+
termsOfServiceURL: stringType().optional(),
|
|
42028
42031
|
scopes: arrayType(ApplicationScope$inboundSchema),
|
|
42029
42032
|
capabilities: arrayType(CapabilityID$inboundSchema),
|
|
42030
42033
|
feePlanCodes: arrayType(stringType()),
|
|
42034
|
+
redeemedAccountID: stringType().optional(),
|
|
42031
42035
|
prefill: CreateAccount$inboundSchema.optional(),
|
|
42032
42036
|
partner: OnboardingPartnerAccount$inboundSchema.optional(),
|
|
42033
42037
|
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
42034
42038
|
revokedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
42035
42039
|
redeemedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
42036
|
-
}).transform((v2) => {
|
|
42037
|
-
return remap(v2, {
|
|
42038
|
-
TermsOfServiceURL: "termsOfServiceURL"
|
|
42039
|
-
});
|
|
42040
42040
|
});
|
|
42041
42041
|
OnboardingInvite$outboundSchema = objectType({
|
|
42042
42042
|
code: stringType(),
|
|
@@ -42046,15 +42046,12 @@ var init_onboardinginvite = __esm(() => {
|
|
|
42046
42046
|
scopes: arrayType(ApplicationScope$outboundSchema),
|
|
42047
42047
|
capabilities: arrayType(CapabilityID$outboundSchema),
|
|
42048
42048
|
feePlanCodes: arrayType(stringType()),
|
|
42049
|
+
redeemedAccountID: stringType().optional(),
|
|
42049
42050
|
prefill: CreateAccount$outboundSchema.optional(),
|
|
42050
42051
|
partner: OnboardingPartnerAccount$outboundSchema.optional(),
|
|
42051
42052
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
42052
42053
|
revokedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
42053
42054
|
redeemedOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
42054
|
-
}).transform((v2) => {
|
|
42055
|
-
return remap(v2, {
|
|
42056
|
-
termsOfServiceURL: "TermsOfServiceURL"
|
|
42057
|
-
});
|
|
42058
42055
|
});
|
|
42059
42056
|
((OnboardingInvite$) => {
|
|
42060
42057
|
OnboardingInvite$.inboundSchema = OnboardingInvite$inboundSchema;
|
|
@@ -42159,24 +42156,24 @@ var init_partnerpricingagreement = __esm(() => {
|
|
|
42159
42156
|
});
|
|
42160
42157
|
|
|
42161
42158
|
// src/models/components/taxidupdate.ts
|
|
42162
|
-
var
|
|
42159
|
+
var Ein$inboundSchema, Ein$outboundSchema, Ein$, TaxIDUpdate$inboundSchema, TaxIDUpdate$outboundSchema, TaxIDUpdate$;
|
|
42163
42160
|
var init_taxidupdate = __esm(() => {
|
|
42164
42161
|
init_lib();
|
|
42165
|
-
|
|
42162
|
+
Ein$inboundSchema = objectType({
|
|
42166
42163
|
number: stringType().optional()
|
|
42167
42164
|
});
|
|
42168
|
-
|
|
42165
|
+
Ein$outboundSchema = objectType({
|
|
42169
42166
|
number: stringType().optional()
|
|
42170
42167
|
});
|
|
42171
|
-
((
|
|
42172
|
-
|
|
42173
|
-
|
|
42174
|
-
})(
|
|
42168
|
+
((Ein$) => {
|
|
42169
|
+
Ein$.inboundSchema = Ein$inboundSchema;
|
|
42170
|
+
Ein$.outboundSchema = Ein$outboundSchema;
|
|
42171
|
+
})(Ein$ ||= {});
|
|
42175
42172
|
TaxIDUpdate$inboundSchema = objectType({
|
|
42176
|
-
ein: lazyType(() =>
|
|
42173
|
+
ein: lazyType(() => Ein$inboundSchema).optional()
|
|
42177
42174
|
});
|
|
42178
42175
|
TaxIDUpdate$outboundSchema = objectType({
|
|
42179
|
-
ein: lazyType(() =>
|
|
42176
|
+
ein: lazyType(() => Ein$outboundSchema).optional()
|
|
42180
42177
|
});
|
|
42181
42178
|
((TaxIDUpdate$) => {
|
|
42182
42179
|
TaxIDUpdate$.inboundSchema = TaxIDUpdate$inboundSchema;
|
|
@@ -51144,11 +51141,15 @@ var init_listfeeplanagreements = __esm(() => {
|
|
|
51144
51141
|
ListFeePlanAgreementsGlobals$.outboundSchema = ListFeePlanAgreementsGlobals$outboundSchema;
|
|
51145
51142
|
})(ListFeePlanAgreementsGlobals$ ||= {});
|
|
51146
51143
|
ListFeePlanAgreementsRequest$inboundSchema = objectType({
|
|
51144
|
+
skip: numberType().int().optional(),
|
|
51145
|
+
count: numberType().int().optional(),
|
|
51147
51146
|
accountID: stringType(),
|
|
51148
51147
|
agreementID: arrayType(stringType()).optional(),
|
|
51149
51148
|
status: arrayType(FeePlanAgreementStatus$inboundSchema).optional()
|
|
51150
51149
|
});
|
|
51151
51150
|
ListFeePlanAgreementsRequest$outboundSchema = objectType({
|
|
51151
|
+
skip: numberType().int().optional(),
|
|
51152
|
+
count: numberType().int().optional(),
|
|
51152
51153
|
accountID: stringType(),
|
|
51153
51154
|
agreementID: arrayType(stringType()).optional(),
|
|
51154
51155
|
status: arrayType(FeePlanAgreementStatus$outboundSchema).optional()
|
|
@@ -51890,11 +51891,15 @@ var init_listpartnerpricingagreements = __esm(() => {
|
|
|
51890
51891
|
ListPartnerPricingAgreementsGlobals$.outboundSchema = ListPartnerPricingAgreementsGlobals$outboundSchema;
|
|
51891
51892
|
})(ListPartnerPricingAgreementsGlobals$ ||= {});
|
|
51892
51893
|
ListPartnerPricingAgreementsRequest$inboundSchema = objectType({
|
|
51894
|
+
skip: numberType().int().optional(),
|
|
51895
|
+
count: numberType().int().optional(),
|
|
51893
51896
|
accountID: stringType(),
|
|
51894
51897
|
agreementID: arrayType(stringType()).optional(),
|
|
51895
51898
|
status: arrayType(FeePlanAgreementStatus$inboundSchema).optional()
|
|
51896
51899
|
});
|
|
51897
51900
|
ListPartnerPricingAgreementsRequest$outboundSchema = objectType({
|
|
51901
|
+
skip: numberType().int().optional(),
|
|
51902
|
+
count: numberType().int().optional(),
|
|
51898
51903
|
accountID: stringType(),
|
|
51899
51904
|
agreementID: arrayType(stringType()).optional(),
|
|
51900
51905
|
status: arrayType(FeePlanAgreementStatus$outboundSchema).optional()
|
|
@@ -61909,6 +61914,8 @@ async function $do63(client, request, options) {
|
|
|
61909
61914
|
const path = pathToFunc("/accounts/{accountID}/fee-plan-agreements")(pathParams);
|
|
61910
61915
|
const query = encodeFormQuery({
|
|
61911
61916
|
agreementID: payload.agreementID,
|
|
61917
|
+
count: payload.count,
|
|
61918
|
+
skip: payload.skip,
|
|
61912
61919
|
status: payload.status
|
|
61913
61920
|
}, { explode: false });
|
|
61914
61921
|
const headers = new Headers(compactMap({
|
|
@@ -62362,6 +62369,8 @@ async function $do67(client, request, options) {
|
|
|
62362
62369
|
const path = pathToFunc("/accounts/{accountID}/partner-pricing-agreements")(pathParams);
|
|
62363
62370
|
const query = encodeFormQuery({
|
|
62364
62371
|
agreementID: payload.agreementID,
|
|
62372
|
+
count: payload.count,
|
|
62373
|
+
skip: payload.skip,
|
|
62365
62374
|
status: payload.status
|
|
62366
62375
|
}, { explode: false });
|
|
62367
62376
|
const headers = new Headers(compactMap({
|
|
@@ -69439,7 +69448,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
69439
69448
|
function createMCPServer(deps) {
|
|
69440
69449
|
const server = new McpServer({
|
|
69441
69450
|
name: "Moov",
|
|
69442
|
-
version: "0.
|
|
69451
|
+
version: "0.6.0"
|
|
69443
69452
|
});
|
|
69444
69453
|
const client = new MoovCore({
|
|
69445
69454
|
security: deps.security,
|
|
@@ -69448,7 +69457,8 @@ function createMCPServer(deps) {
|
|
|
69448
69457
|
serverIdx: deps.serverIdx
|
|
69449
69458
|
});
|
|
69450
69459
|
const scopes = new Set(deps.scopes ?? mcpScopes);
|
|
69451
|
-
const
|
|
69460
|
+
const allowedTools = deps.allowedTools && new Set(deps.allowedTools);
|
|
69461
|
+
const tool = createRegisterTool(deps.logger, server, client, scopes, allowedTools);
|
|
69452
69462
|
tool(tool$accountsCreate);
|
|
69453
69463
|
tool(tool$accountsList);
|
|
69454
69464
|
tool(tool$accountsGet);
|
|
@@ -69737,6 +69747,7 @@ async function startStdio(flags) {
|
|
|
69737
69747
|
const transport = new StdioServerTransport;
|
|
69738
69748
|
const server = createMCPServer({
|
|
69739
69749
|
logger,
|
|
69750
|
+
allowedTools: flags.tool,
|
|
69740
69751
|
scopes: flags.scope,
|
|
69741
69752
|
security: allRequired({
|
|
69742
69753
|
username: flags.username,
|
|
@@ -69759,6 +69770,7 @@ async function startSSE(flags) {
|
|
|
69759
69770
|
const app = import_express.default();
|
|
69760
69771
|
const mcpServer = createMCPServer({
|
|
69761
69772
|
logger,
|
|
69773
|
+
allowedTools: flags.tool,
|
|
69762
69774
|
scopes: flags.scope,
|
|
69763
69775
|
security: allRequired({
|
|
69764
69776
|
username: flags.username,
|
|
@@ -70821,6 +70833,15 @@ var startCommand = tn({
|
|
|
70821
70833
|
default: "2718",
|
|
70822
70834
|
parse: (val) => coerce.number().int().gte(0).lt(65536).parse(val)
|
|
70823
70835
|
},
|
|
70836
|
+
tool: {
|
|
70837
|
+
kind: "parsed",
|
|
70838
|
+
brief: "Specify tools to mount on the server",
|
|
70839
|
+
optional: true,
|
|
70840
|
+
variadic: true,
|
|
70841
|
+
parse: (value) => {
|
|
70842
|
+
return stringType().parse(value);
|
|
70843
|
+
}
|
|
70844
|
+
},
|
|
70824
70845
|
...mcpScopes.length ? {
|
|
70825
70846
|
scope: {
|
|
70826
70847
|
kind: "enum",
|
|
@@ -70913,7 +70934,7 @@ var routes = rn({
|
|
|
70913
70934
|
var app = Ve(routes, {
|
|
70914
70935
|
name: "mcp",
|
|
70915
70936
|
versionInfo: {
|
|
70916
|
-
currentVersion: "0.
|
|
70937
|
+
currentVersion: "0.6.0"
|
|
70917
70938
|
}
|
|
70918
70939
|
});
|
|
70919
70940
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -70921,5 +70942,5 @@ export {
|
|
|
70921
70942
|
app
|
|
70922
70943
|
};
|
|
70923
70944
|
|
|
70924
|
-
//# debugId=
|
|
70945
|
+
//# debugId=4910D6821027E6B364756E2164756E21
|
|
70925
70946
|
//# sourceMappingURL=mcp-server.js.map
|