@webitel/ui-sdk 26.8.112 → 26.8.113
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/{caseConverters-6cy_SaV5.js → caseConverters-DGri4uJo.js} +1 -1
- package/dist/{clients-Be8f1qoM.js → clients-CWniSi77.js} +255 -163
- package/dist/{components-GY1xFZWr.js → components-DJVzkzrr.js} +301 -301
- package/dist/{composables-Vg-QfE_2.js → composables-BeyROIj_.js} +2 -2
- package/dist/{convertDuration-heRoQzks.js → convertDuration-BOe9PsRT.js} +1 -1
- package/dist/{deep-copy-7O5ej7vT.js → deep-copy-BJdHBMNZ.js} +1 -1
- package/dist/{dist-DJZOILzq.js → dist-CnyqtIg9.js} +1 -1
- package/dist/{dist-DB8lC4KJ.js → dist-EXdgfpvN.js} +44 -44
- package/dist/{enums-BDtfwdQu.js → enums-CsINFPBu.js} +133 -11
- package/dist/{genClient-5JkKKac8.js → genClient-CvWlQ0TZ.js} +2 -2
- package/dist/ui-sdk.js +16 -16
- package/dist/ui-sdk.umd.cjs +691 -656
- package/dist/{useValidation-B4q8qUvG.js → useValidation-KcXmMBtR.js} +2 -2
- package/dist/{useWtTable-CUpN0LZ5.js → useWtTable-AYb1yHre.js} +1 -1
- package/dist/{utils-DaacyMAw.js → utils-DHSDTqJG.js} +1 -1
- package/dist/vue-i18n-VBiROMZ4.js +3031 -0
- package/dist/{vue-router-CobN9tLi.js → vue-router-C9sRzLyg.js} +1 -1
- package/dist/{wt-action-bar-DJ_xvqhE.js → wt-action-bar-TwclxZyb.js} +3 -3
- package/dist/{wt-badge-C8O4Oarp.js → wt-badge-DbplVXor.js} +1 -1
- package/dist/{wt-button-BmBqpEkp.js → wt-button-rUZKbswL.js} +4 -4
- package/dist/{wt-chat-emoji-E6MiDOCz.js → wt-chat-emoji-BATwPh2q.js} +4 -4
- package/dist/{wt-datepicker-C1kACub3.js → wt-datepicker-C4wrYXt9.js} +11 -11
- package/dist/{wt-display-chip-items-Dr6QjwFR.js → wt-display-chip-items-N20vx27z.js} +2 -2
- package/dist/{wt-dual-panel-D5TCilWN.js → wt-dual-panel-CjWwG7y6.js} +7 -7
- package/dist/{wt-expansion-card-2wdr_Hpi.js → wt-expansion-card-vv5ctpfw.js} +2 -2
- package/dist/{wt-expansion-panel-DP8zz2tS.js → wt-expansion-panel-3tx3DGUp.js} +1 -1
- package/dist/{wt-galleria-iRpRiDc6.js → wt-galleria-DcZRuekj.js} +2 -2
- package/dist/{wt-icon-CZlhT7Yb.js → wt-icon-B4wxzcVG.js} +4 -4
- package/dist/{wt-icon-action-BXg3jVf6.js → wt-icon-action-CTPCemTs.js} +2 -2
- package/dist/{wt-icon-btn-C8xuTCJR.js → wt-icon-btn-D3lG7Acn.js} +1 -1
- package/dist/{wt-notifications-bar-BDOKlHao.js → wt-notifications-bar-BMV-0Vmo.js} +2 -2
- package/dist/{wt-player-Dqlccj2F.js → wt-player-DBsbjt_l.js} +5 -5
- package/dist/{wt-popover-DuZFw3bg.js → wt-popover-BI6YyXy0.js} +1 -1
- package/dist/{wt-screen-recordings-action-biHVl6lR.js → wt-screen-recordings-action-D2PKGnNl.js} +1 -1
- package/dist/{wt-search-bar-ByF2Wjsg.js → wt-search-bar-CFANAMNQ.js} +1 -1
- package/dist/{wt-selection-popup-Bd4EuLl-.js → wt-selection-popup-Dei_JZah.js} +1 -1
- package/dist/{wt-send-message-popup-BL9aJz5t.js → wt-send-message-popup-DSZ7srx4.js} +7 -7
- package/dist/{wt-slider-Co6hZQu_.js → wt-slider-x-Tch7RT.js} +1 -1
- package/dist/{wt-start-page-Bp7b0ir-.js → wt-start-page-2Bdzg5V5.js} +1 -1
- package/dist/{wt-status-select-BOmAd__4.js → wt-status-select-Bgtu5WrX.js} +11 -11
- package/dist/{wt-table-RK0pOlzR.js → wt-table-DMEjT0xF.js} +6 -6
- package/dist/{wt-table-column-select-BtFhZKPT.js → wt-table-column-select-DzXaRs03.js} +3 -3
- package/dist/{wt-timepicker-C4kMPkNd.js → wt-timepicker-B-ZZUyDZ.js} +5 -5
- package/dist/{wt-toast-DbYB-u-k.js → wt-toast-pXV44Y3v.js} +10 -10
- package/dist/{wt-tree-BH2o2iCt.js → wt-tree-Cu_yRDjp.js} +98 -98
- package/dist/{wt-tree-table-CCaiVeY_.js → wt-tree-table-BET1GUgf.js} +2 -2
- package/dist/wt-type-extension-value-input-B1-ScgJm.js +14743 -0
- package/dist/{wt-vidstack-player-u4R9q51f.js → wt-vidstack-player-C_EdEZ8v.js} +6 -6
- package/package.json +1 -1
- package/src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue +19 -5
- package/src/modules/Userinfo/composables/useLookupFieldReadAccess.ts +54 -0
- package/src/modules/Userinfo/index.ts +10 -0
- package/src/modules/Userinfo/injection/filterReadAccess.ts +21 -0
- package/src/modules/Userinfo/mappings/lookupPathToScopeClass.ts +53 -0
- package/src/modules/Userinfo/scripts/typeObjectClass.ts +55 -0
- package/src/modules/Userinfo/stores/userinfoStore.ts +13 -2
- package/types/.tsbuildinfo +1 -1
- package/types/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue.d.ts +11 -4
- package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +1 -1
- package/types/modules/Flow/lookups/FlowTypeApplications.lookup.d.ts +5 -5
- package/types/modules/Userinfo/composables/useLookupFieldReadAccess.d.ts +14 -0
- package/types/modules/Userinfo/index.d.ts +2 -0
- package/types/modules/Userinfo/injection/filterReadAccess.d.ts +7 -0
- package/types/modules/Userinfo/mappings/lookupPathToScopeClass.d.ts +3 -0
- package/types/modules/Userinfo/scripts/typeObjectClass.d.ts +2 -0
- package/types/modules/Userinfo/stores/userinfoStore.d.ts +25 -15
- package/dist/vue-i18n-B88GcHzn.js +0 -2275
- package/dist/wt-type-extension-value-input-DaSIbXbu.js +0 -109
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as n, i as r, n as i, t as a } from "./genClient-
|
|
3
|
-
import { i as o, r as s } from "./caseConverters-
|
|
4
|
-
import { i as c, l, s as u } from "./convertDuration-
|
|
5
|
-
import {
|
|
6
|
-
import { t as f } from "./deep-copy-
|
|
1
|
+
import { c as e, r as t } from "./dist-EXdgfpvN.js";
|
|
2
|
+
import { a as n, i as r, n as i, t as a } from "./genClient-CvWlQ0TZ.js";
|
|
3
|
+
import { i as o, r as s } from "./caseConverters-DGri4uJo.js";
|
|
4
|
+
import { i as c, l, s as u } from "./convertDuration-BOe9PsRT.js";
|
|
5
|
+
import { b as d } from "./enums-CsINFPBu.js";
|
|
6
|
+
import { t as f } from "./deep-copy-BJdHBMNZ.js";
|
|
7
7
|
import { get as p, set as m } from "lodash-es";
|
|
8
8
|
import * as h from "zod";
|
|
9
9
|
import { z as g } from "zod";
|
|
@@ -28,7 +28,7 @@ var v = (e) => e.keyof().options, y = {
|
|
|
28
28
|
skipEmptyString: !0,
|
|
29
29
|
skipNull: !0,
|
|
30
30
|
arrayFormat: "repeat"
|
|
31
|
-
})}`, T = /* @__PURE__ */ t((
|
|
31
|
+
})}`, T = /* @__PURE__ */ t(((e, t) => {
|
|
32
32
|
var n = function(e) {
|
|
33
33
|
return r(e) && !i(e);
|
|
34
34
|
};
|
|
@@ -96,7 +96,7 @@ var v = (e) => e.keyof().options, y = {
|
|
|
96
96
|
return g(e, n, t);
|
|
97
97
|
}, {});
|
|
98
98
|
}, t.exports = g;
|
|
99
|
-
}))
|
|
99
|
+
})), E = /* @__PURE__ */ e(T(), 1), D = (...e) => (t) => E.default.all([...e, t]), O = (...e) => (t) => t.map((t) => E.default.all([...e, t])), ee = {
|
|
100
100
|
eventBus: null,
|
|
101
101
|
i18n: null
|
|
102
102
|
};
|
|
@@ -104,7 +104,7 @@ var v = (e) => e.keyof().options, y = {
|
|
|
104
104
|
//#region packages/api-services/src/api/transformers/notify/notify.transformer.ts
|
|
105
105
|
function k(e) {
|
|
106
106
|
if (typeof e == "function") {
|
|
107
|
-
let t = ({ type: e, text: t }) =>
|
|
107
|
+
let t = ({ type: e, text: t }) => ee.eventBus?.$emit("notification", {
|
|
108
108
|
type: e,
|
|
109
109
|
text: t
|
|
110
110
|
});
|
|
@@ -112,7 +112,7 @@ function k(e) {
|
|
|
112
112
|
}
|
|
113
113
|
if (e instanceof Error) {
|
|
114
114
|
let { response: t } = e, n = t?.data?.translation || t?.data?.detail || t?.data?.message || e;
|
|
115
|
-
|
|
115
|
+
ee.eventBus?.$emit("notification", {
|
|
116
116
|
type: "error",
|
|
117
117
|
text: n
|
|
118
118
|
});
|
|
@@ -121,10 +121,10 @@ function k(e) {
|
|
|
121
121
|
}
|
|
122
122
|
//#endregion
|
|
123
123
|
//#region packages/api-services/src/api/transformers/sanitize/sanitize.transformer.ts
|
|
124
|
-
var A = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), j = (e = []) => (t) => o(t, e),
|
|
125
|
-
let n = (0,
|
|
124
|
+
var A = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), j = (e = []) => (t) => o(t, e), te = /* @__PURE__ */ e(f(), 1), M = (e = "search") => (t) => {
|
|
125
|
+
let n = (0, te.default)(t), r = p(n, e);
|
|
126
126
|
return !r || r.slice(-1) === "*" ? n : m(n, e, `${r}*`);
|
|
127
|
-
},
|
|
127
|
+
}, ne = "acl", re = (e) => e.map((e) => ({
|
|
128
128
|
...e,
|
|
129
129
|
access: {
|
|
130
130
|
x: {
|
|
@@ -156,7 +156,7 @@ var A = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n
|
|
|
156
156
|
"fields",
|
|
157
157
|
"id"
|
|
158
158
|
], a = { user: !1 }, o = S(r, [
|
|
159
|
-
|
|
159
|
+
D(x()),
|
|
160
160
|
M("search"),
|
|
161
161
|
(e) => ({
|
|
162
162
|
...e,
|
|
@@ -164,12 +164,12 @@ var A = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n
|
|
|
164
164
|
}),
|
|
165
165
|
A(i),
|
|
166
166
|
C(),
|
|
167
|
-
w(`${e}/${n}/${
|
|
167
|
+
w(`${e}/${n}/${ne}`)
|
|
168
168
|
]);
|
|
169
169
|
try {
|
|
170
|
-
let { items: e, next: n } = S((await t.get(o)).data, [j(),
|
|
170
|
+
let { items: e, next: n } = S((await t.get(o)).data, [j(), D(b())]);
|
|
171
171
|
return {
|
|
172
|
-
items: S(e, [
|
|
172
|
+
items: S(e, [O(a), re]),
|
|
173
173
|
next: n
|
|
174
174
|
};
|
|
175
175
|
} catch (e) {
|
|
@@ -177,7 +177,7 @@ var A = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n
|
|
|
177
177
|
}
|
|
178
178
|
},
|
|
179
179
|
patchPermissions: async ({ changes: n, id: r }) => {
|
|
180
|
-
let i = S(n, [C()]), a = `${e}/${r}/${
|
|
180
|
+
let i = S(n, [C()]), a = `${e}/${r}/${ne}`;
|
|
181
181
|
try {
|
|
182
182
|
return S((await t.patch(a, i)).data, [j()]);
|
|
183
183
|
} catch (e) {
|
|
@@ -284,7 +284,7 @@ h.object({
|
|
|
284
284
|
"object.name": h.string().describe("display name"),
|
|
285
285
|
"object.id": h.string().describe("identifier")
|
|
286
286
|
});
|
|
287
|
-
var
|
|
287
|
+
var ie = h.object({
|
|
288
288
|
grantee: h.string().optional(),
|
|
289
289
|
grants: h.string().optional(),
|
|
290
290
|
object: h.object({
|
|
@@ -292,7 +292,7 @@ var re = h.object({
|
|
|
292
292
|
name: h.string().optional()
|
|
293
293
|
}).optional()
|
|
294
294
|
});
|
|
295
|
-
h.array(
|
|
295
|
+
h.array(ie), h.object({
|
|
296
296
|
granted: h.string().optional(),
|
|
297
297
|
revoked: h.string().optional()
|
|
298
298
|
}), h.object({
|
|
@@ -5866,7 +5866,7 @@ h.object({
|
|
|
5866
5866
|
next: h.boolean().optional(),
|
|
5867
5867
|
page: h.string().optional()
|
|
5868
5868
|
}), h.object({ case_etag: h.string().describe("new comment link") });
|
|
5869
|
-
var
|
|
5869
|
+
var ae = h.object({
|
|
5870
5870
|
fields: h.array(h.string()).optional().describe("result fields needed on the front-end for each comment"),
|
|
5871
5871
|
"input.etag": h.string().optional(),
|
|
5872
5872
|
"input.url": h.string().optional(),
|
|
@@ -6450,7 +6450,7 @@ h.object({
|
|
|
6450
6450
|
fields: h.array(h.string()).optional().describe("List of fields to include in the response."),
|
|
6451
6451
|
disableTrigger: h.boolean().optional().describe("Indicates whether to disable the trigger after the application execution.\nDefault is false (trigger **will** be executed).\nSet to true to explicitly prevent the trigger from running (e.g., when called from another trigger or internal flow).\nто\n[WTEL-7055]")
|
|
6452
6452
|
});
|
|
6453
|
-
var
|
|
6453
|
+
var oe = h.object({
|
|
6454
6454
|
assignee: h.object({
|
|
6455
6455
|
id: h.string().optional(),
|
|
6456
6456
|
name: h.string().optional()
|
|
@@ -8121,7 +8121,7 @@ h.object({
|
|
|
8121
8121
|
fields: h.array(h.string()).optional().describe("List of fields to include in the response."),
|
|
8122
8122
|
disableTrigger: h.boolean().optional().describe("Indicates whether to disable the trigger after the application execution.\nDefault is false (trigger **will** be executed).\nSet to true to explicitly prevent the trigger from running (e.g., when called from another trigger or internal flow).\n\n[WTEL-7055]")
|
|
8123
8123
|
});
|
|
8124
|
-
var
|
|
8124
|
+
var se = h.object({
|
|
8125
8125
|
assignee: h.object({
|
|
8126
8126
|
id: h.string().optional(),
|
|
8127
8127
|
name: h.string().optional()
|
|
@@ -10297,7 +10297,7 @@ h.object({
|
|
|
10297
10297
|
contact_id: h.string().describe("Contact ID associated with."),
|
|
10298
10298
|
etag: h.array(h.string()).min(1).describe("Set of unique ID(s) to remove.")
|
|
10299
10299
|
}), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
|
|
10300
|
-
var
|
|
10300
|
+
var ce = h.object({
|
|
10301
10301
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
10302
10302
|
created_by: h.object({
|
|
10303
10303
|
id: h.string().optional().describe("Reference Object unique ID."),
|
|
@@ -10326,7 +10326,7 @@ var se = h.object({
|
|
|
10326
10326
|
}).optional().describe("The user who performed last Update."),
|
|
10327
10327
|
ver: h.int().optional().describe("Version of the latest update. Numeric sequence.")
|
|
10328
10328
|
});
|
|
10329
|
-
h.array(
|
|
10329
|
+
h.array(ce), h.object({
|
|
10330
10330
|
contact_id: h.string().describe("Contact ID associated with."),
|
|
10331
10331
|
etag: h.string().describe("Unique ID of the latest version of an existing resorce.")
|
|
10332
10332
|
}), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") }), h.object({
|
|
@@ -10711,7 +10711,7 @@ h.array(se), h.object({
|
|
|
10711
10711
|
next: h.boolean().optional(),
|
|
10712
10712
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
10713
10713
|
}).describe("Contact groups dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactGroupList.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
|
|
10714
|
-
var
|
|
10714
|
+
var le = h.object({
|
|
10715
10715
|
etag: h.string().describe("Unique ID of the latest version of an existing resource."),
|
|
10716
10716
|
group: h.object({
|
|
10717
10717
|
id: h.string().optional().describe("Reference Object unique ID."),
|
|
@@ -10719,7 +10719,7 @@ var ce = h.object({
|
|
|
10719
10719
|
type: h.string().optional().describe("Reference Object well-known type.")
|
|
10720
10720
|
}).optional().describe("Group of contacts associated.")
|
|
10721
10721
|
}).describe("An input of the Contact's groups.");
|
|
10722
|
-
h.array(
|
|
10722
|
+
h.array(le), h.object({
|
|
10723
10723
|
data: h.array(h.object({
|
|
10724
10724
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
10725
10725
|
created_by: h.object({
|
|
@@ -10745,7 +10745,7 @@ h.array(ce), h.object({
|
|
|
10745
10745
|
next: h.boolean().optional(),
|
|
10746
10746
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
10747
10747
|
}).describe("Contact groups dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactGroupList.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
|
|
10748
|
-
var
|
|
10748
|
+
var ue = h.object({
|
|
10749
10749
|
etag: h.string().describe("Unique ID of the latest version of an existing resource."),
|
|
10750
10750
|
group: h.object({
|
|
10751
10751
|
id: h.string().optional().describe("Reference Object unique ID."),
|
|
@@ -10753,7 +10753,7 @@ var le = h.object({
|
|
|
10753
10753
|
type: h.string().optional().describe("Reference Object well-known type.")
|
|
10754
10754
|
}).optional().describe("Group of contacts associated.")
|
|
10755
10755
|
}).describe("An input of the Contact's groups.");
|
|
10756
|
-
h.array(
|
|
10756
|
+
h.array(ue), h.object({
|
|
10757
10757
|
data: h.array(h.object({
|
|
10758
10758
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
10759
10759
|
created_by: h.object({
|
|
@@ -10904,7 +10904,7 @@ h.array(le), h.object({
|
|
|
10904
10904
|
}), h.object({ conversation_id: h.string() }), h.object({ contact_id: h.string().optional() }), h.looseObject({});
|
|
10905
10905
|
//#endregion
|
|
10906
10906
|
//#region packages/api-services/src/gen-wire/contacts/contacts.ts
|
|
10907
|
-
var
|
|
10907
|
+
var de = h.object({
|
|
10908
10908
|
page: h.int().optional().describe("Page number of result records. _default(1); offset=(size*(page-1));_\n\n```javascript\nlet\n offset = 0\n , page = req.page\n;\nif (page <= 0)\n page = 1;\nif (page > 1)\n offset = ((page-1)*size);\n// . . .\n```"),
|
|
10909
10909
|
size: h.int().optional().describe("Limit of result page records count. _default(16); limit=(size<=0?-1:size+1);_\n\n```javascript\nconst\n default = 16\n , maximum = 32\n;\nlet limit = req.size;\nif (limit <= 0)\n limit = default;\nif (maximum < limit)\n limit = maximum;\n// . . .\n```"),
|
|
10910
10910
|
q: h.string().optional().describe("Search term:\n`?` - matches any character\n`*` - matches 0 or more characters\nUsed to query records within a set of `qin` fields, eg: name,emails{type},labels etc..."),
|
|
@@ -11237,7 +11237,7 @@ h.object({
|
|
|
11237
11237
|
next: h.boolean().optional(),
|
|
11238
11238
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
11239
11239
|
}).describe("Contact dataset."), h.object({ fields: h.array(h.string()).optional().describe("Source Fields to return into result.") });
|
|
11240
|
-
var
|
|
11240
|
+
var fe = h.object({
|
|
11241
11241
|
about: h.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
|
|
11242
11242
|
comments: h.array(h.object({
|
|
11243
11243
|
etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
@@ -11637,7 +11637,7 @@ h.object({
|
|
|
11637
11637
|
}).optional().describe("Arbitrary client data that is populated by clients.\nDuplicate keys and values are allowed."),
|
|
11638
11638
|
ver: h.int().optional().describe("READONLY. Operational attributes\nVersion of the latest update. Numeric sequence.")
|
|
11639
11639
|
}).describe("The Contact principal source.\nOUTPUT purpose only."), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
|
|
11640
|
-
var
|
|
11640
|
+
var pe = h.object({
|
|
11641
11641
|
about: h.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
|
|
11642
11642
|
comments: h.array(h.object({
|
|
11643
11643
|
etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
@@ -11727,7 +11727,7 @@ var fe = h.object({
|
|
|
11727
11727
|
value: h.unknown().optional().describe("NEW Value.")
|
|
11728
11728
|
}).describe("Input of the Contact's variable.")).optional().describe("Arbitrary client data that is populated by clients.")
|
|
11729
11729
|
}).describe("The Contact principal input.");
|
|
11730
|
-
h.array(
|
|
11730
|
+
h.array(pe), h.object({
|
|
11731
11731
|
data: h.array(h.object({
|
|
11732
11732
|
about: h.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
|
|
11733
11733
|
comments: h.object({
|
|
@@ -12768,7 +12768,7 @@ h.array(fe), h.object({
|
|
|
12768
12768
|
}).optional().describe("Arbitrary client data that is populated by clients.\nDuplicate keys and values are allowed."),
|
|
12769
12769
|
ver: h.int().optional().describe("READONLY. Operational attributes\nVersion of the latest update. Numeric sequence.")
|
|
12770
12770
|
}).describe("The Contact principal source.\nOUTPUT purpose only."), h.object({ etag: h.string().describe("Unique ID of the latest version of an existing resorce.") }), h.object({ fields: h.array(h.string()).optional().describe("Source Fields to return into result.") });
|
|
12771
|
-
var
|
|
12771
|
+
var me = h.object({
|
|
12772
12772
|
about: h.string().optional().describe("BIO. Short description about the Contact person.\nOPTIONAL. Multi-lined text."),
|
|
12773
12773
|
comments: h.array(h.object({
|
|
12774
12774
|
etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
@@ -13941,8 +13941,8 @@ h.object({
|
|
|
13941
13941
|
id: h.string().optional(),
|
|
13942
13942
|
permanent: h.boolean().optional()
|
|
13943
13943
|
});
|
|
13944
|
-
var
|
|
13945
|
-
h.array(
|
|
13944
|
+
var he = h.string();
|
|
13945
|
+
h.array(he), h.object({ deleted: h.array(h.object({
|
|
13946
13946
|
account: h.string().optional().describe("username"),
|
|
13947
13947
|
brand: h.string().optional().describe("vendor brand name"),
|
|
13948
13948
|
created_at: h.string().optional(),
|
|
@@ -16286,7 +16286,7 @@ h.array(me), h.object({ deleted: h.array(h.object({
|
|
|
16286
16286
|
next: h.boolean().optional().describe("Have more records."),
|
|
16287
16287
|
page: h.int().optional().describe("Page number of the partial result.")
|
|
16288
16288
|
}).describe("A list of Conditions."), h.object({ group_id: h.string().describe("The ID of the group to which the condition belongs.") });
|
|
16289
|
-
var
|
|
16289
|
+
var ge = h.object({
|
|
16290
16290
|
assignee: h.object({
|
|
16291
16291
|
id: h.string().optional().describe("Reference Object unique ID."),
|
|
16292
16292
|
name: h.string().optional().describe("Reference Object display name."),
|
|
@@ -16548,7 +16548,7 @@ h.object({
|
|
|
16548
16548
|
type: h.string().optional().describe("Reference Object well-known type.")
|
|
16549
16549
|
}).optional().describe("The user who performed the last update.")
|
|
16550
16550
|
}), h.object({ id: h.string().describe("The unique ID of the dynamic group to update.") });
|
|
16551
|
-
var
|
|
16551
|
+
var _e = h.object({
|
|
16552
16552
|
default_group: h.object({
|
|
16553
16553
|
id: h.string().optional().describe("Reference Object unique ID."),
|
|
16554
16554
|
name: h.string().optional().describe("Reference Object display name."),
|
|
@@ -17047,7 +17047,7 @@ h.array(F), h.object({
|
|
|
17047
17047
|
next: h.boolean().optional(),
|
|
17048
17048
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
17049
17049
|
}).describe("Email dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
|
|
17050
|
-
var
|
|
17050
|
+
var ve = h.object({
|
|
17051
17051
|
email: h.string().describe("The email address."),
|
|
17052
17052
|
etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
17053
17053
|
primary: h.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
|
|
@@ -17058,7 +17058,7 @@ var _e = h.object({
|
|
|
17058
17058
|
}).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
|
|
17059
17059
|
verified: h.boolean().optional()
|
|
17060
17060
|
}).describe("Input of the Contact's email address.");
|
|
17061
|
-
h.array(
|
|
17061
|
+
h.array(ve), h.object({
|
|
17062
17062
|
data: h.array(h.object({
|
|
17063
17063
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
17064
17064
|
created_by: h.object({
|
|
@@ -17184,7 +17184,7 @@ h.array(_e), h.object({
|
|
|
17184
17184
|
contact_id: h.string().describe("Link contact ID."),
|
|
17185
17185
|
etag: h.string().describe("Unique ID of the latest version of an existing resorce.")
|
|
17186
17186
|
}), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
|
|
17187
|
-
var
|
|
17187
|
+
var ye = h.object({
|
|
17188
17188
|
email: h.string().describe("The email address."),
|
|
17189
17189
|
primary: h.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
|
|
17190
17190
|
type: h.object({
|
|
@@ -20134,7 +20134,7 @@ h.object({
|
|
|
20134
20134
|
type: h.string().optional().describe("Reference Object well-known type.")
|
|
20135
20135
|
}).optional().describe("The user who performed the last update.")
|
|
20136
20136
|
}), h.object({ id: h.string().describe("The unique ID of the group to update.") });
|
|
20137
|
-
var
|
|
20137
|
+
var be = h.object({
|
|
20138
20138
|
description: h.string().optional().describe("The new description of the group."),
|
|
20139
20139
|
enabled: h.boolean().optional().describe("The new enabled status of the group."),
|
|
20140
20140
|
name: h.string().optional().describe("The new name of the group.")
|
|
@@ -20472,11 +20472,11 @@ h.object({
|
|
|
20472
20472
|
next: h.boolean().optional(),
|
|
20473
20473
|
page: h.int().optional().describe("Page number of partial result.")
|
|
20474
20474
|
}).describe("LabelList dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result.") });
|
|
20475
|
-
var
|
|
20475
|
+
var xe = h.object({
|
|
20476
20476
|
etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
20477
20477
|
label: h.string().optional().describe("REQUIRED. Hashtag value;\nNOTE: Keep in mind, hashtags are not case-sensitive,\nbut adding capital letters does make them easier to read:\n#MakeAWish vs. #makeawish.")
|
|
20478
20478
|
}).describe("A Contact's associated Tag.\nOutput purpose only.");
|
|
20479
|
-
h.array(
|
|
20479
|
+
h.array(xe), h.object({
|
|
20480
20480
|
data: h.array(h.object({
|
|
20481
20481
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
20482
20482
|
created_by: h.object({
|
|
@@ -20498,11 +20498,11 @@ h.array(be), h.object({
|
|
|
20498
20498
|
next: h.boolean().optional(),
|
|
20499
20499
|
page: h.int().optional().describe("Page number of partial result.")
|
|
20500
20500
|
}).describe("LabelList dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result.") });
|
|
20501
|
-
var
|
|
20501
|
+
var Se = h.object({
|
|
20502
20502
|
etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
20503
20503
|
label: h.string().optional().describe("REQUIRED. Hashtag value;\nNOTE: Keep in mind, hashtags are not case-sensitive,\nbut adding capital letters does make them easier to read:\n#MakeAWish vs. #makeawish.")
|
|
20504
20504
|
}).describe("A Contact's associated Tag.\nOutput purpose only.");
|
|
20505
|
-
h.array(
|
|
20505
|
+
h.array(Se), h.object({
|
|
20506
20506
|
data: h.array(h.object({
|
|
20507
20507
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
20508
20508
|
created_by: h.object({
|
|
@@ -20593,12 +20593,12 @@ h.array(xe), h.object({
|
|
|
20593
20593
|
next: h.boolean().optional(),
|
|
20594
20594
|
page: h.int().optional().describe("Page number of partial result dataset records.")
|
|
20595
20595
|
}).describe("LabelsData\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
|
|
20596
|
-
var
|
|
20596
|
+
var Ce = h.object({
|
|
20597
20597
|
etag: h.string().describe("Unique ID of the latest version of an existing association."),
|
|
20598
20598
|
primary: h.boolean().optional().describe("Indicates whether this association must be default\namong others of the same type."),
|
|
20599
20599
|
tag: h.string().optional()
|
|
20600
20600
|
}).describe("An input of the Contact's language.");
|
|
20601
|
-
h.array(
|
|
20601
|
+
h.array(Ce), h.object({
|
|
20602
20602
|
data: h.array(h.object({
|
|
20603
20603
|
code: h.string().optional(),
|
|
20604
20604
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
@@ -20626,12 +20626,12 @@ h.array(Se), h.object({
|
|
|
20626
20626
|
next: h.boolean().optional(),
|
|
20627
20627
|
page: h.int().optional().describe("Page number of partial result dataset records.")
|
|
20628
20628
|
}).describe("LabelsData\nNOTE: Edge represents connection between two nodes.\nSo this ContactLabels.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Contact ID associated with.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
|
|
20629
|
-
var
|
|
20629
|
+
var we = h.object({
|
|
20630
20630
|
etag: h.string().describe("Unique ID of the latest version of an existing association."),
|
|
20631
20631
|
primary: h.boolean().optional().describe("Indicates whether this association must be default\namong others of the same type."),
|
|
20632
20632
|
tag: h.string().optional()
|
|
20633
20633
|
}).describe("An input of the Contact's language.");
|
|
20634
|
-
h.array(
|
|
20634
|
+
h.array(we), h.object({
|
|
20635
20635
|
data: h.array(h.object({
|
|
20636
20636
|
code: h.string().optional(),
|
|
20637
20637
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
@@ -22444,7 +22444,7 @@ h.array(Ce), h.object({
|
|
|
22444
22444
|
fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result."),
|
|
22445
22445
|
etag: h.array(h.string()).describe("Set of unique ID(s) to remove.")
|
|
22446
22446
|
});
|
|
22447
|
-
var
|
|
22447
|
+
var Te = h.object({
|
|
22448
22448
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
22449
22449
|
created_by: h.object({
|
|
22450
22450
|
id: h.string().optional().describe("Reference Object unique ID."),
|
|
@@ -22467,7 +22467,7 @@ var we = h.object({
|
|
|
22467
22467
|
}).optional().describe("Responsible User."),
|
|
22468
22468
|
ver: h.int().optional().describe("Version of the latest update. Numeric sequence.")
|
|
22469
22469
|
}).describe("Manager. The Contact's responsible User.");
|
|
22470
|
-
h.array(
|
|
22470
|
+
h.array(Te), h.object({ contact_id: h.string().describe("Contact ID associated with.") }), h.object({
|
|
22471
22471
|
page: h.int().optional().describe("Page number of result. offset = ((page-1)*size)"),
|
|
22472
22472
|
size: h.int().optional().describe("Size of result page. limit = (size++)"),
|
|
22473
22473
|
q: h.string().optional().describe("Search term: user name;\n`?` - matches any one character\n`*` - matches 0 or more characters"),
|
|
@@ -22501,7 +22501,7 @@ h.array(we), h.object({ contact_id: h.string().describe("Contact ID associated w
|
|
|
22501
22501
|
next: h.boolean().optional(),
|
|
22502
22502
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
22503
22503
|
}).describe("Manager dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
|
|
22504
|
-
var
|
|
22504
|
+
var Ee = h.object({
|
|
22505
22505
|
etag: h.string().describe("Unique ID of the latest version of an existing resource."),
|
|
22506
22506
|
primary: h.boolean().optional().describe("Indicates whether this association must be default among others."),
|
|
22507
22507
|
user: h.object({
|
|
@@ -22510,7 +22510,7 @@ var Te = h.object({
|
|
|
22510
22510
|
type: h.string().optional().describe("Reference Object well-known type.")
|
|
22511
22511
|
}).optional().describe("Responsible User.")
|
|
22512
22512
|
});
|
|
22513
|
-
h.array(
|
|
22513
|
+
h.array(Ee), h.object({
|
|
22514
22514
|
data: h.array(h.object({
|
|
22515
22515
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
22516
22516
|
created_by: h.object({
|
|
@@ -22537,7 +22537,7 @@ h.array(Te), h.object({
|
|
|
22537
22537
|
next: h.boolean().optional(),
|
|
22538
22538
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
22539
22539
|
}).describe("Manager dataset."), h.object({ contact_id: h.string().describe("Contact ID associated with.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
|
|
22540
|
-
var
|
|
22540
|
+
var De = h.object({
|
|
22541
22541
|
etag: h.string().describe("Unique ID of the latest version of an existing resource."),
|
|
22542
22542
|
primary: h.boolean().optional().describe("Indicates whether this association must be default among others."),
|
|
22543
22543
|
user: h.object({
|
|
@@ -22546,7 +22546,7 @@ var Ee = h.object({
|
|
|
22546
22546
|
type: h.string().optional().describe("Reference Object well-known type.")
|
|
22547
22547
|
}).optional().describe("Responsible User.")
|
|
22548
22548
|
});
|
|
22549
|
-
h.array(
|
|
22549
|
+
h.array(De), h.object({
|
|
22550
22550
|
data: h.array(h.object({
|
|
22551
22551
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
22552
22552
|
created_by: h.object({
|
|
@@ -24586,7 +24586,7 @@ h.array(Ee), h.object({
|
|
|
24586
24586
|
next: h.boolean().optional(),
|
|
24587
24587
|
page: h.int().optional()
|
|
24588
24588
|
});
|
|
24589
|
-
var
|
|
24589
|
+
var Oe = h.object({
|
|
24590
24590
|
auth_url: h.string().optional(),
|
|
24591
24591
|
claims: h.array(h.object({
|
|
24592
24592
|
type: h.string().optional(),
|
|
@@ -25911,7 +25911,7 @@ h.array(I), h.object({
|
|
|
25911
25911
|
next: h.boolean().optional(),
|
|
25912
25912
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
25913
25913
|
}).describe("PhoneNumber dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
|
|
25914
|
-
var
|
|
25914
|
+
var ke = h.object({
|
|
25915
25915
|
etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
25916
25916
|
number: h.string().describe("The phone number."),
|
|
25917
25917
|
primary: h.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
|
|
@@ -25922,7 +25922,7 @@ var Oe = h.object({
|
|
|
25922
25922
|
}).optional().describe("Lookup reference information.\nSimplified search filter to uniquely identify related object."),
|
|
25923
25923
|
verified: h.boolean().optional()
|
|
25924
25924
|
}).describe("Input of the contact phone number.");
|
|
25925
|
-
h.array(
|
|
25925
|
+
h.array(ke), h.object({
|
|
25926
25926
|
data: h.array(h.object({
|
|
25927
25927
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
25928
25928
|
created_by: h.object({
|
|
@@ -26048,7 +26048,7 @@ h.array(Oe), h.object({
|
|
|
26048
26048
|
contact_id: h.string().describe("The Contact ID to be associated with."),
|
|
26049
26049
|
etag: h.string().describe("Unique ID of the latest version of an existing resorce.")
|
|
26050
26050
|
}), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
|
|
26051
|
-
var
|
|
26051
|
+
var Ae = h.object({
|
|
26052
26052
|
number: h.string().describe("The phone number."),
|
|
26053
26053
|
primary: h.boolean().optional().describe("Indicates whether this phone number is default within other channels of the same type(phone)."),
|
|
26054
26054
|
type: h.object({
|
|
@@ -26144,13 +26144,13 @@ h.object({
|
|
|
26144
26144
|
next: h.boolean().optional(),
|
|
26145
26145
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
26146
26146
|
}).describe("Photo dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
|
|
26147
|
-
var
|
|
26147
|
+
var je = h.object({
|
|
26148
26148
|
etag: h.string().optional().describe("Unique ID of the latest version of an existing association."),
|
|
26149
26149
|
photo_id: h.string().optional(),
|
|
26150
26150
|
photo_url: h.string().optional(),
|
|
26151
26151
|
primary: h.boolean().optional().describe("True if the photo is a default photo; false if the photo is a user-provided photo.")
|
|
26152
26152
|
}).describe("Input of the photo.");
|
|
26153
|
-
h.array(
|
|
26153
|
+
h.array(je), h.object({
|
|
26154
26154
|
data: h.array(h.object({
|
|
26155
26155
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
26156
26156
|
created_by: h.object({
|
|
@@ -26174,13 +26174,13 @@ h.array(Ae), h.object({
|
|
|
26174
26174
|
next: h.boolean().optional(),
|
|
26175
26175
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
26176
26176
|
}).describe("Photo dataset."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
|
|
26177
|
-
var
|
|
26177
|
+
var Me = h.object({
|
|
26178
26178
|
etag: h.string().optional().describe("Unique ID of the latest version of an existing association."),
|
|
26179
26179
|
photo_id: h.string().optional(),
|
|
26180
26180
|
photo_url: h.string().optional(),
|
|
26181
26181
|
primary: h.boolean().optional().describe("True if the photo is a default photo; false if the photo is a user-provided photo.")
|
|
26182
26182
|
}).describe("Input of the photo.");
|
|
26183
|
-
h.array(
|
|
26183
|
+
h.array(Me), h.object({
|
|
26184
26184
|
data: h.array(h.object({
|
|
26185
26185
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
26186
26186
|
created_by: h.object({
|
|
@@ -29724,7 +29724,7 @@ h.object({
|
|
|
29724
29724
|
name: h.string().optional()
|
|
29725
29725
|
}).optional()
|
|
29726
29726
|
}).optional() }), h.object({ id: h.string().describe("ID of the service to be updated") }), h.object({ fields: h.array(h.string()).optional() });
|
|
29727
|
-
var
|
|
29727
|
+
var Ne = h.object({
|
|
29728
29728
|
assignee: h.object({
|
|
29729
29729
|
id: h.string().optional(),
|
|
29730
29730
|
name: h.string().optional()
|
|
@@ -29799,7 +29799,7 @@ h.object({
|
|
|
29799
29799
|
name: h.string().optional()
|
|
29800
29800
|
}).optional()
|
|
29801
29801
|
}), h.object({ id: h.string().describe("ID of the service to be updated") }), h.object({ fields: h.array(h.string()).optional() });
|
|
29802
|
-
var
|
|
29802
|
+
var Pe = h.object({
|
|
29803
29803
|
assignee: h.object({
|
|
29804
29804
|
id: h.string().optional(),
|
|
29805
29805
|
name: h.string().optional()
|
|
@@ -30775,13 +30775,13 @@ h.object({
|
|
|
30775
30775
|
next: h.boolean().optional(),
|
|
30776
30776
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
30777
30777
|
}), h.object({ fields: h.array(h.string()).optional().describe("Source Fields to return into result.") });
|
|
30778
|
-
var
|
|
30778
|
+
var Fe = h.object({
|
|
30779
30779
|
etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
30780
30780
|
home_page: h.string().optional().describe("BIO. Short description about the space.\nOPTIONAL. Multi-lined text."),
|
|
30781
30781
|
name: h.string().optional().describe("Represents the name of the knowledge base space."),
|
|
30782
30782
|
state: h.boolean().optional().describe("The state of the space.")
|
|
30783
30783
|
}).describe("The Space principal input.");
|
|
30784
|
-
h.array(
|
|
30784
|
+
h.array(Fe), h.object({
|
|
30785
30785
|
created_at: h.string().optional().describe("The timestamp when the space was created (in Unix time)."),
|
|
30786
30786
|
created_by: h.object({
|
|
30787
30787
|
id: h.string().optional().describe("Reference Object unique ID."),
|
|
@@ -31349,7 +31349,7 @@ h.array(Pe), h.object({
|
|
|
31349
31349
|
})).optional(),
|
|
31350
31350
|
next: h.boolean().optional()
|
|
31351
31351
|
});
|
|
31352
|
-
var
|
|
31352
|
+
var Ie = h.object({ name: h.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name") });
|
|
31353
31353
|
h.object({
|
|
31354
31354
|
id: h.int().optional(),
|
|
31355
31355
|
name: h.enum(/* @__PURE__ */ "empty_system_settings_name.enable_omnichannel.member_chunk_size.amd_cancel_not_human.scheme_version_limit.enable_2fa.export_settings.search_number_length.chat_ai_connection.password_reg_exp.password_validation_text.autolink_call_to_contact.period_to_playback_records.is_fulltext_search_enabled.wbt_hide_contact.show_full_contact.call_end_sound_notification.call_end_push_notification.chat_end_sound_notification.chat_end_push_notification.task_end_sound_notification.task_end_push_notification.push_notification_timeout.labels_to_limit_contacts.autolink_mail_to_contact.new_message_sound_notification.new_chat_sound_notification.screenshot_interval.password_expiry_days.password_min_length.password_categories.password_contains_login.password_warning_days.default_password.expand_contact_tabs.default_workspace_tab.block_all_member_numbers_from_list.login_options.default_members_filter.self_assigned_call_sound_notification".split(".")).default("empty_system_settings_name")
|
|
@@ -31875,7 +31875,7 @@ h.object({
|
|
|
31875
31875
|
next: h.boolean().optional(),
|
|
31876
31876
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
31877
31877
|
}).describe("Timezone dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactTimezones.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved as a result.") });
|
|
31878
|
-
var
|
|
31878
|
+
var Le = h.object({
|
|
31879
31879
|
etag: h.string().describe("Unique ID of the latest version of an existing resource."),
|
|
31880
31880
|
primary: h.boolean().optional().describe("Indicates whether this association must be default among others."),
|
|
31881
31881
|
timezone: h.object({
|
|
@@ -31884,7 +31884,7 @@ var Ie = h.object({
|
|
|
31884
31884
|
type: h.string().optional().describe("Reference Object well-known type.")
|
|
31885
31885
|
}).optional().describe("Timezone dictionary reference value associated.")
|
|
31886
31886
|
}).describe("An input of the Contact's timezones.");
|
|
31887
|
-
h.array(
|
|
31887
|
+
h.array(Le), h.object({
|
|
31888
31888
|
data: h.array(h.object({
|
|
31889
31889
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
31890
31890
|
created_by: h.object({
|
|
@@ -31911,7 +31911,7 @@ h.array(Ie), h.object({
|
|
|
31911
31911
|
next: h.boolean().optional(),
|
|
31912
31912
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
31913
31913
|
}).describe("Timezone dataset.\nNOTE: Edge represents connection between two nodes.\nSo this ContactTimezones.data are always subordinate to some contact.id."), h.object({ contact_id: h.string().describe("Link contact ID.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
|
|
31914
|
-
var
|
|
31914
|
+
var Re = h.object({
|
|
31915
31915
|
etag: h.string().describe("Unique ID of the latest version of an existing resource."),
|
|
31916
31916
|
primary: h.boolean().optional().describe("Indicates whether this association must be default among others."),
|
|
31917
31917
|
timezone: h.object({
|
|
@@ -31920,7 +31920,7 @@ var Le = h.object({
|
|
|
31920
31920
|
type: h.string().optional().describe("Reference Object well-known type.")
|
|
31921
31921
|
}).optional().describe("Timezone dictionary reference value associated.")
|
|
31922
31922
|
}).describe("An input of the Contact's timezones.");
|
|
31923
|
-
h.array(
|
|
31923
|
+
h.array(Re), h.object({
|
|
31924
31924
|
data: h.array(h.object({
|
|
31925
31925
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
31926
31926
|
created_by: h.object({
|
|
@@ -33157,8 +33157,8 @@ h.array(Le), h.object({
|
|
|
33157
33157
|
id: h.string().optional().describe("ONE /users/{id}"),
|
|
33158
33158
|
permanent: h.boolean().optional()
|
|
33159
33159
|
});
|
|
33160
|
-
var
|
|
33161
|
-
h.array(
|
|
33160
|
+
var ze = h.string();
|
|
33161
|
+
h.array(ze), h.object({ deleted: h.array(h.object({
|
|
33162
33162
|
chat_name: h.string().optional().describe("The \"chat_name\" field is used to store the name displayed externally on the platform.\nFor example, \"chat_name\" is shown when an agent connects to chats with clients."),
|
|
33163
33163
|
contact: h.object({
|
|
33164
33164
|
id: h.string().optional(),
|
|
@@ -34069,12 +34069,12 @@ h.array(R), h.object({
|
|
|
34069
34069
|
next: h.boolean().optional(),
|
|
34070
34070
|
page: h.int().optional().describe("The page number of the partial result.")
|
|
34071
34071
|
}).describe("Variable dataset."), h.object({ contact_id: h.string().describe("Contact ID associated with.") }), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
|
|
34072
|
-
var
|
|
34072
|
+
var Be = h.object({
|
|
34073
34073
|
etag: h.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
34074
34074
|
key: h.string().regex(/^\w+$/).describe("NEW Key."),
|
|
34075
34075
|
value: h.unknown().optional().describe("NEW Value.")
|
|
34076
34076
|
}).describe("Input of the Contact's variable.");
|
|
34077
|
-
h.array(
|
|
34077
|
+
h.array(Be), h.object({
|
|
34078
34078
|
data: h.array(h.object({
|
|
34079
34079
|
created_at: h.string().optional().describe("The user who created this Field."),
|
|
34080
34080
|
created_by: h.object({
|
|
@@ -34149,7 +34149,7 @@ h.array(ze), h.object({
|
|
|
34149
34149
|
contact_id: h.string().describe("Contact ID associated with."),
|
|
34150
34150
|
etag: h.string().describe("Unique ID of the latest version of an existing resorce.")
|
|
34151
34151
|
}), h.object({ fields: h.array(h.string()).optional().describe("Fields to be retrieved into result of changes.") });
|
|
34152
|
-
var
|
|
34152
|
+
var Ve = h.object({
|
|
34153
34153
|
key: h.string().regex(/^\w+$/).describe("NEW Key."),
|
|
34154
34154
|
value: h.unknown().optional().describe("NEW Value.")
|
|
34155
34155
|
});
|
|
@@ -39839,13 +39839,22 @@ var z = (e = a) => ({
|
|
|
39839
39839
|
...i?.params
|
|
39840
39840
|
}
|
|
39841
39841
|
})
|
|
39842
|
-
}),
|
|
39842
|
+
}), He = (e = a) => ({
|
|
39843
|
+
searchTypes: (t, n) => e.get("/types", {
|
|
39844
|
+
...n,
|
|
39845
|
+
params: {
|
|
39846
|
+
...t,
|
|
39847
|
+
...n?.params
|
|
39848
|
+
}
|
|
39849
|
+
}),
|
|
39850
|
+
locate: (t, n) => e.get(`/types/${t}`, n)
|
|
39851
|
+
}), Ue = "/call_center/agents", We = (e) => e > 3600 * 24 ? ">24:00:00" : c(e), B = async (e) => {
|
|
39843
39852
|
let t = (e) => e.map((e) => ({
|
|
39844
39853
|
...e,
|
|
39845
|
-
statusDuration:
|
|
39854
|
+
statusDuration: We(e.statusDuration)
|
|
39846
39855
|
})), n = S(e, [
|
|
39847
39856
|
C(),
|
|
39848
|
-
|
|
39857
|
+
D(x()),
|
|
39849
39858
|
(e) => ({
|
|
39850
39859
|
...e,
|
|
39851
39860
|
q: e.search,
|
|
@@ -39876,7 +39885,7 @@ var z = (e = a) => ({
|
|
|
39876
39885
|
])
|
|
39877
39886
|
]);
|
|
39878
39887
|
try {
|
|
39879
|
-
let { items: e, next: r } = S((await P().searchAgent(n)).data, [j(),
|
|
39888
|
+
let { items: e, next: r } = S((await P().searchAgent(n)).data, [j(), D(b())]);
|
|
39880
39889
|
return {
|
|
39881
39890
|
items: S(e, [t]),
|
|
39882
39891
|
next: r
|
|
@@ -39884,7 +39893,7 @@ var z = (e = a) => ({
|
|
|
39884
39893
|
} catch (e) {
|
|
39885
39894
|
throw S(e, [k]);
|
|
39886
39895
|
}
|
|
39887
|
-
},
|
|
39896
|
+
}, Ge = {
|
|
39888
39897
|
user: {},
|
|
39889
39898
|
team: {},
|
|
39890
39899
|
supervisor: [],
|
|
@@ -39896,9 +39905,9 @@ var z = (e = a) => ({
|
|
|
39896
39905
|
isSupervisor: !1,
|
|
39897
39906
|
description: "",
|
|
39898
39907
|
greetingMedia: {}
|
|
39899
|
-
},
|
|
39908
|
+
}, Ke = async ({ itemId: e, defaultObject: t = Ge }) => {
|
|
39900
39909
|
try {
|
|
39901
|
-
return S((await P().readAgent(String(e))).data, [j(),
|
|
39910
|
+
return S((await P().readAgent(String(e))).data, [j(), D(t)]);
|
|
39902
39911
|
} catch (e) {
|
|
39903
39912
|
throw S(e, [k]);
|
|
39904
39913
|
}
|
|
@@ -39915,9 +39924,9 @@ var z = (e = a) => ({
|
|
|
39915
39924
|
"isSupervisor",
|
|
39916
39925
|
"screenControl",
|
|
39917
39926
|
"extraChatCount"
|
|
39918
|
-
],
|
|
39927
|
+
], qe = {
|
|
39919
39928
|
getList: B,
|
|
39920
|
-
get:
|
|
39929
|
+
get: Ke,
|
|
39921
39930
|
add: async ({ itemInstance: e }) => {
|
|
39922
39931
|
let t = S(e, [A(V), C()]);
|
|
39923
39932
|
try {
|
|
@@ -39954,7 +39963,7 @@ var z = (e = a) => ({
|
|
|
39954
39963
|
fields: e.fields || ["id", "name"]
|
|
39955
39964
|
}),
|
|
39956
39965
|
getAgentHistory: async (e) => {
|
|
39957
|
-
let { parentId: t, from: n, to: r, page: i, size: a, sort: o = "-joined_at" } = S(e, [
|
|
39966
|
+
let { parentId: t, from: n, to: r, page: i, size: a, sort: o = "-joined_at" } = S(e, [D(x()), M("search")]);
|
|
39958
39967
|
try {
|
|
39959
39968
|
let { items: e, next: s } = S((await P().searchAgentStateHistory({
|
|
39960
39969
|
page: i,
|
|
@@ -39963,7 +39972,7 @@ var z = (e = a) => ({
|
|
|
39963
39972
|
sort: o,
|
|
39964
39973
|
"joined_at.from": n,
|
|
39965
39974
|
"joined_at.to": r
|
|
39966
|
-
})).data, [j(),
|
|
39975
|
+
})).data, [j(), D(b())]);
|
|
39967
39976
|
return {
|
|
39968
39977
|
items: e,
|
|
39969
39978
|
next: s
|
|
@@ -39977,13 +39986,13 @@ var z = (e = a) => ({
|
|
|
39977
39986
|
isNotSupervisor: !0
|
|
39978
39987
|
}),
|
|
39979
39988
|
getAgentUsersOptions: async (e) => {
|
|
39980
|
-
let { page: t, size: n, search: r } = S(e, [
|
|
39989
|
+
let { page: t, size: n, search: r } = S(e, [D(x()), M("search")]);
|
|
39981
39990
|
try {
|
|
39982
39991
|
let { items: e, next: i } = S((await P().searchLookupUsersAgentNotExists({
|
|
39983
39992
|
page: t,
|
|
39984
39993
|
size: n,
|
|
39985
39994
|
q: r
|
|
39986
|
-
})).data, [j(),
|
|
39995
|
+
})).data, [j(), D(b())]);
|
|
39987
39996
|
return {
|
|
39988
39997
|
items: e,
|
|
39989
39998
|
next: i
|
|
@@ -39999,7 +40008,7 @@ var z = (e = a) => ({
|
|
|
39999
40008
|
getUsersStatus: async (e) => {
|
|
40000
40009
|
let t = S(e, [
|
|
40001
40010
|
C(),
|
|
40002
|
-
|
|
40011
|
+
D(x()),
|
|
40003
40012
|
M("search"),
|
|
40004
40013
|
(e) => ({
|
|
40005
40014
|
...e,
|
|
@@ -40015,7 +40024,7 @@ var z = (e = a) => ({
|
|
|
40015
40024
|
])
|
|
40016
40025
|
]);
|
|
40017
40026
|
try {
|
|
40018
|
-
let { items: e, next: n } = S((await P().searchUserStatus(t)).data, [j(),
|
|
40027
|
+
let { items: e, next: n } = S((await P().searchUserStatus(t)).data, [j(), D(b())]);
|
|
40019
40028
|
return {
|
|
40020
40029
|
items: e,
|
|
40021
40030
|
next: n
|
|
@@ -40031,9 +40040,9 @@ var z = (e = a) => ({
|
|
|
40031
40040
|
limitMin: 0
|
|
40032
40041
|
};
|
|
40033
40042
|
try {
|
|
40034
|
-
let { items: n, next: r } = S((await P().searchPauseCauseForAgent(String(e))).data, [j(),
|
|
40043
|
+
let { items: n, next: r } = S((await P().searchPauseCauseForAgent(String(e))).data, [j(), D(b())]);
|
|
40035
40044
|
return {
|
|
40036
|
-
items: S(n, [
|
|
40045
|
+
items: S(n, [O(t)]),
|
|
40037
40046
|
next: r
|
|
40038
40047
|
};
|
|
40039
40048
|
} catch (e) {
|
|
@@ -40041,7 +40050,7 @@ var z = (e = a) => ({
|
|
|
40041
40050
|
}
|
|
40042
40051
|
},
|
|
40043
40052
|
getAgentQueues: async (e) => {
|
|
40044
|
-
let { parentId: t, page: n, size: r, search: i, sort: a, fields: o } = S(e, [
|
|
40053
|
+
let { parentId: t, page: n, size: r, search: i, sort: a, fields: o } = S(e, [D(x()), M("search")]);
|
|
40045
40054
|
try {
|
|
40046
40055
|
let { items: e, next: s } = S((await P().searchAgentInQueue(String(t), {
|
|
40047
40056
|
page: n,
|
|
@@ -40049,7 +40058,7 @@ var z = (e = a) => ({
|
|
|
40049
40058
|
q: i,
|
|
40050
40059
|
sort: a,
|
|
40051
40060
|
fields: o
|
|
40052
|
-
})).data, [j(),
|
|
40061
|
+
})).data, [j(), D(b())]);
|
|
40053
40062
|
return {
|
|
40054
40063
|
items: e,
|
|
40055
40064
|
next: s
|
|
@@ -40059,7 +40068,7 @@ var z = (e = a) => ({
|
|
|
40059
40068
|
}
|
|
40060
40069
|
},
|
|
40061
40070
|
getStatusStatistics: async (e) => {
|
|
40062
|
-
let { page: t, size: n, search: r, sort: i, ids: a, fields: o, from: s, to: c, status: l, queue: u, team: d, skill: f, supervisor: p, auditor: m, region: h, utilizationFrom: g, utilizationTo: _, callNow: v } = S(e, [
|
|
40071
|
+
let { page: t, size: n, search: r, sort: i, ids: a, fields: o, from: s, to: c, status: l, queue: u, team: d, skill: f, supervisor: p, auditor: m, region: h, utilizationFrom: g, utilizationTo: _, callNow: v } = S(e, [D(x())]);
|
|
40063
40072
|
try {
|
|
40064
40073
|
let { items: e, next: y } = S((await P().searchAgentStatusStatistic({
|
|
40065
40074
|
page: t,
|
|
@@ -40080,7 +40089,7 @@ var z = (e = a) => ({
|
|
|
40080
40089
|
region_id: h,
|
|
40081
40090
|
supervisor_id: p,
|
|
40082
40091
|
auditor_id: m
|
|
40083
|
-
})).data, [j(),
|
|
40092
|
+
})).data, [j(), D(b())]);
|
|
40084
40093
|
return {
|
|
40085
40094
|
items: e,
|
|
40086
40095
|
next: y
|
|
@@ -40099,16 +40108,16 @@ var z = (e = a) => ({
|
|
|
40099
40108
|
throw S(e, [k]);
|
|
40100
40109
|
}
|
|
40101
40110
|
},
|
|
40102
|
-
...N(
|
|
40111
|
+
...N(Ue)
|
|
40103
40112
|
};
|
|
40104
|
-
({ ...N("/calendars") }), v(
|
|
40113
|
+
({ ...N("/calendars") }), v(ae), v(L), v(L), v(Pe), v(Ne), v(se), v(oe), { ...N("/cases") }, Object.freeze({
|
|
40105
40114
|
VIBER: "viber",
|
|
40106
40115
|
WHATSAPP: "whatsapp",
|
|
40107
40116
|
TELEGRAM: "telegram",
|
|
40108
40117
|
MESSENGER: "messenger",
|
|
40109
40118
|
EMAIL: "email"
|
|
40110
|
-
}), i(), { ...N("/storage/cognitive_profiles") }, [...v(
|
|
40111
|
-
var
|
|
40119
|
+
}), i(), { ...N("/storage/cognitive_profiles") }, [...v(Ie)], v(be), { ...N("/contacts/groups") }, { ...N("/devices") }, v(ge), v(_e), v(F), v(ye), i(), { ...N("/storage/import_templates") }, i(), { ...N("/call_center/list") }, i(), localStorage.getItem("access-token"), r.create({ headers: { "content-type": "multipart/form-data" } });
|
|
40120
|
+
var Je = {
|
|
40112
40121
|
patch: async (e) => {
|
|
40113
40122
|
let t = S(e, [C()]);
|
|
40114
40123
|
try {
|
|
@@ -40118,9 +40127,9 @@ var Ke = {
|
|
|
40118
40127
|
}
|
|
40119
40128
|
},
|
|
40120
40129
|
getChatHistory: async ({ chatId: e, ...t }) => {
|
|
40121
|
-
let n = S(t, [
|
|
40130
|
+
let n = S(t, [D(x()), C()]);
|
|
40122
40131
|
try {
|
|
40123
|
-
let { messages: t, peers: r, next: i } = S((await z().catalogGetHistory(String(e), n)).data, [j(),
|
|
40132
|
+
let { messages: t, peers: r, next: i } = S((await z().catalogGetHistory(String(e), n)).data, [j(), D(b())]);
|
|
40124
40133
|
return {
|
|
40125
40134
|
messages: t,
|
|
40126
40135
|
peers: r,
|
|
@@ -40131,7 +40140,90 @@ var Ke = {
|
|
|
40131
40140
|
}
|
|
40132
40141
|
}
|
|
40133
40142
|
};
|
|
40134
|
-
v(
|
|
40143
|
+
v(Oe), { ...N("/oauth/apps") };
|
|
40144
|
+
//#endregion
|
|
40145
|
+
//#region packages/api-services/src/api/clients/object/object.ts
|
|
40146
|
+
var Ye = i(), Xe = async (e) => {
|
|
40147
|
+
let { page: t, size: n, fields: r, sort: i, id: a, q: o } = S(e, [
|
|
40148
|
+
D(x()),
|
|
40149
|
+
M("search"),
|
|
40150
|
+
(e) => ({
|
|
40151
|
+
...e,
|
|
40152
|
+
q: e.search
|
|
40153
|
+
}),
|
|
40154
|
+
A([
|
|
40155
|
+
"page",
|
|
40156
|
+
"size",
|
|
40157
|
+
"q",
|
|
40158
|
+
"sort",
|
|
40159
|
+
"fields",
|
|
40160
|
+
"id"
|
|
40161
|
+
]),
|
|
40162
|
+
C()
|
|
40163
|
+
]);
|
|
40164
|
+
try {
|
|
40165
|
+
let { data: e, next: s } = S((await He().searchTypes({
|
|
40166
|
+
q: o,
|
|
40167
|
+
id: a,
|
|
40168
|
+
size: n,
|
|
40169
|
+
page: t,
|
|
40170
|
+
sort: i,
|
|
40171
|
+
fields: r
|
|
40172
|
+
})).data, [D(b())]);
|
|
40173
|
+
return {
|
|
40174
|
+
items: S(e, [j(), (e) => (e || []).map((e) => ({
|
|
40175
|
+
...e,
|
|
40176
|
+
id: e.repo
|
|
40177
|
+
}))]),
|
|
40178
|
+
next: s
|
|
40179
|
+
};
|
|
40180
|
+
} catch (e) {
|
|
40181
|
+
throw S(e, [k]);
|
|
40182
|
+
}
|
|
40183
|
+
}, Ze = async ({ ...e }) => {
|
|
40184
|
+
let t = S(e, [
|
|
40185
|
+
D(x()),
|
|
40186
|
+
(e) => ({
|
|
40187
|
+
...e,
|
|
40188
|
+
q: e.search,
|
|
40189
|
+
extensions: !1
|
|
40190
|
+
}),
|
|
40191
|
+
A([
|
|
40192
|
+
"page",
|
|
40193
|
+
"size",
|
|
40194
|
+
"q",
|
|
40195
|
+
"sort",
|
|
40196
|
+
"extensions",
|
|
40197
|
+
"fields",
|
|
40198
|
+
"id"
|
|
40199
|
+
]),
|
|
40200
|
+
C(),
|
|
40201
|
+
w("types")
|
|
40202
|
+
]);
|
|
40203
|
+
try {
|
|
40204
|
+
let { data: e, next: n } = S((await Ye.get(t)).data, [j(), D(b())]);
|
|
40205
|
+
return {
|
|
40206
|
+
items: e ?? [],
|
|
40207
|
+
next: n
|
|
40208
|
+
};
|
|
40209
|
+
} catch (e) {
|
|
40210
|
+
throw S(e, [k]);
|
|
40211
|
+
}
|
|
40212
|
+
}, Qe = {
|
|
40213
|
+
getList: Xe,
|
|
40214
|
+
get: async ({ itemId: e }) => {
|
|
40215
|
+
try {
|
|
40216
|
+
return S((await He().locate(String(e))).data, [j()]);
|
|
40217
|
+
} catch (e) {
|
|
40218
|
+
throw S(e, [k]);
|
|
40219
|
+
}
|
|
40220
|
+
},
|
|
40221
|
+
getLookup: async (e) => Ze({
|
|
40222
|
+
...e,
|
|
40223
|
+
fields: e.fields || ["id", "name"]
|
|
40224
|
+
})
|
|
40225
|
+
};
|
|
40226
|
+
({ ...N("/call_center/resource_group") }), { ...N("/call_center/resources") }, v(I), v(Ae);
|
|
40135
40227
|
//#endregion
|
|
40136
40228
|
//#region packages/api-services/src/validations/_shared/clearableNumber.validations.ts
|
|
40137
40229
|
var H = g.number().nullable().optional(), U = (e = 1) => g.union([g.string().min(e), g.number().min(e)]), W = (e) => ({ params: { i18nKey: e } }), G = (e) => e == null ? !1 : Array.isArray(e) ? e.length > 0 : e instanceof Date ? !Number.isNaN(e.getTime()) : typeof e == "object" ? Object.keys(e).length > 0 : String(e).length > 0, K = g.object({
|
|
@@ -40143,7 +40235,7 @@ var H = g.number().nullable().optional(), U = (e = 1) => g.union([g.string().min
|
|
|
40143
40235
|
}), J = g.object({
|
|
40144
40236
|
id: g.union([g.string(), g.number()]).optional(),
|
|
40145
40237
|
name: g.string().optional()
|
|
40146
|
-
}), Y = J.refine((e) => G(e), W("required")),
|
|
40238
|
+
}), Y = J.refine((e) => G(e), W("required")), $e = /^\+?[A-Za-z0-9\-_.!~*'()]+$/, et = g.string().min(1).refine((e) => e === "" || $e.test(e), W("phoneNumberSymbolsValidator")), X = g.object({
|
|
40147
40239
|
key: g.string(),
|
|
40148
40240
|
value: g.string()
|
|
40149
40241
|
});
|
|
@@ -40168,7 +40260,7 @@ g.object({
|
|
|
40168
40260
|
});
|
|
40169
40261
|
//#endregion
|
|
40170
40262
|
//#region packages/api-services/src/validations/calendar/calendar.validations.ts
|
|
40171
|
-
var
|
|
40263
|
+
var tt = "hourRange", Z = "timerangeStartLessThanEnd", nt = "timerangeNotIntersect", Q = g.number().int().refine((e) => e >= 0 && e < 1440, W(tt)), rt = (e) => {
|
|
40172
40264
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map();
|
|
40173
40265
|
return e.forEach((e, t) => {
|
|
40174
40266
|
let r = n.get(e.day) ?? [];
|
|
@@ -40186,7 +40278,7 @@ var Ye = "hourRange", Z = "timerangeStartLessThanEnd", Xe = "timerangeNotInterse
|
|
|
40186
40278
|
});
|
|
40187
40279
|
});
|
|
40188
40280
|
}), t;
|
|
40189
|
-
},
|
|
40281
|
+
}, it = g.object({
|
|
40190
40282
|
day: g.number().int().min(0).max(6),
|
|
40191
40283
|
disabled: g.boolean().default(!1),
|
|
40192
40284
|
start: Q,
|
|
@@ -40201,46 +40293,46 @@ var Ye = "hourRange", Z = "timerangeStartLessThanEnd", Xe = "timerangeNotInterse
|
|
|
40201
40293
|
path: ["end"],
|
|
40202
40294
|
...W(Z)
|
|
40203
40295
|
}));
|
|
40204
|
-
}),
|
|
40205
|
-
|
|
40296
|
+
}), at = g.array(it).superRefine((e, t) => {
|
|
40297
|
+
rt(e).forEach((e) => {
|
|
40206
40298
|
t.addIssue({
|
|
40207
40299
|
code: "custom",
|
|
40208
40300
|
path: [e, "start"],
|
|
40209
|
-
...W(
|
|
40301
|
+
...W(nt)
|
|
40210
40302
|
}), t.addIssue({
|
|
40211
40303
|
code: "custom",
|
|
40212
40304
|
path: [e, "end"],
|
|
40213
|
-
...W(
|
|
40305
|
+
...W(nt)
|
|
40214
40306
|
});
|
|
40215
40307
|
});
|
|
40216
|
-
}),
|
|
40308
|
+
}), ot = g.object({
|
|
40217
40309
|
name: g.string().min(1),
|
|
40218
40310
|
date: g.union([g.number(), g.string()]).optional(),
|
|
40219
40311
|
repeat: g.boolean().optional(),
|
|
40220
40312
|
working: g.boolean().optional(),
|
|
40221
40313
|
workStart: Q.nullish(),
|
|
40222
40314
|
workStop: Q.nullish()
|
|
40223
|
-
}),
|
|
40315
|
+
}), st = () => Array.from({ length: 7 }, (e, t) => ({
|
|
40224
40316
|
day: t,
|
|
40225
40317
|
disabled: !1,
|
|
40226
40318
|
start: 540,
|
|
40227
40319
|
end: 1200
|
|
40228
|
-
})),
|
|
40320
|
+
})), ct = () => Array.from({ length: 7 }, (e, t) => ({
|
|
40229
40321
|
day: t,
|
|
40230
40322
|
disabled: !0,
|
|
40231
40323
|
start: 540,
|
|
40232
40324
|
end: 1200
|
|
40233
|
-
})),
|
|
40325
|
+
})), lt = () => Date.now();
|
|
40234
40326
|
g.object({
|
|
40235
40327
|
name: g.string().min(1),
|
|
40236
40328
|
description: g.string().optional().default(""),
|
|
40237
40329
|
timezone: q,
|
|
40238
|
-
startAt: g.any().optional().default(
|
|
40239
|
-
endAt: g.any().optional().default(
|
|
40330
|
+
startAt: g.any().optional().default(lt),
|
|
40331
|
+
endAt: g.any().optional().default(lt),
|
|
40240
40332
|
expires: g.boolean().optional().default(!1),
|
|
40241
|
-
accepts:
|
|
40242
|
-
specials:
|
|
40243
|
-
excepts: g.array(
|
|
40333
|
+
accepts: at.default(st),
|
|
40334
|
+
specials: at.default(ct),
|
|
40335
|
+
excepts: g.array(ot).optional().default([])
|
|
40244
40336
|
});
|
|
40245
40337
|
//#endregion
|
|
40246
40338
|
//#region packages/api-services/src/validations/case/case.validations.ts
|
|
@@ -40344,19 +40436,19 @@ g.object({
|
|
|
40344
40436
|
});
|
|
40345
40437
|
//#endregion
|
|
40346
40438
|
//#region packages/api-services/src/validations/contactGroup/contactGroup.validations.ts
|
|
40347
|
-
var
|
|
40439
|
+
var ut = {
|
|
40348
40440
|
name: g.string().min(1),
|
|
40349
40441
|
description: g.string().optional(),
|
|
40350
40442
|
enabled: g.boolean().default(!0),
|
|
40351
40443
|
type: g.string().optional()
|
|
40352
|
-
},
|
|
40353
|
-
...
|
|
40444
|
+
}, dt = g.object({
|
|
40445
|
+
...ut,
|
|
40354
40446
|
defaultGroup: K.optional()
|
|
40355
|
-
}),
|
|
40356
|
-
...
|
|
40447
|
+
}), ft = g.object({
|
|
40448
|
+
...ut,
|
|
40357
40449
|
defaultGroup: q
|
|
40358
40450
|
});
|
|
40359
|
-
g.discriminatedUnion("type", [
|
|
40451
|
+
g.discriminatedUnion("type", [dt.extend({ type: g.literal(y.Static) }), ft.extend({ type: g.literal(y.Dynamic) })]), g.object({
|
|
40360
40452
|
expression: g.string().min(1),
|
|
40361
40453
|
group: q,
|
|
40362
40454
|
assignee: K.nullish()
|
|
@@ -40367,17 +40459,17 @@ g.discriminatedUnion("type", [at.extend({ type: g.literal(y.Static) }), ot.exten
|
|
|
40367
40459
|
});
|
|
40368
40460
|
//#endregion
|
|
40369
40461
|
//#region packages/api-services/src/validations/device/device.validations.ts
|
|
40370
|
-
var
|
|
40462
|
+
var pt = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/, mt = /^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/, ht = g.string().optional().default("").refine((e) => e ? e === "127.0.0.1" || e === "0.0.0.0" ? !1 : pt.test(e) : !0, W("ipValidator")), gt = g.string().optional().default("").refine((e) => !e || mt.test(e), W("macValidator"));
|
|
40371
40463
|
g.object({
|
|
40372
40464
|
id: g.string().optional(),
|
|
40373
40465
|
name: g.string().min(1).default(""),
|
|
40374
40466
|
account: g.string().min(1).default(""),
|
|
40375
40467
|
password: g.string().optional().default(""),
|
|
40376
40468
|
user: J.optional().default({}),
|
|
40377
|
-
ip:
|
|
40469
|
+
ip: ht,
|
|
40378
40470
|
brand: g.string().optional().default(""),
|
|
40379
40471
|
model: g.string().optional().default(""),
|
|
40380
|
-
mac:
|
|
40472
|
+
mac: gt,
|
|
40381
40473
|
hotdesk: g.boolean().optional(),
|
|
40382
40474
|
hotdesks: g.array(g.string()).optional()
|
|
40383
40475
|
}).superRefine((e, t) => {
|
|
@@ -40411,13 +40503,13 @@ g.object({
|
|
|
40411
40503
|
});
|
|
40412
40504
|
//#endregion
|
|
40413
40505
|
//#region packages/api-services/src/validations/queue/queue.rules.ts
|
|
40414
|
-
var
|
|
40506
|
+
var _t = {
|
|
40415
40507
|
required: ["name"],
|
|
40416
40508
|
minValue: {
|
|
40417
40509
|
priority: 0,
|
|
40418
40510
|
"payload.minOnlineAgents": 0
|
|
40419
40511
|
}
|
|
40420
|
-
},
|
|
40512
|
+
}, vt = {
|
|
40421
40513
|
[d.OFFLINE_QUEUE]: {
|
|
40422
40514
|
required: ["strategy", "calendar"],
|
|
40423
40515
|
minValue: { "payload.originateTimeout": 0 }
|
|
@@ -40512,7 +40604,7 @@ var dt = {
|
|
|
40512
40604
|
"payload.minDuration": 0
|
|
40513
40605
|
}
|
|
40514
40606
|
}
|
|
40515
|
-
},
|
|
40607
|
+
}, yt = g.object({
|
|
40516
40608
|
enabled: g.boolean().optional(),
|
|
40517
40609
|
ai: g.boolean().optional(),
|
|
40518
40610
|
positive: g.array(g.string()).optional(),
|
|
@@ -40528,7 +40620,7 @@ var dt = {
|
|
|
40528
40620
|
afterGreetingSilence: H,
|
|
40529
40621
|
greeting: H,
|
|
40530
40622
|
initialSilence: H
|
|
40531
|
-
}),
|
|
40623
|
+
}), bt = g.object({
|
|
40532
40624
|
maxAttempts: H,
|
|
40533
40625
|
minAttempts: H,
|
|
40534
40626
|
originateTimeout: H,
|
|
@@ -40569,19 +40661,19 @@ var dt = {
|
|
|
40569
40661
|
recordAll: g.boolean().optional(),
|
|
40570
40662
|
allowGreetingAgent: g.boolean().optional(),
|
|
40571
40663
|
autoAnswerTone: g.string().nullable().optional(),
|
|
40572
|
-
amd:
|
|
40573
|
-
}),
|
|
40664
|
+
amd: yt.optional()
|
|
40665
|
+
}), xt = g.object({
|
|
40574
40666
|
enabled: g.boolean().optional(),
|
|
40575
40667
|
isTimeoutRetry: g.boolean().optional(),
|
|
40576
40668
|
prolongationTimeSec: H,
|
|
40577
40669
|
repeatsNumber: H
|
|
40578
|
-
}),
|
|
40670
|
+
}), St = g.object({
|
|
40579
40671
|
enabled: g.boolean().optional(),
|
|
40580
40672
|
formSchema: J.optional(),
|
|
40581
40673
|
sec: H,
|
|
40582
40674
|
renewalSec: H,
|
|
40583
|
-
prolongationOptions:
|
|
40584
|
-
}),
|
|
40675
|
+
prolongationOptions: xt.prefault({})
|
|
40676
|
+
}), Ct = g.object({
|
|
40585
40677
|
name: g.string().min(1),
|
|
40586
40678
|
description: g.string().optional(),
|
|
40587
40679
|
type: g.number(),
|
|
@@ -40599,11 +40691,11 @@ var dt = {
|
|
|
40599
40691
|
formSchema: J.optional(),
|
|
40600
40692
|
strategy: g.string().optional(),
|
|
40601
40693
|
stickyAgent: g.boolean().optional(),
|
|
40602
|
-
taskProcessing:
|
|
40603
|
-
payload:
|
|
40694
|
+
taskProcessing: St.optional(),
|
|
40695
|
+
payload: bt.optional(),
|
|
40604
40696
|
variables: g.array(X).optional()
|
|
40605
40697
|
}).superRefine((e, t) => {
|
|
40606
|
-
let n = [
|
|
40698
|
+
let n = [_t, vt[Number(e.type)] ?? {}];
|
|
40607
40699
|
for (let r of n) {
|
|
40608
40700
|
for (let n of r.required ?? []) G(p(e, n)) || t.addIssue({
|
|
40609
40701
|
code: "custom",
|
|
@@ -40622,16 +40714,16 @@ var dt = {
|
|
|
40622
40714
|
});
|
|
40623
40715
|
}
|
|
40624
40716
|
}
|
|
40625
|
-
}),
|
|
40717
|
+
}), wt = g.object({
|
|
40626
40718
|
bucket: Y,
|
|
40627
40719
|
priority: g.number().min(0).default(0),
|
|
40628
40720
|
disabled: g.boolean().optional()
|
|
40629
|
-
}),
|
|
40721
|
+
}), Tt = g.object({
|
|
40630
40722
|
event: g.string().min(1),
|
|
40631
40723
|
schema: Y,
|
|
40632
40724
|
properties: g.array(g.string()).optional(),
|
|
40633
40725
|
enabled: g.boolean().default(!0)
|
|
40634
|
-
}),
|
|
40726
|
+
}), Et = g.object({
|
|
40635
40727
|
destination: g.string().min(1),
|
|
40636
40728
|
type: Y,
|
|
40637
40729
|
dtmf: g.string().regex(/^[\d|w|W]*$/).optional(),
|
|
@@ -40640,12 +40732,12 @@ var dt = {
|
|
|
40640
40732
|
resource: J.optional(),
|
|
40641
40733
|
description: g.string().optional()
|
|
40642
40734
|
});
|
|
40643
|
-
|
|
40735
|
+
Et.extend({ destination: et });
|
|
40644
40736
|
//#endregion
|
|
40645
40737
|
//#region packages/api-services/src/validations/queueMember/queueMember.validations.ts
|
|
40646
|
-
var
|
|
40738
|
+
var Dt = g.object({
|
|
40647
40739
|
name: g.string().min(1),
|
|
40648
|
-
communications: g.array(
|
|
40740
|
+
communications: g.array(Et).min(1),
|
|
40649
40741
|
priority: g.number().optional().default(0),
|
|
40650
40742
|
bucket: J.optional(),
|
|
40651
40743
|
timezone: J.optional(),
|
|
@@ -40654,10 +40746,10 @@ var xt = g.object({
|
|
|
40654
40746
|
minOfferingAt: g.union([g.string(), g.number()]).optional(),
|
|
40655
40747
|
stopCause: g.string().optional(),
|
|
40656
40748
|
variables: g.array(X).optional()
|
|
40657
|
-
}),
|
|
40749
|
+
}), Ot = g.object({
|
|
40658
40750
|
resourceGroup: Y,
|
|
40659
40751
|
communication: J.optional()
|
|
40660
|
-
}),
|
|
40752
|
+
}), kt = g.object({
|
|
40661
40753
|
skill: Y,
|
|
40662
40754
|
lvl: g.number().min(0).max(1e3).default(0),
|
|
40663
40755
|
minCapacity: g.number().min(0).max(100).optional().default(0),
|
|
@@ -40674,7 +40766,7 @@ var xt = g.object({
|
|
|
40674
40766
|
path: ["maxCapacity"],
|
|
40675
40767
|
message: "Value must be greater than or equal to the minimum capacity"
|
|
40676
40768
|
}));
|
|
40677
|
-
}),
|
|
40769
|
+
}), At = 6e4;
|
|
40678
40770
|
g.object({
|
|
40679
40771
|
name: g.string().min(1),
|
|
40680
40772
|
description: g.string().optional(),
|
|
@@ -40686,7 +40778,7 @@ g.object({
|
|
|
40686
40778
|
}).superRefine((e, t) => {
|
|
40687
40779
|
if (!e.validFrom || !e.validTo) return;
|
|
40688
40780
|
let n = Number(e.validFrom), r = Number(e.validTo);
|
|
40689
|
-
Number.isNaN(n) || Number.isNaN(r) || n > r -
|
|
40781
|
+
Number.isNaN(n) || Number.isNaN(r) || n > r - At && t.addIssue({
|
|
40690
40782
|
code: "too_big",
|
|
40691
40783
|
origin: "date",
|
|
40692
40784
|
maximum: r,
|
|
@@ -40702,12 +40794,12 @@ g.object({
|
|
|
40702
40794
|
}), g.object({ fields: g.array(g.any()).optional() }), g.object({
|
|
40703
40795
|
key: g.string().min(1),
|
|
40704
40796
|
value: g.string().min(1)
|
|
40705
|
-
}), [...v(
|
|
40797
|
+
}), [...v(wt)], [...v(Tt)], [...v(Dt)], [...v(Ot)], [...v(kt)], d.OFFLINE_QUEUE, d.INBOUND_QUEUE, d.OUTBOUND_IVR_QUEUE, d.PREVIEW_DIALER, d.PROGRESSIVE_DIALER, d.PREDICTIVE_DIALER, d.CHAT_INBOUND_QUEUE, d.IM_CHAT_QUEUE, d.INBOUND_JOB_QUEUE, d.OUTBOUND_JOB_QUEUE, v(Ct), { ...N("/call_center/queues") }, { ...N("/call_center/teams") }, i(), { ...N("/users") }, v(R), v(Ve), i();
|
|
40706
40798
|
//#endregion
|
|
40707
40799
|
//#region packages/api-services/src/api/clients/wtTypes/sysTypes/sysTypes.ts
|
|
40708
|
-
var
|
|
40800
|
+
var jt = i(), Mt = async ({ path: e, display: t, primary: n, ...r }) => {
|
|
40709
40801
|
let i = S(r, [
|
|
40710
|
-
|
|
40802
|
+
D(x()),
|
|
40711
40803
|
M("search"),
|
|
40712
40804
|
(e) => ({
|
|
40713
40805
|
...e,
|
|
@@ -40730,7 +40822,7 @@ var Tt = i(), Et = async ({ path: e, display: t, primary: n, ...r }) => {
|
|
|
40730
40822
|
w(e)
|
|
40731
40823
|
]);
|
|
40732
40824
|
try {
|
|
40733
|
-
let { data: e, items: t, next: n } = S((await
|
|
40825
|
+
let { data: e, items: t, next: n } = S((await jt.get(i)).data, [D(b())]);
|
|
40734
40826
|
return {
|
|
40735
40827
|
items: S(e || t, []) ?? [],
|
|
40736
40828
|
next: n
|
|
@@ -40738,9 +40830,9 @@ var Tt = i(), Et = async ({ path: e, display: t, primary: n, ...r }) => {
|
|
|
40738
40830
|
} catch (e) {
|
|
40739
40831
|
throw S(e, [k]);
|
|
40740
40832
|
}
|
|
40741
|
-
},
|
|
40742
|
-
getList:
|
|
40743
|
-
getLookup: (e) =>
|
|
40833
|
+
}, Nt = {
|
|
40834
|
+
getList: Mt,
|
|
40835
|
+
getLookup: (e) => Mt({
|
|
40744
40836
|
...e,
|
|
40745
40837
|
fields: e.fields || ["id", "name"]
|
|
40746
40838
|
})
|
|
@@ -40752,7 +40844,7 @@ Object.freeze({
|
|
|
40752
40844
|
VARIABLES: "variables",
|
|
40753
40845
|
DESTINATION: "destination"
|
|
40754
40846
|
});
|
|
40755
|
-
var
|
|
40756
|
-
v(
|
|
40847
|
+
var Pt = "/contacts";
|
|
40848
|
+
v(de), [...v(fe)], [...v(me)], { ...N(Pt) };
|
|
40757
40849
|
//#endregion
|
|
40758
|
-
export {
|
|
40850
|
+
export { T as a, qe as i, Qe as n, Je as r, Nt as t };
|