@voiceflow/dtos-interact 1.7.0 → 1.9.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.
- package/build/cjs/main.d.ts +3 -3
- package/build/cjs/main.d.ts.map +1 -1
- package/build/cjs/main.js +3 -3
- package/build/cjs/main.js.map +1 -1
- package/build/cjs/request/any-request.dto.d.ts +37 -37
- package/build/cjs/request/event-request.dto.d.ts +8 -8
- package/build/cjs/request/general/path-request.dto.d.ts +9 -9
- package/build/cjs/request/intent/alexa-intent-request.dto.d.ts +9 -9
- package/build/cjs/request/intent/general-intent-request.dto.d.ts +9 -9
- package/build/cjs/request/intent/intent-request.dto.d.ts +8 -8
- package/build/cjs/trace/any.dto.d.ts +56 -56
- package/build/cjs/trace/card.dto.d.ts +20 -20
- package/build/cjs/trace/carousel.dto.d.ts +50 -50
- package/build/cjs/trace/entity-filling.dto.d.ts +9 -9
- package/build/cjs/widget-settings/widget-settings.constant.d.ts +16 -0
- package/build/cjs/widget-settings/widget-settings.constant.d.ts.map +1 -0
- package/build/cjs/widget-settings/widget-settings.constant.js +69 -0
- package/build/cjs/widget-settings/widget-settings.constant.js.map +1 -0
- package/build/cjs/{chat-settings/chat-settings.dto.d.ts → widget-settings/widget-settings.dto.d.ts} +89 -89
- package/build/cjs/widget-settings/widget-settings.dto.d.ts.map +1 -0
- package/build/cjs/widget-settings/widget-settings.dto.js +85 -0
- package/build/cjs/widget-settings/widget-settings.dto.js.map +1 -0
- package/build/cjs/widget-settings/widget-settings.enum.d.ts +30 -0
- package/build/cjs/widget-settings/widget-settings.enum.d.ts.map +1 -0
- package/build/cjs/widget-settings/widget-settings.enum.js +27 -0
- package/build/cjs/widget-settings/widget-settings.enum.js.map +1 -0
- package/build/esm/main.d.ts +3 -3
- package/build/esm/main.d.ts.map +1 -1
- package/build/esm/main.js +3 -3
- package/build/esm/main.js.map +1 -1
- package/build/esm/request/any-request.dto.d.ts +37 -37
- package/build/esm/request/event-request.dto.d.ts +8 -8
- package/build/esm/request/general/path-request.dto.d.ts +9 -9
- package/build/esm/request/intent/alexa-intent-request.dto.d.ts +9 -9
- package/build/esm/request/intent/general-intent-request.dto.d.ts +9 -9
- package/build/esm/request/intent/intent-request.dto.d.ts +8 -8
- package/build/esm/trace/any.dto.d.ts +56 -56
- package/build/esm/trace/card.dto.d.ts +20 -20
- package/build/esm/trace/carousel.dto.d.ts +50 -50
- package/build/esm/trace/entity-filling.dto.d.ts +9 -9
- package/build/esm/widget-settings/widget-settings.constant.d.ts +16 -0
- package/build/esm/widget-settings/widget-settings.constant.d.ts.map +1 -0
- package/build/esm/widget-settings/widget-settings.constant.js +66 -0
- package/build/esm/widget-settings/widget-settings.constant.js.map +1 -0
- package/build/esm/{chat-settings/chat-settings.dto.d.ts → widget-settings/widget-settings.dto.d.ts} +89 -89
- package/build/esm/widget-settings/widget-settings.dto.d.ts.map +1 -0
- package/build/esm/widget-settings/widget-settings.dto.js +82 -0
- package/build/esm/widget-settings/widget-settings.dto.js.map +1 -0
- package/build/esm/widget-settings/widget-settings.enum.d.ts +30 -0
- package/build/esm/widget-settings/widget-settings.enum.d.ts.map +1 -0
- package/build/esm/{chat-settings/chat-settings.enum.js → widget-settings/widget-settings.enum.js} +6 -6
- package/build/esm/widget-settings/widget-settings.enum.js.map +1 -0
- package/package.json +2 -2
- package/build/cjs/chat-settings/chat-settings.constant.d.ts +0 -14
- package/build/cjs/chat-settings/chat-settings.constant.d.ts.map +0 -1
- package/build/cjs/chat-settings/chat-settings.constant.js +0 -17
- package/build/cjs/chat-settings/chat-settings.constant.js.map +0 -1
- package/build/cjs/chat-settings/chat-settings.dto.d.ts.map +0 -1
- package/build/cjs/chat-settings/chat-settings.dto.js +0 -85
- package/build/cjs/chat-settings/chat-settings.dto.js.map +0 -1
- package/build/cjs/chat-settings/chat-settings.enum.d.ts +0 -30
- package/build/cjs/chat-settings/chat-settings.enum.d.ts.map +0 -1
- package/build/cjs/chat-settings/chat-settings.enum.js +0 -27
- package/build/cjs/chat-settings/chat-settings.enum.js.map +0 -1
- package/build/esm/chat-settings/chat-settings.constant.d.ts +0 -14
- package/build/esm/chat-settings/chat-settings.constant.d.ts.map +0 -1
- package/build/esm/chat-settings/chat-settings.constant.js +0 -14
- package/build/esm/chat-settings/chat-settings.constant.js.map +0 -1
- package/build/esm/chat-settings/chat-settings.dto.d.ts.map +0 -1
- package/build/esm/chat-settings/chat-settings.dto.js +0 -82
- package/build/esm/chat-settings/chat-settings.dto.js.map +0 -1
- package/build/esm/chat-settings/chat-settings.enum.d.ts +0 -30
- package/build/esm/chat-settings/chat-settings.enum.d.ts.map +0 -1
- package/build/esm/chat-settings/chat-settings.enum.js.map +0 -1
package/build/cjs/{chat-settings/chat-settings.dto.d.ts → widget-settings/widget-settings.dto.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const WidgetSettingsColorPaletteDTO: z.ZodObject<{
|
|
3
3
|
50: z.ZodString;
|
|
4
4
|
100: z.ZodString;
|
|
5
5
|
200: z.ZodString;
|
|
@@ -33,8 +33,8 @@ export declare const ChatSettingsColorPaletteDTO: z.ZodObject<{
|
|
|
33
33
|
800: string;
|
|
34
34
|
900: string;
|
|
35
35
|
}>;
|
|
36
|
-
export type
|
|
37
|
-
export declare const
|
|
36
|
+
export type WidgetSettingsColorPalette = z.infer<typeof WidgetSettingsColorPaletteDTO>;
|
|
37
|
+
export declare const WidgetSettingsChatSettingsHeaderImageDTO: z.ZodObject<{
|
|
38
38
|
enabled: z.ZodBoolean;
|
|
39
39
|
url: z.ZodOptional<z.ZodString>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -44,8 +44,8 @@ export declare const ChatSettingsChatSettingsHeaderImageDTO: z.ZodObject<{
|
|
|
44
44
|
enabled: boolean;
|
|
45
45
|
url?: string | undefined;
|
|
46
46
|
}>;
|
|
47
|
-
export type
|
|
48
|
-
export declare const
|
|
47
|
+
export type WidgetSettingsChatSettingsHeaderImage = z.infer<typeof WidgetSettingsChatSettingsHeaderImageDTO>;
|
|
48
|
+
export declare const WidgetSettingsChatSettingsAgentImageDTO: z.ZodObject<{
|
|
49
49
|
enabled: z.ZodBoolean;
|
|
50
50
|
url: z.ZodOptional<z.ZodString>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -55,36 +55,36 @@ export declare const ChatSettingsChatSettingsAgentImageDTO: z.ZodObject<{
|
|
|
55
55
|
enabled: boolean;
|
|
56
56
|
url?: string | undefined;
|
|
57
57
|
}>;
|
|
58
|
-
export type
|
|
59
|
-
export declare const
|
|
58
|
+
export type WidgetSettingsChatSettingsAgentImage = z.infer<typeof WidgetSettingsChatSettingsAgentImageDTO>;
|
|
59
|
+
export declare const WidgetSettingsChatSettingsBannerDTO: z.ZodObject<{
|
|
60
60
|
title: z.ZodString;
|
|
61
61
|
description: z.ZodString;
|
|
62
62
|
enabled: z.ZodBoolean;
|
|
63
63
|
imageURL: z.ZodOptional<z.ZodString>;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
enabled: boolean;
|
|
66
65
|
title: string;
|
|
67
66
|
description: string;
|
|
67
|
+
enabled: boolean;
|
|
68
68
|
imageURL?: string | undefined;
|
|
69
69
|
}, {
|
|
70
|
-
enabled: boolean;
|
|
71
70
|
title: string;
|
|
72
71
|
description: string;
|
|
72
|
+
enabled: boolean;
|
|
73
73
|
imageURL?: string | undefined;
|
|
74
74
|
}>;
|
|
75
|
-
export type
|
|
76
|
-
export declare const
|
|
75
|
+
export type WidgetSettingsChatSettingsBanner = z.infer<typeof WidgetSettingsChatSettingsBannerDTO>;
|
|
76
|
+
export declare const WidgetSettingsChatSettingsAIDisclaimerDTO: z.ZodObject<{
|
|
77
77
|
text: z.ZodString;
|
|
78
78
|
enabled: z.ZodBoolean;
|
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
|
-
enabled: boolean;
|
|
81
80
|
text: string;
|
|
82
|
-
}, {
|
|
83
81
|
enabled: boolean;
|
|
82
|
+
}, {
|
|
84
83
|
text: string;
|
|
84
|
+
enabled: boolean;
|
|
85
85
|
}>;
|
|
86
|
-
export type
|
|
87
|
-
export declare const
|
|
86
|
+
export type WidgetSettingsChatSettingsAIDisclaimer = z.infer<typeof WidgetSettingsChatSettingsAIDisclaimerDTO>;
|
|
87
|
+
export declare const WidgetSettingsChatSettingsDTO: z.ZodObject<{
|
|
88
88
|
voiceInput: z.ZodBoolean;
|
|
89
89
|
voiceOutput: z.ZodBoolean;
|
|
90
90
|
renderMode: z.ZodNativeEnum<{
|
|
@@ -118,14 +118,14 @@ export declare const ChatSettingsChatSettingsDTO: z.ZodObject<{
|
|
|
118
118
|
enabled: z.ZodBoolean;
|
|
119
119
|
imageURL: z.ZodOptional<z.ZodString>;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
|
-
enabled: boolean;
|
|
122
121
|
title: string;
|
|
123
122
|
description: string;
|
|
123
|
+
enabled: boolean;
|
|
124
124
|
imageURL?: string | undefined;
|
|
125
125
|
}, {
|
|
126
|
-
enabled: boolean;
|
|
127
126
|
title: string;
|
|
128
127
|
description: string;
|
|
128
|
+
enabled: boolean;
|
|
129
129
|
imageURL?: string | undefined;
|
|
130
130
|
}>;
|
|
131
131
|
placeholderText: z.ZodString;
|
|
@@ -133,11 +133,11 @@ export declare const ChatSettingsChatSettingsDTO: z.ZodObject<{
|
|
|
133
133
|
text: z.ZodString;
|
|
134
134
|
enabled: z.ZodBoolean;
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
enabled: boolean;
|
|
137
136
|
text: string;
|
|
138
|
-
}, {
|
|
139
137
|
enabled: boolean;
|
|
138
|
+
}, {
|
|
140
139
|
text: string;
|
|
140
|
+
enabled: boolean;
|
|
141
141
|
}>;
|
|
142
142
|
handoffToAgentImageURL: z.ZodOptional<z.ZodString>;
|
|
143
143
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -153,15 +153,15 @@ export declare const ChatSettingsChatSettingsDTO: z.ZodObject<{
|
|
|
153
153
|
url?: string | undefined;
|
|
154
154
|
};
|
|
155
155
|
banner: {
|
|
156
|
-
enabled: boolean;
|
|
157
156
|
title: string;
|
|
158
157
|
description: string;
|
|
158
|
+
enabled: boolean;
|
|
159
159
|
imageURL?: string | undefined;
|
|
160
160
|
};
|
|
161
161
|
placeholderText: string;
|
|
162
162
|
aiDisclaimer: {
|
|
163
|
-
enabled: boolean;
|
|
164
163
|
text: string;
|
|
164
|
+
enabled: boolean;
|
|
165
165
|
};
|
|
166
166
|
handoffToAgentImageURL?: string | undefined;
|
|
167
167
|
}, {
|
|
@@ -177,20 +177,20 @@ export declare const ChatSettingsChatSettingsDTO: z.ZodObject<{
|
|
|
177
177
|
url?: string | undefined;
|
|
178
178
|
};
|
|
179
179
|
banner: {
|
|
180
|
-
enabled: boolean;
|
|
181
180
|
title: string;
|
|
182
181
|
description: string;
|
|
182
|
+
enabled: boolean;
|
|
183
183
|
imageURL?: string | undefined;
|
|
184
184
|
};
|
|
185
185
|
placeholderText: string;
|
|
186
186
|
aiDisclaimer: {
|
|
187
|
-
enabled: boolean;
|
|
188
187
|
text: string;
|
|
188
|
+
enabled: boolean;
|
|
189
189
|
};
|
|
190
190
|
handoffToAgentImageURL?: string | undefined;
|
|
191
191
|
}>;
|
|
192
|
-
export type
|
|
193
|
-
export declare const
|
|
192
|
+
export type WidgetSettingsChatSettings = z.infer<typeof WidgetSettingsChatSettingsDTO>;
|
|
193
|
+
export declare const WidgetSettingsVoiceSettingsContentDTO: z.ZodObject<{
|
|
194
194
|
imageURL: z.ZodOptional<z.ZodString>;
|
|
195
195
|
talkingText: z.ZodString;
|
|
196
196
|
endButtonText: z.ZodString;
|
|
@@ -212,8 +212,8 @@ export declare const ChatSettingsVoiceSettingsContentDTO: z.ZodObject<{
|
|
|
212
212
|
callToActionText: string;
|
|
213
213
|
imageURL?: string | undefined;
|
|
214
214
|
}>;
|
|
215
|
-
export type
|
|
216
|
-
export declare const
|
|
215
|
+
export type WidgetSettingsVoiceSettingsContent = z.infer<typeof WidgetSettingsVoiceSettingsContentDTO>;
|
|
216
|
+
export declare const WidgetSettingsVoiceSettingsDTO: z.ZodObject<{
|
|
217
217
|
renderMode: z.ZodNativeEnum<{
|
|
218
218
|
readonly FULL: "full";
|
|
219
219
|
readonly COMPACT: "compact";
|
|
@@ -242,7 +242,6 @@ export declare const ChatSettingsVoiceSettingsDTO: z.ZodObject<{
|
|
|
242
242
|
imageURL?: string | undefined;
|
|
243
243
|
}>;
|
|
244
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
renderMode: "full" | "compact" | "expand";
|
|
246
245
|
content: {
|
|
247
246
|
talkingText: string;
|
|
248
247
|
endButtonText: string;
|
|
@@ -251,8 +250,8 @@ export declare const ChatSettingsVoiceSettingsDTO: z.ZodObject<{
|
|
|
251
250
|
callToActionText: string;
|
|
252
251
|
imageURL?: string | undefined;
|
|
253
252
|
};
|
|
254
|
-
}, {
|
|
255
253
|
renderMode: "full" | "compact" | "expand";
|
|
254
|
+
}, {
|
|
256
255
|
content: {
|
|
257
256
|
talkingText: string;
|
|
258
257
|
endButtonText: string;
|
|
@@ -261,9 +260,10 @@ export declare const ChatSettingsVoiceSettingsDTO: z.ZodObject<{
|
|
|
261
260
|
callToActionText: string;
|
|
262
261
|
imageURL?: string | undefined;
|
|
263
262
|
};
|
|
263
|
+
renderMode: "full" | "compact" | "expand";
|
|
264
264
|
}>;
|
|
265
|
-
export type
|
|
266
|
-
export declare const
|
|
265
|
+
export type WidgetSettingsVoiceSettings = z.infer<typeof WidgetSettingsVoiceSettingsDTO>;
|
|
266
|
+
export declare const WidgetSettingsCommonSettingsLauncherDTO: z.ZodObject<{
|
|
267
267
|
type: z.ZodNativeEnum<{
|
|
268
268
|
readonly ICON: "icon";
|
|
269
269
|
readonly LABEL: "label";
|
|
@@ -272,16 +272,16 @@ export declare const ChatSettingsCommonSettingsLauncherDTO: z.ZodObject<{
|
|
|
272
272
|
text: z.ZodOptional<z.ZodString>;
|
|
273
273
|
imageURL: z.ZodOptional<z.ZodString>;
|
|
274
274
|
}, "strip", z.ZodTypeAny, {
|
|
275
|
-
type: "
|
|
275
|
+
type: "label" | "icon" | "both";
|
|
276
276
|
text?: string | undefined;
|
|
277
277
|
imageURL?: string | undefined;
|
|
278
278
|
}, {
|
|
279
|
-
type: "
|
|
279
|
+
type: "label" | "icon" | "both";
|
|
280
280
|
text?: string | undefined;
|
|
281
281
|
imageURL?: string | undefined;
|
|
282
282
|
}>;
|
|
283
|
-
export type
|
|
284
|
-
export declare const
|
|
283
|
+
export type WidgetSettingsCommonSettingsLauncher = z.infer<typeof WidgetSettingsCommonSettingsLauncherDTO>;
|
|
284
|
+
export declare const WidgetSettingsCommonSettingsFooterLinkDTO: z.ZodObject<{
|
|
285
285
|
enabled: z.ZodBoolean;
|
|
286
286
|
text: z.ZodOptional<z.ZodString>;
|
|
287
287
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -294,8 +294,8 @@ export declare const ChatSettingsCommonSettingsFooterLinkDTO: z.ZodObject<{
|
|
|
294
294
|
text?: string | undefined;
|
|
295
295
|
url?: string | undefined;
|
|
296
296
|
}>;
|
|
297
|
-
export type
|
|
298
|
-
export declare const
|
|
297
|
+
export type WidgetSettingsCommonSettingsFooterLink = z.infer<typeof WidgetSettingsCommonSettingsFooterLinkDTO>;
|
|
298
|
+
export declare const WidgetSettingsCommonSettingsDTO: z.ZodObject<{
|
|
299
299
|
sideSpacing: z.ZodString;
|
|
300
300
|
bottomSpacing: z.ZodString;
|
|
301
301
|
position: z.ZodNativeEnum<{
|
|
@@ -347,11 +347,11 @@ export declare const ChatSettingsCommonSettingsDTO: z.ZodObject<{
|
|
|
347
347
|
text: z.ZodOptional<z.ZodString>;
|
|
348
348
|
imageURL: z.ZodOptional<z.ZodString>;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
type: "
|
|
350
|
+
type: "label" | "icon" | "both";
|
|
351
351
|
text?: string | undefined;
|
|
352
352
|
imageURL?: string | undefined;
|
|
353
353
|
}, {
|
|
354
|
-
type: "
|
|
354
|
+
type: "label" | "icon" | "both";
|
|
355
355
|
text?: string | undefined;
|
|
356
356
|
imageURL?: string | undefined;
|
|
357
357
|
}>;
|
|
@@ -387,7 +387,7 @@ export declare const ChatSettingsCommonSettingsDTO: z.ZodObject<{
|
|
|
387
387
|
};
|
|
388
388
|
poweredBy: boolean;
|
|
389
389
|
launcher: {
|
|
390
|
-
type: "
|
|
390
|
+
type: "label" | "icon" | "both";
|
|
391
391
|
text?: string | undefined;
|
|
392
392
|
imageURL?: string | undefined;
|
|
393
393
|
};
|
|
@@ -415,7 +415,7 @@ export declare const ChatSettingsCommonSettingsDTO: z.ZodObject<{
|
|
|
415
415
|
};
|
|
416
416
|
poweredBy: boolean;
|
|
417
417
|
launcher: {
|
|
418
|
-
type: "
|
|
418
|
+
type: "label" | "icon" | "both";
|
|
419
419
|
text?: string | undefined;
|
|
420
420
|
imageURL?: string | undefined;
|
|
421
421
|
};
|
|
@@ -425,8 +425,8 @@ export declare const ChatSettingsCommonSettingsDTO: z.ZodObject<{
|
|
|
425
425
|
url?: string | undefined;
|
|
426
426
|
};
|
|
427
427
|
}>;
|
|
428
|
-
export type
|
|
429
|
-
export declare const
|
|
428
|
+
export type WidgetSettingsCommonSettings = z.infer<typeof WidgetSettingsCommonSettingsDTO>;
|
|
429
|
+
export declare const WidgetSettingsDTO: z.ZodObject<{
|
|
430
430
|
type: z.ZodNativeEnum<{
|
|
431
431
|
readonly CHAT: "chat";
|
|
432
432
|
readonly VOICE: "voice";
|
|
@@ -465,14 +465,14 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
465
465
|
enabled: z.ZodBoolean;
|
|
466
466
|
imageURL: z.ZodOptional<z.ZodString>;
|
|
467
467
|
}, "strip", z.ZodTypeAny, {
|
|
468
|
-
enabled: boolean;
|
|
469
468
|
title: string;
|
|
470
469
|
description: string;
|
|
470
|
+
enabled: boolean;
|
|
471
471
|
imageURL?: string | undefined;
|
|
472
472
|
}, {
|
|
473
|
-
enabled: boolean;
|
|
474
473
|
title: string;
|
|
475
474
|
description: string;
|
|
475
|
+
enabled: boolean;
|
|
476
476
|
imageURL?: string | undefined;
|
|
477
477
|
}>;
|
|
478
478
|
placeholderText: z.ZodString;
|
|
@@ -480,11 +480,11 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
480
480
|
text: z.ZodString;
|
|
481
481
|
enabled: z.ZodBoolean;
|
|
482
482
|
}, "strip", z.ZodTypeAny, {
|
|
483
|
-
enabled: boolean;
|
|
484
483
|
text: string;
|
|
485
|
-
}, {
|
|
486
484
|
enabled: boolean;
|
|
485
|
+
}, {
|
|
487
486
|
text: string;
|
|
487
|
+
enabled: boolean;
|
|
488
488
|
}>;
|
|
489
489
|
handoffToAgentImageURL: z.ZodOptional<z.ZodString>;
|
|
490
490
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -500,15 +500,15 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
500
500
|
url?: string | undefined;
|
|
501
501
|
};
|
|
502
502
|
banner: {
|
|
503
|
-
enabled: boolean;
|
|
504
503
|
title: string;
|
|
505
504
|
description: string;
|
|
505
|
+
enabled: boolean;
|
|
506
506
|
imageURL?: string | undefined;
|
|
507
507
|
};
|
|
508
508
|
placeholderText: string;
|
|
509
509
|
aiDisclaimer: {
|
|
510
|
-
enabled: boolean;
|
|
511
510
|
text: string;
|
|
511
|
+
enabled: boolean;
|
|
512
512
|
};
|
|
513
513
|
handoffToAgentImageURL?: string | undefined;
|
|
514
514
|
}, {
|
|
@@ -524,15 +524,15 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
524
524
|
url?: string | undefined;
|
|
525
525
|
};
|
|
526
526
|
banner: {
|
|
527
|
-
enabled: boolean;
|
|
528
527
|
title: string;
|
|
529
528
|
description: string;
|
|
529
|
+
enabled: boolean;
|
|
530
530
|
imageURL?: string | undefined;
|
|
531
531
|
};
|
|
532
532
|
placeholderText: string;
|
|
533
533
|
aiDisclaimer: {
|
|
534
|
-
enabled: boolean;
|
|
535
534
|
text: string;
|
|
535
|
+
enabled: boolean;
|
|
536
536
|
};
|
|
537
537
|
handoffToAgentImageURL?: string | undefined;
|
|
538
538
|
}>;
|
|
@@ -565,7 +565,6 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
565
565
|
imageURL?: string | undefined;
|
|
566
566
|
}>;
|
|
567
567
|
}, "strip", z.ZodTypeAny, {
|
|
568
|
-
renderMode: "full" | "compact" | "expand";
|
|
569
568
|
content: {
|
|
570
569
|
talkingText: string;
|
|
571
570
|
endButtonText: string;
|
|
@@ -574,8 +573,8 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
574
573
|
callToActionText: string;
|
|
575
574
|
imageURL?: string | undefined;
|
|
576
575
|
};
|
|
577
|
-
}, {
|
|
578
576
|
renderMode: "full" | "compact" | "expand";
|
|
577
|
+
}, {
|
|
579
578
|
content: {
|
|
580
579
|
talkingText: string;
|
|
581
580
|
endButtonText: string;
|
|
@@ -584,6 +583,7 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
584
583
|
callToActionText: string;
|
|
585
584
|
imageURL?: string | undefined;
|
|
586
585
|
};
|
|
586
|
+
renderMode: "full" | "compact" | "expand";
|
|
587
587
|
}>;
|
|
588
588
|
common: z.ZodObject<{
|
|
589
589
|
sideSpacing: z.ZodString;
|
|
@@ -637,11 +637,11 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
637
637
|
text: z.ZodOptional<z.ZodString>;
|
|
638
638
|
imageURL: z.ZodOptional<z.ZodString>;
|
|
639
639
|
}, "strip", z.ZodTypeAny, {
|
|
640
|
-
type: "
|
|
640
|
+
type: "label" | "icon" | "both";
|
|
641
641
|
text?: string | undefined;
|
|
642
642
|
imageURL?: string | undefined;
|
|
643
643
|
}, {
|
|
644
|
-
type: "
|
|
644
|
+
type: "label" | "icon" | "both";
|
|
645
645
|
text?: string | undefined;
|
|
646
646
|
imageURL?: string | undefined;
|
|
647
647
|
}>;
|
|
@@ -677,7 +677,7 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
677
677
|
};
|
|
678
678
|
poweredBy: boolean;
|
|
679
679
|
launcher: {
|
|
680
|
-
type: "
|
|
680
|
+
type: "label" | "icon" | "both";
|
|
681
681
|
text?: string | undefined;
|
|
682
682
|
imageURL?: string | undefined;
|
|
683
683
|
};
|
|
@@ -705,7 +705,7 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
705
705
|
};
|
|
706
706
|
poweredBy: boolean;
|
|
707
707
|
launcher: {
|
|
708
|
-
type: "
|
|
708
|
+
type: "label" | "icon" | "both";
|
|
709
709
|
text?: string | undefined;
|
|
710
710
|
imageURL?: string | undefined;
|
|
711
711
|
};
|
|
@@ -716,7 +716,18 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
716
716
|
};
|
|
717
717
|
}>;
|
|
718
718
|
}, "strip", z.ZodTypeAny, {
|
|
719
|
-
type: "
|
|
719
|
+
type: "voice" | "chat";
|
|
720
|
+
voice: {
|
|
721
|
+
content: {
|
|
722
|
+
talkingText: string;
|
|
723
|
+
endButtonText: string;
|
|
724
|
+
listeningText: string;
|
|
725
|
+
startButtonText: string;
|
|
726
|
+
callToActionText: string;
|
|
727
|
+
imageURL?: string | undefined;
|
|
728
|
+
};
|
|
729
|
+
renderMode: "full" | "compact" | "expand";
|
|
730
|
+
};
|
|
720
731
|
chat: {
|
|
721
732
|
voiceInput: boolean;
|
|
722
733
|
voiceOutput: boolean;
|
|
@@ -730,29 +741,18 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
730
741
|
url?: string | undefined;
|
|
731
742
|
};
|
|
732
743
|
banner: {
|
|
733
|
-
enabled: boolean;
|
|
734
744
|
title: string;
|
|
735
745
|
description: string;
|
|
746
|
+
enabled: boolean;
|
|
736
747
|
imageURL?: string | undefined;
|
|
737
748
|
};
|
|
738
749
|
placeholderText: string;
|
|
739
750
|
aiDisclaimer: {
|
|
740
|
-
enabled: boolean;
|
|
741
751
|
text: string;
|
|
752
|
+
enabled: boolean;
|
|
742
753
|
};
|
|
743
754
|
handoffToAgentImageURL?: string | undefined;
|
|
744
755
|
};
|
|
745
|
-
voice: {
|
|
746
|
-
renderMode: "full" | "compact" | "expand";
|
|
747
|
-
content: {
|
|
748
|
-
talkingText: string;
|
|
749
|
-
endButtonText: string;
|
|
750
|
-
listeningText: string;
|
|
751
|
-
startButtonText: string;
|
|
752
|
-
callToActionText: string;
|
|
753
|
-
imageURL?: string | undefined;
|
|
754
|
-
};
|
|
755
|
-
};
|
|
756
756
|
common: {
|
|
757
757
|
sideSpacing: string;
|
|
758
758
|
bottomSpacing: string;
|
|
@@ -772,7 +772,7 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
772
772
|
};
|
|
773
773
|
poweredBy: boolean;
|
|
774
774
|
launcher: {
|
|
775
|
-
type: "
|
|
775
|
+
type: "label" | "icon" | "both";
|
|
776
776
|
text?: string | undefined;
|
|
777
777
|
imageURL?: string | undefined;
|
|
778
778
|
};
|
|
@@ -783,7 +783,18 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
783
783
|
};
|
|
784
784
|
};
|
|
785
785
|
}, {
|
|
786
|
-
type: "
|
|
786
|
+
type: "voice" | "chat";
|
|
787
|
+
voice: {
|
|
788
|
+
content: {
|
|
789
|
+
talkingText: string;
|
|
790
|
+
endButtonText: string;
|
|
791
|
+
listeningText: string;
|
|
792
|
+
startButtonText: string;
|
|
793
|
+
callToActionText: string;
|
|
794
|
+
imageURL?: string | undefined;
|
|
795
|
+
};
|
|
796
|
+
renderMode: "full" | "compact" | "expand";
|
|
797
|
+
};
|
|
787
798
|
chat: {
|
|
788
799
|
voiceInput: boolean;
|
|
789
800
|
voiceOutput: boolean;
|
|
@@ -797,29 +808,18 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
797
808
|
url?: string | undefined;
|
|
798
809
|
};
|
|
799
810
|
banner: {
|
|
800
|
-
enabled: boolean;
|
|
801
811
|
title: string;
|
|
802
812
|
description: string;
|
|
813
|
+
enabled: boolean;
|
|
803
814
|
imageURL?: string | undefined;
|
|
804
815
|
};
|
|
805
816
|
placeholderText: string;
|
|
806
817
|
aiDisclaimer: {
|
|
807
|
-
enabled: boolean;
|
|
808
818
|
text: string;
|
|
819
|
+
enabled: boolean;
|
|
809
820
|
};
|
|
810
821
|
handoffToAgentImageURL?: string | undefined;
|
|
811
822
|
};
|
|
812
|
-
voice: {
|
|
813
|
-
renderMode: "full" | "compact" | "expand";
|
|
814
|
-
content: {
|
|
815
|
-
talkingText: string;
|
|
816
|
-
endButtonText: string;
|
|
817
|
-
listeningText: string;
|
|
818
|
-
startButtonText: string;
|
|
819
|
-
callToActionText: string;
|
|
820
|
-
imageURL?: string | undefined;
|
|
821
|
-
};
|
|
822
|
-
};
|
|
823
823
|
common: {
|
|
824
824
|
sideSpacing: string;
|
|
825
825
|
bottomSpacing: string;
|
|
@@ -839,7 +839,7 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
839
839
|
};
|
|
840
840
|
poweredBy: boolean;
|
|
841
841
|
launcher: {
|
|
842
|
-
type: "
|
|
842
|
+
type: "label" | "icon" | "both";
|
|
843
843
|
text?: string | undefined;
|
|
844
844
|
imageURL?: string | undefined;
|
|
845
845
|
};
|
|
@@ -850,5 +850,5 @@ export declare const ChatSettingsDTO: z.ZodObject<{
|
|
|
850
850
|
};
|
|
851
851
|
};
|
|
852
852
|
}>;
|
|
853
|
-
export type
|
|
854
|
-
//# sourceMappingURL=
|
|
853
|
+
export type WidgetSettings = z.infer<typeof WidgetSettingsDTO>;
|
|
854
|
+
//# sourceMappingURL=widget-settings.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-settings.dto.d.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;;;;;;;;;;;;;;;EAK5B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WidgetSettingsDTO = exports.WidgetSettingsCommonSettingsDTO = exports.WidgetSettingsCommonSettingsFooterLinkDTO = exports.WidgetSettingsCommonSettingsLauncherDTO = exports.WidgetSettingsVoiceSettingsDTO = exports.WidgetSettingsVoiceSettingsContentDTO = exports.WidgetSettingsChatSettingsDTO = exports.WidgetSettingsChatSettingsAIDisclaimerDTO = exports.WidgetSettingsChatSettingsBannerDTO = exports.WidgetSettingsChatSettingsAgentImageDTO = exports.WidgetSettingsChatSettingsHeaderImageDTO = exports.WidgetSettingsColorPaletteDTO = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const widget_settings_enum_1 = require("./widget-settings.enum");
|
|
6
|
+
exports.WidgetSettingsColorPaletteDTO = zod_1.z.object({
|
|
7
|
+
50: zod_1.z.string(),
|
|
8
|
+
100: zod_1.z.string(),
|
|
9
|
+
200: zod_1.z.string(),
|
|
10
|
+
300: zod_1.z.string(),
|
|
11
|
+
400: zod_1.z.string(),
|
|
12
|
+
500: zod_1.z.string(),
|
|
13
|
+
600: zod_1.z.string(),
|
|
14
|
+
700: zod_1.z.string(),
|
|
15
|
+
800: zod_1.z.string(),
|
|
16
|
+
900: zod_1.z.string(),
|
|
17
|
+
});
|
|
18
|
+
exports.WidgetSettingsChatSettingsHeaderImageDTO = zod_1.z.object({
|
|
19
|
+
enabled: zod_1.z.boolean(),
|
|
20
|
+
url: zod_1.z.string().optional(),
|
|
21
|
+
});
|
|
22
|
+
exports.WidgetSettingsChatSettingsAgentImageDTO = zod_1.z.object({
|
|
23
|
+
enabled: zod_1.z.boolean(),
|
|
24
|
+
url: zod_1.z.string().optional(),
|
|
25
|
+
});
|
|
26
|
+
exports.WidgetSettingsChatSettingsBannerDTO = zod_1.z.object({
|
|
27
|
+
title: zod_1.z.string(),
|
|
28
|
+
description: zod_1.z.string(),
|
|
29
|
+
enabled: zod_1.z.boolean(),
|
|
30
|
+
imageURL: zod_1.z.string().optional(),
|
|
31
|
+
});
|
|
32
|
+
exports.WidgetSettingsChatSettingsAIDisclaimerDTO = zod_1.z.object({
|
|
33
|
+
text: zod_1.z.string(),
|
|
34
|
+
enabled: zod_1.z.boolean(),
|
|
35
|
+
});
|
|
36
|
+
exports.WidgetSettingsChatSettingsDTO = zod_1.z.object({
|
|
37
|
+
voiceInput: zod_1.z.boolean(),
|
|
38
|
+
voiceOutput: zod_1.z.boolean(),
|
|
39
|
+
renderMode: zod_1.z.nativeEnum(widget_settings_enum_1.WidgetSettingsChatRenderMode),
|
|
40
|
+
headerImage: exports.WidgetSettingsChatSettingsHeaderImageDTO,
|
|
41
|
+
agentImage: exports.WidgetSettingsChatSettingsAgentImageDTO,
|
|
42
|
+
banner: exports.WidgetSettingsChatSettingsBannerDTO,
|
|
43
|
+
placeholderText: zod_1.z.string(),
|
|
44
|
+
aiDisclaimer: exports.WidgetSettingsChatSettingsAIDisclaimerDTO,
|
|
45
|
+
handoffToAgentImageURL: zod_1.z.string().optional(),
|
|
46
|
+
});
|
|
47
|
+
exports.WidgetSettingsVoiceSettingsContentDTO = zod_1.z.object({
|
|
48
|
+
imageURL: zod_1.z.string().optional(),
|
|
49
|
+
talkingText: zod_1.z.string(),
|
|
50
|
+
endButtonText: zod_1.z.string(),
|
|
51
|
+
listeningText: zod_1.z.string(),
|
|
52
|
+
startButtonText: zod_1.z.string(),
|
|
53
|
+
callToActionText: zod_1.z.string(),
|
|
54
|
+
});
|
|
55
|
+
exports.WidgetSettingsVoiceSettingsDTO = zod_1.z.object({
|
|
56
|
+
renderMode: zod_1.z.nativeEnum(widget_settings_enum_1.WidgetSettingsVoiceRenderMode),
|
|
57
|
+
content: exports.WidgetSettingsVoiceSettingsContentDTO,
|
|
58
|
+
});
|
|
59
|
+
exports.WidgetSettingsCommonSettingsLauncherDTO = zod_1.z.object({
|
|
60
|
+
type: zod_1.z.nativeEnum(widget_settings_enum_1.WidgetSettingsLauncherType),
|
|
61
|
+
text: zod_1.z.string().optional(),
|
|
62
|
+
imageURL: zod_1.z.string().optional(),
|
|
63
|
+
});
|
|
64
|
+
exports.WidgetSettingsCommonSettingsFooterLinkDTO = zod_1.z.object({
|
|
65
|
+
enabled: zod_1.z.boolean(),
|
|
66
|
+
text: zod_1.z.string().optional(),
|
|
67
|
+
url: zod_1.z.string().optional(),
|
|
68
|
+
});
|
|
69
|
+
exports.WidgetSettingsCommonSettingsDTO = zod_1.z.object({
|
|
70
|
+
sideSpacing: zod_1.z.string(),
|
|
71
|
+
bottomSpacing: zod_1.z.string(),
|
|
72
|
+
position: zod_1.z.nativeEnum(widget_settings_enum_1.WidgetSettingsWidgetPosition),
|
|
73
|
+
fontFamily: zod_1.z.string(),
|
|
74
|
+
primaryColor: exports.WidgetSettingsColorPaletteDTO,
|
|
75
|
+
poweredBy: zod_1.z.boolean(),
|
|
76
|
+
launcher: exports.WidgetSettingsCommonSettingsLauncherDTO,
|
|
77
|
+
footerLink: exports.WidgetSettingsCommonSettingsFooterLinkDTO,
|
|
78
|
+
});
|
|
79
|
+
exports.WidgetSettingsDTO = zod_1.z.object({
|
|
80
|
+
type: zod_1.z.nativeEnum(widget_settings_enum_1.WidgetSettingsWidgetType),
|
|
81
|
+
chat: exports.WidgetSettingsChatSettingsDTO,
|
|
82
|
+
voice: exports.WidgetSettingsVoiceSettingsDTO,
|
|
83
|
+
common: exports.WidgetSettingsCommonSettingsDTO,
|
|
84
|
+
});
|
|
85
|
+
//# sourceMappingURL=widget-settings.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-settings.dto.js","sourceRoot":"","sources":["../../../src/widget-settings/widget-settings.dto.ts"],"names":[],"mappings":";;;AAAA,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AAG,OAAC,CAAC,MAAM,CAAC;IAChE,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;IACpB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC;AAIU,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,QAAQ,EAAE,OAAC,CAAC,UAAU,CAAC,mDAA4B,CAAC;IACpD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,YAAY,EAAE,qCAA6B;IAC3C,SAAS,EAAE,OAAC,CAAC,OAAO,EAAE;IACtB,QAAQ,EAAE,+CAAuC;IACjD,UAAU,EAAE,iDAAyC;CACtD,CAAC,CAAC;AAIU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,OAAC,CAAC,UAAU,CAAC,+CAAwB,CAAC;IAC5C,IAAI,EAAE,qCAA6B;IACnC,KAAK,EAAE,sCAA8B;IACrC,MAAM,EAAE,uCAA+B;CACxC,CAAC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Enum } from '../utils/enum.util';
|
|
2
|
+
export declare const WidgetSettingsWidgetType: {
|
|
3
|
+
readonly CHAT: "chat";
|
|
4
|
+
readonly VOICE: "voice";
|
|
5
|
+
};
|
|
6
|
+
export type WidgetSettingsWidgetType = Enum<typeof WidgetSettingsWidgetType>;
|
|
7
|
+
export declare const WidgetSettingsWidgetPosition: {
|
|
8
|
+
readonly RIGHT: "right";
|
|
9
|
+
readonly LEFT: "left";
|
|
10
|
+
};
|
|
11
|
+
export type WidgetSettingsWidgetPosition = Enum<typeof WidgetSettingsWidgetPosition>;
|
|
12
|
+
export declare const WidgetSettingsChatRenderMode: {
|
|
13
|
+
readonly EMBED: "embed";
|
|
14
|
+
readonly WIDGET: "widget";
|
|
15
|
+
readonly POPOVER: "popover";
|
|
16
|
+
};
|
|
17
|
+
export type WidgetSettingsChatRenderMode = Enum<typeof WidgetSettingsChatRenderMode>;
|
|
18
|
+
export declare const WidgetSettingsVoiceRenderMode: {
|
|
19
|
+
readonly FULL: "full";
|
|
20
|
+
readonly COMPACT: "compact";
|
|
21
|
+
readonly EXPAND: "expand";
|
|
22
|
+
};
|
|
23
|
+
export type WidgetSettingsVoiceRenderMode = Enum<typeof WidgetSettingsVoiceRenderMode>;
|
|
24
|
+
export declare const WidgetSettingsLauncherType: {
|
|
25
|
+
readonly ICON: "icon";
|
|
26
|
+
readonly LABEL: "label";
|
|
27
|
+
readonly BOTH: "both";
|
|
28
|
+
};
|
|
29
|
+
export type WidgetSettingsLauncherType = Enum<typeof WidgetSettingsLauncherType>;
|
|
30
|
+
//# sourceMappingURL=widget-settings.enum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-settings.enum.d.ts","sourceRoot":"","sources":["../../../src/widget-settings/widget-settings.enum.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAE9C,eAAO,MAAM,wBAAwB;;;CAG3B,CAAC;AAEX,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE7E,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC;AAEX,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAErF,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC;AAEX,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAErF,eAAO,MAAM,6BAA6B;;;;CAIhC,CAAC;AAEX,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEvF,eAAO,MAAM,0BAA0B;;;;CAI7B,CAAC;AAEX,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WidgetSettingsLauncherType = exports.WidgetSettingsVoiceRenderMode = exports.WidgetSettingsChatRenderMode = exports.WidgetSettingsWidgetPosition = exports.WidgetSettingsWidgetType = void 0;
|
|
4
|
+
exports.WidgetSettingsWidgetType = {
|
|
5
|
+
CHAT: 'chat',
|
|
6
|
+
VOICE: 'voice',
|
|
7
|
+
};
|
|
8
|
+
exports.WidgetSettingsWidgetPosition = {
|
|
9
|
+
RIGHT: 'right',
|
|
10
|
+
LEFT: 'left',
|
|
11
|
+
};
|
|
12
|
+
exports.WidgetSettingsChatRenderMode = {
|
|
13
|
+
EMBED: 'embed',
|
|
14
|
+
WIDGET: 'widget',
|
|
15
|
+
POPOVER: 'popover',
|
|
16
|
+
};
|
|
17
|
+
exports.WidgetSettingsVoiceRenderMode = {
|
|
18
|
+
FULL: 'full',
|
|
19
|
+
COMPACT: 'compact',
|
|
20
|
+
EXPAND: 'expand',
|
|
21
|
+
};
|
|
22
|
+
exports.WidgetSettingsLauncherType = {
|
|
23
|
+
ICON: 'icon',
|
|
24
|
+
LABEL: 'label',
|
|
25
|
+
BOTH: 'both',
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=widget-settings.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widget-settings.enum.js","sourceRoot":"","sources":["../../../src/widget-settings/widget-settings.enum.ts"],"names":[],"mappings":";;;AAEa,QAAA,wBAAwB,GAAG;IACtC,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACN,CAAC;AAIE,QAAA,4BAA4B,GAAG;IAC1C,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAIE,QAAA,4BAA4B,GAAG;IAC1C,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACV,CAAC;AAIE,QAAA,6BAA6B,GAAG;IAC3C,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIE,QAAA,0BAA0B,GAAG;IACxC,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC"}
|