@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
|
@@ -13,16 +13,13 @@ export declare const zod: {
|
|
|
13
13
|
createdAt: import("zod").ZodString;
|
|
14
14
|
payload: import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
15
15
|
audioUrl: import("zod").ZodString;
|
|
16
|
-
className: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
16
|
type: import("zod").ZodLiteral<"audio">;
|
|
18
17
|
}, "strip", import("zod").ZodTypeAny, {
|
|
19
18
|
type: "audio";
|
|
20
19
|
audioUrl: string;
|
|
21
|
-
className?: string | undefined;
|
|
22
20
|
}, {
|
|
23
21
|
type: "audio";
|
|
24
22
|
audioUrl: string;
|
|
25
|
-
className?: string | undefined;
|
|
26
23
|
}>, import("zod").ZodObject<{
|
|
27
24
|
title: import("zod").ZodString;
|
|
28
25
|
subtitle: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -41,7 +38,6 @@ export declare const zod: {
|
|
|
41
38
|
label: string;
|
|
42
39
|
}>, "many">;
|
|
43
40
|
type: import("zod").ZodLiteral<"card">;
|
|
44
|
-
className: import("zod").ZodOptional<import("zod").ZodString>;
|
|
45
41
|
}, "strip", import("zod").ZodTypeAny, {
|
|
46
42
|
type: "card";
|
|
47
43
|
title: string;
|
|
@@ -52,7 +48,6 @@ export declare const zod: {
|
|
|
52
48
|
}[];
|
|
53
49
|
subtitle?: string | undefined;
|
|
54
50
|
imageUrl?: string | undefined;
|
|
55
|
-
className?: string | undefined;
|
|
56
51
|
}, {
|
|
57
52
|
type: "card";
|
|
58
53
|
title: string;
|
|
@@ -63,7 +58,6 @@ export declare const zod: {
|
|
|
63
58
|
}[];
|
|
64
59
|
subtitle?: string | undefined;
|
|
65
60
|
imageUrl?: string | undefined;
|
|
66
|
-
className?: string | undefined;
|
|
67
61
|
}>, import("zod").ZodObject<{
|
|
68
62
|
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
69
63
|
title: import("zod").ZodString;
|
|
@@ -82,7 +76,6 @@ export declare const zod: {
|
|
|
82
76
|
action: "postback" | "url" | "say";
|
|
83
77
|
label: string;
|
|
84
78
|
}>, "many">;
|
|
85
|
-
className: import("zod").ZodOptional<import("zod").ZodString>;
|
|
86
79
|
}, "strip", import("zod").ZodTypeAny, {
|
|
87
80
|
title: string;
|
|
88
81
|
actions: {
|
|
@@ -92,7 +85,6 @@ export declare const zod: {
|
|
|
92
85
|
}[];
|
|
93
86
|
subtitle?: string | undefined;
|
|
94
87
|
imageUrl?: string | undefined;
|
|
95
|
-
className?: string | undefined;
|
|
96
88
|
}, {
|
|
97
89
|
title: string;
|
|
98
90
|
actions: {
|
|
@@ -102,9 +94,7 @@ export declare const zod: {
|
|
|
102
94
|
}[];
|
|
103
95
|
subtitle?: string | undefined;
|
|
104
96
|
imageUrl?: string | undefined;
|
|
105
|
-
className?: string | undefined;
|
|
106
97
|
}>, "many">;
|
|
107
|
-
className: import("zod").ZodOptional<import("zod").ZodString>;
|
|
108
98
|
type: import("zod").ZodLiteral<"carousel">;
|
|
109
99
|
}, "strip", import("zod").ZodTypeAny, {
|
|
110
100
|
type: "carousel";
|
|
@@ -117,9 +107,7 @@ export declare const zod: {
|
|
|
117
107
|
}[];
|
|
118
108
|
subtitle?: string | undefined;
|
|
119
109
|
imageUrl?: string | undefined;
|
|
120
|
-
className?: string | undefined;
|
|
121
110
|
}[];
|
|
122
|
-
className?: string | undefined;
|
|
123
111
|
}, {
|
|
124
112
|
type: "carousel";
|
|
125
113
|
items: {
|
|
@@ -131,9 +119,7 @@ export declare const zod: {
|
|
|
131
119
|
}[];
|
|
132
120
|
subtitle?: string | undefined;
|
|
133
121
|
imageUrl?: string | undefined;
|
|
134
|
-
className?: string | undefined;
|
|
135
122
|
}[];
|
|
136
|
-
className?: string | undefined;
|
|
137
123
|
}>, import("zod").ZodObject<{
|
|
138
124
|
text: import("zod").ZodString;
|
|
139
125
|
options: import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -146,7 +132,6 @@ export declare const zod: {
|
|
|
146
132
|
value: string;
|
|
147
133
|
label: string;
|
|
148
134
|
}>, "many">;
|
|
149
|
-
className: import("zod").ZodOptional<import("zod").ZodString>;
|
|
150
135
|
type: import("zod").ZodLiteral<"choice">;
|
|
151
136
|
disableFreeText: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
152
137
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -156,7 +141,6 @@ export declare const zod: {
|
|
|
156
141
|
value: string;
|
|
157
142
|
label: string;
|
|
158
143
|
}[];
|
|
159
|
-
className?: string | undefined;
|
|
160
144
|
disableFreeText?: boolean | undefined;
|
|
161
145
|
}, {
|
|
162
146
|
type: "choice";
|
|
@@ -165,7 +149,6 @@ export declare const zod: {
|
|
|
165
149
|
value: string;
|
|
166
150
|
label: string;
|
|
167
151
|
}[];
|
|
168
|
-
className?: string | undefined;
|
|
169
152
|
disableFreeText?: boolean | undefined;
|
|
170
153
|
}>, import("zod").ZodObject<{
|
|
171
154
|
text: import("zod").ZodString;
|
|
@@ -179,7 +162,6 @@ export declare const zod: {
|
|
|
179
162
|
value: string;
|
|
180
163
|
label: string;
|
|
181
164
|
}>, "many">;
|
|
182
|
-
className: import("zod").ZodOptional<import("zod").ZodString>;
|
|
183
165
|
type: import("zod").ZodLiteral<"dropdown">;
|
|
184
166
|
}, "strip", import("zod").ZodTypeAny, {
|
|
185
167
|
type: "dropdown";
|
|
@@ -188,7 +170,6 @@ export declare const zod: {
|
|
|
188
170
|
value: string;
|
|
189
171
|
label: string;
|
|
190
172
|
}[];
|
|
191
|
-
className?: string | undefined;
|
|
192
173
|
}, {
|
|
193
174
|
type: "dropdown";
|
|
194
175
|
text: string;
|
|
@@ -196,40 +177,32 @@ export declare const zod: {
|
|
|
196
177
|
value: string;
|
|
197
178
|
label: string;
|
|
198
179
|
}[];
|
|
199
|
-
className?: string | undefined;
|
|
200
180
|
}>, import("zod").ZodObject<{
|
|
201
181
|
fileUrl: import("zod").ZodString;
|
|
202
182
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
203
|
-
className: import("zod").ZodOptional<import("zod").ZodString>;
|
|
204
183
|
type: import("zod").ZodLiteral<"file">;
|
|
205
184
|
}, "strip", import("zod").ZodTypeAny, {
|
|
206
185
|
type: "file";
|
|
207
186
|
fileUrl: string;
|
|
208
187
|
title?: string | undefined;
|
|
209
|
-
className?: string | undefined;
|
|
210
188
|
}, {
|
|
211
189
|
type: "file";
|
|
212
190
|
fileUrl: string;
|
|
213
191
|
title?: string | undefined;
|
|
214
|
-
className?: string | undefined;
|
|
215
192
|
}>, import("zod").ZodObject<{
|
|
216
193
|
imageUrl: import("zod").ZodString;
|
|
217
|
-
className: import("zod").ZodOptional<import("zod").ZodString>;
|
|
218
194
|
type: import("zod").ZodLiteral<"image">;
|
|
219
195
|
}, "strip", import("zod").ZodTypeAny, {
|
|
220
196
|
type: "image";
|
|
221
197
|
imageUrl: string;
|
|
222
|
-
className?: string | undefined;
|
|
223
198
|
}, {
|
|
224
199
|
type: "image";
|
|
225
200
|
imageUrl: string;
|
|
226
|
-
className?: string | undefined;
|
|
227
201
|
}>, import("zod").ZodObject<{
|
|
228
202
|
latitude: import("zod").ZodNumber;
|
|
229
203
|
longitude: import("zod").ZodNumber;
|
|
230
204
|
address: import("zod").ZodOptional<import("zod").ZodString>;
|
|
231
205
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
232
|
-
className: import("zod").ZodOptional<import("zod").ZodString>;
|
|
233
206
|
type: import("zod").ZodLiteral<"location">;
|
|
234
207
|
}, "strip", import("zod").ZodTypeAny, {
|
|
235
208
|
type: "location";
|
|
@@ -237,50 +210,39 @@ export declare const zod: {
|
|
|
237
210
|
longitude: number;
|
|
238
211
|
address?: string | undefined;
|
|
239
212
|
title?: string | undefined;
|
|
240
|
-
className?: string | undefined;
|
|
241
213
|
}, {
|
|
242
214
|
type: "location";
|
|
243
215
|
latitude: number;
|
|
244
216
|
longitude: number;
|
|
245
217
|
address?: string | undefined;
|
|
246
218
|
title?: string | undefined;
|
|
247
|
-
className?: string | undefined;
|
|
248
219
|
}>, import("zod").ZodObject<{
|
|
249
220
|
markdown: import("zod").ZodString;
|
|
250
|
-
className: import("zod").ZodOptional<import("zod").ZodString>;
|
|
251
221
|
type: import("zod").ZodLiteral<"markdown">;
|
|
252
222
|
}, "strip", import("zod").ZodTypeAny, {
|
|
253
223
|
type: "markdown";
|
|
254
224
|
markdown: string;
|
|
255
|
-
className?: string | undefined;
|
|
256
225
|
}, {
|
|
257
226
|
type: "markdown";
|
|
258
227
|
markdown: string;
|
|
259
|
-
className?: string | undefined;
|
|
260
228
|
}>, import("zod").ZodObject<{
|
|
261
229
|
text: import("zod").ZodString;
|
|
262
|
-
className: import("zod").ZodOptional<import("zod").ZodString>;
|
|
263
230
|
type: import("zod").ZodLiteral<"text">;
|
|
264
231
|
}, "strip", import("zod").ZodTypeAny, {
|
|
265
232
|
type: "text";
|
|
266
233
|
text: string;
|
|
267
|
-
className?: string | undefined;
|
|
268
234
|
}, {
|
|
269
235
|
type: "text";
|
|
270
236
|
text: string;
|
|
271
|
-
className?: string | undefined;
|
|
272
237
|
}>, import("zod").ZodObject<{
|
|
273
238
|
videoUrl: import("zod").ZodString;
|
|
274
|
-
className: import("zod").ZodOptional<import("zod").ZodString>;
|
|
275
239
|
type: import("zod").ZodLiteral<"video">;
|
|
276
240
|
}, "strip", import("zod").ZodTypeAny, {
|
|
277
241
|
type: "video";
|
|
278
242
|
videoUrl: string;
|
|
279
|
-
className?: string | undefined;
|
|
280
243
|
}, {
|
|
281
244
|
type: "video";
|
|
282
245
|
videoUrl: string;
|
|
283
|
-
className?: string | undefined;
|
|
284
246
|
}>, import("zod").ZodObject<{
|
|
285
247
|
items: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
286
248
|
type: import("zod").ZodLiteral<"text">;
|
|
@@ -436,7 +398,6 @@ export declare const zod: {
|
|
|
436
398
|
title?: string | undefined;
|
|
437
399
|
};
|
|
438
400
|
}>]>, "many">;
|
|
439
|
-
className: import("zod").ZodOptional<import("zod").ZodString>;
|
|
440
401
|
type: import("zod").ZodLiteral<"bloc">;
|
|
441
402
|
}, "strip", import("zod").ZodTypeAny, {
|
|
442
403
|
type: "bloc";
|
|
@@ -480,7 +441,6 @@ export declare const zod: {
|
|
|
480
441
|
title?: string | undefined;
|
|
481
442
|
};
|
|
482
443
|
})[];
|
|
483
|
-
className?: string | undefined;
|
|
484
444
|
}, {
|
|
485
445
|
type: "bloc";
|
|
486
446
|
items: ({
|
|
@@ -523,7 +483,6 @@ export declare const zod: {
|
|
|
523
483
|
title?: string | undefined;
|
|
524
484
|
};
|
|
525
485
|
})[];
|
|
526
|
-
className?: string | undefined;
|
|
527
486
|
}>]>;
|
|
528
487
|
userId: import("zod").ZodString;
|
|
529
488
|
conversationId: import("zod").ZodString;
|
|
@@ -531,7 +490,6 @@ export declare const zod: {
|
|
|
531
490
|
payload: {
|
|
532
491
|
type: "audio";
|
|
533
492
|
audioUrl: string;
|
|
534
|
-
className?: string | undefined;
|
|
535
493
|
} | {
|
|
536
494
|
type: "card";
|
|
537
495
|
title: string;
|
|
@@ -542,7 +500,6 @@ export declare const zod: {
|
|
|
542
500
|
}[];
|
|
543
501
|
subtitle?: string | undefined;
|
|
544
502
|
imageUrl?: string | undefined;
|
|
545
|
-
className?: string | undefined;
|
|
546
503
|
} | {
|
|
547
504
|
type: "carousel";
|
|
548
505
|
items: {
|
|
@@ -554,9 +511,7 @@ export declare const zod: {
|
|
|
554
511
|
}[];
|
|
555
512
|
subtitle?: string | undefined;
|
|
556
513
|
imageUrl?: string | undefined;
|
|
557
|
-
className?: string | undefined;
|
|
558
514
|
}[];
|
|
559
|
-
className?: string | undefined;
|
|
560
515
|
} | {
|
|
561
516
|
type: "choice";
|
|
562
517
|
text: string;
|
|
@@ -564,7 +519,6 @@ export declare const zod: {
|
|
|
564
519
|
value: string;
|
|
565
520
|
label: string;
|
|
566
521
|
}[];
|
|
567
|
-
className?: string | undefined;
|
|
568
522
|
disableFreeText?: boolean | undefined;
|
|
569
523
|
} | {
|
|
570
524
|
type: "dropdown";
|
|
@@ -573,35 +527,28 @@ export declare const zod: {
|
|
|
573
527
|
value: string;
|
|
574
528
|
label: string;
|
|
575
529
|
}[];
|
|
576
|
-
className?: string | undefined;
|
|
577
530
|
} | {
|
|
578
531
|
type: "file";
|
|
579
532
|
fileUrl: string;
|
|
580
533
|
title?: string | undefined;
|
|
581
|
-
className?: string | undefined;
|
|
582
534
|
} | {
|
|
583
535
|
type: "image";
|
|
584
536
|
imageUrl: string;
|
|
585
|
-
className?: string | undefined;
|
|
586
537
|
} | {
|
|
587
538
|
type: "location";
|
|
588
539
|
latitude: number;
|
|
589
540
|
longitude: number;
|
|
590
541
|
address?: string | undefined;
|
|
591
542
|
title?: string | undefined;
|
|
592
|
-
className?: string | undefined;
|
|
593
543
|
} | {
|
|
594
544
|
type: "markdown";
|
|
595
545
|
markdown: string;
|
|
596
|
-
className?: string | undefined;
|
|
597
546
|
} | {
|
|
598
547
|
type: "text";
|
|
599
548
|
text: string;
|
|
600
|
-
className?: string | undefined;
|
|
601
549
|
} | {
|
|
602
550
|
type: "video";
|
|
603
551
|
videoUrl: string;
|
|
604
|
-
className?: string | undefined;
|
|
605
552
|
} | {
|
|
606
553
|
type: "bloc";
|
|
607
554
|
items: ({
|
|
@@ -644,7 +591,6 @@ export declare const zod: {
|
|
|
644
591
|
title?: string | undefined;
|
|
645
592
|
};
|
|
646
593
|
})[];
|
|
647
|
-
className?: string | undefined;
|
|
648
594
|
};
|
|
649
595
|
id: string;
|
|
650
596
|
userId: string;
|
|
@@ -654,7 +600,6 @@ export declare const zod: {
|
|
|
654
600
|
payload: {
|
|
655
601
|
type: "audio";
|
|
656
602
|
audioUrl: string;
|
|
657
|
-
className?: string | undefined;
|
|
658
603
|
} | {
|
|
659
604
|
type: "card";
|
|
660
605
|
title: string;
|
|
@@ -665,7 +610,6 @@ export declare const zod: {
|
|
|
665
610
|
}[];
|
|
666
611
|
subtitle?: string | undefined;
|
|
667
612
|
imageUrl?: string | undefined;
|
|
668
|
-
className?: string | undefined;
|
|
669
613
|
} | {
|
|
670
614
|
type: "carousel";
|
|
671
615
|
items: {
|
|
@@ -677,9 +621,7 @@ export declare const zod: {
|
|
|
677
621
|
}[];
|
|
678
622
|
subtitle?: string | undefined;
|
|
679
623
|
imageUrl?: string | undefined;
|
|
680
|
-
className?: string | undefined;
|
|
681
624
|
}[];
|
|
682
|
-
className?: string | undefined;
|
|
683
625
|
} | {
|
|
684
626
|
type: "choice";
|
|
685
627
|
text: string;
|
|
@@ -687,7 +629,6 @@ export declare const zod: {
|
|
|
687
629
|
value: string;
|
|
688
630
|
label: string;
|
|
689
631
|
}[];
|
|
690
|
-
className?: string | undefined;
|
|
691
632
|
disableFreeText?: boolean | undefined;
|
|
692
633
|
} | {
|
|
693
634
|
type: "dropdown";
|
|
@@ -696,35 +637,28 @@ export declare const zod: {
|
|
|
696
637
|
value: string;
|
|
697
638
|
label: string;
|
|
698
639
|
}[];
|
|
699
|
-
className?: string | undefined;
|
|
700
640
|
} | {
|
|
701
641
|
type: "file";
|
|
702
642
|
fileUrl: string;
|
|
703
643
|
title?: string | undefined;
|
|
704
|
-
className?: string | undefined;
|
|
705
644
|
} | {
|
|
706
645
|
type: "image";
|
|
707
646
|
imageUrl: string;
|
|
708
|
-
className?: string | undefined;
|
|
709
647
|
} | {
|
|
710
648
|
type: "location";
|
|
711
649
|
latitude: number;
|
|
712
650
|
longitude: number;
|
|
713
651
|
address?: string | undefined;
|
|
714
652
|
title?: string | undefined;
|
|
715
|
-
className?: string | undefined;
|
|
716
653
|
} | {
|
|
717
654
|
type: "markdown";
|
|
718
655
|
markdown: string;
|
|
719
|
-
className?: string | undefined;
|
|
720
656
|
} | {
|
|
721
657
|
type: "text";
|
|
722
658
|
text: string;
|
|
723
|
-
className?: string | undefined;
|
|
724
659
|
} | {
|
|
725
660
|
type: "video";
|
|
726
661
|
videoUrl: string;
|
|
727
|
-
className?: string | undefined;
|
|
728
662
|
} | {
|
|
729
663
|
type: "bloc";
|
|
730
664
|
items: ({
|
|
@@ -767,7 +701,6 @@ export declare const zod: {
|
|
|
767
701
|
title?: string | undefined;
|
|
768
702
|
};
|
|
769
703
|
})[];
|
|
770
|
-
className?: string | undefined;
|
|
771
704
|
};
|
|
772
705
|
id: string;
|
|
773
706
|
userId: string;
|
|
@@ -780,7 +713,6 @@ export declare const zod: {
|
|
|
780
713
|
payload: {
|
|
781
714
|
type: "audio";
|
|
782
715
|
audioUrl: string;
|
|
783
|
-
className?: string | undefined;
|
|
784
716
|
} | {
|
|
785
717
|
type: "card";
|
|
786
718
|
title: string;
|
|
@@ -791,7 +723,6 @@ export declare const zod: {
|
|
|
791
723
|
}[];
|
|
792
724
|
subtitle?: string | undefined;
|
|
793
725
|
imageUrl?: string | undefined;
|
|
794
|
-
className?: string | undefined;
|
|
795
726
|
} | {
|
|
796
727
|
type: "carousel";
|
|
797
728
|
items: {
|
|
@@ -803,9 +734,7 @@ export declare const zod: {
|
|
|
803
734
|
}[];
|
|
804
735
|
subtitle?: string | undefined;
|
|
805
736
|
imageUrl?: string | undefined;
|
|
806
|
-
className?: string | undefined;
|
|
807
737
|
}[];
|
|
808
|
-
className?: string | undefined;
|
|
809
738
|
} | {
|
|
810
739
|
type: "choice";
|
|
811
740
|
text: string;
|
|
@@ -813,7 +742,6 @@ export declare const zod: {
|
|
|
813
742
|
value: string;
|
|
814
743
|
label: string;
|
|
815
744
|
}[];
|
|
816
|
-
className?: string | undefined;
|
|
817
745
|
disableFreeText?: boolean | undefined;
|
|
818
746
|
} | {
|
|
819
747
|
type: "dropdown";
|
|
@@ -822,35 +750,28 @@ export declare const zod: {
|
|
|
822
750
|
value: string;
|
|
823
751
|
label: string;
|
|
824
752
|
}[];
|
|
825
|
-
className?: string | undefined;
|
|
826
753
|
} | {
|
|
827
754
|
type: "file";
|
|
828
755
|
fileUrl: string;
|
|
829
756
|
title?: string | undefined;
|
|
830
|
-
className?: string | undefined;
|
|
831
757
|
} | {
|
|
832
758
|
type: "image";
|
|
833
759
|
imageUrl: string;
|
|
834
|
-
className?: string | undefined;
|
|
835
760
|
} | {
|
|
836
761
|
type: "location";
|
|
837
762
|
latitude: number;
|
|
838
763
|
longitude: number;
|
|
839
764
|
address?: string | undefined;
|
|
840
765
|
title?: string | undefined;
|
|
841
|
-
className?: string | undefined;
|
|
842
766
|
} | {
|
|
843
767
|
type: "markdown";
|
|
844
768
|
markdown: string;
|
|
845
|
-
className?: string | undefined;
|
|
846
769
|
} | {
|
|
847
770
|
type: "text";
|
|
848
771
|
text: string;
|
|
849
|
-
className?: string | undefined;
|
|
850
772
|
} | {
|
|
851
773
|
type: "video";
|
|
852
774
|
videoUrl: string;
|
|
853
|
-
className?: string | undefined;
|
|
854
775
|
} | {
|
|
855
776
|
type: "bloc";
|
|
856
777
|
items: ({
|
|
@@ -893,7 +814,6 @@ export declare const zod: {
|
|
|
893
814
|
title?: string | undefined;
|
|
894
815
|
};
|
|
895
816
|
})[];
|
|
896
|
-
className?: string | undefined;
|
|
897
817
|
};
|
|
898
818
|
id: string;
|
|
899
819
|
userId: string;
|
|
@@ -906,7 +826,6 @@ export declare const zod: {
|
|
|
906
826
|
payload: {
|
|
907
827
|
type: "audio";
|
|
908
828
|
audioUrl: string;
|
|
909
|
-
className?: string | undefined;
|
|
910
829
|
} | {
|
|
911
830
|
type: "card";
|
|
912
831
|
title: string;
|
|
@@ -917,7 +836,6 @@ export declare const zod: {
|
|
|
917
836
|
}[];
|
|
918
837
|
subtitle?: string | undefined;
|
|
919
838
|
imageUrl?: string | undefined;
|
|
920
|
-
className?: string | undefined;
|
|
921
839
|
} | {
|
|
922
840
|
type: "carousel";
|
|
923
841
|
items: {
|
|
@@ -929,9 +847,7 @@ export declare const zod: {
|
|
|
929
847
|
}[];
|
|
930
848
|
subtitle?: string | undefined;
|
|
931
849
|
imageUrl?: string | undefined;
|
|
932
|
-
className?: string | undefined;
|
|
933
850
|
}[];
|
|
934
|
-
className?: string | undefined;
|
|
935
851
|
} | {
|
|
936
852
|
type: "choice";
|
|
937
853
|
text: string;
|
|
@@ -939,7 +855,6 @@ export declare const zod: {
|
|
|
939
855
|
value: string;
|
|
940
856
|
label: string;
|
|
941
857
|
}[];
|
|
942
|
-
className?: string | undefined;
|
|
943
858
|
disableFreeText?: boolean | undefined;
|
|
944
859
|
} | {
|
|
945
860
|
type: "dropdown";
|
|
@@ -948,35 +863,28 @@ export declare const zod: {
|
|
|
948
863
|
value: string;
|
|
949
864
|
label: string;
|
|
950
865
|
}[];
|
|
951
|
-
className?: string | undefined;
|
|
952
866
|
} | {
|
|
953
867
|
type: "file";
|
|
954
868
|
fileUrl: string;
|
|
955
869
|
title?: string | undefined;
|
|
956
|
-
className?: string | undefined;
|
|
957
870
|
} | {
|
|
958
871
|
type: "image";
|
|
959
872
|
imageUrl: string;
|
|
960
|
-
className?: string | undefined;
|
|
961
873
|
} | {
|
|
962
874
|
type: "location";
|
|
963
875
|
latitude: number;
|
|
964
876
|
longitude: number;
|
|
965
877
|
address?: string | undefined;
|
|
966
878
|
title?: string | undefined;
|
|
967
|
-
className?: string | undefined;
|
|
968
879
|
} | {
|
|
969
880
|
type: "markdown";
|
|
970
881
|
markdown: string;
|
|
971
|
-
className?: string | undefined;
|
|
972
882
|
} | {
|
|
973
883
|
type: "text";
|
|
974
884
|
text: string;
|
|
975
|
-
className?: string | undefined;
|
|
976
885
|
} | {
|
|
977
886
|
type: "video";
|
|
978
887
|
videoUrl: string;
|
|
979
|
-
className?: string | undefined;
|
|
980
888
|
} | {
|
|
981
889
|
type: "bloc";
|
|
982
890
|
items: ({
|
|
@@ -1019,7 +927,6 @@ export declare const zod: {
|
|
|
1019
927
|
title?: string | undefined;
|
|
1020
928
|
};
|
|
1021
929
|
})[];
|
|
1022
|
-
className?: string | undefined;
|
|
1023
930
|
};
|
|
1024
931
|
id: string;
|
|
1025
932
|
userId: string;
|
|
@@ -17,10 +17,6 @@ export interface MessageCreated {
|
|
|
17
17
|
*/
|
|
18
18
|
payload: {
|
|
19
19
|
audioUrl: string;
|
|
20
|
-
/**
|
|
21
|
-
* CSS className to apply to the message
|
|
22
|
-
*/
|
|
23
|
-
className?: string;
|
|
24
20
|
type: "audio";
|
|
25
21
|
[k: string]: any;
|
|
26
22
|
} | {
|
|
@@ -34,10 +30,6 @@ export interface MessageCreated {
|
|
|
34
30
|
[k: string]: any;
|
|
35
31
|
}[];
|
|
36
32
|
type: "card";
|
|
37
|
-
/**
|
|
38
|
-
* CSS className to apply to the message
|
|
39
|
-
*/
|
|
40
|
-
className?: string;
|
|
41
33
|
[k: string]: any;
|
|
42
34
|
} | {
|
|
43
35
|
items: {
|
|
@@ -50,16 +42,8 @@ export interface MessageCreated {
|
|
|
50
42
|
value: string;
|
|
51
43
|
[k: string]: any;
|
|
52
44
|
}[];
|
|
53
|
-
/**
|
|
54
|
-
* CSS className to apply to the message
|
|
55
|
-
*/
|
|
56
|
-
className?: string;
|
|
57
45
|
[k: string]: any;
|
|
58
46
|
}[];
|
|
59
|
-
/**
|
|
60
|
-
* CSS className to apply to the message
|
|
61
|
-
*/
|
|
62
|
-
className?: string;
|
|
63
47
|
type: "carousel";
|
|
64
48
|
[k: string]: any;
|
|
65
49
|
} | {
|
|
@@ -69,10 +53,6 @@ export interface MessageCreated {
|
|
|
69
53
|
value: string;
|
|
70
54
|
[k: string]: any;
|
|
71
55
|
}[];
|
|
72
|
-
/**
|
|
73
|
-
* CSS className to apply to the message
|
|
74
|
-
*/
|
|
75
|
-
className?: string;
|
|
76
56
|
type: "choice";
|
|
77
57
|
disableFreeText?: boolean;
|
|
78
58
|
[k: string]: any;
|
|
@@ -83,27 +63,15 @@ export interface MessageCreated {
|
|
|
83
63
|
value: string;
|
|
84
64
|
[k: string]: any;
|
|
85
65
|
}[];
|
|
86
|
-
/**
|
|
87
|
-
* CSS className to apply to the message
|
|
88
|
-
*/
|
|
89
|
-
className?: string;
|
|
90
66
|
type: "dropdown";
|
|
91
67
|
[k: string]: any;
|
|
92
68
|
} | {
|
|
93
69
|
fileUrl: string;
|
|
94
70
|
title?: string;
|
|
95
|
-
/**
|
|
96
|
-
* CSS className to apply to the message
|
|
97
|
-
*/
|
|
98
|
-
className?: string;
|
|
99
71
|
type: "file";
|
|
100
72
|
[k: string]: any;
|
|
101
73
|
} | {
|
|
102
74
|
imageUrl: string;
|
|
103
|
-
/**
|
|
104
|
-
* CSS className to apply to the message
|
|
105
|
-
*/
|
|
106
|
-
className?: string;
|
|
107
75
|
type: "image";
|
|
108
76
|
[k: string]: any;
|
|
109
77
|
} | {
|
|
@@ -111,34 +79,18 @@ export interface MessageCreated {
|
|
|
111
79
|
longitude: number;
|
|
112
80
|
address?: string;
|
|
113
81
|
title?: string;
|
|
114
|
-
/**
|
|
115
|
-
* CSS className to apply to the message
|
|
116
|
-
*/
|
|
117
|
-
className?: string;
|
|
118
82
|
type: "location";
|
|
119
83
|
[k: string]: any;
|
|
120
84
|
} | {
|
|
121
85
|
markdown: string;
|
|
122
|
-
/**
|
|
123
|
-
* CSS className to apply to the message
|
|
124
|
-
*/
|
|
125
|
-
className?: string;
|
|
126
86
|
type: "markdown";
|
|
127
87
|
[k: string]: any;
|
|
128
88
|
} | {
|
|
129
89
|
text: string;
|
|
130
|
-
/**
|
|
131
|
-
* CSS className to apply to the message
|
|
132
|
-
*/
|
|
133
|
-
className?: string;
|
|
134
90
|
type: "text";
|
|
135
91
|
[k: string]: any;
|
|
136
92
|
} | {
|
|
137
93
|
videoUrl: string;
|
|
138
|
-
/**
|
|
139
|
-
* CSS className to apply to the message
|
|
140
|
-
*/
|
|
141
|
-
className?: string;
|
|
142
94
|
type: "video";
|
|
143
95
|
[k: string]: any;
|
|
144
96
|
} | {
|
|
@@ -196,10 +148,6 @@ export interface MessageCreated {
|
|
|
196
148
|
};
|
|
197
149
|
[k: string]: any;
|
|
198
150
|
})[];
|
|
199
|
-
/**
|
|
200
|
-
* CSS className to apply to the message
|
|
201
|
-
*/
|
|
202
|
-
className?: string;
|
|
203
151
|
type: "bloc";
|
|
204
152
|
[k: string]: any;
|
|
205
153
|
};
|