@liip/liipgpt 1.0.0-rc.9 → 1.0.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.
Files changed (59) hide show
  1. package/README.md +4 -129
  2. package/button/liipgpt-button.iife.js +231 -0
  3. package/chat/liipgpt-chat.iife.js +293 -802
  4. package/config/index.cjs +4307 -0
  5. package/config/index.d.ts +9437 -949
  6. package/config/index.js +3457 -2248
  7. package/configurator/_app/env.js +1 -0
  8. package/configurator/_app/immutable/chunks/8PzG14q7.js +4 -0
  9. package/configurator/_app/immutable/chunks/BMvVlUrl.js +15 -0
  10. package/configurator/_app/immutable/chunks/BcMr1Isb.js +58 -0
  11. package/configurator/_app/immutable/chunks/BiXZbQqO.js +1 -0
  12. package/configurator/_app/immutable/chunks/Blpq5ghW.js +3 -0
  13. package/configurator/_app/immutable/chunks/C6QPkKVb.js +1 -0
  14. package/configurator/_app/immutable/chunks/Crb1ifvw.js +364 -0
  15. package/configurator/_app/immutable/chunks/CthtHExI.js +28 -0
  16. package/configurator/_app/immutable/chunks/D5wkZK_2.js +1 -0
  17. package/configurator/_app/immutable/chunks/DUt8zN7X.js +1 -0
  18. package/configurator/_app/immutable/chunks/DpWDGuko.js +1 -0
  19. package/configurator/_app/immutable/chunks/Dq6jck_i.js +1 -0
  20. package/configurator/_app/immutable/chunks/HtQdmN-S.js +1 -0
  21. package/configurator/_app/immutable/chunks/NZTpNUN0.js +1 -0
  22. package/configurator/_app/immutable/chunks/lxJsdCDD.js +1 -0
  23. package/configurator/_app/immutable/entry/app.DLjyDu01.js +2 -0
  24. package/configurator/_app/immutable/entry/start.Dri2trH_.js +1 -0
  25. package/configurator/_app/immutable/nodes/0.Cu_Gc0Ri.js +58 -0
  26. package/configurator/_app/immutable/nodes/1.CMbEHgX0.js +1 -0
  27. package/configurator/_app/immutable/nodes/2.gQZZQ4pa.js +1 -0
  28. package/configurator/_app/immutable/nodes/3.CnRlwgWw.js +897 -0
  29. package/configurator/_app/version.json +1 -0
  30. package/configurator/favicon.png +0 -0
  31. package/configurator/index.html +38 -0
  32. package/configurator/sidebar.html +38 -0
  33. package/index.cjs +10757 -0
  34. package/index.d.ts +14291 -0
  35. package/index.js +10736 -0
  36. package/package.json +20 -13
  37. package/chat/index.html +0 -242
  38. package/config/index.umd.cjs +0 -1
  39. package/lib/config/chat-config.d.ts +0 -957
  40. package/lib/config/clamp.d.ts +0 -3
  41. package/lib/config/config-definition.d.ts +0 -1635
  42. package/lib/config/css-variables.d.ts +0 -9
  43. package/lib/config/custom-css.d.ts +0 -1
  44. package/lib/config/demo-chat-history.d.ts +0 -78
  45. package/lib/config/simple-config.d.ts +0 -458
  46. package/lib/config/translations-definition.d.ts +0 -221
  47. package/lib/config/types-index.d.ts +0 -3
  48. package/lib/config/utils.d.ts +0 -23
  49. package/lib/lib/agnostic-storage.d.ts +0 -1
  50. package/lib/lib/chat-message-types.d.ts +0 -53
  51. package/lib/lib/feedback.d.ts +0 -0
  52. package/lib/lib/index.d.ts +0 -3
  53. package/lib/lib/liipgpt-client.d.ts +0 -92
  54. package/lib/lib/markdown.d.ts +0 -2
  55. package/lib/lib/message-store.d.ts +0 -15
  56. package/lib/lib/sse-v2-types.d.ts +0 -57
  57. package/lib/lib/utils.d.ts +0 -2
  58. package/lib/liipgpt-client.js +0 -5570
  59. package/lib/liipgpt-client.umd.cjs +0 -59
@@ -1,957 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const classificationConfigSchema: z.ZodObject<{
3
- impact: z.ZodOptional<z.ZodObject<{
4
- label: z.ZodString;
5
- options: z.ZodArray<z.ZodObject<{
6
- label: z.ZodString;
7
- value: z.ZodNumber;
8
- }, "strip", z.ZodTypeAny, {
9
- value: number;
10
- label: string;
11
- }, {
12
- value: number;
13
- label: string;
14
- }>, "many">;
15
- }, "strip", z.ZodTypeAny, {
16
- options: {
17
- value: number;
18
- label: string;
19
- }[];
20
- label: string;
21
- }, {
22
- options: {
23
- value: number;
24
- label: string;
25
- }[];
26
- label: string;
27
- }>>;
28
- quality: z.ZodOptional<z.ZodObject<{
29
- label: z.ZodString;
30
- options: z.ZodArray<z.ZodObject<{
31
- label: z.ZodString;
32
- value: z.ZodNumber;
33
- }, "strip", z.ZodTypeAny, {
34
- value: number;
35
- label: string;
36
- }, {
37
- value: number;
38
- label: string;
39
- }>, "many">;
40
- }, "strip", z.ZodTypeAny, {
41
- options: {
42
- value: number;
43
- label: string;
44
- }[];
45
- label: string;
46
- }, {
47
- options: {
48
- value: number;
49
- label: string;
50
- }[];
51
- label: string;
52
- }>>;
53
- }, "strip", z.ZodTypeAny, {
54
- impact?: {
55
- options: {
56
- value: number;
57
- label: string;
58
- }[];
59
- label: string;
60
- } | undefined;
61
- quality?: {
62
- options: {
63
- value: number;
64
- label: string;
65
- }[];
66
- label: string;
67
- } | undefined;
68
- }, {
69
- impact?: {
70
- options: {
71
- value: number;
72
- label: string;
73
- }[];
74
- label: string;
75
- } | undefined;
76
- quality?: {
77
- options: {
78
- value: number;
79
- label: string;
80
- }[];
81
- label: string;
82
- } | undefined;
83
- }>;
84
- export declare const classificationResponseSchema: z.ZodObject<{
85
- classification: z.ZodOptional<z.ZodObject<{
86
- impact: z.ZodOptional<z.ZodObject<{
87
- label: z.ZodString;
88
- options: z.ZodArray<z.ZodObject<{
89
- label: z.ZodString;
90
- value: z.ZodNumber;
91
- }, "strip", z.ZodTypeAny, {
92
- value: number;
93
- label: string;
94
- }, {
95
- value: number;
96
- label: string;
97
- }>, "many">;
98
- }, "strip", z.ZodTypeAny, {
99
- options: {
100
- value: number;
101
- label: string;
102
- }[];
103
- label: string;
104
- }, {
105
- options: {
106
- value: number;
107
- label: string;
108
- }[];
109
- label: string;
110
- }>>;
111
- quality: z.ZodOptional<z.ZodObject<{
112
- label: z.ZodString;
113
- options: z.ZodArray<z.ZodObject<{
114
- label: z.ZodString;
115
- value: z.ZodNumber;
116
- }, "strip", z.ZodTypeAny, {
117
- value: number;
118
- label: string;
119
- }, {
120
- value: number;
121
- label: string;
122
- }>, "many">;
123
- }, "strip", z.ZodTypeAny, {
124
- options: {
125
- value: number;
126
- label: string;
127
- }[];
128
- label: string;
129
- }, {
130
- options: {
131
- value: number;
132
- label: string;
133
- }[];
134
- label: string;
135
- }>>;
136
- }, "strip", z.ZodTypeAny, {
137
- impact?: {
138
- options: {
139
- value: number;
140
- label: string;
141
- }[];
142
- label: string;
143
- } | undefined;
144
- quality?: {
145
- options: {
146
- value: number;
147
- label: string;
148
- }[];
149
- label: string;
150
- } | undefined;
151
- }, {
152
- impact?: {
153
- options: {
154
- value: number;
155
- label: string;
156
- }[];
157
- label: string;
158
- } | undefined;
159
- quality?: {
160
- options: {
161
- value: number;
162
- label: string;
163
- }[];
164
- label: string;
165
- } | undefined;
166
- }>>;
167
- }, "strip", z.ZodTypeAny, {
168
- classification?: {
169
- impact?: {
170
- options: {
171
- value: number;
172
- label: string;
173
- }[];
174
- label: string;
175
- } | undefined;
176
- quality?: {
177
- options: {
178
- value: number;
179
- label: string;
180
- }[];
181
- label: string;
182
- } | undefined;
183
- } | undefined;
184
- }, {
185
- classification?: {
186
- impact?: {
187
- options: {
188
- value: number;
189
- label: string;
190
- }[];
191
- label: string;
192
- } | undefined;
193
- quality?: {
194
- options: {
195
- value: number;
196
- label: string;
197
- }[];
198
- label: string;
199
- } | undefined;
200
- } | undefined;
201
- }>;
202
- export type ClassificationConfig = z.infer<typeof classificationConfigSchema>;
203
- export type ClassificationResponse = z.infer<typeof classificationResponseSchema>;
204
- export declare const menuItemSchema: z.ZodObject<{
205
- label: z.ZodString;
206
- icon: z.ZodString;
207
- url: z.ZodString;
208
- target: z.ZodString;
209
- }, "strip", z.ZodTypeAny, {
210
- url: string;
211
- label: string;
212
- icon: string;
213
- target: string;
214
- }, {
215
- url: string;
216
- label: string;
217
- icon: string;
218
- target: string;
219
- }>;
220
- export declare const chatConfigSchema: z.ZodObject<{
221
- menu: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
222
- label: z.ZodString;
223
- icon: z.ZodString;
224
- url: z.ZodString;
225
- target: z.ZodString;
226
- }, "strip", z.ZodTypeAny, {
227
- url: string;
228
- label: string;
229
- icon: string;
230
- target: string;
231
- }, {
232
- url: string;
233
- label: string;
234
- icon: string;
235
- target: string;
236
- }>, "many">>>;
237
- supportedLanguages: z.ZodOptional<z.ZodArray<z.ZodEnum<["en", "de", "fr", "it"]>, "many">>;
238
- classification: z.ZodOptional<z.ZodObject<{
239
- impact: z.ZodOptional<z.ZodObject<{
240
- label: z.ZodString;
241
- options: z.ZodArray<z.ZodObject<{
242
- label: z.ZodString;
243
- value: z.ZodNumber;
244
- }, "strip", z.ZodTypeAny, {
245
- value: number;
246
- label: string;
247
- }, {
248
- value: number;
249
- label: string;
250
- }>, "many">;
251
- }, "strip", z.ZodTypeAny, {
252
- options: {
253
- value: number;
254
- label: string;
255
- }[];
256
- label: string;
257
- }, {
258
- options: {
259
- value: number;
260
- label: string;
261
- }[];
262
- label: string;
263
- }>>;
264
- quality: z.ZodOptional<z.ZodObject<{
265
- label: z.ZodString;
266
- options: z.ZodArray<z.ZodObject<{
267
- label: z.ZodString;
268
- value: z.ZodNumber;
269
- }, "strip", z.ZodTypeAny, {
270
- value: number;
271
- label: string;
272
- }, {
273
- value: number;
274
- label: string;
275
- }>, "many">;
276
- }, "strip", z.ZodTypeAny, {
277
- options: {
278
- value: number;
279
- label: string;
280
- }[];
281
- label: string;
282
- }, {
283
- options: {
284
- value: number;
285
- label: string;
286
- }[];
287
- label: string;
288
- }>>;
289
- }, "strip", z.ZodTypeAny, {
290
- impact?: {
291
- options: {
292
- value: number;
293
- label: string;
294
- }[];
295
- label: string;
296
- } | undefined;
297
- quality?: {
298
- options: {
299
- value: number;
300
- label: string;
301
- }[];
302
- label: string;
303
- } | undefined;
304
- }, {
305
- impact?: {
306
- options: {
307
- value: number;
308
- label: string;
309
- }[];
310
- label: string;
311
- } | undefined;
312
- quality?: {
313
- options: {
314
- value: number;
315
- label: string;
316
- }[];
317
- label: string;
318
- } | undefined;
319
- }>>;
320
- theme: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
321
- name: z.ZodString;
322
- }, "strip", z.ZodTypeAny, {
323
- name: string;
324
- }, {
325
- name: string;
326
- }>, z.ZodObject<{
327
- colors: z.ZodObject<{
328
- brand: z.ZodUnion<[z.ZodObject<{
329
- '50': z.ZodString;
330
- '100': z.ZodString;
331
- '200': z.ZodString;
332
- '300': z.ZodString;
333
- '400': z.ZodString;
334
- '500': z.ZodString;
335
- '600': z.ZodString;
336
- '700': z.ZodString;
337
- '800': z.ZodString;
338
- '900': z.ZodString;
339
- '950': z.ZodString;
340
- }, "strip", z.ZodTypeAny, {
341
- '50': string;
342
- '100': string;
343
- '200': string;
344
- '300': string;
345
- '400': string;
346
- '500': string;
347
- '600': string;
348
- '700': string;
349
- '800': string;
350
- '900': string;
351
- '950': string;
352
- }, {
353
- '50': string;
354
- '100': string;
355
- '200': string;
356
- '300': string;
357
- '400': string;
358
- '500': string;
359
- '600': string;
360
- '700': string;
361
- '800': string;
362
- '900': string;
363
- '950': string;
364
- }>, z.ZodEnum<["slate", "gray", "zinc", "neutral", "stone", "red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "pink", "rose"]>]>;
365
- highlight: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
366
- '50': z.ZodString;
367
- '100': z.ZodString;
368
- '200': z.ZodString;
369
- '300': z.ZodString;
370
- '400': z.ZodString;
371
- '500': z.ZodString;
372
- '600': z.ZodString;
373
- '700': z.ZodString;
374
- '800': z.ZodString;
375
- '900': z.ZodString;
376
- '950': z.ZodString;
377
- }, "strip", z.ZodTypeAny, {
378
- '50': string;
379
- '100': string;
380
- '200': string;
381
- '300': string;
382
- '400': string;
383
- '500': string;
384
- '600': string;
385
- '700': string;
386
- '800': string;
387
- '900': string;
388
- '950': string;
389
- }, {
390
- '50': string;
391
- '100': string;
392
- '200': string;
393
- '300': string;
394
- '400': string;
395
- '500': string;
396
- '600': string;
397
- '700': string;
398
- '800': string;
399
- '900': string;
400
- '950': string;
401
- }>, z.ZodEnum<["slate", "gray", "zinc", "neutral", "stone", "red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "pink", "rose"]>]>>;
402
- grey: z.ZodOptional<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
403
- '50': z.ZodString;
404
- '100': z.ZodString;
405
- '200': z.ZodString;
406
- '300': z.ZodString;
407
- '400': z.ZodString;
408
- '500': z.ZodString;
409
- '600': z.ZodString;
410
- '700': z.ZodString;
411
- '800': z.ZodString;
412
- '900': z.ZodString;
413
- '950': z.ZodString;
414
- }, "strip", z.ZodTypeAny, {
415
- '50': string;
416
- '100': string;
417
- '200': string;
418
- '300': string;
419
- '400': string;
420
- '500': string;
421
- '600': string;
422
- '700': string;
423
- '800': string;
424
- '900': string;
425
- '950': string;
426
- }, {
427
- '50': string;
428
- '100': string;
429
- '200': string;
430
- '300': string;
431
- '400': string;
432
- '500': string;
433
- '600': string;
434
- '700': string;
435
- '800': string;
436
- '900': string;
437
- '950': string;
438
- }>, z.ZodObject<{
439
- '0': z.ZodString;
440
- '1000': z.ZodString;
441
- }, "strip", z.ZodTypeAny, {
442
- '0': string;
443
- '1000': string;
444
- }, {
445
- '0': string;
446
- '1000': string;
447
- }>>, z.ZodEnum<["slate", "gray", "zinc", "neutral", "stone", "red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "pink", "rose"]>]>>;
448
- background: z.ZodOptional<z.ZodString>;
449
- text: z.ZodOptional<z.ZodString>;
450
- anchor: z.ZodOptional<z.ZodObject<{
451
- default: z.ZodOptional<z.ZodString>;
452
- hover: z.ZodOptional<z.ZodString>;
453
- }, "strip", z.ZodTypeAny, {
454
- hover?: string | undefined;
455
- default?: string | undefined;
456
- }, {
457
- hover?: string | undefined;
458
- default?: string | undefined;
459
- }>>;
460
- }, "strip", z.ZodTypeAny, {
461
- brand: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
462
- '50': string;
463
- '100': string;
464
- '200': string;
465
- '300': string;
466
- '400': string;
467
- '500': string;
468
- '600': string;
469
- '700': string;
470
- '800': string;
471
- '900': string;
472
- '950': string;
473
- };
474
- background?: string | undefined;
475
- highlight?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
476
- '50': string;
477
- '100': string;
478
- '200': string;
479
- '300': string;
480
- '400': string;
481
- '500': string;
482
- '600': string;
483
- '700': string;
484
- '800': string;
485
- '900': string;
486
- '950': string;
487
- } | undefined;
488
- grey?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | ({
489
- '50': string;
490
- '100': string;
491
- '200': string;
492
- '300': string;
493
- '400': string;
494
- '500': string;
495
- '600': string;
496
- '700': string;
497
- '800': string;
498
- '900': string;
499
- '950': string;
500
- } & {
501
- '0': string;
502
- '1000': string;
503
- }) | undefined;
504
- anchor?: {
505
- hover?: string | undefined;
506
- default?: string | undefined;
507
- } | undefined;
508
- text?: string | undefined;
509
- }, {
510
- brand: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
511
- '50': string;
512
- '100': string;
513
- '200': string;
514
- '300': string;
515
- '400': string;
516
- '500': string;
517
- '600': string;
518
- '700': string;
519
- '800': string;
520
- '900': string;
521
- '950': string;
522
- };
523
- background?: string | undefined;
524
- highlight?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
525
- '50': string;
526
- '100': string;
527
- '200': string;
528
- '300': string;
529
- '400': string;
530
- '500': string;
531
- '600': string;
532
- '700': string;
533
- '800': string;
534
- '900': string;
535
- '950': string;
536
- } | undefined;
537
- grey?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | ({
538
- '50': string;
539
- '100': string;
540
- '200': string;
541
- '300': string;
542
- '400': string;
543
- '500': string;
544
- '600': string;
545
- '700': string;
546
- '800': string;
547
- '900': string;
548
- '950': string;
549
- } & {
550
- '0': string;
551
- '1000': string;
552
- }) | undefined;
553
- anchor?: {
554
- hover?: string | undefined;
555
- default?: string | undefined;
556
- } | undefined;
557
- text?: string | undefined;
558
- }>;
559
- font: z.ZodOptional<z.ZodObject<{
560
- size: z.ZodOptional<z.ZodObject<{
561
- minRem: z.ZodNumber;
562
- maxRem: z.ZodNumber;
563
- }, "strip", z.ZodTypeAny, {
564
- minRem: number;
565
- maxRem: number;
566
- }, {
567
- minRem: number;
568
- maxRem: number;
569
- }>>;
570
- family: z.ZodOptional<z.ZodString>;
571
- urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
572
- }, "strip", z.ZodTypeAny, {
573
- family?: string | undefined;
574
- size?: {
575
- minRem: number;
576
- maxRem: number;
577
- } | undefined;
578
- urls?: string[] | undefined;
579
- }, {
580
- family?: string | undefined;
581
- size?: {
582
- minRem: number;
583
- maxRem: number;
584
- } | undefined;
585
- urls?: string[] | undefined;
586
- }>>;
587
- borderRadius: z.ZodOptional<z.ZodObject<{
588
- minRem: z.ZodNumber;
589
- maxRem: z.ZodNumber;
590
- }, "strip", z.ZodTypeAny, {
591
- minRem: number;
592
- maxRem: number;
593
- }, {
594
- minRem: number;
595
- maxRem: number;
596
- }>>;
597
- }, "strip", z.ZodTypeAny, {
598
- colors: {
599
- brand: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
600
- '50': string;
601
- '100': string;
602
- '200': string;
603
- '300': string;
604
- '400': string;
605
- '500': string;
606
- '600': string;
607
- '700': string;
608
- '800': string;
609
- '900': string;
610
- '950': string;
611
- };
612
- background?: string | undefined;
613
- highlight?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
614
- '50': string;
615
- '100': string;
616
- '200': string;
617
- '300': string;
618
- '400': string;
619
- '500': string;
620
- '600': string;
621
- '700': string;
622
- '800': string;
623
- '900': string;
624
- '950': string;
625
- } | undefined;
626
- grey?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | ({
627
- '50': string;
628
- '100': string;
629
- '200': string;
630
- '300': string;
631
- '400': string;
632
- '500': string;
633
- '600': string;
634
- '700': string;
635
- '800': string;
636
- '900': string;
637
- '950': string;
638
- } & {
639
- '0': string;
640
- '1000': string;
641
- }) | undefined;
642
- anchor?: {
643
- hover?: string | undefined;
644
- default?: string | undefined;
645
- } | undefined;
646
- text?: string | undefined;
647
- };
648
- borderRadius?: {
649
- minRem: number;
650
- maxRem: number;
651
- } | undefined;
652
- font?: {
653
- family?: string | undefined;
654
- size?: {
655
- minRem: number;
656
- maxRem: number;
657
- } | undefined;
658
- urls?: string[] | undefined;
659
- } | undefined;
660
- }, {
661
- colors: {
662
- brand: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
663
- '50': string;
664
- '100': string;
665
- '200': string;
666
- '300': string;
667
- '400': string;
668
- '500': string;
669
- '600': string;
670
- '700': string;
671
- '800': string;
672
- '900': string;
673
- '950': string;
674
- };
675
- background?: string | undefined;
676
- highlight?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
677
- '50': string;
678
- '100': string;
679
- '200': string;
680
- '300': string;
681
- '400': string;
682
- '500': string;
683
- '600': string;
684
- '700': string;
685
- '800': string;
686
- '900': string;
687
- '950': string;
688
- } | undefined;
689
- grey?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | ({
690
- '50': string;
691
- '100': string;
692
- '200': string;
693
- '300': string;
694
- '400': string;
695
- '500': string;
696
- '600': string;
697
- '700': string;
698
- '800': string;
699
- '900': string;
700
- '950': string;
701
- } & {
702
- '0': string;
703
- '1000': string;
704
- }) | undefined;
705
- anchor?: {
706
- hover?: string | undefined;
707
- default?: string | undefined;
708
- } | undefined;
709
- text?: string | undefined;
710
- };
711
- borderRadius?: {
712
- minRem: number;
713
- maxRem: number;
714
- } | undefined;
715
- font?: {
716
- family?: string | undefined;
717
- size?: {
718
- minRem: number;
719
- maxRem: number;
720
- } | undefined;
721
- urls?: string[] | undefined;
722
- } | undefined;
723
- }>]>>;
724
- }, "strip", z.ZodTypeAny, {
725
- menu?: Record<string, {
726
- url: string;
727
- label: string;
728
- icon: string;
729
- target: string;
730
- }[]> | undefined;
731
- theme?: {
732
- colors: {
733
- brand: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
734
- '50': string;
735
- '100': string;
736
- '200': string;
737
- '300': string;
738
- '400': string;
739
- '500': string;
740
- '600': string;
741
- '700': string;
742
- '800': string;
743
- '900': string;
744
- '950': string;
745
- };
746
- background?: string | undefined;
747
- highlight?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
748
- '50': string;
749
- '100': string;
750
- '200': string;
751
- '300': string;
752
- '400': string;
753
- '500': string;
754
- '600': string;
755
- '700': string;
756
- '800': string;
757
- '900': string;
758
- '950': string;
759
- } | undefined;
760
- grey?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | ({
761
- '50': string;
762
- '100': string;
763
- '200': string;
764
- '300': string;
765
- '400': string;
766
- '500': string;
767
- '600': string;
768
- '700': string;
769
- '800': string;
770
- '900': string;
771
- '950': string;
772
- } & {
773
- '0': string;
774
- '1000': string;
775
- }) | undefined;
776
- anchor?: {
777
- hover?: string | undefined;
778
- default?: string | undefined;
779
- } | undefined;
780
- text?: string | undefined;
781
- };
782
- borderRadius?: {
783
- minRem: number;
784
- maxRem: number;
785
- } | undefined;
786
- font?: {
787
- family?: string | undefined;
788
- size?: {
789
- minRem: number;
790
- maxRem: number;
791
- } | undefined;
792
- urls?: string[] | undefined;
793
- } | undefined;
794
- } | {
795
- name: string;
796
- } | undefined;
797
- classification?: {
798
- impact?: {
799
- options: {
800
- value: number;
801
- label: string;
802
- }[];
803
- label: string;
804
- } | undefined;
805
- quality?: {
806
- options: {
807
- value: number;
808
- label: string;
809
- }[];
810
- label: string;
811
- } | undefined;
812
- } | undefined;
813
- supportedLanguages?: ("en" | "de" | "fr" | "it")[] | undefined;
814
- }, {
815
- menu?: Record<string, {
816
- url: string;
817
- label: string;
818
- icon: string;
819
- target: string;
820
- }[]> | undefined;
821
- theme?: {
822
- colors: {
823
- brand: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
824
- '50': string;
825
- '100': string;
826
- '200': string;
827
- '300': string;
828
- '400': string;
829
- '500': string;
830
- '600': string;
831
- '700': string;
832
- '800': string;
833
- '900': string;
834
- '950': string;
835
- };
836
- background?: string | undefined;
837
- highlight?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | {
838
- '50': string;
839
- '100': string;
840
- '200': string;
841
- '300': string;
842
- '400': string;
843
- '500': string;
844
- '600': string;
845
- '700': string;
846
- '800': string;
847
- '900': string;
848
- '950': string;
849
- } | undefined;
850
- grey?: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | ({
851
- '50': string;
852
- '100': string;
853
- '200': string;
854
- '300': string;
855
- '400': string;
856
- '500': string;
857
- '600': string;
858
- '700': string;
859
- '800': string;
860
- '900': string;
861
- '950': string;
862
- } & {
863
- '0': string;
864
- '1000': string;
865
- }) | undefined;
866
- anchor?: {
867
- hover?: string | undefined;
868
- default?: string | undefined;
869
- } | undefined;
870
- text?: string | undefined;
871
- };
872
- borderRadius?: {
873
- minRem: number;
874
- maxRem: number;
875
- } | undefined;
876
- font?: {
877
- family?: string | undefined;
878
- size?: {
879
- minRem: number;
880
- maxRem: number;
881
- } | undefined;
882
- urls?: string[] | undefined;
883
- } | undefined;
884
- } | {
885
- name: string;
886
- } | undefined;
887
- classification?: {
888
- impact?: {
889
- options: {
890
- value: number;
891
- label: string;
892
- }[];
893
- label: string;
894
- } | undefined;
895
- quality?: {
896
- options: {
897
- value: number;
898
- label: string;
899
- }[];
900
- label: string;
901
- } | undefined;
902
- } | undefined;
903
- supportedLanguages?: ("en" | "de" | "fr" | "it")[] | undefined;
904
- }>;
905
- export declare const predefinedQuestionSchema: z.ZodObject<{
906
- label: z.ZodNullable<z.ZodString>;
907
- question: z.ZodString;
908
- }, "strip", z.ZodTypeAny, {
909
- label: string | null;
910
- question: string;
911
- }, {
912
- label: string | null;
913
- question: string;
914
- }>;
915
- export declare const predefinedQuestionsResponseSchema: z.ZodObject<{
916
- predefinedQuestions: z.ZodArray<z.ZodObject<{
917
- label: z.ZodNullable<z.ZodString>;
918
- question: z.ZodString;
919
- }, "strip", z.ZodTypeAny, {
920
- label: string | null;
921
- question: string;
922
- }, {
923
- label: string | null;
924
- question: string;
925
- }>, "many">;
926
- }, "strip", z.ZodTypeAny, {
927
- predefinedQuestions: {
928
- label: string | null;
929
- question: string;
930
- }[];
931
- }, {
932
- predefinedQuestions: {
933
- label: string | null;
934
- question: string;
935
- }[];
936
- }>;
937
- export declare const userDataResponseSchema: z.ZodUnion<[z.ZodObject<{
938
- maintenance: z.ZodLiteral<true>;
939
- }, "strip", z.ZodTypeAny, {
940
- maintenance: true;
941
- }, {
942
- maintenance: true;
943
- }>, z.ZodObject<{
944
- id: z.ZodString;
945
- cID: z.ZodString;
946
- }, "strip", z.ZodTypeAny, {
947
- id: string;
948
- cID: string;
949
- }, {
950
- id: string;
951
- cID: string;
952
- }>]>;
953
- export type MenuItem = z.infer<typeof menuItemSchema>;
954
- export type ChatConfig = z.infer<typeof chatConfigSchema>;
955
- export type PredefinedQuestion = z.infer<typeof predefinedQuestionSchema>;
956
- export type PredefinedQuestionsResponse = z.infer<typeof predefinedQuestionsResponseSchema>;
957
- export type UserDataResponse = z.infer<typeof userDataResponseSchema>;