@objectstack/spec 0.7.1 → 0.8.0

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