@deepdesk/deepdesk-sdk 10.1.1 → 10.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -59
- package/dist/index.cjs.js +5 -5
- package/dist/index.d.mts +207 -199
- package/dist/index.d.ts +207 -199
- package/dist/index.esm.js +5 -5
- package/dist/index.iife.js +29 -29
- package/package.json +4 -3
- package/styles/index.js +1 -1
- package/styles.css +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -4,6 +4,175 @@ import * as _reduxjs_toolkit_dist_configureStore from '@reduxjs/toolkit/dist/con
|
|
|
4
4
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
5
5
|
import { Middleware } from '@reduxjs/toolkit';
|
|
6
6
|
|
|
7
|
+
declare const styles$m: {
|
|
8
|
+
readonly "root": string;
|
|
9
|
+
readonly "imageWrapper": string;
|
|
10
|
+
readonly "image": string;
|
|
11
|
+
readonly "content": string;
|
|
12
|
+
readonly "title": string;
|
|
13
|
+
readonly "contentIsCropped": string;
|
|
14
|
+
readonly "lineClamp": string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
type ImageProps = {
|
|
18
|
+
title?: string;
|
|
19
|
+
src?: string | null;
|
|
20
|
+
};
|
|
21
|
+
type ContentProps = {
|
|
22
|
+
cropText?: boolean;
|
|
23
|
+
className?: string;
|
|
24
|
+
lineClamp?: boolean;
|
|
25
|
+
};
|
|
26
|
+
type TitleProps = {
|
|
27
|
+
cropText?: boolean;
|
|
28
|
+
className?: string;
|
|
29
|
+
as?: string;
|
|
30
|
+
};
|
|
31
|
+
interface CardComposition {
|
|
32
|
+
Image: FC<ImageProps>;
|
|
33
|
+
Content: FC<ContentProps>;
|
|
34
|
+
Title: FC<TitleProps>;
|
|
35
|
+
}
|
|
36
|
+
type CardStyles = typeof styles$m;
|
|
37
|
+
declare const Card: FC & CardComposition;
|
|
38
|
+
|
|
39
|
+
declare const styles$l: {
|
|
40
|
+
readonly "root": string;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
interface Props$7 {
|
|
44
|
+
children: React.ReactNode;
|
|
45
|
+
}
|
|
46
|
+
type ChipStyles = typeof styles$l;
|
|
47
|
+
declare const Chip: React.FC<Props$7>;
|
|
48
|
+
|
|
49
|
+
declare const styles$k: {
|
|
50
|
+
readonly "root": string;
|
|
51
|
+
readonly "isArrowUp": string;
|
|
52
|
+
readonly "isArrowDown": string;
|
|
53
|
+
readonly "isTab": string;
|
|
54
|
+
readonly "isEsc": string;
|
|
55
|
+
readonly "isEnter": string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
declare enum KeyboardHintKey {
|
|
59
|
+
ARROW_UP = "arrow-up",
|
|
60
|
+
ARROW_DOWN = "arrow-down",
|
|
61
|
+
TAB = "tab",
|
|
62
|
+
ESC = "esc",
|
|
63
|
+
ENTER = "enter"
|
|
64
|
+
}
|
|
65
|
+
type Props$6 = HTMLAttributes<HTMLSpanElement> & {
|
|
66
|
+
className?: string;
|
|
67
|
+
keyCode: KeyboardHintKey;
|
|
68
|
+
};
|
|
69
|
+
type KeyboardHintStyles = typeof styles$k;
|
|
70
|
+
declare const KeyboardHint: React.FC<Props$6>;
|
|
71
|
+
|
|
72
|
+
declare const styles$j: {
|
|
73
|
+
readonly "root": string;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
type Props$5 = HTMLAttributes<HTMLSpanElement>;
|
|
77
|
+
type LabelStyles = typeof styles$j;
|
|
78
|
+
declare const Label: React.FC<Props$5>;
|
|
79
|
+
|
|
80
|
+
declare const styles$i: {
|
|
81
|
+
readonly "root": string;
|
|
82
|
+
readonly "subTitleContainer": string;
|
|
83
|
+
readonly "subtitle": string;
|
|
84
|
+
readonly "suggestions": string;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
type Props$4 = HTMLAttributes<HTMLElement> & {
|
|
88
|
+
type: string;
|
|
89
|
+
title?: string;
|
|
90
|
+
};
|
|
91
|
+
type SectionStyles = typeof styles$i;
|
|
92
|
+
declare const Section: React.FC<Props$4>;
|
|
93
|
+
|
|
94
|
+
declare const styles$h: {
|
|
95
|
+
readonly "root": string;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
type Props$3 = {
|
|
99
|
+
className?: string;
|
|
100
|
+
children?: React.ReactNode;
|
|
101
|
+
};
|
|
102
|
+
type SectionListStyles = typeof styles$h;
|
|
103
|
+
declare const SectionList: React.ForwardRefExoticComponent<Props$3 & React.RefAttributes<HTMLDivElement>>;
|
|
104
|
+
|
|
105
|
+
declare const styles$g: {
|
|
106
|
+
readonly "root": string;
|
|
107
|
+
readonly "fadein": string;
|
|
108
|
+
readonly "isClickable": string;
|
|
109
|
+
readonly "isSelected": string;
|
|
110
|
+
readonly "actions": string;
|
|
111
|
+
readonly "actionsIsFixed": string;
|
|
112
|
+
readonly "actionButton": string;
|
|
113
|
+
readonly "dropdownList": string;
|
|
114
|
+
readonly "dropdownButton": string;
|
|
115
|
+
readonly "dropdownItem": string;
|
|
116
|
+
readonly "dropdownItemButton": string;
|
|
117
|
+
readonly "actionButtonIsPrimary": string;
|
|
118
|
+
readonly "actionButtonIsDisabled": string;
|
|
119
|
+
readonly "labels": string;
|
|
120
|
+
readonly "label": string;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
interface ActionsProps extends HTMLAttributes<HTMLElement> {
|
|
124
|
+
fixed?: boolean;
|
|
125
|
+
}
|
|
126
|
+
interface ActionButtonProps extends HTMLAttributes<HTMLElement> {
|
|
127
|
+
primary?: boolean;
|
|
128
|
+
disabled?: boolean;
|
|
129
|
+
label: ReactNode;
|
|
130
|
+
}
|
|
131
|
+
interface DropdownItemProps extends HTMLAttributes<HTMLElement> {
|
|
132
|
+
index: number;
|
|
133
|
+
label: ReactNode;
|
|
134
|
+
onClick?(event: SyntheticEvent<any>): void;
|
|
135
|
+
}
|
|
136
|
+
interface LabelProps {
|
|
137
|
+
labels: string[];
|
|
138
|
+
}
|
|
139
|
+
type Props$2 = HTMLAttributes<HTMLElement> & {
|
|
140
|
+
selected?: boolean;
|
|
141
|
+
as?: 'div' | 'button';
|
|
142
|
+
};
|
|
143
|
+
interface SuggestionComposition {
|
|
144
|
+
Actions: FC<ActionsProps>;
|
|
145
|
+
ActionButton: FC<ActionButtonProps>;
|
|
146
|
+
DropdownButton: FC<ActionButtonProps>;
|
|
147
|
+
DropdownItem: FC<DropdownItemProps>;
|
|
148
|
+
Labels: FC<LabelProps>;
|
|
149
|
+
}
|
|
150
|
+
type SuggestionStyles = typeof styles$g;
|
|
151
|
+
declare const Suggestion: ForwardRefExoticComponent<Props$2 & RefAttributes<any>> & SuggestionComposition;
|
|
152
|
+
|
|
153
|
+
declare const styles$f: {
|
|
154
|
+
readonly "root": string;
|
|
155
|
+
readonly "isWithDivider": string;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
type SuggestionListStyles = typeof styles$f;
|
|
159
|
+
interface Props$1 {
|
|
160
|
+
withDivider?: boolean;
|
|
161
|
+
}
|
|
162
|
+
declare const SuggestionList: React.FC<Props$1>;
|
|
163
|
+
|
|
164
|
+
declare const styles$e: {
|
|
165
|
+
readonly "root": string;
|
|
166
|
+
readonly "isCollapsed": string;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
type Props = HTMLAttributes<HTMLButtonElement> & {
|
|
170
|
+
isCollapsed: boolean;
|
|
171
|
+
title: string;
|
|
172
|
+
};
|
|
173
|
+
type ToggleButtonStyles = typeof styles$e;
|
|
174
|
+
declare const ToggleButton: React.FC<Props>;
|
|
175
|
+
|
|
7
176
|
declare enum Sources {
|
|
8
177
|
SEARCH = "search",
|
|
9
178
|
TEMPLATE = "template",
|
|
@@ -747,6 +916,8 @@ declare namespace Server {
|
|
|
747
916
|
autocomplete_with_text_suggestions: boolean;
|
|
748
917
|
entities_command: boolean;
|
|
749
918
|
summarizer: boolean;
|
|
919
|
+
summarizer_prompt_instruction: string;
|
|
920
|
+
summarizer_model: string;
|
|
750
921
|
knowledge_search: boolean;
|
|
751
922
|
knowledge_search_prompt_instruction: string;
|
|
752
923
|
ui_config: {
|
|
@@ -882,12 +1053,12 @@ declare class DeepdeskAPI {
|
|
|
882
1053
|
*/
|
|
883
1054
|
postMessages(conversationId: string, messages: CamelCaseKeys<Server.ConversationMessage>[]): Promise<({
|
|
884
1055
|
id: string;
|
|
885
|
-
|
|
1056
|
+
text: string;
|
|
886
1057
|
source: "agent" | "visitor" | "bot" | "system";
|
|
1058
|
+
time: string;
|
|
887
1059
|
authorId: string;
|
|
888
1060
|
authorName?: string | undefined;
|
|
889
1061
|
authorEmail?: string | undefined;
|
|
890
|
-
text: string;
|
|
891
1062
|
} & {
|
|
892
1063
|
tags: Record<string, string> | null;
|
|
893
1064
|
})[]>;
|
|
@@ -906,7 +1077,10 @@ declare class DeepdeskAPI {
|
|
|
906
1077
|
getSummary(messages: Array<{
|
|
907
1078
|
source: string;
|
|
908
1079
|
text: string;
|
|
909
|
-
}
|
|
1080
|
+
}>, options?: {
|
|
1081
|
+
model?: string;
|
|
1082
|
+
promptInstruction?: string;
|
|
1083
|
+
}): Promise<string>;
|
|
910
1084
|
/**
|
|
911
1085
|
* Get a temporary exchange / login token
|
|
912
1086
|
*/
|
|
@@ -997,7 +1171,7 @@ interface State$6 {
|
|
|
997
1171
|
isInitialRequest: null | boolean;
|
|
998
1172
|
}
|
|
999
1173
|
|
|
1000
|
-
declare const styles$
|
|
1174
|
+
declare const styles$d: {
|
|
1001
1175
|
readonly "isDisabled": string;
|
|
1002
1176
|
readonly "buttonStart": string;
|
|
1003
1177
|
readonly "root": string;
|
|
@@ -1008,51 +1182,9 @@ declare const styles$m: {
|
|
|
1008
1182
|
readonly "isAborted": string;
|
|
1009
1183
|
};
|
|
1010
1184
|
|
|
1011
|
-
type AutoflowStyles = typeof styles$
|
|
1012
|
-
|
|
1013
|
-
declare const styles$l: {
|
|
1014
|
-
readonly "root": string;
|
|
1015
|
-
readonly "imageWrapper": string;
|
|
1016
|
-
readonly "image": string;
|
|
1017
|
-
readonly "content": string;
|
|
1018
|
-
readonly "title": string;
|
|
1019
|
-
readonly "contentIsCropped": string;
|
|
1020
|
-
readonly "lineClamp": string;
|
|
1021
|
-
};
|
|
1022
|
-
|
|
1023
|
-
type ImageProps = {
|
|
1024
|
-
title?: string;
|
|
1025
|
-
src?: string | null;
|
|
1026
|
-
};
|
|
1027
|
-
type ContentProps = {
|
|
1028
|
-
cropText?: boolean;
|
|
1029
|
-
className?: string;
|
|
1030
|
-
lineClamp?: boolean;
|
|
1031
|
-
};
|
|
1032
|
-
type TitleProps = {
|
|
1033
|
-
cropText?: boolean;
|
|
1034
|
-
className?: string;
|
|
1035
|
-
as?: string;
|
|
1036
|
-
};
|
|
1037
|
-
interface CardComposition {
|
|
1038
|
-
Image: FC<ImageProps>;
|
|
1039
|
-
Content: FC<ContentProps>;
|
|
1040
|
-
Title: FC<TitleProps>;
|
|
1041
|
-
}
|
|
1042
|
-
type CardStyles = typeof styles$l;
|
|
1043
|
-
declare const Card: FC & CardComposition;
|
|
1044
|
-
|
|
1045
|
-
declare const styles$k: {
|
|
1046
|
-
readonly "root": string;
|
|
1047
|
-
};
|
|
1048
|
-
|
|
1049
|
-
interface Props$7 {
|
|
1050
|
-
children: React.ReactNode;
|
|
1051
|
-
}
|
|
1052
|
-
type ChipStyles = typeof styles$k;
|
|
1053
|
-
declare const Chip: React.FC<Props$7>;
|
|
1185
|
+
type AutoflowStyles = typeof styles$d;
|
|
1054
1186
|
|
|
1055
|
-
declare const styles$
|
|
1187
|
+
declare const styles$c: {
|
|
1056
1188
|
readonly "root": string;
|
|
1057
1189
|
readonly "list": string;
|
|
1058
1190
|
readonly "listWrapper": string;
|
|
@@ -1093,16 +1225,16 @@ declare const styles$j: {
|
|
|
1093
1225
|
readonly "actionShortcutFixKerning": string;
|
|
1094
1226
|
};
|
|
1095
1227
|
|
|
1096
|
-
type CommandPaletteStyles = typeof styles$
|
|
1228
|
+
type CommandPaletteStyles = typeof styles$c;
|
|
1097
1229
|
|
|
1098
|
-
declare const styles$
|
|
1230
|
+
declare const styles$b: {
|
|
1099
1231
|
readonly "root": string;
|
|
1100
1232
|
readonly "content": string;
|
|
1101
1233
|
};
|
|
1102
1234
|
|
|
1103
|
-
type DialogStyles = typeof styles$
|
|
1235
|
+
type DialogStyles = typeof styles$b;
|
|
1104
1236
|
|
|
1105
|
-
declare const styles$
|
|
1237
|
+
declare const styles$a: {
|
|
1106
1238
|
readonly "root": string;
|
|
1107
1239
|
readonly "content": string;
|
|
1108
1240
|
readonly "title": string;
|
|
@@ -1112,9 +1244,9 @@ declare const styles$h: {
|
|
|
1112
1244
|
readonly "primaryButtons": string;
|
|
1113
1245
|
};
|
|
1114
1246
|
|
|
1115
|
-
type EditSuggestionFormStyles = typeof styles$
|
|
1247
|
+
type EditSuggestionFormStyles = typeof styles$a;
|
|
1116
1248
|
|
|
1117
|
-
declare const styles$
|
|
1249
|
+
declare const styles$9: {
|
|
1118
1250
|
readonly "root": string;
|
|
1119
1251
|
readonly "agentText": string;
|
|
1120
1252
|
readonly "textInput": string;
|
|
@@ -1125,63 +1257,32 @@ declare const styles$g: {
|
|
|
1125
1257
|
readonly "success": string;
|
|
1126
1258
|
};
|
|
1127
1259
|
|
|
1128
|
-
type EditSuggestionTextInputStyles = typeof styles$
|
|
1260
|
+
type EditSuggestionTextInputStyles = typeof styles$9;
|
|
1129
1261
|
|
|
1130
|
-
declare const styles$
|
|
1262
|
+
declare const styles$8: {
|
|
1131
1263
|
readonly "root": string;
|
|
1132
1264
|
readonly "title": string;
|
|
1133
1265
|
readonly "empty": string;
|
|
1134
1266
|
};
|
|
1135
1267
|
|
|
1136
|
-
type EntitiesListStyles = typeof styles$
|
|
1268
|
+
type EntitiesListStyles = typeof styles$8;
|
|
1137
1269
|
|
|
1138
|
-
declare const styles$
|
|
1139
|
-
readonly "root": string;
|
|
1140
|
-
readonly "isArrowUp": string;
|
|
1141
|
-
readonly "isArrowDown": string;
|
|
1142
|
-
readonly "isTab": string;
|
|
1143
|
-
readonly "isEsc": string;
|
|
1144
|
-
readonly "isEnter": string;
|
|
1145
|
-
};
|
|
1146
|
-
|
|
1147
|
-
declare enum KeyboardHintKey {
|
|
1148
|
-
ARROW_UP = "arrow-up",
|
|
1149
|
-
ARROW_DOWN = "arrow-down",
|
|
1150
|
-
TAB = "tab",
|
|
1151
|
-
ESC = "esc",
|
|
1152
|
-
ENTER = "enter"
|
|
1153
|
-
}
|
|
1154
|
-
type Props$6 = HTMLAttributes<HTMLSpanElement> & {
|
|
1155
|
-
className?: string;
|
|
1156
|
-
keyCode: KeyboardHintKey;
|
|
1157
|
-
};
|
|
1158
|
-
type KeyboardHintStyles = typeof styles$e;
|
|
1159
|
-
declare const KeyboardHint: React.FC<Props$6>;
|
|
1160
|
-
|
|
1161
|
-
declare const styles$d: {
|
|
1162
|
-
readonly "root": string;
|
|
1163
|
-
};
|
|
1164
|
-
|
|
1165
|
-
type Props$5 = HTMLAttributes<HTMLSpanElement>;
|
|
1166
|
-
type LabelStyles = typeof styles$d;
|
|
1167
|
-
declare const Label: React.FC<Props$5>;
|
|
1168
|
-
|
|
1169
|
-
declare const styles$c: {
|
|
1270
|
+
declare const styles$7: {
|
|
1170
1271
|
readonly "root": string;
|
|
1171
1272
|
readonly "content": string;
|
|
1172
1273
|
};
|
|
1173
1274
|
|
|
1174
|
-
type LinkSearchStyles = typeof styles$
|
|
1275
|
+
type LinkSearchStyles = typeof styles$7;
|
|
1175
1276
|
|
|
1176
|
-
declare const styles$
|
|
1277
|
+
declare const styles$6: {
|
|
1177
1278
|
readonly "root": string;
|
|
1178
1279
|
readonly "anchor": string;
|
|
1179
1280
|
readonly "anchorButton": string;
|
|
1180
1281
|
};
|
|
1181
1282
|
|
|
1182
|
-
type LoginStyles = typeof styles$
|
|
1283
|
+
type LoginStyles = typeof styles$6;
|
|
1183
1284
|
|
|
1184
|
-
declare const styles$
|
|
1285
|
+
declare const styles$5: {
|
|
1185
1286
|
readonly "root": string;
|
|
1186
1287
|
readonly "anchorButton": string;
|
|
1187
1288
|
readonly "errorMessage": string;
|
|
@@ -1194,99 +1295,16 @@ declare const styles$a: {
|
|
|
1194
1295
|
readonly "primaryButton": string;
|
|
1195
1296
|
};
|
|
1196
1297
|
|
|
1197
|
-
type LoginTokenDialogStyles = typeof styles$
|
|
1298
|
+
type LoginTokenDialogStyles = typeof styles$5;
|
|
1198
1299
|
|
|
1199
|
-
declare const styles$
|
|
1300
|
+
declare const styles$4: {
|
|
1200
1301
|
readonly "root": string;
|
|
1201
1302
|
readonly "text": string;
|
|
1202
1303
|
};
|
|
1203
1304
|
|
|
1204
|
-
type SearchTriggerStyles = typeof styles$
|
|
1205
|
-
|
|
1206
|
-
declare const styles$8: {
|
|
1207
|
-
readonly "root": string;
|
|
1208
|
-
readonly "subTitleContainer": string;
|
|
1209
|
-
readonly "subtitle": string;
|
|
1210
|
-
readonly "suggestions": string;
|
|
1211
|
-
};
|
|
1212
|
-
|
|
1213
|
-
type Props$4 = HTMLAttributes<HTMLElement> & {
|
|
1214
|
-
title?: string;
|
|
1215
|
-
};
|
|
1216
|
-
type SectionStyles = typeof styles$8;
|
|
1217
|
-
declare const Section: React.FC<Props$4>;
|
|
1218
|
-
|
|
1219
|
-
declare const styles$7: {
|
|
1220
|
-
readonly "root": string;
|
|
1221
|
-
};
|
|
1222
|
-
|
|
1223
|
-
type Props$3 = {
|
|
1224
|
-
className?: string;
|
|
1225
|
-
children?: React.ReactNode;
|
|
1226
|
-
};
|
|
1227
|
-
type SectionListStyles = typeof styles$7;
|
|
1228
|
-
declare const SectionList: React.ForwardRefExoticComponent<Props$3 & React.RefAttributes<HTMLDivElement>>;
|
|
1229
|
-
|
|
1230
|
-
declare const styles$6: {
|
|
1231
|
-
readonly "root": string;
|
|
1232
|
-
readonly "fadein": string;
|
|
1233
|
-
readonly "isClickable": string;
|
|
1234
|
-
readonly "isSelected": string;
|
|
1235
|
-
readonly "actions": string;
|
|
1236
|
-
readonly "actionsIsFixed": string;
|
|
1237
|
-
readonly "actionButton": string;
|
|
1238
|
-
readonly "dropdownList": string;
|
|
1239
|
-
readonly "dropdownButton": string;
|
|
1240
|
-
readonly "dropdownItem": string;
|
|
1241
|
-
readonly "dropdownItemButton": string;
|
|
1242
|
-
readonly "actionButtonIsPrimary": string;
|
|
1243
|
-
readonly "actionButtonIsDisabled": string;
|
|
1244
|
-
readonly "labels": string;
|
|
1245
|
-
readonly "label": string;
|
|
1246
|
-
};
|
|
1305
|
+
type SearchTriggerStyles = typeof styles$4;
|
|
1247
1306
|
|
|
1248
|
-
|
|
1249
|
-
fixed?: boolean;
|
|
1250
|
-
}
|
|
1251
|
-
interface ActionButtonProps extends HTMLAttributes<HTMLElement> {
|
|
1252
|
-
primary?: boolean;
|
|
1253
|
-
disabled?: boolean;
|
|
1254
|
-
label: ReactNode;
|
|
1255
|
-
}
|
|
1256
|
-
interface DropdownItemProps extends HTMLAttributes<HTMLElement> {
|
|
1257
|
-
index: number;
|
|
1258
|
-
label: ReactNode;
|
|
1259
|
-
onClick?(event: SyntheticEvent<any>): void;
|
|
1260
|
-
}
|
|
1261
|
-
interface LabelProps {
|
|
1262
|
-
labels: string[];
|
|
1263
|
-
}
|
|
1264
|
-
type Props$2 = HTMLAttributes<HTMLElement> & {
|
|
1265
|
-
selected?: boolean;
|
|
1266
|
-
as?: 'div' | 'button';
|
|
1267
|
-
};
|
|
1268
|
-
interface SuggestionComposition {
|
|
1269
|
-
Actions: FC<ActionsProps>;
|
|
1270
|
-
ActionButton: FC<ActionButtonProps>;
|
|
1271
|
-
DropdownButton: FC<ActionButtonProps>;
|
|
1272
|
-
DropdownItem: FC<DropdownItemProps>;
|
|
1273
|
-
Labels: FC<LabelProps>;
|
|
1274
|
-
}
|
|
1275
|
-
type SuggestionStyles = typeof styles$6;
|
|
1276
|
-
declare const Suggestion: ForwardRefExoticComponent<Props$2 & RefAttributes<any>> & SuggestionComposition;
|
|
1277
|
-
|
|
1278
|
-
declare const styles$5: {
|
|
1279
|
-
readonly "root": string;
|
|
1280
|
-
readonly "isWithDivider": string;
|
|
1281
|
-
};
|
|
1282
|
-
|
|
1283
|
-
type SuggestionListStyles = typeof styles$5;
|
|
1284
|
-
interface Props$1 {
|
|
1285
|
-
withDivider?: boolean;
|
|
1286
|
-
}
|
|
1287
|
-
declare const SuggestionList: React.FC<Props$1>;
|
|
1288
|
-
|
|
1289
|
-
declare const styles$4: {
|
|
1307
|
+
declare const styles$3: {
|
|
1290
1308
|
readonly "root": string;
|
|
1291
1309
|
readonly "isInline": string;
|
|
1292
1310
|
readonly "toggleButton": string;
|
|
@@ -1300,10 +1318,11 @@ declare const styles$4: {
|
|
|
1300
1318
|
readonly "triggersRight": string;
|
|
1301
1319
|
};
|
|
1302
1320
|
|
|
1303
|
-
type SuggestionsOverlayStyles = typeof styles$
|
|
1321
|
+
type SuggestionsOverlayStyles = typeof styles$3;
|
|
1304
1322
|
|
|
1305
|
-
declare const styles$
|
|
1323
|
+
declare const styles$2: {
|
|
1306
1324
|
readonly "root": string;
|
|
1325
|
+
readonly "container": string;
|
|
1307
1326
|
readonly "agentText": string;
|
|
1308
1327
|
readonly "tabText": string;
|
|
1309
1328
|
readonly "hint": string;
|
|
@@ -1326,34 +1345,22 @@ declare const styles$3: {
|
|
|
1326
1345
|
readonly "suggestionsOverlayInputStyles": string;
|
|
1327
1346
|
};
|
|
1328
1347
|
|
|
1329
|
-
type TabCompletionStyles = typeof styles$
|
|
1348
|
+
type TabCompletionStyles = typeof styles$2;
|
|
1330
1349
|
|
|
1331
|
-
declare const styles$
|
|
1350
|
+
declare const styles$1: {
|
|
1332
1351
|
readonly "badge": string;
|
|
1333
1352
|
readonly "formattedText": string;
|
|
1334
1353
|
};
|
|
1335
1354
|
|
|
1336
|
-
type TextSuggestionStyles = typeof styles$
|
|
1337
|
-
|
|
1338
|
-
declare const styles$1: {
|
|
1339
|
-
readonly "root": string;
|
|
1340
|
-
readonly "isCollapsed": string;
|
|
1341
|
-
};
|
|
1342
|
-
|
|
1343
|
-
type Props = HTMLAttributes<HTMLButtonElement> & {
|
|
1344
|
-
isCollapsed: boolean;
|
|
1345
|
-
title: string;
|
|
1346
|
-
};
|
|
1347
|
-
type ToggleButtonStyles = typeof styles$1;
|
|
1348
|
-
declare const ToggleButton: React.FC<Props>;
|
|
1355
|
+
type TextSuggestionStyles = typeof styles$1;
|
|
1349
1356
|
|
|
1350
1357
|
declare const styles: {
|
|
1351
1358
|
readonly "root": string;
|
|
1352
1359
|
readonly "loginText": string;
|
|
1353
1360
|
readonly "stateText": string;
|
|
1354
1361
|
readonly "sectionList": string;
|
|
1355
|
-
readonly "
|
|
1356
|
-
readonly "
|
|
1362
|
+
readonly "shortcutList": string;
|
|
1363
|
+
readonly "shortcut": string;
|
|
1357
1364
|
};
|
|
1358
1365
|
|
|
1359
1366
|
type WidgetStyles = typeof styles;
|
|
@@ -1653,6 +1660,7 @@ interface SDKEventMap {
|
|
|
1653
1660
|
'edit-suggestion': EditTextSuggestionPayload;
|
|
1654
1661
|
'send-message': string;
|
|
1655
1662
|
'send-message-event': SendMessageEventData;
|
|
1663
|
+
logout: undefined;
|
|
1656
1664
|
ready: undefined;
|
|
1657
1665
|
showSearchOverlay: boolean;
|
|
1658
1666
|
}
|