@sinequa/assistant 3.10.4 → 3.10.10

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 (839) hide show
  1. package/chat/index.d.ts +2155 -3
  2. package/fesm2022/sinequa-assistant-chat.mjs +764 -593
  3. package/fesm2022/sinequa-assistant-chat.mjs.map +1 -1
  4. package/index.d.ts +3 -5
  5. package/node_modules/zod/LICENSE +21 -0
  6. package/node_modules/zod/README.md +208 -0
  7. package/node_modules/zod/index.cjs +33 -0
  8. package/node_modules/zod/index.d.cts +4 -0
  9. package/node_modules/zod/index.d.ts +4 -0
  10. package/node_modules/zod/index.js +4 -0
  11. package/node_modules/zod/locales/index.cjs +17 -0
  12. package/node_modules/zod/locales/index.d.cts +1 -0
  13. package/node_modules/zod/locales/index.d.ts +1 -0
  14. package/node_modules/zod/locales/index.js +1 -0
  15. package/node_modules/zod/locales/package.json +6 -0
  16. package/node_modules/zod/mini/index.cjs +32 -0
  17. package/node_modules/zod/mini/index.d.cts +3 -0
  18. package/node_modules/zod/mini/index.d.ts +3 -0
  19. package/node_modules/zod/mini/index.js +3 -0
  20. package/node_modules/zod/mini/package.json +6 -0
  21. package/node_modules/zod/package.json +135 -0
  22. package/node_modules/zod/src/index.ts +4 -0
  23. package/node_modules/zod/src/locales/index.ts +1 -0
  24. package/node_modules/zod/src/mini/index.ts +3 -0
  25. package/node_modules/zod/src/v3/ZodError.ts +330 -0
  26. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  27. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  28. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  29. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  30. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  31. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  32. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  33. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  34. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  35. package/node_modules/zod/src/v3/errors.ts +13 -0
  36. package/node_modules/zod/src/v3/external.ts +6 -0
  37. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  38. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  39. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  40. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  41. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  42. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  43. package/node_modules/zod/src/v3/index.ts +4 -0
  44. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  45. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  46. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  47. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  48. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  49. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  50. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  51. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  52. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  53. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  54. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  55. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  56. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  57. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  58. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  59. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  60. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  61. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  62. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  63. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  64. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  65. package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  66. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  67. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  68. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  69. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  70. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  71. package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  72. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  73. package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  74. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  75. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  76. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  77. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  78. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  79. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  80. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  81. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  82. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  83. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  84. package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  85. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  86. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  87. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  88. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  89. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  90. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  91. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  92. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  93. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  94. package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  95. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  96. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  97. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  98. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  99. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  100. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  101. package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  102. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  103. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  104. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  105. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  106. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  107. package/node_modules/zod/src/v3/types.ts +5138 -0
  108. package/node_modules/zod/src/v4/classic/checks.ts +32 -0
  109. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  110. package/node_modules/zod/src/v4/classic/compat.ts +70 -0
  111. package/node_modules/zod/src/v4/classic/errors.ts +82 -0
  112. package/node_modules/zod/src/v4/classic/external.ts +51 -0
  113. package/node_modules/zod/src/v4/classic/from-json-schema.ts +643 -0
  114. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  115. package/node_modules/zod/src/v4/classic/iso.ts +90 -0
  116. package/node_modules/zod/src/v4/classic/parse.ts +82 -0
  117. package/node_modules/zod/src/v4/classic/schemas.ts +2409 -0
  118. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  119. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  120. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  121. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
  122. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  123. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  124. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  125. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  126. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  127. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +276 -0
  128. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  129. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  130. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +562 -0
  131. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  132. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  133. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  134. package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  135. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  136. package/node_modules/zod/src/v4/classic/tests/default.test.ts +365 -0
  137. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  138. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  139. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +661 -0
  140. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  141. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +595 -0
  142. package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  143. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  144. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  145. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  146. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +734 -0
  147. package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  148. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  149. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  150. package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  151. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  152. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  153. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  154. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  155. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  156. package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  157. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  158. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  159. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  160. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  161. package/node_modules/zod/src/v4/classic/tests/number.test.ts +270 -0
  162. package/node_modules/zod/src/v4/classic/tests/object.test.ts +640 -0
  163. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +223 -0
  164. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +427 -0
  165. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  166. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  167. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  168. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +282 -0
  169. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  170. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  171. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  172. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  173. package/node_modules/zod/src/v4/classic/tests/record.test.ts +632 -0
  174. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +582 -0
  175. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +570 -0
  176. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  177. package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  178. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  179. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  180. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1175 -0
  181. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  182. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  183. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  184. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2990 -0
  185. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +361 -0
  186. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +183 -0
  187. package/node_modules/zod/src/v4/classic/tests/union.test.ts +219 -0
  188. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  189. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  190. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  191. package/node_modules/zod/src/v4/core/api.ts +1798 -0
  192. package/node_modules/zod/src/v4/core/checks.ts +1293 -0
  193. package/node_modules/zod/src/v4/core/config.ts +15 -0
  194. package/node_modules/zod/src/v4/core/core.ts +138 -0
  195. package/node_modules/zod/src/v4/core/doc.ts +44 -0
  196. package/node_modules/zod/src/v4/core/errors.ts +448 -0
  197. package/node_modules/zod/src/v4/core/index.ts +16 -0
  198. package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  199. package/node_modules/zod/src/v4/core/json-schema-processors.ts +667 -0
  200. package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  201. package/node_modules/zod/src/v4/core/parse.ts +195 -0
  202. package/node_modules/zod/src/v4/core/regexes.ts +183 -0
  203. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  204. package/node_modules/zod/src/v4/core/schemas.ts +4538 -0
  205. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  206. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  207. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  208. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  209. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  210. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  211. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  212. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  213. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  214. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  215. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +83 -0
  216. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +67 -0
  217. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  218. package/node_modules/zod/src/v4/core/to-json-schema.ts +613 -0
  219. package/node_modules/zod/src/v4/core/util.ts +966 -0
  220. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  221. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  222. package/node_modules/zod/src/v4/index.ts +4 -0
  223. package/node_modules/zod/src/v4/locales/ar.ts +115 -0
  224. package/node_modules/zod/src/v4/locales/az.ts +111 -0
  225. package/node_modules/zod/src/v4/locales/be.ts +176 -0
  226. package/node_modules/zod/src/v4/locales/bg.ts +128 -0
  227. package/node_modules/zod/src/v4/locales/ca.ts +116 -0
  228. package/node_modules/zod/src/v4/locales/cs.ts +118 -0
  229. package/node_modules/zod/src/v4/locales/da.ts +123 -0
  230. package/node_modules/zod/src/v4/locales/de.ts +116 -0
  231. package/node_modules/zod/src/v4/locales/en.ts +119 -0
  232. package/node_modules/zod/src/v4/locales/eo.ts +118 -0
  233. package/node_modules/zod/src/v4/locales/es.ts +141 -0
  234. package/node_modules/zod/src/v4/locales/fa.ts +126 -0
  235. package/node_modules/zod/src/v4/locales/fi.ts +121 -0
  236. package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  237. package/node_modules/zod/src/v4/locales/fr.ts +116 -0
  238. package/node_modules/zod/src/v4/locales/he.ts +246 -0
  239. package/node_modules/zod/src/v4/locales/hu.ts +117 -0
  240. package/node_modules/zod/src/v4/locales/hy.ts +164 -0
  241. package/node_modules/zod/src/v4/locales/id.ts +115 -0
  242. package/node_modules/zod/src/v4/locales/index.ts +49 -0
  243. package/node_modules/zod/src/v4/locales/is.ts +119 -0
  244. package/node_modules/zod/src/v4/locales/it.ts +116 -0
  245. package/node_modules/zod/src/v4/locales/ja.ts +114 -0
  246. package/node_modules/zod/src/v4/locales/ka.ts +123 -0
  247. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  248. package/node_modules/zod/src/v4/locales/km.ts +119 -0
  249. package/node_modules/zod/src/v4/locales/ko.ts +121 -0
  250. package/node_modules/zod/src/v4/locales/lt.ts +239 -0
  251. package/node_modules/zod/src/v4/locales/mk.ts +118 -0
  252. package/node_modules/zod/src/v4/locales/ms.ts +115 -0
  253. package/node_modules/zod/src/v4/locales/nl.ts +121 -0
  254. package/node_modules/zod/src/v4/locales/no.ts +116 -0
  255. package/node_modules/zod/src/v4/locales/ota.ts +117 -0
  256. package/node_modules/zod/src/v4/locales/pl.ts +118 -0
  257. package/node_modules/zod/src/v4/locales/ps.ts +126 -0
  258. package/node_modules/zod/src/v4/locales/pt.ts +116 -0
  259. package/node_modules/zod/src/v4/locales/ru.ts +176 -0
  260. package/node_modules/zod/src/v4/locales/sl.ts +118 -0
  261. package/node_modules/zod/src/v4/locales/sv.ts +119 -0
  262. package/node_modules/zod/src/v4/locales/ta.ts +118 -0
  263. package/node_modules/zod/src/v4/locales/th.ts +119 -0
  264. package/node_modules/zod/src/v4/locales/tr.ts +111 -0
  265. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  266. package/node_modules/zod/src/v4/locales/uk.ts +117 -0
  267. package/node_modules/zod/src/v4/locales/ur.ts +119 -0
  268. package/node_modules/zod/src/v4/locales/uz.ts +116 -0
  269. package/node_modules/zod/src/v4/locales/vi.ts +117 -0
  270. package/node_modules/zod/src/v4/locales/yo.ts +124 -0
  271. package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  272. package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  273. package/node_modules/zod/src/v4/mini/checks.ts +32 -0
  274. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  275. package/node_modules/zod/src/v4/mini/external.ts +40 -0
  276. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  277. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  278. package/node_modules/zod/src/v4/mini/parse.ts +14 -0
  279. package/node_modules/zod/src/v4/mini/schemas.ts +1916 -0
  280. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  281. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  282. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  283. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  284. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +529 -0
  285. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  286. package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  287. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  288. package/node_modules/zod/src/v4/mini/tests/index.test.ts +963 -0
  289. package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  290. package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  291. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  292. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
  293. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  294. package/node_modules/zod/src/v4/mini/tests/string.test.ts +347 -0
  295. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  296. package/node_modules/zod/v3/ZodError.cjs +138 -0
  297. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  298. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  299. package/node_modules/zod/v3/ZodError.js +133 -0
  300. package/node_modules/zod/v3/errors.cjs +17 -0
  301. package/node_modules/zod/v3/errors.d.cts +5 -0
  302. package/node_modules/zod/v3/errors.d.ts +5 -0
  303. package/node_modules/zod/v3/errors.js +9 -0
  304. package/node_modules/zod/v3/external.cjs +22 -0
  305. package/node_modules/zod/v3/external.d.cts +6 -0
  306. package/node_modules/zod/v3/external.d.ts +6 -0
  307. package/node_modules/zod/v3/external.js +6 -0
  308. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  309. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  310. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  311. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  312. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  313. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  314. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  315. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  316. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  317. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  318. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  319. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  320. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  321. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  322. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  323. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  324. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  325. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  326. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  327. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  328. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  329. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  330. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  331. package/node_modules/zod/v3/helpers/util.js +133 -0
  332. package/node_modules/zod/v3/index.cjs +33 -0
  333. package/node_modules/zod/v3/index.d.cts +4 -0
  334. package/node_modules/zod/v3/index.d.ts +4 -0
  335. package/node_modules/zod/v3/index.js +4 -0
  336. package/node_modules/zod/v3/locales/en.cjs +112 -0
  337. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  338. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  339. package/node_modules/zod/v3/locales/en.js +109 -0
  340. package/node_modules/zod/v3/package.json +6 -0
  341. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  342. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  343. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  344. package/node_modules/zod/v3/standard-schema.js +1 -0
  345. package/node_modules/zod/v3/types.cjs +3777 -0
  346. package/node_modules/zod/v3/types.d.cts +1034 -0
  347. package/node_modules/zod/v3/types.d.ts +1034 -0
  348. package/node_modules/zod/v3/types.js +3695 -0
  349. package/node_modules/zod/v4/classic/checks.cjs +33 -0
  350. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  351. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  352. package/node_modules/zod/v4/classic/checks.js +1 -0
  353. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  354. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  355. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  356. package/node_modules/zod/v4/classic/coerce.js +17 -0
  357. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  358. package/node_modules/zod/v4/classic/compat.d.cts +50 -0
  359. package/node_modules/zod/v4/classic/compat.d.ts +50 -0
  360. package/node_modules/zod/v4/classic/compat.js +31 -0
  361. package/node_modules/zod/v4/classic/errors.cjs +74 -0
  362. package/node_modules/zod/v4/classic/errors.d.cts +30 -0
  363. package/node_modules/zod/v4/classic/errors.d.ts +30 -0
  364. package/node_modules/zod/v4/classic/errors.js +48 -0
  365. package/node_modules/zod/v4/classic/external.cjs +73 -0
  366. package/node_modules/zod/v4/classic/external.d.cts +15 -0
  367. package/node_modules/zod/v4/classic/external.d.ts +15 -0
  368. package/node_modules/zod/v4/classic/external.js +20 -0
  369. package/node_modules/zod/v4/classic/from-json-schema.cjs +610 -0
  370. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  371. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  372. package/node_modules/zod/v4/classic/from-json-schema.js +584 -0
  373. package/node_modules/zod/v4/classic/index.cjs +33 -0
  374. package/node_modules/zod/v4/classic/index.d.cts +4 -0
  375. package/node_modules/zod/v4/classic/index.d.ts +4 -0
  376. package/node_modules/zod/v4/classic/index.js +4 -0
  377. package/node_modules/zod/v4/classic/iso.cjs +60 -0
  378. package/node_modules/zod/v4/classic/iso.d.cts +22 -0
  379. package/node_modules/zod/v4/classic/iso.d.ts +22 -0
  380. package/node_modules/zod/v4/classic/iso.js +30 -0
  381. package/node_modules/zod/v4/classic/package.json +6 -0
  382. package/node_modules/zod/v4/classic/parse.cjs +41 -0
  383. package/node_modules/zod/v4/classic/parse.d.cts +31 -0
  384. package/node_modules/zod/v4/classic/parse.d.ts +31 -0
  385. package/node_modules/zod/v4/classic/parse.js +15 -0
  386. package/node_modules/zod/v4/classic/schemas.cjs +1272 -0
  387. package/node_modules/zod/v4/classic/schemas.d.cts +739 -0
  388. package/node_modules/zod/v4/classic/schemas.d.ts +739 -0
  389. package/node_modules/zod/v4/classic/schemas.js +1157 -0
  390. package/node_modules/zod/v4/core/api.cjs +1222 -0
  391. package/node_modules/zod/v4/core/api.d.cts +304 -0
  392. package/node_modules/zod/v4/core/api.d.ts +304 -0
  393. package/node_modules/zod/v4/core/api.js +1082 -0
  394. package/node_modules/zod/v4/core/checks.cjs +601 -0
  395. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  396. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  397. package/node_modules/zod/v4/core/checks.js +575 -0
  398. package/node_modules/zod/v4/core/core.cjs +83 -0
  399. package/node_modules/zod/v4/core/core.d.cts +70 -0
  400. package/node_modules/zod/v4/core/core.d.ts +70 -0
  401. package/node_modules/zod/v4/core/core.js +76 -0
  402. package/node_modules/zod/v4/core/doc.cjs +39 -0
  403. package/node_modules/zod/v4/core/doc.d.cts +14 -0
  404. package/node_modules/zod/v4/core/doc.d.ts +14 -0
  405. package/node_modules/zod/v4/core/doc.js +35 -0
  406. package/node_modules/zod/v4/core/errors.cjs +213 -0
  407. package/node_modules/zod/v4/core/errors.d.cts +220 -0
  408. package/node_modules/zod/v4/core/errors.d.ts +220 -0
  409. package/node_modules/zod/v4/core/errors.js +182 -0
  410. package/node_modules/zod/v4/core/index.cjs +47 -0
  411. package/node_modules/zod/v4/core/index.d.cts +16 -0
  412. package/node_modules/zod/v4/core/index.d.ts +16 -0
  413. package/node_modules/zod/v4/core/index.js +16 -0
  414. package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  415. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  416. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  417. package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  418. package/node_modules/zod/v4/core/json-schema-processors.cjs +648 -0
  419. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  420. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  421. package/node_modules/zod/v4/core/json-schema-processors.js +605 -0
  422. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  423. package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  424. package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  425. package/node_modules/zod/v4/core/json-schema.js +1 -0
  426. package/node_modules/zod/v4/core/package.json +6 -0
  427. package/node_modules/zod/v4/core/parse.cjs +131 -0
  428. package/node_modules/zod/v4/core/parse.d.cts +49 -0
  429. package/node_modules/zod/v4/core/parse.d.ts +49 -0
  430. package/node_modules/zod/v4/core/parse.js +93 -0
  431. package/node_modules/zod/v4/core/regexes.cjs +166 -0
  432. package/node_modules/zod/v4/core/regexes.d.cts +79 -0
  433. package/node_modules/zod/v4/core/regexes.d.ts +79 -0
  434. package/node_modules/zod/v4/core/regexes.js +133 -0
  435. package/node_modules/zod/v4/core/registries.cjs +56 -0
  436. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  437. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  438. package/node_modules/zod/v4/core/registries.js +51 -0
  439. package/node_modules/zod/v4/core/schemas.cjs +2124 -0
  440. package/node_modules/zod/v4/core/schemas.d.cts +1146 -0
  441. package/node_modules/zod/v4/core/schemas.d.ts +1146 -0
  442. package/node_modules/zod/v4/core/schemas.js +2093 -0
  443. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  444. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  445. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  446. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  447. package/node_modules/zod/v4/core/to-json-schema.cjs +446 -0
  448. package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  449. package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  450. package/node_modules/zod/v4/core/to-json-schema.js +437 -0
  451. package/node_modules/zod/v4/core/util.cjs +710 -0
  452. package/node_modules/zod/v4/core/util.d.cts +199 -0
  453. package/node_modules/zod/v4/core/util.d.ts +199 -0
  454. package/node_modules/zod/v4/core/util.js +651 -0
  455. package/node_modules/zod/v4/core/versions.cjs +8 -0
  456. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  457. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  458. package/node_modules/zod/v4/core/versions.js +5 -0
  459. package/node_modules/zod/v4/index.cjs +22 -0
  460. package/node_modules/zod/v4/index.d.cts +3 -0
  461. package/node_modules/zod/v4/index.d.ts +3 -0
  462. package/node_modules/zod/v4/index.js +3 -0
  463. package/node_modules/zod/v4/locales/ar.cjs +133 -0
  464. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  465. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  466. package/node_modules/zod/v4/locales/ar.js +106 -0
  467. package/node_modules/zod/v4/locales/az.cjs +132 -0
  468. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  469. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  470. package/node_modules/zod/v4/locales/az.js +105 -0
  471. package/node_modules/zod/v4/locales/be.cjs +183 -0
  472. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  473. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  474. package/node_modules/zod/v4/locales/be.js +156 -0
  475. package/node_modules/zod/v4/locales/bg.cjs +147 -0
  476. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  477. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  478. package/node_modules/zod/v4/locales/bg.js +120 -0
  479. package/node_modules/zod/v4/locales/ca.cjs +134 -0
  480. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  481. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  482. package/node_modules/zod/v4/locales/ca.js +107 -0
  483. package/node_modules/zod/v4/locales/cs.cjs +138 -0
  484. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  485. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  486. package/node_modules/zod/v4/locales/cs.js +111 -0
  487. package/node_modules/zod/v4/locales/da.cjs +142 -0
  488. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  489. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  490. package/node_modules/zod/v4/locales/da.js +115 -0
  491. package/node_modules/zod/v4/locales/de.cjs +135 -0
  492. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  493. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  494. package/node_modules/zod/v4/locales/de.js +108 -0
  495. package/node_modules/zod/v4/locales/en.cjs +136 -0
  496. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  497. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  498. package/node_modules/zod/v4/locales/en.js +109 -0
  499. package/node_modules/zod/v4/locales/eo.cjs +136 -0
  500. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  501. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  502. package/node_modules/zod/v4/locales/eo.js +109 -0
  503. package/node_modules/zod/v4/locales/es.cjs +159 -0
  504. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  505. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  506. package/node_modules/zod/v4/locales/es.js +132 -0
  507. package/node_modules/zod/v4/locales/fa.cjs +141 -0
  508. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  509. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  510. package/node_modules/zod/v4/locales/fa.js +114 -0
  511. package/node_modules/zod/v4/locales/fi.cjs +139 -0
  512. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  513. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  514. package/node_modules/zod/v4/locales/fi.js +112 -0
  515. package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  516. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  517. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  518. package/node_modules/zod/v4/locales/fr-CA.js +107 -0
  519. package/node_modules/zod/v4/locales/fr.cjs +135 -0
  520. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  521. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  522. package/node_modules/zod/v4/locales/fr.js +108 -0
  523. package/node_modules/zod/v4/locales/he.cjs +241 -0
  524. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  525. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  526. package/node_modules/zod/v4/locales/he.js +214 -0
  527. package/node_modules/zod/v4/locales/hu.cjs +135 -0
  528. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  529. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  530. package/node_modules/zod/v4/locales/hu.js +108 -0
  531. package/node_modules/zod/v4/locales/hy.cjs +174 -0
  532. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  533. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  534. package/node_modules/zod/v4/locales/hy.js +147 -0
  535. package/node_modules/zod/v4/locales/id.cjs +133 -0
  536. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  537. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  538. package/node_modules/zod/v4/locales/id.js +106 -0
  539. package/node_modules/zod/v4/locales/index.cjs +104 -0
  540. package/node_modules/zod/v4/locales/index.d.cts +49 -0
  541. package/node_modules/zod/v4/locales/index.d.ts +49 -0
  542. package/node_modules/zod/v4/locales/index.js +49 -0
  543. package/node_modules/zod/v4/locales/is.cjs +136 -0
  544. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  545. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  546. package/node_modules/zod/v4/locales/is.js +109 -0
  547. package/node_modules/zod/v4/locales/it.cjs +135 -0
  548. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  549. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  550. package/node_modules/zod/v4/locales/it.js +108 -0
  551. package/node_modules/zod/v4/locales/ja.cjs +134 -0
  552. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  553. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  554. package/node_modules/zod/v4/locales/ja.js +107 -0
  555. package/node_modules/zod/v4/locales/ka.cjs +139 -0
  556. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  557. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  558. package/node_modules/zod/v4/locales/ka.js +112 -0
  559. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  560. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  561. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  562. package/node_modules/zod/v4/locales/kh.js +5 -0
  563. package/node_modules/zod/v4/locales/km.cjs +137 -0
  564. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  565. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  566. package/node_modules/zod/v4/locales/km.js +110 -0
  567. package/node_modules/zod/v4/locales/ko.cjs +138 -0
  568. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  569. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  570. package/node_modules/zod/v4/locales/ko.js +111 -0
  571. package/node_modules/zod/v4/locales/lt.cjs +230 -0
  572. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  573. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  574. package/node_modules/zod/v4/locales/lt.js +203 -0
  575. package/node_modules/zod/v4/locales/mk.cjs +136 -0
  576. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  577. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  578. package/node_modules/zod/v4/locales/mk.js +109 -0
  579. package/node_modules/zod/v4/locales/ms.cjs +134 -0
  580. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  581. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  582. package/node_modules/zod/v4/locales/ms.js +107 -0
  583. package/node_modules/zod/v4/locales/nl.cjs +137 -0
  584. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  585. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  586. package/node_modules/zod/v4/locales/nl.js +110 -0
  587. package/node_modules/zod/v4/locales/no.cjs +135 -0
  588. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  589. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  590. package/node_modules/zod/v4/locales/no.js +108 -0
  591. package/node_modules/zod/v4/locales/ota.cjs +136 -0
  592. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  593. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  594. package/node_modules/zod/v4/locales/ota.js +109 -0
  595. package/node_modules/zod/v4/locales/package.json +6 -0
  596. package/node_modules/zod/v4/locales/pl.cjs +136 -0
  597. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  598. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  599. package/node_modules/zod/v4/locales/pl.js +109 -0
  600. package/node_modules/zod/v4/locales/ps.cjs +141 -0
  601. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  602. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  603. package/node_modules/zod/v4/locales/ps.js +114 -0
  604. package/node_modules/zod/v4/locales/pt.cjs +135 -0
  605. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  606. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  607. package/node_modules/zod/v4/locales/pt.js +108 -0
  608. package/node_modules/zod/v4/locales/ru.cjs +183 -0
  609. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  610. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  611. package/node_modules/zod/v4/locales/ru.js +156 -0
  612. package/node_modules/zod/v4/locales/sl.cjs +136 -0
  613. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  614. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  615. package/node_modules/zod/v4/locales/sl.js +109 -0
  616. package/node_modules/zod/v4/locales/sv.cjs +137 -0
  617. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  618. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  619. package/node_modules/zod/v4/locales/sv.js +110 -0
  620. package/node_modules/zod/v4/locales/ta.cjs +137 -0
  621. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  622. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  623. package/node_modules/zod/v4/locales/ta.js +110 -0
  624. package/node_modules/zod/v4/locales/th.cjs +137 -0
  625. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  626. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  627. package/node_modules/zod/v4/locales/th.js +110 -0
  628. package/node_modules/zod/v4/locales/tr.cjs +132 -0
  629. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  630. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  631. package/node_modules/zod/v4/locales/tr.js +105 -0
  632. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  633. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  634. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  635. package/node_modules/zod/v4/locales/ua.js +5 -0
  636. package/node_modules/zod/v4/locales/uk.cjs +135 -0
  637. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  638. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  639. package/node_modules/zod/v4/locales/uk.js +108 -0
  640. package/node_modules/zod/v4/locales/ur.cjs +137 -0
  641. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  642. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  643. package/node_modules/zod/v4/locales/ur.js +110 -0
  644. package/node_modules/zod/v4/locales/uz.cjs +136 -0
  645. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  646. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  647. package/node_modules/zod/v4/locales/uz.js +109 -0
  648. package/node_modules/zod/v4/locales/vi.cjs +135 -0
  649. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  650. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  651. package/node_modules/zod/v4/locales/vi.js +108 -0
  652. package/node_modules/zod/v4/locales/yo.cjs +134 -0
  653. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  654. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  655. package/node_modules/zod/v4/locales/yo.js +107 -0
  656. package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  657. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  658. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  659. package/node_modules/zod/v4/locales/zh-CN.js +109 -0
  660. package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  661. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  662. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  663. package/node_modules/zod/v4/locales/zh-TW.js +107 -0
  664. package/node_modules/zod/v4/mini/checks.cjs +34 -0
  665. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  666. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  667. package/node_modules/zod/v4/mini/checks.js +1 -0
  668. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  669. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  670. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  671. package/node_modules/zod/v4/mini/coerce.js +22 -0
  672. package/node_modules/zod/v4/mini/external.cjs +63 -0
  673. package/node_modules/zod/v4/mini/external.d.cts +12 -0
  674. package/node_modules/zod/v4/mini/external.d.ts +12 -0
  675. package/node_modules/zod/v4/mini/external.js +14 -0
  676. package/node_modules/zod/v4/mini/index.cjs +32 -0
  677. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  678. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  679. package/node_modules/zod/v4/mini/index.js +3 -0
  680. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  681. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  682. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  683. package/node_modules/zod/v4/mini/iso.js +34 -0
  684. package/node_modules/zod/v4/mini/package.json +6 -0
  685. package/node_modules/zod/v4/mini/parse.cjs +16 -0
  686. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  687. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  688. package/node_modules/zod/v4/mini/parse.js +1 -0
  689. package/node_modules/zod/v4/mini/schemas.cjs +1046 -0
  690. package/node_modules/zod/v4/mini/schemas.d.cts +427 -0
  691. package/node_modules/zod/v4/mini/schemas.d.ts +427 -0
  692. package/node_modules/zod/v4/mini/schemas.js +925 -0
  693. package/node_modules/zod/v4/package.json +6 -0
  694. package/node_modules/zod/v4-mini/index.cjs +32 -0
  695. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  696. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  697. package/node_modules/zod/v4-mini/index.js +3 -0
  698. package/node_modules/zod/v4-mini/package.json +6 -0
  699. package/package.json +11 -10
  700. package/chat/charts/chart/chart.component.d.ts +0 -13
  701. package/chat/chat-message/chat-message.component.d.ts +0 -75
  702. package/chat/chat-settings-v3/chat-settings-v3.component.d.ts +0 -48
  703. package/chat/chat.component.d.ts +0 -387
  704. package/chat/chat.service.d.ts +0 -370
  705. package/chat/custom-elements/components/code-block.component.d.ts +0 -11
  706. package/chat/custom-elements/components/document-reference.component.d.ts +0 -13
  707. package/chat/custom-elements/components/image-reference.component.d.ts +0 -14
  708. package/chat/custom-elements/components/page-reference.component.d.ts +0 -14
  709. package/chat/custom-elements/components/table-tools.component.d.ts +0 -11
  710. package/chat/custom-elements/custom-elements.config.d.ts +0 -2
  711. package/chat/custom-elements/custom-elements.service.d.ts +0 -14
  712. package/chat/debug-message/debug-message-details/debug-message-details.component.d.ts +0 -18
  713. package/chat/debug-message/debug-message.component.d.ts +0 -14
  714. package/chat/debug-message/debug-message.service.d.ts +0 -15
  715. package/chat/dialogs/delete-saved-chat.component.d.ts +0 -22
  716. package/chat/dialogs/rename-saved-chat.component.d.ts +0 -21
  717. package/chat/dialogs/updates.component.d.ts +0 -15
  718. package/chat/documents-upload/document-list/document-list.component.d.ts +0 -64
  719. package/chat/documents-upload/document-overview/document-overview.component.d.ts +0 -17
  720. package/chat/documents-upload/document-upload/document-upload.component.d.ts +0 -91
  721. package/chat/documents-upload/documents-upload.model.d.ts +0 -66
  722. package/chat/documents-upload/documents-upload.service.d.ts +0 -161
  723. package/chat/fetch-patcher/app-injector.d.ts +0 -9
  724. package/chat/fetch-patcher/fetch-patcher.d.ts +0 -31
  725. package/chat/fetch-patcher/global-error-handler.service.d.ts +0 -36
  726. package/chat/fetch-patcher/handle-unauthorized-logic.d.ts +0 -13
  727. package/chat/format-icon/format-icon.component.d.ts +0 -10
  728. package/chat/format-icon/icons.d.ts +0 -5
  729. package/chat/initials-avatar/initials-avatar.component.d.ts +0 -35
  730. package/chat/instance-manager.service.d.ts +0 -28
  731. package/chat/markdown-it/markdown-it.config.d.ts +0 -4
  732. package/chat/markdown-it/plugins/code-block.plugin.d.ts +0 -2
  733. package/chat/markdown-it/plugins/document-reference.plugin.d.ts +0 -8
  734. package/chat/markdown-it/plugins/image-reference.plugin.d.ts +0 -9
  735. package/chat/markdown-it/plugins/link.plugin.d.ts +0 -5
  736. package/chat/markdown-it/plugins/page-reference.plugin.d.ts +0 -9
  737. package/chat/markdown-it/plugins/table-tools.plugin.d.ts +0 -2
  738. package/chat/pipes/message-content.pipe.d.ts +0 -16
  739. package/chat/public-api.d.ts +0 -35
  740. package/chat/references/chat-reference/chat-reference.component.d.ts +0 -24
  741. package/chat/references/chat-reference-image/chat-reference-image.component.d.ts +0 -20
  742. package/chat/references/chat-reference-page/chat-reference-page.component.d.ts +0 -20
  743. package/chat/saved-chats/saved-chats.component.d.ts +0 -37
  744. package/chat/saved-chats/saved-chats.service.d.ts +0 -29
  745. package/chat/services/app.service.d.ts +0 -9
  746. package/chat/services/assistant-configuration.service.d.ts +0 -34
  747. package/chat/services/assistant-metadata.service.d.ts +0 -20
  748. package/chat/services/assistant-tokens-tracking.service.d.ts +0 -23
  749. package/chat/services/assistant-ws-frames.service.d.ts +0 -50
  750. package/chat/services/dialog.service.d.ts +0 -12
  751. package/chat/services/notification.service.d.ts +0 -10
  752. package/chat/services/principal.service.d.ts +0 -7
  753. package/chat/services/search.service.d.ts +0 -7
  754. package/chat/services/signalR-connection.service.d.ts +0 -25
  755. package/chat/services/signalR.web.service.d.ts +0 -35
  756. package/chat/services/ui.service.d.ts +0 -13
  757. package/chat/services/user-settings.service.d.ts +0 -7
  758. package/chat/smart-renderer/smart-renderer.d.ts +0 -25
  759. package/chat/token-progress-bar/token-progress-bar.component.d.ts +0 -24
  760. package/chat/tooltip/tooltip.component.d.ts +0 -12
  761. package/chat/tooltip/tooltip.directive.d.ts +0 -81
  762. package/chat/types/message-content.types.d.ts +0 -54
  763. package/chat/types/message-reference.types.d.ts +0 -14
  764. package/chat/types.d.ts +0 -920
  765. package/chat/utils/assistant-json.d.ts +0 -2
  766. package/chat/utils/utils.service.d.ts +0 -67
  767. package/chat/version.d.ts +0 -1
  768. package/esm2022/chat/charts/chart/chart.component.mjs +0 -40
  769. package/esm2022/chat/chat-message/chat-message.component.mjs +0 -252
  770. package/esm2022/chat/chat-settings-v3/chat-settings-v3.component.mjs +0 -121
  771. package/esm2022/chat/chat.component.mjs +0 -1115
  772. package/esm2022/chat/chat.service.mjs +0 -636
  773. package/esm2022/chat/custom-elements/components/code-block.component.mjs +0 -97
  774. package/esm2022/chat/custom-elements/components/document-reference.component.mjs +0 -85
  775. package/esm2022/chat/custom-elements/components/image-reference.component.mjs +0 -79
  776. package/esm2022/chat/custom-elements/components/page-reference.component.mjs +0 -79
  777. package/esm2022/chat/custom-elements/components/table-tools.component.mjs +0 -111
  778. package/esm2022/chat/custom-elements/custom-elements.config.mjs +0 -6
  779. package/esm2022/chat/custom-elements/custom-elements.service.mjs +0 -35
  780. package/esm2022/chat/debug-message/debug-message-details/debug-message-details.component.mjs +0 -43
  781. package/esm2022/chat/debug-message/debug-message.component.mjs +0 -40
  782. package/esm2022/chat/debug-message/debug-message.service.mjs +0 -49
  783. package/esm2022/chat/dialogs/delete-saved-chat.component.mjs +0 -81
  784. package/esm2022/chat/dialogs/rename-saved-chat.component.mjs +0 -85
  785. package/esm2022/chat/dialogs/updates.component.mjs +0 -61
  786. package/esm2022/chat/documents-upload/document-list/document-list.component.mjs +0 -141
  787. package/esm2022/chat/documents-upload/document-overview/document-overview.component.mjs +0 -42
  788. package/esm2022/chat/documents-upload/document-upload/document-upload.component.mjs +0 -254
  789. package/esm2022/chat/documents-upload/documents-upload.model.mjs +0 -2
  790. package/esm2022/chat/documents-upload/documents-upload.service.mjs +0 -274
  791. package/esm2022/chat/fetch-patcher/app-injector.mjs +0 -19
  792. package/esm2022/chat/fetch-patcher/fetch-patcher.mjs +0 -62
  793. package/esm2022/chat/fetch-patcher/global-error-handler.service.mjs +0 -92
  794. package/esm2022/chat/fetch-patcher/handle-unauthorized-logic.mjs +0 -19
  795. package/esm2022/chat/format-icon/format-icon.component.mjs +0 -23
  796. package/esm2022/chat/format-icon/icons.mjs +0 -138
  797. package/esm2022/chat/initials-avatar/initials-avatar.component.mjs +0 -60
  798. package/esm2022/chat/instance-manager.service.mjs +0 -46
  799. package/esm2022/chat/markdown-it/markdown-it.config.mjs +0 -6
  800. package/esm2022/chat/markdown-it/plugins/code-block.plugin.mjs +0 -14
  801. package/esm2022/chat/markdown-it/plugins/document-reference.plugin.mjs +0 -66
  802. package/esm2022/chat/markdown-it/plugins/image-reference.plugin.mjs +0 -67
  803. package/esm2022/chat/markdown-it/plugins/link.plugin.mjs +0 -15
  804. package/esm2022/chat/markdown-it/plugins/page-reference.plugin.mjs +0 -67
  805. package/esm2022/chat/markdown-it/plugins/table-tools.plugin.mjs +0 -12
  806. package/esm2022/chat/pipes/message-content.pipe.mjs +0 -37
  807. package/esm2022/chat/public-api.mjs +0 -37
  808. package/esm2022/chat/references/chat-reference/chat-reference.component.mjs +0 -72
  809. package/esm2022/chat/references/chat-reference-image/chat-reference-image.component.mjs +0 -42
  810. package/esm2022/chat/references/chat-reference-page/chat-reference-page.component.mjs +0 -42
  811. package/esm2022/chat/saved-chats/saved-chats.component.mjs +0 -115
  812. package/esm2022/chat/saved-chats/saved-chats.service.mjs +0 -170
  813. package/esm2022/chat/services/app.service.mjs +0 -30
  814. package/esm2022/chat/services/assistant-configuration.service.mjs +0 -158
  815. package/esm2022/chat/services/assistant-metadata.service.mjs +0 -85
  816. package/esm2022/chat/services/assistant-tokens-tracking.service.mjs +0 -50
  817. package/esm2022/chat/services/assistant-ws-frames.service.mjs +0 -391
  818. package/esm2022/chat/services/dialog.service.mjs +0 -40
  819. package/esm2022/chat/services/notification.service.mjs +0 -25
  820. package/esm2022/chat/services/principal.service.mjs +0 -16
  821. package/esm2022/chat/services/search.service.mjs +0 -13
  822. package/esm2022/chat/services/signalR-connection.service.mjs +0 -102
  823. package/esm2022/chat/services/signalR.web.service.mjs +0 -69
  824. package/esm2022/chat/services/ui.service.mjs +0 -61
  825. package/esm2022/chat/services/user-settings.service.mjs +0 -25
  826. package/esm2022/chat/sinequa-assistant-chat.mjs +0 -5
  827. package/esm2022/chat/smart-renderer/smart-renderer.mjs +0 -104
  828. package/esm2022/chat/token-progress-bar/token-progress-bar.component.mjs +0 -52
  829. package/esm2022/chat/tooltip/tooltip.component.mjs +0 -44
  830. package/esm2022/chat/tooltip/tooltip.directive.mjs +0 -203
  831. package/esm2022/chat/types/message-content.types.mjs +0 -2
  832. package/esm2022/chat/types/message-reference.types.mjs +0 -2
  833. package/esm2022/chat/types.mjs +0 -130
  834. package/esm2022/chat/utils/assistant-json.mjs +0 -12
  835. package/esm2022/chat/utils/utils.service.mjs +0 -170
  836. package/esm2022/chat/version.mjs +0 -3
  837. package/esm2022/public-api.mjs +0 -3
  838. package/esm2022/sinequa-assistant.mjs +0 -5
  839. package/public-api.d.ts +0 -1
@@ -0,0 +1,6 @@
1
+ {
2
+ "type": "module",
3
+ "main": "./index.cjs",
4
+ "module": "./index.js",
5
+ "types": "./index.d.cts"
6
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.z = void 0;
30
+ const z = __importStar(require("../v4/mini/external.cjs"));
31
+ exports.z = z;
32
+ __exportStar(require("../v4/mini/external.cjs"), exports);
@@ -0,0 +1,3 @@
1
+ import * as z from "../v4/mini/external.cjs";
2
+ export * from "../v4/mini/external.cjs";
3
+ export { z };
@@ -0,0 +1,3 @@
1
+ import * as z from "../v4/mini/external.js";
2
+ export * from "../v4/mini/external.js";
3
+ export { z };
@@ -0,0 +1,3 @@
1
+ import * as z from "../v4/mini/external.js";
2
+ export * from "../v4/mini/external.js";
3
+ export { z };
@@ -0,0 +1,6 @@
1
+ {
2
+ "type": "module",
3
+ "main": "./index.cjs",
4
+ "module": "./index.js",
5
+ "types": "./index.d.cts"
6
+ }
package/package.json CHANGED
@@ -1,11 +1,19 @@
1
1
  {
2
2
  "name": "@sinequa/assistant",
3
- "version": "3.10.4",
3
+ "version": "3.10.10",
4
4
  "author": "Sinequa",
5
5
  "peerDependencies": {
6
6
  "@fortawesome/fontawesome-free": "^6.4.2",
7
7
  "bootstrap": "^5.3.1",
8
- "highlight.js": "^11.7.0"
8
+ "highlight.js": "^11.7.0",
9
+ "zod": "^4.1.9"
10
+ },
11
+ "bundleDependencies": [
12
+ "zod"
13
+ ],
14
+ "dependencies": {
15
+ "tslib": "^2.3.0",
16
+ "zod": "^4.1.9"
9
17
  },
10
18
  "i18n": [
11
19
  {
@@ -58,19 +66,12 @@
58
66
  },
59
67
  ".": {
60
68
  "types": "./index.d.ts",
61
- "esm2022": "./esm2022/sinequa-assistant.mjs",
62
- "esm": "./esm2022/sinequa-assistant.mjs",
63
69
  "default": "./fesm2022/sinequa-assistant.mjs"
64
70
  },
65
71
  "./chat": {
66
72
  "types": "./chat/index.d.ts",
67
- "esm2022": "./esm2022/chat/sinequa-assistant-chat.mjs",
68
- "esm": "./esm2022/chat/sinequa-assistant-chat.mjs",
69
73
  "default": "./fesm2022/sinequa-assistant-chat.mjs"
70
74
  }
71
75
  },
72
- "sideEffects": false,
73
- "dependencies": {
74
- "tslib": "^2.3.0"
75
- }
76
+ "sideEffects": false
76
77
  }
@@ -1,13 +0,0 @@
1
- import { OnChanges, SimpleChanges } from '@angular/core';
2
- import { Chart } from 'chart.js';
3
- import * as i0 from "@angular/core";
4
- export declare class ChartComponent implements OnChanges {
5
- rawChartData: string;
6
- chart: Chart;
7
- private debounceTimer;
8
- constructor();
9
- ngOnChanges(changes: SimpleChanges): void;
10
- private initializeChart;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<ChartComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<ChartComponent, "sq-assistant-chart", never, { "rawChartData": { "alias": "rawChartData"; "required": false; }; }, {}, never, never, true, never>;
13
- }
@@ -1,75 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, SimpleChanges } from "@angular/core";
2
- import { PrincipalService } from "../services/principal.service";
3
- import { UIService } from "../services/ui.service";
4
- import { ChatContextAttachment, ChatMessage, SuggestedAction } from "../types";
5
- import { MessageImageReference } from "../types/message-reference.types";
6
- import * as i0 from "@angular/core";
7
- export declare class ChatMessageComponent implements OnChanges {
8
- ui: UIService;
9
- principalService: PrincipalService;
10
- cdr: ChangeDetectorRef;
11
- el: ElementRef;
12
- id: import("@angular/core").InputSignal<string | undefined>;
13
- message: ChatMessage;
14
- conversation: ChatMessage[];
15
- suggestedActions: SuggestedAction[] | undefined;
16
- assistantMessageIcon: string;
17
- userMessageIcon: string;
18
- connectionErrorMessageIcon: string;
19
- searchWarningMessageIcon: string;
20
- streaming: boolean;
21
- canEdit: boolean;
22
- canRegenerate: boolean;
23
- canCopy: boolean;
24
- canDebug: boolean;
25
- canLike: boolean;
26
- canDislike: boolean;
27
- collapseReferences: boolean;
28
- openDocument: EventEmitter<{
29
- reference: ChatContextAttachment;
30
- }>;
31
- openPreview: EventEmitter<{
32
- reference: ChatContextAttachment;
33
- }>;
34
- suggestAction: EventEmitter<SuggestedAction>;
35
- edit: EventEmitter<ChatMessage>;
36
- copy: EventEmitter<ChatMessage>;
37
- regenerate: EventEmitter<ChatMessage>;
38
- like: EventEmitter<any>;
39
- dislike: EventEmitter<any>;
40
- debug: EventEmitter<ChatMessage>;
41
- refs: import("@angular/core").WritableSignal<number[]>;
42
- references: import("@angular/core").Signal<string[]>;
43
- referenceMap: Map<string, ChatContextAttachment>;
44
- imageReferencesMap: Map<string, MessageImageReference>;
45
- pageReferencesMap: Map<string, MessageImageReference>;
46
- collapseProgress: boolean;
47
- iconSize: number;
48
- hiddenTooltip: boolean;
49
- Array: ArrayConstructor;
50
- constructor(ui: UIService, principalService: PrincipalService, cdr: ChangeDetectorRef, el: ElementRef);
51
- ngOnChanges(changes: SimpleChanges): void;
52
- getEmbeddedImageReference(ref: string): MessageImageReference | undefined;
53
- getEmbeddedPageReference(ref: string): MessageImageReference | undefined;
54
- get name(): string;
55
- get isAdmin(): boolean;
56
- processMessageType(message: ChatMessage): void;
57
- /**
58
- * Processes a reference string by validating and adding it to the set of references if applicable.
59
- *
60
- * - Ignores empty or falsy references.
61
- * - Ignores references that are not numeric.
62
- * - Ignores references that already exist in the set.
63
- * - Converts the reference to a number and adds it to the set of references.
64
- *
65
- * @param ref - The reference string to process.
66
- */
67
- processReferences(ref: string): void;
68
- private _copyToClipboard;
69
- copyMessage(message: ChatMessage): void;
70
- openAttachmentPreview(attachment: ChatContextAttachment): void;
71
- openOriginalAttachment(attachment: ChatContextAttachment): void;
72
- hideTooltip(): void;
73
- static ɵfac: i0.ɵɵFactoryDeclaration<ChatMessageComponent, never>;
74
- static ɵcmp: i0.ɵɵComponentDeclaration<ChatMessageComponent, "sq-chat-message", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; }; "conversation": { "alias": "conversation"; "required": false; }; "suggestedActions": { "alias": "suggestedActions"; "required": false; }; "assistantMessageIcon": { "alias": "assistantMessageIcon"; "required": false; }; "userMessageIcon": { "alias": "userMessageIcon"; "required": false; }; "connectionErrorMessageIcon": { "alias": "connectionErrorMessageIcon"; "required": false; }; "searchWarningMessageIcon": { "alias": "searchWarningMessageIcon"; "required": false; }; "streaming": { "alias": "streaming"; "required": false; }; "canEdit": { "alias": "canEdit"; "required": false; }; "canRegenerate": { "alias": "canRegenerate"; "required": false; }; "canCopy": { "alias": "canCopy"; "required": false; }; "canDebug": { "alias": "canDebug"; "required": false; }; "canLike": { "alias": "canLike"; "required": false; }; "canDislike": { "alias": "canDislike"; "required": false; }; "collapseReferences": { "alias": "collapseReferences"; "required": false; }; }, { "openDocument": "openDocument"; "openPreview": "openPreview"; "suggestAction": "suggestAction"; "edit": "edit"; "copy": "copy"; "regenerate": "regenerate"; "like": "like"; "dislike": "dislike"; "debug": "debug"; }, never, never, true, never>;
75
- }
@@ -1,48 +0,0 @@
1
- import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
2
- import { Subscription } from "rxjs";
3
- import { ChatService } from "../chat.service";
4
- import { InstanceManagerService } from "../instance-manager.service";
5
- import { ChatConfig, GllmModelDescription } from "../types";
6
- import { AppService } from "../services/app.service";
7
- import { PrincipalService } from "../services/principal.service";
8
- import * as i0 from "@angular/core";
9
- export declare class ChatSettingsV3Component implements OnInit, OnDestroy {
10
- /** Define the key based on it, the appropriate chatService instance will be returned from instanceManagerService */
11
- instanceId: string;
12
- _update: EventEmitter<ChatConfig>;
13
- _cancel: EventEmitter<ChatConfig>;
14
- chatService: ChatService;
15
- config: ChatConfig;
16
- subscription: Subscription;
17
- selectedModel: GllmModelDescription | undefined;
18
- functions: {
19
- name: string;
20
- enabled: boolean;
21
- }[];
22
- isAdmin: boolean;
23
- showDebugToggle: boolean;
24
- instanceManagerService: InstanceManagerService;
25
- principalService: PrincipalService;
26
- appService: AppService;
27
- ngOnInit(): void;
28
- ngOnDestroy(): void;
29
- get hasPrompts(): boolean;
30
- get hasAdvancedParameters(): boolean;
31
- get hasModel(): boolean;
32
- instantiateChatService(): void;
33
- onChatModelChange(selectedModel: GllmModelDescription): void;
34
- getFunctionDescription(name: string): string;
35
- toggleFunctionsSelection(name: string): void;
36
- private initFunctionsList;
37
- /**
38
- * Save the new chat config in the chat service and the user preferences
39
- * If the user has never modified the default values, we need to save the hash of the standard default values, as defined by the admin, in order to properly track changes afterwards.
40
- */
41
- save(): Promise<void>;
42
- /**
43
- * Cancel the current changes
44
- */
45
- cancel(): void;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<ChatSettingsV3Component, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<ChatSettingsV3Component, "sq-chat-settings-v3", never, { "instanceId": { "alias": "instanceId"; "required": false; }; }, { "_update": "update"; "_cancel": "cancel"; }, never, never, true, never>;
48
- }
@@ -1,387 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
2
- import { HubConnection } from "@microsoft/signalr";
3
- import { BehaviorSubject } from "rxjs";
4
- import { AppGlobalConfig, Article, Query } from "@sinequa/atomic";
5
- import { ChatService } from "./chat.service";
6
- import { InstanceManagerService } from "./instance-manager.service";
7
- import { NotificationsService } from "./services/notification.service";
8
- import { PrincipalService } from "./services/principal.service";
9
- import { SearchService } from "./services/search.service";
10
- import { ChatConfig, ChatContextAttachment, ChatMessage, DebugMessage, GllmModelDescription, InitChat, MessageHandler, RawMessage, SuggestedAction } from "./types";
11
- import * as i0 from "@angular/core";
12
- export declare class ChatComponent implements OnInit, OnChanges, OnDestroy {
13
- chatService: ChatService;
14
- instanceManagerService: InstanceManagerService;
15
- searchService: SearchService;
16
- principalService: PrincipalService;
17
- cdr: ChangeDetectorRef;
18
- notificationsService: NotificationsService;
19
- private readonly transloco;
20
- private readonly assistantUtils;
21
- private destroyRef;
22
- /** Define the key based on it, the chat service instance will be stored */
23
- instanceId: string;
24
- /** Define the query to use to fetch answers */
25
- query: Query;
26
- /** Function that determines whether the chat should be reloaded after the query changes
27
- * If not provided, the chat will be reloaded by default
28
- * @param prevQuery The previous query
29
- * @param newQuery The new query
30
- * @returns true if the chat should be reloaded, false otherwise
31
- */
32
- queryChangeShouldTriggerReload: (prevQuery: Query, newQuery: Query) => boolean;
33
- /** Map of listeners overriding default registered ones*/
34
- messageHandlers: Map<string, MessageHandler<any>>;
35
- /** When the assistant answer a user question, automatically scroll down to the bottom of the discussion */
36
- automaticScrollToLastResponse: boolean;
37
- /** When the assistant answer a user question, automatically focus to the chat input */
38
- focusAfterResponse: boolean;
39
- /** A chat discussion that the component should get initialized with it */
40
- chat?: InitChat;
41
- /** Icon to use for the assistant messages */
42
- assistantMessageIcon: string;
43
- /** Icon to use for the user messages */
44
- userMessageIcon: string;
45
- /** Icon to use for the connection error messages */
46
- connectionErrorMessageIcon: string;
47
- /** Icon to use for the search warning messages */
48
- searchWarningMessageIcon: string;
49
- additionalWorkflowProperties: Record<string, any>;
50
- /** Used by assistant web component to pass properly init the global config */
51
- appConfig: AppGlobalConfig;
52
- /** Event emitter triggered once the signalR connection is established */
53
- connection: EventEmitter<HubConnection>;
54
- /** Event emitter triggered each time the assistant updates the current chat */
55
- /** Event emitter triggered when the chat is loading new content */
56
- loading$: EventEmitter<boolean>;
57
- /** Emits the assistant configuration used when instantiating the component */
58
- _config: EventEmitter<ChatConfig>;
59
- data: EventEmitter<ChatMessage[]>;
60
- /** Event emitter triggered when the user clicks to open the original document representing the context attachment*/
61
- openDocument: EventEmitter<Article>;
62
- /** Event emitter triggered when the user clicks to open the preview of a document representing the context attachment */
63
- openPreview: EventEmitter<ChatContextAttachment>;
64
- /** Event emitter triggered when the user clicks on a suggested action */
65
- suggestAction: EventEmitter<SuggestedAction>;
66
- /** ViewChild decorators to access the template elements */
67
- questionInput?: ElementRef<HTMLTextAreaElement>;
68
- /** ContentChild decorators allowing the override of the default templates from the parent component */
69
- loadingTpl?: TemplateRef<any>;
70
- reportTpl?: TemplateRef<any>;
71
- tokenConsumptionTpl?: TemplateRef<any>;
72
- debugMessagesTpl?: TemplateRef<any>;
73
- config: ChatConfig;
74
- messages$: BehaviorSubject<ChatMessage[] | undefined>;
75
- isAdminOrDeletedAdmin: boolean;
76
- question: string;
77
- private _dataSubscription;
78
- /** Variables that depend on the type of model in use */
79
- modelDescription?: GllmModelDescription;
80
- indexMessageToEdit?: number;
81
- rankMessageToEdit?: number;
82
- changes$: BehaviorSubject<SimpleChanges | undefined>;
83
- currentMessageIndex: number | undefined;
84
- firstChangesHandled: boolean;
85
- isAtBottom: boolean;
86
- initializationError: boolean;
87
- enabledUserInput: boolean;
88
- isConnected: boolean;
89
- retrialAttempts: number | undefined;
90
- private _isReconnectedListenerRegistered;
91
- issueTypes?: string[];
92
- defaultIssueTypes: string[];
93
- issueType: string;
94
- reportComment?: string;
95
- messageToReport?: ChatMessage;
96
- reportRank?: number;
97
- reportType: 'like' | 'dislike';
98
- showReport: boolean;
99
- debugMessages: DebugMessage[] | undefined;
100
- showDebugMessages: boolean;
101
- private _previousQuery;
102
- private _reloadSubscription;
103
- constructor();
104
- ngOnInit(): void;
105
- ngOnChanges(changes: SimpleChanges): void;
106
- ngOnDestroy(): void;
107
- get isAdmin(): boolean;
108
- /**
109
- * This chat service instance is stored in the instanceManagerService with provided @input instanceId as a key
110
- */
111
- instantiateChatService(): void;
112
- /**
113
- * Handles the changes in the chat component.
114
- * If the chat service is a WebSocketChatService, it handles the override of the message handlers if they exist.
115
- * Initializes the chat with the provided chat messages if they exist, otherwise loads the default chat.
116
- * If the chat is initialized, the initialization event is "Query", the query changes, and the queryChangeShouldTriggerReload function is provided,
117
- * then the chat should be reloaded if the function returns true. Otherwise, the chat should be reloaded by default.
118
- * It takes into account the ongoing streaming process and the ongoing stopping process to trigger that conditionally define the logic
119
- * of the reload :
120
- * - If the chat is streaming, then stop the generation and wait for the fetch to complete before reloading the chat.
121
- * - If the chat is stopping the generation, then wait for the fetch to complete before reloading the chat.
122
- */
123
- private _handleChanges;
124
- /**
125
- * Triggers a reload after the query change.
126
- * This method performs the necessary operations to reload the chat after a query change.
127
- * It sets the system and user messages, resets the savedChatId, generates a new chatId,
128
- * generates a new chat audit event, and handles the query mode.
129
- */
130
- private _triggerReloadAfterQueryChange;
131
- /**
132
- * Adds a scroll listener to the message list element.
133
- * The listener is triggered when any of the following events occur:
134
- * - Loading state changes
135
- * - Messages change
136
- * - Streaming state changes
137
- * - Scroll event occurs on the message list element
138
- *
139
- * When the listener is triggered, it updates the `isAtBottom` property.
140
- */
141
- private _addScrollListener;
142
- /**
143
- * Get the model description based on the defaultValues service_id and model_id
144
- */
145
- updateModelDescription(): void;
146
- /**
147
- * Submits a question from the user.
148
- * If the user is editing a previous message, removes all subsequent messages from the chat history.
149
- * Triggers the fetch of the answer for the submitted question by calling _fetchAnswer().
150
- * Clears the input value in the UI.
151
- * ⚠️ If the chat is streaming or stopping the generation, the operation is not allowed.
152
- */
153
- submitQuestion(): void;
154
- /**
155
- * Triggers the fetch of the answer for the given question and updates the conversation.
156
- * Generates an audit event for the user input.
157
- *
158
- * @param question - The question asked by the user.
159
- * @param conversation - The current conversation messages.
160
- */
161
- private _fetchAnswer;
162
- /**
163
- * Depending on the connection's state :
164
- * - If connected => given a list of messages, the chat endpoint is invoked for a continuation and updates the list of messages accordingly.
165
- * - If any other state => a connection error message is displayed in the chat.
166
- * ⚠️ If the assistant is streaming or stopping the generation, the operation is not allowed.
167
- * @param messages The list of messages to invoke the chat endpoint with
168
- */
169
- fetch(messages: ChatMessage[]): void;
170
- /**
171
- * Retry to fetch the messages if the connection issues.
172
- * - If reconnecting => keep display the connection error message even when clicking on the "retry" button and increasing the number of retrial attempts, until the connection is re-established
173
- * - If disconnected => On click on the "retry" button, start the connection process while displaying the connection error message :
174
- * * If successful => given a list of messages, the chat endpoint is invoked for a continuation and updates the list of messages accordingly.
175
- * * If failed => increase the number of retrial attempts
176
- */
177
- retryFetch(): void;
178
- /**
179
- * Check if the signalR connection is connected.
180
- * For the REST protocol, the connection is always considered connected (for the moment).
181
- */
182
- private _updateConnectionStatus;
183
- /**
184
- * Update the UI with the new messages
185
- * @param messages
186
- */
187
- updateData(messages: ChatMessage[]): void;
188
- /**
189
- * @returns true if the chat discussion is scrolled down to the bottom, false otherwise
190
- */
191
- private _toggleScrollButtonVisibility;
192
- /**
193
- * Scroll down to the bottom of the chat discussion
194
- */
195
- scrollDown(): void;
196
- /**
197
- * Start a new chat with the defaultValues settings.
198
- * The savedChatId in the chat service will be reset, so that the upcoming saved chat operations will be performed on the fresh new chat.
199
- * If the savedChat feature is enabled, the list of saved chats will be refreshed.
200
- * ⚠️ If the assistant is streaming or stopping the generation, the operation is not allowed.
201
- */
202
- newChat(): void;
203
- /**
204
- * Attaches the specified document IDs to the assistant.
205
- * If no document IDs are provided, the operation is not allowed.
206
- * If the action for attaching a document is not defined at the application customization level, an error is logged.
207
- * ⚠️ If the assistant is streaming or stopping the generation, the operation is not allowed.
208
- * @param ids - An array of document IDs to attach.
209
- */
210
- attachToChat(ids: string[]): void;
211
- /**
212
- * Start the default chat with the defaultValues settings
213
- * If the chat is meant to be initialized with event === "Query", the corresponding user query message will be added to the chat history
214
- */
215
- loadDefaultChat(): void;
216
- /**
217
- * Handles the prompt mode of the chat component.
218
- * If `sendUserPrompt` is true, it opens the chat with both system and user messages,
219
- * and generates audit events for both messages.
220
- * If `sendUserPrompt` is false, it opens the chat with only the system message,
221
- * and generates an audit event for the system message.
222
- *
223
- * @param systemMsg - The system message to be displayed in the chat.
224
- * @param userMsg - The user message to be displayed in the chat (optional).
225
- */
226
- private _handlePromptMode;
227
- /**
228
- * Handles the query mode by displaying the system message, user message, and user query message.
229
- * If the provided query text is not empty, then add the user query message to the chat history and invoke the assistant
230
- * Otherwise, just start a new chat with a warning message inviting the user to perform a full text search to retrieve some results
231
- * @param systemMsg - The system message to be displayed.
232
- * @param userMsg - The user message to be displayed.
233
- */
234
- private _handleQueryMode;
235
- private _defineMessageAuditDetails;
236
- /**
237
- * Start/open a new chat with the provided messages and chatId
238
- * If the last message is from the user, a request to the assistant is made to get an answer
239
- * If the last message is from the assistant, the conversation is loaded right away
240
- * @param messages The list of messages of the chat
241
- * @param chatId The id of the discussion. If provided (ie. an existing discussion in the saved chat index), update the chatId in the chat service for the upcoming saved chat operations
242
- */
243
- openChat(messages: RawMessage[], chatId?: string): void;
244
- /**
245
- * Reset the chat by clearing the chat history and the UI accordingly
246
- * The user input will be cleared
247
- * The fetch subscription will be terminated
248
- */
249
- resetChat(): void;
250
- /**
251
- * Fetch and Load the saved chat from the saved chat index.
252
- * If the saved chat is found, the chat discussion will be loaded with the provided messages and chatId
253
- */
254
- onLoadChat(): void;
255
- /**
256
- * Stop the generation of the current assistant's answer.
257
- * The fetch subscription will be terminated.
258
- */
259
- stopGeneration(): void;
260
- /**
261
- * Terminate the fetch process by unsubscribing from the data subscription and updating the loading status to false.
262
- * Additionally, focus on the chat input if the focusAfterResponse flag is set to true.
263
- */
264
- terminateFetch(): void;
265
- /**
266
- * Copy a previous user message of the chat history to the chat user input.
267
- * Thus, the user can edit and resubmit the message.
268
- * Once the edited message is submitted, all subsequent messages starting from @param index will be removed from the history and the UI will be updated accordingly.
269
- * The assistant will regenerate a new answer based on the updated chat history.
270
- * ⚠️ If the assistant is streaming or stopping the generation, the operation is not allowed.
271
- * @param message The user's message to edit
272
- * @param index The index of the user's message to edit
273
- * @returns void
274
- */
275
- editMessage(message: ChatMessage, index: number): void;
276
- /**
277
- * Copy a previous assistant message of the chat history to the clipboard.
278
- * @param message The message to copy
279
- * @param index The index of the message to copy
280
- * @returns void
281
- */
282
- copyMessage(message: ChatMessage, index: number): void;
283
- /**
284
- * Starting from the provided index, remove all subsequent messages from the chat history and the UI accordingly.
285
- * The assistant will regenerate a new answer based on the updated chat history.
286
- * ⚠️ If the assistant is streaming or stopping the generation, the operation is not allowed.
287
- * @param message The assistant's message to regenerate
288
- * @param index The index of the assistant's message to regenerate
289
- */
290
- regenerateMessage(message: ChatMessage, index: number): void;
291
- /**
292
- * Handles the key up event for 'Backspace' and 'Enter' keys.
293
- * @param event - The keyboard event.
294
- */
295
- onKeyUp(event: KeyboardEvent): void;
296
- /**
297
- * Calculates and adjusts the height of the question input element based on its content.
298
- * If the Enter key is pressed without the Shift key, it prevents the default behavior.
299
- * @param event The keyboard event
300
- */
301
- calculateHeight(event?: KeyboardEvent): void;
302
- /**
303
- * Send a "like" event on clicking on the thumb-up icon of an assistant's message
304
- * @param message The assistant message to like
305
- * @param index The index of the message to like
306
- */
307
- onLike(message: ChatMessage, index: number): void;
308
- /**
309
- * Send a "dislike" event on clicking on the thumb-down icon of an assistant's message.
310
- * It also opens the issue reporting dialog.
311
- * @param message The assistant message to dislike
312
- * @param index The rank of the message to dislike
313
- */
314
- onDislike(message: ChatMessage, index: number): void;
315
- private _updateChatHistory;
316
- /**
317
- * Report an issue related to the assistant's message.
318
- */
319
- sendReport(): void;
320
- /**
321
- * Close the reporting dialog.
322
- */
323
- ignoreReport(): void;
324
- /**
325
- * Handle the click on a reference's 'open preview'.
326
- * @param data
327
- * @param message the message containing the reference
328
- * @param index index of the message containing the reference
329
- * @returns void
330
- */
331
- openAttachmentPreview(data: {
332
- reference: ChatContextAttachment;
333
- partId?: number;
334
- }, message: ChatMessage, index: number): void;
335
- /**
336
- * Handle the click on a reference's 'open original document'.
337
- * @param data
338
- * @param message the message containing the reference
339
- * @param index index of the message containing the reference
340
- * @returns void
341
- */
342
- openOriginalAttachment(data: {
343
- reference: ChatContextAttachment;
344
- partId?: number;
345
- }, message: ChatMessage, index: number): void;
346
- /**
347
- * Handle the click on a suggested action.
348
- * @param action Suggested action.
349
- * @param index index of the message containing the suggested action.
350
- * @returns void
351
- */
352
- suggestActionClick(action: SuggestedAction, index: number): void;
353
- /**
354
- * It looks for the debug messages available in the current group of "assistant" messages.
355
- * By design, the debug messages are only available in the first visible message among the group of "assistant" messages.
356
- * @param message The message containing the debug information
357
- * @param index The index of the message
358
- * @returns The debug messages available in the current group of "assistant" messages
359
- */
360
- getDebugMessages(message: ChatMessage, index: number): DebugMessage[];
361
- /**
362
- * Handle the click on the 'show log info' button of a message.
363
- * @param message The message containing the debug information
364
- * @param index The index of the message
365
- */
366
- showDebug(message: ChatMessage, index: number): void;
367
- /**
368
- * Verify whether the current message is an assistant message and that all following messages are assistant ones
369
- * Used to keep the "View progress" opened even though the assistant is sending additional messages after the current one
370
- * @param messages the list of current messages
371
- * @param index the index of the current message
372
- * @returns if this messages and the following ones (if any) are the last ones
373
- */
374
- isAssistantLastMessages(messages: ChatMessage[], index: number): boolean;
375
- /**
376
- * Checks if the given message is an empty assistant message.
377
- * An empty assistant message is defined as a message with the role 'assistant',
378
- * an empty content, and no additional properties such as attachments, progress,
379
- * debug information, or suggested actions.
380
- *
381
- * @param message - The message to check.
382
- * @returns `true` if the message is an empty assistant message, `false` otherwise.
383
- */
384
- isEmptyAssistantMessage(message: ChatMessage | undefined): boolean;
385
- static ɵfac: i0.ɵɵFactoryDeclaration<ChatComponent, never>;
386
- static ɵcmp: i0.ɵɵComponentDeclaration<ChatComponent, "sq-chat-v3", never, { "instanceId": { "alias": "instanceId"; "required": false; }; "query": { "alias": "query"; "required": false; }; "queryChangeShouldTriggerReload": { "alias": "queryChangeShouldTriggerReload"; "required": false; }; "messageHandlers": { "alias": "messageHandlers"; "required": false; }; "automaticScrollToLastResponse": { "alias": "automaticScrollToLastResponse"; "required": false; }; "focusAfterResponse": { "alias": "focusAfterResponse"; "required": false; }; "chat": { "alias": "chat"; "required": false; }; "assistantMessageIcon": { "alias": "assistantMessageIcon"; "required": false; }; "userMessageIcon": { "alias": "userMessageIcon"; "required": false; }; "connectionErrorMessageIcon": { "alias": "connectionErrorMessageIcon"; "required": false; }; "searchWarningMessageIcon": { "alias": "searchWarningMessageIcon"; "required": false; }; "additionalWorkflowProperties": { "alias": "additionalWorkflowProperties"; "required": false; }; "appConfig": { "alias": "appConfig"; "required": false; }; }, { "connection": "connection"; "loading$": "loading"; "_config": "config"; "data": "data"; "openDocument": "openDocument"; "openPreview": "openPreview"; "suggestAction": "suggestAction"; }, ["loadingTpl", "reportTpl", "tokenConsumptionTpl", "debugMessagesTpl"], never, true, never>;
387
- }