@webitel/ui-sdk 26.4.25 → 26.4.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-D0OG5vG7.js → index-C8vBiPd-.js} +1 -1
- package/dist/{index-BGqxg6sf.js → index-sCAVesRw.js} +1 -1
- package/dist/{install-B2nKRqul.js → install-BpbOHj_I.js} +35 -35
- package/dist/{isObject-BI00FRZt.js → isObject-DJCoqZvr.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +43 -21
- package/dist/{useVidstackSrc-BOseFLeI.js → useVidstackSrc-DPEX6RRJ.js} +1 -1
- package/dist/{vidstack-Bq6c3Bam-7bd2WYUM.js → vidstack-Bq6c3Bam-C8BarGxA.js} +3 -3
- package/dist/{vidstack-D2pY00kU-C4epTBWl.js → vidstack-D2pY00kU-B_cafpYr.js} +3 -3
- package/dist/{vidstack-DDXt6fpN-kIS0cKA7.js → vidstack-DDXt6fpN-Dpiisxf7.js} +2 -2
- package/dist/{vidstack-D_-9AA6_-BEwyqyFg.js → vidstack-D_-9AA6_-DIHKUpGf.js} +2 -2
- package/dist/{vidstack-DqAw8m9J-B0aITMoo.js → vidstack-DqAw8m9J-0WX0T-uC.js} +1 -1
- package/dist/{vidstack-audio-6TiliG3Q.js → vidstack-audio-BCCWjePC.js} +2 -2
- package/dist/{vidstack-dash-l2UFj02U.js → vidstack-dash-B7M-SKgK.js} +4 -4
- package/dist/{vidstack-google-cast-CodSOtsX.js → vidstack-google-cast-CdpMYQLE.js} +4 -4
- package/dist/{vidstack-hls-46pDeuZ8.js → vidstack-hls-Dv758_L_.js} +4 -4
- package/dist/{vidstack-video-ebW809md.js → vidstack-video-DvFDc21I.js} +3 -3
- package/dist/{vidstack-vimeo-AGSCrfdG.js → vidstack-vimeo-DyiUIV8-.js} +4 -4
- package/dist/{vidstack-youtube-B9hLINBZ.js → vidstack-youtube-BV-M7QMe.js} +3 -3
- package/dist/{wt-action-bar-DJZjC6NT.js → wt-action-bar-DtCnV0QA.js} +1 -1
- package/dist/{wt-button-select-BHFC1I14.js → wt-button-select-Bu3VECKn.js} +1 -1
- package/dist/{wt-chat-emoji-B8xcrhKR.js → wt-chat-emoji-DqInk1GC.js} +2 -2
- package/dist/{wt-confirm-dialog-Cl44593Y.js → wt-confirm-dialog-D57F9q1J.js} +1 -1
- package/dist/{wt-context-menu-BcGKsSEA.js → wt-context-menu-D0jnJXad.js} +1 -1
- package/dist/{wt-copy-action-DJxJBt8B.js → wt-copy-action-DDCSQ_2A.js} +1 -1
- package/dist/{wt-datepicker-DP-8ZA9W.js → wt-datepicker-C4sRfJ0p.js} +1 -1
- package/dist/{wt-display-chip-items-BRZEAm-L.js → wt-display-chip-items-DJQPHg3Q.js} +1 -1
- package/dist/{wt-dual-panel-BnPM9e1d.js → wt-dual-panel-M4TS1dRc.js} +1 -1
- package/dist/{wt-dummy-CshyDvgg.js → wt-dummy-BRRjf0iz.js} +1 -1
- package/dist/{wt-error-page-I2kgndlE.js → wt-error-page-BD9BuJtX.js} +1 -1
- package/dist/{wt-expansion-card-rgT1wfjr.js → wt-expansion-card-eSBcimM6.js} +1 -1
- package/dist/{wt-expansion-panel-DKzmzWyj.js → wt-expansion-panel-CknhgWwE.js} +1 -1
- package/dist/{wt-filters-panel-wrapper-BTNKCoK4.js → wt-filters-panel-wrapper-C9VLrrrp.js} +1 -1
- package/dist/{wt-galleria-CVUljV6_.js → wt-galleria-zKCtE388.js} +1 -1
- package/dist/{wt-navigation-menu-BlbuMgBy.js → wt-navigation-menu-C0e1FmmX.js} +1 -1
- package/dist/{wt-notifications-bar-BiH3GPd5.js → wt-notifications-bar-p6CI--c4.js} +2 -2
- package/dist/{wt-pagination-C_MFqxak.js → wt-pagination-DdSBUoj0.js} +1 -1
- package/dist/{wt-player-BXlqJrQE.js → wt-player-Covx2kWC.js} +2 -2
- package/dist/{wt-screen-recordings-action-mYEqSZiF.js → wt-screen-recordings-action-D_LvQ56d.js} +1 -1
- package/dist/{wt-search-bar-DboZOJbZ.js → wt-search-bar-CFUNZ9ie.js} +1 -1
- package/dist/{wt-selection-popup-C-newUnN.js → wt-selection-popup-BPB0_88a.js} +1 -1
- package/dist/{wt-start-page-BnUPRxQ3.js → wt-start-page-6Gh-s00S.js} +1 -1
- package/dist/{wt-status-select-BfC7WXv6.js → wt-status-select-jfvUfsMb.js} +1 -1
- package/dist/{wt-stepper--M8qK_b_.js → wt-stepper-BVp2iitY.js} +1 -1
- package/dist/{wt-table-DRO1DkYD.js → wt-table-DX3441nG.js} +1 -1
- package/dist/{wt-table-actions-LAPPQaD9.js → wt-table-actions-Ipj873-B.js} +1 -1
- package/dist/{wt-table-column-select-Cd6H2Zci.js → wt-table-column-select-CSgLS3kw.js} +2 -2
- package/dist/{wt-tabs-DH8CFtG6.js → wt-tabs-BV1lJuJ5.js} +1 -1
- package/dist/{wt-tags-input-iDp22odU.js → wt-tags-input-gwEFiCiV.js} +2 -2
- package/dist/{wt-timepicker-oZy75TCm.js → wt-timepicker-C5P3BuaL.js} +1 -1
- package/dist/{wt-tree-C48PGUBH.js → wt-tree-DfEqI8Is.js} +2 -2
- package/dist/{wt-tree-table-CcqQU67K.js → wt-tree-table-CaTpgNb3.js} +1 -1
- package/dist/{wt-type-extension-value-input-Btjpzff5.js → wt-type-extension-value-input-DAD2xazl.js} +674 -297
- package/dist/{wt-vidstack-player-IKXIcqDJ.js → wt-vidstack-player-BJN_iH6u.js} +10 -10
- package/package.json +2 -2
- package/src/modules/Userinfo/stores/accessStore.ts +7 -1
package/dist/{wt-type-extension-value-input-Btjpzff5.js → wt-type-extension-value-input-DAD2xazl.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as we, mergeModels as Re, useModel as Ae, computed as
|
|
2
|
-
import { ag as ve, ah as Oe, O as Ee, ai as Ce, aj as qe, B as ke, ak as
|
|
3
|
-
import { d as _e } from "./index-
|
|
1
|
+
import { defineComponent as we, mergeModels as Re, useModel as Ae, computed as S, resolveComponent as $, createBlock as Z, renderSlot as F, createCommentVNode as De, unref as D, openBlock as ee, mergeProps as _, createVNode as P } from "vue";
|
|
2
|
+
import { ag as ve, ah as Oe, O as Ee, ai as Ce, aj as qe, B as ke, ak as xe, al as te, am as Se } from "./install-BpbOHj_I.js";
|
|
3
|
+
import { d as _e } from "./index-sCAVesRw.js";
|
|
4
4
|
import { get as Ue, set as Be } from "lodash-es";
|
|
5
5
|
import "@aliasedDeps/api-services/axios";
|
|
6
6
|
import * as e from "zod";
|
|
@@ -162,10 +162,10 @@ const C = {
|
|
|
162
162
|
if (f && k(n) && n.length === 0)
|
|
163
163
|
return N + "[]";
|
|
164
164
|
for (let A = 0; A < U.length; ++A) {
|
|
165
|
-
const
|
|
165
|
+
const x = U[A], X = typeof x == "object" && typeof x.value < "u" ? x.value : n[x];
|
|
166
166
|
if (c && X === null)
|
|
167
167
|
continue;
|
|
168
|
-
const z = l && h ?
|
|
168
|
+
const z = l && h ? x.replace(/\./g, "%2E") : x, Te = k(n) ? typeof i == "function" ? i(N, z) : N : N + (l ? "." + z : "[" + z + "]");
|
|
169
169
|
p.set(t, I);
|
|
170
170
|
const J = /* @__PURE__ */ new WeakMap();
|
|
171
171
|
J.set(V, p), be(
|
|
@@ -5627,7 +5627,7 @@ e.object({
|
|
|
5627
5627
|
userId: e.array(e.string()).optional(),
|
|
5628
5628
|
variablesString: e.record(e.string(), e.string()).optional()
|
|
5629
5629
|
});
|
|
5630
|
-
const
|
|
5630
|
+
const xt = "file_type_empty", St = "undefined", _t = "idle";
|
|
5631
5631
|
e.object({
|
|
5632
5632
|
items: e.array(
|
|
5633
5633
|
e.object({
|
|
@@ -5708,7 +5708,7 @@ e.object({
|
|
|
5708
5708
|
"file_type_video",
|
|
5709
5709
|
"file_type_pdf"
|
|
5710
5710
|
]).default(
|
|
5711
|
-
|
|
5711
|
+
xt
|
|
5712
5712
|
)
|
|
5713
5713
|
})
|
|
5714
5714
|
).optional(),
|
|
@@ -5719,7 +5719,7 @@ e.object({
|
|
|
5719
5719
|
"STT",
|
|
5720
5720
|
"delete"
|
|
5721
5721
|
]).default(
|
|
5722
|
-
|
|
5722
|
+
St
|
|
5723
5723
|
),
|
|
5724
5724
|
createdAt: e.string().optional(),
|
|
5725
5725
|
errorDetail: e.string().optional(),
|
|
@@ -12100,7 +12100,7 @@ e.object({
|
|
|
12100
12100
|
e.object({
|
|
12101
12101
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
|
|
12102
12102
|
});
|
|
12103
|
-
const
|
|
12103
|
+
const xo = e.object({
|
|
12104
12104
|
etag: e.string().describe("Unique ID of the latest version of an existing resource."),
|
|
12105
12105
|
group: e.object({
|
|
12106
12106
|
id: e.string().optional().describe("Reference Object unique ID."),
|
|
@@ -12108,7 +12108,7 @@ const So = e.object({
|
|
|
12108
12108
|
type: e.string().optional().describe("Reference Object well-known type.")
|
|
12109
12109
|
}).optional().describe("Group of contacts associated.")
|
|
12110
12110
|
}).describe("An input of the Contact's groups.");
|
|
12111
|
-
e.array(
|
|
12111
|
+
e.array(xo);
|
|
12112
12112
|
e.object({
|
|
12113
12113
|
data: e.array(
|
|
12114
12114
|
e.object({
|
|
@@ -12348,7 +12348,7 @@ e.object({
|
|
|
12348
12348
|
e.looseObject(
|
|
12349
12349
|
{}
|
|
12350
12350
|
);
|
|
12351
|
-
const
|
|
12351
|
+
const So = "id", _o = /^[+|-|!]?\w+$/, Uo = "*", Bo = "READ";
|
|
12352
12352
|
e.object({
|
|
12353
12353
|
page: e.number().optional().describe(
|
|
12354
12354
|
`Page number of result records. _default(1); offset=(size*(page-1));_
|
|
@@ -12385,7 +12385,7 @@ if (maximum < limit)
|
|
|
12385
12385
|
"Search term:\n`?` - matches any character\n`*` - matches 0 or more characters\nUsed to query records within a set of `qin` fields, eg: name,emails{type},labels etc..."
|
|
12386
12386
|
),
|
|
12387
12387
|
sort: e.array(
|
|
12388
|
-
e.string().regex(_o).default(
|
|
12388
|
+
e.string().regex(_o).default(So)
|
|
12389
12389
|
).optional().describe(
|
|
12390
12390
|
'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = "-" / "!"\nASC = [ "+" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.'
|
|
12391
12391
|
),
|
|
@@ -22835,7 +22835,7 @@ e.object({
|
|
|
22835
22835
|
fields: e.array(e.string()).optional(),
|
|
22836
22836
|
id: e.array(e.number()).optional()
|
|
22837
22837
|
});
|
|
22838
|
-
const
|
|
22838
|
+
const xi = "UnknownChannel";
|
|
22839
22839
|
e.object({
|
|
22840
22840
|
items: e.array(
|
|
22841
22841
|
e.object({
|
|
@@ -22850,7 +22850,7 @@ e.object({
|
|
|
22850
22850
|
"KnowledgebaseChannel",
|
|
22851
22851
|
"CasesChannel",
|
|
22852
22852
|
"ScreenRecordingChannel"
|
|
22853
|
-
]).default(
|
|
22853
|
+
]).default(xi)
|
|
22854
22854
|
).optional(),
|
|
22855
22855
|
createdAt: e.string().optional(),
|
|
22856
22856
|
createdBy: e.object({
|
|
@@ -22877,7 +22877,7 @@ e.object({
|
|
|
22877
22877
|
).optional(),
|
|
22878
22878
|
next: e.boolean().optional()
|
|
22879
22879
|
});
|
|
22880
|
-
const
|
|
22880
|
+
const Si = "UnknownChannel";
|
|
22881
22881
|
e.object({
|
|
22882
22882
|
channels: e.array(
|
|
22883
22883
|
e.enum([
|
|
@@ -22890,7 +22890,7 @@ e.object({
|
|
|
22890
22890
|
"KnowledgebaseChannel",
|
|
22891
22891
|
"CasesChannel",
|
|
22892
22892
|
"ScreenRecordingChannel"
|
|
22893
|
-
]).default(
|
|
22893
|
+
]).default(Si)
|
|
22894
22894
|
).optional(),
|
|
22895
22895
|
description: e.string().optional(),
|
|
22896
22896
|
enabled: e.boolean().optional(),
|
|
@@ -28652,22 +28652,33 @@ e.object({
|
|
|
28652
28652
|
}).optional()
|
|
28653
28653
|
});
|
|
28654
28654
|
e.object({
|
|
28655
|
-
|
|
28656
|
-
|
|
28655
|
+
basePath: e.string().optional().describe("Base path for the generated meeting URL."),
|
|
28656
|
+
domainId: e.string().optional().describe("Identifier of the domain owning the meeting."),
|
|
28657
|
+
expireSec: e.string().optional().describe("Expiration time in seconds from the moment of creation."),
|
|
28658
|
+
title: e.string().optional().describe("Title or topic of the meeting."),
|
|
28659
|
+
variables: e.record(e.string(), e.string()).optional().describe("Custom metadata or configuration variables.")
|
|
28660
|
+
}).describe("Request to create a new meeting.");
|
|
28657
28661
|
e.object({
|
|
28658
|
-
|
|
28659
|
-
|
|
28660
|
-
|
|
28661
|
-
satisfaction: e.string().optional(),
|
|
28662
|
-
title: e.string().optional()
|
|
28663
|
-
});
|
|
28662
|
+
id: e.string().optional().describe("Unique identifier of the created meeting."),
|
|
28663
|
+
url: e.string().optional().describe("Full URL to access the meeting.")
|
|
28664
|
+
}).describe("Response containing the created meeting details.");
|
|
28664
28665
|
e.object({
|
|
28665
|
-
id: e.string()
|
|
28666
|
+
id: e.string().describe("Unique identifier of the meeting.")
|
|
28666
28667
|
});
|
|
28667
28668
|
e.object({
|
|
28668
|
-
|
|
28669
|
+
allowSatisfaction: e.boolean().optional().describe("Flag indicating if satisfaction feedback is allowed."),
|
|
28670
|
+
createdAt: e.string().optional().describe("Timestamp when the meeting was created (Unix)."),
|
|
28671
|
+
expiresAt: e.string().optional().describe("Timestamp when the meeting link expires (Unix)."),
|
|
28672
|
+
satisfaction: e.string().optional().describe("Current satisfaction rating."),
|
|
28673
|
+
title: e.string().optional().describe("Title or topic of the meeting.")
|
|
28674
|
+
}).describe("Public view of the meeting (limited fields).");
|
|
28675
|
+
e.object({
|
|
28676
|
+
id: e.string().describe("Unique identifier of the meeting.")
|
|
28669
28677
|
});
|
|
28670
|
-
e.
|
|
28678
|
+
e.object({
|
|
28679
|
+
satisfaction: e.string().optional().describe("The satisfaction value or score.")
|
|
28680
|
+
}).describe("Request to submit meeting satisfaction feedback.");
|
|
28681
|
+
e.looseObject({}).describe("Empty response for satisfaction submission.");
|
|
28671
28682
|
e.object({
|
|
28672
28683
|
attempt_id: e.string()
|
|
28673
28684
|
});
|
|
@@ -35371,7 +35382,7 @@ Used as [lookup].id setting for this [struct] type.`
|
|
|
35371
35382
|
e.object({
|
|
35372
35383
|
repo: e.string().describe("[`types.repo`]")
|
|
35373
35384
|
});
|
|
35374
|
-
const qn = "*", kn = /^[+|-|!]?\w+$/,
|
|
35385
|
+
const qn = "*", kn = /^[+|-|!]?\w+$/, xn = "*";
|
|
35375
35386
|
e.object({
|
|
35376
35387
|
size: e.number().optional().describe(`Number of result records (per page).
|
|
35377
35388
|
Default: 16.`),
|
|
@@ -35382,7 +35393,7 @@ Default: 1.`),
|
|
|
35382
35393
|
).optional().describe(
|
|
35383
35394
|
'Sort result dataset of records by fields.\n```\nsort ::= *( ORDER name )\n\nORDER = ASC / DESC\nDESC = "-" / "!"\nASC = [ "+" ] ; Default\n```\n\nFields available\n\n- `id`(seq)\n- `domain`{name}\n- `created_at`\n- `created_by`{name}\n- `updated_at`\n- `updated_by`{name}\n\nUse ?fields=`field.sort()` option to sort Edge fields.'
|
|
35384
35395
|
),
|
|
35385
|
-
fields: e.array(e.string().default(
|
|
35396
|
+
fields: e.array(e.string().default(xn)).optional().describe(
|
|
35386
35397
|
`Fields [Q]uery to build result dataset record.
|
|
35387
35398
|
\`\`\`
|
|
35388
35399
|
fields ::= field [ *( "," field ) ]
|
|
@@ -35403,7 +35414,7 @@ USCORE = %x5F ; underscore ; "_"
|
|
|
35403
35414
|
id: e.array(e.string()).optional().describe("[`record.id`]"),
|
|
35404
35415
|
filters: e.string().optional().describe("Filter string in CEL format.")
|
|
35405
35416
|
});
|
|
35406
|
-
const
|
|
35417
|
+
const Sn = "none";
|
|
35407
35418
|
e.object({
|
|
35408
35419
|
data: e.array(e.looseObject({})).optional().describe("List of the dataset page records."),
|
|
35409
35420
|
next: e.boolean().optional(),
|
|
@@ -35530,7 +35541,7 @@ code`),
|
|
|
35530
35541
|
"richtext",
|
|
35531
35542
|
"datetime",
|
|
35532
35543
|
"duration"
|
|
35533
|
-
]).default(
|
|
35544
|
+
]).default(Sn).describe("Required. The field type."),
|
|
35534
35545
|
lookup: e.object({
|
|
35535
35546
|
display: e.string().optional().describe(
|
|
35536
35547
|
"[Readonly]. Display dataset field.\n(lookup).{`name`} value relation."
|
|
@@ -38510,7 +38521,7 @@ e.object({
|
|
|
38510
38521
|
"MANUAL"
|
|
38511
38522
|
]).default(Ca).describe("The type of the source")
|
|
38512
38523
|
}).default(Aa).describe("The data structure representing a source");
|
|
38513
|
-
const qa = 500, ka = 3,
|
|
38524
|
+
const qa = 500, ka = 3, xa = 100, Sa = "TYPE_UNSPECIFIED";
|
|
38514
38525
|
e.object({
|
|
38515
38526
|
createdAt: e.string().describe("Unix timestamp representing when the source was created."),
|
|
38516
38527
|
createdBy: e.object({
|
|
@@ -38519,7 +38530,7 @@ e.object({
|
|
|
38519
38530
|
}).describe("Reference to the user who originally created this source."),
|
|
38520
38531
|
description: e.string().max(qa).optional().describe("An optional longer explanation of the source's purpose."),
|
|
38521
38532
|
id: e.string().describe("Unique identifier for the source, generated automatically."),
|
|
38522
|
-
name: e.string().min(ka).max(
|
|
38533
|
+
name: e.string().min(ka).max(xa).describe("A unique, descriptive name for the source."),
|
|
38523
38534
|
type: e.enum([
|
|
38524
38535
|
"TYPE_UNSPECIFIED",
|
|
38525
38536
|
"CALL",
|
|
@@ -38528,7 +38539,7 @@ e.object({
|
|
|
38528
38539
|
"EMAIL",
|
|
38529
38540
|
"API",
|
|
38530
38541
|
"MANUAL"
|
|
38531
|
-
]).default(
|
|
38542
|
+
]).default(Sa).describe("The type of data source represented by this entry."),
|
|
38532
38543
|
updatedAt: e.string().describe("Unix timestamp representing the most recent update."),
|
|
38533
38544
|
updatedBy: e.object({
|
|
38534
38545
|
id: e.string().optional(),
|
|
@@ -39203,7 +39214,8 @@ e.object({
|
|
|
39203
39214
|
"password_categories",
|
|
39204
39215
|
"password_contains_login",
|
|
39205
39216
|
"password_warning_days",
|
|
39206
|
-
"default_password"
|
|
39217
|
+
"default_password",
|
|
39218
|
+
"expand_contact_tabs"
|
|
39207
39219
|
])
|
|
39208
39220
|
).optional().describe("Filter by setting names")
|
|
39209
39221
|
});
|
|
@@ -39246,7 +39258,8 @@ e.object({
|
|
|
39246
39258
|
"password_categories",
|
|
39247
39259
|
"password_contains_login",
|
|
39248
39260
|
"password_warning_days",
|
|
39249
|
-
"default_password"
|
|
39261
|
+
"default_password",
|
|
39262
|
+
"expand_contact_tabs"
|
|
39250
39263
|
]).default(Qa)
|
|
39251
39264
|
})
|
|
39252
39265
|
).optional(),
|
|
@@ -39288,7 +39301,8 @@ e.object({
|
|
|
39288
39301
|
"password_categories",
|
|
39289
39302
|
"password_contains_login",
|
|
39290
39303
|
"password_warning_days",
|
|
39291
|
-
"default_password"
|
|
39304
|
+
"default_password",
|
|
39305
|
+
"expand_contact_tabs"
|
|
39292
39306
|
]).default(Wa)
|
|
39293
39307
|
});
|
|
39294
39308
|
const Xa = "empty_system_settings_name";
|
|
@@ -39328,7 +39342,8 @@ e.object({
|
|
|
39328
39342
|
"password_categories",
|
|
39329
39343
|
"password_contains_login",
|
|
39330
39344
|
"password_warning_days",
|
|
39331
|
-
"default_password"
|
|
39345
|
+
"default_password",
|
|
39346
|
+
"expand_contact_tabs"
|
|
39332
39347
|
]).default(Xa)
|
|
39333
39348
|
});
|
|
39334
39349
|
e.object({
|
|
@@ -39386,7 +39401,8 @@ e.object({
|
|
|
39386
39401
|
"password_categories",
|
|
39387
39402
|
"password_contains_login",
|
|
39388
39403
|
"password_warning_days",
|
|
39389
|
-
"default_password"
|
|
39404
|
+
"default_password",
|
|
39405
|
+
"expand_contact_tabs"
|
|
39390
39406
|
]).default(Ja)
|
|
39391
39407
|
});
|
|
39392
39408
|
e.object({
|
|
@@ -39429,7 +39445,8 @@ e.object({
|
|
|
39429
39445
|
"password_categories",
|
|
39430
39446
|
"password_contains_login",
|
|
39431
39447
|
"password_warning_days",
|
|
39432
|
-
"default_password"
|
|
39448
|
+
"default_password",
|
|
39449
|
+
"expand_contact_tabs"
|
|
39433
39450
|
]).default($a)
|
|
39434
39451
|
});
|
|
39435
39452
|
e.object({
|
|
@@ -39475,7 +39492,8 @@ e.object({
|
|
|
39475
39492
|
"password_categories",
|
|
39476
39493
|
"password_contains_login",
|
|
39477
39494
|
"password_warning_days",
|
|
39478
|
-
"default_password"
|
|
39495
|
+
"default_password",
|
|
39496
|
+
"expand_contact_tabs"
|
|
39479
39497
|
]).default(Za)
|
|
39480
39498
|
});
|
|
39481
39499
|
e.object({
|
|
@@ -39519,7 +39537,8 @@ e.object({
|
|
|
39519
39537
|
"password_categories",
|
|
39520
39538
|
"password_contains_login",
|
|
39521
39539
|
"password_warning_days",
|
|
39522
|
-
"default_password"
|
|
39540
|
+
"default_password",
|
|
39541
|
+
"expand_contact_tabs"
|
|
39523
39542
|
]).default(er)
|
|
39524
39543
|
});
|
|
39525
39544
|
e.object({
|
|
@@ -40735,7 +40754,7 @@ e.object({
|
|
|
40735
40754
|
]).default(qr),
|
|
40736
40755
|
variables: e.record(e.string(), e.string()).optional()
|
|
40737
40756
|
});
|
|
40738
|
-
const kr = "empty_trigger_event",
|
|
40757
|
+
const kr = "empty_trigger_event", xr = "empty_trigger_object", Sr = "default_trigger_type";
|
|
40739
40758
|
e.object({
|
|
40740
40759
|
description: e.string().optional(),
|
|
40741
40760
|
enabled: e.boolean().optional(),
|
|
@@ -40756,7 +40775,7 @@ e.object({
|
|
|
40756
40775
|
"case_comments",
|
|
40757
40776
|
"case_links",
|
|
40758
40777
|
"related_cases"
|
|
40759
|
-
]).default(
|
|
40778
|
+
]).default(xr),
|
|
40760
40779
|
schema: e.object({
|
|
40761
40780
|
id: e.string().optional(),
|
|
40762
40781
|
name: e.string().optional()
|
|
@@ -40770,7 +40789,7 @@ e.object({
|
|
|
40770
40789
|
"default_trigger_type",
|
|
40771
40790
|
"cron",
|
|
40772
40791
|
"event"
|
|
40773
|
-
]).default(
|
|
40792
|
+
]).default(Sr),
|
|
40774
40793
|
variables: e.record(e.string(), e.string()).optional()
|
|
40775
40794
|
});
|
|
40776
40795
|
e.object({
|
|
@@ -42451,12 +42470,23 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
42451
42470
|
page: e.number().optional(),
|
|
42452
42471
|
size: e.number().optional()
|
|
42453
42472
|
});
|
|
42473
|
+
const Qr = "user_warning_id_unspecified";
|
|
42454
42474
|
e.object({
|
|
42455
42475
|
warnings: e.array(
|
|
42456
42476
|
e.object({
|
|
42457
42477
|
detail: e.string().optional(),
|
|
42458
|
-
id: e.
|
|
42478
|
+
id: e.enum([
|
|
42479
|
+
"user_warning_id_unspecified",
|
|
42480
|
+
"password_expires_soon",
|
|
42481
|
+
"license_expires_soon",
|
|
42482
|
+
"license_expired"
|
|
42483
|
+
]).default(Qr),
|
|
42459
42484
|
warningData: e.object({
|
|
42485
|
+
licenseExpiry: e.object({
|
|
42486
|
+
daysRemaining: e.string().optional(),
|
|
42487
|
+
expiresAt: e.string().optional(),
|
|
42488
|
+
licenseName: e.string().optional()
|
|
42489
|
+
}).optional(),
|
|
42460
42490
|
passwordExpiry: e.object({
|
|
42461
42491
|
daysRemaining: e.string().optional(),
|
|
42462
42492
|
expiresAt: e.string().optional()
|
|
@@ -43044,10 +43074,10 @@ For example, "chat_name" is shown when an agent connects to chats with clients.`
|
|
|
43044
43074
|
e.object({
|
|
43045
43075
|
contact_id: e.string().describe("Contact ID associated with.")
|
|
43046
43076
|
});
|
|
43047
|
-
const
|
|
43077
|
+
const Wr = /^.+$/;
|
|
43048
43078
|
e.object({
|
|
43049
43079
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result."),
|
|
43050
|
-
etag: e.array(e.string().regex(
|
|
43080
|
+
etag: e.array(e.string().regex(Wr)).describe("Set of unique ID(s) to remove.")
|
|
43051
43081
|
});
|
|
43052
43082
|
e.object({
|
|
43053
43083
|
data: e.array(
|
|
@@ -43138,12 +43168,12 @@ e.object({
|
|
|
43138
43168
|
e.object({
|
|
43139
43169
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved as a result.")
|
|
43140
43170
|
});
|
|
43141
|
-
const
|
|
43171
|
+
const Xr = /^\w+$/, Jr = e.object({
|
|
43142
43172
|
etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
43143
|
-
key: e.string().regex(
|
|
43173
|
+
key: e.string().regex(Xr).describe("NEW Key."),
|
|
43144
43174
|
value: e.unknown().optional().describe("NEW Value.")
|
|
43145
43175
|
}).describe("Input of the Contact's variable.");
|
|
43146
|
-
e.array(
|
|
43176
|
+
e.array(Jr);
|
|
43147
43177
|
e.object({
|
|
43148
43178
|
data: e.array(
|
|
43149
43179
|
e.object({
|
|
@@ -43185,12 +43215,12 @@ e.object({
|
|
|
43185
43215
|
e.object({
|
|
43186
43216
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
|
|
43187
43217
|
});
|
|
43188
|
-
const
|
|
43218
|
+
const $r = /^\w+$/, Zr = e.object({
|
|
43189
43219
|
etag: e.string().optional().describe("Unique ID of the latest version of an existing resorce."),
|
|
43190
|
-
key: e.string().regex(
|
|
43220
|
+
key: e.string().regex($r).describe("NEW Key."),
|
|
43191
43221
|
value: e.unknown().optional().describe("NEW Value.")
|
|
43192
43222
|
}).describe("Input of the Contact's variable.");
|
|
43193
|
-
e.array(
|
|
43223
|
+
e.array(Zr);
|
|
43194
43224
|
e.object({
|
|
43195
43225
|
data: e.array(
|
|
43196
43226
|
e.object({
|
|
@@ -43269,9 +43299,9 @@ e.object({
|
|
|
43269
43299
|
e.object({
|
|
43270
43300
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
|
|
43271
43301
|
});
|
|
43272
|
-
const
|
|
43302
|
+
const es = /^\w+$/;
|
|
43273
43303
|
e.object({
|
|
43274
|
-
key: e.string().regex(
|
|
43304
|
+
key: e.string().regex(es).describe("NEW Key."),
|
|
43275
43305
|
value: e.unknown().optional().describe("NEW Value.")
|
|
43276
43306
|
});
|
|
43277
43307
|
e.object({
|
|
@@ -43316,9 +43346,9 @@ e.object({
|
|
|
43316
43346
|
e.object({
|
|
43317
43347
|
fields: e.array(e.string()).optional().describe("Fields to be retrieved into result of changes.")
|
|
43318
43348
|
});
|
|
43319
|
-
const
|
|
43349
|
+
const ts = /^\w+$/;
|
|
43320
43350
|
e.object({
|
|
43321
|
-
key: e.string().regex(
|
|
43351
|
+
key: e.string().regex(ts).describe("NEW Key."),
|
|
43322
43352
|
value: e.unknown().optional().describe("NEW Value.")
|
|
43323
43353
|
});
|
|
43324
43354
|
e.object({
|
|
@@ -44030,6 +44060,37 @@ e.object({
|
|
|
44030
44060
|
}).describe(
|
|
44031
44061
|
"SearchList represents a paginated collection of Contact entities."
|
|
44032
44062
|
);
|
|
44063
|
+
e.object({
|
|
44064
|
+
email: e.string().optional().describe("Email must be valid if provided."),
|
|
44065
|
+
metadata: e.looseObject({}).optional().describe("Arbitrary metadata."),
|
|
44066
|
+
name: e.string().optional().describe("Full name of the contact."),
|
|
44067
|
+
phoneNumber: e.string().optional().describe("Phone number in E.164 format recommended."),
|
|
44068
|
+
sendId: e.string().optional().describe("Optional send ID for idempotency."),
|
|
44069
|
+
to: e.object({
|
|
44070
|
+
channelId: e.string().optional(),
|
|
44071
|
+
contact: e.object({
|
|
44072
|
+
iss: e.string().optional(),
|
|
44073
|
+
sub: e.string().optional()
|
|
44074
|
+
}).optional(),
|
|
44075
|
+
groupId: e.string().optional(),
|
|
44076
|
+
threadId: e.string().optional()
|
|
44077
|
+
}).optional().describe("Recipient of the message.")
|
|
44078
|
+
}).describe("SendContactRequest sends contact information.");
|
|
44079
|
+
e.object({
|
|
44080
|
+
id: e.string().optional().describe("Unique message identifier."),
|
|
44081
|
+
to: e.object({
|
|
44082
|
+
channelId: e.string().optional(),
|
|
44083
|
+
contact: e.object({
|
|
44084
|
+
iss: e.string().optional(),
|
|
44085
|
+
sub: e.string().optional()
|
|
44086
|
+
}).optional(),
|
|
44087
|
+
groupId: e.string().optional(),
|
|
44088
|
+
threadId: e.string().optional()
|
|
44089
|
+
}).optional().describe("Recipient of the message.")
|
|
44090
|
+
}).describe(
|
|
44091
|
+
`SendMessageResponse represents the result of a send operation.
|
|
44092
|
+
Contains the generated message ID and list of recipients.`
|
|
44093
|
+
);
|
|
44033
44094
|
e.object({
|
|
44034
44095
|
document: e.object({
|
|
44035
44096
|
body: e.string().optional(),
|
|
@@ -44083,7 +44144,7 @@ e.object({
|
|
|
44083
44144
|
link: e.string().optional(),
|
|
44084
44145
|
mimeType: e.string().optional(),
|
|
44085
44146
|
name: e.string().optional()
|
|
44086
|
-
}).describe("Represents `Image` entity with
|
|
44147
|
+
}).describe("Represents `Image` entity with\nnecessary fields.")
|
|
44087
44148
|
).optional()
|
|
44088
44149
|
}).optional(),
|
|
44089
44150
|
sendId: e.string().optional(),
|
|
@@ -44115,6 +44176,243 @@ e.object({
|
|
|
44115
44176
|
It can be a user, chat, or channel.`
|
|
44116
44177
|
)
|
|
44117
44178
|
}).describe("Represents a response to send message with image.");
|
|
44179
|
+
e.object({
|
|
44180
|
+
body: e.string().optional().describe("Body text for the message."),
|
|
44181
|
+
interactive: e.object({
|
|
44182
|
+
documents: e.object({
|
|
44183
|
+
documents: e.array(
|
|
44184
|
+
e.object({
|
|
44185
|
+
fileName: e.string().optional(),
|
|
44186
|
+
id: e.string().optional(),
|
|
44187
|
+
mimeType: e.string().optional(),
|
|
44188
|
+
sizeBytes: e.string().optional(),
|
|
44189
|
+
url: e.string().optional()
|
|
44190
|
+
}).describe(
|
|
44191
|
+
"Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems."
|
|
44192
|
+
)
|
|
44193
|
+
).optional().describe(
|
|
44194
|
+
`Documents to be attached to the header of interactive message.
|
|
44195
|
+
Max allowed documents: 10.`
|
|
44196
|
+
)
|
|
44197
|
+
}).optional().describe("Document attachments header."),
|
|
44198
|
+
images: e.object({
|
|
44199
|
+
images: e.array(
|
|
44200
|
+
e.object({
|
|
44201
|
+
id: e.string().optional(),
|
|
44202
|
+
link: e.string().optional(),
|
|
44203
|
+
mimeType: e.string().optional(),
|
|
44204
|
+
name: e.string().optional()
|
|
44205
|
+
}).describe(
|
|
44206
|
+
"Represents `Image` entity with\nnecessary fields."
|
|
44207
|
+
)
|
|
44208
|
+
).optional().describe(
|
|
44209
|
+
`Images to be attached to the header of interactive message.
|
|
44210
|
+
Max allowed images: 10.`
|
|
44211
|
+
)
|
|
44212
|
+
}).optional().describe("Images attachment header."),
|
|
44213
|
+
listReply: e.object({
|
|
44214
|
+
mainButtonTitle: e.string().optional().describe(
|
|
44215
|
+
"Title of the main button, that on-click show up list."
|
|
44216
|
+
),
|
|
44217
|
+
sections: e.array(
|
|
44218
|
+
e.object({
|
|
44219
|
+
buttons: e.array(
|
|
44220
|
+
e.object({
|
|
44221
|
+
callback: e.object({
|
|
44222
|
+
data: e.string().optional().describe(
|
|
44223
|
+
"Opaque data payload passed back to the server upon interaction."
|
|
44224
|
+
)
|
|
44225
|
+
}).optional().describe(
|
|
44226
|
+
"Triggers a backend event (callback) with associated metadata."
|
|
44227
|
+
),
|
|
44228
|
+
id: e.string().optional().describe(
|
|
44229
|
+
`Unique idempotent identifier for the button.
|
|
44230
|
+
Used by the frontend to track state and prevent duplicate interactions.`
|
|
44231
|
+
),
|
|
44232
|
+
label: e.string().optional().describe(
|
|
44233
|
+
"The human-readable label displayed on the button."
|
|
44234
|
+
),
|
|
44235
|
+
metadata: e.looseObject({}).optional().describe(
|
|
44236
|
+
`Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
|
|
44237
|
+
Usage: Allows for future-proofing without breaking schema changes.`
|
|
44238
|
+
),
|
|
44239
|
+
request: e.object({
|
|
44240
|
+
action: e.string().optional().describe(
|
|
44241
|
+
"The specific action to be performed by the client application."
|
|
44242
|
+
)
|
|
44243
|
+
}).optional().describe(
|
|
44244
|
+
"Requests sensitive information from the client (e.g., location or contact)."
|
|
44245
|
+
),
|
|
44246
|
+
url: e.object({
|
|
44247
|
+
url: e.string().optional().describe(
|
|
44248
|
+
"Must be a valid absolute URI (e.g., https://example.com)."
|
|
44249
|
+
)
|
|
44250
|
+
}).optional().describe(
|
|
44251
|
+
"Directs the user to an external web resource."
|
|
44252
|
+
)
|
|
44253
|
+
}).describe(
|
|
44254
|
+
`Defines a single interactive element within the keyboard.
|
|
44255
|
+
Each button must have a unique identifier and a specific action type.`
|
|
44256
|
+
)
|
|
44257
|
+
).optional().describe(
|
|
44258
|
+
`Collection of buttons within this section.
|
|
44259
|
+
Minimum of 1 button is required to prevent empty sections.`
|
|
44260
|
+
),
|
|
44261
|
+
section: e.string().optional().describe(
|
|
44262
|
+
"The header text for this section. Must be concise and descriptive."
|
|
44263
|
+
)
|
|
44264
|
+
}).describe(
|
|
44265
|
+
`Represents a row of buttons grouped under a specific logical section header.
|
|
44266
|
+
Useful for creating categorized menus or structured interactive interfaces.`
|
|
44267
|
+
)
|
|
44268
|
+
).optional().describe("List with sections with buttons.")
|
|
44269
|
+
}).optional().describe(
|
|
44270
|
+
"List reply with main list button text and sections with buttons."
|
|
44271
|
+
),
|
|
44272
|
+
markup: e.object({
|
|
44273
|
+
rows: e.array(
|
|
44274
|
+
e.object({
|
|
44275
|
+
buttons: e.array(
|
|
44276
|
+
e.object({
|
|
44277
|
+
callback: e.object({
|
|
44278
|
+
data: e.string().optional().describe(
|
|
44279
|
+
"Opaque data payload passed back to the server upon interaction."
|
|
44280
|
+
)
|
|
44281
|
+
}).optional().describe(
|
|
44282
|
+
"Triggers a backend event (callback) with associated metadata."
|
|
44283
|
+
),
|
|
44284
|
+
id: e.string().optional().describe(
|
|
44285
|
+
`Unique idempotent identifier for the button.
|
|
44286
|
+
Used by the frontend to track state and prevent duplicate interactions.`
|
|
44287
|
+
),
|
|
44288
|
+
label: e.string().optional().describe(
|
|
44289
|
+
"The human-readable label displayed on the button."
|
|
44290
|
+
),
|
|
44291
|
+
metadata: e.looseObject({}).optional().describe(
|
|
44292
|
+
`Extensible metadata for UI/UX styling (e.g., "color", "theme", "size").
|
|
44293
|
+
Usage: Allows for future-proofing without breaking schema changes.`
|
|
44294
|
+
),
|
|
44295
|
+
request: e.object({
|
|
44296
|
+
action: e.string().optional().describe(
|
|
44297
|
+
"The specific action to be performed by the client application."
|
|
44298
|
+
)
|
|
44299
|
+
}).optional().describe(
|
|
44300
|
+
"Requests sensitive information from the client (e.g., location or contact)."
|
|
44301
|
+
),
|
|
44302
|
+
url: e.object({
|
|
44303
|
+
url: e.string().optional().describe(
|
|
44304
|
+
"Must be a valid absolute URI (e.g., https://example.com)."
|
|
44305
|
+
)
|
|
44306
|
+
}).optional().describe(
|
|
44307
|
+
"Directs the user to an external web resource."
|
|
44308
|
+
)
|
|
44309
|
+
}).describe(
|
|
44310
|
+
`Defines a single interactive element within the keyboard.
|
|
44311
|
+
Each button must have a unique identifier and a specific action type.`
|
|
44312
|
+
)
|
|
44313
|
+
).optional().describe(
|
|
44314
|
+
`Horizontal collection of buttons.
|
|
44315
|
+
Capped at 10 to ensure UI responsiveness and prevent overflow.`
|
|
44316
|
+
)
|
|
44317
|
+
}).describe(
|
|
44318
|
+
"A standard horizontal row of interactive buttons without a section header."
|
|
44319
|
+
)
|
|
44320
|
+
).optional().describe("Rows of buttons matrix.")
|
|
44321
|
+
}).optional().describe("Markup matrix with buttons."),
|
|
44322
|
+
singleUse: e.boolean().optional().describe("Force to block user keyboard.")
|
|
44323
|
+
}).optional().describe("Interactive payload."),
|
|
44324
|
+
metadata: e.looseObject({}).optional().describe("Arbitrary metadata."),
|
|
44325
|
+
sendId: e.string().optional().describe("Optional idempotency key for deduplication."),
|
|
44326
|
+
to: e.object({
|
|
44327
|
+
channelId: e.string().optional(),
|
|
44328
|
+
contact: e.object({
|
|
44329
|
+
iss: e.string().optional(),
|
|
44330
|
+
sub: e.string().optional()
|
|
44331
|
+
}).optional(),
|
|
44332
|
+
groupId: e.string().optional(),
|
|
44333
|
+
threadId: e.string().optional()
|
|
44334
|
+
}).optional().describe("Recipient of the message.")
|
|
44335
|
+
}).describe(
|
|
44336
|
+
"SendInteractiveMessageRequest sends a structured interactive message."
|
|
44337
|
+
);
|
|
44338
|
+
e.object({
|
|
44339
|
+
id: e.string().optional().describe("Unique message identifier."),
|
|
44340
|
+
to: e.object({
|
|
44341
|
+
channelId: e.string().optional(),
|
|
44342
|
+
contact: e.object({
|
|
44343
|
+
iss: e.string().optional(),
|
|
44344
|
+
sub: e.string().optional()
|
|
44345
|
+
}).optional(),
|
|
44346
|
+
groupId: e.string().optional(),
|
|
44347
|
+
threadId: e.string().optional()
|
|
44348
|
+
}).optional().describe("Recipient of the message.")
|
|
44349
|
+
}).describe(
|
|
44350
|
+
`SendMessageResponse represents the result of a send operation.
|
|
44351
|
+
Contains the generated message ID and list of recipients.`
|
|
44352
|
+
);
|
|
44353
|
+
e.object({
|
|
44354
|
+
in_reply_to: e.string().describe("Original message ID.")
|
|
44355
|
+
});
|
|
44356
|
+
e.object({
|
|
44357
|
+
buttonCode: e.string().optional().describe("Button identifier."),
|
|
44358
|
+
callbackData: e.string().optional().describe("Optional callback payload."),
|
|
44359
|
+
reactedBy: e.object({
|
|
44360
|
+
channelId: e.string().optional(),
|
|
44361
|
+
contact: e.object({
|
|
44362
|
+
iss: e.string().optional(),
|
|
44363
|
+
sub: e.string().optional()
|
|
44364
|
+
}).optional(),
|
|
44365
|
+
groupId: e.string().optional(),
|
|
44366
|
+
threadId: e.string().optional()
|
|
44367
|
+
}).optional().describe("User who clicked the button.")
|
|
44368
|
+
}).describe("Client sends callback event when user clicks a button.");
|
|
44369
|
+
e.object({
|
|
44370
|
+
buttonCode: e.string().optional().describe("Button identifier."),
|
|
44371
|
+
callbackData: e.string().optional().describe("Optional callback payload."),
|
|
44372
|
+
inReplyTo: e.string().optional().describe("Original message ID."),
|
|
44373
|
+
reactedAt: e.string().optional().describe("Unix time in milliseconds when callback button was clicked."),
|
|
44374
|
+
reactedBy: e.object({
|
|
44375
|
+
channelId: e.string().optional(),
|
|
44376
|
+
contact: e.object({
|
|
44377
|
+
iss: e.string().optional(),
|
|
44378
|
+
sub: e.string().optional()
|
|
44379
|
+
}).optional(),
|
|
44380
|
+
groupId: e.string().optional(),
|
|
44381
|
+
threadId: e.string().optional()
|
|
44382
|
+
}).optional().describe("User who clicked the button.")
|
|
44383
|
+
}).describe("Response sent back to the client after a button click.");
|
|
44384
|
+
e.object({
|
|
44385
|
+
address: e.string().optional().describe("Optional human-readable address."),
|
|
44386
|
+
latitude: e.number().optional().describe("Latitude in degrees. Must be between -90 and +90."),
|
|
44387
|
+
longitude: e.number().optional().describe("Longitude in degrees. Must be between -180 and +180."),
|
|
44388
|
+
metadata: e.looseObject({}).optional().describe("Arbitrary metadata."),
|
|
44389
|
+
name: e.string().optional().describe('Optional location name (e.g., "Central Park").'),
|
|
44390
|
+
sendId: e.string().optional().describe("Optional send ID for idempotency."),
|
|
44391
|
+
to: e.object({
|
|
44392
|
+
channelId: e.string().optional(),
|
|
44393
|
+
contact: e.object({
|
|
44394
|
+
iss: e.string().optional(),
|
|
44395
|
+
sub: e.string().optional()
|
|
44396
|
+
}).optional(),
|
|
44397
|
+
groupId: e.string().optional(),
|
|
44398
|
+
threadId: e.string().optional()
|
|
44399
|
+
}).optional().describe("Recipient of the message.")
|
|
44400
|
+
}).describe("SendLocationRequest sends a geographic location message.");
|
|
44401
|
+
e.object({
|
|
44402
|
+
id: e.string().optional().describe("Unique message identifier."),
|
|
44403
|
+
to: e.object({
|
|
44404
|
+
channelId: e.string().optional(),
|
|
44405
|
+
contact: e.object({
|
|
44406
|
+
iss: e.string().optional(),
|
|
44407
|
+
sub: e.string().optional()
|
|
44408
|
+
}).optional(),
|
|
44409
|
+
groupId: e.string().optional(),
|
|
44410
|
+
threadId: e.string().optional()
|
|
44411
|
+
}).optional().describe("Recipient of the message.")
|
|
44412
|
+
}).describe(
|
|
44413
|
+
`SendMessageResponse represents the result of a send operation.
|
|
44414
|
+
Contains the generated message ID and list of recipients.`
|
|
44415
|
+
);
|
|
44118
44416
|
e.object({
|
|
44119
44417
|
body: e.string().optional(),
|
|
44120
44418
|
sendId: e.string().optional(),
|
|
@@ -44152,9 +44450,7 @@ e.object({
|
|
|
44152
44450
|
e.object({
|
|
44153
44451
|
threadId: e.string().optional()
|
|
44154
44452
|
});
|
|
44155
|
-
e.looseObject(
|
|
44156
|
-
{}
|
|
44157
|
-
);
|
|
44453
|
+
e.looseObject({});
|
|
44158
44454
|
e.object({
|
|
44159
44455
|
thread_id: e.string().describe("Filter by thread IDs.")
|
|
44160
44456
|
});
|
|
@@ -44303,28 +44599,10 @@ Example: "-created_at", "subject"`
|
|
|
44303
44599
|
),
|
|
44304
44600
|
page: e.number().optional().describe("Page number (1-based).")
|
|
44305
44601
|
});
|
|
44306
|
-
const
|
|
44602
|
+
const os = "UNKNOWN";
|
|
44307
44603
|
e.object({
|
|
44308
44604
|
items: e.array(
|
|
44309
44605
|
e.object({
|
|
44310
|
-
admins: e.array(
|
|
44311
|
-
e.object({
|
|
44312
|
-
isBot: e.boolean().optional().describe(
|
|
44313
|
-
"Represents if user is automation bot or actual user of system."
|
|
44314
|
-
),
|
|
44315
|
-
iss: e.string().optional().describe("Client issuer for the sender."),
|
|
44316
|
-
name: e.string().optional().describe("Participant name."),
|
|
44317
|
-
sub: e.string().optional().describe(
|
|
44318
|
-
"Client-readable participant subject or display name."
|
|
44319
|
-
),
|
|
44320
|
-
type: e.string().optional().describe("Participant type.")
|
|
44321
|
-
}).describe(
|
|
44322
|
-
`ExternalParticipant represents aggregated participant information
|
|
44323
|
-
present in the thread history response.`
|
|
44324
|
-
)
|
|
44325
|
-
).optional().describe(
|
|
44326
|
-
"List of users aggregated information with admin privileges."
|
|
44327
|
-
),
|
|
44328
44606
|
createdAt: e.string().optional().describe("Thread creation timestamp (Unix time, milliseconds)."),
|
|
44329
44607
|
description: e.string().optional().describe("Optional thread description."),
|
|
44330
44608
|
id: e.string().optional().describe("Unique thread identifier."),
|
|
@@ -44333,7 +44611,7 @@ present in the thread history response.`
|
|
|
44333
44611
|
"DIRECT",
|
|
44334
44612
|
"GROUP",
|
|
44335
44613
|
"CHANNEL"
|
|
44336
|
-
]).default(
|
|
44614
|
+
]).default(os).describe("Type of the thread."),
|
|
44337
44615
|
lastMsg: e.object({
|
|
44338
44616
|
body: e.string().optional().describe("Message body content."),
|
|
44339
44617
|
createdAt: e.string().optional().describe(
|
|
@@ -44403,22 +44681,6 @@ Can contain structured data depending on message type.`
|
|
|
44403
44681
|
"Message last update timestamp (Unix time, milliseconds)."
|
|
44404
44682
|
)
|
|
44405
44683
|
}).optional().describe("Last message of the linked thread."),
|
|
44406
|
-
memberIds: e.array(
|
|
44407
|
-
e.object({
|
|
44408
|
-
isBot: e.boolean().optional().describe(
|
|
44409
|
-
"Represents if user is automation bot or actual user of system."
|
|
44410
|
-
),
|
|
44411
|
-
iss: e.string().optional().describe("Client issuer for the sender."),
|
|
44412
|
-
name: e.string().optional().describe("Participant name."),
|
|
44413
|
-
sub: e.string().optional().describe(
|
|
44414
|
-
"Client-readable participant subject or display name."
|
|
44415
|
-
),
|
|
44416
|
-
type: e.string().optional().describe("Participant type.")
|
|
44417
|
-
}).describe(
|
|
44418
|
-
`ExternalParticipant represents aggregated participant information
|
|
44419
|
-
present in the thread history response.`
|
|
44420
|
-
)
|
|
44421
|
-
).optional().describe("List of member users aggregated information."),
|
|
44422
44684
|
members: e.array(
|
|
44423
44685
|
e.object({
|
|
44424
44686
|
directSettings: e.object({
|
|
@@ -44454,19 +44716,57 @@ Present only for DIRECT threads.`
|
|
|
44454
44716
|
with optional type-specific settings.`
|
|
44455
44717
|
)
|
|
44456
44718
|
).optional().describe("Detailed member information."),
|
|
44457
|
-
owner: e.object({
|
|
44458
|
-
isBot: e.boolean().optional().describe(
|
|
44459
|
-
"Represents if user is automation bot or actual user of system."
|
|
44460
|
-
),
|
|
44461
|
-
iss: e.string().optional().describe("Client issuer for the sender."),
|
|
44462
|
-
name: e.string().optional().describe("Participant name."),
|
|
44463
|
-
sub: e.string().optional().describe(
|
|
44464
|
-
"Client-readable participant subject or display name."
|
|
44465
|
-
),
|
|
44466
|
-
type: e.string().optional().describe("Participant type.")
|
|
44467
|
-
}).optional().describe("Aggregated user information of the thread owner."),
|
|
44468
44719
|
subject: e.string().optional().describe("Thread subject or title."),
|
|
44469
|
-
updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds).")
|
|
44720
|
+
updatedAt: e.string().optional().describe("Last update timestamp (Unix time, milliseconds)."),
|
|
44721
|
+
variables: e.object({
|
|
44722
|
+
threadId: e.string().optional().describe("Unique identifier for the thread."),
|
|
44723
|
+
variables: e.record(
|
|
44724
|
+
e.string(),
|
|
44725
|
+
e.object({
|
|
44726
|
+
setAt: e.string().optional().describe(
|
|
44727
|
+
"Timestamp when the variable was set (Unix time, milliseconds)."
|
|
44728
|
+
),
|
|
44729
|
+
setBy: e.object({
|
|
44730
|
+
appId: e.string().optional().describe(
|
|
44731
|
+
"Identifier of the specific integration app or bot."
|
|
44732
|
+
),
|
|
44733
|
+
createdAt: e.string().optional().describe(
|
|
44734
|
+
"Record creation timestamp (Unix Epoch in milliseconds)."
|
|
44735
|
+
),
|
|
44736
|
+
isBot: e.boolean().optional().describe(
|
|
44737
|
+
"Represents if usere is real person or automatic script."
|
|
44738
|
+
),
|
|
44739
|
+
iss: e.string().optional().describe(
|
|
44740
|
+
"Provider-specific unique identifier (Issuer ID)."
|
|
44741
|
+
),
|
|
44742
|
+
metadata: e.record(e.string(), e.string()).optional().describe(
|
|
44743
|
+
"Additional dynamic attributes provided by the messenger."
|
|
44744
|
+
),
|
|
44745
|
+
name: e.string().optional().describe("Display name of the contact."),
|
|
44746
|
+
sub: e.string().optional().describe(
|
|
44747
|
+
"Associated internal system subject/identifier."
|
|
44748
|
+
),
|
|
44749
|
+
type: e.string().optional().describe(
|
|
44750
|
+
"Channel type (e.g., 'webchat', 'telegram')."
|
|
44751
|
+
),
|
|
44752
|
+
updatedAt: e.string().optional().describe(
|
|
44753
|
+
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
44754
|
+
),
|
|
44755
|
+
username: e.string().optional().describe("Technical username or handle.")
|
|
44756
|
+
}).optional().describe("Contact who set the variable."),
|
|
44757
|
+
value: e.looseObject({}).optional().describe(
|
|
44758
|
+
`Arbitrary structured value of the variable.
|
|
44759
|
+
Supports dynamic JSON-like content.`
|
|
44760
|
+
)
|
|
44761
|
+
}).describe(
|
|
44762
|
+
`VariableEntry represents a single variable value
|
|
44763
|
+
along with metadata about who and when it was set.`
|
|
44764
|
+
)
|
|
44765
|
+
).optional().describe(
|
|
44766
|
+
`Key-value map of variables.
|
|
44767
|
+
Key is the variable name, value contains data and metadata.`
|
|
44768
|
+
)
|
|
44769
|
+
}).optional().describe("Optional variables associated with the thread.")
|
|
44470
44770
|
}).describe(
|
|
44471
44771
|
"Thread represents a thread (aka chat or conversation) entity."
|
|
44472
44772
|
)
|
|
@@ -44477,178 +44777,255 @@ with optional type-specific settings.`
|
|
|
44477
44777
|
and pagination metadata.`
|
|
44478
44778
|
);
|
|
44479
44779
|
e.object({
|
|
44480
|
-
|
|
44481
|
-
|
|
44482
|
-
|
|
44483
|
-
|
|
44484
|
-
|
|
44485
|
-
|
|
44486
|
-
|
|
44487
|
-
|
|
44488
|
-
|
|
44489
|
-
|
|
44490
|
-
|
|
44780
|
+
thread_id: e.string()
|
|
44781
|
+
});
|
|
44782
|
+
e.object({
|
|
44783
|
+
memberSub: e.string().optional(),
|
|
44784
|
+
memberIss: e.string().optional(),
|
|
44785
|
+
reason: e.string().optional()
|
|
44786
|
+
});
|
|
44787
|
+
e.looseObject({});
|
|
44788
|
+
e.object({
|
|
44789
|
+
thread_id: e.string()
|
|
44790
|
+
});
|
|
44791
|
+
const is = "ROLE_UNSPECIFIED";
|
|
44792
|
+
e.object({
|
|
44793
|
+
memberSub: e.string().optional(),
|
|
44794
|
+
memberIss: e.string().optional(),
|
|
44795
|
+
role: e.enum([
|
|
44796
|
+
"ROLE_UNSPECIFIED",
|
|
44797
|
+
"ROLE_MEMBER",
|
|
44798
|
+
"ROLE_ADMIN",
|
|
44799
|
+
"ROLE_OWNER",
|
|
44800
|
+
"ROLE_SUPERVISOR"
|
|
44801
|
+
]).default(is)
|
|
44802
|
+
});
|
|
44803
|
+
e.looseObject({});
|
|
44804
|
+
e.object({
|
|
44805
|
+
thread_id: e.string().describe("Unique identifier for the thread.")
|
|
44806
|
+
});
|
|
44807
|
+
e.object({
|
|
44808
|
+
threadId: e.string().optional().describe("Unique identifier for the thread."),
|
|
44809
|
+
variables: e.record(
|
|
44810
|
+
e.string(),
|
|
44811
|
+
e.object({
|
|
44812
|
+
setAt: e.string().optional().describe(
|
|
44813
|
+
"Timestamp when the variable was set (Unix time, milliseconds)."
|
|
44814
|
+
),
|
|
44815
|
+
setBy: e.object({
|
|
44816
|
+
appId: e.string().optional().describe(
|
|
44817
|
+
"Identifier of the specific integration app or bot."
|
|
44818
|
+
),
|
|
44819
|
+
createdAt: e.string().optional().describe(
|
|
44820
|
+
"Record creation timestamp (Unix Epoch in milliseconds)."
|
|
44821
|
+
),
|
|
44822
|
+
isBot: e.boolean().optional().describe(
|
|
44823
|
+
"Represents if usere is real person or automatic script."
|
|
44824
|
+
),
|
|
44825
|
+
iss: e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
44826
|
+
metadata: e.record(e.string(), e.string()).optional().describe(
|
|
44827
|
+
"Additional dynamic attributes provided by the messenger."
|
|
44828
|
+
),
|
|
44829
|
+
name: e.string().optional().describe("Display name of the contact."),
|
|
44830
|
+
sub: e.string().optional().describe("Associated internal system subject/identifier."),
|
|
44831
|
+
type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
44832
|
+
updatedAt: e.string().optional().describe(
|
|
44833
|
+
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
44834
|
+
),
|
|
44835
|
+
username: e.string().optional().describe("Technical username or handle.")
|
|
44836
|
+
}).optional().describe("Contact who set the variable."),
|
|
44837
|
+
value: e.looseObject({}).optional().describe(
|
|
44838
|
+
`Arbitrary structured value of the variable.
|
|
44839
|
+
Supports dynamic JSON-like content.`
|
|
44491
44840
|
)
|
|
44492
|
-
).
|
|
44493
|
-
|
|
44494
|
-
|
|
44495
|
-
|
|
44496
|
-
|
|
44497
|
-
|
|
44498
|
-
|
|
44499
|
-
identity: e.object({
|
|
44500
|
-
issuer: e.string().optional(),
|
|
44501
|
-
name: e.string().optional()
|
|
44502
|
-
}).optional(),
|
|
44503
|
-
threadId: e.string().optional()
|
|
44504
|
-
}).optional().describe(
|
|
44505
|
-
`Represents a peer in the messaging system.
|
|
44506
|
-
It can be a user, chat, or channel.`
|
|
44507
|
-
),
|
|
44508
|
-
sendId: e.string().optional(),
|
|
44509
|
-
to: e.object({
|
|
44510
|
-
channelId: e.string().optional(),
|
|
44511
|
-
contactId: e.string().optional(),
|
|
44512
|
-
groupId: e.string().optional(),
|
|
44513
|
-
identity: e.object({
|
|
44514
|
-
issuer: e.string().optional(),
|
|
44515
|
-
name: e.string().optional()
|
|
44516
|
-
}).optional(),
|
|
44517
|
-
threadId: e.string().optional()
|
|
44518
|
-
}).optional().describe(
|
|
44519
|
-
`Represents a peer in the messaging system.
|
|
44520
|
-
It can be a user, chat, or channel.`
|
|
44841
|
+
}).describe(
|
|
44842
|
+
`VariableEntry represents a single variable value
|
|
44843
|
+
along with metadata about who and when it was set.`
|
|
44844
|
+
)
|
|
44845
|
+
).optional().describe(
|
|
44846
|
+
`Key-value map of variables.
|
|
44847
|
+
Key is the variable name, value contains data and metadata.`
|
|
44521
44848
|
)
|
|
44522
|
-
}).describe("
|
|
44849
|
+
}).describe("ThreadVariables contains all variables associated with a thread.");
|
|
44523
44850
|
e.object({
|
|
44524
|
-
|
|
44525
|
-
|
|
44526
|
-
channelId: e.string().optional(),
|
|
44527
|
-
contactId: e.string().optional(),
|
|
44528
|
-
groupId: e.string().optional(),
|
|
44529
|
-
identity: e.object({
|
|
44530
|
-
issuer: e.string().optional(),
|
|
44531
|
-
name: e.string().optional()
|
|
44532
|
-
}).optional(),
|
|
44533
|
-
threadId: e.string().optional()
|
|
44534
|
-
}).optional().describe(
|
|
44535
|
-
`Represents a peer in the messaging system.
|
|
44536
|
-
It can be a user, chat, or channel.`
|
|
44537
|
-
)
|
|
44538
|
-
}).describe("Represents a response to send message with document.");
|
|
44851
|
+
thread_id: e.string().describe("Unique identifier for the thread.")
|
|
44852
|
+
});
|
|
44539
44853
|
e.object({
|
|
44540
|
-
|
|
44541
|
-
|
|
44542
|
-
|
|
44543
|
-
|
|
44544
|
-
|
|
44545
|
-
|
|
44546
|
-
|
|
44547
|
-
|
|
44548
|
-
|
|
44549
|
-
|
|
44550
|
-
}).optional().describe(
|
|
44551
|
-
`Represents a peer in the messaging system.
|
|
44552
|
-
It can be a user, chat, or channel.`
|
|
44553
|
-
),
|
|
44554
|
-
image: e.object({
|
|
44555
|
-
body: e.string().optional(),
|
|
44556
|
-
images: e.array(
|
|
44557
|
-
e.object({
|
|
44558
|
-
id: e.string().optional(),
|
|
44559
|
-
link: e.string().optional(),
|
|
44560
|
-
mimeType: e.string().optional(),
|
|
44561
|
-
name: e.string().optional()
|
|
44562
|
-
}).describe("Represents `Image` entity with\nnecessary fields.")
|
|
44563
|
-
).optional()
|
|
44564
|
-
}).optional(),
|
|
44565
|
-
sendId: e.string().optional(),
|
|
44566
|
-
to: e.object({
|
|
44567
|
-
channelId: e.string().optional(),
|
|
44568
|
-
contactId: e.string().optional(),
|
|
44569
|
-
groupId: e.string().optional(),
|
|
44570
|
-
identity: e.object({
|
|
44571
|
-
issuer: e.string().optional(),
|
|
44572
|
-
name: e.string().optional()
|
|
44573
|
-
}).optional(),
|
|
44574
|
-
threadId: e.string().optional()
|
|
44575
|
-
}).optional().describe(
|
|
44576
|
-
`Represents a peer in the messaging system.
|
|
44577
|
-
It can be a user, chat, or channel.`
|
|
44854
|
+
variables: e.array(
|
|
44855
|
+
e.object({
|
|
44856
|
+
key: e.string().optional().describe("Variable key."),
|
|
44857
|
+
value: e.looseObject({}).optional().describe("Variable value.")
|
|
44858
|
+
}).describe(
|
|
44859
|
+
"VariableEntryRequest represents a variable update operation."
|
|
44860
|
+
)
|
|
44861
|
+
).optional().describe(
|
|
44862
|
+
`List of variables to set or update.
|
|
44863
|
+
Existing variables with the same keys will be overwritten.`
|
|
44578
44864
|
)
|
|
44579
|
-
}).describe(
|
|
44865
|
+
}).describe(
|
|
44866
|
+
`SetVariablesRequest defines parameters
|
|
44867
|
+
for setting or updating thread variables.`
|
|
44868
|
+
);
|
|
44580
44869
|
e.object({
|
|
44581
|
-
|
|
44582
|
-
|
|
44583
|
-
|
|
44584
|
-
|
|
44585
|
-
|
|
44586
|
-
|
|
44587
|
-
|
|
44588
|
-
|
|
44589
|
-
|
|
44590
|
-
|
|
44591
|
-
|
|
44592
|
-
|
|
44593
|
-
|
|
44870
|
+
threadId: e.string().optional().describe("Unique identifier for the thread."),
|
|
44871
|
+
variables: e.record(
|
|
44872
|
+
e.string(),
|
|
44873
|
+
e.object({
|
|
44874
|
+
setAt: e.string().optional().describe(
|
|
44875
|
+
"Timestamp when the variable was set (Unix time, milliseconds)."
|
|
44876
|
+
),
|
|
44877
|
+
setBy: e.object({
|
|
44878
|
+
appId: e.string().optional().describe(
|
|
44879
|
+
"Identifier of the specific integration app or bot."
|
|
44880
|
+
),
|
|
44881
|
+
createdAt: e.string().optional().describe(
|
|
44882
|
+
"Record creation timestamp (Unix Epoch in milliseconds)."
|
|
44883
|
+
),
|
|
44884
|
+
isBot: e.boolean().optional().describe(
|
|
44885
|
+
"Represents if usere is real person or automatic script."
|
|
44886
|
+
),
|
|
44887
|
+
iss: e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
44888
|
+
metadata: e.record(e.string(), e.string()).optional().describe(
|
|
44889
|
+
"Additional dynamic attributes provided by the messenger."
|
|
44890
|
+
),
|
|
44891
|
+
name: e.string().optional().describe("Display name of the contact."),
|
|
44892
|
+
sub: e.string().optional().describe("Associated internal system subject/identifier."),
|
|
44893
|
+
type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
44894
|
+
updatedAt: e.string().optional().describe(
|
|
44895
|
+
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
44896
|
+
),
|
|
44897
|
+
username: e.string().optional().describe("Technical username or handle.")
|
|
44898
|
+
}).optional().describe("Contact who set the variable."),
|
|
44899
|
+
value: e.looseObject({}).optional().describe(
|
|
44900
|
+
`Arbitrary structured value of the variable.
|
|
44901
|
+
Supports dynamic JSON-like content.`
|
|
44902
|
+
)
|
|
44903
|
+
}).describe(
|
|
44904
|
+
`VariableEntry represents a single variable value
|
|
44905
|
+
along with metadata about who and when it was set.`
|
|
44906
|
+
)
|
|
44907
|
+
).optional().describe(
|
|
44908
|
+
`Key-value map of variables.
|
|
44909
|
+
Key is the variable name, value contains data and metadata.`
|
|
44594
44910
|
)
|
|
44595
|
-
}).describe("
|
|
44911
|
+
}).describe("ThreadVariables contains all variables associated with a thread.");
|
|
44596
44912
|
e.object({
|
|
44597
|
-
|
|
44598
|
-
domainId: e.string().optional(),
|
|
44599
|
-
from: e.object({
|
|
44600
|
-
channelId: e.string().optional(),
|
|
44601
|
-
contactId: e.string().optional(),
|
|
44602
|
-
groupId: e.string().optional(),
|
|
44603
|
-
identity: e.object({
|
|
44604
|
-
issuer: e.string().optional(),
|
|
44605
|
-
name: e.string().optional()
|
|
44606
|
-
}).optional(),
|
|
44607
|
-
threadId: e.string().optional()
|
|
44608
|
-
}).optional().describe(
|
|
44609
|
-
`Represents a peer in the messaging system.
|
|
44610
|
-
It can be a user, chat, or channel.`
|
|
44611
|
-
),
|
|
44612
|
-
sendId: e.string().optional(),
|
|
44613
|
-
to: e.object({
|
|
44614
|
-
channelId: e.string().optional(),
|
|
44615
|
-
contactId: e.string().optional(),
|
|
44616
|
-
groupId: e.string().optional(),
|
|
44617
|
-
identity: e.object({
|
|
44618
|
-
issuer: e.string().optional(),
|
|
44619
|
-
name: e.string().optional()
|
|
44620
|
-
}).optional(),
|
|
44621
|
-
threadId: e.string().optional()
|
|
44622
|
-
}).optional().describe(
|
|
44623
|
-
`Represents a peer in the messaging system.
|
|
44624
|
-
It can be a user, chat, or channel.`
|
|
44625
|
-
)
|
|
44913
|
+
thread_id: e.string().describe("Unique identifier for the thread.")
|
|
44626
44914
|
});
|
|
44627
44915
|
e.object({
|
|
44628
|
-
|
|
44629
|
-
|
|
44630
|
-
|
|
44631
|
-
|
|
44632
|
-
|
|
44633
|
-
|
|
44634
|
-
|
|
44635
|
-
|
|
44636
|
-
|
|
44637
|
-
|
|
44638
|
-
|
|
44639
|
-
|
|
44640
|
-
|
|
44916
|
+
keys: e.array(e.string()).optional().describe("List of variable keys to flush.")
|
|
44917
|
+
}).describe(
|
|
44918
|
+
`FlushVariablesRequest defines parameters
|
|
44919
|
+
for flushing thread variables by thread ID.`
|
|
44920
|
+
);
|
|
44921
|
+
e.object({
|
|
44922
|
+
threadId: e.string().optional().describe("Unique identifier for the thread."),
|
|
44923
|
+
variables: e.record(
|
|
44924
|
+
e.string(),
|
|
44925
|
+
e.object({
|
|
44926
|
+
setAt: e.string().optional().describe(
|
|
44927
|
+
"Timestamp when the variable was set (Unix time, milliseconds)."
|
|
44928
|
+
),
|
|
44929
|
+
setBy: e.object({
|
|
44930
|
+
appId: e.string().optional().describe(
|
|
44931
|
+
"Identifier of the specific integration app or bot."
|
|
44932
|
+
),
|
|
44933
|
+
createdAt: e.string().optional().describe(
|
|
44934
|
+
"Record creation timestamp (Unix Epoch in milliseconds)."
|
|
44935
|
+
),
|
|
44936
|
+
isBot: e.boolean().optional().describe(
|
|
44937
|
+
"Represents if usere is real person or automatic script."
|
|
44938
|
+
),
|
|
44939
|
+
iss: e.string().optional().describe("Provider-specific unique identifier (Issuer ID)."),
|
|
44940
|
+
metadata: e.record(e.string(), e.string()).optional().describe(
|
|
44941
|
+
"Additional dynamic attributes provided by the messenger."
|
|
44942
|
+
),
|
|
44943
|
+
name: e.string().optional().describe("Display name of the contact."),
|
|
44944
|
+
sub: e.string().optional().describe("Associated internal system subject/identifier."),
|
|
44945
|
+
type: e.string().optional().describe("Channel type (e.g., 'webchat', 'telegram')."),
|
|
44946
|
+
updatedAt: e.string().optional().describe(
|
|
44947
|
+
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
44948
|
+
),
|
|
44949
|
+
username: e.string().optional().describe("Technical username or handle.")
|
|
44950
|
+
}).optional().describe("Contact who set the variable."),
|
|
44951
|
+
value: e.looseObject({}).optional().describe(
|
|
44952
|
+
`Arbitrary structured value of the variable.
|
|
44953
|
+
Supports dynamic JSON-like content.`
|
|
44954
|
+
)
|
|
44955
|
+
}).describe(
|
|
44956
|
+
`VariableEntry represents a single variable value
|
|
44957
|
+
along with metadata about who and when it was set.`
|
|
44958
|
+
)
|
|
44959
|
+
).optional().describe(
|
|
44960
|
+
`Key-value map of variables.
|
|
44961
|
+
Key is the variable name, value contains data and metadata.`
|
|
44641
44962
|
)
|
|
44642
|
-
}).describe("
|
|
44963
|
+
}).describe("ThreadVariables contains all variables associated with a thread.");
|
|
44643
44964
|
e.object({
|
|
44644
|
-
|
|
44965
|
+
size: e.number().optional().describe("Number of results to return per page."),
|
|
44966
|
+
page: e.number().optional().describe("Page number (1-based)."),
|
|
44967
|
+
fields: e.array(e.string()).optional().describe("List of fields to include in the response."),
|
|
44968
|
+
threadIds: e.array(e.string()).optional().describe("List of thread IDs to filter by.")
|
|
44645
44969
|
});
|
|
44646
44970
|
e.object({
|
|
44647
|
-
|
|
44648
|
-
|
|
44649
|
-
|
|
44650
|
-
|
|
44651
|
-
e.
|
|
44971
|
+
items: e.array(
|
|
44972
|
+
e.object({
|
|
44973
|
+
threadId: e.string().optional().describe("Unique identifier for the thread."),
|
|
44974
|
+
variables: e.record(
|
|
44975
|
+
e.string(),
|
|
44976
|
+
e.object({
|
|
44977
|
+
setAt: e.string().optional().describe(
|
|
44978
|
+
"Timestamp when the variable was set (Unix time, milliseconds)."
|
|
44979
|
+
),
|
|
44980
|
+
setBy: e.object({
|
|
44981
|
+
appId: e.string().optional().describe(
|
|
44982
|
+
"Identifier of the specific integration app or bot."
|
|
44983
|
+
),
|
|
44984
|
+
createdAt: e.string().optional().describe(
|
|
44985
|
+
"Record creation timestamp (Unix Epoch in milliseconds)."
|
|
44986
|
+
),
|
|
44987
|
+
isBot: e.boolean().optional().describe(
|
|
44988
|
+
"Represents if usere is real person or automatic script."
|
|
44989
|
+
),
|
|
44990
|
+
iss: e.string().optional().describe(
|
|
44991
|
+
"Provider-specific unique identifier (Issuer ID)."
|
|
44992
|
+
),
|
|
44993
|
+
metadata: e.record(e.string(), e.string()).optional().describe(
|
|
44994
|
+
"Additional dynamic attributes provided by the messenger."
|
|
44995
|
+
),
|
|
44996
|
+
name: e.string().optional().describe("Display name of the contact."),
|
|
44997
|
+
sub: e.string().optional().describe(
|
|
44998
|
+
"Associated internal system subject/identifier."
|
|
44999
|
+
),
|
|
45000
|
+
type: e.string().optional().describe(
|
|
45001
|
+
"Channel type (e.g., 'webchat', 'telegram')."
|
|
45002
|
+
),
|
|
45003
|
+
updatedAt: e.string().optional().describe(
|
|
45004
|
+
"Last record update timestamp (Unix Epoch in milliseconds)."
|
|
45005
|
+
),
|
|
45006
|
+
username: e.string().optional().describe("Technical username or handle.")
|
|
45007
|
+
}).optional().describe("Contact who set the variable."),
|
|
45008
|
+
value: e.looseObject({}).optional().describe(
|
|
45009
|
+
`Arbitrary structured value of the variable.
|
|
45010
|
+
Supports dynamic JSON-like content.`
|
|
45011
|
+
)
|
|
45012
|
+
}).describe(
|
|
45013
|
+
`VariableEntry represents a single variable value
|
|
45014
|
+
along with metadata about who and when it was set.`
|
|
45015
|
+
)
|
|
45016
|
+
).optional().describe(
|
|
45017
|
+
`Key-value map of variables.
|
|
45018
|
+
Key is the variable name, value contains data and metadata.`
|
|
45019
|
+
)
|
|
45020
|
+
}).describe(
|
|
45021
|
+
"ThreadVariables contains all variables associated with a thread."
|
|
45022
|
+
)
|
|
45023
|
+
).optional().describe("List of thread variables grouped by thread."),
|
|
45024
|
+
next: e.boolean().optional().describe("Indicates if there are more results to fetch.")
|
|
45025
|
+
}).describe(
|
|
45026
|
+
`SearchVariablesResponse contains search results
|
|
45027
|
+
and pagination metadata.`
|
|
45028
|
+
);
|
|
44652
45029
|
e.object({
|
|
44653
45030
|
thread_id_1: e.string()
|
|
44654
45031
|
});
|
|
@@ -44938,7 +45315,7 @@ e.object({
|
|
|
44938
45315
|
sort: e.string().optional(),
|
|
44939
45316
|
fields: e.array(e.string()).optional()
|
|
44940
45317
|
});
|
|
44941
|
-
const
|
|
45318
|
+
const ns = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
44942
45319
|
e.object({
|
|
44943
45320
|
items: e.array(
|
|
44944
45321
|
e.object({
|
|
@@ -44978,7 +45355,7 @@ e.object({
|
|
|
44978
45355
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
44979
45356
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
44980
45357
|
]).default(
|
|
44981
|
-
|
|
45358
|
+
ns
|
|
44982
45359
|
),
|
|
44983
45360
|
team: e.object({
|
|
44984
45361
|
id: e.string().optional(),
|
|
@@ -44994,7 +45371,7 @@ e.object({
|
|
|
44994
45371
|
).optional(),
|
|
44995
45372
|
next: e.boolean().optional()
|
|
44996
45373
|
});
|
|
44997
|
-
const
|
|
45374
|
+
const as = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
44998
45375
|
e.object({
|
|
44999
45376
|
item: e.object({
|
|
45000
45377
|
agents: e.array(
|
|
@@ -45033,7 +45410,7 @@ e.object({
|
|
|
45033
45410
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
45034
45411
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
45035
45412
|
]).default(
|
|
45036
|
-
|
|
45413
|
+
as
|
|
45037
45414
|
),
|
|
45038
45415
|
team: e.object({
|
|
45039
45416
|
id: e.string().optional(),
|
|
@@ -45047,7 +45424,7 @@ e.object({
|
|
|
45047
45424
|
}).optional()
|
|
45048
45425
|
}).optional()
|
|
45049
45426
|
});
|
|
45050
|
-
const
|
|
45427
|
+
const rs = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
45051
45428
|
e.object({
|
|
45052
45429
|
item: e.object({
|
|
45053
45430
|
agents: e.array(
|
|
@@ -45086,7 +45463,7 @@ e.object({
|
|
|
45086
45463
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
45087
45464
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
45088
45465
|
]).default(
|
|
45089
|
-
|
|
45466
|
+
rs
|
|
45090
45467
|
),
|
|
45091
45468
|
team: e.object({
|
|
45092
45469
|
id: e.string().optional(),
|
|
@@ -45112,7 +45489,7 @@ e.object({
|
|
|
45112
45489
|
e.object({
|
|
45113
45490
|
fields: e.array(e.string()).optional()
|
|
45114
45491
|
});
|
|
45115
|
-
const
|
|
45492
|
+
const ss = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
45116
45493
|
e.object({
|
|
45117
45494
|
item: e.object({
|
|
45118
45495
|
agents: e.array(
|
|
@@ -45151,7 +45528,7 @@ e.object({
|
|
|
45151
45528
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
45152
45529
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
45153
45530
|
]).default(
|
|
45154
|
-
|
|
45531
|
+
ss
|
|
45155
45532
|
),
|
|
45156
45533
|
team: e.object({
|
|
45157
45534
|
id: e.string().optional(),
|
|
@@ -45214,7 +45591,7 @@ e.object({
|
|
|
45214
45591
|
e.object({
|
|
45215
45592
|
"item.id": e.string()
|
|
45216
45593
|
});
|
|
45217
|
-
const
|
|
45594
|
+
const ls = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
45218
45595
|
e.object({
|
|
45219
45596
|
item: e.object({
|
|
45220
45597
|
agents: e.array(
|
|
@@ -45252,7 +45629,7 @@ e.object({
|
|
|
45252
45629
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
45253
45630
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
45254
45631
|
]).default(
|
|
45255
|
-
|
|
45632
|
+
ls
|
|
45256
45633
|
),
|
|
45257
45634
|
team: e.object({
|
|
45258
45635
|
id: e.string().optional(),
|
|
@@ -45266,7 +45643,7 @@ e.object({
|
|
|
45266
45643
|
}).optional()
|
|
45267
45644
|
}).optional()
|
|
45268
45645
|
});
|
|
45269
|
-
const
|
|
45646
|
+
const ps = "WORKING_SCHEDULE_STATE_UNSPECIFIED";
|
|
45270
45647
|
e.object({
|
|
45271
45648
|
item: e.object({
|
|
45272
45649
|
agents: e.array(
|
|
@@ -45305,7 +45682,7 @@ e.object({
|
|
|
45305
45682
|
"WORKING_SCHEDULE_STATE_DRAFT",
|
|
45306
45683
|
"WORKING_SCHEDULE_STATE_ARCHIVED"
|
|
45307
45684
|
]).default(
|
|
45308
|
-
|
|
45685
|
+
ps
|
|
45309
45686
|
),
|
|
45310
45687
|
team: e.object({
|
|
45311
45688
|
id: e.string().optional(),
|
|
@@ -45344,9 +45721,9 @@ b();
|
|
|
45344
45721
|
m();
|
|
45345
45722
|
b();
|
|
45346
45723
|
m();
|
|
45347
|
-
const
|
|
45724
|
+
const cs = "/contacts/groups";
|
|
45348
45725
|
({
|
|
45349
|
-
...je(
|
|
45726
|
+
...je(cs)
|
|
45350
45727
|
});
|
|
45351
45728
|
b();
|
|
45352
45729
|
m();
|
|
@@ -45380,11 +45757,11 @@ m();
|
|
|
45380
45757
|
b();
|
|
45381
45758
|
m();
|
|
45382
45759
|
b();
|
|
45383
|
-
const
|
|
45760
|
+
const ds = "/users";
|
|
45384
45761
|
({
|
|
45385
|
-
...je(
|
|
45762
|
+
...je(ds)
|
|
45386
45763
|
});
|
|
45387
|
-
const
|
|
45764
|
+
const bs = b(), Ie = async ({ path: o, display: t, primary: a, ...i }) => {
|
|
45388
45765
|
const g = [
|
|
45389
45766
|
"page",
|
|
45390
45767
|
"size",
|
|
@@ -45409,7 +45786,7 @@ const cs = b(), Ie = async ({ path: o, display: t, primary: a, ...i }) => {
|
|
|
45409
45786
|
me(o)
|
|
45410
45787
|
]);
|
|
45411
45788
|
try {
|
|
45412
|
-
const s = await
|
|
45789
|
+
const s = await bs.get(f), { data: c, items: h, next: u } = E(s.data, [
|
|
45413
45790
|
L(se())
|
|
45414
45791
|
]);
|
|
45415
45792
|
return {
|
|
@@ -45424,15 +45801,15 @@ const cs = b(), Ie = async ({ path: o, display: t, primary: a, ...i }) => {
|
|
|
45424
45801
|
Q
|
|
45425
45802
|
]);
|
|
45426
45803
|
}
|
|
45427
|
-
},
|
|
45804
|
+
}, gs = (o) => Ie({
|
|
45428
45805
|
...o,
|
|
45429
45806
|
fields: o.fields || [
|
|
45430
45807
|
"id",
|
|
45431
45808
|
"name"
|
|
45432
45809
|
]
|
|
45433
|
-
}),
|
|
45810
|
+
}), us = {
|
|
45434
45811
|
getList: Ie,
|
|
45435
|
-
getLookup:
|
|
45812
|
+
getLookup: gs
|
|
45436
45813
|
};
|
|
45437
45814
|
b();
|
|
45438
45815
|
m();
|
|
@@ -45440,7 +45817,7 @@ b();
|
|
|
45440
45817
|
m();
|
|
45441
45818
|
b();
|
|
45442
45819
|
m();
|
|
45443
|
-
const
|
|
45820
|
+
const Is = /* @__PURE__ */ we({
|
|
45444
45821
|
__name: "wt-type-extension-value-input",
|
|
45445
45822
|
props: /* @__PURE__ */ Re({
|
|
45446
45823
|
field: {},
|
|
@@ -45452,20 +45829,20 @@ const ys = /* @__PURE__ */ we({
|
|
|
45452
45829
|
}),
|
|
45453
45830
|
emits: ["update:modelValue"],
|
|
45454
45831
|
setup(o) {
|
|
45455
|
-
const t = Ae(o, "modelValue"), a = o, { t: i } = ke(), g =
|
|
45832
|
+
const t = Ae(o, "modelValue"), a = o, { t: i } = ke(), g = S(() => i(a.field?.name || "vocabulary.labels")), f = S(() => a.required || a.field.required), s = S(() => t.value), c = S(() => ({
|
|
45456
45833
|
label: g.value,
|
|
45457
45834
|
required: f.value,
|
|
45458
45835
|
v: a.v
|
|
45459
|
-
})), h =
|
|
45836
|
+
})), h = S(() => ({
|
|
45460
45837
|
clearable: !0,
|
|
45461
45838
|
trackBy: "id",
|
|
45462
45839
|
searchMethod: () => y(a.field.lookup)
|
|
45463
|
-
})), u =
|
|
45840
|
+
})), u = S(() => ({
|
|
45464
45841
|
...h.value,
|
|
45465
45842
|
multiple: !0
|
|
45466
45843
|
})), d = (j) => {
|
|
45467
45844
|
t.value = j;
|
|
45468
|
-
}, y = ({ path: j, display: w, primary: O }) => (r) =>
|
|
45845
|
+
}, y = ({ path: j, display: w, primary: O }) => (r) => us.getSysTypeRecordsLookup({
|
|
45469
45846
|
...r,
|
|
45470
45847
|
path: j,
|
|
45471
45848
|
display: w,
|
|
@@ -45497,7 +45874,7 @@ const ys = /* @__PURE__ */ we({
|
|
|
45497
45874
|
key: 2,
|
|
45498
45875
|
defaultProps: { ...c.value }
|
|
45499
45876
|
}, () => [
|
|
45500
|
-
P(D(
|
|
45877
|
+
P(D(xe), _(c.value, {
|
|
45501
45878
|
"model-value": s.value,
|
|
45502
45879
|
"onUpdate:modelValue": d
|
|
45503
45880
|
}), null, 16, ["model-value"])
|
|
@@ -45535,7 +45912,7 @@ const ys = /* @__PURE__ */ we({
|
|
|
45535
45912
|
value: s.value
|
|
45536
45913
|
}
|
|
45537
45914
|
}, () => [
|
|
45538
|
-
P(D(
|
|
45915
|
+
P(D(Se), _(c.value, {
|
|
45539
45916
|
value: s.value,
|
|
45540
45917
|
mode: "datetime",
|
|
45541
45918
|
onInput: d
|
|
@@ -45545,5 +45922,5 @@ const ys = /* @__PURE__ */ we({
|
|
|
45545
45922
|
}
|
|
45546
45923
|
});
|
|
45547
45924
|
export {
|
|
45548
|
-
|
|
45925
|
+
Is as default
|
|
45549
45926
|
};
|