@epam/ai-dial-usage-dashboard 1.1.0-dev.300 → 1.1.0-dev.307

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 +10 -10
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -2338,9 +2338,9 @@ var B, V, H, qe, U, Je, Ye, W = ee((() => {
2338
2338
  return await (await this.createPromptFolderRaw(e, t)).value();
2339
2339
  }
2340
2340
  async deletePromptRaw(e, n) {
2341
- if (e.path == null) throw new t.RequiredError("path", "Required parameter \"path\" was null or undefined when calling deletePrompt().");
2341
+ if (e.id == null) throw new t.RequiredError("id", "Required parameter \"id\" was null or undefined when calling deletePrompt().");
2342
2342
  let r = {};
2343
- e.path != null && (r.path = e.path);
2343
+ e.id != null && (r.id = e.id);
2344
2344
  let i = await this.request({
2345
2345
  path: "/api/v1/prompts",
2346
2346
  method: "DELETE",
@@ -2368,9 +2368,9 @@ var B, V, H, qe, U, Je, Ye, W = ee((() => {
2368
2368
  await this.deletePromptFolderRaw(e, t);
2369
2369
  }
2370
2370
  async getPromptRaw(e, n) {
2371
- if (e.path == null) throw new t.RequiredError("path", "Required parameter \"path\" was null or undefined when calling getPrompt().");
2371
+ if (e.id == null) throw new t.RequiredError("id", "Required parameter \"id\" was null or undefined when calling getPrompt().");
2372
2372
  let r = {};
2373
- e.path != null && (r.path = e.path), e.bucket != null && (r.bucket = e.bucket);
2373
+ e.id != null && (r.id = e.id);
2374
2374
  let i = await this.request({
2375
2375
  path: "/api/v1/prompts/item",
2376
2376
  method: "GET",
@@ -2422,10 +2422,10 @@ var B, V, H, qe, U, Je, Ye, W = ee((() => {
2422
2422
  return await (await this.listPublicPromptsRaw(e)).value();
2423
2423
  }
2424
2424
  async movePromptRaw(e, n) {
2425
- if (e.path == null) throw new t.RequiredError("path", "Required parameter \"path\" was null or undefined when calling movePrompt().");
2425
+ if (e.id == null) throw new t.RequiredError("id", "Required parameter \"id\" was null or undefined when calling movePrompt().");
2426
2426
  if (e.movePromptDto == null) throw new t.RequiredError("movePromptDto", "Required parameter \"movePromptDto\" was null or undefined when calling movePrompt().");
2427
2427
  let r = {};
2428
- e.path != null && (r.path = e.path), e.bucket != null && (r.bucket = e.bucket);
2428
+ e.id != null && (r.id = e.id);
2429
2429
  let i = {};
2430
2430
  i["Content-Type"] = "application/json";
2431
2431
  let a = await this.request({
@@ -2460,10 +2460,10 @@ var B, V, H, qe, U, Je, Ye, W = ee((() => {
2460
2460
  return await (await this.renamePromptFolderRaw(e, t)).value();
2461
2461
  }
2462
2462
  async updatePromptRaw(e, n) {
2463
- if (e.path == null) throw new t.RequiredError("path", "Required parameter \"path\" was null or undefined when calling updatePrompt().");
2463
+ if (e.id == null) throw new t.RequiredError("id", "Required parameter \"id\" was null or undefined when calling updatePrompt().");
2464
2464
  if (e.updatePromptDto == null) throw new t.RequiredError("updatePromptDto", "Required parameter \"updatePromptDto\" was null or undefined when calling updatePrompt().");
2465
2465
  let r = {};
2466
- e.path != null && (r.path = e.path), e.bucket != null && (r.bucket = e.bucket);
2466
+ e.id != null && (r.id = e.id);
2467
2467
  let i = {};
2468
2468
  i["Content-Type"] = "application/json";
2469
2469
  let a = await this.request({
@@ -3423,7 +3423,7 @@ var B, V, H, qe, U, Je, Ye, W = ee((() => {
3423
3423
  var t = (W(), b(A));
3424
3424
  t.__exportStar(Xe(), e), t.__exportStar(Ze(), e), t.__exportStar(Qe(), e), t.__exportStar($e(), e), t.__exportStar(et(), e), t.__exportStar(tt(), e), t.__exportStar(nt(), e), t.__exportStar(rt(), e), t.__exportStar(it(), e), t.__exportStar(at(), e), t.__exportStar(ot(), e), t.__exportStar(st(), e), t.__exportStar(ct(), e), t.__exportStar(lt(), e), t.__exportStar(ut(), e), t.__exportStar(dt(), e), t.__exportStar(ft(), e), t.__exportStar(pt(), e), t.__exportStar(mt(), e), t.__exportStar(ht(), e), t.__exportStar(gt(), e), t.__exportStar(_t(), e), t.__exportStar(vt(), e);
3425
3425
  })), bt = /* @__PURE__ */ y(((e) => {
3426
- Object.defineProperty(e, "__esModule", { value: !0 }), e.UpdatedScheduledTaskDtoTriggerTypeEnum = e.UnpublishResultDtoEntityTypeEnum = e.ToolsetLogoutBodyDtoAuthenticationTypeEnum = e.ToolsetLogoutBodyDtoCredentialsLevelEnum = e.ToolsetLoginBodyDtoAuthenticationTypeEnum = e.ToolsetLoginBodyDtoCredentialsLevelEnum = e.ToolsetBodyDtoTransportEnum = e.ToolsetAuthSettingsDtoUserLevelAuthStatusEnum = e.ToolsetAuthSettingsDtoAppLevelAuthStatusEnum = e.ToolsetAuthSettingsDtoGlobalAuthStatusEnum = e.ToolsetAuthSettingsDtoAuthenticationTypeEnum = e.ToolsetAuthSettingsBodyDtoAuthenticationTypeEnum = e.SkillMetadataItemDtoNodeTypeEnum = e.ShareLinkResponseDtoAccessEnum = e.SendCompletionDtoModeEnum = e.ScheduledTaskRunDtoStatusEnum = e.ScheduledTaskDtoTriggerTypeEnum = e.ReportClientChannelDtoResultEnum = e.RenameItemDtoNodeTypeEnum = e.RateMessageDtoRateEnum = e.PublishRuleDtoFunctionEnum = e.PublishResultDtoEntityTypeEnum = e.PublishHistoryEntryDtoEntityTypeEnum = e.MoveItemDtoNodeTypeEnum = e.MessageDtoRoleEnum = e.McpAppToolCallRequestDtoKindEnum = e.ListFilesItemDtoNodeTypeEnum = e.GetExternalServiceResponseDtoAuthenticationTypeEnum = e.ExternalServiceSigninBodyDtoAuthenticationTypeEnum = e.ExternalServiceSigninBodyDtoCredentialsLevelEnum = e.ExternalServiceLogoutBodyDtoAuthenticationTypeEnum = e.ExternalServiceLogoutBodyDtoCredentialsLevelEnum = e.DialToolsetAuthSettingsDtoUserLevelAuthStatusEnum = e.DialToolsetAuthSettingsDtoGlobalAuthStatusEnum = e.DialToolsetAuthSettingsDtoAuthenticationTypeEnum = e.DeploymentItemDtoTypeEnum = e.DeploymentDetailsDtoTypeEnum = e.DeleteItemDtoNodeTypeEnum = e.CreatedScheduledTaskDtoTriggerTypeEnum = e.CreateShareLinkDtoAccessEnum = e.CreateShareLinkDtoResourceKindEnum = e.CopyItemDtoNodeTypeEnum = e.ConversationResponseDtoResponseFormatEnum = e.ConversationMessageDtoRoleEnum = e.ConversationMessageCustomContentDtoEventTypeEnum = e.ConversationDeletionFailureDtoCodeEnum = e.ClientConfigDtoMcpAppThemeEnum = e.ArchiveItemDtoNodeTypeEnum = void 0, e.ArchiveItemDtoNodeTypeEnum = {
3426
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.UpdatedScheduledTaskDtoTriggerTypeEnum = e.UnpublishResultDtoEntityTypeEnum = e.ToolsetLogoutBodyDtoAuthenticationTypeEnum = e.ToolsetLogoutBodyDtoCredentialsLevelEnum = e.ToolsetLoginBodyDtoAuthenticationTypeEnum = e.ToolsetLoginBodyDtoCredentialsLevelEnum = e.ToolsetBodyDtoTransportEnum = e.ToolsetAuthSettingsDtoUserLevelAuthStatusEnum = e.ToolsetAuthSettingsDtoAppLevelAuthStatusEnum = e.ToolsetAuthSettingsDtoGlobalAuthStatusEnum = e.ToolsetAuthSettingsDtoAuthenticationTypeEnum = e.ToolsetAuthSettingsBodyDtoAuthenticationTypeEnum = e.SkillMetadataItemDtoNodeTypeEnum = e.ShareLinkResponseDtoAccessEnum = e.SendCompletionDtoModeEnum = e.ScheduledTaskRunDtoStatusEnum = e.ScheduledTaskDtoTriggerTypeEnum = e.ReportClientChannelDtoResultEnum = e.RenameItemDtoNodeTypeEnum = e.RateMessageDtoRateEnum = e.PublishRuleDtoFunctionEnum = e.PublishResultDtoEntityTypeEnum = e.PublishHistoryEntryDtoEntityTypeEnum = e.MoveItemDtoNodeTypeEnum = e.MessageDtoRoleEnum = e.McpAppToolCallRequestDtoKindEnum = e.ListFilesItemDtoNodeTypeEnum = e.GetExternalServiceResponseDtoAuthenticationTypeEnum = e.ExternalServiceSigninBodyDtoAuthenticationTypeEnum = e.ExternalServiceSigninBodyDtoCredentialsLevelEnum = e.ExternalServiceLogoutBodyDtoAuthenticationTypeEnum = e.ExternalServiceLogoutBodyDtoCredentialsLevelEnum = e.DialToolsetAuthSettingsDtoUserLevelAuthStatusEnum = e.DialToolsetAuthSettingsDtoGlobalAuthStatusEnum = e.DialToolsetAuthSettingsDtoAuthenticationTypeEnum = e.DeploymentItemDtoTypeEnum = e.DeploymentDetailsDtoTypeEnum = e.DeleteItemDtoNodeTypeEnum = e.CreatedScheduledTaskDtoTriggerTypeEnum = e.CreateShareLinkDtoAccessEnum = e.CopyItemDtoNodeTypeEnum = e.ConversationResponseDtoResponseFormatEnum = e.ConversationMessageDtoRoleEnum = e.ConversationMessageCustomContentDtoEventTypeEnum = e.ConversationDeletionFailureDtoCodeEnum = e.ClientConfigDtoMcpAppThemeEnum = e.ArchiveItemDtoNodeTypeEnum = void 0, e.ArchiveItemDtoNodeTypeEnum = {
3427
3427
  Item: "item",
3428
3428
  Folder: "folder"
3429
3429
  }, e.ClientConfigDtoMcpAppThemeEnum = {
@@ -3444,7 +3444,7 @@ var B, V, H, qe, U, Je, Ye, W = ee((() => {
3444
3444
  }, e.CopyItemDtoNodeTypeEnum = {
3445
3445
  Item: "item",
3446
3446
  Folder: "folder"
3447
- }, e.CreateShareLinkDtoResourceKindEnum = { Prompt: "prompt" }, e.CreateShareLinkDtoAccessEnum = {
3447
+ }, e.CreateShareLinkDtoAccessEnum = {
3448
3448
  View: "view",
3449
3449
  Edit: "edit"
3450
3450
  }, e.CreatedScheduledTaskDtoTriggerTypeEnum = {
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.300",
4
+ "version": "1.1.0-dev.307",
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.300",
20
- "@epam/ai-dial-chat-shared": "1.1.0-dev.300",
19
+ "@epam/ai-dial-chat-api-client": "1.1.0-dev.307",
20
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.307",
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"