@objectstack/spec 0.9.1 → 1.0.0

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