@moovio/sdk 0.14.5 → 0.14.7
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 +46 -12
- package/bin/mcp-server.js.map +11 -10
- package/examples/package-lock.json +1 -1
- package/funcs/supportListTickets.js +1 -0
- package/funcs/supportListTickets.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/cardtransactiondetails.d.ts +5 -0
- package/models/components/cardtransactiondetails.d.ts.map +1 -1
- package/models/components/cardtransactiondetails.js +2 -0
- package/models/components/cardtransactiondetails.js.map +1 -1
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/itemlistnextpage.d.ts +32 -0
- package/models/components/itemlistnextpage.d.ts.map +1 -0
- package/models/components/itemlistnextpage.js +69 -0
- package/models/components/itemlistnextpage.js.map +1 -0
- package/models/operations/listtickets.d.ts +34 -2
- package/models/operations/listtickets.d.ts.map +1 -1
- package/models/operations/listtickets.js +34 -3
- package/models/operations/listtickets.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/supportListTickets.ts +1 -0
- 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/cardtransactiondetails.ts +7 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/itemlistnextpage.ts +69 -0
- package/src/models/operations/listtickets.ts +73 -4
- package/test/README.md +13 -1
- package/test/package.json +2 -0
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.656.
|
|
34180
|
-
userAgent: "speakeasy-sdk/typescript 0.14.
|
|
34178
|
+
sdkVersion: "0.14.7",
|
|
34179
|
+
genVersion: "2.656.9",
|
|
34180
|
+
userAgent: "speakeasy-sdk/typescript 0.14.7 2.656.9 latest @moovio/sdk"
|
|
34181
34181
|
};
|
|
34182
34182
|
});
|
|
34183
34183
|
|
|
@@ -38998,7 +38998,8 @@ var init_cardtransactiondetails = __esm(() => {
|
|
|
38998
38998
|
canceledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
38999
38999
|
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
39000
39000
|
interchangeQualification: stringType().optional(),
|
|
39001
|
-
feeProgram: stringType().optional()
|
|
39001
|
+
feeProgram: stringType().optional(),
|
|
39002
|
+
authorizationCode: stringType().optional()
|
|
39002
39003
|
});
|
|
39003
39004
|
CardTransactionDetails$outboundSchema = objectType({
|
|
39004
39005
|
status: CardTransactionStatus$outboundSchema,
|
|
@@ -39012,7 +39013,8 @@ var init_cardtransactiondetails = __esm(() => {
|
|
|
39012
39013
|
canceledOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
39013
39014
|
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
39014
39015
|
interchangeQualification: stringType().optional(),
|
|
39015
|
-
feeProgram: stringType().optional()
|
|
39016
|
+
feeProgram: stringType().optional(),
|
|
39017
|
+
authorizationCode: stringType().optional()
|
|
39016
39018
|
});
|
|
39017
39019
|
((CardTransactionDetails$) => {
|
|
39018
39020
|
CardTransactionDetails$.inboundSchema = CardTransactionDetails$inboundSchema;
|
|
@@ -42665,6 +42667,22 @@ var init_issuingcontrolserror = __esm(() => {
|
|
|
42665
42667
|
})(IssuingControlsError$ ||= {});
|
|
42666
42668
|
});
|
|
42667
42669
|
|
|
42670
|
+
// src/models/components/itemlistnextpage.ts
|
|
42671
|
+
var ItemListNextPage$inboundSchema, ItemListNextPage$outboundSchema, ItemListNextPage$;
|
|
42672
|
+
var init_itemlistnextpage = __esm(() => {
|
|
42673
|
+
init_esm();
|
|
42674
|
+
ItemListNextPage$inboundSchema = objectType({
|
|
42675
|
+
cursor: stringType()
|
|
42676
|
+
});
|
|
42677
|
+
ItemListNextPage$outboundSchema = objectType({
|
|
42678
|
+
cursor: stringType()
|
|
42679
|
+
});
|
|
42680
|
+
((ItemListNextPage$) => {
|
|
42681
|
+
ItemListNextPage$.inboundSchema = ItemListNextPage$inboundSchema;
|
|
42682
|
+
ItemListNextPage$.outboundSchema = ItemListNextPage$outboundSchema;
|
|
42683
|
+
})(ItemListNextPage$ ||= {});
|
|
42684
|
+
});
|
|
42685
|
+
|
|
42668
42686
|
// src/models/components/jsonwebkey.ts
|
|
42669
42687
|
var Use, Use$inboundSchema, Use$outboundSchema, Use$, JSONWebKey$inboundSchema, JSONWebKey$outboundSchema, JSONWebKey$;
|
|
42670
42688
|
var init_jsonwebkey = __esm(() => {
|
|
@@ -47110,6 +47128,7 @@ var init_components = __esm(() => {
|
|
|
47110
47128
|
init_issuingmerchantdata();
|
|
47111
47129
|
init_issuingvelocitylimit();
|
|
47112
47130
|
init_issuingvelocitylimiterror();
|
|
47131
|
+
init_itemlistnextpage();
|
|
47113
47132
|
init_jsonwebkey();
|
|
47114
47133
|
init_linkaccountterminalapplication();
|
|
47115
47134
|
init_linkapplepay();
|
|
@@ -56313,7 +56332,7 @@ var init_listticketmessages = __esm(() => {
|
|
|
56313
56332
|
});
|
|
56314
56333
|
|
|
56315
56334
|
// src/models/operations/listtickets.ts
|
|
56316
|
-
var ListTicketsGlobals$inboundSchema, ListTicketsGlobals$outboundSchema, ListTicketsGlobals$, ListTicketsRequest$inboundSchema, ListTicketsRequest$outboundSchema, ListTicketsRequest$, ListTicketsResponse$inboundSchema, ListTicketsResponse$outboundSchema, ListTicketsResponse$;
|
|
56335
|
+
var ListTicketsGlobals$inboundSchema, ListTicketsGlobals$outboundSchema, ListTicketsGlobals$, ListTicketsRequest$inboundSchema, ListTicketsRequest$outboundSchema, ListTicketsRequest$, ListTicketsResponseBody$inboundSchema, ListTicketsResponseBody$outboundSchema, ListTicketsResponseBody$, ListTicketsResponse$inboundSchema, ListTicketsResponse$outboundSchema, ListTicketsResponse$;
|
|
56317
56336
|
var init_listtickets = __esm(() => {
|
|
56318
56337
|
init_esm();
|
|
56319
56338
|
init_primitives();
|
|
@@ -56339,20 +56358,34 @@ var init_listtickets = __esm(() => {
|
|
|
56339
56358
|
ListTicketsRequest$inboundSchema = objectType({
|
|
56340
56359
|
cursor: stringType().optional(),
|
|
56341
56360
|
count: numberType().int().optional(),
|
|
56361
|
+
status: TicketStatus$inboundSchema.optional(),
|
|
56342
56362
|
accountID: stringType()
|
|
56343
56363
|
});
|
|
56344
56364
|
ListTicketsRequest$outboundSchema = objectType({
|
|
56345
56365
|
cursor: stringType().optional(),
|
|
56346
56366
|
count: numberType().int().optional(),
|
|
56367
|
+
status: TicketStatus$outboundSchema.optional(),
|
|
56347
56368
|
accountID: stringType()
|
|
56348
56369
|
});
|
|
56349
56370
|
((ListTicketsRequest$) => {
|
|
56350
56371
|
ListTicketsRequest$.inboundSchema = ListTicketsRequest$inboundSchema;
|
|
56351
56372
|
ListTicketsRequest$.outboundSchema = ListTicketsRequest$outboundSchema;
|
|
56352
56373
|
})(ListTicketsRequest$ ||= {});
|
|
56374
|
+
ListTicketsResponseBody$inboundSchema = objectType({
|
|
56375
|
+
items: arrayType(Ticket$inboundSchema),
|
|
56376
|
+
nextPage: ItemListNextPage$inboundSchema.optional()
|
|
56377
|
+
});
|
|
56378
|
+
ListTicketsResponseBody$outboundSchema = objectType({
|
|
56379
|
+
items: arrayType(Ticket$outboundSchema),
|
|
56380
|
+
nextPage: ItemListNextPage$outboundSchema.optional()
|
|
56381
|
+
});
|
|
56382
|
+
((ListTicketsResponseBody$) => {
|
|
56383
|
+
ListTicketsResponseBody$.inboundSchema = ListTicketsResponseBody$inboundSchema;
|
|
56384
|
+
ListTicketsResponseBody$.outboundSchema = ListTicketsResponseBody$outboundSchema;
|
|
56385
|
+
})(ListTicketsResponseBody$ ||= {});
|
|
56353
56386
|
ListTicketsResponse$inboundSchema = objectType({
|
|
56354
56387
|
Headers: recordType(arrayType(stringType())),
|
|
56355
|
-
Result:
|
|
56388
|
+
Result: lazyType(() => ListTicketsResponseBody$inboundSchema)
|
|
56356
56389
|
}).transform((v2) => {
|
|
56357
56390
|
return remap(v2, {
|
|
56358
56391
|
Headers: "headers",
|
|
@@ -56361,7 +56394,7 @@ var init_listtickets = __esm(() => {
|
|
|
56361
56394
|
});
|
|
56362
56395
|
ListTicketsResponse$outboundSchema = objectType({
|
|
56363
56396
|
headers: recordType(arrayType(stringType())),
|
|
56364
|
-
result:
|
|
56397
|
+
result: lazyType(() => ListTicketsResponseBody$outboundSchema)
|
|
56365
56398
|
}).transform((v2) => {
|
|
56366
56399
|
return remap(v2, {
|
|
56367
56400
|
headers: "Headers",
|
|
@@ -72105,7 +72138,8 @@ async function $do113(client, request, options) {
|
|
|
72105
72138
|
const path = pathToFunc("/accounts/{accountID}/tickets")(pathParams);
|
|
72106
72139
|
const query = encodeFormQuery({
|
|
72107
72140
|
count: payload.count,
|
|
72108
|
-
cursor: payload.cursor
|
|
72141
|
+
cursor: payload.cursor,
|
|
72142
|
+
status: payload.status
|
|
72109
72143
|
}, { explode: false });
|
|
72110
72144
|
const headers = new Headers(compactMap({
|
|
72111
72145
|
Accept: "application/json",
|
|
@@ -75706,7 +75740,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
75706
75740
|
function createMCPServer(deps) {
|
|
75707
75741
|
const server = new McpServer({
|
|
75708
75742
|
name: "Moov",
|
|
75709
|
-
version: "0.14.
|
|
75743
|
+
version: "0.14.7"
|
|
75710
75744
|
});
|
|
75711
75745
|
const client = new MoovCore({
|
|
75712
75746
|
security: deps.security,
|
|
@@ -77214,7 +77248,7 @@ var routes = rn({
|
|
|
77214
77248
|
var app = Ve(routes, {
|
|
77215
77249
|
name: "mcp",
|
|
77216
77250
|
versionInfo: {
|
|
77217
|
-
currentVersion: "0.14.
|
|
77251
|
+
currentVersion: "0.14.7"
|
|
77218
77252
|
}
|
|
77219
77253
|
});
|
|
77220
77254
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -77222,5 +77256,5 @@ export {
|
|
|
77222
77256
|
app
|
|
77223
77257
|
};
|
|
77224
77258
|
|
|
77225
|
-
//# debugId=
|
|
77259
|
+
//# debugId=1282B530FD488F5664756E2164756E21
|
|
77226
77260
|
//# sourceMappingURL=mcp-server.js.map
|