@webitel/ui-sdk 26.4.78 → 26.6.2
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/README.md +10 -0
- package/dist/{contacts-eFuSbv3m.js → contacts-DuiejYmg.js} +1551 -802
- package/dist/{index-CaY0ocAF.js → index-D_Bvqjjy.js} +1 -1
- package/dist/{index-TiiXs7ZO.js → index-ofJZWfBt.js} +1 -1
- package/dist/{install-Bd5HfFTV.js → install-rysuPEjF.js} +38 -38
- package/dist/{isObject-BV09j4E1.js → isObject-C5JdCKnH.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +187 -188
- package/dist/{useVidstackSrc-BGxC2kR5.js → useVidstackSrc-C6hUWIuE.js} +1 -1
- package/dist/{vidstack-Bq6c3Bam-jeTFOXk6.js → vidstack-Bq6c3Bam-D6M5GPTI.js} +3 -3
- package/dist/{vidstack-D2pY00kU-I-LJsKk8.js → vidstack-D2pY00kU-CRo5Kvyt.js} +3 -3
- package/dist/{vidstack-DDXt6fpN-W_Ix9vbH.js → vidstack-DDXt6fpN-QgRuASyL.js} +2 -2
- package/dist/{vidstack-D_-9AA6_-27F2Mv_5.js → vidstack-D_-9AA6_-BQB6UUD-.js} +2 -2
- package/dist/{vidstack-DqAw8m9J-BxfLqlFs.js → vidstack-DqAw8m9J-0B90hhJB.js} +1 -1
- package/dist/{vidstack-audio-CvjDPPuQ.js → vidstack-audio-BML-tyCz.js} +2 -2
- package/dist/{vidstack-dash-rV4ryZh2.js → vidstack-dash-BwVTHD5j.js} +4 -4
- package/dist/{vidstack-google-cast-Cb8t34m4.js → vidstack-google-cast-CvoUE_Qj.js} +4 -4
- package/dist/{vidstack-hls-C2zZ7COz.js → vidstack-hls-BgbWYqKl.js} +4 -4
- package/dist/{vidstack-video-DzItbHtm.js → vidstack-video-D6tVAa-p.js} +3 -3
- package/dist/{vidstack-vimeo-BpKsHwp4.js → vidstack-vimeo-CMino7JB.js} +4 -4
- package/dist/{vidstack-youtube--6zpNJz6.js → vidstack-youtube-DLE3pyNu.js} +3 -3
- package/dist/{wt-action-bar-Df57KUsc.js → wt-action-bar-BwAQUnPp.js} +1 -1
- package/dist/{wt-button-select-ymdOC5NH.js → wt-button-select-D8-D18E4.js} +1 -1
- package/dist/{wt-call-media-action-D4CP3oZl.js → wt-call-media-action-B-AEoxjt.js} +1 -1
- package/dist/{wt-chat-emoji-CUjHxdzV.js → wt-chat-emoji-D_4QMhH7.js} +2 -2
- package/dist/{wt-confirm-dialog-CNwpPdgE.js → wt-confirm-dialog-BQVImEga.js} +1 -1
- package/dist/{wt-context-menu-CToKHamf.js → wt-context-menu-CfvdB5Xl.js} +1 -1
- package/dist/{wt-copy-action-Dd0tVB7g.js → wt-copy-action-CIa3ImHz.js} +1 -1
- package/dist/{wt-datepicker-B7sKwJlh.js → wt-datepicker-CEoYduIo.js} +1 -1
- package/dist/{wt-display-chip-items-IGBh7VMV.js → wt-display-chip-items-CD6E8917.js} +1 -1
- package/dist/{wt-dual-panel-CqN6YB0F.js → wt-dual-panel-Cm2oe8sF.js} +1 -1
- package/dist/{wt-dummy-OrcannPM.js → wt-dummy-DHdJccrG.js} +1 -1
- package/dist/{wt-error-page-BMpoQdQl.js → wt-error-page-Rt-F9oVv.js} +1 -1
- package/dist/{wt-expansion-card-DEDM3Znr.js → wt-expansion-card-v7GFQBoJ.js} +1 -1
- package/dist/{wt-expansion-panel-YCSPf-eq.js → wt-expansion-panel-DSsY-KFR.js} +1 -1
- package/dist/{wt-filters-panel-wrapper-Ck2bF7qg.js → wt-filters-panel-wrapper-Cr9dYYnT.js} +1 -1
- package/dist/{wt-galleria-CNDkujRu.js → wt-galleria-C2aburQk.js} +1 -1
- package/dist/{wt-inline-add-panel-BSEdS7eW.js → wt-inline-add-panel-BaDP2TC1.js} +1 -1
- package/dist/{wt-navigation-menu-igJBYaxO.js → wt-navigation-menu-B_R8-_Bk.js} +1 -1
- package/dist/{wt-notifications-bar-C0M5LC4G.js → wt-notifications-bar-CfoCOojR.js} +2 -2
- package/dist/{wt-pagination-BXDqQ9YV.js → wt-pagination-DW7KL87c.js} +1 -1
- package/dist/{wt-player-A13mN2qk.js → wt-player-Be2YAJcQ.js} +2 -2
- package/dist/{wt-screen-recordings-action-BQPS--RV.js → wt-screen-recordings-action-BJBx9KXM.js} +1 -1
- package/dist/{wt-search-bar-Cvt_urUF.js → wt-search-bar-BT5d_LDB.js} +1 -1
- package/dist/{wt-selection-popup-CcAfc6T6.js → wt-selection-popup-DK6oLjfk.js} +1 -1
- package/dist/{wt-send-message-popup-pN9zzJpT.js → wt-send-message-popup-C8oG1Kxc.js} +3 -3
- package/dist/{wt-start-page-DaotE9Vi.js → wt-start-page-BcV-IdG_.js} +1 -1
- package/dist/{wt-status-select-Dhw-c6FB.js → wt-status-select-BcrdWJ9m.js} +1 -1
- package/dist/{wt-stepper-DyM6hf_l.js → wt-stepper-B_ny-IQN.js} +1 -1
- package/dist/{wt-table-Do6tizZl.js → wt-table-BX5kDXje.js} +1 -1
- package/dist/{wt-table-actions-Stm_KC06.js → wt-table-actions-Cvk2_NUG.js} +1 -1
- package/dist/{wt-table-column-select-DaGMSlL1.js → wt-table-column-select-CPacgsbN.js} +2 -2
- package/dist/{wt-tabs-CTv4GgX8.js → wt-tabs-wcnQfMfj.js} +1 -1
- package/dist/{wt-tags-input-DJhQrEdL.js → wt-tags-input-CPO80nnI.js} +2 -2
- package/dist/{wt-timepicker-98DhU-ME.js → wt-timepicker-DbdcOXYa.js} +1 -1
- package/dist/{wt-tree-CfkLw1SI.js → wt-tree-CLs3S4Av.js} +2 -2
- package/dist/{wt-tree-table-DDyxMFbz.js → wt-tree-table-DtNIE08B.js} +1 -1
- package/dist/{wt-type-extension-value-input-B2CwLd8p.js → wt-type-extension-value-input-CjJ8_xRU.js} +3 -3
- package/dist/{wt-vidstack-player-BduaN7w2.js → wt-vidstack-player-DmD7s58v.js} +900 -882
- package/package.json +10 -2
- package/src/components/wt-vidstack-player/wt-vidstack-player.vue +47 -3
- package/src/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/bridgeCustomElements.ts +32 -0
- package/src/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/copyStyles.ts +18 -0
- package/src/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/domTraversal.ts +16 -0
- package/src/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/index.ts +1 -0
- package/src/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/mediaCollection.ts +13 -0
- package/src/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/mediaPlayback.ts +22 -0
- package/src/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/mediaSnapshot.ts +43 -0
- package/src/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/playbackRetry.ts +81 -0
- package/src/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/useDocumentPiP.ts +146 -0
- package/src/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/usePiPResizeObserver.ts +30 -0
- package/src/modules/CallSession/modules/VideoCall/composables/useReceiverLiveStream.ts +64 -0
- package/src/modules/CallSession/modules/VideoCall/types/types.ts +17 -0
- package/src/modules/CallSession/modules/VideoCall/video-call.vue +170 -18
- package/types/components/wt-vidstack-player/wt-vidstack-player.vue.d.ts +3 -1
- package/types/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/bridgeCustomElements.d.ts +1 -0
- package/types/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/copyStyles.d.ts +1 -0
- package/types/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/domTraversal.d.ts +1 -0
- package/types/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/index.d.ts +1 -0
- package/types/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/mediaCollection.d.ts +2 -0
- package/types/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/mediaPlayback.d.ts +3 -0
- package/types/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/mediaSnapshot.d.ts +16 -0
- package/types/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/playbackRetry.d.ts +24 -0
- package/types/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/useDocumentPiP.d.ts +8 -0
- package/types/modules/CallSession/modules/VideoCall/composables/useDocumentPiP/usePiPResizeObserver.d.ts +6 -0
- package/types/modules/CallSession/modules/VideoCall/composables/useReceiverLiveStream.d.ts +49 -0
- package/types/modules/CallSession/modules/VideoCall/types/types.d.ts +14 -0
- package/types/modules/CallSession/modules/VideoCall/video-call.vue.d.ts +6 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "zod";
|
|
2
|
-
import { d as be } from "./index-
|
|
2
|
+
import { d as be } from "./index-D_Bvqjjy.js";
|
|
3
3
|
import { get as ge, set as ue } from "lodash-es";
|
|
4
|
-
import { ak as me, al as fe, O as he, am as ye, an as je } from "./install-
|
|
4
|
+
import { ak as me, al as fe, O as he, am as ye, an as je } from "./install-rysuPEjF.js";
|
|
5
5
|
const J = () => ({
|
|
6
6
|
items: [],
|
|
7
7
|
next: !1
|
|
@@ -74,7 +74,7 @@ const J = () => ({
|
|
|
74
74
|
return i;
|
|
75
75
|
}
|
|
76
76
|
return r(t);
|
|
77
|
-
},
|
|
77
|
+
}, ve = Object.prototype.hasOwnProperty, te = {
|
|
78
78
|
brackets: function(t) {
|
|
79
79
|
return t + "[]";
|
|
80
80
|
},
|
|
@@ -85,8 +85,8 @@ const J = () => ({
|
|
|
85
85
|
repeat: function(t) {
|
|
86
86
|
return t;
|
|
87
87
|
}
|
|
88
|
-
},
|
|
89
|
-
|
|
88
|
+
}, v = Array.isArray, Oe = Array.prototype.push, oe = function(o, t) {
|
|
89
|
+
Oe.apply(o, v(t) ? t : [t]);
|
|
90
90
|
}, Ee = Date.prototype.toISOString, K = ee, I = {
|
|
91
91
|
addQueryPrefix: !1,
|
|
92
92
|
allowDots: !1,
|
|
@@ -110,19 +110,19 @@ const J = () => ({
|
|
|
110
110
|
strictNullHandling: !1
|
|
111
111
|
}, Ce = function(t) {
|
|
112
112
|
return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "symbol" || typeof t == "bigint";
|
|
113
|
-
}, P = {}, ie = function(t, r, i, d, m, p, f, h, g, u, j, s,
|
|
114
|
-
let n = t, T = l, y = 0,
|
|
115
|
-
for (; (T = T.get(P)) !== void 0 && !
|
|
113
|
+
}, P = {}, ie = function(t, r, i, d, m, p, f, h, g, u, j, s, O, C, A, E, a, l) {
|
|
114
|
+
let n = t, T = l, y = 0, _ = !1;
|
|
115
|
+
for (; (T = T.get(P)) !== void 0 && !_; ) {
|
|
116
116
|
const R = T.get(t);
|
|
117
117
|
if (y += 1, typeof R < "u") {
|
|
118
118
|
if (R === y)
|
|
119
119
|
throw new RangeError("Cyclic object value");
|
|
120
|
-
|
|
120
|
+
_ = !0;
|
|
121
121
|
}
|
|
122
122
|
typeof T.get(P) > "u" && (y = 0);
|
|
123
123
|
}
|
|
124
|
-
if (typeof u == "function" ? n = u(r, n) : n instanceof Date ? n =
|
|
125
|
-
return R instanceof Date ?
|
|
124
|
+
if (typeof u == "function" ? n = u(r, n) : n instanceof Date ? n = O(n) : i === "comma" && v(n) && (n = H(n, function(R) {
|
|
125
|
+
return R instanceof Date ? O(R) : R;
|
|
126
126
|
})), n === null) {
|
|
127
127
|
if (p)
|
|
128
128
|
return g && !E ? g(r, I.encoder, a, "key", C) : r;
|
|
@@ -137,30 +137,30 @@ const J = () => ({
|
|
|
137
137
|
}
|
|
138
138
|
return [A(r) + "=" + A(String(n))];
|
|
139
139
|
}
|
|
140
|
-
const
|
|
140
|
+
const U = [];
|
|
141
141
|
if (typeof n > "u")
|
|
142
|
-
return
|
|
143
|
-
let
|
|
144
|
-
if (i === "comma" &&
|
|
145
|
-
E && g && (n = H(n, g)),
|
|
146
|
-
else if (
|
|
147
|
-
|
|
142
|
+
return U;
|
|
143
|
+
let S;
|
|
144
|
+
if (i === "comma" && v(n))
|
|
145
|
+
E && g && (n = H(n, g)), S = [{ value: n.length > 0 ? n.join(",") || null : void 0 }];
|
|
146
|
+
else if (v(u))
|
|
147
|
+
S = u;
|
|
148
148
|
else {
|
|
149
149
|
const R = Object.keys(n);
|
|
150
|
-
|
|
150
|
+
S = j ? R.sort(j) : R;
|
|
151
151
|
}
|
|
152
|
-
const V = h ? r.replace(/\./g, "%2E") : r, k = d &&
|
|
153
|
-
if (m &&
|
|
152
|
+
const V = h ? r.replace(/\./g, "%2E") : r, k = d && v(n) && n.length === 1 ? V + "[]" : V;
|
|
153
|
+
if (m && v(n) && n.length === 0)
|
|
154
154
|
return k + "[]";
|
|
155
|
-
for (let R = 0; R <
|
|
156
|
-
const
|
|
155
|
+
for (let R = 0; R < S.length; ++R) {
|
|
156
|
+
const q = S[R], Y = typeof q == "object" && typeof q.value < "u" ? q.value : n[q];
|
|
157
157
|
if (f && Y === null)
|
|
158
158
|
continue;
|
|
159
|
-
const B = s && h ?
|
|
159
|
+
const B = s && h ? q.replace(/\./g, "%2E") : q, de = v(n) ? typeof i == "function" ? i(k, B) : k : k + (s ? "." + B : "[" + B + "]");
|
|
160
160
|
l.set(t, y);
|
|
161
161
|
const G = /* @__PURE__ */ new WeakMap();
|
|
162
162
|
G.set(P, l), oe(
|
|
163
|
-
|
|
163
|
+
U,
|
|
164
164
|
ie(
|
|
165
165
|
Y,
|
|
166
166
|
de,
|
|
@@ -170,11 +170,11 @@ const J = () => ({
|
|
|
170
170
|
p,
|
|
171
171
|
f,
|
|
172
172
|
h,
|
|
173
|
-
i === "comma" && E &&
|
|
173
|
+
i === "comma" && E && v(n) ? null : g,
|
|
174
174
|
u,
|
|
175
175
|
j,
|
|
176
176
|
s,
|
|
177
|
-
|
|
177
|
+
O,
|
|
178
178
|
C,
|
|
179
179
|
A,
|
|
180
180
|
E,
|
|
@@ -183,8 +183,8 @@ const J = () => ({
|
|
|
183
183
|
)
|
|
184
184
|
);
|
|
185
185
|
}
|
|
186
|
-
return
|
|
187
|
-
},
|
|
186
|
+
return U;
|
|
187
|
+
}, qe = function(t) {
|
|
188
188
|
if (!t)
|
|
189
189
|
return I;
|
|
190
190
|
if (typeof t.allowEmptyArrays < "u" && typeof t.allowEmptyArrays != "boolean")
|
|
@@ -198,13 +198,13 @@ const J = () => ({
|
|
|
198
198
|
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
199
199
|
let i = ee;
|
|
200
200
|
if (typeof t.format < "u") {
|
|
201
|
-
if (!
|
|
201
|
+
if (!ve.call(L, t.format))
|
|
202
202
|
throw new TypeError("Unknown format option provided.");
|
|
203
203
|
i = t.format;
|
|
204
204
|
}
|
|
205
205
|
const d = L[i];
|
|
206
206
|
let m = I.filter;
|
|
207
|
-
(typeof t.filter == "function" ||
|
|
207
|
+
(typeof t.filter == "function" || v(t.filter)) && (m = t.filter);
|
|
208
208
|
let p;
|
|
209
209
|
if (t.arrayFormat in te ? p = t.arrayFormat : "indices" in t ? p = t.indices ? "indices" : "repeat" : p = I.arrayFormat, "commaRoundTrip" in t && typeof t.commaRoundTrip != "boolean")
|
|
210
210
|
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
@@ -233,9 +233,9 @@ const J = () => ({
|
|
|
233
233
|
};
|
|
234
234
|
function ne(o, t) {
|
|
235
235
|
let r = o;
|
|
236
|
-
const i =
|
|
236
|
+
const i = qe(t);
|
|
237
237
|
let d, m;
|
|
238
|
-
typeof i.filter == "function" ? (m = i.filter, r = m("", r)) :
|
|
238
|
+
typeof i.filter == "function" ? (m = i.filter, r = m("", r)) : v(i.filter) && (m = i.filter, d = m);
|
|
239
239
|
const p = [];
|
|
240
240
|
if (typeof r != "object" || r === null)
|
|
241
241
|
return "";
|
|
@@ -243,12 +243,12 @@ function ne(o, t) {
|
|
|
243
243
|
d || (d = Object.keys(r)), i.sort && d.sort(i.sort);
|
|
244
244
|
const g = /* @__PURE__ */ new WeakMap();
|
|
245
245
|
for (let s = 0; s < d.length; ++s) {
|
|
246
|
-
const
|
|
247
|
-
i.skipNulls && r[
|
|
246
|
+
const O = d[s];
|
|
247
|
+
i.skipNulls && r[O] === null || oe(
|
|
248
248
|
p,
|
|
249
249
|
ie(
|
|
250
|
-
r[
|
|
251
|
-
|
|
250
|
+
r[O],
|
|
251
|
+
O,
|
|
252
252
|
f,
|
|
253
253
|
h,
|
|
254
254
|
i.allowEmptyArrays,
|
|
@@ -272,10 +272,10 @@ function ne(o, t) {
|
|
|
272
272
|
let j = i.addQueryPrefix === !0 ? "?" : "";
|
|
273
273
|
return i.charsetSentinel && (i.charset === "iso-8859-1" ? j += "utf8=%26%2310003%3B&" : j += "utf8=%E2%9C%93&"), u.length > 0 ? j + u : "";
|
|
274
274
|
}
|
|
275
|
-
const
|
|
275
|
+
const Se = [
|
|
276
276
|
(o) => (o.headers["X-Webitel-Access"] = localStorage.getItem("access-token") || "", o),
|
|
277
277
|
(o) => Promise.reject(o)
|
|
278
|
-
],
|
|
278
|
+
], _e = [
|
|
279
279
|
(o) => o,
|
|
280
280
|
(o) => {
|
|
281
281
|
if (o.response && o.response.status === 401) {
|
|
@@ -291,10 +291,10 @@ const _e = [
|
|
|
291
291
|
return me({
|
|
292
292
|
interceptors: {
|
|
293
293
|
request: [
|
|
294
|
-
|
|
294
|
+
Se
|
|
295
295
|
],
|
|
296
296
|
response: [
|
|
297
|
-
|
|
297
|
+
_e
|
|
298
298
|
]
|
|
299
299
|
},
|
|
300
300
|
baseURL: "/api",
|
|
@@ -315,10 +315,10 @@ const b = () => new ke({
|
|
|
315
315
|
skipNull: !0,
|
|
316
316
|
arrayFormat: "repeat"
|
|
317
317
|
})}`;
|
|
318
|
-
var F,
|
|
319
|
-
function
|
|
320
|
-
if (
|
|
321
|
-
|
|
318
|
+
var F, Q;
|
|
319
|
+
function xe() {
|
|
320
|
+
if (Q) return F;
|
|
321
|
+
Q = 1;
|
|
322
322
|
var o = function(l) {
|
|
323
323
|
return t(l) && !r(l);
|
|
324
324
|
};
|
|
@@ -365,7 +365,7 @@ function Ue() {
|
|
|
365
365
|
return !1;
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function O(a, l) {
|
|
369
369
|
return s(a, l) && !(Object.hasOwnProperty.call(a, l) && Object.propertyIsEnumerable.call(a, l));
|
|
370
370
|
}
|
|
371
371
|
function C(a, l, n) {
|
|
@@ -373,13 +373,13 @@ function Ue() {
|
|
|
373
373
|
return n.isMergeableObject(a) && j(a).forEach(function(y) {
|
|
374
374
|
T[y] = f(a[y], n);
|
|
375
375
|
}), j(l).forEach(function(y) {
|
|
376
|
-
|
|
376
|
+
O(a, y) || (s(a, y) && n.isMergeableObject(l[y]) ? T[y] = g(y, n)(a[y], l[y], n) : T[y] = f(l[y], n));
|
|
377
377
|
}), T;
|
|
378
378
|
}
|
|
379
379
|
function A(a, l, n) {
|
|
380
380
|
n = n || {}, n.arrayMerge = n.arrayMerge || h, n.isMergeableObject = n.isMergeableObject || o, n.cloneUnlessOtherwiseSpecified = f;
|
|
381
|
-
var T = Array.isArray(l), y = Array.isArray(a),
|
|
382
|
-
return
|
|
381
|
+
var T = Array.isArray(l), y = Array.isArray(a), _ = T === y;
|
|
382
|
+
return _ ? T ? n.arrayMerge(a, l, n) : C(a, l, n) : f(l, n);
|
|
383
383
|
}
|
|
384
384
|
A.all = function(l, n) {
|
|
385
385
|
if (!Array.isArray(l))
|
|
@@ -391,8 +391,8 @@ function Ue() {
|
|
|
391
391
|
var E = A;
|
|
392
392
|
return F = E, F;
|
|
393
393
|
}
|
|
394
|
-
var
|
|
395
|
-
const re = /* @__PURE__ */ he(
|
|
394
|
+
var Ue = xe();
|
|
395
|
+
const re = /* @__PURE__ */ he(Ue), x = (...o) => (t) => re.all([
|
|
396
396
|
...o,
|
|
397
397
|
t
|
|
398
398
|
]), Be = (...o) => (t) => t.map(
|
|
@@ -413,7 +413,7 @@ const re = /* @__PURE__ */ he(xe), U = (...o) => (t) => re.all([
|
|
|
413
413
|
}), r);
|
|
414
414
|
}
|
|
415
415
|
return o instanceof Error && (o.response?.data?.translation || o.response?.data?.detail || o.response?.data?.message), o;
|
|
416
|
-
}, se = (o) => (t) => Object.keys(t).reduce((r, i) => (o.indexOf(i) === -1 || (r[i] = t[i]), r), {}),
|
|
416
|
+
}, se = (o) => (t) => Object.keys(t).reduce((r, i) => (o.indexOf(i) === -1 || (r[i] = t[i]), r), {}), W = (o = []) => (t) => ye(t, o), le = (o = "search") => (t) => {
|
|
417
417
|
const r = be(t), i = ge(r, o);
|
|
418
418
|
return !i || i.slice(-1) === "*" ? r : ue(r, o, `${i}*`);
|
|
419
419
|
}, X = "acl", Pe = (o) => o.map((t) => ({
|
|
@@ -450,7 +450,7 @@ const re = /* @__PURE__ */ he(xe), U = (...o) => (t) => re.all([
|
|
|
450
450
|
], f = {
|
|
451
451
|
user: !1
|
|
452
452
|
}, h = w(m, [
|
|
453
|
-
|
|
453
|
+
x($()),
|
|
454
454
|
le("search"),
|
|
455
455
|
(g) => ({
|
|
456
456
|
...g,
|
|
@@ -462,8 +462,8 @@ const re = /* @__PURE__ */ he(xe), U = (...o) => (t) => re.all([
|
|
|
462
462
|
]);
|
|
463
463
|
try {
|
|
464
464
|
const g = await t.get(h), { items: u, next: j } = w(g.data, [
|
|
465
|
-
|
|
466
|
-
|
|
465
|
+
W(),
|
|
466
|
+
x(J())
|
|
467
467
|
]);
|
|
468
468
|
return {
|
|
469
469
|
items: w(u, [
|
|
@@ -485,7 +485,7 @@ const re = /* @__PURE__ */ he(xe), U = (...o) => (t) => re.all([
|
|
|
485
485
|
try {
|
|
486
486
|
const h = await t.patch(f, p);
|
|
487
487
|
return w(h.data, [
|
|
488
|
-
|
|
488
|
+
W()
|
|
489
489
|
]);
|
|
490
490
|
} catch (h) {
|
|
491
491
|
throw w(h, [
|
|
@@ -910,7 +910,7 @@ e.object({
|
|
|
910
910
|
}).optional()
|
|
911
911
|
}).optional()
|
|
912
912
|
});
|
|
913
|
-
const
|
|
913
|
+
const Qe = "ABSENCE_TYPE_UNSPECIFIED";
|
|
914
914
|
e.object({
|
|
915
915
|
item: e.object({
|
|
916
916
|
absentAt: e.string().optional(),
|
|
@@ -927,7 +927,7 @@ e.object({
|
|
|
927
927
|
"ABSENCE_TYPE_VACATION",
|
|
928
928
|
"ABSENCE_TYPE_SICKDAY"
|
|
929
929
|
]).default(
|
|
930
|
-
|
|
930
|
+
Qe
|
|
931
931
|
),
|
|
932
932
|
updatedAt: e.string().optional(),
|
|
933
933
|
updatedBy: e.object({
|
|
@@ -945,7 +945,7 @@ e.object({
|
|
|
945
945
|
onlyClosed: e.boolean().optional().describe("filter"),
|
|
946
946
|
onlyUnprocessed: e.boolean().optional()
|
|
947
947
|
});
|
|
948
|
-
const
|
|
948
|
+
const We = "phone";
|
|
949
949
|
e.object({
|
|
950
950
|
items: e.array(
|
|
951
951
|
e.object({
|
|
@@ -1045,7 +1045,7 @@ Contact **type**-specific string.`
|
|
|
1045
1045
|
"contact",
|
|
1046
1046
|
"location"
|
|
1047
1047
|
]).default(
|
|
1048
|
-
|
|
1048
|
+
We
|
|
1049
1049
|
).describe("Request to share contact info."),
|
|
1050
1050
|
text: e.string().optional().describe("Caption to display."),
|
|
1051
1051
|
url: e.string().optional().describe("URL to navigate to ..")
|
|
@@ -4258,6 +4258,7 @@ e.object({
|
|
|
4258
4258
|
expiresAt: e.string().optional(),
|
|
4259
4259
|
id: e.string().optional(),
|
|
4260
4260
|
issuedAt: e.string().optional(),
|
|
4261
|
+
name: e.string().optional(),
|
|
4261
4262
|
prod: e.string().optional(),
|
|
4262
4263
|
scope: e.array(e.string()).optional(),
|
|
4263
4264
|
user: e.object({
|
|
@@ -4309,6 +4310,7 @@ e.object({
|
|
|
4309
4310
|
expiresAt: e.string().optional(),
|
|
4310
4311
|
id: e.string().optional(),
|
|
4311
4312
|
issuedAt: e.string().optional(),
|
|
4313
|
+
name: e.string().optional(),
|
|
4312
4314
|
prod: e.string().optional(),
|
|
4313
4315
|
scope: e.array(e.string()).optional(),
|
|
4314
4316
|
user: e.object({
|
|
@@ -5351,6 +5353,7 @@ e.object({
|
|
|
5351
5353
|
name: e.string().optional()
|
|
5352
5354
|
}).optional(),
|
|
5353
5355
|
endSec: e.number().optional(),
|
|
5356
|
+
fileId: e.string().optional(),
|
|
5354
5357
|
id: e.string().optional(),
|
|
5355
5358
|
note: e.string().optional(),
|
|
5356
5359
|
startSec: e.number().optional(),
|
|
@@ -5483,6 +5486,29 @@ e.object({
|
|
|
5483
5486
|
}).optional(),
|
|
5484
5487
|
memberId: e.string().optional(),
|
|
5485
5488
|
parentId: e.string().optional(),
|
|
5489
|
+
qualityMetrics: e.object({
|
|
5490
|
+
jitterAvg: e.number().optional(),
|
|
5491
|
+
jitterMax: e.number().optional(),
|
|
5492
|
+
jitterMaxAt: e.number().optional(),
|
|
5493
|
+
jitterMin: e.number().optional(),
|
|
5494
|
+
jitterMinAt: e.number().optional(),
|
|
5495
|
+
mosAvg: e.number().optional(),
|
|
5496
|
+
mosMax: e.number().optional(),
|
|
5497
|
+
mosMaxAt: e.number().optional(),
|
|
5498
|
+
mosMin: e.number().optional(),
|
|
5499
|
+
mosMinAt: e.number().optional(),
|
|
5500
|
+
packetlossAvg: e.number().optional(),
|
|
5501
|
+
packetlossMax: e.number().optional(),
|
|
5502
|
+
packetlossMaxAt: e.number().optional(),
|
|
5503
|
+
packetlossMin: e.number().optional(),
|
|
5504
|
+
packetlossMinAt: e.number().optional(),
|
|
5505
|
+
roundtripAvg: e.number().optional(),
|
|
5506
|
+
roundtripMax: e.number().optional(),
|
|
5507
|
+
roundtripMaxAt: e.number().optional(),
|
|
5508
|
+
roundtripMin: e.number().optional(),
|
|
5509
|
+
roundtripMinAt: e.number().optional(),
|
|
5510
|
+
sipId: e.string().optional()
|
|
5511
|
+
}).optional(),
|
|
5486
5512
|
queue: e.object({
|
|
5487
5513
|
id: e.string().optional(),
|
|
5488
5514
|
name: e.string().optional()
|
|
@@ -5641,6 +5667,7 @@ e.object({
|
|
|
5641
5667
|
name: e.string().optional()
|
|
5642
5668
|
}).optional(),
|
|
5643
5669
|
endSec: e.number().optional(),
|
|
5670
|
+
fileId: e.string().optional(),
|
|
5644
5671
|
id: e.string().optional(),
|
|
5645
5672
|
note: e.string().optional(),
|
|
5646
5673
|
startSec: e.number().optional(),
|
|
@@ -5773,6 +5800,29 @@ e.object({
|
|
|
5773
5800
|
}).optional(),
|
|
5774
5801
|
memberId: e.string().optional(),
|
|
5775
5802
|
parentId: e.string().optional(),
|
|
5803
|
+
qualityMetrics: e.object({
|
|
5804
|
+
jitterAvg: e.number().optional(),
|
|
5805
|
+
jitterMax: e.number().optional(),
|
|
5806
|
+
jitterMaxAt: e.number().optional(),
|
|
5807
|
+
jitterMin: e.number().optional(),
|
|
5808
|
+
jitterMinAt: e.number().optional(),
|
|
5809
|
+
mosAvg: e.number().optional(),
|
|
5810
|
+
mosMax: e.number().optional(),
|
|
5811
|
+
mosMaxAt: e.number().optional(),
|
|
5812
|
+
mosMin: e.number().optional(),
|
|
5813
|
+
mosMinAt: e.number().optional(),
|
|
5814
|
+
packetlossAvg: e.number().optional(),
|
|
5815
|
+
packetlossMax: e.number().optional(),
|
|
5816
|
+
packetlossMaxAt: e.number().optional(),
|
|
5817
|
+
packetlossMin: e.number().optional(),
|
|
5818
|
+
packetlossMinAt: e.number().optional(),
|
|
5819
|
+
roundtripAvg: e.number().optional(),
|
|
5820
|
+
roundtripMax: e.number().optional(),
|
|
5821
|
+
roundtripMaxAt: e.number().optional(),
|
|
5822
|
+
roundtripMin: e.number().optional(),
|
|
5823
|
+
roundtripMinAt: e.number().optional(),
|
|
5824
|
+
sipId: e.string().optional()
|
|
5825
|
+
}).optional(),
|
|
5776
5826
|
queue: e.object({
|
|
5777
5827
|
id: e.string().optional(),
|
|
5778
5828
|
name: e.string().optional()
|
|
@@ -5919,6 +5969,7 @@ e.object({
|
|
|
5919
5969
|
});
|
|
5920
5970
|
e.object({
|
|
5921
5971
|
endSec: e.number().optional(),
|
|
5972
|
+
fileId: e.string().optional(),
|
|
5922
5973
|
note: e.string().optional(),
|
|
5923
5974
|
startSec: e.number().optional()
|
|
5924
5975
|
});
|
|
@@ -5930,6 +5981,7 @@ e.object({
|
|
|
5930
5981
|
name: e.string().optional()
|
|
5931
5982
|
}).optional(),
|
|
5932
5983
|
endSec: e.number().optional(),
|
|
5984
|
+
fileId: e.string().optional(),
|
|
5933
5985
|
id: e.string().optional(),
|
|
5934
5986
|
note: e.string().optional(),
|
|
5935
5987
|
startSec: e.number().optional(),
|
|
@@ -5951,6 +6003,7 @@ e.object({
|
|
|
5951
6003
|
name: e.string().optional()
|
|
5952
6004
|
}).optional(),
|
|
5953
6005
|
endSec: e.number().optional(),
|
|
6006
|
+
fileId: e.string().optional(),
|
|
5954
6007
|
id: e.string().optional(),
|
|
5955
6008
|
note: e.string().optional(),
|
|
5956
6009
|
startSec: e.number().optional(),
|
|
@@ -5977,6 +6030,7 @@ e.object({
|
|
|
5977
6030
|
name: e.string().optional()
|
|
5978
6031
|
}).optional(),
|
|
5979
6032
|
endSec: e.number().optional(),
|
|
6033
|
+
fileId: e.string().optional(),
|
|
5980
6034
|
id: e.string().optional(),
|
|
5981
6035
|
note: e.string().optional(),
|
|
5982
6036
|
startSec: e.number().optional(),
|
|
@@ -6021,6 +6075,7 @@ e.object({
|
|
|
6021
6075
|
name: e.string().optional()
|
|
6022
6076
|
}).optional(),
|
|
6023
6077
|
endSec: e.number().optional(),
|
|
6078
|
+
fileId: e.string().optional(),
|
|
6024
6079
|
id: e.string().optional(),
|
|
6025
6080
|
note: e.string().optional(),
|
|
6026
6081
|
startSec: e.number().optional(),
|
|
@@ -6147,6 +6202,29 @@ e.object({
|
|
|
6147
6202
|
}).optional(),
|
|
6148
6203
|
memberId: e.string().optional(),
|
|
6149
6204
|
parentId: e.string().optional(),
|
|
6205
|
+
qualityMetrics: e.object({
|
|
6206
|
+
jitterAvg: e.number().optional(),
|
|
6207
|
+
jitterMax: e.number().optional(),
|
|
6208
|
+
jitterMaxAt: e.number().optional(),
|
|
6209
|
+
jitterMin: e.number().optional(),
|
|
6210
|
+
jitterMinAt: e.number().optional(),
|
|
6211
|
+
mosAvg: e.number().optional(),
|
|
6212
|
+
mosMax: e.number().optional(),
|
|
6213
|
+
mosMaxAt: e.number().optional(),
|
|
6214
|
+
mosMin: e.number().optional(),
|
|
6215
|
+
mosMinAt: e.number().optional(),
|
|
6216
|
+
packetlossAvg: e.number().optional(),
|
|
6217
|
+
packetlossMax: e.number().optional(),
|
|
6218
|
+
packetlossMaxAt: e.number().optional(),
|
|
6219
|
+
packetlossMin: e.number().optional(),
|
|
6220
|
+
packetlossMinAt: e.number().optional(),
|
|
6221
|
+
roundtripAvg: e.number().optional(),
|
|
6222
|
+
roundtripMax: e.number().optional(),
|
|
6223
|
+
roundtripMaxAt: e.number().optional(),
|
|
6224
|
+
roundtripMin: e.number().optional(),
|
|
6225
|
+
roundtripMinAt: e.number().optional(),
|
|
6226
|
+
sipId: e.string().optional()
|
|
6227
|
+
}).optional(),
|
|
6150
6228
|
queue: e.object({
|
|
6151
6229
|
id: e.string().optional(),
|
|
6152
6230
|
name: e.string().optional()
|
|
@@ -7377,7 +7455,7 @@ e.object({
|
|
|
7377
7455
|
"Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
|
|
7378
7456
|
)
|
|
7379
7457
|
}).describe("Input structure for creating a new case.");
|
|
7380
|
-
const Dt = "RELATION_TYPE_UNSPECIFIED",
|
|
7458
|
+
const Dt = "RELATION_TYPE_UNSPECIFIED", vt = "TYPE_UNSPECIFIED";
|
|
7381
7459
|
e.object({
|
|
7382
7460
|
assignee: e.object({
|
|
7383
7461
|
id: e.string().optional(),
|
|
@@ -7657,7 +7735,7 @@ e.object({
|
|
|
7657
7735
|
"EMAIL",
|
|
7658
7736
|
"API",
|
|
7659
7737
|
"MANUAL"
|
|
7660
|
-
]).default(
|
|
7738
|
+
]).default(vt).describe(
|
|
7661
7739
|
`Represents a source type for the source entity.
|
|
7662
7740
|
|
|
7663
7741
|
- TYPE_UNSPECIFIED: Unspecified source type.
|
|
@@ -7708,7 +7786,8 @@ e.object({
|
|
|
7708
7786
|
contactId: e.string().optional(),
|
|
7709
7787
|
qin: e.string().optional(),
|
|
7710
7788
|
filtersV1: e.string().optional(),
|
|
7711
|
-
format: e.string().optional()
|
|
7789
|
+
format: e.string().optional(),
|
|
7790
|
+
separator: e.string().optional()
|
|
7712
7791
|
});
|
|
7713
7792
|
e.object({
|
|
7714
7793
|
error: e.object({
|
|
@@ -7730,7 +7809,7 @@ e.object({
|
|
|
7730
7809
|
e.object({
|
|
7731
7810
|
fields: e.array(e.string()).optional().describe("List of fields to include in the deleted case response.")
|
|
7732
7811
|
});
|
|
7733
|
-
const
|
|
7812
|
+
const Ot = "RELATION_TYPE_UNSPECIFIED", Et = "TYPE_UNSPECIFIED";
|
|
7734
7813
|
e.object({
|
|
7735
7814
|
assignee: e.object({
|
|
7736
7815
|
id: e.string().optional(),
|
|
@@ -7919,7 +7998,7 @@ e.object({
|
|
|
7919
7998
|
"IS_CHILD_OF",
|
|
7920
7999
|
"IS_PARENT_OF",
|
|
7921
8000
|
"RELATES_TO"
|
|
7922
|
-
]).default(
|
|
8001
|
+
]).default(Ot).describe("Relation type between cases."),
|
|
7923
8002
|
updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
|
|
7924
8003
|
updatedBy: e.object({
|
|
7925
8004
|
id: e.string().optional(),
|
|
@@ -8058,7 +8137,7 @@ e.object({
|
|
|
8058
8137
|
e.object({
|
|
8059
8138
|
fields: e.array(e.string()).optional().describe("List of fields to include in the response.")
|
|
8060
8139
|
});
|
|
8061
|
-
const Ct = "RELATION_TYPE_UNSPECIFIED",
|
|
8140
|
+
const Ct = "RELATION_TYPE_UNSPECIFIED", qt = "TYPE_UNSPECIFIED";
|
|
8062
8141
|
e.object({
|
|
8063
8142
|
assignee: e.object({
|
|
8064
8143
|
id: e.string().optional(),
|
|
@@ -8338,7 +8417,7 @@ e.object({
|
|
|
8338
8417
|
"EMAIL",
|
|
8339
8418
|
"API",
|
|
8340
8419
|
"MANUAL"
|
|
8341
|
-
]).default(
|
|
8420
|
+
]).default(qt).describe(
|
|
8342
8421
|
`Represents a source type for the source entity.
|
|
8343
8422
|
|
|
8344
8423
|
- TYPE_UNSPECIFIED: Unspecified source type.
|
|
@@ -8463,7 +8542,7 @@ e.object({
|
|
|
8463
8542
|
"Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
|
|
8464
8543
|
)
|
|
8465
8544
|
});
|
|
8466
|
-
const
|
|
8545
|
+
const St = "RELATION_TYPE_UNSPECIFIED", _t = "TYPE_UNSPECIFIED";
|
|
8467
8546
|
e.object({
|
|
8468
8547
|
case: e.object({
|
|
8469
8548
|
assignee: e.object({
|
|
@@ -8656,7 +8735,7 @@ e.object({
|
|
|
8656
8735
|
"IS_PARENT_OF",
|
|
8657
8736
|
"RELATES_TO"
|
|
8658
8737
|
]).default(
|
|
8659
|
-
|
|
8738
|
+
St
|
|
8660
8739
|
).describe("Relation type between cases."),
|
|
8661
8740
|
updatedAt: e.string().optional().describe(
|
|
8662
8741
|
"Timestamp (in milliseconds) of the last update."
|
|
@@ -8750,7 +8829,7 @@ e.object({
|
|
|
8750
8829
|
"EMAIL",
|
|
8751
8830
|
"API",
|
|
8752
8831
|
"MANUAL"
|
|
8753
|
-
]).default(
|
|
8832
|
+
]).default(_t).describe(
|
|
8754
8833
|
`Represents a source type for the source entity.
|
|
8755
8834
|
|
|
8756
8835
|
- TYPE_UNSPECIFIED: Unspecified source type.
|
|
@@ -8883,7 +8962,7 @@ e.object({
|
|
|
8883
8962
|
"Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
|
|
8884
8963
|
)
|
|
8885
8964
|
});
|
|
8886
|
-
const kt = "RELATION_TYPE_UNSPECIFIED",
|
|
8965
|
+
const kt = "RELATION_TYPE_UNSPECIFIED", xt = "TYPE_UNSPECIFIED";
|
|
8887
8966
|
e.object({
|
|
8888
8967
|
case: e.object({
|
|
8889
8968
|
assignee: e.object({
|
|
@@ -9170,7 +9249,7 @@ e.object({
|
|
|
9170
9249
|
"EMAIL",
|
|
9171
9250
|
"API",
|
|
9172
9251
|
"MANUAL"
|
|
9173
|
-
]).default(
|
|
9252
|
+
]).default(xt).describe(
|
|
9174
9253
|
`Represents a source type for the source entity.
|
|
9175
9254
|
|
|
9176
9255
|
- TYPE_UNSPECIFIED: Unspecified source type.
|
|
@@ -9234,7 +9313,7 @@ e.object({
|
|
|
9234
9313
|
qin: e.string().optional().describe("Specify which fields to apply 'q' to."),
|
|
9235
9314
|
filtersV1: e.string().optional().describe("Updated filters with CEL syntax.")
|
|
9236
9315
|
});
|
|
9237
|
-
const
|
|
9316
|
+
const Ut = "RELATION_TYPE_UNSPECIFIED", Bt = "TYPE_UNSPECIFIED";
|
|
9238
9317
|
e.object({
|
|
9239
9318
|
items: e.array(
|
|
9240
9319
|
e.object({
|
|
@@ -9432,7 +9511,7 @@ e.object({
|
|
|
9432
9511
|
"IS_PARENT_OF",
|
|
9433
9512
|
"RELATES_TO"
|
|
9434
9513
|
]).default(
|
|
9435
|
-
|
|
9514
|
+
Ut
|
|
9436
9515
|
).describe("Relation type between cases."),
|
|
9437
9516
|
updatedAt: e.string().optional().describe(
|
|
9438
9517
|
"Timestamp (in milliseconds) of the last update."
|
|
@@ -11208,7 +11287,7 @@ e.object({
|
|
|
11208
11287
|
e.object({
|
|
11209
11288
|
id: e.string()
|
|
11210
11289
|
});
|
|
11211
|
-
const
|
|
11290
|
+
const Qt = "DefaultProvider", Wt = "DefaultService";
|
|
11212
11291
|
e.object({
|
|
11213
11292
|
default: e.boolean().optional(),
|
|
11214
11293
|
description: e.string().optional(),
|
|
@@ -11220,12 +11299,12 @@ e.object({
|
|
|
11220
11299
|
"Microsoft",
|
|
11221
11300
|
"Google",
|
|
11222
11301
|
"ElevenLabs"
|
|
11223
|
-
]).default(
|
|
11302
|
+
]).default(Qt),
|
|
11224
11303
|
service: e.enum([
|
|
11225
11304
|
"DefaultService",
|
|
11226
11305
|
"STT",
|
|
11227
11306
|
"TTS"
|
|
11228
|
-
]).default(
|
|
11307
|
+
]).default(Wt)
|
|
11229
11308
|
});
|
|
11230
11309
|
const Xt = "DefaultProvider", Jt = "DefaultService";
|
|
11231
11310
|
e.object({
|
|
@@ -15887,6 +15966,7 @@ e.object({
|
|
|
15887
15966
|
expiresAt: e.string().optional(),
|
|
15888
15967
|
id: e.string().optional(),
|
|
15889
15968
|
issuedAt: e.string().optional(),
|
|
15969
|
+
name: e.string().optional(),
|
|
15890
15970
|
prod: e.string().optional(),
|
|
15891
15971
|
scope: e.array(e.string()).optional(),
|
|
15892
15972
|
user: e.object({
|
|
@@ -15952,6 +16032,7 @@ e.object({
|
|
|
15952
16032
|
expiresAt: e.string().optional(),
|
|
15953
16033
|
id: e.string().optional(),
|
|
15954
16034
|
issuedAt: e.string().optional(),
|
|
16035
|
+
name: e.string().optional(),
|
|
15955
16036
|
prod: e.string().optional(),
|
|
15956
16037
|
scope: e.array(e.string()).optional(),
|
|
15957
16038
|
user: e.object({
|
|
@@ -16020,6 +16101,7 @@ e.object({
|
|
|
16020
16101
|
expiresAt: e.string().optional(),
|
|
16021
16102
|
id: e.string().optional(),
|
|
16022
16103
|
issuedAt: e.string().optional(),
|
|
16104
|
+
name: e.string().optional(),
|
|
16023
16105
|
prod: e.string().optional(),
|
|
16024
16106
|
scope: e.array(e.string()).optional(),
|
|
16025
16107
|
user: e.object({
|
|
@@ -16080,6 +16162,7 @@ e.object({
|
|
|
16080
16162
|
expiresAt: e.string().optional(),
|
|
16081
16163
|
id: e.string().optional(),
|
|
16082
16164
|
issuedAt: e.string().optional(),
|
|
16165
|
+
name: e.string().optional(),
|
|
16083
16166
|
prod: e.string().optional(),
|
|
16084
16167
|
scope: e.array(e.string()).optional(),
|
|
16085
16168
|
user: e.object({
|
|
@@ -16146,6 +16229,7 @@ e.object({
|
|
|
16146
16229
|
expiresAt: e.string().optional(),
|
|
16147
16230
|
id: e.string().optional(),
|
|
16148
16231
|
issuedAt: e.string().optional(),
|
|
16232
|
+
name: e.string().optional(),
|
|
16149
16233
|
prod: e.string().optional(),
|
|
16150
16234
|
scope: e.array(e.string()).optional(),
|
|
16151
16235
|
user: e.object({
|
|
@@ -16201,6 +16285,7 @@ e.object({
|
|
|
16201
16285
|
expiresAt: e.string().optional(),
|
|
16202
16286
|
id: e.string().optional(),
|
|
16203
16287
|
issuedAt: e.string().optional(),
|
|
16288
|
+
name: e.string().optional(),
|
|
16204
16289
|
prod: e.string().optional(),
|
|
16205
16290
|
scope: e.array(e.string()).optional(),
|
|
16206
16291
|
user: e.object({
|
|
@@ -16749,7 +16834,7 @@ e.object({
|
|
|
16749
16834
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result dataset."),
|
|
16750
16835
|
id: e.array(e.string()).describe("[`record.id`]")
|
|
16751
16836
|
});
|
|
16752
|
-
const
|
|
16837
|
+
const vo = "none";
|
|
16753
16838
|
e.object({
|
|
16754
16839
|
data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
|
|
16755
16840
|
next: e.boolean().optional(),
|
|
@@ -16876,7 +16961,7 @@ code`),
|
|
|
16876
16961
|
"richtext",
|
|
16877
16962
|
"datetime",
|
|
16878
16963
|
"duration"
|
|
16879
|
-
]).default(
|
|
16964
|
+
]).default(vo).describe("Required. The field type."),
|
|
16880
16965
|
lookup: e.object({
|
|
16881
16966
|
display: e.string().optional().describe(
|
|
16882
16967
|
"[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
|
|
@@ -16977,14 +17062,14 @@ Used as [lookup].id setting for this [struct] type.`
|
|
|
16977
17062
|
e.object({
|
|
16978
17063
|
repo: e.string().describe("[`types.repo`]")
|
|
16979
17064
|
});
|
|
16980
|
-
const
|
|
17065
|
+
const Oo = "*", Eo = /^[+|-|!]?\w+$/, Co = "*";
|
|
16981
17066
|
e.object({
|
|
16982
17067
|
size: e.number().optional().describe(`Number of result records (per page).
|
|
16983
17068
|
Default: 16.`),
|
|
16984
17069
|
page: e.number().optional().describe(`Page number of result set of records.
|
|
16985
17070
|
Default: 1.`),
|
|
16986
17071
|
sort: e.array(
|
|
16987
|
-
e.string().regex(Eo).default(
|
|
17072
|
+
e.string().regex(Eo).default(Oo)
|
|
16988
17073
|
).optional().describe(
|
|
16989
17074
|
'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = "-" / "!"\nASC = [ "+" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.'
|
|
16990
17075
|
),
|
|
@@ -17009,7 +17094,7 @@ USCORE = %x5F ; underscore ; "_"
|
|
|
17009
17094
|
id: e.array(e.string()).optional().describe("[`record.id`]"),
|
|
17010
17095
|
filters: e.string().optional().describe("Filter string in CEL format.")
|
|
17011
17096
|
});
|
|
17012
|
-
const
|
|
17097
|
+
const qo = "none";
|
|
17013
17098
|
e.object({
|
|
17014
17099
|
data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
|
|
17015
17100
|
next: e.boolean().optional(),
|
|
@@ -17136,7 +17221,7 @@ code`),
|
|
|
17136
17221
|
"richtext",
|
|
17137
17222
|
"datetime",
|
|
17138
17223
|
"duration"
|
|
17139
|
-
]).default(
|
|
17224
|
+
]).default(qo).describe("Required. The field type."),
|
|
17140
17225
|
lookup: e.object({
|
|
17141
17226
|
display: e.string().optional().describe(
|
|
17142
17227
|
"[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
|
|
@@ -17242,7 +17327,7 @@ e.looseObject({});
|
|
|
17242
17327
|
e.object({
|
|
17243
17328
|
repo: e.string().describe("`types.repo`")
|
|
17244
17329
|
});
|
|
17245
|
-
const
|
|
17330
|
+
const So = "continue", _o = "continue";
|
|
17246
17331
|
e.object({
|
|
17247
17332
|
data: e.string().optional(),
|
|
17248
17333
|
fields: e.record(e.string(), e.number()).optional(),
|
|
@@ -17251,11 +17336,11 @@ e.object({
|
|
|
17251
17336
|
onDataError: e.enum([
|
|
17252
17337
|
"continue",
|
|
17253
17338
|
"break"
|
|
17254
|
-
]).default(
|
|
17339
|
+
]).default(So),
|
|
17255
17340
|
onEmptyLine: e.enum([
|
|
17256
17341
|
"continue",
|
|
17257
17342
|
"break"
|
|
17258
|
-
]).default(
|
|
17343
|
+
]).default(_o)
|
|
17259
17344
|
});
|
|
17260
17345
|
const ko = "none";
|
|
17261
17346
|
e.object({
|
|
@@ -17489,7 +17574,7 @@ e.object({
|
|
|
17489
17574
|
e.object({
|
|
17490
17575
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result dataset.")
|
|
17491
17576
|
});
|
|
17492
|
-
const
|
|
17577
|
+
const xo = "none";
|
|
17493
17578
|
e.object({
|
|
17494
17579
|
data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
|
|
17495
17580
|
next: e.boolean().optional(),
|
|
@@ -17616,7 +17701,7 @@ code`),
|
|
|
17616
17701
|
"richtext",
|
|
17617
17702
|
"datetime",
|
|
17618
17703
|
"duration"
|
|
17619
|
-
]).default(
|
|
17704
|
+
]).default(xo).describe("Required. The field type."),
|
|
17620
17705
|
lookup: e.object({
|
|
17621
17706
|
display: e.string().optional().describe(
|
|
17622
17707
|
"[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
|
|
@@ -17718,9 +17803,9 @@ e.object({
|
|
|
17718
17803
|
repo: e.string().describe("[`types.repo`]"),
|
|
17719
17804
|
id: e.string().describe("[`record.id`]")
|
|
17720
17805
|
});
|
|
17721
|
-
const
|
|
17806
|
+
const Uo = "*";
|
|
17722
17807
|
e.object({
|
|
17723
|
-
fields: e.array(e.string().default(
|
|
17808
|
+
fields: e.array(e.string().default(Uo)).optional().describe(
|
|
17724
17809
|
`Fields [Q]uery to build result dataset record.
|
|
17725
17810
|
\`\`\`
|
|
17726
17811
|
fields ::= field [ *( "," field ) ]
|
|
@@ -20254,14 +20339,14 @@ e.object({
|
|
|
20254
20339
|
smtpHost: e.string().optional(),
|
|
20255
20340
|
smtpPort: e.number().optional()
|
|
20256
20341
|
});
|
|
20257
|
-
const
|
|
20342
|
+
const Qo = "EmailAuthTypeUndefined";
|
|
20258
20343
|
e.object({
|
|
20259
20344
|
activityAt: e.string().optional(),
|
|
20260
20345
|
authType: e.enum([
|
|
20261
20346
|
"EmailAuthTypeUndefined",
|
|
20262
20347
|
"Plain",
|
|
20263
20348
|
"OAuth2"
|
|
20264
|
-
]).default(
|
|
20349
|
+
]).default(Qo),
|
|
20265
20350
|
createdAt: e.string().optional(),
|
|
20266
20351
|
createdBy: e.object({
|
|
20267
20352
|
id: e.string().optional(),
|
|
@@ -20303,14 +20388,14 @@ e.object({
|
|
|
20303
20388
|
e.object({
|
|
20304
20389
|
id: e.string()
|
|
20305
20390
|
});
|
|
20306
|
-
const
|
|
20391
|
+
const Wo = "EmailAuthTypeUndefined";
|
|
20307
20392
|
e.object({
|
|
20308
20393
|
activityAt: e.string().optional(),
|
|
20309
20394
|
authType: e.enum([
|
|
20310
20395
|
"EmailAuthTypeUndefined",
|
|
20311
20396
|
"Plain",
|
|
20312
20397
|
"OAuth2"
|
|
20313
|
-
]).default(
|
|
20398
|
+
]).default(Wo),
|
|
20314
20399
|
createdAt: e.string().optional(),
|
|
20315
20400
|
createdBy: e.object({
|
|
20316
20401
|
id: e.string().optional(),
|
|
@@ -23236,7 +23321,7 @@ e.object({
|
|
|
23236
23321
|
e.object({
|
|
23237
23322
|
agent_id: e.string()
|
|
23238
23323
|
});
|
|
23239
|
-
const Di = "PDF",
|
|
23324
|
+
const Di = "PDF", vi = "SCREENRECORDING";
|
|
23240
23325
|
e.object({
|
|
23241
23326
|
page: e.number().optional(),
|
|
23242
23327
|
size: e.number().optional(),
|
|
@@ -23257,9 +23342,9 @@ e.object({
|
|
|
23257
23342
|
channel: e.enum([
|
|
23258
23343
|
"SCREENRECORDING",
|
|
23259
23344
|
"CALL"
|
|
23260
|
-
]).default(
|
|
23345
|
+
]).default(vi)
|
|
23261
23346
|
});
|
|
23262
|
-
const
|
|
23347
|
+
const Oi = "UnknownChannel";
|
|
23263
23348
|
e.object({
|
|
23264
23349
|
items: e.array(
|
|
23265
23350
|
e.object({
|
|
@@ -23274,7 +23359,7 @@ e.object({
|
|
|
23274
23359
|
"CasesChannel",
|
|
23275
23360
|
"ScreenRecordingChannel"
|
|
23276
23361
|
]).default(
|
|
23277
|
-
|
|
23362
|
+
Oi
|
|
23278
23363
|
),
|
|
23279
23364
|
id: e.string().optional(),
|
|
23280
23365
|
mimeType: e.string().optional(),
|
|
@@ -23399,7 +23484,7 @@ e.looseObject({});
|
|
|
23399
23484
|
e.object({
|
|
23400
23485
|
user_id: e.string()
|
|
23401
23486
|
});
|
|
23402
|
-
const Ci = "PDF",
|
|
23487
|
+
const Ci = "PDF", qi = "SCREENRECORDING";
|
|
23403
23488
|
e.object({
|
|
23404
23489
|
page: e.number().optional(),
|
|
23405
23490
|
size: e.number().optional(),
|
|
@@ -23420,9 +23505,9 @@ e.object({
|
|
|
23420
23505
|
channel: e.enum([
|
|
23421
23506
|
"SCREENRECORDING",
|
|
23422
23507
|
"CALL"
|
|
23423
|
-
]).default(
|
|
23508
|
+
]).default(qi)
|
|
23424
23509
|
});
|
|
23425
|
-
const
|
|
23510
|
+
const Si = "UnknownChannel";
|
|
23426
23511
|
e.object({
|
|
23427
23512
|
items: e.array(
|
|
23428
23513
|
e.object({
|
|
@@ -23436,7 +23521,7 @@ e.object({
|
|
|
23436
23521
|
"KnowledgebaseChannel",
|
|
23437
23522
|
"CasesChannel",
|
|
23438
23523
|
"ScreenRecordingChannel"
|
|
23439
|
-
]).default(
|
|
23524
|
+
]).default(Si),
|
|
23440
23525
|
id: e.string().optional(),
|
|
23441
23526
|
mimeType: e.string().optional(),
|
|
23442
23527
|
name: e.string().optional(),
|
|
@@ -23712,7 +23797,7 @@ e.object({
|
|
|
23712
23797
|
).optional(),
|
|
23713
23798
|
next: e.boolean().optional()
|
|
23714
23799
|
});
|
|
23715
|
-
const
|
|
23800
|
+
const _i = "GROUP_TYPE_UNSPECIFIED";
|
|
23716
23801
|
e.object({
|
|
23717
23802
|
page: e.number().optional().describe("Page number of result dataset records. offset = (page*size)"),
|
|
23718
23803
|
size: e.number().optional().describe("Size count of records on result page. limit = (size++)"),
|
|
@@ -23727,7 +23812,7 @@ e.object({
|
|
|
23727
23812
|
"GROUP_TYPE_UNSPECIFIED",
|
|
23728
23813
|
"STATIC",
|
|
23729
23814
|
"DYNAMIC"
|
|
23730
|
-
]).default(
|
|
23815
|
+
]).default(_i).describe(
|
|
23731
23816
|
`Filter by group type.
|
|
23732
23817
|
|
|
23733
23818
|
- GROUP_TYPE_UNSPECIFIED: Default value
|
|
@@ -23805,7 +23890,7 @@ e.object({
|
|
|
23805
23890
|
enabled: e.boolean().optional().describe("The enabled status of the group."),
|
|
23806
23891
|
name: e.string().describe("The name of the group.")
|
|
23807
23892
|
}).describe("Request message for creating a new group.");
|
|
23808
|
-
const
|
|
23893
|
+
const xi = "GROUP_TYPE_UNSPECIFIED";
|
|
23809
23894
|
e.object({
|
|
23810
23895
|
conditions: e.array(
|
|
23811
23896
|
e.object({
|
|
@@ -23849,7 +23934,7 @@ e.object({
|
|
|
23849
23934
|
"GROUP_TYPE_UNSPECIFIED",
|
|
23850
23935
|
"STATIC",
|
|
23851
23936
|
"DYNAMIC"
|
|
23852
|
-
]).default(
|
|
23937
|
+
]).default(xi).describe(
|
|
23853
23938
|
`- GROUP_TYPE_UNSPECIFIED: Default value
|
|
23854
23939
|
- STATIC: Static group
|
|
23855
23940
|
- DYNAMIC: Dynamic group`
|
|
@@ -25014,7 +25099,7 @@ OUTPUT purpose only.`)
|
|
|
25014
25099
|
e.object({
|
|
25015
25100
|
id: e.string().describe("The unique ID of the group to delete.")
|
|
25016
25101
|
});
|
|
25017
|
-
const
|
|
25102
|
+
const Ui = "GROUP_TYPE_UNSPECIFIED";
|
|
25018
25103
|
e.object({
|
|
25019
25104
|
conditions: e.array(
|
|
25020
25105
|
e.object({
|
|
@@ -25058,7 +25143,7 @@ e.object({
|
|
|
25058
25143
|
"GROUP_TYPE_UNSPECIFIED",
|
|
25059
25144
|
"STATIC",
|
|
25060
25145
|
"DYNAMIC"
|
|
25061
|
-
]).default(
|
|
25146
|
+
]).default(Ui).describe(
|
|
25062
25147
|
`- GROUP_TYPE_UNSPECIFIED: Default value
|
|
25063
25148
|
- STATIC: Static group
|
|
25064
25149
|
- DYNAMIC: Dynamic group`
|
|
@@ -25708,7 +25793,7 @@ e.object({
|
|
|
25708
25793
|
e.object({
|
|
25709
25794
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result.")
|
|
25710
25795
|
});
|
|
25711
|
-
const
|
|
25796
|
+
const Qi = e.object({
|
|
25712
25797
|
etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
25713
25798
|
label: e.string().optional().describe(
|
|
25714
25799
|
`REQUIRED. Hashtag value;
|
|
@@ -25718,7 +25803,7 @@ but adding capital letters does make them easier to read:
|
|
|
25718
25803
|
)
|
|
25719
25804
|
}).describe(`A Contact's associated Tag.
|
|
25720
25805
|
Output purpose only.`);
|
|
25721
|
-
e.array(
|
|
25806
|
+
e.array(Qi);
|
|
25722
25807
|
e.object({
|
|
25723
25808
|
data: e.array(
|
|
25724
25809
|
e.object({
|
|
@@ -25878,7 +25963,7 @@ e.object({
|
|
|
25878
25963
|
e.object({
|
|
25879
25964
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result.")
|
|
25880
25965
|
});
|
|
25881
|
-
const
|
|
25966
|
+
const Wi = e.object({
|
|
25882
25967
|
etag: e.string().describe("Unique ID of the latest version of an existing association."),
|
|
25883
25968
|
primary: e.boolean().optional().describe(
|
|
25884
25969
|
`Indicates whether this association must be default
|
|
@@ -25886,7 +25971,7 @@ among others of the same type.`
|
|
|
25886
25971
|
),
|
|
25887
25972
|
tag: e.string().optional()
|
|
25888
25973
|
}).describe("An input of the Contact's language.");
|
|
25889
|
-
e.array(
|
|
25974
|
+
e.array(Wi);
|
|
25890
25975
|
e.object({
|
|
25891
25976
|
data: e.array(
|
|
25892
25977
|
e.object({
|
|
@@ -36152,7 +36237,7 @@ e.object({
|
|
|
36152
36237
|
e.object({
|
|
36153
36238
|
fields: e.array(e.string()).optional().describe("Fields to return in the response.")
|
|
36154
36239
|
});
|
|
36155
|
-
const
|
|
36240
|
+
const vn = "RELATION_TYPE_UNSPECIFIED";
|
|
36156
36241
|
e.object({
|
|
36157
36242
|
createdAt: e.string().optional().describe(
|
|
36158
36243
|
"Timestamp (in milliseconds) of when the relation was created."
|
|
@@ -36190,7 +36275,7 @@ e.object({
|
|
|
36190
36275
|
"IS_CHILD_OF",
|
|
36191
36276
|
"IS_PARENT_OF",
|
|
36192
36277
|
"RELATES_TO"
|
|
36193
|
-
]).default(
|
|
36278
|
+
]).default(vn).describe("Relation type between cases."),
|
|
36194
36279
|
updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
|
|
36195
36280
|
updatedBy: e.object({
|
|
36196
36281
|
id: e.string().optional(),
|
|
@@ -36537,7 +36622,7 @@ e.object({
|
|
|
36537
36622
|
editor: e.boolean().optional(),
|
|
36538
36623
|
tags: e.array(e.string()).optional()
|
|
36539
36624
|
});
|
|
36540
|
-
const
|
|
36625
|
+
const On = "default";
|
|
36541
36626
|
e.object({
|
|
36542
36627
|
items: e.array(
|
|
36543
36628
|
e.object({
|
|
@@ -36562,7 +36647,7 @@ e.object({
|
|
|
36562
36647
|
"chat",
|
|
36563
36648
|
"processing",
|
|
36564
36649
|
"service"
|
|
36565
|
-
]).default(
|
|
36650
|
+
]).default(On),
|
|
36566
36651
|
updatedAt: e.string().optional(),
|
|
36567
36652
|
updatedBy: e.object({
|
|
36568
36653
|
id: e.string().optional(),
|
|
@@ -36652,7 +36737,7 @@ e.object({
|
|
|
36652
36737
|
e.object({
|
|
36653
36738
|
domainId: e.string().optional()
|
|
36654
36739
|
});
|
|
36655
|
-
const
|
|
36740
|
+
const qn = "default";
|
|
36656
36741
|
e.object({
|
|
36657
36742
|
tags: e.array(
|
|
36658
36743
|
e.object({
|
|
@@ -36675,7 +36760,7 @@ e.object({
|
|
|
36675
36760
|
"chat",
|
|
36676
36761
|
"processing",
|
|
36677
36762
|
"service"
|
|
36678
|
-
]).default(
|
|
36763
|
+
]).default(qn),
|
|
36679
36764
|
updatedAt: e.string().optional(),
|
|
36680
36765
|
updatedBy: e.object({
|
|
36681
36766
|
id: e.string().optional(),
|
|
@@ -36688,7 +36773,7 @@ e.object({
|
|
|
36688
36773
|
e.object({
|
|
36689
36774
|
domainId: e.string().optional()
|
|
36690
36775
|
});
|
|
36691
|
-
const
|
|
36776
|
+
const Sn = "default";
|
|
36692
36777
|
e.object({
|
|
36693
36778
|
tags: e.array(
|
|
36694
36779
|
e.object({
|
|
@@ -36711,7 +36796,7 @@ e.object({
|
|
|
36711
36796
|
"chat",
|
|
36712
36797
|
"processing",
|
|
36713
36798
|
"service"
|
|
36714
|
-
]).default(
|
|
36799
|
+
]).default(Sn),
|
|
36715
36800
|
updatedAt: e.string().optional(),
|
|
36716
36801
|
updatedBy: e.object({
|
|
36717
36802
|
id: e.string().optional(),
|
|
@@ -36721,7 +36806,7 @@ e.object({
|
|
|
36721
36806
|
e.object({
|
|
36722
36807
|
id: e.string()
|
|
36723
36808
|
});
|
|
36724
|
-
const
|
|
36809
|
+
const _n = "default";
|
|
36725
36810
|
e.object({
|
|
36726
36811
|
tags: e.array(
|
|
36727
36812
|
e.object({
|
|
@@ -36740,7 +36825,7 @@ e.object({
|
|
|
36740
36825
|
"chat",
|
|
36741
36826
|
"processing",
|
|
36742
36827
|
"service"
|
|
36743
|
-
]).default(
|
|
36828
|
+
]).default(_n)
|
|
36744
36829
|
});
|
|
36745
36830
|
const kn = "default";
|
|
36746
36831
|
e.object({
|
|
@@ -36775,7 +36860,7 @@ e.object({
|
|
|
36775
36860
|
e.object({
|
|
36776
36861
|
id: e.string()
|
|
36777
36862
|
});
|
|
36778
|
-
const
|
|
36863
|
+
const xn = "default";
|
|
36779
36864
|
e.object({
|
|
36780
36865
|
tags: e.array(
|
|
36781
36866
|
e.object({
|
|
@@ -36793,9 +36878,9 @@ e.object({
|
|
|
36793
36878
|
"chat",
|
|
36794
36879
|
"processing",
|
|
36795
36880
|
"service"
|
|
36796
|
-
]).default(
|
|
36881
|
+
]).default(xn)
|
|
36797
36882
|
});
|
|
36798
|
-
const
|
|
36883
|
+
const Un = "default";
|
|
36799
36884
|
e.object({
|
|
36800
36885
|
tags: e.array(
|
|
36801
36886
|
e.object({
|
|
@@ -36818,7 +36903,7 @@ e.object({
|
|
|
36818
36903
|
"chat",
|
|
36819
36904
|
"processing",
|
|
36820
36905
|
"service"
|
|
36821
|
-
]).default(
|
|
36906
|
+
]).default(Un),
|
|
36822
36907
|
updatedAt: e.string().optional(),
|
|
36823
36908
|
updatedBy: e.object({
|
|
36824
36909
|
id: e.string().optional(),
|
|
@@ -38382,10 +38467,10 @@ e.object({
|
|
|
38382
38467
|
Specific fields to include in response`
|
|
38383
38468
|
)
|
|
38384
38469
|
});
|
|
38385
|
-
const Vn =
|
|
38470
|
+
const Vn = 500, Yn = 2, Gn = 100, Hn = "TYPE_UNSPECIFIED";
|
|
38386
38471
|
e.object({
|
|
38387
|
-
description: e.string().max(
|
|
38388
|
-
name: e.string().min(
|
|
38472
|
+
description: e.string().max(Vn).optional().describe("A short description of the source"),
|
|
38473
|
+
name: e.string().min(Yn).max(Gn).describe("The name of the source"),
|
|
38389
38474
|
type: e.enum([
|
|
38390
38475
|
"TYPE_UNSPECIFIED",
|
|
38391
38476
|
"CALL",
|
|
@@ -38394,18 +38479,18 @@ e.object({
|
|
|
38394
38479
|
"EMAIL",
|
|
38395
38480
|
"API",
|
|
38396
38481
|
"MANUAL"
|
|
38397
|
-
]).default(
|
|
38398
|
-
}).
|
|
38399
|
-
const
|
|
38482
|
+
]).default(Hn).describe("The type of the source")
|
|
38483
|
+
}).describe("The data structure representing a source");
|
|
38484
|
+
const Kn = 500, Qn = 3, Wn = 100, Xn = "TYPE_UNSPECIFIED";
|
|
38400
38485
|
e.object({
|
|
38401
38486
|
createdAt: e.string().describe("Unix timestamp representing when the source was created."),
|
|
38402
38487
|
createdBy: e.object({
|
|
38403
38488
|
id: e.string().optional(),
|
|
38404
38489
|
name: e.string().optional()
|
|
38405
38490
|
}).describe("Reference to the user who originally created this source."),
|
|
38406
|
-
description: e.string().max(
|
|
38491
|
+
description: e.string().max(Kn).optional().describe("An optional longer explanation of the source's purpose."),
|
|
38407
38492
|
id: e.string().describe("Unique identifier for the source, generated automatically."),
|
|
38408
|
-
name: e.string().min(
|
|
38493
|
+
name: e.string().min(Qn).max(Wn).describe("A unique, descriptive name for the source."),
|
|
38409
38494
|
type: e.enum([
|
|
38410
38495
|
"TYPE_UNSPECIFIED",
|
|
38411
38496
|
"CALL",
|
|
@@ -38414,7 +38499,7 @@ e.object({
|
|
|
38414
38499
|
"EMAIL",
|
|
38415
38500
|
"API",
|
|
38416
38501
|
"MANUAL"
|
|
38417
|
-
]).default(
|
|
38502
|
+
]).default(Xn).describe("The type of data source represented by this entry."),
|
|
38418
38503
|
updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
|
|
38419
38504
|
updatedBy: e.object({
|
|
38420
38505
|
id: e.string().optional(),
|
|
@@ -38426,16 +38511,16 @@ e.object({
|
|
|
38426
38511
|
e.object({
|
|
38427
38512
|
id: e.string().describe("The unique ID of the source to delete.")
|
|
38428
38513
|
});
|
|
38429
|
-
const
|
|
38514
|
+
const Jn = 500, $n = 3, Zn = 100, ea = "TYPE_UNSPECIFIED";
|
|
38430
38515
|
e.object({
|
|
38431
38516
|
createdAt: e.string().describe("Unix timestamp representing when the source was created."),
|
|
38432
38517
|
createdBy: e.object({
|
|
38433
38518
|
id: e.string().optional(),
|
|
38434
38519
|
name: e.string().optional()
|
|
38435
38520
|
}).describe("Reference to the user who originally created this source."),
|
|
38436
|
-
description: e.string().max(
|
|
38521
|
+
description: e.string().max(Jn).optional().describe("An optional longer explanation of the source's purpose."),
|
|
38437
38522
|
id: e.string().describe("Unique identifier for the source, generated automatically."),
|
|
38438
|
-
name: e.string().min(
|
|
38523
|
+
name: e.string().min($n).max(Zn).describe("A unique, descriptive name for the source."),
|
|
38439
38524
|
type: e.enum([
|
|
38440
38525
|
"TYPE_UNSPECIFIED",
|
|
38441
38526
|
"CALL",
|
|
@@ -38444,7 +38529,7 @@ e.object({
|
|
|
38444
38529
|
"EMAIL",
|
|
38445
38530
|
"API",
|
|
38446
38531
|
"MANUAL"
|
|
38447
|
-
]).default(
|
|
38532
|
+
]).default(ea).describe("The type of data source represented by this entry."),
|
|
38448
38533
|
updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
|
|
38449
38534
|
updatedBy: e.object({
|
|
38450
38535
|
id: e.string().optional(),
|
|
@@ -38459,7 +38544,7 @@ e.object({
|
|
|
38459
38544
|
e.object({
|
|
38460
38545
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result.")
|
|
38461
38546
|
});
|
|
38462
|
-
const
|
|
38547
|
+
const ta = 500, oa = 3, ia = 100, na = "TYPE_UNSPECIFIED";
|
|
38463
38548
|
e.object({
|
|
38464
38549
|
source: e.object({
|
|
38465
38550
|
createdAt: e.string().describe("Unix timestamp representing when the source was created."),
|
|
@@ -38469,11 +38554,11 @@ e.object({
|
|
|
38469
38554
|
}).describe(
|
|
38470
38555
|
"Reference to the user who originally created this source."
|
|
38471
38556
|
),
|
|
38472
|
-
description: e.string().max(
|
|
38557
|
+
description: e.string().max(ta).optional().describe("An optional longer explanation of the source's purpose."),
|
|
38473
38558
|
id: e.string().describe(
|
|
38474
38559
|
"Unique identifier for the source, generated automatically."
|
|
38475
38560
|
),
|
|
38476
|
-
name: e.string().min(
|
|
38561
|
+
name: e.string().min(oa).max(ia).describe("A unique, descriptive name for the source."),
|
|
38477
38562
|
type: e.enum([
|
|
38478
38563
|
"TYPE_UNSPECIFIED",
|
|
38479
38564
|
"CALL",
|
|
@@ -38482,7 +38567,7 @@ e.object({
|
|
|
38482
38567
|
"EMAIL",
|
|
38483
38568
|
"API",
|
|
38484
38569
|
"MANUAL"
|
|
38485
|
-
]).default(
|
|
38570
|
+
]).default(na).describe("The type of data source represented by this entry."),
|
|
38486
38571
|
updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
|
|
38487
38572
|
updatedBy: e.object({
|
|
38488
38573
|
id: e.string().optional(),
|
|
@@ -38498,10 +38583,10 @@ e.object({
|
|
|
38498
38583
|
e.object({
|
|
38499
38584
|
fields: e.array(e.string()).optional()
|
|
38500
38585
|
});
|
|
38501
|
-
const
|
|
38586
|
+
const aa = 500, ra = 2, sa = 100, la = "TYPE_UNSPECIFIED";
|
|
38502
38587
|
e.object({
|
|
38503
|
-
description: e.string().max(
|
|
38504
|
-
name: e.string().min(
|
|
38588
|
+
description: e.string().max(aa).optional().describe("A short description of the source"),
|
|
38589
|
+
name: e.string().min(ra).max(sa).describe("The name of the source"),
|
|
38505
38590
|
type: e.enum([
|
|
38506
38591
|
"TYPE_UNSPECIFIED",
|
|
38507
38592
|
"CALL",
|
|
@@ -38510,18 +38595,18 @@ e.object({
|
|
|
38510
38595
|
"EMAIL",
|
|
38511
38596
|
"API",
|
|
38512
38597
|
"MANUAL"
|
|
38513
|
-
]).default(
|
|
38514
|
-
}).
|
|
38515
|
-
const
|
|
38598
|
+
]).default(la).describe("The type of the source")
|
|
38599
|
+
}).describe("The data structure representing a source");
|
|
38600
|
+
const pa = 500, ca = 3, da = 100, ba = "TYPE_UNSPECIFIED";
|
|
38516
38601
|
e.object({
|
|
38517
38602
|
createdAt: e.string().describe("Unix timestamp representing when the source was created."),
|
|
38518
38603
|
createdBy: e.object({
|
|
38519
38604
|
id: e.string().optional(),
|
|
38520
38605
|
name: e.string().optional()
|
|
38521
38606
|
}).describe("Reference to the user who originally created this source."),
|
|
38522
|
-
description: e.string().max(
|
|
38607
|
+
description: e.string().max(pa).optional().describe("An optional longer explanation of the source's purpose."),
|
|
38523
38608
|
id: e.string().describe("Unique identifier for the source, generated automatically."),
|
|
38524
|
-
name: e.string().min(
|
|
38609
|
+
name: e.string().min(ca).max(da).describe("A unique, descriptive name for the source."),
|
|
38525
38610
|
type: e.enum([
|
|
38526
38611
|
"TYPE_UNSPECIFIED",
|
|
38527
38612
|
"CALL",
|
|
@@ -38530,7 +38615,7 @@ e.object({
|
|
|
38530
38615
|
"EMAIL",
|
|
38531
38616
|
"API",
|
|
38532
38617
|
"MANUAL"
|
|
38533
|
-
]).default(
|
|
38618
|
+
]).default(ba).describe("The type of data source represented by this entry."),
|
|
38534
38619
|
updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
|
|
38535
38620
|
updatedBy: e.object({
|
|
38536
38621
|
id: e.string().optional(),
|
|
@@ -38545,10 +38630,10 @@ e.object({
|
|
|
38545
38630
|
e.object({
|
|
38546
38631
|
fields: e.array(e.string()).optional()
|
|
38547
38632
|
});
|
|
38548
|
-
const
|
|
38633
|
+
const ga = 500, ua = 2, ma = 100, fa = "TYPE_UNSPECIFIED";
|
|
38549
38634
|
e.object({
|
|
38550
|
-
description: e.string().max(
|
|
38551
|
-
name: e.string().min(
|
|
38635
|
+
description: e.string().max(ga).optional().describe("A short description of the source"),
|
|
38636
|
+
name: e.string().min(ua).max(ma).describe("The name of the source"),
|
|
38552
38637
|
type: e.enum([
|
|
38553
38638
|
"TYPE_UNSPECIFIED",
|
|
38554
38639
|
"CALL",
|
|
@@ -38557,18 +38642,18 @@ e.object({
|
|
|
38557
38642
|
"EMAIL",
|
|
38558
38643
|
"API",
|
|
38559
38644
|
"MANUAL"
|
|
38560
|
-
]).default(
|
|
38561
|
-
}).
|
|
38562
|
-
const
|
|
38645
|
+
]).default(fa).describe("The type of the source")
|
|
38646
|
+
}).describe("The data structure representing a source");
|
|
38647
|
+
const ha = 500, ya = 3, ja = 100, Ia = "TYPE_UNSPECIFIED";
|
|
38563
38648
|
e.object({
|
|
38564
38649
|
createdAt: e.string().describe("Unix timestamp representing when the source was created."),
|
|
38565
38650
|
createdBy: e.object({
|
|
38566
38651
|
id: e.string().optional(),
|
|
38567
38652
|
name: e.string().optional()
|
|
38568
38653
|
}).describe("Reference to the user who originally created this source."),
|
|
38569
|
-
description: e.string().max(
|
|
38654
|
+
description: e.string().max(ha).optional().describe("An optional longer explanation of the source's purpose."),
|
|
38570
38655
|
id: e.string().describe("Unique identifier for the source, generated automatically."),
|
|
38571
|
-
name: e.string().min(
|
|
38656
|
+
name: e.string().min(ya).max(ja).describe("A unique, descriptive name for the source."),
|
|
38572
38657
|
type: e.enum([
|
|
38573
38658
|
"TYPE_UNSPECIFIED",
|
|
38574
38659
|
"CALL",
|
|
@@ -38577,7 +38662,7 @@ e.object({
|
|
|
38577
38662
|
"EMAIL",
|
|
38578
38663
|
"API",
|
|
38579
38664
|
"MANUAL"
|
|
38580
|
-
]).default(
|
|
38665
|
+
]).default(Ia).describe("The type of data source represented by this entry."),
|
|
38581
38666
|
updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
|
|
38582
38667
|
updatedBy: e.object({
|
|
38583
38668
|
id: e.string().optional(),
|
|
@@ -38586,7 +38671,7 @@ e.object({
|
|
|
38586
38671
|
"Reference to the user who most recently modified this source."
|
|
38587
38672
|
)
|
|
38588
38673
|
}).describe("Represents a data source in the contact management system.");
|
|
38589
|
-
const
|
|
38674
|
+
const Ta = "id", Ra = /^[+|-|!]?\w+$/, Aa = "*";
|
|
38590
38675
|
e.object({
|
|
38591
38676
|
page: e.number().optional(),
|
|
38592
38677
|
size: e.number().optional().describe(
|
|
@@ -38604,7 +38689,7 @@ const
|
|
|
38604
38689
|
"Search term:\n`?` - matches any character\n`*` - matches 0 or more characters\nUsed to query records within a set of `qin` fields, eg: name, etc..."
|
|
38605
38690
|
),
|
|
38606
38691
|
sort: e.array(
|
|
38607
|
-
e.string().regex(
|
|
38692
|
+
e.string().regex(Ra).default(Ta)
|
|
38608
38693
|
).optional().describe(
|
|
38609
38694
|
`Sort result dataset of records by fields.
|
|
38610
38695
|
\`\`\`
|
|
@@ -38621,7 +38706,7 @@ Fields available
|
|
|
38621
38706
|
- \`domain\`{name}
|
|
38622
38707
|
- \`state\``
|
|
38623
38708
|
),
|
|
38624
|
-
fields: e.array(e.string().default(
|
|
38709
|
+
fields: e.array(e.string().default(Aa)).optional(),
|
|
38625
38710
|
id: e.array(e.string()).optional().describe("Records with unique IDentifier(s).\nAccept: `id` -or- `etag`.")
|
|
38626
38711
|
});
|
|
38627
38712
|
e.object({
|
|
@@ -38668,7 +38753,7 @@ Version of the latest update. Numeric sequence.`
|
|
|
38668
38753
|
e.object({
|
|
38669
38754
|
fields: e.array(e.string()).optional().describe("Source Fields to return into result.")
|
|
38670
38755
|
});
|
|
38671
|
-
const
|
|
38756
|
+
const wa = e.object({
|
|
38672
38757
|
etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
38673
38758
|
homePage: e.string().optional().describe(
|
|
38674
38759
|
`BIO. Short description about the space.
|
|
@@ -38677,7 +38762,7 @@ OPTIONAL. Multi-lined text.`
|
|
|
38677
38762
|
name: e.string().optional().describe("Represents the name of the knowledge base space."),
|
|
38678
38763
|
state: e.boolean().optional().describe("The state of the space.")
|
|
38679
38764
|
}).describe("The Space principal input.");
|
|
38680
|
-
e.array(
|
|
38765
|
+
e.array(wa);
|
|
38681
38766
|
e.object({
|
|
38682
38767
|
createdAt: e.string().optional().describe("The timestamp when the space was created (in Unix time)."),
|
|
38683
38768
|
createdBy: e.object({
|
|
@@ -39210,7 +39295,7 @@ e.object({
|
|
|
39210
39295
|
])
|
|
39211
39296
|
).optional().describe("Filter by setting names")
|
|
39212
39297
|
});
|
|
39213
|
-
const
|
|
39298
|
+
const Da = "empty_system_settings_name";
|
|
39214
39299
|
e.object({
|
|
39215
39300
|
items: e.array(
|
|
39216
39301
|
e.object({
|
|
@@ -39251,12 +39336,12 @@ e.object({
|
|
|
39251
39336
|
"password_warning_days",
|
|
39252
39337
|
"default_password",
|
|
39253
39338
|
"expand_contact_tabs"
|
|
39254
|
-
]).default(
|
|
39339
|
+
]).default(Da)
|
|
39255
39340
|
})
|
|
39256
39341
|
).optional(),
|
|
39257
39342
|
next: e.boolean().optional()
|
|
39258
39343
|
});
|
|
39259
|
-
const
|
|
39344
|
+
const va = "empty_system_settings_name";
|
|
39260
39345
|
e.object({
|
|
39261
39346
|
name: e.enum([
|
|
39262
39347
|
"empty_system_settings_name",
|
|
@@ -39294,9 +39379,9 @@ e.object({
|
|
|
39294
39379
|
"password_warning_days",
|
|
39295
39380
|
"default_password",
|
|
39296
39381
|
"expand_contact_tabs"
|
|
39297
|
-
]).default(
|
|
39382
|
+
]).default(va)
|
|
39298
39383
|
});
|
|
39299
|
-
const
|
|
39384
|
+
const Oa = "empty_system_settings_name";
|
|
39300
39385
|
e.object({
|
|
39301
39386
|
id: e.number().optional(),
|
|
39302
39387
|
name: e.enum([
|
|
@@ -39335,7 +39420,7 @@ e.object({
|
|
|
39335
39420
|
"password_warning_days",
|
|
39336
39421
|
"default_password",
|
|
39337
39422
|
"expand_contact_tabs"
|
|
39338
|
-
]).default(
|
|
39423
|
+
]).default(Oa)
|
|
39339
39424
|
});
|
|
39340
39425
|
e.object({
|
|
39341
39426
|
page: e.number().optional(),
|
|
@@ -39355,7 +39440,7 @@ e.object({
|
|
|
39355
39440
|
e.object({
|
|
39356
39441
|
id: e.number()
|
|
39357
39442
|
});
|
|
39358
|
-
const
|
|
39443
|
+
const Ea = "empty_system_settings_name";
|
|
39359
39444
|
e.object({
|
|
39360
39445
|
id: e.number().optional(),
|
|
39361
39446
|
name: e.enum([
|
|
@@ -39394,12 +39479,12 @@ e.object({
|
|
|
39394
39479
|
"password_warning_days",
|
|
39395
39480
|
"default_password",
|
|
39396
39481
|
"expand_contact_tabs"
|
|
39397
|
-
]).default(
|
|
39482
|
+
]).default(Ea)
|
|
39398
39483
|
});
|
|
39399
39484
|
e.object({
|
|
39400
39485
|
id: e.number()
|
|
39401
39486
|
});
|
|
39402
|
-
const
|
|
39487
|
+
const Ca = "empty_system_settings_name";
|
|
39403
39488
|
e.object({
|
|
39404
39489
|
id: e.number().optional(),
|
|
39405
39490
|
name: e.enum([
|
|
@@ -39438,7 +39523,7 @@ e.object({
|
|
|
39438
39523
|
"password_warning_days",
|
|
39439
39524
|
"default_password",
|
|
39440
39525
|
"expand_contact_tabs"
|
|
39441
|
-
]).default(
|
|
39526
|
+
]).default(Ca)
|
|
39442
39527
|
});
|
|
39443
39528
|
e.object({
|
|
39444
39529
|
id: e.number()
|
|
@@ -39446,7 +39531,7 @@ e.object({
|
|
|
39446
39531
|
e.object({
|
|
39447
39532
|
fields: e.array(e.string()).optional()
|
|
39448
39533
|
});
|
|
39449
|
-
const
|
|
39534
|
+
const qa = "empty_system_settings_name";
|
|
39450
39535
|
e.object({
|
|
39451
39536
|
id: e.number().optional(),
|
|
39452
39537
|
name: e.enum([
|
|
@@ -39485,13 +39570,13 @@ e.object({
|
|
|
39485
39570
|
"password_warning_days",
|
|
39486
39571
|
"default_password",
|
|
39487
39572
|
"expand_contact_tabs"
|
|
39488
|
-
]).default(
|
|
39573
|
+
]).default(qa)
|
|
39489
39574
|
});
|
|
39490
39575
|
e.object({
|
|
39491
39576
|
id: e.number()
|
|
39492
39577
|
});
|
|
39493
39578
|
e.looseObject({});
|
|
39494
|
-
const
|
|
39579
|
+
const Sa = "empty_system_settings_name";
|
|
39495
39580
|
e.object({
|
|
39496
39581
|
id: e.number().optional(),
|
|
39497
39582
|
name: e.enum([
|
|
@@ -39530,7 +39615,7 @@ e.object({
|
|
|
39530
39615
|
"password_warning_days",
|
|
39531
39616
|
"default_password",
|
|
39532
39617
|
"expand_contact_tabs"
|
|
39533
|
-
]).default(
|
|
39618
|
+
]).default(Sa)
|
|
39534
39619
|
});
|
|
39535
39620
|
e.object({
|
|
39536
39621
|
page: e.number().optional(),
|
|
@@ -39563,7 +39648,7 @@ e.object({
|
|
|
39563
39648
|
])
|
|
39564
39649
|
).optional()
|
|
39565
39650
|
});
|
|
39566
|
-
const
|
|
39651
|
+
const _a = "teamHookEventUndefined";
|
|
39567
39652
|
e.object({
|
|
39568
39653
|
items: e.array(
|
|
39569
39654
|
e.object({
|
|
@@ -39571,7 +39656,7 @@ e.object({
|
|
|
39571
39656
|
event: e.enum([
|
|
39572
39657
|
"teamHookEventUndefined",
|
|
39573
39658
|
"agent_status"
|
|
39574
|
-
]).default(
|
|
39659
|
+
]).default(_a),
|
|
39575
39660
|
id: e.number().optional(),
|
|
39576
39661
|
properties: e.array(e.string()).optional(),
|
|
39577
39662
|
schema: e.object({
|
|
@@ -39585,26 +39670,26 @@ e.object({
|
|
|
39585
39670
|
e.object({
|
|
39586
39671
|
team_id: e.string()
|
|
39587
39672
|
});
|
|
39588
|
-
const
|
|
39673
|
+
const ka = "teamHookEventUndefined";
|
|
39589
39674
|
e.object({
|
|
39590
39675
|
enabled: e.boolean().optional(),
|
|
39591
39676
|
event: e.enum([
|
|
39592
39677
|
"teamHookEventUndefined",
|
|
39593
39678
|
"agent_status"
|
|
39594
|
-
]).default(
|
|
39679
|
+
]).default(ka),
|
|
39595
39680
|
properties: e.array(e.string()).optional(),
|
|
39596
39681
|
schema: e.object({
|
|
39597
39682
|
id: e.string().optional(),
|
|
39598
39683
|
name: e.string().optional()
|
|
39599
39684
|
}).optional()
|
|
39600
39685
|
});
|
|
39601
|
-
const
|
|
39686
|
+
const xa = "teamHookEventUndefined";
|
|
39602
39687
|
e.object({
|
|
39603
39688
|
enabled: e.boolean().optional(),
|
|
39604
39689
|
event: e.enum([
|
|
39605
39690
|
"teamHookEventUndefined",
|
|
39606
39691
|
"agent_status"
|
|
39607
|
-
]).default(
|
|
39692
|
+
]).default(xa),
|
|
39608
39693
|
id: e.number().optional(),
|
|
39609
39694
|
properties: e.array(e.string()).optional(),
|
|
39610
39695
|
schema: e.object({
|
|
@@ -39616,13 +39701,13 @@ e.object({
|
|
|
39616
39701
|
team_id: e.string(),
|
|
39617
39702
|
id: e.number()
|
|
39618
39703
|
});
|
|
39619
|
-
const
|
|
39704
|
+
const Ua = "teamHookEventUndefined";
|
|
39620
39705
|
e.object({
|
|
39621
39706
|
enabled: e.boolean().optional(),
|
|
39622
39707
|
event: e.enum([
|
|
39623
39708
|
"teamHookEventUndefined",
|
|
39624
39709
|
"agent_status"
|
|
39625
|
-
]).default(
|
|
39710
|
+
]).default(Ua),
|
|
39626
39711
|
id: e.number().optional(),
|
|
39627
39712
|
properties: e.array(e.string()).optional(),
|
|
39628
39713
|
schema: e.object({
|
|
@@ -39634,13 +39719,13 @@ e.object({
|
|
|
39634
39719
|
team_id: e.string(),
|
|
39635
39720
|
id: e.number()
|
|
39636
39721
|
});
|
|
39637
|
-
const
|
|
39722
|
+
const Ba = "teamHookEventUndefined";
|
|
39638
39723
|
e.object({
|
|
39639
39724
|
enabled: e.boolean().optional(),
|
|
39640
39725
|
event: e.enum([
|
|
39641
39726
|
"teamHookEventUndefined",
|
|
39642
39727
|
"agent_status"
|
|
39643
|
-
]).default(
|
|
39728
|
+
]).default(Ba),
|
|
39644
39729
|
id: e.number().optional(),
|
|
39645
39730
|
properties: e.array(e.string()).optional(),
|
|
39646
39731
|
schema: e.object({
|
|
@@ -39652,13 +39737,13 @@ e.object({
|
|
|
39652
39737
|
team_id: e.string(),
|
|
39653
39738
|
id: e.number()
|
|
39654
39739
|
});
|
|
39655
|
-
const
|
|
39740
|
+
const Na = "teamHookEventUndefined";
|
|
39656
39741
|
e.object({
|
|
39657
39742
|
enabled: e.boolean().optional(),
|
|
39658
39743
|
event: e.enum([
|
|
39659
39744
|
"teamHookEventUndefined",
|
|
39660
39745
|
"agent_status"
|
|
39661
|
-
]).default(
|
|
39746
|
+
]).default(Na),
|
|
39662
39747
|
fields: e.array(e.string()).optional(),
|
|
39663
39748
|
properties: e.array(e.string()).optional(),
|
|
39664
39749
|
schema: e.object({
|
|
@@ -39666,13 +39751,13 @@ e.object({
|
|
|
39666
39751
|
name: e.string().optional()
|
|
39667
39752
|
}).optional()
|
|
39668
39753
|
});
|
|
39669
|
-
const
|
|
39754
|
+
const Pa = "teamHookEventUndefined";
|
|
39670
39755
|
e.object({
|
|
39671
39756
|
enabled: e.boolean().optional(),
|
|
39672
39757
|
event: e.enum([
|
|
39673
39758
|
"teamHookEventUndefined",
|
|
39674
39759
|
"agent_status"
|
|
39675
|
-
]).default(
|
|
39760
|
+
]).default(Pa),
|
|
39676
39761
|
id: e.number().optional(),
|
|
39677
39762
|
properties: e.array(e.string()).optional(),
|
|
39678
39763
|
schema: e.object({
|
|
@@ -39684,26 +39769,26 @@ e.object({
|
|
|
39684
39769
|
team_id: e.string(),
|
|
39685
39770
|
id: e.number()
|
|
39686
39771
|
});
|
|
39687
|
-
const
|
|
39772
|
+
const Fa = "teamHookEventUndefined";
|
|
39688
39773
|
e.object({
|
|
39689
39774
|
enabled: e.boolean().optional(),
|
|
39690
39775
|
event: e.enum([
|
|
39691
39776
|
"teamHookEventUndefined",
|
|
39692
39777
|
"agent_status"
|
|
39693
|
-
]).default(
|
|
39778
|
+
]).default(Fa),
|
|
39694
39779
|
properties: e.array(e.string()).optional(),
|
|
39695
39780
|
schema: e.object({
|
|
39696
39781
|
id: e.string().optional(),
|
|
39697
39782
|
name: e.string().optional()
|
|
39698
39783
|
}).optional()
|
|
39699
39784
|
});
|
|
39700
|
-
const
|
|
39785
|
+
const La = "teamHookEventUndefined";
|
|
39701
39786
|
e.object({
|
|
39702
39787
|
enabled: e.boolean().optional(),
|
|
39703
39788
|
event: e.enum([
|
|
39704
39789
|
"teamHookEventUndefined",
|
|
39705
39790
|
"agent_status"
|
|
39706
|
-
]).default(
|
|
39791
|
+
]).default(La),
|
|
39707
39792
|
id: e.number().optional(),
|
|
39708
39793
|
properties: e.array(e.string()).optional(),
|
|
39709
39794
|
schema: e.object({
|
|
@@ -39891,7 +39976,7 @@ e.object({
|
|
|
39891
39976
|
])
|
|
39892
39977
|
).optional()
|
|
39893
39978
|
});
|
|
39894
|
-
const
|
|
39979
|
+
const Ma = "chat";
|
|
39895
39980
|
e.object({
|
|
39896
39981
|
days: e.array(
|
|
39897
39982
|
e.object({
|
|
@@ -40053,7 +40138,7 @@ Simplified search filter to uniquely identify related object.`
|
|
|
40053
40138
|
"call",
|
|
40054
40139
|
"email"
|
|
40055
40140
|
]).default(
|
|
40056
|
-
|
|
40141
|
+
Ma
|
|
40057
40142
|
)
|
|
40058
40143
|
})
|
|
40059
40144
|
).optional()
|
|
@@ -40183,7 +40268,7 @@ e.object({
|
|
|
40183
40268
|
e.object({
|
|
40184
40269
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result.")
|
|
40185
40270
|
});
|
|
40186
|
-
const
|
|
40271
|
+
const za = e.object({
|
|
40187
40272
|
etag: e.string().describe("Unique ID of the latest version of an existing resource."),
|
|
40188
40273
|
primary: e.boolean().optional().describe(
|
|
40189
40274
|
"Indicates whether this association must be default among others."
|
|
@@ -40194,7 +40279,7 @@ const Wa = e.object({
|
|
|
40194
40279
|
type: e.string().optional().describe("Reference Object well-known type.")
|
|
40195
40280
|
}).optional().describe("Timezone dictionary reference value associated.")
|
|
40196
40281
|
}).describe("An input of the Contact's timezones.");
|
|
40197
|
-
e.array(
|
|
40282
|
+
e.array(za);
|
|
40198
40283
|
e.object({
|
|
40199
40284
|
data: e.array(
|
|
40200
40285
|
e.object({
|
|
@@ -40243,7 +40328,7 @@ e.object({
|
|
|
40243
40328
|
e.object({
|
|
40244
40329
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
|
|
40245
40330
|
});
|
|
40246
|
-
const
|
|
40331
|
+
const Va = e.object({
|
|
40247
40332
|
etag: e.string().describe("Unique ID of the latest version of an existing resource."),
|
|
40248
40333
|
primary: e.boolean().optional().describe(
|
|
40249
40334
|
"Indicates whether this association must be default among others."
|
|
@@ -40254,7 +40339,7 @@ const Qa = e.object({
|
|
|
40254
40339
|
type: e.string().optional().describe("Reference Object well-known type.")
|
|
40255
40340
|
}).optional().describe("Timezone dictionary reference value associated.")
|
|
40256
40341
|
}).describe("An input of the Contact's timezones.");
|
|
40257
|
-
e.array(
|
|
40342
|
+
e.array(Va);
|
|
40258
40343
|
e.object({
|
|
40259
40344
|
data: e.array(
|
|
40260
40345
|
e.object({
|
|
@@ -40504,7 +40589,7 @@ e.object({
|
|
|
40504
40589
|
id: e.array(e.number()).optional(),
|
|
40505
40590
|
schemaId: e.array(e.number()).optional()
|
|
40506
40591
|
});
|
|
40507
|
-
const
|
|
40592
|
+
const Ya = "empty_trigger_event", Ga = "empty_trigger_object", Ha = "default_trigger_type";
|
|
40508
40593
|
e.object({
|
|
40509
40594
|
items: e.array(
|
|
40510
40595
|
e.object({
|
|
@@ -40516,7 +40601,7 @@ e.object({
|
|
|
40516
40601
|
"update",
|
|
40517
40602
|
"remove",
|
|
40518
40603
|
"resolution_time"
|
|
40519
|
-
]).default(
|
|
40604
|
+
]).default(Ya),
|
|
40520
40605
|
expression: e.string().optional(),
|
|
40521
40606
|
id: e.number().optional(),
|
|
40522
40607
|
name: e.string().optional(),
|
|
@@ -40527,7 +40612,7 @@ e.object({
|
|
|
40527
40612
|
"case_comments",
|
|
40528
40613
|
"case_links",
|
|
40529
40614
|
"related_cases"
|
|
40530
|
-
]).default(
|
|
40615
|
+
]).default(Ga),
|
|
40531
40616
|
schema: e.object({
|
|
40532
40617
|
id: e.string().optional(),
|
|
40533
40618
|
name: e.string().optional()
|
|
@@ -40541,13 +40626,13 @@ e.object({
|
|
|
40541
40626
|
"default_trigger_type",
|
|
40542
40627
|
"cron",
|
|
40543
40628
|
"event"
|
|
40544
|
-
]).default(
|
|
40629
|
+
]).default(Ha),
|
|
40545
40630
|
variables: e.record(e.string(), e.string()).optional()
|
|
40546
40631
|
})
|
|
40547
40632
|
).optional(),
|
|
40548
40633
|
next: e.boolean().optional()
|
|
40549
40634
|
});
|
|
40550
|
-
const
|
|
40635
|
+
const Ka = "empty_trigger_event", Qa = "empty_trigger_object", Wa = "default_trigger_type";
|
|
40551
40636
|
e.object({
|
|
40552
40637
|
description: e.string().optional(),
|
|
40553
40638
|
enabled: e.boolean().optional(),
|
|
@@ -40557,7 +40642,7 @@ e.object({
|
|
|
40557
40642
|
"update",
|
|
40558
40643
|
"remove",
|
|
40559
40644
|
"resolution_time"
|
|
40560
|
-
]).default(
|
|
40645
|
+
]).default(Ka),
|
|
40561
40646
|
expression: e.string().optional(),
|
|
40562
40647
|
name: e.string().optional(),
|
|
40563
40648
|
object: e.enum([
|
|
@@ -40567,7 +40652,7 @@ e.object({
|
|
|
40567
40652
|
"case_comments",
|
|
40568
40653
|
"case_links",
|
|
40569
40654
|
"related_cases"
|
|
40570
|
-
]).default(
|
|
40655
|
+
]).default(Qa),
|
|
40571
40656
|
schema: e.object({
|
|
40572
40657
|
id: e.string().optional(),
|
|
40573
40658
|
name: e.string().optional()
|
|
@@ -40581,10 +40666,10 @@ e.object({
|
|
|
40581
40666
|
"default_trigger_type",
|
|
40582
40667
|
"cron",
|
|
40583
40668
|
"event"
|
|
40584
|
-
]).default(
|
|
40669
|
+
]).default(Wa),
|
|
40585
40670
|
variables: e.record(e.string(), e.string()).optional()
|
|
40586
40671
|
});
|
|
40587
|
-
const
|
|
40672
|
+
const Xa = "empty_trigger_event", Ja = "empty_trigger_object", $a = "default_trigger_type";
|
|
40588
40673
|
e.object({
|
|
40589
40674
|
description: e.string().optional(),
|
|
40590
40675
|
enabled: e.boolean().optional(),
|
|
@@ -40594,7 +40679,7 @@ e.object({
|
|
|
40594
40679
|
"update",
|
|
40595
40680
|
"remove",
|
|
40596
40681
|
"resolution_time"
|
|
40597
|
-
]).default(
|
|
40682
|
+
]).default(Xa),
|
|
40598
40683
|
expression: e.string().optional(),
|
|
40599
40684
|
id: e.number().optional(),
|
|
40600
40685
|
name: e.string().optional(),
|
|
@@ -40605,7 +40690,7 @@ e.object({
|
|
|
40605
40690
|
"case_comments",
|
|
40606
40691
|
"case_links",
|
|
40607
40692
|
"related_cases"
|
|
40608
|
-
]).default(
|
|
40693
|
+
]).default(Ja),
|
|
40609
40694
|
schema: e.object({
|
|
40610
40695
|
id: e.string().optional(),
|
|
40611
40696
|
name: e.string().optional()
|
|
@@ -40619,13 +40704,13 @@ e.object({
|
|
|
40619
40704
|
"default_trigger_type",
|
|
40620
40705
|
"cron",
|
|
40621
40706
|
"event"
|
|
40622
|
-
]).default(
|
|
40707
|
+
]).default($a),
|
|
40623
40708
|
variables: e.record(e.string(), e.string()).optional()
|
|
40624
40709
|
});
|
|
40625
40710
|
e.object({
|
|
40626
40711
|
id: e.number()
|
|
40627
40712
|
});
|
|
40628
|
-
const
|
|
40713
|
+
const Za = "empty_trigger_event", er = "empty_trigger_object", tr = "default_trigger_type";
|
|
40629
40714
|
e.object({
|
|
40630
40715
|
description: e.string().optional(),
|
|
40631
40716
|
enabled: e.boolean().optional(),
|
|
@@ -40635,7 +40720,7 @@ e.object({
|
|
|
40635
40720
|
"update",
|
|
40636
40721
|
"remove",
|
|
40637
40722
|
"resolution_time"
|
|
40638
|
-
]).default(
|
|
40723
|
+
]).default(Za),
|
|
40639
40724
|
expression: e.string().optional(),
|
|
40640
40725
|
id: e.number().optional(),
|
|
40641
40726
|
name: e.string().optional(),
|
|
@@ -40646,7 +40731,7 @@ e.object({
|
|
|
40646
40731
|
"case_comments",
|
|
40647
40732
|
"case_links",
|
|
40648
40733
|
"related_cases"
|
|
40649
|
-
]).default(
|
|
40734
|
+
]).default(er),
|
|
40650
40735
|
schema: e.object({
|
|
40651
40736
|
id: e.string().optional(),
|
|
40652
40737
|
name: e.string().optional()
|
|
@@ -40660,13 +40745,13 @@ e.object({
|
|
|
40660
40745
|
"default_trigger_type",
|
|
40661
40746
|
"cron",
|
|
40662
40747
|
"event"
|
|
40663
|
-
]).default(
|
|
40748
|
+
]).default(tr),
|
|
40664
40749
|
variables: e.record(e.string(), e.string()).optional()
|
|
40665
40750
|
});
|
|
40666
40751
|
e.object({
|
|
40667
40752
|
id: e.number()
|
|
40668
40753
|
});
|
|
40669
|
-
const
|
|
40754
|
+
const or = "empty_trigger_event", ir = "empty_trigger_object", nr = "default_trigger_type";
|
|
40670
40755
|
e.object({
|
|
40671
40756
|
description: e.string().optional(),
|
|
40672
40757
|
enabled: e.boolean().optional(),
|
|
@@ -40676,7 +40761,7 @@ e.object({
|
|
|
40676
40761
|
"update",
|
|
40677
40762
|
"remove",
|
|
40678
40763
|
"resolution_time"
|
|
40679
|
-
]).default(
|
|
40764
|
+
]).default(or),
|
|
40680
40765
|
expression: e.string().optional(),
|
|
40681
40766
|
id: e.number().optional(),
|
|
40682
40767
|
name: e.string().optional(),
|
|
@@ -40687,7 +40772,7 @@ e.object({
|
|
|
40687
40772
|
"case_comments",
|
|
40688
40773
|
"case_links",
|
|
40689
40774
|
"related_cases"
|
|
40690
|
-
]).default(
|
|
40775
|
+
]).default(ir),
|
|
40691
40776
|
schema: e.object({
|
|
40692
40777
|
id: e.string().optional(),
|
|
40693
40778
|
name: e.string().optional()
|
|
@@ -40701,13 +40786,13 @@ e.object({
|
|
|
40701
40786
|
"default_trigger_type",
|
|
40702
40787
|
"cron",
|
|
40703
40788
|
"event"
|
|
40704
|
-
]).default(
|
|
40789
|
+
]).default(nr),
|
|
40705
40790
|
variables: e.record(e.string(), e.string()).optional()
|
|
40706
40791
|
});
|
|
40707
40792
|
e.object({
|
|
40708
40793
|
id: e.number()
|
|
40709
40794
|
});
|
|
40710
|
-
const
|
|
40795
|
+
const ar = "empty_trigger_event", rr = "empty_trigger_object", sr = "default_trigger_type";
|
|
40711
40796
|
e.object({
|
|
40712
40797
|
description: e.string().optional(),
|
|
40713
40798
|
enabled: e.boolean().optional(),
|
|
@@ -40717,7 +40802,7 @@ e.object({
|
|
|
40717
40802
|
"update",
|
|
40718
40803
|
"remove",
|
|
40719
40804
|
"resolution_time"
|
|
40720
|
-
]).default(
|
|
40805
|
+
]).default(ar),
|
|
40721
40806
|
expression: e.string().optional(),
|
|
40722
40807
|
fields: e.array(e.string()).optional(),
|
|
40723
40808
|
name: e.string().optional(),
|
|
@@ -40728,7 +40813,7 @@ e.object({
|
|
|
40728
40813
|
"case_comments",
|
|
40729
40814
|
"case_links",
|
|
40730
40815
|
"related_cases"
|
|
40731
|
-
]).default(
|
|
40816
|
+
]).default(rr),
|
|
40732
40817
|
schema: e.object({
|
|
40733
40818
|
id: e.string().optional(),
|
|
40734
40819
|
name: e.string().optional()
|
|
@@ -40742,10 +40827,10 @@ e.object({
|
|
|
40742
40827
|
"default_trigger_type",
|
|
40743
40828
|
"cron",
|
|
40744
40829
|
"event"
|
|
40745
|
-
]).default(
|
|
40830
|
+
]).default(sr),
|
|
40746
40831
|
variables: e.record(e.string(), e.string()).optional()
|
|
40747
40832
|
});
|
|
40748
|
-
const
|
|
40833
|
+
const lr = "empty_trigger_event", pr = "empty_trigger_object", cr = "default_trigger_type";
|
|
40749
40834
|
e.object({
|
|
40750
40835
|
description: e.string().optional(),
|
|
40751
40836
|
enabled: e.boolean().optional(),
|
|
@@ -40755,7 +40840,7 @@ e.object({
|
|
|
40755
40840
|
"update",
|
|
40756
40841
|
"remove",
|
|
40757
40842
|
"resolution_time"
|
|
40758
|
-
]).default(
|
|
40843
|
+
]).default(lr),
|
|
40759
40844
|
expression: e.string().optional(),
|
|
40760
40845
|
id: e.number().optional(),
|
|
40761
40846
|
name: e.string().optional(),
|
|
@@ -40766,7 +40851,7 @@ e.object({
|
|
|
40766
40851
|
"case_comments",
|
|
40767
40852
|
"case_links",
|
|
40768
40853
|
"related_cases"
|
|
40769
|
-
]).default(
|
|
40854
|
+
]).default(pr),
|
|
40770
40855
|
schema: e.object({
|
|
40771
40856
|
id: e.string().optional(),
|
|
40772
40857
|
name: e.string().optional()
|
|
@@ -40780,13 +40865,13 @@ e.object({
|
|
|
40780
40865
|
"default_trigger_type",
|
|
40781
40866
|
"cron",
|
|
40782
40867
|
"event"
|
|
40783
|
-
]).default(
|
|
40868
|
+
]).default(cr),
|
|
40784
40869
|
variables: e.record(e.string(), e.string()).optional()
|
|
40785
40870
|
});
|
|
40786
40871
|
e.object({
|
|
40787
40872
|
id: e.number()
|
|
40788
40873
|
});
|
|
40789
|
-
const
|
|
40874
|
+
const dr = "empty_trigger_event", br = "empty_trigger_object", gr = "default_trigger_type";
|
|
40790
40875
|
e.object({
|
|
40791
40876
|
description: e.string().optional(),
|
|
40792
40877
|
enabled: e.boolean().optional(),
|
|
@@ -40796,7 +40881,7 @@ e.object({
|
|
|
40796
40881
|
"update",
|
|
40797
40882
|
"remove",
|
|
40798
40883
|
"resolution_time"
|
|
40799
|
-
]).default(
|
|
40884
|
+
]).default(dr),
|
|
40800
40885
|
expression: e.string().optional(),
|
|
40801
40886
|
name: e.string().optional(),
|
|
40802
40887
|
object: e.enum([
|
|
@@ -40806,7 +40891,7 @@ e.object({
|
|
|
40806
40891
|
"case_comments",
|
|
40807
40892
|
"case_links",
|
|
40808
40893
|
"related_cases"
|
|
40809
|
-
]).default(
|
|
40894
|
+
]).default(br),
|
|
40810
40895
|
schema: e.object({
|
|
40811
40896
|
id: e.string().optional(),
|
|
40812
40897
|
name: e.string().optional()
|
|
@@ -40820,10 +40905,10 @@ e.object({
|
|
|
40820
40905
|
"default_trigger_type",
|
|
40821
40906
|
"cron",
|
|
40822
40907
|
"event"
|
|
40823
|
-
]).default(
|
|
40908
|
+
]).default(gr),
|
|
40824
40909
|
variables: e.record(e.string(), e.string()).optional()
|
|
40825
40910
|
});
|
|
40826
|
-
const
|
|
40911
|
+
const ur = "empty_trigger_event", mr = "empty_trigger_object", fr = "default_trigger_type";
|
|
40827
40912
|
e.object({
|
|
40828
40913
|
description: e.string().optional(),
|
|
40829
40914
|
enabled: e.boolean().optional(),
|
|
@@ -40833,7 +40918,7 @@ e.object({
|
|
|
40833
40918
|
"update",
|
|
40834
40919
|
"remove",
|
|
40835
40920
|
"resolution_time"
|
|
40836
|
-
]).default(
|
|
40921
|
+
]).default(ur),
|
|
40837
40922
|
expression: e.string().optional(),
|
|
40838
40923
|
id: e.number().optional(),
|
|
40839
40924
|
name: e.string().optional(),
|
|
@@ -40844,7 +40929,7 @@ e.object({
|
|
|
40844
40929
|
"case_comments",
|
|
40845
40930
|
"case_links",
|
|
40846
40931
|
"related_cases"
|
|
40847
|
-
]).default(
|
|
40932
|
+
]).default(mr),
|
|
40848
40933
|
schema: e.object({
|
|
40849
40934
|
id: e.string().optional(),
|
|
40850
40935
|
name: e.string().optional()
|
|
@@ -40858,7 +40943,7 @@ e.object({
|
|
|
40858
40943
|
"default_trigger_type",
|
|
40859
40944
|
"cron",
|
|
40860
40945
|
"event"
|
|
40861
|
-
]).default(
|
|
40946
|
+
]).default(fr),
|
|
40862
40947
|
variables: e.record(e.string(), e.string()).optional()
|
|
40863
40948
|
});
|
|
40864
40949
|
e.object({
|
|
@@ -40885,7 +40970,7 @@ e.object({
|
|
|
40885
40970
|
])
|
|
40886
40971
|
).optional()
|
|
40887
40972
|
});
|
|
40888
|
-
const
|
|
40973
|
+
const hr = "idle";
|
|
40889
40974
|
e.object({
|
|
40890
40975
|
items: e.array(
|
|
40891
40976
|
e.object({
|
|
@@ -40898,7 +40983,7 @@ e.object({
|
|
|
40898
40983
|
"active",
|
|
40899
40984
|
"done",
|
|
40900
40985
|
"error"
|
|
40901
|
-
]).default(
|
|
40986
|
+
]).default(hr),
|
|
40902
40987
|
stoppedAt: e.string().optional(),
|
|
40903
40988
|
trigger: e.object({
|
|
40904
40989
|
id: e.string().optional(),
|
|
@@ -40914,7 +40999,7 @@ e.object({
|
|
|
40914
40999
|
e.object({
|
|
40915
41000
|
variables: e.record(e.string(), e.string()).optional()
|
|
40916
41001
|
});
|
|
40917
|
-
const
|
|
41002
|
+
const yr = "idle";
|
|
40918
41003
|
e.object({
|
|
40919
41004
|
createdAt: e.string().optional(),
|
|
40920
41005
|
error: e.string().optional(),
|
|
@@ -40925,7 +41010,7 @@ e.object({
|
|
|
40925
41010
|
"active",
|
|
40926
41011
|
"done",
|
|
40927
41012
|
"error"
|
|
40928
|
-
]).default(
|
|
41013
|
+
]).default(yr),
|
|
40929
41014
|
stoppedAt: e.string().optional(),
|
|
40930
41015
|
trigger: e.object({
|
|
40931
41016
|
id: e.string().optional(),
|
|
@@ -40956,7 +41041,7 @@ e.object({
|
|
|
40956
41041
|
}).optional().describe("UserId lookup value.")
|
|
40957
41042
|
}).optional()
|
|
40958
41043
|
});
|
|
40959
|
-
const
|
|
41044
|
+
const jr = "*", Ir = /^[+|-|!]?\w+$/, Tr = "*";
|
|
40960
41045
|
e.object({
|
|
40961
41046
|
q: e.string().optional().describe(
|
|
40962
41047
|
"Search term:\n`?` - matches any character\n`*` - matches 0 or more characters\ne.g.: name,emails{type},labels etc..."
|
|
@@ -40975,11 +41060,11 @@ Default: 16.`),
|
|
|
40975
41060
|
page: e.number().optional().describe(`Page number of result set of records.
|
|
40976
41061
|
Default: 1.`),
|
|
40977
41062
|
sort: e.array(
|
|
40978
|
-
e.string().regex(
|
|
41063
|
+
e.string().regex(Ir).default(jr)
|
|
40979
41064
|
).optional().describe(
|
|
40980
41065
|
'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = "-" / "!"\nASC = [ "+" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.'
|
|
40981
41066
|
),
|
|
40982
|
-
fields: e.array(e.string().default(
|
|
41067
|
+
fields: e.array(e.string().default(Tr)).optional().describe(
|
|
40983
41068
|
`Fields [Q]uery to build result dataset record.
|
|
40984
41069
|
\`\`\`
|
|
40985
41070
|
fields ::= field [ *( "," field ) ]
|
|
@@ -40995,7 +41080,7 @@ USCORE = %x5F ; underscore ; "_"
|
|
|
40995
41080
|
\`\`\``
|
|
40996
41081
|
)
|
|
40997
41082
|
});
|
|
40998
|
-
const
|
|
41083
|
+
const Rr = "none";
|
|
40999
41084
|
e.object({
|
|
41000
41085
|
data: e.array(
|
|
41001
41086
|
e.object({
|
|
@@ -41122,7 +41207,7 @@ code`),
|
|
|
41122
41207
|
"richtext",
|
|
41123
41208
|
"datetime",
|
|
41124
41209
|
"duration"
|
|
41125
|
-
]).default(
|
|
41210
|
+
]).default(Rr).describe("Required. The field type."),
|
|
41126
41211
|
lookup: e.object({
|
|
41127
41212
|
display: e.string().optional().describe(
|
|
41128
41213
|
"[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
|
|
@@ -41228,7 +41313,7 @@ int64 dc = 0;`)
|
|
|
41228
41313
|
e.object({
|
|
41229
41314
|
path: e.string().describe("`types.path`")
|
|
41230
41315
|
});
|
|
41231
|
-
const
|
|
41316
|
+
const Ar = "none";
|
|
41232
41317
|
e.object({
|
|
41233
41318
|
about: e.string().optional().describe("Optional. Short description."),
|
|
41234
41319
|
administered: e.boolean().optional(),
|
|
@@ -41351,7 +41436,7 @@ code`),
|
|
|
41351
41436
|
"richtext",
|
|
41352
41437
|
"datetime",
|
|
41353
41438
|
"duration"
|
|
41354
|
-
]).default(
|
|
41439
|
+
]).default(Ar).describe("Required. The field type."),
|
|
41355
41440
|
lookup: e.object({
|
|
41356
41441
|
display: e.string().optional().describe(
|
|
41357
41442
|
"[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
|
|
@@ -41860,6 +41945,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
41860
41945
|
expiresAt: e.string().optional(),
|
|
41861
41946
|
id: e.string().optional(),
|
|
41862
41947
|
issuedAt: e.string().optional(),
|
|
41948
|
+
name: e.string().optional(),
|
|
41863
41949
|
prod: e.string().optional(),
|
|
41864
41950
|
scope: e.array(e.string()).optional(),
|
|
41865
41951
|
user: e.object({
|
|
@@ -41907,8 +41993,8 @@ e.object({
|
|
|
41907
41993
|
id: e.string().optional().describe("ONE /users/{id}"),
|
|
41908
41994
|
permanent: e.boolean().optional()
|
|
41909
41995
|
});
|
|
41910
|
-
const
|
|
41911
|
-
e.array(
|
|
41996
|
+
const wr = e.string();
|
|
41997
|
+
e.array(wr);
|
|
41912
41998
|
e.object({
|
|
41913
41999
|
deleted: e.array(
|
|
41914
42000
|
e.object({
|
|
@@ -41959,6 +42045,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
41959
42045
|
expiresAt: e.string().optional(),
|
|
41960
42046
|
id: e.string().optional(),
|
|
41961
42047
|
issuedAt: e.string().optional(),
|
|
42048
|
+
name: e.string().optional(),
|
|
41962
42049
|
prod: e.string().optional(),
|
|
41963
42050
|
scope: e.array(e.string()).optional(),
|
|
41964
42051
|
user: e.object({
|
|
@@ -42091,6 +42178,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42091
42178
|
expiresAt: e.string().optional(),
|
|
42092
42179
|
id: e.string().optional(),
|
|
42093
42180
|
issuedAt: e.string().optional(),
|
|
42181
|
+
name: e.string().optional(),
|
|
42094
42182
|
prod: e.string().optional(),
|
|
42095
42183
|
scope: e.array(e.string()).optional(),
|
|
42096
42184
|
user: e.object({
|
|
@@ -42141,7 +42229,6 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42141
42229
|
size: e.number().optional()
|
|
42142
42230
|
});
|
|
42143
42231
|
e.object({
|
|
42144
|
-
confirmPassword: e.string().optional(),
|
|
42145
42232
|
user: e.object({
|
|
42146
42233
|
chatName: e.string().optional().describe(
|
|
42147
42234
|
`The "chat_name" field is used to store the name displayed externally on the platform.
|
|
@@ -42190,6 +42277,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42190
42277
|
expiresAt: e.string().optional(),
|
|
42191
42278
|
id: e.string().optional(),
|
|
42192
42279
|
issuedAt: e.string().optional(),
|
|
42280
|
+
name: e.string().optional(),
|
|
42193
42281
|
prod: e.string().optional(),
|
|
42194
42282
|
scope: e.array(e.string()).optional(),
|
|
42195
42283
|
user: e.object({
|
|
@@ -42231,8 +42319,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42231
42319
|
name: e.string().optional()
|
|
42232
42320
|
}).optional().describe("UserId lookup value."),
|
|
42233
42321
|
username: e.string().optional()
|
|
42234
|
-
}).optional().describe("User profile.")
|
|
42235
|
-
userPassword: e.string().optional()
|
|
42322
|
+
}).optional().describe("User profile.")
|
|
42236
42323
|
});
|
|
42237
42324
|
e.object({
|
|
42238
42325
|
user: e.object({
|
|
@@ -42283,6 +42370,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42283
42370
|
expiresAt: e.string().optional(),
|
|
42284
42371
|
id: e.string().optional(),
|
|
42285
42372
|
issuedAt: e.string().optional(),
|
|
42373
|
+
name: e.string().optional(),
|
|
42286
42374
|
prod: e.string().optional(),
|
|
42287
42375
|
scope: e.array(e.string()).optional(),
|
|
42288
42376
|
user: e.object({
|
|
@@ -42412,137 +42500,139 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42412
42500
|
expiresAt: e.string().optional(),
|
|
42413
42501
|
id: e.string().optional(),
|
|
42414
42502
|
issuedAt: e.string().optional(),
|
|
42415
|
-
prod: e.string().optional(),
|
|
42416
|
-
scope: e.array(e.string()).optional(),
|
|
42417
|
-
user: e.object({
|
|
42418
|
-
id: e.string().optional(),
|
|
42419
|
-
name: e.string().optional()
|
|
42420
|
-
}).optional()
|
|
42421
|
-
})
|
|
42422
|
-
).optional(),
|
|
42423
|
-
name: e.string().optional(),
|
|
42424
|
-
password: e.string().optional(),
|
|
42425
|
-
permissions: e.array(
|
|
42426
|
-
e.object({
|
|
42427
|
-
id: e.string().optional().describe(
|
|
42428
|
-
"[required] e.g.: 'read', 'playback_record_file', ..."
|
|
42429
|
-
),
|
|
42430
42503
|
name: e.string().optional(),
|
|
42431
|
-
|
|
42432
|
-
|
|
42433
|
-
|
|
42434
|
-
|
|
42435
|
-
|
|
42436
|
-
|
|
42437
|
-
|
|
42438
|
-
|
|
42439
|
-
|
|
42440
|
-
|
|
42441
|
-
|
|
42442
|
-
|
|
42443
|
-
|
|
42444
|
-
|
|
42445
|
-
|
|
42446
|
-
|
|
42447
|
-
|
|
42448
|
-
|
|
42449
|
-
|
|
42450
|
-
|
|
42451
|
-
|
|
42452
|
-
|
|
42453
|
-
|
|
42454
|
-
|
|
42455
|
-
|
|
42456
|
-
}).optional().describe(
|
|
42457
|
-
|
|
42458
|
-
|
|
42459
|
-
|
|
42460
|
-
|
|
42461
|
-
|
|
42462
|
-
|
|
42463
|
-
|
|
42464
|
-
|
|
42465
|
-
|
|
42466
|
-
|
|
42467
|
-
|
|
42468
|
-
|
|
42469
|
-
|
|
42470
|
-
|
|
42471
|
-
|
|
42472
|
-
|
|
42473
|
-
|
|
42474
|
-
|
|
42475
|
-
|
|
42476
|
-
|
|
42477
|
-
|
|
42478
|
-
|
|
42479
|
-
|
|
42480
|
-
|
|
42481
|
-
|
|
42482
|
-
|
|
42483
|
-
|
|
42484
|
-
|
|
42485
|
-
|
|
42486
|
-
|
|
42487
|
-
|
|
42488
|
-
|
|
42489
|
-
|
|
42490
|
-
|
|
42491
|
-
|
|
42492
|
-
e.object({
|
|
42493
|
-
|
|
42494
|
-
|
|
42495
|
-
|
|
42496
|
-
|
|
42497
|
-
|
|
42498
|
-
|
|
42499
|
-
|
|
42500
|
-
|
|
42501
|
-
|
|
42502
|
-
|
|
42503
|
-
|
|
42504
|
-
|
|
42505
|
-
|
|
42506
|
-
|
|
42507
|
-
|
|
42508
|
-
|
|
42509
|
-
|
|
42510
|
-
|
|
42511
|
-
|
|
42512
|
-
|
|
42513
|
-
|
|
42514
|
-
|
|
42515
|
-
|
|
42516
|
-
|
|
42517
|
-
|
|
42518
|
-
|
|
42519
|
-
|
|
42520
|
-
|
|
42521
|
-
|
|
42522
|
-
|
|
42523
|
-
|
|
42524
|
-
|
|
42525
|
-
|
|
42526
|
-
|
|
42527
|
-
|
|
42528
|
-
),
|
|
42529
|
-
|
|
42530
|
-
|
|
42531
|
-
|
|
42532
|
-
|
|
42533
|
-
|
|
42534
|
-
|
|
42535
|
-
e.
|
|
42536
|
-
|
|
42537
|
-
|
|
42538
|
-
|
|
42539
|
-
|
|
42540
|
-
|
|
42541
|
-
|
|
42542
|
-
|
|
42543
|
-
|
|
42544
|
-
|
|
42545
|
-
|
|
42504
|
+
prod: e.string().optional(),
|
|
42505
|
+
scope: e.array(e.string()).optional(),
|
|
42506
|
+
user: e.object({
|
|
42507
|
+
id: e.string().optional(),
|
|
42508
|
+
name: e.string().optional()
|
|
42509
|
+
}).optional()
|
|
42510
|
+
})
|
|
42511
|
+
).optional(),
|
|
42512
|
+
name: e.string().optional(),
|
|
42513
|
+
password: e.string().optional(),
|
|
42514
|
+
permissions: e.array(
|
|
42515
|
+
e.object({
|
|
42516
|
+
id: e.string().optional().describe(
|
|
42517
|
+
"[required] e.g.: 'read', 'playback_record_file', ..."
|
|
42518
|
+
),
|
|
42519
|
+
name: e.string().optional(),
|
|
42520
|
+
usage: e.string().optional()
|
|
42521
|
+
})
|
|
42522
|
+
).optional(),
|
|
42523
|
+
presence: e.object({
|
|
42524
|
+
expires: e.number().optional(),
|
|
42525
|
+
id: e.string().optional(),
|
|
42526
|
+
note: e.string().optional(),
|
|
42527
|
+
status: e.string().optional(),
|
|
42528
|
+
timestamp: e.string().optional()
|
|
42529
|
+
}).optional().describe(
|
|
42530
|
+
`string presence = 7; // unique set of <user> presentity <status:basic> tuples open[ed]
|
|
42531
|
+
string status = 8; // short display status (short description)`
|
|
42532
|
+
),
|
|
42533
|
+
profile: e.record(e.string(), e.string()).optional(),
|
|
42534
|
+
roles: e.array(
|
|
42535
|
+
e.object({
|
|
42536
|
+
id: e.string().optional(),
|
|
42537
|
+
name: e.string().optional()
|
|
42538
|
+
})
|
|
42539
|
+
).optional(),
|
|
42540
|
+
totpUrl: e.string().optional(),
|
|
42541
|
+
updatedAt: e.string().optional(),
|
|
42542
|
+
updatedBy: e.object({
|
|
42543
|
+
id: e.string().optional(),
|
|
42544
|
+
name: e.string().optional()
|
|
42545
|
+
}).optional().describe("UserId lookup value."),
|
|
42546
|
+
username: e.string().optional()
|
|
42547
|
+
}).describe("User profile.")
|
|
42548
|
+
).optional(),
|
|
42549
|
+
next: e.boolean().optional(),
|
|
42550
|
+
page: e.number().optional(),
|
|
42551
|
+
size: e.number().optional()
|
|
42552
|
+
});
|
|
42553
|
+
const Dr = "user_warning_id_unspecified";
|
|
42554
|
+
e.object({
|
|
42555
|
+
warnings: e.array(
|
|
42556
|
+
e.object({
|
|
42557
|
+
detail: e.string().optional(),
|
|
42558
|
+
id: e.enum([
|
|
42559
|
+
"user_warning_id_unspecified",
|
|
42560
|
+
"password_expires_soon",
|
|
42561
|
+
"license_expires_soon",
|
|
42562
|
+
"license_expired"
|
|
42563
|
+
]).default(Dr),
|
|
42564
|
+
warningData: e.object({
|
|
42565
|
+
licenseExpiry: e.object({
|
|
42566
|
+
daysRemaining: e.string().optional(),
|
|
42567
|
+
expiresAt: e.string().optional(),
|
|
42568
|
+
licenseName: e.string().optional()
|
|
42569
|
+
}).optional(),
|
|
42570
|
+
passwordExpiry: e.object({
|
|
42571
|
+
daysRemaining: e.string().optional(),
|
|
42572
|
+
expiresAt: e.string().optional()
|
|
42573
|
+
}).optional()
|
|
42574
|
+
}).optional()
|
|
42575
|
+
})
|
|
42576
|
+
).optional()
|
|
42577
|
+
});
|
|
42578
|
+
e.object({
|
|
42579
|
+
id: e.string().describe("ONE /users/{id}")
|
|
42580
|
+
});
|
|
42581
|
+
e.object({
|
|
42582
|
+
selection: e.array(e.string()).optional().describe("MANY /users .ids=[id,...]"),
|
|
42583
|
+
permanent: e.boolean().optional()
|
|
42584
|
+
});
|
|
42585
|
+
e.object({
|
|
42586
|
+
deleted: e.array(
|
|
42587
|
+
e.object({
|
|
42588
|
+
chatName: e.string().optional().describe(
|
|
42589
|
+
`The "chat_name" field is used to store the name displayed externally on the platform.
|
|
42590
|
+
For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
42591
|
+
),
|
|
42592
|
+
contact: e.object({
|
|
42593
|
+
id: e.string().optional(),
|
|
42594
|
+
name: e.string().optional()
|
|
42595
|
+
}).optional().describe("[optional] contact connected to this user"),
|
|
42596
|
+
createdAt: e.string().optional(),
|
|
42597
|
+
createdBy: e.object({
|
|
42598
|
+
id: e.string().optional(),
|
|
42599
|
+
name: e.string().optional()
|
|
42600
|
+
}).optional().describe("UserId lookup value."),
|
|
42601
|
+
deletedAt: e.string().optional(),
|
|
42602
|
+
deletedBy: e.object({
|
|
42603
|
+
id: e.string().optional(),
|
|
42604
|
+
name: e.string().optional()
|
|
42605
|
+
}).optional().describe("UserId lookup value."),
|
|
42606
|
+
device: e.object({
|
|
42607
|
+
id: e.string().optional(),
|
|
42608
|
+
name: e.string().optional()
|
|
42609
|
+
}).optional(),
|
|
42610
|
+
devices: e.array(
|
|
42611
|
+
e.object({
|
|
42612
|
+
id: e.string().optional(),
|
|
42613
|
+
name: e.string().optional()
|
|
42614
|
+
})
|
|
42615
|
+
).optional().describe(
|
|
42616
|
+
"[editable] list of unique `regular` devices, attached to this user"
|
|
42617
|
+
),
|
|
42618
|
+
email: e.string().optional(),
|
|
42619
|
+
extension: e.string().optional(),
|
|
42620
|
+
forcePasswordChange: e.boolean().optional().describe(
|
|
42621
|
+
"When set to true, the user will be required to change their password on next login."
|
|
42622
|
+
),
|
|
42623
|
+
hotdesks: e.array(
|
|
42624
|
+
e.object({
|
|
42625
|
+
id: e.string().optional(),
|
|
42626
|
+
name: e.string().optional()
|
|
42627
|
+
})
|
|
42628
|
+
).optional(),
|
|
42629
|
+
id: e.string().optional(),
|
|
42630
|
+
license: e.array(
|
|
42631
|
+
e.object({
|
|
42632
|
+
expiresAt: e.string().optional(),
|
|
42633
|
+
id: e.string().optional(),
|
|
42634
|
+
issuedAt: e.string().optional(),
|
|
42635
|
+
name: e.string().optional(),
|
|
42546
42636
|
prod: e.string().optional(),
|
|
42547
42637
|
scope: e.array(e.string()).optional(),
|
|
42548
42638
|
user: e.object({
|
|
@@ -42644,6 +42734,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42644
42734
|
expiresAt: e.string().optional(),
|
|
42645
42735
|
id: e.string().optional(),
|
|
42646
42736
|
issuedAt: e.string().optional(),
|
|
42737
|
+
name: e.string().optional(),
|
|
42647
42738
|
prod: e.string().optional(),
|
|
42648
42739
|
scope: e.array(e.string()).optional(),
|
|
42649
42740
|
user: e.object({
|
|
@@ -42707,16 +42798,6 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42707
42798
|
id: e.string().optional(),
|
|
42708
42799
|
name: e.string().optional()
|
|
42709
42800
|
}).optional().describe("[optional] contact connected to this user"),
|
|
42710
|
-
createdAt: e.string().optional(),
|
|
42711
|
-
createdBy: e.object({
|
|
42712
|
-
id: e.string().optional(),
|
|
42713
|
-
name: e.string().optional()
|
|
42714
|
-
}).optional().describe("UserId lookup value."),
|
|
42715
|
-
deletedAt: e.string().optional(),
|
|
42716
|
-
deletedBy: e.object({
|
|
42717
|
-
id: e.string().optional(),
|
|
42718
|
-
name: e.string().optional()
|
|
42719
|
-
}).optional().describe("UserId lookup value."),
|
|
42720
42801
|
device: e.object({
|
|
42721
42802
|
id: e.string().optional(),
|
|
42722
42803
|
name: e.string().optional()
|
|
@@ -42745,6 +42826,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42745
42826
|
expiresAt: e.string().optional(),
|
|
42746
42827
|
id: e.string().optional(),
|
|
42747
42828
|
issuedAt: e.string().optional(),
|
|
42829
|
+
name: e.string().optional(),
|
|
42748
42830
|
prod: e.string().optional(),
|
|
42749
42831
|
scope: e.array(e.string()).optional(),
|
|
42750
42832
|
user: e.object({
|
|
@@ -42780,11 +42862,6 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42780
42862
|
})
|
|
42781
42863
|
).optional(),
|
|
42782
42864
|
totpUrl: e.string().optional(),
|
|
42783
|
-
updatedAt: e.string().optional(),
|
|
42784
|
-
updatedBy: e.object({
|
|
42785
|
-
id: e.string().optional(),
|
|
42786
|
-
name: e.string().optional()
|
|
42787
|
-
}).optional().describe("UserId lookup value."),
|
|
42788
42865
|
username: e.string().optional()
|
|
42789
42866
|
});
|
|
42790
42867
|
e.object({
|
|
@@ -42835,6 +42912,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42835
42912
|
expiresAt: e.string().optional(),
|
|
42836
42913
|
id: e.string().optional(),
|
|
42837
42914
|
issuedAt: e.string().optional(),
|
|
42915
|
+
name: e.string().optional(),
|
|
42838
42916
|
prod: e.string().optional(),
|
|
42839
42917
|
scope: e.array(e.string()).optional(),
|
|
42840
42918
|
user: e.object({
|
|
@@ -42892,16 +42970,6 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42892
42970
|
id: e.string().optional(),
|
|
42893
42971
|
name: e.string().optional()
|
|
42894
42972
|
}).optional().describe("[optional] contact connected to this user"),
|
|
42895
|
-
createdAt: e.string().optional(),
|
|
42896
|
-
createdBy: e.object({
|
|
42897
|
-
id: e.string().optional(),
|
|
42898
|
-
name: e.string().optional()
|
|
42899
|
-
}).optional().describe("UserId lookup value."),
|
|
42900
|
-
deletedAt: e.string().optional(),
|
|
42901
|
-
deletedBy: e.object({
|
|
42902
|
-
id: e.string().optional(),
|
|
42903
|
-
name: e.string().optional()
|
|
42904
|
-
}).optional().describe("UserId lookup value."),
|
|
42905
42973
|
device: e.object({
|
|
42906
42974
|
id: e.string().optional(),
|
|
42907
42975
|
name: e.string().optional()
|
|
@@ -42930,6 +42998,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42930
42998
|
expiresAt: e.string().optional(),
|
|
42931
42999
|
id: e.string().optional(),
|
|
42932
43000
|
issuedAt: e.string().optional(),
|
|
43001
|
+
name: e.string().optional(),
|
|
42933
43002
|
prod: e.string().optional(),
|
|
42934
43003
|
scope: e.array(e.string()).optional(),
|
|
42935
43004
|
user: e.object({
|
|
@@ -42965,11 +43034,6 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42965
43034
|
})
|
|
42966
43035
|
).optional(),
|
|
42967
43036
|
totpUrl: e.string().optional(),
|
|
42968
|
-
updatedAt: e.string().optional(),
|
|
42969
|
-
updatedBy: e.object({
|
|
42970
|
-
id: e.string().optional(),
|
|
42971
|
-
name: e.string().optional()
|
|
42972
|
-
}).optional().describe("UserId lookup value."),
|
|
42973
43037
|
username: e.string().optional()
|
|
42974
43038
|
});
|
|
42975
43039
|
e.object({
|
|
@@ -43020,6 +43084,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
43020
43084
|
expiresAt: e.string().optional(),
|
|
43021
43085
|
id: e.string().optional(),
|
|
43022
43086
|
issuedAt: e.string().optional(),
|
|
43087
|
+
name: e.string().optional(),
|
|
43023
43088
|
prod: e.string().optional(),
|
|
43024
43089
|
scope: e.array(e.string()).optional(),
|
|
43025
43090
|
user: e.object({
|
|
@@ -43065,10 +43130,10 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
43065
43130
|
e.object({
|
|
43066
43131
|
contact_id: e.string().describe("Contact ID associated with.")
|
|
43067
43132
|
});
|
|
43068
|
-
const
|
|
43133
|
+
const vr = /^.+$/;
|
|
43069
43134
|
e.object({
|
|
43070
43135
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result."),
|
|
43071
|
-
etag: e.array(e.string().regex(
|
|
43136
|
+
etag: e.array(e.string().regex(vr)).describe("Set of unique ID(s) to remove.")
|
|
43072
43137
|
});
|
|
43073
43138
|
e.object({
|
|
43074
43139
|
data: e.array(
|
|
@@ -43159,12 +43224,12 @@ e.object({
|
|
|
43159
43224
|
e.object({
|
|
43160
43225
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result.")
|
|
43161
43226
|
});
|
|
43162
|
-
const
|
|
43227
|
+
const Or = /^\w+$/, Er = e.object({
|
|
43163
43228
|
etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
43164
|
-
key: e.string().regex(
|
|
43229
|
+
key: e.string().regex(Or).describe("NEW Key."),
|
|
43165
43230
|
value: e.unknown().optional().describe("NEW Value.")
|
|
43166
43231
|
}).describe("Input of the Contact's variable.");
|
|
43167
|
-
e.array(
|
|
43232
|
+
e.array(Er);
|
|
43168
43233
|
e.object({
|
|
43169
43234
|
data: e.array(
|
|
43170
43235
|
e.object({
|
|
@@ -43206,12 +43271,12 @@ e.object({
|
|
|
43206
43271
|
e.object({
|
|
43207
43272
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
|
|
43208
43273
|
});
|
|
43209
|
-
const
|
|
43274
|
+
const Cr = /^\w+$/, qr = e.object({
|
|
43210
43275
|
etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
43211
|
-
key: e.string().regex(
|
|
43276
|
+
key: e.string().regex(Cr).describe("NEW Key."),
|
|
43212
43277
|
value: e.unknown().optional().describe("NEW Value.")
|
|
43213
43278
|
}).describe("Input of the Contact's variable.");
|
|
43214
|
-
e.array(
|
|
43279
|
+
e.array(qr);
|
|
43215
43280
|
e.object({
|
|
43216
43281
|
data: e.array(
|
|
43217
43282
|
e.object({
|
|
@@ -43290,9 +43355,9 @@ e.object({
|
|
|
43290
43355
|
e.object({
|
|
43291
43356
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
|
|
43292
43357
|
});
|
|
43293
|
-
const
|
|
43358
|
+
const Sr = /^\w+$/;
|
|
43294
43359
|
e.object({
|
|
43295
|
-
key: e.string().regex(
|
|
43360
|
+
key: e.string().regex(Sr).describe("NEW Key."),
|
|
43296
43361
|
value: e.unknown().optional().describe("NEW Value.")
|
|
43297
43362
|
});
|
|
43298
43363
|
e.object({
|
|
@@ -43337,9 +43402,9 @@ e.object({
|
|
|
43337
43402
|
e.object({
|
|
43338
43403
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
|
|
43339
43404
|
});
|
|
43340
|
-
const
|
|
43405
|
+
const _r = /^\w+$/;
|
|
43341
43406
|
e.object({
|
|
43342
|
-
key: e.string().regex(
|
|
43407
|
+
key: e.string().regex(_r).describe("NEW Key."),
|
|
43343
43408
|
value: e.unknown().optional().describe("NEW Value.")
|
|
43344
43409
|
});
|
|
43345
43410
|
e.object({
|
|
@@ -43682,6 +43747,7 @@ which is intended to be consumed by the Client, e.g., 24400320 or AItOawmwtWwcT0
|
|
|
43682
43747
|
It MUST NOT exceed 255 ASCII characters in length.
|
|
43683
43748
|
The sub value is a case sensitive string.`
|
|
43684
43749
|
),
|
|
43750
|
+
type: e.string().optional(),
|
|
43685
43751
|
updatedAt: e.string().optional(),
|
|
43686
43752
|
username: e.string().optional(),
|
|
43687
43753
|
zoneinfo: e.string().optional().describe(
|
|
@@ -43922,6 +43988,7 @@ which is intended to be consumed by the Client, e.g., 24400320 or AItOawmwtWwcT0
|
|
|
43922
43988
|
It MUST NOT exceed 255 ASCII characters in length.
|
|
43923
43989
|
The sub value is a case sensitive string.`
|
|
43924
43990
|
),
|
|
43991
|
+
type: e.string().optional(),
|
|
43925
43992
|
updatedAt: e.string().optional(),
|
|
43926
43993
|
username: e.string().optional(),
|
|
43927
43994
|
zoneinfo: e.string().optional().describe(
|
|
@@ -44042,7 +44109,18 @@ e.object({
|
|
|
44042
44109
|
updatedAt: e.string().optional().describe(
|
|
44043
44110
|
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
44044
44111
|
),
|
|
44045
|
-
username: e.string().optional().describe("Technical username or handle.")
|
|
44112
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
44113
|
+
vias: e.array(
|
|
44114
|
+
e.object({
|
|
44115
|
+
contactId: e.string().optional(),
|
|
44116
|
+
createdAt: e.string().optional(),
|
|
44117
|
+
disable: e.boolean().optional(),
|
|
44118
|
+
disableReason: e.string().optional(),
|
|
44119
|
+
metadata: e.looseObject({}).optional(),
|
|
44120
|
+
updatedAt: e.string().optional(),
|
|
44121
|
+
via: e.string().optional()
|
|
44122
|
+
})
|
|
44123
|
+
).optional()
|
|
44046
44124
|
}).describe("Contact represents an external messaging identity.")
|
|
44047
44125
|
).optional().describe("List of contacts found."),
|
|
44048
44126
|
next: e.boolean().optional().describe("Indicates if there are more pages available."),
|
|
@@ -44054,7 +44132,7 @@ e.object({
|
|
|
44054
44132
|
e.object({
|
|
44055
44133
|
contactId: e.string().optional()
|
|
44056
44134
|
});
|
|
44057
|
-
const
|
|
44135
|
+
const kr = "ALL";
|
|
44058
44136
|
e.object({
|
|
44059
44137
|
settings: e.object({
|
|
44060
44138
|
allowInvitesFrom: e.enum([
|
|
@@ -44062,22 +44140,22 @@ e.object({
|
|
|
44062
44140
|
"NOBODY",
|
|
44063
44141
|
"SAME_ISSUER"
|
|
44064
44142
|
]).default(
|
|
44065
|
-
|
|
44143
|
+
kr
|
|
44066
44144
|
),
|
|
44067
44145
|
contactId: e.string().optional(),
|
|
44068
44146
|
updatedAt: e.string().optional()
|
|
44069
44147
|
}).optional()
|
|
44070
44148
|
});
|
|
44071
|
-
const
|
|
44149
|
+
const xr = "ALL";
|
|
44072
44150
|
e.object({
|
|
44073
44151
|
contactId: e.string().optional(),
|
|
44074
44152
|
allowInvitesFrom: e.enum([
|
|
44075
44153
|
"ALL",
|
|
44076
44154
|
"NOBODY",
|
|
44077
44155
|
"SAME_ISSUER"
|
|
44078
|
-
]).default(
|
|
44156
|
+
]).default(xr)
|
|
44079
44157
|
});
|
|
44080
|
-
const
|
|
44158
|
+
const Ur = "ALL";
|
|
44081
44159
|
e.object({
|
|
44082
44160
|
settings: e.object({
|
|
44083
44161
|
allowInvitesFrom: e.enum([
|
|
@@ -44085,7 +44163,7 @@ e.object({
|
|
|
44085
44163
|
"NOBODY",
|
|
44086
44164
|
"SAME_ISSUER"
|
|
44087
44165
|
]).default(
|
|
44088
|
-
|
|
44166
|
+
Ur
|
|
44089
44167
|
),
|
|
44090
44168
|
contactId: e.string().optional(),
|
|
44091
44169
|
updatedAt: e.string().optional()
|
|
@@ -44382,16 +44460,7 @@ e.object({
|
|
|
44382
44460
|
});
|
|
44383
44461
|
e.object({
|
|
44384
44462
|
buttonCode: e.string().optional().describe("Button identifier."),
|
|
44385
|
-
callbackData: e.string().optional().describe("Optional callback payload.")
|
|
44386
|
-
reactedBy: e.object({
|
|
44387
|
-
channelId: e.string().optional(),
|
|
44388
|
-
contact: e.object({
|
|
44389
|
-
iss: e.string().optional(),
|
|
44390
|
-
sub: e.string().optional()
|
|
44391
|
-
}).optional(),
|
|
44392
|
-
groupId: e.string().optional(),
|
|
44393
|
-
threadId: e.string().optional()
|
|
44394
|
-
}).optional().describe("User who clicked the button.")
|
|
44463
|
+
callbackData: e.string().optional().describe("Optional callback payload.")
|
|
44395
44464
|
}).describe("Client sends callback event when user clicks a button.");
|
|
44396
44465
|
e.object({
|
|
44397
44466
|
buttonCode: e.string().optional().describe("Button identifier."),
|
|
@@ -44440,36 +44509,6 @@ e.object({
|
|
|
44440
44509
|
`SendMessageResponse represents the result of a send operation.
|
|
44441
44510
|
Contains the generated message ID and list of recipients.`
|
|
44442
44511
|
);
|
|
44443
|
-
e.object({
|
|
44444
|
-
body: e.string().optional().describe('System message content (e.g., "User X joined the chat").'),
|
|
44445
|
-
metadata: e.looseObject({}).optional().describe("Arbitrary metadata."),
|
|
44446
|
-
sendId: e.string().optional().describe("Optional send ID for idempotency."),
|
|
44447
|
-
to: e.object({
|
|
44448
|
-
channelId: e.string().optional(),
|
|
44449
|
-
contact: e.object({
|
|
44450
|
-
iss: e.string().optional(),
|
|
44451
|
-
sub: e.string().optional()
|
|
44452
|
-
}).optional(),
|
|
44453
|
-
groupId: e.string().optional(),
|
|
44454
|
-
threadId: e.string().optional()
|
|
44455
|
-
}).optional().describe("Recipient of the message."),
|
|
44456
|
-
type: e.string().optional().describe('System message type (e.g., "user_joined", "user_left").')
|
|
44457
|
-
});
|
|
44458
|
-
e.object({
|
|
44459
|
-
id: e.string().optional().describe("Unique message identifier."),
|
|
44460
|
-
to: e.object({
|
|
44461
|
-
channelId: e.string().optional(),
|
|
44462
|
-
contact: e.object({
|
|
44463
|
-
iss: e.string().optional(),
|
|
44464
|
-
sub: e.string().optional()
|
|
44465
|
-
}).optional(),
|
|
44466
|
-
groupId: e.string().optional(),
|
|
44467
|
-
threadId: e.string().optional()
|
|
44468
|
-
}).optional().describe("Recipient of the message.")
|
|
44469
|
-
}).describe(
|
|
44470
|
-
`SendMessageResponse represents the result of a send operation.
|
|
44471
|
-
Contains the generated message ID and list of recipients.`
|
|
44472
|
-
);
|
|
44473
44512
|
e.object({
|
|
44474
44513
|
body: e.string().optional(),
|
|
44475
44514
|
sendId: e.string().optional(),
|
|
@@ -44532,11 +44571,16 @@ false -> fetch older messages (back to older history)`
|
|
|
44532
44571
|
),
|
|
44533
44572
|
size: e.number().optional().describe("Maximum number of messages to return.")
|
|
44534
44573
|
});
|
|
44535
|
-
const
|
|
44574
|
+
const Br = "ROLE_UNSPECIFIED";
|
|
44536
44575
|
e.object({
|
|
44537
44576
|
items: e.array(
|
|
44538
44577
|
e.object({
|
|
44539
44578
|
body: e.string().optional().describe("Message body content."),
|
|
44579
|
+
contact: e.object({
|
|
44580
|
+
email: e.string().optional(),
|
|
44581
|
+
name: e.string().optional(),
|
|
44582
|
+
phone: e.string().optional()
|
|
44583
|
+
}).optional(),
|
|
44540
44584
|
createdAt: e.string().optional().describe(
|
|
44541
44585
|
"Message creation timestamp (Unix time, milliseconds)."
|
|
44542
44586
|
),
|
|
@@ -44584,6 +44628,157 @@ associated with a message.`
|
|
|
44584
44628
|
associated with a message.`
|
|
44585
44629
|
)
|
|
44586
44630
|
).optional().describe("List of image attachments."),
|
|
44631
|
+
interactive: e.object({
|
|
44632
|
+
documents: e.object({
|
|
44633
|
+
documents: e.array(
|
|
44634
|
+
e.object({
|
|
44635
|
+
fileName: e.string().optional(),
|
|
44636
|
+
id: e.string().optional(),
|
|
44637
|
+
mimeType: e.string().optional(),
|
|
44638
|
+
sizeBytes: e.string().optional(),
|
|
44639
|
+
url: e.string().optional()
|
|
44640
|
+
}).describe(
|
|
44641
|
+
"Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems."
|
|
44642
|
+
)
|
|
44643
|
+
).optional().describe(
|
|
44644
|
+
`Documents to be attached to the header of interactive message.
|
|
44645
|
+
Max allowed documents: 10.`
|
|
44646
|
+
)
|
|
44647
|
+
}).optional().describe("Document attachments header."),
|
|
44648
|
+
images: e.object({
|
|
44649
|
+
images: e.array(
|
|
44650
|
+
e.object({
|
|
44651
|
+
id: e.string().optional(),
|
|
44652
|
+
link: e.string().optional(),
|
|
44653
|
+
mimeType: e.string().optional(),
|
|
44654
|
+
name: e.string().optional()
|
|
44655
|
+
}).describe(
|
|
44656
|
+
"Represents `Image` entity with\nnecessary fields."
|
|
44657
|
+
)
|
|
44658
|
+
).optional().describe(
|
|
44659
|
+
`Images to be attached to the header of interactive message.
|
|
44660
|
+
Max allowed images: 10.`
|
|
44661
|
+
)
|
|
44662
|
+
}).optional().describe("Images attachment header."),
|
|
44663
|
+
listReply: e.object({
|
|
44664
|
+
mainButtonTitle: e.string().optional().describe(
|
|
44665
|
+
"Title of the main button, that on-click show up list."
|
|
44666
|
+
),
|
|
44667
|
+
sections: e.array(
|
|
44668
|
+
e.object({
|
|
44669
|
+
buttons: e.array(
|
|
44670
|
+
e.object({
|
|
44671
|
+
callback: e.object({
|
|
44672
|
+
data: e.string().optional().describe(
|
|
44673
|
+
"Opaque data payload passed back to the server upon interaction."
|
|
44674
|
+
)
|
|
44675
|
+
}).optional().describe(
|
|
44676
|
+
"Triggers a backend event (callback) with associated metadata."
|
|
44677
|
+
),
|
|
44678
|
+
id: e.string().optional().describe(
|
|
44679
|
+
`Unique idempotent identifier for the button.
|
|
44680
|
+
Used by the frontend to track state and prevent duplicate interactions.`
|
|
44681
|
+
),
|
|
44682
|
+
label: e.string().optional().describe(
|
|
44683
|
+
"The human-readable label displayed on the button."
|
|
44684
|
+
),
|
|
44685
|
+
metadata: e.looseObject({}).optional().describe(
|
|
44686
|
+
`Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
|
|
44687
|
+
Usage: Allows for future-proofing without breaking schema changes.`
|
|
44688
|
+
),
|
|
44689
|
+
request: e.object({
|
|
44690
|
+
action: e.string().optional().describe(
|
|
44691
|
+
"The specific action to be performed by the client application."
|
|
44692
|
+
)
|
|
44693
|
+
}).optional().describe(
|
|
44694
|
+
"Requests sensitive information from the client (e.g., location or contact)."
|
|
44695
|
+
),
|
|
44696
|
+
url: e.object({
|
|
44697
|
+
url: e.string().optional().describe(
|
|
44698
|
+
"Must be a valid absolute URI (e.g., https://example.com)."
|
|
44699
|
+
)
|
|
44700
|
+
}).optional().describe(
|
|
44701
|
+
"Directs the user to an external web resource."
|
|
44702
|
+
)
|
|
44703
|
+
}).describe(
|
|
44704
|
+
`Defines a single interactive element within the keyboard.
|
|
44705
|
+
Each button must have a unique identifier and a specific action type.`
|
|
44706
|
+
)
|
|
44707
|
+
).optional().describe(
|
|
44708
|
+
`Collection of buttons within this section.
|
|
44709
|
+
Minimum of 1 button is required to prevent empty sections.`
|
|
44710
|
+
),
|
|
44711
|
+
section: e.string().optional().describe(
|
|
44712
|
+
"The header text for this section. Must be concise and descriptive."
|
|
44713
|
+
)
|
|
44714
|
+
}).describe(
|
|
44715
|
+
`Represents a row of buttons grouped under a specific logical section header.
|
|
44716
|
+
Useful for creating categorized menus or structured interactive interfaces.`
|
|
44717
|
+
)
|
|
44718
|
+
).optional().describe("List with sections with buttons.")
|
|
44719
|
+
}).optional().describe(
|
|
44720
|
+
"List reply with main list button text and sections with buttons."
|
|
44721
|
+
),
|
|
44722
|
+
markup: e.object({
|
|
44723
|
+
rows: e.array(
|
|
44724
|
+
e.object({
|
|
44725
|
+
buttons: e.array(
|
|
44726
|
+
e.object({
|
|
44727
|
+
callback: e.object({
|
|
44728
|
+
data: e.string().optional().describe(
|
|
44729
|
+
"Opaque data payload passed back to the server upon interaction."
|
|
44730
|
+
)
|
|
44731
|
+
}).optional().describe(
|
|
44732
|
+
"Triggers a backend event (callback) with associated metadata."
|
|
44733
|
+
),
|
|
44734
|
+
id: e.string().optional().describe(
|
|
44735
|
+
`Unique idempotent identifier for the button.
|
|
44736
|
+
Used by the frontend to track state and prevent duplicate interactions.`
|
|
44737
|
+
),
|
|
44738
|
+
label: e.string().optional().describe(
|
|
44739
|
+
"The human-readable label displayed on the button."
|
|
44740
|
+
),
|
|
44741
|
+
metadata: e.looseObject({}).optional().describe(
|
|
44742
|
+
`Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
|
|
44743
|
+
Usage: Allows for future-proofing without breaking schema changes.`
|
|
44744
|
+
),
|
|
44745
|
+
request: e.object({
|
|
44746
|
+
action: e.string().optional().describe(
|
|
44747
|
+
"The specific action to be performed by the client application."
|
|
44748
|
+
)
|
|
44749
|
+
}).optional().describe(
|
|
44750
|
+
"Requests sensitive information from the client (e.g., location or contact)."
|
|
44751
|
+
),
|
|
44752
|
+
url: e.object({
|
|
44753
|
+
url: e.string().optional().describe(
|
|
44754
|
+
"Must be a valid absolute URI (e.g., https://example.com)."
|
|
44755
|
+
)
|
|
44756
|
+
}).optional().describe(
|
|
44757
|
+
"Directs the user to an external web resource."
|
|
44758
|
+
)
|
|
44759
|
+
}).describe(
|
|
44760
|
+
`Defines a single interactive element within the keyboard.
|
|
44761
|
+
Each button must have a unique identifier and a specific action type.`
|
|
44762
|
+
)
|
|
44763
|
+
).optional().describe(
|
|
44764
|
+
`Horizontal collection of buttons.
|
|
44765
|
+
Capped at 10 to ensure UI responsiveness and prevent overflow.`
|
|
44766
|
+
)
|
|
44767
|
+
}).describe(
|
|
44768
|
+
"A standard horizontal row of interactive buttons without a section header."
|
|
44769
|
+
)
|
|
44770
|
+
).optional().describe("Rows of buttons matrix.")
|
|
44771
|
+
}).optional().describe("Markup matrix with buttons."),
|
|
44772
|
+
singleUse: e.boolean().optional().describe("Force to block user keyboard.")
|
|
44773
|
+
}).optional().describe(
|
|
44774
|
+
"Interactive represents a rich message with UI elements."
|
|
44775
|
+
),
|
|
44776
|
+
location: e.object({
|
|
44777
|
+
address: e.string().optional(),
|
|
44778
|
+
latitude: e.number().optional(),
|
|
44779
|
+
longitude: e.number().optional(),
|
|
44780
|
+
name: e.string().optional()
|
|
44781
|
+
}).optional(),
|
|
44587
44782
|
metadata: e.looseObject({}).optional().describe(
|
|
44588
44783
|
`Arbitrary message metadata.
|
|
44589
44784
|
Can contain structured data depending on message type.`
|
|
@@ -44609,13 +44804,22 @@ Can contain structured data depending on message type.`
|
|
|
44609
44804
|
sub: e.string().optional().describe(
|
|
44610
44805
|
"Associated internal system subject/identifier."
|
|
44611
44806
|
),
|
|
44612
|
-
type: e.string().optional().describe(
|
|
44613
|
-
"Channel type (e.g., 'webchat', 'telegram')."
|
|
44614
|
-
),
|
|
44807
|
+
type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
44615
44808
|
updatedAt: e.string().optional().describe(
|
|
44616
44809
|
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
44617
44810
|
),
|
|
44618
|
-
username: e.string().optional().describe("Technical username or handle.")
|
|
44811
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
44812
|
+
vias: e.array(
|
|
44813
|
+
e.object({
|
|
44814
|
+
contactId: e.string().optional(),
|
|
44815
|
+
createdAt: e.string().optional(),
|
|
44816
|
+
disable: e.boolean().optional(),
|
|
44817
|
+
disableReason: e.string().optional(),
|
|
44818
|
+
metadata: e.looseObject({}).optional(),
|
|
44819
|
+
updatedAt: e.string().optional(),
|
|
44820
|
+
via: e.string().optional()
|
|
44821
|
+
})
|
|
44822
|
+
).optional()
|
|
44619
44823
|
}).optional().describe(
|
|
44620
44824
|
"Contact represents an external messaging identity."
|
|
44621
44825
|
),
|
|
@@ -44638,7 +44842,7 @@ Can contain structured data depending on message type.`
|
|
|
44638
44842
|
"ROLE_OWNER",
|
|
44639
44843
|
"ROLE_SUPERVISOR"
|
|
44640
44844
|
]).default(
|
|
44641
|
-
|
|
44845
|
+
Br
|
|
44642
44846
|
)
|
|
44643
44847
|
}).optional().describe("Sender user aggregated information."),
|
|
44644
44848
|
threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
|
|
@@ -44697,9 +44901,10 @@ Must be greater than 0 and less than or equal to 100.`
|
|
|
44697
44901
|
Optional "+" or "-" prefix indicates ascending or descending order.
|
|
44698
44902
|
Example: "-created_at", "subject"`
|
|
44699
44903
|
),
|
|
44700
|
-
page: e.number().optional().describe("Page number (1-based).")
|
|
44904
|
+
page: e.number().optional().describe("Page number (1-based)."),
|
|
44905
|
+
contactIds: e.array(e.string()).optional().describe("Filter threads by participant contact IDs.")
|
|
44701
44906
|
});
|
|
44702
|
-
const
|
|
44907
|
+
const Nr = "ROLE_UNSPECIFIED", Pr = "ROLE_UNSPECIFIED", Fr = "UNKNOWN";
|
|
44703
44908
|
e.object({
|
|
44704
44909
|
items: e.array(
|
|
44705
44910
|
e.object({
|
|
@@ -44708,6 +44913,11 @@ e.object({
|
|
|
44708
44913
|
id: e.string().optional().describe("Unique thread identifier."),
|
|
44709
44914
|
lastMsg: e.object({
|
|
44710
44915
|
body: e.string().optional().describe("Message body content."),
|
|
44916
|
+
contact: e.object({
|
|
44917
|
+
email: e.string().optional(),
|
|
44918
|
+
name: e.string().optional(),
|
|
44919
|
+
phone: e.string().optional()
|
|
44920
|
+
}).optional(),
|
|
44711
44921
|
createdAt: e.string().optional().describe(
|
|
44712
44922
|
"Message creation timestamp (Unix time, milliseconds)."
|
|
44713
44923
|
),
|
|
@@ -44757,6 +44967,157 @@ associated with a message.`
|
|
|
44757
44967
|
associated with a message.`
|
|
44758
44968
|
)
|
|
44759
44969
|
).optional().describe("List of image attachments."),
|
|
44970
|
+
interactive: e.object({
|
|
44971
|
+
documents: e.object({
|
|
44972
|
+
documents: e.array(
|
|
44973
|
+
e.object({
|
|
44974
|
+
fileName: e.string().optional(),
|
|
44975
|
+
id: e.string().optional(),
|
|
44976
|
+
mimeType: e.string().optional(),
|
|
44977
|
+
sizeBytes: e.string().optional(),
|
|
44978
|
+
url: e.string().optional()
|
|
44979
|
+
}).describe(
|
|
44980
|
+
"Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems."
|
|
44981
|
+
)
|
|
44982
|
+
).optional().describe(
|
|
44983
|
+
`Documents to be attached to the header of interactive message.
|
|
44984
|
+
Max allowed documents: 10.`
|
|
44985
|
+
)
|
|
44986
|
+
}).optional().describe("Document attachments header."),
|
|
44987
|
+
images: e.object({
|
|
44988
|
+
images: e.array(
|
|
44989
|
+
e.object({
|
|
44990
|
+
id: e.string().optional(),
|
|
44991
|
+
link: e.string().optional(),
|
|
44992
|
+
mimeType: e.string().optional(),
|
|
44993
|
+
name: e.string().optional()
|
|
44994
|
+
}).describe(
|
|
44995
|
+
"Represents `Image` entity with\nnecessary fields."
|
|
44996
|
+
)
|
|
44997
|
+
).optional().describe(
|
|
44998
|
+
`Images to be attached to the header of interactive message.
|
|
44999
|
+
Max allowed images: 10.`
|
|
45000
|
+
)
|
|
45001
|
+
}).optional().describe("Images attachment header."),
|
|
45002
|
+
listReply: e.object({
|
|
45003
|
+
mainButtonTitle: e.string().optional().describe(
|
|
45004
|
+
"Title of the main button, that on-click show up list."
|
|
45005
|
+
),
|
|
45006
|
+
sections: e.array(
|
|
45007
|
+
e.object({
|
|
45008
|
+
buttons: e.array(
|
|
45009
|
+
e.object({
|
|
45010
|
+
callback: e.object({
|
|
45011
|
+
data: e.string().optional().describe(
|
|
45012
|
+
"Opaque data payload passed back to the server upon interaction."
|
|
45013
|
+
)
|
|
45014
|
+
}).optional().describe(
|
|
45015
|
+
"Triggers a backend event (callback) with associated metadata."
|
|
45016
|
+
),
|
|
45017
|
+
id: e.string().optional().describe(
|
|
45018
|
+
`Unique idempotent identifier for the button.
|
|
45019
|
+
Used by the frontend to track state and prevent duplicate interactions.`
|
|
45020
|
+
),
|
|
45021
|
+
label: e.string().optional().describe(
|
|
45022
|
+
"The human-readable label displayed on the button."
|
|
45023
|
+
),
|
|
45024
|
+
metadata: e.looseObject({}).optional().describe(
|
|
45025
|
+
`Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
|
|
45026
|
+
Usage: Allows for future-proofing without breaking schema changes.`
|
|
45027
|
+
),
|
|
45028
|
+
request: e.object({
|
|
45029
|
+
action: e.string().optional().describe(
|
|
45030
|
+
"The specific action to be performed by the client application."
|
|
45031
|
+
)
|
|
45032
|
+
}).optional().describe(
|
|
45033
|
+
"Requests sensitive information from the client (e.g., location or contact)."
|
|
45034
|
+
),
|
|
45035
|
+
url: e.object({
|
|
45036
|
+
url: e.string().optional().describe(
|
|
45037
|
+
"Must be a valid absolute URI (e.g., https://example.com)."
|
|
45038
|
+
)
|
|
45039
|
+
}).optional().describe(
|
|
45040
|
+
"Directs the user to an external web resource."
|
|
45041
|
+
)
|
|
45042
|
+
}).describe(
|
|
45043
|
+
`Defines a single interactive element within the keyboard.
|
|
45044
|
+
Each button must have a unique identifier and a specific action type.`
|
|
45045
|
+
)
|
|
45046
|
+
).optional().describe(
|
|
45047
|
+
`Collection of buttons within this section.
|
|
45048
|
+
Minimum of 1 button is required to prevent empty sections.`
|
|
45049
|
+
),
|
|
45050
|
+
section: e.string().optional().describe(
|
|
45051
|
+
"The header text for this section. Must be concise and descriptive."
|
|
45052
|
+
)
|
|
45053
|
+
}).describe(
|
|
45054
|
+
`Represents a row of buttons grouped under a specific logical section header.
|
|
45055
|
+
Useful for creating categorized menus or structured interactive interfaces.`
|
|
45056
|
+
)
|
|
45057
|
+
).optional().describe("List with sections with buttons.")
|
|
45058
|
+
}).optional().describe(
|
|
45059
|
+
"List reply with main list button text and sections with buttons."
|
|
45060
|
+
),
|
|
45061
|
+
markup: e.object({
|
|
45062
|
+
rows: e.array(
|
|
45063
|
+
e.object({
|
|
45064
|
+
buttons: e.array(
|
|
45065
|
+
e.object({
|
|
45066
|
+
callback: e.object({
|
|
45067
|
+
data: e.string().optional().describe(
|
|
45068
|
+
"Opaque data payload passed back to the server upon interaction."
|
|
45069
|
+
)
|
|
45070
|
+
}).optional().describe(
|
|
45071
|
+
"Triggers a backend event (callback) with associated metadata."
|
|
45072
|
+
),
|
|
45073
|
+
id: e.string().optional().describe(
|
|
45074
|
+
`Unique idempotent identifier for the button.
|
|
45075
|
+
Used by the frontend to track state and prevent duplicate interactions.`
|
|
45076
|
+
),
|
|
45077
|
+
label: e.string().optional().describe(
|
|
45078
|
+
"The human-readable label displayed on the button."
|
|
45079
|
+
),
|
|
45080
|
+
metadata: e.looseObject({}).optional().describe(
|
|
45081
|
+
`Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
|
|
45082
|
+
Usage: Allows for future-proofing without breaking schema changes.`
|
|
45083
|
+
),
|
|
45084
|
+
request: e.object({
|
|
45085
|
+
action: e.string().optional().describe(
|
|
45086
|
+
"The specific action to be performed by the client application."
|
|
45087
|
+
)
|
|
45088
|
+
}).optional().describe(
|
|
45089
|
+
"Requests sensitive information from the client (e.g., location or contact)."
|
|
45090
|
+
),
|
|
45091
|
+
url: e.object({
|
|
45092
|
+
url: e.string().optional().describe(
|
|
45093
|
+
"Must be a valid absolute URI (e.g., https://example.com)."
|
|
45094
|
+
)
|
|
45095
|
+
}).optional().describe(
|
|
45096
|
+
"Directs the user to an external web resource."
|
|
45097
|
+
)
|
|
45098
|
+
}).describe(
|
|
45099
|
+
`Defines a single interactive element within the keyboard.
|
|
45100
|
+
Each button must have a unique identifier and a specific action type.`
|
|
45101
|
+
)
|
|
45102
|
+
).optional().describe(
|
|
45103
|
+
`Horizontal collection of buttons.
|
|
45104
|
+
Capped at 10 to ensure UI responsiveness and prevent overflow.`
|
|
45105
|
+
)
|
|
45106
|
+
}).describe(
|
|
45107
|
+
"A standard horizontal row of interactive buttons without a section header."
|
|
45108
|
+
)
|
|
45109
|
+
).optional().describe("Rows of buttons matrix.")
|
|
45110
|
+
}).optional().describe("Markup matrix with buttons."),
|
|
45111
|
+
singleUse: e.boolean().optional().describe("Force to block user keyboard.")
|
|
45112
|
+
}).optional().describe(
|
|
45113
|
+
"Interactive represents a rich message with UI elements."
|
|
45114
|
+
),
|
|
45115
|
+
location: e.object({
|
|
45116
|
+
address: e.string().optional(),
|
|
45117
|
+
latitude: e.number().optional(),
|
|
45118
|
+
longitude: e.number().optional(),
|
|
45119
|
+
name: e.string().optional()
|
|
45120
|
+
}).optional(),
|
|
44760
45121
|
metadata: e.looseObject({}).optional().describe(
|
|
44761
45122
|
`Arbitrary message metadata.
|
|
44762
45123
|
Can contain structured data depending on message type.`
|
|
@@ -44788,7 +45149,18 @@ Can contain structured data depending on message type.`
|
|
|
44788
45149
|
updatedAt: e.string().optional().describe(
|
|
44789
45150
|
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
44790
45151
|
),
|
|
44791
|
-
username: e.string().optional().describe("Technical username or handle.")
|
|
45152
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
45153
|
+
vias: e.array(
|
|
45154
|
+
e.object({
|
|
45155
|
+
contactId: e.string().optional(),
|
|
45156
|
+
createdAt: e.string().optional(),
|
|
45157
|
+
disable: e.boolean().optional(),
|
|
45158
|
+
disableReason: e.string().optional(),
|
|
45159
|
+
metadata: e.looseObject({}).optional(),
|
|
45160
|
+
updatedAt: e.string().optional(),
|
|
45161
|
+
via: e.string().optional()
|
|
45162
|
+
})
|
|
45163
|
+
).optional()
|
|
44792
45164
|
}).optional().describe(
|
|
44793
45165
|
"Contact represents an external messaging identity."
|
|
44794
45166
|
),
|
|
@@ -44811,7 +45183,7 @@ Can contain structured data depending on message type.`
|
|
|
44811
45183
|
"ROLE_OWNER",
|
|
44812
45184
|
"ROLE_SUPERVISOR"
|
|
44813
45185
|
]).default(
|
|
44814
|
-
|
|
45186
|
+
Nr
|
|
44815
45187
|
)
|
|
44816
45188
|
}).optional().describe("Sender user aggregated information."),
|
|
44817
45189
|
threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
|
|
@@ -44845,7 +45217,18 @@ Can contain structured data depending on message type.`
|
|
|
44845
45217
|
updatedAt: e.string().optional().describe(
|
|
44846
45218
|
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
44847
45219
|
),
|
|
44848
|
-
username: e.string().optional().describe("Technical username or handle.")
|
|
45220
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
45221
|
+
vias: e.array(
|
|
45222
|
+
e.object({
|
|
45223
|
+
contactId: e.string().optional(),
|
|
45224
|
+
createdAt: e.string().optional(),
|
|
45225
|
+
disable: e.boolean().optional(),
|
|
45226
|
+
disableReason: e.string().optional(),
|
|
45227
|
+
metadata: e.looseObject({}).optional(),
|
|
45228
|
+
updatedAt: e.string().optional(),
|
|
45229
|
+
via: e.string().optional()
|
|
45230
|
+
})
|
|
45231
|
+
).optional()
|
|
44849
45232
|
}).optional().describe(
|
|
44850
45233
|
"Contact represents an external messaging identity."
|
|
44851
45234
|
),
|
|
@@ -44868,7 +45251,7 @@ Can contain structured data depending on message type.`
|
|
|
44868
45251
|
"ROLE_OWNER",
|
|
44869
45252
|
"ROLE_SUPERVISOR"
|
|
44870
45253
|
]).default(
|
|
44871
|
-
|
|
45254
|
+
Pr
|
|
44872
45255
|
)
|
|
44873
45256
|
}).describe(
|
|
44874
45257
|
`ThreadMember represents a thread participant
|
|
@@ -44891,7 +45274,7 @@ Usually represents the display name of the conversation.`
|
|
|
44891
45274
|
"DIRECT",
|
|
44892
45275
|
"GROUP",
|
|
44893
45276
|
"CHANNEL"
|
|
44894
|
-
]).default(
|
|
45277
|
+
]).default(Fr).describe("Type of the thread."),
|
|
44895
45278
|
updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
|
|
44896
45279
|
variables: e.object({
|
|
44897
45280
|
threadId: e.string().optional().describe("Unique identifier for the thread."),
|
|
@@ -44927,7 +45310,18 @@ Usually represents the display name of the conversation.`
|
|
|
44927
45310
|
updatedAt: e.string().optional().describe(
|
|
44928
45311
|
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
44929
45312
|
),
|
|
44930
|
-
username: e.string().optional().describe("Technical username or handle.")
|
|
45313
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
45314
|
+
vias: e.array(
|
|
45315
|
+
e.object({
|
|
45316
|
+
contactId: e.string().optional(),
|
|
45317
|
+
createdAt: e.string().optional(),
|
|
45318
|
+
disable: e.boolean().optional(),
|
|
45319
|
+
disableReason: e.string().optional(),
|
|
45320
|
+
metadata: e.looseObject({}).optional(),
|
|
45321
|
+
updatedAt: e.string().optional(),
|
|
45322
|
+
via: e.string().optional()
|
|
45323
|
+
})
|
|
45324
|
+
).optional()
|
|
44931
45325
|
}).optional().describe("Contact who set the variable."),
|
|
44932
45326
|
value: e.looseObject({}).optional().describe(
|
|
44933
45327
|
`Arbitrary structured value of the variable.
|
|
@@ -44951,10 +45345,411 @@ Key is the variable name, value contains data and metadata.`
|
|
|
44951
45345
|
`SearchThreadResponse contains the list of threads
|
|
44952
45346
|
and pagination metadata.`
|
|
44953
45347
|
);
|
|
45348
|
+
e.object({
|
|
45349
|
+
id: e.string().describe("Unique thread identifier.")
|
|
45350
|
+
});
|
|
45351
|
+
e.object({
|
|
45352
|
+
fields: e.array(e.string()).optional().describe("List of fields to include in the response.")
|
|
45353
|
+
});
|
|
45354
|
+
const Lr = "ROLE_UNSPECIFIED", Mr = "ROLE_UNSPECIFIED", zr = "UNKNOWN";
|
|
45355
|
+
e.object({
|
|
45356
|
+
createdAt: e.string().optional().describe("Thread creation timestamp (Unix time, milliseconds)."),
|
|
45357
|
+
description: e.string().optional().describe("Optional thread description."),
|
|
45358
|
+
id: e.string().optional().describe("Unique thread identifier."),
|
|
45359
|
+
lastMsg: e.object({
|
|
45360
|
+
body: e.string().optional().describe("Message body content."),
|
|
45361
|
+
contact: e.object({
|
|
45362
|
+
email: e.string().optional(),
|
|
45363
|
+
name: e.string().optional(),
|
|
45364
|
+
phone: e.string().optional()
|
|
45365
|
+
}).optional(),
|
|
45366
|
+
createdAt: e.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
|
|
45367
|
+
documents: e.array(
|
|
45368
|
+
e.object({
|
|
45369
|
+
createdAt: e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
|
|
45370
|
+
fileId: e.string().optional().describe("File storage identifier."),
|
|
45371
|
+
id: e.string().optional().describe("Document identifier."),
|
|
45372
|
+
messageId: e.string().optional().describe(
|
|
45373
|
+
"Identifier of the message this document belongs to."
|
|
45374
|
+
),
|
|
45375
|
+
mime: e.string().optional().describe("MIME type of the document."),
|
|
45376
|
+
name: e.string().optional().describe("Original file name."),
|
|
45377
|
+
size: e.string().optional().describe("File size in bytes."),
|
|
45378
|
+
url: e.string().optional().describe("Public signed URL for downloading the document.")
|
|
45379
|
+
}).describe(
|
|
45380
|
+
`Document represents a file attachment
|
|
45381
|
+
associated with a message.`
|
|
45382
|
+
)
|
|
45383
|
+
).optional().describe("List of document attachments."),
|
|
45384
|
+
editedAt: e.string().optional().describe("Message last update timestamp (Unix time, milliseconds)."),
|
|
45385
|
+
id: e.string().optional().describe("Unique message identifier."),
|
|
45386
|
+
images: e.array(
|
|
45387
|
+
e.object({
|
|
45388
|
+
createdAt: e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
|
|
45389
|
+
fileId: e.string().optional().describe("File storage identifier."),
|
|
45390
|
+
height: e.number().optional().describe("Image height in pixels."),
|
|
45391
|
+
id: e.string().optional().describe("Image identifier."),
|
|
45392
|
+
messageId: e.string().optional().describe(
|
|
45393
|
+
"Identifier of the message this message belongs to."
|
|
45394
|
+
),
|
|
45395
|
+
mime: e.string().optional().describe("MIME type of the image."),
|
|
45396
|
+
url: e.string().optional().describe("Public signed URL for accessing the image."),
|
|
45397
|
+
width: e.number().optional().describe("Image width in pixels.")
|
|
45398
|
+
}).describe(
|
|
45399
|
+
`Image represents an image attachment
|
|
45400
|
+
associated with a message.`
|
|
45401
|
+
)
|
|
45402
|
+
).optional().describe("List of image attachments."),
|
|
45403
|
+
interactive: e.object({
|
|
45404
|
+
documents: e.object({
|
|
45405
|
+
documents: e.array(
|
|
45406
|
+
e.object({
|
|
45407
|
+
fileName: e.string().optional(),
|
|
45408
|
+
id: e.string().optional(),
|
|
45409
|
+
mimeType: e.string().optional(),
|
|
45410
|
+
sizeBytes: e.string().optional(),
|
|
45411
|
+
url: e.string().optional()
|
|
45412
|
+
}).describe(
|
|
45413
|
+
"Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems."
|
|
45414
|
+
)
|
|
45415
|
+
).optional().describe(
|
|
45416
|
+
`Documents to be attached to the header of interactive message.
|
|
45417
|
+
Max allowed documents: 10.`
|
|
45418
|
+
)
|
|
45419
|
+
}).optional().describe("Document attachments header."),
|
|
45420
|
+
images: e.object({
|
|
45421
|
+
images: e.array(
|
|
45422
|
+
e.object({
|
|
45423
|
+
id: e.string().optional(),
|
|
45424
|
+
link: e.string().optional(),
|
|
45425
|
+
mimeType: e.string().optional(),
|
|
45426
|
+
name: e.string().optional()
|
|
45427
|
+
}).describe(
|
|
45428
|
+
"Represents `Image` entity with\nnecessary fields."
|
|
45429
|
+
)
|
|
45430
|
+
).optional().describe(
|
|
45431
|
+
`Images to be attached to the header of interactive message.
|
|
45432
|
+
Max allowed images: 10.`
|
|
45433
|
+
)
|
|
45434
|
+
}).optional().describe("Images attachment header."),
|
|
45435
|
+
listReply: e.object({
|
|
45436
|
+
mainButtonTitle: e.string().optional().describe(
|
|
45437
|
+
"Title of the main button, that on-click show up list."
|
|
45438
|
+
),
|
|
45439
|
+
sections: e.array(
|
|
45440
|
+
e.object({
|
|
45441
|
+
buttons: e.array(
|
|
45442
|
+
e.object({
|
|
45443
|
+
callback: e.object({
|
|
45444
|
+
data: e.string().optional().describe(
|
|
45445
|
+
"Opaque data payload passed back to the server upon interaction."
|
|
45446
|
+
)
|
|
45447
|
+
}).optional().describe(
|
|
45448
|
+
"Triggers a backend event (callback) with associated metadata."
|
|
45449
|
+
),
|
|
45450
|
+
id: e.string().optional().describe(
|
|
45451
|
+
`Unique idempotent identifier for the button.
|
|
45452
|
+
Used by the frontend to track state and prevent duplicate interactions.`
|
|
45453
|
+
),
|
|
45454
|
+
label: e.string().optional().describe(
|
|
45455
|
+
"The human-readable label displayed on the button."
|
|
45456
|
+
),
|
|
45457
|
+
metadata: e.looseObject({}).optional().describe(
|
|
45458
|
+
`Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
|
|
45459
|
+
Usage: Allows for future-proofing without breaking schema changes.`
|
|
45460
|
+
),
|
|
45461
|
+
request: e.object({
|
|
45462
|
+
action: e.string().optional().describe(
|
|
45463
|
+
"The specific action to be performed by the client application."
|
|
45464
|
+
)
|
|
45465
|
+
}).optional().describe(
|
|
45466
|
+
"Requests sensitive information from the client (e.g., location or contact)."
|
|
45467
|
+
),
|
|
45468
|
+
url: e.object({
|
|
45469
|
+
url: e.string().optional().describe(
|
|
45470
|
+
"Must be a valid absolute URI (e.g., https://example.com)."
|
|
45471
|
+
)
|
|
45472
|
+
}).optional().describe(
|
|
45473
|
+
"Directs the user to an external web resource."
|
|
45474
|
+
)
|
|
45475
|
+
}).describe(
|
|
45476
|
+
`Defines a single interactive element within the keyboard.
|
|
45477
|
+
Each button must have a unique identifier and a specific action type.`
|
|
45478
|
+
)
|
|
45479
|
+
).optional().describe(
|
|
45480
|
+
`Collection of buttons within this section.
|
|
45481
|
+
Minimum of 1 button is required to prevent empty sections.`
|
|
45482
|
+
),
|
|
45483
|
+
section: e.string().optional().describe(
|
|
45484
|
+
"The header text for this section. Must be concise and descriptive."
|
|
45485
|
+
)
|
|
45486
|
+
}).describe(
|
|
45487
|
+
`Represents a row of buttons grouped under a specific logical section header.
|
|
45488
|
+
Useful for creating categorized menus or structured interactive interfaces.`
|
|
45489
|
+
)
|
|
45490
|
+
).optional().describe("List with sections with buttons.")
|
|
45491
|
+
}).optional().describe(
|
|
45492
|
+
"List reply with main list button text and sections with buttons."
|
|
45493
|
+
),
|
|
45494
|
+
markup: e.object({
|
|
45495
|
+
rows: e.array(
|
|
45496
|
+
e.object({
|
|
45497
|
+
buttons: e.array(
|
|
45498
|
+
e.object({
|
|
45499
|
+
callback: e.object({
|
|
45500
|
+
data: e.string().optional().describe(
|
|
45501
|
+
"Opaque data payload passed back to the server upon interaction."
|
|
45502
|
+
)
|
|
45503
|
+
}).optional().describe(
|
|
45504
|
+
"Triggers a backend event (callback) with associated metadata."
|
|
45505
|
+
),
|
|
45506
|
+
id: e.string().optional().describe(
|
|
45507
|
+
`Unique idempotent identifier for the button.
|
|
45508
|
+
Used by the frontend to track state and prevent duplicate interactions.`
|
|
45509
|
+
),
|
|
45510
|
+
label: e.string().optional().describe(
|
|
45511
|
+
"The human-readable label displayed on the button."
|
|
45512
|
+
),
|
|
45513
|
+
metadata: e.looseObject({}).optional().describe(
|
|
45514
|
+
`Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
|
|
45515
|
+
Usage: Allows for future-proofing without breaking schema changes.`
|
|
45516
|
+
),
|
|
45517
|
+
request: e.object({
|
|
45518
|
+
action: e.string().optional().describe(
|
|
45519
|
+
"The specific action to be performed by the client application."
|
|
45520
|
+
)
|
|
45521
|
+
}).optional().describe(
|
|
45522
|
+
"Requests sensitive information from the client (e.g., location or contact)."
|
|
45523
|
+
),
|
|
45524
|
+
url: e.object({
|
|
45525
|
+
url: e.string().optional().describe(
|
|
45526
|
+
"Must be a valid absolute URI (e.g., https://example.com)."
|
|
45527
|
+
)
|
|
45528
|
+
}).optional().describe(
|
|
45529
|
+
"Directs the user to an external web resource."
|
|
45530
|
+
)
|
|
45531
|
+
}).describe(
|
|
45532
|
+
`Defines a single interactive element within the keyboard.
|
|
45533
|
+
Each button must have a unique identifier and a specific action type.`
|
|
45534
|
+
)
|
|
45535
|
+
).optional().describe(
|
|
45536
|
+
`Horizontal collection of buttons.
|
|
45537
|
+
Capped at 10 to ensure UI responsiveness and prevent overflow.`
|
|
45538
|
+
)
|
|
45539
|
+
}).describe(
|
|
45540
|
+
"A standard horizontal row of interactive buttons without a section header."
|
|
45541
|
+
)
|
|
45542
|
+
).optional().describe("Rows of buttons matrix.")
|
|
45543
|
+
}).optional().describe("Markup matrix with buttons."),
|
|
45544
|
+
singleUse: e.boolean().optional().describe("Force to block user keyboard.")
|
|
45545
|
+
}).optional().describe("Interactive represents a rich message with UI elements."),
|
|
45546
|
+
location: e.object({
|
|
45547
|
+
address: e.string().optional(),
|
|
45548
|
+
latitude: e.number().optional(),
|
|
45549
|
+
longitude: e.number().optional(),
|
|
45550
|
+
name: e.string().optional()
|
|
45551
|
+
}).optional(),
|
|
45552
|
+
metadata: e.looseObject({}).optional().describe(
|
|
45553
|
+
`Arbitrary message metadata.
|
|
45554
|
+
Can contain structured data depending on message type.`
|
|
45555
|
+
),
|
|
45556
|
+
sender: e.object({
|
|
45557
|
+
contact: e.object({
|
|
45558
|
+
appId: e.string().optional().describe(
|
|
45559
|
+
"Identifier of the specific integration app or bot."
|
|
45560
|
+
),
|
|
45561
|
+
createdAt: e.string().optional().describe(
|
|
45562
|
+
"Record creation timestamp (Unix Epoch in milliseconds)."
|
|
45563
|
+
),
|
|
45564
|
+
isBot: e.boolean().optional().describe(
|
|
45565
|
+
"Represents if usere is real person or automatic script."
|
|
45566
|
+
),
|
|
45567
|
+
iss: e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
45568
|
+
metadata: e.record(e.string(), e.string()).optional().describe(
|
|
45569
|
+
"Additional dynamic attributes provided by the messenger."
|
|
45570
|
+
),
|
|
45571
|
+
name: e.string().optional().describe("Display name of the contact."),
|
|
45572
|
+
sub: e.string().optional().describe("Associated internal system subject/identifier."),
|
|
45573
|
+
type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
45574
|
+
updatedAt: e.string().optional().describe(
|
|
45575
|
+
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
45576
|
+
),
|
|
45577
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
45578
|
+
vias: e.array(
|
|
45579
|
+
e.object({
|
|
45580
|
+
contactId: e.string().optional(),
|
|
45581
|
+
createdAt: e.string().optional(),
|
|
45582
|
+
disable: e.boolean().optional(),
|
|
45583
|
+
disableReason: e.string().optional(),
|
|
45584
|
+
metadata: e.looseObject({}).optional(),
|
|
45585
|
+
updatedAt: e.string().optional(),
|
|
45586
|
+
via: e.string().optional()
|
|
45587
|
+
})
|
|
45588
|
+
).optional()
|
|
45589
|
+
}).optional().describe("Contact represents an external messaging identity."),
|
|
45590
|
+
id: e.string().optional(),
|
|
45591
|
+
permissions: e.object({
|
|
45592
|
+
canAddMembers: e.boolean().optional(),
|
|
45593
|
+
canChangeMembersPermissions: e.boolean().optional(),
|
|
45594
|
+
canChangeThreadInfo: e.boolean().optional(),
|
|
45595
|
+
canRemoveMembers: e.boolean().optional(),
|
|
45596
|
+
canSendMessages: e.boolean().optional(),
|
|
45597
|
+
createdAt: e.string().optional(),
|
|
45598
|
+
id: e.string().optional(),
|
|
45599
|
+
memberId: e.string().optional(),
|
|
45600
|
+
updatedAt: e.string().optional()
|
|
45601
|
+
}).optional(),
|
|
45602
|
+
role: e.enum([
|
|
45603
|
+
"ROLE_UNSPECIFIED",
|
|
45604
|
+
"ROLE_MEMBER",
|
|
45605
|
+
"ROLE_ADMIN",
|
|
45606
|
+
"ROLE_OWNER",
|
|
45607
|
+
"ROLE_SUPERVISOR"
|
|
45608
|
+
]).default(Lr)
|
|
45609
|
+
}).optional().describe("Sender user aggregated information."),
|
|
45610
|
+
threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
|
|
45611
|
+
type: e.number().optional().describe("Message type identifier.")
|
|
45612
|
+
}).optional().describe("Last message of the linked thread."),
|
|
45613
|
+
members: e.array(
|
|
45614
|
+
e.object({
|
|
45615
|
+
contact: e.object({
|
|
45616
|
+
appId: e.string().optional().describe(
|
|
45617
|
+
"Identifier of the specific integration app or bot."
|
|
45618
|
+
),
|
|
45619
|
+
createdAt: e.string().optional().describe(
|
|
45620
|
+
"Record creation timestamp (Unix Epoch in milliseconds)."
|
|
45621
|
+
),
|
|
45622
|
+
isBot: e.boolean().optional().describe(
|
|
45623
|
+
"Represents if usere is real person or automatic script."
|
|
45624
|
+
),
|
|
45625
|
+
iss: e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
45626
|
+
metadata: e.record(e.string(), e.string()).optional().describe(
|
|
45627
|
+
"Additional dynamic attributes provided by the messenger."
|
|
45628
|
+
),
|
|
45629
|
+
name: e.string().optional().describe("Display name of the contact."),
|
|
45630
|
+
sub: e.string().optional().describe("Associated internal system subject/identifier."),
|
|
45631
|
+
type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
45632
|
+
updatedAt: e.string().optional().describe(
|
|
45633
|
+
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
45634
|
+
),
|
|
45635
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
45636
|
+
vias: e.array(
|
|
45637
|
+
e.object({
|
|
45638
|
+
contactId: e.string().optional(),
|
|
45639
|
+
createdAt: e.string().optional(),
|
|
45640
|
+
disable: e.boolean().optional(),
|
|
45641
|
+
disableReason: e.string().optional(),
|
|
45642
|
+
metadata: e.looseObject({}).optional(),
|
|
45643
|
+
updatedAt: e.string().optional(),
|
|
45644
|
+
via: e.string().optional()
|
|
45645
|
+
})
|
|
45646
|
+
).optional()
|
|
45647
|
+
}).optional().describe("Contact represents an external messaging identity."),
|
|
45648
|
+
id: e.string().optional(),
|
|
45649
|
+
permissions: e.object({
|
|
45650
|
+
canAddMembers: e.boolean().optional(),
|
|
45651
|
+
canChangeMembersPermissions: e.boolean().optional(),
|
|
45652
|
+
canChangeThreadInfo: e.boolean().optional(),
|
|
45653
|
+
canRemoveMembers: e.boolean().optional(),
|
|
45654
|
+
canSendMessages: e.boolean().optional(),
|
|
45655
|
+
createdAt: e.string().optional(),
|
|
45656
|
+
id: e.string().optional(),
|
|
45657
|
+
memberId: e.string().optional(),
|
|
45658
|
+
updatedAt: e.string().optional()
|
|
45659
|
+
}).optional(),
|
|
45660
|
+
role: e.enum([
|
|
45661
|
+
"ROLE_UNSPECIFIED",
|
|
45662
|
+
"ROLE_MEMBER",
|
|
45663
|
+
"ROLE_ADMIN",
|
|
45664
|
+
"ROLE_OWNER",
|
|
45665
|
+
"ROLE_SUPERVISOR"
|
|
45666
|
+
]).default(Mr)
|
|
45667
|
+
}).describe(
|
|
45668
|
+
`ThreadMember represents a thread participant
|
|
45669
|
+
with optional type-specific settings.`
|
|
45670
|
+
)
|
|
45671
|
+
).optional().describe("Detailed member information."),
|
|
45672
|
+
settings: e.object({
|
|
45673
|
+
createdAt: e.string().optional().describe("Creation timestamp (Unix time, milliseconds)."),
|
|
45674
|
+
domainId: e.number().optional().describe("Domain identifier."),
|
|
45675
|
+
id: e.string().optional().describe("Settings identifier."),
|
|
45676
|
+
title: e.string().optional().describe(
|
|
45677
|
+
`Custom title for the direct thread.
|
|
45678
|
+
Usually represents the display name of the conversation.`
|
|
45679
|
+
),
|
|
45680
|
+
updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds).")
|
|
45681
|
+
}).optional().describe("User-specific settings for this thread."),
|
|
45682
|
+
subject: e.string().optional().describe("Thread subject or title."),
|
|
45683
|
+
type: e.enum([
|
|
45684
|
+
"UNKNOWN",
|
|
45685
|
+
"DIRECT",
|
|
45686
|
+
"GROUP",
|
|
45687
|
+
"CHANNEL"
|
|
45688
|
+
]).default(zr).describe("Type of the thread."),
|
|
45689
|
+
updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
|
|
45690
|
+
variables: e.object({
|
|
45691
|
+
threadId: e.string().optional().describe("Unique identifier for the thread."),
|
|
45692
|
+
variables: e.record(
|
|
45693
|
+
e.string(),
|
|
45694
|
+
e.object({
|
|
45695
|
+
setAt: e.string().optional().describe(
|
|
45696
|
+
"Timestamp when the variable was set (Unix time, milliseconds)."
|
|
45697
|
+
),
|
|
45698
|
+
setBy: e.object({
|
|
45699
|
+
appId: e.string().optional().describe(
|
|
45700
|
+
"Identifier of the specific integration app or bot."
|
|
45701
|
+
),
|
|
45702
|
+
createdAt: e.string().optional().describe(
|
|
45703
|
+
"Record creation timestamp (Unix Epoch in milliseconds)."
|
|
45704
|
+
),
|
|
45705
|
+
isBot: e.boolean().optional().describe(
|
|
45706
|
+
"Represents if usere is real person or automatic script."
|
|
45707
|
+
),
|
|
45708
|
+
iss: e.string().optional().describe(
|
|
45709
|
+
"Provider-specific unique identifier (Issuer ID)."
|
|
45710
|
+
),
|
|
45711
|
+
metadata: e.record(e.string(), e.string()).optional().describe(
|
|
45712
|
+
"Additional dynamic attributes provided by the messenger."
|
|
45713
|
+
),
|
|
45714
|
+
name: e.string().optional().describe("Display name of the contact."),
|
|
45715
|
+
sub: e.string().optional().describe(
|
|
45716
|
+
"Associated internal system subject/identifier."
|
|
45717
|
+
),
|
|
45718
|
+
type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
45719
|
+
updatedAt: e.string().optional().describe(
|
|
45720
|
+
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
45721
|
+
),
|
|
45722
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
45723
|
+
vias: e.array(
|
|
45724
|
+
e.object({
|
|
45725
|
+
contactId: e.string().optional(),
|
|
45726
|
+
createdAt: e.string().optional(),
|
|
45727
|
+
disable: e.boolean().optional(),
|
|
45728
|
+
disableReason: e.string().optional(),
|
|
45729
|
+
metadata: e.looseObject({}).optional(),
|
|
45730
|
+
updatedAt: e.string().optional(),
|
|
45731
|
+
via: e.string().optional()
|
|
45732
|
+
})
|
|
45733
|
+
).optional()
|
|
45734
|
+
}).optional().describe("Contact who set the variable."),
|
|
45735
|
+
value: e.looseObject({}).optional().describe(
|
|
45736
|
+
`Arbitrary structured value of the variable.
|
|
45737
|
+
Supports dynamic JSON-like content.`
|
|
45738
|
+
)
|
|
45739
|
+
}).describe(
|
|
45740
|
+
`VariableEntry represents a single variable value
|
|
45741
|
+
along with metadata about who and when it was set.`
|
|
45742
|
+
)
|
|
45743
|
+
).optional().describe(
|
|
45744
|
+
`Key-value map of variables.
|
|
45745
|
+
Key is the variable name, value contains data and metadata.`
|
|
45746
|
+
)
|
|
45747
|
+
}).optional().describe("Optional variables associated with the thread.")
|
|
45748
|
+
}).describe("Thread represents a thread (aka chat or conversation) entity.");
|
|
44954
45749
|
e.object({
|
|
44955
45750
|
thread_id: e.string()
|
|
44956
45751
|
});
|
|
44957
|
-
const
|
|
45752
|
+
const Vr = "ROLE_UNSPECIFIED";
|
|
44958
45753
|
e.object({
|
|
44959
45754
|
contact: e.object({
|
|
44960
45755
|
iss: e.string().optional(),
|
|
@@ -44966,9 +45761,9 @@ e.object({
|
|
|
44966
45761
|
"ROLE_ADMIN",
|
|
44967
45762
|
"ROLE_OWNER",
|
|
44968
45763
|
"ROLE_SUPERVISOR"
|
|
44969
|
-
]).default(
|
|
45764
|
+
]).default(Vr)
|
|
44970
45765
|
});
|
|
44971
|
-
const
|
|
45766
|
+
const Yr = "ROLE_UNSPECIFIED";
|
|
44972
45767
|
e.object({
|
|
44973
45768
|
member: e.object({
|
|
44974
45769
|
contact: e.object({
|
|
@@ -44989,7 +45784,98 @@ e.object({
|
|
|
44989
45784
|
updatedAt: e.string().optional().describe(
|
|
44990
45785
|
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
44991
45786
|
),
|
|
44992
|
-
username: e.string().optional().describe("Technical username or handle.")
|
|
45787
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
45788
|
+
vias: e.array(
|
|
45789
|
+
e.object({
|
|
45790
|
+
contactId: e.string().optional(),
|
|
45791
|
+
createdAt: e.string().optional(),
|
|
45792
|
+
disable: e.boolean().optional(),
|
|
45793
|
+
disableReason: e.string().optional(),
|
|
45794
|
+
metadata: e.looseObject({}).optional(),
|
|
45795
|
+
updatedAt: e.string().optional(),
|
|
45796
|
+
via: e.string().optional()
|
|
45797
|
+
})
|
|
45798
|
+
).optional()
|
|
45799
|
+
}).optional().describe("Contact represents an external messaging identity."),
|
|
45800
|
+
id: e.string().optional(),
|
|
45801
|
+
permissions: e.object({
|
|
45802
|
+
canAddMembers: e.boolean().optional(),
|
|
45803
|
+
canChangeMembersPermissions: e.boolean().optional(),
|
|
45804
|
+
canChangeThreadInfo: e.boolean().optional(),
|
|
45805
|
+
canRemoveMembers: e.boolean().optional(),
|
|
45806
|
+
canSendMessages: e.boolean().optional(),
|
|
45807
|
+
createdAt: e.string().optional(),
|
|
45808
|
+
id: e.string().optional(),
|
|
45809
|
+
memberId: e.string().optional(),
|
|
45810
|
+
updatedAt: e.string().optional()
|
|
45811
|
+
}).optional(),
|
|
45812
|
+
role: e.enum([
|
|
45813
|
+
"ROLE_UNSPECIFIED",
|
|
45814
|
+
"ROLE_MEMBER",
|
|
45815
|
+
"ROLE_ADMIN",
|
|
45816
|
+
"ROLE_OWNER",
|
|
45817
|
+
"ROLE_SUPERVISOR"
|
|
45818
|
+
]).default(Yr)
|
|
45819
|
+
}).optional().describe(
|
|
45820
|
+
`ThreadMember represents a thread participant
|
|
45821
|
+
with optional type-specific settings.`
|
|
45822
|
+
)
|
|
45823
|
+
});
|
|
45824
|
+
e.object({
|
|
45825
|
+
thread_id: e.string(),
|
|
45826
|
+
member_id: e.string()
|
|
45827
|
+
});
|
|
45828
|
+
e.looseObject({});
|
|
45829
|
+
e.object({
|
|
45830
|
+
thread_id: e.string()
|
|
45831
|
+
});
|
|
45832
|
+
const Gr = "ROLE_UNSPECIFIED";
|
|
45833
|
+
e.object({
|
|
45834
|
+
contact: e.object({
|
|
45835
|
+
iss: e.string().optional(),
|
|
45836
|
+
sub: e.string().optional()
|
|
45837
|
+
}).optional(),
|
|
45838
|
+
role: e.enum([
|
|
45839
|
+
"ROLE_UNSPECIFIED",
|
|
45840
|
+
"ROLE_MEMBER",
|
|
45841
|
+
"ROLE_ADMIN",
|
|
45842
|
+
"ROLE_OWNER",
|
|
45843
|
+
"ROLE_SUPERVISOR"
|
|
45844
|
+
]).default(Gr)
|
|
45845
|
+
});
|
|
45846
|
+
const Hr = "ROLE_UNSPECIFIED";
|
|
45847
|
+
e.object({
|
|
45848
|
+
member: e.object({
|
|
45849
|
+
contact: e.object({
|
|
45850
|
+
appId: e.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
45851
|
+
createdAt: e.string().optional().describe(
|
|
45852
|
+
"Record creation timestamp (Unix Epoch in milliseconds)."
|
|
45853
|
+
),
|
|
45854
|
+
isBot: e.boolean().optional().describe(
|
|
45855
|
+
"Represents if usere is real person or automatic script."
|
|
45856
|
+
),
|
|
45857
|
+
iss: e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
45858
|
+
metadata: e.record(e.string(), e.string()).optional().describe(
|
|
45859
|
+
"Additional dynamic attributes provided by the messenger."
|
|
45860
|
+
),
|
|
45861
|
+
name: e.string().optional().describe("Display name of the contact."),
|
|
45862
|
+
sub: e.string().optional().describe("Associated internal system subject/identifier."),
|
|
45863
|
+
type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
45864
|
+
updatedAt: e.string().optional().describe(
|
|
45865
|
+
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
45866
|
+
),
|
|
45867
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
45868
|
+
vias: e.array(
|
|
45869
|
+
e.object({
|
|
45870
|
+
contactId: e.string().optional(),
|
|
45871
|
+
createdAt: e.string().optional(),
|
|
45872
|
+
disable: e.boolean().optional(),
|
|
45873
|
+
disableReason: e.string().optional(),
|
|
45874
|
+
metadata: e.looseObject({}).optional(),
|
|
45875
|
+
updatedAt: e.string().optional(),
|
|
45876
|
+
via: e.string().optional()
|
|
45877
|
+
})
|
|
45878
|
+
).optional()
|
|
44993
45879
|
}).optional().describe("Contact represents an external messaging identity."),
|
|
44994
45880
|
id: e.string().optional(),
|
|
44995
45881
|
permissions: e.object({
|
|
@@ -45009,17 +45895,12 @@ e.object({
|
|
|
45009
45895
|
"ROLE_ADMIN",
|
|
45010
45896
|
"ROLE_OWNER",
|
|
45011
45897
|
"ROLE_SUPERVISOR"
|
|
45012
|
-
]).default(
|
|
45898
|
+
]).default(Hr)
|
|
45013
45899
|
}).optional().describe(
|
|
45014
45900
|
`ThreadMember represents a thread participant
|
|
45015
45901
|
with optional type-specific settings.`
|
|
45016
45902
|
)
|
|
45017
45903
|
});
|
|
45018
|
-
e.object({
|
|
45019
|
-
thread_id: e.string(),
|
|
45020
|
-
member_id: e.string()
|
|
45021
|
-
});
|
|
45022
|
-
e.looseObject({});
|
|
45023
45904
|
e.object({
|
|
45024
45905
|
thread_id: e.string().describe("Unique identifier for the thread.")
|
|
45025
45906
|
});
|
|
@@ -45051,7 +45932,18 @@ e.object({
|
|
|
45051
45932
|
updatedAt: e.string().optional().describe(
|
|
45052
45933
|
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
45053
45934
|
),
|
|
45054
|
-
username: e.string().optional().describe("Technical username or handle.")
|
|
45935
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
45936
|
+
vias: e.array(
|
|
45937
|
+
e.object({
|
|
45938
|
+
contactId: e.string().optional(),
|
|
45939
|
+
createdAt: e.string().optional(),
|
|
45940
|
+
disable: e.boolean().optional(),
|
|
45941
|
+
disableReason: e.string().optional(),
|
|
45942
|
+
metadata: e.looseObject({}).optional(),
|
|
45943
|
+
updatedAt: e.string().optional(),
|
|
45944
|
+
via: e.string().optional()
|
|
45945
|
+
})
|
|
45946
|
+
).optional()
|
|
45055
45947
|
}).optional().describe("Contact who set the variable."),
|
|
45056
45948
|
value: e.looseObject({}).optional().describe(
|
|
45057
45949
|
`Arbitrary structured value of the variable.
|
|
@@ -45113,7 +46005,18 @@ e.object({
|
|
|
45113
46005
|
updatedAt: e.string().optional().describe(
|
|
45114
46006
|
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
45115
46007
|
),
|
|
45116
|
-
username: e.string().optional().describe("Technical username or handle.")
|
|
46008
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
46009
|
+
vias: e.array(
|
|
46010
|
+
e.object({
|
|
46011
|
+
contactId: e.string().optional(),
|
|
46012
|
+
createdAt: e.string().optional(),
|
|
46013
|
+
disable: e.boolean().optional(),
|
|
46014
|
+
disableReason: e.string().optional(),
|
|
46015
|
+
metadata: e.looseObject({}).optional(),
|
|
46016
|
+
updatedAt: e.string().optional(),
|
|
46017
|
+
via: e.string().optional()
|
|
46018
|
+
})
|
|
46019
|
+
).optional()
|
|
45117
46020
|
}).optional().describe("Contact who set the variable."),
|
|
45118
46021
|
value: e.looseObject({}).optional().describe(
|
|
45119
46022
|
`Arbitrary structured value of the variable.
|
|
@@ -45165,7 +46068,18 @@ e.object({
|
|
|
45165
46068
|
updatedAt: e.string().optional().describe(
|
|
45166
46069
|
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
45167
46070
|
),
|
|
45168
|
-
username: e.string().optional().describe("Technical username or handle.")
|
|
46071
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
46072
|
+
vias: e.array(
|
|
46073
|
+
e.object({
|
|
46074
|
+
contactId: e.string().optional(),
|
|
46075
|
+
createdAt: e.string().optional(),
|
|
46076
|
+
disable: e.boolean().optional(),
|
|
46077
|
+
disableReason: e.string().optional(),
|
|
46078
|
+
metadata: e.looseObject({}).optional(),
|
|
46079
|
+
updatedAt: e.string().optional(),
|
|
46080
|
+
via: e.string().optional()
|
|
46081
|
+
})
|
|
46082
|
+
).optional()
|
|
45169
46083
|
}).optional().describe("Contact who set the variable."),
|
|
45170
46084
|
value: e.looseObject({}).optional().describe(
|
|
45171
46085
|
`Arbitrary structured value of the variable.
|
|
@@ -45222,7 +46136,18 @@ e.object({
|
|
|
45222
46136
|
updatedAt: e.string().optional().describe(
|
|
45223
46137
|
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
45224
46138
|
),
|
|
45225
|
-
username: e.string().optional().describe("Technical username or handle.")
|
|
46139
|
+
username: e.string().optional().describe("Technical username or handle."),
|
|
46140
|
+
vias: e.array(
|
|
46141
|
+
e.object({
|
|
46142
|
+
contactId: e.string().optional(),
|
|
46143
|
+
createdAt: e.string().optional(),
|
|
46144
|
+
disable: e.boolean().optional(),
|
|
46145
|
+
disableReason: e.string().optional(),
|
|
46146
|
+
metadata: e.looseObject({}).optional(),
|
|
46147
|
+
updatedAt: e.string().optional(),
|
|
46148
|
+
via: e.string().optional()
|
|
46149
|
+
})
|
|
46150
|
+
).optional()
|
|
45226
46151
|
}).optional().describe("Contact who set the variable."),
|
|
45227
46152
|
value: e.looseObject({}).optional().describe(
|
|
45228
46153
|
`Arbitrary structured value of the variable.
|
|
@@ -45291,11 +46216,13 @@ e.object({
|
|
|
45291
46216
|
metaAppId: e.string().optional(),
|
|
45292
46217
|
name: e.string().optional(),
|
|
45293
46218
|
pageId: e.string().optional(),
|
|
45294
|
-
pageToken: e.string().optional()
|
|
45295
|
-
|
|
45296
|
-
|
|
45297
|
-
)
|
|
45298
|
-
|
|
46219
|
+
pageToken: e.string().optional(),
|
|
46220
|
+
peer: e.object({
|
|
46221
|
+
iss: e.string().optional(),
|
|
46222
|
+
sub: e.string().optional()
|
|
46223
|
+
}).optional()
|
|
46224
|
+
});
|
|
46225
|
+
const Kr = "PROVIDER_STATUS_UNSPECIFIED";
|
|
45299
46226
|
e.object({
|
|
45300
46227
|
item: e.object({
|
|
45301
46228
|
createdAt: e.string().optional(),
|
|
@@ -45310,19 +46237,12 @@ e.object({
|
|
|
45310
46237
|
"PROVIDER_STATUS_ACTIVE",
|
|
45311
46238
|
"PROVIDER_STATUS_INACTIVE",
|
|
45312
46239
|
"PROVIDER_STATUS_ERROR"
|
|
45313
|
-
]).default(
|
|
45314
|
-
|
|
45315
|
-
|
|
45316
|
-
- PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
|
|
45317
|
-
- PROVIDER_STATUS_INACTIVE: Manually disabled by user
|
|
45318
|
-
- PROVIDER_STATUS_ERROR: Connection or authentication failed`
|
|
46240
|
+
]).default(Kr).describe(
|
|
46241
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
45319
46242
|
),
|
|
45320
|
-
updatedAt: e.string().optional()
|
|
45321
|
-
webhook: e.string().optional()
|
|
46243
|
+
updatedAt: e.string().optional()
|
|
45322
46244
|
}).optional()
|
|
45323
|
-
})
|
|
45324
|
-
"/ ProviderCreateFacebookGateResponse returns the newly activated Facebook provider."
|
|
45325
|
-
);
|
|
46245
|
+
});
|
|
45326
46246
|
e.object({
|
|
45327
46247
|
id: e.string()
|
|
45328
46248
|
});
|
|
@@ -45342,20 +46262,15 @@ e.object({
|
|
|
45342
46262
|
"PROVIDER_STATUS_INACTIVE",
|
|
45343
46263
|
"PROVIDER_STATUS_ERROR"
|
|
45344
46264
|
]).default(Qr).describe(
|
|
45345
|
-
|
|
45346
|
-
|
|
45347
|
-
- PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
|
|
45348
|
-
- PROVIDER_STATUS_INACTIVE: Manually disabled by user
|
|
45349
|
-
- PROVIDER_STATUS_ERROR: Connection or authentication failed`
|
|
46265
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
45350
46266
|
),
|
|
45351
|
-
updatedAt: e.string().optional()
|
|
45352
|
-
webhook: e.string().optional()
|
|
46267
|
+
updatedAt: e.string().optional()
|
|
45353
46268
|
}).optional()
|
|
45354
46269
|
});
|
|
45355
46270
|
e.object({
|
|
45356
46271
|
id: e.string()
|
|
45357
46272
|
});
|
|
45358
|
-
const
|
|
46273
|
+
const Wr = "PROVIDER_STATUS_UNSPECIFIED";
|
|
45359
46274
|
e.object({
|
|
45360
46275
|
item: e.object({
|
|
45361
46276
|
createdAt: e.string().optional(),
|
|
@@ -45370,15 +46285,10 @@ e.object({
|
|
|
45370
46285
|
"PROVIDER_STATUS_ACTIVE",
|
|
45371
46286
|
"PROVIDER_STATUS_INACTIVE",
|
|
45372
46287
|
"PROVIDER_STATUS_ERROR"
|
|
45373
|
-
]).default(
|
|
45374
|
-
|
|
45375
|
-
|
|
45376
|
-
- PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
|
|
45377
|
-
- PROVIDER_STATUS_INACTIVE: Manually disabled by user
|
|
45378
|
-
- PROVIDER_STATUS_ERROR: Connection or authentication failed`
|
|
46288
|
+
]).default(Wr).describe(
|
|
46289
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
45379
46290
|
),
|
|
45380
|
-
updatedAt: e.string().optional()
|
|
45381
|
-
webhook: e.string().optional()
|
|
46291
|
+
updatedAt: e.string().optional()
|
|
45382
46292
|
}).optional()
|
|
45383
46293
|
});
|
|
45384
46294
|
e.object({
|
|
@@ -45387,11 +46297,13 @@ e.object({
|
|
|
45387
46297
|
e.object({
|
|
45388
46298
|
enabled: e.boolean().optional(),
|
|
45389
46299
|
name: e.string().optional(),
|
|
45390
|
-
pageToken: e.string().optional()
|
|
45391
|
-
|
|
45392
|
-
|
|
45393
|
-
)
|
|
45394
|
-
|
|
46300
|
+
pageToken: e.string().optional(),
|
|
46301
|
+
peer: e.object({
|
|
46302
|
+
iss: e.string().optional(),
|
|
46303
|
+
sub: e.string().optional()
|
|
46304
|
+
}).optional()
|
|
46305
|
+
});
|
|
46306
|
+
const Xr = "PROVIDER_STATUS_UNSPECIFIED";
|
|
45395
46307
|
e.object({
|
|
45396
46308
|
item: e.object({
|
|
45397
46309
|
createdAt: e.string().optional(),
|
|
@@ -45406,23 +46318,16 @@ e.object({
|
|
|
45406
46318
|
"PROVIDER_STATUS_ACTIVE",
|
|
45407
46319
|
"PROVIDER_STATUS_INACTIVE",
|
|
45408
46320
|
"PROVIDER_STATUS_ERROR"
|
|
45409
|
-
]).default(
|
|
45410
|
-
|
|
45411
|
-
|
|
45412
|
-
- PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
|
|
45413
|
-
- PROVIDER_STATUS_INACTIVE: Manually disabled by user
|
|
45414
|
-
- PROVIDER_STATUS_ERROR: Connection or authentication failed`
|
|
46321
|
+
]).default(Xr).describe(
|
|
46322
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
45415
46323
|
),
|
|
45416
|
-
updatedAt: e.string().optional()
|
|
45417
|
-
webhook: e.string().optional()
|
|
46324
|
+
updatedAt: e.string().optional()
|
|
45418
46325
|
}).optional()
|
|
45419
|
-
})
|
|
45420
|
-
|
|
45421
|
-
);
|
|
45422
|
-
const $r = "PROVIDER_STATUS_UNSPECIFIED";
|
|
46326
|
+
});
|
|
46327
|
+
const Jr = "PROVIDER_STATUS_UNSPECIFIED";
|
|
45423
46328
|
e.object({
|
|
45424
|
-
page: e.number().optional()
|
|
45425
|
-
size: e.number().optional()
|
|
46329
|
+
page: e.number().optional(),
|
|
46330
|
+
size: e.number().optional(),
|
|
45426
46331
|
types: e.array(
|
|
45427
46332
|
e.enum([
|
|
45428
46333
|
"PROVIDER_TYPE_UNSPECIFIED",
|
|
@@ -45434,22 +46339,16 @@ e.object({
|
|
|
45434
46339
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
45435
46340
|
"PROVIDER_TYPE_WHATSAPP"
|
|
45436
46341
|
])
|
|
45437
|
-
).optional()
|
|
46342
|
+
).optional(),
|
|
45438
46343
|
status: e.enum([
|
|
45439
46344
|
"PROVIDER_STATUS_UNSPECIFIED",
|
|
45440
46345
|
"PROVIDER_STATUS_ACTIVE",
|
|
45441
46346
|
"PROVIDER_STATUS_INACTIVE",
|
|
45442
46347
|
"PROVIDER_STATUS_ERROR"
|
|
45443
|
-
]).default(
|
|
45444
|
-
|
|
45445
|
-
|
|
45446
|
-
- PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
|
|
45447
|
-
- PROVIDER_STATUS_INACTIVE: Manually disabled by user
|
|
45448
|
-
- PROVIDER_STATUS_ERROR: Connection or authentication failed`
|
|
45449
|
-
),
|
|
45450
|
-
q: e.string().optional().describe("Search query for name or metadata")
|
|
46348
|
+
]).default(Jr),
|
|
46349
|
+
q: e.string().optional()
|
|
45451
46350
|
});
|
|
45452
|
-
const
|
|
46351
|
+
const $r = "PROVIDER_STATUS_UNSPECIFIED", Zr = "PROVIDER_TYPE_UNSPECIFIED";
|
|
45453
46352
|
e.object({
|
|
45454
46353
|
items: e.array(
|
|
45455
46354
|
e.object({
|
|
@@ -45463,12 +46362,8 @@ e.object({
|
|
|
45463
46362
|
"PROVIDER_STATUS_ACTIVE",
|
|
45464
46363
|
"PROVIDER_STATUS_INACTIVE",
|
|
45465
46364
|
"PROVIDER_STATUS_ERROR"
|
|
45466
|
-
]).default(
|
|
45467
|
-
|
|
45468
|
-
|
|
45469
|
-
- PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
|
|
45470
|
-
- PROVIDER_STATUS_INACTIVE: Manually disabled by user
|
|
45471
|
-
- PROVIDER_STATUS_ERROR: Connection or authentication failed`
|
|
46365
|
+
]).default($r).describe(
|
|
46366
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
45472
46367
|
),
|
|
45473
46368
|
type: e.enum([
|
|
45474
46369
|
"PROVIDER_TYPE_UNSPECIFIED",
|
|
@@ -45479,29 +46374,26 @@ e.object({
|
|
|
45479
46374
|
"PROVIDER_TYPE_FACEBOOK",
|
|
45480
46375
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
45481
46376
|
"PROVIDER_TYPE_WHATSAPP"
|
|
45482
|
-
]).default(
|
|
46377
|
+
]).default(Zr).describe(
|
|
45483
46378
|
"/ ProviderType defines the specific provider or protocol used for messaging."
|
|
45484
46379
|
),
|
|
45485
46380
|
updatedAt: e.string().optional(),
|
|
45486
46381
|
webhookUrl: e.string().optional()
|
|
45487
46382
|
})
|
|
45488
46383
|
).optional(),
|
|
45489
|
-
next: e.boolean().optional()
|
|
45490
|
-
page: e.number().optional()
|
|
45491
|
-
size: e.number().optional()
|
|
45492
|
-
})
|
|
45493
|
-
"/ ProviderListGatesResponse returns a paginated list of provider summaries."
|
|
45494
|
-
);
|
|
46384
|
+
next: e.boolean().optional(),
|
|
46385
|
+
page: e.number().optional(),
|
|
46386
|
+
size: e.number().optional()
|
|
46387
|
+
});
|
|
45495
46388
|
e.object({
|
|
45496
46389
|
appId: e.string().optional(),
|
|
45497
46390
|
appSecret: e.string().optional(),
|
|
45498
46391
|
name: e.string().optional(),
|
|
45499
46392
|
oauthRedirectUri: e.string().optional(),
|
|
45500
|
-
scopes: e.array(e.string()).optional()
|
|
45501
|
-
|
|
45502
|
-
|
|
45503
|
-
|
|
45504
|
-
);
|
|
46393
|
+
scopes: e.array(e.string()).optional(),
|
|
46394
|
+
uri: e.string().optional(),
|
|
46395
|
+
verifyToken: e.string().optional()
|
|
46396
|
+
});
|
|
45505
46397
|
e.object({
|
|
45506
46398
|
item: e.object({
|
|
45507
46399
|
appId: e.string().optional(),
|
|
@@ -45510,12 +46402,10 @@ e.object({
|
|
|
45510
46402
|
name: e.string().optional(),
|
|
45511
46403
|
oauthRedirectUri: e.string().optional(),
|
|
45512
46404
|
scopes: e.array(e.string()).optional(),
|
|
45513
|
-
|
|
45514
|
-
|
|
46405
|
+
updatedAt: e.string().optional(),
|
|
46406
|
+
verifyToken: e.string().optional()
|
|
45515
46407
|
}).optional()
|
|
45516
|
-
})
|
|
45517
|
-
"/ ProviderCreateMetaAppResponse returns the successfully registered Meta application."
|
|
45518
|
-
);
|
|
46408
|
+
});
|
|
45519
46409
|
e.object({
|
|
45520
46410
|
id: e.string()
|
|
45521
46411
|
});
|
|
@@ -45527,12 +46417,10 @@ e.object({
|
|
|
45527
46417
|
name: e.string().optional(),
|
|
45528
46418
|
oauthRedirectUri: e.string().optional(),
|
|
45529
46419
|
scopes: e.array(e.string()).optional(),
|
|
45530
|
-
|
|
45531
|
-
|
|
46420
|
+
updatedAt: e.string().optional(),
|
|
46421
|
+
verifyToken: e.string().optional()
|
|
45532
46422
|
}).optional()
|
|
45533
|
-
})
|
|
45534
|
-
"/ ProviderDeleteMetaAppResponse returns the details of the deleted application."
|
|
45535
|
-
);
|
|
46423
|
+
});
|
|
45536
46424
|
e.object({
|
|
45537
46425
|
id: e.string()
|
|
45538
46426
|
});
|
|
@@ -45544,23 +46432,20 @@ e.object({
|
|
|
45544
46432
|
name: e.string().optional(),
|
|
45545
46433
|
oauthRedirectUri: e.string().optional(),
|
|
45546
46434
|
scopes: e.array(e.string()).optional(),
|
|
45547
|
-
|
|
45548
|
-
|
|
46435
|
+
updatedAt: e.string().optional(),
|
|
46436
|
+
verifyToken: e.string().optional()
|
|
45549
46437
|
}).optional()
|
|
45550
|
-
})
|
|
45551
|
-
"/ ProviderGetMetaAppResponse returns the requested Meta application details."
|
|
45552
|
-
);
|
|
46438
|
+
});
|
|
45553
46439
|
e.object({
|
|
45554
|
-
id: e.string()
|
|
46440
|
+
id: e.string()
|
|
45555
46441
|
});
|
|
45556
46442
|
e.object({
|
|
45557
46443
|
appSecret: e.string().optional(),
|
|
45558
46444
|
name: e.string().optional(),
|
|
45559
46445
|
oauthRedirectUri: e.string().optional(),
|
|
45560
|
-
scopes: e.array(e.string()).optional()
|
|
45561
|
-
|
|
45562
|
-
|
|
45563
|
-
);
|
|
46446
|
+
scopes: e.array(e.string()).optional(),
|
|
46447
|
+
verifyToken: e.string().optional()
|
|
46448
|
+
});
|
|
45564
46449
|
e.object({
|
|
45565
46450
|
item: e.object({
|
|
45566
46451
|
appId: e.string().optional(),
|
|
@@ -45569,21 +46454,17 @@ e.object({
|
|
|
45569
46454
|
name: e.string().optional(),
|
|
45570
46455
|
oauthRedirectUri: e.string().optional(),
|
|
45571
46456
|
scopes: e.array(e.string()).optional(),
|
|
45572
|
-
|
|
45573
|
-
|
|
46457
|
+
updatedAt: e.string().optional(),
|
|
46458
|
+
verifyToken: e.string().optional()
|
|
45574
46459
|
}).optional()
|
|
45575
|
-
})
|
|
45576
|
-
"/ ProviderUpdateMetaAppResponse returns the Meta application after modifications."
|
|
45577
|
-
);
|
|
46460
|
+
});
|
|
45578
46461
|
e.object({
|
|
45579
46462
|
meta_app_id: e.string()
|
|
45580
46463
|
});
|
|
45581
46464
|
e.object({
|
|
45582
46465
|
code: e.string().optional(),
|
|
45583
46466
|
state: e.string().optional()
|
|
45584
|
-
})
|
|
45585
|
-
"/ ProviderMetaOAuthCallbackRequest handles the verification and exchange of the auth code."
|
|
45586
|
-
);
|
|
46467
|
+
});
|
|
45587
46468
|
e.object({
|
|
45588
46469
|
pages: e.array(
|
|
45589
46470
|
e.object({
|
|
@@ -45591,29 +46472,21 @@ e.object({
|
|
|
45591
46472
|
pageId: e.string().optional(),
|
|
45592
46473
|
pageName: e.string().optional(),
|
|
45593
46474
|
platform: e.string().optional()
|
|
45594
|
-
})
|
|
45595
|
-
"/ ProviderMetaLinkedPage represents a single Meta asset (Page/Account) found during OAuth."
|
|
45596
|
-
)
|
|
46475
|
+
})
|
|
45597
46476
|
).optional(),
|
|
45598
46477
|
userAccessToken: e.string().optional()
|
|
45599
|
-
})
|
|
45600
|
-
"/ ProviderMetaOAuthCallbackResponse provides the user token and discovered assets."
|
|
45601
|
-
);
|
|
46478
|
+
});
|
|
45602
46479
|
e.object({
|
|
45603
|
-
meta_app_id: e.string()
|
|
46480
|
+
meta_app_id: e.string()
|
|
45604
46481
|
});
|
|
45605
46482
|
e.object({
|
|
45606
46483
|
extraScopes: e.array(e.string()).optional()
|
|
45607
|
-
})
|
|
45608
|
-
"/ ProviderMetaOAuthStartRequest initiates the handshake with Meta."
|
|
45609
|
-
);
|
|
46484
|
+
});
|
|
45610
46485
|
e.object({
|
|
45611
46486
|
authUrl: e.string().optional(),
|
|
45612
46487
|
state: e.string().optional()
|
|
45613
|
-
})
|
|
45614
|
-
|
|
45615
|
-
);
|
|
45616
|
-
const ts = "PROVIDER_TYPE_UNSPECIFIED";
|
|
46488
|
+
});
|
|
46489
|
+
const es = "PROVIDER_TYPE_UNSPECIFIED";
|
|
45617
46490
|
e.object({
|
|
45618
46491
|
caption: e.string().optional(),
|
|
45619
46492
|
document: e.object({
|
|
@@ -45622,7 +46495,7 @@ e.object({
|
|
|
45622
46495
|
name: e.string().optional(),
|
|
45623
46496
|
size: e.string().optional(),
|
|
45624
46497
|
url: e.string().optional()
|
|
45625
|
-
}).optional()
|
|
46498
|
+
}).optional(),
|
|
45626
46499
|
externalUserId: e.string().optional(),
|
|
45627
46500
|
gateId: e.string().optional(),
|
|
45628
46501
|
type: e.enum([
|
|
@@ -45634,19 +46507,15 @@ e.object({
|
|
|
45634
46507
|
"PROVIDER_TYPE_FACEBOOK",
|
|
45635
46508
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
45636
46509
|
"PROVIDER_TYPE_WHATSAPP"
|
|
45637
|
-
]).default(
|
|
46510
|
+
]).default(es).describe(
|
|
45638
46511
|
"/ ProviderType defines the specific provider or protocol used for messaging."
|
|
45639
46512
|
)
|
|
45640
|
-
})
|
|
45641
|
-
"ProviderSendDocumentRequest sends a document with an optional caption."
|
|
45642
|
-
);
|
|
46513
|
+
});
|
|
45643
46514
|
e.object({
|
|
45644
46515
|
createdAt: e.string().optional(),
|
|
45645
46516
|
externalId: e.string().optional()
|
|
45646
|
-
})
|
|
45647
|
-
|
|
45648
|
-
);
|
|
45649
|
-
const os = "PROVIDER_TYPE_UNSPECIFIED";
|
|
46517
|
+
});
|
|
46518
|
+
const ts = "PROVIDER_TYPE_UNSPECIFIED";
|
|
45650
46519
|
e.object({
|
|
45651
46520
|
caption: e.string().optional(),
|
|
45652
46521
|
externalUserId: e.string().optional(),
|
|
@@ -45657,7 +46526,7 @@ e.object({
|
|
|
45657
46526
|
name: e.string().optional(),
|
|
45658
46527
|
size: e.string().optional(),
|
|
45659
46528
|
url: e.string().optional()
|
|
45660
|
-
}).optional()
|
|
46529
|
+
}).optional(),
|
|
45661
46530
|
type: e.enum([
|
|
45662
46531
|
"PROVIDER_TYPE_UNSPECIFIED",
|
|
45663
46532
|
"PROVIDER_TYPE_VIBER",
|
|
@@ -45667,19 +46536,15 @@ e.object({
|
|
|
45667
46536
|
"PROVIDER_TYPE_FACEBOOK",
|
|
45668
46537
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
45669
46538
|
"PROVIDER_TYPE_WHATSAPP"
|
|
45670
|
-
]).default(
|
|
46539
|
+
]).default(ts).describe(
|
|
45671
46540
|
"/ ProviderType defines the specific provider or protocol used for messaging."
|
|
45672
46541
|
)
|
|
45673
|
-
})
|
|
45674
|
-
"ProviderSendImageRequest sends an image with an optional caption."
|
|
45675
|
-
);
|
|
46542
|
+
});
|
|
45676
46543
|
e.object({
|
|
45677
46544
|
createdAt: e.string().optional(),
|
|
45678
46545
|
externalId: e.string().optional()
|
|
45679
|
-
})
|
|
45680
|
-
|
|
45681
|
-
);
|
|
45682
|
-
const is = "PROVIDER_TYPE_UNSPECIFIED";
|
|
46546
|
+
});
|
|
46547
|
+
const os = "PROVIDER_TYPE_UNSPECIFIED";
|
|
45683
46548
|
e.object({
|
|
45684
46549
|
externalUserId: e.string().optional(),
|
|
45685
46550
|
gateId: e.string().optional(),
|
|
@@ -45694,26 +46559,22 @@ e.object({
|
|
|
45694
46559
|
"PROVIDER_TYPE_FACEBOOK",
|
|
45695
46560
|
"PROVIDER_TYPE_INSTAGRAM",
|
|
45696
46561
|
"PROVIDER_TYPE_WHATSAPP"
|
|
45697
|
-
]).default(
|
|
46562
|
+
]).default(os).describe(
|
|
45698
46563
|
"/ ProviderType defines the specific provider or protocol used for messaging."
|
|
45699
46564
|
)
|
|
45700
|
-
})
|
|
46565
|
+
});
|
|
45701
46566
|
e.object({
|
|
45702
46567
|
createdAt: e.string().optional(),
|
|
45703
46568
|
externalId: e.string().optional()
|
|
45704
|
-
})
|
|
45705
|
-
"ProviderSendMessageResponse returns the delivery status and external message ID."
|
|
45706
|
-
);
|
|
46569
|
+
});
|
|
45707
46570
|
e.object({
|
|
45708
46571
|
accessToken: e.string().optional(),
|
|
45709
46572
|
metaAppId: e.string().optional(),
|
|
45710
46573
|
name: e.string().optional(),
|
|
45711
46574
|
phoneNumberId: e.string().optional(),
|
|
45712
46575
|
wabaId: e.string().optional()
|
|
45713
|
-
})
|
|
45714
|
-
|
|
45715
|
-
);
|
|
45716
|
-
const ns = "PROVIDER_STATUS_UNSPECIFIED";
|
|
46576
|
+
});
|
|
46577
|
+
const is = "PROVIDER_STATUS_UNSPECIFIED";
|
|
45717
46578
|
e.object({
|
|
45718
46579
|
item: e.object({
|
|
45719
46580
|
createdAt: e.string().optional(),
|
|
@@ -45727,23 +46588,17 @@ e.object({
|
|
|
45727
46588
|
"PROVIDER_STATUS_ACTIVE",
|
|
45728
46589
|
"PROVIDER_STATUS_INACTIVE",
|
|
45729
46590
|
"PROVIDER_STATUS_ERROR"
|
|
45730
|
-
]).default(
|
|
45731
|
-
|
|
45732
|
-
|
|
45733
|
-
- PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
|
|
45734
|
-
- PROVIDER_STATUS_INACTIVE: Manually disabled by user
|
|
45735
|
-
- PROVIDER_STATUS_ERROR: Connection or authentication failed`
|
|
46591
|
+
]).default(is).describe(
|
|
46592
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
45736
46593
|
),
|
|
45737
46594
|
updatedAt: e.string().optional(),
|
|
45738
46595
|
wabaId: e.string().optional()
|
|
45739
46596
|
}).optional()
|
|
45740
|
-
})
|
|
45741
|
-
"/ ProviderCreateWhatsAppGateResponse returns the registered WhatsApp provider."
|
|
45742
|
-
);
|
|
46597
|
+
});
|
|
45743
46598
|
e.object({
|
|
45744
46599
|
id: e.string()
|
|
45745
46600
|
});
|
|
45746
|
-
const
|
|
46601
|
+
const ns = "PROVIDER_STATUS_UNSPECIFIED";
|
|
45747
46602
|
e.object({
|
|
45748
46603
|
item: e.object({
|
|
45749
46604
|
createdAt: e.string().optional(),
|
|
@@ -45757,12 +46612,8 @@ e.object({
|
|
|
45757
46612
|
"PROVIDER_STATUS_ACTIVE",
|
|
45758
46613
|
"PROVIDER_STATUS_INACTIVE",
|
|
45759
46614
|
"PROVIDER_STATUS_ERROR"
|
|
45760
|
-
]).default(
|
|
45761
|
-
|
|
45762
|
-
|
|
45763
|
-
- PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
|
|
45764
|
-
- PROVIDER_STATUS_INACTIVE: Manually disabled by user
|
|
45765
|
-
- PROVIDER_STATUS_ERROR: Connection or authentication failed`
|
|
46615
|
+
]).default(ns).describe(
|
|
46616
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
45766
46617
|
),
|
|
45767
46618
|
updatedAt: e.string().optional(),
|
|
45768
46619
|
wabaId: e.string().optional()
|
|
@@ -45771,7 +46622,7 @@ e.object({
|
|
|
45771
46622
|
e.object({
|
|
45772
46623
|
id: e.string()
|
|
45773
46624
|
});
|
|
45774
|
-
const
|
|
46625
|
+
const as = "PROVIDER_STATUS_UNSPECIFIED";
|
|
45775
46626
|
e.object({
|
|
45776
46627
|
item: e.object({
|
|
45777
46628
|
createdAt: e.string().optional(),
|
|
@@ -45785,12 +46636,8 @@ e.object({
|
|
|
45785
46636
|
"PROVIDER_STATUS_ACTIVE",
|
|
45786
46637
|
"PROVIDER_STATUS_INACTIVE",
|
|
45787
46638
|
"PROVIDER_STATUS_ERROR"
|
|
45788
|
-
]).default(
|
|
45789
|
-
|
|
45790
|
-
|
|
45791
|
-
- PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
|
|
45792
|
-
- PROVIDER_STATUS_INACTIVE: Manually disabled by user
|
|
45793
|
-
- PROVIDER_STATUS_ERROR: Connection or authentication failed`
|
|
46639
|
+
]).default(as).describe(
|
|
46640
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
45794
46641
|
),
|
|
45795
46642
|
updatedAt: e.string().optional(),
|
|
45796
46643
|
wabaId: e.string().optional()
|
|
@@ -45802,10 +46649,8 @@ e.object({
|
|
|
45802
46649
|
e.object({
|
|
45803
46650
|
accessToken: e.string().optional(),
|
|
45804
46651
|
name: e.string().optional()
|
|
45805
|
-
})
|
|
45806
|
-
|
|
45807
|
-
);
|
|
45808
|
-
const ss = "PROVIDER_STATUS_UNSPECIFIED";
|
|
46652
|
+
});
|
|
46653
|
+
const rs = "PROVIDER_STATUS_UNSPECIFIED";
|
|
45809
46654
|
e.object({
|
|
45810
46655
|
item: e.object({
|
|
45811
46656
|
createdAt: e.string().optional(),
|
|
@@ -45819,108 +46664,12 @@ e.object({
|
|
|
45819
46664
|
"PROVIDER_STATUS_ACTIVE",
|
|
45820
46665
|
"PROVIDER_STATUS_INACTIVE",
|
|
45821
46666
|
"PROVIDER_STATUS_ERROR"
|
|
45822
|
-
]).default(
|
|
45823
|
-
|
|
45824
|
-
|
|
45825
|
-
- PROVIDER_STATUS_ACTIVE: Provider is healthy and processing messages
|
|
45826
|
-
- PROVIDER_STATUS_INACTIVE: Manually disabled by user
|
|
45827
|
-
- PROVIDER_STATUS_ERROR: Connection or authentication failed`
|
|
46667
|
+
]).default(rs).describe(
|
|
46668
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
45828
46669
|
),
|
|
45829
46670
|
updatedAt: e.string().optional(),
|
|
45830
46671
|
wabaId: e.string().optional()
|
|
45831
46672
|
}).optional()
|
|
45832
|
-
}).describe(
|
|
45833
|
-
"/ ProviderUpdateWhatsAppGateResponse returns the updated WhatsApp provider."
|
|
45834
|
-
);
|
|
45835
|
-
e.object({
|
|
45836
|
-
thread_id_1: e.string()
|
|
45837
|
-
});
|
|
45838
|
-
e.object({
|
|
45839
|
-
fields: e.array(e.string()).optional(),
|
|
45840
|
-
ids: e.array(e.string()).optional(),
|
|
45841
|
-
senderIds: e.array(e.string()).optional(),
|
|
45842
|
-
types: e.array(e.number()).optional(),
|
|
45843
|
-
domainId: e.number().optional(),
|
|
45844
|
-
cursorId: e.string().optional(),
|
|
45845
|
-
cursorBefore: e.boolean().optional(),
|
|
45846
|
-
size: e.number().optional()
|
|
45847
|
-
});
|
|
45848
|
-
const ls = "ROLE_UNSPECIFIED";
|
|
45849
|
-
e.object({
|
|
45850
|
-
from: e.array(
|
|
45851
|
-
e.object({
|
|
45852
|
-
contactId: e.string().optional().describe("Contact ID of the thread member."),
|
|
45853
|
-
id: e.string().optional(),
|
|
45854
|
-
permissions: e.object({
|
|
45855
|
-
canAddMembers: e.boolean().optional(),
|
|
45856
|
-
canChangeMembersPermissions: e.boolean().optional(),
|
|
45857
|
-
canChangeThreadInfo: e.boolean().optional(),
|
|
45858
|
-
canRemoveMembers: e.boolean().optional(),
|
|
45859
|
-
canSendMessages: e.boolean().optional(),
|
|
45860
|
-
createdAt: e.string().optional(),
|
|
45861
|
-
id: e.string().optional(),
|
|
45862
|
-
memberId: e.string().optional(),
|
|
45863
|
-
threadId: e.string().optional(),
|
|
45864
|
-
updatedAt: e.string().optional()
|
|
45865
|
-
}).optional().describe("User rights in the thread, determined by their role."),
|
|
45866
|
-
role: e.enum([
|
|
45867
|
-
"ROLE_UNSPECIFIED",
|
|
45868
|
-
"ROLE_MEMBER",
|
|
45869
|
-
"ROLE_ADMIN",
|
|
45870
|
-
"ROLE_OWNER",
|
|
45871
|
-
"ROLE_SUPERVISOR"
|
|
45872
|
-
]).default(
|
|
45873
|
-
ls
|
|
45874
|
-
).describe(
|
|
45875
|
-
"Role of the member in the thread, determining their permissions."
|
|
45876
|
-
)
|
|
45877
|
-
}).describe(
|
|
45878
|
-
`ThreadMember represents a thread participant
|
|
45879
|
-
with optional type-specific settings.`
|
|
45880
|
-
)
|
|
45881
|
-
).optional(),
|
|
45882
|
-
items: e.array(
|
|
45883
|
-
e.object({
|
|
45884
|
-
body: e.string().optional(),
|
|
45885
|
-
createdAt: e.string().optional(),
|
|
45886
|
-
documents: e.array(
|
|
45887
|
-
e.object({
|
|
45888
|
-
createdAt: e.string().optional(),
|
|
45889
|
-
fileId: e.string().optional(),
|
|
45890
|
-
id: e.string().optional(),
|
|
45891
|
-
messageId: e.string().optional(),
|
|
45892
|
-
mime: e.string().optional(),
|
|
45893
|
-
name: e.string().optional(),
|
|
45894
|
-
size: e.string().optional(),
|
|
45895
|
-
url: e.string().optional()
|
|
45896
|
-
})
|
|
45897
|
-
).optional(),
|
|
45898
|
-
id: e.string().optional(),
|
|
45899
|
-
images: e.array(
|
|
45900
|
-
e.object({
|
|
45901
|
-
createdAt: e.string().optional(),
|
|
45902
|
-
fileId: e.string().optional(),
|
|
45903
|
-
height: e.number().optional(),
|
|
45904
|
-
id: e.string().optional(),
|
|
45905
|
-
messageId: e.string().optional(),
|
|
45906
|
-
mime: e.string().optional(),
|
|
45907
|
-
url: e.string().optional(),
|
|
45908
|
-
width: e.number().optional()
|
|
45909
|
-
})
|
|
45910
|
-
).optional(),
|
|
45911
|
-
metadata: e.looseObject({}).optional(),
|
|
45912
|
-
senderId: e.string().optional(),
|
|
45913
|
-
threadId: e.string().optional(),
|
|
45914
|
-
type: e.number().optional(),
|
|
45915
|
-
updatedAt: e.string().optional()
|
|
45916
|
-
})
|
|
45917
|
-
).optional(),
|
|
45918
|
-
nextCursor: e.object({
|
|
45919
|
-
id: e.string().optional()
|
|
45920
|
-
}).optional(),
|
|
45921
|
-
prevCursor: e.object({
|
|
45922
|
-
id: e.string().optional()
|
|
45923
|
-
}).optional()
|
|
45924
46673
|
});
|
|
45925
46674
|
e.object({
|
|
45926
46675
|
page: e.number().optional(),
|
|
@@ -46153,7 +46902,7 @@ e.object({
|
|
|
46153
46902
|
sort: e.string().optional(),
|
|
46154
46903
|
fields: e.array(e.string()).optional()
|
|
46155
46904
|
});
|
|
46156
|
-
const
|
|
46905
|
+
const ss = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
46157
46906
|
e.object({
|
|
46158
46907
|
items: e.array(
|
|
46159
46908
|
e.object({
|
|
@@ -46193,7 +46942,7 @@ e.object({
|
|
|
46193
46942
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
46194
46943
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
46195
46944
|
]).default(
|
|
46196
|
-
|
|
46945
|
+
ss
|
|
46197
46946
|
),
|
|
46198
46947
|
team: e.object({
|
|
46199
46948
|
id: e.string().optional(),
|
|
@@ -46209,7 +46958,7 @@ e.object({
|
|
|
46209
46958
|
).optional(),
|
|
46210
46959
|
next: e.boolean().optional()
|
|
46211
46960
|
});
|
|
46212
|
-
const
|
|
46961
|
+
const ls = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
46213
46962
|
e.object({
|
|
46214
46963
|
item: e.object({
|
|
46215
46964
|
agents: e.array(
|
|
@@ -46248,7 +46997,7 @@ e.object({
|
|
|
46248
46997
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
46249
46998
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
46250
46999
|
]).default(
|
|
46251
|
-
|
|
47000
|
+
ls
|
|
46252
47001
|
),
|
|
46253
47002
|
team: e.object({
|
|
46254
47003
|
id: e.string().optional(),
|
|
@@ -46262,7 +47011,7 @@ e.object({
|
|
|
46262
47011
|
}).optional()
|
|
46263
47012
|
}).optional()
|
|
46264
47013
|
});
|
|
46265
|
-
const
|
|
47014
|
+
const ps = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
46266
47015
|
e.object({
|
|
46267
47016
|
item: e.object({
|
|
46268
47017
|
agents: e.array(
|
|
@@ -46301,7 +47050,7 @@ e.object({
|
|
|
46301
47050
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
46302
47051
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
46303
47052
|
]).default(
|
|
46304
|
-
|
|
47053
|
+
ps
|
|
46305
47054
|
),
|
|
46306
47055
|
team: e.object({
|
|
46307
47056
|
id: e.string().optional(),
|
|
@@ -46327,7 +47076,7 @@ e.object({
|
|
|
46327
47076
|
e.object({
|
|
46328
47077
|
fields: e.array(e.string()).optional()
|
|
46329
47078
|
});
|
|
46330
|
-
const
|
|
47079
|
+
const cs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
46331
47080
|
e.object({
|
|
46332
47081
|
item: e.object({
|
|
46333
47082
|
agents: e.array(
|
|
@@ -46366,7 +47115,7 @@ e.object({
|
|
|
46366
47115
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
46367
47116
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
46368
47117
|
]).default(
|
|
46369
|
-
|
|
47118
|
+
cs
|
|
46370
47119
|
),
|
|
46371
47120
|
team: e.object({
|
|
46372
47121
|
id: e.string().optional(),
|
|
@@ -46429,7 +47178,7 @@ e.object({
|
|
|
46429
47178
|
e.object({
|
|
46430
47179
|
"item.id": e.string()
|
|
46431
47180
|
});
|
|
46432
|
-
const
|
|
47181
|
+
const ds = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
46433
47182
|
e.object({
|
|
46434
47183
|
item: e.object({
|
|
46435
47184
|
agents: e.array(
|
|
@@ -46467,7 +47216,7 @@ e.object({
|
|
|
46467
47216
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
46468
47217
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
46469
47218
|
]).default(
|
|
46470
|
-
|
|
47219
|
+
ds
|
|
46471
47220
|
),
|
|
46472
47221
|
team: e.object({
|
|
46473
47222
|
id: e.string().optional(),
|
|
@@ -46481,7 +47230,7 @@ e.object({
|
|
|
46481
47230
|
}).optional()
|
|
46482
47231
|
}).optional()
|
|
46483
47232
|
});
|
|
46484
|
-
const
|
|
47233
|
+
const bs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
46485
47234
|
e.object({
|
|
46486
47235
|
item: e.object({
|
|
46487
47236
|
agents: e.array(
|
|
@@ -46520,7 +47269,7 @@ e.object({
|
|
|
46520
47269
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
46521
47270
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
46522
47271
|
]).default(
|
|
46523
|
-
|
|
47272
|
+
bs
|
|
46524
47273
|
),
|
|
46525
47274
|
team: e.object({
|
|
46526
47275
|
id: e.string().optional(),
|
|
@@ -46559,9 +47308,9 @@ c();
|
|
|
46559
47308
|
b();
|
|
46560
47309
|
c();
|
|
46561
47310
|
b();
|
|
46562
|
-
const
|
|
47311
|
+
const gs = "/contacts/groups";
|
|
46563
47312
|
({
|
|
46564
|
-
...pe(
|
|
47313
|
+
...pe(gs)
|
|
46565
47314
|
});
|
|
46566
47315
|
c();
|
|
46567
47316
|
b();
|
|
@@ -46595,11 +47344,11 @@ b();
|
|
|
46595
47344
|
c();
|
|
46596
47345
|
b();
|
|
46597
47346
|
c();
|
|
46598
|
-
const
|
|
47347
|
+
const us = "/users";
|
|
46599
47348
|
({
|
|
46600
|
-
...pe(
|
|
47349
|
+
...pe(us)
|
|
46601
47350
|
});
|
|
46602
|
-
const
|
|
47351
|
+
const ms = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
|
|
46603
47352
|
const d = [
|
|
46604
47353
|
"page",
|
|
46605
47354
|
"size",
|
|
@@ -46609,7 +47358,7 @@ const hs = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
|
|
|
46609
47358
|
"id",
|
|
46610
47359
|
"ids"
|
|
46611
47360
|
], m = w(i, [
|
|
46612
|
-
|
|
47361
|
+
x($()),
|
|
46613
47362
|
le("search"),
|
|
46614
47363
|
(p) => ({
|
|
46615
47364
|
...p,
|
|
@@ -46624,8 +47373,8 @@ const hs = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
|
|
|
46624
47373
|
ae(o)
|
|
46625
47374
|
]);
|
|
46626
47375
|
try {
|
|
46627
|
-
const p = await
|
|
46628
|
-
|
|
47376
|
+
const p = await ms.get(m), { data: f, items: h, next: g } = w(p.data, [
|
|
47377
|
+
x(J())
|
|
46629
47378
|
]);
|
|
46630
47379
|
return {
|
|
46631
47380
|
// Some endpoints return data, some return items so we need to check for both of them
|
|
@@ -46639,15 +47388,15 @@ const hs = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
|
|
|
46639
47388
|
z
|
|
46640
47389
|
]);
|
|
46641
47390
|
}
|
|
46642
|
-
},
|
|
47391
|
+
}, fs = (o) => ce({
|
|
46643
47392
|
...o,
|
|
46644
47393
|
fields: o.fields || [
|
|
46645
47394
|
"id",
|
|
46646
47395
|
"name"
|
|
46647
47396
|
]
|
|
46648
|
-
}),
|
|
47397
|
+
}), Is = {
|
|
46649
47398
|
getList: ce,
|
|
46650
|
-
getLookup:
|
|
47399
|
+
getLookup: fs
|
|
46651
47400
|
};
|
|
46652
47401
|
c();
|
|
46653
47402
|
b();
|
|
@@ -46656,14 +47405,14 @@ b();
|
|
|
46656
47405
|
c();
|
|
46657
47406
|
b();
|
|
46658
47407
|
export {
|
|
46659
|
-
|
|
47408
|
+
Is as S,
|
|
46660
47409
|
w as a,
|
|
46661
|
-
|
|
47410
|
+
W as b,
|
|
46662
47411
|
M as c,
|
|
46663
47412
|
le as d,
|
|
46664
47413
|
$ as e,
|
|
46665
47414
|
J as g,
|
|
46666
|
-
|
|
47415
|
+
x as m,
|
|
46667
47416
|
z as n,
|
|
46668
47417
|
se as s
|
|
46669
47418
|
};
|