@webitel/ui-sdk 26.8.63 → 26.8.65

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 (80) hide show
  1. package/dist/{caseConverters-DXegZoCt.js → caseConverters-6cy_SaV5.js} +8 -8
  2. package/dist/{clients-BeKkM_Tf.js → clients-DpqA006B.js} +301 -217
  3. package/dist/{components-DelpnGuy.js → components-CXPq3d81.js} +5228 -3247
  4. package/dist/{composables-BtWSAI5D.js → composables-DbGvukRz.js} +3 -3
  5. package/dist/{debounce-Bp3jy7S5.js → debounce-CCzQDuk5.js} +2 -2
  6. package/dist/{deep-copy-CTgLtgMO.js → deep-copy-CjYHLk2X.js} +1 -1
  7. package/dist/{dist-CAOIU8xq.js → dist-C_fngTiN.js} +1 -1
  8. package/dist/{dist-Crpfx4FA.js → dist-CugChoYz.js} +1 -1
  9. package/dist/{enums-DY3jIXFF.js → enums-CM8hOd_m.js} +29 -28
  10. package/dist/genClient-DMVlC4Uy.js +2088 -0
  11. package/dist/{rolldown-runtime-BEcgMyyN.js → rolldown-runtime-to5KK-CW.js} +5 -2
  12. package/dist/{side-channel-8SnAuRMA.js → side-channel-M3LABDql.js} +2 -2
  13. package/dist/ui-sdk.css +1 -1
  14. package/dist/ui-sdk.js +42 -42
  15. package/dist/ui-sdk.umd.cjs +642 -641
  16. package/dist/{useValidation-Bvastl-C.js → useValidation-CDgb424A.js} +2 -2
  17. package/dist/{useWtTable-DLWucXPx.js → useWtTable-BbNT2rXz.js} +1 -1
  18. package/dist/utils-DqYQ_mrQ.js +1902 -0
  19. package/dist/{vue-i18n-Db_oYfO8.js → vue-i18n-DNulhn2J.js} +2 -2
  20. package/dist/{vue-router-Dwey8MMv.js → vue-router-B9nAVQtl.js} +1 -1
  21. package/dist/{wt-action-bar-C4JukltF.js → wt-action-bar-Dx2j2yCn.js} +3 -3
  22. package/dist/{wt-button-2_aOV7LX.js → wt-button-l_CCN7zG.js} +2 -2
  23. package/dist/{wt-chat-emoji-Be1WcCN8.js → wt-chat-emoji-BwCLLExE.js} +4 -4
  24. package/dist/{wt-datepicker-DmGisBuB.js → wt-datepicker-Dcg6mx6P.js} +3 -3
  25. package/dist/{wt-display-chip-items-C2xHjen9.js → wt-display-chip-items-DgDn6xoK.js} +2 -2
  26. package/dist/{wt-dual-panel-C98aGU8o.js → wt-dual-panel-sCqa1h4_.js} +1 -1
  27. package/dist/{wt-expansion-card-CEMaWXCy.js → wt-expansion-card-DKEhPBa9.js} +2 -2
  28. package/dist/{wt-expansion-panel-BjeXHSay.js → wt-expansion-panel-BnQ9Ow8D.js} +1 -1
  29. package/dist/{wt-galleria-DMCgiiju.js → wt-galleria-CNwBmLcX.js} +2 -2
  30. package/dist/{wt-icon-Ct0E7k_d.js → wt-icon-CjNYdMOP.js} +2 -2
  31. package/dist/{wt-icon-action-DB6P4E4K.js → wt-icon-action-DX9R-hzG.js} +2 -2
  32. package/dist/{wt-icon-btn-DZa_qsai.js → wt-icon-btn-BbPNcD-O.js} +1 -1
  33. package/dist/{wt-notifications-bar-BEomlIrN.js → wt-notifications-bar-BTt1vqwz.js} +2 -2
  34. package/dist/{wt-pagination-G2ZGU4Pi.js → wt-pagination-DNjYIHjv.js} +1 -1
  35. package/dist/{wt-player-CzNYyH1h.js → wt-player-CoB2InY0.js} +5 -5
  36. package/dist/{wt-popover-BCYPu5NC.js → wt-popover-B0SIrVz6.js} +1 -1
  37. package/dist/{wt-screen-recordings-action-DI1qlUi1.js → wt-screen-recordings-action-DCdRUBbd.js} +1 -0
  38. package/dist/{wt-search-bar-D0qgd2ve.js → wt-search-bar-DlNX3Sr8.js} +2 -2
  39. package/dist/{wt-selection-popup-CjYw4ppb.js → wt-selection-popup-C74__W9Z.js} +1 -1
  40. package/dist/{wt-send-message-popup-vBS3Rque.js → wt-send-message-popup-TJdbzgRF.js} +22 -22
  41. package/dist/{wt-slider-BPzRTeYU.js → wt-slider-4xCDNWv-.js} +1 -1
  42. package/dist/{wt-start-page-BFQExFUj.js → wt-start-page-BUjRx6RA.js} +1 -1
  43. package/dist/{wt-status-select-BuojqV_1.js → wt-status-select-C2-LFbrZ.js} +10 -10
  44. package/dist/{wt-table-DWnt7b9t.js → wt-table-BzGCTKMW.js} +3 -3
  45. package/dist/{wt-table-column-select-D4c56HPB.js → wt-table-column-select-CuQbrCkx.js} +3 -3
  46. package/dist/{wt-timepicker-C2X8A8fq.js → wt-timepicker-BltIOjh9.js} +3 -3
  47. package/dist/{wt-toast-eWzfeYuz.js → wt-toast-DHV4UvFz.js} +2 -2
  48. package/dist/{wt-tree-CMIpbXBo.js → wt-tree-DKSphRxr.js} +4 -4
  49. package/dist/{wt-tree-table-C-UM5kxp.js → wt-tree-table-9vnEJcX0.js} +2 -2
  50. package/dist/{wt-type-extension-value-input-BVBAwEBZ.js → wt-type-extension-value-input-D5Y-ds9V.js} +18 -18
  51. package/dist/{wt-vidstack-player-DW1JPk_N.js → wt-vidstack-player-DKf1aSC7.js} +5 -5
  52. package/package.json +5 -1
  53. package/src/api/clients/calendars/calendars.js +2 -2
  54. package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +8 -8
  55. package/src/components/wt-table/wt-table.vue +1 -1
  56. package/src/modules/Appearance/index.ts +2 -0
  57. package/src/scripts/convertDurationWithDays.ts +30 -0
  58. package/src/scripts/index.js +15 -0
  59. package/src/scripts/storageFile/downloadFilesAsZip.ts +55 -0
  60. package/src/scripts/storageFile/downloadStorageFile.ts +27 -0
  61. package/src/scripts/storageFile/getFileTypeIcon.ts +6 -0
  62. package/src/scripts/storageFile/getStorageFileUrl.ts +17 -0
  63. package/src/scripts/storageFile/openStorageFileInNewTab.ts +34 -0
  64. package/src/utils/index.ts +1 -0
  65. package/src/utils/prettifyDate.ts +14 -0
  66. package/types/.tsbuildinfo +1 -1
  67. package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +2 -2
  68. package/types/components/wt-table/wt-table.vue.d.ts +2 -2
  69. package/types/modules/Appearance/index.d.ts +2 -0
  70. package/types/scripts/convertDurationWithDays.d.ts +1 -0
  71. package/types/scripts/index.d.ts +8 -1
  72. package/types/scripts/storageFile/downloadFilesAsZip.d.ts +11 -0
  73. package/types/scripts/storageFile/downloadStorageFile.d.ts +8 -0
  74. package/types/scripts/storageFile/getFileTypeIcon.d.ts +1 -0
  75. package/types/scripts/storageFile/getStorageFileUrl.d.ts +6 -0
  76. package/types/scripts/storageFile/openStorageFileInNewTab.d.ts +5 -0
  77. package/types/utils/index.d.ts +1 -0
  78. package/types/utils/prettifyDate.d.ts +1 -0
  79. package/dist/displayText-CtaxzaBz.js +0 -3
  80. package/dist/genClient-HHiOUj56.js +0 -2891
@@ -1,11 +1,11 @@
1
- import { a as e, t } from "./rolldown-runtime-BEcgMyyN.js";
2
- import { a as n, i as r, n as i, t as a } from "./genClient-HHiOUj56.js";
3
- import { n as o, t as s } from "./dist-CAOIU8xq.js";
4
- import { i as c, r as l } from "./caseConverters-DXegZoCt.js";
5
- import { E as u } from "./components-DelpnGuy.js";
6
- import { p as d } from "./enums-DY3jIXFF.js";
7
- import { f, t as p } from "./side-channel-8SnAuRMA.js";
8
- import { t as m } from "./deep-copy-CTgLtgMO.js";
1
+ import { o as e, t } from "./rolldown-runtime-to5KK-CW.js";
2
+ import { a as n, i as r, n as i, t as a } from "./genClient-DMVlC4Uy.js";
3
+ import { n as o, t as s } from "./dist-C_fngTiN.js";
4
+ import { O as c } from "./components-CXPq3d81.js";
5
+ import { i as l, r as u } from "./caseConverters-6cy_SaV5.js";
6
+ import { m as d } from "./enums-CM8hOd_m.js";
7
+ import { f, t as p } from "./side-channel-M3LABDql.js";
8
+ import { t as m } from "./deep-copy-CjYHLk2X.js";
9
9
  import { get as h, set as g } from "lodash-es";
10
10
  import * as _ from "zod";
11
11
  import { z as v } from "zod";
@@ -803,7 +803,7 @@ var k = class {
803
803
  basePath: "/api",
804
804
  apiKey: localStorage.getItem("access-key") || "",
805
805
  accessToken: localStorage.getItem("access-key") || ""
806
- }), j = (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), M = (e = []) => (t) => l(t, e), N = (e) => (t) => `${e}?${n(t, {
806
+ }), j = (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), M = (e = []) => (t) => u(t, e), N = (e) => (t) => `${e}?${n(t, {
807
807
  skipEmptyString: !0,
808
808
  skipNull: !0,
809
809
  arrayFormat: "repeat"
@@ -900,7 +900,7 @@ function R(e) {
900
900
  }
901
901
  //#endregion
902
902
  //#region packages/api-services/src/api/transformers/sanitize/sanitize.transformer.ts
903
- var z = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), B = (e = []) => (t) => c(t, e), V = /* @__PURE__ */ e(m(), 1), H = (e = "search") => (t) => {
903
+ var z = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), B = (e = []) => (t) => l(t, e), V = /* @__PURE__ */ e(m(), 1), H = (e = "search") => (t) => {
904
904
  let n = (0, V.default)(t), r = h(n, e);
905
905
  return !r || r.slice(-1) === "*" ? n : g(n, e, `${r}*`);
906
906
  }, U = "acl", W = (e) => e.map((e) => ({
@@ -6483,7 +6483,9 @@ _.object({
6483
6483
  })).optional(),
6484
6484
  next: _.boolean().optional(),
6485
6485
  page: _.string().optional()
6486
- }), _.object({ case_etag: _.string().describe("new comment link") }), _.object({
6486
+ });
6487
+ var te = _.object({ case_etag: _.string().describe("new comment link") });
6488
+ _.object({
6487
6489
  fields: _.array(_.string()).optional().describe("result fields needed on the front-end for each comment"),
6488
6490
  "input.etag": _.string().optional(),
6489
6491
  "input.url": _.string().optional(),
@@ -6641,12 +6643,21 @@ _.object({
6641
6643
  closed_at: _.string().optional(),
6642
6644
  duration: _.string().optional(),
6643
6645
  files: _.array(_.object({
6646
+ channel: _.string().optional(),
6644
6647
  id: _.string().optional(),
6645
6648
  mime_type: _.string().optional(),
6646
6649
  name: _.string().optional(),
6647
6650
  size: _.string().optional(),
6648
6651
  start_at: _.string().optional(),
6649
- stop_at: _.string().optional()
6652
+ stop_at: _.string().optional(),
6653
+ type: _.enum([
6654
+ "file_type_empty",
6655
+ "file_type_screenshot",
6656
+ "file_type_screensharing",
6657
+ "file_type_audio",
6658
+ "file_type_video",
6659
+ "file_type_pdf"
6660
+ ]).default("file_type_empty")
6650
6661
  })).optional(),
6651
6662
  flow_scheme: _.object({
6652
6663
  id: _.string().optional(),
@@ -7050,7 +7061,8 @@ _.object({
7050
7061
  }).describe("Response message containing a list of cases."), _.object({
7051
7062
  fields: _.array(_.string()).optional().describe("List of fields to include in the response."),
7052
7063
  disableTrigger: _.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]")
7053
- }), _.object({
7064
+ });
7065
+ var ne = _.object({
7054
7066
  assignee: _.object({
7055
7067
  id: _.string().optional(),
7056
7068
  name: _.string().optional()
@@ -7131,7 +7143,8 @@ _.object({
7131
7143
  id: _.string().optional(),
7132
7144
  name: _.string().optional()
7133
7145
  }).optional().describe("Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token.")
7134
- }).describe("Input structure for creating a new case."), _.object({
7146
+ }).describe("Input structure for creating a new case.");
7147
+ _.object({
7135
7148
  assignee: _.object({
7136
7149
  id: _.string().optional(),
7137
7150
  name: _.string().optional()
@@ -8374,7 +8387,8 @@ _.object({
8374
8387
  x_json_mask: _.array(_.string()).optional().describe("List of JSON fields to update."),
8375
8388
  fields: _.array(_.string()).optional().describe("List of fields to include in the response."),
8376
8389
  disableTrigger: _.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]")
8377
- }), _.object({
8390
+ });
8391
+ var re = _.object({
8378
8392
  assignee: _.object({
8379
8393
  id: _.string().optional(),
8380
8394
  name: _.string().optional()
@@ -8440,7 +8454,8 @@ _.object({
8440
8454
  id: _.string().optional(),
8441
8455
  name: _.string().optional()
8442
8456
  }).optional().describe("Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token.")
8443
- }), _.object({
8457
+ });
8458
+ _.object({
8444
8459
  case: _.object({
8445
8460
  assignee: _.object({
8446
8461
  id: _.string().optional(),
@@ -10522,7 +10537,7 @@ _.object({
10522
10537
  contact_id: _.string().describe("Contact ID associated with."),
10523
10538
  etag: _.array(_.string()).min(1).describe("Set of unique ID(s) to remove.")
10524
10539
  }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved as a result.") });
10525
- var te = _.object({
10540
+ var ie = _.object({
10526
10541
  created_at: _.string().optional().describe("The user who created this Field."),
10527
10542
  created_by: _.object({
10528
10543
  id: _.string().optional().describe("Reference Object unique ID."),
@@ -10551,7 +10566,7 @@ var te = _.object({
10551
10566
  }).optional().describe("The user who performed last Update."),
10552
10567
  ver: _.int().optional().describe("Version of the latest update. Numeric sequence.")
10553
10568
  });
10554
- _.array(te), _.object({
10569
+ _.array(ie), _.object({
10555
10570
  contact_id: _.string().describe("Contact ID associated with."),
10556
10571
  etag: _.string().describe("Unique ID of the latest version of an existing resorce.")
10557
10572
  }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") }), _.object({
@@ -10936,7 +10951,7 @@ _.array(te), _.object({
10936
10951
  next: _.boolean().optional(),
10937
10952
  page: _.int().optional().describe("The page number of the partial result.")
10938
10953
  }).describe("Contact groups dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactGroupList.data are always subordinate to some contact.id."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved as a result.") });
10939
- var ne = _.object({
10954
+ var ae = _.object({
10940
10955
  etag: _.string().describe("Unique ID of the latest version of an existing resource."),
10941
10956
  group: _.object({
10942
10957
  id: _.string().optional().describe("Reference Object unique ID."),
@@ -10944,7 +10959,7 @@ var ne = _.object({
10944
10959
  type: _.string().optional().describe("Reference Object well-known type.")
10945
10960
  }).optional().describe("Group of contacts associated.")
10946
10961
  }).describe("An input of the Contact's groups.");
10947
- _.array(ne), _.object({
10962
+ _.array(ae), _.object({
10948
10963
  data: _.array(_.object({
10949
10964
  created_at: _.string().optional().describe("The user who created this Field."),
10950
10965
  created_by: _.object({
@@ -10970,7 +10985,7 @@ _.array(ne), _.object({
10970
10985
  next: _.boolean().optional(),
10971
10986
  page: _.int().optional().describe("The page number of the partial result.")
10972
10987
  }).describe("Contact groups dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactGroupList.data are always subordinate to some contact.id."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") });
10973
- var re = _.object({
10988
+ var oe = _.object({
10974
10989
  etag: _.string().describe("Unique ID of the latest version of an existing resource."),
10975
10990
  group: _.object({
10976
10991
  id: _.string().optional().describe("Reference Object unique ID."),
@@ -10978,7 +10993,7 @@ var re = _.object({
10978
10993
  type: _.string().optional().describe("Reference Object well-known type.")
10979
10994
  }).optional().describe("Group of contacts associated.")
10980
10995
  }).describe("An input of the Contact's groups.");
10981
- _.array(re), _.object({
10996
+ _.array(oe), _.object({
10982
10997
  data: _.array(_.object({
10983
10998
  created_at: _.string().optional().describe("The user who created this Field."),
10984
10999
  created_by: _.object({
@@ -11126,7 +11141,10 @@ _.array(re), _.object({
11126
11141
  }), _.object({
11127
11142
  id: _.string().optional(),
11128
11143
  name: _.string().optional()
11129
- }), _.object({ conversation_id: _.string() }), _.object({ contact_id: _.string().optional() }), _.looseObject({}), _.object({
11144
+ }), _.object({ conversation_id: _.string() }), _.object({ contact_id: _.string().optional() }), _.looseObject({});
11145
+ //#endregion
11146
+ //#region packages/api-services/src/gen-wire/contacts/contacts.ts
11147
+ var se = _.object({
11130
11148
  page: _.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```"),
11131
11149
  size: _.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```"),
11132
11150
  q: _.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..."),
@@ -11144,7 +11162,8 @@ _.array(re), _.object({
11144
11162
  owner: _.array(_.string()).optional().describe("Filters contacts by the specified owner(s).\n- Includes only contacts whose owner matches one or more of the given Owner(s).\n- The owner ID corresponds to `contact_id` in the `directory.wbt_user` table."),
11145
11163
  label: _.array(_.string()).optional().describe("Filters contacts by the specified label(s).\n- Includes only contacts that have one or more of the given Label(s)."),
11146
11164
  user: _.boolean().optional().describe("Filters contacts based on whether they are user-associated.\n- `true` → Includes only user-associated contacts.\n- `false` → Includes only contacts that are NOT user-associated.\n- A contact is considered user-associated if it exists in `directory.wbt_user`.")
11147
- }), _.object({
11165
+ });
11166
+ _.object({
11148
11167
  data: _.array(_.object({
11149
11168
  about: _.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
11150
11169
  comments: _.object({
@@ -11457,7 +11476,8 @@ _.array(re), _.object({
11457
11476
  }).describe("The Contact principal source.\nOUTPUT purpose only.")).optional().describe("Contact(s) dataset page."),
11458
11477
  next: _.boolean().optional(),
11459
11478
  page: _.int().optional().describe("The page number of the partial result.")
11460
- }).describe("Contact dataset."), _.object({ fields: _.array(_.string()).optional().describe("Source Fields to return into result.") }), _.object({
11479
+ }).describe("Contact dataset."), _.object({ fields: _.array(_.string()).optional().describe("Source Fields to return into result.") });
11480
+ var ce = _.object({
11461
11481
  about: _.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
11462
11482
  comments: _.array(_.object({
11463
11483
  etag: _.string().optional().describe("Unique ID of the latest version of an existing resorce."),
@@ -11546,7 +11566,8 @@ _.array(re), _.object({
11546
11566
  key: _.string().regex(/^\w+$/).describe("NEW Key."),
11547
11567
  value: _.unknown().optional().describe("NEW Value.")
11548
11568
  }).describe("Input of the Contact's variable.")).optional().describe("Arbitrary client data that is populated by clients.")
11549
- }).describe("The Contact principal input."), _.object({
11569
+ }).describe("The Contact principal input.");
11570
+ _.object({
11550
11571
  about: _.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
11551
11572
  comments: _.object({
11552
11573
  data: _.array(_.object({
@@ -11856,7 +11877,7 @@ _.array(re), _.object({
11856
11877
  }).optional().describe("Arbitrary client data that is populated by clients.\nDuplicate keys and values are allowed."),
11857
11878
  ver: _.int().optional().describe("READONLY. Operational attributes\nVersion of the latest update. Numeric sequence.")
11858
11879
  }).describe("The Contact principal source.\nOUTPUT purpose only."), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") });
11859
- var ie = _.object({
11880
+ var le = _.object({
11860
11881
  about: _.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
11861
11882
  comments: _.array(_.object({
11862
11883
  etag: _.string().optional().describe("Unique ID of the latest version of an existing resorce."),
@@ -11946,7 +11967,7 @@ var ie = _.object({
11946
11967
  value: _.unknown().optional().describe("NEW Value.")
11947
11968
  }).describe("Input of the Contact's variable.")).optional().describe("Arbitrary client data that is populated by clients.")
11948
11969
  }).describe("The Contact principal input.");
11949
- _.array(ie), _.object({
11970
+ _.array(le), _.object({
11950
11971
  data: _.array(_.object({
11951
11972
  about: _.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
11952
11973
  comments: _.object({
@@ -12986,7 +13007,8 @@ _.array(ie), _.object({
12986
13007
  page: _.int().optional().describe("The page number of the partial result.")
12987
13008
  }).optional().describe("Arbitrary client data that is populated by clients.\nDuplicate keys and values are allowed."),
12988
13009
  ver: _.int().optional().describe("READONLY. Operational attributes\nVersion of the latest update. Numeric sequence.")
12989
- }).describe("The Contact principal source.\nOUTPUT purpose only."), _.object({ etag: _.string().describe("Unique ID of the latest version of an existing resorce.") }), _.object({ fields: _.array(_.string()).optional().describe("Source Fields to return into result.") }), _.object({
13010
+ }).describe("The Contact principal source.\nOUTPUT purpose only."), _.object({ etag: _.string().describe("Unique ID of the latest version of an existing resorce.") }), _.object({ fields: _.array(_.string()).optional().describe("Source Fields to return into result.") });
13011
+ var ue = _.object({
12990
13012
  about: _.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
12991
13013
  comments: _.array(_.object({
12992
13014
  etag: _.string().optional().describe("Unique ID of the latest version of an existing resorce."),
@@ -13074,7 +13096,8 @@ _.array(ie), _.object({
13074
13096
  key: _.string().regex(/^\w+$/).describe("NEW Key."),
13075
13097
  value: _.unknown().optional().describe("NEW Value.")
13076
13098
  }).describe("Input of the Contact's variable.")).optional().describe("Arbitrary client data that is populated by clients.")
13077
- }), _.object({
13099
+ });
13100
+ _.object({
13078
13101
  about: _.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
13079
13102
  comments: _.object({
13080
13103
  data: _.array(_.object({
@@ -14156,8 +14179,8 @@ _.array(ie), _.object({
14156
14179
  id: _.string().optional(),
14157
14180
  permanent: _.boolean().optional()
14158
14181
  });
14159
- var ae = _.string();
14160
- _.array(ae), _.object({ deleted: _.array(_.object({
14182
+ var de = _.string();
14183
+ _.array(de), _.object({ deleted: _.array(_.object({
14161
14184
  account: _.string().optional().describe("username"),
14162
14185
  brand: _.string().optional().describe("vendor brand name"),
14163
14186
  created_at: _.string().optional(),
@@ -16501,7 +16524,7 @@ _.array(ae), _.object({ deleted: _.array(_.object({
16501
16524
  next: _.boolean().optional().describe("Have more records."),
16502
16525
  page: _.int().optional().describe("Page number of the partial result.")
16503
16526
  }).describe("A list of Conditions."), _.object({ group_id: _.string().describe("The ID of the group to which the condition belongs.") });
16504
- var oe = _.object({
16527
+ var fe = _.object({
16505
16528
  assignee: _.object({
16506
16529
  id: _.string().optional().describe("Reference Object unique ID."),
16507
16530
  name: _.string().optional().describe("Reference Object display name."),
@@ -16763,7 +16786,7 @@ _.object({
16763
16786
  type: _.string().optional().describe("Reference Object well-known type.")
16764
16787
  }).optional().describe("The user who performed the last update.")
16765
16788
  }), _.object({ id: _.string().describe("The unique ID of the dynamic group to update.") });
16766
- var se = _.object({
16789
+ var pe = _.object({
16767
16790
  default_group: _.object({
16768
16791
  id: _.string().optional().describe("Reference Object unique ID."),
16769
16792
  name: _.string().optional().describe("Reference Object display name."),
@@ -17222,7 +17245,7 @@ _.object({
17222
17245
  next: _.boolean().optional(),
17223
17246
  page: _.int().optional().describe("The page number of the partial result.")
17224
17247
  }).describe("Email dataset."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") });
17225
- var ce = _.object({
17248
+ var me = _.object({
17226
17249
  email: _.string().describe("The email address."),
17227
17250
  etag: _.string().optional().describe("Unique ID of the latest version of an existing resorce."),
17228
17251
  primary: _.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -17233,7 +17256,7 @@ var ce = _.object({
17233
17256
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
17234
17257
  verified: _.boolean().optional()
17235
17258
  }).describe("Input of the Contact's email address.");
17236
- _.array(ce), _.object({
17259
+ _.array(me), _.object({
17237
17260
  data: _.array(_.object({
17238
17261
  created_at: _.string().optional().describe("The user who created this Field."),
17239
17262
  created_by: _.object({
@@ -17262,7 +17285,7 @@ _.array(ce), _.object({
17262
17285
  next: _.boolean().optional(),
17263
17286
  page: _.int().optional().describe("The page number of the partial result.")
17264
17287
  }).describe("Email dataset."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") });
17265
- var le = _.object({
17288
+ var he = _.object({
17266
17289
  email: _.string().describe("The email address."),
17267
17290
  etag: _.string().optional().describe("Unique ID of the latest version of an existing resorce."),
17268
17291
  primary: _.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -17273,7 +17296,7 @@ var le = _.object({
17273
17296
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
17274
17297
  verified: _.boolean().optional()
17275
17298
  }).describe("Input of the Contact's email address.");
17276
- _.array(le), _.object({
17299
+ _.array(he), _.object({
17277
17300
  data: _.array(_.object({
17278
17301
  created_at: _.string().optional().describe("The user who created this Field."),
17279
17302
  created_by: _.object({
@@ -17399,7 +17422,7 @@ _.array(le), _.object({
17399
17422
  contact_id: _.string().describe("Link contact ID."),
17400
17423
  etag: _.string().describe("Unique ID of the latest version of an existing resorce.")
17401
17424
  }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") });
17402
- var ue = _.object({
17425
+ var ge = _.object({
17403
17426
  email: _.string().describe("The email address."),
17404
17427
  primary: _.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
17405
17428
  type: _.object({
@@ -20289,7 +20312,7 @@ _.object({
20289
20312
  type: _.string().optional().describe("Reference Object well-known type.")
20290
20313
  }).optional().describe("The user who performed the last update.")
20291
20314
  }), _.object({ id: _.string().describe("The unique ID of the group to update.") });
20292
- var de = _.object({
20315
+ var _e = _.object({
20293
20316
  description: _.string().optional().describe("The new description of the group."),
20294
20317
  enabled: _.boolean().optional().describe("The new enabled status of the group."),
20295
20318
  name: _.string().optional().describe("The new name of the group.")
@@ -20627,11 +20650,11 @@ _.object({
20627
20650
  next: _.boolean().optional(),
20628
20651
  page: _.int().optional().describe("Page number of partial result.")
20629
20652
  }).describe("LabelList dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result.") });
20630
- var fe = _.object({
20653
+ var ve = _.object({
20631
20654
  etag: _.string().optional().describe("Unique ID of the latest version of an existing resorce."),
20632
20655
  label: _.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.")
20633
20656
  }).describe("A Contact's associated Tag.\nOutput purpose only.");
20634
- _.array(fe), _.object({
20657
+ _.array(ve), _.object({
20635
20658
  data: _.array(_.object({
20636
20659
  created_at: _.string().optional().describe("The user who created this Field."),
20637
20660
  created_by: _.object({
@@ -20653,11 +20676,11 @@ _.array(fe), _.object({
20653
20676
  next: _.boolean().optional(),
20654
20677
  page: _.int().optional().describe("Page number of partial result.")
20655
20678
  }).describe("LabelList dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result.") });
20656
- var pe = _.object({
20679
+ var ye = _.object({
20657
20680
  etag: _.string().optional().describe("Unique ID of the latest version of an existing resorce."),
20658
20681
  label: _.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.")
20659
20682
  }).describe("A Contact's associated Tag.\nOutput purpose only.");
20660
- _.array(pe), _.object({
20683
+ _.array(ye), _.object({
20661
20684
  data: _.array(_.object({
20662
20685
  created_at: _.string().optional().describe("The user who created this Field."),
20663
20686
  created_by: _.object({
@@ -20748,12 +20771,12 @@ _.array(pe), _.object({
20748
20771
  next: _.boolean().optional(),
20749
20772
  page: _.int().optional().describe("Page number of partial result dataset records.")
20750
20773
  }).describe("LabelsData\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved as a result.") });
20751
- var me = _.object({
20774
+ var be = _.object({
20752
20775
  etag: _.string().describe("Unique ID of the latest version of an existing association."),
20753
20776
  primary: _.boolean().optional().describe("Indicates whether this association must be default\namong others of the same type."),
20754
20777
  tag: _.string().optional()
20755
20778
  }).describe("An input of the Contact's language.");
20756
- _.array(me), _.object({
20779
+ _.array(be), _.object({
20757
20780
  data: _.array(_.object({
20758
20781
  code: _.string().optional(),
20759
20782
  created_at: _.string().optional().describe("The user who created this Field."),
@@ -20781,12 +20804,12 @@ _.array(me), _.object({
20781
20804
  next: _.boolean().optional(),
20782
20805
  page: _.int().optional().describe("Page number of partial result dataset records.")
20783
20806
  }).describe("LabelsData\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), _.object({ contact_id: _.string().describe("Contact ID associated with.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved as a result.") });
20784
- var he = _.object({
20807
+ var xe = _.object({
20785
20808
  etag: _.string().describe("Unique ID of the latest version of an existing association."),
20786
20809
  primary: _.boolean().optional().describe("Indicates whether this association must be default\namong others of the same type."),
20787
20810
  tag: _.string().optional()
20788
20811
  }).describe("An input of the Contact's language.");
20789
- _.array(he), _.object({
20812
+ _.array(xe), _.object({
20790
20813
  data: _.array(_.object({
20791
20814
  code: _.string().optional(),
20792
20815
  created_at: _.string().optional().describe("The user who created this Field."),
@@ -22580,7 +22603,7 @@ _.array(he), _.object({
22580
22603
  fields: _.array(_.string()).optional().describe("Fields to be retrieved as a result."),
22581
22604
  etag: _.array(_.string()).describe("Set of unique ID(s) to remove.")
22582
22605
  });
22583
- var ge = _.object({
22606
+ var Se = _.object({
22584
22607
  created_at: _.string().optional().describe("The user who created this Field."),
22585
22608
  created_by: _.object({
22586
22609
  id: _.string().optional().describe("Reference Object unique ID."),
@@ -22603,7 +22626,7 @@ var ge = _.object({
22603
22626
  }).optional().describe("Responsible User."),
22604
22627
  ver: _.int().optional().describe("Version of the latest update. Numeric sequence.")
22605
22628
  }).describe("Manager. The Contact's responsible User.");
22606
- _.array(ge), _.object({ contact_id: _.string().describe("Contact ID associated with.") }), _.object({
22629
+ _.array(Se), _.object({ contact_id: _.string().describe("Contact ID associated with.") }), _.object({
22607
22630
  page: _.int().optional().describe("Page number of result. offset = ((page-1)*size)"),
22608
22631
  size: _.int().optional().describe("Size of result page. limit = (size++)"),
22609
22632
  q: _.string().optional().describe("Search term: user name;\n`?` - matches any one character\n`*` - matches 0 or more characters"),
@@ -22637,7 +22660,7 @@ _.array(ge), _.object({ contact_id: _.string().describe("Contact ID associated w
22637
22660
  next: _.boolean().optional(),
22638
22661
  page: _.int().optional().describe("The page number of the partial result.")
22639
22662
  }).describe("Manager dataset."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved as a result.") });
22640
- var _e = _.object({
22663
+ var Ce = _.object({
22641
22664
  etag: _.string().describe("Unique ID of the latest version of an existing resource."),
22642
22665
  primary: _.boolean().optional().describe("Indicates whether this association must be default among others."),
22643
22666
  user: _.object({
@@ -22646,7 +22669,7 @@ var _e = _.object({
22646
22669
  type: _.string().optional().describe("Reference Object well-known type.")
22647
22670
  }).optional().describe("Responsible User.")
22648
22671
  });
22649
- _.array(_e), _.object({
22672
+ _.array(Ce), _.object({
22650
22673
  data: _.array(_.object({
22651
22674
  created_at: _.string().optional().describe("The user who created this Field."),
22652
22675
  created_by: _.object({
@@ -22673,7 +22696,7 @@ _.array(_e), _.object({
22673
22696
  next: _.boolean().optional(),
22674
22697
  page: _.int().optional().describe("The page number of the partial result.")
22675
22698
  }).describe("Manager dataset."), _.object({ contact_id: _.string().describe("Contact ID associated with.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved as a result.") });
22676
- var ve = _.object({
22699
+ var we = _.object({
22677
22700
  etag: _.string().describe("Unique ID of the latest version of an existing resource."),
22678
22701
  primary: _.boolean().optional().describe("Indicates whether this association must be default among others."),
22679
22702
  user: _.object({
@@ -22682,7 +22705,7 @@ var ve = _.object({
22682
22705
  type: _.string().optional().describe("Reference Object well-known type.")
22683
22706
  }).optional().describe("Responsible User.")
22684
22707
  });
22685
- _.array(ve), _.object({
22708
+ _.array(we), _.object({
22686
22709
  data: _.array(_.object({
22687
22710
  created_at: _.string().optional().describe("The user who created this Field."),
22688
22711
  created_by: _.object({
@@ -24074,7 +24097,7 @@ _.array(ve), _.object({
24074
24097
  }), _.object({ status: _.string().optional() });
24075
24098
  //#endregion
24076
24099
  //#region packages/api-services/src/gen-wire/messages/messages.ts
24077
- var ye = (e = a) => ({
24100
+ var Te = (e = a) => ({
24078
24101
  messagesServiceBroadcastMessage: (t, n) => e.post("/chat/broadcast", t, n),
24079
24102
  catalogGetCustomers: (t, n) => e.get("/chat/customers", {
24080
24103
  ...n,
@@ -24716,7 +24739,7 @@ _.object({
24716
24739
  next: _.boolean().optional(),
24717
24740
  page: _.int().optional()
24718
24741
  });
24719
- var be = _.object({
24742
+ var Ee = _.object({
24720
24743
  auth_url: _.string().optional(),
24721
24744
  claims: _.array(_.object({
24722
24745
  type: _.string().optional(),
@@ -25975,7 +25998,7 @@ _.object({
25975
25998
  next: _.boolean().optional(),
25976
25999
  page: _.int().optional().describe("The page number of the partial result.")
25977
26000
  }).describe("PhoneNumber dataset."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") });
25978
- var xe = _.object({
26001
+ var De = _.object({
25979
26002
  etag: _.string().optional().describe("Unique ID of the latest version of an existing resorce."),
25980
26003
  number: _.string().describe("The phone number."),
25981
26004
  primary: _.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -25986,7 +26009,7 @@ var xe = _.object({
25986
26009
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
25987
26010
  verified: _.boolean().optional()
25988
26011
  }).describe("Input of the contact phone number.");
25989
- _.array(xe), _.object({
26012
+ _.array(De), _.object({
25990
26013
  data: _.array(_.object({
25991
26014
  created_at: _.string().optional().describe("The user who created this Field."),
25992
26015
  created_by: _.object({
@@ -26015,7 +26038,7 @@ _.array(xe), _.object({
26015
26038
  next: _.boolean().optional(),
26016
26039
  page: _.int().optional().describe("The page number of the partial result.")
26017
26040
  }).describe("PhoneNumber dataset."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") });
26018
- var Se = _.object({
26041
+ var Oe = _.object({
26019
26042
  etag: _.string().optional().describe("Unique ID of the latest version of an existing resorce."),
26020
26043
  number: _.string().describe("The phone number."),
26021
26044
  primary: _.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -26026,7 +26049,7 @@ var Se = _.object({
26026
26049
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
26027
26050
  verified: _.boolean().optional()
26028
26051
  }).describe("Input of the contact phone number.");
26029
- _.array(Se), _.object({
26052
+ _.array(Oe), _.object({
26030
26053
  data: _.array(_.object({
26031
26054
  created_at: _.string().optional().describe("The user who created this Field."),
26032
26055
  created_by: _.object({
@@ -26152,7 +26175,7 @@ _.array(Se), _.object({
26152
26175
  contact_id: _.string().describe("The Contact ID to be associated with."),
26153
26176
  etag: _.string().describe("Unique ID of the latest version of an existing resorce.")
26154
26177
  }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") });
26155
- var Ce = _.object({
26178
+ var ke = _.object({
26156
26179
  number: _.string().describe("The phone number."),
26157
26180
  primary: _.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
26158
26181
  type: _.object({
@@ -26248,13 +26271,13 @@ _.object({
26248
26271
  next: _.boolean().optional(),
26249
26272
  page: _.int().optional().describe("The page number of the partial result.")
26250
26273
  }).describe("Photo dataset."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") });
26251
- var we = _.object({
26274
+ var Ae = _.object({
26252
26275
  etag: _.string().optional().describe("Unique ID of the latest version of an existing association."),
26253
26276
  photo_id: _.string().optional(),
26254
26277
  photo_url: _.string().optional(),
26255
26278
  primary: _.boolean().optional().describe("True if the photo is a default photo; false if the photo is a user-provided photo.")
26256
26279
  }).describe("Input of the photo.");
26257
- _.array(we), _.object({
26280
+ _.array(Ae), _.object({
26258
26281
  data: _.array(_.object({
26259
26282
  created_at: _.string().optional().describe("The user who created this Field."),
26260
26283
  created_by: _.object({
@@ -26278,13 +26301,13 @@ _.array(we), _.object({
26278
26301
  next: _.boolean().optional(),
26279
26302
  page: _.int().optional().describe("The page number of the partial result.")
26280
26303
  }).describe("Photo dataset."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") });
26281
- var Te = _.object({
26304
+ var je = _.object({
26282
26305
  etag: _.string().optional().describe("Unique ID of the latest version of an existing association."),
26283
26306
  photo_id: _.string().optional(),
26284
26307
  photo_url: _.string().optional(),
26285
26308
  primary: _.boolean().optional().describe("True if the photo is a default photo; false if the photo is a user-provided photo.")
26286
26309
  }).describe("Input of the photo.");
26287
- _.array(Te), _.object({
26310
+ _.array(je), _.object({
26288
26311
  data: _.array(_.object({
26289
26312
  created_at: _.string().optional().describe("The user who created this Field."),
26290
26313
  created_by: _.object({
@@ -29640,7 +29663,8 @@ _.array(Te), _.object({
29640
29663
  })).optional(),
29641
29664
  next: _.boolean().optional(),
29642
29665
  page: _.int().optional()
29643
- }), _.object({ fields: _.array(_.string()).optional() }), _.object({
29666
+ }), _.object({ fields: _.array(_.string()).optional() });
29667
+ var Me = _.object({
29644
29668
  assignee: _.object({
29645
29669
  id: _.string().optional(),
29646
29670
  name: _.string().optional()
@@ -29664,7 +29688,8 @@ _.array(Te), _.object({
29664
29688
  name: _.string().optional()
29665
29689
  }).optional(),
29666
29690
  state: _.boolean().optional()
29667
- }), _.object({
29691
+ });
29692
+ _.object({
29668
29693
  assignee: _.object({
29669
29694
  id: _.string().optional(),
29670
29695
  name: _.string().optional()
@@ -29815,7 +29840,8 @@ _.array(Te), _.object({
29815
29840
  id: _.string().optional(),
29816
29841
  name: _.string().optional()
29817
29842
  }).optional()
29818
- }).optional() }), _.object({ id: _.string().describe("ID of the service to be updated") }), _.object({ fields: _.array(_.string()).optional() }), _.object({
29843
+ }).optional() }), _.object({ id: _.string().describe("ID of the service to be updated") }), _.object({ fields: _.array(_.string()).optional() });
29844
+ var Ne = _.object({
29819
29845
  assignee: _.object({
29820
29846
  id: _.string().optional(),
29821
29847
  name: _.string().optional()
@@ -29839,7 +29865,8 @@ _.array(Te), _.object({
29839
29865
  name: _.string().optional()
29840
29866
  }).optional(),
29841
29867
  state: _.boolean().optional()
29842
- }), _.object({
29868
+ });
29869
+ _.object({
29843
29870
  assignee: _.object({
29844
29871
  id: _.string().optional(),
29845
29872
  name: _.string().optional()
@@ -29888,7 +29915,8 @@ _.array(Te), _.object({
29888
29915
  id: _.string().optional(),
29889
29916
  name: _.string().optional()
29890
29917
  }).optional()
29891
- }), _.object({ id: _.string().describe("ID of the service to be updated") }), _.object({ fields: _.array(_.string()).optional() }), _.object({
29918
+ }), _.object({ id: _.string().describe("ID of the service to be updated") }), _.object({ fields: _.array(_.string()).optional() });
29919
+ var Pe = _.object({
29892
29920
  assignee: _.object({
29893
29921
  id: _.string().optional(),
29894
29922
  name: _.string().optional()
@@ -29912,7 +29940,8 @@ _.array(Te), _.object({
29912
29940
  name: _.string().optional()
29913
29941
  }).optional(),
29914
29942
  state: _.boolean().optional()
29915
- }), _.object({
29943
+ });
29944
+ _.object({
29916
29945
  assignee: _.object({
29917
29946
  id: _.string().optional(),
29918
29947
  name: _.string().optional()
@@ -30863,13 +30892,13 @@ _.array(Te), _.object({
30863
30892
  next: _.boolean().optional(),
30864
30893
  page: _.int().optional().describe("The page number of the partial result.")
30865
30894
  }), _.object({ fields: _.array(_.string()).optional().describe("Source Fields to return into result.") });
30866
- var Ee = _.object({
30895
+ var Fe = _.object({
30867
30896
  etag: _.string().optional().describe("Unique ID of the latest version of an existing resorce."),
30868
30897
  home_page: _.string().optional().describe("BIO. Short description about the space.\nOPTIONAL. Multi-lined text."),
30869
30898
  name: _.string().optional().describe("Represents the name of the knowledge base space."),
30870
30899
  state: _.boolean().optional().describe("The state of the space.")
30871
30900
  }).describe("The Space principal input.");
30872
- _.array(Ee), _.object({
30901
+ _.array(Fe), _.object({
30873
30902
  created_at: _.string().optional().describe("The timestamp when the space was created (in Unix time)."),
30874
30903
  created_by: _.object({
30875
30904
  id: _.string().optional().describe("Reference Object unique ID."),
@@ -31436,7 +31465,9 @@ _.array(Ee), _.object({
31436
31465
  name: _.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")
31437
31466
  })).optional(),
31438
31467
  next: _.boolean().optional()
31439
- }), _.object({ name: _.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") }), _.object({
31468
+ });
31469
+ var Ie = _.object({ name: _.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") });
31470
+ _.object({
31440
31471
  id: _.int().optional(),
31441
31472
  name: _.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")
31442
31473
  }), _.object({
@@ -31723,12 +31754,21 @@ _.array(Ee), _.object({
31723
31754
  closed_at: _.string().optional(),
31724
31755
  duration: _.string().optional(),
31725
31756
  files: _.array(_.object({
31757
+ channel: _.string().optional(),
31726
31758
  id: _.string().optional(),
31727
31759
  mime_type: _.string().optional(),
31728
31760
  name: _.string().optional(),
31729
31761
  size: _.string().optional(),
31730
31762
  start_at: _.string().optional(),
31731
- stop_at: _.string().optional()
31763
+ stop_at: _.string().optional(),
31764
+ type: _.enum([
31765
+ "file_type_empty",
31766
+ "file_type_screenshot",
31767
+ "file_type_screensharing",
31768
+ "file_type_audio",
31769
+ "file_type_video",
31770
+ "file_type_pdf"
31771
+ ]).default("file_type_empty")
31732
31772
  })).optional(),
31733
31773
  flow_scheme: _.object({
31734
31774
  id: _.string().optional().describe("Reference Object unique ID."),
@@ -31924,7 +31964,7 @@ _.array(Ee), _.object({
31924
31964
  next: _.boolean().optional(),
31925
31965
  page: _.int().optional().describe("The page number of the partial result.")
31926
31966
  }).describe("Timezone dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactTimezones.data are always subordinate to some contact.id."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved as a result.") });
31927
- var De = _.object({
31967
+ var Le = _.object({
31928
31968
  etag: _.string().describe("Unique ID of the latest version of an existing resource."),
31929
31969
  primary: _.boolean().optional().describe("Indicates whether this association must be default among others."),
31930
31970
  timezone: _.object({
@@ -31933,7 +31973,7 @@ var De = _.object({
31933
31973
  type: _.string().optional().describe("Reference Object well-known type.")
31934
31974
  }).optional().describe("Timezone dictionary reference value associated.")
31935
31975
  }).describe("An input of the Contact's timezones.");
31936
- _.array(De), _.object({
31976
+ _.array(Le), _.object({
31937
31977
  data: _.array(_.object({
31938
31978
  created_at: _.string().optional().describe("The user who created this Field."),
31939
31979
  created_by: _.object({
@@ -31960,7 +32000,7 @@ _.array(De), _.object({
31960
32000
  next: _.boolean().optional(),
31961
32001
  page: _.int().optional().describe("The page number of the partial result.")
31962
32002
  }).describe("Timezone dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactTimezones.data are always subordinate to some contact.id."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") });
31963
- var Oe = _.object({
32003
+ var Re = _.object({
31964
32004
  etag: _.string().describe("Unique ID of the latest version of an existing resource."),
31965
32005
  primary: _.boolean().optional().describe("Indicates whether this association must be default among others."),
31966
32006
  timezone: _.object({
@@ -31969,7 +32009,7 @@ var Oe = _.object({
31969
32009
  type: _.string().optional().describe("Reference Object well-known type.")
31970
32010
  }).optional().describe("Timezone dictionary reference value associated.")
31971
32011
  }).describe("An input of the Contact's timezones.");
31972
- _.array(Oe), _.object({
32012
+ _.array(Re), _.object({
31973
32013
  data: _.array(_.object({
31974
32014
  created_at: _.string().optional().describe("The user who created this Field."),
31975
32015
  created_by: _.object({
@@ -33206,8 +33246,8 @@ _.array(Oe), _.object({
33206
33246
  id: _.string().optional().describe("ONE /users/{id}"),
33207
33247
  permanent: _.boolean().optional()
33208
33248
  });
33209
- var ke = _.string();
33210
- _.array(ke), _.object({ deleted: _.array(_.object({
33249
+ var ze = _.string();
33250
+ _.array(ze), _.object({ deleted: _.array(_.object({
33211
33251
  chat_name: _.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."),
33212
33252
  contact: _.object({
33213
33253
  id: _.string().optional(),
@@ -34090,12 +34130,12 @@ _.array(ke), _.object({ deleted: _.array(_.object({
34090
34130
  next: _.boolean().optional(),
34091
34131
  page: _.int().optional().describe("The page number of the partial result.")
34092
34132
  }).describe("Variable dataset."), _.object({ contact_id: _.string().describe("Link contact ID.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved as a result.") });
34093
- var Ae = _.object({
34133
+ var Be = _.object({
34094
34134
  etag: _.string().optional().describe("Unique ID of the latest version of an existing resorce."),
34095
34135
  key: _.string().regex(/^\w+$/).describe("NEW Key."),
34096
34136
  value: _.unknown().optional().describe("NEW Value.")
34097
34137
  }).describe("Input of the Contact's variable.");
34098
- _.array(Ae), _.object({
34138
+ _.array(Be), _.object({
34099
34139
  data: _.array(_.object({
34100
34140
  created_at: _.string().optional().describe("The user who created this Field."),
34101
34141
  created_by: _.object({
@@ -34118,12 +34158,12 @@ _.array(Ae), _.object({
34118
34158
  next: _.boolean().optional(),
34119
34159
  page: _.int().optional().describe("The page number of the partial result.")
34120
34160
  }).describe("Variable dataset."), _.object({ contact_id: _.string().describe("Contact ID associated with.") }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") });
34121
- var je = _.object({
34161
+ var Ve = _.object({
34122
34162
  etag: _.string().optional().describe("Unique ID of the latest version of an existing resorce."),
34123
34163
  key: _.string().regex(/^\w+$/).describe("NEW Key."),
34124
34164
  value: _.unknown().optional().describe("NEW Value.")
34125
34165
  }).describe("Input of the Contact's variable.");
34126
- _.array(je), _.object({
34166
+ _.array(Ve), _.object({
34127
34167
  data: _.array(_.object({
34128
34168
  created_at: _.string().optional().describe("The user who created this Field."),
34129
34169
  created_by: _.object({
@@ -34198,7 +34238,7 @@ _.array(je), _.object({
34198
34238
  contact_id: _.string().describe("Contact ID associated with."),
34199
34239
  etag: _.string().describe("Unique ID of the latest version of an existing resorce.")
34200
34240
  }), _.object({ fields: _.array(_.string()).optional().describe("Fields to be retrieved into result of changes.") });
34201
- var Me = _.object({
34241
+ var He = _.object({
34202
34242
  key: _.string().regex(/^\w+$/).describe("NEW Key."),
34203
34243
  value: _.unknown().optional().describe("NEW Value.")
34204
34244
  });
@@ -39182,10 +39222,10 @@ _.object({
39182
39222
  }).optional() });
39183
39223
  //#endregion
39184
39224
  //#region packages/api-services/src/api/clients/agents/agents.ts
39185
- var Ne = (e) => e > 3600 * 24 ? ">24:00:00" : u(e), q = async (e) => {
39225
+ var Ue = (e) => e > 3600 * 24 ? ">24:00:00" : c(e), We = async (e) => {
39186
39226
  let t = (e) => e.map((e) => ({
39187
39227
  ...e,
39188
- statusDuration: Ne(e.statusDuration)
39228
+ statusDuration: Ue(e.statusDuration)
39189
39229
  })), n = j(e, [
39190
39230
  M(),
39191
39231
  F(x()),
@@ -39224,7 +39264,7 @@ var Ne = (e) => e > 3600 * 24 ? ">24:00:00" : u(e), q = async (e) => {
39224
39264
  } catch (e) {
39225
39265
  throw j(e, [R]);
39226
39266
  }
39227
- }, Pe = async ({ itemId: e }) => {
39267
+ }, Ge = async ({ itemId: e }) => {
39228
39268
  let t = {
39229
39269
  user: {},
39230
39270
  team: {},
@@ -39243,7 +39283,7 @@ var Ne = (e) => e > 3600 * 24 ? ">24:00:00" : u(e), q = async (e) => {
39243
39283
  } catch (e) {
39244
39284
  throw j(e, [R]);
39245
39285
  }
39246
- }, Fe = [
39286
+ }, Ke = [
39247
39287
  "user",
39248
39288
  "team",
39249
39289
  "supervisor",
@@ -39254,11 +39294,11 @@ var Ne = (e) => e > 3600 * 24 ? ">24:00:00" : u(e), q = async (e) => {
39254
39294
  "chatCount",
39255
39295
  "taskCount",
39256
39296
  "isSupervisor"
39257
- ], Ie = {
39258
- getList: q,
39259
- get: Pe,
39297
+ ], qe = {
39298
+ getList: We,
39299
+ get: Ge,
39260
39300
  add: async ({ itemInstance: e }) => {
39261
- let t = j(e, [z(Fe), M()]);
39301
+ let t = j(e, [z(Ke), M()]);
39262
39302
  try {
39263
39303
  return j((await K().createAgent(t)).data, [B()]);
39264
39304
  } catch (e) {
@@ -39266,7 +39306,7 @@ var Ne = (e) => e > 3600 * 24 ? ">24:00:00" : u(e), q = async (e) => {
39266
39306
  }
39267
39307
  },
39268
39308
  patch: async ({ changes: e, id: t }) => {
39269
- let n = j(e, [z(Fe), M()]);
39309
+ let n = j(e, [z(Ke), M()]);
39270
39310
  try {
39271
39311
  return j((await K().patchAgent(String(t), n)).data, [B()]);
39272
39312
  } catch (e) {
@@ -39274,7 +39314,7 @@ var Ne = (e) => e > 3600 * 24 ? ">24:00:00" : u(e), q = async (e) => {
39274
39314
  }
39275
39315
  },
39276
39316
  update: async ({ itemInstance: e, itemId: t }) => {
39277
- let n = j(e, [z(Fe), M()]);
39317
+ let n = j(e, [z(Ke), M()]);
39278
39318
  try {
39279
39319
  return j((await K().updateAgent(String(t), n)).data, [B()]);
39280
39320
  } catch (e) {
@@ -39288,7 +39328,7 @@ var Ne = (e) => e > 3600 * 24 ? ">24:00:00" : u(e), q = async (e) => {
39288
39328
  throw j(e, [R]);
39289
39329
  }
39290
39330
  },
39291
- getLookup: (e) => q({
39331
+ getLookup: (e) => We({
39292
39332
  ...e,
39293
39333
  fields: e.fields || ["id", "name"]
39294
39334
  }),
@@ -39311,7 +39351,7 @@ var Ne = (e) => e > 3600 * 24 ? ">24:00:00" : u(e), q = async (e) => {
39311
39351
  throw j(e, [R]);
39312
39352
  }
39313
39353
  },
39314
- getRegularAgentsOptions: async (e) => q({
39354
+ getRegularAgentsOptions: async (e) => We({
39315
39355
  ...e,
39316
39356
  isNotSupervisor: !0
39317
39357
  }),
@@ -39331,7 +39371,7 @@ var Ne = (e) => e > 3600 * 24 ? ">24:00:00" : u(e), q = async (e) => {
39331
39371
  throw j(e, [R]);
39332
39372
  }
39333
39373
  },
39334
- getSupervisorOptions: async (e) => q({
39374
+ getSupervisorOptions: async (e) => We({
39335
39375
  ...e,
39336
39376
  isSupervisor: !0
39337
39377
  }),
@@ -39364,18 +39404,18 @@ var Ne = (e) => e > 3600 * 24 ? ">24:00:00" : u(e), q = async (e) => {
39364
39404
  }
39365
39405
  }
39366
39406
  };
39367
- i(), A(), { ...G("/calendars") }, i(), A(), i(), A(), i(), A(), i(), A(), Object.freeze({
39407
+ i(), A(), { ...G("/calendars") }, y(te), i(), A(), y(Me), y(Me), y(Pe), y(Ne), i(), A(), i(), A(), y(re), y(ne), { ...G("/cases") }, i(), A(), Object.freeze({
39368
39408
  VIBER: "viber",
39369
39409
  WHATSAPP: "whatsapp",
39370
39410
  TELEGRAM: "telegram",
39371
39411
  MESSENGER: "messenger",
39372
39412
  EMAIL: "email"
39373
- }), i(), i(), A(), i(), A(), y(de), { ...G("/contacts/groups") }, y(oe), y(se), y(ce), y(ue), i(), A(), i(), i(), A(), i(), A(), i(), A(), i(), A(), localStorage.getItem("access-token"), r.create({ headers: { "content-type": "multipart/form-data" } });
39374
- var Le = {
39413
+ }), i(), i(), A(), [...y(Ie)], y(_e), { ...G("/contacts/groups") }, y(fe), y(pe), y(me), y(ge), i(), A(), i(), i(), A(), i(), A(), i(), A(), localStorage.getItem("access-token"), r.create({ headers: { "content-type": "multipart/form-data" } });
39414
+ var Je = {
39375
39415
  patch: async (e) => {
39376
39416
  let t = j(e, [M()]);
39377
39417
  try {
39378
- return j((await ye().messagesServiceBroadcastMessage(t)).data, [B()]);
39418
+ return j((await Te().messagesServiceBroadcastMessage(t)).data, [B()]);
39379
39419
  } catch (e) {
39380
39420
  throw j(e, [R]);
39381
39421
  }
@@ -39383,7 +39423,7 @@ var Le = {
39383
39423
  getChatHistory: async ({ chatId: e, ...t }) => {
39384
39424
  let n = j(t, [F(S()), M()]);
39385
39425
  try {
39386
- let { messages: t, peers: r, next: i } = j((await ye().catalogGetHistory(String(e), n)).data, [B(), F(x())]);
39426
+ let { messages: t, peers: r, next: i } = j((await Te().catalogGetHistory(String(e), n)).data, [B(), F(x())]);
39387
39427
  return {
39388
39428
  messages: t,
39389
39429
  peers: r,
@@ -39394,26 +39434,35 @@ var Le = {
39394
39434
  }
39395
39435
  }
39396
39436
  };
39397
- y(be), { ...G("/oauth/apps") }, i(), A(), y(xe), y(Ce);
39437
+ y(Ee), { ...G("/oauth/apps") }, i(), A(), y(De), y(ke);
39398
39438
  //#endregion
39399
39439
  //#region packages/api-services/src/validations/_shared/duration.validations.ts
39400
- var J = (e = 1) => v.union([v.string().min(e), v.number().min(e)]), Y = (e) => ({ params: { i18nKey: e } }), Re = (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, X = v.object({
39440
+ var Ye = (e = 1) => v.union([v.string().min(e), v.number().min(e)]), q = (e) => ({ params: { i18nKey: e } }), Xe = (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, J = v.object({
39401
39441
  id: v.string().optional(),
39402
39442
  name: v.string().optional()
39403
- }), Z = v.object({
39443
+ }), Y = v.object({
39404
39444
  id: v.string().min(1),
39405
39445
  name: v.string().optional()
39406
- }), Q = v.object({
39446
+ }), X = v.object({
39407
39447
  id: v.union([v.string(), v.number()]).optional(),
39408
39448
  name: v.string().optional()
39409
- }), $ = Q.refine((e) => Re(e), Y("required")), ze = v.object({
39449
+ }), Z = X.refine((e) => Xe(e), q("required")), Ze = v.object({
39410
39450
  key: v.string(),
39411
39451
  value: v.string()
39412
39452
  });
39413
39453
  v.object({
39454
+ name: v.string().min(1),
39455
+ repo: v.string().min(1).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/),
39456
+ about: v.string().optional(),
39457
+ administered: v.boolean().optional(),
39458
+ primary: v.string().optional(),
39459
+ display: v.string().optional(),
39460
+ fields: v.array(v.any()).optional(),
39461
+ indexes: v.any().optional()
39462
+ }), v.object({
39414
39463
  name: v.string().min(3),
39415
39464
  description: v.string().optional(),
39416
- teams: v.array(X).optional().default([]),
39465
+ teams: v.array(J).optional().default([]),
39417
39466
  enabled: v.boolean().optional().default(!0),
39418
39467
  questions: v.array(v.any()).min(1).default([])
39419
39468
  }), v.object({
@@ -39422,7 +39471,7 @@ v.object({
39422
39471
  });
39423
39472
  //#endregion
39424
39473
  //#region packages/api-services/src/validations/calendar/calendar.validations.ts
39425
- var Be = "hourRange", Ve = "timerangeStartLessThanEnd", He = "timerangeNotIntersect", Ue = v.number().int().refine((e) => e >= 0 && e < 1440, Y(Be)), We = (e) => {
39474
+ var Qe = "hourRange", $e = "timerangeStartLessThanEnd", et = "timerangeNotIntersect", Q = v.number().int().refine((e) => e >= 0 && e < 1440, q(Qe)), tt = (e) => {
39426
39475
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map();
39427
39476
  return e.forEach((e, t) => {
39428
39477
  let r = n.get(e.day) ?? [];
@@ -39440,89 +39489,120 @@ var Be = "hourRange", Ve = "timerangeStartLessThanEnd", He = "timerangeNotInters
39440
39489
  });
39441
39490
  });
39442
39491
  }), t;
39443
- }, Ge = v.object({
39492
+ }, nt = v.object({
39444
39493
  day: v.number().int().min(0).max(6),
39445
39494
  disabled: v.boolean().default(!1),
39446
- start: Ue,
39447
- end: Ue
39495
+ start: Q,
39496
+ end: Q
39448
39497
  }).superRefine((e, t) => {
39449
39498
  e.start >= e.end && (t.addIssue({
39450
39499
  code: "custom",
39451
39500
  path: ["start"],
39452
- ...Y(Ve)
39501
+ ...q($e)
39453
39502
  }), t.addIssue({
39454
39503
  code: "custom",
39455
39504
  path: ["end"],
39456
- ...Y(Ve)
39505
+ ...q($e)
39457
39506
  }));
39458
- }), Ke = v.array(Ge).superRefine((e, t) => {
39459
- We(e).forEach((e) => {
39507
+ }), rt = v.array(nt).superRefine((e, t) => {
39508
+ tt(e).forEach((e) => {
39460
39509
  t.addIssue({
39461
39510
  code: "custom",
39462
39511
  path: [e, "start"],
39463
- ...Y(He)
39512
+ ...q(et)
39464
39513
  }), t.addIssue({
39465
39514
  code: "custom",
39466
39515
  path: [e, "end"],
39467
- ...Y(He)
39516
+ ...q(et)
39468
39517
  });
39469
39518
  });
39470
- }), qe = v.object({
39471
- name: v.string().optional(),
39519
+ }), it = v.object({
39520
+ name: v.string().min(1),
39472
39521
  date: v.union([v.number(), v.string()]).optional(),
39473
39522
  repeat: v.boolean().optional(),
39474
39523
  working: v.boolean().optional(),
39475
- workStart: Ue.nullish(),
39476
- workStop: Ue.nullish()
39524
+ workStart: Q.nullish(),
39525
+ workStop: Q.nullish()
39477
39526
  });
39478
39527
  v.object({
39479
39528
  name: v.string().min(1),
39480
39529
  description: v.string().optional().default(""),
39481
- timezone: Z,
39530
+ timezone: Y,
39482
39531
  startAt: v.any().optional(),
39483
39532
  endAt: v.any().optional(),
39484
39533
  expires: v.boolean().optional().default(!1),
39485
- accepts: Ke.default(() => Array.from({ length: 7 }, (e, t) => ({
39534
+ accepts: rt.default(() => Array.from({ length: 7 }, (e, t) => ({
39486
39535
  day: t,
39487
39536
  disabled: !1,
39488
39537
  start: 540,
39489
39538
  end: 1200
39490
39539
  }))),
39491
- specials: v.array(Ge).default(() => Array.from({ length: 7 }, (e, t) => ({
39540
+ specials: v.array(nt).default(() => Array.from({ length: 7 }, (e, t) => ({
39492
39541
  day: t,
39493
39542
  disabled: !0,
39494
39543
  start: 540,
39495
39544
  end: 1200
39496
39545
  }))),
39497
- excepts: v.array(qe).optional().default([])
39546
+ excepts: v.array(it).optional().default([])
39547
+ });
39548
+ //#endregion
39549
+ //#region packages/api-services/src/validations/case/case.validations.ts
39550
+ var $ = () => J.passthrough().default({});
39551
+ v.object({
39552
+ subject: v.string().default(""),
39553
+ source: $(),
39554
+ priority: $(),
39555
+ reporter: $(),
39556
+ service: $(),
39557
+ statusCondition: v.object({
39558
+ id: v.union([v.string(), v.number()]).optional(),
39559
+ name: v.string().optional(),
39560
+ final: v.boolean().optional(),
39561
+ initial: v.boolean().optional()
39562
+ }).passthrough().default({}),
39563
+ closeReason: $(),
39564
+ closeResult: v.string().default("")
39565
+ }), v.object({
39566
+ reason: v.object({ id: v.union([v.string(), v.number()]) }).passthrough().nullable(),
39567
+ result: v.string().nullable()
39568
+ }).superRefine((e, t) => {
39569
+ e.reason?.id || t.addIssue({ code: "custom" }), e.result || t.addIssue({ code: "custom" });
39498
39570
  }), v.object({
39499
39571
  name: v.string().min(1),
39500
39572
  description: v.string().optional()
39501
39573
  }), v.object({
39502
39574
  name: v.string().min(1),
39503
39575
  description: v.string().optional()
39576
+ }), v.object({
39577
+ type: v.object({
39578
+ name: v.string(),
39579
+ value: v.string()
39580
+ }).nullable(),
39581
+ separator: v.string().nullable()
39582
+ }).superRefine((e, t) => {
39583
+ e.type || t.addIssue({ code: "custom" }), e.type?.value === "csv" && !e.separator && t.addIssue({ code: "custom" });
39504
39584
  }), v.object({
39505
39585
  name: v.string().min(1),
39506
39586
  color: v.string().min(1),
39507
39587
  description: v.string().optional()
39508
39588
  }), v.object({
39509
39589
  name: v.string().min(1),
39510
- assignee: X.optional(),
39511
- group: X.optional(),
39512
- sla: X.optional(),
39513
- defaultPriority: X.optional(),
39590
+ assignee: J.optional(),
39591
+ group: J.optional(),
39592
+ sla: J.optional(),
39593
+ defaultPriority: J.optional(),
39514
39594
  code: v.string().optional(),
39515
39595
  description: v.string().optional(),
39516
39596
  state: v.boolean().default(!0)
39517
39597
  }), v.object({
39518
39598
  name: v.string().min(1),
39519
39599
  prefix: v.string().min(1),
39520
- status: Z,
39521
- closeReasonGroup: Z,
39522
- sla: Z,
39523
- defaultPriority: Z,
39524
- teams: v.array(X).optional(),
39525
- skills: v.array(X).optional(),
39600
+ status: Y,
39601
+ closeReasonGroup: Y,
39602
+ sla: Y,
39603
+ defaultPriority: Y,
39604
+ teams: v.array(J).optional(),
39605
+ skills: v.array(J).optional(),
39526
39606
  code: v.string().optional(),
39527
39607
  description: v.string().optional(),
39528
39608
  state: v.boolean().default(!0)
@@ -39537,11 +39617,11 @@ v.object({
39537
39617
  name: v.string().min(1),
39538
39618
  description: v.string().optional()
39539
39619
  }), v.object({
39540
- name: v.string().optional(),
39541
- timezones: v.array(v.any()).optional(),
39542
- managers: v.array(v.any()).optional(),
39543
- groups: v.array(v.any()).optional(),
39544
- labels: v.array(v.any()).optional(),
39620
+ name: v.object({ commonName: v.string().optional() }).passthrough().optional(),
39621
+ timezones: v.any().optional(),
39622
+ managers: v.any().optional(),
39623
+ groups: v.any().optional(),
39624
+ labels: v.any().optional(),
39545
39625
  about: v.string().nullish(),
39546
39626
  user: v.any().nullish()
39547
39627
  }), v.object({
@@ -39551,22 +39631,22 @@ v.object({
39551
39631
  });
39552
39632
  //#endregion
39553
39633
  //#region packages/api-services/src/validations/contactGroup/contactGroup.validations.ts
39554
- var Je = {
39634
+ var at = {
39555
39635
  name: v.string().min(1),
39556
39636
  description: v.string().optional(),
39557
39637
  enabled: v.boolean().default(!0),
39558
39638
  type: v.string().optional()
39559
- }, Ye = v.object({
39560
- ...Je,
39561
- defaultGroup: X.optional()
39562
- }), Xe = v.object({
39563
- ...Je,
39564
- defaultGroup: Z
39639
+ }, ot = v.object({
39640
+ ...at,
39641
+ defaultGroup: J.optional()
39642
+ }), st = v.object({
39643
+ ...at,
39644
+ defaultGroup: Y
39565
39645
  });
39566
- v.discriminatedUnion("type", [Ye.extend({ type: v.literal(b.Static) }), Xe.extend({ type: v.literal(b.Dynamic) })]), v.object({
39646
+ v.discriminatedUnion("type", [ot.extend({ type: v.literal(b.Static) }), st.extend({ type: v.literal(b.Dynamic) })]), v.object({
39567
39647
  expression: v.string().min(1),
39568
- group: Z,
39569
- assignee: X.nullish()
39648
+ group: Y,
39649
+ assignee: J.nullish()
39570
39650
  }), v.object({
39571
39651
  number: v.string().min(1),
39572
39652
  type: v.any(),
@@ -39586,17 +39666,17 @@ v.discriminatedUnion("type", [Ye.extend({ type: v.literal(b.Static) }), Xe.exten
39586
39666
  }), v.object({
39587
39667
  name: v.string().min(1),
39588
39668
  description: v.string().optional(),
39589
- skills: v.array(X).optional()
39669
+ skills: v.array(J).optional()
39590
39670
  });
39591
39671
  //#endregion
39592
39672
  //#region packages/api-services/src/validations/queue/queue.rules.ts
39593
- var Ze = {
39673
+ var ct = {
39594
39674
  required: ["name"],
39595
39675
  minValue: {
39596
39676
  priority: 0,
39597
39677
  "payload.minOnlineAgents": 0
39598
39678
  }
39599
- }, Qe = {
39679
+ }, lt = {
39600
39680
  [d.OFFLINE_QUEUE]: {
39601
39681
  required: [
39602
39682
  "strategy",
@@ -39721,11 +39801,11 @@ var Ze = {
39721
39801
  "payload.minDuration": 0
39722
39802
  }
39723
39803
  }
39724
- }, $e = v.object({
39804
+ }, ut = v.object({
39725
39805
  enabled: v.boolean().optional(),
39726
39806
  ai: v.boolean().optional(),
39727
39807
  positive: v.array(v.string()).optional(),
39728
- playback: Q.optional(),
39808
+ playback: X.optional(),
39729
39809
  allowNotSure: v.boolean().optional(),
39730
39810
  silenceNotSure: v.boolean().optional(),
39731
39811
  maxWordLength: v.number().optional(),
@@ -39737,7 +39817,7 @@ var Ze = {
39737
39817
  afterGreetingSilence: v.number().optional(),
39738
39818
  greeting: v.number().optional(),
39739
39819
  initialSilence: v.number().optional()
39740
- }), et = v.object({
39820
+ }), dt = v.object({
39741
39821
  maxAttempts: v.number().optional(),
39742
39822
  minAttempts: v.number().optional(),
39743
39823
  originateTimeout: v.number().optional(),
@@ -39778,46 +39858,46 @@ var Ze = {
39778
39858
  recordAll: v.boolean().optional(),
39779
39859
  allowGreetingAgent: v.boolean().optional(),
39780
39860
  autoAnswerTone: v.string().nullable().optional(),
39781
- amd: $e.optional()
39782
- }), tt = v.object({
39861
+ amd: ut.optional()
39862
+ }), ft = v.object({
39783
39863
  enabled: v.boolean().optional(),
39784
39864
  isTimeoutRetry: v.boolean().optional(),
39785
39865
  prolongationTimeSec: v.number().optional(),
39786
39866
  repeatsNumber: v.number().optional()
39787
- }), nt = v.object({
39867
+ }), pt = v.object({
39788
39868
  enabled: v.boolean().optional(),
39789
- formSchema: Q.optional(),
39869
+ formSchema: X.optional(),
39790
39870
  sec: v.number().optional(),
39791
39871
  renewalSec: v.number().optional(),
39792
- prolongationOptions: tt.prefault({})
39793
- }), rt = v.object({
39872
+ prolongationOptions: ft.prefault({})
39873
+ }), mt = v.object({
39794
39874
  name: v.string().min(1),
39795
39875
  description: v.string().optional(),
39796
39876
  type: v.number(),
39797
39877
  enabled: v.boolean().optional(),
39798
39878
  priority: v.number().optional(),
39799
39879
  tags: v.array(v.object({ name: v.string() })).optional(),
39800
- calendar: Q.optional(),
39801
- team: Q.optional(),
39802
- dncList: Q.optional(),
39803
- grantee: Q.optional(),
39804
- ringtone: Q.optional(),
39805
- schema: Q.optional(),
39806
- doSchema: Q.optional(),
39807
- afterSchema: Q.optional(),
39808
- formSchema: Q.optional(),
39880
+ calendar: X.optional(),
39881
+ team: X.optional(),
39882
+ dncList: X.optional(),
39883
+ grantee: X.optional(),
39884
+ ringtone: X.optional(),
39885
+ schema: X.optional(),
39886
+ doSchema: X.optional(),
39887
+ afterSchema: X.optional(),
39888
+ formSchema: X.optional(),
39809
39889
  strategy: v.string().optional(),
39810
39890
  stickyAgent: v.boolean().optional(),
39811
- taskProcessing: nt.optional(),
39812
- payload: et.optional(),
39813
- variables: v.array(ze).optional()
39891
+ taskProcessing: pt.optional(),
39892
+ payload: dt.optional(),
39893
+ variables: v.array(Ze).optional()
39814
39894
  }).superRefine((e, t) => {
39815
- let n = [Ze, Qe[Number(e.type)] ?? {}];
39895
+ let n = [ct, lt[Number(e.type)] ?? {}];
39816
39896
  for (let r of n) {
39817
- for (let n of r.required ?? []) Re(h(e, n)) || t.addIssue({
39897
+ for (let n of r.required ?? []) Xe(h(e, n)) || t.addIssue({
39818
39898
  code: "custom",
39819
39899
  path: n.split("."),
39820
- ...Y("required")
39900
+ ...q("required")
39821
39901
  });
39822
39902
  for (let [n, i] of Object.entries(r.minValue ?? {})) {
39823
39903
  let r = h(e, n);
@@ -39828,43 +39908,43 @@ var Ze = {
39828
39908
  });
39829
39909
  }
39830
39910
  }
39831
- }), it = v.object({
39832
- bucket: $,
39911
+ }), ht = v.object({
39912
+ bucket: Z,
39833
39913
  priority: v.number().min(0),
39834
39914
  disabled: v.boolean().optional()
39835
- }), at = v.object({
39915
+ }), gt = v.object({
39836
39916
  event: v.string().min(1),
39837
- schema: $,
39917
+ schema: Z,
39838
39918
  properties: v.array(v.string()).optional(),
39839
39919
  enabled: v.boolean().optional()
39840
- }), ot = v.object({
39920
+ }), _t = v.object({
39841
39921
  destination: v.string().min(1),
39842
- type: $,
39922
+ type: Z,
39843
39923
  dtmf: v.string().regex(/^[\d|w|W]*$/).optional(),
39844
39924
  display: v.string().optional(),
39845
39925
  priority: v.number().optional(),
39846
- resource: Q.optional(),
39926
+ resource: X.optional(),
39847
39927
  description: v.string().optional()
39848
- }), st = v.object({
39928
+ }), vt = v.object({
39849
39929
  name: v.string().min(1),
39850
- communications: v.array(ot).min(1),
39930
+ communications: v.array(_t).min(1),
39851
39931
  priority: v.number().optional(),
39852
- bucket: Q.optional(),
39853
- timezone: Q.optional(),
39854
- agent: Q.optional(),
39932
+ bucket: X.optional(),
39933
+ timezone: X.optional(),
39934
+ agent: X.optional(),
39855
39935
  expireAt: v.union([v.string(), v.number()]).optional(),
39856
39936
  minOfferingAt: v.union([v.string(), v.number()]).optional(),
39857
39937
  stopCause: v.string().optional(),
39858
- variables: v.array(ze).optional()
39859
- }), ct = v.object({
39860
- resourceGroup: $,
39861
- communication: Q.optional()
39862
- }), lt = v.object({
39863
- skill: $,
39938
+ variables: v.array(Ze).optional()
39939
+ }), yt = v.object({
39940
+ resourceGroup: Z,
39941
+ communication: X.optional()
39942
+ }), bt = v.object({
39943
+ skill: Z,
39864
39944
  lvl: v.number().min(0).max(1e3),
39865
39945
  minCapacity: v.number().min(0).max(100).optional(),
39866
39946
  maxCapacity: v.number().min(0).max(100).optional(),
39867
- buckets: v.array(Q).optional(),
39947
+ buckets: v.array(X).optional(),
39868
39948
  enabled: v.boolean().optional()
39869
39949
  }).superRefine((e, t) => {
39870
39950
  e.minCapacity == null || e.maxCapacity == null || e.minCapacity <= e.maxCapacity || (t.addIssue({
@@ -39876,19 +39956,19 @@ var Ze = {
39876
39956
  path: ["maxCapacity"],
39877
39957
  message: "Value must be greater than or equal to the minimum capacity"
39878
39958
  }));
39879
- }), ut = 6e4;
39959
+ }), xt = 6e4;
39880
39960
  v.object({
39881
39961
  name: v.string().min(1),
39882
39962
  description: v.string().optional(),
39883
- calendar: Z,
39884
- reactionTime: J(),
39885
- resolutionTime: J(),
39963
+ calendar: Y,
39964
+ reactionTime: Ye(),
39965
+ resolutionTime: Ye(),
39886
39966
  validFrom: v.union([v.string(), v.number()]).nullish(),
39887
39967
  validTo: v.union([v.string(), v.number()]).nullish()
39888
39968
  }).superRefine((e, t) => {
39889
39969
  if (!e.validFrom || !e.validTo) return;
39890
39970
  let n = Number(e.validFrom), r = Number(e.validTo);
39891
- Number.isNaN(n) || Number.isNaN(r) || n > r - ut && t.addIssue({
39971
+ Number.isNaN(n) || Number.isNaN(r) || n > r - xt && t.addIssue({
39892
39972
  code: "too_big",
39893
39973
  origin: "date",
39894
39974
  maximum: r,
@@ -39898,16 +39978,16 @@ v.object({
39898
39978
  });
39899
39979
  }), v.object({
39900
39980
  name: v.string().min(1),
39901
- priorities: v.array(Z).min(1),
39902
- reactionTime: J(),
39903
- resolutionTime: J()
39904
- }), v.object({
39981
+ priorities: v.array(Y).min(1),
39982
+ reactionTime: Ye(),
39983
+ resolutionTime: Ye()
39984
+ }), v.object({ fields: v.array(v.any()).optional() }), v.object({
39905
39985
  key: v.string().min(1),
39906
39986
  value: v.string().min(1)
39907
- }), [...y(it)], [...y(at)], [...y(st)], [...y(ct)], [...y(lt)], d.OFFLINE_QUEUE, d.INBOUND_QUEUE, d.OUTBOUND_IVR_QUEUE, d.PREVIEW_DIALER, d.PROGRESSIVE_DIALER, d.PREDICTIVE_DIALER, d.CHAT_INBOUND_QUEUE, d.IM_CHAT_QUEUE, d.INBOUND_JOB_QUEUE, d.OUTBOUND_JOB_QUEUE, y(rt), { ...G("/call_center/queues") }, i(), A(), i(), A(), i(), A(), i(), A(), i(), { ...G("/users") }, y(Ae), y(Me), i();
39987
+ }), [...y(ht)], [...y(gt)], [...y(vt)], [...y(yt)], [...y(bt)], d.OFFLINE_QUEUE, d.INBOUND_QUEUE, d.OUTBOUND_IVR_QUEUE, d.PREVIEW_DIALER, d.PROGRESSIVE_DIALER, d.PREDICTIVE_DIALER, d.CHAT_INBOUND_QUEUE, d.IM_CHAT_QUEUE, d.INBOUND_JOB_QUEUE, d.OUTBOUND_JOB_QUEUE, y(mt), { ...G("/call_center/queues") }, i(), A(), i(), A(), i(), A(), i(), A(), i(), { ...G("/users") }, y(Be), y(He), i();
39908
39988
  //#endregion
39909
39989
  //#region packages/api-services/src/api/clients/wtTypes/sysTypes/sysTypes.ts
39910
- var dt = i(), ft = async ({ path: e, display: t, primary: n, ...r }) => {
39990
+ var St = i(), Ct = async ({ path: e, display: t, primary: n, ...r }) => {
39911
39991
  let i = j(r, [
39912
39992
  F(S()),
39913
39993
  H("search"),
@@ -39932,7 +40012,7 @@ var dt = i(), ft = async ({ path: e, display: t, primary: n, ...r }) => {
39932
40012
  N(e)
39933
40013
  ]);
39934
40014
  try {
39935
- let { data: e, items: t, next: n } = j((await dt.get(i)).data, [F(x())]);
40015
+ let { data: e, items: t, next: n } = j((await St.get(i)).data, [F(x())]);
39936
40016
  return {
39937
40017
  items: j(e || t, []) ?? [],
39938
40018
  next: n
@@ -39940,19 +40020,23 @@ var dt = i(), ft = async ({ path: e, display: t, primary: n, ...r }) => {
39940
40020
  } catch (e) {
39941
40021
  throw j(e, [R]);
39942
40022
  }
39943
- }, pt = {
39944
- getList: ft,
39945
- getLookup: (e) => ft({
40023
+ }, wt = {
40024
+ getList: Ct,
40025
+ getLookup: (e) => Ct({
39946
40026
  ...e,
39947
40027
  fields: e.fields || ["id", "name"]
39948
40028
  })
39949
40029
  };
39950
- i(), A(), i(), A(), Object.freeze({
40030
+ i(), A(), Object.freeze({
39951
40031
  NAME: "name",
39952
40032
  LABELS: "labels",
39953
40033
  ABOUT: "about",
39954
40034
  VARIABLES: "variables",
39955
40035
  DESTINATION: "destination"
39956
- }), i(), A(), { ...G("/contacts") };
40036
+ });
40037
+ //#endregion
40038
+ //#region packages/api-services/src/api/clients/сontacts/enums/ContactsSearchMode.ts
40039
+ var Tt = "/contacts";
40040
+ y(se), [...y(ce)], [...y(ue)], { ...G(Tt) };
39957
40041
  //#endregion
39958
- export { Le as n, Ie as r, pt as t };
40042
+ export { Je as n, qe as r, wt as t };