@webitel/ui-sdk 26.8.70 → 26.8.71
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/{clients-BLoUCVC8.js → clients-DcFH7zci.js} +474 -34
- package/dist/{components-DBVFjVK_.js → components-CLJ1Ov7C.js} +1335 -5166
- package/dist/{composables-DbGvukRz.js → composables-BtWSAI5D.js} +3 -3
- package/dist/{debounce-CCzQDuk5.js → debounce-Bp3jy7S5.js} +2 -2
- package/dist/{deep-copy-CjYHLk2X.js → deep-copy-CTgLtgMO.js} +1 -1
- package/dist/{dist-C_fngTiN.js → dist-CAOIU8xq.js} +1 -1
- package/dist/{dist-CugChoYz.js → dist-Crpfx4FA.js} +1 -1
- package/dist/{enums-CM8hOd_m.js → enums-Exe9rV90.js} +13 -13
- package/dist/genClient-HHiOUj56.js +2891 -0
- package/dist/{rolldown-runtime-to5KK-CW.js → rolldown-runtime-BEcgMyyN.js} +2 -5
- package/dist/ui-sdk.js +42 -42
- package/dist/ui-sdk.umd.cjs +621 -606
- package/dist/{useValidation-CDgb424A.js → useValidation-B6tRRqwE.js} +2 -2
- package/dist/{useWtTable-BbNT2rXz.js → useWtTable-DLWucXPx.js} +1 -1
- package/dist/{utils-DqYQ_mrQ.js → utils-DUAvIlAU.js} +1 -1
- package/dist/{vue-i18n-DNulhn2J.js → vue-i18n-Db_oYfO8.js} +2 -2
- package/dist/{vue-router-B9nAVQtl.js → vue-router-Dwey8MMv.js} +1 -1
- package/dist/{wt-action-bar-Dx2j2yCn.js → wt-action-bar-p7vln7iJ.js} +2 -2
- package/dist/{wt-button-TVtG0saz.js → wt-button-DcsMRFys.js} +2 -2
- package/dist/{wt-chat-emoji-CveWfqBS.js → wt-chat-emoji-Dj49JD3R.js} +4 -4
- package/dist/{wt-datepicker-Dcg6mx6P.js → wt-datepicker-Dy2x6EuG.js} +3 -3
- package/dist/{wt-display-chip-items-BmRyOpv7.js → wt-display-chip-items-CwGaaILG.js} +2 -2
- package/dist/{wt-dual-panel-sCqa1h4_.js → wt-dual-panel-Bpwt5tFI.js} +1 -1
- package/dist/{wt-expansion-card-DKEhPBa9.js → wt-expansion-card-CUy15r4n.js} +2 -2
- package/dist/{wt-expansion-panel-BnQ9Ow8D.js → wt-expansion-panel-CeSBv30M.js} +1 -1
- package/dist/{wt-galleria-CNwBmLcX.js → wt-galleria-DMCgiiju.js} +2 -2
- package/dist/{wt-icon-md5nPR1T.js → wt-icon-CQPF4JgL.js} +1 -1
- package/dist/{wt-icon-action-DX9R-hzG.js → wt-icon-action-CJv1qkoB.js} +2 -2
- package/dist/{wt-icon-btn-B_hS2f_v.js → wt-icon-btn-UeB3Mo-P.js} +1 -1
- package/dist/{wt-notifications-bar-k3Osz6gY.js → wt-notifications-bar-DGhAEm27.js} +2 -2
- package/dist/{wt-pagination-DNjYIHjv.js → wt-pagination-G2ZGU4Pi.js} +1 -1
- package/dist/{wt-player-R3rAiIxl.js → wt-player-DaqzOn77.js} +5 -5
- package/dist/{wt-popover-B0SIrVz6.js → wt-popover-BCYPu5NC.js} +1 -1
- package/dist/{wt-screen-recordings-action-DCdRUBbd.js → wt-screen-recordings-action-X2XVdxF6.js} +1 -1
- package/dist/{wt-search-bar-DlNX3Sr8.js → wt-search-bar-CG_YE-_0.js} +2 -2
- package/dist/{wt-selection-popup-C74__W9Z.js → wt-selection-popup-CjYw4ppb.js} +1 -1
- package/dist/{wt-send-message-popup-Ci3b-7uX.js → wt-send-message-popup-CLaDqvAt.js} +22 -22
- package/dist/{wt-slider-4xCDNWv-.js → wt-slider-BPzRTeYU.js} +1 -1
- package/dist/{wt-start-page-BUjRx6RA.js → wt-start-page-BFQExFUj.js} +1 -1
- package/dist/{wt-status-select-C2-LFbrZ.js → wt-status-select-BaLKq7BJ.js} +2 -2
- package/dist/{wt-table-BzGCTKMW.js → wt-table-BI2cptEK.js} +2 -2
- package/dist/{wt-table-column-select-CuQbrCkx.js → wt-table-column-select-D4c56HPB.js} +3 -3
- package/dist/{wt-timepicker-BltIOjh9.js → wt-timepicker-DAik2EyZ.js} +3 -3
- package/dist/{wt-toast-DsIX8ZW_.js → wt-toast-D4WUFGQd.js} +2 -2
- package/dist/{wt-tree-CfvNlw7N.js → wt-tree-BYk31Ees.js} +3 -3
- package/dist/{wt-tree-table-R02DpJ7M.js → wt-tree-table-vdfMB9Wk.js} +2 -2
- package/dist/{wt-type-extension-value-input-BGb_JCgp.js → wt-type-extension-value-input-lmFueBjI.js} +18 -18
- package/dist/{wt-vidstack-player-luoZqZ5-.js → wt-vidstack-player-vuSKb7KF.js} +5 -5
- package/package.json +5 -1
- package/src/enums/ExportFormat/ExportFormat.enum.ts +6 -0
- package/src/enums/TypesExportedSettings/TypesExportedSettings.enum.ts +9 -0
- package/src/enums/index.ts +37 -82
- package/src/scripts/{downloadFile → file/downloadFile}/downloadFile.ts +1 -3
- package/src/scripts/{downloadFile → file/downloadFile}/types/downloadFile.types.ts +2 -2
- package/src/scripts/file/index.ts +14 -0
- package/src/scripts/index.js +15 -29
- package/types/.tsbuildinfo +1 -1
- package/types/enums/ExportFormat/ExportFormat.enum.d.ts +5 -0
- package/types/enums/TypesExportedSettings/TypesExportedSettings.enum.d.ts +5 -5
- package/types/enums/index.d.ts +37 -38
- package/types/scripts/file/downloadFile/downloadFile.d.ts +2 -0
- package/types/scripts/{downloadFile → file/downloadFile}/types/downloadFile.types.d.ts +2 -2
- package/types/scripts/file/index.d.ts +10 -0
- package/types/scripts/index.d.ts +30 -37
- package/dist/genClient-BqTmfnDx.js +0 -2088
- package/src/enums/TypesExportedSettings/TypesExportedSettings.enum.js +0 -4
- package/src/scripts/downloadFile/types/fileFormat.types.ts +0 -4
- package/types/scripts/downloadFile/downloadFile.d.ts +0 -3
- package/types/scripts/downloadFile/types/fileFormat.types.d.ts +0 -4
- /package/src/scripts/{storageFile → file/storageFile}/downloadFilesAsZip.ts +0 -0
- /package/src/scripts/{storageFile → file/storageFile}/downloadStorageFile.ts +0 -0
- /package/src/scripts/{storageFile → file/storageFile}/getFileTypeIcon.ts +0 -0
- /package/src/scripts/{storageFile → file/storageFile}/getStorageFileUrl.ts +0 -0
- /package/src/scripts/{storageFile → file/storageFile}/openStorageFileInNewTab.ts +0 -0
- /package/types/scripts/{storageFile → file/storageFile}/downloadFilesAsZip.d.ts +0 -0
- /package/types/scripts/{storageFile → file/storageFile}/downloadStorageFile.d.ts +0 -0
- /package/types/scripts/{storageFile → file/storageFile}/getFileTypeIcon.d.ts +0 -0
- /package/types/scripts/{storageFile → file/storageFile}/getStorageFileUrl.d.ts +0 -0
- /package/types/scripts/{storageFile → file/storageFile}/openStorageFileInNewTab.d.ts +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as n, i as r, n as i, t as a } from "./genClient-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { m as l } from "./enums-
|
|
6
|
-
import { t as u } from "./deep-copy-
|
|
1
|
+
import { a as e, t } from "./rolldown-runtime-BEcgMyyN.js";
|
|
2
|
+
import { a as n, i as r, n as i, t as a } from "./genClient-HHiOUj56.js";
|
|
3
|
+
import { i as o, r as s } from "./caseConverters-6cy_SaV5.js";
|
|
4
|
+
import { O as c } from "./components-CLJ1Ov7C.js";
|
|
5
|
+
import { m as l } from "./enums-Exe9rV90.js";
|
|
6
|
+
import { t as u } from "./deep-copy-CTgLtgMO.js";
|
|
7
7
|
import { get as d, set as f } from "lodash-es";
|
|
8
8
|
import * as p from "zod";
|
|
9
9
|
import { z as m } from "zod";
|
|
@@ -18,7 +18,7 @@ var h = (e) => e.keyof().options, g = {
|
|
|
18
18
|
}), v = ({ page: e = 1, size: t = 10 } = {}) => ({
|
|
19
19
|
page: e,
|
|
20
20
|
size: t
|
|
21
|
-
}), y = (e, t, { debug: n = !1, withContext: r = null } = {}) => t.reduce((e, t, i) => (n && console.info(`applyTransform debug on step ${i}`, e), r ? t(e, r) : t(e)), e), b = (e = []) => (t) =>
|
|
21
|
+
}), y = (e, t, { debug: n = !1, withContext: r = null } = {}) => t.reduce((e, t, i) => (n && console.info(`applyTransform debug on step ${i}`, e), r ? t(e, r) : t(e)), e), b = (e = []) => (t) => s(t, e), x = (e) => (t) => `${e}?${n(t, {
|
|
22
22
|
skipEmptyString: !0,
|
|
23
23
|
skipNull: !0,
|
|
24
24
|
arrayFormat: "repeat"
|
|
@@ -115,7 +115,7 @@ function E(e) {
|
|
|
115
115
|
}
|
|
116
116
|
//#endregion
|
|
117
117
|
//#region packages/api-services/src/api/transformers/sanitize/sanitize.transformer.ts
|
|
118
|
-
var D = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), O = (e = []) => (t) =>
|
|
118
|
+
var D = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), O = (e = []) => (t) => o(t, e), ee = /* @__PURE__ */ e(u(), 1), k = (e = "search") => (t) => {
|
|
119
119
|
let n = (0, ee.default)(t), r = d(n, e);
|
|
120
120
|
return !r || r.slice(-1) === "*" ? n : f(n, e, `${r}*`);
|
|
121
121
|
}, A = "acl", te = (e) => e.map((e) => ({
|
|
@@ -977,6 +977,7 @@ p.object({
|
|
|
977
977
|
})).optional(),
|
|
978
978
|
status: p.string().optional(),
|
|
979
979
|
status_duration: p.string().optional(),
|
|
980
|
+
status_type: p.string().optional(),
|
|
980
981
|
supervisor: p.array(p.object({
|
|
981
982
|
id: p.string().optional(),
|
|
982
983
|
name: p.string().optional()
|
|
@@ -1064,6 +1065,7 @@ p.object({
|
|
|
1064
1065
|
})).optional(),
|
|
1065
1066
|
status: p.string().optional(),
|
|
1066
1067
|
status_duration: p.string().optional(),
|
|
1068
|
+
status_type: p.string().optional(),
|
|
1067
1069
|
supervisor: p.array(p.object({
|
|
1068
1070
|
id: p.string().optional(),
|
|
1069
1071
|
name: p.string().optional()
|
|
@@ -1360,6 +1362,7 @@ p.object({
|
|
|
1360
1362
|
})).optional(),
|
|
1361
1363
|
status: p.string().optional(),
|
|
1362
1364
|
status_duration: p.string().optional(),
|
|
1365
|
+
status_type: p.string().optional(),
|
|
1363
1366
|
supervisor: p.array(p.object({
|
|
1364
1367
|
id: p.string().optional(),
|
|
1365
1368
|
name: p.string().optional()
|
|
@@ -1411,6 +1414,7 @@ p.object({
|
|
|
1411
1414
|
})).optional(),
|
|
1412
1415
|
status: p.string().optional(),
|
|
1413
1416
|
status_duration: p.string().optional(),
|
|
1417
|
+
status_type: p.string().optional(),
|
|
1414
1418
|
supervisor: p.array(p.object({
|
|
1415
1419
|
id: p.string().optional(),
|
|
1416
1420
|
name: p.string().optional()
|
|
@@ -1495,6 +1499,7 @@ p.object({
|
|
|
1495
1499
|
})).optional(),
|
|
1496
1500
|
status: p.string().optional(),
|
|
1497
1501
|
status_duration: p.string().optional(),
|
|
1502
|
+
status_type: p.string().optional(),
|
|
1498
1503
|
supervisor: p.array(p.object({
|
|
1499
1504
|
id: p.string().optional(),
|
|
1500
1505
|
name: p.string().optional()
|
|
@@ -1580,6 +1585,7 @@ p.object({
|
|
|
1580
1585
|
})).optional(),
|
|
1581
1586
|
status: p.string().optional(),
|
|
1582
1587
|
status_duration: p.string().optional(),
|
|
1588
|
+
status_type: p.string().optional(),
|
|
1583
1589
|
supervisor: p.array(p.object({
|
|
1584
1590
|
id: p.string().optional(),
|
|
1585
1591
|
name: p.string().optional()
|
|
@@ -18366,7 +18372,65 @@ p.object({
|
|
|
18366
18372
|
}), p.object({
|
|
18367
18373
|
agent_id: p.string(),
|
|
18368
18374
|
id: p.array(p.string()).min(1)
|
|
18369
|
-
}), p.looseObject({}), p.looseObject({}), p.object({
|
|
18375
|
+
}), p.looseObject({}), p.looseObject({}), p.object({ call_id: p.string() }), p.object({
|
|
18376
|
+
page: p.int().optional(),
|
|
18377
|
+
size: p.int().optional(),
|
|
18378
|
+
q: p.string().optional(),
|
|
18379
|
+
sort: p.string().optional(),
|
|
18380
|
+
fields: p.array(p.string()).optional(),
|
|
18381
|
+
id: p.array(p.string()).optional(),
|
|
18382
|
+
"uploaded_at.from": p.string().optional(),
|
|
18383
|
+
"uploaded_at.to": p.string().optional(),
|
|
18384
|
+
reference_id: p.array(p.string()).optional(),
|
|
18385
|
+
"retention_until.from": p.string().optional(),
|
|
18386
|
+
"retention_until.to": p.string().optional(),
|
|
18387
|
+
type: p.enum([
|
|
18388
|
+
"PDF",
|
|
18389
|
+
"SCREENSHOT",
|
|
18390
|
+
"SCREENSHARING"
|
|
18391
|
+
]).default("PDF"),
|
|
18392
|
+
channel: p.enum(["SCREENRECORDING", "CALL"]).default("SCREENRECORDING")
|
|
18393
|
+
}), p.object({
|
|
18394
|
+
items: p.array(p.object({
|
|
18395
|
+
channel: p.enum([
|
|
18396
|
+
"UnknownChannel",
|
|
18397
|
+
"ChatChannel",
|
|
18398
|
+
"MailChannel",
|
|
18399
|
+
"CallChannel",
|
|
18400
|
+
"LogChannel",
|
|
18401
|
+
"MediaChannel",
|
|
18402
|
+
"KnowledgebaseChannel",
|
|
18403
|
+
"CasesChannel",
|
|
18404
|
+
"ScreenRecordingChannel"
|
|
18405
|
+
]).default("UnknownChannel"),
|
|
18406
|
+
id: p.string().optional(),
|
|
18407
|
+
mime_type: p.string().optional(),
|
|
18408
|
+
name: p.string().optional(),
|
|
18409
|
+
properties: p.object({
|
|
18410
|
+
end_time: p.string().optional(),
|
|
18411
|
+
height: p.string().optional(),
|
|
18412
|
+
start_time: p.string().optional(),
|
|
18413
|
+
width: p.string().optional()
|
|
18414
|
+
}).optional(),
|
|
18415
|
+
reference_id: p.string().optional(),
|
|
18416
|
+
retention_until: p.string().optional(),
|
|
18417
|
+
sha256sum: p.string().optional(),
|
|
18418
|
+
size: p.string().optional(),
|
|
18419
|
+
thumbnail: p.object({
|
|
18420
|
+
mime_type: p.string().optional(),
|
|
18421
|
+
scale: p.string().optional(),
|
|
18422
|
+
size: p.string().optional()
|
|
18423
|
+
}).optional(),
|
|
18424
|
+
uploaded_at: p.string().optional(),
|
|
18425
|
+
uploaded_by: p.object({
|
|
18426
|
+
id: p.string().optional(),
|
|
18427
|
+
name: p.string().optional()
|
|
18428
|
+
}).optional(),
|
|
18429
|
+
uuid: p.string().optional(),
|
|
18430
|
+
view_name: p.string().optional()
|
|
18431
|
+
})).optional(),
|
|
18432
|
+
next: p.boolean().optional()
|
|
18433
|
+
}), p.object({ id: p.array(p.string()).optional() }), p.looseObject({}), p.object({
|
|
18370
18434
|
page: p.int().optional(),
|
|
18371
18435
|
size: p.int().optional(),
|
|
18372
18436
|
q: p.string().optional(),
|
|
@@ -25036,10 +25100,23 @@ p.object({
|
|
|
25036
25100
|
message: p.string().optional()
|
|
25037
25101
|
}).optional(),
|
|
25038
25102
|
result: p.object({ data: p.string().optional() }).optional().describe("One frame of a streamed ZIP archive.\nThe archive name is sent through the \"filename\" gRPC response header.")
|
|
25103
|
+
}), p.object({ agent_id: p.string().describe("Unique identifier of the agent.") }), p.object({
|
|
25104
|
+
file_ids: p.array(p.string()).optional().describe("Optional IDs of selected screenshots."),
|
|
25105
|
+
from: p.string().optional().describe("Start of the uploaded_at range (Unix millis)."),
|
|
25106
|
+
to: p.string().optional().describe("End of the uploaded_at range (Unix millis).")
|
|
25107
|
+
}), p.object({
|
|
25108
|
+
error: p.object({
|
|
25109
|
+
code: p.int().optional(),
|
|
25110
|
+
details: p.array(p.object({ "@type": p.string().optional() })).optional(),
|
|
25111
|
+
message: p.string().optional()
|
|
25112
|
+
}).optional(),
|
|
25113
|
+
result: p.object({ data: p.string().optional() }).optional().describe("One frame of a streamed screenshot ZIP archive.\nThe archive name is sent through the \"filename\" gRPC response header.")
|
|
25039
25114
|
}), p.object({ agent_id: p.string() }), p.object({
|
|
25040
25115
|
page: p.int().optional().describe("Page number (1-based)."),
|
|
25041
25116
|
size: p.int().optional().describe("Number of items per page."),
|
|
25042
|
-
sort: p.string().optional().describe("sorting criteria, e.g. \"+created_at\" or \"-name\"")
|
|
25117
|
+
sort: p.string().optional().describe("sorting criteria, e.g. \"+created_at\" or \"-name\""),
|
|
25118
|
+
"uploaded_at.from": p.string().optional(),
|
|
25119
|
+
"uploaded_at.to": p.string().optional()
|
|
25043
25120
|
}), p.object({
|
|
25044
25121
|
items: p.array(p.object({
|
|
25045
25122
|
created_at: p.string().optional().describe("Creation timestamp (Unix millis)."),
|
|
@@ -25084,10 +25161,23 @@ p.object({
|
|
|
25084
25161
|
message: p.string().optional()
|
|
25085
25162
|
}).optional(),
|
|
25086
25163
|
result: p.object({ data: p.string().optional() }).optional()
|
|
25164
|
+
}), p.object({ call_id: p.string().describe("Unique identifier of the call.") }), p.object({
|
|
25165
|
+
file_ids: p.array(p.string()).optional().describe("Optional IDs of selected screen recordings."),
|
|
25166
|
+
from: p.string().optional().describe("Start of the uploaded_at range (Unix millis)."),
|
|
25167
|
+
to: p.string().optional().describe("End of the uploaded_at range (Unix millis).")
|
|
25168
|
+
}), p.object({
|
|
25169
|
+
error: p.object({
|
|
25170
|
+
code: p.int().optional(),
|
|
25171
|
+
details: p.array(p.object({ "@type": p.string().optional() })).optional(),
|
|
25172
|
+
message: p.string().optional()
|
|
25173
|
+
}).optional(),
|
|
25174
|
+
result: p.object({ data: p.string().optional() }).optional().describe("One frame of a streamed screen recording ZIP archive. The archive name is\ncarried via the \"filename\" gRPC response header set before the first frame.")
|
|
25087
25175
|
}), p.object({ call_id: p.string() }), p.object({
|
|
25088
25176
|
page: p.int().optional().describe("Page number (1-based)."),
|
|
25089
25177
|
size: p.int().optional().describe("Number of items per page."),
|
|
25090
|
-
sort: p.string().optional().describe("sorting criteria, e.g. \"+created_at\" or \"-name\"")
|
|
25178
|
+
sort: p.string().optional().describe("sorting criteria, e.g. \"+created_at\" or \"-name\""),
|
|
25179
|
+
"uploaded_at.from": p.string().optional(),
|
|
25180
|
+
"uploaded_at.to": p.string().optional()
|
|
25091
25181
|
}), p.object({
|
|
25092
25182
|
items: p.array(p.object({
|
|
25093
25183
|
created_at: p.string().optional().describe("Creation timestamp (Unix millis)."),
|
|
@@ -34370,7 +34460,49 @@ p.object({
|
|
|
34370
34460
|
created_at: p.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
|
|
34371
34461
|
deleted: p.boolean().optional().describe("True when the message was deleted by its author. Every content field\n(body, attachments, contact, location, interactive, metadata) is cleared,\nso clients should render a tombstone."),
|
|
34372
34462
|
deleted_at: p.string().optional().describe("Unix time in milliseconds when the message was deleted."),
|
|
34373
|
-
deleted_by: p.
|
|
34463
|
+
deleted_by: p.object({
|
|
34464
|
+
contact: p.object({
|
|
34465
|
+
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
34466
|
+
created_at: p.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
|
|
34467
|
+
is_bot: p.boolean().optional().describe("Represents if usere is real person or automatic script."),
|
|
34468
|
+
iss: p.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
34469
|
+
metadata: p.record(p.string(), p.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
|
|
34470
|
+
name: p.string().optional().describe("Display name of the contact."),
|
|
34471
|
+
sub: p.string().optional().describe("Associated internal system subject/identifier."),
|
|
34472
|
+
type: p.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
34473
|
+
updated_at: p.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
|
|
34474
|
+
username: p.string().optional().describe("Technical username or handle."),
|
|
34475
|
+
vias: p.array(p.object({
|
|
34476
|
+
contact_id: p.string().optional(),
|
|
34477
|
+
created_at: p.string().optional(),
|
|
34478
|
+
disable: p.boolean().optional(),
|
|
34479
|
+
disable_reason: p.string().optional(),
|
|
34480
|
+
metadata: p.looseObject({}).optional(),
|
|
34481
|
+
updated_at: p.string().optional(),
|
|
34482
|
+
via: p.string().optional()
|
|
34483
|
+
})).optional()
|
|
34484
|
+
}).optional().describe("Contact represents an external messaging identity."),
|
|
34485
|
+
id: p.string().optional(),
|
|
34486
|
+
permissions: p.object({
|
|
34487
|
+
can_add_members: p.boolean().optional(),
|
|
34488
|
+
can_change_members_permissions: p.boolean().optional(),
|
|
34489
|
+
can_change_thread_info: p.boolean().optional(),
|
|
34490
|
+
can_delete_messages: p.boolean().optional(),
|
|
34491
|
+
can_remove_members: p.boolean().optional(),
|
|
34492
|
+
can_send_messages: p.boolean().optional(),
|
|
34493
|
+
created_at: p.string().optional(),
|
|
34494
|
+
id: p.string().optional(),
|
|
34495
|
+
member_id: p.string().optional(),
|
|
34496
|
+
updated_at: p.string().optional()
|
|
34497
|
+
}).optional(),
|
|
34498
|
+
role: p.enum([
|
|
34499
|
+
"ROLE_UNSPECIFIED",
|
|
34500
|
+
"ROLE_MEMBER",
|
|
34501
|
+
"ROLE_ADMIN",
|
|
34502
|
+
"ROLE_OWNER",
|
|
34503
|
+
"ROLE_SUPERVISOR"
|
|
34504
|
+
]).default("ROLE_UNSPECIFIED")
|
|
34505
|
+
}).optional().describe("Member who deleted the message, enriched exactly like sender; unset while\nthe message is live."),
|
|
34374
34506
|
delivery_status: p.enum([
|
|
34375
34507
|
"MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
|
|
34376
34508
|
"MESSAGE_DELIVERY_STATUS_SENT",
|
|
@@ -34526,12 +34658,14 @@ p.object({
|
|
|
34526
34658
|
reactor_ids: p.array(p.string()).optional().describe("Capped sample of reactor contact ids (for UI); not necessarily all of them.")
|
|
34527
34659
|
}).describe("MessageReaction is one emoji aggregate on a history message.")).optional().describe("Emoji reactions currently held on the message, aggregated per emoji."),
|
|
34528
34660
|
reply_to: p.object({
|
|
34661
|
+
attachment_address: p.string().optional(),
|
|
34529
34662
|
attachment_kind: p.string().optional(),
|
|
34530
34663
|
attachment_mime: p.string().optional(),
|
|
34531
34664
|
attachment_name: p.string().optional(),
|
|
34532
34665
|
body: p.string().optional(),
|
|
34533
34666
|
created_at: p.string().optional(),
|
|
34534
34667
|
id: p.string().optional(),
|
|
34668
|
+
is_deleted: p.boolean().optional(),
|
|
34535
34669
|
sender: p.object({
|
|
34536
34670
|
contact: p.object({
|
|
34537
34671
|
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -34576,7 +34710,7 @@ p.object({
|
|
|
34576
34710
|
]).default("ROLE_UNSPECIFIED")
|
|
34577
34711
|
}).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
|
|
34578
34712
|
sender_id: p.string().optional(),
|
|
34579
|
-
type: p.
|
|
34713
|
+
type: p.string().optional().describe("Kind of the quoted message: text, document, image, system, interactive,\nlocation or contact.")
|
|
34580
34714
|
}).optional(),
|
|
34581
34715
|
revision_count: p.int().optional().describe("Number of entries in the message's change history. Zero means the message\nwas never edited or deleted; otherwise GetMessageRevisions returns that\nmany entries."),
|
|
34582
34716
|
sender: p.object({
|
|
@@ -34657,7 +34791,49 @@ p.object({
|
|
|
34657
34791
|
]).default("MESSAGE_REVISION_ACTION_UNSPECIFIED").describe("What happened to a message at one point of its history.\n\n - MESSAGE_REVISION_ACTION_CREATED: The message as it was originally sent.\n - MESSAGE_REVISION_ACTION_EDITED: The body was replaced by an edit.\n - MESSAGE_REVISION_ACTION_DELETED: The message was deleted."),
|
|
34658
34792
|
body: p.string().optional().describe("Body the message carried after this change. For DELETED it is the text\nthe message still carried when it was removed, so the conversation can be\nreconstructed even though the timeline only shows a tombstone."),
|
|
34659
34793
|
changed_at: p.string().optional().describe("Unix time in milliseconds when the change was made."),
|
|
34660
|
-
changed_by: p.
|
|
34794
|
+
changed_by: p.object({
|
|
34795
|
+
contact: p.object({
|
|
34796
|
+
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
34797
|
+
created_at: p.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
|
|
34798
|
+
is_bot: p.boolean().optional().describe("Represents if usere is real person or automatic script."),
|
|
34799
|
+
iss: p.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
34800
|
+
metadata: p.record(p.string(), p.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
|
|
34801
|
+
name: p.string().optional().describe("Display name of the contact."),
|
|
34802
|
+
sub: p.string().optional().describe("Associated internal system subject/identifier."),
|
|
34803
|
+
type: p.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
34804
|
+
updated_at: p.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
|
|
34805
|
+
username: p.string().optional().describe("Technical username or handle."),
|
|
34806
|
+
vias: p.array(p.object({
|
|
34807
|
+
contact_id: p.string().optional(),
|
|
34808
|
+
created_at: p.string().optional(),
|
|
34809
|
+
disable: p.boolean().optional(),
|
|
34810
|
+
disable_reason: p.string().optional(),
|
|
34811
|
+
metadata: p.looseObject({}).optional(),
|
|
34812
|
+
updated_at: p.string().optional(),
|
|
34813
|
+
via: p.string().optional()
|
|
34814
|
+
})).optional()
|
|
34815
|
+
}).optional().describe("Contact represents an external messaging identity."),
|
|
34816
|
+
id: p.string().optional(),
|
|
34817
|
+
permissions: p.object({
|
|
34818
|
+
can_add_members: p.boolean().optional(),
|
|
34819
|
+
can_change_members_permissions: p.boolean().optional(),
|
|
34820
|
+
can_change_thread_info: p.boolean().optional(),
|
|
34821
|
+
can_delete_messages: p.boolean().optional(),
|
|
34822
|
+
can_remove_members: p.boolean().optional(),
|
|
34823
|
+
can_send_messages: p.boolean().optional(),
|
|
34824
|
+
created_at: p.string().optional(),
|
|
34825
|
+
id: p.string().optional(),
|
|
34826
|
+
member_id: p.string().optional(),
|
|
34827
|
+
updated_at: p.string().optional()
|
|
34828
|
+
}).optional(),
|
|
34829
|
+
role: p.enum([
|
|
34830
|
+
"ROLE_UNSPECIFIED",
|
|
34831
|
+
"ROLE_MEMBER",
|
|
34832
|
+
"ROLE_ADMIN",
|
|
34833
|
+
"ROLE_OWNER",
|
|
34834
|
+
"ROLE_SUPERVISOR"
|
|
34835
|
+
]).default("ROLE_UNSPECIFIED")
|
|
34836
|
+
}).optional().describe("Member who made the change, enriched exactly like a message sender."),
|
|
34661
34837
|
version: p.int().optional().describe("Position in the history, starting at 1 for the original message.")
|
|
34662
34838
|
}).describe("One entry of a message's change history: what the message read at that\npoint, who changed it and when.")).optional().describe("Oldest first. Empty when the message was never edited or deleted.") }), p.object({ thread_id: p.string().describe("Filter by thread ID.") }), p.object({
|
|
34663
34839
|
fields: p.array(p.string()).optional().describe("List of message fields to be returned.\nUsed to reduce payload size."),
|
|
@@ -34679,7 +34855,49 @@ p.object({
|
|
|
34679
34855
|
created_at: p.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
|
|
34680
34856
|
deleted: p.boolean().optional().describe("True when the message was deleted by its author. Every content field\n(body, attachments, contact, location, interactive, metadata) is cleared,\nso clients should render a tombstone."),
|
|
34681
34857
|
deleted_at: p.string().optional().describe("Unix time in milliseconds when the message was deleted."),
|
|
34682
|
-
deleted_by: p.
|
|
34858
|
+
deleted_by: p.object({
|
|
34859
|
+
contact: p.object({
|
|
34860
|
+
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
34861
|
+
created_at: p.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
|
|
34862
|
+
is_bot: p.boolean().optional().describe("Represents if usere is real person or automatic script."),
|
|
34863
|
+
iss: p.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
34864
|
+
metadata: p.record(p.string(), p.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
|
|
34865
|
+
name: p.string().optional().describe("Display name of the contact."),
|
|
34866
|
+
sub: p.string().optional().describe("Associated internal system subject/identifier."),
|
|
34867
|
+
type: p.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
34868
|
+
updated_at: p.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
|
|
34869
|
+
username: p.string().optional().describe("Technical username or handle."),
|
|
34870
|
+
vias: p.array(p.object({
|
|
34871
|
+
contact_id: p.string().optional(),
|
|
34872
|
+
created_at: p.string().optional(),
|
|
34873
|
+
disable: p.boolean().optional(),
|
|
34874
|
+
disable_reason: p.string().optional(),
|
|
34875
|
+
metadata: p.looseObject({}).optional(),
|
|
34876
|
+
updated_at: p.string().optional(),
|
|
34877
|
+
via: p.string().optional()
|
|
34878
|
+
})).optional()
|
|
34879
|
+
}).optional().describe("Contact represents an external messaging identity."),
|
|
34880
|
+
id: p.string().optional(),
|
|
34881
|
+
permissions: p.object({
|
|
34882
|
+
can_add_members: p.boolean().optional(),
|
|
34883
|
+
can_change_members_permissions: p.boolean().optional(),
|
|
34884
|
+
can_change_thread_info: p.boolean().optional(),
|
|
34885
|
+
can_delete_messages: p.boolean().optional(),
|
|
34886
|
+
can_remove_members: p.boolean().optional(),
|
|
34887
|
+
can_send_messages: p.boolean().optional(),
|
|
34888
|
+
created_at: p.string().optional(),
|
|
34889
|
+
id: p.string().optional(),
|
|
34890
|
+
member_id: p.string().optional(),
|
|
34891
|
+
updated_at: p.string().optional()
|
|
34892
|
+
}).optional(),
|
|
34893
|
+
role: p.enum([
|
|
34894
|
+
"ROLE_UNSPECIFIED",
|
|
34895
|
+
"ROLE_MEMBER",
|
|
34896
|
+
"ROLE_ADMIN",
|
|
34897
|
+
"ROLE_OWNER",
|
|
34898
|
+
"ROLE_SUPERVISOR"
|
|
34899
|
+
]).default("ROLE_UNSPECIFIED")
|
|
34900
|
+
}).optional().describe("Member who deleted the message, enriched exactly like sender; unset while\nthe message is live."),
|
|
34683
34901
|
delivery_status: p.enum([
|
|
34684
34902
|
"MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
|
|
34685
34903
|
"MESSAGE_DELIVERY_STATUS_SENT",
|
|
@@ -34835,12 +35053,14 @@ p.object({
|
|
|
34835
35053
|
reactor_ids: p.array(p.string()).optional().describe("Capped sample of reactor contact ids (for UI); not necessarily all of them.")
|
|
34836
35054
|
}).describe("MessageReaction is one emoji aggregate on a history message.")).optional().describe("Emoji reactions currently held on the message, aggregated per emoji."),
|
|
34837
35055
|
reply_to: p.object({
|
|
35056
|
+
attachment_address: p.string().optional(),
|
|
34838
35057
|
attachment_kind: p.string().optional(),
|
|
34839
35058
|
attachment_mime: p.string().optional(),
|
|
34840
35059
|
attachment_name: p.string().optional(),
|
|
34841
35060
|
body: p.string().optional(),
|
|
34842
35061
|
created_at: p.string().optional(),
|
|
34843
35062
|
id: p.string().optional(),
|
|
35063
|
+
is_deleted: p.boolean().optional(),
|
|
34844
35064
|
sender: p.object({
|
|
34845
35065
|
contact: p.object({
|
|
34846
35066
|
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -34885,7 +35105,7 @@ p.object({
|
|
|
34885
35105
|
]).default("ROLE_UNSPECIFIED")
|
|
34886
35106
|
}).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
|
|
34887
35107
|
sender_id: p.string().optional(),
|
|
34888
|
-
type: p.
|
|
35108
|
+
type: p.string().optional().describe("Kind of the quoted message: text, document, image, system, interactive,\nlocation or contact.")
|
|
34889
35109
|
}).optional(),
|
|
34890
35110
|
revision_count: p.int().optional().describe("Number of entries in the message's change history. Zero means the message\nwas never edited or deleted; otherwise GetMessageRevisions returns that\nmany entries."),
|
|
34891
35111
|
sender: p.object({
|
|
@@ -34976,7 +35196,49 @@ p.object({
|
|
|
34976
35196
|
created_at: p.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
|
|
34977
35197
|
deleted: p.boolean().optional().describe("True when the message was deleted by its author. Every content field\n(body, attachments, contact, location, interactive, metadata) is cleared,\nso clients should render a tombstone."),
|
|
34978
35198
|
deleted_at: p.string().optional().describe("Unix time in milliseconds when the message was deleted."),
|
|
34979
|
-
deleted_by: p.
|
|
35199
|
+
deleted_by: p.object({
|
|
35200
|
+
contact: p.object({
|
|
35201
|
+
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
35202
|
+
created_at: p.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
|
|
35203
|
+
is_bot: p.boolean().optional().describe("Represents if usere is real person or automatic script."),
|
|
35204
|
+
iss: p.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
35205
|
+
metadata: p.record(p.string(), p.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
|
|
35206
|
+
name: p.string().optional().describe("Display name of the contact."),
|
|
35207
|
+
sub: p.string().optional().describe("Associated internal system subject/identifier."),
|
|
35208
|
+
type: p.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
35209
|
+
updated_at: p.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
|
|
35210
|
+
username: p.string().optional().describe("Technical username or handle."),
|
|
35211
|
+
vias: p.array(p.object({
|
|
35212
|
+
contact_id: p.string().optional(),
|
|
35213
|
+
created_at: p.string().optional(),
|
|
35214
|
+
disable: p.boolean().optional(),
|
|
35215
|
+
disable_reason: p.string().optional(),
|
|
35216
|
+
metadata: p.looseObject({}).optional(),
|
|
35217
|
+
updated_at: p.string().optional(),
|
|
35218
|
+
via: p.string().optional()
|
|
35219
|
+
})).optional()
|
|
35220
|
+
}).optional().describe("Contact represents an external messaging identity."),
|
|
35221
|
+
id: p.string().optional(),
|
|
35222
|
+
permissions: p.object({
|
|
35223
|
+
can_add_members: p.boolean().optional(),
|
|
35224
|
+
can_change_members_permissions: p.boolean().optional(),
|
|
35225
|
+
can_change_thread_info: p.boolean().optional(),
|
|
35226
|
+
can_delete_messages: p.boolean().optional(),
|
|
35227
|
+
can_remove_members: p.boolean().optional(),
|
|
35228
|
+
can_send_messages: p.boolean().optional(),
|
|
35229
|
+
created_at: p.string().optional(),
|
|
35230
|
+
id: p.string().optional(),
|
|
35231
|
+
member_id: p.string().optional(),
|
|
35232
|
+
updated_at: p.string().optional()
|
|
35233
|
+
}).optional(),
|
|
35234
|
+
role: p.enum([
|
|
35235
|
+
"ROLE_UNSPECIFIED",
|
|
35236
|
+
"ROLE_MEMBER",
|
|
35237
|
+
"ROLE_ADMIN",
|
|
35238
|
+
"ROLE_OWNER",
|
|
35239
|
+
"ROLE_SUPERVISOR"
|
|
35240
|
+
]).default("ROLE_UNSPECIFIED")
|
|
35241
|
+
}).optional().describe("Member who deleted the message, enriched exactly like sender; unset while\nthe message is live."),
|
|
34980
35242
|
delivery_status: p.enum([
|
|
34981
35243
|
"MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
|
|
34982
35244
|
"MESSAGE_DELIVERY_STATUS_SENT",
|
|
@@ -35132,12 +35394,14 @@ p.object({
|
|
|
35132
35394
|
reactor_ids: p.array(p.string()).optional().describe("Capped sample of reactor contact ids (for UI); not necessarily all of them.")
|
|
35133
35395
|
}).describe("MessageReaction is one emoji aggregate on a history message.")).optional().describe("Emoji reactions currently held on the message, aggregated per emoji."),
|
|
35134
35396
|
reply_to: p.object({
|
|
35397
|
+
attachment_address: p.string().optional(),
|
|
35135
35398
|
attachment_kind: p.string().optional(),
|
|
35136
35399
|
attachment_mime: p.string().optional(),
|
|
35137
35400
|
attachment_name: p.string().optional(),
|
|
35138
35401
|
body: p.string().optional(),
|
|
35139
35402
|
created_at: p.string().optional(),
|
|
35140
35403
|
id: p.string().optional(),
|
|
35404
|
+
is_deleted: p.boolean().optional(),
|
|
35141
35405
|
sender: p.object({
|
|
35142
35406
|
contact: p.object({
|
|
35143
35407
|
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -35182,7 +35446,7 @@ p.object({
|
|
|
35182
35446
|
]).default("ROLE_UNSPECIFIED")
|
|
35183
35447
|
}).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
|
|
35184
35448
|
sender_id: p.string().optional(),
|
|
35185
|
-
type: p.
|
|
35449
|
+
type: p.string().optional().describe("Kind of the quoted message: text, document, image, system, interactive,\nlocation or contact.")
|
|
35186
35450
|
}).optional(),
|
|
35187
35451
|
revision_count: p.int().optional().describe("Number of entries in the message's change history. Zero means the message\nwas never edited or deleted; otherwise GetMessageRevisions returns that\nmany entries."),
|
|
35188
35452
|
sender: p.object({
|
|
@@ -35283,7 +35547,49 @@ p.object({
|
|
|
35283
35547
|
created_at: p.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
|
|
35284
35548
|
deleted: p.boolean().optional().describe("True when the message was deleted by its author. Every content field\n(body, attachments, contact, location, interactive, metadata) is cleared,\nso clients should render a tombstone."),
|
|
35285
35549
|
deleted_at: p.string().optional().describe("Unix time in milliseconds when the message was deleted."),
|
|
35286
|
-
deleted_by: p.
|
|
35550
|
+
deleted_by: p.object({
|
|
35551
|
+
contact: p.object({
|
|
35552
|
+
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
35553
|
+
created_at: p.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
|
|
35554
|
+
is_bot: p.boolean().optional().describe("Represents if usere is real person or automatic script."),
|
|
35555
|
+
iss: p.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
35556
|
+
metadata: p.record(p.string(), p.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
|
|
35557
|
+
name: p.string().optional().describe("Display name of the contact."),
|
|
35558
|
+
sub: p.string().optional().describe("Associated internal system subject/identifier."),
|
|
35559
|
+
type: p.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
35560
|
+
updated_at: p.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
|
|
35561
|
+
username: p.string().optional().describe("Technical username or handle."),
|
|
35562
|
+
vias: p.array(p.object({
|
|
35563
|
+
contact_id: p.string().optional(),
|
|
35564
|
+
created_at: p.string().optional(),
|
|
35565
|
+
disable: p.boolean().optional(),
|
|
35566
|
+
disable_reason: p.string().optional(),
|
|
35567
|
+
metadata: p.looseObject({}).optional(),
|
|
35568
|
+
updated_at: p.string().optional(),
|
|
35569
|
+
via: p.string().optional()
|
|
35570
|
+
})).optional()
|
|
35571
|
+
}).optional().describe("Contact represents an external messaging identity."),
|
|
35572
|
+
id: p.string().optional(),
|
|
35573
|
+
permissions: p.object({
|
|
35574
|
+
can_add_members: p.boolean().optional(),
|
|
35575
|
+
can_change_members_permissions: p.boolean().optional(),
|
|
35576
|
+
can_change_thread_info: p.boolean().optional(),
|
|
35577
|
+
can_delete_messages: p.boolean().optional(),
|
|
35578
|
+
can_remove_members: p.boolean().optional(),
|
|
35579
|
+
can_send_messages: p.boolean().optional(),
|
|
35580
|
+
created_at: p.string().optional(),
|
|
35581
|
+
id: p.string().optional(),
|
|
35582
|
+
member_id: p.string().optional(),
|
|
35583
|
+
updated_at: p.string().optional()
|
|
35584
|
+
}).optional(),
|
|
35585
|
+
role: p.enum([
|
|
35586
|
+
"ROLE_UNSPECIFIED",
|
|
35587
|
+
"ROLE_MEMBER",
|
|
35588
|
+
"ROLE_ADMIN",
|
|
35589
|
+
"ROLE_OWNER",
|
|
35590
|
+
"ROLE_SUPERVISOR"
|
|
35591
|
+
]).default("ROLE_UNSPECIFIED")
|
|
35592
|
+
}).optional().describe("Member who deleted the message, enriched exactly like sender; unset while\nthe message is live."),
|
|
35287
35593
|
delivery_status: p.enum([
|
|
35288
35594
|
"MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
|
|
35289
35595
|
"MESSAGE_DELIVERY_STATUS_SENT",
|
|
@@ -35439,12 +35745,14 @@ p.object({
|
|
|
35439
35745
|
reactor_ids: p.array(p.string()).optional().describe("Capped sample of reactor contact ids (for UI); not necessarily all of them.")
|
|
35440
35746
|
}).describe("MessageReaction is one emoji aggregate on a history message.")).optional().describe("Emoji reactions currently held on the message, aggregated per emoji."),
|
|
35441
35747
|
reply_to: p.object({
|
|
35748
|
+
attachment_address: p.string().optional(),
|
|
35442
35749
|
attachment_kind: p.string().optional(),
|
|
35443
35750
|
attachment_mime: p.string().optional(),
|
|
35444
35751
|
attachment_name: p.string().optional(),
|
|
35445
35752
|
body: p.string().optional(),
|
|
35446
35753
|
created_at: p.string().optional(),
|
|
35447
35754
|
id: p.string().optional(),
|
|
35755
|
+
is_deleted: p.boolean().optional(),
|
|
35448
35756
|
sender: p.object({
|
|
35449
35757
|
contact: p.object({
|
|
35450
35758
|
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -35489,7 +35797,7 @@ p.object({
|
|
|
35489
35797
|
]).default("ROLE_UNSPECIFIED")
|
|
35490
35798
|
}).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
|
|
35491
35799
|
sender_id: p.string().optional(),
|
|
35492
|
-
type: p.
|
|
35800
|
+
type: p.string().optional().describe("Kind of the quoted message: text, document, image, system, interactive,\nlocation or contact.")
|
|
35493
35801
|
}).optional(),
|
|
35494
35802
|
revision_count: p.int().optional().describe("Number of entries in the message's change history. Zero means the message\nwas never edited or deleted; otherwise GetMessageRevisions returns that\nmany entries."),
|
|
35495
35803
|
sender: p.object({
|
|
@@ -35667,7 +35975,49 @@ p.object({
|
|
|
35667
35975
|
created_at: p.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
|
|
35668
35976
|
deleted: p.boolean().optional().describe("True when the message was deleted by its author. Every content field\n(body, attachments, contact, location, interactive, metadata) is cleared,\nso clients should render a tombstone."),
|
|
35669
35977
|
deleted_at: p.string().optional().describe("Unix time in milliseconds when the message was deleted."),
|
|
35670
|
-
deleted_by: p.
|
|
35978
|
+
deleted_by: p.object({
|
|
35979
|
+
contact: p.object({
|
|
35980
|
+
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
35981
|
+
created_at: p.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
|
|
35982
|
+
is_bot: p.boolean().optional().describe("Represents if usere is real person or automatic script."),
|
|
35983
|
+
iss: p.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
35984
|
+
metadata: p.record(p.string(), p.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
|
|
35985
|
+
name: p.string().optional().describe("Display name of the contact."),
|
|
35986
|
+
sub: p.string().optional().describe("Associated internal system subject/identifier."),
|
|
35987
|
+
type: p.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
35988
|
+
updated_at: p.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
|
|
35989
|
+
username: p.string().optional().describe("Technical username or handle."),
|
|
35990
|
+
vias: p.array(p.object({
|
|
35991
|
+
contact_id: p.string().optional(),
|
|
35992
|
+
created_at: p.string().optional(),
|
|
35993
|
+
disable: p.boolean().optional(),
|
|
35994
|
+
disable_reason: p.string().optional(),
|
|
35995
|
+
metadata: p.looseObject({}).optional(),
|
|
35996
|
+
updated_at: p.string().optional(),
|
|
35997
|
+
via: p.string().optional()
|
|
35998
|
+
})).optional()
|
|
35999
|
+
}).optional().describe("Contact represents an external messaging identity."),
|
|
36000
|
+
id: p.string().optional(),
|
|
36001
|
+
permissions: p.object({
|
|
36002
|
+
can_add_members: p.boolean().optional(),
|
|
36003
|
+
can_change_members_permissions: p.boolean().optional(),
|
|
36004
|
+
can_change_thread_info: p.boolean().optional(),
|
|
36005
|
+
can_delete_messages: p.boolean().optional(),
|
|
36006
|
+
can_remove_members: p.boolean().optional(),
|
|
36007
|
+
can_send_messages: p.boolean().optional(),
|
|
36008
|
+
created_at: p.string().optional(),
|
|
36009
|
+
id: p.string().optional(),
|
|
36010
|
+
member_id: p.string().optional(),
|
|
36011
|
+
updated_at: p.string().optional()
|
|
36012
|
+
}).optional(),
|
|
36013
|
+
role: p.enum([
|
|
36014
|
+
"ROLE_UNSPECIFIED",
|
|
36015
|
+
"ROLE_MEMBER",
|
|
36016
|
+
"ROLE_ADMIN",
|
|
36017
|
+
"ROLE_OWNER",
|
|
36018
|
+
"ROLE_SUPERVISOR"
|
|
36019
|
+
]).default("ROLE_UNSPECIFIED")
|
|
36020
|
+
}).optional().describe("Member who deleted the message, enriched exactly like sender; unset while\nthe message is live."),
|
|
35671
36021
|
delivery_status: p.enum([
|
|
35672
36022
|
"MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
|
|
35673
36023
|
"MESSAGE_DELIVERY_STATUS_SENT",
|
|
@@ -35823,12 +36173,14 @@ p.object({
|
|
|
35823
36173
|
reactor_ids: p.array(p.string()).optional().describe("Capped sample of reactor contact ids (for UI); not necessarily all of them.")
|
|
35824
36174
|
}).describe("MessageReaction is one emoji aggregate on a history message.")).optional().describe("Emoji reactions currently held on the message, aggregated per emoji."),
|
|
35825
36175
|
reply_to: p.object({
|
|
36176
|
+
attachment_address: p.string().optional(),
|
|
35826
36177
|
attachment_kind: p.string().optional(),
|
|
35827
36178
|
attachment_mime: p.string().optional(),
|
|
35828
36179
|
attachment_name: p.string().optional(),
|
|
35829
36180
|
body: p.string().optional(),
|
|
35830
36181
|
created_at: p.string().optional(),
|
|
35831
36182
|
id: p.string().optional(),
|
|
36183
|
+
is_deleted: p.boolean().optional(),
|
|
35832
36184
|
sender: p.object({
|
|
35833
36185
|
contact: p.object({
|
|
35834
36186
|
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -35873,7 +36225,7 @@ p.object({
|
|
|
35873
36225
|
]).default("ROLE_UNSPECIFIED")
|
|
35874
36226
|
}).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
|
|
35875
36227
|
sender_id: p.string().optional(),
|
|
35876
|
-
type: p.
|
|
36228
|
+
type: p.string().optional().describe("Kind of the quoted message: text, document, image, system, interactive,\nlocation or contact.")
|
|
35877
36229
|
}).optional(),
|
|
35878
36230
|
revision_count: p.int().optional().describe("Number of entries in the message's change history. Zero means the message\nwas never edited or deleted; otherwise GetMessageRevisions returns that\nmany entries."),
|
|
35879
36231
|
sender: p.object({
|
|
@@ -36056,7 +36408,49 @@ p.object({
|
|
|
36056
36408
|
created_at: p.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
|
|
36057
36409
|
deleted: p.boolean().optional().describe("True when the message was deleted by its author. Every content field\n(body, attachments, contact, location, interactive, metadata) is cleared,\nso clients should render a tombstone."),
|
|
36058
36410
|
deleted_at: p.string().optional().describe("Unix time in milliseconds when the message was deleted."),
|
|
36059
|
-
deleted_by: p.
|
|
36411
|
+
deleted_by: p.object({
|
|
36412
|
+
contact: p.object({
|
|
36413
|
+
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
36414
|
+
created_at: p.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
|
|
36415
|
+
is_bot: p.boolean().optional().describe("Represents if usere is real person or automatic script."),
|
|
36416
|
+
iss: p.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
36417
|
+
metadata: p.record(p.string(), p.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
|
|
36418
|
+
name: p.string().optional().describe("Display name of the contact."),
|
|
36419
|
+
sub: p.string().optional().describe("Associated internal system subject/identifier."),
|
|
36420
|
+
type: p.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
36421
|
+
updated_at: p.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
|
|
36422
|
+
username: p.string().optional().describe("Technical username or handle."),
|
|
36423
|
+
vias: p.array(p.object({
|
|
36424
|
+
contact_id: p.string().optional(),
|
|
36425
|
+
created_at: p.string().optional(),
|
|
36426
|
+
disable: p.boolean().optional(),
|
|
36427
|
+
disable_reason: p.string().optional(),
|
|
36428
|
+
metadata: p.looseObject({}).optional(),
|
|
36429
|
+
updated_at: p.string().optional(),
|
|
36430
|
+
via: p.string().optional()
|
|
36431
|
+
})).optional()
|
|
36432
|
+
}).optional().describe("Contact represents an external messaging identity."),
|
|
36433
|
+
id: p.string().optional(),
|
|
36434
|
+
permissions: p.object({
|
|
36435
|
+
can_add_members: p.boolean().optional(),
|
|
36436
|
+
can_change_members_permissions: p.boolean().optional(),
|
|
36437
|
+
can_change_thread_info: p.boolean().optional(),
|
|
36438
|
+
can_delete_messages: p.boolean().optional(),
|
|
36439
|
+
can_remove_members: p.boolean().optional(),
|
|
36440
|
+
can_send_messages: p.boolean().optional(),
|
|
36441
|
+
created_at: p.string().optional(),
|
|
36442
|
+
id: p.string().optional(),
|
|
36443
|
+
member_id: p.string().optional(),
|
|
36444
|
+
updated_at: p.string().optional()
|
|
36445
|
+
}).optional(),
|
|
36446
|
+
role: p.enum([
|
|
36447
|
+
"ROLE_UNSPECIFIED",
|
|
36448
|
+
"ROLE_MEMBER",
|
|
36449
|
+
"ROLE_ADMIN",
|
|
36450
|
+
"ROLE_OWNER",
|
|
36451
|
+
"ROLE_SUPERVISOR"
|
|
36452
|
+
]).default("ROLE_UNSPECIFIED")
|
|
36453
|
+
}).optional().describe("Member who deleted the message, enriched exactly like sender; unset while\nthe message is live."),
|
|
36060
36454
|
delivery_status: p.enum([
|
|
36061
36455
|
"MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
|
|
36062
36456
|
"MESSAGE_DELIVERY_STATUS_SENT",
|
|
@@ -36212,12 +36606,14 @@ p.object({
|
|
|
36212
36606
|
reactor_ids: p.array(p.string()).optional().describe("Capped sample of reactor contact ids (for UI); not necessarily all of them.")
|
|
36213
36607
|
}).describe("MessageReaction is one emoji aggregate on a history message.")).optional().describe("Emoji reactions currently held on the message, aggregated per emoji."),
|
|
36214
36608
|
reply_to: p.object({
|
|
36609
|
+
attachment_address: p.string().optional(),
|
|
36215
36610
|
attachment_kind: p.string().optional(),
|
|
36216
36611
|
attachment_mime: p.string().optional(),
|
|
36217
36612
|
attachment_name: p.string().optional(),
|
|
36218
36613
|
body: p.string().optional(),
|
|
36219
36614
|
created_at: p.string().optional(),
|
|
36220
36615
|
id: p.string().optional(),
|
|
36616
|
+
is_deleted: p.boolean().optional(),
|
|
36221
36617
|
sender: p.object({
|
|
36222
36618
|
contact: p.object({
|
|
36223
36619
|
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -36262,7 +36658,7 @@ p.object({
|
|
|
36262
36658
|
]).default("ROLE_UNSPECIFIED")
|
|
36263
36659
|
}).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
|
|
36264
36660
|
sender_id: p.string().optional(),
|
|
36265
|
-
type: p.
|
|
36661
|
+
type: p.string().optional().describe("Kind of the quoted message: text, document, image, system, interactive,\nlocation or contact.")
|
|
36266
36662
|
}).optional(),
|
|
36267
36663
|
revision_count: p.int().optional().describe("Number of entries in the message's change history. Zero means the message\nwas never edited or deleted; otherwise GetMessageRevisions returns that\nmany entries."),
|
|
36268
36664
|
sender: p.object({
|
|
@@ -36438,7 +36834,49 @@ p.object({
|
|
|
36438
36834
|
created_at: p.string().optional().describe("Message creation timestamp (Unix time, milliseconds)."),
|
|
36439
36835
|
deleted: p.boolean().optional().describe("True when the message was deleted by its author. Every content field\n(body, attachments, contact, location, interactive, metadata) is cleared,\nso clients should render a tombstone."),
|
|
36440
36836
|
deleted_at: p.string().optional().describe("Unix time in milliseconds when the message was deleted."),
|
|
36441
|
-
deleted_by: p.
|
|
36837
|
+
deleted_by: p.object({
|
|
36838
|
+
contact: p.object({
|
|
36839
|
+
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
36840
|
+
created_at: p.string().optional().describe("Record creation timestamp (Unix Epoch in milliseconds)."),
|
|
36841
|
+
is_bot: p.boolean().optional().describe("Represents if usere is real person or automatic script."),
|
|
36842
|
+
iss: p.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
36843
|
+
metadata: p.record(p.string(), p.string()).optional().describe("Additional dynamic attributes provided by the messenger."),
|
|
36844
|
+
name: p.string().optional().describe("Display name of the contact."),
|
|
36845
|
+
sub: p.string().optional().describe("Associated internal system subject/identifier."),
|
|
36846
|
+
type: p.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
36847
|
+
updated_at: p.string().optional().describe("Last record update timestamp (Unix Epoch in milliseconds)."),
|
|
36848
|
+
username: p.string().optional().describe("Technical username or handle."),
|
|
36849
|
+
vias: p.array(p.object({
|
|
36850
|
+
contact_id: p.string().optional(),
|
|
36851
|
+
created_at: p.string().optional(),
|
|
36852
|
+
disable: p.boolean().optional(),
|
|
36853
|
+
disable_reason: p.string().optional(),
|
|
36854
|
+
metadata: p.looseObject({}).optional(),
|
|
36855
|
+
updated_at: p.string().optional(),
|
|
36856
|
+
via: p.string().optional()
|
|
36857
|
+
})).optional()
|
|
36858
|
+
}).optional().describe("Contact represents an external messaging identity."),
|
|
36859
|
+
id: p.string().optional(),
|
|
36860
|
+
permissions: p.object({
|
|
36861
|
+
can_add_members: p.boolean().optional(),
|
|
36862
|
+
can_change_members_permissions: p.boolean().optional(),
|
|
36863
|
+
can_change_thread_info: p.boolean().optional(),
|
|
36864
|
+
can_delete_messages: p.boolean().optional(),
|
|
36865
|
+
can_remove_members: p.boolean().optional(),
|
|
36866
|
+
can_send_messages: p.boolean().optional(),
|
|
36867
|
+
created_at: p.string().optional(),
|
|
36868
|
+
id: p.string().optional(),
|
|
36869
|
+
member_id: p.string().optional(),
|
|
36870
|
+
updated_at: p.string().optional()
|
|
36871
|
+
}).optional(),
|
|
36872
|
+
role: p.enum([
|
|
36873
|
+
"ROLE_UNSPECIFIED",
|
|
36874
|
+
"ROLE_MEMBER",
|
|
36875
|
+
"ROLE_ADMIN",
|
|
36876
|
+
"ROLE_OWNER",
|
|
36877
|
+
"ROLE_SUPERVISOR"
|
|
36878
|
+
]).default("ROLE_UNSPECIFIED")
|
|
36879
|
+
}).optional().describe("Member who deleted the message, enriched exactly like sender; unset while\nthe message is live."),
|
|
36442
36880
|
delivery_status: p.enum([
|
|
36443
36881
|
"MESSAGE_DELIVERY_STATUS_UNSPECIFIED",
|
|
36444
36882
|
"MESSAGE_DELIVERY_STATUS_SENT",
|
|
@@ -36594,12 +37032,14 @@ p.object({
|
|
|
36594
37032
|
reactor_ids: p.array(p.string()).optional().describe("Capped sample of reactor contact ids (for UI); not necessarily all of them.")
|
|
36595
37033
|
}).describe("MessageReaction is one emoji aggregate on a history message.")).optional().describe("Emoji reactions currently held on the message, aggregated per emoji."),
|
|
36596
37034
|
reply_to: p.object({
|
|
37035
|
+
attachment_address: p.string().optional(),
|
|
36597
37036
|
attachment_kind: p.string().optional(),
|
|
36598
37037
|
attachment_mime: p.string().optional(),
|
|
36599
37038
|
attachment_name: p.string().optional(),
|
|
36600
37039
|
body: p.string().optional(),
|
|
36601
37040
|
created_at: p.string().optional(),
|
|
36602
37041
|
id: p.string().optional(),
|
|
37042
|
+
is_deleted: p.boolean().optional(),
|
|
36603
37043
|
sender: p.object({
|
|
36604
37044
|
contact: p.object({
|
|
36605
37045
|
app_id: p.string().optional().describe("Identifier of the specific integration app or bot."),
|
|
@@ -36644,7 +37084,7 @@ p.object({
|
|
|
36644
37084
|
]).default("ROLE_UNSPECIFIED")
|
|
36645
37085
|
}).optional().describe("ThreadMember represents a thread participant\nwith optional type-specific settings."),
|
|
36646
37086
|
sender_id: p.string().optional(),
|
|
36647
|
-
type: p.
|
|
37087
|
+
type: p.string().optional().describe("Kind of the quoted message: text, document, image, system, interactive,\nlocation or contact.")
|
|
36648
37088
|
}).optional(),
|
|
36649
37089
|
revision_count: p.int().optional().describe("Number of entries in the message's change history. Zero means the message\nwas never edited or deleted; otherwise GetMessageRevisions returns that\nmany entries."),
|
|
36650
37090
|
sender: p.object({
|
|
@@ -38437,7 +38877,7 @@ p.object({
|
|
|
38437
38877
|
}).optional() });
|
|
38438
38878
|
//#endregion
|
|
38439
38879
|
//#region packages/api-services/src/api/clients/agents/agents.ts
|
|
38440
|
-
var Be = (e) => e > 3600 * 24 ? ">24:00:00" :
|
|
38880
|
+
var Be = (e) => e > 3600 * 24 ? ">24:00:00" : c(e), R = async (e) => {
|
|
38441
38881
|
let t = (e) => e.map((e) => ({
|
|
38442
38882
|
...e,
|
|
38443
38883
|
statusDuration: Be(e.statusDuration)
|
|
@@ -38783,7 +39223,7 @@ var Ge = "hourRange", J = "timerangeStartLessThanEnd", Y = "timerangeNotIntersec
|
|
|
38783
39223
|
});
|
|
38784
39224
|
});
|
|
38785
39225
|
}), t;
|
|
38786
|
-
},
|
|
39226
|
+
}, qe = m.object({
|
|
38787
39227
|
day: m.number().int().min(0).max(6),
|
|
38788
39228
|
disabled: m.boolean().default(!1),
|
|
38789
39229
|
start: X,
|
|
@@ -38798,7 +39238,7 @@ var Ge = "hourRange", J = "timerangeStartLessThanEnd", Y = "timerangeNotIntersec
|
|
|
38798
39238
|
path: ["end"],
|
|
38799
39239
|
...V(J)
|
|
38800
39240
|
}));
|
|
38801
|
-
}),
|
|
39241
|
+
}), Z = m.array(qe).superRefine((e, t) => {
|
|
38802
39242
|
Ke(e).forEach((e) => {
|
|
38803
39243
|
t.addIssue({
|
|
38804
39244
|
code: "custom",
|
|
@@ -38825,13 +39265,13 @@ m.object({
|
|
|
38825
39265
|
startAt: m.any().optional(),
|
|
38826
39266
|
endAt: m.any().optional(),
|
|
38827
39267
|
expires: m.boolean().optional().default(!1),
|
|
38828
|
-
accepts:
|
|
39268
|
+
accepts: Z.default(() => Array.from({ length: 7 }, (e, t) => ({
|
|
38829
39269
|
day: t,
|
|
38830
39270
|
disabled: !1,
|
|
38831
39271
|
start: 540,
|
|
38832
39272
|
end: 1200
|
|
38833
39273
|
}))),
|
|
38834
|
-
specials:
|
|
39274
|
+
specials: Z.default(() => Array.from({ length: 7 }, (e, t) => ({
|
|
38835
39275
|
day: t,
|
|
38836
39276
|
disabled: !0,
|
|
38837
39277
|
start: 540,
|
|
@@ -38911,7 +39351,7 @@ m.object({
|
|
|
38911
39351
|
name: m.string().min(1),
|
|
38912
39352
|
description: m.string().optional()
|
|
38913
39353
|
}), m.object({
|
|
38914
|
-
name: m.object({ commonName: m.string().
|
|
39354
|
+
name: m.object({ commonName: m.string().min(1) }).passthrough().optional(),
|
|
38915
39355
|
timezones: m.any().optional(),
|
|
38916
39356
|
managers: m.any().optional(),
|
|
38917
39357
|
groups: m.any().optional(),
|
|
@@ -38920,7 +39360,7 @@ m.object({
|
|
|
38920
39360
|
user: m.any().nullish()
|
|
38921
39361
|
}), m.object({
|
|
38922
39362
|
email: m.string().min(1).email(),
|
|
38923
|
-
type:
|
|
39363
|
+
type: K,
|
|
38924
39364
|
primary: m.boolean().optional()
|
|
38925
39365
|
});
|
|
38926
39366
|
//#endregion
|
|
@@ -38943,7 +39383,7 @@ m.discriminatedUnion("type", [Xe.extend({ type: m.literal(g.Static) }), Ze.exten
|
|
|
38943
39383
|
assignee: U.nullish()
|
|
38944
39384
|
}), m.object({
|
|
38945
39385
|
number: m.string().min(1),
|
|
38946
|
-
type:
|
|
39386
|
+
type: K,
|
|
38947
39387
|
primary: m.boolean().optional()
|
|
38948
39388
|
}), m.object({
|
|
38949
39389
|
name: m.string().min(1),
|