@webitel/ui-sdk 26.4.32 → 26.4.34

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 (64) hide show
  1. package/dist/{index-Cm3e6GRo.js → index-7wsN-YZu.js} +1 -1
  2. package/dist/{index-CWYU_mwG.js → index-xIzFQNd0.js} +1 -1
  3. package/dist/{install-MeHxIEWi.js → install-D_goYtnz.js} +1653 -1650
  4. package/dist/{isObject-D71pqbIt.js → isObject-Gt5Jm-Ug.js} +1 -1
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +1 -1
  7. package/dist/ui-sdk.umd.cjs +299 -256
  8. package/dist/{useVidstackSrc-CpHWbv6g.js → useVidstackSrc-CTzsUo62.js} +1 -1
  9. package/dist/{vidstack-Bq6c3Bam-Bt_4I4OY.js → vidstack-Bq6c3Bam-BhMf-ZTn.js} +3 -3
  10. package/dist/{vidstack-D2pY00kU-TAqIAVUC.js → vidstack-D2pY00kU-gmAgDRVT.js} +3 -3
  11. package/dist/{vidstack-DDXt6fpN-BwFa-8yL.js → vidstack-DDXt6fpN-CmHiuC9m.js} +2 -2
  12. package/dist/{vidstack-D_-9AA6_-Fj0XhDLk.js → vidstack-D_-9AA6_-BGfLCdlb.js} +2 -2
  13. package/dist/{vidstack-DqAw8m9J-B_83AagG.js → vidstack-DqAw8m9J-DO1SEzrd.js} +1 -1
  14. package/dist/{vidstack-audio-_sHFibxB.js → vidstack-audio-Bk1wmJYd.js} +2 -2
  15. package/dist/{vidstack-dash-osW7_t7U.js → vidstack-dash-fN-vPQlr.js} +4 -4
  16. package/dist/{vidstack-google-cast-Dojpp59m.js → vidstack-google-cast-DzXyoIrl.js} +4 -4
  17. package/dist/{vidstack-hls-DXkSTucY.js → vidstack-hls-BvsDlNoZ.js} +4 -4
  18. package/dist/{vidstack-video-C7Qptkzg.js → vidstack-video-DVWLXMbZ.js} +3 -3
  19. package/dist/{vidstack-vimeo-CeaMORm2.js → vidstack-vimeo-C43vDg2R.js} +4 -4
  20. package/dist/{vidstack-youtube-BdX6H3uU.js → vidstack-youtube-BqjBo21Z.js} +3 -3
  21. package/dist/{wt-action-bar-CBibsTjl.js → wt-action-bar-C3ZOub4E.js} +1 -1
  22. package/dist/{wt-button-select-Pons2KxM.js → wt-button-select-cHYjfQdz.js} +1 -1
  23. package/dist/{wt-chat-emoji-gtRYtqkJ.js → wt-chat-emoji-CI3V_BeW.js} +2 -2
  24. package/dist/{wt-confirm-dialog-C-zIlk7t.js → wt-confirm-dialog-cSeWX-p6.js} +1 -1
  25. package/dist/{wt-context-menu-gqhg9Dut.js → wt-context-menu-DLz_SzEn.js} +1 -1
  26. package/dist/{wt-copy-action-q5aQb8MF.js → wt-copy-action-B8UQn0Ex.js} +1 -1
  27. package/dist/{wt-datepicker-DpDI_kB8.js → wt-datepicker-BghFL7dG.js} +1 -1
  28. package/dist/{wt-display-chip-items-mlhCN3fk.js → wt-display-chip-items-BuPaJqOp.js} +1 -1
  29. package/dist/{wt-dual-panel-BsgUBc28.js → wt-dual-panel-DSg_9Lq6.js} +1 -1
  30. package/dist/{wt-dummy-BJqC03G2.js → wt-dummy-DztLsixT.js} +1 -1
  31. package/dist/{wt-error-page-fD1n6Ca8.js → wt-error-page-DdMotrHk.js} +1 -1
  32. package/dist/{wt-expansion-card-BA4S2ek-.js → wt-expansion-card-DY8qL9Al.js} +1 -1
  33. package/dist/{wt-expansion-panel-z2cHIrtf.js → wt-expansion-panel-CTTDEN7q.js} +1 -1
  34. package/dist/{wt-filters-panel-wrapper-CMaOQ4qA.js → wt-filters-panel-wrapper-DdcIsO1N.js} +1 -1
  35. package/dist/{wt-galleria-BM3Xor8E.js → wt-galleria-CSbm0shh.js} +1 -1
  36. package/dist/wt-inline-add-panel-C_UyCvRw.js +49 -0
  37. package/dist/{wt-navigation-menu-C5TQqfjM.js → wt-navigation-menu-CfWKguu2.js} +1 -1
  38. package/dist/{wt-notifications-bar-Coqv4RKY.js → wt-notifications-bar-Cgu2wc9v.js} +2 -2
  39. package/dist/{wt-pagination-C7XbmBD5.js → wt-pagination-DN335p2t.js} +1 -1
  40. package/dist/{wt-player-DVXm-whp.js → wt-player-CnJGUlag.js} +2 -2
  41. package/dist/{wt-screen-recordings-action-Bs5d5Qza.js → wt-screen-recordings-action-BcEdGu6w.js} +1 -1
  42. package/dist/{wt-search-bar-Q7WOxr_e.js → wt-search-bar-u8SuElvI.js} +1 -1
  43. package/dist/{wt-selection-popup-XSUoyYXq.js → wt-selection-popup-BB7pO3iT.js} +1 -1
  44. package/dist/{wt-start-page-DSLIDt4I.js → wt-start-page-DdRpXVdV.js} +1 -1
  45. package/dist/{wt-status-select-k7fT8EML.js → wt-status-select-GO0gtD2B.js} +1 -1
  46. package/dist/{wt-stepper-B8hTikvF.js → wt-stepper-DbaiOlK9.js} +1 -1
  47. package/dist/{wt-table-CTQFqBOY.js → wt-table-CAVQW_vc.js} +1 -1
  48. package/dist/{wt-table-actions-BpjPRhUw.js → wt-table-actions-DrT2ZxPE.js} +1 -1
  49. package/dist/{wt-table-column-select-Rxr-d2pp.js → wt-table-column-select-HH02vVeu.js} +2 -2
  50. package/dist/{wt-tabs-DJ64mvrE.js → wt-tabs-B7kjsIG-.js} +1 -1
  51. package/dist/{wt-tags-input-CTp5WHMb.js → wt-tags-input-C7PwjLAR.js} +2 -2
  52. package/dist/{wt-timepicker-NAD78264.js → wt-timepicker-CjBjH-wE.js} +1 -1
  53. package/dist/{wt-tree-wViLtwUK.js → wt-tree-X0IBoelv.js} +2 -2
  54. package/dist/{wt-tree-table-Cz4fvtT7.js → wt-tree-table-DQkfKejv.js} +1 -1
  55. package/dist/{wt-type-extension-value-input-DlAUGobl.js → wt-type-extension-value-input-D6qSoXP6.js} +1208 -361
  56. package/dist/{wt-vidstack-player-1ALWyNaS.js → wt-vidstack-player-DJVlp2Go.js} +10 -10
  57. package/package.json +1 -1
  58. package/src/components/index.js +6 -0
  59. package/src/components/wt-inline-add-panel/__tests__/WtInlineAddPanel.spec.js +70 -0
  60. package/src/components/wt-inline-add-panel/wt-inline-add-panel.vue +69 -0
  61. package/src/enums/TypesExportedSettings/TypesExportedSettings.enum.js +1 -1
  62. package/types/components/wt-inline-add-panel/__tests__/WtInlineAddPanel.spec.d.ts +1 -0
  63. package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +26 -0
  64. package/types/enums/TypesExportedSettings/TypesExportedSettings.enum.d.ts +1 -1
@@ -1,7 +1,7 @@
1
- import { defineComponent as we, mergeModels as Re, useModel as Ae, computed as S, resolveComponent as $, createBlock as Z, renderSlot as F, createCommentVNode as De, unref as D, openBlock as ee, mergeProps as _, createVNode as P } from "vue";
2
- import { ag as ve, ah as Oe, O as Ee, ai as Ce, aj as qe, B as ke, ak as xe, al as te, am as Se } from "./install-MeHxIEWi.js";
3
- import { d as _e } from "./index-Cm3e6GRo.js";
4
- import { get as Ue, set as Be } from "lodash-es";
1
+ import { defineComponent as Re, mergeModels as Ae, useModel as we, computed as k, resolveComponent as $, createBlock as Z, renderSlot as P, createCommentVNode as De, unref as D, openBlock as ee, mergeProps as U, createVNode as F } from "vue";
2
+ import { ag as ve, ah as Oe, O as Ee, ai as Ce, aj as Se, B as qe, ak as _e, al as te, am as ke } from "./install-D_goYtnz.js";
3
+ import { d as Ue } from "./index-7wsN-YZu.js";
4
+ import { get as xe, set as Be } from "lodash-es";
5
5
  import "@aliasedDeps/api-services/axios";
6
6
  import * as e from "zod";
7
7
  const C = {
@@ -17,22 +17,22 @@ const C = {
17
17
  }), le = ({ page: o = 1, size: t = 10 } = {}) => ({
18
18
  page: o,
19
19
  size: t
20
- }), Ne = String.prototype.replace, Fe = /%20/g, pe = {
20
+ }), Ne = String.prototype.replace, Pe = /%20/g, pe = {
21
21
  RFC1738: "RFC1738",
22
22
  RFC3986: "RFC3986"
23
23
  }, H = {
24
24
  RFC1738: function(o) {
25
- return Ne.call(o, Fe, "+");
25
+ return Ne.call(o, Pe, "+");
26
26
  },
27
27
  RFC3986: function(o) {
28
28
  return String(o);
29
29
  }
30
- }, Pe = pe.RFC1738, ce = pe.RFC3986, Le = Array.isArray, q = (function() {
30
+ }, Fe = pe.RFC1738, ce = pe.RFC3986, Le = Array.isArray, S = (function() {
31
31
  const o = [];
32
32
  for (let t = 0; t < 256; ++t)
33
33
  o.push("%" + ((t < 16 ? "0" : "") + t.toString(16)).toUpperCase());
34
34
  return o;
35
- })(), Y = 1024, Me = function(t, a, i, g, f) {
35
+ })(), V = 1024, Me = function(t, a, i, g, f) {
36
36
  if (t.length === 0)
37
37
  return t;
38
38
  let s = t;
@@ -41,8 +41,8 @@ const C = {
41
41
  return "%26%23" + parseInt(h.slice(2), 16) + "%3B";
42
42
  });
43
43
  let c = "";
44
- for (let h = 0; h < s.length; h += Y) {
45
- const u = s.length >= Y ? s.slice(h, h + Y) : s, d = [];
44
+ for (let h = 0; h < s.length; h += V) {
45
+ const u = s.length >= V ? s.slice(h, h + V) : s, d = [];
46
46
  for (let y = 0; y < u.length; ++y) {
47
47
  let l = u.charCodeAt(y);
48
48
  if (l === 45 || // -
@@ -52,23 +52,23 @@ const C = {
52
52
  l >= 48 && l <= 57 || // 0-9
53
53
  l >= 65 && l <= 90 || // a-z
54
54
  l >= 97 && l <= 122 || // A-Z
55
- f === Pe && (l === 40 || l === 41)) {
55
+ f === Fe && (l === 40 || l === 41)) {
56
56
  d[d.length] = u.charAt(y);
57
57
  continue;
58
58
  }
59
59
  if (l < 128) {
60
- d[d.length] = q[l];
60
+ d[d.length] = S[l];
61
61
  continue;
62
62
  }
63
63
  if (l < 2048) {
64
- d[d.length] = q[192 | l >> 6] + q[128 | l & 63];
64
+ d[d.length] = S[192 | l >> 6] + S[128 | l & 63];
65
65
  continue;
66
66
  }
67
67
  if (l < 55296 || l >= 57344) {
68
- d[d.length] = q[224 | l >> 12] + q[128 | l >> 6 & 63] + q[128 | l & 63];
68
+ d[d.length] = S[224 | l >> 12] + S[128 | l >> 6 & 63] + S[128 | l & 63];
69
69
  continue;
70
70
  }
71
- y += 1, l = 65536 + ((l & 1023) << 10 | u.charCodeAt(y) & 1023), d[d.length] = q[240 | l >> 18] + q[128 | l >> 12 & 63] + q[128 | l >> 6 & 63] + q[128 | l & 63];
71
+ y += 1, l = 65536 + ((l & 1023) << 10 | u.charCodeAt(y) & 1023), d[d.length] = S[240 | l >> 18] + S[128 | l >> 12 & 63] + S[128 | l >> 6 & 63] + S[128 | l & 63];
72
72
  }
73
73
  c += d.join("");
74
74
  }
@@ -83,7 +83,7 @@ const C = {
83
83
  return i;
84
84
  }
85
85
  return a(t);
86
- }, Ye = Object.prototype.hasOwnProperty, de = {
86
+ }, Ve = Object.prototype.hasOwnProperty, de = {
87
87
  brackets: function(t) {
88
88
  return t + "[]";
89
89
  },
@@ -94,8 +94,8 @@ const C = {
94
94
  repeat: function(t) {
95
95
  return t;
96
96
  }
97
- }, k = Array.isArray, Ve = Array.prototype.push, be = function(o, t) {
98
- Ve.apply(o, k(t) ? t : [t]);
97
+ }, q = Array.isArray, Ye = Array.prototype.push, be = function(o, t) {
98
+ Ye.apply(o, q(t) ? t : [t]);
99
99
  }, Ge = Date.prototype.toISOString, ie = ce, T = {
100
100
  addQueryPrefix: !1,
101
101
  allowDots: !1,
@@ -119,19 +119,19 @@ const C = {
119
119
  strictNullHandling: !1
120
120
  }, He = function(t) {
121
121
  return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "symbol" || typeof t == "bigint";
122
- }, V = {}, ge = function(t, a, i, g, f, s, c, h, u, d, y, l, v, j, w, O, r, p) {
123
- let n = t, R = p, I = 0, B = !1;
124
- for (; (R = R.get(V)) !== void 0 && !B; ) {
125
- const A = R.get(t);
126
- if (I += 1, typeof A < "u") {
127
- if (A === I)
122
+ }, Y = {}, ge = function(t, a, i, g, f, s, c, h, u, d, y, l, v, j, R, O, r, p) {
123
+ let n = t, A = p, I = 0, B = !1;
124
+ for (; (A = A.get(Y)) !== void 0 && !B; ) {
125
+ const w = A.get(t);
126
+ if (I += 1, typeof w < "u") {
127
+ if (w === I)
128
128
  throw new RangeError("Cyclic object value");
129
129
  B = !0;
130
130
  }
131
- typeof R.get(V) > "u" && (I = 0);
131
+ typeof A.get(Y) > "u" && (I = 0);
132
132
  }
133
- if (typeof d == "function" ? n = d(a, n) : n instanceof Date ? n = v(n) : i === "comma" && k(n) && (n = oe(n, function(A) {
134
- return A instanceof Date ? v(A) : A;
133
+ if (typeof d == "function" ? n = d(a, n) : n instanceof Date ? n = v(n) : i === "comma" && q(n) && (n = oe(n, function(w) {
134
+ return w instanceof Date ? v(w) : w;
135
135
  })), n === null) {
136
136
  if (s)
137
137
  return u && !O ? u(a, T.encoder, r, "key", j) : a;
@@ -139,36 +139,36 @@ const C = {
139
139
  }
140
140
  if (He(n) || ze(n)) {
141
141
  if (u) {
142
- const A = O ? a : u(a, T.encoder, r, "key", j);
142
+ const w = O ? a : u(a, T.encoder, r, "key", j);
143
143
  return [
144
- w(A) + "=" + w(u(n, T.encoder, r, "value", j))
144
+ R(w) + "=" + R(u(n, T.encoder, r, "value", j))
145
145
  ];
146
146
  }
147
- return [w(a) + "=" + w(String(n))];
147
+ return [R(a) + "=" + R(String(n))];
148
148
  }
149
149
  const M = [];
150
150
  if (typeof n > "u")
151
151
  return M;
152
- let U;
153
- if (i === "comma" && k(n))
154
- O && u && (n = oe(n, u)), U = [{ value: n.length > 0 ? n.join(",") || null : void 0 }];
155
- else if (k(d))
156
- U = d;
152
+ let x;
153
+ if (i === "comma" && q(n))
154
+ O && u && (n = oe(n, u)), x = [{ value: n.length > 0 ? n.join(",") || null : void 0 }];
155
+ else if (q(d))
156
+ x = d;
157
157
  else {
158
- const A = Object.keys(n);
159
- U = y ? A.sort(y) : A;
158
+ const w = Object.keys(n);
159
+ x = y ? w.sort(y) : w;
160
160
  }
161
- const W = h ? a.replace(/\./g, "%2E") : a, N = g && k(n) && n.length === 1 ? W + "[]" : W;
162
- if (f && k(n) && n.length === 0)
161
+ const Q = h ? a.replace(/\./g, "%2E") : a, N = g && q(n) && n.length === 1 ? Q + "[]" : Q;
162
+ if (f && q(n) && n.length === 0)
163
163
  return N + "[]";
164
- for (let A = 0; A < U.length; ++A) {
165
- const x = U[A], X = typeof x == "object" && typeof x.value < "u" ? x.value : n[x];
164
+ for (let w = 0; w < x.length; ++w) {
165
+ const _ = x[w], X = typeof _ == "object" && typeof _.value < "u" ? _.value : n[_];
166
166
  if (c && X === null)
167
167
  continue;
168
- const z = l && h ? x.replace(/\./g, "%2E") : x, Te = k(n) ? typeof i == "function" ? i(N, z) : N : N + (l ? "." + z : "[" + z + "]");
168
+ const z = l && h ? _.replace(/\./g, "%2E") : _, Te = q(n) ? typeof i == "function" ? i(N, z) : N : N + (l ? "." + z : "[" + z + "]");
169
169
  p.set(t, I);
170
170
  const J = /* @__PURE__ */ new WeakMap();
171
- J.set(V, p), be(
171
+ J.set(Y, p), be(
172
172
  M,
173
173
  ge(
174
174
  X,
@@ -179,13 +179,13 @@ const C = {
179
179
  s,
180
180
  c,
181
181
  h,
182
- i === "comma" && O && k(n) ? null : u,
182
+ i === "comma" && O && q(n) ? null : u,
183
183
  d,
184
184
  y,
185
185
  l,
186
186
  v,
187
187
  j,
188
- w,
188
+ R,
189
189
  O,
190
190
  r,
191
191
  J
@@ -207,13 +207,13 @@ const C = {
207
207
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
208
208
  let i = ce;
209
209
  if (typeof t.format < "u") {
210
- if (!Ye.call(H, t.format))
210
+ if (!Ve.call(H, t.format))
211
211
  throw new TypeError("Unknown format option provided.");
212
212
  i = t.format;
213
213
  }
214
214
  const g = H[i];
215
215
  let f = T.filter;
216
- (typeof t.filter == "function" || k(t.filter)) && (f = t.filter);
216
+ (typeof t.filter == "function" || q(t.filter)) && (f = t.filter);
217
217
  let s;
218
218
  if (t.arrayFormat in de ? s = t.arrayFormat : "indices" in t ? s = t.indices ? "indices" : "repeat" : s = T.arrayFormat, "commaRoundTrip" in t && typeof t.commaRoundTrip != "boolean")
219
219
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
@@ -244,7 +244,7 @@ function ue(o, t) {
244
244
  let a = o;
245
245
  const i = Ke(t);
246
246
  let g, f;
247
- typeof i.filter == "function" ? (f = i.filter, a = f("", a)) : k(i.filter) && (f = i.filter, g = f);
247
+ typeof i.filter == "function" ? (f = i.filter, a = f("", a)) : q(i.filter) && (f = i.filter, g = f);
248
248
  const s = [];
249
249
  if (typeof a != "object" || a === null)
250
250
  return "";
@@ -281,10 +281,10 @@ function ue(o, t) {
281
281
  let y = i.addQueryPrefix === !0 ? "?" : "";
282
282
  return i.charsetSentinel && (i.charset === "iso-8859-1" ? y += "utf8=%26%2310003%3B&" : y += "utf8=%E2%9C%93&"), d.length > 0 ? y + d : "";
283
283
  }
284
- const Qe = [
284
+ const We = [
285
285
  (o) => (o.headers["X-Webitel-Access"] = localStorage.getItem("access-token") || "", o),
286
286
  (o) => Promise.reject(o)
287
- ], We = [
287
+ ], Qe = [
288
288
  (o) => o,
289
289
  (o) => {
290
290
  if (o.response && o.response.status === 401) {
@@ -300,10 +300,10 @@ const Qe = [
300
300
  return ve({
301
301
  interceptors: {
302
302
  request: [
303
- Qe
303
+ We
304
304
  ],
305
305
  response: [
306
- We
306
+ Qe
307
307
  ]
308
308
  },
309
309
  baseURL: "/api",
@@ -346,18 +346,18 @@ function Je() {
346
346
  return Array.isArray(r) ? [] : {};
347
347
  }
348
348
  function c(r, p) {
349
- return p.clone !== !1 && p.isMergeableObject(r) ? w(s(r), r, p) : r;
349
+ return p.clone !== !1 && p.isMergeableObject(r) ? R(s(r), r, p) : r;
350
350
  }
351
351
  function h(r, p, n) {
352
- return r.concat(p).map(function(R) {
353
- return c(R, n);
352
+ return r.concat(p).map(function(A) {
353
+ return c(A, n);
354
354
  });
355
355
  }
356
356
  function u(r, p) {
357
357
  if (!p.customMerge)
358
- return w;
358
+ return R;
359
359
  var n = p.customMerge(r);
360
- return typeof n == "function" ? n : w;
360
+ return typeof n == "function" ? n : R;
361
361
  }
362
362
  function d(r) {
363
363
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(r).filter(function(p) {
@@ -378,26 +378,26 @@ function Je() {
378
378
  return l(r, p) && !(Object.hasOwnProperty.call(r, p) && Object.propertyIsEnumerable.call(r, p));
379
379
  }
380
380
  function j(r, p, n) {
381
- var R = {};
381
+ var A = {};
382
382
  return n.isMergeableObject(r) && y(r).forEach(function(I) {
383
- R[I] = c(r[I], n);
383
+ A[I] = c(r[I], n);
384
384
  }), y(p).forEach(function(I) {
385
- v(r, I) || (l(r, I) && n.isMergeableObject(p[I]) ? R[I] = u(I, n)(r[I], p[I], n) : R[I] = c(p[I], n));
386
- }), R;
385
+ v(r, I) || (l(r, I) && n.isMergeableObject(p[I]) ? A[I] = u(I, n)(r[I], p[I], n) : A[I] = c(p[I], n));
386
+ }), A;
387
387
  }
388
- function w(r, p, n) {
388
+ function R(r, p, n) {
389
389
  n = n || {}, n.arrayMerge = n.arrayMerge || h, n.isMergeableObject = n.isMergeableObject || o, n.cloneUnlessOtherwiseSpecified = c;
390
- var R = Array.isArray(p), I = Array.isArray(r), B = R === I;
391
- return B ? R ? n.arrayMerge(r, p, n) : j(r, p, n) : c(p, n);
390
+ var A = Array.isArray(p), I = Array.isArray(r), B = A === I;
391
+ return B ? A ? n.arrayMerge(r, p, n) : j(r, p, n) : c(p, n);
392
392
  }
393
- w.all = function(p, n) {
393
+ R.all = function(p, n) {
394
394
  if (!Array.isArray(p))
395
395
  throw new Error("first argument should be an array");
396
- return p.reduce(function(R, I) {
397
- return w(R, I, n);
396
+ return p.reduce(function(A, I) {
397
+ return R(A, I, n);
398
398
  }, {});
399
399
  };
400
- var O = w;
400
+ var O = R;
401
401
  return G = O, G;
402
402
  }
403
403
  var $e = Je();
@@ -411,7 +411,7 @@ const fe = /* @__PURE__ */ Ee($e), L = (...o) => (t) => fe.all([
411
411
  ])
412
412
  ), et = {
413
413
  eventBus: null
414
- }, Q = (o) => {
414
+ }, W = (o) => {
415
415
  if (typeof o == "function") {
416
416
  const t = ({ type: a, text: i }) => et.eventBus.$emit("notification", {
417
417
  type: a,
@@ -423,7 +423,7 @@ const fe = /* @__PURE__ */ Ee($e), L = (...o) => (t) => fe.all([
423
423
  }
424
424
  return o instanceof Error && (o.response?.data?.translation || o.response?.data?.detail || o.response?.data?.message), o;
425
425
  }, he = (o) => (t) => Object.keys(t).reduce((a, i) => (o.indexOf(i) === -1 || (a[i] = t[i]), a), {}), ae = (o = []) => (t) => Ce(t, o), ye = (o = "search") => (t) => {
426
- const a = _e(t), i = Ue(a, o);
426
+ const a = Ue(t), i = xe(a, o);
427
427
  return !i || i.slice(-1) === "*" ? a : Be(a, o, `${i}*`);
428
428
  }, re = "acl", tt = (o) => o.map((t) => ({
429
429
  ...t,
@@ -483,7 +483,7 @@ const fe = /* @__PURE__ */ Ee($e), L = (...o) => (t) => fe.all([
483
483
  };
484
484
  } catch (u) {
485
485
  throw E(u, [
486
- Q
486
+ W
487
487
  ]);
488
488
  }
489
489
  },
@@ -498,7 +498,7 @@ const fe = /* @__PURE__ */ Ee($e), L = (...o) => (t) => fe.all([
498
498
  ]);
499
499
  } catch (h) {
500
500
  throw E(h, [
501
- Q
501
+ W
502
502
  ]);
503
503
  }
504
504
  }
@@ -3824,7 +3824,7 @@ e.object({
3824
3824
  })
3825
3825
  ).optional()
3826
3826
  });
3827
- const wt = "question_default";
3827
+ const Rt = "question_default";
3828
3828
  e.object({
3829
3829
  createdAt: e.string().optional(),
3830
3830
  createdBy: e.object({
@@ -3855,7 +3855,7 @@ e.object({
3855
3855
  "question_score",
3856
3856
  "question_option",
3857
3857
  "question_yes"
3858
- ]).default(wt)
3858
+ ]).default(Rt)
3859
3859
  })
3860
3860
  ).optional(),
3861
3861
  teams: e.array(
@@ -3873,7 +3873,7 @@ e.object({
3873
3873
  e.object({
3874
3874
  id: e.number()
3875
3875
  });
3876
- const Rt = "question_default";
3876
+ const At = "question_default";
3877
3877
  e.object({
3878
3878
  description: e.string().optional(),
3879
3879
  enabled: e.boolean().optional(),
@@ -3897,7 +3897,7 @@ e.object({
3897
3897
  "question_score",
3898
3898
  "question_option",
3899
3899
  "question_yes"
3900
- ]).default(Rt)
3900
+ ]).default(At)
3901
3901
  })
3902
3902
  ).optional(),
3903
3903
  teams: e.array(
@@ -3907,7 +3907,7 @@ e.object({
3907
3907
  })
3908
3908
  ).optional()
3909
3909
  });
3910
- const At = "question_default";
3910
+ const wt = "question_default";
3911
3911
  e.object({
3912
3912
  createdAt: e.string().optional(),
3913
3913
  createdBy: e.object({
@@ -3938,7 +3938,7 @@ e.object({
3938
3938
  "question_score",
3939
3939
  "question_option",
3940
3940
  "question_yes"
3941
- ]).default(At)
3941
+ ]).default(wt)
3942
3942
  })
3943
3943
  ).optional(),
3944
3944
  teams: e.array(
@@ -5337,7 +5337,7 @@ e.object({
5337
5337
  hasTransfer: e.boolean().optional(),
5338
5338
  timeline: e.boolean().optional()
5339
5339
  });
5340
- const Ct = "file_type_empty", qt = "undefined", kt = "idle";
5340
+ const Ct = "file_type_empty", St = "undefined", qt = "idle";
5341
5341
  e.object({
5342
5342
  items: e.array(
5343
5343
  e.object({
@@ -5429,7 +5429,7 @@ e.object({
5429
5429
  "STT",
5430
5430
  "delete"
5431
5431
  ]).default(
5432
- qt
5432
+ St
5433
5433
  ),
5434
5434
  createdAt: e.string().optional(),
5435
5435
  errorDetail: e.string().optional(),
@@ -5441,7 +5441,7 @@ e.object({
5441
5441
  "finished",
5442
5442
  "error"
5443
5443
  ]).default(
5444
- kt
5444
+ qt
5445
5445
  )
5446
5446
  })
5447
5447
  ).optional(),
@@ -5627,7 +5627,7 @@ e.object({
5627
5627
  userId: e.array(e.string()).optional(),
5628
5628
  variablesString: e.record(e.string(), e.string()).optional()
5629
5629
  });
5630
- const xt = "file_type_empty", St = "undefined", _t = "idle";
5630
+ const _t = "file_type_empty", kt = "undefined", Ut = "idle";
5631
5631
  e.object({
5632
5632
  items: e.array(
5633
5633
  e.object({
@@ -5708,7 +5708,7 @@ e.object({
5708
5708
  "file_type_video",
5709
5709
  "file_type_pdf"
5710
5710
  ]).default(
5711
- xt
5711
+ _t
5712
5712
  )
5713
5713
  })
5714
5714
  ).optional(),
@@ -5719,7 +5719,7 @@ e.object({
5719
5719
  "STT",
5720
5720
  "delete"
5721
5721
  ]).default(
5722
- St
5722
+ kt
5723
5723
  ),
5724
5724
  createdAt: e.string().optional(),
5725
5725
  errorDetail: e.string().optional(),
@@ -5731,7 +5731,7 @@ e.object({
5731
5731
  "finished",
5732
5732
  "error"
5733
5733
  ]).default(
5734
- _t
5734
+ Ut
5735
5735
  )
5736
5736
  })
5737
5737
  ).optional(),
@@ -6009,7 +6009,7 @@ e.object({
6009
6009
  hideMissed: e.boolean().optional(),
6010
6010
  variables: e.record(e.string(), e.string()).optional()
6011
6011
  });
6012
- const Ut = "file_type_empty", Bt = "undefined", Nt = "idle";
6012
+ const xt = "file_type_empty", Bt = "undefined", Nt = "idle";
6013
6013
  e.object({
6014
6014
  tags: e.array(e.string()).optional(),
6015
6015
  agent: e.object({
@@ -6087,7 +6087,7 @@ e.object({
6087
6087
  "file_type_audio",
6088
6088
  "file_type_video",
6089
6089
  "file_type_pdf"
6090
- ]).default(Ut)
6090
+ ]).default(xt)
6091
6091
  })
6092
6092
  ).optional(),
6093
6093
  filesJob: e.array(
@@ -6797,7 +6797,7 @@ e.object({
6797
6797
  ])
6798
6798
  ).optional()
6799
6799
  });
6800
- const Ft = "chat";
6800
+ const Pt = "chat";
6801
6801
  e.object({
6802
6802
  days: e.array(
6803
6803
  e.object({
@@ -6915,7 +6915,7 @@ e.object({
6915
6915
  "chat",
6916
6916
  "call",
6917
6917
  "email"
6918
- ]).default(Ft)
6918
+ ]).default(Pt)
6919
6919
  })
6920
6920
  ).optional()
6921
6921
  })
@@ -6945,7 +6945,7 @@ e.object({
6945
6945
  qin: e.string().optional().describe("Specify which fields to apply 'q' to."),
6946
6946
  filtersV1: e.string().optional().describe("Updated filters with CEL syntax.")
6947
6947
  });
6948
- const Pt = "RELATION_TYPE_UNSPECIFIED", Lt = "TYPE_UNSPECIFIED";
6948
+ const Ft = "RELATION_TYPE_UNSPECIFIED", Lt = "TYPE_UNSPECIFIED";
6949
6949
  e.object({
6950
6950
  items: e.array(
6951
6951
  e.object({
@@ -7143,7 +7143,7 @@ e.object({
7143
7143
  "IS_PARENT_OF",
7144
7144
  "RELATES_TO"
7145
7145
  ]).default(
7146
- Pt
7146
+ Ft
7147
7147
  ).describe("Relation type between cases."),
7148
7148
  updatedAt: e.string().optional().describe(
7149
7149
  "Timestamp (in milliseconds) of the last update."
@@ -7386,7 +7386,7 @@ e.object({
7386
7386
  "Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
7387
7387
  )
7388
7388
  }).describe("Input structure for creating a new case.");
7389
- const zt = "RELATION_TYPE_UNSPECIFIED", Yt = "TYPE_UNSPECIFIED";
7389
+ const zt = "RELATION_TYPE_UNSPECIFIED", Vt = "TYPE_UNSPECIFIED";
7390
7390
  e.object({
7391
7391
  assignee: e.object({
7392
7392
  id: e.string().optional(),
@@ -7666,7 +7666,7 @@ e.object({
7666
7666
  "EMAIL",
7667
7667
  "API",
7668
7668
  "MANUAL"
7669
- ]).default(Yt).describe(
7669
+ ]).default(Vt).describe(
7670
7670
  `Represents a source type for the source entity.
7671
7671
 
7672
7672
  - TYPE_UNSPECIFIED: Unspecified source type.
@@ -7739,7 +7739,7 @@ e.object({
7739
7739
  e.object({
7740
7740
  fields: e.array(e.string()).optional().describe("List of fields to include in the deleted case response.")
7741
7741
  });
7742
- const Vt = "RELATION_TYPE_UNSPECIFIED", Gt = "TYPE_UNSPECIFIED";
7742
+ const Yt = "RELATION_TYPE_UNSPECIFIED", Gt = "TYPE_UNSPECIFIED";
7743
7743
  e.object({
7744
7744
  assignee: e.object({
7745
7745
  id: e.string().optional(),
@@ -7928,7 +7928,7 @@ e.object({
7928
7928
  "IS_CHILD_OF",
7929
7929
  "IS_PARENT_OF",
7930
7930
  "RELATES_TO"
7931
- ]).default(Vt).describe("Relation type between cases."),
7931
+ ]).default(Yt).describe("Relation type between cases."),
7932
7932
  updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
7933
7933
  updatedBy: e.object({
7934
7934
  id: e.string().optional(),
@@ -8472,7 +8472,7 @@ e.object({
8472
8472
  "Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
8473
8473
  )
8474
8474
  });
8475
- const Qt = "RELATION_TYPE_UNSPECIFIED", Wt = "TYPE_UNSPECIFIED";
8475
+ const Wt = "RELATION_TYPE_UNSPECIFIED", Qt = "TYPE_UNSPECIFIED";
8476
8476
  e.object({
8477
8477
  case: e.object({
8478
8478
  assignee: e.object({
@@ -8665,7 +8665,7 @@ e.object({
8665
8665
  "IS_PARENT_OF",
8666
8666
  "RELATES_TO"
8667
8667
  ]).default(
8668
- Qt
8668
+ Wt
8669
8669
  ).describe("Relation type between cases."),
8670
8670
  updatedAt: e.string().optional().describe(
8671
8671
  "Timestamp (in milliseconds) of the last update."
@@ -8759,7 +8759,7 @@ e.object({
8759
8759
  "EMAIL",
8760
8760
  "API",
8761
8761
  "MANUAL"
8762
- ]).default(Wt).describe(
8762
+ ]).default(Qt).describe(
8763
8763
  `Represents a source type for the source entity.
8764
8764
 
8765
8765
  - TYPE_UNSPECIFIED: Unspecified source type.
@@ -11610,7 +11610,7 @@ e.object({
11610
11610
  ).optional(),
11611
11611
  default: e.boolean().optional()
11612
11612
  });
11613
- const wo = "Undefined";
11613
+ const Ro = "Undefined";
11614
11614
  e.object({
11615
11615
  items: e.array(
11616
11616
  e.object({
@@ -11619,7 +11619,7 @@ e.object({
11619
11619
  "Phone",
11620
11620
  "Email",
11621
11621
  "Messaging"
11622
- ]).default(wo),
11622
+ ]).default(Ro),
11623
11623
  code: e.string().optional(),
11624
11624
  default: e.boolean().optional(),
11625
11625
  description: e.string().optional(),
@@ -11630,27 +11630,27 @@ e.object({
11630
11630
  ).optional(),
11631
11631
  next: e.boolean().optional()
11632
11632
  });
11633
- const Ro = "Undefined";
11633
+ const Ao = "Undefined";
11634
11634
  e.object({
11635
11635
  channel: e.enum([
11636
11636
  "Undefined",
11637
11637
  "Phone",
11638
11638
  "Email",
11639
11639
  "Messaging"
11640
- ]).default(Ro),
11640
+ ]).default(Ao),
11641
11641
  code: e.string().optional(),
11642
11642
  default: e.boolean().optional(),
11643
11643
  description: e.string().optional(),
11644
11644
  name: e.string().optional()
11645
11645
  });
11646
- const Ao = "Undefined";
11646
+ const wo = "Undefined";
11647
11647
  e.object({
11648
11648
  channel: e.enum([
11649
11649
  "Undefined",
11650
11650
  "Phone",
11651
11651
  "Email",
11652
11652
  "Messaging"
11653
- ]).default(Ao),
11653
+ ]).default(wo),
11654
11654
  code: e.string().optional(),
11655
11655
  default: e.boolean().optional(),
11656
11656
  description: e.string().optional(),
@@ -11748,14 +11748,14 @@ e.object({
11748
11748
  description: e.string().optional(),
11749
11749
  name: e.string().optional()
11750
11750
  });
11751
- const qo = "Undefined";
11751
+ const So = "Undefined";
11752
11752
  e.object({
11753
11753
  channel: e.enum([
11754
11754
  "Undefined",
11755
11755
  "Phone",
11756
11756
  "Email",
11757
11757
  "Messaging"
11758
- ]).default(qo),
11758
+ ]).default(So),
11759
11759
  code: e.string().optional(),
11760
11760
  default: e.boolean().optional(),
11761
11761
  description: e.string().optional(),
@@ -12047,7 +12047,7 @@ e.object({
12047
12047
  e.object({
12048
12048
  fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result.")
12049
12049
  });
12050
- const ko = e.object({
12050
+ const qo = e.object({
12051
12051
  etag: e.string().describe("Unique ID of the latest version of an existing resource."),
12052
12052
  group: e.object({
12053
12053
  id: e.string().optional().describe("Reference Object unique ID."),
@@ -12055,7 +12055,7 @@ const ko = e.object({
12055
12055
  type: e.string().optional().describe("Reference Object well-known type.")
12056
12056
  }).optional().describe("Group of contacts associated.")
12057
12057
  }).describe("An input of the Contact's groups.");
12058
- e.array(ko);
12058
+ e.array(qo);
12059
12059
  e.object({
12060
12060
  data: e.array(
12061
12061
  e.object({
@@ -12100,7 +12100,7 @@ e.object({
12100
12100
  e.object({
12101
12101
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
12102
12102
  });
12103
- const xo = e.object({
12103
+ const _o = e.object({
12104
12104
  etag: e.string().describe("Unique ID of the latest version of an existing resource."),
12105
12105
  group: e.object({
12106
12106
  id: e.string().optional().describe("Reference Object unique ID."),
@@ -12108,7 +12108,7 @@ const xo = e.object({
12108
12108
  type: e.string().optional().describe("Reference Object well-known type.")
12109
12109
  }).optional().describe("Group of contacts associated.")
12110
12110
  }).describe("An input of the Contact's groups.");
12111
- e.array(xo);
12111
+ e.array(_o);
12112
12112
  e.object({
12113
12113
  data: e.array(
12114
12114
  e.object({
@@ -12348,7 +12348,7 @@ e.object({
12348
12348
  e.looseObject(
12349
12349
  {}
12350
12350
  );
12351
- const So = "id", _o = /^[+|-|!]?\w+$/, Uo = "*", Bo = "READ";
12351
+ const ko = "id", Uo = /^[+|-|!]?\w+$/, xo = "*", Bo = "READ";
12352
12352
  e.object({
12353
12353
  page: e.number().optional().describe(
12354
12354
  `Page number of result records. _default(1); offset=(size*(page-1));_
@@ -12385,11 +12385,11 @@ if (maximum < limit)
12385
12385
  "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..."
12386
12386
  ),
12387
12387
  sort: e.array(
12388
- e.string().regex(_o).default(So)
12388
+ e.string().regex(Uo).default(ko)
12389
12389
  ).optional().describe(
12390
12390
  'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = "-" / "!"\nASC = [ "+" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.'
12391
12391
  ),
12392
- fields: e.array(e.string().default(Uo)).optional().describe(
12392
+ fields: e.array(e.string().default(xo)).optional().describe(
12393
12393
  `Fields [Q]uery to build result dataset record.
12394
12394
  \`\`\`
12395
12395
  fields ::= field [ *( "," field ) ]
@@ -14224,14 +14224,14 @@ e.object({
14224
14224
  "The Contact source IDentifier.\nAccept: `etag` (obsolete+) or `id`."
14225
14225
  )
14226
14226
  });
14227
- const Fo = "READ";
14227
+ const Po = "READ";
14228
14228
  e.object({
14229
14229
  fields: e.array(e.string()).optional().describe("Source Fields to return into result."),
14230
14230
  mode: e.enum([
14231
14231
  "READ",
14232
14232
  "WRITE",
14233
14233
  "DELETE"
14234
- ]).default(Fo).describe(
14234
+ ]).default(Po).describe(
14235
14235
  "The requirement of a special access mode to the Source.\n\n - READ: Can `fetch` record. [GET]\n - WRITE: Can `update` record. [PUT|PATCH]\n - DELETE: Can `delete` record. [DELETE]"
14236
14236
  )
14237
14237
  });
@@ -14755,7 +14755,7 @@ e.object({
14755
14755
  e.object({
14756
14756
  fields: e.array(e.string()).optional().describe("Source Fields to return into result.")
14757
14757
  });
14758
- const Po = /^\w+$/;
14758
+ const Fo = /^\w+$/;
14759
14759
  e.object({
14760
14760
  about: e.string().optional().describe(
14761
14761
  `BIO. Short description about the Contact person.
@@ -14924,7 +14924,7 @@ Simplified search filter to uniquely identify related object.`
14924
14924
  etag: e.string().optional().describe(
14925
14925
  "Unique ID of the latest version of an existing resorce."
14926
14926
  ),
14927
- key: e.string().regex(Po).describe("NEW Key."),
14927
+ key: e.string().regex(Fo).describe("NEW Key."),
14928
14928
  value: e.unknown().optional().describe("NEW Value.")
14929
14929
  }).describe("Input of the Contact's variable.")
14930
14930
  ).optional().describe("Arbitrary client data that is populated by clients.")
@@ -16758,7 +16758,7 @@ e.object({
16758
16758
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result dataset."),
16759
16759
  id: e.array(e.string()).describe("[`record.id`]")
16760
16760
  });
16761
- const Yo = "none";
16761
+ const Vo = "none";
16762
16762
  e.object({
16763
16763
  data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
16764
16764
  next: e.boolean().optional(),
@@ -16885,7 +16885,7 @@ code`),
16885
16885
  "richtext",
16886
16886
  "datetime",
16887
16887
  "duration"
16888
- ]).default(Yo).describe("Required. The field type."),
16888
+ ]).default(Vo).describe("Required. The field type."),
16889
16889
  lookup: e.object({
16890
16890
  display: e.string().optional().describe(
16891
16891
  "[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
@@ -16986,14 +16986,14 @@ Used as [lookup].id setting for this [struct] type.`
16986
16986
  e.object({
16987
16987
  repo: e.string().describe("[`types.repo`]")
16988
16988
  });
16989
- const Vo = "*", Go = /^[+|-|!]?\w+$/, Ho = "*";
16989
+ const Yo = "*", Go = /^[+|-|!]?\w+$/, Ho = "*";
16990
16990
  e.object({
16991
16991
  size: e.number().optional().describe(`Number of result records (per page).
16992
16992
  Default: 16.`),
16993
16993
  page: e.number().optional().describe(`Page number of result set of records.
16994
16994
  Default: 1.`),
16995
16995
  sort: e.array(
16996
- e.string().regex(Go).default(Vo)
16996
+ e.string().regex(Go).default(Yo)
16997
16997
  ).optional().describe(
16998
16998
  'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = "-" / "!"\nASC = [ "+" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.'
16999
16999
  ),
@@ -17251,7 +17251,7 @@ e.looseObject({});
17251
17251
  e.object({
17252
17252
  repo: e.string().describe("`types.repo`")
17253
17253
  });
17254
- const Qo = "continue", Wo = "continue";
17254
+ const Wo = "continue", Qo = "continue";
17255
17255
  e.object({
17256
17256
  data: e.string().optional(),
17257
17257
  fields: e.record(e.string(), e.number()).optional(),
@@ -17260,11 +17260,11 @@ e.object({
17260
17260
  onDataError: e.enum([
17261
17261
  "continue",
17262
17262
  "break"
17263
- ]).default(Qo),
17263
+ ]).default(Wo),
17264
17264
  onEmptyLine: e.enum([
17265
17265
  "continue",
17266
17266
  "break"
17267
- ]).default(Wo)
17267
+ ]).default(Qo)
17268
17268
  });
17269
17269
  const Xo = "none";
17270
17270
  e.object({
@@ -21268,18 +21268,18 @@ int64 dc = 0;`)
21268
21268
  next: e.boolean().optional(),
21269
21269
  page: e.number().optional().describe("Page number of results.")
21270
21270
  }).describe("Dataset of structured types.");
21271
- const wi = "*", Ri = /^[+|-|!]?\w+$/, Ai = "*";
21271
+ const Ri = "*", Ai = /^[+|-|!]?\w+$/, wi = "*";
21272
21272
  e.object({
21273
21273
  size: e.number().optional().describe(`Number of result records (per page).
21274
21274
  Default: 16.`),
21275
21275
  page: e.number().optional().describe(`Page number of result set of records.
21276
21276
  Default: 1.`),
21277
21277
  sort: e.array(
21278
- e.string().regex(Ri).default(wi)
21278
+ e.string().regex(Ai).default(Ri)
21279
21279
  ).optional().describe(
21280
21280
  'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = "-" / "!"\nASC = [ "+" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.'
21281
21281
  ),
21282
- fields: e.array(e.string().default(Ai)).optional().describe(
21282
+ fields: e.array(e.string().default(wi)).optional().describe(
21283
21283
  `Fields [Q]uery to build result dataset record.
21284
21284
  \`\`\`
21285
21285
  fields ::= field [ *( "," field ) ]
@@ -22402,7 +22402,7 @@ int64 dc = 0;`);
22402
22402
  e.object({
22403
22403
  repo: e.string().describe("`type.repo`")
22404
22404
  });
22405
- const qi = "none";
22405
+ const Si = "none";
22406
22406
  e.object({
22407
22407
  fields: e.array(
22408
22408
  e.object({
@@ -22511,7 +22511,7 @@ code`),
22511
22511
  "richtext",
22512
22512
  "datetime",
22513
22513
  "duration"
22514
- ]).default(qi).describe("Required. The field type."),
22514
+ ]).default(Si).describe("Required. The field type."),
22515
22515
  lookup: e.object({
22516
22516
  display: e.string().optional().describe(
22517
22517
  "[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
@@ -22584,7 +22584,7 @@ FIXME: Is base field ? [ id, created_, updated_ ]`
22584
22584
  }).describe("INDEX [struct.fields].")
22585
22585
  ).optional()
22586
22586
  });
22587
- const ki = "none";
22587
+ const qi = "none";
22588
22588
  e.object({
22589
22589
  about: e.string().optional().describe("Optional. Short description."),
22590
22590
  administered: e.boolean().optional(),
@@ -22707,7 +22707,7 @@ code`),
22707
22707
  "richtext",
22708
22708
  "datetime",
22709
22709
  "duration"
22710
- ]).default(ki).describe("Required. The field type."),
22710
+ ]).default(qi).describe("Required. The field type."),
22711
22711
  lookup: e.object({
22712
22712
  display: e.string().optional().describe(
22713
22713
  "[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
@@ -22835,7 +22835,7 @@ e.object({
22835
22835
  fields: e.array(e.string()).optional(),
22836
22836
  id: e.array(e.number()).optional()
22837
22837
  });
22838
- const xi = "UnknownChannel";
22838
+ const _i = "UnknownChannel";
22839
22839
  e.object({
22840
22840
  items: e.array(
22841
22841
  e.object({
@@ -22850,7 +22850,7 @@ e.object({
22850
22850
  "KnowledgebaseChannel",
22851
22851
  "CasesChannel",
22852
22852
  "ScreenRecordingChannel"
22853
- ]).default(xi)
22853
+ ]).default(_i)
22854
22854
  ).optional(),
22855
22855
  createdAt: e.string().optional(),
22856
22856
  createdBy: e.object({
@@ -22877,7 +22877,7 @@ e.object({
22877
22877
  ).optional(),
22878
22878
  next: e.boolean().optional()
22879
22879
  });
22880
- const Si = "UnknownChannel";
22880
+ const ki = "UnknownChannel";
22881
22881
  e.object({
22882
22882
  channels: e.array(
22883
22883
  e.enum([
@@ -22890,7 +22890,7 @@ e.object({
22890
22890
  "KnowledgebaseChannel",
22891
22891
  "CasesChannel",
22892
22892
  "ScreenRecordingChannel"
22893
- ]).default(Si)
22893
+ ]).default(ki)
22894
22894
  ).optional(),
22895
22895
  description: e.string().optional(),
22896
22896
  enabled: e.boolean().optional(),
@@ -22902,7 +22902,7 @@ e.object({
22902
22902
  speedDownload: e.string().optional(),
22903
22903
  speedUpload: e.string().optional()
22904
22904
  });
22905
- const _i = "UnknownChannel";
22905
+ const Ui = "UnknownChannel";
22906
22906
  e.object({
22907
22907
  channels: e.array(
22908
22908
  e.enum([
@@ -22915,7 +22915,7 @@ e.object({
22915
22915
  "KnowledgebaseChannel",
22916
22916
  "CasesChannel",
22917
22917
  "ScreenRecordingChannel"
22918
- ]).default(_i)
22918
+ ]).default(Ui)
22919
22919
  ).optional(),
22920
22920
  createdAt: e.string().optional(),
22921
22921
  createdBy: e.object({
@@ -22950,7 +22950,7 @@ e.object({
22950
22950
  e.object({
22951
22951
  id: e.number()
22952
22952
  });
22953
- const Ui = "UnknownChannel";
22953
+ const xi = "UnknownChannel";
22954
22954
  e.object({
22955
22955
  channels: e.array(
22956
22956
  e.enum([
@@ -22963,7 +22963,7 @@ e.object({
22963
22963
  "KnowledgebaseChannel",
22964
22964
  "CasesChannel",
22965
22965
  "ScreenRecordingChannel"
22966
- ]).default(Ui)
22966
+ ]).default(xi)
22967
22967
  ).optional(),
22968
22968
  createdAt: e.string().optional(),
22969
22969
  createdBy: e.object({
@@ -23056,7 +23056,7 @@ e.object({
23056
23056
  speedDownload: e.string().optional(),
23057
23057
  speedUpload: e.string().optional()
23058
23058
  });
23059
- const Fi = "UnknownChannel";
23059
+ const Pi = "UnknownChannel";
23060
23060
  e.object({
23061
23061
  channels: e.array(
23062
23062
  e.enum([
@@ -23069,7 +23069,7 @@ e.object({
23069
23069
  "KnowledgebaseChannel",
23070
23070
  "CasesChannel",
23071
23071
  "ScreenRecordingChannel"
23072
- ]).default(Fi)
23072
+ ]).default(Pi)
23073
23073
  ).optional(),
23074
23074
  createdAt: e.string().optional(),
23075
23075
  createdBy: e.object({
@@ -23096,7 +23096,7 @@ e.object({
23096
23096
  e.object({
23097
23097
  id: e.number()
23098
23098
  });
23099
- const Pi = "UnknownChannel";
23099
+ const Fi = "UnknownChannel";
23100
23100
  e.object({
23101
23101
  channels: e.array(
23102
23102
  e.enum([
@@ -23109,7 +23109,7 @@ e.object({
23109
23109
  "KnowledgebaseChannel",
23110
23110
  "CasesChannel",
23111
23111
  "ScreenRecordingChannel"
23112
- ]).default(Pi)
23112
+ ]).default(Fi)
23113
23113
  ).optional(),
23114
23114
  description: e.string().optional(),
23115
23115
  enabled: e.boolean().optional(),
@@ -23245,7 +23245,7 @@ e.object({
23245
23245
  e.object({
23246
23246
  agent_id: e.string()
23247
23247
  });
23248
- const zi = "PDF", Yi = "SCREENRECORDING";
23248
+ const zi = "PDF", Vi = "SCREENRECORDING";
23249
23249
  e.object({
23250
23250
  page: e.number().optional(),
23251
23251
  size: e.number().optional(),
@@ -23266,9 +23266,9 @@ e.object({
23266
23266
  channel: e.enum([
23267
23267
  "SCREENRECORDING",
23268
23268
  "CALL"
23269
- ]).default(Yi)
23269
+ ]).default(Vi)
23270
23270
  });
23271
- const Vi = "UnknownChannel";
23271
+ const Yi = "UnknownChannel";
23272
23272
  e.object({
23273
23273
  items: e.array(
23274
23274
  e.object({
@@ -23283,7 +23283,7 @@ e.object({
23283
23283
  "CasesChannel",
23284
23284
  "ScreenRecordingChannel"
23285
23285
  ]).default(
23286
- Vi
23286
+ Yi
23287
23287
  ),
23288
23288
  id: e.string().optional(),
23289
23289
  mimeType: e.string().optional(),
@@ -23431,7 +23431,7 @@ e.object({
23431
23431
  "CALL"
23432
23432
  ]).default(Ki)
23433
23433
  });
23434
- const Qi = "UnknownChannel";
23434
+ const Wi = "UnknownChannel";
23435
23435
  e.object({
23436
23436
  items: e.array(
23437
23437
  e.object({
@@ -23445,7 +23445,7 @@ e.object({
23445
23445
  "KnowledgebaseChannel",
23446
23446
  "CasesChannel",
23447
23447
  "ScreenRecordingChannel"
23448
- ]).default(Qi),
23448
+ ]).default(Wi),
23449
23449
  id: e.string().optional(),
23450
23450
  mimeType: e.string().optional(),
23451
23451
  name: e.string().optional(),
@@ -23721,7 +23721,7 @@ e.object({
23721
23721
  ).optional(),
23722
23722
  next: e.boolean().optional()
23723
23723
  });
23724
- const Wi = "GROUP_TYPE_UNSPECIFIED";
23724
+ const Qi = "GROUP_TYPE_UNSPECIFIED";
23725
23725
  e.object({
23726
23726
  page: e.number().optional().describe("Page number of result dataset records. offset = (page*size)"),
23727
23727
  size: e.number().optional().describe("Size count of records on result page. limit = (size++)"),
@@ -23736,7 +23736,7 @@ e.object({
23736
23736
  "GROUP_TYPE_UNSPECIFIED",
23737
23737
  "STATIC",
23738
23738
  "DYNAMIC"
23739
- ]).default(Wi).describe(
23739
+ ]).default(Qi).describe(
23740
23740
  `Filter by group type.
23741
23741
 
23742
23742
  - GROUP_TYPE_UNSPECIFIED: Default value
@@ -32157,7 +32157,7 @@ e.object({
32157
32157
  from: e.string().optional().describe("Start timestamp of the range (Unix millis)."),
32158
32158
  to: e.string().optional().describe("End timestamp of the range (Unix millis).")
32159
32159
  }).describe("Request for generating a screen recording PDF.");
32160
- const wn = "EXPORT_STATUS_UNSPECIFIED";
32160
+ const Rn = "EXPORT_STATUS_UNSPECIFIED";
32161
32161
  e.object({
32162
32162
  fileName: e.string().optional().describe("Target name of the PDF file."),
32163
32163
  mimeType: e.string().optional().describe("MIME type (usually application/pdf)."),
@@ -32168,7 +32168,7 @@ e.object({
32168
32168
  "PROCESSING",
32169
32169
  "DONE",
32170
32170
  "FAILED"
32171
- ]).default(wn).describe("Current lifecycle status of the task."),
32171
+ ]).default(Rn).describe("Current lifecycle status of the task."),
32172
32172
  taskId: e.string().optional().describe("Unique ID to track the background task.")
32173
32173
  }).describe("Metadata about an export task immediately after creation.");
32174
32174
  e.object({
@@ -32179,7 +32179,7 @@ e.object({
32179
32179
  size: e.number().optional().describe("Number of items per page."),
32180
32180
  sort: e.string().optional().describe('sorting criteria, e.g. "+created_at" or "-name"')
32181
32181
  });
32182
- const Rn = "EXPORT_STATUS_UNSPECIFIED";
32182
+ const An = "EXPORT_STATUS_UNSPECIFIED";
32183
32183
  e.object({
32184
32184
  items: e.array(
32185
32185
  e.object({
@@ -32195,7 +32195,7 @@ e.object({
32195
32195
  "PROCESSING",
32196
32196
  "DONE",
32197
32197
  "FAILED"
32198
- ]).default(Rn).describe("Final status of the export process."),
32198
+ ]).default(An).describe("Final status of the export process."),
32199
32199
  updatedAt: e.string().optional().describe("Last update timestamp (Unix millis)."),
32200
32200
  updatedBy: e.string().optional().describe("User ID who last modified the record.")
32201
32201
  }).describe("Represents a persisted record of a PDF export.")
@@ -32211,7 +32211,7 @@ e.object({
32211
32211
  from: e.string().optional().describe("Start timestamp of the range (Unix millis)."),
32212
32212
  to: e.string().optional().describe("End timestamp of the range (Unix millis).")
32213
32213
  }).describe("Request for generating a call media PDF.");
32214
- const An = "EXPORT_STATUS_UNSPECIFIED";
32214
+ const wn = "EXPORT_STATUS_UNSPECIFIED";
32215
32215
  e.object({
32216
32216
  fileName: e.string().optional().describe("Target name of the PDF file."),
32217
32217
  mimeType: e.string().optional().describe("MIME type (usually application/pdf)."),
@@ -32222,7 +32222,7 @@ e.object({
32222
32222
  "PROCESSING",
32223
32223
  "DONE",
32224
32224
  "FAILED"
32225
- ]).default(An).describe("Current lifecycle status of the task."),
32225
+ ]).default(wn).describe("Current lifecycle status of the task."),
32226
32226
  taskId: e.string().optional().describe("Unique ID to track the background task.")
32227
32227
  }).describe("Metadata about an export task immediately after creation.");
32228
32228
  e.object({
@@ -35382,18 +35382,18 @@ Used as [lookup].id setting for this [struct] type.`
35382
35382
  e.object({
35383
35383
  repo: e.string().describe("[`types.repo`]")
35384
35384
  });
35385
- const qn = "*", kn = /^[+|-|!]?\w+$/, xn = "*";
35385
+ const Sn = "*", qn = /^[+|-|!]?\w+$/, _n = "*";
35386
35386
  e.object({
35387
35387
  size: e.number().optional().describe(`Number of result records (per page).
35388
35388
  Default: 16.`),
35389
35389
  page: e.number().optional().describe(`Page number of result set of records.
35390
35390
  Default: 1.`),
35391
35391
  sort: e.array(
35392
- e.string().regex(kn).default(qn)
35392
+ e.string().regex(qn).default(Sn)
35393
35393
  ).optional().describe(
35394
35394
  'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = "-" / "!"\nASC = [ "+" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.'
35395
35395
  ),
35396
- fields: e.array(e.string().default(xn)).optional().describe(
35396
+ fields: e.array(e.string().default(_n)).optional().describe(
35397
35397
  `Fields [Q]uery to build result dataset record.
35398
35398
  \`\`\`
35399
35399
  fields ::= field [ *( "," field ) ]
@@ -35414,7 +35414,7 @@ USCORE = %x5F ; underscore ; "_"
35414
35414
  id: e.array(e.string()).optional().describe("[`record.id`]"),
35415
35415
  filters: e.string().optional().describe("Filter string in CEL format.")
35416
35416
  });
35417
- const Sn = "none";
35417
+ const kn = "none";
35418
35418
  e.object({
35419
35419
  data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
35420
35420
  next: e.boolean().optional(),
@@ -35541,7 +35541,7 @@ code`),
35541
35541
  "richtext",
35542
35542
  "datetime",
35543
35543
  "duration"
35544
- ]).default(Sn).describe("Required. The field type."),
35544
+ ]).default(kn).describe("Required. The field type."),
35545
35545
  lookup: e.object({
35546
35546
  display: e.string().optional().describe(
35547
35547
  "[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
@@ -35648,9 +35648,9 @@ e.object({
35648
35648
  repo: e.string().describe("[`types.repo`]"),
35649
35649
  id: e.string().describe("[`record.id`]")
35650
35650
  });
35651
- const _n = "*";
35651
+ const Un = "*";
35652
35652
  e.object({
35653
- fields: e.array(e.string().default(_n)).optional().describe(
35653
+ fields: e.array(e.string().default(Un)).optional().describe(
35654
35654
  `Fields [Q]uery to build result dataset record.
35655
35655
  \`\`\`
35656
35656
  fields ::= field [ *( "," field ) ]
@@ -35799,7 +35799,7 @@ e.object({
35799
35799
  e.object({
35800
35800
  fields: e.array(e.string()).optional().describe("Fields to include in the response.")
35801
35801
  });
35802
- const Un = "RELATION_TYPE_UNSPECIFIED";
35802
+ const xn = "RELATION_TYPE_UNSPECIFIED";
35803
35803
  e.object({
35804
35804
  primaryCase: e.object({
35805
35805
  name: e.string().optional()
@@ -35819,7 +35819,7 @@ e.object({
35819
35819
  "IS_CHILD_OF",
35820
35820
  "IS_PARENT_OF",
35821
35821
  "RELATES_TO"
35822
- ]).default(Un).describe("Relation type."),
35822
+ ]).default(xn).describe("Relation type."),
35823
35823
  userId: e.object({
35824
35824
  id: e.string().optional(),
35825
35825
  name: e.string().optional()
@@ -35910,7 +35910,7 @@ e.object({
35910
35910
  "Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
35911
35911
  )
35912
35912
  });
35913
- const Fn = "RELATION_TYPE_UNSPECIFIED";
35913
+ const Pn = "RELATION_TYPE_UNSPECIFIED";
35914
35914
  e.object({
35915
35915
  createdAt: e.string().optional().describe(
35916
35916
  "Timestamp (in milliseconds) of when the relation was created."
@@ -35948,7 +35948,7 @@ e.object({
35948
35948
  "IS_CHILD_OF",
35949
35949
  "IS_PARENT_OF",
35950
35950
  "RELATES_TO"
35951
- ]).default(Fn).describe("Relation type between cases."),
35951
+ ]).default(Pn).describe("Relation type between cases."),
35952
35952
  updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
35953
35953
  updatedBy: e.object({
35954
35954
  id: e.string().optional(),
@@ -35969,7 +35969,7 @@ e.object({
35969
35969
  fields: e.array(e.string()).optional().describe("Fields to return for each related case."),
35970
35970
  ids: e.array(e.string()).optional().describe("Filter by ids")
35971
35971
  });
35972
- const Pn = "RELATION_TYPE_UNSPECIFIED";
35972
+ const Fn = "RELATION_TYPE_UNSPECIFIED";
35973
35973
  e.object({
35974
35974
  data: e.array(
35975
35975
  e.object({
@@ -36009,7 +36009,7 @@ e.object({
36009
36009
  "IS_CHILD_OF",
36010
36010
  "IS_PARENT_OF",
36011
36011
  "RELATES_TO"
36012
- ]).default(Pn).describe("Relation type between cases."),
36012
+ ]).default(Fn).describe("Relation type between cases."),
36013
36013
  updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
36014
36014
  updatedBy: e.object({
36015
36015
  id: e.string().optional(),
@@ -36161,7 +36161,7 @@ e.object({
36161
36161
  e.object({
36162
36162
  fields: e.array(e.string()).optional().describe("Fields to return in the response.")
36163
36163
  });
36164
- const Yn = "RELATION_TYPE_UNSPECIFIED";
36164
+ const Vn = "RELATION_TYPE_UNSPECIFIED";
36165
36165
  e.object({
36166
36166
  createdAt: e.string().optional().describe(
36167
36167
  "Timestamp (in milliseconds) of when the relation was created."
@@ -36199,7 +36199,7 @@ e.object({
36199
36199
  "IS_CHILD_OF",
36200
36200
  "IS_PARENT_OF",
36201
36201
  "RELATES_TO"
36202
- ]).default(Yn).describe("Relation type between cases."),
36202
+ ]).default(Vn).describe("Relation type between cases."),
36203
36203
  updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
36204
36204
  updatedBy: e.object({
36205
36205
  id: e.string().optional(),
@@ -36546,7 +36546,7 @@ e.object({
36546
36546
  editor: e.boolean().optional(),
36547
36547
  tags: e.array(e.string()).optional()
36548
36548
  });
36549
- const Vn = "default";
36549
+ const Yn = "default";
36550
36550
  e.object({
36551
36551
  items: e.array(
36552
36552
  e.object({
@@ -36571,7 +36571,7 @@ e.object({
36571
36571
  "chat",
36572
36572
  "processing",
36573
36573
  "service"
36574
- ]).default(Vn),
36574
+ ]).default(Yn),
36575
36575
  updatedAt: e.string().optional(),
36576
36576
  updatedBy: e.object({
36577
36577
  id: e.string().optional(),
@@ -36697,7 +36697,7 @@ e.object({
36697
36697
  e.object({
36698
36698
  domainId: e.string().optional()
36699
36699
  });
36700
- const Qn = "default";
36700
+ const Wn = "default";
36701
36701
  e.object({
36702
36702
  tags: e.array(
36703
36703
  e.object({
@@ -36720,7 +36720,7 @@ e.object({
36720
36720
  "chat",
36721
36721
  "processing",
36722
36722
  "service"
36723
- ]).default(Qn),
36723
+ ]).default(Wn),
36724
36724
  updatedAt: e.string().optional(),
36725
36725
  updatedBy: e.object({
36726
36726
  id: e.string().optional(),
@@ -36730,7 +36730,7 @@ e.object({
36730
36730
  e.object({
36731
36731
  id: e.string()
36732
36732
  });
36733
- const Wn = "default";
36733
+ const Qn = "default";
36734
36734
  e.object({
36735
36735
  tags: e.array(
36736
36736
  e.object({
@@ -36749,7 +36749,7 @@ e.object({
36749
36749
  "chat",
36750
36750
  "processing",
36751
36751
  "service"
36752
- ]).default(Wn)
36752
+ ]).default(Qn)
36753
36753
  });
36754
36754
  const Xn = "default";
36755
36755
  e.object({
@@ -38468,7 +38468,7 @@ e.object({
38468
38468
  e.object({
38469
38469
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result.")
38470
38470
  });
38471
- const Ia = 500, Ta = 3, wa = 100, Ra = "TYPE_UNSPECIFIED";
38471
+ const Ia = 500, Ta = 3, Ra = 100, Aa = "TYPE_UNSPECIFIED";
38472
38472
  e.object({
38473
38473
  source: e.object({
38474
38474
  createdAt: e.string().describe("Unix timestamp representing when the source was created."),
@@ -38482,7 +38482,7 @@ e.object({
38482
38482
  id: e.string().describe(
38483
38483
  "Unique identifier for the source, generated automatically."
38484
38484
  ),
38485
- name: e.string().min(Ta).max(wa).describe("A unique, descriptive name for the source."),
38485
+ name: e.string().min(Ta).max(Ra).describe("A unique, descriptive name for the source."),
38486
38486
  type: e.enum([
38487
38487
  "TYPE_UNSPECIFIED",
38488
38488
  "CALL",
@@ -38491,7 +38491,7 @@ e.object({
38491
38491
  "EMAIL",
38492
38492
  "API",
38493
38493
  "MANUAL"
38494
- ]).default(Ra).describe("The type of data source represented by this entry."),
38494
+ ]).default(Aa).describe("The type of data source represented by this entry."),
38495
38495
  updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
38496
38496
  updatedBy: e.object({
38497
38497
  id: e.string().optional(),
@@ -38507,7 +38507,7 @@ e.object({
38507
38507
  e.object({
38508
38508
  fields: e.array(e.string()).optional()
38509
38509
  });
38510
- const Aa = '{ "name": "Default Source", "type": "CALL" }', Da = 500, va = "New Source", Oa = 2, Ea = 100, Ca = '"CALL"';
38510
+ const wa = '{ "name": "Default Source", "type": "CALL" }', Da = 500, va = "New Source", Oa = 2, Ea = 100, Ca = '"CALL"';
38511
38511
  e.object({
38512
38512
  description: e.string().max(Da).optional().describe("A short description of the source"),
38513
38513
  name: e.string().min(Oa).max(Ea).default(va).describe("The name of the source"),
@@ -38520,17 +38520,17 @@ e.object({
38520
38520
  "API",
38521
38521
  "MANUAL"
38522
38522
  ]).default(Ca).describe("The type of the source")
38523
- }).default(Aa).describe("The data structure representing a source");
38524
- const qa = 500, ka = 3, xa = 100, Sa = "TYPE_UNSPECIFIED";
38523
+ }).default(wa).describe("The data structure representing a source");
38524
+ const Sa = 500, qa = 3, _a = 100, ka = "TYPE_UNSPECIFIED";
38525
38525
  e.object({
38526
38526
  createdAt: e.string().describe("Unix timestamp representing when the source was created."),
38527
38527
  createdBy: e.object({
38528
38528
  id: e.string().optional(),
38529
38529
  name: e.string().optional()
38530
38530
  }).describe("Reference to the user who originally created this source."),
38531
- description: e.string().max(qa).optional().describe("An optional longer explanation of the source's purpose."),
38531
+ description: e.string().max(Sa).optional().describe("An optional longer explanation of the source's purpose."),
38532
38532
  id: e.string().describe("Unique identifier for the source, generated automatically."),
38533
- name: e.string().min(ka).max(xa).describe("A unique, descriptive name for the source."),
38533
+ name: e.string().min(qa).max(_a).describe("A unique, descriptive name for the source."),
38534
38534
  type: e.enum([
38535
38535
  "TYPE_UNSPECIFIED",
38536
38536
  "CALL",
@@ -38539,7 +38539,7 @@ e.object({
38539
38539
  "EMAIL",
38540
38540
  "API",
38541
38541
  "MANUAL"
38542
- ]).default(Sa).describe("The type of data source represented by this entry."),
38542
+ ]).default(ka).describe("The type of data source represented by this entry."),
38543
38543
  updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
38544
38544
  updatedBy: e.object({
38545
38545
  id: e.string().optional(),
@@ -38554,10 +38554,10 @@ e.object({
38554
38554
  e.object({
38555
38555
  fields: e.array(e.string()).optional()
38556
38556
  });
38557
- const _a = '{ "name": "Default Source", "type": "CALL" }', Ua = 500, Ba = "New Source", Na = 2, Fa = 100, Pa = '"CALL"';
38557
+ const Ua = '{ "name": "Default Source", "type": "CALL" }', xa = 500, Ba = "New Source", Na = 2, Pa = 100, Fa = '"CALL"';
38558
38558
  e.object({
38559
- description: e.string().max(Ua).optional().describe("A short description of the source"),
38560
- name: e.string().min(Na).max(Fa).default(Ba).describe("The name of the source"),
38559
+ description: e.string().max(xa).optional().describe("A short description of the source"),
38560
+ name: e.string().min(Na).max(Pa).default(Ba).describe("The name of the source"),
38561
38561
  type: e.enum([
38562
38562
  "TYPE_UNSPECIFIED",
38563
38563
  "CALL",
@@ -38566,9 +38566,9 @@ e.object({
38566
38566
  "EMAIL",
38567
38567
  "API",
38568
38568
  "MANUAL"
38569
- ]).default(Pa).describe("The type of the source")
38570
- }).default(_a).describe("The data structure representing a source");
38571
- const La = 500, Ma = 3, za = 100, Ya = "TYPE_UNSPECIFIED";
38569
+ ]).default(Fa).describe("The type of the source")
38570
+ }).default(Ua).describe("The data structure representing a source");
38571
+ const La = 500, Ma = 3, za = 100, Va = "TYPE_UNSPECIFIED";
38572
38572
  e.object({
38573
38573
  createdAt: e.string().describe("Unix timestamp representing when the source was created."),
38574
38574
  createdBy: e.object({
@@ -38586,7 +38586,7 @@ e.object({
38586
38586
  "EMAIL",
38587
38587
  "API",
38588
38588
  "MANUAL"
38589
- ]).default(Ya).describe("The type of data source represented by this entry."),
38589
+ ]).default(Va).describe("The type of data source represented by this entry."),
38590
38590
  updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
38591
38591
  updatedBy: e.object({
38592
38592
  id: e.string().optional(),
@@ -38595,7 +38595,7 @@ e.object({
38595
38595
  "Reference to the user who most recently modified this source."
38596
38596
  )
38597
38597
  }).describe("Represents a data source in the contact management system.");
38598
- const Va = "id", Ga = /^[+|-|!]?\w+$/, Ha = "*";
38598
+ const Ya = "id", Ga = /^[+|-|!]?\w+$/, Ha = "*";
38599
38599
  e.object({
38600
38600
  page: e.number().optional(),
38601
38601
  size: e.number().optional().describe(
@@ -38613,7 +38613,7 @@ const
38613
38613
  "Search term:\n`?` - matches any character\n`*` - matches 0 or more characters\nUsed to query records within a set of `qin` fields, eg: name, etc..."
38614
38614
  ),
38615
38615
  sort: e.array(
38616
- e.string().regex(Ga).default(Va)
38616
+ e.string().regex(Ga).default(Ya)
38617
38617
  ).optional().describe(
38618
38618
  `Sort result dataset of records by fields.
38619
38619
  \`\`\`
@@ -39219,7 +39219,7 @@ e.object({
39219
39219
  ])
39220
39220
  ).optional().describe("Filter by setting names")
39221
39221
  });
39222
- const Qa = "empty_system_settings_name";
39222
+ const Wa = "empty_system_settings_name";
39223
39223
  e.object({
39224
39224
  items: e.array(
39225
39225
  e.object({
@@ -39260,12 +39260,12 @@ e.object({
39260
39260
  "password_warning_days",
39261
39261
  "default_password",
39262
39262
  "expand_contact_tabs"
39263
- ]).default(Qa)
39263
+ ]).default(Wa)
39264
39264
  })
39265
39265
  ).optional(),
39266
39266
  next: e.boolean().optional()
39267
39267
  });
39268
- const Wa = "empty_system_settings_name";
39268
+ const Qa = "empty_system_settings_name";
39269
39269
  e.object({
39270
39270
  name: e.enum([
39271
39271
  "empty_system_settings_name",
@@ -39303,7 +39303,7 @@ e.object({
39303
39303
  "password_warning_days",
39304
39304
  "default_password",
39305
39305
  "expand_contact_tabs"
39306
- ]).default(Wa)
39306
+ ]).default(Qa)
39307
39307
  });
39308
39308
  const Xa = "empty_system_settings_name";
39309
39309
  e.object({
@@ -40634,7 +40634,7 @@ e.object({
40634
40634
  e.object({
40635
40635
  id: e.number()
40636
40636
  });
40637
- const wr = "empty_trigger_event", Rr = "empty_trigger_object", Ar = "default_trigger_type";
40637
+ const Rr = "empty_trigger_event", Ar = "empty_trigger_object", wr = "default_trigger_type";
40638
40638
  e.object({
40639
40639
  description: e.string().optional(),
40640
40640
  enabled: e.boolean().optional(),
@@ -40644,7 +40644,7 @@ e.object({
40644
40644
  "update",
40645
40645
  "remove",
40646
40646
  "resolution_time"
40647
- ]).default(wr),
40647
+ ]).default(Rr),
40648
40648
  expression: e.string().optional(),
40649
40649
  id: e.number().optional(),
40650
40650
  name: e.string().optional(),
@@ -40655,7 +40655,7 @@ e.object({
40655
40655
  "case_comments",
40656
40656
  "case_links",
40657
40657
  "related_cases"
40658
- ]).default(Rr),
40658
+ ]).default(Ar),
40659
40659
  schema: e.object({
40660
40660
  id: e.string().optional(),
40661
40661
  name: e.string().optional()
@@ -40669,7 +40669,7 @@ e.object({
40669
40669
  "default_trigger_type",
40670
40670
  "cron",
40671
40671
  "event"
40672
- ]).default(Ar),
40672
+ ]).default(wr),
40673
40673
  variables: e.record(e.string(), e.string()).optional()
40674
40674
  });
40675
40675
  e.object({
@@ -40716,7 +40716,7 @@ e.object({
40716
40716
  e.object({
40717
40717
  id: e.number()
40718
40718
  });
40719
- const Er = "empty_trigger_event", Cr = "empty_trigger_object", qr = "default_trigger_type";
40719
+ const Er = "empty_trigger_event", Cr = "empty_trigger_object", Sr = "default_trigger_type";
40720
40720
  e.object({
40721
40721
  description: e.string().optional(),
40722
40722
  enabled: e.boolean().optional(),
@@ -40751,10 +40751,10 @@ e.object({
40751
40751
  "default_trigger_type",
40752
40752
  "cron",
40753
40753
  "event"
40754
- ]).default(qr),
40754
+ ]).default(Sr),
40755
40755
  variables: e.record(e.string(), e.string()).optional()
40756
40756
  });
40757
- const kr = "empty_trigger_event", xr = "empty_trigger_object", Sr = "default_trigger_type";
40757
+ const qr = "empty_trigger_event", _r = "empty_trigger_object", kr = "default_trigger_type";
40758
40758
  e.object({
40759
40759
  description: e.string().optional(),
40760
40760
  enabled: e.boolean().optional(),
@@ -40764,7 +40764,7 @@ e.object({
40764
40764
  "update",
40765
40765
  "remove",
40766
40766
  "resolution_time"
40767
- ]).default(kr),
40767
+ ]).default(qr),
40768
40768
  expression: e.string().optional(),
40769
40769
  id: e.number().optional(),
40770
40770
  name: e.string().optional(),
@@ -40775,7 +40775,7 @@ e.object({
40775
40775
  "case_comments",
40776
40776
  "case_links",
40777
40777
  "related_cases"
40778
- ]).default(xr),
40778
+ ]).default(_r),
40779
40779
  schema: e.object({
40780
40780
  id: e.string().optional(),
40781
40781
  name: e.string().optional()
@@ -40789,13 +40789,13 @@ e.object({
40789
40789
  "default_trigger_type",
40790
40790
  "cron",
40791
40791
  "event"
40792
- ]).default(Sr),
40792
+ ]).default(kr),
40793
40793
  variables: e.record(e.string(), e.string()).optional()
40794
40794
  });
40795
40795
  e.object({
40796
40796
  id: e.number()
40797
40797
  });
40798
- const _r = "empty_trigger_event", Ur = "empty_trigger_object", Br = "default_trigger_type";
40798
+ const Ur = "empty_trigger_event", xr = "empty_trigger_object", Br = "default_trigger_type";
40799
40799
  e.object({
40800
40800
  description: e.string().optional(),
40801
40801
  enabled: e.boolean().optional(),
@@ -40805,7 +40805,7 @@ e.object({
40805
40805
  "update",
40806
40806
  "remove",
40807
40807
  "resolution_time"
40808
- ]).default(_r),
40808
+ ]).default(Ur),
40809
40809
  expression: e.string().optional(),
40810
40810
  name: e.string().optional(),
40811
40811
  object: e.enum([
@@ -40815,7 +40815,7 @@ e.object({
40815
40815
  "case_comments",
40816
40816
  "case_links",
40817
40817
  "related_cases"
40818
- ]).default(Ur),
40818
+ ]).default(xr),
40819
40819
  schema: e.object({
40820
40820
  id: e.string().optional(),
40821
40821
  name: e.string().optional()
@@ -40832,7 +40832,7 @@ e.object({
40832
40832
  ]).default(Br),
40833
40833
  variables: e.record(e.string(), e.string()).optional()
40834
40834
  });
40835
- const Nr = "empty_trigger_event", Fr = "empty_trigger_object", Pr = "default_trigger_type";
40835
+ const Nr = "empty_trigger_event", Pr = "empty_trigger_object", Fr = "default_trigger_type";
40836
40836
  e.object({
40837
40837
  description: e.string().optional(),
40838
40838
  enabled: e.boolean().optional(),
@@ -40853,7 +40853,7 @@ e.object({
40853
40853
  "case_comments",
40854
40854
  "case_links",
40855
40855
  "related_cases"
40856
- ]).default(Fr),
40856
+ ]).default(Pr),
40857
40857
  schema: e.object({
40858
40858
  id: e.string().optional(),
40859
40859
  name: e.string().optional()
@@ -40867,7 +40867,7 @@ e.object({
40867
40867
  "default_trigger_type",
40868
40868
  "cron",
40869
40869
  "event"
40870
- ]).default(Pr),
40870
+ ]).default(Fr),
40871
40871
  variables: e.record(e.string(), e.string()).optional()
40872
40872
  });
40873
40873
  e.object({
@@ -40965,7 +40965,7 @@ e.object({
40965
40965
  }).optional().describe("UserId lookup value.")
40966
40966
  }).optional()
40967
40967
  });
40968
- const zr = "*", Yr = /^[+|-|!]?\w+$/, Vr = "*";
40968
+ const zr = "*", Vr = /^[+|-|!]?\w+$/, Yr = "*";
40969
40969
  e.object({
40970
40970
  q: e.string().optional().describe(
40971
40971
  "Search term:\n`?` - matches any character\n`*` - matches 0 or more characters\ne.g.: name,emails{type},labels etc..."
@@ -40984,11 +40984,11 @@ Default: 16.`),
40984
40984
  page: e.number().optional().describe(`Page number of result set of records.
40985
40985
  Default: 1.`),
40986
40986
  sort: e.array(
40987
- e.string().regex(Yr).default(zr)
40987
+ e.string().regex(Vr).default(zr)
40988
40988
  ).optional().describe(
40989
40989
  'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = "-" / "!"\nASC = [ "+" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.'
40990
40990
  ),
40991
- fields: e.array(e.string().default(Vr)).optional().describe(
40991
+ fields: e.array(e.string().default(Yr)).optional().describe(
40992
40992
  `Fields [Q]uery to build result dataset record.
40993
40993
  \`\`\`
40994
40994
  fields ::= field [ *( "," field ) ]
@@ -42470,7 +42470,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42470
42470
  page: e.number().optional(),
42471
42471
  size: e.number().optional()
42472
42472
  });
42473
- const Qr = "user_warning_id_unspecified";
42473
+ const Wr = "user_warning_id_unspecified";
42474
42474
  e.object({
42475
42475
  warnings: e.array(
42476
42476
  e.object({
@@ -42480,7 +42480,7 @@ e.object({
42480
42480
  "password_expires_soon",
42481
42481
  "license_expires_soon",
42482
42482
  "license_expired"
42483
- ]).default(Qr),
42483
+ ]).default(Wr),
42484
42484
  warningData: e.object({
42485
42485
  licenseExpiry: e.object({
42486
42486
  daysRemaining: e.string().optional(),
@@ -43074,10 +43074,10 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
43074
43074
  e.object({
43075
43075
  contact_id: e.string().describe("Contact ID associated with.")
43076
43076
  });
43077
- const Wr = /^.+$/;
43077
+ const Qr = /^.+$/;
43078
43078
  e.object({
43079
43079
  fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result."),
43080
- etag: e.array(e.string().regex(Wr)).describe("Set of unique ID(s) to remove.")
43080
+ etag: e.array(e.string().regex(Qr)).describe("Set of unique ID(s) to remove.")
43081
43081
  });
43082
43082
  e.object({
43083
43083
  data: e.array(
@@ -44060,6 +44060,46 @@ e.object({
44060
44060
  }).describe(
44061
44061
  "SearchList represents a paginated collection of Contact entities."
44062
44062
  );
44063
+ e.object({
44064
+ contactId: e.string().optional()
44065
+ });
44066
+ const os = "ALL";
44067
+ e.object({
44068
+ settings: e.object({
44069
+ allowInvitesFrom: e.enum([
44070
+ "ALL",
44071
+ "NOBODY",
44072
+ "SAME_ISSUER"
44073
+ ]).default(
44074
+ os
44075
+ ),
44076
+ contactId: e.string().optional(),
44077
+ updatedAt: e.string().optional()
44078
+ }).optional()
44079
+ });
44080
+ const is = "ALL";
44081
+ e.object({
44082
+ contactId: e.string().optional(),
44083
+ allowInvitesFrom: e.enum([
44084
+ "ALL",
44085
+ "NOBODY",
44086
+ "SAME_ISSUER"
44087
+ ]).default(is)
44088
+ });
44089
+ const ns = "ALL";
44090
+ e.object({
44091
+ settings: e.object({
44092
+ allowInvitesFrom: e.enum([
44093
+ "ALL",
44094
+ "NOBODY",
44095
+ "SAME_ISSUER"
44096
+ ]).default(
44097
+ ns
44098
+ ),
44099
+ contactId: e.string().optional(),
44100
+ updatedAt: e.string().optional()
44101
+ }).optional()
44102
+ });
44063
44103
  e.object({
44064
44104
  email: e.string().optional().describe("Email must be valid if provided."),
44065
44105
  metadata: e.looseObject({}).optional().describe("Arbitrary metadata."),
@@ -44092,20 +44132,18 @@ e.object({
44092
44132
  Contains the generated message ID and list of recipients.`
44093
44133
  );
44094
44134
  e.object({
44095
- document: e.object({
44096
- body: e.string().optional(),
44097
- documents: e.array(
44098
- e.object({
44099
- fileName: e.string().optional(),
44100
- id: e.string().optional(),
44101
- mimeType: e.string().optional(),
44102
- sizeBytes: e.string().optional(),
44103
- url: e.string().optional()
44104
- }).describe(
44105
- "Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems."
44106
- )
44107
- ).optional()
44108
- }).optional(),
44135
+ body: e.string().optional(),
44136
+ documents: e.array(
44137
+ e.object({
44138
+ fileName: e.string().optional(),
44139
+ id: e.string().optional(),
44140
+ mimeType: e.string().optional(),
44141
+ sizeBytes: e.string().optional(),
44142
+ url: e.string().optional()
44143
+ }).describe(
44144
+ "Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems."
44145
+ )
44146
+ ).optional(),
44109
44147
  sendId: e.string().optional(),
44110
44148
  to: e.object({
44111
44149
  channelId: e.string().optional(),
@@ -44136,17 +44174,15 @@ It can be a user, chat, or channel.`
44136
44174
  )
44137
44175
  }).describe("Represents a response to send message with document.");
44138
44176
  e.object({
44139
- image: e.object({
44140
- body: e.string().optional(),
44141
- images: e.array(
44142
- e.object({
44143
- id: e.string().optional(),
44144
- link: e.string().optional(),
44145
- mimeType: e.string().optional(),
44146
- name: e.string().optional()
44147
- }).describe("Represents `Image` entity with\nnecessary fields.")
44148
- ).optional()
44149
- }).optional(),
44177
+ body: e.string().optional(),
44178
+ images: e.array(
44179
+ e.object({
44180
+ id: e.string().optional(),
44181
+ link: e.string().optional(),
44182
+ mimeType: e.string().optional(),
44183
+ name: e.string().optional()
44184
+ }).describe("Represents `Image` entity with\nnecessary fields.")
44185
+ ).optional(),
44150
44186
  sendId: e.string().optional(),
44151
44187
  to: e.object({
44152
44188
  channelId: e.string().optional(),
@@ -44413,6 +44449,36 @@ e.object({
44413
44449
  `SendMessageResponse represents the result of a send operation.
44414
44450
  Contains the generated message ID and list of recipients.`
44415
44451
  );
44452
+ e.object({
44453
+ body: e.string().optional().describe('System message content (e.g., "User X joined the chat").'),
44454
+ metadata: e.looseObject({}).optional().describe("Arbitrary metadata."),
44455
+ sendId: e.string().optional().describe("Optional send ID for idempotency."),
44456
+ to: e.object({
44457
+ channelId: e.string().optional(),
44458
+ contact: e.object({
44459
+ iss: e.string().optional(),
44460
+ sub: e.string().optional()
44461
+ }).optional(),
44462
+ groupId: e.string().optional(),
44463
+ threadId: e.string().optional()
44464
+ }).optional().describe("Recipient of the message."),
44465
+ type: e.string().optional().describe('System message type (e.g., "user_joined", "user_left").')
44466
+ });
44467
+ e.object({
44468
+ id: e.string().optional().describe("Unique message identifier."),
44469
+ to: e.object({
44470
+ channelId: e.string().optional(),
44471
+ contact: e.object({
44472
+ iss: e.string().optional(),
44473
+ sub: e.string().optional()
44474
+ }).optional(),
44475
+ groupId: e.string().optional(),
44476
+ threadId: e.string().optional()
44477
+ }).optional().describe("Recipient of the message.")
44478
+ }).describe(
44479
+ `SendMessageResponse represents the result of a send operation.
44480
+ Contains the generated message ID and list of recipients.`
44481
+ );
44416
44482
  e.object({
44417
44483
  body: e.string().optional(),
44418
44484
  sendId: e.string().optional(),
@@ -44475,6 +44541,7 @@ false -> fetch older messages (back to older history)`
44475
44541
  ),
44476
44542
  size: e.number().optional().describe("Maximum number of messages to return.")
44477
44543
  });
44544
+ const as = "ROLE_UNSPECIFIED";
44478
44545
  e.object({
44479
44546
  items: e.array(
44480
44547
  e.object({
@@ -44503,6 +44570,9 @@ e.object({
44503
44570
  associated with a message.`
44504
44571
  )
44505
44572
  ).optional().describe("List of document attachments."),
44573
+ editedAt: e.string().optional().describe(
44574
+ "Message last update timestamp (Unix time, milliseconds)."
44575
+ ),
44506
44576
  id: e.string().optional().describe("Unique message identifier."),
44507
44577
  images: e.array(
44508
44578
  e.object({
@@ -44528,21 +44598,60 @@ associated with a message.`
44528
44598
  Can contain structured data depending on message type.`
44529
44599
  ),
44530
44600
  sender: e.object({
44531
- isBot: e.boolean().optional().describe(
44532
- "Represents if user is automation bot or actual user of system."
44533
- ),
44534
- iss: e.string().optional().describe("Client issuer for the sender."),
44535
- name: e.string().optional().describe("Sender username."),
44536
- sub: e.string().optional().describe(
44537
- "Client-readable sender subject or display name."
44601
+ contact: e.object({
44602
+ appId: e.string().optional().describe(
44603
+ "Identifier of the specific integration app or bot."
44604
+ ),
44605
+ createdAt: e.string().optional().describe(
44606
+ "Record creation timestamp (Unix Epoch in milliseconds)."
44607
+ ),
44608
+ isBot: e.boolean().optional().describe(
44609
+ "Represents if usere is real person or automatic script."
44610
+ ),
44611
+ iss: e.string().optional().describe(
44612
+ "Provider-specific unique identifier (Issuer ID)."
44613
+ ),
44614
+ metadata: e.record(e.string(), e.string()).optional().describe(
44615
+ "Additional dynamic attributes provided by the messenger."
44616
+ ),
44617
+ name: e.string().optional().describe("Display name of the contact."),
44618
+ sub: e.string().optional().describe(
44619
+ "Associated internal system subject/identifier."
44620
+ ),
44621
+ type: e.string().optional().describe(
44622
+ "Channel type (e.g., 'webchat', 'telegram')."
44623
+ ),
44624
+ updatedAt: e.string().optional().describe(
44625
+ "Last record update timestamp (Unix Epoch in milliseconds)."
44626
+ ),
44627
+ username: e.string().optional().describe("Technical username or handle.")
44628
+ }).optional().describe(
44629
+ "Contact represents an external messaging identity."
44538
44630
  ),
44539
- type: e.string().optional().describe("Sender type.")
44631
+ id: e.string().optional(),
44632
+ permissions: e.object({
44633
+ canAddMembers: e.boolean().optional(),
44634
+ canChangeMembersPermissions: e.boolean().optional(),
44635
+ canChangeThreadInfo: e.boolean().optional(),
44636
+ canRemoveMembers: e.boolean().optional(),
44637
+ canSendMessages: e.boolean().optional(),
44638
+ createdAt: e.string().optional(),
44639
+ id: e.string().optional(),
44640
+ memberId: e.string().optional(),
44641
+ updatedAt: e.string().optional()
44642
+ }).optional(),
44643
+ role: e.enum([
44644
+ "ROLE_UNSPECIFIED",
44645
+ "ROLE_MEMBER",
44646
+ "ROLE_ADMIN",
44647
+ "ROLE_OWNER",
44648
+ "ROLE_SUPERVISOR"
44649
+ ]).default(
44650
+ as
44651
+ )
44540
44652
  }).optional().describe("Sender user aggregated information."),
44541
44653
  threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
44542
- type: e.number().optional().describe("Message type identifier."),
44543
- updatedAt: e.string().optional().describe(
44544
- "Message last update timestamp (Unix time, milliseconds)."
44545
- )
44654
+ type: e.number().optional().describe("Message type identifier.")
44546
44655
  }).describe(
44547
44656
  `HistoryMessage represents a single message
44548
44657
  in thread history.`
@@ -44569,7 +44678,7 @@ If empty, a default set of fields is returned.
44569
44678
  Used for response optimization.`
44570
44679
  ),
44571
44680
  ids: e.array(e.string()).optional().describe("Filter by specific thread IDs."),
44572
- kinds: e.array(
44681
+ types: e.array(
44573
44682
  e.enum([
44574
44683
  "UNKNOWN",
44575
44684
  "DIRECT",
@@ -44599,19 +44708,13 @@ Example: "-created_at", "subject"`
44599
44708
  ),
44600
44709
  page: e.number().optional().describe("Page number (1-based).")
44601
44710
  });
44602
- const os = "UNKNOWN";
44711
+ const rs = "ROLE_UNSPECIFIED", ss = "ROLE_UNSPECIFIED", ls = "UNKNOWN";
44603
44712
  e.object({
44604
44713
  items: e.array(
44605
44714
  e.object({
44606
44715
  createdAt: e.string().optional().describe("Thread creation timestamp (Unix time, milliseconds)."),
44607
44716
  description: e.string().optional().describe("Optional thread description."),
44608
44717
  id: e.string().optional().describe("Unique thread identifier."),
44609
- kind: e.enum([
44610
- "UNKNOWN",
44611
- "DIRECT",
44612
- "GROUP",
44613
- "CHANNEL"
44614
- ]).default(os).describe("Type of the thread."),
44615
44718
  lastMsg: e.object({
44616
44719
  body: e.string().optional().describe("Message body content."),
44617
44720
  createdAt: e.string().optional().describe(
@@ -44638,6 +44741,9 @@ e.object({
44638
44741
  associated with a message.`
44639
44742
  )
44640
44743
  ).optional().describe("List of document attachments."),
44744
+ editedAt: e.string().optional().describe(
44745
+ "Message last update timestamp (Unix time, milliseconds)."
44746
+ ),
44641
44747
  id: e.string().optional().describe("Unique message identifier."),
44642
44748
  images: e.array(
44643
44749
  e.object({
@@ -44665,58 +44771,136 @@ associated with a message.`
44665
44771
  Can contain structured data depending on message type.`
44666
44772
  ),
44667
44773
  sender: e.object({
44668
- isBot: e.boolean().optional().describe(
44669
- "Represents if user is automation bot or actual user of system."
44670
- ),
44671
- iss: e.string().optional().describe("Client issuer for the sender."),
44672
- name: e.string().optional().describe("Sender username."),
44673
- sub: e.string().optional().describe(
44674
- "Client-readable sender subject or display name."
44774
+ contact: e.object({
44775
+ appId: e.string().optional().describe(
44776
+ "Identifier of the specific integration app or bot."
44777
+ ),
44778
+ createdAt: e.string().optional().describe(
44779
+ "Record creation timestamp (Unix Epoch in milliseconds)."
44780
+ ),
44781
+ isBot: e.boolean().optional().describe(
44782
+ "Represents if usere is real person or automatic script."
44783
+ ),
44784
+ iss: e.string().optional().describe(
44785
+ "Provider-specific unique identifier (Issuer ID)."
44786
+ ),
44787
+ metadata: e.record(e.string(), e.string()).optional().describe(
44788
+ "Additional dynamic attributes provided by the messenger."
44789
+ ),
44790
+ name: e.string().optional().describe("Display name of the contact."),
44791
+ sub: e.string().optional().describe(
44792
+ "Associated internal system subject/identifier."
44793
+ ),
44794
+ type: e.string().optional().describe(
44795
+ "Channel type (e.g., 'webchat', 'telegram')."
44796
+ ),
44797
+ updatedAt: e.string().optional().describe(
44798
+ "Last record update timestamp (Unix Epoch in milliseconds)."
44799
+ ),
44800
+ username: e.string().optional().describe("Technical username or handle.")
44801
+ }).optional().describe(
44802
+ "Contact represents an external messaging identity."
44675
44803
  ),
44676
- type: e.string().optional().describe("Sender type.")
44804
+ id: e.string().optional(),
44805
+ permissions: e.object({
44806
+ canAddMembers: e.boolean().optional(),
44807
+ canChangeMembersPermissions: e.boolean().optional(),
44808
+ canChangeThreadInfo: e.boolean().optional(),
44809
+ canRemoveMembers: e.boolean().optional(),
44810
+ canSendMessages: e.boolean().optional(),
44811
+ createdAt: e.string().optional(),
44812
+ id: e.string().optional(),
44813
+ memberId: e.string().optional(),
44814
+ updatedAt: e.string().optional()
44815
+ }).optional(),
44816
+ role: e.enum([
44817
+ "ROLE_UNSPECIFIED",
44818
+ "ROLE_MEMBER",
44819
+ "ROLE_ADMIN",
44820
+ "ROLE_OWNER",
44821
+ "ROLE_SUPERVISOR"
44822
+ ]).default(
44823
+ rs
44824
+ )
44677
44825
  }).optional().describe("Sender user aggregated information."),
44678
44826
  threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
44679
- type: e.number().optional().describe("Message type identifier."),
44680
- updatedAt: e.string().optional().describe(
44681
- "Message last update timestamp (Unix time, milliseconds)."
44682
- )
44827
+ type: e.number().optional().describe("Message type identifier.")
44683
44828
  }).optional().describe("Last message of the linked thread."),
44684
44829
  members: e.array(
44685
44830
  e.object({
44686
- directSettings: e.object({
44687
- createdAt: e.string().optional().describe(
44688
- "Creation timestamp (Unix time, milliseconds)."
44831
+ contact: e.object({
44832
+ appId: e.string().optional().describe(
44833
+ "Identifier of the specific integration app or bot."
44689
44834
  ),
44690
- domainId: e.number().optional().describe("Domain identifier."),
44691
- id: e.string().optional().describe("Settings identifier."),
44692
- title: e.string().optional().describe(
44693
- `Custom title for the direct thread.
44694
- Usually represents the display name of the conversation.`
44835
+ createdAt: e.string().optional().describe(
44836
+ "Record creation timestamp (Unix Epoch in milliseconds)."
44695
44837
  ),
44696
- updatedAt: e.string().optional().describe(
44697
- "Last update timestamp (Unix time, milliseconds)."
44698
- )
44699
- }).optional().describe(
44700
- `Direct thread specific settings.
44701
- Present only for DIRECT threads.`
44702
- ),
44703
- member: e.object({
44704
44838
  isBot: e.boolean().optional().describe(
44705
- "Represents if user is automation bot or actual user of system."
44839
+ "Represents if usere is real person or automatic script."
44840
+ ),
44841
+ iss: e.string().optional().describe(
44842
+ "Provider-specific unique identifier (Issuer ID)."
44843
+ ),
44844
+ metadata: e.record(e.string(), e.string()).optional().describe(
44845
+ "Additional dynamic attributes provided by the messenger."
44706
44846
  ),
44707
- iss: e.string().optional().describe("Client issuer for the sender."),
44708
- name: e.string().optional().describe("Participant name."),
44847
+ name: e.string().optional().describe("Display name of the contact."),
44709
44848
  sub: e.string().optional().describe(
44710
- "Client-readable participant subject or display name."
44849
+ "Associated internal system subject/identifier."
44711
44850
  ),
44712
- type: e.string().optional().describe("Participant type.")
44713
- }).optional().describe("User aggregated information.")
44851
+ type: e.string().optional().describe(
44852
+ "Channel type (e.g., 'webchat', 'telegram')."
44853
+ ),
44854
+ updatedAt: e.string().optional().describe(
44855
+ "Last record update timestamp (Unix Epoch in milliseconds)."
44856
+ ),
44857
+ username: e.string().optional().describe("Technical username or handle.")
44858
+ }).optional().describe(
44859
+ "Contact represents an external messaging identity."
44860
+ ),
44861
+ id: e.string().optional(),
44862
+ permissions: e.object({
44863
+ canAddMembers: e.boolean().optional(),
44864
+ canChangeMembersPermissions: e.boolean().optional(),
44865
+ canChangeThreadInfo: e.boolean().optional(),
44866
+ canRemoveMembers: e.boolean().optional(),
44867
+ canSendMessages: e.boolean().optional(),
44868
+ createdAt: e.string().optional(),
44869
+ id: e.string().optional(),
44870
+ memberId: e.string().optional(),
44871
+ updatedAt: e.string().optional()
44872
+ }).optional(),
44873
+ role: e.enum([
44874
+ "ROLE_UNSPECIFIED",
44875
+ "ROLE_MEMBER",
44876
+ "ROLE_ADMIN",
44877
+ "ROLE_OWNER",
44878
+ "ROLE_SUPERVISOR"
44879
+ ]).default(
44880
+ ss
44881
+ )
44714
44882
  }).describe(
44715
44883
  `ThreadMember represents a thread participant
44716
44884
  with optional type-specific settings.`
44717
44885
  )
44718
44886
  ).optional().describe("Detailed member information."),
44887
+ settings: e.object({
44888
+ createdAt: e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
44889
+ domainId: e.number().optional().describe("Domain identifier."),
44890
+ id: e.string().optional().describe("Settings identifier."),
44891
+ title: e.string().optional().describe(
44892
+ `Custom title for the direct thread.
44893
+ Usually represents the display name of the conversation.`
44894
+ ),
44895
+ updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds).")
44896
+ }).optional().describe("User-specific settings for this thread."),
44719
44897
  subject: e.string().optional().describe("Thread subject or title."),
44898
+ type: e.enum([
44899
+ "UNKNOWN",
44900
+ "DIRECT",
44901
+ "GROUP",
44902
+ "CHANNEL"
44903
+ ]).default(ls).describe("Type of the thread."),
44720
44904
  updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
44721
44905
  variables: e.object({
44722
44906
  threadId: e.string().optional().describe("Unique identifier for the thread."),
@@ -44779,26 +44963,70 @@ and pagination metadata.`
44779
44963
  e.object({
44780
44964
  thread_id: e.string()
44781
44965
  });
44966
+ const ps = "ROLE_UNSPECIFIED";
44782
44967
  e.object({
44783
- memberSub: e.string().optional(),
44784
- memberIss: e.string().optional(),
44785
- reason: e.string().optional()
44786
- });
44787
- e.looseObject({});
44788
- e.object({
44789
- thread_id: e.string()
44790
- });
44791
- const is = "ROLE_UNSPECIFIED";
44792
- e.object({
44793
- memberSub: e.string().optional(),
44794
- memberIss: e.string().optional(),
44968
+ contact: e.object({
44969
+ iss: e.string().optional(),
44970
+ sub: e.string().optional()
44971
+ }).optional(),
44795
44972
  role: e.enum([
44796
44973
  "ROLE_UNSPECIFIED",
44797
44974
  "ROLE_MEMBER",
44798
44975
  "ROLE_ADMIN",
44799
44976
  "ROLE_OWNER",
44800
44977
  "ROLE_SUPERVISOR"
44801
- ]).default(is)
44978
+ ]).default(ps)
44979
+ });
44980
+ const cs = "ROLE_UNSPECIFIED";
44981
+ e.object({
44982
+ member: e.object({
44983
+ contact: e.object({
44984
+ appId: e.string().optional().describe("Identifier of the specific integration app or bot."),
44985
+ createdAt: e.string().optional().describe(
44986
+ "Record creation timestamp (Unix Epoch in milliseconds)."
44987
+ ),
44988
+ isBot: e.boolean().optional().describe(
44989
+ "Represents if usere is real person or automatic script."
44990
+ ),
44991
+ iss: e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
44992
+ metadata: e.record(e.string(), e.string()).optional().describe(
44993
+ "Additional dynamic attributes provided by the messenger."
44994
+ ),
44995
+ name: e.string().optional().describe("Display name of the contact."),
44996
+ sub: e.string().optional().describe("Associated internal system subject/identifier."),
44997
+ type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
44998
+ updatedAt: e.string().optional().describe(
44999
+ "Last record update timestamp (Unix Epoch in milliseconds)."
45000
+ ),
45001
+ username: e.string().optional().describe("Technical username or handle.")
45002
+ }).optional().describe("Contact represents an external messaging identity."),
45003
+ id: e.string().optional(),
45004
+ permissions: e.object({
45005
+ canAddMembers: e.boolean().optional(),
45006
+ canChangeMembersPermissions: e.boolean().optional(),
45007
+ canChangeThreadInfo: e.boolean().optional(),
45008
+ canRemoveMembers: e.boolean().optional(),
45009
+ canSendMessages: e.boolean().optional(),
45010
+ createdAt: e.string().optional(),
45011
+ id: e.string().optional(),
45012
+ memberId: e.string().optional(),
45013
+ updatedAt: e.string().optional()
45014
+ }).optional(),
45015
+ role: e.enum([
45016
+ "ROLE_UNSPECIFIED",
45017
+ "ROLE_MEMBER",
45018
+ "ROLE_ADMIN",
45019
+ "ROLE_OWNER",
45020
+ "ROLE_SUPERVISOR"
45021
+ ]).default(cs)
45022
+ }).optional().describe(
45023
+ `ThreadMember represents a thread participant
45024
+ with optional type-specific settings.`
45025
+ )
45026
+ });
45027
+ e.object({
45028
+ thread_id: e.string(),
45029
+ member_id: e.string()
44802
45030
  });
44803
45031
  e.looseObject({});
44804
45032
  e.object({
@@ -45026,6 +45254,593 @@ Key is the variable name, value contains data and metadata.`
45026
45254
  `SearchVariablesResponse contains search results
45027
45255
  and pagination metadata.`
45028
45256
  );
45257
+ e.object({
45258
+ thread_id: e.string(),
45259
+ member_id: e.string()
45260
+ });
45261
+ e.object({
45262
+ permissions: e.object({
45263
+ canAddMembers: e.boolean().optional(),
45264
+ canChangeMembersPermissions: e.boolean().optional(),
45265
+ canChangeThreadInfo: e.boolean().optional(),
45266
+ canRemoveMembers: e.boolean().optional(),
45267
+ canSendMessages: e.boolean().optional(),
45268
+ createdAt: e.string().optional(),
45269
+ id: e.string().optional(),
45270
+ memberId: e.string().optional(),
45271
+ updatedAt: e.string().optional()
45272
+ }).optional()
45273
+ });
45274
+ e.object({
45275
+ thread_id: e.string(),
45276
+ member_id: e.string()
45277
+ });
45278
+ e.object({
45279
+ canSendMessages: e.boolean().optional(),
45280
+ canAddMembers: e.boolean().optional(),
45281
+ canRemoveMembers: e.boolean().optional(),
45282
+ canChangeMembersPermissions: e.boolean().optional(),
45283
+ canChangeThreadInfo: e.boolean().optional()
45284
+ });
45285
+ e.object({
45286
+ permissions: e.object({
45287
+ canAddMembers: e.boolean().optional(),
45288
+ canChangeMembersPermissions: e.boolean().optional(),
45289
+ canChangeThreadInfo: e.boolean().optional(),
45290
+ canRemoveMembers: e.boolean().optional(),
45291
+ canSendMessages: e.boolean().optional(),
45292
+ createdAt: e.string().optional(),
45293
+ id: e.string().optional(),
45294
+ memberId: e.string().optional(),
45295
+ updatedAt: e.string().optional()
45296
+ }).optional()
45297
+ });
45298
+ e.object({
45299
+ enabled: e.boolean().optional(),
45300
+ metaAppId: e.string().optional(),
45301
+ name: e.string().optional(),
45302
+ pageId: e.string().optional(),
45303
+ pageToken: e.string().optional()
45304
+ }).describe(
45305
+ "/ ProviderCreateFacebookGateRequest links a specific Facebook Page as a messaging gateway."
45306
+ );
45307
+ const ds = "PROVIDER_STATUS_UNSPECIFIED";
45308
+ e.object({
45309
+ item: e.object({
45310
+ createdAt: e.string().optional(),
45311
+ enabled: e.boolean().optional(),
45312
+ id: e.string().optional(),
45313
+ metaAppId: e.string().optional(),
45314
+ name: e.string().optional(),
45315
+ pageId: e.string().optional(),
45316
+ pageName: e.string().optional(),
45317
+ status: e.enum([
45318
+ "PROVIDER_STATUS_UNSPECIFIED",
45319
+ "PROVIDER_STATUS_ACTIVE",
45320
+ "PROVIDER_STATUS_INACTIVE",
45321
+ "PROVIDER_STATUS_ERROR"
45322
+ ]).default(ds).describe(
45323
+ `/ ProviderStatus represents the operational state of a provider gateway.
45324
+
45325
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45326
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45327
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45328
+ ),
45329
+ updatedAt: e.string().optional(),
45330
+ webhook: e.string().optional()
45331
+ }).optional()
45332
+ }).describe(
45333
+ "/ ProviderCreateFacebookGateResponse returns the newly activated Facebook provider."
45334
+ );
45335
+ e.object({
45336
+ id: e.string()
45337
+ });
45338
+ const bs = "PROVIDER_STATUS_UNSPECIFIED";
45339
+ e.object({
45340
+ item: e.object({
45341
+ createdAt: e.string().optional(),
45342
+ enabled: e.boolean().optional(),
45343
+ id: e.string().optional(),
45344
+ metaAppId: e.string().optional(),
45345
+ name: e.string().optional(),
45346
+ pageId: e.string().optional(),
45347
+ pageName: e.string().optional(),
45348
+ status: e.enum([
45349
+ "PROVIDER_STATUS_UNSPECIFIED",
45350
+ "PROVIDER_STATUS_ACTIVE",
45351
+ "PROVIDER_STATUS_INACTIVE",
45352
+ "PROVIDER_STATUS_ERROR"
45353
+ ]).default(bs).describe(
45354
+ `/ ProviderStatus represents the operational state of a provider gateway.
45355
+
45356
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45357
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45358
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45359
+ ),
45360
+ updatedAt: e.string().optional(),
45361
+ webhook: e.string().optional()
45362
+ }).optional()
45363
+ });
45364
+ e.object({
45365
+ id: e.string()
45366
+ });
45367
+ const gs = "PROVIDER_STATUS_UNSPECIFIED";
45368
+ e.object({
45369
+ item: e.object({
45370
+ createdAt: e.string().optional(),
45371
+ enabled: e.boolean().optional(),
45372
+ id: e.string().optional(),
45373
+ metaAppId: e.string().optional(),
45374
+ name: e.string().optional(),
45375
+ pageId: e.string().optional(),
45376
+ pageName: e.string().optional(),
45377
+ status: e.enum([
45378
+ "PROVIDER_STATUS_UNSPECIFIED",
45379
+ "PROVIDER_STATUS_ACTIVE",
45380
+ "PROVIDER_STATUS_INACTIVE",
45381
+ "PROVIDER_STATUS_ERROR"
45382
+ ]).default(gs).describe(
45383
+ `/ ProviderStatus represents the operational state of a provider gateway.
45384
+
45385
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45386
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45387
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45388
+ ),
45389
+ updatedAt: e.string().optional(),
45390
+ webhook: e.string().optional()
45391
+ }).optional()
45392
+ });
45393
+ e.object({
45394
+ id: e.string()
45395
+ });
45396
+ e.object({
45397
+ enabled: e.boolean().optional(),
45398
+ name: e.string().optional(),
45399
+ pageToken: e.string().optional()
45400
+ }).describe(
45401
+ "/ ProviderUpdateFacebookGateRequest updates the operational settings of a Facebook provider."
45402
+ );
45403
+ const us = "PROVIDER_STATUS_UNSPECIFIED";
45404
+ e.object({
45405
+ item: e.object({
45406
+ createdAt: e.string().optional(),
45407
+ enabled: e.boolean().optional(),
45408
+ id: e.string().optional(),
45409
+ metaAppId: e.string().optional(),
45410
+ name: e.string().optional(),
45411
+ pageId: e.string().optional(),
45412
+ pageName: e.string().optional(),
45413
+ status: e.enum([
45414
+ "PROVIDER_STATUS_UNSPECIFIED",
45415
+ "PROVIDER_STATUS_ACTIVE",
45416
+ "PROVIDER_STATUS_INACTIVE",
45417
+ "PROVIDER_STATUS_ERROR"
45418
+ ]).default(us).describe(
45419
+ `/ ProviderStatus represents the operational state of a provider gateway.
45420
+
45421
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45422
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45423
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45424
+ ),
45425
+ updatedAt: e.string().optional(),
45426
+ webhook: e.string().optional()
45427
+ }).optional()
45428
+ }).describe(
45429
+ "/ ProviderUpdateFacebookGateResponse returns the updated Facebook provider."
45430
+ );
45431
+ const ms = "PROVIDER_STATUS_UNSPECIFIED";
45432
+ e.object({
45433
+ page: e.number().optional().describe("Page number (starts from 1)"),
45434
+ size: e.number().optional().describe("Items per page"),
45435
+ types: e.array(
45436
+ e.enum([
45437
+ "PROVIDER_TYPE_UNSPECIFIED",
45438
+ "PROVIDER_TYPE_VIBER",
45439
+ "PROVIDER_TYPE_TELEGRAM_BOT",
45440
+ "PROVIDER_TYPE_TELEGRAM_APP",
45441
+ "PROVIDER_TYPE_META_APP",
45442
+ "PROVIDER_TYPE_FACEBOOK",
45443
+ "PROVIDER_TYPE_INSTAGRAM",
45444
+ "PROVIDER_TYPE_WHATSAPP"
45445
+ ])
45446
+ ).optional().describe("Filter by channel type (Telegram, Facebook, etc.)"),
45447
+ status: e.enum([
45448
+ "PROVIDER_STATUS_UNSPECIFIED",
45449
+ "PROVIDER_STATUS_ACTIVE",
45450
+ "PROVIDER_STATUS_INACTIVE",
45451
+ "PROVIDER_STATUS_ERROR"
45452
+ ]).default(ms).describe(
45453
+ `Filter by active/inactive status
45454
+
45455
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45456
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45457
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45458
+ ),
45459
+ q: e.string().optional().describe("Search query for name or metadata")
45460
+ });
45461
+ const fs = "PROVIDER_STATUS_UNSPECIFIED", hs = "PROVIDER_TYPE_UNSPECIFIED";
45462
+ e.object({
45463
+ items: e.array(
45464
+ e.object({
45465
+ contact: e.string().optional(),
45466
+ createdAt: e.string().optional(),
45467
+ id: e.string().optional(),
45468
+ name: e.string().optional(),
45469
+ providerAppId: e.string().optional(),
45470
+ status: e.enum([
45471
+ "PROVIDER_STATUS_UNSPECIFIED",
45472
+ "PROVIDER_STATUS_ACTIVE",
45473
+ "PROVIDER_STATUS_INACTIVE",
45474
+ "PROVIDER_STATUS_ERROR"
45475
+ ]).default(fs).describe(
45476
+ `/ ProviderStatus represents the operational state of a provider gateway.
45477
+
45478
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45479
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45480
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45481
+ ),
45482
+ type: e.enum([
45483
+ "PROVIDER_TYPE_UNSPECIFIED",
45484
+ "PROVIDER_TYPE_VIBER",
45485
+ "PROVIDER_TYPE_TELEGRAM_BOT",
45486
+ "PROVIDER_TYPE_TELEGRAM_APP",
45487
+ "PROVIDER_TYPE_META_APP",
45488
+ "PROVIDER_TYPE_FACEBOOK",
45489
+ "PROVIDER_TYPE_INSTAGRAM",
45490
+ "PROVIDER_TYPE_WHATSAPP"
45491
+ ]).default(hs).describe(
45492
+ "/ ProviderType defines the specific provider or protocol used for messaging."
45493
+ ),
45494
+ updatedAt: e.string().optional(),
45495
+ webhookUrl: e.string().optional()
45496
+ })
45497
+ ).optional(),
45498
+ next: e.boolean().optional().describe("Indicates if there are more pages available."),
45499
+ page: e.number().optional().describe("Current page number."),
45500
+ size: e.number().optional().describe("Number of items returned in this batch.")
45501
+ }).describe(
45502
+ "/ ProviderListGatesResponse returns a paginated list of provider summaries."
45503
+ );
45504
+ e.object({
45505
+ appId: e.string().optional(),
45506
+ appSecret: e.string().optional(),
45507
+ name: e.string().optional(),
45508
+ oauthRedirectUri: e.string().optional(),
45509
+ scopes: e.array(e.string()).optional()
45510
+ }).describe(
45511
+ `/ ProviderCreateMetaAppRequest is used to register a new Meta Developer Application.
45512
+ / This configuration is the foundation for all subsequent OAuth-based integrations.`
45513
+ );
45514
+ e.object({
45515
+ item: e.object({
45516
+ appId: e.string().optional(),
45517
+ createdAt: e.string().optional(),
45518
+ id: e.string().optional(),
45519
+ name: e.string().optional(),
45520
+ oauthRedirectUri: e.string().optional(),
45521
+ scopes: e.array(e.string()).optional(),
45522
+ systemUserToken: e.string().optional(),
45523
+ updatedAt: e.string().optional()
45524
+ }).optional()
45525
+ }).describe(
45526
+ "/ ProviderCreateMetaAppResponse returns the successfully registered Meta application."
45527
+ );
45528
+ e.object({
45529
+ id: e.string()
45530
+ });
45531
+ e.object({
45532
+ item: e.object({
45533
+ appId: e.string().optional(),
45534
+ createdAt: e.string().optional(),
45535
+ id: e.string().optional(),
45536
+ name: e.string().optional(),
45537
+ oauthRedirectUri: e.string().optional(),
45538
+ scopes: e.array(e.string()).optional(),
45539
+ systemUserToken: e.string().optional(),
45540
+ updatedAt: e.string().optional()
45541
+ }).optional()
45542
+ }).describe(
45543
+ "/ ProviderDeleteMetaAppResponse returns the details of the deleted application."
45544
+ );
45545
+ e.object({
45546
+ id: e.string()
45547
+ });
45548
+ e.object({
45549
+ item: e.object({
45550
+ appId: e.string().optional(),
45551
+ createdAt: e.string().optional(),
45552
+ id: e.string().optional(),
45553
+ name: e.string().optional(),
45554
+ oauthRedirectUri: e.string().optional(),
45555
+ scopes: e.array(e.string()).optional(),
45556
+ systemUserToken: e.string().optional(),
45557
+ updatedAt: e.string().optional()
45558
+ }).optional()
45559
+ }).describe(
45560
+ "/ ProviderGetMetaAppResponse returns the requested Meta application details."
45561
+ );
45562
+ e.object({
45563
+ id: e.string().describe("The internal ID of the MetaApp record")
45564
+ });
45565
+ e.object({
45566
+ appSecret: e.string().optional(),
45567
+ name: e.string().optional(),
45568
+ oauthRedirectUri: e.string().optional(),
45569
+ scopes: e.array(e.string()).optional()
45570
+ }).describe(
45571
+ "/ ProviderUpdateMetaAppRequest updates the settings for an existing Meta application."
45572
+ );
45573
+ e.object({
45574
+ item: e.object({
45575
+ appId: e.string().optional(),
45576
+ createdAt: e.string().optional(),
45577
+ id: e.string().optional(),
45578
+ name: e.string().optional(),
45579
+ oauthRedirectUri: e.string().optional(),
45580
+ scopes: e.array(e.string()).optional(),
45581
+ systemUserToken: e.string().optional(),
45582
+ updatedAt: e.string().optional()
45583
+ }).optional()
45584
+ }).describe(
45585
+ "/ ProviderUpdateMetaAppResponse returns the Meta application after modifications."
45586
+ );
45587
+ e.object({
45588
+ meta_app_id: e.string()
45589
+ });
45590
+ e.object({
45591
+ code: e.string().optional(),
45592
+ state: e.string().optional()
45593
+ }).describe(
45594
+ "/ ProviderMetaOAuthCallbackRequest handles the verification and exchange of the auth code."
45595
+ );
45596
+ e.object({
45597
+ pages: e.array(
45598
+ e.object({
45599
+ accessToken: e.string().optional(),
45600
+ pageId: e.string().optional(),
45601
+ pageName: e.string().optional(),
45602
+ platform: e.string().optional()
45603
+ }).describe(
45604
+ "/ ProviderMetaLinkedPage represents a single Meta asset (Page/Account) found during OAuth."
45605
+ )
45606
+ ).optional(),
45607
+ userAccessToken: e.string().optional()
45608
+ }).describe(
45609
+ "/ ProviderMetaOAuthCallbackResponse provides the user token and discovered assets."
45610
+ );
45611
+ e.object({
45612
+ meta_app_id: e.string().describe("Internal ID of the MetaApp to use for this flow")
45613
+ });
45614
+ e.object({
45615
+ extraScopes: e.array(e.string()).optional()
45616
+ }).describe(
45617
+ "/ ProviderMetaOAuthStartRequest initiates the handshake with Meta."
45618
+ );
45619
+ e.object({
45620
+ authUrl: e.string().optional(),
45621
+ state: e.string().optional()
45622
+ }).describe(
45623
+ "/ ProviderMetaOAuthStartResponse provides the entry point for the user authorization."
45624
+ );
45625
+ const ys = "PROVIDER_TYPE_UNSPECIFIED";
45626
+ e.object({
45627
+ caption: e.string().optional(),
45628
+ document: e.object({
45629
+ id: e.string().optional(),
45630
+ mimeType: e.string().optional(),
45631
+ name: e.string().optional(),
45632
+ size: e.string().optional(),
45633
+ url: e.string().optional()
45634
+ }).optional().describe("ProviderFile represents a generic file attachment."),
45635
+ externalUserId: e.string().optional(),
45636
+ gateId: e.string().optional(),
45637
+ type: e.enum([
45638
+ "PROVIDER_TYPE_UNSPECIFIED",
45639
+ "PROVIDER_TYPE_VIBER",
45640
+ "PROVIDER_TYPE_TELEGRAM_BOT",
45641
+ "PROVIDER_TYPE_TELEGRAM_APP",
45642
+ "PROVIDER_TYPE_META_APP",
45643
+ "PROVIDER_TYPE_FACEBOOK",
45644
+ "PROVIDER_TYPE_INSTAGRAM",
45645
+ "PROVIDER_TYPE_WHATSAPP"
45646
+ ]).default(ys).describe(
45647
+ "/ ProviderType defines the specific provider or protocol used for messaging."
45648
+ )
45649
+ }).describe(
45650
+ "ProviderSendDocumentRequest sends a document with an optional caption."
45651
+ );
45652
+ e.object({
45653
+ createdAt: e.string().optional(),
45654
+ externalId: e.string().optional()
45655
+ }).describe(
45656
+ "ProviderSendMessageResponse returns the delivery status and external message ID."
45657
+ );
45658
+ const js = "PROVIDER_TYPE_UNSPECIFIED";
45659
+ e.object({
45660
+ caption: e.string().optional(),
45661
+ externalUserId: e.string().optional(),
45662
+ gateId: e.string().optional(),
45663
+ image: e.object({
45664
+ id: e.string().optional(),
45665
+ mimeType: e.string().optional(),
45666
+ name: e.string().optional(),
45667
+ size: e.string().optional(),
45668
+ url: e.string().optional()
45669
+ }).optional().describe("ProviderFile represents a generic file attachment."),
45670
+ type: e.enum([
45671
+ "PROVIDER_TYPE_UNSPECIFIED",
45672
+ "PROVIDER_TYPE_VIBER",
45673
+ "PROVIDER_TYPE_TELEGRAM_BOT",
45674
+ "PROVIDER_TYPE_TELEGRAM_APP",
45675
+ "PROVIDER_TYPE_META_APP",
45676
+ "PROVIDER_TYPE_FACEBOOK",
45677
+ "PROVIDER_TYPE_INSTAGRAM",
45678
+ "PROVIDER_TYPE_WHATSAPP"
45679
+ ]).default(js).describe(
45680
+ "/ ProviderType defines the specific provider or protocol used for messaging."
45681
+ )
45682
+ }).describe(
45683
+ "ProviderSendImageRequest sends an image with an optional caption."
45684
+ );
45685
+ e.object({
45686
+ createdAt: e.string().optional(),
45687
+ externalId: e.string().optional()
45688
+ }).describe(
45689
+ "ProviderSendMessageResponse returns the delivery status and external message ID."
45690
+ );
45691
+ const Is = "PROVIDER_TYPE_UNSPECIFIED";
45692
+ e.object({
45693
+ externalUserId: e.string().optional(),
45694
+ gateId: e.string().optional(),
45695
+ metadata: e.record(e.string(), e.string()).optional(),
45696
+ text: e.string().optional(),
45697
+ type: e.enum([
45698
+ "PROVIDER_TYPE_UNSPECIFIED",
45699
+ "PROVIDER_TYPE_VIBER",
45700
+ "PROVIDER_TYPE_TELEGRAM_BOT",
45701
+ "PROVIDER_TYPE_TELEGRAM_APP",
45702
+ "PROVIDER_TYPE_META_APP",
45703
+ "PROVIDER_TYPE_FACEBOOK",
45704
+ "PROVIDER_TYPE_INSTAGRAM",
45705
+ "PROVIDER_TYPE_WHATSAPP"
45706
+ ]).default(Is).describe(
45707
+ "/ ProviderType defines the specific provider or protocol used for messaging."
45708
+ )
45709
+ }).describe("ProviderSendTextRequest sends a simple text message.");
45710
+ e.object({
45711
+ createdAt: e.string().optional(),
45712
+ externalId: e.string().optional()
45713
+ }).describe(
45714
+ "ProviderSendMessageResponse returns the delivery status and external message ID."
45715
+ );
45716
+ e.object({
45717
+ accessToken: e.string().optional(),
45718
+ metaAppId: e.string().optional(),
45719
+ name: e.string().optional(),
45720
+ phoneNumberId: e.string().optional(),
45721
+ wabaId: e.string().optional()
45722
+ }).describe(
45723
+ "/ ProviderCreateWhatsAppGateRequest connects a WhatsApp Business Account (WABA)."
45724
+ );
45725
+ const Ts = "PROVIDER_STATUS_UNSPECIFIED";
45726
+ e.object({
45727
+ item: e.object({
45728
+ createdAt: e.string().optional(),
45729
+ id: e.string().optional(),
45730
+ metaAppId: e.string().optional(),
45731
+ name: e.string().optional(),
45732
+ phoneDisplay: e.string().optional(),
45733
+ phoneNumberId: e.string().optional(),
45734
+ status: e.enum([
45735
+ "PROVIDER_STATUS_UNSPECIFIED",
45736
+ "PROVIDER_STATUS_ACTIVE",
45737
+ "PROVIDER_STATUS_INACTIVE",
45738
+ "PROVIDER_STATUS_ERROR"
45739
+ ]).default(Ts).describe(
45740
+ `/ ProviderStatus represents the operational state of a provider gateway.
45741
+
45742
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45743
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45744
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45745
+ ),
45746
+ updatedAt: e.string().optional(),
45747
+ wabaId: e.string().optional()
45748
+ }).optional()
45749
+ }).describe(
45750
+ "/ ProviderCreateWhatsAppGateResponse returns the registered WhatsApp provider."
45751
+ );
45752
+ e.object({
45753
+ id: e.string()
45754
+ });
45755
+ const Rs = "PROVIDER_STATUS_UNSPECIFIED";
45756
+ e.object({
45757
+ item: e.object({
45758
+ createdAt: e.string().optional(),
45759
+ id: e.string().optional(),
45760
+ metaAppId: e.string().optional(),
45761
+ name: e.string().optional(),
45762
+ phoneDisplay: e.string().optional(),
45763
+ phoneNumberId: e.string().optional(),
45764
+ status: e.enum([
45765
+ "PROVIDER_STATUS_UNSPECIFIED",
45766
+ "PROVIDER_STATUS_ACTIVE",
45767
+ "PROVIDER_STATUS_INACTIVE",
45768
+ "PROVIDER_STATUS_ERROR"
45769
+ ]).default(Rs).describe(
45770
+ `/ ProviderStatus represents the operational state of a provider gateway.
45771
+
45772
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45773
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45774
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45775
+ ),
45776
+ updatedAt: e.string().optional(),
45777
+ wabaId: e.string().optional()
45778
+ }).optional()
45779
+ });
45780
+ e.object({
45781
+ id: e.string()
45782
+ });
45783
+ const As = "PROVIDER_STATUS_UNSPECIFIED";
45784
+ e.object({
45785
+ item: e.object({
45786
+ createdAt: e.string().optional(),
45787
+ id: e.string().optional(),
45788
+ metaAppId: e.string().optional(),
45789
+ name: e.string().optional(),
45790
+ phoneDisplay: e.string().optional(),
45791
+ phoneNumberId: e.string().optional(),
45792
+ status: e.enum([
45793
+ "PROVIDER_STATUS_UNSPECIFIED",
45794
+ "PROVIDER_STATUS_ACTIVE",
45795
+ "PROVIDER_STATUS_INACTIVE",
45796
+ "PROVIDER_STATUS_ERROR"
45797
+ ]).default(As).describe(
45798
+ `/ ProviderStatus represents the operational state of a provider gateway.
45799
+
45800
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45801
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45802
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45803
+ ),
45804
+ updatedAt: e.string().optional(),
45805
+ wabaId: e.string().optional()
45806
+ }).optional()
45807
+ });
45808
+ e.object({
45809
+ id: e.string()
45810
+ });
45811
+ e.object({
45812
+ accessToken: e.string().optional(),
45813
+ name: e.string().optional()
45814
+ }).describe(
45815
+ "/ ProviderUpdateWhatsAppGateRequest updates WhatsApp-specific tokens or names."
45816
+ );
45817
+ const ws = "PROVIDER_STATUS_UNSPECIFIED";
45818
+ e.object({
45819
+ item: e.object({
45820
+ createdAt: e.string().optional(),
45821
+ id: e.string().optional(),
45822
+ metaAppId: e.string().optional(),
45823
+ name: e.string().optional(),
45824
+ phoneDisplay: e.string().optional(),
45825
+ phoneNumberId: e.string().optional(),
45826
+ status: e.enum([
45827
+ "PROVIDER_STATUS_UNSPECIFIED",
45828
+ "PROVIDER_STATUS_ACTIVE",
45829
+ "PROVIDER_STATUS_INACTIVE",
45830
+ "PROVIDER_STATUS_ERROR"
45831
+ ]).default(ws).describe(
45832
+ `/ ProviderStatus represents the operational state of a provider gateway.
45833
+
45834
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45835
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45836
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45837
+ ),
45838
+ updatedAt: e.string().optional(),
45839
+ wabaId: e.string().optional()
45840
+ }).optional()
45841
+ }).describe(
45842
+ "/ ProviderUpdateWhatsAppGateResponse returns the updated WhatsApp provider."
45843
+ );
45029
45844
  e.object({
45030
45845
  thread_id_1: e.string()
45031
45846
  });
@@ -45039,8 +45854,40 @@ e.object({
45039
45854
  cursorBefore: e.boolean().optional(),
45040
45855
  size: e.number().optional()
45041
45856
  });
45857
+ const Ds = "ROLE_UNSPECIFIED";
45042
45858
  e.object({
45043
- from: e.array(e.string()).optional(),
45859
+ from: e.array(
45860
+ e.object({
45861
+ contactId: e.string().optional().describe("Contact ID of the thread member."),
45862
+ id: e.string().optional(),
45863
+ permissions: e.object({
45864
+ canAddMembers: e.boolean().optional(),
45865
+ canChangeMembersPermissions: e.boolean().optional(),
45866
+ canChangeThreadInfo: e.boolean().optional(),
45867
+ canRemoveMembers: e.boolean().optional(),
45868
+ canSendMessages: e.boolean().optional(),
45869
+ createdAt: e.string().optional(),
45870
+ id: e.string().optional(),
45871
+ memberId: e.string().optional(),
45872
+ threadId: e.string().optional(),
45873
+ updatedAt: e.string().optional()
45874
+ }).optional().describe("User rights in the thread, determined by their role."),
45875
+ role: e.enum([
45876
+ "ROLE_UNSPECIFIED",
45877
+ "ROLE_MEMBER",
45878
+ "ROLE_ADMIN",
45879
+ "ROLE_OWNER",
45880
+ "ROLE_SUPERVISOR"
45881
+ ]).default(
45882
+ Ds
45883
+ ).describe(
45884
+ "Role of the member in the thread, determining their permissions."
45885
+ )
45886
+ }).describe(
45887
+ `ThreadMember represents a thread participant
45888
+ with optional type-specific settings.`
45889
+ )
45890
+ ).optional(),
45044
45891
  items: e.array(
45045
45892
  e.object({
45046
45893
  body: e.string().optional(),
@@ -45315,7 +46162,7 @@ e.object({
45315
46162
  sort: e.string().optional(),
45316
46163
  fields: e.array(e.string()).optional()
45317
46164
  });
45318
- const ns = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46165
+ const vs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
45319
46166
  e.object({
45320
46167
  items: e.array(
45321
46168
  e.object({
@@ -45355,7 +46202,7 @@ e.object({
45355
46202
  "WORKING_SCHEDULE_STATE_DRAFT",
45356
46203
  "WORKING_SCHEDULE_STATE_ARCHIVED"
45357
46204
  ]).default(
45358
- ns
46205
+ vs
45359
46206
  ),
45360
46207
  team: e.object({
45361
46208
  id: e.string().optional(),
@@ -45371,7 +46218,7 @@ e.object({
45371
46218
  ).optional(),
45372
46219
  next: e.boolean().optional()
45373
46220
  });
45374
- const as = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46221
+ const Os = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
45375
46222
  e.object({
45376
46223
  item: e.object({
45377
46224
  agents: e.array(
@@ -45410,7 +46257,7 @@ e.object({
45410
46257
  "WORKING_SCHEDULE_STATE_DRAFT",
45411
46258
  "WORKING_SCHEDULE_STATE_ARCHIVED"
45412
46259
  ]).default(
45413
- as
46260
+ Os
45414
46261
  ),
45415
46262
  team: e.object({
45416
46263
  id: e.string().optional(),
@@ -45424,7 +46271,7 @@ e.object({
45424
46271
  }).optional()
45425
46272
  }).optional()
45426
46273
  });
45427
- const rs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46274
+ const Es = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
45428
46275
  e.object({
45429
46276
  item: e.object({
45430
46277
  agents: e.array(
@@ -45463,7 +46310,7 @@ e.object({
45463
46310
  "WORKING_SCHEDULE_STATE_DRAFT",
45464
46311
  "WORKING_SCHEDULE_STATE_ARCHIVED"
45465
46312
  ]).default(
45466
- rs
46313
+ Es
45467
46314
  ),
45468
46315
  team: e.object({
45469
46316
  id: e.string().optional(),
@@ -45489,7 +46336,7 @@ e.object({
45489
46336
  e.object({
45490
46337
  fields: e.array(e.string()).optional()
45491
46338
  });
45492
- const ss = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46339
+ const Cs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
45493
46340
  e.object({
45494
46341
  item: e.object({
45495
46342
  agents: e.array(
@@ -45528,7 +46375,7 @@ e.object({
45528
46375
  "WORKING_SCHEDULE_STATE_DRAFT",
45529
46376
  "WORKING_SCHEDULE_STATE_ARCHIVED"
45530
46377
  ]).default(
45531
- ss
46378
+ Cs
45532
46379
  ),
45533
46380
  team: e.object({
45534
46381
  id: e.string().optional(),
@@ -45591,7 +46438,7 @@ e.object({
45591
46438
  e.object({
45592
46439
  "item.id": e.string()
45593
46440
  });
45594
- const ls = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46441
+ const Ss = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
45595
46442
  e.object({
45596
46443
  item: e.object({
45597
46444
  agents: e.array(
@@ -45629,7 +46476,7 @@ e.object({
45629
46476
  "WORKING_SCHEDULE_STATE_DRAFT",
45630
46477
  "WORKING_SCHEDULE_STATE_ARCHIVED"
45631
46478
  ]).default(
45632
- ls
46479
+ Ss
45633
46480
  ),
45634
46481
  team: e.object({
45635
46482
  id: e.string().optional(),
@@ -45643,7 +46490,7 @@ e.object({
45643
46490
  }).optional()
45644
46491
  }).optional()
45645
46492
  });
45646
- const ps = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46493
+ const qs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
45647
46494
  e.object({
45648
46495
  item: e.object({
45649
46496
  agents: e.array(
@@ -45682,7 +46529,7 @@ e.object({
45682
46529
  "WORKING_SCHEDULE_STATE_DRAFT",
45683
46530
  "WORKING_SCHEDULE_STATE_ARCHIVED"
45684
46531
  ]).default(
45685
- ps
46532
+ qs
45686
46533
  ),
45687
46534
  team: e.object({
45688
46535
  id: e.string().optional(),
@@ -45721,9 +46568,9 @@ b();
45721
46568
  m();
45722
46569
  b();
45723
46570
  m();
45724
- const cs = "/contacts/groups";
46571
+ const _s = "/contacts/groups";
45725
46572
  ({
45726
- ...je(cs)
46573
+ ...je(_s)
45727
46574
  });
45728
46575
  b();
45729
46576
  m();
@@ -45737,7 +46584,7 @@ m();
45737
46584
  b();
45738
46585
  m();
45739
46586
  localStorage.getItem("access-token");
45740
- qe.create({
46587
+ Se.create({
45741
46588
  headers: {
45742
46589
  "content-type": "multipart/form-data"
45743
46590
  }
@@ -45757,11 +46604,11 @@ m();
45757
46604
  b();
45758
46605
  m();
45759
46606
  b();
45760
- const ds = "/users";
46607
+ const ks = "/users";
45761
46608
  ({
45762
- ...je(ds)
46609
+ ...je(ks)
45763
46610
  });
45764
- const bs = b(), Ie = async ({ path: o, display: t, primary: a, ...i }) => {
46611
+ const Us = b(), Ie = async ({ path: o, display: t, primary: a, ...i }) => {
45765
46612
  const g = [
45766
46613
  "page",
45767
46614
  "size",
@@ -45786,7 +46633,7 @@ const bs = b(), Ie = async ({ path: o, display: t, primary: a, ...i }) => {
45786
46633
  me(o)
45787
46634
  ]);
45788
46635
  try {
45789
- const s = await bs.get(f), { data: c, items: h, next: u } = E(s.data, [
46636
+ const s = await Us.get(f), { data: c, items: h, next: u } = E(s.data, [
45790
46637
  L(se())
45791
46638
  ]);
45792
46639
  return {
@@ -45798,18 +46645,18 @@ const bs = b(), Ie = async ({ path: o, display: t, primary: a, ...i }) => {
45798
46645
  };
45799
46646
  } catch (s) {
45800
46647
  throw E(s, [
45801
- Q
46648
+ W
45802
46649
  ]);
45803
46650
  }
45804
- }, gs = (o) => Ie({
46651
+ }, xs = (o) => Ie({
45805
46652
  ...o,
45806
46653
  fields: o.fields || [
45807
46654
  "id",
45808
46655
  "name"
45809
46656
  ]
45810
- }), us = {
46657
+ }), Bs = {
45811
46658
  getList: Ie,
45812
- getLookup: gs
46659
+ getLookup: xs
45813
46660
  };
45814
46661
  b();
45815
46662
  m();
@@ -45817,9 +46664,9 @@ b();
45817
46664
  m();
45818
46665
  b();
45819
46666
  m();
45820
- const Is = /* @__PURE__ */ we({
46667
+ const zs = /* @__PURE__ */ Re({
45821
46668
  __name: "wt-type-extension-value-input",
45822
- props: /* @__PURE__ */ Re({
46669
+ props: /* @__PURE__ */ Ae({
45823
46670
  field: {},
45824
46671
  required: { type: Boolean },
45825
46672
  v: {}
@@ -45829,23 +46676,23 @@ const Is = /* @__PURE__ */ we({
45829
46676
  }),
45830
46677
  emits: ["update:modelValue"],
45831
46678
  setup(o) {
45832
- const t = Ae(o, "modelValue"), a = o, { t: i } = ke(), g = S(() => i(a.field?.name || "vocabulary.labels")), f = S(() => a.required || a.field.required), s = S(() => t.value), c = S(() => ({
46679
+ const t = we(o, "modelValue"), a = o, { t: i } = qe(), g = k(() => i(a.field?.name || "vocabulary.labels")), f = k(() => a.required || a.field.required), s = k(() => t.value), c = k(() => ({
45833
46680
  label: g.value,
45834
46681
  required: f.value,
45835
46682
  v: a.v
45836
- })), h = S(() => ({
46683
+ })), h = k(() => ({
45837
46684
  clearable: !0,
45838
46685
  trackBy: "id",
45839
46686
  searchMethod: () => y(a.field.lookup)
45840
- })), u = S(() => ({
46687
+ })), u = k(() => ({
45841
46688
  ...h.value,
45842
46689
  multiple: !0
45843
46690
  })), d = (j) => {
45844
46691
  t.value = j;
45845
- }, y = ({ path: j, display: w, primary: O }) => (r) => us.getSysTypeRecordsLookup({
46692
+ }, y = ({ path: j, display: R, primary: O }) => (r) => Bs.getSysTypeRecordsLookup({
45846
46693
  ...r,
45847
46694
  path: j,
45848
- display: w,
46695
+ display: R,
45849
46696
  primary: O
45850
46697
  }), l = (j) => {
45851
46698
  if (Object.values(j).length === 0)
@@ -45856,29 +46703,29 @@ const Is = /* @__PURE__ */ we({
45856
46703
  });
45857
46704
  }, v = (j) => {
45858
46705
  d(
45859
- j.map((w) => ({
45860
- id: w.id,
45861
- name: w.name
46706
+ j.map((R) => ({
46707
+ id: R.id,
46708
+ name: R.name
45862
46709
  }))
45863
46710
  );
45864
46711
  };
45865
- return (j, w) => {
46712
+ return (j, R) => {
45866
46713
  const O = $("wt-input-text"), r = $("wt-input-number");
45867
- return o.field.kind === D(C).Text ? (ee(), Z(O, _({ key: 0 }, c.value, {
46714
+ return o.field.kind === D(C).Text ? (ee(), Z(O, U({ key: 0 }, c.value, {
45868
46715
  "model-value": s.value,
45869
46716
  "onUpdate:modelValue": d
45870
- }), null, 16, ["model-value"])) : o.field.kind === D(C).Number ? (ee(), Z(r, _({ key: 1 }, c.value, {
46717
+ }), null, 16, ["model-value"])) : o.field.kind === D(C).Number ? (ee(), Z(r, U({ key: 1 }, c.value, {
45871
46718
  "model-value": s.value,
45872
46719
  "onUpdate:modelValue": d
45873
- }), null, 16, ["model-value"])) : o.field.kind === D(C).Boolean ? F(j.$slots, D(C).Boolean, {
46720
+ }), null, 16, ["model-value"])) : o.field.kind === D(C).Boolean ? P(j.$slots, D(C).Boolean, {
45874
46721
  key: 2,
45875
46722
  defaultProps: { ...c.value }
45876
46723
  }, () => [
45877
- P(D(xe), _(c.value, {
46724
+ F(D(_e), U(c.value, {
45878
46725
  "model-value": s.value,
45879
46726
  "onUpdate:modelValue": d
45880
46727
  }), null, 16, ["model-value"])
45881
- ]) : o.field.kind === D(C).Select ? F(j.$slots, D(C).Select, {
46728
+ ]) : o.field.kind === D(C).Select ? P(j.$slots, D(C).Select, {
45882
46729
  key: 3,
45883
46730
  defaultProps: {
45884
46731
  ...c.value,
@@ -45886,14 +46733,14 @@ const Is = /* @__PURE__ */ we({
45886
46733
  value: s.value
45887
46734
  }
45888
46735
  }, () => [
45889
- P(D(te), _(c.value, {
46736
+ F(D(te), U(c.value, {
45890
46737
  value: s.value,
45891
46738
  "search-method": y(o.field.lookup),
45892
46739
  "track-by": "id",
45893
46740
  clearable: "",
45894
46741
  onInput: l
45895
46742
  }), null, 16, ["value", "search-method"])
45896
- ]) : o.field.kind === D(C).Multiselect ? F(j.$slots, D(C).Multiselect, {
46743
+ ]) : o.field.kind === D(C).Multiselect ? P(j.$slots, D(C).Multiselect, {
45897
46744
  key: 4,
45898
46745
  defaultProps: {
45899
46746
  ...c.value,
@@ -45901,18 +46748,18 @@ const Is = /* @__PURE__ */ we({
45901
46748
  value: s.value
45902
46749
  }
45903
46750
  }, () => [
45904
- P(D(te), _({ ...c.value, ...u.value }, {
46751
+ F(D(te), U({ ...c.value, ...u.value }, {
45905
46752
  value: s.value,
45906
46753
  onInput: v
45907
46754
  }), null, 16, ["value"])
45908
- ]) : o.field.kind === D(C).Calendar ? F(j.$slots, D(C).Calendar, {
46755
+ ]) : o.field.kind === D(C).Calendar ? P(j.$slots, D(C).Calendar, {
45909
46756
  key: 5,
45910
46757
  defaultProps: {
45911
46758
  ...c.value,
45912
46759
  value: s.value
45913
46760
  }
45914
46761
  }, () => [
45915
- P(D(Se), _(c.value, {
46762
+ F(D(ke), U(c.value, {
45916
46763
  value: s.value,
45917
46764
  mode: "datetime",
45918
46765
  onInput: d
@@ -45922,5 +46769,5 @@ const Is = /* @__PURE__ */ we({
45922
46769
  }
45923
46770
  });
45924
46771
  export {
45925
- Is as default
46772
+ zs as default
45926
46773
  };