@objectstack/spec 0.7.1 → 0.8.0

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 (1245) hide show
  1. package/dist/ai/agent-action.zod.d.ts +625 -1889
  2. package/dist/ai/agent-action.zod.d.ts.map +1 -1
  3. package/dist/ai/agent-action.zod.js +7 -7
  4. package/dist/ai/agent.zod.d.ts +36 -120
  5. package/dist/ai/agent.zod.d.ts.map +1 -1
  6. package/dist/ai/conversation.zod.d.ts +134 -841
  7. package/dist/ai/conversation.zod.d.ts.map +1 -1
  8. package/dist/ai/conversation.zod.js +5 -5
  9. package/dist/ai/cost.zod.d.ts +479 -1697
  10. package/dist/ai/cost.zod.d.ts.map +1 -1
  11. package/dist/ai/cost.zod.js +3 -3
  12. package/dist/ai/devops-agent.zod.d.ts +614 -0
  13. package/dist/ai/devops-agent.zod.d.ts.map +1 -0
  14. package/dist/ai/devops-agent.zod.js +776 -0
  15. package/dist/ai/index.d.ts +2 -0
  16. package/dist/ai/index.d.ts.map +1 -1
  17. package/dist/ai/index.js +2 -0
  18. package/dist/ai/model-registry.zod.d.ts +145 -1149
  19. package/dist/ai/model-registry.zod.d.ts.map +1 -1
  20. package/dist/ai/model-registry.zod.js +3 -3
  21. package/dist/ai/nlq.zod.d.ts +209 -914
  22. package/dist/ai/nlq.zod.d.ts.map +1 -1
  23. package/dist/ai/nlq.zod.js +2 -2
  24. package/dist/ai/orchestration.zod.d.ts +159 -449
  25. package/dist/ai/orchestration.zod.d.ts.map +1 -1
  26. package/dist/ai/orchestration.zod.js +4 -4
  27. package/dist/ai/predictive.zod.d.ts +116 -640
  28. package/dist/ai/predictive.zod.d.ts.map +1 -1
  29. package/dist/ai/predictive.zod.js +4 -4
  30. package/dist/ai/rag-pipeline.zod.d.ts +194 -819
  31. package/dist/ai/rag-pipeline.zod.d.ts.map +1 -1
  32. package/dist/ai/rag-pipeline.zod.js +4 -4
  33. package/dist/api/batch.zod.d.ts +96 -727
  34. package/dist/api/batch.zod.d.ts.map +1 -1
  35. package/dist/api/batch.zod.js +14 -1
  36. package/dist/api/contract.zod.d.ts +194 -1502
  37. package/dist/api/contract.zod.d.ts.map +1 -1
  38. package/dist/api/contract.zod.js +1 -1
  39. package/dist/api/discovery.zod.d.ts +12 -126
  40. package/dist/api/discovery.zod.d.ts.map +1 -1
  41. package/dist/api/endpoint.zod.d.ts +56 -222
  42. package/dist/api/endpoint.zod.d.ts.map +1 -1
  43. package/dist/api/errors.zod.d.ts +376 -205
  44. package/dist/api/errors.zod.d.ts.map +1 -1
  45. package/dist/api/graphql.zod.d.ts +670 -5073
  46. package/dist/api/graphql.zod.d.ts.map +1 -1
  47. package/dist/api/graphql.zod.js +6 -6
  48. package/dist/api/http-cache.zod.d.ts +92 -229
  49. package/dist/api/http-cache.zod.d.ts.map +1 -1
  50. package/dist/api/odata.zod.d.ts +96 -322
  51. package/dist/api/odata.zod.d.ts.map +1 -1
  52. package/dist/api/odata.zod.js +16 -3
  53. package/dist/api/protocol.zod.d.ts +987 -8312
  54. package/dist/api/protocol.zod.d.ts.map +1 -1
  55. package/dist/api/protocol.zod.js +90 -90
  56. package/dist/api/realtime.zod.d.ts +86 -74
  57. package/dist/api/realtime.zod.d.ts.map +1 -1
  58. package/dist/api/realtime.zod.js +15 -2
  59. package/dist/api/rest-server.zod.d.ts +248 -1942
  60. package/dist/api/rest-server.zod.d.ts.map +1 -1
  61. package/dist/api/rest-server.zod.js +1 -1
  62. package/dist/api/router.zod.d.ts +41 -145
  63. package/dist/api/router.zod.d.ts.map +1 -1
  64. package/dist/api/router.zod.js +8 -1
  65. package/dist/api/view-storage.zod.d.ts +1170 -7336
  66. package/dist/api/view-storage.zod.d.ts.map +1 -1
  67. package/dist/api/view-storage.zod.js +2 -2
  68. package/dist/api/websocket.zod.d.ts +203 -1209
  69. package/dist/api/websocket.zod.d.ts.map +1 -1
  70. package/dist/api/websocket.zod.js +4 -4
  71. package/dist/auth/config.zod.d.ts +316 -2936
  72. package/dist/auth/config.zod.d.ts.map +1 -1
  73. package/dist/auth/config.zod.js +46 -46
  74. package/dist/auth/identity.zod.d.ts +12 -189
  75. package/dist/auth/identity.zod.d.ts.map +1 -1
  76. package/dist/auth/organization.zod.d.ts +15 -126
  77. package/dist/auth/organization.zod.d.ts.map +1 -1
  78. package/dist/auth/organization.zod.js +1 -1
  79. package/dist/auth/policy.zod.d.ts +14 -151
  80. package/dist/auth/policy.zod.d.ts.map +1 -1
  81. package/dist/auth/role.zod.d.ts +1 -14
  82. package/dist/auth/role.zod.d.ts.map +1 -1
  83. package/dist/auth/scim.zod.d.ts +165 -2327
  84. package/dist/auth/scim.zod.d.ts.map +1 -1
  85. package/dist/auth/scim.zod.js +1 -1
  86. package/dist/automation/approval.zod.d.ts +171 -536
  87. package/dist/automation/approval.zod.d.ts.map +1 -1
  88. package/dist/automation/approval.zod.js +1 -1
  89. package/dist/automation/etl.zod.d.ts +144 -453
  90. package/dist/automation/etl.zod.d.ts.map +1 -1
  91. package/dist/automation/etl.zod.js +4 -4
  92. package/dist/automation/flow.zod.d.ts +79 -193
  93. package/dist/automation/flow.zod.d.ts.map +1 -1
  94. package/dist/automation/flow.zod.js +1 -1
  95. package/dist/automation/sync.zod.d.ts +132 -813
  96. package/dist/automation/sync.zod.d.ts.map +1 -1
  97. package/dist/automation/sync.zod.js +2 -2
  98. package/dist/automation/trigger-registry.zod.d.ts +184 -1030
  99. package/dist/automation/trigger-registry.zod.d.ts.map +1 -1
  100. package/dist/automation/trigger-registry.zod.js +7 -7
  101. package/dist/automation/webhook.zod.d.ts +50 -125
  102. package/dist/automation/webhook.zod.d.ts.map +1 -1
  103. package/dist/automation/webhook.zod.js +2 -2
  104. package/dist/automation/workflow.zod.d.ts +392 -2434
  105. package/dist/automation/workflow.zod.d.ts.map +1 -1
  106. package/dist/automation/workflow.zod.js +5 -5
  107. package/dist/data/data-engine.zod.d.ts +326 -2335
  108. package/dist/data/data-engine.zod.d.ts.map +1 -1
  109. package/dist/data/data-engine.zod.js +34 -27
  110. package/dist/data/dataset.zod.d.ts +21 -40
  111. package/dist/data/dataset.zod.d.ts.map +1 -1
  112. package/dist/data/dataset.zod.js +1 -1
  113. package/dist/data/document.zod.d.ts +39 -547
  114. package/dist/data/document.zod.d.ts.map +1 -1
  115. package/dist/data/document.zod.js +1 -1
  116. package/dist/data/driver/mongo.zod.d.ts +3 -39
  117. package/dist/data/driver/mongo.zod.d.ts.map +1 -1
  118. package/dist/data/driver/mongo.zod.js +1 -1
  119. package/dist/data/driver/postgres.zod.d.ts +3 -109
  120. package/dist/data/driver/postgres.zod.d.ts.map +1 -1
  121. package/dist/data/driver-nosql.zod.d.ts +189 -695
  122. package/dist/data/driver-nosql.zod.d.ts.map +1 -1
  123. package/dist/data/driver-nosql.zod.js +4 -4
  124. package/dist/data/driver-sql.zod.d.ts +33 -481
  125. package/dist/data/driver-sql.zod.d.ts.map +1 -1
  126. package/dist/data/driver.zod.d.ts +473 -4237
  127. package/dist/data/driver.zod.d.ts.map +1 -1
  128. package/dist/data/driver.zod.js +104 -96
  129. package/dist/data/external-lookup.zod.d.ts +68 -505
  130. package/dist/data/external-lookup.zod.d.ts.map +1 -1
  131. package/dist/data/external-lookup.zod.js +2 -2
  132. package/dist/data/field.zod.d.ts +737 -1696
  133. package/dist/data/field.zod.d.ts.map +1 -1
  134. package/dist/data/field.zod.js +1 -1
  135. package/dist/data/filter.zod.d.ts +36 -224
  136. package/dist/data/filter.zod.d.ts.map +1 -1
  137. package/dist/data/hook.zod.d.ts +70 -143
  138. package/dist/data/hook.zod.d.ts.map +1 -1
  139. package/dist/data/hook.zod.js +2 -2
  140. package/dist/data/mapping.zod.d.ts +109 -483
  141. package/dist/data/mapping.zod.d.ts.map +1 -1
  142. package/dist/data/mapping.zod.js +1 -1
  143. package/dist/data/object.zod.d.ts +506 -2859
  144. package/dist/data/object.zod.d.ts.map +1 -1
  145. package/dist/data/object.zod.js +3 -1
  146. package/dist/data/query.zod.d.ts +157 -402
  147. package/dist/data/query.zod.d.ts.map +1 -1
  148. package/dist/data/query.zod.js +2 -2
  149. package/dist/data/validation.zod.d.ts +123 -284
  150. package/dist/data/validation.zod.d.ts.map +1 -1
  151. package/dist/data/validation.zod.js +5 -5
  152. package/dist/hub/composer.zod.d.ts +127 -1492
  153. package/dist/hub/composer.zod.d.ts.map +1 -1
  154. package/dist/hub/composer.zod.js +3 -3
  155. package/dist/hub/license.zod.d.ts +29 -74
  156. package/dist/hub/license.zod.d.ts.map +1 -1
  157. package/dist/hub/license.zod.js +2 -2
  158. package/dist/hub/marketplace.zod.d.ts +32 -141
  159. package/dist/hub/marketplace.zod.d.ts.map +1 -1
  160. package/dist/hub/plugin-registry.zod.d.ts +140 -1461
  161. package/dist/hub/plugin-registry.zod.d.ts.map +1 -1
  162. package/dist/hub/plugin-registry.zod.js +1 -1
  163. package/dist/hub/space.zod.d.ts +73 -307
  164. package/dist/hub/space.zod.d.ts.map +1 -1
  165. package/dist/hub/space.zod.js +2 -2
  166. package/dist/hub/tenant.zod.d.ts +107 -861
  167. package/dist/hub/tenant.zod.d.ts.map +1 -1
  168. package/dist/hub/tenant.zod.js +1 -1
  169. package/dist/integration/connector/database.zod.d.ts +248 -1271
  170. package/dist/integration/connector/database.zod.d.ts.map +1 -1
  171. package/dist/integration/connector/database.zod.js +1 -1
  172. package/dist/integration/connector/file-storage.zod.d.ts +243 -1008
  173. package/dist/integration/connector/file-storage.zod.d.ts.map +1 -1
  174. package/dist/integration/connector/file-storage.zod.js +1 -1
  175. package/dist/integration/connector/github.zod.d.ts +602 -0
  176. package/dist/integration/connector/github.zod.d.ts.map +1 -0
  177. package/dist/integration/connector/github.zod.js +445 -0
  178. package/dist/integration/connector/message-queue.zod.d.ts +298 -1265
  179. package/dist/integration/connector/message-queue.zod.d.ts.map +1 -1
  180. package/dist/integration/connector/message-queue.zod.js +2 -2
  181. package/dist/integration/connector/saas.zod.d.ts +239 -1147
  182. package/dist/integration/connector/saas.zod.d.ts.map +1 -1
  183. package/dist/integration/connector/saas.zod.js +1 -1
  184. package/dist/integration/connector/vercel.zod.d.ts +783 -0
  185. package/dist/integration/connector/vercel.zod.d.ts.map +1 -0
  186. package/dist/integration/connector/vercel.zod.js +538 -0
  187. package/dist/integration/connector.zod.d.ts +349 -1241
  188. package/dist/integration/connector.zod.d.ts.map +1 -1
  189. package/dist/integration/connector.zod.js +3 -3
  190. package/dist/integration/index.d.ts +4 -0
  191. package/dist/integration/index.d.ts.map +1 -1
  192. package/dist/integration/index.js +4 -0
  193. package/dist/permission/permission.zod.d.ts +17 -263
  194. package/dist/permission/permission.zod.d.ts.map +1 -1
  195. package/dist/permission/permission.zod.js +3 -3
  196. package/dist/permission/rls.zod.d.ts +27 -334
  197. package/dist/permission/rls.zod.d.ts.map +1 -1
  198. package/dist/permission/rls.zod.js +1 -1
  199. package/dist/permission/sharing.zod.d.ts +58 -92
  200. package/dist/permission/sharing.zod.d.ts.map +1 -1
  201. package/dist/permission/territory.zod.d.ts +32 -53
  202. package/dist/permission/territory.zod.d.ts.map +1 -1
  203. package/dist/shared/http.zod.d.ts +22 -67
  204. package/dist/shared/http.zod.d.ts.map +1 -1
  205. package/dist/shared/mapping.zod.d.ts +25 -139
  206. package/dist/shared/mapping.zod.d.ts.map +1 -1
  207. package/dist/shared/mapping.zod.js +1 -1
  208. package/dist/stack.zod.d.ts +5620 -26603
  209. package/dist/stack.zod.d.ts.map +1 -1
  210. package/dist/system/audit.zod.d.ts +522 -975
  211. package/dist/system/audit.zod.d.ts.map +1 -1
  212. package/dist/system/audit.zod.js +8 -8
  213. package/dist/system/cache.zod.d.ts +64 -102
  214. package/dist/system/cache.zod.d.ts.map +1 -1
  215. package/dist/system/change-management.zod.d.ts +77 -452
  216. package/dist/system/change-management.zod.d.ts.map +1 -1
  217. package/dist/system/collaboration.zod.d.ts +243 -1609
  218. package/dist/system/collaboration.zod.d.ts.map +1 -1
  219. package/dist/system/collaboration.zod.js +12 -12
  220. package/dist/system/compliance.zod.d.ts +63 -293
  221. package/dist/system/compliance.zod.d.ts.map +1 -1
  222. package/dist/system/context.zod.d.ts +13 -36
  223. package/dist/system/context.zod.d.ts.map +1 -1
  224. package/dist/system/context.zod.js +1 -1
  225. package/dist/system/datasource.zod.d.ts +7 -246
  226. package/dist/system/datasource.zod.d.ts.map +1 -1
  227. package/dist/system/datasource.zod.js +3 -3
  228. package/dist/system/encryption.zod.d.ts +54 -184
  229. package/dist/system/encryption.zod.d.ts.map +1 -1
  230. package/dist/system/events.zod.d.ts +697 -121
  231. package/dist/system/events.zod.d.ts.map +1 -1
  232. package/dist/system/events.zod.js +595 -2
  233. package/dist/system/feature.zod.d.ts +39 -97
  234. package/dist/system/feature.zod.d.ts.map +1 -1
  235. package/dist/system/http-server.zod.d.ts +116 -562
  236. package/dist/system/http-server.zod.d.ts.map +1 -1
  237. package/dist/system/http-server.zod.js +2 -2
  238. package/dist/system/index.d.ts +1 -0
  239. package/dist/system/index.d.ts.map +1 -1
  240. package/dist/system/index.js +1 -0
  241. package/dist/system/job.zod.d.ts +29 -152
  242. package/dist/system/job.zod.d.ts.map +1 -1
  243. package/dist/system/job.zod.js +4 -1
  244. package/dist/system/logging.zod.d.ts +268 -1876
  245. package/dist/system/logging.zod.d.ts.map +1 -1
  246. package/dist/system/logging.zod.js +12 -12
  247. package/dist/system/manifest.zod.d.ts +82 -1041
  248. package/dist/system/manifest.zod.d.ts.map +1 -1
  249. package/dist/system/manifest.zod.js +5 -5
  250. package/dist/system/masking.zod.d.ts +34 -66
  251. package/dist/system/masking.zod.d.ts.map +1 -1
  252. package/dist/system/message-queue.zod.d.ts +49 -135
  253. package/dist/system/message-queue.zod.d.ts.map +1 -1
  254. package/dist/system/metadata-loader.zod.d.ts +76 -495
  255. package/dist/system/metadata-loader.zod.d.ts.map +1 -1
  256. package/dist/system/metadata-loader.zod.js +2 -2
  257. package/dist/system/metrics.zod.d.ts +330 -1705
  258. package/dist/system/metrics.zod.d.ts.map +1 -1
  259. package/dist/system/metrics.zod.js +5 -5
  260. package/dist/system/notification.zod.d.ts +75 -534
  261. package/dist/system/notification.zod.d.ts.map +1 -1
  262. package/dist/system/notification.zod.js +1 -1
  263. package/dist/system/object-storage.zod.d.ts +385 -1104
  264. package/dist/system/object-storage.zod.d.ts.map +1 -1
  265. package/dist/system/object-storage.zod.js +4 -4
  266. package/dist/system/plugin-capability.zod.d.ts +88 -932
  267. package/dist/system/plugin-capability.zod.d.ts.map +1 -1
  268. package/dist/system/plugin-capability.zod.js +1 -1
  269. package/dist/system/plugin-lifecycle-events.zod.d.ts +49 -209
  270. package/dist/system/plugin-lifecycle-events.zod.d.ts.map +1 -1
  271. package/dist/system/plugin-validator.zod.d.ts +7 -154
  272. package/dist/system/plugin-validator.zod.d.ts.map +1 -1
  273. package/dist/system/plugin.zod.d.ts +288 -3343
  274. package/dist/system/plugin.zod.d.ts.map +1 -1
  275. package/dist/system/plugin.zod.js +90 -39
  276. package/dist/system/search-engine.zod.d.ts +78 -209
  277. package/dist/system/search-engine.zod.d.ts.map +1 -1
  278. package/dist/system/search-engine.zod.js +2 -2
  279. package/dist/system/service-registry.zod.d.ts +25 -134
  280. package/dist/system/service-registry.zod.d.ts.map +1 -1
  281. package/dist/system/service-registry.zod.js +3 -3
  282. package/dist/system/startup-orchestrator.zod.d.ts +12 -269
  283. package/dist/system/startup-orchestrator.zod.d.ts.map +1 -1
  284. package/dist/system/startup-orchestrator.zod.js +1 -1
  285. package/dist/system/tracing.zod.d.ts +286 -1623
  286. package/dist/system/tracing.zod.d.ts.map +1 -1
  287. package/dist/system/tracing.zod.js +7 -7
  288. package/dist/system/translation.zod.d.ts +8 -134
  289. package/dist/system/translation.zod.d.ts.map +1 -1
  290. package/dist/system/translation.zod.js +5 -5
  291. package/dist/system/worker.zod.d.ts +479 -0
  292. package/dist/system/worker.zod.d.ts.map +1 -0
  293. package/dist/system/worker.zod.js +479 -0
  294. package/dist/ui/action.zod.d.ts +118 -121
  295. package/dist/ui/action.zod.d.ts.map +1 -1
  296. package/dist/ui/app.zod.d.ts +22 -290
  297. package/dist/ui/app.zod.d.ts.map +1 -1
  298. package/dist/ui/app.zod.js +1 -1
  299. package/dist/ui/chart.zod.d.ts +64 -18
  300. package/dist/ui/chart.zod.d.ts.map +1 -1
  301. package/dist/ui/component.zod.d.ts +86 -200
  302. package/dist/ui/component.zod.d.ts.map +1 -1
  303. package/dist/ui/dashboard.zod.d.ts +149 -249
  304. package/dist/ui/dashboard.zod.d.ts.map +1 -1
  305. package/dist/ui/page.zod.d.ts +117 -144
  306. package/dist/ui/page.zod.d.ts.map +1 -1
  307. package/dist/ui/page.zod.js +1 -1
  308. package/dist/ui/report.zod.d.ts +134 -179
  309. package/dist/ui/report.zod.d.ts.map +1 -1
  310. package/dist/ui/theme.zod.d.ts +42 -944
  311. package/dist/ui/theme.zod.d.ts.map +1 -1
  312. package/dist/ui/theme.zod.js +1 -1
  313. package/dist/ui/view.zod.d.ts +386 -2740
  314. package/dist/ui/view.zod.d.ts.map +1 -1
  315. package/dist/ui/view.zod.js +4 -4
  316. package/dist/ui/widget.zod.d.ts +201 -1593
  317. package/dist/ui/widget.zod.d.ts.map +1 -1
  318. package/dist/ui/widget.zod.js +8 -8
  319. package/json-schema/ai/AIKnowledge.json +1 -24
  320. package/json-schema/ai/AIModelConfig.json +1 -35
  321. package/json-schema/ai/AIOperationCost.json +1 -73
  322. package/json-schema/ai/AIOrchestration.json +1 -373
  323. package/json-schema/ai/AIOrchestrationExecutionResult.json +1 -131
  324. package/json-schema/ai/AIOrchestrationTrigger.json +1 -12
  325. package/json-schema/ai/AITask.json +1 -117
  326. package/json-schema/ai/AITaskType.json +1 -15
  327. package/json-schema/ai/AITool.json +1 -27
  328. package/json-schema/ai/Agent.json +1 -134
  329. package/json-schema/ai/AgentAction.json +1 -430
  330. package/json-schema/ai/AgentActionResult.json +1 -63
  331. package/json-schema/ai/AgentActionSequence.json +1 -486
  332. package/json-schema/ai/AgentActionSequenceResult.json +1 -137
  333. package/json-schema/ai/BatchAIOrchestrationExecution.json +1 -42
  334. package/json-schema/ai/BillingPeriod.json +1 -12
  335. package/json-schema/ai/BudgetLimit.json +1 -105
  336. package/json-schema/ai/BudgetStatus.json +1 -85
  337. package/json-schema/ai/BudgetType.json +1 -11
  338. package/json-schema/ai/CICDPipelineConfig.json +7 -0
  339. package/json-schema/ai/ChunkingStrategy.json +1 -127
  340. package/json-schema/ai/CodeGenerationConfig.json +7 -0
  341. package/json-schema/ai/CodeGenerationTarget.json +7 -0
  342. package/json-schema/ai/ComponentActionParams.json +1 -71
  343. package/json-schema/ai/ComponentActionType.json +1 -14
  344. package/json-schema/ai/ConversationAnalytics.json +1 -80
  345. package/json-schema/ai/ConversationContext.json +1 -42
  346. package/json-schema/ai/ConversationMessage.json +1 -213
  347. package/json-schema/ai/ConversationSession.json +1 -494
  348. package/json-schema/ai/ConversationSummary.json +1 -67
  349. package/json-schema/ai/CostAlert.json +1 -101
  350. package/json-schema/ai/CostAlertType.json +1 -10
  351. package/json-schema/ai/CostAnalytics.json +1 -583
  352. package/json-schema/ai/CostBreakdownDimension.json +1 -14
  353. package/json-schema/ai/CostBreakdownEntry.json +1 -54
  354. package/json-schema/ai/CostEntry.json +1 -100
  355. package/json-schema/ai/CostMetricType.json +1 -11
  356. package/json-schema/ai/CostOptimizationRecommendation.json +1 -94
  357. package/json-schema/ai/CostQueryFilters.json +1 -106
  358. package/json-schema/ai/CostReport.json +1 -958
  359. package/json-schema/ai/DataActionParams.json +1 -32
  360. package/json-schema/ai/DataActionType.json +1 -12
  361. package/json-schema/ai/DeploymentStrategy.json +7 -0
  362. package/json-schema/ai/DevOpsAgent.json +7 -0
  363. package/json-schema/ai/DevOpsTool.json +7 -0
  364. package/json-schema/ai/DevelopmentConfig.json +7 -0
  365. package/json-schema/ai/DocumentChunk.json +1 -91
  366. package/json-schema/ai/DocumentLoaderConfig.json +1 -63
  367. package/json-schema/ai/DocumentMetadata.json +1 -55
  368. package/json-schema/ai/EmbeddingModel.json +1 -51
  369. package/json-schema/ai/Entity.json +1 -49
  370. package/json-schema/ai/EvaluationMetrics.json +1 -58
  371. package/json-schema/ai/FieldSynonymConfig.json +1 -33
  372. package/json-schema/ai/FormActionParams.json +1 -30
  373. package/json-schema/ai/FormActionType.json +1 -14
  374. package/json-schema/ai/FunctionCall.json +1 -22
  375. package/json-schema/ai/GitHubIntegration.json +7 -0
  376. package/json-schema/ai/Hyperparameters.json +1 -74
  377. package/json-schema/ai/IntegrationConfig.json +7 -0
  378. package/json-schema/ai/IntentActionMapping.json +1 -485
  379. package/json-schema/ai/MessageContent.json +1 -40
  380. package/json-schema/ai/MessageContentType.json +1 -10
  381. package/json-schema/ai/MessagePruningEvent.json +1 -86
  382. package/json-schema/ai/MessageRole.json +1 -10
  383. package/json-schema/ai/ModelCapability.json +1 -41
  384. package/json-schema/ai/ModelConfig.json +1 -175
  385. package/json-schema/ai/ModelDrift.json +1 -67
  386. package/json-schema/ai/ModelFeature.json +1 -65
  387. package/json-schema/ai/ModelLimits.json +1 -39
  388. package/json-schema/ai/ModelPricing.json +1 -22
  389. package/json-schema/ai/ModelProvider.json +1 -13
  390. package/json-schema/ai/ModelRegistry.json +1 -421
  391. package/json-schema/ai/ModelRegistryEntry.json +1 -233
  392. package/json-schema/ai/ModelSelectionCriteria.json +1 -44
  393. package/json-schema/ai/MonitoringConfig.json +7 -0
  394. package/json-schema/ai/NLQAnalytics.json +1 -100
  395. package/json-schema/ai/NLQFieldMapping.json +1 -34
  396. package/json-schema/ai/NLQModelConfig.json +1 -72
  397. package/json-schema/ai/NLQParseResult.json +1 -246
  398. package/json-schema/ai/NLQRequest.json +1 -104
  399. package/json-schema/ai/NLQResponse.json +1 -314
  400. package/json-schema/ai/NLQTrainingExample.json +1 -114
  401. package/json-schema/ai/NavigationActionParams.json +1 -50
  402. package/json-schema/ai/NavigationActionType.json +1 -15
  403. package/json-schema/ai/PipelineStage.json +7 -0
  404. package/json-schema/ai/PostProcessingAction.json +1 -35
  405. package/json-schema/ai/PredictionRequest.json +1 -33
  406. package/json-schema/ai/PredictionResult.json +1 -108
  407. package/json-schema/ai/PredictiveModel.json +1 -439
  408. package/json-schema/ai/PredictiveModelType.json +1 -12
  409. package/json-schema/ai/PromptTemplate.json +1 -157
  410. package/json-schema/ai/PromptVariable.json +1 -50
  411. package/json-schema/ai/QueryContext.json +1 -66
  412. package/json-schema/ai/QueryIntent.json +1 -15
  413. package/json-schema/ai/QueryTemplate.json +1 -75
  414. package/json-schema/ai/RAGPipelineConfig.json +1 -546
  415. package/json-schema/ai/RAGPipelineStatus.json +1 -60
  416. package/json-schema/ai/RAGQueryRequest.json +1 -58
  417. package/json-schema/ai/RAGQueryResponse.json +1 -135
  418. package/json-schema/ai/RerankingConfig.json +1 -28
  419. package/json-schema/ai/RetrievalStrategy.json +1 -115
  420. package/json-schema/ai/TestingConfig.json +7 -0
  421. package/json-schema/ai/Timeframe.json +1 -62
  422. package/json-schema/ai/TokenBudgetConfig.json +1 -86
  423. package/json-schema/ai/TokenBudgetStrategy.json +1 -10
  424. package/json-schema/ai/TokenUsage.json +1 -26
  425. package/json-schema/ai/TokenUsageStats.json +1 -60
  426. package/json-schema/ai/ToolCall.json +1 -43
  427. package/json-schema/ai/TrainingConfig.json +1 -82
  428. package/json-schema/ai/UIActionType.json +1 -57
  429. package/json-schema/ai/VectorStoreConfig.json +1 -76
  430. package/json-schema/ai/VectorStoreProvider.json +1 -15
  431. package/json-schema/ai/VercelIntegration.json +7 -0
  432. package/json-schema/ai/VersionManagement.json +7 -0
  433. package/json-schema/ai/ViewActionParams.json +1 -68
  434. package/json-schema/ai/ViewActionType.json +1 -15
  435. package/json-schema/ai/WorkflowActionParams.json +1 -55
  436. package/json-schema/ai/WorkflowActionType.json +1 -12
  437. package/json-schema/ai/WorkflowFieldCondition.json +1 -27
  438. package/json-schema/ai/WorkflowSchedule.json +1 -45
  439. package/json-schema/api/AckMessage.json +1 -40
  440. package/json-schema/api/ApiCapabilities.json +1 -22
  441. package/json-schema/api/ApiEndpoint.json +1 -159
  442. package/json-schema/api/ApiError.json +1 -21
  443. package/json-schema/api/ApiMapping.json +1 -22
  444. package/json-schema/api/ApiRoutes.json +1 -35
  445. package/json-schema/api/BaseResponse.json +1 -57
  446. package/json-schema/api/BatchConfig.json +7 -0
  447. package/json-schema/api/BatchDataRequest.json +1 -87
  448. package/json-schema/api/BatchDataResponse.json +1 -138
  449. package/json-schema/api/BatchEndpointsConfig.json +1 -50
  450. package/json-schema/api/BatchOperationResult.json +1 -51
  451. package/json-schema/api/BatchOperationType.json +1 -9
  452. package/json-schema/api/BatchOptions.json +1 -26
  453. package/json-schema/api/BatchRecord.json +1 -19
  454. package/json-schema/api/BatchUpdateRequest.json +1 -72
  455. package/json-schema/api/BatchUpdateResponse.json +1 -138
  456. package/json-schema/api/BulkRequest.json +1 -23
  457. package/json-schema/api/BulkResponse.json +1 -102
  458. package/json-schema/api/CacheControl.json +1 -36
  459. package/json-schema/api/CacheDirective.json +1 -11
  460. package/json-schema/api/CacheInvalidationRequest.json +1 -37
  461. package/json-schema/api/CacheInvalidationResponse.json +1 -25
  462. package/json-schema/api/CacheInvalidationTarget.json +1 -11
  463. package/json-schema/api/CreateDataRequest.json +1 -19
  464. package/json-schema/api/CreateDataResponse.json +1 -24
  465. package/json-schema/api/CreateManyDataRequest.json +1 -22
  466. package/json-schema/api/CreateManyDataResponse.json +1 -27
  467. package/json-schema/api/CreateRequest.json +1 -14
  468. package/json-schema/api/CreateViewRequest.json +1 -1036
  469. package/json-schema/api/CrudEndpointPattern.json +1 -35
  470. package/json-schema/api/CrudEndpointsConfig.json +1 -100
  471. package/json-schema/api/CrudOperation.json +1 -10
  472. package/json-schema/api/CursorMessage.json +1 -133
  473. package/json-schema/api/CursorPosition.json +1 -106
  474. package/json-schema/api/DeleteDataRequest.json +1 -18
  475. package/json-schema/api/DeleteDataResponse.json +1 -23
  476. package/json-schema/api/DeleteManyDataRequest.json +1 -48
  477. package/json-schema/api/DeleteManyDataResponse.json +1 -138
  478. package/json-schema/api/DeleteManyRequest.json +1 -45
  479. package/json-schema/api/DeleteResponse.json +1 -62
  480. package/json-schema/api/DeleteViewRequest.json +1 -13
  481. package/json-schema/api/DeleteViewResponse.json +1 -13
  482. package/json-schema/api/Discovery.json +1 -108
  483. package/json-schema/api/DocumentState.json +1 -43
  484. package/json-schema/api/ETag.json +1 -18
  485. package/json-schema/api/EditMessage.json +1 -129
  486. package/json-schema/api/EditOperation.json +1 -102
  487. package/json-schema/api/EditOperationType.json +1 -8
  488. package/json-schema/api/EndpointRegistry.json +1 -278
  489. package/json-schema/api/EnhancedApiError.json +1 -220
  490. package/json-schema/api/ErrorCategory.json +1 -14
  491. package/json-schema/api/ErrorMessage.json +1 -38
  492. package/json-schema/api/ErrorResponse.json +1 -253
  493. package/json-schema/api/EventFilter.json +1 -59
  494. package/json-schema/api/EventFilterCondition.json +1 -36
  495. package/json-schema/api/EventMessage.json +1 -49
  496. package/json-schema/api/EventPattern.json +1 -6
  497. package/json-schema/api/EventSubscription.json +1 -99
  498. package/json-schema/api/ExportRequest.json +1 -854
  499. package/json-schema/api/FieldError.json +1 -82
  500. package/json-schema/api/FilterOperator.json +1 -18
  501. package/json-schema/api/FindDataRequest.json +1 -503
  502. package/json-schema/api/FindDataResponse.json +1 -30
  503. package/json-schema/api/GeneratedEndpoint.json +1 -82
  504. package/json-schema/api/GetDataRequest.json +1 -18
  505. package/json-schema/api/GetDataResponse.json +1 -24
  506. package/json-schema/api/GetDiscoveryRequest.json +1 -5
  507. package/json-schema/api/GetDiscoveryResponse.json +1 -32
  508. package/json-schema/api/GetMetaItemCachedRequest.json +1 -71
  509. package/json-schema/api/GetMetaItemCachedResponse.json +1 -79
  510. package/json-schema/api/GetMetaItemRequest.json +1 -18
  511. package/json-schema/api/GetMetaItemResponse.json +1 -21
  512. package/json-schema/api/GetMetaItemsRequest.json +1 -13
  513. package/json-schema/api/GetMetaItemsResponse.json +1 -18
  514. package/json-schema/api/GetMetaTypesRequest.json +1 -5
  515. package/json-schema/api/GetMetaTypesResponse.json +1 -16
  516. package/json-schema/api/GetUiViewRequest.json +1 -22
  517. package/json-schema/api/GetUiViewResponse.json +1 -25
  518. package/json-schema/api/GetViewRequest.json +1 -13
  519. package/json-schema/api/GetViewResponse.json +1 -1097
  520. package/json-schema/api/GraphQLConfig.json +1 -1383
  521. package/json-schema/api/GraphQLDataLoaderConfig.json +1 -95
  522. package/json-schema/api/GraphQLDirectiveConfig.json +1 -102
  523. package/json-schema/api/GraphQLDirectiveLocation.json +1 -24
  524. package/json-schema/api/GraphQLMutationConfig.json +1 -174
  525. package/json-schema/api/GraphQLPersistedQuery.json +1 -145
  526. package/json-schema/api/GraphQLQueryComplexity.json +1 -77
  527. package/json-schema/api/GraphQLQueryConfig.json +1 -225
  528. package/json-schema/api/GraphQLQueryDepthLimit.json +1 -38
  529. package/json-schema/api/GraphQLRateLimit.json +1 -132
  530. package/json-schema/api/GraphQLResolverConfig.json +1 -92
  531. package/json-schema/api/GraphQLScalarType.json +1 -26
  532. package/json-schema/api/GraphQLSubscriptionConfig.json +1 -112
  533. package/json-schema/api/GraphQLTypeConfig.json +1 -107
  534. package/json-schema/api/HttpMethod.json +1 -12
  535. package/json-schema/api/ListRecordResponse.json +1 -97
  536. package/json-schema/api/ListViewsRequest.json +1 -52
  537. package/json-schema/api/ListViewsResponse.json +1 -1126
  538. package/json-schema/api/MetadataCacheRequest.json +1 -52
  539. package/json-schema/api/MetadataCacheResponse.json +1 -79
  540. package/json-schema/api/MetadataEndpointsConfig.json +1 -48
  541. package/json-schema/api/ModificationResult.json +1 -40
  542. package/json-schema/api/ODataConfig.json +7 -0
  543. package/json-schema/api/ODataError.json +1 -59
  544. package/json-schema/api/ODataFilterFunction.json +1 -33
  545. package/json-schema/api/ODataFilterOperator.json +1 -18
  546. package/json-schema/api/ODataMetadata.json +1 -109
  547. package/json-schema/api/ODataQuery.json +1 -83
  548. package/json-schema/api/ODataResponse.json +1 -31
  549. package/json-schema/api/ObjectStackProtocol.json +1 -5
  550. package/json-schema/api/PingMessage.json +1 -25
  551. package/json-schema/api/PongMessage.json +1 -30
  552. package/json-schema/api/Presence.json +1 -34
  553. package/json-schema/api/PresenceMessage.json +1 -86
  554. package/json-schema/api/PresenceState.json +1 -59
  555. package/json-schema/api/PresenceStatus.json +1 -8
  556. package/json-schema/api/PresenceUpdate.json +1 -29
  557. package/json-schema/api/RateLimit.json +1 -21
  558. package/json-schema/api/RealtimeAction.json +1 -8
  559. package/json-schema/api/RealtimeConfig.json +7 -0
  560. package/json-schema/api/RealtimeEvent.json +1 -45
  561. package/json-schema/api/RealtimeEventType.json +1 -9
  562. package/json-schema/api/RecordData.json +1 -5
  563. package/json-schema/api/RestApiConfig.json +1 -121
  564. package/json-schema/api/RestServerConfig.json +1 -395
  565. package/json-schema/api/RetryStrategy.json +1 -9
  566. package/json-schema/api/RouteCategory.json +1 -11
  567. package/json-schema/api/RouteDefinition.json +1 -71
  568. package/json-schema/api/RouteGenerationConfig.json +1 -65
  569. package/json-schema/api/RouterConfig.json +1 -124
  570. package/json-schema/api/SavedView.json +1 -1068
  571. package/json-schema/api/SimpleCursorPosition.json +1 -47
  572. package/json-schema/api/SimplePresenceState.json +1 -38
  573. package/json-schema/api/SingleRecordResponse.json +1 -63
  574. package/json-schema/api/StandardErrorCode.json +1 -56
  575. package/json-schema/api/SubscribeMessage.json +1 -126
  576. package/json-schema/api/Subscription.json +1 -59
  577. package/json-schema/api/SubscriptionEvent.json +1 -26
  578. package/json-schema/api/TransportProtocol.json +1 -8
  579. package/json-schema/api/UnsubscribeMessage.json +1 -41
  580. package/json-schema/api/UnsubscribeRequest.json +1 -14
  581. package/json-schema/api/UpdateDataRequest.json +1 -24
  582. package/json-schema/api/UpdateDataResponse.json +1 -24
  583. package/json-schema/api/UpdateManyDataRequest.json +1 -64
  584. package/json-schema/api/UpdateManyDataResponse.json +1 -138
  585. package/json-schema/api/UpdateManyRequest.json +1 -61
  586. package/json-schema/api/UpdateRequest.json +1 -14
  587. package/json-schema/api/UpdateViewRequest.json +1 -1035
  588. package/json-schema/api/ViewColumn.json +1 -52
  589. package/json-schema/api/ViewLayout.json +1 -119
  590. package/json-schema/api/ViewResponse.json +1 -1097
  591. package/json-schema/api/ViewType.json +1 -13
  592. package/json-schema/api/ViewVisibility.json +1 -9
  593. package/json-schema/api/WebSocketConfig.json +1 -57
  594. package/json-schema/api/WebSocketEvent.json +1 -34
  595. package/json-schema/api/WebSocketMessage.json +1 -701
  596. package/json-schema/api/WebSocketMessageType.json +1 -15
  597. package/json-schema/api/WebSocketPresenceStatus.json +1 -9
  598. package/json-schema/api/WebSocketServerConfig.json +1 -36
  599. package/json-schema/auth/APIKey.json +1 -28
  600. package/json-schema/auth/Account.json +1 -81
  601. package/json-schema/auth/AccountLinkingConfig.json +1 -21
  602. package/json-schema/auth/ApplicationAuthConfig.json +1 -835
  603. package/json-schema/auth/AuditPolicy.json +1 -25
  604. package/json-schema/auth/AuthConfig.json +1 -263
  605. package/json-schema/auth/AuthPluginConfig.json +1 -22
  606. package/json-schema/auth/AuthStrategy.json +1 -11
  607. package/json-schema/auth/BasicAuth.json +1 -24
  608. package/json-schema/auth/BearerAuth.json +1 -19
  609. package/json-schema/auth/CSRFConfig.json +1 -25
  610. package/json-schema/auth/DatabaseAdapter.json +1 -32
  611. package/json-schema/auth/DatabaseMapping.json +1 -42
  612. package/json-schema/auth/EmailPasswordConfig.json +1 -37
  613. package/json-schema/auth/EnterpriseAuthConfig.json +1 -166
  614. package/json-schema/auth/Invitation.json +1 -63
  615. package/json-schema/auth/InvitationStatus.json +1 -9
  616. package/json-schema/auth/JWTAuth.json +1 -60
  617. package/json-schema/auth/LDAPConfig.json +1 -50
  618. package/json-schema/auth/MagicLinkConfig.json +1 -15
  619. package/json-schema/auth/Member.json +1 -40
  620. package/json-schema/auth/NetworkPolicy.json +1 -25
  621. package/json-schema/auth/NoAuth.json +1 -14
  622. package/json-schema/auth/OAuth2.json +1 -56
  623. package/json-schema/auth/OAuthProvider.json +1 -60
  624. package/json-schema/auth/OIDCConfig.json +1 -55
  625. package/json-schema/auth/Organization.json +1 -46
  626. package/json-schema/auth/PasskeyConfig.json +1 -48
  627. package/json-schema/auth/PasswordPolicy.json +1 -35
  628. package/json-schema/auth/Policy.json +1 -132
  629. package/json-schema/auth/RateLimitConfig.json +1 -30
  630. package/json-schema/auth/Role.json +1 -27
  631. package/json-schema/auth/SAMLAuth.json +1 -58
  632. package/json-schema/auth/SAMLConfig.json +1 -52
  633. package/json-schema/auth/SCIMAddress.json +1 -44
  634. package/json-schema/auth/SCIMEmail.json +1 -32
  635. package/json-schema/auth/SCIMEnterpriseUser.json +1 -49
  636. package/json-schema/auth/SCIMError.json +1 -46
  637. package/json-schema/auth/SCIMGroup.json +1 -96
  638. package/json-schema/auth/SCIMGroupReference.json +1 -30
  639. package/json-schema/auth/SCIMListResponse.json +1 -600
  640. package/json-schema/auth/SCIMMemberReference.json +1 -30
  641. package/json-schema/auth/SCIMMeta.json +1 -29
  642. package/json-schema/auth/SCIMName.json +1 -30
  643. package/json-schema/auth/SCIMPatchOperation.json +1 -25
  644. package/json-schema/auth/SCIMPatchRequest.json +1 -50
  645. package/json-schema/auth/SCIMPhoneNumber.json +1 -34
  646. package/json-schema/auth/SCIMUser.json +1 -456
  647. package/json-schema/auth/Session.json +1 -57
  648. package/json-schema/auth/SessionConfig.json +1 -50
  649. package/json-schema/auth/SessionPolicy.json +1 -21
  650. package/json-schema/auth/StandardAuthProvider.json +1 -851
  651. package/json-schema/auth/TwoFactorConfig.json +1 -34
  652. package/json-schema/auth/User.json +1 -45
  653. package/json-schema/auth/UserFieldMapping.json +1 -41
  654. package/json-schema/auth/VerificationToken.json +1 -30
  655. package/json-schema/automation/ApprovalAction.json +1 -29
  656. package/json-schema/automation/ApprovalActionType.json +1 -9
  657. package/json-schema/automation/ApprovalProcess.json +1 -320
  658. package/json-schema/automation/ApprovalStep.json +1 -141
  659. package/json-schema/automation/ApproverType.json +1 -10
  660. package/json-schema/automation/AuthField.json +1 -67
  661. package/json-schema/automation/Authentication.json +1 -153
  662. package/json-schema/automation/AuthenticationType.json +1 -12
  663. package/json-schema/automation/ConflictResolution.json +1 -10
  664. package/json-schema/automation/Connector.json +1 -434
  665. package/json-schema/automation/ConnectorCategory.json +1 -20
  666. package/json-schema/automation/ConnectorInstance.json +1 -63
  667. package/json-schema/automation/ConnectorOperation.json +1 -111
  668. package/json-schema/automation/ConnectorTrigger.json +1 -48
  669. package/json-schema/automation/CustomScriptAction.json +1 -43
  670. package/json-schema/automation/DataDestinationConfig.json +1 -189
  671. package/json-schema/automation/DataSourceConfig.json +1 -28
  672. package/json-schema/automation/DataSyncConfig.json +1 -455
  673. package/json-schema/automation/ETLDestination.json +1 -51
  674. package/json-schema/automation/ETLEndpointType.json +1 -13
  675. package/json-schema/automation/ETLPipeline.json +1 -246
  676. package/json-schema/automation/ETLPipelineRun.json +1 -101
  677. package/json-schema/automation/ETLRunStatus.json +1 -11
  678. package/json-schema/automation/ETLSource.json +1 -54
  679. package/json-schema/automation/ETLSyncMode.json +1 -8
  680. package/json-schema/automation/ETLTransformation.json +1 -40
  681. package/json-schema/automation/ETLTransformationType.json +1 -15
  682. package/json-schema/automation/EmailAlertAction.json +1 -31
  683. package/json-schema/automation/FieldUpdateAction.json +1 -26
  684. package/json-schema/automation/Flow.json +1 -210
  685. package/json-schema/automation/FlowEdge.json +1 -40
  686. package/json-schema/automation/FlowNode.json +1 -59
  687. package/json-schema/automation/FlowNodeAction.json +1 -18
  688. package/json-schema/automation/FlowVariable.json +1 -28
  689. package/json-schema/automation/HttpCallAction.json +1 -75
  690. package/json-schema/automation/OAuth2Config.json +1 -37
  691. package/json-schema/automation/OperationParameter.json +1 -53
  692. package/json-schema/automation/OperationType.json +1 -11
  693. package/json-schema/automation/PushNotificationAction.json +1 -53
  694. package/json-schema/automation/SlackMessageAction.json +1 -39
  695. package/json-schema/automation/SmsNotificationAction.json +1 -44
  696. package/json-schema/automation/SyncDirection.json +1 -8
  697. package/json-schema/automation/SyncExecutionResult.json +1 -129
  698. package/json-schema/automation/SyncExecutionStatus.json +1 -11
  699. package/json-schema/automation/SyncMode.json +1 -8
  700. package/json-schema/automation/TaskCreationAction.json +1 -53
  701. package/json-schema/automation/TeamsMessageAction.json +1 -39
  702. package/json-schema/automation/TimeTrigger.json +1 -648
  703. package/json-schema/automation/Webhook.json +1 -167
  704. package/json-schema/automation/WebhookReceiver.json +1 -62
  705. package/json-schema/automation/WebhookTriggerAction.json +1 -187
  706. package/json-schema/automation/WebhookTriggerType.json +1 -10
  707. package/json-schema/automation/WorkflowAction.json +1 -594
  708. package/json-schema/automation/WorkflowRule.json +1 -1296
  709. package/json-schema/automation/WorkflowTriggerType.json +1 -10
  710. package/json-schema/data/Address.json +1 -34
  711. package/json-schema/data/AggregationFunction.json +1 -13
  712. package/json-schema/data/AggregationNode.json +1 -59
  713. package/json-schema/data/AggregationPipeline.json +1 -93
  714. package/json-schema/data/AggregationStage.json +1 -19
  715. package/json-schema/data/ApiMethod.json +1 -19
  716. package/json-schema/data/AsyncValidation.json +1 -111
  717. package/json-schema/data/CDCConfig.json +1 -31
  718. package/json-schema/data/ComparisonOperator.json +1 -102
  719. package/json-schema/data/ComputedFieldCache.json +1 -27
  720. package/json-schema/data/ConditionalValidation.json +1 -1434
  721. package/json-schema/data/ConsistencyLevel.json +1 -11
  722. package/json-schema/data/CrossFieldValidation.json +1 -81
  723. package/json-schema/data/CurrencyConfig.json +1 -29
  724. package/json-schema/data/CurrencyValue.json +1 -20
  725. package/json-schema/data/CustomValidator.json +1 -78
  726. package/json-schema/data/DataEngineAggregateOptions.json +1 -74
  727. package/json-schema/data/DataEngineAggregateRequest.json +1 -92
  728. package/json-schema/data/DataEngineBatchRequest.json +1 -693
  729. package/json-schema/data/DataEngineContract.json +1 -6
  730. package/json-schema/data/DataEngineCountOptions.json +1 -38
  731. package/json-schema/data/DataEngineCountRequest.json +1 -55
  732. package/json-schema/data/DataEngineDeleteOptions.json +1 -42
  733. package/json-schema/data/DataEngineDeleteRequest.json +1 -62
  734. package/json-schema/data/DataEngineExecuteRequest.json +1 -18
  735. package/json-schema/data/DataEngineFilter.json +1 -31
  736. package/json-schema/data/DataEngineFindOneRequest.json +1 -127
  737. package/json-schema/data/DataEngineFindRequest.json +1 -127
  738. package/json-schema/data/DataEngineInsertOptions.json +1 -11
  739. package/json-schema/data/DataEngineInsertRequest.json +1 -44
  740. package/json-schema/data/DataEngineQueryOptions.json +1 -110
  741. package/json-schema/data/DataEngineRequest.json +1 -1366
  742. package/json-schema/data/DataEngineSort.json +1 -48
  743. package/json-schema/data/DataEngineUpdateOptions.json +1 -50
  744. package/json-schema/data/DataEngineUpdateRequest.json +1 -75
  745. package/json-schema/data/DataEngineVectorFindRequest.json +1 -68
  746. package/json-schema/data/DataQualityRules.json +1 -39
  747. package/json-schema/data/DataTypeMapping.json +1 -45
  748. package/json-schema/data/Dataset.json +1 -57
  749. package/json-schema/data/DatasetMode.json +1 -10
  750. package/json-schema/data/Document.json +1 -286
  751. package/json-schema/data/DocumentTemplate.json +1 -72
  752. package/json-schema/data/DocumentValidationSchema.json +1 -33
  753. package/json-schema/data/DocumentVersion.json +1 -44
  754. package/json-schema/data/DriverCapabilities.json +1 -174
  755. package/json-schema/data/DriverConfig.json +1 -237
  756. package/json-schema/data/DriverInterface.json +1 -193
  757. package/json-schema/data/DriverOptions.json +1 -28
  758. package/json-schema/data/ESignatureConfig.json +1 -68
  759. package/json-schema/data/EqualityOperator.json +1 -8
  760. package/json-schema/data/ExternalDataSource.json +1 -62
  761. package/json-schema/data/ExternalFieldMapping.json +1 -145
  762. package/json-schema/data/ExternalLookup.json +1 -321
  763. package/json-schema/data/Field.json +1 -855
  764. package/json-schema/data/FieldMapping.json +1 -77
  765. package/json-schema/data/FieldNode.json +1 -26
  766. package/json-schema/data/FieldOperators.json +1 -180
  767. package/json-schema/data/FieldReference.json +1 -13
  768. package/json-schema/data/FieldType.json +1 -49
  769. package/json-schema/data/FileAttachmentConfig.json +1 -213
  770. package/json-schema/data/FilterCondition.json +1 -22
  771. package/json-schema/data/FormatValidation.json +1 -84
  772. package/json-schema/data/FullTextSearch.json +1 -54
  773. package/json-schema/data/Hook.json +1 -89
  774. package/json-schema/data/HookContext.json +1 -82
  775. package/json-schema/data/HookEvent.json +1 -23
  776. package/json-schema/data/Index.json +1 -41
  777. package/json-schema/data/JSONValidation.json +1 -79
  778. package/json-schema/data/JoinNode.json +1 -488
  779. package/json-schema/data/JoinStrategy.json +1 -9
  780. package/json-schema/data/JoinType.json +1 -9
  781. package/json-schema/data/LocationCoordinates.json +1 -30
  782. package/json-schema/data/Mapping.json +1 -633
  783. package/json-schema/data/NoSQLDataTypeMapping.json +1 -57
  784. package/json-schema/data/NoSQLDatabaseType.json +1 -13
  785. package/json-schema/data/NoSQLDriverConfig.json +1 -446
  786. package/json-schema/data/NoSQLIndex.json +1 -81
  787. package/json-schema/data/NoSQLIndexType.json +1 -13
  788. package/json-schema/data/NoSQLOperationType.json +1 -16
  789. package/json-schema/data/NoSQLQueryOptions.json +1 -55
  790. package/json-schema/data/NoSQLTransactionOptions.json +1 -41
  791. package/json-schema/data/NormalizedFilter.json +1 -576
  792. package/json-schema/data/Object.json +1 -2679
  793. package/json-schema/data/ObjectCapabilities.json +1 -74
  794. package/json-schema/data/PartitioningConfig.json +1 -32
  795. package/json-schema/data/PoolConfig.json +1 -30
  796. package/json-schema/data/Query.json +1 -489
  797. package/json-schema/data/QueryFilter.json +1 -28
  798. package/json-schema/data/RangeOperator.json +1 -61
  799. package/json-schema/data/ReplicationConfig.json +1 -40
  800. package/json-schema/data/SQLDialect.json +1 -11
  801. package/json-schema/data/SQLDriverConfig.json +1 -319
  802. package/json-schema/data/SSLConfig.json +1 -23
  803. package/json-schema/data/ScriptValidation.json +1 -73
  804. package/json-schema/data/SearchConfig.json +1 -30
  805. package/json-schema/data/SelectOption.json +1 -28
  806. package/json-schema/data/SetOperator.json +1 -12
  807. package/json-schema/data/ShardingConfig.json +1 -29
  808. package/json-schema/data/SoftDeleteConfig.json +1 -23
  809. package/json-schema/data/SortNode.json +1 -20
  810. package/json-schema/data/SpecialOperator.json +1 -12
  811. package/json-schema/data/StateMachineValidation.json +1 -84
  812. package/json-schema/data/StringOperator.json +1 -15
  813. package/json-schema/data/TenancyConfig.json +1 -33
  814. package/json-schema/data/TransformType.json +1 -12
  815. package/json-schema/data/UniquenessValidation.json +1 -84
  816. package/json-schema/data/ValidationRule.json +1 -1435
  817. package/json-schema/data/VectorConfig.json +1 -45
  818. package/json-schema/data/VersioningConfig.json +1 -33
  819. package/json-schema/data/WindowFunction.json +1 -18
  820. package/json-schema/data/WindowFunctionNode.json +1 -98
  821. package/json-schema/data/WindowSpec.json +1 -59
  822. package/json-schema/hub/BillOfMaterials.json +1 -64
  823. package/json-schema/hub/ComposerRequest.json +1 -80
  824. package/json-schema/hub/ComposerResponse.json +1 -885
  825. package/json-schema/hub/ConflictReport.json +1 -47
  826. package/json-schema/hub/DatabaseLevelIsolationStrategy.json +1 -133
  827. package/json-schema/hub/DependencyRequirement.json +1 -30
  828. package/json-schema/hub/DeploymentTarget.json +1 -32
  829. package/json-schema/hub/Feature.json +1 -45
  830. package/json-schema/hub/HubSpace.json +1 -273
  831. package/json-schema/hub/LevelIsolationStrategySchema.json +1 -87
  832. package/json-schema/hub/License.json +1 -59
  833. package/json-schema/hub/MarketplacePlugin.json +1 -135
  834. package/json-schema/hub/MetricType.json +1 -8
  835. package/json-schema/hub/Plan.json +1 -47
  836. package/json-schema/hub/PluginAuthor.json +1 -20
  837. package/json-schema/hub/PluginInstallConfig.json +1 -47
  838. package/json-schema/hub/PluginPricing.json +1 -37
  839. package/json-schema/hub/PluginQualityMetrics.json +1 -95
  840. package/json-schema/hub/PluginRegistryEntry.json +1 -827
  841. package/json-schema/hub/PluginSearchFilters.json +1 -85
  842. package/json-schema/hub/PluginStatistics.json +1 -78
  843. package/json-schema/hub/PluginVendor.json +1 -41
  844. package/json-schema/hub/RowLevelIsolationStrategy.json +1 -68
  845. package/json-schema/hub/SpaceSubscription.json +1 -71
  846. package/json-schema/hub/SubscriptionStatus.json +1 -10
  847. package/json-schema/hub/Tenant.json +1 -53
  848. package/json-schema/hub/TenantIsolationConfig.json +1 -292
  849. package/json-schema/hub/TenantIsolationLevel.json +1 -8
  850. package/json-schema/hub/TenantQuota.json +1 -21
  851. package/json-schema/hub/TenantSecurityPolicy.json +1 -109
  852. package/json-schema/integration/AckMode.json +1 -9
  853. package/json-schema/integration/ApiVersionConfig.json +1 -26
  854. package/json-schema/integration/Authentication.json +1 -263
  855. package/json-schema/integration/BuildConfig.json +7 -0
  856. package/json-schema/integration/CdcConfig.json +1 -49
  857. package/json-schema/integration/ConflictResolution.json +1 -10
  858. package/json-schema/integration/Connector.json +1 -913
  859. package/json-schema/integration/ConnectorStatus.json +1 -10
  860. package/json-schema/integration/ConnectorType.json +1 -12
  861. package/json-schema/integration/ConsumerConfig.json +1 -61
  862. package/json-schema/integration/DataSyncConfig.json +1 -73
  863. package/json-schema/integration/DatabaseConnector.json +1 -1366
  864. package/json-schema/integration/DatabasePoolConfig.json +1 -47
  865. package/json-schema/integration/DatabaseProvider.json +1 -18
  866. package/json-schema/integration/DatabaseTable.json +1 -210
  867. package/json-schema/integration/DeliveryGuarantee.json +1 -9
  868. package/json-schema/integration/DeploymentConfig.json +7 -0
  869. package/json-schema/integration/DlqConfig.json +1 -31
  870. package/json-schema/integration/DomainConfig.json +7 -0
  871. package/json-schema/integration/EdgeFunctionConfig.json +7 -0
  872. package/json-schema/integration/EnvironmentVariables.json +7 -0
  873. package/json-schema/integration/FieldMapping.json +1 -164
  874. package/json-schema/integration/FieldTransform.json +1 -30
  875. package/json-schema/integration/FileAccessPattern.json +1 -11
  876. package/json-schema/integration/FileFilterConfig.json +1 -44
  877. package/json-schema/integration/FileMetadataConfig.json +1 -35
  878. package/json-schema/integration/FileStorageConnector.json +1 -1234
  879. package/json-schema/integration/FileStorageProvider.json +1 -17
  880. package/json-schema/integration/FileVersioningConfig.json +1 -22
  881. package/json-schema/integration/GitHubActionsWorkflow.json +7 -0
  882. package/json-schema/integration/GitHubCommitConfig.json +7 -0
  883. package/json-schema/integration/GitHubConnector.json +7 -0
  884. package/json-schema/integration/GitHubIssueTracking.json +7 -0
  885. package/json-schema/integration/GitHubProvider.json +7 -0
  886. package/json-schema/integration/GitHubPullRequestConfig.json +7 -0
  887. package/json-schema/integration/GitHubReleaseConfig.json +7 -0
  888. package/json-schema/integration/GitHubRepository.json +7 -0
  889. package/json-schema/integration/GitRepositoryConfig.json +7 -0
  890. package/json-schema/integration/MessageFormat.json +1 -12
  891. package/json-schema/integration/MessageQueueConnector.json +1 -1319
  892. package/json-schema/integration/MessageQueueProvider.json +1 -19
  893. package/json-schema/integration/MultipartUploadConfig.json +1 -30
  894. package/json-schema/integration/ProducerConfig.json +1 -66
  895. package/json-schema/integration/RateLimitConfig.json +1 -63
  896. package/json-schema/integration/RateLimitStrategy.json +1 -10
  897. package/json-schema/integration/RetryConfig.json +1 -67
  898. package/json-schema/integration/RetryStrategy.json +1 -10
  899. package/json-schema/integration/SaasConnector.json +1 -1261
  900. package/json-schema/integration/SaasObjectType.json +1 -212
  901. package/json-schema/integration/SaasProvider.json +1 -18
  902. package/json-schema/integration/SslConfig.json +1 -28
  903. package/json-schema/integration/StorageBucket.json +1 -93
  904. package/json-schema/integration/SyncStrategy.json +1 -10
  905. package/json-schema/integration/TopicQueue.json +1 -246
  906. package/json-schema/integration/VercelConnector.json +7 -0
  907. package/json-schema/integration/VercelFramework.json +7 -0
  908. package/json-schema/integration/VercelMonitoring.json +7 -0
  909. package/json-schema/integration/VercelProject.json +7 -0
  910. package/json-schema/integration/VercelProvider.json +7 -0
  911. package/json-schema/integration/VercelTeam.json +7 -0
  912. package/json-schema/integration/WebhookConfig.json +1 -195
  913. package/json-schema/integration/WebhookEvent.json +1 -14
  914. package/json-schema/integration/WebhookSignatureAlgorithm.json +1 -9
  915. package/json-schema/permission/CriteriaSharingRule.json +1 -76
  916. package/json-schema/permission/FieldPermission.json +1 -16
  917. package/json-schema/permission/OWDModel.json +1 -9
  918. package/json-schema/permission/ObjectPermission.json +1 -51
  919. package/json-schema/permission/OwnerSharingRule.json +1 -96
  920. package/json-schema/permission/PermissionSet.json +1 -187
  921. package/json-schema/permission/RLSConfig.json +1 -53
  922. package/json-schema/permission/RLSEvaluationResult.json +1 -34
  923. package/json-schema/permission/RLSOperation.json +1 -10
  924. package/json-schema/permission/RLSUserContext.json +1 -45
  925. package/json-schema/permission/RowLevelSecurityPolicy.json +1 -71
  926. package/json-schema/permission/ShareRecipientType.json +1 -10
  927. package/json-schema/permission/SharingLevel.json +1 -8
  928. package/json-schema/permission/SharingRule.json +1 -176
  929. package/json-schema/permission/SharingRuleType.json +1 -7
  930. package/json-schema/permission/Territory.json +1 -73
  931. package/json-schema/permission/TerritoryModel.json +1 -28
  932. package/json-schema/permission/TerritoryType.json +1 -9
  933. package/json-schema/shared/CorsConfig.json +1 -51
  934. package/json-schema/shared/EventName.json +1 -6
  935. package/json-schema/shared/FieldMapping.json +1 -136
  936. package/json-schema/shared/HttpMethod.json +1 -12
  937. package/json-schema/shared/RateLimitConfig.json +1 -21
  938. package/json-schema/shared/SnakeCaseIdentifier.json +1 -6
  939. package/json-schema/shared/StaticMount.json +1 -22
  940. package/json-schema/shared/SystemIdentifier.json +1 -6
  941. package/json-schema/shared/TransformType.json +1 -114
  942. package/json-schema/system/AccessControlConfig.json +1 -100
  943. package/json-schema/system/AnalyzerConfig.json +1 -35
  944. package/json-schema/system/AuditConfig.json +1 -581
  945. package/json-schema/system/AuditEvent.json +1 -226
  946. package/json-schema/system/AuditEventActor.json +1 -42
  947. package/json-schema/system/AuditEventChange.json +1 -19
  948. package/json-schema/system/AuditEventFilter.json +1 -121
  949. package/json-schema/system/AuditEventSeverity.json +1 -13
  950. package/json-schema/system/AuditEventTarget.json +1 -27
  951. package/json-schema/system/AuditEventType.json +1 -47
  952. package/json-schema/system/AuditLogConfig.json +1 -42
  953. package/json-schema/system/AuditRetentionPolicy.json +1 -67
  954. package/json-schema/system/AuditStorageConfig.json +1 -54
  955. package/json-schema/system/AwarenessEvent.json +1 -45
  956. package/json-schema/system/AwarenessSession.json +1 -111
  957. package/json-schema/system/AwarenessUpdate.json +1 -29
  958. package/json-schema/system/AwarenessUserState.json +1 -71
  959. package/json-schema/system/BatchProgress.json +7 -0
  960. package/json-schema/system/BatchTask.json +7 -0
  961. package/json-schema/system/BucketConfig.json +1 -326
  962. package/json-schema/system/CRDTMergeResult.json +1 -289
  963. package/json-schema/system/CRDTState.json +1 -252
  964. package/json-schema/system/CRDTType.json +1 -14
  965. package/json-schema/system/CacheConfig.json +1 -115
  966. package/json-schema/system/CacheInvalidation.json +1 -37
  967. package/json-schema/system/CacheStrategy.json +1 -10
  968. package/json-schema/system/CacheTier.json +1 -46
  969. package/json-schema/system/CapabilityConformanceLevel.json +1 -10
  970. package/json-schema/system/ChangeImpact.json +1 -49
  971. package/json-schema/system/ChangePriority.json +1 -9
  972. package/json-schema/system/ChangeRequest.json +1 -307
  973. package/json-schema/system/ChangeStatus.json +1 -15
  974. package/json-schema/system/ChangeType.json +1 -9
  975. package/json-schema/system/CollaborationMode.json +1 -9
  976. package/json-schema/system/CollaborationSession.json +1 -569
  977. package/json-schema/system/CollaborationSessionConfig.json +1 -80
  978. package/json-schema/system/CollaborativeCursor.json +1 -183
  979. package/json-schema/system/ComplianceConfig.json +1 -196
  980. package/json-schema/system/ConsoleDestinationConfig.json +1 -23
  981. package/json-schema/system/ConsumerConfig.json +1 -28
  982. package/json-schema/system/CounterOperation.json +1 -24
  983. package/json-schema/system/CronSchedule.json +1 -23
  984. package/json-schema/system/CursorColorPreset.json +1 -15
  985. package/json-schema/system/CursorSelection.json +1 -60
  986. package/json-schema/system/CursorStyle.json +1 -53
  987. package/json-schema/system/CursorUpdate.json +1 -95
  988. package/json-schema/system/Datasource.json +1 -124
  989. package/json-schema/system/DatasourceCapabilities.json +1 -50
  990. package/json-schema/system/DeadLetterQueue.json +1 -20
  991. package/json-schema/system/DeadLetterQueueEntry.json +7 -0
  992. package/json-schema/system/DriverDefinition.json +1 -80
  993. package/json-schema/system/DriverType.json +1 -4
  994. package/json-schema/system/EmailTemplate.json +1 -63
  995. package/json-schema/system/EncryptionAlgorithm.json +1 -8
  996. package/json-schema/system/EncryptionConfig.json +1 -87
  997. package/json-schema/system/Event.json +1 -47
  998. package/json-schema/system/EventBusConfig.json +7 -0
  999. package/json-schema/system/EventHandler.json +1 -23
  1000. package/json-schema/system/EventLogEntry.json +7 -0
  1001. package/json-schema/system/EventMessageQueueConfig.json +7 -0
  1002. package/json-schema/system/EventMetadata.json +1 -27
  1003. package/json-schema/system/EventPersistence.json +1 -19
  1004. package/json-schema/system/EventPhase.json +1 -9
  1005. package/json-schema/system/EventPriority.json +7 -0
  1006. package/json-schema/system/EventQueueConfig.json +7 -0
  1007. package/json-schema/system/EventReplayConfig.json +7 -0
  1008. package/json-schema/system/EventRoute.json +1 -21
  1009. package/json-schema/system/EventSourcingConfig.json +7 -0
  1010. package/json-schema/system/EventTypeDefinition.json +7 -0
  1011. package/json-schema/system/EventWebhookConfig.json +7 -0
  1012. package/json-schema/system/ExtendedLogLevel.json +1 -12
  1013. package/json-schema/system/ExtensionPoint.json +1 -61
  1014. package/json-schema/system/ExternalServiceDestinationConfig.json +1 -45
  1015. package/json-schema/system/FacetConfig.json +1 -24
  1016. package/json-schema/system/FeatureFlag.json +1 -81
  1017. package/json-schema/system/FeatureStrategy.json +1 -10
  1018. package/json-schema/system/FieldEncryption.json +1 -104
  1019. package/json-schema/system/FileDestinationConfig.json +1 -50
  1020. package/json-schema/system/FileMetadata.json +1 -44
  1021. package/json-schema/system/GCounter.json +1 -22
  1022. package/json-schema/system/GDPRConfig.json +1 -65
  1023. package/json-schema/system/HIPAAConfig.json +1 -39
  1024. package/json-schema/system/HealthStatus.json +1 -27
  1025. package/json-schema/system/HistogramBucketConfig.json +1 -86
  1026. package/json-schema/system/HookRegisteredEvent.json +1 -24
  1027. package/json-schema/system/HookTriggeredEvent.json +1 -28
  1028. package/json-schema/system/HttpDestinationConfig.json +1 -105
  1029. package/json-schema/system/HttpServerConfig.json +1 -150
  1030. package/json-schema/system/InAppNotification.json +1 -42
  1031. package/json-schema/system/IntervalSchedule.json +1 -19
  1032. package/json-schema/system/Job.json +1 -121
  1033. package/json-schema/system/JobExecution.json +1 -43
  1034. package/json-schema/system/JobExecutionStatus.json +1 -9
  1035. package/json-schema/system/KernelContext.json +1 -56
  1036. package/json-schema/system/KernelEventBase.json +1 -13
  1037. package/json-schema/system/KernelReadyEvent.json +1 -23
  1038. package/json-schema/system/KernelShutdownEvent.json +1 -17
  1039. package/json-schema/system/KeyManagementProvider.json +1 -10
  1040. package/json-schema/system/KeyRotationPolicy.json +1 -23
  1041. package/json-schema/system/LWWRegister.json +1 -45
  1042. package/json-schema/system/LifecycleAction.json +1 -9
  1043. package/json-schema/system/LifecyclePolicyConfig.json +1 -78
  1044. package/json-schema/system/LifecyclePolicyRule.json +1 -62
  1045. package/json-schema/system/Locale.json +1 -4
  1046. package/json-schema/system/LogDestination.json +1 -289
  1047. package/json-schema/system/LogDestinationType.json +1 -20
  1048. package/json-schema/system/LogEnrichmentConfig.json +1 -53
  1049. package/json-schema/system/LogEntry.json +1 -57
  1050. package/json-schema/system/LogFormat.json +1 -9
  1051. package/json-schema/system/LogLevel.json +1 -11
  1052. package/json-schema/system/LoggerConfig.json +1 -68
  1053. package/json-schema/system/LoggingConfig.json +1 -607
  1054. package/json-schema/system/Manifest.json +1 -797
  1055. package/json-schema/system/MaskingConfig.json +1 -71
  1056. package/json-schema/system/MaskingRule.json +1 -51
  1057. package/json-schema/system/MaskingStrategy.json +1 -12
  1058. package/json-schema/system/MessageQueueConfig.json +1 -137
  1059. package/json-schema/system/MessageQueueProvider.json +1 -11
  1060. package/json-schema/system/MetadataCollectionInfo.json +1 -47
  1061. package/json-schema/system/MetadataExportOptions.json +1 -43
  1062. package/json-schema/system/MetadataFormat.json +1 -9
  1063. package/json-schema/system/MetadataImportOptions.json +1 -36
  1064. package/json-schema/system/MetadataLoadOptions.json +1 -46
  1065. package/json-schema/system/MetadataLoadResult.json +1 -80
  1066. package/json-schema/system/MetadataLoaderContract.json +1 -42
  1067. package/json-schema/system/MetadataManagerConfig.json +1 -102
  1068. package/json-schema/system/MetadataSaveOptions.json +1 -58
  1069. package/json-schema/system/MetadataSaveResult.json +1 -36
  1070. package/json-schema/system/MetadataStats.json +1 -45
  1071. package/json-schema/system/MetadataWatchEvent.json +1 -42
  1072. package/json-schema/system/MetricAggregationConfig.json +1 -63
  1073. package/json-schema/system/MetricAggregationType.json +1 -19
  1074. package/json-schema/system/MetricDataPoint.json +1 -129
  1075. package/json-schema/system/MetricDefinition.json +1 -187
  1076. package/json-schema/system/MetricExportConfig.json +1 -87
  1077. package/json-schema/system/MetricLabels.json +1 -7
  1078. package/json-schema/system/MetricType.json +1 -10
  1079. package/json-schema/system/MetricUnit.json +1 -26
  1080. package/json-schema/system/MetricsConfig.json +1 -712
  1081. package/json-schema/system/MiddlewareConfig.json +1 -64
  1082. package/json-schema/system/MiddlewareType.json +1 -12
  1083. package/json-schema/system/MultipartUploadConfig.json +1 -43
  1084. package/json-schema/system/NotificationChannel.json +1 -12
  1085. package/json-schema/system/NotificationConfig.json +1 -337
  1086. package/json-schema/system/ORSet.json +1 -51
  1087. package/json-schema/system/ORSetElement.json +1 -33
  1088. package/json-schema/system/OTComponent.json +1 -70
  1089. package/json-schema/system/OTOperation.json +1 -122
  1090. package/json-schema/system/OTOperationType.json +1 -8
  1091. package/json-schema/system/OTTransformResult.json +1 -144
  1092. package/json-schema/system/ObjectMetadata.json +1 -84
  1093. package/json-schema/system/ObjectStorageConfig.json +1 -469
  1094. package/json-schema/system/OnceSchedule.json +1 -19
  1095. package/json-schema/system/OpenTelemetryCompatibility.json +1 -190
  1096. package/json-schema/system/OtelExporterType.json +1 -16
  1097. package/json-schema/system/PCIDSSConfig.json +1 -41
  1098. package/json-schema/system/PNCounter.json +1 -31
  1099. package/json-schema/system/Plugin.json +1 -26
  1100. package/json-schema/system/PluginCapability.json +1 -121
  1101. package/json-schema/system/PluginCapabilityManifest.json +1 -404
  1102. package/json-schema/system/PluginContext.json +1 -76
  1103. package/json-schema/system/PluginDependency.json +1 -33
  1104. package/json-schema/system/PluginErrorEvent.json +1 -40
  1105. package/json-schema/system/PluginEventBase.json +1 -18
  1106. package/json-schema/system/PluginInterface.json +1 -135
  1107. package/json-schema/system/PluginLifecycle.json +1 -5
  1108. package/json-schema/system/PluginLifecycleEventType.json +1 -25
  1109. package/json-schema/system/PluginLifecyclePhaseEvent.json +1 -32
  1110. package/json-schema/system/PluginMetadata.json +1 -31
  1111. package/json-schema/system/PluginRegisteredEvent.json +1 -22
  1112. package/json-schema/system/PluginStartupResult.json +1 -67
  1113. package/json-schema/system/PresignedUrlConfig.json +1 -43
  1114. package/json-schema/system/ProtocolFeature.json +1 -28
  1115. package/json-schema/system/ProtocolReference.json +1 -50
  1116. package/json-schema/system/ProtocolVersion.json +1 -24
  1117. package/json-schema/system/PushNotification.json +1 -54
  1118. package/json-schema/system/QueueConfig.json +7 -0
  1119. package/json-schema/system/RealTimeNotificationConfig.json +7 -0
  1120. package/json-schema/system/RetryPolicy.json +1 -24
  1121. package/json-schema/system/RollbackPlan.json +1 -45
  1122. package/json-schema/system/RouteHandlerMetadata.json +1 -79
  1123. package/json-schema/system/RuntimeMode.json +1 -10
  1124. package/json-schema/system/SMSTemplate.json +1 -30
  1125. package/json-schema/system/SamplingDecision.json +1 -9
  1126. package/json-schema/system/SamplingStrategyType.json +1 -14
  1127. package/json-schema/system/Schedule.json +1 -65
  1128. package/json-schema/system/ScopeConfig.json +1 -22
  1129. package/json-schema/system/ScopeInfo.json +1 -33
  1130. package/json-schema/system/SearchConfig.json +1 -189
  1131. package/json-schema/system/SearchIndexConfig.json +1 -72
  1132. package/json-schema/system/SearchProvider.json +1 -10
  1133. package/json-schema/system/ServerCapabilities.json +1 -57
  1134. package/json-schema/system/ServerEvent.json +1 -33
  1135. package/json-schema/system/ServerEventType.json +1 -12
  1136. package/json-schema/system/ServerStatus.json +1 -87
  1137. package/json-schema/system/ServiceFactoryRegistration.json +1 -38
  1138. package/json-schema/system/ServiceLevelIndicator.json +1 -99
  1139. package/json-schema/system/ServiceLevelObjective.json +1 -164
  1140. package/json-schema/system/ServiceMetadata.json +1 -37
  1141. package/json-schema/system/ServiceRegisteredEvent.json +1 -22
  1142. package/json-schema/system/ServiceRegistryConfig.json +1 -33
  1143. package/json-schema/system/ServiceScopeType.json +1 -9
  1144. package/json-schema/system/ServiceUnregisteredEvent.json +1 -18
  1145. package/json-schema/system/Span.json +1 -381
  1146. package/json-schema/system/SpanAttributeValue.json +1 -32
  1147. package/json-schema/system/SpanAttributes.json +1 -36
  1148. package/json-schema/system/SpanEvent.json +1 -56
  1149. package/json-schema/system/SpanKind.json +1 -11
  1150. package/json-schema/system/SpanLink.json +1 -104
  1151. package/json-schema/system/SpanStatus.json +1 -9
  1152. package/json-schema/system/StartupOptions.json +1 -30
  1153. package/json-schema/system/StartupOrchestrationResult.json +1 -98
  1154. package/json-schema/system/StorageAcl.json +1 -12
  1155. package/json-schema/system/StorageClass.json +1 -11
  1156. package/json-schema/system/StorageConnection.json +1 -56
  1157. package/json-schema/system/StorageProvider.json +1 -15
  1158. package/json-schema/system/StorageScope.json +1 -16
  1159. package/json-schema/system/StructuredLogEntry.json +1 -185
  1160. package/json-schema/system/SuspiciousActivityRule.json +1 -169
  1161. package/json-schema/system/Task.json +7 -0
  1162. package/json-schema/system/TaskExecutionResult.json +7 -0
  1163. package/json-schema/system/TaskPriority.json +7 -0
  1164. package/json-schema/system/TaskRetryPolicy.json +7 -0
  1165. package/json-schema/system/TaskStatus.json +7 -0
  1166. package/json-schema/system/TextCRDTOperation.json +1 -46
  1167. package/json-schema/system/TextCRDTState.json +1 -99
  1168. package/json-schema/system/TimeSeries.json +1 -63
  1169. package/json-schema/system/TimeSeriesDataPoint.json +1 -27
  1170. package/json-schema/system/TopicConfig.json +1 -33
  1171. package/json-schema/system/TraceContext.json +1 -58
  1172. package/json-schema/system/TraceContextPropagation.json +1 -73
  1173. package/json-schema/system/TraceFlags.json +1 -6
  1174. package/json-schema/system/TracePropagationFormat.json +1 -13
  1175. package/json-schema/system/TraceSamplingConfig.json +1 -180
  1176. package/json-schema/system/TraceState.json +1 -17
  1177. package/json-schema/system/TracingConfig.json +1 -530
  1178. package/json-schema/system/TranslationBundle.json +1 -72
  1179. package/json-schema/system/TranslationData.json +1 -69
  1180. package/json-schema/system/UserActivityStatus.json +1 -9
  1181. package/json-schema/system/ValidationError.json +1 -22
  1182. package/json-schema/system/ValidationResult.json +1 -65
  1183. package/json-schema/system/ValidationWarning.json +1 -22
  1184. package/json-schema/system/VectorClock.json +1 -17
  1185. package/json-schema/system/WorkerConfig.json +7 -0
  1186. package/json-schema/system/WorkerStats.json +7 -0
  1187. package/json-schema/ui/Action.json +1 -180
  1188. package/json-schema/ui/ActionParam.json +1 -89
  1189. package/json-schema/ui/Animation.json +1 -50
  1190. package/json-schema/ui/App.json +1 -302
  1191. package/json-schema/ui/AppBranding.json +1 -18
  1192. package/json-schema/ui/BorderRadius.json +1 -38
  1193. package/json-schema/ui/Breakpoints.json +1 -30
  1194. package/json-schema/ui/CalendarConfig.json +1 -22
  1195. package/json-schema/ui/ChartConfig.json +1 -68
  1196. package/json-schema/ui/ChartType.json +1 -34
  1197. package/json-schema/ui/ColorPalette.json +1 -77
  1198. package/json-schema/ui/Dashboard.json +1 -221
  1199. package/json-schema/ui/DashboardNavItem.json +1 -38
  1200. package/json-schema/ui/DashboardWidget.json +1 -193
  1201. package/json-schema/ui/FieldWidgetProps.json +1 -892
  1202. package/json-schema/ui/FormField.json +1 -55
  1203. package/json-schema/ui/FormSection.json +1 -95
  1204. package/json-schema/ui/FormView.json +1 -351
  1205. package/json-schema/ui/GanttConfig.json +1 -26
  1206. package/json-schema/ui/GroupNavItem.json +1 -38
  1207. package/json-schema/ui/HttpMethod.json +1 -10
  1208. package/json-schema/ui/HttpRequest.json +1 -40
  1209. package/json-schema/ui/KanbanConfig.json +1 -25
  1210. package/json-schema/ui/ListColumn.json +1 -51
  1211. package/json-schema/ui/ListView.json +1 -398
  1212. package/json-schema/ui/NavigationItem.json +1 -218
  1213. package/json-schema/ui/ObjectNavItem.json +1 -42
  1214. package/json-schema/ui/Page.json +1 -143
  1215. package/json-schema/ui/PageCardProps.json +1 -26
  1216. package/json-schema/ui/PageComponent.json +1 -60
  1217. package/json-schema/ui/PageComponentType.json +1 -26
  1218. package/json-schema/ui/PageHeaderProps.json +1 -33
  1219. package/json-schema/ui/PageNavItem.json +1 -43
  1220. package/json-schema/ui/PageRegion.json +1 -87
  1221. package/json-schema/ui/PageTabsProps.json +1 -49
  1222. package/json-schema/ui/PaginationConfig.json +1 -20
  1223. package/json-schema/ui/RecordDetailsProps.json +1 -31
  1224. package/json-schema/ui/RecordHighlightsProps.json +1 -18
  1225. package/json-schema/ui/RecordRelatedListProps.json +1 -33
  1226. package/json-schema/ui/Report.json +1 -250
  1227. package/json-schema/ui/ReportChart.json +1 -82
  1228. package/json-schema/ui/ReportColumn.json +1 -29
  1229. package/json-schema/ui/ReportGrouping.json +1 -32
  1230. package/json-schema/ui/ReportType.json +1 -9
  1231. package/json-schema/ui/SelectionConfig.json +1 -16
  1232. package/json-schema/ui/Shadow.json +1 -38
  1233. package/json-schema/ui/Spacing.json +1 -58
  1234. package/json-schema/ui/Theme.json +1 -537
  1235. package/json-schema/ui/ThemeMode.json +1 -8
  1236. package/json-schema/ui/Typography.json +1 -136
  1237. package/json-schema/ui/UrlNavItem.json +1 -47
  1238. package/json-schema/ui/View.json +1 -1512
  1239. package/json-schema/ui/ViewData.json +1 -136
  1240. package/json-schema/ui/WidgetEvent.json +1 -36
  1241. package/json-schema/ui/WidgetLifecycle.json +1 -34
  1242. package/json-schema/ui/WidgetManifest.json +1 -256
  1243. package/json-schema/ui/WidgetProperty.json +1 -52
  1244. package/json-schema/ui/ZIndex.json +1 -38
  1245. package/package.json +13 -5
@@ -16,1153 +16,700 @@ 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<["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"]>;
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
+ }>;
20
63
  export type AuditEventType = z.infer<typeof AuditEventType>;
21
64
  /**
22
65
  * Audit Event Severity Level
23
66
  * Indicates the importance/criticality of an audit event
24
67
  */
25
- export declare const AuditEventSeverity: z.ZodEnum<["debug", "info", "notice", "warning", "error", "critical", "alert", "emergency"]>;
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
+ }>;
26
78
  export type AuditEventSeverity = z.infer<typeof AuditEventSeverity>;
27
79
  /**
28
80
  * Audit Event Actor Schema
29
81
  * Identifies who/what performed the action
30
82
  */
31
83
  export declare const AuditEventActorSchema: z.ZodObject<{
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
- */
84
+ type: z.ZodEnum<{
85
+ user: "user";
86
+ system: "system";
87
+ service: "service";
88
+ api_client: "api_client";
89
+ integration: "integration";
90
+ }>;
39
91
  id: z.ZodString;
40
- /**
41
- * Display name of the actor
42
- */
43
92
  name: z.ZodOptional<z.ZodString>;
44
- /**
45
- * Email address (for user actors)
46
- */
47
93
  email: z.ZodOptional<z.ZodString>;
48
- /**
49
- * IP address of the actor
50
- */
51
94
  ipAddress: z.ZodOptional<z.ZodString>;
52
- /**
53
- * User agent string (for web/API requests)
54
- */
55
95
  userAgent: z.ZodOptional<z.ZodString>;
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
- }>;
96
+ }, z.core.$strip>;
71
97
  export type AuditEventActor = z.infer<typeof AuditEventActorSchema>;
72
98
  /**
73
99
  * Audit Event Target Schema
74
100
  * Identifies what was acted upon
75
101
  */
76
102
  export declare const AuditEventTargetSchema: z.ZodObject<{
77
- /**
78
- * Target type (e.g., 'object', 'record', 'user', 'role', 'config')
79
- */
80
103
  type: z.ZodString;
81
- /**
82
- * Unique identifier for the target
83
- */
84
104
  id: z.ZodString;
85
- /**
86
- * Display name of the target
87
- */
88
105
  name: z.ZodOptional<z.ZodString>;
89
- /**
90
- * Additional metadata about the target
91
- */
92
106
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
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
- }>;
107
+ }, z.core.$strip>;
104
108
  export type AuditEventTarget = z.infer<typeof AuditEventTargetSchema>;
105
109
  /**
106
110
  * Audit Event Change Schema
107
111
  * Describes what changed (for update operations)
108
112
  */
109
113
  export declare const AuditEventChangeSchema: z.ZodObject<{
110
- /**
111
- * Field/property that changed
112
- */
113
114
  field: z.ZodString;
114
- /**
115
- * Value before the change
116
- */
117
115
  oldValue: z.ZodOptional<z.ZodAny>;
118
- /**
119
- * Value after the change
120
- */
121
116
  newValue: z.ZodOptional<z.ZodAny>;
122
- }, "strip", z.ZodTypeAny, {
123
- field: string;
124
- oldValue?: any;
125
- newValue?: any;
126
- }, {
127
- field: string;
128
- oldValue?: any;
129
- newValue?: any;
130
- }>;
117
+ }, z.core.$strip>;
131
118
  export type AuditEventChange = z.infer<typeof AuditEventChangeSchema>;
132
119
  /**
133
120
  * Audit Event Schema
134
121
  * Complete audit event record
135
122
  */
136
123
  export declare const AuditEventSchema: z.ZodObject<{
137
- /**
138
- * Unique identifier for this audit event
139
- */
140
124
  id: z.ZodString;
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
- */
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
+ }>>;
152
179
  timestamp: z.ZodString;
153
- /**
154
- * Who/what performed the action
155
- */
156
180
  actor: z.ZodObject<{
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
- */
181
+ type: z.ZodEnum<{
182
+ user: "user";
183
+ system: "system";
184
+ service: "service";
185
+ api_client: "api_client";
186
+ integration: "integration";
187
+ }>;
164
188
  id: z.ZodString;
165
- /**
166
- * Display name of the actor
167
- */
168
189
  name: z.ZodOptional<z.ZodString>;
169
- /**
170
- * Email address (for user actors)
171
- */
172
190
  email: z.ZodOptional<z.ZodString>;
173
- /**
174
- * IP address of the actor
175
- */
176
191
  ipAddress: z.ZodOptional<z.ZodString>;
177
- /**
178
- * User agent string (for web/API requests)
179
- */
180
192
  userAgent: z.ZodOptional<z.ZodString>;
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
- */
193
+ }, z.core.$strip>;
199
194
  target: z.ZodOptional<z.ZodObject<{
200
- /**
201
- * Target type (e.g., 'object', 'record', 'user', 'role', 'config')
202
- */
203
195
  type: z.ZodString;
204
- /**
205
- * Unique identifier for the target
206
- */
207
196
  id: z.ZodString;
208
- /**
209
- * Display name of the target
210
- */
211
197
  name: z.ZodOptional<z.ZodString>;
212
- /**
213
- * Additional metadata about the target
214
- */
215
198
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
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
- */
199
+ }, z.core.$strip>>;
230
200
  description: z.ZodString;
231
- /**
232
- * Detailed changes (for update operations)
233
- */
234
201
  changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
235
- /**
236
- * Field/property that changed
237
- */
238
202
  field: z.ZodString;
239
- /**
240
- * Value before the change
241
- */
242
203
  oldValue: z.ZodOptional<z.ZodAny>;
243
- /**
244
- * Value after the change
245
- */
246
204
  newValue: z.ZodOptional<z.ZodAny>;
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
- */
205
+ }, z.core.$strip>>>;
206
+ result: z.ZodDefault<z.ZodEnum<{
207
+ success: "success";
208
+ partial: "partial";
209
+ failure: "failure";
210
+ }>>;
263
211
  errorMessage: z.ZodOptional<z.ZodString>;
264
- /**
265
- * Tenant identifier (for multi-tenant systems)
266
- */
267
212
  tenantId: z.ZodOptional<z.ZodString>;
268
- /**
269
- * Request/trace ID for correlation
270
- */
271
213
  requestId: z.ZodOptional<z.ZodString>;
272
- /**
273
- * Additional context and metadata
274
- */
275
214
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
276
- /**
277
- * Geographic location (if available)
278
- */
279
215
  location: z.ZodOptional<z.ZodObject<{
280
216
  country: z.ZodOptional<z.ZodString>;
281
217
  region: z.ZodOptional<z.ZodString>;
282
218
  city: z.ZodOptional<z.ZodString>;
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
- 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";
298
- timestamp: string;
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
- 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";
331
- timestamp: string;
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
- }>;
219
+ }, z.core.$strip>>;
220
+ }, z.core.$strip>;
363
221
  export type AuditEvent = z.infer<typeof AuditEventSchema>;
364
222
  /**
365
223
  * Audit Retention Policy Schema
366
224
  * Defines how long audit logs are retained
367
225
  */
368
226
  export declare const AuditRetentionPolicySchema: z.ZodObject<{
369
- /**
370
- * Retention period in days
371
- * Default: 180 days (GDPR 6-month requirement)
372
- */
373
227
  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
- */
378
228
  archiveAfterRetention: z.ZodDefault<z.ZodBoolean>;
379
- /**
380
- * Archive storage configuration
381
- */
382
229
  archiveStorage: z.ZodOptional<z.ZodObject<{
383
- type: z.ZodEnum<["s3", "gcs", "azure_blob", "filesystem"]>;
230
+ type: z.ZodEnum<{
231
+ s3: "s3";
232
+ gcs: "gcs";
233
+ azure_blob: "azure_blob";
234
+ filesystem: "filesystem";
235
+ }>;
384
236
  endpoint: z.ZodOptional<z.ZodString>;
385
237
  bucket: z.ZodOptional<z.ZodString>;
386
238
  path: z.ZodOptional<z.ZodString>;
387
239
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
388
- }, "strip", z.ZodTypeAny, {
389
- type: "s3" | "gcs" | "azure_blob" | "filesystem";
390
- path?: string | undefined;
391
- credentials?: Record<string, any> | undefined;
392
- endpoint?: string | undefined;
393
- bucket?: string | undefined;
394
- }, {
395
- type: "s3" | "gcs" | "azure_blob" | "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
- */
240
+ }, z.core.$strip>>;
405
241
  customRetention: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
406
- /**
407
- * Minimum retention period for compliance
408
- * Prevents accidental deletion below compliance requirements
409
- */
410
242
  minimumRetentionDays: z.ZodOptional<z.ZodNumber>;
411
- }, "strip", z.ZodTypeAny, {
412
- retentionDays: number;
413
- archiveAfterRetention: boolean;
414
- archiveStorage?: {
415
- type: "s3" | "gcs" | "azure_blob" | "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" | "gcs" | "azure_blob" | "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
- }>;
243
+ }, z.core.$strip>;
436
244
  export type AuditRetentionPolicy = z.infer<typeof AuditRetentionPolicySchema>;
437
245
  /**
438
246
  * Suspicious Activity Rule Schema
439
247
  * Defines rules for detecting suspicious activities
440
248
  */
441
249
  export declare const SuspiciousActivityRuleSchema: z.ZodObject<{
442
- /**
443
- * Unique identifier for the rule
444
- */
445
250
  id: z.ZodString;
446
- /**
447
- * Rule name
448
- */
449
251
  name: z.ZodString;
450
- /**
451
- * Rule description
452
- */
453
252
  description: z.ZodOptional<z.ZodString>;
454
- /**
455
- * Whether the rule is enabled
456
- */
457
253
  enabled: z.ZodDefault<z.ZodBoolean>;
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
- */
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
+ }>>;
465
298
  condition: z.ZodObject<{
466
- /**
467
- * Number of events that trigger the rule
468
- */
469
299
  threshold: z.ZodNumber;
470
- /**
471
- * Time window in seconds
472
- */
473
300
  windowSeconds: z.ZodNumber;
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
- */
301
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
481
302
  filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
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
- */
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
+ }>>;
504
322
  notifications: z.ZodOptional<z.ZodObject<{
505
- /**
506
- * Email addresses to notify
507
- */
508
- email: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
509
- /**
510
- * Slack webhook URL
511
- */
323
+ email: z.ZodOptional<z.ZodArray<z.ZodString>>;
512
324
  slack: z.ZodOptional<z.ZodString>;
513
- /**
514
- * Custom webhook URL
515
- */
516
325
  webhook: z.ZodOptional<z.ZodString>;
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
- }>;
326
+ }, z.core.$strip>>;
327
+ }, z.core.$strip>;
565
328
  export type SuspiciousActivityRule = z.infer<typeof SuspiciousActivityRuleSchema>;
566
329
  /**
567
330
  * Audit Log Storage Configuration
568
331
  * Defines where and how audit logs are stored
569
332
  */
570
333
  export declare const AuditStorageConfigSchema: z.ZodObject<{
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
- */
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
+ }>;
578
344
  connectionString: z.ZodOptional<z.ZodString>;
579
- /**
580
- * Storage configuration
581
- */
582
345
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
583
- /**
584
- * Whether to enable buffering/batching
585
- */
586
346
  bufferEnabled: z.ZodDefault<z.ZodBoolean>;
587
- /**
588
- * Buffer size (number of events before flush)
589
- */
590
347
  bufferSize: z.ZodDefault<z.ZodNumber>;
591
- /**
592
- * Buffer flush interval in seconds
593
- */
594
348
  flushIntervalSeconds: z.ZodDefault<z.ZodNumber>;
595
- /**
596
- * Whether to compress stored data
597
- */
598
349
  compression: z.ZodDefault<z.ZodBoolean>;
599
- }, "strip", z.ZodTypeAny, {
600
- type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "gcs" | "azure_blob" | "clickhouse";
601
- bufferEnabled: boolean;
602
- bufferSize: number;
603
- flushIntervalSeconds: number;
604
- compression: boolean;
605
- connectionString?: string | undefined;
606
- config?: Record<string, any> | undefined;
607
- }, {
608
- type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "gcs" | "azure_blob" | "clickhouse";
609
- connectionString?: string | undefined;
610
- config?: Record<string, any> | undefined;
611
- bufferEnabled?: boolean | undefined;
612
- bufferSize?: number | undefined;
613
- flushIntervalSeconds?: number | undefined;
614
- compression?: boolean | undefined;
615
- }>;
350
+ }, z.core.$strip>;
616
351
  export type AuditStorageConfig = z.infer<typeof AuditStorageConfigSchema>;
617
352
  /**
618
353
  * Audit Event Filter Schema
619
354
  * Defines filters for querying audit events
620
355
  */
621
356
  export declare const AuditEventFilterSchema: z.ZodObject<{
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
- */
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
+ }>>>;
633
411
  actorId: z.ZodOptional<z.ZodString>;
634
- /**
635
- * Filter by tenant ID
636
- */
637
412
  tenantId: z.ZodOptional<z.ZodString>;
638
- /**
639
- * Filter by time range
640
- */
641
413
  timeRange: z.ZodOptional<z.ZodObject<{
642
414
  from: z.ZodString;
643
415
  to: z.ZodString;
644
- }, "strip", z.ZodTypeAny, {
645
- from: string;
646
- to: string;
647
- }, {
648
- from: string;
649
- to: string;
416
+ }, z.core.$strip>>;
417
+ result: z.ZodOptional<z.ZodEnum<{
418
+ success: "success";
419
+ partial: "partial";
420
+ failure: "failure";
650
421
  }>>;
651
- /**
652
- * Filter by result status
653
- */
654
- result: z.ZodOptional<z.ZodEnum<["success", "failure", "partial"]>>;
655
- /**
656
- * Search query (full-text search)
657
- */
658
422
  searchQuery: z.ZodOptional<z.ZodString>;
659
- /**
660
- * Custom filters
661
- */
662
423
  customFilters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
663
- }, "strip", z.ZodTypeAny, {
664
- result?: "partial" | "success" | "failure" | undefined;
665
- tenantId?: string | undefined;
666
- 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;
667
- severities?: ("error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency")[] | undefined;
668
- actorId?: string | undefined;
669
- timeRange?: {
670
- from: string;
671
- to: string;
672
- } | undefined;
673
- searchQuery?: string | undefined;
674
- customFilters?: Record<string, any> | undefined;
675
- }, {
676
- result?: "partial" | "success" | "failure" | undefined;
677
- tenantId?: string | undefined;
678
- 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;
679
- severities?: ("error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency")[] | undefined;
680
- actorId?: string | undefined;
681
- timeRange?: {
682
- from: string;
683
- to: string;
684
- } | undefined;
685
- searchQuery?: string | undefined;
686
- customFilters?: Record<string, any> | undefined;
687
- }>;
424
+ }, z.core.$strip>;
688
425
  export type AuditEventFilter = z.infer<typeof AuditEventFilterSchema>;
689
426
  /**
690
427
  * Complete Audit Configuration Schema
691
428
  * Main configuration for the audit system
692
429
  */
693
430
  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
- */
699
431
  name: z.ZodString;
700
- /**
701
- * Human-readable label
702
- */
703
432
  label: z.ZodString;
704
- /**
705
- * Whether audit logging is enabled
706
- */
707
433
  enabled: z.ZodDefault<z.ZodBoolean>;
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
- */
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
+ }>>;
725
532
  storage: z.ZodObject<{
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
- */
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
+ }>;
733
543
  connectionString: z.ZodOptional<z.ZodString>;
734
- /**
735
- * Storage configuration
736
- */
737
544
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
738
- /**
739
- * Whether to enable buffering/batching
740
- */
741
545
  bufferEnabled: z.ZodDefault<z.ZodBoolean>;
742
- /**
743
- * Buffer size (number of events before flush)
744
- */
745
546
  bufferSize: z.ZodDefault<z.ZodNumber>;
746
- /**
747
- * Buffer flush interval in seconds
748
- */
749
547
  flushIntervalSeconds: z.ZodDefault<z.ZodNumber>;
750
- /**
751
- * Whether to compress stored data
752
- */
753
548
  compression: z.ZodDefault<z.ZodBoolean>;
754
- }, "strip", z.ZodTypeAny, {
755
- type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "gcs" | "azure_blob" | "clickhouse";
756
- bufferEnabled: boolean;
757
- bufferSize: number;
758
- flushIntervalSeconds: number;
759
- compression: boolean;
760
- connectionString?: string | undefined;
761
- config?: Record<string, any> | undefined;
762
- }, {
763
- type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "gcs" | "azure_blob" | "clickhouse";
764
- connectionString?: string | undefined;
765
- config?: Record<string, any> | undefined;
766
- bufferEnabled?: boolean | undefined;
767
- bufferSize?: number | undefined;
768
- flushIntervalSeconds?: number | undefined;
769
- compression?: boolean | undefined;
770
- }>;
771
- /**
772
- * Retention policy
773
- */
774
- retentionPolicy: z.ZodDefault<z.ZodObject<{
775
- /**
776
- * Retention period in days
777
- * Default: 180 days (GDPR 6-month requirement)
778
- */
549
+ }, z.core.$strip>;
550
+ retentionPolicy: z.ZodOptional<z.ZodObject<{
779
551
  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
- */
784
552
  archiveAfterRetention: z.ZodDefault<z.ZodBoolean>;
785
- /**
786
- * Archive storage configuration
787
- */
788
553
  archiveStorage: z.ZodOptional<z.ZodObject<{
789
- type: z.ZodEnum<["s3", "gcs", "azure_blob", "filesystem"]>;
554
+ type: z.ZodEnum<{
555
+ s3: "s3";
556
+ gcs: "gcs";
557
+ azure_blob: "azure_blob";
558
+ filesystem: "filesystem";
559
+ }>;
790
560
  endpoint: z.ZodOptional<z.ZodString>;
791
561
  bucket: z.ZodOptional<z.ZodString>;
792
562
  path: z.ZodOptional<z.ZodString>;
793
563
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
794
- }, "strip", z.ZodTypeAny, {
795
- type: "s3" | "gcs" | "azure_blob" | "filesystem";
796
- path?: string | undefined;
797
- credentials?: Record<string, any> | undefined;
798
- endpoint?: string | undefined;
799
- bucket?: string | undefined;
800
- }, {
801
- type: "s3" | "gcs" | "azure_blob" | "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
- */
564
+ }, z.core.$strip>>;
811
565
  customRetention: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
812
- /**
813
- * Minimum retention period for compliance
814
- * Prevents accidental deletion below compliance requirements
815
- */
816
566
  minimumRetentionDays: z.ZodOptional<z.ZodNumber>;
817
- }, "strip", z.ZodTypeAny, {
818
- retentionDays: number;
819
- archiveAfterRetention: boolean;
820
- archiveStorage?: {
821
- type: "s3" | "gcs" | "azure_blob" | "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" | "gcs" | "azure_blob" | "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
- */
567
+ }, z.core.$strip>>;
845
568
  suspiciousActivityRules: z.ZodDefault<z.ZodArray<z.ZodObject<{
846
- /**
847
- * Unique identifier for the rule
848
- */
849
569
  id: z.ZodString;
850
- /**
851
- * Rule name
852
- */
853
570
  name: z.ZodString;
854
- /**
855
- * Rule description
856
- */
857
571
  description: z.ZodOptional<z.ZodString>;
858
- /**
859
- * Whether the rule is enabled
860
- */
861
572
  enabled: z.ZodDefault<z.ZodBoolean>;
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
- */
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
+ }>>;
869
617
  condition: z.ZodObject<{
870
- /**
871
- * Number of events that trigger the rule
872
- */
873
618
  threshold: z.ZodNumber;
874
- /**
875
- * Time window in seconds
876
- */
877
619
  windowSeconds: z.ZodNumber;
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
- */
620
+ groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
885
621
  filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
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
- */
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
+ }>>;
908
641
  notifications: z.ZodOptional<z.ZodObject<{
909
- /**
910
- * Email addresses to notify
911
- */
912
- email: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
913
- /**
914
- * Slack webhook URL
915
- */
642
+ email: z.ZodOptional<z.ZodArray<z.ZodString>>;
916
643
  slack: z.ZodOptional<z.ZodString>;
917
- /**
918
- * Custom webhook URL
919
- */
920
644
  webhook: z.ZodOptional<z.ZodString>;
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
- */
645
+ }, z.core.$strip>>;
646
+ }, z.core.$strip>>>;
973
647
  includeSensitiveData: z.ZodDefault<z.ZodBoolean>;
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
- */
648
+ redactFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
982
649
  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
- */
987
650
  readSamplingRate: z.ZodDefault<z.ZodNumber>;
988
- /**
989
- * Whether to log system/internal operations
990
- */
991
651
  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
- */
996
652
  customHandlers: z.ZodOptional<z.ZodArray<z.ZodObject<{
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"]>;
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
+ }>;
998
697
  handlerId: z.ZodString;
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
- */
698
+ }, z.core.$strip>>>;
1009
699
  compliance: z.ZodOptional<z.ZodObject<{
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
- */
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
+ }>>>;
1017
708
  immutableLogs: z.ZodDefault<z.ZodBoolean>;
1018
- /**
1019
- * Whether to require cryptographic signing
1020
- */
1021
709
  requireSigning: z.ZodDefault<z.ZodBoolean>;
1022
- /**
1023
- * Signing key configuration
1024
- */
1025
710
  signingKey: z.ZodOptional<z.ZodString>;
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" | "gcs" | "azure_blob" | "clickhouse";
1044
- bufferEnabled: boolean;
1045
- bufferSize: number;
1046
- flushIntervalSeconds: number;
1047
- compression: boolean;
1048
- connectionString?: string | undefined;
1049
- config?: Record<string, any> | undefined;
1050
- };
1051
- retentionPolicy: {
1052
- retentionDays: number;
1053
- archiveAfterRetention: boolean;
1054
- archiveStorage?: {
1055
- type: "s3" | "gcs" | "azure_blob" | "filesystem";
1056
- path?: string | undefined;
1057
- credentials?: Record<string, any> | undefined;
1058
- endpoint?: string | undefined;
1059
- bucket?: string | undefined;
1060
- } | undefined;
1061
- customRetention?: Record<string, number> | undefined;
1062
- minimumRetentionDays?: number | undefined;
1063
- };
1064
- suspiciousActivityRules: {
1065
- enabled: boolean;
1066
- name: string;
1067
- condition: {
1068
- threshold: number;
1069
- windowSeconds: number;
1070
- groupBy?: string[] | undefined;
1071
- filters?: Record<string, any> | undefined;
1072
- };
1073
- id: string;
1074
- actions: ("alert" | "lock_account" | "block_ip" | "require_mfa" | "log_critical" | "webhook")[];
1075
- 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")[];
1076
- alertSeverity: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency";
1077
- description?: string | undefined;
1078
- notifications?: {
1079
- email?: string[] | undefined;
1080
- webhook?: string | undefined;
1081
- slack?: string | undefined;
1082
- } | undefined;
1083
- }[];
1084
- includeSensitiveData: boolean;
1085
- redactFields: string[];
1086
- logReads: boolean;
1087
- readSamplingRate: number;
1088
- logSystemEvents: boolean;
1089
- 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;
1090
- 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;
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" | "gcs" | "azure_blob" | "clickhouse";
1106
- connectionString?: string | undefined;
1107
- config?: Record<string, any> | undefined;
1108
- bufferEnabled?: boolean | undefined;
1109
- bufferSize?: number | undefined;
1110
- flushIntervalSeconds?: number | undefined;
1111
- compression?: boolean | 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" | "gcs" | "azure_blob" | "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
- }>;
711
+ }, z.core.$strip>>;
712
+ }, z.core.$strip>;
1166
713
  export type AuditConfig = z.infer<typeof AuditConfigSchema>;
1167
714
  /**
1168
715
  * Default suspicious activity rules