@voiceflow/dtos-interact 2.31.0 → 2.32.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.
Files changed (204) hide show
  1. package/build/interface-config/interface-config-buttons/interface-config-buttons.constant.d.ts +64 -0
  2. package/build/interface-config/interface-config-buttons/interface-config-buttons.constant.d.ts.map +1 -0
  3. package/build/interface-config/interface-config-buttons/interface-config-buttons.constant.js +52 -0
  4. package/build/interface-config/interface-config-buttons/interface-config-buttons.constant.js.map +1 -0
  5. package/build/interface-config/interface-config-buttons/interface-config-buttons.dto.d.ts +779 -0
  6. package/build/interface-config/interface-config-buttons/interface-config-buttons.dto.d.ts.map +1 -0
  7. package/build/interface-config/interface-config-buttons/interface-config-buttons.dto.js +55 -0
  8. package/build/interface-config/interface-config-buttons/interface-config-buttons.dto.js.map +1 -0
  9. package/build/interface-config/interface-config-buttons/interface-config-buttons.enum.d.ts +111 -0
  10. package/build/interface-config/interface-config-buttons/interface-config-buttons.enum.d.ts.map +1 -0
  11. package/build/interface-config/interface-config-buttons/interface-config-buttons.enum.js +69 -0
  12. package/build/interface-config/interface-config-buttons/interface-config-buttons.enum.js.map +1 -0
  13. package/build/interface-config/interface-config-composer/interface-config-composer.constant.d.ts +17 -0
  14. package/build/interface-config/interface-config-composer/interface-config-composer.constant.d.ts.map +1 -0
  15. package/build/interface-config/interface-config-composer/interface-config-composer.constant.js +19 -0
  16. package/build/interface-config/interface-config-composer/interface-config-composer.constant.js.map +1 -0
  17. package/build/interface-config/interface-config-composer/interface-config-composer.dto.d.ts +156 -0
  18. package/build/interface-config/interface-config-composer/interface-config-composer.dto.d.ts.map +1 -0
  19. package/build/interface-config/interface-config-composer/interface-config-composer.dto.js +37 -0
  20. package/build/interface-config/interface-config-composer/interface-config-composer.dto.js.map +1 -0
  21. package/build/interface-config/interface-config-composer/interface-config-composer.enum.d.ts +43 -0
  22. package/build/interface-config/interface-config-composer/interface-config-composer.enum.d.ts.map +1 -0
  23. package/build/interface-config/interface-config-composer/interface-config-composer.enum.js +32 -0
  24. package/build/interface-config/interface-config-composer/interface-config-composer.enum.js.map +1 -0
  25. package/build/interface-config/interface-config-consent/interface-config-consent.constant.d.ts +7 -0
  26. package/build/interface-config/interface-config-consent/interface-config-consent.constant.d.ts.map +1 -0
  27. package/build/interface-config/interface-config-consent/interface-config-consent.constant.js +7 -0
  28. package/build/interface-config/interface-config-consent/interface-config-consent.constant.js.map +1 -0
  29. package/build/interface-config/interface-config-consent/interface-config-consent.dto.d.ts +58 -0
  30. package/build/interface-config/interface-config-consent/interface-config-consent.dto.d.ts.map +1 -0
  31. package/build/interface-config/interface-config-consent/interface-config-consent.dto.js +25 -0
  32. package/build/interface-config/interface-config-consent/interface-config-consent.dto.js.map +1 -0
  33. package/build/interface-config/interface-config-end/interface-config-end.constant.d.ts +8 -0
  34. package/build/interface-config/interface-config-end/interface-config-end.constant.d.ts.map +1 -0
  35. package/build/interface-config/interface-config-end/interface-config-end.constant.js +8 -0
  36. package/build/interface-config/interface-config-end/interface-config-end.constant.js.map +1 -0
  37. package/build/interface-config/interface-config-end/interface-config-end.dto.d.ts +14 -0
  38. package/build/interface-config/interface-config-end/interface-config-end.dto.d.ts.map +1 -0
  39. package/build/interface-config/interface-config-end/interface-config-end.dto.js +14 -0
  40. package/build/interface-config/interface-config-end/interface-config-end.dto.js.map +1 -0
  41. package/build/interface-config/interface-config-field.constant.d.ts +701 -0
  42. package/build/interface-config/interface-config-field.constant.d.ts.map +1 -0
  43. package/build/interface-config/interface-config-field.constant.js +179 -0
  44. package/build/interface-config/interface-config-field.constant.js.map +1 -0
  45. package/build/interface-config/interface-config-field.enum.d.ts +8 -0
  46. package/build/interface-config/interface-config-field.enum.d.ts.map +1 -0
  47. package/build/interface-config/interface-config-field.enum.js +6 -0
  48. package/build/interface-config/interface-config-field.enum.js.map +1 -0
  49. package/build/interface-config/interface-config-footer/interface-config-footer.constant.d.ts +6 -0
  50. package/build/interface-config/interface-config-footer/interface-config-footer.constant.d.ts.map +1 -0
  51. package/build/interface-config/interface-config-footer/interface-config-footer.constant.js +6 -0
  52. package/build/interface-config/interface-config-footer/interface-config-footer.constant.js.map +1 -0
  53. package/build/interface-config/interface-config-footer/interface-config-footer.dto.d.ts +11 -0
  54. package/build/interface-config/interface-config-footer/interface-config-footer.dto.d.ts.map +1 -0
  55. package/build/interface-config/interface-config-footer/interface-config-footer.dto.js +13 -0
  56. package/build/interface-config/interface-config-footer/interface-config-footer.dto.js.map +1 -0
  57. package/build/interface-config/interface-config-header/interface-config-header.constant.d.ts +8 -0
  58. package/build/interface-config/interface-config-header/interface-config-header.constant.d.ts.map +1 -0
  59. package/build/interface-config/interface-config-header/interface-config-header.constant.js +9 -0
  60. package/build/interface-config/interface-config-header/interface-config-header.constant.js.map +1 -0
  61. package/build/interface-config/interface-config-header/interface-config-header.dto.d.ts +21 -0
  62. package/build/interface-config/interface-config-header/interface-config-header.dto.d.ts.map +1 -0
  63. package/build/interface-config/interface-config-header/interface-config-header.dto.js +15 -0
  64. package/build/interface-config/interface-config-header/interface-config-header.dto.js.map +1 -0
  65. package/build/interface-config/interface-config-header/interface-config-header.enum.d.ts +34 -0
  66. package/build/interface-config/interface-config-header/interface-config-header.enum.d.ts.map +1 -0
  67. package/build/interface-config/interface-config-header/interface-config-header.enum.js +25 -0
  68. package/build/interface-config/interface-config-header/interface-config-header.enum.js.map +1 -0
  69. package/build/interface-config/interface-config-history/interface-config-history.constant.d.ts +8 -0
  70. package/build/interface-config/interface-config-history/interface-config-history.constant.d.ts.map +1 -0
  71. package/build/interface-config/interface-config-history/interface-config-history.constant.js +9 -0
  72. package/build/interface-config/interface-config-history/interface-config-history.constant.js.map +1 -0
  73. package/build/interface-config/interface-config-history/interface-config-history.dto.d.ts +16 -0
  74. package/build/interface-config/interface-config-history/interface-config-history.dto.d.ts.map +1 -0
  75. package/build/interface-config/interface-config-history/interface-config-history.dto.js +12 -0
  76. package/build/interface-config/interface-config-history/interface-config-history.dto.js.map +1 -0
  77. package/build/interface-config/interface-config-history/interface-config-history.enum.d.ts +23 -0
  78. package/build/interface-config/interface-config-history/interface-config-history.enum.d.ts.map +1 -0
  79. package/build/interface-config/interface-config-history/interface-config-history.enum.js +17 -0
  80. package/build/interface-config/interface-config-history/interface-config-history.enum.js.map +1 -0
  81. package/build/interface-config/interface-config-icon.enum.d.ts +109 -0
  82. package/build/interface-config/interface-config-icon.enum.d.ts.map +1 -0
  83. package/build/interface-config/interface-config-icon.enum.js +56 -0
  84. package/build/interface-config/interface-config-icon.enum.js.map +1 -0
  85. package/build/interface-config/interface-config-launcher/interface-config-launcher.constant.d.ts +13 -0
  86. package/build/interface-config/interface-config-launcher/interface-config-launcher.constant.d.ts.map +1 -0
  87. package/build/interface-config/interface-config-launcher/interface-config-launcher.constant.js +14 -0
  88. package/build/interface-config/interface-config-launcher/interface-config-launcher.constant.js.map +1 -0
  89. package/build/interface-config/interface-config-launcher/interface-config-launcher.dto.d.ts +39 -0
  90. package/build/interface-config/interface-config-launcher/interface-config-launcher.dto.d.ts.map +1 -0
  91. package/build/interface-config/interface-config-launcher/interface-config-launcher.dto.js +24 -0
  92. package/build/interface-config/interface-config-launcher/interface-config-launcher.dto.js.map +1 -0
  93. package/build/interface-config/interface-config-launcher/interface-config-launcher.enum.d.ts +58 -0
  94. package/build/interface-config/interface-config-launcher/interface-config-launcher.enum.d.ts.map +1 -0
  95. package/build/interface-config/interface-config-launcher/interface-config-launcher.enum.js +42 -0
  96. package/build/interface-config/interface-config-launcher/interface-config-launcher.enum.js.map +1 -0
  97. package/build/interface-config/interface-config-layout/interface-config-layout.constant.d.ts +29 -0
  98. package/build/interface-config/interface-config-layout/interface-config-layout.constant.d.ts.map +1 -0
  99. package/build/interface-config/interface-config-layout/interface-config-layout.constant.js +30 -0
  100. package/build/interface-config/interface-config-layout/interface-config-layout.constant.js.map +1 -0
  101. package/build/interface-config/interface-config-layout/interface-config-layout.dto.d.ts +96 -0
  102. package/build/interface-config/interface-config-layout/interface-config-layout.dto.d.ts.map +1 -0
  103. package/build/interface-config/interface-config-layout/interface-config-layout.dto.js +52 -0
  104. package/build/interface-config/interface-config-layout/interface-config-layout.dto.js.map +1 -0
  105. package/build/interface-config/interface-config-layout/interface-config-layout.enum.d.ts +79 -0
  106. package/build/interface-config/interface-config-layout/interface-config-layout.enum.d.ts.map +1 -0
  107. package/build/interface-config/interface-config-layout/interface-config-layout.enum.js +56 -0
  108. package/build/interface-config/interface-config-layout/interface-config-layout.enum.js.map +1 -0
  109. package/build/interface-config/interface-config-locale/interface-config-locale.constant.d.ts +8 -0
  110. package/build/interface-config/interface-config-locale/interface-config-locale.constant.d.ts.map +1 -0
  111. package/build/interface-config/interface-config-locale/interface-config-locale.constant.js +9 -0
  112. package/build/interface-config/interface-config-locale/interface-config-locale.constant.js.map +1 -0
  113. package/build/interface-config/interface-config-locale/interface-config-locale.dto.d.ts +28 -0
  114. package/build/interface-config/interface-config-locale/interface-config-locale.dto.d.ts.map +1 -0
  115. package/build/interface-config/interface-config-locale/interface-config-locale.dto.js +27 -0
  116. package/build/interface-config/interface-config-locale/interface-config-locale.dto.js.map +1 -0
  117. package/build/interface-config/interface-config-locale/interface-config-locale.enum.d.ts +25 -0
  118. package/build/interface-config/interface-config-locale/interface-config-locale.enum.d.ts.map +1 -0
  119. package/build/interface-config/interface-config-locale/interface-config-locale.enum.js +18 -0
  120. package/build/interface-config/interface-config-locale/interface-config-locale.enum.js.map +1 -0
  121. package/build/interface-config/interface-config-localized-text.dto.d.ts +7 -0
  122. package/build/interface-config/interface-config-localized-text.dto.d.ts.map +1 -0
  123. package/build/interface-config/interface-config-localized-text.dto.js +10 -0
  124. package/build/interface-config/interface-config-localized-text.dto.js.map +1 -0
  125. package/build/interface-config/interface-config-menu/interface-config-menu.constant.d.ts +6 -0
  126. package/build/interface-config/interface-config-menu/interface-config-menu.constant.d.ts.map +1 -0
  127. package/build/interface-config/interface-config-menu/interface-config-menu.constant.js +7 -0
  128. package/build/interface-config/interface-config-menu/interface-config-menu.constant.js.map +1 -0
  129. package/build/interface-config/interface-config-menu/interface-config-menu.dto.d.ts +17 -0
  130. package/build/interface-config/interface-config-menu/interface-config-menu.dto.d.ts.map +1 -0
  131. package/build/interface-config/interface-config-menu/interface-config-menu.dto.js +11 -0
  132. package/build/interface-config/interface-config-menu/interface-config-menu.dto.js.map +1 -0
  133. package/build/interface-config/interface-config-menu/interface-config-menu.enum.d.ts +29 -0
  134. package/build/interface-config/interface-config-menu/interface-config-menu.enum.d.ts.map +1 -0
  135. package/build/interface-config/interface-config-menu/interface-config-menu.enum.js +20 -0
  136. package/build/interface-config/interface-config-menu/interface-config-menu.enum.js.map +1 -0
  137. package/build/interface-config/interface-config-messages/interface-config-messages.constant.d.ts +15 -0
  138. package/build/interface-config/interface-config-messages/interface-config-messages.constant.d.ts.map +1 -0
  139. package/build/interface-config/interface-config-messages/interface-config-messages.constant.js +16 -0
  140. package/build/interface-config/interface-config-messages/interface-config-messages.constant.js.map +1 -0
  141. package/build/interface-config/interface-config-messages/interface-config-messages.dto.d.ts +42 -0
  142. package/build/interface-config/interface-config-messages/interface-config-messages.dto.d.ts.map +1 -0
  143. package/build/interface-config/interface-config-messages/interface-config-messages.dto.js +23 -0
  144. package/build/interface-config/interface-config-messages/interface-config-messages.dto.js.map +1 -0
  145. package/build/interface-config/interface-config-messages/interface-config-messages.enum.d.ts +70 -0
  146. package/build/interface-config/interface-config-messages/interface-config-messages.enum.d.ts.map +1 -0
  147. package/build/interface-config/interface-config-messages/interface-config-messages.enum.js +51 -0
  148. package/build/interface-config/interface-config-messages/interface-config-messages.enum.js.map +1 -0
  149. package/build/interface-config/interface-config-sounds/interface-config-sounds.constant.d.ts +5 -0
  150. package/build/interface-config/interface-config-sounds/interface-config-sounds.constant.d.ts.map +1 -0
  151. package/build/interface-config/interface-config-sounds/interface-config-sounds.constant.js +5 -0
  152. package/build/interface-config/interface-config-sounds/interface-config-sounds.constant.js.map +1 -0
  153. package/build/interface-config/interface-config-sounds/interface-config-sounds.dto.d.ts +6 -0
  154. package/build/interface-config/interface-config-sounds/interface-config-sounds.dto.d.ts.map +1 -0
  155. package/build/interface-config/interface-config-sounds/interface-config-sounds.dto.js +7 -0
  156. package/build/interface-config/interface-config-sounds/interface-config-sounds.dto.js.map +1 -0
  157. package/build/interface-config/interface-config-start/interface-config-start.constant.d.ts +13 -0
  158. package/build/interface-config/interface-config-start/interface-config-start.constant.d.ts.map +1 -0
  159. package/build/interface-config/interface-config-start/interface-config-start.constant.js +14 -0
  160. package/build/interface-config/interface-config-start/interface-config-start.constant.js.map +1 -0
  161. package/build/interface-config/interface-config-start/interface-config-start.dto.d.ts +43 -0
  162. package/build/interface-config/interface-config-start/interface-config-start.dto.d.ts.map +1 -0
  163. package/build/interface-config/interface-config-start/interface-config-start.dto.js +34 -0
  164. package/build/interface-config/interface-config-start/interface-config-start.dto.js.map +1 -0
  165. package/build/interface-config/interface-config-start/interface-config-start.enum.d.ts +12 -0
  166. package/build/interface-config/interface-config-start/interface-config-start.enum.d.ts.map +1 -0
  167. package/build/interface-config/interface-config-start/interface-config-start.enum.js +9 -0
  168. package/build/interface-config/interface-config-start/interface-config-start.enum.js.map +1 -0
  169. package/build/interface-config/interface-config-theme/interface-config-theme.constant.d.ts +14 -0
  170. package/build/interface-config/interface-config-theme/interface-config-theme.constant.d.ts.map +1 -0
  171. package/build/interface-config/interface-config-theme/interface-config-theme.constant.js +15 -0
  172. package/build/interface-config/interface-config-theme/interface-config-theme.constant.js.map +1 -0
  173. package/build/interface-config/interface-config-theme/interface-config-theme.dto.d.ts +251 -0
  174. package/build/interface-config/interface-config-theme/interface-config-theme.dto.d.ts.map +1 -0
  175. package/build/interface-config/interface-config-theme/interface-config-theme.dto.js +132 -0
  176. package/build/interface-config/interface-config-theme/interface-config-theme.dto.js.map +1 -0
  177. package/build/interface-config/interface-config-theme/interface-config-theme.enum.d.ts +45 -0
  178. package/build/interface-config/interface-config-theme/interface-config-theme.enum.d.ts.map +1 -0
  179. package/build/interface-config/interface-config-theme/interface-config-theme.enum.js +29 -0
  180. package/build/interface-config/interface-config-theme/interface-config-theme.enum.js.map +1 -0
  181. package/build/interface-config/interface-config-voice/interface-config-voice.constant.d.ts +11 -0
  182. package/build/interface-config/interface-config-voice/interface-config-voice.constant.d.ts.map +1 -0
  183. package/build/interface-config/interface-config-voice/interface-config-voice.constant.js +11 -0
  184. package/build/interface-config/interface-config-voice/interface-config-voice.constant.js.map +1 -0
  185. package/build/interface-config/interface-config-voice/interface-config-voice.dto.d.ts +151 -0
  186. package/build/interface-config/interface-config-voice/interface-config-voice.dto.d.ts.map +1 -0
  187. package/build/interface-config/interface-config-voice/interface-config-voice.dto.js +59 -0
  188. package/build/interface-config/interface-config-voice/interface-config-voice.dto.js.map +1 -0
  189. package/build/interface-config/interface-config.constant.d.ts +200 -0
  190. package/build/interface-config/interface-config.constant.d.ts.map +1 -0
  191. package/build/interface-config/interface-config.constant.js +40 -0
  192. package/build/interface-config/interface-config.constant.js.map +1 -0
  193. package/build/interface-config/interface-config.dto.d.ts +1133 -0
  194. package/build/interface-config/interface-config.dto.d.ts.map +1 -0
  195. package/build/interface-config/interface-config.dto.js +47 -0
  196. package/build/interface-config/interface-config.dto.js.map +1 -0
  197. package/build/main.d.ts +49 -0
  198. package/build/main.d.ts.map +1 -1
  199. package/build/main.js +49 -0
  200. package/build/main.js.map +1 -1
  201. package/build/request/file-request.dto.d.ts.map +1 -1
  202. package/build/request/file-request.dto.js +2 -1
  203. package/build/request/file-request.dto.js.map +1 -1
  204. package/package.json +2 -2
@@ -0,0 +1,132 @@
1
+ import { z } from 'zod';
2
+ import { InterfaceConfigThemeBackgroundFitDTO, InterfaceConfigThemeBackgroundScopeDTO, InterfaceConfigThemeGlassDTO, InterfaceConfigThemeModeDTO, } from './interface-config-theme.enum.js';
3
+ /** Each leaf is a CSS value for the token named in its comment. */
4
+ export const InterfaceConfigThemeColorsDTO = z
5
+ .object({
6
+ /** --vf-color-brand */
7
+ brand: z.string().optional(),
8
+ /** --vf-color-surface */
9
+ surface: z.string().optional(),
10
+ /** --vf-color-text */
11
+ text: z.string().optional(),
12
+ /** --vf-color-text-muted */
13
+ textMuted: z.string().optional(),
14
+ /** --vf-color-border */
15
+ border: z.string().optional(),
16
+ /** --vf-color-link */
17
+ link: z.string().optional(),
18
+ /** --vf-color-focus */
19
+ focus: z.string().optional(),
20
+ /** --vf-color-header-bg */
21
+ headerBg: z.string().optional(),
22
+ /** --vf-color-header-text */
23
+ headerText: z.string().optional(),
24
+ /** --vf-color-launcher-bg */
25
+ launcherBg: z.string().optional(),
26
+ /** --vf-color-launcher-icon */
27
+ launcherIcon: z.string().optional(),
28
+ /** --vf-color-user-bubble */
29
+ userBubble: z.string().optional(),
30
+ /** --vf-color-user-text */
31
+ userText: z.string().optional(),
32
+ /** --vf-color-agent-bubble */
33
+ agentBubble: z.string().optional(),
34
+ /** --vf-color-agent-text */
35
+ agentText: z.string().optional(),
36
+ /** --vf-color-error */
37
+ error: z.string().optional(),
38
+ /** --vf-color-success */
39
+ success: z.string().optional(),
40
+ /** --vf-color-warning */
41
+ warning: z.string().optional(),
42
+ })
43
+ .meta({ id: 'InterfaceConfigThemeColors' });
44
+ /** Light colours. The gradient and the send button have no dark value. */
45
+ export const InterfaceConfigThemeTokenColorsDTO = InterfaceConfigThemeColorsDTO.extend({
46
+ /** --vf-color-brand-gradient, a CSS gradient */
47
+ brandGradient: z.string().optional(),
48
+ /** --vf-color-send-bg */
49
+ sendButton: z.string().optional(),
50
+ }).meta({ id: 'InterfaceConfigThemeTokenColors' });
51
+ export const InterfaceConfigThemeFontDTO = z
52
+ .object({
53
+ /** --vf-font-family */
54
+ family: z.string().optional(),
55
+ /** --vf-font-size-base; a CSS length; a bare number means px */
56
+ sizeBase: z.string().optional(),
57
+ /** --vf-font-baseline-offset; a CSS length; a bare number means px */
58
+ baselineOffset: z.string().optional(),
59
+ })
60
+ .meta({ id: 'InterfaceConfigThemeFont' });
61
+ export const InterfaceConfigThemeRadiusDTO = z
62
+ .object({
63
+ /** --vf-radius-panel, shown as Roundness; a CSS length; a bare number means px */
64
+ panel: z.string().optional(),
65
+ })
66
+ .meta({ id: 'InterfaceConfigThemeRadius' });
67
+ export const InterfaceConfigThemeSpaceDTO = z
68
+ .object({
69
+ /** --vf-space-scale, shown as Density */
70
+ scale: z.string().optional(),
71
+ })
72
+ .meta({ id: 'InterfaceConfigThemeSpace' });
73
+ export const InterfaceConfigThemeShadowDTO = z
74
+ .object({
75
+ /** --vf-shadow-panel, shown as Shadow */
76
+ panel: z.string().optional(),
77
+ })
78
+ .meta({ id: 'InterfaceConfigThemeShadow' });
79
+ export const InterfaceConfigThemeMotionDTO = z
80
+ .object({
81
+ /** --vf-motion-scale, shown as Animations */
82
+ scale: z.string().optional(),
83
+ })
84
+ .meta({ id: 'InterfaceConfigThemeMotion' });
85
+ export const InterfaceConfigThemeSizeDTO = z
86
+ .object({
87
+ /** --vf-message-max-width; a CSS length; a bare number means px */
88
+ messageMaxWidth: z.string().optional(),
89
+ })
90
+ .meta({ id: 'InterfaceConfigThemeSize' });
91
+ /** The colours here are the light values. Every other kind applies in both modes. Derived shades are not stored, so a brand colour flows into them. */
92
+ export const InterfaceConfigThemeTokensDTO = z
93
+ .object({
94
+ color: InterfaceConfigThemeTokenColorsDTO.optional(),
95
+ font: InterfaceConfigThemeFontDTO.optional(),
96
+ radius: InterfaceConfigThemeRadiusDTO.optional(),
97
+ space: InterfaceConfigThemeSpaceDTO.optional(),
98
+ shadow: InterfaceConfigThemeShadowDTO.optional(),
99
+ motion: InterfaceConfigThemeMotionDTO.optional(),
100
+ size: InterfaceConfigThemeSizeDTO.optional(),
101
+ })
102
+ .meta({ id: 'InterfaceConfigThemeTokens' });
103
+ /** Dark values. Only colours change in dark mode. */
104
+ export const InterfaceConfigThemeDarkDTO = z
105
+ .object({
106
+ color: InterfaceConfigThemeColorsDTO.optional(),
107
+ })
108
+ .meta({ id: 'InterfaceConfigThemeDark' });
109
+ export const InterfaceConfigThemeBackgroundDTO = z
110
+ .object({
111
+ imageUrl: z.string().optional(),
112
+ fit: InterfaceConfigThemeBackgroundFitDTO.optional(),
113
+ opacity: z.number().min(0).max(1).optional(),
114
+ /** behind the whole panel, or behind the home screen only */
115
+ scope: InterfaceConfigThemeBackgroundScopeDTO.optional(),
116
+ })
117
+ .meta({ id: 'InterfaceConfigThemeBackground' });
118
+ export const InterfaceConfigThemeDTO = z
119
+ .object({
120
+ mode: InterfaceConfigThemeModeDTO.optional(),
121
+ /** `frosted` and `sheer` show the page through a blurred panel */
122
+ glass: InterfaceConfigThemeGlassDTO.optional(),
123
+ /** absent leaves take the built-in value */
124
+ tokens: InterfaceConfigThemeTokensDTO.optional(),
125
+ /** absent leaves take the built-in dark palette */
126
+ dark: InterfaceConfigThemeDarkDTO.optional(),
127
+ /** an https URL of a stylesheet that loads the font */
128
+ fontUrl: z.string().optional(),
129
+ background: InterfaceConfigThemeBackgroundDTO.optional(),
130
+ })
131
+ .meta({ id: 'InterfaceConfigTheme' });
132
+ //# sourceMappingURL=interface-config-theme.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface-config-theme.dto.js","sourceRoot":"","sources":["../../../src/interface-config/interface-config-theme/interface-config-theme.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,oCAAoC,EACpC,sCAAsC,EACtC,4BAA4B,EAC5B,2BAA2B,GAC5B,MAAM,+BAA+B,CAAC;AAEvC,mEAAmE;AACnE,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,CAAC;IACN,uBAAuB;IACvB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,yBAAyB;IACzB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,sBAAsB;IACtB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QA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GAAG,CAAC;KAC/C,MAAM,CAAC;IACN,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,GAAG,EAAE,oCAAoC,CAAC,QAAQ,EAAE;IACpD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC5C,6DAA6D;IAC7D,KAAK,EAAE,sCAAsC,CAAC,QAAQ,EAAE;CACzD,CAAC;KACD,IAAI,CAAC,EAAE,EAAE,EAAE,gCAAgC,EAAE,CAAC,CAAC;AAIlD,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,IAAI,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IAC5C,kEAAkE;IAClE,KAAK,EAAE,4BAA4B,CAAC,QAAQ,EAAE;IAC9C,4CAA4C;IAC5C,MAAM,EAAE,6BAA6B,CAAC,QAAQ,EAAE;IAChD,mDAAmD;IACnD,IAAI,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IAC5C,uDAAuD;IACvD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,UAAU,EAAE,iCAAiC,CAAC,QAAQ,EAAE;CACzD,CAAC;KACD,IAAI,CAAC,EAAE,EAAE,EAAE,sBAAsB,EAAE,CAAC,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { z } from 'zod';
2
+ import type { Enum } from '../../utils/enum.util.js';
3
+ export declare const InterfaceConfigThemeMode: {
4
+ readonly LIGHT: 'light';
5
+ readonly DARK: 'dark';
6
+ readonly SYSTEM: 'system';
7
+ };
8
+ export type InterfaceConfigThemeMode = Enum<typeof InterfaceConfigThemeMode>;
9
+ export declare const InterfaceConfigThemeGlass: {
10
+ readonly NONE: 'none';
11
+ readonly FROSTED: 'frosted';
12
+ readonly SHEER: 'sheer';
13
+ };
14
+ export type InterfaceConfigThemeGlass = Enum<typeof InterfaceConfigThemeGlass>;
15
+ export declare const InterfaceConfigThemeBackgroundFit: {
16
+ readonly COVER: 'cover';
17
+ readonly CONTAIN: 'contain';
18
+ readonly TILE: 'tile';
19
+ };
20
+ export type InterfaceConfigThemeBackgroundFit = Enum<typeof InterfaceConfigThemeBackgroundFit>;
21
+ export declare const InterfaceConfigThemeBackgroundScope: {
22
+ readonly PANEL: 'panel';
23
+ readonly HOME: 'home';
24
+ };
25
+ export type InterfaceConfigThemeBackgroundScope = Enum<typeof InterfaceConfigThemeBackgroundScope>;
26
+ export declare const InterfaceConfigThemeModeDTO: z.ZodEnum<{
27
+ readonly LIGHT: 'light';
28
+ readonly DARK: 'dark';
29
+ readonly SYSTEM: 'system';
30
+ }>;
31
+ export declare const InterfaceConfigThemeGlassDTO: z.ZodEnum<{
32
+ readonly NONE: 'none';
33
+ readonly FROSTED: 'frosted';
34
+ readonly SHEER: 'sheer';
35
+ }>;
36
+ export declare const InterfaceConfigThemeBackgroundFitDTO: z.ZodEnum<{
37
+ readonly COVER: 'cover';
38
+ readonly CONTAIN: 'contain';
39
+ readonly TILE: 'tile';
40
+ }>;
41
+ export declare const InterfaceConfigThemeBackgroundScopeDTO: z.ZodEnum<{
42
+ readonly PANEL: 'panel';
43
+ readonly HOME: 'home';
44
+ }>;
45
+ //# sourceMappingURL=interface-config-theme.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface-config-theme.enum.d.ts","sourceRoot":"","sources":["../../../src/interface-config/interface-config-theme/interface-config-theme.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAE9C,eAAO,MAAM,wBAAwB;aACnC,KAAK,EAAE,OAAO;aACd,IAAI,EAAE,MAAM;aACZ,MAAM,EAAE,QAAQ;CACR,CAAC;AAEX,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE7E,eAAO,MAAM,yBAAyB;aACpC,IAAI,EAAE,MAAM;aACZ,OAAO,EAAE,SAAS;aAClB,KAAK,EAAE,OAAO;CACN,CAAC;AAEX,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE/E,eAAO,MAAM,iCAAiC;aAC5C,KAAK,EAAE,OAAO;aACd,OAAO,EAAE,SAAS;aAClB,IAAI,EAAE,MAAM;CACJ,CAAC;AAEX,MAAM,MAAM,iCAAiC,GAAG,IAAI,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE/F,eAAO,MAAM,mCAAmC;aAC9C,KAAK,EAAE,OAAO;aACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAEX,MAAM,MAAM,mCAAmC,GAAG,IAAI,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAEnG,eAAO,MAAM,2BAA2B;oBA9B/B,OAAO;mBACR,MAAM;qBACJ,QAAQ;EA4BkG,CAAC;AAErH,eAAO,MAAM,4BAA4B;mBAxBjC,MAAM;sBACH,SAAS;oBACX,OAAO;EAsBuG,CAAC;AAExH,eAAO,MAAM,oCAAoC;oBAlBxC,OAAO;sBACL,SAAS;mBACZ,MAAM;EAkBsC,CAAC;AAErD,eAAO,MAAM,sCAAsC;oBAd1C,OAAO;mBACR,MAAM;EAewC,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { z } from 'zod';
2
+ export const InterfaceConfigThemeMode = {
3
+ LIGHT: 'light',
4
+ DARK: 'dark',
5
+ SYSTEM: 'system',
6
+ };
7
+ export const InterfaceConfigThemeGlass = {
8
+ NONE: 'none',
9
+ FROSTED: 'frosted',
10
+ SHEER: 'sheer',
11
+ };
12
+ export const InterfaceConfigThemeBackgroundFit = {
13
+ COVER: 'cover',
14
+ CONTAIN: 'contain',
15
+ TILE: 'tile',
16
+ };
17
+ export const InterfaceConfigThemeBackgroundScope = {
18
+ PANEL: 'panel',
19
+ HOME: 'home',
20
+ };
21
+ export const InterfaceConfigThemeModeDTO = z.enum(InterfaceConfigThemeMode).meta({ id: 'InterfaceConfigThemeMode' });
22
+ export const InterfaceConfigThemeGlassDTO = z.enum(InterfaceConfigThemeGlass).meta({ id: 'InterfaceConfigThemeGlass' });
23
+ export const InterfaceConfigThemeBackgroundFitDTO = z
24
+ .enum(InterfaceConfigThemeBackgroundFit)
25
+ .meta({ id: 'InterfaceConfigThemeBackgroundFit' });
26
+ export const InterfaceConfigThemeBackgroundScopeDTO = z
27
+ .enum(InterfaceConfigThemeBackgroundScope)
28
+ .meta({ id: 'InterfaceConfigThemeBackgroundScope' });
29
+ //# sourceMappingURL=interface-config-theme.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface-config-theme.enum.js","sourceRoot":"","sources":["../../../src/interface-config/interface-config-theme/interface-config-theme.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACR,CAAC;AAIX,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACN,CAAC;AAIX,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;CACJ,CAAC;AAIX,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAIX,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,0BAA0B,EAAE,CAAC,CAAC;AAErH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,2BAA2B,EAAE,CAAC,CAAC;AAExH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC;KAClD,IAAI,CAAC,iCAAiC,CAAC;KACvC,IAAI,CAAC,EAAE,EAAE,EAAE,mCAAmC,EAAE,CAAC,CAAC;AAErD,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC;KACpD,IAAI,CAAC,mCAAmC,CAAC;KACzC,IAAI,CAAC,EAAE,EAAE,EAAE,qCAAqC,EAAE,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ /** Never written to storage. An absent field means this value. */
2
+ export declare const INTERFACE_CONFIG_VOICE_DEFAULTS: {
3
+ enabled: false;
4
+ orb: {
5
+ preset: string;
6
+ };
7
+ interrupt: {
8
+ enabled: true;
9
+ };
10
+ };
11
+ //# sourceMappingURL=interface-config-voice.constant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface-config-voice.constant.d.ts","sourceRoot":"","sources":["../../../src/interface-config/interface-config-voice/interface-config-voice.constant.ts"],"names":[],"mappings":"AAMA,kEAAkE;AAClE,eAAO,MAAM,+BAA+B;;;QAGxC,MAAM;;;;;CAUT,CAAC"}
@@ -0,0 +1,11 @@
1
+ /** Never written to storage. An absent field means this value. */
2
+ export const INTERFACE_CONFIG_VOICE_DEFAULTS = {
3
+ enabled: false,
4
+ orb: {
5
+ preset: 'lagoon',
6
+ },
7
+ interrupt: {
8
+ enabled: true,
9
+ },
10
+ };
11
+ //# sourceMappingURL=interface-config-voice.constant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface-config-voice.constant.js","sourceRoot":"","sources":["../../../src/interface-config/interface-config-voice/interface-config-voice.constant.ts"],"names":[],"mappings":"AAMA,kEAAkE;AAClE,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,OAAO,EAAE,KAAK;IACd,GAAG,EAAE;QACH,MAAM,EAAE,QAAQ;KACjB;IACD,SAAS,EAAE;QACT,OAAO,EAAE,IAAI;KACd;CAMF,CAAC"}
@@ -0,0 +1,151 @@
1
+ import { z } from 'zod';
2
+ export declare const InterfaceConfigVoiceOrbDTO: z.ZodObject<{
3
+ preset: z.ZodOptional<z.ZodString>;
4
+ colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
5
+ imageUrl: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ export type InterfaceConfigVoiceOrb = z.infer<typeof InterfaceConfigVoiceOrbDTO>;
8
+ /** The line under the orb for each call state. */
9
+ export declare const InterfaceConfigVoiceStatusDTO: z.ZodObject<{
10
+ connecting: z.ZodOptional<z.ZodObject<{
11
+ text: z.ZodOptional<z.ZodString>;
12
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
13
+ }, z.core.$strip>>;
14
+ listening: z.ZodOptional<z.ZodObject<{
15
+ text: z.ZodOptional<z.ZodString>;
16
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
17
+ }, z.core.$strip>>;
18
+ thinking: z.ZodOptional<z.ZodObject<{
19
+ text: z.ZodOptional<z.ZodString>;
20
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
21
+ }, z.core.$strip>>;
22
+ speaking: z.ZodOptional<z.ZodObject<{
23
+ text: z.ZodOptional<z.ZodString>;
24
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
25
+ }, z.core.$strip>>;
26
+ reconnecting: z.ZodOptional<z.ZodObject<{
27
+ text: z.ZodOptional<z.ZodString>;
28
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
29
+ }, z.core.$strip>>;
30
+ }, z.core.$strip>;
31
+ export type InterfaceConfigVoiceStatus = z.infer<typeof InterfaceConfigVoiceStatusDTO>;
32
+ export declare const InterfaceConfigVoiceInterruptDTO: z.ZodObject<{
33
+ enabled: z.ZodOptional<z.ZodBoolean>;
34
+ label: z.ZodOptional<z.ZodObject<{
35
+ text: z.ZodOptional<z.ZodString>;
36
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
37
+ }, z.core.$strip>>;
38
+ }, z.core.$strip>;
39
+ export type InterfaceConfigVoiceInterrupt = z.infer<typeof InterfaceConfigVoiceInterruptDTO>;
40
+ /** Shown when the browser blocks the microphone. */
41
+ export declare const InterfaceConfigVoiceMicrophoneDeniedDTO: z.ZodObject<{
42
+ title: z.ZodOptional<z.ZodObject<{
43
+ text: z.ZodOptional<z.ZodString>;
44
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
45
+ }, z.core.$strip>>;
46
+ text: z.ZodOptional<z.ZodObject<{
47
+ text: z.ZodOptional<z.ZodString>;
48
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
49
+ }, z.core.$strip>>;
50
+ retryLabel: z.ZodOptional<z.ZodObject<{
51
+ text: z.ZodOptional<z.ZodString>;
52
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53
+ }, z.core.$strip>>;
54
+ continueInChatLabel: z.ZodOptional<z.ZodObject<{
55
+ text: z.ZodOptional<z.ZodString>;
56
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
57
+ }, z.core.$strip>>;
58
+ }, z.core.$strip>;
59
+ export type InterfaceConfigVoiceMicrophoneDenied = z.infer<typeof InterfaceConfigVoiceMicrophoneDeniedDTO>;
60
+ /** Shown when the call drops or speech recognition fails. */
61
+ export declare const InterfaceConfigVoiceConnectionErrorDTO: z.ZodObject<{
62
+ title: z.ZodOptional<z.ZodObject<{
63
+ text: z.ZodOptional<z.ZodString>;
64
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
65
+ }, z.core.$strip>>;
66
+ text: z.ZodOptional<z.ZodObject<{
67
+ text: z.ZodOptional<z.ZodString>;
68
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
69
+ }, z.core.$strip>>;
70
+ retryLabel: z.ZodOptional<z.ZodObject<{
71
+ text: z.ZodOptional<z.ZodString>;
72
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
73
+ }, z.core.$strip>>;
74
+ }, z.core.$strip>;
75
+ export type InterfaceConfigVoiceConnectionError = z.infer<typeof InterfaceConfigVoiceConnectionErrorDTO>;
76
+ /** The launcher's call button stays at `launcher.callEntry`. */
77
+ export declare const InterfaceConfigVoiceDTO: z.ZodObject<{
78
+ enabled: z.ZodOptional<z.ZodBoolean>;
79
+ callToAction: z.ZodOptional<z.ZodObject<{
80
+ text: z.ZodOptional<z.ZodString>;
81
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
82
+ }, z.core.$strip>>;
83
+ orb: z.ZodOptional<z.ZodObject<{
84
+ preset: z.ZodOptional<z.ZodString>;
85
+ colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
86
+ imageUrl: z.ZodOptional<z.ZodString>;
87
+ }, z.core.$strip>>;
88
+ status: z.ZodOptional<z.ZodObject<{
89
+ connecting: z.ZodOptional<z.ZodObject<{
90
+ text: z.ZodOptional<z.ZodString>;
91
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
92
+ }, z.core.$strip>>;
93
+ listening: z.ZodOptional<z.ZodObject<{
94
+ text: z.ZodOptional<z.ZodString>;
95
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
96
+ }, z.core.$strip>>;
97
+ thinking: z.ZodOptional<z.ZodObject<{
98
+ text: z.ZodOptional<z.ZodString>;
99
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
100
+ }, z.core.$strip>>;
101
+ speaking: z.ZodOptional<z.ZodObject<{
102
+ text: z.ZodOptional<z.ZodString>;
103
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
104
+ }, z.core.$strip>>;
105
+ reconnecting: z.ZodOptional<z.ZodObject<{
106
+ text: z.ZodOptional<z.ZodString>;
107
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
108
+ }, z.core.$strip>>;
109
+ }, z.core.$strip>>;
110
+ interrupt: z.ZodOptional<z.ZodObject<{
111
+ enabled: z.ZodOptional<z.ZodBoolean>;
112
+ label: z.ZodOptional<z.ZodObject<{
113
+ text: z.ZodOptional<z.ZodString>;
114
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
115
+ }, z.core.$strip>>;
116
+ }, z.core.$strip>>;
117
+ microphoneDenied: z.ZodOptional<z.ZodObject<{
118
+ title: z.ZodOptional<z.ZodObject<{
119
+ text: z.ZodOptional<z.ZodString>;
120
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
121
+ }, z.core.$strip>>;
122
+ text: z.ZodOptional<z.ZodObject<{
123
+ text: z.ZodOptional<z.ZodString>;
124
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
125
+ }, z.core.$strip>>;
126
+ retryLabel: z.ZodOptional<z.ZodObject<{
127
+ text: z.ZodOptional<z.ZodString>;
128
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
129
+ }, z.core.$strip>>;
130
+ continueInChatLabel: z.ZodOptional<z.ZodObject<{
131
+ text: z.ZodOptional<z.ZodString>;
132
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
133
+ }, z.core.$strip>>;
134
+ }, z.core.$strip>>;
135
+ connectionError: z.ZodOptional<z.ZodObject<{
136
+ title: z.ZodOptional<z.ZodObject<{
137
+ text: z.ZodOptional<z.ZodString>;
138
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
139
+ }, z.core.$strip>>;
140
+ text: z.ZodOptional<z.ZodObject<{
141
+ text: z.ZodOptional<z.ZodString>;
142
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
143
+ }, z.core.$strip>>;
144
+ retryLabel: z.ZodOptional<z.ZodObject<{
145
+ text: z.ZodOptional<z.ZodString>;
146
+ translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
147
+ }, z.core.$strip>>;
148
+ }, z.core.$strip>>;
149
+ }, z.core.$strip>;
150
+ export type InterfaceConfigVoice = z.infer<typeof InterfaceConfigVoiceDTO>;
151
+ //# sourceMappingURL=interface-config-voice.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface-config-voice.dto.d.ts","sourceRoot":"","sources":["../../../src/interface-config/interface-config-voice/interface-config-voice.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,0BAA0B;;;;iBAQG,CAAC;AAE3C,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEjF,kDAAkD;AAClD,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;iBAQG,CAAC;AAE9C,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEvF,eAAO,MAAM,gCAAgC;;;;;;iBAMG,CAAC;AAEjD,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE7F,oDAAoD;AACpD,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;iBAOG,CAAC;AAExD,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uCAAuC,CAAC,CAAC;AAE3G,6DAA6D;AAC7D,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;iBAMG,CAAC;AAEvD,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AAEzG,gEAAgE;AAChE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAWG,CAAC;AAExC,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -0,0 +1,59 @@
1
+ import { z } from 'zod';
2
+ import { InterfaceConfigLocalizedTextDTO } from '../interface-config-localized-text.dto.js';
3
+ export const InterfaceConfigVoiceOrbDTO = z
4
+ .object({
5
+ /** a string, not an enum, until Design settles the set; known: lagoon, sunset, aurora, ocean, rose */
6
+ preset: z.string().optional(),
7
+ /** CSS colours; no length limit until Design settles it */
8
+ colors: z.array(z.string()).optional(),
9
+ imageUrl: z.string().optional(),
10
+ })
11
+ .meta({ id: 'InterfaceConfigVoiceOrb' });
12
+ /** The line under the orb for each call state. */
13
+ export const InterfaceConfigVoiceStatusDTO = z
14
+ .object({
15
+ connecting: InterfaceConfigLocalizedTextDTO.optional(),
16
+ listening: InterfaceConfigLocalizedTextDTO.optional(),
17
+ thinking: InterfaceConfigLocalizedTextDTO.optional(),
18
+ speaking: InterfaceConfigLocalizedTextDTO.optional(),
19
+ reconnecting: InterfaceConfigLocalizedTextDTO.optional(),
20
+ })
21
+ .meta({ id: 'InterfaceConfigVoiceStatus' });
22
+ export const InterfaceConfigVoiceInterruptDTO = z
23
+ .object({
24
+ /** the visitor can talk over the agent */
25
+ enabled: z.boolean().optional(),
26
+ label: InterfaceConfigLocalizedTextDTO.optional(),
27
+ })
28
+ .meta({ id: 'InterfaceConfigVoiceInterrupt' });
29
+ /** Shown when the browser blocks the microphone. */
30
+ export const InterfaceConfigVoiceMicrophoneDeniedDTO = z
31
+ .object({
32
+ title: InterfaceConfigLocalizedTextDTO.optional(),
33
+ text: InterfaceConfigLocalizedTextDTO.optional(),
34
+ retryLabel: InterfaceConfigLocalizedTextDTO.optional(),
35
+ continueInChatLabel: InterfaceConfigLocalizedTextDTO.optional(),
36
+ })
37
+ .meta({ id: 'InterfaceConfigVoiceMicrophoneDenied' });
38
+ /** Shown when the call drops or speech recognition fails. */
39
+ export const InterfaceConfigVoiceConnectionErrorDTO = z
40
+ .object({
41
+ title: InterfaceConfigLocalizedTextDTO.optional(),
42
+ text: InterfaceConfigLocalizedTextDTO.optional(),
43
+ retryLabel: InterfaceConfigLocalizedTextDTO.optional(),
44
+ })
45
+ .meta({ id: 'InterfaceConfigVoiceConnectionError' });
46
+ /** The launcher's call button stays at `launcher.callEntry`. */
47
+ export const InterfaceConfigVoiceDTO = z
48
+ .object({
49
+ enabled: z.boolean().optional(),
50
+ /** the call-to-action line shown before a call starts */
51
+ callToAction: InterfaceConfigLocalizedTextDTO.optional(),
52
+ orb: InterfaceConfigVoiceOrbDTO.optional(),
53
+ status: InterfaceConfigVoiceStatusDTO.optional(),
54
+ interrupt: InterfaceConfigVoiceInterruptDTO.optional(),
55
+ microphoneDenied: InterfaceConfigVoiceMicrophoneDeniedDTO.optional(),
56
+ connectionError: InterfaceConfigVoiceConnectionErrorDTO.optional(),
57
+ })
58
+ .meta({ id: 'InterfaceConfigVoice' });
59
+ //# sourceMappingURL=interface-config-voice.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface-config-voice.dto.js","sourceRoot":"","sources":["../../../src/interface-config/interface-config-voice/interface-config-voice.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,+BAA+B,EAAE,MAAM,wCAAwC,CAAC;AAEzF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC;KACxC,MAAM,CAAC;IACN,sGAAsG;IACtG,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,2DAA2D;IAC3D,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,QAAQ,EAAE,CAAC,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