@moovio/sdk 0.14.2 → 0.14.4
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/README.md +10 -10
- package/bin/mcp-server.js +18 -25
- package/bin/mcp-server.js.map +18 -18
- package/docs/sdks/support/README.md +10 -16
- package/examples/README.md +26 -0
- package/examples/accountsCreate.example.ts +35 -0
- package/examples/package-lock.json +626 -0
- package/examples/package.json +18 -0
- package/funcs/supportCreateTicket.d.ts +1 -1
- package/funcs/supportCreateTicket.js +1 -1
- package/funcs/supportGetTicket.d.ts +1 -1
- package/funcs/supportGetTicket.js +1 -1
- package/funcs/supportListTicketMessages.d.ts +1 -1
- package/funcs/supportListTicketMessages.js +1 -6
- package/funcs/supportListTicketMessages.js.map +1 -1
- package/funcs/supportListTickets.d.ts +1 -1
- package/funcs/supportListTickets.js +2 -2
- package/funcs/supportListTickets.js.map +1 -1
- package/funcs/supportUpdateTicket.d.ts +1 -1
- package/funcs/supportUpdateTicket.js +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/mcp-server/tools/supportCreateTicket.js +1 -1
- package/mcp-server/tools/supportGetTicket.js +1 -1
- package/mcp-server/tools/supportListTicketMessages.js +1 -1
- package/mcp-server/tools/supportListTickets.js +1 -1
- package/mcp-server/tools/supportUpdateTicket.js +1 -1
- package/models/components/patchtransfer.d.ts +5 -0
- package/models/components/patchtransfer.d.ts.map +1 -1
- package/models/components/patchtransfer.js +2 -0
- package/models/components/patchtransfer.js.map +1 -1
- package/models/operations/listticketmessages.d.ts +0 -4
- package/models/operations/listticketmessages.d.ts.map +1 -1
- package/models/operations/listticketmessages.js +0 -4
- package/models/operations/listticketmessages.js.map +1 -1
- package/models/operations/listtickets.d.ts +2 -2
- package/models/operations/listtickets.d.ts.map +1 -1
- package/models/operations/listtickets.js +2 -2
- package/models/operations/listtickets.js.map +1 -1
- package/package.json +2 -2
- package/sdk/support.d.ts +5 -5
- package/sdk/support.js +5 -5
- package/src/funcs/supportCreateTicket.ts +1 -1
- package/src/funcs/supportGetTicket.ts +1 -1
- package/src/funcs/supportListTicketMessages.ts +2 -8
- package/src/funcs/supportListTickets.ts +2 -2
- package/src/funcs/supportUpdateTicket.ts +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/mcp-server/tools/supportCreateTicket.ts +1 -1
- package/src/mcp-server/tools/supportGetTicket.ts +1 -1
- package/src/mcp-server/tools/supportListTicketMessages.ts +1 -1
- package/src/mcp-server/tools/supportListTickets.ts +1 -1
- package/src/mcp-server/tools/supportUpdateTicket.ts +1 -1
- package/src/models/components/patchtransfer.ts +7 -0
- package/src/models/operations/listticketmessages.ts +0 -8
- package/src/models/operations/listtickets.ts +4 -4
- package/src/sdk/support.ts +5 -5
package/README.md
CHANGED
|
@@ -943,23 +943,23 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
|
943
943
|
* [createTicket](docs/sdks/support/README.md#createticket) - Create a support ticket for a Moov account.
|
|
944
944
|
|
|
945
945
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
946
|
-
you'll need to specify the `/accounts/{accountID}/
|
|
946
|
+
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
|
947
947
|
* [listTickets](docs/sdks/support/README.md#listtickets) - List all the support tickets created under a Moov account.
|
|
948
948
|
|
|
949
949
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
950
|
-
you'll need to specify the `/accounts/{accountID}/
|
|
950
|
+
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
951
951
|
* [getTicket](docs/sdks/support/README.md#getticket) - Retrieve a support ticket by ID.
|
|
952
952
|
|
|
953
953
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
954
|
-
you'll need to specify the `/accounts/{accountID}/
|
|
954
|
+
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
955
955
|
* [updateTicket](docs/sdks/support/README.md#updateticket) - Updates a support ticket.
|
|
956
956
|
|
|
957
957
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
958
|
-
you'll need to specify the `/accounts/{accountID}/
|
|
958
|
+
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
|
959
959
|
* [listTicketMessages](docs/sdks/support/README.md#listticketmessages) - List all the messages for a support ticket.
|
|
960
960
|
|
|
961
961
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
962
|
-
you'll need to specify the `/accounts/{accountID}/
|
|
962
|
+
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
963
963
|
|
|
964
964
|
### [sweeps](docs/sdks/sweeps/README.md)
|
|
965
965
|
|
|
@@ -1764,23 +1764,23 @@ you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
|
1764
1764
|
- [`supportCreateTicket`](docs/sdks/support/README.md#createticket) - Create a support ticket for a Moov account.
|
|
1765
1765
|
|
|
1766
1766
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1767
|
-
you'll need to specify the `/accounts/{accountID}/
|
|
1767
|
+
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
|
1768
1768
|
- [`supportGetTicket`](docs/sdks/support/README.md#getticket) - Retrieve a support ticket by ID.
|
|
1769
1769
|
|
|
1770
1770
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1771
|
-
you'll need to specify the `/accounts/{accountID}/
|
|
1771
|
+
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
1772
1772
|
- [`supportListTicketMessages`](docs/sdks/support/README.md#listticketmessages) - List all the messages for a support ticket.
|
|
1773
1773
|
|
|
1774
1774
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1775
|
-
you'll need to specify the `/accounts/{accountID}/
|
|
1775
|
+
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
1776
1776
|
- [`supportListTickets`](docs/sdks/support/README.md#listtickets) - List all the support tickets created under a Moov account.
|
|
1777
1777
|
|
|
1778
1778
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1779
|
-
you'll need to specify the `/accounts/{accountID}/
|
|
1779
|
+
you'll need to specify the `/accounts/{accountID}/tickets.read` scope.
|
|
1780
1780
|
- [`supportUpdateTicket`](docs/sdks/support/README.md#updateticket) - Updates a support ticket.
|
|
1781
1781
|
|
|
1782
1782
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1783
|
-
you'll need to specify the `/accounts/{accountID}/
|
|
1783
|
+
you'll need to specify the `/accounts/{accountID}/tickets.write` scope.
|
|
1784
1784
|
- [`sweepsCreateConfig`](docs/sdks/sweeps/README.md#createconfig) - Create a sweep config for a wallet.
|
|
1785
1785
|
|
|
1786
1786
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
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.4",
|
|
34179
|
+
genVersion: "2.656.3",
|
|
34180
|
+
userAgent: "speakeasy-sdk/typescript 0.14.4 2.656.3 latest @moovio/sdk"
|
|
34181
34181
|
};
|
|
34182
34182
|
});
|
|
34183
34183
|
|
|
@@ -43889,10 +43889,12 @@ var PatchTransfer$inboundSchema, PatchTransfer$outboundSchema, PatchTransfer$;
|
|
|
43889
43889
|
var init_patchtransfer = __esm(() => {
|
|
43890
43890
|
init_esm();
|
|
43891
43891
|
PatchTransfer$inboundSchema = objectType({
|
|
43892
|
-
metadata: nullableType(recordType(stringType())).optional()
|
|
43892
|
+
metadata: nullableType(recordType(stringType())).optional(),
|
|
43893
|
+
foreignID: stringType().optional()
|
|
43893
43894
|
});
|
|
43894
43895
|
PatchTransfer$outboundSchema = objectType({
|
|
43895
|
-
metadata: nullableType(recordType(stringType())).optional()
|
|
43896
|
+
metadata: nullableType(recordType(stringType())).optional(),
|
|
43897
|
+
foreignID: stringType().optional()
|
|
43896
43898
|
});
|
|
43897
43899
|
((PatchTransfer$) => {
|
|
43898
43900
|
PatchTransfer$.inboundSchema = PatchTransfer$inboundSchema;
|
|
@@ -56319,14 +56321,10 @@ var init_listticketmessages = __esm(() => {
|
|
|
56319
56321
|
ListTicketMessagesGlobals$.outboundSchema = ListTicketMessagesGlobals$outboundSchema;
|
|
56320
56322
|
})(ListTicketMessagesGlobals$ ||= {});
|
|
56321
56323
|
ListTicketMessagesRequest$inboundSchema = objectType({
|
|
56322
|
-
skip: numberType().int().optional(),
|
|
56323
|
-
count: numberType().int().optional(),
|
|
56324
56324
|
accountID: stringType(),
|
|
56325
56325
|
ticketID: stringType()
|
|
56326
56326
|
});
|
|
56327
56327
|
ListTicketMessagesRequest$outboundSchema = objectType({
|
|
56328
|
-
skip: numberType().int().optional(),
|
|
56329
|
-
count: numberType().int().optional(),
|
|
56330
56328
|
accountID: stringType(),
|
|
56331
56329
|
ticketID: stringType()
|
|
56332
56330
|
});
|
|
@@ -56383,12 +56381,12 @@ var init_listtickets = __esm(() => {
|
|
|
56383
56381
|
ListTicketsGlobals$.outboundSchema = ListTicketsGlobals$outboundSchema;
|
|
56384
56382
|
})(ListTicketsGlobals$ ||= {});
|
|
56385
56383
|
ListTicketsRequest$inboundSchema = objectType({
|
|
56386
|
-
|
|
56384
|
+
cursor: stringType().optional(),
|
|
56387
56385
|
count: numberType().int().optional(),
|
|
56388
56386
|
accountID: stringType()
|
|
56389
56387
|
});
|
|
56390
56388
|
ListTicketsRequest$outboundSchema = objectType({
|
|
56391
|
-
|
|
56389
|
+
cursor: stringType().optional(),
|
|
56392
56390
|
count: numberType().int().optional(),
|
|
56393
56391
|
accountID: stringType()
|
|
56394
56392
|
});
|
|
@@ -71886,7 +71884,7 @@ var init_supportCreateTicket2 = __esm(() => {
|
|
|
71886
71884
|
description: `Create a support ticket for a Moov account.
|
|
71887
71885
|
|
|
71888
71886
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71889
|
-
you'll need to specify the \`/accounts/{accountID}/
|
|
71887
|
+
you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.`,
|
|
71890
71888
|
args: args110,
|
|
71891
71889
|
tool: async (client, args111, ctx) => {
|
|
71892
71890
|
const [result, apiCall] = await supportCreateTicket(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -72001,7 +71999,7 @@ var init_supportGetTicket2 = __esm(() => {
|
|
|
72001
71999
|
description: `Retrieve a support ticket by ID.
|
|
72002
72000
|
|
|
72003
72001
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72004
|
-
you'll need to specify the \`/accounts/{accountID}/
|
|
72002
|
+
you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.`,
|
|
72005
72003
|
args: args111,
|
|
72006
72004
|
tool: async (client, args112, ctx) => {
|
|
72007
72005
|
const [result, apiCall] = await supportGetTicket(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -72039,10 +72037,6 @@ async function $do112(client, request, options) {
|
|
|
72039
72037
|
})
|
|
72040
72038
|
};
|
|
72041
72039
|
const path = pathToFunc("/accounts/{accountID}/tickets/{ticketID}/messages")(pathParams);
|
|
72042
|
-
const query = encodeFormQuery({
|
|
72043
|
-
count: payload.count,
|
|
72044
|
-
skip: payload.skip
|
|
72045
|
-
}, { explode: false });
|
|
72046
72040
|
const headers = new Headers(compactMap({
|
|
72047
72041
|
Accept: "application/json",
|
|
72048
72042
|
"x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
@@ -72065,7 +72059,6 @@ async function $do112(client, request, options) {
|
|
|
72065
72059
|
baseURL: options?.serverURL,
|
|
72066
72060
|
path,
|
|
72067
72061
|
headers,
|
|
72068
|
-
query,
|
|
72069
72062
|
body,
|
|
72070
72063
|
userAgent: client._options.userAgent,
|
|
72071
72064
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -72121,7 +72114,7 @@ var init_supportListTicketMessages2 = __esm(() => {
|
|
|
72121
72114
|
description: `List all the messages for a support ticket.
|
|
72122
72115
|
|
|
72123
72116
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72124
|
-
you'll need to specify the \`/accounts/{accountID}/
|
|
72117
|
+
you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.`,
|
|
72125
72118
|
args: args112,
|
|
72126
72119
|
tool: async (client, args113, ctx) => {
|
|
72127
72120
|
const [result, apiCall] = await supportListTicketMessages(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -72157,7 +72150,7 @@ async function $do113(client, request, options) {
|
|
|
72157
72150
|
const path = pathToFunc("/accounts/{accountID}/tickets")(pathParams);
|
|
72158
72151
|
const query = encodeFormQuery({
|
|
72159
72152
|
count: payload.count,
|
|
72160
|
-
|
|
72153
|
+
cursor: payload.cursor
|
|
72161
72154
|
}, { explode: false });
|
|
72162
72155
|
const headers = new Headers(compactMap({
|
|
72163
72156
|
Accept: "application/json",
|
|
@@ -72237,7 +72230,7 @@ var init_supportListTickets2 = __esm(() => {
|
|
|
72237
72230
|
description: `List all the support tickets created under a Moov account.
|
|
72238
72231
|
|
|
72239
72232
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72240
|
-
you'll need to specify the \`/accounts/{accountID}/
|
|
72233
|
+
you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.`,
|
|
72241
72234
|
args: args113,
|
|
72242
72235
|
tool: async (client, args114, ctx) => {
|
|
72243
72236
|
const [result, apiCall] = await supportListTickets(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -72366,7 +72359,7 @@ var init_supportUpdateTicket2 = __esm(() => {
|
|
|
72366
72359
|
description: `Updates a support ticket.
|
|
72367
72360
|
|
|
72368
72361
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72369
|
-
you'll need to specify the \`/accounts/{accountID}/
|
|
72362
|
+
you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.`,
|
|
72370
72363
|
args: args114,
|
|
72371
72364
|
tool: async (client, args115, ctx) => {
|
|
72372
72365
|
const [result, apiCall] = await supportUpdateTicket(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -75868,7 +75861,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
75868
75861
|
function createMCPServer(deps) {
|
|
75869
75862
|
const server = new McpServer({
|
|
75870
75863
|
name: "Moov",
|
|
75871
|
-
version: "0.14.
|
|
75864
|
+
version: "0.14.4"
|
|
75872
75865
|
});
|
|
75873
75866
|
const client = new MoovCore({
|
|
75874
75867
|
security: deps.security,
|
|
@@ -77378,7 +77371,7 @@ var routes = rn({
|
|
|
77378
77371
|
var app = Ve(routes, {
|
|
77379
77372
|
name: "mcp",
|
|
77380
77373
|
versionInfo: {
|
|
77381
|
-
currentVersion: "0.14.
|
|
77374
|
+
currentVersion: "0.14.4"
|
|
77382
77375
|
}
|
|
77383
77376
|
});
|
|
77384
77377
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -77386,5 +77379,5 @@ export {
|
|
|
77386
77379
|
app
|
|
77387
77380
|
};
|
|
77388
77381
|
|
|
77389
|
-
//# debugId=
|
|
77382
|
+
//# debugId=DAFBC45F030FAED264756E2164756E21
|
|
77390
77383
|
//# sourceMappingURL=mcp-server.js.map
|