@nocobase/plugin-ai-gigachat 2.0.3
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/LICENSE +201 -0
- package/README.md +99 -0
- package/client.d.ts +2 -0
- package/client.js +1 -0
- package/dist/client/index.d.ts +8 -0
- package/dist/client/index.js +10 -0
- package/dist/client/llm-providers/gigachat/ModelSettings.d.ts +10 -0
- package/dist/client/llm-providers/gigachat/ProviderSettings.d.ts +10 -0
- package/dist/client/llm-providers/gigachat/index.d.ts +10 -0
- package/dist/client/locale.d.ts +3 -0
- package/dist/externalVersion.js +18 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +48 -0
- package/dist/locale/de-DE.json +1 -0
- package/dist/locale/en-US.json +1 -0
- package/dist/locale/es-ES.json +1 -0
- package/dist/locale/fr-FR.json +1 -0
- package/dist/locale/hu-HU.json +1 -0
- package/dist/locale/id-ID.json +1 -0
- package/dist/locale/it-IT.json +1 -0
- package/dist/locale/ja-JP.json +1 -0
- package/dist/locale/ko-KR.json +1 -0
- package/dist/locale/nl-NL.json +1 -0
- package/dist/locale/pt-BR.json +1 -0
- package/dist/locale/ru-RU.json +1 -0
- package/dist/locale/tr-TR.json +1 -0
- package/dist/locale/uk-UA.json +1 -0
- package/dist/locale/vi-VN.json +1 -0
- package/dist/locale/zh-CN.json +1 -0
- package/dist/locale/zh-TW.json +1 -0
- package/dist/node_modules/gigachat/api/get_balance.d.ts +8 -0
- package/dist/node_modules/gigachat/api/get_balance.js +33 -0
- package/dist/node_modules/gigachat/api/get_file.d.ts +9 -0
- package/dist/node_modules/gigachat/api/get_file.js +32 -0
- package/dist/node_modules/gigachat/api/get_files.d.ts +8 -0
- package/dist/node_modules/gigachat/api/get_files.js +32 -0
- package/dist/node_modules/gigachat/api/get_image.d.ts +10 -0
- package/dist/node_modules/gigachat/api/get_image.js +34 -0
- package/dist/node_modules/gigachat/api/get_model.d.ts +9 -0
- package/dist/node_modules/gigachat/api/get_model.js +32 -0
- package/dist/node_modules/gigachat/api/get_models.d.ts +8 -0
- package/dist/node_modules/gigachat/api/get_models.js +32 -0
- package/dist/node_modules/gigachat/api/index.d.ts +16 -0
- package/dist/node_modules/gigachat/api/index.js +35 -0
- package/dist/node_modules/gigachat/api/post_ai_check.d.ts +10 -0
- package/dist/node_modules/gigachat/api/post_ai_check.js +33 -0
- package/dist/node_modules/gigachat/api/post_auth.d.ts +10 -0
- package/dist/node_modules/gigachat/api/post_auth.js +47 -0
- package/dist/node_modules/gigachat/api/post_chat.d.ts +11 -0
- package/dist/node_modules/gigachat/api/post_chat.js +33 -0
- package/dist/node_modules/gigachat/api/post_embeddings.d.ts +10 -0
- package/dist/node_modules/gigachat/api/post_embeddings.js +33 -0
- package/dist/node_modules/gigachat/api/post_files.d.ts +10 -0
- package/dist/node_modules/gigachat/api/post_files.js +36 -0
- package/dist/node_modules/gigachat/api/post_files_delete.d.ts +9 -0
- package/dist/node_modules/gigachat/api/post_files_delete.js +33 -0
- package/dist/node_modules/gigachat/api/post_token.d.ts +10 -0
- package/dist/node_modules/gigachat/api/post_token.js +36 -0
- package/dist/node_modules/gigachat/api/post_tokens_count.d.ts +10 -0
- package/dist/node_modules/gigachat/api/post_tokens_count.js +34 -0
- package/dist/node_modules/gigachat/api/stream_chat.d.ts +11 -0
- package/dist/node_modules/gigachat/api/stream_chat.js +140 -0
- package/dist/node_modules/gigachat/api/utils.d.ts +9 -0
- package/dist/node_modules/gigachat/api/utils.js +67 -0
- package/dist/node_modules/gigachat/constants.d.ts +3 -0
- package/dist/node_modules/gigachat/constants.js +6 -0
- package/dist/node_modules/gigachat/exceptions.d.ts +12 -0
- package/dist/node_modules/gigachat/exceptions.js +26 -0
- package/dist/node_modules/gigachat/index.d.mts +78 -0
- package/dist/node_modules/gigachat/index.d.ts +78 -0
- package/dist/node_modules/gigachat/index.js +1 -0
- package/dist/node_modules/gigachat/interfaces/access_token.d.ts +8 -0
- package/dist/node_modules/gigachat/interfaces/access_token.js +3 -0
- package/dist/node_modules/gigachat/interfaces/ai_check_result.d.ts +13 -0
- package/dist/node_modules/gigachat/interfaces/ai_check_result.js +3 -0
- package/dist/node_modules/gigachat/interfaces/balance.d.ts +11 -0
- package/dist/node_modules/gigachat/interfaces/balance.js +3 -0
- package/dist/node_modules/gigachat/interfaces/chat.d.ts +33 -0
- package/dist/node_modules/gigachat/interfaces/chat.js +3 -0
- package/dist/node_modules/gigachat/interfaces/chat_completion.d.ts +16 -0
- package/dist/node_modules/gigachat/interfaces/chat_completion.js +3 -0
- package/dist/node_modules/gigachat/interfaces/chat_completion_chunk.d.ts +13 -0
- package/dist/node_modules/gigachat/interfaces/chat_completion_chunk.js +3 -0
- package/dist/node_modules/gigachat/interfaces/chat_function_call.d.ts +11 -0
- package/dist/node_modules/gigachat/interfaces/chat_function_call.js +3 -0
- package/dist/node_modules/gigachat/interfaces/choices.d.ts +11 -0
- package/dist/node_modules/gigachat/interfaces/choices.js +3 -0
- package/dist/node_modules/gigachat/interfaces/choices_chunk.d.ts +11 -0
- package/dist/node_modules/gigachat/interfaces/choices_chunk.js +3 -0
- package/dist/node_modules/gigachat/interfaces/deleted_file.d.ts +8 -0
- package/dist/node_modules/gigachat/interfaces/deleted_file.js +3 -0
- package/dist/node_modules/gigachat/interfaces/embedding.d.ts +13 -0
- package/dist/node_modules/gigachat/interfaces/embedding.js +3 -0
- package/dist/node_modules/gigachat/interfaces/embeddings.d.ts +11 -0
- package/dist/node_modules/gigachat/interfaces/embeddings.js +3 -0
- package/dist/node_modules/gigachat/interfaces/embeddings_usage.d.ts +6 -0
- package/dist/node_modules/gigachat/interfaces/embeddings_usage.js +3 -0
- package/dist/node_modules/gigachat/interfaces/few_shot_example.d.ts +10 -0
- package/dist/node_modules/gigachat/interfaces/few_shot_example.js +3 -0
- package/dist/node_modules/gigachat/interfaces/function.d.ts +18 -0
- package/dist/node_modules/gigachat/interfaces/function.js +3 -0
- package/dist/node_modules/gigachat/interfaces/function_call.d.ts +10 -0
- package/dist/node_modules/gigachat/interfaces/function_call.js +3 -0
- package/dist/node_modules/gigachat/interfaces/function_parameters.d.ts +13 -0
- package/dist/node_modules/gigachat/interfaces/function_parameters.js +3 -0
- package/dist/node_modules/gigachat/interfaces/function_parameters_property.d.ts +18 -0
- package/dist/node_modules/gigachat/interfaces/function_parameters_property.js +3 -0
- package/dist/node_modules/gigachat/interfaces/image.d.ts +6 -0
- package/dist/node_modules/gigachat/interfaces/image.js +3 -0
- package/dist/node_modules/gigachat/interfaces/index.d.ts +31 -0
- package/dist/node_modules/gigachat/interfaces/index.js +47 -0
- package/dist/node_modules/gigachat/interfaces/message.d.ts +22 -0
- package/dist/node_modules/gigachat/interfaces/message.js +3 -0
- package/dist/node_modules/gigachat/interfaces/message_chunk.d.ts +12 -0
- package/dist/node_modules/gigachat/interfaces/message_chunk.js +3 -0
- package/dist/node_modules/gigachat/interfaces/message_role.d.ts +2 -0
- package/dist/node_modules/gigachat/interfaces/message_role.js +3 -0
- package/dist/node_modules/gigachat/interfaces/model.d.ts +10 -0
- package/dist/node_modules/gigachat/interfaces/model.js +3 -0
- package/dist/node_modules/gigachat/interfaces/models.d.ts +9 -0
- package/dist/node_modules/gigachat/interfaces/models.js +3 -0
- package/dist/node_modules/gigachat/interfaces/token.d.ts +8 -0
- package/dist/node_modules/gigachat/interfaces/token.js +3 -0
- package/dist/node_modules/gigachat/interfaces/tokens_count.d.ts +13 -0
- package/dist/node_modules/gigachat/interfaces/tokens_count.js +3 -0
- package/dist/node_modules/gigachat/interfaces/uploaded_file.d.ts +18 -0
- package/dist/node_modules/gigachat/interfaces/uploaded_file.js +3 -0
- package/dist/node_modules/gigachat/interfaces/uploaded_files.d.ts +7 -0
- package/dist/node_modules/gigachat/interfaces/uploaded_files.js +3 -0
- package/dist/node_modules/gigachat/interfaces/usage.d.ts +10 -0
- package/dist/node_modules/gigachat/interfaces/usage.js +3 -0
- package/dist/node_modules/gigachat/interfaces/with_x_headers.d.ts +5 -0
- package/dist/node_modules/gigachat/interfaces/with_x_headers.js +3 -0
- package/dist/node_modules/gigachat/node_modules/axios/dist/axios.js +4353 -0
- package/dist/node_modules/gigachat/node_modules/axios/dist/axios.min.js +5 -0
- package/dist/node_modules/gigachat/node_modules/axios/dist/browser/axios.cjs +3979 -0
- package/dist/node_modules/gigachat/node_modules/axios/dist/esm/axios.js +4002 -0
- package/dist/node_modules/gigachat/node_modules/axios/dist/esm/axios.min.js +3 -0
- package/dist/node_modules/gigachat/node_modules/axios/dist/node/axios.cjs +5315 -0
- package/dist/node_modules/gigachat/node_modules/axios/index.d.cts +591 -0
- package/dist/node_modules/gigachat/node_modules/axios/index.d.ts +810 -0
- package/dist/node_modules/gigachat/node_modules/axios/index.js +43 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/adapters/adapters.js +126 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/adapters/fetch.js +288 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/adapters/http.js +898 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/adapters/xhr.js +200 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/axios.js +89 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/cancel/CancelToken.js +135 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/cancel/CanceledError.js +22 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/Axios.js +249 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/AxiosError.js +73 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/AxiosHeaders.js +314 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/InterceptorManager.js +72 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/buildFullPath.js +22 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/dispatchRequest.js +81 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/mergeConfig.js +119 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/settle.js +27 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/core/transformData.js +28 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/defaults/index.js +161 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/defaults/transitional.js +8 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/env/classes/FormData.js +2 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/env/data.js +1 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/AxiosTransformStream.js +143 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +58 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/HttpStatusCode.js +77 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +28 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/bind.js +14 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/buildURL.js +64 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/callbackify.js +16 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/combineURLs.js +15 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/composeSignals.js +48 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/cookies.js +53 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/deprecatedMethod.js +26 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/formDataToJSON.js +95 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/formDataToStream.js +112 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/fromDataURI.js +53 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/isAbsoluteURL.js +20 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/isURLSameOrigin.js +14 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/null.js +2 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/parseHeaders.js +55 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/progressEventReducer.js +44 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/readBlob.js +15 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/resolveConfig.js +61 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/speedometer.js +55 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/spread.js +28 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/throttle.js +44 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/toFormData.js +223 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/trackStream.js +87 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/helpers/validator.js +99 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/browser/index.js +13 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/common/utils.js +51 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/index.js +7 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/platform/node/index.js +38 -0
- package/dist/node_modules/gigachat/node_modules/axios/lib/utils.js +863 -0
- package/dist/node_modules/gigachat/node_modules/axios/package.json +220 -0
- package/dist/node_modules/gigachat/node_modules/es-define-property/.eslintrc +13 -0
- package/dist/node_modules/gigachat/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/dist/node_modules/gigachat/node_modules/es-define-property/.nycrc +9 -0
- package/dist/node_modules/gigachat/node_modules/es-define-property/index.d.ts +3 -0
- package/dist/node_modules/gigachat/node_modules/es-define-property/index.js +14 -0
- package/dist/node_modules/gigachat/node_modules/es-define-property/package.json +81 -0
- package/dist/node_modules/gigachat/node_modules/es-define-property/test/index.js +56 -0
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/.eslintrc +16 -0
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/ToObject.js +10 -0
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/index.d.ts +3 -0
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/index.js +4 -0
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/isObject.js +6 -0
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/package.json +80 -0
- package/dist/node_modules/gigachat/node_modules/es-object-atoms/test/index.js +38 -0
- package/dist/node_modules/gigachat/node_modules/es-set-tostringtag/.eslintrc +13 -0
- package/dist/node_modules/gigachat/node_modules/es-set-tostringtag/.nycrc +9 -0
- package/dist/node_modules/gigachat/node_modules/es-set-tostringtag/index.d.ts +10 -0
- package/dist/node_modules/gigachat/node_modules/es-set-tostringtag/index.js +35 -0
- package/dist/node_modules/gigachat/node_modules/es-set-tostringtag/package.json +78 -0
- package/dist/node_modules/gigachat/node_modules/es-set-tostringtag/test/index.js +85 -0
- package/dist/node_modules/gigachat/node_modules/follow-redirects/debug.js +15 -0
- package/dist/node_modules/gigachat/node_modules/follow-redirects/http.js +1 -0
- package/dist/node_modules/gigachat/node_modules/follow-redirects/https.js +1 -0
- package/dist/node_modules/gigachat/node_modules/follow-redirects/index.js +686 -0
- package/dist/node_modules/gigachat/node_modules/follow-redirects/package.json +58 -0
- package/dist/node_modules/gigachat/node_modules/form-data/License +19 -0
- package/dist/node_modules/gigachat/node_modules/form-data/index.d.ts +62 -0
- package/dist/node_modules/gigachat/node_modules/form-data/lib/browser.js +4 -0
- package/dist/node_modules/gigachat/node_modules/form-data/lib/form_data.js +494 -0
- package/dist/node_modules/gigachat/node_modules/form-data/lib/populate.js +10 -0
- package/dist/node_modules/gigachat/node_modules/form-data/package.json +82 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/.eslintrc +42 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/.nycrc +9 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/index.js +378 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/.eslintrc +11 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/.nycrc +9 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/index.d.ts +3 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/index.js +14 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/package.json +111 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/shams.d.ts +3 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/shams.js +45 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/test/index.js +22 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/node_modules/has-symbols/test/tests.js +58 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/package.json +97 -0
- package/dist/node_modules/gigachat/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/dist/node_modules/gigachat/node_modules/gopd/.eslintrc +16 -0
- package/dist/node_modules/gigachat/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/dist/node_modules/gigachat/node_modules/gopd/gOPD.d.ts +1 -0
- package/dist/node_modules/gigachat/node_modules/gopd/gOPD.js +4 -0
- package/dist/node_modules/gigachat/node_modules/gopd/index.d.ts +5 -0
- package/dist/node_modules/gigachat/node_modules/gopd/index.js +15 -0
- package/dist/node_modules/gigachat/node_modules/gopd/package.json +77 -0
- package/dist/node_modules/gigachat/node_modules/gopd/test/index.js +36 -0
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/.eslintrc +5 -0
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/.nycrc +13 -0
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/index.d.ts +3 -0
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/index.js +8 -0
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/package.json +108 -0
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/shams.d.ts +3 -0
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/shams.js +8 -0
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/test/index.js +21 -0
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
- package/dist/node_modules/gigachat/node_modules/has-tostringtag/test/tests.js +15 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/index.d.ts +15 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/index.js +31 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/max.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/max.js +3 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/md5.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/md5.js +13 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/native.d.ts +6 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/native.js +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/nil.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/nil.js +3 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/package.json +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/parse.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/parse.js +11 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/regex.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/regex.js +3 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/rng.d.ts +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/rng.js +13 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/sha1.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/sha1.js +13 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/stringify.d.ts +3 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/stringify.js +39 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/types.d.ts +21 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/types.js +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/uuid-bin.d.ts +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/uuid-bin.js +72 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v1.d.ts +11 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v1.js +87 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v1ToV6.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v1ToV6.js +13 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v3.d.ts +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v3.js +14 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v35.d.ts +7 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v35.js +41 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v4.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v4.js +29 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v5.d.ts +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v5.js +14 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v6.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v6.js +19 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v6ToV1.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v6ToV1.js +13 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v7.d.ts +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/v7.js +69 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/validate.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/validate.js +7 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/version.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs/version.js +10 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/index.d.ts +15 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/index.js +31 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/max.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/max.js +3 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/md5.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/md5.js +137 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/native.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/native.js +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/nil.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/nil.js +3 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/package.json +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/parse.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/parse.js +11 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/regex.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/regex.js +3 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/rng.d.ts +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/rng.js +14 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/sha1.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/sha1.js +72 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/stringify.d.ts +3 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/stringify.js +39 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/types.d.ts +21 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/types.js +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/uuid-bin.js +72 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v1.d.ts +11 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v1.js +87 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v1ToV6.js +13 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v3.d.ts +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v3.js +14 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v35.d.ts +7 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v35.js +41 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v4.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v4.js +29 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v5.d.ts +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v5.js +14 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v6.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v6.js +19 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v6ToV1.js +13 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v7.d.ts +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/v7.js +69 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/validate.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/validate.js +7 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/version.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/cjs-browser/version.js +10 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/bin/uuid +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/index.d.ts +15 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/index.js +14 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/max.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/max.js +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/md5.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/md5.js +11 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/native.d.ts +6 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/native.js +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/nil.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/nil.js +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/parse.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/parse.js +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/regex.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/regex.js +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/rng.d.ts +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/rng.js +10 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/sha1.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/sha1.js +11 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/stringify.d.ts +3 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/stringify.js +35 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/types.d.ts +21 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/types.js +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/uuid-bin.d.ts +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/uuid-bin.js +70 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v1.d.ts +11 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v1.js +83 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v1ToV6.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v1ToV6.js +10 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v3.d.ts +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v3.js +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v35.d.ts +7 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v35.js +36 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v4.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v4.js +27 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v5.d.ts +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v5.js +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v6.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v6.js +17 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v6ToV1.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v6ToV1.js +10 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v7.d.ts +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/v7.js +65 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/validate.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/validate.js +5 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/version.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm/version.js +8 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/index.d.ts +15 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/index.js +14 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/max.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/max.js +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/md5.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/md5.js +135 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/native.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/native.js +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/nil.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/parse.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/parse.js +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/regex.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/rng.d.ts +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/rng.js +11 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/sha1.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/sha1.js +70 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/stringify.d.ts +3 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/stringify.js +35 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/types.d.ts +21 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/types.js +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +1 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/uuid-bin.js +70 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v1.d.ts +11 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v1.js +83 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v1ToV6.js +10 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v3.d.ts +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v3.js +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v35.d.ts +7 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v35.js +36 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v4.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v4.js +27 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v5.d.ts +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v5.js +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v6.d.ts +4 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v6.js +17 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v6ToV1.js +10 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v7.d.ts +9 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/v7.js +65 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/validate.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/validate.js +5 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/version.d.ts +2 -0
- package/dist/node_modules/gigachat/node_modules/uuid/dist/esm-browser/version.js +8 -0
- package/dist/node_modules/gigachat/node_modules/uuid/package.json +132 -0
- package/dist/node_modules/gigachat/package.json +1 -0
- package/dist/node_modules/gigachat/settings.d.ts +35 -0
- package/dist/node_modules/gigachat/settings.js +27 -0
- package/dist/node_modules/gigachat/src/api/get_balance.ts +37 -0
- package/dist/node_modules/gigachat/src/api/get_file.ts +40 -0
- package/dist/node_modules/gigachat/src/api/get_files.ts +39 -0
- package/dist/node_modules/gigachat/src/api/get_image.ts +40 -0
- package/dist/node_modules/gigachat/src/api/get_model.ts +37 -0
- package/dist/node_modules/gigachat/src/api/get_models.ts +36 -0
- package/dist/node_modules/gigachat/src/api/index.ts +15 -0
- package/dist/node_modules/gigachat/src/api/post_ai_check.ts +42 -0
- package/dist/node_modules/gigachat/src/api/post_auth.ts +56 -0
- package/dist/node_modules/gigachat/src/api/post_chat.ts +43 -0
- package/dist/node_modules/gigachat/src/api/post_embeddings.ts +42 -0
- package/dist/node_modules/gigachat/src/api/post_files.ts +46 -0
- package/dist/node_modules/gigachat/src/api/post_files_delete.ts +41 -0
- package/dist/node_modules/gigachat/src/api/post_token.ts +42 -0
- package/dist/node_modules/gigachat/src/api/post_tokens_count.ts +44 -0
- package/dist/node_modules/gigachat/src/api/stream_chat.ts +164 -0
- package/dist/node_modules/gigachat/src/api/utils.ts +66 -0
- package/dist/node_modules/gigachat/src/constants.ts +3 -0
- package/dist/node_modules/gigachat/src/exceptions.ts +25 -0
- package/dist/node_modules/gigachat/src/index.ts +389 -0
- package/dist/node_modules/gigachat/src/interfaces/access_token.ts +9 -0
- package/dist/node_modules/gigachat/src/interfaces/ai_check_result.ts +16 -0
- package/dist/node_modules/gigachat/src/interfaces/balance.ts +11 -0
- package/dist/node_modules/gigachat/src/interfaces/chat.ts +46 -0
- package/dist/node_modules/gigachat/src/interfaces/chat_completion.ts +21 -0
- package/dist/node_modules/gigachat/src/interfaces/chat_completion_chunk.ts +17 -0
- package/dist/node_modules/gigachat/src/interfaces/chat_function_call.ts +11 -0
- package/dist/node_modules/gigachat/src/interfaces/choices.ts +14 -0
- package/dist/node_modules/gigachat/src/interfaces/choices_chunk.ts +14 -0
- package/dist/node_modules/gigachat/src/interfaces/deleted_file.ts +8 -0
- package/dist/node_modules/gigachat/src/interfaces/embedding.ts +17 -0
- package/dist/node_modules/gigachat/src/interfaces/embeddings.ts +14 -0
- package/dist/node_modules/gigachat/src/interfaces/embeddings_usage.ts +6 -0
- package/dist/node_modules/gigachat/src/interfaces/few_shot_example.ts +9 -0
- package/dist/node_modules/gigachat/src/interfaces/function.ts +21 -0
- package/dist/node_modules/gigachat/src/interfaces/function_call.ts +9 -0
- package/dist/node_modules/gigachat/src/interfaces/function_parameters.ts +14 -0
- package/dist/node_modules/gigachat/src/interfaces/function_parameters_property.ts +18 -0
- package/dist/node_modules/gigachat/src/interfaces/image.ts +6 -0
- package/dist/node_modules/gigachat/src/interfaces/index.ts +30 -0
- package/dist/node_modules/gigachat/src/interfaces/message.ts +30 -0
- package/dist/node_modules/gigachat/src/interfaces/message_chunk.ts +15 -0
- package/dist/node_modules/gigachat/src/interfaces/message_role.ts +7 -0
- package/dist/node_modules/gigachat/src/interfaces/model.ts +12 -0
- package/dist/node_modules/gigachat/src/interfaces/models.ts +11 -0
- package/dist/node_modules/gigachat/src/interfaces/token.ts +9 -0
- package/dist/node_modules/gigachat/src/interfaces/tokens_count.ts +16 -0
- package/dist/node_modules/gigachat/src/interfaces/uploaded_file.ts +24 -0
- package/dist/node_modules/gigachat/src/interfaces/uploaded_files.ts +8 -0
- package/dist/node_modules/gigachat/src/interfaces/usage.ts +10 -0
- package/dist/node_modules/gigachat/src/interfaces/with_x_headers.ts +5 -0
- package/dist/node_modules/gigachat/src/settings.ts +71 -0
- package/dist/node_modules/langchain-gigachat/LICENSE +21 -0
- package/dist/node_modules/langchain-gigachat/chat_models.cjs +1 -0
- package/dist/node_modules/langchain-gigachat/chat_models.d.cts +1 -0
- package/dist/node_modules/langchain-gigachat/chat_models.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/chat_models.js +1 -0
- package/dist/node_modules/langchain-gigachat/dist/chat_models.cjs +628 -0
- package/dist/node_modules/langchain-gigachat/dist/chat_models.d.ts +126 -0
- package/dist/node_modules/langchain-gigachat/dist/chat_models.js +624 -0
- package/dist/node_modules/langchain-gigachat/dist/embeddings.cjs +153 -0
- package/dist/node_modules/langchain-gigachat/dist/embeddings.d.ts +77 -0
- package/dist/node_modules/langchain-gigachat/dist/embeddings.js +149 -0
- package/dist/node_modules/langchain-gigachat/dist/index.cjs +18 -0
- package/dist/node_modules/langchain-gigachat/dist/index.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/dist/index.js +2 -0
- package/dist/node_modules/langchain-gigachat/embeddings.cjs +1 -0
- package/dist/node_modules/langchain-gigachat/embeddings.d.cts +1 -0
- package/dist/node_modules/langchain-gigachat/embeddings.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/embeddings.js +1 -0
- package/dist/node_modules/langchain-gigachat/index.cjs +7 -0
- package/dist/node_modules/langchain-gigachat/index.d.cts +1 -0
- package/dist/node_modules/langchain-gigachat/index.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/index.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/index.d.ts +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/index.js +31 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/max.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/max.js +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/md5.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/md5.js +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/native.d.ts +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/native.js +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/nil.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/nil.js +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/package.json +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/parse.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/parse.js +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/regex.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/regex.js +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/rng.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/rng.js +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/sha1.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/sha1.js +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/stringify.d.ts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/stringify.js +39 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/types.d.ts +21 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/types.js +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/uuid-bin.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/uuid-bin.js +72 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v1.d.ts +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v1.js +87 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v1ToV6.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v1ToV6.js +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v3.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v3.js +14 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v35.d.ts +7 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v35.js +41 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v4.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v4.js +29 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v5.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v5.js +14 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v6.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v6.js +19 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v6ToV1.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v6ToV1.js +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v7.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/v7.js +69 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/validate.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/validate.js +7 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/version.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs/version.js +10 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/index.d.ts +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/index.js +31 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/max.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/max.js +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/md5.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/md5.js +137 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/native.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/native.js +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/nil.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/nil.js +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/package.json +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/parse.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/parse.js +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/regex.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/regex.js +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/rng.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/rng.js +14 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/sha1.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/sha1.js +72 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/stringify.d.ts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/stringify.js +39 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/types.d.ts +21 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/types.js +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/uuid-bin.js +72 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v1.d.ts +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v1.js +87 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v1ToV6.js +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v3.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v3.js +14 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v35.d.ts +7 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v35.js +41 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v4.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v4.js +29 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v5.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v5.js +14 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v6.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v6.js +19 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v6ToV1.js +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v7.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/v7.js +69 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/validate.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/validate.js +7 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/version.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/cjs-browser/version.js +10 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/bin/uuid +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/index.d.ts +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/index.js +14 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/max.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/max.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/md5.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/md5.js +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/native.d.ts +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/native.js +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/nil.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/nil.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/parse.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/parse.js +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/regex.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/regex.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/rng.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/rng.js +10 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/sha1.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/sha1.js +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/stringify.d.ts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/stringify.js +35 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/types.d.ts +21 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/types.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/uuid-bin.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/uuid-bin.js +70 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v1.d.ts +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v1.js +83 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v1ToV6.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v1ToV6.js +10 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v3.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v3.js +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v35.d.ts +7 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v35.js +36 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v4.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v4.js +27 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v5.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v5.js +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v6.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v6.js +17 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v6ToV1.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v6ToV1.js +10 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v7.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/v7.js +65 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/validate.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/validate.js +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/version.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm/version.js +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/index.d.ts +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/index.js +14 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/max.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/max.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/md5.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/md5.js +135 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/native.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/native.js +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/nil.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/parse.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/parse.js +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/regex.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/rng.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/rng.js +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/sha1.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/sha1.js +70 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/stringify.d.ts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/stringify.js +35 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/types.d.ts +21 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/types.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/uuid-bin.js +70 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v1.d.ts +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v1.js +83 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v1ToV6.js +10 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v3.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v3.js +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v35.d.ts +7 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v35.js +36 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v4.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v4.js +27 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v5.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v5.js +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v6.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v6.js +17 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v6ToV1.js +10 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v7.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/v7.js +65 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/validate.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/validate.js +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/version.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/dist/esm-browser/version.js +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/uuid/package.json +132 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/index.cjs +33 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/index.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/index.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/index.js +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/package.json +118 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/index.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/errors.ts +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/external.ts +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/index.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/function.test.ts +257 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v3/types.ts +5136 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/checks.ts +30 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/compat.ts +66 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/errors.ts +75 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/external.ts +50 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/parse.ts +33 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/api.ts +1594 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/checks.ts +1283 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/config.ts +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/core.ts +134 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/errors.ts +424 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/function.ts +176 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/index.ts +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/json-schema.ts +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/parse.ts +94 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/regexes.ts +135 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/registries.ts +96 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/schemas.ts +3842 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/util.ts +775 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/index.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/ar.ts +125 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/az.ts +121 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/be.ts +184 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/ca.ts +127 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/cs.ts +142 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/de.ts +124 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/en.ts +127 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/eo.ts +125 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/es.ts +125 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/fa.ts +134 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/fi.ts +131 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/fr.ts +124 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/he.ts +125 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/hu.ts +126 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/id.ts +125 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/index.ts +39 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/it.ts +125 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/ja.ts +122 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/kh.ts +126 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/ko.ts +131 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/mk.ts +127 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/ms.ts +124 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/no.ts +124 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/ota.ts +125 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/pl.ts +126 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/ps.ts +133 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/pt.ts +123 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/ru.ts +184 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/sl.ts +126 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/sv.ts +127 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/ta.ts +125 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/th.ts +126 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/tr.ts +121 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/ua.ts +126 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/ur.ts +126 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/vi.ts +125 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/coerce.ts +22 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/iso.ts +62 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/parse.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/ZodError.cjs +138 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/ZodError.js +133 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/errors.cjs +17 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/errors.d.cts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/errors.d.ts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/errors.js +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/external.cjs +22 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/external.d.cts +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/external.d.ts +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/external.js +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/helpers/util.js +133 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/index.cjs +33 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/index.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/index.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/index.js +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/locales/en.cjs +111 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/locales/en.js +109 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/standard-schema.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/types.cjs +3775 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/types.d.cts +1031 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/types.d.ts +1031 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v3/types.js +3693 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/checks.cjs +32 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/checks.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/coerce.js +17 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/compat.cjs +57 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/compat.d.cts +46 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/compat.d.ts +46 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/compat.js +27 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/errors.cjs +67 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/errors.js +41 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/external.cjs +70 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/external.d.cts +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/external.d.ts +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/external.js +18 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/index.cjs +33 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/index.js +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/iso.js +30 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/parse.cjs +32 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/parse.d.cts +23 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/parse.d.ts +23 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/parse.js +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/schemas.cjs +1109 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/schemas.d.cts +630 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/schemas.d.ts +630 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/classic/schemas.js +1006 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/api.cjs +1039 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/api.d.cts +284 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/api.d.ts +284 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/api.js +906 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/checks.cjs +591 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/checks.js +565 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/core.cjs +67 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/core.d.cts +49 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/core.d.ts +49 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/core.js +61 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/doc.cjs +39 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/doc.js +35 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/errors.cjs +226 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/errors.d.cts +208 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/errors.d.ts +208 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/errors.js +195 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/function.cjs +102 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/function.d.cts +52 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/function.d.ts +52 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/function.js +75 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/index.cjs +44 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/index.d.cts +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/index.d.ts +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/index.js +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/json-schema.d.cts +87 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/json-schema.d.ts +87 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/json-schema.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/parse.cjs +87 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/parse.d.cts +25 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/parse.d.ts +25 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/parse.js +57 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/regexes.cjs +103 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/regexes.d.cts +62 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/regexes.d.ts +62 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/regexes.js +95 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/registries.cjs +56 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/registries.js +51 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/schemas.cjs +1748 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/schemas.d.cts +1041 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/schemas.d.ts +1041 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/schemas.js +1717 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/to-json-schema.js +849 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/util.cjs +539 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/util.d.cts +183 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/util.d.ts +183 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/util.js +493 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/versions.cjs +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/core/versions.js +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/index.cjs +22 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/index.d.cts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/index.d.ts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/index.js +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ar.cjs +142 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ar.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ar.js +116 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/az.cjs +141 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/az.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/az.js +115 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/be.cjs +190 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/be.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/be.js +164 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ca.cjs +144 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ca.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ca.js +118 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/cs.cjs +161 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/cs.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/cs.js +135 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/de.cjs +142 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/de.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/de.js +116 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/en.cjs +145 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/en.d.ts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/en.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/eo.cjs +144 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/eo.d.ts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/eo.js +116 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/es.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/es.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/es.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fa.cjs +148 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fa.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fa.js +122 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fi.cjs +148 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fi.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fi.js +122 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fr-CA.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fr.cjs +142 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fr.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/fr.js +116 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/he.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/he.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/he.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/hu.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/hu.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/hu.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/id.cjs +142 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/id.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/id.js +116 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/index.cjs +84 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/index.d.cts +39 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/index.d.ts +39 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/index.js +39 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/it.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/it.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/it.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ja.cjs +141 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ja.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ja.js +115 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/kh.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/kh.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/kh.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/kh.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ko.cjs +147 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ko.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ko.js +121 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/mk.cjs +144 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/mk.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/mk.js +118 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ms.cjs +142 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ms.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ms.js +116 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/nl.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/nl.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/nl.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/no.cjs +142 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/no.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/no.js +116 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ota.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ota.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ota.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/pl.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/pl.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/pl.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ps.cjs +148 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ps.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ps.js +122 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/pt.cjs +142 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/pt.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/pt.js +116 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ru.cjs +190 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ru.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ru.js +164 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/sl.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/sl.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/sl.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/sv.cjs +144 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/sv.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/sv.js +118 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ta.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ta.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ta.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/th.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/th.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/th.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/tr.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/tr.d.ts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/tr.js +115 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ua.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ua.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ua.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ua.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ur.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ur.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/ur.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/vi.cjs +142 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/vi.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/vi.js +116 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/zh-CN.js +116 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/locales/zh-TW.js +117 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/checks.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/coerce.cjs +47 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/coerce.js +17 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/external.cjs +62 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/external.d.cts +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/external.d.ts +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/external.js +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/index.cjs +32 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/index.js +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/iso.cjs +60 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/iso.js +30 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/parse.cjs +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/parse.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/schemas.cjs +839 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/schemas.d.cts +356 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/schemas.d.ts +356 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4/mini/schemas.js +732 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4-mini/index.cjs +17 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod/v4-mini/index.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/.github/CR_logotype-full-color.png +0 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/.github/FUNDING.yml +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/.prettierrc.json +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/createIndex.ts +32 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/Options.js +51 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/Refs.js +26 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/errorMessages.js +19 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/getRelativePath.js +12 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/index.js +56 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/package.json +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parseDef.js +66 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parseTypes.js +2 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/any.js +21 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/array.js +30 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/bigint.js +53 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/boolean.js +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/branded.js +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/catch.js +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/date.js +50 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/default.js +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/effects.js +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/enum.js +10 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/intersection.js +56 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/literal.js +25 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/map.js +30 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/nativeEnum.js +20 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/never.js +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/null.js +14 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/nullable.js +37 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/number.js +56 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/object.js +76 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/optional.js +25 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/pipeline.js +24 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/promise.js +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/readonly.js +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/record.js +65 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/set.js +24 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/string.js +356 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/tuple.js +36 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/undefined.js +10 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/union.js +84 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/parsers/unknown.js +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/selectParser.js +109 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/cjs/zodToJsonSchema.js +90 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/Options.js +46 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/Refs.js +22 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +14 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/index.js +40 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/package.json +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parseDef.js +62 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parseTypes.js +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +17 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +26 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +49 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +46 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +7 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +7 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +52 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +21 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +26 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +16 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +11 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +10 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +33 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +52 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +72 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +21 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +20 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +61 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +20 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +352 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +32 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +80 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/selectParser.js +105 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +87 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/Options.d.ts +37 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/Refs.d.ts +17 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/errorMessages.d.ts +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/getRelativePath.d.ts +1 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/index.d.ts +40 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parseDef.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parseTypes.d.ts +34 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/any.d.ts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/array.d.ts +12 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/bigint.d.ts +14 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/boolean.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/branded.d.ts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/catch.d.ts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/date.d.ts +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/default.d.ts +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/effects.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/enum.d.ts +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/intersection.d.ts +8 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/literal.d.ts +9 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/map.d.ts +15 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/nativeEnum.d.ts +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/never.d.ts +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/null.d.ts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/nullable.d.ts +10 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/number.d.ts +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/object.d.ts +10 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/optional.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/pipeline.d.ts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/promise.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/readonly.d.ts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/record.d.ts +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/set.d.ts +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/string.d.ts +73 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/tuple.d.ts +13 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/undefined.d.ts +6 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/union.d.ts +23 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/parsers/unknown.d.ts +4 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/selectParser.d.ts +5 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/dist/types/zodToJsonSchema.d.ts +10 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/package.json +78 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/postcjs.ts +3 -0
- package/dist/node_modules/langchain-gigachat/node_modules/zod-to-json-schema/postesm.ts +3 -0
- package/dist/node_modules/langchain-gigachat/package.json +1 -0
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.js +42 -0
- package/dist/server/llm-providers/gigachat.d.ts +24 -0
- package/dist/server/llm-providers/gigachat.js +109 -0
- package/dist/server/plugin.d.ts +12 -0
- package/dist/server/plugin.js +59 -0
- package/package.json +26 -0
- package/server.d.ts +2 -0
- package/server.js +1 -0
|
@@ -0,0 +1,810 @@
|
|
|
1
|
+
// TypeScript Version: 4.7
|
|
2
|
+
type StringLiteralsOrString<Literals extends string> = Literals | (string & {});
|
|
3
|
+
|
|
4
|
+
export type AxiosHeaderValue =
|
|
5
|
+
| AxiosHeaders
|
|
6
|
+
| string
|
|
7
|
+
| string[]
|
|
8
|
+
| number
|
|
9
|
+
| boolean
|
|
10
|
+
| null;
|
|
11
|
+
|
|
12
|
+
interface RawAxiosHeaders {
|
|
13
|
+
[key: string]: AxiosHeaderValue;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
type MethodsHeaders = Partial<
|
|
17
|
+
{
|
|
18
|
+
[Key in Method as Lowercase<Key>]: AxiosHeaders;
|
|
19
|
+
} & { common: AxiosHeaders }
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
type AxiosHeaderMatcher =
|
|
23
|
+
| string
|
|
24
|
+
| RegExp
|
|
25
|
+
| ((this: AxiosHeaders, value: string, name: string) => boolean);
|
|
26
|
+
|
|
27
|
+
type AxiosHeaderParser = (
|
|
28
|
+
this: AxiosHeaders,
|
|
29
|
+
value: AxiosHeaderValue,
|
|
30
|
+
header: string,
|
|
31
|
+
) => any;
|
|
32
|
+
|
|
33
|
+
export class AxiosHeaders {
|
|
34
|
+
constructor(headers?: RawAxiosHeaders | AxiosHeaders | string);
|
|
35
|
+
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
|
|
38
|
+
set(
|
|
39
|
+
headerName?: string,
|
|
40
|
+
value?: AxiosHeaderValue,
|
|
41
|
+
rewrite?: boolean | AxiosHeaderMatcher,
|
|
42
|
+
): AxiosHeaders;
|
|
43
|
+
set(
|
|
44
|
+
headers?: RawAxiosHeaders | AxiosHeaders | string,
|
|
45
|
+
rewrite?: boolean,
|
|
46
|
+
): AxiosHeaders;
|
|
47
|
+
|
|
48
|
+
get(headerName: string, parser: RegExp): RegExpExecArray | null;
|
|
49
|
+
get(headerName: string, matcher?: true | AxiosHeaderParser): AxiosHeaderValue;
|
|
50
|
+
|
|
51
|
+
has(header: string, matcher?: AxiosHeaderMatcher): boolean;
|
|
52
|
+
|
|
53
|
+
delete(header: string | string[], matcher?: AxiosHeaderMatcher): boolean;
|
|
54
|
+
|
|
55
|
+
clear(matcher?: AxiosHeaderMatcher): boolean;
|
|
56
|
+
|
|
57
|
+
normalize(format: boolean): AxiosHeaders;
|
|
58
|
+
|
|
59
|
+
concat(
|
|
60
|
+
...targets: Array<
|
|
61
|
+
AxiosHeaders | RawAxiosHeaders | string | undefined | null
|
|
62
|
+
>
|
|
63
|
+
): AxiosHeaders;
|
|
64
|
+
|
|
65
|
+
toJSON(asStrings?: boolean): RawAxiosHeaders;
|
|
66
|
+
|
|
67
|
+
static from(thing?: AxiosHeaders | RawAxiosHeaders | string): AxiosHeaders;
|
|
68
|
+
|
|
69
|
+
static accessor(header: string | string[]): AxiosHeaders;
|
|
70
|
+
|
|
71
|
+
static concat(
|
|
72
|
+
...targets: Array<
|
|
73
|
+
AxiosHeaders | RawAxiosHeaders | string | undefined | null
|
|
74
|
+
>
|
|
75
|
+
): AxiosHeaders;
|
|
76
|
+
|
|
77
|
+
setContentType(
|
|
78
|
+
value: ContentType,
|
|
79
|
+
rewrite?: boolean | AxiosHeaderMatcher,
|
|
80
|
+
): AxiosHeaders;
|
|
81
|
+
getContentType(parser?: RegExp): RegExpExecArray | null;
|
|
82
|
+
getContentType(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
83
|
+
hasContentType(matcher?: AxiosHeaderMatcher): boolean;
|
|
84
|
+
|
|
85
|
+
setContentLength(
|
|
86
|
+
value: AxiosHeaderValue,
|
|
87
|
+
rewrite?: boolean | AxiosHeaderMatcher,
|
|
88
|
+
): AxiosHeaders;
|
|
89
|
+
getContentLength(parser?: RegExp): RegExpExecArray | null;
|
|
90
|
+
getContentLength(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
91
|
+
hasContentLength(matcher?: AxiosHeaderMatcher): boolean;
|
|
92
|
+
|
|
93
|
+
setAccept(
|
|
94
|
+
value: AxiosHeaderValue,
|
|
95
|
+
rewrite?: boolean | AxiosHeaderMatcher,
|
|
96
|
+
): AxiosHeaders;
|
|
97
|
+
getAccept(parser?: RegExp): RegExpExecArray | null;
|
|
98
|
+
getAccept(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
99
|
+
hasAccept(matcher?: AxiosHeaderMatcher): boolean;
|
|
100
|
+
|
|
101
|
+
setUserAgent(
|
|
102
|
+
value: AxiosHeaderValue,
|
|
103
|
+
rewrite?: boolean | AxiosHeaderMatcher,
|
|
104
|
+
): AxiosHeaders;
|
|
105
|
+
getUserAgent(parser?: RegExp): RegExpExecArray | null;
|
|
106
|
+
getUserAgent(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
107
|
+
hasUserAgent(matcher?: AxiosHeaderMatcher): boolean;
|
|
108
|
+
|
|
109
|
+
setContentEncoding(
|
|
110
|
+
value: AxiosHeaderValue,
|
|
111
|
+
rewrite?: boolean | AxiosHeaderMatcher,
|
|
112
|
+
): AxiosHeaders;
|
|
113
|
+
getContentEncoding(parser?: RegExp): RegExpExecArray | null;
|
|
114
|
+
getContentEncoding(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
115
|
+
hasContentEncoding(matcher?: AxiosHeaderMatcher): boolean;
|
|
116
|
+
|
|
117
|
+
setAuthorization(
|
|
118
|
+
value: AxiosHeaderValue,
|
|
119
|
+
rewrite?: boolean | AxiosHeaderMatcher,
|
|
120
|
+
): AxiosHeaders;
|
|
121
|
+
getAuthorization(parser?: RegExp): RegExpExecArray | null;
|
|
122
|
+
getAuthorization(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
123
|
+
hasAuthorization(matcher?: AxiosHeaderMatcher): boolean;
|
|
124
|
+
|
|
125
|
+
getSetCookie(): string[];
|
|
126
|
+
|
|
127
|
+
[Symbol.iterator](): IterableIterator<[string, AxiosHeaderValue]>;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
type CommonRequestHeadersList =
|
|
131
|
+
| "Accept"
|
|
132
|
+
| "Content-Length"
|
|
133
|
+
| "User-Agent"
|
|
134
|
+
| "Content-Encoding"
|
|
135
|
+
| "Authorization";
|
|
136
|
+
|
|
137
|
+
type ContentType =
|
|
138
|
+
| AxiosHeaderValue
|
|
139
|
+
| "text/html"
|
|
140
|
+
| "text/plain"
|
|
141
|
+
| "multipart/form-data"
|
|
142
|
+
| "application/json"
|
|
143
|
+
| "application/x-www-form-urlencoded"
|
|
144
|
+
| "application/octet-stream";
|
|
145
|
+
|
|
146
|
+
export type RawAxiosRequestHeaders = Partial<
|
|
147
|
+
RawAxiosHeaders & {
|
|
148
|
+
[Key in CommonRequestHeadersList]: AxiosHeaderValue;
|
|
149
|
+
} & {
|
|
150
|
+
"Content-Type": ContentType;
|
|
151
|
+
}
|
|
152
|
+
>;
|
|
153
|
+
|
|
154
|
+
export type AxiosRequestHeaders = RawAxiosRequestHeaders & AxiosHeaders;
|
|
155
|
+
|
|
156
|
+
type CommonResponseHeadersList =
|
|
157
|
+
| "Server"
|
|
158
|
+
| "Content-Type"
|
|
159
|
+
| "Content-Length"
|
|
160
|
+
| "Cache-Control"
|
|
161
|
+
| "Content-Encoding";
|
|
162
|
+
|
|
163
|
+
type RawCommonResponseHeaders = {
|
|
164
|
+
[Key in CommonResponseHeadersList]: AxiosHeaderValue;
|
|
165
|
+
} & {
|
|
166
|
+
"set-cookie": string[];
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
export type RawAxiosResponseHeaders = Partial<
|
|
170
|
+
RawAxiosHeaders & RawCommonResponseHeaders
|
|
171
|
+
>;
|
|
172
|
+
|
|
173
|
+
export type AxiosResponseHeaders = RawAxiosResponseHeaders & AxiosHeaders;
|
|
174
|
+
|
|
175
|
+
export interface AxiosRequestTransformer {
|
|
176
|
+
(
|
|
177
|
+
this: InternalAxiosRequestConfig,
|
|
178
|
+
data: any,
|
|
179
|
+
headers: AxiosRequestHeaders,
|
|
180
|
+
): any;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export interface AxiosResponseTransformer {
|
|
184
|
+
(
|
|
185
|
+
this: InternalAxiosRequestConfig,
|
|
186
|
+
data: any,
|
|
187
|
+
headers: AxiosResponseHeaders,
|
|
188
|
+
status?: number,
|
|
189
|
+
): any;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export interface AxiosAdapter {
|
|
193
|
+
(config: InternalAxiosRequestConfig): AxiosPromise;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export interface AxiosBasicCredentials {
|
|
197
|
+
username: string;
|
|
198
|
+
password: string;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export interface AxiosProxyConfig {
|
|
202
|
+
host: string;
|
|
203
|
+
port: number;
|
|
204
|
+
auth?: AxiosBasicCredentials;
|
|
205
|
+
protocol?: string;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export enum HttpStatusCode {
|
|
209
|
+
Continue = 100,
|
|
210
|
+
SwitchingProtocols = 101,
|
|
211
|
+
Processing = 102,
|
|
212
|
+
EarlyHints = 103,
|
|
213
|
+
Ok = 200,
|
|
214
|
+
Created = 201,
|
|
215
|
+
Accepted = 202,
|
|
216
|
+
NonAuthoritativeInformation = 203,
|
|
217
|
+
NoContent = 204,
|
|
218
|
+
ResetContent = 205,
|
|
219
|
+
PartialContent = 206,
|
|
220
|
+
MultiStatus = 207,
|
|
221
|
+
AlreadyReported = 208,
|
|
222
|
+
ImUsed = 226,
|
|
223
|
+
MultipleChoices = 300,
|
|
224
|
+
MovedPermanently = 301,
|
|
225
|
+
Found = 302,
|
|
226
|
+
SeeOther = 303,
|
|
227
|
+
NotModified = 304,
|
|
228
|
+
UseProxy = 305,
|
|
229
|
+
Unused = 306,
|
|
230
|
+
TemporaryRedirect = 307,
|
|
231
|
+
PermanentRedirect = 308,
|
|
232
|
+
BadRequest = 400,
|
|
233
|
+
Unauthorized = 401,
|
|
234
|
+
PaymentRequired = 402,
|
|
235
|
+
Forbidden = 403,
|
|
236
|
+
NotFound = 404,
|
|
237
|
+
MethodNotAllowed = 405,
|
|
238
|
+
NotAcceptable = 406,
|
|
239
|
+
ProxyAuthenticationRequired = 407,
|
|
240
|
+
RequestTimeout = 408,
|
|
241
|
+
Conflict = 409,
|
|
242
|
+
Gone = 410,
|
|
243
|
+
LengthRequired = 411,
|
|
244
|
+
PreconditionFailed = 412,
|
|
245
|
+
PayloadTooLarge = 413,
|
|
246
|
+
UriTooLong = 414,
|
|
247
|
+
UnsupportedMediaType = 415,
|
|
248
|
+
RangeNotSatisfiable = 416,
|
|
249
|
+
ExpectationFailed = 417,
|
|
250
|
+
ImATeapot = 418,
|
|
251
|
+
MisdirectedRequest = 421,
|
|
252
|
+
UnprocessableEntity = 422,
|
|
253
|
+
Locked = 423,
|
|
254
|
+
FailedDependency = 424,
|
|
255
|
+
TooEarly = 425,
|
|
256
|
+
UpgradeRequired = 426,
|
|
257
|
+
PreconditionRequired = 428,
|
|
258
|
+
TooManyRequests = 429,
|
|
259
|
+
RequestHeaderFieldsTooLarge = 431,
|
|
260
|
+
UnavailableForLegalReasons = 451,
|
|
261
|
+
InternalServerError = 500,
|
|
262
|
+
NotImplemented = 501,
|
|
263
|
+
BadGateway = 502,
|
|
264
|
+
ServiceUnavailable = 503,
|
|
265
|
+
GatewayTimeout = 504,
|
|
266
|
+
HttpVersionNotSupported = 505,
|
|
267
|
+
VariantAlsoNegotiates = 506,
|
|
268
|
+
InsufficientStorage = 507,
|
|
269
|
+
LoopDetected = 508,
|
|
270
|
+
NotExtended = 510,
|
|
271
|
+
NetworkAuthenticationRequired = 511,
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export type Method =
|
|
275
|
+
| "get"
|
|
276
|
+
| "GET"
|
|
277
|
+
| "delete"
|
|
278
|
+
| "DELETE"
|
|
279
|
+
| "head"
|
|
280
|
+
| "HEAD"
|
|
281
|
+
| "options"
|
|
282
|
+
| "OPTIONS"
|
|
283
|
+
| "post"
|
|
284
|
+
| "POST"
|
|
285
|
+
| "put"
|
|
286
|
+
| "PUT"
|
|
287
|
+
| "patch"
|
|
288
|
+
| "PATCH"
|
|
289
|
+
| "purge"
|
|
290
|
+
| "PURGE"
|
|
291
|
+
| "link"
|
|
292
|
+
| "LINK"
|
|
293
|
+
| "unlink"
|
|
294
|
+
| "UNLINK";
|
|
295
|
+
|
|
296
|
+
export type ResponseType =
|
|
297
|
+
| "arraybuffer"
|
|
298
|
+
| "blob"
|
|
299
|
+
| "document"
|
|
300
|
+
| "json"
|
|
301
|
+
| "text"
|
|
302
|
+
| "stream"
|
|
303
|
+
| "formdata";
|
|
304
|
+
|
|
305
|
+
export type responseEncoding =
|
|
306
|
+
| "ascii"
|
|
307
|
+
| "ASCII"
|
|
308
|
+
| "ansi"
|
|
309
|
+
| "ANSI"
|
|
310
|
+
| "binary"
|
|
311
|
+
| "BINARY"
|
|
312
|
+
| "base64"
|
|
313
|
+
| "BASE64"
|
|
314
|
+
| "base64url"
|
|
315
|
+
| "BASE64URL"
|
|
316
|
+
| "hex"
|
|
317
|
+
| "HEX"
|
|
318
|
+
| "latin1"
|
|
319
|
+
| "LATIN1"
|
|
320
|
+
| "ucs-2"
|
|
321
|
+
| "UCS-2"
|
|
322
|
+
| "ucs2"
|
|
323
|
+
| "UCS2"
|
|
324
|
+
| "utf-8"
|
|
325
|
+
| "UTF-8"
|
|
326
|
+
| "utf8"
|
|
327
|
+
| "UTF8"
|
|
328
|
+
| "utf16le"
|
|
329
|
+
| "UTF16LE";
|
|
330
|
+
|
|
331
|
+
export interface TransitionalOptions {
|
|
332
|
+
silentJSONParsing?: boolean;
|
|
333
|
+
forcedJSONParsing?: boolean;
|
|
334
|
+
clarifyTimeoutError?: boolean;
|
|
335
|
+
legacyInterceptorReqResOrdering?: boolean;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export interface GenericAbortSignal {
|
|
339
|
+
readonly aborted: boolean;
|
|
340
|
+
onabort?: ((...args: any) => any) | null;
|
|
341
|
+
addEventListener?: (...args: any) => any;
|
|
342
|
+
removeEventListener?: (...args: any) => any;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export interface FormDataVisitorHelpers {
|
|
346
|
+
defaultVisitor: SerializerVisitor;
|
|
347
|
+
convertValue: (value: any) => any;
|
|
348
|
+
isVisitable: (value: any) => boolean;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export interface SerializerVisitor {
|
|
352
|
+
(
|
|
353
|
+
this: GenericFormData,
|
|
354
|
+
value: any,
|
|
355
|
+
key: string | number,
|
|
356
|
+
path: null | Array<string | number>,
|
|
357
|
+
helpers: FormDataVisitorHelpers,
|
|
358
|
+
): boolean;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
export interface SerializerOptions {
|
|
362
|
+
visitor?: SerializerVisitor;
|
|
363
|
+
dots?: boolean;
|
|
364
|
+
metaTokens?: boolean;
|
|
365
|
+
indexes?: boolean | null;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
// tslint:disable-next-line
|
|
369
|
+
export interface FormSerializerOptions extends SerializerOptions {}
|
|
370
|
+
|
|
371
|
+
export interface ParamEncoder {
|
|
372
|
+
(value: any, defaultEncoder: (value: any) => any): any;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export interface CustomParamsSerializer {
|
|
376
|
+
(params: Record<string, any>, options?: ParamsSerializerOptions): string;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
export interface ParamsSerializerOptions extends SerializerOptions {
|
|
380
|
+
encode?: ParamEncoder;
|
|
381
|
+
serialize?: CustomParamsSerializer;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
type MaxUploadRate = number;
|
|
385
|
+
|
|
386
|
+
type MaxDownloadRate = number;
|
|
387
|
+
|
|
388
|
+
type BrowserProgressEvent = any;
|
|
389
|
+
|
|
390
|
+
export interface AxiosProgressEvent {
|
|
391
|
+
loaded: number;
|
|
392
|
+
total?: number;
|
|
393
|
+
progress?: number;
|
|
394
|
+
bytes: number;
|
|
395
|
+
rate?: number;
|
|
396
|
+
estimated?: number;
|
|
397
|
+
upload?: boolean;
|
|
398
|
+
download?: boolean;
|
|
399
|
+
event?: BrowserProgressEvent;
|
|
400
|
+
lengthComputable: boolean;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
type Milliseconds = number;
|
|
404
|
+
|
|
405
|
+
type AxiosAdapterName = StringLiteralsOrString<"xhr" | "http" | "fetch">;
|
|
406
|
+
|
|
407
|
+
type AxiosAdapterConfig = AxiosAdapter | AxiosAdapterName;
|
|
408
|
+
|
|
409
|
+
export type AddressFamily = 4 | 6 | undefined;
|
|
410
|
+
|
|
411
|
+
export interface LookupAddressEntry {
|
|
412
|
+
address: string;
|
|
413
|
+
family?: AddressFamily;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export type LookupAddress = string | LookupAddressEntry;
|
|
417
|
+
|
|
418
|
+
export interface AxiosRequestConfig<D = any> {
|
|
419
|
+
url?: string;
|
|
420
|
+
method?: StringLiteralsOrString<Method>;
|
|
421
|
+
baseURL?: string;
|
|
422
|
+
allowAbsoluteUrls?: boolean;
|
|
423
|
+
transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
|
|
424
|
+
transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
|
|
425
|
+
headers?: (RawAxiosRequestHeaders & MethodsHeaders) | AxiosHeaders;
|
|
426
|
+
params?: any;
|
|
427
|
+
paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer;
|
|
428
|
+
data?: D;
|
|
429
|
+
timeout?: Milliseconds;
|
|
430
|
+
timeoutErrorMessage?: string;
|
|
431
|
+
withCredentials?: boolean;
|
|
432
|
+
adapter?: AxiosAdapterConfig | AxiosAdapterConfig[];
|
|
433
|
+
auth?: AxiosBasicCredentials;
|
|
434
|
+
responseType?: ResponseType;
|
|
435
|
+
responseEncoding?: StringLiteralsOrString<responseEncoding>;
|
|
436
|
+
xsrfCookieName?: string;
|
|
437
|
+
xsrfHeaderName?: string;
|
|
438
|
+
onUploadProgress?: (progressEvent: AxiosProgressEvent) => void;
|
|
439
|
+
onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void;
|
|
440
|
+
maxContentLength?: number;
|
|
441
|
+
validateStatus?: ((status: number) => boolean) | null;
|
|
442
|
+
maxBodyLength?: number;
|
|
443
|
+
maxRedirects?: number;
|
|
444
|
+
maxRate?: number | [MaxUploadRate, MaxDownloadRate];
|
|
445
|
+
beforeRedirect?: (
|
|
446
|
+
options: Record<string, any>,
|
|
447
|
+
responseDetails: {
|
|
448
|
+
headers: Record<string, string>;
|
|
449
|
+
statusCode: HttpStatusCode;
|
|
450
|
+
},
|
|
451
|
+
) => void;
|
|
452
|
+
socketPath?: string | null;
|
|
453
|
+
transport?: any;
|
|
454
|
+
httpAgent?: any;
|
|
455
|
+
httpsAgent?: any;
|
|
456
|
+
proxy?: AxiosProxyConfig | false;
|
|
457
|
+
cancelToken?: CancelToken | undefined;
|
|
458
|
+
decompress?: boolean;
|
|
459
|
+
transitional?: TransitionalOptions;
|
|
460
|
+
signal?: GenericAbortSignal;
|
|
461
|
+
insecureHTTPParser?: boolean;
|
|
462
|
+
env?: {
|
|
463
|
+
FormData?: new (...args: any[]) => object;
|
|
464
|
+
fetch?: (
|
|
465
|
+
input: URL | Request | string,
|
|
466
|
+
init?: RequestInit,
|
|
467
|
+
) => Promise<Response>;
|
|
468
|
+
Request?: new (
|
|
469
|
+
input: URL | Request | string,
|
|
470
|
+
init?: RequestInit,
|
|
471
|
+
) => Request;
|
|
472
|
+
Response?: new (
|
|
473
|
+
body?:
|
|
474
|
+
| ArrayBuffer
|
|
475
|
+
| ArrayBufferView
|
|
476
|
+
| Blob
|
|
477
|
+
| FormData
|
|
478
|
+
| URLSearchParams
|
|
479
|
+
| string
|
|
480
|
+
| null,
|
|
481
|
+
init?: ResponseInit,
|
|
482
|
+
) => Response;
|
|
483
|
+
};
|
|
484
|
+
formSerializer?: FormSerializerOptions;
|
|
485
|
+
family?: AddressFamily;
|
|
486
|
+
lookup?:
|
|
487
|
+
| ((
|
|
488
|
+
hostname: string,
|
|
489
|
+
options: object,
|
|
490
|
+
cb: (
|
|
491
|
+
err: Error | null,
|
|
492
|
+
address: LookupAddress | LookupAddress[],
|
|
493
|
+
family?: AddressFamily,
|
|
494
|
+
) => void,
|
|
495
|
+
) => void)
|
|
496
|
+
| ((
|
|
497
|
+
hostname: string,
|
|
498
|
+
options: object,
|
|
499
|
+
) => Promise<
|
|
500
|
+
| [
|
|
501
|
+
address: LookupAddressEntry | LookupAddressEntry[],
|
|
502
|
+
family?: AddressFamily,
|
|
503
|
+
]
|
|
504
|
+
| LookupAddress
|
|
505
|
+
>);
|
|
506
|
+
withXSRFToken?:
|
|
507
|
+
| boolean
|
|
508
|
+
| ((config: InternalAxiosRequestConfig) => boolean | undefined);
|
|
509
|
+
parseReviver?: (this: any, key: string, value: any) => any;
|
|
510
|
+
fetchOptions?:
|
|
511
|
+
| Omit<RequestInit, "body" | "headers" | "method" | "signal">
|
|
512
|
+
| Record<string, any>;
|
|
513
|
+
httpVersion?: 1 | 2;
|
|
514
|
+
http2Options?: Record<string, any> & {
|
|
515
|
+
sessionTimeout?: number;
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
// Alias
|
|
520
|
+
export type RawAxiosRequestConfig<D = any> = AxiosRequestConfig<D>;
|
|
521
|
+
|
|
522
|
+
export interface InternalAxiosRequestConfig<
|
|
523
|
+
D = any,
|
|
524
|
+
> extends AxiosRequestConfig<D> {
|
|
525
|
+
headers: AxiosRequestHeaders;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export interface HeadersDefaults {
|
|
529
|
+
common: RawAxiosRequestHeaders;
|
|
530
|
+
delete: RawAxiosRequestHeaders;
|
|
531
|
+
get: RawAxiosRequestHeaders;
|
|
532
|
+
head: RawAxiosRequestHeaders;
|
|
533
|
+
post: RawAxiosRequestHeaders;
|
|
534
|
+
put: RawAxiosRequestHeaders;
|
|
535
|
+
patch: RawAxiosRequestHeaders;
|
|
536
|
+
options?: RawAxiosRequestHeaders;
|
|
537
|
+
purge?: RawAxiosRequestHeaders;
|
|
538
|
+
link?: RawAxiosRequestHeaders;
|
|
539
|
+
unlink?: RawAxiosRequestHeaders;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
export interface AxiosDefaults<D = any> extends Omit<
|
|
543
|
+
AxiosRequestConfig<D>,
|
|
544
|
+
"headers"
|
|
545
|
+
> {
|
|
546
|
+
headers: HeadersDefaults;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
export interface CreateAxiosDefaults<D = any> extends Omit<
|
|
550
|
+
AxiosRequestConfig<D>,
|
|
551
|
+
"headers"
|
|
552
|
+
> {
|
|
553
|
+
headers?: RawAxiosRequestHeaders | AxiosHeaders | Partial<HeadersDefaults>;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export interface AxiosResponse<T = any, D = any, H = {}> {
|
|
557
|
+
data: T;
|
|
558
|
+
status: number;
|
|
559
|
+
statusText: string;
|
|
560
|
+
headers: (H & RawAxiosResponseHeaders) | AxiosResponseHeaders;
|
|
561
|
+
config: InternalAxiosRequestConfig<D>;
|
|
562
|
+
request?: any;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export class AxiosError<T = unknown, D = any> extends Error {
|
|
566
|
+
constructor(
|
|
567
|
+
message?: string,
|
|
568
|
+
code?: string,
|
|
569
|
+
config?: InternalAxiosRequestConfig<D>,
|
|
570
|
+
request?: any,
|
|
571
|
+
response?: AxiosResponse<T, D>,
|
|
572
|
+
);
|
|
573
|
+
|
|
574
|
+
config?: InternalAxiosRequestConfig<D>;
|
|
575
|
+
code?: string;
|
|
576
|
+
request?: any;
|
|
577
|
+
response?: AxiosResponse<T, D>;
|
|
578
|
+
isAxiosError: boolean;
|
|
579
|
+
status?: number;
|
|
580
|
+
toJSON: () => object;
|
|
581
|
+
cause?: Error;
|
|
582
|
+
event?: BrowserProgressEvent;
|
|
583
|
+
static from<T = unknown, D = any>(
|
|
584
|
+
error: Error | unknown,
|
|
585
|
+
code?: string,
|
|
586
|
+
config?: InternalAxiosRequestConfig<D>,
|
|
587
|
+
request?: any,
|
|
588
|
+
response?: AxiosResponse<T, D>,
|
|
589
|
+
customProps?: object,
|
|
590
|
+
): AxiosError<T, D>;
|
|
591
|
+
static readonly ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
|
|
592
|
+
static readonly ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
|
|
593
|
+
static readonly ERR_BAD_OPTION = "ERR_BAD_OPTION";
|
|
594
|
+
static readonly ERR_NETWORK = "ERR_NETWORK";
|
|
595
|
+
static readonly ERR_DEPRECATED = "ERR_DEPRECATED";
|
|
596
|
+
static readonly ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE";
|
|
597
|
+
static readonly ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
|
|
598
|
+
static readonly ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
|
|
599
|
+
static readonly ERR_INVALID_URL = "ERR_INVALID_URL";
|
|
600
|
+
static readonly ERR_CANCELED = "ERR_CANCELED";
|
|
601
|
+
static readonly ECONNABORTED = "ECONNABORTED";
|
|
602
|
+
static readonly ETIMEDOUT = "ETIMEDOUT";
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
export class CanceledError<T> extends AxiosError<T> {
|
|
606
|
+
readonly name: "CanceledError";
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
export type AxiosPromise<T = any> = Promise<AxiosResponse<T>>;
|
|
610
|
+
|
|
611
|
+
export interface CancelStatic {
|
|
612
|
+
new (message?: string): Cancel;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
export interface Cancel {
|
|
616
|
+
message: string | undefined;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
export interface Canceler {
|
|
620
|
+
(message?: string, config?: AxiosRequestConfig, request?: any): void;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
export interface CancelTokenStatic {
|
|
624
|
+
new (executor: (cancel: Canceler) => void): CancelToken;
|
|
625
|
+
source(): CancelTokenSource;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
export interface CancelToken {
|
|
629
|
+
promise: Promise<Cancel>;
|
|
630
|
+
reason?: Cancel;
|
|
631
|
+
throwIfRequested(): void;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
export interface CancelTokenSource {
|
|
635
|
+
token: CancelToken;
|
|
636
|
+
cancel: Canceler;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
export interface AxiosInterceptorOptions {
|
|
640
|
+
synchronous?: boolean;
|
|
641
|
+
runWhen?: (config: InternalAxiosRequestConfig) => boolean;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
type AxiosInterceptorFulfilled<T> = (value: T) => T | Promise<T>;
|
|
645
|
+
type AxiosInterceptorRejected = (error: any) => any;
|
|
646
|
+
|
|
647
|
+
type AxiosRequestInterceptorUse<T> = (
|
|
648
|
+
onFulfilled?: AxiosInterceptorFulfilled<T> | null,
|
|
649
|
+
onRejected?: AxiosInterceptorRejected | null,
|
|
650
|
+
options?: AxiosInterceptorOptions,
|
|
651
|
+
) => number;
|
|
652
|
+
|
|
653
|
+
type AxiosResponseInterceptorUse<T> = (
|
|
654
|
+
onFulfilled?: AxiosInterceptorFulfilled<T> | null,
|
|
655
|
+
onRejected?: AxiosInterceptorRejected | null,
|
|
656
|
+
) => number;
|
|
657
|
+
|
|
658
|
+
interface AxiosInterceptorHandler<T> {
|
|
659
|
+
fulfilled: AxiosInterceptorFulfilled<T>;
|
|
660
|
+
rejected?: AxiosInterceptorRejected;
|
|
661
|
+
synchronous: boolean;
|
|
662
|
+
runWhen: (config: AxiosRequestConfig) => boolean | null;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
export interface AxiosInterceptorManager<V> {
|
|
666
|
+
use: V extends AxiosResponse
|
|
667
|
+
? AxiosResponseInterceptorUse<V>
|
|
668
|
+
: AxiosRequestInterceptorUse<V>;
|
|
669
|
+
eject(id: number): void;
|
|
670
|
+
clear(): void;
|
|
671
|
+
handlers?: Array<AxiosInterceptorHandler<V>>;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
export class Axios {
|
|
675
|
+
constructor(config?: AxiosRequestConfig);
|
|
676
|
+
defaults: AxiosDefaults;
|
|
677
|
+
interceptors: {
|
|
678
|
+
request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
|
|
679
|
+
response: AxiosInterceptorManager<AxiosResponse>;
|
|
680
|
+
};
|
|
681
|
+
getUri(config?: AxiosRequestConfig): string;
|
|
682
|
+
request<T = any, R = AxiosResponse<T>, D = any>(
|
|
683
|
+
config: AxiosRequestConfig<D>,
|
|
684
|
+
): Promise<R>;
|
|
685
|
+
get<T = any, R = AxiosResponse<T>, D = any>(
|
|
686
|
+
url: string,
|
|
687
|
+
config?: AxiosRequestConfig<D>,
|
|
688
|
+
): Promise<R>;
|
|
689
|
+
delete<T = any, R = AxiosResponse<T>, D = any>(
|
|
690
|
+
url: string,
|
|
691
|
+
config?: AxiosRequestConfig<D>,
|
|
692
|
+
): Promise<R>;
|
|
693
|
+
head<T = any, R = AxiosResponse<T>, D = any>(
|
|
694
|
+
url: string,
|
|
695
|
+
config?: AxiosRequestConfig<D>,
|
|
696
|
+
): Promise<R>;
|
|
697
|
+
options<T = any, R = AxiosResponse<T>, D = any>(
|
|
698
|
+
url: string,
|
|
699
|
+
config?: AxiosRequestConfig<D>,
|
|
700
|
+
): Promise<R>;
|
|
701
|
+
post<T = any, R = AxiosResponse<T>, D = any>(
|
|
702
|
+
url: string,
|
|
703
|
+
data?: D,
|
|
704
|
+
config?: AxiosRequestConfig<D>,
|
|
705
|
+
): Promise<R>;
|
|
706
|
+
put<T = any, R = AxiosResponse<T>, D = any>(
|
|
707
|
+
url: string,
|
|
708
|
+
data?: D,
|
|
709
|
+
config?: AxiosRequestConfig<D>,
|
|
710
|
+
): Promise<R>;
|
|
711
|
+
patch<T = any, R = AxiosResponse<T>, D = any>(
|
|
712
|
+
url: string,
|
|
713
|
+
data?: D,
|
|
714
|
+
config?: AxiosRequestConfig<D>,
|
|
715
|
+
): Promise<R>;
|
|
716
|
+
postForm<T = any, R = AxiosResponse<T>, D = any>(
|
|
717
|
+
url: string,
|
|
718
|
+
data?: D,
|
|
719
|
+
config?: AxiosRequestConfig<D>,
|
|
720
|
+
): Promise<R>;
|
|
721
|
+
putForm<T = any, R = AxiosResponse<T>, D = any>(
|
|
722
|
+
url: string,
|
|
723
|
+
data?: D,
|
|
724
|
+
config?: AxiosRequestConfig<D>,
|
|
725
|
+
): Promise<R>;
|
|
726
|
+
patchForm<T = any, R = AxiosResponse<T>, D = any>(
|
|
727
|
+
url: string,
|
|
728
|
+
data?: D,
|
|
729
|
+
config?: AxiosRequestConfig<D>,
|
|
730
|
+
): Promise<R>;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
export interface AxiosInstance extends Axios {
|
|
734
|
+
<T = any, R = AxiosResponse<T>, D = any>(
|
|
735
|
+
config: AxiosRequestConfig<D>,
|
|
736
|
+
): Promise<R>;
|
|
737
|
+
<T = any, R = AxiosResponse<T>, D = any>(
|
|
738
|
+
url: string,
|
|
739
|
+
config?: AxiosRequestConfig<D>,
|
|
740
|
+
): Promise<R>;
|
|
741
|
+
|
|
742
|
+
create(config?: CreateAxiosDefaults): AxiosInstance;
|
|
743
|
+
defaults: Omit<AxiosDefaults, "headers"> & {
|
|
744
|
+
headers: HeadersDefaults & {
|
|
745
|
+
[key: string]: AxiosHeaderValue;
|
|
746
|
+
};
|
|
747
|
+
};
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
export interface GenericFormData {
|
|
751
|
+
append(name: string, value: any, options?: any): any;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
export interface GenericHTMLFormElement {
|
|
755
|
+
name: string;
|
|
756
|
+
method: string;
|
|
757
|
+
submit(): void;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
export function getAdapter(
|
|
761
|
+
adapters: AxiosAdapterConfig | AxiosAdapterConfig[] | undefined,
|
|
762
|
+
): AxiosAdapter;
|
|
763
|
+
|
|
764
|
+
export function toFormData(
|
|
765
|
+
sourceObj: object,
|
|
766
|
+
targetFormData?: GenericFormData,
|
|
767
|
+
options?: FormSerializerOptions,
|
|
768
|
+
): GenericFormData;
|
|
769
|
+
|
|
770
|
+
export function formToJSON(
|
|
771
|
+
form: GenericFormData | GenericHTMLFormElement,
|
|
772
|
+
): object;
|
|
773
|
+
|
|
774
|
+
export function isAxiosError<T = any, D = any>(
|
|
775
|
+
payload: any,
|
|
776
|
+
): payload is AxiosError<T, D>;
|
|
777
|
+
|
|
778
|
+
export function spread<T, R>(callback: (...args: T[]) => R): (array: T[]) => R;
|
|
779
|
+
|
|
780
|
+
export function isCancel<T = any>(value: any): value is CanceledError<T>;
|
|
781
|
+
|
|
782
|
+
export function all<T>(values: Array<T | Promise<T>>): Promise<T[]>;
|
|
783
|
+
|
|
784
|
+
export function mergeConfig<D = any>(
|
|
785
|
+
config1: AxiosRequestConfig<D>,
|
|
786
|
+
config2: AxiosRequestConfig<D>,
|
|
787
|
+
): AxiosRequestConfig<D>;
|
|
788
|
+
|
|
789
|
+
export interface AxiosStatic extends AxiosInstance {
|
|
790
|
+
Cancel: CancelStatic;
|
|
791
|
+
CancelToken: CancelTokenStatic;
|
|
792
|
+
Axios: typeof Axios;
|
|
793
|
+
AxiosError: typeof AxiosError;
|
|
794
|
+
HttpStatusCode: typeof HttpStatusCode;
|
|
795
|
+
readonly VERSION: string;
|
|
796
|
+
isCancel: typeof isCancel;
|
|
797
|
+
all: typeof all;
|
|
798
|
+
spread: typeof spread;
|
|
799
|
+
isAxiosError: typeof isAxiosError;
|
|
800
|
+
toFormData: typeof toFormData;
|
|
801
|
+
formToJSON: typeof formToJSON;
|
|
802
|
+
getAdapter: typeof getAdapter;
|
|
803
|
+
CanceledError: typeof CanceledError;
|
|
804
|
+
AxiosHeaders: typeof AxiosHeaders;
|
|
805
|
+
mergeConfig: typeof mergeConfig;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
declare const axios: AxiosStatic;
|
|
809
|
+
|
|
810
|
+
export default axios;
|