@voiceflow/dtos-interact 1.40.3 → 1.42.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.
@@ -82,7 +82,7 @@ export declare const WIDGET_SETTINGS_DEFAULT_SETTINGS: {
82
82
  900: string;
83
83
  };
84
84
  };
85
- persistence: string;
85
+ persistence: "localStorage";
86
86
  };
87
87
  security: {
88
88
  approvedDomains: {
@@ -543,9 +543,9 @@ export declare const WidgetSettingsCommonSettingsDTO: z.ZodObject<{
543
543
  text?: string | undefined;
544
544
  }>;
545
545
  persistence: z.ZodNativeEnum<{
546
- MEMORY: string;
547
- LOCAL_STORAGE: string;
548
- SESSION_STORAGE: string;
546
+ readonly MEMORY: "memory";
547
+ readonly LOCAL_STORAGE: "localStorage";
548
+ readonly SESSION_STORAGE: "sessionStorage";
549
549
  }>;
550
550
  featureFlags: z.ZodOptional<z.ZodObject<{
551
551
  enableWebsockets: z.ZodOptional<z.ZodBoolean>;
@@ -585,7 +585,7 @@ export declare const WidgetSettingsCommonSettingsDTO: z.ZodObject<{
585
585
  url?: string | undefined;
586
586
  text?: string | undefined;
587
587
  };
588
- persistence: string;
588
+ persistence: "memory" | "localStorage" | "sessionStorage";
589
589
  featureFlags?: {
590
590
  enableWebsockets?: boolean | undefined;
591
591
  } | undefined;
@@ -620,7 +620,7 @@ export declare const WidgetSettingsCommonSettingsDTO: z.ZodObject<{
620
620
  url?: string | undefined;
621
621
  text?: string | undefined;
622
622
  };
623
- persistence: string;
623
+ persistence: "memory" | "localStorage" | "sessionStorage";
624
624
  featureFlags?: {
625
625
  enableWebsockets?: boolean | undefined;
626
626
  } | undefined;
@@ -974,9 +974,9 @@ export declare const WidgetSettingsDTO: z.ZodObject<{
974
974
  text?: string | undefined;
975
975
  }>;
976
976
  persistence: z.ZodNativeEnum<{
977
- MEMORY: string;
978
- LOCAL_STORAGE: string;
979
- SESSION_STORAGE: string;
977
+ readonly MEMORY: "memory";
978
+ readonly LOCAL_STORAGE: "localStorage";
979
+ readonly SESSION_STORAGE: "sessionStorage";
980
980
  }>;
981
981
  featureFlags: z.ZodOptional<z.ZodObject<{
982
982
  enableWebsockets: z.ZodOptional<z.ZodBoolean>;
@@ -1016,7 +1016,7 @@ export declare const WidgetSettingsDTO: z.ZodObject<{
1016
1016
  url?: string | undefined;
1017
1017
  text?: string | undefined;
1018
1018
  };
1019
- persistence: string;
1019
+ persistence: "memory" | "localStorage" | "sessionStorage";
1020
1020
  featureFlags?: {
1021
1021
  enableWebsockets?: boolean | undefined;
1022
1022
  } | undefined;
@@ -1051,7 +1051,7 @@ export declare const WidgetSettingsDTO: z.ZodObject<{
1051
1051
  url?: string | undefined;
1052
1052
  text?: string | undefined;
1053
1053
  };
1054
- persistence: string;
1054
+ persistence: "memory" | "localStorage" | "sessionStorage";
1055
1055
  featureFlags?: {
1056
1056
  enableWebsockets?: boolean | undefined;
1057
1057
  } | undefined;
@@ -1160,7 +1160,7 @@ export declare const WidgetSettingsDTO: z.ZodObject<{
1160
1160
  url?: string | undefined;
1161
1161
  text?: string | undefined;
1162
1162
  };
1163
- persistence: string;
1163
+ persistence: "memory" | "localStorage" | "sessionStorage";
1164
1164
  featureFlags?: {
1165
1165
  enableWebsockets?: boolean | undefined;
1166
1166
  } | undefined;
@@ -1251,7 +1251,7 @@ export declare const WidgetSettingsDTO: z.ZodObject<{
1251
1251
  url?: string | undefined;
1252
1252
  text?: string | undefined;
1253
1253
  };
1254
- persistence: string;
1254
+ persistence: "memory" | "localStorage" | "sessionStorage";
1255
1255
  featureFlags?: {
1256
1256
  enableWebsockets?: boolean | undefined;
1257
1257
  } | undefined;
@@ -28,9 +28,9 @@ export declare const WidgetSettingsLauncherType: {
28
28
  };
29
29
  export type WidgetSettingsLauncherType = Enum<typeof WidgetSettingsLauncherType>;
30
30
  export declare const WidgetSettingsChatPersistence: {
31
- MEMORY: string;
32
- LOCAL_STORAGE: string;
33
- SESSION_STORAGE: string;
31
+ readonly MEMORY: "memory";
32
+ readonly LOCAL_STORAGE: "localStorage";
33
+ readonly SESSION_STORAGE: "sessionStorage";
34
34
  };
35
- export type WidgetSettingsChatPersistenceType = Enum<typeof WidgetSettingsChatPersistence>;
35
+ export type WidgetSettingsChatPersistence = Enum<typeof WidgetSettingsChatPersistence>;
36
36
  //# sourceMappingURL=widget-settings.enum.d.ts.map
@@ -1 +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;AAEjF,eAAO,MAAM,6BAA6B;;;;CAIzC,CAAC;AAEF,MAAM,MAAM,iCAAiC,GAAG,IAAI,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
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,eA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Z,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAIE,QAAA,6BAA6B,GAAG;IAC3C,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,cAAc;IAC7B,eAAe,EAAE,gBAAgB;CAClC,CAAC"}
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;AAIE,QAAA,6BAA6B,GAAG;IAC3C,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,cAAc;IAC7B,eAAe,EAAE,gBAAgB;CACzB,CAAC"}
@@ -82,7 +82,7 @@ export declare const WIDGET_SETTINGS_DEFAULT_SETTINGS: {
82
82
  900: string;
83
83
  };
84
84
  };
85
- persistence: string;
85
+ persistence: "localStorage";
86
86
  };
87
87
  security: {
88
88
  approvedDomains: {
@@ -543,9 +543,9 @@ export declare const WidgetSettingsCommonSettingsDTO: z.ZodObject<{
543
543
  text?: string | undefined;
544
544
  }>;
545
545
  persistence: z.ZodNativeEnum<{
546
- MEMORY: string;
547
- LOCAL_STORAGE: string;
548
- SESSION_STORAGE: string;
546
+ readonly MEMORY: "memory";
547
+ readonly LOCAL_STORAGE: "localStorage";
548
+ readonly SESSION_STORAGE: "sessionStorage";
549
549
  }>;
550
550
  featureFlags: z.ZodOptional<z.ZodObject<{
551
551
  enableWebsockets: z.ZodOptional<z.ZodBoolean>;
@@ -585,7 +585,7 @@ export declare const WidgetSettingsCommonSettingsDTO: z.ZodObject<{
585
585
  url?: string | undefined;
586
586
  text?: string | undefined;
587
587
  };
588
- persistence: string;
588
+ persistence: "memory" | "localStorage" | "sessionStorage";
589
589
  featureFlags?: {
590
590
  enableWebsockets?: boolean | undefined;
591
591
  } | undefined;
@@ -620,7 +620,7 @@ export declare const WidgetSettingsCommonSettingsDTO: z.ZodObject<{
620
620
  url?: string | undefined;
621
621
  text?: string | undefined;
622
622
  };
623
- persistence: string;
623
+ persistence: "memory" | "localStorage" | "sessionStorage";
624
624
  featureFlags?: {
625
625
  enableWebsockets?: boolean | undefined;
626
626
  } | undefined;
@@ -974,9 +974,9 @@ export declare const WidgetSettingsDTO: z.ZodObject<{
974
974
  text?: string | undefined;
975
975
  }>;
976
976
  persistence: z.ZodNativeEnum<{
977
- MEMORY: string;
978
- LOCAL_STORAGE: string;
979
- SESSION_STORAGE: string;
977
+ readonly MEMORY: "memory";
978
+ readonly LOCAL_STORAGE: "localStorage";
979
+ readonly SESSION_STORAGE: "sessionStorage";
980
980
  }>;
981
981
  featureFlags: z.ZodOptional<z.ZodObject<{
982
982
  enableWebsockets: z.ZodOptional<z.ZodBoolean>;
@@ -1016,7 +1016,7 @@ export declare const WidgetSettingsDTO: z.ZodObject<{
1016
1016
  url?: string | undefined;
1017
1017
  text?: string | undefined;
1018
1018
  };
1019
- persistence: string;
1019
+ persistence: "memory" | "localStorage" | "sessionStorage";
1020
1020
  featureFlags?: {
1021
1021
  enableWebsockets?: boolean | undefined;
1022
1022
  } | undefined;
@@ -1051,7 +1051,7 @@ export declare const WidgetSettingsDTO: z.ZodObject<{
1051
1051
  url?: string | undefined;
1052
1052
  text?: string | undefined;
1053
1053
  };
1054
- persistence: string;
1054
+ persistence: "memory" | "localStorage" | "sessionStorage";
1055
1055
  featureFlags?: {
1056
1056
  enableWebsockets?: boolean | undefined;
1057
1057
  } | undefined;
@@ -1160,7 +1160,7 @@ export declare const WidgetSettingsDTO: z.ZodObject<{
1160
1160
  url?: string | undefined;
1161
1161
  text?: string | undefined;
1162
1162
  };
1163
- persistence: string;
1163
+ persistence: "memory" | "localStorage" | "sessionStorage";
1164
1164
  featureFlags?: {
1165
1165
  enableWebsockets?: boolean | undefined;
1166
1166
  } | undefined;
@@ -1251,7 +1251,7 @@ export declare const WidgetSettingsDTO: z.ZodObject<{
1251
1251
  url?: string | undefined;
1252
1252
  text?: string | undefined;
1253
1253
  };
1254
- persistence: string;
1254
+ persistence: "memory" | "localStorage" | "sessionStorage";
1255
1255
  featureFlags?: {
1256
1256
  enableWebsockets?: boolean | undefined;
1257
1257
  } | undefined;
@@ -28,9 +28,9 @@ export declare const WidgetSettingsLauncherType: {
28
28
  };
29
29
  export type WidgetSettingsLauncherType = Enum<typeof WidgetSettingsLauncherType>;
30
30
  export declare const WidgetSettingsChatPersistence: {
31
- MEMORY: string;
32
- LOCAL_STORAGE: string;
33
- SESSION_STORAGE: string;
31
+ readonly MEMORY: "memory";
32
+ readonly LOCAL_STORAGE: "localStorage";
33
+ readonly SESSION_STORAGE: "sessionStorage";
34
34
  };
35
- export type WidgetSettingsChatPersistenceType = Enum<typeof WidgetSettingsChatPersistence>;
35
+ export type WidgetSettingsChatPersistence = Enum<typeof WidgetSettingsChatPersistence>;
36
36
  //# sourceMappingURL=widget-settings.enum.d.ts.map
@@ -1 +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,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,MAAM,0BAA0B;;;;CAI7B,CAAC;AAEX,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEjF,eAAO,MAAM,6BAA6B;;;;CAIhC,CAAC;AAEX,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"widget-settings.enum.js","sourceRoot":"","sources":["../../../src/widget-settings/widget-settings.enum.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACN,CAAC;AAIX,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAIX,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACV,CAAC;AAIX,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIX,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAIX,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,cAAc;IAC7B,eAAe,EAAE,gBAAgB;CAClC,CAAC"}
1
+ {"version":3,"file":"widget-settings.enum.js","sourceRoot":"","sources":["../../../src/widget-settings/widget-settings.enum.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACN,CAAC;AAIX,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAIX,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACV,CAAC;AAIX,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIX,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAIX,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,cAAc;IAC7B,eAAe,EAAE,gBAAgB;CACzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voiceflow/dtos-interact",
3
- "version": "1.40.3",
3
+ "version": "1.42.0",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./build/cjs/main.d.ts",
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "ca1e94e971b97beceb2584fb397a4af28cfd2575"
46
+ "gitHead": "4d64076ebcf75dc7152169f84e97caa2cb79df96"
47
47
  }