@nocobase/plugin-ai 2.3.0-alpha.1 → 3.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/dist/ai/docs/nocobase/ai-employees/block/ai-chat-box.md +133 -0
  2. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/documents.md +1 -1
  3. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/index.md +11 -7
  4. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/settings.md +12 -8
  5. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/vector-database.md +3 -3
  6. package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/create-document.md +1 -1
  7. package/dist/ai/docs/nocobase/api/app/env.md +3 -1
  8. package/dist/ai/docs/nocobase/api/cli/index.md +14 -2
  9. package/dist/ai/docs/nocobase/api/cli/portal/config.md +44 -0
  10. package/dist/ai/docs/nocobase/api/cli/portal/create.md +48 -0
  11. package/dist/ai/docs/nocobase/api/cli/portal/deploy.md +39 -0
  12. package/dist/ai/docs/nocobase/api/cli/portal/destroy.md +41 -0
  13. package/dist/ai/docs/nocobase/api/cli/portal/dev.md +39 -0
  14. package/dist/ai/docs/nocobase/api/cli/portal/index.md +136 -0
  15. package/dist/ai/docs/nocobase/api/cli/portal/info.md +41 -0
  16. package/dist/ai/docs/nocobase/api/cli/portal/list.md +40 -0
  17. package/dist/ai/docs/nocobase/api/cli/portal/pull.md +43 -0
  18. package/dist/ai/docs/nocobase/api/cli/portal/push.md +41 -0
  19. package/dist/ai/docs/nocobase/building-tips/ai-fill-js-block-form.md +1092 -0
  20. package/dist/ai/docs/nocobase/data-sources/calendar/calendar-collection.md +100 -3
  21. package/dist/ai/docs/nocobase/data-sources/collection-comment/index.md +92 -39
  22. package/dist/ai/docs/nocobase/data-sources/collection-sql/index.md +150 -29
  23. package/dist/ai/docs/nocobase/data-sources/collection-tree/index.md +93 -5
  24. package/dist/ai/docs/nocobase/data-sources/collection-view/index.md +226 -4
  25. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/china-region.md +122 -5
  26. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/collection-select.md +105 -4
  27. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/json.md +102 -4
  28. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/nano-id.md +104 -4
  29. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/snowflake-id.md +108 -4
  30. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/sort.md +3 -19
  31. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/uuid.md +104 -4
  32. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/associations/index.md +44 -8
  33. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/color.md +102 -4
  34. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/email.md +104 -4
  35. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/icon.md +102 -4
  36. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/input.md +112 -8
  37. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/integer.md +103 -4
  38. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/number.md +103 -4
  39. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/password.md +102 -4
  40. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/percent.md +104 -5
  41. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/phone.md +104 -4
  42. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/textarea.md +99 -8
  43. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/url.md +103 -4
  44. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/checkbox-group.md +105 -3
  45. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/checkbox.md +102 -4
  46. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/china-region.md +108 -5
  47. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/multiple-select.md +103 -5
  48. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/radio-group.md +106 -4
  49. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/select.md +103 -5
  50. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/date.md +102 -4
  51. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/datetime-without-tz.md +103 -5
  52. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/datetime.md +103 -5
  53. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/index.md +53 -47
  54. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/time.md +102 -4
  55. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/unix-timestamp.md +103 -5
  56. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/geometric/circle.md +102 -4
  57. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/geometric/line.md +103 -5
  58. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/geometric/point.md +102 -4
  59. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/geometric/polygon.md +102 -4
  60. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/index.md +62 -16
  61. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/media/markdown.md +104 -4
  62. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/media/rich-text.md +105 -5
  63. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/created-at.md +105 -5
  64. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/created-by.md +103 -5
  65. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/space.md +100 -6
  66. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/table-oid.md +102 -4
  67. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/updated-at.md +104 -5
  68. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/updated-by.md +104 -6
  69. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/validation.md +68 -58
  70. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection.md +32 -13
  71. package/dist/ai/docs/nocobase/data-sources/data-modeling/index.md +41 -33
  72. package/dist/ai/docs/nocobase/data-sources/data-source-external-mariadb/index.md +114 -6
  73. package/dist/ai/docs/nocobase/data-sources/data-source-external-mssql/index.md +117 -6
  74. package/dist/ai/docs/nocobase/data-sources/data-source-external-mysql/index.md +103 -6
  75. package/dist/ai/docs/nocobase/data-sources/data-source-external-nocobase/index.md +75 -73
  76. package/dist/ai/docs/nocobase/data-sources/data-source-external-oracle/index.md +129 -11
  77. package/dist/ai/docs/nocobase/data-sources/data-source-external-postgres/index.md +110 -6
  78. package/dist/ai/docs/nocobase/data-sources/data-source-kingbase/index.md +75 -49
  79. package/dist/ai/docs/nocobase/data-sources/data-source-main/general-collection.md +116 -15
  80. package/dist/ai/docs/nocobase/data-sources/data-source-main/index.md +92 -62
  81. package/dist/ai/docs/nocobase/data-sources/data-source-main/inheritance-collection.md +97 -10
  82. package/dist/ai/docs/nocobase/data-sources/data-source-manager/external-database.md +97 -58
  83. package/dist/ai/docs/nocobase/data-sources/data-source-manager/index.md +32 -24
  84. package/dist/ai/docs/nocobase/data-sources/data-source-rest-api/index.md +115 -153
  85. package/dist/ai/docs/nocobase/data-sources/external/clickhouse.md +124 -0
  86. package/dist/ai/docs/nocobase/data-sources/external/doris.md +130 -0
  87. package/dist/ai/docs/nocobase/data-sources/external/index.md +140 -0
  88. package/dist/ai/docs/nocobase/data-sources/external/kingbase.md +129 -0
  89. package/dist/ai/docs/nocobase/data-sources/external/mariadb.md +126 -0
  90. package/dist/ai/docs/nocobase/data-sources/external/mssql.md +129 -0
  91. package/dist/ai/docs/nocobase/data-sources/external/mysql.md +115 -0
  92. package/dist/ai/docs/nocobase/data-sources/external/nocobase.md +159 -0
  93. package/dist/ai/docs/nocobase/data-sources/external/oceanbase.md +126 -0
  94. package/dist/ai/docs/nocobase/data-sources/external/oracle.md +158 -0
  95. package/dist/ai/docs/nocobase/data-sources/external/postgresql.md +122 -0
  96. package/dist/ai/docs/nocobase/data-sources/external/rest-api.md +245 -0
  97. package/dist/ai/docs/nocobase/data-sources/field-attachment-url/index.md +100 -12
  98. package/dist/ai/docs/nocobase/data-sources/field-encryption/index.md +48 -47
  99. package/dist/ai/docs/nocobase/data-sources/field-formula/index.md +99 -5
  100. package/dist/ai/docs/nocobase/data-sources/field-markdown-vditor/index.md +105 -5
  101. package/dist/ai/docs/nocobase/data-sources/field-sequence/index.md +102 -5
  102. package/dist/ai/docs/nocobase/data-sources/field-signature/index.md +18 -16
  103. package/dist/ai/docs/nocobase/data-sources/field-sort/index.md +76 -73
  104. package/dist/ai/docs/nocobase/data-sources/file-manager/field-attachment.md +101 -7
  105. package/dist/ai/docs/nocobase/data-sources/file-manager/file-collection.md +101 -14
  106. package/dist/ai/docs/nocobase/data-sources/index.md +49 -33
  107. package/dist/ai/docs/nocobase/data-sources/main/index.md +130 -0
  108. package/dist/ai/docs/nocobase/data-sources/main/kingbase.md +147 -0
  109. package/dist/ai/docs/nocobase/data-sources/main/mariadb.md +59 -0
  110. package/dist/ai/docs/nocobase/data-sources/main/mysql.md +59 -0
  111. package/dist/ai/docs/nocobase/data-sources/main/oceanbase.md +62 -0
  112. package/dist/ai/docs/nocobase/data-sources/main/postgresql.md +61 -0
  113. package/dist/ai/docs/nocobase/file-manager/storage/index.md +66 -26
  114. package/dist/ai/docs/nocobase/file-manager/storage/s3-pro.md +58 -7
  115. package/dist/ai/docs/nocobase/get-started/installation/env.md +2 -2
  116. package/dist/ai/docs/nocobase/ops-management/migration-manager/built-in-tables.md +1 -2
  117. package/dist/ai/docs/nocobase/runjs/context/ai.md +194 -4
  118. package/dist/ai/tools/executeFrontendTool.d.ts +10 -0
  119. package/dist/ai/tools/executeFrontendTool.js +86 -0
  120. package/dist/ai/tools/getSkill.js +1 -1
  121. package/dist/ai/tools/loadFrontendTool.d.ts +10 -0
  122. package/dist/ai/tools/loadFrontendTool.js +99 -0
  123. package/dist/client/244.8631eb5cf3f05e21.js +10 -0
  124. package/dist/client/{525.203778500aca5d05.js → 525.94dd4136c1361477.js} +1 -1
  125. package/dist/client/681.6ffbc9329b9ac242.js +10 -0
  126. package/dist/{client-v2/705.1d10027ff8cfdf79.js → client/705.19b642db34de438a.js} +1 -1
  127. package/dist/client/index.d.ts +1 -3
  128. package/dist/client/index.js +8 -8
  129. package/dist/client-v2/244.c428e645ecb94414.js +10 -0
  130. package/dist/client-v2/420.b2aedb1ff71fca0e.js +10 -0
  131. package/dist/client-v2/681.6890caa389564ff7.js +10 -0
  132. package/dist/client-v2/705.8dc34d43f02f322c.js +10 -0
  133. package/dist/client-v2/ai-employees/AIEmployeeShortcut.d.ts +2 -0
  134. package/dist/client-v2/ai-employees/AddContextButton.d.ts +2 -0
  135. package/dist/client-v2/ai-employees/chatbox/components/AIEmployeeSwitcher.d.ts +1 -0
  136. package/dist/client-v2/ai-employees/chatbox/components/ChatBoxUnreadBadge.d.ts +17 -0
  137. package/dist/client-v2/ai-employees/chatbox/components/Conversations.d.ts +9 -1
  138. package/dist/client-v2/ai-employees/chatbox/components/MessageRenderers.d.ts +1 -1
  139. package/dist/client-v2/ai-employees/chatbox/components/Messages.d.ts +5 -1
  140. package/dist/client-v2/ai-employees/chatbox/components/ModelSwitcher.d.ts +4 -0
  141. package/dist/client-v2/ai-employees/chatbox/components/Sender.d.ts +33 -1
  142. package/dist/client-v2/ai-employees/chatbox/components/index.d.ts +1 -0
  143. package/dist/client-v2/ai-employees/chatbox/hooks/useChat.d.ts +8 -5
  144. package/dist/client-v2/ai-employees/chatbox/hooks/useChatBoxActions.d.ts +3 -2
  145. package/dist/client-v2/ai-employees/chatbox/hooks/useChatBoxEffect.d.ts +2 -1
  146. package/dist/client-v2/ai-employees/chatbox/hooks/useChatConversationActions.d.ts +3 -2
  147. package/dist/client-v2/ai-employees/chatbox/hooks/useChatMessageActions.d.ts +4 -2
  148. package/dist/client-v2/ai-employees/chatbox/hooks/useToolCallActions.d.ts +3 -1
  149. package/dist/client-v2/ai-employees/chatbox/hooks/useUploadFiles.d.ts +13 -3
  150. package/dist/client-v2/ai-employees/chatbox/hooks/useWorkflowTasks.d.ts +3 -2
  151. package/dist/client-v2/ai-employees/chatbox/index.d.ts +17 -0
  152. package/dist/client-v2/ai-employees/chatbox/roles.d.ts +2 -153
  153. package/dist/client-v2/ai-employees/chatbox/stores/chat-box.d.ts +46 -31
  154. package/dist/client-v2/ai-employees/chatbox/stores/chat-conversations.d.ts +7 -7
  155. package/dist/client-v2/ai-employees/chatbox/stores/chat-messages.d.ts +23 -18
  156. package/dist/client-v2/ai-employees/chatbox/stores/chat-sender.d.ts +43 -0
  157. package/dist/client-v2/ai-employees/chatbox/stores/chat-tool-call.d.ts +6 -5
  158. package/dist/client-v2/ai-employees/chatbox/stores/chat-tools.d.ts +11 -5
  159. package/dist/client-v2/ai-employees/chatbox/stores/mounted-chat-boxes.d.ts +20 -0
  160. package/dist/client-v2/ai-employees/chatbox/stores/runtime.d.ts +43 -0
  161. package/dist/client-v2/ai-employees/chatbox/stores/workflow-tasks.d.ts +22 -10
  162. package/dist/client-v2/ai-employees/chatbox/upload.d.ts +19 -0
  163. package/dist/client-v2/ai-employees/chatbox/utils.d.ts +28 -4
  164. package/dist/client-v2/ai-employees/frontend-tools.d.ts +11 -0
  165. package/dist/client-v2/ai-employees/tools/SuggestionsOptionsCard.d.ts +1 -1
  166. package/dist/client-v2/ai-employees/tools/WorkflowTaskOutputCard.d.ts +1 -1
  167. package/dist/client-v2/ai-employees/types.d.ts +30 -0
  168. package/dist/client-v2/block/ai-chat-box/AIChatBoxBlockModel.d.ts +21 -0
  169. package/dist/client-v2/block/ai-chat-box/AIChatBoxCoreModel.d.ts +13 -0
  170. package/dist/client-v2/block/ai-chat-box/components/AIChatBoxCoreView.d.ts +10 -0
  171. package/dist/client-v2/block/ai-chat-box/components/AIChatBoxView.d.ts +12 -0
  172. package/dist/client-v2/block/ai-chat-box/index.d.ts +14 -0
  173. package/dist/client-v2/block/ai-chat-box/settings.d.ts +12 -0
  174. package/dist/client-v2/block/ai-chat-box/sub-models.d.ts +26 -0
  175. package/dist/client-v2/block/ai-chat-box/types.d.ts +38 -0
  176. package/dist/client-v2/block/ai-chat-box/utils.d.ts +26 -0
  177. package/dist/client-v2/index.d.ts +3 -5
  178. package/dist/client-v2/index.js +3 -3
  179. package/dist/client-v2/llm-services/model-select.d.ts +33 -0
  180. package/dist/client-v2/llm-services/utils.d.ts +1 -0
  181. package/dist/client-v2/manager/ai-manager.d.ts +10 -3
  182. package/dist/client-v2/manager/frontend-tool-registry.d.ts +30 -0
  183. package/dist/client-v2/models/ai-employees/AIEmployeeActionModel.d.ts +4 -1
  184. package/dist/client-v2/models/ai-employees/AIEmployeeShortcutModel.d.ts +5 -0
  185. package/dist/client-v2/pages/EmployeesPage.d.ts +2 -0
  186. package/dist/client-v2/runjs/registerAIEmployeeRunJSFacade.d.ts +1 -0
  187. package/dist/common/ai-employee-validation.d.ts +15 -0
  188. package/dist/common/ai-employee-validation.js +61 -0
  189. package/dist/common/error-codes.d.ts +13 -0
  190. package/dist/common/error-codes.js +48 -0
  191. package/dist/common/frontend-tools.d.ts +26 -0
  192. package/dist/common/frontend-tools.js +57 -0
  193. package/dist/common/llm-service-models.d.ts +16 -0
  194. package/dist/common/llm-service-models.js +84 -0
  195. package/dist/externalVersion.js +16 -16
  196. package/dist/locale/en-US.json +67 -0
  197. package/dist/locale/zh-CN.json +67 -0
  198. package/dist/node_modules/@langchain/mistralai/package.json +1 -1
  199. package/dist/node_modules/@langchain/xai/package.json +1 -1
  200. package/dist/node_modules/fs-extra/package.json +1 -1
  201. package/dist/node_modules/jsonrepair/package.json +1 -1
  202. package/dist/node_modules/just-bash/package.json +1 -1
  203. package/dist/node_modules/nodejs-snowflake/package.json +1 -1
  204. package/dist/node_modules/openai/package.json +1 -1
  205. package/dist/node_modules/zod/package.json +1 -1
  206. package/dist/server/ai-employees/ai-conversations.d.ts +4 -1
  207. package/dist/server/ai-employees/ai-conversations.js +2 -0
  208. package/dist/server/ai-employees/ai-employee.d.ts +2 -1
  209. package/dist/server/ai-employees/ai-employee.js +26 -7
  210. package/dist/server/ai-employees/middleware/conversation.js +9 -2
  211. package/dist/server/collections/ai-conversations.js +5 -0
  212. package/dist/server/document-loader/constants.js +1 -1
  213. package/dist/server/frontend-tools.d.ts +25 -0
  214. package/dist/server/frontend-tools.js +171 -0
  215. package/dist/server/manager/work-context-handler.js +10 -3
  216. package/dist/server/plugin.d.ts +1 -0
  217. package/dist/server/plugin.js +25 -0
  218. package/dist/server/resource/aiConversations.d.ts +2 -0
  219. package/dist/server/resource/aiConversations.js +33 -3
  220. package/dist/server/resource/aiEmployees.d.ts +2 -0
  221. package/dist/server/resource/aiEmployees.js +62 -0
  222. package/dist/server/resource/aiWorkflowTasks.js +9 -1
  223. package/dist/server/resource/llmServices.d.ts +11 -0
  224. package/dist/server/resource/llmServices.js +85 -0
  225. package/dist/server/types/knowledge-base.type.d.ts +6 -2
  226. package/dist/swagger/common.d.ts +143 -0
  227. package/dist/swagger/common.js +144 -0
  228. package/dist/swagger/employees.d.ts +301 -0
  229. package/dist/swagger/employees.js +131 -0
  230. package/dist/swagger/index.d.ts +1588 -0
  231. package/dist/swagger/index.js +62 -0
  232. package/dist/swagger/llm.d.ts +555 -0
  233. package/dist/swagger/llm.js +247 -0
  234. package/dist/swagger/schemas.d.ts +736 -0
  235. package/dist/swagger/schemas.js +381 -0
  236. package/package.json +2 -2
  237. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/vector-store.md +0 -24
  238. package/dist/ai/docs/nocobase/data-sources/development/index.md +0 -6
  239. package/dist/client/372.40eb52905e3f3049.js +0 -10
  240. package/dist/client/681.399948c18d753667.js +0 -10
  241. package/dist/client/705.380279da896021fb.js +0 -10
  242. package/dist/client-v2/372.8cc3fde09c9bec77.js +0 -10
  243. package/dist/client-v2/406.341be51205c674e0.js +0 -10
  244. package/dist/client-v2/681.082f4f1c7b841983.js +0 -10
  245. package/dist/client-v2/ai-employees/chatbox/stores/create-selectors.d.ts +0 -46
  246. package/dist/client-v2/ai-employees/chatbox/utils/normalizeTriggerTaskOptions.d.ts +0 -19
@@ -0,0 +1,1588 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ declare const _default: {
10
+ openapi: string;
11
+ info: {
12
+ title: string;
13
+ version: string;
14
+ };
15
+ tags: {
16
+ name: string;
17
+ description: string;
18
+ }[];
19
+ paths: {
20
+ '/aiEmployees:list': {
21
+ get: {
22
+ operationId: string;
23
+ tags: string[];
24
+ summary: string;
25
+ parameters: ({
26
+ name: string;
27
+ in: string;
28
+ description: string;
29
+ schema: {
30
+ type: string;
31
+ additionalProperties: boolean;
32
+ items?: undefined;
33
+ minimum?: undefined;
34
+ };
35
+ } | {
36
+ name: string;
37
+ in: string;
38
+ description: string;
39
+ schema: {
40
+ type: string;
41
+ items: {
42
+ type: string;
43
+ };
44
+ additionalProperties?: undefined;
45
+ minimum?: undefined;
46
+ };
47
+ } | {
48
+ name: string;
49
+ in: string;
50
+ schema: {
51
+ type: string;
52
+ minimum: number;
53
+ additionalProperties?: undefined;
54
+ items?: undefined;
55
+ };
56
+ description?: undefined;
57
+ } | {
58
+ name: string;
59
+ in: string;
60
+ description: string;
61
+ schema: {
62
+ type: string;
63
+ additionalProperties?: undefined;
64
+ items?: undefined;
65
+ minimum?: undefined;
66
+ };
67
+ })[];
68
+ responses: {
69
+ 400: {
70
+ description: string;
71
+ content: {
72
+ 'application/json': {
73
+ schema: Record<string, unknown>;
74
+ };
75
+ };
76
+ };
77
+ 401: {
78
+ description: string;
79
+ content: {
80
+ 'application/json': {
81
+ schema: Record<string, unknown>;
82
+ };
83
+ };
84
+ };
85
+ 403: {
86
+ description: string;
87
+ content: {
88
+ 'application/json': {
89
+ schema: Record<string, unknown>;
90
+ };
91
+ };
92
+ };
93
+ 404: {
94
+ description: string;
95
+ content: {
96
+ 'application/json': {
97
+ schema: Record<string, unknown>;
98
+ };
99
+ };
100
+ };
101
+ };
102
+ };
103
+ };
104
+ '/aiEmployees:get': {
105
+ get: {
106
+ operationId: string;
107
+ tags: string[];
108
+ summary: string;
109
+ parameters: {
110
+ name: string;
111
+ in: string;
112
+ required: boolean;
113
+ description: string;
114
+ schema: {
115
+ type: string;
116
+ };
117
+ }[];
118
+ responses: {
119
+ 400: {
120
+ description: string;
121
+ content: {
122
+ 'application/json': {
123
+ schema: Record<string, unknown>;
124
+ };
125
+ };
126
+ };
127
+ 401: {
128
+ description: string;
129
+ content: {
130
+ 'application/json': {
131
+ schema: Record<string, unknown>;
132
+ };
133
+ };
134
+ };
135
+ 403: {
136
+ description: string;
137
+ content: {
138
+ 'application/json': {
139
+ schema: Record<string, unknown>;
140
+ };
141
+ };
142
+ };
143
+ 404: {
144
+ description: string;
145
+ content: {
146
+ 'application/json': {
147
+ schema: Record<string, unknown>;
148
+ };
149
+ };
150
+ };
151
+ };
152
+ };
153
+ };
154
+ '/aiEmployees:create': {
155
+ post: {
156
+ operationId: string;
157
+ tags: string[];
158
+ summary: string;
159
+ requestBody: {
160
+ required: boolean;
161
+ content: {
162
+ 'application/json': {
163
+ schema: Record<string, unknown>;
164
+ };
165
+ };
166
+ };
167
+ responses: {
168
+ 400: {
169
+ description: string;
170
+ content: {
171
+ 'application/json': {
172
+ schema: Record<string, unknown>;
173
+ };
174
+ };
175
+ };
176
+ 401: {
177
+ description: string;
178
+ content: {
179
+ 'application/json': {
180
+ schema: Record<string, unknown>;
181
+ };
182
+ };
183
+ };
184
+ 403: {
185
+ description: string;
186
+ content: {
187
+ 'application/json': {
188
+ schema: Record<string, unknown>;
189
+ };
190
+ };
191
+ };
192
+ 404: {
193
+ description: string;
194
+ content: {
195
+ 'application/json': {
196
+ schema: Record<string, unknown>;
197
+ };
198
+ };
199
+ };
200
+ };
201
+ };
202
+ };
203
+ '/aiEmployees:update': {
204
+ post: {
205
+ operationId: string;
206
+ tags: string[];
207
+ summary: string;
208
+ parameters: {
209
+ name: string;
210
+ in: string;
211
+ required: boolean;
212
+ description: string;
213
+ schema: {
214
+ type: string;
215
+ };
216
+ }[];
217
+ requestBody: {
218
+ required: boolean;
219
+ content: {
220
+ 'application/json': {
221
+ schema: Record<string, unknown>;
222
+ };
223
+ };
224
+ };
225
+ responses: {
226
+ 400: {
227
+ description: string;
228
+ content: {
229
+ 'application/json': {
230
+ schema: Record<string, unknown>;
231
+ };
232
+ };
233
+ };
234
+ 401: {
235
+ description: string;
236
+ content: {
237
+ 'application/json': {
238
+ schema: Record<string, unknown>;
239
+ };
240
+ };
241
+ };
242
+ 403: {
243
+ description: string;
244
+ content: {
245
+ 'application/json': {
246
+ schema: Record<string, unknown>;
247
+ };
248
+ };
249
+ };
250
+ 404: {
251
+ description: string;
252
+ content: {
253
+ 'application/json': {
254
+ schema: Record<string, unknown>;
255
+ };
256
+ };
257
+ };
258
+ };
259
+ };
260
+ };
261
+ '/aiEmployees:destroy': {
262
+ post: {
263
+ operationId: string;
264
+ tags: string[];
265
+ summary: string;
266
+ parameters: {
267
+ name: string;
268
+ in: string;
269
+ required: boolean;
270
+ description: string;
271
+ schema: {
272
+ type: string;
273
+ };
274
+ }[];
275
+ responses: {
276
+ 400: {
277
+ description: string;
278
+ content: {
279
+ 'application/json': {
280
+ schema: Record<string, unknown>;
281
+ };
282
+ };
283
+ };
284
+ 401: {
285
+ description: string;
286
+ content: {
287
+ 'application/json': {
288
+ schema: Record<string, unknown>;
289
+ };
290
+ };
291
+ };
292
+ 403: {
293
+ description: string;
294
+ content: {
295
+ 'application/json': {
296
+ schema: Record<string, unknown>;
297
+ };
298
+ };
299
+ };
300
+ 404: {
301
+ description: string;
302
+ content: {
303
+ 'application/json': {
304
+ schema: Record<string, unknown>;
305
+ };
306
+ };
307
+ };
308
+ };
309
+ };
310
+ };
311
+ '/ai:listLLMProviders': {
312
+ get: {
313
+ operationId: string;
314
+ tags: string[];
315
+ summary: string;
316
+ responses: {
317
+ 400: {
318
+ description: string;
319
+ content: {
320
+ 'application/json': {
321
+ schema: Record<string, unknown>;
322
+ };
323
+ };
324
+ };
325
+ 401: {
326
+ description: string;
327
+ content: {
328
+ 'application/json': {
329
+ schema: Record<string, unknown>;
330
+ };
331
+ };
332
+ };
333
+ 403: {
334
+ description: string;
335
+ content: {
336
+ 'application/json': {
337
+ schema: Record<string, unknown>;
338
+ };
339
+ };
340
+ };
341
+ 404: {
342
+ description: string;
343
+ content: {
344
+ 'application/json': {
345
+ schema: Record<string, unknown>;
346
+ };
347
+ };
348
+ };
349
+ };
350
+ };
351
+ };
352
+ '/ai:listProviderModels': {
353
+ post: {
354
+ operationId: string;
355
+ tags: string[];
356
+ summary: string;
357
+ requestBody: {
358
+ required: boolean;
359
+ content: {
360
+ 'application/json': {
361
+ schema: Record<string, unknown>;
362
+ };
363
+ };
364
+ };
365
+ responses: {
366
+ 400: {
367
+ description: string;
368
+ content: {
369
+ 'application/json': {
370
+ schema: Record<string, unknown>;
371
+ };
372
+ };
373
+ };
374
+ 401: {
375
+ description: string;
376
+ content: {
377
+ 'application/json': {
378
+ schema: Record<string, unknown>;
379
+ };
380
+ };
381
+ };
382
+ 403: {
383
+ description: string;
384
+ content: {
385
+ 'application/json': {
386
+ schema: Record<string, unknown>;
387
+ };
388
+ };
389
+ };
390
+ 404: {
391
+ description: string;
392
+ content: {
393
+ 'application/json': {
394
+ schema: Record<string, unknown>;
395
+ };
396
+ };
397
+ };
398
+ };
399
+ };
400
+ };
401
+ '/ai:testFlight': {
402
+ post: {
403
+ operationId: string;
404
+ tags: string[];
405
+ summary: string;
406
+ requestBody: {
407
+ required: boolean;
408
+ content: {
409
+ 'application/json': {
410
+ schema: Record<string, unknown>;
411
+ };
412
+ };
413
+ };
414
+ responses: {
415
+ 400: {
416
+ description: string;
417
+ content: {
418
+ 'application/json': {
419
+ schema: Record<string, unknown>;
420
+ };
421
+ };
422
+ };
423
+ 401: {
424
+ description: string;
425
+ content: {
426
+ 'application/json': {
427
+ schema: Record<string, unknown>;
428
+ };
429
+ };
430
+ };
431
+ 403: {
432
+ description: string;
433
+ content: {
434
+ 'application/json': {
435
+ schema: Record<string, unknown>;
436
+ };
437
+ };
438
+ };
439
+ 404: {
440
+ description: string;
441
+ content: {
442
+ 'application/json': {
443
+ schema: Record<string, unknown>;
444
+ };
445
+ };
446
+ };
447
+ };
448
+ };
449
+ };
450
+ '/ai:listModels': {
451
+ get: {
452
+ operationId: string;
453
+ tags: string[];
454
+ summary: string;
455
+ parameters: ({
456
+ name: string;
457
+ in: string;
458
+ description: string;
459
+ schema: {
460
+ type: string;
461
+ enum: string[];
462
+ };
463
+ } | {
464
+ name: string;
465
+ in: string;
466
+ required: boolean;
467
+ schema: {
468
+ type: string;
469
+ };
470
+ })[];
471
+ responses: {
472
+ 400: {
473
+ description: string;
474
+ content: {
475
+ 'application/json': {
476
+ schema: Record<string, unknown>;
477
+ };
478
+ };
479
+ };
480
+ 401: {
481
+ description: string;
482
+ content: {
483
+ 'application/json': {
484
+ schema: Record<string, unknown>;
485
+ };
486
+ };
487
+ };
488
+ 403: {
489
+ description: string;
490
+ content: {
491
+ 'application/json': {
492
+ schema: Record<string, unknown>;
493
+ };
494
+ };
495
+ };
496
+ 404: {
497
+ description: string;
498
+ content: {
499
+ 'application/json': {
500
+ schema: Record<string, unknown>;
501
+ };
502
+ };
503
+ };
504
+ };
505
+ };
506
+ };
507
+ '/ai:listLLMServices': {
508
+ get: {
509
+ operationId: string;
510
+ tags: string[];
511
+ summary: string;
512
+ parameters: ({
513
+ name: string;
514
+ in: string;
515
+ description: string;
516
+ schema: {
517
+ type: string;
518
+ enum: string[];
519
+ };
520
+ } | {
521
+ name: string;
522
+ in: string;
523
+ description: string;
524
+ schema: {
525
+ type: string;
526
+ additionalProperties: boolean;
527
+ };
528
+ })[];
529
+ responses: {
530
+ 400: {
531
+ description: string;
532
+ content: {
533
+ 'application/json': {
534
+ schema: Record<string, unknown>;
535
+ };
536
+ };
537
+ };
538
+ 401: {
539
+ description: string;
540
+ content: {
541
+ 'application/json': {
542
+ schema: Record<string, unknown>;
543
+ };
544
+ };
545
+ };
546
+ 403: {
547
+ description: string;
548
+ content: {
549
+ 'application/json': {
550
+ schema: Record<string, unknown>;
551
+ };
552
+ };
553
+ };
554
+ 404: {
555
+ description: string;
556
+ content: {
557
+ 'application/json': {
558
+ schema: Record<string, unknown>;
559
+ };
560
+ };
561
+ };
562
+ };
563
+ };
564
+ };
565
+ '/llmServices:list': {
566
+ get: {
567
+ operationId: string;
568
+ tags: string[];
569
+ summary: string;
570
+ parameters: ({
571
+ name: string;
572
+ in: string;
573
+ description: string;
574
+ schema: {
575
+ type: string;
576
+ additionalProperties: boolean;
577
+ items?: undefined;
578
+ minimum?: undefined;
579
+ };
580
+ } | {
581
+ name: string;
582
+ in: string;
583
+ description: string;
584
+ schema: {
585
+ type: string;
586
+ items: {
587
+ type: string;
588
+ };
589
+ additionalProperties?: undefined;
590
+ minimum?: undefined;
591
+ };
592
+ } | {
593
+ name: string;
594
+ in: string;
595
+ schema: {
596
+ type: string;
597
+ minimum: number;
598
+ additionalProperties?: undefined;
599
+ items?: undefined;
600
+ };
601
+ description?: undefined;
602
+ } | {
603
+ name: string;
604
+ in: string;
605
+ description: string;
606
+ schema: {
607
+ type: string;
608
+ additionalProperties?: undefined;
609
+ items?: undefined;
610
+ minimum?: undefined;
611
+ };
612
+ })[];
613
+ responses: {
614
+ 400: {
615
+ description: string;
616
+ content: {
617
+ 'application/json': {
618
+ schema: Record<string, unknown>;
619
+ };
620
+ };
621
+ };
622
+ 401: {
623
+ description: string;
624
+ content: {
625
+ 'application/json': {
626
+ schema: Record<string, unknown>;
627
+ };
628
+ };
629
+ };
630
+ 403: {
631
+ description: string;
632
+ content: {
633
+ 'application/json': {
634
+ schema: Record<string, unknown>;
635
+ };
636
+ };
637
+ };
638
+ 404: {
639
+ description: string;
640
+ content: {
641
+ 'application/json': {
642
+ schema: Record<string, unknown>;
643
+ };
644
+ };
645
+ };
646
+ };
647
+ };
648
+ };
649
+ '/llmServices:get': {
650
+ get: {
651
+ operationId: string;
652
+ tags: string[];
653
+ summary: string;
654
+ parameters: {
655
+ name: string;
656
+ in: string;
657
+ required: boolean;
658
+ description: string;
659
+ schema: {
660
+ type: string;
661
+ };
662
+ }[];
663
+ responses: {
664
+ 400: {
665
+ description: string;
666
+ content: {
667
+ 'application/json': {
668
+ schema: Record<string, unknown>;
669
+ };
670
+ };
671
+ };
672
+ 401: {
673
+ description: string;
674
+ content: {
675
+ 'application/json': {
676
+ schema: Record<string, unknown>;
677
+ };
678
+ };
679
+ };
680
+ 403: {
681
+ description: string;
682
+ content: {
683
+ 'application/json': {
684
+ schema: Record<string, unknown>;
685
+ };
686
+ };
687
+ };
688
+ 404: {
689
+ description: string;
690
+ content: {
691
+ 'application/json': {
692
+ schema: Record<string, unknown>;
693
+ };
694
+ };
695
+ };
696
+ };
697
+ };
698
+ };
699
+ '/llmServices:create': {
700
+ post: {
701
+ operationId: string;
702
+ tags: string[];
703
+ summary: string;
704
+ requestBody: {
705
+ required: boolean;
706
+ content: {
707
+ 'application/json': {
708
+ schema: Record<string, unknown>;
709
+ };
710
+ };
711
+ };
712
+ responses: {
713
+ 400: {
714
+ description: string;
715
+ content: {
716
+ 'application/json': {
717
+ schema: Record<string, unknown>;
718
+ };
719
+ };
720
+ };
721
+ 401: {
722
+ description: string;
723
+ content: {
724
+ 'application/json': {
725
+ schema: Record<string, unknown>;
726
+ };
727
+ };
728
+ };
729
+ 403: {
730
+ description: string;
731
+ content: {
732
+ 'application/json': {
733
+ schema: Record<string, unknown>;
734
+ };
735
+ };
736
+ };
737
+ 404: {
738
+ description: string;
739
+ content: {
740
+ 'application/json': {
741
+ schema: Record<string, unknown>;
742
+ };
743
+ };
744
+ };
745
+ };
746
+ };
747
+ };
748
+ '/llmServices:update': {
749
+ post: {
750
+ operationId: string;
751
+ tags: string[];
752
+ summary: string;
753
+ parameters: {
754
+ name: string;
755
+ in: string;
756
+ required: boolean;
757
+ description: string;
758
+ schema: {
759
+ type: string;
760
+ };
761
+ }[];
762
+ requestBody: {
763
+ required: boolean;
764
+ content: {
765
+ 'application/json': {
766
+ schema: Record<string, unknown>;
767
+ };
768
+ };
769
+ };
770
+ responses: {
771
+ 400: {
772
+ description: string;
773
+ content: {
774
+ 'application/json': {
775
+ schema: Record<string, unknown>;
776
+ };
777
+ };
778
+ };
779
+ 401: {
780
+ description: string;
781
+ content: {
782
+ 'application/json': {
783
+ schema: Record<string, unknown>;
784
+ };
785
+ };
786
+ };
787
+ 403: {
788
+ description: string;
789
+ content: {
790
+ 'application/json': {
791
+ schema: Record<string, unknown>;
792
+ };
793
+ };
794
+ };
795
+ 404: {
796
+ description: string;
797
+ content: {
798
+ 'application/json': {
799
+ schema: Record<string, unknown>;
800
+ };
801
+ };
802
+ };
803
+ };
804
+ };
805
+ };
806
+ '/llmServices:destroy': {
807
+ post: {
808
+ operationId: string;
809
+ tags: string[];
810
+ summary: string;
811
+ parameters: {
812
+ name: string;
813
+ in: string;
814
+ required: boolean;
815
+ description: string;
816
+ schema: {
817
+ type: string;
818
+ };
819
+ }[];
820
+ responses: {
821
+ 400: {
822
+ description: string;
823
+ content: {
824
+ 'application/json': {
825
+ schema: Record<string, unknown>;
826
+ };
827
+ };
828
+ };
829
+ 401: {
830
+ description: string;
831
+ content: {
832
+ 'application/json': {
833
+ schema: Record<string, unknown>;
834
+ };
835
+ };
836
+ };
837
+ 403: {
838
+ description: string;
839
+ content: {
840
+ 'application/json': {
841
+ schema: Record<string, unknown>;
842
+ };
843
+ };
844
+ };
845
+ 404: {
846
+ description: string;
847
+ content: {
848
+ 'application/json': {
849
+ schema: Record<string, unknown>;
850
+ };
851
+ };
852
+ };
853
+ };
854
+ };
855
+ };
856
+ };
857
+ components: {
858
+ schemas: {
859
+ ErrorResponse: {
860
+ type: string;
861
+ properties: {
862
+ errors: {
863
+ type: string;
864
+ items: {
865
+ type: string;
866
+ properties: {
867
+ message: {
868
+ type: string;
869
+ };
870
+ code: {
871
+ type: string;
872
+ };
873
+ };
874
+ additionalProperties: boolean;
875
+ };
876
+ };
877
+ };
878
+ additionalProperties: boolean;
879
+ };
880
+ LLMProvider: {
881
+ type: string;
882
+ required: string[];
883
+ properties: {
884
+ name: {
885
+ type: string;
886
+ };
887
+ title: {
888
+ type: string;
889
+ };
890
+ supportedModel: {
891
+ type: string;
892
+ items: {
893
+ type: string;
894
+ enum: string[];
895
+ };
896
+ };
897
+ supportWebSearch: {
898
+ type: string;
899
+ };
900
+ };
901
+ additionalProperties: boolean;
902
+ };
903
+ LLMProviderModelsRequest: {
904
+ type: string;
905
+ required: string[];
906
+ properties: {
907
+ provider: {
908
+ type: string;
909
+ };
910
+ options: {
911
+ type: string;
912
+ description: string;
913
+ properties: {
914
+ apiKey: {
915
+ type: string;
916
+ writeOnly: boolean;
917
+ description: string;
918
+ };
919
+ accessKey: {
920
+ type: string;
921
+ writeOnly: boolean;
922
+ description: string;
923
+ };
924
+ secretKey: {
925
+ type: string;
926
+ writeOnly: boolean;
927
+ description: string;
928
+ };
929
+ password: {
930
+ type: string;
931
+ writeOnly: boolean;
932
+ description: string;
933
+ };
934
+ baseURL: {
935
+ type: string;
936
+ format: string;
937
+ };
938
+ };
939
+ additionalProperties: boolean;
940
+ };
941
+ model: {
942
+ type: string;
943
+ description: string;
944
+ };
945
+ };
946
+ additionalProperties: boolean;
947
+ };
948
+ LLMTestFlightRequest: {
949
+ type: string;
950
+ required: string[];
951
+ properties: {
952
+ provider: {
953
+ type: string;
954
+ };
955
+ options: {
956
+ type: string;
957
+ description: string;
958
+ properties: {
959
+ apiKey: {
960
+ type: string;
961
+ writeOnly: boolean;
962
+ description: string;
963
+ };
964
+ accessKey: {
965
+ type: string;
966
+ writeOnly: boolean;
967
+ description: string;
968
+ };
969
+ secretKey: {
970
+ type: string;
971
+ writeOnly: boolean;
972
+ description: string;
973
+ };
974
+ password: {
975
+ type: string;
976
+ writeOnly: boolean;
977
+ description: string;
978
+ };
979
+ baseURL: {
980
+ type: string;
981
+ format: string;
982
+ };
983
+ };
984
+ additionalProperties: boolean;
985
+ };
986
+ model: {
987
+ type: string;
988
+ };
989
+ };
990
+ additionalProperties: boolean;
991
+ };
992
+ LLMModel: {
993
+ type: string;
994
+ required: string[];
995
+ properties: {
996
+ id: {
997
+ type: string;
998
+ };
999
+ };
1000
+ additionalProperties: boolean;
1001
+ };
1002
+ LLMTestFlightResult: {
1003
+ type: string;
1004
+ required: string[];
1005
+ properties: {
1006
+ status: {
1007
+ type: string;
1008
+ enum: string[];
1009
+ };
1010
+ code: {
1011
+ type: string;
1012
+ };
1013
+ message: {
1014
+ type: string;
1015
+ };
1016
+ };
1017
+ additionalProperties: boolean;
1018
+ };
1019
+ LLMServiceCreate: {
1020
+ type: string;
1021
+ required: string[];
1022
+ properties: {
1023
+ name: {
1024
+ type: string;
1025
+ };
1026
+ title: {
1027
+ type: string;
1028
+ };
1029
+ provider: {
1030
+ type: string;
1031
+ };
1032
+ options: {
1033
+ type: string;
1034
+ description: string;
1035
+ properties: {
1036
+ apiKey: {
1037
+ type: string;
1038
+ writeOnly: boolean;
1039
+ description: string;
1040
+ };
1041
+ accessKey: {
1042
+ type: string;
1043
+ writeOnly: boolean;
1044
+ description: string;
1045
+ };
1046
+ secretKey: {
1047
+ type: string;
1048
+ writeOnly: boolean;
1049
+ description: string;
1050
+ };
1051
+ password: {
1052
+ type: string;
1053
+ writeOnly: boolean;
1054
+ description: string;
1055
+ };
1056
+ baseURL: {
1057
+ type: string;
1058
+ format: string;
1059
+ };
1060
+ };
1061
+ additionalProperties: boolean;
1062
+ };
1063
+ enabledModels: {
1064
+ type: string;
1065
+ required: string[];
1066
+ additionalProperties: boolean;
1067
+ properties: {
1068
+ mode: {
1069
+ type: string;
1070
+ enum: string[];
1071
+ description: string;
1072
+ };
1073
+ models: {
1074
+ type: string;
1075
+ items: {
1076
+ type: string;
1077
+ required: string[];
1078
+ additionalProperties: boolean;
1079
+ properties: {
1080
+ label: {
1081
+ type: string;
1082
+ };
1083
+ value: {
1084
+ type: string;
1085
+ };
1086
+ };
1087
+ };
1088
+ };
1089
+ };
1090
+ };
1091
+ enabled: {
1092
+ type: string;
1093
+ };
1094
+ };
1095
+ additionalProperties: boolean;
1096
+ };
1097
+ LLMServicePatch: {
1098
+ type: string;
1099
+ properties: {
1100
+ name: {
1101
+ type: string;
1102
+ };
1103
+ title: {
1104
+ type: string;
1105
+ };
1106
+ provider: {
1107
+ type: string;
1108
+ };
1109
+ options: {
1110
+ type: string;
1111
+ description: string;
1112
+ properties: {
1113
+ apiKey: {
1114
+ type: string;
1115
+ writeOnly: boolean;
1116
+ description: string;
1117
+ };
1118
+ accessKey: {
1119
+ type: string;
1120
+ writeOnly: boolean;
1121
+ description: string;
1122
+ };
1123
+ secretKey: {
1124
+ type: string;
1125
+ writeOnly: boolean;
1126
+ description: string;
1127
+ };
1128
+ password: {
1129
+ type: string;
1130
+ writeOnly: boolean;
1131
+ description: string;
1132
+ };
1133
+ baseURL: {
1134
+ type: string;
1135
+ format: string;
1136
+ };
1137
+ };
1138
+ additionalProperties: boolean;
1139
+ };
1140
+ enabledModels: {
1141
+ type: string;
1142
+ required: string[];
1143
+ additionalProperties: boolean;
1144
+ properties: {
1145
+ mode: {
1146
+ type: string;
1147
+ enum: string[];
1148
+ description: string;
1149
+ };
1150
+ models: {
1151
+ type: string;
1152
+ items: {
1153
+ type: string;
1154
+ required: string[];
1155
+ additionalProperties: boolean;
1156
+ properties: {
1157
+ label: {
1158
+ type: string;
1159
+ };
1160
+ value: {
1161
+ type: string;
1162
+ };
1163
+ };
1164
+ };
1165
+ };
1166
+ };
1167
+ };
1168
+ enabled: {
1169
+ type: string;
1170
+ };
1171
+ };
1172
+ additionalProperties: boolean;
1173
+ };
1174
+ LLMService: {
1175
+ type: string;
1176
+ properties: {
1177
+ modelOptions: {
1178
+ type: string;
1179
+ readOnly: boolean;
1180
+ additionalProperties: boolean;
1181
+ };
1182
+ createdAt: {
1183
+ type: string;
1184
+ format: string;
1185
+ readOnly: boolean;
1186
+ };
1187
+ updatedAt: {
1188
+ type: string;
1189
+ format: string;
1190
+ readOnly: boolean;
1191
+ };
1192
+ name: {
1193
+ type: string;
1194
+ };
1195
+ title: {
1196
+ type: string;
1197
+ };
1198
+ provider: {
1199
+ type: string;
1200
+ };
1201
+ options: {
1202
+ type: string;
1203
+ description: string;
1204
+ properties: {
1205
+ apiKey: {
1206
+ type: string;
1207
+ writeOnly: boolean;
1208
+ description: string;
1209
+ };
1210
+ accessKey: {
1211
+ type: string;
1212
+ writeOnly: boolean;
1213
+ description: string;
1214
+ };
1215
+ secretKey: {
1216
+ type: string;
1217
+ writeOnly: boolean;
1218
+ description: string;
1219
+ };
1220
+ password: {
1221
+ type: string;
1222
+ writeOnly: boolean;
1223
+ description: string;
1224
+ };
1225
+ baseURL: {
1226
+ type: string;
1227
+ format: string;
1228
+ };
1229
+ };
1230
+ additionalProperties: boolean;
1231
+ };
1232
+ enabledModels: {
1233
+ type: string;
1234
+ required: string[];
1235
+ additionalProperties: boolean;
1236
+ properties: {
1237
+ mode: {
1238
+ type: string;
1239
+ enum: string[];
1240
+ description: string;
1241
+ };
1242
+ models: {
1243
+ type: string;
1244
+ items: {
1245
+ type: string;
1246
+ required: string[];
1247
+ additionalProperties: boolean;
1248
+ properties: {
1249
+ label: {
1250
+ type: string;
1251
+ };
1252
+ value: {
1253
+ type: string;
1254
+ };
1255
+ };
1256
+ };
1257
+ };
1258
+ };
1259
+ };
1260
+ enabled: {
1261
+ type: string;
1262
+ };
1263
+ };
1264
+ additionalProperties: boolean;
1265
+ };
1266
+ EnabledLLMService: {
1267
+ type: string;
1268
+ properties: {
1269
+ name: {
1270
+ type: string;
1271
+ };
1272
+ title: {
1273
+ type: string;
1274
+ };
1275
+ provider: {
1276
+ type: string;
1277
+ };
1278
+ enabled: {
1279
+ type: string;
1280
+ };
1281
+ enabledModels: {
1282
+ type: string;
1283
+ required: string[];
1284
+ additionalProperties: boolean;
1285
+ properties: {
1286
+ mode: {
1287
+ type: string;
1288
+ enum: string[];
1289
+ description: string;
1290
+ };
1291
+ models: {
1292
+ type: string;
1293
+ items: {
1294
+ type: string;
1295
+ required: string[];
1296
+ additionalProperties: boolean;
1297
+ properties: {
1298
+ label: {
1299
+ type: string;
1300
+ };
1301
+ value: {
1302
+ type: string;
1303
+ };
1304
+ };
1305
+ };
1306
+ };
1307
+ };
1308
+ };
1309
+ };
1310
+ additionalProperties: boolean;
1311
+ };
1312
+ AIEmployeeCreate: {
1313
+ type: string;
1314
+ required: string[];
1315
+ properties: {
1316
+ username: {
1317
+ type: string;
1318
+ };
1319
+ nickname: {
1320
+ type: string;
1321
+ };
1322
+ position: {
1323
+ type: string;
1324
+ };
1325
+ avatar: {
1326
+ type: string;
1327
+ };
1328
+ bio: {
1329
+ type: string;
1330
+ };
1331
+ about: {
1332
+ type: string;
1333
+ };
1334
+ greeting: {
1335
+ type: string;
1336
+ };
1337
+ modelSettings: {
1338
+ type: string;
1339
+ required: string[];
1340
+ additionalProperties: boolean;
1341
+ properties: {
1342
+ enabled: {
1343
+ type: string;
1344
+ };
1345
+ models: {
1346
+ type: string;
1347
+ items: {
1348
+ type: string;
1349
+ required: string[];
1350
+ additionalProperties: boolean;
1351
+ properties: {
1352
+ llmService: {
1353
+ type: string;
1354
+ };
1355
+ model: {
1356
+ type: string;
1357
+ };
1358
+ };
1359
+ };
1360
+ };
1361
+ };
1362
+ };
1363
+ enableKnowledgeBase: {
1364
+ type: string;
1365
+ };
1366
+ knowledgeBase: {
1367
+ type: string;
1368
+ required: string[];
1369
+ additionalProperties: boolean;
1370
+ properties: {
1371
+ topK: {
1372
+ type: string;
1373
+ minimum: number;
1374
+ };
1375
+ score: {
1376
+ type: string;
1377
+ description: string;
1378
+ example: string;
1379
+ };
1380
+ knowledgeBaseKeys: {
1381
+ type: string;
1382
+ items: {
1383
+ type: string;
1384
+ };
1385
+ };
1386
+ };
1387
+ };
1388
+ enabled: {
1389
+ type: string;
1390
+ };
1391
+ };
1392
+ additionalProperties: boolean;
1393
+ };
1394
+ AIEmployeePatch: {
1395
+ type: string;
1396
+ properties: {
1397
+ username: {
1398
+ type: string;
1399
+ };
1400
+ nickname: {
1401
+ type: string;
1402
+ };
1403
+ position: {
1404
+ type: string;
1405
+ };
1406
+ avatar: {
1407
+ type: string;
1408
+ };
1409
+ bio: {
1410
+ type: string;
1411
+ };
1412
+ about: {
1413
+ type: string;
1414
+ };
1415
+ greeting: {
1416
+ type: string;
1417
+ };
1418
+ modelSettings: {
1419
+ type: string;
1420
+ required: string[];
1421
+ additionalProperties: boolean;
1422
+ properties: {
1423
+ enabled: {
1424
+ type: string;
1425
+ };
1426
+ models: {
1427
+ type: string;
1428
+ items: {
1429
+ type: string;
1430
+ required: string[];
1431
+ additionalProperties: boolean;
1432
+ properties: {
1433
+ llmService: {
1434
+ type: string;
1435
+ };
1436
+ model: {
1437
+ type: string;
1438
+ };
1439
+ };
1440
+ };
1441
+ };
1442
+ };
1443
+ };
1444
+ enableKnowledgeBase: {
1445
+ type: string;
1446
+ };
1447
+ knowledgeBase: {
1448
+ type: string;
1449
+ required: string[];
1450
+ additionalProperties: boolean;
1451
+ properties: {
1452
+ topK: {
1453
+ type: string;
1454
+ minimum: number;
1455
+ };
1456
+ score: {
1457
+ type: string;
1458
+ description: string;
1459
+ example: string;
1460
+ };
1461
+ knowledgeBaseKeys: {
1462
+ type: string;
1463
+ items: {
1464
+ type: string;
1465
+ };
1466
+ };
1467
+ };
1468
+ };
1469
+ enabled: {
1470
+ type: string;
1471
+ };
1472
+ };
1473
+ additionalProperties: boolean;
1474
+ };
1475
+ AIEmployee: {
1476
+ type: string;
1477
+ properties: {
1478
+ builtIn: {
1479
+ type: string;
1480
+ readOnly: boolean;
1481
+ };
1482
+ category: {
1483
+ type: string;
1484
+ readOnly: boolean;
1485
+ };
1486
+ deprecated: {
1487
+ type: string;
1488
+ readOnly: boolean;
1489
+ };
1490
+ missingKnowledgeBaseKeys: {
1491
+ type: string;
1492
+ readOnly: boolean;
1493
+ items: {
1494
+ type: string;
1495
+ };
1496
+ };
1497
+ createdAt: {
1498
+ type: string;
1499
+ format: string;
1500
+ readOnly: boolean;
1501
+ };
1502
+ updatedAt: {
1503
+ type: string;
1504
+ format: string;
1505
+ readOnly: boolean;
1506
+ };
1507
+ username: {
1508
+ type: string;
1509
+ };
1510
+ nickname: {
1511
+ type: string;
1512
+ };
1513
+ position: {
1514
+ type: string;
1515
+ };
1516
+ avatar: {
1517
+ type: string;
1518
+ };
1519
+ bio: {
1520
+ type: string;
1521
+ };
1522
+ about: {
1523
+ type: string;
1524
+ };
1525
+ greeting: {
1526
+ type: string;
1527
+ };
1528
+ modelSettings: {
1529
+ type: string;
1530
+ required: string[];
1531
+ additionalProperties: boolean;
1532
+ properties: {
1533
+ enabled: {
1534
+ type: string;
1535
+ };
1536
+ models: {
1537
+ type: string;
1538
+ items: {
1539
+ type: string;
1540
+ required: string[];
1541
+ additionalProperties: boolean;
1542
+ properties: {
1543
+ llmService: {
1544
+ type: string;
1545
+ };
1546
+ model: {
1547
+ type: string;
1548
+ };
1549
+ };
1550
+ };
1551
+ };
1552
+ };
1553
+ };
1554
+ enableKnowledgeBase: {
1555
+ type: string;
1556
+ };
1557
+ knowledgeBase: {
1558
+ type: string;
1559
+ required: string[];
1560
+ additionalProperties: boolean;
1561
+ properties: {
1562
+ topK: {
1563
+ type: string;
1564
+ minimum: number;
1565
+ };
1566
+ score: {
1567
+ type: string;
1568
+ description: string;
1569
+ example: string;
1570
+ };
1571
+ knowledgeBaseKeys: {
1572
+ type: string;
1573
+ items: {
1574
+ type: string;
1575
+ };
1576
+ };
1577
+ };
1578
+ };
1579
+ enabled: {
1580
+ type: string;
1581
+ };
1582
+ };
1583
+ additionalProperties: boolean;
1584
+ };
1585
+ };
1586
+ };
1587
+ };
1588
+ export default _default;