@moovio/sdk 0.14.23 → 0.14.25
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 +220 -228
- package/bin/mcp-server.js.map +14 -16
- package/examples/accountsCreate.example.ts +1 -1
- package/examples/package-lock.json +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/index.d.ts +0 -2
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -2
- package/models/components/index.js.map +1 -1
- package/models/errors/addcapabilitieserror.d.ts +12 -4
- package/models/errors/addcapabilitieserror.d.ts.map +1 -1
- package/models/errors/addcapabilitieserror.js +6 -3
- package/models/errors/addcapabilitieserror.js.map +1 -1
- package/models/errors/assigncountrieserror.d.ts +9 -4
- package/models/errors/assigncountrieserror.d.ts.map +1 -1
- package/models/errors/assigncountrieserror.js +3 -4
- package/models/errors/assigncountrieserror.js.map +1 -1
- package/models/errors/filevalidationerror.d.ts +3 -0
- package/models/errors/filevalidationerror.d.ts.map +1 -1
- package/models/errors/filevalidationerror.js +13 -1
- package/models/errors/filevalidationerror.js.map +1 -1
- package/models/errors/patchaccounterror.d.ts +3 -0
- package/models/errors/patchaccounterror.d.ts.map +1 -1
- package/models/errors/patchaccounterror.js +4 -0
- package/models/errors/patchaccounterror.js.map +1 -1
- package/models/errors/upsertunderwritingerror.d.ts +3 -0
- package/models/errors/upsertunderwritingerror.d.ts.map +1 -1
- package/models/errors/upsertunderwritingerror.js +4 -0
- package/models/errors/upsertunderwritingerror.js.map +1 -1
- package/package.json +1 -1
- 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/index.ts +0 -2
- package/src/models/errors/addcapabilitieserror.ts +11 -6
- package/src/models/errors/assigncountrieserror.ts +6 -7
- package/src/models/errors/filevalidationerror.ts +24 -7
- package/src/models/errors/patchaccounterror.ts +6 -0
- package/src/models/errors/upsertunderwritingerror.ts +6 -0
- package/models/components/capabilitieserror.d.ts +0 -33
- package/models/components/capabilitieserror.d.ts.map +0 -1
- package/models/components/capabilitieserror.js +0 -69
- package/models/components/capabilitieserror.js.map +0 -1
- package/models/components/countrieserrors.d.ts +0 -33
- package/models/components/countrieserrors.d.ts.map +0 -1
- package/models/components/countrieserrors.js +0 -69
- package/models/components/countrieserrors.js.map +0 -1
- package/src/models/components/capabilitieserror.ts +0 -66
- package/src/models/components/countrieserrors.ts +0 -64
package/bin/mcp-server.js
CHANGED
|
@@ -34175,9 +34175,9 @@ var init_config = __esm(() => {
|
|
|
34175
34175
|
SDK_METADATA = {
|
|
34176
34176
|
language: "typescript",
|
|
34177
34177
|
openapiDocVersion: "latest",
|
|
34178
|
-
sdkVersion: "0.14.
|
|
34179
|
-
genVersion: "2.
|
|
34180
|
-
userAgent: "speakeasy-sdk/typescript 0.14.
|
|
34178
|
+
sdkVersion: "0.14.25",
|
|
34179
|
+
genVersion: "2.681.8",
|
|
34180
|
+
userAgent: "speakeasy-sdk/typescript 0.14.25 2.681.8 latest @moovio/sdk"
|
|
34181
34181
|
};
|
|
34182
34182
|
});
|
|
34183
34183
|
|
|
@@ -35634,6 +35634,195 @@ var init_accountterminalapplicationerror = __esm(() => {
|
|
|
35634
35634
|
})(AccountTerminalApplicationError$ ||= {});
|
|
35635
35635
|
});
|
|
35636
35636
|
|
|
35637
|
+
// src/models/errors/addcapabilitieserror.ts
|
|
35638
|
+
var AddCapabilitiesError, AddCapabilitiesError$inboundSchema, AddCapabilitiesError$outboundSchema, AddCapabilitiesError$;
|
|
35639
|
+
var init_addcapabilitieserror = __esm(() => {
|
|
35640
|
+
init_esm();
|
|
35641
|
+
init_mooverror();
|
|
35642
|
+
AddCapabilitiesError = class AddCapabilitiesError extends MoovError {
|
|
35643
|
+
error;
|
|
35644
|
+
capabilities;
|
|
35645
|
+
data$;
|
|
35646
|
+
constructor(err, httpMeta) {
|
|
35647
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
35648
|
+
super(message, httpMeta);
|
|
35649
|
+
this.data$ = err;
|
|
35650
|
+
if (err.error != null)
|
|
35651
|
+
this.error = err.error;
|
|
35652
|
+
if (err.capabilities != null)
|
|
35653
|
+
this.capabilities = err.capabilities;
|
|
35654
|
+
this.name = "AddCapabilitiesError";
|
|
35655
|
+
}
|
|
35656
|
+
};
|
|
35657
|
+
AddCapabilitiesError$inboundSchema = objectType({
|
|
35658
|
+
error: stringType().optional(),
|
|
35659
|
+
capabilities: recordType(stringType()).optional(),
|
|
35660
|
+
request$: instanceOfType(Request),
|
|
35661
|
+
response$: instanceOfType(Response),
|
|
35662
|
+
body$: stringType()
|
|
35663
|
+
}).transform((v2) => {
|
|
35664
|
+
return new AddCapabilitiesError(v2, {
|
|
35665
|
+
request: v2.request$,
|
|
35666
|
+
response: v2.response$,
|
|
35667
|
+
body: v2.body$
|
|
35668
|
+
});
|
|
35669
|
+
});
|
|
35670
|
+
AddCapabilitiesError$outboundSchema = instanceOfType(AddCapabilitiesError).transform((v2) => v2.data$).pipe(objectType({
|
|
35671
|
+
error: stringType().optional(),
|
|
35672
|
+
capabilities: recordType(stringType()).optional()
|
|
35673
|
+
}));
|
|
35674
|
+
((AddCapabilitiesError$) => {
|
|
35675
|
+
AddCapabilitiesError$.inboundSchema = AddCapabilitiesError$inboundSchema;
|
|
35676
|
+
AddCapabilitiesError$.outboundSchema = AddCapabilitiesError$outboundSchema;
|
|
35677
|
+
})(AddCapabilitiesError$ ||= {});
|
|
35678
|
+
});
|
|
35679
|
+
|
|
35680
|
+
// src/models/errors/assigncountrieserror.ts
|
|
35681
|
+
var AssignCountriesError, AssignCountriesError$inboundSchema, AssignCountriesError$outboundSchema, AssignCountriesError$;
|
|
35682
|
+
var init_assigncountrieserror = __esm(() => {
|
|
35683
|
+
init_esm();
|
|
35684
|
+
init_mooverror();
|
|
35685
|
+
AssignCountriesError = class AssignCountriesError extends MoovError {
|
|
35686
|
+
countries;
|
|
35687
|
+
data$;
|
|
35688
|
+
constructor(err, httpMeta) {
|
|
35689
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
35690
|
+
super(message, httpMeta);
|
|
35691
|
+
this.data$ = err;
|
|
35692
|
+
this.countries = err.countries;
|
|
35693
|
+
this.name = "AssignCountriesError";
|
|
35694
|
+
}
|
|
35695
|
+
};
|
|
35696
|
+
AssignCountriesError$inboundSchema = objectType({
|
|
35697
|
+
countries: recordType(stringType()),
|
|
35698
|
+
request$: instanceOfType(Request),
|
|
35699
|
+
response$: instanceOfType(Response),
|
|
35700
|
+
body$: stringType()
|
|
35701
|
+
}).transform((v2) => {
|
|
35702
|
+
return new AssignCountriesError(v2, {
|
|
35703
|
+
request: v2.request$,
|
|
35704
|
+
response: v2.response$,
|
|
35705
|
+
body: v2.body$
|
|
35706
|
+
});
|
|
35707
|
+
});
|
|
35708
|
+
AssignCountriesError$outboundSchema = instanceOfType(AssignCountriesError).transform((v2) => v2.data$).pipe(objectType({
|
|
35709
|
+
countries: recordType(stringType())
|
|
35710
|
+
}));
|
|
35711
|
+
((AssignCountriesError$) => {
|
|
35712
|
+
AssignCountriesError$.inboundSchema = AssignCountriesError$inboundSchema;
|
|
35713
|
+
AssignCountriesError$.outboundSchema = AssignCountriesError$outboundSchema;
|
|
35714
|
+
})(AssignCountriesError$ ||= {});
|
|
35715
|
+
});
|
|
35716
|
+
|
|
35717
|
+
// src/models/errors/authtokenrequesterror.ts
|
|
35718
|
+
var AuthTokenRequestError, AuthTokenRequestError$inboundSchema, AuthTokenRequestError$outboundSchema, AuthTokenRequestError$;
|
|
35719
|
+
var init_authtokenrequesterror = __esm(() => {
|
|
35720
|
+
init_esm();
|
|
35721
|
+
init_primitives();
|
|
35722
|
+
init_mooverror();
|
|
35723
|
+
AuthTokenRequestError = class AuthTokenRequestError extends MoovError {
|
|
35724
|
+
scope;
|
|
35725
|
+
refreshToken;
|
|
35726
|
+
data$;
|
|
35727
|
+
constructor(err, httpMeta) {
|
|
35728
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
35729
|
+
super(message, httpMeta);
|
|
35730
|
+
this.data$ = err;
|
|
35731
|
+
if (err.scope != null)
|
|
35732
|
+
this.scope = err.scope;
|
|
35733
|
+
if (err.refreshToken != null)
|
|
35734
|
+
this.refreshToken = err.refreshToken;
|
|
35735
|
+
this.name = "AuthTokenRequestError";
|
|
35736
|
+
}
|
|
35737
|
+
};
|
|
35738
|
+
AuthTokenRequestError$inboundSchema = objectType({
|
|
35739
|
+
scope: stringType().optional(),
|
|
35740
|
+
refresh_token: stringType().optional(),
|
|
35741
|
+
request$: instanceOfType(Request),
|
|
35742
|
+
response$: instanceOfType(Response),
|
|
35743
|
+
body$: stringType()
|
|
35744
|
+
}).transform((v2) => {
|
|
35745
|
+
const remapped = remap(v2, {
|
|
35746
|
+
refresh_token: "refreshToken"
|
|
35747
|
+
});
|
|
35748
|
+
return new AuthTokenRequestError(remapped, {
|
|
35749
|
+
request: v2.request$,
|
|
35750
|
+
response: v2.response$,
|
|
35751
|
+
body: v2.body$
|
|
35752
|
+
});
|
|
35753
|
+
});
|
|
35754
|
+
AuthTokenRequestError$outboundSchema = instanceOfType(AuthTokenRequestError).transform((v2) => v2.data$).pipe(objectType({
|
|
35755
|
+
scope: stringType().optional(),
|
|
35756
|
+
refreshToken: stringType().optional()
|
|
35757
|
+
}).transform((v2) => {
|
|
35758
|
+
return remap(v2, {
|
|
35759
|
+
refreshToken: "refresh_token"
|
|
35760
|
+
});
|
|
35761
|
+
}));
|
|
35762
|
+
((AuthTokenRequestError$) => {
|
|
35763
|
+
AuthTokenRequestError$.inboundSchema = AuthTokenRequestError$inboundSchema;
|
|
35764
|
+
AuthTokenRequestError$.outboundSchema = AuthTokenRequestError$outboundSchema;
|
|
35765
|
+
})(AuthTokenRequestError$ ||= {});
|
|
35766
|
+
});
|
|
35767
|
+
|
|
35768
|
+
// src/models/errors/bankaccountvalidationerror.ts
|
|
35769
|
+
var BankAccountValidationError, BankAccountValidationError$inboundSchema, BankAccountValidationError$outboundSchema, BankAccountValidationError$;
|
|
35770
|
+
var init_bankaccountvalidationerror = __esm(() => {
|
|
35771
|
+
init_esm();
|
|
35772
|
+
init_mooverror();
|
|
35773
|
+
BankAccountValidationError = class BankAccountValidationError extends MoovError {
|
|
35774
|
+
account;
|
|
35775
|
+
plaid;
|
|
35776
|
+
plaidLink;
|
|
35777
|
+
mx;
|
|
35778
|
+
error;
|
|
35779
|
+
data$;
|
|
35780
|
+
constructor(err, httpMeta) {
|
|
35781
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
35782
|
+
super(message, httpMeta);
|
|
35783
|
+
this.data$ = err;
|
|
35784
|
+
if (err.account != null)
|
|
35785
|
+
this.account = err.account;
|
|
35786
|
+
if (err.plaid != null)
|
|
35787
|
+
this.plaid = err.plaid;
|
|
35788
|
+
if (err.plaidLink != null)
|
|
35789
|
+
this.plaidLink = err.plaidLink;
|
|
35790
|
+
if (err.mx != null)
|
|
35791
|
+
this.mx = err.mx;
|
|
35792
|
+
if (err.error != null)
|
|
35793
|
+
this.error = err.error;
|
|
35794
|
+
this.name = "BankAccountValidationError";
|
|
35795
|
+
}
|
|
35796
|
+
};
|
|
35797
|
+
BankAccountValidationError$inboundSchema = objectType({
|
|
35798
|
+
account: stringType().optional(),
|
|
35799
|
+
plaid: stringType().optional(),
|
|
35800
|
+
plaidLink: stringType().optional(),
|
|
35801
|
+
mx: stringType().optional(),
|
|
35802
|
+
error: stringType().optional(),
|
|
35803
|
+
request$: instanceOfType(Request),
|
|
35804
|
+
response$: instanceOfType(Response),
|
|
35805
|
+
body$: stringType()
|
|
35806
|
+
}).transform((v2) => {
|
|
35807
|
+
return new BankAccountValidationError(v2, {
|
|
35808
|
+
request: v2.request$,
|
|
35809
|
+
response: v2.response$,
|
|
35810
|
+
body: v2.body$
|
|
35811
|
+
});
|
|
35812
|
+
});
|
|
35813
|
+
BankAccountValidationError$outboundSchema = instanceOfType(BankAccountValidationError).transform((v2) => v2.data$).pipe(objectType({
|
|
35814
|
+
account: stringType().optional(),
|
|
35815
|
+
plaid: stringType().optional(),
|
|
35816
|
+
plaidLink: stringType().optional(),
|
|
35817
|
+
mx: stringType().optional(),
|
|
35818
|
+
error: stringType().optional()
|
|
35819
|
+
}));
|
|
35820
|
+
((BankAccountValidationError$) => {
|
|
35821
|
+
BankAccountValidationError$.inboundSchema = BankAccountValidationError$inboundSchema;
|
|
35822
|
+
BankAccountValidationError$.outboundSchema = BankAccountValidationError$outboundSchema;
|
|
35823
|
+
})(BankAccountValidationError$ ||= {});
|
|
35824
|
+
});
|
|
35825
|
+
|
|
35637
35826
|
// src/models/components/accountcapability.ts
|
|
35638
35827
|
var AccountCapability$inboundSchema, AccountCapability$outboundSchema, AccountCapability$;
|
|
35639
35828
|
var init_accountcapability = __esm(() => {
|
|
@@ -38108,22 +38297,6 @@ var init_cancellation = __esm(() => {
|
|
|
38108
38297
|
})(Cancellation$ ||= {});
|
|
38109
38298
|
});
|
|
38110
38299
|
|
|
38111
|
-
// src/models/components/capabilitieserror.ts
|
|
38112
|
-
var CapabilitiesError$inboundSchema, CapabilitiesError$outboundSchema, CapabilitiesError$;
|
|
38113
|
-
var init_capabilitieserror = __esm(() => {
|
|
38114
|
-
init_esm();
|
|
38115
|
-
CapabilitiesError$inboundSchema = objectType({
|
|
38116
|
-
capabilities: recordType(stringType()).optional()
|
|
38117
|
-
});
|
|
38118
|
-
CapabilitiesError$outboundSchema = objectType({
|
|
38119
|
-
capabilities: recordType(stringType()).optional()
|
|
38120
|
-
});
|
|
38121
|
-
((CapabilitiesError$) => {
|
|
38122
|
-
CapabilitiesError$.inboundSchema = CapabilitiesError$inboundSchema;
|
|
38123
|
-
CapabilitiesError$.outboundSchema = CapabilitiesError$outboundSchema;
|
|
38124
|
-
})(CapabilitiesError$ ||= {});
|
|
38125
|
-
});
|
|
38126
|
-
|
|
38127
38300
|
// src/models/components/requirementerrorcode.ts
|
|
38128
38301
|
var RequirementErrorCode, RequirementErrorCode$inboundSchema, RequirementErrorCode$outboundSchema, RequirementErrorCode$;
|
|
38129
38302
|
var init_requirementerrorcode = __esm(() => {
|
|
@@ -39495,22 +39668,6 @@ var init_completemicrodeposits = __esm(() => {
|
|
|
39495
39668
|
})(CompleteMicroDeposits$ ||= {});
|
|
39496
39669
|
});
|
|
39497
39670
|
|
|
39498
|
-
// src/models/components/countrieserrors.ts
|
|
39499
|
-
var CountriesErrors$inboundSchema, CountriesErrors$outboundSchema, CountriesErrors$;
|
|
39500
|
-
var init_countrieserrors = __esm(() => {
|
|
39501
|
-
init_esm();
|
|
39502
|
-
CountriesErrors$inboundSchema = objectType({
|
|
39503
|
-
countries: recordType(stringType())
|
|
39504
|
-
});
|
|
39505
|
-
CountriesErrors$outboundSchema = objectType({
|
|
39506
|
-
countries: recordType(stringType())
|
|
39507
|
-
});
|
|
39508
|
-
((CountriesErrors$) => {
|
|
39509
|
-
CountriesErrors$.inboundSchema = CountriesErrors$inboundSchema;
|
|
39510
|
-
CountriesErrors$.outboundSchema = CountriesErrors$outboundSchema;
|
|
39511
|
-
})(CountriesErrors$ ||= {});
|
|
39512
|
-
});
|
|
39513
|
-
|
|
39514
39671
|
// src/models/components/createaccounttype.ts
|
|
39515
39672
|
var CreateAccountType, CreateAccountType$inboundSchema, CreateAccountType$outboundSchema, CreateAccountType$;
|
|
39516
39673
|
var init_createaccounttype = __esm(() => {
|
|
@@ -46979,7 +47136,6 @@ var init_components = __esm(() => {
|
|
|
46979
47136
|
init_calltoaction();
|
|
46980
47137
|
init_cancellation();
|
|
46981
47138
|
init_cancellationstatus();
|
|
46982
|
-
init_capabilitieserror();
|
|
46983
47139
|
init_capability();
|
|
46984
47140
|
init_capabilityid();
|
|
46985
47141
|
init_capabilityrequirement();
|
|
@@ -47022,7 +47178,6 @@ var init_components = __esm(() => {
|
|
|
47022
47178
|
init_completedmicrodeposits();
|
|
47023
47179
|
init_completemicrodeposits();
|
|
47024
47180
|
init_contact();
|
|
47025
|
-
init_countrieserrors();
|
|
47026
47181
|
init_createaccount();
|
|
47027
47182
|
init_createaccountsettings();
|
|
47028
47183
|
init_createaccounttype();
|
|
@@ -47362,192 +47517,6 @@ var init_components = __esm(() => {
|
|
|
47362
47517
|
init_wireservices();
|
|
47363
47518
|
});
|
|
47364
47519
|
|
|
47365
|
-
// src/models/errors/addcapabilitieserror.ts
|
|
47366
|
-
var AddCapabilitiesError, AddCapabilitiesError$inboundSchema, AddCapabilitiesError$outboundSchema, AddCapabilitiesError$;
|
|
47367
|
-
var init_addcapabilitieserror = __esm(() => {
|
|
47368
|
-
init_esm();
|
|
47369
|
-
init_components();
|
|
47370
|
-
init_mooverror();
|
|
47371
|
-
AddCapabilitiesError = class AddCapabilitiesError extends MoovError {
|
|
47372
|
-
error;
|
|
47373
|
-
data$;
|
|
47374
|
-
constructor(err, httpMeta) {
|
|
47375
|
-
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
47376
|
-
super(message, httpMeta);
|
|
47377
|
-
this.data$ = err;
|
|
47378
|
-
if (err.error != null)
|
|
47379
|
-
this.error = err.error;
|
|
47380
|
-
this.name = "AddCapabilitiesError";
|
|
47381
|
-
}
|
|
47382
|
-
};
|
|
47383
|
-
AddCapabilitiesError$inboundSchema = objectType({
|
|
47384
|
-
error: CapabilitiesError$inboundSchema.optional(),
|
|
47385
|
-
request$: instanceOfType(Request),
|
|
47386
|
-
response$: instanceOfType(Response),
|
|
47387
|
-
body$: stringType()
|
|
47388
|
-
}).transform((v2) => {
|
|
47389
|
-
return new AddCapabilitiesError(v2, {
|
|
47390
|
-
request: v2.request$,
|
|
47391
|
-
response: v2.response$,
|
|
47392
|
-
body: v2.body$
|
|
47393
|
-
});
|
|
47394
|
-
});
|
|
47395
|
-
AddCapabilitiesError$outboundSchema = instanceOfType(AddCapabilitiesError).transform((v2) => v2.data$).pipe(objectType({
|
|
47396
|
-
error: CapabilitiesError$outboundSchema.optional()
|
|
47397
|
-
}));
|
|
47398
|
-
((AddCapabilitiesError$) => {
|
|
47399
|
-
AddCapabilitiesError$.inboundSchema = AddCapabilitiesError$inboundSchema;
|
|
47400
|
-
AddCapabilitiesError$.outboundSchema = AddCapabilitiesError$outboundSchema;
|
|
47401
|
-
})(AddCapabilitiesError$ ||= {});
|
|
47402
|
-
});
|
|
47403
|
-
|
|
47404
|
-
// src/models/errors/assigncountrieserror.ts
|
|
47405
|
-
var AssignCountriesError, AssignCountriesError$inboundSchema, AssignCountriesError$outboundSchema, AssignCountriesError$;
|
|
47406
|
-
var init_assigncountrieserror = __esm(() => {
|
|
47407
|
-
init_esm();
|
|
47408
|
-
init_components();
|
|
47409
|
-
init_mooverror();
|
|
47410
|
-
AssignCountriesError = class AssignCountriesError extends MoovError {
|
|
47411
|
-
error;
|
|
47412
|
-
data$;
|
|
47413
|
-
constructor(err, httpMeta) {
|
|
47414
|
-
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
47415
|
-
super(message, httpMeta);
|
|
47416
|
-
this.data$ = err;
|
|
47417
|
-
this.error = err.error;
|
|
47418
|
-
this.name = "AssignCountriesError";
|
|
47419
|
-
}
|
|
47420
|
-
};
|
|
47421
|
-
AssignCountriesError$inboundSchema = objectType({
|
|
47422
|
-
error: CountriesErrors$inboundSchema,
|
|
47423
|
-
request$: instanceOfType(Request),
|
|
47424
|
-
response$: instanceOfType(Response),
|
|
47425
|
-
body$: stringType()
|
|
47426
|
-
}).transform((v2) => {
|
|
47427
|
-
return new AssignCountriesError(v2, {
|
|
47428
|
-
request: v2.request$,
|
|
47429
|
-
response: v2.response$,
|
|
47430
|
-
body: v2.body$
|
|
47431
|
-
});
|
|
47432
|
-
});
|
|
47433
|
-
AssignCountriesError$outboundSchema = instanceOfType(AssignCountriesError).transform((v2) => v2.data$).pipe(objectType({
|
|
47434
|
-
error: CountriesErrors$outboundSchema
|
|
47435
|
-
}));
|
|
47436
|
-
((AssignCountriesError$) => {
|
|
47437
|
-
AssignCountriesError$.inboundSchema = AssignCountriesError$inboundSchema;
|
|
47438
|
-
AssignCountriesError$.outboundSchema = AssignCountriesError$outboundSchema;
|
|
47439
|
-
})(AssignCountriesError$ ||= {});
|
|
47440
|
-
});
|
|
47441
|
-
|
|
47442
|
-
// src/models/errors/authtokenrequesterror.ts
|
|
47443
|
-
var AuthTokenRequestError, AuthTokenRequestError$inboundSchema, AuthTokenRequestError$outboundSchema, AuthTokenRequestError$;
|
|
47444
|
-
var init_authtokenrequesterror = __esm(() => {
|
|
47445
|
-
init_esm();
|
|
47446
|
-
init_primitives();
|
|
47447
|
-
init_mooverror();
|
|
47448
|
-
AuthTokenRequestError = class AuthTokenRequestError extends MoovError {
|
|
47449
|
-
scope;
|
|
47450
|
-
refreshToken;
|
|
47451
|
-
data$;
|
|
47452
|
-
constructor(err, httpMeta) {
|
|
47453
|
-
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
47454
|
-
super(message, httpMeta);
|
|
47455
|
-
this.data$ = err;
|
|
47456
|
-
if (err.scope != null)
|
|
47457
|
-
this.scope = err.scope;
|
|
47458
|
-
if (err.refreshToken != null)
|
|
47459
|
-
this.refreshToken = err.refreshToken;
|
|
47460
|
-
this.name = "AuthTokenRequestError";
|
|
47461
|
-
}
|
|
47462
|
-
};
|
|
47463
|
-
AuthTokenRequestError$inboundSchema = objectType({
|
|
47464
|
-
scope: stringType().optional(),
|
|
47465
|
-
refresh_token: stringType().optional(),
|
|
47466
|
-
request$: instanceOfType(Request),
|
|
47467
|
-
response$: instanceOfType(Response),
|
|
47468
|
-
body$: stringType()
|
|
47469
|
-
}).transform((v2) => {
|
|
47470
|
-
const remapped = remap(v2, {
|
|
47471
|
-
refresh_token: "refreshToken"
|
|
47472
|
-
});
|
|
47473
|
-
return new AuthTokenRequestError(remapped, {
|
|
47474
|
-
request: v2.request$,
|
|
47475
|
-
response: v2.response$,
|
|
47476
|
-
body: v2.body$
|
|
47477
|
-
});
|
|
47478
|
-
});
|
|
47479
|
-
AuthTokenRequestError$outboundSchema = instanceOfType(AuthTokenRequestError).transform((v2) => v2.data$).pipe(objectType({
|
|
47480
|
-
scope: stringType().optional(),
|
|
47481
|
-
refreshToken: stringType().optional()
|
|
47482
|
-
}).transform((v2) => {
|
|
47483
|
-
return remap(v2, {
|
|
47484
|
-
refreshToken: "refresh_token"
|
|
47485
|
-
});
|
|
47486
|
-
}));
|
|
47487
|
-
((AuthTokenRequestError$) => {
|
|
47488
|
-
AuthTokenRequestError$.inboundSchema = AuthTokenRequestError$inboundSchema;
|
|
47489
|
-
AuthTokenRequestError$.outboundSchema = AuthTokenRequestError$outboundSchema;
|
|
47490
|
-
})(AuthTokenRequestError$ ||= {});
|
|
47491
|
-
});
|
|
47492
|
-
|
|
47493
|
-
// src/models/errors/bankaccountvalidationerror.ts
|
|
47494
|
-
var BankAccountValidationError, BankAccountValidationError$inboundSchema, BankAccountValidationError$outboundSchema, BankAccountValidationError$;
|
|
47495
|
-
var init_bankaccountvalidationerror = __esm(() => {
|
|
47496
|
-
init_esm();
|
|
47497
|
-
init_mooverror();
|
|
47498
|
-
BankAccountValidationError = class BankAccountValidationError extends MoovError {
|
|
47499
|
-
account;
|
|
47500
|
-
plaid;
|
|
47501
|
-
plaidLink;
|
|
47502
|
-
mx;
|
|
47503
|
-
error;
|
|
47504
|
-
data$;
|
|
47505
|
-
constructor(err, httpMeta) {
|
|
47506
|
-
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
47507
|
-
super(message, httpMeta);
|
|
47508
|
-
this.data$ = err;
|
|
47509
|
-
if (err.account != null)
|
|
47510
|
-
this.account = err.account;
|
|
47511
|
-
if (err.plaid != null)
|
|
47512
|
-
this.plaid = err.plaid;
|
|
47513
|
-
if (err.plaidLink != null)
|
|
47514
|
-
this.plaidLink = err.plaidLink;
|
|
47515
|
-
if (err.mx != null)
|
|
47516
|
-
this.mx = err.mx;
|
|
47517
|
-
if (err.error != null)
|
|
47518
|
-
this.error = err.error;
|
|
47519
|
-
this.name = "BankAccountValidationError";
|
|
47520
|
-
}
|
|
47521
|
-
};
|
|
47522
|
-
BankAccountValidationError$inboundSchema = objectType({
|
|
47523
|
-
account: stringType().optional(),
|
|
47524
|
-
plaid: stringType().optional(),
|
|
47525
|
-
plaidLink: stringType().optional(),
|
|
47526
|
-
mx: stringType().optional(),
|
|
47527
|
-
error: stringType().optional(),
|
|
47528
|
-
request$: instanceOfType(Request),
|
|
47529
|
-
response$: instanceOfType(Response),
|
|
47530
|
-
body$: stringType()
|
|
47531
|
-
}).transform((v2) => {
|
|
47532
|
-
return new BankAccountValidationError(v2, {
|
|
47533
|
-
request: v2.request$,
|
|
47534
|
-
response: v2.response$,
|
|
47535
|
-
body: v2.body$
|
|
47536
|
-
});
|
|
47537
|
-
});
|
|
47538
|
-
BankAccountValidationError$outboundSchema = instanceOfType(BankAccountValidationError).transform((v2) => v2.data$).pipe(objectType({
|
|
47539
|
-
account: stringType().optional(),
|
|
47540
|
-
plaid: stringType().optional(),
|
|
47541
|
-
plaidLink: stringType().optional(),
|
|
47542
|
-
mx: stringType().optional(),
|
|
47543
|
-
error: stringType().optional()
|
|
47544
|
-
}));
|
|
47545
|
-
((BankAccountValidationError$) => {
|
|
47546
|
-
BankAccountValidationError$.inboundSchema = BankAccountValidationError$inboundSchema;
|
|
47547
|
-
BankAccountValidationError$.outboundSchema = BankAccountValidationError$outboundSchema;
|
|
47548
|
-
})(BankAccountValidationError$ ||= {});
|
|
47549
|
-
});
|
|
47550
|
-
|
|
47551
47520
|
// src/models/errors/brandvalidationerror.ts
|
|
47552
47521
|
var BrandValidationError, BrandValidationError$inboundSchema, BrandValidationError$outboundSchema, BrandValidationError$;
|
|
47553
47522
|
var init_brandvalidationerror = __esm(() => {
|
|
@@ -48005,10 +47974,12 @@ var init_fileuploadvalidationerror = __esm(() => {
|
|
|
48005
47974
|
var FileValidationError, FileValidationError$inboundSchema, FileValidationError$outboundSchema, FileValidationError$;
|
|
48006
47975
|
var init_filevalidationerror = __esm(() => {
|
|
48007
47976
|
init_esm();
|
|
47977
|
+
init_primitives();
|
|
48008
47978
|
init_mooverror();
|
|
48009
47979
|
FileValidationError = class FileValidationError extends MoovError {
|
|
48010
47980
|
error;
|
|
48011
47981
|
file;
|
|
47982
|
+
fileName;
|
|
48012
47983
|
filePurpose;
|
|
48013
47984
|
metadata;
|
|
48014
47985
|
data$;
|
|
@@ -48020,6 +47991,8 @@ var init_filevalidationerror = __esm(() => {
|
|
|
48020
47991
|
this.error = err.error;
|
|
48021
47992
|
if (err.file != null)
|
|
48022
47993
|
this.file = err.file;
|
|
47994
|
+
if (err.fileName != null)
|
|
47995
|
+
this.fileName = err.fileName;
|
|
48023
47996
|
if (err.filePurpose != null)
|
|
48024
47997
|
this.filePurpose = err.filePurpose;
|
|
48025
47998
|
if (err.metadata != null)
|
|
@@ -48030,13 +48003,17 @@ var init_filevalidationerror = __esm(() => {
|
|
|
48030
48003
|
FileValidationError$inboundSchema = objectType({
|
|
48031
48004
|
error: stringType().optional(),
|
|
48032
48005
|
file: stringType().optional(),
|
|
48006
|
+
FileName: stringType().optional(),
|
|
48033
48007
|
filePurpose: stringType().optional(),
|
|
48034
48008
|
metadata: stringType().optional(),
|
|
48035
48009
|
request$: instanceOfType(Request),
|
|
48036
48010
|
response$: instanceOfType(Response),
|
|
48037
48011
|
body$: stringType()
|
|
48038
48012
|
}).transform((v2) => {
|
|
48039
|
-
|
|
48013
|
+
const remapped = remap(v2, {
|
|
48014
|
+
FileName: "fileName"
|
|
48015
|
+
});
|
|
48016
|
+
return new FileValidationError(remapped, {
|
|
48040
48017
|
request: v2.request$,
|
|
48041
48018
|
response: v2.response$,
|
|
48042
48019
|
body: v2.body$
|
|
@@ -48045,8 +48022,13 @@ var init_filevalidationerror = __esm(() => {
|
|
|
48045
48022
|
FileValidationError$outboundSchema = instanceOfType(FileValidationError).transform((v2) => v2.data$).pipe(objectType({
|
|
48046
48023
|
error: stringType().optional(),
|
|
48047
48024
|
file: stringType().optional(),
|
|
48025
|
+
fileName: stringType().optional(),
|
|
48048
48026
|
filePurpose: stringType().optional(),
|
|
48049
48027
|
metadata: stringType().optional()
|
|
48028
|
+
}).transform((v2) => {
|
|
48029
|
+
return remap(v2, {
|
|
48030
|
+
fileName: "FileName"
|
|
48031
|
+
});
|
|
48050
48032
|
}));
|
|
48051
48033
|
((FileValidationError$) => {
|
|
48052
48034
|
FileValidationError$.inboundSchema = FileValidationError$inboundSchema;
|
|
@@ -48340,6 +48322,7 @@ var init_patchaccounterror = __esm(() => {
|
|
|
48340
48322
|
foreignID;
|
|
48341
48323
|
customerSupport;
|
|
48342
48324
|
settings;
|
|
48325
|
+
error;
|
|
48343
48326
|
data$;
|
|
48344
48327
|
constructor(err, httpMeta) {
|
|
48345
48328
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -48357,6 +48340,8 @@ var init_patchaccounterror = __esm(() => {
|
|
|
48357
48340
|
this.customerSupport = err.customerSupport;
|
|
48358
48341
|
if (err.settings != null)
|
|
48359
48342
|
this.settings = err.settings;
|
|
48343
|
+
if (err.error != null)
|
|
48344
|
+
this.error = err.error;
|
|
48360
48345
|
this.name = "PatchAccountError";
|
|
48361
48346
|
}
|
|
48362
48347
|
};
|
|
@@ -48367,6 +48352,7 @@ var init_patchaccounterror = __esm(() => {
|
|
|
48367
48352
|
foreignID: stringType().optional(),
|
|
48368
48353
|
customerSupport: CustomerSupportError$inboundSchema.optional(),
|
|
48369
48354
|
settings: CreateAccountSettings$inboundSchema.optional(),
|
|
48355
|
+
error: stringType().optional(),
|
|
48370
48356
|
request$: instanceOfType(Request),
|
|
48371
48357
|
response$: instanceOfType(Response),
|
|
48372
48358
|
body$: stringType()
|
|
@@ -48383,7 +48369,8 @@ var init_patchaccounterror = __esm(() => {
|
|
|
48383
48369
|
termsOfService: TermsOfServiceError$outboundSchema.optional(),
|
|
48384
48370
|
foreignID: stringType().optional(),
|
|
48385
48371
|
customerSupport: CustomerSupportError$outboundSchema.optional(),
|
|
48386
|
-
settings: CreateAccountSettings$outboundSchema.optional()
|
|
48372
|
+
settings: CreateAccountSettings$outboundSchema.optional(),
|
|
48373
|
+
error: stringType().optional()
|
|
48387
48374
|
}));
|
|
48388
48375
|
((PatchAccountError$) => {
|
|
48389
48376
|
PatchAccountError$.inboundSchema = PatchAccountError$inboundSchema;
|
|
@@ -49418,6 +49405,7 @@ var init_upsertunderwritingerror = __esm(() => {
|
|
|
49418
49405
|
moneyTransfer;
|
|
49419
49406
|
sendFunds;
|
|
49420
49407
|
averageMonthlyTransactionVolume;
|
|
49408
|
+
error;
|
|
49421
49409
|
averageTransactionSize;
|
|
49422
49410
|
maxTransactionSize;
|
|
49423
49411
|
volumeByCustomerType;
|
|
@@ -49448,6 +49436,8 @@ var init_upsertunderwritingerror = __esm(() => {
|
|
|
49448
49436
|
if (err.averageMonthlyTransactionVolume != null) {
|
|
49449
49437
|
this.averageMonthlyTransactionVolume = err.averageMonthlyTransactionVolume;
|
|
49450
49438
|
}
|
|
49439
|
+
if (err.error != null)
|
|
49440
|
+
this.error = err.error;
|
|
49451
49441
|
if (err.averageTransactionSize != null) {
|
|
49452
49442
|
this.averageTransactionSize = err.averageTransactionSize;
|
|
49453
49443
|
}
|
|
@@ -49474,6 +49464,7 @@ var init_upsertunderwritingerror = __esm(() => {
|
|
|
49474
49464
|
moneyTransfer: MoneyTransferError$inboundSchema.optional(),
|
|
49475
49465
|
sendFunds: SendFundsError$inboundSchema.optional(),
|
|
49476
49466
|
averageMonthlyTransactionVolume: stringType().optional(),
|
|
49467
|
+
error: stringType().optional(),
|
|
49477
49468
|
averageTransactionSize: stringType().optional(),
|
|
49478
49469
|
maxTransactionSize: stringType().optional(),
|
|
49479
49470
|
volumeByCustomerType: VolumeByCustomerTypeError$inboundSchema.optional(),
|
|
@@ -49498,6 +49489,7 @@ var init_upsertunderwritingerror = __esm(() => {
|
|
|
49498
49489
|
moneyTransfer: MoneyTransferError$outboundSchema.optional(),
|
|
49499
49490
|
sendFunds: SendFundsError$outboundSchema.optional(),
|
|
49500
49491
|
averageMonthlyTransactionVolume: stringType().optional(),
|
|
49492
|
+
error: stringType().optional(),
|
|
49501
49493
|
averageTransactionSize: stringType().optional(),
|
|
49502
49494
|
maxTransactionSize: stringType().optional(),
|
|
49503
49495
|
volumeByCustomerType: VolumeByCustomerTypeError$outboundSchema.optional(),
|
|
@@ -76016,7 +76008,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
76016
76008
|
function createMCPServer(deps) {
|
|
76017
76009
|
const server = new McpServer({
|
|
76018
76010
|
name: "Moov",
|
|
76019
|
-
version: "0.14.
|
|
76011
|
+
version: "0.14.25"
|
|
76020
76012
|
});
|
|
76021
76013
|
const client = new MoovCore({
|
|
76022
76014
|
security: deps.security,
|
|
@@ -77526,7 +77518,7 @@ var routes = rn({
|
|
|
77526
77518
|
var app = Ve(routes, {
|
|
77527
77519
|
name: "mcp",
|
|
77528
77520
|
versionInfo: {
|
|
77529
|
-
currentVersion: "0.14.
|
|
77521
|
+
currentVersion: "0.14.25"
|
|
77530
77522
|
}
|
|
77531
77523
|
});
|
|
77532
77524
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -77534,5 +77526,5 @@ export {
|
|
|
77534
77526
|
app
|
|
77535
77527
|
};
|
|
77536
77528
|
|
|
77537
|
-
//# debugId=
|
|
77529
|
+
//# debugId=C3BD937EEE387F3F64756E2164756E21
|
|
77538
77530
|
//# sourceMappingURL=mcp-server.js.map
|