@nocobase/plugin-ai 2.2.0-alpha.1 → 2.2.0-alpha.11

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 (1401) hide show
  1. package/client-v2.d.ts +1 -0
  2. package/dist/ai/docs/nocobase/ai/ai-quick-start.md +1 -1
  3. package/dist/ai/docs/nocobase/ai/claude-code/index.md +2 -2
  4. package/dist/ai/docs/nocobase/ai/codex/index.md +2 -2
  5. package/dist/ai/docs/nocobase/ai/hermes-agent/index.md +2 -2
  6. package/dist/ai/docs/nocobase/ai/index.md +1 -1
  7. package/dist/ai/docs/nocobase/ai/install-nocobase-app.md +117 -0
  8. package/dist/ai/docs/nocobase/ai/local-development-setup.md +94 -0
  9. package/dist/ai/docs/nocobase/ai/openclaw/index.md +2 -2
  10. package/dist/ai/docs/nocobase/ai/opencode/index.md +2 -2
  11. package/dist/ai/docs/nocobase/ai/quick-start.mdx +22 -15
  12. package/dist/ai/docs/nocobase/ai/upgrade-from-2-0-to-2-1.md +57 -0
  13. package/dist/ai/docs/nocobase/ai/upgrade-nocobase-app.md +111 -0
  14. package/dist/ai/docs/nocobase/ai/windows-wsl.md +409 -0
  15. package/dist/ai/docs/nocobase/ai/workbuddy/index.md +2 -2
  16. package/dist/ai/docs/nocobase/ai-builder/index.md +17 -2
  17. package/dist/ai/docs/nocobase/ai-builder/version-control.md +120 -0
  18. package/dist/ai/docs/nocobase/ai-dev/index.md +1 -1
  19. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/dev/external-knowledge-base.md +318 -0
  20. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/documents.md +76 -0
  21. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/hit-tests.md +66 -0
  22. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/index.md +73 -0
  23. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/segments.md +93 -0
  24. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base/settings.md +77 -0
  25. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/rag.md +1 -1
  26. package/dist/ai/docs/nocobase/ai-employees/scenarios/company-background-research.md +125 -0
  27. package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/create-document.md +79 -0
  28. package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/delete-document.md +71 -0
  29. package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/index.md +92 -0
  30. package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/retrieve-document.md +87 -0
  31. package/dist/ai/docs/nocobase/ai-employees/workflow/nodes/knowledge/update-document.md +70 -0
  32. package/dist/ai/docs/nocobase/api/app/env.md +31 -2
  33. package/dist/ai/docs/nocobase/api/cli/app/restart.md +4 -0
  34. package/dist/ai/docs/nocobase/api/cli/app/start.md +7 -0
  35. package/dist/ai/docs/nocobase/api/cli/app/upgrade.md +6 -0
  36. package/dist/ai/docs/nocobase/api/cli/config/delete.md +9 -6
  37. package/dist/ai/docs/nocobase/api/cli/config/get.md +8 -6
  38. package/dist/ai/docs/nocobase/api/cli/config/index.md +40 -26
  39. package/dist/ai/docs/nocobase/api/cli/config/set.md +15 -8
  40. package/dist/ai/docs/nocobase/api/cli/env/auth.md +53 -5
  41. package/dist/ai/docs/nocobase/api/cli/index.md +14 -2
  42. package/dist/ai/docs/nocobase/api/cli/init.md +41 -4
  43. package/dist/ai/docs/nocobase/api/cli/plugin/import.md +1 -1
  44. package/dist/ai/docs/nocobase/api/cli/portal/config.md +44 -0
  45. package/dist/ai/docs/nocobase/api/cli/portal/create.md +48 -0
  46. package/dist/ai/docs/nocobase/api/cli/portal/deploy.md +39 -0
  47. package/dist/ai/docs/nocobase/api/cli/portal/destroy.md +41 -0
  48. package/dist/ai/docs/nocobase/api/cli/portal/dev.md +39 -0
  49. package/dist/ai/docs/nocobase/api/cli/portal/index.md +136 -0
  50. package/dist/ai/docs/nocobase/api/cli/portal/info.md +41 -0
  51. package/dist/ai/docs/nocobase/api/cli/portal/list.md +40 -0
  52. package/dist/ai/docs/nocobase/api/cli/portal/pull.md +43 -0
  53. package/dist/ai/docs/nocobase/api/cli/portal/push.md +41 -0
  54. package/dist/ai/docs/nocobase/api/cli/self/check.md +19 -2
  55. package/dist/ai/docs/nocobase/api/cli/self/index.md +1 -1
  56. package/dist/ai/docs/nocobase/api/cli/self/update.md +17 -3
  57. package/dist/ai/docs/nocobase/api/cli/skills/install.md +1 -0
  58. package/dist/ai/docs/nocobase/api/cli/skills/update.md +1 -0
  59. package/dist/ai/docs/nocobase/api/cli/source/download.md +19 -0
  60. package/dist/ai/docs/nocobase/building-tips/ai-fill-js-block-form.md +1092 -0
  61. package/dist/ai/docs/nocobase/building-tips/operations-dashboard.md +513 -0
  62. package/dist/ai/docs/nocobase/data-sources/calendar/calendar-collection.md +100 -3
  63. package/dist/ai/docs/nocobase/data-sources/collection-comment/index.md +92 -39
  64. package/dist/ai/docs/nocobase/data-sources/collection-sql/index.md +150 -29
  65. package/dist/ai/docs/nocobase/data-sources/collection-tree/index.md +93 -5
  66. package/dist/ai/docs/nocobase/data-sources/collection-view/index.md +226 -4
  67. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/china-region.md +122 -5
  68. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/collection-select.md +105 -4
  69. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/json.md +102 -4
  70. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/nano-id.md +104 -4
  71. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/snowflake-id.md +108 -4
  72. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/sort.md +3 -19
  73. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/advanced/uuid.md +104 -4
  74. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/associations/index.md +44 -8
  75. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/color.md +102 -4
  76. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/email.md +104 -4
  77. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/icon.md +102 -4
  78. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/input.md +112 -8
  79. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/integer.md +103 -4
  80. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/number.md +103 -4
  81. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/password.md +102 -4
  82. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/percent.md +104 -5
  83. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/phone.md +104 -4
  84. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/textarea.md +99 -8
  85. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/basic/url.md +103 -4
  86. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/checkbox-group.md +105 -3
  87. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/checkbox.md +102 -4
  88. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/china-region.md +108 -5
  89. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/multiple-select.md +103 -5
  90. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/radio-group.md +106 -4
  91. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/choices/select.md +103 -5
  92. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/date.md +102 -4
  93. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/datetime-without-tz.md +103 -5
  94. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/datetime.md +103 -5
  95. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/index.md +53 -47
  96. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/time.md +102 -4
  97. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/datetime/unix-timestamp.md +103 -5
  98. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/geometric/circle.md +102 -4
  99. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/geometric/line.md +103 -5
  100. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/geometric/point.md +102 -4
  101. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/geometric/polygon.md +102 -4
  102. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/index.md +62 -16
  103. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/media/markdown.md +104 -4
  104. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/media/rich-text.md +105 -5
  105. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/created-at.md +105 -5
  106. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/created-by.md +103 -5
  107. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/space.md +100 -6
  108. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/table-oid.md +102 -4
  109. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/updated-at.md +104 -5
  110. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/system-info/updated-by.md +104 -6
  111. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection-fields/validation.md +69 -56
  112. package/dist/ai/docs/nocobase/data-sources/data-modeling/collection.md +32 -13
  113. package/dist/ai/docs/nocobase/data-sources/data-modeling/index.md +41 -33
  114. package/dist/ai/docs/nocobase/data-sources/data-source-external-mariadb/index.md +114 -6
  115. package/dist/ai/docs/nocobase/data-sources/data-source-external-mssql/index.md +117 -6
  116. package/dist/ai/docs/nocobase/data-sources/data-source-external-mysql/index.md +103 -6
  117. package/dist/ai/docs/nocobase/data-sources/data-source-external-nocobase/index.md +75 -73
  118. package/dist/ai/docs/nocobase/data-sources/data-source-external-oracle/index.md +129 -11
  119. package/dist/ai/docs/nocobase/data-sources/data-source-external-postgres/index.md +110 -6
  120. package/dist/ai/docs/nocobase/data-sources/data-source-kingbase/index.md +75 -49
  121. package/dist/ai/docs/nocobase/data-sources/data-source-main/general-collection.md +116 -15
  122. package/dist/ai/docs/nocobase/data-sources/data-source-main/index.md +92 -62
  123. package/dist/ai/docs/nocobase/data-sources/data-source-main/inheritance-collection.md +97 -10
  124. package/dist/ai/docs/nocobase/data-sources/data-source-manager/external-database.md +97 -58
  125. package/dist/ai/docs/nocobase/data-sources/data-source-manager/index.md +32 -24
  126. package/dist/ai/docs/nocobase/data-sources/data-source-rest-api/index.md +115 -153
  127. package/dist/ai/docs/nocobase/data-sources/external/clickhouse.md +124 -0
  128. package/dist/ai/docs/nocobase/data-sources/external/doris.md +130 -0
  129. package/dist/ai/docs/nocobase/data-sources/external/index.md +140 -0
  130. package/dist/ai/docs/nocobase/data-sources/external/kingbase.md +129 -0
  131. package/dist/ai/docs/nocobase/data-sources/external/mariadb.md +126 -0
  132. package/dist/ai/docs/nocobase/data-sources/external/mssql.md +129 -0
  133. package/dist/ai/docs/nocobase/data-sources/external/mysql.md +115 -0
  134. package/dist/ai/docs/nocobase/data-sources/external/nocobase.md +159 -0
  135. package/dist/ai/docs/nocobase/data-sources/external/oceanbase.md +126 -0
  136. package/dist/ai/docs/nocobase/data-sources/external/oracle.md +158 -0
  137. package/dist/ai/docs/nocobase/data-sources/external/postgresql.md +122 -0
  138. package/dist/ai/docs/nocobase/data-sources/external/rest-api.md +245 -0
  139. package/dist/ai/docs/nocobase/data-sources/field-attachment-url/index.md +100 -12
  140. package/dist/ai/docs/nocobase/data-sources/field-encryption/index.md +48 -47
  141. package/dist/ai/docs/nocobase/data-sources/field-formula/index.md +99 -5
  142. package/dist/ai/docs/nocobase/data-sources/field-markdown-vditor/index.md +105 -5
  143. package/dist/ai/docs/nocobase/data-sources/field-sequence/index.md +102 -5
  144. package/dist/ai/docs/nocobase/data-sources/field-signature/index.md +18 -16
  145. package/dist/ai/docs/nocobase/data-sources/field-sort/index.md +76 -73
  146. package/dist/ai/docs/nocobase/data-sources/file-manager/field-attachment.md +101 -7
  147. package/dist/ai/docs/nocobase/data-sources/file-manager/file-collection.md +101 -14
  148. package/dist/ai/docs/nocobase/data-sources/index.md +49 -33
  149. package/dist/ai/docs/nocobase/data-sources/main/index.md +130 -0
  150. package/dist/ai/docs/nocobase/data-sources/main/kingbase.md +147 -0
  151. package/dist/ai/docs/nocobase/data-sources/main/mariadb.md +59 -0
  152. package/dist/ai/docs/nocobase/data-sources/main/mysql.md +59 -0
  153. package/dist/ai/docs/nocobase/data-sources/main/oceanbase.md +62 -0
  154. package/dist/ai/docs/nocobase/data-sources/main/postgresql.md +61 -0
  155. package/dist/ai/docs/nocobase/development/index.md +9 -2
  156. package/dist/ai/docs/nocobase/file-manager/field-attachment.md +6 -0
  157. package/dist/ai/docs/nocobase/file-manager/file-preview/index.md +3 -12
  158. package/dist/ai/docs/nocobase/file-manager/stable-url.md +87 -0
  159. package/dist/ai/docs/nocobase/file-manager/storage/aliyun-oss.md +9 -0
  160. package/dist/ai/docs/nocobase/file-manager/storage/amazon-s3.md +9 -0
  161. package/dist/ai/docs/nocobase/file-manager/storage/index.md +66 -3
  162. package/dist/ai/docs/nocobase/file-manager/storage/local.md +12 -1
  163. package/dist/ai/docs/nocobase/file-manager/storage/migrate-to-s3-pro.md +269 -0
  164. package/dist/ai/docs/nocobase/file-manager/storage/s3-pro.md +58 -7
  165. package/dist/ai/docs/nocobase/file-manager/storage/tencent-cos.md +9 -0
  166. package/dist/ai/docs/nocobase/get-started/deployment/how-to-deploy-nocobase-faster.mdx +2 -2
  167. package/dist/ai/docs/nocobase/get-started/deployment/production.md +24 -2
  168. package/dist/ai/docs/nocobase/get-started/how-nocobase-works.mdx +8 -1
  169. package/dist/ai/docs/nocobase/get-started/installation/docker-caddy.mdx +178 -0
  170. package/dist/ai/docs/nocobase/get-started/installation/docker-nginx.mdx +179 -0
  171. package/dist/ai/docs/nocobase/get-started/installation/docker.mdx +118 -1
  172. package/dist/ai/docs/nocobase/get-started/installation/env.md +48 -5
  173. package/dist/ai/docs/nocobase/get-started/quickstart.md +6 -1
  174. package/dist/ai/docs/nocobase/get-started/system-requirements.md +9 -1
  175. package/dist/ai/docs/nocobase/index.md +8 -11
  176. package/dist/ai/docs/nocobase/interface-builder/blocks/data-blocks/comment.md +107 -0
  177. package/dist/ai/docs/nocobase/interface-builder/blocks/data-blocks/gantt.md +204 -0
  178. package/dist/ai/docs/nocobase/interface-builder/blocks/data-blocks/map.md +105 -0
  179. package/dist/ai/docs/nocobase/interface-builder/fields/field-settings/scan-input.md +43 -0
  180. package/dist/ai/docs/nocobase/interface-builder/fields/field-settings/validation-rules.md +6 -2
  181. package/dist/ai/docs/nocobase/interface-builder/index.md +7 -6
  182. package/dist/ai/docs/nocobase/interface-builder/ui-layout/desktop.md +97 -0
  183. package/dist/ai/docs/nocobase/interface-builder/ui-layout/index.md +50 -0
  184. package/dist/ai/docs/nocobase/interface-builder/ui-layout/mobile.md +133 -0
  185. package/dist/ai/docs/nocobase/multi-app/multi-app-vs-multi-portal-vs-multi-space.md +159 -0
  186. package/dist/ai/docs/nocobase/multi-app/multi-portal/index.md +195 -0
  187. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/index.md +6 -6
  188. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/installation/cli.md +5 -9
  189. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/installation/env.md +3 -3
  190. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/installation/migration.md +1 -1
  191. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/production/index.md +11 -1
  192. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/production/reverse-proxy/caddy.md +16 -3
  193. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/production/reverse-proxy/index.md +2 -2
  194. package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/production/reverse-proxy/nginx.md +17 -3
  195. package/dist/ai/docs/nocobase/ops-management/backup-manager/index.mdx +9 -7
  196. package/dist/ai/docs/nocobase/ops-management/migration-manager/built-in-tables.md +423 -0
  197. package/dist/ai/docs/nocobase/ops-management/migration-manager/index.md +12 -9
  198. package/dist/ai/docs/nocobase/ops-management/release-management/index.md +111 -24
  199. package/dist/ai/docs/nocobase/ops-management/version-control/index.md +22 -6
  200. package/dist/ai/docs/nocobase/plugin-development/client/index.md +1 -0
  201. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-acl/index.md +5 -3
  202. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-bulk-edit/index.md +5 -3
  203. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-bulk-update/index.md +5 -3
  204. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-custom-request/index.md +5 -2
  205. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-duplicate/index.md +4 -2
  206. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-export/index.md +4 -2
  207. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-export-pro/index.md +3 -1
  208. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-import/index.md +4 -2
  209. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-import-pro/index.md +3 -1
  210. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-print/index.md +3 -1
  211. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-action-template-print/index.md +5 -3
  212. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ai/index.md +6 -2
  213. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ai-gigachat/index.md +3 -1
  214. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ai-knowledge-base/index.md +2 -0
  215. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-api-doc/index.md +4 -2
  216. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-api-keys/index.md +5 -3
  217. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-app-sso/index.md +16 -0
  218. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-app-supervisor/index.md +5 -3
  219. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-async-task-manager/index.md +5 -3
  220. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-audit-logger/index.md +2 -0
  221. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-audit-logs/index.md +3 -1
  222. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth/index.md +3 -1
  223. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-cas/index.md +3 -1
  224. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-dingtalk/index.md +5 -3
  225. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-ldap/index.md +3 -1
  226. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-oidc/index.md +3 -1
  227. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-saml/index.md +3 -1
  228. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-sms/index.md +5 -3
  229. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-auth-wecom/index.md +5 -3
  230. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-backup-restore/index.md +3 -1
  231. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-backups/index.md +5 -3
  232. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-comment/index.md +14 -0
  233. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-grid-card/index.md +4 -2
  234. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-iframe/index.md +3 -1
  235. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-list/index.md +3 -1
  236. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-markdown/index.md +4 -2
  237. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-multi-step-form/index.md +6 -1
  238. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-template/index.md +3 -1
  239. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-tree/index.md +3 -1
  240. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-block-workbench/index.md +3 -1
  241. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-calendar/index.md +4 -2
  242. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-charts/index.md +5 -1
  243. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-client/index.md +4 -2
  244. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-collection-fdw/index.md +3 -1
  245. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-collection-sql/index.md +3 -1
  246. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-collection-tree/index.md +3 -1
  247. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-comments/index.md +3 -1
  248. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-custom-brand/index.md +2 -0
  249. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-custom-variables/index.md +3 -1
  250. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-clickhouse/index.md +5 -3
  251. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-doris/index.md +5 -3
  252. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-mariadb/index.md +3 -1
  253. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-mssql/index.md +3 -1
  254. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-mysql/index.md +3 -1
  255. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-nocobase/index.md +16 -0
  256. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-oracle/index.md +5 -3
  257. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-external-postgres/index.md +3 -1
  258. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-kingbase/index.md +4 -2
  259. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-main/index.md +5 -3
  260. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-manager/index.md +5 -3
  261. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-source-rest-api/index.md +3 -1
  262. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-visualization/index.md +5 -3
  263. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-data-visualization-echarts/index.md +8 -4
  264. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-departments/index.md +3 -1
  265. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-email-manager/index.md +4 -2
  266. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-embed/index.md +4 -1
  267. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-environment-variables/index.md +3 -1
  268. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-error-handler/index.md +3 -1
  269. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-attachment-url/index.md +4 -2
  270. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-china-region/index.md +5 -3
  271. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-code/index.md +3 -1
  272. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-component-mask/index.md +5 -3
  273. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-encryption/index.md +2 -0
  274. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-formula/index.md +3 -1
  275. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-m2m-array/index.md +5 -3
  276. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-markdown-vditor/index.md +4 -2
  277. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-sequence/index.md +3 -1
  278. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-signature/index.md +3 -1
  279. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-field-sort/index.md +3 -1
  280. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-file-manager/index.md +5 -3
  281. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-file-previewer-office/index.md +5 -3
  282. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-file-storage-s3-pro/index.md +4 -2
  283. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-flow-engine/index.md +4 -2
  284. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-form-drafts/index.md +5 -3
  285. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-gantt/index.md +3 -1
  286. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-graph-collection-manager/index.md +8 -1
  287. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-idp-oauth/index.md +14 -0
  288. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ip-restriction/index.md +2 -0
  289. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-kanban/index.md +4 -2
  290. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-license/index.md +3 -1
  291. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-locale-tester/index.md +3 -1
  292. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-localization/index.md +4 -2
  293. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-lock-adapter-redis/index.md +2 -0
  294. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-logger/index.md +4 -2
  295. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-map/index.md +87 -3
  296. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-mcp-server/index.md +14 -0
  297. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-migration-manager/index.md +5 -3
  298. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-mobile/index.md +8 -1
  299. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-mobile-client/index.md +7 -3
  300. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-multi-app-manager/index.md +3 -1
  301. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-multi-app-share-collection/index.md +3 -1
  302. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-multi-keyword-filter/index.md +4 -1
  303. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-multi-portal/index.md +16 -0
  304. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-multi-space/index.md +5 -3
  305. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-notification-email/index.md +3 -1
  306. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-notification-in-app-message/index.md +3 -1
  307. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-notification-manager/index.md +5 -3
  308. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-password-policy/index.md +2 -0
  309. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-public-forms/index.md +5 -3
  310. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-pubsub-adapter-redis/index.md +2 -0
  311. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-queue-adapter-rabbitmq/index.md +2 -0
  312. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-queue-adapter-redis/index.md +2 -0
  313. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-record-history/index.md +2 -0
  314. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-request-encryption/index.md +2 -0
  315. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-snapshot-field/index.md +6 -4
  316. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-system-settings/index.md +3 -1
  317. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-telemetry/index.md +2 -0
  318. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-telemetry-prometheus/index.md +2 -0
  319. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-text-copy/index.md +5 -3
  320. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-theme-editor/index.md +4 -2
  321. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-two-factor-authentication/index.md +2 -0
  322. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ui-layout/index.md +14 -0
  323. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ui-schema-storage/index.md +4 -2
  324. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-ui-templates/index.md +4 -2
  325. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-user-data-sync/index.md +5 -3
  326. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-users/index.md +4 -2
  327. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-verification/index.md +3 -1
  328. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-verification-totp-authenticator/index.md +2 -0
  329. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-version-control/index.md +3 -1
  330. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workerid-allocator-redis/index.md +4 -2
  331. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow/index.md +3 -1
  332. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-action-trigger/index.md +4 -2
  333. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-aggregate/index.md +5 -3
  334. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-approval/index.md +4 -2
  335. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-cc/index.md +3 -1
  336. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-custom-action-trigger/index.md +4 -2
  337. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-date-calculation/index.md +5 -3
  338. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-delay/index.md +4 -2
  339. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-dynamic-calculation/index.md +6 -4
  340. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-javascript/index.md +5 -3
  341. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-json-query/index.md +5 -3
  342. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-json-variable-mapping/index.md +3 -1
  343. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-loop/index.md +4 -2
  344. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-mailer/index.md +5 -3
  345. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-manual/index.md +5 -3
  346. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-notification/index.md +5 -3
  347. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-parallel/index.md +5 -3
  348. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-request/index.md +5 -3
  349. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-request-interceptor/index.md +4 -2
  350. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-response-message/index.md +4 -2
  351. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-sql/index.md +5 -3
  352. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-subflow/index.md +3 -1
  353. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-test/index.md +4 -2
  354. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-transaction/index.md +16 -0
  355. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-variable/index.md +5 -3
  356. package/dist/ai/docs/nocobase/plugins/@nocobase/plugin-workflow-webhook/index.md +4 -2
  357. package/dist/ai/docs/nocobase/runjs/context/ai.md +206 -0
  358. package/dist/ai/docs/nocobase/security/guide.md +23 -0
  359. package/dist/ai/docs/nocobase/shared-components/create-form-registry.md +38 -0
  360. package/dist/ai/docs/nocobase/shared-components/filter/collection-filter-panel.md +44 -0
  361. package/dist/ai/docs/nocobase/shared-components/filter/index.md +44 -0
  362. package/dist/ai/docs/nocobase/shared-components/form/code-scanner.md +34 -0
  363. package/dist/ai/docs/nocobase/shared-components/form/dialog-form-layout.md +45 -0
  364. package/dist/ai/docs/nocobase/shared-components/form/drawer-form-layout.md +45 -0
  365. package/dist/ai/docs/nocobase/shared-components/form/env-variable-input.md +30 -0
  366. package/dist/ai/docs/nocobase/shared-components/form/file-size-input.md +24 -0
  367. package/dist/ai/docs/nocobase/shared-components/form/json-text-area.md +28 -0
  368. package/dist/ai/docs/nocobase/shared-components/form/password-input.md +23 -0
  369. package/dist/ai/docs/nocobase/shared-components/form/remote-select.md +34 -0
  370. package/dist/ai/docs/nocobase/shared-components/form/scan-input.md +27 -0
  371. package/dist/ai/docs/nocobase/shared-components/form/typed-variable-input.md +30 -0
  372. package/dist/ai/docs/nocobase/shared-components/form/variable-input.md +35 -0
  373. package/dist/ai/docs/nocobase/shared-components/form/variable-json-text-area.md +33 -0
  374. package/dist/ai/docs/nocobase/shared-components/form/variable-text-area.md +33 -0
  375. package/dist/ai/docs/nocobase/shared-components/icon.md +21 -0
  376. package/dist/ai/docs/nocobase/shared-components/index.md +70 -0
  377. package/dist/ai/docs/nocobase/shared-components/table/index.md +39 -0
  378. package/dist/ai/docs/nocobase/shared-components/table/sort-handle.md +37 -0
  379. package/dist/ai/docs/nocobase/shared-components/table/sortable-row.md +36 -0
  380. package/dist/ai/docs/nocobase/tutorials/index.md +20 -1
  381. package/dist/ai/docs/nocobase/workflow/development/api.md +259 -77
  382. package/dist/ai/docs/nocobase/workflow/development/index.md +2 -1
  383. package/dist/ai/docs/nocobase/workflow/development/migration.md +319 -0
  384. package/dist/ai/docs/nocobase/workflow/development/node.md +84 -51
  385. package/dist/ai/docs/nocobase/workflow/development/trigger.md +122 -20
  386. package/dist/ai/docs/nocobase/workflow/nodes/index.md +2 -1
  387. package/dist/ai/docs/nocobase/workflow/nodes/transaction.md +81 -0
  388. package/dist/ai/tools/executeFrontendTool.d.ts +10 -0
  389. package/dist/ai/tools/executeFrontendTool.js +86 -0
  390. package/dist/ai/tools/formFiller.js +4 -3
  391. package/dist/ai/tools/loadFrontendTool.d.ts +10 -0
  392. package/dist/ai/tools/loadFrontendTool.js +99 -0
  393. package/dist/ai/tools/subAgentWebSearch.js +20 -15
  394. package/dist/client/23.65ea8c37cd4b884b.js +10 -0
  395. package/dist/client/264.cc98933ef65608b6.js +10 -0
  396. package/dist/client/336.7a8a8853196ad779.js +11 -0
  397. package/dist/client/372.49163fac65cef81c.js +10 -0
  398. package/dist/client/416.92b74ca47e4099c4.js +10 -0
  399. package/dist/client/446.d63c38d0309fe250.js +10 -0
  400. package/dist/client/525.94dd4136c1361477.js +10 -0
  401. package/dist/client/663.680bcf6272a8504d.js +10 -0
  402. package/dist/client/681.399948c18d753667.js +10 -0
  403. package/dist/client/705.19b642db34de438a.js +10 -0
  404. package/dist/client/ai-employees/1.x/selector/AIContextCollector.d.ts +1 -4
  405. package/dist/client/ai-employees/permissions/PermissionsTab.d.ts +21 -5
  406. package/dist/client/index.d.ts +15 -19
  407. package/dist/client/index.js +8 -8
  408. package/dist/client/workflow/nodes/employee/index.d.ts +2 -23
  409. package/dist/client/workflow/nodes/llm/index.d.ts +2 -52
  410. package/dist/client/workflow/triggers/ai-employee/index.d.ts +2 -83
  411. package/dist/client-v2/23.1bcb6986b40723d8.js +10 -0
  412. package/dist/client-v2/264.be92ff6a4d2612f1.js +10 -0
  413. package/dist/client-v2/336.e406470429e0670e.js +11 -0
  414. package/dist/client-v2/372.387161cdeb106987.js +10 -0
  415. package/dist/client-v2/406.341be51205c674e0.js +10 -0
  416. package/dist/client-v2/416.0e1c2d9cde43b83d.js +10 -0
  417. package/dist/client-v2/446.073d450882db29fd.js +10 -0
  418. package/dist/client-v2/457.d72febb89e88fc00.js +10 -0
  419. package/dist/client-v2/663.342341f0b2b412d8.js +10 -0
  420. package/dist/client-v2/681.082f4f1c7b841983.js +10 -0
  421. package/dist/client-v2/705.8dc34d43f02f322c.js +10 -0
  422. package/dist/{client/ai-employees/admin/AvatarSelect.d.ts → client-v2/ai-employees/AIEmployeeDropdown.d.ts} +8 -9
  423. package/dist/client-v2/ai-employees/AIEmployeeShortcut.d.ts +9 -2
  424. package/dist/{client → client-v2}/ai-employees/AddContextButton.d.ts +1 -1
  425. package/dist/{client → client-v2}/ai-employees/ai-coding/AICodingButton.d.ts +2 -1
  426. package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/Actions.d.ts +2 -4
  427. package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/AddLLMModal.d.ts +2 -4
  428. package/dist/client-v2/ai-employees/chatbox/components/Attachments.d.ts +27 -0
  429. package/dist/{client/ai-employees/permissions/Permissions.d.ts → client-v2/ai-employees/chatbox/components/ChatBox.d.ts} +2 -2
  430. package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/ChatBoxLayout.d.ts +1 -1
  431. package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/ContextItem.d.ts +1 -1
  432. package/dist/{client/ai-employees/admin/Employees.d.ts → client-v2/ai-employees/chatbox/components/DebugPanel.d.ts} +1 -1
  433. package/dist/{client/ai-employees/chatbox/markdown/Code.d.ts → client-v2/ai-employees/chatbox/components/Markdown.d.ts} +12 -5
  434. package/dist/{client/ai-employees/admin/ProfileSettings.d.ts → client-v2/ai-employees/chatbox/components/MessageContent.d.ts} +3 -2
  435. package/dist/client-v2/ai-employees/chatbox/components/MessageRenderers.d.ts +39 -0
  436. package/dist/{client/ai-employees/chatbox/generative-ui → client-v2/ai-employees/chatbox/components}/ToolCard.d.ts +7 -5
  437. package/dist/{client/ai-employees/admin/datasource/components/basic → client-v2/ai-employees/chatbox/components}/index.d.ts +5 -2
  438. package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useChat.d.ts +21 -22
  439. package/dist/client-v2/ai-employees/chatbox/hooks/useChatBoxActions.d.ts +3 -2
  440. package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useChatConversationActions.d.ts +2 -2
  441. package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useChatMessageActions.d.ts +8 -5
  442. package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useToolCallActions.d.ts +1 -1
  443. package/dist/client-v2/ai-employees/chatbox/hooks/useUploadFiles.d.ts +46 -0
  444. package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useWorkflowTasks.d.ts +1 -1
  445. package/dist/{client → client-v2}/ai-employees/chatbox/model.d.ts +9 -2
  446. package/dist/client-v2/ai-employees/chatbox/roles.d.ts +162 -0
  447. package/dist/client-v2/ai-employees/chatbox/stores/chat-box.d.ts +1 -49
  448. package/dist/client-v2/ai-employees/chatbox/stores/chat-conversations.d.ts +2 -19
  449. package/dist/client-v2/ai-employees/chatbox/stores/chat-messages.d.ts +1 -46
  450. package/dist/{client → client-v2}/ai-employees/chatbox/stores/chat-tool-call.d.ts +1 -15
  451. package/dist/client-v2/ai-employees/chatbox/stores/chat-tools.d.ts +30 -0
  452. package/dist/client-v2/ai-employees/chatbox/stores/create-selectors.d.ts +31 -3
  453. package/dist/{client/ai-employees/chatbox/conversations/common.d.ts → client-v2/ai-employees/chatbox/stores/workflow-tasks.d.ts} +21 -4
  454. package/dist/client-v2/ai-employees/chatbox/utils/normalizeTriggerTaskOptions.d.ts +19 -0
  455. package/dist/{client → client-v2}/ai-employees/chatbox/utils.d.ts +26 -6
  456. package/dist/{client/ai-employees/data-visualization/context.d.ts → client-v2/ai-employees/context/chart-config.d.ts} +1 -1
  457. package/dist/{client → client-v2}/ai-employees/context/code-editor.d.ts +1 -1
  458. package/dist/{client → client-v2}/ai-employees/context/datasource.d.ts +1 -1
  459. package/dist/{client → client-v2}/ai-employees/context/flow-models.d.ts +1 -1
  460. package/dist/{client/ai-employees/admin/datasource/components/DatasourceSettingDetail.d.ts → client-v2/ai-employees/data-modeling/setup.d.ts} +6 -5
  461. package/dist/{client → client-v2}/ai-employees/datasource/DatasourceSelector.d.ts +6 -2
  462. package/dist/{client/ai-employees/admin/datasource/flow-models/DatasourceSettingModel.d.ts → client-v2/ai-employees/flow/index.d.ts} +4 -6
  463. package/dist/client-v2/ai-employees/form-filler/tools/index.d.ts +18 -0
  464. package/dist/{client/ai-employees/ai-coding/tools/index.d.ts → client-v2/ai-employees/frontend-tools.d.ts} +3 -3
  465. package/dist/{client → client-v2}/ai-employees/stores/ai-selection.d.ts +4 -4
  466. package/dist/{client → client-v2}/ai-employees/stores/dialog-controller.d.ts +4 -4
  467. package/dist/{client/ai-employees/business-report/ui → client-v2/ai-employees/tools}/BusinessReportCard.d.ts +2 -2
  468. package/dist/{client/ai-employees/business-report/ui → client-v2/ai-employees/tools}/BusinessReportModal.d.ts +2 -2
  469. package/dist/{client/ai-employees/1.x/selector/withAISelectable.d.ts → client-v2/ai-employees/tools/ChartGeneratorCard.d.ts} +5 -4
  470. package/dist/{client/ai-employees/ai-coding/ui → client-v2/ai-employees/tools}/CodeToolCard.d.ts +1 -1
  471. package/dist/{client/ai-employees/data-modeling/ui → client-v2/ai-employees/tools}/DataModelingCard.d.ts +3 -5
  472. package/dist/{client/ai-employees/data-modeling/ui → client-v2/ai-employees/tools}/DataModelingModal.d.ts +4 -6
  473. package/dist/{client/ai-employees/sub-agents/ui → client-v2/ai-employees/tools}/SubAgentDispatchCard.d.ts +4 -9
  474. package/dist/{client/ai-employees/AISettingsProvider.d.ts → client-v2/ai-employees/tools/SuggestionsOptionsCard.d.ts} +6 -8
  475. package/dist/{client/ai-employees/workflow-tasks/ui → client-v2/ai-employees/tools}/WorkflowTaskOutputCard.d.ts +7 -2
  476. package/dist/{client/ai-employees/ai-coding/tools/context-tools.d.ts → client-v2/ai-employees/tools/ai-coding.d.ts} +3 -1
  477. package/dist/client-v2/ai-employees/tools/business-report-utils.d.ts +45 -0
  478. package/dist/{client/ai-employees/data-modeling/ui → client-v2/ai-employees/tools/data-modeling}/CollectionNode.d.ts +2 -3
  479. package/dist/{client/ai-employees/data-modeling/ui → client-v2/ai-employees/tools/data-modeling}/Diagram.d.ts +1 -1
  480. package/dist/{client/ai-employees/data-modeling/ui → client-v2/ai-employees/tools/data-modeling}/Table.d.ts +2 -2
  481. package/dist/client-v2/ai-employees/tools/data-modeling/legacy-template.d.ts +13 -0
  482. package/dist/client-v2/ai-employees/tools/data-modeling/runtime.d.ts +15 -0
  483. package/dist/{client/ai-employees → client-v2/ai-employees/tools}/data-modeling/types.d.ts +27 -4
  484. package/dist/client-v2/ai-employees/tools/data-modeling/useFieldInterfaceOptions.d.ts +151 -0
  485. package/dist/{client/ai-employees/data-visualization/tools/index.d.ts → client-v2/ai-employees/tools/data-visualization.d.ts} +1 -1
  486. package/dist/client-v2/ai-employees/tools/index.d.ts +32 -0
  487. package/dist/client-v2/ai-employees/types.d.ts +104 -7
  488. package/dist/client-v2/components/RemoteSelect.d.ts +43 -0
  489. package/dist/{client → client-v2}/debug-logger.d.ts +2 -2
  490. package/dist/client-v2/f0053e745af0ad03.svg +50 -0
  491. package/dist/client-v2/features/components.d.ts +14 -0
  492. package/dist/{client → client-v2}/features/feature-manager.d.ts +2 -0
  493. package/dist/{client → client-v2}/features/index.d.ts +6 -1
  494. package/dist/{client → client-v2}/features/vector-database-provider.d.ts +2 -2
  495. package/dist/client-v2/features/vector-store-provider.d.ts +38 -0
  496. package/dist/client-v2/index.d.ts +12 -6
  497. package/dist/client-v2/index.js +37 -1
  498. package/dist/client-v2/llm-providers/forms.d.ts +44 -0
  499. package/dist/client-v2/llm-providers/index.d.ts +24 -0
  500. package/dist/{client/ai-employees/chart-generator/tools/index.d.ts → client-v2/llm-services/utils.d.ts} +5 -2
  501. package/dist/client-v2/locale.d.ts +14 -0
  502. package/dist/{client → client-v2}/manager/ai-feature-manager.d.ts +2 -1
  503. package/dist/client-v2/manager/ai-manager.d.ts +57 -0
  504. package/dist/client-v2/manager/frontend-tool-registry.d.ts +30 -0
  505. package/dist/client-v2/models/ai-employees/AIEmployeeActionModel.d.ts +33 -0
  506. package/dist/client-v2/models/ai-employees/AIEmployeeShortcutModel.d.ts +44 -0
  507. package/dist/client-v2/pages/AdminSettingsPage.d.ts +24 -0
  508. package/dist/client-v2/pages/DatasourceSettingsPage.d.ts +62 -0
  509. package/dist/client-v2/pages/EmployeesPage.d.ts +63 -0
  510. package/dist/client-v2/pages/LLMServicesPage.d.ts +75 -0
  511. package/dist/client-v2/pages/MCPSettingsPage.d.ts +73 -0
  512. package/dist/client-v2/pages/drawerWidth.d.ts +10 -0
  513. package/dist/client-v2/pages/permissions/Permissions.d.ts +67 -0
  514. package/dist/client-v2/pages/permissions/PermissionsTab.d.ts +12 -0
  515. package/dist/client-v2/pages/useUnsavedChangesBeforeClose.d.ts +29 -0
  516. package/dist/client-v2/plugin.d.ts +33 -0
  517. package/dist/client-v2/repositories/AIConfigRepository.d.ts +3 -23
  518. package/dist/client-v2/runjs/registerAIEmployeeRunJSFacade.d.ts +20 -0
  519. package/dist/client-v2/workflow/components/FormValueRegistry.d.ts +12 -0
  520. package/dist/{client/components/ListCollapse.d.ts → client-v2/workflow/components/WorkflowListCollapse.d.ts} +5 -4
  521. package/dist/client-v2/workflow/constants.d.ts +26 -0
  522. package/dist/client-v2/workflow/nodes/employee/components/AIEmployeeFieldset.d.ts +11 -0
  523. package/dist/{client/ai-employees/common/CodeHighlight.d.ts → client-v2/workflow/nodes/employee/components/AIEmployeeSelect.d.ts} +5 -6
  524. package/dist/{client/ai-employees/ContextAwareTooltip.d.ts → client-v2/workflow/nodes/employee/components/Assignees.d.ts} +2 -1
  525. package/dist/client-v2/workflow/nodes/employee/components/FeedbackSettings.d.ts +17 -0
  526. package/dist/client-v2/workflow/nodes/employee/components/FileInputs.d.ts +11 -0
  527. package/dist/{client/ai-employees/AIEmployeesProvider.d.ts → client-v2/workflow/nodes/employee/components/MessageInputs.d.ts} +2 -3
  528. package/dist/client-v2/workflow/nodes/employee/components/ModelOptions.d.ts +17 -0
  529. package/dist/{client/ai-employees/admin/datasource/components/basic/CollectionCascader.d.ts → client-v2/workflow/nodes/employee/components/SkillSettings.d.ts} +6 -3
  530. package/dist/client-v2/workflow/nodes/employee/components/StructuredOutput.d.ts +11 -0
  531. package/dist/client-v2/workflow/nodes/employee/components/UserInput.d.ts +18 -0
  532. package/dist/client-v2/workflow/nodes/employee/components/WebSearchOptions.d.ts +16 -0
  533. package/dist/client-v2/workflow/nodes/employee/index.d.ts +23 -0
  534. package/dist/{client/ai-employees/AIEmployeeListItem.d.ts → client-v2/workflow/nodes/llm/components/LLMFieldset.d.ts} +3 -5
  535. package/dist/{client/admin-settings/AdminSettings.d.ts → client-v2/workflow/nodes/llm/components/Messages.d.ts} +2 -1
  536. package/dist/client-v2/workflow/nodes/llm/components/StructuredOutput.d.ts +11 -0
  537. package/dist/client-v2/workflow/nodes/llm/index.d.ts +30 -0
  538. package/dist/{client/ai-employees/1.x/selector/BlockSelector.d.ts → client-v2/workflow/register.d.ts} +2 -6
  539. package/dist/client-v2/workflow/triggers/ai-employee/AIEmployeeTriggerConfig.d.ts +11 -0
  540. package/dist/client-v2/workflow/triggers/ai-employee/Parameters.d.ts +11 -0
  541. package/dist/client-v2/workflow/triggers/ai-employee/index.d.ts +25 -0
  542. package/dist/client-v2/workflow/types.d.ts +128 -0
  543. package/dist/collections/ai-mcp-clients.js +5 -0
  544. package/dist/common/frontend-tools.d.ts +26 -0
  545. package/dist/common/frontend-tools.js +57 -0
  546. package/dist/externalVersion.js +24 -29
  547. package/dist/locale/en-US.json +62 -3
  548. package/dist/locale/zh-CN.json +62 -3
  549. package/dist/node_modules/@langchain/mistralai/LICENSE +21 -0
  550. package/dist/node_modules/@langchain/mistralai/dist/chat_models.cjs +859 -0
  551. package/dist/node_modules/@langchain/mistralai/dist/chat_models.d.cts +541 -0
  552. package/dist/node_modules/@langchain/mistralai/dist/chat_models.d.ts +541 -0
  553. package/dist/node_modules/@langchain/mistralai/dist/chat_models.js +857 -0
  554. package/dist/node_modules/@langchain/mistralai/dist/embeddings.cjs +140 -0
  555. package/dist/node_modules/@langchain/mistralai/dist/embeddings.d.cts +116 -0
  556. package/dist/node_modules/@langchain/mistralai/dist/embeddings.d.ts +116 -0
  557. package/dist/node_modules/@langchain/mistralai/dist/embeddings.js +139 -0
  558. package/dist/node_modules/@langchain/mistralai/dist/index.cjs +21 -0
  559. package/dist/node_modules/@langchain/mistralai/dist/index.d.cts +4 -0
  560. package/dist/node_modules/@langchain/mistralai/dist/index.d.ts +4 -0
  561. package/dist/node_modules/@langchain/mistralai/dist/index.js +5 -0
  562. package/dist/node_modules/@langchain/mistralai/dist/llms.cjs +275 -0
  563. package/dist/node_modules/@langchain/mistralai/dist/llms.d.cts +147 -0
  564. package/dist/node_modules/@langchain/mistralai/dist/llms.d.ts +147 -0
  565. package/dist/node_modules/@langchain/mistralai/dist/llms.js +274 -0
  566. package/dist/node_modules/@langchain/mistralai/dist/utils.cjs +61 -0
  567. package/dist/node_modules/@langchain/mistralai/dist/utils.js +59 -0
  568. package/dist/node_modules/@langchain/mistralai/package.json +1 -0
  569. package/dist/node_modules/@langchain/xai/dist/chat_models/completions.cjs +25 -34
  570. package/dist/node_modules/@langchain/xai/dist/chat_models/completions.d.cts +10 -22
  571. package/dist/node_modules/@langchain/xai/dist/chat_models/completions.d.ts +10 -22
  572. package/dist/node_modules/@langchain/xai/dist/chat_models/completions.js +17 -25
  573. package/dist/node_modules/@langchain/xai/dist/chat_models/index.cjs +2 -2
  574. package/dist/node_modules/@langchain/xai/dist/chat_models/index.d.cts +3 -0
  575. package/dist/node_modules/@langchain/xai/dist/chat_models/index.js +3 -2
  576. package/dist/node_modules/@langchain/xai/dist/chat_models/responses-types.d.cts +5 -12
  577. package/dist/node_modules/@langchain/xai/dist/chat_models/responses-types.d.ts +5 -12
  578. package/dist/node_modules/@langchain/xai/dist/chat_models/responses.cjs +18 -19
  579. package/dist/node_modules/@langchain/xai/dist/chat_models/responses.d.cts +1 -1
  580. package/dist/node_modules/@langchain/xai/dist/chat_models/responses.d.ts +1 -1
  581. package/dist/node_modules/@langchain/xai/dist/chat_models/responses.js +13 -13
  582. package/dist/node_modules/@langchain/xai/dist/converters/responses.cjs +16 -22
  583. package/dist/node_modules/@langchain/xai/dist/converters/responses.js +7 -12
  584. package/dist/node_modules/@langchain/xai/dist/index.cjs +2 -2
  585. package/dist/node_modules/@langchain/xai/dist/index.d.ts +0 -1
  586. package/dist/node_modules/@langchain/xai/dist/index.js +1 -2
  587. package/dist/node_modules/@langchain/xai/dist/live_search.cjs +4 -5
  588. package/dist/node_modules/@langchain/xai/dist/live_search.js +4 -4
  589. package/dist/node_modules/@langchain/xai/dist/profiles.cjs +81 -97
  590. package/dist/node_modules/@langchain/xai/dist/profiles.js +81 -96
  591. package/dist/node_modules/@langchain/xai/dist/tools/code_execution.cjs +1 -2
  592. package/dist/node_modules/@langchain/xai/dist/tools/code_execution.js +1 -1
  593. package/dist/node_modules/@langchain/xai/dist/tools/collections_search.cjs +1 -2
  594. package/dist/node_modules/@langchain/xai/dist/tools/collections_search.js +1 -1
  595. package/dist/node_modules/@langchain/xai/dist/tools/index.cjs +6 -7
  596. package/dist/node_modules/@langchain/xai/dist/tools/index.d.cts +1 -2
  597. package/dist/node_modules/@langchain/xai/dist/tools/index.d.ts +1 -2
  598. package/dist/node_modules/@langchain/xai/dist/tools/index.js +6 -7
  599. package/dist/node_modules/@langchain/xai/dist/tools/live_search.cjs +3 -7
  600. package/dist/node_modules/@langchain/xai/dist/tools/live_search.d.cts +1 -2
  601. package/dist/node_modules/@langchain/xai/dist/tools/live_search.d.ts +1 -2
  602. package/dist/node_modules/@langchain/xai/dist/tools/live_search.js +3 -6
  603. package/dist/node_modules/@langchain/xai/dist/tools/web_search.cjs +1 -2
  604. package/dist/node_modules/@langchain/xai/dist/tools/web_search.js +1 -1
  605. package/dist/node_modules/@langchain/xai/dist/tools/x_search.cjs +1 -2
  606. package/dist/node_modules/@langchain/xai/dist/tools/x_search.js +1 -1
  607. package/dist/node_modules/@langchain/xai/package.json +1 -1
  608. package/dist/node_modules/fs-extra/package.json +1 -1
  609. package/dist/node_modules/jsonrepair/package.json +1 -1
  610. package/dist/node_modules/just-bash/package.json +1 -1
  611. package/dist/node_modules/nodejs-snowflake/package.json +1 -1
  612. package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.mts +1 -1
  613. package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/branded.d.ts +1 -1
  614. package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.mts +1 -1
  615. package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/catch.d.ts +1 -1
  616. package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.mts +1 -1
  617. package/dist/node_modules/openai/_vendor/zod-to-json-schema/parsers/readonly.d.ts +1 -1
  618. package/dist/node_modules/openai/api-promise.d.mts +1 -0
  619. package/dist/node_modules/openai/api-promise.d.ts +1 -0
  620. package/dist/node_modules/openai/auth/index.d.mts +4 -0
  621. package/dist/node_modules/openai/auth/index.d.ts +4 -0
  622. package/dist/node_modules/openai/auth/index.js +11 -0
  623. package/dist/node_modules/openai/auth/subject-token-providers.d.mts +20 -0
  624. package/dist/node_modules/openai/auth/subject-token-providers.d.ts +20 -0
  625. package/dist/node_modules/openai/auth/subject-token-providers.js +127 -0
  626. package/dist/node_modules/openai/auth/types.d.mts +23 -0
  627. package/dist/node_modules/openai/auth/types.d.ts +23 -0
  628. package/dist/node_modules/openai/auth/types.js +3 -0
  629. package/dist/node_modules/openai/auth/workload-identity-auth.d.mts +16 -0
  630. package/dist/node_modules/openai/auth/workload-identity-auth.d.ts +16 -0
  631. package/dist/node_modules/openai/auth/workload-identity-auth.js +95 -0
  632. package/dist/node_modules/openai/azure.d.mts +6 -2
  633. package/dist/node_modules/openai/azure.d.ts +6 -2
  634. package/dist/node_modules/openai/azure.js +4 -3
  635. package/dist/node_modules/openai/beta/realtime/websocket.js +7 -2
  636. package/dist/node_modules/openai/beta/realtime/ws.js +5 -1
  637. package/dist/node_modules/openai/bin/migration-config.json +1120 -0
  638. package/dist/node_modules/openai/client.d.mts +72 -10
  639. package/dist/node_modules/openai/client.d.ts +72 -10
  640. package/dist/node_modules/openai/client.js +207 -28
  641. package/dist/node_modules/openai/core/EventEmitter.d.mts +56 -0
  642. package/dist/node_modules/openai/core/EventEmitter.d.ts +56 -0
  643. package/dist/node_modules/openai/core/EventEmitter.js +93 -0
  644. package/dist/node_modules/openai/core/error.d.mts +15 -0
  645. package/dist/node_modules/openai/core/error.d.ts +15 -0
  646. package/dist/node_modules/openai/core/error.js +34 -1
  647. package/dist/node_modules/openai/core/pagination.d.mts +18 -0
  648. package/dist/node_modules/openai/core/pagination.d.ts +18 -0
  649. package/dist/node_modules/openai/core/pagination.js +32 -1
  650. package/dist/node_modules/openai/core/streaming.d.mts +1 -1
  651. package/dist/node_modules/openai/core/streaming.d.ts +1 -1
  652. package/dist/node_modules/openai/core/streaming.js +2 -2
  653. package/dist/node_modules/openai/error.d.mts +1 -0
  654. package/dist/node_modules/openai/error.d.ts +1 -0
  655. package/dist/node_modules/openai/index.d.mts +1 -1
  656. package/dist/node_modules/openai/index.d.ts +1 -1
  657. package/dist/node_modules/openai/index.js +1 -1
  658. package/dist/node_modules/openai/internal/parse.js +2 -2
  659. package/dist/node_modules/openai/internal/qs/index.d.mts +2 -2
  660. package/dist/node_modules/openai/internal/qs/index.d.ts +2 -2
  661. package/dist/node_modules/openai/internal/request-options.d.mts +5 -0
  662. package/dist/node_modules/openai/internal/request-options.d.ts +5 -0
  663. package/dist/node_modules/openai/internal/shims.d.mts +6 -0
  664. package/dist/node_modules/openai/internal/shims.d.ts +6 -0
  665. package/dist/node_modules/openai/internal/types.d.mts +17 -11
  666. package/dist/node_modules/openai/internal/types.d.ts +17 -11
  667. package/dist/node_modules/openai/internal/utils/env.js +2 -2
  668. package/dist/node_modules/openai/internal/utils/log.js +2 -0
  669. package/dist/node_modules/openai/internal/utils/query.d.mts +2 -0
  670. package/dist/node_modules/openai/internal/utils/query.d.ts +2 -0
  671. package/dist/node_modules/openai/internal/utils/query.js +10 -0
  672. package/dist/node_modules/openai/internal/utils.d.mts +1 -0
  673. package/dist/node_modules/openai/internal/utils.d.ts +1 -0
  674. package/dist/node_modules/openai/internal/utils.js +1 -0
  675. package/dist/node_modules/openai/internal/ws-adapter-browser.d.mts +34 -0
  676. package/dist/node_modules/openai/internal/ws-adapter-browser.d.ts +34 -0
  677. package/dist/node_modules/openai/internal/ws-adapter-browser.js +88 -0
  678. package/dist/node_modules/openai/internal/ws-adapter-node.d.mts +27 -0
  679. package/dist/node_modules/openai/internal/ws-adapter-node.d.ts +27 -0
  680. package/dist/node_modules/openai/internal/ws-adapter-node.js +90 -0
  681. package/dist/node_modules/openai/internal/ws-adapter.d.mts +24 -0
  682. package/dist/node_modules/openai/internal/ws-adapter.d.ts +24 -0
  683. package/dist/node_modules/openai/internal/ws-adapter.js +11 -0
  684. package/dist/node_modules/openai/internal/ws.d.mts +80 -0
  685. package/dist/node_modules/openai/internal/ws.d.ts +80 -0
  686. package/dist/node_modules/openai/internal/ws.js +153 -0
  687. package/dist/node_modules/openai/package.json +1 -1
  688. package/dist/node_modules/openai/pagination.d.mts +1 -0
  689. package/dist/node_modules/openai/pagination.d.ts +1 -0
  690. package/dist/node_modules/openai/realtime/websocket.js +7 -2
  691. package/dist/node_modules/openai/realtime/ws.js +5 -1
  692. package/dist/node_modules/openai/resource.d.mts +1 -0
  693. package/dist/node_modules/openai/resource.d.ts +1 -0
  694. package/dist/node_modules/openai/resources/admin/admin.d.mts +10 -0
  695. package/dist/node_modules/openai/resources/admin/admin.d.ts +10 -0
  696. package/dist/node_modules/openai/resources/admin/admin.js +17 -0
  697. package/dist/node_modules/openai/resources/admin/index.d.mts +3 -0
  698. package/dist/node_modules/openai/resources/admin/index.d.ts +3 -0
  699. package/dist/node_modules/openai/resources/admin/index.js +9 -0
  700. package/dist/node_modules/openai/resources/admin/organization/admin-api-keys.d.mts +140 -0
  701. package/dist/node_modules/openai/resources/admin/organization/admin-api-keys.d.ts +140 -0
  702. package/dist/node_modules/openai/resources/admin/organization/admin-api-keys.js +81 -0
  703. package/dist/node_modules/openai/resources/admin/organization/audit-logs.d.mts +1267 -0
  704. package/dist/node_modules/openai/resources/admin/organization/audit-logs.d.ts +1267 -0
  705. package/dist/node_modules/openai/resources/admin/organization/audit-logs.js +31 -0
  706. package/dist/node_modules/openai/resources/admin/organization/certificates.d.mts +322 -0
  707. package/dist/node_modules/openai/resources/admin/organization/certificates.d.ts +322 -0
  708. package/dist/node_modules/openai/resources/admin/organization/certificates.js +144 -0
  709. package/dist/node_modules/openai/resources/admin/organization/data-retention.d.mts +50 -0
  710. package/dist/node_modules/openai/resources/admin/organization/data-retention.d.ts +50 -0
  711. package/dist/node_modules/openai/resources/admin/organization/data-retention.js +42 -0
  712. package/dist/node_modules/openai/resources/admin/organization/groups/groups.d.mts +160 -0
  713. package/dist/node_modules/openai/resources/admin/organization/groups/groups.d.ts +160 -0
  714. package/dist/node_modules/openai/resources/admin/organization/groups/groups.js +109 -0
  715. package/dist/node_modules/openai/resources/admin/organization/groups/index.d.mts +4 -0
  716. package/dist/node_modules/openai/resources/admin/organization/groups/index.d.ts +4 -0
  717. package/dist/node_modules/openai/resources/admin/organization/groups/index.js +11 -0
  718. package/dist/node_modules/openai/resources/admin/organization/groups/roles.d.mts +275 -0
  719. package/dist/node_modules/openai/resources/admin/organization/groups/roles.d.ts +275 -0
  720. package/dist/node_modules/openai/resources/admin/organization/groups/roles.js +84 -0
  721. package/dist/node_modules/openai/resources/admin/organization/groups/users.d.mts +164 -0
  722. package/dist/node_modules/openai/resources/admin/organization/groups/users.d.ts +164 -0
  723. package/dist/node_modules/openai/resources/admin/organization/groups/users.js +84 -0
  724. package/dist/node_modules/openai/resources/admin/organization/groups.d.mts +2 -0
  725. package/dist/node_modules/openai/resources/admin/organization/groups.d.ts +2 -0
  726. package/dist/node_modules/openai/resources/admin/organization/groups.js +6 -0
  727. package/dist/node_modules/openai/resources/admin/organization/index.d.mts +13 -0
  728. package/dist/node_modules/openai/resources/admin/organization/index.d.ts +13 -0
  729. package/dist/node_modules/openai/resources/admin/organization/index.js +29 -0
  730. package/dist/node_modules/openai/resources/admin/organization/invites.d.mts +153 -0
  731. package/dist/node_modules/openai/resources/admin/organization/invites.d.ts +153 -0
  732. package/dist/node_modules/openai/resources/admin/organization/invites.js +83 -0
  733. package/dist/node_modules/openai/resources/admin/organization/organization.d.mts +50 -0
  734. package/dist/node_modules/openai/resources/admin/organization/organization.d.ts +50 -0
  735. package/dist/node_modules/openai/resources/admin/organization/organization.js +57 -0
  736. package/dist/node_modules/openai/resources/admin/organization/projects/api-keys.d.mts +167 -0
  737. package/dist/node_modules/openai/resources/admin/organization/projects/api-keys.d.ts +167 -0
  738. package/dist/node_modules/openai/resources/admin/organization/projects/api-keys.js +68 -0
  739. package/dist/node_modules/openai/resources/admin/organization/projects/certificates.d.mts +186 -0
  740. package/dist/node_modules/openai/resources/admin/organization/projects/certificates.d.ts +186 -0
  741. package/dist/node_modules/openai/resources/admin/organization/projects/certificates.js +64 -0
  742. package/dist/node_modules/openai/resources/admin/organization/projects/data-retention.d.mts +53 -0
  743. package/dist/node_modules/openai/resources/admin/organization/projects/data-retention.d.ts +53 -0
  744. package/dist/node_modules/openai/resources/admin/organization/projects/data-retention.js +46 -0
  745. package/dist/node_modules/openai/resources/admin/organization/projects/groups/groups.d.mts +142 -0
  746. package/dist/node_modules/openai/resources/admin/organization/projects/groups/groups.d.ts +142 -0
  747. package/dist/node_modules/openai/resources/admin/organization/projects/groups/groups.js +93 -0
  748. package/dist/node_modules/openai/resources/admin/organization/projects/groups/index.d.mts +3 -0
  749. package/dist/node_modules/openai/resources/admin/organization/projects/groups/index.d.ts +3 -0
  750. package/dist/node_modules/openai/resources/admin/organization/projects/groups/index.js +9 -0
  751. package/dist/node_modules/openai/resources/admin/organization/projects/groups/roles.d.mts +292 -0
  752. package/dist/node_modules/openai/resources/admin/organization/projects/groups/roles.d.ts +292 -0
  753. package/dist/node_modules/openai/resources/admin/organization/projects/groups/roles.js +87 -0
  754. package/dist/node_modules/openai/resources/admin/organization/projects/groups.d.mts +2 -0
  755. package/dist/node_modules/openai/resources/admin/organization/projects/groups.d.ts +2 -0
  756. package/dist/node_modules/openai/resources/admin/organization/projects/groups.js +6 -0
  757. package/dist/node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.d.mts +174 -0
  758. package/dist/node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.d.ts +174 -0
  759. package/dist/node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.js +45 -0
  760. package/dist/node_modules/openai/resources/admin/organization/projects/index.d.mts +13 -0
  761. package/dist/node_modules/openai/resources/admin/organization/projects/index.d.ts +13 -0
  762. package/dist/node_modules/openai/resources/admin/organization/projects/index.js +29 -0
  763. package/dist/node_modules/openai/resources/admin/organization/projects/model-permissions.d.mts +86 -0
  764. package/dist/node_modules/openai/resources/admin/organization/projects/model-permissions.d.ts +86 -0
  765. package/dist/node_modules/openai/resources/admin/organization/projects/model-permissions.js +63 -0
  766. package/dist/node_modules/openai/resources/admin/organization/projects/projects.d.mts +188 -0
  767. package/dist/node_modules/openai/resources/admin/organization/projects/projects.d.ts +188 -0
  768. package/dist/node_modules/openai/resources/admin/organization/projects/projects.js +149 -0
  769. package/dist/node_modules/openai/resources/admin/organization/projects/rate-limits.d.mts +120 -0
  770. package/dist/node_modules/openai/resources/admin/organization/projects/rate-limits.d.ts +120 -0
  771. package/dist/node_modules/openai/resources/admin/organization/projects/rate-limits.js +47 -0
  772. package/dist/node_modules/openai/resources/admin/organization/projects/roles.d.mts +146 -0
  773. package/dist/node_modules/openai/resources/admin/organization/projects/roles.d.ts +146 -0
  774. package/dist/node_modules/openai/resources/admin/organization/projects/roles.js +108 -0
  775. package/dist/node_modules/openai/resources/admin/organization/projects/service-accounts.d.mts +168 -0
  776. package/dist/node_modules/openai/resources/admin/organization/projects/service-accounts.d.ts +168 -0
  777. package/dist/node_modules/openai/resources/admin/organization/projects/service-accounts.js +101 -0
  778. package/dist/node_modules/openai/resources/admin/organization/projects/spend-alerts.d.mts +241 -0
  779. package/dist/node_modules/openai/resources/admin/organization/projects/spend-alerts.d.ts +241 -0
  780. package/dist/node_modules/openai/resources/admin/organization/projects/spend-alerts.js +102 -0
  781. package/dist/node_modules/openai/resources/admin/organization/projects/users/index.d.mts +3 -0
  782. package/dist/node_modules/openai/resources/admin/organization/projects/users/index.d.ts +3 -0
  783. package/dist/node_modules/openai/resources/admin/organization/projects/users/index.js +9 -0
  784. package/dist/node_modules/openai/resources/admin/organization/projects/users/roles.d.mts +266 -0
  785. package/dist/node_modules/openai/resources/admin/organization/projects/users/roles.d.ts +266 -0
  786. package/dist/node_modules/openai/resources/admin/organization/projects/users/roles.js +87 -0
  787. package/dist/node_modules/openai/resources/admin/organization/projects/users/users.d.mts +157 -0
  788. package/dist/node_modules/openai/resources/admin/organization/projects/users/users.d.ts +157 -0
  789. package/dist/node_modules/openai/resources/admin/organization/projects/users/users.js +116 -0
  790. package/dist/node_modules/openai/resources/admin/organization/projects/users.d.mts +2 -0
  791. package/dist/node_modules/openai/resources/admin/organization/projects/users.d.ts +2 -0
  792. package/dist/node_modules/openai/resources/admin/organization/projects/users.js +6 -0
  793. package/dist/node_modules/openai/resources/admin/organization/projects.d.mts +2 -0
  794. package/dist/node_modules/openai/resources/admin/organization/projects.d.ts +2 -0
  795. package/dist/node_modules/openai/resources/admin/organization/projects.js +6 -0
  796. package/dist/node_modules/openai/resources/admin/organization/roles.d.mts +153 -0
  797. package/dist/node_modules/openai/resources/admin/organization/roles.d.ts +153 -0
  798. package/dist/node_modules/openai/resources/admin/organization/roles.js +96 -0
  799. package/dist/node_modules/openai/resources/admin/organization/spend-alerts.d.mts +224 -0
  800. package/dist/node_modules/openai/resources/admin/organization/spend-alerts.d.ts +224 -0
  801. package/dist/node_modules/openai/resources/admin/organization/spend-alerts.js +93 -0
  802. package/dist/node_modules/openai/resources/admin/organization/usage.d.mts +5123 -0
  803. package/dist/node_modules/openai/resources/admin/organization/usage.d.ts +5123 -0
  804. package/dist/node_modules/openai/resources/admin/organization/usage.js +207 -0
  805. package/dist/node_modules/openai/resources/admin/organization/users/index.d.mts +3 -0
  806. package/dist/node_modules/openai/resources/admin/organization/users/index.d.ts +3 -0
  807. package/dist/node_modules/openai/resources/admin/organization/users/index.js +9 -0
  808. package/dist/node_modules/openai/resources/admin/organization/users/roles.d.mts +249 -0
  809. package/dist/node_modules/openai/resources/admin/organization/users/roles.d.ts +249 -0
  810. package/dist/node_modules/openai/resources/admin/organization/users/roles.js +84 -0
  811. package/dist/node_modules/openai/resources/admin/organization/users/users.d.mts +185 -0
  812. package/dist/node_modules/openai/resources/admin/organization/users/users.d.ts +185 -0
  813. package/dist/node_modules/openai/resources/admin/organization/users/users.js +84 -0
  814. package/dist/node_modules/openai/resources/admin/organization/users.d.mts +2 -0
  815. package/dist/node_modules/openai/resources/admin/organization/users.d.ts +2 -0
  816. package/dist/node_modules/openai/resources/admin/organization/users.js +6 -0
  817. package/dist/node_modules/openai/resources/admin/organization.d.mts +2 -0
  818. package/dist/node_modules/openai/resources/admin/organization.d.ts +2 -0
  819. package/dist/node_modules/openai/resources/admin/organization.js +6 -0
  820. package/dist/node_modules/openai/resources/admin.d.mts +2 -0
  821. package/dist/node_modules/openai/resources/admin.d.ts +2 -0
  822. package/dist/node_modules/openai/resources/admin.js +6 -0
  823. package/dist/node_modules/openai/resources/audio/speech.d.mts +22 -5
  824. package/dist/node_modules/openai/resources/audio/speech.d.ts +22 -5
  825. package/dist/node_modules/openai/resources/audio/speech.js +8 -2
  826. package/dist/node_modules/openai/resources/audio/transcriptions.d.mts +6 -0
  827. package/dist/node_modules/openai/resources/audio/transcriptions.d.ts +6 -0
  828. package/dist/node_modules/openai/resources/audio/transcriptions.js +4 -0
  829. package/dist/node_modules/openai/resources/audio/translations.d.mts +3 -0
  830. package/dist/node_modules/openai/resources/audio/translations.d.ts +3 -0
  831. package/dist/node_modules/openai/resources/audio/translations.js +4 -1
  832. package/dist/node_modules/openai/resources/batches.d.mts +8 -4
  833. package/dist/node_modules/openai/resources/batches.d.ts +8 -4
  834. package/dist/node_modules/openai/resources/batches.js +14 -4
  835. package/dist/node_modules/openai/resources/beta/assistants.d.mts +6 -2
  836. package/dist/node_modules/openai/resources/beta/assistants.d.ts +6 -2
  837. package/dist/node_modules/openai/resources/beta/assistants.js +8 -0
  838. package/dist/node_modules/openai/resources/beta/chatkit/sessions.d.mts +4 -2
  839. package/dist/node_modules/openai/resources/beta/chatkit/sessions.d.ts +4 -2
  840. package/dist/node_modules/openai/resources/beta/chatkit/sessions.js +6 -2
  841. package/dist/node_modules/openai/resources/beta/chatkit/threads.d.mts +4 -4
  842. package/dist/node_modules/openai/resources/beta/chatkit/threads.d.ts +4 -4
  843. package/dist/node_modules/openai/resources/beta/chatkit/threads.js +13 -5
  844. package/dist/node_modules/openai/resources/beta/realtime/sessions.js +1 -0
  845. package/dist/node_modules/openai/resources/beta/realtime/transcription-sessions.js +1 -0
  846. package/dist/node_modules/openai/resources/beta/threads/messages.d.mts +2 -0
  847. package/dist/node_modules/openai/resources/beta/threads/messages.d.ts +2 -0
  848. package/dist/node_modules/openai/resources/beta/threads/messages.js +7 -0
  849. package/dist/node_modules/openai/resources/beta/threads/runs/runs.d.mts +2 -0
  850. package/dist/node_modules/openai/resources/beta/threads/runs/runs.d.ts +2 -0
  851. package/dist/node_modules/openai/resources/beta/threads/runs/runs.js +10 -0
  852. package/dist/node_modules/openai/resources/beta/threads/runs/steps.d.mts +2 -0
  853. package/dist/node_modules/openai/resources/beta/threads/runs/steps.d.ts +2 -0
  854. package/dist/node_modules/openai/resources/beta/threads/runs/steps.js +4 -0
  855. package/dist/node_modules/openai/resources/beta/threads/threads.d.mts +8 -4
  856. package/dist/node_modules/openai/resources/beta/threads/threads.d.ts +8 -4
  857. package/dist/node_modules/openai/resources/beta/threads/threads.js +8 -0
  858. package/dist/node_modules/openai/resources/chat/completions/completions.d.mts +37 -18
  859. package/dist/node_modules/openai/resources/chat/completions/completions.d.ts +37 -18
  860. package/dist/node_modules/openai/resources/chat/completions/completions.js +27 -5
  861. package/dist/node_modules/openai/resources/chat/completions/messages.d.mts +3 -0
  862. package/dist/node_modules/openai/resources/chat/completions/messages.d.ts +3 -0
  863. package/dist/node_modules/openai/resources/chat/completions/messages.js +4 -1
  864. package/dist/node_modules/openai/resources/completions.d.mts +9 -3
  865. package/dist/node_modules/openai/resources/completions.d.ts +9 -3
  866. package/dist/node_modules/openai/resources/completions.js +9 -1
  867. package/dist/node_modules/openai/resources/containers/containers.js +11 -3
  868. package/dist/node_modules/openai/resources/containers/files/content.js +1 -0
  869. package/dist/node_modules/openai/resources/containers/files/files.js +7 -2
  870. package/dist/node_modules/openai/resources/conversations/conversations.d.mts +15 -0
  871. package/dist/node_modules/openai/resources/conversations/conversations.d.ts +15 -0
  872. package/dist/node_modules/openai/resources/conversations/conversations.js +17 -4
  873. package/dist/node_modules/openai/resources/conversations/items.d.mts +4 -1
  874. package/dist/node_modules/openai/resources/conversations/items.d.ts +4 -1
  875. package/dist/node_modules/openai/resources/conversations/items.js +14 -3
  876. package/dist/node_modules/openai/resources/embeddings.d.mts +3 -0
  877. package/dist/node_modules/openai/resources/embeddings.d.ts +3 -0
  878. package/dist/node_modules/openai/resources/embeddings.js +4 -0
  879. package/dist/node_modules/openai/resources/evals/evals.d.mts +3 -0
  880. package/dist/node_modules/openai/resources/evals/evals.d.ts +3 -0
  881. package/dist/node_modules/openai/resources/evals/evals.js +12 -5
  882. package/dist/node_modules/openai/resources/evals/runs/output-items.d.mts +3 -0
  883. package/dist/node_modules/openai/resources/evals/runs/output-items.d.ts +3 -0
  884. package/dist/node_modules/openai/resources/evals/runs/output-items.js +8 -2
  885. package/dist/node_modules/openai/resources/evals/runs/runs.d.mts +3 -0
  886. package/dist/node_modules/openai/resources/evals/runs/runs.d.ts +3 -0
  887. package/dist/node_modules/openai/resources/evals/runs/runs.js +21 -4
  888. package/dist/node_modules/openai/resources/files.d.mts +11 -1
  889. package/dist/node_modules/openai/resources/files.d.ts +11 -1
  890. package/dist/node_modules/openai/resources/files.js +20 -5
  891. package/dist/node_modules/openai/resources/fine-tuning/alpha/graders.d.mts +3 -0
  892. package/dist/node_modules/openai/resources/fine-tuning/alpha/graders.d.ts +3 -0
  893. package/dist/node_modules/openai/resources/fine-tuning/alpha/graders.js +13 -2
  894. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.mts +2 -2
  895. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.d.ts +2 -2
  896. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/index.d.mts +1 -1
  897. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/index.d.ts +1 -1
  898. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.mts +54 -7
  899. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/permissions.d.ts +54 -7
  900. package/dist/node_modules/openai/resources/fine-tuning/checkpoints/permissions.js +26 -9
  901. package/dist/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.mts +3 -0
  902. package/dist/node_modules/openai/resources/fine-tuning/jobs/checkpoints.d.ts +3 -0
  903. package/dist/node_modules/openai/resources/fine-tuning/jobs/checkpoints.js +4 -1
  904. package/dist/node_modules/openai/resources/fine-tuning/jobs/jobs.d.mts +3 -0
  905. package/dist/node_modules/openai/resources/fine-tuning/jobs/jobs.d.ts +3 -0
  906. package/dist/node_modules/openai/resources/fine-tuning/jobs/jobs.js +26 -7
  907. package/dist/node_modules/openai/resources/images.d.mts +56 -24
  908. package/dist/node_modules/openai/resources/images.d.ts +56 -24
  909. package/dist/node_modules/openai/resources/images.js +11 -3
  910. package/dist/node_modules/openai/resources/index.d.mts +2 -1
  911. package/dist/node_modules/openai/resources/index.d.ts +2 -1
  912. package/dist/node_modules/openai/resources/index.js +3 -1
  913. package/dist/node_modules/openai/resources/models.d.mts +3 -0
  914. package/dist/node_modules/openai/resources/models.d.ts +3 -0
  915. package/dist/node_modules/openai/resources/models.js +6 -3
  916. package/dist/node_modules/openai/resources/moderations.d.mts +3 -0
  917. package/dist/node_modules/openai/resources/moderations.d.ts +3 -0
  918. package/dist/node_modules/openai/resources/moderations.js +4 -1
  919. package/dist/node_modules/openai/resources/realtime/calls.d.mts +13 -3
  920. package/dist/node_modules/openai/resources/realtime/calls.d.ts +13 -3
  921. package/dist/node_modules/openai/resources/realtime/calls.js +4 -0
  922. package/dist/node_modules/openai/resources/realtime/client-secrets.d.mts +45 -39
  923. package/dist/node_modules/openai/resources/realtime/client-secrets.d.ts +45 -39
  924. package/dist/node_modules/openai/resources/realtime/client-secrets.js +19 -1
  925. package/dist/node_modules/openai/resources/realtime/index.d.mts +1 -1
  926. package/dist/node_modules/openai/resources/realtime/index.d.ts +1 -1
  927. package/dist/node_modules/openai/resources/realtime/realtime.d.mts +592 -21
  928. package/dist/node_modules/openai/resources/realtime/realtime.d.ts +592 -21
  929. package/dist/node_modules/openai/resources/responses/index.d.mts +2 -0
  930. package/dist/node_modules/openai/resources/responses/index.d.ts +2 -0
  931. package/dist/node_modules/openai/resources/responses/input-items.js +1 -1
  932. package/dist/node_modules/openai/resources/responses/input-tokens.d.mts +4 -1
  933. package/dist/node_modules/openai/resources/responses/input-tokens.d.ts +4 -1
  934. package/dist/node_modules/openai/resources/responses/input-tokens.js +9 -2
  935. package/dist/node_modules/openai/resources/responses/internal-base.d.mts +71 -0
  936. package/dist/node_modules/openai/resources/responses/internal-base.d.ts +71 -0
  937. package/dist/node_modules/openai/resources/responses/internal-base.js +48 -0
  938. package/dist/node_modules/openai/resources/responses/responses.d.mts +956 -64
  939. package/dist/node_modules/openai/resources/responses/responses.d.ts +956 -64
  940. package/dist/node_modules/openai/resources/responses/responses.js +20 -5
  941. package/dist/node_modules/openai/resources/responses/ws-base.d.mts +106 -0
  942. package/dist/node_modules/openai/resources/responses/ws-base.d.ts +106 -0
  943. package/dist/node_modules/openai/resources/responses/ws-base.js +476 -0
  944. package/dist/node_modules/openai/resources/responses/ws.d.mts +13 -0
  945. package/dist/node_modules/openai/resources/responses/ws.d.ts +13 -0
  946. package/dist/node_modules/openai/resources/responses/ws.js +31 -0
  947. package/dist/node_modules/openai/resources/shared.d.mts +3 -2
  948. package/dist/node_modules/openai/resources/shared.d.ts +3 -2
  949. package/dist/node_modules/openai/resources/skills/content.d.mts +1 -1
  950. package/dist/node_modules/openai/resources/skills/content.d.ts +1 -1
  951. package/dist/node_modules/openai/resources/skills/content.js +2 -1
  952. package/dist/node_modules/openai/resources/skills/skills.d.mts +5 -5
  953. package/dist/node_modules/openai/resources/skills/skills.d.ts +5 -5
  954. package/dist/node_modules/openai/resources/skills/skills.js +18 -10
  955. package/dist/node_modules/openai/resources/skills/versions/content.d.mts +1 -1
  956. package/dist/node_modules/openai/resources/skills/versions/content.d.ts +1 -1
  957. package/dist/node_modules/openai/resources/skills/versions/content.js +2 -1
  958. package/dist/node_modules/openai/resources/skills/versions/versions.d.mts +4 -4
  959. package/dist/node_modules/openai/resources/skills/versions/versions.d.ts +4 -4
  960. package/dist/node_modules/openai/resources/skills/versions/versions.js +14 -7
  961. package/dist/node_modules/openai/resources/uploads/parts.d.mts +3 -0
  962. package/dist/node_modules/openai/resources/uploads/parts.d.ts +3 -0
  963. package/dist/node_modules/openai/resources/uploads/parts.js +4 -1
  964. package/dist/node_modules/openai/resources/uploads/uploads.d.mts +10 -1
  965. package/dist/node_modules/openai/resources/uploads/uploads.d.ts +10 -1
  966. package/dist/node_modules/openai/resources/uploads/uploads.js +20 -4
  967. package/dist/node_modules/openai/resources/vector-stores/file-batches.d.mts +9 -3
  968. package/dist/node_modules/openai/resources/vector-stores/file-batches.d.ts +9 -3
  969. package/dist/node_modules/openai/resources/vector-stores/file-batches.js +9 -1
  970. package/dist/node_modules/openai/resources/vector-stores/files.d.mts +3 -1
  971. package/dist/node_modules/openai/resources/vector-stores/files.d.ts +3 -1
  972. package/dist/node_modules/openai/resources/vector-stores/files.js +10 -1
  973. package/dist/node_modules/openai/resources/vector-stores/vector-stores.js +6 -0
  974. package/dist/node_modules/openai/resources/videos.d.mts +123 -11
  975. package/dist/node_modules/openai/resources/videos.d.ts +123 -11
  976. package/dist/node_modules/openai/resources/videos.js +46 -11
  977. package/dist/node_modules/openai/src/auth/index.ts +9 -0
  978. package/dist/node_modules/openai/src/auth/subject-token-providers.ts +185 -0
  979. package/dist/node_modules/openai/src/auth/types.ts +28 -0
  980. package/dist/node_modules/openai/src/auth/workload-identity-auth.ts +122 -0
  981. package/dist/node_modules/openai/src/azure.ts +9 -4
  982. package/dist/node_modules/openai/src/beta/realtime/websocket.ts +7 -2
  983. package/dist/node_modules/openai/src/beta/realtime/ws.ts +5 -1
  984. package/dist/node_modules/openai/src/client.ts +312 -35
  985. package/dist/node_modules/openai/src/core/EventEmitter.ts +114 -0
  986. package/dist/node_modules/openai/src/core/error.ts +40 -0
  987. package/dist/node_modules/openai/src/core/pagination.ts +62 -0
  988. package/dist/node_modules/openai/src/core/streaming.ts +2 -1
  989. package/dist/node_modules/openai/src/index.ts +2 -0
  990. package/dist/node_modules/openai/src/internal/parse.ts +12 -2
  991. package/dist/node_modules/openai/src/internal/request-options.ts +2 -0
  992. package/dist/node_modules/openai/src/internal/types.ts +14 -8
  993. package/dist/node_modules/openai/src/internal/utils/env.ts +2 -2
  994. package/dist/node_modules/openai/src/internal/utils/log.ts +2 -0
  995. package/dist/node_modules/openai/src/internal/utils/query.ts +7 -0
  996. package/dist/node_modules/openai/src/internal/utils.ts +1 -0
  997. package/dist/node_modules/openai/src/internal/ws-adapter-browser.ts +123 -0
  998. package/dist/node_modules/openai/src/internal/ws-adapter-node.ts +105 -0
  999. package/dist/node_modules/openai/src/internal/ws-adapter.ts +30 -0
  1000. package/dist/node_modules/openai/src/internal/ws.ts +193 -0
  1001. package/dist/node_modules/openai/src/realtime/websocket.ts +7 -2
  1002. package/dist/node_modules/openai/src/realtime/ws.ts +5 -1
  1003. package/dist/node_modules/openai/src/resources/admin/admin.ts +15 -0
  1004. package/dist/node_modules/openai/src/resources/admin/index.ts +4 -0
  1005. package/dist/node_modules/openai/src/resources/admin/organization/admin-api-keys.ts +199 -0
  1006. package/dist/node_modules/openai/src/resources/admin/organization/audit-logs.ts +1597 -0
  1007. package/dist/node_modules/openai/src/resources/admin/organization/certificates.ts +458 -0
  1008. package/dist/node_modules/openai/src/resources/admin/organization/data-retention.ts +79 -0
  1009. package/dist/node_modules/openai/src/resources/admin/organization/groups/groups.ts +277 -0
  1010. package/dist/node_modules/openai/src/resources/admin/organization/groups/index.ts +36 -0
  1011. package/dist/node_modules/openai/src/resources/admin/organization/groups/roles.ts +359 -0
  1012. package/dist/node_modules/openai/src/resources/admin/organization/groups/users.ts +232 -0
  1013. package/dist/node_modules/openai/src/resources/admin/organization/groups.ts +3 -0
  1014. package/dist/node_modules/openai/src/resources/admin/organization/index.ts +117 -0
  1015. package/dist/node_modules/openai/src/resources/admin/organization/invites.ts +215 -0
  1016. package/dist/node_modules/openai/src/resources/admin/organization/organization.ts +272 -0
  1017. package/dist/node_modules/openai/src/resources/admin/organization/projects/api-keys.ts +239 -0
  1018. package/dist/node_modules/openai/src/resources/admin/organization/projects/certificates.ts +269 -0
  1019. package/dist/node_modules/openai/src/resources/admin/organization/projects/data-retention.ts +91 -0
  1020. package/dist/node_modules/openai/src/resources/admin/organization/projects/groups/groups.ts +231 -0
  1021. package/dist/node_modules/openai/src/resources/admin/organization/projects/groups/index.ts +24 -0
  1022. package/dist/node_modules/openai/src/resources/admin/organization/projects/groups/roles.ts +386 -0
  1023. package/dist/node_modules/openai/src/resources/admin/organization/projects/groups.ts +3 -0
  1024. package/dist/node_modules/openai/src/resources/admin/organization/projects/hosted-tool-permissions.ts +217 -0
  1025. package/dist/node_modules/openai/src/resources/admin/organization/projects/index.ts +102 -0
  1026. package/dist/node_modules/openai/src/resources/admin/organization/projects/model-permissions.ts +123 -0
  1027. package/dist/node_modules/openai/src/resources/admin/organization/projects/projects.ts +445 -0
  1028. package/dist/node_modules/openai/src/resources/admin/organization/projects/rate-limits.ts +173 -0
  1029. package/dist/node_modules/openai/src/resources/admin/organization/projects/roles.ts +210 -0
  1030. package/dist/node_modules/openai/src/resources/admin/organization/projects/service-accounts.ts +266 -0
  1031. package/dist/node_modules/openai/src/resources/admin/organization/projects/spend-alerts.ts +332 -0
  1032. package/dist/node_modules/openai/src/resources/admin/organization/projects/users/index.ts +25 -0
  1033. package/dist/node_modules/openai/src/resources/admin/organization/projects/users/roles.ts +351 -0
  1034. package/dist/node_modules/openai/src/resources/admin/organization/projects/users/users.ts +256 -0
  1035. package/dist/node_modules/openai/src/resources/admin/organization/projects/users.ts +3 -0
  1036. package/dist/node_modules/openai/src/resources/admin/organization/projects.ts +3 -0
  1037. package/dist/node_modules/openai/src/resources/admin/organization/roles.ts +217 -0
  1038. package/dist/node_modules/openai/src/resources/admin/organization/spend-alerts.ts +301 -0
  1039. package/dist/node_modules/openai/src/resources/admin/organization/usage.ts +6427 -0
  1040. package/dist/node_modules/openai/src/resources/admin/organization/users/index.ts +22 -0
  1041. package/dist/node_modules/openai/src/resources/admin/organization/users/roles.ts +328 -0
  1042. package/dist/node_modules/openai/src/resources/admin/organization/users/users.ts +291 -0
  1043. package/dist/node_modules/openai/src/resources/admin/organization/users.ts +3 -0
  1044. package/dist/node_modules/openai/src/resources/admin/organization.ts +3 -0
  1045. package/dist/node_modules/openai/src/resources/admin.ts +3 -0
  1046. package/dist/node_modules/openai/src/resources/audio/speech.ts +26 -6
  1047. package/dist/node_modules/openai/src/resources/audio/transcriptions.ts +7 -0
  1048. package/dist/node_modules/openai/src/resources/audio/translations.ts +7 -1
  1049. package/dist/node_modules/openai/src/resources/batches.ts +20 -8
  1050. package/dist/node_modules/openai/src/resources/beta/assistants.ts +11 -2
  1051. package/dist/node_modules/openai/src/resources/beta/chatkit/sessions.ts +6 -2
  1052. package/dist/node_modules/openai/src/resources/beta/chatkit/threads.ts +13 -5
  1053. package/dist/node_modules/openai/src/resources/beta/realtime/sessions.ts +1 -0
  1054. package/dist/node_modules/openai/src/resources/beta/realtime/transcription-sessions.ts +1 -0
  1055. package/dist/node_modules/openai/src/resources/beta/threads/messages.ts +7 -0
  1056. package/dist/node_modules/openai/src/resources/beta/threads/runs/runs.ts +10 -0
  1057. package/dist/node_modules/openai/src/resources/beta/threads/runs/steps.ts +4 -0
  1058. package/dist/node_modules/openai/src/resources/beta/threads/threads.ts +14 -4
  1059. package/dist/node_modules/openai/src/resources/chat/completions/completions.ts +64 -27
  1060. package/dist/node_modules/openai/src/resources/chat/completions/messages.ts +4 -1
  1061. package/dist/node_modules/openai/src/resources/completions.ts +15 -6
  1062. package/dist/node_modules/openai/src/resources/containers/containers.ts +11 -3
  1063. package/dist/node_modules/openai/src/resources/containers/files/content.ts +1 -0
  1064. package/dist/node_modules/openai/src/resources/containers/files/files.ts +7 -2
  1065. package/dist/node_modules/openai/src/resources/conversations/conversations.ts +31 -4
  1066. package/dist/node_modules/openai/src/resources/conversations/items.ts +17 -3
  1067. package/dist/node_modules/openai/src/resources/embeddings.ts +4 -0
  1068. package/dist/node_modules/openai/src/resources/evals/evals.ts +12 -5
  1069. package/dist/node_modules/openai/src/resources/evals/runs/output-items.ts +8 -2
  1070. package/dist/node_modules/openai/src/resources/evals/runs/runs.ts +21 -4
  1071. package/dist/node_modules/openai/src/resources/files.ts +23 -5
  1072. package/dist/node_modules/openai/src/resources/fine-tuning/alpha/graders.ts +13 -2
  1073. package/dist/node_modules/openai/src/resources/fine-tuning/checkpoints/checkpoints.ts +6 -0
  1074. package/dist/node_modules/openai/src/resources/fine-tuning/checkpoints/index.ts +3 -0
  1075. package/dist/node_modules/openai/src/resources/fine-tuning/checkpoints/permissions.ts +84 -10
  1076. package/dist/node_modules/openai/src/resources/fine-tuning/jobs/checkpoints.ts +4 -1
  1077. package/dist/node_modules/openai/src/resources/fine-tuning/jobs/jobs.ts +26 -7
  1078. package/dist/node_modules/openai/src/resources/images.ts +74 -27
  1079. package/dist/node_modules/openai/src/resources/index.ts +7 -0
  1080. package/dist/node_modules/openai/src/resources/models.ts +6 -3
  1081. package/dist/node_modules/openai/src/resources/moderations.ts +4 -1
  1082. package/dist/node_modules/openai/src/resources/realtime/calls.ts +21 -2
  1083. package/dist/node_modules/openai/src/resources/realtime/client-secrets.ts +54 -40
  1084. package/dist/node_modules/openai/src/resources/realtime/index.ts +0 -1
  1085. package/dist/node_modules/openai/src/resources/realtime/realtime.ts +705 -20
  1086. package/dist/node_modules/openai/src/resources/responses/index.ts +2 -0
  1087. package/dist/node_modules/openai/src/resources/responses/input-items.ts +1 -1
  1088. package/dist/node_modules/openai/src/resources/responses/input-tokens.ts +9 -2
  1089. package/dist/node_modules/openai/src/resources/responses/internal-base.ts +113 -0
  1090. package/dist/node_modules/openai/src/resources/responses/responses.ts +1314 -143
  1091. package/dist/node_modules/openai/src/resources/responses/ws-base.ts +611 -0
  1092. package/dist/node_modules/openai/src/resources/responses/ws.ts +38 -0
  1093. package/dist/node_modules/openai/src/resources/shared.ts +9 -1
  1094. package/dist/node_modules/openai/src/resources/skills/content.ts +2 -1
  1095. package/dist/node_modules/openai/src/resources/skills/skills.ts +21 -10
  1096. package/dist/node_modules/openai/src/resources/skills/versions/content.ts +2 -1
  1097. package/dist/node_modules/openai/src/resources/skills/versions/versions.ts +14 -7
  1098. package/dist/node_modules/openai/src/resources/uploads/parts.ts +4 -1
  1099. package/dist/node_modules/openai/src/resources/uploads/uploads.ts +20 -4
  1100. package/dist/node_modules/openai/src/resources/vector-stores/file-batches.ts +18 -4
  1101. package/dist/node_modules/openai/src/resources/vector-stores/files.ts +13 -2
  1102. package/dist/node_modules/openai/src/resources/vector-stores/vector-stores.ts +6 -0
  1103. package/dist/node_modules/openai/src/resources/videos.ts +186 -16
  1104. package/dist/node_modules/openai/src/version.ts +1 -1
  1105. package/dist/node_modules/openai/streaming.d.mts +1 -0
  1106. package/dist/node_modules/openai/streaming.d.ts +1 -0
  1107. package/dist/node_modules/openai/uploads.d.mts +1 -0
  1108. package/dist/node_modules/openai/uploads.d.ts +1 -0
  1109. package/dist/node_modules/openai/version.d.mts +1 -1
  1110. package/dist/node_modules/openai/version.d.ts +1 -1
  1111. package/dist/node_modules/openai/version.js +1 -1
  1112. package/dist/node_modules/zod/package.json +1 -1
  1113. package/dist/server/ai-employees/ai-conversations.d.ts +2 -0
  1114. package/dist/server/ai-employees/ai-employee.d.ts +3 -11
  1115. package/dist/server/ai-employees/ai-employee.js +84 -102
  1116. package/dist/server/ai-employees/ai-knowledge-base.d.ts +0 -4
  1117. package/dist/server/ai-employees/ai-knowledge-base.js +25 -89
  1118. package/dist/server/ai-employees/checkpoints/cleaner.d.ts +2 -0
  1119. package/dist/server/ai-employees/checkpoints/cleaner.js +11 -1
  1120. package/dist/server/ai-employees/middleware/conversation.d.ts +2 -0
  1121. package/dist/server/ai-employees/middleware/conversation.js +2 -1
  1122. package/dist/server/ai-employees/middleware/index.d.ts +1 -0
  1123. package/dist/server/ai-employees/middleware/index.js +2 -0
  1124. package/dist/server/ai-employees/middleware/tool-call-sanitizer.d.ts +16 -0
  1125. package/dist/server/ai-employees/middleware/tool-call-sanitizer.js +90 -0
  1126. package/dist/server/ai-employees/prompts.d.ts +2 -1
  1127. package/dist/server/ai-employees/prompts.js +8 -2
  1128. package/dist/server/ai-employees/tool-call-sanitizer.d.ts +27 -0
  1129. package/dist/server/ai-employees/tool-call-sanitizer.js +85 -0
  1130. package/dist/server/ai-employees/utils.d.ts +3 -1
  1131. package/dist/server/ai-employees/utils.js +23 -3
  1132. package/dist/server/attachments.d.ts +24 -0
  1133. package/dist/server/attachments.js +204 -0
  1134. package/dist/server/collections/ai-usage-events.d.ts +10 -0
  1135. package/dist/server/collections/ai-usage-events.js +183 -0
  1136. package/dist/server/collections/lc-checkpoint-blobs.js +1 -1
  1137. package/dist/server/collections/lc-checkpoint-writes.js +1 -1
  1138. package/dist/server/collections/lc-checkpoints.js +1 -1
  1139. package/dist/server/document-loader/cached.d.ts +1 -0
  1140. package/dist/server/document-loader/cached.js +18 -9
  1141. package/dist/server/document-loader/constants.js +1 -0
  1142. package/dist/server/document-loader/loader.d.ts +0 -1
  1143. package/dist/server/document-loader/loader.js +25 -8
  1144. package/dist/server/document-loader/types.d.ts +7 -0
  1145. package/dist/server/features/feature-manager.d.ts +2 -2
  1146. package/dist/server/features/index.d.ts +1 -1
  1147. package/dist/server/features/knowledge-base.d.ts +2 -1
  1148. package/dist/server/features/vector-store-provider.d.ts +2 -9
  1149. package/dist/server/frontend-tools.d.ts +25 -0
  1150. package/dist/server/frontend-tools.js +171 -0
  1151. package/dist/server/llm-providers/anthropic.d.ts +2 -1
  1152. package/dist/server/llm-providers/anthropic.js +1 -3
  1153. package/dist/server/llm-providers/dashscope.d.ts +2 -1
  1154. package/dist/server/llm-providers/dashscope.js +18 -3
  1155. package/dist/server/llm-providers/deepseek.d.ts +2 -1
  1156. package/dist/server/llm-providers/deepseek.js +33 -2
  1157. package/dist/server/llm-providers/google-genai.d.ts +1 -1
  1158. package/dist/server/llm-providers/google-genai.js +1 -5
  1159. package/dist/server/llm-providers/kimi/provider.d.ts +2 -1
  1160. package/dist/server/llm-providers/kimi/provider.js +24 -4
  1161. package/dist/server/llm-providers/mimo.js +2 -2
  1162. package/dist/server/llm-providers/mistral.d.ts +96 -0
  1163. package/dist/server/llm-providers/mistral.js +325 -0
  1164. package/dist/server/llm-providers/openai/completions.d.ts +2 -1
  1165. package/dist/server/llm-providers/openai/completions.js +19 -3
  1166. package/dist/server/llm-providers/openai/responses.d.ts +2 -1
  1167. package/dist/server/llm-providers/openai/responses.js +25 -5
  1168. package/dist/server/llm-providers/orcarouter.d.ts +35 -0
  1169. package/dist/server/llm-providers/orcarouter.js +155 -0
  1170. package/dist/server/llm-providers/provider.d.ts +18 -6
  1171. package/dist/server/llm-providers/provider.js +61 -18
  1172. package/dist/server/manager/ai-chat-conversation.js +2 -0
  1173. package/dist/server/manager/ai-context-datasource-manager.js +34 -7
  1174. package/dist/server/manager/ai-manager.d.ts +2 -1
  1175. package/dist/server/manager/ai-manager.js +4 -1
  1176. package/dist/server/manager/ai-usage-events.d.ts +49 -0
  1177. package/dist/server/manager/ai-usage-events.js +195 -0
  1178. package/dist/server/manager/work-context-handler.js +10 -3
  1179. package/dist/server/plugin.d.ts +3 -0
  1180. package/dist/server/plugin.js +79 -0
  1181. package/dist/server/resource/aiConversations.d.ts +2 -0
  1182. package/dist/server/resource/aiConversations.js +72 -3
  1183. package/dist/server/resource/aiMcpClients.js +2 -2
  1184. package/dist/server/resource/aiTools.js +14 -9
  1185. package/dist/server/types/knowledge-base.type.d.ts +15 -1
  1186. package/dist/server/utils.d.ts +5 -2
  1187. package/dist/server/utils.js +11 -19
  1188. package/dist/server/workflow/nodes/employee/files.d.ts +3 -1
  1189. package/dist/server/workflow/nodes/employee/files.js +31 -5
  1190. package/dist/server/workflow/nodes/employee/index.js +92 -46
  1191. package/dist/server/workflow/nodes/employee/tools.js +8 -1
  1192. package/dist/server/workflow/nodes/llm/index.js +3 -0
  1193. package/package.json +18 -16
  1194. package/dist/ai/docs/nocobase/ai-employees/knowledge-base/knowledge-base.md +0 -82
  1195. package/dist/ai/docs/nocobase/data-sources/development/index.md +0 -6
  1196. package/dist/client/119.c6bf8c6433167d81.js +0 -10
  1197. package/dist/client/170.d98eacdc00d9d527.js +0 -10
  1198. package/dist/client/228.b4b709f93b86b6b9.js +0 -10
  1199. package/dist/client/280.003b9e9788599244.js +0 -10
  1200. package/dist/client/290.0f7f441d8a94f03c.js +0 -10
  1201. package/dist/client/331.d547c95410476a69.js +0 -10
  1202. package/dist/client/406.9a530334eae8cede.js +0 -10
  1203. package/dist/client/428.fdd0cc3cfd1632ef.js +0 -10
  1204. package/dist/client/462.d172d0fe91519e35.js +0 -10
  1205. package/dist/client/486.dcac8f3fcec19c33.js +0 -10
  1206. package/dist/client/502.2b4a51e0a8122e52.js +0 -10
  1207. package/dist/client/525.33a9c8ec28be4ec4.js +0 -10
  1208. package/dist/client/559.a0f2f1cc2be3c039.js +0 -10
  1209. package/dist/client/561.776886c5308e3c26.js +0 -10
  1210. package/dist/client/580.e75f97fb883ad042.js +0 -10
  1211. package/dist/client/597.b0d64948d74cf6cb.js +0 -10
  1212. package/dist/client/604.de96f3ec4d471afd.js +0 -10
  1213. package/dist/client/614.aa766080f6b99aab.js +0 -10
  1214. package/dist/client/646.b0ed728921b007d4.js +0 -10
  1215. package/dist/client/687.224e569a99cae4bb.js +0 -10
  1216. package/dist/client/699.57c0a1acb723202a.js +0 -10
  1217. package/dist/client/711.92cd94681fde7e05.js +0 -10
  1218. package/dist/client/758.a9741e81911e53c3.js +0 -10
  1219. package/dist/client/768.5177bff46ae71a5b.js +0 -10
  1220. package/dist/client/792.abb57765453bcbcc.js +0 -10
  1221. package/dist/client/820.f72ef2462b61d812.js +0 -10
  1222. package/dist/client/832.0cf69e3f43c320b2.js +0 -10
  1223. package/dist/client/927.d95c74ebb8fd51c9.js +0 -10
  1224. package/dist/client/ai-employees/1.x/selector/AISelectorProvider.d.ts +0 -33
  1225. package/dist/client/ai-employees/ProfileCard.d.ts +0 -14
  1226. package/dist/client/ai-employees/admin/ChatSettings.d.ts +0 -10
  1227. package/dist/client/ai-employees/admin/DataSourceSettings.d.ts +0 -10
  1228. package/dist/client/ai-employees/admin/EnableSwitch.d.ts +0 -10
  1229. package/dist/client/ai-employees/admin/InputsFormSettings.d.ts +0 -10
  1230. package/dist/client/ai-employees/admin/KnowledgeBaseSettings.d.ts +0 -10
  1231. package/dist/client/ai-employees/admin/ModelSettings.d.ts +0 -10
  1232. package/dist/client/ai-employees/admin/SkillSettings.d.ts +0 -19
  1233. package/dist/client/ai-employees/admin/SystemPrompt.d.ts +0 -10
  1234. package/dist/client/ai-employees/admin/Templates.d.ts +0 -10
  1235. package/dist/client/ai-employees/admin/ToolsSettings.d.ts +0 -17
  1236. package/dist/client/ai-employees/admin/datasource/components/DatasourceSettingForm.d.ts +0 -10
  1237. package/dist/client/ai-employees/admin/datasource/components/DatasourceSettingGrid.d.ts +0 -10
  1238. package/dist/client/ai-employees/admin/datasource/components/basic/FieldsTransfer.d.ts +0 -17
  1239. package/dist/client/ai-employees/admin/datasource/components/form-steps/CollectionSetting.d.ts +0 -17
  1240. package/dist/client/ai-employees/admin/datasource/components/form-steps/FieldsSetting.d.ts +0 -15
  1241. package/dist/client/ai-employees/admin/datasource/components/form-steps/FilterSetting.d.ts +0 -17
  1242. package/dist/client/ai-employees/admin/datasource/components/form-steps/Preview.d.ts +0 -13
  1243. package/dist/client/ai-employees/admin/datasource/components/form-steps/SortSetting.d.ts +0 -15
  1244. package/dist/client/ai-employees/admin/datasource/components/form-steps/index.d.ts +0 -13
  1245. package/dist/client/ai-employees/admin/datasource/components/index.d.ts +0 -9
  1246. package/dist/client/ai-employees/admin/datasource/context.d.ts +0 -17
  1247. package/dist/client/ai-employees/admin/datasource/flow-models/index.d.ts +0 -9
  1248. package/dist/client/ai-employees/admin/datasource/index.d.ts +0 -10
  1249. package/dist/client/ai-employees/admin/hooks.d.ts +0 -39
  1250. package/dist/client/ai-employees/admin/mcp/MCPSettings.d.ts +0 -10
  1251. package/dist/client/ai-employees/admin/mcp/MCPToolsList.d.ts +0 -19
  1252. package/dist/client/ai-employees/admin/mcp/context.d.ts +0 -15
  1253. package/dist/client/ai-employees/admin/mcp/schemas.d.ts +0 -1286
  1254. package/dist/client/ai-employees/ai-coding/CodeHistory.d.ts +0 -10
  1255. package/dist/client/ai-employees/ai-coding/markdown/Code.d.ts +0 -16
  1256. package/dist/client/ai-employees/avatars.d.ts +0 -9
  1257. package/dist/client/ai-employees/built-in/utils.d.ts +0 -15
  1258. package/dist/client/ai-employees/business-report/tools/index.d.ts +0 -10
  1259. package/dist/client/ai-employees/business-report/ui/report-utils.d.ts +0 -38
  1260. package/dist/client/ai-employees/chart-generator/ui/ECharts.d.ts +0 -13
  1261. package/dist/client/ai-employees/chatbox/AIThinking.d.ts +0 -12
  1262. package/dist/client/ai-employees/chatbox/Attachment.d.ts +0 -14
  1263. package/dist/client/ai-employees/chatbox/AttachmentsHeader.d.ts +0 -10
  1264. package/dist/client/ai-employees/chatbox/ChatBox.d.ts +0 -12
  1265. package/dist/client/ai-employees/chatbox/ContextItemsHeader.d.ts +0 -10
  1266. package/dist/client/ai-employees/chatbox/DebugPanel.d.ts +0 -16
  1267. package/dist/client/ai-employees/chatbox/EditMessageHeader.d.ts +0 -10
  1268. package/dist/client/ai-employees/chatbox/HintMessageHeader.d.ts +0 -10
  1269. package/dist/client/ai-employees/chatbox/MessageRenderer.d.ts +0 -33
  1270. package/dist/client/ai-employees/chatbox/SenderFooter.d.ts +0 -13
  1271. package/dist/client/ai-employees/chatbox/SenderHeader.d.ts +0 -10
  1272. package/dist/client/ai-employees/chatbox/SenderPrefix.d.ts +0 -10
  1273. package/dist/client/ai-employees/chatbox/Upload.d.ts +0 -12
  1274. package/dist/client/ai-employees/chatbox/VirtualList.d.ts +0 -28
  1275. package/dist/client/ai-employees/chatbox/conversations/ConversationsList.d.ts +0 -13
  1276. package/dist/client/ai-employees/chatbox/conversations/WorkflowTasksList.d.ts +0 -13
  1277. package/dist/client/ai-employees/chatbox/conversations/index.d.ts +0 -9
  1278. package/dist/client/ai-employees/chatbox/generative-ui/DefaultToolCard.d.ts +0 -16
  1279. package/dist/client/ai-employees/chatbox/hooks/useChatBoxActions.d.ts +0 -18
  1280. package/dist/client/ai-employees/chatbox/hooks/useUploadFiles.d.ts +0 -12
  1281. package/dist/client/ai-employees/chatbox/markdown/ECharts.d.ts +0 -10
  1282. package/dist/client/ai-employees/chatbox/markdown/Form.d.ts +0 -10
  1283. package/dist/client/ai-employees/chatbox/markdown/Generating.d.ts +0 -10
  1284. package/dist/client/ai-employees/chatbox/markdown/Markdown.d.ts +0 -13
  1285. package/dist/client/ai-employees/chatbox/roles.d.ts +0 -32
  1286. package/dist/client/ai-employees/chatbox/stores/chat-box.d.ts +0 -9
  1287. package/dist/client/ai-employees/chatbox/stores/chat-conversations.d.ts +0 -9
  1288. package/dist/client/ai-employees/chatbox/stores/chat-messages.d.ts +0 -9
  1289. package/dist/client/ai-employees/chatbox/stores/chat-tools.d.ts +0 -51
  1290. package/dist/client/ai-employees/chatbox/stores/create-selectors.d.ts +0 -18
  1291. package/dist/client/ai-employees/chatbox/stores/workflow-tasks.d.ts +0 -45
  1292. package/dist/client/ai-employees/context/classic-pages.d.ts +0 -10
  1293. package/dist/client/ai-employees/data-modeling/Table.d.ts +0 -12
  1294. package/dist/client/ai-employees/data-modeling/setup.d.ts +0 -10
  1295. package/dist/client/ai-employees/data-modeling/tools/index.d.ts +0 -10
  1296. package/dist/client/ai-employees/data-modeling/ui/useFieldInterfaceOptions.d.ts +0 -14
  1297. package/dist/client/ai-employees/datasource/DatasourceList.d.ts +0 -17
  1298. package/dist/client/ai-employees/datasource/index.d.ts +0 -9
  1299. package/dist/client/ai-employees/flow/events/index.d.ts +0 -9
  1300. package/dist/client/ai-employees/flow/index.d.ts +0 -36
  1301. package/dist/client/ai-employees/flow/models/AIEmployeeActionModel.d.ts +0 -18
  1302. package/dist/client/ai-employees/flow/models/AIEmployeeShortcutModel.d.ts +0 -30
  1303. package/dist/client/ai-employees/form-filler/tools/index.d.ts +0 -10
  1304. package/dist/client/ai-employees/shortcuts/ShortcutList.d.ts +0 -10
  1305. package/dist/client/ai-employees/shortcuts/useShortcuts.d.ts +0 -13
  1306. package/dist/client/ai-employees/stores/context-aware.d.ts +0 -19
  1307. package/dist/client/ai-employees/sub-agents/tools/index.d.ts +0 -10
  1308. package/dist/client/ai-employees/suggestions/tools/index.d.ts +0 -10
  1309. package/dist/client/ai-employees/suggestions/ui/SuggestionsOptions.d.ts +0 -13
  1310. package/dist/client/ai-employees/types.d.ts +0 -259
  1311. package/dist/client/ai-employees/workflow-tasks/tools/index.d.ts +0 -10
  1312. package/dist/client/chat-settings/Messages.d.ts +0 -11
  1313. package/dist/client/chat-settings/StructuredOutput.d.ts +0 -11
  1314. package/dist/client/components/skill-settings.d.ts +0 -22
  1315. package/dist/client/llm-providers/anthropic/ModelSettings.d.ts +0 -10
  1316. package/dist/client/llm-providers/anthropic/ProviderSettings.d.ts +0 -10
  1317. package/dist/client/llm-providers/anthropic/index.d.ts +0 -10
  1318. package/dist/client/llm-providers/components/Chat.d.ts +0 -10
  1319. package/dist/client/llm-providers/components/ModelSelect.d.ts +0 -10
  1320. package/dist/client/llm-providers/dashscope/ModelSettings.d.ts +0 -10
  1321. package/dist/client/llm-providers/dashscope/ProviderSettings.d.ts +0 -10
  1322. package/dist/client/llm-providers/dashscope/index.d.ts +0 -10
  1323. package/dist/client/llm-providers/deepseek/ModelSettings.d.ts +0 -10
  1324. package/dist/client/llm-providers/deepseek/index.d.ts +0 -10
  1325. package/dist/client/llm-providers/google-genai/MessageRenderer.d.ts +0 -13
  1326. package/dist/client/llm-providers/google-genai/ModelSettings.d.ts +0 -10
  1327. package/dist/client/llm-providers/google-genai/ProviderSettings.d.ts +0 -10
  1328. package/dist/client/llm-providers/google-genai/index.d.ts +0 -10
  1329. package/dist/client/llm-providers/kimi/ModelSettings.d.ts +0 -10
  1330. package/dist/client/llm-providers/kimi/index.d.ts +0 -10
  1331. package/dist/client/llm-providers/mimo/ModelSettings.d.ts +0 -10
  1332. package/dist/client/llm-providers/mimo/index.d.ts +0 -10
  1333. package/dist/client/llm-providers/ollama/ModelSettings.d.ts +0 -10
  1334. package/dist/client/llm-providers/ollama/ProviderSettings.d.ts +0 -10
  1335. package/dist/client/llm-providers/ollama/index.d.ts +0 -10
  1336. package/dist/client/llm-providers/openai/completions/ModelSettings.d.ts +0 -10
  1337. package/dist/client/llm-providers/openai/completions/index.d.ts +0 -10
  1338. package/dist/client/llm-providers/openai/components/ProviderSettings.d.ts +0 -10
  1339. package/dist/client/llm-providers/openai/responses/ModelSettings.d.ts +0 -10
  1340. package/dist/client/llm-providers/openai/responses/index.d.ts +0 -10
  1341. package/dist/client/llm-providers/tongyi/ModelSettings.d.ts +0 -10
  1342. package/dist/client/llm-providers/tongyi/ProviderSettings.d.ts +0 -10
  1343. package/dist/client/llm-providers/tongyi/index.d.ts +0 -10
  1344. package/dist/client/llm-providers/xai/ModelSettings.d.ts +0 -10
  1345. package/dist/client/llm-providers/xai/index.d.ts +0 -10
  1346. package/dist/client/llm-services/LLMServices.d.ts +0 -13
  1347. package/dist/client/llm-services/component/DefaultModelSelect.d.ts +0 -10
  1348. package/dist/client/llm-services/component/EnabledModelsSelect.d.ts +0 -23
  1349. package/dist/client/llm-services/component/LLMTestFlight.d.ts +0 -10
  1350. package/dist/client/llm-services/component/ModelOptionsSettings.d.ts +0 -10
  1351. package/dist/client/llm-services/component/UnifiedModelSettings.d.ts +0 -10
  1352. package/dist/client/llm-services/hooks/useLLMServiceCatalog.d.ts +0 -18
  1353. package/dist/client/llm-services/llm-providers.d.ts +0 -27
  1354. package/dist/client/llm-services/utils.d.ts +0 -30
  1355. package/dist/client/manager/ai-manager.d.ts +0 -35
  1356. package/dist/client/repositories/AIConfigRepository.d.ts +0 -60
  1357. package/dist/client/repositories/hooks/useAIConfigRepository.d.ts +0 -10
  1358. package/dist/client/schemas/llms.d.ts +0 -347
  1359. package/dist/client/workflow/nodes/employee/components/AIEmployeeSelect.d.ts +0 -10
  1360. package/dist/client/workflow/nodes/employee/components/assigness.d.ts +0 -11
  1361. package/dist/client/workflow/nodes/employee/components/file-inputs.d.ts +0 -10
  1362. package/dist/client/workflow/nodes/employee/components/message-inputs.d.ts +0 -12
  1363. package/dist/client/workflow/nodes/employee/components/model-options.d.ts +0 -10
  1364. package/dist/client/workflow/nodes/employee/components/structured-output.d.ts +0 -10
  1365. package/dist/client/workflow/nodes/employee/components/users-select.d.ts +0 -15
  1366. package/dist/client/workflow/nodes/employee/components/web-search-options.d.ts +0 -10
  1367. package/dist/client/workflow/nodes/employee/configuration.d.ts +0 -12
  1368. package/dist/client/workflow/nodes/employee/flow-models/feedback.d.ts +0 -14
  1369. package/dist/client/workflow/nodes/employee/flow-models/task.d.ts +0 -13
  1370. package/dist/client/workflow/nodes/llm/ModelSettings.d.ts +0 -11
  1371. package/dist/client/workflow/triggers/ai-employee/Parameters.d.ts +0 -13
  1372. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/cli-design/nb-app-design-intent.md +0 -0
  1373. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/cli-design/nb-proxy-design-intent.md +0 -0
  1374. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/installation/airgap.md +0 -0
  1375. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/installation/docker-compose.md +0 -0
  1376. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/operations/backup-restore.md +0 -0
  1377. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/operations/manage-app.md +0 -0
  1378. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/operations/multi-environment.md +0 -0
  1379. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/plugins/third-party.md +0 -0
  1380. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/production/autostart.md +0 -0
  1381. /package/dist/ai/docs/nocobase/{quickstart → nocobase-cli}/release-management.md +0 -0
  1382. /package/dist/{client → client-v2}/ai-employees/AISelection.d.ts +0 -0
  1383. /package/dist/{client → client-v2}/ai-employees/AISelectionControl.d.ts +0 -0
  1384. /package/dist/{client → client-v2}/ai-employees/ai-coding/prompts.d.ts +0 -0
  1385. /package/dist/{client → client-v2}/ai-employees/ai-coding/setup.d.ts +0 -0
  1386. /package/dist/{client/ai-employees/chatbox/AIEmployeeSwitch.d.ts → client-v2/ai-employees/chatbox/components/AIEmployeeSwitcher.d.ts} +0 -0
  1387. /package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/ChatButton.d.ts +0 -0
  1388. /package/dist/{client/ai-employees/chatbox/conversations → client-v2/ai-employees/chatbox/components}/Conversations.d.ts +0 -0
  1389. /package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/Messages.d.ts +0 -0
  1390. /package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/ModelSwitcher.d.ts +0 -0
  1391. /package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/SearchSwitch.d.ts +0 -0
  1392. /package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/Sender.d.ts +0 -0
  1393. /package/dist/{client/ai-employees/chatbox/generative-ui → client-v2/ai-employees/chatbox/components}/ToolModal.d.ts +0 -0
  1394. /package/dist/{client/ai-employees/chatbox → client-v2/ai-employees/chatbox/components}/UserPrompt.d.ts +0 -0
  1395. /package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useChatBoxEffect.d.ts +0 -0
  1396. /package/dist/{client → client-v2}/ai-employees/chatbox/hooks/useLoadMoreObserver.d.ts +0 -0
  1397. /package/dist/client-v2/ai-employees/{chatbox/stores → stores}/global-store.d.ts +0 -0
  1398. /package/dist/{client/ai-employees/flow/models → client-v2/models/ai-employees}/AIEmployeeShortcutListModel.d.ts +0 -0
  1399. /package/dist/{client/ai-employees/flow/models → client-v2/models/ai-employees}/index.d.ts +0 -0
  1400. /package/dist/{client/ai-employees/flow/events/ai-context-selection.d.ts → client-v2/workflow/components/index.d.ts} +0 -0
  1401. /package/dist/node_modules/@langchain/{xai → mistralai}/dist/_virtual/rolldown_runtime.cjs +0 -0
@@ -0,0 +1,1597 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../core/resource';
4
+ import {
5
+ ConversationCursorPage,
6
+ type ConversationCursorPageParams,
7
+ PagePromise,
8
+ } from '../../../core/pagination';
9
+ import { RequestOptions } from '../../../internal/request-options';
10
+
11
+ /**
12
+ * List user actions and configuration changes within this organization.
13
+ */
14
+ export class AuditLogs extends APIResource {
15
+ /**
16
+ * List user actions and configuration changes within this organization.
17
+ *
18
+ * @example
19
+ * ```ts
20
+ * // Automatically fetches more pages as needed.
21
+ * for await (const auditLogListResponse of client.admin.organization.auditLogs.list()) {
22
+ * // ...
23
+ * }
24
+ * ```
25
+ */
26
+ list(
27
+ query: AuditLogListParams | null | undefined = {},
28
+ options?: RequestOptions,
29
+ ): PagePromise<AuditLogListResponsesPage, AuditLogListResponse> {
30
+ return this._client.getAPIList('/organization/audit_logs', ConversationCursorPage<AuditLogListResponse>, {
31
+ query,
32
+ ...options,
33
+ __security: { adminAPIKeyAuth: true },
34
+ });
35
+ }
36
+ }
37
+
38
+ export type AuditLogListResponsesPage = ConversationCursorPage<AuditLogListResponse>;
39
+
40
+ /**
41
+ * A log of a user action or configuration change within this organization.
42
+ */
43
+ export interface AuditLogListResponse {
44
+ /**
45
+ * The ID of this log.
46
+ */
47
+ id: string;
48
+
49
+ /**
50
+ * The Unix timestamp (in seconds) of the event.
51
+ */
52
+ effective_at: number;
53
+
54
+ /**
55
+ * The event type.
56
+ */
57
+ type:
58
+ | 'api_key.created'
59
+ | 'api_key.updated'
60
+ | 'api_key.deleted'
61
+ | 'certificate.created'
62
+ | 'certificate.updated'
63
+ | 'certificate.deleted'
64
+ | 'certificates.activated'
65
+ | 'certificates.deactivated'
66
+ | 'checkpoint.permission.created'
67
+ | 'checkpoint.permission.deleted'
68
+ | 'external_key.registered'
69
+ | 'external_key.removed'
70
+ | 'group.created'
71
+ | 'group.updated'
72
+ | 'group.deleted'
73
+ | 'invite.sent'
74
+ | 'invite.accepted'
75
+ | 'invite.deleted'
76
+ | 'ip_allowlist.created'
77
+ | 'ip_allowlist.updated'
78
+ | 'ip_allowlist.deleted'
79
+ | 'ip_allowlist.config.activated'
80
+ | 'ip_allowlist.config.deactivated'
81
+ | 'login.succeeded'
82
+ | 'login.failed'
83
+ | 'logout.succeeded'
84
+ | 'logout.failed'
85
+ | 'organization.updated'
86
+ | 'project.created'
87
+ | 'project.updated'
88
+ | 'project.archived'
89
+ | 'project.deleted'
90
+ | 'rate_limit.updated'
91
+ | 'rate_limit.deleted'
92
+ | 'resource.deleted'
93
+ | 'tunnel.created'
94
+ | 'tunnel.updated'
95
+ | 'tunnel.deleted'
96
+ | 'role.created'
97
+ | 'role.updated'
98
+ | 'role.deleted'
99
+ | 'role.assignment.created'
100
+ | 'role.assignment.deleted'
101
+ | 'scim.enabled'
102
+ | 'scim.disabled'
103
+ | 'service_account.created'
104
+ | 'service_account.updated'
105
+ | 'service_account.deleted'
106
+ | 'user.added'
107
+ | 'user.updated'
108
+ | 'user.deleted';
109
+
110
+ /**
111
+ * The actor who performed the audit logged action.
112
+ */
113
+ actor?: AuditLogListResponse.Actor | null;
114
+
115
+ /**
116
+ * The details for events with this `type`.
117
+ */
118
+ 'api_key.created'?: AuditLogListResponse.APIKeyCreated;
119
+
120
+ /**
121
+ * The details for events with this `type`.
122
+ */
123
+ 'api_key.deleted'?: AuditLogListResponse.APIKeyDeleted;
124
+
125
+ /**
126
+ * The details for events with this `type`.
127
+ */
128
+ 'api_key.updated'?: AuditLogListResponse.APIKeyUpdated;
129
+
130
+ /**
131
+ * The details for events with this `type`.
132
+ */
133
+ 'certificate.created'?: AuditLogListResponse.CertificateCreated;
134
+
135
+ /**
136
+ * The details for events with this `type`.
137
+ */
138
+ 'certificate.deleted'?: AuditLogListResponse.CertificateDeleted;
139
+
140
+ /**
141
+ * The details for events with this `type`.
142
+ */
143
+ 'certificate.updated'?: AuditLogListResponse.CertificateUpdated;
144
+
145
+ /**
146
+ * The details for events with this `type`.
147
+ */
148
+ 'certificates.activated'?: AuditLogListResponse.CertificatesActivated;
149
+
150
+ /**
151
+ * The details for events with this `type`.
152
+ */
153
+ 'certificates.deactivated'?: AuditLogListResponse.CertificatesDeactivated;
154
+
155
+ /**
156
+ * The project and fine-tuned model checkpoint that the checkpoint permission was
157
+ * created for.
158
+ */
159
+ 'checkpoint.permission.created'?: AuditLogListResponse.CheckpointPermissionCreated;
160
+
161
+ /**
162
+ * The details for events with this `type`.
163
+ */
164
+ 'checkpoint.permission.deleted'?: AuditLogListResponse.CheckpointPermissionDeleted;
165
+
166
+ /**
167
+ * The details for events with this `type`.
168
+ */
169
+ 'external_key.registered'?: AuditLogListResponse.ExternalKeyRegistered;
170
+
171
+ /**
172
+ * The details for events with this `type`.
173
+ */
174
+ 'external_key.removed'?: AuditLogListResponse.ExternalKeyRemoved;
175
+
176
+ /**
177
+ * The details for events with this `type`.
178
+ */
179
+ 'group.created'?: AuditLogListResponse.GroupCreated;
180
+
181
+ /**
182
+ * The details for events with this `type`.
183
+ */
184
+ 'group.deleted'?: AuditLogListResponse.GroupDeleted;
185
+
186
+ /**
187
+ * The details for events with this `type`.
188
+ */
189
+ 'group.updated'?: AuditLogListResponse.GroupUpdated;
190
+
191
+ /**
192
+ * The details for events with this `type`.
193
+ */
194
+ 'invite.accepted'?: AuditLogListResponse.InviteAccepted;
195
+
196
+ /**
197
+ * The details for events with this `type`.
198
+ */
199
+ 'invite.deleted'?: AuditLogListResponse.InviteDeleted;
200
+
201
+ /**
202
+ * The details for events with this `type`.
203
+ */
204
+ 'invite.sent'?: AuditLogListResponse.InviteSent;
205
+
206
+ /**
207
+ * The details for events with this `type`.
208
+ */
209
+ 'ip_allowlist.config.activated'?: AuditLogListResponse.IPAllowlistConfigActivated;
210
+
211
+ /**
212
+ * The details for events with this `type`.
213
+ */
214
+ 'ip_allowlist.config.deactivated'?: AuditLogListResponse.IPAllowlistConfigDeactivated;
215
+
216
+ /**
217
+ * The details for events with this `type`.
218
+ */
219
+ 'ip_allowlist.created'?: AuditLogListResponse.IPAllowlistCreated;
220
+
221
+ /**
222
+ * The details for events with this `type`.
223
+ */
224
+ 'ip_allowlist.deleted'?: AuditLogListResponse.IPAllowlistDeleted;
225
+
226
+ /**
227
+ * The details for events with this `type`.
228
+ */
229
+ 'ip_allowlist.updated'?: AuditLogListResponse.IPAllowlistUpdated;
230
+
231
+ /**
232
+ * The details for events with this `type`.
233
+ */
234
+ 'login.failed'?: AuditLogListResponse.LoginFailed;
235
+
236
+ /**
237
+ * This event has no additional fields beyond the standard audit log attributes.
238
+ */
239
+ 'login.succeeded'?: unknown;
240
+
241
+ /**
242
+ * The details for events with this `type`.
243
+ */
244
+ 'logout.failed'?: AuditLogListResponse.LogoutFailed;
245
+
246
+ /**
247
+ * This event has no additional fields beyond the standard audit log attributes.
248
+ */
249
+ 'logout.succeeded'?: unknown;
250
+
251
+ /**
252
+ * The details for events with this `type`.
253
+ */
254
+ 'organization.updated'?: AuditLogListResponse.OrganizationUpdated;
255
+
256
+ /**
257
+ * The project that the action was scoped to. Absent for actions not scoped to
258
+ * projects. Note that any admin actions taken via Admin API keys are associated
259
+ * with the default project.
260
+ */
261
+ project?: AuditLogListResponse.Project;
262
+
263
+ /**
264
+ * The details for events with this `type`.
265
+ */
266
+ 'project.archived'?: AuditLogListResponse.ProjectArchived;
267
+
268
+ /**
269
+ * The details for events with this `type`.
270
+ */
271
+ 'project.created'?: AuditLogListResponse.ProjectCreated;
272
+
273
+ /**
274
+ * The details for events with this `type`.
275
+ */
276
+ 'project.deleted'?: AuditLogListResponse.ProjectDeleted;
277
+
278
+ /**
279
+ * The details for events with this `type`.
280
+ */
281
+ 'project.updated'?: AuditLogListResponse.ProjectUpdated;
282
+
283
+ /**
284
+ * The details for events with this `type`.
285
+ */
286
+ 'rate_limit.deleted'?: AuditLogListResponse.RateLimitDeleted;
287
+
288
+ /**
289
+ * The details for events with this `type`.
290
+ */
291
+ 'rate_limit.updated'?: AuditLogListResponse.RateLimitUpdated;
292
+
293
+ /**
294
+ * The details for events with this `type`.
295
+ */
296
+ 'role.assignment.created'?: AuditLogListResponse.RoleAssignmentCreated;
297
+
298
+ /**
299
+ * The details for events with this `type`.
300
+ */
301
+ 'role.assignment.deleted'?: AuditLogListResponse.RoleAssignmentDeleted;
302
+
303
+ /**
304
+ * The details for events with this `type`.
305
+ */
306
+ 'role.created'?: AuditLogListResponse.RoleCreated;
307
+
308
+ /**
309
+ * The details for events with this `type`.
310
+ */
311
+ 'role.deleted'?: AuditLogListResponse.RoleDeleted;
312
+
313
+ /**
314
+ * The details for events with this `type`.
315
+ */
316
+ 'role.updated'?: AuditLogListResponse.RoleUpdated;
317
+
318
+ /**
319
+ * The details for events with this `type`.
320
+ */
321
+ 'scim.disabled'?: AuditLogListResponse.ScimDisabled;
322
+
323
+ /**
324
+ * The details for events with this `type`.
325
+ */
326
+ 'scim.enabled'?: AuditLogListResponse.ScimEnabled;
327
+
328
+ /**
329
+ * The details for events with this `type`.
330
+ */
331
+ 'service_account.created'?: AuditLogListResponse.ServiceAccountCreated;
332
+
333
+ /**
334
+ * The details for events with this `type`.
335
+ */
336
+ 'service_account.deleted'?: AuditLogListResponse.ServiceAccountDeleted;
337
+
338
+ /**
339
+ * The details for events with this `type`.
340
+ */
341
+ 'service_account.updated'?: AuditLogListResponse.ServiceAccountUpdated;
342
+
343
+ /**
344
+ * The details for events with this `type`.
345
+ */
346
+ 'user.added'?: AuditLogListResponse.UserAdded;
347
+
348
+ /**
349
+ * The details for events with this `type`.
350
+ */
351
+ 'user.deleted'?: AuditLogListResponse.UserDeleted;
352
+
353
+ /**
354
+ * The details for events with this `type`.
355
+ */
356
+ 'user.updated'?: AuditLogListResponse.UserUpdated;
357
+ }
358
+
359
+ export namespace AuditLogListResponse {
360
+ /**
361
+ * The actor who performed the audit logged action.
362
+ */
363
+ export interface Actor {
364
+ /**
365
+ * The API Key used to perform the audit logged action.
366
+ */
367
+ api_key?: Actor.APIKey;
368
+
369
+ /**
370
+ * The session in which the audit logged action was performed.
371
+ */
372
+ session?: Actor.Session;
373
+
374
+ /**
375
+ * The type of actor. Is either `session` or `api_key`.
376
+ */
377
+ type?: 'session' | 'api_key';
378
+ }
379
+
380
+ export namespace Actor {
381
+ /**
382
+ * The API Key used to perform the audit logged action.
383
+ */
384
+ export interface APIKey {
385
+ /**
386
+ * The tracking id of the API key.
387
+ */
388
+ id?: string;
389
+
390
+ /**
391
+ * The service account that performed the audit logged action.
392
+ */
393
+ service_account?: APIKey.ServiceAccount;
394
+
395
+ /**
396
+ * The type of API key. Can be either `user` or `service_account`.
397
+ */
398
+ type?: 'user' | 'service_account';
399
+
400
+ /**
401
+ * The user who performed the audit logged action.
402
+ */
403
+ user?: APIKey.User;
404
+ }
405
+
406
+ export namespace APIKey {
407
+ /**
408
+ * The service account that performed the audit logged action.
409
+ */
410
+ export interface ServiceAccount {
411
+ /**
412
+ * The service account id.
413
+ */
414
+ id?: string;
415
+ }
416
+
417
+ /**
418
+ * The user who performed the audit logged action.
419
+ */
420
+ export interface User {
421
+ /**
422
+ * The user id.
423
+ */
424
+ id?: string;
425
+
426
+ /**
427
+ * The user email.
428
+ */
429
+ email?: string;
430
+ }
431
+ }
432
+
433
+ /**
434
+ * The session in which the audit logged action was performed.
435
+ */
436
+ export interface Session {
437
+ /**
438
+ * The IP address from which the action was performed.
439
+ */
440
+ ip_address?: string;
441
+
442
+ /**
443
+ * The user who performed the audit logged action.
444
+ */
445
+ user?: Session.User;
446
+ }
447
+
448
+ export namespace Session {
449
+ /**
450
+ * The user who performed the audit logged action.
451
+ */
452
+ export interface User {
453
+ /**
454
+ * The user id.
455
+ */
456
+ id?: string;
457
+
458
+ /**
459
+ * The user email.
460
+ */
461
+ email?: string;
462
+ }
463
+ }
464
+ }
465
+
466
+ /**
467
+ * The details for events with this `type`.
468
+ */
469
+ export interface APIKeyCreated {
470
+ /**
471
+ * The tracking ID of the API key.
472
+ */
473
+ id?: string;
474
+
475
+ /**
476
+ * The payload used to create the API key.
477
+ */
478
+ data?: APIKeyCreated.Data;
479
+ }
480
+
481
+ export namespace APIKeyCreated {
482
+ /**
483
+ * The payload used to create the API key.
484
+ */
485
+ export interface Data {
486
+ /**
487
+ * A list of scopes allowed for the API key, e.g. `["api.model.request"]`
488
+ */
489
+ scopes?: Array<string>;
490
+ }
491
+ }
492
+
493
+ /**
494
+ * The details for events with this `type`.
495
+ */
496
+ export interface APIKeyDeleted {
497
+ /**
498
+ * The tracking ID of the API key.
499
+ */
500
+ id?: string;
501
+ }
502
+
503
+ /**
504
+ * The details for events with this `type`.
505
+ */
506
+ export interface APIKeyUpdated {
507
+ /**
508
+ * The tracking ID of the API key.
509
+ */
510
+ id?: string;
511
+
512
+ /**
513
+ * The payload used to update the API key.
514
+ */
515
+ changes_requested?: APIKeyUpdated.ChangesRequested;
516
+ }
517
+
518
+ export namespace APIKeyUpdated {
519
+ /**
520
+ * The payload used to update the API key.
521
+ */
522
+ export interface ChangesRequested {
523
+ /**
524
+ * A list of scopes allowed for the API key, e.g. `["api.model.request"]`
525
+ */
526
+ scopes?: Array<string>;
527
+ }
528
+ }
529
+
530
+ /**
531
+ * The details for events with this `type`.
532
+ */
533
+ export interface CertificateCreated {
534
+ /**
535
+ * The certificate ID.
536
+ */
537
+ id?: string;
538
+
539
+ /**
540
+ * The name of the certificate.
541
+ */
542
+ name?: string;
543
+ }
544
+
545
+ /**
546
+ * The details for events with this `type`.
547
+ */
548
+ export interface CertificateDeleted {
549
+ /**
550
+ * The certificate ID.
551
+ */
552
+ id?: string;
553
+
554
+ /**
555
+ * The certificate content in PEM format.
556
+ */
557
+ certificate?: string;
558
+
559
+ /**
560
+ * The name of the certificate.
561
+ */
562
+ name?: string;
563
+ }
564
+
565
+ /**
566
+ * The details for events with this `type`.
567
+ */
568
+ export interface CertificateUpdated {
569
+ /**
570
+ * The certificate ID.
571
+ */
572
+ id?: string;
573
+
574
+ /**
575
+ * The name of the certificate.
576
+ */
577
+ name?: string;
578
+ }
579
+
580
+ /**
581
+ * The details for events with this `type`.
582
+ */
583
+ export interface CertificatesActivated {
584
+ certificates?: Array<CertificatesActivated.Certificate>;
585
+ }
586
+
587
+ export namespace CertificatesActivated {
588
+ export interface Certificate {
589
+ /**
590
+ * The certificate ID.
591
+ */
592
+ id?: string;
593
+
594
+ /**
595
+ * The name of the certificate.
596
+ */
597
+ name?: string;
598
+ }
599
+ }
600
+
601
+ /**
602
+ * The details for events with this `type`.
603
+ */
604
+ export interface CertificatesDeactivated {
605
+ certificates?: Array<CertificatesDeactivated.Certificate>;
606
+ }
607
+
608
+ export namespace CertificatesDeactivated {
609
+ export interface Certificate {
610
+ /**
611
+ * The certificate ID.
612
+ */
613
+ id?: string;
614
+
615
+ /**
616
+ * The name of the certificate.
617
+ */
618
+ name?: string;
619
+ }
620
+ }
621
+
622
+ /**
623
+ * The project and fine-tuned model checkpoint that the checkpoint permission was
624
+ * created for.
625
+ */
626
+ export interface CheckpointPermissionCreated {
627
+ /**
628
+ * The ID of the checkpoint permission.
629
+ */
630
+ id?: string;
631
+
632
+ /**
633
+ * The payload used to create the checkpoint permission.
634
+ */
635
+ data?: CheckpointPermissionCreated.Data;
636
+ }
637
+
638
+ export namespace CheckpointPermissionCreated {
639
+ /**
640
+ * The payload used to create the checkpoint permission.
641
+ */
642
+ export interface Data {
643
+ /**
644
+ * The ID of the fine-tuned model checkpoint.
645
+ */
646
+ fine_tuned_model_checkpoint?: string;
647
+
648
+ /**
649
+ * The ID of the project that the checkpoint permission was created for.
650
+ */
651
+ project_id?: string;
652
+ }
653
+ }
654
+
655
+ /**
656
+ * The details for events with this `type`.
657
+ */
658
+ export interface CheckpointPermissionDeleted {
659
+ /**
660
+ * The ID of the checkpoint permission.
661
+ */
662
+ id?: string;
663
+ }
664
+
665
+ /**
666
+ * The details for events with this `type`.
667
+ */
668
+ export interface ExternalKeyRegistered {
669
+ /**
670
+ * The ID of the external key configuration.
671
+ */
672
+ id?: string;
673
+
674
+ /**
675
+ * The configuration for the external key.
676
+ */
677
+ data?: unknown;
678
+ }
679
+
680
+ /**
681
+ * The details for events with this `type`.
682
+ */
683
+ export interface ExternalKeyRemoved {
684
+ /**
685
+ * The ID of the external key configuration.
686
+ */
687
+ id?: string;
688
+ }
689
+
690
+ /**
691
+ * The details for events with this `type`.
692
+ */
693
+ export interface GroupCreated {
694
+ /**
695
+ * The ID of the group.
696
+ */
697
+ id?: string;
698
+
699
+ /**
700
+ * Information about the created group.
701
+ */
702
+ data?: GroupCreated.Data;
703
+ }
704
+
705
+ export namespace GroupCreated {
706
+ /**
707
+ * Information about the created group.
708
+ */
709
+ export interface Data {
710
+ /**
711
+ * The group name.
712
+ */
713
+ group_name?: string;
714
+ }
715
+ }
716
+
717
+ /**
718
+ * The details for events with this `type`.
719
+ */
720
+ export interface GroupDeleted {
721
+ /**
722
+ * The ID of the group.
723
+ */
724
+ id?: string;
725
+ }
726
+
727
+ /**
728
+ * The details for events with this `type`.
729
+ */
730
+ export interface GroupUpdated {
731
+ /**
732
+ * The ID of the group.
733
+ */
734
+ id?: string;
735
+
736
+ /**
737
+ * The payload used to update the group.
738
+ */
739
+ changes_requested?: GroupUpdated.ChangesRequested;
740
+ }
741
+
742
+ export namespace GroupUpdated {
743
+ /**
744
+ * The payload used to update the group.
745
+ */
746
+ export interface ChangesRequested {
747
+ /**
748
+ * The updated group name.
749
+ */
750
+ group_name?: string;
751
+ }
752
+ }
753
+
754
+ /**
755
+ * The details for events with this `type`.
756
+ */
757
+ export interface InviteAccepted {
758
+ /**
759
+ * The ID of the invite.
760
+ */
761
+ id?: string;
762
+ }
763
+
764
+ /**
765
+ * The details for events with this `type`.
766
+ */
767
+ export interface InviteDeleted {
768
+ /**
769
+ * The ID of the invite.
770
+ */
771
+ id?: string;
772
+ }
773
+
774
+ /**
775
+ * The details for events with this `type`.
776
+ */
777
+ export interface InviteSent {
778
+ /**
779
+ * The ID of the invite.
780
+ */
781
+ id?: string;
782
+
783
+ /**
784
+ * The payload used to create the invite.
785
+ */
786
+ data?: InviteSent.Data;
787
+ }
788
+
789
+ export namespace InviteSent {
790
+ /**
791
+ * The payload used to create the invite.
792
+ */
793
+ export interface Data {
794
+ /**
795
+ * The email invited to the organization.
796
+ */
797
+ email?: string;
798
+
799
+ /**
800
+ * The role the email was invited to be. Is either `owner` or `member`.
801
+ */
802
+ role?: string;
803
+ }
804
+ }
805
+
806
+ /**
807
+ * The details for events with this `type`.
808
+ */
809
+ export interface IPAllowlistConfigActivated {
810
+ /**
811
+ * The configurations that were activated.
812
+ */
813
+ configs?: Array<IPAllowlistConfigActivated.Config>;
814
+ }
815
+
816
+ export namespace IPAllowlistConfigActivated {
817
+ export interface Config {
818
+ /**
819
+ * The ID of the IP allowlist configuration.
820
+ */
821
+ id?: string;
822
+
823
+ /**
824
+ * The name of the IP allowlist configuration.
825
+ */
826
+ name?: string;
827
+ }
828
+ }
829
+
830
+ /**
831
+ * The details for events with this `type`.
832
+ */
833
+ export interface IPAllowlistConfigDeactivated {
834
+ /**
835
+ * The configurations that were deactivated.
836
+ */
837
+ configs?: Array<IPAllowlistConfigDeactivated.Config>;
838
+ }
839
+
840
+ export namespace IPAllowlistConfigDeactivated {
841
+ export interface Config {
842
+ /**
843
+ * The ID of the IP allowlist configuration.
844
+ */
845
+ id?: string;
846
+
847
+ /**
848
+ * The name of the IP allowlist configuration.
849
+ */
850
+ name?: string;
851
+ }
852
+ }
853
+
854
+ /**
855
+ * The details for events with this `type`.
856
+ */
857
+ export interface IPAllowlistCreated {
858
+ /**
859
+ * The ID of the IP allowlist configuration.
860
+ */
861
+ id?: string;
862
+
863
+ /**
864
+ * The IP addresses or CIDR ranges included in the configuration.
865
+ */
866
+ allowed_ips?: Array<string>;
867
+
868
+ /**
869
+ * The name of the IP allowlist configuration.
870
+ */
871
+ name?: string;
872
+ }
873
+
874
+ /**
875
+ * The details for events with this `type`.
876
+ */
877
+ export interface IPAllowlistDeleted {
878
+ /**
879
+ * The ID of the IP allowlist configuration.
880
+ */
881
+ id?: string;
882
+
883
+ /**
884
+ * The IP addresses or CIDR ranges that were in the configuration.
885
+ */
886
+ allowed_ips?: Array<string>;
887
+
888
+ /**
889
+ * The name of the IP allowlist configuration.
890
+ */
891
+ name?: string;
892
+ }
893
+
894
+ /**
895
+ * The details for events with this `type`.
896
+ */
897
+ export interface IPAllowlistUpdated {
898
+ /**
899
+ * The ID of the IP allowlist configuration.
900
+ */
901
+ id?: string;
902
+
903
+ /**
904
+ * The updated set of IP addresses or CIDR ranges in the configuration.
905
+ */
906
+ allowed_ips?: Array<string>;
907
+ }
908
+
909
+ /**
910
+ * The details for events with this `type`.
911
+ */
912
+ export interface LoginFailed {
913
+ /**
914
+ * The error code of the failure.
915
+ */
916
+ error_code?: string;
917
+
918
+ /**
919
+ * The error message of the failure.
920
+ */
921
+ error_message?: string;
922
+ }
923
+
924
+ /**
925
+ * The details for events with this `type`.
926
+ */
927
+ export interface LogoutFailed {
928
+ /**
929
+ * The error code of the failure.
930
+ */
931
+ error_code?: string;
932
+
933
+ /**
934
+ * The error message of the failure.
935
+ */
936
+ error_message?: string;
937
+ }
938
+
939
+ /**
940
+ * The details for events with this `type`.
941
+ */
942
+ export interface OrganizationUpdated {
943
+ /**
944
+ * The organization ID.
945
+ */
946
+ id?: string;
947
+
948
+ /**
949
+ * The payload used to update the organization settings.
950
+ */
951
+ changes_requested?: OrganizationUpdated.ChangesRequested;
952
+ }
953
+
954
+ export namespace OrganizationUpdated {
955
+ /**
956
+ * The payload used to update the organization settings.
957
+ */
958
+ export interface ChangesRequested {
959
+ /**
960
+ * How your organization logs data from supported API calls. One of `disabled`,
961
+ * `enabled_per_call`, `enabled_for_all_projects`, or
962
+ * `enabled_for_selected_projects`
963
+ */
964
+ api_call_logging?: string;
965
+
966
+ /**
967
+ * The list of project ids if api_call_logging is set to
968
+ * `enabled_for_selected_projects`
969
+ */
970
+ api_call_logging_project_ids?: string;
971
+
972
+ /**
973
+ * The organization description.
974
+ */
975
+ description?: string;
976
+
977
+ /**
978
+ * The organization name.
979
+ */
980
+ name?: string;
981
+
982
+ /**
983
+ * Visibility of the threads page which shows messages created with the Assistants
984
+ * API and Playground. One of `ANY_ROLE`, `OWNERS`, or `NONE`.
985
+ */
986
+ threads_ui_visibility?: string;
987
+
988
+ /**
989
+ * The organization title.
990
+ */
991
+ title?: string;
992
+
993
+ /**
994
+ * Visibility of the usage dashboard which shows activity and costs for your
995
+ * organization. One of `ANY_ROLE` or `OWNERS`.
996
+ */
997
+ usage_dashboard_visibility?: string;
998
+ }
999
+ }
1000
+
1001
+ /**
1002
+ * The project that the action was scoped to. Absent for actions not scoped to
1003
+ * projects. Note that any admin actions taken via Admin API keys are associated
1004
+ * with the default project.
1005
+ */
1006
+ export interface Project {
1007
+ /**
1008
+ * The project ID.
1009
+ */
1010
+ id?: string;
1011
+
1012
+ /**
1013
+ * The project title.
1014
+ */
1015
+ name?: string;
1016
+ }
1017
+
1018
+ /**
1019
+ * The details for events with this `type`.
1020
+ */
1021
+ export interface ProjectArchived {
1022
+ /**
1023
+ * The project ID.
1024
+ */
1025
+ id?: string;
1026
+ }
1027
+
1028
+ /**
1029
+ * The details for events with this `type`.
1030
+ */
1031
+ export interface ProjectCreated {
1032
+ /**
1033
+ * The project ID.
1034
+ */
1035
+ id?: string;
1036
+
1037
+ /**
1038
+ * The payload used to create the project.
1039
+ */
1040
+ data?: ProjectCreated.Data;
1041
+ }
1042
+
1043
+ export namespace ProjectCreated {
1044
+ /**
1045
+ * The payload used to create the project.
1046
+ */
1047
+ export interface Data {
1048
+ /**
1049
+ * The project name.
1050
+ */
1051
+ name?: string;
1052
+
1053
+ /**
1054
+ * The title of the project as seen on the dashboard.
1055
+ */
1056
+ title?: string;
1057
+ }
1058
+ }
1059
+
1060
+ /**
1061
+ * The details for events with this `type`.
1062
+ */
1063
+ export interface ProjectDeleted {
1064
+ /**
1065
+ * The project ID.
1066
+ */
1067
+ id?: string;
1068
+ }
1069
+
1070
+ /**
1071
+ * The details for events with this `type`.
1072
+ */
1073
+ export interface ProjectUpdated {
1074
+ /**
1075
+ * The project ID.
1076
+ */
1077
+ id?: string;
1078
+
1079
+ /**
1080
+ * The payload used to update the project.
1081
+ */
1082
+ changes_requested?: ProjectUpdated.ChangesRequested;
1083
+ }
1084
+
1085
+ export namespace ProjectUpdated {
1086
+ /**
1087
+ * The payload used to update the project.
1088
+ */
1089
+ export interface ChangesRequested {
1090
+ /**
1091
+ * The title of the project as seen on the dashboard.
1092
+ */
1093
+ title?: string;
1094
+ }
1095
+ }
1096
+
1097
+ /**
1098
+ * The details for events with this `type`.
1099
+ */
1100
+ export interface RateLimitDeleted {
1101
+ /**
1102
+ * The rate limit ID
1103
+ */
1104
+ id?: string;
1105
+ }
1106
+
1107
+ /**
1108
+ * The details for events with this `type`.
1109
+ */
1110
+ export interface RateLimitUpdated {
1111
+ /**
1112
+ * The rate limit ID
1113
+ */
1114
+ id?: string;
1115
+
1116
+ /**
1117
+ * The payload used to update the rate limits.
1118
+ */
1119
+ changes_requested?: RateLimitUpdated.ChangesRequested;
1120
+ }
1121
+
1122
+ export namespace RateLimitUpdated {
1123
+ /**
1124
+ * The payload used to update the rate limits.
1125
+ */
1126
+ export interface ChangesRequested {
1127
+ /**
1128
+ * The maximum batch input tokens per day. Only relevant for certain models.
1129
+ */
1130
+ batch_1_day_max_input_tokens?: number;
1131
+
1132
+ /**
1133
+ * The maximum audio megabytes per minute. Only relevant for certain models.
1134
+ */
1135
+ max_audio_megabytes_per_1_minute?: number;
1136
+
1137
+ /**
1138
+ * The maximum images per minute. Only relevant for certain models.
1139
+ */
1140
+ max_images_per_1_minute?: number;
1141
+
1142
+ /**
1143
+ * The maximum requests per day. Only relevant for certain models.
1144
+ */
1145
+ max_requests_per_1_day?: number;
1146
+
1147
+ /**
1148
+ * The maximum requests per minute.
1149
+ */
1150
+ max_requests_per_1_minute?: number;
1151
+
1152
+ /**
1153
+ * The maximum tokens per minute.
1154
+ */
1155
+ max_tokens_per_1_minute?: number;
1156
+ }
1157
+ }
1158
+
1159
+ /**
1160
+ * The details for events with this `type`.
1161
+ */
1162
+ export interface RoleAssignmentCreated {
1163
+ /**
1164
+ * The identifier of the role assignment.
1165
+ */
1166
+ id?: string;
1167
+
1168
+ /**
1169
+ * The principal (user or group) that received the role.
1170
+ */
1171
+ principal_id?: string;
1172
+
1173
+ /**
1174
+ * The type of principal (user or group) that received the role.
1175
+ */
1176
+ principal_type?: string;
1177
+
1178
+ /**
1179
+ * The resource the role assignment is scoped to.
1180
+ */
1181
+ resource_id?: string;
1182
+
1183
+ /**
1184
+ * The type of resource the role assignment is scoped to.
1185
+ */
1186
+ resource_type?: string;
1187
+ }
1188
+
1189
+ /**
1190
+ * The details for events with this `type`.
1191
+ */
1192
+ export interface RoleAssignmentDeleted {
1193
+ /**
1194
+ * The identifier of the role assignment.
1195
+ */
1196
+ id?: string;
1197
+
1198
+ /**
1199
+ * The principal (user or group) that had the role removed.
1200
+ */
1201
+ principal_id?: string;
1202
+
1203
+ /**
1204
+ * The type of principal (user or group) that had the role removed.
1205
+ */
1206
+ principal_type?: string;
1207
+
1208
+ /**
1209
+ * The resource the role assignment was scoped to.
1210
+ */
1211
+ resource_id?: string;
1212
+
1213
+ /**
1214
+ * The type of resource the role assignment was scoped to.
1215
+ */
1216
+ resource_type?: string;
1217
+ }
1218
+
1219
+ /**
1220
+ * The details for events with this `type`.
1221
+ */
1222
+ export interface RoleCreated {
1223
+ /**
1224
+ * The role ID.
1225
+ */
1226
+ id?: string;
1227
+
1228
+ /**
1229
+ * The permissions granted by the role.
1230
+ */
1231
+ permissions?: Array<string>;
1232
+
1233
+ /**
1234
+ * The resource the role is scoped to.
1235
+ */
1236
+ resource_id?: string;
1237
+
1238
+ /**
1239
+ * The type of resource the role belongs to.
1240
+ */
1241
+ resource_type?: string;
1242
+
1243
+ /**
1244
+ * The name of the role.
1245
+ */
1246
+ role_name?: string;
1247
+ }
1248
+
1249
+ /**
1250
+ * The details for events with this `type`.
1251
+ */
1252
+ export interface RoleDeleted {
1253
+ /**
1254
+ * The role ID.
1255
+ */
1256
+ id?: string;
1257
+ }
1258
+
1259
+ /**
1260
+ * The details for events with this `type`.
1261
+ */
1262
+ export interface RoleUpdated {
1263
+ /**
1264
+ * The role ID.
1265
+ */
1266
+ id?: string;
1267
+
1268
+ /**
1269
+ * The payload used to update the role.
1270
+ */
1271
+ changes_requested?: RoleUpdated.ChangesRequested;
1272
+ }
1273
+
1274
+ export namespace RoleUpdated {
1275
+ /**
1276
+ * The payload used to update the role.
1277
+ */
1278
+ export interface ChangesRequested {
1279
+ /**
1280
+ * The updated role description, when provided.
1281
+ */
1282
+ description?: string;
1283
+
1284
+ /**
1285
+ * Additional metadata stored on the role.
1286
+ */
1287
+ metadata?: unknown;
1288
+
1289
+ /**
1290
+ * The permissions added to the role.
1291
+ */
1292
+ permissions_added?: Array<string>;
1293
+
1294
+ /**
1295
+ * The permissions removed from the role.
1296
+ */
1297
+ permissions_removed?: Array<string>;
1298
+
1299
+ /**
1300
+ * The resource the role is scoped to.
1301
+ */
1302
+ resource_id?: string;
1303
+
1304
+ /**
1305
+ * The type of resource the role belongs to.
1306
+ */
1307
+ resource_type?: string;
1308
+
1309
+ /**
1310
+ * The updated role name, when provided.
1311
+ */
1312
+ role_name?: string;
1313
+ }
1314
+ }
1315
+
1316
+ /**
1317
+ * The details for events with this `type`.
1318
+ */
1319
+ export interface ScimDisabled {
1320
+ /**
1321
+ * The ID of the SCIM was disabled for.
1322
+ */
1323
+ id?: string;
1324
+ }
1325
+
1326
+ /**
1327
+ * The details for events with this `type`.
1328
+ */
1329
+ export interface ScimEnabled {
1330
+ /**
1331
+ * The ID of the SCIM was enabled for.
1332
+ */
1333
+ id?: string;
1334
+ }
1335
+
1336
+ /**
1337
+ * The details for events with this `type`.
1338
+ */
1339
+ export interface ServiceAccountCreated {
1340
+ /**
1341
+ * The service account ID.
1342
+ */
1343
+ id?: string;
1344
+
1345
+ /**
1346
+ * The payload used to create the service account.
1347
+ */
1348
+ data?: ServiceAccountCreated.Data;
1349
+ }
1350
+
1351
+ export namespace ServiceAccountCreated {
1352
+ /**
1353
+ * The payload used to create the service account.
1354
+ */
1355
+ export interface Data {
1356
+ /**
1357
+ * The role of the service account. Is either `owner` or `member`.
1358
+ */
1359
+ role?: string;
1360
+ }
1361
+ }
1362
+
1363
+ /**
1364
+ * The details for events with this `type`.
1365
+ */
1366
+ export interface ServiceAccountDeleted {
1367
+ /**
1368
+ * The service account ID.
1369
+ */
1370
+ id?: string;
1371
+ }
1372
+
1373
+ /**
1374
+ * The details for events with this `type`.
1375
+ */
1376
+ export interface ServiceAccountUpdated {
1377
+ /**
1378
+ * The service account ID.
1379
+ */
1380
+ id?: string;
1381
+
1382
+ /**
1383
+ * The payload used to updated the service account.
1384
+ */
1385
+ changes_requested?: ServiceAccountUpdated.ChangesRequested;
1386
+ }
1387
+
1388
+ export namespace ServiceAccountUpdated {
1389
+ /**
1390
+ * The payload used to updated the service account.
1391
+ */
1392
+ export interface ChangesRequested {
1393
+ /**
1394
+ * The role of the service account. Is either `owner` or `member`.
1395
+ */
1396
+ role?: string;
1397
+ }
1398
+ }
1399
+
1400
+ /**
1401
+ * The details for events with this `type`.
1402
+ */
1403
+ export interface UserAdded {
1404
+ /**
1405
+ * The user ID.
1406
+ */
1407
+ id?: string;
1408
+
1409
+ /**
1410
+ * The payload used to add the user to the project.
1411
+ */
1412
+ data?: UserAdded.Data;
1413
+ }
1414
+
1415
+ export namespace UserAdded {
1416
+ /**
1417
+ * The payload used to add the user to the project.
1418
+ */
1419
+ export interface Data {
1420
+ /**
1421
+ * The role of the user. Is either `owner` or `member`.
1422
+ */
1423
+ role?: string;
1424
+ }
1425
+ }
1426
+
1427
+ /**
1428
+ * The details for events with this `type`.
1429
+ */
1430
+ export interface UserDeleted {
1431
+ /**
1432
+ * The user ID.
1433
+ */
1434
+ id?: string;
1435
+ }
1436
+
1437
+ /**
1438
+ * The details for events with this `type`.
1439
+ */
1440
+ export interface UserUpdated {
1441
+ /**
1442
+ * The project ID.
1443
+ */
1444
+ id?: string;
1445
+
1446
+ /**
1447
+ * The payload used to update the user.
1448
+ */
1449
+ changes_requested?: UserUpdated.ChangesRequested;
1450
+ }
1451
+
1452
+ export namespace UserUpdated {
1453
+ /**
1454
+ * The payload used to update the user.
1455
+ */
1456
+ export interface ChangesRequested {
1457
+ /**
1458
+ * The role of the user. Is either `owner` or `member`.
1459
+ */
1460
+ role?: string;
1461
+ }
1462
+ }
1463
+ }
1464
+
1465
+ export interface AuditLogListParams extends ConversationCursorPageParams {
1466
+ /**
1467
+ * Return only events performed by users with these emails.
1468
+ */
1469
+ actor_emails?: Array<string>;
1470
+
1471
+ /**
1472
+ * Return only events performed by these actors. Can be a user ID, a service
1473
+ * account ID, or an api key tracking ID.
1474
+ */
1475
+ actor_ids?: Array<string>;
1476
+
1477
+ /**
1478
+ * A cursor for use in pagination. `before` is an object ID that defines your place
1479
+ * in the list. For instance, if you make a list request and receive 100 objects,
1480
+ * starting with obj_foo, your subsequent call can include before=obj_foo in order
1481
+ * to fetch the previous page of the list.
1482
+ */
1483
+ before?: string;
1484
+
1485
+ /**
1486
+ * Return only events whose `effective_at` (Unix seconds) is in this range.
1487
+ */
1488
+ effective_at?: AuditLogListParams.EffectiveAt;
1489
+
1490
+ /**
1491
+ * Return only events with a `type` in one of these values. For example,
1492
+ * `project.created`. For all options, see the documentation for the
1493
+ * [audit log object](https://platform.openai.com/docs/api-reference/audit-logs/object).
1494
+ */
1495
+ event_types?: Array<
1496
+ | 'api_key.created'
1497
+ | 'api_key.updated'
1498
+ | 'api_key.deleted'
1499
+ | 'certificate.created'
1500
+ | 'certificate.updated'
1501
+ | 'certificate.deleted'
1502
+ | 'certificates.activated'
1503
+ | 'certificates.deactivated'
1504
+ | 'checkpoint.permission.created'
1505
+ | 'checkpoint.permission.deleted'
1506
+ | 'external_key.registered'
1507
+ | 'external_key.removed'
1508
+ | 'group.created'
1509
+ | 'group.updated'
1510
+ | 'group.deleted'
1511
+ | 'invite.sent'
1512
+ | 'invite.accepted'
1513
+ | 'invite.deleted'
1514
+ | 'ip_allowlist.created'
1515
+ | 'ip_allowlist.updated'
1516
+ | 'ip_allowlist.deleted'
1517
+ | 'ip_allowlist.config.activated'
1518
+ | 'ip_allowlist.config.deactivated'
1519
+ | 'login.succeeded'
1520
+ | 'login.failed'
1521
+ | 'logout.succeeded'
1522
+ | 'logout.failed'
1523
+ | 'organization.updated'
1524
+ | 'project.created'
1525
+ | 'project.updated'
1526
+ | 'project.archived'
1527
+ | 'project.deleted'
1528
+ | 'rate_limit.updated'
1529
+ | 'rate_limit.deleted'
1530
+ | 'resource.deleted'
1531
+ | 'tunnel.created'
1532
+ | 'tunnel.updated'
1533
+ | 'tunnel.deleted'
1534
+ | 'role.created'
1535
+ | 'role.updated'
1536
+ | 'role.deleted'
1537
+ | 'role.assignment.created'
1538
+ | 'role.assignment.deleted'
1539
+ | 'scim.enabled'
1540
+ | 'scim.disabled'
1541
+ | 'service_account.created'
1542
+ | 'service_account.updated'
1543
+ | 'service_account.deleted'
1544
+ | 'user.added'
1545
+ | 'user.updated'
1546
+ | 'user.deleted'
1547
+ >;
1548
+
1549
+ /**
1550
+ * Return only events for these projects.
1551
+ */
1552
+ project_ids?: Array<string>;
1553
+
1554
+ /**
1555
+ * Return only events performed on these targets. For example, a project ID
1556
+ * updated.
1557
+ */
1558
+ resource_ids?: Array<string>;
1559
+ }
1560
+
1561
+ export namespace AuditLogListParams {
1562
+ /**
1563
+ * Return only events whose `effective_at` (Unix seconds) is in this range.
1564
+ */
1565
+ export interface EffectiveAt {
1566
+ /**
1567
+ * Return only events whose `effective_at` (Unix seconds) is greater than this
1568
+ * value.
1569
+ */
1570
+ gt?: number;
1571
+
1572
+ /**
1573
+ * Return only events whose `effective_at` (Unix seconds) is greater than or equal
1574
+ * to this value.
1575
+ */
1576
+ gte?: number;
1577
+
1578
+ /**
1579
+ * Return only events whose `effective_at` (Unix seconds) is less than this value.
1580
+ */
1581
+ lt?: number;
1582
+
1583
+ /**
1584
+ * Return only events whose `effective_at` (Unix seconds) is less than or equal to
1585
+ * this value.
1586
+ */
1587
+ lte?: number;
1588
+ }
1589
+ }
1590
+
1591
+ export declare namespace AuditLogs {
1592
+ export {
1593
+ type AuditLogListResponse as AuditLogListResponse,
1594
+ type AuditLogListResponsesPage as AuditLogListResponsesPage,
1595
+ type AuditLogListParams as AuditLogListParams,
1596
+ };
1597
+ }