@objectstack/spec 0.7.2 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1240) hide show
  1. package/dist/ai/agent-action.zod.d.ts +625 -1889
  2. package/dist/ai/agent-action.zod.d.ts.map +1 -1
  3. package/dist/ai/agent-action.zod.js +7 -7
  4. package/dist/ai/agent.zod.d.ts +36 -120
  5. package/dist/ai/agent.zod.d.ts.map +1 -1
  6. package/dist/ai/conversation.zod.d.ts +134 -841
  7. package/dist/ai/conversation.zod.d.ts.map +1 -1
  8. package/dist/ai/conversation.zod.js +5 -5
  9. package/dist/ai/cost.zod.d.ts +479 -1697
  10. package/dist/ai/cost.zod.d.ts.map +1 -1
  11. package/dist/ai/cost.zod.js +3 -3
  12. package/dist/ai/devops-agent.zod.d.ts +614 -0
  13. package/dist/ai/devops-agent.zod.d.ts.map +1 -0
  14. package/dist/ai/devops-agent.zod.js +776 -0
  15. package/dist/ai/index.d.ts +2 -0
  16. package/dist/ai/index.d.ts.map +1 -1
  17. package/dist/ai/index.js +2 -0
  18. package/dist/ai/model-registry.zod.d.ts +145 -1149
  19. package/dist/ai/model-registry.zod.d.ts.map +1 -1
  20. package/dist/ai/model-registry.zod.js +3 -3
  21. package/dist/ai/nlq.zod.d.ts +209 -914
  22. package/dist/ai/nlq.zod.d.ts.map +1 -1
  23. package/dist/ai/nlq.zod.js +2 -2
  24. package/dist/ai/orchestration.zod.d.ts +159 -449
  25. package/dist/ai/orchestration.zod.d.ts.map +1 -1
  26. package/dist/ai/orchestration.zod.js +4 -4
  27. package/dist/ai/predictive.zod.d.ts +116 -640
  28. package/dist/ai/predictive.zod.d.ts.map +1 -1
  29. package/dist/ai/predictive.zod.js +4 -4
  30. package/dist/ai/rag-pipeline.zod.d.ts +194 -819
  31. package/dist/ai/rag-pipeline.zod.d.ts.map +1 -1
  32. package/dist/ai/rag-pipeline.zod.js +4 -4
  33. package/dist/api/batch.zod.d.ts +82 -786
  34. package/dist/api/batch.zod.d.ts.map +1 -1
  35. package/dist/api/contract.zod.d.ts +194 -1502
  36. package/dist/api/contract.zod.d.ts.map +1 -1
  37. package/dist/api/contract.zod.js +1 -1
  38. package/dist/api/discovery.zod.d.ts +12 -126
  39. package/dist/api/discovery.zod.d.ts.map +1 -1
  40. package/dist/api/endpoint.zod.d.ts +56 -222
  41. package/dist/api/endpoint.zod.d.ts.map +1 -1
  42. package/dist/api/errors.zod.d.ts +376 -205
  43. package/dist/api/errors.zod.d.ts.map +1 -1
  44. package/dist/api/graphql.zod.d.ts +670 -5073
  45. package/dist/api/graphql.zod.d.ts.map +1 -1
  46. package/dist/api/graphql.zod.js +6 -6
  47. package/dist/api/http-cache.zod.d.ts +92 -229
  48. package/dist/api/http-cache.zod.d.ts.map +1 -1
  49. package/dist/api/odata.zod.d.ts +72 -677
  50. package/dist/api/odata.zod.d.ts.map +1 -1
  51. package/dist/api/odata.zod.js +2 -2
  52. package/dist/api/protocol.zod.d.ts +987 -8312
  53. package/dist/api/protocol.zod.d.ts.map +1 -1
  54. package/dist/api/protocol.zod.js +90 -90
  55. package/dist/api/realtime.zod.d.ts +72 -193
  56. package/dist/api/realtime.zod.d.ts.map +1 -1
  57. package/dist/api/realtime.zod.js +1 -1
  58. package/dist/api/rest-server.zod.d.ts +248 -1942
  59. package/dist/api/rest-server.zod.d.ts.map +1 -1
  60. package/dist/api/rest-server.zod.js +1 -1
  61. package/dist/api/router.zod.d.ts +41 -145
  62. package/dist/api/router.zod.d.ts.map +1 -1
  63. package/dist/api/router.zod.js +8 -1
  64. package/dist/api/view-storage.zod.d.ts +1170 -7336
  65. package/dist/api/view-storage.zod.d.ts.map +1 -1
  66. package/dist/api/view-storage.zod.js +2 -2
  67. package/dist/api/websocket.zod.d.ts +203 -1209
  68. package/dist/api/websocket.zod.d.ts.map +1 -1
  69. package/dist/api/websocket.zod.js +4 -4
  70. package/dist/auth/config.zod.d.ts +316 -2936
  71. package/dist/auth/config.zod.d.ts.map +1 -1
  72. package/dist/auth/config.zod.js +46 -46
  73. package/dist/auth/identity.zod.d.ts +12 -189
  74. package/dist/auth/identity.zod.d.ts.map +1 -1
  75. package/dist/auth/organization.zod.d.ts +15 -126
  76. package/dist/auth/organization.zod.d.ts.map +1 -1
  77. package/dist/auth/organization.zod.js +1 -1
  78. package/dist/auth/policy.zod.d.ts +14 -151
  79. package/dist/auth/policy.zod.d.ts.map +1 -1
  80. package/dist/auth/role.zod.d.ts +1 -14
  81. package/dist/auth/role.zod.d.ts.map +1 -1
  82. package/dist/auth/scim.zod.d.ts +165 -2327
  83. package/dist/auth/scim.zod.d.ts.map +1 -1
  84. package/dist/auth/scim.zod.js +1 -1
  85. package/dist/automation/approval.zod.d.ts +171 -536
  86. package/dist/automation/approval.zod.d.ts.map +1 -1
  87. package/dist/automation/approval.zod.js +1 -1
  88. package/dist/automation/etl.zod.d.ts +144 -453
  89. package/dist/automation/etl.zod.d.ts.map +1 -1
  90. package/dist/automation/etl.zod.js +4 -4
  91. package/dist/automation/flow.zod.d.ts +79 -193
  92. package/dist/automation/flow.zod.d.ts.map +1 -1
  93. package/dist/automation/flow.zod.js +1 -1
  94. package/dist/automation/sync.zod.d.ts +132 -813
  95. package/dist/automation/sync.zod.d.ts.map +1 -1
  96. package/dist/automation/sync.zod.js +2 -2
  97. package/dist/automation/trigger-registry.zod.d.ts +184 -1030
  98. package/dist/automation/trigger-registry.zod.d.ts.map +1 -1
  99. package/dist/automation/trigger-registry.zod.js +7 -7
  100. package/dist/automation/webhook.zod.d.ts +50 -125
  101. package/dist/automation/webhook.zod.d.ts.map +1 -1
  102. package/dist/automation/webhook.zod.js +2 -2
  103. package/dist/automation/workflow.zod.d.ts +392 -2434
  104. package/dist/automation/workflow.zod.d.ts.map +1 -1
  105. package/dist/automation/workflow.zod.js +5 -5
  106. package/dist/data/data-engine.zod.d.ts +326 -2335
  107. package/dist/data/data-engine.zod.d.ts.map +1 -1
  108. package/dist/data/data-engine.zod.js +34 -27
  109. package/dist/data/dataset.zod.d.ts +21 -40
  110. package/dist/data/dataset.zod.d.ts.map +1 -1
  111. package/dist/data/dataset.zod.js +1 -1
  112. package/dist/data/document.zod.d.ts +39 -547
  113. package/dist/data/document.zod.d.ts.map +1 -1
  114. package/dist/data/document.zod.js +1 -1
  115. package/dist/data/driver/mongo.zod.d.ts +3 -39
  116. package/dist/data/driver/mongo.zod.d.ts.map +1 -1
  117. package/dist/data/driver/mongo.zod.js +1 -1
  118. package/dist/data/driver/postgres.zod.d.ts +3 -109
  119. package/dist/data/driver/postgres.zod.d.ts.map +1 -1
  120. package/dist/data/driver-nosql.zod.d.ts +189 -695
  121. package/dist/data/driver-nosql.zod.d.ts.map +1 -1
  122. package/dist/data/driver-nosql.zod.js +4 -4
  123. package/dist/data/driver-sql.zod.d.ts +33 -481
  124. package/dist/data/driver-sql.zod.d.ts.map +1 -1
  125. package/dist/data/driver.zod.d.ts +473 -4237
  126. package/dist/data/driver.zod.d.ts.map +1 -1
  127. package/dist/data/driver.zod.js +104 -96
  128. package/dist/data/external-lookup.zod.d.ts +68 -505
  129. package/dist/data/external-lookup.zod.d.ts.map +1 -1
  130. package/dist/data/external-lookup.zod.js +2 -2
  131. package/dist/data/field.zod.d.ts +737 -1696
  132. package/dist/data/field.zod.d.ts.map +1 -1
  133. package/dist/data/field.zod.js +1 -1
  134. package/dist/data/filter.zod.d.ts +36 -224
  135. package/dist/data/filter.zod.d.ts.map +1 -1
  136. package/dist/data/hook.zod.d.ts +70 -143
  137. package/dist/data/hook.zod.d.ts.map +1 -1
  138. package/dist/data/hook.zod.js +2 -2
  139. package/dist/data/mapping.zod.d.ts +109 -483
  140. package/dist/data/mapping.zod.d.ts.map +1 -1
  141. package/dist/data/mapping.zod.js +1 -1
  142. package/dist/data/object.zod.d.ts +506 -2859
  143. package/dist/data/object.zod.d.ts.map +1 -1
  144. package/dist/data/query.zod.d.ts +157 -402
  145. package/dist/data/query.zod.d.ts.map +1 -1
  146. package/dist/data/query.zod.js +2 -2
  147. package/dist/data/validation.zod.d.ts +123 -284
  148. package/dist/data/validation.zod.d.ts.map +1 -1
  149. package/dist/data/validation.zod.js +5 -5
  150. package/dist/hub/composer.zod.d.ts +126 -1492
  151. package/dist/hub/composer.zod.d.ts.map +1 -1
  152. package/dist/hub/composer.zod.js +3 -3
  153. package/dist/hub/license.zod.d.ts +29 -74
  154. package/dist/hub/license.zod.d.ts.map +1 -1
  155. package/dist/hub/license.zod.js +2 -2
  156. package/dist/hub/marketplace.zod.d.ts +31 -141
  157. package/dist/hub/marketplace.zod.d.ts.map +1 -1
  158. package/dist/hub/plugin-registry.zod.d.ts +140 -1461
  159. package/dist/hub/plugin-registry.zod.d.ts.map +1 -1
  160. package/dist/hub/plugin-registry.zod.js +1 -1
  161. package/dist/hub/space.zod.d.ts +72 -307
  162. package/dist/hub/space.zod.d.ts.map +1 -1
  163. package/dist/hub/space.zod.js +2 -2
  164. package/dist/hub/tenant.zod.d.ts +107 -861
  165. package/dist/hub/tenant.zod.d.ts.map +1 -1
  166. package/dist/hub/tenant.zod.js +1 -1
  167. package/dist/integration/connector/database.zod.d.ts +248 -1271
  168. package/dist/integration/connector/database.zod.d.ts.map +1 -1
  169. package/dist/integration/connector/database.zod.js +1 -1
  170. package/dist/integration/connector/file-storage.zod.d.ts +243 -1008
  171. package/dist/integration/connector/file-storage.zod.d.ts.map +1 -1
  172. package/dist/integration/connector/file-storage.zod.js +1 -1
  173. package/dist/integration/connector/github.zod.d.ts +602 -0
  174. package/dist/integration/connector/github.zod.d.ts.map +1 -0
  175. package/dist/integration/connector/github.zod.js +445 -0
  176. package/dist/integration/connector/message-queue.zod.d.ts +298 -1265
  177. package/dist/integration/connector/message-queue.zod.d.ts.map +1 -1
  178. package/dist/integration/connector/message-queue.zod.js +2 -2
  179. package/dist/integration/connector/saas.zod.d.ts +238 -1147
  180. package/dist/integration/connector/saas.zod.d.ts.map +1 -1
  181. package/dist/integration/connector/saas.zod.js +1 -1
  182. package/dist/integration/connector/vercel.zod.d.ts +783 -0
  183. package/dist/integration/connector/vercel.zod.d.ts.map +1 -0
  184. package/dist/integration/connector/vercel.zod.js +538 -0
  185. package/dist/integration/connector.zod.d.ts +349 -1241
  186. package/dist/integration/connector.zod.d.ts.map +1 -1
  187. package/dist/integration/connector.zod.js +3 -3
  188. package/dist/integration/index.d.ts +4 -0
  189. package/dist/integration/index.d.ts.map +1 -1
  190. package/dist/integration/index.js +4 -0
  191. package/dist/permission/permission.zod.d.ts +17 -263
  192. package/dist/permission/permission.zod.d.ts.map +1 -1
  193. package/dist/permission/permission.zod.js +3 -3
  194. package/dist/permission/rls.zod.d.ts +27 -334
  195. package/dist/permission/rls.zod.d.ts.map +1 -1
  196. package/dist/permission/rls.zod.js +1 -1
  197. package/dist/permission/sharing.zod.d.ts +58 -92
  198. package/dist/permission/sharing.zod.d.ts.map +1 -1
  199. package/dist/permission/territory.zod.d.ts +32 -53
  200. package/dist/permission/territory.zod.d.ts.map +1 -1
  201. package/dist/shared/http.zod.d.ts +22 -67
  202. package/dist/shared/http.zod.d.ts.map +1 -1
  203. package/dist/shared/mapping.zod.d.ts +25 -139
  204. package/dist/shared/mapping.zod.d.ts.map +1 -1
  205. package/dist/shared/mapping.zod.js +1 -1
  206. package/dist/stack.zod.d.ts +5619 -26602
  207. package/dist/stack.zod.d.ts.map +1 -1
  208. package/dist/system/audit.zod.d.ts +522 -975
  209. package/dist/system/audit.zod.d.ts.map +1 -1
  210. package/dist/system/audit.zod.js +8 -8
  211. package/dist/system/cache.zod.d.ts +64 -102
  212. package/dist/system/cache.zod.d.ts.map +1 -1
  213. package/dist/system/change-management.zod.d.ts +77 -452
  214. package/dist/system/change-management.zod.d.ts.map +1 -1
  215. package/dist/system/collaboration.zod.d.ts +243 -1609
  216. package/dist/system/collaboration.zod.d.ts.map +1 -1
  217. package/dist/system/collaboration.zod.js +12 -12
  218. package/dist/system/compliance.zod.d.ts +63 -293
  219. package/dist/system/compliance.zod.d.ts.map +1 -1
  220. package/dist/system/context.zod.d.ts +13 -36
  221. package/dist/system/context.zod.d.ts.map +1 -1
  222. package/dist/system/context.zod.js +1 -1
  223. package/dist/system/datasource.zod.d.ts +7 -246
  224. package/dist/system/datasource.zod.d.ts.map +1 -1
  225. package/dist/system/datasource.zod.js +3 -3
  226. package/dist/system/encryption.zod.d.ts +54 -184
  227. package/dist/system/encryption.zod.d.ts.map +1 -1
  228. package/dist/system/events.zod.d.ts +288 -2248
  229. package/dist/system/events.zod.d.ts.map +1 -1
  230. package/dist/system/events.zod.js +16 -4
  231. package/dist/system/feature.zod.d.ts +39 -97
  232. package/dist/system/feature.zod.d.ts.map +1 -1
  233. package/dist/system/http-server.zod.d.ts +116 -562
  234. package/dist/system/http-server.zod.d.ts.map +1 -1
  235. package/dist/system/http-server.zod.js +2 -2
  236. package/dist/system/job.zod.d.ts +28 -152
  237. package/dist/system/job.zod.d.ts.map +1 -1
  238. package/dist/system/job.zod.js +4 -1
  239. package/dist/system/logging.zod.d.ts +268 -1876
  240. package/dist/system/logging.zod.d.ts.map +1 -1
  241. package/dist/system/logging.zod.js +12 -12
  242. package/dist/system/manifest.zod.d.ts +82 -1041
  243. package/dist/system/manifest.zod.d.ts.map +1 -1
  244. package/dist/system/manifest.zod.js +5 -5
  245. package/dist/system/masking.zod.d.ts +34 -66
  246. package/dist/system/masking.zod.d.ts.map +1 -1
  247. package/dist/system/message-queue.zod.d.ts +49 -135
  248. package/dist/system/message-queue.zod.d.ts.map +1 -1
  249. package/dist/system/metadata-loader.zod.d.ts +76 -495
  250. package/dist/system/metadata-loader.zod.d.ts.map +1 -1
  251. package/dist/system/metadata-loader.zod.js +2 -2
  252. package/dist/system/metrics.zod.d.ts +330 -1705
  253. package/dist/system/metrics.zod.d.ts.map +1 -1
  254. package/dist/system/metrics.zod.js +5 -5
  255. package/dist/system/notification.zod.d.ts +75 -534
  256. package/dist/system/notification.zod.d.ts.map +1 -1
  257. package/dist/system/notification.zod.js +1 -1
  258. package/dist/system/object-storage.zod.d.ts +385 -1104
  259. package/dist/system/object-storage.zod.d.ts.map +1 -1
  260. package/dist/system/object-storage.zod.js +4 -4
  261. package/dist/system/plugin-capability.zod.d.ts +88 -932
  262. package/dist/system/plugin-capability.zod.d.ts.map +1 -1
  263. package/dist/system/plugin-capability.zod.js +1 -1
  264. package/dist/system/plugin-lifecycle-events.zod.d.ts +49 -209
  265. package/dist/system/plugin-lifecycle-events.zod.d.ts.map +1 -1
  266. package/dist/system/plugin-validator.zod.d.ts +7 -154
  267. package/dist/system/plugin-validator.zod.d.ts.map +1 -1
  268. package/dist/system/plugin.zod.d.ts +288 -3343
  269. package/dist/system/plugin.zod.d.ts.map +1 -1
  270. package/dist/system/plugin.zod.js +90 -39
  271. package/dist/system/search-engine.zod.d.ts +78 -209
  272. package/dist/system/search-engine.zod.d.ts.map +1 -1
  273. package/dist/system/search-engine.zod.js +2 -2
  274. package/dist/system/service-registry.zod.d.ts +25 -134
  275. package/dist/system/service-registry.zod.d.ts.map +1 -1
  276. package/dist/system/service-registry.zod.js +3 -3
  277. package/dist/system/startup-orchestrator.zod.d.ts +12 -269
  278. package/dist/system/startup-orchestrator.zod.d.ts.map +1 -1
  279. package/dist/system/startup-orchestrator.zod.js +1 -1
  280. package/dist/system/tracing.zod.d.ts +286 -1623
  281. package/dist/system/tracing.zod.d.ts.map +1 -1
  282. package/dist/system/tracing.zod.js +7 -7
  283. package/dist/system/translation.zod.d.ts +8 -134
  284. package/dist/system/translation.zod.d.ts.map +1 -1
  285. package/dist/system/translation.zod.js +5 -5
  286. package/dist/system/worker.zod.d.ts +159 -1138
  287. package/dist/system/worker.zod.d.ts.map +1 -1
  288. package/dist/system/worker.zod.js +8 -8
  289. package/dist/ui/action.zod.d.ts +118 -121
  290. package/dist/ui/action.zod.d.ts.map +1 -1
  291. package/dist/ui/app.zod.d.ts +22 -290
  292. package/dist/ui/app.zod.d.ts.map +1 -1
  293. package/dist/ui/app.zod.js +1 -1
  294. package/dist/ui/chart.zod.d.ts +64 -18
  295. package/dist/ui/chart.zod.d.ts.map +1 -1
  296. package/dist/ui/component.zod.d.ts +86 -200
  297. package/dist/ui/component.zod.d.ts.map +1 -1
  298. package/dist/ui/dashboard.zod.d.ts +149 -249
  299. package/dist/ui/dashboard.zod.d.ts.map +1 -1
  300. package/dist/ui/page.zod.d.ts +117 -144
  301. package/dist/ui/page.zod.d.ts.map +1 -1
  302. package/dist/ui/page.zod.js +1 -1
  303. package/dist/ui/report.zod.d.ts +134 -179
  304. package/dist/ui/report.zod.d.ts.map +1 -1
  305. package/dist/ui/theme.zod.d.ts +42 -944
  306. package/dist/ui/theme.zod.d.ts.map +1 -1
  307. package/dist/ui/theme.zod.js +1 -1
  308. package/dist/ui/view.zod.d.ts +386 -2740
  309. package/dist/ui/view.zod.d.ts.map +1 -1
  310. package/dist/ui/view.zod.js +4 -4
  311. package/dist/ui/widget.zod.d.ts +201 -1593
  312. package/dist/ui/widget.zod.d.ts.map +1 -1
  313. package/dist/ui/widget.zod.js +8 -8
  314. package/json-schema/ai/AIKnowledge.json +1 -24
  315. package/json-schema/ai/AIModelConfig.json +1 -35
  316. package/json-schema/ai/AIOperationCost.json +1 -73
  317. package/json-schema/ai/AIOrchestration.json +1 -373
  318. package/json-schema/ai/AIOrchestrationExecutionResult.json +1 -131
  319. package/json-schema/ai/AIOrchestrationTrigger.json +1 -12
  320. package/json-schema/ai/AITask.json +1 -117
  321. package/json-schema/ai/AITaskType.json +1 -15
  322. package/json-schema/ai/AITool.json +1 -27
  323. package/json-schema/ai/Agent.json +1 -134
  324. package/json-schema/ai/AgentAction.json +1 -430
  325. package/json-schema/ai/AgentActionResult.json +1 -63
  326. package/json-schema/ai/AgentActionSequence.json +1 -486
  327. package/json-schema/ai/AgentActionSequenceResult.json +1 -137
  328. package/json-schema/ai/BatchAIOrchestrationExecution.json +1 -42
  329. package/json-schema/ai/BillingPeriod.json +1 -12
  330. package/json-schema/ai/BudgetLimit.json +1 -105
  331. package/json-schema/ai/BudgetStatus.json +1 -85
  332. package/json-schema/ai/BudgetType.json +1 -11
  333. package/json-schema/ai/CICDPipelineConfig.json +7 -0
  334. package/json-schema/ai/ChunkingStrategy.json +1 -127
  335. package/json-schema/ai/CodeGenerationConfig.json +7 -0
  336. package/json-schema/ai/CodeGenerationTarget.json +7 -0
  337. package/json-schema/ai/ComponentActionParams.json +1 -71
  338. package/json-schema/ai/ComponentActionType.json +1 -14
  339. package/json-schema/ai/ConversationAnalytics.json +1 -80
  340. package/json-schema/ai/ConversationContext.json +1 -42
  341. package/json-schema/ai/ConversationMessage.json +1 -213
  342. package/json-schema/ai/ConversationSession.json +1 -494
  343. package/json-schema/ai/ConversationSummary.json +1 -67
  344. package/json-schema/ai/CostAlert.json +1 -101
  345. package/json-schema/ai/CostAlertType.json +1 -10
  346. package/json-schema/ai/CostAnalytics.json +1 -583
  347. package/json-schema/ai/CostBreakdownDimension.json +1 -14
  348. package/json-schema/ai/CostBreakdownEntry.json +1 -54
  349. package/json-schema/ai/CostEntry.json +1 -100
  350. package/json-schema/ai/CostMetricType.json +1 -11
  351. package/json-schema/ai/CostOptimizationRecommendation.json +1 -94
  352. package/json-schema/ai/CostQueryFilters.json +1 -106
  353. package/json-schema/ai/CostReport.json +1 -958
  354. package/json-schema/ai/DataActionParams.json +1 -32
  355. package/json-schema/ai/DataActionType.json +1 -12
  356. package/json-schema/ai/DeploymentStrategy.json +7 -0
  357. package/json-schema/ai/DevOpsAgent.json +7 -0
  358. package/json-schema/ai/DevOpsTool.json +7 -0
  359. package/json-schema/ai/DevelopmentConfig.json +7 -0
  360. package/json-schema/ai/DocumentChunk.json +1 -91
  361. package/json-schema/ai/DocumentLoaderConfig.json +1 -63
  362. package/json-schema/ai/DocumentMetadata.json +1 -55
  363. package/json-schema/ai/EmbeddingModel.json +1 -51
  364. package/json-schema/ai/Entity.json +1 -49
  365. package/json-schema/ai/EvaluationMetrics.json +1 -58
  366. package/json-schema/ai/FieldSynonymConfig.json +1 -33
  367. package/json-schema/ai/FormActionParams.json +1 -30
  368. package/json-schema/ai/FormActionType.json +1 -14
  369. package/json-schema/ai/FunctionCall.json +1 -22
  370. package/json-schema/ai/GitHubIntegration.json +7 -0
  371. package/json-schema/ai/Hyperparameters.json +1 -74
  372. package/json-schema/ai/IntegrationConfig.json +7 -0
  373. package/json-schema/ai/IntentActionMapping.json +1 -485
  374. package/json-schema/ai/MessageContent.json +1 -40
  375. package/json-schema/ai/MessageContentType.json +1 -10
  376. package/json-schema/ai/MessagePruningEvent.json +1 -86
  377. package/json-schema/ai/MessageRole.json +1 -10
  378. package/json-schema/ai/ModelCapability.json +1 -41
  379. package/json-schema/ai/ModelConfig.json +1 -175
  380. package/json-schema/ai/ModelDrift.json +1 -67
  381. package/json-schema/ai/ModelFeature.json +1 -65
  382. package/json-schema/ai/ModelLimits.json +1 -39
  383. package/json-schema/ai/ModelPricing.json +1 -22
  384. package/json-schema/ai/ModelProvider.json +1 -13
  385. package/json-schema/ai/ModelRegistry.json +1 -421
  386. package/json-schema/ai/ModelRegistryEntry.json +1 -233
  387. package/json-schema/ai/ModelSelectionCriteria.json +1 -44
  388. package/json-schema/ai/MonitoringConfig.json +7 -0
  389. package/json-schema/ai/NLQAnalytics.json +1 -100
  390. package/json-schema/ai/NLQFieldMapping.json +1 -34
  391. package/json-schema/ai/NLQModelConfig.json +1 -72
  392. package/json-schema/ai/NLQParseResult.json +1 -246
  393. package/json-schema/ai/NLQRequest.json +1 -104
  394. package/json-schema/ai/NLQResponse.json +1 -314
  395. package/json-schema/ai/NLQTrainingExample.json +1 -114
  396. package/json-schema/ai/NavigationActionParams.json +1 -50
  397. package/json-schema/ai/NavigationActionType.json +1 -15
  398. package/json-schema/ai/PipelineStage.json +7 -0
  399. package/json-schema/ai/PostProcessingAction.json +1 -35
  400. package/json-schema/ai/PredictionRequest.json +1 -33
  401. package/json-schema/ai/PredictionResult.json +1 -108
  402. package/json-schema/ai/PredictiveModel.json +1 -439
  403. package/json-schema/ai/PredictiveModelType.json +1 -12
  404. package/json-schema/ai/PromptTemplate.json +1 -157
  405. package/json-schema/ai/PromptVariable.json +1 -50
  406. package/json-schema/ai/QueryContext.json +1 -66
  407. package/json-schema/ai/QueryIntent.json +1 -15
  408. package/json-schema/ai/QueryTemplate.json +1 -75
  409. package/json-schema/ai/RAGPipelineConfig.json +1 -546
  410. package/json-schema/ai/RAGPipelineStatus.json +1 -60
  411. package/json-schema/ai/RAGQueryRequest.json +1 -58
  412. package/json-schema/ai/RAGQueryResponse.json +1 -135
  413. package/json-schema/ai/RerankingConfig.json +1 -28
  414. package/json-schema/ai/RetrievalStrategy.json +1 -115
  415. package/json-schema/ai/TestingConfig.json +7 -0
  416. package/json-schema/ai/Timeframe.json +1 -62
  417. package/json-schema/ai/TokenBudgetConfig.json +1 -86
  418. package/json-schema/ai/TokenBudgetStrategy.json +1 -10
  419. package/json-schema/ai/TokenUsage.json +1 -26
  420. package/json-schema/ai/TokenUsageStats.json +1 -60
  421. package/json-schema/ai/ToolCall.json +1 -43
  422. package/json-schema/ai/TrainingConfig.json +1 -82
  423. package/json-schema/ai/UIActionType.json +1 -57
  424. package/json-schema/ai/VectorStoreConfig.json +1 -76
  425. package/json-schema/ai/VectorStoreProvider.json +1 -15
  426. package/json-schema/ai/VercelIntegration.json +7 -0
  427. package/json-schema/ai/VersionManagement.json +7 -0
  428. package/json-schema/ai/ViewActionParams.json +1 -68
  429. package/json-schema/ai/ViewActionType.json +1 -15
  430. package/json-schema/ai/WorkflowActionParams.json +1 -55
  431. package/json-schema/ai/WorkflowActionType.json +1 -12
  432. package/json-schema/ai/WorkflowFieldCondition.json +1 -27
  433. package/json-schema/ai/WorkflowSchedule.json +1 -45
  434. package/json-schema/api/AckMessage.json +1 -40
  435. package/json-schema/api/ApiCapabilities.json +1 -22
  436. package/json-schema/api/ApiEndpoint.json +1 -159
  437. package/json-schema/api/ApiError.json +1 -21
  438. package/json-schema/api/ApiMapping.json +1 -22
  439. package/json-schema/api/ApiRoutes.json +1 -35
  440. package/json-schema/api/BaseResponse.json +1 -57
  441. package/json-schema/api/BatchConfig.json +1 -45
  442. package/json-schema/api/BatchDataRequest.json +1 -87
  443. package/json-schema/api/BatchDataResponse.json +1 -138
  444. package/json-schema/api/BatchEndpointsConfig.json +1 -50
  445. package/json-schema/api/BatchOperationResult.json +1 -51
  446. package/json-schema/api/BatchOperationType.json +1 -9
  447. package/json-schema/api/BatchOptions.json +1 -26
  448. package/json-schema/api/BatchRecord.json +1 -19
  449. package/json-schema/api/BatchUpdateRequest.json +1 -72
  450. package/json-schema/api/BatchUpdateResponse.json +1 -138
  451. package/json-schema/api/BulkRequest.json +1 -23
  452. package/json-schema/api/BulkResponse.json +1 -102
  453. package/json-schema/api/CacheControl.json +1 -36
  454. package/json-schema/api/CacheDirective.json +1 -11
  455. package/json-schema/api/CacheInvalidationRequest.json +1 -37
  456. package/json-schema/api/CacheInvalidationResponse.json +1 -25
  457. package/json-schema/api/CacheInvalidationTarget.json +1 -11
  458. package/json-schema/api/CreateDataRequest.json +1 -19
  459. package/json-schema/api/CreateDataResponse.json +1 -24
  460. package/json-schema/api/CreateManyDataRequest.json +1 -22
  461. package/json-schema/api/CreateManyDataResponse.json +1 -27
  462. package/json-schema/api/CreateRequest.json +1 -14
  463. package/json-schema/api/CreateViewRequest.json +1 -1036
  464. package/json-schema/api/CrudEndpointPattern.json +1 -35
  465. package/json-schema/api/CrudEndpointsConfig.json +1 -100
  466. package/json-schema/api/CrudOperation.json +1 -10
  467. package/json-schema/api/CursorMessage.json +1 -133
  468. package/json-schema/api/CursorPosition.json +1 -106
  469. package/json-schema/api/DeleteDataRequest.json +1 -18
  470. package/json-schema/api/DeleteDataResponse.json +1 -23
  471. package/json-schema/api/DeleteManyDataRequest.json +1 -48
  472. package/json-schema/api/DeleteManyDataResponse.json +1 -138
  473. package/json-schema/api/DeleteManyRequest.json +1 -45
  474. package/json-schema/api/DeleteResponse.json +1 -62
  475. package/json-schema/api/DeleteViewRequest.json +1 -13
  476. package/json-schema/api/DeleteViewResponse.json +1 -13
  477. package/json-schema/api/Discovery.json +1 -108
  478. package/json-schema/api/DocumentState.json +1 -43
  479. package/json-schema/api/ETag.json +1 -18
  480. package/json-schema/api/EditMessage.json +1 -129
  481. package/json-schema/api/EditOperation.json +1 -102
  482. package/json-schema/api/EditOperationType.json +1 -8
  483. package/json-schema/api/EndpointRegistry.json +1 -278
  484. package/json-schema/api/EnhancedApiError.json +1 -220
  485. package/json-schema/api/ErrorCategory.json +1 -14
  486. package/json-schema/api/ErrorMessage.json +1 -38
  487. package/json-schema/api/ErrorResponse.json +1 -253
  488. package/json-schema/api/EventFilter.json +1 -59
  489. package/json-schema/api/EventFilterCondition.json +1 -36
  490. package/json-schema/api/EventMessage.json +1 -49
  491. package/json-schema/api/EventPattern.json +1 -6
  492. package/json-schema/api/EventSubscription.json +1 -99
  493. package/json-schema/api/ExportRequest.json +1 -854
  494. package/json-schema/api/FieldError.json +1 -82
  495. package/json-schema/api/FilterOperator.json +1 -18
  496. package/json-schema/api/FindDataRequest.json +1 -503
  497. package/json-schema/api/FindDataResponse.json +1 -30
  498. package/json-schema/api/GeneratedEndpoint.json +1 -82
  499. package/json-schema/api/GetDataRequest.json +1 -18
  500. package/json-schema/api/GetDataResponse.json +1 -24
  501. package/json-schema/api/GetDiscoveryRequest.json +1 -5
  502. package/json-schema/api/GetDiscoveryResponse.json +1 -32
  503. package/json-schema/api/GetMetaItemCachedRequest.json +1 -71
  504. package/json-schema/api/GetMetaItemCachedResponse.json +1 -79
  505. package/json-schema/api/GetMetaItemRequest.json +1 -18
  506. package/json-schema/api/GetMetaItemResponse.json +1 -21
  507. package/json-schema/api/GetMetaItemsRequest.json +1 -13
  508. package/json-schema/api/GetMetaItemsResponse.json +1 -18
  509. package/json-schema/api/GetMetaTypesRequest.json +1 -5
  510. package/json-schema/api/GetMetaTypesResponse.json +1 -16
  511. package/json-schema/api/GetUiViewRequest.json +1 -22
  512. package/json-schema/api/GetUiViewResponse.json +1 -25
  513. package/json-schema/api/GetViewRequest.json +1 -13
  514. package/json-schema/api/GetViewResponse.json +1 -1097
  515. package/json-schema/api/GraphQLConfig.json +1 -1383
  516. package/json-schema/api/GraphQLDataLoaderConfig.json +1 -95
  517. package/json-schema/api/GraphQLDirectiveConfig.json +1 -102
  518. package/json-schema/api/GraphQLDirectiveLocation.json +1 -24
  519. package/json-schema/api/GraphQLMutationConfig.json +1 -174
  520. package/json-schema/api/GraphQLPersistedQuery.json +1 -145
  521. package/json-schema/api/GraphQLQueryComplexity.json +1 -77
  522. package/json-schema/api/GraphQLQueryConfig.json +1 -225
  523. package/json-schema/api/GraphQLQueryDepthLimit.json +1 -38
  524. package/json-schema/api/GraphQLRateLimit.json +1 -132
  525. package/json-schema/api/GraphQLResolverConfig.json +1 -92
  526. package/json-schema/api/GraphQLScalarType.json +1 -26
  527. package/json-schema/api/GraphQLSubscriptionConfig.json +1 -112
  528. package/json-schema/api/GraphQLTypeConfig.json +1 -107
  529. package/json-schema/api/HttpMethod.json +1 -12
  530. package/json-schema/api/ListRecordResponse.json +1 -97
  531. package/json-schema/api/ListViewsRequest.json +1 -52
  532. package/json-schema/api/ListViewsResponse.json +1 -1126
  533. package/json-schema/api/MetadataCacheRequest.json +1 -52
  534. package/json-schema/api/MetadataCacheResponse.json +1 -79
  535. package/json-schema/api/MetadataEndpointsConfig.json +1 -48
  536. package/json-schema/api/ModificationResult.json +1 -40
  537. package/json-schema/api/ODataConfig.json +1 -126
  538. package/json-schema/api/ODataError.json +1 -59
  539. package/json-schema/api/ODataFilterFunction.json +1 -33
  540. package/json-schema/api/ODataFilterOperator.json +1 -18
  541. package/json-schema/api/ODataMetadata.json +1 -109
  542. package/json-schema/api/ODataQuery.json +1 -83
  543. package/json-schema/api/ODataResponse.json +1 -31
  544. package/json-schema/api/ObjectStackProtocol.json +1 -5
  545. package/json-schema/api/PingMessage.json +1 -25
  546. package/json-schema/api/PongMessage.json +1 -30
  547. package/json-schema/api/Presence.json +1 -34
  548. package/json-schema/api/PresenceMessage.json +1 -86
  549. package/json-schema/api/PresenceState.json +1 -59
  550. package/json-schema/api/PresenceStatus.json +1 -8
  551. package/json-schema/api/PresenceUpdate.json +1 -29
  552. package/json-schema/api/RateLimit.json +1 -21
  553. package/json-schema/api/RealtimeAction.json +1 -8
  554. package/json-schema/api/RealtimeConfig.json +1 -84
  555. package/json-schema/api/RealtimeEvent.json +1 -45
  556. package/json-schema/api/RealtimeEventType.json +1 -9
  557. package/json-schema/api/RecordData.json +1 -5
  558. package/json-schema/api/RestApiConfig.json +1 -121
  559. package/json-schema/api/RestServerConfig.json +1 -395
  560. package/json-schema/api/RetryStrategy.json +1 -9
  561. package/json-schema/api/RouteCategory.json +1 -11
  562. package/json-schema/api/RouteDefinition.json +1 -71
  563. package/json-schema/api/RouteGenerationConfig.json +1 -65
  564. package/json-schema/api/RouterConfig.json +1 -124
  565. package/json-schema/api/SavedView.json +1 -1068
  566. package/json-schema/api/SimpleCursorPosition.json +1 -47
  567. package/json-schema/api/SimplePresenceState.json +1 -38
  568. package/json-schema/api/SingleRecordResponse.json +1 -63
  569. package/json-schema/api/StandardErrorCode.json +1 -56
  570. package/json-schema/api/SubscribeMessage.json +1 -126
  571. package/json-schema/api/Subscription.json +1 -59
  572. package/json-schema/api/SubscriptionEvent.json +1 -26
  573. package/json-schema/api/TransportProtocol.json +1 -8
  574. package/json-schema/api/UnsubscribeMessage.json +1 -41
  575. package/json-schema/api/UnsubscribeRequest.json +1 -14
  576. package/json-schema/api/UpdateDataRequest.json +1 -24
  577. package/json-schema/api/UpdateDataResponse.json +1 -24
  578. package/json-schema/api/UpdateManyDataRequest.json +1 -64
  579. package/json-schema/api/UpdateManyDataResponse.json +1 -138
  580. package/json-schema/api/UpdateManyRequest.json +1 -61
  581. package/json-schema/api/UpdateRequest.json +1 -14
  582. package/json-schema/api/UpdateViewRequest.json +1 -1035
  583. package/json-schema/api/ViewColumn.json +1 -52
  584. package/json-schema/api/ViewLayout.json +1 -119
  585. package/json-schema/api/ViewResponse.json +1 -1097
  586. package/json-schema/api/ViewType.json +1 -13
  587. package/json-schema/api/ViewVisibility.json +1 -9
  588. package/json-schema/api/WebSocketConfig.json +1 -57
  589. package/json-schema/api/WebSocketEvent.json +1 -34
  590. package/json-schema/api/WebSocketMessage.json +1 -701
  591. package/json-schema/api/WebSocketMessageType.json +1 -15
  592. package/json-schema/api/WebSocketPresenceStatus.json +1 -9
  593. package/json-schema/api/WebSocketServerConfig.json +1 -36
  594. package/json-schema/auth/APIKey.json +1 -28
  595. package/json-schema/auth/Account.json +1 -81
  596. package/json-schema/auth/AccountLinkingConfig.json +1 -21
  597. package/json-schema/auth/ApplicationAuthConfig.json +1 -835
  598. package/json-schema/auth/AuditPolicy.json +1 -25
  599. package/json-schema/auth/AuthConfig.json +1 -263
  600. package/json-schema/auth/AuthPluginConfig.json +1 -22
  601. package/json-schema/auth/AuthStrategy.json +1 -11
  602. package/json-schema/auth/BasicAuth.json +1 -24
  603. package/json-schema/auth/BearerAuth.json +1 -19
  604. package/json-schema/auth/CSRFConfig.json +1 -25
  605. package/json-schema/auth/DatabaseAdapter.json +1 -32
  606. package/json-schema/auth/DatabaseMapping.json +1 -42
  607. package/json-schema/auth/EmailPasswordConfig.json +1 -37
  608. package/json-schema/auth/EnterpriseAuthConfig.json +1 -166
  609. package/json-schema/auth/Invitation.json +1 -63
  610. package/json-schema/auth/InvitationStatus.json +1 -9
  611. package/json-schema/auth/JWTAuth.json +1 -60
  612. package/json-schema/auth/LDAPConfig.json +1 -50
  613. package/json-schema/auth/MagicLinkConfig.json +1 -15
  614. package/json-schema/auth/Member.json +1 -40
  615. package/json-schema/auth/NetworkPolicy.json +1 -25
  616. package/json-schema/auth/NoAuth.json +1 -14
  617. package/json-schema/auth/OAuth2.json +1 -56
  618. package/json-schema/auth/OAuthProvider.json +1 -60
  619. package/json-schema/auth/OIDCConfig.json +1 -55
  620. package/json-schema/auth/Organization.json +1 -46
  621. package/json-schema/auth/PasskeyConfig.json +1 -48
  622. package/json-schema/auth/PasswordPolicy.json +1 -35
  623. package/json-schema/auth/Policy.json +1 -132
  624. package/json-schema/auth/RateLimitConfig.json +1 -30
  625. package/json-schema/auth/Role.json +1 -27
  626. package/json-schema/auth/SAMLAuth.json +1 -58
  627. package/json-schema/auth/SAMLConfig.json +1 -52
  628. package/json-schema/auth/SCIMAddress.json +1 -44
  629. package/json-schema/auth/SCIMEmail.json +1 -32
  630. package/json-schema/auth/SCIMEnterpriseUser.json +1 -49
  631. package/json-schema/auth/SCIMError.json +1 -46
  632. package/json-schema/auth/SCIMGroup.json +1 -96
  633. package/json-schema/auth/SCIMGroupReference.json +1 -30
  634. package/json-schema/auth/SCIMListResponse.json +1 -600
  635. package/json-schema/auth/SCIMMemberReference.json +1 -30
  636. package/json-schema/auth/SCIMMeta.json +1 -29
  637. package/json-schema/auth/SCIMName.json +1 -30
  638. package/json-schema/auth/SCIMPatchOperation.json +1 -25
  639. package/json-schema/auth/SCIMPatchRequest.json +1 -50
  640. package/json-schema/auth/SCIMPhoneNumber.json +1 -34
  641. package/json-schema/auth/SCIMUser.json +1 -456
  642. package/json-schema/auth/Session.json +1 -57
  643. package/json-schema/auth/SessionConfig.json +1 -50
  644. package/json-schema/auth/SessionPolicy.json +1 -21
  645. package/json-schema/auth/StandardAuthProvider.json +1 -851
  646. package/json-schema/auth/TwoFactorConfig.json +1 -34
  647. package/json-schema/auth/User.json +1 -45
  648. package/json-schema/auth/UserFieldMapping.json +1 -41
  649. package/json-schema/auth/VerificationToken.json +1 -30
  650. package/json-schema/automation/ApprovalAction.json +1 -29
  651. package/json-schema/automation/ApprovalActionType.json +1 -9
  652. package/json-schema/automation/ApprovalProcess.json +1 -320
  653. package/json-schema/automation/ApprovalStep.json +1 -141
  654. package/json-schema/automation/ApproverType.json +1 -10
  655. package/json-schema/automation/AuthField.json +1 -67
  656. package/json-schema/automation/Authentication.json +1 -153
  657. package/json-schema/automation/AuthenticationType.json +1 -12
  658. package/json-schema/automation/ConflictResolution.json +1 -10
  659. package/json-schema/automation/Connector.json +1 -434
  660. package/json-schema/automation/ConnectorCategory.json +1 -20
  661. package/json-schema/automation/ConnectorInstance.json +1 -63
  662. package/json-schema/automation/ConnectorOperation.json +1 -111
  663. package/json-schema/automation/ConnectorTrigger.json +1 -48
  664. package/json-schema/automation/CustomScriptAction.json +1 -43
  665. package/json-schema/automation/DataDestinationConfig.json +1 -189
  666. package/json-schema/automation/DataSourceConfig.json +1 -28
  667. package/json-schema/automation/DataSyncConfig.json +1 -455
  668. package/json-schema/automation/ETLDestination.json +1 -51
  669. package/json-schema/automation/ETLEndpointType.json +1 -13
  670. package/json-schema/automation/ETLPipeline.json +1 -246
  671. package/json-schema/automation/ETLPipelineRun.json +1 -101
  672. package/json-schema/automation/ETLRunStatus.json +1 -11
  673. package/json-schema/automation/ETLSource.json +1 -54
  674. package/json-schema/automation/ETLSyncMode.json +1 -8
  675. package/json-schema/automation/ETLTransformation.json +1 -40
  676. package/json-schema/automation/ETLTransformationType.json +1 -15
  677. package/json-schema/automation/EmailAlertAction.json +1 -31
  678. package/json-schema/automation/FieldUpdateAction.json +1 -26
  679. package/json-schema/automation/Flow.json +1 -210
  680. package/json-schema/automation/FlowEdge.json +1 -40
  681. package/json-schema/automation/FlowNode.json +1 -59
  682. package/json-schema/automation/FlowNodeAction.json +1 -18
  683. package/json-schema/automation/FlowVariable.json +1 -28
  684. package/json-schema/automation/HttpCallAction.json +1 -75
  685. package/json-schema/automation/OAuth2Config.json +1 -37
  686. package/json-schema/automation/OperationParameter.json +1 -53
  687. package/json-schema/automation/OperationType.json +1 -11
  688. package/json-schema/automation/PushNotificationAction.json +1 -53
  689. package/json-schema/automation/SlackMessageAction.json +1 -39
  690. package/json-schema/automation/SmsNotificationAction.json +1 -44
  691. package/json-schema/automation/SyncDirection.json +1 -8
  692. package/json-schema/automation/SyncExecutionResult.json +1 -129
  693. package/json-schema/automation/SyncExecutionStatus.json +1 -11
  694. package/json-schema/automation/SyncMode.json +1 -8
  695. package/json-schema/automation/TaskCreationAction.json +1 -53
  696. package/json-schema/automation/TeamsMessageAction.json +1 -39
  697. package/json-schema/automation/TimeTrigger.json +1 -648
  698. package/json-schema/automation/Webhook.json +1 -167
  699. package/json-schema/automation/WebhookReceiver.json +1 -62
  700. package/json-schema/automation/WebhookTriggerAction.json +1 -187
  701. package/json-schema/automation/WebhookTriggerType.json +1 -10
  702. package/json-schema/automation/WorkflowAction.json +1 -594
  703. package/json-schema/automation/WorkflowRule.json +1 -1296
  704. package/json-schema/automation/WorkflowTriggerType.json +1 -10
  705. package/json-schema/data/Address.json +1 -34
  706. package/json-schema/data/AggregationFunction.json +1 -13
  707. package/json-schema/data/AggregationNode.json +1 -59
  708. package/json-schema/data/AggregationPipeline.json +1 -93
  709. package/json-schema/data/AggregationStage.json +1 -19
  710. package/json-schema/data/ApiMethod.json +1 -19
  711. package/json-schema/data/AsyncValidation.json +1 -111
  712. package/json-schema/data/CDCConfig.json +1 -31
  713. package/json-schema/data/ComparisonOperator.json +1 -102
  714. package/json-schema/data/ComputedFieldCache.json +1 -27
  715. package/json-schema/data/ConditionalValidation.json +1 -1434
  716. package/json-schema/data/ConsistencyLevel.json +1 -11
  717. package/json-schema/data/CrossFieldValidation.json +1 -81
  718. package/json-schema/data/CurrencyConfig.json +1 -29
  719. package/json-schema/data/CurrencyValue.json +1 -20
  720. package/json-schema/data/CustomValidator.json +1 -78
  721. package/json-schema/data/DataEngineAggregateOptions.json +1 -74
  722. package/json-schema/data/DataEngineAggregateRequest.json +1 -92
  723. package/json-schema/data/DataEngineBatchRequest.json +1 -693
  724. package/json-schema/data/DataEngineContract.json +1 -6
  725. package/json-schema/data/DataEngineCountOptions.json +1 -38
  726. package/json-schema/data/DataEngineCountRequest.json +1 -55
  727. package/json-schema/data/DataEngineDeleteOptions.json +1 -42
  728. package/json-schema/data/DataEngineDeleteRequest.json +1 -62
  729. package/json-schema/data/DataEngineExecuteRequest.json +1 -18
  730. package/json-schema/data/DataEngineFilter.json +1 -31
  731. package/json-schema/data/DataEngineFindOneRequest.json +1 -127
  732. package/json-schema/data/DataEngineFindRequest.json +1 -127
  733. package/json-schema/data/DataEngineInsertOptions.json +1 -11
  734. package/json-schema/data/DataEngineInsertRequest.json +1 -44
  735. package/json-schema/data/DataEngineQueryOptions.json +1 -110
  736. package/json-schema/data/DataEngineRequest.json +1 -1366
  737. package/json-schema/data/DataEngineSort.json +1 -48
  738. package/json-schema/data/DataEngineUpdateOptions.json +1 -50
  739. package/json-schema/data/DataEngineUpdateRequest.json +1 -75
  740. package/json-schema/data/DataEngineVectorFindRequest.json +1 -68
  741. package/json-schema/data/DataQualityRules.json +1 -39
  742. package/json-schema/data/DataTypeMapping.json +1 -45
  743. package/json-schema/data/Dataset.json +1 -57
  744. package/json-schema/data/DatasetMode.json +1 -10
  745. package/json-schema/data/Document.json +1 -286
  746. package/json-schema/data/DocumentTemplate.json +1 -72
  747. package/json-schema/data/DocumentValidationSchema.json +1 -33
  748. package/json-schema/data/DocumentVersion.json +1 -44
  749. package/json-schema/data/DriverCapabilities.json +1 -174
  750. package/json-schema/data/DriverConfig.json +1 -237
  751. package/json-schema/data/DriverInterface.json +1 -193
  752. package/json-schema/data/DriverOptions.json +1 -28
  753. package/json-schema/data/ESignatureConfig.json +1 -68
  754. package/json-schema/data/EqualityOperator.json +1 -8
  755. package/json-schema/data/ExternalDataSource.json +1 -62
  756. package/json-schema/data/ExternalFieldMapping.json +1 -145
  757. package/json-schema/data/ExternalLookup.json +1 -321
  758. package/json-schema/data/Field.json +1 -855
  759. package/json-schema/data/FieldMapping.json +1 -77
  760. package/json-schema/data/FieldNode.json +1 -26
  761. package/json-schema/data/FieldOperators.json +1 -180
  762. package/json-schema/data/FieldReference.json +1 -13
  763. package/json-schema/data/FieldType.json +1 -49
  764. package/json-schema/data/FileAttachmentConfig.json +1 -213
  765. package/json-schema/data/FilterCondition.json +1 -22
  766. package/json-schema/data/FormatValidation.json +1 -84
  767. package/json-schema/data/FullTextSearch.json +1 -54
  768. package/json-schema/data/Hook.json +1 -89
  769. package/json-schema/data/HookContext.json +1 -82
  770. package/json-schema/data/HookEvent.json +1 -23
  771. package/json-schema/data/Index.json +1 -41
  772. package/json-schema/data/JSONValidation.json +1 -79
  773. package/json-schema/data/JoinNode.json +1 -488
  774. package/json-schema/data/JoinStrategy.json +1 -9
  775. package/json-schema/data/JoinType.json +1 -9
  776. package/json-schema/data/LocationCoordinates.json +1 -30
  777. package/json-schema/data/Mapping.json +1 -633
  778. package/json-schema/data/NoSQLDataTypeMapping.json +1 -57
  779. package/json-schema/data/NoSQLDatabaseType.json +1 -13
  780. package/json-schema/data/NoSQLDriverConfig.json +1 -446
  781. package/json-schema/data/NoSQLIndex.json +1 -81
  782. package/json-schema/data/NoSQLIndexType.json +1 -13
  783. package/json-schema/data/NoSQLOperationType.json +1 -16
  784. package/json-schema/data/NoSQLQueryOptions.json +1 -55
  785. package/json-schema/data/NoSQLTransactionOptions.json +1 -41
  786. package/json-schema/data/NormalizedFilter.json +1 -576
  787. package/json-schema/data/Object.json +1 -2682
  788. package/json-schema/data/ObjectCapabilities.json +1 -74
  789. package/json-schema/data/PartitioningConfig.json +1 -32
  790. package/json-schema/data/PoolConfig.json +1 -30
  791. package/json-schema/data/Query.json +1 -489
  792. package/json-schema/data/QueryFilter.json +1 -28
  793. package/json-schema/data/RangeOperator.json +1 -61
  794. package/json-schema/data/ReplicationConfig.json +1 -40
  795. package/json-schema/data/SQLDialect.json +1 -11
  796. package/json-schema/data/SQLDriverConfig.json +1 -319
  797. package/json-schema/data/SSLConfig.json +1 -23
  798. package/json-schema/data/ScriptValidation.json +1 -73
  799. package/json-schema/data/SearchConfig.json +1 -30
  800. package/json-schema/data/SelectOption.json +1 -28
  801. package/json-schema/data/SetOperator.json +1 -12
  802. package/json-schema/data/ShardingConfig.json +1 -29
  803. package/json-schema/data/SoftDeleteConfig.json +1 -23
  804. package/json-schema/data/SortNode.json +1 -20
  805. package/json-schema/data/SpecialOperator.json +1 -12
  806. package/json-schema/data/StateMachineValidation.json +1 -84
  807. package/json-schema/data/StringOperator.json +1 -15
  808. package/json-schema/data/TenancyConfig.json +1 -33
  809. package/json-schema/data/TransformType.json +1 -12
  810. package/json-schema/data/UniquenessValidation.json +1 -84
  811. package/json-schema/data/ValidationRule.json +1 -1435
  812. package/json-schema/data/VectorConfig.json +1 -45
  813. package/json-schema/data/VersioningConfig.json +1 -33
  814. package/json-schema/data/WindowFunction.json +1 -18
  815. package/json-schema/data/WindowFunctionNode.json +1 -98
  816. package/json-schema/data/WindowSpec.json +1 -59
  817. package/json-schema/hub/BillOfMaterials.json +1 -64
  818. package/json-schema/hub/ComposerRequest.json +1 -80
  819. package/json-schema/hub/ComposerResponse.json +1 -885
  820. package/json-schema/hub/ConflictReport.json +1 -47
  821. package/json-schema/hub/DatabaseLevelIsolationStrategy.json +1 -133
  822. package/json-schema/hub/DependencyRequirement.json +1 -30
  823. package/json-schema/hub/DeploymentTarget.json +1 -32
  824. package/json-schema/hub/Feature.json +1 -45
  825. package/json-schema/hub/HubSpace.json +1 -273
  826. package/json-schema/hub/LevelIsolationStrategySchema.json +1 -87
  827. package/json-schema/hub/License.json +1 -59
  828. package/json-schema/hub/MarketplacePlugin.json +1 -135
  829. package/json-schema/hub/MetricType.json +1 -8
  830. package/json-schema/hub/Plan.json +1 -47
  831. package/json-schema/hub/PluginAuthor.json +1 -20
  832. package/json-schema/hub/PluginInstallConfig.json +1 -47
  833. package/json-schema/hub/PluginPricing.json +1 -37
  834. package/json-schema/hub/PluginQualityMetrics.json +1 -95
  835. package/json-schema/hub/PluginRegistryEntry.json +1 -827
  836. package/json-schema/hub/PluginSearchFilters.json +1 -85
  837. package/json-schema/hub/PluginStatistics.json +1 -78
  838. package/json-schema/hub/PluginVendor.json +1 -41
  839. package/json-schema/hub/RowLevelIsolationStrategy.json +1 -68
  840. package/json-schema/hub/SpaceSubscription.json +1 -71
  841. package/json-schema/hub/SubscriptionStatus.json +1 -10
  842. package/json-schema/hub/Tenant.json +1 -53
  843. package/json-schema/hub/TenantIsolationConfig.json +1 -292
  844. package/json-schema/hub/TenantIsolationLevel.json +1 -8
  845. package/json-schema/hub/TenantQuota.json +1 -21
  846. package/json-schema/hub/TenantSecurityPolicy.json +1 -109
  847. package/json-schema/integration/AckMode.json +1 -9
  848. package/json-schema/integration/ApiVersionConfig.json +1 -26
  849. package/json-schema/integration/Authentication.json +1 -263
  850. package/json-schema/integration/BuildConfig.json +7 -0
  851. package/json-schema/integration/CdcConfig.json +1 -49
  852. package/json-schema/integration/ConflictResolution.json +1 -10
  853. package/json-schema/integration/Connector.json +1 -913
  854. package/json-schema/integration/ConnectorStatus.json +1 -10
  855. package/json-schema/integration/ConnectorType.json +1 -12
  856. package/json-schema/integration/ConsumerConfig.json +1 -61
  857. package/json-schema/integration/DataSyncConfig.json +1 -73
  858. package/json-schema/integration/DatabaseConnector.json +1 -1366
  859. package/json-schema/integration/DatabasePoolConfig.json +1 -47
  860. package/json-schema/integration/DatabaseProvider.json +1 -18
  861. package/json-schema/integration/DatabaseTable.json +1 -210
  862. package/json-schema/integration/DeliveryGuarantee.json +1 -9
  863. package/json-schema/integration/DeploymentConfig.json +7 -0
  864. package/json-schema/integration/DlqConfig.json +1 -31
  865. package/json-schema/integration/DomainConfig.json +7 -0
  866. package/json-schema/integration/EdgeFunctionConfig.json +7 -0
  867. package/json-schema/integration/EnvironmentVariables.json +7 -0
  868. package/json-schema/integration/FieldMapping.json +1 -164
  869. package/json-schema/integration/FieldTransform.json +1 -30
  870. package/json-schema/integration/FileAccessPattern.json +1 -11
  871. package/json-schema/integration/FileFilterConfig.json +1 -44
  872. package/json-schema/integration/FileMetadataConfig.json +1 -35
  873. package/json-schema/integration/FileStorageConnector.json +1 -1234
  874. package/json-schema/integration/FileStorageProvider.json +1 -17
  875. package/json-schema/integration/FileVersioningConfig.json +1 -22
  876. package/json-schema/integration/GitHubActionsWorkflow.json +7 -0
  877. package/json-schema/integration/GitHubCommitConfig.json +7 -0
  878. package/json-schema/integration/GitHubConnector.json +7 -0
  879. package/json-schema/integration/GitHubIssueTracking.json +7 -0
  880. package/json-schema/integration/GitHubProvider.json +7 -0
  881. package/json-schema/integration/GitHubPullRequestConfig.json +7 -0
  882. package/json-schema/integration/GitHubReleaseConfig.json +7 -0
  883. package/json-schema/integration/GitHubRepository.json +7 -0
  884. package/json-schema/integration/GitRepositoryConfig.json +7 -0
  885. package/json-schema/integration/MessageFormat.json +1 -12
  886. package/json-schema/integration/MessageQueueConnector.json +1 -1319
  887. package/json-schema/integration/MessageQueueProvider.json +1 -19
  888. package/json-schema/integration/MultipartUploadConfig.json +1 -30
  889. package/json-schema/integration/ProducerConfig.json +1 -66
  890. package/json-schema/integration/RateLimitConfig.json +1 -63
  891. package/json-schema/integration/RateLimitStrategy.json +1 -10
  892. package/json-schema/integration/RetryConfig.json +1 -67
  893. package/json-schema/integration/RetryStrategy.json +1 -10
  894. package/json-schema/integration/SaasConnector.json +1 -1261
  895. package/json-schema/integration/SaasObjectType.json +1 -212
  896. package/json-schema/integration/SaasProvider.json +1 -18
  897. package/json-schema/integration/SslConfig.json +1 -28
  898. package/json-schema/integration/StorageBucket.json +1 -93
  899. package/json-schema/integration/SyncStrategy.json +1 -10
  900. package/json-schema/integration/TopicQueue.json +1 -246
  901. package/json-schema/integration/VercelConnector.json +7 -0
  902. package/json-schema/integration/VercelFramework.json +7 -0
  903. package/json-schema/integration/VercelMonitoring.json +7 -0
  904. package/json-schema/integration/VercelProject.json +7 -0
  905. package/json-schema/integration/VercelProvider.json +7 -0
  906. package/json-schema/integration/VercelTeam.json +7 -0
  907. package/json-schema/integration/WebhookConfig.json +1 -195
  908. package/json-schema/integration/WebhookEvent.json +1 -14
  909. package/json-schema/integration/WebhookSignatureAlgorithm.json +1 -9
  910. package/json-schema/permission/CriteriaSharingRule.json +1 -76
  911. package/json-schema/permission/FieldPermission.json +1 -16
  912. package/json-schema/permission/OWDModel.json +1 -9
  913. package/json-schema/permission/ObjectPermission.json +1 -51
  914. package/json-schema/permission/OwnerSharingRule.json +1 -96
  915. package/json-schema/permission/PermissionSet.json +1 -187
  916. package/json-schema/permission/RLSConfig.json +1 -53
  917. package/json-schema/permission/RLSEvaluationResult.json +1 -34
  918. package/json-schema/permission/RLSOperation.json +1 -10
  919. package/json-schema/permission/RLSUserContext.json +1 -45
  920. package/json-schema/permission/RowLevelSecurityPolicy.json +1 -71
  921. package/json-schema/permission/ShareRecipientType.json +1 -10
  922. package/json-schema/permission/SharingLevel.json +1 -8
  923. package/json-schema/permission/SharingRule.json +1 -176
  924. package/json-schema/permission/SharingRuleType.json +1 -7
  925. package/json-schema/permission/Territory.json +1 -73
  926. package/json-schema/permission/TerritoryModel.json +1 -28
  927. package/json-schema/permission/TerritoryType.json +1 -9
  928. package/json-schema/shared/CorsConfig.json +1 -51
  929. package/json-schema/shared/EventName.json +1 -6
  930. package/json-schema/shared/FieldMapping.json +1 -136
  931. package/json-schema/shared/HttpMethod.json +1 -12
  932. package/json-schema/shared/RateLimitConfig.json +1 -21
  933. package/json-schema/shared/SnakeCaseIdentifier.json +1 -6
  934. package/json-schema/shared/StaticMount.json +1 -22
  935. package/json-schema/shared/SystemIdentifier.json +1 -6
  936. package/json-schema/shared/TransformType.json +1 -114
  937. package/json-schema/system/AccessControlConfig.json +1 -100
  938. package/json-schema/system/AnalyzerConfig.json +1 -35
  939. package/json-schema/system/AuditConfig.json +1 -581
  940. package/json-schema/system/AuditEvent.json +1 -226
  941. package/json-schema/system/AuditEventActor.json +1 -42
  942. package/json-schema/system/AuditEventChange.json +1 -19
  943. package/json-schema/system/AuditEventFilter.json +1 -121
  944. package/json-schema/system/AuditEventSeverity.json +1 -13
  945. package/json-schema/system/AuditEventTarget.json +1 -27
  946. package/json-schema/system/AuditEventType.json +1 -47
  947. package/json-schema/system/AuditLogConfig.json +1 -42
  948. package/json-schema/system/AuditRetentionPolicy.json +1 -67
  949. package/json-schema/system/AuditStorageConfig.json +1 -54
  950. package/json-schema/system/AwarenessEvent.json +1 -45
  951. package/json-schema/system/AwarenessSession.json +1 -111
  952. package/json-schema/system/AwarenessUpdate.json +1 -29
  953. package/json-schema/system/AwarenessUserState.json +1 -71
  954. package/json-schema/system/BatchProgress.json +1 -66
  955. package/json-schema/system/BatchTask.json +1 -57
  956. package/json-schema/system/BucketConfig.json +1 -326
  957. package/json-schema/system/CRDTMergeResult.json +1 -289
  958. package/json-schema/system/CRDTState.json +1 -252
  959. package/json-schema/system/CRDTType.json +1 -14
  960. package/json-schema/system/CacheConfig.json +1 -115
  961. package/json-schema/system/CacheInvalidation.json +1 -37
  962. package/json-schema/system/CacheStrategy.json +1 -10
  963. package/json-schema/system/CacheTier.json +1 -46
  964. package/json-schema/system/CapabilityConformanceLevel.json +1 -10
  965. package/json-schema/system/ChangeImpact.json +1 -49
  966. package/json-schema/system/ChangePriority.json +1 -9
  967. package/json-schema/system/ChangeRequest.json +1 -307
  968. package/json-schema/system/ChangeStatus.json +1 -15
  969. package/json-schema/system/ChangeType.json +1 -9
  970. package/json-schema/system/CollaborationMode.json +1 -9
  971. package/json-schema/system/CollaborationSession.json +1 -569
  972. package/json-schema/system/CollaborationSessionConfig.json +1 -80
  973. package/json-schema/system/CollaborativeCursor.json +1 -183
  974. package/json-schema/system/ComplianceConfig.json +1 -196
  975. package/json-schema/system/ConsoleDestinationConfig.json +1 -23
  976. package/json-schema/system/ConsumerConfig.json +1 -28
  977. package/json-schema/system/CounterOperation.json +1 -24
  978. package/json-schema/system/CronSchedule.json +1 -23
  979. package/json-schema/system/CursorColorPreset.json +1 -15
  980. package/json-schema/system/CursorSelection.json +1 -60
  981. package/json-schema/system/CursorStyle.json +1 -53
  982. package/json-schema/system/CursorUpdate.json +1 -95
  983. package/json-schema/system/Datasource.json +1 -124
  984. package/json-schema/system/DatasourceCapabilities.json +1 -50
  985. package/json-schema/system/DeadLetterQueue.json +1 -20
  986. package/json-schema/system/DeadLetterQueueEntry.json +1 -131
  987. package/json-schema/system/DriverDefinition.json +1 -80
  988. package/json-schema/system/DriverType.json +1 -4
  989. package/json-schema/system/EmailTemplate.json +1 -63
  990. package/json-schema/system/EncryptionAlgorithm.json +1 -8
  991. package/json-schema/system/EncryptionConfig.json +1 -87
  992. package/json-schema/system/Event.json +1 -71
  993. package/json-schema/system/EventBusConfig.json +1 -546
  994. package/json-schema/system/EventHandler.json +1 -57
  995. package/json-schema/system/EventLogEntry.json +1 -147
  996. package/json-schema/system/EventMessageQueueConfig.json +1 -73
  997. package/json-schema/system/EventMetadata.json +1 -47
  998. package/json-schema/system/EventPersistence.json +1 -30
  999. package/json-schema/system/EventPhase.json +1 -9
  1000. package/json-schema/system/EventPriority.json +1 -10
  1001. package/json-schema/system/EventQueueConfig.json +1 -61
  1002. package/json-schema/system/EventReplayConfig.json +1 -44
  1003. package/json-schema/system/EventRoute.json +1 -21
  1004. package/json-schema/system/EventSourcingConfig.json +1 -59
  1005. package/json-schema/system/EventTypeDefinition.json +1 -39
  1006. package/json-schema/system/EventWebhookConfig.json +1 -113
  1007. package/json-schema/system/ExtendedLogLevel.json +1 -12
  1008. package/json-schema/system/ExtensionPoint.json +1 -61
  1009. package/json-schema/system/ExternalServiceDestinationConfig.json +1 -45
  1010. package/json-schema/system/FacetConfig.json +1 -24
  1011. package/json-schema/system/FeatureFlag.json +1 -81
  1012. package/json-schema/system/FeatureStrategy.json +1 -10
  1013. package/json-schema/system/FieldEncryption.json +1 -104
  1014. package/json-schema/system/FileDestinationConfig.json +1 -50
  1015. package/json-schema/system/FileMetadata.json +1 -44
  1016. package/json-schema/system/GCounter.json +1 -22
  1017. package/json-schema/system/GDPRConfig.json +1 -65
  1018. package/json-schema/system/HIPAAConfig.json +1 -39
  1019. package/json-schema/system/HealthStatus.json +1 -27
  1020. package/json-schema/system/HistogramBucketConfig.json +1 -86
  1021. package/json-schema/system/HookRegisteredEvent.json +1 -24
  1022. package/json-schema/system/HookTriggeredEvent.json +1 -28
  1023. package/json-schema/system/HttpDestinationConfig.json +1 -105
  1024. package/json-schema/system/HttpServerConfig.json +1 -150
  1025. package/json-schema/system/InAppNotification.json +1 -42
  1026. package/json-schema/system/IntervalSchedule.json +1 -19
  1027. package/json-schema/system/Job.json +1 -121
  1028. package/json-schema/system/JobExecution.json +1 -43
  1029. package/json-schema/system/JobExecutionStatus.json +1 -9
  1030. package/json-schema/system/KernelContext.json +1 -56
  1031. package/json-schema/system/KernelEventBase.json +1 -13
  1032. package/json-schema/system/KernelReadyEvent.json +1 -23
  1033. package/json-schema/system/KernelShutdownEvent.json +1 -17
  1034. package/json-schema/system/KeyManagementProvider.json +1 -10
  1035. package/json-schema/system/KeyRotationPolicy.json +1 -23
  1036. package/json-schema/system/LWWRegister.json +1 -45
  1037. package/json-schema/system/LifecycleAction.json +1 -9
  1038. package/json-schema/system/LifecyclePolicyConfig.json +1 -78
  1039. package/json-schema/system/LifecyclePolicyRule.json +1 -62
  1040. package/json-schema/system/Locale.json +1 -4
  1041. package/json-schema/system/LogDestination.json +1 -289
  1042. package/json-schema/system/LogDestinationType.json +1 -20
  1043. package/json-schema/system/LogEnrichmentConfig.json +1 -53
  1044. package/json-schema/system/LogEntry.json +1 -57
  1045. package/json-schema/system/LogFormat.json +1 -9
  1046. package/json-schema/system/LogLevel.json +1 -11
  1047. package/json-schema/system/LoggerConfig.json +1 -68
  1048. package/json-schema/system/LoggingConfig.json +1 -607
  1049. package/json-schema/system/Manifest.json +1 -797
  1050. package/json-schema/system/MaskingConfig.json +1 -71
  1051. package/json-schema/system/MaskingRule.json +1 -51
  1052. package/json-schema/system/MaskingStrategy.json +1 -12
  1053. package/json-schema/system/MessageQueueConfig.json +1 -137
  1054. package/json-schema/system/MessageQueueProvider.json +1 -11
  1055. package/json-schema/system/MetadataCollectionInfo.json +1 -47
  1056. package/json-schema/system/MetadataExportOptions.json +1 -43
  1057. package/json-schema/system/MetadataFormat.json +1 -9
  1058. package/json-schema/system/MetadataImportOptions.json +1 -36
  1059. package/json-schema/system/MetadataLoadOptions.json +1 -46
  1060. package/json-schema/system/MetadataLoadResult.json +1 -80
  1061. package/json-schema/system/MetadataLoaderContract.json +1 -42
  1062. package/json-schema/system/MetadataManagerConfig.json +1 -102
  1063. package/json-schema/system/MetadataSaveOptions.json +1 -58
  1064. package/json-schema/system/MetadataSaveResult.json +1 -36
  1065. package/json-schema/system/MetadataStats.json +1 -45
  1066. package/json-schema/system/MetadataWatchEvent.json +1 -42
  1067. package/json-schema/system/MetricAggregationConfig.json +1 -63
  1068. package/json-schema/system/MetricAggregationType.json +1 -19
  1069. package/json-schema/system/MetricDataPoint.json +1 -129
  1070. package/json-schema/system/MetricDefinition.json +1 -187
  1071. package/json-schema/system/MetricExportConfig.json +1 -87
  1072. package/json-schema/system/MetricLabels.json +1 -7
  1073. package/json-schema/system/MetricType.json +1 -10
  1074. package/json-schema/system/MetricUnit.json +1 -26
  1075. package/json-schema/system/MetricsConfig.json +1 -712
  1076. package/json-schema/system/MiddlewareConfig.json +1 -64
  1077. package/json-schema/system/MiddlewareType.json +1 -12
  1078. package/json-schema/system/MultipartUploadConfig.json +1 -43
  1079. package/json-schema/system/NotificationChannel.json +1 -12
  1080. package/json-schema/system/NotificationConfig.json +1 -337
  1081. package/json-schema/system/ORSet.json +1 -51
  1082. package/json-schema/system/ORSetElement.json +1 -33
  1083. package/json-schema/system/OTComponent.json +1 -70
  1084. package/json-schema/system/OTOperation.json +1 -122
  1085. package/json-schema/system/OTOperationType.json +1 -8
  1086. package/json-schema/system/OTTransformResult.json +1 -144
  1087. package/json-schema/system/ObjectMetadata.json +1 -84
  1088. package/json-schema/system/ObjectStorageConfig.json +1 -469
  1089. package/json-schema/system/OnceSchedule.json +1 -19
  1090. package/json-schema/system/OpenTelemetryCompatibility.json +1 -190
  1091. package/json-schema/system/OtelExporterType.json +1 -16
  1092. package/json-schema/system/PCIDSSConfig.json +1 -41
  1093. package/json-schema/system/PNCounter.json +1 -31
  1094. package/json-schema/system/Plugin.json +1 -26
  1095. package/json-schema/system/PluginCapability.json +1 -121
  1096. package/json-schema/system/PluginCapabilityManifest.json +1 -404
  1097. package/json-schema/system/PluginContext.json +1 -76
  1098. package/json-schema/system/PluginDependency.json +1 -33
  1099. package/json-schema/system/PluginErrorEvent.json +1 -40
  1100. package/json-schema/system/PluginEventBase.json +1 -18
  1101. package/json-schema/system/PluginInterface.json +1 -135
  1102. package/json-schema/system/PluginLifecycle.json +1 -5
  1103. package/json-schema/system/PluginLifecycleEventType.json +1 -25
  1104. package/json-schema/system/PluginLifecyclePhaseEvent.json +1 -32
  1105. package/json-schema/system/PluginMetadata.json +1 -31
  1106. package/json-schema/system/PluginRegisteredEvent.json +1 -22
  1107. package/json-schema/system/PluginStartupResult.json +1 -67
  1108. package/json-schema/system/PresignedUrlConfig.json +1 -43
  1109. package/json-schema/system/ProtocolFeature.json +1 -28
  1110. package/json-schema/system/ProtocolReference.json +1 -50
  1111. package/json-schema/system/ProtocolVersion.json +1 -24
  1112. package/json-schema/system/PushNotification.json +1 -54
  1113. package/json-schema/system/QueueConfig.json +1 -127
  1114. package/json-schema/system/RealTimeNotificationConfig.json +1 -79
  1115. package/json-schema/system/RetryPolicy.json +1 -24
  1116. package/json-schema/system/RollbackPlan.json +1 -45
  1117. package/json-schema/system/RouteHandlerMetadata.json +1 -79
  1118. package/json-schema/system/RuntimeMode.json +1 -10
  1119. package/json-schema/system/SMSTemplate.json +1 -30
  1120. package/json-schema/system/SamplingDecision.json +1 -9
  1121. package/json-schema/system/SamplingStrategyType.json +1 -14
  1122. package/json-schema/system/Schedule.json +1 -65
  1123. package/json-schema/system/ScopeConfig.json +1 -22
  1124. package/json-schema/system/ScopeInfo.json +1 -33
  1125. package/json-schema/system/SearchConfig.json +1 -189
  1126. package/json-schema/system/SearchIndexConfig.json +1 -72
  1127. package/json-schema/system/SearchProvider.json +1 -10
  1128. package/json-schema/system/ServerCapabilities.json +1 -57
  1129. package/json-schema/system/ServerEvent.json +1 -33
  1130. package/json-schema/system/ServerEventType.json +1 -12
  1131. package/json-schema/system/ServerStatus.json +1 -87
  1132. package/json-schema/system/ServiceFactoryRegistration.json +1 -38
  1133. package/json-schema/system/ServiceLevelIndicator.json +1 -99
  1134. package/json-schema/system/ServiceLevelObjective.json +1 -164
  1135. package/json-schema/system/ServiceMetadata.json +1 -37
  1136. package/json-schema/system/ServiceRegisteredEvent.json +1 -22
  1137. package/json-schema/system/ServiceRegistryConfig.json +1 -33
  1138. package/json-schema/system/ServiceScopeType.json +1 -9
  1139. package/json-schema/system/ServiceUnregisteredEvent.json +1 -18
  1140. package/json-schema/system/Span.json +1 -381
  1141. package/json-schema/system/SpanAttributeValue.json +1 -32
  1142. package/json-schema/system/SpanAttributes.json +1 -36
  1143. package/json-schema/system/SpanEvent.json +1 -56
  1144. package/json-schema/system/SpanKind.json +1 -11
  1145. package/json-schema/system/SpanLink.json +1 -104
  1146. package/json-schema/system/SpanStatus.json +1 -9
  1147. package/json-schema/system/StartupOptions.json +1 -30
  1148. package/json-schema/system/StartupOrchestrationResult.json +1 -98
  1149. package/json-schema/system/StorageAcl.json +1 -12
  1150. package/json-schema/system/StorageClass.json +1 -11
  1151. package/json-schema/system/StorageConnection.json +1 -56
  1152. package/json-schema/system/StorageProvider.json +1 -15
  1153. package/json-schema/system/StorageScope.json +1 -16
  1154. package/json-schema/system/StructuredLogEntry.json +1 -185
  1155. package/json-schema/system/SuspiciousActivityRule.json +1 -169
  1156. package/json-schema/system/Task.json +1 -139
  1157. package/json-schema/system/TaskExecutionResult.json +1 -79
  1158. package/json-schema/system/TaskPriority.json +1 -10
  1159. package/json-schema/system/TaskRetryPolicy.json +1 -40
  1160. package/json-schema/system/TaskStatus.json +1 -13
  1161. package/json-schema/system/TextCRDTOperation.json +1 -46
  1162. package/json-schema/system/TextCRDTState.json +1 -99
  1163. package/json-schema/system/TimeSeries.json +1 -63
  1164. package/json-schema/system/TimeSeriesDataPoint.json +1 -27
  1165. package/json-schema/system/TopicConfig.json +1 -33
  1166. package/json-schema/system/TraceContext.json +1 -58
  1167. package/json-schema/system/TraceContextPropagation.json +1 -73
  1168. package/json-schema/system/TraceFlags.json +1 -6
  1169. package/json-schema/system/TracePropagationFormat.json +1 -13
  1170. package/json-schema/system/TraceSamplingConfig.json +1 -180
  1171. package/json-schema/system/TraceState.json +1 -17
  1172. package/json-schema/system/TracingConfig.json +1 -530
  1173. package/json-schema/system/TranslationBundle.json +1 -72
  1174. package/json-schema/system/TranslationData.json +1 -69
  1175. package/json-schema/system/UserActivityStatus.json +1 -9
  1176. package/json-schema/system/ValidationError.json +1 -22
  1177. package/json-schema/system/ValidationResult.json +1 -65
  1178. package/json-schema/system/ValidationWarning.json +1 -22
  1179. package/json-schema/system/VectorClock.json +1 -17
  1180. package/json-schema/system/WorkerConfig.json +1 -182
  1181. package/json-schema/system/WorkerStats.json +1 -84
  1182. package/json-schema/ui/Action.json +1 -180
  1183. package/json-schema/ui/ActionParam.json +1 -89
  1184. package/json-schema/ui/Animation.json +1 -50
  1185. package/json-schema/ui/App.json +1 -302
  1186. package/json-schema/ui/AppBranding.json +1 -18
  1187. package/json-schema/ui/BorderRadius.json +1 -38
  1188. package/json-schema/ui/Breakpoints.json +1 -30
  1189. package/json-schema/ui/CalendarConfig.json +1 -22
  1190. package/json-schema/ui/ChartConfig.json +1 -68
  1191. package/json-schema/ui/ChartType.json +1 -34
  1192. package/json-schema/ui/ColorPalette.json +1 -77
  1193. package/json-schema/ui/Dashboard.json +1 -221
  1194. package/json-schema/ui/DashboardNavItem.json +1 -38
  1195. package/json-schema/ui/DashboardWidget.json +1 -193
  1196. package/json-schema/ui/FieldWidgetProps.json +1 -892
  1197. package/json-schema/ui/FormField.json +1 -55
  1198. package/json-schema/ui/FormSection.json +1 -95
  1199. package/json-schema/ui/FormView.json +1 -351
  1200. package/json-schema/ui/GanttConfig.json +1 -26
  1201. package/json-schema/ui/GroupNavItem.json +1 -38
  1202. package/json-schema/ui/HttpMethod.json +1 -10
  1203. package/json-schema/ui/HttpRequest.json +1 -40
  1204. package/json-schema/ui/KanbanConfig.json +1 -25
  1205. package/json-schema/ui/ListColumn.json +1 -51
  1206. package/json-schema/ui/ListView.json +1 -398
  1207. package/json-schema/ui/NavigationItem.json +1 -218
  1208. package/json-schema/ui/ObjectNavItem.json +1 -42
  1209. package/json-schema/ui/Page.json +1 -143
  1210. package/json-schema/ui/PageCardProps.json +1 -26
  1211. package/json-schema/ui/PageComponent.json +1 -60
  1212. package/json-schema/ui/PageComponentType.json +1 -26
  1213. package/json-schema/ui/PageHeaderProps.json +1 -33
  1214. package/json-schema/ui/PageNavItem.json +1 -43
  1215. package/json-schema/ui/PageRegion.json +1 -87
  1216. package/json-schema/ui/PageTabsProps.json +1 -49
  1217. package/json-schema/ui/PaginationConfig.json +1 -20
  1218. package/json-schema/ui/RecordDetailsProps.json +1 -31
  1219. package/json-schema/ui/RecordHighlightsProps.json +1 -18
  1220. package/json-schema/ui/RecordRelatedListProps.json +1 -33
  1221. package/json-schema/ui/Report.json +1 -250
  1222. package/json-schema/ui/ReportChart.json +1 -82
  1223. package/json-schema/ui/ReportColumn.json +1 -29
  1224. package/json-schema/ui/ReportGrouping.json +1 -32
  1225. package/json-schema/ui/ReportType.json +1 -9
  1226. package/json-schema/ui/SelectionConfig.json +1 -16
  1227. package/json-schema/ui/Shadow.json +1 -38
  1228. package/json-schema/ui/Spacing.json +1 -58
  1229. package/json-schema/ui/Theme.json +1 -537
  1230. package/json-schema/ui/ThemeMode.json +1 -8
  1231. package/json-schema/ui/Typography.json +1 -136
  1232. package/json-schema/ui/UrlNavItem.json +1 -47
  1233. package/json-schema/ui/View.json +1 -1512
  1234. package/json-schema/ui/ViewData.json +1 -136
  1235. package/json-schema/ui/WidgetEvent.json +1 -36
  1236. package/json-schema/ui/WidgetLifecycle.json +1 -34
  1237. package/json-schema/ui/WidgetManifest.json +1 -256
  1238. package/json-schema/ui/WidgetProperty.json +1 -52
  1239. package/json-schema/ui/ZIndex.json +1 -38
  1240. package/package.json +5 -5
@@ -2,7 +2,13 @@ import { z } from 'zod';
2
2
  /**
3
3
  * Trigger events for workflow automation
4
4
  */
5
- export declare const WorkflowTriggerType: z.ZodEnum<["on_create", "on_update", "on_create_or_update", "on_delete", "schedule"]>;
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
+ }>;
6
12
  /**
7
13
  * Schema for Workflow Field Update Action
8
14
  */
@@ -11,17 +17,7 @@ export declare const FieldUpdateActionSchema: z.ZodObject<{
11
17
  type: z.ZodLiteral<"field_update">;
12
18
  field: z.ZodString;
13
19
  value: z.ZodAny;
14
- }, "strip", z.ZodTypeAny, {
15
- type: "field_update";
16
- field: string;
17
- name: string;
18
- value?: any;
19
- }, {
20
- type: "field_update";
21
- field: string;
22
- name: string;
23
- value?: any;
24
- }>;
20
+ }, z.core.$strip>;
25
21
  /**
26
22
  * Schema for Workflow Email Alert Action
27
23
  */
@@ -29,18 +25,8 @@ export declare const EmailAlertActionSchema: z.ZodObject<{
29
25
  name: z.ZodString;
30
26
  type: z.ZodLiteral<"email_alert">;
31
27
  template: z.ZodString;
32
- recipients: z.ZodArray<z.ZodString, "many">;
33
- }, "strip", z.ZodTypeAny, {
34
- type: "email_alert";
35
- name: string;
36
- template: string;
37
- recipients: string[];
38
- }, {
39
- type: "email_alert";
40
- name: string;
41
- template: string;
42
- recipients: string[];
43
- }>;
28
+ recipients: z.ZodArray<z.ZodString>;
29
+ }, z.core.$strip>;
44
30
  /**
45
31
  * Schema for Workflow SMS Notification Action
46
32
  * Supports providers like Twilio, Vonage
@@ -48,25 +34,14 @@ export declare const EmailAlertActionSchema: z.ZodObject<{
48
34
  export declare const SmsNotificationActionSchema: z.ZodObject<{
49
35
  name: z.ZodString;
50
36
  type: z.ZodLiteral<"sms_notification">;
51
- provider: z.ZodEnum<["twilio", "vonage"]>;
52
- recipients: z.ZodArray<z.ZodString, "many">;
37
+ provider: z.ZodEnum<{
38
+ twilio: "twilio";
39
+ vonage: "vonage";
40
+ }>;
41
+ recipients: z.ZodArray<z.ZodString>;
53
42
  message: z.ZodString;
54
43
  fromNumber: z.ZodOptional<z.ZodString>;
55
- }, "strip", z.ZodTypeAny, {
56
- message: string;
57
- type: "sms_notification";
58
- provider: "twilio" | "vonage";
59
- name: string;
60
- recipients: string[];
61
- fromNumber?: string | undefined;
62
- }, {
63
- message: string;
64
- type: "sms_notification";
65
- provider: "twilio" | "vonage";
66
- name: string;
67
- recipients: string[];
68
- fromNumber?: string | undefined;
69
- }>;
44
+ }, z.core.$strip>;
70
45
  /**
71
46
  * Schema for Workflow Slack Message Action
72
47
  */
@@ -75,23 +50,9 @@ export declare const SlackMessageActionSchema: z.ZodObject<{
75
50
  type: z.ZodLiteral<"slack_message">;
76
51
  channel: z.ZodString;
77
52
  message: z.ZodString;
78
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
53
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
79
54
  threadId: z.ZodOptional<z.ZodString>;
80
- }, "strip", z.ZodTypeAny, {
81
- message: string;
82
- type: "slack_message";
83
- name: string;
84
- channel: string;
85
- mentions?: string[] | undefined;
86
- threadId?: string | undefined;
87
- }, {
88
- message: string;
89
- type: "slack_message";
90
- name: string;
91
- channel: string;
92
- mentions?: string[] | undefined;
93
- threadId?: string | undefined;
94
- }>;
55
+ }, z.core.$strip>;
95
56
  /**
96
57
  * Schema for Workflow Teams Message Action
97
58
  */
@@ -100,23 +61,9 @@ export declare const TeamsMessageActionSchema: z.ZodObject<{
100
61
  type: z.ZodLiteral<"teams_message">;
101
62
  channel: z.ZodString;
102
63
  message: z.ZodString;
103
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
64
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
104
65
  teamId: z.ZodOptional<z.ZodString>;
105
- }, "strip", z.ZodTypeAny, {
106
- message: string;
107
- type: "teams_message";
108
- name: string;
109
- channel: string;
110
- mentions?: string[] | undefined;
111
- teamId?: string | undefined;
112
- }, {
113
- message: string;
114
- type: "teams_message";
115
- name: string;
116
- channel: string;
117
- mentions?: string[] | undefined;
118
- teamId?: string | undefined;
119
- }>;
66
+ }, z.core.$strip>;
120
67
  /**
121
68
  * Schema for Workflow HTTP Call Action
122
69
  * REST API integration support
@@ -125,45 +72,27 @@ export declare const HttpCallActionSchema: z.ZodObject<{
125
72
  name: z.ZodString;
126
73
  type: z.ZodLiteral<"http_call">;
127
74
  url: z.ZodString;
128
- method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
75
+ method: z.ZodEnum<{
76
+ GET: "GET";
77
+ POST: "POST";
78
+ PUT: "PUT";
79
+ DELETE: "DELETE";
80
+ PATCH: "PATCH";
81
+ }>;
129
82
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
130
83
  body: z.ZodOptional<z.ZodAny>;
131
84
  authentication: z.ZodOptional<z.ZodObject<{
132
- type: z.ZodEnum<["none", "basic", "bearer", "api_key", "oauth2"]>;
85
+ type: z.ZodEnum<{
86
+ none: "none";
87
+ oauth2: "oauth2";
88
+ basic: "basic";
89
+ bearer: "bearer";
90
+ api_key: "api_key";
91
+ }>;
133
92
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
134
- }, "strip", z.ZodTypeAny, {
135
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
136
- credentials?: Record<string, string> | undefined;
137
- }, {
138
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
139
- credentials?: Record<string, string> | undefined;
140
- }>>;
93
+ }, z.core.$strip>>;
141
94
  timeout: z.ZodOptional<z.ZodNumber>;
142
- }, "strip", z.ZodTypeAny, {
143
- type: "http_call";
144
- url: string;
145
- name: string;
146
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
147
- headers?: Record<string, string> | undefined;
148
- timeout?: number | undefined;
149
- authentication?: {
150
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
151
- credentials?: Record<string, string> | undefined;
152
- } | undefined;
153
- body?: any;
154
- }, {
155
- type: "http_call";
156
- url: string;
157
- name: string;
158
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
159
- headers?: Record<string, string> | undefined;
160
- timeout?: number | undefined;
161
- authentication?: {
162
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
163
- credentials?: Record<string, string> | undefined;
164
- } | undefined;
165
- body?: any;
166
- }>;
95
+ }, z.core.$strip>;
167
96
  /**
168
97
  * Schema for Workflow Webhook Trigger Action
169
98
  * References the canonical WebhookSchema from automation/webhook.zod.ts
@@ -175,158 +104,51 @@ export declare const WebhookTriggerActionSchema: z.ZodObject<{
175
104
  name: z.ZodString;
176
105
  label: z.ZodOptional<z.ZodString>;
177
106
  object: z.ZodOptional<z.ZodString>;
178
- triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<["create", "update", "delete", "undelete", "api"]>, "many">>;
107
+ triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
108
+ update: "update";
109
+ delete: "delete";
110
+ create: "create";
111
+ api: "api";
112
+ undelete: "undelete";
113
+ }>>>;
179
114
  url: z.ZodString;
180
- method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>>;
115
+ method: z.ZodDefault<z.ZodEnum<{
116
+ GET: "GET";
117
+ POST: "POST";
118
+ PUT: "PUT";
119
+ DELETE: "DELETE";
120
+ PATCH: "PATCH";
121
+ }>>;
181
122
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
182
123
  body: z.ZodOptional<z.ZodAny>;
183
- payloadFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
124
+ payloadFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
184
125
  includeSession: z.ZodDefault<z.ZodBoolean>;
185
126
  authentication: z.ZodOptional<z.ZodObject<{
186
- type: z.ZodEnum<["none", "bearer", "basic", "api-key"]>;
127
+ type: z.ZodEnum<{
128
+ none: "none";
129
+ "api-key": "api-key";
130
+ basic: "basic";
131
+ bearer: "bearer";
132
+ }>;
187
133
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
188
- }, "strip", z.ZodTypeAny, {
189
- type: "none" | "api-key" | "basic" | "bearer";
190
- credentials?: Record<string, string> | undefined;
191
- }, {
192
- type: "none" | "api-key" | "basic" | "bearer";
193
- credentials?: Record<string, string> | undefined;
194
- }>>;
134
+ }, z.core.$strip>>;
195
135
  retryPolicy: z.ZodOptional<z.ZodObject<{
196
136
  maxRetries: z.ZodDefault<z.ZodNumber>;
197
- backoffStrategy: z.ZodDefault<z.ZodEnum<["exponential", "linear", "fixed"]>>;
137
+ backoffStrategy: z.ZodDefault<z.ZodEnum<{
138
+ fixed: "fixed";
139
+ linear: "linear";
140
+ exponential: "exponential";
141
+ }>>;
198
142
  initialDelayMs: z.ZodDefault<z.ZodNumber>;
199
143
  maxDelayMs: z.ZodDefault<z.ZodNumber>;
200
- }, "strip", z.ZodTypeAny, {
201
- maxRetries: number;
202
- backoffStrategy: "fixed" | "linear" | "exponential";
203
- initialDelayMs: number;
204
- maxDelayMs: number;
205
- }, {
206
- maxRetries?: number | undefined;
207
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
208
- initialDelayMs?: number | undefined;
209
- maxDelayMs?: number | undefined;
210
- }>>;
144
+ }, z.core.$strip>>;
211
145
  timeoutMs: z.ZodDefault<z.ZodNumber>;
212
146
  secret: z.ZodOptional<z.ZodString>;
213
147
  isActive: z.ZodDefault<z.ZodBoolean>;
214
148
  description: z.ZodOptional<z.ZodString>;
215
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
216
- }, "strip", z.ZodTypeAny, {
217
- url: string;
218
- name: string;
219
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
220
- timeoutMs: number;
221
- includeSession: boolean;
222
- isActive: boolean;
223
- object?: string | undefined;
224
- tags?: string[] | undefined;
225
- label?: string | undefined;
226
- description?: string | undefined;
227
- headers?: Record<string, string> | undefined;
228
- authentication?: {
229
- type: "none" | "api-key" | "basic" | "bearer";
230
- credentials?: Record<string, string> | undefined;
231
- } | undefined;
232
- body?: any;
233
- secret?: string | undefined;
234
- retryPolicy?: {
235
- maxRetries: number;
236
- backoffStrategy: "fixed" | "linear" | "exponential";
237
- initialDelayMs: number;
238
- maxDelayMs: number;
239
- } | undefined;
240
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
241
- payloadFields?: string[] | undefined;
242
- }, {
243
- url: string;
244
- name: string;
245
- object?: string | undefined;
246
- tags?: string[] | undefined;
247
- label?: string | undefined;
248
- description?: string | undefined;
249
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
250
- headers?: Record<string, string> | undefined;
251
- authentication?: {
252
- type: "none" | "api-key" | "basic" | "bearer";
253
- credentials?: Record<string, string> | undefined;
254
- } | undefined;
255
- body?: any;
256
- secret?: string | undefined;
257
- timeoutMs?: number | undefined;
258
- retryPolicy?: {
259
- maxRetries?: number | undefined;
260
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
261
- initialDelayMs?: number | undefined;
262
- maxDelayMs?: number | undefined;
263
- } | undefined;
264
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
265
- payloadFields?: string[] | undefined;
266
- includeSession?: boolean | undefined;
267
- isActive?: boolean | undefined;
268
- }>;
269
- }, "strip", z.ZodTypeAny, {
270
- type: "webhook_trigger";
271
- name: string;
272
- config: {
273
- url: string;
274
- name: string;
275
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
276
- timeoutMs: number;
277
- includeSession: boolean;
278
- isActive: boolean;
279
- object?: string | undefined;
280
- tags?: string[] | undefined;
281
- label?: string | undefined;
282
- description?: string | undefined;
283
- headers?: Record<string, string> | undefined;
284
- authentication?: {
285
- type: "none" | "api-key" | "basic" | "bearer";
286
- credentials?: Record<string, string> | undefined;
287
- } | undefined;
288
- body?: any;
289
- secret?: string | undefined;
290
- retryPolicy?: {
291
- maxRetries: number;
292
- backoffStrategy: "fixed" | "linear" | "exponential";
293
- initialDelayMs: number;
294
- maxDelayMs: number;
295
- } | undefined;
296
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
297
- payloadFields?: string[] | undefined;
298
- };
299
- }, {
300
- type: "webhook_trigger";
301
- name: string;
302
- config: {
303
- url: string;
304
- name: string;
305
- object?: string | undefined;
306
- tags?: string[] | undefined;
307
- label?: string | undefined;
308
- description?: string | undefined;
309
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
310
- headers?: Record<string, string> | undefined;
311
- authentication?: {
312
- type: "none" | "api-key" | "basic" | "bearer";
313
- credentials?: Record<string, string> | undefined;
314
- } | undefined;
315
- body?: any;
316
- secret?: string | undefined;
317
- timeoutMs?: number | undefined;
318
- retryPolicy?: {
319
- maxRetries?: number | undefined;
320
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
321
- initialDelayMs?: number | undefined;
322
- maxDelayMs?: number | undefined;
323
- } | undefined;
324
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
325
- payloadFields?: string[] | undefined;
326
- includeSession?: boolean | undefined;
327
- isActive?: boolean | undefined;
328
- };
329
- }>;
149
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
150
+ }, z.core.$strip>;
151
+ }, z.core.$strip>;
330
152
  /**
331
153
  * Schema for Workflow Task Creation Action
332
154
  */
@@ -341,29 +163,7 @@ export declare const TaskCreationActionSchema: z.ZodObject<{
341
163
  priority: z.ZodOptional<z.ZodString>;
342
164
  relatedTo: z.ZodOptional<z.ZodString>;
343
165
  additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
344
- }, "strip", z.ZodTypeAny, {
345
- type: "task_creation";
346
- name: string;
347
- subject: string;
348
- taskObject: string;
349
- description?: string | undefined;
350
- priority?: string | undefined;
351
- assignedTo?: string | undefined;
352
- dueDate?: string | undefined;
353
- relatedTo?: string | undefined;
354
- additionalFields?: Record<string, any> | undefined;
355
- }, {
356
- type: "task_creation";
357
- name: string;
358
- subject: string;
359
- taskObject: string;
360
- description?: string | undefined;
361
- priority?: string | undefined;
362
- assignedTo?: string | undefined;
363
- dueDate?: string | undefined;
364
- relatedTo?: string | undefined;
365
- additionalFields?: Record<string, any> | undefined;
366
- }>;
166
+ }, z.core.$strip>;
367
167
  /**
368
168
  * Schema for Workflow Push Notification Action
369
169
  */
@@ -372,355 +172,141 @@ export declare const PushNotificationActionSchema: z.ZodObject<{
372
172
  type: z.ZodLiteral<"push_notification">;
373
173
  title: z.ZodString;
374
174
  body: z.ZodString;
375
- recipients: z.ZodArray<z.ZodString, "many">;
175
+ recipients: z.ZodArray<z.ZodString>;
376
176
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
377
177
  badge: z.ZodOptional<z.ZodNumber>;
378
178
  sound: z.ZodOptional<z.ZodString>;
379
179
  clickAction: z.ZodOptional<z.ZodString>;
380
- }, "strip", z.ZodTypeAny, {
381
- type: "push_notification";
382
- name: string;
383
- title: string;
384
- body: string;
385
- recipients: string[];
386
- data?: Record<string, any> | undefined;
387
- badge?: number | undefined;
388
- sound?: string | undefined;
389
- clickAction?: string | undefined;
390
- }, {
391
- type: "push_notification";
392
- name: string;
393
- title: string;
394
- body: string;
395
- recipients: string[];
396
- data?: Record<string, any> | undefined;
397
- badge?: number | undefined;
398
- sound?: string | undefined;
399
- clickAction?: string | undefined;
400
- }>;
180
+ }, z.core.$strip>;
401
181
  /**
402
182
  * Schema for Workflow Custom Script Action
403
183
  */
404
184
  export declare const CustomScriptActionSchema: z.ZodObject<{
405
185
  name: z.ZodString;
406
186
  type: z.ZodLiteral<"custom_script">;
407
- language: z.ZodDefault<z.ZodEnum<["javascript", "typescript", "python"]>>;
187
+ language: z.ZodDefault<z.ZodEnum<{
188
+ javascript: "javascript";
189
+ typescript: "typescript";
190
+ python: "python";
191
+ }>>;
408
192
  code: z.ZodString;
409
193
  timeout: z.ZodDefault<z.ZodNumber>;
410
194
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
411
- }, "strip", z.ZodTypeAny, {
412
- code: string;
413
- type: "custom_script";
414
- language: "javascript" | "typescript" | "python";
415
- name: string;
416
- timeout: number;
417
- context?: Record<string, any> | undefined;
418
- }, {
419
- code: string;
420
- type: "custom_script";
421
- name: string;
422
- language?: "javascript" | "typescript" | "python" | undefined;
423
- timeout?: number | undefined;
424
- context?: Record<string, any> | undefined;
425
- }>;
195
+ }, z.core.$strip>;
426
196
  /**
427
197
  * Generic Workflow Action Wrapper
428
198
  * Supports 10 action types for comprehensive automation
429
199
  */
430
- export declare const WorkflowActionSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
200
+ export declare const WorkflowActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
431
201
  name: z.ZodString;
432
202
  type: z.ZodLiteral<"field_update">;
433
203
  field: z.ZodString;
434
204
  value: z.ZodAny;
435
- }, "strip", z.ZodTypeAny, {
436
- type: "field_update";
437
- field: string;
438
- name: string;
439
- value?: any;
440
- }, {
441
- type: "field_update";
442
- field: string;
443
- name: string;
444
- value?: any;
445
- }>, z.ZodObject<{
205
+ }, z.core.$strip>, z.ZodObject<{
446
206
  name: z.ZodString;
447
207
  type: z.ZodLiteral<"email_alert">;
448
208
  template: z.ZodString;
449
- recipients: z.ZodArray<z.ZodString, "many">;
450
- }, "strip", z.ZodTypeAny, {
451
- type: "email_alert";
452
- name: string;
453
- template: string;
454
- recipients: string[];
455
- }, {
456
- type: "email_alert";
457
- name: string;
458
- template: string;
459
- recipients: string[];
460
- }>, z.ZodObject<{
209
+ recipients: z.ZodArray<z.ZodString>;
210
+ }, z.core.$strip>, z.ZodObject<{
461
211
  name: z.ZodString;
462
212
  type: z.ZodLiteral<"sms_notification">;
463
- provider: z.ZodEnum<["twilio", "vonage"]>;
464
- recipients: z.ZodArray<z.ZodString, "many">;
213
+ provider: z.ZodEnum<{
214
+ twilio: "twilio";
215
+ vonage: "vonage";
216
+ }>;
217
+ recipients: z.ZodArray<z.ZodString>;
465
218
  message: z.ZodString;
466
219
  fromNumber: z.ZodOptional<z.ZodString>;
467
- }, "strip", z.ZodTypeAny, {
468
- message: string;
469
- type: "sms_notification";
470
- provider: "twilio" | "vonage";
471
- name: string;
472
- recipients: string[];
473
- fromNumber?: string | undefined;
474
- }, {
475
- message: string;
476
- type: "sms_notification";
477
- provider: "twilio" | "vonage";
478
- name: string;
479
- recipients: string[];
480
- fromNumber?: string | undefined;
481
- }>, z.ZodObject<{
220
+ }, z.core.$strip>, z.ZodObject<{
482
221
  name: z.ZodString;
483
222
  type: z.ZodLiteral<"slack_message">;
484
223
  channel: z.ZodString;
485
224
  message: z.ZodString;
486
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
225
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
487
226
  threadId: z.ZodOptional<z.ZodString>;
488
- }, "strip", z.ZodTypeAny, {
489
- message: string;
490
- type: "slack_message";
491
- name: string;
492
- channel: string;
493
- mentions?: string[] | undefined;
494
- threadId?: string | undefined;
495
- }, {
496
- message: string;
497
- type: "slack_message";
498
- name: string;
499
- channel: string;
500
- mentions?: string[] | undefined;
501
- threadId?: string | undefined;
502
- }>, z.ZodObject<{
227
+ }, z.core.$strip>, z.ZodObject<{
503
228
  name: z.ZodString;
504
229
  type: z.ZodLiteral<"teams_message">;
505
230
  channel: z.ZodString;
506
231
  message: z.ZodString;
507
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
232
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
508
233
  teamId: z.ZodOptional<z.ZodString>;
509
- }, "strip", z.ZodTypeAny, {
510
- message: string;
511
- type: "teams_message";
512
- name: string;
513
- channel: string;
514
- mentions?: string[] | undefined;
515
- teamId?: string | undefined;
516
- }, {
517
- message: string;
518
- type: "teams_message";
519
- name: string;
520
- channel: string;
521
- mentions?: string[] | undefined;
522
- teamId?: string | undefined;
523
- }>, z.ZodObject<{
234
+ }, z.core.$strip>, z.ZodObject<{
524
235
  name: z.ZodString;
525
236
  type: z.ZodLiteral<"http_call">;
526
237
  url: z.ZodString;
527
- method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
238
+ method: z.ZodEnum<{
239
+ GET: "GET";
240
+ POST: "POST";
241
+ PUT: "PUT";
242
+ DELETE: "DELETE";
243
+ PATCH: "PATCH";
244
+ }>;
528
245
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
529
246
  body: z.ZodOptional<z.ZodAny>;
530
247
  authentication: z.ZodOptional<z.ZodObject<{
531
- type: z.ZodEnum<["none", "basic", "bearer", "api_key", "oauth2"]>;
248
+ type: z.ZodEnum<{
249
+ none: "none";
250
+ oauth2: "oauth2";
251
+ basic: "basic";
252
+ bearer: "bearer";
253
+ api_key: "api_key";
254
+ }>;
532
255
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
533
- }, "strip", z.ZodTypeAny, {
534
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
535
- credentials?: Record<string, string> | undefined;
536
- }, {
537
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
538
- credentials?: Record<string, string> | undefined;
539
- }>>;
256
+ }, z.core.$strip>>;
540
257
  timeout: z.ZodOptional<z.ZodNumber>;
541
- }, "strip", z.ZodTypeAny, {
542
- type: "http_call";
543
- url: string;
544
- name: string;
545
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
546
- headers?: Record<string, string> | undefined;
547
- timeout?: number | undefined;
548
- authentication?: {
549
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
550
- credentials?: Record<string, string> | undefined;
551
- } | undefined;
552
- body?: any;
553
- }, {
554
- type: "http_call";
555
- url: string;
556
- name: string;
557
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
558
- headers?: Record<string, string> | undefined;
559
- timeout?: number | undefined;
560
- authentication?: {
561
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
562
- credentials?: Record<string, string> | undefined;
563
- } | undefined;
564
- body?: any;
565
- }>, z.ZodObject<{
258
+ }, z.core.$strip>, z.ZodObject<{
566
259
  name: z.ZodString;
567
260
  type: z.ZodLiteral<"webhook_trigger">;
568
261
  config: z.ZodObject<{
569
262
  name: z.ZodString;
570
263
  label: z.ZodOptional<z.ZodString>;
571
264
  object: z.ZodOptional<z.ZodString>;
572
- triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<["create", "update", "delete", "undelete", "api"]>, "many">>;
265
+ triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
266
+ update: "update";
267
+ delete: "delete";
268
+ create: "create";
269
+ api: "api";
270
+ undelete: "undelete";
271
+ }>>>;
573
272
  url: z.ZodString;
574
- method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>>;
273
+ method: z.ZodDefault<z.ZodEnum<{
274
+ GET: "GET";
275
+ POST: "POST";
276
+ PUT: "PUT";
277
+ DELETE: "DELETE";
278
+ PATCH: "PATCH";
279
+ }>>;
575
280
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
576
281
  body: z.ZodOptional<z.ZodAny>;
577
- payloadFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
282
+ payloadFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
578
283
  includeSession: z.ZodDefault<z.ZodBoolean>;
579
284
  authentication: z.ZodOptional<z.ZodObject<{
580
- type: z.ZodEnum<["none", "bearer", "basic", "api-key"]>;
285
+ type: z.ZodEnum<{
286
+ none: "none";
287
+ "api-key": "api-key";
288
+ basic: "basic";
289
+ bearer: "bearer";
290
+ }>;
581
291
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
582
- }, "strip", z.ZodTypeAny, {
583
- type: "none" | "api-key" | "basic" | "bearer";
584
- credentials?: Record<string, string> | undefined;
585
- }, {
586
- type: "none" | "api-key" | "basic" | "bearer";
587
- credentials?: Record<string, string> | undefined;
588
- }>>;
292
+ }, z.core.$strip>>;
589
293
  retryPolicy: z.ZodOptional<z.ZodObject<{
590
294
  maxRetries: z.ZodDefault<z.ZodNumber>;
591
- backoffStrategy: z.ZodDefault<z.ZodEnum<["exponential", "linear", "fixed"]>>;
295
+ backoffStrategy: z.ZodDefault<z.ZodEnum<{
296
+ fixed: "fixed";
297
+ linear: "linear";
298
+ exponential: "exponential";
299
+ }>>;
592
300
  initialDelayMs: z.ZodDefault<z.ZodNumber>;
593
301
  maxDelayMs: z.ZodDefault<z.ZodNumber>;
594
- }, "strip", z.ZodTypeAny, {
595
- maxRetries: number;
596
- backoffStrategy: "fixed" | "linear" | "exponential";
597
- initialDelayMs: number;
598
- maxDelayMs: number;
599
- }, {
600
- maxRetries?: number | undefined;
601
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
602
- initialDelayMs?: number | undefined;
603
- maxDelayMs?: number | undefined;
604
- }>>;
302
+ }, z.core.$strip>>;
605
303
  timeoutMs: z.ZodDefault<z.ZodNumber>;
606
304
  secret: z.ZodOptional<z.ZodString>;
607
305
  isActive: z.ZodDefault<z.ZodBoolean>;
608
306
  description: z.ZodOptional<z.ZodString>;
609
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
610
- }, "strip", z.ZodTypeAny, {
611
- url: string;
612
- name: string;
613
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
614
- timeoutMs: number;
615
- includeSession: boolean;
616
- isActive: boolean;
617
- object?: string | undefined;
618
- tags?: string[] | undefined;
619
- label?: string | undefined;
620
- description?: string | undefined;
621
- headers?: Record<string, string> | undefined;
622
- authentication?: {
623
- type: "none" | "api-key" | "basic" | "bearer";
624
- credentials?: Record<string, string> | undefined;
625
- } | undefined;
626
- body?: any;
627
- secret?: string | undefined;
628
- retryPolicy?: {
629
- maxRetries: number;
630
- backoffStrategy: "fixed" | "linear" | "exponential";
631
- initialDelayMs: number;
632
- maxDelayMs: number;
633
- } | undefined;
634
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
635
- payloadFields?: string[] | undefined;
636
- }, {
637
- url: string;
638
- name: string;
639
- object?: string | undefined;
640
- tags?: string[] | undefined;
641
- label?: string | undefined;
642
- description?: string | undefined;
643
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
644
- headers?: Record<string, string> | undefined;
645
- authentication?: {
646
- type: "none" | "api-key" | "basic" | "bearer";
647
- credentials?: Record<string, string> | undefined;
648
- } | undefined;
649
- body?: any;
650
- secret?: string | undefined;
651
- timeoutMs?: number | undefined;
652
- retryPolicy?: {
653
- maxRetries?: number | undefined;
654
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
655
- initialDelayMs?: number | undefined;
656
- maxDelayMs?: number | undefined;
657
- } | undefined;
658
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
659
- payloadFields?: string[] | undefined;
660
- includeSession?: boolean | undefined;
661
- isActive?: boolean | undefined;
662
- }>;
663
- }, "strip", z.ZodTypeAny, {
664
- type: "webhook_trigger";
665
- name: string;
666
- config: {
667
- url: string;
668
- name: string;
669
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
670
- timeoutMs: number;
671
- includeSession: boolean;
672
- isActive: boolean;
673
- object?: string | undefined;
674
- tags?: string[] | undefined;
675
- label?: string | undefined;
676
- description?: string | undefined;
677
- headers?: Record<string, string> | undefined;
678
- authentication?: {
679
- type: "none" | "api-key" | "basic" | "bearer";
680
- credentials?: Record<string, string> | undefined;
681
- } | undefined;
682
- body?: any;
683
- secret?: string | undefined;
684
- retryPolicy?: {
685
- maxRetries: number;
686
- backoffStrategy: "fixed" | "linear" | "exponential";
687
- initialDelayMs: number;
688
- maxDelayMs: number;
689
- } | undefined;
690
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
691
- payloadFields?: string[] | undefined;
692
- };
693
- }, {
694
- type: "webhook_trigger";
695
- name: string;
696
- config: {
697
- url: string;
698
- name: string;
699
- object?: string | undefined;
700
- tags?: string[] | undefined;
701
- label?: string | undefined;
702
- description?: string | undefined;
703
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
704
- headers?: Record<string, string> | undefined;
705
- authentication?: {
706
- type: "none" | "api-key" | "basic" | "bearer";
707
- credentials?: Record<string, string> | undefined;
708
- } | undefined;
709
- body?: any;
710
- secret?: string | undefined;
711
- timeoutMs?: number | undefined;
712
- retryPolicy?: {
713
- maxRetries?: number | undefined;
714
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
715
- initialDelayMs?: number | undefined;
716
- maxDelayMs?: number | undefined;
717
- } | undefined;
718
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
719
- payloadFields?: string[] | undefined;
720
- includeSession?: boolean | undefined;
721
- isActive?: boolean | undefined;
722
- };
723
- }>, z.ZodObject<{
307
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
308
+ }, z.core.$strip>;
309
+ }, z.core.$strip>, z.ZodObject<{
724
310
  name: z.ZodString;
725
311
  type: z.ZodLiteral<"task_creation">;
726
312
  taskObject: z.ZodString;
@@ -731,388 +317,159 @@ export declare const WorkflowActionSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
731
317
  priority: z.ZodOptional<z.ZodString>;
732
318
  relatedTo: z.ZodOptional<z.ZodString>;
733
319
  additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
734
- }, "strip", z.ZodTypeAny, {
735
- type: "task_creation";
736
- name: string;
737
- subject: string;
738
- taskObject: string;
739
- description?: string | undefined;
740
- priority?: string | undefined;
741
- assignedTo?: string | undefined;
742
- dueDate?: string | undefined;
743
- relatedTo?: string | undefined;
744
- additionalFields?: Record<string, any> | undefined;
745
- }, {
746
- type: "task_creation";
747
- name: string;
748
- subject: string;
749
- taskObject: string;
750
- description?: string | undefined;
751
- priority?: string | undefined;
752
- assignedTo?: string | undefined;
753
- dueDate?: string | undefined;
754
- relatedTo?: string | undefined;
755
- additionalFields?: Record<string, any> | undefined;
756
- }>, z.ZodObject<{
320
+ }, z.core.$strip>, z.ZodObject<{
757
321
  name: z.ZodString;
758
322
  type: z.ZodLiteral<"push_notification">;
759
323
  title: z.ZodString;
760
324
  body: z.ZodString;
761
- recipients: z.ZodArray<z.ZodString, "many">;
325
+ recipients: z.ZodArray<z.ZodString>;
762
326
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
763
327
  badge: z.ZodOptional<z.ZodNumber>;
764
328
  sound: z.ZodOptional<z.ZodString>;
765
329
  clickAction: z.ZodOptional<z.ZodString>;
766
- }, "strip", z.ZodTypeAny, {
767
- type: "push_notification";
768
- name: string;
769
- title: string;
770
- body: string;
771
- recipients: string[];
772
- data?: Record<string, any> | undefined;
773
- badge?: number | undefined;
774
- sound?: string | undefined;
775
- clickAction?: string | undefined;
776
- }, {
777
- type: "push_notification";
778
- name: string;
779
- title: string;
780
- body: string;
781
- recipients: string[];
782
- data?: Record<string, any> | undefined;
783
- badge?: number | undefined;
784
- sound?: string | undefined;
785
- clickAction?: string | undefined;
786
- }>, z.ZodObject<{
330
+ }, z.core.$strip>, z.ZodObject<{
787
331
  name: z.ZodString;
788
332
  type: z.ZodLiteral<"custom_script">;
789
- language: z.ZodDefault<z.ZodEnum<["javascript", "typescript", "python"]>>;
333
+ language: z.ZodDefault<z.ZodEnum<{
334
+ javascript: "javascript";
335
+ typescript: "typescript";
336
+ python: "python";
337
+ }>>;
790
338
  code: z.ZodString;
791
339
  timeout: z.ZodDefault<z.ZodNumber>;
792
340
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
793
- }, "strip", z.ZodTypeAny, {
794
- code: string;
795
- type: "custom_script";
796
- language: "javascript" | "typescript" | "python";
797
- name: string;
798
- timeout: number;
799
- context?: Record<string, any> | undefined;
800
- }, {
801
- code: string;
802
- type: "custom_script";
803
- name: string;
804
- language?: "javascript" | "typescript" | "python" | undefined;
805
- timeout?: number | undefined;
806
- context?: Record<string, any> | undefined;
807
- }>]>;
341
+ }, z.core.$strip>], "type">;
808
342
  /**
809
343
  * Time Trigger Definition
810
344
  * Schedules actions to run relative to a specific time or date field.
811
345
  */
812
346
  export declare const TimeTriggerSchema: z.ZodObject<{
813
347
  id: z.ZodOptional<z.ZodString>;
814
- /** Timing Logic */
815
348
  timeLength: z.ZodNumber;
816
- timeUnit: z.ZodEnum<["minutes", "hours", "days"]>;
817
- /** Reference Point */
818
- offsetDirection: z.ZodEnum<["before", "after"]>;
819
- offsetFrom: z.ZodEnum<["trigger_date", "date_field"]>;
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
+ }>;
820
362
  dateField: z.ZodOptional<z.ZodString>;
821
- /** Actions */
822
- actions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
363
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
823
364
  name: z.ZodString;
824
365
  type: z.ZodLiteral<"field_update">;
825
366
  field: z.ZodString;
826
367
  value: z.ZodAny;
827
- }, "strip", z.ZodTypeAny, {
828
- type: "field_update";
829
- field: string;
830
- name: string;
831
- value?: any;
832
- }, {
833
- type: "field_update";
834
- field: string;
835
- name: string;
836
- value?: any;
837
- }>, z.ZodObject<{
368
+ }, z.core.$strip>, z.ZodObject<{
838
369
  name: z.ZodString;
839
370
  type: z.ZodLiteral<"email_alert">;
840
371
  template: z.ZodString;
841
- recipients: z.ZodArray<z.ZodString, "many">;
842
- }, "strip", z.ZodTypeAny, {
843
- type: "email_alert";
844
- name: string;
845
- template: string;
846
- recipients: string[];
847
- }, {
848
- type: "email_alert";
849
- name: string;
850
- template: string;
851
- recipients: string[];
852
- }>, z.ZodObject<{
372
+ recipients: z.ZodArray<z.ZodString>;
373
+ }, z.core.$strip>, z.ZodObject<{
853
374
  name: z.ZodString;
854
375
  type: z.ZodLiteral<"sms_notification">;
855
- provider: z.ZodEnum<["twilio", "vonage"]>;
856
- recipients: z.ZodArray<z.ZodString, "many">;
376
+ provider: z.ZodEnum<{
377
+ twilio: "twilio";
378
+ vonage: "vonage";
379
+ }>;
380
+ recipients: z.ZodArray<z.ZodString>;
857
381
  message: z.ZodString;
858
382
  fromNumber: z.ZodOptional<z.ZodString>;
859
- }, "strip", z.ZodTypeAny, {
860
- message: string;
861
- type: "sms_notification";
862
- provider: "twilio" | "vonage";
863
- name: string;
864
- recipients: string[];
865
- fromNumber?: string | undefined;
866
- }, {
867
- message: string;
868
- type: "sms_notification";
869
- provider: "twilio" | "vonage";
870
- name: string;
871
- recipients: string[];
872
- fromNumber?: string | undefined;
873
- }>, z.ZodObject<{
383
+ }, z.core.$strip>, z.ZodObject<{
874
384
  name: z.ZodString;
875
385
  type: z.ZodLiteral<"slack_message">;
876
386
  channel: z.ZodString;
877
387
  message: z.ZodString;
878
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
388
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
879
389
  threadId: z.ZodOptional<z.ZodString>;
880
- }, "strip", z.ZodTypeAny, {
881
- message: string;
882
- type: "slack_message";
883
- name: string;
884
- channel: string;
885
- mentions?: string[] | undefined;
886
- threadId?: string | undefined;
887
- }, {
888
- message: string;
889
- type: "slack_message";
890
- name: string;
891
- channel: string;
892
- mentions?: string[] | undefined;
893
- threadId?: string | undefined;
894
- }>, z.ZodObject<{
390
+ }, z.core.$strip>, z.ZodObject<{
895
391
  name: z.ZodString;
896
392
  type: z.ZodLiteral<"teams_message">;
897
393
  channel: z.ZodString;
898
394
  message: z.ZodString;
899
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
395
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
900
396
  teamId: z.ZodOptional<z.ZodString>;
901
- }, "strip", z.ZodTypeAny, {
902
- message: string;
903
- type: "teams_message";
904
- name: string;
905
- channel: string;
906
- mentions?: string[] | undefined;
907
- teamId?: string | undefined;
908
- }, {
909
- message: string;
910
- type: "teams_message";
911
- name: string;
912
- channel: string;
913
- mentions?: string[] | undefined;
914
- teamId?: string | undefined;
915
- }>, z.ZodObject<{
397
+ }, z.core.$strip>, z.ZodObject<{
916
398
  name: z.ZodString;
917
399
  type: z.ZodLiteral<"http_call">;
918
400
  url: z.ZodString;
919
- method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
401
+ method: z.ZodEnum<{
402
+ GET: "GET";
403
+ POST: "POST";
404
+ PUT: "PUT";
405
+ DELETE: "DELETE";
406
+ PATCH: "PATCH";
407
+ }>;
920
408
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
921
409
  body: z.ZodOptional<z.ZodAny>;
922
410
  authentication: z.ZodOptional<z.ZodObject<{
923
- type: z.ZodEnum<["none", "basic", "bearer", "api_key", "oauth2"]>;
411
+ type: z.ZodEnum<{
412
+ none: "none";
413
+ oauth2: "oauth2";
414
+ basic: "basic";
415
+ bearer: "bearer";
416
+ api_key: "api_key";
417
+ }>;
924
418
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
925
- }, "strip", z.ZodTypeAny, {
926
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
927
- credentials?: Record<string, string> | undefined;
928
- }, {
929
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
930
- credentials?: Record<string, string> | undefined;
931
- }>>;
419
+ }, z.core.$strip>>;
932
420
  timeout: z.ZodOptional<z.ZodNumber>;
933
- }, "strip", z.ZodTypeAny, {
934
- type: "http_call";
935
- url: string;
936
- name: string;
937
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
938
- headers?: Record<string, string> | undefined;
939
- timeout?: number | undefined;
940
- authentication?: {
941
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
942
- credentials?: Record<string, string> | undefined;
943
- } | undefined;
944
- body?: any;
945
- }, {
946
- type: "http_call";
947
- url: string;
948
- name: string;
949
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
950
- headers?: Record<string, string> | undefined;
951
- timeout?: number | undefined;
952
- authentication?: {
953
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
954
- credentials?: Record<string, string> | undefined;
955
- } | undefined;
956
- body?: any;
957
- }>, z.ZodObject<{
421
+ }, z.core.$strip>, z.ZodObject<{
958
422
  name: z.ZodString;
959
423
  type: z.ZodLiteral<"webhook_trigger">;
960
424
  config: z.ZodObject<{
961
425
  name: z.ZodString;
962
426
  label: z.ZodOptional<z.ZodString>;
963
427
  object: z.ZodOptional<z.ZodString>;
964
- triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<["create", "update", "delete", "undelete", "api"]>, "many">>;
428
+ triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
429
+ update: "update";
430
+ delete: "delete";
431
+ create: "create";
432
+ api: "api";
433
+ undelete: "undelete";
434
+ }>>>;
965
435
  url: z.ZodString;
966
- method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>>;
436
+ method: z.ZodDefault<z.ZodEnum<{
437
+ GET: "GET";
438
+ POST: "POST";
439
+ PUT: "PUT";
440
+ DELETE: "DELETE";
441
+ PATCH: "PATCH";
442
+ }>>;
967
443
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
968
444
  body: z.ZodOptional<z.ZodAny>;
969
- payloadFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
445
+ payloadFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
970
446
  includeSession: z.ZodDefault<z.ZodBoolean>;
971
447
  authentication: z.ZodOptional<z.ZodObject<{
972
- type: z.ZodEnum<["none", "bearer", "basic", "api-key"]>;
448
+ type: z.ZodEnum<{
449
+ none: "none";
450
+ "api-key": "api-key";
451
+ basic: "basic";
452
+ bearer: "bearer";
453
+ }>;
973
454
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
974
- }, "strip", z.ZodTypeAny, {
975
- type: "none" | "api-key" | "basic" | "bearer";
976
- credentials?: Record<string, string> | undefined;
977
- }, {
978
- type: "none" | "api-key" | "basic" | "bearer";
979
- credentials?: Record<string, string> | undefined;
980
- }>>;
455
+ }, z.core.$strip>>;
981
456
  retryPolicy: z.ZodOptional<z.ZodObject<{
982
457
  maxRetries: z.ZodDefault<z.ZodNumber>;
983
- backoffStrategy: z.ZodDefault<z.ZodEnum<["exponential", "linear", "fixed"]>>;
458
+ backoffStrategy: z.ZodDefault<z.ZodEnum<{
459
+ fixed: "fixed";
460
+ linear: "linear";
461
+ exponential: "exponential";
462
+ }>>;
984
463
  initialDelayMs: z.ZodDefault<z.ZodNumber>;
985
464
  maxDelayMs: z.ZodDefault<z.ZodNumber>;
986
- }, "strip", z.ZodTypeAny, {
987
- maxRetries: number;
988
- backoffStrategy: "fixed" | "linear" | "exponential";
989
- initialDelayMs: number;
990
- maxDelayMs: number;
991
- }, {
992
- maxRetries?: number | undefined;
993
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
994
- initialDelayMs?: number | undefined;
995
- maxDelayMs?: number | undefined;
996
- }>>;
465
+ }, z.core.$strip>>;
997
466
  timeoutMs: z.ZodDefault<z.ZodNumber>;
998
467
  secret: z.ZodOptional<z.ZodString>;
999
468
  isActive: z.ZodDefault<z.ZodBoolean>;
1000
469
  description: z.ZodOptional<z.ZodString>;
1001
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1002
- }, "strip", z.ZodTypeAny, {
1003
- url: string;
1004
- name: string;
1005
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
1006
- timeoutMs: number;
1007
- includeSession: boolean;
1008
- isActive: boolean;
1009
- object?: string | undefined;
1010
- tags?: string[] | undefined;
1011
- label?: string | undefined;
1012
- description?: string | undefined;
1013
- headers?: Record<string, string> | undefined;
1014
- authentication?: {
1015
- type: "none" | "api-key" | "basic" | "bearer";
1016
- credentials?: Record<string, string> | undefined;
1017
- } | undefined;
1018
- body?: any;
1019
- secret?: string | undefined;
1020
- retryPolicy?: {
1021
- maxRetries: number;
1022
- backoffStrategy: "fixed" | "linear" | "exponential";
1023
- initialDelayMs: number;
1024
- maxDelayMs: number;
1025
- } | undefined;
1026
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
1027
- payloadFields?: string[] | undefined;
1028
- }, {
1029
- url: string;
1030
- name: string;
1031
- object?: string | undefined;
1032
- tags?: string[] | undefined;
1033
- label?: string | undefined;
1034
- description?: string | undefined;
1035
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
1036
- headers?: Record<string, string> | undefined;
1037
- authentication?: {
1038
- type: "none" | "api-key" | "basic" | "bearer";
1039
- credentials?: Record<string, string> | undefined;
1040
- } | undefined;
1041
- body?: any;
1042
- secret?: string | undefined;
1043
- timeoutMs?: number | undefined;
1044
- retryPolicy?: {
1045
- maxRetries?: number | undefined;
1046
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
1047
- initialDelayMs?: number | undefined;
1048
- maxDelayMs?: number | undefined;
1049
- } | undefined;
1050
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
1051
- payloadFields?: string[] | undefined;
1052
- includeSession?: boolean | undefined;
1053
- isActive?: boolean | undefined;
1054
- }>;
1055
- }, "strip", z.ZodTypeAny, {
1056
- type: "webhook_trigger";
1057
- name: string;
1058
- config: {
1059
- url: string;
1060
- name: string;
1061
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
1062
- timeoutMs: number;
1063
- includeSession: boolean;
1064
- isActive: boolean;
1065
- object?: string | undefined;
1066
- tags?: string[] | undefined;
1067
- label?: string | undefined;
1068
- description?: string | undefined;
1069
- headers?: Record<string, string> | undefined;
1070
- authentication?: {
1071
- type: "none" | "api-key" | "basic" | "bearer";
1072
- credentials?: Record<string, string> | undefined;
1073
- } | undefined;
1074
- body?: any;
1075
- secret?: string | undefined;
1076
- retryPolicy?: {
1077
- maxRetries: number;
1078
- backoffStrategy: "fixed" | "linear" | "exponential";
1079
- initialDelayMs: number;
1080
- maxDelayMs: number;
1081
- } | undefined;
1082
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
1083
- payloadFields?: string[] | undefined;
1084
- };
1085
- }, {
1086
- type: "webhook_trigger";
1087
- name: string;
1088
- config: {
1089
- url: string;
1090
- name: string;
1091
- object?: string | undefined;
1092
- tags?: string[] | undefined;
1093
- label?: string | undefined;
1094
- description?: string | undefined;
1095
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
1096
- headers?: Record<string, string> | undefined;
1097
- authentication?: {
1098
- type: "none" | "api-key" | "basic" | "bearer";
1099
- credentials?: Record<string, string> | undefined;
1100
- } | undefined;
1101
- body?: any;
1102
- secret?: string | undefined;
1103
- timeoutMs?: number | undefined;
1104
- retryPolicy?: {
1105
- maxRetries?: number | undefined;
1106
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
1107
- initialDelayMs?: number | undefined;
1108
- maxDelayMs?: number | undefined;
1109
- } | undefined;
1110
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
1111
- payloadFields?: string[] | undefined;
1112
- includeSession?: boolean | undefined;
1113
- isActive?: boolean | undefined;
1114
- };
1115
- }>, z.ZodObject<{
470
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
471
+ }, z.core.$strip>;
472
+ }, z.core.$strip>, z.ZodObject<{
1116
473
  name: z.ZodString;
1117
474
  type: z.ZodLiteral<"task_creation">;
1118
475
  taskObject: z.ZodString;
@@ -1123,299 +480,29 @@ export declare const TimeTriggerSchema: z.ZodObject<{
1123
480
  priority: z.ZodOptional<z.ZodString>;
1124
481
  relatedTo: z.ZodOptional<z.ZodString>;
1125
482
  additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1126
- }, "strip", z.ZodTypeAny, {
1127
- type: "task_creation";
1128
- name: string;
1129
- subject: string;
1130
- taskObject: string;
1131
- description?: string | undefined;
1132
- priority?: string | undefined;
1133
- assignedTo?: string | undefined;
1134
- dueDate?: string | undefined;
1135
- relatedTo?: string | undefined;
1136
- additionalFields?: Record<string, any> | undefined;
1137
- }, {
1138
- type: "task_creation";
1139
- name: string;
1140
- subject: string;
1141
- taskObject: string;
1142
- description?: string | undefined;
1143
- priority?: string | undefined;
1144
- assignedTo?: string | undefined;
1145
- dueDate?: string | undefined;
1146
- relatedTo?: string | undefined;
1147
- additionalFields?: Record<string, any> | undefined;
1148
- }>, z.ZodObject<{
483
+ }, z.core.$strip>, z.ZodObject<{
1149
484
  name: z.ZodString;
1150
485
  type: z.ZodLiteral<"push_notification">;
1151
486
  title: z.ZodString;
1152
487
  body: z.ZodString;
1153
- recipients: z.ZodArray<z.ZodString, "many">;
488
+ recipients: z.ZodArray<z.ZodString>;
1154
489
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1155
490
  badge: z.ZodOptional<z.ZodNumber>;
1156
491
  sound: z.ZodOptional<z.ZodString>;
1157
492
  clickAction: z.ZodOptional<z.ZodString>;
1158
- }, "strip", z.ZodTypeAny, {
1159
- type: "push_notification";
1160
- name: string;
1161
- title: string;
1162
- body: string;
1163
- recipients: string[];
1164
- data?: Record<string, any> | undefined;
1165
- badge?: number | undefined;
1166
- sound?: string | undefined;
1167
- clickAction?: string | undefined;
1168
- }, {
1169
- type: "push_notification";
1170
- name: string;
1171
- title: string;
1172
- body: string;
1173
- recipients: string[];
1174
- data?: Record<string, any> | undefined;
1175
- badge?: number | undefined;
1176
- sound?: string | undefined;
1177
- clickAction?: string | undefined;
1178
- }>, z.ZodObject<{
493
+ }, z.core.$strip>, z.ZodObject<{
1179
494
  name: z.ZodString;
1180
495
  type: z.ZodLiteral<"custom_script">;
1181
- language: z.ZodDefault<z.ZodEnum<["javascript", "typescript", "python"]>>;
496
+ language: z.ZodDefault<z.ZodEnum<{
497
+ javascript: "javascript";
498
+ typescript: "typescript";
499
+ python: "python";
500
+ }>>;
1182
501
  code: z.ZodString;
1183
502
  timeout: z.ZodDefault<z.ZodNumber>;
1184
503
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1185
- }, "strip", z.ZodTypeAny, {
1186
- code: string;
1187
- type: "custom_script";
1188
- language: "javascript" | "typescript" | "python";
1189
- name: string;
1190
- timeout: number;
1191
- context?: Record<string, any> | undefined;
1192
- }, {
1193
- code: string;
1194
- type: "custom_script";
1195
- name: string;
1196
- language?: "javascript" | "typescript" | "python" | undefined;
1197
- timeout?: number | undefined;
1198
- context?: Record<string, any> | undefined;
1199
- }>]>, "many">;
1200
- }, "strip", z.ZodTypeAny, {
1201
- actions: ({
1202
- type: "field_update";
1203
- field: string;
1204
- name: string;
1205
- value?: any;
1206
- } | {
1207
- type: "email_alert";
1208
- name: string;
1209
- template: string;
1210
- recipients: string[];
1211
- } | {
1212
- message: string;
1213
- type: "sms_notification";
1214
- provider: "twilio" | "vonage";
1215
- name: string;
1216
- recipients: string[];
1217
- fromNumber?: string | undefined;
1218
- } | {
1219
- message: string;
1220
- type: "slack_message";
1221
- name: string;
1222
- channel: string;
1223
- mentions?: string[] | undefined;
1224
- threadId?: string | undefined;
1225
- } | {
1226
- message: string;
1227
- type: "teams_message";
1228
- name: string;
1229
- channel: string;
1230
- mentions?: string[] | undefined;
1231
- teamId?: string | undefined;
1232
- } | {
1233
- type: "http_call";
1234
- url: string;
1235
- name: string;
1236
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
1237
- headers?: Record<string, string> | undefined;
1238
- timeout?: number | undefined;
1239
- authentication?: {
1240
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
1241
- credentials?: Record<string, string> | undefined;
1242
- } | undefined;
1243
- body?: any;
1244
- } | {
1245
- type: "webhook_trigger";
1246
- name: string;
1247
- config: {
1248
- url: string;
1249
- name: string;
1250
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
1251
- timeoutMs: number;
1252
- includeSession: boolean;
1253
- isActive: boolean;
1254
- object?: string | undefined;
1255
- tags?: string[] | undefined;
1256
- label?: string | undefined;
1257
- description?: string | undefined;
1258
- headers?: Record<string, string> | undefined;
1259
- authentication?: {
1260
- type: "none" | "api-key" | "basic" | "bearer";
1261
- credentials?: Record<string, string> | undefined;
1262
- } | undefined;
1263
- body?: any;
1264
- secret?: string | undefined;
1265
- retryPolicy?: {
1266
- maxRetries: number;
1267
- backoffStrategy: "fixed" | "linear" | "exponential";
1268
- initialDelayMs: number;
1269
- maxDelayMs: number;
1270
- } | undefined;
1271
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
1272
- payloadFields?: string[] | undefined;
1273
- };
1274
- } | {
1275
- type: "task_creation";
1276
- name: string;
1277
- subject: string;
1278
- taskObject: string;
1279
- description?: string | undefined;
1280
- priority?: string | undefined;
1281
- assignedTo?: string | undefined;
1282
- dueDate?: string | undefined;
1283
- relatedTo?: string | undefined;
1284
- additionalFields?: Record<string, any> | undefined;
1285
- } | {
1286
- type: "push_notification";
1287
- name: string;
1288
- title: string;
1289
- body: string;
1290
- recipients: string[];
1291
- data?: Record<string, any> | undefined;
1292
- badge?: number | undefined;
1293
- sound?: string | undefined;
1294
- clickAction?: string | undefined;
1295
- } | {
1296
- code: string;
1297
- type: "custom_script";
1298
- language: "javascript" | "typescript" | "python";
1299
- name: string;
1300
- timeout: number;
1301
- context?: Record<string, any> | undefined;
1302
- })[];
1303
- timeLength: number;
1304
- timeUnit: "minutes" | "hours" | "days";
1305
- offsetDirection: "before" | "after";
1306
- offsetFrom: "trigger_date" | "date_field";
1307
- id?: string | undefined;
1308
- dateField?: string | undefined;
1309
- }, {
1310
- actions: ({
1311
- type: "field_update";
1312
- field: string;
1313
- name: string;
1314
- value?: any;
1315
- } | {
1316
- type: "email_alert";
1317
- name: string;
1318
- template: string;
1319
- recipients: string[];
1320
- } | {
1321
- message: string;
1322
- type: "sms_notification";
1323
- provider: "twilio" | "vonage";
1324
- name: string;
1325
- recipients: string[];
1326
- fromNumber?: string | undefined;
1327
- } | {
1328
- message: string;
1329
- type: "slack_message";
1330
- name: string;
1331
- channel: string;
1332
- mentions?: string[] | undefined;
1333
- threadId?: string | undefined;
1334
- } | {
1335
- message: string;
1336
- type: "teams_message";
1337
- name: string;
1338
- channel: string;
1339
- mentions?: string[] | undefined;
1340
- teamId?: string | undefined;
1341
- } | {
1342
- type: "http_call";
1343
- url: string;
1344
- name: string;
1345
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
1346
- headers?: Record<string, string> | undefined;
1347
- timeout?: number | undefined;
1348
- authentication?: {
1349
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
1350
- credentials?: Record<string, string> | undefined;
1351
- } | undefined;
1352
- body?: any;
1353
- } | {
1354
- type: "webhook_trigger";
1355
- name: string;
1356
- config: {
1357
- url: string;
1358
- name: string;
1359
- object?: string | undefined;
1360
- tags?: string[] | undefined;
1361
- label?: string | undefined;
1362
- description?: string | undefined;
1363
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
1364
- headers?: Record<string, string> | undefined;
1365
- authentication?: {
1366
- type: "none" | "api-key" | "basic" | "bearer";
1367
- credentials?: Record<string, string> | undefined;
1368
- } | undefined;
1369
- body?: any;
1370
- secret?: string | undefined;
1371
- timeoutMs?: number | undefined;
1372
- retryPolicy?: {
1373
- maxRetries?: number | undefined;
1374
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
1375
- initialDelayMs?: number | undefined;
1376
- maxDelayMs?: number | undefined;
1377
- } | undefined;
1378
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
1379
- payloadFields?: string[] | undefined;
1380
- includeSession?: boolean | undefined;
1381
- isActive?: boolean | undefined;
1382
- };
1383
- } | {
1384
- type: "task_creation";
1385
- name: string;
1386
- subject: string;
1387
- taskObject: string;
1388
- description?: string | undefined;
1389
- priority?: string | undefined;
1390
- assignedTo?: string | undefined;
1391
- dueDate?: string | undefined;
1392
- relatedTo?: string | undefined;
1393
- additionalFields?: Record<string, any> | undefined;
1394
- } | {
1395
- type: "push_notification";
1396
- name: string;
1397
- title: string;
1398
- body: string;
1399
- recipients: string[];
1400
- data?: Record<string, any> | undefined;
1401
- badge?: number | undefined;
1402
- sound?: string | undefined;
1403
- clickAction?: string | undefined;
1404
- } | {
1405
- code: string;
1406
- type: "custom_script";
1407
- name: string;
1408
- language?: "javascript" | "typescript" | "python" | undefined;
1409
- timeout?: number | undefined;
1410
- context?: Record<string, any> | undefined;
1411
- })[];
1412
- timeLength: number;
1413
- timeUnit: "minutes" | "hours" | "days";
1414
- offsetDirection: "before" | "after";
1415
- offsetFrom: "trigger_date" | "date_field";
1416
- id?: string | undefined;
1417
- dateField?: string | undefined;
1418
- }>;
504
+ }, z.core.$strip>], "type">>;
505
+ }, z.core.$strip>;
1419
506
  /**
1420
507
  * Schema for Workflow Rules (Automation)
1421
508
  *
@@ -1434,312 +521,126 @@ export declare const TimeTriggerSchema: z.ZodObject<{
1434
521
  * - 'Send Welcome Email' (spaces)
1435
522
  */
1436
523
  export declare const WorkflowRuleSchema: z.ZodObject<{
1437
- /** Machine name */
1438
524
  name: z.ZodString;
1439
- /** Target Object */
1440
525
  objectName: z.ZodString;
1441
- /** When to evaluate the rule */
1442
- triggerType: z.ZodEnum<["on_create", "on_update", "on_create_or_update", "on_delete", "schedule"]>;
1443
- /**
1444
- * Condition to start the workflow.
1445
- * If empty, runs on every trigger event.
1446
- */
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
+ }>;
1447
533
  criteria: z.ZodOptional<z.ZodString>;
1448
- /** Actions to execute immediately */
1449
- actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
534
+ actions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1450
535
  name: z.ZodString;
1451
536
  type: z.ZodLiteral<"field_update">;
1452
537
  field: z.ZodString;
1453
538
  value: z.ZodAny;
1454
- }, "strip", z.ZodTypeAny, {
1455
- type: "field_update";
1456
- field: string;
1457
- name: string;
1458
- value?: any;
1459
- }, {
1460
- type: "field_update";
1461
- field: string;
1462
- name: string;
1463
- value?: any;
1464
- }>, z.ZodObject<{
539
+ }, z.core.$strip>, z.ZodObject<{
1465
540
  name: z.ZodString;
1466
541
  type: z.ZodLiteral<"email_alert">;
1467
542
  template: z.ZodString;
1468
- recipients: z.ZodArray<z.ZodString, "many">;
1469
- }, "strip", z.ZodTypeAny, {
1470
- type: "email_alert";
1471
- name: string;
1472
- template: string;
1473
- recipients: string[];
1474
- }, {
1475
- type: "email_alert";
1476
- name: string;
1477
- template: string;
1478
- recipients: string[];
1479
- }>, z.ZodObject<{
543
+ recipients: z.ZodArray<z.ZodString>;
544
+ }, z.core.$strip>, z.ZodObject<{
1480
545
  name: z.ZodString;
1481
546
  type: z.ZodLiteral<"sms_notification">;
1482
- provider: z.ZodEnum<["twilio", "vonage"]>;
1483
- recipients: z.ZodArray<z.ZodString, "many">;
547
+ provider: z.ZodEnum<{
548
+ twilio: "twilio";
549
+ vonage: "vonage";
550
+ }>;
551
+ recipients: z.ZodArray<z.ZodString>;
1484
552
  message: z.ZodString;
1485
553
  fromNumber: z.ZodOptional<z.ZodString>;
1486
- }, "strip", z.ZodTypeAny, {
1487
- message: string;
1488
- type: "sms_notification";
1489
- provider: "twilio" | "vonage";
1490
- name: string;
1491
- recipients: string[];
1492
- fromNumber?: string | undefined;
1493
- }, {
1494
- message: string;
1495
- type: "sms_notification";
1496
- provider: "twilio" | "vonage";
1497
- name: string;
1498
- recipients: string[];
1499
- fromNumber?: string | undefined;
1500
- }>, z.ZodObject<{
554
+ }, z.core.$strip>, z.ZodObject<{
1501
555
  name: z.ZodString;
1502
556
  type: z.ZodLiteral<"slack_message">;
1503
557
  channel: z.ZodString;
1504
558
  message: z.ZodString;
1505
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
559
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1506
560
  threadId: z.ZodOptional<z.ZodString>;
1507
- }, "strip", z.ZodTypeAny, {
1508
- message: string;
1509
- type: "slack_message";
1510
- name: string;
1511
- channel: string;
1512
- mentions?: string[] | undefined;
1513
- threadId?: string | undefined;
1514
- }, {
1515
- message: string;
1516
- type: "slack_message";
1517
- name: string;
1518
- channel: string;
1519
- mentions?: string[] | undefined;
1520
- threadId?: string | undefined;
1521
- }>, z.ZodObject<{
561
+ }, z.core.$strip>, z.ZodObject<{
1522
562
  name: z.ZodString;
1523
563
  type: z.ZodLiteral<"teams_message">;
1524
564
  channel: z.ZodString;
1525
565
  message: z.ZodString;
1526
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
566
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1527
567
  teamId: z.ZodOptional<z.ZodString>;
1528
- }, "strip", z.ZodTypeAny, {
1529
- message: string;
1530
- type: "teams_message";
1531
- name: string;
1532
- channel: string;
1533
- mentions?: string[] | undefined;
1534
- teamId?: string | undefined;
1535
- }, {
1536
- message: string;
1537
- type: "teams_message";
1538
- name: string;
1539
- channel: string;
1540
- mentions?: string[] | undefined;
1541
- teamId?: string | undefined;
1542
- }>, z.ZodObject<{
568
+ }, z.core.$strip>, z.ZodObject<{
1543
569
  name: z.ZodString;
1544
570
  type: z.ZodLiteral<"http_call">;
1545
571
  url: z.ZodString;
1546
- method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
572
+ method: z.ZodEnum<{
573
+ GET: "GET";
574
+ POST: "POST";
575
+ PUT: "PUT";
576
+ DELETE: "DELETE";
577
+ PATCH: "PATCH";
578
+ }>;
1547
579
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1548
580
  body: z.ZodOptional<z.ZodAny>;
1549
581
  authentication: z.ZodOptional<z.ZodObject<{
1550
- type: z.ZodEnum<["none", "basic", "bearer", "api_key", "oauth2"]>;
582
+ type: z.ZodEnum<{
583
+ none: "none";
584
+ oauth2: "oauth2";
585
+ basic: "basic";
586
+ bearer: "bearer";
587
+ api_key: "api_key";
588
+ }>;
1551
589
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1552
- }, "strip", z.ZodTypeAny, {
1553
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
1554
- credentials?: Record<string, string> | undefined;
1555
- }, {
1556
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
1557
- credentials?: Record<string, string> | undefined;
1558
- }>>;
590
+ }, z.core.$strip>>;
1559
591
  timeout: z.ZodOptional<z.ZodNumber>;
1560
- }, "strip", z.ZodTypeAny, {
1561
- type: "http_call";
1562
- url: string;
1563
- name: string;
1564
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
1565
- headers?: Record<string, string> | undefined;
1566
- timeout?: number | undefined;
1567
- authentication?: {
1568
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
1569
- credentials?: Record<string, string> | undefined;
1570
- } | undefined;
1571
- body?: any;
1572
- }, {
1573
- type: "http_call";
1574
- url: string;
1575
- name: string;
1576
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
1577
- headers?: Record<string, string> | undefined;
1578
- timeout?: number | undefined;
1579
- authentication?: {
1580
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
1581
- credentials?: Record<string, string> | undefined;
1582
- } | undefined;
1583
- body?: any;
1584
- }>, z.ZodObject<{
592
+ }, z.core.$strip>, z.ZodObject<{
1585
593
  name: z.ZodString;
1586
594
  type: z.ZodLiteral<"webhook_trigger">;
1587
595
  config: z.ZodObject<{
1588
596
  name: z.ZodString;
1589
597
  label: z.ZodOptional<z.ZodString>;
1590
598
  object: z.ZodOptional<z.ZodString>;
1591
- triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<["create", "update", "delete", "undelete", "api"]>, "many">>;
599
+ triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
600
+ update: "update";
601
+ delete: "delete";
602
+ create: "create";
603
+ api: "api";
604
+ undelete: "undelete";
605
+ }>>>;
1592
606
  url: z.ZodString;
1593
- method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>>;
607
+ method: z.ZodDefault<z.ZodEnum<{
608
+ GET: "GET";
609
+ POST: "POST";
610
+ PUT: "PUT";
611
+ DELETE: "DELETE";
612
+ PATCH: "PATCH";
613
+ }>>;
1594
614
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1595
615
  body: z.ZodOptional<z.ZodAny>;
1596
- payloadFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
616
+ payloadFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1597
617
  includeSession: z.ZodDefault<z.ZodBoolean>;
1598
618
  authentication: z.ZodOptional<z.ZodObject<{
1599
- type: z.ZodEnum<["none", "bearer", "basic", "api-key"]>;
619
+ type: z.ZodEnum<{
620
+ none: "none";
621
+ "api-key": "api-key";
622
+ basic: "basic";
623
+ bearer: "bearer";
624
+ }>;
1600
625
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1601
- }, "strip", z.ZodTypeAny, {
1602
- type: "none" | "api-key" | "basic" | "bearer";
1603
- credentials?: Record<string, string> | undefined;
1604
- }, {
1605
- type: "none" | "api-key" | "basic" | "bearer";
1606
- credentials?: Record<string, string> | undefined;
1607
- }>>;
626
+ }, z.core.$strip>>;
1608
627
  retryPolicy: z.ZodOptional<z.ZodObject<{
1609
628
  maxRetries: z.ZodDefault<z.ZodNumber>;
1610
- backoffStrategy: z.ZodDefault<z.ZodEnum<["exponential", "linear", "fixed"]>>;
629
+ backoffStrategy: z.ZodDefault<z.ZodEnum<{
630
+ fixed: "fixed";
631
+ linear: "linear";
632
+ exponential: "exponential";
633
+ }>>;
1611
634
  initialDelayMs: z.ZodDefault<z.ZodNumber>;
1612
635
  maxDelayMs: z.ZodDefault<z.ZodNumber>;
1613
- }, "strip", z.ZodTypeAny, {
1614
- maxRetries: number;
1615
- backoffStrategy: "fixed" | "linear" | "exponential";
1616
- initialDelayMs: number;
1617
- maxDelayMs: number;
1618
- }, {
1619
- maxRetries?: number | undefined;
1620
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
1621
- initialDelayMs?: number | undefined;
1622
- maxDelayMs?: number | undefined;
1623
- }>>;
636
+ }, z.core.$strip>>;
1624
637
  timeoutMs: z.ZodDefault<z.ZodNumber>;
1625
638
  secret: z.ZodOptional<z.ZodString>;
1626
639
  isActive: z.ZodDefault<z.ZodBoolean>;
1627
640
  description: z.ZodOptional<z.ZodString>;
1628
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1629
- }, "strip", z.ZodTypeAny, {
1630
- url: string;
1631
- name: string;
1632
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
1633
- timeoutMs: number;
1634
- includeSession: boolean;
1635
- isActive: boolean;
1636
- object?: string | undefined;
1637
- tags?: string[] | undefined;
1638
- label?: string | undefined;
1639
- description?: string | undefined;
1640
- headers?: Record<string, string> | undefined;
1641
- authentication?: {
1642
- type: "none" | "api-key" | "basic" | "bearer";
1643
- credentials?: Record<string, string> | undefined;
1644
- } | undefined;
1645
- body?: any;
1646
- secret?: string | undefined;
1647
- retryPolicy?: {
1648
- maxRetries: number;
1649
- backoffStrategy: "fixed" | "linear" | "exponential";
1650
- initialDelayMs: number;
1651
- maxDelayMs: number;
1652
- } | undefined;
1653
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
1654
- payloadFields?: string[] | undefined;
1655
- }, {
1656
- url: string;
1657
- name: string;
1658
- object?: string | undefined;
1659
- tags?: string[] | undefined;
1660
- label?: string | undefined;
1661
- description?: string | undefined;
1662
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
1663
- headers?: Record<string, string> | undefined;
1664
- authentication?: {
1665
- type: "none" | "api-key" | "basic" | "bearer";
1666
- credentials?: Record<string, string> | undefined;
1667
- } | undefined;
1668
- body?: any;
1669
- secret?: string | undefined;
1670
- timeoutMs?: number | undefined;
1671
- retryPolicy?: {
1672
- maxRetries?: number | undefined;
1673
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
1674
- initialDelayMs?: number | undefined;
1675
- maxDelayMs?: number | undefined;
1676
- } | undefined;
1677
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
1678
- payloadFields?: string[] | undefined;
1679
- includeSession?: boolean | undefined;
1680
- isActive?: boolean | undefined;
1681
- }>;
1682
- }, "strip", z.ZodTypeAny, {
1683
- type: "webhook_trigger";
1684
- name: string;
1685
- config: {
1686
- url: string;
1687
- name: string;
1688
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
1689
- timeoutMs: number;
1690
- includeSession: boolean;
1691
- isActive: boolean;
1692
- object?: string | undefined;
1693
- tags?: string[] | undefined;
1694
- label?: string | undefined;
1695
- description?: string | undefined;
1696
- headers?: Record<string, string> | undefined;
1697
- authentication?: {
1698
- type: "none" | "api-key" | "basic" | "bearer";
1699
- credentials?: Record<string, string> | undefined;
1700
- } | undefined;
1701
- body?: any;
1702
- secret?: string | undefined;
1703
- retryPolicy?: {
1704
- maxRetries: number;
1705
- backoffStrategy: "fixed" | "linear" | "exponential";
1706
- initialDelayMs: number;
1707
- maxDelayMs: number;
1708
- } | undefined;
1709
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
1710
- payloadFields?: string[] | undefined;
1711
- };
1712
- }, {
1713
- type: "webhook_trigger";
1714
- name: string;
1715
- config: {
1716
- url: string;
1717
- name: string;
1718
- object?: string | undefined;
1719
- tags?: string[] | undefined;
1720
- label?: string | undefined;
1721
- description?: string | undefined;
1722
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
1723
- headers?: Record<string, string> | undefined;
1724
- authentication?: {
1725
- type: "none" | "api-key" | "basic" | "bearer";
1726
- credentials?: Record<string, string> | undefined;
1727
- } | undefined;
1728
- body?: any;
1729
- secret?: string | undefined;
1730
- timeoutMs?: number | undefined;
1731
- retryPolicy?: {
1732
- maxRetries?: number | undefined;
1733
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
1734
- initialDelayMs?: number | undefined;
1735
- maxDelayMs?: number | undefined;
1736
- } | undefined;
1737
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
1738
- payloadFields?: string[] | undefined;
1739
- includeSession?: boolean | undefined;
1740
- isActive?: boolean | undefined;
1741
- };
1742
- }>, z.ZodObject<{
641
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
642
+ }, z.core.$strip>;
643
+ }, z.core.$strip>, z.ZodObject<{
1743
644
  name: z.ZodString;
1744
645
  type: z.ZodLiteral<"task_creation">;
1745
646
  taskObject: z.ZodString;
@@ -1750,388 +651,155 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
1750
651
  priority: z.ZodOptional<z.ZodString>;
1751
652
  relatedTo: z.ZodOptional<z.ZodString>;
1752
653
  additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1753
- }, "strip", z.ZodTypeAny, {
1754
- type: "task_creation";
1755
- name: string;
1756
- subject: string;
1757
- taskObject: string;
1758
- description?: string | undefined;
1759
- priority?: string | undefined;
1760
- assignedTo?: string | undefined;
1761
- dueDate?: string | undefined;
1762
- relatedTo?: string | undefined;
1763
- additionalFields?: Record<string, any> | undefined;
1764
- }, {
1765
- type: "task_creation";
1766
- name: string;
1767
- subject: string;
1768
- taskObject: string;
1769
- description?: string | undefined;
1770
- priority?: string | undefined;
1771
- assignedTo?: string | undefined;
1772
- dueDate?: string | undefined;
1773
- relatedTo?: string | undefined;
1774
- additionalFields?: Record<string, any> | undefined;
1775
- }>, z.ZodObject<{
654
+ }, z.core.$strip>, z.ZodObject<{
1776
655
  name: z.ZodString;
1777
656
  type: z.ZodLiteral<"push_notification">;
1778
657
  title: z.ZodString;
1779
658
  body: z.ZodString;
1780
- recipients: z.ZodArray<z.ZodString, "many">;
659
+ recipients: z.ZodArray<z.ZodString>;
1781
660
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1782
661
  badge: z.ZodOptional<z.ZodNumber>;
1783
662
  sound: z.ZodOptional<z.ZodString>;
1784
663
  clickAction: z.ZodOptional<z.ZodString>;
1785
- }, "strip", z.ZodTypeAny, {
1786
- type: "push_notification";
1787
- name: string;
1788
- title: string;
1789
- body: string;
1790
- recipients: string[];
1791
- data?: Record<string, any> | undefined;
1792
- badge?: number | undefined;
1793
- sound?: string | undefined;
1794
- clickAction?: string | undefined;
1795
- }, {
1796
- type: "push_notification";
1797
- name: string;
1798
- title: string;
1799
- body: string;
1800
- recipients: string[];
1801
- data?: Record<string, any> | undefined;
1802
- badge?: number | undefined;
1803
- sound?: string | undefined;
1804
- clickAction?: string | undefined;
1805
- }>, z.ZodObject<{
664
+ }, z.core.$strip>, z.ZodObject<{
1806
665
  name: z.ZodString;
1807
666
  type: z.ZodLiteral<"custom_script">;
1808
- language: z.ZodDefault<z.ZodEnum<["javascript", "typescript", "python"]>>;
667
+ language: z.ZodDefault<z.ZodEnum<{
668
+ javascript: "javascript";
669
+ typescript: "typescript";
670
+ python: "python";
671
+ }>>;
1809
672
  code: z.ZodString;
1810
673
  timeout: z.ZodDefault<z.ZodNumber>;
1811
674
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1812
- }, "strip", z.ZodTypeAny, {
1813
- code: string;
1814
- type: "custom_script";
1815
- language: "javascript" | "typescript" | "python";
1816
- name: string;
1817
- timeout: number;
1818
- context?: Record<string, any> | undefined;
1819
- }, {
1820
- code: string;
1821
- type: "custom_script";
1822
- name: string;
1823
- language?: "javascript" | "typescript" | "python" | undefined;
1824
- timeout?: number | undefined;
1825
- context?: Record<string, any> | undefined;
1826
- }>]>, "many">>;
1827
- /**
1828
- * Time-Dependent Actions
1829
- * Actions scheduled to run in the future.
1830
- */
675
+ }, z.core.$strip>], "type">>>;
1831
676
  timeTriggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1832
677
  id: z.ZodOptional<z.ZodString>;
1833
- /** Timing Logic */
1834
678
  timeLength: z.ZodNumber;
1835
- timeUnit: z.ZodEnum<["minutes", "hours", "days"]>;
1836
- /** Reference Point */
1837
- offsetDirection: z.ZodEnum<["before", "after"]>;
1838
- offsetFrom: z.ZodEnum<["trigger_date", "date_field"]>;
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
+ }>;
1839
692
  dateField: z.ZodOptional<z.ZodString>;
1840
- /** Actions */
1841
- actions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
693
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1842
694
  name: z.ZodString;
1843
695
  type: z.ZodLiteral<"field_update">;
1844
696
  field: z.ZodString;
1845
697
  value: z.ZodAny;
1846
- }, "strip", z.ZodTypeAny, {
1847
- type: "field_update";
1848
- field: string;
1849
- name: string;
1850
- value?: any;
1851
- }, {
1852
- type: "field_update";
1853
- field: string;
1854
- name: string;
1855
- value?: any;
1856
- }>, z.ZodObject<{
698
+ }, z.core.$strip>, z.ZodObject<{
1857
699
  name: z.ZodString;
1858
700
  type: z.ZodLiteral<"email_alert">;
1859
701
  template: z.ZodString;
1860
- recipients: z.ZodArray<z.ZodString, "many">;
1861
- }, "strip", z.ZodTypeAny, {
1862
- type: "email_alert";
1863
- name: string;
1864
- template: string;
1865
- recipients: string[];
1866
- }, {
1867
- type: "email_alert";
1868
- name: string;
1869
- template: string;
1870
- recipients: string[];
1871
- }>, z.ZodObject<{
702
+ recipients: z.ZodArray<z.ZodString>;
703
+ }, z.core.$strip>, z.ZodObject<{
1872
704
  name: z.ZodString;
1873
705
  type: z.ZodLiteral<"sms_notification">;
1874
- provider: z.ZodEnum<["twilio", "vonage"]>;
1875
- recipients: z.ZodArray<z.ZodString, "many">;
706
+ provider: z.ZodEnum<{
707
+ twilio: "twilio";
708
+ vonage: "vonage";
709
+ }>;
710
+ recipients: z.ZodArray<z.ZodString>;
1876
711
  message: z.ZodString;
1877
712
  fromNumber: z.ZodOptional<z.ZodString>;
1878
- }, "strip", z.ZodTypeAny, {
1879
- message: string;
1880
- type: "sms_notification";
1881
- provider: "twilio" | "vonage";
1882
- name: string;
1883
- recipients: string[];
1884
- fromNumber?: string | undefined;
1885
- }, {
1886
- message: string;
1887
- type: "sms_notification";
1888
- provider: "twilio" | "vonage";
1889
- name: string;
1890
- recipients: string[];
1891
- fromNumber?: string | undefined;
1892
- }>, z.ZodObject<{
713
+ }, z.core.$strip>, z.ZodObject<{
1893
714
  name: z.ZodString;
1894
715
  type: z.ZodLiteral<"slack_message">;
1895
716
  channel: z.ZodString;
1896
717
  message: z.ZodString;
1897
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
718
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1898
719
  threadId: z.ZodOptional<z.ZodString>;
1899
- }, "strip", z.ZodTypeAny, {
1900
- message: string;
1901
- type: "slack_message";
1902
- name: string;
1903
- channel: string;
1904
- mentions?: string[] | undefined;
1905
- threadId?: string | undefined;
1906
- }, {
1907
- message: string;
1908
- type: "slack_message";
1909
- name: string;
1910
- channel: string;
1911
- mentions?: string[] | undefined;
1912
- threadId?: string | undefined;
1913
- }>, z.ZodObject<{
720
+ }, z.core.$strip>, z.ZodObject<{
1914
721
  name: z.ZodString;
1915
722
  type: z.ZodLiteral<"teams_message">;
1916
723
  channel: z.ZodString;
1917
724
  message: z.ZodString;
1918
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
725
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1919
726
  teamId: z.ZodOptional<z.ZodString>;
1920
- }, "strip", z.ZodTypeAny, {
1921
- message: string;
1922
- type: "teams_message";
1923
- name: string;
1924
- channel: string;
1925
- mentions?: string[] | undefined;
1926
- teamId?: string | undefined;
1927
- }, {
1928
- message: string;
1929
- type: "teams_message";
1930
- name: string;
1931
- channel: string;
1932
- mentions?: string[] | undefined;
1933
- teamId?: string | undefined;
1934
- }>, z.ZodObject<{
727
+ }, z.core.$strip>, z.ZodObject<{
1935
728
  name: z.ZodString;
1936
729
  type: z.ZodLiteral<"http_call">;
1937
730
  url: z.ZodString;
1938
- method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
731
+ method: z.ZodEnum<{
732
+ GET: "GET";
733
+ POST: "POST";
734
+ PUT: "PUT";
735
+ DELETE: "DELETE";
736
+ PATCH: "PATCH";
737
+ }>;
1939
738
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1940
739
  body: z.ZodOptional<z.ZodAny>;
1941
740
  authentication: z.ZodOptional<z.ZodObject<{
1942
- type: z.ZodEnum<["none", "basic", "bearer", "api_key", "oauth2"]>;
741
+ type: z.ZodEnum<{
742
+ none: "none";
743
+ oauth2: "oauth2";
744
+ basic: "basic";
745
+ bearer: "bearer";
746
+ api_key: "api_key";
747
+ }>;
1943
748
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1944
- }, "strip", z.ZodTypeAny, {
1945
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
1946
- credentials?: Record<string, string> | undefined;
1947
- }, {
1948
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
1949
- credentials?: Record<string, string> | undefined;
1950
- }>>;
749
+ }, z.core.$strip>>;
1951
750
  timeout: z.ZodOptional<z.ZodNumber>;
1952
- }, "strip", z.ZodTypeAny, {
1953
- type: "http_call";
1954
- url: string;
1955
- name: string;
1956
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
1957
- headers?: Record<string, string> | undefined;
1958
- timeout?: number | undefined;
1959
- authentication?: {
1960
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
1961
- credentials?: Record<string, string> | undefined;
1962
- } | undefined;
1963
- body?: any;
1964
- }, {
1965
- type: "http_call";
1966
- url: string;
1967
- name: string;
1968
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
1969
- headers?: Record<string, string> | undefined;
1970
- timeout?: number | undefined;
1971
- authentication?: {
1972
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
1973
- credentials?: Record<string, string> | undefined;
1974
- } | undefined;
1975
- body?: any;
1976
- }>, z.ZodObject<{
751
+ }, z.core.$strip>, z.ZodObject<{
1977
752
  name: z.ZodString;
1978
753
  type: z.ZodLiteral<"webhook_trigger">;
1979
754
  config: z.ZodObject<{
1980
755
  name: z.ZodString;
1981
756
  label: z.ZodOptional<z.ZodString>;
1982
757
  object: z.ZodOptional<z.ZodString>;
1983
- triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<["create", "update", "delete", "undelete", "api"]>, "many">>;
758
+ triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
759
+ update: "update";
760
+ delete: "delete";
761
+ create: "create";
762
+ api: "api";
763
+ undelete: "undelete";
764
+ }>>>;
1984
765
  url: z.ZodString;
1985
- method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>>;
766
+ method: z.ZodDefault<z.ZodEnum<{
767
+ GET: "GET";
768
+ POST: "POST";
769
+ PUT: "PUT";
770
+ DELETE: "DELETE";
771
+ PATCH: "PATCH";
772
+ }>>;
1986
773
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1987
774
  body: z.ZodOptional<z.ZodAny>;
1988
- payloadFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
775
+ payloadFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1989
776
  includeSession: z.ZodDefault<z.ZodBoolean>;
1990
777
  authentication: z.ZodOptional<z.ZodObject<{
1991
- type: z.ZodEnum<["none", "bearer", "basic", "api-key"]>;
778
+ type: z.ZodEnum<{
779
+ none: "none";
780
+ "api-key": "api-key";
781
+ basic: "basic";
782
+ bearer: "bearer";
783
+ }>;
1992
784
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1993
- }, "strip", z.ZodTypeAny, {
1994
- type: "none" | "api-key" | "basic" | "bearer";
1995
- credentials?: Record<string, string> | undefined;
1996
- }, {
1997
- type: "none" | "api-key" | "basic" | "bearer";
1998
- credentials?: Record<string, string> | undefined;
1999
- }>>;
785
+ }, z.core.$strip>>;
2000
786
  retryPolicy: z.ZodOptional<z.ZodObject<{
2001
787
  maxRetries: z.ZodDefault<z.ZodNumber>;
2002
- backoffStrategy: z.ZodDefault<z.ZodEnum<["exponential", "linear", "fixed"]>>;
788
+ backoffStrategy: z.ZodDefault<z.ZodEnum<{
789
+ fixed: "fixed";
790
+ linear: "linear";
791
+ exponential: "exponential";
792
+ }>>;
2003
793
  initialDelayMs: z.ZodDefault<z.ZodNumber>;
2004
794
  maxDelayMs: z.ZodDefault<z.ZodNumber>;
2005
- }, "strip", z.ZodTypeAny, {
2006
- maxRetries: number;
2007
- backoffStrategy: "fixed" | "linear" | "exponential";
2008
- initialDelayMs: number;
2009
- maxDelayMs: number;
2010
- }, {
2011
- maxRetries?: number | undefined;
2012
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
2013
- initialDelayMs?: number | undefined;
2014
- maxDelayMs?: number | undefined;
2015
- }>>;
795
+ }, z.core.$strip>>;
2016
796
  timeoutMs: z.ZodDefault<z.ZodNumber>;
2017
797
  secret: z.ZodOptional<z.ZodString>;
2018
798
  isActive: z.ZodDefault<z.ZodBoolean>;
2019
799
  description: z.ZodOptional<z.ZodString>;
2020
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2021
- }, "strip", z.ZodTypeAny, {
2022
- url: string;
2023
- name: string;
2024
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2025
- timeoutMs: number;
2026
- includeSession: boolean;
2027
- isActive: boolean;
2028
- object?: string | undefined;
2029
- tags?: string[] | undefined;
2030
- label?: string | undefined;
2031
- description?: string | undefined;
2032
- headers?: Record<string, string> | undefined;
2033
- authentication?: {
2034
- type: "none" | "api-key" | "basic" | "bearer";
2035
- credentials?: Record<string, string> | undefined;
2036
- } | undefined;
2037
- body?: any;
2038
- secret?: string | undefined;
2039
- retryPolicy?: {
2040
- maxRetries: number;
2041
- backoffStrategy: "fixed" | "linear" | "exponential";
2042
- initialDelayMs: number;
2043
- maxDelayMs: number;
2044
- } | undefined;
2045
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
2046
- payloadFields?: string[] | undefined;
2047
- }, {
2048
- url: string;
2049
- name: string;
2050
- object?: string | undefined;
2051
- tags?: string[] | undefined;
2052
- label?: string | undefined;
2053
- description?: string | undefined;
2054
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
2055
- headers?: Record<string, string> | undefined;
2056
- authentication?: {
2057
- type: "none" | "api-key" | "basic" | "bearer";
2058
- credentials?: Record<string, string> | undefined;
2059
- } | undefined;
2060
- body?: any;
2061
- secret?: string | undefined;
2062
- timeoutMs?: number | undefined;
2063
- retryPolicy?: {
2064
- maxRetries?: number | undefined;
2065
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
2066
- initialDelayMs?: number | undefined;
2067
- maxDelayMs?: number | undefined;
2068
- } | undefined;
2069
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
2070
- payloadFields?: string[] | undefined;
2071
- includeSession?: boolean | undefined;
2072
- isActive?: boolean | undefined;
2073
- }>;
2074
- }, "strip", z.ZodTypeAny, {
2075
- type: "webhook_trigger";
2076
- name: string;
2077
- config: {
2078
- url: string;
2079
- name: string;
2080
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2081
- timeoutMs: number;
2082
- includeSession: boolean;
2083
- isActive: boolean;
2084
- object?: string | undefined;
2085
- tags?: string[] | undefined;
2086
- label?: string | undefined;
2087
- description?: string | undefined;
2088
- headers?: Record<string, string> | undefined;
2089
- authentication?: {
2090
- type: "none" | "api-key" | "basic" | "bearer";
2091
- credentials?: Record<string, string> | undefined;
2092
- } | undefined;
2093
- body?: any;
2094
- secret?: string | undefined;
2095
- retryPolicy?: {
2096
- maxRetries: number;
2097
- backoffStrategy: "fixed" | "linear" | "exponential";
2098
- initialDelayMs: number;
2099
- maxDelayMs: number;
2100
- } | undefined;
2101
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
2102
- payloadFields?: string[] | undefined;
2103
- };
2104
- }, {
2105
- type: "webhook_trigger";
2106
- name: string;
2107
- config: {
2108
- url: string;
2109
- name: string;
2110
- object?: string | undefined;
2111
- tags?: string[] | undefined;
2112
- label?: string | undefined;
2113
- description?: string | undefined;
2114
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
2115
- headers?: Record<string, string> | undefined;
2116
- authentication?: {
2117
- type: "none" | "api-key" | "basic" | "bearer";
2118
- credentials?: Record<string, string> | undefined;
2119
- } | undefined;
2120
- body?: any;
2121
- secret?: string | undefined;
2122
- timeoutMs?: number | undefined;
2123
- retryPolicy?: {
2124
- maxRetries?: number | undefined;
2125
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
2126
- initialDelayMs?: number | undefined;
2127
- maxDelayMs?: number | undefined;
2128
- } | undefined;
2129
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
2130
- payloadFields?: string[] | undefined;
2131
- includeSession?: boolean | undefined;
2132
- isActive?: boolean | undefined;
2133
- };
2134
- }>, z.ZodObject<{
800
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
801
+ }, z.core.$strip>;
802
+ }, z.core.$strip>, z.ZodObject<{
2135
803
  name: z.ZodString;
2136
804
  type: z.ZodLiteral<"task_creation">;
2137
805
  taskObject: z.ZodString;
@@ -2142,742 +810,32 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
2142
810
  priority: z.ZodOptional<z.ZodString>;
2143
811
  relatedTo: z.ZodOptional<z.ZodString>;
2144
812
  additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2145
- }, "strip", z.ZodTypeAny, {
2146
- type: "task_creation";
2147
- name: string;
2148
- subject: string;
2149
- taskObject: string;
2150
- description?: string | undefined;
2151
- priority?: string | undefined;
2152
- assignedTo?: string | undefined;
2153
- dueDate?: string | undefined;
2154
- relatedTo?: string | undefined;
2155
- additionalFields?: Record<string, any> | undefined;
2156
- }, {
2157
- type: "task_creation";
2158
- name: string;
2159
- subject: string;
2160
- taskObject: string;
2161
- description?: string | undefined;
2162
- priority?: string | undefined;
2163
- assignedTo?: string | undefined;
2164
- dueDate?: string | undefined;
2165
- relatedTo?: string | undefined;
2166
- additionalFields?: Record<string, any> | undefined;
2167
- }>, z.ZodObject<{
813
+ }, z.core.$strip>, z.ZodObject<{
2168
814
  name: z.ZodString;
2169
815
  type: z.ZodLiteral<"push_notification">;
2170
816
  title: z.ZodString;
2171
817
  body: z.ZodString;
2172
- recipients: z.ZodArray<z.ZodString, "many">;
818
+ recipients: z.ZodArray<z.ZodString>;
2173
819
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2174
820
  badge: z.ZodOptional<z.ZodNumber>;
2175
821
  sound: z.ZodOptional<z.ZodString>;
2176
822
  clickAction: z.ZodOptional<z.ZodString>;
2177
- }, "strip", z.ZodTypeAny, {
2178
- type: "push_notification";
2179
- name: string;
2180
- title: string;
2181
- body: string;
2182
- recipients: string[];
2183
- data?: Record<string, any> | undefined;
2184
- badge?: number | undefined;
2185
- sound?: string | undefined;
2186
- clickAction?: string | undefined;
2187
- }, {
2188
- type: "push_notification";
2189
- name: string;
2190
- title: string;
2191
- body: string;
2192
- recipients: string[];
2193
- data?: Record<string, any> | undefined;
2194
- badge?: number | undefined;
2195
- sound?: string | undefined;
2196
- clickAction?: string | undefined;
2197
- }>, z.ZodObject<{
823
+ }, z.core.$strip>, z.ZodObject<{
2198
824
  name: z.ZodString;
2199
825
  type: z.ZodLiteral<"custom_script">;
2200
- language: z.ZodDefault<z.ZodEnum<["javascript", "typescript", "python"]>>;
826
+ language: z.ZodDefault<z.ZodEnum<{
827
+ javascript: "javascript";
828
+ typescript: "typescript";
829
+ python: "python";
830
+ }>>;
2201
831
  code: z.ZodString;
2202
832
  timeout: z.ZodDefault<z.ZodNumber>;
2203
833
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2204
- }, "strip", z.ZodTypeAny, {
2205
- code: string;
2206
- type: "custom_script";
2207
- language: "javascript" | "typescript" | "python";
2208
- name: string;
2209
- timeout: number;
2210
- context?: Record<string, any> | undefined;
2211
- }, {
2212
- code: string;
2213
- type: "custom_script";
2214
- name: string;
2215
- language?: "javascript" | "typescript" | "python" | undefined;
2216
- timeout?: number | undefined;
2217
- context?: Record<string, any> | undefined;
2218
- }>]>, "many">;
2219
- }, "strip", z.ZodTypeAny, {
2220
- actions: ({
2221
- type: "field_update";
2222
- field: string;
2223
- name: string;
2224
- value?: any;
2225
- } | {
2226
- type: "email_alert";
2227
- name: string;
2228
- template: string;
2229
- recipients: string[];
2230
- } | {
2231
- message: string;
2232
- type: "sms_notification";
2233
- provider: "twilio" | "vonage";
2234
- name: string;
2235
- recipients: string[];
2236
- fromNumber?: string | undefined;
2237
- } | {
2238
- message: string;
2239
- type: "slack_message";
2240
- name: string;
2241
- channel: string;
2242
- mentions?: string[] | undefined;
2243
- threadId?: string | undefined;
2244
- } | {
2245
- message: string;
2246
- type: "teams_message";
2247
- name: string;
2248
- channel: string;
2249
- mentions?: string[] | undefined;
2250
- teamId?: string | undefined;
2251
- } | {
2252
- type: "http_call";
2253
- url: string;
2254
- name: string;
2255
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2256
- headers?: Record<string, string> | undefined;
2257
- timeout?: number | undefined;
2258
- authentication?: {
2259
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
2260
- credentials?: Record<string, string> | undefined;
2261
- } | undefined;
2262
- body?: any;
2263
- } | {
2264
- type: "webhook_trigger";
2265
- name: string;
2266
- config: {
2267
- url: string;
2268
- name: string;
2269
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2270
- timeoutMs: number;
2271
- includeSession: boolean;
2272
- isActive: boolean;
2273
- object?: string | undefined;
2274
- tags?: string[] | undefined;
2275
- label?: string | undefined;
2276
- description?: string | undefined;
2277
- headers?: Record<string, string> | undefined;
2278
- authentication?: {
2279
- type: "none" | "api-key" | "basic" | "bearer";
2280
- credentials?: Record<string, string> | undefined;
2281
- } | undefined;
2282
- body?: any;
2283
- secret?: string | undefined;
2284
- retryPolicy?: {
2285
- maxRetries: number;
2286
- backoffStrategy: "fixed" | "linear" | "exponential";
2287
- initialDelayMs: number;
2288
- maxDelayMs: number;
2289
- } | undefined;
2290
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
2291
- payloadFields?: string[] | undefined;
2292
- };
2293
- } | {
2294
- type: "task_creation";
2295
- name: string;
2296
- subject: string;
2297
- taskObject: string;
2298
- description?: string | undefined;
2299
- priority?: string | undefined;
2300
- assignedTo?: string | undefined;
2301
- dueDate?: string | undefined;
2302
- relatedTo?: string | undefined;
2303
- additionalFields?: Record<string, any> | undefined;
2304
- } | {
2305
- type: "push_notification";
2306
- name: string;
2307
- title: string;
2308
- body: string;
2309
- recipients: string[];
2310
- data?: Record<string, any> | undefined;
2311
- badge?: number | undefined;
2312
- sound?: string | undefined;
2313
- clickAction?: string | undefined;
2314
- } | {
2315
- code: string;
2316
- type: "custom_script";
2317
- language: "javascript" | "typescript" | "python";
2318
- name: string;
2319
- timeout: number;
2320
- context?: Record<string, any> | undefined;
2321
- })[];
2322
- timeLength: number;
2323
- timeUnit: "minutes" | "hours" | "days";
2324
- offsetDirection: "before" | "after";
2325
- offsetFrom: "trigger_date" | "date_field";
2326
- id?: string | undefined;
2327
- dateField?: string | undefined;
2328
- }, {
2329
- actions: ({
2330
- type: "field_update";
2331
- field: string;
2332
- name: string;
2333
- value?: any;
2334
- } | {
2335
- type: "email_alert";
2336
- name: string;
2337
- template: string;
2338
- recipients: string[];
2339
- } | {
2340
- message: string;
2341
- type: "sms_notification";
2342
- provider: "twilio" | "vonage";
2343
- name: string;
2344
- recipients: string[];
2345
- fromNumber?: string | undefined;
2346
- } | {
2347
- message: string;
2348
- type: "slack_message";
2349
- name: string;
2350
- channel: string;
2351
- mentions?: string[] | undefined;
2352
- threadId?: string | undefined;
2353
- } | {
2354
- message: string;
2355
- type: "teams_message";
2356
- name: string;
2357
- channel: string;
2358
- mentions?: string[] | undefined;
2359
- teamId?: string | undefined;
2360
- } | {
2361
- type: "http_call";
2362
- url: string;
2363
- name: string;
2364
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2365
- headers?: Record<string, string> | undefined;
2366
- timeout?: number | undefined;
2367
- authentication?: {
2368
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
2369
- credentials?: Record<string, string> | undefined;
2370
- } | undefined;
2371
- body?: any;
2372
- } | {
2373
- type: "webhook_trigger";
2374
- name: string;
2375
- config: {
2376
- url: string;
2377
- name: string;
2378
- object?: string | undefined;
2379
- tags?: string[] | undefined;
2380
- label?: string | undefined;
2381
- description?: string | undefined;
2382
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
2383
- headers?: Record<string, string> | undefined;
2384
- authentication?: {
2385
- type: "none" | "api-key" | "basic" | "bearer";
2386
- credentials?: Record<string, string> | undefined;
2387
- } | undefined;
2388
- body?: any;
2389
- secret?: string | undefined;
2390
- timeoutMs?: number | undefined;
2391
- retryPolicy?: {
2392
- maxRetries?: number | undefined;
2393
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
2394
- initialDelayMs?: number | undefined;
2395
- maxDelayMs?: number | undefined;
2396
- } | undefined;
2397
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
2398
- payloadFields?: string[] | undefined;
2399
- includeSession?: boolean | undefined;
2400
- isActive?: boolean | undefined;
2401
- };
2402
- } | {
2403
- type: "task_creation";
2404
- name: string;
2405
- subject: string;
2406
- taskObject: string;
2407
- description?: string | undefined;
2408
- priority?: string | undefined;
2409
- assignedTo?: string | undefined;
2410
- dueDate?: string | undefined;
2411
- relatedTo?: string | undefined;
2412
- additionalFields?: Record<string, any> | undefined;
2413
- } | {
2414
- type: "push_notification";
2415
- name: string;
2416
- title: string;
2417
- body: string;
2418
- recipients: string[];
2419
- data?: Record<string, any> | undefined;
2420
- badge?: number | undefined;
2421
- sound?: string | undefined;
2422
- clickAction?: string | undefined;
2423
- } | {
2424
- code: string;
2425
- type: "custom_script";
2426
- name: string;
2427
- language?: "javascript" | "typescript" | "python" | undefined;
2428
- timeout?: number | undefined;
2429
- context?: Record<string, any> | undefined;
2430
- })[];
2431
- timeLength: number;
2432
- timeUnit: "minutes" | "hours" | "days";
2433
- offsetDirection: "before" | "after";
2434
- offsetFrom: "trigger_date" | "date_field";
2435
- id?: string | undefined;
2436
- dateField?: string | undefined;
2437
- }>, "many">>;
2438
- /** Active status */
834
+ }, z.core.$strip>], "type">>;
835
+ }, z.core.$strip>>>;
2439
836
  active: z.ZodDefault<z.ZodBoolean>;
2440
- /** Recursion Control */
2441
837
  reevaluateOnChange: z.ZodDefault<z.ZodBoolean>;
2442
- }, "strip", z.ZodTypeAny, {
2443
- name: string;
2444
- active: boolean;
2445
- objectName: string;
2446
- triggerType: "schedule" | "on_update" | "on_create" | "on_create_or_update" | "on_delete";
2447
- reevaluateOnChange: boolean;
2448
- criteria?: string | undefined;
2449
- actions?: ({
2450
- type: "field_update";
2451
- field: string;
2452
- name: string;
2453
- value?: any;
2454
- } | {
2455
- type: "email_alert";
2456
- name: string;
2457
- template: string;
2458
- recipients: string[];
2459
- } | {
2460
- message: string;
2461
- type: "sms_notification";
2462
- provider: "twilio" | "vonage";
2463
- name: string;
2464
- recipients: string[];
2465
- fromNumber?: string | undefined;
2466
- } | {
2467
- message: string;
2468
- type: "slack_message";
2469
- name: string;
2470
- channel: string;
2471
- mentions?: string[] | undefined;
2472
- threadId?: string | undefined;
2473
- } | {
2474
- message: string;
2475
- type: "teams_message";
2476
- name: string;
2477
- channel: string;
2478
- mentions?: string[] | undefined;
2479
- teamId?: string | undefined;
2480
- } | {
2481
- type: "http_call";
2482
- url: string;
2483
- name: string;
2484
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2485
- headers?: Record<string, string> | undefined;
2486
- timeout?: number | undefined;
2487
- authentication?: {
2488
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
2489
- credentials?: Record<string, string> | undefined;
2490
- } | undefined;
2491
- body?: any;
2492
- } | {
2493
- type: "webhook_trigger";
2494
- name: string;
2495
- config: {
2496
- url: string;
2497
- name: string;
2498
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2499
- timeoutMs: number;
2500
- includeSession: boolean;
2501
- isActive: boolean;
2502
- object?: string | undefined;
2503
- tags?: string[] | undefined;
2504
- label?: string | undefined;
2505
- description?: string | undefined;
2506
- headers?: Record<string, string> | undefined;
2507
- authentication?: {
2508
- type: "none" | "api-key" | "basic" | "bearer";
2509
- credentials?: Record<string, string> | undefined;
2510
- } | undefined;
2511
- body?: any;
2512
- secret?: string | undefined;
2513
- retryPolicy?: {
2514
- maxRetries: number;
2515
- backoffStrategy: "fixed" | "linear" | "exponential";
2516
- initialDelayMs: number;
2517
- maxDelayMs: number;
2518
- } | undefined;
2519
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
2520
- payloadFields?: string[] | undefined;
2521
- };
2522
- } | {
2523
- type: "task_creation";
2524
- name: string;
2525
- subject: string;
2526
- taskObject: string;
2527
- description?: string | undefined;
2528
- priority?: string | undefined;
2529
- assignedTo?: string | undefined;
2530
- dueDate?: string | undefined;
2531
- relatedTo?: string | undefined;
2532
- additionalFields?: Record<string, any> | undefined;
2533
- } | {
2534
- type: "push_notification";
2535
- name: string;
2536
- title: string;
2537
- body: string;
2538
- recipients: string[];
2539
- data?: Record<string, any> | undefined;
2540
- badge?: number | undefined;
2541
- sound?: string | undefined;
2542
- clickAction?: string | undefined;
2543
- } | {
2544
- code: string;
2545
- type: "custom_script";
2546
- language: "javascript" | "typescript" | "python";
2547
- name: string;
2548
- timeout: number;
2549
- context?: Record<string, any> | undefined;
2550
- })[] | undefined;
2551
- timeTriggers?: {
2552
- actions: ({
2553
- type: "field_update";
2554
- field: string;
2555
- name: string;
2556
- value?: any;
2557
- } | {
2558
- type: "email_alert";
2559
- name: string;
2560
- template: string;
2561
- recipients: string[];
2562
- } | {
2563
- message: string;
2564
- type: "sms_notification";
2565
- provider: "twilio" | "vonage";
2566
- name: string;
2567
- recipients: string[];
2568
- fromNumber?: string | undefined;
2569
- } | {
2570
- message: string;
2571
- type: "slack_message";
2572
- name: string;
2573
- channel: string;
2574
- mentions?: string[] | undefined;
2575
- threadId?: string | undefined;
2576
- } | {
2577
- message: string;
2578
- type: "teams_message";
2579
- name: string;
2580
- channel: string;
2581
- mentions?: string[] | undefined;
2582
- teamId?: string | undefined;
2583
- } | {
2584
- type: "http_call";
2585
- url: string;
2586
- name: string;
2587
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2588
- headers?: Record<string, string> | undefined;
2589
- timeout?: number | undefined;
2590
- authentication?: {
2591
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
2592
- credentials?: Record<string, string> | undefined;
2593
- } | undefined;
2594
- body?: any;
2595
- } | {
2596
- type: "webhook_trigger";
2597
- name: string;
2598
- config: {
2599
- url: string;
2600
- name: string;
2601
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2602
- timeoutMs: number;
2603
- includeSession: boolean;
2604
- isActive: boolean;
2605
- object?: string | undefined;
2606
- tags?: string[] | undefined;
2607
- label?: string | undefined;
2608
- description?: string | undefined;
2609
- headers?: Record<string, string> | undefined;
2610
- authentication?: {
2611
- type: "none" | "api-key" | "basic" | "bearer";
2612
- credentials?: Record<string, string> | undefined;
2613
- } | undefined;
2614
- body?: any;
2615
- secret?: string | undefined;
2616
- retryPolicy?: {
2617
- maxRetries: number;
2618
- backoffStrategy: "fixed" | "linear" | "exponential";
2619
- initialDelayMs: number;
2620
- maxDelayMs: number;
2621
- } | undefined;
2622
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
2623
- payloadFields?: string[] | undefined;
2624
- };
2625
- } | {
2626
- type: "task_creation";
2627
- name: string;
2628
- subject: string;
2629
- taskObject: string;
2630
- description?: string | undefined;
2631
- priority?: string | undefined;
2632
- assignedTo?: string | undefined;
2633
- dueDate?: string | undefined;
2634
- relatedTo?: string | undefined;
2635
- additionalFields?: Record<string, any> | undefined;
2636
- } | {
2637
- type: "push_notification";
2638
- name: string;
2639
- title: string;
2640
- body: string;
2641
- recipients: string[];
2642
- data?: Record<string, any> | undefined;
2643
- badge?: number | undefined;
2644
- sound?: string | undefined;
2645
- clickAction?: string | undefined;
2646
- } | {
2647
- code: string;
2648
- type: "custom_script";
2649
- language: "javascript" | "typescript" | "python";
2650
- name: string;
2651
- timeout: number;
2652
- context?: Record<string, any> | undefined;
2653
- })[];
2654
- timeLength: number;
2655
- timeUnit: "minutes" | "hours" | "days";
2656
- offsetDirection: "before" | "after";
2657
- offsetFrom: "trigger_date" | "date_field";
2658
- id?: string | undefined;
2659
- dateField?: string | undefined;
2660
- }[] | undefined;
2661
- }, {
2662
- name: string;
2663
- objectName: string;
2664
- triggerType: "schedule" | "on_update" | "on_create" | "on_create_or_update" | "on_delete";
2665
- active?: boolean | undefined;
2666
- criteria?: string | undefined;
2667
- actions?: ({
2668
- type: "field_update";
2669
- field: string;
2670
- name: string;
2671
- value?: any;
2672
- } | {
2673
- type: "email_alert";
2674
- name: string;
2675
- template: string;
2676
- recipients: string[];
2677
- } | {
2678
- message: string;
2679
- type: "sms_notification";
2680
- provider: "twilio" | "vonage";
2681
- name: string;
2682
- recipients: string[];
2683
- fromNumber?: string | undefined;
2684
- } | {
2685
- message: string;
2686
- type: "slack_message";
2687
- name: string;
2688
- channel: string;
2689
- mentions?: string[] | undefined;
2690
- threadId?: string | undefined;
2691
- } | {
2692
- message: string;
2693
- type: "teams_message";
2694
- name: string;
2695
- channel: string;
2696
- mentions?: string[] | undefined;
2697
- teamId?: string | undefined;
2698
- } | {
2699
- type: "http_call";
2700
- url: string;
2701
- name: string;
2702
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2703
- headers?: Record<string, string> | undefined;
2704
- timeout?: number | undefined;
2705
- authentication?: {
2706
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
2707
- credentials?: Record<string, string> | undefined;
2708
- } | undefined;
2709
- body?: any;
2710
- } | {
2711
- type: "webhook_trigger";
2712
- name: string;
2713
- config: {
2714
- url: string;
2715
- name: string;
2716
- object?: string | undefined;
2717
- tags?: string[] | undefined;
2718
- label?: string | undefined;
2719
- description?: string | undefined;
2720
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
2721
- headers?: Record<string, string> | undefined;
2722
- authentication?: {
2723
- type: "none" | "api-key" | "basic" | "bearer";
2724
- credentials?: Record<string, string> | undefined;
2725
- } | undefined;
2726
- body?: any;
2727
- secret?: string | undefined;
2728
- timeoutMs?: number | undefined;
2729
- retryPolicy?: {
2730
- maxRetries?: number | undefined;
2731
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
2732
- initialDelayMs?: number | undefined;
2733
- maxDelayMs?: number | undefined;
2734
- } | undefined;
2735
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
2736
- payloadFields?: string[] | undefined;
2737
- includeSession?: boolean | undefined;
2738
- isActive?: boolean | undefined;
2739
- };
2740
- } | {
2741
- type: "task_creation";
2742
- name: string;
2743
- subject: string;
2744
- taskObject: string;
2745
- description?: string | undefined;
2746
- priority?: string | undefined;
2747
- assignedTo?: string | undefined;
2748
- dueDate?: string | undefined;
2749
- relatedTo?: string | undefined;
2750
- additionalFields?: Record<string, any> | undefined;
2751
- } | {
2752
- type: "push_notification";
2753
- name: string;
2754
- title: string;
2755
- body: string;
2756
- recipients: string[];
2757
- data?: Record<string, any> | undefined;
2758
- badge?: number | undefined;
2759
- sound?: string | undefined;
2760
- clickAction?: string | undefined;
2761
- } | {
2762
- code: string;
2763
- type: "custom_script";
2764
- name: string;
2765
- language?: "javascript" | "typescript" | "python" | undefined;
2766
- timeout?: number | undefined;
2767
- context?: Record<string, any> | undefined;
2768
- })[] | undefined;
2769
- timeTriggers?: {
2770
- actions: ({
2771
- type: "field_update";
2772
- field: string;
2773
- name: string;
2774
- value?: any;
2775
- } | {
2776
- type: "email_alert";
2777
- name: string;
2778
- template: string;
2779
- recipients: string[];
2780
- } | {
2781
- message: string;
2782
- type: "sms_notification";
2783
- provider: "twilio" | "vonage";
2784
- name: string;
2785
- recipients: string[];
2786
- fromNumber?: string | undefined;
2787
- } | {
2788
- message: string;
2789
- type: "slack_message";
2790
- name: string;
2791
- channel: string;
2792
- mentions?: string[] | undefined;
2793
- threadId?: string | undefined;
2794
- } | {
2795
- message: string;
2796
- type: "teams_message";
2797
- name: string;
2798
- channel: string;
2799
- mentions?: string[] | undefined;
2800
- teamId?: string | undefined;
2801
- } | {
2802
- type: "http_call";
2803
- url: string;
2804
- name: string;
2805
- method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
2806
- headers?: Record<string, string> | undefined;
2807
- timeout?: number | undefined;
2808
- authentication?: {
2809
- type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
2810
- credentials?: Record<string, string> | undefined;
2811
- } | undefined;
2812
- body?: any;
2813
- } | {
2814
- type: "webhook_trigger";
2815
- name: string;
2816
- config: {
2817
- url: string;
2818
- name: string;
2819
- object?: string | undefined;
2820
- tags?: string[] | undefined;
2821
- label?: string | undefined;
2822
- description?: string | undefined;
2823
- method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
2824
- headers?: Record<string, string> | undefined;
2825
- authentication?: {
2826
- type: "none" | "api-key" | "basic" | "bearer";
2827
- credentials?: Record<string, string> | undefined;
2828
- } | undefined;
2829
- body?: any;
2830
- secret?: string | undefined;
2831
- timeoutMs?: number | undefined;
2832
- retryPolicy?: {
2833
- maxRetries?: number | undefined;
2834
- backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
2835
- initialDelayMs?: number | undefined;
2836
- maxDelayMs?: number | undefined;
2837
- } | undefined;
2838
- triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
2839
- payloadFields?: string[] | undefined;
2840
- includeSession?: boolean | undefined;
2841
- isActive?: boolean | undefined;
2842
- };
2843
- } | {
2844
- type: "task_creation";
2845
- name: string;
2846
- subject: string;
2847
- taskObject: string;
2848
- description?: string | undefined;
2849
- priority?: string | undefined;
2850
- assignedTo?: string | undefined;
2851
- dueDate?: string | undefined;
2852
- relatedTo?: string | undefined;
2853
- additionalFields?: Record<string, any> | undefined;
2854
- } | {
2855
- type: "push_notification";
2856
- name: string;
2857
- title: string;
2858
- body: string;
2859
- recipients: string[];
2860
- data?: Record<string, any> | undefined;
2861
- badge?: number | undefined;
2862
- sound?: string | undefined;
2863
- clickAction?: string | undefined;
2864
- } | {
2865
- code: string;
2866
- type: "custom_script";
2867
- name: string;
2868
- language?: "javascript" | "typescript" | "python" | undefined;
2869
- timeout?: number | undefined;
2870
- context?: Record<string, any> | undefined;
2871
- })[];
2872
- timeLength: number;
2873
- timeUnit: "minutes" | "hours" | "days";
2874
- offsetDirection: "before" | "after";
2875
- offsetFrom: "trigger_date" | "date_field";
2876
- id?: string | undefined;
2877
- dateField?: string | undefined;
2878
- }[] | undefined;
2879
- reevaluateOnChange?: boolean | undefined;
2880
- }>;
838
+ }, z.core.$strip>;
2881
839
  export type WorkflowRule = z.infer<typeof WorkflowRuleSchema>;
2882
840
  export type TimeTrigger = z.infer<typeof TimeTriggerSchema>;
2883
841
  //# sourceMappingURL=workflow.zod.d.ts.map