@objectstack/spec 0.6.1 → 0.7.1

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 (812) hide show
  1. package/dist/ai/agent-action.zod.d.ts +2231 -0
  2. package/dist/ai/agent-action.zod.d.ts.map +1 -0
  3. package/dist/ai/agent-action.zod.js +401 -0
  4. package/dist/ai/agent.zod.d.ts +8 -8
  5. package/dist/ai/conversation.zod.d.ts +100 -66
  6. package/dist/ai/conversation.zod.d.ts.map +1 -1
  7. package/dist/ai/conversation.zod.js +5 -5
  8. package/dist/ai/cost.zod.d.ts +279 -207
  9. package/dist/ai/cost.zod.d.ts.map +1 -1
  10. package/dist/ai/cost.zod.js +25 -1
  11. package/dist/ai/index.d.ts +1 -0
  12. package/dist/ai/index.d.ts.map +1 -1
  13. package/dist/ai/index.js +1 -0
  14. package/dist/ai/model-registry.zod.d.ts +131 -131
  15. package/dist/ai/nlq.zod.d.ts +72 -45
  16. package/dist/ai/nlq.zod.d.ts.map +1 -1
  17. package/dist/ai/nlq.zod.js +4 -0
  18. package/dist/ai/orchestration.zod.d.ts +69 -43
  19. package/dist/ai/orchestration.zod.d.ts.map +1 -1
  20. package/dist/ai/orchestration.zod.js +3 -0
  21. package/dist/ai/predictive.zod.d.ts +88 -62
  22. package/dist/ai/predictive.zod.d.ts.map +1 -1
  23. package/dist/ai/predictive.zod.js +3 -0
  24. package/dist/ai/rag-pipeline.zod.d.ts +98 -72
  25. package/dist/ai/rag-pipeline.zod.d.ts.map +1 -1
  26. package/dist/ai/rag-pipeline.zod.js +4 -1
  27. package/dist/api/batch.zod.d.ts +1029 -0
  28. package/dist/api/batch.zod.d.ts.map +1 -0
  29. package/dist/api/batch.zod.js +196 -0
  30. package/dist/api/contract.zod.d.ts +96 -0
  31. package/dist/api/contract.zod.d.ts.map +1 -1
  32. package/dist/api/discovery.zod.d.ts +16 -16
  33. package/dist/api/endpoint.zod.d.ts +29 -28
  34. package/dist/api/endpoint.zod.d.ts.map +1 -1
  35. package/dist/api/endpoint.zod.js +4 -7
  36. package/dist/api/errors.zod.d.ts +364 -0
  37. package/dist/api/errors.zod.d.ts.map +1 -0
  38. package/dist/api/errors.zod.js +296 -0
  39. package/dist/api/graphql.zod.d.ts +5727 -0
  40. package/dist/api/graphql.zod.d.ts.map +1 -0
  41. package/dist/api/graphql.zod.js +724 -0
  42. package/dist/api/http-cache.zod.d.ts +439 -0
  43. package/dist/api/http-cache.zod.d.ts.map +1 -0
  44. package/dist/api/http-cache.zod.js +219 -0
  45. package/dist/api/index.d.ts +11 -1
  46. package/dist/api/index.d.ts.map +1 -1
  47. package/dist/api/index.js +13 -1
  48. package/dist/api/odata.zod.d.ts +4 -4
  49. package/dist/api/protocol.zod.d.ts +9375 -0
  50. package/dist/api/protocol.zod.d.ts.map +1 -0
  51. package/dist/api/protocol.zod.js +376 -0
  52. package/dist/api/realtime.zod.d.ts +2 -2
  53. package/dist/api/rest-server.zod.d.ts +2330 -0
  54. package/dist/api/rest-server.zod.d.ts.map +1 -0
  55. package/dist/api/rest-server.zod.js +424 -0
  56. package/dist/api/router.zod.d.ts +39 -32
  57. package/dist/api/router.zod.d.ts.map +1 -1
  58. package/dist/api/router.zod.js +5 -23
  59. package/dist/api/view-storage.zod.d.ts +8220 -0
  60. package/dist/api/view-storage.zod.d.ts.map +1 -0
  61. package/dist/api/view-storage.zod.js +243 -0
  62. package/dist/api/websocket.zod.d.ts +1740 -0
  63. package/dist/api/websocket.zod.d.ts.map +1 -0
  64. package/dist/api/websocket.zod.js +470 -0
  65. package/dist/auth/config.zod.d.ts +655 -304
  66. package/dist/auth/config.zod.d.ts.map +1 -1
  67. package/dist/auth/config.zod.js +149 -7
  68. package/dist/auth/identity.zod.d.ts +9 -9
  69. package/dist/auth/organization.zod.d.ts +6 -6
  70. package/dist/auth/policy.zod.d.ts +3 -3
  71. package/dist/auth/scim.zod.d.ts +83 -83
  72. package/dist/automation/approval.zod.d.ts +18 -18
  73. package/dist/automation/etl.zod.d.ts +53 -23
  74. package/dist/automation/etl.zod.d.ts.map +1 -1
  75. package/dist/automation/etl.zod.js +31 -1
  76. package/dist/automation/flow.zod.d.ts +26 -26
  77. package/dist/automation/index.d.ts +1 -1
  78. package/dist/automation/index.d.ts.map +1 -1
  79. package/dist/automation/index.js +1 -1
  80. package/dist/automation/sync.zod.d.ts +381 -166
  81. package/dist/automation/sync.zod.d.ts.map +1 -1
  82. package/dist/automation/sync.zod.js +38 -31
  83. package/dist/automation/{connector.zod.d.ts → trigger-registry.zod.d.ts} +77 -62
  84. package/dist/automation/trigger-registry.zod.d.ts.map +1 -0
  85. package/dist/automation/{connector.zod.js → trigger-registry.zod.js} +36 -21
  86. package/dist/automation/webhook.zod.d.ts +106 -19
  87. package/dist/automation/webhook.zod.d.ts.map +1 -1
  88. package/dist/automation/webhook.zod.js +58 -13
  89. package/dist/automation/workflow.zod.d.ts +1089 -265
  90. package/dist/automation/workflow.zod.d.ts.map +1 -1
  91. package/dist/automation/workflow.zod.js +3 -6
  92. package/dist/contracts/data-engine.d.ts +61 -0
  93. package/dist/contracts/data-engine.d.ts.map +1 -0
  94. package/dist/contracts/data-engine.js +2 -0
  95. package/dist/contracts/http-server.d.ts +119 -0
  96. package/dist/contracts/http-server.d.ts.map +1 -0
  97. package/dist/contracts/http-server.js +12 -0
  98. package/dist/contracts/index.d.ts +14 -0
  99. package/dist/contracts/index.d.ts.map +1 -0
  100. package/dist/contracts/index.js +29 -0
  101. package/dist/contracts/logger.d.ts +63 -0
  102. package/dist/contracts/logger.d.ts.map +1 -0
  103. package/dist/contracts/logger.js +2 -0
  104. package/dist/contracts/plugin-lifecycle-events.d.ts +150 -0
  105. package/dist/contracts/plugin-lifecycle-events.d.ts.map +1 -0
  106. package/dist/contracts/plugin-lifecycle-events.js +10 -0
  107. package/dist/contracts/plugin-validator.d.ts +106 -0
  108. package/dist/contracts/plugin-validator.d.ts.map +1 -0
  109. package/dist/contracts/plugin-validator.js +8 -0
  110. package/dist/contracts/service-registry.d.ts +94 -0
  111. package/dist/contracts/service-registry.d.ts.map +1 -0
  112. package/dist/contracts/service-registry.js +11 -0
  113. package/dist/contracts/startup-orchestrator.d.ts +122 -0
  114. package/dist/contracts/startup-orchestrator.d.ts.map +1 -0
  115. package/dist/contracts/startup-orchestrator.js +2 -0
  116. package/dist/data/data-engine.zod.d.ts +2636 -0
  117. package/dist/data/data-engine.zod.d.ts.map +1 -0
  118. package/dist/data/data-engine.zod.js +282 -0
  119. package/dist/data/document.zod.d.ts +746 -0
  120. package/dist/data/document.zod.d.ts.map +1 -0
  121. package/dist/data/document.zod.js +326 -0
  122. package/dist/data/driver/mongo.zod.d.ts +82 -0
  123. package/dist/data/driver/mongo.zod.d.ts.map +1 -0
  124. package/dist/data/driver/mongo.zod.js +68 -0
  125. package/dist/{system → data}/driver/postgres.zod.d.ts +4 -4
  126. package/dist/data/driver/postgres.zod.d.ts.map +1 -0
  127. package/dist/data/driver-nosql.zod.d.ts +1008 -0
  128. package/dist/data/driver-nosql.zod.d.ts.map +1 -0
  129. package/dist/data/driver-nosql.zod.js +417 -0
  130. package/dist/data/driver-sql.zod.d.ts +652 -0
  131. package/dist/data/driver-sql.zod.d.ts.map +1 -0
  132. package/dist/data/driver-sql.zod.js +150 -0
  133. package/dist/{system → data}/driver.zod.d.ts +1538 -249
  134. package/dist/data/driver.zod.d.ts.map +1 -0
  135. package/dist/{system → data}/driver.zod.js +137 -13
  136. package/dist/data/external-lookup.zod.d.ts +662 -0
  137. package/dist/data/external-lookup.zod.d.ts.map +1 -0
  138. package/dist/data/external-lookup.zod.js +223 -0
  139. package/dist/data/field.zod.d.ts +3896 -107
  140. package/dist/data/field.zod.d.ts.map +1 -1
  141. package/dist/data/field.zod.js +161 -2
  142. package/dist/data/hook.zod.d.ts +4 -4
  143. package/dist/data/index.d.ts +7 -0
  144. package/dist/data/index.d.ts.map +1 -1
  145. package/dist/data/index.js +9 -0
  146. package/dist/data/mapping.zod.d.ts +85 -17
  147. package/dist/data/mapping.zod.d.ts.map +1 -1
  148. package/dist/data/object.zod.d.ts +2117 -77
  149. package/dist/data/object.zod.d.ts.map +1 -1
  150. package/dist/data/object.zod.js +128 -15
  151. package/dist/data/query.zod.d.ts +112 -0
  152. package/dist/data/query.zod.d.ts.map +1 -1
  153. package/dist/data/query.zod.js +47 -1
  154. package/dist/data/validation.zod.d.ts +2 -2
  155. package/dist/hub/composer.zod.d.ts +868 -68
  156. package/dist/hub/composer.zod.d.ts.map +1 -1
  157. package/dist/hub/index.d.ts +1 -0
  158. package/dist/hub/index.d.ts.map +1 -1
  159. package/dist/hub/index.js +1 -0
  160. package/dist/hub/license.zod.d.ts +2 -2
  161. package/dist/hub/marketplace.zod.d.ts +2 -2
  162. package/dist/hub/plugin-registry.zod.d.ts +1681 -0
  163. package/dist/hub/plugin-registry.zod.d.ts.map +1 -0
  164. package/dist/hub/plugin-registry.zod.js +350 -0
  165. package/dist/hub/space.zod.d.ts +19 -19
  166. package/dist/hub/tenant.zod.d.ts +44 -44
  167. package/dist/index.d.ts +3 -0
  168. package/dist/index.d.ts.map +1 -1
  169. package/dist/index.js +11 -1
  170. package/dist/integration/connector/database.zod.d.ts +1666 -0
  171. package/dist/integration/connector/database.zod.d.ts.map +1 -0
  172. package/dist/integration/connector/database.zod.js +303 -0
  173. package/dist/integration/connector/file-storage.zod.d.ts +1386 -0
  174. package/dist/integration/connector/file-storage.zod.d.ts.map +1 -0
  175. package/dist/integration/connector/file-storage.zod.js +346 -0
  176. package/dist/integration/connector/message-queue.zod.d.ts +1729 -0
  177. package/dist/integration/connector/message-queue.zod.d.ts.map +1 -0
  178. package/dist/integration/connector/message-queue.zod.js +428 -0
  179. package/dist/integration/connector/saas.zod.d.ts +1440 -0
  180. package/dist/integration/connector/saas.zod.d.ts.map +1 -0
  181. package/dist/integration/connector/saas.zod.js +224 -0
  182. package/dist/integration/connector.zod.d.ts +1571 -0
  183. package/dist/integration/connector.zod.d.ts.map +1 -0
  184. package/dist/integration/connector.zod.js +426 -0
  185. package/dist/integration/index.d.ts +15 -0
  186. package/dist/integration/index.d.ts.map +1 -0
  187. package/dist/integration/index.js +32 -0
  188. package/dist/permission/permission.zod.d.ts +140 -6
  189. package/dist/permission/permission.zod.d.ts.map +1 -1
  190. package/dist/permission/permission.zod.js +48 -0
  191. package/dist/permission/rls.zod.d.ts +8 -8
  192. package/dist/permission/sharing.zod.d.ts +14 -14
  193. package/dist/shared/http.zod.d.ts +140 -0
  194. package/dist/shared/http.zod.d.ts.map +1 -0
  195. package/dist/shared/http.zod.js +133 -0
  196. package/dist/shared/index.d.ts +2 -0
  197. package/dist/shared/index.d.ts.map +1 -1
  198. package/dist/shared/index.js +2 -0
  199. package/dist/shared/mapping.zod.d.ts +226 -0
  200. package/dist/shared/mapping.zod.d.ts.map +1 -0
  201. package/dist/shared/mapping.zod.js +103 -0
  202. package/dist/stack.zod.d.ts +9222 -1785
  203. package/dist/stack.zod.d.ts.map +1 -1
  204. package/dist/system/audit.zod.d.ts +35 -35
  205. package/dist/system/cache.zod.d.ts +151 -0
  206. package/dist/system/cache.zod.d.ts.map +1 -0
  207. package/dist/system/cache.zod.js +57 -0
  208. package/dist/system/change-management.zod.d.ts +626 -0
  209. package/dist/system/change-management.zod.d.ts.map +1 -0
  210. package/dist/system/change-management.zod.js +329 -0
  211. package/dist/system/collaboration.zod.d.ts +2099 -0
  212. package/dist/system/collaboration.zod.d.ts.map +1 -0
  213. package/dist/system/collaboration.zod.js +392 -0
  214. package/dist/system/compliance.zod.d.ts +366 -0
  215. package/dist/system/compliance.zod.d.ts.map +1 -0
  216. package/dist/system/compliance.zod.js +70 -0
  217. package/dist/system/context.zod.d.ts +5 -5
  218. package/dist/system/encryption.zod.d.ts +227 -0
  219. package/dist/system/encryption.zod.d.ts.map +1 -0
  220. package/dist/system/encryption.zod.js +43 -0
  221. package/dist/system/feature.zod.d.ts +12 -12
  222. package/dist/system/http-server.zod.d.ts +735 -0
  223. package/dist/system/http-server.zod.d.ts.map +1 -0
  224. package/dist/system/http-server.zod.js +300 -0
  225. package/dist/system/index.d.ts +20 -6
  226. package/dist/system/index.d.ts.map +1 -1
  227. package/dist/system/index.js +32 -7
  228. package/dist/system/job.zod.d.ts +2 -2
  229. package/dist/system/logging.zod.d.ts +2186 -0
  230. package/dist/system/logging.zod.d.ts.map +1 -0
  231. package/dist/system/logging.zod.js +564 -0
  232. package/dist/system/manifest.zod.d.ts +659 -14
  233. package/dist/system/manifest.zod.d.ts.map +1 -1
  234. package/dist/system/manifest.zod.js +8 -0
  235. package/dist/system/masking.zod.d.ts +87 -0
  236. package/dist/system/masking.zod.d.ts.map +1 -0
  237. package/dist/system/masking.zod.js +30 -0
  238. package/dist/system/message-queue.zod.d.ts +177 -0
  239. package/dist/system/message-queue.zod.d.ts.map +1 -0
  240. package/dist/system/message-queue.zod.js +46 -0
  241. package/dist/system/metadata-loader.zod.d.ts +641 -0
  242. package/dist/system/metadata-loader.zod.d.ts.map +1 -0
  243. package/dist/system/metadata-loader.zod.js +373 -0
  244. package/dist/system/metrics.zod.d.ts +1965 -0
  245. package/dist/system/metrics.zod.d.ts.map +1 -0
  246. package/dist/system/metrics.zod.js +585 -0
  247. package/dist/system/notification.zod.d.ts +725 -0
  248. package/dist/system/notification.zod.d.ts.map +1 -0
  249. package/dist/system/notification.zod.js +335 -0
  250. package/dist/system/object-storage.zod.d.ts +1722 -0
  251. package/dist/system/object-storage.zod.d.ts.map +1 -0
  252. package/dist/system/object-storage.zod.js +591 -0
  253. package/dist/system/plugin-capability.zod.d.ts +1130 -0
  254. package/dist/system/plugin-capability.zod.d.ts.map +1 -0
  255. package/dist/system/plugin-capability.zod.js +271 -0
  256. package/dist/system/plugin-lifecycle-events.zod.d.ts +382 -0
  257. package/dist/system/plugin-lifecycle-events.zod.d.ts.map +1 -0
  258. package/dist/system/plugin-lifecycle-events.zod.js +284 -0
  259. package/dist/system/plugin-validator.zod.d.ts +245 -0
  260. package/dist/system/plugin-validator.zod.d.ts.map +1 -0
  261. package/dist/system/plugin-validator.zod.js +136 -0
  262. package/dist/system/plugin.zod.d.ts +86 -86
  263. package/dist/system/search-engine.zod.d.ts +256 -0
  264. package/dist/system/search-engine.zod.d.ts.map +1 -0
  265. package/dist/system/search-engine.zod.js +50 -0
  266. package/dist/system/service-registry.zod.d.ts +247 -0
  267. package/dist/system/service-registry.zod.d.ts.map +1 -0
  268. package/dist/system/service-registry.zod.js +218 -0
  269. package/dist/system/startup-orchestrator.zod.d.ts +376 -0
  270. package/dist/system/startup-orchestrator.zod.d.ts.map +1 -0
  271. package/dist/system/startup-orchestrator.zod.js +171 -0
  272. package/dist/system/tracing.zod.d.ts +1881 -0
  273. package/dist/system/tracing.zod.d.ts.map +1 -0
  274. package/dist/system/tracing.zod.js +567 -0
  275. package/dist/ui/action.zod.d.ts +10 -10
  276. package/dist/ui/app.zod.d.ts +6 -6
  277. package/dist/ui/chart.zod.d.ts +41 -0
  278. package/dist/ui/chart.zod.d.ts.map +1 -0
  279. package/dist/ui/chart.zod.js +66 -0
  280. package/dist/ui/component.zod.d.ts +2 -2
  281. package/dist/ui/dashboard.zod.d.ts +108 -18
  282. package/dist/ui/dashboard.zod.d.ts.map +1 -1
  283. package/dist/ui/dashboard.zod.js +5 -25
  284. package/dist/ui/index.d.ts +3 -1
  285. package/dist/ui/index.d.ts.map +1 -1
  286. package/dist/ui/index.js +3 -1
  287. package/dist/ui/page.zod.d.ts +2 -2
  288. package/dist/ui/page.zod.js +1 -1
  289. package/dist/ui/report.zod.d.ts +62 -12
  290. package/dist/ui/report.zod.d.ts.map +1 -1
  291. package/dist/ui/report.zod.js +5 -5
  292. package/dist/ui/theme.zod.d.ts +6 -6
  293. package/dist/ui/view.zod.d.ts +316 -316
  294. package/dist/ui/widget.zod.d.ts +825 -31
  295. package/dist/ui/widget.zod.d.ts.map +1 -1
  296. package/json-schema/ai/AIOperationCost.json +79 -0
  297. package/json-schema/ai/AIOrchestrationExecutionResult.json +32 -0
  298. package/json-schema/ai/AgentAction.json +436 -0
  299. package/json-schema/ai/AgentActionResult.json +69 -0
  300. package/json-schema/ai/AgentActionSequence.json +492 -0
  301. package/json-schema/ai/AgentActionSequenceResult.json +143 -0
  302. package/json-schema/ai/ComponentActionParams.json +77 -0
  303. package/json-schema/ai/ComponentActionType.json +20 -0
  304. package/json-schema/ai/ConversationMessage.json +12 -2
  305. package/json-schema/ai/ConversationSession.json +44 -2
  306. package/json-schema/ai/DataActionParams.json +38 -0
  307. package/json-schema/ai/DataActionType.json +18 -0
  308. package/json-schema/ai/FormActionParams.json +36 -0
  309. package/json-schema/ai/FormActionType.json +20 -0
  310. package/json-schema/ai/IntentActionMapping.json +491 -0
  311. package/json-schema/ai/NLQResponse.json +32 -0
  312. package/json-schema/ai/NavigationActionParams.json +56 -0
  313. package/json-schema/ai/NavigationActionType.json +21 -0
  314. package/json-schema/ai/PredictionResult.json +32 -0
  315. package/json-schema/ai/RAGQueryResponse.json +34 -1
  316. package/json-schema/ai/TokenUsage.json +32 -0
  317. package/json-schema/ai/UIActionType.json +63 -0
  318. package/json-schema/ai/ViewActionParams.json +74 -0
  319. package/json-schema/ai/ViewActionType.json +21 -0
  320. package/json-schema/ai/WorkflowActionParams.json +61 -0
  321. package/json-schema/ai/WorkflowActionType.json +18 -0
  322. package/json-schema/api/AckMessage.json +46 -0
  323. package/json-schema/api/ApiEndpoint.json +4 -3
  324. package/json-schema/api/BatchDataRequest.json +93 -0
  325. package/json-schema/api/BatchDataResponse.json +144 -0
  326. package/json-schema/api/BatchEndpointsConfig.json +56 -0
  327. package/json-schema/api/BatchOperationResult.json +57 -0
  328. package/json-schema/api/BatchOperationType.json +15 -0
  329. package/json-schema/api/BatchOptions.json +32 -0
  330. package/json-schema/api/BatchRecord.json +25 -0
  331. package/json-schema/api/BatchUpdateRequest.json +78 -0
  332. package/json-schema/api/BatchUpdateResponse.json +144 -0
  333. package/json-schema/api/CacheControl.json +42 -0
  334. package/json-schema/api/CacheDirective.json +17 -0
  335. package/json-schema/api/CacheInvalidationRequest.json +43 -0
  336. package/json-schema/api/CacheInvalidationResponse.json +31 -0
  337. package/json-schema/api/CacheInvalidationTarget.json +17 -0
  338. package/json-schema/api/CreateDataRequest.json +25 -0
  339. package/json-schema/api/CreateDataResponse.json +30 -0
  340. package/json-schema/api/CreateManyDataRequest.json +28 -0
  341. package/json-schema/api/CreateManyDataResponse.json +33 -0
  342. package/json-schema/api/CreateViewRequest.json +1042 -0
  343. package/json-schema/api/CrudEndpointPattern.json +41 -0
  344. package/json-schema/api/CrudEndpointsConfig.json +106 -0
  345. package/json-schema/api/CrudOperation.json +16 -0
  346. package/json-schema/api/CursorMessage.json +139 -0
  347. package/json-schema/api/CursorPosition.json +112 -0
  348. package/json-schema/api/DeleteDataRequest.json +24 -0
  349. package/json-schema/api/DeleteDataResponse.json +29 -0
  350. package/json-schema/api/DeleteManyDataRequest.json +54 -0
  351. package/json-schema/api/DeleteManyDataResponse.json +144 -0
  352. package/json-schema/api/DeleteManyRequest.json +51 -0
  353. package/json-schema/api/DeleteViewRequest.json +19 -0
  354. package/json-schema/api/DeleteViewResponse.json +19 -0
  355. package/json-schema/api/DocumentState.json +49 -0
  356. package/json-schema/api/ETag.json +24 -0
  357. package/json-schema/api/EditMessage.json +135 -0
  358. package/json-schema/api/EditOperation.json +108 -0
  359. package/json-schema/api/EditOperationType.json +14 -0
  360. package/json-schema/api/EndpointRegistry.json +284 -0
  361. package/json-schema/api/EnhancedApiError.json +226 -0
  362. package/json-schema/api/ErrorCategory.json +20 -0
  363. package/json-schema/api/ErrorMessage.json +44 -0
  364. package/json-schema/api/ErrorResponse.json +259 -0
  365. package/json-schema/api/EventFilter.json +65 -0
  366. package/json-schema/api/EventFilterCondition.json +42 -0
  367. package/json-schema/api/EventMessage.json +55 -0
  368. package/json-schema/api/EventPattern.json +12 -0
  369. package/json-schema/api/EventSubscription.json +105 -0
  370. package/json-schema/api/ExportRequest.json +110 -0
  371. package/json-schema/api/FieldError.json +88 -0
  372. package/json-schema/api/FilterOperator.json +24 -0
  373. package/json-schema/api/FindDataRequest.json +509 -0
  374. package/json-schema/api/FindDataResponse.json +36 -0
  375. package/json-schema/api/GeneratedEndpoint.json +88 -0
  376. package/json-schema/api/GetDataRequest.json +24 -0
  377. package/json-schema/api/GetDataResponse.json +30 -0
  378. package/json-schema/api/GetDiscoveryRequest.json +11 -0
  379. package/json-schema/api/GetDiscoveryResponse.json +38 -0
  380. package/json-schema/api/GetMetaItemCachedRequest.json +77 -0
  381. package/json-schema/api/GetMetaItemCachedResponse.json +85 -0
  382. package/json-schema/api/GetMetaItemRequest.json +24 -0
  383. package/json-schema/api/GetMetaItemResponse.json +27 -0
  384. package/json-schema/api/GetMetaItemsRequest.json +19 -0
  385. package/json-schema/api/GetMetaItemsResponse.json +24 -0
  386. package/json-schema/api/GetMetaTypesRequest.json +11 -0
  387. package/json-schema/api/GetMetaTypesResponse.json +22 -0
  388. package/json-schema/api/GetUiViewRequest.json +28 -0
  389. package/json-schema/api/GetUiViewResponse.json +31 -0
  390. package/json-schema/api/GetViewRequest.json +19 -0
  391. package/json-schema/api/GetViewResponse.json +1103 -0
  392. package/json-schema/api/GraphQLConfig.json +1389 -0
  393. package/json-schema/api/GraphQLDataLoaderConfig.json +101 -0
  394. package/json-schema/api/GraphQLDirectiveConfig.json +108 -0
  395. package/json-schema/api/GraphQLDirectiveLocation.json +30 -0
  396. package/json-schema/api/GraphQLMutationConfig.json +180 -0
  397. package/json-schema/api/GraphQLPersistedQuery.json +151 -0
  398. package/json-schema/api/GraphQLQueryComplexity.json +83 -0
  399. package/json-schema/api/GraphQLQueryConfig.json +231 -0
  400. package/json-schema/api/GraphQLQueryDepthLimit.json +44 -0
  401. package/json-schema/api/GraphQLRateLimit.json +138 -0
  402. package/json-schema/api/GraphQLResolverConfig.json +98 -0
  403. package/json-schema/api/GraphQLScalarType.json +32 -0
  404. package/json-schema/api/GraphQLSubscriptionConfig.json +118 -0
  405. package/json-schema/api/GraphQLTypeConfig.json +113 -0
  406. package/json-schema/api/ListViewsRequest.json +58 -0
  407. package/json-schema/api/ListViewsResponse.json +1132 -0
  408. package/json-schema/api/MetadataCacheRequest.json +58 -0
  409. package/json-schema/api/MetadataCacheResponse.json +85 -0
  410. package/json-schema/api/MetadataEndpointsConfig.json +54 -0
  411. package/json-schema/api/ObjectStackProtocol.json +11 -0
  412. package/json-schema/api/PingMessage.json +31 -0
  413. package/json-schema/api/PongMessage.json +36 -0
  414. package/json-schema/api/PresenceMessage.json +92 -0
  415. package/json-schema/api/PresenceState.json +65 -0
  416. package/json-schema/api/PresenceUpdate.json +35 -0
  417. package/json-schema/api/RateLimit.json +4 -3
  418. package/json-schema/api/RestApiConfig.json +127 -0
  419. package/json-schema/api/RestServerConfig.json +401 -0
  420. package/json-schema/api/RetryStrategy.json +15 -0
  421. package/json-schema/api/RouteGenerationConfig.json +71 -0
  422. package/json-schema/api/RouterConfig.json +22 -9
  423. package/json-schema/api/SavedView.json +1074 -0
  424. package/json-schema/api/SimpleCursorPosition.json +53 -0
  425. package/json-schema/api/SimplePresenceState.json +44 -0
  426. package/json-schema/api/StandardErrorCode.json +62 -0
  427. package/json-schema/api/SubscribeMessage.json +132 -0
  428. package/json-schema/api/UnsubscribeMessage.json +47 -0
  429. package/json-schema/api/UnsubscribeRequest.json +20 -0
  430. package/json-schema/api/UpdateDataRequest.json +30 -0
  431. package/json-schema/api/UpdateDataResponse.json +30 -0
  432. package/json-schema/api/UpdateManyDataRequest.json +70 -0
  433. package/json-schema/api/UpdateManyDataResponse.json +144 -0
  434. package/json-schema/api/UpdateManyRequest.json +67 -0
  435. package/json-schema/api/UpdateViewRequest.json +1041 -0
  436. package/json-schema/api/ViewColumn.json +58 -0
  437. package/json-schema/api/ViewLayout.json +125 -0
  438. package/json-schema/api/ViewResponse.json +1103 -0
  439. package/json-schema/api/ViewType.json +19 -0
  440. package/json-schema/api/ViewVisibility.json +15 -0
  441. package/json-schema/api/WebSocketConfig.json +63 -0
  442. package/json-schema/api/WebSocketEvent.json +40 -0
  443. package/json-schema/api/WebSocketMessage.json +707 -0
  444. package/json-schema/api/WebSocketMessageType.json +21 -0
  445. package/json-schema/api/WebSocketPresenceStatus.json +15 -0
  446. package/json-schema/api/WebSocketServerConfig.json +42 -0
  447. package/json-schema/auth/APIKey.json +34 -0
  448. package/json-schema/auth/ApplicationAuthConfig.json +841 -0
  449. package/json-schema/auth/AuthConfig.json +158 -730
  450. package/json-schema/auth/BasicAuth.json +30 -0
  451. package/json-schema/auth/BearerAuth.json +25 -0
  452. package/json-schema/auth/JWTAuth.json +66 -0
  453. package/json-schema/auth/NoAuth.json +20 -0
  454. package/json-schema/auth/OAuth2.json +62 -0
  455. package/json-schema/auth/SAMLAuth.json +64 -0
  456. package/json-schema/automation/DataDestinationConfig.json +120 -14
  457. package/json-schema/automation/DataSyncConfig.json +120 -14
  458. package/json-schema/automation/TimeTrigger.json +166 -31
  459. package/json-schema/automation/Webhook.json +99 -16
  460. package/json-schema/automation/WebhookTriggerAction.json +166 -31
  461. package/json-schema/automation/WorkflowAction.json +166 -31
  462. package/json-schema/automation/WorkflowRule.json +332 -62
  463. package/json-schema/data/AggregationPipeline.json +99 -0
  464. package/json-schema/data/AggregationStage.json +25 -0
  465. package/json-schema/data/ApiMethod.json +25 -0
  466. package/json-schema/data/CDCConfig.json +37 -0
  467. package/json-schema/data/ComputedFieldCache.json +33 -0
  468. package/json-schema/data/ConsistencyLevel.json +17 -0
  469. package/json-schema/data/DataEngineAggregateOptions.json +80 -0
  470. package/json-schema/data/DataEngineAggregateRequest.json +98 -0
  471. package/json-schema/data/DataEngineBatchRequest.json +699 -0
  472. package/json-schema/data/DataEngineContract.json +12 -0
  473. package/json-schema/data/DataEngineCountOptions.json +44 -0
  474. package/json-schema/data/DataEngineCountRequest.json +61 -0
  475. package/json-schema/data/DataEngineDeleteOptions.json +48 -0
  476. package/json-schema/data/DataEngineDeleteRequest.json +68 -0
  477. package/json-schema/data/DataEngineExecuteRequest.json +24 -0
  478. package/json-schema/data/DataEngineFilter.json +37 -0
  479. package/json-schema/data/DataEngineFindOneRequest.json +133 -0
  480. package/json-schema/data/DataEngineFindRequest.json +133 -0
  481. package/json-schema/data/DataEngineInsertOptions.json +17 -0
  482. package/json-schema/data/DataEngineInsertRequest.json +50 -0
  483. package/json-schema/data/DataEngineQueryOptions.json +116 -0
  484. package/json-schema/data/DataEngineRequest.json +1372 -0
  485. package/json-schema/data/DataEngineSort.json +54 -0
  486. package/json-schema/data/DataEngineUpdateOptions.json +56 -0
  487. package/json-schema/data/DataEngineUpdateRequest.json +81 -0
  488. package/json-schema/data/DataEngineVectorFindRequest.json +74 -0
  489. package/json-schema/data/DataQualityRules.json +45 -0
  490. package/json-schema/data/DataTypeMapping.json +51 -0
  491. package/json-schema/data/Document.json +292 -0
  492. package/json-schema/data/DocumentTemplate.json +78 -0
  493. package/json-schema/data/DocumentValidationSchema.json +39 -0
  494. package/json-schema/data/DocumentVersion.json +50 -0
  495. package/json-schema/data/DriverCapabilities.json +180 -0
  496. package/json-schema/data/DriverConfig.json +243 -0
  497. package/json-schema/data/DriverInterface.json +199 -0
  498. package/json-schema/data/ESignatureConfig.json +74 -0
  499. package/json-schema/data/ExternalDataSource.json +68 -0
  500. package/json-schema/data/ExternalFieldMapping.json +151 -0
  501. package/json-schema/data/ExternalLookup.json +327 -0
  502. package/json-schema/data/Field.json +435 -1
  503. package/json-schema/data/FieldMapping.json +83 -0
  504. package/json-schema/data/FileAttachmentConfig.json +219 -0
  505. package/json-schema/data/FullTextSearch.json +60 -0
  506. package/json-schema/data/Index.json +14 -7
  507. package/json-schema/data/JoinNode.json +55 -0
  508. package/json-schema/data/Mapping.json +639 -0
  509. package/json-schema/data/NoSQLDataTypeMapping.json +63 -0
  510. package/json-schema/data/NoSQLDatabaseType.json +19 -0
  511. package/json-schema/data/NoSQLDriverConfig.json +452 -0
  512. package/json-schema/data/NoSQLIndex.json +87 -0
  513. package/json-schema/data/NoSQLIndexType.json +19 -0
  514. package/json-schema/data/NoSQLOperationType.json +22 -0
  515. package/json-schema/data/NoSQLQueryOptions.json +61 -0
  516. package/json-schema/data/NoSQLTransactionOptions.json +47 -0
  517. package/json-schema/data/Object.json +606 -8
  518. package/json-schema/data/PartitioningConfig.json +38 -0
  519. package/json-schema/data/PoolConfig.json +36 -0
  520. package/json-schema/data/Query.json +55 -0
  521. package/json-schema/data/ReplicationConfig.json +46 -0
  522. package/json-schema/data/SQLDialect.json +17 -0
  523. package/json-schema/data/SQLDriverConfig.json +325 -0
  524. package/json-schema/data/SSLConfig.json +29 -0
  525. package/json-schema/data/ShardingConfig.json +35 -0
  526. package/json-schema/data/SoftDeleteConfig.json +29 -0
  527. package/json-schema/data/TenancyConfig.json +39 -0
  528. package/json-schema/data/TransformType.json +18 -0
  529. package/json-schema/data/VersioningConfig.json +39 -0
  530. package/json-schema/hub/ComposerResponse.json +405 -0
  531. package/json-schema/hub/PluginInstallConfig.json +53 -0
  532. package/json-schema/hub/PluginQualityMetrics.json +101 -0
  533. package/json-schema/hub/PluginRegistryEntry.json +833 -0
  534. package/json-schema/hub/PluginSearchFilters.json +91 -0
  535. package/json-schema/hub/PluginStatistics.json +84 -0
  536. package/json-schema/hub/PluginVendor.json +47 -0
  537. package/json-schema/integration/AckMode.json +15 -0
  538. package/json-schema/integration/ApiVersionConfig.json +32 -0
  539. package/json-schema/integration/Authentication.json +269 -0
  540. package/json-schema/integration/CdcConfig.json +55 -0
  541. package/json-schema/integration/ConflictResolution.json +16 -0
  542. package/json-schema/integration/Connector.json +919 -0
  543. package/json-schema/integration/ConnectorStatus.json +16 -0
  544. package/json-schema/integration/ConnectorType.json +18 -0
  545. package/json-schema/integration/ConsumerConfig.json +67 -0
  546. package/json-schema/integration/DataSyncConfig.json +79 -0
  547. package/json-schema/integration/DatabaseConnector.json +1372 -0
  548. package/json-schema/integration/DatabasePoolConfig.json +53 -0
  549. package/json-schema/integration/DatabaseProvider.json +24 -0
  550. package/json-schema/integration/DatabaseTable.json +216 -0
  551. package/json-schema/integration/DeliveryGuarantee.json +15 -0
  552. package/json-schema/integration/DlqConfig.json +37 -0
  553. package/json-schema/integration/FieldMapping.json +170 -0
  554. package/json-schema/integration/FieldTransform.json +36 -0
  555. package/json-schema/integration/FileAccessPattern.json +17 -0
  556. package/json-schema/integration/FileFilterConfig.json +50 -0
  557. package/json-schema/integration/FileMetadataConfig.json +41 -0
  558. package/json-schema/integration/FileStorageConnector.json +1240 -0
  559. package/json-schema/integration/FileStorageProvider.json +23 -0
  560. package/json-schema/integration/FileVersioningConfig.json +28 -0
  561. package/json-schema/integration/MessageFormat.json +18 -0
  562. package/json-schema/integration/MessageQueueConnector.json +1325 -0
  563. package/json-schema/integration/MessageQueueProvider.json +25 -0
  564. package/json-schema/integration/MultipartUploadConfig.json +36 -0
  565. package/json-schema/integration/ProducerConfig.json +72 -0
  566. package/json-schema/integration/RateLimitConfig.json +69 -0
  567. package/json-schema/integration/RateLimitStrategy.json +16 -0
  568. package/json-schema/integration/RetryConfig.json +73 -0
  569. package/json-schema/integration/RetryStrategy.json +16 -0
  570. package/json-schema/integration/SaasConnector.json +1267 -0
  571. package/json-schema/integration/SaasObjectType.json +218 -0
  572. package/json-schema/integration/SaasProvider.json +24 -0
  573. package/json-schema/integration/SslConfig.json +34 -0
  574. package/json-schema/integration/StorageBucket.json +99 -0
  575. package/json-schema/integration/SyncStrategy.json +16 -0
  576. package/json-schema/integration/TopicQueue.json +252 -0
  577. package/json-schema/integration/WebhookConfig.json +201 -0
  578. package/json-schema/integration/WebhookEvent.json +20 -0
  579. package/json-schema/integration/WebhookSignatureAlgorithm.json +15 -0
  580. package/json-schema/permission/PermissionSet.json +80 -0
  581. package/json-schema/shared/CorsConfig.json +57 -0
  582. package/json-schema/shared/FieldMapping.json +142 -0
  583. package/json-schema/shared/HttpMethod.json +18 -0
  584. package/json-schema/shared/RateLimitConfig.json +27 -0
  585. package/json-schema/shared/StaticMount.json +28 -0
  586. package/json-schema/shared/TransformType.json +120 -0
  587. package/json-schema/system/AccessControlConfig.json +106 -0
  588. package/json-schema/system/AnalyzerConfig.json +41 -0
  589. package/json-schema/system/AuditLogConfig.json +48 -0
  590. package/json-schema/system/AwarenessEvent.json +51 -0
  591. package/json-schema/system/AwarenessSession.json +117 -0
  592. package/json-schema/system/AwarenessUpdate.json +35 -0
  593. package/json-schema/system/AwarenessUserState.json +77 -0
  594. package/json-schema/system/BucketConfig.json +332 -0
  595. package/json-schema/system/CRDTMergeResult.json +295 -0
  596. package/json-schema/system/CRDTState.json +258 -0
  597. package/json-schema/system/CRDTType.json +20 -0
  598. package/json-schema/system/CacheConfig.json +121 -0
  599. package/json-schema/system/CacheInvalidation.json +43 -0
  600. package/json-schema/system/CacheStrategy.json +16 -0
  601. package/json-schema/system/CacheTier.json +52 -0
  602. package/json-schema/system/CapabilityConformanceLevel.json +16 -0
  603. package/json-schema/system/ChangeImpact.json +55 -0
  604. package/json-schema/system/ChangePriority.json +15 -0
  605. package/json-schema/system/ChangeRequest.json +313 -0
  606. package/json-schema/system/ChangeStatus.json +21 -0
  607. package/json-schema/system/ChangeType.json +15 -0
  608. package/json-schema/system/CollaborationMode.json +15 -0
  609. package/json-schema/system/CollaborationSession.json +575 -0
  610. package/json-schema/system/CollaborationSessionConfig.json +86 -0
  611. package/json-schema/system/CollaborativeCursor.json +189 -0
  612. package/json-schema/system/ComplianceConfig.json +202 -0
  613. package/json-schema/system/ConsoleDestinationConfig.json +29 -0
  614. package/json-schema/system/ConsumerConfig.json +34 -0
  615. package/json-schema/system/CounterOperation.json +30 -0
  616. package/json-schema/system/CursorColorPreset.json +21 -0
  617. package/json-schema/system/CursorSelection.json +66 -0
  618. package/json-schema/system/CursorStyle.json +59 -0
  619. package/json-schema/system/CursorUpdate.json +101 -0
  620. package/json-schema/system/DeadLetterQueue.json +26 -0
  621. package/json-schema/system/EmailTemplate.json +69 -0
  622. package/json-schema/system/EncryptionAlgorithm.json +14 -0
  623. package/json-schema/system/EncryptionConfig.json +93 -0
  624. package/json-schema/system/EventPhase.json +15 -0
  625. package/json-schema/system/ExtendedLogLevel.json +18 -0
  626. package/json-schema/system/ExtensionPoint.json +67 -0
  627. package/json-schema/system/ExternalServiceDestinationConfig.json +51 -0
  628. package/json-schema/system/FacetConfig.json +30 -0
  629. package/json-schema/system/FieldEncryption.json +110 -0
  630. package/json-schema/system/FileDestinationConfig.json +56 -0
  631. package/json-schema/system/FileMetadata.json +14 -7
  632. package/json-schema/system/GCounter.json +28 -0
  633. package/json-schema/system/GDPRConfig.json +71 -0
  634. package/json-schema/system/HIPAAConfig.json +45 -0
  635. package/json-schema/system/HealthStatus.json +33 -0
  636. package/json-schema/system/HistogramBucketConfig.json +92 -0
  637. package/json-schema/system/HookRegisteredEvent.json +30 -0
  638. package/json-schema/system/HookTriggeredEvent.json +34 -0
  639. package/json-schema/system/HttpDestinationConfig.json +111 -0
  640. package/json-schema/system/HttpServerConfig.json +156 -0
  641. package/json-schema/system/InAppNotification.json +48 -0
  642. package/json-schema/system/KernelEventBase.json +19 -0
  643. package/json-schema/system/KernelReadyEvent.json +29 -0
  644. package/json-schema/system/KernelShutdownEvent.json +23 -0
  645. package/json-schema/system/KeyManagementProvider.json +16 -0
  646. package/json-schema/system/KeyRotationPolicy.json +29 -0
  647. package/json-schema/system/LWWRegister.json +51 -0
  648. package/json-schema/system/LifecycleAction.json +15 -0
  649. package/json-schema/system/LifecyclePolicyConfig.json +84 -0
  650. package/json-schema/system/LifecyclePolicyRule.json +68 -0
  651. package/json-schema/system/LogDestination.json +295 -0
  652. package/json-schema/system/LogDestinationType.json +26 -0
  653. package/json-schema/system/LogEnrichmentConfig.json +59 -0
  654. package/json-schema/system/LoggerConfig.json +4 -0
  655. package/json-schema/system/LoggingConfig.json +613 -0
  656. package/json-schema/system/Manifest.json +405 -0
  657. package/json-schema/system/MaskingConfig.json +77 -0
  658. package/json-schema/system/MaskingRule.json +57 -0
  659. package/json-schema/system/MaskingStrategy.json +18 -0
  660. package/json-schema/system/MessageQueueConfig.json +143 -0
  661. package/json-schema/system/MessageQueueProvider.json +17 -0
  662. package/json-schema/system/MetadataCollectionInfo.json +53 -0
  663. package/json-schema/system/MetadataExportOptions.json +49 -0
  664. package/json-schema/system/MetadataFormat.json +15 -0
  665. package/json-schema/system/MetadataImportOptions.json +42 -0
  666. package/json-schema/system/MetadataLoadOptions.json +52 -0
  667. package/json-schema/system/MetadataLoadResult.json +86 -0
  668. package/json-schema/system/MetadataLoaderContract.json +48 -0
  669. package/json-schema/system/MetadataManagerConfig.json +108 -0
  670. package/json-schema/system/MetadataSaveOptions.json +64 -0
  671. package/json-schema/system/MetadataSaveResult.json +42 -0
  672. package/json-schema/system/MetadataStats.json +51 -0
  673. package/json-schema/system/MetadataWatchEvent.json +48 -0
  674. package/json-schema/system/MetricAggregationConfig.json +69 -0
  675. package/json-schema/system/MetricAggregationType.json +25 -0
  676. package/json-schema/system/MetricDataPoint.json +135 -0
  677. package/json-schema/system/MetricDefinition.json +193 -0
  678. package/json-schema/system/MetricExportConfig.json +93 -0
  679. package/json-schema/system/MetricLabels.json +13 -0
  680. package/json-schema/system/MetricType.json +16 -0
  681. package/json-schema/system/MetricUnit.json +32 -0
  682. package/json-schema/system/MetricsConfig.json +718 -0
  683. package/json-schema/system/MiddlewareConfig.json +70 -0
  684. package/json-schema/system/MiddlewareType.json +18 -0
  685. package/json-schema/system/MultipartUploadConfig.json +49 -0
  686. package/json-schema/system/NotificationChannel.json +18 -0
  687. package/json-schema/system/NotificationConfig.json +343 -0
  688. package/json-schema/system/ORSet.json +57 -0
  689. package/json-schema/system/ORSetElement.json +39 -0
  690. package/json-schema/system/OTComponent.json +76 -0
  691. package/json-schema/system/OTOperation.json +128 -0
  692. package/json-schema/system/OTOperationType.json +14 -0
  693. package/json-schema/system/OTTransformResult.json +150 -0
  694. package/json-schema/system/ObjectMetadata.json +90 -0
  695. package/json-schema/system/ObjectStorageConfig.json +475 -0
  696. package/json-schema/system/OpenTelemetryCompatibility.json +196 -0
  697. package/json-schema/system/OtelExporterType.json +22 -0
  698. package/json-schema/system/PCIDSSConfig.json +47 -0
  699. package/json-schema/system/PNCounter.json +37 -0
  700. package/json-schema/system/PluginCapability.json +127 -0
  701. package/json-schema/system/PluginCapabilityManifest.json +410 -0
  702. package/json-schema/system/PluginDependency.json +39 -0
  703. package/json-schema/system/PluginErrorEvent.json +46 -0
  704. package/json-schema/system/PluginEventBase.json +24 -0
  705. package/json-schema/system/PluginInterface.json +141 -0
  706. package/json-schema/system/PluginLifecycleEventType.json +31 -0
  707. package/json-schema/system/PluginLifecyclePhaseEvent.json +38 -0
  708. package/json-schema/system/PluginMetadata.json +37 -0
  709. package/json-schema/system/PluginRegisteredEvent.json +28 -0
  710. package/json-schema/system/PluginStartupResult.json +73 -0
  711. package/json-schema/system/PresignedUrlConfig.json +49 -0
  712. package/json-schema/system/ProtocolFeature.json +34 -0
  713. package/json-schema/system/ProtocolReference.json +56 -0
  714. package/json-schema/system/ProtocolVersion.json +30 -0
  715. package/json-schema/system/PushNotification.json +60 -0
  716. package/json-schema/system/RollbackPlan.json +51 -0
  717. package/json-schema/system/RouteHandlerMetadata.json +85 -0
  718. package/json-schema/system/SMSTemplate.json +36 -0
  719. package/json-schema/system/SamplingDecision.json +15 -0
  720. package/json-schema/system/SamplingStrategyType.json +20 -0
  721. package/json-schema/system/ScopeConfig.json +28 -0
  722. package/json-schema/system/ScopeInfo.json +39 -0
  723. package/json-schema/system/SearchConfig.json +195 -0
  724. package/json-schema/system/SearchIndexConfig.json +78 -0
  725. package/json-schema/system/SearchProvider.json +16 -0
  726. package/json-schema/system/ServerCapabilities.json +63 -0
  727. package/json-schema/system/ServerEvent.json +39 -0
  728. package/json-schema/system/ServerEventType.json +18 -0
  729. package/json-schema/system/ServerStatus.json +93 -0
  730. package/json-schema/system/ServiceFactoryRegistration.json +44 -0
  731. package/json-schema/system/ServiceLevelIndicator.json +105 -0
  732. package/json-schema/system/ServiceLevelObjective.json +170 -0
  733. package/json-schema/system/ServiceMetadata.json +43 -0
  734. package/json-schema/system/ServiceRegisteredEvent.json +28 -0
  735. package/json-schema/system/ServiceRegistryConfig.json +39 -0
  736. package/json-schema/system/ServiceScopeType.json +15 -0
  737. package/json-schema/system/ServiceUnregisteredEvent.json +24 -0
  738. package/json-schema/system/Span.json +387 -0
  739. package/json-schema/system/SpanAttributeValue.json +38 -0
  740. package/json-schema/system/SpanAttributes.json +42 -0
  741. package/json-schema/system/SpanEvent.json +62 -0
  742. package/json-schema/system/SpanKind.json +17 -0
  743. package/json-schema/system/SpanLink.json +110 -0
  744. package/json-schema/system/SpanStatus.json +15 -0
  745. package/json-schema/system/StartupOptions.json +36 -0
  746. package/json-schema/system/StartupOrchestrationResult.json +104 -0
  747. package/json-schema/system/StorageAcl.json +18 -0
  748. package/json-schema/system/StorageClass.json +17 -0
  749. package/json-schema/system/StorageConnection.json +62 -0
  750. package/json-schema/system/StorageProvider.json +21 -0
  751. package/json-schema/system/StorageScope.json +5 -1
  752. package/json-schema/system/StructuredLogEntry.json +191 -0
  753. package/json-schema/system/TextCRDTOperation.json +52 -0
  754. package/json-schema/system/TextCRDTState.json +105 -0
  755. package/json-schema/system/TimeSeries.json +69 -0
  756. package/json-schema/system/TimeSeriesDataPoint.json +33 -0
  757. package/json-schema/system/TopicConfig.json +39 -0
  758. package/json-schema/system/TraceContext.json +64 -0
  759. package/json-schema/system/TraceContextPropagation.json +79 -0
  760. package/json-schema/system/TraceFlags.json +12 -0
  761. package/json-schema/system/TracePropagationFormat.json +19 -0
  762. package/json-schema/system/TraceSamplingConfig.json +186 -0
  763. package/json-schema/system/TraceState.json +23 -0
  764. package/json-schema/system/TracingConfig.json +536 -0
  765. package/json-schema/system/UserActivityStatus.json +15 -0
  766. package/json-schema/system/ValidationError.json +28 -0
  767. package/json-schema/system/ValidationResult.json +71 -0
  768. package/json-schema/system/ValidationWarning.json +28 -0
  769. package/json-schema/system/VectorClock.json +23 -0
  770. package/json-schema/ui/ChartConfig.json +74 -0
  771. package/json-schema/ui/ChartType.json +21 -8
  772. package/json-schema/ui/Dashboard.json +90 -8
  773. package/json-schema/ui/DashboardWidget.json +90 -8
  774. package/json-schema/ui/FieldWidgetProps.json +435 -1
  775. package/json-schema/ui/Page.json +1 -1
  776. package/json-schema/ui/PageComponent.json +1 -1
  777. package/json-schema/ui/PageRegion.json +1 -1
  778. package/json-schema/ui/Report.json +48 -5
  779. package/json-schema/ui/ReportChart.json +48 -5
  780. package/package.json +5 -1
  781. package/dist/api/protocol.d.ts +0 -65
  782. package/dist/api/protocol.d.ts.map +0 -1
  783. package/dist/api/protocol.js +0 -8
  784. package/dist/automation/connector.zod.d.ts.map +0 -1
  785. package/dist/system/data-engine.zod.d.ts +0 -59
  786. package/dist/system/data-engine.zod.d.ts.map +0 -1
  787. package/dist/system/data-engine.zod.js +0 -38
  788. package/dist/system/driver/mongo.zod.d.ts +0 -107
  789. package/dist/system/driver/mongo.zod.d.ts.map +0 -1
  790. package/dist/system/driver/mongo.zod.js +0 -80
  791. package/dist/system/driver/postgres.zod.d.ts.map +0 -1
  792. package/dist/system/driver.zod.d.ts.map +0 -1
  793. package/dist/system/logger.zod.d.ts +0 -111
  794. package/dist/system/logger.zod.d.ts.map +0 -1
  795. package/dist/system/logger.zod.js +0 -75
  796. package/dist/system/scoped-storage.zod.d.ts +0 -81
  797. package/dist/system/scoped-storage.zod.d.ts.map +0 -1
  798. package/dist/system/scoped-storage.zod.js +0 -66
  799. package/dist/ui/block.zod.d.ts +0 -265
  800. package/dist/ui/block.zod.d.ts.map +0 -1
  801. package/dist/ui/block.zod.js +0 -90
  802. package/json-schema/automation/FieldMapping.json +0 -36
  803. package/json-schema/system/DataEngineFilter.json +0 -11
  804. package/json-schema/system/DataEngineQueryOptions.json +0 -48
  805. package/json-schema/system/DriverCapabilities.json +0 -79
  806. package/json-schema/system/DriverInterface.json +0 -98
  807. package/json-schema/system/MongoConfig.json +0 -82
  808. package/json-schema/system/PostgresConfig.json +0 -98
  809. package/json-schema/system/ScopedStorageConfig.json +0 -54
  810. package/json-schema/system/StorageAdapterType.json +0 -17
  811. /package/dist/{system → data}/driver/postgres.zod.js +0 -0
  812. /package/json-schema/{system → data}/DriverOptions.json +0 -0
@@ -0,0 +1,2636 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Data Engine Protocol
4
+ *
5
+ * Defines the standard interface for data persistence engines in ObjectStack.
6
+ * This protocol abstracts the underlying storage mechanism (SQL, NoSQL, API, Memory),
7
+ * allowing the ObjectQL engine to execute standardized CRUD and Aggregation operations
8
+ * regardless of where the data resides.
9
+ *
10
+ * The Data Engine acts as the "Driver" layer in the Hexagonal Architecture.
11
+ */
12
+ /**
13
+ * Data Engine Query filter conditions
14
+ * Supports simple key-value map or complex Logic/Field expressions (DSL)
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>]>;
17
+ /**
18
+ * Sort order definition
19
+ * Supports:
20
+ * - { name: 'asc' }
21
+ * - { name: 1 }
22
+ * - [{ field: 'name', order: 'asc' }]
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<{
25
+ 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">]>;
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<{
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) */
51
+ limit: z.ZodOptional<z.ZodNumber>;
52
+ /** Skip number of results (OFFSET) */
53
+ skip: z.ZodOptional<z.ZodNumber>;
54
+ /**
55
+ * Maximum number of results (OData style)
56
+ * Takes precedence over limit if both specified
57
+ */
58
+ 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
+ }>;
87
+ export declare const DataEngineInsertOptionsSchema: z.ZodObject<{
88
+ /**
89
+ * Return the inserted record(s)?
90
+ * Some drivers support RETURNING clause for efficiency.
91
+ * Default: true
92
+ */
93
+ returning: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
94
+ }, "strip", z.ZodTypeAny, {
95
+ returning?: boolean | undefined;
96
+ }, {
97
+ returning?: boolean | undefined;
98
+ }>;
99
+ 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
+ */
106
+ upsert: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
107
+ /**
108
+ * Update multiple records?
109
+ * If false, only the first match is updated.
110
+ * Default: false
111
+ */
112
+ multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
113
+ /**
114
+ * Return the updated record(s)?
115
+ * Default: false (returns update count/status)
116
+ */
117
+ 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
+ }>;
129
+ 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
+ */
137
+ 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
+ }>;
145
+ 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
+ */
154
+ aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
155
+ field: z.ZodString;
156
+ method: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct"]>;
157
+ 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
+ }>;
184
+ 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
+ }>;
192
+ export declare const DataEngineContractSchema: z.ZodObject<{
193
+ 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<{
200
+ 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) */
210
+ limit: z.ZodOptional<z.ZodNumber>;
211
+ /** Skip number of results (OFFSET) */
212
+ skip: z.ZodOptional<z.ZodNumber>;
213
+ /**
214
+ * Maximum number of results (OData style)
215
+ * Takes precedence over limit if both specified
216
+ */
217
+ 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">>>;
246
+ 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<{
253
+ 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) */
263
+ limit: z.ZodOptional<z.ZodNumber>;
264
+ /** Skip number of results (OFFSET) */
265
+ skip: z.ZodOptional<z.ZodNumber>;
266
+ /**
267
+ * Maximum number of results (OData style)
268
+ * Takes precedence over limit if both specified
269
+ */
270
+ 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
+ */
305
+ 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>>;
311
+ 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
+ */
318
+ upsert: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
319
+ /**
320
+ * Update multiple records?
321
+ * If false, only the first match is updated.
322
+ * Default: false
323
+ */
324
+ multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
325
+ /**
326
+ * Return the updated record(s)?
327
+ * Default: false (returns update count/status)
328
+ */
329
+ 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>>;
341
+ 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
+ */
349
+ 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>>;
357
+ 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>>;
365
+ 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
+ */
374
+ aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
375
+ field: z.ZodString;
376
+ method: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct"]>;
377
+ 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
+ }>;
505
+ /**
506
+ * Data Engine RPC Request (Virtual ObjectQL)
507
+ *
508
+ * This schema defines the serialized format for executing Data Engine operations
509
+ * via HTTP, Message Queue, or Plugin boundaries.
510
+ *
511
+ * It enables "Virtual Data Engines" where the implementation resides in a
512
+ * separate microservice or plugin.
513
+ */
514
+ export declare const DataEngineFindRequestSchema: z.ZodObject<{
515
+ method: z.ZodLiteral<"find">;
516
+ object: z.ZodString;
517
+ 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<{
524
+ 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) */
534
+ limit: z.ZodOptional<z.ZodNumber>;
535
+ /** Skip number of results (OFFSET) */
536
+ skip: z.ZodOptional<z.ZodNumber>;
537
+ /**
538
+ * Maximum number of results (OData style)
539
+ * Takes precedence over limit if both specified
540
+ */
541
+ 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
+ }>;
601
+ export declare const DataEngineFindOneRequestSchema: z.ZodObject<{
602
+ method: z.ZodLiteral<"findOne">;
603
+ object: z.ZodString;
604
+ 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<{
611
+ 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) */
621
+ limit: z.ZodOptional<z.ZodNumber>;
622
+ /** Skip number of results (OFFSET) */
623
+ skip: z.ZodOptional<z.ZodNumber>;
624
+ /**
625
+ * Maximum number of results (OData style)
626
+ * Takes precedence over limit if both specified
627
+ */
628
+ 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
+ }>;
688
+ export declare const DataEngineInsertRequestSchema: z.ZodObject<{
689
+ method: z.ZodLiteral<"insert">;
690
+ object: z.ZodString;
691
+ data: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
692
+ options: z.ZodOptional<z.ZodObject<{
693
+ /**
694
+ * Return the inserted record(s)?
695
+ * Some drivers support RETURNING clause for efficiency.
696
+ * Default: true
697
+ */
698
+ 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
+ }>;
719
+ export declare const DataEngineUpdateRequestSchema: z.ZodObject<{
720
+ method: z.ZodLiteral<"update">;
721
+ object: z.ZodString;
722
+ data: z.ZodRecord<z.ZodString, z.ZodAny>;
723
+ id: z.ZodOptional<z.ZodAny>;
724
+ 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
+ */
731
+ upsert: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
732
+ /**
733
+ * Update multiple records?
734
+ * If false, only the first match is updated.
735
+ * Default: false
736
+ */
737
+ multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
738
+ /**
739
+ * Return the updated record(s)?
740
+ * Default: false (returns update count/status)
741
+ */
742
+ 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
+ }>;
777
+ export declare const DataEngineDeleteRequestSchema: z.ZodObject<{
778
+ method: z.ZodLiteral<"delete">;
779
+ object: z.ZodString;
780
+ id: z.ZodOptional<z.ZodAny>;
781
+ 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
+ */
789
+ 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
+ }>;
814
+ export declare const DataEngineCountRequestSchema: z.ZodObject<{
815
+ method: z.ZodLiteral<"count">;
816
+ object: z.ZodString;
817
+ 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
+ }>;
838
+ export declare const DataEngineAggregateRequestSchema: z.ZodObject<{
839
+ method: z.ZodLiteral<"aggregate">;
840
+ object: z.ZodString;
841
+ 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
+ */
850
+ aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
851
+ field: z.ZodString;
852
+ method: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct"]>;
853
+ 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
+ }>;
905
+ /**
906
+ * Data Engine Execute Request (Raw Command)
907
+ * Execute a raw command/query native to the driver (e.g. SQL, Shell, Remote API).
908
+ */
909
+ export declare const DataEngineExecuteRequestSchema: z.ZodObject<{
910
+ method: z.ZodLiteral<"execute">;
911
+ /** The abstract command (string SQL, or JSON object) */
912
+ command: z.ZodAny;
913
+ /** Optional options */
914
+ 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
+ }>;
924
+ /**
925
+ * Data Engine Vector Find Request (AI/RAG)
926
+ * Perform a similarity search using vector embeddings.
927
+ */
928
+ export declare const DataEngineVectorFindRequestSchema: z.ZodObject<{
929
+ method: z.ZodLiteral<"vectorFind">;
930
+ 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 */
938
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
939
+ /** Minimum similarity score (0-1) or distance threshold */
940
+ 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
+ }>;
958
+ /**
959
+ * Data Engine Batch Request
960
+ * Execute multiple operations in a single transaction/request efficiently.
961
+ */
962
+ export declare const DataEngineBatchRequestSchema: z.ZodObject<{
963
+ method: z.ZodLiteral<"batch">;
964
+ requests: z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
965
+ method: z.ZodLiteral<"find">;
966
+ object: z.ZodString;
967
+ 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<{
974
+ 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) */
984
+ limit: z.ZodOptional<z.ZodNumber>;
985
+ /** Skip number of results (OFFSET) */
986
+ skip: z.ZodOptional<z.ZodNumber>;
987
+ /**
988
+ * Maximum number of results (OData style)
989
+ * Takes precedence over limit if both specified
990
+ */
991
+ 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<{
1051
+ method: z.ZodLiteral<"findOne">;
1052
+ object: z.ZodString;
1053
+ 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<{
1060
+ 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) */
1070
+ limit: z.ZodOptional<z.ZodNumber>;
1071
+ /** Skip number of results (OFFSET) */
1072
+ skip: z.ZodOptional<z.ZodNumber>;
1073
+ /**
1074
+ * Maximum number of results (OData style)
1075
+ * Takes precedence over limit if both specified
1076
+ */
1077
+ 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<{
1137
+ method: z.ZodLiteral<"insert">;
1138
+ object: z.ZodString;
1139
+ data: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1140
+ options: z.ZodOptional<z.ZodObject<{
1141
+ /**
1142
+ * Return the inserted record(s)?
1143
+ * Some drivers support RETURNING clause for efficiency.
1144
+ * Default: true
1145
+ */
1146
+ 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<{
1167
+ method: z.ZodLiteral<"update">;
1168
+ object: z.ZodString;
1169
+ data: z.ZodRecord<z.ZodString, z.ZodAny>;
1170
+ id: z.ZodOptional<z.ZodAny>;
1171
+ 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
+ */
1178
+ upsert: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1179
+ /**
1180
+ * Update multiple records?
1181
+ * If false, only the first match is updated.
1182
+ * Default: false
1183
+ */
1184
+ multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1185
+ /**
1186
+ * Return the updated record(s)?
1187
+ * Default: false (returns update count/status)
1188
+ */
1189
+ 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<{
1224
+ method: z.ZodLiteral<"delete">;
1225
+ object: z.ZodString;
1226
+ id: z.ZodOptional<z.ZodAny>;
1227
+ 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
+ */
1235
+ 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<{
1260
+ method: z.ZodLiteral<"count">;
1261
+ object: z.ZodString;
1262
+ 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<{
1283
+ method: z.ZodLiteral<"aggregate">;
1284
+ object: z.ZodString;
1285
+ 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
+ */
1294
+ aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1295
+ field: z.ZodString;
1296
+ method: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct"]>;
1297
+ 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<{
1349
+ method: z.ZodLiteral<"execute">;
1350
+ /** The abstract command (string SQL, or JSON object) */
1351
+ command: z.ZodAny;
1352
+ /** Optional options */
1353
+ 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<{
1363
+ method: z.ZodLiteral<"vectorFind">;
1364
+ 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 */
1372
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1373
+ /** Minimum similarity score (0-1) or distance threshold */
1374
+ 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
+ */
1397
+ 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
+ }>;
1579
+ /**
1580
+ * Unified Data Engine Request Union
1581
+ * Use this to validate any incoming "Virtual ObjectQL" request.
1582
+ */
1583
+ export declare const DataEngineRequestSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
1584
+ method: z.ZodLiteral<"find">;
1585
+ object: z.ZodString;
1586
+ 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<{
1593
+ 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) */
1603
+ limit: z.ZodOptional<z.ZodNumber>;
1604
+ /** Skip number of results (OFFSET) */
1605
+ skip: z.ZodOptional<z.ZodNumber>;
1606
+ /**
1607
+ * Maximum number of results (OData style)
1608
+ * Takes precedence over limit if both specified
1609
+ */
1610
+ 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<{
1670
+ method: z.ZodLiteral<"findOne">;
1671
+ object: z.ZodString;
1672
+ 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<{
1679
+ 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) */
1689
+ limit: z.ZodOptional<z.ZodNumber>;
1690
+ /** Skip number of results (OFFSET) */
1691
+ skip: z.ZodOptional<z.ZodNumber>;
1692
+ /**
1693
+ * Maximum number of results (OData style)
1694
+ * Takes precedence over limit if both specified
1695
+ */
1696
+ 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<{
1756
+ method: z.ZodLiteral<"insert">;
1757
+ object: z.ZodString;
1758
+ data: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
1759
+ options: z.ZodOptional<z.ZodObject<{
1760
+ /**
1761
+ * Return the inserted record(s)?
1762
+ * Some drivers support RETURNING clause for efficiency.
1763
+ * Default: true
1764
+ */
1765
+ 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<{
1786
+ method: z.ZodLiteral<"update">;
1787
+ object: z.ZodString;
1788
+ data: z.ZodRecord<z.ZodString, z.ZodAny>;
1789
+ id: z.ZodOptional<z.ZodAny>;
1790
+ 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
+ */
1797
+ upsert: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1798
+ /**
1799
+ * Update multiple records?
1800
+ * If false, only the first match is updated.
1801
+ * Default: false
1802
+ */
1803
+ multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1804
+ /**
1805
+ * Return the updated record(s)?
1806
+ * Default: false (returns update count/status)
1807
+ */
1808
+ 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<{
1843
+ method: z.ZodLiteral<"delete">;
1844
+ object: z.ZodString;
1845
+ id: z.ZodOptional<z.ZodAny>;
1846
+ 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
+ */
1854
+ 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<{
1879
+ method: z.ZodLiteral<"count">;
1880
+ object: z.ZodString;
1881
+ 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<{
1902
+ method: z.ZodLiteral<"aggregate">;
1903
+ object: z.ZodString;
1904
+ 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
+ */
1913
+ aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1914
+ field: z.ZodString;
1915
+ method: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct"]>;
1916
+ 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<{
1968
+ method: z.ZodLiteral<"batch">;
1969
+ requests: z.ZodArray<z.ZodDiscriminatedUnion<"method", [z.ZodObject<{
1970
+ method: z.ZodLiteral<"find">;
1971
+ object: z.ZodString;
1972
+ 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<{
1979
+ 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) */
1989
+ limit: z.ZodOptional<z.ZodNumber>;
1990
+ /** Skip number of results (OFFSET) */
1991
+ skip: z.ZodOptional<z.ZodNumber>;
1992
+ /**
1993
+ * Maximum number of results (OData style)
1994
+ * Takes precedence over limit if both specified
1995
+ */
1996
+ 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<{
2056
+ method: z.ZodLiteral<"findOne">;
2057
+ object: z.ZodString;
2058
+ 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<{
2065
+ 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) */
2075
+ limit: z.ZodOptional<z.ZodNumber>;
2076
+ /** Skip number of results (OFFSET) */
2077
+ skip: z.ZodOptional<z.ZodNumber>;
2078
+ /**
2079
+ * Maximum number of results (OData style)
2080
+ * Takes precedence over limit if both specified
2081
+ */
2082
+ 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<{
2142
+ method: z.ZodLiteral<"insert">;
2143
+ object: z.ZodString;
2144
+ data: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>;
2145
+ options: z.ZodOptional<z.ZodObject<{
2146
+ /**
2147
+ * Return the inserted record(s)?
2148
+ * Some drivers support RETURNING clause for efficiency.
2149
+ * Default: true
2150
+ */
2151
+ 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<{
2172
+ method: z.ZodLiteral<"update">;
2173
+ object: z.ZodString;
2174
+ data: z.ZodRecord<z.ZodString, z.ZodAny>;
2175
+ id: z.ZodOptional<z.ZodAny>;
2176
+ 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
+ */
2183
+ upsert: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2184
+ /**
2185
+ * Update multiple records?
2186
+ * If false, only the first match is updated.
2187
+ * Default: false
2188
+ */
2189
+ multi: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2190
+ /**
2191
+ * Return the updated record(s)?
2192
+ * Default: false (returns update count/status)
2193
+ */
2194
+ 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<{
2229
+ method: z.ZodLiteral<"delete">;
2230
+ object: z.ZodString;
2231
+ id: z.ZodOptional<z.ZodAny>;
2232
+ 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
+ */
2240
+ 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<{
2265
+ method: z.ZodLiteral<"count">;
2266
+ object: z.ZodString;
2267
+ 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<{
2288
+ method: z.ZodLiteral<"aggregate">;
2289
+ object: z.ZodString;
2290
+ 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
+ */
2299
+ aggregations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2300
+ field: z.ZodString;
2301
+ method: z.ZodEnum<["count", "sum", "avg", "min", "max", "count_distinct"]>;
2302
+ 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<{
2354
+ method: z.ZodLiteral<"execute">;
2355
+ /** The abstract command (string SQL, or JSON object) */
2356
+ command: z.ZodAny;
2357
+ /** Optional options */
2358
+ 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<{
2368
+ method: z.ZodLiteral<"vectorFind">;
2369
+ 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 */
2377
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
2378
+ /** Minimum similarity score (0-1) or distance threshold */
2379
+ 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
+ */
2402
+ 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<{
2584
+ method: z.ZodLiteral<"execute">;
2585
+ /** The abstract command (string SQL, or JSON object) */
2586
+ command: z.ZodAny;
2587
+ /** Optional options */
2588
+ 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<{
2598
+ method: z.ZodLiteral<"vectorFind">;
2599
+ 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 */
2607
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
2608
+ /** Minimum similarity score (0-1) or distance threshold */
2609
+ 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
+ }>]>;
2627
+ export type DataEngineFilter = z.infer<typeof DataEngineFilterSchema>;
2628
+ export type DataEngineSort = z.infer<typeof DataEngineSortSchema>;
2629
+ export type DataEngineQueryOptions = z.infer<typeof DataEngineQueryOptionsSchema>;
2630
+ export type DataEngineInsertOptions = z.infer<typeof DataEngineInsertOptionsSchema>;
2631
+ export type DataEngineUpdateOptions = z.infer<typeof DataEngineUpdateOptionsSchema>;
2632
+ export type DataEngineDeleteOptions = z.infer<typeof DataEngineDeleteOptionsSchema>;
2633
+ export type DataEngineAggregateOptions = z.infer<typeof DataEngineAggregateOptionsSchema>;
2634
+ export type DataEngineCountOptions = z.infer<typeof DataEngineCountOptionsSchema>;
2635
+ export type DataEngineRequest = z.infer<typeof DataEngineRequestSchema>;
2636
+ //# sourceMappingURL=data-engine.zod.d.ts.map