@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.
- package/chat/index.d.ts +2155 -3
- package/fesm2022/sinequa-assistant-chat.mjs +764 -593
- package/fesm2022/sinequa-assistant-chat.mjs.map +1 -1
- package/index.d.ts +3 -5
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +208 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +4 -0
- package/node_modules/zod/index.d.ts +4 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +6 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +6 -0
- package/node_modules/zod/package.json +135 -0
- package/node_modules/zod/src/index.ts +4 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/node_modules/zod/src/v4/classic/external.ts +51 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +643 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2409 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +276 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +562 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +365 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +661 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +595 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +734 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +270 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +640 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +223 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +427 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +282 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +632 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +582 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +570 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1175 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2990 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +361 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +183 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +219 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1798 -0
- package/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/zod/src/v4/core/core.ts +138 -0
- package/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/zod/src/v4/core/errors.ts +448 -0
- package/node_modules/zod/src/v4/core/index.ts +16 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +667 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/node_modules/zod/src/v4/core/regexes.ts +183 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +4538 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +83 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +67 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +613 -0
- package/node_modules/zod/src/v4/core/util.ts +966 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/node_modules/zod/src/v4/locales/en.ts +119 -0
- package/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/node_modules/zod/src/v4/locales/fr.ts +116 -0
- package/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/node_modules/zod/src/v4/locales/index.ts +49 -0
- package/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/node_modules/zod/src/v4/locales/uz.ts +116 -0
- package/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +1916 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +529 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +963 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +347 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +6 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3777 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3695 -0
- package/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/zod/v4/classic/errors.js +48 -0
- package/node_modules/zod/v4/classic/external.cjs +73 -0
- package/node_modules/zod/v4/classic/external.d.cts +15 -0
- package/node_modules/zod/v4/classic/external.d.ts +15 -0
- package/node_modules/zod/v4/classic/external.js +20 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +610 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +584 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/package.json +6 -0
- package/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/node_modules/zod/v4/classic/parse.js +15 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1272 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +739 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +739 -0
- package/node_modules/zod/v4/classic/schemas.js +1157 -0
- package/node_modules/zod/v4/core/api.cjs +1222 -0
- package/node_modules/zod/v4/core/api.d.cts +304 -0
- package/node_modules/zod/v4/core/api.d.ts +304 -0
- package/node_modules/zod/v4/core/api.js +1082 -0
- package/node_modules/zod/v4/core/checks.cjs +601 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +575 -0
- package/node_modules/zod/v4/core/core.cjs +83 -0
- package/node_modules/zod/v4/core/core.d.cts +70 -0
- package/node_modules/zod/v4/core/core.d.ts +70 -0
- package/node_modules/zod/v4/core/core.js +76 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +213 -0
- package/node_modules/zod/v4/core/errors.d.cts +220 -0
- package/node_modules/zod/v4/core/errors.d.ts +220 -0
- package/node_modules/zod/v4/core/errors.js +182 -0
- package/node_modules/zod/v4/core/index.cjs +47 -0
- package/node_modules/zod/v4/core/index.d.cts +16 -0
- package/node_modules/zod/v4/core/index.d.ts +16 -0
- package/node_modules/zod/v4/core/index.js +16 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +648 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +605 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/package.json +6 -0
- package/node_modules/zod/v4/core/parse.cjs +131 -0
- package/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/node_modules/zod/v4/core/parse.js +93 -0
- package/node_modules/zod/v4/core/regexes.cjs +166 -0
- package/node_modules/zod/v4/core/regexes.d.cts +79 -0
- package/node_modules/zod/v4/core/regexes.d.ts +79 -0
- package/node_modules/zod/v4/core/regexes.js +133 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2124 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1146 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1146 -0
- package/node_modules/zod/v4/core/schemas.js +2093 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +446 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.js +437 -0
- package/node_modules/zod/v4/core/util.cjs +710 -0
- package/node_modules/zod/v4/core/util.d.cts +199 -0
- package/node_modules/zod/v4/core/util.d.ts +199 -0
- package/node_modules/zod/v4/core/util.js +651 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +106 -0
- package/node_modules/zod/v4/locales/az.cjs +132 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +105 -0
- package/node_modules/zod/v4/locales/be.cjs +183 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +156 -0
- package/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +120 -0
- package/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +107 -0
- package/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +111 -0
- package/node_modules/zod/v4/locales/da.cjs +142 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +115 -0
- package/node_modules/zod/v4/locales/de.cjs +135 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +108 -0
- package/node_modules/zod/v4/locales/en.cjs +136 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +109 -0
- package/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +109 -0
- package/node_modules/zod/v4/locales/es.cjs +159 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +132 -0
- package/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +114 -0
- package/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +112 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/node_modules/zod/v4/locales/fr.cjs +135 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +108 -0
- package/node_modules/zod/v4/locales/he.cjs +241 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +214 -0
- package/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +108 -0
- package/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +147 -0
- package/node_modules/zod/v4/locales/id.cjs +133 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +106 -0
- package/node_modules/zod/v4/locales/index.cjs +104 -0
- package/node_modules/zod/v4/locales/index.d.cts +49 -0
- package/node_modules/zod/v4/locales/index.d.ts +49 -0
- package/node_modules/zod/v4/locales/index.js +49 -0
- package/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +109 -0
- package/node_modules/zod/v4/locales/it.cjs +135 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +108 -0
- package/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +107 -0
- package/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +112 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +137 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +110 -0
- package/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +111 -0
- package/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +203 -0
- package/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +109 -0
- package/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +107 -0
- package/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +110 -0
- package/node_modules/zod/v4/locales/no.cjs +135 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +108 -0
- package/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +109 -0
- package/node_modules/zod/v4/locales/package.json +6 -0
- package/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +109 -0
- package/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +114 -0
- package/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +108 -0
- package/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +156 -0
- package/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +109 -0
- package/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +110 -0
- package/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +110 -0
- package/node_modules/zod/v4/locales/th.cjs +137 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +110 -0
- package/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +105 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +108 -0
- package/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +110 -0
- package/node_modules/zod/v4/locales/uz.cjs +136 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +109 -0
- package/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +108 -0
- package/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +107 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/external.cjs +63 -0
- package/node_modules/zod/v4/mini/external.d.cts +12 -0
- package/node_modules/zod/v4/mini/external.d.ts +12 -0
- package/node_modules/zod/v4/mini/external.js +14 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +6 -0
- package/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1046 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +427 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +427 -0
- package/node_modules/zod/v4/mini/schemas.js +925 -0
- package/node_modules/zod/v4/package.json +6 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +6 -0
- package/package.json +11 -10
- package/chat/charts/chart/chart.component.d.ts +0 -13
- package/chat/chat-message/chat-message.component.d.ts +0 -75
- package/chat/chat-settings-v3/chat-settings-v3.component.d.ts +0 -48
- package/chat/chat.component.d.ts +0 -387
- package/chat/chat.service.d.ts +0 -370
- package/chat/custom-elements/components/code-block.component.d.ts +0 -11
- package/chat/custom-elements/components/document-reference.component.d.ts +0 -13
- package/chat/custom-elements/components/image-reference.component.d.ts +0 -14
- package/chat/custom-elements/components/page-reference.component.d.ts +0 -14
- package/chat/custom-elements/components/table-tools.component.d.ts +0 -11
- package/chat/custom-elements/custom-elements.config.d.ts +0 -2
- package/chat/custom-elements/custom-elements.service.d.ts +0 -14
- package/chat/debug-message/debug-message-details/debug-message-details.component.d.ts +0 -18
- package/chat/debug-message/debug-message.component.d.ts +0 -14
- package/chat/debug-message/debug-message.service.d.ts +0 -15
- package/chat/dialogs/delete-saved-chat.component.d.ts +0 -22
- package/chat/dialogs/rename-saved-chat.component.d.ts +0 -21
- package/chat/dialogs/updates.component.d.ts +0 -15
- package/chat/documents-upload/document-list/document-list.component.d.ts +0 -64
- package/chat/documents-upload/document-overview/document-overview.component.d.ts +0 -17
- package/chat/documents-upload/document-upload/document-upload.component.d.ts +0 -91
- package/chat/documents-upload/documents-upload.model.d.ts +0 -66
- package/chat/documents-upload/documents-upload.service.d.ts +0 -161
- package/chat/fetch-patcher/app-injector.d.ts +0 -9
- package/chat/fetch-patcher/fetch-patcher.d.ts +0 -31
- package/chat/fetch-patcher/global-error-handler.service.d.ts +0 -36
- package/chat/fetch-patcher/handle-unauthorized-logic.d.ts +0 -13
- package/chat/format-icon/format-icon.component.d.ts +0 -10
- package/chat/format-icon/icons.d.ts +0 -5
- package/chat/initials-avatar/initials-avatar.component.d.ts +0 -35
- package/chat/instance-manager.service.d.ts +0 -28
- package/chat/markdown-it/markdown-it.config.d.ts +0 -4
- package/chat/markdown-it/plugins/code-block.plugin.d.ts +0 -2
- package/chat/markdown-it/plugins/document-reference.plugin.d.ts +0 -8
- package/chat/markdown-it/plugins/image-reference.plugin.d.ts +0 -9
- package/chat/markdown-it/plugins/link.plugin.d.ts +0 -5
- package/chat/markdown-it/plugins/page-reference.plugin.d.ts +0 -9
- package/chat/markdown-it/plugins/table-tools.plugin.d.ts +0 -2
- package/chat/pipes/message-content.pipe.d.ts +0 -16
- package/chat/public-api.d.ts +0 -35
- package/chat/references/chat-reference/chat-reference.component.d.ts +0 -24
- package/chat/references/chat-reference-image/chat-reference-image.component.d.ts +0 -20
- package/chat/references/chat-reference-page/chat-reference-page.component.d.ts +0 -20
- package/chat/saved-chats/saved-chats.component.d.ts +0 -37
- package/chat/saved-chats/saved-chats.service.d.ts +0 -29
- package/chat/services/app.service.d.ts +0 -9
- package/chat/services/assistant-configuration.service.d.ts +0 -34
- package/chat/services/assistant-metadata.service.d.ts +0 -20
- package/chat/services/assistant-tokens-tracking.service.d.ts +0 -23
- package/chat/services/assistant-ws-frames.service.d.ts +0 -50
- package/chat/services/dialog.service.d.ts +0 -12
- package/chat/services/notification.service.d.ts +0 -10
- package/chat/services/principal.service.d.ts +0 -7
- package/chat/services/search.service.d.ts +0 -7
- package/chat/services/signalR-connection.service.d.ts +0 -25
- package/chat/services/signalR.web.service.d.ts +0 -35
- package/chat/services/ui.service.d.ts +0 -13
- package/chat/services/user-settings.service.d.ts +0 -7
- package/chat/smart-renderer/smart-renderer.d.ts +0 -25
- package/chat/token-progress-bar/token-progress-bar.component.d.ts +0 -24
- package/chat/tooltip/tooltip.component.d.ts +0 -12
- package/chat/tooltip/tooltip.directive.d.ts +0 -81
- package/chat/types/message-content.types.d.ts +0 -54
- package/chat/types/message-reference.types.d.ts +0 -14
- package/chat/types.d.ts +0 -920
- package/chat/utils/assistant-json.d.ts +0 -2
- package/chat/utils/utils.service.d.ts +0 -67
- package/chat/version.d.ts +0 -1
- package/esm2022/chat/charts/chart/chart.component.mjs +0 -40
- package/esm2022/chat/chat-message/chat-message.component.mjs +0 -252
- package/esm2022/chat/chat-settings-v3/chat-settings-v3.component.mjs +0 -121
- package/esm2022/chat/chat.component.mjs +0 -1115
- package/esm2022/chat/chat.service.mjs +0 -636
- package/esm2022/chat/custom-elements/components/code-block.component.mjs +0 -97
- package/esm2022/chat/custom-elements/components/document-reference.component.mjs +0 -85
- package/esm2022/chat/custom-elements/components/image-reference.component.mjs +0 -79
- package/esm2022/chat/custom-elements/components/page-reference.component.mjs +0 -79
- package/esm2022/chat/custom-elements/components/table-tools.component.mjs +0 -111
- package/esm2022/chat/custom-elements/custom-elements.config.mjs +0 -6
- package/esm2022/chat/custom-elements/custom-elements.service.mjs +0 -35
- package/esm2022/chat/debug-message/debug-message-details/debug-message-details.component.mjs +0 -43
- package/esm2022/chat/debug-message/debug-message.component.mjs +0 -40
- package/esm2022/chat/debug-message/debug-message.service.mjs +0 -49
- package/esm2022/chat/dialogs/delete-saved-chat.component.mjs +0 -81
- package/esm2022/chat/dialogs/rename-saved-chat.component.mjs +0 -85
- package/esm2022/chat/dialogs/updates.component.mjs +0 -61
- package/esm2022/chat/documents-upload/document-list/document-list.component.mjs +0 -141
- package/esm2022/chat/documents-upload/document-overview/document-overview.component.mjs +0 -42
- package/esm2022/chat/documents-upload/document-upload/document-upload.component.mjs +0 -254
- package/esm2022/chat/documents-upload/documents-upload.model.mjs +0 -2
- package/esm2022/chat/documents-upload/documents-upload.service.mjs +0 -274
- package/esm2022/chat/fetch-patcher/app-injector.mjs +0 -19
- package/esm2022/chat/fetch-patcher/fetch-patcher.mjs +0 -62
- package/esm2022/chat/fetch-patcher/global-error-handler.service.mjs +0 -92
- package/esm2022/chat/fetch-patcher/handle-unauthorized-logic.mjs +0 -19
- package/esm2022/chat/format-icon/format-icon.component.mjs +0 -23
- package/esm2022/chat/format-icon/icons.mjs +0 -138
- package/esm2022/chat/initials-avatar/initials-avatar.component.mjs +0 -60
- package/esm2022/chat/instance-manager.service.mjs +0 -46
- package/esm2022/chat/markdown-it/markdown-it.config.mjs +0 -6
- package/esm2022/chat/markdown-it/plugins/code-block.plugin.mjs +0 -14
- package/esm2022/chat/markdown-it/plugins/document-reference.plugin.mjs +0 -66
- package/esm2022/chat/markdown-it/plugins/image-reference.plugin.mjs +0 -67
- package/esm2022/chat/markdown-it/plugins/link.plugin.mjs +0 -15
- package/esm2022/chat/markdown-it/plugins/page-reference.plugin.mjs +0 -67
- package/esm2022/chat/markdown-it/plugins/table-tools.plugin.mjs +0 -12
- package/esm2022/chat/pipes/message-content.pipe.mjs +0 -37
- package/esm2022/chat/public-api.mjs +0 -37
- package/esm2022/chat/references/chat-reference/chat-reference.component.mjs +0 -72
- package/esm2022/chat/references/chat-reference-image/chat-reference-image.component.mjs +0 -42
- package/esm2022/chat/references/chat-reference-page/chat-reference-page.component.mjs +0 -42
- package/esm2022/chat/saved-chats/saved-chats.component.mjs +0 -115
- package/esm2022/chat/saved-chats/saved-chats.service.mjs +0 -170
- package/esm2022/chat/services/app.service.mjs +0 -30
- package/esm2022/chat/services/assistant-configuration.service.mjs +0 -158
- package/esm2022/chat/services/assistant-metadata.service.mjs +0 -85
- package/esm2022/chat/services/assistant-tokens-tracking.service.mjs +0 -50
- package/esm2022/chat/services/assistant-ws-frames.service.mjs +0 -391
- package/esm2022/chat/services/dialog.service.mjs +0 -40
- package/esm2022/chat/services/notification.service.mjs +0 -25
- package/esm2022/chat/services/principal.service.mjs +0 -16
- package/esm2022/chat/services/search.service.mjs +0 -13
- package/esm2022/chat/services/signalR-connection.service.mjs +0 -102
- package/esm2022/chat/services/signalR.web.service.mjs +0 -69
- package/esm2022/chat/services/ui.service.mjs +0 -61
- package/esm2022/chat/services/user-settings.service.mjs +0 -25
- package/esm2022/chat/sinequa-assistant-chat.mjs +0 -5
- package/esm2022/chat/smart-renderer/smart-renderer.mjs +0 -104
- package/esm2022/chat/token-progress-bar/token-progress-bar.component.mjs +0 -52
- package/esm2022/chat/tooltip/tooltip.component.mjs +0 -44
- package/esm2022/chat/tooltip/tooltip.directive.mjs +0 -203
- package/esm2022/chat/types/message-content.types.mjs +0 -2
- package/esm2022/chat/types/message-reference.types.mjs +0 -2
- package/esm2022/chat/types.mjs +0 -130
- package/esm2022/chat/utils/assistant-json.mjs +0 -12
- package/esm2022/chat/utils/utils.service.mjs +0 -170
- package/esm2022/chat/version.mjs +0 -3
- package/esm2022/public-api.mjs +0 -3
- package/esm2022/sinequa-assistant.mjs +0 -5
- package/public-api.d.ts +0 -1
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
|
-
import { DocumentPart, RawAttachment } from "../../types";
|
|
3
|
-
import { MessageImageReference } from "../../types/message-reference.types";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ChatReferenceImageComponent {
|
|
6
|
-
readonly id: import("@angular/core").InputSignal<string>;
|
|
7
|
-
readonly ref: import("@angular/core").InputSignal<MessageImageReference>;
|
|
8
|
-
readonly openPreview: import("@angular/core").OutputEmitterRef<Omit<RawAttachment, "type"> & {
|
|
9
|
-
$partId: number;
|
|
10
|
-
parts: DocumentPart[];
|
|
11
|
-
}>;
|
|
12
|
-
readonly openDocument: import("@angular/core").OutputEmitterRef<Omit<RawAttachment, "type">>;
|
|
13
|
-
readonly openModal: import("@angular/core").OutputEmitterRef<void>;
|
|
14
|
-
readonly modalTpl: import("@angular/core").Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
15
|
-
previewClicked(): void;
|
|
16
|
-
documentClicked(): void;
|
|
17
|
-
modalClicked(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChatReferenceImageComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChatReferenceImageComponent, "ChatReferenceImage", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; "ref": { "alias": "ref"; "required": true; "isSignal": true; }; }, { "openPreview": "openPreview"; "openDocument": "openDocument"; "openModal": "openModal"; }, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
|
-
import { DocumentPart, RawAttachment } from "../../types";
|
|
3
|
-
import { MessageImageReference } from "../../types/message-reference.types";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ChatReferencePageComponent {
|
|
6
|
-
readonly id: import("@angular/core").InputSignal<string>;
|
|
7
|
-
readonly ref: import("@angular/core").InputSignal<MessageImageReference>;
|
|
8
|
-
readonly openPreview: import("@angular/core").OutputEmitterRef<Omit<RawAttachment, "type"> & {
|
|
9
|
-
$partId: number;
|
|
10
|
-
parts: DocumentPart[];
|
|
11
|
-
}>;
|
|
12
|
-
readonly openDocument: import("@angular/core").OutputEmitterRef<Omit<RawAttachment, "type">>;
|
|
13
|
-
readonly openModal: import("@angular/core").OutputEmitterRef<void>;
|
|
14
|
-
readonly modalTpl: import("@angular/core").Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
15
|
-
previewClicked(): void;
|
|
16
|
-
documentClicked(): void;
|
|
17
|
-
modalClicked(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChatReferencePageComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChatReferencePageComponent, "ChatReferencePage", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; "ref": { "alias": "ref"; "required": true; "isSignal": true; }; }, { "openPreview": "openPreview"; "openDocument": "openDocument"; "openModal": "openModal"; }, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import { BehaviorSubject, Subscription } from "rxjs";
|
|
3
|
-
import { ChatService } from "../chat.service";
|
|
4
|
-
import { InstanceManagerService } from "../instance-manager.service";
|
|
5
|
-
import { NotificationsService } from "../services/notification.service";
|
|
6
|
-
import { SavedChat } from "../types";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SavedChatsComponent implements OnInit, OnDestroy {
|
|
9
|
-
/** Define the key based on it, the appropriate chatService instance will be returned from instanceManagerService */
|
|
10
|
-
instanceId: string;
|
|
11
|
-
load: EventEmitter<SavedChat>;
|
|
12
|
-
delete: EventEmitter<SavedChat>;
|
|
13
|
-
chatService: ChatService;
|
|
14
|
-
subscription: Subscription;
|
|
15
|
-
groupedSavedChats$: BehaviorSubject<{
|
|
16
|
-
key: string;
|
|
17
|
-
value: SavedChat[];
|
|
18
|
-
}[]>;
|
|
19
|
-
queryWebserviceForSearch?: string;
|
|
20
|
-
private searchQuery;
|
|
21
|
-
private searchText;
|
|
22
|
-
private searchText$;
|
|
23
|
-
instanceManagerService: InstanceManagerService;
|
|
24
|
-
notificationsService: NotificationsService;
|
|
25
|
-
private readonly transloco;
|
|
26
|
-
private readonly assistantUtils;
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
onSearch(event: Event): void;
|
|
30
|
-
instantiateChatService(): void;
|
|
31
|
-
onListSavedChat(): void;
|
|
32
|
-
onLoad(savedChat: SavedChat): void;
|
|
33
|
-
private _groupSavedChatsByDate;
|
|
34
|
-
private searchSavedChats;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SavedChatsComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SavedChatsComponent, "sq-saved-chats-v3", never, { "instanceId": { "alias": "instanceId"; "required": false; }; }, { "load": "load"; "delete": "delete"; }, never, never, true, never>;
|
|
37
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { ChatMessage, DeleteSavedChatResponse, SavedChat, SavedChatHistory, SavedChatResponse } from '../types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface SavedChatsOperationConfig {
|
|
5
|
-
getAppName: () => string;
|
|
6
|
-
getInstanceId: () => string;
|
|
7
|
-
getRestUrl: () => string;
|
|
8
|
-
getDebugFlag: () => boolean;
|
|
9
|
-
isSavedChatsEnabled: () => boolean;
|
|
10
|
-
setSavedChatsErrorStatus: (hasError: boolean) => void;
|
|
11
|
-
updateSavedChatsList: (chats: SavedChat[]) => void;
|
|
12
|
-
generateAuditEvent: (type: string, details: Record<string, any>, id?: string) => Promise<void>;
|
|
13
|
-
}
|
|
14
|
-
export declare class SavedChatsService {
|
|
15
|
-
private operationConfig;
|
|
16
|
-
private readonly notificationsService;
|
|
17
|
-
private readonly transloco;
|
|
18
|
-
constructor();
|
|
19
|
-
init(config: SavedChatsOperationConfig): void;
|
|
20
|
-
private ensureInitialized;
|
|
21
|
-
listChats(): Promise<void>;
|
|
22
|
-
getChatById(id: string): Observable<SavedChatHistory | undefined>;
|
|
23
|
-
addChat(id: string, messages: ChatMessage[]): Observable<SavedChatResponse>;
|
|
24
|
-
updateChat(id: string, name?: string, messages?: ChatMessage[]): Observable<SavedChatResponse>;
|
|
25
|
-
deleteChat(ids: string[]): Observable<DeleteSavedChatResponse>;
|
|
26
|
-
isExistingChat(id: string): Observable<boolean>;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SavedChatsService, never>;
|
|
28
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SavedChatsService>;
|
|
29
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CCApp } from "@sinequa/atomic";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AppService {
|
|
4
|
-
app: CCApp | undefined;
|
|
5
|
-
init(): Promise<void>;
|
|
6
|
-
get appName(): string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AppService>;
|
|
9
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ChatConfig } from '../types';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface AssistantConfigurationOperationContext {
|
|
4
|
-
getChatInstanceId: () => string;
|
|
5
|
-
getChatId: () => string;
|
|
6
|
-
getAssistantConfigValue: () => ChatConfig | undefined;
|
|
7
|
-
setAssistantConfig: (config: ChatConfig | undefined) => void;
|
|
8
|
-
setWSRequestsUrl: (url: string) => void;
|
|
9
|
-
setRESTRequestsUrl: (url: string) => void;
|
|
10
|
-
setInitConfigStatus: (status: boolean) => void;
|
|
11
|
-
generateAuditEvent: (type: string, details: Record<string, any>, id?: string) => Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
export declare class AssistantConfigurationService {
|
|
14
|
-
private context;
|
|
15
|
-
private appService;
|
|
16
|
-
private userSettingsService;
|
|
17
|
-
private principalService;
|
|
18
|
-
private modalService;
|
|
19
|
-
private notificationsService;
|
|
20
|
-
private transloco;
|
|
21
|
-
constructor();
|
|
22
|
-
init(context: AssistantConfigurationOperationContext): void;
|
|
23
|
-
private ensureInitialized;
|
|
24
|
-
getAssistantsSetting(): any;
|
|
25
|
-
initChatConfig(): Promise<void>;
|
|
26
|
-
updateChatConfig(config: ChatConfig, hashes?: {
|
|
27
|
-
"applied-defaultValues-hash"?: string;
|
|
28
|
-
"skipped-defaultValues-hash"?: string;
|
|
29
|
-
}, notify?: boolean, successCallback?: () => any, errorCallback?: () => any): void;
|
|
30
|
-
getWSRequestsUrl(): void;
|
|
31
|
-
getRESTRequestsUrl(): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AssistantConfigurationService, never>;
|
|
33
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AssistantConfigurationService>;
|
|
34
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { ChatConfig, GllmFunction, GllmModelDescription, PluginVersion } from '../types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface AssistantMetadataOperationContext {
|
|
5
|
-
getRestUrl: () => string;
|
|
6
|
-
getAssistantConfigValue: () => ChatConfig | undefined;
|
|
7
|
-
setModels: (models: GllmModelDescription[] | undefined) => void;
|
|
8
|
-
setFunctions: (functions: GllmFunction[] | undefined) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare class AssistantMetadataService {
|
|
11
|
-
private context;
|
|
12
|
-
init(context: AssistantMetadataOperationContext): void;
|
|
13
|
-
private ensureInitialized;
|
|
14
|
-
listModels(): Observable<GllmModelDescription[] | undefined>;
|
|
15
|
-
listFunctions(): Observable<GllmFunction[] | undefined>;
|
|
16
|
-
getPluginVersion(): Observable<PluginVersion | undefined>;
|
|
17
|
-
getSinequaESVersion(): Observable<string | undefined>;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AssistantMetadataService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AssistantMetadataService>;
|
|
20
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ChatConfig, ChatUsageMetrics, GllmModelDescription, Quota, TokenConsumption, UserTokenConsumption } from '../types';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface AssistantTokensTrackingOperationContext {
|
|
4
|
-
getAssistantConfigValue: () => ChatConfig | undefined;
|
|
5
|
-
setQuota: (quota: Quota | undefined) => void;
|
|
6
|
-
setUserTokenConsumption: (consumption: UserTokenConsumption | undefined) => void;
|
|
7
|
-
setChatUsageMetrics: (metrics: ChatUsageMetrics | undefined) => void;
|
|
8
|
-
setChatTokenConsumption: (consumption: TokenConsumption | undefined) => void;
|
|
9
|
-
generateAuditEvent: (type: string, details: Record<string, any>, id?: string) => Promise<void>;
|
|
10
|
-
getModel: (serviceId: string, modelId: string) => GllmModelDescription | undefined;
|
|
11
|
-
}
|
|
12
|
-
export declare class AssistantTokensTrackingService {
|
|
13
|
-
private context;
|
|
14
|
-
private assistantUtils;
|
|
15
|
-
private notificationsService;
|
|
16
|
-
constructor();
|
|
17
|
-
init(context: AssistantTokensTrackingOperationContext): void;
|
|
18
|
-
private ensureInitialized;
|
|
19
|
-
updateQuota(quota: Quota, propagateError?: boolean): void;
|
|
20
|
-
updateChatUsageMetrics(chatUsageMetrics: ChatUsageMetrics): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AssistantTokensTrackingService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AssistantTokensTrackingService>;
|
|
23
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { HubConnection } from '@microsoft/signalr';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { Query } from "@sinequa/atomic";
|
|
4
|
-
import { ChatConfig, ChatMessage, ChatResponse, ChatUsageMetrics, MessageHandler, Quota, SavedChatResponse } from '../types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface AssistantWsFramesContext {
|
|
7
|
-
getAssistantConfig: () => ChatConfig | undefined;
|
|
8
|
-
getChatInstanceId: () => string;
|
|
9
|
-
getChatId: () => string;
|
|
10
|
-
getHubConnection: () => HubConnection | undefined;
|
|
11
|
-
getChatHistory: () => ChatMessage[] | undefined;
|
|
12
|
-
setStreamingStatus: (isStreaming: boolean) => void;
|
|
13
|
-
setChatHistory: (history: ChatMessage[] | undefined) => void;
|
|
14
|
-
setStoppingGenerationStatus: (isStopping: boolean) => void;
|
|
15
|
-
setSavedChatsErrorStatus: (hasError: boolean) => void;
|
|
16
|
-
updateQuota: (quota: Quota, propagateError?: boolean) => void;
|
|
17
|
-
updateChatUsageMetrics: (metrics: ChatUsageMetrics) => void;
|
|
18
|
-
generateAuditEvent: (type: string, details: Record<string, any>, id?: string) => Promise<void>;
|
|
19
|
-
addSavedChat: (id: string, messages: ChatMessage[]) => Observable<SavedChatResponse>;
|
|
20
|
-
updateSavedChat: (id: string, name?: string, messages?: ChatMessage[]) => Observable<SavedChatResponse>;
|
|
21
|
-
listSavedChat: () => void;
|
|
22
|
-
isExistingSavedChat: (id: string) => Observable<boolean>;
|
|
23
|
-
}
|
|
24
|
-
export declare class AssistantWsFramesService {
|
|
25
|
-
private context;
|
|
26
|
-
private appService;
|
|
27
|
-
private transloco;
|
|
28
|
-
private assistantUtils;
|
|
29
|
-
private notificationsService;
|
|
30
|
-
private _messageHandlers;
|
|
31
|
-
private _response;
|
|
32
|
-
private _actionMap;
|
|
33
|
-
private _progress;
|
|
34
|
-
private _executionTime;
|
|
35
|
-
private _executionTimeMilliseconds?;
|
|
36
|
-
private _attachments;
|
|
37
|
-
private _debugMessages;
|
|
38
|
-
init(context: AssistantWsFramesContext): void;
|
|
39
|
-
private ensureInitialized;
|
|
40
|
-
fetch(messages: ChatMessage[], query: Query): Observable<ChatResponse>;
|
|
41
|
-
initMessageHandlers(): void;
|
|
42
|
-
overrideMessageHandlers<T>(_messageHandlers: Map<string, MessageHandler<T>>): void;
|
|
43
|
-
addMessageHandler<T>(eventName: string, eventHandler: MessageHandler<T>): void;
|
|
44
|
-
registerMessageHandler<T>(eventName: string, eventHandler: MessageHandler<T>): void;
|
|
45
|
-
removeMessageHandler(eventName: string): void;
|
|
46
|
-
unsubscribeMessageHandler(eventName: string): void;
|
|
47
|
-
stopGeneration(): Observable<boolean>;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AssistantWsFramesService, never>;
|
|
49
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AssistantWsFramesService>;
|
|
50
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentRef, Type } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export type DialogEvent = 'dialog-close' | 'dialog-cancel' | 'dialog-confirm' | 'dialog-no' | 'dialog-yes';
|
|
4
|
-
export declare class DialogService {
|
|
5
|
-
private appRef;
|
|
6
|
-
protected dialogRef?: ComponentRef<any>;
|
|
7
|
-
constructor(appRef: ApplicationRef);
|
|
8
|
-
open<T>(componentType: Type<T>): Promise<DialogEvent>;
|
|
9
|
-
protected removeDialog(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
12
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export type NotificationType = "success" | "warning" | "error";
|
|
3
|
-
export declare class NotificationsService {
|
|
4
|
-
success(message: string, title?: string): void;
|
|
5
|
-
warning(message: string, title?: string): void;
|
|
6
|
-
error(message: string, title?: string): void;
|
|
7
|
-
private dispatchEvent;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsService>;
|
|
10
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Principal } from "@sinequa/atomic";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PrincipalService {
|
|
4
|
-
principal: Principal;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PrincipalService, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PrincipalService>;
|
|
7
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { HubConnection } from '@microsoft/signalr';
|
|
2
|
-
import { ConnectionOptions } from './signalR.web.service';
|
|
3
|
-
import { ChatConfig } from '../types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export interface SignalRConnectionOperationConfig {
|
|
6
|
-
getWsRequestUrl: () => string;
|
|
7
|
-
getAssistantConfigValue: () => ChatConfig | undefined;
|
|
8
|
-
getHubConnection: () => HubConnection | undefined;
|
|
9
|
-
setHubConnection: (connection: HubConnection | undefined) => void;
|
|
10
|
-
}
|
|
11
|
-
export declare class SignalRConnectionService {
|
|
12
|
-
private operationConfig;
|
|
13
|
-
private signalRWebService;
|
|
14
|
-
private assistantUtils;
|
|
15
|
-
init(config: SignalRConnectionOperationConfig): void;
|
|
16
|
-
private ensureInitialized;
|
|
17
|
-
private _getLogLevel;
|
|
18
|
-
private _getTransports;
|
|
19
|
-
private getDefaultOptions;
|
|
20
|
-
buildConnection(options?: ConnectionOptions): Promise<void>;
|
|
21
|
-
startConnection(): Promise<void>;
|
|
22
|
-
stopConnection(): Promise<void>;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SignalRConnectionService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SignalRConnectionService>;
|
|
25
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { LogLevel, HubConnection, MessageHeaders, HttpTransportType, ITransport } from '@microsoft/signalr';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface ConnectionOptions {
|
|
4
|
-
withCredentials?: boolean;
|
|
5
|
-
headers?: MessageHeaders;
|
|
6
|
-
transport?: HttpTransportType | ITransport;
|
|
7
|
-
skipNegotiation?: boolean;
|
|
8
|
-
accessTokenFactory?: () => string | Promise<string>;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* A service to connect the Sinequa server to the client via SignalR
|
|
12
|
-
*/
|
|
13
|
-
export declare class SignalRWebService {
|
|
14
|
-
/**
|
|
15
|
-
* Builds a SignalR connection to the given endpoint
|
|
16
|
-
* @param endpointName Name of the endpoint to connect to
|
|
17
|
-
* @param options Options for the connection. It must overrides the default options
|
|
18
|
-
* @param logLevel The log level for the connection
|
|
19
|
-
* @param automaticReconnect Whether the connection should automatically attempt to reconnect
|
|
20
|
-
* @returns A SignalR connection
|
|
21
|
-
*/
|
|
22
|
-
buildConnection(endpointName: string, options: ConnectionOptions, logLevel?: LogLevel, automaticReconnect?: boolean): HubConnection;
|
|
23
|
-
/**
|
|
24
|
-
* Starts a SignalR connection.
|
|
25
|
-
* @param connection A SignalR connection
|
|
26
|
-
*/
|
|
27
|
-
startConnection(connection: HubConnection | undefined): Promise<void>;
|
|
28
|
-
/**
|
|
29
|
-
* Stops a SignalR connection.
|
|
30
|
-
* @param connection A SignalR connection
|
|
31
|
-
*/
|
|
32
|
-
stopConnection(connection: HubConnection | undefined): Promise<void>;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SignalRWebService, never>;
|
|
34
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SignalRWebService>;
|
|
35
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Clipboard } from "@angular/cdk/clipboard";
|
|
2
|
-
import { NotificationsService } from "./notification.service";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class UIService {
|
|
5
|
-
notificationsService: NotificationsService;
|
|
6
|
-
clipboard: Clipboard;
|
|
7
|
-
private readonly transloco;
|
|
8
|
-
copyToClipboard(data: string, maxLength?: number): void;
|
|
9
|
-
copyToClipboardCdk(data: string, maxLength?: number): void;
|
|
10
|
-
notifySuccess(message: string, maxLength?: number): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UIService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UIService>;
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class UserSettingsWebService {
|
|
3
|
-
userSettings: {};
|
|
4
|
-
patch(data: any): import("rxjs").Observable<unknown>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserSettingsWebService, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserSettingsWebService>;
|
|
7
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { DomSanitizer } from "@angular/platform-browser";
|
|
2
|
-
import "prismjs-components-importer/esm";
|
|
3
|
-
import "prismjs/plugins/autoloader/prism-autoloader";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SafeHtmlPipe {
|
|
6
|
-
private sanitizer;
|
|
7
|
-
constructor(sanitizer: DomSanitizer);
|
|
8
|
-
transform(html: any): import("@angular/platform-browser").SafeHtml;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", true>;
|
|
11
|
-
}
|
|
12
|
-
export declare class SmartRendererComponent {
|
|
13
|
-
readonly message: import("@angular/core").InputSignal<string>;
|
|
14
|
-
readonly context: import("@angular/core").InputSignal<any>;
|
|
15
|
-
readonly safe: import("@angular/core").WritableSignal<string>;
|
|
16
|
-
readonly processing: import("@angular/core").WritableSignal<string>;
|
|
17
|
-
private lastSliceIndex;
|
|
18
|
-
private localSliceIndex;
|
|
19
|
-
private readonly _markdownItPlugins;
|
|
20
|
-
constructor();
|
|
21
|
-
private createMarkdownItInstance;
|
|
22
|
-
messageUpdated(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartRendererComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartRendererComponent, "SmartRenderer", never, { "message": { "alias": "message"; "required": false; "isSignal": true; }; "context": { "alias": "context"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { 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 } from '../types';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class TokenProgressBarComponent implements OnInit, OnDestroy {
|
|
8
|
-
/** Define the key based on it, the appropriate chatService instance will be returned from instanceManagerService */
|
|
9
|
-
instanceId: string;
|
|
10
|
-
chatService: ChatService;
|
|
11
|
-
config: ChatConfig;
|
|
12
|
-
subscription: Subscription;
|
|
13
|
-
userPercentage?: number;
|
|
14
|
-
userTokensResetDate?: string;
|
|
15
|
-
chatPercentage?: number;
|
|
16
|
-
instanceManagerService: InstanceManagerService;
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
ngOnDestroy(): void;
|
|
19
|
-
instantiateChatService(): void;
|
|
20
|
-
onUserTokensConsumption(): void;
|
|
21
|
-
onChatTokensConsumption(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TokenProgressBarComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TokenProgressBarComponent, "sq-token-progress-bar", never, { "instanceId": { "alias": "instanceId"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Internal component that wraps the tooltip's content
|
|
5
|
-
*/
|
|
6
|
-
export declare class TooltipComponent<T = string> {
|
|
7
|
-
data?: T;
|
|
8
|
-
template?: TemplateRef<any>;
|
|
9
|
-
tooltipClass?: string;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent<any>, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent<any>, "sqx-tooltip", never, {}, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { ConnectedPosition, Overlay, OverlayPositionBuilder } from "@angular/cdk/overlay";
|
|
2
|
-
import { ElementRef, OnDestroy, TemplateRef } from "@angular/core";
|
|
3
|
-
import { Observable } from "rxjs";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export type Placement = "top" | "bottom" | "right" | "left";
|
|
6
|
-
/**
|
|
7
|
-
* Directive that attaches a tooltip to the host element
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* <div sqTooltip="This is a tooltip's text"></div>
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* // A template can be passed to the directive instead of a string. Here 'tooltip' is a template reference
|
|
14
|
-
* <div sqTooltip="tooltip"></div>
|
|
15
|
-
*
|
|
16
|
-
* <ng-template #tooltip>
|
|
17
|
-
* <h2>Title</h2>
|
|
18
|
-
* <p>{{ "this is a comment" | uppercase }}</p>
|
|
19
|
-
* <h3>Other text</h3>
|
|
20
|
-
* </ng-template>
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* //HTML can be used directly (not recommanded)
|
|
24
|
-
* <div sqTooltip="<h1>Title</h1><br><p>This is a comment</p>"></div>
|
|
25
|
-
*/
|
|
26
|
-
export declare class TooltipDirective<TooltipData = undefined, TooltipDisplay = string> implements OnDestroy {
|
|
27
|
-
private overlay;
|
|
28
|
-
private overlayPositionBuilder;
|
|
29
|
-
private elementRef;
|
|
30
|
-
/**
|
|
31
|
-
* Defining a property called textOrTemplate that can be a string, a function that
|
|
32
|
-
* returns an Observable of a string or undefined, or a TemplateRef.
|
|
33
|
-
*/
|
|
34
|
-
value?: TooltipDisplay | ((data?: TooltipData) => Observable<TooltipDisplay | undefined> | undefined);
|
|
35
|
-
data?: TooltipData;
|
|
36
|
-
template?: TemplateRef<any>;
|
|
37
|
-
/**
|
|
38
|
-
* Setting the default value of the placement property to `bottom`
|
|
39
|
-
*/
|
|
40
|
-
placement: Placement;
|
|
41
|
-
/**
|
|
42
|
-
* List of fallback placement if *Placement* defined can't be applyied
|
|
43
|
-
*/
|
|
44
|
-
fallbackPlacements: Placement[];
|
|
45
|
-
/**
|
|
46
|
-
* Delay in millisecond before showing/hiding the tooltip.
|
|
47
|
-
*
|
|
48
|
-
* Default value is 300ms
|
|
49
|
-
*/
|
|
50
|
-
delay: number;
|
|
51
|
-
/**
|
|
52
|
-
* If the tooltip should stay opened on hover
|
|
53
|
-
*/
|
|
54
|
-
hoverableTooltip: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Custom class for the tooltip
|
|
57
|
-
*/
|
|
58
|
-
tooltipClass?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Applies the "has-tooltip" class to its host when displayed (Angular 20 host directive syntax)
|
|
61
|
-
*/
|
|
62
|
-
hasTooltip: boolean;
|
|
63
|
-
private overlayRef;
|
|
64
|
-
private subscription?;
|
|
65
|
-
private clearTimeout?;
|
|
66
|
-
static activeTooltip?: TooltipDirective<any, any>;
|
|
67
|
-
constructor(overlay: Overlay, overlayPositionBuilder: OverlayPositionBuilder, elementRef: ElementRef);
|
|
68
|
-
ngOnDestroy(): void;
|
|
69
|
-
show(): void;
|
|
70
|
-
mouseClick(): void;
|
|
71
|
-
hide(): void;
|
|
72
|
-
cancelHide(): void;
|
|
73
|
-
/**
|
|
74
|
-
* Clear timeout function and detach overlayRef
|
|
75
|
-
*/
|
|
76
|
-
clear(): void;
|
|
77
|
-
position(placement?: Placement): ConnectedPosition;
|
|
78
|
-
fallbackPositions(): ConnectedPosition[];
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective<any, any>, never>;
|
|
80
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective<any, any>, "[sqTooltip]", never, { "value": { "alias": "sqTooltip"; "required": false; }; "data": { "alias": "sqTooltipData"; "required": false; }; "template": { "alias": "sqTooltipTemplate"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "fallbackPlacements": { "alias": "fallbackPlacements"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; "hoverableTooltip": { "alias": "hoverableTooltip"; "required": false; }; "tooltipClass": { "alias": "tooltipClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
81
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/** Supported message type */
|
|
2
|
-
export type MessageType = "text" | "image" | "video";
|
|
3
|
-
/** Generic message content schema */
|
|
4
|
-
export type MessageContent = {
|
|
5
|
-
type: MessageType;
|
|
6
|
-
};
|
|
7
|
-
/** Text specific message content */
|
|
8
|
-
export type TextMessageContent = MessageContent & {
|
|
9
|
-
type: "text";
|
|
10
|
-
text: string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Image specific message content
|
|
14
|
-
* Images can be:
|
|
15
|
-
* - Pageshot: Image from a page (offset, length, pageNumber, remappedOffset, remappedLength)
|
|
16
|
-
* - Base64: Image encoded in base64 (base64)
|
|
17
|
-
* - External URL: Image from an URL (isFromDC = false)
|
|
18
|
-
* - Document cache: Image from an indexed document (isFromDC = true)
|
|
19
|
-
*/
|
|
20
|
-
export type ImageMessageContent = MessageContent & {
|
|
21
|
-
type: "image";
|
|
22
|
-
imageData: {
|
|
23
|
-
$type: "base64" | "url";
|
|
24
|
-
mimeType: string;
|
|
25
|
-
name: string;
|
|
26
|
-
base64?: string;
|
|
27
|
-
description?: string;
|
|
28
|
-
isFromDC?: true;
|
|
29
|
-
length?: number;
|
|
30
|
-
offSet?: number;
|
|
31
|
-
pageNumber?: number;
|
|
32
|
-
remappedLength?: number;
|
|
33
|
-
remappedOffset?: number;
|
|
34
|
-
url?: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Video specific message content
|
|
39
|
-
* Image correspond to the send image to the LLM and can be used as thumbnail
|
|
40
|
-
*/
|
|
41
|
-
export type VideoMessageContent = MessageContent & {
|
|
42
|
-
type: "video";
|
|
43
|
-
videoData: {
|
|
44
|
-
name: string;
|
|
45
|
-
description: string;
|
|
46
|
-
fileName: string;
|
|
47
|
-
imageMimeType: string;
|
|
48
|
-
imageUrl: string;
|
|
49
|
-
videoMimeType: string;
|
|
50
|
-
videoUrl: string;
|
|
51
|
-
timeCode: number;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
export type RawMessageContent = string | MessageContent[];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Article } from "@sinequa/atomic";
|
|
2
|
-
import { DocumentPart } from "../types";
|
|
3
|
-
/** Type of a context image reference */
|
|
4
|
-
export type MessageImageReference = {
|
|
5
|
-
name?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
url?: string;
|
|
8
|
-
type?: string;
|
|
9
|
-
mimeType?: string;
|
|
10
|
-
article?: Article;
|
|
11
|
-
articleId?: string;
|
|
12
|
-
$partId?: number;
|
|
13
|
-
parts?: DocumentPart[];
|
|
14
|
-
};
|