@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
@@ -6,13 +6,16 @@ declare const _default: z.ZodObject<{
6
6
  createdAt: z.ZodString;
7
7
  payload: z.ZodUnion<[z.ZodObject<{
8
8
  audioUrl: z.ZodString;
9
+ className: z.ZodOptional<z.ZodString>;
9
10
  type: z.ZodLiteral<"audio">;
10
11
  }, "strip", z.ZodTypeAny, {
11
12
  type: "audio";
12
13
  audioUrl: string;
14
+ className?: string | undefined;
13
15
  }, {
14
16
  type: "audio";
15
17
  audioUrl: string;
18
+ className?: string | undefined;
16
19
  }>, z.ZodObject<{
17
20
  title: z.ZodString;
18
21
  subtitle: z.ZodOptional<z.ZodString>;
@@ -31,9 +34,10 @@ declare const _default: z.ZodObject<{
31
34
  label: string;
32
35
  }>, "many">;
33
36
  type: z.ZodLiteral<"card">;
37
+ className: z.ZodOptional<z.ZodString>;
34
38
  }, "strip", z.ZodTypeAny, {
35
- type: "card";
36
39
  title: string;
40
+ type: "card";
37
41
  actions: {
38
42
  value: string;
39
43
  action: "url" | "postback" | "say";
@@ -41,9 +45,10 @@ declare const _default: z.ZodObject<{
41
45
  }[];
42
46
  subtitle?: string | undefined;
43
47
  imageUrl?: string | undefined;
48
+ className?: string | undefined;
44
49
  }, {
45
- type: "card";
46
50
  title: string;
51
+ type: "card";
47
52
  actions: {
48
53
  value: string;
49
54
  action: "url" | "postback" | "say";
@@ -51,6 +56,7 @@ declare const _default: z.ZodObject<{
51
56
  }[];
52
57
  subtitle?: string | undefined;
53
58
  imageUrl?: string | undefined;
59
+ className?: string | undefined;
54
60
  }>, z.ZodObject<{
55
61
  items: z.ZodArray<z.ZodObject<{
56
62
  title: z.ZodString;
@@ -69,6 +75,7 @@ declare const _default: z.ZodObject<{
69
75
  action: "url" | "postback" | "say";
70
76
  label: string;
71
77
  }>, "many">;
78
+ className: z.ZodOptional<z.ZodString>;
72
79
  }, "strip", z.ZodTypeAny, {
73
80
  title: string;
74
81
  actions: {
@@ -78,6 +85,7 @@ declare const _default: z.ZodObject<{
78
85
  }[];
79
86
  subtitle?: string | undefined;
80
87
  imageUrl?: string | undefined;
88
+ className?: string | undefined;
81
89
  }, {
82
90
  title: string;
83
91
  actions: {
@@ -87,7 +95,9 @@ declare const _default: z.ZodObject<{
87
95
  }[];
88
96
  subtitle?: string | undefined;
89
97
  imageUrl?: string | undefined;
98
+ className?: string | undefined;
90
99
  }>, "many">;
100
+ className: z.ZodOptional<z.ZodString>;
91
101
  type: z.ZodLiteral<"carousel">;
92
102
  }, "strip", z.ZodTypeAny, {
93
103
  type: "carousel";
@@ -100,7 +110,9 @@ declare const _default: z.ZodObject<{
100
110
  }[];
101
111
  subtitle?: string | undefined;
102
112
  imageUrl?: string | undefined;
113
+ className?: string | undefined;
103
114
  }[];
115
+ className?: string | undefined;
104
116
  }, {
105
117
  type: "carousel";
106
118
  items: {
@@ -112,7 +124,9 @@ declare const _default: z.ZodObject<{
112
124
  }[];
113
125
  subtitle?: string | undefined;
114
126
  imageUrl?: string | undefined;
127
+ className?: string | undefined;
115
128
  }[];
129
+ className?: string | undefined;
116
130
  }>, z.ZodObject<{
117
131
  text: z.ZodString;
118
132
  options: z.ZodArray<z.ZodObject<{
@@ -125,21 +139,27 @@ declare const _default: z.ZodObject<{
125
139
  value: string;
126
140
  label: string;
127
141
  }>, "many">;
142
+ className: z.ZodOptional<z.ZodString>;
128
143
  type: z.ZodLiteral<"choice">;
144
+ disableFreeText: z.ZodOptional<z.ZodBoolean>;
129
145
  }, "strip", z.ZodTypeAny, {
130
- type: "choice";
131
146
  options: {
132
147
  value: string;
133
148
  label: string;
134
149
  }[];
150
+ type: "choice";
135
151
  text: string;
152
+ className?: string | undefined;
153
+ disableFreeText?: boolean | undefined;
136
154
  }, {
137
- type: "choice";
138
155
  options: {
139
156
  value: string;
140
157
  label: string;
141
158
  }[];
159
+ type: "choice";
142
160
  text: string;
161
+ className?: string | undefined;
162
+ disableFreeText?: boolean | undefined;
143
163
  }>, z.ZodObject<{
144
164
  text: z.ZodString;
145
165
  options: z.ZodArray<z.ZodObject<{
@@ -152,47 +172,57 @@ declare const _default: z.ZodObject<{
152
172
  value: string;
153
173
  label: string;
154
174
  }>, "many">;
175
+ className: z.ZodOptional<z.ZodString>;
155
176
  type: z.ZodLiteral<"dropdown">;
156
177
  }, "strip", z.ZodTypeAny, {
157
- type: "dropdown";
158
178
  options: {
159
179
  value: string;
160
180
  label: string;
161
181
  }[];
182
+ type: "dropdown";
162
183
  text: string;
184
+ className?: string | undefined;
163
185
  }, {
164
- type: "dropdown";
165
186
  options: {
166
187
  value: string;
167
188
  label: string;
168
189
  }[];
190
+ type: "dropdown";
169
191
  text: string;
192
+ className?: string | undefined;
170
193
  }>, z.ZodObject<{
171
194
  fileUrl: z.ZodString;
172
195
  title: z.ZodOptional<z.ZodString>;
196
+ className: z.ZodOptional<z.ZodString>;
173
197
  type: z.ZodLiteral<"file">;
174
198
  }, "strip", z.ZodTypeAny, {
175
199
  type: "file";
176
200
  fileUrl: string;
177
201
  title?: string | undefined;
202
+ className?: string | undefined;
178
203
  }, {
179
204
  type: "file";
180
205
  fileUrl: string;
181
206
  title?: string | undefined;
207
+ className?: string | undefined;
182
208
  }>, z.ZodObject<{
183
209
  imageUrl: z.ZodString;
210
+ className: z.ZodOptional<z.ZodString>;
184
211
  type: z.ZodLiteral<"image">;
185
212
  }, "strip", z.ZodTypeAny, {
186
213
  type: "image";
187
214
  imageUrl: string;
215
+ className?: string | undefined;
188
216
  }, {
189
217
  type: "image";
190
218
  imageUrl: string;
219
+ className?: string | undefined;
191
220
  }>, z.ZodObject<{
192
221
  latitude: z.ZodNumber;
193
222
  longitude: z.ZodNumber;
194
223
  address: z.ZodOptional<z.ZodString>;
195
224
  title: z.ZodOptional<z.ZodString>;
225
+ className: z.ZodOptional<z.ZodString>;
196
226
  type: z.ZodLiteral<"location">;
197
227
  }, "strip", z.ZodTypeAny, {
198
228
  type: "location";
@@ -200,39 +230,50 @@ declare const _default: z.ZodObject<{
200
230
  longitude: number;
201
231
  address?: string | undefined;
202
232
  title?: string | undefined;
233
+ className?: string | undefined;
203
234
  }, {
204
235
  type: "location";
205
236
  latitude: number;
206
237
  longitude: number;
207
238
  address?: string | undefined;
208
239
  title?: string | undefined;
240
+ className?: string | undefined;
209
241
  }>, z.ZodObject<{
210
242
  markdown: z.ZodString;
243
+ className: z.ZodOptional<z.ZodString>;
211
244
  type: z.ZodLiteral<"markdown">;
212
245
  }, "strip", z.ZodTypeAny, {
213
246
  type: "markdown";
214
247
  markdown: string;
248
+ className?: string | undefined;
215
249
  }, {
216
250
  type: "markdown";
217
251
  markdown: string;
252
+ className?: string | undefined;
218
253
  }>, z.ZodObject<{
219
254
  text: z.ZodString;
255
+ className: z.ZodOptional<z.ZodString>;
220
256
  type: z.ZodLiteral<"text">;
221
257
  }, "strip", z.ZodTypeAny, {
222
258
  type: "text";
223
259
  text: string;
260
+ className?: string | undefined;
224
261
  }, {
225
262
  type: "text";
226
263
  text: string;
264
+ className?: string | undefined;
227
265
  }>, z.ZodObject<{
228
266
  videoUrl: z.ZodString;
267
+ className: z.ZodOptional<z.ZodString>;
229
268
  type: z.ZodLiteral<"video">;
230
269
  }, "strip", z.ZodTypeAny, {
231
270
  type: "video";
232
271
  videoUrl: string;
272
+ className?: string | undefined;
233
273
  }, {
234
274
  type: "video";
235
275
  videoUrl: string;
276
+ className?: string | undefined;
236
277
  }>]>;
237
278
  userId: z.ZodString;
238
279
  conversationId: z.ZodString;
@@ -240,9 +281,10 @@ declare const _default: z.ZodObject<{
240
281
  payload: {
241
282
  type: "audio";
242
283
  audioUrl: string;
284
+ className?: string | undefined;
243
285
  } | {
244
- type: "card";
245
286
  title: string;
287
+ type: "card";
246
288
  actions: {
247
289
  value: string;
248
290
  action: "url" | "postback" | "say";
@@ -250,6 +292,7 @@ declare const _default: z.ZodObject<{
250
292
  }[];
251
293
  subtitle?: string | undefined;
252
294
  imageUrl?: string | undefined;
295
+ className?: string | undefined;
253
296
  } | {
254
297
  type: "carousel";
255
298
  items: {
@@ -261,43 +304,54 @@ declare const _default: z.ZodObject<{
261
304
  }[];
262
305
  subtitle?: string | undefined;
263
306
  imageUrl?: string | undefined;
307
+ className?: string | undefined;
264
308
  }[];
309
+ className?: string | undefined;
265
310
  } | {
266
- type: "choice";
267
311
  options: {
268
312
  value: string;
269
313
  label: string;
270
314
  }[];
315
+ type: "choice";
271
316
  text: string;
317
+ className?: string | undefined;
318
+ disableFreeText?: boolean | undefined;
272
319
  } | {
273
- type: "dropdown";
274
320
  options: {
275
321
  value: string;
276
322
  label: string;
277
323
  }[];
324
+ type: "dropdown";
278
325
  text: string;
326
+ className?: string | undefined;
279
327
  } | {
280
328
  type: "file";
281
329
  fileUrl: string;
282
330
  title?: string | undefined;
331
+ className?: string | undefined;
283
332
  } | {
284
333
  type: "image";
285
334
  imageUrl: string;
335
+ className?: string | undefined;
286
336
  } | {
287
337
  type: "location";
288
338
  latitude: number;
289
339
  longitude: number;
290
340
  address?: string | undefined;
291
341
  title?: string | undefined;
342
+ className?: string | undefined;
292
343
  } | {
293
344
  type: "markdown";
294
345
  markdown: string;
346
+ className?: string | undefined;
295
347
  } | {
296
348
  type: "text";
297
349
  text: string;
350
+ className?: string | undefined;
298
351
  } | {
299
352
  type: "video";
300
353
  videoUrl: string;
354
+ className?: string | undefined;
301
355
  };
302
356
  id: string;
303
357
  userId: string;
@@ -307,9 +361,10 @@ declare const _default: z.ZodObject<{
307
361
  payload: {
308
362
  type: "audio";
309
363
  audioUrl: string;
364
+ className?: string | undefined;
310
365
  } | {
311
- type: "card";
312
366
  title: string;
367
+ type: "card";
313
368
  actions: {
314
369
  value: string;
315
370
  action: "url" | "postback" | "say";
@@ -317,6 +372,7 @@ declare const _default: z.ZodObject<{
317
372
  }[];
318
373
  subtitle?: string | undefined;
319
374
  imageUrl?: string | undefined;
375
+ className?: string | undefined;
320
376
  } | {
321
377
  type: "carousel";
322
378
  items: {
@@ -328,43 +384,54 @@ declare const _default: z.ZodObject<{
328
384
  }[];
329
385
  subtitle?: string | undefined;
330
386
  imageUrl?: string | undefined;
387
+ className?: string | undefined;
331
388
  }[];
389
+ className?: string | undefined;
332
390
  } | {
333
- type: "choice";
334
391
  options: {
335
392
  value: string;
336
393
  label: string;
337
394
  }[];
395
+ type: "choice";
338
396
  text: string;
397
+ className?: string | undefined;
398
+ disableFreeText?: boolean | undefined;
339
399
  } | {
340
- type: "dropdown";
341
400
  options: {
342
401
  value: string;
343
402
  label: string;
344
403
  }[];
404
+ type: "dropdown";
345
405
  text: string;
406
+ className?: string | undefined;
346
407
  } | {
347
408
  type: "file";
348
409
  fileUrl: string;
349
410
  title?: string | undefined;
411
+ className?: string | undefined;
350
412
  } | {
351
413
  type: "image";
352
414
  imageUrl: string;
415
+ className?: string | undefined;
353
416
  } | {
354
417
  type: "location";
355
418
  latitude: number;
356
419
  longitude: number;
357
420
  address?: string | undefined;
358
421
  title?: string | undefined;
422
+ className?: string | undefined;
359
423
  } | {
360
424
  type: "markdown";
361
425
  markdown: string;
426
+ className?: string | undefined;
362
427
  } | {
363
428
  type: "text";
364
429
  text: string;
430
+ className?: string | undefined;
365
431
  } | {
366
432
  type: "video";
367
433
  videoUrl: string;
434
+ className?: string | undefined;
368
435
  };
369
436
  id: string;
370
437
  userId: string;
@@ -377,9 +444,10 @@ declare const _default: z.ZodObject<{
377
444
  payload: {
378
445
  type: "audio";
379
446
  audioUrl: string;
447
+ className?: string | undefined;
380
448
  } | {
381
- type: "card";
382
449
  title: string;
450
+ type: "card";
383
451
  actions: {
384
452
  value: string;
385
453
  action: "url" | "postback" | "say";
@@ -387,6 +455,7 @@ declare const _default: z.ZodObject<{
387
455
  }[];
388
456
  subtitle?: string | undefined;
389
457
  imageUrl?: string | undefined;
458
+ className?: string | undefined;
390
459
  } | {
391
460
  type: "carousel";
392
461
  items: {
@@ -398,43 +467,54 @@ declare const _default: z.ZodObject<{
398
467
  }[];
399
468
  subtitle?: string | undefined;
400
469
  imageUrl?: string | undefined;
470
+ className?: string | undefined;
401
471
  }[];
472
+ className?: string | undefined;
402
473
  } | {
403
- type: "choice";
404
474
  options: {
405
475
  value: string;
406
476
  label: string;
407
477
  }[];
478
+ type: "choice";
408
479
  text: string;
480
+ className?: string | undefined;
481
+ disableFreeText?: boolean | undefined;
409
482
  } | {
410
- type: "dropdown";
411
483
  options: {
412
484
  value: string;
413
485
  label: string;
414
486
  }[];
487
+ type: "dropdown";
415
488
  text: string;
489
+ className?: string | undefined;
416
490
  } | {
417
491
  type: "file";
418
492
  fileUrl: string;
419
493
  title?: string | undefined;
494
+ className?: string | undefined;
420
495
  } | {
421
496
  type: "image";
422
497
  imageUrl: string;
498
+ className?: string | undefined;
423
499
  } | {
424
500
  type: "location";
425
501
  latitude: number;
426
502
  longitude: number;
427
503
  address?: string | undefined;
428
504
  title?: string | undefined;
505
+ className?: string | undefined;
429
506
  } | {
430
507
  type: "markdown";
431
508
  markdown: string;
509
+ className?: string | undefined;
432
510
  } | {
433
511
  type: "text";
434
512
  text: string;
513
+ className?: string | undefined;
435
514
  } | {
436
515
  type: "video";
437
516
  videoUrl: string;
517
+ className?: string | undefined;
438
518
  };
439
519
  id: string;
440
520
  userId: string;
@@ -447,9 +527,10 @@ declare const _default: z.ZodObject<{
447
527
  payload: {
448
528
  type: "audio";
449
529
  audioUrl: string;
530
+ className?: string | undefined;
450
531
  } | {
451
- type: "card";
452
532
  title: string;
533
+ type: "card";
453
534
  actions: {
454
535
  value: string;
455
536
  action: "url" | "postback" | "say";
@@ -457,6 +538,7 @@ declare const _default: z.ZodObject<{
457
538
  }[];
458
539
  subtitle?: string | undefined;
459
540
  imageUrl?: string | undefined;
541
+ className?: string | undefined;
460
542
  } | {
461
543
  type: "carousel";
462
544
  items: {
@@ -468,43 +550,54 @@ declare const _default: z.ZodObject<{
468
550
  }[];
469
551
  subtitle?: string | undefined;
470
552
  imageUrl?: string | undefined;
553
+ className?: string | undefined;
471
554
  }[];
555
+ className?: string | undefined;
472
556
  } | {
473
- type: "choice";
474
557
  options: {
475
558
  value: string;
476
559
  label: string;
477
560
  }[];
561
+ type: "choice";
478
562
  text: string;
563
+ className?: string | undefined;
564
+ disableFreeText?: boolean | undefined;
479
565
  } | {
480
- type: "dropdown";
481
566
  options: {
482
567
  value: string;
483
568
  label: string;
484
569
  }[];
570
+ type: "dropdown";
485
571
  text: string;
572
+ className?: string | undefined;
486
573
  } | {
487
574
  type: "file";
488
575
  fileUrl: string;
489
576
  title?: string | undefined;
577
+ className?: string | undefined;
490
578
  } | {
491
579
  type: "image";
492
580
  imageUrl: string;
581
+ className?: string | undefined;
493
582
  } | {
494
583
  type: "location";
495
584
  latitude: number;
496
585
  longitude: number;
497
586
  address?: string | undefined;
498
587
  title?: string | undefined;
588
+ className?: string | undefined;
499
589
  } | {
500
590
  type: "markdown";
501
591
  markdown: string;
592
+ className?: string | undefined;
502
593
  } | {
503
594
  type: "text";
504
595
  text: string;
596
+ className?: string | undefined;
505
597
  } | {
506
598
  type: "video";
507
599
  videoUrl: string;
600
+ className?: string | undefined;
508
601
  };
509
602
  id: string;
510
603
  userId: string;
@@ -0,0 +1,8 @@
1
+ import { WebchatClient } from './client';
2
+ type GetClientOptions = {
3
+ mode: 'messaging' | 'pushpin';
4
+ clientId: string;
5
+ apiUrl: string;
6
+ };
7
+ export declare const getClient: ({ clientId, apiUrl, mode }: GetClientOptions) => WebchatClient;
8
+ export {};
@@ -1,8 +1,8 @@
1
- import { MessagingClient, WebchatClient } from '../client';
1
+ import { WebchatClient } from '../client';
2
2
  type UseClientOptions = {
3
3
  mode: 'messaging' | 'pushpin';
4
4
  clientId: string;
5
5
  apiUrl: string;
6
6
  };
7
- export declare const useClient: ({ clientId, apiUrl, mode }: UseClientOptions) => WebchatClient | MessagingClient | undefined;
7
+ export declare const useClient: ({ clientId, apiUrl, mode }: UseClientOptions) => WebchatClient | undefined;
8
8
  export {};
@@ -5,12 +5,15 @@ type WebchatState = {
5
5
  };
6
6
  user?: UserCredentials;
7
7
  conversationId?: string;
8
+ clientMode: string;
8
9
  addMessageToHistory: (props: {
9
10
  userId: string;
10
11
  message: string;
11
12
  }) => void;
13
+ setClientMode: (clientMode: string) => void;
12
14
  setUser: (userId?: UserCredentials) => void;
13
15
  setConversationId: (conversationId?: string) => void;
16
+ clearAll: () => void;
14
17
  };
15
18
  export declare const useWebchatStore: import("zustand").UseBoundStore<Omit<Omit<import("zustand").StoreApi<WebchatState>, "setState"> & {
16
19
  setState<A extends string | {
package/dist/index.d.ts CHANGED
@@ -1,9 +1,8 @@
1
1
  export * from './components';
2
2
  export * from './providers';
3
3
  export * from './types';
4
- export * from './themes';
5
- export { MessagingClient, PushpinClient, type WebchatClient as WebChatClient } from './client';
4
+ export * from './schemas';
5
+ export { type WebchatClient } from './client';
6
+ export { getClient } from './get-client';
6
7
  export { useWebchatContext } from './contexts';
7
- export { mergeThemes } from './utils';
8
8
  export { useClient } from './hooks';
9
- export type { Theme } from './schemas';