@moovio/sdk 25.12.10 → 25.12.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.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 -3
- 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.10.00",
|
|
52977
|
-
sdkVersion: "25.12.
|
|
52978
|
-
genVersion: "2.
|
|
52979
|
-
userAgent: "speakeasy-sdk/typescript 25.12.
|
|
52977
|
+
sdkVersion: "25.12.11",
|
|
52978
|
+
genVersion: "2.938.0",
|
|
52979
|
+
userAgent: "speakeasy-sdk/typescript 25.12.11 2.938.0 v2025.10.00 @moovio/sdk"
|
|
52980
52980
|
};
|
|
52981
52981
|
});
|
|
52982
52982
|
|
|
@@ -56577,24 +56577,43 @@ var init_granttype = __esm(() => {
|
|
|
56577
56577
|
GrantType$outboundSchema = GrantType$inboundSchema;
|
|
56578
56578
|
});
|
|
56579
56579
|
|
|
56580
|
+
// src/models/components/oauth2clienttype.ts
|
|
56581
|
+
var OAuth2ClientType, OAuth2ClientType$inboundSchema, OAuth2ClientType$outboundSchema;
|
|
56582
|
+
var init_oauth2clienttype = __esm(() => {
|
|
56583
|
+
init_esm();
|
|
56584
|
+
OAuth2ClientType = {
|
|
56585
|
+
Web: "web",
|
|
56586
|
+
Device: "device",
|
|
56587
|
+
Service: "service",
|
|
56588
|
+
W: "w",
|
|
56589
|
+
D: "d",
|
|
56590
|
+
S: "s"
|
|
56591
|
+
};
|
|
56592
|
+
OAuth2ClientType$inboundSchema = nativeEnumType(OAuth2ClientType);
|
|
56593
|
+
OAuth2ClientType$outboundSchema = OAuth2ClientType$inboundSchema;
|
|
56594
|
+
});
|
|
56595
|
+
|
|
56580
56596
|
// src/models/components/authtokenrequest.ts
|
|
56581
56597
|
var AuthTokenRequest$inboundSchema, AuthTokenRequest$outboundSchema;
|
|
56582
56598
|
var init_authtokenrequest = __esm(() => {
|
|
56583
56599
|
init_esm();
|
|
56584
56600
|
init_primitives();
|
|
56585
56601
|
init_granttype();
|
|
56602
|
+
init_oauth2clienttype();
|
|
56586
56603
|
AuthTokenRequest$inboundSchema = objectType({
|
|
56587
56604
|
grant_type: GrantType$inboundSchema,
|
|
56588
56605
|
client_id: stringType().optional(),
|
|
56589
56606
|
client_secret: stringType().optional(),
|
|
56590
56607
|
scope: stringType().optional(),
|
|
56591
|
-
refresh_token: stringType().optional()
|
|
56608
|
+
refresh_token: stringType().optional(),
|
|
56609
|
+
client_type: OAuth2ClientType$inboundSchema.optional()
|
|
56592
56610
|
}).transform((v2) => {
|
|
56593
56611
|
return remap(v2, {
|
|
56594
56612
|
grant_type: "grantType",
|
|
56595
56613
|
client_id: "clientId",
|
|
56596
56614
|
client_secret: "clientSecret",
|
|
56597
|
-
refresh_token: "refreshToken"
|
|
56615
|
+
refresh_token: "refreshToken",
|
|
56616
|
+
client_type: "clientType"
|
|
56598
56617
|
});
|
|
56599
56618
|
});
|
|
56600
56619
|
AuthTokenRequest$outboundSchema = objectType({
|
|
@@ -56602,13 +56621,15 @@ var init_authtokenrequest = __esm(() => {
|
|
|
56602
56621
|
clientId: stringType().optional(),
|
|
56603
56622
|
clientSecret: stringType().optional(),
|
|
56604
56623
|
scope: stringType().optional(),
|
|
56605
|
-
refreshToken: stringType().optional()
|
|
56624
|
+
refreshToken: stringType().optional(),
|
|
56625
|
+
clientType: OAuth2ClientType$outboundSchema.optional()
|
|
56606
56626
|
}).transform((v2) => {
|
|
56607
56627
|
return remap(v2, {
|
|
56608
56628
|
grantType: "grant_type",
|
|
56609
56629
|
clientId: "client_id",
|
|
56610
56630
|
clientSecret: "client_secret",
|
|
56611
|
-
refreshToken: "refresh_token"
|
|
56631
|
+
refreshToken: "refresh_token",
|
|
56632
|
+
clientType: "client_type"
|
|
56612
56633
|
});
|
|
56613
56634
|
});
|
|
56614
56635
|
});
|
|
@@ -64231,6 +64252,31 @@ var init_issuingauthorizationstatus = __esm(() => {
|
|
|
64231
64252
|
IssuingAuthorizationStatus$outboundSchema = IssuingAuthorizationStatus$inboundSchema;
|
|
64232
64253
|
});
|
|
64233
64254
|
|
|
64255
|
+
// src/models/components/issuingdeclinereason.ts
|
|
64256
|
+
var IssuingDeclineReason, IssuingDeclineReason$inboundSchema, IssuingDeclineReason$outboundSchema;
|
|
64257
|
+
var init_issuingdeclinereason = __esm(() => {
|
|
64258
|
+
init_esm();
|
|
64259
|
+
IssuingDeclineReason = {
|
|
64260
|
+
InsufficientFunds: "insufficient-funds",
|
|
64261
|
+
CardNotActive: "card-not-active",
|
|
64262
|
+
CardExpiration: "card-expiration",
|
|
64263
|
+
SpendCutoffReached: "spend-cutoff-reached",
|
|
64264
|
+
OutsideAllowedSchedule: "outside-allowed-schedule",
|
|
64265
|
+
SpendLimitExceeded: "spend-limit-exceeded",
|
|
64266
|
+
MerchantCategoryNotSupported: "merchant-category-not-supported",
|
|
64267
|
+
MerchantCategoryRestricted: "merchant-category-restricted",
|
|
64268
|
+
MerchantRestricted: "merchant-restricted",
|
|
64269
|
+
MerchantCountryNotSupported: "merchant-country-not-supported",
|
|
64270
|
+
UnsupportedTransaction: "unsupported-transaction",
|
|
64271
|
+
NetworkStandIn: "network-stand-in",
|
|
64272
|
+
DeclinedByIssuer: "declined-by-issuer",
|
|
64273
|
+
InvalidRequest: "invalid-request",
|
|
64274
|
+
SystemError: "system-error"
|
|
64275
|
+
};
|
|
64276
|
+
IssuingDeclineReason$inboundSchema = nativeEnumType(IssuingDeclineReason);
|
|
64277
|
+
IssuingDeclineReason$outboundSchema = IssuingDeclineReason$inboundSchema;
|
|
64278
|
+
});
|
|
64279
|
+
|
|
64234
64280
|
// src/models/components/issuingmerchantdata.ts
|
|
64235
64281
|
var IssuingMerchantData$inboundSchema, IssuingMerchantData$outboundSchema;
|
|
64236
64282
|
var init_issuingmerchantdata = __esm(() => {
|
|
@@ -64261,6 +64307,7 @@ var init_issuedcardauthorization = __esm(() => {
|
|
|
64261
64307
|
init_esm();
|
|
64262
64308
|
init_cardissuingnetwork();
|
|
64263
64309
|
init_issuingauthorizationstatus();
|
|
64310
|
+
init_issuingdeclinereason();
|
|
64264
64311
|
init_issuingmerchantdata();
|
|
64265
64312
|
IssuedCardAuthorization$inboundSchema = objectType({
|
|
64266
64313
|
authorizationID: stringType(),
|
|
@@ -64272,7 +64319,8 @@ var init_issuedcardauthorization = __esm(() => {
|
|
|
64272
64319
|
status: IssuingAuthorizationStatus$inboundSchema,
|
|
64273
64320
|
merchantData: IssuingMerchantData$inboundSchema,
|
|
64274
64321
|
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
64275
|
-
cardTransactions: arrayType(stringType()).optional()
|
|
64322
|
+
cardTransactions: arrayType(stringType()).optional(),
|
|
64323
|
+
declineReason: IssuingDeclineReason$inboundSchema.optional()
|
|
64276
64324
|
});
|
|
64277
64325
|
IssuedCardAuthorization$outboundSchema = objectType({
|
|
64278
64326
|
authorizationID: stringType(),
|
|
@@ -64284,7 +64332,8 @@ var init_issuedcardauthorization = __esm(() => {
|
|
|
64284
64332
|
status: IssuingAuthorizationStatus$outboundSchema,
|
|
64285
64333
|
merchantData: IssuingMerchantData$outboundSchema,
|
|
64286
64334
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
64287
|
-
cardTransactions: arrayType(stringType()).optional()
|
|
64335
|
+
cardTransactions: arrayType(stringType()).optional(),
|
|
64336
|
+
declineReason: IssuingDeclineReason$outboundSchema.optional()
|
|
64288
64337
|
});
|
|
64289
64338
|
});
|
|
64290
64339
|
|
|
@@ -64323,19 +64372,22 @@ var init_issuedcardauthorizationevent = __esm(() => {
|
|
|
64323
64372
|
init_esm();
|
|
64324
64373
|
init_issuedcardauthorizationeventresult();
|
|
64325
64374
|
init_issuedcardeventtype();
|
|
64375
|
+
init_issuingdeclinereason();
|
|
64326
64376
|
IssuedCardAuthorizationEvent$inboundSchema = objectType({
|
|
64327
64377
|
eventID: stringType(),
|
|
64328
64378
|
eventType: IssuedCardEventType$inboundSchema,
|
|
64329
64379
|
amount: stringType(),
|
|
64330
64380
|
result: IssuedCardAuthorizationEventResult$inboundSchema,
|
|
64331
|
-
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
64381
|
+
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
64382
|
+
declineReason: IssuingDeclineReason$inboundSchema.optional()
|
|
64332
64383
|
});
|
|
64333
64384
|
IssuedCardAuthorizationEvent$outboundSchema = objectType({
|
|
64334
64385
|
eventID: stringType(),
|
|
64335
64386
|
eventType: IssuedCardEventType$outboundSchema,
|
|
64336
64387
|
amount: stringType(),
|
|
64337
64388
|
result: IssuedCardAuthorizationEventResult$outboundSchema,
|
|
64338
|
-
createdOn: dateType().transform((v2) => v2.toISOString())
|
|
64389
|
+
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
64390
|
+
declineReason: IssuingDeclineReason$outboundSchema.optional()
|
|
64339
64391
|
});
|
|
64340
64392
|
});
|
|
64341
64393
|
|
|
@@ -69022,6 +69074,7 @@ var init_components = __esm(() => {
|
|
|
69022
69074
|
init_issuingauthorizationstatus();
|
|
69023
69075
|
init_issuingcontrols();
|
|
69024
69076
|
init_issuingcontrolserror();
|
|
69077
|
+
init_issuingdeclinereason();
|
|
69025
69078
|
init_issuingintervallimit();
|
|
69026
69079
|
init_issuingmerchantdata();
|
|
69027
69080
|
init_issuingvelocitylimit();
|
|
@@ -69057,6 +69110,7 @@ var init_components = __esm(() => {
|
|
|
69057
69110
|
init_moovwallettransferpaymentmethod();
|
|
69058
69111
|
init_mxauthorizationcode();
|
|
69059
69112
|
init_mxpayload();
|
|
69113
|
+
init_oauth2clienttype();
|
|
69060
69114
|
init_occurrence();
|
|
69061
69115
|
init_occurrencesresponse();
|
|
69062
69116
|
init_occurrencestatus();
|
|
@@ -98726,7 +98780,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
98726
98780
|
function createMCPServer(deps) {
|
|
98727
98781
|
const server = new McpServer({
|
|
98728
98782
|
name: "Moov",
|
|
98729
|
-
version: "25.12.
|
|
98783
|
+
version: "25.12.11"
|
|
98730
98784
|
});
|
|
98731
98785
|
const client = new MoovCore({
|
|
98732
98786
|
security: deps.security,
|
|
@@ -100296,7 +100350,7 @@ var routes = rn({
|
|
|
100296
100350
|
var app = Ve(routes, {
|
|
100297
100351
|
name: "mcp",
|
|
100298
100352
|
versionInfo: {
|
|
100299
|
-
currentVersion: "25.12.
|
|
100353
|
+
currentVersion: "25.12.11"
|
|
100300
100354
|
}
|
|
100301
100355
|
});
|
|
100302
100356
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -100304,5 +100358,5 @@ export {
|
|
|
100304
100358
|
app
|
|
100305
100359
|
};
|
|
100306
100360
|
|
|
100307
|
-
//# debugId=
|
|
100361
|
+
//# debugId=90149CE715C9E3EE64756E2164756E21
|
|
100308
100362
|
//# sourceMappingURL=mcp-server.js.map
|