@objectstack/spec 0.7.2 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1240) hide show
  1. package/dist/ai/agent-action.zod.d.ts +625 -1889
  2. package/dist/ai/agent-action.zod.d.ts.map +1 -1
  3. package/dist/ai/agent-action.zod.js +7 -7
  4. package/dist/ai/agent.zod.d.ts +36 -120
  5. package/dist/ai/agent.zod.d.ts.map +1 -1
  6. package/dist/ai/conversation.zod.d.ts +134 -841
  7. package/dist/ai/conversation.zod.d.ts.map +1 -1
  8. package/dist/ai/conversation.zod.js +5 -5
  9. package/dist/ai/cost.zod.d.ts +479 -1697
  10. package/dist/ai/cost.zod.d.ts.map +1 -1
  11. package/dist/ai/cost.zod.js +3 -3
  12. package/dist/ai/devops-agent.zod.d.ts +614 -0
  13. package/dist/ai/devops-agent.zod.d.ts.map +1 -0
  14. package/dist/ai/devops-agent.zod.js +776 -0
  15. package/dist/ai/index.d.ts +2 -0
  16. package/dist/ai/index.d.ts.map +1 -1
  17. package/dist/ai/index.js +2 -0
  18. package/dist/ai/model-registry.zod.d.ts +145 -1149
  19. package/dist/ai/model-registry.zod.d.ts.map +1 -1
  20. package/dist/ai/model-registry.zod.js +3 -3
  21. package/dist/ai/nlq.zod.d.ts +209 -914
  22. package/dist/ai/nlq.zod.d.ts.map +1 -1
  23. package/dist/ai/nlq.zod.js +2 -2
  24. package/dist/ai/orchestration.zod.d.ts +159 -449
  25. package/dist/ai/orchestration.zod.d.ts.map +1 -1
  26. package/dist/ai/orchestration.zod.js +4 -4
  27. package/dist/ai/predictive.zod.d.ts +116 -640
  28. package/dist/ai/predictive.zod.d.ts.map +1 -1
  29. package/dist/ai/predictive.zod.js +4 -4
  30. package/dist/ai/rag-pipeline.zod.d.ts +194 -819
  31. package/dist/ai/rag-pipeline.zod.d.ts.map +1 -1
  32. package/dist/ai/rag-pipeline.zod.js +4 -4
  33. package/dist/api/batch.zod.d.ts +82 -786
  34. package/dist/api/batch.zod.d.ts.map +1 -1
  35. package/dist/api/contract.zod.d.ts +194 -1502
  36. package/dist/api/contract.zod.d.ts.map +1 -1
  37. package/dist/api/contract.zod.js +1 -1
  38. package/dist/api/discovery.zod.d.ts +12 -126
  39. package/dist/api/discovery.zod.d.ts.map +1 -1
  40. package/dist/api/endpoint.zod.d.ts +56 -222
  41. package/dist/api/endpoint.zod.d.ts.map +1 -1
  42. package/dist/api/errors.zod.d.ts +376 -205
  43. package/dist/api/errors.zod.d.ts.map +1 -1
  44. package/dist/api/graphql.zod.d.ts +670 -5073
  45. package/dist/api/graphql.zod.d.ts.map +1 -1
  46. package/dist/api/graphql.zod.js +6 -6
  47. package/dist/api/http-cache.zod.d.ts +92 -229
  48. package/dist/api/http-cache.zod.d.ts.map +1 -1
  49. package/dist/api/odata.zod.d.ts +72 -677
  50. package/dist/api/odata.zod.d.ts.map +1 -1
  51. package/dist/api/odata.zod.js +2 -2
  52. package/dist/api/protocol.zod.d.ts +987 -8312
  53. package/dist/api/protocol.zod.d.ts.map +1 -1
  54. package/dist/api/protocol.zod.js +90 -90
  55. package/dist/api/realtime.zod.d.ts +72 -193
  56. package/dist/api/realtime.zod.d.ts.map +1 -1
  57. package/dist/api/realtime.zod.js +1 -1
  58. package/dist/api/rest-server.zod.d.ts +248 -1942
  59. package/dist/api/rest-server.zod.d.ts.map +1 -1
  60. package/dist/api/rest-server.zod.js +1 -1
  61. package/dist/api/router.zod.d.ts +41 -145
  62. package/dist/api/router.zod.d.ts.map +1 -1
  63. package/dist/api/router.zod.js +8 -1
  64. package/dist/api/view-storage.zod.d.ts +1170 -7336
  65. package/dist/api/view-storage.zod.d.ts.map +1 -1
  66. package/dist/api/view-storage.zod.js +2 -2
  67. package/dist/api/websocket.zod.d.ts +203 -1209
  68. package/dist/api/websocket.zod.d.ts.map +1 -1
  69. package/dist/api/websocket.zod.js +4 -4
  70. package/dist/auth/config.zod.d.ts +316 -2936
  71. package/dist/auth/config.zod.d.ts.map +1 -1
  72. package/dist/auth/config.zod.js +46 -46
  73. package/dist/auth/identity.zod.d.ts +12 -189
  74. package/dist/auth/identity.zod.d.ts.map +1 -1
  75. package/dist/auth/organization.zod.d.ts +15 -126
  76. package/dist/auth/organization.zod.d.ts.map +1 -1
  77. package/dist/auth/organization.zod.js +1 -1
  78. package/dist/auth/policy.zod.d.ts +14 -151
  79. package/dist/auth/policy.zod.d.ts.map +1 -1
  80. package/dist/auth/role.zod.d.ts +1 -14
  81. package/dist/auth/role.zod.d.ts.map +1 -1
  82. package/dist/auth/scim.zod.d.ts +165 -2327
  83. package/dist/auth/scim.zod.d.ts.map +1 -1
  84. package/dist/auth/scim.zod.js +1 -1
  85. package/dist/automation/approval.zod.d.ts +171 -536
  86. package/dist/automation/approval.zod.d.ts.map +1 -1
  87. package/dist/automation/approval.zod.js +1 -1
  88. package/dist/automation/etl.zod.d.ts +144 -453
  89. package/dist/automation/etl.zod.d.ts.map +1 -1
  90. package/dist/automation/etl.zod.js +4 -4
  91. package/dist/automation/flow.zod.d.ts +79 -193
  92. package/dist/automation/flow.zod.d.ts.map +1 -1
  93. package/dist/automation/flow.zod.js +1 -1
  94. package/dist/automation/sync.zod.d.ts +132 -813
  95. package/dist/automation/sync.zod.d.ts.map +1 -1
  96. package/dist/automation/sync.zod.js +2 -2
  97. package/dist/automation/trigger-registry.zod.d.ts +184 -1030
  98. package/dist/automation/trigger-registry.zod.d.ts.map +1 -1
  99. package/dist/automation/trigger-registry.zod.js +7 -7
  100. package/dist/automation/webhook.zod.d.ts +50 -125
  101. package/dist/automation/webhook.zod.d.ts.map +1 -1
  102. package/dist/automation/webhook.zod.js +2 -2
  103. package/dist/automation/workflow.zod.d.ts +392 -2434
  104. package/dist/automation/workflow.zod.d.ts.map +1 -1
  105. package/dist/automation/workflow.zod.js +5 -5
  106. package/dist/data/data-engine.zod.d.ts +326 -2335
  107. package/dist/data/data-engine.zod.d.ts.map +1 -1
  108. package/dist/data/data-engine.zod.js +34 -27
  109. package/dist/data/dataset.zod.d.ts +21 -40
  110. package/dist/data/dataset.zod.d.ts.map +1 -1
  111. package/dist/data/dataset.zod.js +1 -1
  112. package/dist/data/document.zod.d.ts +39 -547
  113. package/dist/data/document.zod.d.ts.map +1 -1
  114. package/dist/data/document.zod.js +1 -1
  115. package/dist/data/driver/mongo.zod.d.ts +3 -39
  116. package/dist/data/driver/mongo.zod.d.ts.map +1 -1
  117. package/dist/data/driver/mongo.zod.js +1 -1
  118. package/dist/data/driver/postgres.zod.d.ts +3 -109
  119. package/dist/data/driver/postgres.zod.d.ts.map +1 -1
  120. package/dist/data/driver-nosql.zod.d.ts +189 -695
  121. package/dist/data/driver-nosql.zod.d.ts.map +1 -1
  122. package/dist/data/driver-nosql.zod.js +4 -4
  123. package/dist/data/driver-sql.zod.d.ts +33 -481
  124. package/dist/data/driver-sql.zod.d.ts.map +1 -1
  125. package/dist/data/driver.zod.d.ts +473 -4237
  126. package/dist/data/driver.zod.d.ts.map +1 -1
  127. package/dist/data/driver.zod.js +104 -96
  128. package/dist/data/external-lookup.zod.d.ts +68 -505
  129. package/dist/data/external-lookup.zod.d.ts.map +1 -1
  130. package/dist/data/external-lookup.zod.js +2 -2
  131. package/dist/data/field.zod.d.ts +737 -1696
  132. package/dist/data/field.zod.d.ts.map +1 -1
  133. package/dist/data/field.zod.js +1 -1
  134. package/dist/data/filter.zod.d.ts +36 -224
  135. package/dist/data/filter.zod.d.ts.map +1 -1
  136. package/dist/data/hook.zod.d.ts +70 -143
  137. package/dist/data/hook.zod.d.ts.map +1 -1
  138. package/dist/data/hook.zod.js +2 -2
  139. package/dist/data/mapping.zod.d.ts +109 -483
  140. package/dist/data/mapping.zod.d.ts.map +1 -1
  141. package/dist/data/mapping.zod.js +1 -1
  142. package/dist/data/object.zod.d.ts +506 -2859
  143. package/dist/data/object.zod.d.ts.map +1 -1
  144. package/dist/data/query.zod.d.ts +157 -402
  145. package/dist/data/query.zod.d.ts.map +1 -1
  146. package/dist/data/query.zod.js +2 -2
  147. package/dist/data/validation.zod.d.ts +123 -284
  148. package/dist/data/validation.zod.d.ts.map +1 -1
  149. package/dist/data/validation.zod.js +5 -5
  150. package/dist/hub/composer.zod.d.ts +126 -1492
  151. package/dist/hub/composer.zod.d.ts.map +1 -1
  152. package/dist/hub/composer.zod.js +3 -3
  153. package/dist/hub/license.zod.d.ts +29 -74
  154. package/dist/hub/license.zod.d.ts.map +1 -1
  155. package/dist/hub/license.zod.js +2 -2
  156. package/dist/hub/marketplace.zod.d.ts +31 -141
  157. package/dist/hub/marketplace.zod.d.ts.map +1 -1
  158. package/dist/hub/plugin-registry.zod.d.ts +140 -1461
  159. package/dist/hub/plugin-registry.zod.d.ts.map +1 -1
  160. package/dist/hub/plugin-registry.zod.js +1 -1
  161. package/dist/hub/space.zod.d.ts +72 -307
  162. package/dist/hub/space.zod.d.ts.map +1 -1
  163. package/dist/hub/space.zod.js +2 -2
  164. package/dist/hub/tenant.zod.d.ts +107 -861
  165. package/dist/hub/tenant.zod.d.ts.map +1 -1
  166. package/dist/hub/tenant.zod.js +1 -1
  167. package/dist/integration/connector/database.zod.d.ts +248 -1271
  168. package/dist/integration/connector/database.zod.d.ts.map +1 -1
  169. package/dist/integration/connector/database.zod.js +1 -1
  170. package/dist/integration/connector/file-storage.zod.d.ts +243 -1008
  171. package/dist/integration/connector/file-storage.zod.d.ts.map +1 -1
  172. package/dist/integration/connector/file-storage.zod.js +1 -1
  173. package/dist/integration/connector/github.zod.d.ts +602 -0
  174. package/dist/integration/connector/github.zod.d.ts.map +1 -0
  175. package/dist/integration/connector/github.zod.js +445 -0
  176. package/dist/integration/connector/message-queue.zod.d.ts +298 -1265
  177. package/dist/integration/connector/message-queue.zod.d.ts.map +1 -1
  178. package/dist/integration/connector/message-queue.zod.js +2 -2
  179. package/dist/integration/connector/saas.zod.d.ts +238 -1147
  180. package/dist/integration/connector/saas.zod.d.ts.map +1 -1
  181. package/dist/integration/connector/saas.zod.js +1 -1
  182. package/dist/integration/connector/vercel.zod.d.ts +783 -0
  183. package/dist/integration/connector/vercel.zod.d.ts.map +1 -0
  184. package/dist/integration/connector/vercel.zod.js +538 -0
  185. package/dist/integration/connector.zod.d.ts +349 -1241
  186. package/dist/integration/connector.zod.d.ts.map +1 -1
  187. package/dist/integration/connector.zod.js +3 -3
  188. package/dist/integration/index.d.ts +4 -0
  189. package/dist/integration/index.d.ts.map +1 -1
  190. package/dist/integration/index.js +4 -0
  191. package/dist/permission/permission.zod.d.ts +17 -263
  192. package/dist/permission/permission.zod.d.ts.map +1 -1
  193. package/dist/permission/permission.zod.js +3 -3
  194. package/dist/permission/rls.zod.d.ts +27 -334
  195. package/dist/permission/rls.zod.d.ts.map +1 -1
  196. package/dist/permission/rls.zod.js +1 -1
  197. package/dist/permission/sharing.zod.d.ts +58 -92
  198. package/dist/permission/sharing.zod.d.ts.map +1 -1
  199. package/dist/permission/territory.zod.d.ts +32 -53
  200. package/dist/permission/territory.zod.d.ts.map +1 -1
  201. package/dist/shared/http.zod.d.ts +22 -67
  202. package/dist/shared/http.zod.d.ts.map +1 -1
  203. package/dist/shared/mapping.zod.d.ts +25 -139
  204. package/dist/shared/mapping.zod.d.ts.map +1 -1
  205. package/dist/shared/mapping.zod.js +1 -1
  206. package/dist/stack.zod.d.ts +5619 -26602
  207. package/dist/stack.zod.d.ts.map +1 -1
  208. package/dist/system/audit.zod.d.ts +522 -975
  209. package/dist/system/audit.zod.d.ts.map +1 -1
  210. package/dist/system/audit.zod.js +8 -8
  211. package/dist/system/cache.zod.d.ts +64 -102
  212. package/dist/system/cache.zod.d.ts.map +1 -1
  213. package/dist/system/change-management.zod.d.ts +77 -452
  214. package/dist/system/change-management.zod.d.ts.map +1 -1
  215. package/dist/system/collaboration.zod.d.ts +243 -1609
  216. package/dist/system/collaboration.zod.d.ts.map +1 -1
  217. package/dist/system/collaboration.zod.js +12 -12
  218. package/dist/system/compliance.zod.d.ts +63 -293
  219. package/dist/system/compliance.zod.d.ts.map +1 -1
  220. package/dist/system/context.zod.d.ts +13 -36
  221. package/dist/system/context.zod.d.ts.map +1 -1
  222. package/dist/system/context.zod.js +1 -1
  223. package/dist/system/datasource.zod.d.ts +7 -246
  224. package/dist/system/datasource.zod.d.ts.map +1 -1
  225. package/dist/system/datasource.zod.js +3 -3
  226. package/dist/system/encryption.zod.d.ts +54 -184
  227. package/dist/system/encryption.zod.d.ts.map +1 -1
  228. package/dist/system/events.zod.d.ts +288 -2248
  229. package/dist/system/events.zod.d.ts.map +1 -1
  230. package/dist/system/events.zod.js +16 -4
  231. package/dist/system/feature.zod.d.ts +39 -97
  232. package/dist/system/feature.zod.d.ts.map +1 -1
  233. package/dist/system/http-server.zod.d.ts +116 -562
  234. package/dist/system/http-server.zod.d.ts.map +1 -1
  235. package/dist/system/http-server.zod.js +2 -2
  236. package/dist/system/job.zod.d.ts +28 -152
  237. package/dist/system/job.zod.d.ts.map +1 -1
  238. package/dist/system/job.zod.js +4 -1
  239. package/dist/system/logging.zod.d.ts +268 -1876
  240. package/dist/system/logging.zod.d.ts.map +1 -1
  241. package/dist/system/logging.zod.js +12 -12
  242. package/dist/system/manifest.zod.d.ts +82 -1041
  243. package/dist/system/manifest.zod.d.ts.map +1 -1
  244. package/dist/system/manifest.zod.js +5 -5
  245. package/dist/system/masking.zod.d.ts +34 -66
  246. package/dist/system/masking.zod.d.ts.map +1 -1
  247. package/dist/system/message-queue.zod.d.ts +49 -135
  248. package/dist/system/message-queue.zod.d.ts.map +1 -1
  249. package/dist/system/metadata-loader.zod.d.ts +76 -495
  250. package/dist/system/metadata-loader.zod.d.ts.map +1 -1
  251. package/dist/system/metadata-loader.zod.js +2 -2
  252. package/dist/system/metrics.zod.d.ts +330 -1705
  253. package/dist/system/metrics.zod.d.ts.map +1 -1
  254. package/dist/system/metrics.zod.js +5 -5
  255. package/dist/system/notification.zod.d.ts +75 -534
  256. package/dist/system/notification.zod.d.ts.map +1 -1
  257. package/dist/system/notification.zod.js +1 -1
  258. package/dist/system/object-storage.zod.d.ts +385 -1104
  259. package/dist/system/object-storage.zod.d.ts.map +1 -1
  260. package/dist/system/object-storage.zod.js +4 -4
  261. package/dist/system/plugin-capability.zod.d.ts +88 -932
  262. package/dist/system/plugin-capability.zod.d.ts.map +1 -1
  263. package/dist/system/plugin-capability.zod.js +1 -1
  264. package/dist/system/plugin-lifecycle-events.zod.d.ts +49 -209
  265. package/dist/system/plugin-lifecycle-events.zod.d.ts.map +1 -1
  266. package/dist/system/plugin-validator.zod.d.ts +7 -154
  267. package/dist/system/plugin-validator.zod.d.ts.map +1 -1
  268. package/dist/system/plugin.zod.d.ts +288 -3343
  269. package/dist/system/plugin.zod.d.ts.map +1 -1
  270. package/dist/system/plugin.zod.js +90 -39
  271. package/dist/system/search-engine.zod.d.ts +78 -209
  272. package/dist/system/search-engine.zod.d.ts.map +1 -1
  273. package/dist/system/search-engine.zod.js +2 -2
  274. package/dist/system/service-registry.zod.d.ts +25 -134
  275. package/dist/system/service-registry.zod.d.ts.map +1 -1
  276. package/dist/system/service-registry.zod.js +3 -3
  277. package/dist/system/startup-orchestrator.zod.d.ts +12 -269
  278. package/dist/system/startup-orchestrator.zod.d.ts.map +1 -1
  279. package/dist/system/startup-orchestrator.zod.js +1 -1
  280. package/dist/system/tracing.zod.d.ts +286 -1623
  281. package/dist/system/tracing.zod.d.ts.map +1 -1
  282. package/dist/system/tracing.zod.js +7 -7
  283. package/dist/system/translation.zod.d.ts +8 -134
  284. package/dist/system/translation.zod.d.ts.map +1 -1
  285. package/dist/system/translation.zod.js +5 -5
  286. package/dist/system/worker.zod.d.ts +159 -1138
  287. package/dist/system/worker.zod.d.ts.map +1 -1
  288. package/dist/system/worker.zod.js +8 -8
  289. package/dist/ui/action.zod.d.ts +118 -121
  290. package/dist/ui/action.zod.d.ts.map +1 -1
  291. package/dist/ui/app.zod.d.ts +22 -290
  292. package/dist/ui/app.zod.d.ts.map +1 -1
  293. package/dist/ui/app.zod.js +1 -1
  294. package/dist/ui/chart.zod.d.ts +64 -18
  295. package/dist/ui/chart.zod.d.ts.map +1 -1
  296. package/dist/ui/component.zod.d.ts +86 -200
  297. package/dist/ui/component.zod.d.ts.map +1 -1
  298. package/dist/ui/dashboard.zod.d.ts +149 -249
  299. package/dist/ui/dashboard.zod.d.ts.map +1 -1
  300. package/dist/ui/page.zod.d.ts +117 -144
  301. package/dist/ui/page.zod.d.ts.map +1 -1
  302. package/dist/ui/page.zod.js +1 -1
  303. package/dist/ui/report.zod.d.ts +134 -179
  304. package/dist/ui/report.zod.d.ts.map +1 -1
  305. package/dist/ui/theme.zod.d.ts +42 -944
  306. package/dist/ui/theme.zod.d.ts.map +1 -1
  307. package/dist/ui/theme.zod.js +1 -1
  308. package/dist/ui/view.zod.d.ts +386 -2740
  309. package/dist/ui/view.zod.d.ts.map +1 -1
  310. package/dist/ui/view.zod.js +4 -4
  311. package/dist/ui/widget.zod.d.ts +201 -1593
  312. package/dist/ui/widget.zod.d.ts.map +1 -1
  313. package/dist/ui/widget.zod.js +8 -8
  314. package/json-schema/ai/AIKnowledge.json +1 -24
  315. package/json-schema/ai/AIModelConfig.json +1 -35
  316. package/json-schema/ai/AIOperationCost.json +1 -73
  317. package/json-schema/ai/AIOrchestration.json +1 -373
  318. package/json-schema/ai/AIOrchestrationExecutionResult.json +1 -131
  319. package/json-schema/ai/AIOrchestrationTrigger.json +1 -12
  320. package/json-schema/ai/AITask.json +1 -117
  321. package/json-schema/ai/AITaskType.json +1 -15
  322. package/json-schema/ai/AITool.json +1 -27
  323. package/json-schema/ai/Agent.json +1 -134
  324. package/json-schema/ai/AgentAction.json +1 -430
  325. package/json-schema/ai/AgentActionResult.json +1 -63
  326. package/json-schema/ai/AgentActionSequence.json +1 -486
  327. package/json-schema/ai/AgentActionSequenceResult.json +1 -137
  328. package/json-schema/ai/BatchAIOrchestrationExecution.json +1 -42
  329. package/json-schema/ai/BillingPeriod.json +1 -12
  330. package/json-schema/ai/BudgetLimit.json +1 -105
  331. package/json-schema/ai/BudgetStatus.json +1 -85
  332. package/json-schema/ai/BudgetType.json +1 -11
  333. package/json-schema/ai/CICDPipelineConfig.json +7 -0
  334. package/json-schema/ai/ChunkingStrategy.json +1 -127
  335. package/json-schema/ai/CodeGenerationConfig.json +7 -0
  336. package/json-schema/ai/CodeGenerationTarget.json +7 -0
  337. package/json-schema/ai/ComponentActionParams.json +1 -71
  338. package/json-schema/ai/ComponentActionType.json +1 -14
  339. package/json-schema/ai/ConversationAnalytics.json +1 -80
  340. package/json-schema/ai/ConversationContext.json +1 -42
  341. package/json-schema/ai/ConversationMessage.json +1 -213
  342. package/json-schema/ai/ConversationSession.json +1 -494
  343. package/json-schema/ai/ConversationSummary.json +1 -67
  344. package/json-schema/ai/CostAlert.json +1 -101
  345. package/json-schema/ai/CostAlertType.json +1 -10
  346. package/json-schema/ai/CostAnalytics.json +1 -583
  347. package/json-schema/ai/CostBreakdownDimension.json +1 -14
  348. package/json-schema/ai/CostBreakdownEntry.json +1 -54
  349. package/json-schema/ai/CostEntry.json +1 -100
  350. package/json-schema/ai/CostMetricType.json +1 -11
  351. package/json-schema/ai/CostOptimizationRecommendation.json +1 -94
  352. package/json-schema/ai/CostQueryFilters.json +1 -106
  353. package/json-schema/ai/CostReport.json +1 -958
  354. package/json-schema/ai/DataActionParams.json +1 -32
  355. package/json-schema/ai/DataActionType.json +1 -12
  356. package/json-schema/ai/DeploymentStrategy.json +7 -0
  357. package/json-schema/ai/DevOpsAgent.json +7 -0
  358. package/json-schema/ai/DevOpsTool.json +7 -0
  359. package/json-schema/ai/DevelopmentConfig.json +7 -0
  360. package/json-schema/ai/DocumentChunk.json +1 -91
  361. package/json-schema/ai/DocumentLoaderConfig.json +1 -63
  362. package/json-schema/ai/DocumentMetadata.json +1 -55
  363. package/json-schema/ai/EmbeddingModel.json +1 -51
  364. package/json-schema/ai/Entity.json +1 -49
  365. package/json-schema/ai/EvaluationMetrics.json +1 -58
  366. package/json-schema/ai/FieldSynonymConfig.json +1 -33
  367. package/json-schema/ai/FormActionParams.json +1 -30
  368. package/json-schema/ai/FormActionType.json +1 -14
  369. package/json-schema/ai/FunctionCall.json +1 -22
  370. package/json-schema/ai/GitHubIntegration.json +7 -0
  371. package/json-schema/ai/Hyperparameters.json +1 -74
  372. package/json-schema/ai/IntegrationConfig.json +7 -0
  373. package/json-schema/ai/IntentActionMapping.json +1 -485
  374. package/json-schema/ai/MessageContent.json +1 -40
  375. package/json-schema/ai/MessageContentType.json +1 -10
  376. package/json-schema/ai/MessagePruningEvent.json +1 -86
  377. package/json-schema/ai/MessageRole.json +1 -10
  378. package/json-schema/ai/ModelCapability.json +1 -41
  379. package/json-schema/ai/ModelConfig.json +1 -175
  380. package/json-schema/ai/ModelDrift.json +1 -67
  381. package/json-schema/ai/ModelFeature.json +1 -65
  382. package/json-schema/ai/ModelLimits.json +1 -39
  383. package/json-schema/ai/ModelPricing.json +1 -22
  384. package/json-schema/ai/ModelProvider.json +1 -13
  385. package/json-schema/ai/ModelRegistry.json +1 -421
  386. package/json-schema/ai/ModelRegistryEntry.json +1 -233
  387. package/json-schema/ai/ModelSelectionCriteria.json +1 -44
  388. package/json-schema/ai/MonitoringConfig.json +7 -0
  389. package/json-schema/ai/NLQAnalytics.json +1 -100
  390. package/json-schema/ai/NLQFieldMapping.json +1 -34
  391. package/json-schema/ai/NLQModelConfig.json +1 -72
  392. package/json-schema/ai/NLQParseResult.json +1 -246
  393. package/json-schema/ai/NLQRequest.json +1 -104
  394. package/json-schema/ai/NLQResponse.json +1 -314
  395. package/json-schema/ai/NLQTrainingExample.json +1 -114
  396. package/json-schema/ai/NavigationActionParams.json +1 -50
  397. package/json-schema/ai/NavigationActionType.json +1 -15
  398. package/json-schema/ai/PipelineStage.json +7 -0
  399. package/json-schema/ai/PostProcessingAction.json +1 -35
  400. package/json-schema/ai/PredictionRequest.json +1 -33
  401. package/json-schema/ai/PredictionResult.json +1 -108
  402. package/json-schema/ai/PredictiveModel.json +1 -439
  403. package/json-schema/ai/PredictiveModelType.json +1 -12
  404. package/json-schema/ai/PromptTemplate.json +1 -157
  405. package/json-schema/ai/PromptVariable.json +1 -50
  406. package/json-schema/ai/QueryContext.json +1 -66
  407. package/json-schema/ai/QueryIntent.json +1 -15
  408. package/json-schema/ai/QueryTemplate.json +1 -75
  409. package/json-schema/ai/RAGPipelineConfig.json +1 -546
  410. package/json-schema/ai/RAGPipelineStatus.json +1 -60
  411. package/json-schema/ai/RAGQueryRequest.json +1 -58
  412. package/json-schema/ai/RAGQueryResponse.json +1 -135
  413. package/json-schema/ai/RerankingConfig.json +1 -28
  414. package/json-schema/ai/RetrievalStrategy.json +1 -115
  415. package/json-schema/ai/TestingConfig.json +7 -0
  416. package/json-schema/ai/Timeframe.json +1 -62
  417. package/json-schema/ai/TokenBudgetConfig.json +1 -86
  418. package/json-schema/ai/TokenBudgetStrategy.json +1 -10
  419. package/json-schema/ai/TokenUsage.json +1 -26
  420. package/json-schema/ai/TokenUsageStats.json +1 -60
  421. package/json-schema/ai/ToolCall.json +1 -43
  422. package/json-schema/ai/TrainingConfig.json +1 -82
  423. package/json-schema/ai/UIActionType.json +1 -57
  424. package/json-schema/ai/VectorStoreConfig.json +1 -76
  425. package/json-schema/ai/VectorStoreProvider.json +1 -15
  426. package/json-schema/ai/VercelIntegration.json +7 -0
  427. package/json-schema/ai/VersionManagement.json +7 -0
  428. package/json-schema/ai/ViewActionParams.json +1 -68
  429. package/json-schema/ai/ViewActionType.json +1 -15
  430. package/json-schema/ai/WorkflowActionParams.json +1 -55
  431. package/json-schema/ai/WorkflowActionType.json +1 -12
  432. package/json-schema/ai/WorkflowFieldCondition.json +1 -27
  433. package/json-schema/ai/WorkflowSchedule.json +1 -45
  434. package/json-schema/api/AckMessage.json +1 -40
  435. package/json-schema/api/ApiCapabilities.json +1 -22
  436. package/json-schema/api/ApiEndpoint.json +1 -159
  437. package/json-schema/api/ApiError.json +1 -21
  438. package/json-schema/api/ApiMapping.json +1 -22
  439. package/json-schema/api/ApiRoutes.json +1 -35
  440. package/json-schema/api/BaseResponse.json +1 -57
  441. package/json-schema/api/BatchConfig.json +1 -45
  442. package/json-schema/api/BatchDataRequest.json +1 -87
  443. package/json-schema/api/BatchDataResponse.json +1 -138
  444. package/json-schema/api/BatchEndpointsConfig.json +1 -50
  445. package/json-schema/api/BatchOperationResult.json +1 -51
  446. package/json-schema/api/BatchOperationType.json +1 -9
  447. package/json-schema/api/BatchOptions.json +1 -26
  448. package/json-schema/api/BatchRecord.json +1 -19
  449. package/json-schema/api/BatchUpdateRequest.json +1 -72
  450. package/json-schema/api/BatchUpdateResponse.json +1 -138
  451. package/json-schema/api/BulkRequest.json +1 -23
  452. package/json-schema/api/BulkResponse.json +1 -102
  453. package/json-schema/api/CacheControl.json +1 -36
  454. package/json-schema/api/CacheDirective.json +1 -11
  455. package/json-schema/api/CacheInvalidationRequest.json +1 -37
  456. package/json-schema/api/CacheInvalidationResponse.json +1 -25
  457. package/json-schema/api/CacheInvalidationTarget.json +1 -11
  458. package/json-schema/api/CreateDataRequest.json +1 -19
  459. package/json-schema/api/CreateDataResponse.json +1 -24
  460. package/json-schema/api/CreateManyDataRequest.json +1 -22
  461. package/json-schema/api/CreateManyDataResponse.json +1 -27
  462. package/json-schema/api/CreateRequest.json +1 -14
  463. package/json-schema/api/CreateViewRequest.json +1 -1036
  464. package/json-schema/api/CrudEndpointPattern.json +1 -35
  465. package/json-schema/api/CrudEndpointsConfig.json +1 -100
  466. package/json-schema/api/CrudOperation.json +1 -10
  467. package/json-schema/api/CursorMessage.json +1 -133
  468. package/json-schema/api/CursorPosition.json +1 -106
  469. package/json-schema/api/DeleteDataRequest.json +1 -18
  470. package/json-schema/api/DeleteDataResponse.json +1 -23
  471. package/json-schema/api/DeleteManyDataRequest.json +1 -48
  472. package/json-schema/api/DeleteManyDataResponse.json +1 -138
  473. package/json-schema/api/DeleteManyRequest.json +1 -45
  474. package/json-schema/api/DeleteResponse.json +1 -62
  475. package/json-schema/api/DeleteViewRequest.json +1 -13
  476. package/json-schema/api/DeleteViewResponse.json +1 -13
  477. package/json-schema/api/Discovery.json +1 -108
  478. package/json-schema/api/DocumentState.json +1 -43
  479. package/json-schema/api/ETag.json +1 -18
  480. package/json-schema/api/EditMessage.json +1 -129
  481. package/json-schema/api/EditOperation.json +1 -102
  482. package/json-schema/api/EditOperationType.json +1 -8
  483. package/json-schema/api/EndpointRegistry.json +1 -278
  484. package/json-schema/api/EnhancedApiError.json +1 -220
  485. package/json-schema/api/ErrorCategory.json +1 -14
  486. package/json-schema/api/ErrorMessage.json +1 -38
  487. package/json-schema/api/ErrorResponse.json +1 -253
  488. package/json-schema/api/EventFilter.json +1 -59
  489. package/json-schema/api/EventFilterCondition.json +1 -36
  490. package/json-schema/api/EventMessage.json +1 -49
  491. package/json-schema/api/EventPattern.json +1 -6
  492. package/json-schema/api/EventSubscription.json +1 -99
  493. package/json-schema/api/ExportRequest.json +1 -854
  494. package/json-schema/api/FieldError.json +1 -82
  495. package/json-schema/api/FilterOperator.json +1 -18
  496. package/json-schema/api/FindDataRequest.json +1 -503
  497. package/json-schema/api/FindDataResponse.json +1 -30
  498. package/json-schema/api/GeneratedEndpoint.json +1 -82
  499. package/json-schema/api/GetDataRequest.json +1 -18
  500. package/json-schema/api/GetDataResponse.json +1 -24
  501. package/json-schema/api/GetDiscoveryRequest.json +1 -5
  502. package/json-schema/api/GetDiscoveryResponse.json +1 -32
  503. package/json-schema/api/GetMetaItemCachedRequest.json +1 -71
  504. package/json-schema/api/GetMetaItemCachedResponse.json +1 -79
  505. package/json-schema/api/GetMetaItemRequest.json +1 -18
  506. package/json-schema/api/GetMetaItemResponse.json +1 -21
  507. package/json-schema/api/GetMetaItemsRequest.json +1 -13
  508. package/json-schema/api/GetMetaItemsResponse.json +1 -18
  509. package/json-schema/api/GetMetaTypesRequest.json +1 -5
  510. package/json-schema/api/GetMetaTypesResponse.json +1 -16
  511. package/json-schema/api/GetUiViewRequest.json +1 -22
  512. package/json-schema/api/GetUiViewResponse.json +1 -25
  513. package/json-schema/api/GetViewRequest.json +1 -13
  514. package/json-schema/api/GetViewResponse.json +1 -1097
  515. package/json-schema/api/GraphQLConfig.json +1 -1383
  516. package/json-schema/api/GraphQLDataLoaderConfig.json +1 -95
  517. package/json-schema/api/GraphQLDirectiveConfig.json +1 -102
  518. package/json-schema/api/GraphQLDirectiveLocation.json +1 -24
  519. package/json-schema/api/GraphQLMutationConfig.json +1 -174
  520. package/json-schema/api/GraphQLPersistedQuery.json +1 -145
  521. package/json-schema/api/GraphQLQueryComplexity.json +1 -77
  522. package/json-schema/api/GraphQLQueryConfig.json +1 -225
  523. package/json-schema/api/GraphQLQueryDepthLimit.json +1 -38
  524. package/json-schema/api/GraphQLRateLimit.json +1 -132
  525. package/json-schema/api/GraphQLResolverConfig.json +1 -92
  526. package/json-schema/api/GraphQLScalarType.json +1 -26
  527. package/json-schema/api/GraphQLSubscriptionConfig.json +1 -112
  528. package/json-schema/api/GraphQLTypeConfig.json +1 -107
  529. package/json-schema/api/HttpMethod.json +1 -12
  530. package/json-schema/api/ListRecordResponse.json +1 -97
  531. package/json-schema/api/ListViewsRequest.json +1 -52
  532. package/json-schema/api/ListViewsResponse.json +1 -1126
  533. package/json-schema/api/MetadataCacheRequest.json +1 -52
  534. package/json-schema/api/MetadataCacheResponse.json +1 -79
  535. package/json-schema/api/MetadataEndpointsConfig.json +1 -48
  536. package/json-schema/api/ModificationResult.json +1 -40
  537. package/json-schema/api/ODataConfig.json +1 -126
  538. package/json-schema/api/ODataError.json +1 -59
  539. package/json-schema/api/ODataFilterFunction.json +1 -33
  540. package/json-schema/api/ODataFilterOperator.json +1 -18
  541. package/json-schema/api/ODataMetadata.json +1 -109
  542. package/json-schema/api/ODataQuery.json +1 -83
  543. package/json-schema/api/ODataResponse.json +1 -31
  544. package/json-schema/api/ObjectStackProtocol.json +1 -5
  545. package/json-schema/api/PingMessage.json +1 -25
  546. package/json-schema/api/PongMessage.json +1 -30
  547. package/json-schema/api/Presence.json +1 -34
  548. package/json-schema/api/PresenceMessage.json +1 -86
  549. package/json-schema/api/PresenceState.json +1 -59
  550. package/json-schema/api/PresenceStatus.json +1 -8
  551. package/json-schema/api/PresenceUpdate.json +1 -29
  552. package/json-schema/api/RateLimit.json +1 -21
  553. package/json-schema/api/RealtimeAction.json +1 -8
  554. package/json-schema/api/RealtimeConfig.json +1 -84
  555. package/json-schema/api/RealtimeEvent.json +1 -45
  556. package/json-schema/api/RealtimeEventType.json +1 -9
  557. package/json-schema/api/RecordData.json +1 -5
  558. package/json-schema/api/RestApiConfig.json +1 -121
  559. package/json-schema/api/RestServerConfig.json +1 -395
  560. package/json-schema/api/RetryStrategy.json +1 -9
  561. package/json-schema/api/RouteCategory.json +1 -11
  562. package/json-schema/api/RouteDefinition.json +1 -71
  563. package/json-schema/api/RouteGenerationConfig.json +1 -65
  564. package/json-schema/api/RouterConfig.json +1 -124
  565. package/json-schema/api/SavedView.json +1 -1068
  566. package/json-schema/api/SimpleCursorPosition.json +1 -47
  567. package/json-schema/api/SimplePresenceState.json +1 -38
  568. package/json-schema/api/SingleRecordResponse.json +1 -63
  569. package/json-schema/api/StandardErrorCode.json +1 -56
  570. package/json-schema/api/SubscribeMessage.json +1 -126
  571. package/json-schema/api/Subscription.json +1 -59
  572. package/json-schema/api/SubscriptionEvent.json +1 -26
  573. package/json-schema/api/TransportProtocol.json +1 -8
  574. package/json-schema/api/UnsubscribeMessage.json +1 -41
  575. package/json-schema/api/UnsubscribeRequest.json +1 -14
  576. package/json-schema/api/UpdateDataRequest.json +1 -24
  577. package/json-schema/api/UpdateDataResponse.json +1 -24
  578. package/json-schema/api/UpdateManyDataRequest.json +1 -64
  579. package/json-schema/api/UpdateManyDataResponse.json +1 -138
  580. package/json-schema/api/UpdateManyRequest.json +1 -61
  581. package/json-schema/api/UpdateRequest.json +1 -14
  582. package/json-schema/api/UpdateViewRequest.json +1 -1035
  583. package/json-schema/api/ViewColumn.json +1 -52
  584. package/json-schema/api/ViewLayout.json +1 -119
  585. package/json-schema/api/ViewResponse.json +1 -1097
  586. package/json-schema/api/ViewType.json +1 -13
  587. package/json-schema/api/ViewVisibility.json +1 -9
  588. package/json-schema/api/WebSocketConfig.json +1 -57
  589. package/json-schema/api/WebSocketEvent.json +1 -34
  590. package/json-schema/api/WebSocketMessage.json +1 -701
  591. package/json-schema/api/WebSocketMessageType.json +1 -15
  592. package/json-schema/api/WebSocketPresenceStatus.json +1 -9
  593. package/json-schema/api/WebSocketServerConfig.json +1 -36
  594. package/json-schema/auth/APIKey.json +1 -28
  595. package/json-schema/auth/Account.json +1 -81
  596. package/json-schema/auth/AccountLinkingConfig.json +1 -21
  597. package/json-schema/auth/ApplicationAuthConfig.json +1 -835
  598. package/json-schema/auth/AuditPolicy.json +1 -25
  599. package/json-schema/auth/AuthConfig.json +1 -263
  600. package/json-schema/auth/AuthPluginConfig.json +1 -22
  601. package/json-schema/auth/AuthStrategy.json +1 -11
  602. package/json-schema/auth/BasicAuth.json +1 -24
  603. package/json-schema/auth/BearerAuth.json +1 -19
  604. package/json-schema/auth/CSRFConfig.json +1 -25
  605. package/json-schema/auth/DatabaseAdapter.json +1 -32
  606. package/json-schema/auth/DatabaseMapping.json +1 -42
  607. package/json-schema/auth/EmailPasswordConfig.json +1 -37
  608. package/json-schema/auth/EnterpriseAuthConfig.json +1 -166
  609. package/json-schema/auth/Invitation.json +1 -63
  610. package/json-schema/auth/InvitationStatus.json +1 -9
  611. package/json-schema/auth/JWTAuth.json +1 -60
  612. package/json-schema/auth/LDAPConfig.json +1 -50
  613. package/json-schema/auth/MagicLinkConfig.json +1 -15
  614. package/json-schema/auth/Member.json +1 -40
  615. package/json-schema/auth/NetworkPolicy.json +1 -25
  616. package/json-schema/auth/NoAuth.json +1 -14
  617. package/json-schema/auth/OAuth2.json +1 -56
  618. package/json-schema/auth/OAuthProvider.json +1 -60
  619. package/json-schema/auth/OIDCConfig.json +1 -55
  620. package/json-schema/auth/Organization.json +1 -46
  621. package/json-schema/auth/PasskeyConfig.json +1 -48
  622. package/json-schema/auth/PasswordPolicy.json +1 -35
  623. package/json-schema/auth/Policy.json +1 -132
  624. package/json-schema/auth/RateLimitConfig.json +1 -30
  625. package/json-schema/auth/Role.json +1 -27
  626. package/json-schema/auth/SAMLAuth.json +1 -58
  627. package/json-schema/auth/SAMLConfig.json +1 -52
  628. package/json-schema/auth/SCIMAddress.json +1 -44
  629. package/json-schema/auth/SCIMEmail.json +1 -32
  630. package/json-schema/auth/SCIMEnterpriseUser.json +1 -49
  631. package/json-schema/auth/SCIMError.json +1 -46
  632. package/json-schema/auth/SCIMGroup.json +1 -96
  633. package/json-schema/auth/SCIMGroupReference.json +1 -30
  634. package/json-schema/auth/SCIMListResponse.json +1 -600
  635. package/json-schema/auth/SCIMMemberReference.json +1 -30
  636. package/json-schema/auth/SCIMMeta.json +1 -29
  637. package/json-schema/auth/SCIMName.json +1 -30
  638. package/json-schema/auth/SCIMPatchOperation.json +1 -25
  639. package/json-schema/auth/SCIMPatchRequest.json +1 -50
  640. package/json-schema/auth/SCIMPhoneNumber.json +1 -34
  641. package/json-schema/auth/SCIMUser.json +1 -456
  642. package/json-schema/auth/Session.json +1 -57
  643. package/json-schema/auth/SessionConfig.json +1 -50
  644. package/json-schema/auth/SessionPolicy.json +1 -21
  645. package/json-schema/auth/StandardAuthProvider.json +1 -851
  646. package/json-schema/auth/TwoFactorConfig.json +1 -34
  647. package/json-schema/auth/User.json +1 -45
  648. package/json-schema/auth/UserFieldMapping.json +1 -41
  649. package/json-schema/auth/VerificationToken.json +1 -30
  650. package/json-schema/automation/ApprovalAction.json +1 -29
  651. package/json-schema/automation/ApprovalActionType.json +1 -9
  652. package/json-schema/automation/ApprovalProcess.json +1 -320
  653. package/json-schema/automation/ApprovalStep.json +1 -141
  654. package/json-schema/automation/ApproverType.json +1 -10
  655. package/json-schema/automation/AuthField.json +1 -67
  656. package/json-schema/automation/Authentication.json +1 -153
  657. package/json-schema/automation/AuthenticationType.json +1 -12
  658. package/json-schema/automation/ConflictResolution.json +1 -10
  659. package/json-schema/automation/Connector.json +1 -434
  660. package/json-schema/automation/ConnectorCategory.json +1 -20
  661. package/json-schema/automation/ConnectorInstance.json +1 -63
  662. package/json-schema/automation/ConnectorOperation.json +1 -111
  663. package/json-schema/automation/ConnectorTrigger.json +1 -48
  664. package/json-schema/automation/CustomScriptAction.json +1 -43
  665. package/json-schema/automation/DataDestinationConfig.json +1 -189
  666. package/json-schema/automation/DataSourceConfig.json +1 -28
  667. package/json-schema/automation/DataSyncConfig.json +1 -455
  668. package/json-schema/automation/ETLDestination.json +1 -51
  669. package/json-schema/automation/ETLEndpointType.json +1 -13
  670. package/json-schema/automation/ETLPipeline.json +1 -246
  671. package/json-schema/automation/ETLPipelineRun.json +1 -101
  672. package/json-schema/automation/ETLRunStatus.json +1 -11
  673. package/json-schema/automation/ETLSource.json +1 -54
  674. package/json-schema/automation/ETLSyncMode.json +1 -8
  675. package/json-schema/automation/ETLTransformation.json +1 -40
  676. package/json-schema/automation/ETLTransformationType.json +1 -15
  677. package/json-schema/automation/EmailAlertAction.json +1 -31
  678. package/json-schema/automation/FieldUpdateAction.json +1 -26
  679. package/json-schema/automation/Flow.json +1 -210
  680. package/json-schema/automation/FlowEdge.json +1 -40
  681. package/json-schema/automation/FlowNode.json +1 -59
  682. package/json-schema/automation/FlowNodeAction.json +1 -18
  683. package/json-schema/automation/FlowVariable.json +1 -28
  684. package/json-schema/automation/HttpCallAction.json +1 -75
  685. package/json-schema/automation/OAuth2Config.json +1 -37
  686. package/json-schema/automation/OperationParameter.json +1 -53
  687. package/json-schema/automation/OperationType.json +1 -11
  688. package/json-schema/automation/PushNotificationAction.json +1 -53
  689. package/json-schema/automation/SlackMessageAction.json +1 -39
  690. package/json-schema/automation/SmsNotificationAction.json +1 -44
  691. package/json-schema/automation/SyncDirection.json +1 -8
  692. package/json-schema/automation/SyncExecutionResult.json +1 -129
  693. package/json-schema/automation/SyncExecutionStatus.json +1 -11
  694. package/json-schema/automation/SyncMode.json +1 -8
  695. package/json-schema/automation/TaskCreationAction.json +1 -53
  696. package/json-schema/automation/TeamsMessageAction.json +1 -39
  697. package/json-schema/automation/TimeTrigger.json +1 -648
  698. package/json-schema/automation/Webhook.json +1 -167
  699. package/json-schema/automation/WebhookReceiver.json +1 -62
  700. package/json-schema/automation/WebhookTriggerAction.json +1 -187
  701. package/json-schema/automation/WebhookTriggerType.json +1 -10
  702. package/json-schema/automation/WorkflowAction.json +1 -594
  703. package/json-schema/automation/WorkflowRule.json +1 -1296
  704. package/json-schema/automation/WorkflowTriggerType.json +1 -10
  705. package/json-schema/data/Address.json +1 -34
  706. package/json-schema/data/AggregationFunction.json +1 -13
  707. package/json-schema/data/AggregationNode.json +1 -59
  708. package/json-schema/data/AggregationPipeline.json +1 -93
  709. package/json-schema/data/AggregationStage.json +1 -19
  710. package/json-schema/data/ApiMethod.json +1 -19
  711. package/json-schema/data/AsyncValidation.json +1 -111
  712. package/json-schema/data/CDCConfig.json +1 -31
  713. package/json-schema/data/ComparisonOperator.json +1 -102
  714. package/json-schema/data/ComputedFieldCache.json +1 -27
  715. package/json-schema/data/ConditionalValidation.json +1 -1434
  716. package/json-schema/data/ConsistencyLevel.json +1 -11
  717. package/json-schema/data/CrossFieldValidation.json +1 -81
  718. package/json-schema/data/CurrencyConfig.json +1 -29
  719. package/json-schema/data/CurrencyValue.json +1 -20
  720. package/json-schema/data/CustomValidator.json +1 -78
  721. package/json-schema/data/DataEngineAggregateOptions.json +1 -74
  722. package/json-schema/data/DataEngineAggregateRequest.json +1 -92
  723. package/json-schema/data/DataEngineBatchRequest.json +1 -693
  724. package/json-schema/data/DataEngineContract.json +1 -6
  725. package/json-schema/data/DataEngineCountOptions.json +1 -38
  726. package/json-schema/data/DataEngineCountRequest.json +1 -55
  727. package/json-schema/data/DataEngineDeleteOptions.json +1 -42
  728. package/json-schema/data/DataEngineDeleteRequest.json +1 -62
  729. package/json-schema/data/DataEngineExecuteRequest.json +1 -18
  730. package/json-schema/data/DataEngineFilter.json +1 -31
  731. package/json-schema/data/DataEngineFindOneRequest.json +1 -127
  732. package/json-schema/data/DataEngineFindRequest.json +1 -127
  733. package/json-schema/data/DataEngineInsertOptions.json +1 -11
  734. package/json-schema/data/DataEngineInsertRequest.json +1 -44
  735. package/json-schema/data/DataEngineQueryOptions.json +1 -110
  736. package/json-schema/data/DataEngineRequest.json +1 -1366
  737. package/json-schema/data/DataEngineSort.json +1 -48
  738. package/json-schema/data/DataEngineUpdateOptions.json +1 -50
  739. package/json-schema/data/DataEngineUpdateRequest.json +1 -75
  740. package/json-schema/data/DataEngineVectorFindRequest.json +1 -68
  741. package/json-schema/data/DataQualityRules.json +1 -39
  742. package/json-schema/data/DataTypeMapping.json +1 -45
  743. package/json-schema/data/Dataset.json +1 -57
  744. package/json-schema/data/DatasetMode.json +1 -10
  745. package/json-schema/data/Document.json +1 -286
  746. package/json-schema/data/DocumentTemplate.json +1 -72
  747. package/json-schema/data/DocumentValidationSchema.json +1 -33
  748. package/json-schema/data/DocumentVersion.json +1 -44
  749. package/json-schema/data/DriverCapabilities.json +1 -174
  750. package/json-schema/data/DriverConfig.json +1 -237
  751. package/json-schema/data/DriverInterface.json +1 -193
  752. package/json-schema/data/DriverOptions.json +1 -28
  753. package/json-schema/data/ESignatureConfig.json +1 -68
  754. package/json-schema/data/EqualityOperator.json +1 -8
  755. package/json-schema/data/ExternalDataSource.json +1 -62
  756. package/json-schema/data/ExternalFieldMapping.json +1 -145
  757. package/json-schema/data/ExternalLookup.json +1 -321
  758. package/json-schema/data/Field.json +1 -855
  759. package/json-schema/data/FieldMapping.json +1 -77
  760. package/json-schema/data/FieldNode.json +1 -26
  761. package/json-schema/data/FieldOperators.json +1 -180
  762. package/json-schema/data/FieldReference.json +1 -13
  763. package/json-schema/data/FieldType.json +1 -49
  764. package/json-schema/data/FileAttachmentConfig.json +1 -213
  765. package/json-schema/data/FilterCondition.json +1 -22
  766. package/json-schema/data/FormatValidation.json +1 -84
  767. package/json-schema/data/FullTextSearch.json +1 -54
  768. package/json-schema/data/Hook.json +1 -89
  769. package/json-schema/data/HookContext.json +1 -82
  770. package/json-schema/data/HookEvent.json +1 -23
  771. package/json-schema/data/Index.json +1 -41
  772. package/json-schema/data/JSONValidation.json +1 -79
  773. package/json-schema/data/JoinNode.json +1 -488
  774. package/json-schema/data/JoinStrategy.json +1 -9
  775. package/json-schema/data/JoinType.json +1 -9
  776. package/json-schema/data/LocationCoordinates.json +1 -30
  777. package/json-schema/data/Mapping.json +1 -633
  778. package/json-schema/data/NoSQLDataTypeMapping.json +1 -57
  779. package/json-schema/data/NoSQLDatabaseType.json +1 -13
  780. package/json-schema/data/NoSQLDriverConfig.json +1 -446
  781. package/json-schema/data/NoSQLIndex.json +1 -81
  782. package/json-schema/data/NoSQLIndexType.json +1 -13
  783. package/json-schema/data/NoSQLOperationType.json +1 -16
  784. package/json-schema/data/NoSQLQueryOptions.json +1 -55
  785. package/json-schema/data/NoSQLTransactionOptions.json +1 -41
  786. package/json-schema/data/NormalizedFilter.json +1 -576
  787. package/json-schema/data/Object.json +1 -2682
  788. package/json-schema/data/ObjectCapabilities.json +1 -74
  789. package/json-schema/data/PartitioningConfig.json +1 -32
  790. package/json-schema/data/PoolConfig.json +1 -30
  791. package/json-schema/data/Query.json +1 -489
  792. package/json-schema/data/QueryFilter.json +1 -28
  793. package/json-schema/data/RangeOperator.json +1 -61
  794. package/json-schema/data/ReplicationConfig.json +1 -40
  795. package/json-schema/data/SQLDialect.json +1 -11
  796. package/json-schema/data/SQLDriverConfig.json +1 -319
  797. package/json-schema/data/SSLConfig.json +1 -23
  798. package/json-schema/data/ScriptValidation.json +1 -73
  799. package/json-schema/data/SearchConfig.json +1 -30
  800. package/json-schema/data/SelectOption.json +1 -28
  801. package/json-schema/data/SetOperator.json +1 -12
  802. package/json-schema/data/ShardingConfig.json +1 -29
  803. package/json-schema/data/SoftDeleteConfig.json +1 -23
  804. package/json-schema/data/SortNode.json +1 -20
  805. package/json-schema/data/SpecialOperator.json +1 -12
  806. package/json-schema/data/StateMachineValidation.json +1 -84
  807. package/json-schema/data/StringOperator.json +1 -15
  808. package/json-schema/data/TenancyConfig.json +1 -33
  809. package/json-schema/data/TransformType.json +1 -12
  810. package/json-schema/data/UniquenessValidation.json +1 -84
  811. package/json-schema/data/ValidationRule.json +1 -1435
  812. package/json-schema/data/VectorConfig.json +1 -45
  813. package/json-schema/data/VersioningConfig.json +1 -33
  814. package/json-schema/data/WindowFunction.json +1 -18
  815. package/json-schema/data/WindowFunctionNode.json +1 -98
  816. package/json-schema/data/WindowSpec.json +1 -59
  817. package/json-schema/hub/BillOfMaterials.json +1 -64
  818. package/json-schema/hub/ComposerRequest.json +1 -80
  819. package/json-schema/hub/ComposerResponse.json +1 -885
  820. package/json-schema/hub/ConflictReport.json +1 -47
  821. package/json-schema/hub/DatabaseLevelIsolationStrategy.json +1 -133
  822. package/json-schema/hub/DependencyRequirement.json +1 -30
  823. package/json-schema/hub/DeploymentTarget.json +1 -32
  824. package/json-schema/hub/Feature.json +1 -45
  825. package/json-schema/hub/HubSpace.json +1 -273
  826. package/json-schema/hub/LevelIsolationStrategySchema.json +1 -87
  827. package/json-schema/hub/License.json +1 -59
  828. package/json-schema/hub/MarketplacePlugin.json +1 -135
  829. package/json-schema/hub/MetricType.json +1 -8
  830. package/json-schema/hub/Plan.json +1 -47
  831. package/json-schema/hub/PluginAuthor.json +1 -20
  832. package/json-schema/hub/PluginInstallConfig.json +1 -47
  833. package/json-schema/hub/PluginPricing.json +1 -37
  834. package/json-schema/hub/PluginQualityMetrics.json +1 -95
  835. package/json-schema/hub/PluginRegistryEntry.json +1 -827
  836. package/json-schema/hub/PluginSearchFilters.json +1 -85
  837. package/json-schema/hub/PluginStatistics.json +1 -78
  838. package/json-schema/hub/PluginVendor.json +1 -41
  839. package/json-schema/hub/RowLevelIsolationStrategy.json +1 -68
  840. package/json-schema/hub/SpaceSubscription.json +1 -71
  841. package/json-schema/hub/SubscriptionStatus.json +1 -10
  842. package/json-schema/hub/Tenant.json +1 -53
  843. package/json-schema/hub/TenantIsolationConfig.json +1 -292
  844. package/json-schema/hub/TenantIsolationLevel.json +1 -8
  845. package/json-schema/hub/TenantQuota.json +1 -21
  846. package/json-schema/hub/TenantSecurityPolicy.json +1 -109
  847. package/json-schema/integration/AckMode.json +1 -9
  848. package/json-schema/integration/ApiVersionConfig.json +1 -26
  849. package/json-schema/integration/Authentication.json +1 -263
  850. package/json-schema/integration/BuildConfig.json +7 -0
  851. package/json-schema/integration/CdcConfig.json +1 -49
  852. package/json-schema/integration/ConflictResolution.json +1 -10
  853. package/json-schema/integration/Connector.json +1 -913
  854. package/json-schema/integration/ConnectorStatus.json +1 -10
  855. package/json-schema/integration/ConnectorType.json +1 -12
  856. package/json-schema/integration/ConsumerConfig.json +1 -61
  857. package/json-schema/integration/DataSyncConfig.json +1 -73
  858. package/json-schema/integration/DatabaseConnector.json +1 -1366
  859. package/json-schema/integration/DatabasePoolConfig.json +1 -47
  860. package/json-schema/integration/DatabaseProvider.json +1 -18
  861. package/json-schema/integration/DatabaseTable.json +1 -210
  862. package/json-schema/integration/DeliveryGuarantee.json +1 -9
  863. package/json-schema/integration/DeploymentConfig.json +7 -0
  864. package/json-schema/integration/DlqConfig.json +1 -31
  865. package/json-schema/integration/DomainConfig.json +7 -0
  866. package/json-schema/integration/EdgeFunctionConfig.json +7 -0
  867. package/json-schema/integration/EnvironmentVariables.json +7 -0
  868. package/json-schema/integration/FieldMapping.json +1 -164
  869. package/json-schema/integration/FieldTransform.json +1 -30
  870. package/json-schema/integration/FileAccessPattern.json +1 -11
  871. package/json-schema/integration/FileFilterConfig.json +1 -44
  872. package/json-schema/integration/FileMetadataConfig.json +1 -35
  873. package/json-schema/integration/FileStorageConnector.json +1 -1234
  874. package/json-schema/integration/FileStorageProvider.json +1 -17
  875. package/json-schema/integration/FileVersioningConfig.json +1 -22
  876. package/json-schema/integration/GitHubActionsWorkflow.json +7 -0
  877. package/json-schema/integration/GitHubCommitConfig.json +7 -0
  878. package/json-schema/integration/GitHubConnector.json +7 -0
  879. package/json-schema/integration/GitHubIssueTracking.json +7 -0
  880. package/json-schema/integration/GitHubProvider.json +7 -0
  881. package/json-schema/integration/GitHubPullRequestConfig.json +7 -0
  882. package/json-schema/integration/GitHubReleaseConfig.json +7 -0
  883. package/json-schema/integration/GitHubRepository.json +7 -0
  884. package/json-schema/integration/GitRepositoryConfig.json +7 -0
  885. package/json-schema/integration/MessageFormat.json +1 -12
  886. package/json-schema/integration/MessageQueueConnector.json +1 -1319
  887. package/json-schema/integration/MessageQueueProvider.json +1 -19
  888. package/json-schema/integration/MultipartUploadConfig.json +1 -30
  889. package/json-schema/integration/ProducerConfig.json +1 -66
  890. package/json-schema/integration/RateLimitConfig.json +1 -63
  891. package/json-schema/integration/RateLimitStrategy.json +1 -10
  892. package/json-schema/integration/RetryConfig.json +1 -67
  893. package/json-schema/integration/RetryStrategy.json +1 -10
  894. package/json-schema/integration/SaasConnector.json +1 -1261
  895. package/json-schema/integration/SaasObjectType.json +1 -212
  896. package/json-schema/integration/SaasProvider.json +1 -18
  897. package/json-schema/integration/SslConfig.json +1 -28
  898. package/json-schema/integration/StorageBucket.json +1 -93
  899. package/json-schema/integration/SyncStrategy.json +1 -10
  900. package/json-schema/integration/TopicQueue.json +1 -246
  901. package/json-schema/integration/VercelConnector.json +7 -0
  902. package/json-schema/integration/VercelFramework.json +7 -0
  903. package/json-schema/integration/VercelMonitoring.json +7 -0
  904. package/json-schema/integration/VercelProject.json +7 -0
  905. package/json-schema/integration/VercelProvider.json +7 -0
  906. package/json-schema/integration/VercelTeam.json +7 -0
  907. package/json-schema/integration/WebhookConfig.json +1 -195
  908. package/json-schema/integration/WebhookEvent.json +1 -14
  909. package/json-schema/integration/WebhookSignatureAlgorithm.json +1 -9
  910. package/json-schema/permission/CriteriaSharingRule.json +1 -76
  911. package/json-schema/permission/FieldPermission.json +1 -16
  912. package/json-schema/permission/OWDModel.json +1 -9
  913. package/json-schema/permission/ObjectPermission.json +1 -51
  914. package/json-schema/permission/OwnerSharingRule.json +1 -96
  915. package/json-schema/permission/PermissionSet.json +1 -187
  916. package/json-schema/permission/RLSConfig.json +1 -53
  917. package/json-schema/permission/RLSEvaluationResult.json +1 -34
  918. package/json-schema/permission/RLSOperation.json +1 -10
  919. package/json-schema/permission/RLSUserContext.json +1 -45
  920. package/json-schema/permission/RowLevelSecurityPolicy.json +1 -71
  921. package/json-schema/permission/ShareRecipientType.json +1 -10
  922. package/json-schema/permission/SharingLevel.json +1 -8
  923. package/json-schema/permission/SharingRule.json +1 -176
  924. package/json-schema/permission/SharingRuleType.json +1 -7
  925. package/json-schema/permission/Territory.json +1 -73
  926. package/json-schema/permission/TerritoryModel.json +1 -28
  927. package/json-schema/permission/TerritoryType.json +1 -9
  928. package/json-schema/shared/CorsConfig.json +1 -51
  929. package/json-schema/shared/EventName.json +1 -6
  930. package/json-schema/shared/FieldMapping.json +1 -136
  931. package/json-schema/shared/HttpMethod.json +1 -12
  932. package/json-schema/shared/RateLimitConfig.json +1 -21
  933. package/json-schema/shared/SnakeCaseIdentifier.json +1 -6
  934. package/json-schema/shared/StaticMount.json +1 -22
  935. package/json-schema/shared/SystemIdentifier.json +1 -6
  936. package/json-schema/shared/TransformType.json +1 -114
  937. package/json-schema/system/AccessControlConfig.json +1 -100
  938. package/json-schema/system/AnalyzerConfig.json +1 -35
  939. package/json-schema/system/AuditConfig.json +1 -581
  940. package/json-schema/system/AuditEvent.json +1 -226
  941. package/json-schema/system/AuditEventActor.json +1 -42
  942. package/json-schema/system/AuditEventChange.json +1 -19
  943. package/json-schema/system/AuditEventFilter.json +1 -121
  944. package/json-schema/system/AuditEventSeverity.json +1 -13
  945. package/json-schema/system/AuditEventTarget.json +1 -27
  946. package/json-schema/system/AuditEventType.json +1 -47
  947. package/json-schema/system/AuditLogConfig.json +1 -42
  948. package/json-schema/system/AuditRetentionPolicy.json +1 -67
  949. package/json-schema/system/AuditStorageConfig.json +1 -54
  950. package/json-schema/system/AwarenessEvent.json +1 -45
  951. package/json-schema/system/AwarenessSession.json +1 -111
  952. package/json-schema/system/AwarenessUpdate.json +1 -29
  953. package/json-schema/system/AwarenessUserState.json +1 -71
  954. package/json-schema/system/BatchProgress.json +1 -66
  955. package/json-schema/system/BatchTask.json +1 -57
  956. package/json-schema/system/BucketConfig.json +1 -326
  957. package/json-schema/system/CRDTMergeResult.json +1 -289
  958. package/json-schema/system/CRDTState.json +1 -252
  959. package/json-schema/system/CRDTType.json +1 -14
  960. package/json-schema/system/CacheConfig.json +1 -115
  961. package/json-schema/system/CacheInvalidation.json +1 -37
  962. package/json-schema/system/CacheStrategy.json +1 -10
  963. package/json-schema/system/CacheTier.json +1 -46
  964. package/json-schema/system/CapabilityConformanceLevel.json +1 -10
  965. package/json-schema/system/ChangeImpact.json +1 -49
  966. package/json-schema/system/ChangePriority.json +1 -9
  967. package/json-schema/system/ChangeRequest.json +1 -307
  968. package/json-schema/system/ChangeStatus.json +1 -15
  969. package/json-schema/system/ChangeType.json +1 -9
  970. package/json-schema/system/CollaborationMode.json +1 -9
  971. package/json-schema/system/CollaborationSession.json +1 -569
  972. package/json-schema/system/CollaborationSessionConfig.json +1 -80
  973. package/json-schema/system/CollaborativeCursor.json +1 -183
  974. package/json-schema/system/ComplianceConfig.json +1 -196
  975. package/json-schema/system/ConsoleDestinationConfig.json +1 -23
  976. package/json-schema/system/ConsumerConfig.json +1 -28
  977. package/json-schema/system/CounterOperation.json +1 -24
  978. package/json-schema/system/CronSchedule.json +1 -23
  979. package/json-schema/system/CursorColorPreset.json +1 -15
  980. package/json-schema/system/CursorSelection.json +1 -60
  981. package/json-schema/system/CursorStyle.json +1 -53
  982. package/json-schema/system/CursorUpdate.json +1 -95
  983. package/json-schema/system/Datasource.json +1 -124
  984. package/json-schema/system/DatasourceCapabilities.json +1 -50
  985. package/json-schema/system/DeadLetterQueue.json +1 -20
  986. package/json-schema/system/DeadLetterQueueEntry.json +1 -131
  987. package/json-schema/system/DriverDefinition.json +1 -80
  988. package/json-schema/system/DriverType.json +1 -4
  989. package/json-schema/system/EmailTemplate.json +1 -63
  990. package/json-schema/system/EncryptionAlgorithm.json +1 -8
  991. package/json-schema/system/EncryptionConfig.json +1 -87
  992. package/json-schema/system/Event.json +1 -71
  993. package/json-schema/system/EventBusConfig.json +1 -546
  994. package/json-schema/system/EventHandler.json +1 -57
  995. package/json-schema/system/EventLogEntry.json +1 -147
  996. package/json-schema/system/EventMessageQueueConfig.json +1 -73
  997. package/json-schema/system/EventMetadata.json +1 -47
  998. package/json-schema/system/EventPersistence.json +1 -30
  999. package/json-schema/system/EventPhase.json +1 -9
  1000. package/json-schema/system/EventPriority.json +1 -10
  1001. package/json-schema/system/EventQueueConfig.json +1 -61
  1002. package/json-schema/system/EventReplayConfig.json +1 -44
  1003. package/json-schema/system/EventRoute.json +1 -21
  1004. package/json-schema/system/EventSourcingConfig.json +1 -59
  1005. package/json-schema/system/EventTypeDefinition.json +1 -39
  1006. package/json-schema/system/EventWebhookConfig.json +1 -113
  1007. package/json-schema/system/ExtendedLogLevel.json +1 -12
  1008. package/json-schema/system/ExtensionPoint.json +1 -61
  1009. package/json-schema/system/ExternalServiceDestinationConfig.json +1 -45
  1010. package/json-schema/system/FacetConfig.json +1 -24
  1011. package/json-schema/system/FeatureFlag.json +1 -81
  1012. package/json-schema/system/FeatureStrategy.json +1 -10
  1013. package/json-schema/system/FieldEncryption.json +1 -104
  1014. package/json-schema/system/FileDestinationConfig.json +1 -50
  1015. package/json-schema/system/FileMetadata.json +1 -44
  1016. package/json-schema/system/GCounter.json +1 -22
  1017. package/json-schema/system/GDPRConfig.json +1 -65
  1018. package/json-schema/system/HIPAAConfig.json +1 -39
  1019. package/json-schema/system/HealthStatus.json +1 -27
  1020. package/json-schema/system/HistogramBucketConfig.json +1 -86
  1021. package/json-schema/system/HookRegisteredEvent.json +1 -24
  1022. package/json-schema/system/HookTriggeredEvent.json +1 -28
  1023. package/json-schema/system/HttpDestinationConfig.json +1 -105
  1024. package/json-schema/system/HttpServerConfig.json +1 -150
  1025. package/json-schema/system/InAppNotification.json +1 -42
  1026. package/json-schema/system/IntervalSchedule.json +1 -19
  1027. package/json-schema/system/Job.json +1 -121
  1028. package/json-schema/system/JobExecution.json +1 -43
  1029. package/json-schema/system/JobExecutionStatus.json +1 -9
  1030. package/json-schema/system/KernelContext.json +1 -56
  1031. package/json-schema/system/KernelEventBase.json +1 -13
  1032. package/json-schema/system/KernelReadyEvent.json +1 -23
  1033. package/json-schema/system/KernelShutdownEvent.json +1 -17
  1034. package/json-schema/system/KeyManagementProvider.json +1 -10
  1035. package/json-schema/system/KeyRotationPolicy.json +1 -23
  1036. package/json-schema/system/LWWRegister.json +1 -45
  1037. package/json-schema/system/LifecycleAction.json +1 -9
  1038. package/json-schema/system/LifecyclePolicyConfig.json +1 -78
  1039. package/json-schema/system/LifecyclePolicyRule.json +1 -62
  1040. package/json-schema/system/Locale.json +1 -4
  1041. package/json-schema/system/LogDestination.json +1 -289
  1042. package/json-schema/system/LogDestinationType.json +1 -20
  1043. package/json-schema/system/LogEnrichmentConfig.json +1 -53
  1044. package/json-schema/system/LogEntry.json +1 -57
  1045. package/json-schema/system/LogFormat.json +1 -9
  1046. package/json-schema/system/LogLevel.json +1 -11
  1047. package/json-schema/system/LoggerConfig.json +1 -68
  1048. package/json-schema/system/LoggingConfig.json +1 -607
  1049. package/json-schema/system/Manifest.json +1 -797
  1050. package/json-schema/system/MaskingConfig.json +1 -71
  1051. package/json-schema/system/MaskingRule.json +1 -51
  1052. package/json-schema/system/MaskingStrategy.json +1 -12
  1053. package/json-schema/system/MessageQueueConfig.json +1 -137
  1054. package/json-schema/system/MessageQueueProvider.json +1 -11
  1055. package/json-schema/system/MetadataCollectionInfo.json +1 -47
  1056. package/json-schema/system/MetadataExportOptions.json +1 -43
  1057. package/json-schema/system/MetadataFormat.json +1 -9
  1058. package/json-schema/system/MetadataImportOptions.json +1 -36
  1059. package/json-schema/system/MetadataLoadOptions.json +1 -46
  1060. package/json-schema/system/MetadataLoadResult.json +1 -80
  1061. package/json-schema/system/MetadataLoaderContract.json +1 -42
  1062. package/json-schema/system/MetadataManagerConfig.json +1 -102
  1063. package/json-schema/system/MetadataSaveOptions.json +1 -58
  1064. package/json-schema/system/MetadataSaveResult.json +1 -36
  1065. package/json-schema/system/MetadataStats.json +1 -45
  1066. package/json-schema/system/MetadataWatchEvent.json +1 -42
  1067. package/json-schema/system/MetricAggregationConfig.json +1 -63
  1068. package/json-schema/system/MetricAggregationType.json +1 -19
  1069. package/json-schema/system/MetricDataPoint.json +1 -129
  1070. package/json-schema/system/MetricDefinition.json +1 -187
  1071. package/json-schema/system/MetricExportConfig.json +1 -87
  1072. package/json-schema/system/MetricLabels.json +1 -7
  1073. package/json-schema/system/MetricType.json +1 -10
  1074. package/json-schema/system/MetricUnit.json +1 -26
  1075. package/json-schema/system/MetricsConfig.json +1 -712
  1076. package/json-schema/system/MiddlewareConfig.json +1 -64
  1077. package/json-schema/system/MiddlewareType.json +1 -12
  1078. package/json-schema/system/MultipartUploadConfig.json +1 -43
  1079. package/json-schema/system/NotificationChannel.json +1 -12
  1080. package/json-schema/system/NotificationConfig.json +1 -337
  1081. package/json-schema/system/ORSet.json +1 -51
  1082. package/json-schema/system/ORSetElement.json +1 -33
  1083. package/json-schema/system/OTComponent.json +1 -70
  1084. package/json-schema/system/OTOperation.json +1 -122
  1085. package/json-schema/system/OTOperationType.json +1 -8
  1086. package/json-schema/system/OTTransformResult.json +1 -144
  1087. package/json-schema/system/ObjectMetadata.json +1 -84
  1088. package/json-schema/system/ObjectStorageConfig.json +1 -469
  1089. package/json-schema/system/OnceSchedule.json +1 -19
  1090. package/json-schema/system/OpenTelemetryCompatibility.json +1 -190
  1091. package/json-schema/system/OtelExporterType.json +1 -16
  1092. package/json-schema/system/PCIDSSConfig.json +1 -41
  1093. package/json-schema/system/PNCounter.json +1 -31
  1094. package/json-schema/system/Plugin.json +1 -26
  1095. package/json-schema/system/PluginCapability.json +1 -121
  1096. package/json-schema/system/PluginCapabilityManifest.json +1 -404
  1097. package/json-schema/system/PluginContext.json +1 -76
  1098. package/json-schema/system/PluginDependency.json +1 -33
  1099. package/json-schema/system/PluginErrorEvent.json +1 -40
  1100. package/json-schema/system/PluginEventBase.json +1 -18
  1101. package/json-schema/system/PluginInterface.json +1 -135
  1102. package/json-schema/system/PluginLifecycle.json +1 -5
  1103. package/json-schema/system/PluginLifecycleEventType.json +1 -25
  1104. package/json-schema/system/PluginLifecyclePhaseEvent.json +1 -32
  1105. package/json-schema/system/PluginMetadata.json +1 -31
  1106. package/json-schema/system/PluginRegisteredEvent.json +1 -22
  1107. package/json-schema/system/PluginStartupResult.json +1 -67
  1108. package/json-schema/system/PresignedUrlConfig.json +1 -43
  1109. package/json-schema/system/ProtocolFeature.json +1 -28
  1110. package/json-schema/system/ProtocolReference.json +1 -50
  1111. package/json-schema/system/ProtocolVersion.json +1 -24
  1112. package/json-schema/system/PushNotification.json +1 -54
  1113. package/json-schema/system/QueueConfig.json +1 -127
  1114. package/json-schema/system/RealTimeNotificationConfig.json +1 -79
  1115. package/json-schema/system/RetryPolicy.json +1 -24
  1116. package/json-schema/system/RollbackPlan.json +1 -45
  1117. package/json-schema/system/RouteHandlerMetadata.json +1 -79
  1118. package/json-schema/system/RuntimeMode.json +1 -10
  1119. package/json-schema/system/SMSTemplate.json +1 -30
  1120. package/json-schema/system/SamplingDecision.json +1 -9
  1121. package/json-schema/system/SamplingStrategyType.json +1 -14
  1122. package/json-schema/system/Schedule.json +1 -65
  1123. package/json-schema/system/ScopeConfig.json +1 -22
  1124. package/json-schema/system/ScopeInfo.json +1 -33
  1125. package/json-schema/system/SearchConfig.json +1 -189
  1126. package/json-schema/system/SearchIndexConfig.json +1 -72
  1127. package/json-schema/system/SearchProvider.json +1 -10
  1128. package/json-schema/system/ServerCapabilities.json +1 -57
  1129. package/json-schema/system/ServerEvent.json +1 -33
  1130. package/json-schema/system/ServerEventType.json +1 -12
  1131. package/json-schema/system/ServerStatus.json +1 -87
  1132. package/json-schema/system/ServiceFactoryRegistration.json +1 -38
  1133. package/json-schema/system/ServiceLevelIndicator.json +1 -99
  1134. package/json-schema/system/ServiceLevelObjective.json +1 -164
  1135. package/json-schema/system/ServiceMetadata.json +1 -37
  1136. package/json-schema/system/ServiceRegisteredEvent.json +1 -22
  1137. package/json-schema/system/ServiceRegistryConfig.json +1 -33
  1138. package/json-schema/system/ServiceScopeType.json +1 -9
  1139. package/json-schema/system/ServiceUnregisteredEvent.json +1 -18
  1140. package/json-schema/system/Span.json +1 -381
  1141. package/json-schema/system/SpanAttributeValue.json +1 -32
  1142. package/json-schema/system/SpanAttributes.json +1 -36
  1143. package/json-schema/system/SpanEvent.json +1 -56
  1144. package/json-schema/system/SpanKind.json +1 -11
  1145. package/json-schema/system/SpanLink.json +1 -104
  1146. package/json-schema/system/SpanStatus.json +1 -9
  1147. package/json-schema/system/StartupOptions.json +1 -30
  1148. package/json-schema/system/StartupOrchestrationResult.json +1 -98
  1149. package/json-schema/system/StorageAcl.json +1 -12
  1150. package/json-schema/system/StorageClass.json +1 -11
  1151. package/json-schema/system/StorageConnection.json +1 -56
  1152. package/json-schema/system/StorageProvider.json +1 -15
  1153. package/json-schema/system/StorageScope.json +1 -16
  1154. package/json-schema/system/StructuredLogEntry.json +1 -185
  1155. package/json-schema/system/SuspiciousActivityRule.json +1 -169
  1156. package/json-schema/system/Task.json +1 -139
  1157. package/json-schema/system/TaskExecutionResult.json +1 -79
  1158. package/json-schema/system/TaskPriority.json +1 -10
  1159. package/json-schema/system/TaskRetryPolicy.json +1 -40
  1160. package/json-schema/system/TaskStatus.json +1 -13
  1161. package/json-schema/system/TextCRDTOperation.json +1 -46
  1162. package/json-schema/system/TextCRDTState.json +1 -99
  1163. package/json-schema/system/TimeSeries.json +1 -63
  1164. package/json-schema/system/TimeSeriesDataPoint.json +1 -27
  1165. package/json-schema/system/TopicConfig.json +1 -33
  1166. package/json-schema/system/TraceContext.json +1 -58
  1167. package/json-schema/system/TraceContextPropagation.json +1 -73
  1168. package/json-schema/system/TraceFlags.json +1 -6
  1169. package/json-schema/system/TracePropagationFormat.json +1 -13
  1170. package/json-schema/system/TraceSamplingConfig.json +1 -180
  1171. package/json-schema/system/TraceState.json +1 -17
  1172. package/json-schema/system/TracingConfig.json +1 -530
  1173. package/json-schema/system/TranslationBundle.json +1 -72
  1174. package/json-schema/system/TranslationData.json +1 -69
  1175. package/json-schema/system/UserActivityStatus.json +1 -9
  1176. package/json-schema/system/ValidationError.json +1 -22
  1177. package/json-schema/system/ValidationResult.json +1 -65
  1178. package/json-schema/system/ValidationWarning.json +1 -22
  1179. package/json-schema/system/VectorClock.json +1 -17
  1180. package/json-schema/system/WorkerConfig.json +1 -182
  1181. package/json-schema/system/WorkerStats.json +1 -84
  1182. package/json-schema/ui/Action.json +1 -180
  1183. package/json-schema/ui/ActionParam.json +1 -89
  1184. package/json-schema/ui/Animation.json +1 -50
  1185. package/json-schema/ui/App.json +1 -302
  1186. package/json-schema/ui/AppBranding.json +1 -18
  1187. package/json-schema/ui/BorderRadius.json +1 -38
  1188. package/json-schema/ui/Breakpoints.json +1 -30
  1189. package/json-schema/ui/CalendarConfig.json +1 -22
  1190. package/json-schema/ui/ChartConfig.json +1 -68
  1191. package/json-schema/ui/ChartType.json +1 -34
  1192. package/json-schema/ui/ColorPalette.json +1 -77
  1193. package/json-schema/ui/Dashboard.json +1 -221
  1194. package/json-schema/ui/DashboardNavItem.json +1 -38
  1195. package/json-schema/ui/DashboardWidget.json +1 -193
  1196. package/json-schema/ui/FieldWidgetProps.json +1 -892
  1197. package/json-schema/ui/FormField.json +1 -55
  1198. package/json-schema/ui/FormSection.json +1 -95
  1199. package/json-schema/ui/FormView.json +1 -351
  1200. package/json-schema/ui/GanttConfig.json +1 -26
  1201. package/json-schema/ui/GroupNavItem.json +1 -38
  1202. package/json-schema/ui/HttpMethod.json +1 -10
  1203. package/json-schema/ui/HttpRequest.json +1 -40
  1204. package/json-schema/ui/KanbanConfig.json +1 -25
  1205. package/json-schema/ui/ListColumn.json +1 -51
  1206. package/json-schema/ui/ListView.json +1 -398
  1207. package/json-schema/ui/NavigationItem.json +1 -218
  1208. package/json-schema/ui/ObjectNavItem.json +1 -42
  1209. package/json-schema/ui/Page.json +1 -143
  1210. package/json-schema/ui/PageCardProps.json +1 -26
  1211. package/json-schema/ui/PageComponent.json +1 -60
  1212. package/json-schema/ui/PageComponentType.json +1 -26
  1213. package/json-schema/ui/PageHeaderProps.json +1 -33
  1214. package/json-schema/ui/PageNavItem.json +1 -43
  1215. package/json-schema/ui/PageRegion.json +1 -87
  1216. package/json-schema/ui/PageTabsProps.json +1 -49
  1217. package/json-schema/ui/PaginationConfig.json +1 -20
  1218. package/json-schema/ui/RecordDetailsProps.json +1 -31
  1219. package/json-schema/ui/RecordHighlightsProps.json +1 -18
  1220. package/json-schema/ui/RecordRelatedListProps.json +1 -33
  1221. package/json-schema/ui/Report.json +1 -250
  1222. package/json-schema/ui/ReportChart.json +1 -82
  1223. package/json-schema/ui/ReportColumn.json +1 -29
  1224. package/json-schema/ui/ReportGrouping.json +1 -32
  1225. package/json-schema/ui/ReportType.json +1 -9
  1226. package/json-schema/ui/SelectionConfig.json +1 -16
  1227. package/json-schema/ui/Shadow.json +1 -38
  1228. package/json-schema/ui/Spacing.json +1 -58
  1229. package/json-schema/ui/Theme.json +1 -537
  1230. package/json-schema/ui/ThemeMode.json +1 -8
  1231. package/json-schema/ui/Typography.json +1 -136
  1232. package/json-schema/ui/UrlNavItem.json +1 -47
  1233. package/json-schema/ui/View.json +1 -1512
  1234. package/json-schema/ui/ViewData.json +1 -136
  1235. package/json-schema/ui/WidgetEvent.json +1 -36
  1236. package/json-schema/ui/WidgetLifecycle.json +1 -34
  1237. package/json-schema/ui/WidgetManifest.json +1 -256
  1238. package/json-schema/ui/WidgetProperty.json +1 -52
  1239. package/json-schema/ui/ZIndex.json +1 -38
  1240. package/package.json +5 -5
@@ -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<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>]>;
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>>]>;
17
17
  /**
18
18
  * Sort order definition
19
19
  * Supports:
@@ -21,487 +21,136 @@ export declare const DataEngineFilterSchema: z.ZodUnion<[z.ZodRecord<z.ZodString
21
21
  * - { name: 1 }
22
22
  * - [{ field: 'name', order: 'asc' }]
23
23
  */
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<{
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<{
25
28
  field: z.ZodString;
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">]>;
29
+ order: z.ZodDefault<z.ZodEnum<{
30
+ asc: "asc";
31
+ desc: "desc";
32
+ }>>;
33
+ }, z.core.$strip>>]>;
34
34
  export declare const DataEngineQueryOptionsSchema: 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<{
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<{
41
41
  field: z.ZodString;
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) */
42
+ order: z.ZodDefault<z.ZodEnum<{
43
+ asc: "asc";
44
+ desc: "desc";
45
+ }>>;
46
+ }, z.core.$strip>>]>>;
51
47
  limit: z.ZodOptional<z.ZodNumber>;
52
- /** Skip number of results (OFFSET) */
53
48
  skip: z.ZodOptional<z.ZodNumber>;
54
- /**
55
- * Maximum number of results (OData style)
56
- * Takes precedence over limit if both specified
57
- */
58
49
  top: z.ZodOptional<z.ZodNumber>;
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
- }>;
50
+ populate: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
+ }, z.core.$strip>;
87
52
  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
- */
93
53
  returning: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
94
- }, "strip", z.ZodTypeAny, {
95
- returning?: boolean | undefined;
96
- }, {
97
- returning?: boolean | undefined;
98
- }>;
54
+ }, z.core.$strip>;
99
55
  export declare const DataEngineUpdateOptionsSchema: z.ZodObject<{
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
- */
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>>]>>;
106
57
  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
- */
112
58
  multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
113
- /**
114
- * Return the updated record(s)?
115
- * Default: false (returns update count/status)
116
- */
117
59
  returning: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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
- }>;
60
+ }, z.core.$strip>;
129
61
  export declare const DataEngineDeleteOptionsSchema: z.ZodObject<{
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
- */
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>>]>>;
137
63
  multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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
- }>;
64
+ }, z.core.$strip>;
145
65
  export declare const DataEngineAggregateOptionsSchema: z.ZodObject<{
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
- */
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>>;
154
68
  aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
155
69
  field: z.ZodString;
156
- method: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct"]>;
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
+ }>;
157
78
  alias: z.ZodOptional<z.ZodString>;
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
- }>;
79
+ }, z.core.$strip>>>;
80
+ }, z.core.$strip>;
184
81
  export declare const DataEngineCountOptionsSchema: z.ZodObject<{
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
- }>;
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>;
192
84
  export declare const DataEngineContractSchema: z.ZodObject<{
193
85
  find: z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodOptional<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<{
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<{
200
92
  field: z.ZodString;
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) */
93
+ order: z.ZodDefault<z.ZodEnum<{
94
+ asc: "asc";
95
+ desc: "desc";
96
+ }>>;
97
+ }, z.core.$strip>>]>>;
210
98
  limit: z.ZodOptional<z.ZodNumber>;
211
- /** Skip number of results (OFFSET) */
212
99
  skip: z.ZodOptional<z.ZodNumber>;
213
- /**
214
- * Maximum number of results (OData style)
215
- * Takes precedence over limit if both specified
216
- */
217
100
  top: z.ZodOptional<z.ZodNumber>;
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">>>;
101
+ populate: z.ZodOptional<z.ZodArray<z.ZodString>>;
102
+ }, z.core.$strip>>], null>, z.ZodPromise<z.ZodArray<z.ZodAny>>>;
246
103
  findOne: z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodOptional<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<{
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<{
253
110
  field: z.ZodString;
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) */
111
+ order: z.ZodDefault<z.ZodEnum<{
112
+ asc: "asc";
113
+ desc: "desc";
114
+ }>>;
115
+ }, z.core.$strip>>]>>;
263
116
  limit: z.ZodOptional<z.ZodNumber>;
264
- /** Skip number of results (OFFSET) */
265
117
  skip: z.ZodOptional<z.ZodNumber>;
266
- /**
267
- * Maximum number of results (OData style)
268
- * Takes precedence over limit if both specified
269
- */
270
118
  top: z.ZodOptional<z.ZodNumber>;
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
- */
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<{
305
122
  returning: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
306
- }, "strip", z.ZodTypeAny, {
307
- returning?: boolean | undefined;
308
- }, {
309
- returning?: boolean | undefined;
310
- }>>], z.ZodUnknown>, z.ZodPromise<z.ZodAny>>;
123
+ }, z.core.$strip>>], null>, z.ZodPromise<z.ZodAny>>;
311
124
  update: z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodOptional<z.ZodObject<{
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
- */
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>>]>>;
318
126
  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
- */
324
127
  multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
325
- /**
326
- * Return the updated record(s)?
327
- * Default: false (returns update count/status)
328
- */
329
128
  returning: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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>>;
129
+ }, z.core.$strip>>], null>, z.ZodPromise<z.ZodAny>>;
341
130
  delete: z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodOptional<z.ZodObject<{
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
- */
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>>]>>;
349
132
  multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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>>;
133
+ }, z.core.$strip>>], null>, z.ZodPromise<z.ZodAny>>;
357
134
  count: z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodOptional<z.ZodObject<{
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>>;
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>>;
365
137
  aggregate: z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodObject<{
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
- */
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>>;
374
140
  aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
375
141
  field: z.ZodString;
376
- method: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct"]>;
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
+ }>;
377
150
  alias: z.ZodOptional<z.ZodString>;
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
- }>;
151
+ }, z.core.$strip>>>;
152
+ }, z.core.$strip>], null>, z.ZodPromise<z.ZodArray<z.ZodAny>>>;
153
+ }, z.core.$strip>;
505
154
  /**
506
155
  * Data Engine RPC Request (Virtual ObjectQL)
507
156
  *
@@ -515,412 +164,111 @@ export declare const DataEngineFindRequestSchema: z.ZodObject<{
515
164
  method: z.ZodLiteral<"find">;
516
165
  object: z.ZodString;
517
166
  query: z.ZodOptional<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<{
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<{
524
173
  field: z.ZodString;
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) */
174
+ order: z.ZodDefault<z.ZodEnum<{
175
+ asc: "asc";
176
+ desc: "desc";
177
+ }>>;
178
+ }, z.core.$strip>>]>>;
534
179
  limit: z.ZodOptional<z.ZodNumber>;
535
- /** Skip number of results (OFFSET) */
536
180
  skip: z.ZodOptional<z.ZodNumber>;
537
- /**
538
- * Maximum number of results (OData style)
539
- * Takes precedence over limit if both specified
540
- */
541
181
  top: z.ZodOptional<z.ZodNumber>;
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
- }>;
182
+ populate: z.ZodOptional<z.ZodArray<z.ZodString>>;
183
+ }, z.core.$strip>>;
184
+ }, z.core.$strip>;
601
185
  export declare const DataEngineFindOneRequestSchema: z.ZodObject<{
602
186
  method: z.ZodLiteral<"findOne">;
603
187
  object: z.ZodString;
604
188
  query: z.ZodOptional<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<{
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<{
611
195
  field: z.ZodString;
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) */
196
+ order: z.ZodDefault<z.ZodEnum<{
197
+ asc: "asc";
198
+ desc: "desc";
199
+ }>>;
200
+ }, z.core.$strip>>]>>;
621
201
  limit: z.ZodOptional<z.ZodNumber>;
622
- /** Skip number of results (OFFSET) */
623
202
  skip: z.ZodOptional<z.ZodNumber>;
624
- /**
625
- * Maximum number of results (OData style)
626
- * Takes precedence over limit if both specified
627
- */
628
203
  top: z.ZodOptional<z.ZodNumber>;
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
- }>;
204
+ populate: z.ZodOptional<z.ZodArray<z.ZodString>>;
205
+ }, z.core.$strip>>;
206
+ }, z.core.$strip>;
688
207
  export declare const DataEngineInsertRequestSchema: z.ZodObject<{
689
208
  method: z.ZodLiteral<"insert">;
690
209
  object: z.ZodString;
691
- data: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
210
+ data: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>]>;
692
211
  options: z.ZodOptional<z.ZodObject<{
693
- /**
694
- * Return the inserted record(s)?
695
- * Some drivers support RETURNING clause for efficiency.
696
- * Default: true
697
- */
698
212
  returning: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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
- }>;
213
+ }, z.core.$strip>>;
214
+ }, z.core.$strip>;
719
215
  export declare const DataEngineUpdateRequestSchema: z.ZodObject<{
720
216
  method: z.ZodLiteral<"update">;
721
217
  object: z.ZodString;
722
218
  data: z.ZodRecord<z.ZodString, z.ZodAny>;
723
219
  id: z.ZodOptional<z.ZodAny>;
724
220
  options: z.ZodOptional<z.ZodObject<{
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
- */
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>>]>>;
731
222
  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
- */
737
223
  multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
738
- /**
739
- * Return the updated record(s)?
740
- * Default: false (returns update count/status)
741
- */
742
224
  returning: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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
- }>;
225
+ }, z.core.$strip>>;
226
+ }, z.core.$strip>;
777
227
  export declare const DataEngineDeleteRequestSchema: z.ZodObject<{
778
228
  method: z.ZodLiteral<"delete">;
779
229
  object: z.ZodString;
780
230
  id: z.ZodOptional<z.ZodAny>;
781
231
  options: z.ZodOptional<z.ZodObject<{
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
- */
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>>]>>;
789
233
  multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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
- }>;
234
+ }, z.core.$strip>>;
235
+ }, z.core.$strip>;
814
236
  export declare const DataEngineCountRequestSchema: z.ZodObject<{
815
237
  method: z.ZodLiteral<"count">;
816
238
  object: z.ZodString;
817
239
  query: z.ZodOptional<z.ZodObject<{
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
- }>;
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>;
838
243
  export declare const DataEngineAggregateRequestSchema: z.ZodObject<{
839
244
  method: z.ZodLiteral<"aggregate">;
840
245
  object: z.ZodString;
841
246
  query: z.ZodObject<{
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
- */
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>>;
850
249
  aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
851
250
  field: z.ZodString;
852
- method: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct"]>;
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
+ }>;
853
259
  alias: z.ZodOptional<z.ZodString>;
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
- }>;
260
+ }, z.core.$strip>>>;
261
+ }, z.core.$strip>;
262
+ }, z.core.$strip>;
905
263
  /**
906
264
  * Data Engine Execute Request (Raw Command)
907
265
  * Execute a raw command/query native to the driver (e.g. SQL, Shell, Remote API).
908
266
  */
909
267
  export declare const DataEngineExecuteRequestSchema: z.ZodObject<{
910
268
  method: z.ZodLiteral<"execute">;
911
- /** The abstract command (string SQL, or JSON object) */
912
269
  command: z.ZodAny;
913
- /** Optional options */
914
270
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
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
- }>;
271
+ }, z.core.$strip>;
924
272
  /**
925
273
  * Data Engine Vector Find Request (AI/RAG)
926
274
  * Perform a similarity search using vector embeddings.
@@ -928,1702 +276,345 @@ export declare const DataEngineExecuteRequestSchema: z.ZodObject<{
928
276
  export declare const DataEngineVectorFindRequestSchema: z.ZodObject<{
929
277
  method: z.ZodLiteral<"vectorFind">;
930
278
  object: 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 */
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>>;
938
282
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
939
- /** Minimum similarity score (0-1) or distance threshold */
940
283
  threshold: z.ZodOptional<z.ZodNumber>;
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
- }>;
284
+ }, z.core.$strip>;
958
285
  /**
959
286
  * Data Engine Batch Request
960
287
  * Execute multiple operations in a single transaction/request efficiently.
961
288
  */
962
289
  export declare const DataEngineBatchRequestSchema: z.ZodObject<{
963
290
  method: z.ZodLiteral<"batch">;
964
- requests: z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
291
+ requests: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
965
292
  method: z.ZodLiteral<"find">;
966
293
  object: z.ZodString;
967
294
  query: z.ZodOptional<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<{
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<{
974
301
  field: z.ZodString;
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) */
302
+ order: z.ZodDefault<z.ZodEnum<{
303
+ asc: "asc";
304
+ desc: "desc";
305
+ }>>;
306
+ }, z.core.$strip>>]>>;
984
307
  limit: z.ZodOptional<z.ZodNumber>;
985
- /** Skip number of results (OFFSET) */
986
308
  skip: z.ZodOptional<z.ZodNumber>;
987
- /**
988
- * Maximum number of results (OData style)
989
- * Takes precedence over limit if both specified
990
- */
991
309
  top: z.ZodOptional<z.ZodNumber>;
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<{
310
+ populate: z.ZodOptional<z.ZodArray<z.ZodString>>;
311
+ }, z.core.$strip>>;
312
+ }, z.core.$strip>, z.ZodObject<{
1051
313
  method: z.ZodLiteral<"findOne">;
1052
314
  object: z.ZodString;
1053
315
  query: z.ZodOptional<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<{
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<{
1060
322
  field: z.ZodString;
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) */
323
+ order: z.ZodDefault<z.ZodEnum<{
324
+ asc: "asc";
325
+ desc: "desc";
326
+ }>>;
327
+ }, z.core.$strip>>]>>;
1070
328
  limit: z.ZodOptional<z.ZodNumber>;
1071
- /** Skip number of results (OFFSET) */
1072
329
  skip: z.ZodOptional<z.ZodNumber>;
1073
- /**
1074
- * Maximum number of results (OData style)
1075
- * Takes precedence over limit if both specified
1076
- */
1077
330
  top: z.ZodOptional<z.ZodNumber>;
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<{
331
+ populate: z.ZodOptional<z.ZodArray<z.ZodString>>;
332
+ }, z.core.$strip>>;
333
+ }, z.core.$strip>, z.ZodObject<{
1137
334
  method: z.ZodLiteral<"insert">;
1138
335
  object: z.ZodString;
1139
- data: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
336
+ data: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>]>;
1140
337
  options: z.ZodOptional<z.ZodObject<{
1141
- /**
1142
- * Return the inserted record(s)?
1143
- * Some drivers support RETURNING clause for efficiency.
1144
- * Default: true
1145
- */
1146
338
  returning: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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<{
339
+ }, z.core.$strip>>;
340
+ }, z.core.$strip>, z.ZodObject<{
1167
341
  method: z.ZodLiteral<"update">;
1168
342
  object: z.ZodString;
1169
343
  data: z.ZodRecord<z.ZodString, z.ZodAny>;
1170
344
  id: z.ZodOptional<z.ZodAny>;
1171
345
  options: z.ZodOptional<z.ZodObject<{
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
- */
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>>]>>;
1178
347
  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
- */
1184
348
  multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1185
- /**
1186
- * Return the updated record(s)?
1187
- * Default: false (returns update count/status)
1188
- */
1189
349
  returning: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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<{
350
+ }, z.core.$strip>>;
351
+ }, z.core.$strip>, z.ZodObject<{
1224
352
  method: z.ZodLiteral<"delete">;
1225
353
  object: z.ZodString;
1226
354
  id: z.ZodOptional<z.ZodAny>;
1227
355
  options: z.ZodOptional<z.ZodObject<{
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
- */
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>>]>>;
1235
357
  multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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<{
358
+ }, z.core.$strip>>;
359
+ }, z.core.$strip>, z.ZodObject<{
1260
360
  method: z.ZodLiteral<"count">;
1261
361
  object: z.ZodString;
1262
362
  query: z.ZodOptional<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<{
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<{
1283
366
  method: z.ZodLiteral<"aggregate">;
1284
367
  object: z.ZodString;
1285
368
  query: z.ZodObject<{
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
- */
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>>;
1294
371
  aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1295
372
  field: z.ZodString;
1296
- method: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct"]>;
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
+ }>;
1297
381
  alias: z.ZodOptional<z.ZodString>;
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<{
382
+ }, z.core.$strip>>>;
383
+ }, z.core.$strip>;
384
+ }, z.core.$strip>, z.ZodObject<{
1349
385
  method: z.ZodLiteral<"execute">;
1350
- /** The abstract command (string SQL, or JSON object) */
1351
386
  command: z.ZodAny;
1352
- /** Optional options */
1353
387
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
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<{
388
+ }, z.core.$strip>, z.ZodObject<{
1363
389
  method: z.ZodLiteral<"vectorFind">;
1364
390
  object: 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 */
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>>;
1372
394
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1373
- /** Minimum similarity score (0-1) or distance threshold */
1374
395
  threshold: z.ZodOptional<z.ZodNumber>;
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
- */
396
+ }, z.core.$strip>], "method">>;
1397
397
  transaction: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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
- }>;
398
+ }, z.core.$strip>;
1579
399
  /**
1580
400
  * Unified Data Engine Request Union
1581
401
  * Use this to validate any incoming "Virtual ObjectQL" request.
1582
402
  */
1583
- export declare const DataEngineRequestSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
403
+ export declare const DataEngineRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1584
404
  method: z.ZodLiteral<"find">;
1585
405
  object: z.ZodString;
1586
406
  query: z.ZodOptional<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<{
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<{
1593
413
  field: z.ZodString;
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) */
414
+ order: z.ZodDefault<z.ZodEnum<{
415
+ asc: "asc";
416
+ desc: "desc";
417
+ }>>;
418
+ }, z.core.$strip>>]>>;
1603
419
  limit: z.ZodOptional<z.ZodNumber>;
1604
- /** Skip number of results (OFFSET) */
1605
420
  skip: z.ZodOptional<z.ZodNumber>;
1606
- /**
1607
- * Maximum number of results (OData style)
1608
- * Takes precedence over limit if both specified
1609
- */
1610
421
  top: z.ZodOptional<z.ZodNumber>;
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<{
422
+ populate: z.ZodOptional<z.ZodArray<z.ZodString>>;
423
+ }, z.core.$strip>>;
424
+ }, z.core.$strip>, z.ZodObject<{
1670
425
  method: z.ZodLiteral<"findOne">;
1671
426
  object: z.ZodString;
1672
427
  query: z.ZodOptional<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<{
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<{
1679
434
  field: z.ZodString;
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) */
435
+ order: z.ZodDefault<z.ZodEnum<{
436
+ asc: "asc";
437
+ desc: "desc";
438
+ }>>;
439
+ }, z.core.$strip>>]>>;
1689
440
  limit: z.ZodOptional<z.ZodNumber>;
1690
- /** Skip number of results (OFFSET) */
1691
441
  skip: z.ZodOptional<z.ZodNumber>;
1692
- /**
1693
- * Maximum number of results (OData style)
1694
- * Takes precedence over limit if both specified
1695
- */
1696
442
  top: z.ZodOptional<z.ZodNumber>;
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<{
443
+ populate: z.ZodOptional<z.ZodArray<z.ZodString>>;
444
+ }, z.core.$strip>>;
445
+ }, z.core.$strip>, z.ZodObject<{
1756
446
  method: z.ZodLiteral<"insert">;
1757
447
  object: z.ZodString;
1758
- data: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
448
+ data: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>]>;
1759
449
  options: z.ZodOptional<z.ZodObject<{
1760
- /**
1761
- * Return the inserted record(s)?
1762
- * Some drivers support RETURNING clause for efficiency.
1763
- * Default: true
1764
- */
1765
450
  returning: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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<{
451
+ }, z.core.$strip>>;
452
+ }, z.core.$strip>, z.ZodObject<{
1786
453
  method: z.ZodLiteral<"update">;
1787
454
  object: z.ZodString;
1788
455
  data: z.ZodRecord<z.ZodString, z.ZodAny>;
1789
456
  id: z.ZodOptional<z.ZodAny>;
1790
457
  options: z.ZodOptional<z.ZodObject<{
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
- */
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>>]>>;
1797
459
  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
- */
1803
460
  multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1804
- /**
1805
- * Return the updated record(s)?
1806
- * Default: false (returns update count/status)
1807
- */
1808
461
  returning: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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<{
462
+ }, z.core.$strip>>;
463
+ }, z.core.$strip>, z.ZodObject<{
1843
464
  method: z.ZodLiteral<"delete">;
1844
465
  object: z.ZodString;
1845
466
  id: z.ZodOptional<z.ZodAny>;
1846
467
  options: z.ZodOptional<z.ZodObject<{
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
- */
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>>]>>;
1854
469
  multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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<{
470
+ }, z.core.$strip>>;
471
+ }, z.core.$strip>, z.ZodObject<{
1879
472
  method: z.ZodLiteral<"count">;
1880
473
  object: z.ZodString;
1881
474
  query: z.ZodOptional<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<{
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<{
1902
478
  method: z.ZodLiteral<"aggregate">;
1903
479
  object: z.ZodString;
1904
480
  query: z.ZodObject<{
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
- */
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>>;
1913
483
  aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1914
484
  field: z.ZodString;
1915
- method: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct"]>;
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
+ }>;
1916
493
  alias: z.ZodOptional<z.ZodString>;
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<{
494
+ }, z.core.$strip>>>;
495
+ }, z.core.$strip>;
496
+ }, z.core.$strip>, z.ZodObject<{
1968
497
  method: z.ZodLiteral<"batch">;
1969
- requests: z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
498
+ requests: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1970
499
  method: z.ZodLiteral<"find">;
1971
500
  object: z.ZodString;
1972
501
  query: z.ZodOptional<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<{
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<{
1979
508
  field: z.ZodString;
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) */
509
+ order: z.ZodDefault<z.ZodEnum<{
510
+ asc: "asc";
511
+ desc: "desc";
512
+ }>>;
513
+ }, z.core.$strip>>]>>;
1989
514
  limit: z.ZodOptional<z.ZodNumber>;
1990
- /** Skip number of results (OFFSET) */
1991
515
  skip: z.ZodOptional<z.ZodNumber>;
1992
- /**
1993
- * Maximum number of results (OData style)
1994
- * Takes precedence over limit if both specified
1995
- */
1996
516
  top: z.ZodOptional<z.ZodNumber>;
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<{
517
+ populate: z.ZodOptional<z.ZodArray<z.ZodString>>;
518
+ }, z.core.$strip>>;
519
+ }, z.core.$strip>, z.ZodObject<{
2056
520
  method: z.ZodLiteral<"findOne">;
2057
521
  object: z.ZodString;
2058
522
  query: z.ZodOptional<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<{
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<{
2065
529
  field: z.ZodString;
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) */
530
+ order: z.ZodDefault<z.ZodEnum<{
531
+ asc: "asc";
532
+ desc: "desc";
533
+ }>>;
534
+ }, z.core.$strip>>]>>;
2075
535
  limit: z.ZodOptional<z.ZodNumber>;
2076
- /** Skip number of results (OFFSET) */
2077
536
  skip: z.ZodOptional<z.ZodNumber>;
2078
- /**
2079
- * Maximum number of results (OData style)
2080
- * Takes precedence over limit if both specified
2081
- */
2082
537
  top: z.ZodOptional<z.ZodNumber>;
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<{
538
+ populate: z.ZodOptional<z.ZodArray<z.ZodString>>;
539
+ }, z.core.$strip>>;
540
+ }, z.core.$strip>, z.ZodObject<{
2142
541
  method: z.ZodLiteral<"insert">;
2143
542
  object: z.ZodString;
2144
- data: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
543
+ data: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>]>;
2145
544
  options: z.ZodOptional<z.ZodObject<{
2146
- /**
2147
- * Return the inserted record(s)?
2148
- * Some drivers support RETURNING clause for efficiency.
2149
- * Default: true
2150
- */
2151
545
  returning: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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<{
546
+ }, z.core.$strip>>;
547
+ }, z.core.$strip>, z.ZodObject<{
2172
548
  method: z.ZodLiteral<"update">;
2173
549
  object: z.ZodString;
2174
550
  data: z.ZodRecord<z.ZodString, z.ZodAny>;
2175
551
  id: z.ZodOptional<z.ZodAny>;
2176
552
  options: z.ZodOptional<z.ZodObject<{
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
- */
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>>]>>;
2183
554
  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
- */
2189
555
  multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2190
- /**
2191
- * Return the updated record(s)?
2192
- * Default: false (returns update count/status)
2193
- */
2194
556
  returning: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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<{
557
+ }, z.core.$strip>>;
558
+ }, z.core.$strip>, z.ZodObject<{
2229
559
  method: z.ZodLiteral<"delete">;
2230
560
  object: z.ZodString;
2231
561
  id: z.ZodOptional<z.ZodAny>;
2232
562
  options: z.ZodOptional<z.ZodObject<{
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
- */
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>>]>>;
2240
564
  multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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<{
565
+ }, z.core.$strip>>;
566
+ }, z.core.$strip>, z.ZodObject<{
2265
567
  method: z.ZodLiteral<"count">;
2266
568
  object: z.ZodString;
2267
569
  query: z.ZodOptional<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<{
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<{
2288
573
  method: z.ZodLiteral<"aggregate">;
2289
574
  object: z.ZodString;
2290
575
  query: z.ZodObject<{
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
- */
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>>;
2299
578
  aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2300
579
  field: z.ZodString;
2301
- method: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct"]>;
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
+ }>;
2302
588
  alias: z.ZodOptional<z.ZodString>;
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<{
589
+ }, z.core.$strip>>>;
590
+ }, z.core.$strip>;
591
+ }, z.core.$strip>, z.ZodObject<{
2354
592
  method: z.ZodLiteral<"execute">;
2355
- /** The abstract command (string SQL, or JSON object) */
2356
593
  command: z.ZodAny;
2357
- /** Optional options */
2358
594
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
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<{
595
+ }, z.core.$strip>, z.ZodObject<{
2368
596
  method: z.ZodLiteral<"vectorFind">;
2369
597
  object: 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 */
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>>;
2377
601
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
2378
- /** Minimum similarity score (0-1) or distance threshold */
2379
602
  threshold: z.ZodOptional<z.ZodNumber>;
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
- */
603
+ }, z.core.$strip>], "method">>;
2402
604
  transaction: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
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<{
605
+ }, z.core.$strip>, z.ZodObject<{
2584
606
  method: z.ZodLiteral<"execute">;
2585
- /** The abstract command (string SQL, or JSON object) */
2586
607
  command: z.ZodAny;
2587
- /** Optional options */
2588
608
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
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<{
609
+ }, z.core.$strip>, z.ZodObject<{
2598
610
  method: z.ZodLiteral<"vectorFind">;
2599
611
  object: 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 */
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>>;
2607
615
  limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
2608
- /** Minimum similarity score (0-1) or distance threshold */
2609
616
  threshold: z.ZodOptional<z.ZodNumber>;
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
- }>]>;
617
+ }, z.core.$strip>], "method">;
2627
618
  export type DataEngineFilter = z.infer<typeof DataEngineFilterSchema>;
2628
619
  export type DataEngineSort = z.infer<typeof DataEngineSortSchema>;
2629
620
  export type DataEngineQueryOptions = z.infer<typeof DataEngineQueryOptionsSchema>;