@webitel/ui-sdk 26.8.124 → 26.8.126

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 (56) hide show
  1. package/dist/{clients-DB8pfOu3.js → clients-DV2KSEHt.js} +363 -350
  2. package/dist/{components-BQdHCAFb.js → components-BAjXjwgz.js} +468 -376
  3. package/dist/{convertDuration-BePVKvK7.js → convertDuration-B5bq1uxb.js} +1 -1
  4. package/dist/{enums-DxMEZrBG.js → enums-Xag5PrU-.js} +31 -27
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +3 -3
  7. package/dist/ui-sdk.umd.cjs +660 -660
  8. package/dist/{useValidation-D5TO0uhR.js → useValidation-D3Tu7osU.js} +1 -1
  9. package/dist/{utils-CPN7-J-Q.js → utils-B4S9Yz-y.js} +1 -1
  10. package/dist/{wt-action-bar-B-9xnBTL.js → wt-action-bar-BAkn5Om9.js} +2 -2
  11. package/dist/{wt-badge-BVmgv9--.js → wt-badge-DoYHG05A.js} +1 -1
  12. package/dist/{wt-button-bcce_YuV.js → wt-button-BfNbgYHy.js} +4 -4
  13. package/dist/{wt-chat-emoji-TrDrwRSR.js → wt-chat-emoji-DUrA-v1_.js} +4 -4
  14. package/dist/{wt-datepicker-B5KHFajA.js → wt-datepicker-D5qEc5xY.js} +6 -6
  15. package/dist/{wt-display-chip-items-BgEg9DP1.js → wt-display-chip-items-CZvSZVP_.js} +2 -2
  16. package/dist/{wt-dual-panel-DOyhwf4I.js → wt-dual-panel-ruU3Urks.js} +1 -1
  17. package/dist/{wt-expansion-card-C5E3FWdz.js → wt-expansion-card-DLGj2407.js} +1 -1
  18. package/dist/{wt-expansion-panel-CUnL0cUQ.js → wt-expansion-panel-DfhgRSs4.js} +1 -1
  19. package/dist/{wt-icon-BBMBXy7F.js → wt-icon-CCEttp-t.js} +1 -1
  20. package/dist/{wt-icon-action-BklvRyKt.js → wt-icon-action-B6KmDhfn.js} +1 -1
  21. package/dist/{wt-icon-btn-BC7iDIVr.js → wt-icon-btn-B7BR2BJW.js} +1 -1
  22. package/dist/{wt-notifications-bar-26cq-yoJ.js → wt-notifications-bar-B20L-XMV.js} +2 -2
  23. package/dist/{wt-player-Cqv4wQTe.js → wt-player-68WtJY5v.js} +3 -3
  24. package/dist/{wt-screen-recordings-action-NPGKFuQh.js → wt-screen-recordings-action-Yx0duVey.js} +1 -1
  25. package/dist/{wt-search-bar-BRgvzuKB.js → wt-search-bar-CxMHtUb-.js} +1 -1
  26. package/dist/{wt-send-message-popup-BEVTTQIC.js → wt-send-message-popup-DphWte4I.js} +3 -3
  27. package/dist/{wt-status-select-DfWLVRWJ.js → wt-status-select-3qvqcdaM.js} +2 -2
  28. package/dist/{wt-table-1lchEUvV.js → wt-table-BDJXh1rJ.js} +3 -3
  29. package/dist/{wt-timepicker-gUeA9XtI.js → wt-timepicker-BtjKfsPX.js} +2 -2
  30. package/dist/{wt-toast-ehTHwE5R.js → wt-toast-BScwyGca.js} +2 -2
  31. package/dist/{wt-tree-table-CQX1WVzP.js → wt-tree-table-B4N6HMgm.js} +1 -1
  32. package/dist/{wt-type-extension-value-input-C5TLLXps.js → wt-type-extension-value-input-BjmJrhU5.js} +122 -122
  33. package/dist/{wt-vidstack-player-B726cUC6.js → wt-vidstack-player-Zns27bwa.js} +5 -5
  34. package/package.json +1 -1
  35. package/src/components/index.js +9 -0
  36. package/src/components/wt-content-wrapper/__tests__/WtContentWrapper.spec.js +34 -0
  37. package/src/components/wt-content-wrapper/_variables.css +10 -0
  38. package/src/components/wt-content-wrapper/wt-content-wrapper.vue +46 -0
  39. package/src/components/wt-layout/__tests__/WtLayout.spec.js +153 -0
  40. package/src/components/wt-layout/_variables.css +15 -0
  41. package/src/components/wt-layout/wt-layout.vue +217 -0
  42. package/src/components/wt-page/__tests__/WtPage.spec.js +35 -0
  43. package/src/components/wt-page/_variables.css +15 -0
  44. package/src/components/wt-page/wt-page.vue +52 -0
  45. package/src/components/wt-textarea/__tests__/WtTextarea.spec.js +19 -0
  46. package/src/components/wt-textarea/wt-textarea.vue +3 -0
  47. package/src/css/components-variables.css +3 -0
  48. package/types/.tsbuildinfo +1 -1
  49. package/types/components/index.d.ts +7 -1
  50. package/types/components/wt-content-wrapper/__tests__/WtContentWrapper.spec.d.ts +1 -0
  51. package/types/components/wt-content-wrapper/wt-content-wrapper.vue.d.ts +18 -0
  52. package/types/components/wt-layout/__tests__/WtLayout.spec.d.ts +1 -0
  53. package/types/components/wt-layout/wt-layout.vue.d.ts +36 -0
  54. package/types/components/wt-page/__tests__/WtPage.spec.d.ts +1 -0
  55. package/types/components/wt-page/wt-page.vue.d.ts +13 -0
  56. package/types/components/wt-textarea/wt-textarea.vue.d.ts +2 -0
@@ -1,11 +1,11 @@
1
1
  import { c as e, r as t } from "./dist-EXdgfpvN.js";
2
2
  import { a as n, i as r, n as i, t as a } from "./genClient-CvWlQ0TZ.js";
3
3
  import { i as o, r as s } from "./caseConverters-DGri4uJo.js";
4
- import { T as c } from "./components-BQdHCAFb.js";
5
- import { a as l, c as u, r as d, u as f } from "./convertDuration-BePVKvK7.js";
6
- import { S as p, b as m } from "./enums-DxMEZrBG.js";
7
- import { t as h } from "./deep-copy-BJdHBMNZ.js";
8
- import { get as g, isPlainObject as _, set as ee } from "lodash-es";
4
+ import { T as c } from "./components-BAjXjwgz.js";
5
+ import { a as l, c as u, r as d, u as f } from "./convertDuration-B5bq1uxb.js";
6
+ import { C as p, _ as m, x as h } from "./enums-Xag5PrU-.js";
7
+ import { t as g } from "./deep-copy-BJdHBMNZ.js";
8
+ import { get as _, isPlainObject as ee, set as te } from "lodash-es";
9
9
  import * as v from "zod";
10
10
  import { z as y } from "zod";
11
11
  //#region node_modules/date-fns/addDays.js
@@ -15,28 +15,28 @@ function b(e, t, n) {
15
15
  }
16
16
  //#endregion
17
17
  //#region packages/api-services/src/utils/gen/index.ts
18
- var x = (e) => e.keyof().options, S = {
18
+ var x = (e) => e.keyof().options, ne = {
19
19
  GroupTypeUnspecified: "GROUP_TYPE_UNSPECIFIED",
20
20
  Static: "STATIC",
21
21
  Dynamic: "DYNAMIC"
22
- }, C = () => ({
22
+ }, S = () => ({
23
23
  items: [],
24
24
  next: !1
25
- }), w = ({ page: e = 1, size: t = 10 } = {}) => ({
25
+ }), C = ({ page: e = 1, size: t = 10 } = {}) => ({
26
26
  page: e,
27
27
  size: t
28
- }), te = (e) => (t) => {
28
+ }), re = (e) => (t) => {
29
29
  let n = t;
30
30
  if (e && e.length > 0) {
31
31
  if (n.includes("?")) return n += `&${e.join("&")}`, n;
32
32
  n += `?${e.join("&")}`;
33
33
  }
34
34
  return n;
35
- }, T = (e, t, { debug: n = !1, withContext: r = null } = {}) => t.reduce((e, t, i) => (n && console.info(`applyTransform debug on step ${i}`, e), r ? t(e, r) : t(e)), e), E = (e = []) => (t) => s(t, e), D = (e) => (t) => `${e}?${n(t, {
35
+ }, w = (e, t, { debug: n = !1, withContext: r = null } = {}) => t.reduce((e, t, i) => (n && console.info(`applyTransform debug on step ${i}`, e), r ? t(e, r) : t(e)), e), T = (e = []) => (t) => s(t, e), E = (e) => (t) => `${e}?${n(t, {
36
36
  skipEmptyString: !0,
37
37
  skipNull: !0,
38
38
  arrayFormat: "repeat"
39
- })}`, ne = /* @__PURE__ */ t(((e, t) => {
39
+ })}`, ie = /* @__PURE__ */ t(((e, t) => {
40
40
  var n = function(e) {
41
41
  return r(e) && !i(e);
42
42
  };
@@ -104,15 +104,15 @@ var x = (e) => e.keyof().options, S = {
104
104
  return g(e, n, t);
105
105
  }, {});
106
106
  }, t.exports = g;
107
- })), re = /* @__PURE__ */ e(ne(), 1), O = (...e) => (t) => re.default.all([...e, t]), ie = (...e) => (t) => t.map((t) => re.default.all([...e, t])), k = {
107
+ })), ae = /* @__PURE__ */ e(ie(), 1), D = (...e) => (t) => ae.default.all([...e, t]), oe = (...e) => (t) => t.map((t) => ae.default.all([...e, t])), se = {
108
108
  eventBus: null,
109
109
  i18n: null
110
110
  };
111
111
  //#endregion
112
112
  //#region packages/api-services/src/api/transformers/notify/notify.transformer.ts
113
- function A(e) {
113
+ function O(e) {
114
114
  if (typeof e == "function") {
115
- let t = ({ type: e, text: t }) => k.eventBus?.$emit("notification", {
115
+ let t = ({ type: e, text: t }) => se.eventBus?.$emit("notification", {
116
116
  type: e,
117
117
  text: t
118
118
  });
@@ -120,7 +120,7 @@ function A(e) {
120
120
  }
121
121
  if (e instanceof Error) {
122
122
  let { response: t } = e, n = t?.data?.translation || t?.data?.detail || t?.data?.message || e;
123
- k.eventBus?.$emit("notification", {
123
+ se.eventBus?.$emit("notification", {
124
124
  type: "error",
125
125
  text: n
126
126
  });
@@ -129,10 +129,10 @@ function A(e) {
129
129
  }
130
130
  //#endregion
131
131
  //#region packages/api-services/src/api/transformers/sanitize/sanitize.transformer.ts
132
- var j = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), M = (e = []) => (t) => o(t, e), ae = /* @__PURE__ */ e(h(), 1), N = (e = "search") => (t) => {
133
- let n = (0, ae.default)(t), r = g(n, e);
134
- return !r || r.slice(-1) === "*" ? n : ee(n, e, `${r}*`);
135
- }, P = "acl", oe = (e) => e.map((e) => ({
132
+ var k = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), A = (e = []) => (t) => o(t, e), ce = /* @__PURE__ */ e(g(), 1), j = (e = "search") => (t) => {
133
+ let n = (0, ce.default)(t), r = _(n, e);
134
+ return !r || r.slice(-1) === "*" ? n : te(n, e, `${r}*`);
135
+ }, le = "acl", ue = (e) => e.map((e) => ({
136
136
  ...e,
137
137
  access: {
138
138
  x: {
@@ -152,7 +152,7 @@ var j = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n
152
152
  rule: "d".repeat((e.granted.match(/d/g) || []).length)
153
153
  }
154
154
  }
155
- })), F = (e) => {
155
+ })), M = (e) => {
156
156
  let t = i();
157
157
  return {
158
158
  getPermissionsList: async ({ parentId: n, ...r }) => {
@@ -163,33 +163,33 @@ var j = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n
163
163
  "sort",
164
164
  "fields",
165
165
  "id"
166
- ], a = { user: !1 }, o = T(r, [
167
- O(w()),
168
- N("search"),
166
+ ], a = { user: !1 }, o = w(r, [
167
+ D(C()),
168
+ j("search"),
169
169
  (e) => ({
170
170
  ...e,
171
171
  q: e.search
172
172
  }),
173
- j(i),
174
- E(),
175
- D(`${e}/${n}/${P}`)
173
+ k(i),
174
+ T(),
175
+ E(`${e}/${n}/${le}`)
176
176
  ]);
177
177
  try {
178
- let { items: e, next: n } = T((await t.get(o)).data, [M(), O(C())]);
178
+ let { items: e, next: n } = w((await t.get(o)).data, [A(), D(S())]);
179
179
  return {
180
- items: T(e, [ie(a), oe]),
180
+ items: w(e, [oe(a), ue]),
181
181
  next: n
182
182
  };
183
183
  } catch (e) {
184
- throw T(e, [A]);
184
+ throw w(e, [O]);
185
185
  }
186
186
  },
187
187
  patchPermissions: async ({ changes: n, id: r }) => {
188
- let i = T(n, [E()]), a = `${e}/${r}/${P}`;
188
+ let i = w(n, [T()]), a = `${e}/${r}/${le}`;
189
189
  try {
190
- return T((await t.patch(a, i)).data, [M()]);
190
+ return w((await t.patch(a, i)).data, [A()]);
191
191
  } catch (e) {
192
- throw T(e, [A]);
192
+ throw w(e, [O]);
193
193
  }
194
194
  }
195
195
  };
@@ -292,7 +292,7 @@ v.object({
292
292
  "object.name": v.string().describe("display name"),
293
293
  "object.id": v.string().describe("identifier")
294
294
  });
295
- var se = v.object({
295
+ var de = v.object({
296
296
  grantee: v.string().optional(),
297
297
  grants: v.string().optional(),
298
298
  object: v.object({
@@ -300,7 +300,7 @@ var se = v.object({
300
300
  name: v.string().optional()
301
301
  }).optional()
302
302
  });
303
- v.array(se), v.object({
303
+ v.array(de), v.object({
304
304
  granted: v.string().optional(),
305
305
  revoked: v.string().optional()
306
306
  }), v.object({
@@ -843,7 +843,7 @@ v.array(se), v.object({
843
843
  });
844
844
  //#endregion
845
845
  //#region packages/api-services/src/gen-wire/agent-service/agent-service.ts
846
- var I = (e = a) => ({
846
+ var N = (e = a) => ({
847
847
  searchAgent: (t, n) => e.get("/call_center/agents", {
848
848
  ...n,
849
849
  params: {
@@ -6104,7 +6104,7 @@ v.object({
6104
6104
  next: v.boolean().optional(),
6105
6105
  page: v.string().optional()
6106
6106
  }), v.object({ case_etag: v.string().describe("new comment link") });
6107
- var ce = v.object({
6107
+ var fe = v.object({
6108
6108
  fields: v.array(v.string()).optional().describe("result fields needed on the front-end for each comment"),
6109
6109
  "input.etag": v.string().optional(),
6110
6110
  "input.url": v.string().optional(),
@@ -6709,7 +6709,7 @@ v.object({
6709
6709
  fields: v.array(v.string()).optional().describe("List of fields to include in the response."),
6710
6710
  disableTrigger: v.boolean().optional().describe("Indicates whether to disable the trigger after the application execution.\nDefault is false (trigger **will** be executed).\nSet to true to explicitly prevent the trigger from running (e.g., when called from another trigger or internal flow).\nто\n[WTEL-7055]")
6711
6711
  });
6712
- var le = v.object({
6712
+ var pe = v.object({
6713
6713
  assignee: v.object({
6714
6714
  id: v.string().optional(),
6715
6715
  name: v.string().optional()
@@ -8380,7 +8380,7 @@ v.object({
8380
8380
  fields: v.array(v.string()).optional().describe("List of fields to include in the response."),
8381
8381
  disableTrigger: v.boolean().optional().describe("Indicates whether to disable the trigger after the application execution.\nDefault is false (trigger **will** be executed).\nSet to true to explicitly prevent the trigger from running (e.g., when called from another trigger or internal flow).\n\n[WTEL-7055]")
8382
8382
  });
8383
- var ue = v.object({
8383
+ var me = v.object({
8384
8384
  assignee: v.object({
8385
8385
  id: v.string().optional(),
8386
8386
  name: v.string().optional()
@@ -10556,7 +10556,7 @@ v.object({
10556
10556
  contact_id: v.string().describe("Contact ID associated with."),
10557
10557
  etag: v.array(v.string()).min(1).describe("Set of unique ID(s) to remove.")
10558
10558
  }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved as a result.") });
10559
- var de = v.object({
10559
+ var he = v.object({
10560
10560
  created_at: v.string().optional().describe("The user who created this Field."),
10561
10561
  created_by: v.object({
10562
10562
  id: v.string().optional().describe("Reference Object unique ID."),
@@ -10585,7 +10585,7 @@ var de = v.object({
10585
10585
  }).optional().describe("The user who performed last Update."),
10586
10586
  ver: v.int().optional().describe("Version of the latest update. Numeric sequence.")
10587
10587
  });
10588
- v.array(de), v.object({
10588
+ v.array(he), v.object({
10589
10589
  contact_id: v.string().describe("Contact ID associated with."),
10590
10590
  etag: v.string().describe("Unique ID of the latest version of an existing resorce.")
10591
10591
  }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") }), v.object({
@@ -10970,7 +10970,7 @@ v.array(de), v.object({
10970
10970
  next: v.boolean().optional(),
10971
10971
  page: v.int().optional().describe("The page number of the partial result.")
10972
10972
  }).describe("Contact groups dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactGroupList.data are always subordinate to some contact.id."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved as a result.") });
10973
- var fe = v.object({
10973
+ var ge = v.object({
10974
10974
  etag: v.string().describe("Unique ID of the latest version of an existing resource."),
10975
10975
  group: v.object({
10976
10976
  id: v.string().optional().describe("Reference Object unique ID."),
@@ -10978,7 +10978,7 @@ var fe = v.object({
10978
10978
  type: v.string().optional().describe("Reference Object well-known type.")
10979
10979
  }).optional().describe("Group of contacts associated.")
10980
10980
  }).describe("An input of the Contact's groups.");
10981
- v.array(fe), v.object({
10981
+ v.array(ge), v.object({
10982
10982
  data: v.array(v.object({
10983
10983
  created_at: v.string().optional().describe("The user who created this Field."),
10984
10984
  created_by: v.object({
@@ -11004,7 +11004,7 @@ v.array(fe), v.object({
11004
11004
  next: v.boolean().optional(),
11005
11005
  page: v.int().optional().describe("The page number of the partial result.")
11006
11006
  }).describe("Contact groups dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactGroupList.data are always subordinate to some contact.id."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") });
11007
- var pe = v.object({
11007
+ var _e = v.object({
11008
11008
  etag: v.string().describe("Unique ID of the latest version of an existing resource."),
11009
11009
  group: v.object({
11010
11010
  id: v.string().optional().describe("Reference Object unique ID."),
@@ -11012,7 +11012,7 @@ var pe = v.object({
11012
11012
  type: v.string().optional().describe("Reference Object well-known type.")
11013
11013
  }).optional().describe("Group of contacts associated.")
11014
11014
  }).describe("An input of the Contact's groups.");
11015
- v.array(pe), v.object({
11015
+ v.array(_e), v.object({
11016
11016
  data: v.array(v.object({
11017
11017
  created_at: v.string().optional().describe("The user who created this Field."),
11018
11018
  created_by: v.object({
@@ -11163,7 +11163,7 @@ v.array(pe), v.object({
11163
11163
  }), v.object({ conversation_id: v.string() }), v.object({ contact_id: v.string().optional() }), v.looseObject({});
11164
11164
  //#endregion
11165
11165
  //#region packages/api-services/src/gen-wire/contacts/contacts.ts
11166
- var me = v.object({
11166
+ var ve = v.object({
11167
11167
  page: v.int().optional().describe("Page number of result records. _default(1); offset=(size*(page-1));_\n\n```javascript\nlet\n offset = 0\n , page = req.page\n;\nif (page <= 0)\n page = 1;\nif (page > 1)\n offset = ((page-1)*size);\n// . . .\n```"),
11168
11168
  size: v.int().optional().describe("Limit of result page records count. _default(16); limit=(size<=0?-1:size+1);_\n\n```javascript\nconst\n default = 16\n , maximum = 32\n;\nlet limit = req.size;\nif (limit <= 0)\n limit = default;\nif (maximum < limit)\n limit = maximum;\n// . . .\n```"),
11169
11169
  q: v.string().optional().describe("Search term:\n`?` - matches any character\n`*` - matches 0 or more characters\nUsed to query records within a set of `qin` fields, eg: name,emails{type},labels etc..."),
@@ -11496,7 +11496,7 @@ v.object({
11496
11496
  next: v.boolean().optional(),
11497
11497
  page: v.int().optional().describe("The page number of the partial result.")
11498
11498
  }).describe("Contact dataset."), v.object({ fields: v.array(v.string()).optional().describe("Source Fields to return into result.") });
11499
- var he = v.object({
11499
+ var ye = v.object({
11500
11500
  about: v.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
11501
11501
  comments: v.array(v.object({
11502
11502
  etag: v.string().optional().describe("Unique ID of the latest version of an existing resorce."),
@@ -11896,7 +11896,7 @@ v.object({
11896
11896
  }).optional().describe("Arbitrary client data that is populated by clients.\nDuplicate keys and values are allowed."),
11897
11897
  ver: v.int().optional().describe("READONLY. Operational attributes\nVersion of the latest update. Numeric sequence.")
11898
11898
  }).describe("The Contact principal source.\nOUTPUT purpose only."), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") });
11899
- var ge = v.object({
11899
+ var be = v.object({
11900
11900
  about: v.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
11901
11901
  comments: v.array(v.object({
11902
11902
  etag: v.string().optional().describe("Unique ID of the latest version of an existing resorce."),
@@ -11986,7 +11986,7 @@ var ge = v.object({
11986
11986
  value: v.unknown().optional().describe("NEW Value.")
11987
11987
  }).describe("Input of the Contact's variable.")).optional().describe("Arbitrary client data that is populated by clients.")
11988
11988
  }).describe("The Contact principal input.");
11989
- v.array(ge), v.object({
11989
+ v.array(be), v.object({
11990
11990
  data: v.array(v.object({
11991
11991
  about: v.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
11992
11992
  comments: v.object({
@@ -13027,7 +13027,7 @@ v.array(ge), v.object({
13027
13027
  }).optional().describe("Arbitrary client data that is populated by clients.\nDuplicate keys and values are allowed."),
13028
13028
  ver: v.int().optional().describe("READONLY. Operational attributes\nVersion of the latest update. Numeric sequence.")
13029
13029
  }).describe("The Contact principal source.\nOUTPUT purpose only."), v.object({ etag: v.string().describe("Unique ID of the latest version of an existing resorce.") }), v.object({ fields: v.array(v.string()).optional().describe("Source Fields to return into result.") });
13030
- var _e = v.object({
13030
+ var xe = v.object({
13031
13031
  about: v.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
13032
13032
  comments: v.array(v.object({
13033
13033
  etag: v.string().optional().describe("Unique ID of the latest version of an existing resorce."),
@@ -14200,8 +14200,8 @@ v.object({
14200
14200
  id: v.string().optional(),
14201
14201
  permanent: v.boolean().optional()
14202
14202
  });
14203
- var ve = v.string();
14204
- v.array(ve), v.object({ deleted: v.array(v.object({
14203
+ var Se = v.string();
14204
+ v.array(Se), v.object({ deleted: v.array(v.object({
14205
14205
  account: v.string().optional().describe("username"),
14206
14206
  brand: v.string().optional().describe("vendor brand name"),
14207
14207
  created_at: v.string().optional(),
@@ -16545,7 +16545,7 @@ v.array(ve), v.object({ deleted: v.array(v.object({
16545
16545
  next: v.boolean().optional().describe("Have more records."),
16546
16546
  page: v.int().optional().describe("Page number of the partial result.")
16547
16547
  }).describe("A list of Conditions."), v.object({ group_id: v.string().describe("The ID of the group to which the condition belongs.") });
16548
- var ye = v.object({
16548
+ var Ce = v.object({
16549
16549
  assignee: v.object({
16550
16550
  id: v.string().optional().describe("Reference Object unique ID."),
16551
16551
  name: v.string().optional().describe("Reference Object display name."),
@@ -16807,7 +16807,7 @@ v.object({
16807
16807
  type: v.string().optional().describe("Reference Object well-known type.")
16808
16808
  }).optional().describe("The user who performed the last update.")
16809
16809
  }), v.object({ id: v.string().describe("The unique ID of the dynamic group to update.") });
16810
- var be = v.object({
16810
+ var we = v.object({
16811
16811
  default_group: v.object({
16812
16812
  id: v.string().optional().describe("Reference Object unique ID."),
16813
16813
  name: v.string().optional().describe("Reference Object display name."),
@@ -17266,7 +17266,7 @@ v.object({
17266
17266
  next: v.boolean().optional(),
17267
17267
  page: v.int().optional().describe("The page number of the partial result.")
17268
17268
  }).describe("Email dataset."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") });
17269
- var L = v.object({
17269
+ var P = v.object({
17270
17270
  email: v.string().describe("The email address."),
17271
17271
  etag: v.string().optional().describe("Unique ID of the latest version of an existing resorce."),
17272
17272
  primary: v.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -17277,7 +17277,7 @@ var L = v.object({
17277
17277
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
17278
17278
  verified: v.boolean().optional()
17279
17279
  }).describe("Input of the Contact's email address.");
17280
- v.array(L), v.object({
17280
+ v.array(P), v.object({
17281
17281
  data: v.array(v.object({
17282
17282
  created_at: v.string().optional().describe("The user who created this Field."),
17283
17283
  created_by: v.object({
@@ -17306,7 +17306,7 @@ v.array(L), v.object({
17306
17306
  next: v.boolean().optional(),
17307
17307
  page: v.int().optional().describe("The page number of the partial result.")
17308
17308
  }).describe("Email dataset."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") });
17309
- var xe = v.object({
17309
+ var Te = v.object({
17310
17310
  email: v.string().describe("The email address."),
17311
17311
  etag: v.string().optional().describe("Unique ID of the latest version of an existing resorce."),
17312
17312
  primary: v.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -17317,7 +17317,7 @@ var xe = v.object({
17317
17317
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
17318
17318
  verified: v.boolean().optional()
17319
17319
  }).describe("Input of the Contact's email address.");
17320
- v.array(xe), v.object({
17320
+ v.array(Te), v.object({
17321
17321
  data: v.array(v.object({
17322
17322
  created_at: v.string().optional().describe("The user who created this Field."),
17323
17323
  created_by: v.object({
@@ -17443,7 +17443,7 @@ v.array(xe), v.object({
17443
17443
  contact_id: v.string().describe("Link contact ID."),
17444
17444
  etag: v.string().describe("Unique ID of the latest version of an existing resorce.")
17445
17445
  }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") });
17446
- var Se = v.object({
17446
+ var Ee = v.object({
17447
17447
  email: v.string().describe("The email address."),
17448
17448
  primary: v.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
17449
17449
  type: v.object({
@@ -20393,7 +20393,7 @@ v.object({
20393
20393
  type: v.string().optional().describe("Reference Object well-known type.")
20394
20394
  }).optional().describe("The user who performed the last update.")
20395
20395
  }), v.object({ id: v.string().describe("The unique ID of the group to update.") });
20396
- var Ce = v.object({
20396
+ var De = v.object({
20397
20397
  description: v.string().optional().describe("The new description of the group."),
20398
20398
  enabled: v.boolean().optional().describe("The new enabled status of the group."),
20399
20399
  name: v.string().optional().describe("The new name of the group.")
@@ -20731,11 +20731,11 @@ v.object({
20731
20731
  next: v.boolean().optional(),
20732
20732
  page: v.int().optional().describe("Page number of partial result.")
20733
20733
  }).describe("LabelList dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result.") });
20734
- var we = v.object({
20734
+ var Oe = v.object({
20735
20735
  etag: v.string().optional().describe("Unique ID of the latest version of an existing resorce."),
20736
20736
  label: v.string().optional().describe("REQUIRED. Hashtag value;\nNOTE: Keep in mind, hashtags are not case-sensitive,\nbut adding capital letters does make them easier to read:\n#MakeAWish vs. #makeawish.")
20737
20737
  }).describe("A Contact's associated Tag.\nOutput purpose only.");
20738
- v.array(we), v.object({
20738
+ v.array(Oe), v.object({
20739
20739
  data: v.array(v.object({
20740
20740
  created_at: v.string().optional().describe("The user who created this Field."),
20741
20741
  created_by: v.object({
@@ -20757,11 +20757,11 @@ v.array(we), v.object({
20757
20757
  next: v.boolean().optional(),
20758
20758
  page: v.int().optional().describe("Page number of partial result.")
20759
20759
  }).describe("LabelList dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result.") });
20760
- var Te = v.object({
20760
+ var ke = v.object({
20761
20761
  etag: v.string().optional().describe("Unique ID of the latest version of an existing resorce."),
20762
20762
  label: v.string().optional().describe("REQUIRED. Hashtag value;\nNOTE: Keep in mind, hashtags are not case-sensitive,\nbut adding capital letters does make them easier to read:\n#MakeAWish vs. #makeawish.")
20763
20763
  }).describe("A Contact's associated Tag.\nOutput purpose only.");
20764
- v.array(Te), v.object({
20764
+ v.array(ke), v.object({
20765
20765
  data: v.array(v.object({
20766
20766
  created_at: v.string().optional().describe("The user who created this Field."),
20767
20767
  created_by: v.object({
@@ -20852,12 +20852,12 @@ v.array(Te), v.object({
20852
20852
  next: v.boolean().optional(),
20853
20853
  page: v.int().optional().describe("Page number of partial result dataset records.")
20854
20854
  }).describe("LabelsData\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved as a result.") });
20855
- var Ee = v.object({
20855
+ var Ae = v.object({
20856
20856
  etag: v.string().describe("Unique ID of the latest version of an existing association."),
20857
20857
  primary: v.boolean().optional().describe("Indicates whether this association must be default\namong others of the same type."),
20858
20858
  tag: v.string().optional()
20859
20859
  }).describe("An input of the Contact's language.");
20860
- v.array(Ee), v.object({
20860
+ v.array(Ae), v.object({
20861
20861
  data: v.array(v.object({
20862
20862
  code: v.string().optional(),
20863
20863
  created_at: v.string().optional().describe("The user who created this Field."),
@@ -20885,12 +20885,12 @@ v.array(Ee), v.object({
20885
20885
  next: v.boolean().optional(),
20886
20886
  page: v.int().optional().describe("Page number of partial result dataset records.")
20887
20887
  }).describe("LabelsData\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), v.object({ contact_id: v.string().describe("Contact ID associated with.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved as a result.") });
20888
- var De = v.object({
20888
+ var je = v.object({
20889
20889
  etag: v.string().describe("Unique ID of the latest version of an existing association."),
20890
20890
  primary: v.boolean().optional().describe("Indicates whether this association must be default\namong others of the same type."),
20891
20891
  tag: v.string().optional()
20892
20892
  }).describe("An input of the Contact's language.");
20893
- v.array(De), v.object({
20893
+ v.array(je), v.object({
20894
20894
  data: v.array(v.object({
20895
20895
  code: v.string().optional(),
20896
20896
  created_at: v.string().optional().describe("The user who created this Field."),
@@ -22703,7 +22703,7 @@ v.array(De), v.object({
22703
22703
  fields: v.array(v.string()).optional().describe("Fields to be retrieved as a result."),
22704
22704
  etag: v.array(v.string()).describe("Set of unique ID(s) to remove.")
22705
22705
  });
22706
- var Oe = v.object({
22706
+ var Me = v.object({
22707
22707
  created_at: v.string().optional().describe("The user who created this Field."),
22708
22708
  created_by: v.object({
22709
22709
  id: v.string().optional().describe("Reference Object unique ID."),
@@ -22726,7 +22726,7 @@ var Oe = v.object({
22726
22726
  }).optional().describe("Responsible User."),
22727
22727
  ver: v.int().optional().describe("Version of the latest update. Numeric sequence.")
22728
22728
  }).describe("Manager. The Contact's responsible User.");
22729
- v.array(Oe), v.object({ contact_id: v.string().describe("Contact ID associated with.") }), v.object({
22729
+ v.array(Me), v.object({ contact_id: v.string().describe("Contact ID associated with.") }), v.object({
22730
22730
  page: v.int().optional().describe("Page number of result. offset = ((page-1)*size)"),
22731
22731
  size: v.int().optional().describe("Size of result page. limit = (size++)"),
22732
22732
  q: v.string().optional().describe("Search term: user name;\n`?` - matches any one character\n`*` - matches 0 or more characters"),
@@ -22760,7 +22760,7 @@ v.array(Oe), v.object({ contact_id: v.string().describe("Contact ID associated w
22760
22760
  next: v.boolean().optional(),
22761
22761
  page: v.int().optional().describe("The page number of the partial result.")
22762
22762
  }).describe("Manager dataset."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved as a result.") });
22763
- var ke = v.object({
22763
+ var Ne = v.object({
22764
22764
  etag: v.string().describe("Unique ID of the latest version of an existing resource."),
22765
22765
  primary: v.boolean().optional().describe("Indicates whether this association must be default among others."),
22766
22766
  user: v.object({
@@ -22769,7 +22769,7 @@ var ke = v.object({
22769
22769
  type: v.string().optional().describe("Reference Object well-known type.")
22770
22770
  }).optional().describe("Responsible User.")
22771
22771
  });
22772
- v.array(ke), v.object({
22772
+ v.array(Ne), v.object({
22773
22773
  data: v.array(v.object({
22774
22774
  created_at: v.string().optional().describe("The user who created this Field."),
22775
22775
  created_by: v.object({
@@ -22796,7 +22796,7 @@ v.array(ke), v.object({
22796
22796
  next: v.boolean().optional(),
22797
22797
  page: v.int().optional().describe("The page number of the partial result.")
22798
22798
  }).describe("Manager dataset."), v.object({ contact_id: v.string().describe("Contact ID associated with.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved as a result.") });
22799
- var Ae = v.object({
22799
+ var Pe = v.object({
22800
22800
  etag: v.string().describe("Unique ID of the latest version of an existing resource."),
22801
22801
  primary: v.boolean().optional().describe("Indicates whether this association must be default among others."),
22802
22802
  user: v.object({
@@ -22805,7 +22805,7 @@ var Ae = v.object({
22805
22805
  type: v.string().optional().describe("Reference Object well-known type.")
22806
22806
  }).optional().describe("Responsible User.")
22807
22807
  });
22808
- v.array(Ae), v.object({
22808
+ v.array(Pe), v.object({
22809
22809
  data: v.array(v.object({
22810
22810
  created_at: v.string().optional().describe("The user who created this Field."),
22811
22811
  created_by: v.object({
@@ -24849,7 +24849,7 @@ v.array(Ae), v.object({
24849
24849
  next: v.boolean().optional(),
24850
24850
  page: v.int().optional()
24851
24851
  });
24852
- var je = v.object({
24852
+ var Fe = v.object({
24853
24853
  auth_url: v.string().optional(),
24854
24854
  claims: v.array(v.object({
24855
24855
  type: v.string().optional(),
@@ -26134,7 +26134,7 @@ v.object({
26134
26134
  next: v.boolean().optional(),
26135
26135
  page: v.int().optional().describe("The page number of the partial result.")
26136
26136
  }).describe("PhoneNumber dataset."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") });
26137
- var R = v.object({
26137
+ var F = v.object({
26138
26138
  etag: v.string().optional().describe("Unique ID of the latest version of an existing resorce."),
26139
26139
  number: v.string().describe("The phone number."),
26140
26140
  primary: v.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -26145,7 +26145,7 @@ var R = v.object({
26145
26145
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
26146
26146
  verified: v.boolean().optional()
26147
26147
  }).describe("Input of the contact phone number.");
26148
- v.array(R), v.object({
26148
+ v.array(F), v.object({
26149
26149
  data: v.array(v.object({
26150
26150
  created_at: v.string().optional().describe("The user who created this Field."),
26151
26151
  created_by: v.object({
@@ -26174,7 +26174,7 @@ v.array(R), v.object({
26174
26174
  next: v.boolean().optional(),
26175
26175
  page: v.int().optional().describe("The page number of the partial result.")
26176
26176
  }).describe("PhoneNumber dataset."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") });
26177
- var Me = v.object({
26177
+ var Ie = v.object({
26178
26178
  etag: v.string().optional().describe("Unique ID of the latest version of an existing resorce."),
26179
26179
  number: v.string().describe("The phone number."),
26180
26180
  primary: v.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -26185,7 +26185,7 @@ var Me = v.object({
26185
26185
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
26186
26186
  verified: v.boolean().optional()
26187
26187
  }).describe("Input of the contact phone number.");
26188
- v.array(Me), v.object({
26188
+ v.array(Ie), v.object({
26189
26189
  data: v.array(v.object({
26190
26190
  created_at: v.string().optional().describe("The user who created this Field."),
26191
26191
  created_by: v.object({
@@ -26311,7 +26311,7 @@ v.array(Me), v.object({
26311
26311
  contact_id: v.string().describe("The Contact ID to be associated with."),
26312
26312
  etag: v.string().describe("Unique ID of the latest version of an existing resorce.")
26313
26313
  }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") });
26314
- var Ne = v.object({
26314
+ var Le = v.object({
26315
26315
  number: v.string().describe("The phone number."),
26316
26316
  primary: v.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
26317
26317
  type: v.object({
@@ -26407,13 +26407,13 @@ v.object({
26407
26407
  next: v.boolean().optional(),
26408
26408
  page: v.int().optional().describe("The page number of the partial result.")
26409
26409
  }).describe("Photo dataset."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") });
26410
- var Pe = v.object({
26410
+ var Re = v.object({
26411
26411
  etag: v.string().optional().describe("Unique ID of the latest version of an existing association."),
26412
26412
  photo_id: v.string().optional(),
26413
26413
  photo_url: v.string().optional(),
26414
26414
  primary: v.boolean().optional().describe("True if the photo is a default photo; false if the photo is a user-provided photo.")
26415
26415
  }).describe("Input of the photo.");
26416
- v.array(Pe), v.object({
26416
+ v.array(Re), v.object({
26417
26417
  data: v.array(v.object({
26418
26418
  created_at: v.string().optional().describe("The user who created this Field."),
26419
26419
  created_by: v.object({
@@ -26437,13 +26437,13 @@ v.array(Pe), v.object({
26437
26437
  next: v.boolean().optional(),
26438
26438
  page: v.int().optional().describe("The page number of the partial result.")
26439
26439
  }).describe("Photo dataset."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") });
26440
- var Fe = v.object({
26440
+ var ze = v.object({
26441
26441
  etag: v.string().optional().describe("Unique ID of the latest version of an existing association."),
26442
26442
  photo_id: v.string().optional(),
26443
26443
  photo_url: v.string().optional(),
26444
26444
  primary: v.boolean().optional().describe("True if the photo is a default photo; false if the photo is a user-provided photo.")
26445
26445
  }).describe("Input of the photo.");
26446
- v.array(Fe), v.object({
26446
+ v.array(ze), v.object({
26447
26447
  data: v.array(v.object({
26448
26448
  created_at: v.string().optional().describe("The user who created this Field."),
26449
26449
  created_by: v.object({
@@ -29818,7 +29818,7 @@ v.array(Fe), v.object({
29818
29818
  next: v.boolean().optional(),
29819
29819
  page: v.int().optional()
29820
29820
  }), v.object({ fields: v.array(v.string()).optional() });
29821
- var Ie = v.object({
29821
+ var I = v.object({
29822
29822
  assignee: v.object({
29823
29823
  id: v.string().optional(),
29824
29824
  name: v.string().optional()
@@ -29995,7 +29995,7 @@ v.object({
29995
29995
  name: v.string().optional()
29996
29996
  }).optional()
29997
29997
  }).optional() }), v.object({ id: v.string().describe("ID of the service to be updated") }), v.object({ fields: v.array(v.string()).optional() });
29998
- var Le = v.object({
29998
+ var Be = v.object({
29999
29999
  assignee: v.object({
30000
30000
  id: v.string().optional(),
30001
30001
  name: v.string().optional()
@@ -30070,7 +30070,7 @@ v.object({
30070
30070
  name: v.string().optional()
30071
30071
  }).optional()
30072
30072
  }), v.object({ id: v.string().describe("ID of the service to be updated") }), v.object({ fields: v.array(v.string()).optional() });
30073
- var Re = v.object({
30073
+ var Ve = v.object({
30074
30074
  assignee: v.object({
30075
30075
  id: v.string().optional(),
30076
30076
  name: v.string().optional()
@@ -31046,13 +31046,13 @@ v.object({
31046
31046
  next: v.boolean().optional(),
31047
31047
  page: v.int().optional().describe("The page number of the partial result.")
31048
31048
  }), v.object({ fields: v.array(v.string()).optional().describe("Source Fields to return into result.") });
31049
- var ze = v.object({
31049
+ var He = v.object({
31050
31050
  etag: v.string().optional().describe("Unique ID of the latest version of an existing resorce."),
31051
31051
  home_page: v.string().optional().describe("BIO. Short description about the space.\nOPTIONAL. Multi-lined text."),
31052
31052
  name: v.string().optional().describe("Represents the name of the knowledge base space."),
31053
31053
  state: v.boolean().optional().describe("The state of the space.")
31054
31054
  }).describe("The Space principal input.");
31055
- v.array(ze), v.object({
31055
+ v.array(He), v.object({
31056
31056
  created_at: v.string().optional().describe("The timestamp when the space was created (in Unix time)."),
31057
31057
  created_by: v.object({
31058
31058
  id: v.string().optional().describe("Reference Object unique ID."),
@@ -31620,7 +31620,7 @@ v.array(ze), v.object({
31620
31620
  })).optional(),
31621
31621
  next: v.boolean().optional()
31622
31622
  });
31623
- var Be = v.object({ name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name") });
31623
+ var Ue = v.object({ name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name") });
31624
31624
  v.object({
31625
31625
  id: v.int().optional(),
31626
31626
  name: v.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
@@ -32146,7 +32146,7 @@ v.object({
32146
32146
  next: v.boolean().optional(),
32147
32147
  page: v.int().optional().describe("The page number of the partial result.")
32148
32148
  }).describe("Timezone dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactTimezones.data are always subordinate to some contact.id."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved as a result.") });
32149
- var Ve = v.object({
32149
+ var We = v.object({
32150
32150
  etag: v.string().describe("Unique ID of the latest version of an existing resource."),
32151
32151
  primary: v.boolean().optional().describe("Indicates whether this association must be default among others."),
32152
32152
  timezone: v.object({
@@ -32155,7 +32155,7 @@ var Ve = v.object({
32155
32155
  type: v.string().optional().describe("Reference Object well-known type.")
32156
32156
  }).optional().describe("Timezone dictionary reference value associated.")
32157
32157
  }).describe("An input of the Contact's timezones.");
32158
- v.array(Ve), v.object({
32158
+ v.array(We), v.object({
32159
32159
  data: v.array(v.object({
32160
32160
  created_at: v.string().optional().describe("The user who created this Field."),
32161
32161
  created_by: v.object({
@@ -32182,7 +32182,7 @@ v.array(Ve), v.object({
32182
32182
  next: v.boolean().optional(),
32183
32183
  page: v.int().optional().describe("The page number of the partial result.")
32184
32184
  }).describe("Timezone dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactTimezones.data are always subordinate to some contact.id."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") });
32185
- var He = v.object({
32185
+ var Ge = v.object({
32186
32186
  etag: v.string().describe("Unique ID of the latest version of an existing resource."),
32187
32187
  primary: v.boolean().optional().describe("Indicates whether this association must be default among others."),
32188
32188
  timezone: v.object({
@@ -32191,7 +32191,7 @@ var He = v.object({
32191
32191
  type: v.string().optional().describe("Reference Object well-known type.")
32192
32192
  }).optional().describe("Timezone dictionary reference value associated.")
32193
32193
  }).describe("An input of the Contact's timezones.");
32194
- v.array(He), v.object({
32194
+ v.array(Ge), v.object({
32195
32195
  data: v.array(v.object({
32196
32196
  created_at: v.string().optional().describe("The user who created this Field."),
32197
32197
  created_by: v.object({
@@ -33428,8 +33428,8 @@ v.array(He), v.object({
33428
33428
  id: v.string().optional().describe("ONE /users/{id}"),
33429
33429
  permanent: v.boolean().optional()
33430
33430
  });
33431
- var Ue = v.string();
33432
- v.array(Ue), v.object({ deleted: v.array(v.object({
33431
+ var Ke = v.string();
33432
+ v.array(Ke), v.object({ deleted: v.array(v.object({
33433
33433
  chat_name: v.string().optional().describe("The \"chat_name\" field is used to store the name displayed externally on the platform.\nFor example, \"chat_name\" is shown when an agent connects to chats with clients."),
33434
33434
  contact: v.object({
33435
33435
  id: v.string().optional(),
@@ -34312,12 +34312,12 @@ v.array(Ue), v.object({ deleted: v.array(v.object({
34312
34312
  next: v.boolean().optional(),
34313
34313
  page: v.int().optional().describe("The page number of the partial result.")
34314
34314
  }).describe("Variable dataset."), v.object({ contact_id: v.string().describe("Link contact ID.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved as a result.") });
34315
- var We = v.object({
34315
+ var L = v.object({
34316
34316
  etag: v.string().optional().describe("Unique ID of the latest version of an existing resorce."),
34317
34317
  key: v.string().regex(/^\w+$/).describe("NEW Key."),
34318
34318
  value: v.unknown().optional().describe("NEW Value.")
34319
34319
  }).describe("Input of the Contact's variable.");
34320
- v.array(We), v.object({
34320
+ v.array(L), v.object({
34321
34321
  data: v.array(v.object({
34322
34322
  created_at: v.string().optional().describe("The user who created this Field."),
34323
34323
  created_by: v.object({
@@ -34340,12 +34340,12 @@ v.array(We), v.object({
34340
34340
  next: v.boolean().optional(),
34341
34341
  page: v.int().optional().describe("The page number of the partial result.")
34342
34342
  }).describe("Variable dataset."), v.object({ contact_id: v.string().describe("Contact ID associated with.") }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") });
34343
- var Ge = v.object({
34343
+ var qe = v.object({
34344
34344
  etag: v.string().optional().describe("Unique ID of the latest version of an existing resorce."),
34345
34345
  key: v.string().regex(/^\w+$/).describe("NEW Key."),
34346
34346
  value: v.unknown().optional().describe("NEW Value.")
34347
34347
  }).describe("Input of the Contact's variable.");
34348
- v.array(Ge), v.object({
34348
+ v.array(qe), v.object({
34349
34349
  data: v.array(v.object({
34350
34350
  created_at: v.string().optional().describe("The user who created this Field."),
34351
34351
  created_by: v.object({
@@ -34420,7 +34420,7 @@ v.array(Ge), v.object({
34420
34420
  contact_id: v.string().describe("Contact ID associated with."),
34421
34421
  etag: v.string().describe("Unique ID of the latest version of an existing resorce.")
34422
34422
  }), v.object({ fields: v.array(v.string()).optional().describe("Fields to be retrieved into result of changes.") });
34423
- var Ke = v.object({
34423
+ var Je = v.object({
34424
34424
  key: v.string().regex(/^\w+$/).describe("NEW Key."),
34425
34425
  value: v.unknown().optional().describe("NEW Value.")
34426
34426
  });
@@ -41142,7 +41142,7 @@ v.object({
41142
41142
  }).optional() });
41143
41143
  //#endregion
41144
41144
  //#region packages/api-services/src/gen-wire/list-service/list-service.ts
41145
- var qe = (e = a) => ({
41145
+ var R = (e = a) => ({
41146
41146
  messagesServiceBroadcastMessage: (t, n) => e.post("/chat/broadcast", t, n),
41147
41147
  catalogGetCustomers: (t, n) => e.get("/chat/customers", {
41148
41148
  ...n,
@@ -41179,7 +41179,7 @@ var qe = (e = a) => ({
41179
41179
  ...i?.params
41180
41180
  }
41181
41181
  })
41182
- }), Je = (e = a) => ({
41182
+ }), z = (e = a) => ({
41183
41183
  searchTypes: (t, n) => e.get("/types", {
41184
41184
  ...n,
41185
41185
  params: {
@@ -41188,13 +41188,13 @@ var qe = (e = a) => ({
41188
41188
  }
41189
41189
  }),
41190
41190
  locate: (t, n) => e.get(`/types/${t}`, n)
41191
- }), Ye = "/call_center/agents", z = (e) => e > 3600 * 24 ? ">24:00:00" : l(e), B = async (e) => {
41191
+ }), Ye = "/call_center/agents", B = (e) => e > 3600 * 24 ? ">24:00:00" : l(e), V = async (e) => {
41192
41192
  let t = (e) => e.map((e) => ({
41193
41193
  ...e,
41194
- statusDuration: z(e.statusDuration)
41195
- })), n = T(e, [
41196
- E(),
41197
- O(w()),
41194
+ statusDuration: B(e.statusDuration)
41195
+ })), n = w(e, [
41196
+ T(),
41197
+ D(C()),
41198
41198
  (e) => ({
41199
41199
  ...e,
41200
41200
  q: e.search,
@@ -41202,7 +41202,7 @@ var qe = (e = a) => ({
41202
41202
  skill_id: e.skill_id ?? e.skill,
41203
41203
  not_supervisor: e.not_supervisor ?? e.is_not_supervisor
41204
41204
  }),
41205
- j([
41205
+ k([
41206
41206
  "page",
41207
41207
  "size",
41208
41208
  "q",
@@ -41225,13 +41225,13 @@ var qe = (e = a) => ({
41225
41225
  ])
41226
41226
  ]);
41227
41227
  try {
41228
- let { items: e, next: r } = T((await I().searchAgent(n)).data, [M(), O(C())]);
41228
+ let { items: e, next: r } = w((await N().searchAgent(n)).data, [A(), D(S())]);
41229
41229
  return {
41230
- items: T(e, [t]),
41230
+ items: w(e, [t]),
41231
41231
  next: r
41232
41232
  };
41233
41233
  } catch (e) {
41234
- throw T(e, [A]);
41234
+ throw w(e, [O]);
41235
41235
  }
41236
41236
  }, Xe = {
41237
41237
  user: {},
@@ -41247,11 +41247,11 @@ var qe = (e = a) => ({
41247
41247
  greetingMedia: {}
41248
41248
  }, Ze = async ({ itemId: e, defaultObject: t = Xe }) => {
41249
41249
  try {
41250
- return T((await I().readAgent(String(e))).data, [M(), O(t)]);
41250
+ return w((await N().readAgent(String(e))).data, [A(), D(t)]);
41251
41251
  } catch (e) {
41252
- throw T(e, [A]);
41252
+ throw w(e, [O]);
41253
41253
  }
41254
- }, V = [
41254
+ }, H = [
41255
41255
  "user",
41256
41256
  "team",
41257
41257
  "supervisor",
@@ -41265,48 +41265,48 @@ var qe = (e = a) => ({
41265
41265
  "screenControl",
41266
41266
  "extraChatCount"
41267
41267
  ], Qe = {
41268
- getList: B,
41268
+ getList: V,
41269
41269
  get: Ze,
41270
41270
  add: async ({ itemInstance: e }) => {
41271
- let t = T(e, [j(V), E()]);
41271
+ let t = w(e, [k(H), T()]);
41272
41272
  try {
41273
- return T((await I().createAgent(t)).data, [M()]);
41273
+ return w((await N().createAgent(t)).data, [A()]);
41274
41274
  } catch (e) {
41275
- throw T(e, [A]);
41275
+ throw w(e, [O]);
41276
41276
  }
41277
41277
  },
41278
41278
  patch: async ({ changes: e, id: t }) => {
41279
- let n = T(e, [j(V), E()]);
41279
+ let n = w(e, [k(H), T()]);
41280
41280
  try {
41281
- return T((await I().patchAgent(String(t), n)).data, [M()]);
41281
+ return w((await N().patchAgent(String(t), n)).data, [A()]);
41282
41282
  } catch (e) {
41283
- throw T(e, [A]);
41283
+ throw w(e, [O]);
41284
41284
  }
41285
41285
  },
41286
41286
  update: async ({ itemInstance: e, itemId: t }) => {
41287
- let n = T(e, [j(V), E()]);
41287
+ let n = w(e, [k(H), T()]);
41288
41288
  try {
41289
- return T((await I().updateAgent(String(t), n)).data, [M()]);
41289
+ return w((await N().updateAgent(String(t), n)).data, [A()]);
41290
41290
  } catch (e) {
41291
- throw T(e, [A]);
41291
+ throw w(e, [O]);
41292
41292
  }
41293
41293
  },
41294
41294
  delete: async ({ id: e }) => {
41295
41295
  try {
41296
- return T((await I().deleteAgent(String(e))).data, []);
41296
+ return w((await N().deleteAgent(String(e))).data, []);
41297
41297
  } catch (e) {
41298
- throw T(e, [A]);
41298
+ throw w(e, [O]);
41299
41299
  }
41300
41300
  },
41301
- getLookup: (e) => B({
41301
+ getLookup: (e) => V({
41302
41302
  ...e,
41303
41303
  fields: e.fields || ["id", "name"]
41304
41304
  }),
41305
41305
  getAgentHistory: async (e) => {
41306
- let { parentId: t, joinedAt: n, page: r, size: i, sort: a } = T(e, [
41307
- O(w()),
41308
- O({ sort: "-joined_at" }),
41309
- N("search")
41306
+ let { parentId: t, joinedAt: n, page: r, size: i, sort: a } = w(e, [
41307
+ D(C()),
41308
+ D({ sort: "-joined_at" }),
41309
+ j("search")
41310
41310
  ]), o = d(n), s = (e) => e.map((e) => ({
41311
41311
  ...e,
41312
41312
  from: c(+e.joinedAt, p.DATETIME),
@@ -41314,56 +41314,56 @@ var qe = (e = a) => ({
41314
41314
  duration: l(e.duration)
41315
41315
  }));
41316
41316
  try {
41317
- let { items: e, next: n } = T((await I().searchAgentStateHistory({
41317
+ let { items: e, next: n } = w((await N().searchAgentStateHistory({
41318
41318
  page: r,
41319
41319
  size: i,
41320
41320
  agent_id: t ? [t] : void 0,
41321
41321
  sort: a,
41322
41322
  "joined_at.from": o?.from == null ? void 0 : String(o.from),
41323
41323
  "joined_at.to": o?.to == null ? void 0 : String(o.to)
41324
- })).data, [M(), O(C())]);
41324
+ })).data, [A(), D(S())]);
41325
41325
  return {
41326
- items: T(e, [s]),
41326
+ items: w(e, [s]),
41327
41327
  next: n
41328
41328
  };
41329
41329
  } catch (e) {
41330
- throw T(e, [A]);
41330
+ throw w(e, [O]);
41331
41331
  }
41332
41332
  },
41333
- getRegularAgentsOptions: async (e) => B({
41333
+ getRegularAgentsOptions: async (e) => V({
41334
41334
  ...e,
41335
41335
  isNotSupervisor: !0
41336
41336
  }),
41337
41337
  getAgentUsersOptions: async (e) => {
41338
- let { page: t, size: n, search: r } = T(e, [O(w()), N("search")]);
41338
+ let { page: t, size: n, search: r } = w(e, [D(C()), j("search")]);
41339
41339
  try {
41340
- let { items: e, next: i } = T((await I().searchLookupUsersAgentNotExists({
41340
+ let { items: e, next: i } = w((await N().searchLookupUsersAgentNotExists({
41341
41341
  page: t,
41342
41342
  size: n,
41343
41343
  q: r
41344
- })).data, [M(), O(C())]);
41344
+ })).data, [A(), D(S())]);
41345
41345
  return {
41346
41346
  items: e,
41347
41347
  next: i
41348
41348
  };
41349
41349
  } catch (e) {
41350
- throw T(e, [A]);
41350
+ throw w(e, [O]);
41351
41351
  }
41352
41352
  },
41353
- getSupervisorOptions: async (e) => B({
41353
+ getSupervisorOptions: async (e) => V({
41354
41354
  ...e,
41355
41355
  isSupervisor: !0
41356
41356
  }),
41357
41357
  getUsersStatus: async (e) => {
41358
- let t = T(e, [
41359
- E(),
41360
- O(w()),
41361
- N("search"),
41358
+ let t = w(e, [
41359
+ T(),
41360
+ D(C()),
41361
+ j("search"),
41362
41362
  (e) => ({
41363
41363
  ...e,
41364
41364
  q: e.search
41365
41365
  }),
41366
- j([
41366
+ k([
41367
41367
  "page",
41368
41368
  "size",
41369
41369
  "q",
@@ -41373,13 +41373,13 @@ var qe = (e = a) => ({
41373
41373
  ])
41374
41374
  ]);
41375
41375
  try {
41376
- let { items: e, next: n } = T((await I().searchUserStatus(t)).data, [M(), O(C())]);
41376
+ let { items: e, next: n } = w((await N().searchUserStatus(t)).data, [A(), D(S())]);
41377
41377
  return {
41378
41378
  items: e,
41379
41379
  next: n
41380
41380
  };
41381
41381
  } catch (e) {
41382
- throw T(e, [A]);
41382
+ throw w(e, [O]);
41383
41383
  }
41384
41384
  },
41385
41385
  getPauseCausesForAgent: async ({ agentId: e }) => {
@@ -41389,31 +41389,31 @@ var qe = (e = a) => ({
41389
41389
  limitMin: 0
41390
41390
  };
41391
41391
  try {
41392
- let { items: n, next: r } = T((await I().searchPauseCauseForAgent(String(e))).data, [M(), O(C())]);
41392
+ let { items: n, next: r } = w((await N().searchPauseCauseForAgent(String(e))).data, [A(), D(S())]);
41393
41393
  return {
41394
- items: T(n, [ie(t)]),
41394
+ items: w(n, [oe(t)]),
41395
41395
  next: r
41396
41396
  };
41397
41397
  } catch (e) {
41398
- throw T(e, [A]);
41398
+ throw w(e, [O]);
41399
41399
  }
41400
41400
  },
41401
41401
  getAgentQueues: async (e) => {
41402
- let { parentId: t, page: n, size: r, search: i, sort: a, fields: o } = T(e, [O(w()), N("search")]);
41402
+ let { parentId: t, page: n, size: r, search: i, sort: a, fields: o } = w(e, [D(C()), j("search")]);
41403
41403
  try {
41404
- let { items: e, next: s } = T((await I().searchAgentInQueue(String(t), {
41404
+ let { items: e, next: s } = w((await N().searchAgentInQueue(String(t), {
41405
41405
  page: n,
41406
41406
  size: r,
41407
41407
  q: i,
41408
41408
  sort: a,
41409
41409
  fields: o
41410
- })).data, [M(), O(C())]);
41410
+ })).data, [A(), D(S())]);
41411
41411
  return {
41412
41412
  items: e,
41413
41413
  next: s
41414
41414
  };
41415
41415
  } catch (e) {
41416
- throw T(e, [A]);
41416
+ throw w(e, [O]);
41417
41417
  }
41418
41418
  },
41419
41419
  getStatusStatistics: async (e) => {
@@ -41443,7 +41443,7 @@ var qe = (e = a) => ({
41443
41443
  return {
41444
41444
  ...t,
41445
41445
  _isSelected: !1,
41446
- statusDuration: z(t.statusDuration),
41446
+ statusDuration: B(t.statusDuration),
41447
41447
  utilization: `${t.utilization.toFixed(2)}%`,
41448
41448
  occupancy: `${t.occupancy.toFixed(2)}%`,
41449
41449
  online: l(t.online),
@@ -41452,9 +41452,9 @@ var qe = (e = a) => ({
41452
41452
  callTime: l(t.callTime),
41453
41453
  chatTime: l(t.chatTime)
41454
41454
  };
41455
- }), { page: i, size: a, search: o, sort: s, ids: c, fields: u, from: d, to: f, queue: p, team: m, skill: h, supervisor: g, auditor: _, region: ee, utilizationFrom: v, utilizationProgress: y, agentStatus: b, callNow: x } = T(e, [O(t), O(w())]);
41455
+ }), { page: i, size: a, search: o, sort: s, ids: c, fields: u, from: d, to: f, queue: p, team: m, skill: h, supervisor: g, auditor: _, region: ee, utilizationFrom: te, utilizationProgress: v, agentStatus: y, callNow: b } = w(e, [D(t), D(C())]);
41456
41456
  try {
41457
- let { items: e, next: t } = T((await I().searchAgentStatusStatistic({
41457
+ let { items: e, next: t } = w((await N().searchAgentStatusStatistic({
41458
41458
  page: i,
41459
41459
  size: a,
41460
41460
  q: o,
@@ -41463,79 +41463,79 @@ var qe = (e = a) => ({
41463
41463
  agent_id: c,
41464
41464
  "time.from": d == null ? void 0 : String(d),
41465
41465
  "time.to": f == null ? void 0 : String(f),
41466
- status: b,
41466
+ status: y,
41467
41467
  queue_id: p,
41468
41468
  team_id: m,
41469
- "utilization.from": v,
41470
- "utilization.to": y,
41471
- has_call: x,
41469
+ "utilization.from": te,
41470
+ "utilization.to": v,
41471
+ has_call: b,
41472
41472
  skill_id: h,
41473
41473
  region_id: ee,
41474
41474
  supervisor_id: g,
41475
41475
  auditor_id: _
41476
- })).data, [M(), O(C())]);
41476
+ })).data, [A(), D(S())]);
41477
41477
  return {
41478
- items: T(e, [r]),
41478
+ items: w(e, [r]),
41479
41479
  next: t
41480
41480
  };
41481
41481
  } catch (e) {
41482
- throw T(e, [A]);
41482
+ throw w(e, [O]);
41483
41483
  }
41484
41484
  },
41485
41485
  getStatusStatisticsItem: async ({ agentId: e, from: t, to: n }) => {
41486
41486
  try {
41487
- return T((await I().searchAgentStatusStatisticItem(String(e), {
41487
+ return w((await N().searchAgentStatusStatisticItem(String(e), {
41488
41488
  "time.from": t,
41489
41489
  "time.to": n
41490
- })).data, [M()]);
41490
+ })).data, [A()]);
41491
41491
  } catch (e) {
41492
- throw T(e, [A]);
41492
+ throw w(e, [O]);
41493
41493
  }
41494
41494
  },
41495
- ...F(Ye)
41495
+ ...M(Ye)
41496
41496
  };
41497
- ({ ...F("/calendars") }), x(ce), x(Ie), x(Ie), x(Re), x(Le), x(ue), x(le), { ...F("/cases") }, Object.freeze({
41497
+ ({ ...M("/calendars") }), x(fe), x(I), x(I), x(Ve), x(Be), x(me), x(pe), { ...M("/cases") }, Object.freeze({
41498
41498
  VIBER: "viber",
41499
41499
  WHATSAPP: "whatsapp",
41500
41500
  TELEGRAM: "telegram",
41501
41501
  MESSENGER: "messenger",
41502
41502
  EMAIL: "email"
41503
- }), i(), { ...F("/storage/cognitive_profiles") }, [...x(Be)], x(Ce), { ...F("/contacts/groups") }, { ...F("/devices") }, x(ye), x(be), x(L), x(Se), i(), { ...F("/storage/import_templates") }, i(), { ...F("/call_center/list") }, i(), localStorage.getItem("access-token"), r.create({ headers: { "content-type": "multipart/form-data" } });
41503
+ }), i(), { ...M("/storage/cognitive_profiles") }, [...x(Ue)], x(De), { ...M("/contacts/groups") }, { ...M("/devices") }, x(Ce), x(we), x(P), x(Ee), i(), { ...M("/storage/import_templates") }, i(), { ...M("/call_center/list") }, i(), localStorage.getItem("access-token"), r.create({ headers: { "content-type": "multipart/form-data" } });
41504
41504
  var $e = {
41505
41505
  patch: async (e) => {
41506
- let t = T(e, [E()]);
41506
+ let t = w(e, [T()]);
41507
41507
  try {
41508
- return T((await qe().messagesServiceBroadcastMessage(t)).data, [M()]);
41508
+ return w((await R().messagesServiceBroadcastMessage(t)).data, [A()]);
41509
41509
  } catch (e) {
41510
- throw T(e, [A]);
41510
+ throw w(e, [O]);
41511
41511
  }
41512
41512
  },
41513
41513
  getChatHistory: async ({ chatId: e, ...t }) => {
41514
- let n = T(t, [O(w()), E()]);
41514
+ let n = w(t, [D(C()), T()]);
41515
41515
  try {
41516
- let { messages: t, peers: r, next: i } = T((await qe().catalogGetHistory(String(e), n)).data, [M(), O(C())]);
41516
+ let { messages: t, peers: r, next: i } = w((await R().catalogGetHistory(String(e), n)).data, [A(), D(S())]);
41517
41517
  return {
41518
41518
  messages: t,
41519
41519
  peers: r,
41520
41520
  next: i
41521
41521
  };
41522
41522
  } catch (e) {
41523
- throw T(e, [A]);
41523
+ throw w(e, [O]);
41524
41524
  }
41525
41525
  }
41526
41526
  };
41527
- x(je), { ...F("/oauth/apps") };
41527
+ x(Fe), { ...M("/oauth/apps") };
41528
41528
  //#endregion
41529
41529
  //#region packages/api-services/src/api/clients/object/object.ts
41530
41530
  var et = i(), tt = async (e) => {
41531
- let { page: t, size: n, fields: r, sort: i, id: a, q: o } = T(e, [
41532
- O(w()),
41533
- N("search"),
41531
+ let { page: t, size: n, fields: r, sort: i, id: a, q: o } = w(e, [
41532
+ D(C()),
41533
+ j("search"),
41534
41534
  (e) => ({
41535
41535
  ...e,
41536
41536
  q: e.search
41537
41537
  }),
41538
- j([
41538
+ k([
41539
41539
  "page",
41540
41540
  "size",
41541
41541
  "q",
@@ -41543,36 +41543,36 @@ var et = i(), tt = async (e) => {
41543
41543
  "fields",
41544
41544
  "id"
41545
41545
  ]),
41546
- E()
41546
+ T()
41547
41547
  ]);
41548
41548
  try {
41549
- let { data: e, next: s } = T((await Je().searchTypes({
41549
+ let { data: e, next: s } = w((await z().searchTypes({
41550
41550
  q: o,
41551
41551
  id: a,
41552
41552
  size: n,
41553
41553
  page: t,
41554
41554
  sort: i,
41555
41555
  fields: r
41556
- })).data, [O(C())]);
41556
+ })).data, [D(S())]);
41557
41557
  return {
41558
- items: T(e, [M(), (e) => (e || []).map((e) => ({
41558
+ items: w(e, [A(), (e) => (e || []).map((e) => ({
41559
41559
  ...e,
41560
41560
  id: e.repo
41561
41561
  }))]),
41562
41562
  next: s
41563
41563
  };
41564
41564
  } catch (e) {
41565
- throw T(e, [A]);
41565
+ throw w(e, [O]);
41566
41566
  }
41567
41567
  }, nt = async ({ ...e }) => {
41568
- let t = T(e, [
41569
- O(w()),
41568
+ let t = w(e, [
41569
+ D(C()),
41570
41570
  (e) => ({
41571
41571
  ...e,
41572
41572
  q: e.search,
41573
41573
  extensions: !1
41574
41574
  }),
41575
- j([
41575
+ k([
41576
41576
  "page",
41577
41577
  "size",
41578
41578
  "q",
@@ -41581,25 +41581,25 @@ var et = i(), tt = async (e) => {
41581
41581
  "fields",
41582
41582
  "id"
41583
41583
  ]),
41584
- E(),
41585
- D("types")
41584
+ T(),
41585
+ E("types")
41586
41586
  ]);
41587
41587
  try {
41588
- let { data: e, next: n } = T((await et.get(t)).data, [M(), O(C())]);
41588
+ let { data: e, next: n } = w((await et.get(t)).data, [A(), D(S())]);
41589
41589
  return {
41590
41590
  items: e ?? [],
41591
41591
  next: n
41592
41592
  };
41593
41593
  } catch (e) {
41594
- throw T(e, [A]);
41594
+ throw w(e, [O]);
41595
41595
  }
41596
41596
  }, rt = {
41597
41597
  getList: tt,
41598
41598
  get: async ({ itemId: e }) => {
41599
41599
  try {
41600
- return T((await Je().locate(String(e))).data, [M()]);
41600
+ return w((await z().locate(String(e))).data, [A()]);
41601
41601
  } catch (e) {
41602
- throw T(e, [A]);
41602
+ throw w(e, [O]);
41603
41603
  }
41604
41604
  },
41605
41605
  getLookup: async (e) => nt({
@@ -41607,10 +41607,10 @@ var et = i(), tt = async (e) => {
41607
41607
  fields: e.fields || ["id", "name"]
41608
41608
  })
41609
41609
  };
41610
- ({ ...F("/call_center/resource_group") }), { ...F("/call_center/resources") }, x(R), x(Ne);
41610
+ ({ ...M("/call_center/resource_group") }), { ...M("/call_center/resources") }, x(F), x(Le);
41611
41611
  //#endregion
41612
41612
  //#region packages/api-services/src/validations/_shared/clearableNumber.validations.ts
41613
- var H = y.number().nullable().optional(), U = (e = 1) => y.union([y.string().min(e), y.number().min(e)]), W = (e) => ({ params: { i18nKey: e } }), G = (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, K = y.object({
41613
+ var U = y.number().nullable().optional(), W = (e = 1) => y.union([y.string().min(e), y.number().min(e)]), G = (e) => ({ params: { i18nKey: e } }), it = (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, K = y.object({
41614
41614
  id: y.string().optional(),
41615
41615
  name: y.string().optional()
41616
41616
  }), q = y.object({
@@ -41619,13 +41619,13 @@ var H = y.number().nullable().optional(), U = (e = 1) => y.union([y.string().min
41619
41619
  }), J = y.object({
41620
41620
  id: y.union([y.string(), y.number()]).optional(),
41621
41621
  name: y.string().optional()
41622
- }), Y = J.refine((e) => G(e), W("required")), it = /^\+?[A-Za-z0-9\-_.!~*'()]+$/, at = y.string().min(1).refine((e) => e === "" || it.test(e), W("phoneNumberSymbolsValidator")), X = y.object({
41622
+ }), Y = J.refine((e) => it(e), G("required")), at = /^\+?[A-Za-z0-9\-_.!~*'()]+$/, ot = y.string().min(1).refine((e) => e === "" || at.test(e), G("phoneNumberSymbolsValidator")), X = y.object({
41623
41623
  key: y.string(),
41624
41624
  value: y.string()
41625
41625
  });
41626
41626
  y.object({
41627
41627
  name: y.string().min(1),
41628
- repo: y.string().min(1).refine((e) => /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e), W("latinWithNumber")),
41628
+ repo: y.string().min(1).refine((e) => /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(e), G("latinWithNumber")),
41629
41629
  about: y.string().optional(),
41630
41630
  administered: y.boolean().optional(),
41631
41631
  primary: y.string().optional(),
@@ -41648,7 +41648,7 @@ y.object({
41648
41648
  });
41649
41649
  //#endregion
41650
41650
  //#region packages/api-services/src/validations/calendar/calendar.validations.ts
41651
- var ot = "hourRange", st = "timerangeStartLessThanEnd", Z = "timerangeNotIntersect", Q = y.number().int().refine((e) => e >= 0 && e < 1440, W(ot)), ct = (e) => {
41651
+ var st = "hourRange", ct = "timerangeStartLessThanEnd", lt = "timerangeNotIntersect", Z = y.number().int().refine((e) => e >= 0 && e < 1440, G(st)), ut = (e) => {
41652
41652
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map();
41653
41653
  return e.forEach((e, t) => {
41654
41654
  let r = n.get(e.day) ?? [];
@@ -41666,78 +41666,78 @@ var ot = "hourRange", st = "timerangeStartLessThanEnd", Z = "timerangeNotInterse
41666
41666
  });
41667
41667
  });
41668
41668
  }), t;
41669
- }, lt = y.object({
41669
+ }, dt = y.object({
41670
41670
  day: y.number().int().min(0).max(6),
41671
41671
  disabled: y.boolean().default(!1),
41672
- start: Q,
41673
- end: Q
41672
+ start: Z,
41673
+ end: Z
41674
41674
  }).superRefine((e, t) => {
41675
41675
  e.start >= e.end && (t.addIssue({
41676
41676
  code: "custom",
41677
41677
  path: ["start"],
41678
- ...W(st)
41678
+ ...G(ct)
41679
41679
  }), t.addIssue({
41680
41680
  code: "custom",
41681
41681
  path: ["end"],
41682
- ...W(st)
41682
+ ...G(ct)
41683
41683
  }));
41684
- }), ut = y.array(lt).superRefine((e, t) => {
41685
- ct(e).forEach((e) => {
41684
+ }), ft = y.array(dt).superRefine((e, t) => {
41685
+ ut(e).forEach((e) => {
41686
41686
  t.addIssue({
41687
41687
  code: "custom",
41688
41688
  path: [e, "start"],
41689
- ...W(Z)
41689
+ ...G(lt)
41690
41690
  }), t.addIssue({
41691
41691
  code: "custom",
41692
41692
  path: [e, "end"],
41693
- ...W(Z)
41693
+ ...G(lt)
41694
41694
  });
41695
41695
  });
41696
- }), dt = y.object({
41696
+ }), pt = y.object({
41697
41697
  name: y.string().min(1),
41698
41698
  date: y.union([y.number(), y.string()]).optional(),
41699
41699
  repeat: y.boolean().optional(),
41700
41700
  working: y.boolean().optional(),
41701
- workStart: Q.nullish(),
41702
- workStop: Q.nullish()
41703
- }), ft = () => Array.from({ length: 7 }, (e, t) => ({
41701
+ workStart: Z.nullish(),
41702
+ workStop: Z.nullish()
41703
+ }), mt = () => Array.from({ length: 7 }, (e, t) => ({
41704
41704
  day: t,
41705
41705
  disabled: !1,
41706
41706
  start: 540,
41707
41707
  end: 1200
41708
- })), pt = () => Array.from({ length: 7 }, (e, t) => ({
41708
+ })), ht = () => Array.from({ length: 7 }, (e, t) => ({
41709
41709
  day: t,
41710
41710
  disabled: !0,
41711
41711
  start: 540,
41712
41712
  end: 1200
41713
- })), mt = () => Date.now();
41713
+ })), gt = () => Date.now();
41714
41714
  y.object({
41715
41715
  name: y.string().min(1),
41716
41716
  description: y.string().optional().default(""),
41717
41717
  timezone: q,
41718
- startAt: y.any().optional().default(mt),
41719
- endAt: y.any().optional().default(mt),
41718
+ startAt: y.any().optional().default(gt),
41719
+ endAt: y.any().optional().default(gt),
41720
41720
  expires: y.boolean().optional().default(!1),
41721
- accepts: ut.default(ft),
41722
- specials: ut.default(pt),
41723
- excepts: y.array(dt).optional().default([])
41721
+ accepts: ft.default(mt),
41722
+ specials: ft.default(ht),
41723
+ excepts: y.array(pt).optional().default([])
41724
41724
  });
41725
41725
  //#endregion
41726
41726
  //#region packages/api-services/src/validations/case/case.validations.ts
41727
- var $ = () => K.passthrough().default({});
41727
+ var Q = () => K.passthrough().default({});
41728
41728
  y.object({
41729
41729
  subject: y.string().default(""),
41730
- source: $(),
41731
- priority: $(),
41732
- reporter: $(),
41733
- service: $(),
41730
+ source: Q(),
41731
+ priority: Q(),
41732
+ reporter: Q(),
41733
+ service: Q(),
41734
41734
  statusCondition: y.object({
41735
41735
  id: y.union([y.string(), y.number()]).optional(),
41736
41736
  name: y.string().optional(),
41737
41737
  final: y.boolean().optional(),
41738
41738
  initial: y.boolean().optional()
41739
41739
  }).passthrough().default({}),
41740
- closeReason: $(),
41740
+ closeReason: K.passthrough().nullish(),
41741
41741
  closeResult: y.string().default("")
41742
41742
  }), y.object({
41743
41743
  reason: y.object({ id: y.union([y.string(), y.number()]) }).passthrough().nullable(),
@@ -41746,11 +41746,11 @@ y.object({
41746
41746
  e.reason?.id || t.addIssue({
41747
41747
  code: "custom",
41748
41748
  path: ["reason"],
41749
- ...W("required")
41749
+ ...G("required")
41750
41750
  }), e.result || t.addIssue({
41751
41751
  code: "custom",
41752
41752
  path: ["result"],
41753
- ...W("required")
41753
+ ...G("required")
41754
41754
  });
41755
41755
  }), y.object({
41756
41756
  name: y.string().min(1),
@@ -41768,12 +41768,25 @@ y.object({
41768
41768
  e.type || t.addIssue({
41769
41769
  code: "custom",
41770
41770
  path: ["type"],
41771
- ...W("required")
41771
+ ...G("required")
41772
41772
  }), e.type?.value === "csv" && !e.separator && t.addIssue({
41773
41773
  code: "custom",
41774
41774
  path: ["separator"],
41775
- ...W("required")
41775
+ ...G("required")
41776
41776
  });
41777
+ });
41778
+ //#endregion
41779
+ //#region packages/api-services/src/validations/caseLink/caseLink.validations.ts
41780
+ var _t = (e) => {
41781
+ try {
41782
+ return Object.values(m).includes(new URL(e).protocol);
41783
+ } catch {
41784
+ return !1;
41785
+ }
41786
+ };
41787
+ y.object({
41788
+ url: y.string().min(1).refine((e) => !e || _t(e), G("url")),
41789
+ name: y.string().optional()
41777
41790
  }), y.object({
41778
41791
  name: y.string().min(1),
41779
41792
  color: y.string().min(1),
@@ -41824,19 +41837,19 @@ y.object({
41824
41837
  });
41825
41838
  //#endregion
41826
41839
  //#region packages/api-services/src/validations/contactGroup/contactGroup.validations.ts
41827
- var ht = {
41840
+ var vt = {
41828
41841
  name: y.string().min(1),
41829
41842
  description: y.string().optional(),
41830
41843
  enabled: y.boolean().default(!0),
41831
41844
  type: y.string().optional()
41832
- }, gt = y.object({
41833
- ...ht,
41845
+ }, yt = y.object({
41846
+ ...vt,
41834
41847
  defaultGroup: K.optional()
41835
- }), _t = y.object({
41836
- ...ht,
41848
+ }), bt = y.object({
41849
+ ...vt,
41837
41850
  defaultGroup: q
41838
41851
  });
41839
- y.discriminatedUnion("type", [gt.extend({ type: y.literal(S.Static) }), _t.extend({ type: y.literal(S.Dynamic) })]), y.object({
41852
+ y.discriminatedUnion("type", [yt.extend({ type: y.literal(ne.Static) }), bt.extend({ type: y.literal(ne.Dynamic) })]), y.object({
41840
41853
  expression: y.string().min(1),
41841
41854
  group: q,
41842
41855
  assignee: K.nullish()
@@ -41847,30 +41860,30 @@ y.discriminatedUnion("type", [gt.extend({ type: y.literal(S.Static) }), _t.exten
41847
41860
  });
41848
41861
  //#endregion
41849
41862
  //#region packages/api-services/src/validations/device/device.validations.ts
41850
- var vt = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/, yt = /^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/, bt = y.string().optional().default("").refine((e) => e ? e === "127.0.0.1" || e === "0.0.0.0" ? !1 : vt.test(e) : !0, W("ipValidator")), xt = y.string().optional().default("").refine((e) => !e || yt.test(e), W("macValidator"));
41863
+ var xt = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/, St = /^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/, Ct = y.string().optional().default("").refine((e) => e ? e === "127.0.0.1" || e === "0.0.0.0" ? !1 : xt.test(e) : !0, G("ipValidator")), wt = y.string().optional().default("").refine((e) => !e || St.test(e), G("macValidator"));
41851
41864
  y.object({
41852
41865
  id: y.string().optional(),
41853
41866
  name: y.string().min(1).default(""),
41854
41867
  account: y.string().min(1).default(""),
41855
41868
  password: y.string().optional().default(""),
41856
41869
  user: J.optional().default({}),
41857
- ip: bt,
41870
+ ip: Ct,
41858
41871
  brand: y.string().optional().default(""),
41859
41872
  model: y.string().optional().default(""),
41860
- mac: xt,
41873
+ mac: wt,
41861
41874
  hotdesk: y.boolean().optional(),
41862
41875
  hotdesks: y.array(y.string()).optional()
41863
41876
  }).superRefine((e, t) => {
41864
41877
  !e.id && !e.password && t.addIssue({
41865
41878
  code: "custom",
41866
41879
  path: ["password"],
41867
- ...W("required")
41880
+ ...G("required")
41868
41881
  });
41869
41882
  let n = e.hotdesks;
41870
41883
  e.hotdesk && n?.some((e) => !/\w+/.test(e)) && t.addIssue({
41871
41884
  code: "custom",
41872
41885
  path: ["hotdesks"],
41873
- ...W("required")
41886
+ ...G("required")
41874
41887
  });
41875
41888
  }), y.object({ certificate: y.string().min(1).default("") }), y.object({
41876
41889
  name: y.string().min(1),
@@ -41891,25 +41904,25 @@ y.object({
41891
41904
  });
41892
41905
  //#endregion
41893
41906
  //#region packages/api-services/src/validations/queue/queue.rules.ts
41894
- var St = {
41907
+ var Tt = {
41895
41908
  required: ["name"],
41896
41909
  minValue: {
41897
41910
  priority: 0,
41898
41911
  "payload.minOnlineAgents": 0
41899
41912
  }
41900
- }, Ct = {
41901
- [m.OFFLINE_QUEUE]: {
41913
+ }, Et = {
41914
+ [h.OFFLINE_QUEUE]: {
41902
41915
  required: ["strategy", "calendar"],
41903
41916
  minValue: { "payload.originateTimeout": 0 }
41904
41917
  },
41905
- [m.INBOUND_QUEUE]: {
41918
+ [h.INBOUND_QUEUE]: {
41906
41919
  required: ["payload.timeBaseScore"],
41907
41920
  minValue: {
41908
41921
  "payload.maxWaitTime": 0,
41909
41922
  "payload.discardAbandonedAfter": 0
41910
41923
  }
41911
41924
  },
41912
- [m.OUTBOUND_IVR_QUEUE]: {
41925
+ [h.OUTBOUND_IVR_QUEUE]: {
41913
41926
  required: [
41914
41927
  "strategy",
41915
41928
  "calendar",
@@ -41922,7 +41935,7 @@ var St = {
41922
41935
  "payload.minDuration": 0
41923
41936
  }
41924
41937
  },
41925
- [m.PREVIEW_DIALER]: {
41938
+ [h.PREVIEW_DIALER]: {
41926
41939
  required: [
41927
41940
  "strategy",
41928
41941
  "calendar",
@@ -41933,7 +41946,7 @@ var St = {
41933
41946
  "payload.waitBetweenRetries": 0
41934
41947
  }
41935
41948
  },
41936
- [m.PROGRESSIVE_DIALER]: {
41949
+ [h.PROGRESSIVE_DIALER]: {
41937
41950
  required: [
41938
41951
  "strategy",
41939
41952
  "calendar",
@@ -41946,7 +41959,7 @@ var St = {
41946
41959
  "payload.progressiveCount": 1
41947
41960
  }
41948
41961
  },
41949
- [m.PREDICTIVE_DIALER]: {
41962
+ [h.PREDICTIVE_DIALER]: {
41950
41963
  required: [
41951
41964
  "strategy",
41952
41965
  "calendar",
@@ -41962,25 +41975,25 @@ var St = {
41962
41975
  "payload.maxAgentLine": 1
41963
41976
  }
41964
41977
  },
41965
- [m.CHAT_INBOUND_QUEUE]: {
41978
+ [h.CHAT_INBOUND_QUEUE]: {
41966
41979
  required: ["strategy", "payload.timeBaseScore"],
41967
41980
  minValue: {
41968
41981
  "payload.maxWaitTime": 0,
41969
41982
  "payload.discardAbandonedAfter": 0
41970
41983
  }
41971
41984
  },
41972
- [m.IM_CHAT_QUEUE]: {
41985
+ [h.IM_CHAT_QUEUE]: {
41973
41986
  required: ["strategy", "payload.timeBaseScore"],
41974
41987
  minValue: {
41975
41988
  "payload.maxWaitTime": 0,
41976
41989
  "payload.discardAbandonedAfter": 0
41977
41990
  }
41978
41991
  },
41979
- [m.INBOUND_JOB_QUEUE]: {
41992
+ [h.INBOUND_JOB_QUEUE]: {
41980
41993
  required: ["strategy", "calendar"],
41981
41994
  minValue: { "payload.waitBetweenRetries": 0 }
41982
41995
  },
41983
- [m.OUTBOUND_JOB_QUEUE]: {
41996
+ [h.OUTBOUND_JOB_QUEUE]: {
41984
41997
  required: [
41985
41998
  "strategy",
41986
41999
  "calendar",
@@ -41992,81 +42005,81 @@ var St = {
41992
42005
  "payload.minDuration": 0
41993
42006
  }
41994
42007
  }
41995
- }, wt = y.object({
42008
+ }, Dt = y.object({
41996
42009
  enabled: y.boolean().optional(),
41997
42010
  ai: y.boolean().optional(),
41998
42011
  positive: y.array(y.string()).optional(),
41999
42012
  playback: J.optional(),
42000
42013
  allowNotSure: y.boolean().optional(),
42001
42014
  silenceNotSure: y.boolean().optional(),
42002
- maxWordLength: H,
42003
- maxNumberOfWords: H,
42004
- betweenWordsSilence: H,
42005
- minWordLength: H,
42006
- totalAnalysisTime: H,
42007
- silenceThreshold: H,
42008
- afterGreetingSilence: H,
42009
- greeting: H,
42010
- initialSilence: H
42011
- }), Tt = y.object({
42012
- maxAttempts: H,
42013
- minAttempts: H,
42014
- originateTimeout: H,
42015
- waitBetweenRetries: H,
42015
+ maxWordLength: U,
42016
+ maxNumberOfWords: U,
42017
+ betweenWordsSilence: U,
42018
+ minWordLength: U,
42019
+ totalAnalysisTime: U,
42020
+ silenceThreshold: U,
42021
+ afterGreetingSilence: U,
42022
+ greeting: U,
42023
+ initialSilence: U
42024
+ }), Ot = y.object({
42025
+ maxAttempts: U,
42026
+ minAttempts: U,
42027
+ originateTimeout: U,
42028
+ waitBetweenRetries: U,
42016
42029
  waitBetweenRetriesDesc: y.boolean().optional(),
42017
- minDuration: H,
42018
- maxCalls: H,
42019
- progressiveCount: H,
42020
- dialingRate: H,
42030
+ minDuration: U,
42031
+ maxCalls: U,
42032
+ progressiveCount: U,
42033
+ dialingRate: U,
42021
42034
  resourceStrategy: y.string().optional(),
42022
42035
  strictCircuit: y.boolean().optional(),
42023
42036
  perNumbers: y.boolean().optional(),
42024
42037
  endless: y.boolean().optional(),
42025
42038
  retryAbandoned: y.boolean().optional(),
42026
- maxAgentLine: H,
42027
- maxAgentLose: H,
42028
- maxAbandonedRate: H,
42029
- targetAbandonedRate: H,
42030
- abandonRateAdjustment: H,
42031
- loadFactor: H,
42032
- playbackSilence: H,
42033
- statisticTime: H,
42039
+ maxAgentLine: U,
42040
+ maxAgentLose: U,
42041
+ maxAbandonedRate: U,
42042
+ targetAbandonedRate: U,
42043
+ abandonRateAdjustment: U,
42044
+ loadFactor: U,
42045
+ playbackSilence: U,
42046
+ statisticTime: U,
42034
42047
  timeBaseScore: y.string().optional(),
42035
- maxWaitTime: H,
42036
- maxWaitingSize: H,
42037
- discardAbandonedAfter: H,
42048
+ maxWaitTime: U,
42049
+ maxWaitingSize: U,
42050
+ discardAbandonedAfter: U,
42038
42051
  manualDistribution: y.boolean().optional(),
42039
- minOnlineAgents: H,
42040
- maxMemberLimit: H,
42052
+ minOnlineAgents: U,
42053
+ maxMemberLimit: U,
42041
42054
  ignoreCalendar: y.boolean().optional(),
42042
- stickyAgentSec: H,
42055
+ stickyAgentSec: U,
42043
42056
  stickyIgnoreStatus: y.boolean().optional(),
42044
- maxIdleAgent: H,
42045
- maxIdleClient: H,
42046
- maxIdleDialog: H,
42057
+ maxIdleAgent: U,
42058
+ maxIdleClient: U,
42059
+ maxIdleDialog: U,
42047
42060
  lastMessageTimeout: y.boolean().optional(),
42048
42061
  recordings: y.boolean().optional(),
42049
42062
  recordAll: y.boolean().optional(),
42050
42063
  allowGreetingAgent: y.boolean().optional(),
42051
42064
  autoAnswerTone: y.string().nullable().optional(),
42052
- amd: wt.optional()
42053
- }), Et = y.object({
42065
+ amd: Dt.optional()
42066
+ }), kt = y.object({
42054
42067
  enabled: y.boolean().optional(),
42055
42068
  isTimeoutRetry: y.boolean().optional(),
42056
- prolongationTimeSec: H,
42057
- repeatsNumber: H
42058
- }), Dt = y.object({
42069
+ prolongationTimeSec: U,
42070
+ repeatsNumber: U
42071
+ }), At = y.object({
42059
42072
  enabled: y.boolean().optional(),
42060
42073
  formSchema: J.optional(),
42061
- sec: H,
42062
- renewalSec: H,
42063
- prolongationOptions: Et.prefault({})
42064
- }), Ot = y.object({
42074
+ sec: U,
42075
+ renewalSec: U,
42076
+ prolongationOptions: kt.prefault({})
42077
+ }), jt = y.object({
42065
42078
  name: y.string().min(1),
42066
42079
  description: y.string().optional(),
42067
42080
  type: y.number(),
42068
42081
  enabled: y.boolean().optional(),
42069
- priority: H,
42082
+ priority: U,
42070
42083
  tags: y.array(y.object({ name: y.string() })).optional(),
42071
42084
  calendar: J.optional(),
42072
42085
  team: J.optional(),
@@ -42079,22 +42092,22 @@ var St = {
42079
42092
  formSchema: J.optional(),
42080
42093
  strategy: y.string().optional(),
42081
42094
  stickyAgent: y.boolean().optional(),
42082
- taskProcessing: Dt.optional(),
42083
- payload: Tt.optional(),
42095
+ taskProcessing: At.optional(),
42096
+ payload: Ot.optional(),
42084
42097
  variables: y.array(X).optional()
42085
42098
  }).superRefine((e, t) => {
42086
- let n = [St, Ct[Number(e.type)] ?? {}];
42099
+ let n = [Tt, Et[Number(e.type)] ?? {}];
42087
42100
  for (let r of n) {
42088
42101
  for (let n of r.required ?? []) {
42089
- let r = g(e, n);
42090
- G(r) || t.addIssue({
42102
+ let r = _(e, n);
42103
+ it(r) || t.addIssue({
42091
42104
  code: "custom",
42092
- path: _(r) ? [...n.split("."), "id"] : n.split("."),
42093
- ...W("required")
42105
+ path: ee(r) ? [...n.split("."), "id"] : n.split("."),
42106
+ ...G("required")
42094
42107
  });
42095
42108
  }
42096
42109
  for (let [n, i] of Object.entries(r.minValue ?? {})) {
42097
- let r = g(e, n);
42110
+ let r = _(e, n);
42098
42111
  r == null || r === "" || Number(r) < i && t.addIssue({
42099
42112
  code: "too_small",
42100
42113
  origin: "number",
@@ -42105,16 +42118,16 @@ var St = {
42105
42118
  });
42106
42119
  }
42107
42120
  }
42108
- }), kt = y.object({
42121
+ }), Mt = y.object({
42109
42122
  bucket: Y,
42110
42123
  priority: y.number().min(0).default(0),
42111
42124
  disabled: y.boolean().optional()
42112
- }), At = y.object({
42125
+ }), Nt = y.object({
42113
42126
  event: y.string().min(1),
42114
42127
  schema: Y,
42115
42128
  properties: y.array(y.string()).optional(),
42116
42129
  enabled: y.boolean().default(!0)
42117
- }), jt = y.object({
42130
+ }), Pt = y.object({
42118
42131
  destination: y.string().min(1),
42119
42132
  type: Y,
42120
42133
  dtmf: y.string().regex(/^[\d|w|W]*$/).optional(),
@@ -42123,12 +42136,12 @@ var St = {
42123
42136
  resource: J.optional(),
42124
42137
  description: y.string().optional()
42125
42138
  });
42126
- jt.extend({ destination: at });
42139
+ Pt.extend({ destination: ot });
42127
42140
  //#endregion
42128
42141
  //#region packages/api-services/src/validations/queueMember/queueMember.validations.ts
42129
- var Mt = y.object({
42142
+ var Ft = y.object({
42130
42143
  name: y.string().min(1),
42131
- communications: y.array(jt).min(1),
42144
+ communications: y.array(Pt).min(1),
42132
42145
  priority: y.number().optional().default(0),
42133
42146
  bucket: J.optional(),
42134
42147
  timezone: J.optional(),
@@ -42137,10 +42150,10 @@ var Mt = y.object({
42137
42150
  minOfferingAt: y.union([y.string(), y.number()]).optional(),
42138
42151
  stopCause: y.string().optional(),
42139
42152
  variables: y.array(X).optional()
42140
- }), Nt = y.object({
42153
+ }), It = y.object({
42141
42154
  resourceGroup: Y,
42142
42155
  communication: J.optional()
42143
- }), Pt = y.object({
42156
+ }), Lt = y.object({
42144
42157
  skill: Y,
42145
42158
  lvl: y.number().min(0).max(1e3).default(0),
42146
42159
  minCapacity: y.number().min(0).max(100).optional().default(0),
@@ -42157,19 +42170,19 @@ var Mt = y.object({
42157
42170
  path: ["maxCapacity"],
42158
42171
  message: "Value must be greater than or equal to the minimum capacity"
42159
42172
  }));
42160
- }), Ft = 6e4;
42173
+ }), Rt = 6e4;
42161
42174
  y.object({
42162
42175
  name: y.string().min(1),
42163
42176
  description: y.string().optional(),
42164
42177
  calendar: q,
42165
- reactionTime: U(),
42166
- resolutionTime: U(),
42178
+ reactionTime: W(),
42179
+ resolutionTime: W(),
42167
42180
  validFrom: y.union([y.string(), y.number()]).nullish(),
42168
42181
  validTo: y.union([y.string(), y.number()]).nullish()
42169
42182
  }).superRefine((e, t) => {
42170
42183
  if (!e.validFrom || !e.validTo) return;
42171
42184
  let n = Number(e.validFrom), r = Number(e.validTo);
42172
- Number.isNaN(n) || Number.isNaN(r) || n > r - Ft && t.addIssue({
42185
+ Number.isNaN(n) || Number.isNaN(r) || n > r - Rt && t.addIssue({
42173
42186
  code: "too_big",
42174
42187
  origin: "date",
42175
42188
  maximum: r,
@@ -42180,18 +42193,18 @@ y.object({
42180
42193
  }), y.object({
42181
42194
  name: y.string().min(1),
42182
42195
  priorities: y.array(q).min(1),
42183
- reactionTime: U(),
42184
- resolutionTime: U()
42196
+ reactionTime: W(),
42197
+ resolutionTime: W()
42185
42198
  }), y.object({ fields: y.array(y.any()).optional() });
42186
42199
  //#endregion
42187
42200
  //#region packages/api-services/src/validations/user/user.validations.ts
42188
- var It = /^[0-9]*$/;
42201
+ var zt = /^[0-9]*$/;
42189
42202
  y.object({
42190
42203
  id: y.string().optional(),
42191
42204
  name: y.string().min(1).default(""),
42192
42205
  username: y.string().min(1).default(""),
42193
42206
  password: y.string().optional().default(""),
42194
- extension: y.string().optional().default("").refine((e) => !e || It.test(e), W("numeric")),
42207
+ extension: y.string().optional().default("").refine((e) => !e || zt.test(e), G("numeric")),
42195
42208
  email: y.string().optional().default(""),
42196
42209
  chatName: y.string().optional().default(""),
42197
42210
  contact: J.nullish().default({}),
@@ -42206,7 +42219,7 @@ y.object({
42206
42219
  !e.id && !e.password && t.addIssue({
42207
42220
  code: "custom",
42208
42221
  path: ["password"],
42209
- ...W("required")
42222
+ ...G("required")
42210
42223
  }), e.variables?.forEach(({ key: e, value: n }, r) => {
42211
42224
  n && !e && t.addIssue({
42212
42225
  code: "custom",
@@ -42215,7 +42228,7 @@ y.object({
42215
42228
  r,
42216
42229
  "key"
42217
42230
  ],
42218
- ...W("required")
42231
+ ...G("required")
42219
42232
  }), e && !n && t.addIssue({
42220
42233
  code: "custom",
42221
42234
  path: [
@@ -42223,30 +42236,30 @@ y.object({
42223
42236
  r,
42224
42237
  "value"
42225
42238
  ],
42226
- ...W("required")
42239
+ ...G("required")
42227
42240
  });
42228
42241
  });
42229
42242
  });
42230
42243
  //#endregion
42231
42244
  //#region packages/api-services/src/validations/userToken/userToken.validations.ts
42232
- var Lt = y.object({ usage: y.string().default("") });
42245
+ var Bt = y.object({ usage: y.string().default("") });
42233
42246
  y.object({
42234
42247
  key: y.string().min(1),
42235
42248
  value: y.string().min(1)
42236
- }), [...x(kt)], [...x(At)], [...x(Mt)], [...x(Nt)], [...x(Pt)], m.OFFLINE_QUEUE, m.INBOUND_QUEUE, m.OUTBOUND_IVR_QUEUE, m.PREVIEW_DIALER, m.PROGRESSIVE_DIALER, m.PREDICTIVE_DIALER, m.CHAT_INBOUND_QUEUE, m.IM_CHAT_QUEUE, m.INBOUND_JOB_QUEUE, m.OUTBOUND_JOB_QUEUE, x(Ot), { ...F("/call_center/queues") }, { ...F("/call_center/teams") }, i(), { ...F("/users") }, x(Lt), x(We), x(Ke), i();
42249
+ }), [...x(Mt)], [...x(Nt)], [...x(Ft)], [...x(It)], [...x(Lt)], h.OFFLINE_QUEUE, h.INBOUND_QUEUE, h.OUTBOUND_IVR_QUEUE, h.PREVIEW_DIALER, h.PROGRESSIVE_DIALER, h.PREDICTIVE_DIALER, h.CHAT_INBOUND_QUEUE, h.IM_CHAT_QUEUE, h.INBOUND_JOB_QUEUE, h.OUTBOUND_JOB_QUEUE, x(jt), { ...M("/call_center/queues") }, { ...M("/call_center/teams") }, i(), { ...M("/users") }, x(Bt), x(L), x(Je), i();
42237
42250
  //#endregion
42238
42251
  //#region packages/api-services/src/api/clients/wtTypes/sysTypes/sysTypes.ts
42239
- var Rt = i(), zt = /\{([^}]+)\}/g, Bt = (e, t) => t.split(".").reduce((e, t) => e?.[t], e), Vt = (e, t) => e.match(zt) ? e.replace(zt, (e, n) => {
42240
- let r = Bt(t, n);
42252
+ var Vt = i(), Ht = /\{([^}]+)\}/g, Ut = (e, t) => t.split(".").reduce((e, t) => e?.[t], e), Wt = (e, t) => e.match(Ht) ? e.replace(Ht, (e, n) => {
42253
+ let r = Ut(t, n);
42241
42254
  return r == null ? `{${n}}` : String(r);
42242
- }) : Bt(t, e), Ht = ({ display: e, primary: t }) => (n) => n.map((n) => ({
42255
+ }) : Ut(t, e), Gt = ({ display: e, primary: t }) => (n) => n.map((n) => ({
42243
42256
  ...n,
42244
42257
  ...t && { id: n[t] },
42245
- ...e && { name: Vt(e, n) }
42246
- })), Ut = async ({ path: e, display: t, primary: n, filters: r = [], ...i }) => {
42247
- let a = T(i, [
42248
- O(w()),
42249
- N("search"),
42258
+ ...e && { name: Wt(e, n) }
42259
+ })), $ = async ({ path: e, display: t, primary: n, filters: r = [], ...i }) => {
42260
+ let a = w(i, [
42261
+ D(C()),
42262
+ j("search"),
42250
42263
  (e) => ({
42251
42264
  ...e,
42252
42265
  q: e.search
@@ -42255,7 +42268,7 @@ var Rt = i(), zt = /\{([^}]+)\}/g, Bt = (e, t) => t.split(".").reduce((e, t) =>
42255
42268
  ...e,
42256
42269
  ids: e.id
42257
42270
  }),
42258
- j([
42271
+ k([
42259
42272
  "page",
42260
42273
  "size",
42261
42274
  "q",
@@ -42264,25 +42277,25 @@ var Rt = i(), zt = /\{([^}]+)\}/g, Bt = (e, t) => t.split(".").reduce((e, t) =>
42264
42277
  "id",
42265
42278
  "ids"
42266
42279
  ]),
42267
- E(),
42268
- D(e),
42269
- te(r)
42280
+ T(),
42281
+ E(e),
42282
+ re(r)
42270
42283
  ]);
42271
42284
  try {
42272
- let { data: e, items: r, next: i } = T((await Rt.get(a)).data, [O(C())]);
42285
+ let { data: e, items: r, next: i } = w((await Vt.get(a)).data, [D(S())]);
42273
42286
  return {
42274
- items: T(e || r || [], [Ht({
42287
+ items: w(e || r || [], [Gt({
42275
42288
  display: t,
42276
42289
  primary: n
42277
42290
  })]) ?? [],
42278
42291
  next: i
42279
42292
  };
42280
42293
  } catch (e) {
42281
- throw T(e, [A]);
42294
+ throw w(e, [O]);
42282
42295
  }
42283
- }, Wt = {
42284
- getList: Ut,
42285
- getLookup: (e) => Ut({
42296
+ }, Kt = {
42297
+ getList: $,
42298
+ getLookup: (e) => $({
42286
42299
  ...e,
42287
42300
  fields: e.fields || ["id", "name"]
42288
42301
  })
@@ -42294,7 +42307,7 @@ Object.freeze({
42294
42307
  VARIABLES: "variables",
42295
42308
  DESTINATION: "destination"
42296
42309
  });
42297
- var Gt = "/contacts";
42298
- x(me), [...x(he)], [...x(_e)], { ...F(Gt) };
42310
+ var qt = "/contacts";
42311
+ x(ve), [...x(ye)], [...x(xe)], { ...M(qt) };
42299
42312
  //#endregion
42300
- export { ne as a, Qe as i, rt as n, $e as r, Wt as t };
42313
+ export { ie as a, Qe as i, rt as n, $e as r, Kt as t };