@wix/auto_sdk_ai-site-chat_widget-settings 1.0.13 → 1.0.14

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.
@@ -0,0 +1,508 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // schemas.ts
31
+ var schemas_exports = {};
32
+ __export(schemas_exports, {
33
+ GetWidgetSettingsRequest: () => GetWidgetSettingsRequest,
34
+ GetWidgetSettingsResponse: () => GetWidgetSettingsResponse,
35
+ SetWidgetSettingsRequest: () => SetWidgetSettingsRequest,
36
+ SetWidgetSettingsResponse: () => SetWidgetSettingsResponse
37
+ });
38
+ module.exports = __toCommonJS(schemas_exports);
39
+
40
+ // src/innovation-widget-v1-widget-settings-widget-settings.schemas.ts
41
+ var z = __toESM(require("zod"));
42
+ var GetWidgetSettingsRequest = z.object({});
43
+ var GetWidgetSettingsResponse = z.object({
44
+ widgetSettings: z.object({
45
+ _id: z.string().describe("Widget settings ID.").regex(
46
+ /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
47
+ "Must be a valid GUID"
48
+ ).optional().nullable(),
49
+ enabled: z.boolean().describe("Whether the AI assistant is enabled on the site.").optional(),
50
+ introMessage: z.object({
51
+ message: z.object({
52
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
53
+ text: z.string().describe("Message content.").max(1e3).optional()
54
+ }).describe("Main message settings.").optional(),
55
+ legalDisclaimer: z.object({
56
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
57
+ text: z.string().describe("Message content.").max(1e3).optional()
58
+ }).describe("Legal disclaimer message settings.").optional(),
59
+ offlineDisclaimer: z.object({
60
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
61
+ text: z.string().describe("Message content.").max(1e3).optional()
62
+ }).describe("Offline message settings.").optional(),
63
+ engage: z.object({
64
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
65
+ text: z.string().describe("Message content.").max(1e3).optional()
66
+ }).describe(
67
+ "Message shown as popup to engage the site visitor with the AI assistant."
68
+ ).optional(),
69
+ suggestions: z.object({
70
+ enabled: z.boolean().describe("Whether suggesting questions is enabled.").optional(),
71
+ questions: z.array(
72
+ z.object({
73
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
74
+ text: z.string().describe("Message content.").max(1e3).optional()
75
+ })
76
+ ).min(0).max(5).optional(),
77
+ introduction: z.object({
78
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
79
+ text: z.string().describe("Message content.").max(1e3).optional()
80
+ }).describe("Introduction message for the suggested questions.").optional()
81
+ }).describe(
82
+ "Suggested questions shown to the site visitor to help them get started."
83
+ ).optional()
84
+ }).describe(
85
+ "AI assistant introduction. This is shown in the chat when a site visitor starts a new conversation."
86
+ ).optional(),
87
+ contactForm: z.object({
88
+ conditions: z.object({
89
+ cannotAnswer: z.boolean().describe(
90
+ "Whether the AI assistant should send the contact form if the AI is unable to answer the site visitor's question."
91
+ ).optional(),
92
+ requestForPerson: z.boolean().describe(
93
+ "Whether the AI assistant should send the contact form if the site visitor requests to chat with a real person."
94
+ ).optional()
95
+ }).describe("When the AI assistant should send the contact form.").optional(),
96
+ fields: z.object({
97
+ name: z.boolean().describe("Whether to include a name field in the form.").optional(),
98
+ email: z.boolean().describe("Whether to include an email field in the form.").optional(),
99
+ phone: z.boolean().describe(
100
+ "Whether to include a phone number field in the form."
101
+ ).optional(),
102
+ message: z.boolean().describe("Whether to include a message field in the form.").optional()
103
+ }).describe("Contact form fields.").optional()
104
+ }).describe("Settings for the contact form.").optional(),
105
+ _createdDate: z.date().describe("Date and time the widget settings were created.").optional().nullable(),
106
+ _updatedDate: z.date().describe("Date and time the widget settings were updated.").optional().nullable(),
107
+ autoOpen: z.boolean().describe(
108
+ "Whether to open the AI assistant automatically when the site loads."
109
+ ).optional(),
110
+ activeHours: z.object({
111
+ always: z.boolean().describe(
112
+ "Whether the AI Assistant is always online. If `true`, `schedule` and `timeZone` are ignored."
113
+ ).optional(),
114
+ schedule: z.object({
115
+ monday: z.object({
116
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
117
+ frames: z.array(
118
+ z.object({
119
+ start: z.number().int().describe("Start time of the active hours.").optional(),
120
+ end: z.number().int().describe("End time of the active hours.").optional()
121
+ })
122
+ ).max(24).optional()
123
+ }).describe("Monday schedule.").optional(),
124
+ tuesday: z.object({
125
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
126
+ frames: z.array(
127
+ z.object({
128
+ start: z.number().int().describe("Start time of the active hours.").optional(),
129
+ end: z.number().int().describe("End time of the active hours.").optional()
130
+ })
131
+ ).max(24).optional()
132
+ }).describe("Tuesday schedule.").optional(),
133
+ wednesday: z.object({
134
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
135
+ frames: z.array(
136
+ z.object({
137
+ start: z.number().int().describe("Start time of the active hours.").optional(),
138
+ end: z.number().int().describe("End time of the active hours.").optional()
139
+ })
140
+ ).max(24).optional()
141
+ }).describe("Wednesday schedule.").optional(),
142
+ thursday: z.object({
143
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
144
+ frames: z.array(
145
+ z.object({
146
+ start: z.number().int().describe("Start time of the active hours.").optional(),
147
+ end: z.number().int().describe("End time of the active hours.").optional()
148
+ })
149
+ ).max(24).optional()
150
+ }).describe("Thursday schedule.").optional(),
151
+ friday: z.object({
152
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
153
+ frames: z.array(
154
+ z.object({
155
+ start: z.number().int().describe("Start time of the active hours.").optional(),
156
+ end: z.number().int().describe("End time of the active hours.").optional()
157
+ })
158
+ ).max(24).optional()
159
+ }).describe("Friday schedule.").optional(),
160
+ saturday: z.object({
161
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
162
+ frames: z.array(
163
+ z.object({
164
+ start: z.number().int().describe("Start time of the active hours.").optional(),
165
+ end: z.number().int().describe("End time of the active hours.").optional()
166
+ })
167
+ ).max(24).optional()
168
+ }).describe("Saturday schedule.").optional(),
169
+ sunday: z.object({
170
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
171
+ frames: z.array(
172
+ z.object({
173
+ start: z.number().int().describe("Start time of the active hours.").optional(),
174
+ end: z.number().int().describe("End time of the active hours.").optional()
175
+ })
176
+ ).max(24).optional()
177
+ }).describe("Sunday schedule.").optional()
178
+ }).describe("Times at which the AI Assistant is online.").optional(),
179
+ timeZone: z.string().describe("Timezone used for the schedule.").max(256).optional()
180
+ }).describe("Times the AI assistant is available on the site.").optional(),
181
+ offlineBehavior: z.enum([
182
+ "CHAT_ONLY",
183
+ "HIDE",
184
+ "CONTACT_FORM_WITHOUT_CHAT",
185
+ "CONTACT_FORM_WITH_CHAT"
186
+ ]).describe(
187
+ "Defines how the AI assistant functions during the non-active hours."
188
+ ).optional(),
189
+ navigationSummary: z.boolean().describe(
190
+ "Whether the AI assistant should send a summary of the site visitor's navigation on the site."
191
+ ).optional().nullable(),
192
+ avatar: z.string().describe("Wix Media image ID used for the AI assistant.").max(500).optional().nullable(),
193
+ generatedQuestions: z.boolean().describe("Whether to display example questions from the AI assistant.").optional().nullable()
194
+ }).describe("Retrieved widget settings.").optional(),
195
+ assistantOnline: z.boolean().describe("Whether the assistant is currently online.").optional()
196
+ });
197
+ var SetWidgetSettingsRequest = z.object({
198
+ widgetSettings: z.object({
199
+ _id: z.string().describe("Widget settings ID.").regex(
200
+ /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
201
+ "Must be a valid GUID"
202
+ ).optional().nullable(),
203
+ enabled: z.boolean().describe("Whether the AI assistant is enabled on the site.").optional(),
204
+ introMessage: z.object({
205
+ message: z.object({
206
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
207
+ text: z.string().describe("Message content.").max(1e3).optional()
208
+ }).describe("Main message settings.").optional(),
209
+ legalDisclaimer: z.object({
210
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
211
+ text: z.string().describe("Message content.").max(1e3).optional()
212
+ }).describe("Legal disclaimer message settings.").optional(),
213
+ offlineDisclaimer: z.object({
214
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
215
+ text: z.string().describe("Message content.").max(1e3).optional()
216
+ }).describe("Offline message settings.").optional(),
217
+ engage: z.object({
218
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
219
+ text: z.string().describe("Message content.").max(1e3).optional()
220
+ }).describe(
221
+ "Message shown as popup to engage the site visitor with the AI assistant."
222
+ ).optional(),
223
+ suggestions: z.object({
224
+ enabled: z.boolean().describe("Whether suggesting questions is enabled.").optional(),
225
+ questions: z.array(
226
+ z.object({
227
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
228
+ text: z.string().describe("Message content.").max(1e3).optional()
229
+ })
230
+ ).min(0).max(5).optional(),
231
+ introduction: z.object({
232
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
233
+ text: z.string().describe("Message content.").max(1e3).optional()
234
+ }).describe("Introduction message for the suggested questions.").optional()
235
+ }).describe(
236
+ "Suggested questions shown to the site visitor to help them get started."
237
+ ).optional()
238
+ }).describe(
239
+ "AI assistant introduction. This is shown in the chat when a site visitor starts a new conversation."
240
+ ),
241
+ contactForm: z.object({
242
+ conditions: z.object({
243
+ cannotAnswer: z.boolean().describe(
244
+ "Whether the AI assistant should send the contact form if the AI is unable to answer the site visitor's question."
245
+ ).optional(),
246
+ requestForPerson: z.boolean().describe(
247
+ "Whether the AI assistant should send the contact form if the site visitor requests to chat with a real person."
248
+ ).optional()
249
+ }).describe("When the AI assistant should send the contact form."),
250
+ fields: z.object({
251
+ name: z.boolean().describe("Whether to include a name field in the form.").optional(),
252
+ email: z.boolean().describe("Whether to include an email field in the form.").optional(),
253
+ phone: z.boolean().describe(
254
+ "Whether to include a phone number field in the form."
255
+ ).optional(),
256
+ message: z.boolean().describe("Whether to include a message field in the form.").optional()
257
+ }).describe("Contact form fields.")
258
+ }).describe("Settings for the contact form."),
259
+ _createdDate: z.date().describe("Date and time the widget settings were created.").optional().nullable(),
260
+ _updatedDate: z.date().describe("Date and time the widget settings were updated.").optional().nullable(),
261
+ autoOpen: z.boolean().describe(
262
+ "Whether to open the AI assistant automatically when the site loads."
263
+ ).optional(),
264
+ activeHours: z.object({
265
+ always: z.boolean().describe(
266
+ "Whether the AI Assistant is always online. If `true`, `schedule` and `timeZone` are ignored."
267
+ ).optional(),
268
+ schedule: z.object({
269
+ monday: z.object({
270
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
271
+ frames: z.array(
272
+ z.object({
273
+ start: z.number().int().describe("Start time of the active hours.").optional(),
274
+ end: z.number().int().describe("End time of the active hours.").optional()
275
+ })
276
+ ).max(24).optional()
277
+ }).describe("Monday schedule.").optional(),
278
+ tuesday: z.object({
279
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
280
+ frames: z.array(
281
+ z.object({
282
+ start: z.number().int().describe("Start time of the active hours.").optional(),
283
+ end: z.number().int().describe("End time of the active hours.").optional()
284
+ })
285
+ ).max(24).optional()
286
+ }).describe("Tuesday schedule.").optional(),
287
+ wednesday: z.object({
288
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
289
+ frames: z.array(
290
+ z.object({
291
+ start: z.number().int().describe("Start time of the active hours.").optional(),
292
+ end: z.number().int().describe("End time of the active hours.").optional()
293
+ })
294
+ ).max(24).optional()
295
+ }).describe("Wednesday schedule.").optional(),
296
+ thursday: z.object({
297
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
298
+ frames: z.array(
299
+ z.object({
300
+ start: z.number().int().describe("Start time of the active hours.").optional(),
301
+ end: z.number().int().describe("End time of the active hours.").optional()
302
+ })
303
+ ).max(24).optional()
304
+ }).describe("Thursday schedule.").optional(),
305
+ friday: z.object({
306
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
307
+ frames: z.array(
308
+ z.object({
309
+ start: z.number().int().describe("Start time of the active hours.").optional(),
310
+ end: z.number().int().describe("End time of the active hours.").optional()
311
+ })
312
+ ).max(24).optional()
313
+ }).describe("Friday schedule.").optional(),
314
+ saturday: z.object({
315
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
316
+ frames: z.array(
317
+ z.object({
318
+ start: z.number().int().describe("Start time of the active hours.").optional(),
319
+ end: z.number().int().describe("End time of the active hours.").optional()
320
+ })
321
+ ).max(24).optional()
322
+ }).describe("Saturday schedule.").optional(),
323
+ sunday: z.object({
324
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
325
+ frames: z.array(
326
+ z.object({
327
+ start: z.number().int().describe("Start time of the active hours.").optional(),
328
+ end: z.number().int().describe("End time of the active hours.").optional()
329
+ })
330
+ ).max(24).optional()
331
+ }).describe("Sunday schedule.").optional()
332
+ }).describe("Times at which the AI Assistant is online.").optional(),
333
+ timeZone: z.string().describe("Timezone used for the schedule.").max(256).optional()
334
+ }).describe("Times the AI assistant is available on the site."),
335
+ offlineBehavior: z.enum([
336
+ "CHAT_ONLY",
337
+ "HIDE",
338
+ "CONTACT_FORM_WITHOUT_CHAT",
339
+ "CONTACT_FORM_WITH_CHAT"
340
+ ]),
341
+ navigationSummary: z.boolean().describe(
342
+ "Whether the AI assistant should send a summary of the site visitor's navigation on the site."
343
+ ).optional().nullable(),
344
+ avatar: z.string().describe("Wix Media image ID used for the AI assistant.").max(500).optional().nullable(),
345
+ generatedQuestions: z.boolean().describe("Whether to display example questions from the AI assistant.").optional().nullable()
346
+ }).describe("Widget settings to update.")
347
+ });
348
+ var SetWidgetSettingsResponse = z.object({
349
+ widgetSettings: z.object({
350
+ _id: z.string().describe("Widget settings ID.").regex(
351
+ /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
352
+ "Must be a valid GUID"
353
+ ).optional().nullable(),
354
+ enabled: z.boolean().describe("Whether the AI assistant is enabled on the site.").optional(),
355
+ introMessage: z.object({
356
+ message: z.object({
357
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
358
+ text: z.string().describe("Message content.").max(1e3).optional()
359
+ }).describe("Main message settings.").optional(),
360
+ legalDisclaimer: z.object({
361
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
362
+ text: z.string().describe("Message content.").max(1e3).optional()
363
+ }).describe("Legal disclaimer message settings.").optional(),
364
+ offlineDisclaimer: z.object({
365
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
366
+ text: z.string().describe("Message content.").max(1e3).optional()
367
+ }).describe("Offline message settings.").optional(),
368
+ engage: z.object({
369
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
370
+ text: z.string().describe("Message content.").max(1e3).optional()
371
+ }).describe(
372
+ "Message shown as popup to engage the site visitor with the AI assistant."
373
+ ).optional(),
374
+ suggestions: z.object({
375
+ enabled: z.boolean().describe("Whether suggesting questions is enabled.").optional(),
376
+ questions: z.array(
377
+ z.object({
378
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
379
+ text: z.string().describe("Message content.").max(1e3).optional()
380
+ })
381
+ ).min(0).max(5).optional(),
382
+ introduction: z.object({
383
+ enabled: z.boolean().describe("Whether the message is enabled.").optional(),
384
+ text: z.string().describe("Message content.").max(1e3).optional()
385
+ }).describe("Introduction message for the suggested questions.").optional()
386
+ }).describe(
387
+ "Suggested questions shown to the site visitor to help them get started."
388
+ ).optional()
389
+ }).describe(
390
+ "AI assistant introduction. This is shown in the chat when a site visitor starts a new conversation."
391
+ ).optional(),
392
+ contactForm: z.object({
393
+ conditions: z.object({
394
+ cannotAnswer: z.boolean().describe(
395
+ "Whether the AI assistant should send the contact form if the AI is unable to answer the site visitor's question."
396
+ ).optional(),
397
+ requestForPerson: z.boolean().describe(
398
+ "Whether the AI assistant should send the contact form if the site visitor requests to chat with a real person."
399
+ ).optional()
400
+ }).describe("When the AI assistant should send the contact form.").optional(),
401
+ fields: z.object({
402
+ name: z.boolean().describe("Whether to include a name field in the form.").optional(),
403
+ email: z.boolean().describe("Whether to include an email field in the form.").optional(),
404
+ phone: z.boolean().describe(
405
+ "Whether to include a phone number field in the form."
406
+ ).optional(),
407
+ message: z.boolean().describe("Whether to include a message field in the form.").optional()
408
+ }).describe("Contact form fields.").optional()
409
+ }).describe("Settings for the contact form.").optional(),
410
+ _createdDate: z.date().describe("Date and time the widget settings were created.").optional().nullable(),
411
+ _updatedDate: z.date().describe("Date and time the widget settings were updated.").optional().nullable(),
412
+ autoOpen: z.boolean().describe(
413
+ "Whether to open the AI assistant automatically when the site loads."
414
+ ).optional(),
415
+ activeHours: z.object({
416
+ always: z.boolean().describe(
417
+ "Whether the AI Assistant is always online. If `true`, `schedule` and `timeZone` are ignored."
418
+ ).optional(),
419
+ schedule: z.object({
420
+ monday: z.object({
421
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
422
+ frames: z.array(
423
+ z.object({
424
+ start: z.number().int().describe("Start time of the active hours.").optional(),
425
+ end: z.number().int().describe("End time of the active hours.").optional()
426
+ })
427
+ ).max(24).optional()
428
+ }).describe("Monday schedule.").optional(),
429
+ tuesday: z.object({
430
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
431
+ frames: z.array(
432
+ z.object({
433
+ start: z.number().int().describe("Start time of the active hours.").optional(),
434
+ end: z.number().int().describe("End time of the active hours.").optional()
435
+ })
436
+ ).max(24).optional()
437
+ }).describe("Tuesday schedule.").optional(),
438
+ wednesday: z.object({
439
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
440
+ frames: z.array(
441
+ z.object({
442
+ start: z.number().int().describe("Start time of the active hours.").optional(),
443
+ end: z.number().int().describe("End time of the active hours.").optional()
444
+ })
445
+ ).max(24).optional()
446
+ }).describe("Wednesday schedule.").optional(),
447
+ thursday: z.object({
448
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
449
+ frames: z.array(
450
+ z.object({
451
+ start: z.number().int().describe("Start time of the active hours.").optional(),
452
+ end: z.number().int().describe("End time of the active hours.").optional()
453
+ })
454
+ ).max(24).optional()
455
+ }).describe("Thursday schedule.").optional(),
456
+ friday: z.object({
457
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
458
+ frames: z.array(
459
+ z.object({
460
+ start: z.number().int().describe("Start time of the active hours.").optional(),
461
+ end: z.number().int().describe("End time of the active hours.").optional()
462
+ })
463
+ ).max(24).optional()
464
+ }).describe("Friday schedule.").optional(),
465
+ saturday: z.object({
466
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
467
+ frames: z.array(
468
+ z.object({
469
+ start: z.number().int().describe("Start time of the active hours.").optional(),
470
+ end: z.number().int().describe("End time of the active hours.").optional()
471
+ })
472
+ ).max(24).optional()
473
+ }).describe("Saturday schedule.").optional(),
474
+ sunday: z.object({
475
+ enabled: z.boolean().describe("Whether the day is enabled.").optional(),
476
+ frames: z.array(
477
+ z.object({
478
+ start: z.number().int().describe("Start time of the active hours.").optional(),
479
+ end: z.number().int().describe("End time of the active hours.").optional()
480
+ })
481
+ ).max(24).optional()
482
+ }).describe("Sunday schedule.").optional()
483
+ }).describe("Times at which the AI Assistant is online.").optional(),
484
+ timeZone: z.string().describe("Timezone used for the schedule.").max(256).optional()
485
+ }).describe("Times the AI assistant is available on the site.").optional(),
486
+ offlineBehavior: z.enum([
487
+ "CHAT_ONLY",
488
+ "HIDE",
489
+ "CONTACT_FORM_WITHOUT_CHAT",
490
+ "CONTACT_FORM_WITH_CHAT"
491
+ ]).describe(
492
+ "Defines how the AI assistant functions during the non-active hours."
493
+ ).optional(),
494
+ navigationSummary: z.boolean().describe(
495
+ "Whether the AI assistant should send a summary of the site visitor's navigation on the site."
496
+ ).optional().nullable(),
497
+ avatar: z.string().describe("Wix Media image ID used for the AI assistant.").max(500).optional().nullable(),
498
+ generatedQuestions: z.boolean().describe("Whether to display example questions from the AI assistant.").optional().nullable()
499
+ }).describe("Updated widget settings.").optional()
500
+ });
501
+ // Annotate the CommonJS export names for ESM import in node:
502
+ 0 && (module.exports = {
503
+ GetWidgetSettingsRequest,
504
+ GetWidgetSettingsResponse,
505
+ SetWidgetSettingsRequest,
506
+ SetWidgetSettingsResponse
507
+ });
508
+ //# sourceMappingURL=schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../schemas.ts","../../src/innovation-widget-v1-widget-settings-widget-settings.schemas.ts"],"sourcesContent":["export * from './src/innovation-widget-v1-widget-settings-widget-settings.schemas.js';\n","import * as z from 'zod';\n\nexport const GetWidgetSettingsRequest = z.object({});\nexport const GetWidgetSettingsResponse = z.object({\n widgetSettings: z\n .object({\n _id: z\n .string()\n .describe('Widget settings ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n enabled: z\n .boolean()\n .describe('Whether the AI assistant is enabled on the site.')\n .optional(),\n introMessage: z\n .object({\n message: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe('Main message settings.')\n .optional(),\n legalDisclaimer: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe('Legal disclaimer message settings.')\n .optional(),\n offlineDisclaimer: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe('Offline message settings.')\n .optional(),\n engage: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe(\n 'Message shown as popup to engage the site visitor with the AI assistant.'\n )\n .optional(),\n suggestions: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether suggesting questions is enabled.')\n .optional(),\n questions: z\n .array(\n z.object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n )\n .min(0)\n .max(5)\n .optional(),\n introduction: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe('Introduction message for the suggested questions.')\n .optional(),\n })\n .describe(\n 'Suggested questions shown to the site visitor to help them get started.'\n )\n .optional(),\n })\n .describe(\n 'AI assistant introduction. This is shown in the chat when a site visitor starts a new conversation.'\n )\n .optional(),\n contactForm: z\n .object({\n conditions: z\n .object({\n cannotAnswer: z\n .boolean()\n .describe(\n \"Whether the AI assistant should send the contact form if the AI is unable to answer the site visitor's question.\"\n )\n .optional(),\n requestForPerson: z\n .boolean()\n .describe(\n 'Whether the AI assistant should send the contact form if the site visitor requests to chat with a real person.'\n )\n .optional(),\n })\n .describe('When the AI assistant should send the contact form.')\n .optional(),\n fields: z\n .object({\n name: z\n .boolean()\n .describe('Whether to include a name field in the form.')\n .optional(),\n email: z\n .boolean()\n .describe('Whether to include an email field in the form.')\n .optional(),\n phone: z\n .boolean()\n .describe(\n 'Whether to include a phone number field in the form.'\n )\n .optional(),\n message: z\n .boolean()\n .describe('Whether to include a message field in the form.')\n .optional(),\n })\n .describe('Contact form fields.')\n .optional(),\n })\n .describe('Settings for the contact form.')\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the widget settings were created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the widget settings were updated.')\n .optional()\n .nullable(),\n autoOpen: z\n .boolean()\n .describe(\n 'Whether to open the AI assistant automatically when the site loads.'\n )\n .optional(),\n activeHours: z\n .object({\n always: z\n .boolean()\n .describe(\n 'Whether the AI Assistant is always online. If `true`, `schedule` and `timeZone` are ignored.'\n )\n .optional(),\n schedule: z\n .object({\n monday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Monday schedule.')\n .optional(),\n tuesday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Tuesday schedule.')\n .optional(),\n wednesday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Wednesday schedule.')\n .optional(),\n thursday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Thursday schedule.')\n .optional(),\n friday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Friday schedule.')\n .optional(),\n saturday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Saturday schedule.')\n .optional(),\n sunday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Sunday schedule.')\n .optional(),\n })\n .describe('Times at which the AI Assistant is online.')\n .optional(),\n timeZone: z\n .string()\n .describe('Timezone used for the schedule.')\n .max(256)\n .optional(),\n })\n .describe('Times the AI assistant is available on the site.')\n .optional(),\n offlineBehavior: z\n .enum([\n 'CHAT_ONLY',\n 'HIDE',\n 'CONTACT_FORM_WITHOUT_CHAT',\n 'CONTACT_FORM_WITH_CHAT',\n ])\n .describe(\n 'Defines how the AI assistant functions during the non-active hours.'\n )\n .optional(),\n navigationSummary: z\n .boolean()\n .describe(\n \"Whether the AI assistant should send a summary of the site visitor's navigation on the site.\"\n )\n .optional()\n .nullable(),\n avatar: z\n .string()\n .describe('Wix Media image ID used for the AI assistant.')\n .max(500)\n .optional()\n .nullable(),\n generatedQuestions: z\n .boolean()\n .describe('Whether to display example questions from the AI assistant.')\n .optional()\n .nullable(),\n })\n .describe('Retrieved widget settings.')\n .optional(),\n assistantOnline: z\n .boolean()\n .describe('Whether the assistant is currently online.')\n .optional(),\n});\nexport const SetWidgetSettingsRequest = z.object({\n widgetSettings: z\n .object({\n _id: z\n .string()\n .describe('Widget settings ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n enabled: z\n .boolean()\n .describe('Whether the AI assistant is enabled on the site.')\n .optional(),\n introMessage: z\n .object({\n message: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe('Main message settings.')\n .optional(),\n legalDisclaimer: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe('Legal disclaimer message settings.')\n .optional(),\n offlineDisclaimer: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe('Offline message settings.')\n .optional(),\n engage: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe(\n 'Message shown as popup to engage the site visitor with the AI assistant.'\n )\n .optional(),\n suggestions: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether suggesting questions is enabled.')\n .optional(),\n questions: z\n .array(\n z.object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n )\n .min(0)\n .max(5)\n .optional(),\n introduction: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe('Introduction message for the suggested questions.')\n .optional(),\n })\n .describe(\n 'Suggested questions shown to the site visitor to help them get started.'\n )\n .optional(),\n })\n .describe(\n 'AI assistant introduction. This is shown in the chat when a site visitor starts a new conversation.'\n ),\n contactForm: z\n .object({\n conditions: z\n .object({\n cannotAnswer: z\n .boolean()\n .describe(\n \"Whether the AI assistant should send the contact form if the AI is unable to answer the site visitor's question.\"\n )\n .optional(),\n requestForPerson: z\n .boolean()\n .describe(\n 'Whether the AI assistant should send the contact form if the site visitor requests to chat with a real person.'\n )\n .optional(),\n })\n .describe('When the AI assistant should send the contact form.'),\n fields: z\n .object({\n name: z\n .boolean()\n .describe('Whether to include a name field in the form.')\n .optional(),\n email: z\n .boolean()\n .describe('Whether to include an email field in the form.')\n .optional(),\n phone: z\n .boolean()\n .describe(\n 'Whether to include a phone number field in the form.'\n )\n .optional(),\n message: z\n .boolean()\n .describe('Whether to include a message field in the form.')\n .optional(),\n })\n .describe('Contact form fields.'),\n })\n .describe('Settings for the contact form.'),\n _createdDate: z\n .date()\n .describe('Date and time the widget settings were created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the widget settings were updated.')\n .optional()\n .nullable(),\n autoOpen: z\n .boolean()\n .describe(\n 'Whether to open the AI assistant automatically when the site loads.'\n )\n .optional(),\n activeHours: z\n .object({\n always: z\n .boolean()\n .describe(\n 'Whether the AI Assistant is always online. If `true`, `schedule` and `timeZone` are ignored.'\n )\n .optional(),\n schedule: z\n .object({\n monday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Monday schedule.')\n .optional(),\n tuesday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Tuesday schedule.')\n .optional(),\n wednesday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Wednesday schedule.')\n .optional(),\n thursday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Thursday schedule.')\n .optional(),\n friday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Friday schedule.')\n .optional(),\n saturday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Saturday schedule.')\n .optional(),\n sunday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Sunday schedule.')\n .optional(),\n })\n .describe('Times at which the AI Assistant is online.')\n .optional(),\n timeZone: z\n .string()\n .describe('Timezone used for the schedule.')\n .max(256)\n .optional(),\n })\n .describe('Times the AI assistant is available on the site.'),\n offlineBehavior: z.enum([\n 'CHAT_ONLY',\n 'HIDE',\n 'CONTACT_FORM_WITHOUT_CHAT',\n 'CONTACT_FORM_WITH_CHAT',\n ]),\n navigationSummary: z\n .boolean()\n .describe(\n \"Whether the AI assistant should send a summary of the site visitor's navigation on the site.\"\n )\n .optional()\n .nullable(),\n avatar: z\n .string()\n .describe('Wix Media image ID used for the AI assistant.')\n .max(500)\n .optional()\n .nullable(),\n generatedQuestions: z\n .boolean()\n .describe('Whether to display example questions from the AI assistant.')\n .optional()\n .nullable(),\n })\n .describe('Widget settings to update.'),\n});\nexport const SetWidgetSettingsResponse = z.object({\n widgetSettings: z\n .object({\n _id: z\n .string()\n .describe('Widget settings ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional()\n .nullable(),\n enabled: z\n .boolean()\n .describe('Whether the AI assistant is enabled on the site.')\n .optional(),\n introMessage: z\n .object({\n message: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe('Main message settings.')\n .optional(),\n legalDisclaimer: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe('Legal disclaimer message settings.')\n .optional(),\n offlineDisclaimer: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe('Offline message settings.')\n .optional(),\n engage: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe(\n 'Message shown as popup to engage the site visitor with the AI assistant.'\n )\n .optional(),\n suggestions: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether suggesting questions is enabled.')\n .optional(),\n questions: z\n .array(\n z.object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n )\n .min(0)\n .max(5)\n .optional(),\n introduction: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the message is enabled.')\n .optional(),\n text: z\n .string()\n .describe('Message content.')\n .max(1000)\n .optional(),\n })\n .describe('Introduction message for the suggested questions.')\n .optional(),\n })\n .describe(\n 'Suggested questions shown to the site visitor to help them get started.'\n )\n .optional(),\n })\n .describe(\n 'AI assistant introduction. This is shown in the chat when a site visitor starts a new conversation.'\n )\n .optional(),\n contactForm: z\n .object({\n conditions: z\n .object({\n cannotAnswer: z\n .boolean()\n .describe(\n \"Whether the AI assistant should send the contact form if the AI is unable to answer the site visitor's question.\"\n )\n .optional(),\n requestForPerson: z\n .boolean()\n .describe(\n 'Whether the AI assistant should send the contact form if the site visitor requests to chat with a real person.'\n )\n .optional(),\n })\n .describe('When the AI assistant should send the contact form.')\n .optional(),\n fields: z\n .object({\n name: z\n .boolean()\n .describe('Whether to include a name field in the form.')\n .optional(),\n email: z\n .boolean()\n .describe('Whether to include an email field in the form.')\n .optional(),\n phone: z\n .boolean()\n .describe(\n 'Whether to include a phone number field in the form.'\n )\n .optional(),\n message: z\n .boolean()\n .describe('Whether to include a message field in the form.')\n .optional(),\n })\n .describe('Contact form fields.')\n .optional(),\n })\n .describe('Settings for the contact form.')\n .optional(),\n _createdDate: z\n .date()\n .describe('Date and time the widget settings were created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the widget settings were updated.')\n .optional()\n .nullable(),\n autoOpen: z\n .boolean()\n .describe(\n 'Whether to open the AI assistant automatically when the site loads.'\n )\n .optional(),\n activeHours: z\n .object({\n always: z\n .boolean()\n .describe(\n 'Whether the AI Assistant is always online. If `true`, `schedule` and `timeZone` are ignored.'\n )\n .optional(),\n schedule: z\n .object({\n monday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Monday schedule.')\n .optional(),\n tuesday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Tuesday schedule.')\n .optional(),\n wednesday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Wednesday schedule.')\n .optional(),\n thursday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Thursday schedule.')\n .optional(),\n friday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Friday schedule.')\n .optional(),\n saturday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Saturday schedule.')\n .optional(),\n sunday: z\n .object({\n enabled: z\n .boolean()\n .describe('Whether the day is enabled.')\n .optional(),\n frames: z\n .array(\n z.object({\n start: z\n .number()\n .int()\n .describe('Start time of the active hours.')\n .optional(),\n end: z\n .number()\n .int()\n .describe('End time of the active hours.')\n .optional(),\n })\n )\n .max(24)\n .optional(),\n })\n .describe('Sunday schedule.')\n .optional(),\n })\n .describe('Times at which the AI Assistant is online.')\n .optional(),\n timeZone: z\n .string()\n .describe('Timezone used for the schedule.')\n .max(256)\n .optional(),\n })\n .describe('Times the AI assistant is available on the site.')\n .optional(),\n offlineBehavior: z\n .enum([\n 'CHAT_ONLY',\n 'HIDE',\n 'CONTACT_FORM_WITHOUT_CHAT',\n 'CONTACT_FORM_WITH_CHAT',\n ])\n .describe(\n 'Defines how the AI assistant functions during the non-active hours.'\n )\n .optional(),\n navigationSummary: z\n .boolean()\n .describe(\n \"Whether the AI assistant should send a summary of the site visitor's navigation on the site.\"\n )\n .optional()\n .nullable(),\n avatar: z\n .string()\n .describe('Wix Media image ID used for the AI assistant.')\n .max(500)\n .optional()\n .nullable(),\n generatedQuestions: z\n .boolean()\n .describe('Whether to display example questions from the AI assistant.')\n .optional()\n .nullable(),\n })\n .describe('Updated widget settings.')\n .optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,2BAA6B,SAAO,CAAC,CAAC;AAC5C,IAAM,4BAA8B,SAAO;AAAA,EAChD,gBACG,SAAO;AAAA,IACN,KACG,SAAO,EACP,SAAS,qBAAqB,EAC9B;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,SACG,UAAQ,EACR,SAAS,kDAAkD,EAC3D,SAAS;AAAA,IACZ,cACG,SAAO;AAAA,MACN,SACG,SAAO;AAAA,QACN,SACG,UAAQ,EACR,SAAS,iCAAiC,EAC1C,SAAS;AAAA,QACZ,MACG,SAAO,EACP,SAAS,kBAAkB,EAC3B,IAAI,GAAI,EACR,SAAS;AAAA,MACd,CAAC,EACA,SAAS,wBAAwB,EACjC,SAAS;AAAA,MACZ,iBACG,SAAO;AAAA,QACN,SACG,UAAQ,EACR,SAAS,iCAAiC,EAC1C,SAAS;AAAA,QACZ,MACG,SAAO,EACP,SAAS,kBAAkB,EAC3B,IAAI,GAAI,EACR,SAAS;AAAA,MACd,CAAC,EACA,SAAS,oCAAoC,EAC7C,SAAS;AAAA,MACZ,mBACG,SAAO;AAAA,QACN,SACG,UAAQ,EACR,SAAS,iCAAiC,EAC1C,SAAS;AAAA,QACZ,MACG,SAAO,EACP,SAAS,kBAAkB,EAC3B,IAAI,GAAI,EACR,SAAS;AAAA,M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