@webitel/ui-sdk 26.6.1 → 26.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{contacts-_qmCBw3x.js → contacts-DuiejYmg.js} +834 -373
- package/dist/{index-CFJvgwFr.js → index-D_Bvqjjy.js} +1 -1
- package/dist/{index-BoAr0FkY.js → index-ofJZWfBt.js} +1 -1
- package/dist/{install-PDJJDxnH.js → install-rysuPEjF.js} +38 -38
- package/dist/{isObject-DPhlkqvG.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 +133 -133
- package/dist/{useVidstackSrc-BhJoOoEq.js → useVidstackSrc-C6hUWIuE.js} +1 -1
- package/dist/{vidstack-Bq6c3Bam-CanlLRKk.js → vidstack-Bq6c3Bam-D6M5GPTI.js} +3 -3
- package/dist/{vidstack-D2pY00kU-CSB1KdRb.js → vidstack-D2pY00kU-CRo5Kvyt.js} +3 -3
- package/dist/{vidstack-DDXt6fpN-DO4Y-JcH.js → vidstack-DDXt6fpN-QgRuASyL.js} +2 -2
- package/dist/{vidstack-D_-9AA6_-BCtNJifs.js → vidstack-D_-9AA6_-BQB6UUD-.js} +2 -2
- package/dist/{vidstack-DqAw8m9J-CR1v9UBt.js → vidstack-DqAw8m9J-0B90hhJB.js} +1 -1
- package/dist/{vidstack-audio-BSLWAfpl.js → vidstack-audio-BML-tyCz.js} +2 -2
- package/dist/{vidstack-dash-v38IQp6A.js → vidstack-dash-BwVTHD5j.js} +4 -4
- package/dist/{vidstack-google-cast-DOkWGOXY.js → vidstack-google-cast-CvoUE_Qj.js} +4 -4
- package/dist/{vidstack-hls-Da7XyV8o.js → vidstack-hls-BgbWYqKl.js} +4 -4
- package/dist/{vidstack-video-MlBxjeJm.js → vidstack-video-D6tVAa-p.js} +3 -3
- package/dist/{vidstack-vimeo-C08ll0Oc.js → vidstack-vimeo-CMino7JB.js} +4 -4
- package/dist/{vidstack-youtube-DAs-oRRy.js → vidstack-youtube-DLE3pyNu.js} +3 -3
- package/dist/{wt-action-bar-B-gnbrSN.js → wt-action-bar-BwAQUnPp.js} +1 -1
- package/dist/{wt-button-select-CkqeW_-6.js → wt-button-select-D8-D18E4.js} +1 -1
- package/dist/{wt-call-media-action-D6CkWTmq.js → wt-call-media-action-B-AEoxjt.js} +1 -1
- package/dist/{wt-chat-emoji-DlCyrANh.js → wt-chat-emoji-D_4QMhH7.js} +2 -2
- package/dist/{wt-confirm-dialog-D8tcppiC.js → wt-confirm-dialog-BQVImEga.js} +1 -1
- package/dist/{wt-context-menu-DCigRSmp.js → wt-context-menu-CfvdB5Xl.js} +1 -1
- package/dist/{wt-copy-action-D_Z6jFtf.js → wt-copy-action-CIa3ImHz.js} +1 -1
- package/dist/{wt-datepicker-pS9H0oR1.js → wt-datepicker-CEoYduIo.js} +1 -1
- package/dist/{wt-display-chip-items-bzwYwkxN.js → wt-display-chip-items-CD6E8917.js} +1 -1
- package/dist/{wt-dual-panel-zN8czo6-.js → wt-dual-panel-Cm2oe8sF.js} +1 -1
- package/dist/{wt-dummy-CQ2r3NMw.js → wt-dummy-DHdJccrG.js} +1 -1
- package/dist/{wt-error-page-DamPrF3N.js → wt-error-page-Rt-F9oVv.js} +1 -1
- package/dist/{wt-expansion-card-C3S1YUq-.js → wt-expansion-card-v7GFQBoJ.js} +1 -1
- package/dist/{wt-expansion-panel-DTyYil5D.js → wt-expansion-panel-DSsY-KFR.js} +1 -1
- package/dist/{wt-filters-panel-wrapper-BklLdi6h.js → wt-filters-panel-wrapper-Cr9dYYnT.js} +1 -1
- package/dist/{wt-galleria-DojNGdRA.js → wt-galleria-C2aburQk.js} +1 -1
- package/dist/{wt-inline-add-panel-CU5tPYmv.js → wt-inline-add-panel-BaDP2TC1.js} +1 -1
- package/dist/{wt-navigation-menu-DMak2JPd.js → wt-navigation-menu-B_R8-_Bk.js} +1 -1
- package/dist/{wt-notifications-bar-DrTcFD94.js → wt-notifications-bar-CfoCOojR.js} +2 -2
- package/dist/{wt-pagination-DRFIwl6z.js → wt-pagination-DW7KL87c.js} +1 -1
- package/dist/{wt-player-DXEv_Fho.js → wt-player-Be2YAJcQ.js} +2 -2
- package/dist/{wt-screen-recordings-action-CZMGLcgF.js → wt-screen-recordings-action-BJBx9KXM.js} +1 -1
- package/dist/{wt-search-bar-DvazKoF3.js → wt-search-bar-BT5d_LDB.js} +1 -1
- package/dist/{wt-selection-popup-CaQ5h7Kd.js → wt-selection-popup-DK6oLjfk.js} +1 -1
- package/dist/{wt-send-message-popup--MgNAzGF.js → wt-send-message-popup-C8oG1Kxc.js} +3 -3
- package/dist/{wt-start-page-X9LQJcFp.js → wt-start-page-BcV-IdG_.js} +1 -1
- package/dist/{wt-status-select-DNjNPOdw.js → wt-status-select-BcrdWJ9m.js} +1 -1
- package/dist/{wt-stepper-DuZTsQpa.js → wt-stepper-B_ny-IQN.js} +1 -1
- package/dist/{wt-table-BucoCc3s.js → wt-table-BX5kDXje.js} +1 -1
- package/dist/{wt-table-actions-D6_4T0-v.js → wt-table-actions-Cvk2_NUG.js} +1 -1
- package/dist/{wt-table-column-select-B3gopWBB.js → wt-table-column-select-CPacgsbN.js} +2 -2
- package/dist/{wt-tabs-B_Uw8dui.js → wt-tabs-wcnQfMfj.js} +1 -1
- package/dist/{wt-tags-input-B-yNXShn.js → wt-tags-input-CPO80nnI.js} +2 -2
- package/dist/{wt-timepicker-C0hhMn9W.js → wt-timepicker-DbdcOXYa.js} +1 -1
- package/dist/{wt-tree-fxzTZJnC.js → wt-tree-CLs3S4Av.js} +2 -2
- package/dist/{wt-tree-table-Dc3ItaFu.js → wt-tree-table-DtNIE08B.js} +1 -1
- package/dist/{wt-type-extension-value-input-DFCd1Tyn.js → wt-type-extension-value-input-CjJ8_xRU.js} +3 -3
- package/dist/{wt-vidstack-player-iT3S0wnv.js → wt-vidstack-player-DmD7s58v.js} +900 -882
- package/package.json +1 -1
- 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/src/modules/UploadCsvPopup/components/wt-upload-csv-popup.vue +2 -2
- 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
|
|
@@ -18,12 +18,12 @@ const J = () => ({
|
|
|
18
18
|
RFC3986: function(o) {
|
|
19
19
|
return String(o);
|
|
20
20
|
}
|
|
21
|
-
}, Re = Z.RFC1738, ee = Z.RFC3986,
|
|
21
|
+
}, Re = Z.RFC1738, ee = Z.RFC3986, Ae = Array.isArray, D = (function() {
|
|
22
22
|
const o = [];
|
|
23
23
|
for (let t = 0; t < 256; ++t)
|
|
24
24
|
o.push("%" + ((t < 16 ? "0" : "") + t.toString(16)).toUpperCase());
|
|
25
25
|
return o;
|
|
26
|
-
})(), N = 1024,
|
|
26
|
+
})(), N = 1024, we = function(t, r, i, d, m) {
|
|
27
27
|
if (t.length === 0)
|
|
28
28
|
return t;
|
|
29
29
|
let p = t;
|
|
@@ -48,33 +48,33 @@ const J = () => ({
|
|
|
48
48
|
continue;
|
|
49
49
|
}
|
|
50
50
|
if (s < 128) {
|
|
51
|
-
u[u.length] =
|
|
51
|
+
u[u.length] = D[s];
|
|
52
52
|
continue;
|
|
53
53
|
}
|
|
54
54
|
if (s < 2048) {
|
|
55
|
-
u[u.length] =
|
|
55
|
+
u[u.length] = D[192 | s >> 6] + D[128 | s & 63];
|
|
56
56
|
continue;
|
|
57
57
|
}
|
|
58
58
|
if (s < 55296 || s >= 57344) {
|
|
59
|
-
u[u.length] =
|
|
59
|
+
u[u.length] = D[224 | s >> 12] + D[128 | s >> 6 & 63] + D[128 | s & 63];
|
|
60
60
|
continue;
|
|
61
61
|
}
|
|
62
|
-
j += 1, s = 65536 + ((s & 1023) << 10 | g.charCodeAt(j) & 1023), u[u.length] =
|
|
62
|
+
j += 1, s = 65536 + ((s & 1023) << 10 | g.charCodeAt(j) & 1023), u[u.length] = D[240 | s >> 18] + D[128 | s >> 12 & 63] + D[128 | s >> 6 & 63] + D[128 | s & 63];
|
|
63
63
|
}
|
|
64
64
|
f += u.join("");
|
|
65
65
|
}
|
|
66
66
|
return f;
|
|
67
|
-
},
|
|
67
|
+
}, De = function(t) {
|
|
68
68
|
return !t || typeof t != "object" ? !1 : !!(t.constructor && t.constructor.isBuffer && t.constructor.isBuffer(t));
|
|
69
69
|
}, H = function(t, r) {
|
|
70
|
-
if (
|
|
70
|
+
if (Ae(t)) {
|
|
71
71
|
const i = [];
|
|
72
72
|
for (let d = 0; d < t.length; d += 1)
|
|
73
73
|
i.push(r(t[d]));
|
|
74
74
|
return i;
|
|
75
75
|
}
|
|
76
76
|
return r(t);
|
|
77
|
-
},
|
|
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
|
-
Oe.apply(o,
|
|
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,
|
|
@@ -97,7 +97,7 @@ const J = () => ({
|
|
|
97
97
|
delimiter: "&",
|
|
98
98
|
encode: !0,
|
|
99
99
|
encodeDotInKeys: !1,
|
|
100
|
-
encoder:
|
|
100
|
+
encoder: we,
|
|
101
101
|
encodeValuesOnly: !1,
|
|
102
102
|
format: K,
|
|
103
103
|
formatter: L[K],
|
|
@@ -110,59 +110,59 @@ const J = () => ({
|
|
|
110
110
|
strictNullHandling: !1
|
|
111
111
|
}, Ce = function(t) {
|
|
112
112
|
return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "symbol" || typeof t == "bigint";
|
|
113
|
-
},
|
|
114
|
-
let n = t, T = l, y = 0,
|
|
115
|
-
for (; (T = T.get(
|
|
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
|
-
typeof T.get(
|
|
122
|
+
typeof T.get(P) > "u" && (y = 0);
|
|
123
123
|
}
|
|
124
|
-
if (typeof u == "function" ? n = u(r, n) : n instanceof Date ? n = O(n) : i === "comma" &&
|
|
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
125
|
return R instanceof Date ? O(R) : R;
|
|
126
126
|
})), n === null) {
|
|
127
127
|
if (p)
|
|
128
128
|
return g && !E ? g(r, I.encoder, a, "key", C) : r;
|
|
129
129
|
n = "";
|
|
130
130
|
}
|
|
131
|
-
if (Ce(n) ||
|
|
131
|
+
if (Ce(n) || De(n)) {
|
|
132
132
|
if (g) {
|
|
133
133
|
const R = E ? r : g(r, I.encoder, a, "key", C);
|
|
134
134
|
return [
|
|
135
|
-
|
|
135
|
+
A(R) + "=" + A(g(n, I.encoder, a, "value", C))
|
|
136
136
|
];
|
|
137
137
|
}
|
|
138
|
-
return [
|
|
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
|
|
153
|
-
if (m &&
|
|
154
|
-
return
|
|
155
|
-
for (let R = 0; R <
|
|
156
|
-
const q =
|
|
157
|
-
if (f &&
|
|
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
|
+
return k + "[]";
|
|
155
|
+
for (let R = 0; R < S.length; ++R) {
|
|
156
|
+
const q = S[R], Y = typeof q == "object" && typeof q.value < "u" ? q.value : n[q];
|
|
157
|
+
if (f && Y === null)
|
|
158
158
|
continue;
|
|
159
|
-
const B = s && h ? q.replace(/\./g, "%2E") : q, de =
|
|
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
|
-
G.set(
|
|
163
|
-
|
|
162
|
+
G.set(P, l), oe(
|
|
163
|
+
U,
|
|
164
164
|
ie(
|
|
165
|
-
|
|
165
|
+
Y,
|
|
166
166
|
de,
|
|
167
167
|
i,
|
|
168
168
|
d,
|
|
@@ -170,20 +170,20 @@ 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,
|
|
181
181
|
a,
|
|
182
182
|
G
|
|
183
183
|
)
|
|
184
184
|
);
|
|
185
185
|
}
|
|
186
|
-
return
|
|
186
|
+
return U;
|
|
187
187
|
}, qe = function(t) {
|
|
188
188
|
if (!t)
|
|
189
189
|
return I;
|
|
@@ -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");
|
|
@@ -235,7 +235,7 @@ function ne(o, t) {
|
|
|
235
235
|
let r = o;
|
|
236
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 "";
|
|
@@ -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,33 +291,33 @@ const ke = [
|
|
|
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",
|
|
301
301
|
paramsSerializer: (t) => ne(t, o)
|
|
302
302
|
});
|
|
303
303
|
};
|
|
304
|
-
class
|
|
304
|
+
class ke {
|
|
305
305
|
constructor(t = {}) {
|
|
306
306
|
this.apiKey = t.apiKey, this.username = t.username, this.password = t.password, this.accessToken = t.accessToken, this.basePath = t.basePath, this.baseOptions = t.baseOptions;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
|
-
const b = () => new
|
|
309
|
+
const b = () => new ke({
|
|
310
310
|
basePath: "/api",
|
|
311
311
|
apiKey: localStorage.getItem("access-key") || "",
|
|
312
312
|
accessToken: localStorage.getItem("access-key") || ""
|
|
313
|
-
}),
|
|
313
|
+
}), w = (o, t, { debug: r = !1, withContext: i = null } = {}) => t.reduce((d, m, p) => (r && console.info(`applyTransform debug on step ${p}`, d), i ? m(d, i) : m(d)), o), M = (o = []) => (t) => fe(t, o), ae = (o) => (t) => `${o}?${ne(t, {
|
|
314
314
|
skipEmptyString: !0,
|
|
315
315
|
skipNull: !0,
|
|
316
316
|
arrayFormat: "repeat"
|
|
317
317
|
})}`;
|
|
318
|
-
var
|
|
319
|
-
function
|
|
320
|
-
if (Q) return
|
|
318
|
+
var F, Q;
|
|
319
|
+
function xe() {
|
|
320
|
+
if (Q) return F;
|
|
321
321
|
Q = 1;
|
|
322
322
|
var o = function(l) {
|
|
323
323
|
return t(l) && !r(l);
|
|
@@ -337,7 +337,7 @@ function Ue() {
|
|
|
337
337
|
return Array.isArray(a) ? [] : {};
|
|
338
338
|
}
|
|
339
339
|
function f(a, l) {
|
|
340
|
-
return l.clone !== !1 && l.isMergeableObject(a) ?
|
|
340
|
+
return l.clone !== !1 && l.isMergeableObject(a) ? A(p(a), a, l) : a;
|
|
341
341
|
}
|
|
342
342
|
function h(a, l, n) {
|
|
343
343
|
return a.concat(l).map(function(T) {
|
|
@@ -346,9 +346,9 @@ function Ue() {
|
|
|
346
346
|
}
|
|
347
347
|
function g(a, l) {
|
|
348
348
|
if (!l.customMerge)
|
|
349
|
-
return
|
|
349
|
+
return A;
|
|
350
350
|
var n = l.customMerge(a);
|
|
351
|
-
return typeof n == "function" ? n :
|
|
351
|
+
return typeof n == "function" ? n : A;
|
|
352
352
|
}
|
|
353
353
|
function u(a) {
|
|
354
354
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(a).filter(function(l) {
|
|
@@ -376,23 +376,23 @@ function Ue() {
|
|
|
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
|
-
function
|
|
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))
|
|
386
386
|
throw new Error("first argument should be an array");
|
|
387
387
|
return l.reduce(function(T, y) {
|
|
388
|
-
return
|
|
388
|
+
return A(T, y, n);
|
|
389
389
|
}, {});
|
|
390
390
|
};
|
|
391
|
-
var E =
|
|
392
|
-
return
|
|
391
|
+
var E = A;
|
|
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(
|
|
@@ -416,7 +416,7 @@ const re = /* @__PURE__ */ he(_e), U = (...o) => (t) => re.all([
|
|
|
416
416
|
}, se = (o) => (t) => Object.keys(t).reduce((r, i) => (o.indexOf(i) === -1 || (r[i] = t[i]), r), {}), W = (o = []) => (t) => ye(t, o), le = (o = "search") => (t) => {
|
|
417
417
|
const r = be(t), i = ge(r, o);
|
|
418
418
|
return !i || i.slice(-1) === "*" ? r : ue(r, o, `${i}*`);
|
|
419
|
-
}, X = "acl",
|
|
419
|
+
}, X = "acl", Pe = (o) => o.map((t) => ({
|
|
420
420
|
...t,
|
|
421
421
|
access: {
|
|
422
422
|
x: {
|
|
@@ -449,8 +449,8 @@ const re = /* @__PURE__ */ he(_e), U = (...o) => (t) => re.all([
|
|
|
449
449
|
"id"
|
|
450
450
|
], f = {
|
|
451
451
|
user: !1
|
|
452
|
-
}, h =
|
|
453
|
-
|
|
452
|
+
}, h = w(m, [
|
|
453
|
+
x($()),
|
|
454
454
|
le("search"),
|
|
455
455
|
(g) => ({
|
|
456
456
|
...g,
|
|
@@ -461,34 +461,34 @@ const re = /* @__PURE__ */ he(_e), U = (...o) => (t) => re.all([
|
|
|
461
461
|
ae(`${o}/${d}/${X}`)
|
|
462
462
|
]);
|
|
463
463
|
try {
|
|
464
|
-
const g = await t.get(h), { items: u, next: j } =
|
|
464
|
+
const g = await t.get(h), { items: u, next: j } = w(g.data, [
|
|
465
465
|
W(),
|
|
466
|
-
|
|
466
|
+
x(J())
|
|
467
467
|
]);
|
|
468
468
|
return {
|
|
469
|
-
items:
|
|
469
|
+
items: w(u, [
|
|
470
470
|
Be(f),
|
|
471
|
-
|
|
471
|
+
Pe
|
|
472
472
|
]),
|
|
473
473
|
next: j
|
|
474
474
|
};
|
|
475
475
|
} catch (g) {
|
|
476
|
-
throw
|
|
476
|
+
throw w(g, [
|
|
477
477
|
z
|
|
478
478
|
]);
|
|
479
479
|
}
|
|
480
480
|
},
|
|
481
481
|
patchPermissions: async ({ changes: d, id: m }) => {
|
|
482
|
-
const p =
|
|
482
|
+
const p = w(d, [
|
|
483
483
|
M()
|
|
484
484
|
]), f = `${o}/${m}/${X}`;
|
|
485
485
|
try {
|
|
486
486
|
const h = await t.patch(f, p);
|
|
487
|
-
return
|
|
487
|
+
return w(h.data, [
|
|
488
488
|
W()
|
|
489
489
|
]);
|
|
490
490
|
} catch (h) {
|
|
491
|
-
throw
|
|
491
|
+
throw w(h, [
|
|
492
492
|
z
|
|
493
493
|
]);
|
|
494
494
|
}
|
|
@@ -645,7 +645,7 @@ e.object({
|
|
|
645
645
|
"object.name": e.string().describe("display name"),
|
|
646
646
|
"object.id": e.string().describe("identifier")
|
|
647
647
|
});
|
|
648
|
-
const
|
|
648
|
+
const Fe = e.object({
|
|
649
649
|
grantee: e.string().optional(),
|
|
650
650
|
grants: e.string().optional(),
|
|
651
651
|
object: e.object({
|
|
@@ -653,7 +653,7 @@ const Pe = e.object({
|
|
|
653
653
|
name: e.string().optional()
|
|
654
654
|
}).optional()
|
|
655
655
|
});
|
|
656
|
-
e.array(
|
|
656
|
+
e.array(Fe);
|
|
657
657
|
e.object({
|
|
658
658
|
granted: e.string().optional(),
|
|
659
659
|
revoked: e.string().optional()
|
|
@@ -767,7 +767,7 @@ e.object({
|
|
|
767
767
|
fields: e.array(e.string()).optional(),
|
|
768
768
|
filters: e.array(e.string()).optional()
|
|
769
769
|
});
|
|
770
|
-
const
|
|
770
|
+
const Ve = "ABSENCE_TYPE_UNSPECIFIED";
|
|
771
771
|
e.object({
|
|
772
772
|
items: e.array(
|
|
773
773
|
e.object({
|
|
@@ -785,7 +785,7 @@ e.object({
|
|
|
785
785
|
"ABSENCE_TYPE_VACATION",
|
|
786
786
|
"ABSENCE_TYPE_SICKDAY"
|
|
787
787
|
]).default(
|
|
788
|
-
|
|
788
|
+
Ve
|
|
789
789
|
),
|
|
790
790
|
updatedAt: e.string().optional(),
|
|
791
791
|
updatedBy: e.object({
|
|
@@ -798,7 +798,7 @@ e.object({
|
|
|
798
798
|
e.object({
|
|
799
799
|
agent_id: e.string()
|
|
800
800
|
});
|
|
801
|
-
const
|
|
801
|
+
const Ye = "ABSENCE_TYPE_UNSPECIFIED";
|
|
802
802
|
e.object({
|
|
803
803
|
item: e.object({
|
|
804
804
|
absentAt: e.string().optional(),
|
|
@@ -814,7 +814,7 @@ e.object({
|
|
|
814
814
|
"ABSENCE_TYPE_DAYOFF",
|
|
815
815
|
"ABSENCE_TYPE_VACATION",
|
|
816
816
|
"ABSENCE_TYPE_SICKDAY"
|
|
817
|
-
]).default(
|
|
817
|
+
]).default(Ye),
|
|
818
818
|
updatedAt: e.string().optional(),
|
|
819
819
|
updatedBy: e.object({
|
|
820
820
|
id: e.string().optional(),
|
|
@@ -7014,7 +7014,7 @@ e.object({
|
|
|
7014
7014
|
qin: e.string().optional().describe("Specify which fields to apply 'q' to."),
|
|
7015
7015
|
filtersV1: e.string().optional().describe("Updated filters with CEL syntax.")
|
|
7016
7016
|
});
|
|
7017
|
-
const Rt = "RELATION_TYPE_UNSPECIFIED",
|
|
7017
|
+
const Rt = "RELATION_TYPE_UNSPECIFIED", At = "TYPE_UNSPECIFIED";
|
|
7018
7018
|
e.object({
|
|
7019
7019
|
items: e.array(
|
|
7020
7020
|
e.object({
|
|
@@ -7306,7 +7306,7 @@ e.object({
|
|
|
7306
7306
|
"EMAIL",
|
|
7307
7307
|
"API",
|
|
7308
7308
|
"MANUAL"
|
|
7309
|
-
]).default(
|
|
7309
|
+
]).default(At).describe(
|
|
7310
7310
|
`Represents a source type for the source entity.
|
|
7311
7311
|
|
|
7312
7312
|
- TYPE_UNSPECIFIED: Unspecified source type.
|
|
@@ -7364,7 +7364,7 @@ Set to true to explicitly prevent the trigger from running (e.g., when called fr
|
|
|
7364
7364
|
[WTEL-7055]`
|
|
7365
7365
|
)
|
|
7366
7366
|
});
|
|
7367
|
-
const
|
|
7367
|
+
const wt = "RELATION_TYPE_UNSPECIFIED";
|
|
7368
7368
|
e.object({
|
|
7369
7369
|
assignee: e.object({
|
|
7370
7370
|
id: e.string().optional(),
|
|
@@ -7424,7 +7424,7 @@ e.object({
|
|
|
7424
7424
|
"IS_CHILD_OF",
|
|
7425
7425
|
"IS_PARENT_OF",
|
|
7426
7426
|
"RELATES_TO"
|
|
7427
|
-
]).default(
|
|
7427
|
+
]).default(wt).describe("Type of relation (e.g., duplicate, linked).")
|
|
7428
7428
|
}).describe("Structure for related cases input when creating a case.")
|
|
7429
7429
|
).optional().describe("List of related cases."),
|
|
7430
7430
|
reporter: e.object({
|
|
@@ -7455,7 +7455,7 @@ e.object({
|
|
|
7455
7455
|
"Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
|
|
7456
7456
|
)
|
|
7457
7457
|
}).describe("Input structure for creating a new case.");
|
|
7458
|
-
const
|
|
7458
|
+
const Dt = "RELATION_TYPE_UNSPECIFIED", vt = "TYPE_UNSPECIFIED";
|
|
7459
7459
|
e.object({
|
|
7460
7460
|
assignee: e.object({
|
|
7461
7461
|
id: e.string().optional(),
|
|
@@ -7644,7 +7644,7 @@ e.object({
|
|
|
7644
7644
|
"IS_CHILD_OF",
|
|
7645
7645
|
"IS_PARENT_OF",
|
|
7646
7646
|
"RELATES_TO"
|
|
7647
|
-
]).default(
|
|
7647
|
+
]).default(Dt).describe("Relation type between cases."),
|
|
7648
7648
|
updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
|
|
7649
7649
|
updatedBy: e.object({
|
|
7650
7650
|
id: e.string().optional(),
|
|
@@ -7735,7 +7735,7 @@ e.object({
|
|
|
7735
7735
|
"EMAIL",
|
|
7736
7736
|
"API",
|
|
7737
7737
|
"MANUAL"
|
|
7738
|
-
]).default(
|
|
7738
|
+
]).default(vt).describe(
|
|
7739
7739
|
`Represents a source type for the source entity.
|
|
7740
7740
|
|
|
7741
7741
|
- TYPE_UNSPECIFIED: Unspecified source type.
|
|
@@ -8542,7 +8542,7 @@ e.object({
|
|
|
8542
8542
|
"Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
|
|
8543
8543
|
)
|
|
8544
8544
|
});
|
|
8545
|
-
const
|
|
8545
|
+
const St = "RELATION_TYPE_UNSPECIFIED", _t = "TYPE_UNSPECIFIED";
|
|
8546
8546
|
e.object({
|
|
8547
8547
|
case: e.object({
|
|
8548
8548
|
assignee: e.object({
|
|
@@ -8735,7 +8735,7 @@ e.object({
|
|
|
8735
8735
|
"IS_PARENT_OF",
|
|
8736
8736
|
"RELATES_TO"
|
|
8737
8737
|
]).default(
|
|
8738
|
-
|
|
8738
|
+
St
|
|
8739
8739
|
).describe("Relation type between cases."),
|
|
8740
8740
|
updatedAt: e.string().optional().describe(
|
|
8741
8741
|
"Timestamp (in milliseconds) of the last update."
|
|
@@ -8829,7 +8829,7 @@ e.object({
|
|
|
8829
8829
|
"EMAIL",
|
|
8830
8830
|
"API",
|
|
8831
8831
|
"MANUAL"
|
|
8832
|
-
]).default(
|
|
8832
|
+
]).default(_t).describe(
|
|
8833
8833
|
`Represents a source type for the source entity.
|
|
8834
8834
|
|
|
8835
8835
|
- TYPE_UNSPECIFIED: Unspecified source type.
|
|
@@ -8962,7 +8962,7 @@ e.object({
|
|
|
8962
8962
|
"Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
|
|
8963
8963
|
)
|
|
8964
8964
|
});
|
|
8965
|
-
const
|
|
8965
|
+
const kt = "RELATION_TYPE_UNSPECIFIED", xt = "TYPE_UNSPECIFIED";
|
|
8966
8966
|
e.object({
|
|
8967
8967
|
case: e.object({
|
|
8968
8968
|
assignee: e.object({
|
|
@@ -9155,7 +9155,7 @@ e.object({
|
|
|
9155
9155
|
"IS_PARENT_OF",
|
|
9156
9156
|
"RELATES_TO"
|
|
9157
9157
|
]).default(
|
|
9158
|
-
|
|
9158
|
+
kt
|
|
9159
9159
|
).describe("Relation type between cases."),
|
|
9160
9160
|
updatedAt: e.string().optional().describe(
|
|
9161
9161
|
"Timestamp (in milliseconds) of the last update."
|
|
@@ -9249,7 +9249,7 @@ e.object({
|
|
|
9249
9249
|
"EMAIL",
|
|
9250
9250
|
"API",
|
|
9251
9251
|
"MANUAL"
|
|
9252
|
-
]).default(
|
|
9252
|
+
]).default(xt).describe(
|
|
9253
9253
|
`Represents a source type for the source entity.
|
|
9254
9254
|
|
|
9255
9255
|
- TYPE_UNSPECIFIED: Unspecified source type.
|
|
@@ -9313,7 +9313,7 @@ e.object({
|
|
|
9313
9313
|
qin: e.string().optional().describe("Specify which fields to apply 'q' to."),
|
|
9314
9314
|
filtersV1: e.string().optional().describe("Updated filters with CEL syntax.")
|
|
9315
9315
|
});
|
|
9316
|
-
const
|
|
9316
|
+
const Ut = "RELATION_TYPE_UNSPECIFIED", Bt = "TYPE_UNSPECIFIED";
|
|
9317
9317
|
e.object({
|
|
9318
9318
|
items: e.array(
|
|
9319
9319
|
e.object({
|
|
@@ -9511,7 +9511,7 @@ e.object({
|
|
|
9511
9511
|
"IS_PARENT_OF",
|
|
9512
9512
|
"RELATES_TO"
|
|
9513
9513
|
]).default(
|
|
9514
|
-
|
|
9514
|
+
Ut
|
|
9515
9515
|
).describe("Relation type between cases."),
|
|
9516
9516
|
updatedAt: e.string().optional().describe(
|
|
9517
9517
|
"Timestamp (in milliseconds) of the last update."
|
|
@@ -11139,7 +11139,7 @@ e.object({
|
|
|
11139
11139
|
).optional(),
|
|
11140
11140
|
enabled: e.boolean().optional()
|
|
11141
11141
|
});
|
|
11142
|
-
const
|
|
11142
|
+
const Pt = "DefaultProvider", Ft = "DefaultService";
|
|
11143
11143
|
e.object({
|
|
11144
11144
|
items: e.array(
|
|
11145
11145
|
e.object({
|
|
@@ -11158,12 +11158,12 @@ e.object({
|
|
|
11158
11158
|
"Microsoft",
|
|
11159
11159
|
"Google",
|
|
11160
11160
|
"ElevenLabs"
|
|
11161
|
-
]).default(
|
|
11161
|
+
]).default(Pt),
|
|
11162
11162
|
service: e.enum([
|
|
11163
11163
|
"DefaultService",
|
|
11164
11164
|
"STT",
|
|
11165
11165
|
"TTS"
|
|
11166
|
-
]).default(
|
|
11166
|
+
]).default(Ft),
|
|
11167
11167
|
updatedAt: e.string().optional(),
|
|
11168
11168
|
updatedBy: e.object({
|
|
11169
11169
|
id: e.string().optional(),
|
|
@@ -11191,7 +11191,7 @@ e.object({
|
|
|
11191
11191
|
"TTS"
|
|
11192
11192
|
]).default(Mt)
|
|
11193
11193
|
}).describe("Create cognitive profile request body for TTS and TTS");
|
|
11194
|
-
const zt = "DefaultProvider",
|
|
11194
|
+
const zt = "DefaultProvider", Vt = "DefaultService";
|
|
11195
11195
|
e.object({
|
|
11196
11196
|
createdAt: e.string().optional(),
|
|
11197
11197
|
createdBy: e.object({
|
|
@@ -11213,7 +11213,7 @@ e.object({
|
|
|
11213
11213
|
"DefaultService",
|
|
11214
11214
|
"STT",
|
|
11215
11215
|
"TTS"
|
|
11216
|
-
]).default(
|
|
11216
|
+
]).default(Vt),
|
|
11217
11217
|
updatedAt: e.string().optional(),
|
|
11218
11218
|
updatedBy: e.object({
|
|
11219
11219
|
id: e.string().optional(),
|
|
@@ -11223,7 +11223,7 @@ e.object({
|
|
|
11223
11223
|
e.object({
|
|
11224
11224
|
id: e.string()
|
|
11225
11225
|
});
|
|
11226
|
-
const
|
|
11226
|
+
const Yt = "DefaultProvider", Gt = "DefaultService";
|
|
11227
11227
|
e.object({
|
|
11228
11228
|
createdAt: e.string().optional(),
|
|
11229
11229
|
createdBy: e.object({
|
|
@@ -11240,7 +11240,7 @@ e.object({
|
|
|
11240
11240
|
"Microsoft",
|
|
11241
11241
|
"Google",
|
|
11242
11242
|
"ElevenLabs"
|
|
11243
|
-
]).default(
|
|
11243
|
+
]).default(Yt),
|
|
11244
11244
|
service: e.enum([
|
|
11245
11245
|
"DefaultService",
|
|
11246
11246
|
"STT",
|
|
@@ -15530,7 +15530,7 @@ whose member channel(s) contain
|
|
|
15530
15530
|
a specified set of variables.`
|
|
15531
15531
|
)
|
|
15532
15532
|
});
|
|
15533
|
-
const
|
|
15533
|
+
const Ao = "phone";
|
|
15534
15534
|
e.object({
|
|
15535
15535
|
chats: e.array(
|
|
15536
15536
|
e.object({
|
|
@@ -15644,7 +15644,7 @@ Contact **type**-specific string.`
|
|
|
15644
15644
|
"contact",
|
|
15645
15645
|
"location"
|
|
15646
15646
|
]).default(
|
|
15647
|
-
|
|
15647
|
+
Ao
|
|
15648
15648
|
).describe("Request to share contact info."),
|
|
15649
15649
|
text: e.string().optional().describe("Caption to display."),
|
|
15650
15650
|
url: e.string().optional().describe("URL to navigate to ..")
|
|
@@ -15734,7 +15734,7 @@ whose member channel(s) contain
|
|
|
15734
15734
|
a specified set of variables.`
|
|
15735
15735
|
)
|
|
15736
15736
|
});
|
|
15737
|
-
const
|
|
15737
|
+
const wo = "phone";
|
|
15738
15738
|
e.object({
|
|
15739
15739
|
chats: e.array(
|
|
15740
15740
|
e.object({
|
|
@@ -15848,7 +15848,7 @@ Contact **type**-specific string.`
|
|
|
15848
15848
|
"contact",
|
|
15849
15849
|
"location"
|
|
15850
15850
|
]).default(
|
|
15851
|
-
|
|
15851
|
+
wo
|
|
15852
15852
|
).describe("Request to share contact info."),
|
|
15853
15853
|
text: e.string().optional().describe("Caption to display."),
|
|
15854
15854
|
url: e.string().optional().describe("URL to navigate to ..")
|
|
@@ -16339,8 +16339,8 @@ e.object({
|
|
|
16339
16339
|
id: e.string().optional(),
|
|
16340
16340
|
permanent: e.boolean().optional()
|
|
16341
16341
|
});
|
|
16342
|
-
const
|
|
16343
|
-
e.array(
|
|
16342
|
+
const Do = e.string();
|
|
16343
|
+
e.array(Do);
|
|
16344
16344
|
e.object({
|
|
16345
16345
|
deleted: e.array(
|
|
16346
16346
|
e.object({
|
|
@@ -16834,7 +16834,7 @@ e.object({
|
|
|
16834
16834
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result dataset."),
|
|
16835
16835
|
id: e.array(e.string()).describe("[`record.id`]")
|
|
16836
16836
|
});
|
|
16837
|
-
const
|
|
16837
|
+
const vo = "none";
|
|
16838
16838
|
e.object({
|
|
16839
16839
|
data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
|
|
16840
16840
|
next: e.boolean().optional(),
|
|
@@ -16961,7 +16961,7 @@ code`),
|
|
|
16961
16961
|
"richtext",
|
|
16962
16962
|
"datetime",
|
|
16963
16963
|
"duration"
|
|
16964
|
-
]).default(
|
|
16964
|
+
]).default(vo).describe("Required. The field type."),
|
|
16965
16965
|
lookup: e.object({
|
|
16966
16966
|
display: e.string().optional().describe(
|
|
16967
16967
|
"[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
|
|
@@ -17327,7 +17327,7 @@ e.looseObject({});
|
|
|
17327
17327
|
e.object({
|
|
17328
17328
|
repo: e.string().describe("`types.repo`")
|
|
17329
17329
|
});
|
|
17330
|
-
const
|
|
17330
|
+
const So = "continue", _o = "continue";
|
|
17331
17331
|
e.object({
|
|
17332
17332
|
data: e.string().optional(),
|
|
17333
17333
|
fields: e.record(e.string(), e.number()).optional(),
|
|
@@ -17336,13 +17336,13 @@ e.object({
|
|
|
17336
17336
|
onDataError: e.enum([
|
|
17337
17337
|
"continue",
|
|
17338
17338
|
"break"
|
|
17339
|
-
]).default(
|
|
17339
|
+
]).default(So),
|
|
17340
17340
|
onEmptyLine: e.enum([
|
|
17341
17341
|
"continue",
|
|
17342
17342
|
"break"
|
|
17343
|
-
]).default(
|
|
17343
|
+
]).default(_o)
|
|
17344
17344
|
});
|
|
17345
|
-
const
|
|
17345
|
+
const ko = "none";
|
|
17346
17346
|
e.object({
|
|
17347
17347
|
data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
|
|
17348
17348
|
next: e.boolean().optional(),
|
|
@@ -17469,7 +17469,7 @@ code`),
|
|
|
17469
17469
|
"richtext",
|
|
17470
17470
|
"datetime",
|
|
17471
17471
|
"duration"
|
|
17472
|
-
]).default(
|
|
17472
|
+
]).default(ko).describe("Required. The field type."),
|
|
17473
17473
|
lookup: e.object({
|
|
17474
17474
|
display: e.string().optional().describe(
|
|
17475
17475
|
"[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
|
|
@@ -17574,7 +17574,7 @@ e.object({
|
|
|
17574
17574
|
e.object({
|
|
17575
17575
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result dataset.")
|
|
17576
17576
|
});
|
|
17577
|
-
const
|
|
17577
|
+
const xo = "none";
|
|
17578
17578
|
e.object({
|
|
17579
17579
|
data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
|
|
17580
17580
|
next: e.boolean().optional(),
|
|
@@ -17701,7 +17701,7 @@ code`),
|
|
|
17701
17701
|
"richtext",
|
|
17702
17702
|
"datetime",
|
|
17703
17703
|
"duration"
|
|
17704
|
-
]).default(
|
|
17704
|
+
]).default(xo).describe("Required. The field type."),
|
|
17705
17705
|
lookup: e.object({
|
|
17706
17706
|
display: e.string().optional().describe(
|
|
17707
17707
|
"[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
|
|
@@ -17803,9 +17803,9 @@ e.object({
|
|
|
17803
17803
|
repo: e.string().describe("[`types.repo`]"),
|
|
17804
17804
|
id: e.string().describe("[`record.id`]")
|
|
17805
17805
|
});
|
|
17806
|
-
const
|
|
17806
|
+
const Uo = "*";
|
|
17807
17807
|
e.object({
|
|
17808
|
-
fields: e.array(e.string().default(
|
|
17808
|
+
fields: e.array(e.string().default(Uo)).optional().describe(
|
|
17809
17809
|
`Fields [Q]uery to build result dataset record.
|
|
17810
17810
|
\`\`\`
|
|
17811
17811
|
fields ::= field [ *( "," field ) ]
|
|
@@ -18074,7 +18074,7 @@ int64 dc = 0;`)
|
|
|
18074
18074
|
next: e.boolean().optional(),
|
|
18075
18075
|
page: e.number().optional().describe("Page number of results.")
|
|
18076
18076
|
}).describe("Dataset of structured types.");
|
|
18077
|
-
const No = "*",
|
|
18077
|
+
const No = "*", Po = /^[+|-|!]?\w+$/, Fo = "*";
|
|
18078
18078
|
e.object({
|
|
18079
18079
|
q: e.string().optional().describe(
|
|
18080
18080
|
"Search term:\n`?` - matches any character\n`*` - matches 0 or more characters\ne.g.: name,emails{type},labels etc..."
|
|
@@ -18093,11 +18093,11 @@ Default: 16.`),
|
|
|
18093
18093
|
page: e.number().optional().describe(`Page number of result set of records.
|
|
18094
18094
|
Default: 1.`),
|
|
18095
18095
|
sort: e.array(
|
|
18096
|
-
e.string().regex(
|
|
18096
|
+
e.string().regex(Po).default(No)
|
|
18097
18097
|
).optional().describe(
|
|
18098
18098
|
'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = "-" / "!"\nASC = [ "+" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.'
|
|
18099
18099
|
),
|
|
18100
|
-
fields: e.array(e.string().default(
|
|
18100
|
+
fields: e.array(e.string().default(Fo)).optional().describe(
|
|
18101
18101
|
`Fields [Q]uery to build result dataset record.
|
|
18102
18102
|
\`\`\`
|
|
18103
18103
|
fields ::= field [ *( "," field ) ]
|
|
@@ -18765,7 +18765,7 @@ Used as [lookup].id setting for this [struct] type.`
|
|
|
18765
18765
|
"string id = 1; // The [type] name (singular form), e.g.: `country`.\n\nRepository (dataset) name (plural form), e.g.: `countries`."
|
|
18766
18766
|
)
|
|
18767
18767
|
});
|
|
18768
|
-
const
|
|
18768
|
+
const Vo = "none";
|
|
18769
18769
|
e.object({
|
|
18770
18770
|
about: e.string().optional().describe("Optional. Short description."),
|
|
18771
18771
|
administered: e.boolean().optional(),
|
|
@@ -18888,7 +18888,7 @@ code`),
|
|
|
18888
18888
|
"richtext",
|
|
18889
18889
|
"datetime",
|
|
18890
18890
|
"duration"
|
|
18891
|
-
]).default(
|
|
18891
|
+
]).default(Vo).describe("Required. The field type."),
|
|
18892
18892
|
lookup: e.object({
|
|
18893
18893
|
display: e.string().optional().describe(
|
|
18894
18894
|
"[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
|
|
@@ -18991,7 +18991,7 @@ e.object({
|
|
|
18991
18991
|
e.object({
|
|
18992
18992
|
fields: e.array(e.string()).optional().describe("Fields to return into result.")
|
|
18993
18993
|
});
|
|
18994
|
-
const
|
|
18994
|
+
const Yo = "none";
|
|
18995
18995
|
e.object({
|
|
18996
18996
|
about: e.string().optional(),
|
|
18997
18997
|
administered: e.boolean().optional(),
|
|
@@ -19106,7 +19106,7 @@ code`),
|
|
|
19106
19106
|
"richtext",
|
|
19107
19107
|
"datetime",
|
|
19108
19108
|
"duration"
|
|
19109
|
-
]).default(
|
|
19109
|
+
]).default(Yo).describe("Required. The field type."),
|
|
19110
19110
|
lookup: e.object({
|
|
19111
19111
|
display: e.string().optional().describe(
|
|
19112
19112
|
"[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
|
|
@@ -23197,7 +23197,7 @@ e.object({
|
|
|
23197
23197
|
speedDownload: e.string().optional(),
|
|
23198
23198
|
speedUpload: e.string().optional()
|
|
23199
23199
|
});
|
|
23200
|
-
const
|
|
23200
|
+
const Ai = "UnknownChannel";
|
|
23201
23201
|
e.object({
|
|
23202
23202
|
channels: e.array(
|
|
23203
23203
|
e.enum([
|
|
@@ -23210,7 +23210,7 @@ e.object({
|
|
|
23210
23210
|
"KnowledgebaseChannel",
|
|
23211
23211
|
"CasesChannel",
|
|
23212
23212
|
"ScreenRecordingChannel"
|
|
23213
|
-
]).default(
|
|
23213
|
+
]).default(Ai)
|
|
23214
23214
|
).optional(),
|
|
23215
23215
|
createdAt: e.string().optional(),
|
|
23216
23216
|
createdBy: e.object({
|
|
@@ -23274,7 +23274,7 @@ e.object({
|
|
|
23274
23274
|
" - ScreenRecordingChannel: ScreenshotChannel = 8; // deprecated"
|
|
23275
23275
|
)
|
|
23276
23276
|
});
|
|
23277
|
-
const
|
|
23277
|
+
const wi = "UnknownChannel";
|
|
23278
23278
|
e.object({
|
|
23279
23279
|
items: e.array(
|
|
23280
23280
|
e.object({
|
|
@@ -23288,7 +23288,7 @@ e.object({
|
|
|
23288
23288
|
"KnowledgebaseChannel",
|
|
23289
23289
|
"CasesChannel",
|
|
23290
23290
|
"ScreenRecordingChannel"
|
|
23291
|
-
]).default(
|
|
23291
|
+
]).default(wi),
|
|
23292
23292
|
id: e.string().optional(),
|
|
23293
23293
|
mimeType: e.string().optional(),
|
|
23294
23294
|
name: e.string().optional(),
|
|
@@ -23321,7 +23321,7 @@ e.object({
|
|
|
23321
23321
|
e.object({
|
|
23322
23322
|
agent_id: e.string()
|
|
23323
23323
|
});
|
|
23324
|
-
const
|
|
23324
|
+
const Di = "PDF", vi = "SCREENRECORDING";
|
|
23325
23325
|
e.object({
|
|
23326
23326
|
page: e.number().optional(),
|
|
23327
23327
|
size: e.number().optional(),
|
|
@@ -23338,11 +23338,11 @@ e.object({
|
|
|
23338
23338
|
"PDF",
|
|
23339
23339
|
"SCREENSHOT",
|
|
23340
23340
|
"SCREENSHARING"
|
|
23341
|
-
]).default(
|
|
23341
|
+
]).default(Di),
|
|
23342
23342
|
channel: e.enum([
|
|
23343
23343
|
"SCREENRECORDING",
|
|
23344
23344
|
"CALL"
|
|
23345
|
-
]).default(
|
|
23345
|
+
]).default(vi)
|
|
23346
23346
|
});
|
|
23347
23347
|
const Oi = "UnknownChannel";
|
|
23348
23348
|
e.object({
|
|
@@ -23507,7 +23507,7 @@ e.object({
|
|
|
23507
23507
|
"CALL"
|
|
23508
23508
|
]).default(qi)
|
|
23509
23509
|
});
|
|
23510
|
-
const
|
|
23510
|
+
const Si = "UnknownChannel";
|
|
23511
23511
|
e.object({
|
|
23512
23512
|
items: e.array(
|
|
23513
23513
|
e.object({
|
|
@@ -23521,7 +23521,7 @@ e.object({
|
|
|
23521
23521
|
"KnowledgebaseChannel",
|
|
23522
23522
|
"CasesChannel",
|
|
23523
23523
|
"ScreenRecordingChannel"
|
|
23524
|
-
]).default(
|
|
23524
|
+
]).default(Si),
|
|
23525
23525
|
id: e.string().optional(),
|
|
23526
23526
|
mimeType: e.string().optional(),
|
|
23527
23527
|
name: e.string().optional(),
|
|
@@ -23797,7 +23797,7 @@ e.object({
|
|
|
23797
23797
|
).optional(),
|
|
23798
23798
|
next: e.boolean().optional()
|
|
23799
23799
|
});
|
|
23800
|
-
const
|
|
23800
|
+
const _i = "GROUP_TYPE_UNSPECIFIED";
|
|
23801
23801
|
e.object({
|
|
23802
23802
|
page: e.number().optional().describe("Page number of result dataset records. offset = (page*size)"),
|
|
23803
23803
|
size: e.number().optional().describe("Size count of records on result page. limit = (size++)"),
|
|
@@ -23812,7 +23812,7 @@ e.object({
|
|
|
23812
23812
|
"GROUP_TYPE_UNSPECIFIED",
|
|
23813
23813
|
"STATIC",
|
|
23814
23814
|
"DYNAMIC"
|
|
23815
|
-
]).default(
|
|
23815
|
+
]).default(_i).describe(
|
|
23816
23816
|
`Filter by group type.
|
|
23817
23817
|
|
|
23818
23818
|
- GROUP_TYPE_UNSPECIFIED: Default value
|
|
@@ -23821,7 +23821,7 @@ e.object({
|
|
|
23821
23821
|
),
|
|
23822
23822
|
enabled: e.boolean().optional().describe("Filter by only enabled group")
|
|
23823
23823
|
});
|
|
23824
|
-
const
|
|
23824
|
+
const ki = "GROUP_TYPE_UNSPECIFIED";
|
|
23825
23825
|
e.object({
|
|
23826
23826
|
items: e.array(
|
|
23827
23827
|
e.object({
|
|
@@ -23869,7 +23869,7 @@ e.object({
|
|
|
23869
23869
|
"GROUP_TYPE_UNSPECIFIED",
|
|
23870
23870
|
"STATIC",
|
|
23871
23871
|
"DYNAMIC"
|
|
23872
|
-
]).default(
|
|
23872
|
+
]).default(ki).describe(
|
|
23873
23873
|
`- GROUP_TYPE_UNSPECIFIED: Default value
|
|
23874
23874
|
- STATIC: Static group
|
|
23875
23875
|
- DYNAMIC: Dynamic group`
|
|
@@ -23890,7 +23890,7 @@ e.object({
|
|
|
23890
23890
|
enabled: e.boolean().optional().describe("The enabled status of the group."),
|
|
23891
23891
|
name: e.string().describe("The name of the group.")
|
|
23892
23892
|
}).describe("Request message for creating a new group.");
|
|
23893
|
-
const
|
|
23893
|
+
const xi = "GROUP_TYPE_UNSPECIFIED";
|
|
23894
23894
|
e.object({
|
|
23895
23895
|
conditions: e.array(
|
|
23896
23896
|
e.object({
|
|
@@ -23934,7 +23934,7 @@ e.object({
|
|
|
23934
23934
|
"GROUP_TYPE_UNSPECIFIED",
|
|
23935
23935
|
"STATIC",
|
|
23936
23936
|
"DYNAMIC"
|
|
23937
|
-
]).default(
|
|
23937
|
+
]).default(xi).describe(
|
|
23938
23938
|
`- GROUP_TYPE_UNSPECIFIED: Default value
|
|
23939
23939
|
- STATIC: Static group
|
|
23940
23940
|
- DYNAMIC: Dynamic group`
|
|
@@ -25099,7 +25099,7 @@ OUTPUT purpose only.`)
|
|
|
25099
25099
|
e.object({
|
|
25100
25100
|
id: e.string().describe("The unique ID of the group to delete.")
|
|
25101
25101
|
});
|
|
25102
|
-
const
|
|
25102
|
+
const Ui = "GROUP_TYPE_UNSPECIFIED";
|
|
25103
25103
|
e.object({
|
|
25104
25104
|
conditions: e.array(
|
|
25105
25105
|
e.object({
|
|
@@ -25143,7 +25143,7 @@ e.object({
|
|
|
25143
25143
|
"GROUP_TYPE_UNSPECIFIED",
|
|
25144
25144
|
"STATIC",
|
|
25145
25145
|
"DYNAMIC"
|
|
25146
|
-
]).default(
|
|
25146
|
+
]).default(Ui).describe(
|
|
25147
25147
|
`- GROUP_TYPE_UNSPECIFIED: Default value
|
|
25148
25148
|
- STATIC: Static group
|
|
25149
25149
|
- DYNAMIC: Dynamic group`
|
|
@@ -25293,7 +25293,7 @@ e.object({
|
|
|
25293
25293
|
enabled: e.boolean().optional().describe("The new enabled status of the group."),
|
|
25294
25294
|
name: e.string().optional().describe("The new name of the group.")
|
|
25295
25295
|
});
|
|
25296
|
-
const
|
|
25296
|
+
const Pi = "GROUP_TYPE_UNSPECIFIED";
|
|
25297
25297
|
e.object({
|
|
25298
25298
|
conditions: e.array(
|
|
25299
25299
|
e.object({
|
|
@@ -25337,7 +25337,7 @@ e.object({
|
|
|
25337
25337
|
"GROUP_TYPE_UNSPECIFIED",
|
|
25338
25338
|
"STATIC",
|
|
25339
25339
|
"DYNAMIC"
|
|
25340
|
-
]).default(
|
|
25340
|
+
]).default(Pi).describe(
|
|
25341
25341
|
`- GROUP_TYPE_UNSPECIFIED: Default value
|
|
25342
25342
|
- STATIC: Static group
|
|
25343
25343
|
- DYNAMIC: Dynamic group`
|
|
@@ -25427,7 +25427,7 @@ e.object({
|
|
|
25427
25427
|
fields: e.array(e.string()).optional(),
|
|
25428
25428
|
id: e.array(e.number()).optional()
|
|
25429
25429
|
});
|
|
25430
|
-
const
|
|
25430
|
+
const Fi = "DefaultSourceType";
|
|
25431
25431
|
e.object({
|
|
25432
25432
|
items: e.array(
|
|
25433
25433
|
e.object({
|
|
@@ -25443,7 +25443,7 @@ e.object({
|
|
|
25443
25443
|
sourceType: e.enum([
|
|
25444
25444
|
"DefaultSourceType",
|
|
25445
25445
|
"Dialer"
|
|
25446
|
-
]).default(
|
|
25446
|
+
]).default(Fi)
|
|
25447
25447
|
})
|
|
25448
25448
|
).optional(),
|
|
25449
25449
|
next: e.boolean().optional()
|
|
@@ -25501,7 +25501,7 @@ e.object({
|
|
|
25501
25501
|
e.object({
|
|
25502
25502
|
id: e.number()
|
|
25503
25503
|
});
|
|
25504
|
-
const
|
|
25504
|
+
const Vi = "DefaultSourceType";
|
|
25505
25505
|
e.object({
|
|
25506
25506
|
parameters: e.looseObject({}).optional(),
|
|
25507
25507
|
description: e.string().optional(),
|
|
@@ -25515,7 +25515,7 @@ e.object({
|
|
|
25515
25515
|
sourceType: e.enum([
|
|
25516
25516
|
"DefaultSourceType",
|
|
25517
25517
|
"Dialer"
|
|
25518
|
-
]).default(
|
|
25518
|
+
]).default(Vi)
|
|
25519
25519
|
});
|
|
25520
25520
|
e.object({
|
|
25521
25521
|
id: e.number()
|
|
@@ -25526,7 +25526,7 @@ e.object({
|
|
|
25526
25526
|
fields: e.array(e.string()).optional(),
|
|
25527
25527
|
name: e.string().optional()
|
|
25528
25528
|
}).describe("Patch import template for CSV");
|
|
25529
|
-
const
|
|
25529
|
+
const Yi = "DefaultSourceType";
|
|
25530
25530
|
e.object({
|
|
25531
25531
|
parameters: e.looseObject({}).optional(),
|
|
25532
25532
|
description: e.string().optional(),
|
|
@@ -25540,7 +25540,7 @@ e.object({
|
|
|
25540
25540
|
sourceType: e.enum([
|
|
25541
25541
|
"DefaultSourceType",
|
|
25542
25542
|
"Dialer"
|
|
25543
|
-
]).default(
|
|
25543
|
+
]).default(Yi)
|
|
25544
25544
|
});
|
|
25545
25545
|
e.object({
|
|
25546
25546
|
id: e.number()
|
|
@@ -36105,7 +36105,7 @@ e.object({
|
|
|
36105
36105
|
e.object({
|
|
36106
36106
|
fields: e.array(e.string()).optional().describe("Fields to include in the response.")
|
|
36107
36107
|
});
|
|
36108
|
-
const
|
|
36108
|
+
const An = "RELATION_TYPE_UNSPECIFIED";
|
|
36109
36109
|
e.object({
|
|
36110
36110
|
relatedCase: e.object({
|
|
36111
36111
|
id: e.string().optional(),
|
|
@@ -36122,7 +36122,7 @@ e.object({
|
|
|
36122
36122
|
"IS_CHILD_OF",
|
|
36123
36123
|
"IS_PARENT_OF",
|
|
36124
36124
|
"RELATES_TO"
|
|
36125
|
-
]).default(
|
|
36125
|
+
]).default(An).describe("Relation type between the cases."),
|
|
36126
36126
|
userId: e.object({
|
|
36127
36127
|
id: e.string().optional(),
|
|
36128
36128
|
name: e.string().optional()
|
|
@@ -36130,7 +36130,7 @@ e.object({
|
|
|
36130
36130
|
"Optional creator / updater ID. Use this to explicitly set the case creator / updater instead of deriving it from the auth token."
|
|
36131
36131
|
)
|
|
36132
36132
|
}).describe("Input for creating a related case.");
|
|
36133
|
-
const
|
|
36133
|
+
const wn = "RELATION_TYPE_UNSPECIFIED";
|
|
36134
36134
|
e.object({
|
|
36135
36135
|
createdAt: e.string().optional().describe(
|
|
36136
36136
|
"Timestamp (in milliseconds) of when the relation was created."
|
|
@@ -36168,7 +36168,7 @@ e.object({
|
|
|
36168
36168
|
"IS_CHILD_OF",
|
|
36169
36169
|
"IS_PARENT_OF",
|
|
36170
36170
|
"RELATES_TO"
|
|
36171
|
-
]).default(
|
|
36171
|
+
]).default(wn).describe("Relation type between cases."),
|
|
36172
36172
|
updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
|
|
36173
36173
|
updatedBy: e.object({
|
|
36174
36174
|
id: e.string().optional(),
|
|
@@ -36182,7 +36182,7 @@ e.object({
|
|
|
36182
36182
|
primary_case_etag: e.string().describe("Etag or ID of the primary case"),
|
|
36183
36183
|
etag: e.string().describe("Identifier of the related case to delete.")
|
|
36184
36184
|
});
|
|
36185
|
-
const
|
|
36185
|
+
const Dn = "RELATION_TYPE_UNSPECIFIED";
|
|
36186
36186
|
e.object({
|
|
36187
36187
|
createdAt: e.string().optional().describe(
|
|
36188
36188
|
"Timestamp (in milliseconds) of when the relation was created."
|
|
@@ -36220,7 +36220,7 @@ e.object({
|
|
|
36220
36220
|
"IS_CHILD_OF",
|
|
36221
36221
|
"IS_PARENT_OF",
|
|
36222
36222
|
"RELATES_TO"
|
|
36223
|
-
]).default(
|
|
36223
|
+
]).default(Dn).describe("Relation type between cases."),
|
|
36224
36224
|
updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
|
|
36225
36225
|
updatedBy: e.object({
|
|
36226
36226
|
id: e.string().optional(),
|
|
@@ -36237,7 +36237,7 @@ e.object({
|
|
|
36237
36237
|
e.object({
|
|
36238
36238
|
fields: e.array(e.string()).optional().describe("Fields to return in the response.")
|
|
36239
36239
|
});
|
|
36240
|
-
const
|
|
36240
|
+
const vn = "RELATION_TYPE_UNSPECIFIED";
|
|
36241
36241
|
e.object({
|
|
36242
36242
|
createdAt: e.string().optional().describe(
|
|
36243
36243
|
"Timestamp (in milliseconds) of when the relation was created."
|
|
@@ -36275,7 +36275,7 @@ e.object({
|
|
|
36275
36275
|
"IS_CHILD_OF",
|
|
36276
36276
|
"IS_PARENT_OF",
|
|
36277
36277
|
"RELATES_TO"
|
|
36278
|
-
]).default(
|
|
36278
|
+
]).default(vn).describe("Relation type between cases."),
|
|
36279
36279
|
updatedAt: e.string().optional().describe("Timestamp (in milliseconds) of the last update."),
|
|
36280
36280
|
updatedBy: e.object({
|
|
36281
36281
|
id: e.string().optional(),
|
|
@@ -36773,7 +36773,7 @@ e.object({
|
|
|
36773
36773
|
e.object({
|
|
36774
36774
|
domainId: e.string().optional()
|
|
36775
36775
|
});
|
|
36776
|
-
const
|
|
36776
|
+
const Sn = "default";
|
|
36777
36777
|
e.object({
|
|
36778
36778
|
tags: e.array(
|
|
36779
36779
|
e.object({
|
|
@@ -36796,7 +36796,7 @@ e.object({
|
|
|
36796
36796
|
"chat",
|
|
36797
36797
|
"processing",
|
|
36798
36798
|
"service"
|
|
36799
|
-
]).default(
|
|
36799
|
+
]).default(Sn),
|
|
36800
36800
|
updatedAt: e.string().optional(),
|
|
36801
36801
|
updatedBy: e.object({
|
|
36802
36802
|
id: e.string().optional(),
|
|
@@ -36806,7 +36806,7 @@ e.object({
|
|
|
36806
36806
|
e.object({
|
|
36807
36807
|
id: e.string()
|
|
36808
36808
|
});
|
|
36809
|
-
const
|
|
36809
|
+
const _n = "default";
|
|
36810
36810
|
e.object({
|
|
36811
36811
|
tags: e.array(
|
|
36812
36812
|
e.object({
|
|
@@ -36825,9 +36825,9 @@ e.object({
|
|
|
36825
36825
|
"chat",
|
|
36826
36826
|
"processing",
|
|
36827
36827
|
"service"
|
|
36828
|
-
]).default(
|
|
36828
|
+
]).default(_n)
|
|
36829
36829
|
});
|
|
36830
|
-
const
|
|
36830
|
+
const kn = "default";
|
|
36831
36831
|
e.object({
|
|
36832
36832
|
tags: e.array(
|
|
36833
36833
|
e.object({
|
|
@@ -36850,7 +36850,7 @@ e.object({
|
|
|
36850
36850
|
"chat",
|
|
36851
36851
|
"processing",
|
|
36852
36852
|
"service"
|
|
36853
|
-
]).default(
|
|
36853
|
+
]).default(kn),
|
|
36854
36854
|
updatedAt: e.string().optional(),
|
|
36855
36855
|
updatedBy: e.object({
|
|
36856
36856
|
id: e.string().optional(),
|
|
@@ -36860,7 +36860,7 @@ e.object({
|
|
|
36860
36860
|
e.object({
|
|
36861
36861
|
id: e.string()
|
|
36862
36862
|
});
|
|
36863
|
-
const
|
|
36863
|
+
const xn = "default";
|
|
36864
36864
|
e.object({
|
|
36865
36865
|
tags: e.array(
|
|
36866
36866
|
e.object({
|
|
@@ -36878,9 +36878,9 @@ e.object({
|
|
|
36878
36878
|
"chat",
|
|
36879
36879
|
"processing",
|
|
36880
36880
|
"service"
|
|
36881
|
-
]).default(
|
|
36881
|
+
]).default(xn)
|
|
36882
36882
|
});
|
|
36883
|
-
const
|
|
36883
|
+
const Un = "default";
|
|
36884
36884
|
e.object({
|
|
36885
36885
|
tags: e.array(
|
|
36886
36886
|
e.object({
|
|
@@ -36903,7 +36903,7 @@ e.object({
|
|
|
36903
36903
|
"chat",
|
|
36904
36904
|
"processing",
|
|
36905
36905
|
"service"
|
|
36906
|
-
]).default(
|
|
36906
|
+
]).default(Un),
|
|
36907
36907
|
updatedAt: e.string().optional(),
|
|
36908
36908
|
updatedBy: e.object({
|
|
36909
36909
|
id: e.string().optional(),
|
|
@@ -38374,7 +38374,7 @@ e.object({
|
|
|
38374
38374
|
validFrom: e.string().optional(),
|
|
38375
38375
|
validTo: e.string().optional()
|
|
38376
38376
|
});
|
|
38377
|
-
const Bn = "1", Nn = "20",
|
|
38377
|
+
const Bn = "1", Nn = "20", Pn = "name:desc";
|
|
38378
38378
|
e.object({
|
|
38379
38379
|
page: e.number().default(Bn).describe(
|
|
38380
38380
|
`Page number of result dataset records. offset = (page * size)
|
|
@@ -38386,7 +38386,7 @@ Default: 25`
|
|
|
38386
38386
|
),
|
|
38387
38387
|
fields: e.array(e.string()).optional().describe(`Fields to be retrieved as a result.
|
|
38388
38388
|
Default: [] (all fields)`),
|
|
38389
|
-
sort: e.string().default(
|
|
38389
|
+
sort: e.string().default(Pn).describe(`Sort the result according to fields.
|
|
38390
38390
|
Default: "id:desc"`),
|
|
38391
38391
|
id: e.array(e.string()).optional().describe("Filter by unique IDs."),
|
|
38392
38392
|
q: e.string().optional().describe(
|
|
@@ -38417,7 +38417,7 @@ Default: "id:desc"`),
|
|
|
38417
38417
|
- MANUAL: Manual source type.`
|
|
38418
38418
|
)
|
|
38419
38419
|
});
|
|
38420
|
-
const
|
|
38420
|
+
const Fn = 500, Ln = 3, Mn = 100, zn = "TYPE_UNSPECIFIED";
|
|
38421
38421
|
e.object({
|
|
38422
38422
|
items: e.array(
|
|
38423
38423
|
e.object({
|
|
@@ -38430,7 +38430,7 @@ e.object({
|
|
|
38430
38430
|
}).describe(
|
|
38431
38431
|
"Reference to the user who originally created this source."
|
|
38432
38432
|
),
|
|
38433
|
-
description: e.string().max(
|
|
38433
|
+
description: e.string().max(Fn).optional().describe(
|
|
38434
38434
|
"An optional longer explanation of the source's purpose."
|
|
38435
38435
|
),
|
|
38436
38436
|
id: e.string().describe(
|
|
@@ -38467,10 +38467,10 @@ e.object({
|
|
|
38467
38467
|
Specific fields to include in response`
|
|
38468
38468
|
)
|
|
38469
38469
|
});
|
|
38470
|
-
const
|
|
38470
|
+
const Vn = 500, Yn = 2, Gn = 100, Hn = "TYPE_UNSPECIFIED";
|
|
38471
38471
|
e.object({
|
|
38472
38472
|
description: e.string().max(Vn).optional().describe("A short description of the source"),
|
|
38473
|
-
name: e.string().min(
|
|
38473
|
+
name: e.string().min(Yn).max(Gn).describe("The name of the source"),
|
|
38474
38474
|
type: e.enum([
|
|
38475
38475
|
"TYPE_UNSPECIFIED",
|
|
38476
38476
|
"CALL",
|
|
@@ -38479,18 +38479,18 @@ e.object({
|
|
|
38479
38479
|
"EMAIL",
|
|
38480
38480
|
"API",
|
|
38481
38481
|
"MANUAL"
|
|
38482
|
-
]).default(
|
|
38483
|
-
}).
|
|
38484
|
-
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";
|
|
38485
38485
|
e.object({
|
|
38486
38486
|
createdAt: e.string().describe("Unix timestamp representing when the source was created."),
|
|
38487
38487
|
createdBy: e.object({
|
|
38488
38488
|
id: e.string().optional(),
|
|
38489
38489
|
name: e.string().optional()
|
|
38490
38490
|
}).describe("Reference to the user who originally created this source."),
|
|
38491
|
-
description: e.string().max(
|
|
38491
|
+
description: e.string().max(Kn).optional().describe("An optional longer explanation of the source's purpose."),
|
|
38492
38492
|
id: e.string().describe("Unique identifier for the source, generated automatically."),
|
|
38493
|
-
name: e.string().min(
|
|
38493
|
+
name: e.string().min(Qn).max(Wn).describe("A unique, descriptive name for the source."),
|
|
38494
38494
|
type: e.enum([
|
|
38495
38495
|
"TYPE_UNSPECIFIED",
|
|
38496
38496
|
"CALL",
|
|
@@ -38499,7 +38499,7 @@ e.object({
|
|
|
38499
38499
|
"EMAIL",
|
|
38500
38500
|
"API",
|
|
38501
38501
|
"MANUAL"
|
|
38502
|
-
]).default(
|
|
38502
|
+
]).default(Xn).describe("The type of data source represented by this entry."),
|
|
38503
38503
|
updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
|
|
38504
38504
|
updatedBy: e.object({
|
|
38505
38505
|
id: e.string().optional(),
|
|
@@ -38511,16 +38511,16 @@ e.object({
|
|
|
38511
38511
|
e.object({
|
|
38512
38512
|
id: e.string().describe("The unique ID of the source to delete.")
|
|
38513
38513
|
});
|
|
38514
|
-
const
|
|
38514
|
+
const Jn = 500, $n = 3, Zn = 100, ea = "TYPE_UNSPECIFIED";
|
|
38515
38515
|
e.object({
|
|
38516
38516
|
createdAt: e.string().describe("Unix timestamp representing when the source was created."),
|
|
38517
38517
|
createdBy: e.object({
|
|
38518
38518
|
id: e.string().optional(),
|
|
38519
38519
|
name: e.string().optional()
|
|
38520
38520
|
}).describe("Reference to the user who originally created this source."),
|
|
38521
|
-
description: e.string().max(
|
|
38521
|
+
description: e.string().max(Jn).optional().describe("An optional longer explanation of the source's purpose."),
|
|
38522
38522
|
id: e.string().describe("Unique identifier for the source, generated automatically."),
|
|
38523
|
-
name: e.string().min(
|
|
38523
|
+
name: e.string().min($n).max(Zn).describe("A unique, descriptive name for the source."),
|
|
38524
38524
|
type: e.enum([
|
|
38525
38525
|
"TYPE_UNSPECIFIED",
|
|
38526
38526
|
"CALL",
|
|
@@ -38529,7 +38529,7 @@ e.object({
|
|
|
38529
38529
|
"EMAIL",
|
|
38530
38530
|
"API",
|
|
38531
38531
|
"MANUAL"
|
|
38532
|
-
]).default(
|
|
38532
|
+
]).default(ea).describe("The type of data source represented by this entry."),
|
|
38533
38533
|
updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
|
|
38534
38534
|
updatedBy: e.object({
|
|
38535
38535
|
id: e.string().optional(),
|
|
@@ -38544,7 +38544,7 @@ e.object({
|
|
|
38544
38544
|
e.object({
|
|
38545
38545
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result.")
|
|
38546
38546
|
});
|
|
38547
|
-
const
|
|
38547
|
+
const ta = 500, oa = 3, ia = 100, na = "TYPE_UNSPECIFIED";
|
|
38548
38548
|
e.object({
|
|
38549
38549
|
source: e.object({
|
|
38550
38550
|
createdAt: e.string().describe("Unix timestamp representing when the source was created."),
|
|
@@ -38554,11 +38554,11 @@ e.object({
|
|
|
38554
38554
|
}).describe(
|
|
38555
38555
|
"Reference to the user who originally created this source."
|
|
38556
38556
|
),
|
|
38557
|
-
description: e.string().max(
|
|
38557
|
+
description: e.string().max(ta).optional().describe("An optional longer explanation of the source's purpose."),
|
|
38558
38558
|
id: e.string().describe(
|
|
38559
38559
|
"Unique identifier for the source, generated automatically."
|
|
38560
38560
|
),
|
|
38561
|
-
name: e.string().min(
|
|
38561
|
+
name: e.string().min(oa).max(ia).describe("A unique, descriptive name for the source."),
|
|
38562
38562
|
type: e.enum([
|
|
38563
38563
|
"TYPE_UNSPECIFIED",
|
|
38564
38564
|
"CALL",
|
|
@@ -38567,7 +38567,7 @@ e.object({
|
|
|
38567
38567
|
"EMAIL",
|
|
38568
38568
|
"API",
|
|
38569
38569
|
"MANUAL"
|
|
38570
|
-
]).default(
|
|
38570
|
+
]).default(na).describe("The type of data source represented by this entry."),
|
|
38571
38571
|
updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
|
|
38572
38572
|
updatedBy: e.object({
|
|
38573
38573
|
id: e.string().optional(),
|
|
@@ -38583,10 +38583,10 @@ e.object({
|
|
|
38583
38583
|
e.object({
|
|
38584
38584
|
fields: e.array(e.string()).optional()
|
|
38585
38585
|
});
|
|
38586
|
-
const
|
|
38586
|
+
const aa = 500, ra = 2, sa = 100, la = "TYPE_UNSPECIFIED";
|
|
38587
38587
|
e.object({
|
|
38588
|
-
description: e.string().max(
|
|
38589
|
-
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"),
|
|
38590
38590
|
type: e.enum([
|
|
38591
38591
|
"TYPE_UNSPECIFIED",
|
|
38592
38592
|
"CALL",
|
|
@@ -38595,18 +38595,18 @@ e.object({
|
|
|
38595
38595
|
"EMAIL",
|
|
38596
38596
|
"API",
|
|
38597
38597
|
"MANUAL"
|
|
38598
|
-
]).default(
|
|
38599
|
-
}).
|
|
38600
|
-
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";
|
|
38601
38601
|
e.object({
|
|
38602
38602
|
createdAt: e.string().describe("Unix timestamp representing when the source was created."),
|
|
38603
38603
|
createdBy: e.object({
|
|
38604
38604
|
id: e.string().optional(),
|
|
38605
38605
|
name: e.string().optional()
|
|
38606
38606
|
}).describe("Reference to the user who originally created this source."),
|
|
38607
|
-
description: e.string().max(
|
|
38607
|
+
description: e.string().max(pa).optional().describe("An optional longer explanation of the source's purpose."),
|
|
38608
38608
|
id: e.string().describe("Unique identifier for the source, generated automatically."),
|
|
38609
|
-
name: e.string().min(
|
|
38609
|
+
name: e.string().min(ca).max(da).describe("A unique, descriptive name for the source."),
|
|
38610
38610
|
type: e.enum([
|
|
38611
38611
|
"TYPE_UNSPECIFIED",
|
|
38612
38612
|
"CALL",
|
|
@@ -38615,7 +38615,7 @@ e.object({
|
|
|
38615
38615
|
"EMAIL",
|
|
38616
38616
|
"API",
|
|
38617
38617
|
"MANUAL"
|
|
38618
|
-
]).default(
|
|
38618
|
+
]).default(ba).describe("The type of data source represented by this entry."),
|
|
38619
38619
|
updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
|
|
38620
38620
|
updatedBy: e.object({
|
|
38621
38621
|
id: e.string().optional(),
|
|
@@ -38630,10 +38630,10 @@ e.object({
|
|
|
38630
38630
|
e.object({
|
|
38631
38631
|
fields: e.array(e.string()).optional()
|
|
38632
38632
|
});
|
|
38633
|
-
const
|
|
38633
|
+
const ga = 500, ua = 2, ma = 100, fa = "TYPE_UNSPECIFIED";
|
|
38634
38634
|
e.object({
|
|
38635
|
-
description: e.string().max(
|
|
38636
|
-
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"),
|
|
38637
38637
|
type: e.enum([
|
|
38638
38638
|
"TYPE_UNSPECIFIED",
|
|
38639
38639
|
"CALL",
|
|
@@ -38642,18 +38642,18 @@ e.object({
|
|
|
38642
38642
|
"EMAIL",
|
|
38643
38643
|
"API",
|
|
38644
38644
|
"MANUAL"
|
|
38645
|
-
]).default(
|
|
38646
|
-
}).
|
|
38647
|
-
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";
|
|
38648
38648
|
e.object({
|
|
38649
38649
|
createdAt: e.string().describe("Unix timestamp representing when the source was created."),
|
|
38650
38650
|
createdBy: e.object({
|
|
38651
38651
|
id: e.string().optional(),
|
|
38652
38652
|
name: e.string().optional()
|
|
38653
38653
|
}).describe("Reference to the user who originally created this source."),
|
|
38654
|
-
description: e.string().max(
|
|
38654
|
+
description: e.string().max(ha).optional().describe("An optional longer explanation of the source's purpose."),
|
|
38655
38655
|
id: e.string().describe("Unique identifier for the source, generated automatically."),
|
|
38656
|
-
name: e.string().min(
|
|
38656
|
+
name: e.string().min(ya).max(ja).describe("A unique, descriptive name for the source."),
|
|
38657
38657
|
type: e.enum([
|
|
38658
38658
|
"TYPE_UNSPECIFIED",
|
|
38659
38659
|
"CALL",
|
|
@@ -38662,7 +38662,7 @@ e.object({
|
|
|
38662
38662
|
"EMAIL",
|
|
38663
38663
|
"API",
|
|
38664
38664
|
"MANUAL"
|
|
38665
|
-
]).default(
|
|
38665
|
+
]).default(Ia).describe("The type of data source represented by this entry."),
|
|
38666
38666
|
updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
|
|
38667
38667
|
updatedBy: e.object({
|
|
38668
38668
|
id: e.string().optional(),
|
|
@@ -38671,7 +38671,7 @@ e.object({
|
|
|
38671
38671
|
"Reference to the user who most recently modified this source."
|
|
38672
38672
|
)
|
|
38673
38673
|
}).describe("Represents a data source in the contact management system.");
|
|
38674
|
-
const
|
|
38674
|
+
const Ta = "id", Ra = /^[+|-|!]?\w+$/, Aa = "*";
|
|
38675
38675
|
e.object({
|
|
38676
38676
|
page: e.number().optional(),
|
|
38677
38677
|
size: e.number().optional().describe(
|
|
@@ -38689,7 +38689,7 @@ const
|
|
|
38689
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..."
|
|
38690
38690
|
),
|
|
38691
38691
|
sort: e.array(
|
|
38692
|
-
e.string().regex(
|
|
38692
|
+
e.string().regex(Ra).default(Ta)
|
|
38693
38693
|
).optional().describe(
|
|
38694
38694
|
`Sort result dataset of records by fields.
|
|
38695
38695
|
\`\`\`
|
|
@@ -38706,7 +38706,7 @@ Fields available
|
|
|
38706
38706
|
- \`domain\`{name}
|
|
38707
38707
|
- \`state\``
|
|
38708
38708
|
),
|
|
38709
|
-
fields: e.array(e.string().default(
|
|
38709
|
+
fields: e.array(e.string().default(Aa)).optional(),
|
|
38710
38710
|
id: e.array(e.string()).optional().describe("Records with unique IDentifier(s).\nAccept: `id` -or- `etag`.")
|
|
38711
38711
|
});
|
|
38712
38712
|
e.object({
|
|
@@ -38753,7 +38753,7 @@ Version of the latest update. Numeric sequence.`
|
|
|
38753
38753
|
e.object({
|
|
38754
38754
|
fields: e.array(e.string()).optional().describe("Source Fields to return into result.")
|
|
38755
38755
|
});
|
|
38756
|
-
const
|
|
38756
|
+
const wa = e.object({
|
|
38757
38757
|
etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
38758
38758
|
homePage: e.string().optional().describe(
|
|
38759
38759
|
`BIO. Short description about the space.
|
|
@@ -38762,7 +38762,7 @@ OPTIONAL. Multi-lined text.`
|
|
|
38762
38762
|
name: e.string().optional().describe("Represents the name of the knowledge base space."),
|
|
38763
38763
|
state: e.boolean().optional().describe("The state of the space.")
|
|
38764
38764
|
}).describe("The Space principal input.");
|
|
38765
|
-
e.array(
|
|
38765
|
+
e.array(wa);
|
|
38766
38766
|
e.object({
|
|
38767
38767
|
createdAt: e.string().optional().describe("The timestamp when the space was created (in Unix time)."),
|
|
38768
38768
|
createdBy: e.object({
|
|
@@ -39295,7 +39295,7 @@ e.object({
|
|
|
39295
39295
|
])
|
|
39296
39296
|
).optional().describe("Filter by setting names")
|
|
39297
39297
|
});
|
|
39298
|
-
const
|
|
39298
|
+
const Da = "empty_system_settings_name";
|
|
39299
39299
|
e.object({
|
|
39300
39300
|
items: e.array(
|
|
39301
39301
|
e.object({
|
|
@@ -39336,12 +39336,12 @@ e.object({
|
|
|
39336
39336
|
"password_warning_days",
|
|
39337
39337
|
"default_password",
|
|
39338
39338
|
"expand_contact_tabs"
|
|
39339
|
-
]).default(
|
|
39339
|
+
]).default(Da)
|
|
39340
39340
|
})
|
|
39341
39341
|
).optional(),
|
|
39342
39342
|
next: e.boolean().optional()
|
|
39343
39343
|
});
|
|
39344
|
-
const
|
|
39344
|
+
const va = "empty_system_settings_name";
|
|
39345
39345
|
e.object({
|
|
39346
39346
|
name: e.enum([
|
|
39347
39347
|
"empty_system_settings_name",
|
|
@@ -39379,9 +39379,9 @@ e.object({
|
|
|
39379
39379
|
"password_warning_days",
|
|
39380
39380
|
"default_password",
|
|
39381
39381
|
"expand_contact_tabs"
|
|
39382
|
-
]).default(
|
|
39382
|
+
]).default(va)
|
|
39383
39383
|
});
|
|
39384
|
-
const
|
|
39384
|
+
const Oa = "empty_system_settings_name";
|
|
39385
39385
|
e.object({
|
|
39386
39386
|
id: e.number().optional(),
|
|
39387
39387
|
name: e.enum([
|
|
@@ -39420,7 +39420,7 @@ e.object({
|
|
|
39420
39420
|
"password_warning_days",
|
|
39421
39421
|
"default_password",
|
|
39422
39422
|
"expand_contact_tabs"
|
|
39423
|
-
]).default(
|
|
39423
|
+
]).default(Oa)
|
|
39424
39424
|
});
|
|
39425
39425
|
e.object({
|
|
39426
39426
|
page: e.number().optional(),
|
|
@@ -39440,7 +39440,7 @@ e.object({
|
|
|
39440
39440
|
e.object({
|
|
39441
39441
|
id: e.number()
|
|
39442
39442
|
});
|
|
39443
|
-
const
|
|
39443
|
+
const Ea = "empty_system_settings_name";
|
|
39444
39444
|
e.object({
|
|
39445
39445
|
id: e.number().optional(),
|
|
39446
39446
|
name: e.enum([
|
|
@@ -39479,12 +39479,12 @@ e.object({
|
|
|
39479
39479
|
"password_warning_days",
|
|
39480
39480
|
"default_password",
|
|
39481
39481
|
"expand_contact_tabs"
|
|
39482
|
-
]).default(
|
|
39482
|
+
]).default(Ea)
|
|
39483
39483
|
});
|
|
39484
39484
|
e.object({
|
|
39485
39485
|
id: e.number()
|
|
39486
39486
|
});
|
|
39487
|
-
const
|
|
39487
|
+
const Ca = "empty_system_settings_name";
|
|
39488
39488
|
e.object({
|
|
39489
39489
|
id: e.number().optional(),
|
|
39490
39490
|
name: e.enum([
|
|
@@ -39523,7 +39523,7 @@ e.object({
|
|
|
39523
39523
|
"password_warning_days",
|
|
39524
39524
|
"default_password",
|
|
39525
39525
|
"expand_contact_tabs"
|
|
39526
|
-
]).default(
|
|
39526
|
+
]).default(Ca)
|
|
39527
39527
|
});
|
|
39528
39528
|
e.object({
|
|
39529
39529
|
id: e.number()
|
|
@@ -39531,7 +39531,7 @@ e.object({
|
|
|
39531
39531
|
e.object({
|
|
39532
39532
|
fields: e.array(e.string()).optional()
|
|
39533
39533
|
});
|
|
39534
|
-
const
|
|
39534
|
+
const qa = "empty_system_settings_name";
|
|
39535
39535
|
e.object({
|
|
39536
39536
|
id: e.number().optional(),
|
|
39537
39537
|
name: e.enum([
|
|
@@ -39570,13 +39570,13 @@ e.object({
|
|
|
39570
39570
|
"password_warning_days",
|
|
39571
39571
|
"default_password",
|
|
39572
39572
|
"expand_contact_tabs"
|
|
39573
|
-
]).default(
|
|
39573
|
+
]).default(qa)
|
|
39574
39574
|
});
|
|
39575
39575
|
e.object({
|
|
39576
39576
|
id: e.number()
|
|
39577
39577
|
});
|
|
39578
39578
|
e.looseObject({});
|
|
39579
|
-
const
|
|
39579
|
+
const Sa = "empty_system_settings_name";
|
|
39580
39580
|
e.object({
|
|
39581
39581
|
id: e.number().optional(),
|
|
39582
39582
|
name: e.enum([
|
|
@@ -39615,7 +39615,7 @@ e.object({
|
|
|
39615
39615
|
"password_warning_days",
|
|
39616
39616
|
"default_password",
|
|
39617
39617
|
"expand_contact_tabs"
|
|
39618
|
-
]).default(
|
|
39618
|
+
]).default(Sa)
|
|
39619
39619
|
});
|
|
39620
39620
|
e.object({
|
|
39621
39621
|
page: e.number().optional(),
|
|
@@ -39648,7 +39648,7 @@ e.object({
|
|
|
39648
39648
|
])
|
|
39649
39649
|
).optional()
|
|
39650
39650
|
});
|
|
39651
|
-
const
|
|
39651
|
+
const _a = "teamHookEventUndefined";
|
|
39652
39652
|
e.object({
|
|
39653
39653
|
items: e.array(
|
|
39654
39654
|
e.object({
|
|
@@ -39656,7 +39656,7 @@ e.object({
|
|
|
39656
39656
|
event: e.enum([
|
|
39657
39657
|
"teamHookEventUndefined",
|
|
39658
39658
|
"agent_status"
|
|
39659
|
-
]).default(
|
|
39659
|
+
]).default(_a),
|
|
39660
39660
|
id: e.number().optional(),
|
|
39661
39661
|
properties: e.array(e.string()).optional(),
|
|
39662
39662
|
schema: e.object({
|
|
@@ -39670,26 +39670,26 @@ e.object({
|
|
|
39670
39670
|
e.object({
|
|
39671
39671
|
team_id: e.string()
|
|
39672
39672
|
});
|
|
39673
|
-
const
|
|
39673
|
+
const ka = "teamHookEventUndefined";
|
|
39674
39674
|
e.object({
|
|
39675
39675
|
enabled: e.boolean().optional(),
|
|
39676
39676
|
event: e.enum([
|
|
39677
39677
|
"teamHookEventUndefined",
|
|
39678
39678
|
"agent_status"
|
|
39679
|
-
]).default(
|
|
39679
|
+
]).default(ka),
|
|
39680
39680
|
properties: e.array(e.string()).optional(),
|
|
39681
39681
|
schema: e.object({
|
|
39682
39682
|
id: e.string().optional(),
|
|
39683
39683
|
name: e.string().optional()
|
|
39684
39684
|
}).optional()
|
|
39685
39685
|
});
|
|
39686
|
-
const
|
|
39686
|
+
const xa = "teamHookEventUndefined";
|
|
39687
39687
|
e.object({
|
|
39688
39688
|
enabled: e.boolean().optional(),
|
|
39689
39689
|
event: e.enum([
|
|
39690
39690
|
"teamHookEventUndefined",
|
|
39691
39691
|
"agent_status"
|
|
39692
|
-
]).default(
|
|
39692
|
+
]).default(xa),
|
|
39693
39693
|
id: e.number().optional(),
|
|
39694
39694
|
properties: e.array(e.string()).optional(),
|
|
39695
39695
|
schema: e.object({
|
|
@@ -39701,13 +39701,13 @@ e.object({
|
|
|
39701
39701
|
team_id: e.string(),
|
|
39702
39702
|
id: e.number()
|
|
39703
39703
|
});
|
|
39704
|
-
const
|
|
39704
|
+
const Ua = "teamHookEventUndefined";
|
|
39705
39705
|
e.object({
|
|
39706
39706
|
enabled: e.boolean().optional(),
|
|
39707
39707
|
event: e.enum([
|
|
39708
39708
|
"teamHookEventUndefined",
|
|
39709
39709
|
"agent_status"
|
|
39710
|
-
]).default(
|
|
39710
|
+
]).default(Ua),
|
|
39711
39711
|
id: e.number().optional(),
|
|
39712
39712
|
properties: e.array(e.string()).optional(),
|
|
39713
39713
|
schema: e.object({
|
|
@@ -39719,13 +39719,13 @@ e.object({
|
|
|
39719
39719
|
team_id: e.string(),
|
|
39720
39720
|
id: e.number()
|
|
39721
39721
|
});
|
|
39722
|
-
const
|
|
39722
|
+
const Ba = "teamHookEventUndefined";
|
|
39723
39723
|
e.object({
|
|
39724
39724
|
enabled: e.boolean().optional(),
|
|
39725
39725
|
event: e.enum([
|
|
39726
39726
|
"teamHookEventUndefined",
|
|
39727
39727
|
"agent_status"
|
|
39728
|
-
]).default(
|
|
39728
|
+
]).default(Ba),
|
|
39729
39729
|
id: e.number().optional(),
|
|
39730
39730
|
properties: e.array(e.string()).optional(),
|
|
39731
39731
|
schema: e.object({
|
|
@@ -39737,13 +39737,13 @@ e.object({
|
|
|
39737
39737
|
team_id: e.string(),
|
|
39738
39738
|
id: e.number()
|
|
39739
39739
|
});
|
|
39740
|
-
const
|
|
39740
|
+
const Na = "teamHookEventUndefined";
|
|
39741
39741
|
e.object({
|
|
39742
39742
|
enabled: e.boolean().optional(),
|
|
39743
39743
|
event: e.enum([
|
|
39744
39744
|
"teamHookEventUndefined",
|
|
39745
39745
|
"agent_status"
|
|
39746
|
-
]).default(
|
|
39746
|
+
]).default(Na),
|
|
39747
39747
|
fields: e.array(e.string()).optional(),
|
|
39748
39748
|
properties: e.array(e.string()).optional(),
|
|
39749
39749
|
schema: e.object({
|
|
@@ -39751,13 +39751,13 @@ e.object({
|
|
|
39751
39751
|
name: e.string().optional()
|
|
39752
39752
|
}).optional()
|
|
39753
39753
|
});
|
|
39754
|
-
const
|
|
39754
|
+
const Pa = "teamHookEventUndefined";
|
|
39755
39755
|
e.object({
|
|
39756
39756
|
enabled: e.boolean().optional(),
|
|
39757
39757
|
event: e.enum([
|
|
39758
39758
|
"teamHookEventUndefined",
|
|
39759
39759
|
"agent_status"
|
|
39760
|
-
]).default(
|
|
39760
|
+
]).default(Pa),
|
|
39761
39761
|
id: e.number().optional(),
|
|
39762
39762
|
properties: e.array(e.string()).optional(),
|
|
39763
39763
|
schema: e.object({
|
|
@@ -39769,26 +39769,26 @@ e.object({
|
|
|
39769
39769
|
team_id: e.string(),
|
|
39770
39770
|
id: e.number()
|
|
39771
39771
|
});
|
|
39772
|
-
const
|
|
39772
|
+
const Fa = "teamHookEventUndefined";
|
|
39773
39773
|
e.object({
|
|
39774
39774
|
enabled: e.boolean().optional(),
|
|
39775
39775
|
event: e.enum([
|
|
39776
39776
|
"teamHookEventUndefined",
|
|
39777
39777
|
"agent_status"
|
|
39778
|
-
]).default(
|
|
39778
|
+
]).default(Fa),
|
|
39779
39779
|
properties: e.array(e.string()).optional(),
|
|
39780
39780
|
schema: e.object({
|
|
39781
39781
|
id: e.string().optional(),
|
|
39782
39782
|
name: e.string().optional()
|
|
39783
39783
|
}).optional()
|
|
39784
39784
|
});
|
|
39785
|
-
const
|
|
39785
|
+
const La = "teamHookEventUndefined";
|
|
39786
39786
|
e.object({
|
|
39787
39787
|
enabled: e.boolean().optional(),
|
|
39788
39788
|
event: e.enum([
|
|
39789
39789
|
"teamHookEventUndefined",
|
|
39790
39790
|
"agent_status"
|
|
39791
|
-
]).default(
|
|
39791
|
+
]).default(La),
|
|
39792
39792
|
id: e.number().optional(),
|
|
39793
39793
|
properties: e.array(e.string()).optional(),
|
|
39794
39794
|
schema: e.object({
|
|
@@ -39976,7 +39976,7 @@ e.object({
|
|
|
39976
39976
|
])
|
|
39977
39977
|
).optional()
|
|
39978
39978
|
});
|
|
39979
|
-
const
|
|
39979
|
+
const Ma = "chat";
|
|
39980
39980
|
e.object({
|
|
39981
39981
|
days: e.array(
|
|
39982
39982
|
e.object({
|
|
@@ -40138,7 +40138,7 @@ Simplified search filter to uniquely identify related object.`
|
|
|
40138
40138
|
"call",
|
|
40139
40139
|
"email"
|
|
40140
40140
|
]).default(
|
|
40141
|
-
|
|
40141
|
+
Ma
|
|
40142
40142
|
)
|
|
40143
40143
|
})
|
|
40144
40144
|
).optional()
|
|
@@ -40268,7 +40268,7 @@ e.object({
|
|
|
40268
40268
|
e.object({
|
|
40269
40269
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result.")
|
|
40270
40270
|
});
|
|
40271
|
-
const
|
|
40271
|
+
const za = e.object({
|
|
40272
40272
|
etag: e.string().describe("Unique ID of the latest version of an existing resource."),
|
|
40273
40273
|
primary: e.boolean().optional().describe(
|
|
40274
40274
|
"Indicates whether this association must be default among others."
|
|
@@ -40279,7 +40279,7 @@ const Qa = e.object({
|
|
|
40279
40279
|
type: e.string().optional().describe("Reference Object well-known type.")
|
|
40280
40280
|
}).optional().describe("Timezone dictionary reference value associated.")
|
|
40281
40281
|
}).describe("An input of the Contact's timezones.");
|
|
40282
|
-
e.array(
|
|
40282
|
+
e.array(za);
|
|
40283
40283
|
e.object({
|
|
40284
40284
|
data: e.array(
|
|
40285
40285
|
e.object({
|
|
@@ -40328,7 +40328,7 @@ e.object({
|
|
|
40328
40328
|
e.object({
|
|
40329
40329
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
|
|
40330
40330
|
});
|
|
40331
|
-
const
|
|
40331
|
+
const Va = e.object({
|
|
40332
40332
|
etag: e.string().describe("Unique ID of the latest version of an existing resource."),
|
|
40333
40333
|
primary: e.boolean().optional().describe(
|
|
40334
40334
|
"Indicates whether this association must be default among others."
|
|
@@ -40339,7 +40339,7 @@ const Wa = e.object({
|
|
|
40339
40339
|
type: e.string().optional().describe("Reference Object well-known type.")
|
|
40340
40340
|
}).optional().describe("Timezone dictionary reference value associated.")
|
|
40341
40341
|
}).describe("An input of the Contact's timezones.");
|
|
40342
|
-
e.array(
|
|
40342
|
+
e.array(Va);
|
|
40343
40343
|
e.object({
|
|
40344
40344
|
data: e.array(
|
|
40345
40345
|
e.object({
|
|
@@ -40589,7 +40589,7 @@ e.object({
|
|
|
40589
40589
|
id: e.array(e.number()).optional(),
|
|
40590
40590
|
schemaId: e.array(e.number()).optional()
|
|
40591
40591
|
});
|
|
40592
|
-
const
|
|
40592
|
+
const Ya = "empty_trigger_event", Ga = "empty_trigger_object", Ha = "default_trigger_type";
|
|
40593
40593
|
e.object({
|
|
40594
40594
|
items: e.array(
|
|
40595
40595
|
e.object({
|
|
@@ -40601,7 +40601,7 @@ e.object({
|
|
|
40601
40601
|
"update",
|
|
40602
40602
|
"remove",
|
|
40603
40603
|
"resolution_time"
|
|
40604
|
-
]).default(
|
|
40604
|
+
]).default(Ya),
|
|
40605
40605
|
expression: e.string().optional(),
|
|
40606
40606
|
id: e.number().optional(),
|
|
40607
40607
|
name: e.string().optional(),
|
|
@@ -40612,7 +40612,7 @@ e.object({
|
|
|
40612
40612
|
"case_comments",
|
|
40613
40613
|
"case_links",
|
|
40614
40614
|
"related_cases"
|
|
40615
|
-
]).default(
|
|
40615
|
+
]).default(Ga),
|
|
40616
40616
|
schema: e.object({
|
|
40617
40617
|
id: e.string().optional(),
|
|
40618
40618
|
name: e.string().optional()
|
|
@@ -40626,13 +40626,13 @@ e.object({
|
|
|
40626
40626
|
"default_trigger_type",
|
|
40627
40627
|
"cron",
|
|
40628
40628
|
"event"
|
|
40629
|
-
]).default(
|
|
40629
|
+
]).default(Ha),
|
|
40630
40630
|
variables: e.record(e.string(), e.string()).optional()
|
|
40631
40631
|
})
|
|
40632
40632
|
).optional(),
|
|
40633
40633
|
next: e.boolean().optional()
|
|
40634
40634
|
});
|
|
40635
|
-
const
|
|
40635
|
+
const Ka = "empty_trigger_event", Qa = "empty_trigger_object", Wa = "default_trigger_type";
|
|
40636
40636
|
e.object({
|
|
40637
40637
|
description: e.string().optional(),
|
|
40638
40638
|
enabled: e.boolean().optional(),
|
|
@@ -40642,7 +40642,7 @@ e.object({
|
|
|
40642
40642
|
"update",
|
|
40643
40643
|
"remove",
|
|
40644
40644
|
"resolution_time"
|
|
40645
|
-
]).default(
|
|
40645
|
+
]).default(Ka),
|
|
40646
40646
|
expression: e.string().optional(),
|
|
40647
40647
|
name: e.string().optional(),
|
|
40648
40648
|
object: e.enum([
|
|
@@ -40652,7 +40652,7 @@ e.object({
|
|
|
40652
40652
|
"case_comments",
|
|
40653
40653
|
"case_links",
|
|
40654
40654
|
"related_cases"
|
|
40655
|
-
]).default(
|
|
40655
|
+
]).default(Qa),
|
|
40656
40656
|
schema: e.object({
|
|
40657
40657
|
id: e.string().optional(),
|
|
40658
40658
|
name: e.string().optional()
|
|
@@ -40666,10 +40666,10 @@ e.object({
|
|
|
40666
40666
|
"default_trigger_type",
|
|
40667
40667
|
"cron",
|
|
40668
40668
|
"event"
|
|
40669
|
-
]).default(
|
|
40669
|
+
]).default(Wa),
|
|
40670
40670
|
variables: e.record(e.string(), e.string()).optional()
|
|
40671
40671
|
});
|
|
40672
|
-
const
|
|
40672
|
+
const Xa = "empty_trigger_event", Ja = "empty_trigger_object", $a = "default_trigger_type";
|
|
40673
40673
|
e.object({
|
|
40674
40674
|
description: e.string().optional(),
|
|
40675
40675
|
enabled: e.boolean().optional(),
|
|
@@ -40679,7 +40679,7 @@ e.object({
|
|
|
40679
40679
|
"update",
|
|
40680
40680
|
"remove",
|
|
40681
40681
|
"resolution_time"
|
|
40682
|
-
]).default(
|
|
40682
|
+
]).default(Xa),
|
|
40683
40683
|
expression: e.string().optional(),
|
|
40684
40684
|
id: e.number().optional(),
|
|
40685
40685
|
name: e.string().optional(),
|
|
@@ -40690,7 +40690,7 @@ e.object({
|
|
|
40690
40690
|
"case_comments",
|
|
40691
40691
|
"case_links",
|
|
40692
40692
|
"related_cases"
|
|
40693
|
-
]).default(
|
|
40693
|
+
]).default(Ja),
|
|
40694
40694
|
schema: e.object({
|
|
40695
40695
|
id: e.string().optional(),
|
|
40696
40696
|
name: e.string().optional()
|
|
@@ -40704,13 +40704,13 @@ e.object({
|
|
|
40704
40704
|
"default_trigger_type",
|
|
40705
40705
|
"cron",
|
|
40706
40706
|
"event"
|
|
40707
|
-
]).default(
|
|
40707
|
+
]).default($a),
|
|
40708
40708
|
variables: e.record(e.string(), e.string()).optional()
|
|
40709
40709
|
});
|
|
40710
40710
|
e.object({
|
|
40711
40711
|
id: e.number()
|
|
40712
40712
|
});
|
|
40713
|
-
const
|
|
40713
|
+
const Za = "empty_trigger_event", er = "empty_trigger_object", tr = "default_trigger_type";
|
|
40714
40714
|
e.object({
|
|
40715
40715
|
description: e.string().optional(),
|
|
40716
40716
|
enabled: e.boolean().optional(),
|
|
@@ -40720,7 +40720,7 @@ e.object({
|
|
|
40720
40720
|
"update",
|
|
40721
40721
|
"remove",
|
|
40722
40722
|
"resolution_time"
|
|
40723
|
-
]).default(
|
|
40723
|
+
]).default(Za),
|
|
40724
40724
|
expression: e.string().optional(),
|
|
40725
40725
|
id: e.number().optional(),
|
|
40726
40726
|
name: e.string().optional(),
|
|
@@ -40731,7 +40731,7 @@ e.object({
|
|
|
40731
40731
|
"case_comments",
|
|
40732
40732
|
"case_links",
|
|
40733
40733
|
"related_cases"
|
|
40734
|
-
]).default(
|
|
40734
|
+
]).default(er),
|
|
40735
40735
|
schema: e.object({
|
|
40736
40736
|
id: e.string().optional(),
|
|
40737
40737
|
name: e.string().optional()
|
|
@@ -40745,13 +40745,13 @@ e.object({
|
|
|
40745
40745
|
"default_trigger_type",
|
|
40746
40746
|
"cron",
|
|
40747
40747
|
"event"
|
|
40748
|
-
]).default(
|
|
40748
|
+
]).default(tr),
|
|
40749
40749
|
variables: e.record(e.string(), e.string()).optional()
|
|
40750
40750
|
});
|
|
40751
40751
|
e.object({
|
|
40752
40752
|
id: e.number()
|
|
40753
40753
|
});
|
|
40754
|
-
const
|
|
40754
|
+
const or = "empty_trigger_event", ir = "empty_trigger_object", nr = "default_trigger_type";
|
|
40755
40755
|
e.object({
|
|
40756
40756
|
description: e.string().optional(),
|
|
40757
40757
|
enabled: e.boolean().optional(),
|
|
@@ -40761,7 +40761,7 @@ e.object({
|
|
|
40761
40761
|
"update",
|
|
40762
40762
|
"remove",
|
|
40763
40763
|
"resolution_time"
|
|
40764
|
-
]).default(
|
|
40764
|
+
]).default(or),
|
|
40765
40765
|
expression: e.string().optional(),
|
|
40766
40766
|
id: e.number().optional(),
|
|
40767
40767
|
name: e.string().optional(),
|
|
@@ -40772,7 +40772,7 @@ e.object({
|
|
|
40772
40772
|
"case_comments",
|
|
40773
40773
|
"case_links",
|
|
40774
40774
|
"related_cases"
|
|
40775
|
-
]).default(
|
|
40775
|
+
]).default(ir),
|
|
40776
40776
|
schema: e.object({
|
|
40777
40777
|
id: e.string().optional(),
|
|
40778
40778
|
name: e.string().optional()
|
|
@@ -40786,13 +40786,13 @@ e.object({
|
|
|
40786
40786
|
"default_trigger_type",
|
|
40787
40787
|
"cron",
|
|
40788
40788
|
"event"
|
|
40789
|
-
]).default(
|
|
40789
|
+
]).default(nr),
|
|
40790
40790
|
variables: e.record(e.string(), e.string()).optional()
|
|
40791
40791
|
});
|
|
40792
40792
|
e.object({
|
|
40793
40793
|
id: e.number()
|
|
40794
40794
|
});
|
|
40795
|
-
const
|
|
40795
|
+
const ar = "empty_trigger_event", rr = "empty_trigger_object", sr = "default_trigger_type";
|
|
40796
40796
|
e.object({
|
|
40797
40797
|
description: e.string().optional(),
|
|
40798
40798
|
enabled: e.boolean().optional(),
|
|
@@ -40802,7 +40802,7 @@ e.object({
|
|
|
40802
40802
|
"update",
|
|
40803
40803
|
"remove",
|
|
40804
40804
|
"resolution_time"
|
|
40805
|
-
]).default(
|
|
40805
|
+
]).default(ar),
|
|
40806
40806
|
expression: e.string().optional(),
|
|
40807
40807
|
fields: e.array(e.string()).optional(),
|
|
40808
40808
|
name: e.string().optional(),
|
|
@@ -40813,7 +40813,7 @@ e.object({
|
|
|
40813
40813
|
"case_comments",
|
|
40814
40814
|
"case_links",
|
|
40815
40815
|
"related_cases"
|
|
40816
|
-
]).default(
|
|
40816
|
+
]).default(rr),
|
|
40817
40817
|
schema: e.object({
|
|
40818
40818
|
id: e.string().optional(),
|
|
40819
40819
|
name: e.string().optional()
|
|
@@ -40827,10 +40827,10 @@ e.object({
|
|
|
40827
40827
|
"default_trigger_type",
|
|
40828
40828
|
"cron",
|
|
40829
40829
|
"event"
|
|
40830
|
-
]).default(
|
|
40830
|
+
]).default(sr),
|
|
40831
40831
|
variables: e.record(e.string(), e.string()).optional()
|
|
40832
40832
|
});
|
|
40833
|
-
const
|
|
40833
|
+
const lr = "empty_trigger_event", pr = "empty_trigger_object", cr = "default_trigger_type";
|
|
40834
40834
|
e.object({
|
|
40835
40835
|
description: e.string().optional(),
|
|
40836
40836
|
enabled: e.boolean().optional(),
|
|
@@ -40840,7 +40840,7 @@ e.object({
|
|
|
40840
40840
|
"update",
|
|
40841
40841
|
"remove",
|
|
40842
40842
|
"resolution_time"
|
|
40843
|
-
]).default(
|
|
40843
|
+
]).default(lr),
|
|
40844
40844
|
expression: e.string().optional(),
|
|
40845
40845
|
id: e.number().optional(),
|
|
40846
40846
|
name: e.string().optional(),
|
|
@@ -40851,7 +40851,7 @@ e.object({
|
|
|
40851
40851
|
"case_comments",
|
|
40852
40852
|
"case_links",
|
|
40853
40853
|
"related_cases"
|
|
40854
|
-
]).default(
|
|
40854
|
+
]).default(pr),
|
|
40855
40855
|
schema: e.object({
|
|
40856
40856
|
id: e.string().optional(),
|
|
40857
40857
|
name: e.string().optional()
|
|
@@ -40865,13 +40865,13 @@ e.object({
|
|
|
40865
40865
|
"default_trigger_type",
|
|
40866
40866
|
"cron",
|
|
40867
40867
|
"event"
|
|
40868
|
-
]).default(
|
|
40868
|
+
]).default(cr),
|
|
40869
40869
|
variables: e.record(e.string(), e.string()).optional()
|
|
40870
40870
|
});
|
|
40871
40871
|
e.object({
|
|
40872
40872
|
id: e.number()
|
|
40873
40873
|
});
|
|
40874
|
-
const
|
|
40874
|
+
const dr = "empty_trigger_event", br = "empty_trigger_object", gr = "default_trigger_type";
|
|
40875
40875
|
e.object({
|
|
40876
40876
|
description: e.string().optional(),
|
|
40877
40877
|
enabled: e.boolean().optional(),
|
|
@@ -40881,7 +40881,7 @@ e.object({
|
|
|
40881
40881
|
"update",
|
|
40882
40882
|
"remove",
|
|
40883
40883
|
"resolution_time"
|
|
40884
|
-
]).default(
|
|
40884
|
+
]).default(dr),
|
|
40885
40885
|
expression: e.string().optional(),
|
|
40886
40886
|
name: e.string().optional(),
|
|
40887
40887
|
object: e.enum([
|
|
@@ -40891,7 +40891,7 @@ e.object({
|
|
|
40891
40891
|
"case_comments",
|
|
40892
40892
|
"case_links",
|
|
40893
40893
|
"related_cases"
|
|
40894
|
-
]).default(
|
|
40894
|
+
]).default(br),
|
|
40895
40895
|
schema: e.object({
|
|
40896
40896
|
id: e.string().optional(),
|
|
40897
40897
|
name: e.string().optional()
|
|
@@ -40905,10 +40905,10 @@ e.object({
|
|
|
40905
40905
|
"default_trigger_type",
|
|
40906
40906
|
"cron",
|
|
40907
40907
|
"event"
|
|
40908
|
-
]).default(
|
|
40908
|
+
]).default(gr),
|
|
40909
40909
|
variables: e.record(e.string(), e.string()).optional()
|
|
40910
40910
|
});
|
|
40911
|
-
const
|
|
40911
|
+
const ur = "empty_trigger_event", mr = "empty_trigger_object", fr = "default_trigger_type";
|
|
40912
40912
|
e.object({
|
|
40913
40913
|
description: e.string().optional(),
|
|
40914
40914
|
enabled: e.boolean().optional(),
|
|
@@ -40918,7 +40918,7 @@ e.object({
|
|
|
40918
40918
|
"update",
|
|
40919
40919
|
"remove",
|
|
40920
40920
|
"resolution_time"
|
|
40921
|
-
]).default(
|
|
40921
|
+
]).default(ur),
|
|
40922
40922
|
expression: e.string().optional(),
|
|
40923
40923
|
id: e.number().optional(),
|
|
40924
40924
|
name: e.string().optional(),
|
|
@@ -40929,7 +40929,7 @@ e.object({
|
|
|
40929
40929
|
"case_comments",
|
|
40930
40930
|
"case_links",
|
|
40931
40931
|
"related_cases"
|
|
40932
|
-
]).default(
|
|
40932
|
+
]).default(mr),
|
|
40933
40933
|
schema: e.object({
|
|
40934
40934
|
id: e.string().optional(),
|
|
40935
40935
|
name: e.string().optional()
|
|
@@ -40943,7 +40943,7 @@ e.object({
|
|
|
40943
40943
|
"default_trigger_type",
|
|
40944
40944
|
"cron",
|
|
40945
40945
|
"event"
|
|
40946
|
-
]).default(
|
|
40946
|
+
]).default(fr),
|
|
40947
40947
|
variables: e.record(e.string(), e.string()).optional()
|
|
40948
40948
|
});
|
|
40949
40949
|
e.object({
|
|
@@ -40970,7 +40970,7 @@ e.object({
|
|
|
40970
40970
|
])
|
|
40971
40971
|
).optional()
|
|
40972
40972
|
});
|
|
40973
|
-
const
|
|
40973
|
+
const hr = "idle";
|
|
40974
40974
|
e.object({
|
|
40975
40975
|
items: e.array(
|
|
40976
40976
|
e.object({
|
|
@@ -40983,7 +40983,7 @@ e.object({
|
|
|
40983
40983
|
"active",
|
|
40984
40984
|
"done",
|
|
40985
40985
|
"error"
|
|
40986
|
-
]).default(
|
|
40986
|
+
]).default(hr),
|
|
40987
40987
|
stoppedAt: e.string().optional(),
|
|
40988
40988
|
trigger: e.object({
|
|
40989
40989
|
id: e.string().optional(),
|
|
@@ -40999,7 +40999,7 @@ e.object({
|
|
|
40999
40999
|
e.object({
|
|
41000
41000
|
variables: e.record(e.string(), e.string()).optional()
|
|
41001
41001
|
});
|
|
41002
|
-
const
|
|
41002
|
+
const yr = "idle";
|
|
41003
41003
|
e.object({
|
|
41004
41004
|
createdAt: e.string().optional(),
|
|
41005
41005
|
error: e.string().optional(),
|
|
@@ -41010,7 +41010,7 @@ e.object({
|
|
|
41010
41010
|
"active",
|
|
41011
41011
|
"done",
|
|
41012
41012
|
"error"
|
|
41013
|
-
]).default(
|
|
41013
|
+
]).default(yr),
|
|
41014
41014
|
stoppedAt: e.string().optional(),
|
|
41015
41015
|
trigger: e.object({
|
|
41016
41016
|
id: e.string().optional(),
|
|
@@ -41041,7 +41041,7 @@ e.object({
|
|
|
41041
41041
|
}).optional().describe("UserId lookup value.")
|
|
41042
41042
|
}).optional()
|
|
41043
41043
|
});
|
|
41044
|
-
const
|
|
41044
|
+
const jr = "*", Ir = /^[+|-|!]?\w+$/, Tr = "*";
|
|
41045
41045
|
e.object({
|
|
41046
41046
|
q: e.string().optional().describe(
|
|
41047
41047
|
"Search term:\n`?` - matches any character\n`*` - matches 0 or more characters\ne.g.: name,emails{type},labels etc..."
|
|
@@ -41060,11 +41060,11 @@ Default: 16.`),
|
|
|
41060
41060
|
page: e.number().optional().describe(`Page number of result set of records.
|
|
41061
41061
|
Default: 1.`),
|
|
41062
41062
|
sort: e.array(
|
|
41063
|
-
e.string().regex(
|
|
41063
|
+
e.string().regex(Ir).default(jr)
|
|
41064
41064
|
).optional().describe(
|
|
41065
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.'
|
|
41066
41066
|
),
|
|
41067
|
-
fields: e.array(e.string().default(
|
|
41067
|
+
fields: e.array(e.string().default(Tr)).optional().describe(
|
|
41068
41068
|
`Fields [Q]uery to build result dataset record.
|
|
41069
41069
|
\`\`\`
|
|
41070
41070
|
fields ::= field [ *( "," field ) ]
|
|
@@ -41080,7 +41080,7 @@ USCORE = %x5F ; underscore ; "_"
|
|
|
41080
41080
|
\`\`\``
|
|
41081
41081
|
)
|
|
41082
41082
|
});
|
|
41083
|
-
const
|
|
41083
|
+
const Rr = "none";
|
|
41084
41084
|
e.object({
|
|
41085
41085
|
data: e.array(
|
|
41086
41086
|
e.object({
|
|
@@ -41207,7 +41207,7 @@ code`),
|
|
|
41207
41207
|
"richtext",
|
|
41208
41208
|
"datetime",
|
|
41209
41209
|
"duration"
|
|
41210
|
-
]).default(
|
|
41210
|
+
]).default(Rr).describe("Required. The field type."),
|
|
41211
41211
|
lookup: e.object({
|
|
41212
41212
|
display: e.string().optional().describe(
|
|
41213
41213
|
"[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
|
|
@@ -41313,7 +41313,7 @@ int64 dc = 0;`)
|
|
|
41313
41313
|
e.object({
|
|
41314
41314
|
path: e.string().describe("`types.path`")
|
|
41315
41315
|
});
|
|
41316
|
-
const
|
|
41316
|
+
const Ar = "none";
|
|
41317
41317
|
e.object({
|
|
41318
41318
|
about: e.string().optional().describe("Optional. Short description."),
|
|
41319
41319
|
administered: e.boolean().optional(),
|
|
@@ -41436,7 +41436,7 @@ code`),
|
|
|
41436
41436
|
"richtext",
|
|
41437
41437
|
"datetime",
|
|
41438
41438
|
"duration"
|
|
41439
|
-
]).default(
|
|
41439
|
+
]).default(Ar).describe("Required. The field type."),
|
|
41440
41440
|
lookup: e.object({
|
|
41441
41441
|
display: e.string().optional().describe(
|
|
41442
41442
|
"[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
|
|
@@ -41993,8 +41993,8 @@ e.object({
|
|
|
41993
41993
|
id: e.string().optional().describe("ONE /users/{id}"),
|
|
41994
41994
|
permanent: e.boolean().optional()
|
|
41995
41995
|
});
|
|
41996
|
-
const
|
|
41997
|
-
e.array(
|
|
41996
|
+
const wr = e.string();
|
|
41997
|
+
e.array(wr);
|
|
41998
41998
|
e.object({
|
|
41999
41999
|
deleted: e.array(
|
|
42000
42000
|
e.object({
|
|
@@ -42550,7 +42550,7 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42550
42550
|
page: e.number().optional(),
|
|
42551
42551
|
size: e.number().optional()
|
|
42552
42552
|
});
|
|
42553
|
-
const
|
|
42553
|
+
const Dr = "user_warning_id_unspecified";
|
|
42554
42554
|
e.object({
|
|
42555
42555
|
warnings: e.array(
|
|
42556
42556
|
e.object({
|
|
@@ -42560,7 +42560,7 @@ e.object({
|
|
|
42560
42560
|
"password_expires_soon",
|
|
42561
42561
|
"license_expires_soon",
|
|
42562
42562
|
"license_expired"
|
|
42563
|
-
]).default(
|
|
42563
|
+
]).default(Dr),
|
|
42564
42564
|
warningData: e.object({
|
|
42565
42565
|
licenseExpiry: e.object({
|
|
42566
42566
|
daysRemaining: e.string().optional(),
|
|
@@ -43130,10 +43130,10 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
43130
43130
|
e.object({
|
|
43131
43131
|
contact_id: e.string().describe("Contact ID associated with.")
|
|
43132
43132
|
});
|
|
43133
|
-
const
|
|
43133
|
+
const vr = /^.+$/;
|
|
43134
43134
|
e.object({
|
|
43135
43135
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result."),
|
|
43136
|
-
etag: e.array(e.string().regex(
|
|
43136
|
+
etag: e.array(e.string().regex(vr)).describe("Set of unique ID(s) to remove.")
|
|
43137
43137
|
});
|
|
43138
43138
|
e.object({
|
|
43139
43139
|
data: e.array(
|
|
@@ -43224,12 +43224,12 @@ e.object({
|
|
|
43224
43224
|
e.object({
|
|
43225
43225
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result.")
|
|
43226
43226
|
});
|
|
43227
|
-
const
|
|
43227
|
+
const Or = /^\w+$/, Er = e.object({
|
|
43228
43228
|
etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
43229
|
-
key: e.string().regex(
|
|
43229
|
+
key: e.string().regex(Or).describe("NEW Key."),
|
|
43230
43230
|
value: e.unknown().optional().describe("NEW Value.")
|
|
43231
43231
|
}).describe("Input of the Contact's variable.");
|
|
43232
|
-
e.array(
|
|
43232
|
+
e.array(Er);
|
|
43233
43233
|
e.object({
|
|
43234
43234
|
data: e.array(
|
|
43235
43235
|
e.object({
|
|
@@ -43271,12 +43271,12 @@ e.object({
|
|
|
43271
43271
|
e.object({
|
|
43272
43272
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
|
|
43273
43273
|
});
|
|
43274
|
-
const
|
|
43274
|
+
const Cr = /^\w+$/, qr = e.object({
|
|
43275
43275
|
etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
43276
|
-
key: e.string().regex(
|
|
43276
|
+
key: e.string().regex(Cr).describe("NEW Key."),
|
|
43277
43277
|
value: e.unknown().optional().describe("NEW Value.")
|
|
43278
43278
|
}).describe("Input of the Contact's variable.");
|
|
43279
|
-
e.array(
|
|
43279
|
+
e.array(qr);
|
|
43280
43280
|
e.object({
|
|
43281
43281
|
data: e.array(
|
|
43282
43282
|
e.object({
|
|
@@ -43355,9 +43355,9 @@ e.object({
|
|
|
43355
43355
|
e.object({
|
|
43356
43356
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
|
|
43357
43357
|
});
|
|
43358
|
-
const
|
|
43358
|
+
const Sr = /^\w+$/;
|
|
43359
43359
|
e.object({
|
|
43360
|
-
key: e.string().regex(
|
|
43360
|
+
key: e.string().regex(Sr).describe("NEW Key."),
|
|
43361
43361
|
value: e.unknown().optional().describe("NEW Value.")
|
|
43362
43362
|
});
|
|
43363
43363
|
e.object({
|
|
@@ -43402,9 +43402,9 @@ e.object({
|
|
|
43402
43402
|
e.object({
|
|
43403
43403
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
|
|
43404
43404
|
});
|
|
43405
|
-
const
|
|
43405
|
+
const _r = /^\w+$/;
|
|
43406
43406
|
e.object({
|
|
43407
|
-
key: e.string().regex(
|
|
43407
|
+
key: e.string().regex(_r).describe("NEW Key."),
|
|
43408
43408
|
value: e.unknown().optional().describe("NEW Value.")
|
|
43409
43409
|
});
|
|
43410
43410
|
e.object({
|
|
@@ -44132,7 +44132,7 @@ e.object({
|
|
|
44132
44132
|
e.object({
|
|
44133
44133
|
contactId: e.string().optional()
|
|
44134
44134
|
});
|
|
44135
|
-
const
|
|
44135
|
+
const kr = "ALL";
|
|
44136
44136
|
e.object({
|
|
44137
44137
|
settings: e.object({
|
|
44138
44138
|
allowInvitesFrom: e.enum([
|
|
@@ -44140,22 +44140,22 @@ e.object({
|
|
|
44140
44140
|
"NOBODY",
|
|
44141
44141
|
"SAME_ISSUER"
|
|
44142
44142
|
]).default(
|
|
44143
|
-
|
|
44143
|
+
kr
|
|
44144
44144
|
),
|
|
44145
44145
|
contactId: e.string().optional(),
|
|
44146
44146
|
updatedAt: e.string().optional()
|
|
44147
44147
|
}).optional()
|
|
44148
44148
|
});
|
|
44149
|
-
const
|
|
44149
|
+
const xr = "ALL";
|
|
44150
44150
|
e.object({
|
|
44151
44151
|
contactId: e.string().optional(),
|
|
44152
44152
|
allowInvitesFrom: e.enum([
|
|
44153
44153
|
"ALL",
|
|
44154
44154
|
"NOBODY",
|
|
44155
44155
|
"SAME_ISSUER"
|
|
44156
|
-
]).default(
|
|
44156
|
+
]).default(xr)
|
|
44157
44157
|
});
|
|
44158
|
-
const
|
|
44158
|
+
const Ur = "ALL";
|
|
44159
44159
|
e.object({
|
|
44160
44160
|
settings: e.object({
|
|
44161
44161
|
allowInvitesFrom: e.enum([
|
|
@@ -44163,7 +44163,7 @@ e.object({
|
|
|
44163
44163
|
"NOBODY",
|
|
44164
44164
|
"SAME_ISSUER"
|
|
44165
44165
|
]).default(
|
|
44166
|
-
|
|
44166
|
+
Ur
|
|
44167
44167
|
),
|
|
44168
44168
|
contactId: e.string().optional(),
|
|
44169
44169
|
updatedAt: e.string().optional()
|
|
@@ -44571,7 +44571,7 @@ false -> fetch older messages (back to older history)`
|
|
|
44571
44571
|
),
|
|
44572
44572
|
size: e.number().optional().describe("Maximum number of messages to return.")
|
|
44573
44573
|
});
|
|
44574
|
-
const
|
|
44574
|
+
const Br = "ROLE_UNSPECIFIED";
|
|
44575
44575
|
e.object({
|
|
44576
44576
|
items: e.array(
|
|
44577
44577
|
e.object({
|
|
@@ -44842,7 +44842,7 @@ Can contain structured data depending on message type.`
|
|
|
44842
44842
|
"ROLE_OWNER",
|
|
44843
44843
|
"ROLE_SUPERVISOR"
|
|
44844
44844
|
]).default(
|
|
44845
|
-
|
|
44845
|
+
Br
|
|
44846
44846
|
)
|
|
44847
44847
|
}).optional().describe("Sender user aggregated information."),
|
|
44848
44848
|
threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
|
|
@@ -44901,9 +44901,10 @@ Must be greater than 0 and less than or equal to 100.`
|
|
|
44901
44901
|
Optional "+" or "-" prefix indicates ascending or descending order.
|
|
44902
44902
|
Example: "-created_at", "subject"`
|
|
44903
44903
|
),
|
|
44904
|
-
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.")
|
|
44905
44906
|
});
|
|
44906
|
-
const
|
|
44907
|
+
const Nr = "ROLE_UNSPECIFIED", Pr = "ROLE_UNSPECIFIED", Fr = "UNKNOWN";
|
|
44907
44908
|
e.object({
|
|
44908
44909
|
items: e.array(
|
|
44909
44910
|
e.object({
|
|
@@ -45182,7 +45183,7 @@ Can contain structured data depending on message type.`
|
|
|
45182
45183
|
"ROLE_OWNER",
|
|
45183
45184
|
"ROLE_SUPERVISOR"
|
|
45184
45185
|
]).default(
|
|
45185
|
-
|
|
45186
|
+
Nr
|
|
45186
45187
|
)
|
|
45187
45188
|
}).optional().describe("Sender user aggregated information."),
|
|
45188
45189
|
threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
|
|
@@ -45250,7 +45251,7 @@ Can contain structured data depending on message type.`
|
|
|
45250
45251
|
"ROLE_OWNER",
|
|
45251
45252
|
"ROLE_SUPERVISOR"
|
|
45252
45253
|
]).default(
|
|
45253
|
-
|
|
45254
|
+
Pr
|
|
45254
45255
|
)
|
|
45255
45256
|
}).describe(
|
|
45256
45257
|
`ThreadMember represents a thread participant
|
|
@@ -45273,7 +45274,7 @@ Usually represents the display name of the conversation.`
|
|
|
45273
45274
|
"DIRECT",
|
|
45274
45275
|
"GROUP",
|
|
45275
45276
|
"CHANNEL"
|
|
45276
|
-
]).default(
|
|
45277
|
+
]).default(Fr).describe("Type of the thread."),
|
|
45277
45278
|
updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
|
|
45278
45279
|
variables: e.object({
|
|
45279
45280
|
threadId: e.string().optional().describe("Unique identifier for the thread."),
|
|
@@ -45350,7 +45351,7 @@ e.object({
|
|
|
45350
45351
|
e.object({
|
|
45351
45352
|
fields: e.array(e.string()).optional().describe("List of fields to include in the response.")
|
|
45352
45353
|
});
|
|
45353
|
-
const
|
|
45354
|
+
const Lr = "ROLE_UNSPECIFIED", Mr = "ROLE_UNSPECIFIED", zr = "UNKNOWN";
|
|
45354
45355
|
e.object({
|
|
45355
45356
|
createdAt: e.string().optional().describe("Thread creation timestamp (Unix time, milliseconds)."),
|
|
45356
45357
|
description: e.string().optional().describe("Optional thread description."),
|
|
@@ -45604,7 +45605,7 @@ Can contain structured data depending on message type.`
|
|
|
45604
45605
|
"ROLE_ADMIN",
|
|
45605
45606
|
"ROLE_OWNER",
|
|
45606
45607
|
"ROLE_SUPERVISOR"
|
|
45607
|
-
]).default(
|
|
45608
|
+
]).default(Lr)
|
|
45608
45609
|
}).optional().describe("Sender user aggregated information."),
|
|
45609
45610
|
threadId: e.string().optional().describe("Identifier of the thread the message belongs to."),
|
|
45610
45611
|
type: e.number().optional().describe("Message type identifier.")
|
|
@@ -45662,7 +45663,7 @@ Can contain structured data depending on message type.`
|
|
|
45662
45663
|
"ROLE_ADMIN",
|
|
45663
45664
|
"ROLE_OWNER",
|
|
45664
45665
|
"ROLE_SUPERVISOR"
|
|
45665
|
-
]).default(
|
|
45666
|
+
]).default(Mr)
|
|
45666
45667
|
}).describe(
|
|
45667
45668
|
`ThreadMember represents a thread participant
|
|
45668
45669
|
with optional type-specific settings.`
|
|
@@ -45684,7 +45685,7 @@ Usually represents the display name of the conversation.`
|
|
|
45684
45685
|
"DIRECT",
|
|
45685
45686
|
"GROUP",
|
|
45686
45687
|
"CHANNEL"
|
|
45687
|
-
]).default(
|
|
45688
|
+
]).default(zr).describe("Type of the thread."),
|
|
45688
45689
|
updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
|
|
45689
45690
|
variables: e.object({
|
|
45690
45691
|
threadId: e.string().optional().describe("Unique identifier for the thread."),
|
|
@@ -45748,7 +45749,7 @@ Key is the variable name, value contains data and metadata.`
|
|
|
45748
45749
|
e.object({
|
|
45749
45750
|
thread_id: e.string()
|
|
45750
45751
|
});
|
|
45751
|
-
const
|
|
45752
|
+
const Vr = "ROLE_UNSPECIFIED";
|
|
45752
45753
|
e.object({
|
|
45753
45754
|
contact: e.object({
|
|
45754
45755
|
iss: e.string().optional(),
|
|
@@ -45760,9 +45761,9 @@ e.object({
|
|
|
45760
45761
|
"ROLE_ADMIN",
|
|
45761
45762
|
"ROLE_OWNER",
|
|
45762
45763
|
"ROLE_SUPERVISOR"
|
|
45763
|
-
]).default(
|
|
45764
|
+
]).default(Vr)
|
|
45764
45765
|
});
|
|
45765
|
-
const
|
|
45766
|
+
const Yr = "ROLE_UNSPECIFIED";
|
|
45766
45767
|
e.object({
|
|
45767
45768
|
member: e.object({
|
|
45768
45769
|
contact: e.object({
|
|
@@ -45814,7 +45815,7 @@ e.object({
|
|
|
45814
45815
|
"ROLE_ADMIN",
|
|
45815
45816
|
"ROLE_OWNER",
|
|
45816
45817
|
"ROLE_SUPERVISOR"
|
|
45817
|
-
]).default(
|
|
45818
|
+
]).default(Yr)
|
|
45818
45819
|
}).optional().describe(
|
|
45819
45820
|
`ThreadMember represents a thread participant
|
|
45820
45821
|
with optional type-specific settings.`
|
|
@@ -45828,7 +45829,7 @@ e.looseObject({});
|
|
|
45828
45829
|
e.object({
|
|
45829
45830
|
thread_id: e.string()
|
|
45830
45831
|
});
|
|
45831
|
-
const
|
|
45832
|
+
const Gr = "ROLE_UNSPECIFIED";
|
|
45832
45833
|
e.object({
|
|
45833
45834
|
contact: e.object({
|
|
45834
45835
|
iss: e.string().optional(),
|
|
@@ -45840,9 +45841,9 @@ e.object({
|
|
|
45840
45841
|
"ROLE_ADMIN",
|
|
45841
45842
|
"ROLE_OWNER",
|
|
45842
45843
|
"ROLE_SUPERVISOR"
|
|
45843
|
-
]).default(
|
|
45844
|
+
]).default(Gr)
|
|
45844
45845
|
});
|
|
45845
|
-
const
|
|
45846
|
+
const Hr = "ROLE_UNSPECIFIED";
|
|
45846
45847
|
e.object({
|
|
45847
45848
|
member: e.object({
|
|
45848
45849
|
contact: e.object({
|
|
@@ -45894,7 +45895,7 @@ e.object({
|
|
|
45894
45895
|
"ROLE_ADMIN",
|
|
45895
45896
|
"ROLE_OWNER",
|
|
45896
45897
|
"ROLE_SUPERVISOR"
|
|
45897
|
-
]).default(
|
|
45898
|
+
]).default(Hr)
|
|
45898
45899
|
}).optional().describe(
|
|
45899
45900
|
`ThreadMember represents a thread participant
|
|
45900
45901
|
with optional type-specific settings.`
|
|
@@ -46210,6 +46211,466 @@ e.object({
|
|
|
46210
46211
|
updatedAt: e.string().optional()
|
|
46211
46212
|
}).optional()
|
|
46212
46213
|
});
|
|
46214
|
+
e.object({
|
|
46215
|
+
enabled: e.boolean().optional(),
|
|
46216
|
+
metaAppId: e.string().optional(),
|
|
46217
|
+
name: e.string().optional(),
|
|
46218
|
+
pageId: e.string().optional(),
|
|
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";
|
|
46226
|
+
e.object({
|
|
46227
|
+
item: e.object({
|
|
46228
|
+
createdAt: e.string().optional(),
|
|
46229
|
+
enabled: e.boolean().optional(),
|
|
46230
|
+
id: e.string().optional(),
|
|
46231
|
+
metaAppId: e.string().optional(),
|
|
46232
|
+
name: e.string().optional(),
|
|
46233
|
+
pageId: e.string().optional(),
|
|
46234
|
+
pageName: e.string().optional(),
|
|
46235
|
+
status: e.enum([
|
|
46236
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
46237
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
46238
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
46239
|
+
"PROVIDER_STATUS_ERROR"
|
|
46240
|
+
]).default(Kr).describe(
|
|
46241
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
46242
|
+
),
|
|
46243
|
+
updatedAt: e.string().optional()
|
|
46244
|
+
}).optional()
|
|
46245
|
+
});
|
|
46246
|
+
e.object({
|
|
46247
|
+
id: e.string()
|
|
46248
|
+
});
|
|
46249
|
+
const Qr = "PROVIDER_STATUS_UNSPECIFIED";
|
|
46250
|
+
e.object({
|
|
46251
|
+
item: e.object({
|
|
46252
|
+
createdAt: e.string().optional(),
|
|
46253
|
+
enabled: e.boolean().optional(),
|
|
46254
|
+
id: e.string().optional(),
|
|
46255
|
+
metaAppId: e.string().optional(),
|
|
46256
|
+
name: e.string().optional(),
|
|
46257
|
+
pageId: e.string().optional(),
|
|
46258
|
+
pageName: e.string().optional(),
|
|
46259
|
+
status: e.enum([
|
|
46260
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
46261
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
46262
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
46263
|
+
"PROVIDER_STATUS_ERROR"
|
|
46264
|
+
]).default(Qr).describe(
|
|
46265
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
46266
|
+
),
|
|
46267
|
+
updatedAt: e.string().optional()
|
|
46268
|
+
}).optional()
|
|
46269
|
+
});
|
|
46270
|
+
e.object({
|
|
46271
|
+
id: e.string()
|
|
46272
|
+
});
|
|
46273
|
+
const Wr = "PROVIDER_STATUS_UNSPECIFIED";
|
|
46274
|
+
e.object({
|
|
46275
|
+
item: e.object({
|
|
46276
|
+
createdAt: e.string().optional(),
|
|
46277
|
+
enabled: e.boolean().optional(),
|
|
46278
|
+
id: e.string().optional(),
|
|
46279
|
+
metaAppId: e.string().optional(),
|
|
46280
|
+
name: e.string().optional(),
|
|
46281
|
+
pageId: e.string().optional(),
|
|
46282
|
+
pageName: e.string().optional(),
|
|
46283
|
+
status: e.enum([
|
|
46284
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
46285
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
46286
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
46287
|
+
"PROVIDER_STATUS_ERROR"
|
|
46288
|
+
]).default(Wr).describe(
|
|
46289
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
46290
|
+
),
|
|
46291
|
+
updatedAt: e.string().optional()
|
|
46292
|
+
}).optional()
|
|
46293
|
+
});
|
|
46294
|
+
e.object({
|
|
46295
|
+
id: e.string()
|
|
46296
|
+
});
|
|
46297
|
+
e.object({
|
|
46298
|
+
enabled: e.boolean().optional(),
|
|
46299
|
+
name: e.string().optional(),
|
|
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";
|
|
46307
|
+
e.object({
|
|
46308
|
+
item: e.object({
|
|
46309
|
+
createdAt: e.string().optional(),
|
|
46310
|
+
enabled: e.boolean().optional(),
|
|
46311
|
+
id: e.string().optional(),
|
|
46312
|
+
metaAppId: e.string().optional(),
|
|
46313
|
+
name: e.string().optional(),
|
|
46314
|
+
pageId: e.string().optional(),
|
|
46315
|
+
pageName: e.string().optional(),
|
|
46316
|
+
status: e.enum([
|
|
46317
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
46318
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
46319
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
46320
|
+
"PROVIDER_STATUS_ERROR"
|
|
46321
|
+
]).default(Xr).describe(
|
|
46322
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
46323
|
+
),
|
|
46324
|
+
updatedAt: e.string().optional()
|
|
46325
|
+
}).optional()
|
|
46326
|
+
});
|
|
46327
|
+
const Jr = "PROVIDER_STATUS_UNSPECIFIED";
|
|
46328
|
+
e.object({
|
|
46329
|
+
page: e.number().optional(),
|
|
46330
|
+
size: e.number().optional(),
|
|
46331
|
+
types: e.array(
|
|
46332
|
+
e.enum([
|
|
46333
|
+
"PROVIDER_TYPE_UNSPECIFIED",
|
|
46334
|
+
"PROVIDER_TYPE_VIBER",
|
|
46335
|
+
"PROVIDER_TYPE_TELEGRAM_BOT",
|
|
46336
|
+
"PROVIDER_TYPE_TELEGRAM_APP",
|
|
46337
|
+
"PROVIDER_TYPE_META_APP",
|
|
46338
|
+
"PROVIDER_TYPE_FACEBOOK",
|
|
46339
|
+
"PROVIDER_TYPE_INSTAGRAM",
|
|
46340
|
+
"PROVIDER_TYPE_WHATSAPP"
|
|
46341
|
+
])
|
|
46342
|
+
).optional(),
|
|
46343
|
+
status: e.enum([
|
|
46344
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
46345
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
46346
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
46347
|
+
"PROVIDER_STATUS_ERROR"
|
|
46348
|
+
]).default(Jr),
|
|
46349
|
+
q: e.string().optional()
|
|
46350
|
+
});
|
|
46351
|
+
const $r = "PROVIDER_STATUS_UNSPECIFIED", Zr = "PROVIDER_TYPE_UNSPECIFIED";
|
|
46352
|
+
e.object({
|
|
46353
|
+
items: e.array(
|
|
46354
|
+
e.object({
|
|
46355
|
+
contact: e.string().optional(),
|
|
46356
|
+
createdAt: e.string().optional(),
|
|
46357
|
+
id: e.string().optional(),
|
|
46358
|
+
name: e.string().optional(),
|
|
46359
|
+
providerAppId: e.string().optional(),
|
|
46360
|
+
status: e.enum([
|
|
46361
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
46362
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
46363
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
46364
|
+
"PROVIDER_STATUS_ERROR"
|
|
46365
|
+
]).default($r).describe(
|
|
46366
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
46367
|
+
),
|
|
46368
|
+
type: e.enum([
|
|
46369
|
+
"PROVIDER_TYPE_UNSPECIFIED",
|
|
46370
|
+
"PROVIDER_TYPE_VIBER",
|
|
46371
|
+
"PROVIDER_TYPE_TELEGRAM_BOT",
|
|
46372
|
+
"PROVIDER_TYPE_TELEGRAM_APP",
|
|
46373
|
+
"PROVIDER_TYPE_META_APP",
|
|
46374
|
+
"PROVIDER_TYPE_FACEBOOK",
|
|
46375
|
+
"PROVIDER_TYPE_INSTAGRAM",
|
|
46376
|
+
"PROVIDER_TYPE_WHATSAPP"
|
|
46377
|
+
]).default(Zr).describe(
|
|
46378
|
+
"/ ProviderType defines the specific provider or protocol used for messaging."
|
|
46379
|
+
),
|
|
46380
|
+
updatedAt: e.string().optional(),
|
|
46381
|
+
webhookUrl: e.string().optional()
|
|
46382
|
+
})
|
|
46383
|
+
).optional(),
|
|
46384
|
+
next: e.boolean().optional(),
|
|
46385
|
+
page: e.number().optional(),
|
|
46386
|
+
size: e.number().optional()
|
|
46387
|
+
});
|
|
46388
|
+
e.object({
|
|
46389
|
+
appId: e.string().optional(),
|
|
46390
|
+
appSecret: e.string().optional(),
|
|
46391
|
+
name: e.string().optional(),
|
|
46392
|
+
oauthRedirectUri: e.string().optional(),
|
|
46393
|
+
scopes: e.array(e.string()).optional(),
|
|
46394
|
+
uri: e.string().optional(),
|
|
46395
|
+
verifyToken: e.string().optional()
|
|
46396
|
+
});
|
|
46397
|
+
e.object({
|
|
46398
|
+
item: e.object({
|
|
46399
|
+
appId: e.string().optional(),
|
|
46400
|
+
createdAt: e.string().optional(),
|
|
46401
|
+
id: e.string().optional(),
|
|
46402
|
+
name: e.string().optional(),
|
|
46403
|
+
oauthRedirectUri: e.string().optional(),
|
|
46404
|
+
scopes: e.array(e.string()).optional(),
|
|
46405
|
+
updatedAt: e.string().optional(),
|
|
46406
|
+
verifyToken: e.string().optional()
|
|
46407
|
+
}).optional()
|
|
46408
|
+
});
|
|
46409
|
+
e.object({
|
|
46410
|
+
id: e.string()
|
|
46411
|
+
});
|
|
46412
|
+
e.object({
|
|
46413
|
+
item: e.object({
|
|
46414
|
+
appId: e.string().optional(),
|
|
46415
|
+
createdAt: e.string().optional(),
|
|
46416
|
+
id: e.string().optional(),
|
|
46417
|
+
name: e.string().optional(),
|
|
46418
|
+
oauthRedirectUri: e.string().optional(),
|
|
46419
|
+
scopes: e.array(e.string()).optional(),
|
|
46420
|
+
updatedAt: e.string().optional(),
|
|
46421
|
+
verifyToken: e.string().optional()
|
|
46422
|
+
}).optional()
|
|
46423
|
+
});
|
|
46424
|
+
e.object({
|
|
46425
|
+
id: e.string()
|
|
46426
|
+
});
|
|
46427
|
+
e.object({
|
|
46428
|
+
item: e.object({
|
|
46429
|
+
appId: e.string().optional(),
|
|
46430
|
+
createdAt: e.string().optional(),
|
|
46431
|
+
id: e.string().optional(),
|
|
46432
|
+
name: e.string().optional(),
|
|
46433
|
+
oauthRedirectUri: e.string().optional(),
|
|
46434
|
+
scopes: e.array(e.string()).optional(),
|
|
46435
|
+
updatedAt: e.string().optional(),
|
|
46436
|
+
verifyToken: e.string().optional()
|
|
46437
|
+
}).optional()
|
|
46438
|
+
});
|
|
46439
|
+
e.object({
|
|
46440
|
+
id: e.string()
|
|
46441
|
+
});
|
|
46442
|
+
e.object({
|
|
46443
|
+
appSecret: e.string().optional(),
|
|
46444
|
+
name: e.string().optional(),
|
|
46445
|
+
oauthRedirectUri: e.string().optional(),
|
|
46446
|
+
scopes: e.array(e.string()).optional(),
|
|
46447
|
+
verifyToken: e.string().optional()
|
|
46448
|
+
});
|
|
46449
|
+
e.object({
|
|
46450
|
+
item: e.object({
|
|
46451
|
+
appId: e.string().optional(),
|
|
46452
|
+
createdAt: e.string().optional(),
|
|
46453
|
+
id: e.string().optional(),
|
|
46454
|
+
name: e.string().optional(),
|
|
46455
|
+
oauthRedirectUri: e.string().optional(),
|
|
46456
|
+
scopes: e.array(e.string()).optional(),
|
|
46457
|
+
updatedAt: e.string().optional(),
|
|
46458
|
+
verifyToken: e.string().optional()
|
|
46459
|
+
}).optional()
|
|
46460
|
+
});
|
|
46461
|
+
e.object({
|
|
46462
|
+
meta_app_id: e.string()
|
|
46463
|
+
});
|
|
46464
|
+
e.object({
|
|
46465
|
+
code: e.string().optional(),
|
|
46466
|
+
state: e.string().optional()
|
|
46467
|
+
});
|
|
46468
|
+
e.object({
|
|
46469
|
+
pages: e.array(
|
|
46470
|
+
e.object({
|
|
46471
|
+
accessToken: e.string().optional(),
|
|
46472
|
+
pageId: e.string().optional(),
|
|
46473
|
+
pageName: e.string().optional(),
|
|
46474
|
+
platform: e.string().optional()
|
|
46475
|
+
})
|
|
46476
|
+
).optional(),
|
|
46477
|
+
userAccessToken: e.string().optional()
|
|
46478
|
+
});
|
|
46479
|
+
e.object({
|
|
46480
|
+
meta_app_id: e.string()
|
|
46481
|
+
});
|
|
46482
|
+
e.object({
|
|
46483
|
+
extraScopes: e.array(e.string()).optional()
|
|
46484
|
+
});
|
|
46485
|
+
e.object({
|
|
46486
|
+
authUrl: e.string().optional(),
|
|
46487
|
+
state: e.string().optional()
|
|
46488
|
+
});
|
|
46489
|
+
const es = "PROVIDER_TYPE_UNSPECIFIED";
|
|
46490
|
+
e.object({
|
|
46491
|
+
caption: e.string().optional(),
|
|
46492
|
+
document: e.object({
|
|
46493
|
+
id: e.string().optional(),
|
|
46494
|
+
mimeType: e.string().optional(),
|
|
46495
|
+
name: e.string().optional(),
|
|
46496
|
+
size: e.string().optional(),
|
|
46497
|
+
url: e.string().optional()
|
|
46498
|
+
}).optional(),
|
|
46499
|
+
externalUserId: e.string().optional(),
|
|
46500
|
+
gateId: e.string().optional(),
|
|
46501
|
+
type: e.enum([
|
|
46502
|
+
"PROVIDER_TYPE_UNSPECIFIED",
|
|
46503
|
+
"PROVIDER_TYPE_VIBER",
|
|
46504
|
+
"PROVIDER_TYPE_TELEGRAM_BOT",
|
|
46505
|
+
"PROVIDER_TYPE_TELEGRAM_APP",
|
|
46506
|
+
"PROVIDER_TYPE_META_APP",
|
|
46507
|
+
"PROVIDER_TYPE_FACEBOOK",
|
|
46508
|
+
"PROVIDER_TYPE_INSTAGRAM",
|
|
46509
|
+
"PROVIDER_TYPE_WHATSAPP"
|
|
46510
|
+
]).default(es).describe(
|
|
46511
|
+
"/ ProviderType defines the specific provider or protocol used for messaging."
|
|
46512
|
+
)
|
|
46513
|
+
});
|
|
46514
|
+
e.object({
|
|
46515
|
+
createdAt: e.string().optional(),
|
|
46516
|
+
externalId: e.string().optional()
|
|
46517
|
+
});
|
|
46518
|
+
const ts = "PROVIDER_TYPE_UNSPECIFIED";
|
|
46519
|
+
e.object({
|
|
46520
|
+
caption: e.string().optional(),
|
|
46521
|
+
externalUserId: e.string().optional(),
|
|
46522
|
+
gateId: e.string().optional(),
|
|
46523
|
+
image: e.object({
|
|
46524
|
+
id: e.string().optional(),
|
|
46525
|
+
mimeType: e.string().optional(),
|
|
46526
|
+
name: e.string().optional(),
|
|
46527
|
+
size: e.string().optional(),
|
|
46528
|
+
url: e.string().optional()
|
|
46529
|
+
}).optional(),
|
|
46530
|
+
type: e.enum([
|
|
46531
|
+
"PROVIDER_TYPE_UNSPECIFIED",
|
|
46532
|
+
"PROVIDER_TYPE_VIBER",
|
|
46533
|
+
"PROVIDER_TYPE_TELEGRAM_BOT",
|
|
46534
|
+
"PROVIDER_TYPE_TELEGRAM_APP",
|
|
46535
|
+
"PROVIDER_TYPE_META_APP",
|
|
46536
|
+
"PROVIDER_TYPE_FACEBOOK",
|
|
46537
|
+
"PROVIDER_TYPE_INSTAGRAM",
|
|
46538
|
+
"PROVIDER_TYPE_WHATSAPP"
|
|
46539
|
+
]).default(ts).describe(
|
|
46540
|
+
"/ ProviderType defines the specific provider or protocol used for messaging."
|
|
46541
|
+
)
|
|
46542
|
+
});
|
|
46543
|
+
e.object({
|
|
46544
|
+
createdAt: e.string().optional(),
|
|
46545
|
+
externalId: e.string().optional()
|
|
46546
|
+
});
|
|
46547
|
+
const os = "PROVIDER_TYPE_UNSPECIFIED";
|
|
46548
|
+
e.object({
|
|
46549
|
+
externalUserId: e.string().optional(),
|
|
46550
|
+
gateId: e.string().optional(),
|
|
46551
|
+
metadata: e.record(e.string(), e.string()).optional(),
|
|
46552
|
+
text: e.string().optional(),
|
|
46553
|
+
type: e.enum([
|
|
46554
|
+
"PROVIDER_TYPE_UNSPECIFIED",
|
|
46555
|
+
"PROVIDER_TYPE_VIBER",
|
|
46556
|
+
"PROVIDER_TYPE_TELEGRAM_BOT",
|
|
46557
|
+
"PROVIDER_TYPE_TELEGRAM_APP",
|
|
46558
|
+
"PROVIDER_TYPE_META_APP",
|
|
46559
|
+
"PROVIDER_TYPE_FACEBOOK",
|
|
46560
|
+
"PROVIDER_TYPE_INSTAGRAM",
|
|
46561
|
+
"PROVIDER_TYPE_WHATSAPP"
|
|
46562
|
+
]).default(os).describe(
|
|
46563
|
+
"/ ProviderType defines the specific provider or protocol used for messaging."
|
|
46564
|
+
)
|
|
46565
|
+
});
|
|
46566
|
+
e.object({
|
|
46567
|
+
createdAt: e.string().optional(),
|
|
46568
|
+
externalId: e.string().optional()
|
|
46569
|
+
});
|
|
46570
|
+
e.object({
|
|
46571
|
+
accessToken: e.string().optional(),
|
|
46572
|
+
metaAppId: e.string().optional(),
|
|
46573
|
+
name: e.string().optional(),
|
|
46574
|
+
phoneNumberId: e.string().optional(),
|
|
46575
|
+
wabaId: e.string().optional()
|
|
46576
|
+
});
|
|
46577
|
+
const is = "PROVIDER_STATUS_UNSPECIFIED";
|
|
46578
|
+
e.object({
|
|
46579
|
+
item: e.object({
|
|
46580
|
+
createdAt: e.string().optional(),
|
|
46581
|
+
id: e.string().optional(),
|
|
46582
|
+
metaAppId: e.string().optional(),
|
|
46583
|
+
name: e.string().optional(),
|
|
46584
|
+
phoneDisplay: e.string().optional(),
|
|
46585
|
+
phoneNumberId: e.string().optional(),
|
|
46586
|
+
status: e.enum([
|
|
46587
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
46588
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
46589
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
46590
|
+
"PROVIDER_STATUS_ERROR"
|
|
46591
|
+
]).default(is).describe(
|
|
46592
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
46593
|
+
),
|
|
46594
|
+
updatedAt: e.string().optional(),
|
|
46595
|
+
wabaId: e.string().optional()
|
|
46596
|
+
}).optional()
|
|
46597
|
+
});
|
|
46598
|
+
e.object({
|
|
46599
|
+
id: e.string()
|
|
46600
|
+
});
|
|
46601
|
+
const ns = "PROVIDER_STATUS_UNSPECIFIED";
|
|
46602
|
+
e.object({
|
|
46603
|
+
item: e.object({
|
|
46604
|
+
createdAt: e.string().optional(),
|
|
46605
|
+
id: e.string().optional(),
|
|
46606
|
+
metaAppId: e.string().optional(),
|
|
46607
|
+
name: e.string().optional(),
|
|
46608
|
+
phoneDisplay: e.string().optional(),
|
|
46609
|
+
phoneNumberId: e.string().optional(),
|
|
46610
|
+
status: e.enum([
|
|
46611
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
46612
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
46613
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
46614
|
+
"PROVIDER_STATUS_ERROR"
|
|
46615
|
+
]).default(ns).describe(
|
|
46616
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
46617
|
+
),
|
|
46618
|
+
updatedAt: e.string().optional(),
|
|
46619
|
+
wabaId: e.string().optional()
|
|
46620
|
+
}).optional()
|
|
46621
|
+
});
|
|
46622
|
+
e.object({
|
|
46623
|
+
id: e.string()
|
|
46624
|
+
});
|
|
46625
|
+
const as = "PROVIDER_STATUS_UNSPECIFIED";
|
|
46626
|
+
e.object({
|
|
46627
|
+
item: e.object({
|
|
46628
|
+
createdAt: e.string().optional(),
|
|
46629
|
+
id: e.string().optional(),
|
|
46630
|
+
metaAppId: e.string().optional(),
|
|
46631
|
+
name: e.string().optional(),
|
|
46632
|
+
phoneDisplay: e.string().optional(),
|
|
46633
|
+
phoneNumberId: e.string().optional(),
|
|
46634
|
+
status: e.enum([
|
|
46635
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
46636
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
46637
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
46638
|
+
"PROVIDER_STATUS_ERROR"
|
|
46639
|
+
]).default(as).describe(
|
|
46640
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
46641
|
+
),
|
|
46642
|
+
updatedAt: e.string().optional(),
|
|
46643
|
+
wabaId: e.string().optional()
|
|
46644
|
+
}).optional()
|
|
46645
|
+
});
|
|
46646
|
+
e.object({
|
|
46647
|
+
id: e.string()
|
|
46648
|
+
});
|
|
46649
|
+
e.object({
|
|
46650
|
+
accessToken: e.string().optional(),
|
|
46651
|
+
name: e.string().optional()
|
|
46652
|
+
});
|
|
46653
|
+
const rs = "PROVIDER_STATUS_UNSPECIFIED";
|
|
46654
|
+
e.object({
|
|
46655
|
+
item: e.object({
|
|
46656
|
+
createdAt: e.string().optional(),
|
|
46657
|
+
id: e.string().optional(),
|
|
46658
|
+
metaAppId: e.string().optional(),
|
|
46659
|
+
name: e.string().optional(),
|
|
46660
|
+
phoneDisplay: e.string().optional(),
|
|
46661
|
+
phoneNumberId: e.string().optional(),
|
|
46662
|
+
status: e.enum([
|
|
46663
|
+
"PROVIDER_STATUS_UNSPECIFIED",
|
|
46664
|
+
"PROVIDER_STATUS_ACTIVE",
|
|
46665
|
+
"PROVIDER_STATUS_INACTIVE",
|
|
46666
|
+
"PROVIDER_STATUS_ERROR"
|
|
46667
|
+
]).default(rs).describe(
|
|
46668
|
+
"/ ProviderStatus represents the operational state of a provider gateway."
|
|
46669
|
+
),
|
|
46670
|
+
updatedAt: e.string().optional(),
|
|
46671
|
+
wabaId: e.string().optional()
|
|
46672
|
+
}).optional()
|
|
46673
|
+
});
|
|
46213
46674
|
e.object({
|
|
46214
46675
|
page: e.number().optional(),
|
|
46215
46676
|
size: e.number().optional(),
|
|
@@ -46441,7 +46902,7 @@ e.object({
|
|
|
46441
46902
|
sort: e.string().optional(),
|
|
46442
46903
|
fields: e.array(e.string()).optional()
|
|
46443
46904
|
});
|
|
46444
|
-
const
|
|
46905
|
+
const ss = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
46445
46906
|
e.object({
|
|
46446
46907
|
items: e.array(
|
|
46447
46908
|
e.object({
|
|
@@ -46481,7 +46942,7 @@ e.object({
|
|
|
46481
46942
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
46482
46943
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
46483
46944
|
]).default(
|
|
46484
|
-
|
|
46945
|
+
ss
|
|
46485
46946
|
),
|
|
46486
46947
|
team: e.object({
|
|
46487
46948
|
id: e.string().optional(),
|
|
@@ -46497,7 +46958,7 @@ e.object({
|
|
|
46497
46958
|
).optional(),
|
|
46498
46959
|
next: e.boolean().optional()
|
|
46499
46960
|
});
|
|
46500
|
-
const
|
|
46961
|
+
const ls = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
46501
46962
|
e.object({
|
|
46502
46963
|
item: e.object({
|
|
46503
46964
|
agents: e.array(
|
|
@@ -46536,7 +46997,7 @@ e.object({
|
|
|
46536
46997
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
46537
46998
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
46538
46999
|
]).default(
|
|
46539
|
-
|
|
47000
|
+
ls
|
|
46540
47001
|
),
|
|
46541
47002
|
team: e.object({
|
|
46542
47003
|
id: e.string().optional(),
|
|
@@ -46550,7 +47011,7 @@ e.object({
|
|
|
46550
47011
|
}).optional()
|
|
46551
47012
|
}).optional()
|
|
46552
47013
|
});
|
|
46553
|
-
const
|
|
47014
|
+
const ps = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
46554
47015
|
e.object({
|
|
46555
47016
|
item: e.object({
|
|
46556
47017
|
agents: e.array(
|
|
@@ -46589,7 +47050,7 @@ e.object({
|
|
|
46589
47050
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
46590
47051
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
46591
47052
|
]).default(
|
|
46592
|
-
|
|
47053
|
+
ps
|
|
46593
47054
|
),
|
|
46594
47055
|
team: e.object({
|
|
46595
47056
|
id: e.string().optional(),
|
|
@@ -46615,7 +47076,7 @@ e.object({
|
|
|
46615
47076
|
e.object({
|
|
46616
47077
|
fields: e.array(e.string()).optional()
|
|
46617
47078
|
});
|
|
46618
|
-
const
|
|
47079
|
+
const cs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
46619
47080
|
e.object({
|
|
46620
47081
|
item: e.object({
|
|
46621
47082
|
agents: e.array(
|
|
@@ -46654,7 +47115,7 @@ e.object({
|
|
|
46654
47115
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
46655
47116
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
46656
47117
|
]).default(
|
|
46657
|
-
|
|
47118
|
+
cs
|
|
46658
47119
|
),
|
|
46659
47120
|
team: e.object({
|
|
46660
47121
|
id: e.string().optional(),
|
|
@@ -46717,7 +47178,7 @@ e.object({
|
|
|
46717
47178
|
e.object({
|
|
46718
47179
|
"item.id": e.string()
|
|
46719
47180
|
});
|
|
46720
|
-
const
|
|
47181
|
+
const ds = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
46721
47182
|
e.object({
|
|
46722
47183
|
item: e.object({
|
|
46723
47184
|
agents: e.array(
|
|
@@ -46755,7 +47216,7 @@ e.object({
|
|
|
46755
47216
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
46756
47217
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
46757
47218
|
]).default(
|
|
46758
|
-
|
|
47219
|
+
ds
|
|
46759
47220
|
),
|
|
46760
47221
|
team: e.object({
|
|
46761
47222
|
id: e.string().optional(),
|
|
@@ -46769,7 +47230,7 @@ e.object({
|
|
|
46769
47230
|
}).optional()
|
|
46770
47231
|
}).optional()
|
|
46771
47232
|
});
|
|
46772
|
-
const
|
|
47233
|
+
const bs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
46773
47234
|
e.object({
|
|
46774
47235
|
item: e.object({
|
|
46775
47236
|
agents: e.array(
|
|
@@ -46808,7 +47269,7 @@ e.object({
|
|
|
46808
47269
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
46809
47270
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
46810
47271
|
]).default(
|
|
46811
|
-
|
|
47272
|
+
bs
|
|
46812
47273
|
),
|
|
46813
47274
|
team: e.object({
|
|
46814
47275
|
id: e.string().optional(),
|
|
@@ -46847,9 +47308,9 @@ c();
|
|
|
46847
47308
|
b();
|
|
46848
47309
|
c();
|
|
46849
47310
|
b();
|
|
46850
|
-
const
|
|
47311
|
+
const gs = "/contacts/groups";
|
|
46851
47312
|
({
|
|
46852
|
-
...pe(
|
|
47313
|
+
...pe(gs)
|
|
46853
47314
|
});
|
|
46854
47315
|
c();
|
|
46855
47316
|
b();
|
|
@@ -46883,11 +47344,11 @@ b();
|
|
|
46883
47344
|
c();
|
|
46884
47345
|
b();
|
|
46885
47346
|
c();
|
|
46886
|
-
const
|
|
47347
|
+
const us = "/users";
|
|
46887
47348
|
({
|
|
46888
|
-
...pe(
|
|
47349
|
+
...pe(us)
|
|
46889
47350
|
});
|
|
46890
|
-
const
|
|
47351
|
+
const ms = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
|
|
46891
47352
|
const d = [
|
|
46892
47353
|
"page",
|
|
46893
47354
|
"size",
|
|
@@ -46896,8 +47357,8 @@ const ss = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
|
|
|
46896
47357
|
"fields",
|
|
46897
47358
|
"id",
|
|
46898
47359
|
"ids"
|
|
46899
|
-
], m =
|
|
46900
|
-
|
|
47360
|
+
], m = w(i, [
|
|
47361
|
+
x($()),
|
|
46901
47362
|
le("search"),
|
|
46902
47363
|
(p) => ({
|
|
46903
47364
|
...p,
|
|
@@ -46912,30 +47373,30 @@ const ss = c(), ce = async ({ path: o, display: t, primary: r, ...i }) => {
|
|
|
46912
47373
|
ae(o)
|
|
46913
47374
|
]);
|
|
46914
47375
|
try {
|
|
46915
|
-
const p = await
|
|
46916
|
-
|
|
47376
|
+
const p = await ms.get(m), { data: f, items: h, next: g } = w(p.data, [
|
|
47377
|
+
x(J())
|
|
46917
47378
|
]);
|
|
46918
47379
|
return {
|
|
46919
47380
|
// Some endpoints return data, some return items so we need to check for both of them
|
|
46920
|
-
items:
|
|
47381
|
+
items: w(f || h, [
|
|
46921
47382
|
// transformItemsForSelect({ display, primary }),
|
|
46922
47383
|
]) ?? [],
|
|
46923
47384
|
next: g
|
|
46924
47385
|
};
|
|
46925
47386
|
} catch (p) {
|
|
46926
|
-
throw
|
|
47387
|
+
throw w(p, [
|
|
46927
47388
|
z
|
|
46928
47389
|
]);
|
|
46929
47390
|
}
|
|
46930
|
-
},
|
|
47391
|
+
}, fs = (o) => ce({
|
|
46931
47392
|
...o,
|
|
46932
47393
|
fields: o.fields || [
|
|
46933
47394
|
"id",
|
|
46934
47395
|
"name"
|
|
46935
47396
|
]
|
|
46936
|
-
}),
|
|
47397
|
+
}), Is = {
|
|
46937
47398
|
getList: ce,
|
|
46938
|
-
getLookup:
|
|
47399
|
+
getLookup: fs
|
|
46939
47400
|
};
|
|
46940
47401
|
c();
|
|
46941
47402
|
b();
|
|
@@ -46944,14 +47405,14 @@ b();
|
|
|
46944
47405
|
c();
|
|
46945
47406
|
b();
|
|
46946
47407
|
export {
|
|
46947
|
-
|
|
46948
|
-
|
|
47408
|
+
Is as S,
|
|
47409
|
+
w as a,
|
|
46949
47410
|
W as b,
|
|
46950
47411
|
M as c,
|
|
46951
47412
|
le as d,
|
|
46952
47413
|
$ as e,
|
|
46953
47414
|
J as g,
|
|
46954
|
-
|
|
47415
|
+
x as m,
|
|
46955
47416
|
z as n,
|
|
46956
47417
|
se as s
|
|
46957
47418
|
};
|