@webitel/ui-sdk 26.8.75 → 26.8.76

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 (156) hide show
  1. package/dist/{clients-BmeOR90W.js → clients-oFIeYM2J.js} +66 -79
  2. package/dist/{components-C-ri6OSQ.js → components-BG2hOYak.js} +11 -11
  3. package/dist/{enums-BvonmHq2.js → enums-B_9ZBu01.js} +2 -2
  4. package/dist/ui-sdk.css +1 -1
  5. package/dist/ui-sdk.js +3 -3
  6. package/dist/ui-sdk.umd.cjs +574 -574
  7. package/dist/{useValidation-0JwQGpLM.js → useValidation-CEed9cxY.js} +1 -1
  8. package/dist/{utils-CzBdLnFt.js → utils-BZHq8qMH.js} +1 -1
  9. package/dist/wt-action-bar-D74sgDCk.js +94 -0
  10. package/dist/{wt-button-D-nFhi1f.js → wt-button-CVjzcwNg.js} +2 -2
  11. package/dist/{wt-chat-emoji-CLhgb02d.js → wt-chat-emoji-CP1IO0Z_.js} +4 -4
  12. package/dist/{wt-datepicker-DCa23hYx.js → wt-datepicker-BgjjbOMX.js} +2 -2
  13. package/dist/{wt-display-chip-items-B7QLz9QM.js → wt-display-chip-items-BcuWCOui.js} +2 -2
  14. package/dist/{wt-dual-panel-D-LChluY.js → wt-dual-panel-Cs_Yzfxt.js} +1 -1
  15. package/dist/{wt-expansion-card-CToBA1fy.js → wt-expansion-card-BT586Mul.js} +1 -1
  16. package/dist/{wt-expansion-panel-af2t3VrM.js → wt-expansion-panel-kZmHSvPU.js} +1 -1
  17. package/dist/{wt-icon-WyFAGc4t.js → wt-icon-CAn_j3EL.js} +1 -1
  18. package/dist/{wt-icon-action-DYBTs3Mf.js → wt-icon-action-DJzm0kEk.js} +1 -1
  19. package/dist/{wt-icon-btn-BfhuUt8-.js → wt-icon-btn-BL0OfOZM.js} +1 -1
  20. package/dist/{wt-notifications-bar-CvKwuTEg.js → wt-notifications-bar-DZUTZhZy.js} +2 -2
  21. package/dist/{wt-player-B2etfN5v.js → wt-player-DbQuCEZb.js} +3 -3
  22. package/dist/{wt-screen-recordings-action-CepB2pqh.js → wt-screen-recordings-action-CVHZAWjl.js} +1 -1
  23. package/dist/{wt-search-bar-B4YkhgIB.js → wt-search-bar-DosqJLXT.js} +1 -1
  24. package/dist/{wt-send-message-popup-BhZ7K_Vs.js → wt-send-message-popup-B59bhE16.js} +2 -2
  25. package/dist/{wt-status-select-ELI7j73g.js → wt-status-select-Dnv9tj7o.js} +1 -1
  26. package/dist/{wt-timepicker-C3v9Cp2e.js → wt-timepicker-B4MOaSEZ.js} +2 -2
  27. package/dist/{wt-toast-DxQBRGm2.js → wt-toast-DJJg7o3S.js} +2 -2
  28. package/dist/{wt-tree-table-C5sxm-Eb.js → wt-tree-table-D-Jzijlk.js} +1 -1
  29. package/dist/{wt-type-extension-value-input-gQGgxMcJ.js → wt-type-extension-value-input-BEfx2uDx.js} +3 -3
  30. package/dist/{wt-vidstack-player-B37Mdf0u.js → wt-vidstack-player-efSk6APE.js} +4 -4
  31. package/package.json +1 -1
  32. package/src/components/transitions/__tests__/ExpandTransition.spec.js +15 -0
  33. package/src/components/transitions/__tests__/WtReplaceTransition.spec.js +66 -0
  34. package/src/components/transitions/__tests__/WtTransition.spec.js +35 -0
  35. package/src/components/wt-action-bar/WtActionBarActionsOrder.js +1 -1
  36. package/src/components/wt-action-bar/__tests__/WtActionBar.spec.js +121 -0
  37. package/src/components/wt-action-bar/wt-action-bar.vue +57 -33
  38. package/src/components/wt-app-header/__tests__/WtAppNavigator.spec.js +65 -4
  39. package/src/components/wt-app-header/__tests__/WtHeaderActions.spec.js +81 -2
  40. package/src/components/wt-avatar/__tests__/WtAvatar.spec.js +111 -0
  41. package/src/components/wt-badge/__tests__/WtBadge.spec.js +80 -0
  42. package/src/components/wt-badge-new/__tests__/WtBadge.spec.js +61 -0
  43. package/src/components/wt-breadcrumb/__tests__/WtBreadcrumb.spec.js +117 -0
  44. package/src/components/wt-button-select/__tests__/WtButtonSelect.spec.js +37 -5
  45. package/src/components/wt-call-media-metric/__tests__/WtCallMediaMetric.spec.js +84 -0
  46. package/src/components/wt-card/__tests__/WtCard.spec.js +20 -0
  47. package/src/components/wt-checkbox/__tests__/WtCheckbox.spec.js +63 -0
  48. package/src/components/wt-chip/__tests__/WtChip.spec.js +32 -0
  49. package/src/components/wt-confirm-dialog/__tests__/WtConfirmDialog.spec.js +92 -0
  50. package/src/components/wt-context-menu/__tests__/WtContextMenu.spec.js +146 -1
  51. package/src/components/wt-copy-action/__tests__/WtCopyAction.spec.js +57 -0
  52. package/src/components/wt-datepicker/__tests__/WtDatepicker.spec.js +53 -0
  53. package/src/components/wt-datetime-text/__tests__/WtDatetimeText.spec.js +49 -0
  54. package/src/components/wt-divider/__tests__/WtDivider.spec.js +30 -0
  55. package/src/components/wt-dual-panel/__tests__/WtDualPanel.spec.js +120 -0
  56. package/src/components/wt-dummy/__tests__/WtDummy.spec.js +63 -1
  57. package/src/components/wt-empty/__tests__/WtEmpty.spec.js +84 -0
  58. package/src/components/wt-error-page/__tests__/WtErrorPage.spec.js +60 -0
  59. package/src/components/wt-expansion-card/__tests__/WtExpansionCard.spec.js +63 -0
  60. package/src/components/wt-expansion-panel/__tests__/WtExpansionPanel.spec.js +48 -9
  61. package/src/components/wt-filters-panel-wrapper/__tests__/WtFiltersPanelWrapper.spec.js +81 -10
  62. package/src/components/wt-hint/__tests__/WtHint.spec.js +44 -1
  63. package/src/components/wt-icon/__tests__/WtIcon.spec.js +29 -0
  64. package/src/components/wt-icon-action/__tests__/WtIconAction.spec.js +79 -0
  65. package/src/components/wt-icon-action/wt-icon-action.vue +1 -1
  66. package/src/components/wt-icon-btn/__tests__/WtIconBtn.spec.js +46 -0
  67. package/src/components/wt-image/__tests__/WtImage.spec.js +83 -0
  68. package/src/components/wt-indicator/__tests__/WtIndicator.spec.js +23 -0
  69. package/src/components/wt-input-number/__tests__/WtInputNumber.spec.js +77 -0
  70. package/src/components/wt-input-text/__tests__/WtInputText.spec.js +85 -0
  71. package/src/components/wt-intersection-observer/__tests__/WtIntersectionObserver.spec.js +24 -3
  72. package/src/components/wt-item-link/__tests__/WtItemLink.spec.js +93 -1
  73. package/src/components/wt-label/__tests__/WtLabel.spec.js +49 -1
  74. package/src/components/wt-load-bar/__tests__/WtLoadBar.spec.js +49 -0
  75. package/src/components/wt-loader/__tests__/WtLoader.spec.js +26 -1
  76. package/src/components/wt-logo/__tests__/WtLogo.spec.js +55 -0
  77. package/src/components/wt-menubar/__tests__/WtMenubar.spec.js +30 -0
  78. package/src/components/wt-message/__tests__/WtMessage.spec.js +46 -0
  79. package/src/components/wt-multi-select/__tests__/WtMultiSelect.spec.js +106 -0
  80. package/src/components/wt-page-header/__tests__/WtPageHeader.spec.js +111 -0
  81. package/src/components/wt-password/__tests__/WtPassword.spec.js +107 -0
  82. package/src/components/wt-popover/__tests__/WtPopover.spec.js +73 -0
  83. package/src/components/wt-progress-bar/__tests__/WtProgressBar.spec.js +34 -0
  84. package/src/components/wt-radio/__tests__/WtRadio.spec.js +45 -0
  85. package/src/components/wt-rounded-action/__tests__/WtRoundedAction.spec.js +48 -0
  86. package/src/components/wt-search-bar/__tests__/WtSearchBar.spec.js +74 -13
  87. package/src/components/wt-single-select/__tests__/WtSingleSelect.spec.js +117 -0
  88. package/src/components/wt-slider/__tests__/WtSlider.spec.js +100 -0
  89. package/src/components/wt-stepper/__tests__/WtStepper.spec.js +105 -0
  90. package/src/components/wt-switcher/__tests__/WtSwitcher.spec.js +47 -0
  91. package/src/components/wt-table/__tests__/WtTable.spec.js +237 -0
  92. package/src/components/wt-table-actions/__tests__/WtTableActions.spec.js +153 -1
  93. package/src/components/wt-table-column-select/__tests__/WtTableColumnSelect.spec.js +147 -0
  94. package/src/components/wt-tabs/__tests__/WtTabs.spec.js +55 -0
  95. package/src/components/wt-textarea/__tests__/WtTextarea.spec.js +49 -0
  96. package/src/components/wt-time-input/__tests__/WtTimeInput.spec.js +29 -0
  97. package/src/components/wt-tree/__tests__/WtTree.spec.js +126 -2
  98. package/src/components/wt-tree-line/__tests__/WtTreeLine.spec.js +205 -0
  99. package/src/components/wt-tree-table/__tests__/WtTreeTable.spec.js +155 -0
  100. package/src/components/wt-tree-table-row/__tests__/WtTreeTableRow.spec.js +176 -0
  101. package/src/components/wt-vidstack-player/__tests__/WtVidstackPlayer.spec.js +82 -0
  102. package/src/enums/IconAction/{IconAction.enum.js → IconAction.ts} +4 -2
  103. package/src/enums/index.ts +1 -1
  104. package/src/modules/ObjectPermissions/components/_internal/permissions-tab-content.vue +1 -1
  105. package/types/.tsbuildinfo +1 -1
  106. package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +349 -105
  107. package/types/components/wt-datetime-text/__tests__/WtDatetimeText.spec.d.ts +1 -0
  108. package/types/components/wt-divider/__tests__/WtDivider.spec.d.ts +1 -0
  109. package/types/components/wt-dual-panel/__tests__/WtDualPanel.spec.d.ts +1 -0
  110. package/types/components/wt-empty/__tests__/WtEmpty.spec.d.ts +1 -0
  111. package/types/components/wt-error-page/__tests__/WtErrorPage.spec.d.ts +1 -0
  112. package/types/components/wt-expansion-card/__tests__/WtExpansionCard.spec.d.ts +1 -0
  113. package/types/components/wt-image/__tests__/WtImage.spec.d.ts +1 -0
  114. package/types/components/wt-input-number/__tests__/WtInputNumber.spec.d.ts +1 -0
  115. package/types/components/wt-input-text/__tests__/WtInputText.spec.d.ts +1 -0
  116. package/types/components/wt-logo/__tests__/WtLogo.spec.d.ts +1 -0
  117. package/types/components/wt-menubar/__tests__/WtMenubar.spec.d.ts +1 -0
  118. package/types/components/wt-message/__tests__/WtMessage.spec.d.ts +1 -0
  119. package/types/components/wt-multi-select/__tests__/WtMultiSelect.spec.d.ts +1 -0
  120. package/types/components/wt-page-header/__tests__/WtPageHeader.spec.d.ts +1 -0
  121. package/types/components/wt-password/__tests__/WtPassword.spec.d.ts +1 -0
  122. package/types/components/wt-popover/__tests__/WtPopover.spec.d.ts +1 -0
  123. package/types/components/wt-single-select/__tests__/WtSingleSelect.spec.d.ts +1 -0
  124. package/types/components/wt-slider/__tests__/WtSlider.spec.d.ts +1 -0
  125. package/types/components/wt-stepper/__tests__/WtStepper.spec.d.ts +1 -0
  126. package/types/components/wt-table/__tests__/WtTable.spec.d.ts +1 -0
  127. package/types/components/wt-tree-line/__tests__/WtTreeLine.spec.d.ts +1 -0
  128. package/types/components/wt-tree-table/__tests__/WtTreeTable.spec.d.ts +1 -0
  129. package/types/components/wt-tree-table-row/__tests__/WtTreeTableRow.spec.d.ts +1 -0
  130. package/types/components/wt-vidstack-player/__tests__/WtVidstackPlayer.spec.d.ts +1 -0
  131. package/types/enums/IconAction/IconAction.d.ts +31 -0
  132. package/types/enums/index.d.ts +1 -1
  133. package/dist/wt-action-bar-D4wDtBqb.js +0 -87
  134. package/src/components/wt-action-bar/__tests__/wt-action-bar.spec.js +0 -10
  135. package/src/components/wt-avatar/__tests__/wt-avatar.spec.js +0 -10
  136. package/src/components/wt-badge/__tests__/wt-badge.spec.js +0 -10
  137. package/src/components/wt-breadcrumb/__tests__/wt-breadcrumb.spec.js +0 -14
  138. package/src/components/wt-dual-panel/__tests__/WtDualPanel.js +0 -62
  139. package/src/components/wt-empty/__tests__/wt-empty.spec.js +0 -10
  140. package/src/components/wt-error-page/__tests__/wt-error-page.spec.js +0 -30
  141. package/src/components/wt-image/__tests__/wt-image.spec.js +0 -10
  142. package/src/components/wt-logo/__tests__/wt-logo.spec.js +0 -10
  143. package/src/components/wt-page-header/__tests__/wt-page-header.spec.js +0 -10
  144. package/src/components/wt-stepper/__tests__/WtStepper.spec.vue.js +0 -19
  145. package/types/enums/IconAction/IconAction.enum.d.ts +0 -30
  146. /package/types/components/{wt-action-bar/__tests__/wt-action-bar.spec.d.ts → transitions/__tests__/WtReplaceTransition.spec.d.ts} +0 -0
  147. /package/types/components/{wt-avatar/__tests__/wt-avatar.spec.d.ts → transitions/__tests__/WtTransition.spec.d.ts} +0 -0
  148. /package/types/components/{wt-badge/__tests__/wt-badge.spec.d.ts → wt-action-bar/__tests__/WtActionBar.spec.d.ts} +0 -0
  149. /package/types/components/{wt-breadcrumb/__tests__/wt-breadcrumb.spec.d.ts → wt-avatar/__tests__/WtAvatar.spec.d.ts} +0 -0
  150. /package/types/components/{wt-empty/__tests__/wt-empty.spec.d.ts → wt-badge/__tests__/WtBadge.spec.d.ts} +0 -0
  151. /package/types/components/{wt-dual-panel/__tests__/WtDualPanel.d.ts → wt-badge-new/__tests__/WtBadge.spec.d.ts} +0 -0
  152. /package/types/components/{wt-error-page/__tests__/wt-error-page.spec.d.ts → wt-breadcrumb/__tests__/WtBreadcrumb.spec.d.ts} +0 -0
  153. /package/types/components/{wt-image/__tests__/wt-image.spec.d.ts → wt-call-media-metric/__tests__/WtCallMediaMetric.spec.d.ts} +0 -0
  154. /package/types/components/{wt-logo/__tests__/wt-logo.spec.d.ts → wt-card/__tests__/WtCard.spec.d.ts} +0 -0
  155. /package/types/components/{wt-page-header/__tests__/wt-page-header.spec.d.ts → wt-confirm-dialog/__tests__/WtConfirmDialog.spec.d.ts} +0 -0
  156. /package/types/components/{wt-stepper/__tests__/WtStepper.spec.vue.d.ts → wt-copy-action/__tests__/WtCopyAction.spec.d.ts} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { a as e, t } from "./rolldown-runtime-BEcgMyyN.js";
2
2
  import { a as n, i as r, n as i, t as a } from "./genClient-HHiOUj56.js";
3
3
  import { i as o, r as s } from "./caseConverters-6cy_SaV5.js";
4
- import { O as c } from "./components-C-ri6OSQ.js";
5
- import { m as l } from "./enums-BvonmHq2.js";
4
+ import { O as c } from "./components-BG2hOYak.js";
5
+ import { m as l } from "./enums-B_9ZBu01.js";
6
6
  import { t as u } from "./deep-copy-CTgLtgMO.js";
7
7
  import { get as d, set as f } from "lodash-es";
8
8
  import * as p from "zod";
@@ -5704,16 +5704,16 @@ p.object({
5704
5704
  })).optional(),
5705
5705
  next: p.boolean().optional(),
5706
5706
  page: p.string().optional()
5707
- });
5708
- var re = p.object({ case_etag: p.string().describe("new comment link") });
5709
- p.object({
5707
+ }), p.object({ case_etag: p.string().describe("new comment link") });
5708
+ var re = p.object({
5710
5709
  fields: p.array(p.string()).optional().describe("result fields needed on the front-end for each comment"),
5711
5710
  "input.etag": p.string().optional(),
5712
5711
  "input.url": p.string().optional(),
5713
5712
  "input.name": p.string().optional(),
5714
5713
  "input.userID.id": p.string().optional(),
5715
5714
  "input.userID.name": p.string().optional()
5716
- }), p.object({
5715
+ });
5716
+ p.object({
5717
5717
  author: p.object({
5718
5718
  id: p.string().optional(),
5719
5719
  name: p.string().optional()
@@ -38877,10 +38877,10 @@ p.object({
38877
38877
  }).optional() });
38878
38878
  //#endregion
38879
38879
  //#region packages/api-services/src/api/clients/agents/agents.ts
38880
- var Be = (e) => e > 3600 * 24 ? ">24:00:00" : c(e), R = async (e) => {
38880
+ var Be = "/call_center/agents", Ve = (e) => e > 3600 * 24 ? ">24:00:00" : c(e), R = async (e) => {
38881
38881
  let t = (e) => e.map((e) => ({
38882
38882
  ...e,
38883
- statusDuration: Be(e.statusDuration)
38883
+ statusDuration: Ve(e.statusDuration)
38884
38884
  })), n = y(e, [
38885
38885
  b(),
38886
38886
  C(v()),
@@ -38922,7 +38922,7 @@ var Be = (e) => e > 3600 * 24 ? ">24:00:00" : c(e), R = async (e) => {
38922
38922
  } catch (e) {
38923
38923
  throw y(e, [E]);
38924
38924
  }
38925
- }, Ve = {
38925
+ }, He = {
38926
38926
  user: {},
38927
38927
  team: {},
38928
38928
  supervisor: [],
@@ -38934,7 +38934,7 @@ var Be = (e) => e > 3600 * 24 ? ">24:00:00" : c(e), R = async (e) => {
38934
38934
  isSupervisor: !1,
38935
38935
  description: "",
38936
38936
  greetingMedia: {}
38937
- }, He = async ({ itemId: e, defaultObject: t = Ve }) => {
38937
+ }, Ue = async ({ itemId: e, defaultObject: t = He }) => {
38938
38938
  try {
38939
38939
  return y((await M().readAgent(String(e))).data, [O(), C(t)]);
38940
38940
  } catch (e) {
@@ -38953,9 +38953,9 @@ var Be = (e) => e > 3600 * 24 ? ">24:00:00" : c(e), R = async (e) => {
38953
38953
  "isSupervisor",
38954
38954
  "screenControl",
38955
38955
  "extraChatCount"
38956
- ], Ue = {
38956
+ ], We = {
38957
38957
  getList: R,
38958
- get: He,
38958
+ get: Ue,
38959
38959
  add: async ({ itemInstance: e }) => {
38960
38960
  let t = y(e, [D(z), b()]);
38961
38961
  try {
@@ -39136,7 +39136,8 @@ var Be = (e) => e > 3600 * 24 ? ">24:00:00" : c(e), R = async (e) => {
39136
39136
  } catch (e) {
39137
39137
  throw y(e, [E]);
39138
39138
  }
39139
- }
39139
+ },
39140
+ ...j(Be)
39140
39141
  };
39141
39142
  ({ ...j("/calendars") }), h(re), h(I), h(I), h(Me), h(je), h(ae), h(ie), { ...j("/cases") }, Object.freeze({
39142
39143
  VIBER: "viber",
@@ -39144,8 +39145,8 @@ var Be = (e) => e > 3600 * 24 ? ">24:00:00" : c(e), R = async (e) => {
39144
39145
  TELEGRAM: "telegram",
39145
39146
  MESSENGER: "messenger",
39146
39147
  EMAIL: "email"
39147
- }), i(), [...h(Pe)], h(ve), { ...j("/contacts/groups") }, h(me), h(he), h(N), h(_e), i(), i(), localStorage.getItem("access-token"), r.create({ headers: { "content-type": "multipart/form-data" } });
39148
- var We = {
39148
+ }), i(), { ...j("/storage/cognitive_profiles") }, [...h(Pe)], h(ve), { ...j("/contacts/groups") }, { ...j("/devices") }, h(me), h(he), h(N), h(_e), i(), { ...j("/storage/import_templates") }, { ...j("/call_center/list") }, i(), localStorage.getItem("access-token"), r.create({ headers: { "content-type": "multipart/form-data" } });
39149
+ var Ge = {
39149
39150
  patch: async (e) => {
39150
39151
  let t = y(e, [b()]);
39151
39152
  try {
@@ -39168,7 +39169,7 @@ var We = {
39168
39169
  }
39169
39170
  }
39170
39171
  };
39171
- h(Ee), { ...j("/oauth/apps") }, i(), h(F), h(Oe);
39172
+ h(Ee), { ...j("/oauth/apps") }, i(), { ...j("/call_center/resource_group") }, { ...j("/call_center/resources") }, h(F), h(Oe);
39172
39173
  //#endregion
39173
39174
  //#region packages/api-services/src/validations/_shared/duration.validations.ts
39174
39175
  var B = (e = 1) => m.union([m.string().min(e), m.number().min(e)]), V = (e) => ({ params: { i18nKey: e } }), H = (e) => e == null ? !1 : Array.isArray(e) ? e.length > 0 : e instanceof Date ? !Number.isNaN(e.getTime()) : typeof e == "object" ? Object.keys(e).length > 0 : String(e).length > 0, U = m.object({
@@ -39205,7 +39206,7 @@ m.object({
39205
39206
  });
39206
39207
  //#endregion
39207
39208
  //#region packages/api-services/src/validations/calendar/calendar.validations.ts
39208
- var Ge = "hourRange", J = "timerangeStartLessThanEnd", Y = "timerangeNotIntersect", X = m.number().int().refine((e) => e >= 0 && e < 1440, V(Ge)), Ke = (e) => {
39209
+ var Ke = "hourRange", J = "timerangeStartLessThanEnd", Y = "timerangeNotIntersect", X = m.number().int().refine((e) => e >= 0 && e < 1440, V(Ke)), qe = (e) => {
39209
39210
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map();
39210
39211
  return e.forEach((e, t) => {
39211
39212
  let r = n.get(e.day) ?? [];
@@ -39223,7 +39224,7 @@ var Ge = "hourRange", J = "timerangeStartLessThanEnd", Y = "timerangeNotIntersec
39223
39224
  });
39224
39225
  });
39225
39226
  }), t;
39226
- }, qe = m.object({
39227
+ }, Je = m.object({
39227
39228
  day: m.number().int().min(0).max(6),
39228
39229
  disabled: m.boolean().default(!1),
39229
39230
  start: X,
@@ -39238,8 +39239,8 @@ var Ge = "hourRange", J = "timerangeStartLessThanEnd", Y = "timerangeNotIntersec
39238
39239
  path: ["end"],
39239
39240
  ...V(J)
39240
39241
  }));
39241
- }), Z = m.array(qe).superRefine((e, t) => {
39242
- Ke(e).forEach((e) => {
39242
+ }), Z = m.array(Je).superRefine((e, t) => {
39243
+ qe(e).forEach((e) => {
39243
39244
  t.addIssue({
39244
39245
  code: "custom",
39245
39246
  path: [e, "start"],
@@ -39250,7 +39251,7 @@ var Ge = "hourRange", J = "timerangeStartLessThanEnd", Y = "timerangeNotIntersec
39250
39251
  ...V(Y)
39251
39252
  });
39252
39253
  });
39253
- }), Je = m.object({
39254
+ }), Ye = m.object({
39254
39255
  name: m.string().min(1),
39255
39256
  date: m.union([m.number(), m.string()]).optional(),
39256
39257
  repeat: m.boolean().optional(),
@@ -39277,7 +39278,7 @@ m.object({
39277
39278
  start: 540,
39278
39279
  end: 1200
39279
39280
  }))),
39280
- excepts: m.array(Je).optional().default([])
39281
+ excepts: m.array(Ye).optional().default([])
39281
39282
  });
39282
39283
  //#endregion
39283
39284
  //#region packages/api-services/src/validations/case/case.validations.ts
@@ -39365,19 +39366,19 @@ m.object({
39365
39366
  });
39366
39367
  //#endregion
39367
39368
  //#region packages/api-services/src/validations/contactGroup/contactGroup.validations.ts
39368
- var Ye = {
39369
+ var Xe = {
39369
39370
  name: m.string().min(1),
39370
39371
  description: m.string().optional(),
39371
39372
  enabled: m.boolean().default(!0),
39372
39373
  type: m.string().optional()
39373
- }, Xe = m.object({
39374
- ...Ye,
39374
+ }, Ze = m.object({
39375
+ ...Xe,
39375
39376
  defaultGroup: U.optional()
39376
- }), Ze = m.object({
39377
- ...Ye,
39377
+ }), Qe = m.object({
39378
+ ...Xe,
39378
39379
  defaultGroup: W
39379
39380
  });
39380
- m.discriminatedUnion("type", [Xe.extend({ type: m.literal(g.Static) }), Ze.extend({ type: m.literal(g.Dynamic) })]), m.object({
39381
+ m.discriminatedUnion("type", [Ze.extend({ type: m.literal(g.Static) }), Qe.extend({ type: m.literal(g.Dynamic) })]), m.object({
39381
39382
  expression: m.string().min(1),
39382
39383
  group: W,
39383
39384
  assignee: U.nullish()
@@ -39404,19 +39405,15 @@ m.discriminatedUnion("type", [Xe.extend({ type: m.literal(g.Static) }), Ze.exten
39404
39405
  });
39405
39406
  //#endregion
39406
39407
  //#region packages/api-services/src/validations/queue/queue.rules.ts
39407
- var Qe = {
39408
+ var $e = {
39408
39409
  required: ["name"],
39409
39410
  minValue: {
39410
39411
  priority: 0,
39411
39412
  "payload.minOnlineAgents": 0
39412
39413
  }
39413
- }, $e = {
39414
+ }, et = {
39414
39415
  [l.OFFLINE_QUEUE]: {
39415
- required: [
39416
- "strategy",
39417
- "calendar",
39418
- "payload.originateTimeout"
39419
- ],
39416
+ required: ["strategy", "calendar"],
39420
39417
  minValue: { "payload.originateTimeout": 0 }
39421
39418
  },
39422
39419
  [l.INBOUND_QUEUE]: {
@@ -39432,8 +39429,6 @@ var Qe = {
39432
39429
  "calendar",
39433
39430
  "schema",
39434
39431
  "payload.maxAttempts",
39435
- "payload.originateTimeout",
39436
- "payload.waitBetweenRetries",
39437
39432
  "payload.resourceStrategy"
39438
39433
  ],
39439
39434
  minValue: {
@@ -39447,8 +39442,6 @@ var Qe = {
39447
39442
  "strategy",
39448
39443
  "calendar",
39449
39444
  "payload.maxAttempts",
39450
- "payload.originateTimeout",
39451
- "payload.waitBetweenRetries",
39452
39445
  "payload.resourceStrategy"
39453
39446
  ],
39454
39447
  minValue: {
@@ -39461,8 +39454,6 @@ var Qe = {
39461
39454
  "strategy",
39462
39455
  "calendar",
39463
39456
  "payload.maxAttempts",
39464
- "payload.originateTimeout",
39465
- "payload.waitBetweenRetries",
39466
39457
  "payload.resourceStrategy",
39467
39458
  "payload.progressiveCount"
39468
39459
  ],
@@ -39477,8 +39468,6 @@ var Qe = {
39477
39468
  "strategy",
39478
39469
  "calendar",
39479
39470
  "payload.maxAttempts",
39480
- "payload.originateTimeout",
39481
- "payload.waitBetweenRetries",
39482
39471
  "payload.resourceStrategy",
39483
39472
  "payload.progressiveCount"
39484
39473
  ],
@@ -39525,9 +39514,7 @@ var Qe = {
39525
39514
  "strategy",
39526
39515
  "calendar",
39527
39516
  "schema",
39528
- "payload.maxAttempts",
39529
- "payload.originateTimeout",
39530
- "payload.waitBetweenRetries"
39517
+ "payload.maxAttempts"
39531
39518
  ],
39532
39519
  minValue: {
39533
39520
  "payload.originateTimeout": 0,
@@ -39535,7 +39522,7 @@ var Qe = {
39535
39522
  "payload.minDuration": 0
39536
39523
  }
39537
39524
  }
39538
- }, et = m.object({
39525
+ }, tt = m.object({
39539
39526
  enabled: m.boolean().optional(),
39540
39527
  ai: m.boolean().optional(),
39541
39528
  positive: m.array(m.string()).optional(),
@@ -39551,7 +39538,7 @@ var Qe = {
39551
39538
  afterGreetingSilence: m.number().optional(),
39552
39539
  greeting: m.number().optional(),
39553
39540
  initialSilence: m.number().optional()
39554
- }), tt = m.object({
39541
+ }), nt = m.object({
39555
39542
  maxAttempts: m.number().optional(),
39556
39543
  minAttempts: m.number().optional(),
39557
39544
  originateTimeout: m.number().optional(),
@@ -39592,19 +39579,19 @@ var Qe = {
39592
39579
  recordAll: m.boolean().optional(),
39593
39580
  allowGreetingAgent: m.boolean().optional(),
39594
39581
  autoAnswerTone: m.string().nullable().optional(),
39595
- amd: et.optional()
39596
- }), nt = m.object({
39582
+ amd: tt.optional()
39583
+ }), rt = m.object({
39597
39584
  enabled: m.boolean().optional(),
39598
39585
  isTimeoutRetry: m.boolean().optional(),
39599
39586
  prolongationTimeSec: m.number().optional(),
39600
39587
  repeatsNumber: m.number().optional()
39601
- }), rt = m.object({
39588
+ }), it = m.object({
39602
39589
  enabled: m.boolean().optional(),
39603
39590
  formSchema: G.optional(),
39604
39591
  sec: m.number().optional(),
39605
39592
  renewalSec: m.number().optional(),
39606
- prolongationOptions: nt.prefault({})
39607
- }), it = m.object({
39593
+ prolongationOptions: rt.prefault({})
39594
+ }), at = m.object({
39608
39595
  name: m.string().min(1),
39609
39596
  description: m.string().optional(),
39610
39597
  type: m.number(),
@@ -39622,11 +39609,11 @@ var Qe = {
39622
39609
  formSchema: G.optional(),
39623
39610
  strategy: m.string().optional(),
39624
39611
  stickyAgent: m.boolean().optional(),
39625
- taskProcessing: rt.optional(),
39626
- payload: tt.optional(),
39612
+ taskProcessing: it.optional(),
39613
+ payload: nt.optional(),
39627
39614
  variables: m.array(q).optional()
39628
39615
  }).superRefine((e, t) => {
39629
- let n = [Qe, $e[Number(e.type)] ?? {}];
39616
+ let n = [$e, et[Number(e.type)] ?? {}];
39630
39617
  for (let r of n) {
39631
39618
  for (let n of r.required ?? []) H(d(e, n)) || t.addIssue({
39632
39619
  code: "custom",
@@ -39642,16 +39629,16 @@ var Qe = {
39642
39629
  });
39643
39630
  }
39644
39631
  }
39645
- }), at = m.object({
39632
+ }), ot = m.object({
39646
39633
  bucket: K,
39647
- priority: m.number().min(0),
39634
+ priority: m.number().min(0).default(0),
39648
39635
  disabled: m.boolean().optional()
39649
- }), ot = m.object({
39636
+ }), st = m.object({
39650
39637
  event: m.string().min(1),
39651
39638
  schema: K,
39652
39639
  properties: m.array(m.string()).optional(),
39653
- enabled: m.boolean().optional()
39654
- }), st = m.object({
39640
+ enabled: m.boolean().default(!0)
39641
+ }), ct = m.object({
39655
39642
  destination: m.string().min(1),
39656
39643
  type: K,
39657
39644
  dtmf: m.string().regex(/^[\d|w|W]*$/).optional(),
@@ -39659,9 +39646,9 @@ var Qe = {
39659
39646
  priority: m.number().optional(),
39660
39647
  resource: G.optional(),
39661
39648
  description: m.string().optional()
39662
- }), ct = m.object({
39649
+ }), lt = m.object({
39663
39650
  name: m.string().min(1),
39664
- communications: m.array(st).min(1),
39651
+ communications: m.array(ct).min(1),
39665
39652
  priority: m.number().optional(),
39666
39653
  bucket: G.optional(),
39667
39654
  timezone: G.optional(),
@@ -39670,16 +39657,16 @@ var Qe = {
39670
39657
  minOfferingAt: m.union([m.string(), m.number()]).optional(),
39671
39658
  stopCause: m.string().optional(),
39672
39659
  variables: m.array(q).optional()
39673
- }), lt = m.object({
39660
+ }), ut = m.object({
39674
39661
  resourceGroup: K,
39675
39662
  communication: G.optional()
39676
- }), ut = m.object({
39663
+ }), dt = m.object({
39677
39664
  skill: K,
39678
- lvl: m.number().min(0).max(1e3),
39679
- minCapacity: m.number().min(0).max(100).optional(),
39680
- maxCapacity: m.number().min(0).max(100).optional(),
39681
- buckets: m.array(G).optional(),
39682
- enabled: m.boolean().optional()
39665
+ lvl: m.number().min(0).max(1e3).default(0),
39666
+ minCapacity: m.number().min(0).max(100).optional().default(0),
39667
+ maxCapacity: m.number().min(0).max(100).optional().default(10),
39668
+ buckets: m.array(G).optional().default([]),
39669
+ enabled: m.boolean().default(!0)
39683
39670
  }).superRefine((e, t) => {
39684
39671
  e.minCapacity == null || e.maxCapacity == null || e.minCapacity <= e.maxCapacity || (t.addIssue({
39685
39672
  code: "custom",
@@ -39690,7 +39677,7 @@ var Qe = {
39690
39677
  path: ["maxCapacity"],
39691
39678
  message: "Value must be greater than or equal to the minimum capacity"
39692
39679
  }));
39693
- }), dt = 6e4;
39680
+ }), ft = 6e4;
39694
39681
  m.object({
39695
39682
  name: m.string().min(1),
39696
39683
  description: m.string().optional(),
@@ -39702,7 +39689,7 @@ m.object({
39702
39689
  }).superRefine((e, t) => {
39703
39690
  if (!e.validFrom || !e.validTo) return;
39704
39691
  let n = Number(e.validFrom), r = Number(e.validTo);
39705
- Number.isNaN(n) || Number.isNaN(r) || n > r - dt && t.addIssue({
39692
+ Number.isNaN(n) || Number.isNaN(r) || n > r - ft && t.addIssue({
39706
39693
  code: "too_big",
39707
39694
  origin: "date",
39708
39695
  maximum: r,
@@ -39718,10 +39705,10 @@ m.object({
39718
39705
  }), m.object({ fields: m.array(m.any()).optional() }), m.object({
39719
39706
  key: m.string().min(1),
39720
39707
  value: m.string().min(1)
39721
- }), [...h(at)], [...h(ot)], [...h(ct)], [...h(lt)], [...h(ut)], l.OFFLINE_QUEUE, l.INBOUND_QUEUE, l.OUTBOUND_IVR_QUEUE, l.PREVIEW_DIALER, l.PROGRESSIVE_DIALER, l.PREDICTIVE_DIALER, l.CHAT_INBOUND_QUEUE, l.IM_CHAT_QUEUE, l.INBOUND_JOB_QUEUE, l.OUTBOUND_JOB_QUEUE, h(it), { ...j("/call_center/queues") }, i(), { ...j("/users") }, h(L), h(ze), i();
39708
+ }), [...h(ot)], [...h(st)], [...h(lt)], [...h(ut)], [...h(dt)], l.OFFLINE_QUEUE, l.INBOUND_QUEUE, l.OUTBOUND_IVR_QUEUE, l.PREVIEW_DIALER, l.PROGRESSIVE_DIALER, l.PREDICTIVE_DIALER, l.CHAT_INBOUND_QUEUE, l.IM_CHAT_QUEUE, l.INBOUND_JOB_QUEUE, l.OUTBOUND_JOB_QUEUE, h(at), { ...j("/call_center/queues") }, { ...j("/call_center/teams") }, i(), { ...j("/users") }, h(L), h(ze), i();
39722
39709
  //#endregion
39723
39710
  //#region packages/api-services/src/api/clients/wtTypes/sysTypes/sysTypes.ts
39724
- var ft = i(), $ = async ({ path: e, display: t, primary: n, ...r }) => {
39711
+ var pt = i(), $ = async ({ path: e, display: t, primary: n, ...r }) => {
39725
39712
  let i = y(r, [
39726
39713
  C(v()),
39727
39714
  k("search"),
@@ -39746,7 +39733,7 @@ var ft = i(), $ = async ({ path: e, display: t, primary: n, ...r }) => {
39746
39733
  x(e)
39747
39734
  ]);
39748
39735
  try {
39749
- let { data: e, items: t, next: n } = y((await ft.get(i)).data, [C(_())]);
39736
+ let { data: e, items: t, next: n } = y((await pt.get(i)).data, [C(_())]);
39750
39737
  return {
39751
39738
  items: y(e || t, []) ?? [],
39752
39739
  next: n
@@ -39754,7 +39741,7 @@ var ft = i(), $ = async ({ path: e, display: t, primary: n, ...r }) => {
39754
39741
  } catch (e) {
39755
39742
  throw y(e, [E]);
39756
39743
  }
39757
- }, pt = {
39744
+ }, mt = {
39758
39745
  getList: $,
39759
39746
  getLookup: (e) => $({
39760
39747
  ...e,
@@ -39768,7 +39755,7 @@ Object.freeze({
39768
39755
  VARIABLES: "variables",
39769
39756
  DESTINATION: "destination"
39770
39757
  });
39771
- var mt = "/contacts";
39772
- h(le), [...h(ue)], [...h(fe)], { ...j(mt) };
39758
+ var ht = "/contacts";
39759
+ h(le), [...h(ue)], [...h(fe)], { ...j(ht) };
39773
39760
  //#endregion
39774
- export { We as n, Ue as r, pt as t };
39761
+ export { Ge as n, We as r, mt as t };
@@ -1,17 +1,17 @@
1
1
  import { a as e, i as t, r as n, t as r } from "./rolldown-runtime-BEcgMyyN.js";
2
2
  import { n as i, t as a } from "./dist-CAOIU8xq.js";
3
- import { t as o } from "./wt-icon-WyFAGc4t.js";
3
+ import { t as o } from "./wt-icon-CAn_j3EL.js";
4
4
  import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
5
- import { a as c, c as l, i as u, l as d, n as f, p, r as m, s as h, u as g, y as _ } from "./enums-BvonmHq2.js";
6
- import { a as v, i as y, n as b, r as ee, t as te } from "./utils-CzBdLnFt.js";
7
- import { n as x, t as S } from "./wt-button-D-nFhi1f.js";
5
+ import { a as c, c as l, i as u, l as d, n as f, p, r as m, s as h, u as g, y as _ } from "./enums-B_9ZBu01.js";
6
+ import { a as v, i as y, n as b, r as ee, t as te } from "./utils-BZHq8qMH.js";
7
+ import { n as x, t as S } from "./wt-button-CVjzcwNg.js";
8
8
  import { t as ne } from "./vue-i18n-Db_oYfO8.js";
9
9
  import { a as re, c as C, i as ie, n as ae, o as w, r as T, s as E } from "./debounce-Bp3jy7S5.js";
10
- import { t as oe } from "./wt-toast-DxQBRGm2.js";
10
+ import { t as oe } from "./wt-toast-DJJg7o3S.js";
11
11
  import "./sortQueryAdapters-CyYXvnDN.js";
12
- import { n as se, t as ce } from "./wt-icon-btn-BfhuUt8-.js";
13
- import { t as le } from "./wt-icon-action-DYBTs3Mf.js";
14
- import { t as ue } from "./useValidation-0JwQGpLM.js";
12
+ import { n as se, t as ce } from "./wt-icon-btn-BL0OfOZM.js";
13
+ import { t as le } from "./wt-icon-action-DJzm0kEk.js";
14
+ import { t as ue } from "./useValidation-CEed9cxY.js";
15
15
  import { i as de, n as fe, r as pe } from "./composables-BtWSAI5D.js";
16
16
  import { t as me } from "./wt-expand-transition-C2p9bR4j.js";
17
17
  import { a as he, c as ge, i as _e, n as ve, o as ye, r as be, s as xe, t as Se } from "./floating-ui.dom-Ch9ml4Rx.js";
@@ -4759,9 +4759,9 @@ var mc = {
4759
4759
  ])), [[r, d]]) : k("", !0)], 2);
4760
4760
  };
4761
4761
  }
4762
- }, [["__scopeId", "data-v-72aa56d0"]]), yc = P(() => import("./wt-action-bar-D4wDtBqb.js")), bc = P(() => import("./wt-button-select-BnRHgJ4i.js")), xc = P(() => import("./wt-confirm-dialog-DCUitG2v.js")), Sc = P(() => import("./wt-context-menu-yW52oF-2.js")), Cc = P(() => import("./wt-copy-action-d9gVzAsB.js")), wc = P(() => import("./wt-datepicker-DCa23hYx.js")), Tc = P(() => import("./wt-dual-panel-D-LChluY.js")), Ec = P(() => import("./wt-dummy-CLjhRWZ6.js")), Dc = P(() => import("./wt-error-page-vhu4lIyF.js")), Oc = P(() => import("./wt-expansion-panel-af2t3VrM.js")), kc = P(() => import("./wt-expansion-card-CToBA1fy.js")), Ac = P(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), jc = P(() => import("./wt-galleria-DMCgiiju.js")), Mc = P(() => import("./wt-notifications-bar-CvKwuTEg.js")), Nc = P(() => import("./wt-page-header-CDbd4aOh.js")), Pc = P(() => import("./wt-pagination-G2ZGU4Pi.js")), Fc = P(() => import("./wt-player-B2etfN5v.js")), Ic = P(() => import("./wt-popover-BCYPu5NC.js").then((e) => e.n)), Lc = P(() => import("./wt-search-bar-B4YkhgIB.js")), Rc = P(() => import("./wt-slider-BPzRTeYU.js").then((e) => e.n)), zc = P(() => import("./wt-status-select-ELI7j73g.js")), Bc = P(() => import("./wt-stepper-B6zpd1Uh.js")), Vc = P(() => import("./wt-table-PR_Kx7Sv.js")), Hc = P(() => import("./wt-table-actions-D7harVHK.js")), Uc = P(() => import("./wt-table-column-select-D4c56HPB.js")), Wc = P(() => import("./wt-tabs-DuOgj-lZ.js")), Gc = P(() => import("./wt-time-input-Ds40EseE.js")), Kc = P(() => import("./wt-timepicker-C3v9Cp2e.js")), qc = P(() => import("./wt-tree-BYk31Ees.js")), Jc = P(() => import("./wt-tree-table-C5sxm-Eb.js")), Yc = P(() => import("./wt-vidstack-player-B37Mdf0u.js")), Xc = P(() => import("./wt-call-media-action-Bkyppnsm.js")), Zc = P(() => import("./wt-chat-emoji-CLhgb02d.js")), Qc = P(() => import("./wt-display-chip-items-B7QLz9QM.js")), $c = P(() => import("./wt-navigation-menu-BMupOW07.js")), el = P(() => import("./wt-selection-popup-CjYw4ppb.js")), tl = P(() => import("./wt-start-page-BFQExFUj.js"));
4763
- P(() => import("./wt-type-extension-value-input-gQGgxMcJ.js"));
4764
- var nl = P(() => import("./wt-screen-recordings-action-CepB2pqh.js")), rl = P(() => import("./wt-send-message-popup-BhZ7K_Vs.js")), il = {
4762
+ }, [["__scopeId", "data-v-72aa56d0"]]), yc = P(() => import("./wt-action-bar-D74sgDCk.js")), bc = P(() => import("./wt-button-select-BnRHgJ4i.js")), xc = P(() => import("./wt-confirm-dialog-DCUitG2v.js")), Sc = P(() => import("./wt-context-menu-yW52oF-2.js")), Cc = P(() => import("./wt-copy-action-d9gVzAsB.js")), wc = P(() => import("./wt-datepicker-BgjjbOMX.js")), Tc = P(() => import("./wt-dual-panel-Cs_Yzfxt.js")), Ec = P(() => import("./wt-dummy-CLjhRWZ6.js")), Dc = P(() => import("./wt-error-page-vhu4lIyF.js")), Oc = P(() => import("./wt-expansion-panel-kZmHSvPU.js")), kc = P(() => import("./wt-expansion-card-BT586Mul.js")), Ac = P(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), jc = P(() => import("./wt-galleria-DMCgiiju.js")), Mc = P(() => import("./wt-notifications-bar-DZUTZhZy.js")), Nc = P(() => import("./wt-page-header-CDbd4aOh.js")), Pc = P(() => import("./wt-pagination-G2ZGU4Pi.js")), Fc = P(() => import("./wt-player-DbQuCEZb.js")), Ic = P(() => import("./wt-popover-BCYPu5NC.js").then((e) => e.n)), Lc = P(() => import("./wt-search-bar-DosqJLXT.js")), Rc = P(() => import("./wt-slider-BPzRTeYU.js").then((e) => e.n)), zc = P(() => import("./wt-status-select-Dnv9tj7o.js")), Bc = P(() => import("./wt-stepper-B6zpd1Uh.js")), Vc = P(() => import("./wt-table-PR_Kx7Sv.js")), Hc = P(() => import("./wt-table-actions-D7harVHK.js")), Uc = P(() => import("./wt-table-column-select-D4c56HPB.js")), Wc = P(() => import("./wt-tabs-DuOgj-lZ.js")), Gc = P(() => import("./wt-time-input-Ds40EseE.js")), Kc = P(() => import("./wt-timepicker-B4MOaSEZ.js")), qc = P(() => import("./wt-tree-BYk31Ees.js")), Jc = P(() => import("./wt-tree-table-D-Jzijlk.js")), Yc = P(() => import("./wt-vidstack-player-efSk6APE.js")), Xc = P(() => import("./wt-call-media-action-Bkyppnsm.js")), Zc = P(() => import("./wt-chat-emoji-CP1IO0Z_.js")), Qc = P(() => import("./wt-display-chip-items-BcuWCOui.js")), $c = P(() => import("./wt-navigation-menu-BMupOW07.js")), el = P(() => import("./wt-selection-popup-CjYw4ppb.js")), tl = P(() => import("./wt-start-page-BFQExFUj.js"));
4763
+ P(() => import("./wt-type-extension-value-input-BEfx2uDx.js"));
4764
+ var nl = P(() => import("./wt-screen-recordings-action-CVHZAWjl.js")), rl = P(() => import("./wt-send-message-popup-B59bhE16.js")), il = {
4765
4765
  WtActionBar: yc,
4766
4766
  WtImage: Vi,
4767
4767
  WtEmpty: Ki,
@@ -115,7 +115,7 @@ var h = {
115
115
  TIME_SEC: "timeSec",
116
116
  DATETIME: "datetime",
117
117
  DATETIME_SHORT: "datetimeShort"
118
- }, _ = Object.freeze({
118
+ }, _ = {
119
119
  REFRESH: "refresh",
120
120
  ADD: "add",
121
121
  RESET_MEMBERS: "reset-members",
@@ -143,7 +143,7 @@ var h = {
143
143
  CHAT: "chat",
144
144
  SORT: "sort",
145
145
  LOGOUT: "logout"
146
- }), v = {
146
+ }, v = {
147
147
  DEFAULT: "default",
148
148
  ACTIVE: "active",
149
149
  DISABLED: "disabled",