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