@wix/auto_sdk_ai-site-chat_widget-settings 1.0.16 → 1.0.17

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 (38) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +2 -2
  4. package/build/cjs/index.typings.js.map +1 -1
  5. package/build/es/index.d.mts +2 -2
  6. package/build/es/index.mjs.map +1 -1
  7. package/build/es/index.typings.d.mts +2 -2
  8. package/build/es/index.typings.mjs.map +1 -1
  9. package/build/internal/cjs/index.d.ts +2 -2
  10. package/build/internal/cjs/index.typings.d.ts +2 -2
  11. package/build/internal/es/index.d.mts +2 -2
  12. package/build/internal/es/index.typings.d.mts +2 -2
  13. package/package.json +5 -12
  14. package/build/cjs/schemas.d.ts +0 -348
  15. package/build/cjs/schemas.js +0 -508
  16. package/build/cjs/schemas.js.map +0 -1
  17. package/build/es/schemas.d.mts +0 -348
  18. package/build/es/schemas.mjs +0 -468
  19. package/build/es/schemas.mjs.map +0 -1
  20. package/build/internal/cjs/index.js +0 -255
  21. package/build/internal/cjs/index.js.map +0 -1
  22. package/build/internal/cjs/index.typings.js +0 -235
  23. package/build/internal/cjs/index.typings.js.map +0 -1
  24. package/build/internal/cjs/meta.js +0 -221
  25. package/build/internal/cjs/meta.js.map +0 -1
  26. package/build/internal/cjs/schemas.d.ts +0 -348
  27. package/build/internal/cjs/schemas.js +0 -508
  28. package/build/internal/cjs/schemas.js.map +0 -1
  29. package/build/internal/es/index.mjs +0 -229
  30. package/build/internal/es/index.mjs.map +0 -1
  31. package/build/internal/es/index.typings.mjs +0 -209
  32. package/build/internal/es/index.typings.mjs.map +0 -1
  33. package/build/internal/es/meta.mjs +0 -192
  34. package/build/internal/es/meta.mjs.map +0 -1
  35. package/build/internal/es/schemas.d.mts +0 -348
  36. package/build/internal/es/schemas.mjs +0 -468
  37. package/build/internal/es/schemas.mjs.map +0 -1
  38. package/schemas/package.json +0 -3
@@ -8,7 +8,7 @@ interface GetWidgetSettingsSignature {
8
8
  * Retrieves the widget settings for the site.
9
9
  * @deprecated
10
10
  */
11
- (): Promise<NonNullablePaths<GetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior` | `assistantOnline`, 8>>;
11
+ (): Promise<NonNullablePaths<GetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior` | `assistantOnline`, 6>>;
12
12
  }
13
13
  declare function setWidgetSettings$1(httpClient: HttpClient): SetWidgetSettingsSignature;
14
14
  interface SetWidgetSettingsSignature {
@@ -17,7 +17,7 @@ interface SetWidgetSettingsSignature {
17
17
  * @param - Widget settings to update.
18
18
  * @deprecated
19
19
  */
20
- (widgetSettings: NonNullablePaths<WidgetSettings, `activeHours` | `contactForm` | `contactForm.conditions` | `contactForm.fields` | `introMessage` | `offlineBehavior`, 3>): Promise<NonNullablePaths<SetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior`, 8>>;
20
+ (widgetSettings: NonNullablePaths<WidgetSettings, `activeHours` | `contactForm` | `contactForm.conditions` | `contactForm.fields` | `introMessage` | `offlineBehavior`, 1>): Promise<NonNullablePaths<SetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior`, 6>>;
21
21
  }
22
22
 
23
23
  declare const getWidgetSettings: MaybeContext<BuildRESTFunction<typeof getWidgetSettings$1> & typeof getWidgetSettings$1>;
@@ -191,7 +191,7 @@ interface SetWidgetSettingsResponse {
191
191
  * @deprecated
192
192
  * @targetRemovalDate 2026-10-25
193
193
  */
194
- declare function getWidgetSettings(): Promise<NonNullablePaths<GetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior` | `assistantOnline`, 8>>;
194
+ declare function getWidgetSettings(): Promise<NonNullablePaths<GetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior` | `assistantOnline`, 6>>;
195
195
  /**
196
196
  * Sets the widget settings for the site.
197
197
  * @param widgetSettings - Widget settings to update.
@@ -209,6 +209,6 @@ declare function getWidgetSettings(): Promise<NonNullablePaths<GetWidgetSettings
209
209
  * @deprecated
210
210
  * @targetRemovalDate 2026-10-25
211
211
  */
212
- declare function setWidgetSettings(widgetSettings: NonNullablePaths<WidgetSettings, `activeHours` | `contactForm` | `contactForm.conditions` | `contactForm.fields` | `introMessage` | `offlineBehavior`, 3>): Promise<NonNullablePaths<SetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior`, 8>>;
212
+ declare function setWidgetSettings(widgetSettings: NonNullablePaths<WidgetSettings, `activeHours` | `contactForm` | `contactForm.conditions` | `contactForm.fields` | `introMessage` | `offlineBehavior`, 1>): Promise<NonNullablePaths<SetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior`, 6>>;
213
213
 
214
214
  export { type ActiveHours, type Conditions, type ContactForm, type DaySchedule, type Fields, type GetWidgetSettingsRequest, type GetWidgetSettingsResponse, type IntroMessage, OfflineBehavior, type OfflineBehaviorWithLiterals, type Schedule, type SetWidgetSettingsRequest, type SetWidgetSettingsResponse, type SettingsMessage, type SuggestedQuestions, type WidgetSettings, type WorkingHoursFrame, getWidgetSettings, setWidgetSettings };
@@ -8,7 +8,7 @@ interface GetWidgetSettingsSignature {
8
8
  * Retrieves the widget settings for the site.
9
9
  * @deprecated
10
10
  */
11
- (): Promise<NonNullablePaths<GetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior` | `assistantOnline`, 8>>;
11
+ (): Promise<NonNullablePaths<GetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior` | `assistantOnline`, 6>>;
12
12
  }
13
13
  declare function setWidgetSettings$1(httpClient: HttpClient): SetWidgetSettingsSignature;
14
14
  interface SetWidgetSettingsSignature {
@@ -17,7 +17,7 @@ interface SetWidgetSettingsSignature {
17
17
  * @param - Widget settings to update.
18
18
  * @deprecated
19
19
  */
20
- (widgetSettings: NonNullablePaths<WidgetSettings, `activeHours` | `contactForm` | `contactForm.conditions` | `contactForm.fields` | `introMessage` | `offlineBehavior`, 3>): Promise<NonNullablePaths<SetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior`, 8>>;
20
+ (widgetSettings: NonNullablePaths<WidgetSettings, `activeHours` | `contactForm` | `contactForm.conditions` | `contactForm.fields` | `introMessage` | `offlineBehavior`, 1>): Promise<NonNullablePaths<SetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior`, 6>>;
21
21
  }
22
22
 
23
23
  declare const getWidgetSettings: MaybeContext<BuildRESTFunction<typeof getWidgetSettings$1> & typeof getWidgetSettings$1>;
@@ -191,7 +191,7 @@ interface SetWidgetSettingsResponse {
191
191
  * @deprecated
192
192
  * @targetRemovalDate 2026-10-25
193
193
  */
194
- declare function getWidgetSettings(): Promise<NonNullablePaths<GetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior` | `assistantOnline`, 8>>;
194
+ declare function getWidgetSettings(): Promise<NonNullablePaths<GetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior` | `assistantOnline`, 6>>;
195
195
  /**
196
196
  * Sets the widget settings for the site.
197
197
  * @param widgetSettings - Widget settings to update.
@@ -209,6 +209,6 @@ declare function getWidgetSettings(): Promise<NonNullablePaths<GetWidgetSettings
209
209
  * @deprecated
210
210
  * @targetRemovalDate 2026-10-25
211
211
  */
212
- declare function setWidgetSettings(widgetSettings: NonNullablePaths<WidgetSettings, `activeHours` | `contactForm` | `contactForm.conditions` | `contactForm.fields` | `introMessage` | `offlineBehavior`, 3>): Promise<NonNullablePaths<SetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior`, 8>>;
212
+ declare function setWidgetSettings(widgetSettings: NonNullablePaths<WidgetSettings, `activeHours` | `contactForm` | `contactForm.conditions` | `contactForm.fields` | `introMessage` | `offlineBehavior`, 1>): Promise<NonNullablePaths<SetWidgetSettingsResponse, `widgetSettings.enabled` | `widgetSettings.introMessage.message.enabled` | `widgetSettings.introMessage.message.text` | `widgetSettings.introMessage.suggestions.enabled` | `widgetSettings.introMessage.suggestions.questions` | `widgetSettings.contactForm.conditions.cannotAnswer` | `widgetSettings.contactForm.conditions.requestForPerson` | `widgetSettings.contactForm.fields.name` | `widgetSettings.contactForm.fields.email` | `widgetSettings.contactForm.fields.phone` | `widgetSettings.contactForm.fields.message` | `widgetSettings.autoOpen` | `widgetSettings.activeHours.always` | `widgetSettings.activeHours.schedule.monday.enabled` | `widgetSettings.activeHours.schedule.monday.frames` | `widgetSettings.activeHours.schedule.monday.frames.${number}.start` | `widgetSettings.activeHours.schedule.monday.frames.${number}.end` | `widgetSettings.activeHours.timeZone` | `widgetSettings.offlineBehavior`, 6>>;
213
213
 
214
214
  export { type ActiveHours, type Conditions, type ContactForm, type DaySchedule, type Fields, type GetWidgetSettingsRequest, type GetWidgetSettingsResponse, type IntroMessage, OfflineBehavior, type OfflineBehaviorWithLiterals, type Schedule, type SetWidgetSettingsRequest, type SetWidgetSettingsResponse, type SettingsMessage, type SuggestedQuestions, type WidgetSettings, type WorkingHoursFrame, getWidgetSettings, setWidgetSettings };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ai-site-chat_widget-settings",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -21,23 +21,16 @@
21
21
  "import": "./build/es/meta.mjs",
22
22
  "require": "./build/cjs/meta.js",
23
23
  "types": "./build/es/meta.d.mts"
24
- },
25
- "./schemas": {
26
- "import": "./build/es/schemas.mjs",
27
- "require": "./build/cjs/schemas.js",
28
- "types": "./build/es/schemas.d.mts"
29
24
  }
30
25
  },
31
26
  "files": [
32
27
  "build",
33
28
  "meta",
34
- "service-plugins",
35
- "schemas"
29
+ "service-plugins"
36
30
  ],
37
31
  "dependencies": {
38
- "@wix/sdk-runtime": "^1.0.19",
39
- "@wix/sdk-types": "^1.17.11",
40
- "zod": "^4.3.6"
32
+ "@wix/sdk-runtime": "^1.0.24",
33
+ "@wix/sdk-types": "^1.17.11"
41
34
  },
42
35
  "devDependencies": {
43
36
  "tsup": "^8.4.0",
@@ -57,5 +50,5 @@
57
50
  "fqdn": "wix.innovation.widget.v1.widget_settings"
58
51
  }
59
52
  },
60
- "falconPackageHash": "6bdeaecdfe4b42a5d3644d15c176d5a723a5b31009afba455aed22f9"
53
+ "falconPackageHash": "69dad3074a3d9c68ebdb6b1e0a08bb511a4dd69f56ddbfe2c53901d1"
61
54
  }
@@ -1,348 +0,0 @@
1
- import * as z from 'zod';
2
-
3
- declare const GetWidgetSettingsRequest: z.ZodObject<{}, z.core.$strip>;
4
- declare const GetWidgetSettingsResponse: z.ZodObject<{
5
- widgetSettings: z.ZodOptional<z.ZodObject<{
6
- _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
- enabled: z.ZodOptional<z.ZodBoolean>;
8
- introMessage: z.ZodOptional<z.ZodObject<{
9
- message: z.ZodOptional<z.ZodObject<{
10
- enabled: z.ZodOptional<z.ZodBoolean>;
11
- text: z.ZodOptional<z.ZodString>;
12
- }, z.core.$strip>>;
13
- legalDisclaimer: z.ZodOptional<z.ZodObject<{
14
- enabled: z.ZodOptional<z.ZodBoolean>;
15
- text: z.ZodOptional<z.ZodString>;
16
- }, z.core.$strip>>;
17
- offlineDisclaimer: z.ZodOptional<z.ZodObject<{
18
- enabled: z.ZodOptional<z.ZodBoolean>;
19
- text: z.ZodOptional<z.ZodString>;
20
- }, z.core.$strip>>;
21
- engage: z.ZodOptional<z.ZodObject<{
22
- enabled: z.ZodOptional<z.ZodBoolean>;
23
- text: z.ZodOptional<z.ZodString>;
24
- }, z.core.$strip>>;
25
- suggestions: z.ZodOptional<z.ZodObject<{
26
- enabled: z.ZodOptional<z.ZodBoolean>;
27
- questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
28
- enabled: z.ZodOptional<z.ZodBoolean>;
29
- text: z.ZodOptional<z.ZodString>;
30
- }, z.core.$strip>>>;
31
- introduction: z.ZodOptional<z.ZodObject<{
32
- enabled: z.ZodOptional<z.ZodBoolean>;
33
- text: z.ZodOptional<z.ZodString>;
34
- }, z.core.$strip>>;
35
- }, z.core.$strip>>;
36
- }, z.core.$strip>>;
37
- contactForm: z.ZodOptional<z.ZodObject<{
38
- conditions: z.ZodOptional<z.ZodObject<{
39
- cannotAnswer: z.ZodOptional<z.ZodBoolean>;
40
- requestForPerson: z.ZodOptional<z.ZodBoolean>;
41
- }, z.core.$strip>>;
42
- fields: z.ZodOptional<z.ZodObject<{
43
- name: z.ZodOptional<z.ZodBoolean>;
44
- email: z.ZodOptional<z.ZodBoolean>;
45
- phone: z.ZodOptional<z.ZodBoolean>;
46
- message: z.ZodOptional<z.ZodBoolean>;
47
- }, z.core.$strip>>;
48
- }, z.core.$strip>>;
49
- _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
50
- _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
51
- autoOpen: z.ZodOptional<z.ZodBoolean>;
52
- activeHours: z.ZodOptional<z.ZodObject<{
53
- always: z.ZodOptional<z.ZodBoolean>;
54
- schedule: z.ZodOptional<z.ZodObject<{
55
- monday: z.ZodOptional<z.ZodObject<{
56
- enabled: z.ZodOptional<z.ZodBoolean>;
57
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
58
- start: z.ZodOptional<z.ZodNumber>;
59
- end: z.ZodOptional<z.ZodNumber>;
60
- }, z.core.$strip>>>;
61
- }, z.core.$strip>>;
62
- tuesday: z.ZodOptional<z.ZodObject<{
63
- enabled: z.ZodOptional<z.ZodBoolean>;
64
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
65
- start: z.ZodOptional<z.ZodNumber>;
66
- end: z.ZodOptional<z.ZodNumber>;
67
- }, z.core.$strip>>>;
68
- }, z.core.$strip>>;
69
- wednesday: z.ZodOptional<z.ZodObject<{
70
- enabled: z.ZodOptional<z.ZodBoolean>;
71
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
72
- start: z.ZodOptional<z.ZodNumber>;
73
- end: z.ZodOptional<z.ZodNumber>;
74
- }, z.core.$strip>>>;
75
- }, z.core.$strip>>;
76
- thursday: z.ZodOptional<z.ZodObject<{
77
- enabled: z.ZodOptional<z.ZodBoolean>;
78
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
79
- start: z.ZodOptional<z.ZodNumber>;
80
- end: z.ZodOptional<z.ZodNumber>;
81
- }, z.core.$strip>>>;
82
- }, z.core.$strip>>;
83
- friday: z.ZodOptional<z.ZodObject<{
84
- enabled: z.ZodOptional<z.ZodBoolean>;
85
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
86
- start: z.ZodOptional<z.ZodNumber>;
87
- end: z.ZodOptional<z.ZodNumber>;
88
- }, z.core.$strip>>>;
89
- }, z.core.$strip>>;
90
- saturday: z.ZodOptional<z.ZodObject<{
91
- enabled: z.ZodOptional<z.ZodBoolean>;
92
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
93
- start: z.ZodOptional<z.ZodNumber>;
94
- end: z.ZodOptional<z.ZodNumber>;
95
- }, z.core.$strip>>>;
96
- }, z.core.$strip>>;
97
- sunday: z.ZodOptional<z.ZodObject<{
98
- enabled: z.ZodOptional<z.ZodBoolean>;
99
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
100
- start: z.ZodOptional<z.ZodNumber>;
101
- end: z.ZodOptional<z.ZodNumber>;
102
- }, z.core.$strip>>>;
103
- }, z.core.$strip>>;
104
- }, z.core.$strip>>;
105
- timeZone: z.ZodOptional<z.ZodString>;
106
- }, z.core.$strip>>;
107
- offlineBehavior: z.ZodOptional<z.ZodEnum<{
108
- CHAT_ONLY: "CHAT_ONLY";
109
- HIDE: "HIDE";
110
- CONTACT_FORM_WITHOUT_CHAT: "CONTACT_FORM_WITHOUT_CHAT";
111
- CONTACT_FORM_WITH_CHAT: "CONTACT_FORM_WITH_CHAT";
112
- }>>;
113
- navigationSummary: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
114
- avatar: z.ZodNullable<z.ZodOptional<z.ZodString>>;
115
- generatedQuestions: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
116
- }, z.core.$strip>>;
117
- assistantOnline: z.ZodOptional<z.ZodBoolean>;
118
- }, z.core.$strip>;
119
- declare const SetWidgetSettingsRequest: z.ZodObject<{
120
- widgetSettings: z.ZodObject<{
121
- _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
122
- enabled: z.ZodOptional<z.ZodBoolean>;
123
- introMessage: z.ZodObject<{
124
- message: z.ZodOptional<z.ZodObject<{
125
- enabled: z.ZodOptional<z.ZodBoolean>;
126
- text: z.ZodOptional<z.ZodString>;
127
- }, z.core.$strip>>;
128
- legalDisclaimer: z.ZodOptional<z.ZodObject<{
129
- enabled: z.ZodOptional<z.ZodBoolean>;
130
- text: z.ZodOptional<z.ZodString>;
131
- }, z.core.$strip>>;
132
- offlineDisclaimer: z.ZodOptional<z.ZodObject<{
133
- enabled: z.ZodOptional<z.ZodBoolean>;
134
- text: z.ZodOptional<z.ZodString>;
135
- }, z.core.$strip>>;
136
- engage: z.ZodOptional<z.ZodObject<{
137
- enabled: z.ZodOptional<z.ZodBoolean>;
138
- text: z.ZodOptional<z.ZodString>;
139
- }, z.core.$strip>>;
140
- suggestions: z.ZodOptional<z.ZodObject<{
141
- enabled: z.ZodOptional<z.ZodBoolean>;
142
- questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
143
- enabled: z.ZodOptional<z.ZodBoolean>;
144
- text: z.ZodOptional<z.ZodString>;
145
- }, z.core.$strip>>>;
146
- introduction: z.ZodOptional<z.ZodObject<{
147
- enabled: z.ZodOptional<z.ZodBoolean>;
148
- text: z.ZodOptional<z.ZodString>;
149
- }, z.core.$strip>>;
150
- }, z.core.$strip>>;
151
- }, z.core.$strip>;
152
- contactForm: z.ZodObject<{
153
- conditions: z.ZodObject<{
154
- cannotAnswer: z.ZodOptional<z.ZodBoolean>;
155
- requestForPerson: z.ZodOptional<z.ZodBoolean>;
156
- }, z.core.$strip>;
157
- fields: z.ZodObject<{
158
- name: z.ZodOptional<z.ZodBoolean>;
159
- email: z.ZodOptional<z.ZodBoolean>;
160
- phone: z.ZodOptional<z.ZodBoolean>;
161
- message: z.ZodOptional<z.ZodBoolean>;
162
- }, z.core.$strip>;
163
- }, z.core.$strip>;
164
- _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
165
- _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
166
- autoOpen: z.ZodOptional<z.ZodBoolean>;
167
- activeHours: z.ZodObject<{
168
- always: z.ZodOptional<z.ZodBoolean>;
169
- schedule: z.ZodOptional<z.ZodObject<{
170
- monday: z.ZodOptional<z.ZodObject<{
171
- enabled: z.ZodOptional<z.ZodBoolean>;
172
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
173
- start: z.ZodOptional<z.ZodNumber>;
174
- end: z.ZodOptional<z.ZodNumber>;
175
- }, z.core.$strip>>>;
176
- }, z.core.$strip>>;
177
- tuesday: z.ZodOptional<z.ZodObject<{
178
- enabled: z.ZodOptional<z.ZodBoolean>;
179
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
180
- start: z.ZodOptional<z.ZodNumber>;
181
- end: z.ZodOptional<z.ZodNumber>;
182
- }, z.core.$strip>>>;
183
- }, z.core.$strip>>;
184
- wednesday: z.ZodOptional<z.ZodObject<{
185
- enabled: z.ZodOptional<z.ZodBoolean>;
186
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
187
- start: z.ZodOptional<z.ZodNumber>;
188
- end: z.ZodOptional<z.ZodNumber>;
189
- }, z.core.$strip>>>;
190
- }, z.core.$strip>>;
191
- thursday: z.ZodOptional<z.ZodObject<{
192
- enabled: z.ZodOptional<z.ZodBoolean>;
193
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
194
- start: z.ZodOptional<z.ZodNumber>;
195
- end: z.ZodOptional<z.ZodNumber>;
196
- }, z.core.$strip>>>;
197
- }, z.core.$strip>>;
198
- friday: z.ZodOptional<z.ZodObject<{
199
- enabled: z.ZodOptional<z.ZodBoolean>;
200
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
201
- start: z.ZodOptional<z.ZodNumber>;
202
- end: z.ZodOptional<z.ZodNumber>;
203
- }, z.core.$strip>>>;
204
- }, z.core.$strip>>;
205
- saturday: z.ZodOptional<z.ZodObject<{
206
- enabled: z.ZodOptional<z.ZodBoolean>;
207
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
208
- start: z.ZodOptional<z.ZodNumber>;
209
- end: z.ZodOptional<z.ZodNumber>;
210
- }, z.core.$strip>>>;
211
- }, z.core.$strip>>;
212
- sunday: z.ZodOptional<z.ZodObject<{
213
- enabled: z.ZodOptional<z.ZodBoolean>;
214
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
215
- start: z.ZodOptional<z.ZodNumber>;
216
- end: z.ZodOptional<z.ZodNumber>;
217
- }, z.core.$strip>>>;
218
- }, z.core.$strip>>;
219
- }, z.core.$strip>>;
220
- timeZone: z.ZodOptional<z.ZodString>;
221
- }, z.core.$strip>;
222
- offlineBehavior: z.ZodEnum<{
223
- CHAT_ONLY: "CHAT_ONLY";
224
- HIDE: "HIDE";
225
- CONTACT_FORM_WITHOUT_CHAT: "CONTACT_FORM_WITHOUT_CHAT";
226
- CONTACT_FORM_WITH_CHAT: "CONTACT_FORM_WITH_CHAT";
227
- }>;
228
- navigationSummary: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
229
- avatar: z.ZodNullable<z.ZodOptional<z.ZodString>>;
230
- generatedQuestions: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
231
- }, z.core.$strip>;
232
- }, z.core.$strip>;
233
- declare const SetWidgetSettingsResponse: z.ZodObject<{
234
- widgetSettings: z.ZodOptional<z.ZodObject<{
235
- _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
236
- enabled: z.ZodOptional<z.ZodBoolean>;
237
- introMessage: z.ZodOptional<z.ZodObject<{
238
- message: z.ZodOptional<z.ZodObject<{
239
- enabled: z.ZodOptional<z.ZodBoolean>;
240
- text: z.ZodOptional<z.ZodString>;
241
- }, z.core.$strip>>;
242
- legalDisclaimer: z.ZodOptional<z.ZodObject<{
243
- enabled: z.ZodOptional<z.ZodBoolean>;
244
- text: z.ZodOptional<z.ZodString>;
245
- }, z.core.$strip>>;
246
- offlineDisclaimer: z.ZodOptional<z.ZodObject<{
247
- enabled: z.ZodOptional<z.ZodBoolean>;
248
- text: z.ZodOptional<z.ZodString>;
249
- }, z.core.$strip>>;
250
- engage: z.ZodOptional<z.ZodObject<{
251
- enabled: z.ZodOptional<z.ZodBoolean>;
252
- text: z.ZodOptional<z.ZodString>;
253
- }, z.core.$strip>>;
254
- suggestions: z.ZodOptional<z.ZodObject<{
255
- enabled: z.ZodOptional<z.ZodBoolean>;
256
- questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
257
- enabled: z.ZodOptional<z.ZodBoolean>;
258
- text: z.ZodOptional<z.ZodString>;
259
- }, z.core.$strip>>>;
260
- introduction: z.ZodOptional<z.ZodObject<{
261
- enabled: z.ZodOptional<z.ZodBoolean>;
262
- text: z.ZodOptional<z.ZodString>;
263
- }, z.core.$strip>>;
264
- }, z.core.$strip>>;
265
- }, z.core.$strip>>;
266
- contactForm: z.ZodOptional<z.ZodObject<{
267
- conditions: z.ZodOptional<z.ZodObject<{
268
- cannotAnswer: z.ZodOptional<z.ZodBoolean>;
269
- requestForPerson: z.ZodOptional<z.ZodBoolean>;
270
- }, z.core.$strip>>;
271
- fields: z.ZodOptional<z.ZodObject<{
272
- name: z.ZodOptional<z.ZodBoolean>;
273
- email: z.ZodOptional<z.ZodBoolean>;
274
- phone: z.ZodOptional<z.ZodBoolean>;
275
- message: z.ZodOptional<z.ZodBoolean>;
276
- }, z.core.$strip>>;
277
- }, z.core.$strip>>;
278
- _createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
279
- _updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
280
- autoOpen: z.ZodOptional<z.ZodBoolean>;
281
- activeHours: z.ZodOptional<z.ZodObject<{
282
- always: z.ZodOptional<z.ZodBoolean>;
283
- schedule: z.ZodOptional<z.ZodObject<{
284
- monday: z.ZodOptional<z.ZodObject<{
285
- enabled: z.ZodOptional<z.ZodBoolean>;
286
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
287
- start: z.ZodOptional<z.ZodNumber>;
288
- end: z.ZodOptional<z.ZodNumber>;
289
- }, z.core.$strip>>>;
290
- }, z.core.$strip>>;
291
- tuesday: z.ZodOptional<z.ZodObject<{
292
- enabled: z.ZodOptional<z.ZodBoolean>;
293
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
294
- start: z.ZodOptional<z.ZodNumber>;
295
- end: z.ZodOptional<z.ZodNumber>;
296
- }, z.core.$strip>>>;
297
- }, z.core.$strip>>;
298
- wednesday: z.ZodOptional<z.ZodObject<{
299
- enabled: z.ZodOptional<z.ZodBoolean>;
300
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
301
- start: z.ZodOptional<z.ZodNumber>;
302
- end: z.ZodOptional<z.ZodNumber>;
303
- }, z.core.$strip>>>;
304
- }, z.core.$strip>>;
305
- thursday: z.ZodOptional<z.ZodObject<{
306
- enabled: z.ZodOptional<z.ZodBoolean>;
307
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
308
- start: z.ZodOptional<z.ZodNumber>;
309
- end: z.ZodOptional<z.ZodNumber>;
310
- }, z.core.$strip>>>;
311
- }, z.core.$strip>>;
312
- friday: z.ZodOptional<z.ZodObject<{
313
- enabled: z.ZodOptional<z.ZodBoolean>;
314
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
315
- start: z.ZodOptional<z.ZodNumber>;
316
- end: z.ZodOptional<z.ZodNumber>;
317
- }, z.core.$strip>>>;
318
- }, z.core.$strip>>;
319
- saturday: z.ZodOptional<z.ZodObject<{
320
- enabled: z.ZodOptional<z.ZodBoolean>;
321
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
322
- start: z.ZodOptional<z.ZodNumber>;
323
- end: z.ZodOptional<z.ZodNumber>;
324
- }, z.core.$strip>>>;
325
- }, z.core.$strip>>;
326
- sunday: z.ZodOptional<z.ZodObject<{
327
- enabled: z.ZodOptional<z.ZodBoolean>;
328
- frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
329
- start: z.ZodOptional<z.ZodNumber>;
330
- end: z.ZodOptional<z.ZodNumber>;
331
- }, z.core.$strip>>>;
332
- }, z.core.$strip>>;
333
- }, z.core.$strip>>;
334
- timeZone: z.ZodOptional<z.ZodString>;
335
- }, z.core.$strip>>;
336
- offlineBehavior: z.ZodOptional<z.ZodEnum<{
337
- CHAT_ONLY: "CHAT_ONLY";
338
- HIDE: "HIDE";
339
- CONTACT_FORM_WITHOUT_CHAT: "CONTACT_FORM_WITHOUT_CHAT";
340
- CONTACT_FORM_WITH_CHAT: "CONTACT_FORM_WITH_CHAT";
341
- }>>;
342
- navigationSummary: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
343
- avatar: z.ZodNullable<z.ZodOptional<z.ZodString>>;
344
- generatedQuestions: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
345
- }, z.core.$strip>>;
346
- }, z.core.$strip>;
347
-
348
- export { GetWidgetSettingsRequest, GetWidgetSettingsResponse, SetWidgetSettingsRequest, SetWidgetSettingsResponse };