@epam/ai-dial-usage-dashboard 1.1.0-dev.383 → 1.1.0-dev.390

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.
Files changed (2) hide show
  1. package/index.js +20 -1
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -3096,7 +3096,7 @@ var B, V, H, qe, U, Je, Ye, W = ee((() => {
3096
3096
  }
3097
3097
  };
3098
3098
  })), ht = /* @__PURE__ */ y(((e) => {
3099
- Object.defineProperty(e, "__esModule", { value: !0 }), e.ListMcpAppToolsKindEnum = e.ToolsetsApi = void 0;
3099
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.ListMcpToolNamesKindEnum = e.ListMcpAppToolsKindEnum = e.ToolsetsApi = void 0;
3100
3100
  var t = (W(), b(A)).__importStar(G());
3101
3101
  e.ToolsetsApi = class extends t.BaseAPI {
3102
3102
  async callToolsetMcpAppToolRaw(e, n) {
@@ -3198,6 +3198,22 @@ var B, V, H, qe, U, Je, Ye, W = ee((() => {
3198
3198
  async listMcpAppTools(e, t) {
3199
3199
  return await (await this.listMcpAppToolsRaw(e, t)).value();
3200
3200
  }
3201
+ async listMcpToolNamesRaw(e, n) {
3202
+ if (e.deploymentId == null) throw new t.RequiredError("deploymentId", "Required parameter \"deploymentId\" was null or undefined when calling listMcpToolNames().");
3203
+ if (e.kind == null) throw new t.RequiredError("kind", "Required parameter \"kind\" was null or undefined when calling listMcpToolNames().");
3204
+ let r = {};
3205
+ e.deploymentId != null && (r.deploymentId = e.deploymentId), e.kind != null && (r.kind = e.kind);
3206
+ let i = await this.request({
3207
+ path: "/api/v1/toolsets/mcp-apps/tool-names",
3208
+ method: "GET",
3209
+ headers: {},
3210
+ query: r
3211
+ }, n);
3212
+ return new t.JSONApiResponse(i);
3213
+ }
3214
+ async listMcpToolNames(e, t) {
3215
+ return await (await this.listMcpToolNamesRaw(e, t)).value();
3216
+ }
3201
3217
  async listToolsetsRaw(e) {
3202
3218
  let n = await this.request({
3203
3219
  path: "/api/v1/toolsets",
@@ -3270,6 +3286,9 @@ var B, V, H, qe, U, Je, Ye, W = ee((() => {
3270
3286
  }, e.ListMcpAppToolsKindEnum = {
3271
3287
  Toolset: "toolset",
3272
3288
  Application: "application"
3289
+ }, e.ListMcpToolNamesKindEnum = {
3290
+ Toolset: "toolset",
3291
+ Application: "application"
3273
3292
  };
3274
3293
  })), gt = /* @__PURE__ */ y(((e) => {
3275
3294
  Object.defineProperty(e, "__esModule", { value: !0 }), e.TranscriptionApi = void 0;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-usage-dashboard",
3
3
  "description": "Presentational aggregate cost-limit cards for the Usage settings dashboard",
4
- "version": "1.1.0-dev.383",
4
+ "version": "1.1.0-dev.390",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -16,8 +16,8 @@
16
16
  }
17
17
  },
18
18
  "peerDependencies": {
19
- "@epam/ai-dial-chat-api-client": "1.1.0-dev.383",
20
- "@epam/ai-dial-chat-shared": "1.1.0-dev.383",
19
+ "@epam/ai-dial-chat-api-client": "1.1.0-dev.390",
20
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.390",
21
21
  "@epam/ai-dial-ui-kit": "^0.14.0-dev.15",
22
22
  "@tabler/icons-react": "^3.44.0",
23
23
  "react": "^19.2.7"