@objectstack/spec 0.6.1 → 0.7.2

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 (853) 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 +125 -125
  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 +73 -47
  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 +90 -64
  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 +100 -74
  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 +1102 -0
  28. package/dist/api/batch.zod.d.ts.map +1 -0
  29. package/dist/api/batch.zod.js +209 -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 +383 -4
  49. package/dist/api/odata.zod.d.ts.map +1 -1
  50. package/dist/api/odata.zod.js +14 -1
  51. package/dist/api/protocol.zod.d.ts +9375 -0
  52. package/dist/api/protocol.zod.d.ts.map +1 -0
  53. package/dist/api/protocol.zod.js +376 -0
  54. package/dist/api/realtime.zod.d.ts +135 -2
  55. package/dist/api/realtime.zod.d.ts.map +1 -1
  56. package/dist/api/realtime.zod.js +14 -1
  57. package/dist/api/rest-server.zod.d.ts +2330 -0
  58. package/dist/api/rest-server.zod.d.ts.map +1 -0
  59. package/dist/api/rest-server.zod.js +424 -0
  60. package/dist/api/router.zod.d.ts +39 -32
  61. package/dist/api/router.zod.d.ts.map +1 -1
  62. package/dist/api/router.zod.js +5 -23
  63. package/dist/api/view-storage.zod.d.ts +8220 -0
  64. package/dist/api/view-storage.zod.d.ts.map +1 -0
  65. package/dist/api/view-storage.zod.js +243 -0
  66. package/dist/api/websocket.zod.d.ts +1740 -0
  67. package/dist/api/websocket.zod.d.ts.map +1 -0
  68. package/dist/api/websocket.zod.js +470 -0
  69. package/dist/auth/config.zod.d.ts +655 -304
  70. package/dist/auth/config.zod.d.ts.map +1 -1
  71. package/dist/auth/config.zod.js +149 -7
  72. package/dist/auth/identity.zod.d.ts +7 -7
  73. package/dist/auth/organization.zod.d.ts +6 -6
  74. package/dist/auth/policy.zod.d.ts +3 -3
  75. package/dist/auth/scim.zod.d.ts +83 -83
  76. package/dist/automation/approval.zod.d.ts +18 -18
  77. package/dist/automation/etl.zod.d.ts +53 -23
  78. package/dist/automation/etl.zod.d.ts.map +1 -1
  79. package/dist/automation/etl.zod.js +31 -1
  80. package/dist/automation/flow.zod.d.ts +26 -26
  81. package/dist/automation/index.d.ts +1 -1
  82. package/dist/automation/index.d.ts.map +1 -1
  83. package/dist/automation/index.js +1 -1
  84. package/dist/automation/sync.zod.d.ts +382 -167
  85. package/dist/automation/sync.zod.d.ts.map +1 -1
  86. package/dist/automation/sync.zod.js +38 -31
  87. package/dist/automation/{connector.zod.d.ts → trigger-registry.zod.d.ts} +77 -62
  88. package/dist/automation/trigger-registry.zod.d.ts.map +1 -0
  89. package/dist/automation/{connector.zod.js → trigger-registry.zod.js} +36 -21
  90. package/dist/automation/webhook.zod.d.ts +106 -19
  91. package/dist/automation/webhook.zod.d.ts.map +1 -1
  92. package/dist/automation/webhook.zod.js +58 -13
  93. package/dist/automation/workflow.zod.d.ts +1089 -265
  94. package/dist/automation/workflow.zod.d.ts.map +1 -1
  95. package/dist/automation/workflow.zod.js +3 -6
  96. package/dist/contracts/data-engine.d.ts +61 -0
  97. package/dist/contracts/data-engine.d.ts.map +1 -0
  98. package/dist/contracts/data-engine.js +2 -0
  99. package/dist/contracts/http-server.d.ts +119 -0
  100. package/dist/contracts/http-server.d.ts.map +1 -0
  101. package/dist/contracts/http-server.js +12 -0
  102. package/dist/contracts/index.d.ts +14 -0
  103. package/dist/contracts/index.d.ts.map +1 -0
  104. package/dist/contracts/index.js +29 -0
  105. package/dist/contracts/logger.d.ts +63 -0
  106. package/dist/contracts/logger.d.ts.map +1 -0
  107. package/dist/contracts/logger.js +2 -0
  108. package/dist/contracts/plugin-lifecycle-events.d.ts +150 -0
  109. package/dist/contracts/plugin-lifecycle-events.d.ts.map +1 -0
  110. package/dist/contracts/plugin-lifecycle-events.js +10 -0
  111. package/dist/contracts/plugin-validator.d.ts +106 -0
  112. package/dist/contracts/plugin-validator.d.ts.map +1 -0
  113. package/dist/contracts/plugin-validator.js +8 -0
  114. package/dist/contracts/service-registry.d.ts +94 -0
  115. package/dist/contracts/service-registry.d.ts.map +1 -0
  116. package/dist/contracts/service-registry.js +11 -0
  117. package/dist/contracts/startup-orchestrator.d.ts +122 -0
  118. package/dist/contracts/startup-orchestrator.d.ts.map +1 -0
  119. package/dist/contracts/startup-orchestrator.js +2 -0
  120. package/dist/data/data-engine.zod.d.ts +2636 -0
  121. package/dist/data/data-engine.zod.d.ts.map +1 -0
  122. package/dist/data/data-engine.zod.js +282 -0
  123. package/dist/data/document.zod.d.ts +746 -0
  124. package/dist/data/document.zod.d.ts.map +1 -0
  125. package/dist/data/document.zod.js +326 -0
  126. package/dist/data/driver/mongo.zod.d.ts +82 -0
  127. package/dist/data/driver/mongo.zod.d.ts.map +1 -0
  128. package/dist/data/driver/mongo.zod.js +68 -0
  129. package/dist/{system → data}/driver/postgres.zod.d.ts +4 -4
  130. package/dist/data/driver/postgres.zod.d.ts.map +1 -0
  131. package/dist/data/driver-nosql.zod.d.ts +1008 -0
  132. package/dist/data/driver-nosql.zod.d.ts.map +1 -0
  133. package/dist/data/driver-nosql.zod.js +417 -0
  134. package/dist/data/driver-sql.zod.d.ts +652 -0
  135. package/dist/data/driver-sql.zod.d.ts.map +1 -0
  136. package/dist/data/driver-sql.zod.js +150 -0
  137. package/dist/{system → data}/driver.zod.d.ts +1538 -249
  138. package/dist/data/driver.zod.d.ts.map +1 -0
  139. package/dist/{system → data}/driver.zod.js +137 -13
  140. package/dist/data/external-lookup.zod.d.ts +662 -0
  141. package/dist/data/external-lookup.zod.d.ts.map +1 -0
  142. package/dist/data/external-lookup.zod.js +223 -0
  143. package/dist/data/field.zod.d.ts +3896 -107
  144. package/dist/data/field.zod.d.ts.map +1 -1
  145. package/dist/data/field.zod.js +161 -2
  146. package/dist/data/hook.zod.d.ts +4 -4
  147. package/dist/data/index.d.ts +7 -0
  148. package/dist/data/index.d.ts.map +1 -1
  149. package/dist/data/index.js +9 -0
  150. package/dist/data/mapping.zod.d.ts +85 -17
  151. package/dist/data/mapping.zod.d.ts.map +1 -1
  152. package/dist/data/object.zod.d.ts +2117 -77
  153. package/dist/data/object.zod.d.ts.map +1 -1
  154. package/dist/data/object.zod.js +131 -16
  155. package/dist/data/query.zod.d.ts +112 -0
  156. package/dist/data/query.zod.d.ts.map +1 -1
  157. package/dist/data/query.zod.js +47 -1
  158. package/dist/data/validation.zod.d.ts +2 -2
  159. package/dist/hub/composer.zod.d.ts +869 -68
  160. package/dist/hub/composer.zod.d.ts.map +1 -1
  161. package/dist/hub/index.d.ts +1 -0
  162. package/dist/hub/index.d.ts.map +1 -1
  163. package/dist/hub/index.js +1 -0
  164. package/dist/hub/license.zod.d.ts +2 -2
  165. package/dist/hub/marketplace.zod.d.ts +3 -2
  166. package/dist/hub/marketplace.zod.d.ts.map +1 -1
  167. package/dist/hub/plugin-registry.zod.d.ts +1681 -0
  168. package/dist/hub/plugin-registry.zod.d.ts.map +1 -0
  169. package/dist/hub/plugin-registry.zod.js +350 -0
  170. package/dist/hub/space.zod.d.ts +24 -23
  171. package/dist/hub/space.zod.d.ts.map +1 -1
  172. package/dist/hub/tenant.zod.d.ts +44 -44
  173. package/dist/index.d.ts +3 -0
  174. package/dist/index.d.ts.map +1 -1
  175. package/dist/index.js +11 -1
  176. package/dist/integration/connector/database.zod.d.ts +1666 -0
  177. package/dist/integration/connector/database.zod.d.ts.map +1 -0
  178. package/dist/integration/connector/database.zod.js +303 -0
  179. package/dist/integration/connector/file-storage.zod.d.ts +1386 -0
  180. package/dist/integration/connector/file-storage.zod.d.ts.map +1 -0
  181. package/dist/integration/connector/file-storage.zod.js +346 -0
  182. package/dist/integration/connector/message-queue.zod.d.ts +1729 -0
  183. package/dist/integration/connector/message-queue.zod.d.ts.map +1 -0
  184. package/dist/integration/connector/message-queue.zod.js +428 -0
  185. package/dist/integration/connector/saas.zod.d.ts +1441 -0
  186. package/dist/integration/connector/saas.zod.d.ts.map +1 -0
  187. package/dist/integration/connector/saas.zod.js +224 -0
  188. package/dist/integration/connector.zod.d.ts +1571 -0
  189. package/dist/integration/connector.zod.d.ts.map +1 -0
  190. package/dist/integration/connector.zod.js +426 -0
  191. package/dist/integration/index.d.ts +15 -0
  192. package/dist/integration/index.d.ts.map +1 -0
  193. package/dist/integration/index.js +32 -0
  194. package/dist/permission/permission.zod.d.ts +140 -6
  195. package/dist/permission/permission.zod.d.ts.map +1 -1
  196. package/dist/permission/permission.zod.js +48 -0
  197. package/dist/permission/rls.zod.d.ts +8 -8
  198. package/dist/permission/sharing.zod.d.ts +14 -14
  199. package/dist/shared/http.zod.d.ts +140 -0
  200. package/dist/shared/http.zod.d.ts.map +1 -0
  201. package/dist/shared/http.zod.js +133 -0
  202. package/dist/shared/index.d.ts +2 -0
  203. package/dist/shared/index.d.ts.map +1 -1
  204. package/dist/shared/index.js +2 -0
  205. package/dist/shared/mapping.zod.d.ts +226 -0
  206. package/dist/shared/mapping.zod.d.ts.map +1 -0
  207. package/dist/shared/mapping.zod.js +103 -0
  208. package/dist/stack.zod.d.ts +9222 -1785
  209. package/dist/stack.zod.d.ts.map +1 -1
  210. package/dist/system/audit.zod.d.ts +35 -35
  211. package/dist/system/cache.zod.d.ts +151 -0
  212. package/dist/system/cache.zod.d.ts.map +1 -0
  213. package/dist/system/cache.zod.js +57 -0
  214. package/dist/system/change-management.zod.d.ts +626 -0
  215. package/dist/system/change-management.zod.d.ts.map +1 -0
  216. package/dist/system/change-management.zod.js +329 -0
  217. package/dist/system/collaboration.zod.d.ts +2099 -0
  218. package/dist/system/collaboration.zod.d.ts.map +1 -0
  219. package/dist/system/collaboration.zod.js +392 -0
  220. package/dist/system/compliance.zod.d.ts +366 -0
  221. package/dist/system/compliance.zod.d.ts.map +1 -0
  222. package/dist/system/compliance.zod.js +70 -0
  223. package/dist/system/context.zod.d.ts +5 -5
  224. package/dist/system/encryption.zod.d.ts +227 -0
  225. package/dist/system/encryption.zod.d.ts.map +1 -0
  226. package/dist/system/encryption.zod.js +43 -0
  227. package/dist/system/events.zod.d.ts +2536 -0
  228. package/dist/system/events.zod.d.ts.map +1 -1
  229. package/dist/system/events.zod.js +582 -1
  230. package/dist/system/feature.zod.d.ts +12 -12
  231. package/dist/system/http-server.zod.d.ts +735 -0
  232. package/dist/system/http-server.zod.d.ts.map +1 -0
  233. package/dist/system/http-server.zod.js +300 -0
  234. package/dist/system/index.d.ts +21 -6
  235. package/dist/system/index.d.ts.map +1 -1
  236. package/dist/system/index.js +33 -7
  237. package/dist/system/job.zod.d.ts +5 -4
  238. package/dist/system/job.zod.d.ts.map +1 -1
  239. package/dist/system/logging.zod.d.ts +2186 -0
  240. package/dist/system/logging.zod.d.ts.map +1 -0
  241. package/dist/system/logging.zod.js +564 -0
  242. package/dist/system/manifest.zod.d.ts +659 -14
  243. package/dist/system/manifest.zod.d.ts.map +1 -1
  244. package/dist/system/manifest.zod.js +8 -0
  245. package/dist/system/masking.zod.d.ts +87 -0
  246. package/dist/system/masking.zod.d.ts.map +1 -0
  247. package/dist/system/masking.zod.js +30 -0
  248. package/dist/system/message-queue.zod.d.ts +177 -0
  249. package/dist/system/message-queue.zod.d.ts.map +1 -0
  250. package/dist/system/message-queue.zod.js +46 -0
  251. package/dist/system/metadata-loader.zod.d.ts +641 -0
  252. package/dist/system/metadata-loader.zod.d.ts.map +1 -0
  253. package/dist/system/metadata-loader.zod.js +373 -0
  254. package/dist/system/metrics.zod.d.ts +1965 -0
  255. package/dist/system/metrics.zod.d.ts.map +1 -0
  256. package/dist/system/metrics.zod.js +585 -0
  257. package/dist/system/notification.zod.d.ts +725 -0
  258. package/dist/system/notification.zod.d.ts.map +1 -0
  259. package/dist/system/notification.zod.js +335 -0
  260. package/dist/system/object-storage.zod.d.ts +1722 -0
  261. package/dist/system/object-storage.zod.d.ts.map +1 -0
  262. package/dist/system/object-storage.zod.js +591 -0
  263. package/dist/system/plugin-capability.zod.d.ts +1130 -0
  264. package/dist/system/plugin-capability.zod.d.ts.map +1 -0
  265. package/dist/system/plugin-capability.zod.js +271 -0
  266. package/dist/system/plugin-lifecycle-events.zod.d.ts +382 -0
  267. package/dist/system/plugin-lifecycle-events.zod.d.ts.map +1 -0
  268. package/dist/system/plugin-lifecycle-events.zod.js +284 -0
  269. package/dist/system/plugin-validator.zod.d.ts +245 -0
  270. package/dist/system/plugin-validator.zod.d.ts.map +1 -0
  271. package/dist/system/plugin-validator.zod.js +136 -0
  272. package/dist/system/plugin.zod.d.ts +86 -86
  273. package/dist/system/search-engine.zod.d.ts +256 -0
  274. package/dist/system/search-engine.zod.d.ts.map +1 -0
  275. package/dist/system/search-engine.zod.js +50 -0
  276. package/dist/system/service-registry.zod.d.ts +247 -0
  277. package/dist/system/service-registry.zod.d.ts.map +1 -0
  278. package/dist/system/service-registry.zod.js +218 -0
  279. package/dist/system/startup-orchestrator.zod.d.ts +376 -0
  280. package/dist/system/startup-orchestrator.zod.d.ts.map +1 -0
  281. package/dist/system/startup-orchestrator.zod.js +171 -0
  282. package/dist/system/tracing.zod.d.ts +1881 -0
  283. package/dist/system/tracing.zod.d.ts.map +1 -0
  284. package/dist/system/tracing.zod.js +567 -0
  285. package/dist/system/worker.zod.d.ts +1458 -0
  286. package/dist/system/worker.zod.d.ts.map +1 -0
  287. package/dist/system/worker.zod.js +479 -0
  288. package/dist/ui/action.zod.d.ts +10 -10
  289. package/dist/ui/app.zod.d.ts +6 -6
  290. package/dist/ui/chart.zod.d.ts +41 -0
  291. package/dist/ui/chart.zod.d.ts.map +1 -0
  292. package/dist/ui/chart.zod.js +66 -0
  293. package/dist/ui/component.zod.d.ts +2 -2
  294. package/dist/ui/dashboard.zod.d.ts +108 -18
  295. package/dist/ui/dashboard.zod.d.ts.map +1 -1
  296. package/dist/ui/dashboard.zod.js +5 -25
  297. package/dist/ui/index.d.ts +3 -1
  298. package/dist/ui/index.d.ts.map +1 -1
  299. package/dist/ui/index.js +3 -1
  300. package/dist/ui/page.zod.d.ts +2 -2
  301. package/dist/ui/page.zod.js +1 -1
  302. package/dist/ui/report.zod.d.ts +62 -12
  303. package/dist/ui/report.zod.d.ts.map +1 -1
  304. package/dist/ui/report.zod.js +5 -5
  305. package/dist/ui/theme.zod.d.ts +6 -6
  306. package/dist/ui/view.zod.d.ts +316 -316
  307. package/dist/ui/widget.zod.d.ts +825 -31
  308. package/dist/ui/widget.zod.d.ts.map +1 -1
  309. package/json-schema/ai/AIOperationCost.json +79 -0
  310. package/json-schema/ai/AIOrchestrationExecutionResult.json +32 -0
  311. package/json-schema/ai/AgentAction.json +436 -0
  312. package/json-schema/ai/AgentActionResult.json +69 -0
  313. package/json-schema/ai/AgentActionSequence.json +492 -0
  314. package/json-schema/ai/AgentActionSequenceResult.json +143 -0
  315. package/json-schema/ai/ComponentActionParams.json +77 -0
  316. package/json-schema/ai/ComponentActionType.json +20 -0
  317. package/json-schema/ai/ConversationMessage.json +12 -2
  318. package/json-schema/ai/ConversationSession.json +44 -2
  319. package/json-schema/ai/DataActionParams.json +38 -0
  320. package/json-schema/ai/DataActionType.json +18 -0
  321. package/json-schema/ai/FormActionParams.json +36 -0
  322. package/json-schema/ai/FormActionType.json +20 -0
  323. package/json-schema/ai/IntentActionMapping.json +491 -0
  324. package/json-schema/ai/NLQResponse.json +32 -0
  325. package/json-schema/ai/NavigationActionParams.json +56 -0
  326. package/json-schema/ai/NavigationActionType.json +21 -0
  327. package/json-schema/ai/PredictionResult.json +32 -0
  328. package/json-schema/ai/RAGQueryResponse.json +34 -1
  329. package/json-schema/ai/TokenUsage.json +32 -0
  330. package/json-schema/ai/UIActionType.json +63 -0
  331. package/json-schema/ai/ViewActionParams.json +74 -0
  332. package/json-schema/ai/ViewActionType.json +21 -0
  333. package/json-schema/ai/WorkflowActionParams.json +61 -0
  334. package/json-schema/ai/WorkflowActionType.json +18 -0
  335. package/json-schema/api/AckMessage.json +46 -0
  336. package/json-schema/api/ApiEndpoint.json +4 -3
  337. package/json-schema/api/BatchConfig.json +51 -0
  338. package/json-schema/api/BatchDataRequest.json +93 -0
  339. package/json-schema/api/BatchDataResponse.json +144 -0
  340. package/json-schema/api/BatchEndpointsConfig.json +56 -0
  341. package/json-schema/api/BatchOperationResult.json +57 -0
  342. package/json-schema/api/BatchOperationType.json +15 -0
  343. package/json-schema/api/BatchOptions.json +32 -0
  344. package/json-schema/api/BatchRecord.json +25 -0
  345. package/json-schema/api/BatchUpdateRequest.json +78 -0
  346. package/json-schema/api/BatchUpdateResponse.json +144 -0
  347. package/json-schema/api/CacheControl.json +42 -0
  348. package/json-schema/api/CacheDirective.json +17 -0
  349. package/json-schema/api/CacheInvalidationRequest.json +43 -0
  350. package/json-schema/api/CacheInvalidationResponse.json +31 -0
  351. package/json-schema/api/CacheInvalidationTarget.json +17 -0
  352. package/json-schema/api/CreateDataRequest.json +25 -0
  353. package/json-schema/api/CreateDataResponse.json +30 -0
  354. package/json-schema/api/CreateManyDataRequest.json +28 -0
  355. package/json-schema/api/CreateManyDataResponse.json +33 -0
  356. package/json-schema/api/CreateViewRequest.json +1042 -0
  357. package/json-schema/api/CrudEndpointPattern.json +41 -0
  358. package/json-schema/api/CrudEndpointsConfig.json +106 -0
  359. package/json-schema/api/CrudOperation.json +16 -0
  360. package/json-schema/api/CursorMessage.json +139 -0
  361. package/json-schema/api/CursorPosition.json +112 -0
  362. package/json-schema/api/DeleteDataRequest.json +24 -0
  363. package/json-schema/api/DeleteDataResponse.json +29 -0
  364. package/json-schema/api/DeleteManyDataRequest.json +54 -0
  365. package/json-schema/api/DeleteManyDataResponse.json +144 -0
  366. package/json-schema/api/DeleteManyRequest.json +51 -0
  367. package/json-schema/api/DeleteViewRequest.json +19 -0
  368. package/json-schema/api/DeleteViewResponse.json +19 -0
  369. package/json-schema/api/DocumentState.json +49 -0
  370. package/json-schema/api/ETag.json +24 -0
  371. package/json-schema/api/EditMessage.json +135 -0
  372. package/json-schema/api/EditOperation.json +108 -0
  373. package/json-schema/api/EditOperationType.json +14 -0
  374. package/json-schema/api/EndpointRegistry.json +284 -0
  375. package/json-schema/api/EnhancedApiError.json +226 -0
  376. package/json-schema/api/ErrorCategory.json +20 -0
  377. package/json-schema/api/ErrorMessage.json +44 -0
  378. package/json-schema/api/ErrorResponse.json +259 -0
  379. package/json-schema/api/EventFilter.json +65 -0
  380. package/json-schema/api/EventFilterCondition.json +42 -0
  381. package/json-schema/api/EventMessage.json +55 -0
  382. package/json-schema/api/EventPattern.json +12 -0
  383. package/json-schema/api/EventSubscription.json +105 -0
  384. package/json-schema/api/ExportRequest.json +110 -0
  385. package/json-schema/api/FieldError.json +88 -0
  386. package/json-schema/api/FilterOperator.json +24 -0
  387. package/json-schema/api/FindDataRequest.json +509 -0
  388. package/json-schema/api/FindDataResponse.json +36 -0
  389. package/json-schema/api/GeneratedEndpoint.json +88 -0
  390. package/json-schema/api/GetDataRequest.json +24 -0
  391. package/json-schema/api/GetDataResponse.json +30 -0
  392. package/json-schema/api/GetDiscoveryRequest.json +11 -0
  393. package/json-schema/api/GetDiscoveryResponse.json +38 -0
  394. package/json-schema/api/GetMetaItemCachedRequest.json +77 -0
  395. package/json-schema/api/GetMetaItemCachedResponse.json +85 -0
  396. package/json-schema/api/GetMetaItemRequest.json +24 -0
  397. package/json-schema/api/GetMetaItemResponse.json +27 -0
  398. package/json-schema/api/GetMetaItemsRequest.json +19 -0
  399. package/json-schema/api/GetMetaItemsResponse.json +24 -0
  400. package/json-schema/api/GetMetaTypesRequest.json +11 -0
  401. package/json-schema/api/GetMetaTypesResponse.json +22 -0
  402. package/json-schema/api/GetUiViewRequest.json +28 -0
  403. package/json-schema/api/GetUiViewResponse.json +31 -0
  404. package/json-schema/api/GetViewRequest.json +19 -0
  405. package/json-schema/api/GetViewResponse.json +1103 -0
  406. package/json-schema/api/GraphQLConfig.json +1389 -0
  407. package/json-schema/api/GraphQLDataLoaderConfig.json +101 -0
  408. package/json-schema/api/GraphQLDirectiveConfig.json +108 -0
  409. package/json-schema/api/GraphQLDirectiveLocation.json +30 -0
  410. package/json-schema/api/GraphQLMutationConfig.json +180 -0
  411. package/json-schema/api/GraphQLPersistedQuery.json +151 -0
  412. package/json-schema/api/GraphQLQueryComplexity.json +83 -0
  413. package/json-schema/api/GraphQLQueryConfig.json +231 -0
  414. package/json-schema/api/GraphQLQueryDepthLimit.json +44 -0
  415. package/json-schema/api/GraphQLRateLimit.json +138 -0
  416. package/json-schema/api/GraphQLResolverConfig.json +98 -0
  417. package/json-schema/api/GraphQLScalarType.json +32 -0
  418. package/json-schema/api/GraphQLSubscriptionConfig.json +118 -0
  419. package/json-schema/api/GraphQLTypeConfig.json +113 -0
  420. package/json-schema/api/ListViewsRequest.json +58 -0
  421. package/json-schema/api/ListViewsResponse.json +1132 -0
  422. package/json-schema/api/MetadataCacheRequest.json +58 -0
  423. package/json-schema/api/MetadataCacheResponse.json +85 -0
  424. package/json-schema/api/MetadataEndpointsConfig.json +54 -0
  425. package/json-schema/api/ODataConfig.json +132 -0
  426. package/json-schema/api/ObjectStackProtocol.json +11 -0
  427. package/json-schema/api/PingMessage.json +31 -0
  428. package/json-schema/api/PongMessage.json +36 -0
  429. package/json-schema/api/PresenceMessage.json +92 -0
  430. package/json-schema/api/PresenceState.json +65 -0
  431. package/json-schema/api/PresenceUpdate.json +35 -0
  432. package/json-schema/api/RateLimit.json +4 -3
  433. package/json-schema/api/RealtimeConfig.json +90 -0
  434. package/json-schema/api/RestApiConfig.json +127 -0
  435. package/json-schema/api/RestServerConfig.json +401 -0
  436. package/json-schema/api/RetryStrategy.json +15 -0
  437. package/json-schema/api/RouteGenerationConfig.json +71 -0
  438. package/json-schema/api/RouterConfig.json +22 -9
  439. package/json-schema/api/SavedView.json +1074 -0
  440. package/json-schema/api/SimpleCursorPosition.json +53 -0
  441. package/json-schema/api/SimplePresenceState.json +44 -0
  442. package/json-schema/api/StandardErrorCode.json +62 -0
  443. package/json-schema/api/SubscribeMessage.json +132 -0
  444. package/json-schema/api/UnsubscribeMessage.json +47 -0
  445. package/json-schema/api/UnsubscribeRequest.json +20 -0
  446. package/json-schema/api/UpdateDataRequest.json +30 -0
  447. package/json-schema/api/UpdateDataResponse.json +30 -0
  448. package/json-schema/api/UpdateManyDataRequest.json +70 -0
  449. package/json-schema/api/UpdateManyDataResponse.json +144 -0
  450. package/json-schema/api/UpdateManyRequest.json +67 -0
  451. package/json-schema/api/UpdateViewRequest.json +1041 -0
  452. package/json-schema/api/ViewColumn.json +58 -0
  453. package/json-schema/api/ViewLayout.json +125 -0
  454. package/json-schema/api/ViewResponse.json +1103 -0
  455. package/json-schema/api/ViewType.json +19 -0
  456. package/json-schema/api/ViewVisibility.json +15 -0
  457. package/json-schema/api/WebSocketConfig.json +63 -0
  458. package/json-schema/api/WebSocketEvent.json +40 -0
  459. package/json-schema/api/WebSocketMessage.json +707 -0
  460. package/json-schema/api/WebSocketMessageType.json +21 -0
  461. package/json-schema/api/WebSocketPresenceStatus.json +15 -0
  462. package/json-schema/api/WebSocketServerConfig.json +42 -0
  463. package/json-schema/auth/APIKey.json +34 -0
  464. package/json-schema/auth/ApplicationAuthConfig.json +841 -0
  465. package/json-schema/auth/AuthConfig.json +158 -730
  466. package/json-schema/auth/BasicAuth.json +30 -0
  467. package/json-schema/auth/BearerAuth.json +25 -0
  468. package/json-schema/auth/JWTAuth.json +66 -0
  469. package/json-schema/auth/NoAuth.json +20 -0
  470. package/json-schema/auth/OAuth2.json +62 -0
  471. package/json-schema/auth/SAMLAuth.json +64 -0
  472. package/json-schema/automation/DataDestinationConfig.json +120 -14
  473. package/json-schema/automation/DataSyncConfig.json +120 -14
  474. package/json-schema/automation/TimeTrigger.json +166 -31
  475. package/json-schema/automation/Webhook.json +99 -16
  476. package/json-schema/automation/WebhookTriggerAction.json +166 -31
  477. package/json-schema/automation/WorkflowAction.json +166 -31
  478. package/json-schema/automation/WorkflowRule.json +332 -62
  479. package/json-schema/data/AggregationPipeline.json +99 -0
  480. package/json-schema/data/AggregationStage.json +25 -0
  481. package/json-schema/data/ApiMethod.json +25 -0
  482. package/json-schema/data/CDCConfig.json +37 -0
  483. package/json-schema/data/ComputedFieldCache.json +33 -0
  484. package/json-schema/data/ConsistencyLevel.json +17 -0
  485. package/json-schema/data/DataEngineAggregateOptions.json +80 -0
  486. package/json-schema/data/DataEngineAggregateRequest.json +98 -0
  487. package/json-schema/data/DataEngineBatchRequest.json +699 -0
  488. package/json-schema/data/DataEngineContract.json +12 -0
  489. package/json-schema/data/DataEngineCountOptions.json +44 -0
  490. package/json-schema/data/DataEngineCountRequest.json +61 -0
  491. package/json-schema/data/DataEngineDeleteOptions.json +48 -0
  492. package/json-schema/data/DataEngineDeleteRequest.json +68 -0
  493. package/json-schema/data/DataEngineExecuteRequest.json +24 -0
  494. package/json-schema/data/DataEngineFilter.json +37 -0
  495. package/json-schema/data/DataEngineFindOneRequest.json +133 -0
  496. package/json-schema/data/DataEngineFindRequest.json +133 -0
  497. package/json-schema/data/DataEngineInsertOptions.json +17 -0
  498. package/json-schema/data/DataEngineInsertRequest.json +50 -0
  499. package/json-schema/data/DataEngineQueryOptions.json +116 -0
  500. package/json-schema/data/DataEngineRequest.json +1372 -0
  501. package/json-schema/data/DataEngineSort.json +54 -0
  502. package/json-schema/data/DataEngineUpdateOptions.json +56 -0
  503. package/json-schema/data/DataEngineUpdateRequest.json +81 -0
  504. package/json-schema/data/DataEngineVectorFindRequest.json +74 -0
  505. package/json-schema/data/DataQualityRules.json +45 -0
  506. package/json-schema/data/DataTypeMapping.json +51 -0
  507. package/json-schema/data/Document.json +292 -0
  508. package/json-schema/data/DocumentTemplate.json +78 -0
  509. package/json-schema/data/DocumentValidationSchema.json +39 -0
  510. package/json-schema/data/DocumentVersion.json +50 -0
  511. package/json-schema/data/DriverCapabilities.json +180 -0
  512. package/json-schema/data/DriverConfig.json +243 -0
  513. package/json-schema/data/DriverInterface.json +199 -0
  514. package/json-schema/data/ESignatureConfig.json +74 -0
  515. package/json-schema/data/ExternalDataSource.json +68 -0
  516. package/json-schema/data/ExternalFieldMapping.json +151 -0
  517. package/json-schema/data/ExternalLookup.json +327 -0
  518. package/json-schema/data/Field.json +435 -1
  519. package/json-schema/data/FieldMapping.json +83 -0
  520. package/json-schema/data/FileAttachmentConfig.json +219 -0
  521. package/json-schema/data/FullTextSearch.json +60 -0
  522. package/json-schema/data/Index.json +14 -7
  523. package/json-schema/data/JoinNode.json +55 -0
  524. package/json-schema/data/Mapping.json +639 -0
  525. package/json-schema/data/NoSQLDataTypeMapping.json +63 -0
  526. package/json-schema/data/NoSQLDatabaseType.json +19 -0
  527. package/json-schema/data/NoSQLDriverConfig.json +452 -0
  528. package/json-schema/data/NoSQLIndex.json +87 -0
  529. package/json-schema/data/NoSQLIndexType.json +19 -0
  530. package/json-schema/data/NoSQLOperationType.json +22 -0
  531. package/json-schema/data/NoSQLQueryOptions.json +61 -0
  532. package/json-schema/data/NoSQLTransactionOptions.json +47 -0
  533. package/json-schema/data/Object.json +610 -9
  534. package/json-schema/data/PartitioningConfig.json +38 -0
  535. package/json-schema/data/PoolConfig.json +36 -0
  536. package/json-schema/data/Query.json +55 -0
  537. package/json-schema/data/ReplicationConfig.json +46 -0
  538. package/json-schema/data/SQLDialect.json +17 -0
  539. package/json-schema/data/SQLDriverConfig.json +325 -0
  540. package/json-schema/data/SSLConfig.json +29 -0
  541. package/json-schema/data/ShardingConfig.json +35 -0
  542. package/json-schema/data/SoftDeleteConfig.json +29 -0
  543. package/json-schema/data/TenancyConfig.json +39 -0
  544. package/json-schema/data/TransformType.json +18 -0
  545. package/json-schema/data/VersioningConfig.json +39 -0
  546. package/json-schema/hub/ComposerResponse.json +405 -0
  547. package/json-schema/hub/PluginInstallConfig.json +53 -0
  548. package/json-schema/hub/PluginQualityMetrics.json +101 -0
  549. package/json-schema/hub/PluginRegistryEntry.json +833 -0
  550. package/json-schema/hub/PluginSearchFilters.json +91 -0
  551. package/json-schema/hub/PluginStatistics.json +84 -0
  552. package/json-schema/hub/PluginVendor.json +47 -0
  553. package/json-schema/integration/AckMode.json +15 -0
  554. package/json-schema/integration/ApiVersionConfig.json +32 -0
  555. package/json-schema/integration/Authentication.json +269 -0
  556. package/json-schema/integration/CdcConfig.json +55 -0
  557. package/json-schema/integration/ConflictResolution.json +16 -0
  558. package/json-schema/integration/Connector.json +919 -0
  559. package/json-schema/integration/ConnectorStatus.json +16 -0
  560. package/json-schema/integration/ConnectorType.json +18 -0
  561. package/json-schema/integration/ConsumerConfig.json +67 -0
  562. package/json-schema/integration/DataSyncConfig.json +79 -0
  563. package/json-schema/integration/DatabaseConnector.json +1372 -0
  564. package/json-schema/integration/DatabasePoolConfig.json +53 -0
  565. package/json-schema/integration/DatabaseProvider.json +24 -0
  566. package/json-schema/integration/DatabaseTable.json +216 -0
  567. package/json-schema/integration/DeliveryGuarantee.json +15 -0
  568. package/json-schema/integration/DlqConfig.json +37 -0
  569. package/json-schema/integration/FieldMapping.json +170 -0
  570. package/json-schema/integration/FieldTransform.json +36 -0
  571. package/json-schema/integration/FileAccessPattern.json +17 -0
  572. package/json-schema/integration/FileFilterConfig.json +50 -0
  573. package/json-schema/integration/FileMetadataConfig.json +41 -0
  574. package/json-schema/integration/FileStorageConnector.json +1240 -0
  575. package/json-schema/integration/FileStorageProvider.json +23 -0
  576. package/json-schema/integration/FileVersioningConfig.json +28 -0
  577. package/json-schema/integration/MessageFormat.json +18 -0
  578. package/json-schema/integration/MessageQueueConnector.json +1325 -0
  579. package/json-schema/integration/MessageQueueProvider.json +25 -0
  580. package/json-schema/integration/MultipartUploadConfig.json +36 -0
  581. package/json-schema/integration/ProducerConfig.json +72 -0
  582. package/json-schema/integration/RateLimitConfig.json +69 -0
  583. package/json-schema/integration/RateLimitStrategy.json +16 -0
  584. package/json-schema/integration/RetryConfig.json +73 -0
  585. package/json-schema/integration/RetryStrategy.json +16 -0
  586. package/json-schema/integration/SaasConnector.json +1267 -0
  587. package/json-schema/integration/SaasObjectType.json +218 -0
  588. package/json-schema/integration/SaasProvider.json +24 -0
  589. package/json-schema/integration/SslConfig.json +34 -0
  590. package/json-schema/integration/StorageBucket.json +99 -0
  591. package/json-schema/integration/SyncStrategy.json +16 -0
  592. package/json-schema/integration/TopicQueue.json +252 -0
  593. package/json-schema/integration/WebhookConfig.json +201 -0
  594. package/json-schema/integration/WebhookEvent.json +20 -0
  595. package/json-schema/integration/WebhookSignatureAlgorithm.json +15 -0
  596. package/json-schema/permission/PermissionSet.json +80 -0
  597. package/json-schema/shared/CorsConfig.json +57 -0
  598. package/json-schema/shared/FieldMapping.json +142 -0
  599. package/json-schema/shared/HttpMethod.json +18 -0
  600. package/json-schema/shared/RateLimitConfig.json +27 -0
  601. package/json-schema/shared/StaticMount.json +28 -0
  602. package/json-schema/shared/TransformType.json +120 -0
  603. package/json-schema/system/AccessControlConfig.json +106 -0
  604. package/json-schema/system/AnalyzerConfig.json +41 -0
  605. package/json-schema/system/AuditLogConfig.json +48 -0
  606. package/json-schema/system/AwarenessEvent.json +51 -0
  607. package/json-schema/system/AwarenessSession.json +117 -0
  608. package/json-schema/system/AwarenessUpdate.json +35 -0
  609. package/json-schema/system/AwarenessUserState.json +77 -0
  610. package/json-schema/system/BatchProgress.json +72 -0
  611. package/json-schema/system/BatchTask.json +63 -0
  612. package/json-schema/system/BucketConfig.json +332 -0
  613. package/json-schema/system/CRDTMergeResult.json +295 -0
  614. package/json-schema/system/CRDTState.json +258 -0
  615. package/json-schema/system/CRDTType.json +20 -0
  616. package/json-schema/system/CacheConfig.json +121 -0
  617. package/json-schema/system/CacheInvalidation.json +43 -0
  618. package/json-schema/system/CacheStrategy.json +16 -0
  619. package/json-schema/system/CacheTier.json +52 -0
  620. package/json-schema/system/CapabilityConformanceLevel.json +16 -0
  621. package/json-schema/system/ChangeImpact.json +55 -0
  622. package/json-schema/system/ChangePriority.json +15 -0
  623. package/json-schema/system/ChangeRequest.json +313 -0
  624. package/json-schema/system/ChangeStatus.json +21 -0
  625. package/json-schema/system/ChangeType.json +15 -0
  626. package/json-schema/system/CollaborationMode.json +15 -0
  627. package/json-schema/system/CollaborationSession.json +575 -0
  628. package/json-schema/system/CollaborationSessionConfig.json +86 -0
  629. package/json-schema/system/CollaborativeCursor.json +189 -0
  630. package/json-schema/system/ComplianceConfig.json +202 -0
  631. package/json-schema/system/ConsoleDestinationConfig.json +29 -0
  632. package/json-schema/system/ConsumerConfig.json +34 -0
  633. package/json-schema/system/CounterOperation.json +30 -0
  634. package/json-schema/system/CursorColorPreset.json +21 -0
  635. package/json-schema/system/CursorSelection.json +66 -0
  636. package/json-schema/system/CursorStyle.json +59 -0
  637. package/json-schema/system/CursorUpdate.json +101 -0
  638. package/json-schema/system/DeadLetterQueue.json +26 -0
  639. package/json-schema/system/DeadLetterQueueEntry.json +137 -0
  640. package/json-schema/system/EmailTemplate.json +69 -0
  641. package/json-schema/system/EncryptionAlgorithm.json +14 -0
  642. package/json-schema/system/EncryptionConfig.json +93 -0
  643. package/json-schema/system/Event.json +24 -0
  644. package/json-schema/system/EventBusConfig.json +552 -0
  645. package/json-schema/system/EventHandler.json +34 -0
  646. package/json-schema/system/EventLogEntry.json +153 -0
  647. package/json-schema/system/EventMessageQueueConfig.json +79 -0
  648. package/json-schema/system/EventMetadata.json +20 -0
  649. package/json-schema/system/EventPersistence.json +11 -0
  650. package/json-schema/system/EventPhase.json +15 -0
  651. package/json-schema/system/EventPriority.json +16 -0
  652. package/json-schema/system/EventQueueConfig.json +67 -0
  653. package/json-schema/system/EventReplayConfig.json +50 -0
  654. package/json-schema/system/EventSourcingConfig.json +65 -0
  655. package/json-schema/system/EventTypeDefinition.json +45 -0
  656. package/json-schema/system/EventWebhookConfig.json +119 -0
  657. package/json-schema/system/ExtendedLogLevel.json +18 -0
  658. package/json-schema/system/ExtensionPoint.json +67 -0
  659. package/json-schema/system/ExternalServiceDestinationConfig.json +51 -0
  660. package/json-schema/system/FacetConfig.json +30 -0
  661. package/json-schema/system/FieldEncryption.json +110 -0
  662. package/json-schema/system/FileDestinationConfig.json +56 -0
  663. package/json-schema/system/FileMetadata.json +14 -7
  664. package/json-schema/system/GCounter.json +28 -0
  665. package/json-schema/system/GDPRConfig.json +71 -0
  666. package/json-schema/system/HIPAAConfig.json +45 -0
  667. package/json-schema/system/HealthStatus.json +33 -0
  668. package/json-schema/system/HistogramBucketConfig.json +92 -0
  669. package/json-schema/system/HookRegisteredEvent.json +30 -0
  670. package/json-schema/system/HookTriggeredEvent.json +34 -0
  671. package/json-schema/system/HttpDestinationConfig.json +111 -0
  672. package/json-schema/system/HttpServerConfig.json +156 -0
  673. package/json-schema/system/InAppNotification.json +48 -0
  674. package/json-schema/system/KernelEventBase.json +19 -0
  675. package/json-schema/system/KernelReadyEvent.json +29 -0
  676. package/json-schema/system/KernelShutdownEvent.json +23 -0
  677. package/json-schema/system/KeyManagementProvider.json +16 -0
  678. package/json-schema/system/KeyRotationPolicy.json +29 -0
  679. package/json-schema/system/LWWRegister.json +51 -0
  680. package/json-schema/system/LifecycleAction.json +15 -0
  681. package/json-schema/system/LifecyclePolicyConfig.json +84 -0
  682. package/json-schema/system/LifecyclePolicyRule.json +68 -0
  683. package/json-schema/system/LogDestination.json +295 -0
  684. package/json-schema/system/LogDestinationType.json +26 -0
  685. package/json-schema/system/LogEnrichmentConfig.json +59 -0
  686. package/json-schema/system/LoggerConfig.json +4 -0
  687. package/json-schema/system/LoggingConfig.json +613 -0
  688. package/json-schema/system/Manifest.json +405 -0
  689. package/json-schema/system/MaskingConfig.json +77 -0
  690. package/json-schema/system/MaskingRule.json +57 -0
  691. package/json-schema/system/MaskingStrategy.json +18 -0
  692. package/json-schema/system/MessageQueueConfig.json +143 -0
  693. package/json-schema/system/MessageQueueProvider.json +17 -0
  694. package/json-schema/system/MetadataCollectionInfo.json +53 -0
  695. package/json-schema/system/MetadataExportOptions.json +49 -0
  696. package/json-schema/system/MetadataFormat.json +15 -0
  697. package/json-schema/system/MetadataImportOptions.json +42 -0
  698. package/json-schema/system/MetadataLoadOptions.json +52 -0
  699. package/json-schema/system/MetadataLoadResult.json +86 -0
  700. package/json-schema/system/MetadataLoaderContract.json +48 -0
  701. package/json-schema/system/MetadataManagerConfig.json +108 -0
  702. package/json-schema/system/MetadataSaveOptions.json +64 -0
  703. package/json-schema/system/MetadataSaveResult.json +42 -0
  704. package/json-schema/system/MetadataStats.json +51 -0
  705. package/json-schema/system/MetadataWatchEvent.json +48 -0
  706. package/json-schema/system/MetricAggregationConfig.json +69 -0
  707. package/json-schema/system/MetricAggregationType.json +25 -0
  708. package/json-schema/system/MetricDataPoint.json +135 -0
  709. package/json-schema/system/MetricDefinition.json +193 -0
  710. package/json-schema/system/MetricExportConfig.json +93 -0
  711. package/json-schema/system/MetricLabels.json +13 -0
  712. package/json-schema/system/MetricType.json +16 -0
  713. package/json-schema/system/MetricUnit.json +32 -0
  714. package/json-schema/system/MetricsConfig.json +718 -0
  715. package/json-schema/system/MiddlewareConfig.json +70 -0
  716. package/json-schema/system/MiddlewareType.json +18 -0
  717. package/json-schema/system/MultipartUploadConfig.json +49 -0
  718. package/json-schema/system/NotificationChannel.json +18 -0
  719. package/json-schema/system/NotificationConfig.json +343 -0
  720. package/json-schema/system/ORSet.json +57 -0
  721. package/json-schema/system/ORSetElement.json +39 -0
  722. package/json-schema/system/OTComponent.json +76 -0
  723. package/json-schema/system/OTOperation.json +128 -0
  724. package/json-schema/system/OTOperationType.json +14 -0
  725. package/json-schema/system/OTTransformResult.json +150 -0
  726. package/json-schema/system/ObjectMetadata.json +90 -0
  727. package/json-schema/system/ObjectStorageConfig.json +475 -0
  728. package/json-schema/system/OpenTelemetryCompatibility.json +196 -0
  729. package/json-schema/system/OtelExporterType.json +22 -0
  730. package/json-schema/system/PCIDSSConfig.json +47 -0
  731. package/json-schema/system/PNCounter.json +37 -0
  732. package/json-schema/system/PluginCapability.json +127 -0
  733. package/json-schema/system/PluginCapabilityManifest.json +410 -0
  734. package/json-schema/system/PluginDependency.json +39 -0
  735. package/json-schema/system/PluginErrorEvent.json +46 -0
  736. package/json-schema/system/PluginEventBase.json +24 -0
  737. package/json-schema/system/PluginInterface.json +141 -0
  738. package/json-schema/system/PluginLifecycleEventType.json +31 -0
  739. package/json-schema/system/PluginLifecyclePhaseEvent.json +38 -0
  740. package/json-schema/system/PluginMetadata.json +37 -0
  741. package/json-schema/system/PluginRegisteredEvent.json +28 -0
  742. package/json-schema/system/PluginStartupResult.json +73 -0
  743. package/json-schema/system/PresignedUrlConfig.json +49 -0
  744. package/json-schema/system/ProtocolFeature.json +34 -0
  745. package/json-schema/system/ProtocolReference.json +56 -0
  746. package/json-schema/system/ProtocolVersion.json +30 -0
  747. package/json-schema/system/PushNotification.json +60 -0
  748. package/json-schema/system/QueueConfig.json +133 -0
  749. package/json-schema/system/RealTimeNotificationConfig.json +85 -0
  750. package/json-schema/system/RollbackPlan.json +51 -0
  751. package/json-schema/system/RouteHandlerMetadata.json +85 -0
  752. package/json-schema/system/SMSTemplate.json +36 -0
  753. package/json-schema/system/SamplingDecision.json +15 -0
  754. package/json-schema/system/SamplingStrategyType.json +20 -0
  755. package/json-schema/system/ScopeConfig.json +28 -0
  756. package/json-schema/system/ScopeInfo.json +39 -0
  757. package/json-schema/system/SearchConfig.json +195 -0
  758. package/json-schema/system/SearchIndexConfig.json +78 -0
  759. package/json-schema/system/SearchProvider.json +16 -0
  760. package/json-schema/system/ServerCapabilities.json +63 -0
  761. package/json-schema/system/ServerEvent.json +39 -0
  762. package/json-schema/system/ServerEventType.json +18 -0
  763. package/json-schema/system/ServerStatus.json +93 -0
  764. package/json-schema/system/ServiceFactoryRegistration.json +44 -0
  765. package/json-schema/system/ServiceLevelIndicator.json +105 -0
  766. package/json-schema/system/ServiceLevelObjective.json +170 -0
  767. package/json-schema/system/ServiceMetadata.json +43 -0
  768. package/json-schema/system/ServiceRegisteredEvent.json +28 -0
  769. package/json-schema/system/ServiceRegistryConfig.json +39 -0
  770. package/json-schema/system/ServiceScopeType.json +15 -0
  771. package/json-schema/system/ServiceUnregisteredEvent.json +24 -0
  772. package/json-schema/system/Span.json +387 -0
  773. package/json-schema/system/SpanAttributeValue.json +38 -0
  774. package/json-schema/system/SpanAttributes.json +42 -0
  775. package/json-schema/system/SpanEvent.json +62 -0
  776. package/json-schema/system/SpanKind.json +17 -0
  777. package/json-schema/system/SpanLink.json +110 -0
  778. package/json-schema/system/SpanStatus.json +15 -0
  779. package/json-schema/system/StartupOptions.json +36 -0
  780. package/json-schema/system/StartupOrchestrationResult.json +104 -0
  781. package/json-schema/system/StorageAcl.json +18 -0
  782. package/json-schema/system/StorageClass.json +17 -0
  783. package/json-schema/system/StorageConnection.json +62 -0
  784. package/json-schema/system/StorageProvider.json +21 -0
  785. package/json-schema/system/StorageScope.json +5 -1
  786. package/json-schema/system/StructuredLogEntry.json +191 -0
  787. package/json-schema/system/Task.json +145 -0
  788. package/json-schema/system/TaskExecutionResult.json +85 -0
  789. package/json-schema/system/TaskPriority.json +16 -0
  790. package/json-schema/system/TaskRetryPolicy.json +46 -0
  791. package/json-schema/system/TaskStatus.json +19 -0
  792. package/json-schema/system/TextCRDTOperation.json +52 -0
  793. package/json-schema/system/TextCRDTState.json +105 -0
  794. package/json-schema/system/TimeSeries.json +69 -0
  795. package/json-schema/system/TimeSeriesDataPoint.json +33 -0
  796. package/json-schema/system/TopicConfig.json +39 -0
  797. package/json-schema/system/TraceContext.json +64 -0
  798. package/json-schema/system/TraceContextPropagation.json +79 -0
  799. package/json-schema/system/TraceFlags.json +12 -0
  800. package/json-schema/system/TracePropagationFormat.json +19 -0
  801. package/json-schema/system/TraceSamplingConfig.json +186 -0
  802. package/json-schema/system/TraceState.json +23 -0
  803. package/json-schema/system/TracingConfig.json +536 -0
  804. package/json-schema/system/UserActivityStatus.json +15 -0
  805. package/json-schema/system/ValidationError.json +28 -0
  806. package/json-schema/system/ValidationResult.json +71 -0
  807. package/json-schema/system/ValidationWarning.json +28 -0
  808. package/json-schema/system/VectorClock.json +23 -0
  809. package/json-schema/system/WorkerConfig.json +188 -0
  810. package/json-schema/system/WorkerStats.json +90 -0
  811. package/json-schema/ui/ChartConfig.json +74 -0
  812. package/json-schema/ui/ChartType.json +21 -8
  813. package/json-schema/ui/Dashboard.json +90 -8
  814. package/json-schema/ui/DashboardWidget.json +90 -8
  815. package/json-schema/ui/FieldWidgetProps.json +435 -1
  816. package/json-schema/ui/Page.json +1 -1
  817. package/json-schema/ui/PageComponent.json +1 -1
  818. package/json-schema/ui/PageRegion.json +1 -1
  819. package/json-schema/ui/Report.json +48 -5
  820. package/json-schema/ui/ReportChart.json +48 -5
  821. package/package.json +13 -1
  822. package/dist/api/protocol.d.ts +0 -65
  823. package/dist/api/protocol.d.ts.map +0 -1
  824. package/dist/api/protocol.js +0 -8
  825. package/dist/automation/connector.zod.d.ts.map +0 -1
  826. package/dist/system/data-engine.zod.d.ts +0 -59
  827. package/dist/system/data-engine.zod.d.ts.map +0 -1
  828. package/dist/system/data-engine.zod.js +0 -38
  829. package/dist/system/driver/mongo.zod.d.ts +0 -107
  830. package/dist/system/driver/mongo.zod.d.ts.map +0 -1
  831. package/dist/system/driver/mongo.zod.js +0 -80
  832. package/dist/system/driver/postgres.zod.d.ts.map +0 -1
  833. package/dist/system/driver.zod.d.ts.map +0 -1
  834. package/dist/system/logger.zod.d.ts +0 -111
  835. package/dist/system/logger.zod.d.ts.map +0 -1
  836. package/dist/system/logger.zod.js +0 -75
  837. package/dist/system/scoped-storage.zod.d.ts +0 -81
  838. package/dist/system/scoped-storage.zod.d.ts.map +0 -1
  839. package/dist/system/scoped-storage.zod.js +0 -66
  840. package/dist/ui/block.zod.d.ts +0 -265
  841. package/dist/ui/block.zod.d.ts.map +0 -1
  842. package/dist/ui/block.zod.js +0 -90
  843. package/json-schema/automation/FieldMapping.json +0 -36
  844. package/json-schema/system/DataEngineFilter.json +0 -11
  845. package/json-schema/system/DataEngineQueryOptions.json +0 -48
  846. package/json-schema/system/DriverCapabilities.json +0 -79
  847. package/json-schema/system/DriverInterface.json +0 -98
  848. package/json-schema/system/MongoConfig.json +0 -82
  849. package/json-schema/system/PostgresConfig.json +0 -98
  850. package/json-schema/system/ScopedStorageConfig.json +0 -54
  851. package/json-schema/system/StorageAdapterType.json +0 -17
  852. /package/dist/{system → data}/driver/postgres.zod.js +0 -0
  853. /package/json-schema/{system → data}/DriverOptions.json +0 -0
@@ -45,65 +45,118 @@ export declare const DriverOptionsSchema: z.ZodObject<{
45
45
  *
46
46
  * Defines what features a database driver supports.
47
47
  * This allows ObjectQL to adapt its behavior based on underlying database capabilities.
48
+ * Enhanced with granular capability flags for better feature detection.
48
49
  */
49
- export declare const DriverCapabilitiesSchema: z.ZodObject<{
50
+ export declare const DriverCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
51
+ /**
52
+ * Whether the driver supports create operations.
53
+ */
54
+ create: z.ZodDefault<z.ZodBoolean>;
55
+ /**
56
+ * Whether the driver supports read operations.
57
+ */
58
+ read: z.ZodDefault<z.ZodBoolean>;
59
+ /**
60
+ * Whether the driver supports update operations.
61
+ */
62
+ update: z.ZodDefault<z.ZodBoolean>;
63
+ /**
64
+ * Whether the driver supports delete operations.
65
+ */
66
+ delete: z.ZodDefault<z.ZodBoolean>;
67
+ /**
68
+ * Whether the driver supports bulk create operations.
69
+ */
70
+ bulkCreate: z.ZodDefault<z.ZodBoolean>;
71
+ /**
72
+ * Whether the driver supports bulk update operations.
73
+ */
74
+ bulkUpdate: z.ZodDefault<z.ZodBoolean>;
75
+ /**
76
+ * Whether the driver supports bulk delete operations.
77
+ */
78
+ bulkDelete: z.ZodDefault<z.ZodBoolean>;
50
79
  /**
51
80
  * Whether the driver supports database transactions.
52
81
  * If true, beginTransaction, commit, and rollback must be implemented.
53
82
  */
54
- transactions: z.ZodBoolean;
83
+ transactions: z.ZodDefault<z.ZodBoolean>;
84
+ /**
85
+ * Whether the driver supports savepoints within transactions.
86
+ */
87
+ savepoints: z.ZodDefault<z.ZodBoolean>;
88
+ /**
89
+ * Supported transaction isolation levels.
90
+ */
91
+ isolationLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["read-uncommitted", "read-committed", "repeatable-read", "serializable"]>, "many">>;
55
92
  /**
56
93
  * Whether the driver supports WHERE clause filters.
57
94
  * If false, ObjectQL will fetch all records and filter in memory.
58
95
  *
59
96
  * Example: Memory driver might not support complex filter conditions.
60
97
  */
61
- queryFilters: z.ZodBoolean;
98
+ queryFilters: z.ZodDefault<z.ZodBoolean>;
62
99
  /**
63
100
  * Whether the driver supports aggregation functions (COUNT, SUM, AVG, etc.).
64
101
  * If false, ObjectQL will compute aggregations in memory.
65
102
  */
66
- queryAggregations: z.ZodBoolean;
103
+ queryAggregations: z.ZodDefault<z.ZodBoolean>;
67
104
  /**
68
105
  * Whether the driver supports ORDER BY sorting.
69
106
  * If false, ObjectQL will sort results in memory.
70
107
  */
71
- querySorting: z.ZodBoolean;
108
+ querySorting: z.ZodDefault<z.ZodBoolean>;
72
109
  /**
73
110
  * Whether the driver supports LIMIT/OFFSET pagination.
74
111
  * If false, ObjectQL will fetch all records and paginate in memory.
75
112
  */
76
- queryPagination: z.ZodBoolean;
113
+ queryPagination: z.ZodDefault<z.ZodBoolean>;
77
114
  /**
78
115
  * Whether the driver supports window functions (ROW_NUMBER, RANK, LAG, LEAD, etc.).
79
116
  * If false, ObjectQL will compute window functions in memory.
80
117
  */
81
- queryWindowFunctions: z.ZodBoolean;
118
+ queryWindowFunctions: z.ZodDefault<z.ZodBoolean>;
82
119
  /**
83
120
  * Whether the driver supports subqueries (nested SELECT statements).
84
121
  * If false, ObjectQL will execute queries separately and combine results.
85
122
  */
86
- querySubqueries: z.ZodBoolean;
123
+ querySubqueries: z.ZodDefault<z.ZodBoolean>;
124
+ /**
125
+ * Whether the driver supports Common Table Expressions (WITH clause).
126
+ */
127
+ queryCTE: z.ZodDefault<z.ZodBoolean>;
87
128
  /**
88
129
  * Whether the driver supports SQL-style joins.
89
130
  * If false, ObjectQL will fetch related data separately and join in memory.
90
131
  */
91
- joins: z.ZodBoolean;
132
+ joins: z.ZodDefault<z.ZodBoolean>;
92
133
  /**
93
134
  * Whether the driver supports full-text search.
94
135
  * If true, text search queries can be pushed to the database.
95
136
  */
96
- fullTextSearch: z.ZodBoolean;
137
+ fullTextSearch: z.ZodDefault<z.ZodBoolean>;
138
+ /**
139
+ * Whether the driver supports JSON querying capabilities.
140
+ */
141
+ jsonQuery: z.ZodDefault<z.ZodBoolean>;
142
+ /**
143
+ * Whether the driver supports geospatial queries.
144
+ */
145
+ geospatialQuery: z.ZodDefault<z.ZodBoolean>;
146
+ /**
147
+ * Whether the driver supports streaming large result sets.
148
+ */
149
+ streaming: z.ZodDefault<z.ZodBoolean>;
97
150
  /**
98
151
  * Whether the driver supports JSON field types.
99
152
  * If false, JSON data will be serialized as strings.
100
153
  */
101
- jsonFields: z.ZodBoolean;
154
+ jsonFields: z.ZodDefault<z.ZodBoolean>;
102
155
  /**
103
156
  * Whether the driver supports array field types.
104
157
  * If false, arrays will be stored as JSON strings or in separate tables.
105
158
  */
106
- arrayFields: z.ZodBoolean;
159
+ arrayFields: z.ZodDefault<z.ZodBoolean>;
107
160
  /**
108
161
  * Whether the driver supports vector embeddings and similarity search.
109
162
  * Required for RAG (Retrieval-Augmented Generation) and AI features.
@@ -111,36 +164,165 @@ export declare const DriverCapabilitiesSchema: z.ZodObject<{
111
164
  vectorSearch: z.ZodDefault<z.ZodBoolean>;
112
165
  /**
113
166
  * Whether the driver supports geospatial queries.
167
+ * @deprecated Use geospatialQuery instead
114
168
  */
115
169
  geoSpatial: z.ZodDefault<z.ZodBoolean>;
170
+ /**
171
+ * Whether the driver supports automatic schema synchronization.
172
+ */
173
+ schemaSync: z.ZodDefault<z.ZodBoolean>;
174
+ /**
175
+ * Whether the driver supports database migrations.
176
+ */
177
+ migrations: z.ZodDefault<z.ZodBoolean>;
178
+ /**
179
+ * Whether the driver supports index management.
180
+ */
181
+ indexes: z.ZodDefault<z.ZodBoolean>;
182
+ /**
183
+ * Whether the driver supports connection pooling.
184
+ */
185
+ connectionPooling: z.ZodDefault<z.ZodBoolean>;
186
+ /**
187
+ * Whether the driver supports prepared statements.
188
+ */
189
+ preparedStatements: z.ZodDefault<z.ZodBoolean>;
190
+ /**
191
+ * Whether the driver supports query result caching.
192
+ */
193
+ queryCache: z.ZodDefault<z.ZodBoolean>;
116
194
  }, "strip", z.ZodTypeAny, {
117
195
  joins: boolean;
196
+ update: boolean;
197
+ delete: boolean;
198
+ create: boolean;
199
+ indexes: boolean;
200
+ read: boolean;
201
+ bulkCreate: boolean;
202
+ bulkUpdate: boolean;
203
+ bulkDelete: boolean;
118
204
  transactions: boolean;
205
+ savepoints: boolean;
119
206
  queryFilters: boolean;
120
207
  queryAggregations: boolean;
121
208
  querySorting: boolean;
122
209
  queryPagination: boolean;
123
210
  queryWindowFunctions: boolean;
124
211
  querySubqueries: boolean;
212
+ queryCTE: boolean;
125
213
  fullTextSearch: boolean;
214
+ jsonQuery: boolean;
215
+ geospatialQuery: boolean;
216
+ streaming: boolean;
126
217
  jsonFields: boolean;
127
218
  arrayFields: boolean;
128
219
  vectorSearch: boolean;
129
220
  geoSpatial: boolean;
221
+ schemaSync: boolean;
222
+ migrations: boolean;
223
+ connectionPooling: boolean;
224
+ preparedStatements: boolean;
225
+ queryCache: boolean;
226
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
130
227
  }, {
228
+ joins?: boolean | undefined;
229
+ update?: boolean | undefined;
230
+ delete?: boolean | undefined;
231
+ create?: boolean | undefined;
232
+ indexes?: boolean | undefined;
233
+ read?: boolean | undefined;
234
+ bulkCreate?: boolean | undefined;
235
+ bulkUpdate?: boolean | undefined;
236
+ bulkDelete?: boolean | undefined;
237
+ transactions?: boolean | undefined;
238
+ savepoints?: boolean | undefined;
239
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
240
+ queryFilters?: boolean | undefined;
241
+ queryAggregations?: boolean | undefined;
242
+ querySorting?: boolean | undefined;
243
+ queryPagination?: boolean | undefined;
244
+ queryWindowFunctions?: boolean | undefined;
245
+ querySubqueries?: boolean | undefined;
246
+ queryCTE?: boolean | undefined;
247
+ fullTextSearch?: boolean | undefined;
248
+ jsonQuery?: boolean | undefined;
249
+ geospatialQuery?: boolean | undefined;
250
+ streaming?: boolean | undefined;
251
+ jsonFields?: boolean | undefined;
252
+ arrayFields?: boolean | undefined;
253
+ vectorSearch?: boolean | undefined;
254
+ geoSpatial?: boolean | undefined;
255
+ schemaSync?: boolean | undefined;
256
+ migrations?: boolean | undefined;
257
+ connectionPooling?: boolean | undefined;
258
+ preparedStatements?: boolean | undefined;
259
+ queryCache?: boolean | undefined;
260
+ }>, {
131
261
  joins: boolean;
262
+ update: boolean;
263
+ delete: boolean;
264
+ create: boolean;
265
+ indexes: boolean;
266
+ read: boolean;
267
+ bulkCreate: boolean;
268
+ bulkUpdate: boolean;
269
+ bulkDelete: boolean;
132
270
  transactions: boolean;
271
+ savepoints: boolean;
133
272
  queryFilters: boolean;
134
273
  queryAggregations: boolean;
135
274
  querySorting: boolean;
136
275
  queryPagination: boolean;
137
276
  queryWindowFunctions: boolean;
138
277
  querySubqueries: boolean;
278
+ queryCTE: boolean;
139
279
  fullTextSearch: boolean;
280
+ jsonQuery: boolean;
281
+ geospatialQuery: boolean;
282
+ streaming: boolean;
140
283
  jsonFields: boolean;
141
284
  arrayFields: boolean;
285
+ vectorSearch: boolean;
286
+ geoSpatial: boolean;
287
+ schemaSync: boolean;
288
+ migrations: boolean;
289
+ connectionPooling: boolean;
290
+ preparedStatements: boolean;
291
+ queryCache: boolean;
292
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
293
+ }, {
294
+ joins?: boolean | undefined;
295
+ update?: boolean | undefined;
296
+ delete?: boolean | undefined;
297
+ create?: boolean | undefined;
298
+ indexes?: boolean | undefined;
299
+ read?: boolean | undefined;
300
+ bulkCreate?: boolean | undefined;
301
+ bulkUpdate?: boolean | undefined;
302
+ bulkDelete?: boolean | undefined;
303
+ transactions?: boolean | undefined;
304
+ savepoints?: boolean | undefined;
305
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
306
+ queryFilters?: boolean | undefined;
307
+ queryAggregations?: boolean | undefined;
308
+ querySorting?: boolean | undefined;
309
+ queryPagination?: boolean | undefined;
310
+ queryWindowFunctions?: boolean | undefined;
311
+ querySubqueries?: boolean | undefined;
312
+ queryCTE?: boolean | undefined;
313
+ fullTextSearch?: boolean | undefined;
314
+ jsonQuery?: boolean | undefined;
315
+ geospatialQuery?: boolean | undefined;
316
+ streaming?: boolean | undefined;
317
+ jsonFields?: boolean | undefined;
318
+ arrayFields?: boolean | undefined;
142
319
  vectorSearch?: boolean | undefined;
143
320
  geoSpatial?: boolean | undefined;
321
+ schemaSync?: boolean | undefined;
322
+ migrations?: boolean | undefined;
323
+ connectionPooling?: boolean | undefined;
324
+ preparedStatements?: boolean | undefined;
325
+ queryCache?: boolean | undefined;
144
326
  }>;
145
327
  /**
146
328
  * Unified Database Driver Interface
@@ -160,64 +342,116 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
160
342
  /**
161
343
  * Capabilities descriptor.
162
344
  */
163
- supports: z.ZodObject<{
345
+ supports: z.ZodEffects<z.ZodObject<{
346
+ /**
347
+ * Whether the driver supports create operations.
348
+ */
349
+ create: z.ZodDefault<z.ZodBoolean>;
350
+ /**
351
+ * Whether the driver supports read operations.
352
+ */
353
+ read: z.ZodDefault<z.ZodBoolean>;
354
+ /**
355
+ * Whether the driver supports update operations.
356
+ */
357
+ update: z.ZodDefault<z.ZodBoolean>;
358
+ /**
359
+ * Whether the driver supports delete operations.
360
+ */
361
+ delete: z.ZodDefault<z.ZodBoolean>;
362
+ /**
363
+ * Whether the driver supports bulk create operations.
364
+ */
365
+ bulkCreate: z.ZodDefault<z.ZodBoolean>;
366
+ /**
367
+ * Whether the driver supports bulk update operations.
368
+ */
369
+ bulkUpdate: z.ZodDefault<z.ZodBoolean>;
370
+ /**
371
+ * Whether the driver supports bulk delete operations.
372
+ */
373
+ bulkDelete: z.ZodDefault<z.ZodBoolean>;
164
374
  /**
165
375
  * Whether the driver supports database transactions.
166
376
  * If true, beginTransaction, commit, and rollback must be implemented.
167
377
  */
168
- transactions: z.ZodBoolean;
378
+ transactions: z.ZodDefault<z.ZodBoolean>;
379
+ /**
380
+ * Whether the driver supports savepoints within transactions.
381
+ */
382
+ savepoints: z.ZodDefault<z.ZodBoolean>;
383
+ /**
384
+ * Supported transaction isolation levels.
385
+ */
386
+ isolationLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["read-uncommitted", "read-committed", "repeatable-read", "serializable"]>, "many">>;
169
387
  /**
170
388
  * Whether the driver supports WHERE clause filters.
171
389
  * If false, ObjectQL will fetch all records and filter in memory.
172
390
  *
173
391
  * Example: Memory driver might not support complex filter conditions.
174
392
  */
175
- queryFilters: z.ZodBoolean;
393
+ queryFilters: z.ZodDefault<z.ZodBoolean>;
176
394
  /**
177
395
  * Whether the driver supports aggregation functions (COUNT, SUM, AVG, etc.).
178
396
  * If false, ObjectQL will compute aggregations in memory.
179
397
  */
180
- queryAggregations: z.ZodBoolean;
398
+ queryAggregations: z.ZodDefault<z.ZodBoolean>;
181
399
  /**
182
400
  * Whether the driver supports ORDER BY sorting.
183
401
  * If false, ObjectQL will sort results in memory.
184
402
  */
185
- querySorting: z.ZodBoolean;
403
+ querySorting: z.ZodDefault<z.ZodBoolean>;
186
404
  /**
187
405
  * Whether the driver supports LIMIT/OFFSET pagination.
188
406
  * If false, ObjectQL will fetch all records and paginate in memory.
189
407
  */
190
- queryPagination: z.ZodBoolean;
408
+ queryPagination: z.ZodDefault<z.ZodBoolean>;
191
409
  /**
192
410
  * Whether the driver supports window functions (ROW_NUMBER, RANK, LAG, LEAD, etc.).
193
411
  * If false, ObjectQL will compute window functions in memory.
194
412
  */
195
- queryWindowFunctions: z.ZodBoolean;
413
+ queryWindowFunctions: z.ZodDefault<z.ZodBoolean>;
196
414
  /**
197
415
  * Whether the driver supports subqueries (nested SELECT statements).
198
416
  * If false, ObjectQL will execute queries separately and combine results.
199
417
  */
200
- querySubqueries: z.ZodBoolean;
418
+ querySubqueries: z.ZodDefault<z.ZodBoolean>;
419
+ /**
420
+ * Whether the driver supports Common Table Expressions (WITH clause).
421
+ */
422
+ queryCTE: z.ZodDefault<z.ZodBoolean>;
201
423
  /**
202
424
  * Whether the driver supports SQL-style joins.
203
425
  * If false, ObjectQL will fetch related data separately and join in memory.
204
426
  */
205
- joins: z.ZodBoolean;
427
+ joins: z.ZodDefault<z.ZodBoolean>;
206
428
  /**
207
429
  * Whether the driver supports full-text search.
208
430
  * If true, text search queries can be pushed to the database.
209
431
  */
210
- fullTextSearch: z.ZodBoolean;
432
+ fullTextSearch: z.ZodDefault<z.ZodBoolean>;
433
+ /**
434
+ * Whether the driver supports JSON querying capabilities.
435
+ */
436
+ jsonQuery: z.ZodDefault<z.ZodBoolean>;
437
+ /**
438
+ * Whether the driver supports geospatial queries.
439
+ */
440
+ geospatialQuery: z.ZodDefault<z.ZodBoolean>;
441
+ /**
442
+ * Whether the driver supports streaming large result sets.
443
+ */
444
+ streaming: z.ZodDefault<z.ZodBoolean>;
211
445
  /**
212
446
  * Whether the driver supports JSON field types.
213
447
  * If false, JSON data will be serialized as strings.
214
448
  */
215
- jsonFields: z.ZodBoolean;
449
+ jsonFields: z.ZodDefault<z.ZodBoolean>;
216
450
  /**
217
451
  * Whether the driver supports array field types.
218
452
  * If false, arrays will be stored as JSON strings or in separate tables.
219
453
  */
220
- arrayFields: z.ZodBoolean;
454
+ arrayFields: z.ZodDefault<z.ZodBoolean>;
221
455
  /**
222
456
  * Whether the driver supports vector embeddings and similarity search.
223
457
  * Required for RAG (Retrieval-Augmented Generation) and AI features.
@@ -225,36 +459,165 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
225
459
  vectorSearch: z.ZodDefault<z.ZodBoolean>;
226
460
  /**
227
461
  * Whether the driver supports geospatial queries.
462
+ * @deprecated Use geospatialQuery instead
228
463
  */
229
464
  geoSpatial: z.ZodDefault<z.ZodBoolean>;
465
+ /**
466
+ * Whether the driver supports automatic schema synchronization.
467
+ */
468
+ schemaSync: z.ZodDefault<z.ZodBoolean>;
469
+ /**
470
+ * Whether the driver supports database migrations.
471
+ */
472
+ migrations: z.ZodDefault<z.ZodBoolean>;
473
+ /**
474
+ * Whether the driver supports index management.
475
+ */
476
+ indexes: z.ZodDefault<z.ZodBoolean>;
477
+ /**
478
+ * Whether the driver supports connection pooling.
479
+ */
480
+ connectionPooling: z.ZodDefault<z.ZodBoolean>;
481
+ /**
482
+ * Whether the driver supports prepared statements.
483
+ */
484
+ preparedStatements: z.ZodDefault<z.ZodBoolean>;
485
+ /**
486
+ * Whether the driver supports query result caching.
487
+ */
488
+ queryCache: z.ZodDefault<z.ZodBoolean>;
230
489
  }, "strip", z.ZodTypeAny, {
231
490
  joins: boolean;
491
+ update: boolean;
492
+ delete: boolean;
493
+ create: boolean;
494
+ indexes: boolean;
495
+ read: boolean;
496
+ bulkCreate: boolean;
497
+ bulkUpdate: boolean;
498
+ bulkDelete: boolean;
232
499
  transactions: boolean;
500
+ savepoints: boolean;
233
501
  queryFilters: boolean;
234
502
  queryAggregations: boolean;
235
503
  querySorting: boolean;
236
504
  queryPagination: boolean;
237
505
  queryWindowFunctions: boolean;
238
506
  querySubqueries: boolean;
507
+ queryCTE: boolean;
239
508
  fullTextSearch: boolean;
509
+ jsonQuery: boolean;
510
+ geospatialQuery: boolean;
511
+ streaming: boolean;
240
512
  jsonFields: boolean;
241
513
  arrayFields: boolean;
242
514
  vectorSearch: boolean;
243
515
  geoSpatial: boolean;
516
+ schemaSync: boolean;
517
+ migrations: boolean;
518
+ connectionPooling: boolean;
519
+ preparedStatements: boolean;
520
+ queryCache: boolean;
521
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
244
522
  }, {
523
+ joins?: boolean | undefined;
524
+ update?: boolean | undefined;
525
+ delete?: boolean | undefined;
526
+ create?: boolean | undefined;
527
+ indexes?: boolean | undefined;
528
+ read?: boolean | undefined;
529
+ bulkCreate?: boolean | undefined;
530
+ bulkUpdate?: boolean | undefined;
531
+ bulkDelete?: boolean | undefined;
532
+ transactions?: boolean | undefined;
533
+ savepoints?: boolean | undefined;
534
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
535
+ queryFilters?: boolean | undefined;
536
+ queryAggregations?: boolean | undefined;
537
+ querySorting?: boolean | undefined;
538
+ queryPagination?: boolean | undefined;
539
+ queryWindowFunctions?: boolean | undefined;
540
+ querySubqueries?: boolean | undefined;
541
+ queryCTE?: boolean | undefined;
542
+ fullTextSearch?: boolean | undefined;
543
+ jsonQuery?: boolean | undefined;
544
+ geospatialQuery?: boolean | undefined;
545
+ streaming?: boolean | undefined;
546
+ jsonFields?: boolean | undefined;
547
+ arrayFields?: boolean | undefined;
548
+ vectorSearch?: boolean | undefined;
549
+ geoSpatial?: boolean | undefined;
550
+ schemaSync?: boolean | undefined;
551
+ migrations?: boolean | undefined;
552
+ connectionPooling?: boolean | undefined;
553
+ preparedStatements?: boolean | undefined;
554
+ queryCache?: boolean | undefined;
555
+ }>, {
245
556
  joins: boolean;
557
+ update: boolean;
558
+ delete: boolean;
559
+ create: boolean;
560
+ indexes: boolean;
561
+ read: boolean;
562
+ bulkCreate: boolean;
563
+ bulkUpdate: boolean;
564
+ bulkDelete: boolean;
246
565
  transactions: boolean;
566
+ savepoints: boolean;
247
567
  queryFilters: boolean;
248
568
  queryAggregations: boolean;
249
569
  querySorting: boolean;
250
570
  queryPagination: boolean;
251
571
  queryWindowFunctions: boolean;
252
572
  querySubqueries: boolean;
573
+ queryCTE: boolean;
253
574
  fullTextSearch: boolean;
575
+ jsonQuery: boolean;
576
+ geospatialQuery: boolean;
577
+ streaming: boolean;
254
578
  jsonFields: boolean;
255
579
  arrayFields: boolean;
580
+ vectorSearch: boolean;
581
+ geoSpatial: boolean;
582
+ schemaSync: boolean;
583
+ migrations: boolean;
584
+ connectionPooling: boolean;
585
+ preparedStatements: boolean;
586
+ queryCache: boolean;
587
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
588
+ }, {
589
+ joins?: boolean | undefined;
590
+ update?: boolean | undefined;
591
+ delete?: boolean | undefined;
592
+ create?: boolean | undefined;
593
+ indexes?: boolean | undefined;
594
+ read?: boolean | undefined;
595
+ bulkCreate?: boolean | undefined;
596
+ bulkUpdate?: boolean | undefined;
597
+ bulkDelete?: boolean | undefined;
598
+ transactions?: boolean | undefined;
599
+ savepoints?: boolean | undefined;
600
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
601
+ queryFilters?: boolean | undefined;
602
+ queryAggregations?: boolean | undefined;
603
+ querySorting?: boolean | undefined;
604
+ queryPagination?: boolean | undefined;
605
+ queryWindowFunctions?: boolean | undefined;
606
+ querySubqueries?: boolean | undefined;
607
+ queryCTE?: boolean | undefined;
608
+ fullTextSearch?: boolean | undefined;
609
+ jsonQuery?: boolean | undefined;
610
+ geospatialQuery?: boolean | undefined;
611
+ streaming?: boolean | undefined;
612
+ jsonFields?: boolean | undefined;
613
+ arrayFields?: boolean | undefined;
256
614
  vectorSearch?: boolean | undefined;
257
615
  geoSpatial?: boolean | undefined;
616
+ schemaSync?: boolean | undefined;
617
+ migrations?: boolean | undefined;
618
+ connectionPooling?: boolean | undefined;
619
+ preparedStatements?: boolean | undefined;
620
+ queryCache?: boolean | undefined;
258
621
  }>;
259
622
  /**
260
623
  * Initialize connection pool or authenticate.
@@ -363,7 +726,35 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
363
726
  find: z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodObject<{
364
727
  object: z.ZodString;
365
728
  fields: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
366
- where: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
729
+ where: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
730
+ search: z.ZodOptional<z.ZodObject<{
731
+ query: z.ZodString;
732
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
733
+ fuzzy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
734
+ operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<["and", "or"]>>>;
735
+ boost: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
736
+ minScore: z.ZodOptional<z.ZodNumber>;
737
+ language: z.ZodOptional<z.ZodString>;
738
+ highlight: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
739
+ }, "strip", z.ZodTypeAny, {
740
+ query: string;
741
+ fuzzy: boolean;
742
+ operator: "and" | "or";
743
+ highlight: boolean;
744
+ fields?: string[] | undefined;
745
+ boost?: Record<string, number> | undefined;
746
+ minScore?: number | undefined;
747
+ language?: string | undefined;
748
+ }, {
749
+ query: string;
750
+ fields?: string[] | undefined;
751
+ fuzzy?: boolean | undefined;
752
+ operator?: "and" | "or" | undefined;
753
+ boost?: Record<string, number> | undefined;
754
+ minScore?: number | undefined;
755
+ language?: string | undefined;
756
+ highlight?: boolean | undefined;
757
+ }>>;
367
758
  orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
368
759
  field: z.ZodString;
369
760
  order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
@@ -383,22 +774,22 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
383
774
  field: z.ZodOptional<z.ZodString>;
384
775
  alias: z.ZodString;
385
776
  distinct: z.ZodOptional<z.ZodBoolean>;
386
- filter: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
777
+ filter: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
387
778
  }, "strip", z.ZodTypeAny, {
388
779
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
389
780
  alias: string;
390
- filter?: import("../data").FilterCondition | undefined;
781
+ filter?: import("./filter.zod").FilterCondition | undefined;
391
782
  field?: string | undefined;
392
783
  distinct?: boolean | undefined;
393
784
  }, {
394
785
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
395
786
  alias: string;
396
- filter?: import("../data").FilterCondition | undefined;
787
+ filter?: import("./filter.zod").FilterCondition | undefined;
397
788
  field?: string | undefined;
398
789
  distinct?: boolean | undefined;
399
790
  }>, "many">>;
400
791
  groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
401
- having: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
792
+ having: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
402
793
  windowFunctions: z.ZodOptional<z.ZodArray<z.ZodObject<{
403
794
  function: z.ZodEnum<["row_number", "rank", "dense_rank", "percent_rank", "lag", "lead", "first_value", "last_value", "sum", "avg", "count", "min", "max"]>;
404
795
  field: z.ZodOptional<z.ZodString>;
@@ -487,9 +878,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
487
878
  distinct: z.ZodOptional<z.ZodBoolean>;
488
879
  }, "strip", z.ZodTypeAny, {
489
880
  object: string;
490
- where?: import("../data").FilterCondition | undefined;
881
+ where?: import("./filter.zod").FilterCondition | undefined;
491
882
  distinct?: boolean | undefined;
492
883
  fields?: any[] | undefined;
884
+ search?: {
885
+ query: string;
886
+ fuzzy: boolean;
887
+ operator: "and" | "or";
888
+ highlight: boolean;
889
+ fields?: string[] | undefined;
890
+ boost?: Record<string, number> | undefined;
891
+ minScore?: number | undefined;
892
+ language?: string | undefined;
893
+ } | undefined;
493
894
  orderBy?: {
494
895
  field: string;
495
896
  order: "asc" | "desc";
@@ -501,12 +902,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
501
902
  aggregations?: {
502
903
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
503
904
  alias: string;
504
- filter?: import("../data").FilterCondition | undefined;
905
+ filter?: import("./filter.zod").FilterCondition | undefined;
505
906
  field?: string | undefined;
506
907
  distinct?: boolean | undefined;
507
908
  }[] | undefined;
508
909
  groupBy?: string[] | undefined;
509
- having?: import("../data").FilterCondition | undefined;
910
+ having?: import("./filter.zod").FilterCondition | undefined;
510
911
  windowFunctions?: {
511
912
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
512
913
  alias: string;
@@ -526,9 +927,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
526
927
  }[] | undefined;
527
928
  }, {
528
929
  object: string;
529
- where?: import("../data").FilterCondition | undefined;
930
+ where?: import("./filter.zod").FilterCondition | undefined;
530
931
  distinct?: boolean | undefined;
531
932
  fields?: any[] | undefined;
933
+ search?: {
934
+ query: string;
935
+ fields?: string[] | undefined;
936
+ fuzzy?: boolean | undefined;
937
+ operator?: "and" | "or" | undefined;
938
+ boost?: Record<string, number> | undefined;
939
+ minScore?: number | undefined;
940
+ language?: string | undefined;
941
+ highlight?: boolean | undefined;
942
+ } | undefined;
532
943
  orderBy?: {
533
944
  field: string;
534
945
  order?: "asc" | "desc" | undefined;
@@ -540,12 +951,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
540
951
  aggregations?: {
541
952
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
542
953
  alias: string;
543
- filter?: import("../data").FilterCondition | undefined;
954
+ filter?: import("./filter.zod").FilterCondition | undefined;
544
955
  field?: string | undefined;
545
956
  distinct?: boolean | undefined;
546
957
  }[] | undefined;
547
958
  groupBy?: string[] | undefined;
548
- having?: import("../data").FilterCondition | undefined;
959
+ having?: import("./filter.zod").FilterCondition | undefined;
549
960
  windowFunctions?: {
550
961
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
551
962
  alias: string;
@@ -612,7 +1023,35 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
612
1023
  findStream: z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodObject<{
613
1024
  object: z.ZodString;
614
1025
  fields: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
615
- where: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
1026
+ where: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
1027
+ search: z.ZodOptional<z.ZodObject<{
1028
+ query: z.ZodString;
1029
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1030
+ fuzzy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1031
+ operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<["and", "or"]>>>;
1032
+ boost: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1033
+ minScore: z.ZodOptional<z.ZodNumber>;
1034
+ language: z.ZodOptional<z.ZodString>;
1035
+ highlight: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1036
+ }, "strip", z.ZodTypeAny, {
1037
+ query: string;
1038
+ fuzzy: boolean;
1039
+ operator: "and" | "or";
1040
+ highlight: boolean;
1041
+ fields?: string[] | undefined;
1042
+ boost?: Record<string, number> | undefined;
1043
+ minScore?: number | undefined;
1044
+ language?: string | undefined;
1045
+ }, {
1046
+ query: string;
1047
+ fields?: string[] | undefined;
1048
+ fuzzy?: boolean | undefined;
1049
+ operator?: "and" | "or" | undefined;
1050
+ boost?: Record<string, number> | undefined;
1051
+ minScore?: number | undefined;
1052
+ language?: string | undefined;
1053
+ highlight?: boolean | undefined;
1054
+ }>>;
616
1055
  orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
617
1056
  field: z.ZodString;
618
1057
  order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
@@ -632,22 +1071,22 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
632
1071
  field: z.ZodOptional<z.ZodString>;
633
1072
  alias: z.ZodString;
634
1073
  distinct: z.ZodOptional<z.ZodBoolean>;
635
- filter: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
1074
+ filter: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
636
1075
  }, "strip", z.ZodTypeAny, {
637
1076
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
638
1077
  alias: string;
639
- filter?: import("../data").FilterCondition | undefined;
1078
+ filter?: import("./filter.zod").FilterCondition | undefined;
640
1079
  field?: string | undefined;
641
1080
  distinct?: boolean | undefined;
642
1081
  }, {
643
1082
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
644
1083
  alias: string;
645
- filter?: import("../data").FilterCondition | undefined;
1084
+ filter?: import("./filter.zod").FilterCondition | undefined;
646
1085
  field?: string | undefined;
647
1086
  distinct?: boolean | undefined;
648
1087
  }>, "many">>;
649
1088
  groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
650
- having: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
1089
+ having: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
651
1090
  windowFunctions: z.ZodOptional<z.ZodArray<z.ZodObject<{
652
1091
  function: z.ZodEnum<["row_number", "rank", "dense_rank", "percent_rank", "lag", "lead", "first_value", "last_value", "sum", "avg", "count", "min", "max"]>;
653
1092
  field: z.ZodOptional<z.ZodString>;
@@ -736,9 +1175,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
736
1175
  distinct: z.ZodOptional<z.ZodBoolean>;
737
1176
  }, "strip", z.ZodTypeAny, {
738
1177
  object: string;
739
- where?: import("../data").FilterCondition | undefined;
1178
+ where?: import("./filter.zod").FilterCondition | undefined;
740
1179
  distinct?: boolean | undefined;
741
1180
  fields?: any[] | undefined;
1181
+ search?: {
1182
+ query: string;
1183
+ fuzzy: boolean;
1184
+ operator: "and" | "or";
1185
+ highlight: boolean;
1186
+ fields?: string[] | undefined;
1187
+ boost?: Record<string, number> | undefined;
1188
+ minScore?: number | undefined;
1189
+ language?: string | undefined;
1190
+ } | undefined;
742
1191
  orderBy?: {
743
1192
  field: string;
744
1193
  order: "asc" | "desc";
@@ -750,12 +1199,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
750
1199
  aggregations?: {
751
1200
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
752
1201
  alias: string;
753
- filter?: import("../data").FilterCondition | undefined;
1202
+ filter?: import("./filter.zod").FilterCondition | undefined;
754
1203
  field?: string | undefined;
755
1204
  distinct?: boolean | undefined;
756
1205
  }[] | undefined;
757
1206
  groupBy?: string[] | undefined;
758
- having?: import("../data").FilterCondition | undefined;
1207
+ having?: import("./filter.zod").FilterCondition | undefined;
759
1208
  windowFunctions?: {
760
1209
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
761
1210
  alias: string;
@@ -775,9 +1224,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
775
1224
  }[] | undefined;
776
1225
  }, {
777
1226
  object: string;
778
- where?: import("../data").FilterCondition | undefined;
1227
+ where?: import("./filter.zod").FilterCondition | undefined;
779
1228
  distinct?: boolean | undefined;
780
1229
  fields?: any[] | undefined;
1230
+ search?: {
1231
+ query: string;
1232
+ fields?: string[] | undefined;
1233
+ fuzzy?: boolean | undefined;
1234
+ operator?: "and" | "or" | undefined;
1235
+ boost?: Record<string, number> | undefined;
1236
+ minScore?: number | undefined;
1237
+ language?: string | undefined;
1238
+ highlight?: boolean | undefined;
1239
+ } | undefined;
781
1240
  orderBy?: {
782
1241
  field: string;
783
1242
  order?: "asc" | "desc" | undefined;
@@ -789,12 +1248,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
789
1248
  aggregations?: {
790
1249
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
791
1250
  alias: string;
792
- filter?: import("../data").FilterCondition | undefined;
1251
+ filter?: import("./filter.zod").FilterCondition | undefined;
793
1252
  field?: string | undefined;
794
1253
  distinct?: boolean | undefined;
795
1254
  }[] | undefined;
796
1255
  groupBy?: string[] | undefined;
797
- having?: import("../data").FilterCondition | undefined;
1256
+ having?: import("./filter.zod").FilterCondition | undefined;
798
1257
  windowFunctions?: {
799
1258
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
800
1259
  alias: string;
@@ -862,7 +1321,35 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
862
1321
  findOne: z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodObject<{
863
1322
  object: z.ZodString;
864
1323
  fields: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
865
- where: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
1324
+ where: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
1325
+ search: z.ZodOptional<z.ZodObject<{
1326
+ query: z.ZodString;
1327
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1328
+ fuzzy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1329
+ operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<["and", "or"]>>>;
1330
+ boost: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1331
+ minScore: z.ZodOptional<z.ZodNumber>;
1332
+ language: z.ZodOptional<z.ZodString>;
1333
+ highlight: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1334
+ }, "strip", z.ZodTypeAny, {
1335
+ query: string;
1336
+ fuzzy: boolean;
1337
+ operator: "and" | "or";
1338
+ highlight: boolean;
1339
+ fields?: string[] | undefined;
1340
+ boost?: Record<string, number> | undefined;
1341
+ minScore?: number | undefined;
1342
+ language?: string | undefined;
1343
+ }, {
1344
+ query: string;
1345
+ fields?: string[] | undefined;
1346
+ fuzzy?: boolean | undefined;
1347
+ operator?: "and" | "or" | undefined;
1348
+ boost?: Record<string, number> | undefined;
1349
+ minScore?: number | undefined;
1350
+ language?: string | undefined;
1351
+ highlight?: boolean | undefined;
1352
+ }>>;
866
1353
  orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
867
1354
  field: z.ZodString;
868
1355
  order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
@@ -882,22 +1369,22 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
882
1369
  field: z.ZodOptional<z.ZodString>;
883
1370
  alias: z.ZodString;
884
1371
  distinct: z.ZodOptional<z.ZodBoolean>;
885
- filter: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
1372
+ filter: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
886
1373
  }, "strip", z.ZodTypeAny, {
887
1374
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
888
1375
  alias: string;
889
- filter?: import("../data").FilterCondition | undefined;
1376
+ filter?: import("./filter.zod").FilterCondition | undefined;
890
1377
  field?: string | undefined;
891
1378
  distinct?: boolean | undefined;
892
1379
  }, {
893
1380
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
894
1381
  alias: string;
895
- filter?: import("../data").FilterCondition | undefined;
1382
+ filter?: import("./filter.zod").FilterCondition | undefined;
896
1383
  field?: string | undefined;
897
1384
  distinct?: boolean | undefined;
898
1385
  }>, "many">>;
899
1386
  groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
900
- having: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
1387
+ having: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
901
1388
  windowFunctions: z.ZodOptional<z.ZodArray<z.ZodObject<{
902
1389
  function: z.ZodEnum<["row_number", "rank", "dense_rank", "percent_rank", "lag", "lead", "first_value", "last_value", "sum", "avg", "count", "min", "max"]>;
903
1390
  field: z.ZodOptional<z.ZodString>;
@@ -986,9 +1473,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
986
1473
  distinct: z.ZodOptional<z.ZodBoolean>;
987
1474
  }, "strip", z.ZodTypeAny, {
988
1475
  object: string;
989
- where?: import("../data").FilterCondition | undefined;
1476
+ where?: import("./filter.zod").FilterCondition | undefined;
990
1477
  distinct?: boolean | undefined;
991
1478
  fields?: any[] | undefined;
1479
+ search?: {
1480
+ query: string;
1481
+ fuzzy: boolean;
1482
+ operator: "and" | "or";
1483
+ highlight: boolean;
1484
+ fields?: string[] | undefined;
1485
+ boost?: Record<string, number> | undefined;
1486
+ minScore?: number | undefined;
1487
+ language?: string | undefined;
1488
+ } | undefined;
992
1489
  orderBy?: {
993
1490
  field: string;
994
1491
  order: "asc" | "desc";
@@ -1000,12 +1497,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1000
1497
  aggregations?: {
1001
1498
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
1002
1499
  alias: string;
1003
- filter?: import("../data").FilterCondition | undefined;
1500
+ filter?: import("./filter.zod").FilterCondition | undefined;
1004
1501
  field?: string | undefined;
1005
1502
  distinct?: boolean | undefined;
1006
1503
  }[] | undefined;
1007
1504
  groupBy?: string[] | undefined;
1008
- having?: import("../data").FilterCondition | undefined;
1505
+ having?: import("./filter.zod").FilterCondition | undefined;
1009
1506
  windowFunctions?: {
1010
1507
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
1011
1508
  alias: string;
@@ -1025,9 +1522,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1025
1522
  }[] | undefined;
1026
1523
  }, {
1027
1524
  object: string;
1028
- where?: import("../data").FilterCondition | undefined;
1525
+ where?: import("./filter.zod").FilterCondition | undefined;
1029
1526
  distinct?: boolean | undefined;
1030
1527
  fields?: any[] | undefined;
1528
+ search?: {
1529
+ query: string;
1530
+ fields?: string[] | undefined;
1531
+ fuzzy?: boolean | undefined;
1532
+ operator?: "and" | "or" | undefined;
1533
+ boost?: Record<string, number> | undefined;
1534
+ minScore?: number | undefined;
1535
+ language?: string | undefined;
1536
+ highlight?: boolean | undefined;
1537
+ } | undefined;
1031
1538
  orderBy?: {
1032
1539
  field: string;
1033
1540
  order?: "asc" | "desc" | undefined;
@@ -1039,12 +1546,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1039
1546
  aggregations?: {
1040
1547
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
1041
1548
  alias: string;
1042
- filter?: import("../data").FilterCondition | undefined;
1549
+ filter?: import("./filter.zod").FilterCondition | undefined;
1043
1550
  field?: string | undefined;
1044
1551
  distinct?: boolean | undefined;
1045
1552
  }[] | undefined;
1046
1553
  groupBy?: string[] | undefined;
1047
- having?: import("../data").FilterCondition | undefined;
1554
+ having?: import("./filter.zod").FilterCondition | undefined;
1048
1555
  windowFunctions?: {
1049
1556
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
1050
1557
  alias: string;
@@ -1294,7 +1801,35 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1294
1801
  count: z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodOptional<z.ZodObject<{
1295
1802
  object: z.ZodString;
1296
1803
  fields: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
1297
- where: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
1804
+ where: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
1805
+ search: z.ZodOptional<z.ZodObject<{
1806
+ query: z.ZodString;
1807
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1808
+ fuzzy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1809
+ operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<["and", "or"]>>>;
1810
+ boost: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1811
+ minScore: z.ZodOptional<z.ZodNumber>;
1812
+ language: z.ZodOptional<z.ZodString>;
1813
+ highlight: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1814
+ }, "strip", z.ZodTypeAny, {
1815
+ query: string;
1816
+ fuzzy: boolean;
1817
+ operator: "and" | "or";
1818
+ highlight: boolean;
1819
+ fields?: string[] | undefined;
1820
+ boost?: Record<string, number> | undefined;
1821
+ minScore?: number | undefined;
1822
+ language?: string | undefined;
1823
+ }, {
1824
+ query: string;
1825
+ fields?: string[] | undefined;
1826
+ fuzzy?: boolean | undefined;
1827
+ operator?: "and" | "or" | undefined;
1828
+ boost?: Record<string, number> | undefined;
1829
+ minScore?: number | undefined;
1830
+ language?: string | undefined;
1831
+ highlight?: boolean | undefined;
1832
+ }>>;
1298
1833
  orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
1299
1834
  field: z.ZodString;
1300
1835
  order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
@@ -1314,22 +1849,22 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1314
1849
  field: z.ZodOptional<z.ZodString>;
1315
1850
  alias: z.ZodString;
1316
1851
  distinct: z.ZodOptional<z.ZodBoolean>;
1317
- filter: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
1852
+ filter: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
1318
1853
  }, "strip", z.ZodTypeAny, {
1319
1854
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
1320
1855
  alias: string;
1321
- filter?: import("../data").FilterCondition | undefined;
1856
+ filter?: import("./filter.zod").FilterCondition | undefined;
1322
1857
  field?: string | undefined;
1323
1858
  distinct?: boolean | undefined;
1324
1859
  }, {
1325
1860
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
1326
1861
  alias: string;
1327
- filter?: import("../data").FilterCondition | undefined;
1862
+ filter?: import("./filter.zod").FilterCondition | undefined;
1328
1863
  field?: string | undefined;
1329
1864
  distinct?: boolean | undefined;
1330
1865
  }>, "many">>;
1331
1866
  groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1332
- having: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
1867
+ having: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
1333
1868
  windowFunctions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1334
1869
  function: z.ZodEnum<["row_number", "rank", "dense_rank", "percent_rank", "lag", "lead", "first_value", "last_value", "sum", "avg", "count", "min", "max"]>;
1335
1870
  field: z.ZodOptional<z.ZodString>;
@@ -1418,9 +1953,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1418
1953
  distinct: z.ZodOptional<z.ZodBoolean>;
1419
1954
  }, "strip", z.ZodTypeAny, {
1420
1955
  object: string;
1421
- where?: import("../data").FilterCondition | undefined;
1956
+ where?: import("./filter.zod").FilterCondition | undefined;
1422
1957
  distinct?: boolean | undefined;
1423
1958
  fields?: any[] | undefined;
1959
+ search?: {
1960
+ query: string;
1961
+ fuzzy: boolean;
1962
+ operator: "and" | "or";
1963
+ highlight: boolean;
1964
+ fields?: string[] | undefined;
1965
+ boost?: Record<string, number> | undefined;
1966
+ minScore?: number | undefined;
1967
+ language?: string | undefined;
1968
+ } | undefined;
1424
1969
  orderBy?: {
1425
1970
  field: string;
1426
1971
  order: "asc" | "desc";
@@ -1432,12 +1977,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1432
1977
  aggregations?: {
1433
1978
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
1434
1979
  alias: string;
1435
- filter?: import("../data").FilterCondition | undefined;
1980
+ filter?: import("./filter.zod").FilterCondition | undefined;
1436
1981
  field?: string | undefined;
1437
1982
  distinct?: boolean | undefined;
1438
1983
  }[] | undefined;
1439
1984
  groupBy?: string[] | undefined;
1440
- having?: import("../data").FilterCondition | undefined;
1985
+ having?: import("./filter.zod").FilterCondition | undefined;
1441
1986
  windowFunctions?: {
1442
1987
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
1443
1988
  alias: string;
@@ -1457,9 +2002,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1457
2002
  }[] | undefined;
1458
2003
  }, {
1459
2004
  object: string;
1460
- where?: import("../data").FilterCondition | undefined;
2005
+ where?: import("./filter.zod").FilterCondition | undefined;
1461
2006
  distinct?: boolean | undefined;
1462
2007
  fields?: any[] | undefined;
2008
+ search?: {
2009
+ query: string;
2010
+ fields?: string[] | undefined;
2011
+ fuzzy?: boolean | undefined;
2012
+ operator?: "and" | "or" | undefined;
2013
+ boost?: Record<string, number> | undefined;
2014
+ minScore?: number | undefined;
2015
+ language?: string | undefined;
2016
+ highlight?: boolean | undefined;
2017
+ } | undefined;
1463
2018
  orderBy?: {
1464
2019
  field: string;
1465
2020
  order?: "asc" | "desc" | undefined;
@@ -1471,12 +2026,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1471
2026
  aggregations?: {
1472
2027
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
1473
2028
  alias: string;
1474
- filter?: import("../data").FilterCondition | undefined;
2029
+ filter?: import("./filter.zod").FilterCondition | undefined;
1475
2030
  field?: string | undefined;
1476
2031
  distinct?: boolean | undefined;
1477
2032
  }[] | undefined;
1478
2033
  groupBy?: string[] | undefined;
1479
- having?: import("../data").FilterCondition | undefined;
2034
+ having?: import("./filter.zod").FilterCondition | undefined;
1480
2035
  windowFunctions?: {
1481
2036
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
1482
2037
  alias: string;
@@ -1684,7 +2239,35 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1684
2239
  updateMany: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodObject<{
1685
2240
  object: z.ZodString;
1686
2241
  fields: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
1687
- where: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
2242
+ where: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
2243
+ search: z.ZodOptional<z.ZodObject<{
2244
+ query: z.ZodString;
2245
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2246
+ fuzzy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2247
+ operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<["and", "or"]>>>;
2248
+ boost: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
2249
+ minScore: z.ZodOptional<z.ZodNumber>;
2250
+ language: z.ZodOptional<z.ZodString>;
2251
+ highlight: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2252
+ }, "strip", z.ZodTypeAny, {
2253
+ query: string;
2254
+ fuzzy: boolean;
2255
+ operator: "and" | "or";
2256
+ highlight: boolean;
2257
+ fields?: string[] | undefined;
2258
+ boost?: Record<string, number> | undefined;
2259
+ minScore?: number | undefined;
2260
+ language?: string | undefined;
2261
+ }, {
2262
+ query: string;
2263
+ fields?: string[] | undefined;
2264
+ fuzzy?: boolean | undefined;
2265
+ operator?: "and" | "or" | undefined;
2266
+ boost?: Record<string, number> | undefined;
2267
+ minScore?: number | undefined;
2268
+ language?: string | undefined;
2269
+ highlight?: boolean | undefined;
2270
+ }>>;
1688
2271
  orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
1689
2272
  field: z.ZodString;
1690
2273
  order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
@@ -1704,22 +2287,22 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1704
2287
  field: z.ZodOptional<z.ZodString>;
1705
2288
  alias: z.ZodString;
1706
2289
  distinct: z.ZodOptional<z.ZodBoolean>;
1707
- filter: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
2290
+ filter: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
1708
2291
  }, "strip", z.ZodTypeAny, {
1709
2292
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
1710
2293
  alias: string;
1711
- filter?: import("../data").FilterCondition | undefined;
2294
+ filter?: import("./filter.zod").FilterCondition | undefined;
1712
2295
  field?: string | undefined;
1713
2296
  distinct?: boolean | undefined;
1714
2297
  }, {
1715
2298
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
1716
2299
  alias: string;
1717
- filter?: import("../data").FilterCondition | undefined;
2300
+ filter?: import("./filter.zod").FilterCondition | undefined;
1718
2301
  field?: string | undefined;
1719
2302
  distinct?: boolean | undefined;
1720
2303
  }>, "many">>;
1721
2304
  groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1722
- having: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
2305
+ having: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
1723
2306
  windowFunctions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1724
2307
  function: z.ZodEnum<["row_number", "rank", "dense_rank", "percent_rank", "lag", "lead", "first_value", "last_value", "sum", "avg", "count", "min", "max"]>;
1725
2308
  field: z.ZodOptional<z.ZodString>;
@@ -1808,9 +2391,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1808
2391
  distinct: z.ZodOptional<z.ZodBoolean>;
1809
2392
  }, "strip", z.ZodTypeAny, {
1810
2393
  object: string;
1811
- where?: import("../data").FilterCondition | undefined;
2394
+ where?: import("./filter.zod").FilterCondition | undefined;
1812
2395
  distinct?: boolean | undefined;
1813
2396
  fields?: any[] | undefined;
2397
+ search?: {
2398
+ query: string;
2399
+ fuzzy: boolean;
2400
+ operator: "and" | "or";
2401
+ highlight: boolean;
2402
+ fields?: string[] | undefined;
2403
+ boost?: Record<string, number> | undefined;
2404
+ minScore?: number | undefined;
2405
+ language?: string | undefined;
2406
+ } | undefined;
1814
2407
  orderBy?: {
1815
2408
  field: string;
1816
2409
  order: "asc" | "desc";
@@ -1822,12 +2415,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1822
2415
  aggregations?: {
1823
2416
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
1824
2417
  alias: string;
1825
- filter?: import("../data").FilterCondition | undefined;
2418
+ filter?: import("./filter.zod").FilterCondition | undefined;
1826
2419
  field?: string | undefined;
1827
2420
  distinct?: boolean | undefined;
1828
2421
  }[] | undefined;
1829
2422
  groupBy?: string[] | undefined;
1830
- having?: import("../data").FilterCondition | undefined;
2423
+ having?: import("./filter.zod").FilterCondition | undefined;
1831
2424
  windowFunctions?: {
1832
2425
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
1833
2426
  alias: string;
@@ -1847,9 +2440,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1847
2440
  }[] | undefined;
1848
2441
  }, {
1849
2442
  object: string;
1850
- where?: import("../data").FilterCondition | undefined;
2443
+ where?: import("./filter.zod").FilterCondition | undefined;
1851
2444
  distinct?: boolean | undefined;
1852
2445
  fields?: any[] | undefined;
2446
+ search?: {
2447
+ query: string;
2448
+ fields?: string[] | undefined;
2449
+ fuzzy?: boolean | undefined;
2450
+ operator?: "and" | "or" | undefined;
2451
+ boost?: Record<string, number> | undefined;
2452
+ minScore?: number | undefined;
2453
+ language?: string | undefined;
2454
+ highlight?: boolean | undefined;
2455
+ } | undefined;
1853
2456
  orderBy?: {
1854
2457
  field: string;
1855
2458
  order?: "asc" | "desc" | undefined;
@@ -1861,12 +2464,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1861
2464
  aggregations?: {
1862
2465
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
1863
2466
  alias: string;
1864
- filter?: import("../data").FilterCondition | undefined;
2467
+ filter?: import("./filter.zod").FilterCondition | undefined;
1865
2468
  field?: string | undefined;
1866
2469
  distinct?: boolean | undefined;
1867
2470
  }[] | undefined;
1868
2471
  groupBy?: string[] | undefined;
1869
- having?: import("../data").FilterCondition | undefined;
2472
+ having?: import("./filter.zod").FilterCondition | undefined;
1870
2473
  windowFunctions?: {
1871
2474
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
1872
2475
  alias: string;
@@ -1932,7 +2535,35 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1932
2535
  deleteMany: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodObject<{
1933
2536
  object: z.ZodString;
1934
2537
  fields: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
1935
- where: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
2538
+ where: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
2539
+ search: z.ZodOptional<z.ZodObject<{
2540
+ query: z.ZodString;
2541
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2542
+ fuzzy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2543
+ operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<["and", "or"]>>>;
2544
+ boost: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
2545
+ minScore: z.ZodOptional<z.ZodNumber>;
2546
+ language: z.ZodOptional<z.ZodString>;
2547
+ highlight: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2548
+ }, "strip", z.ZodTypeAny, {
2549
+ query: string;
2550
+ fuzzy: boolean;
2551
+ operator: "and" | "or";
2552
+ highlight: boolean;
2553
+ fields?: string[] | undefined;
2554
+ boost?: Record<string, number> | undefined;
2555
+ minScore?: number | undefined;
2556
+ language?: string | undefined;
2557
+ }, {
2558
+ query: string;
2559
+ fields?: string[] | undefined;
2560
+ fuzzy?: boolean | undefined;
2561
+ operator?: "and" | "or" | undefined;
2562
+ boost?: Record<string, number> | undefined;
2563
+ minScore?: number | undefined;
2564
+ language?: string | undefined;
2565
+ highlight?: boolean | undefined;
2566
+ }>>;
1936
2567
  orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
1937
2568
  field: z.ZodString;
1938
2569
  order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
@@ -1952,22 +2583,22 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
1952
2583
  field: z.ZodOptional<z.ZodString>;
1953
2584
  alias: z.ZodString;
1954
2585
  distinct: z.ZodOptional<z.ZodBoolean>;
1955
- filter: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
2586
+ filter: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
1956
2587
  }, "strip", z.ZodTypeAny, {
1957
2588
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
1958
2589
  alias: string;
1959
- filter?: import("../data").FilterCondition | undefined;
2590
+ filter?: import("./filter.zod").FilterCondition | undefined;
1960
2591
  field?: string | undefined;
1961
2592
  distinct?: boolean | undefined;
1962
2593
  }, {
1963
2594
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
1964
2595
  alias: string;
1965
- filter?: import("../data").FilterCondition | undefined;
2596
+ filter?: import("./filter.zod").FilterCondition | undefined;
1966
2597
  field?: string | undefined;
1967
2598
  distinct?: boolean | undefined;
1968
2599
  }>, "many">>;
1969
2600
  groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1970
- having: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
2601
+ having: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
1971
2602
  windowFunctions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1972
2603
  function: z.ZodEnum<["row_number", "rank", "dense_rank", "percent_rank", "lag", "lead", "first_value", "last_value", "sum", "avg", "count", "min", "max"]>;
1973
2604
  field: z.ZodOptional<z.ZodString>;
@@ -2056,9 +2687,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2056
2687
  distinct: z.ZodOptional<z.ZodBoolean>;
2057
2688
  }, "strip", z.ZodTypeAny, {
2058
2689
  object: string;
2059
- where?: import("../data").FilterCondition | undefined;
2690
+ where?: import("./filter.zod").FilterCondition | undefined;
2060
2691
  distinct?: boolean | undefined;
2061
2692
  fields?: any[] | undefined;
2693
+ search?: {
2694
+ query: string;
2695
+ fuzzy: boolean;
2696
+ operator: "and" | "or";
2697
+ highlight: boolean;
2698
+ fields?: string[] | undefined;
2699
+ boost?: Record<string, number> | undefined;
2700
+ minScore?: number | undefined;
2701
+ language?: string | undefined;
2702
+ } | undefined;
2062
2703
  orderBy?: {
2063
2704
  field: string;
2064
2705
  order: "asc" | "desc";
@@ -2070,12 +2711,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2070
2711
  aggregations?: {
2071
2712
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2072
2713
  alias: string;
2073
- filter?: import("../data").FilterCondition | undefined;
2714
+ filter?: import("./filter.zod").FilterCondition | undefined;
2074
2715
  field?: string | undefined;
2075
2716
  distinct?: boolean | undefined;
2076
2717
  }[] | undefined;
2077
2718
  groupBy?: string[] | undefined;
2078
- having?: import("../data").FilterCondition | undefined;
2719
+ having?: import("./filter.zod").FilterCondition | undefined;
2079
2720
  windowFunctions?: {
2080
2721
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
2081
2722
  alias: string;
@@ -2095,9 +2736,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2095
2736
  }[] | undefined;
2096
2737
  }, {
2097
2738
  object: string;
2098
- where?: import("../data").FilterCondition | undefined;
2739
+ where?: import("./filter.zod").FilterCondition | undefined;
2099
2740
  distinct?: boolean | undefined;
2100
2741
  fields?: any[] | undefined;
2742
+ search?: {
2743
+ query: string;
2744
+ fields?: string[] | undefined;
2745
+ fuzzy?: boolean | undefined;
2746
+ operator?: "and" | "or" | undefined;
2747
+ boost?: Record<string, number> | undefined;
2748
+ minScore?: number | undefined;
2749
+ language?: string | undefined;
2750
+ highlight?: boolean | undefined;
2751
+ } | undefined;
2101
2752
  orderBy?: {
2102
2753
  field: string;
2103
2754
  order?: "asc" | "desc" | undefined;
@@ -2109,12 +2760,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2109
2760
  aggregations?: {
2110
2761
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2111
2762
  alias: string;
2112
- filter?: import("../data").FilterCondition | undefined;
2763
+ filter?: import("./filter.zod").FilterCondition | undefined;
2113
2764
  field?: string | undefined;
2114
2765
  distinct?: boolean | undefined;
2115
2766
  }[] | undefined;
2116
2767
  groupBy?: string[] | undefined;
2117
- having?: import("../data").FilterCondition | undefined;
2768
+ having?: import("./filter.zod").FilterCondition | undefined;
2118
2769
  windowFunctions?: {
2119
2770
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
2120
2771
  alias: string;
@@ -2291,7 +2942,35 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2291
2942
  explain: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodObject<{
2292
2943
  object: z.ZodString;
2293
2944
  fields: z.ZodOptional<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>;
2294
- where: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
2945
+ where: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
2946
+ search: z.ZodOptional<z.ZodObject<{
2947
+ query: z.ZodString;
2948
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2949
+ fuzzy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2950
+ operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<["and", "or"]>>>;
2951
+ boost: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
2952
+ minScore: z.ZodOptional<z.ZodNumber>;
2953
+ language: z.ZodOptional<z.ZodString>;
2954
+ highlight: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2955
+ }, "strip", z.ZodTypeAny, {
2956
+ query: string;
2957
+ fuzzy: boolean;
2958
+ operator: "and" | "or";
2959
+ highlight: boolean;
2960
+ fields?: string[] | undefined;
2961
+ boost?: Record<string, number> | undefined;
2962
+ minScore?: number | undefined;
2963
+ language?: string | undefined;
2964
+ }, {
2965
+ query: string;
2966
+ fields?: string[] | undefined;
2967
+ fuzzy?: boolean | undefined;
2968
+ operator?: "and" | "or" | undefined;
2969
+ boost?: Record<string, number> | undefined;
2970
+ minScore?: number | undefined;
2971
+ language?: string | undefined;
2972
+ highlight?: boolean | undefined;
2973
+ }>>;
2295
2974
  orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
2296
2975
  field: z.ZodString;
2297
2976
  order: z.ZodDefault<z.ZodEnum<["asc", "desc"]>>;
@@ -2311,22 +2990,22 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2311
2990
  field: z.ZodOptional<z.ZodString>;
2312
2991
  alias: z.ZodString;
2313
2992
  distinct: z.ZodOptional<z.ZodBoolean>;
2314
- filter: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
2993
+ filter: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
2315
2994
  }, "strip", z.ZodTypeAny, {
2316
2995
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2317
2996
  alias: string;
2318
- filter?: import("../data").FilterCondition | undefined;
2997
+ filter?: import("./filter.zod").FilterCondition | undefined;
2319
2998
  field?: string | undefined;
2320
2999
  distinct?: boolean | undefined;
2321
3000
  }, {
2322
3001
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2323
3002
  alias: string;
2324
- filter?: import("../data").FilterCondition | undefined;
3003
+ filter?: import("./filter.zod").FilterCondition | undefined;
2325
3004
  field?: string | undefined;
2326
3005
  distinct?: boolean | undefined;
2327
3006
  }>, "many">>;
2328
3007
  groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2329
- having: z.ZodOptional<z.ZodType<import("../data").FilterCondition, z.ZodTypeDef, import("../data").FilterCondition>>;
3008
+ having: z.ZodOptional<z.ZodType<import("./filter.zod").FilterCondition, z.ZodTypeDef, import("./filter.zod").FilterCondition>>;
2330
3009
  windowFunctions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2331
3010
  function: z.ZodEnum<["row_number", "rank", "dense_rank", "percent_rank", "lag", "lead", "first_value", "last_value", "sum", "avg", "count", "min", "max"]>;
2332
3011
  field: z.ZodOptional<z.ZodString>;
@@ -2415,9 +3094,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2415
3094
  distinct: z.ZodOptional<z.ZodBoolean>;
2416
3095
  }, "strip", z.ZodTypeAny, {
2417
3096
  object: string;
2418
- where?: import("../data").FilterCondition | undefined;
3097
+ where?: import("./filter.zod").FilterCondition | undefined;
2419
3098
  distinct?: boolean | undefined;
2420
3099
  fields?: any[] | undefined;
3100
+ search?: {
3101
+ query: string;
3102
+ fuzzy: boolean;
3103
+ operator: "and" | "or";
3104
+ highlight: boolean;
3105
+ fields?: string[] | undefined;
3106
+ boost?: Record<string, number> | undefined;
3107
+ minScore?: number | undefined;
3108
+ language?: string | undefined;
3109
+ } | undefined;
2421
3110
  orderBy?: {
2422
3111
  field: string;
2423
3112
  order: "asc" | "desc";
@@ -2429,12 +3118,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2429
3118
  aggregations?: {
2430
3119
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2431
3120
  alias: string;
2432
- filter?: import("../data").FilterCondition | undefined;
3121
+ filter?: import("./filter.zod").FilterCondition | undefined;
2433
3122
  field?: string | undefined;
2434
3123
  distinct?: boolean | undefined;
2435
3124
  }[] | undefined;
2436
3125
  groupBy?: string[] | undefined;
2437
- having?: import("../data").FilterCondition | undefined;
3126
+ having?: import("./filter.zod").FilterCondition | undefined;
2438
3127
  windowFunctions?: {
2439
3128
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
2440
3129
  alias: string;
@@ -2454,9 +3143,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2454
3143
  }[] | undefined;
2455
3144
  }, {
2456
3145
  object: string;
2457
- where?: import("../data").FilterCondition | undefined;
3146
+ where?: import("./filter.zod").FilterCondition | undefined;
2458
3147
  distinct?: boolean | undefined;
2459
3148
  fields?: any[] | undefined;
3149
+ search?: {
3150
+ query: string;
3151
+ fields?: string[] | undefined;
3152
+ fuzzy?: boolean | undefined;
3153
+ operator?: "and" | "or" | undefined;
3154
+ boost?: Record<string, number> | undefined;
3155
+ minScore?: number | undefined;
3156
+ language?: string | undefined;
3157
+ highlight?: boolean | undefined;
3158
+ } | undefined;
2460
3159
  orderBy?: {
2461
3160
  field: string;
2462
3161
  order?: "asc" | "desc" | undefined;
@@ -2468,12 +3167,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2468
3167
  aggregations?: {
2469
3168
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2470
3169
  alias: string;
2471
- filter?: import("../data").FilterCondition | undefined;
3170
+ filter?: import("./filter.zod").FilterCondition | undefined;
2472
3171
  field?: string | undefined;
2473
3172
  distinct?: boolean | undefined;
2474
3173
  }[] | undefined;
2475
3174
  groupBy?: string[] | undefined;
2476
- having?: import("../data").FilterCondition | undefined;
3175
+ having?: import("./filter.zod").FilterCondition | undefined;
2477
3176
  windowFunctions?: {
2478
3177
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
2479
3178
  alias: string;
@@ -2531,9 +3230,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2531
3230
  }, "strip", z.ZodTypeAny, {
2532
3231
  find: (args_0: string, args_1: {
2533
3232
  object: string;
2534
- where?: import("../data").FilterCondition | undefined;
3233
+ where?: import("./filter.zod").FilterCondition | undefined;
2535
3234
  distinct?: boolean | undefined;
2536
3235
  fields?: any[] | undefined;
3236
+ search?: {
3237
+ query: string;
3238
+ fields?: string[] | undefined;
3239
+ fuzzy?: boolean | undefined;
3240
+ operator?: "and" | "or" | undefined;
3241
+ boost?: Record<string, number> | undefined;
3242
+ minScore?: number | undefined;
3243
+ language?: string | undefined;
3244
+ highlight?: boolean | undefined;
3245
+ } | undefined;
2537
3246
  orderBy?: {
2538
3247
  field: string;
2539
3248
  order?: "asc" | "desc" | undefined;
@@ -2545,12 +3254,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2545
3254
  aggregations?: {
2546
3255
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2547
3256
  alias: string;
2548
- filter?: import("../data").FilterCondition | undefined;
3257
+ filter?: import("./filter.zod").FilterCondition | undefined;
2549
3258
  field?: string | undefined;
2550
3259
  distinct?: boolean | undefined;
2551
3260
  }[] | undefined;
2552
3261
  groupBy?: string[] | undefined;
2553
- having?: import("../data").FilterCondition | undefined;
3262
+ having?: import("./filter.zod").FilterCondition | undefined;
2554
3263
  windowFunctions?: {
2555
3264
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
2556
3265
  alias: string;
@@ -2577,9 +3286,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2577
3286
  } | undefined, ...args: unknown[]) => Promise<Record<string, any>[]>;
2578
3287
  count: (args_0: string, args_1: {
2579
3288
  object: string;
2580
- where?: import("../data").FilterCondition | undefined;
3289
+ where?: import("./filter.zod").FilterCondition | undefined;
2581
3290
  distinct?: boolean | undefined;
2582
3291
  fields?: any[] | undefined;
3292
+ search?: {
3293
+ query: string;
3294
+ fields?: string[] | undefined;
3295
+ fuzzy?: boolean | undefined;
3296
+ operator?: "and" | "or" | undefined;
3297
+ boost?: Record<string, number> | undefined;
3298
+ minScore?: number | undefined;
3299
+ language?: string | undefined;
3300
+ highlight?: boolean | undefined;
3301
+ } | undefined;
2583
3302
  orderBy?: {
2584
3303
  field: string;
2585
3304
  order?: "asc" | "desc" | undefined;
@@ -2591,12 +3310,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2591
3310
  aggregations?: {
2592
3311
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2593
3312
  alias: string;
2594
- filter?: import("../data").FilterCondition | undefined;
3313
+ filter?: import("./filter.zod").FilterCondition | undefined;
2595
3314
  field?: string | undefined;
2596
3315
  distinct?: boolean | undefined;
2597
3316
  }[] | undefined;
2598
3317
  groupBy?: string[] | undefined;
2599
- having?: import("../data").FilterCondition | undefined;
3318
+ having?: import("./filter.zod").FilterCondition | undefined;
2600
3319
  windowFunctions?: {
2601
3320
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
2602
3321
  alias: string;
@@ -2651,36 +3370,21 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2651
3370
  traceContext?: Record<string, string> | undefined;
2652
3371
  } | undefined, ...args: unknown[]) => Promise<Record<string, any>>;
2653
3372
  version: string;
2654
- execute: (args_0: any, args_1: any[] | undefined, args_2: {
2655
- timeout?: number | undefined;
2656
- tenantId?: string | undefined;
2657
- transaction?: any;
2658
- skipCache?: boolean | undefined;
2659
- traceContext?: Record<string, string> | undefined;
2660
- } | undefined, ...args: unknown[]) => Promise<any>;
2661
- supports: {
2662
- joins: boolean;
2663
- transactions: boolean;
2664
- queryFilters: boolean;
2665
- queryAggregations: boolean;
2666
- querySorting: boolean;
2667
- queryPagination: boolean;
2668
- queryWindowFunctions: boolean;
2669
- querySubqueries: boolean;
2670
- fullTextSearch: boolean;
2671
- jsonFields: boolean;
2672
- arrayFields: boolean;
2673
- vectorSearch: boolean;
2674
- geoSpatial: boolean;
2675
- };
2676
- connect: (...args: unknown[]) => Promise<void>;
2677
- disconnect: (...args: unknown[]) => Promise<void>;
2678
- checkHealth: (...args: unknown[]) => Promise<boolean>;
2679
- findStream: (args_0: string, args_1: {
3373
+ findOne: (args_0: string, args_1: {
2680
3374
  object: string;
2681
- where?: import("../data").FilterCondition | undefined;
3375
+ where?: import("./filter.zod").FilterCondition | undefined;
2682
3376
  distinct?: boolean | undefined;
2683
3377
  fields?: any[] | undefined;
3378
+ search?: {
3379
+ query: string;
3380
+ fields?: string[] | undefined;
3381
+ fuzzy?: boolean | undefined;
3382
+ operator?: "and" | "or" | undefined;
3383
+ boost?: Record<string, number> | undefined;
3384
+ minScore?: number | undefined;
3385
+ language?: string | undefined;
3386
+ highlight?: boolean | undefined;
3387
+ } | undefined;
2684
3388
  orderBy?: {
2685
3389
  field: string;
2686
3390
  order?: "asc" | "desc" | undefined;
@@ -2692,12 +3396,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2692
3396
  aggregations?: {
2693
3397
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2694
3398
  alias: string;
2695
- filter?: import("../data").FilterCondition | undefined;
3399
+ filter?: import("./filter.zod").FilterCondition | undefined;
2696
3400
  field?: string | undefined;
2697
3401
  distinct?: boolean | undefined;
2698
3402
  }[] | undefined;
2699
3403
  groupBy?: string[] | undefined;
2700
- having?: import("../data").FilterCondition | undefined;
3404
+ having?: import("./filter.zod").FilterCondition | undefined;
2701
3405
  windowFunctions?: {
2702
3406
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
2703
3407
  alias: string;
@@ -2721,12 +3425,90 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2721
3425
  transaction?: any;
2722
3426
  skipCache?: boolean | undefined;
2723
3427
  traceContext?: Record<string, string> | undefined;
2724
- } | undefined, ...args: unknown[]) => any;
2725
- findOne: (args_0: string, args_1: {
3428
+ } | undefined, ...args: unknown[]) => Promise<Record<string, any> | null>;
3429
+ execute: (args_0: any, args_1: any[] | undefined, args_2: {
3430
+ timeout?: number | undefined;
3431
+ tenantId?: string | undefined;
3432
+ transaction?: any;
3433
+ skipCache?: boolean | undefined;
3434
+ traceContext?: Record<string, string> | undefined;
3435
+ } | undefined, ...args: unknown[]) => Promise<any>;
3436
+ bulkCreate: (args_0: string, args_1: Record<string, any>[], args_2: {
3437
+ timeout?: number | undefined;
3438
+ tenantId?: string | undefined;
3439
+ transaction?: any;
3440
+ skipCache?: boolean | undefined;
3441
+ traceContext?: Record<string, string> | undefined;
3442
+ } | undefined, ...args: unknown[]) => Promise<Record<string, any>[]>;
3443
+ bulkUpdate: (args_0: string, args_1: {
3444
+ id: string | number;
3445
+ data: Record<string, any>;
3446
+ }[], args_2: {
3447
+ timeout?: number | undefined;
3448
+ tenantId?: string | undefined;
3449
+ transaction?: any;
3450
+ skipCache?: boolean | undefined;
3451
+ traceContext?: Record<string, string> | undefined;
3452
+ } | undefined, ...args: unknown[]) => Promise<Record<string, any>[]>;
3453
+ bulkDelete: (args_0: string, args_1: (string | number)[], args_2: {
3454
+ timeout?: number | undefined;
3455
+ tenantId?: string | undefined;
3456
+ transaction?: any;
3457
+ skipCache?: boolean | undefined;
3458
+ traceContext?: Record<string, string> | undefined;
3459
+ } | undefined, ...args: unknown[]) => Promise<void>;
3460
+ supports: {
3461
+ joins: boolean;
3462
+ update: boolean;
3463
+ delete: boolean;
3464
+ create: boolean;
3465
+ indexes: boolean;
3466
+ read: boolean;
3467
+ bulkCreate: boolean;
3468
+ bulkUpdate: boolean;
3469
+ bulkDelete: boolean;
3470
+ transactions: boolean;
3471
+ savepoints: boolean;
3472
+ queryFilters: boolean;
3473
+ queryAggregations: boolean;
3474
+ querySorting: boolean;
3475
+ queryPagination: boolean;
3476
+ queryWindowFunctions: boolean;
3477
+ querySubqueries: boolean;
3478
+ queryCTE: boolean;
3479
+ fullTextSearch: boolean;
3480
+ jsonQuery: boolean;
3481
+ geospatialQuery: boolean;
3482
+ streaming: boolean;
3483
+ jsonFields: boolean;
3484
+ arrayFields: boolean;
3485
+ vectorSearch: boolean;
3486
+ geoSpatial: boolean;
3487
+ schemaSync: boolean;
3488
+ migrations: boolean;
3489
+ connectionPooling: boolean;
3490
+ preparedStatements: boolean;
3491
+ queryCache: boolean;
3492
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
3493
+ };
3494
+ connect: (...args: unknown[]) => Promise<void>;
3495
+ disconnect: (...args: unknown[]) => Promise<void>;
3496
+ checkHealth: (...args: unknown[]) => Promise<boolean>;
3497
+ findStream: (args_0: string, args_1: {
2726
3498
  object: string;
2727
- where?: import("../data").FilterCondition | undefined;
3499
+ where?: import("./filter.zod").FilterCondition | undefined;
2728
3500
  distinct?: boolean | undefined;
2729
3501
  fields?: any[] | undefined;
3502
+ search?: {
3503
+ query: string;
3504
+ fields?: string[] | undefined;
3505
+ fuzzy?: boolean | undefined;
3506
+ operator?: "and" | "or" | undefined;
3507
+ boost?: Record<string, number> | undefined;
3508
+ minScore?: number | undefined;
3509
+ language?: string | undefined;
3510
+ highlight?: boolean | undefined;
3511
+ } | undefined;
2730
3512
  orderBy?: {
2731
3513
  field: string;
2732
3514
  order?: "asc" | "desc" | undefined;
@@ -2738,12 +3520,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2738
3520
  aggregations?: {
2739
3521
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2740
3522
  alias: string;
2741
- filter?: import("../data").FilterCondition | undefined;
3523
+ filter?: import("./filter.zod").FilterCondition | undefined;
2742
3524
  field?: string | undefined;
2743
3525
  distinct?: boolean | undefined;
2744
3526
  }[] | undefined;
2745
3527
  groupBy?: string[] | undefined;
2746
- having?: import("../data").FilterCondition | undefined;
3528
+ having?: import("./filter.zod").FilterCondition | undefined;
2747
3529
  windowFunctions?: {
2748
3530
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
2749
3531
  alias: string;
@@ -2767,31 +3549,7 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2767
3549
  transaction?: any;
2768
3550
  skipCache?: boolean | undefined;
2769
3551
  traceContext?: Record<string, string> | undefined;
2770
- } | undefined, ...args: unknown[]) => Promise<Record<string, any> | null>;
2771
- bulkCreate: (args_0: string, args_1: Record<string, any>[], args_2: {
2772
- timeout?: number | undefined;
2773
- tenantId?: string | undefined;
2774
- transaction?: any;
2775
- skipCache?: boolean | undefined;
2776
- traceContext?: Record<string, string> | undefined;
2777
- } | undefined, ...args: unknown[]) => Promise<Record<string, any>[]>;
2778
- bulkUpdate: (args_0: string, args_1: {
2779
- id: string | number;
2780
- data: Record<string, any>;
2781
- }[], args_2: {
2782
- timeout?: number | undefined;
2783
- tenantId?: string | undefined;
2784
- transaction?: any;
2785
- skipCache?: boolean | undefined;
2786
- traceContext?: Record<string, string> | undefined;
2787
- } | undefined, ...args: unknown[]) => Promise<Record<string, any>[]>;
2788
- bulkDelete: (args_0: string, args_1: (string | number)[], args_2: {
2789
- timeout?: number | undefined;
2790
- tenantId?: string | undefined;
2791
- transaction?: any;
2792
- skipCache?: boolean | undefined;
2793
- traceContext?: Record<string, string> | undefined;
2794
- } | undefined, ...args: unknown[]) => Promise<void>;
3552
+ } | undefined, ...args: unknown[]) => any;
2795
3553
  beginTransaction: (args_0: {
2796
3554
  isolationLevel?: "READ UNCOMMITTED" | "READ COMMITTED" | "REPEATABLE READ" | "SERIALIZABLE" | "SNAPSHOT" | undefined;
2797
3555
  } | undefined, ...args: unknown[]) => Promise<any>;
@@ -2819,9 +3577,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2819
3577
  } | undefined) | undefined;
2820
3578
  updateMany?: ((args_0: string, args_1: {
2821
3579
  object: string;
2822
- where?: import("../data").FilterCondition | undefined;
3580
+ where?: import("./filter.zod").FilterCondition | undefined;
2823
3581
  distinct?: boolean | undefined;
2824
3582
  fields?: any[] | undefined;
3583
+ search?: {
3584
+ query: string;
3585
+ fields?: string[] | undefined;
3586
+ fuzzy?: boolean | undefined;
3587
+ operator?: "and" | "or" | undefined;
3588
+ boost?: Record<string, number> | undefined;
3589
+ minScore?: number | undefined;
3590
+ language?: string | undefined;
3591
+ highlight?: boolean | undefined;
3592
+ } | undefined;
2825
3593
  orderBy?: {
2826
3594
  field: string;
2827
3595
  order?: "asc" | "desc" | undefined;
@@ -2833,12 +3601,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2833
3601
  aggregations?: {
2834
3602
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2835
3603
  alias: string;
2836
- filter?: import("../data").FilterCondition | undefined;
3604
+ filter?: import("./filter.zod").FilterCondition | undefined;
2837
3605
  field?: string | undefined;
2838
3606
  distinct?: boolean | undefined;
2839
3607
  }[] | undefined;
2840
3608
  groupBy?: string[] | undefined;
2841
- having?: import("../data").FilterCondition | undefined;
3609
+ having?: import("./filter.zod").FilterCondition | undefined;
2842
3610
  windowFunctions?: {
2843
3611
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
2844
3612
  alias: string;
@@ -2865,9 +3633,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2865
3633
  } | undefined, ...args: unknown[]) => Promise<number>) | undefined;
2866
3634
  deleteMany?: ((args_0: string, args_1: {
2867
3635
  object: string;
2868
- where?: import("../data").FilterCondition | undefined;
3636
+ where?: import("./filter.zod").FilterCondition | undefined;
2869
3637
  distinct?: boolean | undefined;
2870
3638
  fields?: any[] | undefined;
3639
+ search?: {
3640
+ query: string;
3641
+ fields?: string[] | undefined;
3642
+ fuzzy?: boolean | undefined;
3643
+ operator?: "and" | "or" | undefined;
3644
+ boost?: Record<string, number> | undefined;
3645
+ minScore?: number | undefined;
3646
+ language?: string | undefined;
3647
+ highlight?: boolean | undefined;
3648
+ } | undefined;
2871
3649
  orderBy?: {
2872
3650
  field: string;
2873
3651
  order?: "asc" | "desc" | undefined;
@@ -2879,12 +3657,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2879
3657
  aggregations?: {
2880
3658
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2881
3659
  alias: string;
2882
- filter?: import("../data").FilterCondition | undefined;
3660
+ filter?: import("./filter.zod").FilterCondition | undefined;
2883
3661
  field?: string | undefined;
2884
3662
  distinct?: boolean | undefined;
2885
3663
  }[] | undefined;
2886
3664
  groupBy?: string[] | undefined;
2887
- having?: import("../data").FilterCondition | undefined;
3665
+ having?: import("./filter.zod").FilterCondition | undefined;
2888
3666
  windowFunctions?: {
2889
3667
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
2890
3668
  alias: string;
@@ -2911,9 +3689,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2911
3689
  } | undefined, ...args: unknown[]) => Promise<number>) | undefined;
2912
3690
  explain?: ((args_0: string, args_1: {
2913
3691
  object: string;
2914
- where?: import("../data").FilterCondition | undefined;
3692
+ where?: import("./filter.zod").FilterCondition | undefined;
2915
3693
  distinct?: boolean | undefined;
2916
3694
  fields?: any[] | undefined;
3695
+ search?: {
3696
+ query: string;
3697
+ fields?: string[] | undefined;
3698
+ fuzzy?: boolean | undefined;
3699
+ operator?: "and" | "or" | undefined;
3700
+ boost?: Record<string, number> | undefined;
3701
+ minScore?: number | undefined;
3702
+ language?: string | undefined;
3703
+ highlight?: boolean | undefined;
3704
+ } | undefined;
2917
3705
  orderBy?: {
2918
3706
  field: string;
2919
3707
  order?: "asc" | "desc" | undefined;
@@ -2925,12 +3713,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2925
3713
  aggregations?: {
2926
3714
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2927
3715
  alias: string;
2928
- filter?: import("../data").FilterCondition | undefined;
3716
+ filter?: import("./filter.zod").FilterCondition | undefined;
2929
3717
  field?: string | undefined;
2930
3718
  distinct?: boolean | undefined;
2931
3719
  }[] | undefined;
2932
3720
  groupBy?: string[] | undefined;
2933
- having?: import("../data").FilterCondition | undefined;
3721
+ having?: import("./filter.zod").FilterCondition | undefined;
2934
3722
  windowFunctions?: {
2935
3723
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
2936
3724
  alias: string;
@@ -2958,9 +3746,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2958
3746
  }, {
2959
3747
  find: (args_0: string, args_1: {
2960
3748
  object: string;
2961
- where?: import("../data").FilterCondition | undefined;
3749
+ where?: import("./filter.zod").FilterCondition | undefined;
2962
3750
  distinct?: boolean | undefined;
2963
3751
  fields?: any[] | undefined;
3752
+ search?: {
3753
+ query: string;
3754
+ fuzzy: boolean;
3755
+ operator: "and" | "or";
3756
+ highlight: boolean;
3757
+ fields?: string[] | undefined;
3758
+ boost?: Record<string, number> | undefined;
3759
+ minScore?: number | undefined;
3760
+ language?: string | undefined;
3761
+ } | undefined;
2964
3762
  orderBy?: {
2965
3763
  field: string;
2966
3764
  order: "asc" | "desc";
@@ -2972,12 +3770,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
2972
3770
  aggregations?: {
2973
3771
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
2974
3772
  alias: string;
2975
- filter?: import("../data").FilterCondition | undefined;
3773
+ filter?: import("./filter.zod").FilterCondition | undefined;
2976
3774
  field?: string | undefined;
2977
3775
  distinct?: boolean | undefined;
2978
3776
  }[] | undefined;
2979
3777
  groupBy?: string[] | undefined;
2980
- having?: import("../data").FilterCondition | undefined;
3778
+ having?: import("./filter.zod").FilterCondition | undefined;
2981
3779
  windowFunctions?: {
2982
3780
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
2983
3781
  alias: string;
@@ -3004,9 +3802,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3004
3802
  } | undefined, ...args: unknown[]) => Promise<Record<string, any>[]>;
3005
3803
  count: (args_0: string, args_1: {
3006
3804
  object: string;
3007
- where?: import("../data").FilterCondition | undefined;
3805
+ where?: import("./filter.zod").FilterCondition | undefined;
3008
3806
  distinct?: boolean | undefined;
3009
3807
  fields?: any[] | undefined;
3808
+ search?: {
3809
+ query: string;
3810
+ fuzzy: boolean;
3811
+ operator: "and" | "or";
3812
+ highlight: boolean;
3813
+ fields?: string[] | undefined;
3814
+ boost?: Record<string, number> | undefined;
3815
+ minScore?: number | undefined;
3816
+ language?: string | undefined;
3817
+ } | undefined;
3010
3818
  orderBy?: {
3011
3819
  field: string;
3012
3820
  order: "asc" | "desc";
@@ -3018,12 +3826,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3018
3826
  aggregations?: {
3019
3827
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
3020
3828
  alias: string;
3021
- filter?: import("../data").FilterCondition | undefined;
3829
+ filter?: import("./filter.zod").FilterCondition | undefined;
3022
3830
  field?: string | undefined;
3023
3831
  distinct?: boolean | undefined;
3024
3832
  }[] | undefined;
3025
3833
  groupBy?: string[] | undefined;
3026
- having?: import("../data").FilterCondition | undefined;
3834
+ having?: import("./filter.zod").FilterCondition | undefined;
3027
3835
  windowFunctions?: {
3028
3836
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
3029
3837
  alias: string;
@@ -3078,36 +3886,21 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3078
3886
  traceContext?: Record<string, string> | undefined;
3079
3887
  } | undefined, ...args: unknown[]) => Promise<Record<string, any>>;
3080
3888
  version: string;
3081
- execute: (args_0: any, args_1: any[] | undefined, args_2: {
3082
- timeout?: number | undefined;
3083
- tenantId?: string | undefined;
3084
- transaction?: any;
3085
- skipCache?: boolean | undefined;
3086
- traceContext?: Record<string, string> | undefined;
3087
- } | undefined, ...args: unknown[]) => Promise<any>;
3088
- supports: {
3089
- joins: boolean;
3090
- transactions: boolean;
3091
- queryFilters: boolean;
3092
- queryAggregations: boolean;
3093
- querySorting: boolean;
3094
- queryPagination: boolean;
3095
- queryWindowFunctions: boolean;
3096
- querySubqueries: boolean;
3097
- fullTextSearch: boolean;
3098
- jsonFields: boolean;
3099
- arrayFields: boolean;
3100
- vectorSearch?: boolean | undefined;
3101
- geoSpatial?: boolean | undefined;
3102
- };
3103
- connect: (...args: unknown[]) => Promise<void>;
3104
- disconnect: (...args: unknown[]) => Promise<void>;
3105
- checkHealth: (...args: unknown[]) => Promise<boolean>;
3106
- findStream: (args_0: string, args_1: {
3889
+ findOne: (args_0: string, args_1: {
3107
3890
  object: string;
3108
- where?: import("../data").FilterCondition | undefined;
3891
+ where?: import("./filter.zod").FilterCondition | undefined;
3109
3892
  distinct?: boolean | undefined;
3110
3893
  fields?: any[] | undefined;
3894
+ search?: {
3895
+ query: string;
3896
+ fuzzy: boolean;
3897
+ operator: "and" | "or";
3898
+ highlight: boolean;
3899
+ fields?: string[] | undefined;
3900
+ boost?: Record<string, number> | undefined;
3901
+ minScore?: number | undefined;
3902
+ language?: string | undefined;
3903
+ } | undefined;
3111
3904
  orderBy?: {
3112
3905
  field: string;
3113
3906
  order: "asc" | "desc";
@@ -3119,12 +3912,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3119
3912
  aggregations?: {
3120
3913
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
3121
3914
  alias: string;
3122
- filter?: import("../data").FilterCondition | undefined;
3915
+ filter?: import("./filter.zod").FilterCondition | undefined;
3123
3916
  field?: string | undefined;
3124
3917
  distinct?: boolean | undefined;
3125
3918
  }[] | undefined;
3126
3919
  groupBy?: string[] | undefined;
3127
- having?: import("../data").FilterCondition | undefined;
3920
+ having?: import("./filter.zod").FilterCondition | undefined;
3128
3921
  windowFunctions?: {
3129
3922
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
3130
3923
  alias: string;
@@ -3148,12 +3941,90 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3148
3941
  transaction?: any;
3149
3942
  skipCache?: boolean | undefined;
3150
3943
  traceContext?: Record<string, string> | undefined;
3151
- } | undefined, ...args: unknown[]) => any;
3152
- findOne: (args_0: string, args_1: {
3944
+ } | undefined, ...args: unknown[]) => Promise<Record<string, any> | null>;
3945
+ execute: (args_0: any, args_1: any[] | undefined, args_2: {
3946
+ timeout?: number | undefined;
3947
+ tenantId?: string | undefined;
3948
+ transaction?: any;
3949
+ skipCache?: boolean | undefined;
3950
+ traceContext?: Record<string, string> | undefined;
3951
+ } | undefined, ...args: unknown[]) => Promise<any>;
3952
+ bulkCreate: (args_0: string, args_1: Record<string, any>[], args_2: {
3953
+ timeout?: number | undefined;
3954
+ tenantId?: string | undefined;
3955
+ transaction?: any;
3956
+ skipCache?: boolean | undefined;
3957
+ traceContext?: Record<string, string> | undefined;
3958
+ } | undefined, ...args: unknown[]) => Promise<Record<string, any>[]>;
3959
+ bulkUpdate: (args_0: string, args_1: {
3960
+ id: string | number;
3961
+ data: Record<string, any>;
3962
+ }[], args_2: {
3963
+ timeout?: number | undefined;
3964
+ tenantId?: string | undefined;
3965
+ transaction?: any;
3966
+ skipCache?: boolean | undefined;
3967
+ traceContext?: Record<string, string> | undefined;
3968
+ } | undefined, ...args: unknown[]) => Promise<Record<string, any>[]>;
3969
+ bulkDelete: (args_0: string, args_1: (string | number)[], args_2: {
3970
+ timeout?: number | undefined;
3971
+ tenantId?: string | undefined;
3972
+ transaction?: any;
3973
+ skipCache?: boolean | undefined;
3974
+ traceContext?: Record<string, string> | undefined;
3975
+ } | undefined, ...args: unknown[]) => Promise<void>;
3976
+ supports: {
3977
+ joins?: boolean | undefined;
3978
+ update?: boolean | undefined;
3979
+ delete?: boolean | undefined;
3980
+ create?: boolean | undefined;
3981
+ indexes?: boolean | undefined;
3982
+ read?: boolean | undefined;
3983
+ bulkCreate?: boolean | undefined;
3984
+ bulkUpdate?: boolean | undefined;
3985
+ bulkDelete?: boolean | undefined;
3986
+ transactions?: boolean | undefined;
3987
+ savepoints?: boolean | undefined;
3988
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
3989
+ queryFilters?: boolean | undefined;
3990
+ queryAggregations?: boolean | undefined;
3991
+ querySorting?: boolean | undefined;
3992
+ queryPagination?: boolean | undefined;
3993
+ queryWindowFunctions?: boolean | undefined;
3994
+ querySubqueries?: boolean | undefined;
3995
+ queryCTE?: boolean | undefined;
3996
+ fullTextSearch?: boolean | undefined;
3997
+ jsonQuery?: boolean | undefined;
3998
+ geospatialQuery?: boolean | undefined;
3999
+ streaming?: boolean | undefined;
4000
+ jsonFields?: boolean | undefined;
4001
+ arrayFields?: boolean | undefined;
4002
+ vectorSearch?: boolean | undefined;
4003
+ geoSpatial?: boolean | undefined;
4004
+ schemaSync?: boolean | undefined;
4005
+ migrations?: boolean | undefined;
4006
+ connectionPooling?: boolean | undefined;
4007
+ preparedStatements?: boolean | undefined;
4008
+ queryCache?: boolean | undefined;
4009
+ };
4010
+ connect: (...args: unknown[]) => Promise<void>;
4011
+ disconnect: (...args: unknown[]) => Promise<void>;
4012
+ checkHealth: (...args: unknown[]) => Promise<boolean>;
4013
+ findStream: (args_0: string, args_1: {
3153
4014
  object: string;
3154
- where?: import("../data").FilterCondition | undefined;
4015
+ where?: import("./filter.zod").FilterCondition | undefined;
3155
4016
  distinct?: boolean | undefined;
3156
4017
  fields?: any[] | undefined;
4018
+ search?: {
4019
+ query: string;
4020
+ fuzzy: boolean;
4021
+ operator: "and" | "or";
4022
+ highlight: boolean;
4023
+ fields?: string[] | undefined;
4024
+ boost?: Record<string, number> | undefined;
4025
+ minScore?: number | undefined;
4026
+ language?: string | undefined;
4027
+ } | undefined;
3157
4028
  orderBy?: {
3158
4029
  field: string;
3159
4030
  order: "asc" | "desc";
@@ -3165,12 +4036,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3165
4036
  aggregations?: {
3166
4037
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
3167
4038
  alias: string;
3168
- filter?: import("../data").FilterCondition | undefined;
4039
+ filter?: import("./filter.zod").FilterCondition | undefined;
3169
4040
  field?: string | undefined;
3170
4041
  distinct?: boolean | undefined;
3171
4042
  }[] | undefined;
3172
4043
  groupBy?: string[] | undefined;
3173
- having?: import("../data").FilterCondition | undefined;
4044
+ having?: import("./filter.zod").FilterCondition | undefined;
3174
4045
  windowFunctions?: {
3175
4046
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
3176
4047
  alias: string;
@@ -3194,31 +4065,7 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3194
4065
  transaction?: any;
3195
4066
  skipCache?: boolean | undefined;
3196
4067
  traceContext?: Record<string, string> | undefined;
3197
- } | undefined, ...args: unknown[]) => Promise<Record<string, any> | null>;
3198
- bulkCreate: (args_0: string, args_1: Record<string, any>[], args_2: {
3199
- timeout?: number | undefined;
3200
- tenantId?: string | undefined;
3201
- transaction?: any;
3202
- skipCache?: boolean | undefined;
3203
- traceContext?: Record<string, string> | undefined;
3204
- } | undefined, ...args: unknown[]) => Promise<Record<string, any>[]>;
3205
- bulkUpdate: (args_0: string, args_1: {
3206
- id: string | number;
3207
- data: Record<string, any>;
3208
- }[], args_2: {
3209
- timeout?: number | undefined;
3210
- tenantId?: string | undefined;
3211
- transaction?: any;
3212
- skipCache?: boolean | undefined;
3213
- traceContext?: Record<string, string> | undefined;
3214
- } | undefined, ...args: unknown[]) => Promise<Record<string, any>[]>;
3215
- bulkDelete: (args_0: string, args_1: (string | number)[], args_2: {
3216
- timeout?: number | undefined;
3217
- tenantId?: string | undefined;
3218
- transaction?: any;
3219
- skipCache?: boolean | undefined;
3220
- traceContext?: Record<string, string> | undefined;
3221
- } | undefined, ...args: unknown[]) => Promise<void>;
4068
+ } | undefined, ...args: unknown[]) => any;
3222
4069
  beginTransaction: (args_0: {
3223
4070
  isolationLevel?: "READ UNCOMMITTED" | "READ COMMITTED" | "REPEATABLE READ" | "SERIALIZABLE" | "SNAPSHOT" | undefined;
3224
4071
  } | undefined, ...args: unknown[]) => Promise<any>;
@@ -3246,9 +4093,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3246
4093
  } | undefined) | undefined;
3247
4094
  updateMany?: ((args_0: string, args_1: {
3248
4095
  object: string;
3249
- where?: import("../data").FilterCondition | undefined;
4096
+ where?: import("./filter.zod").FilterCondition | undefined;
3250
4097
  distinct?: boolean | undefined;
3251
4098
  fields?: any[] | undefined;
4099
+ search?: {
4100
+ query: string;
4101
+ fuzzy: boolean;
4102
+ operator: "and" | "or";
4103
+ highlight: boolean;
4104
+ fields?: string[] | undefined;
4105
+ boost?: Record<string, number> | undefined;
4106
+ minScore?: number | undefined;
4107
+ language?: string | undefined;
4108
+ } | undefined;
3252
4109
  orderBy?: {
3253
4110
  field: string;
3254
4111
  order: "asc" | "desc";
@@ -3260,12 +4117,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3260
4117
  aggregations?: {
3261
4118
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
3262
4119
  alias: string;
3263
- filter?: import("../data").FilterCondition | undefined;
4120
+ filter?: import("./filter.zod").FilterCondition | undefined;
3264
4121
  field?: string | undefined;
3265
4122
  distinct?: boolean | undefined;
3266
4123
  }[] | undefined;
3267
4124
  groupBy?: string[] | undefined;
3268
- having?: import("../data").FilterCondition | undefined;
4125
+ having?: import("./filter.zod").FilterCondition | undefined;
3269
4126
  windowFunctions?: {
3270
4127
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
3271
4128
  alias: string;
@@ -3292,9 +4149,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3292
4149
  } | undefined, ...args: unknown[]) => Promise<number>) | undefined;
3293
4150
  deleteMany?: ((args_0: string, args_1: {
3294
4151
  object: string;
3295
- where?: import("../data").FilterCondition | undefined;
4152
+ where?: import("./filter.zod").FilterCondition | undefined;
3296
4153
  distinct?: boolean | undefined;
3297
4154
  fields?: any[] | undefined;
4155
+ search?: {
4156
+ query: string;
4157
+ fuzzy: boolean;
4158
+ operator: "and" | "or";
4159
+ highlight: boolean;
4160
+ fields?: string[] | undefined;
4161
+ boost?: Record<string, number> | undefined;
4162
+ minScore?: number | undefined;
4163
+ language?: string | undefined;
4164
+ } | undefined;
3298
4165
  orderBy?: {
3299
4166
  field: string;
3300
4167
  order: "asc" | "desc";
@@ -3306,12 +4173,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3306
4173
  aggregations?: {
3307
4174
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
3308
4175
  alias: string;
3309
- filter?: import("../data").FilterCondition | undefined;
4176
+ filter?: import("./filter.zod").FilterCondition | undefined;
3310
4177
  field?: string | undefined;
3311
4178
  distinct?: boolean | undefined;
3312
4179
  }[] | undefined;
3313
4180
  groupBy?: string[] | undefined;
3314
- having?: import("../data").FilterCondition | undefined;
4181
+ having?: import("./filter.zod").FilterCondition | undefined;
3315
4182
  windowFunctions?: {
3316
4183
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
3317
4184
  alias: string;
@@ -3338,9 +4205,19 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3338
4205
  } | undefined, ...args: unknown[]) => Promise<number>) | undefined;
3339
4206
  explain?: ((args_0: string, args_1: {
3340
4207
  object: string;
3341
- where?: import("../data").FilterCondition | undefined;
4208
+ where?: import("./filter.zod").FilterCondition | undefined;
3342
4209
  distinct?: boolean | undefined;
3343
4210
  fields?: any[] | undefined;
4211
+ search?: {
4212
+ query: string;
4213
+ fuzzy: boolean;
4214
+ operator: "and" | "or";
4215
+ highlight: boolean;
4216
+ fields?: string[] | undefined;
4217
+ boost?: Record<string, number> | undefined;
4218
+ minScore?: number | undefined;
4219
+ language?: string | undefined;
4220
+ } | undefined;
3344
4221
  orderBy?: {
3345
4222
  field: string;
3346
4223
  order: "asc" | "desc";
@@ -3352,12 +4229,12 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3352
4229
  aggregations?: {
3353
4230
  function: "count" | "sum" | "avg" | "min" | "max" | "count_distinct" | "array_agg" | "string_agg";
3354
4231
  alias: string;
3355
- filter?: import("../data").FilterCondition | undefined;
4232
+ filter?: import("./filter.zod").FilterCondition | undefined;
3356
4233
  field?: string | undefined;
3357
4234
  distinct?: boolean | undefined;
3358
4235
  }[] | undefined;
3359
4236
  groupBy?: string[] | undefined;
3360
- having?: import("../data").FilterCondition | undefined;
4237
+ having?: import("./filter.zod").FilterCondition | undefined;
3361
4238
  windowFunctions?: {
3362
4239
  function: "count" | "sum" | "avg" | "min" | "max" | "row_number" | "rank" | "dense_rank" | "percent_rank" | "lag" | "lead" | "first_value" | "last_value";
3363
4240
  alias: string;
@@ -3383,10 +4260,422 @@ export declare const DriverInterfaceSchema: z.ZodObject<{
3383
4260
  traceContext?: Record<string, string> | undefined;
3384
4261
  } | undefined, ...args: unknown[]) => Promise<any>) | undefined;
3385
4262
  }>;
4263
+ /**
4264
+ * Connection Pool Configuration Schema
4265
+ * Manages database connection pooling for performance
4266
+ */
4267
+ export declare const PoolConfigSchema: z.ZodObject<{
4268
+ min: z.ZodDefault<z.ZodNumber>;
4269
+ max: z.ZodDefault<z.ZodNumber>;
4270
+ idleTimeoutMillis: z.ZodDefault<z.ZodNumber>;
4271
+ connectionTimeoutMillis: z.ZodDefault<z.ZodNumber>;
4272
+ }, "strip", z.ZodTypeAny, {
4273
+ min: number;
4274
+ max: number;
4275
+ idleTimeoutMillis: number;
4276
+ connectionTimeoutMillis: number;
4277
+ }, {
4278
+ min?: number | undefined;
4279
+ max?: number | undefined;
4280
+ idleTimeoutMillis?: number | undefined;
4281
+ connectionTimeoutMillis?: number | undefined;
4282
+ }>;
4283
+ /**
4284
+ * Driver Configuration Schema
4285
+ * Base configuration for database drivers
4286
+ */
4287
+ export declare const DriverConfigSchema: z.ZodObject<{
4288
+ name: z.ZodString;
4289
+ type: z.ZodEnum<["sql", "nosql", "cache", "search", "graph", "timeseries"]>;
4290
+ capabilities: z.ZodEffects<z.ZodObject<{
4291
+ /**
4292
+ * Whether the driver supports create operations.
4293
+ */
4294
+ create: z.ZodDefault<z.ZodBoolean>;
4295
+ /**
4296
+ * Whether the driver supports read operations.
4297
+ */
4298
+ read: z.ZodDefault<z.ZodBoolean>;
4299
+ /**
4300
+ * Whether the driver supports update operations.
4301
+ */
4302
+ update: z.ZodDefault<z.ZodBoolean>;
4303
+ /**
4304
+ * Whether the driver supports delete operations.
4305
+ */
4306
+ delete: z.ZodDefault<z.ZodBoolean>;
4307
+ /**
4308
+ * Whether the driver supports bulk create operations.
4309
+ */
4310
+ bulkCreate: z.ZodDefault<z.ZodBoolean>;
4311
+ /**
4312
+ * Whether the driver supports bulk update operations.
4313
+ */
4314
+ bulkUpdate: z.ZodDefault<z.ZodBoolean>;
4315
+ /**
4316
+ * Whether the driver supports bulk delete operations.
4317
+ */
4318
+ bulkDelete: z.ZodDefault<z.ZodBoolean>;
4319
+ /**
4320
+ * Whether the driver supports database transactions.
4321
+ * If true, beginTransaction, commit, and rollback must be implemented.
4322
+ */
4323
+ transactions: z.ZodDefault<z.ZodBoolean>;
4324
+ /**
4325
+ * Whether the driver supports savepoints within transactions.
4326
+ */
4327
+ savepoints: z.ZodDefault<z.ZodBoolean>;
4328
+ /**
4329
+ * Supported transaction isolation levels.
4330
+ */
4331
+ isolationLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<["read-uncommitted", "read-committed", "repeatable-read", "serializable"]>, "many">>;
4332
+ /**
4333
+ * Whether the driver supports WHERE clause filters.
4334
+ * If false, ObjectQL will fetch all records and filter in memory.
4335
+ *
4336
+ * Example: Memory driver might not support complex filter conditions.
4337
+ */
4338
+ queryFilters: z.ZodDefault<z.ZodBoolean>;
4339
+ /**
4340
+ * Whether the driver supports aggregation functions (COUNT, SUM, AVG, etc.).
4341
+ * If false, ObjectQL will compute aggregations in memory.
4342
+ */
4343
+ queryAggregations: z.ZodDefault<z.ZodBoolean>;
4344
+ /**
4345
+ * Whether the driver supports ORDER BY sorting.
4346
+ * If false, ObjectQL will sort results in memory.
4347
+ */
4348
+ querySorting: z.ZodDefault<z.ZodBoolean>;
4349
+ /**
4350
+ * Whether the driver supports LIMIT/OFFSET pagination.
4351
+ * If false, ObjectQL will fetch all records and paginate in memory.
4352
+ */
4353
+ queryPagination: z.ZodDefault<z.ZodBoolean>;
4354
+ /**
4355
+ * Whether the driver supports window functions (ROW_NUMBER, RANK, LAG, LEAD, etc.).
4356
+ * If false, ObjectQL will compute window functions in memory.
4357
+ */
4358
+ queryWindowFunctions: z.ZodDefault<z.ZodBoolean>;
4359
+ /**
4360
+ * Whether the driver supports subqueries (nested SELECT statements).
4361
+ * If false, ObjectQL will execute queries separately and combine results.
4362
+ */
4363
+ querySubqueries: z.ZodDefault<z.ZodBoolean>;
4364
+ /**
4365
+ * Whether the driver supports Common Table Expressions (WITH clause).
4366
+ */
4367
+ queryCTE: z.ZodDefault<z.ZodBoolean>;
4368
+ /**
4369
+ * Whether the driver supports SQL-style joins.
4370
+ * If false, ObjectQL will fetch related data separately and join in memory.
4371
+ */
4372
+ joins: z.ZodDefault<z.ZodBoolean>;
4373
+ /**
4374
+ * Whether the driver supports full-text search.
4375
+ * If true, text search queries can be pushed to the database.
4376
+ */
4377
+ fullTextSearch: z.ZodDefault<z.ZodBoolean>;
4378
+ /**
4379
+ * Whether the driver supports JSON querying capabilities.
4380
+ */
4381
+ jsonQuery: z.ZodDefault<z.ZodBoolean>;
4382
+ /**
4383
+ * Whether the driver supports geospatial queries.
4384
+ */
4385
+ geospatialQuery: z.ZodDefault<z.ZodBoolean>;
4386
+ /**
4387
+ * Whether the driver supports streaming large result sets.
4388
+ */
4389
+ streaming: z.ZodDefault<z.ZodBoolean>;
4390
+ /**
4391
+ * Whether the driver supports JSON field types.
4392
+ * If false, JSON data will be serialized as strings.
4393
+ */
4394
+ jsonFields: z.ZodDefault<z.ZodBoolean>;
4395
+ /**
4396
+ * Whether the driver supports array field types.
4397
+ * If false, arrays will be stored as JSON strings or in separate tables.
4398
+ */
4399
+ arrayFields: z.ZodDefault<z.ZodBoolean>;
4400
+ /**
4401
+ * Whether the driver supports vector embeddings and similarity search.
4402
+ * Required for RAG (Retrieval-Augmented Generation) and AI features.
4403
+ */
4404
+ vectorSearch: z.ZodDefault<z.ZodBoolean>;
4405
+ /**
4406
+ * Whether the driver supports geospatial queries.
4407
+ * @deprecated Use geospatialQuery instead
4408
+ */
4409
+ geoSpatial: z.ZodDefault<z.ZodBoolean>;
4410
+ /**
4411
+ * Whether the driver supports automatic schema synchronization.
4412
+ */
4413
+ schemaSync: z.ZodDefault<z.ZodBoolean>;
4414
+ /**
4415
+ * Whether the driver supports database migrations.
4416
+ */
4417
+ migrations: z.ZodDefault<z.ZodBoolean>;
4418
+ /**
4419
+ * Whether the driver supports index management.
4420
+ */
4421
+ indexes: z.ZodDefault<z.ZodBoolean>;
4422
+ /**
4423
+ * Whether the driver supports connection pooling.
4424
+ */
4425
+ connectionPooling: z.ZodDefault<z.ZodBoolean>;
4426
+ /**
4427
+ * Whether the driver supports prepared statements.
4428
+ */
4429
+ preparedStatements: z.ZodDefault<z.ZodBoolean>;
4430
+ /**
4431
+ * Whether the driver supports query result caching.
4432
+ */
4433
+ queryCache: z.ZodDefault<z.ZodBoolean>;
4434
+ }, "strip", z.ZodTypeAny, {
4435
+ joins: boolean;
4436
+ update: boolean;
4437
+ delete: boolean;
4438
+ create: boolean;
4439
+ indexes: boolean;
4440
+ read: boolean;
4441
+ bulkCreate: boolean;
4442
+ bulkUpdate: boolean;
4443
+ bulkDelete: boolean;
4444
+ transactions: boolean;
4445
+ savepoints: boolean;
4446
+ queryFilters: boolean;
4447
+ queryAggregations: boolean;
4448
+ querySorting: boolean;
4449
+ queryPagination: boolean;
4450
+ queryWindowFunctions: boolean;
4451
+ querySubqueries: boolean;
4452
+ queryCTE: boolean;
4453
+ fullTextSearch: boolean;
4454
+ jsonQuery: boolean;
4455
+ geospatialQuery: boolean;
4456
+ streaming: boolean;
4457
+ jsonFields: boolean;
4458
+ arrayFields: boolean;
4459
+ vectorSearch: boolean;
4460
+ geoSpatial: boolean;
4461
+ schemaSync: boolean;
4462
+ migrations: boolean;
4463
+ connectionPooling: boolean;
4464
+ preparedStatements: boolean;
4465
+ queryCache: boolean;
4466
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
4467
+ }, {
4468
+ joins?: boolean | undefined;
4469
+ update?: boolean | undefined;
4470
+ delete?: boolean | undefined;
4471
+ create?: boolean | undefined;
4472
+ indexes?: boolean | undefined;
4473
+ read?: boolean | undefined;
4474
+ bulkCreate?: boolean | undefined;
4475
+ bulkUpdate?: boolean | undefined;
4476
+ bulkDelete?: boolean | undefined;
4477
+ transactions?: boolean | undefined;
4478
+ savepoints?: boolean | undefined;
4479
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
4480
+ queryFilters?: boolean | undefined;
4481
+ queryAggregations?: boolean | undefined;
4482
+ querySorting?: boolean | undefined;
4483
+ queryPagination?: boolean | undefined;
4484
+ queryWindowFunctions?: boolean | undefined;
4485
+ querySubqueries?: boolean | undefined;
4486
+ queryCTE?: boolean | undefined;
4487
+ fullTextSearch?: boolean | undefined;
4488
+ jsonQuery?: boolean | undefined;
4489
+ geospatialQuery?: boolean | undefined;
4490
+ streaming?: boolean | undefined;
4491
+ jsonFields?: boolean | undefined;
4492
+ arrayFields?: boolean | undefined;
4493
+ vectorSearch?: boolean | undefined;
4494
+ geoSpatial?: boolean | undefined;
4495
+ schemaSync?: boolean | undefined;
4496
+ migrations?: boolean | undefined;
4497
+ connectionPooling?: boolean | undefined;
4498
+ preparedStatements?: boolean | undefined;
4499
+ queryCache?: boolean | undefined;
4500
+ }>, {
4501
+ joins: boolean;
4502
+ update: boolean;
4503
+ delete: boolean;
4504
+ create: boolean;
4505
+ indexes: boolean;
4506
+ read: boolean;
4507
+ bulkCreate: boolean;
4508
+ bulkUpdate: boolean;
4509
+ bulkDelete: boolean;
4510
+ transactions: boolean;
4511
+ savepoints: boolean;
4512
+ queryFilters: boolean;
4513
+ queryAggregations: boolean;
4514
+ querySorting: boolean;
4515
+ queryPagination: boolean;
4516
+ queryWindowFunctions: boolean;
4517
+ querySubqueries: boolean;
4518
+ queryCTE: boolean;
4519
+ fullTextSearch: boolean;
4520
+ jsonQuery: boolean;
4521
+ geospatialQuery: boolean;
4522
+ streaming: boolean;
4523
+ jsonFields: boolean;
4524
+ arrayFields: boolean;
4525
+ vectorSearch: boolean;
4526
+ geoSpatial: boolean;
4527
+ schemaSync: boolean;
4528
+ migrations: boolean;
4529
+ connectionPooling: boolean;
4530
+ preparedStatements: boolean;
4531
+ queryCache: boolean;
4532
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
4533
+ }, {
4534
+ joins?: boolean | undefined;
4535
+ update?: boolean | undefined;
4536
+ delete?: boolean | undefined;
4537
+ create?: boolean | undefined;
4538
+ indexes?: boolean | undefined;
4539
+ read?: boolean | undefined;
4540
+ bulkCreate?: boolean | undefined;
4541
+ bulkUpdate?: boolean | undefined;
4542
+ bulkDelete?: boolean | undefined;
4543
+ transactions?: boolean | undefined;
4544
+ savepoints?: boolean | undefined;
4545
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
4546
+ queryFilters?: boolean | undefined;
4547
+ queryAggregations?: boolean | undefined;
4548
+ querySorting?: boolean | undefined;
4549
+ queryPagination?: boolean | undefined;
4550
+ queryWindowFunctions?: boolean | undefined;
4551
+ querySubqueries?: boolean | undefined;
4552
+ queryCTE?: boolean | undefined;
4553
+ fullTextSearch?: boolean | undefined;
4554
+ jsonQuery?: boolean | undefined;
4555
+ geospatialQuery?: boolean | undefined;
4556
+ streaming?: boolean | undefined;
4557
+ jsonFields?: boolean | undefined;
4558
+ arrayFields?: boolean | undefined;
4559
+ vectorSearch?: boolean | undefined;
4560
+ geoSpatial?: boolean | undefined;
4561
+ schemaSync?: boolean | undefined;
4562
+ migrations?: boolean | undefined;
4563
+ connectionPooling?: boolean | undefined;
4564
+ preparedStatements?: boolean | undefined;
4565
+ queryCache?: boolean | undefined;
4566
+ }>;
4567
+ connectionString: z.ZodOptional<z.ZodString>;
4568
+ poolConfig: z.ZodOptional<z.ZodObject<{
4569
+ min: z.ZodDefault<z.ZodNumber>;
4570
+ max: z.ZodDefault<z.ZodNumber>;
4571
+ idleTimeoutMillis: z.ZodDefault<z.ZodNumber>;
4572
+ connectionTimeoutMillis: z.ZodDefault<z.ZodNumber>;
4573
+ }, "strip", z.ZodTypeAny, {
4574
+ min: number;
4575
+ max: number;
4576
+ idleTimeoutMillis: number;
4577
+ connectionTimeoutMillis: number;
4578
+ }, {
4579
+ min?: number | undefined;
4580
+ max?: number | undefined;
4581
+ idleTimeoutMillis?: number | undefined;
4582
+ connectionTimeoutMillis?: number | undefined;
4583
+ }>>;
4584
+ }, "strip", z.ZodTypeAny, {
4585
+ type: "search" | "sql" | "nosql" | "cache" | "graph" | "timeseries";
4586
+ name: string;
4587
+ capabilities: {
4588
+ joins: boolean;
4589
+ update: boolean;
4590
+ delete: boolean;
4591
+ create: boolean;
4592
+ indexes: boolean;
4593
+ read: boolean;
4594
+ bulkCreate: boolean;
4595
+ bulkUpdate: boolean;
4596
+ bulkDelete: boolean;
4597
+ transactions: boolean;
4598
+ savepoints: boolean;
4599
+ queryFilters: boolean;
4600
+ queryAggregations: boolean;
4601
+ querySorting: boolean;
4602
+ queryPagination: boolean;
4603
+ queryWindowFunctions: boolean;
4604
+ querySubqueries: boolean;
4605
+ queryCTE: boolean;
4606
+ fullTextSearch: boolean;
4607
+ jsonQuery: boolean;
4608
+ geospatialQuery: boolean;
4609
+ streaming: boolean;
4610
+ jsonFields: boolean;
4611
+ arrayFields: boolean;
4612
+ vectorSearch: boolean;
4613
+ geoSpatial: boolean;
4614
+ schemaSync: boolean;
4615
+ migrations: boolean;
4616
+ connectionPooling: boolean;
4617
+ preparedStatements: boolean;
4618
+ queryCache: boolean;
4619
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
4620
+ };
4621
+ connectionString?: string | undefined;
4622
+ poolConfig?: {
4623
+ min: number;
4624
+ max: number;
4625
+ idleTimeoutMillis: number;
4626
+ connectionTimeoutMillis: number;
4627
+ } | undefined;
4628
+ }, {
4629
+ type: "search" | "sql" | "nosql" | "cache" | "graph" | "timeseries";
4630
+ name: string;
4631
+ capabilities: {
4632
+ joins?: boolean | undefined;
4633
+ update?: boolean | undefined;
4634
+ delete?: boolean | undefined;
4635
+ create?: boolean | undefined;
4636
+ indexes?: boolean | undefined;
4637
+ read?: boolean | undefined;
4638
+ bulkCreate?: boolean | undefined;
4639
+ bulkUpdate?: boolean | undefined;
4640
+ bulkDelete?: boolean | undefined;
4641
+ transactions?: boolean | undefined;
4642
+ savepoints?: boolean | undefined;
4643
+ isolationLevels?: ("read-uncommitted" | "read-committed" | "repeatable-read" | "serializable")[] | undefined;
4644
+ queryFilters?: boolean | undefined;
4645
+ queryAggregations?: boolean | undefined;
4646
+ querySorting?: boolean | undefined;
4647
+ queryPagination?: boolean | undefined;
4648
+ queryWindowFunctions?: boolean | undefined;
4649
+ querySubqueries?: boolean | undefined;
4650
+ queryCTE?: boolean | undefined;
4651
+ fullTextSearch?: boolean | undefined;
4652
+ jsonQuery?: boolean | undefined;
4653
+ geospatialQuery?: boolean | undefined;
4654
+ streaming?: boolean | undefined;
4655
+ jsonFields?: boolean | undefined;
4656
+ arrayFields?: boolean | undefined;
4657
+ vectorSearch?: boolean | undefined;
4658
+ geoSpatial?: boolean | undefined;
4659
+ schemaSync?: boolean | undefined;
4660
+ migrations?: boolean | undefined;
4661
+ connectionPooling?: boolean | undefined;
4662
+ preparedStatements?: boolean | undefined;
4663
+ queryCache?: boolean | undefined;
4664
+ };
4665
+ connectionString?: string | undefined;
4666
+ poolConfig?: {
4667
+ min?: number | undefined;
4668
+ max?: number | undefined;
4669
+ idleTimeoutMillis?: number | undefined;
4670
+ connectionTimeoutMillis?: number | undefined;
4671
+ } | undefined;
4672
+ }>;
3386
4673
  /**
3387
4674
  * TypeScript types
3388
4675
  */
3389
4676
  export type DriverOptions = z.infer<typeof DriverOptionsSchema>;
3390
4677
  export type DriverCapabilities = z.infer<typeof DriverCapabilitiesSchema>;
3391
4678
  export type DriverInterface = z.infer<typeof DriverInterfaceSchema>;
4679
+ export type DriverConfig = z.infer<typeof DriverConfigSchema>;
4680
+ export type PoolConfig = z.infer<typeof PoolConfigSchema>;
3392
4681
  //# sourceMappingURL=driver.zod.d.ts.map