@objectstack/spec 0.6.1 → 0.7.2

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 (853) hide show
  1. package/dist/ai/agent-action.zod.d.ts +2231 -0
  2. package/dist/ai/agent-action.zod.d.ts.map +1 -0
  3. package/dist/ai/agent-action.zod.js +401 -0
  4. package/dist/ai/agent.zod.d.ts +8 -8
  5. package/dist/ai/conversation.zod.d.ts +100 -66
  6. package/dist/ai/conversation.zod.d.ts.map +1 -1
  7. package/dist/ai/conversation.zod.js +5 -5
  8. package/dist/ai/cost.zod.d.ts +279 -207
  9. package/dist/ai/cost.zod.d.ts.map +1 -1
  10. package/dist/ai/cost.zod.js +25 -1
  11. package/dist/ai/index.d.ts +1 -0
  12. package/dist/ai/index.d.ts.map +1 -1
  13. package/dist/ai/index.js +1 -0
  14. package/dist/ai/model-registry.zod.d.ts +125 -125
  15. package/dist/ai/nlq.zod.d.ts +72 -45
  16. package/dist/ai/nlq.zod.d.ts.map +1 -1
  17. package/dist/ai/nlq.zod.js +4 -0
  18. package/dist/ai/orchestration.zod.d.ts +73 -47
  19. package/dist/ai/orchestration.zod.d.ts.map +1 -1
  20. package/dist/ai/orchestration.zod.js +3 -0
  21. package/dist/ai/predictive.zod.d.ts +90 -64
  22. package/dist/ai/predictive.zod.d.ts.map +1 -1
  23. package/dist/ai/predictive.zod.js +3 -0
  24. package/dist/ai/rag-pipeline.zod.d.ts +100 -74
  25. package/dist/ai/rag-pipeline.zod.d.ts.map +1 -1
  26. package/dist/ai/rag-pipeline.zod.js +4 -1
  27. package/dist/api/batch.zod.d.ts +1102 -0
  28. package/dist/api/batch.zod.d.ts.map +1 -0
  29. package/dist/api/batch.zod.js +209 -0
  30. package/dist/api/contract.zod.d.ts +96 -0
  31. package/dist/api/contract.zod.d.ts.map +1 -1
  32. package/dist/api/discovery.zod.d.ts +16 -16
  33. package/dist/api/endpoint.zod.d.ts +29 -28
  34. package/dist/api/endpoint.zod.d.ts.map +1 -1
  35. package/dist/api/endpoint.zod.js +4 -7
  36. package/dist/api/errors.zod.d.ts +364 -0
  37. package/dist/api/errors.zod.d.ts.map +1 -0
  38. package/dist/api/errors.zod.js +296 -0
  39. package/dist/api/graphql.zod.d.ts +5727 -0
  40. package/dist/api/graphql.zod.d.ts.map +1 -0
  41. package/dist/api/graphql.zod.js +724 -0
  42. package/dist/api/http-cache.zod.d.ts +439 -0
  43. package/dist/api/http-cache.zod.d.ts.map +1 -0
  44. package/dist/api/http-cache.zod.js +219 -0
  45. package/dist/api/index.d.ts +11 -1
  46. package/dist/api/index.d.ts.map +1 -1
  47. package/dist/api/index.js +13 -1
  48. package/dist/api/odata.zod.d.ts +383 -4
  49. package/dist/api/odata.zod.d.ts.map +1 -1
  50. package/dist/api/odata.zod.js +14 -1
  51. package/dist/api/protocol.zod.d.ts +9375 -0
  52. package/dist/api/protocol.zod.d.ts.map +1 -0
  53. package/dist/api/protocol.zod.js +376 -0
  54. package/dist/api/realtime.zod.d.ts +135 -2
  55. package/dist/api/realtime.zod.d.ts.map +1 -1
  56. package/dist/api/realtime.zod.js +14 -1
  57. package/dist/api/rest-server.zod.d.ts +2330 -0
  58. package/dist/api/rest-server.zod.d.ts.map +1 -0
  59. package/dist/api/rest-server.zod.js +424 -0
  60. package/dist/api/router.zod.d.ts +39 -32
  61. package/dist/api/router.zod.d.ts.map +1 -1
  62. package/dist/api/router.zod.js +5 -23
  63. package/dist/api/view-storage.zod.d.ts +8220 -0
  64. package/dist/api/view-storage.zod.d.ts.map +1 -0
  65. package/dist/api/view-storage.zod.js +243 -0
  66. package/dist/api/websocket.zod.d.ts +1740 -0
  67. package/dist/api/websocket.zod.d.ts.map +1 -0
  68. package/dist/api/websocket.zod.js +470 -0
  69. package/dist/auth/config.zod.d.ts +655 -304
  70. package/dist/auth/config.zod.d.ts.map +1 -1
  71. package/dist/auth/config.zod.js +149 -7
  72. package/dist/auth/identity.zod.d.ts +7 -7
  73. package/dist/auth/organization.zod.d.ts +6 -6
  74. package/dist/auth/policy.zod.d.ts +3 -3
  75. package/dist/auth/scim.zod.d.ts +83 -83
  76. package/dist/automation/approval.zod.d.ts +18 -18
  77. package/dist/automation/etl.zod.d.ts +53 -23
  78. package/dist/automation/etl.zod.d.ts.map +1 -1
  79. package/dist/automation/etl.zod.js +31 -1
  80. package/dist/automation/flow.zod.d.ts +26 -26
  81. package/dist/automation/index.d.ts +1 -1
  82. package/dist/automation/index.d.ts.map +1 -1
  83. package/dist/automation/index.js +1 -1
  84. package/dist/automation/sync.zod.d.ts +382 -167
  85. package/dist/automation/sync.zod.d.ts.map +1 -1
  86. package/dist/automation/sync.zod.js +38 -31
  87. package/dist/automation/{connector.zod.d.ts → trigger-registry.zod.d.ts} +77 -62
  88. package/dist/automation/trigger-registry.zod.d.ts.map +1 -0
  89. package/dist/automation/{connector.zod.js → trigger-registry.zod.js} +36 -21
  90. package/dist/automation/webhook.zod.d.ts +106 -19
  91. package/dist/automation/webhook.zod.d.ts.map +1 -1
  92. package/dist/automation/webhook.zod.js +58 -13
  93. package/dist/automation/workflow.zod.d.ts +1089 -265
  94. package/dist/automation/workflow.zod.d.ts.map +1 -1
  95. package/dist/automation/workflow.zod.js +3 -6
  96. package/dist/contracts/data-engine.d.ts +61 -0
  97. package/dist/contracts/data-engine.d.ts.map +1 -0
  98. package/dist/contracts/data-engine.js +2 -0
  99. package/dist/contracts/http-server.d.ts +119 -0
  100. package/dist/contracts/http-server.d.ts.map +1 -0
  101. package/dist/contracts/http-server.js +12 -0
  102. package/dist/contracts/index.d.ts +14 -0
  103. package/dist/contracts/index.d.ts.map +1 -0
  104. package/dist/contracts/index.js +29 -0
  105. package/dist/contracts/logger.d.ts +63 -0
  106. package/dist/contracts/logger.d.ts.map +1 -0
  107. package/dist/contracts/logger.js +2 -0
  108. package/dist/contracts/plugin-lifecycle-events.d.ts +150 -0
  109. package/dist/contracts/plugin-lifecycle-events.d.ts.map +1 -0
  110. package/dist/contracts/plugin-lifecycle-events.js +10 -0
  111. package/dist/contracts/plugin-validator.d.ts +106 -0
  112. package/dist/contracts/plugin-validator.d.ts.map +1 -0
  113. package/dist/contracts/plugin-validator.js +8 -0
  114. package/dist/contracts/service-registry.d.ts +94 -0
  115. package/dist/contracts/service-registry.d.ts.map +1 -0
  116. package/dist/contracts/service-registry.js +11 -0
  117. package/dist/contracts/startup-orchestrator.d.ts +122 -0
  118. package/dist/contracts/startup-orchestrator.d.ts.map +1 -0
  119. package/dist/contracts/startup-orchestrator.js +2 -0
  120. package/dist/data/data-engine.zod.d.ts +2636 -0
  121. package/dist/data/data-engine.zod.d.ts.map +1 -0
  122. package/dist/data/data-engine.zod.js +282 -0
  123. package/dist/data/document.zod.d.ts +746 -0
  124. package/dist/data/document.zod.d.ts.map +1 -0
  125. package/dist/data/document.zod.js +326 -0
  126. package/dist/data/driver/mongo.zod.d.ts +82 -0
  127. package/dist/data/driver/mongo.zod.d.ts.map +1 -0
  128. package/dist/data/driver/mongo.zod.js +68 -0
  129. package/dist/{system → data}/driver/postgres.zod.d.ts +4 -4
  130. package/dist/data/driver/postgres.zod.d.ts.map +1 -0
  131. package/dist/data/driver-nosql.zod.d.ts +1008 -0
  132. package/dist/data/driver-nosql.zod.d.ts.map +1 -0
  133. package/dist/data/driver-nosql.zod.js +417 -0
  134. package/dist/data/driver-sql.zod.d.ts +652 -0
  135. package/dist/data/driver-sql.zod.d.ts.map +1 -0
  136. package/dist/data/driver-sql.zod.js +150 -0
  137. package/dist/{system → data}/driver.zod.d.ts +1538 -249
  138. package/dist/data/driver.zod.d.ts.map +1 -0
  139. package/dist/{system → data}/driver.zod.js +137 -13
  140. package/dist/data/external-lookup.zod.d.ts +662 -0
  141. package/dist/data/external-lookup.zod.d.ts.map +1 -0
  142. package/dist/data/external-lookup.zod.js +223 -0
  143. package/dist/data/field.zod.d.ts +3896 -107
  144. package/dist/data/field.zod.d.ts.map +1 -1
  145. package/dist/data/field.zod.js +161 -2
  146. package/dist/data/hook.zod.d.ts +4 -4
  147. package/dist/data/index.d.ts +7 -0
  148. package/dist/data/index.d.ts.map +1 -1
  149. package/dist/data/index.js +9 -0
  150. package/dist/data/mapping.zod.d.ts +85 -17
  151. package/dist/data/mapping.zod.d.ts.map +1 -1
  152. package/dist/data/object.zod.d.ts +2117 -77
  153. package/dist/data/object.zod.d.ts.map +1 -1
  154. package/dist/data/object.zod.js +131 -16
  155. package/dist/data/query.zod.d.ts +112 -0
  156. package/dist/data/query.zod.d.ts.map +1 -1
  157. package/dist/data/query.zod.js +47 -1
  158. package/dist/data/validation.zod.d.ts +2 -2
  159. package/dist/hub/composer.zod.d.ts +869 -68
  160. package/dist/hub/composer.zod.d.ts.map +1 -1
  161. package/dist/hub/index.d.ts +1 -0
  162. package/dist/hub/index.d.ts.map +1 -1
  163. package/dist/hub/index.js +1 -0
  164. package/dist/hub/license.zod.d.ts +2 -2
  165. package/dist/hub/marketplace.zod.d.ts +3 -2
  166. package/dist/hub/marketplace.zod.d.ts.map +1 -1
  167. package/dist/hub/plugin-registry.zod.d.ts +1681 -0
  168. package/dist/hub/plugin-registry.zod.d.ts.map +1 -0
  169. package/dist/hub/plugin-registry.zod.js +350 -0
  170. package/dist/hub/space.zod.d.ts +24 -23
  171. package/dist/hub/space.zod.d.ts.map +1 -1
  172. package/dist/hub/tenant.zod.d.ts +44 -44
  173. package/dist/index.d.ts +3 -0
  174. package/dist/index.d.ts.map +1 -1
  175. package/dist/index.js +11 -1
  176. package/dist/integration/connector/database.zod.d.ts +1666 -0
  177. package/dist/integration/connector/database.zod.d.ts.map +1 -0
  178. package/dist/integration/connector/database.zod.js +303 -0
  179. package/dist/integration/connector/file-storage.zod.d.ts +1386 -0
  180. package/dist/integration/connector/file-storage.zod.d.ts.map +1 -0
  181. package/dist/integration/connector/file-storage.zod.js +346 -0
  182. package/dist/integration/connector/message-queue.zod.d.ts +1729 -0
  183. package/dist/integration/connector/message-queue.zod.d.ts.map +1 -0
  184. package/dist/integration/connector/message-queue.zod.js +428 -0
  185. package/dist/integration/connector/saas.zod.d.ts +1441 -0
  186. package/dist/integration/connector/saas.zod.d.ts.map +1 -0
  187. package/dist/integration/connector/saas.zod.js +224 -0
  188. package/dist/integration/connector.zod.d.ts +1571 -0
  189. package/dist/integration/connector.zod.d.ts.map +1 -0
  190. package/dist/integration/connector.zod.js +426 -0
  191. package/dist/integration/index.d.ts +15 -0
  192. package/dist/integration/index.d.ts.map +1 -0
  193. package/dist/integration/index.js +32 -0
  194. package/dist/permission/permission.zod.d.ts +140 -6
  195. package/dist/permission/permission.zod.d.ts.map +1 -1
  196. package/dist/permission/permission.zod.js +48 -0
  197. package/dist/permission/rls.zod.d.ts +8 -8
  198. package/dist/permission/sharing.zod.d.ts +14 -14
  199. package/dist/shared/http.zod.d.ts +140 -0
  200. package/dist/shared/http.zod.d.ts.map +1 -0
  201. package/dist/shared/http.zod.js +133 -0
  202. package/dist/shared/index.d.ts +2 -0
  203. package/dist/shared/index.d.ts.map +1 -1
  204. package/dist/shared/index.js +2 -0
  205. package/dist/shared/mapping.zod.d.ts +226 -0
  206. package/dist/shared/mapping.zod.d.ts.map +1 -0
  207. package/dist/shared/mapping.zod.js +103 -0
  208. package/dist/stack.zod.d.ts +9222 -1785
  209. package/dist/stack.zod.d.ts.map +1 -1
  210. package/dist/system/audit.zod.d.ts +35 -35
  211. package/dist/system/cache.zod.d.ts +151 -0
  212. package/dist/system/cache.zod.d.ts.map +1 -0
  213. package/dist/system/cache.zod.js +57 -0
  214. package/dist/system/change-management.zod.d.ts +626 -0
  215. package/dist/system/change-management.zod.d.ts.map +1 -0
  216. package/dist/system/change-management.zod.js +329 -0
  217. package/dist/system/collaboration.zod.d.ts +2099 -0
  218. package/dist/system/collaboration.zod.d.ts.map +1 -0
  219. package/dist/system/collaboration.zod.js +392 -0
  220. package/dist/system/compliance.zod.d.ts +366 -0
  221. package/dist/system/compliance.zod.d.ts.map +1 -0
  222. package/dist/system/compliance.zod.js +70 -0
  223. package/dist/system/context.zod.d.ts +5 -5
  224. package/dist/system/encryption.zod.d.ts +227 -0
  225. package/dist/system/encryption.zod.d.ts.map +1 -0
  226. package/dist/system/encryption.zod.js +43 -0
  227. package/dist/system/events.zod.d.ts +2536 -0
  228. package/dist/system/events.zod.d.ts.map +1 -1
  229. package/dist/system/events.zod.js +582 -1
  230. package/dist/system/feature.zod.d.ts +12 -12
  231. package/dist/system/http-server.zod.d.ts +735 -0
  232. package/dist/system/http-server.zod.d.ts.map +1 -0
  233. package/dist/system/http-server.zod.js +300 -0
  234. package/dist/system/index.d.ts +21 -6
  235. package/dist/system/index.d.ts.map +1 -1
  236. package/dist/system/index.js +33 -7
  237. package/dist/system/job.zod.d.ts +5 -4
  238. package/dist/system/job.zod.d.ts.map +1 -1
  239. package/dist/system/logging.zod.d.ts +2186 -0
  240. package/dist/system/logging.zod.d.ts.map +1 -0
  241. package/dist/system/logging.zod.js +564 -0
  242. package/dist/system/manifest.zod.d.ts +659 -14
  243. package/dist/system/manifest.zod.d.ts.map +1 -1
  244. package/dist/system/manifest.zod.js +8 -0
  245. package/dist/system/masking.zod.d.ts +87 -0
  246. package/dist/system/masking.zod.d.ts.map +1 -0
  247. package/dist/system/masking.zod.js +30 -0
  248. package/dist/system/message-queue.zod.d.ts +177 -0
  249. package/dist/system/message-queue.zod.d.ts.map +1 -0
  250. package/dist/system/message-queue.zod.js +46 -0
  251. package/dist/system/metadata-loader.zod.d.ts +641 -0
  252. package/dist/system/metadata-loader.zod.d.ts.map +1 -0
  253. package/dist/system/metadata-loader.zod.js +373 -0
  254. package/dist/system/metrics.zod.d.ts +1965 -0
  255. package/dist/system/metrics.zod.d.ts.map +1 -0
  256. package/dist/system/metrics.zod.js +585 -0
  257. package/dist/system/notification.zod.d.ts +725 -0
  258. package/dist/system/notification.zod.d.ts.map +1 -0
  259. package/dist/system/notification.zod.js +335 -0
  260. package/dist/system/object-storage.zod.d.ts +1722 -0
  261. package/dist/system/object-storage.zod.d.ts.map +1 -0
  262. package/dist/system/object-storage.zod.js +591 -0
  263. package/dist/system/plugin-capability.zod.d.ts +1130 -0
  264. package/dist/system/plugin-capability.zod.d.ts.map +1 -0
  265. package/dist/system/plugin-capability.zod.js +271 -0
  266. package/dist/system/plugin-lifecycle-events.zod.d.ts +382 -0
  267. package/dist/system/plugin-lifecycle-events.zod.d.ts.map +1 -0
  268. package/dist/system/plugin-lifecycle-events.zod.js +284 -0
  269. package/dist/system/plugin-validator.zod.d.ts +245 -0
  270. package/dist/system/plugin-validator.zod.d.ts.map +1 -0
  271. package/dist/system/plugin-validator.zod.js +136 -0
  272. package/dist/system/plugin.zod.d.ts +86 -86
  273. package/dist/system/search-engine.zod.d.ts +256 -0
  274. package/dist/system/search-engine.zod.d.ts.map +1 -0
  275. package/dist/system/search-engine.zod.js +50 -0
  276. package/dist/system/service-registry.zod.d.ts +247 -0
  277. package/dist/system/service-registry.zod.d.ts.map +1 -0
  278. package/dist/system/service-registry.zod.js +218 -0
  279. package/dist/system/startup-orchestrator.zod.d.ts +376 -0
  280. package/dist/system/startup-orchestrator.zod.d.ts.map +1 -0
  281. package/dist/system/startup-orchestrator.zod.js +171 -0
  282. package/dist/system/tracing.zod.d.ts +1881 -0
  283. package/dist/system/tracing.zod.d.ts.map +1 -0
  284. package/dist/system/tracing.zod.js +567 -0
  285. package/dist/system/worker.zod.d.ts +1458 -0
  286. package/dist/system/worker.zod.d.ts.map +1 -0
  287. package/dist/system/worker.zod.js +479 -0
  288. package/dist/ui/action.zod.d.ts +10 -10
  289. package/dist/ui/app.zod.d.ts +6 -6
  290. package/dist/ui/chart.zod.d.ts +41 -0
  291. package/dist/ui/chart.zod.d.ts.map +1 -0
  292. package/dist/ui/chart.zod.js +66 -0
  293. package/dist/ui/component.zod.d.ts +2 -2
  294. package/dist/ui/dashboard.zod.d.ts +108 -18
  295. package/dist/ui/dashboard.zod.d.ts.map +1 -1
  296. package/dist/ui/dashboard.zod.js +5 -25
  297. package/dist/ui/index.d.ts +3 -1
  298. package/dist/ui/index.d.ts.map +1 -1
  299. package/dist/ui/index.js +3 -1
  300. package/dist/ui/page.zod.d.ts +2 -2
  301. package/dist/ui/page.zod.js +1 -1
  302. package/dist/ui/report.zod.d.ts +62 -12
  303. package/dist/ui/report.zod.d.ts.map +1 -1
  304. package/dist/ui/report.zod.js +5 -5
  305. package/dist/ui/theme.zod.d.ts +6 -6
  306. package/dist/ui/view.zod.d.ts +316 -316
  307. package/dist/ui/widget.zod.d.ts +825 -31
  308. package/dist/ui/widget.zod.d.ts.map +1 -1
  309. package/json-schema/ai/AIOperationCost.json +79 -0
  310. package/json-schema/ai/AIOrchestrationExecutionResult.json +32 -0
  311. package/json-schema/ai/AgentAction.json +436 -0
  312. package/json-schema/ai/AgentActionResult.json +69 -0
  313. package/json-schema/ai/AgentActionSequence.json +492 -0
  314. package/json-schema/ai/AgentActionSequenceResult.json +143 -0
  315. package/json-schema/ai/ComponentActionParams.json +77 -0
  316. package/json-schema/ai/ComponentActionType.json +20 -0
  317. package/json-schema/ai/ConversationMessage.json +12 -2
  318. package/json-schema/ai/ConversationSession.json +44 -2
  319. package/json-schema/ai/DataActionParams.json +38 -0
  320. package/json-schema/ai/DataActionType.json +18 -0
  321. package/json-schema/ai/FormActionParams.json +36 -0
  322. package/json-schema/ai/FormActionType.json +20 -0
  323. package/json-schema/ai/IntentActionMapping.json +491 -0
  324. package/json-schema/ai/NLQResponse.json +32 -0
  325. package/json-schema/ai/NavigationActionParams.json +56 -0
  326. package/json-schema/ai/NavigationActionType.json +21 -0
  327. package/json-schema/ai/PredictionResult.json +32 -0
  328. package/json-schema/ai/RAGQueryResponse.json +34 -1
  329. package/json-schema/ai/TokenUsage.json +32 -0
  330. package/json-schema/ai/UIActionType.json +63 -0
  331. package/json-schema/ai/ViewActionParams.json +74 -0
  332. package/json-schema/ai/ViewActionType.json +21 -0
  333. package/json-schema/ai/WorkflowActionParams.json +61 -0
  334. package/json-schema/ai/WorkflowActionType.json +18 -0
  335. package/json-schema/api/AckMessage.json +46 -0
  336. package/json-schema/api/ApiEndpoint.json +4 -3
  337. package/json-schema/api/BatchConfig.json +51 -0
  338. package/json-schema/api/BatchDataRequest.json +93 -0
  339. package/json-schema/api/BatchDataResponse.json +144 -0
  340. package/json-schema/api/BatchEndpointsConfig.json +56 -0
  341. package/json-schema/api/BatchOperationResult.json +57 -0
  342. package/json-schema/api/BatchOperationType.json +15 -0
  343. package/json-schema/api/BatchOptions.json +32 -0
  344. package/json-schema/api/BatchRecord.json +25 -0
  345. package/json-schema/api/BatchUpdateRequest.json +78 -0
  346. package/json-schema/api/BatchUpdateResponse.json +144 -0
  347. package/json-schema/api/CacheControl.json +42 -0
  348. package/json-schema/api/CacheDirective.json +17 -0
  349. package/json-schema/api/CacheInvalidationRequest.json +43 -0
  350. package/json-schema/api/CacheInvalidationResponse.json +31 -0
  351. package/json-schema/api/CacheInvalidationTarget.json +17 -0
  352. package/json-schema/api/CreateDataRequest.json +25 -0
  353. package/json-schema/api/CreateDataResponse.json +30 -0
  354. package/json-schema/api/CreateManyDataRequest.json +28 -0
  355. package/json-schema/api/CreateManyDataResponse.json +33 -0
  356. package/json-schema/api/CreateViewRequest.json +1042 -0
  357. package/json-schema/api/CrudEndpointPattern.json +41 -0
  358. package/json-schema/api/CrudEndpointsConfig.json +106 -0
  359. package/json-schema/api/CrudOperation.json +16 -0
  360. package/json-schema/api/CursorMessage.json +139 -0
  361. package/json-schema/api/CursorPosition.json +112 -0
  362. package/json-schema/api/DeleteDataRequest.json +24 -0
  363. package/json-schema/api/DeleteDataResponse.json +29 -0
  364. package/json-schema/api/DeleteManyDataRequest.json +54 -0
  365. package/json-schema/api/DeleteManyDataResponse.json +144 -0
  366. package/json-schema/api/DeleteManyRequest.json +51 -0
  367. package/json-schema/api/DeleteViewRequest.json +19 -0
  368. package/json-schema/api/DeleteViewResponse.json +19 -0
  369. package/json-schema/api/DocumentState.json +49 -0
  370. package/json-schema/api/ETag.json +24 -0
  371. package/json-schema/api/EditMessage.json +135 -0
  372. package/json-schema/api/EditOperation.json +108 -0
  373. package/json-schema/api/EditOperationType.json +14 -0
  374. package/json-schema/api/EndpointRegistry.json +284 -0
  375. package/json-schema/api/EnhancedApiError.json +226 -0
  376. package/json-schema/api/ErrorCategory.json +20 -0
  377. package/json-schema/api/ErrorMessage.json +44 -0
  378. package/json-schema/api/ErrorResponse.json +259 -0
  379. package/json-schema/api/EventFilter.json +65 -0
  380. package/json-schema/api/EventFilterCondition.json +42 -0
  381. package/json-schema/api/EventMessage.json +55 -0
  382. package/json-schema/api/EventPattern.json +12 -0
  383. package/json-schema/api/EventSubscription.json +105 -0
  384. package/json-schema/api/ExportRequest.json +110 -0
  385. package/json-schema/api/FieldError.json +88 -0
  386. package/json-schema/api/FilterOperator.json +24 -0
  387. package/json-schema/api/FindDataRequest.json +509 -0
  388. package/json-schema/api/FindDataResponse.json +36 -0
  389. package/json-schema/api/GeneratedEndpoint.json +88 -0
  390. package/json-schema/api/GetDataRequest.json +24 -0
  391. package/json-schema/api/GetDataResponse.json +30 -0
  392. package/json-schema/api/GetDiscoveryRequest.json +11 -0
  393. package/json-schema/api/GetDiscoveryResponse.json +38 -0
  394. package/json-schema/api/GetMetaItemCachedRequest.json +77 -0
  395. package/json-schema/api/GetMetaItemCachedResponse.json +85 -0
  396. package/json-schema/api/GetMetaItemRequest.json +24 -0
  397. package/json-schema/api/GetMetaItemResponse.json +27 -0
  398. package/json-schema/api/GetMetaItemsRequest.json +19 -0
  399. package/json-schema/api/GetMetaItemsResponse.json +24 -0
  400. package/json-schema/api/GetMetaTypesRequest.json +11 -0
  401. package/json-schema/api/GetMetaTypesResponse.json +22 -0
  402. package/json-schema/api/GetUiViewRequest.json +28 -0
  403. package/json-schema/api/GetUiViewResponse.json +31 -0
  404. package/json-schema/api/GetViewRequest.json +19 -0
  405. package/json-schema/api/GetViewResponse.json +1103 -0
  406. package/json-schema/api/GraphQLConfig.json +1389 -0
  407. package/json-schema/api/GraphQLDataLoaderConfig.json +101 -0
  408. package/json-schema/api/GraphQLDirectiveConfig.json +108 -0
  409. package/json-schema/api/GraphQLDirectiveLocation.json +30 -0
  410. package/json-schema/api/GraphQLMutationConfig.json +180 -0
  411. package/json-schema/api/GraphQLPersistedQuery.json +151 -0
  412. package/json-schema/api/GraphQLQueryComplexity.json +83 -0
  413. package/json-schema/api/GraphQLQueryConfig.json +231 -0
  414. package/json-schema/api/GraphQLQueryDepthLimit.json +44 -0
  415. package/json-schema/api/GraphQLRateLimit.json +138 -0
  416. package/json-schema/api/GraphQLResolverConfig.json +98 -0
  417. package/json-schema/api/GraphQLScalarType.json +32 -0
  418. package/json-schema/api/GraphQLSubscriptionConfig.json +118 -0
  419. package/json-schema/api/GraphQLTypeConfig.json +113 -0
  420. package/json-schema/api/ListViewsRequest.json +58 -0
  421. package/json-schema/api/ListViewsResponse.json +1132 -0
  422. package/json-schema/api/MetadataCacheRequest.json +58 -0
  423. package/json-schema/api/MetadataCacheResponse.json +85 -0
  424. package/json-schema/api/MetadataEndpointsConfig.json +54 -0
  425. package/json-schema/api/ODataConfig.json +132 -0
  426. package/json-schema/api/ObjectStackProtocol.json +11 -0
  427. package/json-schema/api/PingMessage.json +31 -0
  428. package/json-schema/api/PongMessage.json +36 -0
  429. package/json-schema/api/PresenceMessage.json +92 -0
  430. package/json-schema/api/PresenceState.json +65 -0
  431. package/json-schema/api/PresenceUpdate.json +35 -0
  432. package/json-schema/api/RateLimit.json +4 -3
  433. package/json-schema/api/RealtimeConfig.json +90 -0
  434. package/json-schema/api/RestApiConfig.json +127 -0
  435. package/json-schema/api/RestServerConfig.json +401 -0
  436. package/json-schema/api/RetryStrategy.json +15 -0
  437. package/json-schema/api/RouteGenerationConfig.json +71 -0
  438. package/json-schema/api/RouterConfig.json +22 -9
  439. package/json-schema/api/SavedView.json +1074 -0
  440. package/json-schema/api/SimpleCursorPosition.json +53 -0
  441. package/json-schema/api/SimplePresenceState.json +44 -0
  442. package/json-schema/api/StandardErrorCode.json +62 -0
  443. package/json-schema/api/SubscribeMessage.json +132 -0
  444. package/json-schema/api/UnsubscribeMessage.json +47 -0
  445. package/json-schema/api/UnsubscribeRequest.json +20 -0
  446. package/json-schema/api/UpdateDataRequest.json +30 -0
  447. package/json-schema/api/UpdateDataResponse.json +30 -0
  448. package/json-schema/api/UpdateManyDataRequest.json +70 -0
  449. package/json-schema/api/UpdateManyDataResponse.json +144 -0
  450. package/json-schema/api/UpdateManyRequest.json +67 -0
  451. package/json-schema/api/UpdateViewRequest.json +1041 -0
  452. package/json-schema/api/ViewColumn.json +58 -0
  453. package/json-schema/api/ViewLayout.json +125 -0
  454. package/json-schema/api/ViewResponse.json +1103 -0
  455. package/json-schema/api/ViewType.json +19 -0
  456. package/json-schema/api/ViewVisibility.json +15 -0
  457. package/json-schema/api/WebSocketConfig.json +63 -0
  458. package/json-schema/api/WebSocketEvent.json +40 -0
  459. package/json-schema/api/WebSocketMessage.json +707 -0
  460. package/json-schema/api/WebSocketMessageType.json +21 -0
  461. package/json-schema/api/WebSocketPresenceStatus.json +15 -0
  462. package/json-schema/api/WebSocketServerConfig.json +42 -0
  463. package/json-schema/auth/APIKey.json +34 -0
  464. package/json-schema/auth/ApplicationAuthConfig.json +841 -0
  465. package/json-schema/auth/AuthConfig.json +158 -730
  466. package/json-schema/auth/BasicAuth.json +30 -0
  467. package/json-schema/auth/BearerAuth.json +25 -0
  468. package/json-schema/auth/JWTAuth.json +66 -0
  469. package/json-schema/auth/NoAuth.json +20 -0
  470. package/json-schema/auth/OAuth2.json +62 -0
  471. package/json-schema/auth/SAMLAuth.json +64 -0
  472. package/json-schema/automation/DataDestinationConfig.json +120 -14
  473. package/json-schema/automation/DataSyncConfig.json +120 -14
  474. package/json-schema/automation/TimeTrigger.json +166 -31
  475. package/json-schema/automation/Webhook.json +99 -16
  476. package/json-schema/automation/WebhookTriggerAction.json +166 -31
  477. package/json-schema/automation/WorkflowAction.json +166 -31
  478. package/json-schema/automation/WorkflowRule.json +332 -62
  479. package/json-schema/data/AggregationPipeline.json +99 -0
  480. package/json-schema/data/AggregationStage.json +25 -0
  481. package/json-schema/data/ApiMethod.json +25 -0
  482. package/json-schema/data/CDCConfig.json +37 -0
  483. package/json-schema/data/ComputedFieldCache.json +33 -0
  484. package/json-schema/data/ConsistencyLevel.json +17 -0
  485. package/json-schema/data/DataEngineAggregateOptions.json +80 -0
  486. package/json-schema/data/DataEngineAggregateRequest.json +98 -0
  487. package/json-schema/data/DataEngineBatchRequest.json +699 -0
  488. package/json-schema/data/DataEngineContract.json +12 -0
  489. package/json-schema/data/DataEngineCountOptions.json +44 -0
  490. package/json-schema/data/DataEngineCountRequest.json +61 -0
  491. package/json-schema/data/DataEngineDeleteOptions.json +48 -0
  492. package/json-schema/data/DataEngineDeleteRequest.json +68 -0
  493. package/json-schema/data/DataEngineExecuteRequest.json +24 -0
  494. package/json-schema/data/DataEngineFilter.json +37 -0
  495. package/json-schema/data/DataEngineFindOneRequest.json +133 -0
  496. package/json-schema/data/DataEngineFindRequest.json +133 -0
  497. package/json-schema/data/DataEngineInsertOptions.json +17 -0
  498. package/json-schema/data/DataEngineInsertRequest.json +50 -0
  499. package/json-schema/data/DataEngineQueryOptions.json +116 -0
  500. package/json-schema/data/DataEngineRequest.json +1372 -0
  501. package/json-schema/data/DataEngineSort.json +54 -0
  502. package/json-schema/data/DataEngineUpdateOptions.json +56 -0
  503. package/json-schema/data/DataEngineUpdateRequest.json +81 -0
  504. package/json-schema/data/DataEngineVectorFindRequest.json +74 -0
  505. package/json-schema/data/DataQualityRules.json +45 -0
  506. package/json-schema/data/DataTypeMapping.json +51 -0
  507. package/json-schema/data/Document.json +292 -0
  508. package/json-schema/data/DocumentTemplate.json +78 -0
  509. package/json-schema/data/DocumentValidationSchema.json +39 -0
  510. package/json-schema/data/DocumentVersion.json +50 -0
  511. package/json-schema/data/DriverCapabilities.json +180 -0
  512. package/json-schema/data/DriverConfig.json +243 -0
  513. package/json-schema/data/DriverInterface.json +199 -0
  514. package/json-schema/data/ESignatureConfig.json +74 -0
  515. package/json-schema/data/ExternalDataSource.json +68 -0
  516. package/json-schema/data/ExternalFieldMapping.json +151 -0
  517. package/json-schema/data/ExternalLookup.json +327 -0
  518. package/json-schema/data/Field.json +435 -1
  519. package/json-schema/data/FieldMapping.json +83 -0
  520. package/json-schema/data/FileAttachmentConfig.json +219 -0
  521. package/json-schema/data/FullTextSearch.json +60 -0
  522. package/json-schema/data/Index.json +14 -7
  523. package/json-schema/data/JoinNode.json +55 -0
  524. package/json-schema/data/Mapping.json +639 -0
  525. package/json-schema/data/NoSQLDataTypeMapping.json +63 -0
  526. package/json-schema/data/NoSQLDatabaseType.json +19 -0
  527. package/json-schema/data/NoSQLDriverConfig.json +452 -0
  528. package/json-schema/data/NoSQLIndex.json +87 -0
  529. package/json-schema/data/NoSQLIndexType.json +19 -0
  530. package/json-schema/data/NoSQLOperationType.json +22 -0
  531. package/json-schema/data/NoSQLQueryOptions.json +61 -0
  532. package/json-schema/data/NoSQLTransactionOptions.json +47 -0
  533. package/json-schema/data/Object.json +610 -9
  534. package/json-schema/data/PartitioningConfig.json +38 -0
  535. package/json-schema/data/PoolConfig.json +36 -0
  536. package/json-schema/data/Query.json +55 -0
  537. package/json-schema/data/ReplicationConfig.json +46 -0
  538. package/json-schema/data/SQLDialect.json +17 -0
  539. package/json-schema/data/SQLDriverConfig.json +325 -0
  540. package/json-schema/data/SSLConfig.json +29 -0
  541. package/json-schema/data/ShardingConfig.json +35 -0
  542. package/json-schema/data/SoftDeleteConfig.json +29 -0
  543. package/json-schema/data/TenancyConfig.json +39 -0
  544. package/json-schema/data/TransformType.json +18 -0
  545. package/json-schema/data/VersioningConfig.json +39 -0
  546. package/json-schema/hub/ComposerResponse.json +405 -0
  547. package/json-schema/hub/PluginInstallConfig.json +53 -0
  548. package/json-schema/hub/PluginQualityMetrics.json +101 -0
  549. package/json-schema/hub/PluginRegistryEntry.json +833 -0
  550. package/json-schema/hub/PluginSearchFilters.json +91 -0
  551. package/json-schema/hub/PluginStatistics.json +84 -0
  552. package/json-schema/hub/PluginVendor.json +47 -0
  553. package/json-schema/integration/AckMode.json +15 -0
  554. package/json-schema/integration/ApiVersionConfig.json +32 -0
  555. package/json-schema/integration/Authentication.json +269 -0
  556. package/json-schema/integration/CdcConfig.json +55 -0
  557. package/json-schema/integration/ConflictResolution.json +16 -0
  558. package/json-schema/integration/Connector.json +919 -0
  559. package/json-schema/integration/ConnectorStatus.json +16 -0
  560. package/json-schema/integration/ConnectorType.json +18 -0
  561. package/json-schema/integration/ConsumerConfig.json +67 -0
  562. package/json-schema/integration/DataSyncConfig.json +79 -0
  563. package/json-schema/integration/DatabaseConnector.json +1372 -0
  564. package/json-schema/integration/DatabasePoolConfig.json +53 -0
  565. package/json-schema/integration/DatabaseProvider.json +24 -0
  566. package/json-schema/integration/DatabaseTable.json +216 -0
  567. package/json-schema/integration/DeliveryGuarantee.json +15 -0
  568. package/json-schema/integration/DlqConfig.json +37 -0
  569. package/json-schema/integration/FieldMapping.json +170 -0
  570. package/json-schema/integration/FieldTransform.json +36 -0
  571. package/json-schema/integration/FileAccessPattern.json +17 -0
  572. package/json-schema/integration/FileFilterConfig.json +50 -0
  573. package/json-schema/integration/FileMetadataConfig.json +41 -0
  574. package/json-schema/integration/FileStorageConnector.json +1240 -0
  575. package/json-schema/integration/FileStorageProvider.json +23 -0
  576. package/json-schema/integration/FileVersioningConfig.json +28 -0
  577. package/json-schema/integration/MessageFormat.json +18 -0
  578. package/json-schema/integration/MessageQueueConnector.json +1325 -0
  579. package/json-schema/integration/MessageQueueProvider.json +25 -0
  580. package/json-schema/integration/MultipartUploadConfig.json +36 -0
  581. package/json-schema/integration/ProducerConfig.json +72 -0
  582. package/json-schema/integration/RateLimitConfig.json +69 -0
  583. package/json-schema/integration/RateLimitStrategy.json +16 -0
  584. package/json-schema/integration/RetryConfig.json +73 -0
  585. package/json-schema/integration/RetryStrategy.json +16 -0
  586. package/json-schema/integration/SaasConnector.json +1267 -0
  587. package/json-schema/integration/SaasObjectType.json +218 -0
  588. package/json-schema/integration/SaasProvider.json +24 -0
  589. package/json-schema/integration/SslConfig.json +34 -0
  590. package/json-schema/integration/StorageBucket.json +99 -0
  591. package/json-schema/integration/SyncStrategy.json +16 -0
  592. package/json-schema/integration/TopicQueue.json +252 -0
  593. package/json-schema/integration/WebhookConfig.json +201 -0
  594. package/json-schema/integration/WebhookEvent.json +20 -0
  595. package/json-schema/integration/WebhookSignatureAlgorithm.json +15 -0
  596. package/json-schema/permission/PermissionSet.json +80 -0
  597. package/json-schema/shared/CorsConfig.json +57 -0
  598. package/json-schema/shared/FieldMapping.json +142 -0
  599. package/json-schema/shared/HttpMethod.json +18 -0
  600. package/json-schema/shared/RateLimitConfig.json +27 -0
  601. package/json-schema/shared/StaticMount.json +28 -0
  602. package/json-schema/shared/TransformType.json +120 -0
  603. package/json-schema/system/AccessControlConfig.json +106 -0
  604. package/json-schema/system/AnalyzerConfig.json +41 -0
  605. package/json-schema/system/AuditLogConfig.json +48 -0
  606. package/json-schema/system/AwarenessEvent.json +51 -0
  607. package/json-schema/system/AwarenessSession.json +117 -0
  608. package/json-schema/system/AwarenessUpdate.json +35 -0
  609. package/json-schema/system/AwarenessUserState.json +77 -0
  610. package/json-schema/system/BatchProgress.json +72 -0
  611. package/json-schema/system/BatchTask.json +63 -0
  612. package/json-schema/system/BucketConfig.json +332 -0
  613. package/json-schema/system/CRDTMergeResult.json +295 -0
  614. package/json-schema/system/CRDTState.json +258 -0
  615. package/json-schema/system/CRDTType.json +20 -0
  616. package/json-schema/system/CacheConfig.json +121 -0
  617. package/json-schema/system/CacheInvalidation.json +43 -0
  618. package/json-schema/system/CacheStrategy.json +16 -0
  619. package/json-schema/system/CacheTier.json +52 -0
  620. package/json-schema/system/CapabilityConformanceLevel.json +16 -0
  621. package/json-schema/system/ChangeImpact.json +55 -0
  622. package/json-schema/system/ChangePriority.json +15 -0
  623. package/json-schema/system/ChangeRequest.json +313 -0
  624. package/json-schema/system/ChangeStatus.json +21 -0
  625. package/json-schema/system/ChangeType.json +15 -0
  626. package/json-schema/system/CollaborationMode.json +15 -0
  627. package/json-schema/system/CollaborationSession.json +575 -0
  628. package/json-schema/system/CollaborationSessionConfig.json +86 -0
  629. package/json-schema/system/CollaborativeCursor.json +189 -0
  630. package/json-schema/system/ComplianceConfig.json +202 -0
  631. package/json-schema/system/ConsoleDestinationConfig.json +29 -0
  632. package/json-schema/system/ConsumerConfig.json +34 -0
  633. package/json-schema/system/CounterOperation.json +30 -0
  634. package/json-schema/system/CursorColorPreset.json +21 -0
  635. package/json-schema/system/CursorSelection.json +66 -0
  636. package/json-schema/system/CursorStyle.json +59 -0
  637. package/json-schema/system/CursorUpdate.json +101 -0
  638. package/json-schema/system/DeadLetterQueue.json +26 -0
  639. package/json-schema/system/DeadLetterQueueEntry.json +137 -0
  640. package/json-schema/system/EmailTemplate.json +69 -0
  641. package/json-schema/system/EncryptionAlgorithm.json +14 -0
  642. package/json-schema/system/EncryptionConfig.json +93 -0
  643. package/json-schema/system/Event.json +24 -0
  644. package/json-schema/system/EventBusConfig.json +552 -0
  645. package/json-schema/system/EventHandler.json +34 -0
  646. package/json-schema/system/EventLogEntry.json +153 -0
  647. package/json-schema/system/EventMessageQueueConfig.json +79 -0
  648. package/json-schema/system/EventMetadata.json +20 -0
  649. package/json-schema/system/EventPersistence.json +11 -0
  650. package/json-schema/system/EventPhase.json +15 -0
  651. package/json-schema/system/EventPriority.json +16 -0
  652. package/json-schema/system/EventQueueConfig.json +67 -0
  653. package/json-schema/system/EventReplayConfig.json +50 -0
  654. package/json-schema/system/EventSourcingConfig.json +65 -0
  655. package/json-schema/system/EventTypeDefinition.json +45 -0
  656. package/json-schema/system/EventWebhookConfig.json +119 -0
  657. package/json-schema/system/ExtendedLogLevel.json +18 -0
  658. package/json-schema/system/ExtensionPoint.json +67 -0
  659. package/json-schema/system/ExternalServiceDestinationConfig.json +51 -0
  660. package/json-schema/system/FacetConfig.json +30 -0
  661. package/json-schema/system/FieldEncryption.json +110 -0
  662. package/json-schema/system/FileDestinationConfig.json +56 -0
  663. package/json-schema/system/FileMetadata.json +14 -7
  664. package/json-schema/system/GCounter.json +28 -0
  665. package/json-schema/system/GDPRConfig.json +71 -0
  666. package/json-schema/system/HIPAAConfig.json +45 -0
  667. package/json-schema/system/HealthStatus.json +33 -0
  668. package/json-schema/system/HistogramBucketConfig.json +92 -0
  669. package/json-schema/system/HookRegisteredEvent.json +30 -0
  670. package/json-schema/system/HookTriggeredEvent.json +34 -0
  671. package/json-schema/system/HttpDestinationConfig.json +111 -0
  672. package/json-schema/system/HttpServerConfig.json +156 -0
  673. package/json-schema/system/InAppNotification.json +48 -0
  674. package/json-schema/system/KernelEventBase.json +19 -0
  675. package/json-schema/system/KernelReadyEvent.json +29 -0
  676. package/json-schema/system/KernelShutdownEvent.json +23 -0
  677. package/json-schema/system/KeyManagementProvider.json +16 -0
  678. package/json-schema/system/KeyRotationPolicy.json +29 -0
  679. package/json-schema/system/LWWRegister.json +51 -0
  680. package/json-schema/system/LifecycleAction.json +15 -0
  681. package/json-schema/system/LifecyclePolicyConfig.json +84 -0
  682. package/json-schema/system/LifecyclePolicyRule.json +68 -0
  683. package/json-schema/system/LogDestination.json +295 -0
  684. package/json-schema/system/LogDestinationType.json +26 -0
  685. package/json-schema/system/LogEnrichmentConfig.json +59 -0
  686. package/json-schema/system/LoggerConfig.json +4 -0
  687. package/json-schema/system/LoggingConfig.json +613 -0
  688. package/json-schema/system/Manifest.json +405 -0
  689. package/json-schema/system/MaskingConfig.json +77 -0
  690. package/json-schema/system/MaskingRule.json +57 -0
  691. package/json-schema/system/MaskingStrategy.json +18 -0
  692. package/json-schema/system/MessageQueueConfig.json +143 -0
  693. package/json-schema/system/MessageQueueProvider.json +17 -0
  694. package/json-schema/system/MetadataCollectionInfo.json +53 -0
  695. package/json-schema/system/MetadataExportOptions.json +49 -0
  696. package/json-schema/system/MetadataFormat.json +15 -0
  697. package/json-schema/system/MetadataImportOptions.json +42 -0
  698. package/json-schema/system/MetadataLoadOptions.json +52 -0
  699. package/json-schema/system/MetadataLoadResult.json +86 -0
  700. package/json-schema/system/MetadataLoaderContract.json +48 -0
  701. package/json-schema/system/MetadataManagerConfig.json +108 -0
  702. package/json-schema/system/MetadataSaveOptions.json +64 -0
  703. package/json-schema/system/MetadataSaveResult.json +42 -0
  704. package/json-schema/system/MetadataStats.json +51 -0
  705. package/json-schema/system/MetadataWatchEvent.json +48 -0
  706. package/json-schema/system/MetricAggregationConfig.json +69 -0
  707. package/json-schema/system/MetricAggregationType.json +25 -0
  708. package/json-schema/system/MetricDataPoint.json +135 -0
  709. package/json-schema/system/MetricDefinition.json +193 -0
  710. package/json-schema/system/MetricExportConfig.json +93 -0
  711. package/json-schema/system/MetricLabels.json +13 -0
  712. package/json-schema/system/MetricType.json +16 -0
  713. package/json-schema/system/MetricUnit.json +32 -0
  714. package/json-schema/system/MetricsConfig.json +718 -0
  715. package/json-schema/system/MiddlewareConfig.json +70 -0
  716. package/json-schema/system/MiddlewareType.json +18 -0
  717. package/json-schema/system/MultipartUploadConfig.json +49 -0
  718. package/json-schema/system/NotificationChannel.json +18 -0
  719. package/json-schema/system/NotificationConfig.json +343 -0
  720. package/json-schema/system/ORSet.json +57 -0
  721. package/json-schema/system/ORSetElement.json +39 -0
  722. package/json-schema/system/OTComponent.json +76 -0
  723. package/json-schema/system/OTOperation.json +128 -0
  724. package/json-schema/system/OTOperationType.json +14 -0
  725. package/json-schema/system/OTTransformResult.json +150 -0
  726. package/json-schema/system/ObjectMetadata.json +90 -0
  727. package/json-schema/system/ObjectStorageConfig.json +475 -0
  728. package/json-schema/system/OpenTelemetryCompatibility.json +196 -0
  729. package/json-schema/system/OtelExporterType.json +22 -0
  730. package/json-schema/system/PCIDSSConfig.json +47 -0
  731. package/json-schema/system/PNCounter.json +37 -0
  732. package/json-schema/system/PluginCapability.json +127 -0
  733. package/json-schema/system/PluginCapabilityManifest.json +410 -0
  734. package/json-schema/system/PluginDependency.json +39 -0
  735. package/json-schema/system/PluginErrorEvent.json +46 -0
  736. package/json-schema/system/PluginEventBase.json +24 -0
  737. package/json-schema/system/PluginInterface.json +141 -0
  738. package/json-schema/system/PluginLifecycleEventType.json +31 -0
  739. package/json-schema/system/PluginLifecyclePhaseEvent.json +38 -0
  740. package/json-schema/system/PluginMetadata.json +37 -0
  741. package/json-schema/system/PluginRegisteredEvent.json +28 -0
  742. package/json-schema/system/PluginStartupResult.json +73 -0
  743. package/json-schema/system/PresignedUrlConfig.json +49 -0
  744. package/json-schema/system/ProtocolFeature.json +34 -0
  745. package/json-schema/system/ProtocolReference.json +56 -0
  746. package/json-schema/system/ProtocolVersion.json +30 -0
  747. package/json-schema/system/PushNotification.json +60 -0
  748. package/json-schema/system/QueueConfig.json +133 -0
  749. package/json-schema/system/RealTimeNotificationConfig.json +85 -0
  750. package/json-schema/system/RollbackPlan.json +51 -0
  751. package/json-schema/system/RouteHandlerMetadata.json +85 -0
  752. package/json-schema/system/SMSTemplate.json +36 -0
  753. package/json-schema/system/SamplingDecision.json +15 -0
  754. package/json-schema/system/SamplingStrategyType.json +20 -0
  755. package/json-schema/system/ScopeConfig.json +28 -0
  756. package/json-schema/system/ScopeInfo.json +39 -0
  757. package/json-schema/system/SearchConfig.json +195 -0
  758. package/json-schema/system/SearchIndexConfig.json +78 -0
  759. package/json-schema/system/SearchProvider.json +16 -0
  760. package/json-schema/system/ServerCapabilities.json +63 -0
  761. package/json-schema/system/ServerEvent.json +39 -0
  762. package/json-schema/system/ServerEventType.json +18 -0
  763. package/json-schema/system/ServerStatus.json +93 -0
  764. package/json-schema/system/ServiceFactoryRegistration.json +44 -0
  765. package/json-schema/system/ServiceLevelIndicator.json +105 -0
  766. package/json-schema/system/ServiceLevelObjective.json +170 -0
  767. package/json-schema/system/ServiceMetadata.json +43 -0
  768. package/json-schema/system/ServiceRegisteredEvent.json +28 -0
  769. package/json-schema/system/ServiceRegistryConfig.json +39 -0
  770. package/json-schema/system/ServiceScopeType.json +15 -0
  771. package/json-schema/system/ServiceUnregisteredEvent.json +24 -0
  772. package/json-schema/system/Span.json +387 -0
  773. package/json-schema/system/SpanAttributeValue.json +38 -0
  774. package/json-schema/system/SpanAttributes.json +42 -0
  775. package/json-schema/system/SpanEvent.json +62 -0
  776. package/json-schema/system/SpanKind.json +17 -0
  777. package/json-schema/system/SpanLink.json +110 -0
  778. package/json-schema/system/SpanStatus.json +15 -0
  779. package/json-schema/system/StartupOptions.json +36 -0
  780. package/json-schema/system/StartupOrchestrationResult.json +104 -0
  781. package/json-schema/system/StorageAcl.json +18 -0
  782. package/json-schema/system/StorageClass.json +17 -0
  783. package/json-schema/system/StorageConnection.json +62 -0
  784. package/json-schema/system/StorageProvider.json +21 -0
  785. package/json-schema/system/StorageScope.json +5 -1
  786. package/json-schema/system/StructuredLogEntry.json +191 -0
  787. package/json-schema/system/Task.json +145 -0
  788. package/json-schema/system/TaskExecutionResult.json +85 -0
  789. package/json-schema/system/TaskPriority.json +16 -0
  790. package/json-schema/system/TaskRetryPolicy.json +46 -0
  791. package/json-schema/system/TaskStatus.json +19 -0
  792. package/json-schema/system/TextCRDTOperation.json +52 -0
  793. package/json-schema/system/TextCRDTState.json +105 -0
  794. package/json-schema/system/TimeSeries.json +69 -0
  795. package/json-schema/system/TimeSeriesDataPoint.json +33 -0
  796. package/json-schema/system/TopicConfig.json +39 -0
  797. package/json-schema/system/TraceContext.json +64 -0
  798. package/json-schema/system/TraceContextPropagation.json +79 -0
  799. package/json-schema/system/TraceFlags.json +12 -0
  800. package/json-schema/system/TracePropagationFormat.json +19 -0
  801. package/json-schema/system/TraceSamplingConfig.json +186 -0
  802. package/json-schema/system/TraceState.json +23 -0
  803. package/json-schema/system/TracingConfig.json +536 -0
  804. package/json-schema/system/UserActivityStatus.json +15 -0
  805. package/json-schema/system/ValidationError.json +28 -0
  806. package/json-schema/system/ValidationResult.json +71 -0
  807. package/json-schema/system/ValidationWarning.json +28 -0
  808. package/json-schema/system/VectorClock.json +23 -0
  809. package/json-schema/system/WorkerConfig.json +188 -0
  810. package/json-schema/system/WorkerStats.json +90 -0
  811. package/json-schema/ui/ChartConfig.json +74 -0
  812. package/json-schema/ui/ChartType.json +21 -8
  813. package/json-schema/ui/Dashboard.json +90 -8
  814. package/json-schema/ui/DashboardWidget.json +90 -8
  815. package/json-schema/ui/FieldWidgetProps.json +435 -1
  816. package/json-schema/ui/Page.json +1 -1
  817. package/json-schema/ui/PageComponent.json +1 -1
  818. package/json-schema/ui/PageRegion.json +1 -1
  819. package/json-schema/ui/Report.json +48 -5
  820. package/json-schema/ui/ReportChart.json +48 -5
  821. package/package.json +13 -1
  822. package/dist/api/protocol.d.ts +0 -65
  823. package/dist/api/protocol.d.ts.map +0 -1
  824. package/dist/api/protocol.js +0 -8
  825. package/dist/automation/connector.zod.d.ts.map +0 -1
  826. package/dist/system/data-engine.zod.d.ts +0 -59
  827. package/dist/system/data-engine.zod.d.ts.map +0 -1
  828. package/dist/system/data-engine.zod.js +0 -38
  829. package/dist/system/driver/mongo.zod.d.ts +0 -107
  830. package/dist/system/driver/mongo.zod.d.ts.map +0 -1
  831. package/dist/system/driver/mongo.zod.js +0 -80
  832. package/dist/system/driver/postgres.zod.d.ts.map +0 -1
  833. package/dist/system/driver.zod.d.ts.map +0 -1
  834. package/dist/system/logger.zod.d.ts +0 -111
  835. package/dist/system/logger.zod.d.ts.map +0 -1
  836. package/dist/system/logger.zod.js +0 -75
  837. package/dist/system/scoped-storage.zod.d.ts +0 -81
  838. package/dist/system/scoped-storage.zod.d.ts.map +0 -1
  839. package/dist/system/scoped-storage.zod.js +0 -66
  840. package/dist/ui/block.zod.d.ts +0 -265
  841. package/dist/ui/block.zod.d.ts.map +0 -1
  842. package/dist/ui/block.zod.js +0 -90
  843. package/json-schema/automation/FieldMapping.json +0 -36
  844. package/json-schema/system/DataEngineFilter.json +0 -11
  845. package/json-schema/system/DataEngineQueryOptions.json +0 -48
  846. package/json-schema/system/DriverCapabilities.json +0 -79
  847. package/json-schema/system/DriverInterface.json +0 -98
  848. package/json-schema/system/MongoConfig.json +0 -82
  849. package/json-schema/system/PostgresConfig.json +0 -98
  850. package/json-schema/system/ScopedStorageConfig.json +0 -54
  851. package/json-schema/system/StorageAdapterType.json +0 -17
  852. /package/dist/{system → data}/driver/postgres.zod.js +0 -0
  853. /package/json-schema/{system → data}/DriverOptions.json +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"events.zod.d.ts","sourceRoot":"","sources":["../../src/system/events.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;EAK9B,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAItB,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;EAI3B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
1
+ {"version":3,"file":"events.zod.d.ts","sourceRoot":"","sources":["../../src/system/events.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;;;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Schema = exports.EventHandlerSchema = exports.EventSchema = exports.EventMetadataSchema = void 0;
3
+ exports.EventBusConfigSchema = exports.RealTimeNotificationConfigSchema = exports.EventMessageQueueConfigSchema = exports.EventWebhookConfigSchema = exports.EventLogEntrySchema = exports.DeadLetterQueueEntrySchema = exports.EventSourcingConfigSchema = exports.EventReplayConfigSchema = exports.EventQueueConfigSchema = exports.EventPersistenceSchema = exports.EventRouteSchema = exports.EventHandlerSchema = exports.EventSchema = exports.EventTypeDefinitionSchema = exports.EventMetadataSchema = exports.EVENT_PRIORITY_VALUES = exports.EventPriority = void 0;
4
+ exports.createEventBusConfig = createEventBusConfig;
5
+ exports.createEventTypeDefinition = createEventTypeDefinition;
6
+ exports.createEventWebhookConfig = createEventWebhookConfig;
4
7
  const zod_1 = require("zod");
5
8
  const identifiers_zod_1 = require("../shared/identifiers.zod");
9
+ // ==========================================
10
+ // Event Priority
11
+ // ==========================================
12
+ /**
13
+ * Event Priority Enum
14
+ * Priority levels for event processing
15
+ * Lower numbers = higher priority
16
+ */
17
+ exports.EventPriority = zod_1.z.enum([
18
+ 'critical', // 0 - Process immediately, block if necessary
19
+ 'high', // 1 - Process soon, minimal delay
20
+ 'normal', // 2 - Default priority
21
+ 'low', // 3 - Process when resources available
22
+ 'background', // 4 - Process during idle time
23
+ ]);
24
+ /**
25
+ * Event Priority Values
26
+ * Maps priority names to numeric values for sorting
27
+ */
28
+ exports.EVENT_PRIORITY_VALUES = {
29
+ critical: 0,
30
+ high: 1,
31
+ normal: 2,
32
+ low: 3,
33
+ background: 4,
34
+ };
35
+ // ==========================================
36
+ // Event Metadata
37
+ // ==========================================
6
38
  /**
7
39
  * Event Metadata Schema
8
40
  * Metadata associated with every event
@@ -12,6 +44,38 @@ exports.EventMetadataSchema = zod_1.z.object({
12
44
  timestamp: zod_1.z.string().datetime().describe('ISO 8601 datetime when event was created'),
13
45
  userId: zod_1.z.string().optional().describe('User who triggered the event'),
14
46
  tenantId: zod_1.z.string().optional().describe('Tenant identifier for multi-tenant systems'),
47
+ correlationId: zod_1.z.string().optional().describe('Correlation ID for event tracing'),
48
+ causationId: zod_1.z.string().optional().describe('ID of the event that caused this event'),
49
+ priority: exports.EventPriority.optional().default('normal').describe('Event priority'),
50
+ });
51
+ // ==========================================
52
+ // Event Schema
53
+ // ==========================================
54
+ /**
55
+ * Event Type Definition Schema
56
+ * Defines the structure of an event type
57
+ *
58
+ * @example
59
+ * {
60
+ * "name": "order.created",
61
+ * "version": "1.0.0",
62
+ * "schema": {
63
+ * "type": "object",
64
+ * "properties": {
65
+ * "orderId": { "type": "string" },
66
+ * "customerId": { "type": "string" },
67
+ * "total": { "type": "number" }
68
+ * }
69
+ * }
70
+ * }
71
+ */
72
+ exports.EventTypeDefinitionSchema = zod_1.z.object({
73
+ name: identifiers_zod_1.EventNameSchema.describe('Event type name (lowercase with dots)'),
74
+ version: zod_1.z.string().default('1.0.0').describe('Event schema version'),
75
+ schema: zod_1.z.any().optional().describe('JSON Schema for event payload validation'),
76
+ description: zod_1.z.string().optional().describe('Event type description'),
77
+ deprecated: zod_1.z.boolean().optional().default(false).describe('Whether this event type is deprecated'),
78
+ tags: zod_1.z.array(zod_1.z.string()).optional().describe('Event type tags'),
15
79
  });
16
80
  /**
17
81
  * Event Schema
@@ -21,19 +85,68 @@ exports.EventMetadataSchema = zod_1.z.object({
21
85
  * This aligns with industry standards for event-driven architectures and message queues.
22
86
  */
23
87
  exports.EventSchema = zod_1.z.object({
88
+ /**
89
+ * Event identifier (for tracking and deduplication)
90
+ */
91
+ id: zod_1.z.string().optional().describe('Unique event identifier'),
92
+ /**
93
+ * Event name
94
+ */
24
95
  name: identifiers_zod_1.EventNameSchema.describe('Event name (lowercase with dots, e.g., user.created, order.paid)'),
96
+ /**
97
+ * Event payload
98
+ */
25
99
  payload: zod_1.z.any().describe('Event payload schema'),
100
+ /**
101
+ * Event metadata
102
+ */
26
103
  metadata: exports.EventMetadataSchema.describe('Event metadata'),
27
104
  });
105
+ // ==========================================
106
+ // Event Handlers
107
+ // ==========================================
28
108
  /**
29
109
  * Event Handler Schema
30
110
  * Defines how to handle a specific event
31
111
  */
32
112
  exports.EventHandlerSchema = zod_1.z.object({
113
+ /**
114
+ * Handler identifier
115
+ */
116
+ id: zod_1.z.string().optional().describe('Unique handler identifier'),
117
+ /**
118
+ * Event name pattern
119
+ */
33
120
  eventName: zod_1.z.string().describe('Name of event to handle (supports wildcards like user.*)'),
121
+ /**
122
+ * Handler function
123
+ */
34
124
  handler: zod_1.z.function().args(exports.EventSchema).returns(zod_1.z.promise(zod_1.z.void())).describe('Handler function'),
125
+ /**
126
+ * Execution priority
127
+ */
35
128
  priority: zod_1.z.number().int().default(0).describe('Execution priority (lower numbers execute first)'),
129
+ /**
130
+ * Async execution
131
+ */
36
132
  async: zod_1.z.boolean().default(true).describe('Execute in background (true) or block (false)'),
133
+ /**
134
+ * Retry configuration
135
+ */
136
+ retry: zod_1.z.object({
137
+ maxRetries: zod_1.z.number().int().min(0).default(3).describe('Maximum retry attempts'),
138
+ backoffMs: zod_1.z.number().int().positive().default(1000).describe('Initial backoff delay'),
139
+ backoffMultiplier: zod_1.z.number().positive().default(2).describe('Backoff multiplier'),
140
+ }).optional().describe('Retry policy for failed handlers'),
141
+ /**
142
+ * Timeout
143
+ */
144
+ timeoutMs: zod_1.z.number().int().positive().optional().describe('Handler timeout in milliseconds'),
145
+ /**
146
+ * Filter function
147
+ */
148
+ filter: zod_1.z.function().args(exports.EventSchema).returns(zod_1.z.boolean()).optional()
149
+ .describe('Optional filter to determine if handler should execute'),
37
150
  });
38
151
  /**
39
152
  * Event Route Schema
@@ -52,4 +165,472 @@ exports.EventPersistenceSchema = zod_1.z.object({
52
165
  enabled: zod_1.z.boolean().default(false).describe('Enable event persistence'),
53
166
  retention: zod_1.z.number().int().positive().describe('Days to retain persisted events'),
54
167
  filter: zod_1.z.function().optional().describe('Optional filter function to select which events to persist'),
168
+ storage: zod_1.z.enum(['database', 'file', 's3', 'custom']).default('database')
169
+ .describe('Storage backend for persisted events'),
170
+ });
171
+ // ==========================================
172
+ // Event Queue
173
+ // ==========================================
174
+ /**
175
+ * Event Queue Configuration Schema
176
+ * Configuration for async event processing queue
177
+ *
178
+ * @example
179
+ * {
180
+ * "name": "event_queue",
181
+ * "concurrency": 10,
182
+ * "retryPolicy": {
183
+ * "maxRetries": 3,
184
+ * "backoffStrategy": "exponential"
185
+ * }
186
+ * }
187
+ */
188
+ exports.EventQueueConfigSchema = zod_1.z.object({
189
+ /**
190
+ * Queue name
191
+ */
192
+ name: zod_1.z.string().default('events').describe('Event queue name'),
193
+ /**
194
+ * Concurrency
195
+ */
196
+ concurrency: zod_1.z.number().int().min(1).default(10).describe('Max concurrent event handlers'),
197
+ /**
198
+ * Retry policy
199
+ */
200
+ retryPolicy: zod_1.z.object({
201
+ maxRetries: zod_1.z.number().int().min(0).default(3).describe('Max retries for failed events'),
202
+ backoffStrategy: zod_1.z.enum(['fixed', 'linear', 'exponential']).default('exponential')
203
+ .describe('Backoff strategy'),
204
+ initialDelayMs: zod_1.z.number().int().positive().default(1000).describe('Initial retry delay'),
205
+ maxDelayMs: zod_1.z.number().int().positive().default(60000).describe('Maximum retry delay'),
206
+ }).optional().describe('Default retry policy for events'),
207
+ /**
208
+ * Dead letter queue
209
+ */
210
+ deadLetterQueue: zod_1.z.string().optional().describe('Dead letter queue name for failed events'),
211
+ /**
212
+ * Enable priority processing
213
+ */
214
+ priorityEnabled: zod_1.z.boolean().default(true).describe('Process events based on priority'),
55
215
  });
216
+ // ==========================================
217
+ // Event Replay
218
+ // ==========================================
219
+ /**
220
+ * Event Replay Configuration Schema
221
+ * Configuration for replaying historical events
222
+ *
223
+ * @example
224
+ * {
225
+ * "fromTimestamp": "2024-01-01T00:00:00Z",
226
+ * "toTimestamp": "2024-01-31T23:59:59Z",
227
+ * "eventTypes": ["order.created", "order.updated"],
228
+ * "speed": 10
229
+ * }
230
+ */
231
+ exports.EventReplayConfigSchema = zod_1.z.object({
232
+ /**
233
+ * Start timestamp
234
+ */
235
+ fromTimestamp: zod_1.z.string().datetime().describe('Start timestamp for replay (ISO 8601)'),
236
+ /**
237
+ * End timestamp
238
+ */
239
+ toTimestamp: zod_1.z.string().datetime().optional().describe('End timestamp for replay (ISO 8601)'),
240
+ /**
241
+ * Event types to replay
242
+ */
243
+ eventTypes: zod_1.z.array(zod_1.z.string()).optional().describe('Event types to replay (empty = all)'),
244
+ /**
245
+ * Event filters
246
+ */
247
+ filters: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional().describe('Additional filters for event selection'),
248
+ /**
249
+ * Replay speed multiplier
250
+ */
251
+ speed: zod_1.z.number().positive().default(1).describe('Replay speed multiplier (1 = real-time)'),
252
+ /**
253
+ * Target handlers
254
+ */
255
+ targetHandlers: zod_1.z.array(zod_1.z.string()).optional().describe('Handler IDs to execute (empty = all)'),
256
+ });
257
+ // ==========================================
258
+ // Event Sourcing
259
+ // ==========================================
260
+ /**
261
+ * Event Sourcing Configuration Schema
262
+ * Configuration for event sourcing pattern
263
+ *
264
+ * Event sourcing stores all changes to application state as a sequence of events.
265
+ * The current state can be reconstructed by replaying the events.
266
+ *
267
+ * @example
268
+ * {
269
+ * "enabled": true,
270
+ * "snapshotInterval": 100,
271
+ * "retention": 365
272
+ * }
273
+ */
274
+ exports.EventSourcingConfigSchema = zod_1.z.object({
275
+ /**
276
+ * Enable event sourcing
277
+ */
278
+ enabled: zod_1.z.boolean().default(false).describe('Enable event sourcing'),
279
+ /**
280
+ * Snapshot interval
281
+ */
282
+ snapshotInterval: zod_1.z.number().int().positive().default(100)
283
+ .describe('Create snapshot every N events'),
284
+ /**
285
+ * Snapshot retention
286
+ */
287
+ snapshotRetention: zod_1.z.number().int().positive().default(10)
288
+ .describe('Number of snapshots to retain'),
289
+ /**
290
+ * Event retention
291
+ */
292
+ retention: zod_1.z.number().int().positive().default(365)
293
+ .describe('Days to retain events'),
294
+ /**
295
+ * Aggregate types
296
+ */
297
+ aggregateTypes: zod_1.z.array(zod_1.z.string()).optional()
298
+ .describe('Aggregate types to enable event sourcing for'),
299
+ /**
300
+ * Storage configuration
301
+ */
302
+ storage: zod_1.z.object({
303
+ type: zod_1.z.enum(['database', 'file', 's3', 'eventstore']).default('database')
304
+ .describe('Storage backend'),
305
+ options: zod_1.z.record(zod_1.z.string(), zod_1.z.any()).optional().describe('Storage-specific options'),
306
+ }).optional().describe('Event store configuration'),
307
+ });
308
+ // ==========================================
309
+ // Dead Letter Queue
310
+ // ==========================================
311
+ /**
312
+ * Dead Letter Queue Entry Schema
313
+ * Represents a failed event in the dead letter queue
314
+ */
315
+ exports.DeadLetterQueueEntrySchema = zod_1.z.object({
316
+ /**
317
+ * Entry identifier
318
+ */
319
+ id: zod_1.z.string().describe('Unique entry identifier'),
320
+ /**
321
+ * Original event
322
+ */
323
+ event: exports.EventSchema.describe('Original event'),
324
+ /**
325
+ * Failure reason
326
+ */
327
+ error: zod_1.z.object({
328
+ message: zod_1.z.string().describe('Error message'),
329
+ stack: zod_1.z.string().optional().describe('Error stack trace'),
330
+ code: zod_1.z.string().optional().describe('Error code'),
331
+ }).describe('Failure details'),
332
+ /**
333
+ * Retry count
334
+ */
335
+ retries: zod_1.z.number().int().min(0).describe('Number of retry attempts'),
336
+ /**
337
+ * Timestamps
338
+ */
339
+ firstFailedAt: zod_1.z.string().datetime().describe('When event first failed'),
340
+ lastFailedAt: zod_1.z.string().datetime().describe('When event last failed'),
341
+ /**
342
+ * Handler that failed
343
+ */
344
+ failedHandler: zod_1.z.string().optional().describe('Handler ID that failed'),
345
+ });
346
+ // ==========================================
347
+ // Event Log
348
+ // ==========================================
349
+ /**
350
+ * Event Log Entry Schema
351
+ * Represents a logged event
352
+ */
353
+ exports.EventLogEntrySchema = zod_1.z.object({
354
+ /**
355
+ * Log entry ID
356
+ */
357
+ id: zod_1.z.string().describe('Unique log entry identifier'),
358
+ /**
359
+ * Event
360
+ */
361
+ event: exports.EventSchema.describe('The event'),
362
+ /**
363
+ * Status
364
+ */
365
+ status: zod_1.z.enum(['pending', 'processing', 'completed', 'failed']).describe('Processing status'),
366
+ /**
367
+ * Handlers executed
368
+ */
369
+ handlersExecuted: zod_1.z.array(zod_1.z.object({
370
+ handlerId: zod_1.z.string().describe('Handler identifier'),
371
+ status: zod_1.z.enum(['success', 'failed', 'timeout']).describe('Handler execution status'),
372
+ durationMs: zod_1.z.number().int().optional().describe('Execution duration'),
373
+ error: zod_1.z.string().optional().describe('Error message if failed'),
374
+ })).optional().describe('Handlers that processed this event'),
375
+ /**
376
+ * Timestamps
377
+ */
378
+ receivedAt: zod_1.z.string().datetime().describe('When event was received'),
379
+ processedAt: zod_1.z.string().datetime().optional().describe('When event was processed'),
380
+ /**
381
+ * Total duration
382
+ */
383
+ totalDurationMs: zod_1.z.number().int().optional().describe('Total processing time'),
384
+ });
385
+ // ==========================================
386
+ // Webhook Integration
387
+ // ==========================================
388
+ /**
389
+ * Event Webhook Configuration Schema
390
+ * Configuration for sending events to webhooks
391
+ *
392
+ * @example
393
+ * {
394
+ * "eventPattern": "order.*",
395
+ * "url": "https://api.example.com/webhooks/orders",
396
+ * "method": "POST",
397
+ * "headers": { "Authorization": "Bearer token" }
398
+ * }
399
+ */
400
+ exports.EventWebhookConfigSchema = zod_1.z.object({
401
+ /**
402
+ * Webhook identifier
403
+ */
404
+ id: zod_1.z.string().optional().describe('Unique webhook identifier'),
405
+ /**
406
+ * Event pattern to match
407
+ */
408
+ eventPattern: zod_1.z.string().describe('Event name pattern (supports wildcards)'),
409
+ /**
410
+ * Target URL
411
+ */
412
+ url: zod_1.z.string().url().describe('Webhook endpoint URL'),
413
+ /**
414
+ * HTTP method
415
+ */
416
+ method: zod_1.z.enum(['GET', 'POST', 'PUT', 'PATCH']).default('POST').describe('HTTP method'),
417
+ /**
418
+ * Headers
419
+ */
420
+ headers: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional().describe('HTTP headers'),
421
+ /**
422
+ * Authentication
423
+ */
424
+ authentication: zod_1.z.object({
425
+ type: zod_1.z.enum(['none', 'bearer', 'basic', 'api-key']).describe('Auth type'),
426
+ credentials: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional().describe('Auth credentials'),
427
+ }).optional().describe('Authentication configuration'),
428
+ /**
429
+ * Retry policy
430
+ */
431
+ retryPolicy: zod_1.z.object({
432
+ maxRetries: zod_1.z.number().int().min(0).default(3).describe('Max retry attempts'),
433
+ backoffStrategy: zod_1.z.enum(['fixed', 'linear', 'exponential']).default('exponential'),
434
+ initialDelayMs: zod_1.z.number().int().positive().default(1000).describe('Initial retry delay'),
435
+ maxDelayMs: zod_1.z.number().int().positive().default(60000).describe('Max retry delay'),
436
+ }).optional().describe('Retry policy'),
437
+ /**
438
+ * Timeout
439
+ */
440
+ timeoutMs: zod_1.z.number().int().positive().default(30000).describe('Request timeout in milliseconds'),
441
+ /**
442
+ * Event transformation
443
+ */
444
+ transform: zod_1.z.function().args(exports.EventSchema).returns(zod_1.z.any()).optional()
445
+ .describe('Transform event before sending'),
446
+ /**
447
+ * Enabled
448
+ */
449
+ enabled: zod_1.z.boolean().default(true).describe('Whether webhook is enabled'),
450
+ });
451
+ // ==========================================
452
+ // Message Queue Integration
453
+ // ==========================================
454
+ /**
455
+ * Event Message Queue Configuration Schema
456
+ * Configuration for publishing events to message queues
457
+ *
458
+ * @example
459
+ * {
460
+ * "provider": "kafka",
461
+ * "topic": "events",
462
+ * "eventPattern": "*",
463
+ * "partitionKey": "metadata.tenantId"
464
+ * }
465
+ */
466
+ exports.EventMessageQueueConfigSchema = zod_1.z.object({
467
+ /**
468
+ * Provider
469
+ */
470
+ provider: zod_1.z.enum(['kafka', 'rabbitmq', 'aws-sqs', 'redis-pubsub', 'google-pubsub', 'azure-service-bus'])
471
+ .describe('Message queue provider'),
472
+ /**
473
+ * Topic/Queue name
474
+ */
475
+ topic: zod_1.z.string().describe('Topic or queue name'),
476
+ /**
477
+ * Event pattern
478
+ */
479
+ eventPattern: zod_1.z.string().default('*').describe('Event name pattern to publish (supports wildcards)'),
480
+ /**
481
+ * Partition key
482
+ */
483
+ partitionKey: zod_1.z.string().optional().describe('JSON path for partition key (e.g., "metadata.tenantId")'),
484
+ /**
485
+ * Message format
486
+ */
487
+ format: zod_1.z.enum(['json', 'avro', 'protobuf']).default('json').describe('Message serialization format'),
488
+ /**
489
+ * Include metadata
490
+ */
491
+ includeMetadata: zod_1.z.boolean().default(true).describe('Include event metadata in message'),
492
+ /**
493
+ * Compression
494
+ */
495
+ compression: zod_1.z.enum(['none', 'gzip', 'snappy', 'lz4']).default('none').describe('Message compression'),
496
+ /**
497
+ * Batch size
498
+ */
499
+ batchSize: zod_1.z.number().int().min(1).default(1).describe('Batch size for publishing'),
500
+ /**
501
+ * Flush interval
502
+ */
503
+ flushIntervalMs: zod_1.z.number().int().positive().default(1000).describe('Flush interval for batching'),
504
+ });
505
+ // ==========================================
506
+ // Real-time Notifications
507
+ // ==========================================
508
+ /**
509
+ * Real-time Notification Configuration Schema
510
+ * Configuration for real-time event notifications via WebSocket/SSE
511
+ *
512
+ * @example
513
+ * {
514
+ * "enabled": true,
515
+ * "protocol": "websocket",
516
+ * "eventPattern": "notification.*",
517
+ * "userFilter": true
518
+ * }
519
+ */
520
+ exports.RealTimeNotificationConfigSchema = zod_1.z.object({
521
+ /**
522
+ * Enable real-time notifications
523
+ */
524
+ enabled: zod_1.z.boolean().default(true).describe('Enable real-time notifications'),
525
+ /**
526
+ * Protocol
527
+ */
528
+ protocol: zod_1.z.enum(['websocket', 'sse', 'long-polling']).default('websocket')
529
+ .describe('Real-time protocol'),
530
+ /**
531
+ * Event pattern
532
+ */
533
+ eventPattern: zod_1.z.string().default('*').describe('Event pattern to broadcast'),
534
+ /**
535
+ * User-specific filtering
536
+ */
537
+ userFilter: zod_1.z.boolean().default(true).describe('Filter events by user'),
538
+ /**
539
+ * Tenant-specific filtering
540
+ */
541
+ tenantFilter: zod_1.z.boolean().default(true).describe('Filter events by tenant'),
542
+ /**
543
+ * Channels
544
+ */
545
+ channels: zod_1.z.array(zod_1.z.object({
546
+ name: zod_1.z.string().describe('Channel name'),
547
+ eventPattern: zod_1.z.string().describe('Event pattern for channel'),
548
+ filter: zod_1.z.function().args(exports.EventSchema).returns(zod_1.z.boolean()).optional()
549
+ .describe('Additional filter function'),
550
+ })).optional().describe('Named channels for event broadcasting'),
551
+ /**
552
+ * Rate limiting
553
+ */
554
+ rateLimit: zod_1.z.object({
555
+ maxEventsPerSecond: zod_1.z.number().int().positive().describe('Max events per second per client'),
556
+ windowMs: zod_1.z.number().int().positive().default(1000).describe('Rate limit window'),
557
+ }).optional().describe('Rate limiting configuration'),
558
+ });
559
+ // ==========================================
560
+ // Complete Event Bus Configuration
561
+ // ==========================================
562
+ /**
563
+ * Event Bus Configuration Schema
564
+ * Complete configuration for the event bus system
565
+ *
566
+ * @example
567
+ * {
568
+ * "persistence": { "enabled": true, "retention": 365 },
569
+ * "queue": { "concurrency": 20 },
570
+ * "eventSourcing": { "enabled": true },
571
+ * "webhooks": [],
572
+ * "messageQueue": { "provider": "kafka", "topic": "events" },
573
+ * "realtime": { "enabled": true, "protocol": "websocket" }
574
+ * }
575
+ */
576
+ exports.EventBusConfigSchema = zod_1.z.object({
577
+ /**
578
+ * Event persistence
579
+ */
580
+ persistence: exports.EventPersistenceSchema.optional().describe('Event persistence configuration'),
581
+ /**
582
+ * Event queue
583
+ */
584
+ queue: exports.EventQueueConfigSchema.optional().describe('Event queue configuration'),
585
+ /**
586
+ * Event sourcing
587
+ */
588
+ eventSourcing: exports.EventSourcingConfigSchema.optional().describe('Event sourcing configuration'),
589
+ /**
590
+ * Event replay
591
+ */
592
+ replay: zod_1.z.object({
593
+ enabled: zod_1.z.boolean().default(true).describe('Enable event replay capability'),
594
+ }).optional().describe('Event replay configuration'),
595
+ /**
596
+ * Webhooks
597
+ */
598
+ webhooks: zod_1.z.array(exports.EventWebhookConfigSchema).optional().describe('Webhook configurations'),
599
+ /**
600
+ * Message queue integration
601
+ */
602
+ messageQueue: exports.EventMessageQueueConfigSchema.optional().describe('Message queue integration'),
603
+ /**
604
+ * Real-time notifications
605
+ */
606
+ realtime: exports.RealTimeNotificationConfigSchema.optional().describe('Real-time notification configuration'),
607
+ /**
608
+ * Event type definitions
609
+ */
610
+ eventTypes: zod_1.z.array(exports.EventTypeDefinitionSchema).optional().describe('Event type definitions'),
611
+ /**
612
+ * Global handlers
613
+ */
614
+ handlers: zod_1.z.array(exports.EventHandlerSchema).optional().describe('Global event handlers'),
615
+ });
616
+ // ==========================================
617
+ // Helper Functions
618
+ // ==========================================
619
+ /**
620
+ * Helper to create event bus configuration
621
+ */
622
+ function createEventBusConfig(config) {
623
+ return config;
624
+ }
625
+ /**
626
+ * Helper to create event type definition
627
+ */
628
+ function createEventTypeDefinition(definition) {
629
+ return definition;
630
+ }
631
+ /**
632
+ * Helper to create event webhook configuration
633
+ */
634
+ function createEventWebhookConfig(config) {
635
+ return config;
636
+ }