@objectstack/spec 0.9.1 → 1.0.0

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