@objectstack/spec 0.9.1 → 1.0.0

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