@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
@@ -0,0 +1,2186 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Logging Protocol - Comprehensive Observability Logging
4
+ *
5
+ * Unified logging protocol that combines:
6
+ * - Basic kernel logging (LoggerConfig)
7
+ * - Enterprise-grade features (LoggingConfig)
8
+ * - Multiple log destinations (file, console, external services)
9
+ * - Structured logging with enrichment
10
+ * - Log aggregation and forwarding
11
+ * - Integration with external log management systems
12
+ */
13
+ /**
14
+ * Log Level Enum
15
+ * Standard RFC 5424 severity levels (simplified)
16
+ */
17
+ export declare const LogLevel: z.ZodEnum<["debug", "info", "warn", "error", "fatal"]>;
18
+ export type LogLevel = z.infer<typeof LogLevel>;
19
+ /**
20
+ * Log Format Enum
21
+ */
22
+ export declare const LogFormat: z.ZodEnum<["json", "text", "pretty"]>;
23
+ export type LogFormat = z.infer<typeof LogFormat>;
24
+ /**
25
+ * Logger Configuration Schema
26
+ * Configuration for the Kernel's internal logger
27
+ */
28
+ export declare const LoggerConfigSchema: z.ZodObject<{
29
+ /**
30
+ * Logger name
31
+ */
32
+ name: z.ZodOptional<z.ZodString>;
33
+ /**
34
+ * Minimum level to log
35
+ */
36
+ level: z.ZodDefault<z.ZodOptional<z.ZodEnum<["debug", "info", "warn", "error", "fatal"]>>>;
37
+ /**
38
+ * Output format
39
+ */
40
+ format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "text", "pretty"]>>>;
41
+ /**
42
+ * Redact sensitive keys
43
+ */
44
+ redact: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
45
+ /**
46
+ * Enable source location (file/line)
47
+ */
48
+ sourceLocation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
49
+ /**
50
+ * Log to file (optional)
51
+ */
52
+ file: z.ZodOptional<z.ZodString>;
53
+ /**
54
+ * Log rotation config (if file is set)
55
+ */
56
+ rotation: z.ZodOptional<z.ZodObject<{
57
+ maxSize: z.ZodDefault<z.ZodOptional<z.ZodString>>;
58
+ maxFiles: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
59
+ }, "strip", z.ZodTypeAny, {
60
+ maxSize: string;
61
+ maxFiles: number;
62
+ }, {
63
+ maxSize?: string | undefined;
64
+ maxFiles?: number | undefined;
65
+ }>>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ redact: string[];
68
+ format: "text" | "json" | "pretty";
69
+ level: "error" | "info" | "warn" | "debug" | "fatal";
70
+ sourceLocation: boolean;
71
+ file?: string | undefined;
72
+ name?: string | undefined;
73
+ rotation?: {
74
+ maxSize: string;
75
+ maxFiles: number;
76
+ } | undefined;
77
+ }, {
78
+ redact?: string[] | undefined;
79
+ file?: string | undefined;
80
+ name?: string | undefined;
81
+ format?: "text" | "json" | "pretty" | undefined;
82
+ level?: "error" | "info" | "warn" | "debug" | "fatal" | undefined;
83
+ sourceLocation?: boolean | undefined;
84
+ rotation?: {
85
+ maxSize?: string | undefined;
86
+ maxFiles?: number | undefined;
87
+ } | undefined;
88
+ }>;
89
+ export type LoggerConfig = z.infer<typeof LoggerConfigSchema>;
90
+ /**
91
+ * Log Entry Schema
92
+ * The shape of a structured log record
93
+ */
94
+ export declare const LogEntrySchema: z.ZodObject<{
95
+ timestamp: z.ZodString;
96
+ level: z.ZodEnum<["debug", "info", "warn", "error", "fatal"]>;
97
+ message: z.ZodString;
98
+ context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
99
+ error: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
100
+ /** Tracing */
101
+ traceId: z.ZodOptional<z.ZodString>;
102
+ spanId: z.ZodOptional<z.ZodString>;
103
+ /** Source */
104
+ service: z.ZodOptional<z.ZodString>;
105
+ component: z.ZodOptional<z.ZodString>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ message: string;
108
+ timestamp: string;
109
+ level: "error" | "info" | "warn" | "debug" | "fatal";
110
+ error?: Record<string, any> | undefined;
111
+ component?: string | undefined;
112
+ context?: Record<string, any> | undefined;
113
+ service?: string | undefined;
114
+ traceId?: string | undefined;
115
+ spanId?: string | undefined;
116
+ }, {
117
+ message: string;
118
+ timestamp: string;
119
+ level: "error" | "info" | "warn" | "debug" | "fatal";
120
+ error?: Record<string, any> | undefined;
121
+ component?: string | undefined;
122
+ context?: Record<string, any> | undefined;
123
+ service?: string | undefined;
124
+ traceId?: string | undefined;
125
+ spanId?: string | undefined;
126
+ }>;
127
+ export type LogEntry = z.infer<typeof LogEntrySchema>;
128
+ /**
129
+ * Extended Log Level Enum
130
+ * Standard RFC 5424 severity levels with trace
131
+ */
132
+ export declare const ExtendedLogLevel: z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>;
133
+ export type ExtendedLogLevel = z.infer<typeof ExtendedLogLevel>;
134
+ /**
135
+ * Log Destination Type Enum
136
+ * Where logs can be sent
137
+ */
138
+ export declare const LogDestinationType: z.ZodEnum<["console", "file", "syslog", "elasticsearch", "cloudwatch", "stackdriver", "azure_monitor", "datadog", "splunk", "loki", "http", "kafka", "redis", "custom"]>;
139
+ export type LogDestinationType = z.infer<typeof LogDestinationType>;
140
+ /**
141
+ * Console Destination Configuration
142
+ */
143
+ export declare const ConsoleDestinationConfigSchema: z.ZodObject<{
144
+ /**
145
+ * Output stream
146
+ */
147
+ stream: z.ZodDefault<z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>>;
148
+ /**
149
+ * Enable colored output
150
+ */
151
+ colors: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
152
+ /**
153
+ * Pretty print JSON
154
+ */
155
+ prettyPrint: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ colors: boolean;
158
+ stream: "stdout" | "stderr";
159
+ prettyPrint: boolean;
160
+ }, {
161
+ colors?: boolean | undefined;
162
+ stream?: "stdout" | "stderr" | undefined;
163
+ prettyPrint?: boolean | undefined;
164
+ }>;
165
+ export type ConsoleDestinationConfig = z.infer<typeof ConsoleDestinationConfigSchema>;
166
+ /**
167
+ * File Destination Configuration
168
+ */
169
+ export declare const FileDestinationConfigSchema: z.ZodObject<{
170
+ /**
171
+ * File path
172
+ */
173
+ path: z.ZodString;
174
+ /**
175
+ * Enable log rotation
176
+ */
177
+ rotation: z.ZodOptional<z.ZodObject<{
178
+ /**
179
+ * Maximum file size before rotation (e.g., '10m', '100k', '1g')
180
+ */
181
+ maxSize: z.ZodDefault<z.ZodOptional<z.ZodString>>;
182
+ /**
183
+ * Maximum number of files to keep
184
+ */
185
+ maxFiles: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
186
+ /**
187
+ * Compress rotated files
188
+ */
189
+ compress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
190
+ /**
191
+ * Rotation interval (e.g., 'daily', 'weekly')
192
+ */
193
+ interval: z.ZodOptional<z.ZodEnum<["hourly", "daily", "weekly", "monthly"]>>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ maxSize: string;
196
+ maxFiles: number;
197
+ compress: boolean;
198
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
199
+ }, {
200
+ maxSize?: string | undefined;
201
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
202
+ maxFiles?: number | undefined;
203
+ compress?: boolean | undefined;
204
+ }>>;
205
+ /**
206
+ * File encoding
207
+ */
208
+ encoding: z.ZodDefault<z.ZodOptional<z.ZodString>>;
209
+ /**
210
+ * Append to existing file
211
+ */
212
+ append: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
213
+ }, "strip", z.ZodTypeAny, {
214
+ path: string;
215
+ encoding: string;
216
+ append: boolean;
217
+ rotation?: {
218
+ maxSize: string;
219
+ maxFiles: number;
220
+ compress: boolean;
221
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
222
+ } | undefined;
223
+ }, {
224
+ path: string;
225
+ rotation?: {
226
+ maxSize?: string | undefined;
227
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
228
+ maxFiles?: number | undefined;
229
+ compress?: boolean | undefined;
230
+ } | undefined;
231
+ encoding?: string | undefined;
232
+ append?: boolean | undefined;
233
+ }>;
234
+ export type FileDestinationConfig = z.infer<typeof FileDestinationConfigSchema>;
235
+ /**
236
+ * HTTP Destination Configuration
237
+ */
238
+ export declare const HttpDestinationConfigSchema: z.ZodObject<{
239
+ /**
240
+ * HTTP endpoint URL
241
+ */
242
+ url: z.ZodString;
243
+ /**
244
+ * HTTP method
245
+ */
246
+ method: z.ZodDefault<z.ZodOptional<z.ZodEnum<["POST", "PUT"]>>>;
247
+ /**
248
+ * Headers to include
249
+ */
250
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
251
+ /**
252
+ * Authentication
253
+ */
254
+ auth: z.ZodOptional<z.ZodObject<{
255
+ type: z.ZodEnum<["basic", "bearer", "api_key"]>;
256
+ username: z.ZodOptional<z.ZodString>;
257
+ password: z.ZodOptional<z.ZodString>;
258
+ token: z.ZodOptional<z.ZodString>;
259
+ apiKey: z.ZodOptional<z.ZodString>;
260
+ apiKeyHeader: z.ZodDefault<z.ZodOptional<z.ZodString>>;
261
+ }, "strip", z.ZodTypeAny, {
262
+ type: "basic" | "bearer" | "api_key";
263
+ apiKeyHeader: string;
264
+ password?: string | undefined;
265
+ token?: string | undefined;
266
+ apiKey?: string | undefined;
267
+ username?: string | undefined;
268
+ }, {
269
+ type: "basic" | "bearer" | "api_key";
270
+ password?: string | undefined;
271
+ token?: string | undefined;
272
+ apiKey?: string | undefined;
273
+ username?: string | undefined;
274
+ apiKeyHeader?: string | undefined;
275
+ }>>;
276
+ /**
277
+ * Batch configuration
278
+ */
279
+ batch: z.ZodOptional<z.ZodObject<{
280
+ /**
281
+ * Maximum batch size
282
+ */
283
+ maxSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
284
+ /**
285
+ * Flush interval in milliseconds
286
+ */
287
+ flushInterval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
288
+ }, "strip", z.ZodTypeAny, {
289
+ maxSize: number;
290
+ flushInterval: number;
291
+ }, {
292
+ maxSize?: number | undefined;
293
+ flushInterval?: number | undefined;
294
+ }>>;
295
+ /**
296
+ * Retry configuration
297
+ */
298
+ retry: z.ZodOptional<z.ZodObject<{
299
+ /**
300
+ * Maximum retry attempts
301
+ */
302
+ maxAttempts: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
303
+ /**
304
+ * Initial retry delay in milliseconds
305
+ */
306
+ initialDelay: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
307
+ /**
308
+ * Backoff multiplier
309
+ */
310
+ backoffMultiplier: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
311
+ }, "strip", z.ZodTypeAny, {
312
+ backoffMultiplier: number;
313
+ maxAttempts: number;
314
+ initialDelay: number;
315
+ }, {
316
+ backoffMultiplier?: number | undefined;
317
+ maxAttempts?: number | undefined;
318
+ initialDelay?: number | undefined;
319
+ }>>;
320
+ /**
321
+ * Timeout in milliseconds
322
+ */
323
+ timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
324
+ }, "strip", z.ZodTypeAny, {
325
+ url: string;
326
+ method: "POST" | "PUT";
327
+ timeout: number;
328
+ headers?: Record<string, string> | undefined;
329
+ retry?: {
330
+ backoffMultiplier: number;
331
+ maxAttempts: number;
332
+ initialDelay: number;
333
+ } | undefined;
334
+ batch?: {
335
+ maxSize: number;
336
+ flushInterval: number;
337
+ } | undefined;
338
+ auth?: {
339
+ type: "basic" | "bearer" | "api_key";
340
+ apiKeyHeader: string;
341
+ password?: string | undefined;
342
+ token?: string | undefined;
343
+ apiKey?: string | undefined;
344
+ username?: string | undefined;
345
+ } | undefined;
346
+ }, {
347
+ url: string;
348
+ method?: "POST" | "PUT" | undefined;
349
+ headers?: Record<string, string> | undefined;
350
+ timeout?: number | undefined;
351
+ retry?: {
352
+ backoffMultiplier?: number | undefined;
353
+ maxAttempts?: number | undefined;
354
+ initialDelay?: number | undefined;
355
+ } | undefined;
356
+ batch?: {
357
+ maxSize?: number | undefined;
358
+ flushInterval?: number | undefined;
359
+ } | undefined;
360
+ auth?: {
361
+ type: "basic" | "bearer" | "api_key";
362
+ password?: string | undefined;
363
+ token?: string | undefined;
364
+ apiKey?: string | undefined;
365
+ username?: string | undefined;
366
+ apiKeyHeader?: string | undefined;
367
+ } | undefined;
368
+ }>;
369
+ export type HttpDestinationConfig = z.infer<typeof HttpDestinationConfigSchema>;
370
+ /**
371
+ * External Service Destination Configuration
372
+ * Generic configuration for cloud logging services
373
+ */
374
+ export declare const ExternalServiceDestinationConfigSchema: z.ZodObject<{
375
+ /**
376
+ * Service-specific endpoint
377
+ */
378
+ endpoint: z.ZodOptional<z.ZodString>;
379
+ /**
380
+ * Region (for cloud services)
381
+ */
382
+ region: z.ZodOptional<z.ZodString>;
383
+ /**
384
+ * Credentials
385
+ */
386
+ credentials: z.ZodOptional<z.ZodObject<{
387
+ accessKeyId: z.ZodOptional<z.ZodString>;
388
+ secretAccessKey: z.ZodOptional<z.ZodString>;
389
+ apiKey: z.ZodOptional<z.ZodString>;
390
+ projectId: z.ZodOptional<z.ZodString>;
391
+ }, "strip", z.ZodTypeAny, {
392
+ accessKeyId?: string | undefined;
393
+ secretAccessKey?: string | undefined;
394
+ apiKey?: string | undefined;
395
+ projectId?: string | undefined;
396
+ }, {
397
+ accessKeyId?: string | undefined;
398
+ secretAccessKey?: string | undefined;
399
+ apiKey?: string | undefined;
400
+ projectId?: string | undefined;
401
+ }>>;
402
+ /**
403
+ * Log group/stream/index name
404
+ */
405
+ logGroup: z.ZodOptional<z.ZodString>;
406
+ logStream: z.ZodOptional<z.ZodString>;
407
+ index: z.ZodOptional<z.ZodString>;
408
+ /**
409
+ * Service-specific configuration
410
+ */
411
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
412
+ }, "strip", z.ZodTypeAny, {
413
+ credentials?: {
414
+ accessKeyId?: string | undefined;
415
+ secretAccessKey?: string | undefined;
416
+ apiKey?: string | undefined;
417
+ projectId?: string | undefined;
418
+ } | undefined;
419
+ index?: string | undefined;
420
+ region?: string | undefined;
421
+ endpoint?: string | undefined;
422
+ config?: Record<string, any> | undefined;
423
+ logGroup?: string | undefined;
424
+ logStream?: string | undefined;
425
+ }, {
426
+ credentials?: {
427
+ accessKeyId?: string | undefined;
428
+ secretAccessKey?: string | undefined;
429
+ apiKey?: string | undefined;
430
+ projectId?: string | undefined;
431
+ } | undefined;
432
+ index?: string | undefined;
433
+ region?: string | undefined;
434
+ endpoint?: string | undefined;
435
+ config?: Record<string, any> | undefined;
436
+ logGroup?: string | undefined;
437
+ logStream?: string | undefined;
438
+ }>;
439
+ export type ExternalServiceDestinationConfig = z.infer<typeof ExternalServiceDestinationConfigSchema>;
440
+ /**
441
+ * Log Destination Schema
442
+ * Configuration for a single log destination
443
+ */
444
+ export declare const LogDestinationSchema: z.ZodObject<{
445
+ /**
446
+ * Destination name
447
+ */
448
+ name: z.ZodString;
449
+ /**
450
+ * Destination type
451
+ */
452
+ type: z.ZodEnum<["console", "file", "syslog", "elasticsearch", "cloudwatch", "stackdriver", "azure_monitor", "datadog", "splunk", "loki", "http", "kafka", "redis", "custom"]>;
453
+ /**
454
+ * Minimum log level for this destination
455
+ */
456
+ level: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
457
+ /**
458
+ * Enabled flag
459
+ */
460
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
461
+ /**
462
+ * Console configuration
463
+ */
464
+ console: z.ZodOptional<z.ZodObject<{
465
+ /**
466
+ * Output stream
467
+ */
468
+ stream: z.ZodDefault<z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>>;
469
+ /**
470
+ * Enable colored output
471
+ */
472
+ colors: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
473
+ /**
474
+ * Pretty print JSON
475
+ */
476
+ prettyPrint: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
477
+ }, "strip", z.ZodTypeAny, {
478
+ colors: boolean;
479
+ stream: "stdout" | "stderr";
480
+ prettyPrint: boolean;
481
+ }, {
482
+ colors?: boolean | undefined;
483
+ stream?: "stdout" | "stderr" | undefined;
484
+ prettyPrint?: boolean | undefined;
485
+ }>>;
486
+ /**
487
+ * File configuration
488
+ */
489
+ file: z.ZodOptional<z.ZodObject<{
490
+ /**
491
+ * File path
492
+ */
493
+ path: z.ZodString;
494
+ /**
495
+ * Enable log rotation
496
+ */
497
+ rotation: z.ZodOptional<z.ZodObject<{
498
+ /**
499
+ * Maximum file size before rotation (e.g., '10m', '100k', '1g')
500
+ */
501
+ maxSize: z.ZodDefault<z.ZodOptional<z.ZodString>>;
502
+ /**
503
+ * Maximum number of files to keep
504
+ */
505
+ maxFiles: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
506
+ /**
507
+ * Compress rotated files
508
+ */
509
+ compress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
510
+ /**
511
+ * Rotation interval (e.g., 'daily', 'weekly')
512
+ */
513
+ interval: z.ZodOptional<z.ZodEnum<["hourly", "daily", "weekly", "monthly"]>>;
514
+ }, "strip", z.ZodTypeAny, {
515
+ maxSize: string;
516
+ maxFiles: number;
517
+ compress: boolean;
518
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
519
+ }, {
520
+ maxSize?: string | undefined;
521
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
522
+ maxFiles?: number | undefined;
523
+ compress?: boolean | undefined;
524
+ }>>;
525
+ /**
526
+ * File encoding
527
+ */
528
+ encoding: z.ZodDefault<z.ZodOptional<z.ZodString>>;
529
+ /**
530
+ * Append to existing file
531
+ */
532
+ append: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
533
+ }, "strip", z.ZodTypeAny, {
534
+ path: string;
535
+ encoding: string;
536
+ append: boolean;
537
+ rotation?: {
538
+ maxSize: string;
539
+ maxFiles: number;
540
+ compress: boolean;
541
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
542
+ } | undefined;
543
+ }, {
544
+ path: string;
545
+ rotation?: {
546
+ maxSize?: string | undefined;
547
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
548
+ maxFiles?: number | undefined;
549
+ compress?: boolean | undefined;
550
+ } | undefined;
551
+ encoding?: string | undefined;
552
+ append?: boolean | undefined;
553
+ }>>;
554
+ /**
555
+ * HTTP configuration
556
+ */
557
+ http: z.ZodOptional<z.ZodObject<{
558
+ /**
559
+ * HTTP endpoint URL
560
+ */
561
+ url: z.ZodString;
562
+ /**
563
+ * HTTP method
564
+ */
565
+ method: z.ZodDefault<z.ZodOptional<z.ZodEnum<["POST", "PUT"]>>>;
566
+ /**
567
+ * Headers to include
568
+ */
569
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
570
+ /**
571
+ * Authentication
572
+ */
573
+ auth: z.ZodOptional<z.ZodObject<{
574
+ type: z.ZodEnum<["basic", "bearer", "api_key"]>;
575
+ username: z.ZodOptional<z.ZodString>;
576
+ password: z.ZodOptional<z.ZodString>;
577
+ token: z.ZodOptional<z.ZodString>;
578
+ apiKey: z.ZodOptional<z.ZodString>;
579
+ apiKeyHeader: z.ZodDefault<z.ZodOptional<z.ZodString>>;
580
+ }, "strip", z.ZodTypeAny, {
581
+ type: "basic" | "bearer" | "api_key";
582
+ apiKeyHeader: string;
583
+ password?: string | undefined;
584
+ token?: string | undefined;
585
+ apiKey?: string | undefined;
586
+ username?: string | undefined;
587
+ }, {
588
+ type: "basic" | "bearer" | "api_key";
589
+ password?: string | undefined;
590
+ token?: string | undefined;
591
+ apiKey?: string | undefined;
592
+ username?: string | undefined;
593
+ apiKeyHeader?: string | undefined;
594
+ }>>;
595
+ /**
596
+ * Batch configuration
597
+ */
598
+ batch: z.ZodOptional<z.ZodObject<{
599
+ /**
600
+ * Maximum batch size
601
+ */
602
+ maxSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
603
+ /**
604
+ * Flush interval in milliseconds
605
+ */
606
+ flushInterval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
607
+ }, "strip", z.ZodTypeAny, {
608
+ maxSize: number;
609
+ flushInterval: number;
610
+ }, {
611
+ maxSize?: number | undefined;
612
+ flushInterval?: number | undefined;
613
+ }>>;
614
+ /**
615
+ * Retry configuration
616
+ */
617
+ retry: z.ZodOptional<z.ZodObject<{
618
+ /**
619
+ * Maximum retry attempts
620
+ */
621
+ maxAttempts: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
622
+ /**
623
+ * Initial retry delay in milliseconds
624
+ */
625
+ initialDelay: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
626
+ /**
627
+ * Backoff multiplier
628
+ */
629
+ backoffMultiplier: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ backoffMultiplier: number;
632
+ maxAttempts: number;
633
+ initialDelay: number;
634
+ }, {
635
+ backoffMultiplier?: number | undefined;
636
+ maxAttempts?: number | undefined;
637
+ initialDelay?: number | undefined;
638
+ }>>;
639
+ /**
640
+ * Timeout in milliseconds
641
+ */
642
+ timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
643
+ }, "strip", z.ZodTypeAny, {
644
+ url: string;
645
+ method: "POST" | "PUT";
646
+ timeout: number;
647
+ headers?: Record<string, string> | undefined;
648
+ retry?: {
649
+ backoffMultiplier: number;
650
+ maxAttempts: number;
651
+ initialDelay: number;
652
+ } | undefined;
653
+ batch?: {
654
+ maxSize: number;
655
+ flushInterval: number;
656
+ } | undefined;
657
+ auth?: {
658
+ type: "basic" | "bearer" | "api_key";
659
+ apiKeyHeader: string;
660
+ password?: string | undefined;
661
+ token?: string | undefined;
662
+ apiKey?: string | undefined;
663
+ username?: string | undefined;
664
+ } | undefined;
665
+ }, {
666
+ url: string;
667
+ method?: "POST" | "PUT" | undefined;
668
+ headers?: Record<string, string> | undefined;
669
+ timeout?: number | undefined;
670
+ retry?: {
671
+ backoffMultiplier?: number | undefined;
672
+ maxAttempts?: number | undefined;
673
+ initialDelay?: number | undefined;
674
+ } | undefined;
675
+ batch?: {
676
+ maxSize?: number | undefined;
677
+ flushInterval?: number | undefined;
678
+ } | undefined;
679
+ auth?: {
680
+ type: "basic" | "bearer" | "api_key";
681
+ password?: string | undefined;
682
+ token?: string | undefined;
683
+ apiKey?: string | undefined;
684
+ username?: string | undefined;
685
+ apiKeyHeader?: string | undefined;
686
+ } | undefined;
687
+ }>>;
688
+ /**
689
+ * External service configuration
690
+ */
691
+ externalService: z.ZodOptional<z.ZodObject<{
692
+ /**
693
+ * Service-specific endpoint
694
+ */
695
+ endpoint: z.ZodOptional<z.ZodString>;
696
+ /**
697
+ * Region (for cloud services)
698
+ */
699
+ region: z.ZodOptional<z.ZodString>;
700
+ /**
701
+ * Credentials
702
+ */
703
+ credentials: z.ZodOptional<z.ZodObject<{
704
+ accessKeyId: z.ZodOptional<z.ZodString>;
705
+ secretAccessKey: z.ZodOptional<z.ZodString>;
706
+ apiKey: z.ZodOptional<z.ZodString>;
707
+ projectId: z.ZodOptional<z.ZodString>;
708
+ }, "strip", z.ZodTypeAny, {
709
+ accessKeyId?: string | undefined;
710
+ secretAccessKey?: string | undefined;
711
+ apiKey?: string | undefined;
712
+ projectId?: string | undefined;
713
+ }, {
714
+ accessKeyId?: string | undefined;
715
+ secretAccessKey?: string | undefined;
716
+ apiKey?: string | undefined;
717
+ projectId?: string | undefined;
718
+ }>>;
719
+ /**
720
+ * Log group/stream/index name
721
+ */
722
+ logGroup: z.ZodOptional<z.ZodString>;
723
+ logStream: z.ZodOptional<z.ZodString>;
724
+ index: z.ZodOptional<z.ZodString>;
725
+ /**
726
+ * Service-specific configuration
727
+ */
728
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
729
+ }, "strip", z.ZodTypeAny, {
730
+ credentials?: {
731
+ accessKeyId?: string | undefined;
732
+ secretAccessKey?: string | undefined;
733
+ apiKey?: string | undefined;
734
+ projectId?: string | undefined;
735
+ } | undefined;
736
+ index?: string | undefined;
737
+ region?: string | undefined;
738
+ endpoint?: string | undefined;
739
+ config?: Record<string, any> | undefined;
740
+ logGroup?: string | undefined;
741
+ logStream?: string | undefined;
742
+ }, {
743
+ credentials?: {
744
+ accessKeyId?: string | undefined;
745
+ secretAccessKey?: string | undefined;
746
+ apiKey?: string | undefined;
747
+ projectId?: string | undefined;
748
+ } | undefined;
749
+ index?: string | undefined;
750
+ region?: string | undefined;
751
+ endpoint?: string | undefined;
752
+ config?: Record<string, any> | undefined;
753
+ logGroup?: string | undefined;
754
+ logStream?: string | undefined;
755
+ }>>;
756
+ /**
757
+ * Format for this destination
758
+ */
759
+ format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "text", "pretty"]>>>;
760
+ /**
761
+ * Filter function reference (runtime only)
762
+ */
763
+ filterId: z.ZodOptional<z.ZodString>;
764
+ }, "strip", z.ZodTypeAny, {
765
+ type: "custom" | "file" | "redis" | "elasticsearch" | "kafka" | "console" | "syslog" | "cloudwatch" | "stackdriver" | "azure_monitor" | "datadog" | "splunk" | "loki" | "http";
766
+ enabled: boolean;
767
+ name: string;
768
+ format: "text" | "json" | "pretty";
769
+ level: "error" | "info" | "warn" | "debug" | "fatal" | "trace";
770
+ file?: {
771
+ path: string;
772
+ encoding: string;
773
+ append: boolean;
774
+ rotation?: {
775
+ maxSize: string;
776
+ maxFiles: number;
777
+ compress: boolean;
778
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
779
+ } | undefined;
780
+ } | undefined;
781
+ console?: {
782
+ colors: boolean;
783
+ stream: "stdout" | "stderr";
784
+ prettyPrint: boolean;
785
+ } | undefined;
786
+ http?: {
787
+ url: string;
788
+ method: "POST" | "PUT";
789
+ timeout: number;
790
+ headers?: Record<string, string> | undefined;
791
+ retry?: {
792
+ backoffMultiplier: number;
793
+ maxAttempts: number;
794
+ initialDelay: number;
795
+ } | undefined;
796
+ batch?: {
797
+ maxSize: number;
798
+ flushInterval: number;
799
+ } | undefined;
800
+ auth?: {
801
+ type: "basic" | "bearer" | "api_key";
802
+ apiKeyHeader: string;
803
+ password?: string | undefined;
804
+ token?: string | undefined;
805
+ apiKey?: string | undefined;
806
+ username?: string | undefined;
807
+ } | undefined;
808
+ } | undefined;
809
+ externalService?: {
810
+ credentials?: {
811
+ accessKeyId?: string | undefined;
812
+ secretAccessKey?: string | undefined;
813
+ apiKey?: string | undefined;
814
+ projectId?: string | undefined;
815
+ } | undefined;
816
+ index?: string | undefined;
817
+ region?: string | undefined;
818
+ endpoint?: string | undefined;
819
+ config?: Record<string, any> | undefined;
820
+ logGroup?: string | undefined;
821
+ logStream?: string | undefined;
822
+ } | undefined;
823
+ filterId?: string | undefined;
824
+ }, {
825
+ type: "custom" | "file" | "redis" | "elasticsearch" | "kafka" | "console" | "syslog" | "cloudwatch" | "stackdriver" | "azure_monitor" | "datadog" | "splunk" | "loki" | "http";
826
+ name: string;
827
+ enabled?: boolean | undefined;
828
+ file?: {
829
+ path: string;
830
+ rotation?: {
831
+ maxSize?: string | undefined;
832
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
833
+ maxFiles?: number | undefined;
834
+ compress?: boolean | undefined;
835
+ } | undefined;
836
+ encoding?: string | undefined;
837
+ append?: boolean | undefined;
838
+ } | undefined;
839
+ format?: "text" | "json" | "pretty" | undefined;
840
+ level?: "error" | "info" | "warn" | "debug" | "fatal" | "trace" | undefined;
841
+ console?: {
842
+ colors?: boolean | undefined;
843
+ stream?: "stdout" | "stderr" | undefined;
844
+ prettyPrint?: boolean | undefined;
845
+ } | undefined;
846
+ http?: {
847
+ url: string;
848
+ method?: "POST" | "PUT" | undefined;
849
+ headers?: Record<string, string> | undefined;
850
+ timeout?: number | undefined;
851
+ retry?: {
852
+ backoffMultiplier?: number | undefined;
853
+ maxAttempts?: number | undefined;
854
+ initialDelay?: number | undefined;
855
+ } | undefined;
856
+ batch?: {
857
+ maxSize?: number | undefined;
858
+ flushInterval?: number | undefined;
859
+ } | undefined;
860
+ auth?: {
861
+ type: "basic" | "bearer" | "api_key";
862
+ password?: string | undefined;
863
+ token?: string | undefined;
864
+ apiKey?: string | undefined;
865
+ username?: string | undefined;
866
+ apiKeyHeader?: string | undefined;
867
+ } | undefined;
868
+ } | undefined;
869
+ externalService?: {
870
+ credentials?: {
871
+ accessKeyId?: string | undefined;
872
+ secretAccessKey?: string | undefined;
873
+ apiKey?: string | undefined;
874
+ projectId?: string | undefined;
875
+ } | undefined;
876
+ index?: string | undefined;
877
+ region?: string | undefined;
878
+ endpoint?: string | undefined;
879
+ config?: Record<string, any> | undefined;
880
+ logGroup?: string | undefined;
881
+ logStream?: string | undefined;
882
+ } | undefined;
883
+ filterId?: string | undefined;
884
+ }>;
885
+ export type LogDestination = z.infer<typeof LogDestinationSchema>;
886
+ /**
887
+ * Log Enrichment Configuration
888
+ * Add contextual data to all log entries
889
+ */
890
+ export declare const LogEnrichmentConfigSchema: z.ZodObject<{
891
+ /**
892
+ * Static fields to add to all logs
893
+ */
894
+ staticFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
895
+ /**
896
+ * Dynamic field enrichers (runtime only)
897
+ * References to functions that add dynamic context
898
+ */
899
+ dynamicEnrichers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
900
+ /**
901
+ * Add hostname
902
+ */
903
+ addHostname: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
904
+ /**
905
+ * Add process ID
906
+ */
907
+ addProcessId: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
908
+ /**
909
+ * Add environment info
910
+ */
911
+ addEnvironment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
912
+ /**
913
+ * Add timestamp in additional formats
914
+ */
915
+ addTimestampFormats: z.ZodOptional<z.ZodObject<{
916
+ unix: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
917
+ iso: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
918
+ }, "strip", z.ZodTypeAny, {
919
+ unix: boolean;
920
+ iso: boolean;
921
+ }, {
922
+ unix?: boolean | undefined;
923
+ iso?: boolean | undefined;
924
+ }>>;
925
+ /**
926
+ * Add caller information (file, line, function)
927
+ */
928
+ addCaller: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
929
+ /**
930
+ * Add correlation IDs
931
+ */
932
+ addCorrelationIds: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
933
+ }, "strip", z.ZodTypeAny, {
934
+ addHostname: boolean;
935
+ addProcessId: boolean;
936
+ addEnvironment: boolean;
937
+ addCaller: boolean;
938
+ addCorrelationIds: boolean;
939
+ staticFields?: Record<string, any> | undefined;
940
+ dynamicEnrichers?: string[] | undefined;
941
+ addTimestampFormats?: {
942
+ unix: boolean;
943
+ iso: boolean;
944
+ } | undefined;
945
+ }, {
946
+ staticFields?: Record<string, any> | undefined;
947
+ dynamicEnrichers?: string[] | undefined;
948
+ addHostname?: boolean | undefined;
949
+ addProcessId?: boolean | undefined;
950
+ addEnvironment?: boolean | undefined;
951
+ addTimestampFormats?: {
952
+ unix?: boolean | undefined;
953
+ iso?: boolean | undefined;
954
+ } | undefined;
955
+ addCaller?: boolean | undefined;
956
+ addCorrelationIds?: boolean | undefined;
957
+ }>;
958
+ export type LogEnrichmentConfig = z.infer<typeof LogEnrichmentConfigSchema>;
959
+ /**
960
+ * Structured Log Entry Schema
961
+ * Enhanced structured log record with enrichment
962
+ */
963
+ export declare const StructuredLogEntrySchema: z.ZodObject<{
964
+ /**
965
+ * Timestamp (ISO 8601)
966
+ */
967
+ timestamp: z.ZodString;
968
+ /**
969
+ * Log level
970
+ */
971
+ level: z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>;
972
+ /**
973
+ * Log message
974
+ */
975
+ message: z.ZodString;
976
+ /**
977
+ * Structured context data
978
+ */
979
+ context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
980
+ /**
981
+ * Error information
982
+ */
983
+ error: z.ZodOptional<z.ZodObject<{
984
+ name: z.ZodOptional<z.ZodString>;
985
+ message: z.ZodOptional<z.ZodString>;
986
+ stack: z.ZodOptional<z.ZodString>;
987
+ code: z.ZodOptional<z.ZodString>;
988
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
989
+ }, "strip", z.ZodTypeAny, {
990
+ message?: string | undefined;
991
+ code?: string | undefined;
992
+ name?: string | undefined;
993
+ stack?: string | undefined;
994
+ details?: Record<string, any> | undefined;
995
+ }, {
996
+ message?: string | undefined;
997
+ code?: string | undefined;
998
+ name?: string | undefined;
999
+ stack?: string | undefined;
1000
+ details?: Record<string, any> | undefined;
1001
+ }>>;
1002
+ /**
1003
+ * Trace context
1004
+ */
1005
+ trace: z.ZodOptional<z.ZodObject<{
1006
+ traceId: z.ZodString;
1007
+ spanId: z.ZodString;
1008
+ parentSpanId: z.ZodOptional<z.ZodString>;
1009
+ traceFlags: z.ZodOptional<z.ZodNumber>;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ traceId: string;
1012
+ spanId: string;
1013
+ parentSpanId?: string | undefined;
1014
+ traceFlags?: number | undefined;
1015
+ }, {
1016
+ traceId: string;
1017
+ spanId: string;
1018
+ parentSpanId?: string | undefined;
1019
+ traceFlags?: number | undefined;
1020
+ }>>;
1021
+ /**
1022
+ * Source information
1023
+ */
1024
+ source: z.ZodOptional<z.ZodObject<{
1025
+ service: z.ZodOptional<z.ZodString>;
1026
+ component: z.ZodOptional<z.ZodString>;
1027
+ file: z.ZodOptional<z.ZodString>;
1028
+ line: z.ZodOptional<z.ZodNumber>;
1029
+ function: z.ZodOptional<z.ZodString>;
1030
+ }, "strip", z.ZodTypeAny, {
1031
+ function?: string | undefined;
1032
+ file?: string | undefined;
1033
+ line?: number | undefined;
1034
+ component?: string | undefined;
1035
+ service?: string | undefined;
1036
+ }, {
1037
+ function?: string | undefined;
1038
+ file?: string | undefined;
1039
+ line?: number | undefined;
1040
+ component?: string | undefined;
1041
+ service?: string | undefined;
1042
+ }>>;
1043
+ /**
1044
+ * Host information
1045
+ */
1046
+ host: z.ZodOptional<z.ZodObject<{
1047
+ hostname: z.ZodOptional<z.ZodString>;
1048
+ pid: z.ZodOptional<z.ZodNumber>;
1049
+ ip: z.ZodOptional<z.ZodString>;
1050
+ }, "strip", z.ZodTypeAny, {
1051
+ ip?: string | undefined;
1052
+ hostname?: string | undefined;
1053
+ pid?: number | undefined;
1054
+ }, {
1055
+ ip?: string | undefined;
1056
+ hostname?: string | undefined;
1057
+ pid?: number | undefined;
1058
+ }>>;
1059
+ /**
1060
+ * Environment
1061
+ */
1062
+ environment: z.ZodOptional<z.ZodString>;
1063
+ /**
1064
+ * User information
1065
+ */
1066
+ user: z.ZodOptional<z.ZodObject<{
1067
+ id: z.ZodOptional<z.ZodString>;
1068
+ username: z.ZodOptional<z.ZodString>;
1069
+ email: z.ZodOptional<z.ZodString>;
1070
+ }, "strip", z.ZodTypeAny, {
1071
+ email?: string | undefined;
1072
+ id?: string | undefined;
1073
+ username?: string | undefined;
1074
+ }, {
1075
+ email?: string | undefined;
1076
+ id?: string | undefined;
1077
+ username?: string | undefined;
1078
+ }>>;
1079
+ /**
1080
+ * Request information
1081
+ */
1082
+ request: z.ZodOptional<z.ZodObject<{
1083
+ id: z.ZodOptional<z.ZodString>;
1084
+ method: z.ZodOptional<z.ZodString>;
1085
+ path: z.ZodOptional<z.ZodString>;
1086
+ userAgent: z.ZodOptional<z.ZodString>;
1087
+ ip: z.ZodOptional<z.ZodString>;
1088
+ }, "strip", z.ZodTypeAny, {
1089
+ path?: string | undefined;
1090
+ method?: string | undefined;
1091
+ id?: string | undefined;
1092
+ userAgent?: string | undefined;
1093
+ ip?: string | undefined;
1094
+ }, {
1095
+ path?: string | undefined;
1096
+ method?: string | undefined;
1097
+ id?: string | undefined;
1098
+ userAgent?: string | undefined;
1099
+ ip?: string | undefined;
1100
+ }>>;
1101
+ /**
1102
+ * Custom labels/tags
1103
+ */
1104
+ labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1105
+ /**
1106
+ * Additional metadata
1107
+ */
1108
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1109
+ }, "strip", z.ZodTypeAny, {
1110
+ message: string;
1111
+ timestamp: string;
1112
+ level: "error" | "info" | "warn" | "debug" | "fatal" | "trace";
1113
+ source?: {
1114
+ function?: string | undefined;
1115
+ file?: string | undefined;
1116
+ line?: number | undefined;
1117
+ component?: string | undefined;
1118
+ service?: string | undefined;
1119
+ } | undefined;
1120
+ error?: {
1121
+ message?: string | undefined;
1122
+ code?: string | undefined;
1123
+ name?: string | undefined;
1124
+ stack?: string | undefined;
1125
+ details?: Record<string, any> | undefined;
1126
+ } | undefined;
1127
+ metadata?: Record<string, any> | undefined;
1128
+ user?: {
1129
+ email?: string | undefined;
1130
+ id?: string | undefined;
1131
+ username?: string | undefined;
1132
+ } | undefined;
1133
+ context?: Record<string, any> | undefined;
1134
+ environment?: string | undefined;
1135
+ trace?: {
1136
+ traceId: string;
1137
+ spanId: string;
1138
+ parentSpanId?: string | undefined;
1139
+ traceFlags?: number | undefined;
1140
+ } | undefined;
1141
+ host?: {
1142
+ ip?: string | undefined;
1143
+ hostname?: string | undefined;
1144
+ pid?: number | undefined;
1145
+ } | undefined;
1146
+ request?: {
1147
+ path?: string | undefined;
1148
+ method?: string | undefined;
1149
+ id?: string | undefined;
1150
+ userAgent?: string | undefined;
1151
+ ip?: string | undefined;
1152
+ } | undefined;
1153
+ labels?: Record<string, string> | undefined;
1154
+ }, {
1155
+ message: string;
1156
+ timestamp: string;
1157
+ level: "error" | "info" | "warn" | "debug" | "fatal" | "trace";
1158
+ source?: {
1159
+ function?: string | undefined;
1160
+ file?: string | undefined;
1161
+ line?: number | undefined;
1162
+ component?: string | undefined;
1163
+ service?: string | undefined;
1164
+ } | undefined;
1165
+ error?: {
1166
+ message?: string | undefined;
1167
+ code?: string | undefined;
1168
+ name?: string | undefined;
1169
+ stack?: string | undefined;
1170
+ details?: Record<string, any> | undefined;
1171
+ } | undefined;
1172
+ metadata?: Record<string, any> | undefined;
1173
+ user?: {
1174
+ email?: string | undefined;
1175
+ id?: string | undefined;
1176
+ username?: string | undefined;
1177
+ } | undefined;
1178
+ context?: Record<string, any> | undefined;
1179
+ environment?: string | undefined;
1180
+ trace?: {
1181
+ traceId: string;
1182
+ spanId: string;
1183
+ parentSpanId?: string | undefined;
1184
+ traceFlags?: number | undefined;
1185
+ } | undefined;
1186
+ host?: {
1187
+ ip?: string | undefined;
1188
+ hostname?: string | undefined;
1189
+ pid?: number | undefined;
1190
+ } | undefined;
1191
+ request?: {
1192
+ path?: string | undefined;
1193
+ method?: string | undefined;
1194
+ id?: string | undefined;
1195
+ userAgent?: string | undefined;
1196
+ ip?: string | undefined;
1197
+ } | undefined;
1198
+ labels?: Record<string, string> | undefined;
1199
+ }>;
1200
+ export type StructuredLogEntry = z.infer<typeof StructuredLogEntrySchema>;
1201
+ /**
1202
+ * Logging Configuration Schema
1203
+ * Main configuration for the logging system
1204
+ */
1205
+ export declare const LoggingConfigSchema: z.ZodObject<{
1206
+ /**
1207
+ * Configuration name
1208
+ */
1209
+ name: z.ZodString;
1210
+ /**
1211
+ * Display label
1212
+ */
1213
+ label: z.ZodString;
1214
+ /**
1215
+ * Enable logging
1216
+ */
1217
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1218
+ /**
1219
+ * Global minimum log level
1220
+ */
1221
+ level: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
1222
+ /**
1223
+ * Default logger configuration
1224
+ * Basic logger config for the kernel
1225
+ */
1226
+ default: z.ZodOptional<z.ZodObject<{
1227
+ /**
1228
+ * Logger name
1229
+ */
1230
+ name: z.ZodOptional<z.ZodString>;
1231
+ /**
1232
+ * Minimum level to log
1233
+ */
1234
+ level: z.ZodDefault<z.ZodOptional<z.ZodEnum<["debug", "info", "warn", "error", "fatal"]>>>;
1235
+ /**
1236
+ * Output format
1237
+ */
1238
+ format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "text", "pretty"]>>>;
1239
+ /**
1240
+ * Redact sensitive keys
1241
+ */
1242
+ redact: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1243
+ /**
1244
+ * Enable source location (file/line)
1245
+ */
1246
+ sourceLocation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1247
+ /**
1248
+ * Log to file (optional)
1249
+ */
1250
+ file: z.ZodOptional<z.ZodString>;
1251
+ /**
1252
+ * Log rotation config (if file is set)
1253
+ */
1254
+ rotation: z.ZodOptional<z.ZodObject<{
1255
+ maxSize: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1256
+ maxFiles: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1257
+ }, "strip", z.ZodTypeAny, {
1258
+ maxSize: string;
1259
+ maxFiles: number;
1260
+ }, {
1261
+ maxSize?: string | undefined;
1262
+ maxFiles?: number | undefined;
1263
+ }>>;
1264
+ }, "strip", z.ZodTypeAny, {
1265
+ redact: string[];
1266
+ format: "text" | "json" | "pretty";
1267
+ level: "error" | "info" | "warn" | "debug" | "fatal";
1268
+ sourceLocation: boolean;
1269
+ file?: string | undefined;
1270
+ name?: string | undefined;
1271
+ rotation?: {
1272
+ maxSize: string;
1273
+ maxFiles: number;
1274
+ } | undefined;
1275
+ }, {
1276
+ redact?: string[] | undefined;
1277
+ file?: string | undefined;
1278
+ name?: string | undefined;
1279
+ format?: "text" | "json" | "pretty" | undefined;
1280
+ level?: "error" | "info" | "warn" | "debug" | "fatal" | undefined;
1281
+ sourceLocation?: boolean | undefined;
1282
+ rotation?: {
1283
+ maxSize?: string | undefined;
1284
+ maxFiles?: number | undefined;
1285
+ } | undefined;
1286
+ }>>;
1287
+ /**
1288
+ * Named logger configurations
1289
+ * Map of logger name to logger config for different components/modules
1290
+ */
1291
+ loggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1292
+ /**
1293
+ * Logger name
1294
+ */
1295
+ name: z.ZodOptional<z.ZodString>;
1296
+ /**
1297
+ * Minimum level to log
1298
+ */
1299
+ level: z.ZodDefault<z.ZodOptional<z.ZodEnum<["debug", "info", "warn", "error", "fatal"]>>>;
1300
+ /**
1301
+ * Output format
1302
+ */
1303
+ format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "text", "pretty"]>>>;
1304
+ /**
1305
+ * Redact sensitive keys
1306
+ */
1307
+ redact: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1308
+ /**
1309
+ * Enable source location (file/line)
1310
+ */
1311
+ sourceLocation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1312
+ /**
1313
+ * Log to file (optional)
1314
+ */
1315
+ file: z.ZodOptional<z.ZodString>;
1316
+ /**
1317
+ * Log rotation config (if file is set)
1318
+ */
1319
+ rotation: z.ZodOptional<z.ZodObject<{
1320
+ maxSize: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1321
+ maxFiles: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1322
+ }, "strip", z.ZodTypeAny, {
1323
+ maxSize: string;
1324
+ maxFiles: number;
1325
+ }, {
1326
+ maxSize?: string | undefined;
1327
+ maxFiles?: number | undefined;
1328
+ }>>;
1329
+ }, "strip", z.ZodTypeAny, {
1330
+ redact: string[];
1331
+ format: "text" | "json" | "pretty";
1332
+ level: "error" | "info" | "warn" | "debug" | "fatal";
1333
+ sourceLocation: boolean;
1334
+ file?: string | undefined;
1335
+ name?: string | undefined;
1336
+ rotation?: {
1337
+ maxSize: string;
1338
+ maxFiles: number;
1339
+ } | undefined;
1340
+ }, {
1341
+ redact?: string[] | undefined;
1342
+ file?: string | undefined;
1343
+ name?: string | undefined;
1344
+ format?: "text" | "json" | "pretty" | undefined;
1345
+ level?: "error" | "info" | "warn" | "debug" | "fatal" | undefined;
1346
+ sourceLocation?: boolean | undefined;
1347
+ rotation?: {
1348
+ maxSize?: string | undefined;
1349
+ maxFiles?: number | undefined;
1350
+ } | undefined;
1351
+ }>>>;
1352
+ /**
1353
+ * Log destinations
1354
+ */
1355
+ destinations: z.ZodArray<z.ZodObject<{
1356
+ /**
1357
+ * Destination name
1358
+ */
1359
+ name: z.ZodString;
1360
+ /**
1361
+ * Destination type
1362
+ */
1363
+ type: z.ZodEnum<["console", "file", "syslog", "elasticsearch", "cloudwatch", "stackdriver", "azure_monitor", "datadog", "splunk", "loki", "http", "kafka", "redis", "custom"]>;
1364
+ /**
1365
+ * Minimum log level for this destination
1366
+ */
1367
+ level: z.ZodDefault<z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>>;
1368
+ /**
1369
+ * Enabled flag
1370
+ */
1371
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1372
+ /**
1373
+ * Console configuration
1374
+ */
1375
+ console: z.ZodOptional<z.ZodObject<{
1376
+ /**
1377
+ * Output stream
1378
+ */
1379
+ stream: z.ZodDefault<z.ZodOptional<z.ZodEnum<["stdout", "stderr"]>>>;
1380
+ /**
1381
+ * Enable colored output
1382
+ */
1383
+ colors: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1384
+ /**
1385
+ * Pretty print JSON
1386
+ */
1387
+ prettyPrint: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1388
+ }, "strip", z.ZodTypeAny, {
1389
+ colors: boolean;
1390
+ stream: "stdout" | "stderr";
1391
+ prettyPrint: boolean;
1392
+ }, {
1393
+ colors?: boolean | undefined;
1394
+ stream?: "stdout" | "stderr" | undefined;
1395
+ prettyPrint?: boolean | undefined;
1396
+ }>>;
1397
+ /**
1398
+ * File configuration
1399
+ */
1400
+ file: z.ZodOptional<z.ZodObject<{
1401
+ /**
1402
+ * File path
1403
+ */
1404
+ path: z.ZodString;
1405
+ /**
1406
+ * Enable log rotation
1407
+ */
1408
+ rotation: z.ZodOptional<z.ZodObject<{
1409
+ /**
1410
+ * Maximum file size before rotation (e.g., '10m', '100k', '1g')
1411
+ */
1412
+ maxSize: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1413
+ /**
1414
+ * Maximum number of files to keep
1415
+ */
1416
+ maxFiles: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1417
+ /**
1418
+ * Compress rotated files
1419
+ */
1420
+ compress: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1421
+ /**
1422
+ * Rotation interval (e.g., 'daily', 'weekly')
1423
+ */
1424
+ interval: z.ZodOptional<z.ZodEnum<["hourly", "daily", "weekly", "monthly"]>>;
1425
+ }, "strip", z.ZodTypeAny, {
1426
+ maxSize: string;
1427
+ maxFiles: number;
1428
+ compress: boolean;
1429
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
1430
+ }, {
1431
+ maxSize?: string | undefined;
1432
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
1433
+ maxFiles?: number | undefined;
1434
+ compress?: boolean | undefined;
1435
+ }>>;
1436
+ /**
1437
+ * File encoding
1438
+ */
1439
+ encoding: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1440
+ /**
1441
+ * Append to existing file
1442
+ */
1443
+ append: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1444
+ }, "strip", z.ZodTypeAny, {
1445
+ path: string;
1446
+ encoding: string;
1447
+ append: boolean;
1448
+ rotation?: {
1449
+ maxSize: string;
1450
+ maxFiles: number;
1451
+ compress: boolean;
1452
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
1453
+ } | undefined;
1454
+ }, {
1455
+ path: string;
1456
+ rotation?: {
1457
+ maxSize?: string | undefined;
1458
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
1459
+ maxFiles?: number | undefined;
1460
+ compress?: boolean | undefined;
1461
+ } | undefined;
1462
+ encoding?: string | undefined;
1463
+ append?: boolean | undefined;
1464
+ }>>;
1465
+ /**
1466
+ * HTTP configuration
1467
+ */
1468
+ http: z.ZodOptional<z.ZodObject<{
1469
+ /**
1470
+ * HTTP endpoint URL
1471
+ */
1472
+ url: z.ZodString;
1473
+ /**
1474
+ * HTTP method
1475
+ */
1476
+ method: z.ZodDefault<z.ZodOptional<z.ZodEnum<["POST", "PUT"]>>>;
1477
+ /**
1478
+ * Headers to include
1479
+ */
1480
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1481
+ /**
1482
+ * Authentication
1483
+ */
1484
+ auth: z.ZodOptional<z.ZodObject<{
1485
+ type: z.ZodEnum<["basic", "bearer", "api_key"]>;
1486
+ username: z.ZodOptional<z.ZodString>;
1487
+ password: z.ZodOptional<z.ZodString>;
1488
+ token: z.ZodOptional<z.ZodString>;
1489
+ apiKey: z.ZodOptional<z.ZodString>;
1490
+ apiKeyHeader: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1491
+ }, "strip", z.ZodTypeAny, {
1492
+ type: "basic" | "bearer" | "api_key";
1493
+ apiKeyHeader: string;
1494
+ password?: string | undefined;
1495
+ token?: string | undefined;
1496
+ apiKey?: string | undefined;
1497
+ username?: string | undefined;
1498
+ }, {
1499
+ type: "basic" | "bearer" | "api_key";
1500
+ password?: string | undefined;
1501
+ token?: string | undefined;
1502
+ apiKey?: string | undefined;
1503
+ username?: string | undefined;
1504
+ apiKeyHeader?: string | undefined;
1505
+ }>>;
1506
+ /**
1507
+ * Batch configuration
1508
+ */
1509
+ batch: z.ZodOptional<z.ZodObject<{
1510
+ /**
1511
+ * Maximum batch size
1512
+ */
1513
+ maxSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1514
+ /**
1515
+ * Flush interval in milliseconds
1516
+ */
1517
+ flushInterval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1518
+ }, "strip", z.ZodTypeAny, {
1519
+ maxSize: number;
1520
+ flushInterval: number;
1521
+ }, {
1522
+ maxSize?: number | undefined;
1523
+ flushInterval?: number | undefined;
1524
+ }>>;
1525
+ /**
1526
+ * Retry configuration
1527
+ */
1528
+ retry: z.ZodOptional<z.ZodObject<{
1529
+ /**
1530
+ * Maximum retry attempts
1531
+ */
1532
+ maxAttempts: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1533
+ /**
1534
+ * Initial retry delay in milliseconds
1535
+ */
1536
+ initialDelay: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1537
+ /**
1538
+ * Backoff multiplier
1539
+ */
1540
+ backoffMultiplier: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1541
+ }, "strip", z.ZodTypeAny, {
1542
+ backoffMultiplier: number;
1543
+ maxAttempts: number;
1544
+ initialDelay: number;
1545
+ }, {
1546
+ backoffMultiplier?: number | undefined;
1547
+ maxAttempts?: number | undefined;
1548
+ initialDelay?: number | undefined;
1549
+ }>>;
1550
+ /**
1551
+ * Timeout in milliseconds
1552
+ */
1553
+ timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1554
+ }, "strip", z.ZodTypeAny, {
1555
+ url: string;
1556
+ method: "POST" | "PUT";
1557
+ timeout: number;
1558
+ headers?: Record<string, string> | undefined;
1559
+ retry?: {
1560
+ backoffMultiplier: number;
1561
+ maxAttempts: number;
1562
+ initialDelay: number;
1563
+ } | undefined;
1564
+ batch?: {
1565
+ maxSize: number;
1566
+ flushInterval: number;
1567
+ } | undefined;
1568
+ auth?: {
1569
+ type: "basic" | "bearer" | "api_key";
1570
+ apiKeyHeader: string;
1571
+ password?: string | undefined;
1572
+ token?: string | undefined;
1573
+ apiKey?: string | undefined;
1574
+ username?: string | undefined;
1575
+ } | undefined;
1576
+ }, {
1577
+ url: string;
1578
+ method?: "POST" | "PUT" | undefined;
1579
+ headers?: Record<string, string> | undefined;
1580
+ timeout?: number | undefined;
1581
+ retry?: {
1582
+ backoffMultiplier?: number | undefined;
1583
+ maxAttempts?: number | undefined;
1584
+ initialDelay?: number | undefined;
1585
+ } | undefined;
1586
+ batch?: {
1587
+ maxSize?: number | undefined;
1588
+ flushInterval?: number | undefined;
1589
+ } | undefined;
1590
+ auth?: {
1591
+ type: "basic" | "bearer" | "api_key";
1592
+ password?: string | undefined;
1593
+ token?: string | undefined;
1594
+ apiKey?: string | undefined;
1595
+ username?: string | undefined;
1596
+ apiKeyHeader?: string | undefined;
1597
+ } | undefined;
1598
+ }>>;
1599
+ /**
1600
+ * External service configuration
1601
+ */
1602
+ externalService: z.ZodOptional<z.ZodObject<{
1603
+ /**
1604
+ * Service-specific endpoint
1605
+ */
1606
+ endpoint: z.ZodOptional<z.ZodString>;
1607
+ /**
1608
+ * Region (for cloud services)
1609
+ */
1610
+ region: z.ZodOptional<z.ZodString>;
1611
+ /**
1612
+ * Credentials
1613
+ */
1614
+ credentials: z.ZodOptional<z.ZodObject<{
1615
+ accessKeyId: z.ZodOptional<z.ZodString>;
1616
+ secretAccessKey: z.ZodOptional<z.ZodString>;
1617
+ apiKey: z.ZodOptional<z.ZodString>;
1618
+ projectId: z.ZodOptional<z.ZodString>;
1619
+ }, "strip", z.ZodTypeAny, {
1620
+ accessKeyId?: string | undefined;
1621
+ secretAccessKey?: string | undefined;
1622
+ apiKey?: string | undefined;
1623
+ projectId?: string | undefined;
1624
+ }, {
1625
+ accessKeyId?: string | undefined;
1626
+ secretAccessKey?: string | undefined;
1627
+ apiKey?: string | undefined;
1628
+ projectId?: string | undefined;
1629
+ }>>;
1630
+ /**
1631
+ * Log group/stream/index name
1632
+ */
1633
+ logGroup: z.ZodOptional<z.ZodString>;
1634
+ logStream: z.ZodOptional<z.ZodString>;
1635
+ index: z.ZodOptional<z.ZodString>;
1636
+ /**
1637
+ * Service-specific configuration
1638
+ */
1639
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1640
+ }, "strip", z.ZodTypeAny, {
1641
+ credentials?: {
1642
+ accessKeyId?: string | undefined;
1643
+ secretAccessKey?: string | undefined;
1644
+ apiKey?: string | undefined;
1645
+ projectId?: string | undefined;
1646
+ } | undefined;
1647
+ index?: string | undefined;
1648
+ region?: string | undefined;
1649
+ endpoint?: string | undefined;
1650
+ config?: Record<string, any> | undefined;
1651
+ logGroup?: string | undefined;
1652
+ logStream?: string | undefined;
1653
+ }, {
1654
+ credentials?: {
1655
+ accessKeyId?: string | undefined;
1656
+ secretAccessKey?: string | undefined;
1657
+ apiKey?: string | undefined;
1658
+ projectId?: string | undefined;
1659
+ } | undefined;
1660
+ index?: string | undefined;
1661
+ region?: string | undefined;
1662
+ endpoint?: string | undefined;
1663
+ config?: Record<string, any> | undefined;
1664
+ logGroup?: string | undefined;
1665
+ logStream?: string | undefined;
1666
+ }>>;
1667
+ /**
1668
+ * Format for this destination
1669
+ */
1670
+ format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "text", "pretty"]>>>;
1671
+ /**
1672
+ * Filter function reference (runtime only)
1673
+ */
1674
+ filterId: z.ZodOptional<z.ZodString>;
1675
+ }, "strip", z.ZodTypeAny, {
1676
+ type: "custom" | "file" | "redis" | "elasticsearch" | "kafka" | "console" | "syslog" | "cloudwatch" | "stackdriver" | "azure_monitor" | "datadog" | "splunk" | "loki" | "http";
1677
+ enabled: boolean;
1678
+ name: string;
1679
+ format: "text" | "json" | "pretty";
1680
+ level: "error" | "info" | "warn" | "debug" | "fatal" | "trace";
1681
+ file?: {
1682
+ path: string;
1683
+ encoding: string;
1684
+ append: boolean;
1685
+ rotation?: {
1686
+ maxSize: string;
1687
+ maxFiles: number;
1688
+ compress: boolean;
1689
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
1690
+ } | undefined;
1691
+ } | undefined;
1692
+ console?: {
1693
+ colors: boolean;
1694
+ stream: "stdout" | "stderr";
1695
+ prettyPrint: boolean;
1696
+ } | undefined;
1697
+ http?: {
1698
+ url: string;
1699
+ method: "POST" | "PUT";
1700
+ timeout: number;
1701
+ headers?: Record<string, string> | undefined;
1702
+ retry?: {
1703
+ backoffMultiplier: number;
1704
+ maxAttempts: number;
1705
+ initialDelay: number;
1706
+ } | undefined;
1707
+ batch?: {
1708
+ maxSize: number;
1709
+ flushInterval: number;
1710
+ } | undefined;
1711
+ auth?: {
1712
+ type: "basic" | "bearer" | "api_key";
1713
+ apiKeyHeader: string;
1714
+ password?: string | undefined;
1715
+ token?: string | undefined;
1716
+ apiKey?: string | undefined;
1717
+ username?: string | undefined;
1718
+ } | undefined;
1719
+ } | undefined;
1720
+ externalService?: {
1721
+ credentials?: {
1722
+ accessKeyId?: string | undefined;
1723
+ secretAccessKey?: string | undefined;
1724
+ apiKey?: string | undefined;
1725
+ projectId?: string | undefined;
1726
+ } | undefined;
1727
+ index?: string | undefined;
1728
+ region?: string | undefined;
1729
+ endpoint?: string | undefined;
1730
+ config?: Record<string, any> | undefined;
1731
+ logGroup?: string | undefined;
1732
+ logStream?: string | undefined;
1733
+ } | undefined;
1734
+ filterId?: string | undefined;
1735
+ }, {
1736
+ type: "custom" | "file" | "redis" | "elasticsearch" | "kafka" | "console" | "syslog" | "cloudwatch" | "stackdriver" | "azure_monitor" | "datadog" | "splunk" | "loki" | "http";
1737
+ name: string;
1738
+ enabled?: boolean | undefined;
1739
+ file?: {
1740
+ path: string;
1741
+ rotation?: {
1742
+ maxSize?: string | undefined;
1743
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
1744
+ maxFiles?: number | undefined;
1745
+ compress?: boolean | undefined;
1746
+ } | undefined;
1747
+ encoding?: string | undefined;
1748
+ append?: boolean | undefined;
1749
+ } | undefined;
1750
+ format?: "text" | "json" | "pretty" | undefined;
1751
+ level?: "error" | "info" | "warn" | "debug" | "fatal" | "trace" | undefined;
1752
+ console?: {
1753
+ colors?: boolean | undefined;
1754
+ stream?: "stdout" | "stderr" | undefined;
1755
+ prettyPrint?: boolean | undefined;
1756
+ } | undefined;
1757
+ http?: {
1758
+ url: string;
1759
+ method?: "POST" | "PUT" | undefined;
1760
+ headers?: Record<string, string> | undefined;
1761
+ timeout?: number | undefined;
1762
+ retry?: {
1763
+ backoffMultiplier?: number | undefined;
1764
+ maxAttempts?: number | undefined;
1765
+ initialDelay?: number | undefined;
1766
+ } | undefined;
1767
+ batch?: {
1768
+ maxSize?: number | undefined;
1769
+ flushInterval?: number | undefined;
1770
+ } | undefined;
1771
+ auth?: {
1772
+ type: "basic" | "bearer" | "api_key";
1773
+ password?: string | undefined;
1774
+ token?: string | undefined;
1775
+ apiKey?: string | undefined;
1776
+ username?: string | undefined;
1777
+ apiKeyHeader?: string | undefined;
1778
+ } | undefined;
1779
+ } | undefined;
1780
+ externalService?: {
1781
+ credentials?: {
1782
+ accessKeyId?: string | undefined;
1783
+ secretAccessKey?: string | undefined;
1784
+ apiKey?: string | undefined;
1785
+ projectId?: string | undefined;
1786
+ } | undefined;
1787
+ index?: string | undefined;
1788
+ region?: string | undefined;
1789
+ endpoint?: string | undefined;
1790
+ config?: Record<string, any> | undefined;
1791
+ logGroup?: string | undefined;
1792
+ logStream?: string | undefined;
1793
+ } | undefined;
1794
+ filterId?: string | undefined;
1795
+ }>, "many">;
1796
+ /**
1797
+ * Log enrichment configuration
1798
+ */
1799
+ enrichment: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1800
+ /**
1801
+ * Static fields to add to all logs
1802
+ */
1803
+ staticFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1804
+ /**
1805
+ * Dynamic field enrichers (runtime only)
1806
+ * References to functions that add dynamic context
1807
+ */
1808
+ dynamicEnrichers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1809
+ /**
1810
+ * Add hostname
1811
+ */
1812
+ addHostname: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1813
+ /**
1814
+ * Add process ID
1815
+ */
1816
+ addProcessId: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1817
+ /**
1818
+ * Add environment info
1819
+ */
1820
+ addEnvironment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1821
+ /**
1822
+ * Add timestamp in additional formats
1823
+ */
1824
+ addTimestampFormats: z.ZodOptional<z.ZodObject<{
1825
+ unix: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1826
+ iso: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1827
+ }, "strip", z.ZodTypeAny, {
1828
+ unix: boolean;
1829
+ iso: boolean;
1830
+ }, {
1831
+ unix?: boolean | undefined;
1832
+ iso?: boolean | undefined;
1833
+ }>>;
1834
+ /**
1835
+ * Add caller information (file, line, function)
1836
+ */
1837
+ addCaller: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1838
+ /**
1839
+ * Add correlation IDs
1840
+ */
1841
+ addCorrelationIds: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1842
+ }, "strip", z.ZodTypeAny, {
1843
+ addHostname: boolean;
1844
+ addProcessId: boolean;
1845
+ addEnvironment: boolean;
1846
+ addCaller: boolean;
1847
+ addCorrelationIds: boolean;
1848
+ staticFields?: Record<string, any> | undefined;
1849
+ dynamicEnrichers?: string[] | undefined;
1850
+ addTimestampFormats?: {
1851
+ unix: boolean;
1852
+ iso: boolean;
1853
+ } | undefined;
1854
+ }, {
1855
+ staticFields?: Record<string, any> | undefined;
1856
+ dynamicEnrichers?: string[] | undefined;
1857
+ addHostname?: boolean | undefined;
1858
+ addProcessId?: boolean | undefined;
1859
+ addEnvironment?: boolean | undefined;
1860
+ addTimestampFormats?: {
1861
+ unix?: boolean | undefined;
1862
+ iso?: boolean | undefined;
1863
+ } | undefined;
1864
+ addCaller?: boolean | undefined;
1865
+ addCorrelationIds?: boolean | undefined;
1866
+ }>>>;
1867
+ /**
1868
+ * Fields to redact from logs
1869
+ */
1870
+ redact: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1871
+ /**
1872
+ * Sampling configuration
1873
+ */
1874
+ sampling: z.ZodOptional<z.ZodObject<{
1875
+ /**
1876
+ * Enable sampling
1877
+ */
1878
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1879
+ /**
1880
+ * Sample rate (0.0 to 1.0)
1881
+ */
1882
+ rate: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1883
+ /**
1884
+ * Sample rate by level
1885
+ */
1886
+ rateByLevel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1887
+ }, "strip", z.ZodTypeAny, {
1888
+ enabled: boolean;
1889
+ rate: number;
1890
+ rateByLevel?: Record<string, number> | undefined;
1891
+ }, {
1892
+ enabled?: boolean | undefined;
1893
+ rate?: number | undefined;
1894
+ rateByLevel?: Record<string, number> | undefined;
1895
+ }>>;
1896
+ /**
1897
+ * Buffer configuration
1898
+ */
1899
+ buffer: z.ZodOptional<z.ZodObject<{
1900
+ /**
1901
+ * Enable buffering
1902
+ */
1903
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1904
+ /**
1905
+ * Buffer size
1906
+ */
1907
+ size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1908
+ /**
1909
+ * Flush interval in milliseconds
1910
+ */
1911
+ flushInterval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1912
+ /**
1913
+ * Flush on shutdown
1914
+ */
1915
+ flushOnShutdown: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ enabled: boolean;
1918
+ size: number;
1919
+ flushInterval: number;
1920
+ flushOnShutdown: boolean;
1921
+ }, {
1922
+ enabled?: boolean | undefined;
1923
+ size?: number | undefined;
1924
+ flushInterval?: number | undefined;
1925
+ flushOnShutdown?: boolean | undefined;
1926
+ }>>;
1927
+ /**
1928
+ * Performance configuration
1929
+ */
1930
+ performance: z.ZodOptional<z.ZodObject<{
1931
+ /**
1932
+ * Async logging
1933
+ */
1934
+ async: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1935
+ /**
1936
+ * Worker threads for async logging
1937
+ */
1938
+ workers: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1939
+ }, "strip", z.ZodTypeAny, {
1940
+ async: boolean;
1941
+ workers: number;
1942
+ }, {
1943
+ async?: boolean | undefined;
1944
+ workers?: number | undefined;
1945
+ }>>;
1946
+ }, "strip", z.ZodTypeAny, {
1947
+ enabled: boolean;
1948
+ redact: string[];
1949
+ label: string;
1950
+ name: string;
1951
+ level: "error" | "info" | "warn" | "debug" | "fatal" | "trace";
1952
+ destinations: {
1953
+ type: "custom" | "file" | "redis" | "elasticsearch" | "kafka" | "console" | "syslog" | "cloudwatch" | "stackdriver" | "azure_monitor" | "datadog" | "splunk" | "loki" | "http";
1954
+ enabled: boolean;
1955
+ name: string;
1956
+ format: "text" | "json" | "pretty";
1957
+ level: "error" | "info" | "warn" | "debug" | "fatal" | "trace";
1958
+ file?: {
1959
+ path: string;
1960
+ encoding: string;
1961
+ append: boolean;
1962
+ rotation?: {
1963
+ maxSize: string;
1964
+ maxFiles: number;
1965
+ compress: boolean;
1966
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
1967
+ } | undefined;
1968
+ } | undefined;
1969
+ console?: {
1970
+ colors: boolean;
1971
+ stream: "stdout" | "stderr";
1972
+ prettyPrint: boolean;
1973
+ } | undefined;
1974
+ http?: {
1975
+ url: string;
1976
+ method: "POST" | "PUT";
1977
+ timeout: number;
1978
+ headers?: Record<string, string> | undefined;
1979
+ retry?: {
1980
+ backoffMultiplier: number;
1981
+ maxAttempts: number;
1982
+ initialDelay: number;
1983
+ } | undefined;
1984
+ batch?: {
1985
+ maxSize: number;
1986
+ flushInterval: number;
1987
+ } | undefined;
1988
+ auth?: {
1989
+ type: "basic" | "bearer" | "api_key";
1990
+ apiKeyHeader: string;
1991
+ password?: string | undefined;
1992
+ token?: string | undefined;
1993
+ apiKey?: string | undefined;
1994
+ username?: string | undefined;
1995
+ } | undefined;
1996
+ } | undefined;
1997
+ externalService?: {
1998
+ credentials?: {
1999
+ accessKeyId?: string | undefined;
2000
+ secretAccessKey?: string | undefined;
2001
+ apiKey?: string | undefined;
2002
+ projectId?: string | undefined;
2003
+ } | undefined;
2004
+ index?: string | undefined;
2005
+ region?: string | undefined;
2006
+ endpoint?: string | undefined;
2007
+ config?: Record<string, any> | undefined;
2008
+ logGroup?: string | undefined;
2009
+ logStream?: string | undefined;
2010
+ } | undefined;
2011
+ filterId?: string | undefined;
2012
+ }[];
2013
+ enrichment: {
2014
+ addHostname: boolean;
2015
+ addProcessId: boolean;
2016
+ addEnvironment: boolean;
2017
+ addCaller: boolean;
2018
+ addCorrelationIds: boolean;
2019
+ staticFields?: Record<string, any> | undefined;
2020
+ dynamicEnrichers?: string[] | undefined;
2021
+ addTimestampFormats?: {
2022
+ unix: boolean;
2023
+ iso: boolean;
2024
+ } | undefined;
2025
+ };
2026
+ default?: {
2027
+ redact: string[];
2028
+ format: "text" | "json" | "pretty";
2029
+ level: "error" | "info" | "warn" | "debug" | "fatal";
2030
+ sourceLocation: boolean;
2031
+ file?: string | undefined;
2032
+ name?: string | undefined;
2033
+ rotation?: {
2034
+ maxSize: string;
2035
+ maxFiles: number;
2036
+ } | undefined;
2037
+ } | undefined;
2038
+ loggers?: Record<string, {
2039
+ redact: string[];
2040
+ format: "text" | "json" | "pretty";
2041
+ level: "error" | "info" | "warn" | "debug" | "fatal";
2042
+ sourceLocation: boolean;
2043
+ file?: string | undefined;
2044
+ name?: string | undefined;
2045
+ rotation?: {
2046
+ maxSize: string;
2047
+ maxFiles: number;
2048
+ } | undefined;
2049
+ }> | undefined;
2050
+ sampling?: {
2051
+ enabled: boolean;
2052
+ rate: number;
2053
+ rateByLevel?: Record<string, number> | undefined;
2054
+ } | undefined;
2055
+ buffer?: {
2056
+ enabled: boolean;
2057
+ size: number;
2058
+ flushInterval: number;
2059
+ flushOnShutdown: boolean;
2060
+ } | undefined;
2061
+ performance?: {
2062
+ async: boolean;
2063
+ workers: number;
2064
+ } | undefined;
2065
+ }, {
2066
+ label: string;
2067
+ name: string;
2068
+ destinations: {
2069
+ type: "custom" | "file" | "redis" | "elasticsearch" | "kafka" | "console" | "syslog" | "cloudwatch" | "stackdriver" | "azure_monitor" | "datadog" | "splunk" | "loki" | "http";
2070
+ name: string;
2071
+ enabled?: boolean | undefined;
2072
+ file?: {
2073
+ path: string;
2074
+ rotation?: {
2075
+ maxSize?: string | undefined;
2076
+ interval?: "hourly" | "daily" | "weekly" | "monthly" | undefined;
2077
+ maxFiles?: number | undefined;
2078
+ compress?: boolean | undefined;
2079
+ } | undefined;
2080
+ encoding?: string | undefined;
2081
+ append?: boolean | undefined;
2082
+ } | undefined;
2083
+ format?: "text" | "json" | "pretty" | undefined;
2084
+ level?: "error" | "info" | "warn" | "debug" | "fatal" | "trace" | undefined;
2085
+ console?: {
2086
+ colors?: boolean | undefined;
2087
+ stream?: "stdout" | "stderr" | undefined;
2088
+ prettyPrint?: boolean | undefined;
2089
+ } | undefined;
2090
+ http?: {
2091
+ url: string;
2092
+ method?: "POST" | "PUT" | undefined;
2093
+ headers?: Record<string, string> | undefined;
2094
+ timeout?: number | undefined;
2095
+ retry?: {
2096
+ backoffMultiplier?: number | undefined;
2097
+ maxAttempts?: number | undefined;
2098
+ initialDelay?: number | undefined;
2099
+ } | undefined;
2100
+ batch?: {
2101
+ maxSize?: number | undefined;
2102
+ flushInterval?: number | undefined;
2103
+ } | undefined;
2104
+ auth?: {
2105
+ type: "basic" | "bearer" | "api_key";
2106
+ password?: string | undefined;
2107
+ token?: string | undefined;
2108
+ apiKey?: string | undefined;
2109
+ username?: string | undefined;
2110
+ apiKeyHeader?: string | undefined;
2111
+ } | undefined;
2112
+ } | undefined;
2113
+ externalService?: {
2114
+ credentials?: {
2115
+ accessKeyId?: string | undefined;
2116
+ secretAccessKey?: string | undefined;
2117
+ apiKey?: string | undefined;
2118
+ projectId?: string | undefined;
2119
+ } | undefined;
2120
+ index?: string | undefined;
2121
+ region?: string | undefined;
2122
+ endpoint?: string | undefined;
2123
+ config?: Record<string, any> | undefined;
2124
+ logGroup?: string | undefined;
2125
+ logStream?: string | undefined;
2126
+ } | undefined;
2127
+ filterId?: string | undefined;
2128
+ }[];
2129
+ enabled?: boolean | undefined;
2130
+ redact?: string[] | undefined;
2131
+ default?: {
2132
+ redact?: string[] | undefined;
2133
+ file?: string | undefined;
2134
+ name?: string | undefined;
2135
+ format?: "text" | "json" | "pretty" | undefined;
2136
+ level?: "error" | "info" | "warn" | "debug" | "fatal" | undefined;
2137
+ sourceLocation?: boolean | undefined;
2138
+ rotation?: {
2139
+ maxSize?: string | undefined;
2140
+ maxFiles?: number | undefined;
2141
+ } | undefined;
2142
+ } | undefined;
2143
+ level?: "error" | "info" | "warn" | "debug" | "fatal" | "trace" | undefined;
2144
+ loggers?: Record<string, {
2145
+ redact?: string[] | undefined;
2146
+ file?: string | undefined;
2147
+ name?: string | undefined;
2148
+ format?: "text" | "json" | "pretty" | undefined;
2149
+ level?: "error" | "info" | "warn" | "debug" | "fatal" | undefined;
2150
+ sourceLocation?: boolean | undefined;
2151
+ rotation?: {
2152
+ maxSize?: string | undefined;
2153
+ maxFiles?: number | undefined;
2154
+ } | undefined;
2155
+ }> | undefined;
2156
+ enrichment?: {
2157
+ staticFields?: Record<string, any> | undefined;
2158
+ dynamicEnrichers?: string[] | undefined;
2159
+ addHostname?: boolean | undefined;
2160
+ addProcessId?: boolean | undefined;
2161
+ addEnvironment?: boolean | undefined;
2162
+ addTimestampFormats?: {
2163
+ unix?: boolean | undefined;
2164
+ iso?: boolean | undefined;
2165
+ } | undefined;
2166
+ addCaller?: boolean | undefined;
2167
+ addCorrelationIds?: boolean | undefined;
2168
+ } | undefined;
2169
+ sampling?: {
2170
+ enabled?: boolean | undefined;
2171
+ rate?: number | undefined;
2172
+ rateByLevel?: Record<string, number> | undefined;
2173
+ } | undefined;
2174
+ buffer?: {
2175
+ enabled?: boolean | undefined;
2176
+ size?: number | undefined;
2177
+ flushInterval?: number | undefined;
2178
+ flushOnShutdown?: boolean | undefined;
2179
+ } | undefined;
2180
+ performance?: {
2181
+ async?: boolean | undefined;
2182
+ workers?: number | undefined;
2183
+ } | undefined;
2184
+ }>;
2185
+ export type LoggingConfig = z.infer<typeof LoggingConfigSchema>;
2186
+ //# sourceMappingURL=logging.zod.d.ts.map