@webitel/ui-sdk 26.8.111 → 26.8.113

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 (92) hide show
  1. package/dist/{caseConverters-6cy_SaV5.js → caseConverters-DGri4uJo.js} +1 -1
  2. package/dist/{clients-CCAhrWQ1.js → clients-CWniSi77.js} +1294 -246
  3. package/dist/{components-Du718UrL.js → components-DJVzkzrr.js} +302 -302
  4. package/dist/{composables-Vg-QfE_2.js → composables-BeyROIj_.js} +2 -2
  5. package/dist/{convertDuration-heRoQzks.js → convertDuration-BOe9PsRT.js} +1 -1
  6. package/dist/{deep-copy-7O5ej7vT.js → deep-copy-BJdHBMNZ.js} +1 -1
  7. package/dist/{dist-DJZOILzq.js → dist-CnyqtIg9.js} +1 -1
  8. package/dist/{dist-DB8lC4KJ.js → dist-EXdgfpvN.js} +44 -44
  9. package/dist/{enums-BDtfwdQu.js → enums-CsINFPBu.js} +133 -11
  10. package/dist/{genClient-5JkKKac8.js → genClient-CvWlQ0TZ.js} +2 -2
  11. package/dist/{sortQueryAdapters-CyYXvnDN.js → sortQueryAdapters-Bb1yt_LD.js} +1 -1
  12. package/dist/ui-sdk.css +1 -1
  13. package/dist/ui-sdk.js +16 -16
  14. package/dist/ui-sdk.umd.cjs +865 -744
  15. package/dist/{useValidation-B4q8qUvG.js → useValidation-KcXmMBtR.js} +2 -2
  16. package/dist/{useWtTable-CUpN0LZ5.js → useWtTable-AYb1yHre.js} +1 -1
  17. package/dist/{utils-DaacyMAw.js → utils-DHSDTqJG.js} +1 -1
  18. package/dist/vue-i18n-VBiROMZ4.js +3031 -0
  19. package/dist/{vue-router-CobN9tLi.js → vue-router-C9sRzLyg.js} +1 -1
  20. package/dist/{wt-action-bar-ChLl_-jR.js → wt-action-bar-TwclxZyb.js} +3 -3
  21. package/dist/{wt-badge-C8O4Oarp.js → wt-badge-DbplVXor.js} +1 -1
  22. package/dist/{wt-button-BmBqpEkp.js → wt-button-rUZKbswL.js} +4 -4
  23. package/dist/{wt-chat-emoji-B1THVkoV.js → wt-chat-emoji-BATwPh2q.js} +4 -4
  24. package/dist/{wt-datepicker-C1kACub3.js → wt-datepicker-C4wrYXt9.js} +11 -11
  25. package/dist/{wt-display-chip-items-DyGS9NUo.js → wt-display-chip-items-N20vx27z.js} +2 -2
  26. package/dist/{wt-dual-panel-D5TCilWN.js → wt-dual-panel-CjWwG7y6.js} +7 -7
  27. package/dist/{wt-expansion-card-2wdr_Hpi.js → wt-expansion-card-vv5ctpfw.js} +2 -2
  28. package/dist/{wt-expansion-panel-DP8zz2tS.js → wt-expansion-panel-3tx3DGUp.js} +1 -1
  29. package/dist/{wt-galleria-iRpRiDc6.js → wt-galleria-DcZRuekj.js} +2 -2
  30. package/dist/{wt-icon-CZlhT7Yb.js → wt-icon-B4wxzcVG.js} +4 -4
  31. package/dist/{wt-icon-action-g26vM7fD.js → wt-icon-action-CTPCemTs.js} +3 -3
  32. package/dist/{wt-icon-btn-C8xuTCJR.js → wt-icon-btn-D3lG7Acn.js} +1 -1
  33. package/dist/{wt-notifications-bar-BDOKlHao.js → wt-notifications-bar-BMV-0Vmo.js} +2 -2
  34. package/dist/{wt-player-Dqlccj2F.js → wt-player-DBsbjt_l.js} +5 -5
  35. package/dist/{wt-popover-DuZFw3bg.js → wt-popover-BI6YyXy0.js} +1 -1
  36. package/dist/{wt-screen-recordings-action-biHVl6lR.js → wt-screen-recordings-action-D2PKGnNl.js} +1 -1
  37. package/dist/{wt-search-bar-ByF2Wjsg.js → wt-search-bar-CFANAMNQ.js} +1 -1
  38. package/dist/{wt-selection-popup-Bd4EuLl-.js → wt-selection-popup-Dei_JZah.js} +1 -1
  39. package/dist/{wt-send-message-popup-hQXe6TDx.js → wt-send-message-popup-DSZ7srx4.js} +7 -7
  40. package/dist/{wt-slider-Co6hZQu_.js → wt-slider-x-Tch7RT.js} +1 -1
  41. package/dist/{wt-start-page-Bp7b0ir-.js → wt-start-page-2Bdzg5V5.js} +1 -1
  42. package/dist/{wt-status-select-BOmAd__4.js → wt-status-select-Bgtu5WrX.js} +11 -11
  43. package/dist/{wt-table-D6pqHeiy.js → wt-table-DMEjT0xF.js} +8 -8
  44. package/dist/{wt-table-column-select-BtFhZKPT.js → wt-table-column-select-DzXaRs03.js} +3 -3
  45. package/dist/{wt-timepicker-C4kMPkNd.js → wt-timepicker-B-ZZUyDZ.js} +5 -5
  46. package/dist/{wt-toast-DbYB-u-k.js → wt-toast-pXV44Y3v.js} +10 -10
  47. package/dist/{wt-tree-BH2o2iCt.js → wt-tree-Cu_yRDjp.js} +98 -98
  48. package/dist/{wt-tree-table-BCyo4w2x.js → wt-tree-table-BET1GUgf.js} +3 -3
  49. package/dist/wt-type-extension-value-input-B1-ScgJm.js +14743 -0
  50. package/dist/{wt-vidstack-player-DEoNCYM4.js → wt-vidstack-player-C_EdEZ8v.js} +6 -6
  51. package/package.json +109 -28
  52. package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +19 -5
  53. package/src/components/wt-icon-action/__tests__/WtIconAction.spec.js +1 -1
  54. package/src/components/wt-icon-action/wt-icon-action.vue +1 -1
  55. package/src/components/wt-table/wt-table.vue +1 -1
  56. package/src/locale/en/en.js +1 -1
  57. package/src/locale/es/es.js +1 -1
  58. package/src/locale/kz/kz.js +1 -1
  59. package/src/locale/pl/pl.js +1 -1
  60. package/src/locale/ro/ro.js +1 -1
  61. package/src/locale/ru/ru.js +1 -1
  62. package/src/locale/uk/uk.js +1 -1
  63. package/src/locale/uz/uz.js +1 -1
  64. package/src/locale/vi/vi.js +1 -1
  65. package/src/modules/QueryFilters/mixins/sortFilterMixin.js +1 -1
  66. package/src/modules/TableStoreModule/store/TableStoreModule.js +1 -1
  67. package/src/modules/TableStoreModule/store/__tests__/TableStoreModule.spec.js +1 -1
  68. package/src/modules/Userinfo/composables/useLookupFieldReadAccess.ts +54 -0
  69. package/src/modules/Userinfo/index.ts +10 -0
  70. package/src/modules/Userinfo/injection/filterReadAccess.ts +21 -0
  71. package/src/modules/Userinfo/mappings/lookupPathToScopeClass.ts +53 -0
  72. package/src/modules/Userinfo/scripts/typeObjectClass.ts +55 -0
  73. package/src/modules/Userinfo/stores/userinfoStore.ts +13 -2
  74. package/src/scripts/__tests__/{sortQueryAdapters.spec.js → sortQueryAdapters.spec.ts} +6 -1
  75. package/src/scripts/sortQueryAdapters.ts +45 -0
  76. package/src/store/new/modules/tableStoreModule/__tests__/tableStoreModule.spec.js +1 -1
  77. package/src/store/new/modules/tableStoreModule/tableStoreModule.js +1 -1
  78. package/types/.tsbuildinfo +1 -1
  79. package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +11 -4
  80. package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +1 -1
  81. package/types/modules/Flow/lookups/FlowTypeApplications.lookup.d.ts +5 -5
  82. package/types/modules/Userinfo/composables/useLookupFieldReadAccess.d.ts +14 -0
  83. package/types/modules/Userinfo/index.d.ts +2 -0
  84. package/types/modules/Userinfo/injection/filterReadAccess.d.ts +7 -0
  85. package/types/modules/Userinfo/mappings/lookupPathToScopeClass.d.ts +3 -0
  86. package/types/modules/Userinfo/scripts/typeObjectClass.d.ts +2 -0
  87. package/types/modules/Userinfo/stores/userinfoStore.d.ts +25 -15
  88. package/types/scripts/sortQueryAdapters.d.ts +9 -7
  89. package/dist/vue-i18n-B88GcHzn.js +0 -2275
  90. package/dist/wt-type-extension-value-input-iYTsO1em.js +0 -109
  91. package/src/scripts/sortQueryAdapters.js +0 -38
  92. package/types/scripts/__tests__/sortQueryAdapters.spec.d.ts +0 -1
@@ -1,9 +1,9 @@
1
- import { r as e, s as t } from "./dist-DB8lC4KJ.js";
2
- import { a as n, i as r, n as i, t as a } from "./genClient-5JkKKac8.js";
3
- import { i as o, r as s } from "./caseConverters-6cy_SaV5.js";
4
- import { i as c, l, s as u } from "./convertDuration-heRoQzks.js";
5
- import { p as d } from "./enums-BDtfwdQu.js";
6
- import { t as f } from "./deep-copy-7O5ej7vT.js";
1
+ import { c as e, r as t } from "./dist-EXdgfpvN.js";
2
+ import { a as n, i as r, n as i, t as a } from "./genClient-CvWlQ0TZ.js";
3
+ import { i as o, r as s } from "./caseConverters-DGri4uJo.js";
4
+ import { i as c, l, s as u } from "./convertDuration-BOe9PsRT.js";
5
+ import { b as d } from "./enums-CsINFPBu.js";
6
+ import { t as f } from "./deep-copy-BJdHBMNZ.js";
7
7
  import { get as p, set as m } from "lodash-es";
8
8
  import * as h from "zod";
9
9
  import { z as g } from "zod";
@@ -28,7 +28,7 @@ var v = (e) => e.keyof().options, y = {
28
28
  skipEmptyString: !0,
29
29
  skipNull: !0,
30
30
  arrayFormat: "repeat"
31
- })}`, T = /* @__PURE__ */ t((/* @__PURE__ */ e(((e, t) => {
31
+ })}`, T = /* @__PURE__ */ t(((e, t) => {
32
32
  var n = function(e) {
33
33
  return r(e) && !i(e);
34
34
  };
@@ -96,7 +96,7 @@ var v = (e) => e.keyof().options, y = {
96
96
  return g(e, n, t);
97
97
  }, {});
98
98
  }, t.exports = g;
99
- })))(), 1), E = (...e) => (t) => T.default.all([...e, t]), D = (...e) => (t) => t.map((t) => T.default.all([...e, t])), O = {
99
+ })), E = /* @__PURE__ */ e(T(), 1), D = (...e) => (t) => E.default.all([...e, t]), O = (...e) => (t) => t.map((t) => E.default.all([...e, t])), ee = {
100
100
  eventBus: null,
101
101
  i18n: null
102
102
  };
@@ -104,7 +104,7 @@ var v = (e) => e.keyof().options, y = {
104
104
  //#region packages/api-services/src/api/transformers/notify/notify.transformer.ts
105
105
  function k(e) {
106
106
  if (typeof e == "function") {
107
- let t = ({ type: e, text: t }) => O.eventBus?.$emit("notification", {
107
+ let t = ({ type: e, text: t }) => ee.eventBus?.$emit("notification", {
108
108
  type: e,
109
109
  text: t
110
110
  });
@@ -112,7 +112,7 @@ function k(e) {
112
112
  }
113
113
  if (e instanceof Error) {
114
114
  let { response: t } = e, n = t?.data?.translation || t?.data?.detail || t?.data?.message || e;
115
- O.eventBus?.$emit("notification", {
115
+ ee.eventBus?.$emit("notification", {
116
116
  type: "error",
117
117
  text: n
118
118
  });
@@ -121,10 +121,10 @@ function k(e) {
121
121
  }
122
122
  //#endregion
123
123
  //#region packages/api-services/src/api/transformers/sanitize/sanitize.transformer.ts
124
- var A = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), j = (e = []) => (t) => o(t, e), ee = /* @__PURE__ */ t(f(), 1), M = (e = "search") => (t) => {
125
- let n = (0, ee.default)(t), r = p(n, e);
124
+ var A = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), j = (e = []) => (t) => o(t, e), te = /* @__PURE__ */ e(f(), 1), M = (e = "search") => (t) => {
125
+ let n = (0, te.default)(t), r = p(n, e);
126
126
  return !r || r.slice(-1) === "*" ? n : m(n, e, `${r}*`);
127
- }, te = "acl", ne = (e) => e.map((e) => ({
127
+ }, ne = "acl", re = (e) => e.map((e) => ({
128
128
  ...e,
129
129
  access: {
130
130
  x: {
@@ -156,7 +156,7 @@ var A = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n
156
156
  "fields",
157
157
  "id"
158
158
  ], a = { user: !1 }, o = S(r, [
159
- E(x()),
159
+ D(x()),
160
160
  M("search"),
161
161
  (e) => ({
162
162
  ...e,
@@ -164,12 +164,12 @@ var A = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n
164
164
  }),
165
165
  A(i),
166
166
  C(),
167
- w(`${e}/${n}/${te}`)
167
+ w(`${e}/${n}/${ne}`)
168
168
  ]);
169
169
  try {
170
- let { items: e, next: n } = S((await t.get(o)).data, [j(), E(b())]);
170
+ let { items: e, next: n } = S((await t.get(o)).data, [j(), D(b())]);
171
171
  return {
172
- items: S(e, [D(a), ne]),
172
+ items: S(e, [O(a), re]),
173
173
  next: n
174
174
  };
175
175
  } catch (e) {
@@ -177,7 +177,7 @@ var A = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n
177
177
  }
178
178
  },
179
179
  patchPermissions: async ({ changes: n, id: r }) => {
180
- let i = S(n, [C()]), a = `${e}/${r}/${te}`;
180
+ let i = S(n, [C()]), a = `${e}/${r}/${ne}`;
181
181
  try {
182
182
  return S((await t.patch(a, i)).data, [j()]);
183
183
  } catch (e) {
@@ -284,7 +284,7 @@ h.object({
284
284
  "object.name": h.string().describe("display name"),
285
285
  "object.id": h.string().describe("identifier")
286
286
  });
287
- var re = h.object({
287
+ var ie = h.object({
288
288
  grantee: h.string().optional(),
289
289
  grants: h.string().optional(),
290
290
  object: h.object({
@@ -292,7 +292,7 @@ var re = h.object({
292
292
  name: h.string().optional()
293
293
  }).optional()
294
294
  });
295
- h.array(re), h.object({
295
+ h.array(ie), h.object({
296
296
  granted: h.string().optional(),
297
297
  revoked: h.string().optional()
298
298
  }), h.object({
@@ -516,11 +516,13 @@ h.array(re), h.object({
516
516
  close_reason: h.string().optional(),
517
517
  closed_at: h.string().optional(),
518
518
  contact: h.object({
519
+ etag: h.string().optional().describe("Contact source identifier."),
519
520
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
520
521
  name: h.string().optional().describe("Contact display **name**."),
521
522
  type: h.string().optional().describe("Contact **type** provider.")
522
523
  }).optional().describe("Peer contact."),
523
524
  gateway: h.object({
525
+ etag: h.string().optional().describe("Contact source identifier."),
524
526
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
525
527
  name: h.string().optional().describe("Contact display **name**."),
526
528
  type: h.string().optional().describe("Contact **type** provider.")
@@ -538,17 +540,20 @@ h.array(re), h.object({
538
540
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
539
541
  left: h.string().optional(),
540
542
  peer: h.object({
543
+ etag: h.string().optional().describe("Contact source identifier."),
541
544
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
542
545
  name: h.string().optional().describe("Contact display **name**."),
543
546
  type: h.string().optional().describe("Contact **type** provider.")
544
547
  }).optional().describe("[FROM]: User identity. Seed."),
545
548
  queue: h.object({
549
+ etag: h.string().optional().describe("Contact source identifier."),
546
550
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
547
551
  name: h.string().optional().describe("Contact display **name**."),
548
552
  type: h.string().optional().describe("Contact **type** provider.")
549
553
  }).optional().describe("Peer contact."),
550
554
  title: h.string().optional().describe("[TO]: Chat title."),
551
555
  via: h.object({
556
+ etag: h.string().optional().describe("Contact source identifier."),
552
557
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
553
558
  name: h.string().optional().describe("Contact display **name**."),
554
559
  type: h.string().optional().describe("Contact **type** provider.")
@@ -565,6 +570,7 @@ h.array(re), h.object({
565
570
  url: h.string().optional()
566
571
  }).optional().describe("Message Media. Attachment."),
567
572
  from: h.object({
573
+ etag: h.string().optional().describe("Contact source identifier."),
568
574
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
569
575
  name: h.string().optional().describe("Contact display **name**."),
570
576
  type: h.string().optional().describe("Contact **type** provider.")
@@ -601,17 +607,20 @@ h.array(re), h.object({
601
607
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
602
608
  left: h.string().optional(),
603
609
  peer: h.object({
610
+ etag: h.string().optional().describe("Contact source identifier."),
604
611
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
605
612
  name: h.string().optional().describe("Contact display **name**."),
606
613
  type: h.string().optional().describe("Contact **type** provider.")
607
614
  }).optional().describe("[FROM]: User identity. Seed."),
608
615
  queue: h.object({
616
+ etag: h.string().optional().describe("Contact source identifier."),
609
617
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
610
618
  name: h.string().optional().describe("Contact display **name**."),
611
619
  type: h.string().optional().describe("Contact **type** provider.")
612
620
  }).optional().describe("Peer contact."),
613
621
  title: h.string().optional().describe("[TO]: Chat title."),
614
622
  via: h.object({
623
+ etag: h.string().optional().describe("Contact source identifier."),
615
624
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
616
625
  name: h.string().optional().describe("Contact display **name**."),
617
626
  type: h.string().optional().describe("Contact **type** provider.")
@@ -620,6 +629,7 @@ h.array(re), h.object({
620
629
  text: h.string().optional().describe("Message Text.")
621
630
  }).optional().describe("Chat Message."),
622
631
  queue: h.object({
632
+ etag: h.string().optional().describe("Contact source identifier."),
623
633
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
624
634
  name: h.string().optional().describe("Contact display **name**."),
625
635
  type: h.string().optional().describe("Contact **type** provider.")
@@ -640,6 +650,19 @@ h.array(re), h.object({
640
650
  sort: h.string().optional(),
641
651
  fields: h.array(h.string()).optional(),
642
652
  id: h.array(h.int()).optional()
653
+ }), h.object({
654
+ items: h.array(h.object({
655
+ id: h.int().optional(),
656
+ tag: h.string().optional()
657
+ })).optional(),
658
+ next: h.boolean().optional()
659
+ }), h.object({
660
+ page: h.int().optional(),
661
+ size: h.int().optional(),
662
+ q: h.string().optional(),
663
+ sort: h.string().optional(),
664
+ fields: h.array(h.string()).optional(),
665
+ id: h.array(h.int()).optional()
643
666
  }), h.object({
644
667
  items: h.array(h.object({
645
668
  allow_admin: h.boolean().optional(),
@@ -3048,16 +3071,27 @@ h.object({
3048
3071
  id: h.string().optional(),
3049
3072
  name: h.string().optional(),
3050
3073
  type: h.string().optional()
3051
- }).optional().describe("User who uploaded the file."),
3074
+ }).optional().describe("User who attached the file."),
3052
3075
  id: h.string().optional().describe("Storage file id."),
3053
3076
  mime: h.string().optional().describe("MIME type."),
3054
3077
  name: h.string().optional().describe("File name."),
3055
3078
  size: h.string().optional().describe("File size in bytes."),
3056
- source: h.string().optional().describe("Storage source."),
3057
3079
  url: h.string().optional().describe("Download url.")
3058
3080
  }).describe("File is metadata of a stored file bound to an article.")).optional().describe("Files on this page."),
3059
3081
  next: h.boolean().optional().describe("Whether a next page exists.")
3060
- }).describe("FileList is a page of files."), h.object({
3082
+ }).describe("FileList is a page of files."), h.object({ article_etag: h.string().describe("Concurrency token / locator of the owning article.") }), h.object({ file_id: h.string().optional().describe("Storage file id, as the upload returned it.") }).describe("AttachFileRequest binds a file already uploaded to Storage."), h.object({
3083
+ created_at: h.string().optional().describe("CreatedAt timestamp (epoch ms)."),
3084
+ created_by: h.object({
3085
+ id: h.string().optional(),
3086
+ name: h.string().optional(),
3087
+ type: h.string().optional()
3088
+ }).optional().describe("User who attached the file."),
3089
+ id: h.string().optional().describe("Storage file id."),
3090
+ mime: h.string().optional().describe("MIME type."),
3091
+ name: h.string().optional().describe("File name."),
3092
+ size: h.string().optional().describe("File size in bytes."),
3093
+ url: h.string().optional().describe("Download url.")
3094
+ }).describe("File is metadata of a stored file bound to an article."), h.object({
3061
3095
  article_etag: h.string().describe("Concurrency token / locator of the owning article."),
3062
3096
  id: h.string().describe("File id.")
3063
3097
  }), h.object({
@@ -3066,12 +3100,11 @@ h.object({
3066
3100
  id: h.string().optional(),
3067
3101
  name: h.string().optional(),
3068
3102
  type: h.string().optional()
3069
- }).optional().describe("User who uploaded the file."),
3103
+ }).optional().describe("User who attached the file."),
3070
3104
  id: h.string().optional().describe("Storage file id."),
3071
3105
  mime: h.string().optional().describe("MIME type."),
3072
3106
  name: h.string().optional().describe("File name."),
3073
3107
  size: h.string().optional().describe("File size in bytes."),
3074
- source: h.string().optional().describe("Storage source."),
3075
3108
  url: h.string().optional().describe("Download url.")
3076
3109
  }).describe("File is metadata of a stored file bound to an article."), h.object({
3077
3110
  page: h.int().optional(),
@@ -4786,6 +4819,7 @@ h.object({
4786
4819
  id: h.string().optional(),
4787
4820
  name: h.string().optional()
4788
4821
  }).optional(),
4822
+ user_agent: h.string().optional(),
4789
4823
  variables: h.record(h.string(), h.string()).optional(),
4790
4824
  wait_sec: h.int().optional()
4791
4825
  })).optional(),
@@ -5073,6 +5107,7 @@ h.object({
5073
5107
  id: h.string().optional(),
5074
5108
  name: h.string().optional()
5075
5109
  }).optional(),
5110
+ user_agent: h.string().optional(),
5076
5111
  variables: h.record(h.string(), h.string()).optional(),
5077
5112
  wait_sec: h.int().optional()
5078
5113
  })).optional(),
@@ -5423,9 +5458,129 @@ h.object({
5423
5458
  id: h.string().optional(),
5424
5459
  name: h.string().optional()
5425
5460
  }).optional(),
5461
+ user_agent: h.string().optional(),
5426
5462
  variables: h.record(h.string(), h.string()).optional(),
5427
5463
  wait_sec: h.int().optional()
5428
- }), h.object({ etag: h.string().describe("Identifier of the comment to delete.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to return after deletion.") }), h.object({
5464
+ }), h.object({ id: h.string() }), h.object({
5465
+ description: h.string().optional(),
5466
+ variables: h.record(h.string(), h.string()).optional()
5467
+ }), h.object({
5468
+ description: h.string().optional(),
5469
+ id: h.string().optional(),
5470
+ variables: h.record(h.string(), h.string()).optional()
5471
+ }), h.object({ article_id: h.string() }), h.object({
5472
+ page: h.int().optional(),
5473
+ size: h.int().optional()
5474
+ }), h.object({
5475
+ items: h.array(h.object({
5476
+ article: h.object({
5477
+ id: h.string().optional(),
5478
+ name: h.string().optional()
5479
+ }).optional().describe("Knowledge base article; id only."),
5480
+ case: h.object({
5481
+ color: h.string().optional(),
5482
+ etag: h.string().optional(),
5483
+ id: h.string().optional(),
5484
+ name: h.string().optional(),
5485
+ subject: h.string().optional(),
5486
+ ver: h.int().optional()
5487
+ }).optional().describe("Linked case; set on the article side."),
5488
+ created_at: h.string().optional().describe("Unixmilli; empty for the close article."),
5489
+ created_by: h.object({
5490
+ id: h.string().optional(),
5491
+ name: h.string().optional()
5492
+ }).optional().describe("Empty for the close article."),
5493
+ source: h.enum([
5494
+ "CASE_ARTICLE_SOURCE_UNSPECIFIED",
5495
+ "CASE_ARTICLE_SOURCE_MANUAL",
5496
+ "CASE_ARTICLE_SOURCE_RESOLUTION"
5497
+ ]).default("CASE_ARTICLE_SOURCE_UNSPECIFIED").describe("How a knowledge base article got linked to a case.\n\n - CASE_ARTICLE_SOURCE_MANUAL: Linked by an operator.\n - CASE_ARTICLE_SOURCE_RESOLUTION: The close article of the case.")
5498
+ }).describe("Knowledge base article linked to a case.")).optional(),
5499
+ next: h.boolean().optional(),
5500
+ page: h.string().optional()
5501
+ }), h.object({ case_etag: h.string() }), h.object({
5502
+ page: h.int().optional(),
5503
+ size: h.int().optional()
5504
+ }), h.object({
5505
+ items: h.array(h.object({
5506
+ article: h.object({
5507
+ id: h.string().optional(),
5508
+ name: h.string().optional()
5509
+ }).optional().describe("Knowledge base article; id only."),
5510
+ case: h.object({
5511
+ color: h.string().optional(),
5512
+ etag: h.string().optional(),
5513
+ id: h.string().optional(),
5514
+ name: h.string().optional(),
5515
+ subject: h.string().optional(),
5516
+ ver: h.int().optional()
5517
+ }).optional().describe("Linked case; set on the article side."),
5518
+ created_at: h.string().optional().describe("Unixmilli; empty for the close article."),
5519
+ created_by: h.object({
5520
+ id: h.string().optional(),
5521
+ name: h.string().optional()
5522
+ }).optional().describe("Empty for the close article."),
5523
+ source: h.enum([
5524
+ "CASE_ARTICLE_SOURCE_UNSPECIFIED",
5525
+ "CASE_ARTICLE_SOURCE_MANUAL",
5526
+ "CASE_ARTICLE_SOURCE_RESOLUTION"
5527
+ ]).default("CASE_ARTICLE_SOURCE_UNSPECIFIED").describe("How a knowledge base article got linked to a case.\n\n - CASE_ARTICLE_SOURCE_MANUAL: Linked by an operator.\n - CASE_ARTICLE_SOURCE_RESOLUTION: The close article of the case.")
5528
+ }).describe("Knowledge base article linked to a case.")).optional(),
5529
+ next: h.boolean().optional(),
5530
+ page: h.string().optional()
5531
+ }), h.object({ case_etag: h.string() }), h.object({ article: h.object({
5532
+ id: h.string().optional(),
5533
+ name: h.string().optional()
5534
+ }).optional().describe("Knowledge base article to link.") }), h.object({
5535
+ article: h.object({
5536
+ id: h.string().optional(),
5537
+ name: h.string().optional()
5538
+ }).optional().describe("Knowledge base article; id only."),
5539
+ case: h.object({
5540
+ color: h.string().optional(),
5541
+ etag: h.string().optional(),
5542
+ id: h.string().optional(),
5543
+ name: h.string().optional(),
5544
+ subject: h.string().optional(),
5545
+ ver: h.int().optional()
5546
+ }).optional().describe("Linked case; set on the article side."),
5547
+ created_at: h.string().optional().describe("Unixmilli; empty for the close article."),
5548
+ created_by: h.object({
5549
+ id: h.string().optional(),
5550
+ name: h.string().optional()
5551
+ }).optional().describe("Empty for the close article."),
5552
+ source: h.enum([
5553
+ "CASE_ARTICLE_SOURCE_UNSPECIFIED",
5554
+ "CASE_ARTICLE_SOURCE_MANUAL",
5555
+ "CASE_ARTICLE_SOURCE_RESOLUTION"
5556
+ ]).default("CASE_ARTICLE_SOURCE_UNSPECIFIED").describe("How a knowledge base article got linked to a case.\n\n - CASE_ARTICLE_SOURCE_MANUAL: Linked by an operator.\n - CASE_ARTICLE_SOURCE_RESOLUTION: The close article of the case.")
5557
+ }).describe("Knowledge base article linked to a case."), h.object({
5558
+ case_etag: h.string(),
5559
+ article_id: h.string()
5560
+ }), h.object({
5561
+ article: h.object({
5562
+ id: h.string().optional(),
5563
+ name: h.string().optional()
5564
+ }).optional().describe("Knowledge base article; id only."),
5565
+ case: h.object({
5566
+ color: h.string().optional(),
5567
+ etag: h.string().optional(),
5568
+ id: h.string().optional(),
5569
+ name: h.string().optional(),
5570
+ subject: h.string().optional(),
5571
+ ver: h.int().optional()
5572
+ }).optional().describe("Linked case; set on the article side."),
5573
+ created_at: h.string().optional().describe("Unixmilli; empty for the close article."),
5574
+ created_by: h.object({
5575
+ id: h.string().optional(),
5576
+ name: h.string().optional()
5577
+ }).optional().describe("Empty for the close article."),
5578
+ source: h.enum([
5579
+ "CASE_ARTICLE_SOURCE_UNSPECIFIED",
5580
+ "CASE_ARTICLE_SOURCE_MANUAL",
5581
+ "CASE_ARTICLE_SOURCE_RESOLUTION"
5582
+ ]).default("CASE_ARTICLE_SOURCE_UNSPECIFIED").describe("How a knowledge base article got linked to a case.\n\n - CASE_ARTICLE_SOURCE_MANUAL: Linked by an operator.\n - CASE_ARTICLE_SOURCE_RESOLUTION: The close article of the case.")
5583
+ }).describe("Knowledge base article linked to a case."), h.object({ etag: h.string().describe("Identifier of the comment to delete.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to return after deletion.") }), h.object({
5429
5584
  author: h.object({
5430
5585
  id: h.string().optional(),
5431
5586
  name: h.string().optional()
@@ -5711,7 +5866,7 @@ h.object({
5711
5866
  next: h.boolean().optional(),
5712
5867
  page: h.string().optional()
5713
5868
  }), h.object({ case_etag: h.string().describe("new comment link") });
5714
- var ie = h.object({
5869
+ var ae = h.object({
5715
5870
  fields: h.array(h.string()).optional().describe("result fields needed on the front-end for each comment"),
5716
5871
  "input.etag": h.string().optional(),
5717
5872
  "input.url": h.string().optional(),
@@ -6005,6 +6160,10 @@ h.object({
6005
6160
  id: h.string().optional(),
6006
6161
  name: h.string().optional()
6007
6162
  }).optional().describe("Author or reporter of the case."),
6163
+ close_article: h.object({
6164
+ id: h.string().optional(),
6165
+ name: h.string().optional()
6166
+ }).optional().describe("Knowledge base article chosen as the close reason; id only."),
6008
6167
  close_reason: h.object({
6009
6168
  id: h.string().optional(),
6010
6169
  name: h.string().optional()
@@ -6077,6 +6236,8 @@ h.object({
6077
6236
  name: h.string().optional(),
6078
6237
  type: h.string().optional()
6079
6238
  }).optional().describe("Group associated with the case."),
6239
+ has_next: h.boolean().optional(),
6240
+ has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
6080
6241
  id: h.string().optional().describe("Unique case ID."),
6081
6242
  impacted: h.object({
6082
6243
  id: h.string().optional(),
@@ -6289,11 +6450,15 @@ h.object({
6289
6450
  fields: h.array(h.string()).optional().describe("List of fields to include in the response."),
6290
6451
  disableTrigger: h.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]")
6291
6452
  });
6292
- var ae = h.object({
6453
+ var oe = h.object({
6293
6454
  assignee: h.object({
6294
6455
  id: h.string().optional(),
6295
6456
  name: h.string().optional()
6296
6457
  }).optional().describe("Optional assignee ID."),
6458
+ close_article: h.object({
6459
+ id: h.string().optional(),
6460
+ name: h.string().optional()
6461
+ }).optional().describe("Optional knowledge base article chosen as the close reason."),
6297
6462
  close_reason: h.object({
6298
6463
  id: h.string().optional(),
6299
6464
  name: h.string().optional()
@@ -6380,6 +6545,10 @@ h.object({
6380
6545
  id: h.string().optional(),
6381
6546
  name: h.string().optional()
6382
6547
  }).optional().describe("Author or reporter of the case."),
6548
+ close_article: h.object({
6549
+ id: h.string().optional(),
6550
+ name: h.string().optional()
6551
+ }).optional().describe("Knowledge base article chosen as the close reason; id only."),
6383
6552
  close_reason: h.object({
6384
6553
  id: h.string().optional(),
6385
6554
  name: h.string().optional()
@@ -6452,6 +6621,8 @@ h.object({
6452
6621
  name: h.string().optional(),
6453
6622
  type: h.string().optional()
6454
6623
  }).optional().describe("Group associated with the case."),
6624
+ has_next: h.boolean().optional(),
6625
+ has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
6455
6626
  id: h.string().optional().describe("Unique case ID."),
6456
6627
  impacted: h.object({
6457
6628
  id: h.string().optional(),
@@ -6684,6 +6855,10 @@ h.object({
6684
6855
  id: h.string().optional(),
6685
6856
  name: h.string().optional()
6686
6857
  }).optional().describe("Author or reporter of the case."),
6858
+ close_article: h.object({
6859
+ id: h.string().optional(),
6860
+ name: h.string().optional()
6861
+ }).optional().describe("Knowledge base article chosen as the close reason; id only."),
6687
6862
  close_reason: h.object({
6688
6863
  id: h.string().optional(),
6689
6864
  name: h.string().optional()
@@ -6756,6 +6931,8 @@ h.object({
6756
6931
  name: h.string().optional(),
6757
6932
  type: h.string().optional()
6758
6933
  }).optional().describe("Group associated with the case."),
6934
+ has_next: h.boolean().optional(),
6935
+ has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
6759
6936
  id: h.string().optional().describe("Unique case ID."),
6760
6937
  impacted: h.object({
6761
6938
  id: h.string().optional(),
@@ -6961,7 +7138,15 @@ h.object({
6961
7138
  name: h.string().optional()
6962
7139
  }).optional().describe("Last updater of the case."),
6963
7140
  ver: h.int().optional().describe("Version number of the case.")
6964
- }).describe("Message representing a case."), h.object({ etag: h.string().describe("Unique etag identifier of the case.") }), h.object({ fields: h.array(h.string()).optional().describe("List of fields to include in the response.") }), h.object({
7141
+ }).describe("Message representing a case."), h.object({ etag: h.string().describe("Unique etag identifier of the case.") }), h.object({
7142
+ fields: h.array(h.string()).optional().describe("List of fields to include in the response."),
7143
+ q: h.string().optional().describe("filters for next/prev case"),
7144
+ qin: h.string().optional(),
7145
+ sort: h.string().optional(),
7146
+ filters: h.array(h.string()).optional(),
7147
+ filters_v1: h.string().optional(),
7148
+ contact_id: h.string().optional()
7149
+ }), h.object({
6965
7150
  assignee: h.object({
6966
7151
  id: h.string().optional(),
6967
7152
  name: h.string().optional()
@@ -6970,6 +7155,10 @@ h.object({
6970
7155
  id: h.string().optional(),
6971
7156
  name: h.string().optional()
6972
7157
  }).optional().describe("Author or reporter of the case."),
7158
+ close_article: h.object({
7159
+ id: h.string().optional(),
7160
+ name: h.string().optional()
7161
+ }).optional().describe("Knowledge base article chosen as the close reason; id only."),
6973
7162
  close_reason: h.object({
6974
7163
  id: h.string().optional(),
6975
7164
  name: h.string().optional()
@@ -7042,6 +7231,313 @@ h.object({
7042
7231
  name: h.string().optional(),
7043
7232
  type: h.string().optional()
7044
7233
  }).optional().describe("Group associated with the case."),
7234
+ has_next: h.boolean().optional(),
7235
+ has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
7236
+ id: h.string().optional().describe("Unique case ID."),
7237
+ impacted: h.object({
7238
+ id: h.string().optional(),
7239
+ name: h.string().optional()
7240
+ }).optional().describe("Impacted contact (defaults to reporter if null)."),
7241
+ links: h.object({
7242
+ items: h.array(h.object({
7243
+ author: h.object({
7244
+ id: h.string().optional(),
7245
+ name: h.string().optional()
7246
+ }).optional(),
7247
+ created_at: h.string().optional(),
7248
+ created_by: h.object({
7249
+ id: h.string().optional(),
7250
+ name: h.string().optional()
7251
+ }).optional(),
7252
+ etag: h.string().optional(),
7253
+ id: h.string().optional(),
7254
+ name: h.string().optional(),
7255
+ updated_at: h.string().optional(),
7256
+ updated_by: h.object({
7257
+ id: h.string().optional(),
7258
+ name: h.string().optional()
7259
+ }).optional(),
7260
+ url: h.string().optional(),
7261
+ ver: h.int().optional()
7262
+ })).optional(),
7263
+ next: h.boolean().optional(),
7264
+ page: h.string().optional()
7265
+ }).optional().describe("List of attached links."),
7266
+ name: h.string().optional().describe("Name of the case (may serve as an ID in docs)."),
7267
+ planned_reaction_at: h.string().optional().describe("Planned reaction time (in milliseconds)."),
7268
+ planned_resolve_at: h.string().optional().describe("Planned resolution time (in milliseconds)."),
7269
+ priority: h.object({
7270
+ color: h.string(),
7271
+ created_at: h.string(),
7272
+ created_by: h.object({
7273
+ id: h.string().optional(),
7274
+ name: h.string().optional()
7275
+ }),
7276
+ description: h.string().optional(),
7277
+ id: h.string(),
7278
+ name: h.string(),
7279
+ updated_at: h.string(),
7280
+ updated_by: h.object({
7281
+ id: h.string().optional(),
7282
+ name: h.string().optional()
7283
+ })
7284
+ }).optional().describe("Priority level of the case."),
7285
+ rating: h.string().optional(),
7286
+ rating_comment: h.string().optional(),
7287
+ reacted_at: h.string().optional(),
7288
+ related: h.object({
7289
+ data: h.array(h.object({
7290
+ created_at: h.string().optional().describe("Timestamp (in milliseconds) of when the relation was created."),
7291
+ created_by: h.object({
7292
+ id: h.string().optional(),
7293
+ name: h.string().optional()
7294
+ }).optional().describe("User who created the relation."),
7295
+ etag: h.string().optional().describe("Etag for the related case entity."),
7296
+ id: h.string().optional().describe("Unique identifier for the related case."),
7297
+ primary_case: h.object({
7298
+ color: h.string().optional(),
7299
+ etag: h.string().optional(),
7300
+ id: h.string().optional(),
7301
+ name: h.string().optional(),
7302
+ subject: h.string().optional(),
7303
+ ver: h.int().optional()
7304
+ }).optional().describe("Primary case details."),
7305
+ related_case: h.object({
7306
+ color: h.string().optional(),
7307
+ etag: h.string().optional(),
7308
+ id: h.string().optional(),
7309
+ name: h.string().optional(),
7310
+ subject: h.string().optional(),
7311
+ ver: h.int().optional()
7312
+ }).optional().describe("Related case details."),
7313
+ relation_type: h.enum([
7314
+ "RELATION_TYPE_UNSPECIFIED",
7315
+ "DUPLICATES",
7316
+ "IS_DUPLICATED_BY",
7317
+ "BLOCKS",
7318
+ "IS_BLOCKED_BY",
7319
+ "CAUSES",
7320
+ "IS_CAUSED_BY",
7321
+ "IS_CHILD_OF",
7322
+ "IS_PARENT_OF",
7323
+ "RELATES_TO"
7324
+ ]).default("RELATION_TYPE_UNSPECIFIED").describe("Relation type between cases."),
7325
+ updated_at: h.string().optional().describe("Timestamp (in milliseconds) of the last update."),
7326
+ updated_by: h.object({
7327
+ id: h.string().optional(),
7328
+ name: h.string().optional()
7329
+ }).optional().describe("User who last updated the relation."),
7330
+ ver: h.int().optional().describe("Version number of the related case, used for concurrency control.")
7331
+ }).describe("Represents a related case with its relationship details.")).optional().describe("List of related cases on the current page."),
7332
+ next: h.boolean().optional().describe("Flag to indicate if more pages are available."),
7333
+ page: h.string().optional().describe("Current page number.")
7334
+ }).optional().describe("List of related cases."),
7335
+ reporter: h.object({
7336
+ id: h.string().optional(),
7337
+ name: h.string().optional()
7338
+ }).optional().describe("Reporter of the issue (null if anonymous)."),
7339
+ resolved_at: h.string().optional(),
7340
+ role_ids: h.array(h.string()).optional(),
7341
+ service: h.object({
7342
+ assignee: h.object({
7343
+ id: h.string().optional(),
7344
+ name: h.string().optional()
7345
+ }).optional(),
7346
+ catalog_id: h.string().optional(),
7347
+ code: h.string().optional(),
7348
+ created_at: h.string().optional(),
7349
+ created_by: h.object({
7350
+ id: h.string().optional(),
7351
+ name: h.string().optional()
7352
+ }).optional(),
7353
+ default_priority: h.object({
7354
+ color: h.string(),
7355
+ created_at: h.string(),
7356
+ created_by: h.object({
7357
+ id: h.string().optional(),
7358
+ name: h.string().optional()
7359
+ }),
7360
+ description: h.string().optional(),
7361
+ id: h.string(),
7362
+ name: h.string(),
7363
+ updated_at: h.string(),
7364
+ updated_by: h.object({
7365
+ id: h.string().optional(),
7366
+ name: h.string().optional()
7367
+ })
7368
+ }).optional().describe("Priority message represents a priority entity with metadata."),
7369
+ description: h.string().optional(),
7370
+ group: h.object({
7371
+ id: h.string().optional(),
7372
+ name: h.string().optional(),
7373
+ type: h.string().optional()
7374
+ }).optional(),
7375
+ id: h.string().optional(),
7376
+ name: h.string().optional(),
7377
+ root_id: h.string().optional(),
7378
+ searched: h.boolean().optional(),
7379
+ service: h.array(h.unknown()).optional(),
7380
+ sla: h.object({
7381
+ id: h.string().optional(),
7382
+ name: h.string().optional()
7383
+ }).optional(),
7384
+ state: h.boolean().optional(),
7385
+ updated_at: h.string().optional(),
7386
+ updated_by: h.object({
7387
+ id: h.string().optional(),
7388
+ name: h.string().optional()
7389
+ }).optional()
7390
+ }).optional().describe("Service associated with the case."),
7391
+ sla: h.object({
7392
+ id: h.string().optional(),
7393
+ name: h.string().optional()
7394
+ }).optional().describe("SLA associated with the case."),
7395
+ sla_condition: h.object({
7396
+ id: h.string().optional(),
7397
+ name: h.string().optional()
7398
+ }).optional().describe("List of SLA conditions."),
7399
+ source: h.object({
7400
+ id: h.string().optional(),
7401
+ name: h.string().optional(),
7402
+ type: h.enum([
7403
+ "TYPE_UNSPECIFIED",
7404
+ "CALL",
7405
+ "CHAT",
7406
+ "SOCIAL_MEDIA",
7407
+ "EMAIL",
7408
+ "API",
7409
+ "MANUAL"
7410
+ ]).default("TYPE_UNSPECIFIED").describe("Represents a source type for the source entity.\n\n - TYPE_UNSPECIFIED: Unspecified source type.\n - CALL: Phone call source type.\n - CHAT: Chat source type.\n - SOCIAL_MEDIA: Social media source type.\n - EMAIL: Email source type.\n - API: API source type.\n - MANUAL: Manual source type.")
7411
+ }).optional().describe("Source of the case."),
7412
+ status: h.object({
7413
+ id: h.string().optional(),
7414
+ name: h.string().optional()
7415
+ }).optional().describe("Current status of the case."),
7416
+ status_condition: h.object({
7417
+ created_at: h.string().optional(),
7418
+ created_by: h.object({
7419
+ id: h.string().optional(),
7420
+ name: h.string().optional()
7421
+ }).optional(),
7422
+ description: h.string().optional(),
7423
+ final: h.boolean().optional(),
7424
+ id: h.string().optional(),
7425
+ initial: h.boolean().optional(),
7426
+ name: h.string().optional(),
7427
+ status_id: h.string().optional(),
7428
+ updated_at: h.string().optional(),
7429
+ updated_by: h.object({
7430
+ id: h.string().optional(),
7431
+ name: h.string().optional()
7432
+ }).optional()
7433
+ }).optional().describe("Status condition from status lookup."),
7434
+ subject: h.string().optional().describe("Subject of the case."),
7435
+ updated_at: h.string().optional().describe("Last update timestamp (in milliseconds since Unix epoch)."),
7436
+ updated_by: h.object({
7437
+ id: h.string().optional(),
7438
+ name: h.string().optional()
7439
+ }).optional().describe("Last updater of the case."),
7440
+ ver: h.int().optional().describe("Version number of the case.")
7441
+ }).describe("Message representing a case."), h.object({ etag: h.string().describe("Etag of the case currently open, to step away from.") }), h.object({
7442
+ direction: h.enum([
7443
+ "CASE_NAV_DIRECTION_UNSPECIFIED",
7444
+ "NEXT",
7445
+ "PREV"
7446
+ ]).default("CASE_NAV_DIRECTION_UNSPECIFIED").describe("Required: which way to step."),
7447
+ fields: h.array(h.string()).optional().describe("List of fields to include in the response."),
7448
+ q: h.string().optional().describe("Same list context as LocateCaseRequest, and it must match what that call used."),
7449
+ qin: h.string().optional(),
7450
+ sort: h.string().optional(),
7451
+ filters: h.array(h.string()).optional(),
7452
+ filters_v1: h.string().optional(),
7453
+ contact_id: h.string().optional()
7454
+ }), h.object({
7455
+ assignee: h.object({
7456
+ id: h.string().optional(),
7457
+ name: h.string().optional()
7458
+ }).optional().describe("Assignee responsible for resolving the case."),
7459
+ author: h.object({
7460
+ id: h.string().optional(),
7461
+ name: h.string().optional()
7462
+ }).optional().describe("Author or reporter of the case."),
7463
+ close_article: h.object({
7464
+ id: h.string().optional(),
7465
+ name: h.string().optional()
7466
+ }).optional().describe("Knowledge base article chosen as the close reason; id only."),
7467
+ close_reason: h.object({
7468
+ id: h.string().optional(),
7469
+ name: h.string().optional()
7470
+ }).optional(),
7471
+ close_reason_group: h.object({
7472
+ id: h.string().optional(),
7473
+ name: h.string().optional()
7474
+ }).optional().describe("Close reason group, immutable once set."),
7475
+ close_result: h.string().optional(),
7476
+ comments: h.object({
7477
+ items: h.array(h.object({
7478
+ author: h.object({
7479
+ id: h.string().optional(),
7480
+ name: h.string().optional()
7481
+ }).optional().describe("Contact-author of the comment."),
7482
+ can_edit: h.boolean().optional().describe("Indicates if the comment can be edited by current user."),
7483
+ case_id: h.string().optional().describe("Optional relation to the associated case."),
7484
+ created_at: h.string().optional().describe("Timestamp (in milliseconds) of when the comment was created."),
7485
+ created_by: h.object({
7486
+ id: h.string().optional(),
7487
+ name: h.string().optional()
7488
+ }).optional().describe("User who created the comment."),
7489
+ edited: h.boolean().optional().describe("Indicates if the comment was edited; true if created_at < updated_at."),
7490
+ etag: h.string().optional(),
7491
+ id: h.string().optional().describe("Main identifier for read, update, and delete operations."),
7492
+ role_ids: h.array(h.string()).optional(),
7493
+ text: h.string().optional().describe("The content of the comment."),
7494
+ updated_at: h.string().optional().describe("Timestamp (in milliseconds) of the last update."),
7495
+ updated_by: h.object({
7496
+ id: h.string().optional(),
7497
+ name: h.string().optional()
7498
+ }).optional().describe("User who last updated the comment."),
7499
+ ver: h.int().optional().describe("Version number of the comment, used for concurrency control.")
7500
+ }).describe("Represents a comment associated with a case.")).optional().describe("List of comments on the current page."),
7501
+ next: h.boolean().optional().describe("Flag to indicate if more pages are available."),
7502
+ page: h.string().optional().describe("Current page number.")
7503
+ }).optional().describe("List of comments on the case."),
7504
+ contact_info: h.string().optional().describe("Contact information for the case."),
7505
+ created_at: h.string().optional().describe("Creation timestamp (in milliseconds since Unix epoch)."),
7506
+ created_by: h.object({
7507
+ id: h.string().optional(),
7508
+ name: h.string().optional()
7509
+ }).optional().describe("Creator of the case."),
7510
+ custom: h.looseObject({}).optional().describe("Custom data extension fields .."),
7511
+ dc: h.string().optional(),
7512
+ description: h.string().optional().describe("Detailed description of the case."),
7513
+ difference_in_reaction: h.string().optional(),
7514
+ difference_in_resolve: h.string().optional(),
7515
+ etag: h.string().optional().describe("Unique etag identifier."),
7516
+ files: h.object({
7517
+ items: h.array(h.object({
7518
+ created_at: h.string().optional().describe("Creation timestamp in Unix milliseconds."),
7519
+ created_by: h.object({
7520
+ id: h.string().optional(),
7521
+ name: h.string().optional(),
7522
+ type: h.string().optional()
7523
+ }).optional().describe("Creator of the file."),
7524
+ id: h.string().optional().describe("Storage file ID."),
7525
+ mime: h.string().optional().describe("MIME type of the file."),
7526
+ name: h.string().optional().describe("File name."),
7527
+ size: h.string().optional().describe("File size in bytes."),
7528
+ source: h.string().optional(),
7529
+ url: h.string().optional()
7530
+ }).describe("Metadata for a file associated with a case.")).optional().describe("List of case files."),
7531
+ next: h.boolean().optional().describe("Indicator if there is a next page."),
7532
+ page: h.string().optional().describe("Current page number.")
7533
+ }).optional().describe("List of attached files."),
7534
+ group: h.object({
7535
+ id: h.string().optional(),
7536
+ name: h.string().optional(),
7537
+ type: h.string().optional()
7538
+ }).optional().describe("Group associated with the case."),
7539
+ has_next: h.boolean().optional(),
7540
+ has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
7045
7541
  id: h.string().optional().describe("Unique case ID."),
7046
7542
  impacted: h.object({
7047
7543
  id: h.string().optional(),
@@ -7256,6 +7752,10 @@ h.object({
7256
7752
  id: h.string().optional(),
7257
7753
  name: h.string().optional()
7258
7754
  }).optional(),
7755
+ close_article: h.object({
7756
+ id: h.string().optional(),
7757
+ name: h.string().optional()
7758
+ }).optional(),
7259
7759
  close_reason: h.object({
7260
7760
  id: h.string().optional(),
7261
7761
  name: h.string().optional()
@@ -7327,6 +7827,10 @@ h.object({
7327
7827
  id: h.string().optional(),
7328
7828
  name: h.string().optional()
7329
7829
  }).optional().describe("Author or reporter of the case."),
7830
+ close_article: h.object({
7831
+ id: h.string().optional(),
7832
+ name: h.string().optional()
7833
+ }).optional().describe("Knowledge base article chosen as the close reason; id only."),
7330
7834
  close_reason: h.object({
7331
7835
  id: h.string().optional(),
7332
7836
  name: h.string().optional()
@@ -7399,6 +7903,8 @@ h.object({
7399
7903
  name: h.string().optional(),
7400
7904
  type: h.string().optional()
7401
7905
  }).optional().describe("Group associated with the case."),
7906
+ has_next: h.boolean().optional(),
7907
+ has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
7402
7908
  id: h.string().optional().describe("Unique case ID."),
7403
7909
  impacted: h.object({
7404
7910
  id: h.string().optional(),
@@ -7615,11 +8121,15 @@ h.object({
7615
8121
  fields: h.array(h.string()).optional().describe("List of fields to include in the response."),
7616
8122
  disableTrigger: h.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]")
7617
8123
  });
7618
- var oe = h.object({
8124
+ var se = h.object({
7619
8125
  assignee: h.object({
7620
8126
  id: h.string().optional(),
7621
8127
  name: h.string().optional()
7622
8128
  }).optional(),
8129
+ close_article: h.object({
8130
+ id: h.string().optional(),
8131
+ name: h.string().optional()
8132
+ }).optional(),
7623
8133
  close_reason: h.object({
7624
8134
  id: h.string().optional(),
7625
8135
  name: h.string().optional()
@@ -7692,6 +8202,10 @@ h.object({
7692
8202
  id: h.string().optional(),
7693
8203
  name: h.string().optional()
7694
8204
  }).optional().describe("Author or reporter of the case."),
8205
+ close_article: h.object({
8206
+ id: h.string().optional(),
8207
+ name: h.string().optional()
8208
+ }).optional().describe("Knowledge base article chosen as the close reason; id only."),
7695
8209
  close_reason: h.object({
7696
8210
  id: h.string().optional(),
7697
8211
  name: h.string().optional()
@@ -7764,6 +8278,8 @@ h.object({
7764
8278
  name: h.string().optional(),
7765
8279
  type: h.string().optional()
7766
8280
  }).optional().describe("Group associated with the case."),
8281
+ has_next: h.boolean().optional(),
8282
+ has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
7767
8283
  id: h.string().optional().describe("Unique case ID."),
7768
8284
  impacted: h.object({
7769
8285
  id: h.string().optional(),
@@ -7995,6 +8511,10 @@ h.object({
7995
8511
  id: h.string().optional(),
7996
8512
  name: h.string().optional()
7997
8513
  }).optional().describe("Author or reporter of the case."),
8514
+ close_article: h.object({
8515
+ id: h.string().optional(),
8516
+ name: h.string().optional()
8517
+ }).optional().describe("Knowledge base article chosen as the close reason; id only."),
7998
8518
  close_reason: h.object({
7999
8519
  id: h.string().optional(),
8000
8520
  name: h.string().optional()
@@ -8067,6 +8587,8 @@ h.object({
8067
8587
  name: h.string().optional(),
8068
8588
  type: h.string().optional()
8069
8589
  }).optional().describe("Group associated with the case."),
8590
+ has_next: h.boolean().optional(),
8591
+ has_prev: h.boolean().optional().describe("Whether a case exists before/after this one in the list it is being viewed in."),
8070
8592
  id: h.string().optional().describe("Unique case ID."),
8071
8593
  impacted: h.object({
8072
8594
  id: h.string().optional(),
@@ -8298,17 +8820,20 @@ h.object({
8298
8820
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
8299
8821
  left: h.string().optional(),
8300
8822
  peer: h.object({
8823
+ etag: h.string().optional().describe("Contact source identifier."),
8301
8824
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
8302
8825
  name: h.string().optional().describe("Contact display **name**."),
8303
8826
  type: h.string().optional().describe("Contact **type** provider.")
8304
8827
  }).optional().describe("[FROM]: User identity. Seed."),
8305
8828
  queue: h.object({
8829
+ etag: h.string().optional().describe("Contact source identifier."),
8306
8830
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
8307
8831
  name: h.string().optional().describe("Contact display **name**."),
8308
8832
  type: h.string().optional().describe("Contact **type** provider.")
8309
8833
  }).optional().describe("Peer contact."),
8310
8834
  title: h.string().optional().describe("[TO]: Chat title."),
8311
8835
  via: h.object({
8836
+ etag: h.string().optional().describe("Contact source identifier."),
8312
8837
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
8313
8838
  name: h.string().optional().describe("Contact display **name**."),
8314
8839
  type: h.string().optional().describe("Contact **type** provider.")
@@ -8326,17 +8851,20 @@ h.object({
8326
8851
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
8327
8852
  left: h.string().optional(),
8328
8853
  peer: h.object({
8854
+ etag: h.string().optional().describe("Contact source identifier."),
8329
8855
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
8330
8856
  name: h.string().optional().describe("Contact display **name**."),
8331
8857
  type: h.string().optional().describe("Contact **type** provider.")
8332
8858
  }).optional().describe("[FROM]: User identity. Seed."),
8333
8859
  queue: h.object({
8860
+ etag: h.string().optional().describe("Contact source identifier."),
8334
8861
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
8335
8862
  name: h.string().optional().describe("Contact display **name**."),
8336
8863
  type: h.string().optional().describe("Contact **type** provider.")
8337
8864
  }).optional().describe("Peer contact."),
8338
8865
  title: h.string().optional().describe("[TO]: Chat title."),
8339
8866
  via: h.object({
8867
+ etag: h.string().optional().describe("Contact source identifier."),
8340
8868
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
8341
8869
  name: h.string().optional().describe("Contact display **name**."),
8342
8870
  type: h.string().optional().describe("Contact **type** provider.")
@@ -8353,6 +8881,7 @@ h.object({
8353
8881
  url: h.string().optional()
8354
8882
  }).optional().describe("Message Media. Attachment."),
8355
8883
  from: h.object({
8884
+ etag: h.string().optional().describe("Contact source identifier."),
8356
8885
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
8357
8886
  name: h.string().optional().describe("Contact display **name**."),
8358
8887
  type: h.string().optional().describe("Contact **type** provider.")
@@ -8389,17 +8918,20 @@ h.object({
8389
8918
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
8390
8919
  left: h.string().optional(),
8391
8920
  peer: h.object({
8921
+ etag: h.string().optional().describe("Contact source identifier."),
8392
8922
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
8393
8923
  name: h.string().optional().describe("Contact display **name**."),
8394
8924
  type: h.string().optional().describe("Contact **type** provider.")
8395
8925
  }).optional().describe("[FROM]: User identity. Seed."),
8396
8926
  queue: h.object({
8927
+ etag: h.string().optional().describe("Contact source identifier."),
8397
8928
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
8398
8929
  name: h.string().optional().describe("Contact display **name**."),
8399
8930
  type: h.string().optional().describe("Contact **type** provider.")
8400
8931
  }).optional().describe("Peer contact."),
8401
8932
  title: h.string().optional().describe("[TO]: Chat title."),
8402
8933
  via: h.object({
8934
+ etag: h.string().optional().describe("Contact source identifier."),
8403
8935
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
8404
8936
  name: h.string().optional().describe("Contact display **name**."),
8405
8937
  type: h.string().optional().describe("Contact **type** provider.")
@@ -8410,6 +8942,7 @@ h.object({
8410
8942
  next: h.boolean().optional(),
8411
8943
  page: h.int().optional().describe("Dataset page number."),
8412
8944
  peers: h.array(h.object({
8945
+ etag: h.string().optional().describe("Contact source identifier."),
8413
8946
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
8414
8947
  name: h.string().optional().describe("Contact display **name**."),
8415
8948
  type: h.string().optional().describe("Contact **type** provider.")
@@ -9764,7 +10297,7 @@ h.object({
9764
10297
  contact_id: h.string().describe("Contact ID associated with."),
9765
10298
  etag: h.array(h.string()).min(1).describe("Set of unique ID(s) to remove.")
9766
10299
  }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
9767
- var se = h.object({
10300
+ var ce = h.object({
9768
10301
  created_at: h.string().optional().describe("The user who created this Field."),
9769
10302
  created_by: h.object({
9770
10303
  id: h.string().optional().describe("Reference Object unique ID."),
@@ -9793,7 +10326,7 @@ var se = h.object({
9793
10326
  }).optional().describe("The user who performed last Update."),
9794
10327
  ver: h.int().optional().describe("Version of the latest update. Numeric sequence.")
9795
10328
  });
9796
- h.array(se), h.object({
10329
+ h.array(ce), h.object({
9797
10330
  contact_id: h.string().describe("Contact ID associated with."),
9798
10331
  etag: h.string().describe("Unique ID of the latest version of an existing resorce.")
9799
10332
  }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") }), h.object({
@@ -10178,7 +10711,7 @@ h.array(se), h.object({
10178
10711
  next: h.boolean().optional(),
10179
10712
  page: h.int().optional().describe("The page number of the partial result.")
10180
10713
  }).describe("Contact groups dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactGroupList.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
10181
- var ce = h.object({
10714
+ var le = h.object({
10182
10715
  etag: h.string().describe("Unique ID of the latest version of an existing resource."),
10183
10716
  group: h.object({
10184
10717
  id: h.string().optional().describe("Reference Object unique ID."),
@@ -10186,7 +10719,7 @@ var ce = h.object({
10186
10719
  type: h.string().optional().describe("Reference Object well-known type.")
10187
10720
  }).optional().describe("Group of contacts associated.")
10188
10721
  }).describe("An input of the Contact's groups.");
10189
- h.array(ce), h.object({
10722
+ h.array(le), h.object({
10190
10723
  data: h.array(h.object({
10191
10724
  created_at: h.string().optional().describe("The user who created this Field."),
10192
10725
  created_by: h.object({
@@ -10212,7 +10745,7 @@ h.array(ce), h.object({
10212
10745
  next: h.boolean().optional(),
10213
10746
  page: h.int().optional().describe("The page number of the partial result.")
10214
10747
  }).describe("Contact groups dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactGroupList.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
10215
- var le = h.object({
10748
+ var ue = h.object({
10216
10749
  etag: h.string().describe("Unique ID of the latest version of an existing resource."),
10217
10750
  group: h.object({
10218
10751
  id: h.string().optional().describe("Reference Object unique ID."),
@@ -10220,7 +10753,7 @@ var le = h.object({
10220
10753
  type: h.string().optional().describe("Reference Object well-known type.")
10221
10754
  }).optional().describe("Group of contacts associated.")
10222
10755
  }).describe("An input of the Contact's groups.");
10223
- h.array(le), h.object({
10756
+ h.array(ue), h.object({
10224
10757
  data: h.array(h.object({
10225
10758
  created_at: h.string().optional().describe("The user who created this Field."),
10226
10759
  created_by: h.object({
@@ -10371,7 +10904,7 @@ h.array(le), h.object({
10371
10904
  }), h.object({ conversation_id: h.string() }), h.object({ contact_id: h.string().optional() }), h.looseObject({});
10372
10905
  //#endregion
10373
10906
  //#region packages/api-services/src/gen-wire/contacts/contacts.ts
10374
- var ue = h.object({
10907
+ var de = h.object({
10375
10908
  page: h.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```"),
10376
10909
  size: h.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```"),
10377
10910
  q: h.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..."),
@@ -10704,7 +11237,7 @@ h.object({
10704
11237
  next: h.boolean().optional(),
10705
11238
  page: h.int().optional().describe("The page number of the partial result.")
10706
11239
  }).describe("Contact dataset."), h.object({ fields: h.array(h.string()).optional().describe("Source Fields to return into result.") });
10707
- var de = h.object({
11240
+ var fe = h.object({
10708
11241
  about: h.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
10709
11242
  comments: h.array(h.object({
10710
11243
  etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
@@ -11104,7 +11637,7 @@ h.object({
11104
11637
  }).optional().describe("Arbitrary client data that is populated by clients.\nDuplicate keys and values are allowed."),
11105
11638
  ver: h.int().optional().describe("READONLY. Operational attributes\nVersion of the latest update. Numeric sequence.")
11106
11639
  }).describe("The Contact principal source.\nOUTPUT purpose only."), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
11107
- var fe = h.object({
11640
+ var pe = h.object({
11108
11641
  about: h.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
11109
11642
  comments: h.array(h.object({
11110
11643
  etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
@@ -11194,7 +11727,7 @@ var fe = h.object({
11194
11727
  value: h.unknown().optional().describe("NEW Value.")
11195
11728
  }).describe("Input of the Contact's variable.")).optional().describe("Arbitrary client data that is populated by clients.")
11196
11729
  }).describe("The Contact principal input.");
11197
- h.array(fe), h.object({
11730
+ h.array(pe), h.object({
11198
11731
  data: h.array(h.object({
11199
11732
  about: h.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
11200
11733
  comments: h.object({
@@ -12235,7 +12768,7 @@ h.array(fe), h.object({
12235
12768
  }).optional().describe("Arbitrary client data that is populated by clients.\nDuplicate keys and values are allowed."),
12236
12769
  ver: h.int().optional().describe("READONLY. Operational attributes\nVersion of the latest update. Numeric sequence.")
12237
12770
  }).describe("The Contact principal source.\nOUTPUT purpose only."), h.object({ etag: h.string().describe("Unique ID of the latest version of an existing resorce.") }), h.object({ fields: h.array(h.string()).optional().describe("Source Fields to return into result.") });
12238
- var pe = h.object({
12771
+ var me = h.object({
12239
12772
  about: h.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
12240
12773
  comments: h.array(h.object({
12241
12774
  etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
@@ -12903,6 +13436,7 @@ h.object({
12903
13436
  video: h.boolean().optional()
12904
13437
  }).optional().describe("VoIP / SIP service credentials."),
12905
13438
  chat: h.object({ user: h.object({
13439
+ etag: h.string().optional().describe("Contact source identifier."),
12906
13440
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
12907
13441
  name: h.string().optional().describe("Contact display **name**."),
12908
13442
  type: h.string().optional().describe("Contact **type** provider.")
@@ -13025,6 +13559,7 @@ h.object({
13025
13559
  video: h.boolean().optional()
13026
13560
  }).optional().describe("VoIP / SIP service credentials."),
13027
13561
  chat: h.object({ user: h.object({
13562
+ etag: h.string().optional().describe("Contact source identifier."),
13028
13563
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
13029
13564
  name: h.string().optional().describe("Contact display **name**."),
13030
13565
  type: h.string().optional().describe("Contact **type** provider.")
@@ -13406,8 +13941,8 @@ h.object({
13406
13941
  id: h.string().optional(),
13407
13942
  permanent: h.boolean().optional()
13408
13943
  });
13409
- var me = h.string();
13410
- h.array(me), h.object({ deleted: h.array(h.object({
13944
+ var he = h.string();
13945
+ h.array(he), h.object({ deleted: h.array(h.object({
13411
13946
  account: h.string().optional().describe("username"),
13412
13947
  brand: h.string().optional().describe("vendor brand name"),
13413
13948
  created_at: h.string().optional(),
@@ -15751,7 +16286,7 @@ h.array(me), h.object({ deleted: h.array(h.object({
15751
16286
  next: h.boolean().optional().describe("Have more records."),
15752
16287
  page: h.int().optional().describe("Page number of the partial result.")
15753
16288
  }).describe("A list of Conditions."), h.object({ group_id: h.string().describe("The ID of the group to which the condition belongs.") });
15754
- var he = h.object({
16289
+ var ge = h.object({
15755
16290
  assignee: h.object({
15756
16291
  id: h.string().optional().describe("Reference Object unique ID."),
15757
16292
  name: h.string().optional().describe("Reference Object display name."),
@@ -16013,7 +16548,7 @@ h.object({
16013
16548
  type: h.string().optional().describe("Reference Object well-known type.")
16014
16549
  }).optional().describe("The user who performed the last update.")
16015
16550
  }), h.object({ id: h.string().describe("The unique ID of the dynamic group to update.") });
16016
- var ge = h.object({
16551
+ var _e = h.object({
16017
16552
  default_group: h.object({
16018
16553
  id: h.string().optional().describe("Reference Object unique ID."),
16019
16554
  name: h.string().optional().describe("Reference Object display name."),
@@ -16512,7 +17047,7 @@ h.array(F), h.object({
16512
17047
  next: h.boolean().optional(),
16513
17048
  page: h.int().optional().describe("The page number of the partial result.")
16514
17049
  }).describe("Email dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
16515
- var _e = h.object({
17050
+ var ve = h.object({
16516
17051
  email: h.string().describe("The email address."),
16517
17052
  etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
16518
17053
  primary: h.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -16523,7 +17058,7 @@ var _e = h.object({
16523
17058
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
16524
17059
  verified: h.boolean().optional()
16525
17060
  }).describe("Input of the Contact's email address.");
16526
- h.array(_e), h.object({
17061
+ h.array(ve), h.object({
16527
17062
  data: h.array(h.object({
16528
17063
  created_at: h.string().optional().describe("The user who created this Field."),
16529
17064
  created_by: h.object({
@@ -16649,7 +17184,7 @@ h.array(_e), h.object({
16649
17184
  contact_id: h.string().describe("Link contact ID."),
16650
17185
  etag: h.string().describe("Unique ID of the latest version of an existing resorce.")
16651
17186
  }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
16652
- var ve = h.object({
17187
+ var ye = h.object({
16653
17188
  email: h.string().describe("The email address."),
16654
17189
  primary: h.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
16655
17190
  type: h.object({
@@ -18395,7 +18930,9 @@ h.object({
18395
18930
  "SCREENSHOT",
18396
18931
  "SCREENSHARING"
18397
18932
  ]).default("PDF"),
18398
- channel: h.enum(["SCREENRECORDING", "CALL"]).default("SCREENRECORDING")
18933
+ channel: h.enum(["SCREENRECORDING", "CALL"]).default("SCREENRECORDING"),
18934
+ "start_at.from": h.string().optional(),
18935
+ "start_at.to": h.string().optional()
18399
18936
  }), h.object({
18400
18937
  items: h.array(h.object({
18401
18938
  channel: h.enum([
@@ -19597,7 +20134,7 @@ h.object({
19597
20134
  type: h.string().optional().describe("Reference Object well-known type.")
19598
20135
  }).optional().describe("The user who performed the last update.")
19599
20136
  }), h.object({ id: h.string().describe("The unique ID of the group to update.") });
19600
- var ye = h.object({
20137
+ var be = h.object({
19601
20138
  description: h.string().optional().describe("The new description of the group."),
19602
20139
  enabled: h.boolean().optional().describe("The new enabled status of the group."),
19603
20140
  name: h.string().optional().describe("The new name of the group.")
@@ -19935,11 +20472,11 @@ h.object({
19935
20472
  next: h.boolean().optional(),
19936
20473
  page: h.int().optional().describe("Page number of partial result.")
19937
20474
  }).describe("LabelList dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result.") });
19938
- var be = h.object({
20475
+ var xe = h.object({
19939
20476
  etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
19940
20477
  label: h.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.")
19941
20478
  }).describe("A Contact's associated Tag.\nOutput purpose only.");
19942
- h.array(be), h.object({
20479
+ h.array(xe), h.object({
19943
20480
  data: h.array(h.object({
19944
20481
  created_at: h.string().optional().describe("The user who created this Field."),
19945
20482
  created_by: h.object({
@@ -19961,11 +20498,11 @@ h.array(be), h.object({
19961
20498
  next: h.boolean().optional(),
19962
20499
  page: h.int().optional().describe("Page number of partial result.")
19963
20500
  }).describe("LabelList dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result.") });
19964
- var xe = h.object({
20501
+ var Se = h.object({
19965
20502
  etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
19966
20503
  label: h.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.")
19967
20504
  }).describe("A Contact's associated Tag.\nOutput purpose only.");
19968
- h.array(xe), h.object({
20505
+ h.array(Se), h.object({
19969
20506
  data: h.array(h.object({
19970
20507
  created_at: h.string().optional().describe("The user who created this Field."),
19971
20508
  created_by: h.object({
@@ -20056,12 +20593,12 @@ h.array(xe), h.object({
20056
20593
  next: h.boolean().optional(),
20057
20594
  page: h.int().optional().describe("Page number of partial result dataset records.")
20058
20595
  }).describe("LabelsData\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
20059
- var Se = h.object({
20596
+ var Ce = h.object({
20060
20597
  etag: h.string().describe("Unique ID of the latest version of an existing association."),
20061
20598
  primary: h.boolean().optional().describe("Indicates whether this association must be default\namong others of the same type."),
20062
20599
  tag: h.string().optional()
20063
20600
  }).describe("An input of the Contact's language.");
20064
- h.array(Se), h.object({
20601
+ h.array(Ce), h.object({
20065
20602
  data: h.array(h.object({
20066
20603
  code: h.string().optional(),
20067
20604
  created_at: h.string().optional().describe("The user who created this Field."),
@@ -20089,12 +20626,12 @@ h.array(Se), h.object({
20089
20626
  next: h.boolean().optional(),
20090
20627
  page: h.int().optional().describe("Page number of partial result dataset records.")
20091
20628
  }).describe("LabelsData\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Contact ID associated with.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
20092
- var Ce = h.object({
20629
+ var we = h.object({
20093
20630
  etag: h.string().describe("Unique ID of the latest version of an existing association."),
20094
20631
  primary: h.boolean().optional().describe("Indicates whether this association must be default\namong others of the same type."),
20095
20632
  tag: h.string().optional()
20096
20633
  }).describe("An input of the Contact's language.");
20097
- h.array(Ce), h.object({
20634
+ h.array(we), h.object({
20098
20635
  data: h.array(h.object({
20099
20636
  code: h.string().optional(),
20100
20637
  created_at: h.string().optional().describe("The user who created this Field."),
@@ -21783,6 +22320,25 @@ h.array(Ce), h.object({
21783
22320
  })).optional(),
21784
22321
  next: h.boolean().optional(),
21785
22322
  page: h.int().optional()
22323
+ }), h.object({ id: h.int() }), h.object({
22324
+ action: h.string().optional(),
22325
+ config_id: h.int().optional(),
22326
+ date: h.string().optional(),
22327
+ id: h.int().optional(),
22328
+ new_state: h.string().optional(),
22329
+ object: h.object({
22330
+ id: h.int().optional(),
22331
+ name: h.string().optional()
22332
+ }).optional(),
22333
+ record: h.object({
22334
+ id: h.string().optional(),
22335
+ name: h.string().optional()
22336
+ }).optional(),
22337
+ user: h.object({
22338
+ id: h.int().optional(),
22339
+ name: h.string().optional()
22340
+ }).optional(),
22341
+ user_ip: h.string().optional()
21786
22342
  }), h.object({ user_id: h.int().describe("REQUIRED filter") }), h.object({
21787
22343
  page: h.int().optional(),
21788
22344
  size: h.int().optional(),
@@ -21888,7 +22444,7 @@ h.array(Ce), h.object({
21888
22444
  fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result."),
21889
22445
  etag: h.array(h.string()).describe("Set of unique ID(s) to remove.")
21890
22446
  });
21891
- var we = h.object({
22447
+ var Te = h.object({
21892
22448
  created_at: h.string().optional().describe("The user who created this Field."),
21893
22449
  created_by: h.object({
21894
22450
  id: h.string().optional().describe("Reference Object unique ID."),
@@ -21911,7 +22467,7 @@ var we = h.object({
21911
22467
  }).optional().describe("Responsible User."),
21912
22468
  ver: h.int().optional().describe("Version of the latest update. Numeric sequence.")
21913
22469
  }).describe("Manager. The Contact's responsible User.");
21914
- h.array(we), h.object({ contact_id: h.string().describe("Contact ID associated with.") }), h.object({
22470
+ h.array(Te), h.object({ contact_id: h.string().describe("Contact ID associated with.") }), h.object({
21915
22471
  page: h.int().optional().describe("Page number of result. offset = ((page-1)*size)"),
21916
22472
  size: h.int().optional().describe("Size of result page. limit = (size++)"),
21917
22473
  q: h.string().optional().describe("Search term: user name;\n`?` - matches any one character\n`*` - matches 0 or more characters"),
@@ -21945,7 +22501,7 @@ h.array(we), h.object({ contact_id: h.string().describe("Contact ID associated w
21945
22501
  next: h.boolean().optional(),
21946
22502
  page: h.int().optional().describe("The page number of the partial result.")
21947
22503
  }).describe("Manager dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
21948
- var Te = h.object({
22504
+ var Ee = h.object({
21949
22505
  etag: h.string().describe("Unique ID of the latest version of an existing resource."),
21950
22506
  primary: h.boolean().optional().describe("Indicates whether this association must be default among others."),
21951
22507
  user: h.object({
@@ -21954,7 +22510,7 @@ var Te = h.object({
21954
22510
  type: h.string().optional().describe("Reference Object well-known type.")
21955
22511
  }).optional().describe("Responsible User.")
21956
22512
  });
21957
- h.array(Te), h.object({
22513
+ h.array(Ee), h.object({
21958
22514
  data: h.array(h.object({
21959
22515
  created_at: h.string().optional().describe("The user who created this Field."),
21960
22516
  created_by: h.object({
@@ -21981,7 +22537,7 @@ h.array(Te), h.object({
21981
22537
  next: h.boolean().optional(),
21982
22538
  page: h.int().optional().describe("The page number of the partial result.")
21983
22539
  }).describe("Manager dataset."), h.object({ contact_id: h.string().describe("Contact ID associated with.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
21984
- var Ee = h.object({
22540
+ var De = h.object({
21985
22541
  etag: h.string().describe("Unique ID of the latest version of an existing resource."),
21986
22542
  primary: h.boolean().optional().describe("Indicates whether this association must be default among others."),
21987
22543
  user: h.object({
@@ -21990,7 +22546,7 @@ var Ee = h.object({
21990
22546
  type: h.string().optional().describe("Reference Object well-known type.")
21991
22547
  }).optional().describe("Responsible User.")
21992
22548
  });
21993
- h.array(Ee), h.object({
22549
+ h.array(De), h.object({
21994
22550
  data: h.array(h.object({
21995
22551
  created_at: h.string().optional().describe("The user who created this Field."),
21996
22552
  created_by: h.object({
@@ -23379,48 +23935,7 @@ h.array(Ee), h.object({
23379
23935
  transfer_queue_id: h.string().optional(),
23380
23936
  variables: h.record(h.string(), h.string()).optional(),
23381
23937
  wait_between_retries: h.int().optional()
23382
- }), h.object({ status: h.string().optional() });
23383
- //#endregion
23384
- //#region packages/api-services/src/gen-wire/messages/messages.ts
23385
- var I = (e = a) => ({
23386
- messagesServiceBroadcastMessage: (t, n) => e.post("/chat/broadcast", t, n),
23387
- catalogGetCustomers: (t, n) => e.get("/chat/customers", {
23388
- ...n,
23389
- params: {
23390
- ...t,
23391
- ...n?.params
23392
- }
23393
- }),
23394
- catalogGetDialogs: (t, n) => e.get("/chat/dialogs", {
23395
- ...n,
23396
- params: {
23397
- ...t,
23398
- ...n?.params
23399
- }
23400
- }),
23401
- catalogGetMembers: (t, n, r) => e.get(`/chat/dialogs/${t}/members`, {
23402
- ...r,
23403
- params: {
23404
- ...n,
23405
- ...r?.params
23406
- }
23407
- }),
23408
- catalogGetHistory: (t, n, r) => e.get(`/chat/dialogs/${t}/messages`, {
23409
- ...r,
23410
- params: {
23411
- ...n,
23412
- ...r?.params
23413
- }
23414
- }),
23415
- catalogGetHistory2: (t, n, r, i) => e.get(`/chat/${t}/${n}/messages`, {
23416
- ...i,
23417
- params: {
23418
- ...r,
23419
- ...i?.params
23420
- }
23421
- })
23422
- });
23423
- h.object({
23938
+ }), h.object({ status: h.string().optional() }), h.object({
23424
23939
  message: h.object({
23425
23940
  file: h.object({
23426
23941
  id: h.string().optional(),
@@ -23463,7 +23978,8 @@ h.object({
23463
23978
  type: h.string().optional().describe("The type of contact to filter."),
23464
23979
  "via.id": h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23465
23980
  "via.type": h.string().optional().describe("Contact **type** provider."),
23466
- "via.name": h.string().optional().describe("Contact display **name**.")
23981
+ "via.name": h.string().optional().describe("Contact display **name**."),
23982
+ "via.etag": h.string().optional().describe("Contact source identifier.")
23467
23983
  }), h.object({
23468
23984
  next: h.boolean().optional(),
23469
23985
  page: h.int().optional().describe("Page number of results."),
@@ -23472,12 +23988,14 @@ h.object({
23472
23988
  name: h.string().optional().describe("Customer account **name**."),
23473
23989
  type: h.string().optional().describe("Customer account **type**."),
23474
23990
  via: h.array(h.object({
23991
+ etag: h.string().optional().describe("Contact source identifier."),
23475
23992
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23476
23993
  name: h.string().optional().describe("Contact display **name**."),
23477
23994
  type: h.string().optional().describe("Contact **type** provider.")
23478
23995
  }).describe("Peer contact.")).optional().describe("[VIA] Text gateway associations.")
23479
23996
  }).describe("Customer is external chat contact.")).optional().describe("Dataset page of Customer(s)."),
23480
23997
  vias: h.array(h.object({
23998
+ etag: h.string().optional().describe("Contact source identifier."),
23481
23999
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23482
24000
  name: h.string().optional().describe("Contact display **name**."),
23483
24001
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23492,9 +24010,11 @@ h.object({
23492
24010
  "via.id": h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23493
24011
  "via.type": h.string().optional().describe("Contact **type** provider."),
23494
24012
  "via.name": h.string().optional().describe("Contact display **name**."),
24013
+ "via.etag": h.string().optional().describe("Contact source identifier."),
23495
24014
  "peer.id": h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23496
24015
  "peer.type": h.string().optional().describe("Contact **type** provider."),
23497
24016
  "peer.name": h.string().optional().describe("Contact display **name**."),
24017
+ "peer.etag": h.string().optional().describe("Contact source identifier."),
23498
24018
  "date.since": h.string().optional().describe("Since epochtime (milli).\n**Match**: greater than .."),
23499
24019
  "date.until": h.string().optional().describe("Until epochtime (milli).\n**Match**: less or equal .."),
23500
24020
  online: h.boolean().optional().describe("Dialogs ONLY that are currently [not] active( closed: ? )."),
@@ -23508,6 +24028,7 @@ h.object({
23508
24028
  date: h.string().optional().describe("Timestamp of the latest activity."),
23509
24029
  dc: h.string().optional().describe("[D]omain[C]omponent primary ID."),
23510
24030
  from: h.object({
24031
+ etag: h.string().optional().describe("Contact source identifier."),
23511
24032
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23512
24033
  name: h.string().optional().describe("Contact display **name**."),
23513
24034
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23524,17 +24045,20 @@ h.object({
23524
24045
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
23525
24046
  left: h.string().optional(),
23526
24047
  peer: h.object({
24048
+ etag: h.string().optional().describe("Contact source identifier."),
23527
24049
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23528
24050
  name: h.string().optional().describe("Contact display **name**."),
23529
24051
  type: h.string().optional().describe("Contact **type** provider.")
23530
24052
  }).optional().describe("[FROM]: User identity. Seed."),
23531
24053
  queue: h.object({
24054
+ etag: h.string().optional().describe("Contact source identifier."),
23532
24055
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23533
24056
  name: h.string().optional().describe("Contact display **name**."),
23534
24057
  type: h.string().optional().describe("Contact **type** provider.")
23535
24058
  }).optional().describe("Peer contact."),
23536
24059
  title: h.string().optional().describe("[TO]: Chat title."),
23537
24060
  via: h.object({
24061
+ etag: h.string().optional().describe("Contact source identifier."),
23538
24062
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23539
24063
  name: h.string().optional().describe("Contact display **name**."),
23540
24064
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23552,17 +24076,20 @@ h.object({
23552
24076
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
23553
24077
  left: h.string().optional(),
23554
24078
  peer: h.object({
24079
+ etag: h.string().optional().describe("Contact source identifier."),
23555
24080
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23556
24081
  name: h.string().optional().describe("Contact display **name**."),
23557
24082
  type: h.string().optional().describe("Contact **type** provider.")
23558
24083
  }).optional().describe("[FROM]: User identity. Seed."),
23559
24084
  queue: h.object({
24085
+ etag: h.string().optional().describe("Contact source identifier."),
23560
24086
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23561
24087
  name: h.string().optional().describe("Contact display **name**."),
23562
24088
  type: h.string().optional().describe("Contact **type** provider.")
23563
24089
  }).optional().describe("Peer contact."),
23564
24090
  title: h.string().optional().describe("[TO]: Chat title."),
23565
24091
  via: h.object({
24092
+ etag: h.string().optional().describe("Contact source identifier."),
23566
24093
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23567
24094
  name: h.string().optional().describe("Contact display **name**."),
23568
24095
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23579,6 +24106,7 @@ h.object({
23579
24106
  url: h.string().optional()
23580
24107
  }).optional().describe("Message Media. Attachment."),
23581
24108
  from: h.object({
24109
+ etag: h.string().optional().describe("Contact source identifier."),
23582
24110
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23583
24111
  name: h.string().optional().describe("Contact display **name**."),
23584
24112
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23615,17 +24143,20 @@ h.object({
23615
24143
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
23616
24144
  left: h.string().optional(),
23617
24145
  peer: h.object({
24146
+ etag: h.string().optional().describe("Contact source identifier."),
23618
24147
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23619
24148
  name: h.string().optional().describe("Contact display **name**."),
23620
24149
  type: h.string().optional().describe("Contact **type** provider.")
23621
24150
  }).optional().describe("[FROM]: User identity. Seed."),
23622
24151
  queue: h.object({
24152
+ etag: h.string().optional().describe("Contact source identifier."),
23623
24153
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23624
24154
  name: h.string().optional().describe("Contact display **name**."),
23625
24155
  type: h.string().optional().describe("Contact **type** provider.")
23626
24156
  }).optional().describe("Peer contact."),
23627
24157
  title: h.string().optional().describe("[TO]: Chat title."),
23628
24158
  via: h.object({
24159
+ etag: h.string().optional().describe("Contact source identifier."),
23629
24160
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23630
24161
  name: h.string().optional().describe("Contact display **name**."),
23631
24162
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23634,6 +24165,7 @@ h.object({
23634
24165
  text: h.string().optional().describe("Message Text.")
23635
24166
  }).optional().describe("The latest (top) message."),
23636
24167
  queue: h.object({
24168
+ etag: h.string().optional().describe("Contact source identifier."),
23637
24169
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23638
24170
  name: h.string().optional().describe("Contact display **name**."),
23639
24171
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23642,6 +24174,7 @@ h.object({
23642
24174
  started: h.string().optional().describe("Timestamp when dialog started."),
23643
24175
  title: h.string().optional().describe("Title of the dialog."),
23644
24176
  via: h.object({
24177
+ etag: h.string().optional().describe("Contact source identifier."),
23645
24178
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23646
24179
  name: h.string().optional().describe("Contact display **name**."),
23647
24180
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23659,9 +24192,11 @@ h.object({
23659
24192
  "via.id": h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23660
24193
  "via.type": h.string().optional().describe("Contact **type** provider."),
23661
24194
  "via.name": h.string().optional().describe("Contact display **name**."),
24195
+ "via.etag": h.string().optional().describe("Contact source identifier."),
23662
24196
  "peer.id": h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23663
24197
  "peer.type": h.string().optional().describe("Contact **type** provider."),
23664
24198
  "peer.name": h.string().optional().describe("Contact display **name**."),
24199
+ "peer.etag": h.string().optional().describe("Contact source identifier."),
23665
24200
  "date.since": h.string().optional().describe("Since epochtime (milli).\n**Match**: greater than .."),
23666
24201
  "date.until": h.string().optional().describe("Until epochtime (milli).\n**Match**: less or equal .."),
23667
24202
  online: h.boolean().optional().describe("Participants ONLY who are currently [not] connected to the chat.\n( left: ( 0 ? online : offline ) )"),
@@ -23678,17 +24213,20 @@ h.object({
23678
24213
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
23679
24214
  left: h.string().optional(),
23680
24215
  peer: h.object({
24216
+ etag: h.string().optional().describe("Contact source identifier."),
23681
24217
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23682
24218
  name: h.string().optional().describe("Contact display **name**."),
23683
24219
  type: h.string().optional().describe("Contact **type** provider.")
23684
24220
  }).optional().describe("[FROM]: User identity. Seed."),
23685
24221
  queue: h.object({
24222
+ etag: h.string().optional().describe("Contact source identifier."),
23686
24223
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23687
24224
  name: h.string().optional().describe("Contact display **name**."),
23688
24225
  type: h.string().optional().describe("Contact **type** provider.")
23689
24226
  }).optional().describe("Peer contact."),
23690
24227
  title: h.string().optional().describe("[TO]: Chat title."),
23691
24228
  via: h.object({
24229
+ etag: h.string().optional().describe("Contact source identifier."),
23692
24230
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23693
24231
  name: h.string().optional().describe("Contact display **name**."),
23694
24232
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23705,6 +24243,7 @@ h.object({
23705
24243
  "peer.id": h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23706
24244
  "peer.type": h.string().optional().describe("Contact **type** provider."),
23707
24245
  "peer.name": h.string().optional().describe("Contact display **name**."),
24246
+ "peer.etag": h.string().optional().describe("Contact source identifier."),
23708
24247
  "group[string]": h.string().optional().describe("Includes the history of ONLY those dialogs\nwhose member channel(s) contain\na specified set of variables.")
23709
24248
  }), h.object({
23710
24249
  chats: h.array(h.object({
@@ -23718,17 +24257,20 @@ h.object({
23718
24257
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
23719
24258
  left: h.string().optional(),
23720
24259
  peer: h.object({
24260
+ etag: h.string().optional().describe("Contact source identifier."),
23721
24261
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23722
24262
  name: h.string().optional().describe("Contact display **name**."),
23723
24263
  type: h.string().optional().describe("Contact **type** provider.")
23724
24264
  }).optional().describe("[FROM]: User identity. Seed."),
23725
24265
  queue: h.object({
24266
+ etag: h.string().optional().describe("Contact source identifier."),
23726
24267
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23727
24268
  name: h.string().optional().describe("Contact display **name**."),
23728
24269
  type: h.string().optional().describe("Contact **type** provider.")
23729
24270
  }).optional().describe("Peer contact."),
23730
24271
  title: h.string().optional().describe("[TO]: Chat title."),
23731
24272
  via: h.object({
24273
+ etag: h.string().optional().describe("Contact source identifier."),
23732
24274
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23733
24275
  name: h.string().optional().describe("Contact display **name**."),
23734
24276
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23746,17 +24288,20 @@ h.object({
23746
24288
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
23747
24289
  left: h.string().optional(),
23748
24290
  peer: h.object({
24291
+ etag: h.string().optional().describe("Contact source identifier."),
23749
24292
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23750
24293
  name: h.string().optional().describe("Contact display **name**."),
23751
24294
  type: h.string().optional().describe("Contact **type** provider.")
23752
24295
  }).optional().describe("[FROM]: User identity. Seed."),
23753
24296
  queue: h.object({
24297
+ etag: h.string().optional().describe("Contact source identifier."),
23754
24298
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23755
24299
  name: h.string().optional().describe("Contact display **name**."),
23756
24300
  type: h.string().optional().describe("Contact **type** provider.")
23757
24301
  }).optional().describe("Peer contact."),
23758
24302
  title: h.string().optional().describe("[TO]: Chat title."),
23759
24303
  via: h.object({
24304
+ etag: h.string().optional().describe("Contact source identifier."),
23760
24305
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23761
24306
  name: h.string().optional().describe("Contact display **name**."),
23762
24307
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23773,6 +24318,7 @@ h.object({
23773
24318
  url: h.string().optional()
23774
24319
  }).optional().describe("Message Media. Attachment."),
23775
24320
  from: h.object({
24321
+ etag: h.string().optional().describe("Contact source identifier."),
23776
24322
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23777
24323
  name: h.string().optional().describe("Contact display **name**."),
23778
24324
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23809,17 +24355,20 @@ h.object({
23809
24355
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
23810
24356
  left: h.string().optional(),
23811
24357
  peer: h.object({
24358
+ etag: h.string().optional().describe("Contact source identifier."),
23812
24359
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23813
24360
  name: h.string().optional().describe("Contact display **name**."),
23814
24361
  type: h.string().optional().describe("Contact **type** provider.")
23815
24362
  }).optional().describe("[FROM]: User identity. Seed."),
23816
24363
  queue: h.object({
24364
+ etag: h.string().optional().describe("Contact source identifier."),
23817
24365
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23818
24366
  name: h.string().optional().describe("Contact display **name**."),
23819
24367
  type: h.string().optional().describe("Contact **type** provider.")
23820
24368
  }).optional().describe("Peer contact."),
23821
24369
  title: h.string().optional().describe("[TO]: Chat title."),
23822
24370
  via: h.object({
24371
+ etag: h.string().optional().describe("Contact source identifier."),
23823
24372
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23824
24373
  name: h.string().optional().describe("Contact display **name**."),
23825
24374
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23830,6 +24379,7 @@ h.object({
23830
24379
  next: h.boolean().optional(),
23831
24380
  page: h.int().optional().describe("Dataset page number."),
23832
24381
  peers: h.array(h.object({
24382
+ etag: h.string().optional().describe("Contact source identifier."),
23833
24383
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23834
24384
  name: h.string().optional().describe("Contact display **name**."),
23835
24385
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23845,6 +24395,7 @@ h.object({
23845
24395
  fields: h.array(h.string()).optional().describe("Fields to return into result."),
23846
24396
  chat_id: h.string().optional().describe("Unique chat dialog"),
23847
24397
  "peer.name": h.string().optional().describe("Contact display **name**."),
24398
+ "peer.etag": h.string().optional().describe("Contact source identifier."),
23848
24399
  "group[string][string]": h.string().optional().describe("Includes the history of ONLY those dialogs\nwhose member channel(s) contain\na specified set of variables.")
23849
24400
  }), h.object({
23850
24401
  chats: h.array(h.object({
@@ -23858,17 +24409,20 @@ h.object({
23858
24409
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
23859
24410
  left: h.string().optional(),
23860
24411
  peer: h.object({
24412
+ etag: h.string().optional().describe("Contact source identifier."),
23861
24413
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23862
24414
  name: h.string().optional().describe("Contact display **name**."),
23863
24415
  type: h.string().optional().describe("Contact **type** provider.")
23864
24416
  }).optional().describe("[FROM]: User identity. Seed."),
23865
24417
  queue: h.object({
24418
+ etag: h.string().optional().describe("Contact source identifier."),
23866
24419
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23867
24420
  name: h.string().optional().describe("Contact display **name**."),
23868
24421
  type: h.string().optional().describe("Contact **type** provider.")
23869
24422
  }).optional().describe("Peer contact."),
23870
24423
  title: h.string().optional().describe("[TO]: Chat title."),
23871
24424
  via: h.object({
24425
+ etag: h.string().optional().describe("Contact source identifier."),
23872
24426
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23873
24427
  name: h.string().optional().describe("Contact display **name**."),
23874
24428
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23886,17 +24440,20 @@ h.object({
23886
24440
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
23887
24441
  left: h.string().optional(),
23888
24442
  peer: h.object({
24443
+ etag: h.string().optional().describe("Contact source identifier."),
23889
24444
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23890
24445
  name: h.string().optional().describe("Contact display **name**."),
23891
24446
  type: h.string().optional().describe("Contact **type** provider.")
23892
24447
  }).optional().describe("[FROM]: User identity. Seed."),
23893
24448
  queue: h.object({
24449
+ etag: h.string().optional().describe("Contact source identifier."),
23894
24450
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23895
24451
  name: h.string().optional().describe("Contact display **name**."),
23896
24452
  type: h.string().optional().describe("Contact **type** provider.")
23897
24453
  }).optional().describe("Peer contact."),
23898
24454
  title: h.string().optional().describe("[TO]: Chat title."),
23899
24455
  via: h.object({
24456
+ etag: h.string().optional().describe("Contact source identifier."),
23900
24457
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23901
24458
  name: h.string().optional().describe("Contact display **name**."),
23902
24459
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23913,6 +24470,7 @@ h.object({
23913
24470
  url: h.string().optional()
23914
24471
  }).optional().describe("Message Media. Attachment."),
23915
24472
  from: h.object({
24473
+ etag: h.string().optional().describe("Contact source identifier."),
23916
24474
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23917
24475
  name: h.string().optional().describe("Contact display **name**."),
23918
24476
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23949,17 +24507,20 @@ h.object({
23949
24507
  join: h.string().optional().describe("OPTIONAL. A non-zero value indicates that\nthe participant has joined the chat."),
23950
24508
  left: h.string().optional(),
23951
24509
  peer: h.object({
24510
+ etag: h.string().optional().describe("Contact source identifier."),
23952
24511
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23953
24512
  name: h.string().optional().describe("Contact display **name**."),
23954
24513
  type: h.string().optional().describe("Contact **type** provider.")
23955
24514
  }).optional().describe("[FROM]: User identity. Seed."),
23956
24515
  queue: h.object({
24516
+ etag: h.string().optional().describe("Contact source identifier."),
23957
24517
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23958
24518
  name: h.string().optional().describe("Contact display **name**."),
23959
24519
  type: h.string().optional().describe("Contact **type** provider.")
23960
24520
  }).optional().describe("Peer contact."),
23961
24521
  title: h.string().optional().describe("[TO]: Chat title."),
23962
24522
  via: h.object({
24523
+ etag: h.string().optional().describe("Contact source identifier."),
23963
24524
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23964
24525
  name: h.string().optional().describe("Contact display **name**."),
23965
24526
  type: h.string().optional().describe("Contact **type** provider.")
@@ -23970,6 +24531,7 @@ h.object({
23970
24531
  next: h.boolean().optional(),
23971
24532
  page: h.int().optional().describe("Dataset page number."),
23972
24533
  peers: h.array(h.object({
24534
+ etag: h.string().optional().describe("Contact source identifier."),
23973
24535
  id: h.string().optional().describe("Contact unique **ID**entifier.\nContact **type**-specific string."),
23974
24536
  name: h.string().optional().describe("Contact display **name**."),
23975
24537
  type: h.string().optional().describe("Contact **type** provider.")
@@ -24024,7 +24586,7 @@ h.object({
24024
24586
  next: h.boolean().optional(),
24025
24587
  page: h.int().optional()
24026
24588
  });
24027
- var De = h.object({
24589
+ var Oe = h.object({
24028
24590
  auth_url: h.string().optional(),
24029
24591
  claims: h.array(h.object({
24030
24592
  type: h.string().optional(),
@@ -25169,8 +25731,8 @@ h.object({
25169
25731
  result: h.object({ data: h.string().optional() }).optional()
25170
25732
  }), h.object({ call_id: h.string().describe("Unique identifier of the call.") }), h.object({
25171
25733
  file_ids: h.array(h.string()).optional().describe("Optional IDs of selected screen recordings."),
25172
- from: h.string().optional().describe("Start of the uploaded_at range (Unix millis)."),
25173
- to: h.string().optional().describe("End of the uploaded_at range (Unix millis).")
25734
+ from: h.string().optional().describe("Start of the start_at range (Unix millis)."),
25735
+ to: h.string().optional().describe("End of the start_at range (Unix millis).")
25174
25736
  }), h.object({
25175
25737
  error: h.object({
25176
25738
  code: h.int().optional(),
@@ -25309,7 +25871,7 @@ h.object({
25309
25871
  next: h.boolean().optional(),
25310
25872
  page: h.int().optional().describe("The page number of the partial result.")
25311
25873
  }).describe("PhoneNumber dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
25312
- var L = h.object({
25874
+ var I = h.object({
25313
25875
  etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
25314
25876
  number: h.string().describe("The phone number."),
25315
25877
  primary: h.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -25320,7 +25882,7 @@ var L = h.object({
25320
25882
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
25321
25883
  verified: h.boolean().optional()
25322
25884
  }).describe("Input of the contact phone number.");
25323
- h.array(L), h.object({
25885
+ h.array(I), h.object({
25324
25886
  data: h.array(h.object({
25325
25887
  created_at: h.string().optional().describe("The user who created this Field."),
25326
25888
  created_by: h.object({
@@ -25349,7 +25911,7 @@ h.array(L), h.object({
25349
25911
  next: h.boolean().optional(),
25350
25912
  page: h.int().optional().describe("The page number of the partial result.")
25351
25913
  }).describe("PhoneNumber dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
25352
- var Oe = h.object({
25914
+ var ke = h.object({
25353
25915
  etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
25354
25916
  number: h.string().describe("The phone number."),
25355
25917
  primary: h.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
@@ -25360,7 +25922,7 @@ var Oe = h.object({
25360
25922
  }).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
25361
25923
  verified: h.boolean().optional()
25362
25924
  }).describe("Input of the contact phone number.");
25363
- h.array(Oe), h.object({
25925
+ h.array(ke), h.object({
25364
25926
  data: h.array(h.object({
25365
25927
  created_at: h.string().optional().describe("The user who created this Field."),
25366
25928
  created_by: h.object({
@@ -25486,7 +26048,7 @@ h.array(Oe), h.object({
25486
26048
  contact_id: h.string().describe("The Contact ID to be associated with."),
25487
26049
  etag: h.string().describe("Unique ID of the latest version of an existing resorce.")
25488
26050
  }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
25489
- var ke = h.object({
26051
+ var Ae = h.object({
25490
26052
  number: h.string().describe("The phone number."),
25491
26053
  primary: h.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
25492
26054
  type: h.object({
@@ -25582,13 +26144,13 @@ h.object({
25582
26144
  next: h.boolean().optional(),
25583
26145
  page: h.int().optional().describe("The page number of the partial result.")
25584
26146
  }).describe("Photo dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
25585
- var Ae = h.object({
26147
+ var je = h.object({
25586
26148
  etag: h.string().optional().describe("Unique ID of the latest version of an existing association."),
25587
26149
  photo_id: h.string().optional(),
25588
26150
  photo_url: h.string().optional(),
25589
26151
  primary: h.boolean().optional().describe("True if the photo is a default photo; false if the photo is a user-provided photo.")
25590
26152
  }).describe("Input of the photo.");
25591
- h.array(Ae), h.object({
26153
+ h.array(je), h.object({
25592
26154
  data: h.array(h.object({
25593
26155
  created_at: h.string().optional().describe("The user who created this Field."),
25594
26156
  created_by: h.object({
@@ -25612,13 +26174,13 @@ h.array(Ae), h.object({
25612
26174
  next: h.boolean().optional(),
25613
26175
  page: h.int().optional().describe("The page number of the partial result.")
25614
26176
  }).describe("Photo dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
25615
- var je = h.object({
26177
+ var Me = h.object({
25616
26178
  etag: h.string().optional().describe("Unique ID of the latest version of an existing association."),
25617
26179
  photo_id: h.string().optional(),
25618
26180
  photo_url: h.string().optional(),
25619
26181
  primary: h.boolean().optional().describe("True if the photo is a default photo; false if the photo is a user-provided photo.")
25620
26182
  }).describe("Input of the photo.");
25621
- h.array(je), h.object({
26183
+ h.array(Me), h.object({
25622
26184
  data: h.array(h.object({
25623
26185
  created_at: h.string().optional().describe("The user who created this Field."),
25624
26186
  created_by: h.object({
@@ -28433,9 +28995,11 @@ h.array(je), h.object({
28433
28995
  name: h.string().optional(),
28434
28996
  schema_id: h.array(h.int()).optional(),
28435
28997
  pattern: h.string().optional(),
28436
- description: h.string().optional()
28998
+ description: h.string().optional(),
28999
+ allow_transfer: h.boolean().optional()
28437
29000
  }), h.object({
28438
29001
  items: h.array(h.object({
29002
+ allow_transfer: h.boolean().optional(),
28439
29003
  description: h.string().optional(),
28440
29004
  disabled: h.boolean().optional(),
28441
29005
  domain_id: h.string().optional(),
@@ -28450,6 +29014,7 @@ h.array(je), h.object({
28450
29014
  })).optional(),
28451
29015
  next: h.boolean().optional()
28452
29016
  }), h.object({
29017
+ allow_transfer: h.boolean().optional(),
28453
29018
  description: h.string().optional(),
28454
29019
  disabled: h.boolean().optional(),
28455
29020
  domain_id: h.string().optional(),
@@ -28460,6 +29025,7 @@ h.array(je), h.object({
28460
29025
  name: h.string().optional()
28461
29026
  }).optional()
28462
29027
  }), h.object({
29028
+ allow_transfer: h.boolean().optional(),
28463
29029
  created_at: h.string().optional(),
28464
29030
  created_by: h.object({
28465
29031
  id: h.string().optional(),
@@ -28484,6 +29050,7 @@ h.array(je), h.object({
28484
29050
  from_id: h.string(),
28485
29051
  to_id: h.string()
28486
29052
  }), h.object({ domain_id: h.string().optional() }), h.object({ success: h.boolean().optional() }), h.object({ id: h.string() }), h.object({ domain_id: h.string().optional() }), h.object({
29053
+ allow_transfer: h.boolean().optional(),
28487
29054
  created_at: h.string().optional(),
28488
29055
  created_by: h.object({
28489
29056
  id: h.string().optional(),
@@ -28505,6 +29072,7 @@ h.array(je), h.object({
28505
29072
  name: h.string().optional()
28506
29073
  }).optional()
28507
29074
  }), h.object({ id: h.string() }), h.object({ domain_id: h.string().optional() }), h.object({
29075
+ allow_transfer: h.boolean().optional(),
28508
29076
  created_at: h.string().optional(),
28509
29077
  created_by: h.object({
28510
29078
  id: h.string().optional(),
@@ -28526,6 +29094,7 @@ h.array(je), h.object({
28526
29094
  name: h.string().optional()
28527
29095
  }).optional()
28528
29096
  }), h.object({ id: h.string() }), h.object({
29097
+ allow_transfer: h.boolean().optional(),
28529
29098
  description: h.string().optional(),
28530
29099
  disabled: h.boolean().optional(),
28531
29100
  domain_id: h.string().optional(),
@@ -28537,6 +29106,7 @@ h.array(je), h.object({
28537
29106
  name: h.string().optional()
28538
29107
  }).optional()
28539
29108
  }), h.object({
29109
+ allow_transfer: h.boolean().optional(),
28540
29110
  created_at: h.string().optional(),
28541
29111
  created_by: h.object({
28542
29112
  id: h.string().optional(),
@@ -28558,6 +29128,7 @@ h.array(je), h.object({
28558
29128
  name: h.string().optional()
28559
29129
  }).optional()
28560
29130
  }), h.object({ id: h.string() }), h.object({
29131
+ allow_transfer: h.boolean().optional(),
28561
29132
  description: h.string().optional(),
28562
29133
  disabled: h.boolean().optional(),
28563
29134
  domain_id: h.string().optional(),
@@ -28568,6 +29139,7 @@ h.array(je), h.object({
28568
29139
  name: h.string().optional()
28569
29140
  }).optional()
28570
29141
  }), h.object({
29142
+ allow_transfer: h.boolean().optional(),
28571
29143
  created_at: h.string().optional(),
28572
29144
  created_by: h.object({
28573
29145
  id: h.string().optional(),
@@ -28975,7 +29547,7 @@ h.array(je), h.object({
28975
29547
  next: h.boolean().optional(),
28976
29548
  page: h.int().optional()
28977
29549
  }), h.object({ fields: h.array(h.string()).optional() });
28978
- var R = h.object({
29550
+ var L = h.object({
28979
29551
  assignee: h.object({
28980
29552
  id: h.string().optional(),
28981
29553
  name: h.string().optional()
@@ -29152,7 +29724,7 @@ h.object({
29152
29724
  name: h.string().optional()
29153
29725
  }).optional()
29154
29726
  }).optional() }), h.object({ id: h.string().describe("ID of the service to be updated") }), h.object({ fields: h.array(h.string()).optional() });
29155
- var Me = h.object({
29727
+ var Ne = h.object({
29156
29728
  assignee: h.object({
29157
29729
  id: h.string().optional(),
29158
29730
  name: h.string().optional()
@@ -29227,7 +29799,7 @@ h.object({
29227
29799
  name: h.string().optional()
29228
29800
  }).optional()
29229
29801
  }), h.object({ id: h.string().describe("ID of the service to be updated") }), h.object({ fields: h.array(h.string()).optional() });
29230
- var Ne = h.object({
29802
+ var Pe = h.object({
29231
29803
  assignee: h.object({
29232
29804
  id: h.string().optional(),
29233
29805
  name: h.string().optional()
@@ -30203,13 +30775,13 @@ h.object({
30203
30775
  next: h.boolean().optional(),
30204
30776
  page: h.int().optional().describe("The page number of the partial result.")
30205
30777
  }), h.object({ fields: h.array(h.string()).optional().describe("Source Fields to return into result.") });
30206
- var Pe = h.object({
30778
+ var Fe = h.object({
30207
30779
  etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
30208
30780
  home_page: h.string().optional().describe("BIO. Short description about the space.\nOPTIONAL. Multi-lined text."),
30209
30781
  name: h.string().optional().describe("Represents the name of the knowledge base space."),
30210
30782
  state: h.boolean().optional().describe("The state of the space.")
30211
30783
  }).describe("The Space principal input.");
30212
- h.array(Pe), h.object({
30784
+ h.array(Fe), h.object({
30213
30785
  created_at: h.string().optional().describe("The timestamp when the space was created (in Unix time)."),
30214
30786
  created_by: h.object({
30215
30787
  id: h.string().optional().describe("Reference Object unique ID."),
@@ -30777,7 +31349,7 @@ h.array(Pe), h.object({
30777
31349
  })).optional(),
30778
31350
  next: h.boolean().optional()
30779
31351
  });
30780
- var Fe = h.object({ name: h.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") });
31352
+ var Ie = h.object({ name: h.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") });
30781
31353
  h.object({
30782
31354
  id: h.int().optional(),
30783
31355
  name: h.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")
@@ -30813,6 +31385,34 @@ h.object({
30813
31385
  q: h.string().optional().describe("Prefix to match."),
30814
31386
  size: h.int().optional().describe("Maximum number of suggestions.")
30815
31387
  }), h.object({ tags: h.array(h.string()).optional().describe("Matching tags.") }).describe("SuggestTagsResponse returns matching tags."), h.object({ team_id: h.string() }), h.object({
31388
+ page: h.int().optional(),
31389
+ size: h.int().optional(),
31390
+ q: h.string().optional(),
31391
+ sort: h.string().optional(),
31392
+ fields: h.array(h.string()).optional(),
31393
+ id: h.array(h.int()).optional()
31394
+ }), h.object({
31395
+ items: h.array(h.object({
31396
+ id: h.int().optional(),
31397
+ tag: h.string().optional()
31398
+ })).optional(),
31399
+ next: h.boolean().optional()
31400
+ }), h.object({ team_id: h.string() }), h.object({ tag: h.string().optional() }), h.object({
31401
+ id: h.int().optional(),
31402
+ tag: h.string().optional()
31403
+ }), h.object({
31404
+ team_id: h.string(),
31405
+ id: h.int()
31406
+ }), h.object({
31407
+ id: h.int().optional(),
31408
+ tag: h.string().optional()
31409
+ }), h.object({
31410
+ team_id: h.string(),
31411
+ id: h.int()
31412
+ }), h.object({ tag: h.string().optional() }), h.object({
31413
+ id: h.int().optional(),
31414
+ tag: h.string().optional()
31415
+ }), h.object({ team_id: h.string() }), h.object({
30816
31416
  page: h.int().optional(),
30817
31417
  size: h.int().optional(),
30818
31418
  q: h.string().optional(),
@@ -31275,7 +31875,7 @@ h.object({
31275
31875
  next: h.boolean().optional(),
31276
31876
  page: h.int().optional().describe("The page number of the partial result.")
31277
31877
  }).describe("Timezone dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactTimezones.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
31278
- var Ie = h.object({
31878
+ var Le = h.object({
31279
31879
  etag: h.string().describe("Unique ID of the latest version of an existing resource."),
31280
31880
  primary: h.boolean().optional().describe("Indicates whether this association must be default among others."),
31281
31881
  timezone: h.object({
@@ -31284,7 +31884,7 @@ var Ie = h.object({
31284
31884
  type: h.string().optional().describe("Reference Object well-known type.")
31285
31885
  }).optional().describe("Timezone dictionary reference value associated.")
31286
31886
  }).describe("An input of the Contact's timezones.");
31287
- h.array(Ie), h.object({
31887
+ h.array(Le), h.object({
31288
31888
  data: h.array(h.object({
31289
31889
  created_at: h.string().optional().describe("The user who created this Field."),
31290
31890
  created_by: h.object({
@@ -31311,7 +31911,7 @@ h.array(Ie), h.object({
31311
31911
  next: h.boolean().optional(),
31312
31912
  page: h.int().optional().describe("The page number of the partial result.")
31313
31913
  }).describe("Timezone dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactTimezones.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
31314
- var Le = h.object({
31914
+ var Re = h.object({
31315
31915
  etag: h.string().describe("Unique ID of the latest version of an existing resource."),
31316
31916
  primary: h.boolean().optional().describe("Indicates whether this association must be default among others."),
31317
31917
  timezone: h.object({
@@ -31320,7 +31920,7 @@ var Le = h.object({
31320
31920
  type: h.string().optional().describe("Reference Object well-known type.")
31321
31921
  }).optional().describe("Timezone dictionary reference value associated.")
31322
31922
  }).describe("An input of the Contact's timezones.");
31323
- h.array(Le), h.object({
31923
+ h.array(Re), h.object({
31324
31924
  data: h.array(h.object({
31325
31925
  created_at: h.string().optional().describe("The user who created this Field."),
31326
31926
  created_by: h.object({
@@ -32557,8 +33157,8 @@ h.array(Le), h.object({
32557
33157
  id: h.string().optional().describe("ONE /users/{id}"),
32558
33158
  permanent: h.boolean().optional()
32559
33159
  });
32560
- var Re = h.string();
32561
- h.array(Re), h.object({ deleted: h.array(h.object({
33160
+ var ze = h.string();
33161
+ h.array(ze), h.object({ deleted: h.array(h.object({
32562
33162
  chat_name: h.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."),
32563
33163
  contact: h.object({
32564
33164
  id: h.string().optional(),
@@ -33441,12 +34041,12 @@ h.array(Re), h.object({ deleted: h.array(h.object({
33441
34041
  next: h.boolean().optional(),
33442
34042
  page: h.int().optional().describe("The page number of the partial result.")
33443
34043
  }).describe("Variable dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
33444
- var z = h.object({
34044
+ var R = h.object({
33445
34045
  etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
33446
34046
  key: h.string().regex(/^\w+$/).describe("NEW Key."),
33447
34047
  value: h.unknown().optional().describe("NEW Value.")
33448
34048
  }).describe("Input of the Contact's variable.");
33449
- h.array(z), h.object({
34049
+ h.array(R), h.object({
33450
34050
  data: h.array(h.object({
33451
34051
  created_at: h.string().optional().describe("The user who created this Field."),
33452
34052
  created_by: h.object({
@@ -33469,12 +34069,12 @@ h.array(z), h.object({
33469
34069
  next: h.boolean().optional(),
33470
34070
  page: h.int().optional().describe("The page number of the partial result.")
33471
34071
  }).describe("Variable dataset."), h.object({ contact_id: h.string().describe("Contact ID associated with.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
33472
- var ze = h.object({
34072
+ var Be = h.object({
33473
34073
  etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
33474
34074
  key: h.string().regex(/^\w+$/).describe("NEW Key."),
33475
34075
  value: h.unknown().optional().describe("NEW Value.")
33476
34076
  }).describe("Input of the Contact's variable.");
33477
- h.array(ze), h.object({
34077
+ h.array(Be), h.object({
33478
34078
  data: h.array(h.object({
33479
34079
  created_at: h.string().optional().describe("The user who created this Field."),
33480
34080
  created_by: h.object({
@@ -33549,7 +34149,7 @@ h.array(ze), h.object({
33549
34149
  contact_id: h.string().describe("Contact ID associated with."),
33550
34150
  etag: h.string().describe("Unique ID of the latest version of an existing resorce.")
33551
34151
  }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
33552
- var Be = h.object({
34152
+ var Ve = h.object({
33553
34153
  key: h.string().regex(/^\w+$/).describe("NEW Key."),
33554
34154
  value: h.unknown().optional().describe("NEW Value.")
33555
34155
  });
@@ -34053,6 +34653,7 @@ h.object({
34053
34653
  updated_at: h.string().optional()
34054
34654
  }).optional() }), h.object({
34055
34655
  email: h.string().optional().describe("Email must be valid if provided."),
34656
+ external_id: h.string().optional().describe("Platform message id, when the channel reports one."),
34056
34657
  forward_origin: h.object({
34057
34658
  kind: h.enum([
34058
34659
  "FORWARD_ORIGIN_KIND_UNSPECIFIED",
@@ -34069,6 +34670,7 @@ h.object({
34069
34670
  metadata: h.looseObject({}).optional().describe("Arbitrary metadata."),
34070
34671
  name: h.string().optional().describe("Full name of the contact."),
34071
34672
  phone_number: h.string().optional().describe("Phone number in E.164 format recommended."),
34673
+ reply_to_external_id: h.string().optional().describe("ID of the message this is a reply to, as reported by the external channel."),
34072
34674
  reply_to_message_id: h.string().optional(),
34073
34675
  send_as: h.object({
34074
34676
  chat_name: h.string().optional().describe("chat_name is the name external clients see instead of the real one."),
@@ -34114,7 +34716,7 @@ h.object({
34114
34716
  "REASON_CHAT_CLOSED",
34115
34717
  "REASON_NOT_ALLOWED"
34116
34718
  ]).default("REASON_UNSPECIFIED")
34117
- }).describe("SkippedMessage is one requested message DeleteMessages left untouched, with\nthe reason it did.")).optional()
34719
+ }).describe("SkippedMessage is one requested message DeleteMessages or ForwardMessages\nleft untouched, with the reason it did.")).optional()
34118
34720
  }), h.object({
34119
34721
  body: h.string().optional(),
34120
34722
  documents: h.array(h.object({
@@ -34157,7 +34759,8 @@ h.object({
34157
34759
  }).optional(),
34158
34760
  group_id: h.string().optional(),
34159
34761
  thread_id: h.string().optional()
34160
- }).optional().describe("Represents a peer in the messaging system.\nIt can be a user, chat, or channel.")
34762
+ }).optional().describe("Represents a peer in the messaging system.\nIt can be a user, chat, or channel."),
34763
+ variables: h.record(h.string(), h.string()).optional().describe("Variables seeded onto the thread when this message is the one that creates\nit; ignored on every later message. Providers fill it from the channel's\nfirst-message payload so a flow schema can route on the caller's own data.")
34161
34764
  }).describe("Represents a request to send a message with document."), h.object({
34162
34765
  id: h.string().optional(),
34163
34766
  to: h.object({
@@ -34172,7 +34775,6 @@ h.object({
34172
34775
  thread_id: h.string().optional()
34173
34776
  }).optional().describe("Represents a peer in the messaging system.\nIt can be a user, chat, or channel.")
34174
34777
  }).describe("Represents a response to send message with document."), h.object({
34175
- internal_note: h.string().optional().describe("Optional internal note posted alongside the forward — visible only to\nWebitel users, never delivered to the client."),
34176
34778
  message_ids: h.array(h.string()).optional().describe("Sources to copy, in the order they should appear at the destination."),
34177
34779
  send_as: h.object({
34178
34780
  chat_name: h.string().optional().describe("chat_name is the name external clients see instead of the real one."),
@@ -34194,7 +34796,17 @@ h.object({
34194
34796
  }).optional().describe("Recipient of the copies: a user contact or a bot contact (flow schema).")
34195
34797
  }), h.object({
34196
34798
  ids: h.array(h.string()).optional().describe("Ids of the created copies, in forwarded order."),
34197
- skipped_ids: h.array(h.string()).optional().describe("Sources that were not forwarded: unknown id, no read access to the source\nchat, already deleted, or a type that cannot be forwarded."),
34799
+ skipped: h.array(h.object({
34800
+ id: h.string().optional(),
34801
+ reason: h.enum([
34802
+ "REASON_UNSPECIFIED",
34803
+ "REASON_NOT_FOUND",
34804
+ "REASON_NOT_AUTHOR",
34805
+ "REASON_ALREADY_DELETED",
34806
+ "REASON_CHAT_CLOSED",
34807
+ "REASON_NOT_ALLOWED"
34808
+ ]).default("REASON_UNSPECIFIED")
34809
+ }).describe("SkippedMessage is one requested message DeleteMessages or ForwardMessages\nleft untouched, with the reason it did.")).optional().describe("Sources left unforwarded, one entry per skipped id."),
34198
34810
  thread_id: h.string().optional().describe("Direct chat the copies landed in.")
34199
34811
  }), h.object({
34200
34812
  body: h.string().optional().describe("Body text for the message."),
@@ -34334,6 +34946,7 @@ h.object({
34334
34946
  }).optional().describe("Recipient of the message.")
34335
34947
  }).describe("SendMessageResponse represents the result of a send operation.\nContains the generated message ID and list of recipients."), h.object({
34336
34948
  address: h.string().optional().describe("Optional human-readable address."),
34949
+ external_id: h.string().optional().describe("Platform message id, when the channel reports one."),
34337
34950
  forward_origin: h.object({
34338
34951
  kind: h.enum([
34339
34952
  "FORWARD_ORIGIN_KIND_UNSPECIFIED",
@@ -34351,6 +34964,7 @@ h.object({
34351
34964
  longitude: h.number().optional().describe("Longitude in degrees. Must be between -180 and +180."),
34352
34965
  metadata: h.looseObject({}).optional().describe("Arbitrary metadata."),
34353
34966
  name: h.string().optional().describe("Optional location name (e.g., \"Central Park\")."),
34967
+ reply_to_external_id: h.string().optional().describe("ID of the message this is a reply to, as reported by the external channel."),
34354
34968
  reply_to_message_id: h.string().optional(),
34355
34969
  send_as: h.object({
34356
34970
  chat_name: h.string().optional().describe("chat_name is the name external clients see instead of the real one."),
@@ -34418,7 +35032,8 @@ h.object({
34418
35032
  }).optional(),
34419
35033
  group_id: h.string().optional(),
34420
35034
  thread_id: h.string().optional()
34421
- }).optional().describe("Represents a peer in the messaging system.\nIt can be a user, chat, or channel.")
35035
+ }).optional().describe("Represents a peer in the messaging system.\nIt can be a user, chat, or channel."),
35036
+ variables: h.record(h.string(), h.string()).optional()
34422
35037
  }).describe("Represents a request to send a text message."), h.object({
34423
35038
  id: h.string().optional(),
34424
35039
  to: h.object({
@@ -34670,8 +35285,8 @@ h.object({
34670
35285
  attachment_name: h.string().optional(),
34671
35286
  body: h.string().optional(),
34672
35287
  created_at: h.string().optional(),
34673
- id: h.string().optional(),
34674
35288
  is_deleted: h.boolean().optional(),
35289
+ message_id: h.string().optional(),
34675
35290
  sender: h.object({
34676
35291
  contact: h.object({
34677
35292
  app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
@@ -35065,8 +35680,8 @@ h.object({
35065
35680
  attachment_name: h.string().optional(),
35066
35681
  body: h.string().optional(),
35067
35682
  created_at: h.string().optional(),
35068
- id: h.string().optional(),
35069
35683
  is_deleted: h.boolean().optional(),
35684
+ message_id: h.string().optional(),
35070
35685
  sender: h.object({
35071
35686
  contact: h.object({
35072
35687
  app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
@@ -35406,8 +36021,8 @@ h.object({
35406
36021
  attachment_name: h.string().optional(),
35407
36022
  body: h.string().optional(),
35408
36023
  created_at: h.string().optional(),
35409
- id: h.string().optional(),
35410
36024
  is_deleted: h.boolean().optional(),
36025
+ message_id: h.string().optional(),
35411
36026
  sender: h.object({
35412
36027
  contact: h.object({
35413
36028
  app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
@@ -35757,8 +36372,8 @@ h.object({
35757
36372
  attachment_name: h.string().optional(),
35758
36373
  body: h.string().optional(),
35759
36374
  created_at: h.string().optional(),
35760
- id: h.string().optional(),
35761
36375
  is_deleted: h.boolean().optional(),
36376
+ message_id: h.string().optional(),
35762
36377
  sender: h.object({
35763
36378
  contact: h.object({
35764
36379
  app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
@@ -36185,8 +36800,8 @@ h.object({
36185
36800
  attachment_name: h.string().optional(),
36186
36801
  body: h.string().optional(),
36187
36802
  created_at: h.string().optional(),
36188
- id: h.string().optional(),
36189
36803
  is_deleted: h.boolean().optional(),
36804
+ message_id: h.string().optional(),
36190
36805
  sender: h.object({
36191
36806
  contact: h.object({
36192
36807
  app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
@@ -36618,8 +37233,8 @@ h.object({
36618
37233
  attachment_name: h.string().optional(),
36619
37234
  body: h.string().optional(),
36620
37235
  created_at: h.string().optional(),
36621
- id: h.string().optional(),
36622
37236
  is_deleted: h.boolean().optional(),
37237
+ message_id: h.string().optional(),
36623
37238
  sender: h.object({
36624
37239
  contact: h.object({
36625
37240
  app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
@@ -37044,8 +37659,8 @@ h.object({
37044
37659
  attachment_name: h.string().optional(),
37045
37660
  body: h.string().optional(),
37046
37661
  created_at: h.string().optional(),
37047
- id: h.string().optional(),
37048
37662
  is_deleted: h.boolean().optional(),
37663
+ message_id: h.string().optional(),
37049
37664
  sender: h.object({
37050
37665
  contact: h.object({
37051
37666
  app_id: h.string().optional().describe("Identifier of the specific integration app or bot."),
@@ -37516,7 +38131,18 @@ h.object({
37516
38131
  id: h.string().optional(),
37517
38132
  member_id: h.string().optional(),
37518
38133
  updated_at: h.string().optional()
37519
- }).optional() }), h.object({ gate_id: h.string() }), h.looseObject({}), h.object({ gate_id: h.string() }), h.object({ payload: h.string().optional() }), h.looseObject({}), h.object({ gate_id: h.string() }), h.looseObject({}), h.object({ gate_id: h.string() }), h.object({
38134
+ }).optional() }), h.object({
38135
+ page: h.int().optional(),
38136
+ size: h.int().optional()
38137
+ }), h.object({
38138
+ tags: h.array(h.string()).optional(),
38139
+ next: h.boolean().optional()
38140
+ }), h.object({ id: h.string() }), h.looseObject({}), h.object({ thread_id: h.string() }), h.object({ tag: h.string().optional() }), h.object({
38141
+ created_at: h.string().optional(),
38142
+ id: h.string().optional(),
38143
+ tag: h.string().optional(),
38144
+ thread_id: h.string().optional()
38145
+ }), h.object({ gate_id: h.string() }), h.looseObject({}), h.object({ gate_id: h.string() }), h.object({ payload: h.string().optional() }), h.looseObject({}), h.object({ gate_id: h.string() }), h.looseObject({}), h.object({ gate_id: h.string() }), h.object({
37520
38146
  composer_input_disabled: h.boolean().optional(),
37521
38147
  items: h.array(h.object({
37522
38148
  nested: h.object({ items: h.array(h.unknown()).optional() }).optional(),
@@ -37674,7 +38300,71 @@ h.object({
37674
38300
  }), h.object({ meta_app_id: h.string() }), h.object({ extra_scopes: h.array(h.string()).optional() }), h.object({
37675
38301
  auth_url: h.string().optional(),
37676
38302
  state: h.string().optional()
38303
+ }), h.object({ gate_id: h.string() }), h.object({
38304
+ parameters: h.record(h.string(), h.string()).optional(),
38305
+ language: h.string().optional(),
38306
+ template_id: h.string().optional(),
38307
+ to: h.string().optional()
38308
+ }), h.object({
38309
+ bulk_id: h.string().optional(),
38310
+ message_id: h.string().optional()
37677
38311
  }), h.object({ id: h.string() }), h.object({ item: h.object({
38312
+ base_url: h.string().optional(),
38313
+ created_at: h.string().optional(),
38314
+ enabled: h.boolean().optional(),
38315
+ id: h.string().optional(),
38316
+ name: h.string().optional(),
38317
+ sender_name: h.string().optional(),
38318
+ status: h.enum([
38319
+ "PROVIDER_STATUS_UNSPECIFIED",
38320
+ "PROVIDER_STATUS_ACTIVE",
38321
+ "PROVIDER_STATUS_INACTIVE",
38322
+ "PROVIDER_STATUS_ERROR"
38323
+ ]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway."),
38324
+ updated_at: h.string().optional(),
38325
+ webhook_url: h.string().optional()
38326
+ }).optional() }), h.object({ id: h.string() }), h.object({ item: h.object({
38327
+ base_url: h.string().optional(),
38328
+ created_at: h.string().optional(),
38329
+ enabled: h.boolean().optional(),
38330
+ id: h.string().optional(),
38331
+ name: h.string().optional(),
38332
+ sender_name: h.string().optional(),
38333
+ status: h.enum([
38334
+ "PROVIDER_STATUS_UNSPECIFIED",
38335
+ "PROVIDER_STATUS_ACTIVE",
38336
+ "PROVIDER_STATUS_INACTIVE",
38337
+ "PROVIDER_STATUS_ERROR"
38338
+ ]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway."),
38339
+ updated_at: h.string().optional(),
38340
+ webhook_url: h.string().optional()
38341
+ }).optional() }), h.object({ id: h.string() }), h.object({
38342
+ api_key: h.string().optional(),
38343
+ base_url: h.string().optional(),
38344
+ enabled: h.boolean().optional(),
38345
+ name: h.string().optional(),
38346
+ peer: h.object({
38347
+ iss: h.string().optional(),
38348
+ sub: h.string().optional()
38349
+ }).optional(),
38350
+ sender_name: h.string().optional(),
38351
+ webhook_secret: h.string().optional()
38352
+ }), h.object({ item: h.object({
38353
+ base_url: h.string().optional(),
38354
+ created_at: h.string().optional(),
38355
+ enabled: h.boolean().optional(),
38356
+ id: h.string().optional(),
38357
+ name: h.string().optional(),
38358
+ sender_name: h.string().optional(),
38359
+ status: h.enum([
38360
+ "PROVIDER_STATUS_UNSPECIFIED",
38361
+ "PROVIDER_STATUS_ACTIVE",
38362
+ "PROVIDER_STATUS_INACTIVE",
38363
+ "PROVIDER_STATUS_ERROR"
38364
+ ]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway."),
38365
+ updated_at: h.string().optional(),
38366
+ webhook_url: h.string().optional()
38367
+ }).optional() }), h.object({ id: h.string() }), h.object({ item: h.object({
37678
38368
  created_at: h.string().optional(),
37679
38369
  id: h.string().optional(),
37680
38370
  meta_app_id: h.string().optional(),
@@ -37723,6 +38413,102 @@ h.object({
37723
38413
  updated_at: h.string().optional(),
37724
38414
  waba_id: h.string().optional()
37725
38415
  }).optional() }), h.object({
38416
+ allowed_ips: h.array(h.string()).optional(),
38417
+ app_secret: h.string().optional(),
38418
+ callback_url: h.string().optional(),
38419
+ enabled: h.boolean().optional(),
38420
+ name: h.string().optional(),
38421
+ peer: h.object({
38422
+ iss: h.string().optional(),
38423
+ sub: h.string().optional()
38424
+ }).optional(),
38425
+ request_timeout_ms: h.int().optional(),
38426
+ retry_attempts: h.int().optional()
38427
+ }).describe("/ ProviderCreateCustomGateRequest registers an arbitrary external communication\n/ system as a chat channel. Only configuration is required on the Webitel side:\n/ the external system posts signed updates to the generated webhook_url and\n/ receives operator replies on callback_url."), h.object({ item: h.object({
38428
+ allowed_ips: h.array(h.string()).optional().describe("Optional CIDR allowlist; an empty list accepts any source address."),
38429
+ app_secret: h.string().optional().describe("Shared secret used to sign and verify X-Webitel-Sign in both directions; handled as sensitive."),
38430
+ callback_url: h.string().optional().describe("Customer-side webhook Webitel posts operator replies and events to."),
38431
+ created_at: h.string().optional(),
38432
+ enabled: h.boolean().optional(),
38433
+ id: h.string().optional(),
38434
+ name: h.string().optional(),
38435
+ request_timeout_ms: h.int().optional().describe("Timeout of a single outbound callback attempt, in milliseconds."),
38436
+ retry_attempts: h.int().optional().describe("How many times an outbound callback is retried before the message is marked failed."),
38437
+ status: h.enum([
38438
+ "PROVIDER_STATUS_UNSPECIFIED",
38439
+ "PROVIDER_STATUS_ACTIVE",
38440
+ "PROVIDER_STATUS_INACTIVE",
38441
+ "PROVIDER_STATUS_ERROR"
38442
+ ]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
38443
+ updated_at: h.string().optional(),
38444
+ webhook_url: h.string().optional().describe("Webitel-side webhook the external system posts updates to.")
38445
+ }).optional() }).describe("/ ProviderCreateCustomGateResponse returns the newly activated custom provider."), h.object({ id: h.string() }), h.object({ item: h.object({
38446
+ allowed_ips: h.array(h.string()).optional().describe("Optional CIDR allowlist; an empty list accepts any source address."),
38447
+ app_secret: h.string().optional().describe("Shared secret used to sign and verify X-Webitel-Sign in both directions; handled as sensitive."),
38448
+ callback_url: h.string().optional().describe("Customer-side webhook Webitel posts operator replies and events to."),
38449
+ created_at: h.string().optional(),
38450
+ enabled: h.boolean().optional(),
38451
+ id: h.string().optional(),
38452
+ name: h.string().optional(),
38453
+ request_timeout_ms: h.int().optional().describe("Timeout of a single outbound callback attempt, in milliseconds."),
38454
+ retry_attempts: h.int().optional().describe("How many times an outbound callback is retried before the message is marked failed."),
38455
+ status: h.enum([
38456
+ "PROVIDER_STATUS_UNSPECIFIED",
38457
+ "PROVIDER_STATUS_ACTIVE",
38458
+ "PROVIDER_STATUS_INACTIVE",
38459
+ "PROVIDER_STATUS_ERROR"
38460
+ ]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
38461
+ updated_at: h.string().optional(),
38462
+ webhook_url: h.string().optional().describe("Webitel-side webhook the external system posts updates to.")
38463
+ }).optional() }), h.object({ id: h.string() }), h.object({ item: h.object({
38464
+ allowed_ips: h.array(h.string()).optional().describe("Optional CIDR allowlist; an empty list accepts any source address."),
38465
+ app_secret: h.string().optional().describe("Shared secret used to sign and verify X-Webitel-Sign in both directions; handled as sensitive."),
38466
+ callback_url: h.string().optional().describe("Customer-side webhook Webitel posts operator replies and events to."),
38467
+ created_at: h.string().optional(),
38468
+ enabled: h.boolean().optional(),
38469
+ id: h.string().optional(),
38470
+ name: h.string().optional(),
38471
+ request_timeout_ms: h.int().optional().describe("Timeout of a single outbound callback attempt, in milliseconds."),
38472
+ retry_attempts: h.int().optional().describe("How many times an outbound callback is retried before the message is marked failed."),
38473
+ status: h.enum([
38474
+ "PROVIDER_STATUS_UNSPECIFIED",
38475
+ "PROVIDER_STATUS_ACTIVE",
38476
+ "PROVIDER_STATUS_INACTIVE",
38477
+ "PROVIDER_STATUS_ERROR"
38478
+ ]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
38479
+ updated_at: h.string().optional(),
38480
+ webhook_url: h.string().optional().describe("Webitel-side webhook the external system posts updates to.")
38481
+ }).optional() }), h.object({ id: h.string() }), h.object({
38482
+ allowed_ips: h.array(h.string()).optional(),
38483
+ app_secret: h.string().optional(),
38484
+ callback_url: h.string().optional(),
38485
+ enabled: h.boolean().optional(),
38486
+ name: h.string().optional(),
38487
+ peer: h.object({
38488
+ iss: h.string().optional(),
38489
+ sub: h.string().optional()
38490
+ }).optional(),
38491
+ request_timeout_ms: h.int().optional(),
38492
+ retry_attempts: h.int().optional()
38493
+ }).describe("/ ProviderUpdateCustomGateRequest updates custom gateway settings. A non-empty\n/ app_secret rotates the signing secret and breaks the integration until the\n/ external system is updated too."), h.object({ item: h.object({
38494
+ allowed_ips: h.array(h.string()).optional().describe("Optional CIDR allowlist; an empty list accepts any source address."),
38495
+ app_secret: h.string().optional().describe("Shared secret used to sign and verify X-Webitel-Sign in both directions; handled as sensitive."),
38496
+ callback_url: h.string().optional().describe("Customer-side webhook Webitel posts operator replies and events to."),
38497
+ created_at: h.string().optional(),
38498
+ enabled: h.boolean().optional(),
38499
+ id: h.string().optional(),
38500
+ name: h.string().optional(),
38501
+ request_timeout_ms: h.int().optional().describe("Timeout of a single outbound callback attempt, in milliseconds."),
38502
+ retry_attempts: h.int().optional().describe("How many times an outbound callback is retried before the message is marked failed."),
38503
+ status: h.enum([
38504
+ "PROVIDER_STATUS_UNSPECIFIED",
38505
+ "PROVIDER_STATUS_ACTIVE",
38506
+ "PROVIDER_STATUS_INACTIVE",
38507
+ "PROVIDER_STATUS_ERROR"
38508
+ ]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
38509
+ updated_at: h.string().optional(),
38510
+ webhook_url: h.string().optional().describe("Webitel-side webhook the external system posts updates to.")
38511
+ }).optional() }).describe("/ ProviderUpdateCustomGateResponse returns the updated custom provider."), h.object({
37726
38512
  enabled: h.boolean().optional(),
37727
38513
  meta_app_id: h.string().optional(),
37728
38514
  name: h.string().optional(),
@@ -37819,7 +38605,8 @@ h.object({
37819
38605
  "PROVIDER_TYPE_META_APP",
37820
38606
  "PROVIDER_TYPE_FACEBOOK",
37821
38607
  "PROVIDER_TYPE_INSTAGRAM",
37822
- "PROVIDER_TYPE_WHATSAPP"
38608
+ "PROVIDER_TYPE_WHATSAPP",
38609
+ "PROVIDER_TYPE_CUSTOM"
37823
38610
  ])).optional().describe("Filter by channel type (Telegram, Facebook, etc.)"),
37824
38611
  status: h.enum([
37825
38612
  "PROVIDER_STATUS_UNSPECIFIED",
@@ -37855,7 +38642,8 @@ h.object({
37855
38642
  "PROVIDER_TYPE_META_APP",
37856
38643
  "PROVIDER_TYPE_FACEBOOK",
37857
38644
  "PROVIDER_TYPE_INSTAGRAM",
37858
- "PROVIDER_TYPE_WHATSAPP"
38645
+ "PROVIDER_TYPE_WHATSAPP",
38646
+ "PROVIDER_TYPE_CUSTOM"
37859
38647
  ]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging."),
37860
38648
  updated_at: h.string().optional(),
37861
38649
  webhook_url: h.string().optional()
@@ -38032,7 +38820,8 @@ h.object({
38032
38820
  "PROVIDER_TYPE_META_APP",
38033
38821
  "PROVIDER_TYPE_FACEBOOK",
38034
38822
  "PROVIDER_TYPE_INSTAGRAM",
38035
- "PROVIDER_TYPE_WHATSAPP"
38823
+ "PROVIDER_TYPE_WHATSAPP",
38824
+ "PROVIDER_TYPE_CUSTOM"
38036
38825
  ]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging.")
38037
38826
  }).describe("ProviderSendContactRequest sends a contact card."), h.object({
38038
38827
  created_at: h.string().optional(),
@@ -38047,6 +38836,12 @@ h.object({
38047
38836
  url: h.string().optional()
38048
38837
  }).describe("ProviderFile represents a generic file attachment.")).optional(),
38049
38838
  domain_id: h.int().optional(),
38839
+ entities: h.array(h.object({
38840
+ length: h.int().optional().describe("Length of the span, in UTF-8 bytes, matching `offset`."),
38841
+ offset: h.int().optional().describe("Start of the span, as a UTF-8 byte offset into the message's text\n(`text` or `caption`). Bounded to reject pathological payloads."),
38842
+ type: h.string().optional().describe("Span kind. Open allow-list -- see message comment above."),
38843
+ value: h.string().optional().describe("Extra data the span kind needs, e.g. the target URL for a LINK entity.\nUnset for kinds that don't need one (BOLD, ITALIC, STRIKETHROUGH, CODE, PRE).")
38844
+ }).describe("Entity is a single formatting span over a message's plain-text content.\nim-gateway-service parses the original markdown exactly once and turns it\ninto a list of these canonical spans (the \"parse-once-at-gateway\" design);\nim-providers-service only relays and renders them for the destination\nchannel -- it does not re-parse markdown.\n\n`type` is an open allow-list, not an enum, so new span kinds can be added\nlater without breaking readers that don't know them yet. Values in use\ntoday: BOLD, ITALIC, STRIKETHROUGH, CODE, PRE, LINK.")).optional().describe("Formatting spans over `caption`, produced once by im-gateway-service when it\nparses the original markdown (parse-once-at-gateway). im-providers-service\nonly relays/renders them for the destination channel; it does not\nre-parse markdown."),
38050
38845
  external_user_id: h.string().optional(),
38051
38846
  gate_id: h.string().optional(),
38052
38847
  message_id: h.string().optional().describe("Internal message context for per-recipient delivery status tracking.\n\nInternal message UUID"),
@@ -38061,7 +38856,8 @@ h.object({
38061
38856
  "PROVIDER_TYPE_META_APP",
38062
38857
  "PROVIDER_TYPE_FACEBOOK",
38063
38858
  "PROVIDER_TYPE_INSTAGRAM",
38064
- "PROVIDER_TYPE_WHATSAPP"
38859
+ "PROVIDER_TYPE_WHATSAPP",
38860
+ "PROVIDER_TYPE_CUSTOM"
38065
38861
  ]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging.")
38066
38862
  }).describe("ProviderSendDocumentRequest sends a document with an optional caption."), h.object({
38067
38863
  created_at: h.string().optional(),
@@ -38090,7 +38886,8 @@ h.object({
38090
38886
  "PROVIDER_TYPE_META_APP",
38091
38887
  "PROVIDER_TYPE_FACEBOOK",
38092
38888
  "PROVIDER_TYPE_INSTAGRAM",
38093
- "PROVIDER_TYPE_WHATSAPP"
38889
+ "PROVIDER_TYPE_WHATSAPP",
38890
+ "PROVIDER_TYPE_CUSTOM"
38094
38891
  ]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging.")
38095
38892
  }).describe("ProviderSendImageRequest sends an image with an optional caption."), h.object({
38096
38893
  created_at: h.string().optional(),
@@ -38160,7 +38957,8 @@ h.object({
38160
38957
  "PROVIDER_TYPE_META_APP",
38161
38958
  "PROVIDER_TYPE_FACEBOOK",
38162
38959
  "PROVIDER_TYPE_INSTAGRAM",
38163
- "PROVIDER_TYPE_WHATSAPP"
38960
+ "PROVIDER_TYPE_WHATSAPP",
38961
+ "PROVIDER_TYPE_CUSTOM"
38164
38962
  ]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging.")
38165
38963
  }).describe("ProviderSendLocationRequest sends a geographic location."), h.object({
38166
38964
  created_at: h.string().optional(),
@@ -38182,7 +38980,8 @@ h.object({
38182
38980
  "PROVIDER_TYPE_META_APP",
38183
38981
  "PROVIDER_TYPE_FACEBOOK",
38184
38982
  "PROVIDER_TYPE_INSTAGRAM",
38185
- "PROVIDER_TYPE_WHATSAPP"
38983
+ "PROVIDER_TYPE_WHATSAPP",
38984
+ "PROVIDER_TYPE_CUSTOM"
38186
38985
  ]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging.")
38187
38986
  }).describe("ProviderSendReactionRequest asks a provider to set or clear an emoji reaction\non a message already delivered to the external chat partner."), h.looseObject({}).describe("ProviderSendReactionResponse is intentionally empty: reactions are\nfire-and-forget and best-effort."), h.object({
38188
38987
  domain_id: h.int().optional(),
@@ -38197,6 +38996,12 @@ h.object({
38197
38996
  external_id: h.string().optional()
38198
38997
  }).describe("ProviderSendMessageResponse returns the delivery status and external message ID."), h.object({
38199
38998
  domain_id: h.int().optional(),
38999
+ entities: h.array(h.object({
39000
+ length: h.int().optional().describe("Length of the span, in UTF-8 bytes, matching `offset`."),
39001
+ offset: h.int().optional().describe("Start of the span, as a UTF-8 byte offset into the message's text\n(`text` or `caption`). Bounded to reject pathological payloads."),
39002
+ type: h.string().optional().describe("Span kind. Open allow-list -- see message comment above."),
39003
+ value: h.string().optional().describe("Extra data the span kind needs, e.g. the target URL for a LINK entity.\nUnset for kinds that don't need one (BOLD, ITALIC, STRIKETHROUGH, CODE, PRE).")
39004
+ }).describe("Entity is a single formatting span over a message's plain-text content.\nim-gateway-service parses the original markdown exactly once and turns it\ninto a list of these canonical spans (the \"parse-once-at-gateway\" design);\nim-providers-service only relays and renders them for the destination\nchannel -- it does not re-parse markdown.\n\n`type` is an open allow-list, not an enum, so new span kinds can be added\nlater without breaking readers that don't know them yet. Values in use\ntoday: BOLD, ITALIC, STRIKETHROUGH, CODE, PRE, LINK.")).optional().describe("Formatting spans over `text`, produced once by im-gateway-service when it\nparses the original markdown (parse-once-at-gateway). im-providers-service\nonly relays/renders them for the destination channel; it does not\nre-parse markdown."),
38200
39005
  external_user_id: h.string().optional(),
38201
39006
  gate_id: h.string().optional(),
38202
39007
  message_id: h.string().optional().describe("Internal message context for per-recipient delivery status tracking:\nthe provider service persists the provider_message_id mapping on send\nand reports MarkDelivered/MarkRead/MarkFailed receipts back to im-thread.\n\nInternal message UUID"),
@@ -38213,7 +39018,8 @@ h.object({
38213
39018
  "PROVIDER_TYPE_META_APP",
38214
39019
  "PROVIDER_TYPE_FACEBOOK",
38215
39020
  "PROVIDER_TYPE_INSTAGRAM",
38216
- "PROVIDER_TYPE_WHATSAPP"
39021
+ "PROVIDER_TYPE_WHATSAPP",
39022
+ "PROVIDER_TYPE_CUSTOM"
38217
39023
  ]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging.")
38218
39024
  }).describe("ProviderSendTextRequest sends a simple text message."), h.object({
38219
39025
  created_at: h.string().optional(),
@@ -38231,10 +39037,123 @@ h.object({
38231
39037
  "PROVIDER_TYPE_META_APP",
38232
39038
  "PROVIDER_TYPE_FACEBOOK",
38233
39039
  "PROVIDER_TYPE_INSTAGRAM",
38234
- "PROVIDER_TYPE_WHATSAPP"
39040
+ "PROVIDER_TYPE_WHATSAPP",
39041
+ "PROVIDER_TYPE_CUSTOM"
38235
39042
  ]).default("PROVIDER_TYPE_UNSPECIFIED").describe("/ ProviderType defines the specific provider or protocol used for messaging."),
38236
39043
  typing_on: h.boolean().optional()
38237
39044
  }).describe("ProviderSendTypingRequest asks a provider to show/hide a typing indicator\nto the external chat partner."), h.looseObject({}).describe("ProviderSendTypingResponse is intentionally empty: typing is fire-and-forget."), h.object({
39045
+ page: h.int().optional(),
39046
+ size: h.int().optional(),
39047
+ q: h.string().optional()
39048
+ }), h.object({
39049
+ items: h.array(h.object({
39050
+ base_url: h.string().optional(),
39051
+ created_at: h.string().optional(),
39052
+ enabled: h.boolean().optional(),
39053
+ id: h.string().optional(),
39054
+ name: h.string().optional(),
39055
+ sender_name: h.string().optional(),
39056
+ status: h.enum([
39057
+ "PROVIDER_STATUS_UNSPECIFIED",
39058
+ "PROVIDER_STATUS_ACTIVE",
39059
+ "PROVIDER_STATUS_INACTIVE",
39060
+ "PROVIDER_STATUS_ERROR"
39061
+ ]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
39062
+ updated_at: h.string().optional(),
39063
+ webhook_url: h.string().optional()
39064
+ }).describe("/ ProviderViberBmGate is a configured InfoBip Viber BM gateway.")).optional(),
39065
+ next: h.boolean().optional()
39066
+ }).describe("/ ProviderListViberBmGatesResponse returns the configured gateways."), h.object({
39067
+ api_key: h.string().optional(),
39068
+ base_url: h.string().optional(),
39069
+ enabled: h.boolean().optional(),
39070
+ name: h.string().optional(),
39071
+ peer: h.object({
39072
+ iss: h.string().optional(),
39073
+ sub: h.string().optional()
39074
+ }).optional(),
39075
+ sender_name: h.string().optional(),
39076
+ webhook_secret: h.string().optional()
39077
+ }).describe("/ ProviderCreateViberBmGateRequest registers an InfoBip Viber BM account."), h.object({ item: h.object({
39078
+ base_url: h.string().optional(),
39079
+ created_at: h.string().optional(),
39080
+ enabled: h.boolean().optional(),
39081
+ id: h.string().optional(),
39082
+ name: h.string().optional(),
39083
+ sender_name: h.string().optional(),
39084
+ status: h.enum([
39085
+ "PROVIDER_STATUS_UNSPECIFIED",
39086
+ "PROVIDER_STATUS_ACTIVE",
39087
+ "PROVIDER_STATUS_INACTIVE",
39088
+ "PROVIDER_STATUS_ERROR"
39089
+ ]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
39090
+ updated_at: h.string().optional(),
39091
+ webhook_url: h.string().optional()
39092
+ }).optional().describe("/ ProviderViberBmGate is a configured InfoBip Viber BM gateway.") }).describe("/ ProviderCreateViberBmGateResponse returns the newly activated gateway."), h.object({ gate_id_1: h.string() }), h.object({
39093
+ parameters: h.record(h.string(), h.string()).optional(),
39094
+ language: h.string().optional(),
39095
+ template_id: h.string().optional(),
39096
+ to: h.string().optional()
39097
+ }).describe("/ SendViberBmTemplateRequest sends an approved cold-start template."), h.object({
39098
+ bulk_id: h.string().optional(),
39099
+ message_id: h.string().optional()
39100
+ }).describe("/ SendViberBmTemplateResponse confirms the template dispatch."), h.object({ id_1: h.string() }), h.object({ item: h.object({
39101
+ base_url: h.string().optional(),
39102
+ created_at: h.string().optional(),
39103
+ enabled: h.boolean().optional(),
39104
+ id: h.string().optional(),
39105
+ name: h.string().optional(),
39106
+ sender_name: h.string().optional(),
39107
+ status: h.enum([
39108
+ "PROVIDER_STATUS_UNSPECIFIED",
39109
+ "PROVIDER_STATUS_ACTIVE",
39110
+ "PROVIDER_STATUS_INACTIVE",
39111
+ "PROVIDER_STATUS_ERROR"
39112
+ ]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
39113
+ updated_at: h.string().optional(),
39114
+ webhook_url: h.string().optional()
39115
+ }).optional().describe("/ ProviderViberBmGate is a configured InfoBip Viber BM gateway.") }), h.object({ id_1: h.string() }), h.object({ item: h.object({
39116
+ base_url: h.string().optional(),
39117
+ created_at: h.string().optional(),
39118
+ enabled: h.boolean().optional(),
39119
+ id: h.string().optional(),
39120
+ name: h.string().optional(),
39121
+ sender_name: h.string().optional(),
39122
+ status: h.enum([
39123
+ "PROVIDER_STATUS_UNSPECIFIED",
39124
+ "PROVIDER_STATUS_ACTIVE",
39125
+ "PROVIDER_STATUS_INACTIVE",
39126
+ "PROVIDER_STATUS_ERROR"
39127
+ ]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
39128
+ updated_at: h.string().optional(),
39129
+ webhook_url: h.string().optional()
39130
+ }).optional().describe("/ ProviderViberBmGate is a configured InfoBip Viber BM gateway.") }), h.object({ id_1: h.string() }), h.object({
39131
+ api_key: h.string().optional(),
39132
+ base_url: h.string().optional(),
39133
+ enabled: h.boolean().optional(),
39134
+ name: h.string().optional(),
39135
+ peer: h.object({
39136
+ iss: h.string().optional(),
39137
+ sub: h.string().optional()
39138
+ }).optional(),
39139
+ sender_name: h.string().optional(),
39140
+ webhook_secret: h.string().optional()
39141
+ }).describe("/ ProviderUpdateViberBmGateRequest updates settings. A non-empty api_key rotates the key."), h.object({ item: h.object({
39142
+ base_url: h.string().optional(),
39143
+ created_at: h.string().optional(),
39144
+ enabled: h.boolean().optional(),
39145
+ id: h.string().optional(),
39146
+ name: h.string().optional(),
39147
+ sender_name: h.string().optional(),
39148
+ status: h.enum([
39149
+ "PROVIDER_STATUS_UNSPECIFIED",
39150
+ "PROVIDER_STATUS_ACTIVE",
39151
+ "PROVIDER_STATUS_INACTIVE",
39152
+ "PROVIDER_STATUS_ERROR"
39153
+ ]).default("PROVIDER_STATUS_UNSPECIFIED").describe("/ ProviderStatus represents the operational state of a provider gateway.\n\n - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages\n - PROVIDER_STATUS_INACTIVE: Manually disabled by user\n - PROVIDER_STATUS_ERROR: Connection or authentication failed"),
39154
+ updated_at: h.string().optional(),
39155
+ webhook_url: h.string().optional()
39156
+ }).optional().describe("/ ProviderViberBmGate is a configured InfoBip Viber BM gateway.") }).describe("/ ProviderUpdateViberBmGateResponse returns the updated gateway."), h.object({
38238
39157
  auth_token: h.string().optional(),
38239
39158
  enabled: h.boolean().optional(),
38240
39159
  name: h.string().optional(),
@@ -38882,14 +39801,60 @@ h.object({
38882
39801
  }).optional()
38883
39802
  }).optional() });
38884
39803
  //#endregion
38885
- //#region packages/api-services/src/api/clients/agents/agents.ts
38886
- var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e), B = async (e) => {
39804
+ //#region packages/api-services/src/gen-wire/list-service/list-service.ts
39805
+ var z = (e = a) => ({
39806
+ messagesServiceBroadcastMessage: (t, n) => e.post("/chat/broadcast", t, n),
39807
+ catalogGetCustomers: (t, n) => e.get("/chat/customers", {
39808
+ ...n,
39809
+ params: {
39810
+ ...t,
39811
+ ...n?.params
39812
+ }
39813
+ }),
39814
+ catalogGetDialogs: (t, n) => e.get("/chat/dialogs", {
39815
+ ...n,
39816
+ params: {
39817
+ ...t,
39818
+ ...n?.params
39819
+ }
39820
+ }),
39821
+ catalogGetMembers: (t, n, r) => e.get(`/chat/dialogs/${t}/members`, {
39822
+ ...r,
39823
+ params: {
39824
+ ...n,
39825
+ ...r?.params
39826
+ }
39827
+ }),
39828
+ catalogGetHistory: (t, n, r) => e.get(`/chat/dialogs/${t}/messages`, {
39829
+ ...r,
39830
+ params: {
39831
+ ...n,
39832
+ ...r?.params
39833
+ }
39834
+ }),
39835
+ catalogGetHistory2: (t, n, r, i) => e.get(`/chat/${t}/${n}/messages`, {
39836
+ ...i,
39837
+ params: {
39838
+ ...r,
39839
+ ...i?.params
39840
+ }
39841
+ })
39842
+ }), He = (e = a) => ({
39843
+ searchTypes: (t, n) => e.get("/types", {
39844
+ ...n,
39845
+ params: {
39846
+ ...t,
39847
+ ...n?.params
39848
+ }
39849
+ }),
39850
+ locate: (t, n) => e.get(`/types/${t}`, n)
39851
+ }), Ue = "/call_center/agents", We = (e) => e > 3600 * 24 ? ">24:00:00" : c(e), B = async (e) => {
38887
39852
  let t = (e) => e.map((e) => ({
38888
39853
  ...e,
38889
- statusDuration: He(e.statusDuration)
39854
+ statusDuration: We(e.statusDuration)
38890
39855
  })), n = S(e, [
38891
39856
  C(),
38892
- E(x()),
39857
+ D(x()),
38893
39858
  (e) => ({
38894
39859
  ...e,
38895
39860
  q: e.search,
@@ -38920,7 +39885,7 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
38920
39885
  ])
38921
39886
  ]);
38922
39887
  try {
38923
- let { items: e, next: r } = S((await P().searchAgent(n)).data, [j(), E(b())]);
39888
+ let { items: e, next: r } = S((await P().searchAgent(n)).data, [j(), D(b())]);
38924
39889
  return {
38925
39890
  items: S(e, [t]),
38926
39891
  next: r
@@ -38928,7 +39893,7 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
38928
39893
  } catch (e) {
38929
39894
  throw S(e, [k]);
38930
39895
  }
38931
- }, Ue = {
39896
+ }, Ge = {
38932
39897
  user: {},
38933
39898
  team: {},
38934
39899
  supervisor: [],
@@ -38940,9 +39905,9 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
38940
39905
  isSupervisor: !1,
38941
39906
  description: "",
38942
39907
  greetingMedia: {}
38943
- }, We = async ({ itemId: e, defaultObject: t = Ue }) => {
39908
+ }, Ke = async ({ itemId: e, defaultObject: t = Ge }) => {
38944
39909
  try {
38945
- return S((await P().readAgent(String(e))).data, [j(), E(t)]);
39910
+ return S((await P().readAgent(String(e))).data, [j(), D(t)]);
38946
39911
  } catch (e) {
38947
39912
  throw S(e, [k]);
38948
39913
  }
@@ -38959,9 +39924,9 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
38959
39924
  "isSupervisor",
38960
39925
  "screenControl",
38961
39926
  "extraChatCount"
38962
- ], Ge = {
39927
+ ], qe = {
38963
39928
  getList: B,
38964
- get: We,
39929
+ get: Ke,
38965
39930
  add: async ({ itemInstance: e }) => {
38966
39931
  let t = S(e, [A(V), C()]);
38967
39932
  try {
@@ -38998,7 +39963,7 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
38998
39963
  fields: e.fields || ["id", "name"]
38999
39964
  }),
39000
39965
  getAgentHistory: async (e) => {
39001
- let { parentId: t, from: n, to: r, page: i, size: a, sort: o = "-joined_at" } = S(e, [E(x()), M("search")]);
39966
+ let { parentId: t, from: n, to: r, page: i, size: a, sort: o = "-joined_at" } = S(e, [D(x()), M("search")]);
39002
39967
  try {
39003
39968
  let { items: e, next: s } = S((await P().searchAgentStateHistory({
39004
39969
  page: i,
@@ -39007,7 +39972,7 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
39007
39972
  sort: o,
39008
39973
  "joined_at.from": n,
39009
39974
  "joined_at.to": r
39010
- })).data, [j(), E(b())]);
39975
+ })).data, [j(), D(b())]);
39011
39976
  return {
39012
39977
  items: e,
39013
39978
  next: s
@@ -39021,13 +39986,13 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
39021
39986
  isNotSupervisor: !0
39022
39987
  }),
39023
39988
  getAgentUsersOptions: async (e) => {
39024
- let { page: t, size: n, search: r } = S(e, [E(x()), M("search")]);
39989
+ let { page: t, size: n, search: r } = S(e, [D(x()), M("search")]);
39025
39990
  try {
39026
39991
  let { items: e, next: i } = S((await P().searchLookupUsersAgentNotExists({
39027
39992
  page: t,
39028
39993
  size: n,
39029
39994
  q: r
39030
- })).data, [j(), E(b())]);
39995
+ })).data, [j(), D(b())]);
39031
39996
  return {
39032
39997
  items: e,
39033
39998
  next: i
@@ -39043,7 +40008,7 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
39043
40008
  getUsersStatus: async (e) => {
39044
40009
  let t = S(e, [
39045
40010
  C(),
39046
- E(x()),
40011
+ D(x()),
39047
40012
  M("search"),
39048
40013
  (e) => ({
39049
40014
  ...e,
@@ -39059,7 +40024,7 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
39059
40024
  ])
39060
40025
  ]);
39061
40026
  try {
39062
- let { items: e, next: n } = S((await P().searchUserStatus(t)).data, [j(), E(b())]);
40027
+ let { items: e, next: n } = S((await P().searchUserStatus(t)).data, [j(), D(b())]);
39063
40028
  return {
39064
40029
  items: e,
39065
40030
  next: n
@@ -39075,9 +40040,9 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
39075
40040
  limitMin: 0
39076
40041
  };
39077
40042
  try {
39078
- let { items: n, next: r } = S((await P().searchPauseCauseForAgent(String(e))).data, [j(), E(b())]);
40043
+ let { items: n, next: r } = S((await P().searchPauseCauseForAgent(String(e))).data, [j(), D(b())]);
39079
40044
  return {
39080
- items: S(n, [D(t)]),
40045
+ items: S(n, [O(t)]),
39081
40046
  next: r
39082
40047
  };
39083
40048
  } catch (e) {
@@ -39085,7 +40050,7 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
39085
40050
  }
39086
40051
  },
39087
40052
  getAgentQueues: async (e) => {
39088
- let { parentId: t, page: n, size: r, search: i, sort: a, fields: o } = S(e, [E(x()), M("search")]);
40053
+ let { parentId: t, page: n, size: r, search: i, sort: a, fields: o } = S(e, [D(x()), M("search")]);
39089
40054
  try {
39090
40055
  let { items: e, next: s } = S((await P().searchAgentInQueue(String(t), {
39091
40056
  page: n,
@@ -39093,7 +40058,7 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
39093
40058
  q: i,
39094
40059
  sort: a,
39095
40060
  fields: o
39096
- })).data, [j(), E(b())]);
40061
+ })).data, [j(), D(b())]);
39097
40062
  return {
39098
40063
  items: e,
39099
40064
  next: s
@@ -39103,7 +40068,7 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
39103
40068
  }
39104
40069
  },
39105
40070
  getStatusStatistics: async (e) => {
39106
- let { page: t, size: n, search: r, sort: i, ids: a, fields: o, from: s, to: c, status: l, queue: u, team: d, skill: f, supervisor: p, auditor: m, region: h, utilizationFrom: g, utilizationTo: _, callNow: v } = S(e, [E(x())]);
40071
+ let { page: t, size: n, search: r, sort: i, ids: a, fields: o, from: s, to: c, status: l, queue: u, team: d, skill: f, supervisor: p, auditor: m, region: h, utilizationFrom: g, utilizationTo: _, callNow: v } = S(e, [D(x())]);
39107
40072
  try {
39108
40073
  let { items: e, next: y } = S((await P().searchAgentStatusStatistic({
39109
40074
  page: t,
@@ -39124,7 +40089,7 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
39124
40089
  region_id: h,
39125
40090
  supervisor_id: p,
39126
40091
  auditor_id: m
39127
- })).data, [j(), E(b())]);
40092
+ })).data, [j(), D(b())]);
39128
40093
  return {
39129
40094
  items: e,
39130
40095
  next: y
@@ -39143,28 +40108,28 @@ var Ve = "/call_center/agents", He = (e) => e > 3600 * 24 ? ">24:00:00" : c(e),
39143
40108
  throw S(e, [k]);
39144
40109
  }
39145
40110
  },
39146
- ...N(Ve)
40111
+ ...N(Ue)
39147
40112
  };
39148
- ({ ...N("/calendars") }), v(ie), v(R), v(R), v(Ne), v(Me), v(oe), v(ae), { ...N("/cases") }, Object.freeze({
40113
+ ({ ...N("/calendars") }), v(ae), v(L), v(L), v(Pe), v(Ne), v(se), v(oe), { ...N("/cases") }, Object.freeze({
39149
40114
  VIBER: "viber",
39150
40115
  WHATSAPP: "whatsapp",
39151
40116
  TELEGRAM: "telegram",
39152
40117
  MESSENGER: "messenger",
39153
40118
  EMAIL: "email"
39154
- }), i(), { ...N("/storage/cognitive_profiles") }, [...v(Fe)], v(ye), { ...N("/contacts/groups") }, { ...N("/devices") }, v(he), v(ge), v(F), v(ve), i(), { ...N("/storage/import_templates") }, i(), { ...N("/call_center/list") }, i(), localStorage.getItem("access-token"), r.create({ headers: { "content-type": "multipart/form-data" } });
39155
- var Ke = {
40119
+ }), i(), { ...N("/storage/cognitive_profiles") }, [...v(Ie)], v(be), { ...N("/contacts/groups") }, { ...N("/devices") }, v(ge), v(_e), v(F), v(ye), i(), { ...N("/storage/import_templates") }, i(), { ...N("/call_center/list") }, i(), localStorage.getItem("access-token"), r.create({ headers: { "content-type": "multipart/form-data" } });
40120
+ var Je = {
39156
40121
  patch: async (e) => {
39157
40122
  let t = S(e, [C()]);
39158
40123
  try {
39159
- return S((await I().messagesServiceBroadcastMessage(t)).data, [j()]);
40124
+ return S((await z().messagesServiceBroadcastMessage(t)).data, [j()]);
39160
40125
  } catch (e) {
39161
40126
  throw S(e, [k]);
39162
40127
  }
39163
40128
  },
39164
40129
  getChatHistory: async ({ chatId: e, ...t }) => {
39165
- let n = S(t, [E(x()), C()]);
40130
+ let n = S(t, [D(x()), C()]);
39166
40131
  try {
39167
- let { messages: t, peers: r, next: i } = S((await I().catalogGetHistory(String(e), n)).data, [j(), E(b())]);
40132
+ let { messages: t, peers: r, next: i } = S((await z().catalogGetHistory(String(e), n)).data, [j(), D(b())]);
39168
40133
  return {
39169
40134
  messages: t,
39170
40135
  peers: r,
@@ -39175,7 +40140,90 @@ var Ke = {
39175
40140
  }
39176
40141
  }
39177
40142
  };
39178
- v(De), { ...N("/oauth/apps") }, i(), { ...N("/call_center/resource_group") }, { ...N("/call_center/resources") }, v(L), v(ke);
40143
+ v(Oe), { ...N("/oauth/apps") };
40144
+ //#endregion
40145
+ //#region packages/api-services/src/api/clients/object/object.ts
40146
+ var Ye = i(), Xe = async (e) => {
40147
+ let { page: t, size: n, fields: r, sort: i, id: a, q: o } = S(e, [
40148
+ D(x()),
40149
+ M("search"),
40150
+ (e) => ({
40151
+ ...e,
40152
+ q: e.search
40153
+ }),
40154
+ A([
40155
+ "page",
40156
+ "size",
40157
+ "q",
40158
+ "sort",
40159
+ "fields",
40160
+ "id"
40161
+ ]),
40162
+ C()
40163
+ ]);
40164
+ try {
40165
+ let { data: e, next: s } = S((await He().searchTypes({
40166
+ q: o,
40167
+ id: a,
40168
+ size: n,
40169
+ page: t,
40170
+ sort: i,
40171
+ fields: r
40172
+ })).data, [D(b())]);
40173
+ return {
40174
+ items: S(e, [j(), (e) => (e || []).map((e) => ({
40175
+ ...e,
40176
+ id: e.repo
40177
+ }))]),
40178
+ next: s
40179
+ };
40180
+ } catch (e) {
40181
+ throw S(e, [k]);
40182
+ }
40183
+ }, Ze = async ({ ...e }) => {
40184
+ let t = S(e, [
40185
+ D(x()),
40186
+ (e) => ({
40187
+ ...e,
40188
+ q: e.search,
40189
+ extensions: !1
40190
+ }),
40191
+ A([
40192
+ "page",
40193
+ "size",
40194
+ "q",
40195
+ "sort",
40196
+ "extensions",
40197
+ "fields",
40198
+ "id"
40199
+ ]),
40200
+ C(),
40201
+ w("types")
40202
+ ]);
40203
+ try {
40204
+ let { data: e, next: n } = S((await Ye.get(t)).data, [j(), D(b())]);
40205
+ return {
40206
+ items: e ?? [],
40207
+ next: n
40208
+ };
40209
+ } catch (e) {
40210
+ throw S(e, [k]);
40211
+ }
40212
+ }, Qe = {
40213
+ getList: Xe,
40214
+ get: async ({ itemId: e }) => {
40215
+ try {
40216
+ return S((await He().locate(String(e))).data, [j()]);
40217
+ } catch (e) {
40218
+ throw S(e, [k]);
40219
+ }
40220
+ },
40221
+ getLookup: async (e) => Ze({
40222
+ ...e,
40223
+ fields: e.fields || ["id", "name"]
40224
+ })
40225
+ };
40226
+ ({ ...N("/call_center/resource_group") }), { ...N("/call_center/resources") }, v(I), v(Ae);
39179
40227
  //#endregion
39180
40228
  //#region packages/api-services/src/validations/_shared/clearableNumber.validations.ts
39181
40229
  var H = g.number().nullable().optional(), U = (e = 1) => g.union([g.string().min(e), g.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 = g.object({
@@ -39187,7 +40235,7 @@ var H = g.number().nullable().optional(), U = (e = 1) => g.union([g.string().min
39187
40235
  }), J = g.object({
39188
40236
  id: g.union([g.string(), g.number()]).optional(),
39189
40237
  name: g.string().optional()
39190
- }), Y = J.refine((e) => G(e), W("required")), qe = /^\+?[A-Za-z0-9\-_.!~*'()]+$/, Je = g.string().min(1).refine((e) => e === "" || qe.test(e), W("phoneNumberSymbolsValidator")), X = g.object({
40238
+ }), Y = J.refine((e) => G(e), W("required")), $e = /^\+?[A-Za-z0-9\-_.!~*'()]+$/, et = g.string().min(1).refine((e) => e === "" || $e.test(e), W("phoneNumberSymbolsValidator")), X = g.object({
39191
40239
  key: g.string(),
39192
40240
  value: g.string()
39193
40241
  });
@@ -39212,7 +40260,7 @@ g.object({
39212
40260
  });
39213
40261
  //#endregion
39214
40262
  //#region packages/api-services/src/validations/calendar/calendar.validations.ts
39215
- var Ye = "hourRange", Z = "timerangeStartLessThanEnd", Xe = "timerangeNotIntersect", Q = g.number().int().refine((e) => e >= 0 && e < 1440, W(Ye)), Ze = (e) => {
40263
+ var tt = "hourRange", Z = "timerangeStartLessThanEnd", nt = "timerangeNotIntersect", Q = g.number().int().refine((e) => e >= 0 && e < 1440, W(tt)), rt = (e) => {
39216
40264
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map();
39217
40265
  return e.forEach((e, t) => {
39218
40266
  let r = n.get(e.day) ?? [];
@@ -39230,7 +40278,7 @@ var Ye = "hourRange", Z = "timerangeStartLessThanEnd", Xe = "timerangeNotInterse
39230
40278
  });
39231
40279
  });
39232
40280
  }), t;
39233
- }, Qe = g.object({
40281
+ }, it = g.object({
39234
40282
  day: g.number().int().min(0).max(6),
39235
40283
  disabled: g.boolean().default(!1),
39236
40284
  start: Q,
@@ -39245,46 +40293,46 @@ var Ye = "hourRange", Z = "timerangeStartLessThanEnd", Xe = "timerangeNotInterse
39245
40293
  path: ["end"],
39246
40294
  ...W(Z)
39247
40295
  }));
39248
- }), $e = g.array(Qe).superRefine((e, t) => {
39249
- Ze(e).forEach((e) => {
40296
+ }), at = g.array(it).superRefine((e, t) => {
40297
+ rt(e).forEach((e) => {
39250
40298
  t.addIssue({
39251
40299
  code: "custom",
39252
40300
  path: [e, "start"],
39253
- ...W(Xe)
40301
+ ...W(nt)
39254
40302
  }), t.addIssue({
39255
40303
  code: "custom",
39256
40304
  path: [e, "end"],
39257
- ...W(Xe)
40305
+ ...W(nt)
39258
40306
  });
39259
40307
  });
39260
- }), et = g.object({
40308
+ }), ot = g.object({
39261
40309
  name: g.string().min(1),
39262
40310
  date: g.union([g.number(), g.string()]).optional(),
39263
40311
  repeat: g.boolean().optional(),
39264
40312
  working: g.boolean().optional(),
39265
40313
  workStart: Q.nullish(),
39266
40314
  workStop: Q.nullish()
39267
- }), tt = () => Array.from({ length: 7 }, (e, t) => ({
40315
+ }), st = () => Array.from({ length: 7 }, (e, t) => ({
39268
40316
  day: t,
39269
40317
  disabled: !1,
39270
40318
  start: 540,
39271
40319
  end: 1200
39272
- })), nt = () => Array.from({ length: 7 }, (e, t) => ({
40320
+ })), ct = () => Array.from({ length: 7 }, (e, t) => ({
39273
40321
  day: t,
39274
40322
  disabled: !0,
39275
40323
  start: 540,
39276
40324
  end: 1200
39277
- })), rt = () => Date.now();
40325
+ })), lt = () => Date.now();
39278
40326
  g.object({
39279
40327
  name: g.string().min(1),
39280
40328
  description: g.string().optional().default(""),
39281
40329
  timezone: q,
39282
- startAt: g.any().optional().default(rt),
39283
- endAt: g.any().optional().default(rt),
40330
+ startAt: g.any().optional().default(lt),
40331
+ endAt: g.any().optional().default(lt),
39284
40332
  expires: g.boolean().optional().default(!1),
39285
- accepts: $e.default(tt),
39286
- specials: $e.default(nt),
39287
- excepts: g.array(et).optional().default([])
40333
+ accepts: at.default(st),
40334
+ specials: at.default(ct),
40335
+ excepts: g.array(ot).optional().default([])
39288
40336
  });
39289
40337
  //#endregion
39290
40338
  //#region packages/api-services/src/validations/case/case.validations.ts
@@ -39388,19 +40436,19 @@ g.object({
39388
40436
  });
39389
40437
  //#endregion
39390
40438
  //#region packages/api-services/src/validations/contactGroup/contactGroup.validations.ts
39391
- var it = {
40439
+ var ut = {
39392
40440
  name: g.string().min(1),
39393
40441
  description: g.string().optional(),
39394
40442
  enabled: g.boolean().default(!0),
39395
40443
  type: g.string().optional()
39396
- }, at = g.object({
39397
- ...it,
40444
+ }, dt = g.object({
40445
+ ...ut,
39398
40446
  defaultGroup: K.optional()
39399
- }), ot = g.object({
39400
- ...it,
40447
+ }), ft = g.object({
40448
+ ...ut,
39401
40449
  defaultGroup: q
39402
40450
  });
39403
- g.discriminatedUnion("type", [at.extend({ type: g.literal(y.Static) }), ot.extend({ type: g.literal(y.Dynamic) })]), g.object({
40451
+ g.discriminatedUnion("type", [dt.extend({ type: g.literal(y.Static) }), ft.extend({ type: g.literal(y.Dynamic) })]), g.object({
39404
40452
  expression: g.string().min(1),
39405
40453
  group: q,
39406
40454
  assignee: K.nullish()
@@ -39411,17 +40459,17 @@ g.discriminatedUnion("type", [at.extend({ type: g.literal(y.Static) }), ot.exten
39411
40459
  });
39412
40460
  //#endregion
39413
40461
  //#region packages/api-services/src/validations/device/device.validations.ts
39414
- var st = /^(([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])$/, ct = /^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/, lt = g.string().optional().default("").refine((e) => e ? e === "127.0.0.1" || e === "0.0.0.0" ? !1 : st.test(e) : !0, W("ipValidator")), ut = g.string().optional().default("").refine((e) => !e || ct.test(e), W("macValidator"));
40462
+ var pt = /^(([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])$/, mt = /^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/, ht = g.string().optional().default("").refine((e) => e ? e === "127.0.0.1" || e === "0.0.0.0" ? !1 : pt.test(e) : !0, W("ipValidator")), gt = g.string().optional().default("").refine((e) => !e || mt.test(e), W("macValidator"));
39415
40463
  g.object({
39416
40464
  id: g.string().optional(),
39417
40465
  name: g.string().min(1).default(""),
39418
40466
  account: g.string().min(1).default(""),
39419
40467
  password: g.string().optional().default(""),
39420
40468
  user: J.optional().default({}),
39421
- ip: lt,
40469
+ ip: ht,
39422
40470
  brand: g.string().optional().default(""),
39423
40471
  model: g.string().optional().default(""),
39424
- mac: ut,
40472
+ mac: gt,
39425
40473
  hotdesk: g.boolean().optional(),
39426
40474
  hotdesks: g.array(g.string()).optional()
39427
40475
  }).superRefine((e, t) => {
@@ -39455,13 +40503,13 @@ g.object({
39455
40503
  });
39456
40504
  //#endregion
39457
40505
  //#region packages/api-services/src/validations/queue/queue.rules.ts
39458
- var dt = {
40506
+ var _t = {
39459
40507
  required: ["name"],
39460
40508
  minValue: {
39461
40509
  priority: 0,
39462
40510
  "payload.minOnlineAgents": 0
39463
40511
  }
39464
- }, ft = {
40512
+ }, vt = {
39465
40513
  [d.OFFLINE_QUEUE]: {
39466
40514
  required: ["strategy", "calendar"],
39467
40515
  minValue: { "payload.originateTimeout": 0 }
@@ -39556,7 +40604,7 @@ var dt = {
39556
40604
  "payload.minDuration": 0
39557
40605
  }
39558
40606
  }
39559
- }, pt = g.object({
40607
+ }, yt = g.object({
39560
40608
  enabled: g.boolean().optional(),
39561
40609
  ai: g.boolean().optional(),
39562
40610
  positive: g.array(g.string()).optional(),
@@ -39572,7 +40620,7 @@ var dt = {
39572
40620
  afterGreetingSilence: H,
39573
40621
  greeting: H,
39574
40622
  initialSilence: H
39575
- }), mt = g.object({
40623
+ }), bt = g.object({
39576
40624
  maxAttempts: H,
39577
40625
  minAttempts: H,
39578
40626
  originateTimeout: H,
@@ -39613,19 +40661,19 @@ var dt = {
39613
40661
  recordAll: g.boolean().optional(),
39614
40662
  allowGreetingAgent: g.boolean().optional(),
39615
40663
  autoAnswerTone: g.string().nullable().optional(),
39616
- amd: pt.optional()
39617
- }), ht = g.object({
40664
+ amd: yt.optional()
40665
+ }), xt = g.object({
39618
40666
  enabled: g.boolean().optional(),
39619
40667
  isTimeoutRetry: g.boolean().optional(),
39620
40668
  prolongationTimeSec: H,
39621
40669
  repeatsNumber: H
39622
- }), gt = g.object({
40670
+ }), St = g.object({
39623
40671
  enabled: g.boolean().optional(),
39624
40672
  formSchema: J.optional(),
39625
40673
  sec: H,
39626
40674
  renewalSec: H,
39627
- prolongationOptions: ht.prefault({})
39628
- }), _t = g.object({
40675
+ prolongationOptions: xt.prefault({})
40676
+ }), Ct = g.object({
39629
40677
  name: g.string().min(1),
39630
40678
  description: g.string().optional(),
39631
40679
  type: g.number(),
@@ -39643,11 +40691,11 @@ var dt = {
39643
40691
  formSchema: J.optional(),
39644
40692
  strategy: g.string().optional(),
39645
40693
  stickyAgent: g.boolean().optional(),
39646
- taskProcessing: gt.optional(),
39647
- payload: mt.optional(),
40694
+ taskProcessing: St.optional(),
40695
+ payload: bt.optional(),
39648
40696
  variables: g.array(X).optional()
39649
40697
  }).superRefine((e, t) => {
39650
- let n = [dt, ft[Number(e.type)] ?? {}];
40698
+ let n = [_t, vt[Number(e.type)] ?? {}];
39651
40699
  for (let r of n) {
39652
40700
  for (let n of r.required ?? []) G(p(e, n)) || t.addIssue({
39653
40701
  code: "custom",
@@ -39666,16 +40714,16 @@ var dt = {
39666
40714
  });
39667
40715
  }
39668
40716
  }
39669
- }), vt = g.object({
40717
+ }), wt = g.object({
39670
40718
  bucket: Y,
39671
40719
  priority: g.number().min(0).default(0),
39672
40720
  disabled: g.boolean().optional()
39673
- }), yt = g.object({
40721
+ }), Tt = g.object({
39674
40722
  event: g.string().min(1),
39675
40723
  schema: Y,
39676
40724
  properties: g.array(g.string()).optional(),
39677
40725
  enabled: g.boolean().default(!0)
39678
- }), bt = g.object({
40726
+ }), Et = g.object({
39679
40727
  destination: g.string().min(1),
39680
40728
  type: Y,
39681
40729
  dtmf: g.string().regex(/^[\d|w|W]*$/).optional(),
@@ -39684,12 +40732,12 @@ var dt = {
39684
40732
  resource: J.optional(),
39685
40733
  description: g.string().optional()
39686
40734
  });
39687
- bt.extend({ destination: Je });
40735
+ Et.extend({ destination: et });
39688
40736
  //#endregion
39689
40737
  //#region packages/api-services/src/validations/queueMember/queueMember.validations.ts
39690
- var xt = g.object({
40738
+ var Dt = g.object({
39691
40739
  name: g.string().min(1),
39692
- communications: g.array(bt).min(1),
40740
+ communications: g.array(Et).min(1),
39693
40741
  priority: g.number().optional().default(0),
39694
40742
  bucket: J.optional(),
39695
40743
  timezone: J.optional(),
@@ -39698,10 +40746,10 @@ var xt = g.object({
39698
40746
  minOfferingAt: g.union([g.string(), g.number()]).optional(),
39699
40747
  stopCause: g.string().optional(),
39700
40748
  variables: g.array(X).optional()
39701
- }), St = g.object({
40749
+ }), Ot = g.object({
39702
40750
  resourceGroup: Y,
39703
40751
  communication: J.optional()
39704
- }), Ct = g.object({
40752
+ }), kt = g.object({
39705
40753
  skill: Y,
39706
40754
  lvl: g.number().min(0).max(1e3).default(0),
39707
40755
  minCapacity: g.number().min(0).max(100).optional().default(0),
@@ -39718,7 +40766,7 @@ var xt = g.object({
39718
40766
  path: ["maxCapacity"],
39719
40767
  message: "Value must be greater than or equal to the minimum capacity"
39720
40768
  }));
39721
- }), wt = 6e4;
40769
+ }), At = 6e4;
39722
40770
  g.object({
39723
40771
  name: g.string().min(1),
39724
40772
  description: g.string().optional(),
@@ -39730,7 +40778,7 @@ g.object({
39730
40778
  }).superRefine((e, t) => {
39731
40779
  if (!e.validFrom || !e.validTo) return;
39732
40780
  let n = Number(e.validFrom), r = Number(e.validTo);
39733
- Number.isNaN(n) || Number.isNaN(r) || n > r - wt && t.addIssue({
40781
+ Number.isNaN(n) || Number.isNaN(r) || n > r - At && t.addIssue({
39734
40782
  code: "too_big",
39735
40783
  origin: "date",
39736
40784
  maximum: r,
@@ -39746,12 +40794,12 @@ g.object({
39746
40794
  }), g.object({ fields: g.array(g.any()).optional() }), g.object({
39747
40795
  key: g.string().min(1),
39748
40796
  value: g.string().min(1)
39749
- }), [...v(vt)], [...v(yt)], [...v(xt)], [...v(St)], [...v(Ct)], 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, v(_t), { ...N("/call_center/queues") }, { ...N("/call_center/teams") }, i(), { ...N("/users") }, v(z), v(Be), i();
40797
+ }), [...v(wt)], [...v(Tt)], [...v(Dt)], [...v(Ot)], [...v(kt)], 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, v(Ct), { ...N("/call_center/queues") }, { ...N("/call_center/teams") }, i(), { ...N("/users") }, v(R), v(Ve), i();
39750
40798
  //#endregion
39751
40799
  //#region packages/api-services/src/api/clients/wtTypes/sysTypes/sysTypes.ts
39752
- var Tt = i(), Et = async ({ path: e, display: t, primary: n, ...r }) => {
40800
+ var jt = i(), Mt = async ({ path: e, display: t, primary: n, ...r }) => {
39753
40801
  let i = S(r, [
39754
- E(x()),
40802
+ D(x()),
39755
40803
  M("search"),
39756
40804
  (e) => ({
39757
40805
  ...e,
@@ -39774,7 +40822,7 @@ var Tt = i(), Et = async ({ path: e, display: t, primary: n, ...r }) => {
39774
40822
  w(e)
39775
40823
  ]);
39776
40824
  try {
39777
- let { data: e, items: t, next: n } = S((await Tt.get(i)).data, [E(b())]);
40825
+ let { data: e, items: t, next: n } = S((await jt.get(i)).data, [D(b())]);
39778
40826
  return {
39779
40827
  items: S(e || t, []) ?? [],
39780
40828
  next: n
@@ -39782,9 +40830,9 @@ var Tt = i(), Et = async ({ path: e, display: t, primary: n, ...r }) => {
39782
40830
  } catch (e) {
39783
40831
  throw S(e, [k]);
39784
40832
  }
39785
- }, Dt = {
39786
- getList: Et,
39787
- getLookup: (e) => Et({
40833
+ }, Nt = {
40834
+ getList: Mt,
40835
+ getLookup: (e) => Mt({
39788
40836
  ...e,
39789
40837
  fields: e.fields || ["id", "name"]
39790
40838
  })
@@ -39796,7 +40844,7 @@ Object.freeze({
39796
40844
  VARIABLES: "variables",
39797
40845
  DESTINATION: "destination"
39798
40846
  });
39799
- var Ot = "/contacts";
39800
- v(ue), [...v(de)], [...v(pe)], { ...N(Ot) };
40847
+ var Pt = "/contacts";
40848
+ v(de), [...v(fe)], [...v(me)], { ...N(Pt) };
39801
40849
  //#endregion
39802
- export { Ke as n, Ge as r, Dt as t };
40850
+ export { T as a, qe as i, Qe as n, Je as r, Nt as t };