@webitel/ui-sdk 26.4.77 → 26.6.1

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 (61) hide show
  1. package/README.md +10 -0
  2. package/dist/{contacts-eFuSbv3m.js → contacts-_qmCBw3x.js} +1533 -1245
  3. package/dist/{index-TiiXs7ZO.js → index-BoAr0FkY.js} +1 -1
  4. package/dist/{index-CaY0ocAF.js → index-CFJvgwFr.js} +1 -1
  5. package/dist/{install-Bd5HfFTV.js → install-PDJJDxnH.js} +38 -38
  6. package/dist/{isObject-BV09j4E1.js → isObject-DPhlkqvG.js} +1 -1
  7. package/dist/ui-sdk.js +1 -1
  8. package/dist/ui-sdk.umd.cjs +157 -158
  9. package/dist/{useVidstackSrc-BGxC2kR5.js → useVidstackSrc-BhJoOoEq.js} +1 -1
  10. package/dist/{vidstack-Bq6c3Bam-jeTFOXk6.js → vidstack-Bq6c3Bam-CanlLRKk.js} +3 -3
  11. package/dist/{vidstack-D2pY00kU-I-LJsKk8.js → vidstack-D2pY00kU-CSB1KdRb.js} +3 -3
  12. package/dist/{vidstack-DDXt6fpN-W_Ix9vbH.js → vidstack-DDXt6fpN-DO4Y-JcH.js} +2 -2
  13. package/dist/{vidstack-D_-9AA6_-27F2Mv_5.js → vidstack-D_-9AA6_-BCtNJifs.js} +2 -2
  14. package/dist/{vidstack-DqAw8m9J-BxfLqlFs.js → vidstack-DqAw8m9J-CR1v9UBt.js} +1 -1
  15. package/dist/{vidstack-audio-CvjDPPuQ.js → vidstack-audio-BSLWAfpl.js} +2 -2
  16. package/dist/{vidstack-dash-rV4ryZh2.js → vidstack-dash-v38IQp6A.js} +4 -4
  17. package/dist/{vidstack-google-cast-Cb8t34m4.js → vidstack-google-cast-DOkWGOXY.js} +4 -4
  18. package/dist/{vidstack-hls-C2zZ7COz.js → vidstack-hls-Da7XyV8o.js} +4 -4
  19. package/dist/{vidstack-video-DzItbHtm.js → vidstack-video-MlBxjeJm.js} +3 -3
  20. package/dist/{vidstack-vimeo-BpKsHwp4.js → vidstack-vimeo-C08ll0Oc.js} +4 -4
  21. package/dist/{vidstack-youtube--6zpNJz6.js → vidstack-youtube-DAs-oRRy.js} +3 -3
  22. package/dist/{wt-action-bar-Df57KUsc.js → wt-action-bar-B-gnbrSN.js} +1 -1
  23. package/dist/{wt-button-select-ymdOC5NH.js → wt-button-select-CkqeW_-6.js} +1 -1
  24. package/dist/{wt-call-media-action-D4CP3oZl.js → wt-call-media-action-D6CkWTmq.js} +1 -1
  25. package/dist/{wt-chat-emoji-CUjHxdzV.js → wt-chat-emoji-DlCyrANh.js} +2 -2
  26. package/dist/{wt-confirm-dialog-CNwpPdgE.js → wt-confirm-dialog-D8tcppiC.js} +1 -1
  27. package/dist/{wt-context-menu-CToKHamf.js → wt-context-menu-DCigRSmp.js} +1 -1
  28. package/dist/{wt-copy-action-Dd0tVB7g.js → wt-copy-action-D_Z6jFtf.js} +1 -1
  29. package/dist/{wt-datepicker-B7sKwJlh.js → wt-datepicker-pS9H0oR1.js} +1 -1
  30. package/dist/{wt-display-chip-items-IGBh7VMV.js → wt-display-chip-items-bzwYwkxN.js} +1 -1
  31. package/dist/{wt-dual-panel-CqN6YB0F.js → wt-dual-panel-zN8czo6-.js} +1 -1
  32. package/dist/{wt-dummy-OrcannPM.js → wt-dummy-CQ2r3NMw.js} +1 -1
  33. package/dist/{wt-error-page-BMpoQdQl.js → wt-error-page-DamPrF3N.js} +1 -1
  34. package/dist/{wt-expansion-card-DEDM3Znr.js → wt-expansion-card-C3S1YUq-.js} +1 -1
  35. package/dist/{wt-expansion-panel-YCSPf-eq.js → wt-expansion-panel-DTyYil5D.js} +1 -1
  36. package/dist/{wt-filters-panel-wrapper-Ck2bF7qg.js → wt-filters-panel-wrapper-BklLdi6h.js} +1 -1
  37. package/dist/{wt-galleria-CNDkujRu.js → wt-galleria-DojNGdRA.js} +1 -1
  38. package/dist/{wt-inline-add-panel-BSEdS7eW.js → wt-inline-add-panel-CU5tPYmv.js} +1 -1
  39. package/dist/{wt-navigation-menu-igJBYaxO.js → wt-navigation-menu-DMak2JPd.js} +1 -1
  40. package/dist/{wt-notifications-bar-C0M5LC4G.js → wt-notifications-bar-DrTcFD94.js} +2 -2
  41. package/dist/{wt-pagination-BXDqQ9YV.js → wt-pagination-DRFIwl6z.js} +1 -1
  42. package/dist/{wt-player-A13mN2qk.js → wt-player-DXEv_Fho.js} +2 -2
  43. package/dist/{wt-screen-recordings-action-BQPS--RV.js → wt-screen-recordings-action-CZMGLcgF.js} +1 -1
  44. package/dist/{wt-search-bar-Cvt_urUF.js → wt-search-bar-DvazKoF3.js} +1 -1
  45. package/dist/{wt-selection-popup-CcAfc6T6.js → wt-selection-popup-CaQ5h7Kd.js} +1 -1
  46. package/dist/{wt-send-message-popup-pN9zzJpT.js → wt-send-message-popup--MgNAzGF.js} +3 -3
  47. package/dist/{wt-start-page-DaotE9Vi.js → wt-start-page-X9LQJcFp.js} +1 -1
  48. package/dist/{wt-status-select-Dhw-c6FB.js → wt-status-select-DNjNPOdw.js} +1 -1
  49. package/dist/{wt-stepper-DyM6hf_l.js → wt-stepper-DuZTsQpa.js} +1 -1
  50. package/dist/{wt-table-Do6tizZl.js → wt-table-BucoCc3s.js} +1 -1
  51. package/dist/{wt-table-actions-Stm_KC06.js → wt-table-actions-D6_4T0-v.js} +1 -1
  52. package/dist/{wt-table-column-select-DaGMSlL1.js → wt-table-column-select-B3gopWBB.js} +2 -2
  53. package/dist/{wt-tabs-CTv4GgX8.js → wt-tabs-B_Uw8dui.js} +1 -1
  54. package/dist/{wt-tags-input-DJhQrEdL.js → wt-tags-input-B-yNXShn.js} +2 -2
  55. package/dist/{wt-timepicker-98DhU-ME.js → wt-timepicker-C0hhMn9W.js} +1 -1
  56. package/dist/{wt-tree-CfkLw1SI.js → wt-tree-fxzTZJnC.js} +2 -2
  57. package/dist/{wt-tree-table-DDyxMFbz.js → wt-tree-table-Dc3ItaFu.js} +1 -1
  58. package/dist/{wt-type-extension-value-input-B2CwLd8p.js → wt-type-extension-value-input-DFCd1Tyn.js} +3 -3
  59. package/dist/{wt-vidstack-player-BduaN7w2.js → wt-vidstack-player-iT3S0wnv.js} +10 -10
  60. package/package.json +10 -2
  61. package/src/locale/uk/uk.js +1 -1
@@ -1,7 +1,7 @@
1
1
  import * as e from "zod";
2
- import { d as be } from "./index-CaY0ocAF.js";
2
+ import { d as be } from "./index-CFJvgwFr.js";
3
3
  import { get as ge, set as ue } from "lodash-es";
4
- import { ak as me, al as fe, O as he, am as ye, an as je } from "./install-Bd5HfFTV.js";
4
+ import { ak as me, al as fe, O as he, am as ye, an as je } from "./install-PDJJDxnH.js";
5
5
  const J = () => ({
6
6
  items: [],
7
7
  next: !1
@@ -18,12 +18,12 @@ const J = () => ({
18
18
  RFC3986: function(o) {
19
19
  return String(o);
20
20
  }
21
- }, Re = Z.RFC1738, ee = Z.RFC3986, Ae = Array.isArray, D = (function() {
21
+ }, Re = Z.RFC1738, ee = Z.RFC3986, we = Array.isArray, v = (function() {
22
22
  const o = [];
23
23
  for (let t = 0; t < 256; ++t)
24
24
  o.push("%" + ((t < 16 ? "0" : "") + t.toString(16)).toUpperCase());
25
25
  return o;
26
- })(), N = 1024, we = function(t, r, i, d, m) {
26
+ })(), N = 1024, Ae = function(t, r, i, d, m) {
27
27
  if (t.length === 0)
28
28
  return t;
29
29
  let p = t;
@@ -48,33 +48,33 @@ const J = () => ({
48
48
  continue;
49
49
  }
50
50
  if (s < 128) {
51
- u[u.length] = D[s];
51
+ u[u.length] = v[s];
52
52
  continue;
53
53
  }
54
54
  if (s < 2048) {
55
- u[u.length] = D[192 | s >> 6] + D[128 | s & 63];
55
+ u[u.length] = v[192 | s >> 6] + v[128 | s & 63];
56
56
  continue;
57
57
  }
58
58
  if (s < 55296 || s >= 57344) {
59
- u[u.length] = D[224 | s >> 12] + D[128 | s >> 6 & 63] + D[128 | s & 63];
59
+ u[u.length] = v[224 | s >> 12] + v[128 | s >> 6 & 63] + v[128 | s & 63];
60
60
  continue;
61
61
  }
62
- j += 1, s = 65536 + ((s & 1023) << 10 | g.charCodeAt(j) & 1023), u[u.length] = D[240 | s >> 18] + D[128 | s >> 12 & 63] + D[128 | s >> 6 & 63] + D[128 | s & 63];
62
+ j += 1, s = 65536 + ((s & 1023) << 10 | g.charCodeAt(j) & 1023), u[u.length] = v[240 | s >> 18] + v[128 | s >> 12 & 63] + v[128 | s >> 6 & 63] + v[128 | s & 63];
63
63
  }
64
64
  f += u.join("");
65
65
  }
66
66
  return f;
67
- }, De = function(t) {
67
+ }, ve = function(t) {
68
68
  return !t || typeof t != "object" ? !1 : !!(t.constructor && t.constructor.isBuffer && t.constructor.isBuffer(t));
69
69
  }, H = function(t, r) {
70
- if (Ae(t)) {
70
+ if (we(t)) {
71
71
  const i = [];
72
72
  for (let d = 0; d < t.length; d += 1)
73
73
  i.push(r(t[d]));
74
74
  return i;
75
75
  }
76
76
  return r(t);
77
- }, Oe = Object.prototype.hasOwnProperty, te = {
77
+ }, De = Object.prototype.hasOwnProperty, te = {
78
78
  brackets: function(t) {
79
79
  return t + "[]";
80
80
  },
@@ -85,8 +85,8 @@ const J = () => ({
85
85
  repeat: function(t) {
86
86
  return t;
87
87
  }
88
- }, O = Array.isArray, ve = Array.prototype.push, oe = function(o, t) {
89
- ve.apply(o, O(t) ? t : [t]);
88
+ }, D = Array.isArray, Oe = Array.prototype.push, oe = function(o, t) {
89
+ Oe.apply(o, D(t) ? t : [t]);
90
90
  }, Ee = Date.prototype.toISOString, K = ee, I = {
91
91
  addQueryPrefix: !1,
92
92
  allowDots: !1,
@@ -97,7 +97,7 @@ const J = () => ({
97
97
  delimiter: "&",
98
98
  encode: !0,
99
99
  encodeDotInKeys: !1,
100
- encoder: we,
100
+ encoder: Ae,
101
101
  encodeValuesOnly: !1,
102
102
  format: K,
103
103
  formatter: L[K],
@@ -110,59 +110,59 @@ const J = () => ({
110
110
  strictNullHandling: !1
111
111
  }, Ce = function(t) {
112
112
  return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "symbol" || typeof t == "bigint";
113
- }, P = {}, ie = function(t, r, i, d, m, p, f, h, g, u, j, s, v, C, A, E, a, l) {
114
- let n = t, T = l, y = 0, q = !1;
115
- for (; (T = T.get(P)) !== void 0 && !q; ) {
113
+ }, F = {}, ie = function(t, r, i, d, m, p, f, h, g, u, j, s, O, C, w, E, a, l) {
114
+ let n = t, T = l, y = 0, x = !1;
115
+ for (; (T = T.get(F)) !== void 0 && !x; ) {
116
116
  const R = T.get(t);
117
117
  if (y += 1, typeof R < "u") {
118
118
  if (R === y)
119
119
  throw new RangeError("Cyclic object value");
120
- q = !0;
120
+ x = !0;
121
121
  }
122
- typeof T.get(P) > "u" && (y = 0);
122
+ typeof T.get(F) > "u" && (y = 0);
123
123
  }
124
- if (typeof u == "function" ? n = u(r, n) : n instanceof Date ? n = v(n) : i === "comma" && O(n) && (n = H(n, function(R) {
125
- return R instanceof Date ? v(R) : R;
124
+ if (typeof u == "function" ? n = u(r, n) : n instanceof Date ? n = O(n) : i === "comma" && D(n) && (n = H(n, function(R) {
125
+ return R instanceof Date ? O(R) : R;
126
126
  })), n === null) {
127
127
  if (p)
128
128
  return g && !E ? g(r, I.encoder, a, "key", C) : r;
129
129
  n = "";
130
130
  }
131
- if (Ce(n) || De(n)) {
131
+ if (Ce(n) || ve(n)) {
132
132
  if (g) {
133
133
  const R = E ? r : g(r, I.encoder, a, "key", C);
134
134
  return [
135
- A(R) + "=" + A(g(n, I.encoder, a, "value", C))
135
+ w(R) + "=" + w(g(n, I.encoder, a, "value", C))
136
136
  ];
137
137
  }
138
- return [A(r) + "=" + A(String(n))];
138
+ return [w(r) + "=" + w(String(n))];
139
139
  }
140
- const x = [];
140
+ const _ = [];
141
141
  if (typeof n > "u")
142
- return x;
143
- let _;
144
- if (i === "comma" && O(n))
145
- E && g && (n = H(n, g)), _ = [{ value: n.length > 0 ? n.join(",") || null : void 0 }];
146
- else if (O(u))
147
- _ = u;
142
+ return _;
143
+ let k;
144
+ if (i === "comma" && D(n))
145
+ E && g && (n = H(n, g)), k = [{ value: n.length > 0 ? n.join(",") || null : void 0 }];
146
+ else if (D(u))
147
+ k = u;
148
148
  else {
149
149
  const R = Object.keys(n);
150
- _ = j ? R.sort(j) : R;
150
+ k = j ? R.sort(j) : R;
151
151
  }
152
- const V = h ? r.replace(/\./g, "%2E") : r, k = d && O(n) && n.length === 1 ? V + "[]" : V;
153
- if (m && O(n) && n.length === 0)
154
- return k + "[]";
155
- for (let R = 0; R < _.length; ++R) {
156
- const S = _[R], Y = typeof S == "object" && typeof S.value < "u" ? S.value : n[S];
157
- if (f && Y === null)
152
+ const Y = h ? r.replace(/\./g, "%2E") : r, S = d && D(n) && n.length === 1 ? Y + "[]" : Y;
153
+ if (m && D(n) && n.length === 0)
154
+ return S + "[]";
155
+ for (let R = 0; R < k.length; ++R) {
156
+ const q = k[R], V = typeof q == "object" && typeof q.value < "u" ? q.value : n[q];
157
+ if (f && V === null)
158
158
  continue;
159
- const B = s && h ? S.replace(/\./g, "%2E") : S, de = O(n) ? typeof i == "function" ? i(k, B) : k : k + (s ? "." + B : "[" + B + "]");
159
+ const B = s && h ? q.replace(/\./g, "%2E") : q, de = D(n) ? typeof i == "function" ? i(S, B) : S : S + (s ? "." + B : "[" + B + "]");
160
160
  l.set(t, y);
161
161
  const G = /* @__PURE__ */ new WeakMap();
162
- G.set(P, l), oe(
163
- x,
162
+ G.set(F, l), oe(
163
+ _,
164
164
  ie(
165
- Y,
165
+ V,
166
166
  de,
167
167
  i,
168
168
  d,
@@ -170,21 +170,21 @@ const J = () => ({
170
170
  p,
171
171
  f,
172
172
  h,
173
- i === "comma" && E && O(n) ? null : g,
173
+ i === "comma" && E && D(n) ? null : g,
174
174
  u,
175
175
  j,
176
176
  s,
177
- v,
177
+ O,
178
178
  C,
179
- A,
179
+ w,
180
180
  E,
181
181
  a,
182
182
  G
183
183
  )
184
184
  );
185
185
  }
186
- return x;
187
- }, Se = function(t) {
186
+ return _;
187
+ }, qe = function(t) {
188
188
  if (!t)
189
189
  return I;
190
190
  if (typeof t.allowEmptyArrays < "u" && typeof t.allowEmptyArrays != "boolean")
@@ -198,13 +198,13 @@ const J = () => ({
198
198
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
199
199
  let i = ee;
200
200
  if (typeof t.format < "u") {
201
- if (!Oe.call(L, t.format))
201
+ if (!De.call(L, t.format))
202
202
  throw new TypeError("Unknown format option provided.");
203
203
  i = t.format;
204
204
  }
205
205
  const d = L[i];
206
206
  let m = I.filter;
207
- (typeof t.filter == "function" || O(t.filter)) && (m = t.filter);
207
+ (typeof t.filter == "function" || D(t.filter)) && (m = t.filter);
208
208
  let p;
209
209
  if (t.arrayFormat in te ? p = t.arrayFormat : "indices" in t ? p = t.indices ? "indices" : "repeat" : p = I.arrayFormat, "commaRoundTrip" in t && typeof t.commaRoundTrip != "boolean")
210
210
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
@@ -233,9 +233,9 @@ const J = () => ({
233
233
  };
234
234
  function ne(o, t) {
235
235
  let r = o;
236
- const i = Se(t);
236
+ const i = qe(t);
237
237
  let d, m;
238
- typeof i.filter == "function" ? (m = i.filter, r = m("", r)) : O(i.filter) && (m = i.filter, d = m);
238
+ typeof i.filter == "function" ? (m = i.filter, r = m("", r)) : D(i.filter) && (m = i.filter, d = m);
239
239
  const p = [];
240
240
  if (typeof r != "object" || r === null)
241
241
  return "";
@@ -243,12 +243,12 @@ function ne(o, t) {
243
243
  d || (d = Object.keys(r)), i.sort && d.sort(i.sort);
244
244
  const g = /* @__PURE__ */ new WeakMap();
245
245
  for (let s = 0; s < d.length; ++s) {
246
- const v = d[s];
247
- i.skipNulls && r[v] === null || oe(
246
+ const O = d[s];
247
+ i.skipNulls && r[O] === null || oe(
248
248
  p,
249
249
  ie(
250
- r[v],
251
- v,
250
+ r[O],
251
+ O,
252
252
  f,
253
253
  h,
254
254
  i.allowEmptyArrays,
@@ -272,10 +272,10 @@ function ne(o, t) {
272
272
  let j = i.addQueryPrefix === !0 ? "?" : "";
273
273
  return i.charsetSentinel && (i.charset === "iso-8859-1" ? j += "utf8=%26%2310003%3B&" : j += "utf8=%E2%9C%93&"), u.length > 0 ? j + u : "";
274
274
  }
275
- const _e = [
275
+ const ke = [
276
276
  (o) => (o.headers["X-Webitel-Access"] = localStorage.getItem("access-token") || "", o),
277
277
  (o) => Promise.reject(o)
278
- ], qe = [
278
+ ], xe = [
279
279
  (o) => o,
280
280
  (o) => {
281
281
  if (o.response && o.response.status === 401) {
@@ -291,34 +291,34 @@ const _e = [
291
291
  return me({
292
292
  interceptors: {
293
293
  request: [
294
- _e
294
+ ke
295
295
  ],
296
296
  response: [
297
- qe
297
+ xe
298
298
  ]
299
299
  },
300
300
  baseURL: "/api",
301
301
  paramsSerializer: (t) => ne(t, o)
302
302
  });
303
303
  };
304
- class ke {
304
+ class Se {
305
305
  constructor(t = {}) {
306
306
  this.apiKey = t.apiKey, this.username = t.username, this.password = t.password, this.accessToken = t.accessToken, this.basePath = t.basePath, this.baseOptions = t.baseOptions;
307
307
  }
308
308
  }
309
- const b = () => new ke({
309
+ const b = () => new Se({
310
310
  basePath: "/api",
311
311
  apiKey: localStorage.getItem("access-key") || "",
312
312
  accessToken: localStorage.getItem("access-key") || ""
313
- }), w = (o, t, { debug: r = !1, withContext: i = null } = {}) => t.reduce((d, m, p) => (r && console.info(`applyTransform debug on step ${p}`, d), i ? m(d, i) : m(d)), o), M = (o = []) => (t) => fe(t, o), ae = (o) => (t) => `${o}?${ne(t, {
313
+ }), A = (o, t, { debug: r = !1, withContext: i = null } = {}) => t.reduce((d, m, p) => (r && console.info(`applyTransform debug on step ${p}`, d), i ? m(d, i) : m(d)), o), M = (o = []) => (t) => fe(t, o), ae = (o) => (t) => `${o}?${ne(t, {
314
314
  skipEmptyString: !0,
315
315
  skipNull: !0,
316
316
  arrayFormat: "repeat"
317
317
  })}`;
318
- var F, W;
318
+ var P, Q;
319
319
  function Ue() {
320
- if (W) return F;
321
- W = 1;
320
+ if (Q) return P;
321
+ Q = 1;
322
322
  var o = function(l) {
323
323
  return t(l) && !r(l);
324
324
  };
@@ -337,7 +337,7 @@ function Ue() {
337
337
  return Array.isArray(a) ? [] : {};
338
338
  }
339
339
  function f(a, l) {
340
- return l.clone !== !1 && l.isMergeableObject(a) ? A(p(a), a, l) : a;
340
+ return l.clone !== !1 && l.isMergeableObject(a) ? w(p(a), a, l) : a;
341
341
  }
342
342
  function h(a, l, n) {
343
343
  return a.concat(l).map(function(T) {
@@ -346,9 +346,9 @@ function Ue() {
346
346
  }
347
347
  function g(a, l) {
348
348
  if (!l.customMerge)
349
- return A;
349
+ return w;
350
350
  var n = l.customMerge(a);
351
- return typeof n == "function" ? n : A;
351
+ return typeof n == "function" ? n : w;
352
352
  }
353
353
  function u(a) {
354
354
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(a).filter(function(l) {
@@ -365,7 +365,7 @@ function Ue() {
365
365
  return !1;
366
366
  }
367
367
  }
368
- function v(a, l) {
368
+ function O(a, l) {
369
369
  return s(a, l) && !(Object.hasOwnProperty.call(a, l) && Object.propertyIsEnumerable.call(a, l));
370
370
  }
371
371
  function C(a, l, n) {
@@ -373,26 +373,26 @@ function Ue() {
373
373
  return n.isMergeableObject(a) && j(a).forEach(function(y) {
374
374
  T[y] = f(a[y], n);
375
375
  }), j(l).forEach(function(y) {
376
- v(a, y) || (s(a, y) && n.isMergeableObject(l[y]) ? T[y] = g(y, n)(a[y], l[y], n) : T[y] = f(l[y], n));
376
+ O(a, y) || (s(a, y) && n.isMergeableObject(l[y]) ? T[y] = g(y, n)(a[y], l[y], n) : T[y] = f(l[y], n));
377
377
  }), T;
378
378
  }
379
- function A(a, l, n) {
379
+ function w(a, l, n) {
380
380
  n = n || {}, n.arrayMerge = n.arrayMerge || h, n.isMergeableObject = n.isMergeableObject || o, n.cloneUnlessOtherwiseSpecified = f;
381
- var T = Array.isArray(l), y = Array.isArray(a), q = T === y;
382
- return q ? T ? n.arrayMerge(a, l, n) : C(a, l, n) : f(l, n);
381
+ var T = Array.isArray(l), y = Array.isArray(a), x = T === y;
382
+ return x ? T ? n.arrayMerge(a, l, n) : C(a, l, n) : f(l, n);
383
383
  }
384
- A.all = function(l, n) {
384
+ w.all = function(l, n) {
385
385
  if (!Array.isArray(l))
386
386
  throw new Error("first argument should be an array");
387
387
  return l.reduce(function(T, y) {
388
- return A(T, y, n);
388
+ return w(T, y, n);
389
389
  }, {});
390
390
  };
391
- var E = A;
392
- return F = E, F;
391
+ var E = w;
392
+ return P = E, P;
393
393
  }
394
- var xe = Ue();
395
- const re = /* @__PURE__ */ he(xe), U = (...o) => (t) => re.all([
394
+ var _e = Ue();
395
+ const re = /* @__PURE__ */ he(_e), U = (...o) => (t) => re.all([
396
396
  ...o,
397
397
  t
398
398
  ]), Be = (...o) => (t) => t.map(
@@ -413,10 +413,10 @@ const re = /* @__PURE__ */ he(xe), U = (...o) => (t) => re.all([
413
413
  }), r);
414
414
  }
415
415
  return o instanceof Error && (o.response?.data?.translation || o.response?.data?.detail || o.response?.data?.message), o;
416
- }, se = (o) => (t) => Object.keys(t).reduce((r, i) => (o.indexOf(i) === -1 || (r[i] = t[i]), r), {}), Q = (o = []) => (t) => ye(t, o), le = (o = "search") => (t) => {
416
+ }, se = (o) => (t) => Object.keys(t).reduce((r, i) => (o.indexOf(i) === -1 || (r[i] = t[i]), r), {}), W = (o = []) => (t) => ye(t, o), le = (o = "search") => (t) => {
417
417
  const r = be(t), i = ge(r, o);
418
418
  return !i || i.slice(-1) === "*" ? r : ue(r, o, `${i}*`);
419
- }, X = "acl", Pe = (o) => o.map((t) => ({
419
+ }, X = "acl", Fe = (o) => o.map((t) => ({
420
420
  ...t,
421
421
  access: {
422
422
  x: {
@@ -449,7 +449,7 @@ const re = /* @__PURE__ */ he(xe), U = (...o) => (t) => re.all([
449
449
  "id"
450
450
  ], f = {
451
451
  user: !1
452
- }, h = w(m, [
452
+ }, h = A(m, [
453
453
  U($()),
454
454
  le("search"),
455
455
  (g) => ({
@@ -461,34 +461,34 @@ const re = /* @__PURE__ */ he(xe), U = (...o) => (t) => re.all([
461
461
  ae(`${o}/${d}/${X}`)
462
462
  ]);
463
463
  try {
464
- const g = await t.get(h), { items: u, next: j } = w(g.data, [
465
- Q(),
464
+ const g = await t.get(h), { items: u, next: j } = A(g.data, [
465
+ W(),
466
466
  U(J())
467
467
  ]);
468
468
  return {
469
- items: w(u, [
469
+ items: A(u, [
470
470
  Be(f),
471
- Pe
471
+ Fe
472
472
  ]),
473
473
  next: j
474
474
  };
475
475
  } catch (g) {
476
- throw w(g, [
476
+ throw A(g, [
477
477
  z
478
478
  ]);
479
479
  }
480
480
  },
481
481
  patchPermissions: async ({ changes: d, id: m }) => {
482
- const p = w(d, [
482
+ const p = A(d, [
483
483
  M()
484
484
  ]), f = `${o}/${m}/${X}`;
485
485
  try {
486
486
  const h = await t.patch(f, p);
487
- return w(h.data, [
488
- Q()
487
+ return A(h.data, [
488
+ W()
489
489
  ]);
490
490
  } catch (h) {
491
- throw w(h, [
491
+ throw A(h, [
492
492
  z
493
493
  ]);
494
494
  }
@@ -645,7 +645,7 @@ e.object({
645
645
  "object.name": e.string().describe("display name"),
646
646
  "object.id": e.string().describe("identifier")
647
647
  });
648
- const Fe = e.object({
648
+ const Pe = e.object({
649
649
  grantee: e.string().optional(),
650
650
  grants: e.string().optional(),
651
651
  object: e.object({
@@ -653,7 +653,7 @@ const Fe = e.object({
653
653
  name: e.string().optional()
654
654
  }).optional()
655
655
  });
656
- e.array(Fe);
656
+ e.array(Pe);
657
657
  e.object({
658
658
  granted: e.string().optional(),
659
659
  revoked: e.string().optional()
@@ -767,7 +767,7 @@ e.object({
767
767
  fields: e.array(e.string()).optional(),
768
768
  filters: e.array(e.string()).optional()
769
769
  });
770
- const Ve = "ABSENCE_TYPE_UNSPECIFIED";
770
+ const Ye = "ABSENCE_TYPE_UNSPECIFIED";
771
771
  e.object({
772
772
  items: e.array(
773
773
  e.object({
@@ -785,7 +785,7 @@ e.object({
785
785
  "ABSENCE_TYPE_VACATION",
786
786
  "ABSENCE_TYPE_SICKDAY"
787
787
  ]).default(
788
- Ve
788
+ Ye
789
789
  ),
790
790
  updatedAt: e.string().optional(),
791
791
  updatedBy: e.object({
@@ -798,7 +798,7 @@ e.object({
798
798
  e.object({
799
799
  agent_id: e.string()
800
800
  });
801
- const Ye = "ABSENCE_TYPE_UNSPECIFIED";
801
+ const Ve = "ABSENCE_TYPE_UNSPECIFIED";
802
802
  e.object({
803
803
  item: e.object({
804
804
  absentAt: e.string().optional(),
@@ -814,7 +814,7 @@ e.object({
814
814
  "ABSENCE_TYPE_DAYOFF",
815
815
  "ABSENCE_TYPE_VACATION",
816
816
  "ABSENCE_TYPE_SICKDAY"
817
- ]).default(Ye),
817
+ ]).default(Ve),
818
818
  updatedAt: e.string().optional(),
819
819
  updatedBy: e.object({
820
820
  id: e.string().optional(),
@@ -910,7 +910,7 @@ e.object({
910
910
  }).optional()
911
911
  }).optional()
912
912
  });
913
- const We = "ABSENCE_TYPE_UNSPECIFIED";
913
+ const Qe = "ABSENCE_TYPE_UNSPECIFIED";
914
914
  e.object({
915
915
  item: e.object({
916
916
  absentAt: e.string().optional(),
@@ -927,7 +927,7 @@ e.object({
927
927
  "ABSENCE_TYPE_VACATION",
928
928
  "ABSENCE_TYPE_SICKDAY"
929
929
  ]).default(
930
- We
930
+ Qe
931
931
  ),
932
932
  updatedAt: e.string().optional(),
933
933
  updatedBy: e.object({
@@ -945,7 +945,7 @@ e.object({
945
945
  onlyClosed: e.boolean().optional().describe("filter"),
946
946
  onlyUnprocessed: e.boolean().optional()
947
947
  });
948
- const Qe = "phone";
948
+ const We = "phone";
949
949
  e.object({
950
950
  items: e.array(
951
951
  e.object({
@@ -1045,7 +1045,7 @@ Contact **type**-specific string.`
1045
1045
  "contact",
1046
1046
  "location"
1047
1047
  ]).default(
1048
- Qe
1048
+ We
1049
1049
  ).describe("Request to share contact info."),
1050
1050
  text: e.string().optional().describe("Caption to display."),
1051
1051
  url: e.string().optional().describe("URL to navigate to ..")
@@ -4258,6 +4258,7 @@ e.object({
4258
4258
  expiresAt: e.string().optional(),
4259
4259
  id: e.string().optional(),
4260
4260
  issuedAt: e.string().optional(),
4261
+ name: e.string().optional(),
4261
4262
  prod: e.string().optional(),
4262
4263
  scope: e.array(e.string()).optional(),
4263
4264
  user: e.object({
@@ -4309,6 +4310,7 @@ e.object({
4309
4310
  expiresAt: e.string().optional(),
4310
4311
  id: e.string().optional(),
4311
4312
  issuedAt: e.string().optional(),
4313
+ name: e.string().optional(),
4312
4314
  prod: e.string().optional(),
4313
4315
  scope: e.array(e.string()).optional(),
4314
4316
  user: e.object({
@@ -5351,6 +5353,7 @@ e.object({
5351
5353
  name: e.string().optional()
5352
5354
  }).optional(),
5353
5355
  endSec: e.number().optional(),
5356
+ fileId: e.string().optional(),
5354
5357
  id: e.string().optional(),
5355
5358
  note: e.string().optional(),
5356
5359
  startSec: e.number().optional(),
@@ -5483,6 +5486,29 @@ e.object({
5483
5486
  }).optional(),
5484
5487
  memberId: e.string().optional(),
5485
5488
  parentId: e.string().optional(),
5489
+ qualityMetrics: e.object({
5490
+ jitterAvg: e.number().optional(),
5491
+ jitterMax: e.number().optional(),
5492
+ jitterMaxAt: e.number().optional(),
5493
+ jitterMin: e.number().optional(),
5494
+ jitterMinAt: e.number().optional(),
5495
+ mosAvg: e.number().optional(),
5496
+ mosMax: e.number().optional(),
5497
+ mosMaxAt: e.number().optional(),
5498
+ mosMin: e.number().optional(),
5499
+ mosMinAt: e.number().optional(),
5500
+ packetlossAvg: e.number().optional(),
5501
+ packetlossMax: e.number().optional(),
5502
+ packetlossMaxAt: e.number().optional(),
5503
+ packetlossMin: e.number().optional(),
5504
+ packetlossMinAt: e.number().optional(),
5505
+ roundtripAvg: e.number().optional(),
5506
+ roundtripMax: e.number().optional(),
5507
+ roundtripMaxAt: e.number().optional(),
5508
+ roundtripMin: e.number().optional(),
5509
+ roundtripMinAt: e.number().optional(),
5510
+ sipId: e.string().optional()
5511
+ }).optional(),
5486
5512
  queue: e.object({
5487
5513
  id: e.string().optional(),
5488
5514
  name: e.string().optional()
@@ -5641,6 +5667,7 @@ e.object({
5641
5667
  name: e.string().optional()
5642
5668
  }).optional(),
5643
5669
  endSec: e.number().optional(),
5670
+ fileId: e.string().optional(),
5644
5671
  id: e.string().optional(),
5645
5672
  note: e.string().optional(),
5646
5673
  startSec: e.number().optional(),
@@ -5773,6 +5800,29 @@ e.object({
5773
5800
  }).optional(),
5774
5801
  memberId: e.string().optional(),
5775
5802
  parentId: e.string().optional(),
5803
+ qualityMetrics: e.object({
5804
+ jitterAvg: e.number().optional(),
5805
+ jitterMax: e.number().optional(),
5806
+ jitterMaxAt: e.number().optional(),
5807
+ jitterMin: e.number().optional(),
5808
+ jitterMinAt: e.number().optional(),
5809
+ mosAvg: e.number().optional(),
5810
+ mosMax: e.number().optional(),
5811
+ mosMaxAt: e.number().optional(),
5812
+ mosMin: e.number().optional(),
5813
+ mosMinAt: e.number().optional(),
5814
+ packetlossAvg: e.number().optional(),
5815
+ packetlossMax: e.number().optional(),
5816
+ packetlossMaxAt: e.number().optional(),
5817
+ packetlossMin: e.number().optional(),
5818
+ packetlossMinAt: e.number().optional(),
5819
+ roundtripAvg: e.number().optional(),
5820
+ roundtripMax: e.number().optional(),
5821
+ roundtripMaxAt: e.number().optional(),
5822
+ roundtripMin: e.number().optional(),
5823
+ roundtripMinAt: e.number().optional(),
5824
+ sipId: e.string().optional()
5825
+ }).optional(),
5776
5826
  queue: e.object({
5777
5827
  id: e.string().optional(),
5778
5828
  name: e.string().optional()
@@ -5919,6 +5969,7 @@ e.object({
5919
5969
  });
5920
5970
  e.object({
5921
5971
  endSec: e.number().optional(),
5972
+ fileId: e.string().optional(),
5922
5973
  note: e.string().optional(),
5923
5974
  startSec: e.number().optional()
5924
5975
  });
@@ -5930,6 +5981,7 @@ e.object({
5930
5981
  name: e.string().optional()
5931
5982
  }).optional(),
5932
5983
  endSec: e.number().optional(),
5984
+ fileId: e.string().optional(),
5933
5985
  id: e.string().optional(),
5934
5986
  note: e.string().optional(),
5935
5987
  startSec: e.number().optional(),
@@ -5951,6 +6003,7 @@ e.object({
5951
6003
  name: e.string().optional()
5952
6004
  }).optional(),
5953
6005
  endSec: e.number().optional(),
6006
+ fileId: e.string().optional(),
5954
6007
  id: e.string().optional(),
5955
6008
  note: e.string().optional(),
5956
6009
  startSec: e.number().optional(),
@@ -5977,6 +6030,7 @@ e.object({
5977
6030
  name: e.string().optional()
5978
6031
  }).optional(),
5979
6032
  endSec: e.number().optional(),
6033
+ fileId: e.string().optional(),
5980
6034
  id: e.string().optional(),
5981
6035
  note: e.string().optional(),
5982
6036
  startSec: e.number().optional(),
@@ -6021,6 +6075,7 @@ e.object({
6021
6075
  name: e.string().optional()
6022
6076
  }).optional(),
6023
6077
  endSec: e.number().optional(),
6078
+ fileId: e.string().optional(),
6024
6079
  id: e.string().optional(),
6025
6080
  note: e.string().optional(),
6026
6081
  startSec: e.number().optional(),
@@ -6147,6 +6202,29 @@ e.object({
6147
6202
  }).optional(),
6148
6203
  memberId: e.string().optional(),
6149
6204
  parentId: e.string().optional(),
6205
+ qualityMetrics: e.object({
6206
+ jitterAvg: e.number().optional(),
6207
+ jitterMax: e.number().optional(),
6208
+ jitterMaxAt: e.number().optional(),
6209
+ jitterMin: e.number().optional(),
6210
+ jitterMinAt: e.number().optional(),
6211
+ mosAvg: e.number().optional(),
6212
+ mosMax: e.number().optional(),
6213
+ mosMaxAt: e.number().optional(),
6214
+ mosMin: e.number().optional(),
6215
+ mosMinAt: e.number().optional(),
6216
+ packetlossAvg: e.number().optional(),
6217
+ packetlossMax: e.number().optional(),
6218
+ packetlossMaxAt: e.number().optional(),
6219
+ packetlossMin: e.number().optional(),
6220
+ packetlossMinAt: e.number().optional(),
6221
+ roundtripAvg: e.number().optional(),
6222
+ roundtripMax: e.number().optional(),
6223
+ roundtripMaxAt: e.number().optional(),
6224
+ roundtripMin: e.number().optional(),
6225
+ roundtripMinAt: e.number().optional(),
6226
+ sipId: e.string().optional()
6227
+ }).optional(),
6150
6228
  queue: e.object({
6151
6229
  id: e.string().optional(),
6152
6230
  name: e.string().optional()
@@ -6936,7 +7014,7 @@ e.object({
6936
7014
  qin: e.string().optional().describe("Specify which fields to apply 'q' to."),
6937
7015
  filtersV1: e.string().optional().describe("Updated filters with CEL syntax.")
6938
7016
  });
6939
- const Rt = "RELATION_TYPE_UNSPECIFIED", At = "TYPE_UNSPECIFIED";
7017
+ const Rt = "RELATION_TYPE_UNSPECIFIED", wt = "TYPE_UNSPECIFIED";
6940
7018
  e.object({
6941
7019
  items: e.array(
6942
7020
  e.object({
@@ -7228,7 +7306,7 @@ e.object({
7228
7306
  "EMAIL",
7229
7307
  "API",
7230
7308
  "MANUAL"
7231
- ]).default(At).describe(
7309
+ ]).default(wt).describe(
7232
7310
  `Represents a source type for the source entity.
7233
7311
 
7234
7312
  - TYPE_UNSPECIFIED: Unspecified source type.
@@ -7286,7 +7364,7 @@ Set to true to explicitly prevent the trigger from running (e.g., when called fr
7286
7364
  [WTEL-7055]`
7287
7365
  )
7288
7366
  });
7289
- const wt = "RELATION_TYPE_UNSPECIFIED";
7367
+ const At = "RELATION_TYPE_UNSPECIFIED";
7290
7368
  e.object({
7291
7369
  assignee: e.object({
7292
7370
  id: e.string().optional(),
@@ -7346,7 +7424,7 @@ e.object({
7346
7424
  "IS_CHILD_OF",
7347
7425
  "IS_PARENT_OF",
7348
7426
  "RELATES_TO"
7349
- ]).default(wt).describe("Type of relation (e.g., duplicate, linked).")
7427
+ ]).default(At).describe("Type of relation (e.g., duplicate, linked).")
7350
7428
  }).describe("Structure for related cases input when creating a case.")
7351
7429
  ).optional().describe("List of related cases."),
7352
7430
  reporter: e.object({
@@ -7377,7 +7455,7 @@ e.object({
7377
7455
  "Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
7378
7456
  )
7379
7457
  }).describe("Input structure for creating a new case.");
7380
- const Dt = "RELATION_TYPE_UNSPECIFIED", Ot = "TYPE_UNSPECIFIED";
7458
+ const vt = "RELATION_TYPE_UNSPECIFIED", Dt = "TYPE_UNSPECIFIED";
7381
7459
  e.object({
7382
7460
  assignee: e.object({
7383
7461
  id: e.string().optional(),
@@ -7566,7 +7644,7 @@ e.object({
7566
7644
  "IS_CHILD_OF",
7567
7645
  "IS_PARENT_OF",
7568
7646
  "RELATES_TO"
7569
- ]).default(Dt).describe("Relation type between cases."),
7647
+ ]).default(vt).describe("Relation type between cases."),
7570
7648
  updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
7571
7649
  updatedBy: e.object({
7572
7650
  id: e.string().optional(),
@@ -7657,7 +7735,7 @@ e.object({
7657
7735
  "EMAIL",
7658
7736
  "API",
7659
7737
  "MANUAL"
7660
- ]).default(Ot).describe(
7738
+ ]).default(Dt).describe(
7661
7739
  `Represents a source type for the source entity.
7662
7740
 
7663
7741
  - TYPE_UNSPECIFIED: Unspecified source type.
@@ -7708,7 +7786,8 @@ e.object({
7708
7786
  contactId: e.string().optional(),
7709
7787
  qin: e.string().optional(),
7710
7788
  filtersV1: e.string().optional(),
7711
- format: e.string().optional()
7789
+ format: e.string().optional(),
7790
+ separator: e.string().optional()
7712
7791
  });
7713
7792
  e.object({
7714
7793
  error: e.object({
@@ -7730,7 +7809,7 @@ e.object({
7730
7809
  e.object({
7731
7810
  fields: e.array(e.string()).optional().describe("List of fields to include in the deleted case response.")
7732
7811
  });
7733
- const vt = "RELATION_TYPE_UNSPECIFIED", Et = "TYPE_UNSPECIFIED";
7812
+ const Ot = "RELATION_TYPE_UNSPECIFIED", Et = "TYPE_UNSPECIFIED";
7734
7813
  e.object({
7735
7814
  assignee: e.object({
7736
7815
  id: e.string().optional(),
@@ -7919,7 +7998,7 @@ e.object({
7919
7998
  "IS_CHILD_OF",
7920
7999
  "IS_PARENT_OF",
7921
8000
  "RELATES_TO"
7922
- ]).default(vt).describe("Relation type between cases."),
8001
+ ]).default(Ot).describe("Relation type between cases."),
7923
8002
  updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
7924
8003
  updatedBy: e.object({
7925
8004
  id: e.string().optional(),
@@ -8058,7 +8137,7 @@ e.object({
8058
8137
  e.object({
8059
8138
  fields: e.array(e.string()).optional().describe("List of fields to include in the response.")
8060
8139
  });
8061
- const Ct = "RELATION_TYPE_UNSPECIFIED", St = "TYPE_UNSPECIFIED";
8140
+ const Ct = "RELATION_TYPE_UNSPECIFIED", qt = "TYPE_UNSPECIFIED";
8062
8141
  e.object({
8063
8142
  assignee: e.object({
8064
8143
  id: e.string().optional(),
@@ -8338,7 +8417,7 @@ e.object({
8338
8417
  "EMAIL",
8339
8418
  "API",
8340
8419
  "MANUAL"
8341
- ]).default(St).describe(
8420
+ ]).default(qt).describe(
8342
8421
  `Represents a source type for the source entity.
8343
8422
 
8344
8423
  - TYPE_UNSPECIFIED: Unspecified source type.
@@ -8463,7 +8542,7 @@ e.object({
8463
8542
  "Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
8464
8543
  )
8465
8544
  });
8466
- const _t = "RELATION_TYPE_UNSPECIFIED", qt = "TYPE_UNSPECIFIED";
8545
+ const kt = "RELATION_TYPE_UNSPECIFIED", xt = "TYPE_UNSPECIFIED";
8467
8546
  e.object({
8468
8547
  case: e.object({
8469
8548
  assignee: e.object({
@@ -8656,7 +8735,7 @@ e.object({
8656
8735
  "IS_PARENT_OF",
8657
8736
  "RELATES_TO"
8658
8737
  ]).default(
8659
- _t
8738
+ kt
8660
8739
  ).describe("Relation type between cases."),
8661
8740
  updatedAt: e.string().optional().describe(
8662
8741
  "Timestamp (in milliseconds) of the last update."
@@ -8750,7 +8829,7 @@ e.object({
8750
8829
  "EMAIL",
8751
8830
  "API",
8752
8831
  "MANUAL"
8753
- ]).default(qt).describe(
8832
+ ]).default(xt).describe(
8754
8833
  `Represents a source type for the source entity.
8755
8834
 
8756
8835
  - TYPE_UNSPECIFIED: Unspecified source type.
@@ -8883,7 +8962,7 @@ e.object({
8883
8962
  "Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
8884
8963
  )
8885
8964
  });
8886
- const kt = "RELATION_TYPE_UNSPECIFIED", Ut = "TYPE_UNSPECIFIED";
8965
+ const St = "RELATION_TYPE_UNSPECIFIED", Ut = "TYPE_UNSPECIFIED";
8887
8966
  e.object({
8888
8967
  case: e.object({
8889
8968
  assignee: e.object({
@@ -9076,7 +9155,7 @@ e.object({
9076
9155
  "IS_PARENT_OF",
9077
9156
  "RELATES_TO"
9078
9157
  ]).default(
9079
- kt
9158
+ St
9080
9159
  ).describe("Relation type between cases."),
9081
9160
  updatedAt: e.string().optional().describe(
9082
9161
  "Timestamp (in milliseconds) of the last update."
@@ -9234,7 +9313,7 @@ e.object({
9234
9313
  qin: e.string().optional().describe("Specify which fields to apply 'q' to."),
9235
9314
  filtersV1: e.string().optional().describe("Updated filters with CEL syntax.")
9236
9315
  });
9237
- const xt = "RELATION_TYPE_UNSPECIFIED", Bt = "TYPE_UNSPECIFIED";
9316
+ const _t = "RELATION_TYPE_UNSPECIFIED", Bt = "TYPE_UNSPECIFIED";
9238
9317
  e.object({
9239
9318
  items: e.array(
9240
9319
  e.object({
@@ -9432,7 +9511,7 @@ e.object({
9432
9511
  "IS_PARENT_OF",
9433
9512
  "RELATES_TO"
9434
9513
  ]).default(
9435
- xt
9514
+ _t
9436
9515
  ).describe("Relation type between cases."),
9437
9516
  updatedAt: e.string().optional().describe(
9438
9517
  "Timestamp (in milliseconds) of the last update."
@@ -11060,7 +11139,7 @@ e.object({
11060
11139
  ).optional(),
11061
11140
  enabled: e.boolean().optional()
11062
11141
  });
11063
- const Pt = "DefaultProvider", Ft = "DefaultService";
11142
+ const Ft = "DefaultProvider", Pt = "DefaultService";
11064
11143
  e.object({
11065
11144
  items: e.array(
11066
11145
  e.object({
@@ -11079,12 +11158,12 @@ e.object({
11079
11158
  "Microsoft",
11080
11159
  "Google",
11081
11160
  "ElevenLabs"
11082
- ]).default(Pt),
11161
+ ]).default(Ft),
11083
11162
  service: e.enum([
11084
11163
  "DefaultService",
11085
11164
  "STT",
11086
11165
  "TTS"
11087
- ]).default(Ft),
11166
+ ]).default(Pt),
11088
11167
  updatedAt: e.string().optional(),
11089
11168
  updatedBy: e.object({
11090
11169
  id: e.string().optional(),
@@ -11112,7 +11191,7 @@ e.object({
11112
11191
  "TTS"
11113
11192
  ]).default(Mt)
11114
11193
  }).describe("Create cognitive profile request body for TTS and TTS");
11115
- const zt = "DefaultProvider", Vt = "DefaultService";
11194
+ const zt = "DefaultProvider", Yt = "DefaultService";
11116
11195
  e.object({
11117
11196
  createdAt: e.string().optional(),
11118
11197
  createdBy: e.object({
@@ -11134,7 +11213,7 @@ e.object({
11134
11213
  "DefaultService",
11135
11214
  "STT",
11136
11215
  "TTS"
11137
- ]).default(Vt),
11216
+ ]).default(Yt),
11138
11217
  updatedAt: e.string().optional(),
11139
11218
  updatedBy: e.object({
11140
11219
  id: e.string().optional(),
@@ -11144,7 +11223,7 @@ e.object({
11144
11223
  e.object({
11145
11224
  id: e.string()
11146
11225
  });
11147
- const Yt = "DefaultProvider", Gt = "DefaultService";
11226
+ const Vt = "DefaultProvider", Gt = "DefaultService";
11148
11227
  e.object({
11149
11228
  createdAt: e.string().optional(),
11150
11229
  createdBy: e.object({
@@ -11161,7 +11240,7 @@ e.object({
11161
11240
  "Microsoft",
11162
11241
  "Google",
11163
11242
  "ElevenLabs"
11164
- ]).default(Yt),
11243
+ ]).default(Vt),
11165
11244
  service: e.enum([
11166
11245
  "DefaultService",
11167
11246
  "STT",
@@ -11208,7 +11287,7 @@ e.object({
11208
11287
  e.object({
11209
11288
  id: e.string()
11210
11289
  });
11211
- const Wt = "DefaultProvider", Qt = "DefaultService";
11290
+ const Qt = "DefaultProvider", Wt = "DefaultService";
11212
11291
  e.object({
11213
11292
  default: e.boolean().optional(),
11214
11293
  description: e.string().optional(),
@@ -11220,12 +11299,12 @@ e.object({
11220
11299
  "Microsoft",
11221
11300
  "Google",
11222
11301
  "ElevenLabs"
11223
- ]).default(Wt),
11302
+ ]).default(Qt),
11224
11303
  service: e.enum([
11225
11304
  "DefaultService",
11226
11305
  "STT",
11227
11306
  "TTS"
11228
- ]).default(Qt)
11307
+ ]).default(Wt)
11229
11308
  });
11230
11309
  const Xt = "DefaultProvider", Jt = "DefaultService";
11231
11310
  e.object({
@@ -15451,7 +15530,7 @@ whose member channel(s) contain
15451
15530
  a specified set of variables.`
15452
15531
  )
15453
15532
  });
15454
- const Ao = "phone";
15533
+ const wo = "phone";
15455
15534
  e.object({
15456
15535
  chats: e.array(
15457
15536
  e.object({
@@ -15565,7 +15644,7 @@ Contact **type**-specific string.`
15565
15644
  "contact",
15566
15645
  "location"
15567
15646
  ]).default(
15568
- Ao
15647
+ wo
15569
15648
  ).describe("Request to share contact info."),
15570
15649
  text: e.string().optional().describe("Caption to display."),
15571
15650
  url: e.string().optional().describe("URL to navigate to ..")
@@ -15655,7 +15734,7 @@ whose member channel(s) contain
15655
15734
  a specified set of variables.`
15656
15735
  )
15657
15736
  });
15658
- const wo = "phone";
15737
+ const Ao = "phone";
15659
15738
  e.object({
15660
15739
  chats: e.array(
15661
15740
  e.object({
@@ -15769,7 +15848,7 @@ Contact **type**-specific string.`
15769
15848
  "contact",
15770
15849
  "location"
15771
15850
  ]).default(
15772
- wo
15851
+ Ao
15773
15852
  ).describe("Request to share contact info."),
15774
15853
  text: e.string().optional().describe("Caption to display."),
15775
15854
  url: e.string().optional().describe("URL to navigate to ..")
@@ -15887,6 +15966,7 @@ e.object({
15887
15966
  expiresAt: e.string().optional(),
15888
15967
  id: e.string().optional(),
15889
15968
  issuedAt: e.string().optional(),
15969
+ name: e.string().optional(),
15890
15970
  prod: e.string().optional(),
15891
15971
  scope: e.array(e.string()).optional(),
15892
15972
  user: e.object({
@@ -15952,6 +16032,7 @@ e.object({
15952
16032
  expiresAt: e.string().optional(),
15953
16033
  id: e.string().optional(),
15954
16034
  issuedAt: e.string().optional(),
16035
+ name: e.string().optional(),
15955
16036
  prod: e.string().optional(),
15956
16037
  scope: e.array(e.string()).optional(),
15957
16038
  user: e.object({
@@ -16020,6 +16101,7 @@ e.object({
16020
16101
  expiresAt: e.string().optional(),
16021
16102
  id: e.string().optional(),
16022
16103
  issuedAt: e.string().optional(),
16104
+ name: e.string().optional(),
16023
16105
  prod: e.string().optional(),
16024
16106
  scope: e.array(e.string()).optional(),
16025
16107
  user: e.object({
@@ -16080,6 +16162,7 @@ e.object({
16080
16162
  expiresAt: e.string().optional(),
16081
16163
  id: e.string().optional(),
16082
16164
  issuedAt: e.string().optional(),
16165
+ name: e.string().optional(),
16083
16166
  prod: e.string().optional(),
16084
16167
  scope: e.array(e.string()).optional(),
16085
16168
  user: e.object({
@@ -16146,6 +16229,7 @@ e.object({
16146
16229
  expiresAt: e.string().optional(),
16147
16230
  id: e.string().optional(),
16148
16231
  issuedAt: e.string().optional(),
16232
+ name: e.string().optional(),
16149
16233
  prod: e.string().optional(),
16150
16234
  scope: e.array(e.string()).optional(),
16151
16235
  user: e.object({
@@ -16201,6 +16285,7 @@ e.object({
16201
16285
  expiresAt: e.string().optional(),
16202
16286
  id: e.string().optional(),
16203
16287
  issuedAt: e.string().optional(),
16288
+ name: e.string().optional(),
16204
16289
  prod: e.string().optional(),
16205
16290
  scope: e.array(e.string()).optional(),
16206
16291
  user: e.object({
@@ -16254,8 +16339,8 @@ e.object({
16254
16339
  id: e.string().optional(),
16255
16340
  permanent: e.boolean().optional()
16256
16341
  });
16257
- const Do = e.string();
16258
- e.array(Do);
16342
+ const vo = e.string();
16343
+ e.array(vo);
16259
16344
  e.object({
16260
16345
  deleted: e.array(
16261
16346
  e.object({
@@ -16749,7 +16834,7 @@ e.object({
16749
16834
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result dataset."),
16750
16835
  id: e.array(e.string()).describe("[`record.id`]")
16751
16836
  });
16752
- const Oo = "none";
16837
+ const Do = "none";
16753
16838
  e.object({
16754
16839
  data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
16755
16840
  next: e.boolean().optional(),
@@ -16876,7 +16961,7 @@ code`),
16876
16961
  "richtext",
16877
16962
  "datetime",
16878
16963
  "duration"
16879
- ]).default(Oo).describe("Required. The field type."),
16964
+ ]).default(Do).describe("Required. The field type."),
16880
16965
  lookup: e.object({
16881
16966
  display: e.string().optional().describe(
16882
16967
  "[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
@@ -16977,14 +17062,14 @@ Used as [lookup].id setting for this [struct] type.`
16977
17062
  e.object({
16978
17063
  repo: e.string().describe("[`types.repo`]")
16979
17064
  });
16980
- const vo = "*", Eo = /^[+|-|!]?\w+$/, Co = "*";
17065
+ const Oo = "*", Eo = /^[+|-|!]?\w+$/, Co = "*";
16981
17066
  e.object({
16982
17067
  size: e.number().optional().describe(`Number of result records (per page).
16983
17068
  Default: 16.`),
16984
17069
  page: e.number().optional().describe(`Page number of result set of records.
16985
17070
  Default: 1.`),
16986
17071
  sort: e.array(
16987
- e.string().regex(Eo).default(vo)
17072
+ e.string().regex(Eo).default(Oo)
16988
17073
  ).optional().describe(
16989
17074
  '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.'
16990
17075
  ),
@@ -17009,7 +17094,7 @@ USCORE = %x5F ; underscore ; "_"
17009
17094
  id: e.array(e.string()).optional().describe("[`record.id`]"),
17010
17095
  filters: e.string().optional().describe("Filter string in CEL format.")
17011
17096
  });
17012
- const So = "none";
17097
+ const qo = "none";
17013
17098
  e.object({
17014
17099
  data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
17015
17100
  next: e.boolean().optional(),
@@ -17136,7 +17221,7 @@ code`),
17136
17221
  "richtext",
17137
17222
  "datetime",
17138
17223
  "duration"
17139
- ]).default(So).describe("Required. The field type."),
17224
+ ]).default(qo).describe("Required. The field type."),
17140
17225
  lookup: e.object({
17141
17226
  display: e.string().optional().describe(
17142
17227
  "[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
@@ -17242,7 +17327,7 @@ e.looseObject({});
17242
17327
  e.object({
17243
17328
  repo: e.string().describe("`types.repo`")
17244
17329
  });
17245
- const _o = "continue", qo = "continue";
17330
+ const ko = "continue", xo = "continue";
17246
17331
  e.object({
17247
17332
  data: e.string().optional(),
17248
17333
  fields: e.record(e.string(), e.number()).optional(),
@@ -17251,13 +17336,13 @@ e.object({
17251
17336
  onDataError: e.enum([
17252
17337
  "continue",
17253
17338
  "break"
17254
- ]).default(_o),
17339
+ ]).default(ko),
17255
17340
  onEmptyLine: e.enum([
17256
17341
  "continue",
17257
17342
  "break"
17258
- ]).default(qo)
17343
+ ]).default(xo)
17259
17344
  });
17260
- const ko = "none";
17345
+ const So = "none";
17261
17346
  e.object({
17262
17347
  data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
17263
17348
  next: e.boolean().optional(),
@@ -17384,7 +17469,7 @@ code`),
17384
17469
  "richtext",
17385
17470
  "datetime",
17386
17471
  "duration"
17387
- ]).default(ko).describe("Required. The field type."),
17472
+ ]).default(So).describe("Required. The field type."),
17388
17473
  lookup: e.object({
17389
17474
  display: e.string().optional().describe(
17390
17475
  "[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
@@ -17718,9 +17803,9 @@ e.object({
17718
17803
  repo: e.string().describe("[`types.repo`]"),
17719
17804
  id: e.string().describe("[`record.id`]")
17720
17805
  });
17721
- const xo = "*";
17806
+ const _o = "*";
17722
17807
  e.object({
17723
- fields: e.array(e.string().default(xo)).optional().describe(
17808
+ fields: e.array(e.string().default(_o)).optional().describe(
17724
17809
  `Fields [Q]uery to build result dataset record.
17725
17810
  \`\`\`
17726
17811
  fields ::= field [ *( "," field ) ]
@@ -17989,7 +18074,7 @@ int64 dc = 0;`)
17989
18074
  next: e.boolean().optional(),
17990
18075
  page: e.number().optional().describe("Page number of results.")
17991
18076
  }).describe("Dataset of structured types.");
17992
- const No = "*", Po = /^[+|-|!]?\w+$/, Fo = "*";
18077
+ const No = "*", Fo = /^[+|-|!]?\w+$/, Po = "*";
17993
18078
  e.object({
17994
18079
  q: e.string().optional().describe(
17995
18080
  "Search term:\n`?` - matches any character\n`*` - matches 0 or more characters\ne.g.: name,emails{type},labels etc..."
@@ -18008,11 +18093,11 @@ Default: 16.`),
18008
18093
  page: e.number().optional().describe(`Page number of result set of records.
18009
18094
  Default: 1.`),
18010
18095
  sort: e.array(
18011
- e.string().regex(Po).default(No)
18096
+ e.string().regex(Fo).default(No)
18012
18097
  ).optional().describe(
18013
18098
  '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.'
18014
18099
  ),
18015
- fields: e.array(e.string().default(Fo)).optional().describe(
18100
+ fields: e.array(e.string().default(Po)).optional().describe(
18016
18101
  `Fields [Q]uery to build result dataset record.
18017
18102
  \`\`\`
18018
18103
  fields ::= field [ *( "," field ) ]
@@ -18680,7 +18765,7 @@ Used as [lookup].id setting for this [struct] type.`
18680
18765
  "string id = 1; // The [type] name (singular form), e.g.: `country`.\n\nRepository (dataset) name (plural form), e.g.: `countries`."
18681
18766
  )
18682
18767
  });
18683
- const Vo = "none";
18768
+ const Yo = "none";
18684
18769
  e.object({
18685
18770
  about: e.string().optional().describe("Optional. Short description."),
18686
18771
  administered: e.boolean().optional(),
@@ -18803,7 +18888,7 @@ code`),
18803
18888
  "richtext",
18804
18889
  "datetime",
18805
18890
  "duration"
18806
- ]).default(Vo).describe("Required. The field type."),
18891
+ ]).default(Yo).describe("Required. The field type."),
18807
18892
  lookup: e.object({
18808
18893
  display: e.string().optional().describe(
18809
18894
  "[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
@@ -18906,7 +18991,7 @@ e.object({
18906
18991
  e.object({
18907
18992
  fields: e.array(e.string()).optional().describe("Fields to return into result.")
18908
18993
  });
18909
- const Yo = "none";
18994
+ const Vo = "none";
18910
18995
  e.object({
18911
18996
  about: e.string().optional(),
18912
18997
  administered: e.boolean().optional(),
@@ -19021,7 +19106,7 @@ code`),
19021
19106
  "richtext",
19022
19107
  "datetime",
19023
19108
  "duration"
19024
- ]).default(Yo).describe("Required. The field type."),
19109
+ ]).default(Vo).describe("Required. The field type."),
19025
19110
  lookup: e.object({
19026
19111
  display: e.string().optional().describe(
19027
19112
  "[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
@@ -20254,14 +20339,14 @@ e.object({
20254
20339
  smtpHost: e.string().optional(),
20255
20340
  smtpPort: e.number().optional()
20256
20341
  });
20257
- const Wo = "EmailAuthTypeUndefined";
20342
+ const Qo = "EmailAuthTypeUndefined";
20258
20343
  e.object({
20259
20344
  activityAt: e.string().optional(),
20260
20345
  authType: e.enum([
20261
20346
  "EmailAuthTypeUndefined",
20262
20347
  "Plain",
20263
20348
  "OAuth2"
20264
- ]).default(Wo),
20349
+ ]).default(Qo),
20265
20350
  createdAt: e.string().optional(),
20266
20351
  createdBy: e.object({
20267
20352
  id: e.string().optional(),
@@ -20303,14 +20388,14 @@ e.object({
20303
20388
  e.object({
20304
20389
  id: e.string()
20305
20390
  });
20306
- const Qo = "EmailAuthTypeUndefined";
20391
+ const Wo = "EmailAuthTypeUndefined";
20307
20392
  e.object({
20308
20393
  activityAt: e.string().optional(),
20309
20394
  authType: e.enum([
20310
20395
  "EmailAuthTypeUndefined",
20311
20396
  "Plain",
20312
20397
  "OAuth2"
20313
- ]).default(Qo),
20398
+ ]).default(Wo),
20314
20399
  createdAt: e.string().optional(),
20315
20400
  createdBy: e.object({
20316
20401
  id: e.string().optional(),
@@ -23112,7 +23197,7 @@ e.object({
23112
23197
  speedDownload: e.string().optional(),
23113
23198
  speedUpload: e.string().optional()
23114
23199
  });
23115
- const Ai = "UnknownChannel";
23200
+ const wi = "UnknownChannel";
23116
23201
  e.object({
23117
23202
  channels: e.array(
23118
23203
  e.enum([
@@ -23125,7 +23210,7 @@ e.object({
23125
23210
  "KnowledgebaseChannel",
23126
23211
  "CasesChannel",
23127
23212
  "ScreenRecordingChannel"
23128
- ]).default(Ai)
23213
+ ]).default(wi)
23129
23214
  ).optional(),
23130
23215
  createdAt: e.string().optional(),
23131
23216
  createdBy: e.object({
@@ -23189,7 +23274,7 @@ e.object({
23189
23274
  " - ScreenRecordingChannel: ScreenshotChannel = 8; // deprecated"
23190
23275
  )
23191
23276
  });
23192
- const wi = "UnknownChannel";
23277
+ const Ai = "UnknownChannel";
23193
23278
  e.object({
23194
23279
  items: e.array(
23195
23280
  e.object({
@@ -23203,7 +23288,7 @@ e.object({
23203
23288
  "KnowledgebaseChannel",
23204
23289
  "CasesChannel",
23205
23290
  "ScreenRecordingChannel"
23206
- ]).default(wi),
23291
+ ]).default(Ai),
23207
23292
  id: e.string().optional(),
23208
23293
  mimeType: e.string().optional(),
23209
23294
  name: e.string().optional(),
@@ -23236,7 +23321,7 @@ e.object({
23236
23321
  e.object({
23237
23322
  agent_id: e.string()
23238
23323
  });
23239
- const Di = "PDF", Oi = "SCREENRECORDING";
23324
+ const vi = "PDF", Di = "SCREENRECORDING";
23240
23325
  e.object({
23241
23326
  page: e.number().optional(),
23242
23327
  size: e.number().optional(),
@@ -23253,13 +23338,13 @@ e.object({
23253
23338
  "PDF",
23254
23339
  "SCREENSHOT",
23255
23340
  "SCREENSHARING"
23256
- ]).default(Di),
23341
+ ]).default(vi),
23257
23342
  channel: e.enum([
23258
23343
  "SCREENRECORDING",
23259
23344
  "CALL"
23260
- ]).default(Oi)
23345
+ ]).default(Di)
23261
23346
  });
23262
- const vi = "UnknownChannel";
23347
+ const Oi = "UnknownChannel";
23263
23348
  e.object({
23264
23349
  items: e.array(
23265
23350
  e.object({
@@ -23274,7 +23359,7 @@ e.object({
23274
23359
  "CasesChannel",
23275
23360
  "ScreenRecordingChannel"
23276
23361
  ]).default(
23277
- vi
23362
+ Oi
23278
23363
  ),
23279
23364
  id: e.string().optional(),
23280
23365
  mimeType: e.string().optional(),
@@ -23399,7 +23484,7 @@ e.looseObject({});
23399
23484
  e.object({
23400
23485
  user_id: e.string()
23401
23486
  });
23402
- const Ci = "PDF", Si = "SCREENRECORDING";
23487
+ const Ci = "PDF", qi = "SCREENRECORDING";
23403
23488
  e.object({
23404
23489
  page: e.number().optional(),
23405
23490
  size: e.number().optional(),
@@ -23420,9 +23505,9 @@ e.object({
23420
23505
  channel: e.enum([
23421
23506
  "SCREENRECORDING",
23422
23507
  "CALL"
23423
- ]).default(Si)
23508
+ ]).default(qi)
23424
23509
  });
23425
- const _i = "UnknownChannel";
23510
+ const ki = "UnknownChannel";
23426
23511
  e.object({
23427
23512
  items: e.array(
23428
23513
  e.object({
@@ -23436,7 +23521,7 @@ e.object({
23436
23521
  "KnowledgebaseChannel",
23437
23522
  "CasesChannel",
23438
23523
  "ScreenRecordingChannel"
23439
- ]).default(_i),
23524
+ ]).default(ki),
23440
23525
  id: e.string().optional(),
23441
23526
  mimeType: e.string().optional(),
23442
23527
  name: e.string().optional(),
@@ -23712,7 +23797,7 @@ e.object({
23712
23797
  ).optional(),
23713
23798
  next: e.boolean().optional()
23714
23799
  });
23715
- const qi = "GROUP_TYPE_UNSPECIFIED";
23800
+ const xi = "GROUP_TYPE_UNSPECIFIED";
23716
23801
  e.object({
23717
23802
  page: e.number().optional().describe("Page number of result dataset records. offset = (page*size)"),
23718
23803
  size: e.number().optional().describe("Size count of records on result page. limit = (size++)"),
@@ -23727,7 +23812,7 @@ e.object({
23727
23812
  "GROUP_TYPE_UNSPECIFIED",
23728
23813
  "STATIC",
23729
23814
  "DYNAMIC"
23730
- ]).default(qi).describe(
23815
+ ]).default(xi).describe(
23731
23816
  `Filter by group type.
23732
23817
 
23733
23818
  - GROUP_TYPE_UNSPECIFIED: Default value
@@ -23736,7 +23821,7 @@ e.object({
23736
23821
  ),
23737
23822
  enabled: e.boolean().optional().describe("Filter by only enabled group")
23738
23823
  });
23739
- const ki = "GROUP_TYPE_UNSPECIFIED";
23824
+ const Si = "GROUP_TYPE_UNSPECIFIED";
23740
23825
  e.object({
23741
23826
  items: e.array(
23742
23827
  e.object({
@@ -23784,7 +23869,7 @@ e.object({
23784
23869
  "GROUP_TYPE_UNSPECIFIED",
23785
23870
  "STATIC",
23786
23871
  "DYNAMIC"
23787
- ]).default(ki).describe(
23872
+ ]).default(Si).describe(
23788
23873
  `- GROUP_TYPE_UNSPECIFIED: Default value
23789
23874
  - STATIC: Static group
23790
23875
  - DYNAMIC: Dynamic group`
@@ -25014,7 +25099,7 @@ OUTPUT purpose only.`)
25014
25099
  e.object({
25015
25100
  id: e.string().describe("The unique ID of the group to delete.")
25016
25101
  });
25017
- const xi = "GROUP_TYPE_UNSPECIFIED";
25102
+ const _i = "GROUP_TYPE_UNSPECIFIED";
25018
25103
  e.object({
25019
25104
  conditions: e.array(
25020
25105
  e.object({
@@ -25058,7 +25143,7 @@ e.object({
25058
25143
  "GROUP_TYPE_UNSPECIFIED",
25059
25144
  "STATIC",
25060
25145
  "DYNAMIC"
25061
- ]).default(xi).describe(
25146
+ ]).default(_i).describe(
25062
25147
  `- GROUP_TYPE_UNSPECIFIED: Default value
25063
25148
  - STATIC: Static group
25064
25149
  - DYNAMIC: Dynamic group`
@@ -25208,7 +25293,7 @@ e.object({
25208
25293
  enabled: e.boolean().optional().describe("The new enabled status of the group."),
25209
25294
  name: e.string().optional().describe("The new name of the group.")
25210
25295
  });
25211
- const Pi = "GROUP_TYPE_UNSPECIFIED";
25296
+ const Fi = "GROUP_TYPE_UNSPECIFIED";
25212
25297
  e.object({
25213
25298
  conditions: e.array(
25214
25299
  e.object({
@@ -25252,7 +25337,7 @@ e.object({
25252
25337
  "GROUP_TYPE_UNSPECIFIED",
25253
25338
  "STATIC",
25254
25339
  "DYNAMIC"
25255
- ]).default(Pi).describe(
25340
+ ]).default(Fi).describe(
25256
25341
  `- GROUP_TYPE_UNSPECIFIED: Default value
25257
25342
  - STATIC: Static group
25258
25343
  - DYNAMIC: Dynamic group`
@@ -25342,7 +25427,7 @@ e.object({
25342
25427
  fields: e.array(e.string()).optional(),
25343
25428
  id: e.array(e.number()).optional()
25344
25429
  });
25345
- const Fi = "DefaultSourceType";
25430
+ const Pi = "DefaultSourceType";
25346
25431
  e.object({
25347
25432
  items: e.array(
25348
25433
  e.object({
@@ -25358,7 +25443,7 @@ e.object({
25358
25443
  sourceType: e.enum([
25359
25444
  "DefaultSourceType",
25360
25445
  "Dialer"
25361
- ]).default(Fi)
25446
+ ]).default(Pi)
25362
25447
  })
25363
25448
  ).optional(),
25364
25449
  next: e.boolean().optional()
@@ -25416,7 +25501,7 @@ e.object({
25416
25501
  e.object({
25417
25502
  id: e.number()
25418
25503
  });
25419
- const Vi = "DefaultSourceType";
25504
+ const Yi = "DefaultSourceType";
25420
25505
  e.object({
25421
25506
  parameters: e.looseObject({}).optional(),
25422
25507
  description: e.string().optional(),
@@ -25430,7 +25515,7 @@ e.object({
25430
25515
  sourceType: e.enum([
25431
25516
  "DefaultSourceType",
25432
25517
  "Dialer"
25433
- ]).default(Vi)
25518
+ ]).default(Yi)
25434
25519
  });
25435
25520
  e.object({
25436
25521
  id: e.number()
@@ -25441,7 +25526,7 @@ e.object({
25441
25526
  fields: e.array(e.string()).optional(),
25442
25527
  name: e.string().optional()
25443
25528
  }).describe("Patch import template for CSV");
25444
- const Yi = "DefaultSourceType";
25529
+ const Vi = "DefaultSourceType";
25445
25530
  e.object({
25446
25531
  parameters: e.looseObject({}).optional(),
25447
25532
  description: e.string().optional(),
@@ -25455,7 +25540,7 @@ e.object({
25455
25540
  sourceType: e.enum([
25456
25541
  "DefaultSourceType",
25457
25542
  "Dialer"
25458
- ]).default(Yi)
25543
+ ]).default(Vi)
25459
25544
  });
25460
25545
  e.object({
25461
25546
  id: e.number()
@@ -25708,7 +25793,7 @@ e.object({
25708
25793
  e.object({
25709
25794
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result.")
25710
25795
  });
25711
- const Wi = e.object({
25796
+ const Qi = e.object({
25712
25797
  etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
25713
25798
  label: e.string().optional().describe(
25714
25799
  `REQUIRED. Hashtag value;
@@ -25718,7 +25803,7 @@ but adding capital letters does make them easier to read:
25718
25803
  )
25719
25804
  }).describe(`A Contact's associated Tag.
25720
25805
  Output purpose only.`);
25721
- e.array(Wi);
25806
+ e.array(Qi);
25722
25807
  e.object({
25723
25808
  data: e.array(
25724
25809
  e.object({
@@ -25878,7 +25963,7 @@ e.object({
25878
25963
  e.object({
25879
25964
  fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result.")
25880
25965
  });
25881
- const Qi = e.object({
25966
+ const Wi = e.object({
25882
25967
  etag: e.string().describe("Unique ID of the latest version of an existing association."),
25883
25968
  primary: e.boolean().optional().describe(
25884
25969
  `Indicates whether this association must be default
@@ -25886,7 +25971,7 @@ among others of the same type.`
25886
25971
  ),
25887
25972
  tag: e.string().optional()
25888
25973
  }).describe("An input of the Contact's language.");
25889
- e.array(Qi);
25974
+ e.array(Wi);
25890
25975
  e.object({
25891
25976
  data: e.array(
25892
25977
  e.object({
@@ -36020,7 +36105,7 @@ e.object({
36020
36105
  e.object({
36021
36106
  fields: e.array(e.string()).optional().describe("Fields to include in the response.")
36022
36107
  });
36023
- const An = "RELATION_TYPE_UNSPECIFIED";
36108
+ const wn = "RELATION_TYPE_UNSPECIFIED";
36024
36109
  e.object({
36025
36110
  relatedCase: e.object({
36026
36111
  id: e.string().optional(),
@@ -36037,7 +36122,7 @@ e.object({
36037
36122
  "IS_CHILD_OF",
36038
36123
  "IS_PARENT_OF",
36039
36124
  "RELATES_TO"
36040
- ]).default(An).describe("Relation type between the cases."),
36125
+ ]).default(wn).describe("Relation type between the cases."),
36041
36126
  userId: e.object({
36042
36127
  id: e.string().optional(),
36043
36128
  name: e.string().optional()
@@ -36045,7 +36130,7 @@ e.object({
36045
36130
  "Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
36046
36131
  )
36047
36132
  }).describe("Input for creating a related case.");
36048
- const wn = "RELATION_TYPE_UNSPECIFIED";
36133
+ const An = "RELATION_TYPE_UNSPECIFIED";
36049
36134
  e.object({
36050
36135
  createdAt: e.string().optional().describe(
36051
36136
  "Timestamp (in milliseconds) of when the relation was created."
@@ -36083,7 +36168,7 @@ e.object({
36083
36168
  "IS_CHILD_OF",
36084
36169
  "IS_PARENT_OF",
36085
36170
  "RELATES_TO"
36086
- ]).default(wn).describe("Relation type between cases."),
36171
+ ]).default(An).describe("Relation type between cases."),
36087
36172
  updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
36088
36173
  updatedBy: e.object({
36089
36174
  id: e.string().optional(),
@@ -36097,7 +36182,7 @@ e.object({
36097
36182
  primary_case_etag: e.string().describe("Etag or ID of the primary case"),
36098
36183
  etag: e.string().describe("Identifier of the related case to delete.")
36099
36184
  });
36100
- const Dn = "RELATION_TYPE_UNSPECIFIED";
36185
+ const vn = "RELATION_TYPE_UNSPECIFIED";
36101
36186
  e.object({
36102
36187
  createdAt: e.string().optional().describe(
36103
36188
  "Timestamp (in milliseconds) of when the relation was created."
@@ -36135,7 +36220,7 @@ e.object({
36135
36220
  "IS_CHILD_OF",
36136
36221
  "IS_PARENT_OF",
36137
36222
  "RELATES_TO"
36138
- ]).default(Dn).describe("Relation type between cases."),
36223
+ ]).default(vn).describe("Relation type between cases."),
36139
36224
  updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
36140
36225
  updatedBy: e.object({
36141
36226
  id: e.string().optional(),
@@ -36152,7 +36237,7 @@ e.object({
36152
36237
  e.object({
36153
36238
  fields: e.array(e.string()).optional().describe("Fields to return in the response.")
36154
36239
  });
36155
- const On = "RELATION_TYPE_UNSPECIFIED";
36240
+ const Dn = "RELATION_TYPE_UNSPECIFIED";
36156
36241
  e.object({
36157
36242
  createdAt: e.string().optional().describe(
36158
36243
  "Timestamp (in milliseconds) of when the relation was created."
@@ -36190,7 +36275,7 @@ e.object({
36190
36275
  "IS_CHILD_OF",
36191
36276
  "IS_PARENT_OF",
36192
36277
  "RELATES_TO"
36193
- ]).default(On).describe("Relation type between cases."),
36278
+ ]).default(Dn).describe("Relation type between cases."),
36194
36279
  updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
36195
36280
  updatedBy: e.object({
36196
36281
  id: e.string().optional(),
@@ -36537,7 +36622,7 @@ e.object({
36537
36622
  editor: e.boolean().optional(),
36538
36623
  tags: e.array(e.string()).optional()
36539
36624
  });
36540
- const vn = "default";
36625
+ const On = "default";
36541
36626
  e.object({
36542
36627
  items: e.array(
36543
36628
  e.object({
@@ -36562,7 +36647,7 @@ e.object({
36562
36647
  "chat",
36563
36648
  "processing",
36564
36649
  "service"
36565
- ]).default(vn),
36650
+ ]).default(On),
36566
36651
  updatedAt: e.string().optional(),
36567
36652
  updatedBy: e.object({
36568
36653
  id: e.string().optional(),
@@ -36652,7 +36737,7 @@ e.object({
36652
36737
  e.object({
36653
36738
  domainId: e.string().optional()
36654
36739
  });
36655
- const Sn = "default";
36740
+ const qn = "default";
36656
36741
  e.object({
36657
36742
  tags: e.array(
36658
36743
  e.object({
@@ -36675,7 +36760,7 @@ e.object({
36675
36760
  "chat",
36676
36761
  "processing",
36677
36762
  "service"
36678
- ]).default(Sn),
36763
+ ]).default(qn),
36679
36764
  updatedAt: e.string().optional(),
36680
36765
  updatedBy: e.object({
36681
36766
  id: e.string().optional(),
@@ -36688,7 +36773,7 @@ e.object({
36688
36773
  e.object({
36689
36774
  domainId: e.string().optional()
36690
36775
  });
36691
- const _n = "default";
36776
+ const kn = "default";
36692
36777
  e.object({
36693
36778
  tags: e.array(
36694
36779
  e.object({
@@ -36711,7 +36796,7 @@ e.object({
36711
36796
  "chat",
36712
36797
  "processing",
36713
36798
  "service"
36714
- ]).default(_n),
36799
+ ]).default(kn),
36715
36800
  updatedAt: e.string().optional(),
36716
36801
  updatedBy: e.object({
36717
36802
  id: e.string().optional(),
@@ -36721,7 +36806,7 @@ e.object({
36721
36806
  e.object({
36722
36807
  id: e.string()
36723
36808
  });
36724
- const qn = "default";
36809
+ const xn = "default";
36725
36810
  e.object({
36726
36811
  tags: e.array(
36727
36812
  e.object({
@@ -36740,9 +36825,9 @@ e.object({
36740
36825
  "chat",
36741
36826
  "processing",
36742
36827
  "service"
36743
- ]).default(qn)
36828
+ ]).default(xn)
36744
36829
  });
36745
- const kn = "default";
36830
+ const Sn = "default";
36746
36831
  e.object({
36747
36832
  tags: e.array(
36748
36833
  e.object({
@@ -36765,7 +36850,7 @@ e.object({
36765
36850
  "chat",
36766
36851
  "processing",
36767
36852
  "service"
36768
- ]).default(kn),
36853
+ ]).default(Sn),
36769
36854
  updatedAt: e.string().optional(),
36770
36855
  updatedBy: e.object({
36771
36856
  id: e.string().optional(),
@@ -36795,7 +36880,7 @@ e.object({
36795
36880
  "service"
36796
36881
  ]).default(Un)
36797
36882
  });
36798
- const xn = "default";
36883
+ const _n = "default";
36799
36884
  e.object({
36800
36885
  tags: e.array(
36801
36886
  e.object({
@@ -36818,7 +36903,7 @@ e.object({
36818
36903
  "chat",
36819
36904
  "processing",
36820
36905
  "service"
36821
- ]).default(xn),
36906
+ ]).default(_n),
36822
36907
  updatedAt: e.string().optional(),
36823
36908
  updatedBy: e.object({
36824
36909
  id: e.string().optional(),
@@ -38289,7 +38374,7 @@ e.object({
38289
38374
  validFrom: e.string().optional(),
38290
38375
  validTo: e.string().optional()
38291
38376
  });
38292
- const Bn = "1", Nn = "20", Pn = "name:desc";
38377
+ const Bn = "1", Nn = "20", Fn = "name:desc";
38293
38378
  e.object({
38294
38379
  page: e.number().default(Bn).describe(
38295
38380
  `Page number of result dataset records. offset = (page * size)
@@ -38301,7 +38386,7 @@ Default: 25`
38301
38386
  ),
38302
38387
  fields: e.array(e.string()).optional().describe(`Fields to be retrieved as a result.
38303
38388
  Default: [] (all fields)`),
38304
- sort: e.string().default(Pn).describe(`Sort the result according to fields.
38389
+ sort: e.string().default(Fn).describe(`Sort the result according to fields.
38305
38390
  Default: "id:desc"`),
38306
38391
  id: e.array(e.string()).optional().describe("Filter by unique IDs."),
38307
38392
  q: e.string().optional().describe(
@@ -38332,7 +38417,7 @@ Default: "id:desc"`),
38332
38417
  - MANUAL: Manual source type.`
38333
38418
  )
38334
38419
  });
38335
- const Fn = 500, Ln = 3, Mn = 100, zn = "TYPE_UNSPECIFIED";
38420
+ const Pn = 500, Ln = 3, Mn = 100, zn = "TYPE_UNSPECIFIED";
38336
38421
  e.object({
38337
38422
  items: e.array(
38338
38423
  e.object({
@@ -38345,7 +38430,7 @@ e.object({
38345
38430
  }).describe(
38346
38431
  "Reference to the user who originally created this source."
38347
38432
  ),
38348
- description: e.string().max(Fn).optional().describe(
38433
+ description: e.string().max(Pn).optional().describe(
38349
38434
  "An optional longer explanation of the source's purpose."
38350
38435
  ),
38351
38436
  id: e.string().describe(
@@ -38382,9 +38467,9 @@ e.object({
38382
38467
  Specific fields to include in response`
38383
38468
  )
38384
38469
  });
38385
- const Vn = '{ "name": "Default Source", "type": "CALL" }', Yn = 500, Gn = "New Source", Hn = 2, Kn = 100, Wn = '"CALL"';
38470
+ const Yn = '{ "name": "Default Source", "type": "CALL" }', Vn = 500, Gn = "New Source", Hn = 2, Kn = 100, Qn = '"CALL"';
38386
38471
  e.object({
38387
- description: e.string().max(Yn).optional().describe("A short description of the source"),
38472
+ description: e.string().max(Vn).optional().describe("A short description of the source"),
38388
38473
  name: e.string().min(Hn).max(Kn).default(Gn).describe("The name of the source"),
38389
38474
  type: e.enum([
38390
38475
  "TYPE_UNSPECIFIED",
@@ -38394,16 +38479,16 @@ e.object({
38394
38479
  "EMAIL",
38395
38480
  "API",
38396
38481
  "MANUAL"
38397
- ]).default(Wn).describe("The type of the source")
38398
- }).default(Vn).describe("The data structure representing a source");
38399
- const Qn = 500, Xn = 3, Jn = 100, $n = "TYPE_UNSPECIFIED";
38482
+ ]).default(Qn).describe("The type of the source")
38483
+ }).default(Yn).describe("The data structure representing a source");
38484
+ const Wn = 500, Xn = 3, Jn = 100, $n = "TYPE_UNSPECIFIED";
38400
38485
  e.object({
38401
38486
  createdAt: e.string().describe("Unix timestamp representing when the source was created."),
38402
38487
  createdBy: e.object({
38403
38488
  id: e.string().optional(),
38404
38489
  name: e.string().optional()
38405
38490
  }).describe("Reference to the user who originally created this source."),
38406
- description: e.string().max(Qn).optional().describe("An optional longer explanation of the source's purpose."),
38491
+ description: e.string().max(Wn).optional().describe("An optional longer explanation of the source's purpose."),
38407
38492
  id: e.string().describe("Unique identifier for the source, generated automatically."),
38408
38493
  name: e.string().min(Xn).max(Jn).describe("A unique, descriptive name for the source."),
38409
38494
  type: e.enum([
@@ -38559,16 +38644,16 @@ e.object({
38559
38644
  "MANUAL"
38560
38645
  ]).default(Ra).describe("The type of the source")
38561
38646
  }).default(ha).describe("The data structure representing a source");
38562
- const Aa = 500, wa = 3, Da = 100, Oa = "TYPE_UNSPECIFIED";
38647
+ const wa = 500, Aa = 3, va = 100, Da = "TYPE_UNSPECIFIED";
38563
38648
  e.object({
38564
38649
  createdAt: e.string().describe("Unix timestamp representing when the source was created."),
38565
38650
  createdBy: e.object({
38566
38651
  id: e.string().optional(),
38567
38652
  name: e.string().optional()
38568
38653
  }).describe("Reference to the user who originally created this source."),
38569
- description: e.string().max(Aa).optional().describe("An optional longer explanation of the source's purpose."),
38654
+ description: e.string().max(wa).optional().describe("An optional longer explanation of the source's purpose."),
38570
38655
  id: e.string().describe("Unique identifier for the source, generated automatically."),
38571
- name: e.string().min(wa).max(Da).describe("A unique, descriptive name for the source."),
38656
+ name: e.string().min(Aa).max(va).describe("A unique, descriptive name for the source."),
38572
38657
  type: e.enum([
38573
38658
  "TYPE_UNSPECIFIED",
38574
38659
  "CALL",
@@ -38577,7 +38662,7 @@ e.object({
38577
38662
  "EMAIL",
38578
38663
  "API",
38579
38664
  "MANUAL"
38580
- ]).default(Oa).describe("The type of data source represented by this entry."),
38665
+ ]).default(Da).describe("The type of data source represented by this entry."),
38581
38666
  updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
38582
38667
  updatedBy: e.object({
38583
38668
  id: e.string().optional(),
@@ -38586,7 +38671,7 @@ e.object({
38586
38671
  "Reference to the user who most recently modified this source."
38587
38672
  )
38588
38673
  }).describe("Represents a data source in the contact management system.");
38589
- const va = "id", Ea = /^[+|-|!]?\w+$/, Ca = "*";
38674
+ const Oa = "id", Ea = /^[+|-|!]?\w+$/, Ca = "*";
38590
38675
  e.object({
38591
38676
  page: e.number().optional(),
38592
38677
  size: e.number().optional().describe(
@@ -38604,7 +38689,7 @@ const
38604
38689
  "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..."
38605
38690
  ),
38606
38691
  sort: e.array(
38607
- e.string().regex(Ea).default(va)
38692
+ e.string().regex(Ea).default(Oa)
38608
38693
  ).optional().describe(
38609
38694
  `Sort result dataset of records by fields.
38610
38695
  \`\`\`
@@ -38668,7 +38753,7 @@ Version of the latest update. Numeric sequence.`
38668
38753
  e.object({
38669
38754
  fields: e.array(e.string()).optional().describe("Source Fields to return into result.")
38670
38755
  });
38671
- const Sa = e.object({
38756
+ const qa = e.object({
38672
38757
  etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
38673
38758
  homePage: e.string().optional().describe(
38674
38759
  `BIO. Short description about the space.
@@ -38677,7 +38762,7 @@ OPTIONAL. Multi-lined text.`
38677
38762
  name: e.string().optional().describe("Represents the name of the knowledge base space."),
38678
38763
  state: e.boolean().optional().describe("The state of the space.")
38679
38764
  }).describe("The Space principal input.");
38680
- e.array(Sa);
38765
+ e.array(qa);
38681
38766
  e.object({
38682
38767
  createdAt: e.string().optional().describe("The timestamp when the space was created (in Unix time)."),
38683
38768
  createdBy: e.object({
@@ -39210,7 +39295,7 @@ e.object({
39210
39295
  ])
39211
39296
  ).optional().describe("Filter by setting names")
39212
39297
  });
39213
- const _a = "empty_system_settings_name";
39298
+ const ka = "empty_system_settings_name";
39214
39299
  e.object({
39215
39300
  items: e.array(
39216
39301
  e.object({
@@ -39251,157 +39336,13 @@ e.object({
39251
39336
  "password_warning_days",
39252
39337
  "default_password",
39253
39338
  "expand_contact_tabs"
39254
- ]).default(_a)
39255
- })
39256
- ).optional(),
39257
- next: e.boolean().optional()
39258
- });
39259
- const qa = "empty_system_settings_name";
39260
- e.object({
39261
- name: e.enum([
39262
- "empty_system_settings_name",
39263
- "enable_omnichannel",
39264
- "member_chunk_size",
39265
- "amd_cancel_not_human",
39266
- "scheme_version_limit",
39267
- "enable_2fa",
39268
- "export_settings",
39269
- "search_number_length",
39270
- "chat_ai_connection",
39271
- "password_reg_exp",
39272
- "password_validation_text",
39273
- "autolink_call_to_contact",
39274
- "period_to_playback_records",
39275
- "is_fulltext_search_enabled",
39276
- "wbt_hide_contact",
39277
- "show_full_contact",
39278
- "call_end_sound_notification",
39279
- "call_end_push_notification",
39280
- "chat_end_sound_notification",
39281
- "chat_end_push_notification",
39282
- "task_end_sound_notification",
39283
- "task_end_push_notification",
39284
- "push_notification_timeout",
39285
- "labels_to_limit_contacts",
39286
- "autolink_mail_to_contact",
39287
- "new_message_sound_notification",
39288
- "new_chat_sound_notification",
39289
- "screenshot_interval",
39290
- "password_expiry_days",
39291
- "password_min_length",
39292
- "password_categories",
39293
- "password_contains_login",
39294
- "password_warning_days",
39295
- "default_password",
39296
- "expand_contact_tabs"
39297
- ]).default(qa)
39298
- });
39299
- const ka = "empty_system_settings_name";
39300
- e.object({
39301
- id: e.number().optional(),
39302
- name: e.enum([
39303
- "empty_system_settings_name",
39304
- "enable_omnichannel",
39305
- "member_chunk_size",
39306
- "amd_cancel_not_human",
39307
- "scheme_version_limit",
39308
- "enable_2fa",
39309
- "export_settings",
39310
- "search_number_length",
39311
- "chat_ai_connection",
39312
- "password_reg_exp",
39313
- "password_validation_text",
39314
- "autolink_call_to_contact",
39315
- "period_to_playback_records",
39316
- "is_fulltext_search_enabled",
39317
- "wbt_hide_contact",
39318
- "show_full_contact",
39319
- "call_end_sound_notification",
39320
- "call_end_push_notification",
39321
- "chat_end_sound_notification",
39322
- "chat_end_push_notification",
39323
- "task_end_sound_notification",
39324
- "task_end_push_notification",
39325
- "push_notification_timeout",
39326
- "labels_to_limit_contacts",
39327
- "autolink_mail_to_contact",
39328
- "new_message_sound_notification",
39329
- "new_chat_sound_notification",
39330
- "screenshot_interval",
39331
- "password_expiry_days",
39332
- "password_min_length",
39333
- "password_categories",
39334
- "password_contains_login",
39335
- "password_warning_days",
39336
- "default_password",
39337
- "expand_contact_tabs"
39338
- ]).default(ka)
39339
- });
39340
- e.object({
39341
- page: e.number().optional(),
39342
- size: e.number().optional(),
39343
- q: e.string().optional(),
39344
- sort: e.string().optional(),
39345
- fields: e.array(e.string()).optional()
39346
- });
39347
- e.object({
39348
- items: e.array(
39349
- e.object({
39350
- name: e.string().optional()
39339
+ ]).default(ka)
39351
39340
  })
39352
39341
  ).optional(),
39353
39342
  next: e.boolean().optional()
39354
39343
  });
39355
- e.object({
39356
- id: e.number()
39357
- });
39358
- const Ua = "empty_system_settings_name";
39359
- e.object({
39360
- id: e.number().optional(),
39361
- name: e.enum([
39362
- "empty_system_settings_name",
39363
- "enable_omnichannel",
39364
- "member_chunk_size",
39365
- "amd_cancel_not_human",
39366
- "scheme_version_limit",
39367
- "enable_2fa",
39368
- "export_settings",
39369
- "search_number_length",
39370
- "chat_ai_connection",
39371
- "password_reg_exp",
39372
- "password_validation_text",
39373
- "autolink_call_to_contact",
39374
- "period_to_playback_records",
39375
- "is_fulltext_search_enabled",
39376
- "wbt_hide_contact",
39377
- "show_full_contact",
39378
- "call_end_sound_notification",
39379
- "call_end_push_notification",
39380
- "chat_end_sound_notification",
39381
- "chat_end_push_notification",
39382
- "task_end_sound_notification",
39383
- "task_end_push_notification",
39384
- "push_notification_timeout",
39385
- "labels_to_limit_contacts",
39386
- "autolink_mail_to_contact",
39387
- "new_message_sound_notification",
39388
- "new_chat_sound_notification",
39389
- "screenshot_interval",
39390
- "password_expiry_days",
39391
- "password_min_length",
39392
- "password_categories",
39393
- "password_contains_login",
39394
- "password_warning_days",
39395
- "default_password",
39396
- "expand_contact_tabs"
39397
- ]).default(Ua)
39398
- });
39399
- e.object({
39400
- id: e.number()
39401
- });
39402
39344
  const xa = "empty_system_settings_name";
39403
39345
  e.object({
39404
- id: e.number().optional(),
39405
39346
  name: e.enum([
39406
39347
  "empty_system_settings_name",
39407
39348
  "enable_omnichannel",
@@ -39440,13 +39381,157 @@ e.object({
39440
39381
  "expand_contact_tabs"
39441
39382
  ]).default(xa)
39442
39383
  });
39443
- e.object({
39444
- id: e.number()
39445
- });
39446
- e.object({
39447
- fields: e.array(e.string()).optional()
39448
- });
39449
- const Ba = "empty_system_settings_name";
39384
+ const Sa = "empty_system_settings_name";
39385
+ e.object({
39386
+ id: e.number().optional(),
39387
+ name: e.enum([
39388
+ "empty_system_settings_name",
39389
+ "enable_omnichannel",
39390
+ "member_chunk_size",
39391
+ "amd_cancel_not_human",
39392
+ "scheme_version_limit",
39393
+ "enable_2fa",
39394
+ "export_settings",
39395
+ "search_number_length",
39396
+ "chat_ai_connection",
39397
+ "password_reg_exp",
39398
+ "password_validation_text",
39399
+ "autolink_call_to_contact",
39400
+ "period_to_playback_records",
39401
+ "is_fulltext_search_enabled",
39402
+ "wbt_hide_contact",
39403
+ "show_full_contact",
39404
+ "call_end_sound_notification",
39405
+ "call_end_push_notification",
39406
+ "chat_end_sound_notification",
39407
+ "chat_end_push_notification",
39408
+ "task_end_sound_notification",
39409
+ "task_end_push_notification",
39410
+ "push_notification_timeout",
39411
+ "labels_to_limit_contacts",
39412
+ "autolink_mail_to_contact",
39413
+ "new_message_sound_notification",
39414
+ "new_chat_sound_notification",
39415
+ "screenshot_interval",
39416
+ "password_expiry_days",
39417
+ "password_min_length",
39418
+ "password_categories",
39419
+ "password_contains_login",
39420
+ "password_warning_days",
39421
+ "default_password",
39422
+ "expand_contact_tabs"
39423
+ ]).default(Sa)
39424
+ });
39425
+ e.object({
39426
+ page: e.number().optional(),
39427
+ size: e.number().optional(),
39428
+ q: e.string().optional(),
39429
+ sort: e.string().optional(),
39430
+ fields: e.array(e.string()).optional()
39431
+ });
39432
+ e.object({
39433
+ items: e.array(
39434
+ e.object({
39435
+ name: e.string().optional()
39436
+ })
39437
+ ).optional(),
39438
+ next: e.boolean().optional()
39439
+ });
39440
+ e.object({
39441
+ id: e.number()
39442
+ });
39443
+ const Ua = "empty_system_settings_name";
39444
+ e.object({
39445
+ id: e.number().optional(),
39446
+ name: e.enum([
39447
+ "empty_system_settings_name",
39448
+ "enable_omnichannel",
39449
+ "member_chunk_size",
39450
+ "amd_cancel_not_human",
39451
+ "scheme_version_limit",
39452
+ "enable_2fa",
39453
+ "export_settings",
39454
+ "search_number_length",
39455
+ "chat_ai_connection",
39456
+ "password_reg_exp",
39457
+ "password_validation_text",
39458
+ "autolink_call_to_contact",
39459
+ "period_to_playback_records",
39460
+ "is_fulltext_search_enabled",
39461
+ "wbt_hide_contact",
39462
+ "show_full_contact",
39463
+ "call_end_sound_notification",
39464
+ "call_end_push_notification",
39465
+ "chat_end_sound_notification",
39466
+ "chat_end_push_notification",
39467
+ "task_end_sound_notification",
39468
+ "task_end_push_notification",
39469
+ "push_notification_timeout",
39470
+ "labels_to_limit_contacts",
39471
+ "autolink_mail_to_contact",
39472
+ "new_message_sound_notification",
39473
+ "new_chat_sound_notification",
39474
+ "screenshot_interval",
39475
+ "password_expiry_days",
39476
+ "password_min_length",
39477
+ "password_categories",
39478
+ "password_contains_login",
39479
+ "password_warning_days",
39480
+ "default_password",
39481
+ "expand_contact_tabs"
39482
+ ]).default(Ua)
39483
+ });
39484
+ e.object({
39485
+ id: e.number()
39486
+ });
39487
+ const _a = "empty_system_settings_name";
39488
+ e.object({
39489
+ id: e.number().optional(),
39490
+ name: e.enum([
39491
+ "empty_system_settings_name",
39492
+ "enable_omnichannel",
39493
+ "member_chunk_size",
39494
+ "amd_cancel_not_human",
39495
+ "scheme_version_limit",
39496
+ "enable_2fa",
39497
+ "export_settings",
39498
+ "search_number_length",
39499
+ "chat_ai_connection",
39500
+ "password_reg_exp",
39501
+ "password_validation_text",
39502
+ "autolink_call_to_contact",
39503
+ "period_to_playback_records",
39504
+ "is_fulltext_search_enabled",
39505
+ "wbt_hide_contact",
39506
+ "show_full_contact",
39507
+ "call_end_sound_notification",
39508
+ "call_end_push_notification",
39509
+ "chat_end_sound_notification",
39510
+ "chat_end_push_notification",
39511
+ "task_end_sound_notification",
39512
+ "task_end_push_notification",
39513
+ "push_notification_timeout",
39514
+ "labels_to_limit_contacts",
39515
+ "autolink_mail_to_contact",
39516
+ "new_message_sound_notification",
39517
+ "new_chat_sound_notification",
39518
+ "screenshot_interval",
39519
+ "password_expiry_days",
39520
+ "password_min_length",
39521
+ "password_categories",
39522
+ "password_contains_login",
39523
+ "password_warning_days",
39524
+ "default_password",
39525
+ "expand_contact_tabs"
39526
+ ]).default(_a)
39527
+ });
39528
+ e.object({
39529
+ id: e.number()
39530
+ });
39531
+ e.object({
39532
+ fields: e.array(e.string()).optional()
39533
+ });
39534
+ const Ba = "empty_system_settings_name";
39450
39535
  e.object({
39451
39536
  id: e.number().optional(),
39452
39537
  name: e.enum([
@@ -39563,7 +39648,7 @@ e.object({
39563
39648
  ])
39564
39649
  ).optional()
39565
39650
  });
39566
- const Pa = "teamHookEventUndefined";
39651
+ const Fa = "teamHookEventUndefined";
39567
39652
  e.object({
39568
39653
  items: e.array(
39569
39654
  e.object({
@@ -39571,7 +39656,7 @@ e.object({
39571
39656
  event: e.enum([
39572
39657
  "teamHookEventUndefined",
39573
39658
  "agent_status"
39574
- ]).default(Pa),
39659
+ ]).default(Fa),
39575
39660
  id: e.number().optional(),
39576
39661
  properties: e.array(e.string()).optional(),
39577
39662
  schema: e.object({
@@ -39585,13 +39670,13 @@ e.object({
39585
39670
  e.object({
39586
39671
  team_id: e.string()
39587
39672
  });
39588
- const Fa = "teamHookEventUndefined";
39673
+ const Pa = "teamHookEventUndefined";
39589
39674
  e.object({
39590
39675
  enabled: e.boolean().optional(),
39591
39676
  event: e.enum([
39592
39677
  "teamHookEventUndefined",
39593
39678
  "agent_status"
39594
- ]).default(Fa),
39679
+ ]).default(Pa),
39595
39680
  properties: e.array(e.string()).optional(),
39596
39681
  schema: e.object({
39597
39682
  id: e.string().optional(),
@@ -39652,13 +39737,13 @@ e.object({
39652
39737
  team_id: e.string(),
39653
39738
  id: e.number()
39654
39739
  });
39655
- const Va = "teamHookEventUndefined";
39740
+ const Ya = "teamHookEventUndefined";
39656
39741
  e.object({
39657
39742
  enabled: e.boolean().optional(),
39658
39743
  event: e.enum([
39659
39744
  "teamHookEventUndefined",
39660
39745
  "agent_status"
39661
- ]).default(Va),
39746
+ ]).default(Ya),
39662
39747
  fields: e.array(e.string()).optional(),
39663
39748
  properties: e.array(e.string()).optional(),
39664
39749
  schema: e.object({
@@ -39666,13 +39751,13 @@ e.object({
39666
39751
  name: e.string().optional()
39667
39752
  }).optional()
39668
39753
  });
39669
- const Ya = "teamHookEventUndefined";
39754
+ const Va = "teamHookEventUndefined";
39670
39755
  e.object({
39671
39756
  enabled: e.boolean().optional(),
39672
39757
  event: e.enum([
39673
39758
  "teamHookEventUndefined",
39674
39759
  "agent_status"
39675
- ]).default(Ya),
39760
+ ]).default(Va),
39676
39761
  id: e.number().optional(),
39677
39762
  properties: e.array(e.string()).optional(),
39678
39763
  schema: e.object({
@@ -40183,7 +40268,7 @@ e.object({
40183
40268
  e.object({
40184
40269
  fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result.")
40185
40270
  });
40186
- const Wa = e.object({
40271
+ const Qa = e.object({
40187
40272
  etag: e.string().describe("Unique ID of the latest version of an existing resource."),
40188
40273
  primary: e.boolean().optional().describe(
40189
40274
  "Indicates whether this association must be default among others."
@@ -40194,7 +40279,7 @@ const Wa = e.object({
40194
40279
  type: e.string().optional().describe("Reference Object well-known type.")
40195
40280
  }).optional().describe("Timezone dictionary reference value associated.")
40196
40281
  }).describe("An input of the Contact's timezones.");
40197
- e.array(Wa);
40282
+ e.array(Qa);
40198
40283
  e.object({
40199
40284
  data: e.array(
40200
40285
  e.object({
@@ -40243,7 +40328,7 @@ e.object({
40243
40328
  e.object({
40244
40329
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
40245
40330
  });
40246
- const Qa = e.object({
40331
+ const Wa = e.object({
40247
40332
  etag: e.string().describe("Unique ID of the latest version of an existing resource."),
40248
40333
  primary: e.boolean().optional().describe(
40249
40334
  "Indicates whether this association must be default among others."
@@ -40254,7 +40339,7 @@ const Qa = e.object({
40254
40339
  type: e.string().optional().describe("Reference Object well-known type.")
40255
40340
  }).optional().describe("Timezone dictionary reference value associated.")
40256
40341
  }).describe("An input of the Contact's timezones.");
40257
- e.array(Qa);
40342
+ e.array(Wa);
40258
40343
  e.object({
40259
40344
  data: e.array(
40260
40345
  e.object({
@@ -40885,7 +40970,7 @@ e.object({
40885
40970
  ])
40886
40971
  ).optional()
40887
40972
  });
40888
- const Ar = "idle";
40973
+ const wr = "idle";
40889
40974
  e.object({
40890
40975
  items: e.array(
40891
40976
  e.object({
@@ -40898,7 +40983,7 @@ e.object({
40898
40983
  "active",
40899
40984
  "done",
40900
40985
  "error"
40901
- ]).default(Ar),
40986
+ ]).default(wr),
40902
40987
  stoppedAt: e.string().optional(),
40903
40988
  trigger: e.object({
40904
40989
  id: e.string().optional(),
@@ -40914,7 +40999,7 @@ e.object({
40914
40999
  e.object({
40915
41000
  variables: e.record(e.string(), e.string()).optional()
40916
41001
  });
40917
- const wr = "idle";
41002
+ const Ar = "idle";
40918
41003
  e.object({
40919
41004
  createdAt: e.string().optional(),
40920
41005
  error: e.string().optional(),
@@ -40925,7 +41010,7 @@ e.object({
40925
41010
  "active",
40926
41011
  "done",
40927
41012
  "error"
40928
- ]).default(wr),
41013
+ ]).default(Ar),
40929
41014
  stoppedAt: e.string().optional(),
40930
41015
  trigger: e.object({
40931
41016
  id: e.string().optional(),
@@ -40956,7 +41041,7 @@ e.object({
40956
41041
  }).optional().describe("UserId lookup value.")
40957
41042
  }).optional()
40958
41043
  });
40959
- const Dr = "*", Or = /^[+|-|!]?\w+$/, vr = "*";
41044
+ const vr = "*", Dr = /^[+|-|!]?\w+$/, Or = "*";
40960
41045
  e.object({
40961
41046
  q: e.string().optional().describe(
40962
41047
  "Search term:\n`?` - matches any character\n`*` - matches 0 or more characters\ne.g.: name,emails{type},labels etc..."
@@ -40975,11 +41060,11 @@ Default: 16.`),
40975
41060
  page: e.number().optional().describe(`Page number of result set of records.
40976
41061
  Default: 1.`),
40977
41062
  sort: e.array(
40978
- e.string().regex(Or).default(Dr)
41063
+ e.string().regex(Dr).default(vr)
40979
41064
  ).optional().describe(
40980
41065
  '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.'
40981
41066
  ),
40982
- fields: e.array(e.string().default(vr)).optional().describe(
41067
+ fields: e.array(e.string().default(Or)).optional().describe(
40983
41068
  `Fields [Q]uery to build result dataset record.
40984
41069
  \`\`\`
40985
41070
  fields ::= field [ *( "," field ) ]
@@ -41860,6 +41945,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
41860
41945
  expiresAt: e.string().optional(),
41861
41946
  id: e.string().optional(),
41862
41947
  issuedAt: e.string().optional(),
41948
+ name: e.string().optional(),
41863
41949
  prod: e.string().optional(),
41864
41950
  scope: e.array(e.string()).optional(),
41865
41951
  user: e.object({
@@ -41907,8 +41993,8 @@ e.object({
41907
41993
  id: e.string().optional().describe("ONE /users/{id}"),
41908
41994
  permanent: e.boolean().optional()
41909
41995
  });
41910
- const Sr = e.string();
41911
- e.array(Sr);
41996
+ const qr = e.string();
41997
+ e.array(qr);
41912
41998
  e.object({
41913
41999
  deleted: e.array(
41914
42000
  e.object({
@@ -41959,6 +42045,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
41959
42045
  expiresAt: e.string().optional(),
41960
42046
  id: e.string().optional(),
41961
42047
  issuedAt: e.string().optional(),
42048
+ name: e.string().optional(),
41962
42049
  prod: e.string().optional(),
41963
42050
  scope: e.array(e.string()).optional(),
41964
42051
  user: e.object({
@@ -42091,6 +42178,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42091
42178
  expiresAt: e.string().optional(),
42092
42179
  id: e.string().optional(),
42093
42180
  issuedAt: e.string().optional(),
42181
+ name: e.string().optional(),
42094
42182
  prod: e.string().optional(),
42095
42183
  scope: e.array(e.string()).optional(),
42096
42184
  user: e.object({
@@ -42141,7 +42229,6 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42141
42229
  size: e.number().optional()
42142
42230
  });
42143
42231
  e.object({
42144
- confirmPassword: e.string().optional(),
42145
42232
  user: e.object({
42146
42233
  chatName: e.string().optional().describe(
42147
42234
  `The "chat_name" field is used to store the name displayed externally on the platform.
@@ -42190,6 +42277,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42190
42277
  expiresAt: e.string().optional(),
42191
42278
  id: e.string().optional(),
42192
42279
  issuedAt: e.string().optional(),
42280
+ name: e.string().optional(),
42193
42281
  prod: e.string().optional(),
42194
42282
  scope: e.array(e.string()).optional(),
42195
42283
  user: e.object({
@@ -42231,8 +42319,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42231
42319
  name: e.string().optional()
42232
42320
  }).optional().describe("UserId lookup value."),
42233
42321
  username: e.string().optional()
42234
- }).optional().describe("User profile."),
42235
- userPassword: e.string().optional()
42322
+ }).optional().describe("User profile.")
42236
42323
  });
42237
42324
  e.object({
42238
42325
  user: e.object({
@@ -42283,6 +42370,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42283
42370
  expiresAt: e.string().optional(),
42284
42371
  id: e.string().optional(),
42285
42372
  issuedAt: e.string().optional(),
42373
+ name: e.string().optional(),
42286
42374
  prod: e.string().optional(),
42287
42375
  scope: e.array(e.string()).optional(),
42288
42376
  user: e.object({
@@ -42412,6 +42500,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42412
42500
  expiresAt: e.string().optional(),
42413
42501
  id: e.string().optional(),
42414
42502
  issuedAt: e.string().optional(),
42503
+ name: e.string().optional(),
42415
42504
  prod: e.string().optional(),
42416
42505
  scope: e.array(e.string()).optional(),
42417
42506
  user: e.object({
@@ -42461,7 +42550,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42461
42550
  page: e.number().optional(),
42462
42551
  size: e.number().optional()
42463
42552
  });
42464
- const _r = "user_warning_id_unspecified";
42553
+ const kr = "user_warning_id_unspecified";
42465
42554
  e.object({
42466
42555
  warnings: e.array(
42467
42556
  e.object({
@@ -42471,7 +42560,7 @@ e.object({
42471
42560
  "password_expires_soon",
42472
42561
  "license_expires_soon",
42473
42562
  "license_expired"
42474
- ]).default(_r),
42563
+ ]).default(kr),
42475
42564
  warningData: e.object({
42476
42565
  licenseExpiry: e.object({
42477
42566
  daysRemaining: e.string().optional(),
@@ -42543,6 +42632,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42543
42632
  expiresAt: e.string().optional(),
42544
42633
  id: e.string().optional(),
42545
42634
  issuedAt: e.string().optional(),
42635
+ name: e.string().optional(),
42546
42636
  prod: e.string().optional(),
42547
42637
  scope: e.array(e.string()).optional(),
42548
42638
  user: e.object({
@@ -42644,6 +42734,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42644
42734
  expiresAt: e.string().optional(),
42645
42735
  id: e.string().optional(),
42646
42736
  issuedAt: e.string().optional(),
42737
+ name: e.string().optional(),
42647
42738
  prod: e.string().optional(),
42648
42739
  scope: e.array(e.string()).optional(),
42649
42740
  user: e.object({
@@ -42697,95 +42788,81 @@ e.object({
42697
42788
  });
42698
42789
  e.object({
42699
42790
  fields: e.array(e.string()).optional().describe("PATCH: partial update")
42700
- });
42701
- e.object({
42702
- chatName: e.string().optional().describe(
42703
- `The "chat_name" field is used to store the name displayed externally on the platform.
42704
- For example, "chat_name" is shown when an agent connects to chats with clients.`
42705
- ),
42706
- contact: e.object({
42707
- id: e.string().optional(),
42708
- name: e.string().optional()
42709
- }).optional().describe("[optional] contact connected to this user"),
42710
- createdAt: e.string().optional(),
42711
- createdBy: e.object({
42712
- id: e.string().optional(),
42713
- name: e.string().optional()
42714
- }).optional().describe("UserId lookup value."),
42715
- deletedAt: e.string().optional(),
42716
- deletedBy: e.object({
42717
- id: e.string().optional(),
42718
- name: e.string().optional()
42719
- }).optional().describe("UserId lookup value."),
42720
- device: e.object({
42721
- id: e.string().optional(),
42722
- name: e.string().optional()
42723
- }).optional(),
42724
- devices: e.array(
42725
- e.object({
42726
- id: e.string().optional(),
42727
- name: e.string().optional()
42728
- })
42729
- ).optional().describe(
42730
- "[editable] list of unique `regular` devices, attached to this user"
42731
- ),
42732
- email: e.string().optional(),
42733
- extension: e.string().optional(),
42734
- forcePasswordChange: e.boolean().optional().describe(
42735
- "When set to true, the user will be required to change their password on next login."
42736
- ),
42737
- hotdesks: e.array(
42738
- e.object({
42739
- id: e.string().optional(),
42740
- name: e.string().optional()
42741
- })
42742
- ).optional(),
42743
- license: e.array(
42744
- e.object({
42745
- expiresAt: e.string().optional(),
42746
- id: e.string().optional(),
42747
- issuedAt: e.string().optional(),
42748
- prod: e.string().optional(),
42749
- scope: e.array(e.string()).optional(),
42750
- user: e.object({
42751
- id: e.string().optional(),
42752
- name: e.string().optional()
42753
- }).optional()
42754
- })
42755
- ).optional(),
42756
- name: e.string().optional(),
42757
- password: e.string().optional(),
42758
- permissions: e.array(
42759
- e.object({
42760
- id: e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),
42761
- name: e.string().optional(),
42762
- usage: e.string().optional()
42763
- })
42764
- ).optional(),
42765
- presence: e.object({
42766
- expires: e.number().optional(),
42767
- id: e.string().optional(),
42768
- note: e.string().optional(),
42769
- status: e.string().optional(),
42770
- timestamp: e.string().optional()
42771
- }).optional().describe(
42772
- `string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
42773
- string status = 8; // short display status (short description)`
42774
- ),
42775
- profile: e.record(e.string(), e.string()).optional(),
42776
- roles: e.array(
42777
- e.object({
42778
- id: e.string().optional(),
42779
- name: e.string().optional()
42780
- })
42781
- ).optional(),
42782
- totpUrl: e.string().optional(),
42783
- updatedAt: e.string().optional(),
42784
- updatedBy: e.object({
42785
- id: e.string().optional(),
42786
- name: e.string().optional()
42787
- }).optional().describe("UserId lookup value."),
42788
- username: e.string().optional()
42791
+ });
42792
+ e.object({
42793
+ chatName: e.string().optional().describe(
42794
+ `The "chat_name" field is used to store the name displayed externally on the platform.
42795
+ For example, "chat_name" is shown when an agent connects to chats with clients.`
42796
+ ),
42797
+ contact: e.object({
42798
+ id: e.string().optional(),
42799
+ name: e.string().optional()
42800
+ }).optional().describe("[optional] contact connected to this user"),
42801
+ device: e.object({
42802
+ id: e.string().optional(),
42803
+ name: e.string().optional()
42804
+ }).optional(),
42805
+ devices: e.array(
42806
+ e.object({
42807
+ id: e.string().optional(),
42808
+ name: e.string().optional()
42809
+ })
42810
+ ).optional().describe(
42811
+ "[editable] list of unique `regular` devices, attached to this user"
42812
+ ),
42813
+ email: e.string().optional(),
42814
+ extension: e.string().optional(),
42815
+ forcePasswordChange: e.boolean().optional().describe(
42816
+ "When set to true, the user will be required to change their password on next login."
42817
+ ),
42818
+ hotdesks: e.array(
42819
+ e.object({
42820
+ id: e.string().optional(),
42821
+ name: e.string().optional()
42822
+ })
42823
+ ).optional(),
42824
+ license: e.array(
42825
+ e.object({
42826
+ expiresAt: e.string().optional(),
42827
+ id: e.string().optional(),
42828
+ issuedAt: e.string().optional(),
42829
+ name: e.string().optional(),
42830
+ prod: e.string().optional(),
42831
+ scope: e.array(e.string()).optional(),
42832
+ user: e.object({
42833
+ id: e.string().optional(),
42834
+ name: e.string().optional()
42835
+ }).optional()
42836
+ })
42837
+ ).optional(),
42838
+ name: e.string().optional(),
42839
+ password: e.string().optional(),
42840
+ permissions: e.array(
42841
+ e.object({
42842
+ id: e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),
42843
+ name: e.string().optional(),
42844
+ usage: e.string().optional()
42845
+ })
42846
+ ).optional(),
42847
+ presence: e.object({
42848
+ expires: e.number().optional(),
42849
+ id: e.string().optional(),
42850
+ note: e.string().optional(),
42851
+ status: e.string().optional(),
42852
+ timestamp: e.string().optional()
42853
+ }).optional().describe(
42854
+ `string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
42855
+ string status = 8; // short display status (short description)`
42856
+ ),
42857
+ profile: e.record(e.string(), e.string()).optional(),
42858
+ roles: e.array(
42859
+ e.object({
42860
+ id: e.string().optional(),
42861
+ name: e.string().optional()
42862
+ })
42863
+ ).optional(),
42864
+ totpUrl: e.string().optional(),
42865
+ username: e.string().optional()
42789
42866
  });
42790
42867
  e.object({
42791
42868
  chatName: e.string().optional().describe(
@@ -42835,6 +42912,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42835
42912
  expiresAt: e.string().optional(),
42836
42913
  id: e.string().optional(),
42837
42914
  issuedAt: e.string().optional(),
42915
+ name: e.string().optional(),
42838
42916
  prod: e.string().optional(),
42839
42917
  scope: e.array(e.string()).optional(),
42840
42918
  user: e.object({
@@ -42892,16 +42970,6 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42892
42970
  id: e.string().optional(),
42893
42971
  name: e.string().optional()
42894
42972
  }).optional().describe("[optional] contact connected to this user"),
42895
- createdAt: e.string().optional(),
42896
- createdBy: e.object({
42897
- id: e.string().optional(),
42898
- name: e.string().optional()
42899
- }).optional().describe("UserId lookup value."),
42900
- deletedAt: e.string().optional(),
42901
- deletedBy: e.object({
42902
- id: e.string().optional(),
42903
- name: e.string().optional()
42904
- }).optional().describe("UserId lookup value."),
42905
42973
  device: e.object({
42906
42974
  id: e.string().optional(),
42907
42975
  name: e.string().optional()
@@ -42930,6 +42998,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42930
42998
  expiresAt: e.string().optional(),
42931
42999
  id: e.string().optional(),
42932
43000
  issuedAt: e.string().optional(),
43001
+ name: e.string().optional(),
42933
43002
  prod: e.string().optional(),
42934
43003
  scope: e.array(e.string()).optional(),
42935
43004
  user: e.object({
@@ -42965,11 +43034,6 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42965
43034
  })
42966
43035
  ).optional(),
42967
43036
  totpUrl: e.string().optional(),
42968
- updatedAt: e.string().optional(),
42969
- updatedBy: e.object({
42970
- id: e.string().optional(),
42971
- name: e.string().optional()
42972
- }).optional().describe("UserId lookup value."),
42973
43037
  username: e.string().optional()
42974
43038
  });
42975
43039
  e.object({
@@ -43020,6 +43084,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
43020
43084
  expiresAt: e.string().optional(),
43021
43085
  id: e.string().optional(),
43022
43086
  issuedAt: e.string().optional(),
43087
+ name: e.string().optional(),
43023
43088
  prod: e.string().optional(),
43024
43089
  scope: e.array(e.string()).optional(),
43025
43090
  user: e.object({
@@ -43065,10 +43130,10 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
43065
43130
  e.object({
43066
43131
  contact_id: e.string().describe("Contact ID associated with.")
43067
43132
  });
43068
- const qr = /^.+$/;
43133
+ const xr = /^.+$/;
43069
43134
  e.object({
43070
43135
  fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result."),
43071
- etag: e.array(e.string().regex(qr)).describe("Set of unique ID(s) to remove.")
43136
+ etag: e.array(e.string().regex(xr)).describe("Set of unique ID(s) to remove.")
43072
43137
  });
43073
43138
  e.object({
43074
43139
  data: e.array(
@@ -43159,9 +43224,9 @@ e.object({
43159
43224
  e.object({
43160
43225
  fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result.")
43161
43226
  });
43162
- const kr = /^\w+$/, Ur = e.object({
43227
+ const Sr = /^\w+$/, Ur = e.object({
43163
43228
  etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
43164
- key: e.string().regex(kr).describe("NEW Key."),
43229
+ key: e.string().regex(Sr).describe("NEW Key."),
43165
43230
  value: e.unknown().optional().describe("NEW Value.")
43166
43231
  }).describe("Input of the Contact's variable.");
43167
43232
  e.array(Ur);
@@ -43206,9 +43271,9 @@ e.object({
43206
43271
  e.object({
43207
43272
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
43208
43273
  });
43209
- const xr = /^\w+$/, Br = e.object({
43274
+ const _r = /^\w+$/, Br = e.object({
43210
43275
  etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
43211
- key: e.string().regex(xr).describe("NEW Key."),
43276
+ key: e.string().regex(_r).describe("NEW Key."),
43212
43277
  value: e.unknown().optional().describe("NEW Value.")
43213
43278
  }).describe("Input of the Contact's variable.");
43214
43279
  e.array(Br);
@@ -43337,9 +43402,9 @@ e.object({
43337
43402
  e.object({
43338
43403
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
43339
43404
  });
43340
- const Pr = /^\w+$/;
43405
+ const Fr = /^\w+$/;
43341
43406
  e.object({
43342
- key: e.string().regex(Pr).describe("NEW Key."),
43407
+ key: e.string().regex(Fr).describe("NEW Key."),
43343
43408
  value: e.unknown().optional().describe("NEW Value.")
43344
43409
  });
43345
43410
  e.object({
@@ -43682,6 +43747,7 @@ which is intended to be consumed by the Client, e.g., 24400320 or AItOawmwtWwcT0
43682
43747
  It MUST NOT exceed 255 ASCII characters in length.
43683
43748
  The sub value is a case sensitive string.`
43684
43749
  ),
43750
+ type: e.string().optional(),
43685
43751
  updatedAt: e.string().optional(),
43686
43752
  username: e.string().optional(),
43687
43753
  zoneinfo: e.string().optional().describe(
@@ -43922,6 +43988,7 @@ which is intended to be consumed by the Client, e.g., 24400320 or AItOawmwtWwcT0
43922
43988
  It MUST NOT exceed 255 ASCII characters in length.
43923
43989
  The sub value is a case sensitive string.`
43924
43990
  ),
43991
+ type: e.string().optional(),
43925
43992
  updatedAt: e.string().optional(),
43926
43993
  username: e.string().optional(),
43927
43994
  zoneinfo: e.string().optional().describe(
@@ -44042,7 +44109,18 @@ e.object({
44042
44109
  updatedAt: e.string().optional().describe(
44043
44110
  "Last record update timestamp (Unix Epoch in milliseconds)."
44044
44111
  ),
44045
- username: e.string().optional().describe("Technical username or handle.")
44112
+ username: e.string().optional().describe("Technical username or handle."),
44113
+ vias: e.array(
44114
+ e.object({
44115
+ contactId: e.string().optional(),
44116
+ createdAt: e.string().optional(),
44117
+ disable: e.boolean().optional(),
44118
+ disableReason: e.string().optional(),
44119
+ metadata: e.looseObject({}).optional(),
44120
+ updatedAt: e.string().optional(),
44121
+ via: e.string().optional()
44122
+ })
44123
+ ).optional()
44046
44124
  }).describe("Contact represents an external messaging identity.")
44047
44125
  ).optional().describe("List of contacts found."),
44048
44126
  next: e.boolean().optional().describe("Indicates if there are more pages available."),
@@ -44054,7 +44132,7 @@ e.object({
44054
44132
  e.object({
44055
44133
  contactId: e.string().optional()
44056
44134
  });
44057
- const Fr = "ALL";
44135
+ const Pr = "ALL";
44058
44136
  e.object({
44059
44137
  settings: e.object({
44060
44138
  allowInvitesFrom: e.enum([
@@ -44062,7 +44140,7 @@ e.object({
44062
44140
  "NOBODY",
44063
44141
  "SAME_ISSUER"
44064
44142
  ]).default(
44065
- Fr
44143
+ Pr
44066
44144
  ),
44067
44145
  contactId: e.string().optional(),
44068
44146
  updatedAt: e.string().optional()
@@ -44382,16 +44460,7 @@ e.object({
44382
44460
  });
44383
44461
  e.object({
44384
44462
  buttonCode: e.string().optional().describe("Button identifier."),
44385
- callbackData: e.string().optional().describe("Optional callback payload."),
44386
- reactedBy: e.object({
44387
- channelId: e.string().optional(),
44388
- contact: e.object({
44389
- iss: e.string().optional(),
44390
- sub: e.string().optional()
44391
- }).optional(),
44392
- groupId: e.string().optional(),
44393
- threadId: e.string().optional()
44394
- }).optional().describe("User who clicked the button.")
44463
+ callbackData: e.string().optional().describe("Optional callback payload.")
44395
44464
  }).describe("Client sends callback event when user clicks a button.");
44396
44465
  e.object({
44397
44466
  buttonCode: e.string().optional().describe("Button identifier."),
@@ -44440,36 +44509,6 @@ e.object({
44440
44509
  `SendMessageResponse represents the result of a send operation.
44441
44510
  Contains the generated message ID and list of recipients.`
44442
44511
  );
44443
- e.object({
44444
- body: e.string().optional().describe('System message content (e.g., "User X joined the chat").'),
44445
- metadata: e.looseObject({}).optional().describe("Arbitrary metadata."),
44446
- sendId: e.string().optional().describe("Optional send ID for idempotency."),
44447
- to: e.object({
44448
- channelId: e.string().optional(),
44449
- contact: e.object({
44450
- iss: e.string().optional(),
44451
- sub: e.string().optional()
44452
- }).optional(),
44453
- groupId: e.string().optional(),
44454
- threadId: e.string().optional()
44455
- }).optional().describe("Recipient of the message."),
44456
- type: e.string().optional().describe('System message type (e.g., "user_joined", "user_left").')
44457
- });
44458
- e.object({
44459
- id: e.string().optional().describe("Unique message identifier."),
44460
- to: e.object({
44461
- channelId: e.string().optional(),
44462
- contact: e.object({
44463
- iss: e.string().optional(),
44464
- sub: e.string().optional()
44465
- }).optional(),
44466
- groupId: e.string().optional(),
44467
- threadId: e.string().optional()
44468
- }).optional().describe("Recipient of the message.")
44469
- }).describe(
44470
- `SendMessageResponse represents the result of a send operation.
44471
- Contains the generated message ID and list of recipients.`
44472
- );
44473
44512
  e.object({
44474
44513
  body: e.string().optional(),
44475
44514
  sendId: e.string().optional(),
@@ -44537,6 +44576,11 @@ e.object({
44537
44576
  items: e.array(
44538
44577
  e.object({
44539
44578
  body: e.string().optional().describe("Message body content."),
44579
+ contact: e.object({
44580
+ email: e.string().optional(),
44581
+ name: e.string().optional(),
44582
+ phone: e.string().optional()
44583
+ }).optional(),
44540
44584
  createdAt: e.string().optional().describe(
44541
44585
  "Message creation timestamp (Unix time, milliseconds)."
44542
44586
  ),
@@ -44584,6 +44628,157 @@ associated with a message.`
44584
44628
  associated with a message.`
44585
44629
  )
44586
44630
  ).optional().describe("List of image attachments."),
44631
+ interactive: e.object({
44632
+ documents: e.object({
44633
+ documents: e.array(
44634
+ e.object({
44635
+ fileName: e.string().optional(),
44636
+ id: e.string().optional(),
44637
+ mimeType: e.string().optional(),
44638
+ sizeBytes: e.string().optional(),
44639
+ url: e.string().optional()
44640
+ }).describe(
44641
+ "Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems."
44642
+ )
44643
+ ).optional().describe(
44644
+ `Documents to be attached to the header of interactive message.
44645
+ Max allowed documents: 10.`
44646
+ )
44647
+ }).optional().describe("Document attachments header."),
44648
+ images: e.object({
44649
+ images: e.array(
44650
+ e.object({
44651
+ id: e.string().optional(),
44652
+ link: e.string().optional(),
44653
+ mimeType: e.string().optional(),
44654
+ name: e.string().optional()
44655
+ }).describe(
44656
+ "Represents `Image` entity with\nnecessary fields."
44657
+ )
44658
+ ).optional().describe(
44659
+ `Images to be attached to the header of interactive message.
44660
+ Max allowed images: 10.`
44661
+ )
44662
+ }).optional().describe("Images attachment header."),
44663
+ listReply: e.object({
44664
+ mainButtonTitle: e.string().optional().describe(
44665
+ "Title of the main button, that on-click show up list."
44666
+ ),
44667
+ sections: e.array(
44668
+ e.object({
44669
+ buttons: e.array(
44670
+ e.object({
44671
+ callback: e.object({
44672
+ data: e.string().optional().describe(
44673
+ "Opaque data payload passed back to the server upon interaction."
44674
+ )
44675
+ }).optional().describe(
44676
+ "Triggers a backend event (callback) with associated metadata."
44677
+ ),
44678
+ id: e.string().optional().describe(
44679
+ `Unique idempotent identifier for the button.
44680
+ Used by the frontend to track state and prevent duplicate interactions.`
44681
+ ),
44682
+ label: e.string().optional().describe(
44683
+ "The human-readable label displayed on the button."
44684
+ ),
44685
+ metadata: e.looseObject({}).optional().describe(
44686
+ `Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
44687
+ Usage: Allows for future-proofing without breaking schema changes.`
44688
+ ),
44689
+ request: e.object({
44690
+ action: e.string().optional().describe(
44691
+ "The specific action to be performed by the client application."
44692
+ )
44693
+ }).optional().describe(
44694
+ "Requests sensitive information from the client (e.g., location or contact)."
44695
+ ),
44696
+ url: e.object({
44697
+ url: e.string().optional().describe(
44698
+ "Must be a valid absolute URI (e.g., https://example.com)."
44699
+ )
44700
+ }).optional().describe(
44701
+ "Directs the user to an external web resource."
44702
+ )
44703
+ }).describe(
44704
+ `Defines a single interactive element within the keyboard.
44705
+ Each button must have a unique identifier and a specific action type.`
44706
+ )
44707
+ ).optional().describe(
44708
+ `Collection of buttons within this section.
44709
+ Minimum of 1 button is required to prevent empty sections.`
44710
+ ),
44711
+ section: e.string().optional().describe(
44712
+ "The header text for this section. Must be concise and descriptive."
44713
+ )
44714
+ }).describe(
44715
+ `Represents a row of buttons grouped under a specific logical section header.
44716
+ Useful for creating categorized menus or structured interactive interfaces.`
44717
+ )
44718
+ ).optional().describe("List with sections with buttons.")
44719
+ }).optional().describe(
44720
+ "List reply with main list button text and sections with buttons."
44721
+ ),
44722
+ markup: e.object({
44723
+ rows: e.array(
44724
+ e.object({
44725
+ buttons: e.array(
44726
+ e.object({
44727
+ callback: e.object({
44728
+ data: e.string().optional().describe(
44729
+ "Opaque data payload passed back to the server upon interaction."
44730
+ )
44731
+ }).optional().describe(
44732
+ "Triggers a backend event (callback) with associated metadata."
44733
+ ),
44734
+ id: e.string().optional().describe(
44735
+ `Unique idempotent identifier for the button.
44736
+ Used by the frontend to track state and prevent duplicate interactions.`
44737
+ ),
44738
+ label: e.string().optional().describe(
44739
+ "The human-readable label displayed on the button."
44740
+ ),
44741
+ metadata: e.looseObject({}).optional().describe(
44742
+ `Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
44743
+ Usage: Allows for future-proofing without breaking schema changes.`
44744
+ ),
44745
+ request: e.object({
44746
+ action: e.string().optional().describe(
44747
+ "The specific action to be performed by the client application."
44748
+ )
44749
+ }).optional().describe(
44750
+ "Requests sensitive information from the client (e.g., location or contact)."
44751
+ ),
44752
+ url: e.object({
44753
+ url: e.string().optional().describe(
44754
+ "Must be a valid absolute URI (e.g., https://example.com)."
44755
+ )
44756
+ }).optional().describe(
44757
+ "Directs the user to an external web resource."
44758
+ )
44759
+ }).describe(
44760
+ `Defines a single interactive element within the keyboard.
44761
+ Each button must have a unique identifier and a specific action type.`
44762
+ )
44763
+ ).optional().describe(
44764
+ `Horizontal collection of buttons.
44765
+ Capped at 10 to ensure UI responsiveness and prevent overflow.`
44766
+ )
44767
+ }).describe(
44768
+ "A standard horizontal row of interactive buttons without a section header."
44769
+ )
44770
+ ).optional().describe("Rows of buttons matrix.")
44771
+ }).optional().describe("Markup matrix with buttons."),
44772
+ singleUse: e.boolean().optional().describe("Force to block user keyboard.")
44773
+ }).optional().describe(
44774
+ "Interactive represents a rich message with UI elements."
44775
+ ),
44776
+ location: e.object({
44777
+ address: e.string().optional(),
44778
+ latitude: e.number().optional(),
44779
+ longitude: e.number().optional(),
44780
+ name: e.string().optional()
44781
+ }).optional(),
44587
44782
  metadata: e.looseObject({}).optional().describe(
44588
44783
  `Arbitrary message metadata.
44589
44784
  Can contain structured data depending on message type.`
@@ -44609,13 +44804,22 @@ Can contain structured data depending on message type.`
44609
44804
  sub: e.string().optional().describe(
44610
44805
  "Associated internal system subject/identifier."
44611
44806
  ),
44612
- type: e.string().optional().describe(
44613
- "Channel type (e.g., 'webchat', 'telegram')."
44614
- ),
44807
+ type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
44615
44808
  updatedAt: e.string().optional().describe(
44616
44809
  "Last record update timestamp (Unix Epoch in milliseconds)."
44617
44810
  ),
44618
- username: e.string().optional().describe("Technical username or handle.")
44811
+ username: e.string().optional().describe("Technical username or handle."),
44812
+ vias: e.array(
44813
+ e.object({
44814
+ contactId: e.string().optional(),
44815
+ createdAt: e.string().optional(),
44816
+ disable: e.boolean().optional(),
44817
+ disableReason: e.string().optional(),
44818
+ metadata: e.looseObject({}).optional(),
44819
+ updatedAt: e.string().optional(),
44820
+ via: e.string().optional()
44821
+ })
44822
+ ).optional()
44619
44823
  }).optional().describe(
44620
44824
  "Contact represents an external messaging identity."
44621
44825
  ),
@@ -44699,7 +44903,7 @@ Example: "-created_at", "subject"`
44699
44903
  ),
44700
44904
  page: e.number().optional().describe("Page number (1-based).")
44701
44905
  });
44702
- const Vr = "ROLE_UNSPECIFIED", Yr = "ROLE_UNSPECIFIED", Gr = "UNKNOWN";
44906
+ const Yr = "ROLE_UNSPECIFIED", Vr = "ROLE_UNSPECIFIED", Gr = "UNKNOWN";
44703
44907
  e.object({
44704
44908
  items: e.array(
44705
44909
  e.object({
@@ -44708,6 +44912,11 @@ e.object({
44708
44912
  id: e.string().optional().describe("Unique thread identifier."),
44709
44913
  lastMsg: e.object({
44710
44914
  body: e.string().optional().describe("Message body content."),
44915
+ contact: e.object({
44916
+ email: e.string().optional(),
44917
+ name: e.string().optional(),
44918
+ phone: e.string().optional()
44919
+ }).optional(),
44711
44920
  createdAt: e.string().optional().describe(
44712
44921
  "Message creation timestamp (Unix time, milliseconds)."
44713
44922
  ),
@@ -44757,6 +44966,157 @@ associated with a message.`
44757
44966
  associated with a message.`
44758
44967
  )
44759
44968
  ).optional().describe("List of image attachments."),
44969
+ interactive: e.object({
44970
+ documents: e.object({
44971
+ documents: e.array(
44972
+ e.object({
44973
+ fileName: e.string().optional(),
44974
+ id: e.string().optional(),
44975
+ mimeType: e.string().optional(),
44976
+ sizeBytes: e.string().optional(),
44977
+ url: e.string().optional()
44978
+ }).describe(
44979
+ "Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems."
44980
+ )
44981
+ ).optional().describe(
44982
+ `Documents to be attached to the header of interactive message.
44983
+ Max allowed documents: 10.`
44984
+ )
44985
+ }).optional().describe("Document attachments header."),
44986
+ images: e.object({
44987
+ images: e.array(
44988
+ e.object({
44989
+ id: e.string().optional(),
44990
+ link: e.string().optional(),
44991
+ mimeType: e.string().optional(),
44992
+ name: e.string().optional()
44993
+ }).describe(
44994
+ "Represents `Image` entity with\nnecessary fields."
44995
+ )
44996
+ ).optional().describe(
44997
+ `Images to be attached to the header of interactive message.
44998
+ Max allowed images: 10.`
44999
+ )
45000
+ }).optional().describe("Images attachment header."),
45001
+ listReply: e.object({
45002
+ mainButtonTitle: e.string().optional().describe(
45003
+ "Title of the main button, that on-click show up list."
45004
+ ),
45005
+ sections: e.array(
45006
+ e.object({
45007
+ buttons: e.array(
45008
+ e.object({
45009
+ callback: e.object({
45010
+ data: e.string().optional().describe(
45011
+ "Opaque data payload passed back to the server upon interaction."
45012
+ )
45013
+ }).optional().describe(
45014
+ "Triggers a backend event (callback) with associated metadata."
45015
+ ),
45016
+ id: e.string().optional().describe(
45017
+ `Unique idempotent identifier for the button.
45018
+ Used by the frontend to track state and prevent duplicate interactions.`
45019
+ ),
45020
+ label: e.string().optional().describe(
45021
+ "The human-readable label displayed on the button."
45022
+ ),
45023
+ metadata: e.looseObject({}).optional().describe(
45024
+ `Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
45025
+ Usage: Allows for future-proofing without breaking schema changes.`
45026
+ ),
45027
+ request: e.object({
45028
+ action: e.string().optional().describe(
45029
+ "The specific action to be performed by the client application."
45030
+ )
45031
+ }).optional().describe(
45032
+ "Requests sensitive information from the client (e.g., location or contact)."
45033
+ ),
45034
+ url: e.object({
45035
+ url: e.string().optional().describe(
45036
+ "Must be a valid absolute URI (e.g., https://example.com)."
45037
+ )
45038
+ }).optional().describe(
45039
+ "Directs the user to an external web resource."
45040
+ )
45041
+ }).describe(
45042
+ `Defines a single interactive element within the keyboard.
45043
+ Each button must have a unique identifier and a specific action type.`
45044
+ )
45045
+ ).optional().describe(
45046
+ `Collection of buttons within this section.
45047
+ Minimum of 1 button is required to prevent empty sections.`
45048
+ ),
45049
+ section: e.string().optional().describe(
45050
+ "The header text for this section. Must be concise and descriptive."
45051
+ )
45052
+ }).describe(
45053
+ `Represents a row of buttons grouped under a specific logical section header.
45054
+ Useful for creating categorized menus or structured interactive interfaces.`
45055
+ )
45056
+ ).optional().describe("List with sections with buttons.")
45057
+ }).optional().describe(
45058
+ "List reply with main list button text and sections with buttons."
45059
+ ),
45060
+ markup: e.object({
45061
+ rows: e.array(
45062
+ e.object({
45063
+ buttons: e.array(
45064
+ e.object({
45065
+ callback: e.object({
45066
+ data: e.string().optional().describe(
45067
+ "Opaque data payload passed back to the server upon interaction."
45068
+ )
45069
+ }).optional().describe(
45070
+ "Triggers a backend event (callback) with associated metadata."
45071
+ ),
45072
+ id: e.string().optional().describe(
45073
+ `Unique idempotent identifier for the button.
45074
+ Used by the frontend to track state and prevent duplicate interactions.`
45075
+ ),
45076
+ label: e.string().optional().describe(
45077
+ "The human-readable label displayed on the button."
45078
+ ),
45079
+ metadata: e.looseObject({}).optional().describe(
45080
+ `Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
45081
+ Usage: Allows for future-proofing without breaking schema changes.`
45082
+ ),
45083
+ request: e.object({
45084
+ action: e.string().optional().describe(
45085
+ "The specific action to be performed by the client application."
45086
+ )
45087
+ }).optional().describe(
45088
+ "Requests sensitive information from the client (e.g., location or contact)."
45089
+ ),
45090
+ url: e.object({
45091
+ url: e.string().optional().describe(
45092
+ "Must be a valid absolute URI (e.g., https://example.com)."
45093
+ )
45094
+ }).optional().describe(
45095
+ "Directs the user to an external web resource."
45096
+ )
45097
+ }).describe(
45098
+ `Defines a single interactive element within the keyboard.
45099
+ Each button must have a unique identifier and a specific action type.`
45100
+ )
45101
+ ).optional().describe(
45102
+ `Horizontal collection of buttons.
45103
+ Capped at 10 to ensure UI responsiveness and prevent overflow.`
45104
+ )
45105
+ }).describe(
45106
+ "A standard horizontal row of interactive buttons without a section header."
45107
+ )
45108
+ ).optional().describe("Rows of buttons matrix.")
45109
+ }).optional().describe("Markup matrix with buttons."),
45110
+ singleUse: e.boolean().optional().describe("Force to block user keyboard.")
45111
+ }).optional().describe(
45112
+ "Interactive represents a rich message with UI elements."
45113
+ ),
45114
+ location: e.object({
45115
+ address: e.string().optional(),
45116
+ latitude: e.number().optional(),
45117
+ longitude: e.number().optional(),
45118
+ name: e.string().optional()
45119
+ }).optional(),
44760
45120
  metadata: e.looseObject({}).optional().describe(
44761
45121
  `Arbitrary message metadata.
44762
45122
  Can contain structured data depending on message type.`
@@ -44788,7 +45148,18 @@ Can contain structured data depending on message type.`
44788
45148
  updatedAt: e.string().optional().describe(
44789
45149
  "Last record update timestamp (Unix Epoch in milliseconds)."
44790
45150
  ),
44791
- username: e.string().optional().describe("Technical username or handle.")
45151
+ username: e.string().optional().describe("Technical username or handle."),
45152
+ vias: e.array(
45153
+ e.object({
45154
+ contactId: e.string().optional(),
45155
+ createdAt: e.string().optional(),
45156
+ disable: e.boolean().optional(),
45157
+ disableReason: e.string().optional(),
45158
+ metadata: e.looseObject({}).optional(),
45159
+ updatedAt: e.string().optional(),
45160
+ via: e.string().optional()
45161
+ })
45162
+ ).optional()
44792
45163
  }).optional().describe(
44793
45164
  "Contact represents an external messaging identity."
44794
45165
  ),
@@ -44811,7 +45182,7 @@ Can contain structured data depending on message type.`
44811
45182
  "ROLE_OWNER",
44812
45183
  "ROLE_SUPERVISOR"
44813
45184
  ]).default(
44814
- Vr
45185
+ Yr
44815
45186
  )
44816
45187
  }).optional().describe("Sender user aggregated information."),
44817
45188
  threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
@@ -44845,7 +45216,18 @@ Can contain structured data depending on message type.`
44845
45216
  updatedAt: e.string().optional().describe(
44846
45217
  "Last record update timestamp (Unix Epoch in milliseconds)."
44847
45218
  ),
44848
- username: e.string().optional().describe("Technical username or handle.")
45219
+ username: e.string().optional().describe("Technical username or handle."),
45220
+ vias: e.array(
45221
+ e.object({
45222
+ contactId: e.string().optional(),
45223
+ createdAt: e.string().optional(),
45224
+ disable: e.boolean().optional(),
45225
+ disableReason: e.string().optional(),
45226
+ metadata: e.looseObject({}).optional(),
45227
+ updatedAt: e.string().optional(),
45228
+ via: e.string().optional()
45229
+ })
45230
+ ).optional()
44849
45231
  }).optional().describe(
44850
45232
  "Contact represents an external messaging identity."
44851
45233
  ),
@@ -44868,7 +45250,7 @@ Can contain structured data depending on message type.`
44868
45250
  "ROLE_OWNER",
44869
45251
  "ROLE_SUPERVISOR"
44870
45252
  ]).default(
44871
- Yr
45253
+ Vr
44872
45254
  )
44873
45255
  }).describe(
44874
45256
  `ThreadMember represents a thread participant
@@ -44927,7 +45309,18 @@ Usually represents the display name of the conversation.`
44927
45309
  updatedAt: e.string().optional().describe(
44928
45310
  "Last record update timestamp (Unix Epoch in milliseconds)."
44929
45311
  ),
44930
- username: e.string().optional().describe("Technical username or handle.")
45312
+ username: e.string().optional().describe("Technical username or handle."),
45313
+ vias: e.array(
45314
+ e.object({
45315
+ contactId: e.string().optional(),
45316
+ createdAt: e.string().optional(),
45317
+ disable: e.boolean().optional(),
45318
+ disableReason: e.string().optional(),
45319
+ metadata: e.looseObject({}).optional(),
45320
+ updatedAt: e.string().optional(),
45321
+ via: e.string().optional()
45322
+ })
45323
+ ).optional()
44931
45324
  }).optional().describe("Contact who set the variable."),
44932
45325
  value: e.looseObject({}).optional().describe(
44933
45326
  `Arbitrary structured value of the variable.
@@ -44951,10 +45344,411 @@ Key is the variable name, value contains data and metadata.`
44951
45344
  `SearchThreadResponse contains the list of threads
44952
45345
  and pagination metadata.`
44953
45346
  );
45347
+ e.object({
45348
+ id: e.string().describe("Unique thread identifier.")
45349
+ });
45350
+ e.object({
45351
+ fields: e.array(e.string()).optional().describe("List of fields to include in the response.")
45352
+ });
45353
+ const Hr = "ROLE_UNSPECIFIED", Kr = "ROLE_UNSPECIFIED", Qr = "UNKNOWN";
45354
+ e.object({
45355
+ createdAt: e.string().optional().describe("Thread creation timestamp (Unix time, milliseconds)."),
45356
+ description: e.string().optional().describe("Optional thread description."),
45357
+ id: e.string().optional().describe("Unique thread identifier."),
45358
+ lastMsg: e.object({
45359
+ body: e.string().optional().describe("Message body content."),
45360
+ contact: e.object({
45361
+ email: e.string().optional(),
45362
+ name: e.string().optional(),
45363
+ phone: e.string().optional()
45364
+ }).optional(),
45365
+ createdAt: e.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
45366
+ documents: e.array(
45367
+ e.object({
45368
+ createdAt: e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
45369
+ fileId: e.string().optional().describe("File storage identifier."),
45370
+ id: e.string().optional().describe("Document identifier."),
45371
+ messageId: e.string().optional().describe(
45372
+ "Identifier of the message this document belongs to."
45373
+ ),
45374
+ mime: e.string().optional().describe("MIME type of the document."),
45375
+ name: e.string().optional().describe("Original file name."),
45376
+ size: e.string().optional().describe("File size in bytes."),
45377
+ url: e.string().optional().describe("Public signed URL for downloading the document.")
45378
+ }).describe(
45379
+ `Document represents a file attachment
45380
+ associated with a message.`
45381
+ )
45382
+ ).optional().describe("List of document attachments."),
45383
+ editedAt: e.string().optional().describe("Message last update timestamp (Unix time, milliseconds)."),
45384
+ id: e.string().optional().describe("Unique message identifier."),
45385
+ images: e.array(
45386
+ e.object({
45387
+ createdAt: e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
45388
+ fileId: e.string().optional().describe("File storage identifier."),
45389
+ height: e.number().optional().describe("Image height in pixels."),
45390
+ id: e.string().optional().describe("Image identifier."),
45391
+ messageId: e.string().optional().describe(
45392
+ "Identifier of the message this message belongs to."
45393
+ ),
45394
+ mime: e.string().optional().describe("MIME type of the image."),
45395
+ url: e.string().optional().describe("Public signed URL for accessing the image."),
45396
+ width: e.number().optional().describe("Image width in pixels.")
45397
+ }).describe(
45398
+ `Image represents an image attachment
45399
+ associated with a message.`
45400
+ )
45401
+ ).optional().describe("List of image attachments."),
45402
+ interactive: e.object({
45403
+ documents: e.object({
45404
+ documents: e.array(
45405
+ e.object({
45406
+ fileName: e.string().optional(),
45407
+ id: e.string().optional(),
45408
+ mimeType: e.string().optional(),
45409
+ sizeBytes: e.string().optional(),
45410
+ url: e.string().optional()
45411
+ }).describe(
45412
+ "Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems."
45413
+ )
45414
+ ).optional().describe(
45415
+ `Documents to be attached to the header of interactive message.
45416
+ Max allowed documents: 10.`
45417
+ )
45418
+ }).optional().describe("Document attachments header."),
45419
+ images: e.object({
45420
+ images: e.array(
45421
+ e.object({
45422
+ id: e.string().optional(),
45423
+ link: e.string().optional(),
45424
+ mimeType: e.string().optional(),
45425
+ name: e.string().optional()
45426
+ }).describe(
45427
+ "Represents `Image` entity with\nnecessary fields."
45428
+ )
45429
+ ).optional().describe(
45430
+ `Images to be attached to the header of interactive message.
45431
+ Max allowed images: 10.`
45432
+ )
45433
+ }).optional().describe("Images attachment header."),
45434
+ listReply: e.object({
45435
+ mainButtonTitle: e.string().optional().describe(
45436
+ "Title of the main button, that on-click show up list."
45437
+ ),
45438
+ sections: e.array(
45439
+ e.object({
45440
+ buttons: e.array(
45441
+ e.object({
45442
+ callback: e.object({
45443
+ data: e.string().optional().describe(
45444
+ "Opaque data payload passed back to the server upon interaction."
45445
+ )
45446
+ }).optional().describe(
45447
+ "Triggers a backend event (callback) with associated metadata."
45448
+ ),
45449
+ id: e.string().optional().describe(
45450
+ `Unique idempotent identifier for the button.
45451
+ Used by the frontend to track state and prevent duplicate interactions.`
45452
+ ),
45453
+ label: e.string().optional().describe(
45454
+ "The human-readable label displayed on the button."
45455
+ ),
45456
+ metadata: e.looseObject({}).optional().describe(
45457
+ `Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
45458
+ Usage: Allows for future-proofing without breaking schema changes.`
45459
+ ),
45460
+ request: e.object({
45461
+ action: e.string().optional().describe(
45462
+ "The specific action to be performed by the client application."
45463
+ )
45464
+ }).optional().describe(
45465
+ "Requests sensitive information from the client (e.g., location or contact)."
45466
+ ),
45467
+ url: e.object({
45468
+ url: e.string().optional().describe(
45469
+ "Must be a valid absolute URI (e.g., https://example.com)."
45470
+ )
45471
+ }).optional().describe(
45472
+ "Directs the user to an external web resource."
45473
+ )
45474
+ }).describe(
45475
+ `Defines a single interactive element within the keyboard.
45476
+ Each button must have a unique identifier and a specific action type.`
45477
+ )
45478
+ ).optional().describe(
45479
+ `Collection of buttons within this section.
45480
+ Minimum of 1 button is required to prevent empty sections.`
45481
+ ),
45482
+ section: e.string().optional().describe(
45483
+ "The header text for this section. Must be concise and descriptive."
45484
+ )
45485
+ }).describe(
45486
+ `Represents a row of buttons grouped under a specific logical section header.
45487
+ Useful for creating categorized menus or structured interactive interfaces.`
45488
+ )
45489
+ ).optional().describe("List with sections with buttons.")
45490
+ }).optional().describe(
45491
+ "List reply with main list button text and sections with buttons."
45492
+ ),
45493
+ markup: e.object({
45494
+ rows: e.array(
45495
+ e.object({
45496
+ buttons: e.array(
45497
+ e.object({
45498
+ callback: e.object({
45499
+ data: e.string().optional().describe(
45500
+ "Opaque data payload passed back to the server upon interaction."
45501
+ )
45502
+ }).optional().describe(
45503
+ "Triggers a backend event (callback) with associated metadata."
45504
+ ),
45505
+ id: e.string().optional().describe(
45506
+ `Unique idempotent identifier for the button.
45507
+ Used by the frontend to track state and prevent duplicate interactions.`
45508
+ ),
45509
+ label: e.string().optional().describe(
45510
+ "The human-readable label displayed on the button."
45511
+ ),
45512
+ metadata: e.looseObject({}).optional().describe(
45513
+ `Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
45514
+ Usage: Allows for future-proofing without breaking schema changes.`
45515
+ ),
45516
+ request: e.object({
45517
+ action: e.string().optional().describe(
45518
+ "The specific action to be performed by the client application."
45519
+ )
45520
+ }).optional().describe(
45521
+ "Requests sensitive information from the client (e.g., location or contact)."
45522
+ ),
45523
+ url: e.object({
45524
+ url: e.string().optional().describe(
45525
+ "Must be a valid absolute URI (e.g., https://example.com)."
45526
+ )
45527
+ }).optional().describe(
45528
+ "Directs the user to an external web resource."
45529
+ )
45530
+ }).describe(
45531
+ `Defines a single interactive element within the keyboard.
45532
+ Each button must have a unique identifier and a specific action type.`
45533
+ )
45534
+ ).optional().describe(
45535
+ `Horizontal collection of buttons.
45536
+ Capped at 10 to ensure UI responsiveness and prevent overflow.`
45537
+ )
45538
+ }).describe(
45539
+ "A standard horizontal row of interactive buttons without a section header."
45540
+ )
45541
+ ).optional().describe("Rows of buttons matrix.")
45542
+ }).optional().describe("Markup matrix with buttons."),
45543
+ singleUse: e.boolean().optional().describe("Force to block user keyboard.")
45544
+ }).optional().describe("Interactive represents a rich message with UI elements."),
45545
+ location: e.object({
45546
+ address: e.string().optional(),
45547
+ latitude: e.number().optional(),
45548
+ longitude: e.number().optional(),
45549
+ name: e.string().optional()
45550
+ }).optional(),
45551
+ metadata: e.looseObject({}).optional().describe(
45552
+ `Arbitrary message metadata.
45553
+ Can contain structured data depending on message type.`
45554
+ ),
45555
+ sender: e.object({
45556
+ contact: e.object({
45557
+ appId: e.string().optional().describe(
45558
+ "Identifier of the specific integration app or bot."
45559
+ ),
45560
+ createdAt: e.string().optional().describe(
45561
+ "Record creation timestamp (Unix Epoch in milliseconds)."
45562
+ ),
45563
+ isBot: e.boolean().optional().describe(
45564
+ "Represents if usere is real person or automatic script."
45565
+ ),
45566
+ iss: e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
45567
+ metadata: e.record(e.string(), e.string()).optional().describe(
45568
+ "Additional dynamic attributes provided by the messenger."
45569
+ ),
45570
+ name: e.string().optional().describe("Display name of the contact."),
45571
+ sub: e.string().optional().describe("Associated internal system subject/identifier."),
45572
+ type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
45573
+ updatedAt: e.string().optional().describe(
45574
+ "Last record update timestamp (Unix Epoch in milliseconds)."
45575
+ ),
45576
+ username: e.string().optional().describe("Technical username or handle."),
45577
+ vias: e.array(
45578
+ e.object({
45579
+ contactId: e.string().optional(),
45580
+ createdAt: e.string().optional(),
45581
+ disable: e.boolean().optional(),
45582
+ disableReason: e.string().optional(),
45583
+ metadata: e.looseObject({}).optional(),
45584
+ updatedAt: e.string().optional(),
45585
+ via: e.string().optional()
45586
+ })
45587
+ ).optional()
45588
+ }).optional().describe("Contact represents an external messaging identity."),
45589
+ id: e.string().optional(),
45590
+ permissions: e.object({
45591
+ canAddMembers: e.boolean().optional(),
45592
+ canChangeMembersPermissions: e.boolean().optional(),
45593
+ canChangeThreadInfo: e.boolean().optional(),
45594
+ canRemoveMembers: e.boolean().optional(),
45595
+ canSendMessages: e.boolean().optional(),
45596
+ createdAt: e.string().optional(),
45597
+ id: e.string().optional(),
45598
+ memberId: e.string().optional(),
45599
+ updatedAt: e.string().optional()
45600
+ }).optional(),
45601
+ role: e.enum([
45602
+ "ROLE_UNSPECIFIED",
45603
+ "ROLE_MEMBER",
45604
+ "ROLE_ADMIN",
45605
+ "ROLE_OWNER",
45606
+ "ROLE_SUPERVISOR"
45607
+ ]).default(Hr)
45608
+ }).optional().describe("Sender user aggregated information."),
45609
+ threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
45610
+ type: e.number().optional().describe("Message type identifier.")
45611
+ }).optional().describe("Last message of the linked thread."),
45612
+ members: e.array(
45613
+ e.object({
45614
+ contact: e.object({
45615
+ appId: e.string().optional().describe(
45616
+ "Identifier of the specific integration app or bot."
45617
+ ),
45618
+ createdAt: e.string().optional().describe(
45619
+ "Record creation timestamp (Unix Epoch in milliseconds)."
45620
+ ),
45621
+ isBot: e.boolean().optional().describe(
45622
+ "Represents if usere is real person or automatic script."
45623
+ ),
45624
+ iss: e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
45625
+ metadata: e.record(e.string(), e.string()).optional().describe(
45626
+ "Additional dynamic attributes provided by the messenger."
45627
+ ),
45628
+ name: e.string().optional().describe("Display name of the contact."),
45629
+ sub: e.string().optional().describe("Associated internal system subject/identifier."),
45630
+ type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
45631
+ updatedAt: e.string().optional().describe(
45632
+ "Last record update timestamp (Unix Epoch in milliseconds)."
45633
+ ),
45634
+ username: e.string().optional().describe("Technical username or handle."),
45635
+ vias: e.array(
45636
+ e.object({
45637
+ contactId: e.string().optional(),
45638
+ createdAt: e.string().optional(),
45639
+ disable: e.boolean().optional(),
45640
+ disableReason: e.string().optional(),
45641
+ metadata: e.looseObject({}).optional(),
45642
+ updatedAt: e.string().optional(),
45643
+ via: e.string().optional()
45644
+ })
45645
+ ).optional()
45646
+ }).optional().describe("Contact represents an external messaging identity."),
45647
+ id: e.string().optional(),
45648
+ permissions: e.object({
45649
+ canAddMembers: e.boolean().optional(),
45650
+ canChangeMembersPermissions: e.boolean().optional(),
45651
+ canChangeThreadInfo: e.boolean().optional(),
45652
+ canRemoveMembers: e.boolean().optional(),
45653
+ canSendMessages: e.boolean().optional(),
45654
+ createdAt: e.string().optional(),
45655
+ id: e.string().optional(),
45656
+ memberId: e.string().optional(),
45657
+ updatedAt: e.string().optional()
45658
+ }).optional(),
45659
+ role: e.enum([
45660
+ "ROLE_UNSPECIFIED",
45661
+ "ROLE_MEMBER",
45662
+ "ROLE_ADMIN",
45663
+ "ROLE_OWNER",
45664
+ "ROLE_SUPERVISOR"
45665
+ ]).default(Kr)
45666
+ }).describe(
45667
+ `ThreadMember represents a thread participant
45668
+ with optional type-specific settings.`
45669
+ )
45670
+ ).optional().describe("Detailed member information."),
45671
+ settings: e.object({
45672
+ createdAt: e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
45673
+ domainId: e.number().optional().describe("Domain identifier."),
45674
+ id: e.string().optional().describe("Settings identifier."),
45675
+ title: e.string().optional().describe(
45676
+ `Custom title for the direct thread.
45677
+ Usually represents the display name of the conversation.`
45678
+ ),
45679
+ updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds).")
45680
+ }).optional().describe("User-specific settings for this thread."),
45681
+ subject: e.string().optional().describe("Thread subject or title."),
45682
+ type: e.enum([
45683
+ "UNKNOWN",
45684
+ "DIRECT",
45685
+ "GROUP",
45686
+ "CHANNEL"
45687
+ ]).default(Qr).describe("Type of the thread."),
45688
+ updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
45689
+ variables: e.object({
45690
+ threadId: e.string().optional().describe("Unique identifier for the thread."),
45691
+ variables: e.record(
45692
+ e.string(),
45693
+ e.object({
45694
+ setAt: e.string().optional().describe(
45695
+ "Timestamp when the variable was set (Unix time, milliseconds)."
45696
+ ),
45697
+ setBy: e.object({
45698
+ appId: e.string().optional().describe(
45699
+ "Identifier of the specific integration app or bot."
45700
+ ),
45701
+ createdAt: e.string().optional().describe(
45702
+ "Record creation timestamp (Unix Epoch in milliseconds)."
45703
+ ),
45704
+ isBot: e.boolean().optional().describe(
45705
+ "Represents if usere is real person or automatic script."
45706
+ ),
45707
+ iss: e.string().optional().describe(
45708
+ "Provider-specific unique identifier (Issuer ID)."
45709
+ ),
45710
+ metadata: e.record(e.string(), e.string()).optional().describe(
45711
+ "Additional dynamic attributes provided by the messenger."
45712
+ ),
45713
+ name: e.string().optional().describe("Display name of the contact."),
45714
+ sub: e.string().optional().describe(
45715
+ "Associated internal system subject/identifier."
45716
+ ),
45717
+ type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
45718
+ updatedAt: e.string().optional().describe(
45719
+ "Last record update timestamp (Unix Epoch in milliseconds)."
45720
+ ),
45721
+ username: e.string().optional().describe("Technical username or handle."),
45722
+ vias: e.array(
45723
+ e.object({
45724
+ contactId: e.string().optional(),
45725
+ createdAt: e.string().optional(),
45726
+ disable: e.boolean().optional(),
45727
+ disableReason: e.string().optional(),
45728
+ metadata: e.looseObject({}).optional(),
45729
+ updatedAt: e.string().optional(),
45730
+ via: e.string().optional()
45731
+ })
45732
+ ).optional()
45733
+ }).optional().describe("Contact who set the variable."),
45734
+ value: e.looseObject({}).optional().describe(
45735
+ `Arbitrary structured value of the variable.
45736
+ Supports dynamic JSON-like content.`
45737
+ )
45738
+ }).describe(
45739
+ `VariableEntry represents a single variable value
45740
+ along with metadata about who and when it was set.`
45741
+ )
45742
+ ).optional().describe(
45743
+ `Key-value map of variables.
45744
+ Key is the variable name, value contains data and metadata.`
45745
+ )
45746
+ }).optional().describe("Optional variables associated with the thread.")
45747
+ }).describe("Thread represents a thread (aka chat or conversation) entity.");
44954
45748
  e.object({
44955
45749
  thread_id: e.string()
44956
45750
  });
44957
- const Hr = "ROLE_UNSPECIFIED";
45751
+ const Wr = "ROLE_UNSPECIFIED";
44958
45752
  e.object({
44959
45753
  contact: e.object({
44960
45754
  iss: e.string().optional(),
@@ -44966,9 +45760,9 @@ e.object({
44966
45760
  "ROLE_ADMIN",
44967
45761
  "ROLE_OWNER",
44968
45762
  "ROLE_SUPERVISOR"
44969
- ]).default(Hr)
45763
+ ]).default(Wr)
44970
45764
  });
44971
- const Kr = "ROLE_UNSPECIFIED";
45765
+ const Xr = "ROLE_UNSPECIFIED";
44972
45766
  e.object({
44973
45767
  member: e.object({
44974
45768
  contact: e.object({
@@ -44989,7 +45783,18 @@ e.object({
44989
45783
  updatedAt: e.string().optional().describe(
44990
45784
  "Last record update timestamp (Unix Epoch in milliseconds)."
44991
45785
  ),
44992
- username: e.string().optional().describe("Technical username or handle.")
45786
+ username: e.string().optional().describe("Technical username or handle."),
45787
+ vias: e.array(
45788
+ e.object({
45789
+ contactId: e.string().optional(),
45790
+ createdAt: e.string().optional(),
45791
+ disable: e.boolean().optional(),
45792
+ disableReason: e.string().optional(),
45793
+ metadata: e.looseObject({}).optional(),
45794
+ updatedAt: e.string().optional(),
45795
+ via: e.string().optional()
45796
+ })
45797
+ ).optional()
44993
45798
  }).optional().describe("Contact represents an external messaging identity."),
44994
45799
  id: e.string().optional(),
44995
45800
  permissions: e.object({
@@ -45009,7 +45814,7 @@ e.object({
45009
45814
  "ROLE_ADMIN",
45010
45815
  "ROLE_OWNER",
45011
45816
  "ROLE_SUPERVISOR"
45012
- ]).default(Kr)
45817
+ ]).default(Xr)
45013
45818
  }).optional().describe(
45014
45819
  `ThreadMember represents a thread participant
45015
45820
  with optional type-specific settings.`
@@ -45020,6 +45825,81 @@ e.object({
45020
45825
  member_id: e.string()
45021
45826
  });
45022
45827
  e.looseObject({});
45828
+ e.object({
45829
+ thread_id: e.string()
45830
+ });
45831
+ const Jr = "ROLE_UNSPECIFIED";
45832
+ e.object({
45833
+ contact: e.object({
45834
+ iss: e.string().optional(),
45835
+ sub: e.string().optional()
45836
+ }).optional(),
45837
+ role: e.enum([
45838
+ "ROLE_UNSPECIFIED",
45839
+ "ROLE_MEMBER",
45840
+ "ROLE_ADMIN",
45841
+ "ROLE_OWNER",
45842
+ "ROLE_SUPERVISOR"
45843
+ ]).default(Jr)
45844
+ });
45845
+ const $r = "ROLE_UNSPECIFIED";
45846
+ e.object({
45847
+ member: e.object({
45848
+ contact: e.object({
45849
+ appId: e.string().optional().describe("Identifier of the specific integration app or bot."),
45850
+ createdAt: e.string().optional().describe(
45851
+ "Record creation timestamp (Unix Epoch in milliseconds)."
45852
+ ),
45853
+ isBot: e.boolean().optional().describe(
45854
+ "Represents if usere is real person or automatic script."
45855
+ ),
45856
+ iss: e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
45857
+ metadata: e.record(e.string(), e.string()).optional().describe(
45858
+ "Additional dynamic attributes provided by the messenger."
45859
+ ),
45860
+ name: e.string().optional().describe("Display name of the contact."),
45861
+ sub: e.string().optional().describe("Associated internal system subject/identifier."),
45862
+ type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
45863
+ updatedAt: e.string().optional().describe(
45864
+ "Last record update timestamp (Unix Epoch in milliseconds)."
45865
+ ),
45866
+ username: e.string().optional().describe("Technical username or handle."),
45867
+ vias: e.array(
45868
+ e.object({
45869
+ contactId: e.string().optional(),
45870
+ createdAt: e.string().optional(),
45871
+ disable: e.boolean().optional(),
45872
+ disableReason: e.string().optional(),
45873
+ metadata: e.looseObject({}).optional(),
45874
+ updatedAt: e.string().optional(),
45875
+ via: e.string().optional()
45876
+ })
45877
+ ).optional()
45878
+ }).optional().describe("Contact represents an external messaging identity."),
45879
+ id: e.string().optional(),
45880
+ permissions: e.object({
45881
+ canAddMembers: e.boolean().optional(),
45882
+ canChangeMembersPermissions: e.boolean().optional(),
45883
+ canChangeThreadInfo: e.boolean().optional(),
45884
+ canRemoveMembers: e.boolean().optional(),
45885
+ canSendMessages: e.boolean().optional(),
45886
+ createdAt: e.string().optional(),
45887
+ id: e.string().optional(),
45888
+ memberId: e.string().optional(),
45889
+ updatedAt: e.string().optional()
45890
+ }).optional(),
45891
+ role: e.enum([
45892
+ "ROLE_UNSPECIFIED",
45893
+ "ROLE_MEMBER",
45894
+ "ROLE_ADMIN",
45895
+ "ROLE_OWNER",
45896
+ "ROLE_SUPERVISOR"
45897
+ ]).default($r)
45898
+ }).optional().describe(
45899
+ `ThreadMember represents a thread participant
45900
+ with optional type-specific settings.`
45901
+ )
45902
+ });
45023
45903
  e.object({
45024
45904
  thread_id: e.string().describe("Unique identifier for the thread.")
45025
45905
  });
@@ -45051,7 +45931,18 @@ e.object({
45051
45931
  updatedAt: e.string().optional().describe(
45052
45932
  "Last record update timestamp (Unix Epoch in milliseconds)."
45053
45933
  ),
45054
- username: e.string().optional().describe("Technical username or handle.")
45934
+ username: e.string().optional().describe("Technical username or handle."),
45935
+ vias: e.array(
45936
+ e.object({
45937
+ contactId: e.string().optional(),
45938
+ createdAt: e.string().optional(),
45939
+ disable: e.boolean().optional(),
45940
+ disableReason: e.string().optional(),
45941
+ metadata: e.looseObject({}).optional(),
45942
+ updatedAt: e.string().optional(),
45943
+ via: e.string().optional()
45944
+ })
45945
+ ).optional()
45055
45946
  }).optional().describe("Contact who set the variable."),
45056
45947
  value: e.looseObject({}).optional().describe(
45057
45948
  `Arbitrary structured value of the variable.
@@ -45113,7 +46004,18 @@ e.object({
45113
46004
  updatedAt: e.string().optional().describe(
45114
46005
  "Last record update timestamp (Unix Epoch in milliseconds)."
45115
46006
  ),
45116
- username: e.string().optional().describe("Technical username or handle.")
46007
+ username: e.string().optional().describe("Technical username or handle."),
46008
+ vias: e.array(
46009
+ e.object({
46010
+ contactId: e.string().optional(),
46011
+ createdAt: e.string().optional(),
46012
+ disable: e.boolean().optional(),
46013
+ disableReason: e.string().optional(),
46014
+ metadata: e.looseObject({}).optional(),
46015
+ updatedAt: e.string().optional(),
46016
+ via: e.string().optional()
46017
+ })
46018
+ ).optional()
45117
46019
  }).optional().describe("Contact who set the variable."),
45118
46020
  value: e.looseObject({}).optional().describe(
45119
46021
  `Arbitrary structured value of the variable.
@@ -45165,7 +46067,18 @@ e.object({
45165
46067
  updatedAt: e.string().optional().describe(
45166
46068
  "Last record update timestamp (Unix Epoch in milliseconds)."
45167
46069
  ),
45168
- username: e.string().optional().describe("Technical username or handle.")
46070
+ username: e.string().optional().describe("Technical username or handle."),
46071
+ vias: e.array(
46072
+ e.object({
46073
+ contactId: e.string().optional(),
46074
+ createdAt: e.string().optional(),
46075
+ disable: e.boolean().optional(),
46076
+ disableReason: e.string().optional(),
46077
+ metadata: e.looseObject({}).optional(),
46078
+ updatedAt: e.string().optional(),
46079
+ via: e.string().optional()
46080
+ })
46081
+ ).optional()
45169
46082
  }).optional().describe("Contact who set the variable."),
45170
46083
  value: e.looseObject({}).optional().describe(
45171
46084
  `Arbitrary structured value of the variable.
@@ -45222,7 +46135,18 @@ e.object({
45222
46135
  updatedAt: e.string().optional().describe(
45223
46136
  "Last record update timestamp (Unix Epoch in milliseconds)."
45224
46137
  ),
45225
- username: e.string().optional().describe("Technical username or handle.")
46138
+ username: e.string().optional().describe("Technical username or handle."),
46139
+ vias: e.array(
46140
+ e.object({
46141
+ contactId: e.string().optional(),
46142
+ createdAt: e.string().optional(),
46143
+ disable: e.boolean().optional(),
46144
+ disableReason: e.string().optional(),
46145
+ metadata: e.looseObject({}).optional(),
46146
+ updatedAt: e.string().optional(),
46147
+ via: e.string().optional()
46148
+ })
46149
+ ).optional()
45226
46150
  }).optional().describe("Contact who set the variable."),
45227
46151
  value: e.looseObject({}).optional().describe(
45228
46152
  `Arbitrary structured value of the variable.
@@ -45286,642 +46210,6 @@ e.object({
45286
46210
  updatedAt: e.string().optional()
45287
46211
  }).optional()
45288
46212
  });
45289
- e.object({
45290
- enabled: e.boolean().optional(),
45291
- metaAppId: e.string().optional(),
45292
- name: e.string().optional(),
45293
- pageId: e.string().optional(),
45294
- pageToken: e.string().optional()
45295
- }).describe(
45296
- "/ ProviderCreateFacebookGateRequest links a specific Facebook Page as a messaging gateway."
45297
- );
45298
- const Wr = "PROVIDER_STATUS_UNSPECIFIED";
45299
- e.object({
45300
- item: e.object({
45301
- createdAt: e.string().optional(),
45302
- enabled: e.boolean().optional(),
45303
- id: e.string().optional(),
45304
- metaAppId: e.string().optional(),
45305
- name: e.string().optional(),
45306
- pageId: e.string().optional(),
45307
- pageName: e.string().optional(),
45308
- status: e.enum([
45309
- "PROVIDER_STATUS_UNSPECIFIED",
45310
- "PROVIDER_STATUS_ACTIVE",
45311
- "PROVIDER_STATUS_INACTIVE",
45312
- "PROVIDER_STATUS_ERROR"
45313
- ]).default(Wr).describe(
45314
- `/ ProviderStatus represents the operational state of a provider gateway.
45315
-
45316
- - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45317
- - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45318
- - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45319
- ),
45320
- updatedAt: e.string().optional(),
45321
- webhook: e.string().optional()
45322
- }).optional()
45323
- }).describe(
45324
- "/ ProviderCreateFacebookGateResponse returns the newly activated Facebook provider."
45325
- );
45326
- e.object({
45327
- id: e.string()
45328
- });
45329
- const Qr = "PROVIDER_STATUS_UNSPECIFIED";
45330
- e.object({
45331
- item: e.object({
45332
- createdAt: e.string().optional(),
45333
- enabled: e.boolean().optional(),
45334
- id: e.string().optional(),
45335
- metaAppId: e.string().optional(),
45336
- name: e.string().optional(),
45337
- pageId: e.string().optional(),
45338
- pageName: e.string().optional(),
45339
- status: e.enum([
45340
- "PROVIDER_STATUS_UNSPECIFIED",
45341
- "PROVIDER_STATUS_ACTIVE",
45342
- "PROVIDER_STATUS_INACTIVE",
45343
- "PROVIDER_STATUS_ERROR"
45344
- ]).default(Qr).describe(
45345
- `/ ProviderStatus represents the operational state of a provider gateway.
45346
-
45347
- - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45348
- - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45349
- - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45350
- ),
45351
- updatedAt: e.string().optional(),
45352
- webhook: e.string().optional()
45353
- }).optional()
45354
- });
45355
- e.object({
45356
- id: e.string()
45357
- });
45358
- const Xr = "PROVIDER_STATUS_UNSPECIFIED";
45359
- e.object({
45360
- item: e.object({
45361
- createdAt: e.string().optional(),
45362
- enabled: e.boolean().optional(),
45363
- id: e.string().optional(),
45364
- metaAppId: e.string().optional(),
45365
- name: e.string().optional(),
45366
- pageId: e.string().optional(),
45367
- pageName: e.string().optional(),
45368
- status: e.enum([
45369
- "PROVIDER_STATUS_UNSPECIFIED",
45370
- "PROVIDER_STATUS_ACTIVE",
45371
- "PROVIDER_STATUS_INACTIVE",
45372
- "PROVIDER_STATUS_ERROR"
45373
- ]).default(Xr).describe(
45374
- `/ ProviderStatus represents the operational state of a provider gateway.
45375
-
45376
- - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45377
- - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45378
- - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45379
- ),
45380
- updatedAt: e.string().optional(),
45381
- webhook: e.string().optional()
45382
- }).optional()
45383
- });
45384
- e.object({
45385
- id: e.string()
45386
- });
45387
- e.object({
45388
- enabled: e.boolean().optional(),
45389
- name: e.string().optional(),
45390
- pageToken: e.string().optional()
45391
- }).describe(
45392
- "/ ProviderUpdateFacebookGateRequest updates the operational settings of a Facebook provider."
45393
- );
45394
- const Jr = "PROVIDER_STATUS_UNSPECIFIED";
45395
- e.object({
45396
- item: e.object({
45397
- createdAt: e.string().optional(),
45398
- enabled: e.boolean().optional(),
45399
- id: e.string().optional(),
45400
- metaAppId: e.string().optional(),
45401
- name: e.string().optional(),
45402
- pageId: e.string().optional(),
45403
- pageName: e.string().optional(),
45404
- status: e.enum([
45405
- "PROVIDER_STATUS_UNSPECIFIED",
45406
- "PROVIDER_STATUS_ACTIVE",
45407
- "PROVIDER_STATUS_INACTIVE",
45408
- "PROVIDER_STATUS_ERROR"
45409
- ]).default(Jr).describe(
45410
- `/ ProviderStatus represents the operational state of a provider gateway.
45411
-
45412
- - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45413
- - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45414
- - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45415
- ),
45416
- updatedAt: e.string().optional(),
45417
- webhook: e.string().optional()
45418
- }).optional()
45419
- }).describe(
45420
- "/ ProviderUpdateFacebookGateResponse returns the updated Facebook provider."
45421
- );
45422
- const $r = "PROVIDER_STATUS_UNSPECIFIED";
45423
- e.object({
45424
- page: e.number().optional().describe("Page number (starts from 1)"),
45425
- size: e.number().optional().describe("Items per page"),
45426
- types: e.array(
45427
- e.enum([
45428
- "PROVIDER_TYPE_UNSPECIFIED",
45429
- "PROVIDER_TYPE_VIBER",
45430
- "PROVIDER_TYPE_TELEGRAM_BOT",
45431
- "PROVIDER_TYPE_TELEGRAM_APP",
45432
- "PROVIDER_TYPE_META_APP",
45433
- "PROVIDER_TYPE_FACEBOOK",
45434
- "PROVIDER_TYPE_INSTAGRAM",
45435
- "PROVIDER_TYPE_WHATSAPP"
45436
- ])
45437
- ).optional().describe("Filter by channel type (Telegram, Facebook, etc.)"),
45438
- status: e.enum([
45439
- "PROVIDER_STATUS_UNSPECIFIED",
45440
- "PROVIDER_STATUS_ACTIVE",
45441
- "PROVIDER_STATUS_INACTIVE",
45442
- "PROVIDER_STATUS_ERROR"
45443
- ]).default($r).describe(
45444
- `Filter by active/inactive status
45445
-
45446
- - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45447
- - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45448
- - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45449
- ),
45450
- q: e.string().optional().describe("Search query for name or metadata")
45451
- });
45452
- const Zr = "PROVIDER_STATUS_UNSPECIFIED", es = "PROVIDER_TYPE_UNSPECIFIED";
45453
- e.object({
45454
- items: e.array(
45455
- e.object({
45456
- contact: e.string().optional(),
45457
- createdAt: e.string().optional(),
45458
- id: e.string().optional(),
45459
- name: e.string().optional(),
45460
- providerAppId: e.string().optional(),
45461
- status: e.enum([
45462
- "PROVIDER_STATUS_UNSPECIFIED",
45463
- "PROVIDER_STATUS_ACTIVE",
45464
- "PROVIDER_STATUS_INACTIVE",
45465
- "PROVIDER_STATUS_ERROR"
45466
- ]).default(Zr).describe(
45467
- `/ ProviderStatus represents the operational state of a provider gateway.
45468
-
45469
- - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45470
- - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45471
- - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45472
- ),
45473
- type: e.enum([
45474
- "PROVIDER_TYPE_UNSPECIFIED",
45475
- "PROVIDER_TYPE_VIBER",
45476
- "PROVIDER_TYPE_TELEGRAM_BOT",
45477
- "PROVIDER_TYPE_TELEGRAM_APP",
45478
- "PROVIDER_TYPE_META_APP",
45479
- "PROVIDER_TYPE_FACEBOOK",
45480
- "PROVIDER_TYPE_INSTAGRAM",
45481
- "PROVIDER_TYPE_WHATSAPP"
45482
- ]).default(es).describe(
45483
- "/ ProviderType defines the specific provider or protocol used for messaging."
45484
- ),
45485
- updatedAt: e.string().optional(),
45486
- webhookUrl: e.string().optional()
45487
- })
45488
- ).optional(),
45489
- next: e.boolean().optional().describe("Indicates if there are more pages available."),
45490
- page: e.number().optional().describe("Current page number."),
45491
- size: e.number().optional().describe("Number of items returned in this batch.")
45492
- }).describe(
45493
- "/ ProviderListGatesResponse returns a paginated list of provider summaries."
45494
- );
45495
- e.object({
45496
- appId: e.string().optional(),
45497
- appSecret: e.string().optional(),
45498
- name: e.string().optional(),
45499
- oauthRedirectUri: e.string().optional(),
45500
- scopes: e.array(e.string()).optional()
45501
- }).describe(
45502
- `/ ProviderCreateMetaAppRequest is used to register a new Meta Developer Application.
45503
- / This configuration is the foundation for all subsequent OAuth-based integrations.`
45504
- );
45505
- e.object({
45506
- item: e.object({
45507
- appId: e.string().optional(),
45508
- createdAt: e.string().optional(),
45509
- id: e.string().optional(),
45510
- name: e.string().optional(),
45511
- oauthRedirectUri: e.string().optional(),
45512
- scopes: e.array(e.string()).optional(),
45513
- systemUserToken: e.string().optional(),
45514
- updatedAt: e.string().optional()
45515
- }).optional()
45516
- }).describe(
45517
- "/ ProviderCreateMetaAppResponse returns the successfully registered Meta application."
45518
- );
45519
- e.object({
45520
- id: e.string()
45521
- });
45522
- e.object({
45523
- item: e.object({
45524
- appId: e.string().optional(),
45525
- createdAt: e.string().optional(),
45526
- id: e.string().optional(),
45527
- name: e.string().optional(),
45528
- oauthRedirectUri: e.string().optional(),
45529
- scopes: e.array(e.string()).optional(),
45530
- systemUserToken: e.string().optional(),
45531
- updatedAt: e.string().optional()
45532
- }).optional()
45533
- }).describe(
45534
- "/ ProviderDeleteMetaAppResponse returns the details of the deleted application."
45535
- );
45536
- e.object({
45537
- id: e.string()
45538
- });
45539
- e.object({
45540
- item: e.object({
45541
- appId: e.string().optional(),
45542
- createdAt: e.string().optional(),
45543
- id: e.string().optional(),
45544
- name: e.string().optional(),
45545
- oauthRedirectUri: e.string().optional(),
45546
- scopes: e.array(e.string()).optional(),
45547
- systemUserToken: e.string().optional(),
45548
- updatedAt: e.string().optional()
45549
- }).optional()
45550
- }).describe(
45551
- "/ ProviderGetMetaAppResponse returns the requested Meta application details."
45552
- );
45553
- e.object({
45554
- id: e.string().describe("The internal ID of the MetaApp record")
45555
- });
45556
- e.object({
45557
- appSecret: e.string().optional(),
45558
- name: e.string().optional(),
45559
- oauthRedirectUri: e.string().optional(),
45560
- scopes: e.array(e.string()).optional()
45561
- }).describe(
45562
- "/ ProviderUpdateMetaAppRequest updates the settings for an existing Meta application."
45563
- );
45564
- e.object({
45565
- item: e.object({
45566
- appId: e.string().optional(),
45567
- createdAt: e.string().optional(),
45568
- id: e.string().optional(),
45569
- name: e.string().optional(),
45570
- oauthRedirectUri: e.string().optional(),
45571
- scopes: e.array(e.string()).optional(),
45572
- systemUserToken: e.string().optional(),
45573
- updatedAt: e.string().optional()
45574
- }).optional()
45575
- }).describe(
45576
- "/ ProviderUpdateMetaAppResponse returns the Meta application after modifications."
45577
- );
45578
- e.object({
45579
- meta_app_id: e.string()
45580
- });
45581
- e.object({
45582
- code: e.string().optional(),
45583
- state: e.string().optional()
45584
- }).describe(
45585
- "/ ProviderMetaOAuthCallbackRequest handles the verification and exchange of the auth code."
45586
- );
45587
- e.object({
45588
- pages: e.array(
45589
- e.object({
45590
- accessToken: e.string().optional(),
45591
- pageId: e.string().optional(),
45592
- pageName: e.string().optional(),
45593
- platform: e.string().optional()
45594
- }).describe(
45595
- "/ ProviderMetaLinkedPage represents a single Meta asset (Page/Account) found during OAuth."
45596
- )
45597
- ).optional(),
45598
- userAccessToken: e.string().optional()
45599
- }).describe(
45600
- "/ ProviderMetaOAuthCallbackResponse provides the user token and discovered assets."
45601
- );
45602
- e.object({
45603
- meta_app_id: e.string().describe("Internal ID of the MetaApp to use for this flow")
45604
- });
45605
- e.object({
45606
- extraScopes: e.array(e.string()).optional()
45607
- }).describe(
45608
- "/ ProviderMetaOAuthStartRequest initiates the handshake with Meta."
45609
- );
45610
- e.object({
45611
- authUrl: e.string().optional(),
45612
- state: e.string().optional()
45613
- }).describe(
45614
- "/ ProviderMetaOAuthStartResponse provides the entry point for the user authorization."
45615
- );
45616
- const ts = "PROVIDER_TYPE_UNSPECIFIED";
45617
- e.object({
45618
- caption: e.string().optional(),
45619
- document: e.object({
45620
- id: e.string().optional(),
45621
- mimeType: e.string().optional(),
45622
- name: e.string().optional(),
45623
- size: e.string().optional(),
45624
- url: e.string().optional()
45625
- }).optional().describe("ProviderFile represents a generic file attachment."),
45626
- externalUserId: e.string().optional(),
45627
- gateId: e.string().optional(),
45628
- type: e.enum([
45629
- "PROVIDER_TYPE_UNSPECIFIED",
45630
- "PROVIDER_TYPE_VIBER",
45631
- "PROVIDER_TYPE_TELEGRAM_BOT",
45632
- "PROVIDER_TYPE_TELEGRAM_APP",
45633
- "PROVIDER_TYPE_META_APP",
45634
- "PROVIDER_TYPE_FACEBOOK",
45635
- "PROVIDER_TYPE_INSTAGRAM",
45636
- "PROVIDER_TYPE_WHATSAPP"
45637
- ]).default(ts).describe(
45638
- "/ ProviderType defines the specific provider or protocol used for messaging."
45639
- )
45640
- }).describe(
45641
- "ProviderSendDocumentRequest sends a document with an optional caption."
45642
- );
45643
- e.object({
45644
- createdAt: e.string().optional(),
45645
- externalId: e.string().optional()
45646
- }).describe(
45647
- "ProviderSendMessageResponse returns the delivery status and external message ID."
45648
- );
45649
- const os = "PROVIDER_TYPE_UNSPECIFIED";
45650
- e.object({
45651
- caption: e.string().optional(),
45652
- externalUserId: e.string().optional(),
45653
- gateId: e.string().optional(),
45654
- image: e.object({
45655
- id: e.string().optional(),
45656
- mimeType: e.string().optional(),
45657
- name: e.string().optional(),
45658
- size: e.string().optional(),
45659
- url: e.string().optional()
45660
- }).optional().describe("ProviderFile represents a generic file attachment."),
45661
- type: e.enum([
45662
- "PROVIDER_TYPE_UNSPECIFIED",
45663
- "PROVIDER_TYPE_VIBER",
45664
- "PROVIDER_TYPE_TELEGRAM_BOT",
45665
- "PROVIDER_TYPE_TELEGRAM_APP",
45666
- "PROVIDER_TYPE_META_APP",
45667
- "PROVIDER_TYPE_FACEBOOK",
45668
- "PROVIDER_TYPE_INSTAGRAM",
45669
- "PROVIDER_TYPE_WHATSAPP"
45670
- ]).default(os).describe(
45671
- "/ ProviderType defines the specific provider or protocol used for messaging."
45672
- )
45673
- }).describe(
45674
- "ProviderSendImageRequest sends an image with an optional caption."
45675
- );
45676
- e.object({
45677
- createdAt: e.string().optional(),
45678
- externalId: e.string().optional()
45679
- }).describe(
45680
- "ProviderSendMessageResponse returns the delivery status and external message ID."
45681
- );
45682
- const is = "PROVIDER_TYPE_UNSPECIFIED";
45683
- e.object({
45684
- externalUserId: e.string().optional(),
45685
- gateId: e.string().optional(),
45686
- metadata: e.record(e.string(), e.string()).optional(),
45687
- text: e.string().optional(),
45688
- type: e.enum([
45689
- "PROVIDER_TYPE_UNSPECIFIED",
45690
- "PROVIDER_TYPE_VIBER",
45691
- "PROVIDER_TYPE_TELEGRAM_BOT",
45692
- "PROVIDER_TYPE_TELEGRAM_APP",
45693
- "PROVIDER_TYPE_META_APP",
45694
- "PROVIDER_TYPE_FACEBOOK",
45695
- "PROVIDER_TYPE_INSTAGRAM",
45696
- "PROVIDER_TYPE_WHATSAPP"
45697
- ]).default(is).describe(
45698
- "/ ProviderType defines the specific provider or protocol used for messaging."
45699
- )
45700
- }).describe("ProviderSendTextRequest sends a simple text message.");
45701
- e.object({
45702
- createdAt: e.string().optional(),
45703
- externalId: e.string().optional()
45704
- }).describe(
45705
- "ProviderSendMessageResponse returns the delivery status and external message ID."
45706
- );
45707
- e.object({
45708
- accessToken: e.string().optional(),
45709
- metaAppId: e.string().optional(),
45710
- name: e.string().optional(),
45711
- phoneNumberId: e.string().optional(),
45712
- wabaId: e.string().optional()
45713
- }).describe(
45714
- "/ ProviderCreateWhatsAppGateRequest connects a WhatsApp Business Account (WABA)."
45715
- );
45716
- const ns = "PROVIDER_STATUS_UNSPECIFIED";
45717
- e.object({
45718
- item: e.object({
45719
- createdAt: e.string().optional(),
45720
- id: e.string().optional(),
45721
- metaAppId: e.string().optional(),
45722
- name: e.string().optional(),
45723
- phoneDisplay: e.string().optional(),
45724
- phoneNumberId: e.string().optional(),
45725
- status: e.enum([
45726
- "PROVIDER_STATUS_UNSPECIFIED",
45727
- "PROVIDER_STATUS_ACTIVE",
45728
- "PROVIDER_STATUS_INACTIVE",
45729
- "PROVIDER_STATUS_ERROR"
45730
- ]).default(ns).describe(
45731
- `/ ProviderStatus represents the operational state of a provider gateway.
45732
-
45733
- - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45734
- - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45735
- - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45736
- ),
45737
- updatedAt: e.string().optional(),
45738
- wabaId: e.string().optional()
45739
- }).optional()
45740
- }).describe(
45741
- "/ ProviderCreateWhatsAppGateResponse returns the registered WhatsApp provider."
45742
- );
45743
- e.object({
45744
- id: e.string()
45745
- });
45746
- const as = "PROVIDER_STATUS_UNSPECIFIED";
45747
- e.object({
45748
- item: e.object({
45749
- createdAt: e.string().optional(),
45750
- id: e.string().optional(),
45751
- metaAppId: e.string().optional(),
45752
- name: e.string().optional(),
45753
- phoneDisplay: e.string().optional(),
45754
- phoneNumberId: e.string().optional(),
45755
- status: e.enum([
45756
- "PROVIDER_STATUS_UNSPECIFIED",
45757
- "PROVIDER_STATUS_ACTIVE",
45758
- "PROVIDER_STATUS_INACTIVE",
45759
- "PROVIDER_STATUS_ERROR"
45760
- ]).default(as).describe(
45761
- `/ ProviderStatus represents the operational state of a provider gateway.
45762
-
45763
- - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45764
- - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45765
- - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45766
- ),
45767
- updatedAt: e.string().optional(),
45768
- wabaId: e.string().optional()
45769
- }).optional()
45770
- });
45771
- e.object({
45772
- id: e.string()
45773
- });
45774
- const rs = "PROVIDER_STATUS_UNSPECIFIED";
45775
- e.object({
45776
- item: e.object({
45777
- createdAt: e.string().optional(),
45778
- id: e.string().optional(),
45779
- metaAppId: e.string().optional(),
45780
- name: e.string().optional(),
45781
- phoneDisplay: e.string().optional(),
45782
- phoneNumberId: e.string().optional(),
45783
- status: e.enum([
45784
- "PROVIDER_STATUS_UNSPECIFIED",
45785
- "PROVIDER_STATUS_ACTIVE",
45786
- "PROVIDER_STATUS_INACTIVE",
45787
- "PROVIDER_STATUS_ERROR"
45788
- ]).default(rs).describe(
45789
- `/ ProviderStatus represents the operational state of a provider gateway.
45790
-
45791
- - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45792
- - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45793
- - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45794
- ),
45795
- updatedAt: e.string().optional(),
45796
- wabaId: e.string().optional()
45797
- }).optional()
45798
- });
45799
- e.object({
45800
- id: e.string()
45801
- });
45802
- e.object({
45803
- accessToken: e.string().optional(),
45804
- name: e.string().optional()
45805
- }).describe(
45806
- "/ ProviderUpdateWhatsAppGateRequest updates WhatsApp-specific tokens or names."
45807
- );
45808
- const ss = "PROVIDER_STATUS_UNSPECIFIED";
45809
- e.object({
45810
- item: e.object({
45811
- createdAt: e.string().optional(),
45812
- id: e.string().optional(),
45813
- metaAppId: e.string().optional(),
45814
- name: e.string().optional(),
45815
- phoneDisplay: e.string().optional(),
45816
- phoneNumberId: e.string().optional(),
45817
- status: e.enum([
45818
- "PROVIDER_STATUS_UNSPECIFIED",
45819
- "PROVIDER_STATUS_ACTIVE",
45820
- "PROVIDER_STATUS_INACTIVE",
45821
- "PROVIDER_STATUS_ERROR"
45822
- ]).default(ss).describe(
45823
- `/ ProviderStatus represents the operational state of a provider gateway.
45824
-
45825
- - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
45826
- - PROVIDER_STATUS_INACTIVE: Manually disabled by user
45827
- - PROVIDER_STATUS_ERROR: Connection or authentication failed`
45828
- ),
45829
- updatedAt: e.string().optional(),
45830
- wabaId: e.string().optional()
45831
- }).optional()
45832
- }).describe(
45833
- "/ ProviderUpdateWhatsAppGateResponse returns the updated WhatsApp provider."
45834
- );
45835
- e.object({
45836
- thread_id_1: e.string()
45837
- });
45838
- e.object({
45839
- fields: e.array(e.string()).optional(),
45840
- ids: e.array(e.string()).optional(),
45841
- senderIds: e.array(e.string()).optional(),
45842
- types: e.array(e.number()).optional(),
45843
- domainId: e.number().optional(),
45844
- cursorId: e.string().optional(),
45845
- cursorBefore: e.boolean().optional(),
45846
- size: e.number().optional()
45847
- });
45848
- const ls = "ROLE_UNSPECIFIED";
45849
- e.object({
45850
- from: e.array(
45851
- e.object({
45852
- contactId: e.string().optional().describe("Contact ID of the thread member."),
45853
- id: e.string().optional(),
45854
- permissions: e.object({
45855
- canAddMembers: e.boolean().optional(),
45856
- canChangeMembersPermissions: e.boolean().optional(),
45857
- canChangeThreadInfo: e.boolean().optional(),
45858
- canRemoveMembers: e.boolean().optional(),
45859
- canSendMessages: e.boolean().optional(),
45860
- createdAt: e.string().optional(),
45861
- id: e.string().optional(),
45862
- memberId: e.string().optional(),
45863
- threadId: e.string().optional(),
45864
- updatedAt: e.string().optional()
45865
- }).optional().describe("User rights in the thread, determined by their role."),
45866
- role: e.enum([
45867
- "ROLE_UNSPECIFIED",
45868
- "ROLE_MEMBER",
45869
- "ROLE_ADMIN",
45870
- "ROLE_OWNER",
45871
- "ROLE_SUPERVISOR"
45872
- ]).default(
45873
- ls
45874
- ).describe(
45875
- "Role of the member in the thread, determining their permissions."
45876
- )
45877
- }).describe(
45878
- `ThreadMember represents a thread participant
45879
- with optional type-specific settings.`
45880
- )
45881
- ).optional(),
45882
- items: e.array(
45883
- e.object({
45884
- body: e.string().optional(),
45885
- createdAt: e.string().optional(),
45886
- documents: e.array(
45887
- e.object({
45888
- createdAt: e.string().optional(),
45889
- fileId: e.string().optional(),
45890
- id: e.string().optional(),
45891
- messageId: e.string().optional(),
45892
- mime: e.string().optional(),
45893
- name: e.string().optional(),
45894
- size: e.string().optional(),
45895
- url: e.string().optional()
45896
- })
45897
- ).optional(),
45898
- id: e.string().optional(),
45899
- images: e.array(
45900
- e.object({
45901
- createdAt: e.string().optional(),
45902
- fileId: e.string().optional(),
45903
- height: e.number().optional(),
45904
- id: e.string().optional(),
45905
- messageId: e.string().optional(),
45906
- mime: e.string().optional(),
45907
- url: e.string().optional(),
45908
- width: e.number().optional()
45909
- })
45910
- ).optional(),
45911
- metadata: e.looseObject({}).optional(),
45912
- senderId: e.string().optional(),
45913
- threadId: e.string().optional(),
45914
- type: e.number().optional(),
45915
- updatedAt: e.string().optional()
45916
- })
45917
- ).optional(),
45918
- nextCursor: e.object({
45919
- id: e.string().optional()
45920
- }).optional(),
45921
- prevCursor: e.object({
45922
- id: e.string().optional()
45923
- }).optional()
45924
- });
45925
46213
  e.object({
45926
46214
  page: e.number().optional(),
45927
46215
  size: e.number().optional(),
@@ -46153,7 +46441,7 @@ e.object({
46153
46441
  sort: e.string().optional(),
46154
46442
  fields: e.array(e.string()).optional()
46155
46443
  });
46156
- const ps = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46444
+ const Zr = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46157
46445
  e.object({
46158
46446
  items: e.array(
46159
46447
  e.object({
@@ -46193,7 +46481,7 @@ e.object({
46193
46481
  "WORKING_SCHEDULE_STATE_DRAFT",
46194
46482
  "WORKING_SCHEDULE_STATE_ARCHIVED"
46195
46483
  ]).default(
46196
- ps
46484
+ Zr
46197
46485
  ),
46198
46486
  team: e.object({
46199
46487
  id: e.string().optional(),
@@ -46209,7 +46497,7 @@ e.object({
46209
46497
  ).optional(),
46210
46498
  next: e.boolean().optional()
46211
46499
  });
46212
- const cs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46500
+ const es = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46213
46501
  e.object({
46214
46502
  item: e.object({
46215
46503
  agents: e.array(
@@ -46248,7 +46536,7 @@ e.object({
46248
46536
  "WORKING_SCHEDULE_STATE_DRAFT",
46249
46537
  "WORKING_SCHEDULE_STATE_ARCHIVED"
46250
46538
  ]).default(
46251
- cs
46539
+ es
46252
46540
  ),
46253
46541
  team: e.object({
46254
46542
  id: e.string().optional(),
@@ -46262,7 +46550,7 @@ e.object({
46262
46550
  }).optional()
46263
46551
  }).optional()
46264
46552
  });
46265
- const ds = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46553
+ const ts = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46266
46554
  e.object({
46267
46555
  item: e.object({
46268
46556
  agents: e.array(
@@ -46301,7 +46589,7 @@ e.object({
46301
46589
  "WORKING_SCHEDULE_STATE_DRAFT",
46302
46590
  "WORKING_SCHEDULE_STATE_ARCHIVED"
46303
46591
  ]).default(
46304
- ds
46592
+ ts
46305
46593
  ),
46306
46594
  team: e.object({
46307
46595
  id: e.string().optional(),
@@ -46327,7 +46615,7 @@ e.object({
46327
46615
  e.object({
46328
46616
  fields: e.array(e.string()).optional()
46329
46617
  });
46330
- const bs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46618
+ const os = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46331
46619
  e.object({
46332
46620
  item: e.object({
46333
46621
  agents: e.array(
@@ -46366,7 +46654,7 @@ e.object({
46366
46654
  "WORKING_SCHEDULE_STATE_DRAFT",
46367
46655
  "WORKING_SCHEDULE_STATE_ARCHIVED"
46368
46656
  ]).default(
46369
- bs
46657
+ os
46370
46658
  ),
46371
46659
  team: e.object({
46372
46660
  id: e.string().optional(),
@@ -46429,7 +46717,7 @@ e.object({
46429
46717
  e.object({
46430
46718
  "item.id": e.string()
46431
46719
  });
46432
- const gs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46720
+ const is = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46433
46721
  e.object({
46434
46722
  item: e.object({
46435
46723
  agents: e.array(
@@ -46467,7 +46755,7 @@ e.object({
46467
46755
  "WORKING_SCHEDULE_STATE_DRAFT",
46468
46756
  "WORKING_SCHEDULE_STATE_ARCHIVED"
46469
46757
  ]).default(
46470
- gs
46758
+ is
46471
46759
  ),
46472
46760
  team: e.object({
46473
46761
  id: e.string().optional(),
@@ -46481,7 +46769,7 @@ e.object({
46481
46769
  }).optional()
46482
46770
  }).optional()
46483
46771
  });
46484
- const us = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46772
+ const ns = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46485
46773
  e.object({
46486
46774
  item: e.object({
46487
46775
  agents: e.array(
@@ -46520,7 +46808,7 @@ e.object({
46520
46808
  "WORKING_SCHEDULE_STATE_DRAFT",
46521
46809
  "WORKING_SCHEDULE_STATE_ARCHIVED"
46522
46810
  ]).default(
46523
- us
46811
+ ns
46524
46812
  ),
46525
46813
  team: e.object({
46526
46814
  id: e.string().optional(),
@@ -46559,9 +46847,9 @@ c();
46559
46847
  b();
46560
46848
  c();
46561
46849
  b();
46562
- const ms = "/contacts/groups";
46850
+ const as = "/contacts/groups";
46563
46851
  ({
46564
- ...pe(ms)
46852
+ ...pe(as)
46565
46853
  });
46566
46854
  c();
46567
46855
  b();
@@ -46595,11 +46883,11 @@ b();
46595
46883
  c();
46596
46884
  b();
46597
46885
  c();
46598
- const fs = "/users";
46886
+ const rs = "/users";
46599
46887
  ({
46600
- ...pe(fs)
46888
+ ...pe(rs)
46601
46889
  });
46602
- const hs = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
46890
+ const ss = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
46603
46891
  const d = [
46604
46892
  "page",
46605
46893
  "size",
@@ -46608,7 +46896,7 @@ const hs = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
46608
46896
  "fields",
46609
46897
  "id",
46610
46898
  "ids"
46611
- ], m = w(i, [
46899
+ ], m = A(i, [
46612
46900
  U($()),
46613
46901
  le("search"),
46614
46902
  (p) => ({
@@ -46624,30 +46912,30 @@ const hs = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
46624
46912
  ae(o)
46625
46913
  ]);
46626
46914
  try {
46627
- const p = await hs.get(m), { data: f, items: h, next: g } = w(p.data, [
46915
+ const p = await ss.get(m), { data: f, items: h, next: g } = A(p.data, [
46628
46916
  U(J())
46629
46917
  ]);
46630
46918
  return {
46631
46919
  // Some endpoints return data, some return items so we need to check for both of them
46632
- items: w(f || h, [
46920
+ items: A(f || h, [
46633
46921
  // transformItemsForSelect({ display, primary }),
46634
46922
  ]) ?? [],
46635
46923
  next: g
46636
46924
  };
46637
46925
  } catch (p) {
46638
- throw w(p, [
46926
+ throw A(p, [
46639
46927
  z
46640
46928
  ]);
46641
46929
  }
46642
- }, ys = (o) => ce({
46930
+ }, ls = (o) => ce({
46643
46931
  ...o,
46644
46932
  fields: o.fields || [
46645
46933
  "id",
46646
46934
  "name"
46647
46935
  ]
46648
- }), Rs = {
46936
+ }), bs = {
46649
46937
  getList: ce,
46650
- getLookup: ys
46938
+ getLookup: ls
46651
46939
  };
46652
46940
  c();
46653
46941
  b();
@@ -46656,9 +46944,9 @@ b();
46656
46944
  c();
46657
46945
  b();
46658
46946
  export {
46659
- Rs as S,
46660
- w as a,
46661
- Q as b,
46947
+ bs as S,
46948
+ A as a,
46949
+ W as b,
46662
46950
  M as c,
46663
46951
  le as d,
46664
46952
  $ as e,