@objectstack/spec 0.9.2 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1771) hide show
  1. package/README.md +11 -370
  2. package/dist/ai/agent-action.zod.d.ts +3215 -624
  3. package/dist/ai/agent-action.zod.d.ts.map +1 -1
  4. package/dist/ai/agent-action.zod.js +45 -3
  5. package/dist/ai/agent.zod.d.ts +148 -36
  6. package/dist/ai/agent.zod.d.ts.map +1 -1
  7. package/dist/ai/agent.zod.js +24 -0
  8. package/dist/ai/conversation.zod.d.ts +1105 -149
  9. package/dist/ai/conversation.zod.d.ts.map +1 -1
  10. package/dist/ai/conversation.zod.js +40 -25
  11. package/dist/ai/cost.zod.d.ts +1714 -482
  12. package/dist/ai/cost.zod.d.ts.map +1 -1
  13. package/dist/ai/cost.zod.js +18 -20
  14. package/dist/ai/devops-agent.zod.d.ts +1761 -289
  15. package/dist/ai/devops-agent.zod.d.ts.map +1 -1
  16. package/dist/ai/devops-agent.zod.js +1 -0
  17. package/dist/ai/feedback-loop.zod.d.ts +28451 -2432
  18. package/dist/ai/feedback-loop.zod.d.ts.map +1 -1
  19. package/dist/ai/model-registry.zod.d.ts +1164 -145
  20. package/dist/ai/model-registry.zod.d.ts.map +1 -1
  21. package/dist/ai/model-registry.zod.js +2 -1
  22. package/dist/ai/nlq.zod.d.ts +918 -213
  23. package/dist/ai/nlq.zod.d.ts.map +1 -1
  24. package/dist/ai/nlq.zod.js +6 -6
  25. package/dist/ai/orchestration.zod.d.ts +465 -159
  26. package/dist/ai/orchestration.zod.d.ts.map +1 -1
  27. package/dist/ai/orchestration.zod.js +6 -4
  28. package/dist/ai/plugin-development.zod.d.ts +1154 -208
  29. package/dist/ai/plugin-development.zod.d.ts.map +1 -1
  30. package/dist/ai/predictive.zod.d.ts +702 -118
  31. package/dist/ai/predictive.zod.d.ts.map +1 -1
  32. package/dist/ai/predictive.zod.js +16 -5
  33. package/dist/ai/rag-pipeline.zod.d.ts +886 -195
  34. package/dist/ai/rag-pipeline.zod.d.ts.map +1 -1
  35. package/dist/ai/rag-pipeline.zod.js +30 -13
  36. package/dist/ai/runtime-ops.zod.d.ts +1591 -256
  37. package/dist/ai/runtime-ops.zod.d.ts.map +1 -1
  38. package/dist/ai/runtime-ops.zod.js +1 -1
  39. package/dist/api/analytics.zod.d.ts +715 -0
  40. package/dist/api/analytics.zod.d.ts.map +1 -0
  41. package/dist/api/analytics.zod.js +71 -0
  42. package/dist/api/auth.zod.d.ts +495 -0
  43. package/dist/api/auth.zod.d.ts.map +1 -0
  44. package/dist/api/auth.zod.js +78 -0
  45. package/dist/api/batch.zod.d.ts +892 -82
  46. package/dist/api/batch.zod.d.ts.map +1 -1
  47. package/dist/api/contract.zod.d.ts +1839 -207
  48. package/dist/api/contract.zod.d.ts.map +1 -1
  49. package/dist/api/contract.zod.js +23 -11
  50. package/dist/api/discovery.zod.d.ts +162 -12
  51. package/dist/api/discovery.zod.d.ts.map +1 -1
  52. package/dist/api/discovery.zod.js +6 -0
  53. package/dist/api/documentation.zod.d.ts +3646 -401
  54. package/dist/api/documentation.zod.d.ts.map +1 -1
  55. package/dist/api/endpoint.zod.d.ts +222 -56
  56. package/dist/api/endpoint.zod.d.ts.map +1 -1
  57. package/dist/api/errors.zod.d.ts +205 -376
  58. package/dist/api/errors.zod.d.ts.map +1 -1
  59. package/dist/api/graphql.zod.d.ts +5154 -670
  60. package/dist/api/graphql.zod.d.ts.map +1 -1
  61. package/dist/api/graphql.zod.js +3 -0
  62. package/dist/api/http-cache.zod.d.ts +229 -92
  63. package/dist/api/http-cache.zod.d.ts.map +1 -1
  64. package/dist/api/hub.zod.d.ts +27805 -3568
  65. package/dist/api/hub.zod.d.ts.map +1 -1
  66. package/dist/api/hub.zod.js +188 -150
  67. package/dist/api/index.d.ts +6 -0
  68. package/dist/api/index.d.ts.map +1 -1
  69. package/dist/api/index.js +6 -0
  70. package/dist/api/metadata.zod.d.ts +3757 -0
  71. package/dist/api/metadata.zod.d.ts.map +1 -0
  72. package/dist/api/metadata.zod.js +42 -0
  73. package/dist/api/odata.zod.d.ts +677 -72
  74. package/dist/api/odata.zod.d.ts.map +1 -1
  75. package/dist/api/protocol.zod.d.ts +9968 -318
  76. package/dist/api/protocol.zod.d.ts.map +1 -1
  77. package/dist/api/protocol.zod.js +187 -86
  78. package/dist/api/realtime.zod.d.ts +197 -73
  79. package/dist/api/realtime.zod.d.ts.map +1 -1
  80. package/dist/api/realtime.zod.js +2 -1
  81. package/dist/api/registry.example.d.ts +1 -2
  82. package/dist/api/registry.example.d.ts.map +1 -1
  83. package/dist/api/registry.example.js +1 -2
  84. package/dist/api/registry.zod.d.ts +8888 -1103
  85. package/dist/api/registry.zod.d.ts.map +1 -1
  86. package/dist/api/registry.zod.js +4 -7
  87. package/dist/api/rest-server.zod.d.ts +1942 -248
  88. package/dist/api/rest-server.zod.d.ts.map +1 -1
  89. package/dist/api/rest-server.zod.js +1 -1
  90. package/dist/api/router.zod.d.ts +155 -41
  91. package/dist/api/router.zod.d.ts.map +1 -1
  92. package/dist/api/router.zod.js +4 -0
  93. package/dist/api/storage.zod.d.ts +261 -0
  94. package/dist/api/storage.zod.d.ts.map +1 -0
  95. package/dist/api/storage.zod.js +43 -0
  96. package/dist/api/websocket.zod.d.ts +1209 -203
  97. package/dist/api/websocket.zod.d.ts.map +1 -1
  98. package/dist/automation/approval.zod.d.ts +713 -171
  99. package/dist/automation/approval.zod.d.ts.map +1 -1
  100. package/dist/automation/approval.zod.js +6 -2
  101. package/dist/automation/etl.zod.d.ts +453 -144
  102. package/dist/automation/etl.zod.d.ts.map +1 -1
  103. package/dist/automation/flow.zod.d.ts +290 -79
  104. package/dist/automation/flow.zod.d.ts.map +1 -1
  105. package/dist/automation/flow.zod.js +44 -1
  106. package/dist/automation/sync.zod.d.ts +813 -132
  107. package/dist/automation/sync.zod.d.ts.map +1 -1
  108. package/dist/automation/trigger-registry.zod.d.ts +1030 -184
  109. package/dist/automation/trigger-registry.zod.d.ts.map +1 -1
  110. package/dist/automation/webhook.zod.d.ts +125 -50
  111. package/dist/automation/webhook.zod.d.ts.map +1 -1
  112. package/dist/automation/workflow.zod.d.ts +1192 -597
  113. package/dist/automation/workflow.zod.d.ts.map +1 -1
  114. package/dist/automation/workflow.zod.js +101 -57
  115. package/dist/data/analytics.zod.d.ts +358 -0
  116. package/dist/data/analytics.zod.d.ts.map +1 -0
  117. package/dist/data/analytics.zod.js +135 -0
  118. package/dist/data/data-engine.zod.d.ts +2335 -326
  119. package/dist/data/data-engine.zod.d.ts.map +1 -1
  120. package/dist/data/data-engine.zod.js +21 -28
  121. package/dist/data/dataset.zod.d.ts +40 -21
  122. package/dist/data/dataset.zod.d.ts.map +1 -1
  123. package/dist/data/datasource.zod.d.ts +324 -0
  124. package/dist/data/datasource.zod.d.ts.map +1 -0
  125. package/dist/data/document.zod.d.ts +547 -39
  126. package/dist/data/document.zod.d.ts.map +1 -1
  127. package/dist/data/driver/mongo.zod.d.ts +39 -3
  128. package/dist/data/driver/mongo.zod.d.ts.map +1 -1
  129. package/dist/data/driver/mongo.zod.js +1 -1
  130. package/dist/data/driver/postgres.zod.d.ts +109 -3
  131. package/dist/data/driver/postgres.zod.d.ts.map +1 -1
  132. package/dist/data/driver-nosql.zod.d.ts +695 -189
  133. package/dist/data/driver-nosql.zod.d.ts.map +1 -1
  134. package/dist/data/driver-sql.zod.d.ts +481 -33
  135. package/dist/data/driver-sql.zod.d.ts.map +1 -1
  136. package/dist/data/driver.zod.d.ts +4237 -473
  137. package/dist/data/driver.zod.d.ts.map +1 -1
  138. package/dist/data/driver.zod.js +99 -103
  139. package/dist/data/external-lookup.zod.d.ts +505 -68
  140. package/dist/data/external-lookup.zod.d.ts.map +1 -1
  141. package/dist/data/field.zod.d.ts +1754 -770
  142. package/dist/data/field.zod.d.ts.map +1 -1
  143. package/dist/data/field.zod.js +25 -0
  144. package/dist/data/filter.zod.d.ts +224 -36
  145. package/dist/data/filter.zod.d.ts.map +1 -1
  146. package/dist/data/hook.zod.d.ts +143 -70
  147. package/dist/data/hook.zod.d.ts.map +1 -1
  148. package/dist/data/index.d.ts +2 -0
  149. package/dist/data/index.d.ts.map +1 -1
  150. package/dist/data/index.js +3 -0
  151. package/dist/data/mapping.zod.d.ts +483 -109
  152. package/dist/data/mapping.zod.d.ts.map +1 -1
  153. package/dist/data/object.zod.d.ts +2899 -506
  154. package/dist/data/object.zod.d.ts.map +1 -1
  155. package/dist/data/object.zod.js +40 -0
  156. package/dist/data/query.zod.d.ts +402 -157
  157. package/dist/data/query.zod.d.ts.map +1 -1
  158. package/dist/data/validation.zod.d.ts +284 -123
  159. package/dist/data/validation.zod.d.ts.map +1 -1
  160. package/dist/hub/composer.zod.d.ts +2579 -282
  161. package/dist/hub/composer.zod.d.ts.map +1 -1
  162. package/dist/hub/composer.zod.js +1 -1
  163. package/dist/hub/hub-federation.zod.d.ts +2124 -458
  164. package/dist/hub/hub-federation.zod.d.ts.map +1 -1
  165. package/dist/hub/index.d.ts +1 -1
  166. package/dist/hub/index.d.ts.map +1 -1
  167. package/dist/hub/index.js +1 -1
  168. package/dist/hub/license.zod.d.ts +74 -29
  169. package/dist/hub/license.zod.d.ts.map +1 -1
  170. package/dist/hub/marketplace.zod.d.ts +280 -37
  171. package/dist/hub/marketplace.zod.d.ts.map +1 -1
  172. package/dist/hub/marketplace.zod.js +38 -12
  173. package/dist/hub/plugin-registry.zod.d.ts +1461 -140
  174. package/dist/hub/plugin-registry.zod.d.ts.map +1 -1
  175. package/dist/hub/plugin-registry.zod.js +1 -1
  176. package/dist/hub/plugin-security.zod.d.ts +3720 -476
  177. package/dist/hub/plugin-security.zod.d.ts.map +1 -1
  178. package/dist/hub/plugin-security.zod.js +1 -1
  179. package/dist/hub/registry-config.zod.d.ts +450 -0
  180. package/dist/hub/registry-config.zod.d.ts.map +1 -0
  181. package/dist/hub/registry-config.zod.js +156 -0
  182. package/dist/hub/space.zod.d.ts +307 -72
  183. package/dist/hub/space.zod.d.ts.map +1 -1
  184. package/dist/hub/tenant.zod.d.ts +861 -107
  185. package/dist/hub/tenant.zod.d.ts.map +1 -1
  186. package/dist/identity/identity.zod.d.ts +258 -0
  187. package/dist/identity/identity.zod.d.ts.map +1 -0
  188. package/dist/{auth → identity}/index.d.ts +0 -2
  189. package/dist/identity/index.d.ts.map +1 -0
  190. package/dist/{auth → identity}/index.js +0 -2
  191. package/dist/identity/organization.zod.d.ts +179 -0
  192. package/dist/identity/organization.zod.d.ts.map +1 -0
  193. package/dist/identity/protocol.d.ts.map +1 -0
  194. package/dist/{auth → identity}/role.zod.d.ts +14 -1
  195. package/dist/identity/role.zod.d.ts.map +1 -0
  196. package/dist/identity/scim.zod.d.ts +2732 -0
  197. package/dist/identity/scim.zod.d.ts.map +1 -0
  198. package/dist/index.d.ts +4 -2
  199. package/dist/index.d.ts.map +1 -1
  200. package/dist/index.js +6 -3
  201. package/dist/integration/connector/database.zod.d.ts +1253 -264
  202. package/dist/integration/connector/database.zod.d.ts.map +1 -1
  203. package/dist/integration/connector/file-storage.zod.d.ts +990 -259
  204. package/dist/integration/connector/file-storage.zod.d.ts.map +1 -1
  205. package/dist/integration/connector/github.zod.d.ts +1251 -226
  206. package/dist/integration/connector/github.zod.d.ts.map +1 -1
  207. package/dist/integration/connector/message-queue.zod.d.ts +1247 -314
  208. package/dist/integration/connector/message-queue.zod.d.ts.map +1 -1
  209. package/dist/integration/connector/saas.zod.d.ts +1129 -254
  210. package/dist/integration/connector/saas.zod.d.ts.map +1 -1
  211. package/dist/integration/connector/vercel.zod.d.ts +1799 -327
  212. package/dist/integration/connector/vercel.zod.d.ts.map +1 -1
  213. package/dist/integration/connector.zod.d.ts +1225 -382
  214. package/dist/integration/connector.zod.d.ts.map +1 -1
  215. package/dist/integration/connector.zod.js +26 -3
  216. package/dist/kernel/context.zod.d.ts +56 -0
  217. package/dist/kernel/context.zod.d.ts.map +1 -0
  218. package/dist/kernel/events.zod.d.ts +2716 -0
  219. package/dist/kernel/events.zod.d.ts.map +1 -0
  220. package/dist/{system → kernel}/events.zod.js +16 -16
  221. package/dist/kernel/feature.zod.d.ts +131 -0
  222. package/dist/kernel/feature.zod.d.ts.map +1 -0
  223. package/dist/kernel/index.d.ts +17 -0
  224. package/dist/kernel/index.d.ts.map +1 -0
  225. package/dist/kernel/index.js +32 -0
  226. package/dist/kernel/manifest.zod.d.ts +2124 -0
  227. package/dist/kernel/manifest.zod.d.ts.map +1 -0
  228. package/dist/{system → kernel}/manifest.zod.js +49 -8
  229. package/dist/kernel/metadata-loader.zod.d.ts +678 -0
  230. package/dist/kernel/metadata-loader.zod.d.ts.map +1 -0
  231. package/dist/{system → kernel}/metadata-loader.zod.js +13 -0
  232. package/dist/kernel/plugin-capability.zod.d.ts +1130 -0
  233. package/dist/kernel/plugin-capability.zod.d.ts.map +1 -0
  234. package/dist/kernel/plugin-lifecycle-advanced.zod.d.ts +1458 -0
  235. package/dist/kernel/plugin-lifecycle-advanced.zod.d.ts.map +1 -0
  236. package/dist/{system → kernel}/plugin-lifecycle-events.zod.d.ts +209 -49
  237. package/dist/kernel/plugin-lifecycle-events.zod.d.ts.map +1 -0
  238. package/dist/kernel/plugin-loading.zod.d.ts +1774 -0
  239. package/dist/kernel/plugin-loading.zod.d.ts.map +1 -0
  240. package/dist/kernel/plugin-security-advanced.zod.d.ts +3833 -0
  241. package/dist/kernel/plugin-security-advanced.zod.d.ts.map +1 -0
  242. package/dist/kernel/plugin-structure.zod.d.ts +54 -0
  243. package/dist/kernel/plugin-structure.zod.d.ts.map +1 -0
  244. package/dist/kernel/plugin-structure.zod.js +107 -0
  245. package/dist/kernel/plugin-validator.zod.d.ts +245 -0
  246. package/dist/kernel/plugin-validator.zod.d.ts.map +1 -0
  247. package/dist/kernel/plugin-versioning.zod.d.ts +1309 -0
  248. package/dist/kernel/plugin-versioning.zod.d.ts.map +1 -0
  249. package/dist/{system → kernel}/plugin-versioning.zod.js +8 -8
  250. package/dist/kernel/plugin.zod.d.ts +3482 -0
  251. package/dist/kernel/plugin.zod.d.ts.map +1 -0
  252. package/dist/kernel/plugin.zod.js +80 -0
  253. package/dist/kernel/service-registry.zod.d.ts +247 -0
  254. package/dist/kernel/service-registry.zod.d.ts.map +1 -0
  255. package/dist/kernel/service-registry.zod.js +218 -0
  256. package/dist/kernel/startup-orchestrator.zod.d.ts +376 -0
  257. package/dist/kernel/startup-orchestrator.zod.d.ts.map +1 -0
  258. package/dist/qa/testing.zod.d.ts +765 -240
  259. package/dist/qa/testing.zod.d.ts.map +1 -1
  260. package/dist/{permission → security}/index.d.ts +1 -0
  261. package/dist/security/index.d.ts.map +1 -0
  262. package/dist/{permission → security}/index.js +1 -0
  263. package/dist/security/permission.zod.d.ts +342 -0
  264. package/dist/security/permission.zod.d.ts.map +1 -0
  265. package/dist/{permission → security}/permission.zod.js +1 -1
  266. package/dist/security/policy.zod.d.ts +209 -0
  267. package/dist/security/policy.zod.d.ts.map +1 -0
  268. package/dist/security/rls.zod.d.ts +605 -0
  269. package/dist/security/rls.zod.d.ts.map +1 -0
  270. package/dist/security/sharing.zod.d.ts +146 -0
  271. package/dist/security/sharing.zod.d.ts.map +1 -0
  272. package/dist/security/territory.zod.d.ts +104 -0
  273. package/dist/security/territory.zod.d.ts.map +1 -0
  274. package/dist/shared/connector-auth.zod.d.ts +176 -0
  275. package/dist/shared/connector-auth.zod.d.ts.map +1 -0
  276. package/dist/shared/connector-auth.zod.js +63 -0
  277. package/dist/shared/http.zod.d.ts +67 -22
  278. package/dist/shared/http.zod.d.ts.map +1 -1
  279. package/dist/shared/mapping.zod.d.ts +139 -25
  280. package/dist/shared/mapping.zod.d.ts.map +1 -1
  281. package/dist/stack.zod.d.ts +33170 -6871
  282. package/dist/stack.zod.d.ts.map +1 -1
  283. package/dist/stack.zod.js +7 -7
  284. package/dist/system/audit.zod.d.ts +974 -521
  285. package/dist/system/audit.zod.d.ts.map +1 -1
  286. package/dist/system/auth-config.zod.d.ts +143 -0
  287. package/dist/system/auth-config.zod.d.ts.map +1 -0
  288. package/dist/system/auth-config.zod.js +35 -0
  289. package/dist/system/cache.zod.d.ts +102 -64
  290. package/dist/system/cache.zod.d.ts.map +1 -1
  291. package/dist/system/change-management.zod.d.ts +452 -77
  292. package/dist/system/change-management.zod.d.ts.map +1 -1
  293. package/dist/system/collaboration.zod.d.ts +1609 -243
  294. package/dist/system/collaboration.zod.d.ts.map +1 -1
  295. package/dist/system/compliance.zod.d.ts +293 -63
  296. package/dist/system/compliance.zod.d.ts.map +1 -1
  297. package/dist/system/encryption.zod.d.ts +184 -54
  298. package/dist/system/encryption.zod.d.ts.map +1 -1
  299. package/dist/system/http-server.zod.d.ts +562 -116
  300. package/dist/system/http-server.zod.d.ts.map +1 -1
  301. package/dist/system/index.d.ts +23 -33
  302. package/dist/system/index.d.ts.map +1 -1
  303. package/dist/system/index.js +28 -49
  304. package/dist/system/job.zod.d.ts +169 -29
  305. package/dist/system/job.zod.d.ts.map +1 -1
  306. package/dist/system/job.zod.js +18 -5
  307. package/dist/system/logging.zod.d.ts +1875 -272
  308. package/dist/system/logging.zod.d.ts.map +1 -1
  309. package/dist/system/masking.zod.d.ts +66 -34
  310. package/dist/system/masking.zod.d.ts.map +1 -1
  311. package/dist/system/message-queue.zod.d.ts +135 -49
  312. package/dist/system/message-queue.zod.d.ts.map +1 -1
  313. package/dist/system/metadata-persistence.zod.d.ts +558 -0
  314. package/dist/system/metadata-persistence.zod.d.ts.map +1 -0
  315. package/dist/system/metadata-persistence.zod.js +216 -0
  316. package/dist/system/metrics.zod.d.ts +1705 -330
  317. package/dist/system/metrics.zod.d.ts.map +1 -1
  318. package/dist/system/migration.zod.d.ts +18486 -2398
  319. package/dist/system/migration.zod.d.ts.map +1 -1
  320. package/dist/system/notification.zod.d.ts +534 -75
  321. package/dist/system/notification.zod.d.ts.map +1 -1
  322. package/dist/system/object-storage.zod.d.ts +1101 -382
  323. package/dist/system/object-storage.zod.d.ts.map +1 -1
  324. package/dist/system/search-engine.zod.d.ts +209 -78
  325. package/dist/system/search-engine.zod.d.ts.map +1 -1
  326. package/dist/system/service-registry.zod.d.ts +67 -125
  327. package/dist/system/service-registry.zod.d.ts.map +1 -1
  328. package/dist/system/service-registry.zod.js +81 -202
  329. package/dist/system/tracing.zod.d.ts +1623 -286
  330. package/dist/system/tracing.zod.d.ts.map +1 -1
  331. package/dist/system/translation.zod.d.ts +136 -8
  332. package/dist/system/translation.zod.d.ts.map +1 -1
  333. package/dist/system/translation.zod.js +2 -0
  334. package/dist/system/worker.zod.d.ts +1138 -159
  335. package/dist/system/worker.zod.d.ts.map +1 -1
  336. package/dist/system/worker.zod.js +8 -8
  337. package/dist/ui/action.zod.d.ts +121 -118
  338. package/dist/ui/action.zod.d.ts.map +1 -1
  339. package/dist/ui/app.zod.d.ts +306 -22
  340. package/dist/ui/app.zod.d.ts.map +1 -1
  341. package/dist/ui/app.zod.js +20 -1
  342. package/dist/ui/chart.zod.d.ts +390 -66
  343. package/dist/ui/chart.zod.d.ts.map +1 -1
  344. package/dist/ui/chart.zod.js +90 -5
  345. package/dist/ui/component.zod.d.ts +210 -86
  346. package/dist/ui/component.zod.d.ts.map +1 -1
  347. package/dist/ui/component.zod.js +4 -1
  348. package/dist/ui/dashboard.zod.d.ts +1002 -153
  349. package/dist/ui/dashboard.zod.d.ts.map +1 -1
  350. package/dist/ui/dashboard.zod.js +25 -0
  351. package/dist/ui/page.zod.d.ts +251 -117
  352. package/dist/ui/page.zod.d.ts.map +1 -1
  353. package/dist/ui/page.zod.js +22 -1
  354. package/dist/ui/report.zod.d.ts +461 -138
  355. package/dist/ui/report.zod.d.ts.map +1 -1
  356. package/dist/ui/theme.zod.d.ts +944 -42
  357. package/dist/ui/theme.zod.d.ts.map +1 -1
  358. package/dist/ui/view.zod.d.ts +3021 -393
  359. package/dist/ui/view.zod.d.ts.map +1 -1
  360. package/dist/ui/view.zod.js +84 -10
  361. package/dist/ui/widget.zod.d.ts +1689 -203
  362. package/dist/ui/widget.zod.d.ts.map +1 -1
  363. package/dist/ui/widget.zod.js +32 -10
  364. package/json-schema/ai/AICodeReviewResult.json +219 -1
  365. package/json-schema/ai/AIKnowledge.json +24 -1
  366. package/json-schema/ai/AIModelConfig.json +35 -1
  367. package/json-schema/ai/AIOperationCost.json +73 -1
  368. package/json-schema/ai/AIOpsAgentConfig.json +470 -1
  369. package/json-schema/ai/AIOrchestration.json +385 -1
  370. package/json-schema/ai/AIOrchestrationExecutionResult.json +133 -1
  371. package/json-schema/ai/AIOrchestrationTrigger.json +12 -1
  372. package/json-schema/ai/AITask.json +127 -1
  373. package/json-schema/ai/AITaskType.json +15 -1
  374. package/json-schema/ai/AITool.json +27 -1
  375. package/json-schema/ai/Agent.json +147 -1
  376. package/json-schema/ai/AgentAction.json +431 -1
  377. package/json-schema/ai/AgentActionResult.json +63 -1
  378. package/json-schema/ai/AgentActionSequence.json +497 -1
  379. package/json-schema/ai/AgentActionSequenceResult.json +137 -1
  380. package/json-schema/ai/AnomalyDetectionConfig.json +66 -1
  381. package/json-schema/ai/AutoScalingPolicy.json +163 -1
  382. package/json-schema/ai/BatchAIOrchestrationExecution.json +42 -1
  383. package/json-schema/ai/BillingPeriod.json +12 -1
  384. package/json-schema/ai/BudgetLimit.json +105 -1
  385. package/json-schema/ai/BudgetStatus.json +88 -1
  386. package/json-schema/ai/BudgetType.json +11 -1
  387. package/json-schema/ai/CICDPipelineConfig.json +130 -1
  388. package/json-schema/ai/ChunkingStrategy.json +127 -1
  389. package/json-schema/ai/CodeContent.json +32 -0
  390. package/json-schema/ai/CodeGenerationConfig.json +59 -1
  391. package/json-schema/ai/CodeGenerationRequest.json +234 -1
  392. package/json-schema/ai/CodeGenerationTarget.json +13 -1
  393. package/json-schema/ai/ComponentActionParams.json +71 -1
  394. package/json-schema/ai/ComponentActionType.json +14 -1
  395. package/json-schema/ai/ComponentAgentAction.json +153 -0
  396. package/json-schema/ai/ConversationAnalytics.json +82 -1
  397. package/json-schema/ai/ConversationContext.json +42 -1
  398. package/json-schema/ai/ConversationMessage.json +282 -1
  399. package/json-schema/ai/ConversationSession.json +560 -1
  400. package/json-schema/ai/ConversationSummary.json +68 -1
  401. package/json-schema/ai/CostAlert.json +103 -1
  402. package/json-schema/ai/CostAlertType.json +10 -1
  403. package/json-schema/ai/CostAnalytics.json +603 -1
  404. package/json-schema/ai/CostBreakdownDimension.json +14 -1
  405. package/json-schema/ai/CostBreakdownEntry.json +56 -1
  406. package/json-schema/ai/CostEntry.json +116 -1
  407. package/json-schema/ai/CostMetricType.json +11 -1
  408. package/json-schema/ai/CostOptimizationRecommendation.json +95 -1
  409. package/json-schema/ai/CostQueryFilters.json +108 -1
  410. package/json-schema/ai/CostReport.json +987 -1
  411. package/json-schema/ai/DataActionParams.json +32 -1
  412. package/json-schema/ai/DataActionType.json +12 -1
  413. package/json-schema/ai/DataAgentAction.json +112 -0
  414. package/json-schema/ai/DeploymentStrategy.json +46 -1
  415. package/json-schema/ai/DevOpsAgent.json +809 -1
  416. package/json-schema/ai/DevOpsTool.json +32 -1
  417. package/json-schema/ai/DevelopmentConfig.json +164 -1
  418. package/json-schema/ai/DocumentChunk.json +94 -1
  419. package/json-schema/ai/DocumentLoaderConfig.json +63 -1
  420. package/json-schema/ai/DocumentMetadata.json +58 -1
  421. package/json-schema/ai/EmbeddingModel.json +55 -1
  422. package/json-schema/ai/Entity.json +49 -1
  423. package/json-schema/ai/EvaluationMetrics.json +58 -1
  424. package/json-schema/ai/FeedbackLoop.json +7571 -1
  425. package/json-schema/ai/FieldSynonymConfig.json +33 -1
  426. package/json-schema/ai/FileContent.json +37 -0
  427. package/json-schema/ai/FilterExpression.json +58 -0
  428. package/json-schema/ai/FilterGroup.json +83 -0
  429. package/json-schema/ai/FormActionParams.json +30 -1
  430. package/json-schema/ai/FormActionType.json +14 -1
  431. package/json-schema/ai/FormAgentAction.json +112 -0
  432. package/json-schema/ai/FunctionCall.json +22 -1
  433. package/json-schema/ai/GeneratedCode.json +195 -1
  434. package/json-schema/ai/GitHubIntegration.json +65 -1
  435. package/json-schema/ai/Hyperparameters.json +74 -1
  436. package/json-schema/ai/ImageContent.json +38 -0
  437. package/json-schema/ai/IntegrationConfig.json +145 -1
  438. package/json-schema/ai/IntentActionMapping.json +486 -1
  439. package/json-schema/ai/Issue.json +68 -1
  440. package/json-schema/ai/MessageContent.json +115 -1
  441. package/json-schema/ai/MessageContentType.json +10 -1
  442. package/json-schema/ai/MessagePruningEvent.json +71 -1
  443. package/json-schema/ai/MessageRole.json +10 -1
  444. package/json-schema/ai/MetadataFilter.json +164 -0
  445. package/json-schema/ai/MetadataSource.json +27 -1
  446. package/json-schema/ai/ModelCapability.json +41 -1
  447. package/json-schema/ai/ModelConfig.json +179 -1
  448. package/json-schema/ai/ModelDrift.json +68 -1
  449. package/json-schema/ai/ModelFeature.json +65 -1
  450. package/json-schema/ai/ModelLimits.json +39 -1
  451. package/json-schema/ai/ModelPricing.json +22 -1
  452. package/json-schema/ai/ModelProvider.json +13 -1
  453. package/json-schema/ai/ModelRegistry.json +425 -1
  454. package/json-schema/ai/ModelRegistryEntry.json +237 -1
  455. package/json-schema/ai/ModelSelectionCriteria.json +44 -1
  456. package/json-schema/ai/MonitoringConfig.json +74 -1
  457. package/json-schema/ai/NLQAnalytics.json +103 -1
  458. package/json-schema/ai/NLQFieldMapping.json +34 -1
  459. package/json-schema/ai/NLQModelConfig.json +72 -1
  460. package/json-schema/ai/NLQParseResult.json +249 -1
  461. package/json-schema/ai/NLQRequest.json +104 -1
  462. package/json-schema/ai/NLQResponse.json +317 -1
  463. package/json-schema/ai/NLQTrainingExample.json +117 -1
  464. package/json-schema/ai/NavigationActionParams.json +50 -1
  465. package/json-schema/ai/NavigationActionType.json +15 -1
  466. package/json-schema/ai/NavigationAgentAction.json +133 -0
  467. package/json-schema/ai/PerformanceOptimization.json +110 -1
  468. package/json-schema/ai/PipelineStage.json +71 -1
  469. package/json-schema/ai/PluginCompositionRequest.json +88 -1
  470. package/json-schema/ai/PluginCompositionResult.json +138 -1
  471. package/json-schema/ai/PluginRecommendation.json +135 -1
  472. package/json-schema/ai/PluginRecommendationRequest.json +75 -1
  473. package/json-schema/ai/PluginScaffoldingTemplate.json +122 -1
  474. package/json-schema/ai/PostProcessingAction.json +35 -1
  475. package/json-schema/ai/PredictionRequest.json +33 -1
  476. package/json-schema/ai/PredictionResult.json +109 -1
  477. package/json-schema/ai/PredictiveModel.json +442 -1
  478. package/json-schema/ai/PredictiveModelType.json +12 -1
  479. package/json-schema/ai/PromptTemplate.json +157 -1
  480. package/json-schema/ai/PromptVariable.json +50 -1
  481. package/json-schema/ai/QueryContext.json +66 -1
  482. package/json-schema/ai/QueryIntent.json +15 -1
  483. package/json-schema/ai/QueryTemplate.json +78 -1
  484. package/json-schema/ai/RAGPipelineConfig.json +687 -1
  485. package/json-schema/ai/RAGPipelineStatus.json +61 -1
  486. package/json-schema/ai/RAGQueryRequest.json +58 -1
  487. package/json-schema/ai/RAGQueryResponse.json +134 -1
  488. package/json-schema/ai/RerankingConfig.json +28 -1
  489. package/json-schema/ai/Resolution.json +7477 -1
  490. package/json-schema/ai/RetrievalStrategy.json +115 -1
  491. package/json-schema/ai/RootCauseAnalysisRequest.json +87 -1
  492. package/json-schema/ai/RootCauseAnalysisResult.json +193 -1
  493. package/json-schema/ai/SelfHealingAction.json +92 -1
  494. package/json-schema/ai/SelfHealingConfig.json +205 -1
  495. package/json-schema/ai/TestingConfig.json +51 -1
  496. package/json-schema/ai/TextContent.json +28 -0
  497. package/json-schema/ai/Timeframe.json +62 -1
  498. package/json-schema/ai/TokenBudgetConfig.json +86 -1
  499. package/json-schema/ai/TokenBudgetStrategy.json +10 -1
  500. package/json-schema/ai/TokenUsage.json +26 -1
  501. package/json-schema/ai/TokenUsageStats.json +60 -1
  502. package/json-schema/ai/ToolCall.json +43 -1
  503. package/json-schema/ai/TrainingConfig.json +82 -1
  504. package/json-schema/ai/TypedAgentAction.json +770 -0
  505. package/json-schema/ai/UIActionType.json +57 -1
  506. package/json-schema/ai/VectorStoreConfig.json +80 -1
  507. package/json-schema/ai/VectorStoreProvider.json +15 -1
  508. package/json-schema/ai/VercelIntegration.json +63 -1
  509. package/json-schema/ai/VersionManagement.json +52 -1
  510. package/json-schema/ai/ViewActionParams.json +68 -1
  511. package/json-schema/ai/ViewActionType.json +15 -1
  512. package/json-schema/ai/ViewAgentAction.json +151 -0
  513. package/json-schema/ai/WorkflowActionParams.json +55 -1
  514. package/json-schema/ai/WorkflowActionType.json +12 -1
  515. package/json-schema/ai/WorkflowAgentAction.json +135 -0
  516. package/json-schema/ai/WorkflowFieldCondition.json +27 -1
  517. package/json-schema/ai/WorkflowSchedule.json +45 -1
  518. package/json-schema/api/AckMessage.json +40 -1
  519. package/json-schema/api/AnalyticsEndpoint.json +14 -0
  520. package/json-schema/api/AnalyticsMetadataResponse.json +280 -0
  521. package/json-schema/api/AnalyticsQueryRequest.json +154 -0
  522. package/json-schema/api/AnalyticsResultResponse.json +114 -0
  523. package/json-schema/api/AnalyticsSqlResponse.json +88 -0
  524. package/json-schema/api/ApiCapabilities.json +32 -1
  525. package/json-schema/api/ApiChangelogEntry.json +79 -1
  526. package/json-schema/api/ApiDiscoveryQuery.json +51 -1
  527. package/json-schema/api/ApiDiscoveryResponse.json +606 -1
  528. package/json-schema/api/ApiDocumentationConfig.json +711 -1
  529. package/json-schema/api/ApiEndpoint.json +159 -1
  530. package/json-schema/api/ApiEndpointRegistration.json +397 -1
  531. package/json-schema/api/ApiError.json +29 -1
  532. package/json-schema/api/ApiMapping.json +22 -1
  533. package/json-schema/api/ApiMetadata.json +38 -1
  534. package/json-schema/api/ApiParameter.json +130 -1
  535. package/json-schema/api/ApiProtocolType.json +15 -1
  536. package/json-schema/api/ApiRegistry.json +1680 -1
  537. package/json-schema/api/ApiRegistryEntry.json +536 -1
  538. package/json-schema/api/ApiResponse.json +109 -1
  539. package/json-schema/api/ApiRoutes.json +43 -1
  540. package/json-schema/api/ApiTestCollection.json +209 -1
  541. package/json-schema/api/ApiTestRequest.json +79 -1
  542. package/json-schema/api/ApiTestingUiConfig.json +136 -1
  543. package/json-schema/api/ApiTestingUiType.json +14 -1
  544. package/json-schema/api/AppDefinitionResponse.json +380 -0
  545. package/json-schema/api/AuthProvider.json +17 -0
  546. package/json-schema/api/AutomationTriggerRequest.json +23 -0
  547. package/json-schema/api/AutomationTriggerResponse.json +22 -0
  548. package/json-schema/api/BaseResponse.json +65 -1
  549. package/json-schema/api/BatchConfig.json +45 -1
  550. package/json-schema/api/BatchDataRequest.json +87 -1
  551. package/json-schema/api/BatchDataResponse.json +154 -1
  552. package/json-schema/api/BatchEndpointsConfig.json +50 -1
  553. package/json-schema/api/BatchOperationResult.json +59 -1
  554. package/json-schema/api/BatchOperationType.json +9 -1
  555. package/json-schema/api/BatchOptions.json +26 -1
  556. package/json-schema/api/BatchRecord.json +19 -1
  557. package/json-schema/api/BatchUpdateRequest.json +72 -1
  558. package/json-schema/api/BatchUpdateResponse.json +154 -1
  559. package/json-schema/api/BuildStatusResponse.json +140 -1
  560. package/json-schema/api/BulkRequest.json +23 -1
  561. package/json-schema/api/BulkResponse.json +125 -1
  562. package/json-schema/api/CacheControl.json +36 -1
  563. package/json-schema/api/CacheDirective.json +11 -1
  564. package/json-schema/api/CacheInvalidationRequest.json +37 -1
  565. package/json-schema/api/CacheInvalidationResponse.json +25 -1
  566. package/json-schema/api/CacheInvalidationTarget.json +11 -1
  567. package/json-schema/api/CodeGenerationTemplate.json +30 -1
  568. package/json-schema/api/CompileManifestRequest.json +80 -1
  569. package/json-schema/api/CompileManifestResponse.json +1580 -1
  570. package/json-schema/api/CompleteUploadRequest.json +23 -0
  571. package/json-schema/api/ConceptListResponse.json +98 -0
  572. package/json-schema/api/ConflictResolutionStrategy.json +9 -1
  573. package/json-schema/api/CreateDataRequest.json +19 -1
  574. package/json-schema/api/CreateDataResponse.json +24 -1
  575. package/json-schema/api/CreateManyDataRequest.json +22 -1
  576. package/json-schema/api/CreateManyDataResponse.json +27 -1
  577. package/json-schema/api/CreateRequest.json +14 -1
  578. package/json-schema/api/CreateSpaceRequest.json +237 -1
  579. package/json-schema/api/CreateTenantRequest.json +50 -1
  580. package/json-schema/api/CrudEndpointPattern.json +35 -1
  581. package/json-schema/api/CrudEndpointsConfig.json +107 -1
  582. package/json-schema/api/CrudOperation.json +10 -1
  583. package/json-schema/api/CursorMessage.json +133 -1
  584. package/json-schema/api/CursorPosition.json +106 -1
  585. package/json-schema/api/DeleteDataRequest.json +18 -1
  586. package/json-schema/api/DeleteDataResponse.json +23 -1
  587. package/json-schema/api/DeleteManyDataRequest.json +48 -1
  588. package/json-schema/api/DeleteManyDataResponse.json +154 -1
  589. package/json-schema/api/DeleteManyRequest.json +45 -1
  590. package/json-schema/api/DeleteResponse.json +70 -1
  591. package/json-schema/api/Discovery.json +126 -1
  592. package/json-schema/api/DocumentState.json +43 -1
  593. package/json-schema/api/ETag.json +18 -1
  594. package/json-schema/api/EditMessage.json +129 -1
  595. package/json-schema/api/EditOperation.json +102 -1
  596. package/json-schema/api/EditOperationType.json +8 -1
  597. package/json-schema/api/EndpointRegistry.json +278 -1
  598. package/json-schema/api/EnhancedApiError.json +220 -1
  599. package/json-schema/api/ErrorCategory.json +14 -1
  600. package/json-schema/api/ErrorMessage.json +38 -1
  601. package/json-schema/api/ErrorResponse.json +253 -1
  602. package/json-schema/api/EventFilter.json +59 -1
  603. package/json-schema/api/EventFilterCondition.json +36 -1
  604. package/json-schema/api/EventMessage.json +49 -1
  605. package/json-schema/api/EventPattern.json +6 -1
  606. package/json-schema/api/EventSubscription.json +99 -1
  607. package/json-schema/api/ExportRequest.json +854 -1
  608. package/json-schema/api/FieldError.json +82 -1
  609. package/json-schema/api/FileUploadResponse.json +117 -0
  610. package/json-schema/api/FilterOperator.json +18 -1
  611. package/json-schema/api/FindDataRequest.json +503 -1
  612. package/json-schema/api/FindDataResponse.json +30 -1
  613. package/json-schema/api/GeneratedApiDocumentation.json +540 -1
  614. package/json-schema/api/GeneratedEndpoint.json +82 -1
  615. package/json-schema/api/GetAnalyticsMetaRequest.json +16 -0
  616. package/json-schema/api/GetBuildStatusRequest.json +12 -1
  617. package/json-schema/api/GetDataRequest.json +18 -1
  618. package/json-schema/api/GetDataResponse.json +24 -1
  619. package/json-schema/api/GetDiscoveryRequest.json +5 -1
  620. package/json-schema/api/GetDiscoveryResponse.json +95 -1
  621. package/json-schema/api/GetMarketplacePluginRequest.json +12 -1
  622. package/json-schema/api/GetMetaItemCachedRequest.json +71 -1
  623. package/json-schema/api/GetMetaItemCachedResponse.json +79 -1
  624. package/json-schema/api/GetMetaItemRequest.json +18 -1
  625. package/json-schema/api/GetMetaItemResponse.json +21 -1
  626. package/json-schema/api/GetMetaItemsRequest.json +13 -1
  627. package/json-schema/api/GetMetaItemsResponse.json +18 -1
  628. package/json-schema/api/GetMetaTypesRequest.json +5 -1
  629. package/json-schema/api/GetMetaTypesResponse.json +16 -1
  630. package/json-schema/api/GetPluginVersionsRequest.json +13 -1
  631. package/json-schema/api/GetPluginVersionsResponse.json +120 -1
  632. package/json-schema/api/GetPresignedUrlRequest.json +38 -0
  633. package/json-schema/api/GetUiViewRequest.json +22 -1
  634. package/json-schema/api/GetUiViewResponse.json +1622 -1
  635. package/json-schema/api/GraphQLConfig.json +1394 -1
  636. package/json-schema/api/GraphQLDataLoaderConfig.json +95 -1
  637. package/json-schema/api/GraphQLDirectiveConfig.json +102 -1
  638. package/json-schema/api/GraphQLDirectiveLocation.json +24 -1
  639. package/json-schema/api/GraphQLMutationConfig.json +174 -1
  640. package/json-schema/api/GraphQLPersistedQuery.json +145 -1
  641. package/json-schema/api/GraphQLQueryComplexity.json +77 -1
  642. package/json-schema/api/GraphQLQueryConfig.json +236 -1
  643. package/json-schema/api/GraphQLQueryDepthLimit.json +38 -1
  644. package/json-schema/api/GraphQLRateLimit.json +132 -1
  645. package/json-schema/api/GraphQLResolverConfig.json +92 -1
  646. package/json-schema/api/GraphQLScalarType.json +26 -1
  647. package/json-schema/api/GraphQLSubscriptionConfig.json +112 -1
  648. package/json-schema/api/GraphQLTypeConfig.json +107 -1
  649. package/json-schema/api/HttpMethod.json +12 -1
  650. package/json-schema/api/HttpStatusCode.json +18 -1
  651. package/json-schema/api/HubHealthResponse.json +125 -1
  652. package/json-schema/api/HubMetricsResponse.json +162 -1
  653. package/json-schema/api/IdRequest.json +19 -0
  654. package/json-schema/api/InstallPluginRequest.json +33 -0
  655. package/json-schema/api/InstallPluginResponse.json +72 -0
  656. package/json-schema/api/IssueLicenseRequest.json +40 -1
  657. package/json-schema/api/LicenseResponse.json +125 -1
  658. package/json-schema/api/ListLicensesRequest.json +43 -1
  659. package/json-schema/api/ListLicensesResponse.json +165 -1
  660. package/json-schema/api/ListMarketplaceRequest.json +43 -1
  661. package/json-schema/api/ListMarketplaceResponse.json +352 -1
  662. package/json-schema/api/ListRecordResponse.json +110 -1
  663. package/json-schema/api/ListSpacesRequest.json +36 -1
  664. package/json-schema/api/ListSpacesResponse.json +379 -1
  665. package/json-schema/api/ListTenantsRequest.json +39 -1
  666. package/json-schema/api/ListTenantsResponse.json +159 -1
  667. package/json-schema/api/LoginRequest.json +45 -0
  668. package/json-schema/api/LoginType.json +16 -0
  669. package/json-schema/api/MarketplacePluginResponse.json +288 -1
  670. package/json-schema/api/MetadataCacheRequest.json +52 -1
  671. package/json-schema/api/MetadataCacheResponse.json +79 -1
  672. package/json-schema/api/MetadataEndpointsConfig.json +48 -1
  673. package/json-schema/api/ModificationResult.json +55 -1
  674. package/json-schema/api/ODataConfig.json +126 -1
  675. package/json-schema/api/ODataError.json +59 -1
  676. package/json-schema/api/ODataFilterFunction.json +33 -1
  677. package/json-schema/api/ODataFilterOperator.json +18 -1
  678. package/json-schema/api/ODataMetadata.json +109 -1
  679. package/json-schema/api/ODataQuery.json +83 -1
  680. package/json-schema/api/ODataResponse.json +31 -1
  681. package/json-schema/api/ObjectDefinitionResponse.json +2755 -0
  682. package/json-schema/api/ObjectQLReference.json +36 -1
  683. package/json-schema/api/ObjectStackProtocol.json +5 -1
  684. package/json-schema/api/OpenApiSecurityScheme.json +60 -1
  685. package/json-schema/api/OpenApiServer.json +43 -1
  686. package/json-schema/api/OpenApiSpec.json +296 -1
  687. package/json-schema/api/PaginationRequest.json +28 -1
  688. package/json-schema/api/PaginationResponse.json +36 -1
  689. package/json-schema/api/PingMessage.json +25 -1
  690. package/json-schema/api/PluginResponse.json +893 -1
  691. package/json-schema/api/PluginVersionInfo.json +29 -1
  692. package/json-schema/api/PongMessage.json +30 -1
  693. package/json-schema/api/Presence.json +34 -1
  694. package/json-schema/api/PresenceMessage.json +86 -1
  695. package/json-schema/api/PresenceState.json +59 -1
  696. package/json-schema/api/PresenceStatus.json +8 -1
  697. package/json-schema/api/PresenceUpdate.json +29 -1
  698. package/json-schema/api/PresignedUrlResponse.json +115 -0
  699. package/json-schema/api/PublishPluginRequest.json +646 -1
  700. package/json-schema/api/RateLimit.json +21 -1
  701. package/json-schema/api/RealtimeAction.json +8 -1
  702. package/json-schema/api/RealtimeConfig.json +84 -1
  703. package/json-schema/api/RealtimeEvent.json +52 -1
  704. package/json-schema/api/RealtimeEventType.json +9 -1
  705. package/json-schema/api/RecordData.json +5 -1
  706. package/json-schema/api/RefreshTokenRequest.json +19 -0
  707. package/json-schema/api/RegisterRequest.json +30 -0
  708. package/json-schema/api/RestApiConfig.json +122 -1
  709. package/json-schema/api/RestServerConfig.json +403 -1
  710. package/json-schema/api/RetryStrategy.json +9 -1
  711. package/json-schema/api/RevokeLicenseRequest.json +15 -1
  712. package/json-schema/api/RouteCategory.json +11 -1
  713. package/json-schema/api/RouteDefinition.json +71 -1
  714. package/json-schema/api/RouteGenerationConfig.json +65 -1
  715. package/json-schema/api/RouterConfig.json +143 -1
  716. package/json-schema/api/SaveMetaItemRequest.json +27 -0
  717. package/json-schema/api/SaveMetaItemResponse.json +21 -0
  718. package/json-schema/api/SchemaDefinition.json +54 -1
  719. package/json-schema/api/SearchPluginsRequest.json +85 -1
  720. package/json-schema/api/SearchPluginsResponse.json +933 -1
  721. package/json-schema/api/Session.json +36 -0
  722. package/json-schema/api/SessionResponse.json +184 -0
  723. package/json-schema/api/SessionUser.json +72 -0
  724. package/json-schema/api/SimpleCursorPosition.json +47 -1
  725. package/json-schema/api/SimplePresenceState.json +38 -1
  726. package/json-schema/api/SingleRecordResponse.json +71 -1
  727. package/json-schema/api/SpaceResponse.json +339 -1
  728. package/json-schema/api/StandardErrorCode.json +56 -1
  729. package/json-schema/api/SubscribeMessage.json +126 -1
  730. package/json-schema/api/Subscription.json +59 -1
  731. package/json-schema/api/SubscriptionEvent.json +26 -1
  732. package/json-schema/api/TenantResponse.json +119 -1
  733. package/json-schema/api/TransportProtocol.json +8 -1
  734. package/json-schema/api/UnsubscribeMessage.json +41 -1
  735. package/json-schema/api/UnsubscribeRequest.json +14 -1
  736. package/json-schema/api/UpdateDataRequest.json +24 -1
  737. package/json-schema/api/UpdateDataResponse.json +24 -1
  738. package/json-schema/api/UpdateManyDataRequest.json +64 -1
  739. package/json-schema/api/UpdateManyDataResponse.json +154 -1
  740. package/json-schema/api/UpdateManyRequest.json +61 -1
  741. package/json-schema/api/UpdatePluginRequest.json +640 -1
  742. package/json-schema/api/UpdateRequest.json +14 -1
  743. package/json-schema/api/UpdateSpaceRequest.json +232 -1
  744. package/json-schema/api/UpdateTenantRequest.json +46 -1
  745. package/json-schema/api/UserProfileResponse.json +138 -0
  746. package/json-schema/api/ValidateLicenseRequest.json +17 -1
  747. package/json-schema/api/ValidateLicenseResponse.json +151 -1
  748. package/json-schema/api/WebSocketConfig.json +57 -1
  749. package/json-schema/api/WebSocketEvent.json +34 -1
  750. package/json-schema/api/WebSocketMessage.json +701 -1
  751. package/json-schema/api/WebSocketMessageType.json +15 -1
  752. package/json-schema/api/WebSocketPresenceStatus.json +9 -1
  753. package/json-schema/api/WebSocketServerConfig.json +36 -1
  754. package/json-schema/automation/ApprovalAction.json +36 -1
  755. package/json-schema/automation/ApprovalActionType.json +10 -1
  756. package/json-schema/automation/ApprovalProcess.json +362 -1
  757. package/json-schema/automation/ApprovalStep.json +155 -1
  758. package/json-schema/automation/ApproverType.json +10 -1
  759. package/json-schema/automation/AuthField.json +67 -1
  760. package/json-schema/automation/Authentication.json +153 -1
  761. package/json-schema/automation/AuthenticationType.json +12 -1
  762. package/json-schema/automation/ConflictResolution.json +10 -1
  763. package/json-schema/automation/Connector.json +434 -1
  764. package/json-schema/automation/ConnectorActionRef.json +40 -0
  765. package/json-schema/automation/ConnectorCategory.json +20 -1
  766. package/json-schema/automation/ConnectorInstance.json +63 -1
  767. package/json-schema/automation/ConnectorOperation.json +111 -1
  768. package/json-schema/automation/ConnectorTrigger.json +48 -1
  769. package/json-schema/automation/CustomScriptAction.json +43 -1
  770. package/json-schema/automation/DataDestinationConfig.json +189 -1
  771. package/json-schema/automation/DataSourceConfig.json +28 -1
  772. package/json-schema/automation/DataSyncConfig.json +455 -1
  773. package/json-schema/automation/ETLDestination.json +51 -1
  774. package/json-schema/automation/ETLEndpointType.json +13 -1
  775. package/json-schema/automation/ETLPipeline.json +246 -1
  776. package/json-schema/automation/ETLPipelineRun.json +101 -1
  777. package/json-schema/automation/ETLRunStatus.json +11 -1
  778. package/json-schema/automation/ETLSource.json +54 -1
  779. package/json-schema/automation/ETLSyncMode.json +8 -1
  780. package/json-schema/automation/ETLTransformation.json +40 -1
  781. package/json-schema/automation/ETLTransformationType.json +15 -1
  782. package/json-schema/automation/EmailAlertAction.json +31 -1
  783. package/json-schema/automation/FieldUpdateAction.json +26 -1
  784. package/json-schema/automation/Flow.json +233 -1
  785. package/json-schema/automation/FlowEdge.json +40 -1
  786. package/json-schema/automation/FlowNode.json +82 -1
  787. package/json-schema/automation/FlowNodeAction.json +19 -1
  788. package/json-schema/automation/FlowVariable.json +28 -1
  789. package/json-schema/automation/HttpCallAction.json +46 -1
  790. package/json-schema/automation/OAuth2Config.json +37 -1
  791. package/json-schema/automation/OperationParameter.json +53 -1
  792. package/json-schema/automation/OperationType.json +11 -1
  793. package/json-schema/automation/PushNotificationAction.json +53 -1
  794. package/json-schema/automation/SyncDirection.json +8 -1
  795. package/json-schema/automation/SyncExecutionResult.json +129 -1
  796. package/json-schema/automation/SyncExecutionStatus.json +11 -1
  797. package/json-schema/automation/SyncMode.json +8 -1
  798. package/json-schema/automation/TaskCreationAction.json +53 -1
  799. package/json-schema/automation/TimeTrigger.json +344 -1
  800. package/json-schema/automation/Webhook.json +167 -1
  801. package/json-schema/automation/WebhookReceiver.json +62 -1
  802. package/json-schema/automation/WebhookTriggerType.json +10 -1
  803. package/json-schema/automation/WorkflowAction.json +290 -1
  804. package/json-schema/automation/WorkflowRule.json +688 -1
  805. package/json-schema/automation/WorkflowTriggerType.json +10 -1
  806. package/json-schema/data/Address.json +34 -1
  807. package/json-schema/data/AggregationFunction.json +13 -1
  808. package/json-schema/data/AggregationNode.json +59 -1
  809. package/json-schema/data/AggregationPipeline.json +93 -1
  810. package/json-schema/data/AggregationStage.json +19 -1
  811. package/json-schema/data/AnalyticsQuery.json +129 -0
  812. package/json-schema/data/ApiMethod.json +19 -1
  813. package/json-schema/data/AsyncValidation.json +111 -1
  814. package/json-schema/data/CDCConfig.json +31 -1
  815. package/json-schema/data/ComparisonOperator.json +102 -1
  816. package/json-schema/data/ComputedFieldCache.json +27 -1
  817. package/json-schema/data/ConditionalValidation.json +1434 -1
  818. package/json-schema/data/ConsistencyLevel.json +11 -1
  819. package/json-schema/data/CrossFieldValidation.json +81 -1
  820. package/json-schema/data/Cube.json +201 -0
  821. package/json-schema/data/CubeJoin.json +33 -0
  822. package/json-schema/data/CurrencyConfig.json +29 -1
  823. package/json-schema/data/CurrencyValue.json +20 -1
  824. package/json-schema/data/CustomValidator.json +78 -1
  825. package/json-schema/data/DataEngineAggregateOptions.json +74 -1
  826. package/json-schema/data/DataEngineAggregateRequest.json +92 -1
  827. package/json-schema/data/DataEngineBatchRequest.json +693 -1
  828. package/json-schema/data/DataEngineContract.json +6 -1
  829. package/json-schema/data/DataEngineCountOptions.json +38 -1
  830. package/json-schema/data/DataEngineCountRequest.json +55 -1
  831. package/json-schema/data/DataEngineDeleteOptions.json +42 -1
  832. package/json-schema/data/DataEngineDeleteRequest.json +62 -1
  833. package/json-schema/data/DataEngineExecuteRequest.json +18 -1
  834. package/json-schema/data/DataEngineFilter.json +31 -1
  835. package/json-schema/data/DataEngineFindOneRequest.json +127 -1
  836. package/json-schema/data/DataEngineFindRequest.json +127 -1
  837. package/json-schema/data/DataEngineInsertOptions.json +11 -1
  838. package/json-schema/data/DataEngineInsertRequest.json +44 -1
  839. package/json-schema/data/DataEngineQueryOptions.json +110 -1
  840. package/json-schema/data/DataEngineRequest.json +1366 -1
  841. package/json-schema/data/DataEngineSort.json +48 -1
  842. package/json-schema/data/DataEngineUpdateOptions.json +50 -1
  843. package/json-schema/data/DataEngineUpdateRequest.json +75 -1
  844. package/json-schema/data/DataEngineVectorFindRequest.json +68 -1
  845. package/json-schema/data/DataQualityRules.json +39 -1
  846. package/json-schema/data/DataTypeMapping.json +45 -1
  847. package/json-schema/data/Dataset.json +57 -1
  848. package/json-schema/data/DatasetMode.json +10 -1
  849. package/json-schema/data/Datasource.json +130 -0
  850. package/json-schema/data/DatasourceCapabilities.json +56 -0
  851. package/json-schema/data/Dimension.json +60 -0
  852. package/json-schema/data/DimensionType.json +16 -0
  853. package/json-schema/data/Document.json +286 -1
  854. package/json-schema/data/DocumentTemplate.json +72 -1
  855. package/json-schema/data/DocumentValidationSchema.json +33 -1
  856. package/json-schema/data/DocumentVersion.json +44 -1
  857. package/json-schema/data/DriverCapabilities.json +174 -1
  858. package/json-schema/data/DriverConfig.json +237 -1
  859. package/json-schema/data/DriverDefinition.json +86 -0
  860. package/json-schema/data/DriverInterface.json +193 -1
  861. package/json-schema/data/DriverOptions.json +28 -1
  862. package/json-schema/{system → data}/DriverType.json +4 -1
  863. package/json-schema/data/ESignatureConfig.json +68 -1
  864. package/json-schema/data/EqualityOperator.json +8 -1
  865. package/json-schema/data/ExternalDataSource.json +62 -1
  866. package/json-schema/data/ExternalFieldMapping.json +145 -1
  867. package/json-schema/data/ExternalLookup.json +321 -1
  868. package/json-schema/data/Field.json +855 -1
  869. package/json-schema/data/FieldMapping.json +77 -1
  870. package/json-schema/data/FieldNode.json +26 -1
  871. package/json-schema/data/FieldOperators.json +180 -1
  872. package/json-schema/data/FieldReference.json +13 -1
  873. package/json-schema/data/FieldType.json +49 -1
  874. package/json-schema/data/FileAttachmentConfig.json +213 -1
  875. package/json-schema/data/FilterCondition.json +22 -1
  876. package/json-schema/data/FormatValidation.json +84 -1
  877. package/json-schema/data/FullTextSearch.json +54 -1
  878. package/json-schema/data/Hook.json +89 -1
  879. package/json-schema/data/HookContext.json +82 -1
  880. package/json-schema/data/HookEvent.json +23 -1
  881. package/json-schema/data/Index.json +41 -1
  882. package/json-schema/data/JSONValidation.json +79 -1
  883. package/json-schema/data/JoinNode.json +488 -1
  884. package/json-schema/data/JoinStrategy.json +9 -1
  885. package/json-schema/data/JoinType.json +9 -1
  886. package/json-schema/data/LocationCoordinates.json +30 -1
  887. package/json-schema/data/Mapping.json +633 -1
  888. package/json-schema/data/Metric.json +66 -0
  889. package/json-schema/data/MetricType.json +20 -0
  890. package/json-schema/data/NoSQLDataTypeMapping.json +57 -1
  891. package/json-schema/data/NoSQLDatabaseType.json +13 -1
  892. package/json-schema/data/NoSQLDriverConfig.json +446 -1
  893. package/json-schema/data/NoSQLIndex.json +81 -1
  894. package/json-schema/data/NoSQLIndexType.json +13 -1
  895. package/json-schema/data/NoSQLOperationType.json +16 -1
  896. package/json-schema/data/NoSQLQueryOptions.json +55 -1
  897. package/json-schema/data/NoSQLTransactionOptions.json +41 -1
  898. package/json-schema/data/NormalizedFilter.json +576 -1
  899. package/json-schema/data/Object.json +2682 -1
  900. package/json-schema/data/ObjectCapabilities.json +74 -1
  901. package/json-schema/data/PartitioningConfig.json +32 -1
  902. package/json-schema/data/PoolConfig.json +30 -1
  903. package/json-schema/data/Query.json +489 -1
  904. package/json-schema/data/QueryFilter.json +28 -1
  905. package/json-schema/data/RangeOperator.json +61 -1
  906. package/json-schema/data/ReplicationConfig.json +40 -1
  907. package/json-schema/data/SQLDialect.json +11 -1
  908. package/json-schema/data/SQLDriverConfig.json +319 -1
  909. package/json-schema/data/SSLConfig.json +23 -1
  910. package/json-schema/data/ScriptValidation.json +73 -1
  911. package/json-schema/data/SearchConfig.json +30 -1
  912. package/json-schema/data/SelectOption.json +28 -1
  913. package/json-schema/data/SetOperator.json +12 -1
  914. package/json-schema/data/ShardingConfig.json +29 -1
  915. package/json-schema/data/SoftDeleteConfig.json +23 -1
  916. package/json-schema/data/SortNode.json +20 -1
  917. package/json-schema/data/SpecialOperator.json +12 -1
  918. package/json-schema/data/StateMachineValidation.json +84 -1
  919. package/json-schema/data/StringOperator.json +15 -1
  920. package/json-schema/data/TenancyConfig.json +33 -1
  921. package/json-schema/data/TimeUpdateInterval.json +19 -0
  922. package/json-schema/data/TransformType.json +12 -1
  923. package/json-schema/data/UniquenessValidation.json +84 -1
  924. package/json-schema/data/ValidationRule.json +1435 -1
  925. package/json-schema/data/VectorConfig.json +45 -1
  926. package/json-schema/data/VersioningConfig.json +33 -1
  927. package/json-schema/data/WindowFunction.json +18 -1
  928. package/json-schema/data/WindowFunctionNode.json +98 -1
  929. package/json-schema/data/WindowSpec.json +59 -1
  930. package/json-schema/hub/BillOfMaterials.json +64 -1
  931. package/json-schema/hub/ComposerRequest.json +80 -1
  932. package/json-schema/hub/ComposerResponse.json +1514 -1
  933. package/json-schema/hub/ConflictReport.json +47 -1
  934. package/json-schema/hub/DatabaseLevelIsolationStrategy.json +133 -1
  935. package/json-schema/hub/DependencyConflict.json +72 -1
  936. package/json-schema/hub/DependencyGraph.json +161 -1
  937. package/json-schema/hub/DependencyGraphNode.json +81 -1
  938. package/json-schema/hub/DependencyRequirement.json +30 -1
  939. package/json-schema/hub/DependencyResolutionResult.json +285 -1
  940. package/json-schema/hub/DeploymentTarget.json +32 -1
  941. package/json-schema/hub/EdgeLocation.json +93 -1
  942. package/json-schema/hub/Feature.json +45 -1
  943. package/json-schema/hub/FederationTopology.json +406 -1
  944. package/json-schema/hub/GlobalRegistryEntry.json +60 -1
  945. package/json-schema/hub/HubInstance.json +115 -1
  946. package/json-schema/hub/HubSpace.json +273 -1
  947. package/json-schema/hub/LevelIsolationStrategySchema.json +87 -1
  948. package/json-schema/hub/License.json +59 -1
  949. package/json-schema/hub/MarketplacePlugin.json +222 -1
  950. package/json-schema/hub/MetricType.json +8 -1
  951. package/json-schema/hub/PackageDependency.json +30 -1
  952. package/json-schema/hub/Plan.json +47 -1
  953. package/json-schema/hub/PluginAuthor.json +41 -1
  954. package/json-schema/hub/PluginInstallConfig.json +47 -1
  955. package/json-schema/hub/PluginPricing.json +37 -1
  956. package/json-schema/hub/PluginProvenance.json +192 -1
  957. package/json-schema/hub/PluginQualityMetrics.json +95 -1
  958. package/json-schema/hub/PluginRegistryEntry.json +827 -1
  959. package/json-schema/hub/PluginSearchFilters.json +85 -1
  960. package/json-schema/hub/PluginStatistics.json +78 -1
  961. package/json-schema/hub/PluginTrustScore.json +88 -1
  962. package/json-schema/hub/PluginVendor.json +41 -1
  963. package/json-schema/hub/PluginVersion.json +63 -0
  964. package/json-schema/hub/Region.json +175 -1
  965. package/json-schema/hub/RegistryConfig.json +233 -1
  966. package/json-schema/hub/RegistrySyncPolicy.json +9 -1
  967. package/json-schema/hub/RegistryUpstream.json +104 -1
  968. package/json-schema/hub/ReplicationJob.json +134 -1
  969. package/json-schema/hub/RowLevelIsolationStrategy.json +68 -1
  970. package/json-schema/hub/SBOM.json +144 -1
  971. package/json-schema/hub/SBOMEntry.json +78 -1
  972. package/json-schema/hub/SecurityPolicy.json +140 -1
  973. package/json-schema/hub/SecurityScanResult.json +303 -1
  974. package/json-schema/hub/SecurityVulnerability.json +112 -1
  975. package/json-schema/hub/SpaceSubscription.json +71 -1
  976. package/json-schema/hub/SubscriptionStatus.json +10 -1
  977. package/json-schema/hub/Tenant.json +53 -1
  978. package/json-schema/hub/TenantIsolationConfig.json +292 -1
  979. package/json-schema/hub/TenantIsolationLevel.json +8 -1
  980. package/json-schema/hub/TenantPlacementPolicy.json +92 -1
  981. package/json-schema/hub/TenantQuota.json +21 -1
  982. package/json-schema/hub/TenantSecurityPolicy.json +109 -1
  983. package/json-schema/hub/VulnerabilitySeverity.json +10 -1
  984. package/json-schema/identity/Account.json +87 -0
  985. package/json-schema/identity/Invitation.json +69 -0
  986. package/json-schema/identity/InvitationStatus.json +15 -0
  987. package/json-schema/identity/Member.json +46 -0
  988. package/json-schema/identity/Organization.json +52 -0
  989. package/json-schema/identity/Role.json +33 -0
  990. package/json-schema/identity/SCIMAddress.json +50 -0
  991. package/json-schema/identity/SCIMEmail.json +38 -0
  992. package/json-schema/identity/SCIMEnterpriseUser.json +55 -0
  993. package/json-schema/identity/SCIMError.json +52 -0
  994. package/json-schema/identity/SCIMGroup.json +102 -0
  995. package/json-schema/identity/SCIMGroupReference.json +36 -0
  996. package/json-schema/identity/SCIMListResponse.json +606 -0
  997. package/json-schema/identity/SCIMMemberReference.json +36 -0
  998. package/json-schema/identity/SCIMMeta.json +35 -0
  999. package/json-schema/identity/SCIMName.json +36 -0
  1000. package/json-schema/identity/SCIMPatchOperation.json +31 -0
  1001. package/json-schema/identity/SCIMPatchRequest.json +56 -0
  1002. package/json-schema/identity/SCIMPhoneNumber.json +40 -0
  1003. package/json-schema/identity/SCIMUser.json +462 -0
  1004. package/json-schema/identity/Session.json +63 -0
  1005. package/json-schema/identity/User.json +51 -0
  1006. package/json-schema/identity/VerificationToken.json +36 -0
  1007. package/json-schema/integration/AckMode.json +9 -1
  1008. package/json-schema/integration/ApiVersionConfig.json +26 -1
  1009. package/json-schema/integration/Authentication.json +140 -1
  1010. package/json-schema/integration/BuildConfig.json +33 -1
  1011. package/json-schema/integration/CdcConfig.json +49 -1
  1012. package/json-schema/integration/ConflictResolution.json +10 -1
  1013. package/json-schema/integration/Connector.json +861 -1
  1014. package/json-schema/integration/ConnectorAction.json +37 -0
  1015. package/json-schema/integration/ConnectorStatus.json +10 -1
  1016. package/json-schema/integration/ConnectorTrigger.json +40 -0
  1017. package/json-schema/integration/ConnectorType.json +12 -1
  1018. package/json-schema/integration/ConsumerConfig.json +61 -1
  1019. package/json-schema/integration/DataSyncConfig.json +73 -1
  1020. package/json-schema/integration/DatabaseConnector.json +1314 -1
  1021. package/json-schema/integration/DatabasePoolConfig.json +47 -1
  1022. package/json-schema/integration/DatabaseProvider.json +18 -1
  1023. package/json-schema/integration/DatabaseTable.json +210 -1
  1024. package/json-schema/integration/DeliveryGuarantee.json +9 -1
  1025. package/json-schema/integration/DeploymentConfig.json +71 -1
  1026. package/json-schema/integration/DlqConfig.json +31 -1
  1027. package/json-schema/integration/DomainConfig.json +45 -1
  1028. package/json-schema/integration/EdgeFunctionConfig.json +39 -1
  1029. package/json-schema/integration/EnvironmentVariables.json +40 -1
  1030. package/json-schema/integration/FieldMapping.json +164 -1
  1031. package/json-schema/integration/FieldTransform.json +30 -1
  1032. package/json-schema/integration/FileAccessPattern.json +11 -1
  1033. package/json-schema/integration/FileFilterConfig.json +44 -1
  1034. package/json-schema/integration/FileMetadataConfig.json +35 -1
  1035. package/json-schema/integration/FileStorageConnector.json +1182 -1
  1036. package/json-schema/integration/FileStorageProvider.json +17 -1
  1037. package/json-schema/integration/FileVersioningConfig.json +22 -1
  1038. package/json-schema/integration/GitHubActionsWorkflow.json +52 -1
  1039. package/json-schema/integration/GitHubCommitConfig.json +29 -1
  1040. package/json-schema/integration/GitHubConnector.json +1189 -1
  1041. package/json-schema/integration/GitHubIssueTracking.json +55 -1
  1042. package/json-schema/integration/GitHubProvider.json +8 -1
  1043. package/json-schema/integration/GitHubPullRequestConfig.json +45 -1
  1044. package/json-schema/integration/GitHubReleaseConfig.json +34 -1
  1045. package/json-schema/integration/GitHubRepository.json +68 -1
  1046. package/json-schema/integration/GitRepositoryConfig.json +38 -1
  1047. package/json-schema/integration/MessageFormat.json +12 -1
  1048. package/json-schema/integration/MessageQueueConnector.json +1267 -1
  1049. package/json-schema/integration/MessageQueueProvider.json +19 -1
  1050. package/json-schema/integration/MultipartUploadConfig.json +30 -1
  1051. package/json-schema/integration/ProducerConfig.json +66 -1
  1052. package/json-schema/integration/RateLimitConfig.json +63 -1
  1053. package/json-schema/integration/RateLimitStrategy.json +10 -1
  1054. package/json-schema/integration/RetryConfig.json +67 -1
  1055. package/json-schema/integration/RetryStrategy.json +10 -1
  1056. package/json-schema/integration/SaasConnector.json +1209 -1
  1057. package/json-schema/integration/SaasObjectType.json +212 -1
  1058. package/json-schema/integration/SaasProvider.json +18 -1
  1059. package/json-schema/integration/SslConfig.json +28 -1
  1060. package/json-schema/integration/StorageBucket.json +93 -1
  1061. package/json-schema/integration/SyncStrategy.json +10 -1
  1062. package/json-schema/integration/TopicQueue.json +246 -1
  1063. package/json-schema/integration/VercelConnector.json +1286 -1
  1064. package/json-schema/integration/VercelFramework.json +18 -1
  1065. package/json-schema/integration/VercelMonitoring.json +58 -1
  1066. package/json-schema/integration/VercelProject.json +316 -1
  1067. package/json-schema/integration/VercelProvider.json +7 -1
  1068. package/json-schema/integration/VercelTeam.json +14 -1
  1069. package/json-schema/integration/WebhookConfig.json +195 -1
  1070. package/json-schema/integration/WebhookEvent.json +14 -1
  1071. package/json-schema/integration/WebhookSignatureAlgorithm.json +9 -1
  1072. package/json-schema/kernel/AdvancedPluginLifecycleConfig.json +424 -0
  1073. package/json-schema/kernel/BreakingChange.json +63 -0
  1074. package/json-schema/kernel/CapabilityConformanceLevel.json +16 -0
  1075. package/json-schema/kernel/CompatibilityLevel.json +17 -0
  1076. package/json-schema/kernel/CompatibilityMatrixEntry.json +123 -0
  1077. package/json-schema/kernel/DeadLetterQueueEntry.json +137 -0
  1078. package/json-schema/kernel/DependencyConflict.json +102 -0
  1079. package/json-schema/kernel/DependencyResolutionResult.json +163 -0
  1080. package/json-schema/kernel/DeprecationNotice.json +38 -0
  1081. package/json-schema/kernel/DistributedStateConfig.json +78 -0
  1082. package/json-schema/kernel/Event.json +77 -0
  1083. package/json-schema/kernel/EventBusConfig.json +552 -0
  1084. package/json-schema/kernel/EventHandler.json +63 -0
  1085. package/json-schema/kernel/EventLogEntry.json +153 -0
  1086. package/json-schema/kernel/EventMessageQueueConfig.json +79 -0
  1087. package/json-schema/kernel/EventMetadata.json +53 -0
  1088. package/json-schema/kernel/EventPersistence.json +36 -0
  1089. package/json-schema/kernel/EventPhase.json +15 -0
  1090. package/json-schema/kernel/EventPriority.json +16 -0
  1091. package/json-schema/kernel/EventQueueConfig.json +67 -0
  1092. package/json-schema/kernel/EventReplayConfig.json +50 -0
  1093. package/json-schema/kernel/EventRoute.json +27 -0
  1094. package/json-schema/kernel/EventSourcingConfig.json +65 -0
  1095. package/json-schema/kernel/EventTypeDefinition.json +45 -0
  1096. package/json-schema/kernel/EventWebhookConfig.json +119 -0
  1097. package/json-schema/kernel/ExtensionPoint.json +67 -0
  1098. package/json-schema/kernel/FeatureFlag.json +87 -0
  1099. package/json-schema/kernel/FeatureStrategy.json +16 -0
  1100. package/json-schema/kernel/GracefulDegradation.json +87 -0
  1101. package/json-schema/kernel/HealthStatus.json +33 -0
  1102. package/json-schema/kernel/HookRegisteredEvent.json +30 -0
  1103. package/json-schema/kernel/HookTriggeredEvent.json +34 -0
  1104. package/json-schema/kernel/HotReloadConfig.json +138 -0
  1105. package/json-schema/kernel/KernelContext.json +62 -0
  1106. package/json-schema/kernel/KernelEventBase.json +19 -0
  1107. package/json-schema/kernel/KernelReadyEvent.json +29 -0
  1108. package/json-schema/kernel/KernelShutdownEvent.json +23 -0
  1109. package/json-schema/kernel/Manifest.json +1432 -0
  1110. package/json-schema/kernel/MetadataCollectionInfo.json +53 -0
  1111. package/json-schema/kernel/MetadataExportOptions.json +49 -0
  1112. package/json-schema/kernel/MetadataFormat.json +15 -0
  1113. package/json-schema/kernel/MetadataImportOptions.json +42 -0
  1114. package/json-schema/kernel/MetadataLoadOptions.json +52 -0
  1115. package/json-schema/kernel/MetadataLoadResult.json +86 -0
  1116. package/json-schema/kernel/MetadataLoaderContract.json +77 -0
  1117. package/json-schema/kernel/MetadataManagerConfig.json +108 -0
  1118. package/json-schema/kernel/MetadataSaveOptions.json +64 -0
  1119. package/json-schema/kernel/MetadataSaveResult.json +42 -0
  1120. package/json-schema/kernel/MetadataStats.json +51 -0
  1121. package/json-schema/kernel/MetadataWatchEvent.json +48 -0
  1122. package/json-schema/kernel/MultiVersionSupport.json +91 -0
  1123. package/json-schema/kernel/OpsDomainModule.json +26 -0
  1124. package/json-schema/kernel/OpsFilePath.json +9 -0
  1125. package/json-schema/kernel/OpsPluginStructure.json +26 -0
  1126. package/json-schema/kernel/Permission.json +110 -0
  1127. package/json-schema/kernel/PermissionAction.json +23 -0
  1128. package/json-schema/kernel/PermissionScope.json +17 -0
  1129. package/json-schema/kernel/PermissionSet.json +160 -0
  1130. package/json-schema/kernel/Plugin.json +32 -0
  1131. package/json-schema/kernel/PluginCaching.json +77 -0
  1132. package/json-schema/kernel/PluginCapability.json +127 -0
  1133. package/json-schema/kernel/PluginCapabilityManifest.json +410 -0
  1134. package/json-schema/kernel/PluginCodeSplitting.json +56 -0
  1135. package/json-schema/kernel/PluginCompatibilityMatrix.json +177 -0
  1136. package/json-schema/kernel/PluginContext.json +82 -0
  1137. package/json-schema/kernel/PluginDependency.json +39 -0
  1138. package/json-schema/kernel/PluginDependencyResolution.json +88 -0
  1139. package/json-schema/kernel/PluginDynamicImport.json +69 -0
  1140. package/json-schema/kernel/PluginErrorEvent.json +46 -0
  1141. package/json-schema/kernel/PluginEventBase.json +24 -0
  1142. package/json-schema/kernel/PluginHealthCheck.json +61 -0
  1143. package/json-schema/kernel/PluginHealthReport.json +128 -0
  1144. package/json-schema/kernel/PluginHealthStatus.json +18 -0
  1145. package/json-schema/kernel/PluginHotReload.json +80 -0
  1146. package/json-schema/kernel/PluginInitialization.json +64 -0
  1147. package/json-schema/kernel/PluginInterface.json +141 -0
  1148. package/json-schema/{system → kernel}/PluginLifecycle.json +5 -1
  1149. package/json-schema/kernel/PluginLifecycleEventType.json +31 -0
  1150. package/json-schema/kernel/PluginLifecyclePhaseEvent.json +38 -0
  1151. package/json-schema/kernel/PluginLoadingConfig.json +635 -0
  1152. package/json-schema/kernel/PluginLoadingEvent.json +67 -0
  1153. package/json-schema/kernel/PluginLoadingState.json +54 -0
  1154. package/json-schema/kernel/PluginLoadingStrategy.json +17 -0
  1155. package/json-schema/kernel/PluginMetadata.json +37 -0
  1156. package/json-schema/kernel/PluginPerformanceMonitoring.json +70 -0
  1157. package/json-schema/kernel/PluginPreloadConfig.json +73 -0
  1158. package/json-schema/kernel/PluginRegisteredEvent.json +28 -0
  1159. package/json-schema/kernel/PluginSandboxing.json +87 -0
  1160. package/json-schema/kernel/PluginSecurityManifest.json +1189 -0
  1161. package/json-schema/kernel/PluginStartupResult.json +73 -0
  1162. package/json-schema/kernel/PluginStateSnapshot.json +50 -0
  1163. package/json-schema/kernel/PluginTrustLevel.json +17 -0
  1164. package/json-schema/kernel/PluginUpdateStrategy.json +102 -0
  1165. package/json-schema/kernel/PluginVersionMetadata.json +362 -0
  1166. package/json-schema/kernel/ProtocolFeature.json +34 -0
  1167. package/json-schema/kernel/ProtocolReference.json +56 -0
  1168. package/json-schema/kernel/ProtocolVersion.json +30 -0
  1169. package/json-schema/kernel/RealTimeNotificationConfig.json +85 -0
  1170. package/json-schema/kernel/ResourceType.json +28 -0
  1171. package/json-schema/kernel/RuntimeConfig.json +138 -0
  1172. package/json-schema/kernel/RuntimeMode.json +16 -0
  1173. package/json-schema/kernel/SandboxConfig.json +312 -0
  1174. package/json-schema/kernel/ScopeConfig.json +28 -0
  1175. package/json-schema/kernel/ScopeInfo.json +39 -0
  1176. package/json-schema/kernel/SecurityPolicy.json +172 -0
  1177. package/json-schema/kernel/SecurityScanResult.json +352 -0
  1178. package/json-schema/kernel/SecurityVulnerability.json +92 -0
  1179. package/json-schema/kernel/SemanticVersion.json +41 -0
  1180. package/json-schema/kernel/ServiceFactoryRegistration.json +44 -0
  1181. package/json-schema/kernel/ServiceMetadata.json +43 -0
  1182. package/json-schema/kernel/ServiceRegisteredEvent.json +28 -0
  1183. package/json-schema/kernel/ServiceRegistryConfig.json +39 -0
  1184. package/json-schema/kernel/ServiceScopeType.json +15 -0
  1185. package/json-schema/kernel/ServiceUnregisteredEvent.json +24 -0
  1186. package/json-schema/kernel/StartupOptions.json +36 -0
  1187. package/json-schema/kernel/StartupOrchestrationResult.json +104 -0
  1188. package/json-schema/kernel/ValidationError.json +28 -0
  1189. package/json-schema/kernel/ValidationResult.json +71 -0
  1190. package/json-schema/kernel/ValidationWarning.json +28 -0
  1191. package/json-schema/kernel/VersionConstraint.json +60 -0
  1192. package/json-schema/qa/TestAction.json +36 -1
  1193. package/json-schema/qa/TestActionType.json +13 -1
  1194. package/json-schema/qa/TestAssertion.json +31 -1
  1195. package/json-schema/qa/TestAssertionType.json +16 -1
  1196. package/json-schema/qa/TestContext.json +5 -1
  1197. package/json-schema/qa/TestScenario.json +335 -1
  1198. package/json-schema/qa/TestStep.json +93 -1
  1199. package/json-schema/qa/TestSuite.json +351 -1
  1200. package/json-schema/security/AuditPolicy.json +31 -0
  1201. package/json-schema/security/CriteriaSharingRule.json +82 -0
  1202. package/json-schema/security/FieldPermission.json +22 -0
  1203. package/json-schema/security/NetworkPolicy.json +31 -0
  1204. package/json-schema/security/OWDModel.json +15 -0
  1205. package/json-schema/security/ObjectPermission.json +57 -0
  1206. package/json-schema/security/OwnerSharingRule.json +102 -0
  1207. package/json-schema/security/PasswordPolicy.json +41 -0
  1208. package/json-schema/security/PermissionSet.json +193 -0
  1209. package/json-schema/security/Policy.json +138 -0
  1210. package/json-schema/security/RLSConfig.json +59 -0
  1211. package/json-schema/security/RLSEvaluationResult.json +40 -0
  1212. package/json-schema/security/RLSOperation.json +16 -0
  1213. package/json-schema/security/RLSUserContext.json +51 -0
  1214. package/json-schema/security/RowLevelSecurityPolicy.json +77 -0
  1215. package/json-schema/security/SessionPolicy.json +27 -0
  1216. package/json-schema/security/ShareRecipientType.json +16 -0
  1217. package/json-schema/security/SharingLevel.json +14 -0
  1218. package/json-schema/security/SharingRule.json +182 -0
  1219. package/json-schema/{permission → security}/SharingRuleType.json +7 -1
  1220. package/json-schema/security/Territory.json +79 -0
  1221. package/json-schema/security/TerritoryModel.json +34 -0
  1222. package/json-schema/security/TerritoryType.json +15 -0
  1223. package/json-schema/shared/CorsConfig.json +51 -1
  1224. package/json-schema/shared/EventName.json +6 -1
  1225. package/json-schema/shared/FieldMapping.json +136 -1
  1226. package/json-schema/shared/HttpMethod.json +12 -1
  1227. package/json-schema/shared/RateLimitConfig.json +21 -1
  1228. package/json-schema/shared/SnakeCaseIdentifier.json +6 -1
  1229. package/json-schema/shared/StaticMount.json +22 -1
  1230. package/json-schema/shared/SystemIdentifier.json +6 -1
  1231. package/json-schema/shared/TransformType.json +114 -1
  1232. package/json-schema/system/AccessControlConfig.json +100 -1
  1233. package/json-schema/system/AddFieldOperation.json +877 -1
  1234. package/json-schema/system/AnalyzerConfig.json +35 -1
  1235. package/json-schema/system/AuditConfig.json +580 -1
  1236. package/json-schema/system/AuditEvent.json +226 -1
  1237. package/json-schema/system/AuditEventActor.json +42 -1
  1238. package/json-schema/system/AuditEventChange.json +19 -1
  1239. package/json-schema/system/AuditEventFilter.json +121 -1
  1240. package/json-schema/system/AuditEventSeverity.json +13 -1
  1241. package/json-schema/system/AuditEventTarget.json +27 -1
  1242. package/json-schema/system/AuditEventType.json +47 -1
  1243. package/json-schema/system/AuditLogConfig.json +42 -1
  1244. package/json-schema/system/AuditRetentionPolicy.json +67 -1
  1245. package/json-schema/system/AuditStorageConfig.json +54 -1
  1246. package/json-schema/system/AuthConfig.json +100 -0
  1247. package/json-schema/system/AuthPluginConfig.json +32 -0
  1248. package/json-schema/system/AuthProviderConfig.json +36 -0
  1249. package/json-schema/system/AwarenessEvent.json +45 -1
  1250. package/json-schema/system/AwarenessSession.json +111 -1
  1251. package/json-schema/system/AwarenessUpdate.json +29 -1
  1252. package/json-schema/system/AwarenessUserState.json +71 -1
  1253. package/json-schema/system/BatchProgress.json +66 -1
  1254. package/json-schema/system/BatchTask.json +57 -1
  1255. package/json-schema/system/BucketConfig.json +326 -1
  1256. package/json-schema/system/CRDTMergeResult.json +289 -1
  1257. package/json-schema/system/CRDTState.json +252 -1
  1258. package/json-schema/system/CRDTType.json +14 -1
  1259. package/json-schema/system/CacheConfig.json +115 -1
  1260. package/json-schema/system/CacheInvalidation.json +37 -1
  1261. package/json-schema/system/CacheStrategy.json +10 -1
  1262. package/json-schema/system/CacheTier.json +46 -1
  1263. package/json-schema/system/ChangeImpact.json +49 -1
  1264. package/json-schema/system/ChangePriority.json +9 -1
  1265. package/json-schema/system/ChangeRequest.json +307 -1
  1266. package/json-schema/system/ChangeSet.json +7418 -1
  1267. package/json-schema/system/ChangeStatus.json +15 -1
  1268. package/json-schema/system/ChangeType.json +9 -1
  1269. package/json-schema/system/CollaborationMode.json +9 -1
  1270. package/json-schema/system/CollaborationSession.json +569 -1
  1271. package/json-schema/system/CollaborationSessionConfig.json +80 -1
  1272. package/json-schema/system/CollaborativeCursor.json +183 -1
  1273. package/json-schema/system/ComplianceConfig.json +196 -1
  1274. package/json-schema/system/ConsoleDestinationConfig.json +23 -1
  1275. package/json-schema/system/ConsumerConfig.json +28 -1
  1276. package/json-schema/system/CoreServiceName.json +25 -0
  1277. package/json-schema/system/CounterOperation.json +24 -1
  1278. package/json-schema/system/CreateObjectOperation.json +2696 -1
  1279. package/json-schema/system/CronSchedule.json +23 -1
  1280. package/json-schema/system/CursorColorPreset.json +15 -1
  1281. package/json-schema/system/CursorSelection.json +60 -1
  1282. package/json-schema/system/CursorStyle.json +53 -1
  1283. package/json-schema/system/CursorUpdate.json +95 -1
  1284. package/json-schema/system/DeadLetterQueue.json +20 -1
  1285. package/json-schema/system/DeleteObjectOperation.json +17 -1
  1286. package/json-schema/system/EmailTemplate.json +63 -1
  1287. package/json-schema/system/EncryptionAlgorithm.json +8 -1
  1288. package/json-schema/system/EncryptionConfig.json +87 -1
  1289. package/json-schema/system/ExecuteSqlOperation.json +20 -1
  1290. package/json-schema/system/ExtendedLogLevel.json +12 -1
  1291. package/json-schema/system/ExternalServiceDestinationConfig.json +45 -1
  1292. package/json-schema/system/FacetConfig.json +24 -1
  1293. package/json-schema/system/FieldEncryption.json +104 -1
  1294. package/json-schema/system/FileDestinationConfig.json +50 -1
  1295. package/json-schema/system/FileMetadata.json +44 -1
  1296. package/json-schema/system/GCounter.json +22 -1
  1297. package/json-schema/system/GDPRConfig.json +65 -1
  1298. package/json-schema/system/HIPAAConfig.json +39 -1
  1299. package/json-schema/system/HistogramBucketConfig.json +86 -1
  1300. package/json-schema/system/HttpDestinationConfig.json +105 -1
  1301. package/json-schema/system/HttpServerConfig.json +150 -1
  1302. package/json-schema/system/InAppNotification.json +42 -1
  1303. package/json-schema/system/IntervalSchedule.json +19 -1
  1304. package/json-schema/system/Job.json +126 -1
  1305. package/json-schema/system/JobExecution.json +43 -1
  1306. package/json-schema/system/JobExecutionStatus.json +9 -1
  1307. package/json-schema/system/KernelServiceMap.json +30 -0
  1308. package/json-schema/system/KeyManagementProvider.json +10 -1
  1309. package/json-schema/system/KeyRotationPolicy.json +23 -1
  1310. package/json-schema/system/LWWRegister.json +45 -1
  1311. package/json-schema/system/LifecycleAction.json +9 -1
  1312. package/json-schema/system/LifecyclePolicyConfig.json +78 -1
  1313. package/json-schema/system/LifecyclePolicyRule.json +62 -1
  1314. package/json-schema/system/Locale.json +4 -1
  1315. package/json-schema/system/LogDestination.json +289 -1
  1316. package/json-schema/system/LogDestinationType.json +20 -1
  1317. package/json-schema/system/LogEnrichmentConfig.json +53 -1
  1318. package/json-schema/system/LogEntry.json +58 -1
  1319. package/json-schema/system/LogFormat.json +9 -1
  1320. package/json-schema/system/LogLevel.json +12 -1
  1321. package/json-schema/system/LoggerConfig.json +69 -1
  1322. package/json-schema/system/LoggingConfig.json +608 -1
  1323. package/json-schema/system/MaskingConfig.json +71 -1
  1324. package/json-schema/system/MaskingRule.json +51 -1
  1325. package/json-schema/system/MaskingStrategy.json +12 -1
  1326. package/json-schema/system/MessageQueueConfig.json +137 -1
  1327. package/json-schema/system/MessageQueueProvider.json +11 -1
  1328. package/json-schema/system/MetadataCollectionInfo.json +23 -1
  1329. package/json-schema/system/MetadataExportOptions.json +38 -1
  1330. package/json-schema/system/MetadataFormat.json +12 -1
  1331. package/json-schema/system/MetadataImportOptions.json +26 -1
  1332. package/json-schema/system/MetadataLoadOptions.json +49 -1
  1333. package/json-schema/system/MetadataLoadResult.json +72 -1
  1334. package/json-schema/system/MetadataLoaderContract.json +57 -1
  1335. package/json-schema/system/MetadataManagerConfig.json +37 -1
  1336. package/json-schema/system/MetadataRecord.json +83 -0
  1337. package/json-schema/system/MetadataSaveOptions.json +48 -1
  1338. package/json-schema/system/MetadataSaveResult.json +65 -1
  1339. package/json-schema/system/MetadataScope.json +14 -0
  1340. package/json-schema/system/MetadataState.json +15 -0
  1341. package/json-schema/system/MetadataStats.json +38 -1
  1342. package/json-schema/system/MetadataWatchEvent.json +73 -1
  1343. package/json-schema/system/MetricAggregationConfig.json +63 -1
  1344. package/json-schema/system/MetricAggregationType.json +19 -1
  1345. package/json-schema/system/MetricDataPoint.json +129 -1
  1346. package/json-schema/system/MetricDefinition.json +187 -1
  1347. package/json-schema/system/MetricExportConfig.json +87 -1
  1348. package/json-schema/system/MetricLabels.json +7 -1
  1349. package/json-schema/system/MetricType.json +10 -1
  1350. package/json-schema/system/MetricUnit.json +26 -1
  1351. package/json-schema/system/MetricsConfig.json +712 -1
  1352. package/json-schema/system/MiddlewareConfig.json +64 -1
  1353. package/json-schema/system/MiddlewareType.json +12 -1
  1354. package/json-schema/system/MigrationDependency.json +15 -1
  1355. package/json-schema/system/MigrationOperation.json +3682 -1
  1356. package/json-schema/system/ModifyFieldOperation.json +26 -1
  1357. package/json-schema/system/MultipartUploadConfig.json +43 -1
  1358. package/json-schema/system/NotificationChannel.json +12 -1
  1359. package/json-schema/system/NotificationConfig.json +337 -1
  1360. package/json-schema/system/ORSet.json +51 -1
  1361. package/json-schema/system/ORSetElement.json +33 -1
  1362. package/json-schema/system/OTComponent.json +70 -1
  1363. package/json-schema/system/OTOperation.json +122 -1
  1364. package/json-schema/system/OTOperationType.json +8 -1
  1365. package/json-schema/system/OTTransformResult.json +144 -1
  1366. package/json-schema/system/ObjectMetadata.json +84 -1
  1367. package/json-schema/system/ObjectStorageConfig.json +469 -1
  1368. package/json-schema/system/OnceSchedule.json +19 -1
  1369. package/json-schema/system/OpenTelemetryCompatibility.json +190 -1
  1370. package/json-schema/system/OtelExporterType.json +16 -1
  1371. package/json-schema/system/PCIDSSConfig.json +41 -1
  1372. package/json-schema/system/PNCounter.json +31 -1
  1373. package/json-schema/system/PresignedUrlConfig.json +43 -1
  1374. package/json-schema/system/PushNotification.json +54 -1
  1375. package/json-schema/system/QueueConfig.json +127 -1
  1376. package/json-schema/system/RemoveFieldOperation.json +21 -1
  1377. package/json-schema/system/RenameObjectOperation.json +21 -1
  1378. package/json-schema/system/RetryPolicy.json +24 -1
  1379. package/json-schema/system/RollbackPlan.json +45 -1
  1380. package/json-schema/system/RouteHandlerMetadata.json +79 -1
  1381. package/json-schema/system/SMSTemplate.json +30 -1
  1382. package/json-schema/system/SamplingDecision.json +9 -1
  1383. package/json-schema/system/SamplingStrategyType.json +14 -1
  1384. package/json-schema/system/Schedule.json +65 -1
  1385. package/json-schema/system/SearchConfig.json +189 -1
  1386. package/json-schema/system/SearchIndexConfig.json +72 -1
  1387. package/json-schema/system/SearchProvider.json +10 -1
  1388. package/json-schema/system/ServerCapabilities.json +57 -1
  1389. package/json-schema/system/ServerEvent.json +33 -1
  1390. package/json-schema/system/ServerEventType.json +12 -1
  1391. package/json-schema/system/ServerStatus.json +87 -1
  1392. package/json-schema/system/ServiceConfig.json +42 -0
  1393. package/json-schema/system/ServiceCriticality.json +14 -0
  1394. package/json-schema/system/ServiceLevelIndicator.json +99 -1
  1395. package/json-schema/system/ServiceLevelObjective.json +164 -1
  1396. package/json-schema/system/ServiceStatus.json +62 -0
  1397. package/json-schema/system/Span.json +381 -1
  1398. package/json-schema/system/SpanAttributeValue.json +32 -1
  1399. package/json-schema/system/SpanAttributes.json +36 -1
  1400. package/json-schema/system/SpanEvent.json +56 -1
  1401. package/json-schema/system/SpanKind.json +11 -1
  1402. package/json-schema/system/SpanLink.json +104 -1
  1403. package/json-schema/system/SpanStatus.json +9 -1
  1404. package/json-schema/system/StorageAcl.json +12 -1
  1405. package/json-schema/system/StorageClass.json +11 -1
  1406. package/json-schema/system/StorageConnection.json +56 -1
  1407. package/json-schema/system/StorageProvider.json +15 -1
  1408. package/json-schema/system/StorageScope.json +16 -1
  1409. package/json-schema/system/StructuredLogEntry.json +185 -1
  1410. package/json-schema/system/SuspiciousActivityRule.json +169 -1
  1411. package/json-schema/system/Task.json +139 -1
  1412. package/json-schema/system/TaskExecutionResult.json +79 -1
  1413. package/json-schema/system/TaskPriority.json +10 -1
  1414. package/json-schema/system/TaskRetryPolicy.json +40 -1
  1415. package/json-schema/system/TaskStatus.json +13 -1
  1416. package/json-schema/system/TextCRDTOperation.json +46 -1
  1417. package/json-schema/system/TextCRDTState.json +99 -1
  1418. package/json-schema/system/TimeSeries.json +63 -1
  1419. package/json-schema/system/TimeSeriesDataPoint.json +27 -1
  1420. package/json-schema/system/TopicConfig.json +33 -1
  1421. package/json-schema/system/TraceContext.json +58 -1
  1422. package/json-schema/system/TraceContextPropagation.json +73 -1
  1423. package/json-schema/system/TraceFlags.json +6 -1
  1424. package/json-schema/system/TracePropagationFormat.json +13 -1
  1425. package/json-schema/system/TraceSamplingConfig.json +180 -1
  1426. package/json-schema/system/TraceState.json +17 -1
  1427. package/json-schema/system/TracingConfig.json +533 -1
  1428. package/json-schema/system/TranslationBundle.json +72 -1
  1429. package/json-schema/system/TranslationData.json +69 -1
  1430. package/json-schema/system/UserActivityStatus.json +9 -1
  1431. package/json-schema/system/VectorClock.json +17 -1
  1432. package/json-schema/system/WorkerConfig.json +182 -1
  1433. package/json-schema/system/WorkerStats.json +84 -1
  1434. package/json-schema/ui/Action.json +180 -1
  1435. package/json-schema/ui/ActionParam.json +89 -1
  1436. package/json-schema/ui/Animation.json +50 -1
  1437. package/json-schema/ui/App.json +307 -1
  1438. package/json-schema/ui/AppBranding.json +18 -1
  1439. package/json-schema/ui/BorderRadius.json +38 -1
  1440. package/json-schema/ui/Breakpoints.json +30 -1
  1441. package/json-schema/ui/CalendarConfig.json +22 -1
  1442. package/json-schema/ui/ChartAnnotation.json +60 -0
  1443. package/json-schema/ui/ChartAxis.json +57 -0
  1444. package/json-schema/ui/ChartConfig.json +353 -1
  1445. package/json-schema/ui/ChartInteraction.json +28 -0
  1446. package/json-schema/ui/ChartSeries.json +84 -0
  1447. package/json-schema/ui/ChartType.json +43 -1
  1448. package/json-schema/ui/ColorPalette.json +77 -1
  1449. package/json-schema/ui/Dashboard.json +515 -1
  1450. package/json-schema/ui/DashboardNavItem.json +38 -1
  1451. package/json-schema/ui/DashboardWidget.json +487 -1
  1452. package/json-schema/ui/FieldWidgetProps.json +892 -1
  1453. package/json-schema/ui/FormField.json +55 -1
  1454. package/json-schema/ui/FormSection.json +95 -1
  1455. package/json-schema/ui/FormView.json +351 -1
  1456. package/json-schema/ui/GanttConfig.json +26 -1
  1457. package/json-schema/ui/GroupNavItem.json +38 -1
  1458. package/json-schema/ui/HttpMethod.json +10 -1
  1459. package/json-schema/ui/HttpRequest.json +40 -1
  1460. package/json-schema/ui/KanbanConfig.json +25 -1
  1461. package/json-schema/ui/ListColumn.json +59 -1
  1462. package/json-schema/ui/ListView.json +453 -1
  1463. package/json-schema/ui/NavigationConfig.json +46 -0
  1464. package/json-schema/ui/NavigationItem.json +223 -1
  1465. package/json-schema/ui/NavigationMode.json +18 -0
  1466. package/json-schema/ui/ObjectNavItem.json +42 -1
  1467. package/json-schema/ui/Page.json +190 -1
  1468. package/json-schema/ui/PageCardProps.json +27 -1
  1469. package/json-schema/ui/PageComponent.json +78 -1
  1470. package/json-schema/ui/PageComponentType.json +26 -1
  1471. package/json-schema/ui/PageHeaderProps.json +33 -1
  1472. package/json-schema/ui/PageNavItem.json +43 -1
  1473. package/json-schema/ui/PageRegion.json +105 -1
  1474. package/json-schema/ui/PageTabsProps.json +49 -1
  1475. package/json-schema/ui/PageVariable.json +31 -0
  1476. package/json-schema/ui/PaginationConfig.json +20 -1
  1477. package/json-schema/ui/RecordDetailsProps.json +31 -1
  1478. package/json-schema/ui/RecordHighlightsProps.json +18 -1
  1479. package/json-schema/ui/RecordRelatedListProps.json +33 -1
  1480. package/json-schema/ui/Report.json +428 -1
  1481. package/json-schema/ui/ReportChart.json +260 -1
  1482. package/json-schema/ui/ReportColumn.json +29 -1
  1483. package/json-schema/ui/ReportGrouping.json +32 -1
  1484. package/json-schema/ui/ReportType.json +9 -1
  1485. package/json-schema/ui/SelectionConfig.json +16 -1
  1486. package/json-schema/ui/Shadow.json +38 -1
  1487. package/json-schema/ui/Spacing.json +58 -1
  1488. package/json-schema/ui/Theme.json +537 -1
  1489. package/json-schema/ui/ThemeMode.json +8 -1
  1490. package/json-schema/ui/Typography.json +136 -1
  1491. package/json-schema/ui/UrlNavItem.json +47 -1
  1492. package/json-schema/ui/View.json +1622 -1
  1493. package/json-schema/ui/ViewData.json +136 -1
  1494. package/json-schema/ui/WidgetEvent.json +36 -1
  1495. package/json-schema/ui/WidgetLifecycle.json +34 -1
  1496. package/json-schema/ui/WidgetManifest.json +310 -1
  1497. package/json-schema/ui/WidgetProperty.json +52 -1
  1498. package/json-schema/ui/WidgetSource.json +83 -0
  1499. package/json-schema/ui/ZIndex.json +38 -1
  1500. package/package.json +3 -3
  1501. package/dist/auth/config.zod.d.ts +0 -1050
  1502. package/dist/auth/config.zod.d.ts.map +0 -1
  1503. package/dist/auth/config.zod.js +0 -641
  1504. package/dist/auth/identity.zod.d.ts +0 -81
  1505. package/dist/auth/identity.zod.d.ts.map +0 -1
  1506. package/dist/auth/index.d.ts.map +0 -1
  1507. package/dist/auth/organization.zod.d.ts +0 -68
  1508. package/dist/auth/organization.zod.d.ts.map +0 -1
  1509. package/dist/auth/policy.zod.d.ts +0 -72
  1510. package/dist/auth/policy.zod.d.ts.map +0 -1
  1511. package/dist/auth/protocol.d.ts.map +0 -1
  1512. package/dist/auth/role.zod.d.ts.map +0 -1
  1513. package/dist/auth/scim.zod.d.ts +0 -570
  1514. package/dist/auth/scim.zod.d.ts.map +0 -1
  1515. package/dist/hub/marketplace-enhanced.zod.d.ts +0 -1028
  1516. package/dist/hub/marketplace-enhanced.zod.d.ts.map +0 -1
  1517. package/dist/hub/marketplace-enhanced.zod.js +0 -728
  1518. package/dist/permission/index.d.ts.map +0 -1
  1519. package/dist/permission/permission.zod.d.ts +0 -96
  1520. package/dist/permission/permission.zod.d.ts.map +0 -1
  1521. package/dist/permission/rls.zod.d.ts +0 -298
  1522. package/dist/permission/rls.zod.d.ts.map +0 -1
  1523. package/dist/permission/sharing.zod.d.ts +0 -112
  1524. package/dist/permission/sharing.zod.d.ts.map +0 -1
  1525. package/dist/permission/territory.zod.d.ts +0 -83
  1526. package/dist/permission/territory.zod.d.ts.map +0 -1
  1527. package/dist/system/context.zod.d.ts +0 -33
  1528. package/dist/system/context.zod.d.ts.map +0 -1
  1529. package/dist/system/datasource.zod.d.ts +0 -85
  1530. package/dist/system/datasource.zod.d.ts.map +0 -1
  1531. package/dist/system/events.zod.d.ts +0 -756
  1532. package/dist/system/events.zod.d.ts.map +0 -1
  1533. package/dist/system/feature.zod.d.ts +0 -73
  1534. package/dist/system/feature.zod.d.ts.map +0 -1
  1535. package/dist/system/manifest.zod.d.ts +0 -430
  1536. package/dist/system/manifest.zod.d.ts.map +0 -1
  1537. package/dist/system/metadata-loader.zod.d.ts +0 -222
  1538. package/dist/system/metadata-loader.zod.d.ts.map +0 -1
  1539. package/dist/system/plugin-capability.zod.d.ts +0 -286
  1540. package/dist/system/plugin-capability.zod.d.ts.map +0 -1
  1541. package/dist/system/plugin-lifecycle-advanced.zod.d.ts +0 -357
  1542. package/dist/system/plugin-lifecycle-advanced.zod.d.ts.map +0 -1
  1543. package/dist/system/plugin-lifecycle-events.zod.d.ts.map +0 -1
  1544. package/dist/system/plugin-loading.zod.d.ts +0 -575
  1545. package/dist/system/plugin-loading.zod.d.ts.map +0 -1
  1546. package/dist/system/plugin-security-advanced.zod.d.ts +0 -904
  1547. package/dist/system/plugin-security-advanced.zod.d.ts.map +0 -1
  1548. package/dist/system/plugin-validator.zod.d.ts +0 -98
  1549. package/dist/system/plugin-validator.zod.d.ts.map +0 -1
  1550. package/dist/system/plugin-versioning.zod.d.ts +0 -438
  1551. package/dist/system/plugin-versioning.zod.d.ts.map +0 -1
  1552. package/dist/system/plugin.zod.d.ts +0 -421
  1553. package/dist/system/plugin.zod.d.ts.map +0 -1
  1554. package/dist/system/plugin.zod.js +0 -123
  1555. package/dist/system/startup-orchestrator.zod.d.ts +0 -119
  1556. package/dist/system/startup-orchestrator.zod.d.ts.map +0 -1
  1557. package/json-schema/auth/APIKey.json +0 -7
  1558. package/json-schema/auth/Account.json +0 -7
  1559. package/json-schema/auth/AccountLinkingConfig.json +0 -7
  1560. package/json-schema/auth/ApplicationAuthConfig.json +0 -7
  1561. package/json-schema/auth/AuditPolicy.json +0 -7
  1562. package/json-schema/auth/AuthConfig.json +0 -7
  1563. package/json-schema/auth/AuthPluginConfig.json +0 -7
  1564. package/json-schema/auth/AuthStrategy.json +0 -7
  1565. package/json-schema/auth/BasicAuth.json +0 -7
  1566. package/json-schema/auth/BearerAuth.json +0 -7
  1567. package/json-schema/auth/CSRFConfig.json +0 -7
  1568. package/json-schema/auth/DatabaseAdapter.json +0 -7
  1569. package/json-schema/auth/DatabaseMapping.json +0 -7
  1570. package/json-schema/auth/EmailPasswordConfig.json +0 -7
  1571. package/json-schema/auth/EnterpriseAuthConfig.json +0 -7
  1572. package/json-schema/auth/Invitation.json +0 -7
  1573. package/json-schema/auth/InvitationStatus.json +0 -7
  1574. package/json-schema/auth/JWTAuth.json +0 -7
  1575. package/json-schema/auth/LDAPConfig.json +0 -7
  1576. package/json-schema/auth/MagicLinkConfig.json +0 -7
  1577. package/json-schema/auth/Member.json +0 -7
  1578. package/json-schema/auth/NetworkPolicy.json +0 -7
  1579. package/json-schema/auth/NoAuth.json +0 -7
  1580. package/json-schema/auth/OAuth2.json +0 -7
  1581. package/json-schema/auth/OAuthProvider.json +0 -7
  1582. package/json-schema/auth/OIDCConfig.json +0 -7
  1583. package/json-schema/auth/Organization.json +0 -7
  1584. package/json-schema/auth/PasskeyConfig.json +0 -7
  1585. package/json-schema/auth/PasswordPolicy.json +0 -7
  1586. package/json-schema/auth/Policy.json +0 -7
  1587. package/json-schema/auth/RateLimitConfig.json +0 -7
  1588. package/json-schema/auth/Role.json +0 -7
  1589. package/json-schema/auth/SAMLAuth.json +0 -7
  1590. package/json-schema/auth/SAMLConfig.json +0 -7
  1591. package/json-schema/auth/SCIMAddress.json +0 -7
  1592. package/json-schema/auth/SCIMEmail.json +0 -7
  1593. package/json-schema/auth/SCIMEnterpriseUser.json +0 -7
  1594. package/json-schema/auth/SCIMError.json +0 -7
  1595. package/json-schema/auth/SCIMGroup.json +0 -7
  1596. package/json-schema/auth/SCIMGroupReference.json +0 -7
  1597. package/json-schema/auth/SCIMListResponse.json +0 -7
  1598. package/json-schema/auth/SCIMMemberReference.json +0 -7
  1599. package/json-schema/auth/SCIMMeta.json +0 -7
  1600. package/json-schema/auth/SCIMName.json +0 -7
  1601. package/json-schema/auth/SCIMPatchOperation.json +0 -7
  1602. package/json-schema/auth/SCIMPatchRequest.json +0 -7
  1603. package/json-schema/auth/SCIMPhoneNumber.json +0 -7
  1604. package/json-schema/auth/SCIMUser.json +0 -7
  1605. package/json-schema/auth/Session.json +0 -7
  1606. package/json-schema/auth/SessionConfig.json +0 -7
  1607. package/json-schema/auth/SessionPolicy.json +0 -7
  1608. package/json-schema/auth/StandardAuthProvider.json +0 -7
  1609. package/json-schema/auth/TwoFactorConfig.json +0 -7
  1610. package/json-schema/auth/User.json +0 -7
  1611. package/json-schema/auth/UserFieldMapping.json +0 -7
  1612. package/json-schema/auth/VerificationToken.json +0 -7
  1613. package/json-schema/automation/SlackMessageAction.json +0 -7
  1614. package/json-schema/automation/SmsNotificationAction.json +0 -7
  1615. package/json-schema/automation/TeamsMessageAction.json +0 -7
  1616. package/json-schema/automation/WebhookTriggerAction.json +0 -7
  1617. package/json-schema/hub/MarketplaceQualityMetrics.json +0 -7
  1618. package/json-schema/hub/PluginCategory.json +0 -7
  1619. package/json-schema/hub/PluginCertification.json +0 -7
  1620. package/json-schema/hub/PluginInstallationRequest.json +0 -7
  1621. package/json-schema/hub/PluginInstallationStatus.json +0 -7
  1622. package/json-schema/hub/PluginLicense.json +0 -7
  1623. package/json-schema/hub/PluginMarketplaceListing.json +0 -7
  1624. package/json-schema/hub/PluginRating.json +0 -7
  1625. package/json-schema/hub/PluginRevenueSharing.json +0 -7
  1626. package/json-schema/hub/PluginSearchQuery.json +0 -7
  1627. package/json-schema/hub/PluginTag.json +0 -7
  1628. package/json-schema/permission/CriteriaSharingRule.json +0 -7
  1629. package/json-schema/permission/FieldPermission.json +0 -7
  1630. package/json-schema/permission/OWDModel.json +0 -7
  1631. package/json-schema/permission/ObjectPermission.json +0 -7
  1632. package/json-schema/permission/OwnerSharingRule.json +0 -7
  1633. package/json-schema/permission/PermissionSet.json +0 -7
  1634. package/json-schema/permission/RLSConfig.json +0 -7
  1635. package/json-schema/permission/RLSEvaluationResult.json +0 -7
  1636. package/json-schema/permission/RLSOperation.json +0 -7
  1637. package/json-schema/permission/RLSUserContext.json +0 -7
  1638. package/json-schema/permission/RowLevelSecurityPolicy.json +0 -7
  1639. package/json-schema/permission/ShareRecipientType.json +0 -7
  1640. package/json-schema/permission/SharingLevel.json +0 -7
  1641. package/json-schema/permission/SharingRule.json +0 -7
  1642. package/json-schema/permission/Territory.json +0 -7
  1643. package/json-schema/permission/TerritoryModel.json +0 -7
  1644. package/json-schema/permission/TerritoryType.json +0 -7
  1645. package/json-schema/system/AdvancedPluginLifecycleConfig.json +0 -7
  1646. package/json-schema/system/BreakingChange.json +0 -7
  1647. package/json-schema/system/CapabilityConformanceLevel.json +0 -7
  1648. package/json-schema/system/CompatibilityLevel.json +0 -7
  1649. package/json-schema/system/CompatibilityMatrixEntry.json +0 -7
  1650. package/json-schema/system/Datasource.json +0 -7
  1651. package/json-schema/system/DatasourceCapabilities.json +0 -7
  1652. package/json-schema/system/DeadLetterQueueEntry.json +0 -7
  1653. package/json-schema/system/DependencyConflict.json +0 -7
  1654. package/json-schema/system/DependencyResolutionResult.json +0 -7
  1655. package/json-schema/system/DeprecationNotice.json +0 -7
  1656. package/json-schema/system/DistributedStateConfig.json +0 -7
  1657. package/json-schema/system/DriverDefinition.json +0 -7
  1658. package/json-schema/system/Event.json +0 -7
  1659. package/json-schema/system/EventBusConfig.json +0 -7
  1660. package/json-schema/system/EventHandler.json +0 -7
  1661. package/json-schema/system/EventLogEntry.json +0 -7
  1662. package/json-schema/system/EventMessageQueueConfig.json +0 -7
  1663. package/json-schema/system/EventMetadata.json +0 -7
  1664. package/json-schema/system/EventPersistence.json +0 -7
  1665. package/json-schema/system/EventPhase.json +0 -7
  1666. package/json-schema/system/EventPriority.json +0 -7
  1667. package/json-schema/system/EventQueueConfig.json +0 -7
  1668. package/json-schema/system/EventReplayConfig.json +0 -7
  1669. package/json-schema/system/EventRoute.json +0 -7
  1670. package/json-schema/system/EventSourcingConfig.json +0 -7
  1671. package/json-schema/system/EventTypeDefinition.json +0 -7
  1672. package/json-schema/system/EventWebhookConfig.json +0 -7
  1673. package/json-schema/system/ExtensionPoint.json +0 -7
  1674. package/json-schema/system/FeatureFlag.json +0 -7
  1675. package/json-schema/system/FeatureStrategy.json +0 -7
  1676. package/json-schema/system/GracefulDegradation.json +0 -7
  1677. package/json-schema/system/HealthStatus.json +0 -7
  1678. package/json-schema/system/HookRegisteredEvent.json +0 -7
  1679. package/json-schema/system/HookTriggeredEvent.json +0 -7
  1680. package/json-schema/system/HotReloadConfig.json +0 -7
  1681. package/json-schema/system/KernelContext.json +0 -7
  1682. package/json-schema/system/KernelEventBase.json +0 -7
  1683. package/json-schema/system/KernelReadyEvent.json +0 -7
  1684. package/json-schema/system/KernelShutdownEvent.json +0 -7
  1685. package/json-schema/system/Manifest.json +0 -7
  1686. package/json-schema/system/MultiVersionSupport.json +0 -7
  1687. package/json-schema/system/Permission.json +0 -7
  1688. package/json-schema/system/PermissionAction.json +0 -7
  1689. package/json-schema/system/PermissionScope.json +0 -7
  1690. package/json-schema/system/PermissionSet.json +0 -7
  1691. package/json-schema/system/Plugin.json +0 -7
  1692. package/json-schema/system/PluginCaching.json +0 -7
  1693. package/json-schema/system/PluginCapability.json +0 -7
  1694. package/json-schema/system/PluginCapabilityManifest.json +0 -7
  1695. package/json-schema/system/PluginCodeSplitting.json +0 -7
  1696. package/json-schema/system/PluginCompatibilityMatrix.json +0 -7
  1697. package/json-schema/system/PluginContext.json +0 -7
  1698. package/json-schema/system/PluginDependency.json +0 -7
  1699. package/json-schema/system/PluginDependencyResolution.json +0 -7
  1700. package/json-schema/system/PluginDynamicImport.json +0 -7
  1701. package/json-schema/system/PluginErrorEvent.json +0 -7
  1702. package/json-schema/system/PluginEventBase.json +0 -7
  1703. package/json-schema/system/PluginHealthCheck.json +0 -7
  1704. package/json-schema/system/PluginHealthReport.json +0 -7
  1705. package/json-schema/system/PluginHealthStatus.json +0 -7
  1706. package/json-schema/system/PluginHotReload.json +0 -7
  1707. package/json-schema/system/PluginInitialization.json +0 -7
  1708. package/json-schema/system/PluginInterface.json +0 -7
  1709. package/json-schema/system/PluginLifecycleEventType.json +0 -7
  1710. package/json-schema/system/PluginLifecyclePhaseEvent.json +0 -7
  1711. package/json-schema/system/PluginLoadingConfig.json +0 -7
  1712. package/json-schema/system/PluginLoadingEvent.json +0 -7
  1713. package/json-schema/system/PluginLoadingState.json +0 -7
  1714. package/json-schema/system/PluginLoadingStrategy.json +0 -7
  1715. package/json-schema/system/PluginMetadata.json +0 -7
  1716. package/json-schema/system/PluginPerformanceMonitoring.json +0 -7
  1717. package/json-schema/system/PluginPreloadConfig.json +0 -7
  1718. package/json-schema/system/PluginRegisteredEvent.json +0 -7
  1719. package/json-schema/system/PluginSandboxing.json +0 -7
  1720. package/json-schema/system/PluginSecurityManifest.json +0 -7
  1721. package/json-schema/system/PluginStartupResult.json +0 -7
  1722. package/json-schema/system/PluginStateSnapshot.json +0 -7
  1723. package/json-schema/system/PluginTrustLevel.json +0 -7
  1724. package/json-schema/system/PluginUpdateStrategy.json +0 -7
  1725. package/json-schema/system/PluginVersionMetadata.json +0 -7
  1726. package/json-schema/system/ProtocolFeature.json +0 -7
  1727. package/json-schema/system/ProtocolReference.json +0 -7
  1728. package/json-schema/system/ProtocolVersion.json +0 -7
  1729. package/json-schema/system/RealTimeNotificationConfig.json +0 -7
  1730. package/json-schema/system/ResourceType.json +0 -7
  1731. package/json-schema/system/RuntimeConfig.json +0 -7
  1732. package/json-schema/system/RuntimeMode.json +0 -7
  1733. package/json-schema/system/SandboxConfig.json +0 -7
  1734. package/json-schema/system/ScopeConfig.json +0 -7
  1735. package/json-schema/system/ScopeInfo.json +0 -7
  1736. package/json-schema/system/SecurityPolicy.json +0 -7
  1737. package/json-schema/system/SecurityScanResult.json +0 -7
  1738. package/json-schema/system/SecurityVulnerability.json +0 -7
  1739. package/json-schema/system/SemanticVersion.json +0 -7
  1740. package/json-schema/system/ServiceFactoryRegistration.json +0 -7
  1741. package/json-schema/system/ServiceMetadata.json +0 -7
  1742. package/json-schema/system/ServiceRegisteredEvent.json +0 -7
  1743. package/json-schema/system/ServiceRegistryConfig.json +0 -7
  1744. package/json-schema/system/ServiceScopeType.json +0 -7
  1745. package/json-schema/system/ServiceUnregisteredEvent.json +0 -7
  1746. package/json-schema/system/StartupOptions.json +0 -7
  1747. package/json-schema/system/StartupOrchestrationResult.json +0 -7
  1748. package/json-schema/system/ValidationError.json +0 -7
  1749. package/json-schema/system/ValidationResult.json +0 -7
  1750. package/json-schema/system/ValidationWarning.json +0 -7
  1751. package/json-schema/system/VersionConstraint.json +0 -7
  1752. /package/dist/{system → data}/datasource.zod.js +0 -0
  1753. /package/dist/{auth → identity}/identity.zod.js +0 -0
  1754. /package/dist/{auth → identity}/organization.zod.js +0 -0
  1755. /package/dist/{auth → identity}/protocol.d.ts +0 -0
  1756. /package/dist/{auth → identity}/protocol.js +0 -0
  1757. /package/dist/{auth → identity}/role.zod.js +0 -0
  1758. /package/dist/{auth → identity}/scim.zod.js +0 -0
  1759. /package/dist/{system → kernel}/context.zod.js +0 -0
  1760. /package/dist/{system → kernel}/feature.zod.js +0 -0
  1761. /package/dist/{system → kernel}/plugin-capability.zod.js +0 -0
  1762. /package/dist/{system → kernel}/plugin-lifecycle-advanced.zod.js +0 -0
  1763. /package/dist/{system → kernel}/plugin-lifecycle-events.zod.js +0 -0
  1764. /package/dist/{system → kernel}/plugin-loading.zod.js +0 -0
  1765. /package/dist/{system → kernel}/plugin-security-advanced.zod.js +0 -0
  1766. /package/dist/{system → kernel}/plugin-validator.zod.js +0 -0
  1767. /package/dist/{system → kernel}/startup-orchestrator.zod.js +0 -0
  1768. /package/dist/{auth → security}/policy.zod.js +0 -0
  1769. /package/dist/{permission → security}/rls.zod.js +0 -0
  1770. /package/dist/{permission → security}/sharing.zod.js +0 -0
  1771. /package/dist/{permission → security}/territory.zod.js +0 -0
@@ -16,700 +16,1153 @@ import { z } from 'zod';
16
16
  * Audit Event Type Enum
17
17
  * Categorizes different types of auditable events in the system
18
18
  */
19
- export declare const AuditEventType: z.ZodEnum<{
20
- "data.create": "data.create";
21
- "data.read": "data.read";
22
- "data.update": "data.update";
23
- "data.delete": "data.delete";
24
- "data.export": "data.export";
25
- "data.import": "data.import";
26
- "data.bulk_update": "data.bulk_update";
27
- "data.bulk_delete": "data.bulk_delete";
28
- "auth.login": "auth.login";
29
- "auth.login_failed": "auth.login_failed";
30
- "auth.logout": "auth.logout";
31
- "auth.session_created": "auth.session_created";
32
- "auth.session_expired": "auth.session_expired";
33
- "auth.password_reset": "auth.password_reset";
34
- "auth.password_changed": "auth.password_changed";
35
- "auth.email_verified": "auth.email_verified";
36
- "auth.mfa_enabled": "auth.mfa_enabled";
37
- "auth.mfa_disabled": "auth.mfa_disabled";
38
- "auth.account_locked": "auth.account_locked";
39
- "auth.account_unlocked": "auth.account_unlocked";
40
- "authz.permission_granted": "authz.permission_granted";
41
- "authz.permission_revoked": "authz.permission_revoked";
42
- "authz.role_assigned": "authz.role_assigned";
43
- "authz.role_removed": "authz.role_removed";
44
- "authz.role_created": "authz.role_created";
45
- "authz.role_updated": "authz.role_updated";
46
- "authz.role_deleted": "authz.role_deleted";
47
- "authz.policy_created": "authz.policy_created";
48
- "authz.policy_updated": "authz.policy_updated";
49
- "authz.policy_deleted": "authz.policy_deleted";
50
- "system.config_changed": "system.config_changed";
51
- "system.plugin_installed": "system.plugin_installed";
52
- "system.plugin_uninstalled": "system.plugin_uninstalled";
53
- "system.backup_created": "system.backup_created";
54
- "system.backup_restored": "system.backup_restored";
55
- "system.integration_added": "system.integration_added";
56
- "system.integration_removed": "system.integration_removed";
57
- "security.access_denied": "security.access_denied";
58
- "security.suspicious_activity": "security.suspicious_activity";
59
- "security.data_breach": "security.data_breach";
60
- "security.api_key_created": "security.api_key_created";
61
- "security.api_key_revoked": "security.api_key_revoked";
62
- }>;
19
+ export declare const AuditEventType: z.ZodEnum<["data.create", "data.read", "data.update", "data.delete", "data.export", "data.import", "data.bulk_update", "data.bulk_delete", "auth.login", "auth.login_failed", "auth.logout", "auth.session_created", "auth.session_expired", "auth.password_reset", "auth.password_changed", "auth.email_verified", "auth.mfa_enabled", "auth.mfa_disabled", "auth.account_locked", "auth.account_unlocked", "authz.permission_granted", "authz.permission_revoked", "authz.role_assigned", "authz.role_removed", "authz.role_created", "authz.role_updated", "authz.role_deleted", "authz.policy_created", "authz.policy_updated", "authz.policy_deleted", "system.config_changed", "system.plugin_installed", "system.plugin_uninstalled", "system.backup_created", "system.backup_restored", "system.integration_added", "system.integration_removed", "security.access_denied", "security.suspicious_activity", "security.data_breach", "security.api_key_created", "security.api_key_revoked"]>;
63
20
  export type AuditEventType = z.infer<typeof AuditEventType>;
64
21
  /**
65
22
  * Audit Event Severity Level
66
23
  * Indicates the importance/criticality of an audit event
67
24
  */
68
- export declare const AuditEventSeverity: z.ZodEnum<{
69
- error: "error";
70
- warning: "warning";
71
- info: "info";
72
- debug: "debug";
73
- notice: "notice";
74
- critical: "critical";
75
- alert: "alert";
76
- emergency: "emergency";
77
- }>;
25
+ export declare const AuditEventSeverity: z.ZodEnum<["debug", "info", "notice", "warning", "error", "critical", "alert", "emergency"]>;
78
26
  export type AuditEventSeverity = z.infer<typeof AuditEventSeverity>;
79
27
  /**
80
28
  * Audit Event Actor Schema
81
29
  * Identifies who/what performed the action
82
30
  */
83
31
  export declare const AuditEventActorSchema: z.ZodObject<{
84
- type: z.ZodEnum<{
85
- user: "user";
86
- system: "system";
87
- service: "service";
88
- api_client: "api_client";
89
- integration: "integration";
90
- }>;
32
+ /**
33
+ * Actor type (user, system, service, api_client, etc.)
34
+ */
35
+ type: z.ZodEnum<["user", "system", "service", "api_client", "integration"]>;
36
+ /**
37
+ * Unique identifier for the actor
38
+ */
91
39
  id: z.ZodString;
40
+ /**
41
+ * Display name of the actor
42
+ */
92
43
  name: z.ZodOptional<z.ZodString>;
44
+ /**
45
+ * Email address (for user actors)
46
+ */
93
47
  email: z.ZodOptional<z.ZodString>;
48
+ /**
49
+ * IP address of the actor
50
+ */
94
51
  ipAddress: z.ZodOptional<z.ZodString>;
52
+ /**
53
+ * User agent string (for web/API requests)
54
+ */
95
55
  userAgent: z.ZodOptional<z.ZodString>;
96
- }, z.core.$strip>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ type: "user" | "system" | "service" | "api_client" | "integration";
58
+ id: string;
59
+ email?: string | undefined;
60
+ name?: string | undefined;
61
+ ipAddress?: string | undefined;
62
+ userAgent?: string | undefined;
63
+ }, {
64
+ type: "user" | "system" | "service" | "api_client" | "integration";
65
+ id: string;
66
+ email?: string | undefined;
67
+ name?: string | undefined;
68
+ ipAddress?: string | undefined;
69
+ userAgent?: string | undefined;
70
+ }>;
97
71
  export type AuditEventActor = z.infer<typeof AuditEventActorSchema>;
98
72
  /**
99
73
  * Audit Event Target Schema
100
74
  * Identifies what was acted upon
101
75
  */
102
76
  export declare const AuditEventTargetSchema: z.ZodObject<{
77
+ /**
78
+ * Target type (e.g., 'object', 'record', 'user', 'role', 'config')
79
+ */
103
80
  type: z.ZodString;
81
+ /**
82
+ * Unique identifier for the target
83
+ */
104
84
  id: z.ZodString;
85
+ /**
86
+ * Display name of the target
87
+ */
105
88
  name: z.ZodOptional<z.ZodString>;
89
+ /**
90
+ * Additional metadata about the target
91
+ */
106
92
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
107
- }, z.core.$strip>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ type: string;
95
+ id: string;
96
+ name?: string | undefined;
97
+ metadata?: Record<string, any> | undefined;
98
+ }, {
99
+ type: string;
100
+ id: string;
101
+ name?: string | undefined;
102
+ metadata?: Record<string, any> | undefined;
103
+ }>;
108
104
  export type AuditEventTarget = z.infer<typeof AuditEventTargetSchema>;
109
105
  /**
110
106
  * Audit Event Change Schema
111
107
  * Describes what changed (for update operations)
112
108
  */
113
109
  export declare const AuditEventChangeSchema: z.ZodObject<{
110
+ /**
111
+ * Field/property that changed
112
+ */
114
113
  field: z.ZodString;
114
+ /**
115
+ * Value before the change
116
+ */
115
117
  oldValue: z.ZodOptional<z.ZodAny>;
118
+ /**
119
+ * Value after the change
120
+ */
116
121
  newValue: z.ZodOptional<z.ZodAny>;
117
- }, z.core.$strip>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ field: string;
124
+ oldValue?: any;
125
+ newValue?: any;
126
+ }, {
127
+ field: string;
128
+ oldValue?: any;
129
+ newValue?: any;
130
+ }>;
118
131
  export type AuditEventChange = z.infer<typeof AuditEventChangeSchema>;
119
132
  /**
120
133
  * Audit Event Schema
121
134
  * Complete audit event record
122
135
  */
123
136
  export declare const AuditEventSchema: z.ZodObject<{
137
+ /**
138
+ * Unique identifier for this audit event
139
+ */
124
140
  id: z.ZodString;
125
- eventType: z.ZodEnum<{
126
- "data.create": "data.create";
127
- "data.read": "data.read";
128
- "data.update": "data.update";
129
- "data.delete": "data.delete";
130
- "data.export": "data.export";
131
- "data.import": "data.import";
132
- "data.bulk_update": "data.bulk_update";
133
- "data.bulk_delete": "data.bulk_delete";
134
- "auth.login": "auth.login";
135
- "auth.login_failed": "auth.login_failed";
136
- "auth.logout": "auth.logout";
137
- "auth.session_created": "auth.session_created";
138
- "auth.session_expired": "auth.session_expired";
139
- "auth.password_reset": "auth.password_reset";
140
- "auth.password_changed": "auth.password_changed";
141
- "auth.email_verified": "auth.email_verified";
142
- "auth.mfa_enabled": "auth.mfa_enabled";
143
- "auth.mfa_disabled": "auth.mfa_disabled";
144
- "auth.account_locked": "auth.account_locked";
145
- "auth.account_unlocked": "auth.account_unlocked";
146
- "authz.permission_granted": "authz.permission_granted";
147
- "authz.permission_revoked": "authz.permission_revoked";
148
- "authz.role_assigned": "authz.role_assigned";
149
- "authz.role_removed": "authz.role_removed";
150
- "authz.role_created": "authz.role_created";
151
- "authz.role_updated": "authz.role_updated";
152
- "authz.role_deleted": "authz.role_deleted";
153
- "authz.policy_created": "authz.policy_created";
154
- "authz.policy_updated": "authz.policy_updated";
155
- "authz.policy_deleted": "authz.policy_deleted";
156
- "system.config_changed": "system.config_changed";
157
- "system.plugin_installed": "system.plugin_installed";
158
- "system.plugin_uninstalled": "system.plugin_uninstalled";
159
- "system.backup_created": "system.backup_created";
160
- "system.backup_restored": "system.backup_restored";
161
- "system.integration_added": "system.integration_added";
162
- "system.integration_removed": "system.integration_removed";
163
- "security.access_denied": "security.access_denied";
164
- "security.suspicious_activity": "security.suspicious_activity";
165
- "security.data_breach": "security.data_breach";
166
- "security.api_key_created": "security.api_key_created";
167
- "security.api_key_revoked": "security.api_key_revoked";
168
- }>;
169
- severity: z.ZodDefault<z.ZodEnum<{
170
- error: "error";
171
- warning: "warning";
172
- info: "info";
173
- debug: "debug";
174
- notice: "notice";
175
- critical: "critical";
176
- alert: "alert";
177
- emergency: "emergency";
178
- }>>;
141
+ /**
142
+ * Type of event being audited
143
+ */
144
+ eventType: z.ZodEnum<["data.create", "data.read", "data.update", "data.delete", "data.export", "data.import", "data.bulk_update", "data.bulk_delete", "auth.login", "auth.login_failed", "auth.logout", "auth.session_created", "auth.session_expired", "auth.password_reset", "auth.password_changed", "auth.email_verified", "auth.mfa_enabled", "auth.mfa_disabled", "auth.account_locked", "auth.account_unlocked", "authz.permission_granted", "authz.permission_revoked", "authz.role_assigned", "authz.role_removed", "authz.role_created", "authz.role_updated", "authz.role_deleted", "authz.policy_created", "authz.policy_updated", "authz.policy_deleted", "system.config_changed", "system.plugin_installed", "system.plugin_uninstalled", "system.backup_created", "system.backup_restored", "system.integration_added", "system.integration_removed", "security.access_denied", "security.suspicious_activity", "security.data_breach", "security.api_key_created", "security.api_key_revoked"]>;
145
+ /**
146
+ * Severity level of the event
147
+ */
148
+ severity: z.ZodDefault<z.ZodEnum<["debug", "info", "notice", "warning", "error", "critical", "alert", "emergency"]>>;
149
+ /**
150
+ * Timestamp when the event occurred (ISO 8601)
151
+ */
179
152
  timestamp: z.ZodString;
153
+ /**
154
+ * Who/what performed the action
155
+ */
180
156
  actor: z.ZodObject<{
181
- type: z.ZodEnum<{
182
- user: "user";
183
- system: "system";
184
- service: "service";
185
- api_client: "api_client";
186
- integration: "integration";
187
- }>;
157
+ /**
158
+ * Actor type (user, system, service, api_client, etc.)
159
+ */
160
+ type: z.ZodEnum<["user", "system", "service", "api_client", "integration"]>;
161
+ /**
162
+ * Unique identifier for the actor
163
+ */
188
164
  id: z.ZodString;
165
+ /**
166
+ * Display name of the actor
167
+ */
189
168
  name: z.ZodOptional<z.ZodString>;
169
+ /**
170
+ * Email address (for user actors)
171
+ */
190
172
  email: z.ZodOptional<z.ZodString>;
173
+ /**
174
+ * IP address of the actor
175
+ */
191
176
  ipAddress: z.ZodOptional<z.ZodString>;
177
+ /**
178
+ * User agent string (for web/API requests)
179
+ */
192
180
  userAgent: z.ZodOptional<z.ZodString>;
193
- }, z.core.$strip>;
181
+ }, "strip", z.ZodTypeAny, {
182
+ type: "user" | "system" | "service" | "api_client" | "integration";
183
+ id: string;
184
+ email?: string | undefined;
185
+ name?: string | undefined;
186
+ ipAddress?: string | undefined;
187
+ userAgent?: string | undefined;
188
+ }, {
189
+ type: "user" | "system" | "service" | "api_client" | "integration";
190
+ id: string;
191
+ email?: string | undefined;
192
+ name?: string | undefined;
193
+ ipAddress?: string | undefined;
194
+ userAgent?: string | undefined;
195
+ }>;
196
+ /**
197
+ * What was acted upon
198
+ */
194
199
  target: z.ZodOptional<z.ZodObject<{
200
+ /**
201
+ * Target type (e.g., 'object', 'record', 'user', 'role', 'config')
202
+ */
195
203
  type: z.ZodString;
204
+ /**
205
+ * Unique identifier for the target
206
+ */
196
207
  id: z.ZodString;
208
+ /**
209
+ * Display name of the target
210
+ */
197
211
  name: z.ZodOptional<z.ZodString>;
212
+ /**
213
+ * Additional metadata about the target
214
+ */
198
215
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
199
- }, z.core.$strip>>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ type: string;
218
+ id: string;
219
+ name?: string | undefined;
220
+ metadata?: Record<string, any> | undefined;
221
+ }, {
222
+ type: string;
223
+ id: string;
224
+ name?: string | undefined;
225
+ metadata?: Record<string, any> | undefined;
226
+ }>>;
227
+ /**
228
+ * Human-readable description of the action
229
+ */
200
230
  description: z.ZodString;
231
+ /**
232
+ * Detailed changes (for update operations)
233
+ */
201
234
  changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
235
+ /**
236
+ * Field/property that changed
237
+ */
202
238
  field: z.ZodString;
239
+ /**
240
+ * Value before the change
241
+ */
203
242
  oldValue: z.ZodOptional<z.ZodAny>;
243
+ /**
244
+ * Value after the change
245
+ */
204
246
  newValue: z.ZodOptional<z.ZodAny>;
205
- }, z.core.$strip>>>;
206
- result: z.ZodDefault<z.ZodEnum<{
207
- success: "success";
208
- partial: "partial";
209
- failure: "failure";
210
- }>>;
247
+ }, "strip", z.ZodTypeAny, {
248
+ field: string;
249
+ oldValue?: any;
250
+ newValue?: any;
251
+ }, {
252
+ field: string;
253
+ oldValue?: any;
254
+ newValue?: any;
255
+ }>, "many">>;
256
+ /**
257
+ * Result of the action (success, failure, partial)
258
+ */
259
+ result: z.ZodDefault<z.ZodEnum<["success", "failure", "partial"]>>;
260
+ /**
261
+ * Error message (if result is failure)
262
+ */
211
263
  errorMessage: z.ZodOptional<z.ZodString>;
264
+ /**
265
+ * Tenant identifier (for multi-tenant systems)
266
+ */
212
267
  tenantId: z.ZodOptional<z.ZodString>;
268
+ /**
269
+ * Request/trace ID for correlation
270
+ */
213
271
  requestId: z.ZodOptional<z.ZodString>;
272
+ /**
273
+ * Additional context and metadata
274
+ */
214
275
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
276
+ /**
277
+ * Geographic location (if available)
278
+ */
215
279
  location: z.ZodOptional<z.ZodObject<{
216
280
  country: z.ZodOptional<z.ZodString>;
217
281
  region: z.ZodOptional<z.ZodString>;
218
282
  city: z.ZodOptional<z.ZodString>;
219
- }, z.core.$strip>>;
220
- }, z.core.$strip>;
283
+ }, "strip", z.ZodTypeAny, {
284
+ city?: string | undefined;
285
+ country?: string | undefined;
286
+ region?: string | undefined;
287
+ }, {
288
+ city?: string | undefined;
289
+ country?: string | undefined;
290
+ region?: string | undefined;
291
+ }>>;
292
+ }, "strip", z.ZodTypeAny, {
293
+ description: string;
294
+ severity: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency";
295
+ id: string;
296
+ result: "partial" | "success" | "failure";
297
+ timestamp: string;
298
+ eventType: "data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked";
299
+ actor: {
300
+ type: "user" | "system" | "service" | "api_client" | "integration";
301
+ id: string;
302
+ email?: string | undefined;
303
+ name?: string | undefined;
304
+ ipAddress?: string | undefined;
305
+ userAgent?: string | undefined;
306
+ };
307
+ target?: {
308
+ type: string;
309
+ id: string;
310
+ name?: string | undefined;
311
+ metadata?: Record<string, any> | undefined;
312
+ } | undefined;
313
+ location?: {
314
+ city?: string | undefined;
315
+ country?: string | undefined;
316
+ region?: string | undefined;
317
+ } | undefined;
318
+ tenantId?: string | undefined;
319
+ metadata?: Record<string, any> | undefined;
320
+ changes?: {
321
+ field: string;
322
+ oldValue?: any;
323
+ newValue?: any;
324
+ }[] | undefined;
325
+ errorMessage?: string | undefined;
326
+ requestId?: string | undefined;
327
+ }, {
328
+ description: string;
329
+ id: string;
330
+ timestamp: string;
331
+ eventType: "data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked";
332
+ actor: {
333
+ type: "user" | "system" | "service" | "api_client" | "integration";
334
+ id: string;
335
+ email?: string | undefined;
336
+ name?: string | undefined;
337
+ ipAddress?: string | undefined;
338
+ userAgent?: string | undefined;
339
+ };
340
+ target?: {
341
+ type: string;
342
+ id: string;
343
+ name?: string | undefined;
344
+ metadata?: Record<string, any> | undefined;
345
+ } | undefined;
346
+ location?: {
347
+ city?: string | undefined;
348
+ country?: string | undefined;
349
+ region?: string | undefined;
350
+ } | undefined;
351
+ severity?: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency" | undefined;
352
+ result?: "partial" | "success" | "failure" | undefined;
353
+ tenantId?: string | undefined;
354
+ metadata?: Record<string, any> | undefined;
355
+ changes?: {
356
+ field: string;
357
+ oldValue?: any;
358
+ newValue?: any;
359
+ }[] | undefined;
360
+ errorMessage?: string | undefined;
361
+ requestId?: string | undefined;
362
+ }>;
221
363
  export type AuditEvent = z.infer<typeof AuditEventSchema>;
222
364
  /**
223
365
  * Audit Retention Policy Schema
224
366
  * Defines how long audit logs are retained
225
367
  */
226
368
  export declare const AuditRetentionPolicySchema: z.ZodObject<{
369
+ /**
370
+ * Retention period in days
371
+ * Default: 180 days (GDPR 6-month requirement)
372
+ */
227
373
  retentionDays: z.ZodDefault<z.ZodNumber>;
374
+ /**
375
+ * Whether to archive logs after retention period
376
+ * If true, logs are moved to cold storage; if false, they are deleted
377
+ */
228
378
  archiveAfterRetention: z.ZodDefault<z.ZodBoolean>;
379
+ /**
380
+ * Archive storage configuration
381
+ */
229
382
  archiveStorage: z.ZodOptional<z.ZodObject<{
230
- type: z.ZodEnum<{
231
- s3: "s3";
232
- gcs: "gcs";
233
- azure_blob: "azure_blob";
234
- filesystem: "filesystem";
235
- }>;
383
+ type: z.ZodEnum<["s3", "gcs", "azure_blob", "filesystem"]>;
236
384
  endpoint: z.ZodOptional<z.ZodString>;
237
385
  bucket: z.ZodOptional<z.ZodString>;
238
386
  path: z.ZodOptional<z.ZodString>;
239
387
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
240
- }, z.core.$strip>>;
388
+ }, "strip", z.ZodTypeAny, {
389
+ type: "s3" | "azure_blob" | "gcs" | "filesystem";
390
+ path?: string | undefined;
391
+ credentials?: Record<string, any> | undefined;
392
+ endpoint?: string | undefined;
393
+ bucket?: string | undefined;
394
+ }, {
395
+ type: "s3" | "azure_blob" | "gcs" | "filesystem";
396
+ path?: string | undefined;
397
+ credentials?: Record<string, any> | undefined;
398
+ endpoint?: string | undefined;
399
+ bucket?: string | undefined;
400
+ }>>;
401
+ /**
402
+ * Event types that have different retention periods
403
+ * Overrides the default retentionDays for specific event types
404
+ */
241
405
  customRetention: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
406
+ /**
407
+ * Minimum retention period for compliance
408
+ * Prevents accidental deletion below compliance requirements
409
+ */
242
410
  minimumRetentionDays: z.ZodOptional<z.ZodNumber>;
243
- }, z.core.$strip>;
411
+ }, "strip", z.ZodTypeAny, {
412
+ retentionDays: number;
413
+ archiveAfterRetention: boolean;
414
+ archiveStorage?: {
415
+ type: "s3" | "azure_blob" | "gcs" | "filesystem";
416
+ path?: string | undefined;
417
+ credentials?: Record<string, any> | undefined;
418
+ endpoint?: string | undefined;
419
+ bucket?: string | undefined;
420
+ } | undefined;
421
+ customRetention?: Record<string, number> | undefined;
422
+ minimumRetentionDays?: number | undefined;
423
+ }, {
424
+ retentionDays?: number | undefined;
425
+ archiveAfterRetention?: boolean | undefined;
426
+ archiveStorage?: {
427
+ type: "s3" | "azure_blob" | "gcs" | "filesystem";
428
+ path?: string | undefined;
429
+ credentials?: Record<string, any> | undefined;
430
+ endpoint?: string | undefined;
431
+ bucket?: string | undefined;
432
+ } | undefined;
433
+ customRetention?: Record<string, number> | undefined;
434
+ minimumRetentionDays?: number | undefined;
435
+ }>;
244
436
  export type AuditRetentionPolicy = z.infer<typeof AuditRetentionPolicySchema>;
245
437
  /**
246
438
  * Suspicious Activity Rule Schema
247
439
  * Defines rules for detecting suspicious activities
248
440
  */
249
441
  export declare const SuspiciousActivityRuleSchema: z.ZodObject<{
442
+ /**
443
+ * Unique identifier for the rule
444
+ */
250
445
  id: z.ZodString;
446
+ /**
447
+ * Rule name
448
+ */
251
449
  name: z.ZodString;
450
+ /**
451
+ * Rule description
452
+ */
252
453
  description: z.ZodOptional<z.ZodString>;
454
+ /**
455
+ * Whether the rule is enabled
456
+ */
253
457
  enabled: z.ZodDefault<z.ZodBoolean>;
254
- eventTypes: z.ZodArray<z.ZodEnum<{
255
- "data.create": "data.create";
256
- "data.read": "data.read";
257
- "data.update": "data.update";
258
- "data.delete": "data.delete";
259
- "data.export": "data.export";
260
- "data.import": "data.import";
261
- "data.bulk_update": "data.bulk_update";
262
- "data.bulk_delete": "data.bulk_delete";
263
- "auth.login": "auth.login";
264
- "auth.login_failed": "auth.login_failed";
265
- "auth.logout": "auth.logout";
266
- "auth.session_created": "auth.session_created";
267
- "auth.session_expired": "auth.session_expired";
268
- "auth.password_reset": "auth.password_reset";
269
- "auth.password_changed": "auth.password_changed";
270
- "auth.email_verified": "auth.email_verified";
271
- "auth.mfa_enabled": "auth.mfa_enabled";
272
- "auth.mfa_disabled": "auth.mfa_disabled";
273
- "auth.account_locked": "auth.account_locked";
274
- "auth.account_unlocked": "auth.account_unlocked";
275
- "authz.permission_granted": "authz.permission_granted";
276
- "authz.permission_revoked": "authz.permission_revoked";
277
- "authz.role_assigned": "authz.role_assigned";
278
- "authz.role_removed": "authz.role_removed";
279
- "authz.role_created": "authz.role_created";
280
- "authz.role_updated": "authz.role_updated";
281
- "authz.role_deleted": "authz.role_deleted";
282
- "authz.policy_created": "authz.policy_created";
283
- "authz.policy_updated": "authz.policy_updated";
284
- "authz.policy_deleted": "authz.policy_deleted";
285
- "system.config_changed": "system.config_changed";
286
- "system.plugin_installed": "system.plugin_installed";
287
- "system.plugin_uninstalled": "system.plugin_uninstalled";
288
- "system.backup_created": "system.backup_created";
289
- "system.backup_restored": "system.backup_restored";
290
- "system.integration_added": "system.integration_added";
291
- "system.integration_removed": "system.integration_removed";
292
- "security.access_denied": "security.access_denied";
293
- "security.suspicious_activity": "security.suspicious_activity";
294
- "security.data_breach": "security.data_breach";
295
- "security.api_key_created": "security.api_key_created";
296
- "security.api_key_revoked": "security.api_key_revoked";
297
- }>>;
458
+ /**
459
+ * Event types to monitor
460
+ */
461
+ eventTypes: z.ZodArray<z.ZodEnum<["data.create", "data.read", "data.update", "data.delete", "data.export", "data.import", "data.bulk_update", "data.bulk_delete", "auth.login", "auth.login_failed", "auth.logout", "auth.session_created", "auth.session_expired", "auth.password_reset", "auth.password_changed", "auth.email_verified", "auth.mfa_enabled", "auth.mfa_disabled", "auth.account_locked", "auth.account_unlocked", "authz.permission_granted", "authz.permission_revoked", "authz.role_assigned", "authz.role_removed", "authz.role_created", "authz.role_updated", "authz.role_deleted", "authz.policy_created", "authz.policy_updated", "authz.policy_deleted", "system.config_changed", "system.plugin_installed", "system.plugin_uninstalled", "system.backup_created", "system.backup_restored", "system.integration_added", "system.integration_removed", "security.access_denied", "security.suspicious_activity", "security.data_breach", "security.api_key_created", "security.api_key_revoked"]>, "many">;
462
+ /**
463
+ * Detection condition
464
+ */
298
465
  condition: z.ZodObject<{
466
+ /**
467
+ * Number of events that trigger the rule
468
+ */
299
469
  threshold: z.ZodNumber;
470
+ /**
471
+ * Time window in seconds
472
+ */
300
473
  windowSeconds: z.ZodNumber;
301
- groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
474
+ /**
475
+ * Grouping criteria (e.g., by actor.id, by ipAddress)
476
+ */
477
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
478
+ /**
479
+ * Additional filters
480
+ */
302
481
  filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
303
- }, z.core.$strip>;
304
- actions: z.ZodArray<z.ZodEnum<{
305
- alert: "alert";
306
- lock_account: "lock_account";
307
- block_ip: "block_ip";
308
- require_mfa: "require_mfa";
309
- log_critical: "log_critical";
310
- webhook: "webhook";
311
- }>>;
312
- alertSeverity: z.ZodDefault<z.ZodEnum<{
313
- error: "error";
314
- warning: "warning";
315
- info: "info";
316
- debug: "debug";
317
- notice: "notice";
318
- critical: "critical";
319
- alert: "alert";
320
- emergency: "emergency";
321
- }>>;
482
+ }, "strip", z.ZodTypeAny, {
483
+ threshold: number;
484
+ windowSeconds: number;
485
+ groupBy?: string[] | undefined;
486
+ filters?: Record<string, any> | undefined;
487
+ }, {
488
+ threshold: number;
489
+ windowSeconds: number;
490
+ groupBy?: string[] | undefined;
491
+ filters?: Record<string, any> | undefined;
492
+ }>;
493
+ /**
494
+ * Actions to take when rule is triggered
495
+ */
496
+ actions: z.ZodArray<z.ZodEnum<["alert", "lock_account", "block_ip", "require_mfa", "log_critical", "webhook"]>, "many">;
497
+ /**
498
+ * Severity level for triggered alerts
499
+ */
500
+ alertSeverity: z.ZodDefault<z.ZodEnum<["debug", "info", "notice", "warning", "error", "critical", "alert", "emergency"]>>;
501
+ /**
502
+ * Notification configuration
503
+ */
322
504
  notifications: z.ZodOptional<z.ZodObject<{
323
- email: z.ZodOptional<z.ZodArray<z.ZodString>>;
505
+ /**
506
+ * Email addresses to notify
507
+ */
508
+ email: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
509
+ /**
510
+ * Slack webhook URL
511
+ */
324
512
  slack: z.ZodOptional<z.ZodString>;
513
+ /**
514
+ * Custom webhook URL
515
+ */
325
516
  webhook: z.ZodOptional<z.ZodString>;
326
- }, z.core.$strip>>;
327
- }, z.core.$strip>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ email?: string[] | undefined;
519
+ webhook?: string | undefined;
520
+ slack?: string | undefined;
521
+ }, {
522
+ email?: string[] | undefined;
523
+ webhook?: string | undefined;
524
+ slack?: string | undefined;
525
+ }>>;
526
+ }, "strip", z.ZodTypeAny, {
527
+ enabled: boolean;
528
+ name: string;
529
+ condition: {
530
+ threshold: number;
531
+ windowSeconds: number;
532
+ groupBy?: string[] | undefined;
533
+ filters?: Record<string, any> | undefined;
534
+ };
535
+ id: string;
536
+ actions: ("alert" | "lock_account" | "block_ip" | "require_mfa" | "log_critical" | "webhook")[];
537
+ eventTypes: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[];
538
+ alertSeverity: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency";
539
+ description?: string | undefined;
540
+ notifications?: {
541
+ email?: string[] | undefined;
542
+ webhook?: string | undefined;
543
+ slack?: string | undefined;
544
+ } | undefined;
545
+ }, {
546
+ name: string;
547
+ condition: {
548
+ threshold: number;
549
+ windowSeconds: number;
550
+ groupBy?: string[] | undefined;
551
+ filters?: Record<string, any> | undefined;
552
+ };
553
+ id: string;
554
+ actions: ("alert" | "lock_account" | "block_ip" | "require_mfa" | "log_critical" | "webhook")[];
555
+ eventTypes: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[];
556
+ enabled?: boolean | undefined;
557
+ description?: string | undefined;
558
+ alertSeverity?: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency" | undefined;
559
+ notifications?: {
560
+ email?: string[] | undefined;
561
+ webhook?: string | undefined;
562
+ slack?: string | undefined;
563
+ } | undefined;
564
+ }>;
328
565
  export type SuspiciousActivityRule = z.infer<typeof SuspiciousActivityRuleSchema>;
329
566
  /**
330
567
  * Audit Log Storage Configuration
331
568
  * Defines where and how audit logs are stored
332
569
  */
333
570
  export declare const AuditStorageConfigSchema: z.ZodObject<{
334
- type: z.ZodEnum<{
335
- custom: "custom";
336
- database: "database";
337
- mongodb: "mongodb";
338
- elasticsearch: "elasticsearch";
339
- s3: "s3";
340
- gcs: "gcs";
341
- azure_blob: "azure_blob";
342
- clickhouse: "clickhouse";
343
- }>;
571
+ /**
572
+ * Storage backend type
573
+ */
574
+ type: z.ZodEnum<["database", "elasticsearch", "mongodb", "clickhouse", "s3", "gcs", "azure_blob", "custom"]>;
575
+ /**
576
+ * Connection string or configuration
577
+ */
344
578
  connectionString: z.ZodOptional<z.ZodString>;
579
+ /**
580
+ * Storage configuration
581
+ */
345
582
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
583
+ /**
584
+ * Whether to enable buffering/batching
585
+ */
346
586
  bufferEnabled: z.ZodDefault<z.ZodBoolean>;
587
+ /**
588
+ * Buffer size (number of events before flush)
589
+ */
347
590
  bufferSize: z.ZodDefault<z.ZodNumber>;
591
+ /**
592
+ * Buffer flush interval in seconds
593
+ */
348
594
  flushIntervalSeconds: z.ZodDefault<z.ZodNumber>;
595
+ /**
596
+ * Whether to compress stored data
597
+ */
349
598
  compression: z.ZodDefault<z.ZodBoolean>;
350
- }, z.core.$strip>;
599
+ }, "strip", z.ZodTypeAny, {
600
+ type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "azure_blob" | "gcs" | "clickhouse";
601
+ compression: boolean;
602
+ bufferEnabled: boolean;
603
+ bufferSize: number;
604
+ flushIntervalSeconds: number;
605
+ connectionString?: string | undefined;
606
+ config?: Record<string, any> | undefined;
607
+ }, {
608
+ type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "azure_blob" | "gcs" | "clickhouse";
609
+ connectionString?: string | undefined;
610
+ config?: Record<string, any> | undefined;
611
+ compression?: boolean | undefined;
612
+ bufferEnabled?: boolean | undefined;
613
+ bufferSize?: number | undefined;
614
+ flushIntervalSeconds?: number | undefined;
615
+ }>;
351
616
  export type AuditStorageConfig = z.infer<typeof AuditStorageConfigSchema>;
352
617
  /**
353
618
  * Audit Event Filter Schema
354
619
  * Defines filters for querying audit events
355
620
  */
356
621
  export declare const AuditEventFilterSchema: z.ZodObject<{
357
- eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
358
- "data.create": "data.create";
359
- "data.read": "data.read";
360
- "data.update": "data.update";
361
- "data.delete": "data.delete";
362
- "data.export": "data.export";
363
- "data.import": "data.import";
364
- "data.bulk_update": "data.bulk_update";
365
- "data.bulk_delete": "data.bulk_delete";
366
- "auth.login": "auth.login";
367
- "auth.login_failed": "auth.login_failed";
368
- "auth.logout": "auth.logout";
369
- "auth.session_created": "auth.session_created";
370
- "auth.session_expired": "auth.session_expired";
371
- "auth.password_reset": "auth.password_reset";
372
- "auth.password_changed": "auth.password_changed";
373
- "auth.email_verified": "auth.email_verified";
374
- "auth.mfa_enabled": "auth.mfa_enabled";
375
- "auth.mfa_disabled": "auth.mfa_disabled";
376
- "auth.account_locked": "auth.account_locked";
377
- "auth.account_unlocked": "auth.account_unlocked";
378
- "authz.permission_granted": "authz.permission_granted";
379
- "authz.permission_revoked": "authz.permission_revoked";
380
- "authz.role_assigned": "authz.role_assigned";
381
- "authz.role_removed": "authz.role_removed";
382
- "authz.role_created": "authz.role_created";
383
- "authz.role_updated": "authz.role_updated";
384
- "authz.role_deleted": "authz.role_deleted";
385
- "authz.policy_created": "authz.policy_created";
386
- "authz.policy_updated": "authz.policy_updated";
387
- "authz.policy_deleted": "authz.policy_deleted";
388
- "system.config_changed": "system.config_changed";
389
- "system.plugin_installed": "system.plugin_installed";
390
- "system.plugin_uninstalled": "system.plugin_uninstalled";
391
- "system.backup_created": "system.backup_created";
392
- "system.backup_restored": "system.backup_restored";
393
- "system.integration_added": "system.integration_added";
394
- "system.integration_removed": "system.integration_removed";
395
- "security.access_denied": "security.access_denied";
396
- "security.suspicious_activity": "security.suspicious_activity";
397
- "security.data_breach": "security.data_breach";
398
- "security.api_key_created": "security.api_key_created";
399
- "security.api_key_revoked": "security.api_key_revoked";
400
- }>>>;
401
- severities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
402
- error: "error";
403
- warning: "warning";
404
- info: "info";
405
- debug: "debug";
406
- notice: "notice";
407
- critical: "critical";
408
- alert: "alert";
409
- emergency: "emergency";
410
- }>>>;
622
+ /**
623
+ * Filter by event types
624
+ */
625
+ eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["data.create", "data.read", "data.update", "data.delete", "data.export", "data.import", "data.bulk_update", "data.bulk_delete", "auth.login", "auth.login_failed", "auth.logout", "auth.session_created", "auth.session_expired", "auth.password_reset", "auth.password_changed", "auth.email_verified", "auth.mfa_enabled", "auth.mfa_disabled", "auth.account_locked", "auth.account_unlocked", "authz.permission_granted", "authz.permission_revoked", "authz.role_assigned", "authz.role_removed", "authz.role_created", "authz.role_updated", "authz.role_deleted", "authz.policy_created", "authz.policy_updated", "authz.policy_deleted", "system.config_changed", "system.plugin_installed", "system.plugin_uninstalled", "system.backup_created", "system.backup_restored", "system.integration_added", "system.integration_removed", "security.access_denied", "security.suspicious_activity", "security.data_breach", "security.api_key_created", "security.api_key_revoked"]>, "many">>;
626
+ /**
627
+ * Filter by severity levels
628
+ */
629
+ severities: z.ZodOptional<z.ZodArray<z.ZodEnum<["debug", "info", "notice", "warning", "error", "critical", "alert", "emergency"]>, "many">>;
630
+ /**
631
+ * Filter by actor ID
632
+ */
411
633
  actorId: z.ZodOptional<z.ZodString>;
634
+ /**
635
+ * Filter by tenant ID
636
+ */
412
637
  tenantId: z.ZodOptional<z.ZodString>;
638
+ /**
639
+ * Filter by time range
640
+ */
413
641
  timeRange: z.ZodOptional<z.ZodObject<{
414
642
  from: z.ZodString;
415
643
  to: z.ZodString;
416
- }, z.core.$strip>>;
417
- result: z.ZodOptional<z.ZodEnum<{
418
- success: "success";
419
- partial: "partial";
420
- failure: "failure";
644
+ }, "strip", z.ZodTypeAny, {
645
+ from: string;
646
+ to: string;
647
+ }, {
648
+ from: string;
649
+ to: string;
421
650
  }>>;
651
+ /**
652
+ * Filter by result status
653
+ */
654
+ result: z.ZodOptional<z.ZodEnum<["success", "failure", "partial"]>>;
655
+ /**
656
+ * Search query (full-text search)
657
+ */
422
658
  searchQuery: z.ZodOptional<z.ZodString>;
659
+ /**
660
+ * Custom filters
661
+ */
423
662
  customFilters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
424
- }, z.core.$strip>;
663
+ }, "strip", z.ZodTypeAny, {
664
+ result?: "partial" | "success" | "failure" | undefined;
665
+ tenantId?: string | undefined;
666
+ customFilters?: Record<string, any> | undefined;
667
+ eventTypes?: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[] | undefined;
668
+ severities?: ("error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency")[] | undefined;
669
+ actorId?: string | undefined;
670
+ timeRange?: {
671
+ from: string;
672
+ to: string;
673
+ } | undefined;
674
+ searchQuery?: string | undefined;
675
+ }, {
676
+ result?: "partial" | "success" | "failure" | undefined;
677
+ tenantId?: string | undefined;
678
+ customFilters?: Record<string, any> | undefined;
679
+ eventTypes?: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[] | undefined;
680
+ severities?: ("error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency")[] | undefined;
681
+ actorId?: string | undefined;
682
+ timeRange?: {
683
+ from: string;
684
+ to: string;
685
+ } | undefined;
686
+ searchQuery?: string | undefined;
687
+ }>;
425
688
  export type AuditEventFilter = z.infer<typeof AuditEventFilterSchema>;
426
689
  /**
427
690
  * Complete Audit Configuration Schema
428
691
  * Main configuration for the audit system
429
692
  */
430
693
  export declare const AuditConfigSchema: z.ZodObject<{
694
+ /**
695
+ * Unique identifier for this audit configuration
696
+ * Must be in snake_case following ObjectStack conventions
697
+ * Maximum length: 64 characters
698
+ */
431
699
  name: z.ZodString;
700
+ /**
701
+ * Human-readable label
702
+ */
432
703
  label: z.ZodString;
704
+ /**
705
+ * Whether audit logging is enabled
706
+ */
433
707
  enabled: z.ZodDefault<z.ZodBoolean>;
434
- eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
435
- "data.create": "data.create";
436
- "data.read": "data.read";
437
- "data.update": "data.update";
438
- "data.delete": "data.delete";
439
- "data.export": "data.export";
440
- "data.import": "data.import";
441
- "data.bulk_update": "data.bulk_update";
442
- "data.bulk_delete": "data.bulk_delete";
443
- "auth.login": "auth.login";
444
- "auth.login_failed": "auth.login_failed";
445
- "auth.logout": "auth.logout";
446
- "auth.session_created": "auth.session_created";
447
- "auth.session_expired": "auth.session_expired";
448
- "auth.password_reset": "auth.password_reset";
449
- "auth.password_changed": "auth.password_changed";
450
- "auth.email_verified": "auth.email_verified";
451
- "auth.mfa_enabled": "auth.mfa_enabled";
452
- "auth.mfa_disabled": "auth.mfa_disabled";
453
- "auth.account_locked": "auth.account_locked";
454
- "auth.account_unlocked": "auth.account_unlocked";
455
- "authz.permission_granted": "authz.permission_granted";
456
- "authz.permission_revoked": "authz.permission_revoked";
457
- "authz.role_assigned": "authz.role_assigned";
458
- "authz.role_removed": "authz.role_removed";
459
- "authz.role_created": "authz.role_created";
460
- "authz.role_updated": "authz.role_updated";
461
- "authz.role_deleted": "authz.role_deleted";
462
- "authz.policy_created": "authz.policy_created";
463
- "authz.policy_updated": "authz.policy_updated";
464
- "authz.policy_deleted": "authz.policy_deleted";
465
- "system.config_changed": "system.config_changed";
466
- "system.plugin_installed": "system.plugin_installed";
467
- "system.plugin_uninstalled": "system.plugin_uninstalled";
468
- "system.backup_created": "system.backup_created";
469
- "system.backup_restored": "system.backup_restored";
470
- "system.integration_added": "system.integration_added";
471
- "system.integration_removed": "system.integration_removed";
472
- "security.access_denied": "security.access_denied";
473
- "security.suspicious_activity": "security.suspicious_activity";
474
- "security.data_breach": "security.data_breach";
475
- "security.api_key_created": "security.api_key_created";
476
- "security.api_key_revoked": "security.api_key_revoked";
477
- }>>>;
478
- excludeEventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
479
- "data.create": "data.create";
480
- "data.read": "data.read";
481
- "data.update": "data.update";
482
- "data.delete": "data.delete";
483
- "data.export": "data.export";
484
- "data.import": "data.import";
485
- "data.bulk_update": "data.bulk_update";
486
- "data.bulk_delete": "data.bulk_delete";
487
- "auth.login": "auth.login";
488
- "auth.login_failed": "auth.login_failed";
489
- "auth.logout": "auth.logout";
490
- "auth.session_created": "auth.session_created";
491
- "auth.session_expired": "auth.session_expired";
492
- "auth.password_reset": "auth.password_reset";
493
- "auth.password_changed": "auth.password_changed";
494
- "auth.email_verified": "auth.email_verified";
495
- "auth.mfa_enabled": "auth.mfa_enabled";
496
- "auth.mfa_disabled": "auth.mfa_disabled";
497
- "auth.account_locked": "auth.account_locked";
498
- "auth.account_unlocked": "auth.account_unlocked";
499
- "authz.permission_granted": "authz.permission_granted";
500
- "authz.permission_revoked": "authz.permission_revoked";
501
- "authz.role_assigned": "authz.role_assigned";
502
- "authz.role_removed": "authz.role_removed";
503
- "authz.role_created": "authz.role_created";
504
- "authz.role_updated": "authz.role_updated";
505
- "authz.role_deleted": "authz.role_deleted";
506
- "authz.policy_created": "authz.policy_created";
507
- "authz.policy_updated": "authz.policy_updated";
508
- "authz.policy_deleted": "authz.policy_deleted";
509
- "system.config_changed": "system.config_changed";
510
- "system.plugin_installed": "system.plugin_installed";
511
- "system.plugin_uninstalled": "system.plugin_uninstalled";
512
- "system.backup_created": "system.backup_created";
513
- "system.backup_restored": "system.backup_restored";
514
- "system.integration_added": "system.integration_added";
515
- "system.integration_removed": "system.integration_removed";
516
- "security.access_denied": "security.access_denied";
517
- "security.suspicious_activity": "security.suspicious_activity";
518
- "security.data_breach": "security.data_breach";
519
- "security.api_key_created": "security.api_key_created";
520
- "security.api_key_revoked": "security.api_key_revoked";
521
- }>>>;
522
- minimumSeverity: z.ZodDefault<z.ZodEnum<{
523
- error: "error";
524
- warning: "warning";
525
- info: "info";
526
- debug: "debug";
527
- notice: "notice";
528
- critical: "critical";
529
- alert: "alert";
530
- emergency: "emergency";
531
- }>>;
708
+ /**
709
+ * Event types to audit
710
+ * If not specified, all event types are audited
711
+ */
712
+ eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["data.create", "data.read", "data.update", "data.delete", "data.export", "data.import", "data.bulk_update", "data.bulk_delete", "auth.login", "auth.login_failed", "auth.logout", "auth.session_created", "auth.session_expired", "auth.password_reset", "auth.password_changed", "auth.email_verified", "auth.mfa_enabled", "auth.mfa_disabled", "auth.account_locked", "auth.account_unlocked", "authz.permission_granted", "authz.permission_revoked", "authz.role_assigned", "authz.role_removed", "authz.role_created", "authz.role_updated", "authz.role_deleted", "authz.policy_created", "authz.policy_updated", "authz.policy_deleted", "system.config_changed", "system.plugin_installed", "system.plugin_uninstalled", "system.backup_created", "system.backup_restored", "system.integration_added", "system.integration_removed", "security.access_denied", "security.suspicious_activity", "security.data_breach", "security.api_key_created", "security.api_key_revoked"]>, "many">>;
713
+ /**
714
+ * Event types to exclude from auditing
715
+ */
716
+ excludeEventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["data.create", "data.read", "data.update", "data.delete", "data.export", "data.import", "data.bulk_update", "data.bulk_delete", "auth.login", "auth.login_failed", "auth.logout", "auth.session_created", "auth.session_expired", "auth.password_reset", "auth.password_changed", "auth.email_verified", "auth.mfa_enabled", "auth.mfa_disabled", "auth.account_locked", "auth.account_unlocked", "authz.permission_granted", "authz.permission_revoked", "authz.role_assigned", "authz.role_removed", "authz.role_created", "authz.role_updated", "authz.role_deleted", "authz.policy_created", "authz.policy_updated", "authz.policy_deleted", "system.config_changed", "system.plugin_installed", "system.plugin_uninstalled", "system.backup_created", "system.backup_restored", "system.integration_added", "system.integration_removed", "security.access_denied", "security.suspicious_activity", "security.data_breach", "security.api_key_created", "security.api_key_revoked"]>, "many">>;
717
+ /**
718
+ * Minimum severity level to log
719
+ * Events below this level are not logged
720
+ */
721
+ minimumSeverity: z.ZodDefault<z.ZodEnum<["debug", "info", "notice", "warning", "error", "critical", "alert", "emergency"]>>;
722
+ /**
723
+ * Storage configuration
724
+ */
532
725
  storage: z.ZodObject<{
533
- type: z.ZodEnum<{
534
- custom: "custom";
535
- database: "database";
536
- mongodb: "mongodb";
537
- elasticsearch: "elasticsearch";
538
- s3: "s3";
539
- gcs: "gcs";
540
- azure_blob: "azure_blob";
541
- clickhouse: "clickhouse";
542
- }>;
726
+ /**
727
+ * Storage backend type
728
+ */
729
+ type: z.ZodEnum<["database", "elasticsearch", "mongodb", "clickhouse", "s3", "gcs", "azure_blob", "custom"]>;
730
+ /**
731
+ * Connection string or configuration
732
+ */
543
733
  connectionString: z.ZodOptional<z.ZodString>;
734
+ /**
735
+ * Storage configuration
736
+ */
544
737
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
738
+ /**
739
+ * Whether to enable buffering/batching
740
+ */
545
741
  bufferEnabled: z.ZodDefault<z.ZodBoolean>;
742
+ /**
743
+ * Buffer size (number of events before flush)
744
+ */
546
745
  bufferSize: z.ZodDefault<z.ZodNumber>;
746
+ /**
747
+ * Buffer flush interval in seconds
748
+ */
547
749
  flushIntervalSeconds: z.ZodDefault<z.ZodNumber>;
750
+ /**
751
+ * Whether to compress stored data
752
+ */
548
753
  compression: z.ZodDefault<z.ZodBoolean>;
549
- }, z.core.$strip>;
754
+ }, "strip", z.ZodTypeAny, {
755
+ type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "azure_blob" | "gcs" | "clickhouse";
756
+ compression: boolean;
757
+ bufferEnabled: boolean;
758
+ bufferSize: number;
759
+ flushIntervalSeconds: number;
760
+ connectionString?: string | undefined;
761
+ config?: Record<string, any> | undefined;
762
+ }, {
763
+ type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "azure_blob" | "gcs" | "clickhouse";
764
+ connectionString?: string | undefined;
765
+ config?: Record<string, any> | undefined;
766
+ compression?: boolean | undefined;
767
+ bufferEnabled?: boolean | undefined;
768
+ bufferSize?: number | undefined;
769
+ flushIntervalSeconds?: number | undefined;
770
+ }>;
771
+ /**
772
+ * Retention policy
773
+ */
550
774
  retentionPolicy: z.ZodOptional<z.ZodObject<{
775
+ /**
776
+ * Retention period in days
777
+ * Default: 180 days (GDPR 6-month requirement)
778
+ */
551
779
  retentionDays: z.ZodDefault<z.ZodNumber>;
780
+ /**
781
+ * Whether to archive logs after retention period
782
+ * If true, logs are moved to cold storage; if false, they are deleted
783
+ */
552
784
  archiveAfterRetention: z.ZodDefault<z.ZodBoolean>;
785
+ /**
786
+ * Archive storage configuration
787
+ */
553
788
  archiveStorage: z.ZodOptional<z.ZodObject<{
554
- type: z.ZodEnum<{
555
- s3: "s3";
556
- gcs: "gcs";
557
- azure_blob: "azure_blob";
558
- filesystem: "filesystem";
559
- }>;
789
+ type: z.ZodEnum<["s3", "gcs", "azure_blob", "filesystem"]>;
560
790
  endpoint: z.ZodOptional<z.ZodString>;
561
791
  bucket: z.ZodOptional<z.ZodString>;
562
792
  path: z.ZodOptional<z.ZodString>;
563
793
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
564
- }, z.core.$strip>>;
794
+ }, "strip", z.ZodTypeAny, {
795
+ type: "s3" | "azure_blob" | "gcs" | "filesystem";
796
+ path?: string | undefined;
797
+ credentials?: Record<string, any> | undefined;
798
+ endpoint?: string | undefined;
799
+ bucket?: string | undefined;
800
+ }, {
801
+ type: "s3" | "azure_blob" | "gcs" | "filesystem";
802
+ path?: string | undefined;
803
+ credentials?: Record<string, any> | undefined;
804
+ endpoint?: string | undefined;
805
+ bucket?: string | undefined;
806
+ }>>;
807
+ /**
808
+ * Event types that have different retention periods
809
+ * Overrides the default retentionDays for specific event types
810
+ */
565
811
  customRetention: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
812
+ /**
813
+ * Minimum retention period for compliance
814
+ * Prevents accidental deletion below compliance requirements
815
+ */
566
816
  minimumRetentionDays: z.ZodOptional<z.ZodNumber>;
567
- }, z.core.$strip>>;
817
+ }, "strip", z.ZodTypeAny, {
818
+ retentionDays: number;
819
+ archiveAfterRetention: boolean;
820
+ archiveStorage?: {
821
+ type: "s3" | "azure_blob" | "gcs" | "filesystem";
822
+ path?: string | undefined;
823
+ credentials?: Record<string, any> | undefined;
824
+ endpoint?: string | undefined;
825
+ bucket?: string | undefined;
826
+ } | undefined;
827
+ customRetention?: Record<string, number> | undefined;
828
+ minimumRetentionDays?: number | undefined;
829
+ }, {
830
+ retentionDays?: number | undefined;
831
+ archiveAfterRetention?: boolean | undefined;
832
+ archiveStorage?: {
833
+ type: "s3" | "azure_blob" | "gcs" | "filesystem";
834
+ path?: string | undefined;
835
+ credentials?: Record<string, any> | undefined;
836
+ endpoint?: string | undefined;
837
+ bucket?: string | undefined;
838
+ } | undefined;
839
+ customRetention?: Record<string, number> | undefined;
840
+ minimumRetentionDays?: number | undefined;
841
+ }>>;
842
+ /**
843
+ * Suspicious activity detection rules
844
+ */
568
845
  suspiciousActivityRules: z.ZodDefault<z.ZodArray<z.ZodObject<{
846
+ /**
847
+ * Unique identifier for the rule
848
+ */
569
849
  id: z.ZodString;
850
+ /**
851
+ * Rule name
852
+ */
570
853
  name: z.ZodString;
854
+ /**
855
+ * Rule description
856
+ */
571
857
  description: z.ZodOptional<z.ZodString>;
858
+ /**
859
+ * Whether the rule is enabled
860
+ */
572
861
  enabled: z.ZodDefault<z.ZodBoolean>;
573
- eventTypes: z.ZodArray<z.ZodEnum<{
574
- "data.create": "data.create";
575
- "data.read": "data.read";
576
- "data.update": "data.update";
577
- "data.delete": "data.delete";
578
- "data.export": "data.export";
579
- "data.import": "data.import";
580
- "data.bulk_update": "data.bulk_update";
581
- "data.bulk_delete": "data.bulk_delete";
582
- "auth.login": "auth.login";
583
- "auth.login_failed": "auth.login_failed";
584
- "auth.logout": "auth.logout";
585
- "auth.session_created": "auth.session_created";
586
- "auth.session_expired": "auth.session_expired";
587
- "auth.password_reset": "auth.password_reset";
588
- "auth.password_changed": "auth.password_changed";
589
- "auth.email_verified": "auth.email_verified";
590
- "auth.mfa_enabled": "auth.mfa_enabled";
591
- "auth.mfa_disabled": "auth.mfa_disabled";
592
- "auth.account_locked": "auth.account_locked";
593
- "auth.account_unlocked": "auth.account_unlocked";
594
- "authz.permission_granted": "authz.permission_granted";
595
- "authz.permission_revoked": "authz.permission_revoked";
596
- "authz.role_assigned": "authz.role_assigned";
597
- "authz.role_removed": "authz.role_removed";
598
- "authz.role_created": "authz.role_created";
599
- "authz.role_updated": "authz.role_updated";
600
- "authz.role_deleted": "authz.role_deleted";
601
- "authz.policy_created": "authz.policy_created";
602
- "authz.policy_updated": "authz.policy_updated";
603
- "authz.policy_deleted": "authz.policy_deleted";
604
- "system.config_changed": "system.config_changed";
605
- "system.plugin_installed": "system.plugin_installed";
606
- "system.plugin_uninstalled": "system.plugin_uninstalled";
607
- "system.backup_created": "system.backup_created";
608
- "system.backup_restored": "system.backup_restored";
609
- "system.integration_added": "system.integration_added";
610
- "system.integration_removed": "system.integration_removed";
611
- "security.access_denied": "security.access_denied";
612
- "security.suspicious_activity": "security.suspicious_activity";
613
- "security.data_breach": "security.data_breach";
614
- "security.api_key_created": "security.api_key_created";
615
- "security.api_key_revoked": "security.api_key_revoked";
616
- }>>;
862
+ /**
863
+ * Event types to monitor
864
+ */
865
+ eventTypes: z.ZodArray<z.ZodEnum<["data.create", "data.read", "data.update", "data.delete", "data.export", "data.import", "data.bulk_update", "data.bulk_delete", "auth.login", "auth.login_failed", "auth.logout", "auth.session_created", "auth.session_expired", "auth.password_reset", "auth.password_changed", "auth.email_verified", "auth.mfa_enabled", "auth.mfa_disabled", "auth.account_locked", "auth.account_unlocked", "authz.permission_granted", "authz.permission_revoked", "authz.role_assigned", "authz.role_removed", "authz.role_created", "authz.role_updated", "authz.role_deleted", "authz.policy_created", "authz.policy_updated", "authz.policy_deleted", "system.config_changed", "system.plugin_installed", "system.plugin_uninstalled", "system.backup_created", "system.backup_restored", "system.integration_added", "system.integration_removed", "security.access_denied", "security.suspicious_activity", "security.data_breach", "security.api_key_created", "security.api_key_revoked"]>, "many">;
866
+ /**
867
+ * Detection condition
868
+ */
617
869
  condition: z.ZodObject<{
870
+ /**
871
+ * Number of events that trigger the rule
872
+ */
618
873
  threshold: z.ZodNumber;
874
+ /**
875
+ * Time window in seconds
876
+ */
619
877
  windowSeconds: z.ZodNumber;
620
- groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
878
+ /**
879
+ * Grouping criteria (e.g., by actor.id, by ipAddress)
880
+ */
881
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
882
+ /**
883
+ * Additional filters
884
+ */
621
885
  filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
622
- }, z.core.$strip>;
623
- actions: z.ZodArray<z.ZodEnum<{
624
- alert: "alert";
625
- lock_account: "lock_account";
626
- block_ip: "block_ip";
627
- require_mfa: "require_mfa";
628
- log_critical: "log_critical";
629
- webhook: "webhook";
630
- }>>;
631
- alertSeverity: z.ZodDefault<z.ZodEnum<{
632
- error: "error";
633
- warning: "warning";
634
- info: "info";
635
- debug: "debug";
636
- notice: "notice";
637
- critical: "critical";
638
- alert: "alert";
639
- emergency: "emergency";
640
- }>>;
886
+ }, "strip", z.ZodTypeAny, {
887
+ threshold: number;
888
+ windowSeconds: number;
889
+ groupBy?: string[] | undefined;
890
+ filters?: Record<string, any> | undefined;
891
+ }, {
892
+ threshold: number;
893
+ windowSeconds: number;
894
+ groupBy?: string[] | undefined;
895
+ filters?: Record<string, any> | undefined;
896
+ }>;
897
+ /**
898
+ * Actions to take when rule is triggered
899
+ */
900
+ actions: z.ZodArray<z.ZodEnum<["alert", "lock_account", "block_ip", "require_mfa", "log_critical", "webhook"]>, "many">;
901
+ /**
902
+ * Severity level for triggered alerts
903
+ */
904
+ alertSeverity: z.ZodDefault<z.ZodEnum<["debug", "info", "notice", "warning", "error", "critical", "alert", "emergency"]>>;
905
+ /**
906
+ * Notification configuration
907
+ */
641
908
  notifications: z.ZodOptional<z.ZodObject<{
642
- email: z.ZodOptional<z.ZodArray<z.ZodString>>;
909
+ /**
910
+ * Email addresses to notify
911
+ */
912
+ email: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
913
+ /**
914
+ * Slack webhook URL
915
+ */
643
916
  slack: z.ZodOptional<z.ZodString>;
917
+ /**
918
+ * Custom webhook URL
919
+ */
644
920
  webhook: z.ZodOptional<z.ZodString>;
645
- }, z.core.$strip>>;
646
- }, z.core.$strip>>>;
921
+ }, "strip", z.ZodTypeAny, {
922
+ email?: string[] | undefined;
923
+ webhook?: string | undefined;
924
+ slack?: string | undefined;
925
+ }, {
926
+ email?: string[] | undefined;
927
+ webhook?: string | undefined;
928
+ slack?: string | undefined;
929
+ }>>;
930
+ }, "strip", z.ZodTypeAny, {
931
+ enabled: boolean;
932
+ name: string;
933
+ condition: {
934
+ threshold: number;
935
+ windowSeconds: number;
936
+ groupBy?: string[] | undefined;
937
+ filters?: Record<string, any> | undefined;
938
+ };
939
+ id: string;
940
+ actions: ("alert" | "lock_account" | "block_ip" | "require_mfa" | "log_critical" | "webhook")[];
941
+ eventTypes: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[];
942
+ alertSeverity: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency";
943
+ description?: string | undefined;
944
+ notifications?: {
945
+ email?: string[] | undefined;
946
+ webhook?: string | undefined;
947
+ slack?: string | undefined;
948
+ } | undefined;
949
+ }, {
950
+ name: string;
951
+ condition: {
952
+ threshold: number;
953
+ windowSeconds: number;
954
+ groupBy?: string[] | undefined;
955
+ filters?: Record<string, any> | undefined;
956
+ };
957
+ id: string;
958
+ actions: ("alert" | "lock_account" | "block_ip" | "require_mfa" | "log_critical" | "webhook")[];
959
+ eventTypes: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[];
960
+ enabled?: boolean | undefined;
961
+ description?: string | undefined;
962
+ alertSeverity?: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency" | undefined;
963
+ notifications?: {
964
+ email?: string[] | undefined;
965
+ webhook?: string | undefined;
966
+ slack?: string | undefined;
967
+ } | undefined;
968
+ }>, "many">>;
969
+ /**
970
+ * Whether to include sensitive data in audit logs
971
+ * If false, sensitive fields are redacted/masked
972
+ */
647
973
  includeSensitiveData: z.ZodDefault<z.ZodBoolean>;
648
- redactFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
974
+ /**
975
+ * Fields to redact from audit logs
976
+ */
977
+ redactFields: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
978
+ /**
979
+ * Whether to log successful read operations
980
+ * Can be disabled to reduce log volume
981
+ */
649
982
  logReads: z.ZodDefault<z.ZodBoolean>;
983
+ /**
984
+ * Sampling rate for read operations (0.0 to 1.0)
985
+ * Only applies if logReads is true
986
+ */
650
987
  readSamplingRate: z.ZodDefault<z.ZodNumber>;
988
+ /**
989
+ * Whether to log system/internal operations
990
+ */
651
991
  logSystemEvents: z.ZodDefault<z.ZodBoolean>;
992
+ /**
993
+ * Custom audit event handlers
994
+ * Note: Function handlers are for runtime configuration only and will not be serialized to JSON Schema
995
+ */
652
996
  customHandlers: z.ZodOptional<z.ZodArray<z.ZodObject<{
653
- eventType: z.ZodEnum<{
654
- "data.create": "data.create";
655
- "data.read": "data.read";
656
- "data.update": "data.update";
657
- "data.delete": "data.delete";
658
- "data.export": "data.export";
659
- "data.import": "data.import";
660
- "data.bulk_update": "data.bulk_update";
661
- "data.bulk_delete": "data.bulk_delete";
662
- "auth.login": "auth.login";
663
- "auth.login_failed": "auth.login_failed";
664
- "auth.logout": "auth.logout";
665
- "auth.session_created": "auth.session_created";
666
- "auth.session_expired": "auth.session_expired";
667
- "auth.password_reset": "auth.password_reset";
668
- "auth.password_changed": "auth.password_changed";
669
- "auth.email_verified": "auth.email_verified";
670
- "auth.mfa_enabled": "auth.mfa_enabled";
671
- "auth.mfa_disabled": "auth.mfa_disabled";
672
- "auth.account_locked": "auth.account_locked";
673
- "auth.account_unlocked": "auth.account_unlocked";
674
- "authz.permission_granted": "authz.permission_granted";
675
- "authz.permission_revoked": "authz.permission_revoked";
676
- "authz.role_assigned": "authz.role_assigned";
677
- "authz.role_removed": "authz.role_removed";
678
- "authz.role_created": "authz.role_created";
679
- "authz.role_updated": "authz.role_updated";
680
- "authz.role_deleted": "authz.role_deleted";
681
- "authz.policy_created": "authz.policy_created";
682
- "authz.policy_updated": "authz.policy_updated";
683
- "authz.policy_deleted": "authz.policy_deleted";
684
- "system.config_changed": "system.config_changed";
685
- "system.plugin_installed": "system.plugin_installed";
686
- "system.plugin_uninstalled": "system.plugin_uninstalled";
687
- "system.backup_created": "system.backup_created";
688
- "system.backup_restored": "system.backup_restored";
689
- "system.integration_added": "system.integration_added";
690
- "system.integration_removed": "system.integration_removed";
691
- "security.access_denied": "security.access_denied";
692
- "security.suspicious_activity": "security.suspicious_activity";
693
- "security.data_breach": "security.data_breach";
694
- "security.api_key_created": "security.api_key_created";
695
- "security.api_key_revoked": "security.api_key_revoked";
696
- }>;
997
+ eventType: z.ZodEnum<["data.create", "data.read", "data.update", "data.delete", "data.export", "data.import", "data.bulk_update", "data.bulk_delete", "auth.login", "auth.login_failed", "auth.logout", "auth.session_created", "auth.session_expired", "auth.password_reset", "auth.password_changed", "auth.email_verified", "auth.mfa_enabled", "auth.mfa_disabled", "auth.account_locked", "auth.account_unlocked", "authz.permission_granted", "authz.permission_revoked", "authz.role_assigned", "authz.role_removed", "authz.role_created", "authz.role_updated", "authz.role_deleted", "authz.policy_created", "authz.policy_updated", "authz.policy_deleted", "system.config_changed", "system.plugin_installed", "system.plugin_uninstalled", "system.backup_created", "system.backup_restored", "system.integration_added", "system.integration_removed", "security.access_denied", "security.suspicious_activity", "security.data_breach", "security.api_key_created", "security.api_key_revoked"]>;
697
998
  handlerId: z.ZodString;
698
- }, z.core.$strip>>>;
999
+ }, "strip", z.ZodTypeAny, {
1000
+ eventType: "data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked";
1001
+ handlerId: string;
1002
+ }, {
1003
+ eventType: "data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked";
1004
+ handlerId: string;
1005
+ }>, "many">>;
1006
+ /**
1007
+ * Compliance mode configuration
1008
+ */
699
1009
  compliance: z.ZodOptional<z.ZodObject<{
700
- standards: z.ZodOptional<z.ZodArray<z.ZodEnum<{
701
- sox: "sox";
702
- hipaa: "hipaa";
703
- gdpr: "gdpr";
704
- pci_dss: "pci_dss";
705
- iso_27001: "iso_27001";
706
- fedramp: "fedramp";
707
- }>>>;
1010
+ /**
1011
+ * Compliance standards to enforce
1012
+ */
1013
+ standards: z.ZodOptional<z.ZodArray<z.ZodEnum<["sox", "hipaa", "gdpr", "pci_dss", "iso_27001", "fedramp"]>, "many">>;
1014
+ /**
1015
+ * Whether to enforce immutable audit logs
1016
+ */
708
1017
  immutableLogs: z.ZodDefault<z.ZodBoolean>;
1018
+ /**
1019
+ * Whether to require cryptographic signing
1020
+ */
709
1021
  requireSigning: z.ZodDefault<z.ZodBoolean>;
1022
+ /**
1023
+ * Signing key configuration
1024
+ */
710
1025
  signingKey: z.ZodOptional<z.ZodString>;
711
- }, z.core.$strip>>;
712
- }, z.core.$strip>;
1026
+ }, "strip", z.ZodTypeAny, {
1027
+ immutableLogs: boolean;
1028
+ requireSigning: boolean;
1029
+ standards?: ("sox" | "hipaa" | "gdpr" | "pci_dss" | "iso_27001" | "fedramp")[] | undefined;
1030
+ signingKey?: string | undefined;
1031
+ }, {
1032
+ standards?: ("sox" | "hipaa" | "gdpr" | "pci_dss" | "iso_27001" | "fedramp")[] | undefined;
1033
+ immutableLogs?: boolean | undefined;
1034
+ requireSigning?: boolean | undefined;
1035
+ signingKey?: string | undefined;
1036
+ }>>;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ enabled: boolean;
1039
+ label: string;
1040
+ name: string;
1041
+ minimumSeverity: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency";
1042
+ storage: {
1043
+ type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "azure_blob" | "gcs" | "clickhouse";
1044
+ compression: boolean;
1045
+ bufferEnabled: boolean;
1046
+ bufferSize: number;
1047
+ flushIntervalSeconds: number;
1048
+ connectionString?: string | undefined;
1049
+ config?: Record<string, any> | undefined;
1050
+ };
1051
+ suspiciousActivityRules: {
1052
+ enabled: boolean;
1053
+ name: string;
1054
+ condition: {
1055
+ threshold: number;
1056
+ windowSeconds: number;
1057
+ groupBy?: string[] | undefined;
1058
+ filters?: Record<string, any> | undefined;
1059
+ };
1060
+ id: string;
1061
+ actions: ("alert" | "lock_account" | "block_ip" | "require_mfa" | "log_critical" | "webhook")[];
1062
+ eventTypes: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[];
1063
+ alertSeverity: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency";
1064
+ description?: string | undefined;
1065
+ notifications?: {
1066
+ email?: string[] | undefined;
1067
+ webhook?: string | undefined;
1068
+ slack?: string | undefined;
1069
+ } | undefined;
1070
+ }[];
1071
+ includeSensitiveData: boolean;
1072
+ redactFields: string[];
1073
+ logReads: boolean;
1074
+ readSamplingRate: number;
1075
+ logSystemEvents: boolean;
1076
+ eventTypes?: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[] | undefined;
1077
+ excludeEventTypes?: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[] | undefined;
1078
+ retentionPolicy?: {
1079
+ retentionDays: number;
1080
+ archiveAfterRetention: boolean;
1081
+ archiveStorage?: {
1082
+ type: "s3" | "azure_blob" | "gcs" | "filesystem";
1083
+ path?: string | undefined;
1084
+ credentials?: Record<string, any> | undefined;
1085
+ endpoint?: string | undefined;
1086
+ bucket?: string | undefined;
1087
+ } | undefined;
1088
+ customRetention?: Record<string, number> | undefined;
1089
+ minimumRetentionDays?: number | undefined;
1090
+ } | undefined;
1091
+ customHandlers?: {
1092
+ eventType: "data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked";
1093
+ handlerId: string;
1094
+ }[] | undefined;
1095
+ compliance?: {
1096
+ immutableLogs: boolean;
1097
+ requireSigning: boolean;
1098
+ standards?: ("sox" | "hipaa" | "gdpr" | "pci_dss" | "iso_27001" | "fedramp")[] | undefined;
1099
+ signingKey?: string | undefined;
1100
+ } | undefined;
1101
+ }, {
1102
+ label: string;
1103
+ name: string;
1104
+ storage: {
1105
+ type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "azure_blob" | "gcs" | "clickhouse";
1106
+ connectionString?: string | undefined;
1107
+ config?: Record<string, any> | undefined;
1108
+ compression?: boolean | undefined;
1109
+ bufferEnabled?: boolean | undefined;
1110
+ bufferSize?: number | undefined;
1111
+ flushIntervalSeconds?: number | undefined;
1112
+ };
1113
+ enabled?: boolean | undefined;
1114
+ eventTypes?: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[] | undefined;
1115
+ excludeEventTypes?: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[] | undefined;
1116
+ minimumSeverity?: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency" | undefined;
1117
+ retentionPolicy?: {
1118
+ retentionDays?: number | undefined;
1119
+ archiveAfterRetention?: boolean | undefined;
1120
+ archiveStorage?: {
1121
+ type: "s3" | "azure_blob" | "gcs" | "filesystem";
1122
+ path?: string | undefined;
1123
+ credentials?: Record<string, any> | undefined;
1124
+ endpoint?: string | undefined;
1125
+ bucket?: string | undefined;
1126
+ } | undefined;
1127
+ customRetention?: Record<string, number> | undefined;
1128
+ minimumRetentionDays?: number | undefined;
1129
+ } | undefined;
1130
+ suspiciousActivityRules?: {
1131
+ name: string;
1132
+ condition: {
1133
+ threshold: number;
1134
+ windowSeconds: number;
1135
+ groupBy?: string[] | undefined;
1136
+ filters?: Record<string, any> | undefined;
1137
+ };
1138
+ id: string;
1139
+ actions: ("alert" | "lock_account" | "block_ip" | "require_mfa" | "log_critical" | "webhook")[];
1140
+ eventTypes: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[];
1141
+ enabled?: boolean | undefined;
1142
+ description?: string | undefined;
1143
+ alertSeverity?: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency" | undefined;
1144
+ notifications?: {
1145
+ email?: string[] | undefined;
1146
+ webhook?: string | undefined;
1147
+ slack?: string | undefined;
1148
+ } | undefined;
1149
+ }[] | undefined;
1150
+ includeSensitiveData?: boolean | undefined;
1151
+ redactFields?: string[] | undefined;
1152
+ logReads?: boolean | undefined;
1153
+ readSamplingRate?: number | undefined;
1154
+ logSystemEvents?: boolean | undefined;
1155
+ customHandlers?: {
1156
+ eventType: "data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked";
1157
+ handlerId: string;
1158
+ }[] | undefined;
1159
+ compliance?: {
1160
+ standards?: ("sox" | "hipaa" | "gdpr" | "pci_dss" | "iso_27001" | "fedramp")[] | undefined;
1161
+ immutableLogs?: boolean | undefined;
1162
+ requireSigning?: boolean | undefined;
1163
+ signingKey?: string | undefined;
1164
+ } | undefined;
1165
+ }>;
713
1166
  export type AuditConfig = z.infer<typeof AuditConfigSchema>;
714
1167
  /**
715
1168
  * Default suspicious activity rules