@botpress/webchat 1.2.0 → 1.3.0

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.
Files changed (64) hide show
  1. package/dist/client/MessagingClient/client.d.ts +7 -4
  2. package/dist/client/PushpinClient/index.d.ts +4 -2
  3. package/dist/client/PushpinClient/inner-client/index.d.ts +2 -0
  4. package/dist/client/types.d.ts +4 -1
  5. package/dist/components/Avatar.d.ts +2 -3
  6. package/dist/components/Block.d.ts +3 -2
  7. package/dist/components/CloseWindow.d.ts +5 -0
  8. package/dist/components/Composer.d.ts +1 -1
  9. package/dist/components/renderers/Audio.d.ts +1 -1
  10. package/dist/components/renderers/Carousel.d.ts +1 -1
  11. package/dist/components/renderers/File.d.ts +1 -1
  12. package/dist/components/renderers/Image.d.ts +1 -1
  13. package/dist/components/renderers/Location.d.ts +1 -1
  14. package/dist/components/renderers/Video.d.ts +1 -1
  15. package/dist/contexts/WebchatContext.d.ts +3 -3
  16. package/dist/gen/client/api.d.ts +330 -12
  17. package/dist/gen/client/client.d.ts +5 -1
  18. package/dist/gen/client/errors.d.ts +9 -2
  19. package/dist/gen/models/index.d.ts +186 -23
  20. package/dist/gen/models/message.j.d.ts +107 -5
  21. package/dist/gen/models/message.t.d.ts +49 -0
  22. package/dist/gen/models/message.z.d.ts +79 -12
  23. package/dist/gen/models/user.j.d.ts +0 -3
  24. package/dist/gen/models/user.t.d.ts +0 -1
  25. package/dist/gen/models/user.z.d.ts +0 -3
  26. package/dist/gen/signals/index.d.ts +218 -23
  27. package/dist/gen/signals/messageCreatedSignal.j.d.ts +107 -5
  28. package/dist/gen/signals/messageCreatedSignal.t.d.ts +49 -0
  29. package/dist/gen/signals/messageCreatedSignal.z.d.ts +111 -18
  30. package/dist/get-client.d.ts +8 -0
  31. package/dist/hooks/useClient.d.ts +2 -2
  32. package/dist/hooks/useWebchatStore.d.ts +3 -0
  33. package/dist/index.d.ts +3 -4
  34. package/dist/index.js +33089 -40901
  35. package/dist/index.umd.cjs +96 -125
  36. package/dist/providers/WebchatProvider.d.ts +4 -3
  37. package/dist/schemas/configuration.d.ts +117 -0
  38. package/dist/schemas/index.d.ts +2 -0
  39. package/dist/schemas/init.d.ts +3844 -0
  40. package/dist/schemas/theme.d.ts +231 -232
  41. package/dist/types/block-type.d.ts +3 -6
  42. package/dist/types/configuration.d.ts +4 -16
  43. package/dist/types/index.d.ts +2 -0
  44. package/dist/types/init.d.ts +6 -0
  45. package/dist/types/theme.d.ts +7 -0
  46. package/dist/utils/index.d.ts +0 -2
  47. package/package.json +11 -37
  48. package/dist/App.d.ts +0 -11
  49. package/dist/components/dev-tools/DevTools.d.ts +0 -1
  50. package/dist/components/dev-tools/configuration.d.ts +0 -2
  51. package/dist/components/dev-tools/helpers.d.ts +0 -5
  52. package/dist/main.d.ts +0 -0
  53. package/dist/options.d.ts +0 -11
  54. package/dist/themes/base.d.ts +0 -3
  55. package/dist/themes/baseColors.d.ts +0 -736
  56. package/dist/themes/dawn.d.ts +0 -4
  57. package/dist/themes/eggplant.d.ts +0 -4
  58. package/dist/themes/index.d.ts +0 -3
  59. package/dist/themes/prism.d.ts +0 -4
  60. package/dist/themes/themeBuilder.d.ts +0 -27
  61. package/dist/twind.config.d.ts +0 -9
  62. package/dist/twind.d.ts +0 -16
  63. package/dist/utils/mergeThemes.d.ts +0 -2
  64. package/dist/utils/withBaseTheme.d.ts +0 -384
@@ -10,13 +10,16 @@ export declare const zod: {
10
10
  createdAt: import("zod").ZodString;
11
11
  payload: import("zod").ZodUnion<[import("zod").ZodObject<{
12
12
  audioUrl: import("zod").ZodString;
13
+ className: import("zod").ZodOptional<import("zod").ZodString>;
13
14
  type: import("zod").ZodLiteral<"audio">;
14
15
  }, "strip", import("zod").ZodTypeAny, {
15
16
  type: "audio";
16
17
  audioUrl: string;
18
+ className?: string | undefined;
17
19
  }, {
18
20
  type: "audio";
19
21
  audioUrl: string;
22
+ className?: string | undefined;
20
23
  }>, import("zod").ZodObject<{
21
24
  title: import("zod").ZodString;
22
25
  subtitle: import("zod").ZodOptional<import("zod").ZodString>;
@@ -35,9 +38,10 @@ export declare const zod: {
35
38
  label: string;
36
39
  }>, "many">;
37
40
  type: import("zod").ZodLiteral<"card">;
41
+ className: import("zod").ZodOptional<import("zod").ZodString>;
38
42
  }, "strip", import("zod").ZodTypeAny, {
39
- type: "card";
40
43
  title: string;
44
+ type: "card";
41
45
  actions: {
42
46
  value: string;
43
47
  action: "url" | "postback" | "say";
@@ -45,9 +49,10 @@ export declare const zod: {
45
49
  }[];
46
50
  subtitle?: string | undefined;
47
51
  imageUrl?: string | undefined;
52
+ className?: string | undefined;
48
53
  }, {
49
- type: "card";
50
54
  title: string;
55
+ type: "card";
51
56
  actions: {
52
57
  value: string;
53
58
  action: "url" | "postback" | "say";
@@ -55,6 +60,7 @@ export declare const zod: {
55
60
  }[];
56
61
  subtitle?: string | undefined;
57
62
  imageUrl?: string | undefined;
63
+ className?: string | undefined;
58
64
  }>, import("zod").ZodObject<{
59
65
  items: import("zod").ZodArray<import("zod").ZodObject<{
60
66
  title: import("zod").ZodString;
@@ -73,6 +79,7 @@ export declare const zod: {
73
79
  action: "url" | "postback" | "say";
74
80
  label: string;
75
81
  }>, "many">;
82
+ className: import("zod").ZodOptional<import("zod").ZodString>;
76
83
  }, "strip", import("zod").ZodTypeAny, {
77
84
  title: string;
78
85
  actions: {
@@ -82,6 +89,7 @@ export declare const zod: {
82
89
  }[];
83
90
  subtitle?: string | undefined;
84
91
  imageUrl?: string | undefined;
92
+ className?: string | undefined;
85
93
  }, {
86
94
  title: string;
87
95
  actions: {
@@ -91,7 +99,9 @@ export declare const zod: {
91
99
  }[];
92
100
  subtitle?: string | undefined;
93
101
  imageUrl?: string | undefined;
102
+ className?: string | undefined;
94
103
  }>, "many">;
104
+ className: import("zod").ZodOptional<import("zod").ZodString>;
95
105
  type: import("zod").ZodLiteral<"carousel">;
96
106
  }, "strip", import("zod").ZodTypeAny, {
97
107
  type: "carousel";
@@ -104,7 +114,9 @@ export declare const zod: {
104
114
  }[];
105
115
  subtitle?: string | undefined;
106
116
  imageUrl?: string | undefined;
117
+ className?: string | undefined;
107
118
  }[];
119
+ className?: string | undefined;
108
120
  }, {
109
121
  type: "carousel";
110
122
  items: {
@@ -116,7 +128,9 @@ export declare const zod: {
116
128
  }[];
117
129
  subtitle?: string | undefined;
118
130
  imageUrl?: string | undefined;
131
+ className?: string | undefined;
119
132
  }[];
133
+ className?: string | undefined;
120
134
  }>, import("zod").ZodObject<{
121
135
  text: import("zod").ZodString;
122
136
  options: import("zod").ZodArray<import("zod").ZodObject<{
@@ -129,21 +143,27 @@ export declare const zod: {
129
143
  value: string;
130
144
  label: string;
131
145
  }>, "many">;
146
+ className: import("zod").ZodOptional<import("zod").ZodString>;
132
147
  type: import("zod").ZodLiteral<"choice">;
148
+ disableFreeText: import("zod").ZodOptional<import("zod").ZodBoolean>;
133
149
  }, "strip", import("zod").ZodTypeAny, {
134
- type: "choice";
135
150
  options: {
136
151
  value: string;
137
152
  label: string;
138
153
  }[];
154
+ type: "choice";
139
155
  text: string;
156
+ className?: string | undefined;
157
+ disableFreeText?: boolean | undefined;
140
158
  }, {
141
- type: "choice";
142
159
  options: {
143
160
  value: string;
144
161
  label: string;
145
162
  }[];
163
+ type: "choice";
146
164
  text: string;
165
+ className?: string | undefined;
166
+ disableFreeText?: boolean | undefined;
147
167
  }>, import("zod").ZodObject<{
148
168
  text: import("zod").ZodString;
149
169
  options: import("zod").ZodArray<import("zod").ZodObject<{
@@ -156,47 +176,57 @@ export declare const zod: {
156
176
  value: string;
157
177
  label: string;
158
178
  }>, "many">;
179
+ className: import("zod").ZodOptional<import("zod").ZodString>;
159
180
  type: import("zod").ZodLiteral<"dropdown">;
160
181
  }, "strip", import("zod").ZodTypeAny, {
161
- type: "dropdown";
162
182
  options: {
163
183
  value: string;
164
184
  label: string;
165
185
  }[];
186
+ type: "dropdown";
166
187
  text: string;
188
+ className?: string | undefined;
167
189
  }, {
168
- type: "dropdown";
169
190
  options: {
170
191
  value: string;
171
192
  label: string;
172
193
  }[];
194
+ type: "dropdown";
173
195
  text: string;
196
+ className?: string | undefined;
174
197
  }>, import("zod").ZodObject<{
175
198
  fileUrl: import("zod").ZodString;
176
199
  title: import("zod").ZodOptional<import("zod").ZodString>;
200
+ className: import("zod").ZodOptional<import("zod").ZodString>;
177
201
  type: import("zod").ZodLiteral<"file">;
178
202
  }, "strip", import("zod").ZodTypeAny, {
179
203
  type: "file";
180
204
  fileUrl: string;
181
205
  title?: string | undefined;
206
+ className?: string | undefined;
182
207
  }, {
183
208
  type: "file";
184
209
  fileUrl: string;
185
210
  title?: string | undefined;
211
+ className?: string | undefined;
186
212
  }>, import("zod").ZodObject<{
187
213
  imageUrl: import("zod").ZodString;
214
+ className: import("zod").ZodOptional<import("zod").ZodString>;
188
215
  type: import("zod").ZodLiteral<"image">;
189
216
  }, "strip", import("zod").ZodTypeAny, {
190
217
  type: "image";
191
218
  imageUrl: string;
219
+ className?: string | undefined;
192
220
  }, {
193
221
  type: "image";
194
222
  imageUrl: string;
223
+ className?: string | undefined;
195
224
  }>, import("zod").ZodObject<{
196
225
  latitude: import("zod").ZodNumber;
197
226
  longitude: import("zod").ZodNumber;
198
227
  address: import("zod").ZodOptional<import("zod").ZodString>;
199
228
  title: import("zod").ZodOptional<import("zod").ZodString>;
229
+ className: import("zod").ZodOptional<import("zod").ZodString>;
200
230
  type: import("zod").ZodLiteral<"location">;
201
231
  }, "strip", import("zod").ZodTypeAny, {
202
232
  type: "location";
@@ -204,39 +234,50 @@ export declare const zod: {
204
234
  longitude: number;
205
235
  address?: string | undefined;
206
236
  title?: string | undefined;
237
+ className?: string | undefined;
207
238
  }, {
208
239
  type: "location";
209
240
  latitude: number;
210
241
  longitude: number;
211
242
  address?: string | undefined;
212
243
  title?: string | undefined;
244
+ className?: string | undefined;
213
245
  }>, import("zod").ZodObject<{
214
246
  markdown: import("zod").ZodString;
247
+ className: import("zod").ZodOptional<import("zod").ZodString>;
215
248
  type: import("zod").ZodLiteral<"markdown">;
216
249
  }, "strip", import("zod").ZodTypeAny, {
217
250
  type: "markdown";
218
251
  markdown: string;
252
+ className?: string | undefined;
219
253
  }, {
220
254
  type: "markdown";
221
255
  markdown: string;
256
+ className?: string | undefined;
222
257
  }>, import("zod").ZodObject<{
223
258
  text: import("zod").ZodString;
259
+ className: import("zod").ZodOptional<import("zod").ZodString>;
224
260
  type: import("zod").ZodLiteral<"text">;
225
261
  }, "strip", import("zod").ZodTypeAny, {
226
262
  type: "text";
227
263
  text: string;
264
+ className?: string | undefined;
228
265
  }, {
229
266
  type: "text";
230
267
  text: string;
268
+ className?: string | undefined;
231
269
  }>, import("zod").ZodObject<{
232
270
  videoUrl: import("zod").ZodString;
271
+ className: import("zod").ZodOptional<import("zod").ZodString>;
233
272
  type: import("zod").ZodLiteral<"video">;
234
273
  }, "strip", import("zod").ZodTypeAny, {
235
274
  type: "video";
236
275
  videoUrl: string;
276
+ className?: string | undefined;
237
277
  }, {
238
278
  type: "video";
239
279
  videoUrl: string;
280
+ className?: string | undefined;
240
281
  }>]>;
241
282
  userId: import("zod").ZodString;
242
283
  conversationId: import("zod").ZodString;
@@ -244,9 +285,10 @@ export declare const zod: {
244
285
  payload: {
245
286
  type: "audio";
246
287
  audioUrl: string;
288
+ className?: string | undefined;
247
289
  } | {
248
- type: "card";
249
290
  title: string;
291
+ type: "card";
250
292
  actions: {
251
293
  value: string;
252
294
  action: "url" | "postback" | "say";
@@ -254,6 +296,7 @@ export declare const zod: {
254
296
  }[];
255
297
  subtitle?: string | undefined;
256
298
  imageUrl?: string | undefined;
299
+ className?: string | undefined;
257
300
  } | {
258
301
  type: "carousel";
259
302
  items: {
@@ -265,43 +308,54 @@ export declare const zod: {
265
308
  }[];
266
309
  subtitle?: string | undefined;
267
310
  imageUrl?: string | undefined;
311
+ className?: string | undefined;
268
312
  }[];
313
+ className?: string | undefined;
269
314
  } | {
270
- type: "choice";
271
315
  options: {
272
316
  value: string;
273
317
  label: string;
274
318
  }[];
319
+ type: "choice";
275
320
  text: string;
321
+ className?: string | undefined;
322
+ disableFreeText?: boolean | undefined;
276
323
  } | {
277
- type: "dropdown";
278
324
  options: {
279
325
  value: string;
280
326
  label: string;
281
327
  }[];
328
+ type: "dropdown";
282
329
  text: string;
330
+ className?: string | undefined;
283
331
  } | {
284
332
  type: "file";
285
333
  fileUrl: string;
286
334
  title?: string | undefined;
335
+ className?: string | undefined;
287
336
  } | {
288
337
  type: "image";
289
338
  imageUrl: string;
339
+ className?: string | undefined;
290
340
  } | {
291
341
  type: "location";
292
342
  latitude: number;
293
343
  longitude: number;
294
344
  address?: string | undefined;
295
345
  title?: string | undefined;
346
+ className?: string | undefined;
296
347
  } | {
297
348
  type: "markdown";
298
349
  markdown: string;
350
+ className?: string | undefined;
299
351
  } | {
300
352
  type: "text";
301
353
  text: string;
354
+ className?: string | undefined;
302
355
  } | {
303
356
  type: "video";
304
357
  videoUrl: string;
358
+ className?: string | undefined;
305
359
  };
306
360
  id: string;
307
361
  userId: string;
@@ -311,9 +365,10 @@ export declare const zod: {
311
365
  payload: {
312
366
  type: "audio";
313
367
  audioUrl: string;
368
+ className?: string | undefined;
314
369
  } | {
315
- type: "card";
316
370
  title: string;
371
+ type: "card";
317
372
  actions: {
318
373
  value: string;
319
374
  action: "url" | "postback" | "say";
@@ -321,6 +376,7 @@ export declare const zod: {
321
376
  }[];
322
377
  subtitle?: string | undefined;
323
378
  imageUrl?: string | undefined;
379
+ className?: string | undefined;
324
380
  } | {
325
381
  type: "carousel";
326
382
  items: {
@@ -332,43 +388,54 @@ export declare const zod: {
332
388
  }[];
333
389
  subtitle?: string | undefined;
334
390
  imageUrl?: string | undefined;
391
+ className?: string | undefined;
335
392
  }[];
393
+ className?: string | undefined;
336
394
  } | {
337
- type: "choice";
338
395
  options: {
339
396
  value: string;
340
397
  label: string;
341
398
  }[];
399
+ type: "choice";
342
400
  text: string;
401
+ className?: string | undefined;
402
+ disableFreeText?: boolean | undefined;
343
403
  } | {
344
- type: "dropdown";
345
404
  options: {
346
405
  value: string;
347
406
  label: string;
348
407
  }[];
408
+ type: "dropdown";
349
409
  text: string;
410
+ className?: string | undefined;
350
411
  } | {
351
412
  type: "file";
352
413
  fileUrl: string;
353
414
  title?: string | undefined;
415
+ className?: string | undefined;
354
416
  } | {
355
417
  type: "image";
356
418
  imageUrl: string;
419
+ className?: string | undefined;
357
420
  } | {
358
421
  type: "location";
359
422
  latitude: number;
360
423
  longitude: number;
361
424
  address?: string | undefined;
362
425
  title?: string | undefined;
426
+ className?: string | undefined;
363
427
  } | {
364
428
  type: "markdown";
365
429
  markdown: string;
430
+ className?: string | undefined;
366
431
  } | {
367
432
  type: "text";
368
433
  text: string;
434
+ className?: string | undefined;
369
435
  } | {
370
436
  type: "video";
371
437
  videoUrl: string;
438
+ className?: string | undefined;
372
439
  };
373
440
  id: string;
374
441
  userId: string;
@@ -381,9 +448,10 @@ export declare const zod: {
381
448
  payload: {
382
449
  type: "audio";
383
450
  audioUrl: string;
451
+ className?: string | undefined;
384
452
  } | {
385
- type: "card";
386
453
  title: string;
454
+ type: "card";
387
455
  actions: {
388
456
  value: string;
389
457
  action: "url" | "postback" | "say";
@@ -391,6 +459,7 @@ export declare const zod: {
391
459
  }[];
392
460
  subtitle?: string | undefined;
393
461
  imageUrl?: string | undefined;
462
+ className?: string | undefined;
394
463
  } | {
395
464
  type: "carousel";
396
465
  items: {
@@ -402,43 +471,54 @@ export declare const zod: {
402
471
  }[];
403
472
  subtitle?: string | undefined;
404
473
  imageUrl?: string | undefined;
474
+ className?: string | undefined;
405
475
  }[];
476
+ className?: string | undefined;
406
477
  } | {
407
- type: "choice";
408
478
  options: {
409
479
  value: string;
410
480
  label: string;
411
481
  }[];
482
+ type: "choice";
412
483
  text: string;
484
+ className?: string | undefined;
485
+ disableFreeText?: boolean | undefined;
413
486
  } | {
414
- type: "dropdown";
415
487
  options: {
416
488
  value: string;
417
489
  label: string;
418
490
  }[];
491
+ type: "dropdown";
419
492
  text: string;
493
+ className?: string | undefined;
420
494
  } | {
421
495
  type: "file";
422
496
  fileUrl: string;
423
497
  title?: string | undefined;
498
+ className?: string | undefined;
424
499
  } | {
425
500
  type: "image";
426
501
  imageUrl: string;
502
+ className?: string | undefined;
427
503
  } | {
428
504
  type: "location";
429
505
  latitude: number;
430
506
  longitude: number;
431
507
  address?: string | undefined;
432
508
  title?: string | undefined;
509
+ className?: string | undefined;
433
510
  } | {
434
511
  type: "markdown";
435
512
  markdown: string;
513
+ className?: string | undefined;
436
514
  } | {
437
515
  type: "text";
438
516
  text: string;
517
+ className?: string | undefined;
439
518
  } | {
440
519
  type: "video";
441
520
  videoUrl: string;
521
+ className?: string | undefined;
442
522
  };
443
523
  id: string;
444
524
  userId: string;
@@ -451,9 +531,10 @@ export declare const zod: {
451
531
  payload: {
452
532
  type: "audio";
453
533
  audioUrl: string;
534
+ className?: string | undefined;
454
535
  } | {
455
- type: "card";
456
536
  title: string;
537
+ type: "card";
457
538
  actions: {
458
539
  value: string;
459
540
  action: "url" | "postback" | "say";
@@ -461,6 +542,7 @@ export declare const zod: {
461
542
  }[];
462
543
  subtitle?: string | undefined;
463
544
  imageUrl?: string | undefined;
545
+ className?: string | undefined;
464
546
  } | {
465
547
  type: "carousel";
466
548
  items: {
@@ -472,43 +554,54 @@ export declare const zod: {
472
554
  }[];
473
555
  subtitle?: string | undefined;
474
556
  imageUrl?: string | undefined;
557
+ className?: string | undefined;
475
558
  }[];
559
+ className?: string | undefined;
476
560
  } | {
477
- type: "choice";
478
561
  options: {
479
562
  value: string;
480
563
  label: string;
481
564
  }[];
565
+ type: "choice";
482
566
  text: string;
567
+ className?: string | undefined;
568
+ disableFreeText?: boolean | undefined;
483
569
  } | {
484
- type: "dropdown";
485
570
  options: {
486
571
  value: string;
487
572
  label: string;
488
573
  }[];
574
+ type: "dropdown";
489
575
  text: string;
576
+ className?: string | undefined;
490
577
  } | {
491
578
  type: "file";
492
579
  fileUrl: string;
493
580
  title?: string | undefined;
581
+ className?: string | undefined;
494
582
  } | {
495
583
  type: "image";
496
584
  imageUrl: string;
585
+ className?: string | undefined;
497
586
  } | {
498
587
  type: "location";
499
588
  latitude: number;
500
589
  longitude: number;
501
590
  address?: string | undefined;
502
591
  title?: string | undefined;
592
+ className?: string | undefined;
503
593
  } | {
504
594
  type: "markdown";
505
595
  markdown: string;
596
+ className?: string | undefined;
506
597
  } | {
507
598
  type: "text";
508
599
  text: string;
600
+ className?: string | undefined;
509
601
  } | {
510
602
  type: "video";
511
603
  videoUrl: string;
604
+ className?: string | undefined;
512
605
  };
513
606
  id: string;
514
607
  userId: string;
@@ -603,6 +696,10 @@ export declare const json: {
603
696
  type: string;
604
697
  minLength: number;
605
698
  };
699
+ className: {
700
+ type: string;
701
+ description: string;
702
+ };
606
703
  type: {
607
704
  type: string;
608
705
  const: string;
@@ -614,6 +711,7 @@ export declare const json: {
614
711
  items?: undefined;
615
712
  text?: undefined;
616
713
  options?: undefined;
714
+ disableFreeText?: undefined;
617
715
  fileUrl?: undefined;
618
716
  latitude?: undefined;
619
717
  longitude?: undefined;
@@ -632,11 +730,10 @@ export declare const json: {
632
730
  };
633
731
  subtitle: {
634
732
  type: string;
635
- minLength: number;
636
733
  };
637
734
  imageUrl: {
638
735
  type: string;
639
- minLength: number;
736
+ minLength?: undefined;
640
737
  };
641
738
  actions: {
642
739
  type: string;
@@ -664,10 +761,15 @@ export declare const json: {
664
761
  type: string;
665
762
  const: string;
666
763
  };
764
+ className: {
765
+ type: string;
766
+ description: string;
767
+ };
667
768
  audioUrl?: undefined;
668
769
  items?: undefined;
669
770
  text?: undefined;
670
771
  options?: undefined;
772
+ disableFreeText?: undefined;
671
773
  fileUrl?: undefined;
672
774
  latitude?: undefined;
673
775
  longitude?: undefined;
@@ -691,11 +793,9 @@ export declare const json: {
691
793
  };
692
794
  subtitle: {
693
795
  type: string;
694
- minLength: number;
695
796
  };
696
797
  imageUrl: {
697
798
  type: string;
698
- minLength: number;
699
799
  };
700
800
  actions: {
701
801
  type: string;
@@ -719,11 +819,19 @@ export declare const json: {
719
819
  additionalProperties: boolean;
720
820
  };
721
821
  };
822
+ className: {
823
+ type: string;
824
+ description: string;
825
+ };
722
826
  };
723
827
  required: string[];
724
828
  additionalProperties: boolean;
725
829
  };
726
830
  };
831
+ className: {
832
+ type: string;
833
+ description: string;
834
+ };
727
835
  type: {
728
836
  type: string;
729
837
  const: string;
@@ -735,6 +843,7 @@ export declare const json: {
735
843
  actions?: undefined;
736
844
  text?: undefined;
737
845
  options?: undefined;
846
+ disableFreeText?: undefined;
738
847
  fileUrl?: undefined;
739
848
  latitude?: undefined;
740
849
  longitude?: undefined;
@@ -749,7 +858,7 @@ export declare const json: {
749
858
  properties: {
750
859
  text: {
751
860
  type: string;
752
- minLength: number;
861
+ minLength?: undefined;
753
862
  };
754
863
  options: {
755
864
  type: string;
@@ -769,10 +878,17 @@ export declare const json: {
769
878
  additionalProperties: boolean;
770
879
  };
771
880
  };
881
+ className: {
882
+ type: string;
883
+ description: string;
884
+ };
772
885
  type: {
773
886
  type: string;
774
887
  const: string;
775
888
  };
889
+ disableFreeText: {
890
+ type: string;
891
+ };
776
892
  audioUrl?: undefined;
777
893
  title?: undefined;
778
894
  subtitle?: undefined;
@@ -788,6 +904,55 @@ export declare const json: {
788
904
  };
789
905
  required: string[];
790
906
  additionalProperties: boolean;
907
+ } | {
908
+ type: string;
909
+ properties: {
910
+ text: {
911
+ type: string;
912
+ minLength?: undefined;
913
+ };
914
+ options: {
915
+ type: string;
916
+ items: {
917
+ type: string;
918
+ properties: {
919
+ label: {
920
+ type: string;
921
+ minLength: number;
922
+ };
923
+ value: {
924
+ type: string;
925
+ minLength: number;
926
+ };
927
+ };
928
+ required: string[];
929
+ additionalProperties: boolean;
930
+ };
931
+ };
932
+ className: {
933
+ type: string;
934
+ description: string;
935
+ };
936
+ type: {
937
+ type: string;
938
+ const: string;
939
+ };
940
+ audioUrl?: undefined;
941
+ title?: undefined;
942
+ subtitle?: undefined;
943
+ imageUrl?: undefined;
944
+ actions?: undefined;
945
+ items?: undefined;
946
+ disableFreeText?: undefined;
947
+ fileUrl?: undefined;
948
+ latitude?: undefined;
949
+ longitude?: undefined;
950
+ address?: undefined;
951
+ markdown?: undefined;
952
+ videoUrl?: undefined;
953
+ };
954
+ required: string[];
955
+ additionalProperties: boolean;
791
956
  } | {
792
957
  type: string;
793
958
  properties: {
@@ -799,6 +964,10 @@ export declare const json: {
799
964
  type: string;
800
965
  minLength: number;
801
966
  };
967
+ className: {
968
+ type: string;
969
+ description: string;
970
+ };
802
971
  type: {
803
972
  type: string;
804
973
  const: string;
@@ -810,6 +979,7 @@ export declare const json: {
810
979
  items?: undefined;
811
980
  text?: undefined;
812
981
  options?: undefined;
982
+ disableFreeText?: undefined;
813
983
  latitude?: undefined;
814
984
  longitude?: undefined;
815
985
  address?: undefined;
@@ -825,6 +995,10 @@ export declare const json: {
825
995
  type: string;
826
996
  minLength: number;
827
997
  };
998
+ className: {
999
+ type: string;
1000
+ description: string;
1001
+ };
828
1002
  type: {
829
1003
  type: string;
830
1004
  const: string;
@@ -836,6 +1010,7 @@ export declare const json: {
836
1010
  items?: undefined;
837
1011
  text?: undefined;
838
1012
  options?: undefined;
1013
+ disableFreeText?: undefined;
839
1014
  fileUrl?: undefined;
840
1015
  latitude?: undefined;
841
1016
  longitude?: undefined;
@@ -861,6 +1036,10 @@ export declare const json: {
861
1036
  type: string;
862
1037
  minLength?: undefined;
863
1038
  };
1039
+ className: {
1040
+ type: string;
1041
+ description: string;
1042
+ };
864
1043
  type: {
865
1044
  type: string;
866
1045
  const: string;
@@ -872,6 +1051,7 @@ export declare const json: {
872
1051
  items?: undefined;
873
1052
  text?: undefined;
874
1053
  options?: undefined;
1054
+ disableFreeText?: undefined;
875
1055
  fileUrl?: undefined;
876
1056
  markdown?: undefined;
877
1057
  videoUrl?: undefined;
@@ -885,6 +1065,10 @@ export declare const json: {
885
1065
  type: string;
886
1066
  minLength: number;
887
1067
  };
1068
+ className: {
1069
+ type: string;
1070
+ description: string;
1071
+ };
888
1072
  type: {
889
1073
  type: string;
890
1074
  const: string;
@@ -897,6 +1081,7 @@ export declare const json: {
897
1081
  items?: undefined;
898
1082
  text?: undefined;
899
1083
  options?: undefined;
1084
+ disableFreeText?: undefined;
900
1085
  fileUrl?: undefined;
901
1086
  latitude?: undefined;
902
1087
  longitude?: undefined;
@@ -912,6 +1097,10 @@ export declare const json: {
912
1097
  type: string;
913
1098
  minLength: number;
914
1099
  };
1100
+ className: {
1101
+ type: string;
1102
+ description: string;
1103
+ };
915
1104
  type: {
916
1105
  type: string;
917
1106
  const: string;
@@ -923,6 +1112,7 @@ export declare const json: {
923
1112
  actions?: undefined;
924
1113
  items?: undefined;
925
1114
  options?: undefined;
1115
+ disableFreeText?: undefined;
926
1116
  fileUrl?: undefined;
927
1117
  latitude?: undefined;
928
1118
  longitude?: undefined;
@@ -939,6 +1129,10 @@ export declare const json: {
939
1129
  type: string;
940
1130
  minLength: number;
941
1131
  };
1132
+ className: {
1133
+ type: string;
1134
+ description: string;
1135
+ };
942
1136
  type: {
943
1137
  type: string;
944
1138
  const: string;
@@ -951,6 +1145,7 @@ export declare const json: {
951
1145
  items?: undefined;
952
1146
  text?: undefined;
953
1147
  options?: undefined;
1148
+ disableFreeText?: undefined;
954
1149
  fileUrl?: undefined;
955
1150
  latitude?: undefined;
956
1151
  longitude?: undefined;