@webitel/ui-sdk 26.6.4 → 26.6.6

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 (63) hide show
  1. package/dist/{contacts-DuiejYmg.js → contacts-BlzyPA66.js} +1351 -512
  2. package/dist/{index-D_Bvqjjy.js → index-BwBnHjem.js} +1 -1
  3. package/dist/{index-ofJZWfBt.js → index-CjXeo_ki.js} +1 -1
  4. package/dist/{install-rysuPEjF.js → install-BNNJFRDJ.js} +216 -210
  5. package/dist/{isObject-C5JdCKnH.js → isObject-ZLV7zqrc.js} +1 -1
  6. package/dist/ui-sdk.css +1 -1
  7. package/dist/ui-sdk.js +1 -1
  8. package/dist/ui-sdk.umd.cjs +227 -151
  9. package/dist/{useVidstackSrc-C6hUWIuE.js → useVidstackSrc-DwTRWAa_.js} +1 -1
  10. package/dist/{vidstack-Bq6c3Bam-D6M5GPTI.js → vidstack-Bq6c3Bam-80pG6954.js} +3 -3
  11. package/dist/{vidstack-D2pY00kU-CRo5Kvyt.js → vidstack-D2pY00kU-C6D9c1Vg.js} +3 -3
  12. package/dist/{vidstack-DDXt6fpN-QgRuASyL.js → vidstack-DDXt6fpN-CwFoyfTO.js} +2 -2
  13. package/dist/{vidstack-D_-9AA6_-BQB6UUD-.js → vidstack-D_-9AA6_-CgZOM7x4.js} +2 -2
  14. package/dist/{vidstack-DqAw8m9J-0B90hhJB.js → vidstack-DqAw8m9J-DXxYrOcs.js} +1 -1
  15. package/dist/{vidstack-audio-BML-tyCz.js → vidstack-audio--wSIEau0.js} +2 -2
  16. package/dist/{vidstack-dash-BwVTHD5j.js → vidstack-dash-DNB-lPIB.js} +4 -4
  17. package/dist/{vidstack-google-cast-CvoUE_Qj.js → vidstack-google-cast-CCQ9UyjY.js} +4 -4
  18. package/dist/{vidstack-hls-BgbWYqKl.js → vidstack-hls-BguL28p2.js} +4 -4
  19. package/dist/{vidstack-video-D6tVAa-p.js → vidstack-video-DOsGgpV_.js} +3 -3
  20. package/dist/{vidstack-vimeo-CMino7JB.js → vidstack-vimeo-B0us9c9R.js} +4 -4
  21. package/dist/{vidstack-youtube-DLE3pyNu.js → vidstack-youtube-xhLU1_XH.js} +3 -3
  22. package/dist/{wt-action-bar-BwAQUnPp.js → wt-action-bar-ZTOol9r4.js} +1 -1
  23. package/dist/{wt-button-select-D8-D18E4.js → wt-button-select-CSj2ClLy.js} +1 -1
  24. package/dist/{wt-call-media-action-B-AEoxjt.js → wt-call-media-action-r4Y_KjnB.js} +1 -1
  25. package/dist/{wt-chat-emoji-D_4QMhH7.js → wt-chat-emoji-B2TUUnF-.js} +2 -2
  26. package/dist/{wt-confirm-dialog-BQVImEga.js → wt-confirm-dialog-BJ_0ManF.js} +1 -1
  27. package/dist/{wt-context-menu-CfvdB5Xl.js → wt-context-menu-DFqxNdEv.js} +1 -1
  28. package/dist/{wt-copy-action-CIa3ImHz.js → wt-copy-action-DE3kIDRK.js} +1 -1
  29. package/dist/{wt-datepicker-CEoYduIo.js → wt-datepicker-qU-38qvq.js} +1 -1
  30. package/dist/{wt-display-chip-items-CD6E8917.js → wt-display-chip-items-CCOdLUl-.js} +1 -1
  31. package/dist/{wt-dual-panel-Cm2oe8sF.js → wt-dual-panel-DOxC4R8c.js} +1 -1
  32. package/dist/{wt-dummy-DHdJccrG.js → wt-dummy-Bjw8UxPk.js} +1 -1
  33. package/dist/{wt-error-page-Rt-F9oVv.js → wt-error-page-CJxYSeu-.js} +1 -1
  34. package/dist/{wt-expansion-card-v7GFQBoJ.js → wt-expansion-card-DeqOGZ3w.js} +1 -1
  35. package/dist/{wt-expansion-panel-DSsY-KFR.js → wt-expansion-panel-BB9D1o2j.js} +1 -1
  36. package/dist/{wt-filters-panel-wrapper-Cr9dYYnT.js → wt-filters-panel-wrapper-DKtBnBz1.js} +1 -1
  37. package/dist/{wt-galleria-C2aburQk.js → wt-galleria-Af4fGXHb.js} +1 -1
  38. package/dist/{wt-inline-add-panel-BaDP2TC1.js → wt-inline-add-panel-CSbQteRz.js} +1 -1
  39. package/dist/{wt-navigation-menu-B_R8-_Bk.js → wt-navigation-menu-CRRXGP4A.js} +1 -1
  40. package/dist/{wt-notifications-bar-CfoCOojR.js → wt-notifications-bar-DPMGYD__.js} +2 -2
  41. package/dist/{wt-pagination-DW7KL87c.js → wt-pagination-C5RNNYV6.js} +1 -1
  42. package/dist/{wt-player-Be2YAJcQ.js → wt-player-C04VXGgM.js} +2 -2
  43. package/dist/{wt-screen-recordings-action-BJBx9KXM.js → wt-screen-recordings-action-DR_1pFn_.js} +1 -1
  44. package/dist/{wt-search-bar-BT5d_LDB.js → wt-search-bar-bRh8vAAC.js} +1 -1
  45. package/dist/{wt-selection-popup-DK6oLjfk.js → wt-selection-popup--1szmCIE.js} +1 -1
  46. package/dist/{wt-send-message-popup-C8oG1Kxc.js → wt-send-message-popup-DHcp72HV.js} +3 -3
  47. package/dist/{wt-start-page-BcV-IdG_.js → wt-start-page-B0uCvA97.js} +1 -1
  48. package/dist/{wt-status-select-BcrdWJ9m.js → wt-status-select-CFCfgO2T.js} +1 -1
  49. package/dist/{wt-stepper-B_ny-IQN.js → wt-stepper-TcW8-SlE.js} +1 -1
  50. package/dist/{wt-table-BX5kDXje.js → wt-table-BxpcjNYz.js} +1 -1
  51. package/dist/{wt-table-actions-Cvk2_NUG.js → wt-table-actions-CLtostrA.js} +1 -1
  52. package/dist/{wt-table-column-select-CPacgsbN.js → wt-table-column-select-DQtoij8i.js} +2 -2
  53. package/dist/{wt-tabs-wcnQfMfj.js → wt-tabs-qRAJHunW.js} +1 -1
  54. package/dist/{wt-tags-input-CPO80nnI.js → wt-tags-input-B0_2pqw9.js} +2 -2
  55. package/dist/{wt-timepicker-DbdcOXYa.js → wt-timepicker-8FLBN2bs.js} +1 -1
  56. package/dist/{wt-tree-CLs3S4Av.js → wt-tree-B7GRBwXd.js} +2 -2
  57. package/dist/{wt-tree-table-DtNIE08B.js → wt-tree-table-ENhV5lHF.js} +1 -1
  58. package/dist/{wt-type-extension-value-input-CjJ8_xRU.js → wt-type-extension-value-input-BuDj8HcP.js} +3 -3
  59. package/dist/{wt-vidstack-player-DmD7s58v.js → wt-vidstack-player-DQ4MJjIZ.js} +10 -10
  60. package/package.json +1 -1
  61. package/src/components/wt-button/_variables.css +1 -0
  62. package/src/components/wt-button/wt-button.vue +1 -0
  63. package/src/plugins/primevue/theme/components/button/button.js +6 -1
@@ -1,7 +1,7 @@
1
1
  import * as e from "zod";
2
- import { d as be } from "./index-D_Bvqjjy.js";
2
+ import { d as be } from "./index-BwBnHjem.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-rysuPEjF.js";
4
+ import { ak as me, al as he, O as fe, am as ye, an as je } from "./install-BNNJFRDJ.js";
5
5
  const J = () => ({
6
6
  items: [],
7
7
  next: !1
@@ -23,17 +23,17 @@ const J = () => ({
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
+ })(), B = 1024, we = function(t, r, i, d, m) {
27
27
  if (t.length === 0)
28
28
  return t;
29
29
  let p = t;
30
30
  if (typeof t == "symbol" ? p = Symbol.prototype.toString.call(t) : typeof t != "string" && (p = String(t)), i === "iso-8859-1")
31
- return escape(p).replace(/%u[0-9a-f]{4}/gi, function(h) {
32
- return "%26%23" + parseInt(h.slice(2), 16) + "%3B";
31
+ return escape(p).replace(/%u[0-9a-f]{4}/gi, function(f) {
32
+ return "%26%23" + parseInt(f.slice(2), 16) + "%3B";
33
33
  });
34
- let f = "";
35
- for (let h = 0; h < p.length; h += N) {
36
- const g = p.length >= N ? p.slice(h, h + N) : p, u = [];
34
+ let h = "";
35
+ for (let f = 0; f < p.length; f += B) {
36
+ const g = p.length >= B ? p.slice(f, f + B) : p, u = [];
37
37
  for (let j = 0; j < g.length; ++j) {
38
38
  let s = g.charCodeAt(j);
39
39
  if (s === 45 || // -
@@ -61,9 +61,9 @@ const J = () => ({
61
61
  }
62
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];
63
63
  }
64
- f += u.join("");
64
+ h += u.join("");
65
65
  }
66
- return f;
66
+ return h;
67
67
  }, De = 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) {
@@ -110,14 +110,14 @@ 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, O, C, A, E, a, l) {
114
- let n = t, T = l, y = 0, _ = !1;
115
- for (; (T = T.get(P)) !== void 0 && !_; ) {
113
+ }, P = {}, ie = function(t, r, i, d, m, p, h, f, g, u, j, s, O, C, A, E, a, l) {
114
+ let n = t, T = l, y = 0, q = !1;
115
+ for (; (T = T.get(P)) !== void 0 && !q; ) {
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
- _ = !0;
120
+ q = !0;
121
121
  }
122
122
  typeof T.get(P) > "u" && (y = 0);
123
123
  }
@@ -137,30 +137,30 @@ const J = () => ({
137
137
  }
138
138
  return [A(r) + "=" + A(String(n))];
139
139
  }
140
- const U = [];
140
+ const x = [];
141
141
  if (typeof n > "u")
142
- return U;
143
- let S;
142
+ return x;
143
+ let _;
144
144
  if (i === "comma" && v(n))
145
- E && g && (n = H(n, g)), S = [{ value: n.length > 0 ? n.join(",") || null : void 0 }];
145
+ E && g && (n = H(n, g)), _ = [{ value: n.length > 0 ? n.join(",") || null : void 0 }];
146
146
  else if (v(u))
147
- S = u;
147
+ _ = u;
148
148
  else {
149
149
  const R = Object.keys(n);
150
- S = j ? R.sort(j) : R;
150
+ _ = j ? R.sort(j) : R;
151
151
  }
152
- const V = h ? r.replace(/\./g, "%2E") : r, k = d && v(n) && n.length === 1 ? V + "[]" : V;
152
+ const V = f ? r.replace(/\./g, "%2E") : r, k = d && v(n) && n.length === 1 ? V + "[]" : V;
153
153
  if (m && v(n) && n.length === 0)
154
154
  return k + "[]";
155
- for (let R = 0; R < S.length; ++R) {
156
- const q = S[R], Y = typeof q == "object" && typeof q.value < "u" ? q.value : n[q];
157
- if (f && Y === null)
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 (h && Y === null)
158
158
  continue;
159
- const B = s && h ? q.replace(/\./g, "%2E") : q, de = v(n) ? typeof i == "function" ? i(k, B) : k : k + (s ? "." + B : "[" + B + "]");
159
+ const N = s && f ? S.replace(/\./g, "%2E") : S, de = v(n) ? typeof i == "function" ? i(k, N) : k : k + (s ? "." + N : "[" + N + "]");
160
160
  l.set(t, y);
161
161
  const G = /* @__PURE__ */ new WeakMap();
162
162
  G.set(P, l), oe(
163
- U,
163
+ x,
164
164
  ie(
165
165
  Y,
166
166
  de,
@@ -168,8 +168,8 @@ const J = () => ({
168
168
  d,
169
169
  m,
170
170
  p,
171
- f,
172
171
  h,
172
+ f,
173
173
  i === "comma" && E && v(n) ? null : g,
174
174
  u,
175
175
  j,
@@ -183,8 +183,8 @@ const J = () => ({
183
183
  )
184
184
  );
185
185
  }
186
- return U;
187
- }, qe = function(t) {
186
+ return x;
187
+ }, Se = function(t) {
188
188
  if (!t)
189
189
  return I;
190
190
  if (typeof t.allowEmptyArrays < "u" && typeof t.allowEmptyArrays != "boolean")
@@ -208,10 +208,10 @@ const J = () => ({
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");
211
- const f = typeof t.allowDots > "u" ? t.encodeDotInKeys === !0 ? !0 : I.allowDots : !!t.allowDots;
211
+ const h = typeof t.allowDots > "u" ? t.encodeDotInKeys === !0 ? !0 : I.allowDots : !!t.allowDots;
212
212
  return {
213
213
  addQueryPrefix: typeof t.addQueryPrefix == "boolean" ? t.addQueryPrefix : I.addQueryPrefix,
214
- allowDots: f,
214
+ allowDots: h,
215
215
  allowEmptyArrays: typeof t.allowEmptyArrays == "boolean" ? !!t.allowEmptyArrays : I.allowEmptyArrays,
216
216
  arrayFormat: p,
217
217
  charset: r,
@@ -233,13 +233,13 @@ const J = () => ({
233
233
  };
234
234
  function ne(o, t) {
235
235
  let r = o;
236
- const i = qe(t);
236
+ const i = Se(t);
237
237
  let d, m;
238
238
  typeof i.filter == "function" ? (m = i.filter, r = m("", r)) : v(i.filter) && (m = i.filter, d = m);
239
239
  const p = [];
240
240
  if (typeof r != "object" || r === null)
241
241
  return "";
242
- const f = te[i.arrayFormat], h = f === "comma" && i.commaRoundTrip;
242
+ const h = te[i.arrayFormat], f = h === "comma" && i.commaRoundTrip;
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) {
@@ -249,8 +249,8 @@ function ne(o, t) {
249
249
  ie(
250
250
  r[O],
251
251
  O,
252
- f,
253
252
  h,
253
+ f,
254
254
  i.allowEmptyArrays,
255
255
  i.strictNullHandling,
256
256
  i.skipNulls,
@@ -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 Se = [
275
+ const _e = [
276
276
  (o) => (o.headers["X-Webitel-Access"] = localStorage.getItem("access-token") || "", o),
277
277
  (o) => Promise.reject(o)
278
- ], _e = [
278
+ ], qe = [
279
279
  (o) => o,
280
280
  (o) => {
281
281
  if (o.response && o.response.status === 401) {
@@ -291,10 +291,10 @@ const Se = [
291
291
  return me({
292
292
  interceptors: {
293
293
  request: [
294
- Se
294
+ _e
295
295
  ],
296
296
  response: [
297
- _e
297
+ qe
298
298
  ]
299
299
  },
300
300
  baseURL: "/api",
@@ -310,15 +310,15 @@ const b = () => new ke({
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
+ }), 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) => he(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, Q;
319
- function xe() {
320
- if (Q) return F;
321
- Q = 1;
318
+ var F, W;
319
+ function Ue() {
320
+ if (W) return F;
321
+ W = 1;
322
322
  var o = function(l) {
323
323
  return t(l) && !r(l);
324
324
  };
@@ -336,12 +336,12 @@ function xe() {
336
336
  function p(a) {
337
337
  return Array.isArray(a) ? [] : {};
338
338
  }
339
- function f(a, l) {
339
+ function h(a, l) {
340
340
  return l.clone !== !1 && l.isMergeableObject(a) ? A(p(a), a, l) : a;
341
341
  }
342
- function h(a, l, n) {
342
+ function f(a, l, n) {
343
343
  return a.concat(l).map(function(T) {
344
- return f(T, n);
344
+ return h(T, n);
345
345
  });
346
346
  }
347
347
  function g(a, l) {
@@ -371,15 +371,15 @@ function xe() {
371
371
  function C(a, l, n) {
372
372
  var T = {};
373
373
  return n.isMergeableObject(a) && j(a).forEach(function(y) {
374
- T[y] = f(a[y], n);
374
+ T[y] = h(a[y], n);
375
375
  }), j(l).forEach(function(y) {
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));
376
+ O(a, y) || (s(a, y) && n.isMergeableObject(l[y]) ? T[y] = g(y, n)(a[y], l[y], n) : T[y] = h(l[y], n));
377
377
  }), T;
378
378
  }
379
379
  function A(a, l, n) {
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), _ = T === y;
382
- return _ ? T ? n.arrayMerge(a, l, n) : C(a, l, n) : f(l, n);
380
+ n = n || {}, n.arrayMerge = n.arrayMerge || f, n.isMergeableObject = n.isMergeableObject || o, n.cloneUnlessOtherwiseSpecified = h;
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) : h(l, n);
383
383
  }
384
384
  A.all = function(l, n) {
385
385
  if (!Array.isArray(l))
@@ -391,20 +391,20 @@ function xe() {
391
391
  var E = A;
392
392
  return F = E, F;
393
393
  }
394
- var Ue = xe();
395
- const re = /* @__PURE__ */ he(Ue), x = (...o) => (t) => re.all([
394
+ var xe = Ue();
395
+ const re = /* @__PURE__ */ fe(xe), U = (...o) => (t) => re.all([
396
396
  ...o,
397
397
  t
398
- ]), Be = (...o) => (t) => t.map(
398
+ ]), Ne = (...o) => (t) => t.map(
399
399
  (r) => re.all([
400
400
  ...o,
401
401
  r
402
402
  ])
403
- ), Ne = {
403
+ ), Be = {
404
404
  eventBus: null
405
405
  }, z = (o) => {
406
406
  if (typeof o == "function") {
407
- const t = ({ type: r, text: i }) => Ne.eventBus.$emit("notification", {
407
+ const t = ({ type: r, text: i }) => Be.eventBus.$emit("notification", {
408
408
  type: r,
409
409
  text: i
410
410
  });
@@ -413,7 +413,7 @@ const re = /* @__PURE__ */ he(Ue), x = (...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), {}), W = (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), {}), Q = (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
419
  }, X = "acl", Pe = (o) => o.map((t) => ({
@@ -447,10 +447,10 @@ const re = /* @__PURE__ */ he(Ue), x = (...o) => (t) => re.all([
447
447
  "sort",
448
448
  "fields",
449
449
  "id"
450
- ], f = {
450
+ ], h = {
451
451
  user: !1
452
- }, h = w(m, [
453
- x($()),
452
+ }, f = w(m, [
453
+ U($()),
454
454
  le("search"),
455
455
  (g) => ({
456
456
  ...g,
@@ -461,13 +461,13 @@ const re = /* @__PURE__ */ he(Ue), x = (...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
- W(),
466
- x(J())
464
+ const g = await t.get(f), { items: u, next: j } = w(g.data, [
465
+ Q(),
466
+ U(J())
467
467
  ]);
468
468
  return {
469
469
  items: w(u, [
470
- Be(f),
470
+ Ne(h),
471
471
  Pe
472
472
  ]),
473
473
  next: j
@@ -481,14 +481,14 @@ const re = /* @__PURE__ */ he(Ue), x = (...o) => (t) => re.all([
481
481
  patchPermissions: async ({ changes: d, id: m }) => {
482
482
  const p = w(d, [
483
483
  M()
484
- ]), f = `${o}/${m}/${X}`;
484
+ ]), h = `${o}/${m}/${X}`;
485
485
  try {
486
- const h = await t.patch(f, p);
487
- return w(h.data, [
488
- W()
486
+ const f = await t.patch(h, p);
487
+ return w(f.data, [
488
+ Q()
489
489
  ]);
490
- } catch (h) {
491
- throw w(h, [
490
+ } catch (f) {
491
+ throw w(f, [
492
492
  z
493
493
  ]);
494
494
  }
@@ -910,7 +910,7 @@ e.object({
910
910
  }).optional()
911
911
  }).optional()
912
912
  });
913
- const Qe = "ABSENCE_TYPE_UNSPECIFIED";
913
+ const We = "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
- Qe
930
+ We
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 We = "phone";
948
+ const Qe = "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
- We
1048
+ Qe
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 ..")
@@ -5644,7 +5644,7 @@ e.object({
5644
5644
  userId: e.array(e.string()).optional(),
5645
5645
  variablesString: e.record(e.string(), e.string()).optional()
5646
5646
  });
5647
- const mt = "file_type_empty", ft = "undefined", ht = "idle";
5647
+ const mt = "file_type_empty", ht = "undefined", ft = "idle";
5648
5648
  e.object({
5649
5649
  items: e.array(
5650
5650
  e.object({
@@ -5737,7 +5737,7 @@ e.object({
5737
5737
  "STT",
5738
5738
  "delete"
5739
5739
  ]).default(
5740
- ft
5740
+ ht
5741
5741
  ),
5742
5742
  createdAt: e.string().optional(),
5743
5743
  errorDetail: e.string().optional(),
@@ -5749,7 +5749,7 @@ e.object({
5749
5749
  "finished",
5750
5750
  "error"
5751
5751
  ]).default(
5752
- ht
5752
+ ft
5753
5753
  )
5754
5754
  })
5755
5755
  ).optional(),
@@ -8137,7 +8137,7 @@ e.object({
8137
8137
  e.object({
8138
8138
  fields: e.array(e.string()).optional().describe("List of fields to include in the response.")
8139
8139
  });
8140
- const Ct = "RELATION_TYPE_UNSPECIFIED", qt = "TYPE_UNSPECIFIED";
8140
+ const Ct = "RELATION_TYPE_UNSPECIFIED", St = "TYPE_UNSPECIFIED";
8141
8141
  e.object({
8142
8142
  assignee: e.object({
8143
8143
  id: e.string().optional(),
@@ -8417,7 +8417,7 @@ e.object({
8417
8417
  "EMAIL",
8418
8418
  "API",
8419
8419
  "MANUAL"
8420
- ]).default(qt).describe(
8420
+ ]).default(St).describe(
8421
8421
  `Represents a source type for the source entity.
8422
8422
 
8423
8423
  - TYPE_UNSPECIFIED: Unspecified source type.
@@ -8542,7 +8542,7 @@ e.object({
8542
8542
  "Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
8543
8543
  )
8544
8544
  });
8545
- const St = "RELATION_TYPE_UNSPECIFIED", _t = "TYPE_UNSPECIFIED";
8545
+ const _t = "RELATION_TYPE_UNSPECIFIED", qt = "TYPE_UNSPECIFIED";
8546
8546
  e.object({
8547
8547
  case: e.object({
8548
8548
  assignee: e.object({
@@ -8735,7 +8735,7 @@ e.object({
8735
8735
  "IS_PARENT_OF",
8736
8736
  "RELATES_TO"
8737
8737
  ]).default(
8738
- St
8738
+ _t
8739
8739
  ).describe("Relation type between cases."),
8740
8740
  updatedAt: e.string().optional().describe(
8741
8741
  "Timestamp (in milliseconds) of the last update."
@@ -8829,7 +8829,7 @@ e.object({
8829
8829
  "EMAIL",
8830
8830
  "API",
8831
8831
  "MANUAL"
8832
- ]).default(_t).describe(
8832
+ ]).default(qt).describe(
8833
8833
  `Represents a source type for the source entity.
8834
8834
 
8835
8835
  - TYPE_UNSPECIFIED: Unspecified source type.
@@ -8962,7 +8962,7 @@ e.object({
8962
8962
  "Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
8963
8963
  )
8964
8964
  });
8965
- const kt = "RELATION_TYPE_UNSPECIFIED", xt = "TYPE_UNSPECIFIED";
8965
+ const kt = "RELATION_TYPE_UNSPECIFIED", Ut = "TYPE_UNSPECIFIED";
8966
8966
  e.object({
8967
8967
  case: e.object({
8968
8968
  assignee: e.object({
@@ -9249,7 +9249,7 @@ e.object({
9249
9249
  "EMAIL",
9250
9250
  "API",
9251
9251
  "MANUAL"
9252
- ]).default(xt).describe(
9252
+ ]).default(Ut).describe(
9253
9253
  `Represents a source type for the source entity.
9254
9254
 
9255
9255
  - TYPE_UNSPECIFIED: Unspecified source type.
@@ -9313,7 +9313,7 @@ e.object({
9313
9313
  qin: e.string().optional().describe("Specify which fields to apply 'q' to."),
9314
9314
  filtersV1: e.string().optional().describe("Updated filters with CEL syntax.")
9315
9315
  });
9316
- const Ut = "RELATION_TYPE_UNSPECIFIED", Bt = "TYPE_UNSPECIFIED";
9316
+ const xt = "RELATION_TYPE_UNSPECIFIED", Nt = "TYPE_UNSPECIFIED";
9317
9317
  e.object({
9318
9318
  items: e.array(
9319
9319
  e.object({
@@ -9511,7 +9511,7 @@ e.object({
9511
9511
  "IS_PARENT_OF",
9512
9512
  "RELATES_TO"
9513
9513
  ]).default(
9514
- Ut
9514
+ xt
9515
9515
  ).describe("Relation type between cases."),
9516
9516
  updatedAt: e.string().optional().describe(
9517
9517
  "Timestamp (in milliseconds) of the last update."
@@ -9605,7 +9605,7 @@ e.object({
9605
9605
  "EMAIL",
9606
9606
  "API",
9607
9607
  "MANUAL"
9608
- ]).default(Bt).describe(
9608
+ ]).default(Nt).describe(
9609
9609
  `Represents a source type for the source entity.
9610
9610
 
9611
9611
  - TYPE_UNSPECIFIED: Unspecified source type.
@@ -9670,7 +9670,7 @@ whose member channel(s) contain
9670
9670
  a specified set of variables.`
9671
9671
  )
9672
9672
  });
9673
- const Nt = "phone";
9673
+ const Bt = "phone";
9674
9674
  e.object({
9675
9675
  chats: e.array(
9676
9676
  e.object({
@@ -9800,7 +9800,7 @@ Contact **type**-specific string.`
9800
9800
  "contact",
9801
9801
  "location"
9802
9802
  ]).default(
9803
- Nt
9803
+ Bt
9804
9804
  ).describe("Request to share contact info."),
9805
9805
  text: e.string().optional().describe("Caption to display."),
9806
9806
  url: e.string().optional().describe("URL to navigate to ..")
@@ -11287,7 +11287,7 @@ e.object({
11287
11287
  e.object({
11288
11288
  id: e.string()
11289
11289
  });
11290
- const Qt = "DefaultProvider", Wt = "DefaultService";
11290
+ const Wt = "DefaultProvider", Qt = "DefaultService";
11291
11291
  e.object({
11292
11292
  default: e.boolean().optional(),
11293
11293
  description: e.string().optional(),
@@ -11299,12 +11299,12 @@ e.object({
11299
11299
  "Microsoft",
11300
11300
  "Google",
11301
11301
  "ElevenLabs"
11302
- ]).default(Qt),
11302
+ ]).default(Wt),
11303
11303
  service: e.enum([
11304
11304
  "DefaultService",
11305
11305
  "STT",
11306
11306
  "TTS"
11307
- ]).default(Wt)
11307
+ ]).default(Qt)
11308
11308
  });
11309
11309
  const Xt = "DefaultProvider", Jt = "DefaultService";
11310
11310
  e.object({
@@ -12418,7 +12418,7 @@ e.object({
12418
12418
  e.looseObject(
12419
12419
  {}
12420
12420
  );
12421
- const fo = "id", ho = /^[+|-|!]?\w+$/, yo = "*", jo = "READ";
12421
+ const ho = "id", fo = /^[+|-|!]?\w+$/, yo = "*", jo = "READ";
12422
12422
  e.object({
12423
12423
  page: e.number().optional().describe(
12424
12424
  `Page number of result records. _default(1); offset=(size*(page-1));_
@@ -12455,7 +12455,7 @@ if (maximum < limit)
12455
12455
  "Search term:\n`?` - matches any character\n`*` - matches 0 or more characters\nUsed to query records within a set of `qin` fields, eg: name,emails{type},labels etc..."
12456
12456
  ),
12457
12457
  sort: e.array(
12458
- e.string().regex(ho).default(fo)
12458
+ e.string().regex(fo).default(ho)
12459
12459
  ).optional().describe(
12460
12460
  '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.'
12461
12461
  ),
@@ -17094,7 +17094,7 @@ USCORE = %x5F ; underscore ; "_"
17094
17094
  id: e.array(e.string()).optional().describe("[`record.id`]"),
17095
17095
  filters: e.string().optional().describe("Filter string in CEL format.")
17096
17096
  });
17097
- const qo = "none";
17097
+ const So = "none";
17098
17098
  e.object({
17099
17099
  data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
17100
17100
  next: e.boolean().optional(),
@@ -17221,7 +17221,7 @@ code`),
17221
17221
  "richtext",
17222
17222
  "datetime",
17223
17223
  "duration"
17224
- ]).default(qo).describe("Required. The field type."),
17224
+ ]).default(So).describe("Required. The field type."),
17225
17225
  lookup: e.object({
17226
17226
  display: e.string().optional().describe(
17227
17227
  "[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
@@ -17327,7 +17327,7 @@ e.looseObject({});
17327
17327
  e.object({
17328
17328
  repo: e.string().describe("`types.repo`")
17329
17329
  });
17330
- const So = "continue", _o = "continue";
17330
+ const _o = "continue", qo = "continue";
17331
17331
  e.object({
17332
17332
  data: e.string().optional(),
17333
17333
  fields: e.record(e.string(), e.number()).optional(),
@@ -17336,11 +17336,11 @@ e.object({
17336
17336
  onDataError: e.enum([
17337
17337
  "continue",
17338
17338
  "break"
17339
- ]).default(So),
17339
+ ]).default(_o),
17340
17340
  onEmptyLine: e.enum([
17341
17341
  "continue",
17342
17342
  "break"
17343
- ]).default(_o)
17343
+ ]).default(qo)
17344
17344
  });
17345
17345
  const ko = "none";
17346
17346
  e.object({
@@ -17574,7 +17574,7 @@ e.object({
17574
17574
  e.object({
17575
17575
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result dataset.")
17576
17576
  });
17577
- const xo = "none";
17577
+ const Uo = "none";
17578
17578
  e.object({
17579
17579
  data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
17580
17580
  next: e.boolean().optional(),
@@ -17701,7 +17701,7 @@ code`),
17701
17701
  "richtext",
17702
17702
  "datetime",
17703
17703
  "duration"
17704
- ]).default(xo).describe("Required. The field type."),
17704
+ ]).default(Uo).describe("Required. The field type."),
17705
17705
  lookup: e.object({
17706
17706
  display: e.string().optional().describe(
17707
17707
  "[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
@@ -17803,9 +17803,9 @@ e.object({
17803
17803
  repo: e.string().describe("[`types.repo`]"),
17804
17804
  id: e.string().describe("[`record.id`]")
17805
17805
  });
17806
- const Uo = "*";
17806
+ const xo = "*";
17807
17807
  e.object({
17808
- fields: e.array(e.string().default(Uo)).optional().describe(
17808
+ fields: e.array(e.string().default(xo)).optional().describe(
17809
17809
  `Fields [Q]uery to build result dataset record.
17810
17810
  \`\`\`
17811
17811
  fields ::= field [ *( "," field ) ]
@@ -17844,7 +17844,7 @@ e.object({
17844
17844
  fields: e.array(e.string()).optional().describe("Fields to retrive into result dataset."),
17845
17845
  repo: e.array(e.string()).describe("`types.repo`\n\n// `record.pk`\n repeated string id = 3;")
17846
17846
  });
17847
- const Bo = "none";
17847
+ const No = "none";
17848
17848
  e.object({
17849
17849
  data: e.array(
17850
17850
  e.object({
@@ -17971,7 +17971,7 @@ code`),
17971
17971
  "richtext",
17972
17972
  "datetime",
17973
17973
  "duration"
17974
- ]).default(Bo).describe("Required. The field type."),
17974
+ ]).default(No).describe("Required. The field type."),
17975
17975
  lookup: e.object({
17976
17976
  display: e.string().optional().describe(
17977
17977
  "[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
@@ -18074,7 +18074,7 @@ int64 dc = 0;`)
18074
18074
  next: e.boolean().optional(),
18075
18075
  page: e.number().optional().describe("Page number of results.")
18076
18076
  }).describe("Dataset of structured types.");
18077
- const No = "*", Po = /^[+|-|!]?\w+$/, Fo = "*";
18077
+ const Bo = "*", Po = /^[+|-|!]?\w+$/, Fo = "*";
18078
18078
  e.object({
18079
18079
  q: e.string().optional().describe(
18080
18080
  "Search term:\n`?` - matches any character\n`*` - matches 0 or more characters\ne.g.: name,emails{type},labels etc..."
@@ -18093,7 +18093,7 @@ Default: 16.`),
18093
18093
  page: e.number().optional().describe(`Page number of result set of records.
18094
18094
  Default: 1.`),
18095
18095
  sort: e.array(
18096
- e.string().regex(Po).default(No)
18096
+ e.string().regex(Po).default(Bo)
18097
18097
  ).optional().describe(
18098
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.'
18099
18099
  ),
@@ -20339,14 +20339,14 @@ e.object({
20339
20339
  smtpHost: e.string().optional(),
20340
20340
  smtpPort: e.number().optional()
20341
20341
  });
20342
- const Qo = "EmailAuthTypeUndefined";
20342
+ const Wo = "EmailAuthTypeUndefined";
20343
20343
  e.object({
20344
20344
  activityAt: e.string().optional(),
20345
20345
  authType: e.enum([
20346
20346
  "EmailAuthTypeUndefined",
20347
20347
  "Plain",
20348
20348
  "OAuth2"
20349
- ]).default(Qo),
20349
+ ]).default(Wo),
20350
20350
  createdAt: e.string().optional(),
20351
20351
  createdBy: e.object({
20352
20352
  id: e.string().optional(),
@@ -20388,14 +20388,14 @@ e.object({
20388
20388
  e.object({
20389
20389
  id: e.string()
20390
20390
  });
20391
- const Wo = "EmailAuthTypeUndefined";
20391
+ const Qo = "EmailAuthTypeUndefined";
20392
20392
  e.object({
20393
20393
  activityAt: e.string().optional(),
20394
20394
  authType: e.enum([
20395
20395
  "EmailAuthTypeUndefined",
20396
20396
  "Plain",
20397
20397
  "OAuth2"
20398
- ]).default(Wo),
20398
+ ]).default(Qo),
20399
20399
  createdAt: e.string().optional(),
20400
20400
  createdBy: e.object({
20401
20401
  id: e.string().optional(),
@@ -22953,7 +22953,7 @@ e.object({
22953
22953
  ).optional(),
22954
22954
  next: e.boolean().optional()
22955
22955
  });
22956
- const fi = "UnknownChannel";
22956
+ const hi = "UnknownChannel";
22957
22957
  e.object({
22958
22958
  channels: e.array(
22959
22959
  e.enum([
@@ -22966,7 +22966,7 @@ e.object({
22966
22966
  "KnowledgebaseChannel",
22967
22967
  "CasesChannel",
22968
22968
  "ScreenRecordingChannel"
22969
- ]).default(fi)
22969
+ ]).default(hi)
22970
22970
  ).optional(),
22971
22971
  description: e.string().optional(),
22972
22972
  enabled: e.boolean().optional(),
@@ -22978,7 +22978,7 @@ e.object({
22978
22978
  speedDownload: e.string().optional(),
22979
22979
  speedUpload: e.string().optional()
22980
22980
  });
22981
- const hi = "UnknownChannel";
22981
+ const fi = "UnknownChannel";
22982
22982
  e.object({
22983
22983
  channels: e.array(
22984
22984
  e.enum([
@@ -22991,7 +22991,7 @@ e.object({
22991
22991
  "KnowledgebaseChannel",
22992
22992
  "CasesChannel",
22993
22993
  "ScreenRecordingChannel"
22994
- ]).default(hi)
22994
+ ]).default(fi)
22995
22995
  ).optional(),
22996
22996
  createdAt: e.string().optional(),
22997
22997
  createdBy: e.object({
@@ -23484,7 +23484,7 @@ e.looseObject({});
23484
23484
  e.object({
23485
23485
  user_id: e.string()
23486
23486
  });
23487
- const Ci = "PDF", qi = "SCREENRECORDING";
23487
+ const Ci = "PDF", Si = "SCREENRECORDING";
23488
23488
  e.object({
23489
23489
  page: e.number().optional(),
23490
23490
  size: e.number().optional(),
@@ -23505,9 +23505,9 @@ e.object({
23505
23505
  channel: e.enum([
23506
23506
  "SCREENRECORDING",
23507
23507
  "CALL"
23508
- ]).default(qi)
23508
+ ]).default(Si)
23509
23509
  });
23510
- const Si = "UnknownChannel";
23510
+ const _i = "UnknownChannel";
23511
23511
  e.object({
23512
23512
  items: e.array(
23513
23513
  e.object({
@@ -23521,7 +23521,7 @@ e.object({
23521
23521
  "KnowledgebaseChannel",
23522
23522
  "CasesChannel",
23523
23523
  "ScreenRecordingChannel"
23524
- ]).default(Si),
23524
+ ]).default(_i),
23525
23525
  id: e.string().optional(),
23526
23526
  mimeType: e.string().optional(),
23527
23527
  name: e.string().optional(),
@@ -23797,7 +23797,7 @@ e.object({
23797
23797
  ).optional(),
23798
23798
  next: e.boolean().optional()
23799
23799
  });
23800
- const _i = "GROUP_TYPE_UNSPECIFIED";
23800
+ const qi = "GROUP_TYPE_UNSPECIFIED";
23801
23801
  e.object({
23802
23802
  page: e.number().optional().describe("Page number of result dataset records. offset = (page*size)"),
23803
23803
  size: e.number().optional().describe("Size count of records on result page. limit = (size++)"),
@@ -23812,7 +23812,7 @@ e.object({
23812
23812
  "GROUP_TYPE_UNSPECIFIED",
23813
23813
  "STATIC",
23814
23814
  "DYNAMIC"
23815
- ]).default(_i).describe(
23815
+ ]).default(qi).describe(
23816
23816
  `Filter by group type.
23817
23817
 
23818
23818
  - GROUP_TYPE_UNSPECIFIED: Default value
@@ -23890,7 +23890,7 @@ e.object({
23890
23890
  enabled: e.boolean().optional().describe("The enabled status of the group."),
23891
23891
  name: e.string().describe("The name of the group.")
23892
23892
  }).describe("Request message for creating a new group.");
23893
- const xi = "GROUP_TYPE_UNSPECIFIED";
23893
+ const Ui = "GROUP_TYPE_UNSPECIFIED";
23894
23894
  e.object({
23895
23895
  conditions: e.array(
23896
23896
  e.object({
@@ -23934,7 +23934,7 @@ e.object({
23934
23934
  "GROUP_TYPE_UNSPECIFIED",
23935
23935
  "STATIC",
23936
23936
  "DYNAMIC"
23937
- ]).default(xi).describe(
23937
+ ]).default(Ui).describe(
23938
23938
  `- GROUP_TYPE_UNSPECIFIED: Default value
23939
23939
  - STATIC: Static group
23940
23940
  - DYNAMIC: Dynamic group`
@@ -25099,7 +25099,7 @@ OUTPUT purpose only.`)
25099
25099
  e.object({
25100
25100
  id: e.string().describe("The unique ID of the group to delete.")
25101
25101
  });
25102
- const Ui = "GROUP_TYPE_UNSPECIFIED";
25102
+ const xi = "GROUP_TYPE_UNSPECIFIED";
25103
25103
  e.object({
25104
25104
  conditions: e.array(
25105
25105
  e.object({
@@ -25143,7 +25143,7 @@ e.object({
25143
25143
  "GROUP_TYPE_UNSPECIFIED",
25144
25144
  "STATIC",
25145
25145
  "DYNAMIC"
25146
- ]).default(Ui).describe(
25146
+ ]).default(xi).describe(
25147
25147
  `- GROUP_TYPE_UNSPECIFIED: Default value
25148
25148
  - STATIC: Static group
25149
25149
  - DYNAMIC: Dynamic group`
@@ -25161,7 +25161,7 @@ e.object({
25161
25161
  e.object({
25162
25162
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result.")
25163
25163
  });
25164
- const Bi = "GROUP_TYPE_UNSPECIFIED";
25164
+ const Ni = "GROUP_TYPE_UNSPECIFIED";
25165
25165
  e.object({
25166
25166
  group: e.object({
25167
25167
  conditions: e.array(
@@ -25208,7 +25208,7 @@ e.object({
25208
25208
  "GROUP_TYPE_UNSPECIFIED",
25209
25209
  "STATIC",
25210
25210
  "DYNAMIC"
25211
- ]).default(Bi).describe(
25211
+ ]).default(Ni).describe(
25212
25212
  `- GROUP_TYPE_UNSPECIFIED: Default value
25213
25213
  - STATIC: Static group
25214
25214
  - DYNAMIC: Dynamic group`
@@ -25229,7 +25229,7 @@ e.object({
25229
25229
  enabled: e.boolean().optional().describe("The new enabled status of the group."),
25230
25230
  name: e.string().optional().describe("The new name of the group.")
25231
25231
  });
25232
- const Ni = "GROUP_TYPE_UNSPECIFIED";
25232
+ const Bi = "GROUP_TYPE_UNSPECIFIED";
25233
25233
  e.object({
25234
25234
  conditions: e.array(
25235
25235
  e.object({
@@ -25273,7 +25273,7 @@ e.object({
25273
25273
  "GROUP_TYPE_UNSPECIFIED",
25274
25274
  "STATIC",
25275
25275
  "DYNAMIC"
25276
- ]).default(Ni).describe(
25276
+ ]).default(Bi).describe(
25277
25277
  `- GROUP_TYPE_UNSPECIFIED: Default value
25278
25278
  - STATIC: Static group
25279
25279
  - DYNAMIC: Dynamic group`
@@ -25793,7 +25793,7 @@ e.object({
25793
25793
  e.object({
25794
25794
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result.")
25795
25795
  });
25796
- const Qi = e.object({
25796
+ const Wi = e.object({
25797
25797
  etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
25798
25798
  label: e.string().optional().describe(
25799
25799
  `REQUIRED. Hashtag value;
@@ -25803,7 +25803,7 @@ but adding capital letters does make them easier to read:
25803
25803
  )
25804
25804
  }).describe(`A Contact's associated Tag.
25805
25805
  Output purpose only.`);
25806
- e.array(Qi);
25806
+ e.array(Wi);
25807
25807
  e.object({
25808
25808
  data: e.array(
25809
25809
  e.object({
@@ -25963,7 +25963,7 @@ e.object({
25963
25963
  e.object({
25964
25964
  fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result.")
25965
25965
  });
25966
- const Wi = e.object({
25966
+ const Qi = e.object({
25967
25967
  etag: e.string().describe("Unique ID of the latest version of an existing association."),
25968
25968
  primary: e.boolean().optional().describe(
25969
25969
  `Indicates whether this association must be default
@@ -25971,7 +25971,7 @@ among others of the same type.`
25971
25971
  ),
25972
25972
  tag: e.string().optional()
25973
25973
  }).describe("An input of the Contact's language.");
25974
- e.array(Wi);
25974
+ e.array(Qi);
25975
25975
  e.object({
25976
25976
  data: e.array(
25977
25977
  e.object({
@@ -35490,7 +35490,7 @@ USCORE = %x5F ; underscore ; "_"
35490
35490
  id: e.array(e.string()).optional().describe("[`record.id`]"),
35491
35491
  filters: e.string().optional().describe("Filter string in CEL format.")
35492
35492
  });
35493
- const fn = "none";
35493
+ const hn = "none";
35494
35494
  e.object({
35495
35495
  data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
35496
35496
  next: e.boolean().optional(),
@@ -35617,7 +35617,7 @@ code`),
35617
35617
  "richtext",
35618
35618
  "datetime",
35619
35619
  "duration"
35620
- ]).default(fn).describe("Required. The field type."),
35620
+ ]).default(hn).describe("Required. The field type."),
35621
35621
  lookup: e.object({
35622
35622
  display: e.string().optional().describe(
35623
35623
  "[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
@@ -35724,9 +35724,9 @@ e.object({
35724
35724
  repo: e.string().describe("[`types.repo`]"),
35725
35725
  id: e.string().describe("[`record.id`]")
35726
35726
  });
35727
- const hn = "*";
35727
+ const fn = "*";
35728
35728
  e.object({
35729
- fields: e.array(e.string().default(hn)).optional().describe(
35729
+ fields: e.array(e.string().default(fn)).optional().describe(
35730
35730
  `Fields [Q]uery to build result dataset record.
35731
35731
  \`\`\`
35732
35732
  fields ::= field [ *( "," field ) ]
@@ -36737,7 +36737,7 @@ e.object({
36737
36737
  e.object({
36738
36738
  domainId: e.string().optional()
36739
36739
  });
36740
- const qn = "default";
36740
+ const Sn = "default";
36741
36741
  e.object({
36742
36742
  tags: e.array(
36743
36743
  e.object({
@@ -36760,7 +36760,7 @@ e.object({
36760
36760
  "chat",
36761
36761
  "processing",
36762
36762
  "service"
36763
- ]).default(qn),
36763
+ ]).default(Sn),
36764
36764
  updatedAt: e.string().optional(),
36765
36765
  updatedBy: e.object({
36766
36766
  id: e.string().optional(),
@@ -36773,7 +36773,7 @@ e.object({
36773
36773
  e.object({
36774
36774
  domainId: e.string().optional()
36775
36775
  });
36776
- const Sn = "default";
36776
+ const _n = "default";
36777
36777
  e.object({
36778
36778
  tags: e.array(
36779
36779
  e.object({
@@ -36796,7 +36796,7 @@ e.object({
36796
36796
  "chat",
36797
36797
  "processing",
36798
36798
  "service"
36799
- ]).default(Sn),
36799
+ ]).default(_n),
36800
36800
  updatedAt: e.string().optional(),
36801
36801
  updatedBy: e.object({
36802
36802
  id: e.string().optional(),
@@ -36806,7 +36806,7 @@ e.object({
36806
36806
  e.object({
36807
36807
  id: e.string()
36808
36808
  });
36809
- const _n = "default";
36809
+ const qn = "default";
36810
36810
  e.object({
36811
36811
  tags: e.array(
36812
36812
  e.object({
@@ -36825,7 +36825,7 @@ e.object({
36825
36825
  "chat",
36826
36826
  "processing",
36827
36827
  "service"
36828
- ]).default(_n)
36828
+ ]).default(qn)
36829
36829
  });
36830
36830
  const kn = "default";
36831
36831
  e.object({
@@ -36860,7 +36860,7 @@ e.object({
36860
36860
  e.object({
36861
36861
  id: e.string()
36862
36862
  });
36863
- const xn = "default";
36863
+ const Un = "default";
36864
36864
  e.object({
36865
36865
  tags: e.array(
36866
36866
  e.object({
@@ -36878,9 +36878,9 @@ e.object({
36878
36878
  "chat",
36879
36879
  "processing",
36880
36880
  "service"
36881
- ]).default(xn)
36881
+ ]).default(Un)
36882
36882
  });
36883
- const Un = "default";
36883
+ const xn = "default";
36884
36884
  e.object({
36885
36885
  tags: e.array(
36886
36886
  e.object({
@@ -36903,7 +36903,7 @@ e.object({
36903
36903
  "chat",
36904
36904
  "processing",
36905
36905
  "service"
36906
- ]).default(Un),
36906
+ ]).default(xn),
36907
36907
  updatedAt: e.string().optional(),
36908
36908
  updatedBy: e.object({
36909
36909
  id: e.string().optional(),
@@ -38374,13 +38374,13 @@ e.object({
38374
38374
  validFrom: e.string().optional(),
38375
38375
  validTo: e.string().optional()
38376
38376
  });
38377
- const Bn = "1", Nn = "20", Pn = "name:desc";
38377
+ const Nn = "1", Bn = "20", Pn = "name:desc";
38378
38378
  e.object({
38379
- page: e.number().default(Bn).describe(
38379
+ page: e.number().default(Nn).describe(
38380
38380
  `Page number of result dataset records. offset = (page * size)
38381
38381
  Default: 0`
38382
38382
  ),
38383
- size: e.number().default(Nn).describe(
38383
+ size: e.number().default(Bn).describe(
38384
38384
  `Size count of records on result page. limit = (size++)
38385
38385
  Default: 25`
38386
38386
  ),
@@ -38467,7 +38467,7 @@ e.object({
38467
38467
  Specific fields to include in response`
38468
38468
  )
38469
38469
  });
38470
- const Vn = 500, Yn = 2, Gn = 100, Hn = "TYPE_UNSPECIFIED";
38470
+ const Vn = 500, Yn = 2, Gn = 100, Hn = "CALL";
38471
38471
  e.object({
38472
38472
  description: e.string().max(Vn).optional().describe("A short description of the source"),
38473
38473
  name: e.string().min(Yn).max(Gn).describe("The name of the source"),
@@ -38481,7 +38481,7 @@ e.object({
38481
38481
  "MANUAL"
38482
38482
  ]).default(Hn).describe("The type of the source")
38483
38483
  }).describe("The data structure representing a source");
38484
- const Kn = 500, Qn = 3, Wn = 100, Xn = "TYPE_UNSPECIFIED";
38484
+ const Kn = 500, Wn = 3, Qn = 100, Xn = "TYPE_UNSPECIFIED";
38485
38485
  e.object({
38486
38486
  createdAt: e.string().describe("Unix timestamp representing when the source was created."),
38487
38487
  createdBy: e.object({
@@ -38490,7 +38490,7 @@ e.object({
38490
38490
  }).describe("Reference to the user who originally created this source."),
38491
38491
  description: e.string().max(Kn).optional().describe("An optional longer explanation of the source's purpose."),
38492
38492
  id: e.string().describe("Unique identifier for the source, generated automatically."),
38493
- name: e.string().min(Qn).max(Wn).describe("A unique, descriptive name for the source."),
38493
+ name: e.string().min(Wn).max(Qn).describe("A unique, descriptive name for the source."),
38494
38494
  type: e.enum([
38495
38495
  "TYPE_UNSPECIFIED",
38496
38496
  "CALL",
@@ -38583,7 +38583,7 @@ e.object({
38583
38583
  e.object({
38584
38584
  fields: e.array(e.string()).optional()
38585
38585
  });
38586
- const aa = 500, ra = 2, sa = 100, la = "TYPE_UNSPECIFIED";
38586
+ const aa = 500, ra = 2, sa = 100, la = "CALL";
38587
38587
  e.object({
38588
38588
  description: e.string().max(aa).optional().describe("A short description of the source"),
38589
38589
  name: e.string().min(ra).max(sa).describe("The name of the source"),
@@ -38630,7 +38630,7 @@ e.object({
38630
38630
  e.object({
38631
38631
  fields: e.array(e.string()).optional()
38632
38632
  });
38633
- const ga = 500, ua = 2, ma = 100, fa = "TYPE_UNSPECIFIED";
38633
+ const ga = 500, ua = 2, ma = 100, ha = "CALL";
38634
38634
  e.object({
38635
38635
  description: e.string().max(ga).optional().describe("A short description of the source"),
38636
38636
  name: e.string().min(ua).max(ma).describe("The name of the source"),
@@ -38642,16 +38642,16 @@ e.object({
38642
38642
  "EMAIL",
38643
38643
  "API",
38644
38644
  "MANUAL"
38645
- ]).default(fa).describe("The type of the source")
38645
+ ]).default(ha).describe("The type of the source")
38646
38646
  }).describe("The data structure representing a source");
38647
- const ha = 500, ya = 3, ja = 100, Ia = "TYPE_UNSPECIFIED";
38647
+ const fa = 500, ya = 3, ja = 100, Ia = "TYPE_UNSPECIFIED";
38648
38648
  e.object({
38649
38649
  createdAt: e.string().describe("Unix timestamp representing when the source was created."),
38650
38650
  createdBy: e.object({
38651
38651
  id: e.string().optional(),
38652
38652
  name: e.string().optional()
38653
38653
  }).describe("Reference to the user who originally created this source."),
38654
- description: e.string().max(ha).optional().describe("An optional longer explanation of the source's purpose."),
38654
+ description: e.string().max(fa).optional().describe("An optional longer explanation of the source's purpose."),
38655
38655
  id: e.string().describe("Unique identifier for the source, generated automatically."),
38656
38656
  name: e.string().min(ya).max(ja).describe("A unique, descriptive name for the source."),
38657
38657
  type: e.enum([
@@ -39531,7 +39531,7 @@ e.object({
39531
39531
  e.object({
39532
39532
  fields: e.array(e.string()).optional()
39533
39533
  });
39534
- const qa = "empty_system_settings_name";
39534
+ const Sa = "empty_system_settings_name";
39535
39535
  e.object({
39536
39536
  id: e.number().optional(),
39537
39537
  name: e.enum([
@@ -39570,13 +39570,13 @@ e.object({
39570
39570
  "password_warning_days",
39571
39571
  "default_password",
39572
39572
  "expand_contact_tabs"
39573
- ]).default(qa)
39573
+ ]).default(Sa)
39574
39574
  });
39575
39575
  e.object({
39576
39576
  id: e.number()
39577
39577
  });
39578
39578
  e.looseObject({});
39579
- const Sa = "empty_system_settings_name";
39579
+ const _a = "empty_system_settings_name";
39580
39580
  e.object({
39581
39581
  id: e.number().optional(),
39582
39582
  name: e.enum([
@@ -39615,7 +39615,7 @@ e.object({
39615
39615
  "password_warning_days",
39616
39616
  "default_password",
39617
39617
  "expand_contact_tabs"
39618
- ]).default(Sa)
39618
+ ]).default(_a)
39619
39619
  });
39620
39620
  e.object({
39621
39621
  page: e.number().optional(),
@@ -39648,7 +39648,7 @@ e.object({
39648
39648
  ])
39649
39649
  ).optional()
39650
39650
  });
39651
- const _a = "teamHookEventUndefined";
39651
+ const qa = "teamHookEventUndefined";
39652
39652
  e.object({
39653
39653
  items: e.array(
39654
39654
  e.object({
@@ -39656,7 +39656,7 @@ e.object({
39656
39656
  event: e.enum([
39657
39657
  "teamHookEventUndefined",
39658
39658
  "agent_status"
39659
- ]).default(_a),
39659
+ ]).default(qa),
39660
39660
  id: e.number().optional(),
39661
39661
  properties: e.array(e.string()).optional(),
39662
39662
  schema: e.object({
@@ -39683,13 +39683,13 @@ e.object({
39683
39683
  name: e.string().optional()
39684
39684
  }).optional()
39685
39685
  });
39686
- const xa = "teamHookEventUndefined";
39686
+ const Ua = "teamHookEventUndefined";
39687
39687
  e.object({
39688
39688
  enabled: e.boolean().optional(),
39689
39689
  event: e.enum([
39690
39690
  "teamHookEventUndefined",
39691
39691
  "agent_status"
39692
- ]).default(xa),
39692
+ ]).default(Ua),
39693
39693
  id: e.number().optional(),
39694
39694
  properties: e.array(e.string()).optional(),
39695
39695
  schema: e.object({
@@ -39701,13 +39701,13 @@ e.object({
39701
39701
  team_id: e.string(),
39702
39702
  id: e.number()
39703
39703
  });
39704
- const Ua = "teamHookEventUndefined";
39704
+ const xa = "teamHookEventUndefined";
39705
39705
  e.object({
39706
39706
  enabled: e.boolean().optional(),
39707
39707
  event: e.enum([
39708
39708
  "teamHookEventUndefined",
39709
39709
  "agent_status"
39710
- ]).default(Ua),
39710
+ ]).default(xa),
39711
39711
  id: e.number().optional(),
39712
39712
  properties: e.array(e.string()).optional(),
39713
39713
  schema: e.object({
@@ -39719,13 +39719,13 @@ e.object({
39719
39719
  team_id: e.string(),
39720
39720
  id: e.number()
39721
39721
  });
39722
- const Ba = "teamHookEventUndefined";
39722
+ const Na = "teamHookEventUndefined";
39723
39723
  e.object({
39724
39724
  enabled: e.boolean().optional(),
39725
39725
  event: e.enum([
39726
39726
  "teamHookEventUndefined",
39727
39727
  "agent_status"
39728
- ]).default(Ba),
39728
+ ]).default(Na),
39729
39729
  id: e.number().optional(),
39730
39730
  properties: e.array(e.string()).optional(),
39731
39731
  schema: e.object({
@@ -39737,13 +39737,13 @@ e.object({
39737
39737
  team_id: e.string(),
39738
39738
  id: e.number()
39739
39739
  });
39740
- const Na = "teamHookEventUndefined";
39740
+ const Ba = "teamHookEventUndefined";
39741
39741
  e.object({
39742
39742
  enabled: e.boolean().optional(),
39743
39743
  event: e.enum([
39744
39744
  "teamHookEventUndefined",
39745
39745
  "agent_status"
39746
- ]).default(Na),
39746
+ ]).default(Ba),
39747
39747
  fields: e.array(e.string()).optional(),
39748
39748
  properties: e.array(e.string()).optional(),
39749
39749
  schema: e.object({
@@ -40632,7 +40632,7 @@ e.object({
40632
40632
  ).optional(),
40633
40633
  next: e.boolean().optional()
40634
40634
  });
40635
- const Ka = "empty_trigger_event", Qa = "empty_trigger_object", Wa = "default_trigger_type";
40635
+ const Ka = "empty_trigger_event", Wa = "empty_trigger_object", Qa = "default_trigger_type";
40636
40636
  e.object({
40637
40637
  description: e.string().optional(),
40638
40638
  enabled: e.boolean().optional(),
@@ -40652,7 +40652,7 @@ e.object({
40652
40652
  "case_comments",
40653
40653
  "case_links",
40654
40654
  "related_cases"
40655
- ]).default(Qa),
40655
+ ]).default(Wa),
40656
40656
  schema: e.object({
40657
40657
  id: e.string().optional(),
40658
40658
  name: e.string().optional()
@@ -40666,7 +40666,7 @@ e.object({
40666
40666
  "default_trigger_type",
40667
40667
  "cron",
40668
40668
  "event"
40669
- ]).default(Wa),
40669
+ ]).default(Qa),
40670
40670
  variables: e.record(e.string(), e.string()).optional()
40671
40671
  });
40672
40672
  const Xa = "empty_trigger_event", Ja = "empty_trigger_object", $a = "default_trigger_type";
@@ -40908,7 +40908,7 @@ e.object({
40908
40908
  ]).default(gr),
40909
40909
  variables: e.record(e.string(), e.string()).optional()
40910
40910
  });
40911
- const ur = "empty_trigger_event", mr = "empty_trigger_object", fr = "default_trigger_type";
40911
+ const ur = "empty_trigger_event", mr = "empty_trigger_object", hr = "default_trigger_type";
40912
40912
  e.object({
40913
40913
  description: e.string().optional(),
40914
40914
  enabled: e.boolean().optional(),
@@ -40943,7 +40943,7 @@ e.object({
40943
40943
  "default_trigger_type",
40944
40944
  "cron",
40945
40945
  "event"
40946
- ]).default(fr),
40946
+ ]).default(hr),
40947
40947
  variables: e.record(e.string(), e.string()).optional()
40948
40948
  });
40949
40949
  e.object({
@@ -40970,7 +40970,7 @@ e.object({
40970
40970
  ])
40971
40971
  ).optional()
40972
40972
  });
40973
- const hr = "idle";
40973
+ const fr = "idle";
40974
40974
  e.object({
40975
40975
  items: e.array(
40976
40976
  e.object({
@@ -40983,7 +40983,7 @@ e.object({
40983
40983
  "active",
40984
40984
  "done",
40985
40985
  "error"
40986
- ]).default(hr),
40986
+ ]).default(fr),
40987
40987
  stoppedAt: e.string().optional(),
40988
40988
  trigger: e.object({
40989
40989
  id: e.string().optional(),
@@ -42414,6 +42414,11 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42414
42414
  username: e.string().optional()
42415
42415
  }).optional().describe("User profile.")
42416
42416
  });
42417
+ e.object({
42418
+ id: e.string().optional(),
42419
+ selection: e.array(e.string()).optional()
42420
+ });
42421
+ e.looseObject({});
42417
42422
  e.object({
42418
42423
  confirmPassword: e.string().optional(),
42419
42424
  domain: e.string().optional(),
@@ -42779,182 +42784,184 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
42779
42784
  }).optional().describe("User profile.")
42780
42785
  });
42781
42786
  e.object({
42782
- id: e.string()
42783
- });
42784
- e.looseObject({});
42785
- e.looseObject({});
42786
- e.object({
42787
- "user.id": e.string().describe("Object ID")
42788
- });
42789
- e.object({
42790
- fields: e.array(e.string()).optional().describe("PATCH: partial update")
42787
+ id: e.string().describe("ONE /users/{id}/logout")
42791
42788
  });
42792
42789
  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()
42790
+ selection: e.array(e.string()).optional()
42866
42791
  });
42867
- e.object({
42868
- chatName: e.string().optional().describe(
42869
- `The "chat_name" field is used to store the name displayed externally on the platform.
42870
- For example, "chat_name" is shown when an agent connects to chats with clients.`
42871
- ),
42872
- contact: e.object({
42873
- id: e.string().optional(),
42874
- name: e.string().optional()
42875
- }).optional().describe("[optional] contact connected to this user"),
42876
- createdAt: e.string().optional(),
42877
- createdBy: e.object({
42878
- id: e.string().optional(),
42879
- name: e.string().optional()
42880
- }).optional().describe("UserId lookup value."),
42881
- deletedAt: e.string().optional(),
42882
- deletedBy: e.object({
42883
- id: e.string().optional(),
42884
- name: e.string().optional()
42885
- }).optional().describe("UserId lookup value."),
42886
- device: e.object({
42887
- id: e.string().optional(),
42888
- name: e.string().optional()
42889
- }).optional(),
42890
- devices: e.array(
42891
- e.object({
42892
- id: e.string().optional(),
42893
- name: e.string().optional()
42894
- })
42895
- ).optional().describe(
42896
- "[editable] list of unique `regular` devices, attached to this user"
42897
- ),
42898
- email: e.string().optional(),
42899
- extension: e.string().optional(),
42900
- forcePasswordChange: e.boolean().optional().describe(
42901
- "When set to true, the user will be required to change their password on next login."
42902
- ),
42903
- hotdesks: e.array(
42904
- e.object({
42905
- id: e.string().optional(),
42906
- name: e.string().optional()
42907
- })
42908
- ).optional(),
42909
- id: e.string().optional(),
42910
- license: e.array(
42911
- e.object({
42912
- expiresAt: e.string().optional(),
42913
- id: e.string().optional(),
42914
- issuedAt: e.string().optional(),
42915
- name: e.string().optional(),
42916
- prod: e.string().optional(),
42917
- scope: e.array(e.string()).optional(),
42918
- user: e.object({
42919
- id: e.string().optional(),
42920
- name: e.string().optional()
42921
- }).optional()
42922
- })
42923
- ).optional(),
42924
- name: e.string().optional(),
42925
- password: e.string().optional(),
42926
- permissions: e.array(
42927
- e.object({
42928
- id: e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),
42929
- name: e.string().optional(),
42930
- usage: e.string().optional()
42931
- })
42932
- ).optional(),
42933
- presence: e.object({
42934
- expires: e.number().optional(),
42935
- id: e.string().optional(),
42936
- note: e.string().optional(),
42937
- status: e.string().optional(),
42938
- timestamp: e.string().optional()
42939
- }).optional().describe(
42940
- `string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
42941
- string status = 8; // short display status (short description)`
42942
- ),
42943
- profile: e.record(e.string(), e.string()).optional(),
42944
- roles: e.array(
42945
- e.object({
42946
- id: e.string().optional(),
42947
- name: e.string().optional()
42948
- })
42949
- ).optional(),
42950
- totpUrl: e.string().optional(),
42951
- updatedAt: e.string().optional(),
42952
- updatedBy: e.object({
42953
- id: e.string().optional(),
42954
- name: e.string().optional()
42955
- }).optional().describe("UserId lookup value."),
42956
- username: e.string().optional()
42957
- }).describe("User profile.");
42792
+ e.looseObject({});
42793
+ e.object({
42794
+ "user.id": e.string().describe("Object ID")
42795
+ });
42796
+ e.object({
42797
+ fields: e.array(e.string()).optional().describe("PATCH: partial update")
42798
+ });
42799
+ e.object({
42800
+ chatName: e.string().optional().describe(
42801
+ `The "chat_name" field is used to store the name displayed externally on the platform.
42802
+ For example, "chat_name" is shown when an agent connects to chats with clients.`
42803
+ ),
42804
+ contact: e.object({
42805
+ id: e.string().optional(),
42806
+ name: e.string().optional()
42807
+ }).optional().describe("[optional] contact connected to this user"),
42808
+ device: e.object({
42809
+ id: e.string().optional(),
42810
+ name: e.string().optional()
42811
+ }).optional(),
42812
+ devices: e.array(
42813
+ e.object({
42814
+ id: e.string().optional(),
42815
+ name: e.string().optional()
42816
+ })
42817
+ ).optional().describe(
42818
+ "[editable] list of unique `regular` devices, attached to this user"
42819
+ ),
42820
+ email: e.string().optional(),
42821
+ extension: e.string().optional(),
42822
+ forcePasswordChange: e.boolean().optional().describe(
42823
+ "When set to true, the user will be required to change their password on next login."
42824
+ ),
42825
+ hotdesks: e.array(
42826
+ e.object({
42827
+ id: e.string().optional(),
42828
+ name: e.string().optional()
42829
+ })
42830
+ ).optional(),
42831
+ license: e.array(
42832
+ e.object({
42833
+ expiresAt: e.string().optional(),
42834
+ id: e.string().optional(),
42835
+ issuedAt: e.string().optional(),
42836
+ name: e.string().optional(),
42837
+ prod: e.string().optional(),
42838
+ scope: e.array(e.string()).optional(),
42839
+ user: e.object({
42840
+ id: e.string().optional(),
42841
+ name: e.string().optional()
42842
+ }).optional()
42843
+ })
42844
+ ).optional(),
42845
+ name: e.string().optional(),
42846
+ password: e.string().optional(),
42847
+ permissions: e.array(
42848
+ e.object({
42849
+ id: e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),
42850
+ name: e.string().optional(),
42851
+ usage: e.string().optional()
42852
+ })
42853
+ ).optional(),
42854
+ presence: e.object({
42855
+ expires: e.number().optional(),
42856
+ id: e.string().optional(),
42857
+ note: e.string().optional(),
42858
+ status: e.string().optional(),
42859
+ timestamp: e.string().optional()
42860
+ }).optional().describe(
42861
+ `string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
42862
+ string status = 8; // short display status (short description)`
42863
+ ),
42864
+ profile: e.record(e.string(), e.string()).optional(),
42865
+ roles: e.array(
42866
+ e.object({
42867
+ id: e.string().optional(),
42868
+ name: e.string().optional()
42869
+ })
42870
+ ).optional(),
42871
+ totpUrl: e.string().optional(),
42872
+ username: e.string().optional()
42873
+ });
42874
+ e.object({
42875
+ chatName: e.string().optional().describe(
42876
+ `The "chat_name" field is used to store the name displayed externally on the platform.
42877
+ For example, "chat_name" is shown when an agent connects to chats with clients.`
42878
+ ),
42879
+ contact: e.object({
42880
+ id: e.string().optional(),
42881
+ name: e.string().optional()
42882
+ }).optional().describe("[optional] contact connected to this user"),
42883
+ createdAt: e.string().optional(),
42884
+ createdBy: e.object({
42885
+ id: e.string().optional(),
42886
+ name: e.string().optional()
42887
+ }).optional().describe("UserId lookup value."),
42888
+ deletedAt: e.string().optional(),
42889
+ deletedBy: e.object({
42890
+ id: e.string().optional(),
42891
+ name: e.string().optional()
42892
+ }).optional().describe("UserId lookup value."),
42893
+ device: e.object({
42894
+ id: e.string().optional(),
42895
+ name: e.string().optional()
42896
+ }).optional(),
42897
+ devices: e.array(
42898
+ e.object({
42899
+ id: e.string().optional(),
42900
+ name: e.string().optional()
42901
+ })
42902
+ ).optional().describe(
42903
+ "[editable] list of unique `regular` devices, attached to this user"
42904
+ ),
42905
+ email: e.string().optional(),
42906
+ extension: e.string().optional(),
42907
+ forcePasswordChange: e.boolean().optional().describe(
42908
+ "When set to true, the user will be required to change their password on next login."
42909
+ ),
42910
+ hotdesks: e.array(
42911
+ e.object({
42912
+ id: e.string().optional(),
42913
+ name: e.string().optional()
42914
+ })
42915
+ ).optional(),
42916
+ id: e.string().optional(),
42917
+ license: e.array(
42918
+ e.object({
42919
+ expiresAt: e.string().optional(),
42920
+ id: e.string().optional(),
42921
+ issuedAt: e.string().optional(),
42922
+ name: e.string().optional(),
42923
+ prod: e.string().optional(),
42924
+ scope: e.array(e.string()).optional(),
42925
+ user: e.object({
42926
+ id: e.string().optional(),
42927
+ name: e.string().optional()
42928
+ }).optional()
42929
+ })
42930
+ ).optional(),
42931
+ name: e.string().optional(),
42932
+ password: e.string().optional(),
42933
+ permissions: e.array(
42934
+ e.object({
42935
+ id: e.string().optional().describe("[required] e.g.: 'read', 'playback_record_file', ..."),
42936
+ name: e.string().optional(),
42937
+ usage: e.string().optional()
42938
+ })
42939
+ ).optional(),
42940
+ presence: e.object({
42941
+ expires: e.number().optional(),
42942
+ id: e.string().optional(),
42943
+ note: e.string().optional(),
42944
+ status: e.string().optional(),
42945
+ timestamp: e.string().optional()
42946
+ }).optional().describe(
42947
+ `string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
42948
+ string status = 8; // short display status (short description)`
42949
+ ),
42950
+ profile: e.record(e.string(), e.string()).optional(),
42951
+ roles: e.array(
42952
+ e.object({
42953
+ id: e.string().optional(),
42954
+ name: e.string().optional()
42955
+ })
42956
+ ).optional(),
42957
+ totpUrl: e.string().optional(),
42958
+ updatedAt: e.string().optional(),
42959
+ updatedBy: e.object({
42960
+ id: e.string().optional(),
42961
+ name: e.string().optional()
42962
+ }).optional().describe("UserId lookup value."),
42963
+ username: e.string().optional()
42964
+ }).describe("User profile.");
42958
42965
  e.object({
42959
42966
  "user.id": e.string().describe("Object ID")
42960
42967
  });
@@ -43271,12 +43278,12 @@ e.object({
43271
43278
  e.object({
43272
43279
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
43273
43280
  });
43274
- const Cr = /^\w+$/, qr = e.object({
43281
+ const Cr = /^\w+$/, Sr = e.object({
43275
43282
  etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
43276
43283
  key: e.string().regex(Cr).describe("NEW Key."),
43277
43284
  value: e.unknown().optional().describe("NEW Value.")
43278
43285
  }).describe("Input of the Contact's variable.");
43279
- e.array(qr);
43286
+ e.array(Sr);
43280
43287
  e.object({
43281
43288
  data: e.array(
43282
43289
  e.object({
@@ -43355,9 +43362,9 @@ e.object({
43355
43362
  e.object({
43356
43363
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
43357
43364
  });
43358
- const Sr = /^\w+$/;
43365
+ const _r = /^\w+$/;
43359
43366
  e.object({
43360
- key: e.string().regex(Sr).describe("NEW Key."),
43367
+ key: e.string().regex(_r).describe("NEW Key."),
43361
43368
  value: e.unknown().optional().describe("NEW Value.")
43362
43369
  });
43363
43370
  e.object({
@@ -43402,9 +43409,9 @@ e.object({
43402
43409
  e.object({
43403
43410
  fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
43404
43411
  });
43405
- const _r = /^\w+$/;
43412
+ const qr = /^\w+$/;
43406
43413
  e.object({
43407
- key: e.string().regex(_r).describe("NEW Key."),
43414
+ key: e.string().regex(qr).describe("NEW Key."),
43408
43415
  value: e.unknown().optional().describe("NEW Value.")
43409
43416
  });
43410
43417
  e.object({
@@ -44146,16 +44153,16 @@ e.object({
44146
44153
  updatedAt: e.string().optional()
44147
44154
  }).optional()
44148
44155
  });
44149
- const xr = "ALL";
44156
+ const Ur = "ALL";
44150
44157
  e.object({
44151
44158
  contactId: e.string().optional(),
44152
44159
  allowInvitesFrom: e.enum([
44153
44160
  "ALL",
44154
44161
  "NOBODY",
44155
44162
  "SAME_ISSUER"
44156
- ]).default(xr)
44163
+ ]).default(Ur)
44157
44164
  });
44158
- const Ur = "ALL";
44165
+ const xr = "ALL";
44159
44166
  e.object({
44160
44167
  settings: e.object({
44161
44168
  allowInvitesFrom: e.enum([
@@ -44163,7 +44170,7 @@ e.object({
44163
44170
  "NOBODY",
44164
44171
  "SAME_ISSUER"
44165
44172
  ]).default(
44166
- Ur
44173
+ xr
44167
44174
  ),
44168
44175
  contactId: e.string().optional(),
44169
44176
  updatedAt: e.string().optional()
@@ -44179,7 +44186,8 @@ e.object({
44179
44186
  channelId: e.string().optional(),
44180
44187
  contact: e.object({
44181
44188
  iss: e.string().optional(),
44182
- sub: e.string().optional()
44189
+ sub: e.string().optional(),
44190
+ via: e.string().optional()
44183
44191
  }).optional(),
44184
44192
  groupId: e.string().optional(),
44185
44193
  threadId: e.string().optional()
@@ -44191,7 +44199,8 @@ e.object({
44191
44199
  channelId: e.string().optional(),
44192
44200
  contact: e.object({
44193
44201
  iss: e.string().optional(),
44194
- sub: e.string().optional()
44202
+ sub: e.string().optional(),
44203
+ via: e.string().optional()
44195
44204
  }).optional(),
44196
44205
  groupId: e.string().optional(),
44197
44206
  threadId: e.string().optional()
@@ -44218,7 +44227,8 @@ e.object({
44218
44227
  channelId: e.string().optional(),
44219
44228
  contact: e.object({
44220
44229
  iss: e.string().optional(),
44221
- sub: e.string().optional()
44230
+ sub: e.string().optional(),
44231
+ via: e.string().optional()
44222
44232
  }).optional(),
44223
44233
  groupId: e.string().optional(),
44224
44234
  threadId: e.string().optional()
@@ -44233,7 +44243,8 @@ e.object({
44233
44243
  channelId: e.string().optional(),
44234
44244
  contact: e.object({
44235
44245
  iss: e.string().optional(),
44236
- sub: e.string().optional()
44246
+ sub: e.string().optional(),
44247
+ via: e.string().optional()
44237
44248
  }).optional(),
44238
44249
  groupId: e.string().optional(),
44239
44250
  threadId: e.string().optional()
@@ -44257,7 +44268,8 @@ e.object({
44257
44268
  channelId: e.string().optional(),
44258
44269
  contact: e.object({
44259
44270
  iss: e.string().optional(),
44260
- sub: e.string().optional()
44271
+ sub: e.string().optional(),
44272
+ via: e.string().optional()
44261
44273
  }).optional(),
44262
44274
  groupId: e.string().optional(),
44263
44275
  threadId: e.string().optional()
@@ -44272,7 +44284,8 @@ e.object({
44272
44284
  channelId: e.string().optional(),
44273
44285
  contact: e.object({
44274
44286
  iss: e.string().optional(),
44275
- sub: e.string().optional()
44287
+ sub: e.string().optional(),
44288
+ via: e.string().optional()
44276
44289
  }).optional(),
44277
44290
  groupId: e.string().optional(),
44278
44291
  threadId: e.string().optional()
@@ -44432,7 +44445,8 @@ Capped at 10 to ensure UI responsiveness and prevent overflow.`
44432
44445
  channelId: e.string().optional(),
44433
44446
  contact: e.object({
44434
44447
  iss: e.string().optional(),
44435
- sub: e.string().optional()
44448
+ sub: e.string().optional(),
44449
+ via: e.string().optional()
44436
44450
  }).optional(),
44437
44451
  groupId: e.string().optional(),
44438
44452
  threadId: e.string().optional()
@@ -44446,7 +44460,8 @@ e.object({
44446
44460
  channelId: e.string().optional(),
44447
44461
  contact: e.object({
44448
44462
  iss: e.string().optional(),
44449
- sub: e.string().optional()
44463
+ sub: e.string().optional(),
44464
+ via: e.string().optional()
44450
44465
  }).optional(),
44451
44466
  groupId: e.string().optional(),
44452
44467
  threadId: e.string().optional()
@@ -44471,7 +44486,8 @@ e.object({
44471
44486
  channelId: e.string().optional(),
44472
44487
  contact: e.object({
44473
44488
  iss: e.string().optional(),
44474
- sub: e.string().optional()
44489
+ sub: e.string().optional(),
44490
+ via: e.string().optional()
44475
44491
  }).optional(),
44476
44492
  groupId: e.string().optional(),
44477
44493
  threadId: e.string().optional()
@@ -44488,7 +44504,8 @@ e.object({
44488
44504
  channelId: e.string().optional(),
44489
44505
  contact: e.object({
44490
44506
  iss: e.string().optional(),
44491
- sub: e.string().optional()
44507
+ sub: e.string().optional(),
44508
+ via: e.string().optional()
44492
44509
  }).optional(),
44493
44510
  groupId: e.string().optional(),
44494
44511
  threadId: e.string().optional()
@@ -44500,7 +44517,8 @@ e.object({
44500
44517
  channelId: e.string().optional(),
44501
44518
  contact: e.object({
44502
44519
  iss: e.string().optional(),
44503
- sub: e.string().optional()
44520
+ sub: e.string().optional(),
44521
+ via: e.string().optional()
44504
44522
  }).optional(),
44505
44523
  groupId: e.string().optional(),
44506
44524
  threadId: e.string().optional()
@@ -44516,7 +44534,8 @@ e.object({
44516
44534
  channelId: e.string().optional(),
44517
44535
  contact: e.object({
44518
44536
  iss: e.string().optional(),
44519
- sub: e.string().optional()
44537
+ sub: e.string().optional(),
44538
+ via: e.string().optional()
44520
44539
  }).optional(),
44521
44540
  groupId: e.string().optional(),
44522
44541
  threadId: e.string().optional()
@@ -44531,7 +44550,8 @@ e.object({
44531
44550
  channelId: e.string().optional(),
44532
44551
  contact: e.object({
44533
44552
  iss: e.string().optional(),
44534
- sub: e.string().optional()
44553
+ sub: e.string().optional(),
44554
+ via: e.string().optional()
44535
44555
  }).optional(),
44536
44556
  groupId: e.string().optional(),
44537
44557
  threadId: e.string().optional()
@@ -44571,7 +44591,7 @@ false -> fetch older messages (back to older history)`
44571
44591
  ),
44572
44592
  size: e.number().optional().describe("Maximum number of messages to return.")
44573
44593
  });
44574
- const Br = "ROLE_UNSPECIFIED";
44594
+ const Nr = "ROLE_UNSPECIFIED";
44575
44595
  e.object({
44576
44596
  items: e.array(
44577
44597
  e.object({
@@ -44842,7 +44862,7 @@ Can contain structured data depending on message type.`
44842
44862
  "ROLE_OWNER",
44843
44863
  "ROLE_SUPERVISOR"
44844
44864
  ]).default(
44845
- Br
44865
+ Nr
44846
44866
  )
44847
44867
  }).optional().describe("Sender user aggregated information."),
44848
44868
  threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
@@ -44904,7 +44924,7 @@ Example: "-created_at", "subject"`
44904
44924
  page: e.number().optional().describe("Page number (1-based)."),
44905
44925
  contactIds: e.array(e.string()).optional().describe("Filter threads by participant contact IDs.")
44906
44926
  });
44907
- const Nr = "ROLE_UNSPECIFIED", Pr = "ROLE_UNSPECIFIED", Fr = "UNKNOWN";
44927
+ const Br = "ROLE_UNSPECIFIED", Pr = "ROLE_UNSPECIFIED", Fr = "UNKNOWN";
44908
44928
  e.object({
44909
44929
  items: e.array(
44910
44930
  e.object({
@@ -45183,7 +45203,7 @@ Can contain structured data depending on message type.`
45183
45203
  "ROLE_OWNER",
45184
45204
  "ROLE_SUPERVISOR"
45185
45205
  ]).default(
45186
- Nr
45206
+ Br
45187
45207
  )
45188
45208
  }).optional().describe("Sender user aggregated information."),
45189
45209
  threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
@@ -45345,13 +45365,484 @@ Key is the variable name, value contains data and metadata.`
45345
45365
  `SearchThreadResponse contains the list of threads
45346
45366
  and pagination metadata.`
45347
45367
  );
45368
+ e.object({
45369
+ fields: e.array(e.string()).optional().describe(
45370
+ `List of fields that should be returned in the response.
45371
+ If empty, a default set of fields is returned.
45372
+ Used for response optimization.`
45373
+ ),
45374
+ types: e.array(
45375
+ e.enum([
45376
+ "UNKNOWN",
45377
+ "DIRECT",
45378
+ "GROUP",
45379
+ "CHANNEL"
45380
+ ])
45381
+ ).optional().describe(
45382
+ `Filter threads by their kinds
45383
+
45384
+ - UNKNOWN: Unknown or unspecified thread type.
45385
+ Must not be used in valid requests.
45386
+ - DIRECT: One-to-one private thread between two users.
45387
+ - GROUP: Group thread with multiple members.
45388
+ - CHANNEL: Channel-style thread (broadcast or topic based communication).`
45389
+ ),
45390
+ sort: e.string().optional().describe(
45391
+ `Sorting field.
45392
+ Optional "+" or "-" prefix indicates ascending or descending order.
45393
+ Example: "-created_at", "subject"`
45394
+ ),
45395
+ size: e.number().optional().describe(
45396
+ `Maximum number of threads to return per page.
45397
+ Must be greater than 0 and less than or equal to 100.`
45398
+ ),
45399
+ page: e.number().optional().describe("Page number (1-based).")
45400
+ });
45401
+ const Lr = "ROLE_UNSPECIFIED", Mr = "ROLE_UNSPECIFIED", zr = "UNKNOWN";
45402
+ e.object({
45403
+ items: e.array(
45404
+ e.object({
45405
+ createdAt: e.string().optional().describe("Thread creation timestamp (Unix time, milliseconds)."),
45406
+ description: e.string().optional().describe("Optional thread description."),
45407
+ id: e.string().optional().describe("Unique thread identifier."),
45408
+ lastMsg: e.object({
45409
+ body: e.string().optional().describe("Message body content."),
45410
+ contact: e.object({
45411
+ email: e.string().optional(),
45412
+ name: e.string().optional(),
45413
+ phone: e.string().optional()
45414
+ }).optional(),
45415
+ createdAt: e.string().optional().describe(
45416
+ "Message creation timestamp (Unix time, milliseconds)."
45417
+ ),
45418
+ documents: e.array(
45419
+ e.object({
45420
+ createdAt: e.string().optional().describe(
45421
+ "Creation timestamp (Unix time, milliseconds)."
45422
+ ),
45423
+ fileId: e.string().optional().describe("File storage identifier."),
45424
+ id: e.string().optional().describe("Document identifier."),
45425
+ messageId: e.string().optional().describe(
45426
+ "Identifier of the message this document belongs to."
45427
+ ),
45428
+ mime: e.string().optional().describe("MIME type of the document."),
45429
+ name: e.string().optional().describe("Original file name."),
45430
+ size: e.string().optional().describe("File size in bytes."),
45431
+ url: e.string().optional().describe(
45432
+ "Public signed URL for downloading the document."
45433
+ )
45434
+ }).describe(
45435
+ `Document represents a file attachment
45436
+ associated with a message.`
45437
+ )
45438
+ ).optional().describe("List of document attachments."),
45439
+ editedAt: e.string().optional().describe(
45440
+ "Message last update timestamp (Unix time, milliseconds)."
45441
+ ),
45442
+ id: e.string().optional().describe("Unique message identifier."),
45443
+ images: e.array(
45444
+ e.object({
45445
+ createdAt: e.string().optional().describe(
45446
+ "Creation timestamp (Unix time, milliseconds)."
45447
+ ),
45448
+ fileId: e.string().optional().describe("File storage identifier."),
45449
+ height: e.number().optional().describe("Image height in pixels."),
45450
+ id: e.string().optional().describe("Image identifier."),
45451
+ messageId: e.string().optional().describe(
45452
+ "Identifier of the message this message belongs to."
45453
+ ),
45454
+ mime: e.string().optional().describe("MIME type of the image."),
45455
+ url: e.string().optional().describe("Public signed URL for accessing the image."),
45456
+ width: e.number().optional().describe("Image width in pixels.")
45457
+ }).describe(
45458
+ `Image represents an image attachment
45459
+ associated with a message.`
45460
+ )
45461
+ ).optional().describe("List of image attachments."),
45462
+ interactive: e.object({
45463
+ documents: e.object({
45464
+ documents: e.array(
45465
+ e.object({
45466
+ fileName: e.string().optional(),
45467
+ id: e.string().optional(),
45468
+ mimeType: e.string().optional(),
45469
+ sizeBytes: e.string().optional(),
45470
+ url: e.string().optional()
45471
+ }).describe(
45472
+ "Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems."
45473
+ )
45474
+ ).optional().describe(
45475
+ `Documents to be attached to the header of interactive message.
45476
+ Max allowed documents: 10.`
45477
+ )
45478
+ }).optional().describe("Document attachments header."),
45479
+ images: e.object({
45480
+ images: e.array(
45481
+ e.object({
45482
+ id: e.string().optional(),
45483
+ link: e.string().optional(),
45484
+ mimeType: e.string().optional(),
45485
+ name: e.string().optional()
45486
+ }).describe(
45487
+ "Represents `Image` entity with\nnecessary fields."
45488
+ )
45489
+ ).optional().describe(
45490
+ `Images to be attached to the header of interactive message.
45491
+ Max allowed images: 10.`
45492
+ )
45493
+ }).optional().describe("Images attachment header."),
45494
+ listReply: e.object({
45495
+ mainButtonTitle: e.string().optional().describe(
45496
+ "Title of the main button, that on-click show up list."
45497
+ ),
45498
+ sections: e.array(
45499
+ e.object({
45500
+ buttons: e.array(
45501
+ e.object({
45502
+ callback: e.object({
45503
+ data: e.string().optional().describe(
45504
+ "Opaque data payload passed back to the server upon interaction."
45505
+ )
45506
+ }).optional().describe(
45507
+ "Triggers a backend event (callback) with associated metadata."
45508
+ ),
45509
+ id: e.string().optional().describe(
45510
+ `Unique idempotent identifier for the button.
45511
+ Used by the frontend to track state and prevent duplicate interactions.`
45512
+ ),
45513
+ label: e.string().optional().describe(
45514
+ "The human-readable label displayed on the button."
45515
+ ),
45516
+ metadata: e.looseObject({}).optional().describe(
45517
+ `Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
45518
+ Usage: Allows for future-proofing without breaking schema changes.`
45519
+ ),
45520
+ request: e.object({
45521
+ action: e.string().optional().describe(
45522
+ "The specific action to be performed by the client application."
45523
+ )
45524
+ }).optional().describe(
45525
+ "Requests sensitive information from the client (e.g., location or contact)."
45526
+ ),
45527
+ url: e.object({
45528
+ url: e.string().optional().describe(
45529
+ "Must be a valid absolute URI (e.g., https://example.com)."
45530
+ )
45531
+ }).optional().describe(
45532
+ "Directs the user to an external web resource."
45533
+ )
45534
+ }).describe(
45535
+ `Defines a single interactive element within the keyboard.
45536
+ Each button must have a unique identifier and a specific action type.`
45537
+ )
45538
+ ).optional().describe(
45539
+ `Collection of buttons within this section.
45540
+ Minimum of 1 button is required to prevent empty sections.`
45541
+ ),
45542
+ section: e.string().optional().describe(
45543
+ "The header text for this section. Must be concise and descriptive."
45544
+ )
45545
+ }).describe(
45546
+ `Represents a row of buttons grouped under a specific logical section header.
45547
+ Useful for creating categorized menus or structured interactive interfaces.`
45548
+ )
45549
+ ).optional().describe("List with sections with buttons.")
45550
+ }).optional().describe(
45551
+ "List reply with main list button text and sections with buttons."
45552
+ ),
45553
+ markup: e.object({
45554
+ rows: e.array(
45555
+ e.object({
45556
+ buttons: e.array(
45557
+ e.object({
45558
+ callback: e.object({
45559
+ data: e.string().optional().describe(
45560
+ "Opaque data payload passed back to the server upon interaction."
45561
+ )
45562
+ }).optional().describe(
45563
+ "Triggers a backend event (callback) with associated metadata."
45564
+ ),
45565
+ id: e.string().optional().describe(
45566
+ `Unique idempotent identifier for the button.
45567
+ Used by the frontend to track state and prevent duplicate interactions.`
45568
+ ),
45569
+ label: e.string().optional().describe(
45570
+ "The human-readable label displayed on the button."
45571
+ ),
45572
+ metadata: e.looseObject({}).optional().describe(
45573
+ `Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
45574
+ Usage: Allows for future-proofing without breaking schema changes.`
45575
+ ),
45576
+ request: e.object({
45577
+ action: e.string().optional().describe(
45578
+ "The specific action to be performed by the client application."
45579
+ )
45580
+ }).optional().describe(
45581
+ "Requests sensitive information from the client (e.g., location or contact)."
45582
+ ),
45583
+ url: e.object({
45584
+ url: e.string().optional().describe(
45585
+ "Must be a valid absolute URI (e.g., https://example.com)."
45586
+ )
45587
+ }).optional().describe(
45588
+ "Directs the user to an external web resource."
45589
+ )
45590
+ }).describe(
45591
+ `Defines a single interactive element within the keyboard.
45592
+ Each button must have a unique identifier and a specific action type.`
45593
+ )
45594
+ ).optional().describe(
45595
+ `Horizontal collection of buttons.
45596
+ Capped at 10 to ensure UI responsiveness and prevent overflow.`
45597
+ )
45598
+ }).describe(
45599
+ "A standard horizontal row of interactive buttons without a section header."
45600
+ )
45601
+ ).optional().describe("Rows of buttons matrix.")
45602
+ }).optional().describe("Markup matrix with buttons."),
45603
+ singleUse: e.boolean().optional().describe("Force to block user keyboard.")
45604
+ }).optional().describe(
45605
+ "Interactive represents a rich message with UI elements."
45606
+ ),
45607
+ location: e.object({
45608
+ address: e.string().optional(),
45609
+ latitude: e.number().optional(),
45610
+ longitude: e.number().optional(),
45611
+ name: e.string().optional()
45612
+ }).optional(),
45613
+ metadata: e.looseObject({}).optional().describe(
45614
+ `Arbitrary message metadata.
45615
+ Can contain structured data depending on message type.`
45616
+ ),
45617
+ sender: e.object({
45618
+ contact: e.object({
45619
+ appId: e.string().optional().describe(
45620
+ "Identifier of the specific integration app or bot."
45621
+ ),
45622
+ createdAt: e.string().optional().describe(
45623
+ "Record creation timestamp (Unix Epoch in milliseconds)."
45624
+ ),
45625
+ isBot: e.boolean().optional().describe(
45626
+ "Represents if usere is real person or automatic script."
45627
+ ),
45628
+ iss: e.string().optional().describe(
45629
+ "Provider-specific unique identifier (Issuer ID)."
45630
+ ),
45631
+ metadata: e.record(e.string(), e.string()).optional().describe(
45632
+ "Additional dynamic attributes provided by the messenger."
45633
+ ),
45634
+ name: e.string().optional().describe("Display name of the contact."),
45635
+ sub: e.string().optional().describe(
45636
+ "Associated internal system subject/identifier."
45637
+ ),
45638
+ type: e.string().optional().describe(
45639
+ "Channel type (e.g., 'webchat', 'telegram')."
45640
+ ),
45641
+ updatedAt: e.string().optional().describe(
45642
+ "Last record update timestamp (Unix Epoch in milliseconds)."
45643
+ ),
45644
+ username: e.string().optional().describe("Technical username or handle."),
45645
+ vias: e.array(
45646
+ e.object({
45647
+ contactId: e.string().optional(),
45648
+ createdAt: e.string().optional(),
45649
+ disable: e.boolean().optional(),
45650
+ disableReason: e.string().optional(),
45651
+ metadata: e.looseObject({}).optional(),
45652
+ updatedAt: e.string().optional(),
45653
+ via: e.string().optional()
45654
+ })
45655
+ ).optional()
45656
+ }).optional().describe(
45657
+ "Contact represents an external messaging identity."
45658
+ ),
45659
+ id: e.string().optional(),
45660
+ permissions: e.object({
45661
+ canAddMembers: e.boolean().optional(),
45662
+ canChangeMembersPermissions: e.boolean().optional(),
45663
+ canChangeThreadInfo: e.boolean().optional(),
45664
+ canRemoveMembers: e.boolean().optional(),
45665
+ canSendMessages: e.boolean().optional(),
45666
+ createdAt: e.string().optional(),
45667
+ id: e.string().optional(),
45668
+ memberId: e.string().optional(),
45669
+ updatedAt: e.string().optional()
45670
+ }).optional(),
45671
+ role: e.enum([
45672
+ "ROLE_UNSPECIFIED",
45673
+ "ROLE_MEMBER",
45674
+ "ROLE_ADMIN",
45675
+ "ROLE_OWNER",
45676
+ "ROLE_SUPERVISOR"
45677
+ ]).default(
45678
+ Lr
45679
+ )
45680
+ }).optional().describe("Sender user aggregated information."),
45681
+ threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
45682
+ type: e.number().optional().describe("Message type identifier.")
45683
+ }).optional().describe("Last message of the linked thread."),
45684
+ members: e.array(
45685
+ e.object({
45686
+ contact: e.object({
45687
+ appId: e.string().optional().describe(
45688
+ "Identifier of the specific integration app or bot."
45689
+ ),
45690
+ createdAt: e.string().optional().describe(
45691
+ "Record creation timestamp (Unix Epoch in milliseconds)."
45692
+ ),
45693
+ isBot: e.boolean().optional().describe(
45694
+ "Represents if usere is real person or automatic script."
45695
+ ),
45696
+ iss: e.string().optional().describe(
45697
+ "Provider-specific unique identifier (Issuer ID)."
45698
+ ),
45699
+ metadata: e.record(e.string(), e.string()).optional().describe(
45700
+ "Additional dynamic attributes provided by the messenger."
45701
+ ),
45702
+ name: e.string().optional().describe("Display name of the contact."),
45703
+ sub: e.string().optional().describe(
45704
+ "Associated internal system subject/identifier."
45705
+ ),
45706
+ type: e.string().optional().describe(
45707
+ "Channel type (e.g., 'webchat', 'telegram')."
45708
+ ),
45709
+ updatedAt: e.string().optional().describe(
45710
+ "Last record update timestamp (Unix Epoch in milliseconds)."
45711
+ ),
45712
+ username: e.string().optional().describe("Technical username or handle."),
45713
+ vias: e.array(
45714
+ e.object({
45715
+ contactId: e.string().optional(),
45716
+ createdAt: e.string().optional(),
45717
+ disable: e.boolean().optional(),
45718
+ disableReason: e.string().optional(),
45719
+ metadata: e.looseObject({}).optional(),
45720
+ updatedAt: e.string().optional(),
45721
+ via: e.string().optional()
45722
+ })
45723
+ ).optional()
45724
+ }).optional().describe(
45725
+ "Contact represents an external messaging identity."
45726
+ ),
45727
+ id: e.string().optional(),
45728
+ permissions: e.object({
45729
+ canAddMembers: e.boolean().optional(),
45730
+ canChangeMembersPermissions: e.boolean().optional(),
45731
+ canChangeThreadInfo: e.boolean().optional(),
45732
+ canRemoveMembers: e.boolean().optional(),
45733
+ canSendMessages: e.boolean().optional(),
45734
+ createdAt: e.string().optional(),
45735
+ id: e.string().optional(),
45736
+ memberId: e.string().optional(),
45737
+ updatedAt: e.string().optional()
45738
+ }).optional(),
45739
+ role: e.enum([
45740
+ "ROLE_UNSPECIFIED",
45741
+ "ROLE_MEMBER",
45742
+ "ROLE_ADMIN",
45743
+ "ROLE_OWNER",
45744
+ "ROLE_SUPERVISOR"
45745
+ ]).default(
45746
+ Mr
45747
+ )
45748
+ }).describe(
45749
+ `ThreadMember represents a thread participant
45750
+ with optional type-specific settings.`
45751
+ )
45752
+ ).optional().describe("Detailed member information."),
45753
+ settings: e.object({
45754
+ createdAt: e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
45755
+ domainId: e.number().optional().describe("Domain identifier."),
45756
+ id: e.string().optional().describe("Settings identifier."),
45757
+ title: e.string().optional().describe(
45758
+ `Custom title for the direct thread.
45759
+ Usually represents the display name of the conversation.`
45760
+ ),
45761
+ updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds).")
45762
+ }).optional().describe("User-specific settings for this thread."),
45763
+ subject: e.string().optional().describe("Thread subject or title."),
45764
+ type: e.enum([
45765
+ "UNKNOWN",
45766
+ "DIRECT",
45767
+ "GROUP",
45768
+ "CHANNEL"
45769
+ ]).default(zr).describe("Type of the thread."),
45770
+ updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
45771
+ variables: e.object({
45772
+ threadId: e.string().optional().describe("Unique identifier for the thread."),
45773
+ variables: e.record(
45774
+ e.string(),
45775
+ e.object({
45776
+ setAt: e.string().optional().describe(
45777
+ "Timestamp when the variable was set (Unix time, milliseconds)."
45778
+ ),
45779
+ setBy: e.object({
45780
+ appId: e.string().optional().describe(
45781
+ "Identifier of the specific integration app or bot."
45782
+ ),
45783
+ createdAt: e.string().optional().describe(
45784
+ "Record creation timestamp (Unix Epoch in milliseconds)."
45785
+ ),
45786
+ isBot: e.boolean().optional().describe(
45787
+ "Represents if usere is real person or automatic script."
45788
+ ),
45789
+ iss: e.string().optional().describe(
45790
+ "Provider-specific unique identifier (Issuer ID)."
45791
+ ),
45792
+ metadata: e.record(e.string(), e.string()).optional().describe(
45793
+ "Additional dynamic attributes provided by the messenger."
45794
+ ),
45795
+ name: e.string().optional().describe("Display name of the contact."),
45796
+ sub: e.string().optional().describe(
45797
+ "Associated internal system subject/identifier."
45798
+ ),
45799
+ type: e.string().optional().describe(
45800
+ "Channel type (e.g., 'webchat', 'telegram')."
45801
+ ),
45802
+ updatedAt: e.string().optional().describe(
45803
+ "Last record update timestamp (Unix Epoch in milliseconds)."
45804
+ ),
45805
+ username: e.string().optional().describe("Technical username or handle."),
45806
+ vias: e.array(
45807
+ e.object({
45808
+ contactId: e.string().optional(),
45809
+ createdAt: e.string().optional(),
45810
+ disable: e.boolean().optional(),
45811
+ disableReason: e.string().optional(),
45812
+ metadata: e.looseObject({}).optional(),
45813
+ updatedAt: e.string().optional(),
45814
+ via: e.string().optional()
45815
+ })
45816
+ ).optional()
45817
+ }).optional().describe("Contact who set the variable."),
45818
+ value: e.looseObject({}).optional().describe(
45819
+ `Arbitrary structured value of the variable.
45820
+ Supports dynamic JSON-like content.`
45821
+ )
45822
+ }).describe(
45823
+ `VariableEntry represents a single variable value
45824
+ along with metadata about who and when it was set.`
45825
+ )
45826
+ ).optional().describe(
45827
+ `Key-value map of variables.
45828
+ Key is the variable name, value contains data and metadata.`
45829
+ )
45830
+ }).optional().describe("Optional variables associated with the thread.")
45831
+ }).describe(
45832
+ "Thread represents a thread (aka chat or conversation) entity."
45833
+ )
45834
+ ).optional().describe(
45835
+ "Threads in which the caller was previously a member, but has left."
45836
+ ),
45837
+ next: e.boolean().optional().describe("Indicates whether there is a next page available.")
45838
+ });
45348
45839
  e.object({
45349
45840
  id: e.string().describe("Unique thread identifier.")
45350
45841
  });
45351
45842
  e.object({
45352
45843
  fields: e.array(e.string()).optional().describe("List of fields to include in the response.")
45353
45844
  });
45354
- const Lr = "ROLE_UNSPECIFIED", Mr = "ROLE_UNSPECIFIED", zr = "UNKNOWN";
45845
+ const Vr = "ROLE_UNSPECIFIED", Yr = "ROLE_UNSPECIFIED", Gr = "UNKNOWN";
45355
45846
  e.object({
45356
45847
  createdAt: e.string().optional().describe("Thread creation timestamp (Unix time, milliseconds)."),
45357
45848
  description: e.string().optional().describe("Optional thread description."),
@@ -45605,7 +46096,7 @@ Can contain structured data depending on message type.`
45605
46096
  "ROLE_ADMIN",
45606
46097
  "ROLE_OWNER",
45607
46098
  "ROLE_SUPERVISOR"
45608
- ]).default(Lr)
46099
+ ]).default(Vr)
45609
46100
  }).optional().describe("Sender user aggregated information."),
45610
46101
  threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
45611
46102
  type: e.number().optional().describe("Message type identifier.")
@@ -45663,7 +46154,7 @@ Can contain structured data depending on message type.`
45663
46154
  "ROLE_ADMIN",
45664
46155
  "ROLE_OWNER",
45665
46156
  "ROLE_SUPERVISOR"
45666
- ]).default(Mr)
46157
+ ]).default(Yr)
45667
46158
  }).describe(
45668
46159
  `ThreadMember represents a thread participant
45669
46160
  with optional type-specific settings.`
@@ -45685,7 +46176,7 @@ Usually represents the display name of the conversation.`
45685
46176
  "DIRECT",
45686
46177
  "GROUP",
45687
46178
  "CHANNEL"
45688
- ]).default(zr).describe("Type of the thread."),
46179
+ ]).default(Gr).describe("Type of the thread."),
45689
46180
  updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
45690
46181
  variables: e.object({
45691
46182
  threadId: e.string().optional().describe("Unique identifier for the thread."),
@@ -45749,11 +46240,12 @@ Key is the variable name, value contains data and metadata.`
45749
46240
  e.object({
45750
46241
  thread_id: e.string()
45751
46242
  });
45752
- const Vr = "ROLE_UNSPECIFIED";
46243
+ const Hr = "ROLE_UNSPECIFIED";
45753
46244
  e.object({
45754
46245
  contact: e.object({
45755
46246
  iss: e.string().optional(),
45756
- sub: e.string().optional()
46247
+ sub: e.string().optional(),
46248
+ via: e.string().optional()
45757
46249
  }).optional(),
45758
46250
  role: e.enum([
45759
46251
  "ROLE_UNSPECIFIED",
@@ -45761,9 +46253,9 @@ e.object({
45761
46253
  "ROLE_ADMIN",
45762
46254
  "ROLE_OWNER",
45763
46255
  "ROLE_SUPERVISOR"
45764
- ]).default(Vr)
46256
+ ]).default(Hr)
45765
46257
  });
45766
- const Yr = "ROLE_UNSPECIFIED";
46258
+ const Kr = "ROLE_UNSPECIFIED";
45767
46259
  e.object({
45768
46260
  member: e.object({
45769
46261
  contact: e.object({
@@ -45815,7 +46307,7 @@ e.object({
45815
46307
  "ROLE_ADMIN",
45816
46308
  "ROLE_OWNER",
45817
46309
  "ROLE_SUPERVISOR"
45818
- ]).default(Yr)
46310
+ ]).default(Kr)
45819
46311
  }).optional().describe(
45820
46312
  `ThreadMember represents a thread participant
45821
46313
  with optional type-specific settings.`
@@ -45829,11 +46321,12 @@ e.looseObject({});
45829
46321
  e.object({
45830
46322
  thread_id: e.string()
45831
46323
  });
45832
- const Gr = "ROLE_UNSPECIFIED";
46324
+ const Wr = "ROLE_UNSPECIFIED";
45833
46325
  e.object({
45834
46326
  contact: e.object({
45835
46327
  iss: e.string().optional(),
45836
- sub: e.string().optional()
46328
+ sub: e.string().optional(),
46329
+ via: e.string().optional()
45837
46330
  }).optional(),
45838
46331
  role: e.enum([
45839
46332
  "ROLE_UNSPECIFIED",
@@ -45841,9 +46334,9 @@ e.object({
45841
46334
  "ROLE_ADMIN",
45842
46335
  "ROLE_OWNER",
45843
46336
  "ROLE_SUPERVISOR"
45844
- ]).default(Gr)
46337
+ ]).default(Wr)
45845
46338
  });
45846
- const Hr = "ROLE_UNSPECIFIED";
46339
+ const Qr = "ROLE_UNSPECIFIED";
45847
46340
  e.object({
45848
46341
  member: e.object({
45849
46342
  contact: e.object({
@@ -45895,7 +46388,7 @@ e.object({
45895
46388
  "ROLE_ADMIN",
45896
46389
  "ROLE_OWNER",
45897
46390
  "ROLE_SUPERVISOR"
45898
- ]).default(Hr)
46391
+ ]).default(Qr)
45899
46392
  }).optional().describe(
45900
46393
  `ThreadMember represents a thread participant
45901
46394
  with optional type-specific settings.`
@@ -46211,18 +46704,71 @@ e.object({
46211
46704
  updatedAt: e.string().optional()
46212
46705
  }).optional()
46213
46706
  });
46707
+ e.object({
46708
+ id: e.string()
46709
+ });
46710
+ const Xr = "PROVIDER_STATUS_UNSPECIFIED";
46711
+ e.object({
46712
+ item: e.object({
46713
+ createdAt: e.string().optional(),
46714
+ enabled: e.boolean().optional(),
46715
+ id: e.string().optional(),
46716
+ metaAppId: e.string().optional(),
46717
+ name: e.string().optional(),
46718
+ pageId: e.string().optional(),
46719
+ pageName: e.string().optional(),
46720
+ status: e.enum([
46721
+ "PROVIDER_STATUS_UNSPECIFIED",
46722
+ "PROVIDER_STATUS_ACTIVE",
46723
+ "PROVIDER_STATUS_INACTIVE",
46724
+ "PROVIDER_STATUS_ERROR"
46725
+ ]).default(
46726
+ Xr
46727
+ ).describe(
46728
+ "/ ProviderStatus represents the operational state of a provider gateway."
46729
+ ),
46730
+ updatedAt: e.string().optional()
46731
+ }).optional()
46732
+ });
46733
+ e.object({
46734
+ id: e.string()
46735
+ });
46736
+ const Jr = "PROVIDER_STATUS_UNSPECIFIED";
46737
+ e.object({
46738
+ item: e.object({
46739
+ createdAt: e.string().optional(),
46740
+ enabled: e.boolean().optional(),
46741
+ id: e.string().optional(),
46742
+ metaAppId: e.string().optional(),
46743
+ name: e.string().optional(),
46744
+ pageId: e.string().optional(),
46745
+ pageName: e.string().optional(),
46746
+ status: e.enum([
46747
+ "PROVIDER_STATUS_UNSPECIFIED",
46748
+ "PROVIDER_STATUS_ACTIVE",
46749
+ "PROVIDER_STATUS_INACTIVE",
46750
+ "PROVIDER_STATUS_ERROR"
46751
+ ]).default(
46752
+ Jr
46753
+ ).describe(
46754
+ "/ ProviderStatus represents the operational state of a provider gateway."
46755
+ ),
46756
+ updatedAt: e.string().optional()
46757
+ }).optional()
46758
+ });
46759
+ e.object({
46760
+ id: e.string()
46761
+ });
46214
46762
  e.object({
46215
46763
  enabled: e.boolean().optional(),
46216
- metaAppId: e.string().optional(),
46217
46764
  name: e.string().optional(),
46218
- pageId: e.string().optional(),
46219
46765
  pageToken: e.string().optional(),
46220
46766
  peer: e.object({
46221
46767
  iss: e.string().optional(),
46222
46768
  sub: e.string().optional()
46223
46769
  }).optional()
46224
46770
  });
46225
- const Kr = "PROVIDER_STATUS_UNSPECIFIED";
46771
+ const $r = "PROVIDER_STATUS_UNSPECIFIED";
46226
46772
  e.object({
46227
46773
  item: e.object({
46228
46774
  createdAt: e.string().optional(),
@@ -46237,7 +46783,9 @@ e.object({
46237
46783
  "PROVIDER_STATUS_ACTIVE",
46238
46784
  "PROVIDER_STATUS_INACTIVE",
46239
46785
  "PROVIDER_STATUS_ERROR"
46240
- ]).default(Kr).describe(
46786
+ ]).default(
46787
+ $r
46788
+ ).describe(
46241
46789
  "/ ProviderStatus represents the operational state of a provider gateway."
46242
46790
  ),
46243
46791
  updatedAt: e.string().optional()
@@ -46246,7 +46794,179 @@ e.object({
46246
46794
  e.object({
46247
46795
  id: e.string()
46248
46796
  });
46249
- const Qr = "PROVIDER_STATUS_UNSPECIFIED";
46797
+ e.object({
46798
+ item: e.object({
46799
+ appId: e.string().optional(),
46800
+ createdAt: e.string().optional(),
46801
+ id: e.string().optional(),
46802
+ name: e.string().optional(),
46803
+ oauthRedirectUri: e.string().optional(),
46804
+ scopes: e.array(e.string()).optional(),
46805
+ updatedAt: e.string().optional(),
46806
+ verifyToken: e.string().optional()
46807
+ }).optional()
46808
+ });
46809
+ e.object({
46810
+ id: e.string()
46811
+ });
46812
+ e.object({
46813
+ item: e.object({
46814
+ appId: e.string().optional(),
46815
+ createdAt: e.string().optional(),
46816
+ id: e.string().optional(),
46817
+ name: e.string().optional(),
46818
+ oauthRedirectUri: e.string().optional(),
46819
+ scopes: e.array(e.string()).optional(),
46820
+ updatedAt: e.string().optional(),
46821
+ verifyToken: e.string().optional()
46822
+ }).optional()
46823
+ });
46824
+ e.object({
46825
+ id: e.string()
46826
+ });
46827
+ e.object({
46828
+ appSecret: e.string().optional(),
46829
+ name: e.string().optional(),
46830
+ oauthRedirectUri: e.string().optional(),
46831
+ scopes: e.array(e.string()).optional(),
46832
+ verifyToken: e.string().optional()
46833
+ });
46834
+ e.object({
46835
+ item: e.object({
46836
+ appId: e.string().optional(),
46837
+ createdAt: e.string().optional(),
46838
+ id: e.string().optional(),
46839
+ name: e.string().optional(),
46840
+ oauthRedirectUri: e.string().optional(),
46841
+ scopes: e.array(e.string()).optional(),
46842
+ updatedAt: e.string().optional(),
46843
+ verifyToken: e.string().optional()
46844
+ }).optional()
46845
+ });
46846
+ e.object({
46847
+ meta_app_id: e.string()
46848
+ });
46849
+ e.object({
46850
+ code: e.string().optional(),
46851
+ state: e.string().optional()
46852
+ });
46853
+ e.object({
46854
+ pages: e.array(
46855
+ e.object({
46856
+ accessToken: e.string().optional(),
46857
+ pageId: e.string().optional(),
46858
+ pageName: e.string().optional(),
46859
+ platform: e.string().optional()
46860
+ })
46861
+ ).optional(),
46862
+ userAccessToken: e.string().optional()
46863
+ });
46864
+ e.object({
46865
+ meta_app_id: e.string()
46866
+ });
46867
+ e.object({
46868
+ extraScopes: e.array(e.string()).optional()
46869
+ });
46870
+ e.object({
46871
+ authUrl: e.string().optional(),
46872
+ state: e.string().optional()
46873
+ });
46874
+ e.object({
46875
+ id: e.string()
46876
+ });
46877
+ const Zr = "PROVIDER_STATUS_UNSPECIFIED";
46878
+ e.object({
46879
+ item: e.object({
46880
+ createdAt: e.string().optional(),
46881
+ id: e.string().optional(),
46882
+ metaAppId: e.string().optional(),
46883
+ name: e.string().optional(),
46884
+ phoneDisplay: e.string().optional(),
46885
+ phoneNumberId: e.string().optional(),
46886
+ status: e.enum([
46887
+ "PROVIDER_STATUS_UNSPECIFIED",
46888
+ "PROVIDER_STATUS_ACTIVE",
46889
+ "PROVIDER_STATUS_INACTIVE",
46890
+ "PROVIDER_STATUS_ERROR"
46891
+ ]).default(
46892
+ Zr
46893
+ ).describe(
46894
+ "/ ProviderStatus represents the operational state of a provider gateway."
46895
+ ),
46896
+ updatedAt: e.string().optional(),
46897
+ wabaId: e.string().optional()
46898
+ }).optional()
46899
+ });
46900
+ e.object({
46901
+ id: e.string()
46902
+ });
46903
+ const es = "PROVIDER_STATUS_UNSPECIFIED";
46904
+ e.object({
46905
+ item: e.object({
46906
+ createdAt: e.string().optional(),
46907
+ id: e.string().optional(),
46908
+ metaAppId: e.string().optional(),
46909
+ name: e.string().optional(),
46910
+ phoneDisplay: e.string().optional(),
46911
+ phoneNumberId: e.string().optional(),
46912
+ status: e.enum([
46913
+ "PROVIDER_STATUS_UNSPECIFIED",
46914
+ "PROVIDER_STATUS_ACTIVE",
46915
+ "PROVIDER_STATUS_INACTIVE",
46916
+ "PROVIDER_STATUS_ERROR"
46917
+ ]).default(
46918
+ es
46919
+ ).describe(
46920
+ "/ ProviderStatus represents the operational state of a provider gateway."
46921
+ ),
46922
+ updatedAt: e.string().optional(),
46923
+ wabaId: e.string().optional()
46924
+ }).optional()
46925
+ });
46926
+ e.object({
46927
+ id: e.string()
46928
+ });
46929
+ e.object({
46930
+ accessToken: e.string().optional(),
46931
+ name: e.string().optional()
46932
+ });
46933
+ const ts = "PROVIDER_STATUS_UNSPECIFIED";
46934
+ e.object({
46935
+ item: e.object({
46936
+ createdAt: e.string().optional(),
46937
+ id: e.string().optional(),
46938
+ metaAppId: e.string().optional(),
46939
+ name: e.string().optional(),
46940
+ phoneDisplay: e.string().optional(),
46941
+ phoneNumberId: e.string().optional(),
46942
+ status: e.enum([
46943
+ "PROVIDER_STATUS_UNSPECIFIED",
46944
+ "PROVIDER_STATUS_ACTIVE",
46945
+ "PROVIDER_STATUS_INACTIVE",
46946
+ "PROVIDER_STATUS_ERROR"
46947
+ ]).default(
46948
+ ts
46949
+ ).describe(
46950
+ "/ ProviderStatus represents the operational state of a provider gateway."
46951
+ ),
46952
+ updatedAt: e.string().optional(),
46953
+ wabaId: e.string().optional()
46954
+ }).optional()
46955
+ });
46956
+ e.object({
46957
+ enabled: e.boolean().optional(),
46958
+ metaAppId: e.string().optional(),
46959
+ name: e.string().optional(),
46960
+ pageId: e.string().optional(),
46961
+ pageToken: e.string().optional(),
46962
+ peer: e.object({
46963
+ iss: e.string().optional(),
46964
+ sub: e.string().optional()
46965
+ }).optional()
46966
+ }).describe(
46967
+ "/ ProviderCreateFacebookGateRequest links a specific Facebook Page as a messaging gateway."
46968
+ );
46969
+ const os = "PROVIDER_STATUS_UNSPECIFIED";
46250
46970
  e.object({
46251
46971
  item: e.object({
46252
46972
  createdAt: e.string().optional(),
@@ -46261,16 +46981,50 @@ e.object({
46261
46981
  "PROVIDER_STATUS_ACTIVE",
46262
46982
  "PROVIDER_STATUS_INACTIVE",
46263
46983
  "PROVIDER_STATUS_ERROR"
46264
- ]).default(Qr).describe(
46265
- "/ ProviderStatus represents the operational state of a provider gateway."
46984
+ ]).default(os).describe(
46985
+ `/ ProviderStatus represents the operational state of a provider gateway.
46986
+
46987
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
46988
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
46989
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
46266
46990
  ),
46267
46991
  updatedAt: e.string().optional()
46268
46992
  }).optional()
46993
+ }).describe(
46994
+ "/ ProviderCreateFacebookGateResponse returns the newly activated Facebook provider."
46995
+ );
46996
+ e.object({
46997
+ id_1: e.string()
46269
46998
  });
46999
+ const is = "PROVIDER_STATUS_UNSPECIFIED";
46270
47000
  e.object({
46271
- id: e.string()
47001
+ item: e.object({
47002
+ createdAt: e.string().optional(),
47003
+ enabled: e.boolean().optional(),
47004
+ id: e.string().optional(),
47005
+ metaAppId: e.string().optional(),
47006
+ name: e.string().optional(),
47007
+ pageId: e.string().optional(),
47008
+ pageName: e.string().optional(),
47009
+ status: e.enum([
47010
+ "PROVIDER_STATUS_UNSPECIFIED",
47011
+ "PROVIDER_STATUS_ACTIVE",
47012
+ "PROVIDER_STATUS_INACTIVE",
47013
+ "PROVIDER_STATUS_ERROR"
47014
+ ]).default(is).describe(
47015
+ `/ ProviderStatus represents the operational state of a provider gateway.
47016
+
47017
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
47018
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
47019
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
47020
+ ),
47021
+ updatedAt: e.string().optional()
47022
+ }).optional()
47023
+ });
47024
+ e.object({
47025
+ id_1: e.string()
46272
47026
  });
46273
- const Wr = "PROVIDER_STATUS_UNSPECIFIED";
47027
+ const ns = "PROVIDER_STATUS_UNSPECIFIED";
46274
47028
  e.object({
46275
47029
  item: e.object({
46276
47030
  createdAt: e.string().optional(),
@@ -46285,14 +47039,18 @@ e.object({
46285
47039
  "PROVIDER_STATUS_ACTIVE",
46286
47040
  "PROVIDER_STATUS_INACTIVE",
46287
47041
  "PROVIDER_STATUS_ERROR"
46288
- ]).default(Wr).describe(
46289
- "/ ProviderStatus represents the operational state of a provider gateway."
47042
+ ]).default(ns).describe(
47043
+ `/ ProviderStatus represents the operational state of a provider gateway.
47044
+
47045
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
47046
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
47047
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
46290
47048
  ),
46291
47049
  updatedAt: e.string().optional()
46292
47050
  }).optional()
46293
47051
  });
46294
47052
  e.object({
46295
- id: e.string()
47053
+ id_1: e.string()
46296
47054
  });
46297
47055
  e.object({
46298
47056
  enabled: e.boolean().optional(),
@@ -46302,8 +47060,10 @@ e.object({
46302
47060
  iss: e.string().optional(),
46303
47061
  sub: e.string().optional()
46304
47062
  }).optional()
46305
- });
46306
- const Xr = "PROVIDER_STATUS_UNSPECIFIED";
47063
+ }).describe(
47064
+ "/ ProviderUpdateFacebookGateRequest updates the operational settings of a Facebook provider."
47065
+ );
47066
+ const as = "PROVIDER_STATUS_UNSPECIFIED";
46307
47067
  e.object({
46308
47068
  item: e.object({
46309
47069
  createdAt: e.string().optional(),
@@ -46318,16 +47078,22 @@ e.object({
46318
47078
  "PROVIDER_STATUS_ACTIVE",
46319
47079
  "PROVIDER_STATUS_INACTIVE",
46320
47080
  "PROVIDER_STATUS_ERROR"
46321
- ]).default(Xr).describe(
46322
- "/ ProviderStatus represents the operational state of a provider gateway."
47081
+ ]).default(as).describe(
47082
+ `/ ProviderStatus represents the operational state of a provider gateway.
47083
+
47084
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
47085
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
47086
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
46323
47087
  ),
46324
47088
  updatedAt: e.string().optional()
46325
47089
  }).optional()
46326
- });
46327
- const Jr = "PROVIDER_STATUS_UNSPECIFIED";
47090
+ }).describe(
47091
+ "/ ProviderUpdateFacebookGateResponse returns the updated Facebook provider."
47092
+ );
47093
+ const rs = "PROVIDER_STATUS_UNSPECIFIED";
46328
47094
  e.object({
46329
- page: e.number().optional(),
46330
- size: e.number().optional(),
47095
+ page: e.number().optional().describe("Page number (starts from 1)"),
47096
+ size: e.number().optional().describe("Items per page"),
46331
47097
  types: e.array(
46332
47098
  e.enum([
46333
47099
  "PROVIDER_TYPE_UNSPECIFIED",
@@ -46339,16 +47105,22 @@ e.object({
46339
47105
  "PROVIDER_TYPE_INSTAGRAM",
46340
47106
  "PROVIDER_TYPE_WHATSAPP"
46341
47107
  ])
46342
- ).optional(),
47108
+ ).optional().describe("Filter by channel type (Telegram, Facebook, etc.)"),
46343
47109
  status: e.enum([
46344
47110
  "PROVIDER_STATUS_UNSPECIFIED",
46345
47111
  "PROVIDER_STATUS_ACTIVE",
46346
47112
  "PROVIDER_STATUS_INACTIVE",
46347
47113
  "PROVIDER_STATUS_ERROR"
46348
- ]).default(Jr),
46349
- q: e.string().optional()
47114
+ ]).default(rs).describe(
47115
+ `Filter by active/inactive status
47116
+
47117
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
47118
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
47119
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
47120
+ ),
47121
+ q: e.string().optional().describe("Search query for name or metadata")
46350
47122
  });
46351
- const $r = "PROVIDER_STATUS_UNSPECIFIED", Zr = "PROVIDER_TYPE_UNSPECIFIED";
47123
+ const ss = "PROVIDER_STATUS_UNSPECIFIED", ls = "PROVIDER_TYPE_UNSPECIFIED";
46352
47124
  e.object({
46353
47125
  items: e.array(
46354
47126
  e.object({
@@ -46362,8 +47134,12 @@ e.object({
46362
47134
  "PROVIDER_STATUS_ACTIVE",
46363
47135
  "PROVIDER_STATUS_INACTIVE",
46364
47136
  "PROVIDER_STATUS_ERROR"
46365
- ]).default($r).describe(
46366
- "/ ProviderStatus represents the operational state of a provider gateway."
47137
+ ]).default(ss).describe(
47138
+ `/ ProviderStatus represents the operational state of a provider gateway.
47139
+
47140
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
47141
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
47142
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
46367
47143
  ),
46368
47144
  type: e.enum([
46369
47145
  "PROVIDER_TYPE_UNSPECIFIED",
@@ -46374,17 +47150,19 @@ e.object({
46374
47150
  "PROVIDER_TYPE_FACEBOOK",
46375
47151
  "PROVIDER_TYPE_INSTAGRAM",
46376
47152
  "PROVIDER_TYPE_WHATSAPP"
46377
- ]).default(Zr).describe(
47153
+ ]).default(ls).describe(
46378
47154
  "/ ProviderType defines the specific provider or protocol used for messaging."
46379
47155
  ),
46380
47156
  updatedAt: e.string().optional(),
46381
47157
  webhookUrl: e.string().optional()
46382
47158
  })
46383
47159
  ).optional(),
46384
- next: e.boolean().optional(),
46385
- page: e.number().optional(),
46386
- size: e.number().optional()
46387
- });
47160
+ next: e.boolean().optional().describe("Indicates if there are more pages available."),
47161
+ page: e.number().optional().describe("Current page number."),
47162
+ size: e.number().optional().describe("Number of items returned in this batch.")
47163
+ }).describe(
47164
+ "/ ProviderListGatesResponse returns a paginated list of provider summaries."
47165
+ );
46388
47166
  e.object({
46389
47167
  appId: e.string().optional(),
46390
47168
  appSecret: e.string().optional(),
@@ -46393,7 +47171,10 @@ e.object({
46393
47171
  scopes: e.array(e.string()).optional(),
46394
47172
  uri: e.string().optional(),
46395
47173
  verifyToken: e.string().optional()
46396
- });
47174
+ }).describe(
47175
+ `/ ProviderCreateMetaAppRequest is used to register a new Meta Developer Application.
47176
+ / This configuration is the foundation for all subsequent OAuth-based integrations.`
47177
+ );
46397
47178
  e.object({
46398
47179
  item: e.object({
46399
47180
  appId: e.string().optional(),
@@ -46405,9 +47186,11 @@ e.object({
46405
47186
  updatedAt: e.string().optional(),
46406
47187
  verifyToken: e.string().optional()
46407
47188
  }).optional()
46408
- });
47189
+ }).describe(
47190
+ "/ ProviderCreateMetaAppResponse returns the successfully registered Meta application."
47191
+ );
46409
47192
  e.object({
46410
- id: e.string()
47193
+ id_1: e.string()
46411
47194
  });
46412
47195
  e.object({
46413
47196
  item: e.object({
@@ -46420,9 +47203,11 @@ e.object({
46420
47203
  updatedAt: e.string().optional(),
46421
47204
  verifyToken: e.string().optional()
46422
47205
  }).optional()
46423
- });
47206
+ }).describe(
47207
+ "/ ProviderDeleteMetaAppResponse returns the details of the deleted application."
47208
+ );
46424
47209
  e.object({
46425
- id: e.string()
47210
+ id_1: e.string()
46426
47211
  });
46427
47212
  e.object({
46428
47213
  item: e.object({
@@ -46435,9 +47220,11 @@ e.object({
46435
47220
  updatedAt: e.string().optional(),
46436
47221
  verifyToken: e.string().optional()
46437
47222
  }).optional()
46438
- });
47223
+ }).describe(
47224
+ "/ ProviderGetMetaAppResponse returns the requested Meta application details."
47225
+ );
46439
47226
  e.object({
46440
- id: e.string()
47227
+ id_1: e.string().describe("The internal ID of the MetaApp record")
46441
47228
  });
46442
47229
  e.object({
46443
47230
  appSecret: e.string().optional(),
@@ -46445,7 +47232,9 @@ e.object({
46445
47232
  oauthRedirectUri: e.string().optional(),
46446
47233
  scopes: e.array(e.string()).optional(),
46447
47234
  verifyToken: e.string().optional()
46448
- });
47235
+ }).describe(
47236
+ "/ ProviderUpdateMetaAppRequest updates the settings for an existing Meta application."
47237
+ );
46449
47238
  e.object({
46450
47239
  item: e.object({
46451
47240
  appId: e.string().optional(),
@@ -46457,14 +47246,18 @@ e.object({
46457
47246
  updatedAt: e.string().optional(),
46458
47247
  verifyToken: e.string().optional()
46459
47248
  }).optional()
46460
- });
47249
+ }).describe(
47250
+ "/ ProviderUpdateMetaAppResponse returns the Meta application after modifications."
47251
+ );
46461
47252
  e.object({
46462
- meta_app_id: e.string()
47253
+ meta_app_id_1: e.string()
46463
47254
  });
46464
47255
  e.object({
46465
47256
  code: e.string().optional(),
46466
47257
  state: e.string().optional()
46467
- });
47258
+ }).describe(
47259
+ "/ ProviderMetaOAuthCallbackRequest handles the verification and exchange of the auth code."
47260
+ );
46468
47261
  e.object({
46469
47262
  pages: e.array(
46470
47263
  e.object({
@@ -46472,30 +47265,40 @@ e.object({
46472
47265
  pageId: e.string().optional(),
46473
47266
  pageName: e.string().optional(),
46474
47267
  platform: e.string().optional()
46475
- })
47268
+ }).describe(
47269
+ "/ ProviderMetaLinkedPage represents a single Meta asset (Page/Account) found during OAuth."
47270
+ )
46476
47271
  ).optional(),
46477
47272
  userAccessToken: e.string().optional()
46478
- });
47273
+ }).describe(
47274
+ "/ ProviderMetaOAuthCallbackResponse provides the user token and discovered assets."
47275
+ );
46479
47276
  e.object({
46480
- meta_app_id: e.string()
47277
+ meta_app_id_1: e.string().describe("Internal ID of the MetaApp to use for this flow")
46481
47278
  });
46482
47279
  e.object({
46483
47280
  extraScopes: e.array(e.string()).optional()
46484
- });
47281
+ }).describe(
47282
+ "/ ProviderMetaOAuthStartRequest initiates the handshake with Meta."
47283
+ );
46485
47284
  e.object({
46486
47285
  authUrl: e.string().optional(),
46487
47286
  state: e.string().optional()
46488
- });
46489
- const es = "PROVIDER_TYPE_UNSPECIFIED";
47287
+ }).describe(
47288
+ "/ ProviderMetaOAuthStartResponse provides the entry point for the user authorization."
47289
+ );
47290
+ const ps = "PROVIDER_TYPE_UNSPECIFIED";
46490
47291
  e.object({
46491
47292
  caption: e.string().optional(),
46492
- document: e.object({
46493
- id: e.string().optional(),
46494
- mimeType: e.string().optional(),
46495
- name: e.string().optional(),
46496
- size: e.string().optional(),
46497
- url: e.string().optional()
46498
- }).optional(),
47293
+ documents: e.array(
47294
+ e.object({
47295
+ id: e.string().optional(),
47296
+ mimeType: e.string().optional(),
47297
+ name: e.string().optional(),
47298
+ size: e.string().optional(),
47299
+ url: e.string().optional()
47300
+ }).describe("ProviderFile represents a generic file attachment.")
47301
+ ).optional(),
46499
47302
  externalUserId: e.string().optional(),
46500
47303
  gateId: e.string().optional(),
46501
47304
  type: e.enum([
@@ -46507,26 +47310,32 @@ e.object({
46507
47310
  "PROVIDER_TYPE_FACEBOOK",
46508
47311
  "PROVIDER_TYPE_INSTAGRAM",
46509
47312
  "PROVIDER_TYPE_WHATSAPP"
46510
- ]).default(es).describe(
47313
+ ]).default(ps).describe(
46511
47314
  "/ ProviderType defines the specific provider or protocol used for messaging."
46512
47315
  )
46513
- });
47316
+ }).describe(
47317
+ "ProviderSendDocumentRequest sends a document with an optional caption."
47318
+ );
46514
47319
  e.object({
46515
47320
  createdAt: e.string().optional(),
46516
47321
  externalId: e.string().optional()
46517
- });
46518
- const ts = "PROVIDER_TYPE_UNSPECIFIED";
47322
+ }).describe(
47323
+ "ProviderSendMessageResponse returns the delivery status and external message ID."
47324
+ );
47325
+ const cs = "PROVIDER_TYPE_UNSPECIFIED";
46519
47326
  e.object({
46520
47327
  caption: e.string().optional(),
46521
47328
  externalUserId: e.string().optional(),
46522
47329
  gateId: e.string().optional(),
46523
- image: e.object({
46524
- id: e.string().optional(),
46525
- mimeType: e.string().optional(),
46526
- name: e.string().optional(),
46527
- size: e.string().optional(),
46528
- url: e.string().optional()
46529
- }).optional(),
47330
+ images: e.array(
47331
+ e.object({
47332
+ id: e.string().optional(),
47333
+ mimeType: e.string().optional(),
47334
+ name: e.string().optional(),
47335
+ size: e.string().optional(),
47336
+ url: e.string().optional()
47337
+ }).describe("ProviderFile represents a generic file attachment.")
47338
+ ).optional(),
46530
47339
  type: e.enum([
46531
47340
  "PROVIDER_TYPE_UNSPECIFIED",
46532
47341
  "PROVIDER_TYPE_VIBER",
@@ -46536,15 +47345,19 @@ e.object({
46536
47345
  "PROVIDER_TYPE_FACEBOOK",
46537
47346
  "PROVIDER_TYPE_INSTAGRAM",
46538
47347
  "PROVIDER_TYPE_WHATSAPP"
46539
- ]).default(ts).describe(
47348
+ ]).default(cs).describe(
46540
47349
  "/ ProviderType defines the specific provider or protocol used for messaging."
46541
47350
  )
46542
- });
47351
+ }).describe(
47352
+ "ProviderSendImageRequest sends an image with an optional caption."
47353
+ );
46543
47354
  e.object({
46544
47355
  createdAt: e.string().optional(),
46545
47356
  externalId: e.string().optional()
46546
- });
46547
- const os = "PROVIDER_TYPE_UNSPECIFIED";
47357
+ }).describe(
47358
+ "ProviderSendMessageResponse returns the delivery status and external message ID."
47359
+ );
47360
+ const ds = "PROVIDER_TYPE_UNSPECIFIED";
46548
47361
  e.object({
46549
47362
  externalUserId: e.string().optional(),
46550
47363
  gateId: e.string().optional(),
@@ -46559,22 +47372,26 @@ e.object({
46559
47372
  "PROVIDER_TYPE_FACEBOOK",
46560
47373
  "PROVIDER_TYPE_INSTAGRAM",
46561
47374
  "PROVIDER_TYPE_WHATSAPP"
46562
- ]).default(os).describe(
47375
+ ]).default(ds).describe(
46563
47376
  "/ ProviderType defines the specific provider or protocol used for messaging."
46564
47377
  )
46565
- });
47378
+ }).describe("ProviderSendTextRequest sends a simple text message.");
46566
47379
  e.object({
46567
47380
  createdAt: e.string().optional(),
46568
47381
  externalId: e.string().optional()
46569
- });
47382
+ }).describe(
47383
+ "ProviderSendMessageResponse returns the delivery status and external message ID."
47384
+ );
46570
47385
  e.object({
46571
47386
  accessToken: e.string().optional(),
46572
47387
  metaAppId: e.string().optional(),
46573
47388
  name: e.string().optional(),
46574
47389
  phoneNumberId: e.string().optional(),
46575
47390
  wabaId: e.string().optional()
46576
- });
46577
- const is = "PROVIDER_STATUS_UNSPECIFIED";
47391
+ }).describe(
47392
+ "/ ProviderCreateWhatsAppGateRequest connects a WhatsApp Business Account (WABA)."
47393
+ );
47394
+ const bs = "PROVIDER_STATUS_UNSPECIFIED";
46578
47395
  e.object({
46579
47396
  item: e.object({
46580
47397
  createdAt: e.string().optional(),
@@ -46588,17 +47405,23 @@ e.object({
46588
47405
  "PROVIDER_STATUS_ACTIVE",
46589
47406
  "PROVIDER_STATUS_INACTIVE",
46590
47407
  "PROVIDER_STATUS_ERROR"
46591
- ]).default(is).describe(
46592
- "/ ProviderStatus represents the operational state of a provider gateway."
47408
+ ]).default(bs).describe(
47409
+ `/ ProviderStatus represents the operational state of a provider gateway.
47410
+
47411
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
47412
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
47413
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
46593
47414
  ),
46594
47415
  updatedAt: e.string().optional(),
46595
47416
  wabaId: e.string().optional()
46596
47417
  }).optional()
46597
- });
47418
+ }).describe(
47419
+ "/ ProviderCreateWhatsAppGateResponse returns the registered WhatsApp provider."
47420
+ );
46598
47421
  e.object({
46599
- id: e.string()
47422
+ id_1: e.string()
46600
47423
  });
46601
- const ns = "PROVIDER_STATUS_UNSPECIFIED";
47424
+ const gs = "PROVIDER_STATUS_UNSPECIFIED";
46602
47425
  e.object({
46603
47426
  item: e.object({
46604
47427
  createdAt: e.string().optional(),
@@ -46612,17 +47435,21 @@ e.object({
46612
47435
  "PROVIDER_STATUS_ACTIVE",
46613
47436
  "PROVIDER_STATUS_INACTIVE",
46614
47437
  "PROVIDER_STATUS_ERROR"
46615
- ]).default(ns).describe(
46616
- "/ ProviderStatus represents the operational state of a provider gateway."
47438
+ ]).default(gs).describe(
47439
+ `/ ProviderStatus represents the operational state of a provider gateway.
47440
+
47441
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
47442
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
47443
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
46617
47444
  ),
46618
47445
  updatedAt: e.string().optional(),
46619
47446
  wabaId: e.string().optional()
46620
47447
  }).optional()
46621
47448
  });
46622
47449
  e.object({
46623
- id: e.string()
47450
+ id_1: e.string()
46624
47451
  });
46625
- const as = "PROVIDER_STATUS_UNSPECIFIED";
47452
+ const us = "PROVIDER_STATUS_UNSPECIFIED";
46626
47453
  e.object({
46627
47454
  item: e.object({
46628
47455
  createdAt: e.string().optional(),
@@ -46636,21 +47463,27 @@ e.object({
46636
47463
  "PROVIDER_STATUS_ACTIVE",
46637
47464
  "PROVIDER_STATUS_INACTIVE",
46638
47465
  "PROVIDER_STATUS_ERROR"
46639
- ]).default(as).describe(
46640
- "/ ProviderStatus represents the operational state of a provider gateway."
47466
+ ]).default(us).describe(
47467
+ `/ ProviderStatus represents the operational state of a provider gateway.
47468
+
47469
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
47470
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
47471
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
46641
47472
  ),
46642
47473
  updatedAt: e.string().optional(),
46643
47474
  wabaId: e.string().optional()
46644
47475
  }).optional()
46645
47476
  });
46646
47477
  e.object({
46647
- id: e.string()
47478
+ id_1: e.string()
46648
47479
  });
46649
47480
  e.object({
46650
47481
  accessToken: e.string().optional(),
46651
47482
  name: e.string().optional()
46652
- });
46653
- const rs = "PROVIDER_STATUS_UNSPECIFIED";
47483
+ }).describe(
47484
+ "/ ProviderUpdateWhatsAppGateRequest updates WhatsApp-specific tokens or names."
47485
+ );
47486
+ const ms = "PROVIDER_STATUS_UNSPECIFIED";
46654
47487
  e.object({
46655
47488
  item: e.object({
46656
47489
  createdAt: e.string().optional(),
@@ -46664,13 +47497,19 @@ e.object({
46664
47497
  "PROVIDER_STATUS_ACTIVE",
46665
47498
  "PROVIDER_STATUS_INACTIVE",
46666
47499
  "PROVIDER_STATUS_ERROR"
46667
- ]).default(rs).describe(
46668
- "/ ProviderStatus represents the operational state of a provider gateway."
47500
+ ]).default(ms).describe(
47501
+ `/ ProviderStatus represents the operational state of a provider gateway.
47502
+
47503
+ - PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
47504
+ - PROVIDER_STATUS_INACTIVE: Manually disabled by user
47505
+ - PROVIDER_STATUS_ERROR: Connection or authentication failed`
46669
47506
  ),
46670
47507
  updatedAt: e.string().optional(),
46671
47508
  wabaId: e.string().optional()
46672
47509
  }).optional()
46673
- });
47510
+ }).describe(
47511
+ "/ ProviderUpdateWhatsAppGateResponse returns the updated WhatsApp provider."
47512
+ );
46674
47513
  e.object({
46675
47514
  page: e.number().optional(),
46676
47515
  size: e.number().optional(),
@@ -46902,7 +47741,7 @@ e.object({
46902
47741
  sort: e.string().optional(),
46903
47742
  fields: e.array(e.string()).optional()
46904
47743
  });
46905
- const ss = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
47744
+ const hs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46906
47745
  e.object({
46907
47746
  items: e.array(
46908
47747
  e.object({
@@ -46942,7 +47781,7 @@ e.object({
46942
47781
  "WORKING_SCHEDULE_STATE_DRAFT",
46943
47782
  "WORKING_SCHEDULE_STATE_ARCHIVED"
46944
47783
  ]).default(
46945
- ss
47784
+ hs
46946
47785
  ),
46947
47786
  team: e.object({
46948
47787
  id: e.string().optional(),
@@ -46958,7 +47797,7 @@ e.object({
46958
47797
  ).optional(),
46959
47798
  next: e.boolean().optional()
46960
47799
  });
46961
- const ls = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
47800
+ const fs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
46962
47801
  e.object({
46963
47802
  item: e.object({
46964
47803
  agents: e.array(
@@ -46997,7 +47836,7 @@ e.object({
46997
47836
  "WORKING_SCHEDULE_STATE_DRAFT",
46998
47837
  "WORKING_SCHEDULE_STATE_ARCHIVED"
46999
47838
  ]).default(
47000
- ls
47839
+ fs
47001
47840
  ),
47002
47841
  team: e.object({
47003
47842
  id: e.string().optional(),
@@ -47011,7 +47850,7 @@ e.object({
47011
47850
  }).optional()
47012
47851
  }).optional()
47013
47852
  });
47014
- const ps = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
47853
+ const ys = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
47015
47854
  e.object({
47016
47855
  item: e.object({
47017
47856
  agents: e.array(
@@ -47050,7 +47889,7 @@ e.object({
47050
47889
  "WORKING_SCHEDULE_STATE_DRAFT",
47051
47890
  "WORKING_SCHEDULE_STATE_ARCHIVED"
47052
47891
  ]).default(
47053
- ps
47892
+ ys
47054
47893
  ),
47055
47894
  team: e.object({
47056
47895
  id: e.string().optional(),
@@ -47076,7 +47915,7 @@ e.object({
47076
47915
  e.object({
47077
47916
  fields: e.array(e.string()).optional()
47078
47917
  });
47079
- const cs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
47918
+ const js = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
47080
47919
  e.object({
47081
47920
  item: e.object({
47082
47921
  agents: e.array(
@@ -47115,7 +47954,7 @@ e.object({
47115
47954
  "WORKING_SCHEDULE_STATE_DRAFT",
47116
47955
  "WORKING_SCHEDULE_STATE_ARCHIVED"
47117
47956
  ]).default(
47118
- cs
47957
+ js
47119
47958
  ),
47120
47959
  team: e.object({
47121
47960
  id: e.string().optional(),
@@ -47178,7 +48017,7 @@ e.object({
47178
48017
  e.object({
47179
48018
  "item.id": e.string()
47180
48019
  });
47181
- const ds = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
48020
+ const Is = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
47182
48021
  e.object({
47183
48022
  item: e.object({
47184
48023
  agents: e.array(
@@ -47216,7 +48055,7 @@ e.object({
47216
48055
  "WORKING_SCHEDULE_STATE_DRAFT",
47217
48056
  "WORKING_SCHEDULE_STATE_ARCHIVED"
47218
48057
  ]).default(
47219
- ds
48058
+ Is
47220
48059
  ),
47221
48060
  team: e.object({
47222
48061
  id: e.string().optional(),
@@ -47230,7 +48069,7 @@ e.object({
47230
48069
  }).optional()
47231
48070
  }).optional()
47232
48071
  });
47233
- const bs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
48072
+ const Ts = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
47234
48073
  e.object({
47235
48074
  item: e.object({
47236
48075
  agents: e.array(
@@ -47269,7 +48108,7 @@ e.object({
47269
48108
  "WORKING_SCHEDULE_STATE_DRAFT",
47270
48109
  "WORKING_SCHEDULE_STATE_ARCHIVED"
47271
48110
  ]).default(
47272
- bs
48111
+ Ts
47273
48112
  ),
47274
48113
  team: e.object({
47275
48114
  id: e.string().optional(),
@@ -47308,9 +48147,9 @@ c();
47308
48147
  b();
47309
48148
  c();
47310
48149
  b();
47311
- const gs = "/contacts/groups";
48150
+ const Rs = "/contacts/groups";
47312
48151
  ({
47313
- ...pe(gs)
48152
+ ...pe(Rs)
47314
48153
  });
47315
48154
  c();
47316
48155
  b();
@@ -47344,11 +48183,11 @@ b();
47344
48183
  c();
47345
48184
  b();
47346
48185
  c();
47347
- const us = "/users";
48186
+ const As = "/users";
47348
48187
  ({
47349
- ...pe(us)
48188
+ ...pe(As)
47350
48189
  });
47351
- const ms = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
48190
+ const ws = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
47352
48191
  const d = [
47353
48192
  "page",
47354
48193
  "size",
@@ -47358,7 +48197,7 @@ const ms = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
47358
48197
  "id",
47359
48198
  "ids"
47360
48199
  ], m = w(i, [
47361
- x($()),
48200
+ U($()),
47362
48201
  le("search"),
47363
48202
  (p) => ({
47364
48203
  ...p,
@@ -47373,12 +48212,12 @@ const ms = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
47373
48212
  ae(o)
47374
48213
  ]);
47375
48214
  try {
47376
- const p = await ms.get(m), { data: f, items: h, next: g } = w(p.data, [
47377
- x(J())
48215
+ const p = await ws.get(m), { data: h, items: f, next: g } = w(p.data, [
48216
+ U(J())
47378
48217
  ]);
47379
48218
  return {
47380
48219
  // Some endpoints return data, some return items so we need to check for both of them
47381
- items: w(f || h, [
48220
+ items: w(h || f, [
47382
48221
  // transformItemsForSelect({ display, primary }),
47383
48222
  ]) ?? [],
47384
48223
  next: g
@@ -47388,15 +48227,15 @@ const ms = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
47388
48227
  z
47389
48228
  ]);
47390
48229
  }
47391
- }, fs = (o) => ce({
48230
+ }, Ds = (o) => ce({
47392
48231
  ...o,
47393
48232
  fields: o.fields || [
47394
48233
  "id",
47395
48234
  "name"
47396
48235
  ]
47397
- }), Is = {
48236
+ }), Cs = {
47398
48237
  getList: ce,
47399
- getLookup: fs
48238
+ getLookup: Ds
47400
48239
  };
47401
48240
  c();
47402
48241
  b();
@@ -47405,14 +48244,14 @@ b();
47405
48244
  c();
47406
48245
  b();
47407
48246
  export {
47408
- Is as S,
48247
+ Cs as S,
47409
48248
  w as a,
47410
- W as b,
48249
+ Q as b,
47411
48250
  M as c,
47412
48251
  le as d,
47413
48252
  $ as e,
47414
48253
  J as g,
47415
- x as m,
48254
+ U as m,
47416
48255
  z as n,
47417
48256
  se as s
47418
48257
  };