@botpress/webchat 2.3.0 → 2.3.1
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/.turbo/turbo-build.log +7 -7
- package/dist/gen/client/models.d.ts +0 -52
- package/dist/gen/client/operations/createMessage.d.ts +0 -104
- package/dist/gen/client/operations/getMessage.d.ts +0 -52
- package/dist/gen/client/operations/listConversationMessages.d.ts +0 -52
- package/dist/gen/signals/index.d.ts +0 -93
- package/dist/gen/signals/messageCreated.t.d.ts +0 -52
- package/dist/gen/signals/messageCreated.z.d.ts +0 -93
- package/dist/index.js +34 -59
- package/dist/index.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/dist/styles/classes.d.ts +22 -22
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/webchat@2.3.
|
|
2
|
+
> @botpress/webchat@2.3.1 build /home/runner/work/echo/echo/packages/webchat-frontend
|
|
3
3
|
> vite build
|
|
4
4
|
|
|
5
5
|
[36mvite v4.4.11 [32mbuilding for production...[36m[39m
|
|
@@ -15,10 +15,10 @@ rendering chunks...
|
|
|
15
15
|
[32m
|
|
16
16
|
[36m[vite:dts][32m Start generate declaration files...[39m
|
|
17
17
|
computing gzip size...
|
|
18
|
-
[2mdist/[22m[35mstyle.css [39m[1m[2m
|
|
19
|
-
[2mdist/[22m[36mindex.js [39m[1m[
|
|
20
|
-
[32m[36m[vite:dts][32m Declaration files built in
|
|
18
|
+
[2mdist/[22m[35mstyle.css [39m[1m[2m 31.15 kB[22m[1m[22m[2m │ gzip: 5.80 kB[22m
|
|
19
|
+
[2mdist/[22m[36mindex.js [39m[1m[33m965.47 kB[39m[22m[2m │ gzip: 256.17 kB[22m
|
|
20
|
+
[32m[36m[vite:dts][32m Declaration files built in 15479ms.
|
|
21
21
|
[39m
|
|
22
|
-
[2mdist/[22m[35mstyle.css [39m[1m[2m
|
|
23
|
-
[2mdist/[22m[36mindex.umd.cjs [39m[1m[
|
|
24
|
-
[32m✓ built in
|
|
22
|
+
[2mdist/[22m[35mstyle.css [39m[1m[2m 31.15 kB[22m[1m[22m[2m │ gzip: 5.80 kB[22m
|
|
23
|
+
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m661.15 kB[39m[22m[2m │ gzip: 214.42 kB[22m
|
|
24
|
+
[32m✓ built in 24.49s[39m
|
|
@@ -60,10 +60,6 @@ export interface Message {
|
|
|
60
60
|
*/
|
|
61
61
|
payload: {
|
|
62
62
|
audioUrl: string;
|
|
63
|
-
/**
|
|
64
|
-
* CSS className to apply to the message
|
|
65
|
-
*/
|
|
66
|
-
className?: string;
|
|
67
63
|
type: "audio";
|
|
68
64
|
[k: string]: any;
|
|
69
65
|
} | {
|
|
@@ -77,10 +73,6 @@ export interface Message {
|
|
|
77
73
|
[k: string]: any;
|
|
78
74
|
}[];
|
|
79
75
|
type: "card";
|
|
80
|
-
/**
|
|
81
|
-
* CSS className to apply to the message
|
|
82
|
-
*/
|
|
83
|
-
className?: string;
|
|
84
76
|
[k: string]: any;
|
|
85
77
|
} | {
|
|
86
78
|
items: {
|
|
@@ -93,16 +85,8 @@ export interface Message {
|
|
|
93
85
|
value: string;
|
|
94
86
|
[k: string]: any;
|
|
95
87
|
}[];
|
|
96
|
-
/**
|
|
97
|
-
* CSS className to apply to the message
|
|
98
|
-
*/
|
|
99
|
-
className?: string;
|
|
100
88
|
[k: string]: any;
|
|
101
89
|
}[];
|
|
102
|
-
/**
|
|
103
|
-
* CSS className to apply to the message
|
|
104
|
-
*/
|
|
105
|
-
className?: string;
|
|
106
90
|
type: "carousel";
|
|
107
91
|
[k: string]: any;
|
|
108
92
|
} | {
|
|
@@ -112,10 +96,6 @@ export interface Message {
|
|
|
112
96
|
value: string;
|
|
113
97
|
[k: string]: any;
|
|
114
98
|
}[];
|
|
115
|
-
/**
|
|
116
|
-
* CSS className to apply to the message
|
|
117
|
-
*/
|
|
118
|
-
className?: string;
|
|
119
99
|
type: "choice";
|
|
120
100
|
disableFreeText?: boolean;
|
|
121
101
|
[k: string]: any;
|
|
@@ -126,27 +106,15 @@ export interface Message {
|
|
|
126
106
|
value: string;
|
|
127
107
|
[k: string]: any;
|
|
128
108
|
}[];
|
|
129
|
-
/**
|
|
130
|
-
* CSS className to apply to the message
|
|
131
|
-
*/
|
|
132
|
-
className?: string;
|
|
133
109
|
type: "dropdown";
|
|
134
110
|
[k: string]: any;
|
|
135
111
|
} | {
|
|
136
112
|
fileUrl: string;
|
|
137
113
|
title?: string;
|
|
138
|
-
/**
|
|
139
|
-
* CSS className to apply to the message
|
|
140
|
-
*/
|
|
141
|
-
className?: string;
|
|
142
114
|
type: "file";
|
|
143
115
|
[k: string]: any;
|
|
144
116
|
} | {
|
|
145
117
|
imageUrl: string;
|
|
146
|
-
/**
|
|
147
|
-
* CSS className to apply to the message
|
|
148
|
-
*/
|
|
149
|
-
className?: string;
|
|
150
118
|
type: "image";
|
|
151
119
|
[k: string]: any;
|
|
152
120
|
} | {
|
|
@@ -154,34 +122,18 @@ export interface Message {
|
|
|
154
122
|
longitude: number;
|
|
155
123
|
address?: string;
|
|
156
124
|
title?: string;
|
|
157
|
-
/**
|
|
158
|
-
* CSS className to apply to the message
|
|
159
|
-
*/
|
|
160
|
-
className?: string;
|
|
161
125
|
type: "location";
|
|
162
126
|
[k: string]: any;
|
|
163
127
|
} | {
|
|
164
128
|
markdown: string;
|
|
165
|
-
/**
|
|
166
|
-
* CSS className to apply to the message
|
|
167
|
-
*/
|
|
168
|
-
className?: string;
|
|
169
129
|
type: "markdown";
|
|
170
130
|
[k: string]: any;
|
|
171
131
|
} | {
|
|
172
132
|
text: string;
|
|
173
|
-
/**
|
|
174
|
-
* CSS className to apply to the message
|
|
175
|
-
*/
|
|
176
|
-
className?: string;
|
|
177
133
|
type: "text";
|
|
178
134
|
[k: string]: any;
|
|
179
135
|
} | {
|
|
180
136
|
videoUrl: string;
|
|
181
|
-
/**
|
|
182
|
-
* CSS className to apply to the message
|
|
183
|
-
*/
|
|
184
|
-
className?: string;
|
|
185
137
|
type: "video";
|
|
186
138
|
[k: string]: any;
|
|
187
139
|
} | {
|
|
@@ -239,10 +191,6 @@ export interface Message {
|
|
|
239
191
|
};
|
|
240
192
|
[k: string]: any;
|
|
241
193
|
})[];
|
|
242
|
-
/**
|
|
243
|
-
* CSS className to apply to the message
|
|
244
|
-
*/
|
|
245
|
-
className?: string;
|
|
246
194
|
type: "bloc";
|
|
247
195
|
[k: string]: any;
|
|
248
196
|
};
|
|
@@ -11,10 +11,6 @@ export interface CreateMessageRequestBody {
|
|
|
11
11
|
*/
|
|
12
12
|
payload: {
|
|
13
13
|
audioUrl: string;
|
|
14
|
-
/**
|
|
15
|
-
* CSS className to apply to the message
|
|
16
|
-
*/
|
|
17
|
-
className?: string;
|
|
18
14
|
type: "audio";
|
|
19
15
|
[k: string]: any;
|
|
20
16
|
} | {
|
|
@@ -28,10 +24,6 @@ export interface CreateMessageRequestBody {
|
|
|
28
24
|
[k: string]: any;
|
|
29
25
|
}[];
|
|
30
26
|
type: "card";
|
|
31
|
-
/**
|
|
32
|
-
* CSS className to apply to the message
|
|
33
|
-
*/
|
|
34
|
-
className?: string;
|
|
35
27
|
[k: string]: any;
|
|
36
28
|
} | {
|
|
37
29
|
items: {
|
|
@@ -44,16 +36,8 @@ export interface CreateMessageRequestBody {
|
|
|
44
36
|
value: string;
|
|
45
37
|
[k: string]: any;
|
|
46
38
|
}[];
|
|
47
|
-
/**
|
|
48
|
-
* CSS className to apply to the message
|
|
49
|
-
*/
|
|
50
|
-
className?: string;
|
|
51
39
|
[k: string]: any;
|
|
52
40
|
}[];
|
|
53
|
-
/**
|
|
54
|
-
* CSS className to apply to the message
|
|
55
|
-
*/
|
|
56
|
-
className?: string;
|
|
57
41
|
type: "carousel";
|
|
58
42
|
[k: string]: any;
|
|
59
43
|
} | {
|
|
@@ -63,10 +47,6 @@ export interface CreateMessageRequestBody {
|
|
|
63
47
|
value: string;
|
|
64
48
|
[k: string]: any;
|
|
65
49
|
}[];
|
|
66
|
-
/**
|
|
67
|
-
* CSS className to apply to the message
|
|
68
|
-
*/
|
|
69
|
-
className?: string;
|
|
70
50
|
type: "choice";
|
|
71
51
|
disableFreeText?: boolean;
|
|
72
52
|
[k: string]: any;
|
|
@@ -77,27 +57,15 @@ export interface CreateMessageRequestBody {
|
|
|
77
57
|
value: string;
|
|
78
58
|
[k: string]: any;
|
|
79
59
|
}[];
|
|
80
|
-
/**
|
|
81
|
-
* CSS className to apply to the message
|
|
82
|
-
*/
|
|
83
|
-
className?: string;
|
|
84
60
|
type: "dropdown";
|
|
85
61
|
[k: string]: any;
|
|
86
62
|
} | {
|
|
87
63
|
fileUrl: string;
|
|
88
64
|
title?: string;
|
|
89
|
-
/**
|
|
90
|
-
* CSS className to apply to the message
|
|
91
|
-
*/
|
|
92
|
-
className?: string;
|
|
93
65
|
type: "file";
|
|
94
66
|
[k: string]: any;
|
|
95
67
|
} | {
|
|
96
68
|
imageUrl: string;
|
|
97
|
-
/**
|
|
98
|
-
* CSS className to apply to the message
|
|
99
|
-
*/
|
|
100
|
-
className?: string;
|
|
101
69
|
type: "image";
|
|
102
70
|
[k: string]: any;
|
|
103
71
|
} | {
|
|
@@ -105,34 +73,18 @@ export interface CreateMessageRequestBody {
|
|
|
105
73
|
longitude: number;
|
|
106
74
|
address?: string;
|
|
107
75
|
title?: string;
|
|
108
|
-
/**
|
|
109
|
-
* CSS className to apply to the message
|
|
110
|
-
*/
|
|
111
|
-
className?: string;
|
|
112
76
|
type: "location";
|
|
113
77
|
[k: string]: any;
|
|
114
78
|
} | {
|
|
115
79
|
markdown: string;
|
|
116
|
-
/**
|
|
117
|
-
* CSS className to apply to the message
|
|
118
|
-
*/
|
|
119
|
-
className?: string;
|
|
120
80
|
type: "markdown";
|
|
121
81
|
[k: string]: any;
|
|
122
82
|
} | {
|
|
123
83
|
text: string;
|
|
124
|
-
/**
|
|
125
|
-
* CSS className to apply to the message
|
|
126
|
-
*/
|
|
127
|
-
className?: string;
|
|
128
84
|
type: "text";
|
|
129
85
|
[k: string]: any;
|
|
130
86
|
} | {
|
|
131
87
|
videoUrl: string;
|
|
132
|
-
/**
|
|
133
|
-
* CSS className to apply to the message
|
|
134
|
-
*/
|
|
135
|
-
className?: string;
|
|
136
88
|
type: "video";
|
|
137
89
|
[k: string]: any;
|
|
138
90
|
} | {
|
|
@@ -190,10 +142,6 @@ export interface CreateMessageRequestBody {
|
|
|
190
142
|
};
|
|
191
143
|
[k: string]: any;
|
|
192
144
|
})[];
|
|
193
|
-
/**
|
|
194
|
-
* CSS className to apply to the message
|
|
195
|
-
*/
|
|
196
|
-
className?: string;
|
|
197
145
|
type: "bloc";
|
|
198
146
|
[k: string]: any;
|
|
199
147
|
};
|
|
@@ -230,10 +178,6 @@ export interface CreateMessageResponse {
|
|
|
230
178
|
*/
|
|
231
179
|
payload: {
|
|
232
180
|
audioUrl: string;
|
|
233
|
-
/**
|
|
234
|
-
* CSS className to apply to the message
|
|
235
|
-
*/
|
|
236
|
-
className?: string;
|
|
237
181
|
type: "audio";
|
|
238
182
|
[k: string]: any;
|
|
239
183
|
} | {
|
|
@@ -247,10 +191,6 @@ export interface CreateMessageResponse {
|
|
|
247
191
|
[k: string]: any;
|
|
248
192
|
}[];
|
|
249
193
|
type: "card";
|
|
250
|
-
/**
|
|
251
|
-
* CSS className to apply to the message
|
|
252
|
-
*/
|
|
253
|
-
className?: string;
|
|
254
194
|
[k: string]: any;
|
|
255
195
|
} | {
|
|
256
196
|
items: {
|
|
@@ -263,16 +203,8 @@ export interface CreateMessageResponse {
|
|
|
263
203
|
value: string;
|
|
264
204
|
[k: string]: any;
|
|
265
205
|
}[];
|
|
266
|
-
/**
|
|
267
|
-
* CSS className to apply to the message
|
|
268
|
-
*/
|
|
269
|
-
className?: string;
|
|
270
206
|
[k: string]: any;
|
|
271
207
|
}[];
|
|
272
|
-
/**
|
|
273
|
-
* CSS className to apply to the message
|
|
274
|
-
*/
|
|
275
|
-
className?: string;
|
|
276
208
|
type: "carousel";
|
|
277
209
|
[k: string]: any;
|
|
278
210
|
} | {
|
|
@@ -282,10 +214,6 @@ export interface CreateMessageResponse {
|
|
|
282
214
|
value: string;
|
|
283
215
|
[k: string]: any;
|
|
284
216
|
}[];
|
|
285
|
-
/**
|
|
286
|
-
* CSS className to apply to the message
|
|
287
|
-
*/
|
|
288
|
-
className?: string;
|
|
289
217
|
type: "choice";
|
|
290
218
|
disableFreeText?: boolean;
|
|
291
219
|
[k: string]: any;
|
|
@@ -296,27 +224,15 @@ export interface CreateMessageResponse {
|
|
|
296
224
|
value: string;
|
|
297
225
|
[k: string]: any;
|
|
298
226
|
}[];
|
|
299
|
-
/**
|
|
300
|
-
* CSS className to apply to the message
|
|
301
|
-
*/
|
|
302
|
-
className?: string;
|
|
303
227
|
type: "dropdown";
|
|
304
228
|
[k: string]: any;
|
|
305
229
|
} | {
|
|
306
230
|
fileUrl: string;
|
|
307
231
|
title?: string;
|
|
308
|
-
/**
|
|
309
|
-
* CSS className to apply to the message
|
|
310
|
-
*/
|
|
311
|
-
className?: string;
|
|
312
232
|
type: "file";
|
|
313
233
|
[k: string]: any;
|
|
314
234
|
} | {
|
|
315
235
|
imageUrl: string;
|
|
316
|
-
/**
|
|
317
|
-
* CSS className to apply to the message
|
|
318
|
-
*/
|
|
319
|
-
className?: string;
|
|
320
236
|
type: "image";
|
|
321
237
|
[k: string]: any;
|
|
322
238
|
} | {
|
|
@@ -324,34 +240,18 @@ export interface CreateMessageResponse {
|
|
|
324
240
|
longitude: number;
|
|
325
241
|
address?: string;
|
|
326
242
|
title?: string;
|
|
327
|
-
/**
|
|
328
|
-
* CSS className to apply to the message
|
|
329
|
-
*/
|
|
330
|
-
className?: string;
|
|
331
243
|
type: "location";
|
|
332
244
|
[k: string]: any;
|
|
333
245
|
} | {
|
|
334
246
|
markdown: string;
|
|
335
|
-
/**
|
|
336
|
-
* CSS className to apply to the message
|
|
337
|
-
*/
|
|
338
|
-
className?: string;
|
|
339
247
|
type: "markdown";
|
|
340
248
|
[k: string]: any;
|
|
341
249
|
} | {
|
|
342
250
|
text: string;
|
|
343
|
-
/**
|
|
344
|
-
* CSS className to apply to the message
|
|
345
|
-
*/
|
|
346
|
-
className?: string;
|
|
347
251
|
type: "text";
|
|
348
252
|
[k: string]: any;
|
|
349
253
|
} | {
|
|
350
254
|
videoUrl: string;
|
|
351
|
-
/**
|
|
352
|
-
* CSS className to apply to the message
|
|
353
|
-
*/
|
|
354
|
-
className?: string;
|
|
355
255
|
type: "video";
|
|
356
256
|
[k: string]: any;
|
|
357
257
|
} | {
|
|
@@ -409,10 +309,6 @@ export interface CreateMessageResponse {
|
|
|
409
309
|
};
|
|
410
310
|
[k: string]: any;
|
|
411
311
|
})[];
|
|
412
|
-
/**
|
|
413
|
-
* CSS className to apply to the message
|
|
414
|
-
*/
|
|
415
|
-
className?: string;
|
|
416
312
|
type: "bloc";
|
|
417
313
|
[k: string]: any;
|
|
418
314
|
};
|
|
@@ -36,10 +36,6 @@ export interface GetMessageResponse {
|
|
|
36
36
|
*/
|
|
37
37
|
payload: {
|
|
38
38
|
audioUrl: string;
|
|
39
|
-
/**
|
|
40
|
-
* CSS className to apply to the message
|
|
41
|
-
*/
|
|
42
|
-
className?: string;
|
|
43
39
|
type: "audio";
|
|
44
40
|
[k: string]: any;
|
|
45
41
|
} | {
|
|
@@ -53,10 +49,6 @@ export interface GetMessageResponse {
|
|
|
53
49
|
[k: string]: any;
|
|
54
50
|
}[];
|
|
55
51
|
type: "card";
|
|
56
|
-
/**
|
|
57
|
-
* CSS className to apply to the message
|
|
58
|
-
*/
|
|
59
|
-
className?: string;
|
|
60
52
|
[k: string]: any;
|
|
61
53
|
} | {
|
|
62
54
|
items: {
|
|
@@ -69,16 +61,8 @@ export interface GetMessageResponse {
|
|
|
69
61
|
value: string;
|
|
70
62
|
[k: string]: any;
|
|
71
63
|
}[];
|
|
72
|
-
/**
|
|
73
|
-
* CSS className to apply to the message
|
|
74
|
-
*/
|
|
75
|
-
className?: string;
|
|
76
64
|
[k: string]: any;
|
|
77
65
|
}[];
|
|
78
|
-
/**
|
|
79
|
-
* CSS className to apply to the message
|
|
80
|
-
*/
|
|
81
|
-
className?: string;
|
|
82
66
|
type: "carousel";
|
|
83
67
|
[k: string]: any;
|
|
84
68
|
} | {
|
|
@@ -88,10 +72,6 @@ export interface GetMessageResponse {
|
|
|
88
72
|
value: string;
|
|
89
73
|
[k: string]: any;
|
|
90
74
|
}[];
|
|
91
|
-
/**
|
|
92
|
-
* CSS className to apply to the message
|
|
93
|
-
*/
|
|
94
|
-
className?: string;
|
|
95
75
|
type: "choice";
|
|
96
76
|
disableFreeText?: boolean;
|
|
97
77
|
[k: string]: any;
|
|
@@ -102,27 +82,15 @@ export interface GetMessageResponse {
|
|
|
102
82
|
value: string;
|
|
103
83
|
[k: string]: any;
|
|
104
84
|
}[];
|
|
105
|
-
/**
|
|
106
|
-
* CSS className to apply to the message
|
|
107
|
-
*/
|
|
108
|
-
className?: string;
|
|
109
85
|
type: "dropdown";
|
|
110
86
|
[k: string]: any;
|
|
111
87
|
} | {
|
|
112
88
|
fileUrl: string;
|
|
113
89
|
title?: string;
|
|
114
|
-
/**
|
|
115
|
-
* CSS className to apply to the message
|
|
116
|
-
*/
|
|
117
|
-
className?: string;
|
|
118
90
|
type: "file";
|
|
119
91
|
[k: string]: any;
|
|
120
92
|
} | {
|
|
121
93
|
imageUrl: string;
|
|
122
|
-
/**
|
|
123
|
-
* CSS className to apply to the message
|
|
124
|
-
*/
|
|
125
|
-
className?: string;
|
|
126
94
|
type: "image";
|
|
127
95
|
[k: string]: any;
|
|
128
96
|
} | {
|
|
@@ -130,34 +98,18 @@ export interface GetMessageResponse {
|
|
|
130
98
|
longitude: number;
|
|
131
99
|
address?: string;
|
|
132
100
|
title?: string;
|
|
133
|
-
/**
|
|
134
|
-
* CSS className to apply to the message
|
|
135
|
-
*/
|
|
136
|
-
className?: string;
|
|
137
101
|
type: "location";
|
|
138
102
|
[k: string]: any;
|
|
139
103
|
} | {
|
|
140
104
|
markdown: string;
|
|
141
|
-
/**
|
|
142
|
-
* CSS className to apply to the message
|
|
143
|
-
*/
|
|
144
|
-
className?: string;
|
|
145
105
|
type: "markdown";
|
|
146
106
|
[k: string]: any;
|
|
147
107
|
} | {
|
|
148
108
|
text: string;
|
|
149
|
-
/**
|
|
150
|
-
* CSS className to apply to the message
|
|
151
|
-
*/
|
|
152
|
-
className?: string;
|
|
153
109
|
type: "text";
|
|
154
110
|
[k: string]: any;
|
|
155
111
|
} | {
|
|
156
112
|
videoUrl: string;
|
|
157
|
-
/**
|
|
158
|
-
* CSS className to apply to the message
|
|
159
|
-
*/
|
|
160
|
-
className?: string;
|
|
161
113
|
type: "video";
|
|
162
114
|
[k: string]: any;
|
|
163
115
|
} | {
|
|
@@ -215,10 +167,6 @@ export interface GetMessageResponse {
|
|
|
215
167
|
};
|
|
216
168
|
[k: string]: any;
|
|
217
169
|
})[];
|
|
218
|
-
/**
|
|
219
|
-
* CSS className to apply to the message
|
|
220
|
-
*/
|
|
221
|
-
className?: string;
|
|
222
170
|
type: "bloc";
|
|
223
171
|
[k: string]: any;
|
|
224
172
|
};
|
|
@@ -34,10 +34,6 @@ export interface ListConversationMessagesResponse {
|
|
|
34
34
|
*/
|
|
35
35
|
payload: {
|
|
36
36
|
audioUrl: string;
|
|
37
|
-
/**
|
|
38
|
-
* CSS className to apply to the message
|
|
39
|
-
*/
|
|
40
|
-
className?: string;
|
|
41
37
|
type: "audio";
|
|
42
38
|
[k: string]: any;
|
|
43
39
|
} | {
|
|
@@ -51,10 +47,6 @@ export interface ListConversationMessagesResponse {
|
|
|
51
47
|
[k: string]: any;
|
|
52
48
|
}[];
|
|
53
49
|
type: "card";
|
|
54
|
-
/**
|
|
55
|
-
* CSS className to apply to the message
|
|
56
|
-
*/
|
|
57
|
-
className?: string;
|
|
58
50
|
[k: string]: any;
|
|
59
51
|
} | {
|
|
60
52
|
items: {
|
|
@@ -67,16 +59,8 @@ export interface ListConversationMessagesResponse {
|
|
|
67
59
|
value: string;
|
|
68
60
|
[k: string]: any;
|
|
69
61
|
}[];
|
|
70
|
-
/**
|
|
71
|
-
* CSS className to apply to the message
|
|
72
|
-
*/
|
|
73
|
-
className?: string;
|
|
74
62
|
[k: string]: any;
|
|
75
63
|
}[];
|
|
76
|
-
/**
|
|
77
|
-
* CSS className to apply to the message
|
|
78
|
-
*/
|
|
79
|
-
className?: string;
|
|
80
64
|
type: "carousel";
|
|
81
65
|
[k: string]: any;
|
|
82
66
|
} | {
|
|
@@ -86,10 +70,6 @@ export interface ListConversationMessagesResponse {
|
|
|
86
70
|
value: string;
|
|
87
71
|
[k: string]: any;
|
|
88
72
|
}[];
|
|
89
|
-
/**
|
|
90
|
-
* CSS className to apply to the message
|
|
91
|
-
*/
|
|
92
|
-
className?: string;
|
|
93
73
|
type: "choice";
|
|
94
74
|
disableFreeText?: boolean;
|
|
95
75
|
[k: string]: any;
|
|
@@ -100,27 +80,15 @@ export interface ListConversationMessagesResponse {
|
|
|
100
80
|
value: string;
|
|
101
81
|
[k: string]: any;
|
|
102
82
|
}[];
|
|
103
|
-
/**
|
|
104
|
-
* CSS className to apply to the message
|
|
105
|
-
*/
|
|
106
|
-
className?: string;
|
|
107
83
|
type: "dropdown";
|
|
108
84
|
[k: string]: any;
|
|
109
85
|
} | {
|
|
110
86
|
fileUrl: string;
|
|
111
87
|
title?: string;
|
|
112
|
-
/**
|
|
113
|
-
* CSS className to apply to the message
|
|
114
|
-
*/
|
|
115
|
-
className?: string;
|
|
116
88
|
type: "file";
|
|
117
89
|
[k: string]: any;
|
|
118
90
|
} | {
|
|
119
91
|
imageUrl: string;
|
|
120
|
-
/**
|
|
121
|
-
* CSS className to apply to the message
|
|
122
|
-
*/
|
|
123
|
-
className?: string;
|
|
124
92
|
type: "image";
|
|
125
93
|
[k: string]: any;
|
|
126
94
|
} | {
|
|
@@ -128,34 +96,18 @@ export interface ListConversationMessagesResponse {
|
|
|
128
96
|
longitude: number;
|
|
129
97
|
address?: string;
|
|
130
98
|
title?: string;
|
|
131
|
-
/**
|
|
132
|
-
* CSS className to apply to the message
|
|
133
|
-
*/
|
|
134
|
-
className?: string;
|
|
135
99
|
type: "location";
|
|
136
100
|
[k: string]: any;
|
|
137
101
|
} | {
|
|
138
102
|
markdown: string;
|
|
139
|
-
/**
|
|
140
|
-
* CSS className to apply to the message
|
|
141
|
-
*/
|
|
142
|
-
className?: string;
|
|
143
103
|
type: "markdown";
|
|
144
104
|
[k: string]: any;
|
|
145
105
|
} | {
|
|
146
106
|
text: string;
|
|
147
|
-
/**
|
|
148
|
-
* CSS className to apply to the message
|
|
149
|
-
*/
|
|
150
|
-
className?: string;
|
|
151
107
|
type: "text";
|
|
152
108
|
[k: string]: any;
|
|
153
109
|
} | {
|
|
154
110
|
videoUrl: string;
|
|
155
|
-
/**
|
|
156
|
-
* CSS className to apply to the message
|
|
157
|
-
*/
|
|
158
|
-
className?: string;
|
|
159
111
|
type: "video";
|
|
160
112
|
[k: string]: any;
|
|
161
113
|
} | {
|
|
@@ -213,10 +165,6 @@ export interface ListConversationMessagesResponse {
|
|
|
213
165
|
};
|
|
214
166
|
[k: string]: any;
|
|
215
167
|
})[];
|
|
216
|
-
/**
|
|
217
|
-
* CSS className to apply to the message
|
|
218
|
-
*/
|
|
219
|
-
className?: string;
|
|
220
168
|
type: "bloc";
|
|
221
169
|
[k: string]: any;
|
|
222
170
|
};
|