@moovio/sdk 25.3.10 → 25.3.11
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 +68 -14
- package/bin/mcp-server.js.map +12 -10
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/authtokenrequest.d.ts +6 -0
- package/models/components/authtokenrequest.d.ts.map +1 -1
- package/models/components/authtokenrequest.js +5 -0
- package/models/components/authtokenrequest.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/issuedcardauthorization.d.ts +9 -0
- package/models/components/issuedcardauthorization.d.ts.map +1 -1
- package/models/components/issuedcardauthorization.js +3 -0
- package/models/components/issuedcardauthorization.js.map +1 -1
- package/models/components/issuedcardauthorizationevent.d.ts +9 -0
- package/models/components/issuedcardauthorizationevent.d.ts.map +1 -1
- package/models/components/issuedcardauthorizationevent.js +3 -0
- package/models/components/issuedcardauthorizationevent.js.map +1 -1
- package/models/components/issuingdeclinereason.d.ts +37 -0
- package/models/components/issuingdeclinereason.d.ts.map +1 -0
- package/models/components/issuingdeclinereason.js +68 -0
- package/models/components/issuingdeclinereason.js.map +1 -0
- package/models/components/oauth2clienttype.d.ts +22 -0
- package/models/components/oauth2clienttype.d.ts.map +1 -0
- package/models/components/oauth2clienttype.js +56 -0
- package/models/components/oauth2clienttype.js.map +1 -0
- package/package.json +1 -1
- package/src/lib/config.ts +3 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/authtokenrequest.ts +14 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/issuedcardauthorization.ts +15 -0
- package/src/models/components/issuedcardauthorizationevent.ts +15 -0
- package/src/models/components/issuingdeclinereason.ts +46 -0
- package/src/models/components/oauth2clienttype.ts +31 -0
package/bin/mcp-server.js
CHANGED
|
@@ -52974,9 +52974,9 @@ var init_config = __esm(() => {
|
|
|
52974
52974
|
SDK_METADATA = {
|
|
52975
52975
|
language: "typescript",
|
|
52976
52976
|
openapiDocVersion: "v2025.01.00",
|
|
52977
|
-
sdkVersion: "25.3.
|
|
52978
|
-
genVersion: "2.
|
|
52979
|
-
userAgent: "speakeasy-sdk/typescript 25.3.
|
|
52977
|
+
sdkVersion: "25.3.11",
|
|
52978
|
+
genVersion: "2.938.0",
|
|
52979
|
+
userAgent: "speakeasy-sdk/typescript 25.3.11 2.938.0 v2025.01.00 @moovio/sdk"
|
|
52980
52980
|
};
|
|
52981
52981
|
});
|
|
52982
52982
|
|
|
@@ -56544,24 +56544,43 @@ var init_granttype = __esm(() => {
|
|
|
56544
56544
|
GrantType$outboundSchema = GrantType$inboundSchema;
|
|
56545
56545
|
});
|
|
56546
56546
|
|
|
56547
|
+
// src/models/components/oauth2clienttype.ts
|
|
56548
|
+
var OAuth2ClientType, OAuth2ClientType$inboundSchema, OAuth2ClientType$outboundSchema;
|
|
56549
|
+
var init_oauth2clienttype = __esm(() => {
|
|
56550
|
+
init_esm();
|
|
56551
|
+
OAuth2ClientType = {
|
|
56552
|
+
Web: "web",
|
|
56553
|
+
Device: "device",
|
|
56554
|
+
Service: "service",
|
|
56555
|
+
W: "w",
|
|
56556
|
+
D: "d",
|
|
56557
|
+
S: "s"
|
|
56558
|
+
};
|
|
56559
|
+
OAuth2ClientType$inboundSchema = nativeEnumType(OAuth2ClientType);
|
|
56560
|
+
OAuth2ClientType$outboundSchema = OAuth2ClientType$inboundSchema;
|
|
56561
|
+
});
|
|
56562
|
+
|
|
56547
56563
|
// src/models/components/authtokenrequest.ts
|
|
56548
56564
|
var AuthTokenRequest$inboundSchema, AuthTokenRequest$outboundSchema;
|
|
56549
56565
|
var init_authtokenrequest = __esm(() => {
|
|
56550
56566
|
init_esm();
|
|
56551
56567
|
init_primitives();
|
|
56552
56568
|
init_granttype();
|
|
56569
|
+
init_oauth2clienttype();
|
|
56553
56570
|
AuthTokenRequest$inboundSchema = objectType({
|
|
56554
56571
|
grant_type: GrantType$inboundSchema,
|
|
56555
56572
|
client_id: stringType().optional(),
|
|
56556
56573
|
client_secret: stringType().optional(),
|
|
56557
56574
|
scope: stringType().optional(),
|
|
56558
|
-
refresh_token: stringType().optional()
|
|
56575
|
+
refresh_token: stringType().optional(),
|
|
56576
|
+
client_type: OAuth2ClientType$inboundSchema.optional()
|
|
56559
56577
|
}).transform((v2) => {
|
|
56560
56578
|
return remap(v2, {
|
|
56561
56579
|
grant_type: "grantType",
|
|
56562
56580
|
client_id: "clientId",
|
|
56563
56581
|
client_secret: "clientSecret",
|
|
56564
|
-
refresh_token: "refreshToken"
|
|
56582
|
+
refresh_token: "refreshToken",
|
|
56583
|
+
client_type: "clientType"
|
|
56565
56584
|
});
|
|
56566
56585
|
});
|
|
56567
56586
|
AuthTokenRequest$outboundSchema = objectType({
|
|
@@ -56569,13 +56588,15 @@ var init_authtokenrequest = __esm(() => {
|
|
|
56569
56588
|
clientId: stringType().optional(),
|
|
56570
56589
|
clientSecret: stringType().optional(),
|
|
56571
56590
|
scope: stringType().optional(),
|
|
56572
|
-
refreshToken: stringType().optional()
|
|
56591
|
+
refreshToken: stringType().optional(),
|
|
56592
|
+
clientType: OAuth2ClientType$outboundSchema.optional()
|
|
56573
56593
|
}).transform((v2) => {
|
|
56574
56594
|
return remap(v2, {
|
|
56575
56595
|
grantType: "grant_type",
|
|
56576
56596
|
clientId: "client_id",
|
|
56577
56597
|
clientSecret: "client_secret",
|
|
56578
|
-
refreshToken: "refresh_token"
|
|
56598
|
+
refreshToken: "refresh_token",
|
|
56599
|
+
clientType: "client_type"
|
|
56579
56600
|
});
|
|
56580
56601
|
});
|
|
56581
56602
|
});
|
|
@@ -63634,6 +63655,31 @@ var init_issuingauthorizationstatus = __esm(() => {
|
|
|
63634
63655
|
IssuingAuthorizationStatus$outboundSchema = IssuingAuthorizationStatus$inboundSchema;
|
|
63635
63656
|
});
|
|
63636
63657
|
|
|
63658
|
+
// src/models/components/issuingdeclinereason.ts
|
|
63659
|
+
var IssuingDeclineReason, IssuingDeclineReason$inboundSchema, IssuingDeclineReason$outboundSchema;
|
|
63660
|
+
var init_issuingdeclinereason = __esm(() => {
|
|
63661
|
+
init_esm();
|
|
63662
|
+
IssuingDeclineReason = {
|
|
63663
|
+
InsufficientFunds: "insufficient-funds",
|
|
63664
|
+
CardNotActive: "card-not-active",
|
|
63665
|
+
CardExpiration: "card-expiration",
|
|
63666
|
+
SpendCutoffReached: "spend-cutoff-reached",
|
|
63667
|
+
OutsideAllowedSchedule: "outside-allowed-schedule",
|
|
63668
|
+
SpendLimitExceeded: "spend-limit-exceeded",
|
|
63669
|
+
MerchantCategoryNotSupported: "merchant-category-not-supported",
|
|
63670
|
+
MerchantCategoryRestricted: "merchant-category-restricted",
|
|
63671
|
+
MerchantRestricted: "merchant-restricted",
|
|
63672
|
+
MerchantCountryNotSupported: "merchant-country-not-supported",
|
|
63673
|
+
UnsupportedTransaction: "unsupported-transaction",
|
|
63674
|
+
NetworkStandIn: "network-stand-in",
|
|
63675
|
+
DeclinedByIssuer: "declined-by-issuer",
|
|
63676
|
+
InvalidRequest: "invalid-request",
|
|
63677
|
+
SystemError: "system-error"
|
|
63678
|
+
};
|
|
63679
|
+
IssuingDeclineReason$inboundSchema = nativeEnumType(IssuingDeclineReason);
|
|
63680
|
+
IssuingDeclineReason$outboundSchema = IssuingDeclineReason$inboundSchema;
|
|
63681
|
+
});
|
|
63682
|
+
|
|
63637
63683
|
// src/models/components/issuingmerchantdata.ts
|
|
63638
63684
|
var IssuingMerchantData$inboundSchema, IssuingMerchantData$outboundSchema;
|
|
63639
63685
|
var init_issuingmerchantdata = __esm(() => {
|
|
@@ -63664,6 +63710,7 @@ var init_issuedcardauthorization = __esm(() => {
|
|
|
63664
63710
|
init_esm();
|
|
63665
63711
|
init_cardissuingnetwork();
|
|
63666
63712
|
init_issuingauthorizationstatus();
|
|
63713
|
+
init_issuingdeclinereason();
|
|
63667
63714
|
init_issuingmerchantdata();
|
|
63668
63715
|
IssuedCardAuthorization$inboundSchema = objectType({
|
|
63669
63716
|
authorizationID: stringType(),
|
|
@@ -63675,7 +63722,8 @@ var init_issuedcardauthorization = __esm(() => {
|
|
|
63675
63722
|
status: IssuingAuthorizationStatus$inboundSchema,
|
|
63676
63723
|
merchantData: IssuingMerchantData$inboundSchema,
|
|
63677
63724
|
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
63678
|
-
cardTransactions: arrayType(stringType()).optional()
|
|
63725
|
+
cardTransactions: arrayType(stringType()).optional(),
|
|
63726
|
+
declineReason: IssuingDeclineReason$inboundSchema.optional()
|
|
63679
63727
|
});
|
|
63680
63728
|
IssuedCardAuthorization$outboundSchema = objectType({
|
|
63681
63729
|
authorizationID: stringType(),
|
|
@@ -63687,7 +63735,8 @@ var init_issuedcardauthorization = __esm(() => {
|
|
|
63687
63735
|
status: IssuingAuthorizationStatus$outboundSchema,
|
|
63688
63736
|
merchantData: IssuingMerchantData$outboundSchema,
|
|
63689
63737
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
63690
|
-
cardTransactions: arrayType(stringType()).optional()
|
|
63738
|
+
cardTransactions: arrayType(stringType()).optional(),
|
|
63739
|
+
declineReason: IssuingDeclineReason$outboundSchema.optional()
|
|
63691
63740
|
});
|
|
63692
63741
|
});
|
|
63693
63742
|
|
|
@@ -63726,19 +63775,22 @@ var init_issuedcardauthorizationevent = __esm(() => {
|
|
|
63726
63775
|
init_esm();
|
|
63727
63776
|
init_issuedcardauthorizationeventresult();
|
|
63728
63777
|
init_issuedcardeventtype();
|
|
63778
|
+
init_issuingdeclinereason();
|
|
63729
63779
|
IssuedCardAuthorizationEvent$inboundSchema = objectType({
|
|
63730
63780
|
eventID: stringType(),
|
|
63731
63781
|
eventType: IssuedCardEventType$inboundSchema,
|
|
63732
63782
|
amount: stringType(),
|
|
63733
63783
|
result: IssuedCardAuthorizationEventResult$inboundSchema,
|
|
63734
|
-
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
63784
|
+
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
63785
|
+
declineReason: IssuingDeclineReason$inboundSchema.optional()
|
|
63735
63786
|
});
|
|
63736
63787
|
IssuedCardAuthorizationEvent$outboundSchema = objectType({
|
|
63737
63788
|
eventID: stringType(),
|
|
63738
63789
|
eventType: IssuedCardEventType$outboundSchema,
|
|
63739
63790
|
amount: stringType(),
|
|
63740
63791
|
result: IssuedCardAuthorizationEventResult$outboundSchema,
|
|
63741
|
-
createdOn: dateType().transform((v2) => v2.toISOString())
|
|
63792
|
+
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
63793
|
+
declineReason: IssuingDeclineReason$outboundSchema.optional()
|
|
63742
63794
|
});
|
|
63743
63795
|
});
|
|
63744
63796
|
|
|
@@ -67961,6 +68013,7 @@ var init_components = __esm(() => {
|
|
|
67961
68013
|
init_issuingauthorizationstatus();
|
|
67962
68014
|
init_issuingcontrols();
|
|
67963
68015
|
init_issuingcontrolserror();
|
|
68016
|
+
init_issuingdeclinereason();
|
|
67964
68017
|
init_issuingintervallimit();
|
|
67965
68018
|
init_issuingmerchantdata();
|
|
67966
68019
|
init_issuingvelocitylimit();
|
|
@@ -67988,6 +68041,7 @@ var init_components = __esm(() => {
|
|
|
67988
68041
|
init_moovwallettransferpaymentmethod();
|
|
67989
68042
|
init_mxauthorizationcode();
|
|
67990
68043
|
init_mxpayload();
|
|
68044
|
+
init_oauth2clienttype();
|
|
67991
68045
|
init_occurrence();
|
|
67992
68046
|
init_occurrencesresponse();
|
|
67993
68047
|
init_occurrencestatus();
|
|
@@ -96474,7 +96528,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
96474
96528
|
function createMCPServer(deps) {
|
|
96475
96529
|
const server = new McpServer({
|
|
96476
96530
|
name: "Moov",
|
|
96477
|
-
version: "25.3.
|
|
96531
|
+
version: "25.3.11"
|
|
96478
96532
|
});
|
|
96479
96533
|
const client = new MoovCore({
|
|
96480
96534
|
security: deps.security,
|
|
@@ -98032,7 +98086,7 @@ var routes = rn({
|
|
|
98032
98086
|
var app = Ve(routes, {
|
|
98033
98087
|
name: "mcp",
|
|
98034
98088
|
versionInfo: {
|
|
98035
|
-
currentVersion: "25.3.
|
|
98089
|
+
currentVersion: "25.3.11"
|
|
98036
98090
|
}
|
|
98037
98091
|
});
|
|
98038
98092
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -98040,5 +98094,5 @@ export {
|
|
|
98040
98094
|
app
|
|
98041
98095
|
};
|
|
98042
98096
|
|
|
98043
|
-
//# debugId=
|
|
98097
|
+
//# debugId=D185C016CAB9A29C64756E2164756E21
|
|
98044
98098
|
//# sourceMappingURL=mcp-server.js.map
|