@moovio/sdk 25.6.9 → 25.6.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 +70 -16
- package/bin/mcp-server.js.map +14 -12
- 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/mcp-server.js.map +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/server.js.map +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/cardtransactionstatus.d.ts +1 -1
- package/models/components/cardtransactionstatus.js +1 -1
- package/models/components/cardtransactionstatus.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/models/components/refundcardstatus.d.ts +1 -1
- package/models/components/refundcardstatus.js +1 -1
- package/models/components/refundcardstatus.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/authtokenrequest.ts +14 -0
- package/src/models/components/cardtransactionstatus.ts +1 -1
- 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/src/models/components/refundcardstatus.ts +1 -1
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.04.00",
|
|
52977
|
-
sdkVersion: "25.6.
|
|
52978
|
-
genVersion: "2.
|
|
52979
|
-
userAgent: "speakeasy-sdk/typescript 25.6.
|
|
52977
|
+
sdkVersion: "25.6.11",
|
|
52978
|
+
genVersion: "2.938.0",
|
|
52979
|
+
userAgent: "speakeasy-sdk/typescript 25.6.11 2.938.0 v2025.04.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
|
});
|
|
@@ -60057,7 +60078,7 @@ var init_refundcardstatus = __esm(() => {
|
|
|
60057
60078
|
Settled: "settled",
|
|
60058
60079
|
Failed: "failed",
|
|
60059
60080
|
Completed: "completed",
|
|
60060
|
-
|
|
60081
|
+
ClearedExternally: "cleared-externally"
|
|
60061
60082
|
};
|
|
60062
60083
|
RefundCardStatus$inboundSchema = nativeEnumType(RefundCardStatus);
|
|
60063
60084
|
RefundCardStatus$outboundSchema = RefundCardStatus$inboundSchema;
|
|
@@ -60460,7 +60481,7 @@ var init_cardtransactionstatus = __esm(() => {
|
|
|
60460
60481
|
Settled: "settled",
|
|
60461
60482
|
Failed: "failed",
|
|
60462
60483
|
Completed: "completed",
|
|
60463
|
-
|
|
60484
|
+
ClearedExternally: "cleared-externally"
|
|
60464
60485
|
};
|
|
60465
60486
|
CardTransactionStatus$inboundSchema = nativeEnumType(CardTransactionStatus);
|
|
60466
60487
|
CardTransactionStatus$outboundSchema = CardTransactionStatus$inboundSchema;
|
|
@@ -63771,6 +63792,31 @@ var init_issuingauthorizationstatus = __esm(() => {
|
|
|
63771
63792
|
IssuingAuthorizationStatus$outboundSchema = IssuingAuthorizationStatus$inboundSchema;
|
|
63772
63793
|
});
|
|
63773
63794
|
|
|
63795
|
+
// src/models/components/issuingdeclinereason.ts
|
|
63796
|
+
var IssuingDeclineReason, IssuingDeclineReason$inboundSchema, IssuingDeclineReason$outboundSchema;
|
|
63797
|
+
var init_issuingdeclinereason = __esm(() => {
|
|
63798
|
+
init_esm();
|
|
63799
|
+
IssuingDeclineReason = {
|
|
63800
|
+
InsufficientFunds: "insufficient-funds",
|
|
63801
|
+
CardNotActive: "card-not-active",
|
|
63802
|
+
CardExpiration: "card-expiration",
|
|
63803
|
+
SpendCutoffReached: "spend-cutoff-reached",
|
|
63804
|
+
OutsideAllowedSchedule: "outside-allowed-schedule",
|
|
63805
|
+
SpendLimitExceeded: "spend-limit-exceeded",
|
|
63806
|
+
MerchantCategoryNotSupported: "merchant-category-not-supported",
|
|
63807
|
+
MerchantCategoryRestricted: "merchant-category-restricted",
|
|
63808
|
+
MerchantRestricted: "merchant-restricted",
|
|
63809
|
+
MerchantCountryNotSupported: "merchant-country-not-supported",
|
|
63810
|
+
UnsupportedTransaction: "unsupported-transaction",
|
|
63811
|
+
NetworkStandIn: "network-stand-in",
|
|
63812
|
+
DeclinedByIssuer: "declined-by-issuer",
|
|
63813
|
+
InvalidRequest: "invalid-request",
|
|
63814
|
+
SystemError: "system-error"
|
|
63815
|
+
};
|
|
63816
|
+
IssuingDeclineReason$inboundSchema = nativeEnumType(IssuingDeclineReason);
|
|
63817
|
+
IssuingDeclineReason$outboundSchema = IssuingDeclineReason$inboundSchema;
|
|
63818
|
+
});
|
|
63819
|
+
|
|
63774
63820
|
// src/models/components/issuingmerchantdata.ts
|
|
63775
63821
|
var IssuingMerchantData$inboundSchema, IssuingMerchantData$outboundSchema;
|
|
63776
63822
|
var init_issuingmerchantdata = __esm(() => {
|
|
@@ -63801,6 +63847,7 @@ var init_issuedcardauthorization = __esm(() => {
|
|
|
63801
63847
|
init_esm();
|
|
63802
63848
|
init_cardissuingnetwork();
|
|
63803
63849
|
init_issuingauthorizationstatus();
|
|
63850
|
+
init_issuingdeclinereason();
|
|
63804
63851
|
init_issuingmerchantdata();
|
|
63805
63852
|
IssuedCardAuthorization$inboundSchema = objectType({
|
|
63806
63853
|
authorizationID: stringType(),
|
|
@@ -63812,7 +63859,8 @@ var init_issuedcardauthorization = __esm(() => {
|
|
|
63812
63859
|
status: IssuingAuthorizationStatus$inboundSchema,
|
|
63813
63860
|
merchantData: IssuingMerchantData$inboundSchema,
|
|
63814
63861
|
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
63815
|
-
cardTransactions: arrayType(stringType()).optional()
|
|
63862
|
+
cardTransactions: arrayType(stringType()).optional(),
|
|
63863
|
+
declineReason: IssuingDeclineReason$inboundSchema.optional()
|
|
63816
63864
|
});
|
|
63817
63865
|
IssuedCardAuthorization$outboundSchema = objectType({
|
|
63818
63866
|
authorizationID: stringType(),
|
|
@@ -63824,7 +63872,8 @@ var init_issuedcardauthorization = __esm(() => {
|
|
|
63824
63872
|
status: IssuingAuthorizationStatus$outboundSchema,
|
|
63825
63873
|
merchantData: IssuingMerchantData$outboundSchema,
|
|
63826
63874
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
63827
|
-
cardTransactions: arrayType(stringType()).optional()
|
|
63875
|
+
cardTransactions: arrayType(stringType()).optional(),
|
|
63876
|
+
declineReason: IssuingDeclineReason$outboundSchema.optional()
|
|
63828
63877
|
});
|
|
63829
63878
|
});
|
|
63830
63879
|
|
|
@@ -63863,19 +63912,22 @@ var init_issuedcardauthorizationevent = __esm(() => {
|
|
|
63863
63912
|
init_esm();
|
|
63864
63913
|
init_issuedcardauthorizationeventresult();
|
|
63865
63914
|
init_issuedcardeventtype();
|
|
63915
|
+
init_issuingdeclinereason();
|
|
63866
63916
|
IssuedCardAuthorizationEvent$inboundSchema = objectType({
|
|
63867
63917
|
eventID: stringType(),
|
|
63868
63918
|
eventType: IssuedCardEventType$inboundSchema,
|
|
63869
63919
|
amount: stringType(),
|
|
63870
63920
|
result: IssuedCardAuthorizationEventResult$inboundSchema,
|
|
63871
|
-
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
63921
|
+
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
63922
|
+
declineReason: IssuingDeclineReason$inboundSchema.optional()
|
|
63872
63923
|
});
|
|
63873
63924
|
IssuedCardAuthorizationEvent$outboundSchema = objectType({
|
|
63874
63925
|
eventID: stringType(),
|
|
63875
63926
|
eventType: IssuedCardEventType$outboundSchema,
|
|
63876
63927
|
amount: stringType(),
|
|
63877
63928
|
result: IssuedCardAuthorizationEventResult$outboundSchema,
|
|
63878
|
-
createdOn: dateType().transform((v2) => v2.toISOString())
|
|
63929
|
+
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
63930
|
+
declineReason: IssuingDeclineReason$outboundSchema.optional()
|
|
63879
63931
|
});
|
|
63880
63932
|
});
|
|
63881
63933
|
|
|
@@ -68107,6 +68159,7 @@ var init_components = __esm(() => {
|
|
|
68107
68159
|
init_issuingauthorizationstatus();
|
|
68108
68160
|
init_issuingcontrols();
|
|
68109
68161
|
init_issuingcontrolserror();
|
|
68162
|
+
init_issuingdeclinereason();
|
|
68110
68163
|
init_issuingintervallimit();
|
|
68111
68164
|
init_issuingmerchantdata();
|
|
68112
68165
|
init_issuingvelocitylimit();
|
|
@@ -68134,6 +68187,7 @@ var init_components = __esm(() => {
|
|
|
68134
68187
|
init_moovwallettransferpaymentmethod();
|
|
68135
68188
|
init_mxauthorizationcode();
|
|
68136
68189
|
init_mxpayload();
|
|
68190
|
+
init_oauth2clienttype();
|
|
68137
68191
|
init_occurrence();
|
|
68138
68192
|
init_occurrencesresponse();
|
|
68139
68193
|
init_occurrencestatus();
|
|
@@ -96623,7 +96677,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
96623
96677
|
function createMCPServer(deps) {
|
|
96624
96678
|
const server = new McpServer({
|
|
96625
96679
|
name: "Moov",
|
|
96626
|
-
version: "25.6.
|
|
96680
|
+
version: "25.6.11"
|
|
96627
96681
|
});
|
|
96628
96682
|
const client = new MoovCore({
|
|
96629
96683
|
security: deps.security,
|
|
@@ -98181,7 +98235,7 @@ var routes = rn({
|
|
|
98181
98235
|
var app = Ve(routes, {
|
|
98182
98236
|
name: "mcp",
|
|
98183
98237
|
versionInfo: {
|
|
98184
|
-
currentVersion: "25.6.
|
|
98238
|
+
currentVersion: "25.6.11"
|
|
98185
98239
|
}
|
|
98186
98240
|
});
|
|
98187
98241
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -98189,5 +98243,5 @@ export {
|
|
|
98189
98243
|
app
|
|
98190
98244
|
};
|
|
98191
98245
|
|
|
98192
|
-
//# debugId=
|
|
98246
|
+
//# debugId=AE1468CC3444472364756E2164756E21
|
|
98193
98247
|
//# sourceMappingURL=mcp-server.js.map
|