@moovio/sdk 0.11.3 → 0.11.5
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 +61 -14
- package/bin/mcp-server.js.map +17 -15
- package/docs/sdks/cards/README.md +1 -1
- package/funcs/accountsList.js +1 -0
- package/funcs/accountsList.js.map +1 -1
- package/funcs/cardsLink.js +1 -1
- package/funcs/cardsLink.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/accounttype.d.ts +3 -0
- package/models/components/accounttype.d.ts.map +1 -1
- package/models/components/accounttype.js +1 -0
- package/models/components/accounttype.js.map +1 -1
- package/models/components/bankaccountholdertype.d.ts +3 -0
- package/models/components/bankaccountholdertype.d.ts.map +1 -1
- package/models/components/bankaccountholdertype.js +1 -0
- package/models/components/bankaccountholdertype.js.map +1 -1
- package/models/components/createaccount.d.ts +2 -5
- package/models/components/createaccount.d.ts.map +1 -1
- package/models/components/createaccount.js +3 -3
- package/models/components/createaccount.js.map +1 -1
- package/models/components/createaccounttype.d.ts +28 -0
- package/models/components/createaccounttype.d.ts.map +1 -0
- package/models/components/createaccounttype.js +60 -0
- package/models/components/createaccounttype.js.map +1 -0
- package/models/components/guestprofile.d.ts +43 -0
- package/models/components/guestprofile.d.ts.map +1 -0
- package/models/components/guestprofile.js +74 -0
- package/models/components/guestprofile.js.map +1 -0
- 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/profile.d.ts +6 -0
- package/models/components/profile.d.ts.map +1 -1
- package/models/components/profile.js +3 -0
- package/models/components/profile.js.map +1 -1
- package/models/operations/createtransfer.d.ts +1 -1
- package/models/operations/listaccounts.d.ts +9 -0
- package/models/operations/listaccounts.d.ts.map +1 -1
- package/models/operations/listaccounts.js +2 -0
- package/models/operations/listaccounts.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/accountsList.ts +1 -0
- package/src/funcs/cardsLink.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/accounttype.ts +1 -0
- package/src/models/components/bankaccountholdertype.ts +1 -0
- package/src/models/components/createaccount.ts +8 -11
- package/src/models/components/createaccounttype.ts +33 -0
- package/src/models/components/guestprofile.ts +85 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/profile.ts +13 -0
- package/src/models/operations/createtransfer.ts +1 -1
- package/src/models/operations/listaccounts.ts +11 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34207,9 +34207,9 @@ var init_config = __esm(() => {
|
|
|
34207
34207
|
SDK_METADATA = {
|
|
34208
34208
|
language: "typescript",
|
|
34209
34209
|
openapiDocVersion: "latest",
|
|
34210
|
-
sdkVersion: "0.11.
|
|
34211
|
-
genVersion: "2.
|
|
34212
|
-
userAgent: "speakeasy-sdk/typescript 0.11.
|
|
34210
|
+
sdkVersion: "0.11.5",
|
|
34211
|
+
genVersion: "2.599.0",
|
|
34212
|
+
userAgent: "speakeasy-sdk/typescript 0.11.5 2.599.0 latest @moovio/sdk"
|
|
34213
34213
|
};
|
|
34214
34214
|
});
|
|
34215
34215
|
|
|
@@ -35606,7 +35606,8 @@ var init_accounttype = __esm(() => {
|
|
|
35606
35606
|
init_lib();
|
|
35607
35607
|
AccountType = {
|
|
35608
35608
|
Individual: "individual",
|
|
35609
|
-
Business: "business"
|
|
35609
|
+
Business: "business",
|
|
35610
|
+
Guest: "guest"
|
|
35610
35611
|
};
|
|
35611
35612
|
AccountType$inboundSchema = nativeEnumType(AccountType);
|
|
35612
35613
|
AccountType$outboundSchema = AccountType$inboundSchema;
|
|
@@ -35892,6 +35893,27 @@ var init_businessprofile = __esm(() => {
|
|
|
35892
35893
|
})(BusinessProfile$ ||= {});
|
|
35893
35894
|
});
|
|
35894
35895
|
|
|
35896
|
+
// src/models/components/guestprofile.ts
|
|
35897
|
+
var GuestProfile$inboundSchema, GuestProfile$outboundSchema, GuestProfile$;
|
|
35898
|
+
var init_guestprofile = __esm(() => {
|
|
35899
|
+
init_lib();
|
|
35900
|
+
init_phonenumber();
|
|
35901
|
+
GuestProfile$inboundSchema = objectType({
|
|
35902
|
+
name: stringType(),
|
|
35903
|
+
phone: PhoneNumber$inboundSchema.optional(),
|
|
35904
|
+
email: stringType().optional()
|
|
35905
|
+
});
|
|
35906
|
+
GuestProfile$outboundSchema = objectType({
|
|
35907
|
+
name: stringType(),
|
|
35908
|
+
phone: PhoneNumber$outboundSchema.optional(),
|
|
35909
|
+
email: stringType().optional()
|
|
35910
|
+
});
|
|
35911
|
+
((GuestProfile$) => {
|
|
35912
|
+
GuestProfile$.inboundSchema = GuestProfile$inboundSchema;
|
|
35913
|
+
GuestProfile$.outboundSchema = GuestProfile$outboundSchema;
|
|
35914
|
+
})(GuestProfile$ ||= {});
|
|
35915
|
+
});
|
|
35916
|
+
|
|
35895
35917
|
// src/models/components/individualprofile.ts
|
|
35896
35918
|
var IndividualProfile$inboundSchema, IndividualProfile$outboundSchema, IndividualProfile$;
|
|
35897
35919
|
var init_individualprofile = __esm(() => {
|
|
@@ -35926,14 +35948,17 @@ var Profile$inboundSchema, Profile$outboundSchema, Profile$;
|
|
|
35926
35948
|
var init_profile = __esm(() => {
|
|
35927
35949
|
init_lib();
|
|
35928
35950
|
init_businessprofile();
|
|
35951
|
+
init_guestprofile();
|
|
35929
35952
|
init_individualprofile();
|
|
35930
35953
|
Profile$inboundSchema = objectType({
|
|
35931
35954
|
individual: IndividualProfile$inboundSchema.optional(),
|
|
35932
|
-
business: BusinessProfile$inboundSchema.optional()
|
|
35955
|
+
business: BusinessProfile$inboundSchema.optional(),
|
|
35956
|
+
guest: GuestProfile$inboundSchema.optional()
|
|
35933
35957
|
});
|
|
35934
35958
|
Profile$outboundSchema = objectType({
|
|
35935
35959
|
individual: IndividualProfile$outboundSchema.optional(),
|
|
35936
|
-
business: BusinessProfile$outboundSchema.optional()
|
|
35960
|
+
business: BusinessProfile$outboundSchema.optional(),
|
|
35961
|
+
guest: GuestProfile$outboundSchema.optional()
|
|
35937
35962
|
});
|
|
35938
35963
|
((Profile$) => {
|
|
35939
35964
|
Profile$.inboundSchema = Profile$inboundSchema;
|
|
@@ -36258,7 +36283,8 @@ var init_bankaccountholdertype = __esm(() => {
|
|
|
36258
36283
|
init_lib();
|
|
36259
36284
|
BankAccountHolderType = {
|
|
36260
36285
|
Individual: "individual",
|
|
36261
|
-
Business: "business"
|
|
36286
|
+
Business: "business",
|
|
36287
|
+
Guest: "guest"
|
|
36262
36288
|
};
|
|
36263
36289
|
BankAccountHolderType$inboundSchema = nativeEnumType(BankAccountHolderType);
|
|
36264
36290
|
BankAccountHolderType$outboundSchema = BankAccountHolderType$inboundSchema;
|
|
@@ -38987,6 +39013,22 @@ var init_countrieserrors = __esm(() => {
|
|
|
38987
39013
|
})(CountriesErrors$ ||= {});
|
|
38988
39014
|
});
|
|
38989
39015
|
|
|
39016
|
+
// src/models/components/createaccounttype.ts
|
|
39017
|
+
var CreateAccountType, CreateAccountType$inboundSchema, CreateAccountType$outboundSchema, CreateAccountType$;
|
|
39018
|
+
var init_createaccounttype = __esm(() => {
|
|
39019
|
+
init_lib();
|
|
39020
|
+
CreateAccountType = {
|
|
39021
|
+
Individual: "individual",
|
|
39022
|
+
Business: "business"
|
|
39023
|
+
};
|
|
39024
|
+
CreateAccountType$inboundSchema = nativeEnumType(CreateAccountType);
|
|
39025
|
+
CreateAccountType$outboundSchema = CreateAccountType$inboundSchema;
|
|
39026
|
+
((CreateAccountType$) => {
|
|
39027
|
+
CreateAccountType$.inboundSchema = CreateAccountType$inboundSchema;
|
|
39028
|
+
CreateAccountType$.outboundSchema = CreateAccountType$outboundSchema;
|
|
39029
|
+
})(CreateAccountType$ ||= {});
|
|
39030
|
+
});
|
|
39031
|
+
|
|
38990
39032
|
// src/models/components/taxid.ts
|
|
38991
39033
|
var Ein$inboundSchema, Ein$outboundSchema, Ein$, TaxID$inboundSchema, TaxID$outboundSchema, TaxID$;
|
|
38992
39034
|
var init_taxid = __esm(() => {
|
|
@@ -39190,8 +39232,8 @@ var init_termsofservicetoken = __esm(() => {
|
|
|
39190
39232
|
var CreateAccountTermsOfService$inboundSchema, CreateAccountTermsOfService$outboundSchema, CreateAccountTermsOfService$, CreateAccount$inboundSchema, CreateAccount$outboundSchema, CreateAccount$;
|
|
39191
39233
|
var init_createaccount = __esm(() => {
|
|
39192
39234
|
init_lib();
|
|
39193
|
-
init_accounttype();
|
|
39194
39235
|
init_capabilityid();
|
|
39236
|
+
init_createaccounttype();
|
|
39195
39237
|
init_createprofile();
|
|
39196
39238
|
init_customersupport();
|
|
39197
39239
|
init_manualtermsofservice();
|
|
@@ -39211,7 +39253,7 @@ var init_createaccount = __esm(() => {
|
|
|
39211
39253
|
CreateAccountTermsOfService$.outboundSchema = CreateAccountTermsOfService$outboundSchema;
|
|
39212
39254
|
})(CreateAccountTermsOfService$ ||= {});
|
|
39213
39255
|
CreateAccount$inboundSchema = objectType({
|
|
39214
|
-
accountType:
|
|
39256
|
+
accountType: CreateAccountType$inboundSchema,
|
|
39215
39257
|
profile: CreateProfile$inboundSchema,
|
|
39216
39258
|
metadata: recordType(stringType()).optional(),
|
|
39217
39259
|
termsOfService: unionType([
|
|
@@ -39225,7 +39267,7 @@ var init_createaccount = __esm(() => {
|
|
|
39225
39267
|
mode: Mode$inboundSchema.optional()
|
|
39226
39268
|
});
|
|
39227
39269
|
CreateAccount$outboundSchema = objectType({
|
|
39228
|
-
accountType:
|
|
39270
|
+
accountType: CreateAccountType$outboundSchema,
|
|
39229
39271
|
profile: CreateProfile$outboundSchema,
|
|
39230
39272
|
metadata: recordType(stringType()).optional(),
|
|
39231
39273
|
termsOfService: unionType([
|
|
@@ -45757,6 +45799,7 @@ var init_components = __esm(() => {
|
|
|
45757
45799
|
init_createaccount();
|
|
45758
45800
|
init_createaccounterror();
|
|
45759
45801
|
init_createaccountsettings();
|
|
45802
|
+
init_createaccounttype();
|
|
45760
45803
|
init_createapplepaysession();
|
|
45761
45804
|
init_createauthorizeduser();
|
|
45762
45805
|
init_createauthorizedusererror();
|
|
@@ -45837,6 +45880,7 @@ var init_components = __esm(() => {
|
|
|
45837
45880
|
init_governmentid();
|
|
45838
45881
|
init_governmentiderror();
|
|
45839
45882
|
init_granttype();
|
|
45883
|
+
init_guestprofile();
|
|
45840
45884
|
init_incurredfee();
|
|
45841
45885
|
init_individualname();
|
|
45842
45886
|
init_individualnameerror();
|
|
@@ -52505,6 +52549,7 @@ var init_listaccounts = __esm(() => {
|
|
|
52505
52549
|
name: stringType().optional(),
|
|
52506
52550
|
email: stringType().optional(),
|
|
52507
52551
|
type: AccountType$inboundSchema.optional(),
|
|
52552
|
+
includeGuest: booleanType().optional(),
|
|
52508
52553
|
foreignID: stringType().optional(),
|
|
52509
52554
|
includeDisconnected: booleanType().optional(),
|
|
52510
52555
|
capability: CapabilityID$inboundSchema.optional(),
|
|
@@ -52516,6 +52561,7 @@ var init_listaccounts = __esm(() => {
|
|
|
52516
52561
|
name: stringType().optional(),
|
|
52517
52562
|
email: stringType().optional(),
|
|
52518
52563
|
type: AccountType$outboundSchema.optional(),
|
|
52564
|
+
includeGuest: booleanType().optional(),
|
|
52519
52565
|
foreignID: stringType().optional(),
|
|
52520
52566
|
includeDisconnected: booleanType().optional(),
|
|
52521
52567
|
capability: CapabilityID$outboundSchema.optional(),
|
|
@@ -57191,6 +57237,7 @@ async function $do8(client, request, options) {
|
|
|
57191
57237
|
email: payload.email,
|
|
57192
57238
|
foreignID: payload.foreignID,
|
|
57193
57239
|
includeDisconnected: payload.includeDisconnected,
|
|
57240
|
+
includeGuest: payload.includeGuest,
|
|
57194
57241
|
name: payload.name,
|
|
57195
57242
|
skip: payload.skip,
|
|
57196
57243
|
type: payload.type
|
|
@@ -62029,7 +62076,7 @@ async function $do48(client, request, options) {
|
|
|
62029
62076
|
const [result] = await match(json(200, LinkCardResponse$inboundSchema, {
|
|
62030
62077
|
hdrs: true,
|
|
62031
62078
|
key: "Result"
|
|
62032
|
-
}), jsonErr(
|
|
62079
|
+
}), jsonErr(400, GenericError$inboundSchema, { hdrs: true }), jsonErr(422, LinkCardError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 409, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
62033
62080
|
if (!result.ok) {
|
|
62034
62081
|
return [result, { status: "complete", request: req, response }];
|
|
62035
62082
|
}
|
|
@@ -72303,7 +72350,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
72303
72350
|
function createMCPServer(deps) {
|
|
72304
72351
|
const server = new McpServer({
|
|
72305
72352
|
name: "Moov",
|
|
72306
|
-
version: "0.11.
|
|
72353
|
+
version: "0.11.5"
|
|
72307
72354
|
});
|
|
72308
72355
|
const client = new MoovCore({
|
|
72309
72356
|
security: deps.security,
|
|
@@ -73813,7 +73860,7 @@ var routes = rn({
|
|
|
73813
73860
|
var app = Ve(routes, {
|
|
73814
73861
|
name: "mcp",
|
|
73815
73862
|
versionInfo: {
|
|
73816
|
-
currentVersion: "0.11.
|
|
73863
|
+
currentVersion: "0.11.5"
|
|
73817
73864
|
}
|
|
73818
73865
|
});
|
|
73819
73866
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -73821,5 +73868,5 @@ export {
|
|
|
73821
73868
|
app
|
|
73822
73869
|
};
|
|
73823
73870
|
|
|
73824
|
-
//# debugId=
|
|
73871
|
+
//# debugId=36356920268E0E5864756E2164756E21
|
|
73825
73872
|
//# sourceMappingURL=mcp-server.js.map
|