@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
package/chat/chat.service.d.ts
DELETED
|
@@ -1,370 +0,0 @@
|
|
|
1
|
-
import { TranslocoService } from "@jsverse/transloco";
|
|
2
|
-
import { BehaviorSubject, Observable } from "rxjs";
|
|
3
|
-
import { HubConnection } from "@microsoft/signalr";
|
|
4
|
-
import { Query } from "@sinequa/atomic";
|
|
5
|
-
import { AppService } from "./services/app.service";
|
|
6
|
-
import { NotificationsService } from "./services/notification.service";
|
|
7
|
-
import { PrincipalService } from "./services/principal.service";
|
|
8
|
-
import { UserSettingsWebService } from "./services/user-settings.service";
|
|
9
|
-
import { ChatConfig, ChatMessage, ChatResponse, ChatUsageMetrics, DebugMessage, DeleteSavedChatResponse, GllmFunction, GllmModelDescription, KvObject, ListObject, MessageHandler, PluginVersion, Quota, SavedChat, SavedChatHistory, SavedChatResponse, TokenConsumption, UserTokenConsumption } from "./types";
|
|
10
|
-
import { ConnectionOptions } from "./services/signalR.web.service";
|
|
11
|
-
import { AssistantUtils } from "./utils/utils.service";
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export declare class ChatService {
|
|
14
|
-
/** Name of the assistant websocket endpoint. */
|
|
15
|
-
WS_REQUEST_URL: string;
|
|
16
|
-
/** Name of the assistant REST endpoint. */
|
|
17
|
-
REST_REQUEST_URL: string;
|
|
18
|
-
/** SignalR connection instance */
|
|
19
|
-
connection: HubConnection | undefined;
|
|
20
|
-
/** Emit true once the initialization of the assistant process is done. */
|
|
21
|
-
initProcess$: BehaviorSubject<boolean>;
|
|
22
|
-
/** Emit true once the initialization of the assistant config is done. */
|
|
23
|
-
initConfig$: BehaviorSubject<boolean>;
|
|
24
|
-
/** Emit the global configuration of the assistant. */
|
|
25
|
-
assistantConfig$: BehaviorSubject<ChatConfig | undefined>;
|
|
26
|
-
/** Emit true if the user has been overridden, false otherwise. */
|
|
27
|
-
userOverride$: BehaviorSubject<boolean | undefined>;
|
|
28
|
-
/**
|
|
29
|
-
* Emit true if the fetch of an assistant's response is ongoing (it includes Streaming status of the assistant endpoint AND saving the discussion if save Chat is enabled).
|
|
30
|
-
* This is used to prevent multiple fetches at the same time.
|
|
31
|
-
* Typically, there is no problem chaining fetches, but when forcing a reload after query changes cases, it can't be allowed because it breaks the whole business logic.
|
|
32
|
-
*/
|
|
33
|
-
streaming$: BehaviorSubject<boolean>;
|
|
34
|
-
/** Store the messages history of the current chat. */
|
|
35
|
-
chatHistory: ChatMessage[] | undefined;
|
|
36
|
-
/** List of models available on the server. */
|
|
37
|
-
models: GllmModelDescription[] | undefined;
|
|
38
|
-
/** List of functions available on the server. */
|
|
39
|
-
functions: GllmFunction[] | undefined;
|
|
40
|
-
/** List of saved chats. */
|
|
41
|
-
savedChats$: BehaviorSubject<SavedChat[]>;
|
|
42
|
-
/** Whether there is an error with saved chats. */
|
|
43
|
-
savedChatsError$: BehaviorSubject<boolean>;
|
|
44
|
-
/** Emit the saved chat to load. */
|
|
45
|
-
loadSavedChat$: BehaviorSubject<SavedChat | undefined>;
|
|
46
|
-
/** Emit the quota each time the chat is invoked. */
|
|
47
|
-
quota$: BehaviorSubject<Quota | undefined>;
|
|
48
|
-
/** Emit the calculated user's token consumption based on the quota. */
|
|
49
|
-
userTokenConsumption$: BehaviorSubject<UserTokenConsumption | undefined>;
|
|
50
|
-
/** Emit the chat usage metrics each time the generation of the assistant response is completed. */
|
|
51
|
-
chatUsageMetrics$: BehaviorSubject<ChatUsageMetrics | undefined>;
|
|
52
|
-
/** Emit the calculated chat's token consumption based on the chat usage metrics. */
|
|
53
|
-
chatTokenConsumption$: BehaviorSubject<TokenConsumption | undefined>;
|
|
54
|
-
/** Emit true if "CancelTasks" is ongoing. */
|
|
55
|
-
stoppingGeneration$: BehaviorSubject<boolean>;
|
|
56
|
-
/** Instance ID of the chat service defining the assistant instance. */
|
|
57
|
-
private _chatInstanceId;
|
|
58
|
-
/** Generated GUID for the current chat discussion used to save/get/delete it and identify audit events. */
|
|
59
|
-
private _chatId;
|
|
60
|
-
userSettingsService: UserSettingsWebService;
|
|
61
|
-
notificationsService: NotificationsService;
|
|
62
|
-
appService: AppService;
|
|
63
|
-
principalService: PrincipalService;
|
|
64
|
-
assistantUtils: AssistantUtils;
|
|
65
|
-
private savedChatsService;
|
|
66
|
-
private signalRConnectionService;
|
|
67
|
-
private assistantConfigurationService;
|
|
68
|
-
private assistantMetadataService;
|
|
69
|
-
private assistantTokensTrackingService;
|
|
70
|
-
private debugMessageService;
|
|
71
|
-
private assistantWsFramesService;
|
|
72
|
-
protected readonly transloco: TranslocoService;
|
|
73
|
-
/**
|
|
74
|
-
* Initialize the assistant process.
|
|
75
|
-
* It includes building and starting a connection, executing parallel requests for models and functions, and handling errors during the process.
|
|
76
|
-
* ⚠️ This method MUST be called ONLY if the user is loggedIn and once when the assistant is initialized.
|
|
77
|
-
*
|
|
78
|
-
* @returns An Observable<boolean> indicating the success of the initialization process.
|
|
79
|
-
*/
|
|
80
|
-
init(): Observable<boolean>;
|
|
81
|
-
/**
|
|
82
|
-
* Define the endpoint to use for the websocket requests
|
|
83
|
-
* It can be overridden by the app config
|
|
84
|
-
*/
|
|
85
|
-
getWSRequestsUrl(): void;
|
|
86
|
-
/**
|
|
87
|
-
* Define the endpoint to use for the http requests
|
|
88
|
-
* It can be overridden by the app config
|
|
89
|
-
*/
|
|
90
|
-
getRESTRequestsUrl(): void;
|
|
91
|
-
/**
|
|
92
|
-
* Retrieves the plugin version information.
|
|
93
|
-
* @returns An Observable of PluginVersion or undefined.
|
|
94
|
-
*/
|
|
95
|
-
getPluginVersion(): Observable<PluginVersion | undefined>;
|
|
96
|
-
/**
|
|
97
|
-
* Retrieves the Sinequa Enterprise Search version.
|
|
98
|
-
* @returns The Sinequa Enterprise Search version as a string, or undefined if not available.
|
|
99
|
-
*/
|
|
100
|
-
getSinequaESVersion(): Observable<string | undefined>;
|
|
101
|
-
/**
|
|
102
|
-
* Checks and logs the version alignment between the Angular library, plugin, and Sinequa ES.
|
|
103
|
-
* It fetches the plugin and Sinequa ES versions in parallel and logs the information to the console.
|
|
104
|
-
*/
|
|
105
|
-
checkVersionAlignment(): Observable<any>;
|
|
106
|
-
/**
|
|
107
|
-
* Initializes the SavedChatsService with the necessary configuration.
|
|
108
|
-
*
|
|
109
|
-
* This method sets up the `SavedChatsService` by providing it with a configuration object
|
|
110
|
-
* (`SavedChatsOperationConfig`) that includes various callbacks and properties required
|
|
111
|
-
* for its operation. The initialization will only proceed if both `assistantConfig$` and
|
|
112
|
-
* `REST_REQUEST_URL` are available.
|
|
113
|
-
*
|
|
114
|
-
* The configuration object includes:
|
|
115
|
-
* - Application name retrieval.
|
|
116
|
-
* - Instance ID retrieval.
|
|
117
|
-
* - REST API URL retrieval.
|
|
118
|
-
* - Debug flag retrieval.
|
|
119
|
-
* - Chat ID for new saves.
|
|
120
|
-
* - Saved chats enablement check.
|
|
121
|
-
* - Methods for setting a saved chat ID, updating the saved chats list, and generating audit events.
|
|
122
|
-
*
|
|
123
|
-
* If the required dependencies are not ready, an error is logged to the console.
|
|
124
|
-
*
|
|
125
|
-
* @private
|
|
126
|
-
*/
|
|
127
|
-
private _initSavedChatsService;
|
|
128
|
-
/**
|
|
129
|
-
* Initializes the SignalR connection service with the necessary configuration.
|
|
130
|
-
*
|
|
131
|
-
* This method ensures that the SignalR connection service is properly set up
|
|
132
|
-
* by providing it with the required configuration values, such as the WebSocket
|
|
133
|
-
* request URL and assistant configuration. It also manages the SignalR hub connection
|
|
134
|
-
* instance.
|
|
135
|
-
*
|
|
136
|
-
* Preconditions:
|
|
137
|
-
* - `assistantConfig$.value` must be available.
|
|
138
|
-
* - `WS_REQUEST_URL` must be defined.
|
|
139
|
-
*
|
|
140
|
-
* If these preconditions are not met, an error is logged to the console.
|
|
141
|
-
*
|
|
142
|
-
* @private
|
|
143
|
-
*/
|
|
144
|
-
private _initSignalRConnectionService;
|
|
145
|
-
/**
|
|
146
|
-
* Initializes the Assistant Configuration Service with the necessary operation context.
|
|
147
|
-
* This method sets up the configuration context by providing various utility functions
|
|
148
|
-
* and state management mechanisms required for the assistant's configuration operations.
|
|
149
|
-
*
|
|
150
|
-
* The operation context includes:
|
|
151
|
-
* - Methods to retrieve chat instance and chat IDs.
|
|
152
|
-
* - Methods to get and set assistant configuration values.
|
|
153
|
-
* - Methods to set WebSocket and REST request URLs.
|
|
154
|
-
* - Methods to update the initialization configuration status.
|
|
155
|
-
* - A method to generate audit events for tracking operations.
|
|
156
|
-
*
|
|
157
|
-
* @private
|
|
158
|
-
*/
|
|
159
|
-
private _initAssistantConfigurationService;
|
|
160
|
-
/**
|
|
161
|
-
* Initializes the AssistantMetadataService with the necessary operation context.
|
|
162
|
-
*
|
|
163
|
-
* This method checks if the `assistantConfig$` value and `REST_REQUEST_URL` are available.
|
|
164
|
-
* If both are ready, it creates an `AssistantMetadataOperationContext` object and
|
|
165
|
-
* initializes the `assistantMetadataService` with it. The operation context provides
|
|
166
|
-
* methods to retrieve the REST URL, assistant configuration, and to set models and functions.
|
|
167
|
-
*
|
|
168
|
-
* If the required values are not ready, an error is logged to the console.
|
|
169
|
-
*
|
|
170
|
-
* @private
|
|
171
|
-
*/
|
|
172
|
-
private _initAssistantMetadataService;
|
|
173
|
-
/**
|
|
174
|
-
* Initializes the Assistant Tokens Tracking Service with the necessary operation context.
|
|
175
|
-
* This method sets up the service by providing it with functions to manage quotas,
|
|
176
|
-
* token consumption, usage metrics, and audit events, as well as access to assistant configuration
|
|
177
|
-
* and model retrieval.
|
|
178
|
-
*
|
|
179
|
-
* The initialization will only proceed if the assistant configuration is available.
|
|
180
|
-
* If the configuration is not ready, an error message is logged to the console.
|
|
181
|
-
*
|
|
182
|
-
* @private
|
|
183
|
-
*/
|
|
184
|
-
private _initAssistantTokensTrackingService;
|
|
185
|
-
/**
|
|
186
|
-
* Initializes the Assistant WebSocket Frames Service with the necessary operation context.
|
|
187
|
-
* This method sets up the required dependencies and configuration for the service to function properly.
|
|
188
|
-
* It ensures that the assistant configuration and connection are available before initializing the service.
|
|
189
|
-
*
|
|
190
|
-
* The operation context provides various utility functions and state management methods, including:
|
|
191
|
-
* - Accessing the assistant configuration, chat instance ID, saved chat ID, and chat history.
|
|
192
|
-
* - Managing streaming and stopping generation statuses.
|
|
193
|
-
* - Updating quota and chat usage metrics.
|
|
194
|
-
* - Generating audit events.
|
|
195
|
-
* - Managing saved chats (adding, updating, and listing).
|
|
196
|
-
*
|
|
197
|
-
* If the required dependencies (`assistantConfig$` and `connection`) are not ready, an error is logged.
|
|
198
|
-
*
|
|
199
|
-
* @private
|
|
200
|
-
*/
|
|
201
|
-
private _initAssistantWsFramesService;
|
|
202
|
-
private _initDebugMessageService;
|
|
203
|
-
get assistants(): any;
|
|
204
|
-
/**
|
|
205
|
-
* Get the instance ID of the chat service
|
|
206
|
-
* @returns The instance ID of the chat service
|
|
207
|
-
*/
|
|
208
|
-
get chatInstanceId(): string;
|
|
209
|
-
/**
|
|
210
|
-
* Persist the instance ID of the chat service
|
|
211
|
-
* @param instanceId The instance ID of the chat service
|
|
212
|
-
*/
|
|
213
|
-
setChatInstanceId(instanceId: string): void;
|
|
214
|
-
/**
|
|
215
|
-
* Get the ID of the current chat discussion which is used to save/get/delete the discussion and identify audit events
|
|
216
|
-
* @returns The ID of the current chat discussion
|
|
217
|
-
*/
|
|
218
|
-
get chatId(): string;
|
|
219
|
-
/**
|
|
220
|
-
* Generate an GUID for the current chat discussion which is used to save/get/delete it and identify audit events
|
|
221
|
-
* @param chatId if provided, it will be considered as the ID of the current chat discussion which is used to identify audit events
|
|
222
|
-
*/
|
|
223
|
-
generateChatId(chatId?: string): void;
|
|
224
|
-
/**
|
|
225
|
-
* Initialize the chat config by managing ONLY sub-object **defaultValues** configs of the standard app config (defined in the customization json tab ) and the user preferences.
|
|
226
|
-
* To do so, a tracking mechanism is implemented to notify the user about the available updates in the defaultValues object of the standard app config.
|
|
227
|
-
* The rest of the config object coming from "standard app config" is used as it is without any override.
|
|
228
|
-
* Thus, the user preferences are used only for the defaultValues object.
|
|
229
|
-
* This provide a centralized way to manage the rest of the config object by admins and ensure a unique common behavior for all users.
|
|
230
|
-
*/
|
|
231
|
-
initChatConfig(): Promise<void>;
|
|
232
|
-
/**
|
|
233
|
-
* Update the chat config and store its defaultValues in the user preferences
|
|
234
|
-
* @param config The updated chat config
|
|
235
|
-
* @param hashes The updated hashes to store in the user preferences
|
|
236
|
-
* @param notify Whether to notify the user about the update
|
|
237
|
-
* @param successCallback The callback to execute if the update is successful
|
|
238
|
-
* @param errorCallback The callback to execute if the update fails
|
|
239
|
-
*/
|
|
240
|
-
updateChatConfig(config: ChatConfig, hashes?: {
|
|
241
|
-
"applied-defaultValues-hash"?: string;
|
|
242
|
-
"skipped-defaultValues-hash"?: string;
|
|
243
|
-
}, notify?: boolean, successCallback?: () => any, errorCallback?: () => any): void;
|
|
244
|
-
/**
|
|
245
|
-
* Overrides the logged in user
|
|
246
|
-
*/
|
|
247
|
-
overrideUser(): void;
|
|
248
|
-
/**
|
|
249
|
-
* Calls the Fetch API to retrieve a new message given all previous messages
|
|
250
|
-
*/
|
|
251
|
-
fetch(messages: ChatMessage[], query: Query): Observable<ChatResponse>;
|
|
252
|
-
/**
|
|
253
|
-
* Return the list of models available on the server
|
|
254
|
-
*/
|
|
255
|
-
listModels(): Observable<GllmModelDescription[] | undefined>;
|
|
256
|
-
/**
|
|
257
|
-
* Return the list of functions available on the server AND matching enabled functions in the chat config
|
|
258
|
-
*/
|
|
259
|
-
listFunctions(): Observable<GllmFunction[] | undefined>;
|
|
260
|
-
/**
|
|
261
|
-
* Stops the assistant answer generation and cancels all the ongoing and pending related tasks
|
|
262
|
-
*/
|
|
263
|
-
stopGeneration(): Observable<boolean>;
|
|
264
|
-
/**
|
|
265
|
-
* A handler for quota updates each time the chat is invoked.
|
|
266
|
-
* It emits the updated quota to the quota$ subject, emits accordingly the updated user's tokens consumption and notifies the user if the max quota is reached.
|
|
267
|
-
* @param quota The updated quota
|
|
268
|
-
* @param propagateError Whether to propagate the error to the caller
|
|
269
|
-
*/
|
|
270
|
-
updateQuota(quota: Quota, propagateError?: boolean): void;
|
|
271
|
-
/**
|
|
272
|
-
* A handler for chat usage metrics each time the generation of the assistant response is completed.
|
|
273
|
-
* It emits the chat usage metrics to the chatUsageMetrics$ subject, emits accordingly the updated chat's tokens consumption
|
|
274
|
-
* @param chatUsageMetrics The chat usage metrics
|
|
275
|
-
*/
|
|
276
|
-
updateChatUsageMetrics(chatUsageMetrics: ChatUsageMetrics): void;
|
|
277
|
-
/**
|
|
278
|
-
* Get the model description for the given (serviceId + modelId)
|
|
279
|
-
* If a model is not found, an error message is returned
|
|
280
|
-
* @param serviceId The serviceId of the model
|
|
281
|
-
* @param modelId The modelId of the model
|
|
282
|
-
* @returns The model description
|
|
283
|
-
*/
|
|
284
|
-
getModel(serviceId: string, modelId: string): GllmModelDescription | undefined;
|
|
285
|
-
/**
|
|
286
|
-
* Fetch the list saved chats belonging to a specific instance of the assistant
|
|
287
|
-
*/
|
|
288
|
-
listSavedChat(): void;
|
|
289
|
-
/**
|
|
290
|
-
* Return the saved chat with the given id, if exists. Otherwise, return undefined
|
|
291
|
-
* @param id The id of the saved chat
|
|
292
|
-
*/
|
|
293
|
-
getSavedChat(id: string): Observable<SavedChatHistory | undefined>;
|
|
294
|
-
/**
|
|
295
|
-
* Check if a saved chat with the given id already exists
|
|
296
|
-
* @param id The id of the saved chat
|
|
297
|
-
* @returns True if the saved chat exists, false otherwise
|
|
298
|
-
*/
|
|
299
|
-
isExistingSavedChat(id: string): Observable<boolean>;
|
|
300
|
-
/**
|
|
301
|
-
* Save a chat with the given messages
|
|
302
|
-
* @param messages The messages to add to the saved chat index
|
|
303
|
-
* @returns The saved chat
|
|
304
|
-
*/
|
|
305
|
-
addSavedChat(id: string, messages: ChatMessage[]): Observable<SavedChatResponse>;
|
|
306
|
-
/**
|
|
307
|
-
* Update a saved chat with the given id.
|
|
308
|
-
* @param id The id of the saved chat
|
|
309
|
-
* @param name The new name of the saved chat, if provided
|
|
310
|
-
* @param messages The messages to update the saved chat history, if provided
|
|
311
|
-
* @returns True if the saved chat has been successfully updated
|
|
312
|
-
*/
|
|
313
|
-
updateSavedChat(id: string, name?: string, messages?: ChatMessage[]): Observable<SavedChatResponse>;
|
|
314
|
-
/**
|
|
315
|
-
* Bulk delete of saved chats matching the given ids
|
|
316
|
-
* @param ids List of ids of the saved chats to delete
|
|
317
|
-
* @returns The number of deleted chats
|
|
318
|
-
*/
|
|
319
|
-
deleteSavedChat(ids: string[]): Observable<DeleteSavedChatResponse>;
|
|
320
|
-
getDebugMessage(message: DebugMessage): Observable<KvObject | ListObject | undefined>;
|
|
321
|
-
/**
|
|
322
|
-
* Initialize out-of-the-box handlers
|
|
323
|
-
* It is a placeholder for non-streaming scenarios, where you invoke a specific hub method, and the server responds with frame message(s)
|
|
324
|
-
*/
|
|
325
|
-
initMessageHandlers(): void;
|
|
326
|
-
/**
|
|
327
|
-
* Override and register the entire _messageHandlers map by merging the provided map with the default one
|
|
328
|
-
* @param _messageHandlers
|
|
329
|
-
*/
|
|
330
|
-
overrideMessageHandlers<T>(_messageHandlers: Map<string, MessageHandler<T>>): void;
|
|
331
|
-
/**
|
|
332
|
-
* Add a listener for a specific event.
|
|
333
|
-
* If a listener for this same event already exists, it will be overridden.
|
|
334
|
-
* If the listener has "isGlobalHandler" set to true, it will be registered to the hub connection.
|
|
335
|
-
* @param eventName Name of the event to register a listener for
|
|
336
|
-
* @param eventHandler The handler to be called when the event is received
|
|
337
|
-
*/
|
|
338
|
-
addMessageHandler<T>(eventName: string, eventHandler: MessageHandler<T>): void;
|
|
339
|
-
/**
|
|
340
|
-
* Remove a listener for a specific event from the _messageHandlers map and unsubscribe from receiving messages for this event from the SignalR hub.
|
|
341
|
-
* @param eventName Name of the event to remove the listener for
|
|
342
|
-
*/
|
|
343
|
-
removeMessageHandler(eventName: string): void;
|
|
344
|
-
/**
|
|
345
|
-
* Build a connection to the signalR websocket and register default listeners to the methods defined in the server hub class
|
|
346
|
-
* @param options The options for the connection. It overrides the default options
|
|
347
|
-
* @param logLevel Define the log level displayed in the console
|
|
348
|
-
* @returns Promise that resolves when the connection is built
|
|
349
|
-
*/
|
|
350
|
-
buildConnection(options?: ConnectionOptions): Promise<void>;
|
|
351
|
-
/**
|
|
352
|
-
* Start the connection
|
|
353
|
-
* @returns Promise that resolves when the connection is started
|
|
354
|
-
*/
|
|
355
|
-
startConnection(): Promise<void>;
|
|
356
|
-
/**
|
|
357
|
-
* Stop the connection
|
|
358
|
-
* @returns Promise that resolves when the connection is stopped
|
|
359
|
-
*/
|
|
360
|
-
stopConnection(): Promise<void>;
|
|
361
|
-
/**
|
|
362
|
-
* Generate an audit event with the given type and details. The generated audit event is sent afterwards via the AuditWebService
|
|
363
|
-
* @param type Audit event type
|
|
364
|
-
* @param details Audit event details
|
|
365
|
-
* @param id Actions (savedChat delete/rename/...) may occur on a specific chat different than the current one stored in this service, so the chat id can be provided
|
|
366
|
-
*/
|
|
367
|
-
generateAuditEvent(type: string, details: Record<string, any>, id?: string): Promise<void>;
|
|
368
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ChatService, never>;
|
|
369
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ChatService>;
|
|
370
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CodeBlockComponent {
|
|
4
|
-
langname: string;
|
|
5
|
-
el: ElementRef<any>;
|
|
6
|
-
copying: import("@angular/core").WritableSignal<boolean>;
|
|
7
|
-
handleClick(event: Event): void;
|
|
8
|
-
copyCodeToClipboard(code: string): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CodeBlockComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CodeBlockComponent, "code-block", never, { "langname": { "alias": "langname"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { OnChanges } from "@angular/core";
|
|
2
|
-
import { ChatContextAttachment } from "../../types";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DocumentReferenceComponent implements OnChanges {
|
|
5
|
-
id: any;
|
|
6
|
-
attachment: any;
|
|
7
|
-
ref: ChatContextAttachment;
|
|
8
|
-
ngOnChanges(): void;
|
|
9
|
-
onOpenPreview(attachment: ChatContextAttachment): void;
|
|
10
|
-
onOpenDocument(attachment: ChatContextAttachment): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentReferenceComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentReferenceComponent, "document-reference", never, { "id": { "alias": "id"; "required": false; }; "attachment": { "alias": "attachment"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnChanges } from "@angular/core";
|
|
2
|
-
import { ChatContextAttachment } from "../../types";
|
|
3
|
-
import type { MessageImageReference } from "../../types/message-reference.types";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ImageReferenceComponent implements OnChanges {
|
|
6
|
-
id: any;
|
|
7
|
-
attachment: any;
|
|
8
|
-
ref: MessageImageReference;
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
onOpenPreview(attachment: ChatContextAttachment): void;
|
|
11
|
-
onOpenDocument(attachment: ChatContextAttachment): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ImageReferenceComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageReferenceComponent, "image-reference", never, { "id": { "alias": "id"; "required": false; }; "attachment": { "alias": "attachment"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnChanges } from "@angular/core";
|
|
2
|
-
import { ChatContextAttachment } from "../../types";
|
|
3
|
-
import type { MessageImageReference } from "../../types/message-reference.types";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PageReferenceComponent implements OnChanges {
|
|
6
|
-
id: any;
|
|
7
|
-
attachment: any;
|
|
8
|
-
ref: MessageImageReference;
|
|
9
|
-
ngOnChanges(): void;
|
|
10
|
-
onOpenPreview(attachment: ChatContextAttachment): void;
|
|
11
|
-
onOpenDocument(attachment: ChatContextAttachment): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageReferenceComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageReferenceComponent, "page-reference", never, { "id": { "alias": "id"; "required": false; }; "attachment": { "alias": "attachment"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TableToolsComponent {
|
|
3
|
-
private readonly host;
|
|
4
|
-
copied: import("@angular/core").WritableSignal<boolean>;
|
|
5
|
-
get table(): HTMLTableElement | null;
|
|
6
|
-
copyAsCSV(): void;
|
|
7
|
-
downloadAsCSV(): void;
|
|
8
|
-
private extractCSV;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableToolsComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableToolsComponent, "table-tools", never, {}, {}, never, ["*"], true, never>;
|
|
11
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Service to register custom elements in the Angular application.
|
|
4
|
-
* This service is used to define custom elements that can be used in the application.
|
|
5
|
-
* It is called through APP_INITIALIZER to ensure that custom elements are registered before the application starts.
|
|
6
|
-
*/
|
|
7
|
-
export declare class CustomElementsService {
|
|
8
|
-
private _injector;
|
|
9
|
-
private readonly _customElements;
|
|
10
|
-
setupCustomElements(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomElementsService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CustomElementsService>;
|
|
13
|
-
}
|
|
14
|
-
export declare function initializeCustomElements(customElementsService: CustomElementsService): () => void;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { UIService } from "../../services/ui.service";
|
|
2
|
-
import { KvObject, ListObject } from "../../types";
|
|
3
|
-
import { DebugMessageService } from "../debug-message.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DebugMessageDetailsComponent {
|
|
6
|
-
ui: UIService;
|
|
7
|
-
debugMessageService: DebugMessageService;
|
|
8
|
-
data: (KvObject | ListObject)[] | undefined;
|
|
9
|
-
level: number;
|
|
10
|
-
parentColor: string;
|
|
11
|
-
constructor(ui: UIService, debugMessageService: DebugMessageService);
|
|
12
|
-
ngAfterViewInit(): void;
|
|
13
|
-
isObject(value: any): boolean;
|
|
14
|
-
getRowClass(item: KvObject | ListObject): string;
|
|
15
|
-
copyToClipboard(code: any): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DebugMessageDetailsComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DebugMessageDetailsComponent, "sq-debug-message-details", never, { "data": { "alias": "data"; "required": false; }; "level": { "alias": "level"; "required": false; }; "parentColor": { "alias": "parentColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from "@angular/core";
|
|
2
|
-
import { DebugMessage } from "../types";
|
|
3
|
-
import { DebugMessageService } from "./debug-message.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DebugMessageComponent {
|
|
6
|
-
debugMessageService: DebugMessageService;
|
|
7
|
-
cdr: ChangeDetectorRef;
|
|
8
|
-
data: DebugMessage[] | undefined;
|
|
9
|
-
constructor(debugMessageService: DebugMessageService, cdr: ChangeDetectorRef);
|
|
10
|
-
getRowClass(index: number): string;
|
|
11
|
-
toggleExpand(item: DebugMessage): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DebugMessageComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DebugMessageComponent, "sq-debug-message", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { DebugMessage, ListObject } from '../types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface DebugMessageOperationConfig {
|
|
5
|
-
getRestUrl: () => string;
|
|
6
|
-
}
|
|
7
|
-
export declare class DebugMessageService {
|
|
8
|
-
private operationConfig;
|
|
9
|
-
constructor();
|
|
10
|
-
init(config: DebugMessageOperationConfig): void;
|
|
11
|
-
private ensureInitialized;
|
|
12
|
-
getDebugMessage(message: DebugMessage): Observable<ListObject | undefined>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DebugMessageService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DebugMessageService>;
|
|
15
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
|
-
import { Subscription } from "rxjs";
|
|
3
|
-
import { ChatService } from "../chat.service";
|
|
4
|
-
import { NotificationsService } from "../services/notification.service";
|
|
5
|
-
import { SavedChat } from "../types";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export type SavedChatEdit = SavedChat & {
|
|
8
|
-
currentTitle: string;
|
|
9
|
-
};
|
|
10
|
-
export declare class DialogDeleteSavedChatComponent {
|
|
11
|
-
deleteDialog: import("@angular/core").Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
12
|
-
notificationsService: NotificationsService;
|
|
13
|
-
private readonly transloco;
|
|
14
|
-
chatService: import("@angular/core").InputSignal<ChatService>;
|
|
15
|
-
delete: import("@angular/core").OutputEmitterRef<SavedChat>;
|
|
16
|
-
savedChat: import("@angular/core").WritableSignal<SavedChatEdit>;
|
|
17
|
-
subscription: Subscription;
|
|
18
|
-
showModal(event: Event, savedChat: SavedChat): void;
|
|
19
|
-
protected onDelete(event: Event, savedChat: SavedChat): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogDeleteSavedChatComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogDeleteSavedChatComponent, "sq-dialog-delete-saved-chat", never, { "chatService": { "alias": "chatService"; "required": true; "isSignal": true; }; }, { "delete": "delete"; }, never, never, true, never>;
|
|
22
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
|
-
import { Subscription } from "rxjs";
|
|
3
|
-
import { ChatService } from "../chat.service";
|
|
4
|
-
import { NotificationsService } from "../services/notification.service";
|
|
5
|
-
import { SavedChat } from "../types";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export type SavedChatEdit = SavedChat & {
|
|
8
|
-
currentTitle: string;
|
|
9
|
-
};
|
|
10
|
-
export declare class DialogRenameSavedChatComponent {
|
|
11
|
-
renameDialog: import("@angular/core").Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
12
|
-
notificationsService: NotificationsService;
|
|
13
|
-
private readonly transloco;
|
|
14
|
-
chatService: import("@angular/core").InputSignal<ChatService>;
|
|
15
|
-
savedChat: import("@angular/core").WritableSignal<SavedChatEdit>;
|
|
16
|
-
subscription: Subscription;
|
|
17
|
-
showModal(event: Event, savedChat: SavedChat): void;
|
|
18
|
-
protected onRename(event: Event, savedChat: SavedChatEdit): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogRenameSavedChatComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogRenameSavedChatComponent, "sq-dialog-rename-saved-chat", never, { "chatService": { "alias": "chatService"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
21
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from "@angular/core";
|
|
2
|
-
import { DialogEvent } from "../services/dialog.service";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DialogUpdatesComponent {
|
|
5
|
-
protected dialogRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
|
|
6
|
-
protected dialog: import("@angular/core").Signal<HTMLDialogElement>;
|
|
7
|
-
closed: import("@angular/core").OutputEmitterRef<DialogEvent>;
|
|
8
|
-
open(): void;
|
|
9
|
-
close(eventType?: DialogEvent): void;
|
|
10
|
-
seeNoMore(): void;
|
|
11
|
-
remindMeLater(): void;
|
|
12
|
-
update(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogUpdatesComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogUpdatesComponent, "sq-dialog-updates", never, {}, { "closed": "closed"; }, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import { BehaviorSubject } from "rxjs";
|
|
3
|
-
import { DocumentsUploadService } from "../documents-upload.service";
|
|
4
|
-
import { UploadedDocument } from "../documents-upload.model";
|
|
5
|
-
import { NotificationsService } from "../../services/notification.service";
|
|
6
|
-
import { AppService } from "../../services/app.service";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class DocumentListComponent implements OnInit, OnDestroy {
|
|
9
|
-
groupedUploadedDocuments$: BehaviorSubject<{
|
|
10
|
-
key: string;
|
|
11
|
-
value: UploadedDocument[];
|
|
12
|
-
}[]>;
|
|
13
|
-
documentToDelete?: UploadedDocument;
|
|
14
|
-
deletingAll: boolean;
|
|
15
|
-
private _subscription;
|
|
16
|
-
documentsUploadService: DocumentsUploadService;
|
|
17
|
-
notificationsService: NotificationsService;
|
|
18
|
-
appService: AppService;
|
|
19
|
-
private readonly transloco;
|
|
20
|
-
private readonly assistantUtils;
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
/**
|
|
24
|
-
* Updates the list of uploaded documents by fetching the latest data from the service.
|
|
25
|
-
* The fetched documents are grouped by date.
|
|
26
|
-
*
|
|
27
|
-
* @returns {void}
|
|
28
|
-
*/
|
|
29
|
-
onUpdateUploadedDocumentsList(): void;
|
|
30
|
-
deleteDocument(event: Event, doc: UploadedDocument): void;
|
|
31
|
-
/**
|
|
32
|
-
* Handles the deletion of an uploaded document. This method triggers a confirmation modal
|
|
33
|
-
* to ensure the user wants to proceed with the deletion. If confirmed, it sends a request
|
|
34
|
-
* to delete the document and provides feedback to the user upon success or failure.
|
|
35
|
-
*
|
|
36
|
-
* @param event - The event object associated with the delete action, used to stop propagation.
|
|
37
|
-
* @param doc - The document to be deleted, represented as an instance of `UploadedDocument`.
|
|
38
|
-
*
|
|
39
|
-
* @remarks
|
|
40
|
-
* - Displays a confirmation modal with a warning message.
|
|
41
|
-
* - On confirmation, deletes the document.
|
|
42
|
-
* - Shows a success notification upon successful deletion.
|
|
43
|
-
* - Logs and notifies the user of any errors encountered during the deletion process.
|
|
44
|
-
*/
|
|
45
|
-
performDeleteDocument(): void;
|
|
46
|
-
deleteAllDocuments(event?: Event): void;
|
|
47
|
-
/**
|
|
48
|
-
* Handles the deletion of all uploaded documents. This method triggers a confirmation modal
|
|
49
|
-
* to ensure the user wants to proceed with the deletion. If confirmed, it sends a request
|
|
50
|
-
* to delete the whole list of documents and provides feedback to the user upon success or failure.
|
|
51
|
-
*
|
|
52
|
-
* @param event - (Optional) The event object associated with the delete action, used to stop propagation.
|
|
53
|
-
*
|
|
54
|
-
* @remarks
|
|
55
|
-
* - Displays a confirmation modal with a warning message.
|
|
56
|
-
* - On confirmation, deletes all documents.
|
|
57
|
-
* - Shows a success notification upon successful deletion.
|
|
58
|
-
* - Logs and notifies the user of any errors encountered during the deletion process.
|
|
59
|
-
*/
|
|
60
|
-
performDeleteAllDocuments(): void;
|
|
61
|
-
private _groupUploadedDocumentsByDate;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentListComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentListComponent, "sq-document-list", never, {}, {}, never, never, true, never>;
|
|
64
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
-
import { DocumentsUploadService } from "../documents-upload.service";
|
|
3
|
-
import { NotificationsService } from "../../services/notification.service";
|
|
4
|
-
import { AppService } from "../../services/app.service";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class DocumentOverviewComponent implements OnInit, OnDestroy {
|
|
7
|
-
disabledUpload: boolean;
|
|
8
|
-
onUpload: EventEmitter<any>;
|
|
9
|
-
private _subscription;
|
|
10
|
-
documentsUploadService: DocumentsUploadService;
|
|
11
|
-
notificationsService: NotificationsService;
|
|
12
|
-
appService: AppService;
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentOverviewComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentOverviewComponent, "sq-document-overview", never, { "disabledUpload": { "alias": "disabledUpload"; "required": false; }; }, { "onUpload": "onUpload"; }, never, never, true, never>;
|
|
17
|
-
}
|