@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/types.d.ts
DELETED
|
@@ -1,920 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { Query, Article as Record } from "@sinequa/atomic";
|
|
3
|
-
import { RawMessageContent } from "./types/message-content.types";
|
|
4
|
-
import { MessageImageReference } from "./types/message-reference.types";
|
|
5
|
-
/**
|
|
6
|
-
* Individual message sent & returned by the ChatGPT API.
|
|
7
|
-
* If this message is an attachment, we attach the minimal
|
|
8
|
-
* information needed to reconstruct this attachment (RawAttachment)
|
|
9
|
-
* as well as the reference id computed at the moment of sending
|
|
10
|
-
* the attachment to the API.
|
|
11
|
-
*/
|
|
12
|
-
export interface RawMessage {
|
|
13
|
-
role: string;
|
|
14
|
-
content: RawMessageContent;
|
|
15
|
-
messageType?: "CHART" | "MARKDOWN";
|
|
16
|
-
additionalProperties: {
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* A chat message that has been processed to include the markdown-formatted
|
|
22
|
-
* content for display, as well as detailed attachment data, and optionally
|
|
23
|
-
* a list of the references extracted from that message
|
|
24
|
-
*/
|
|
25
|
-
export interface ChatMessage extends RawMessage {
|
|
26
|
-
additionalProperties: {
|
|
27
|
-
messageId: string;
|
|
28
|
-
display?: boolean;
|
|
29
|
-
$progress?: ChatProgress[];
|
|
30
|
-
$attachment?: ChatContextAttachment[];
|
|
31
|
-
$suggestedAction?: SuggestedAction[];
|
|
32
|
-
$debug?: DebugMessage[];
|
|
33
|
-
forcedWorkflow?: string;
|
|
34
|
-
forcedWorkflowProperties?: any;
|
|
35
|
-
query?: Query;
|
|
36
|
-
isUserInput?: boolean;
|
|
37
|
-
usageMetrics?: ChatUsageMetrics;
|
|
38
|
-
additionalWorkflowProperties?: any;
|
|
39
|
-
$liked?: boolean;
|
|
40
|
-
$disliked?: boolean;
|
|
41
|
-
[key: string]: any;
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
export interface ChatProgress {
|
|
45
|
-
title: string;
|
|
46
|
-
content?: string;
|
|
47
|
-
done?: boolean;
|
|
48
|
-
time?: number;
|
|
49
|
-
}
|
|
50
|
-
export interface RawAttachment {
|
|
51
|
-
/** Type of the attachment */
|
|
52
|
-
type: string;
|
|
53
|
-
/** Record id from which this attachment is taken */
|
|
54
|
-
recordId: string;
|
|
55
|
-
/** Record from which this this attachment is taken */
|
|
56
|
-
record: Record;
|
|
57
|
-
}
|
|
58
|
-
export interface DocumentPart {
|
|
59
|
-
partId?: number;
|
|
60
|
-
offset: number;
|
|
61
|
-
length: number;
|
|
62
|
-
text?: string;
|
|
63
|
-
images?: string[] | MessageImageReference[];
|
|
64
|
-
}
|
|
65
|
-
export type DocumentPage = {
|
|
66
|
-
url: string;
|
|
67
|
-
mimeType: string;
|
|
68
|
-
name?: string;
|
|
69
|
-
type?: string;
|
|
70
|
-
description?: string;
|
|
71
|
-
length?: number;
|
|
72
|
-
offSet?: number;
|
|
73
|
-
pageNumber?: number;
|
|
74
|
-
remappedLength?: number;
|
|
75
|
-
remappedOffset?: number;
|
|
76
|
-
};
|
|
77
|
-
export interface ChatContextAttachment extends RawAttachment {
|
|
78
|
-
/** Type of the attachment */
|
|
79
|
-
type: "Context";
|
|
80
|
-
/** Rank of the attachment in the context message */
|
|
81
|
-
contextId: number;
|
|
82
|
-
/** Parts of the record that the assistant uses to answer */
|
|
83
|
-
parts: DocumentPart[];
|
|
84
|
-
/** Pages of the documents based on the query */
|
|
85
|
-
pages?: DocumentPage[];
|
|
86
|
-
/** The specific id used of the referenced part */
|
|
87
|
-
$partId?: number;
|
|
88
|
-
$expanded?: boolean;
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Raw response of the chat API
|
|
92
|
-
*/
|
|
93
|
-
export interface RawResponse {
|
|
94
|
-
history: RawMessage[];
|
|
95
|
-
executionTime: string | undefined;
|
|
96
|
-
executionTimeMilliseconds: number | undefined;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Enriched response of the chat API
|
|
100
|
-
*/
|
|
101
|
-
export interface ChatResponse extends RawResponse {
|
|
102
|
-
history: ChatMessage[];
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Response of the ListModels API
|
|
106
|
-
*/
|
|
107
|
-
export interface GllmModelDescription {
|
|
108
|
-
provider: string;
|
|
109
|
-
displayName: string;
|
|
110
|
-
serviceId: string;
|
|
111
|
-
modelId: string;
|
|
112
|
-
enable: boolean;
|
|
113
|
-
maxGenerationSize: number;
|
|
114
|
-
contextWindowSize: number;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Response of the ListFunctions API
|
|
118
|
-
*/
|
|
119
|
-
export interface GllmFunction {
|
|
120
|
-
functionName: string;
|
|
121
|
-
description: string;
|
|
122
|
-
enabled: boolean;
|
|
123
|
-
parameters: GllmFunctionParameter[];
|
|
124
|
-
}
|
|
125
|
-
export interface GllmFunctionParameter {
|
|
126
|
-
description: string;
|
|
127
|
-
isRequired: boolean;
|
|
128
|
-
name: string;
|
|
129
|
-
type: string;
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* Minimal representation of a saved chat
|
|
133
|
-
*/
|
|
134
|
-
export interface SavedChat {
|
|
135
|
-
id: string;
|
|
136
|
-
title: string;
|
|
137
|
-
modifiedUTC: string;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* Data structure saved to reconstruct a saved chat conversation
|
|
141
|
-
*/
|
|
142
|
-
export interface SavedChatHistory extends SavedChat {
|
|
143
|
-
history: ChatMessage[];
|
|
144
|
-
}
|
|
145
|
-
export declare const connectionSettingsSchema: z.ZodObject<{
|
|
146
|
-
connectionErrorMessage: z.ZodString;
|
|
147
|
-
websocketEndpoint: z.ZodOptional<z.ZodString>;
|
|
148
|
-
signalRSkipNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
149
|
-
signalRTransport: z.ZodEnum<["WebSockets", "ServerSentEvents", "LongPolling", "None"]>;
|
|
150
|
-
signalRLogLevel: z.ZodEnum<["Critical", "Debug", "Error", "Information", "None", "Trace", "Warning"]>;
|
|
151
|
-
signalRServerTimeoutInMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
152
|
-
}, "strip", z.ZodTypeAny, {
|
|
153
|
-
connectionErrorMessage: string;
|
|
154
|
-
signalRTransport: "None" | "WebSockets" | "ServerSentEvents" | "LongPolling";
|
|
155
|
-
signalRLogLevel: "None" | "Critical" | "Debug" | "Error" | "Information" | "Trace" | "Warning";
|
|
156
|
-
websocketEndpoint?: string | undefined;
|
|
157
|
-
signalRSkipNegotiation?: boolean | undefined;
|
|
158
|
-
signalRServerTimeoutInMilliseconds?: number | undefined;
|
|
159
|
-
}, {
|
|
160
|
-
connectionErrorMessage: string;
|
|
161
|
-
signalRTransport: "None" | "WebSockets" | "ServerSentEvents" | "LongPolling";
|
|
162
|
-
signalRLogLevel: "None" | "Critical" | "Debug" | "Error" | "Information" | "Trace" | "Warning";
|
|
163
|
-
websocketEndpoint?: string | undefined;
|
|
164
|
-
signalRSkipNegotiation?: boolean | undefined;
|
|
165
|
-
signalRServerTimeoutInMilliseconds?: number | undefined;
|
|
166
|
-
}>;
|
|
167
|
-
export type ConnectionSettings = z.infer<typeof connectionSettingsSchema>;
|
|
168
|
-
declare const serviceSettingsSchema: z.ZodObject<{
|
|
169
|
-
service_id: z.ZodString;
|
|
170
|
-
model_id: z.ZodString;
|
|
171
|
-
temperature: z.ZodOptional<z.ZodNumber>;
|
|
172
|
-
top_p: z.ZodOptional<z.ZodNumber>;
|
|
173
|
-
max_tokens: z.ZodOptional<z.ZodNumber>;
|
|
174
|
-
}, "strip", z.ZodTypeAny, {
|
|
175
|
-
service_id: string;
|
|
176
|
-
model_id: string;
|
|
177
|
-
temperature?: number | undefined;
|
|
178
|
-
top_p?: number | undefined;
|
|
179
|
-
max_tokens?: number | undefined;
|
|
180
|
-
}, {
|
|
181
|
-
service_id: string;
|
|
182
|
-
model_id: string;
|
|
183
|
-
temperature?: number | undefined;
|
|
184
|
-
top_p?: number | undefined;
|
|
185
|
-
max_tokens?: number | undefined;
|
|
186
|
-
}>;
|
|
187
|
-
export interface ServiceSettings extends z.infer<typeof serviceSettingsSchema> {
|
|
188
|
-
}
|
|
189
|
-
declare const additionalServiceSettingsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
190
|
-
export interface AdditionalServiceSettings extends z.infer<typeof additionalServiceSettingsSchema> {
|
|
191
|
-
}
|
|
192
|
-
declare const additionalWorkflowPropertiesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
193
|
-
export interface additionalWorkflowProperties extends z.infer<typeof additionalWorkflowPropertiesSchema> {
|
|
194
|
-
}
|
|
195
|
-
declare const uiSettingsSchema: z.ZodObject<{
|
|
196
|
-
display: z.ZodBoolean;
|
|
197
|
-
servicesModels: z.ZodBoolean;
|
|
198
|
-
functions: z.ZodBoolean;
|
|
199
|
-
temperature: z.ZodBoolean;
|
|
200
|
-
top_p: z.ZodBoolean;
|
|
201
|
-
max_tokens: z.ZodBoolean;
|
|
202
|
-
debug: z.ZodBoolean;
|
|
203
|
-
displaySystemPrompt: z.ZodBoolean;
|
|
204
|
-
displayUserPrompt: z.ZodBoolean;
|
|
205
|
-
}, "strip", z.ZodTypeAny, {
|
|
206
|
-
debug: boolean;
|
|
207
|
-
display: boolean;
|
|
208
|
-
temperature: boolean;
|
|
209
|
-
top_p: boolean;
|
|
210
|
-
max_tokens: boolean;
|
|
211
|
-
servicesModels: boolean;
|
|
212
|
-
functions: boolean;
|
|
213
|
-
displaySystemPrompt: boolean;
|
|
214
|
-
displayUserPrompt: boolean;
|
|
215
|
-
}, {
|
|
216
|
-
debug: boolean;
|
|
217
|
-
display: boolean;
|
|
218
|
-
temperature: boolean;
|
|
219
|
-
top_p: boolean;
|
|
220
|
-
max_tokens: boolean;
|
|
221
|
-
servicesModels: boolean;
|
|
222
|
-
functions: boolean;
|
|
223
|
-
displaySystemPrompt: boolean;
|
|
224
|
-
displayUserPrompt: boolean;
|
|
225
|
-
}>;
|
|
226
|
-
export interface UiSettings extends z.infer<typeof uiSettingsSchema> {
|
|
227
|
-
}
|
|
228
|
-
declare const defaultValuesSchema: z.ZodObject<{
|
|
229
|
-
service_id: z.ZodString;
|
|
230
|
-
model_id: z.ZodString;
|
|
231
|
-
functions: z.ZodArray<z.ZodObject<{
|
|
232
|
-
name: z.ZodString;
|
|
233
|
-
enabled: z.ZodBoolean;
|
|
234
|
-
}, "strip", z.ZodTypeAny, {
|
|
235
|
-
name: string;
|
|
236
|
-
enabled: boolean;
|
|
237
|
-
}, {
|
|
238
|
-
name: string;
|
|
239
|
-
enabled: boolean;
|
|
240
|
-
}>, "many">;
|
|
241
|
-
temperature: z.ZodOptional<z.ZodNumber>;
|
|
242
|
-
top_p: z.ZodOptional<z.ZodNumber>;
|
|
243
|
-
max_tokens: z.ZodOptional<z.ZodNumber>;
|
|
244
|
-
debug: z.ZodBoolean;
|
|
245
|
-
systemPrompt: z.ZodString;
|
|
246
|
-
userPrompt: z.ZodString;
|
|
247
|
-
}, "strip", z.ZodTypeAny, {
|
|
248
|
-
debug: boolean;
|
|
249
|
-
service_id: string;
|
|
250
|
-
model_id: string;
|
|
251
|
-
functions: {
|
|
252
|
-
name: string;
|
|
253
|
-
enabled: boolean;
|
|
254
|
-
}[];
|
|
255
|
-
systemPrompt: string;
|
|
256
|
-
userPrompt: string;
|
|
257
|
-
temperature?: number | undefined;
|
|
258
|
-
top_p?: number | undefined;
|
|
259
|
-
max_tokens?: number | undefined;
|
|
260
|
-
}, {
|
|
261
|
-
debug: boolean;
|
|
262
|
-
service_id: string;
|
|
263
|
-
model_id: string;
|
|
264
|
-
functions: {
|
|
265
|
-
name: string;
|
|
266
|
-
enabled: boolean;
|
|
267
|
-
}[];
|
|
268
|
-
systemPrompt: string;
|
|
269
|
-
userPrompt: string;
|
|
270
|
-
temperature?: number | undefined;
|
|
271
|
-
top_p?: number | undefined;
|
|
272
|
-
max_tokens?: number | undefined;
|
|
273
|
-
}>;
|
|
274
|
-
export interface DefaultValues extends z.infer<typeof defaultValuesSchema> {
|
|
275
|
-
}
|
|
276
|
-
declare const modeSettingsSchema: z.ZodObject<{
|
|
277
|
-
enabledUserInput: z.ZodBoolean;
|
|
278
|
-
displayUserPrompt: z.ZodBoolean;
|
|
279
|
-
sendUserPrompt: z.ZodBoolean;
|
|
280
|
-
initialization: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
281
|
-
event: z.ZodEnum<["Query", "Prompt"]>;
|
|
282
|
-
forcedWorkflow: z.ZodOptional<z.ZodString>;
|
|
283
|
-
forcedFunction: z.ZodOptional<z.ZodString>;
|
|
284
|
-
displayUserQuery: z.ZodOptional<z.ZodBoolean>;
|
|
285
|
-
}, "strip", z.ZodTypeAny, {
|
|
286
|
-
event: "Query" | "Prompt";
|
|
287
|
-
forcedWorkflow?: string | undefined;
|
|
288
|
-
forcedFunction?: string | undefined;
|
|
289
|
-
displayUserQuery?: boolean | undefined;
|
|
290
|
-
}, {
|
|
291
|
-
event: "Query" | "Prompt";
|
|
292
|
-
forcedWorkflow?: string | undefined;
|
|
293
|
-
forcedFunction?: string | undefined;
|
|
294
|
-
displayUserQuery?: boolean | undefined;
|
|
295
|
-
}>, {
|
|
296
|
-
event: "Query" | "Prompt";
|
|
297
|
-
forcedWorkflow?: string | undefined;
|
|
298
|
-
forcedFunction?: string | undefined;
|
|
299
|
-
displayUserQuery?: boolean | undefined;
|
|
300
|
-
}, {
|
|
301
|
-
event: "Query" | "Prompt";
|
|
302
|
-
forcedWorkflow?: string | undefined;
|
|
303
|
-
forcedFunction?: string | undefined;
|
|
304
|
-
displayUserQuery?: boolean | undefined;
|
|
305
|
-
}>, {
|
|
306
|
-
event: "Query" | "Prompt";
|
|
307
|
-
forcedWorkflow?: string | undefined;
|
|
308
|
-
forcedFunction?: string | undefined;
|
|
309
|
-
displayUserQuery?: boolean | undefined;
|
|
310
|
-
}, {
|
|
311
|
-
event: "Query" | "Prompt";
|
|
312
|
-
forcedWorkflow?: string | undefined;
|
|
313
|
-
forcedFunction?: string | undefined;
|
|
314
|
-
displayUserQuery?: boolean | undefined;
|
|
315
|
-
}>, {
|
|
316
|
-
event: "Query" | "Prompt";
|
|
317
|
-
forcedWorkflow?: string | undefined;
|
|
318
|
-
forcedFunction?: string | undefined;
|
|
319
|
-
displayUserQuery?: boolean | undefined;
|
|
320
|
-
}, {
|
|
321
|
-
event: "Query" | "Prompt";
|
|
322
|
-
forcedWorkflow?: string | undefined;
|
|
323
|
-
forcedFunction?: string | undefined;
|
|
324
|
-
displayUserQuery?: boolean | undefined;
|
|
325
|
-
}>;
|
|
326
|
-
actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
327
|
-
forcedWorkflow: z.ZodString;
|
|
328
|
-
forcedWorkflowProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
329
|
-
}, "strip", z.ZodTypeAny, {
|
|
330
|
-
forcedWorkflow: string;
|
|
331
|
-
forcedWorkflowProperties?: globalThis.Record<string, unknown> | undefined;
|
|
332
|
-
}, {
|
|
333
|
-
forcedWorkflow: string;
|
|
334
|
-
forcedWorkflowProperties?: globalThis.Record<string, unknown> | undefined;
|
|
335
|
-
}>>>;
|
|
336
|
-
}, "strip", z.ZodTypeAny, {
|
|
337
|
-
displayUserPrompt: boolean;
|
|
338
|
-
enabledUserInput: boolean;
|
|
339
|
-
sendUserPrompt: boolean;
|
|
340
|
-
initialization: {
|
|
341
|
-
event: "Query" | "Prompt";
|
|
342
|
-
forcedWorkflow?: string | undefined;
|
|
343
|
-
forcedFunction?: string | undefined;
|
|
344
|
-
displayUserQuery?: boolean | undefined;
|
|
345
|
-
};
|
|
346
|
-
actions?: globalThis.Record<string, {
|
|
347
|
-
forcedWorkflow: string;
|
|
348
|
-
forcedWorkflowProperties?: globalThis.Record<string, unknown> | undefined;
|
|
349
|
-
}> | undefined;
|
|
350
|
-
}, {
|
|
351
|
-
displayUserPrompt: boolean;
|
|
352
|
-
enabledUserInput: boolean;
|
|
353
|
-
sendUserPrompt: boolean;
|
|
354
|
-
initialization: {
|
|
355
|
-
event: "Query" | "Prompt";
|
|
356
|
-
forcedWorkflow?: string | undefined;
|
|
357
|
-
forcedFunction?: string | undefined;
|
|
358
|
-
displayUserQuery?: boolean | undefined;
|
|
359
|
-
};
|
|
360
|
-
actions?: globalThis.Record<string, {
|
|
361
|
-
forcedWorkflow: string;
|
|
362
|
-
forcedWorkflowProperties?: globalThis.Record<string, unknown> | undefined;
|
|
363
|
-
}> | undefined;
|
|
364
|
-
}>;
|
|
365
|
-
export interface ModeSettings extends z.infer<typeof modeSettingsSchema> {
|
|
366
|
-
}
|
|
367
|
-
declare const savedChatSettingsSchema: z.ZodObject<{
|
|
368
|
-
enabled: z.ZodBoolean;
|
|
369
|
-
display: z.ZodBoolean;
|
|
370
|
-
queryWebserviceForSearch: z.ZodOptional<z.ZodString>;
|
|
371
|
-
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
enabled: boolean;
|
|
373
|
-
display: boolean;
|
|
374
|
-
queryWebserviceForSearch?: string | undefined;
|
|
375
|
-
}, {
|
|
376
|
-
enabled: boolean;
|
|
377
|
-
display: boolean;
|
|
378
|
-
queryWebserviceForSearch?: string | undefined;
|
|
379
|
-
}>;
|
|
380
|
-
export interface SavedChatSettings extends z.infer<typeof savedChatSettingsSchema> {
|
|
381
|
-
}
|
|
382
|
-
export interface SavedChatSettings extends z.infer<typeof savedChatSettingsSchema> {
|
|
383
|
-
}
|
|
384
|
-
export declare const chatConfigSchema: z.ZodObject<{
|
|
385
|
-
connectionSettings: z.ZodObject<{
|
|
386
|
-
connectionErrorMessage: z.ZodString;
|
|
387
|
-
websocketEndpoint: z.ZodOptional<z.ZodString>;
|
|
388
|
-
signalRSkipNegotiation: z.ZodOptional<z.ZodBoolean>;
|
|
389
|
-
signalRTransport: z.ZodEnum<["WebSockets", "ServerSentEvents", "LongPolling", "None"]>;
|
|
390
|
-
signalRLogLevel: z.ZodEnum<["Critical", "Debug", "Error", "Information", "None", "Trace", "Warning"]>;
|
|
391
|
-
signalRServerTimeoutInMilliseconds: z.ZodOptional<z.ZodNumber>;
|
|
392
|
-
}, "strip", z.ZodTypeAny, {
|
|
393
|
-
connectionErrorMessage: string;
|
|
394
|
-
signalRTransport: "None" | "WebSockets" | "ServerSentEvents" | "LongPolling";
|
|
395
|
-
signalRLogLevel: "None" | "Critical" | "Debug" | "Error" | "Information" | "Trace" | "Warning";
|
|
396
|
-
websocketEndpoint?: string | undefined;
|
|
397
|
-
signalRSkipNegotiation?: boolean | undefined;
|
|
398
|
-
signalRServerTimeoutInMilliseconds?: number | undefined;
|
|
399
|
-
}, {
|
|
400
|
-
connectionErrorMessage: string;
|
|
401
|
-
signalRTransport: "None" | "WebSockets" | "ServerSentEvents" | "LongPolling";
|
|
402
|
-
signalRLogLevel: "None" | "Critical" | "Debug" | "Error" | "Information" | "Trace" | "Warning";
|
|
403
|
-
websocketEndpoint?: string | undefined;
|
|
404
|
-
signalRSkipNegotiation?: boolean | undefined;
|
|
405
|
-
signalRServerTimeoutInMilliseconds?: number | undefined;
|
|
406
|
-
}>;
|
|
407
|
-
defaultValues: z.ZodObject<{
|
|
408
|
-
service_id: z.ZodString;
|
|
409
|
-
model_id: z.ZodString;
|
|
410
|
-
functions: z.ZodArray<z.ZodObject<{
|
|
411
|
-
name: z.ZodString;
|
|
412
|
-
enabled: z.ZodBoolean;
|
|
413
|
-
}, "strip", z.ZodTypeAny, {
|
|
414
|
-
name: string;
|
|
415
|
-
enabled: boolean;
|
|
416
|
-
}, {
|
|
417
|
-
name: string;
|
|
418
|
-
enabled: boolean;
|
|
419
|
-
}>, "many">;
|
|
420
|
-
temperature: z.ZodOptional<z.ZodNumber>;
|
|
421
|
-
top_p: z.ZodOptional<z.ZodNumber>;
|
|
422
|
-
max_tokens: z.ZodOptional<z.ZodNumber>;
|
|
423
|
-
debug: z.ZodBoolean;
|
|
424
|
-
systemPrompt: z.ZodString;
|
|
425
|
-
userPrompt: z.ZodString;
|
|
426
|
-
}, "strip", z.ZodTypeAny, {
|
|
427
|
-
debug: boolean;
|
|
428
|
-
service_id: string;
|
|
429
|
-
model_id: string;
|
|
430
|
-
functions: {
|
|
431
|
-
name: string;
|
|
432
|
-
enabled: boolean;
|
|
433
|
-
}[];
|
|
434
|
-
systemPrompt: string;
|
|
435
|
-
userPrompt: string;
|
|
436
|
-
temperature?: number | undefined;
|
|
437
|
-
top_p?: number | undefined;
|
|
438
|
-
max_tokens?: number | undefined;
|
|
439
|
-
}, {
|
|
440
|
-
debug: boolean;
|
|
441
|
-
service_id: string;
|
|
442
|
-
model_id: string;
|
|
443
|
-
functions: {
|
|
444
|
-
name: string;
|
|
445
|
-
enabled: boolean;
|
|
446
|
-
}[];
|
|
447
|
-
systemPrompt: string;
|
|
448
|
-
userPrompt: string;
|
|
449
|
-
temperature?: number | undefined;
|
|
450
|
-
top_p?: number | undefined;
|
|
451
|
-
max_tokens?: number | undefined;
|
|
452
|
-
}>;
|
|
453
|
-
modeSettings: z.ZodObject<{
|
|
454
|
-
enabledUserInput: z.ZodBoolean;
|
|
455
|
-
displayUserPrompt: z.ZodBoolean;
|
|
456
|
-
sendUserPrompt: z.ZodBoolean;
|
|
457
|
-
initialization: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
458
|
-
event: z.ZodEnum<["Query", "Prompt"]>;
|
|
459
|
-
forcedWorkflow: z.ZodOptional<z.ZodString>;
|
|
460
|
-
forcedFunction: z.ZodOptional<z.ZodString>;
|
|
461
|
-
displayUserQuery: z.ZodOptional<z.ZodBoolean>;
|
|
462
|
-
}, "strip", z.ZodTypeAny, {
|
|
463
|
-
event: "Query" | "Prompt";
|
|
464
|
-
forcedWorkflow?: string | undefined;
|
|
465
|
-
forcedFunction?: string | undefined;
|
|
466
|
-
displayUserQuery?: boolean | undefined;
|
|
467
|
-
}, {
|
|
468
|
-
event: "Query" | "Prompt";
|
|
469
|
-
forcedWorkflow?: string | undefined;
|
|
470
|
-
forcedFunction?: string | undefined;
|
|
471
|
-
displayUserQuery?: boolean | undefined;
|
|
472
|
-
}>, {
|
|
473
|
-
event: "Query" | "Prompt";
|
|
474
|
-
forcedWorkflow?: string | undefined;
|
|
475
|
-
forcedFunction?: string | undefined;
|
|
476
|
-
displayUserQuery?: boolean | undefined;
|
|
477
|
-
}, {
|
|
478
|
-
event: "Query" | "Prompt";
|
|
479
|
-
forcedWorkflow?: string | undefined;
|
|
480
|
-
forcedFunction?: string | undefined;
|
|
481
|
-
displayUserQuery?: boolean | undefined;
|
|
482
|
-
}>, {
|
|
483
|
-
event: "Query" | "Prompt";
|
|
484
|
-
forcedWorkflow?: string | undefined;
|
|
485
|
-
forcedFunction?: string | undefined;
|
|
486
|
-
displayUserQuery?: boolean | undefined;
|
|
487
|
-
}, {
|
|
488
|
-
event: "Query" | "Prompt";
|
|
489
|
-
forcedWorkflow?: string | undefined;
|
|
490
|
-
forcedFunction?: string | undefined;
|
|
491
|
-
displayUserQuery?: boolean | undefined;
|
|
492
|
-
}>, {
|
|
493
|
-
event: "Query" | "Prompt";
|
|
494
|
-
forcedWorkflow?: string | undefined;
|
|
495
|
-
forcedFunction?: string | undefined;
|
|
496
|
-
displayUserQuery?: boolean | undefined;
|
|
497
|
-
}, {
|
|
498
|
-
event: "Query" | "Prompt";
|
|
499
|
-
forcedWorkflow?: string | undefined;
|
|
500
|
-
forcedFunction?: string | undefined;
|
|
501
|
-
displayUserQuery?: boolean | undefined;
|
|
502
|
-
}>;
|
|
503
|
-
actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
504
|
-
forcedWorkflow: z.ZodString;
|
|
505
|
-
forcedWorkflowProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
506
|
-
}, "strip", z.ZodTypeAny, {
|
|
507
|
-
forcedWorkflow: string;
|
|
508
|
-
forcedWorkflowProperties?: globalThis.Record<string, unknown> | undefined;
|
|
509
|
-
}, {
|
|
510
|
-
forcedWorkflow: string;
|
|
511
|
-
forcedWorkflowProperties?: globalThis.Record<string, unknown> | undefined;
|
|
512
|
-
}>>>;
|
|
513
|
-
}, "strip", z.ZodTypeAny, {
|
|
514
|
-
displayUserPrompt: boolean;
|
|
515
|
-
enabledUserInput: boolean;
|
|
516
|
-
sendUserPrompt: boolean;
|
|
517
|
-
initialization: {
|
|
518
|
-
event: "Query" | "Prompt";
|
|
519
|
-
forcedWorkflow?: string | undefined;
|
|
520
|
-
forcedFunction?: string | undefined;
|
|
521
|
-
displayUserQuery?: boolean | undefined;
|
|
522
|
-
};
|
|
523
|
-
actions?: globalThis.Record<string, {
|
|
524
|
-
forcedWorkflow: string;
|
|
525
|
-
forcedWorkflowProperties?: globalThis.Record<string, unknown> | undefined;
|
|
526
|
-
}> | undefined;
|
|
527
|
-
}, {
|
|
528
|
-
displayUserPrompt: boolean;
|
|
529
|
-
enabledUserInput: boolean;
|
|
530
|
-
sendUserPrompt: boolean;
|
|
531
|
-
initialization: {
|
|
532
|
-
event: "Query" | "Prompt";
|
|
533
|
-
forcedWorkflow?: string | undefined;
|
|
534
|
-
forcedFunction?: string | undefined;
|
|
535
|
-
displayUserQuery?: boolean | undefined;
|
|
536
|
-
};
|
|
537
|
-
actions?: globalThis.Record<string, {
|
|
538
|
-
forcedWorkflow: string;
|
|
539
|
-
forcedWorkflowProperties?: globalThis.Record<string, unknown> | undefined;
|
|
540
|
-
}> | undefined;
|
|
541
|
-
}>;
|
|
542
|
-
uiSettings: z.ZodObject<{
|
|
543
|
-
display: z.ZodBoolean;
|
|
544
|
-
servicesModels: z.ZodBoolean;
|
|
545
|
-
functions: z.ZodBoolean;
|
|
546
|
-
temperature: z.ZodBoolean;
|
|
547
|
-
top_p: z.ZodBoolean;
|
|
548
|
-
max_tokens: z.ZodBoolean;
|
|
549
|
-
debug: z.ZodBoolean;
|
|
550
|
-
displaySystemPrompt: z.ZodBoolean;
|
|
551
|
-
displayUserPrompt: z.ZodBoolean;
|
|
552
|
-
}, "strip", z.ZodTypeAny, {
|
|
553
|
-
debug: boolean;
|
|
554
|
-
display: boolean;
|
|
555
|
-
temperature: boolean;
|
|
556
|
-
top_p: boolean;
|
|
557
|
-
max_tokens: boolean;
|
|
558
|
-
servicesModels: boolean;
|
|
559
|
-
functions: boolean;
|
|
560
|
-
displaySystemPrompt: boolean;
|
|
561
|
-
displayUserPrompt: boolean;
|
|
562
|
-
}, {
|
|
563
|
-
debug: boolean;
|
|
564
|
-
display: boolean;
|
|
565
|
-
temperature: boolean;
|
|
566
|
-
top_p: boolean;
|
|
567
|
-
max_tokens: boolean;
|
|
568
|
-
servicesModels: boolean;
|
|
569
|
-
functions: boolean;
|
|
570
|
-
displaySystemPrompt: boolean;
|
|
571
|
-
displayUserPrompt: boolean;
|
|
572
|
-
}>;
|
|
573
|
-
savedChatSettings: z.ZodObject<{
|
|
574
|
-
enabled: z.ZodBoolean;
|
|
575
|
-
display: z.ZodBoolean;
|
|
576
|
-
queryWebserviceForSearch: z.ZodOptional<z.ZodString>;
|
|
577
|
-
}, "strip", z.ZodTypeAny, {
|
|
578
|
-
enabled: boolean;
|
|
579
|
-
display: boolean;
|
|
580
|
-
queryWebserviceForSearch?: string | undefined;
|
|
581
|
-
}, {
|
|
582
|
-
enabled: boolean;
|
|
583
|
-
display: boolean;
|
|
584
|
-
queryWebserviceForSearch?: string | undefined;
|
|
585
|
-
}>;
|
|
586
|
-
globalSettings: z.ZodObject<{
|
|
587
|
-
searchWarningMessage: z.ZodString;
|
|
588
|
-
disclaimer: z.ZodOptional<z.ZodString>;
|
|
589
|
-
genericChatErrorMessage: z.ZodOptional<z.ZodString>;
|
|
590
|
-
displayUserQuotaConsumption: z.ZodOptional<z.ZodBoolean>;
|
|
591
|
-
displayChatTokensConsumption: z.ZodOptional<z.ZodBoolean>;
|
|
592
|
-
collapseReferences: z.ZodOptional<z.ZodBoolean>;
|
|
593
|
-
automaticScroll: z.ZodOptional<z.ZodBoolean>;
|
|
594
|
-
}, "strip", z.ZodTypeAny, {
|
|
595
|
-
searchWarningMessage: string;
|
|
596
|
-
disclaimer?: string | undefined;
|
|
597
|
-
genericChatErrorMessage?: string | undefined;
|
|
598
|
-
displayUserQuotaConsumption?: boolean | undefined;
|
|
599
|
-
displayChatTokensConsumption?: boolean | undefined;
|
|
600
|
-
collapseReferences?: boolean | undefined;
|
|
601
|
-
automaticScroll?: boolean | undefined;
|
|
602
|
-
}, {
|
|
603
|
-
searchWarningMessage: string;
|
|
604
|
-
disclaimer?: string | undefined;
|
|
605
|
-
genericChatErrorMessage?: string | undefined;
|
|
606
|
-
displayUserQuotaConsumption?: boolean | undefined;
|
|
607
|
-
displayChatTokensConsumption?: boolean | undefined;
|
|
608
|
-
collapseReferences?: boolean | undefined;
|
|
609
|
-
automaticScroll?: boolean | undefined;
|
|
610
|
-
}>;
|
|
611
|
-
auditSettings: z.ZodObject<{
|
|
612
|
-
issueTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
613
|
-
logContent: z.ZodBoolean;
|
|
614
|
-
}, "strip", z.ZodTypeAny, {
|
|
615
|
-
logContent: boolean;
|
|
616
|
-
issueTypes?: string[] | undefined;
|
|
617
|
-
}, {
|
|
618
|
-
logContent: boolean;
|
|
619
|
-
issueTypes?: string[] | undefined;
|
|
620
|
-
}>;
|
|
621
|
-
additionalServiceSettings: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
622
|
-
additionalWorkflowProperties: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
623
|
-
}, "strip", z.ZodTypeAny, {
|
|
624
|
-
additionalWorkflowProperties: {};
|
|
625
|
-
connectionSettings: {
|
|
626
|
-
connectionErrorMessage: string;
|
|
627
|
-
signalRTransport: "None" | "WebSockets" | "ServerSentEvents" | "LongPolling";
|
|
628
|
-
signalRLogLevel: "None" | "Critical" | "Debug" | "Error" | "Information" | "Trace" | "Warning";
|
|
629
|
-
websocketEndpoint?: string | undefined;
|
|
630
|
-
signalRSkipNegotiation?: boolean | undefined;
|
|
631
|
-
signalRServerTimeoutInMilliseconds?: number | undefined;
|
|
632
|
-
};
|
|
633
|
-
defaultValues: {
|
|
634
|
-
debug: boolean;
|
|
635
|
-
service_id: string;
|
|
636
|
-
model_id: string;
|
|
637
|
-
functions: {
|
|
638
|
-
name: string;
|
|
639
|
-
enabled: boolean;
|
|
640
|
-
}[];
|
|
641
|
-
systemPrompt: string;
|
|
642
|
-
userPrompt: string;
|
|
643
|
-
temperature?: number | undefined;
|
|
644
|
-
top_p?: number | undefined;
|
|
645
|
-
max_tokens?: number | undefined;
|
|
646
|
-
};
|
|
647
|
-
modeSettings: {
|
|
648
|
-
displayUserPrompt: boolean;
|
|
649
|
-
enabledUserInput: boolean;
|
|
650
|
-
sendUserPrompt: boolean;
|
|
651
|
-
initialization: {
|
|
652
|
-
event: "Query" | "Prompt";
|
|
653
|
-
forcedWorkflow?: string | undefined;
|
|
654
|
-
forcedFunction?: string | undefined;
|
|
655
|
-
displayUserQuery?: boolean | undefined;
|
|
656
|
-
};
|
|
657
|
-
actions?: globalThis.Record<string, {
|
|
658
|
-
forcedWorkflow: string;
|
|
659
|
-
forcedWorkflowProperties?: globalThis.Record<string, unknown> | undefined;
|
|
660
|
-
}> | undefined;
|
|
661
|
-
};
|
|
662
|
-
uiSettings: {
|
|
663
|
-
debug: boolean;
|
|
664
|
-
display: boolean;
|
|
665
|
-
temperature: boolean;
|
|
666
|
-
top_p: boolean;
|
|
667
|
-
max_tokens: boolean;
|
|
668
|
-
servicesModels: boolean;
|
|
669
|
-
functions: boolean;
|
|
670
|
-
displaySystemPrompt: boolean;
|
|
671
|
-
displayUserPrompt: boolean;
|
|
672
|
-
};
|
|
673
|
-
savedChatSettings: {
|
|
674
|
-
enabled: boolean;
|
|
675
|
-
display: boolean;
|
|
676
|
-
queryWebserviceForSearch?: string | undefined;
|
|
677
|
-
};
|
|
678
|
-
globalSettings: {
|
|
679
|
-
searchWarningMessage: string;
|
|
680
|
-
disclaimer?: string | undefined;
|
|
681
|
-
genericChatErrorMessage?: string | undefined;
|
|
682
|
-
displayUserQuotaConsumption?: boolean | undefined;
|
|
683
|
-
displayChatTokensConsumption?: boolean | undefined;
|
|
684
|
-
collapseReferences?: boolean | undefined;
|
|
685
|
-
automaticScroll?: boolean | undefined;
|
|
686
|
-
};
|
|
687
|
-
auditSettings: {
|
|
688
|
-
logContent: boolean;
|
|
689
|
-
issueTypes?: string[] | undefined;
|
|
690
|
-
};
|
|
691
|
-
additionalServiceSettings: {};
|
|
692
|
-
}, {
|
|
693
|
-
additionalWorkflowProperties: {};
|
|
694
|
-
connectionSettings: {
|
|
695
|
-
connectionErrorMessage: string;
|
|
696
|
-
signalRTransport: "None" | "WebSockets" | "ServerSentEvents" | "LongPolling";
|
|
697
|
-
signalRLogLevel: "None" | "Critical" | "Debug" | "Error" | "Information" | "Trace" | "Warning";
|
|
698
|
-
websocketEndpoint?: string | undefined;
|
|
699
|
-
signalRSkipNegotiation?: boolean | undefined;
|
|
700
|
-
signalRServerTimeoutInMilliseconds?: number | undefined;
|
|
701
|
-
};
|
|
702
|
-
defaultValues: {
|
|
703
|
-
debug: boolean;
|
|
704
|
-
service_id: string;
|
|
705
|
-
model_id: string;
|
|
706
|
-
functions: {
|
|
707
|
-
name: string;
|
|
708
|
-
enabled: boolean;
|
|
709
|
-
}[];
|
|
710
|
-
systemPrompt: string;
|
|
711
|
-
userPrompt: string;
|
|
712
|
-
temperature?: number | undefined;
|
|
713
|
-
top_p?: number | undefined;
|
|
714
|
-
max_tokens?: number | undefined;
|
|
715
|
-
};
|
|
716
|
-
modeSettings: {
|
|
717
|
-
displayUserPrompt: boolean;
|
|
718
|
-
enabledUserInput: boolean;
|
|
719
|
-
sendUserPrompt: boolean;
|
|
720
|
-
initialization: {
|
|
721
|
-
event: "Query" | "Prompt";
|
|
722
|
-
forcedWorkflow?: string | undefined;
|
|
723
|
-
forcedFunction?: string | undefined;
|
|
724
|
-
displayUserQuery?: boolean | undefined;
|
|
725
|
-
};
|
|
726
|
-
actions?: globalThis.Record<string, {
|
|
727
|
-
forcedWorkflow: string;
|
|
728
|
-
forcedWorkflowProperties?: globalThis.Record<string, unknown> | undefined;
|
|
729
|
-
}> | undefined;
|
|
730
|
-
};
|
|
731
|
-
uiSettings: {
|
|
732
|
-
debug: boolean;
|
|
733
|
-
display: boolean;
|
|
734
|
-
temperature: boolean;
|
|
735
|
-
top_p: boolean;
|
|
736
|
-
max_tokens: boolean;
|
|
737
|
-
servicesModels: boolean;
|
|
738
|
-
functions: boolean;
|
|
739
|
-
displaySystemPrompt: boolean;
|
|
740
|
-
displayUserPrompt: boolean;
|
|
741
|
-
};
|
|
742
|
-
savedChatSettings: {
|
|
743
|
-
enabled: boolean;
|
|
744
|
-
display: boolean;
|
|
745
|
-
queryWebserviceForSearch?: string | undefined;
|
|
746
|
-
};
|
|
747
|
-
globalSettings: {
|
|
748
|
-
searchWarningMessage: string;
|
|
749
|
-
disclaimer?: string | undefined;
|
|
750
|
-
genericChatErrorMessage?: string | undefined;
|
|
751
|
-
displayUserQuotaConsumption?: boolean | undefined;
|
|
752
|
-
displayChatTokensConsumption?: boolean | undefined;
|
|
753
|
-
collapseReferences?: boolean | undefined;
|
|
754
|
-
automaticScroll?: boolean | undefined;
|
|
755
|
-
};
|
|
756
|
-
auditSettings: {
|
|
757
|
-
logContent: boolean;
|
|
758
|
-
issueTypes?: string[] | undefined;
|
|
759
|
-
};
|
|
760
|
-
additionalServiceSettings: {};
|
|
761
|
-
}>;
|
|
762
|
-
export interface ChatConfig extends z.infer<typeof chatConfigSchema> {
|
|
763
|
-
}
|
|
764
|
-
export interface ChatPayload {
|
|
765
|
-
debug: boolean;
|
|
766
|
-
functions: string[];
|
|
767
|
-
history: ChatMessage[];
|
|
768
|
-
serviceSettings: ServiceSettings;
|
|
769
|
-
appQuery: {
|
|
770
|
-
app: string;
|
|
771
|
-
query: Query | undefined;
|
|
772
|
-
targetUrl?: string;
|
|
773
|
-
accessToken?: string;
|
|
774
|
-
};
|
|
775
|
-
instanceId: string;
|
|
776
|
-
chatId: string;
|
|
777
|
-
genericChatErrorMessage?: string;
|
|
778
|
-
}
|
|
779
|
-
export type ActionMessage = {
|
|
780
|
-
guid: string;
|
|
781
|
-
displayName?: string;
|
|
782
|
-
displayValue?: string;
|
|
783
|
-
executionTime?: number;
|
|
784
|
-
};
|
|
785
|
-
export interface TextChunksOptions {
|
|
786
|
-
extendMode?: "None" | "Sentence" | "Chars";
|
|
787
|
-
extendScope?: number;
|
|
788
|
-
}
|
|
789
|
-
export interface Quota {
|
|
790
|
-
lastRequest: string;
|
|
791
|
-
promptTokenCount: number;
|
|
792
|
-
completionTokenCount: number;
|
|
793
|
-
periodTokens: number;
|
|
794
|
-
resetHours: number;
|
|
795
|
-
tokenCount: number;
|
|
796
|
-
nextReset: string;
|
|
797
|
-
lastResetUTC: string;
|
|
798
|
-
nextResetUTC: string;
|
|
799
|
-
maxQuotaReached: boolean;
|
|
800
|
-
}
|
|
801
|
-
export interface SuggestedAction {
|
|
802
|
-
content: string;
|
|
803
|
-
type: string;
|
|
804
|
-
}
|
|
805
|
-
export interface InitChat {
|
|
806
|
-
messages: RawMessage[];
|
|
807
|
-
}
|
|
808
|
-
/**
|
|
809
|
-
* List of events data that can be emitted by the websocket chat endpoint
|
|
810
|
-
*/
|
|
811
|
-
export type SuggestedActionsEvent = {
|
|
812
|
-
suggestedActions: SuggestedAction[];
|
|
813
|
-
};
|
|
814
|
-
export type QuotaEvent = {
|
|
815
|
-
quota: Quota;
|
|
816
|
-
};
|
|
817
|
-
export type MessageEvent = {
|
|
818
|
-
delta: string;
|
|
819
|
-
messageId: string;
|
|
820
|
-
};
|
|
821
|
-
export type ContextMessageEvent = {
|
|
822
|
-
content: string;
|
|
823
|
-
additionalProperties: ChatContextAttachment;
|
|
824
|
-
};
|
|
825
|
-
export type ErrorEvent = string;
|
|
826
|
-
export type ActionStartEvent = {
|
|
827
|
-
guid: string;
|
|
828
|
-
displayName: string;
|
|
829
|
-
};
|
|
830
|
-
export type ActionResultEvent = {
|
|
831
|
-
guid: string;
|
|
832
|
-
displayValue: string;
|
|
833
|
-
};
|
|
834
|
-
export type ActionStopEvent = {
|
|
835
|
-
guid: string;
|
|
836
|
-
executionTime: number;
|
|
837
|
-
};
|
|
838
|
-
export type HistoryEvent = {
|
|
839
|
-
history: RawMessage[];
|
|
840
|
-
executionTime: string;
|
|
841
|
-
executionTimeMilliseconds?: number;
|
|
842
|
-
};
|
|
843
|
-
export type DebugMessageEvent = DebugMessage;
|
|
844
|
-
/**
|
|
845
|
-
* Data emitted by the http chat endpoint
|
|
846
|
-
*/
|
|
847
|
-
export type HttpChatResponse = {
|
|
848
|
-
quota: Quota;
|
|
849
|
-
suggestedActions: SuggestedAction[];
|
|
850
|
-
debug: any;
|
|
851
|
-
context: {
|
|
852
|
-
content: string;
|
|
853
|
-
additionalProperties: ChatContextAttachment;
|
|
854
|
-
}[];
|
|
855
|
-
actions: ActionMessage[];
|
|
856
|
-
history: RawMessage[];
|
|
857
|
-
executionTime: string;
|
|
858
|
-
executionTimeMilliseconds: number;
|
|
859
|
-
};
|
|
860
|
-
export interface TokenConsumption {
|
|
861
|
-
percentage: number;
|
|
862
|
-
}
|
|
863
|
-
export interface UserTokenConsumption extends TokenConsumption {
|
|
864
|
-
nextResetDate: string;
|
|
865
|
-
}
|
|
866
|
-
export interface ChatUsageMetrics {
|
|
867
|
-
totalTokenCount: number;
|
|
868
|
-
promptTokenCount: number;
|
|
869
|
-
completionTokenCount: number;
|
|
870
|
-
tokenizerType: string;
|
|
871
|
-
}
|
|
872
|
-
export interface KvObject {
|
|
873
|
-
data: {
|
|
874
|
-
key: string;
|
|
875
|
-
value: any;
|
|
876
|
-
};
|
|
877
|
-
type: "KV";
|
|
878
|
-
isError: boolean;
|
|
879
|
-
}
|
|
880
|
-
export interface ListObject {
|
|
881
|
-
name: string;
|
|
882
|
-
type: "LIST";
|
|
883
|
-
isError: boolean;
|
|
884
|
-
items: (KvObject | ListObject)[];
|
|
885
|
-
expanded: boolean;
|
|
886
|
-
}
|
|
887
|
-
export type DebugMessage = {
|
|
888
|
-
title: string;
|
|
889
|
-
chatId: string;
|
|
890
|
-
executionId: string;
|
|
891
|
-
debugMessageId: string;
|
|
892
|
-
$expanded?: boolean;
|
|
893
|
-
$loading?: boolean;
|
|
894
|
-
$details?: ListObject[];
|
|
895
|
-
};
|
|
896
|
-
export type MessageHandler<T> = {
|
|
897
|
-
handler: (data: T) => void;
|
|
898
|
-
isGlobalHandler: boolean;
|
|
899
|
-
};
|
|
900
|
-
/**
|
|
901
|
-
* Data emitted by the saved chat endpoints
|
|
902
|
-
*/
|
|
903
|
-
export type DeleteSavedChatResponse = {
|
|
904
|
-
deleteCount: number;
|
|
905
|
-
executionTime: string;
|
|
906
|
-
executionTimeMilliseconds: number;
|
|
907
|
-
};
|
|
908
|
-
export type SavedChatResponse = {
|
|
909
|
-
savedChat: SavedChat;
|
|
910
|
-
executionTime: string;
|
|
911
|
-
executionTimeMilliseconds: number;
|
|
912
|
-
};
|
|
913
|
-
/** */
|
|
914
|
-
export type PluginVersion = {
|
|
915
|
-
pluginVersion: string;
|
|
916
|
-
major: number;
|
|
917
|
-
minor: number;
|
|
918
|
-
build: number;
|
|
919
|
-
};
|
|
920
|
-
export {};
|