@orq-ai/node 3.6.0-rc.9 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/README.md +2 -0
  2. package/bin/mcp-server.js +4598 -1269
  3. package/bin/mcp-server.js.map +55 -43
  4. package/docs/sdks/knowledge/README.md +93 -4
  5. package/funcs/knowledgeCreateDatasource.js +2 -2
  6. package/funcs/knowledgeCreateDatasource.js.map +1 -1
  7. package/funcs/knowledgeSearch.d.ts +16 -0
  8. package/funcs/knowledgeSearch.d.ts.map +1 -0
  9. package/funcs/knowledgeSearch.js +118 -0
  10. package/funcs/knowledgeSearch.js.map +1 -0
  11. package/jsr.json +1 -1
  12. package/lib/config.d.ts +3 -3
  13. package/lib/config.js +3 -3
  14. package/lib/config.js.map +1 -1
  15. package/mcp-server/cli/start/impl.js +2 -2
  16. package/mcp-server/cli/start/impl.js.map +1 -1
  17. package/mcp-server/mcp-server.js +1 -1
  18. package/mcp-server/mcp-server.js.map +1 -1
  19. package/mcp-server/server.d.ts.map +1 -1
  20. package/mcp-server/server.js +3 -1
  21. package/mcp-server/server.js.map +1 -1
  22. package/mcp-server/tools/knowledgeSearch.d.ts +8 -0
  23. package/mcp-server/tools/knowledgeSearch.d.ts.map +1 -0
  24. package/mcp-server/tools/knowledgeSearch.js +64 -0
  25. package/mcp-server/tools/knowledgeSearch.js.map +1 -0
  26. package/models/components/deployments.d.ts +1216 -53
  27. package/models/components/deployments.d.ts.map +1 -1
  28. package/models/components/deployments.js +1461 -103
  29. package/models/components/deployments.js.map +1 -1
  30. package/models/operations/bulkcreatedatapoints.d.ts +194 -12
  31. package/models/operations/bulkcreatedatapoints.d.ts.map +1 -1
  32. package/models/operations/bulkcreatedatapoints.js +192 -4
  33. package/models/operations/bulkcreatedatapoints.js.map +1 -1
  34. package/models/operations/createchunk.d.ts +32 -17
  35. package/models/operations/createchunk.d.ts.map +1 -1
  36. package/models/operations/createchunk.js +30 -19
  37. package/models/operations/createchunk.js.map +1 -1
  38. package/models/operations/createcontact.js +2 -2
  39. package/models/operations/createdataset.js +2 -2
  40. package/models/operations/createdatasetitem.d.ts +194 -12
  41. package/models/operations/createdatasetitem.d.ts.map +1 -1
  42. package/models/operations/createdatasetitem.js +191 -4
  43. package/models/operations/createdatasetitem.js.map +1 -1
  44. package/models/operations/createdatasource.js +2 -2
  45. package/models/operations/createprompt.d.ts +194 -12
  46. package/models/operations/createprompt.d.ts.map +1 -1
  47. package/models/operations/createprompt.js +192 -5
  48. package/models/operations/createprompt.js.map +1 -1
  49. package/models/operations/deploymentgetconfig.d.ts +1343 -89
  50. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  51. package/models/operations/deploymentgetconfig.js +1451 -8
  52. package/models/operations/deploymentgetconfig.js.map +1 -1
  53. package/models/operations/deployments.d.ts +105 -14
  54. package/models/operations/deployments.d.ts.map +1 -1
  55. package/models/operations/deployments.js +108 -15
  56. package/models/operations/deployments.js.map +1 -1
  57. package/models/operations/deploymentstream.d.ts +1163 -0
  58. package/models/operations/deploymentstream.d.ts.map +1 -1
  59. package/models/operations/deploymentstream.js +1319 -2
  60. package/models/operations/deploymentstream.js.map +1 -1
  61. package/models/operations/fileget.js +2 -2
  62. package/models/operations/filelist.js +2 -2
  63. package/models/operations/fileupload.js +2 -2
  64. package/models/operations/getallprompts.d.ts +97 -6
  65. package/models/operations/getallprompts.d.ts.map +1 -1
  66. package/models/operations/getallprompts.js +96 -3
  67. package/models/operations/getallprompts.js.map +1 -1
  68. package/models/operations/getonechunk.d.ts +24 -3
  69. package/models/operations/getonechunk.d.ts.map +1 -1
  70. package/models/operations/getonechunk.js +26 -3
  71. package/models/operations/getonechunk.js.map +1 -1
  72. package/models/operations/getoneprompt.d.ts +97 -6
  73. package/models/operations/getoneprompt.d.ts.map +1 -1
  74. package/models/operations/getoneprompt.js +96 -3
  75. package/models/operations/getoneprompt.js.map +1 -1
  76. package/models/operations/getpromptversion.d.ts +97 -6
  77. package/models/operations/getpromptversion.d.ts.map +1 -1
  78. package/models/operations/getpromptversion.js +96 -3
  79. package/models/operations/getpromptversion.js.map +1 -1
  80. package/models/operations/index.d.ts +1 -0
  81. package/models/operations/index.d.ts.map +1 -1
  82. package/models/operations/index.js +1 -0
  83. package/models/operations/index.js.map +1 -1
  84. package/models/operations/listchunks.d.ts +24 -3
  85. package/models/operations/listchunks.d.ts.map +1 -1
  86. package/models/operations/listchunks.js +26 -3
  87. package/models/operations/listchunks.js.map +1 -1
  88. package/models/operations/listdatasetdatapoints.d.ts +97 -6
  89. package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
  90. package/models/operations/listdatasetdatapoints.js +98 -4
  91. package/models/operations/listdatasetdatapoints.js.map +1 -1
  92. package/models/operations/listdatasets.js +2 -2
  93. package/models/operations/listdatasources.js +2 -2
  94. package/models/operations/listpromptversions.d.ts +97 -6
  95. package/models/operations/listpromptversions.d.ts.map +1 -1
  96. package/models/operations/listpromptversions.js +96 -3
  97. package/models/operations/listpromptversions.js.map +1 -1
  98. package/models/operations/retrievedatapoint.d.ts +97 -6
  99. package/models/operations/retrievedatapoint.d.ts.map +1 -1
  100. package/models/operations/retrievedatapoint.js +97 -3
  101. package/models/operations/retrievedatapoint.js.map +1 -1
  102. package/models/operations/retrievedataset.js +2 -2
  103. package/models/operations/retrievedatasource.js +2 -2
  104. package/models/operations/searchknowledge.d.ts +1379 -0
  105. package/models/operations/searchknowledge.d.ts.map +1 -0
  106. package/models/operations/searchknowledge.js +1586 -0
  107. package/models/operations/searchknowledge.js.map +1 -0
  108. package/models/operations/updatechunk.d.ts +32 -17
  109. package/models/operations/updatechunk.d.ts.map +1 -1
  110. package/models/operations/updatechunk.js +30 -19
  111. package/models/operations/updatechunk.js.map +1 -1
  112. package/models/operations/updatedatapoint.d.ts +194 -12
  113. package/models/operations/updatedatapoint.d.ts.map +1 -1
  114. package/models/operations/updatedatapoint.js +191 -4
  115. package/models/operations/updatedatapoint.js.map +1 -1
  116. package/models/operations/updatedataset.js +2 -2
  117. package/models/operations/updatedatasource.js +2 -2
  118. package/models/operations/updateprompt.d.ts +194 -12
  119. package/models/operations/updateprompt.d.ts.map +1 -1
  120. package/models/operations/updateprompt.js +192 -5
  121. package/models/operations/updateprompt.js.map +1 -1
  122. package/package.json +3 -4
  123. package/packages/orq-rc/FUNCTIONS.md +106 -0
  124. package/packages/orq-rc/README.md +707 -0
  125. package/packages/orq-rc/RUNTIMES.md +48 -0
  126. package/packages/orq-rc/docs/sdks/contacts/README.md +84 -0
  127. package/packages/orq-rc/docs/sdks/datasets/README.md +1027 -0
  128. package/packages/orq-rc/docs/sdks/deployments/README.md +405 -0
  129. package/packages/orq-rc/docs/sdks/feedback/README.md +92 -0
  130. package/packages/orq-rc/docs/sdks/files/README.md +311 -0
  131. package/packages/orq-rc/docs/sdks/knowledge/README.md +1285 -0
  132. package/packages/orq-rc/docs/sdks/metrics/README.md +86 -0
  133. package/packages/orq-rc/docs/sdks/models/README.md +79 -0
  134. package/packages/orq-rc/docs/sdks/orq/README.md +10 -0
  135. package/packages/orq-rc/docs/sdks/prompts/README.md +576 -0
  136. package/packages/orq-rc/docs/sdks/remoteconfigs/README.md +80 -0
  137. package/packages/orq-rc/jsr.json +28 -0
  138. package/packages/orq-rc/package-lock.json +3217 -0
  139. package/packages/orq-rc/package.json +45 -0
  140. package/packages/orq-rc/src/core.ts +13 -0
  141. package/packages/orq-rc/src/funcs/contactsCreate.ts +154 -0
  142. package/packages/orq-rc/src/funcs/datasetsClear.ts +161 -0
  143. package/packages/orq-rc/src/funcs/datasetsCreate.ts +159 -0
  144. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +161 -0
  145. package/packages/orq-rc/src/funcs/datasetsCreateDatapoints.ts +165 -0
  146. package/packages/orq-rc/src/funcs/datasetsCreateExperiment.ts +162 -0
  147. package/packages/orq-rc/src/funcs/datasetsDelete.ts +161 -0
  148. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +176 -0
  149. package/packages/orq-rc/src/funcs/datasetsList.ts +161 -0
  150. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +168 -0
  151. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +169 -0
  152. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +175 -0
  153. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +170 -0
  154. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +173 -0
  155. package/packages/orq-rc/src/funcs/deploymentsCreateExperiment.ts +167 -0
  156. package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +162 -0
  157. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +170 -0
  158. package/packages/orq-rc/src/funcs/deploymentsList.ts +170 -0
  159. package/packages/orq-rc/src/funcs/deploymentsMetricsCreate.ts +162 -0
  160. package/packages/orq-rc/src/funcs/deploymentsStream.ts +178 -0
  161. package/packages/orq-rc/src/funcs/feedbackCreate.ts +154 -0
  162. package/packages/orq-rc/src/funcs/filesCreate.ts +174 -0
  163. package/packages/orq-rc/src/funcs/filesDelete.ts +158 -0
  164. package/packages/orq-rc/src/funcs/filesGet.ts +160 -0
  165. package/packages/orq-rc/src/funcs/filesList.ts +161 -0
  166. package/packages/orq-rc/src/funcs/knowledgeCreate.ts +152 -0
  167. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +165 -0
  168. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +160 -0
  169. package/packages/orq-rc/src/funcs/knowledgeDelete.ts +161 -0
  170. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +168 -0
  171. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +167 -0
  172. package/packages/orq-rc/src/funcs/knowledgeList.ts +163 -0
  173. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +172 -0
  174. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +168 -0
  175. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +160 -0
  176. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +167 -0
  177. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +163 -0
  178. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +161 -0
  179. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +158 -0
  180. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +168 -0
  181. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +164 -0
  182. package/packages/orq-rc/src/funcs/modelsList.ts +136 -0
  183. package/packages/orq-rc/src/funcs/promptsCreate.ts +154 -0
  184. package/packages/orq-rc/src/funcs/promptsDelete.ts +158 -0
  185. package/packages/orq-rc/src/funcs/promptsGetVersion.ts +175 -0
  186. package/packages/orq-rc/src/funcs/promptsList.ts +161 -0
  187. package/packages/orq-rc/src/funcs/promptsListVersions.ts +167 -0
  188. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +160 -0
  189. package/packages/orq-rc/src/funcs/promptsUpdate.ts +167 -0
  190. package/packages/orq-rc/src/funcs/remoteconfigsRetrieve.ts +155 -0
  191. package/packages/orq-rc/src/hooks/global.ts +44 -0
  192. package/packages/orq-rc/src/hooks/hooks.ts +132 -0
  193. package/packages/orq-rc/src/hooks/index.ts +6 -0
  194. package/packages/orq-rc/src/hooks/registration.ts +15 -0
  195. package/packages/orq-rc/src/hooks/types.ts +110 -0
  196. package/packages/orq-rc/src/index.ts +7 -0
  197. package/packages/orq-rc/src/lib/base64.ts +37 -0
  198. package/packages/orq-rc/src/lib/config.ts +70 -0
  199. package/packages/orq-rc/src/lib/dlv.ts +53 -0
  200. package/packages/orq-rc/src/lib/encodings.ts +483 -0
  201. package/packages/orq-rc/src/lib/env.ts +73 -0
  202. package/packages/orq-rc/src/lib/event-streams.ts +264 -0
  203. package/packages/orq-rc/src/lib/files.ts +40 -0
  204. package/packages/orq-rc/src/lib/http.ts +323 -0
  205. package/packages/orq-rc/src/lib/is-plain-object.ts +43 -0
  206. package/packages/orq-rc/src/lib/logger.ts +9 -0
  207. package/packages/orq-rc/src/lib/matchers.ts +345 -0
  208. package/packages/orq-rc/src/lib/primitives.ts +150 -0
  209. package/packages/orq-rc/src/lib/retries.ts +218 -0
  210. package/packages/orq-rc/src/lib/schemas.ts +91 -0
  211. package/packages/orq-rc/src/lib/sdks.ts +401 -0
  212. package/packages/orq-rc/src/lib/security.ts +261 -0
  213. package/packages/orq-rc/src/lib/url.ts +33 -0
  214. package/packages/orq-rc/src/mcp-server/cli/start/command.ts +125 -0
  215. package/packages/orq-rc/src/mcp-server/cli/start/impl.ts +140 -0
  216. package/packages/orq-rc/src/mcp-server/cli.ts +13 -0
  217. package/packages/orq-rc/src/mcp-server/console-logger.ts +71 -0
  218. package/packages/orq-rc/src/mcp-server/extensions.ts +17 -0
  219. package/packages/orq-rc/src/mcp-server/mcp-server.ts +26 -0
  220. package/packages/orq-rc/src/mcp-server/prompts.ts +117 -0
  221. package/packages/orq-rc/src/mcp-server/resources.ts +172 -0
  222. package/packages/orq-rc/src/mcp-server/scopes.ts +7 -0
  223. package/packages/orq-rc/src/mcp-server/server.ts +163 -0
  224. package/packages/orq-rc/src/mcp-server/shared.ts +75 -0
  225. package/packages/orq-rc/src/mcp-server/tools/contactsCreate.ts +37 -0
  226. package/packages/orq-rc/src/mcp-server/tools/datasetsClear.ts +35 -0
  227. package/packages/orq-rc/src/mcp-server/tools/datasetsCreate.ts +37 -0
  228. package/packages/orq-rc/src/mcp-server/tools/datasetsCreateDatapoint.ts +37 -0
  229. package/packages/orq-rc/src/mcp-server/tools/datasetsCreateDatapoints.ts +37 -0
  230. package/packages/orq-rc/src/mcp-server/tools/datasetsCreateExperiment.ts +37 -0
  231. package/packages/orq-rc/src/mcp-server/tools/datasetsDelete.ts +35 -0
  232. package/packages/orq-rc/src/mcp-server/tools/datasetsDeleteDatapoint.ts +35 -0
  233. package/packages/orq-rc/src/mcp-server/tools/datasetsList.ts +37 -0
  234. package/packages/orq-rc/src/mcp-server/tools/datasetsListDatapoints.ts +37 -0
  235. package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieve.ts +37 -0
  236. package/packages/orq-rc/src/mcp-server/tools/datasetsRetrieveDatapoint.ts +37 -0
  237. package/packages/orq-rc/src/mcp-server/tools/datasetsUpdate.ts +37 -0
  238. package/packages/orq-rc/src/mcp-server/tools/datasetsUpdateDatapoint.ts +35 -0
  239. package/packages/orq-rc/src/mcp-server/tools/deploymentsCreateExperiment.ts +37 -0
  240. package/packages/orq-rc/src/mcp-server/tools/deploymentsGetConfig.ts +37 -0
  241. package/packages/orq-rc/src/mcp-server/tools/deploymentsInvoke.ts +37 -0
  242. package/packages/orq-rc/src/mcp-server/tools/deploymentsList.ts +37 -0
  243. package/packages/orq-rc/src/mcp-server/tools/deploymentsMetricsCreate.ts +37 -0
  244. package/packages/orq-rc/src/mcp-server/tools/deploymentsStream.ts +37 -0
  245. package/packages/orq-rc/src/mcp-server/tools/feedbackCreate.ts +37 -0
  246. package/packages/orq-rc/src/mcp-server/tools/filesCreate.ts +37 -0
  247. package/packages/orq-rc/src/mcp-server/tools/filesDelete.ts +33 -0
  248. package/packages/orq-rc/src/mcp-server/tools/filesGet.ts +37 -0
  249. package/packages/orq-rc/src/mcp-server/tools/filesList.ts +37 -0
  250. package/packages/orq-rc/src/mcp-server/tools/knowledgeCreate.ts +35 -0
  251. package/packages/orq-rc/src/mcp-server/tools/knowledgeCreateChunks.ts +35 -0
  252. package/packages/orq-rc/src/mcp-server/tools/knowledgeCreateDatasource.ts +35 -0
  253. package/packages/orq-rc/src/mcp-server/tools/knowledgeDelete.ts +35 -0
  254. package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteChunk.ts +33 -0
  255. package/packages/orq-rc/src/mcp-server/tools/knowledgeDeleteDatasource.ts +35 -0
  256. package/packages/orq-rc/src/mcp-server/tools/knowledgeList.ts +37 -0
  257. package/packages/orq-rc/src/mcp-server/tools/knowledgeListChunks.ts +35 -0
  258. package/packages/orq-rc/src/mcp-server/tools/knowledgeListDatasources.ts +35 -0
  259. package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieve.ts +37 -0
  260. package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieveChunk.ts +35 -0
  261. package/packages/orq-rc/src/mcp-server/tools/knowledgeRetrieveDatasource.ts +35 -0
  262. package/packages/orq-rc/src/mcp-server/tools/knowledgeSearch.ts +37 -0
  263. package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdate.ts +35 -0
  264. package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdateChunk.ts +35 -0
  265. package/packages/orq-rc/src/mcp-server/tools/knowledgeUpdateDatasource.ts +35 -0
  266. package/packages/orq-rc/src/mcp-server/tools/modelsList.ts +30 -0
  267. package/packages/orq-rc/src/mcp-server/tools/promptsCreate.ts +35 -0
  268. package/packages/orq-rc/src/mcp-server/tools/promptsDelete.ts +33 -0
  269. package/packages/orq-rc/src/mcp-server/tools/promptsGetVersion.ts +37 -0
  270. package/packages/orq-rc/src/mcp-server/tools/promptsList.ts +37 -0
  271. package/packages/orq-rc/src/mcp-server/tools/promptsListVersions.ts +37 -0
  272. package/packages/orq-rc/src/mcp-server/tools/promptsRetrieve.ts +37 -0
  273. package/packages/orq-rc/src/mcp-server/tools/promptsUpdate.ts +35 -0
  274. package/packages/orq-rc/src/mcp-server/tools/remoteconfigsRetrieve.ts +36 -0
  275. package/packages/orq-rc/src/mcp-server/tools.ts +129 -0
  276. package/packages/orq-rc/src/models/components/deployments.ts +7289 -0
  277. package/packages/orq-rc/src/models/components/index.ts +6 -0
  278. package/packages/orq-rc/src/models/components/security.ts +71 -0
  279. package/packages/orq-rc/src/models/errors/apierror.ts +27 -0
  280. package/packages/orq-rc/src/models/errors/getpromptversion.ts +71 -0
  281. package/packages/orq-rc/src/models/errors/honoapierror.ts +82 -0
  282. package/packages/orq-rc/src/models/errors/httpclienterrors.ts +62 -0
  283. package/packages/orq-rc/src/models/errors/index.ts +10 -0
  284. package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +97 -0
  285. package/packages/orq-rc/src/models/errors/updateprompt.ts +71 -0
  286. package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +2232 -0
  287. package/packages/orq-rc/src/models/operations/cleardataset.ts +75 -0
  288. package/packages/orq-rc/src/models/operations/createchunk.ts +432 -0
  289. package/packages/orq-rc/src/models/operations/createcontact.ts +256 -0
  290. package/packages/orq-rc/src/models/operations/createdataset.ts +296 -0
  291. package/packages/orq-rc/src/models/operations/createdatasetexperiment.ts +307 -0
  292. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2149 -0
  293. package/packages/orq-rc/src/models/operations/createdatasource.ts +852 -0
  294. package/packages/orq-rc/src/models/operations/createdeploymentexperiment.ts +321 -0
  295. package/packages/orq-rc/src/models/operations/createfeedback.ts +286 -0
  296. package/packages/orq-rc/src/models/operations/createknowledge.ts +846 -0
  297. package/packages/orq-rc/src/models/operations/createprompt.ts +4079 -0
  298. package/packages/orq-rc/src/models/operations/deletechunk.ts +96 -0
  299. package/packages/orq-rc/src/models/operations/deletedatapoint.ts +81 -0
  300. package/packages/orq-rc/src/models/operations/deletedataset.ts +75 -0
  301. package/packages/orq-rc/src/models/operations/deletedatasource.ts +87 -0
  302. package/packages/orq-rc/src/models/operations/deleteknowledge.ts +78 -0
  303. package/packages/orq-rc/src/models/operations/deleteprompt.ts +69 -0
  304. package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +5435 -0
  305. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +9378 -0
  306. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1255 -0
  307. package/packages/orq-rc/src/models/operations/deployments.ts +2316 -0
  308. package/packages/orq-rc/src/models/operations/deploymentstream.ts +9499 -0
  309. package/packages/orq-rc/src/models/operations/filedelete.ts +78 -0
  310. package/packages/orq-rc/src/models/operations/fileget.ts +223 -0
  311. package/packages/orq-rc/src/models/operations/filelist.ts +337 -0
  312. package/packages/orq-rc/src/models/operations/fileupload.ts +327 -0
  313. package/packages/orq-rc/src/models/operations/getallprompts.ts +2294 -0
  314. package/packages/orq-rc/src/models/operations/getonechunk.ts +315 -0
  315. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +537 -0
  316. package/packages/orq-rc/src/models/operations/getoneprompt.ts +2155 -0
  317. package/packages/orq-rc/src/models/operations/getpromptversion.ts +2160 -0
  318. package/packages/orq-rc/src/models/operations/index.ts +54 -0
  319. package/packages/orq-rc/src/models/operations/listchunks.ts +494 -0
  320. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +1276 -0
  321. package/packages/orq-rc/src/models/operations/listdatasets.ts +406 -0
  322. package/packages/orq-rc/src/models/operations/listdatasources.ts +447 -0
  323. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +663 -0
  324. package/packages/orq-rc/src/models/operations/listmodels.ts +273 -0
  325. package/packages/orq-rc/src/models/operations/listpromptversions.ts +2292 -0
  326. package/packages/orq-rc/src/models/operations/remoteconfigsgetconfig.ts +190 -0
  327. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +1126 -0
  328. package/packages/orq-rc/src/models/operations/retrievedataset.ts +288 -0
  329. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +273 -0
  330. package/packages/orq-rc/src/models/operations/searchknowledge.ts +3367 -0
  331. package/packages/orq-rc/src/models/operations/updatechunk.ts +448 -0
  332. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2139 -0
  333. package/packages/orq-rc/src/models/operations/updatedataset.ts +393 -0
  334. package/packages/orq-rc/src/models/operations/updatedatasource.ts +345 -0
  335. package/packages/orq-rc/src/models/operations/updateknowledge.ts +980 -0
  336. package/packages/orq-rc/src/models/operations/updateprompt.ts +4261 -0
  337. package/packages/orq-rc/src/sdk/contacts.ts +27 -0
  338. package/packages/orq-rc/src/sdk/datasets.ts +240 -0
  339. package/packages/orq-rc/src/sdk/deployments.ts +107 -0
  340. package/packages/orq-rc/src/sdk/feedback.ts +27 -0
  341. package/packages/orq-rc/src/sdk/files.ts +78 -0
  342. package/packages/orq-rc/src/sdk/index.ts +5 -0
  343. package/packages/orq-rc/src/sdk/knowledge.ts +264 -0
  344. package/packages/orq-rc/src/sdk/metrics.ts +27 -0
  345. package/packages/orq-rc/src/sdk/models.ts +25 -0
  346. package/packages/orq-rc/src/sdk/prompts.ts +126 -0
  347. package/packages/orq-rc/src/sdk/remoteconfigs.ts +24 -0
  348. package/packages/orq-rc/src/sdk/sdk.ts +61 -0
  349. package/packages/orq-rc/src/types/async.ts +68 -0
  350. package/packages/orq-rc/src/types/blobs.ts +31 -0
  351. package/packages/orq-rc/src/types/constdatetime.ts +15 -0
  352. package/packages/orq-rc/src/types/enums.ts +16 -0
  353. package/packages/orq-rc/src/types/fp.ts +50 -0
  354. package/packages/orq-rc/src/types/index.ts +11 -0
  355. package/packages/orq-rc/src/types/operations.ts +105 -0
  356. package/packages/orq-rc/src/types/rfcdate.ts +54 -0
  357. package/packages/orq-rc/src/types/streams.ts +21 -0
  358. package/packages/orq-rc/tsconfig.json +41 -0
  359. package/sdk/knowledge.d.ts +7 -0
  360. package/sdk/knowledge.d.ts.map +1 -1
  361. package/sdk/knowledge.js +10 -0
  362. package/sdk/knowledge.js.map +1 -1
  363. package/src/funcs/knowledgeCreateDatasource.ts +2 -2
  364. package/src/funcs/knowledgeSearch.ts +161 -0
  365. package/src/lib/config.ts +3 -3
  366. package/src/mcp-server/cli/start/impl.ts +2 -2
  367. package/src/mcp-server/mcp-server.ts +1 -1
  368. package/src/mcp-server/server.ts +3 -1
  369. package/src/mcp-server/tools/knowledgeSearch.ts +37 -0
  370. package/src/models/components/deployments.ts +2762 -127
  371. package/src/models/operations/bulkcreatedatapoints.ts +416 -12
  372. package/src/models/operations/createchunk.ts +65 -35
  373. package/src/models/operations/createcontact.ts +2 -2
  374. package/src/models/operations/createdataset.ts +2 -2
  375. package/src/models/operations/createdatasetitem.ts +410 -13
  376. package/src/models/operations/createdatasource.ts +2 -2
  377. package/src/models/operations/createprompt.ts +400 -12
  378. package/src/models/operations/deploymentgetconfig.ts +2906 -105
  379. package/src/models/operations/deployments.ts +211 -23
  380. package/src/models/operations/deploymentstream.ts +3074 -98
  381. package/src/models/operations/fileget.ts +2 -2
  382. package/src/models/operations/filelist.ts +2 -2
  383. package/src/models/operations/fileupload.ts +2 -2
  384. package/src/models/operations/getallprompts.ts +200 -6
  385. package/src/models/operations/getonechunk.ts +55 -5
  386. package/src/models/operations/getoneprompt.ts +195 -6
  387. package/src/models/operations/getpromptversion.ts +204 -6
  388. package/src/models/operations/index.ts +1 -0
  389. package/src/models/operations/listchunks.ts +55 -5
  390. package/src/models/operations/listdatasetdatapoints.ts +207 -8
  391. package/src/models/operations/listdatasets.ts +2 -2
  392. package/src/models/operations/listdatasources.ts +2 -2
  393. package/src/models/operations/listpromptversions.ts +202 -6
  394. package/src/models/operations/retrievedatapoint.ts +204 -8
  395. package/src/models/operations/retrievedataset.ts +2 -2
  396. package/src/models/operations/retrievedatasource.ts +2 -2
  397. package/src/models/operations/searchknowledge.ts +3367 -0
  398. package/src/models/operations/updatechunk.ts +65 -35
  399. package/src/models/operations/updatedatapoint.ts +412 -14
  400. package/src/models/operations/updatedataset.ts +2 -2
  401. package/src/models/operations/updatedatasource.ts +2 -2
  402. package/src/models/operations/updateprompt.ts +400 -12
  403. package/src/sdk/knowledge.ts +18 -0
@@ -226,7 +226,7 @@ export type InputAudio = {
226
226
  */
227
227
  format: Format;
228
228
  };
229
- export type Three = {
229
+ export type Deployments23 = {
230
230
  type: Deployments2Type;
231
231
  inputAudio: InputAudio;
232
232
  };
@@ -264,15 +264,15 @@ export declare const Deployments2PrefixMessages3Type: {
264
264
  readonly Text: "text";
265
265
  };
266
266
  export type Deployments2PrefixMessages3Type = ClosedEnum<typeof Deployments2PrefixMessages3Type>;
267
- export type One = {
267
+ export type Deployments21 = {
268
268
  type: Deployments2PrefixMessages3Type;
269
269
  text: string;
270
270
  };
271
- export type Two = One | Two2 | Three | Four;
271
+ export type Two = Deployments21 | Two2 | Deployments23 | Four;
272
272
  /**
273
273
  * The contents of the user message.
274
274
  */
275
- export type Content = string | Array<One | Two2 | Three | Four>;
275
+ export type Content = string | Array<Deployments21 | Two2 | Deployments23 | Four>;
276
276
  export type UserMessage = {
277
277
  /**
278
278
  * The role of the messages author, in this case `user`.
@@ -285,7 +285,7 @@ export type UserMessage = {
285
285
  /**
286
286
  * The contents of the user message.
287
287
  */
288
- content: string | Array<One | Two2 | Three | Four>;
288
+ content: string | Array<Deployments21 | Two2 | Deployments23 | Four>;
289
289
  };
290
290
  /**
291
291
  * The role of the messages author, in this case `system`.
@@ -716,6 +716,196 @@ export type Thread = {
716
716
  */
717
717
  tags?: Array<string> | undefined;
718
718
  };
719
+ /**
720
+ * Exists
721
+ */
722
+ export type OrExists = {
723
+ exists: boolean;
724
+ };
725
+ export type OrNin = string | number | boolean;
726
+ /**
727
+ * Not in
728
+ */
729
+ export type DeploymentsOrNin = {
730
+ nin: Array<string | number | boolean>;
731
+ };
732
+ export type OrIn = string | number | boolean;
733
+ /**
734
+ * In
735
+ */
736
+ export type DeploymentsOrIn = {
737
+ in: Array<string | number | boolean>;
738
+ };
739
+ /**
740
+ * Less than or equal to
741
+ */
742
+ export type OrLte = {
743
+ lte: number;
744
+ };
745
+ /**
746
+ * Less than
747
+ */
748
+ export type OrLt = {
749
+ lt: number;
750
+ };
751
+ /**
752
+ * Greater than or equal to
753
+ */
754
+ export type OrGte = {
755
+ gte: number;
756
+ };
757
+ export type Or3 = {
758
+ gt: number;
759
+ };
760
+ export type OrNe = string | number | boolean;
761
+ /**
762
+ * Not equal to
763
+ */
764
+ export type DeploymentsOrNe = {
765
+ ne: string | number | boolean;
766
+ };
767
+ export type OrEq = string | number | boolean;
768
+ /**
769
+ * Equal to
770
+ */
771
+ export type DeploymentsOrEq = {
772
+ eq: string | number | boolean;
773
+ };
774
+ export type Or = DeploymentsOrEq | DeploymentsOrNe | Or3 | OrGte | OrLt | OrLte | DeploymentsOrIn | DeploymentsOrNin | OrExists;
775
+ /**
776
+ * Or
777
+ */
778
+ export type KnowledgeFilterOr = {
779
+ or: Array<{
780
+ [k: string]: DeploymentsOrEq | DeploymentsOrNe | Or3 | OrGte | OrLt | OrLte | DeploymentsOrIn | DeploymentsOrNin | OrExists;
781
+ }>;
782
+ };
783
+ /**
784
+ * Exists
785
+ */
786
+ export type AndExists = {
787
+ exists: boolean;
788
+ };
789
+ export type AndNin = string | number | boolean;
790
+ /**
791
+ * Not in
792
+ */
793
+ export type DeploymentsAndNin = {
794
+ nin: Array<string | number | boolean>;
795
+ };
796
+ export type AndIn = string | number | boolean;
797
+ /**
798
+ * In
799
+ */
800
+ export type DeploymentsAndIn = {
801
+ in: Array<string | number | boolean>;
802
+ };
803
+ /**
804
+ * Less than or equal to
805
+ */
806
+ export type AndLte = {
807
+ lte: number;
808
+ };
809
+ /**
810
+ * Less than
811
+ */
812
+ export type AndLt = {
813
+ lt: number;
814
+ };
815
+ /**
816
+ * Greater than or equal to
817
+ */
818
+ export type AndGte = {
819
+ gte: number;
820
+ };
821
+ export type And3 = {
822
+ gt: number;
823
+ };
824
+ export type AndNe = string | number | boolean;
825
+ /**
826
+ * Not equal to
827
+ */
828
+ export type DeploymentsAndNe = {
829
+ ne: string | number | boolean;
830
+ };
831
+ export type AndEq = string | number | boolean;
832
+ /**
833
+ * Equal to
834
+ */
835
+ export type DeploymentsAndEq = {
836
+ eq: string | number | boolean;
837
+ };
838
+ export type And = DeploymentsAndEq | DeploymentsAndNe | And3 | AndGte | AndLt | AndLte | DeploymentsAndIn | DeploymentsAndNin | AndExists;
839
+ /**
840
+ * And
841
+ */
842
+ export type KnowledgeFilterAnd = {
843
+ and: Array<{
844
+ [k: string]: DeploymentsAndEq | DeploymentsAndNe | And3 | AndGte | AndLt | AndLte | DeploymentsAndIn | DeploymentsAndNin | AndExists;
845
+ }>;
846
+ };
847
+ /**
848
+ * Exists
849
+ */
850
+ export type Exists = {
851
+ exists: boolean;
852
+ };
853
+ export type Nin = string | number | boolean;
854
+ /**
855
+ * Not in
856
+ */
857
+ export type OneNin = {
858
+ nin: Array<string | number | boolean>;
859
+ };
860
+ export type In = string | number | boolean;
861
+ /**
862
+ * In
863
+ */
864
+ export type OneIn = {
865
+ in: Array<string | number | boolean>;
866
+ };
867
+ /**
868
+ * Less than or equal to
869
+ */
870
+ export type Lte = {
871
+ lte: number;
872
+ };
873
+ /**
874
+ * Less than
875
+ */
876
+ export type Lt = {
877
+ lt: number;
878
+ };
879
+ /**
880
+ * Greater than or equal to
881
+ */
882
+ export type Gte = {
883
+ gte: number;
884
+ };
885
+ export type Three = {
886
+ gt: number;
887
+ };
888
+ export type Ne = string | number | boolean;
889
+ /**
890
+ * Not equal to
891
+ */
892
+ export type OneNe = {
893
+ ne: string | number | boolean;
894
+ };
895
+ export type Eq = string | number | boolean;
896
+ /**
897
+ * Equal to
898
+ */
899
+ export type OneEq = {
900
+ eq: string | number | boolean;
901
+ };
902
+ export type One = OneEq | OneNe | Three | Gte | Lt | Lte | OneIn | OneNin | Exists;
903
+ /**
904
+ * A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
905
+ */
906
+ export type KnowledgeFilter = KnowledgeFilterAnd | KnowledgeFilterOr | {
907
+ [k: string]: OneEq | OneNe | Three | Gte | Lt | Lte | OneIn | OneNin | Exists;
908
+ };
719
909
  /**
720
910
  * The deployment request payload
721
911
  */
@@ -766,6 +956,12 @@ export type Deployments = {
766
956
  documents?: Array<Documents> | undefined;
767
957
  invokeOptions?: InvokeOptions | undefined;
768
958
  thread?: Thread | undefined;
959
+ /**
960
+ * A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
961
+ */
962
+ knowledgeFilter?: KnowledgeFilterAnd | KnowledgeFilterOr | {
963
+ [k: string]: OneEq | OneNe | Three | Gte | Lt | Lte | OneIn | OneNin | Exists;
964
+ } | undefined;
769
965
  };
770
966
  /** @internal */
771
967
  export declare const Inputs$inboundSchema: z.ZodType<Inputs, z.ZodTypeDef, unknown>;
@@ -1250,28 +1446,28 @@ export declare namespace InputAudio$ {
1250
1446
  export declare function inputAudioToJSON(inputAudio: InputAudio): string;
1251
1447
  export declare function inputAudioFromJSON(jsonString: string): SafeParseResult<InputAudio, SDKValidationError>;
1252
1448
  /** @internal */
1253
- export declare const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown>;
1449
+ export declare const Deployments23$inboundSchema: z.ZodType<Deployments23, z.ZodTypeDef, unknown>;
1254
1450
  /** @internal */
1255
- export type Three$Outbound = {
1451
+ export type Deployments23$Outbound = {
1256
1452
  type: string;
1257
1453
  input_audio: InputAudio$Outbound;
1258
1454
  };
1259
1455
  /** @internal */
1260
- export declare const Three$outboundSchema: z.ZodType<Three$Outbound, z.ZodTypeDef, Three>;
1456
+ export declare const Deployments23$outboundSchema: z.ZodType<Deployments23$Outbound, z.ZodTypeDef, Deployments23>;
1261
1457
  /**
1262
1458
  * @internal
1263
1459
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1264
1460
  */
1265
- export declare namespace Three$ {
1266
- /** @deprecated use `Three$inboundSchema` instead. */
1267
- const inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown>;
1268
- /** @deprecated use `Three$outboundSchema` instead. */
1269
- const outboundSchema: z.ZodType<Three$Outbound, z.ZodTypeDef, Three>;
1270
- /** @deprecated use `Three$Outbound` instead. */
1271
- type Outbound = Three$Outbound;
1461
+ export declare namespace Deployments23$ {
1462
+ /** @deprecated use `Deployments23$inboundSchema` instead. */
1463
+ const inboundSchema: z.ZodType<Deployments23, z.ZodTypeDef, unknown>;
1464
+ /** @deprecated use `Deployments23$outboundSchema` instead. */
1465
+ const outboundSchema: z.ZodType<Deployments23$Outbound, z.ZodTypeDef, Deployments23>;
1466
+ /** @deprecated use `Deployments23$Outbound` instead. */
1467
+ type Outbound = Deployments23$Outbound;
1272
1468
  }
1273
- export declare function threeToJSON(three: Three): string;
1274
- export declare function threeFromJSON(jsonString: string): SafeParseResult<Three, SDKValidationError>;
1469
+ export declare function deployments23ToJSON(deployments23: Deployments23): string;
1470
+ export declare function deployments23FromJSON(jsonString: string): SafeParseResult<Deployments23, SDKValidationError>;
1275
1471
  /** @internal */
1276
1472
  export declare const TwoType$inboundSchema: z.ZodNativeEnum<typeof TwoType>;
1277
1473
  /** @internal */
@@ -1377,32 +1573,32 @@ export declare namespace Deployments2PrefixMessages3Type$ {
1377
1573
  }>;
1378
1574
  }
1379
1575
  /** @internal */
1380
- export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
1576
+ export declare const Deployments21$inboundSchema: z.ZodType<Deployments21, z.ZodTypeDef, unknown>;
1381
1577
  /** @internal */
1382
- export type One$Outbound = {
1578
+ export type Deployments21$Outbound = {
1383
1579
  type: string;
1384
1580
  text: string;
1385
1581
  };
1386
1582
  /** @internal */
1387
- export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
1583
+ export declare const Deployments21$outboundSchema: z.ZodType<Deployments21$Outbound, z.ZodTypeDef, Deployments21>;
1388
1584
  /**
1389
1585
  * @internal
1390
1586
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1391
1587
  */
1392
- export declare namespace One$ {
1393
- /** @deprecated use `One$inboundSchema` instead. */
1394
- const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
1395
- /** @deprecated use `One$outboundSchema` instead. */
1396
- const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
1397
- /** @deprecated use `One$Outbound` instead. */
1398
- type Outbound = One$Outbound;
1588
+ export declare namespace Deployments21$ {
1589
+ /** @deprecated use `Deployments21$inboundSchema` instead. */
1590
+ const inboundSchema: z.ZodType<Deployments21, z.ZodTypeDef, unknown>;
1591
+ /** @deprecated use `Deployments21$outboundSchema` instead. */
1592
+ const outboundSchema: z.ZodType<Deployments21$Outbound, z.ZodTypeDef, Deployments21>;
1593
+ /** @deprecated use `Deployments21$Outbound` instead. */
1594
+ type Outbound = Deployments21$Outbound;
1399
1595
  }
1400
- export declare function oneToJSON(one: One): string;
1401
- export declare function oneFromJSON(jsonString: string): SafeParseResult<One, SDKValidationError>;
1596
+ export declare function deployments21ToJSON(deployments21: Deployments21): string;
1597
+ export declare function deployments21FromJSON(jsonString: string): SafeParseResult<Deployments21, SDKValidationError>;
1402
1598
  /** @internal */
1403
1599
  export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
1404
1600
  /** @internal */
1405
- export type Two$Outbound = One$Outbound | Two2$Outbound | Three$Outbound | Four$Outbound;
1601
+ export type Two$Outbound = Deployments21$Outbound | Two2$Outbound | Deployments23$Outbound | Four$Outbound;
1406
1602
  /** @internal */
1407
1603
  export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
1408
1604
  /**
@@ -1422,7 +1618,7 @@ export declare function twoFromJSON(jsonString: string): SafeParseResult<Two, SD
1422
1618
  /** @internal */
1423
1619
  export declare const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown>;
1424
1620
  /** @internal */
1425
- export type Content$Outbound = string | Array<One$Outbound | Two2$Outbound | Three$Outbound | Four$Outbound>;
1621
+ export type Content$Outbound = string | Array<Deployments21$Outbound | Two2$Outbound | Deployments23$Outbound | Four$Outbound>;
1426
1622
  /** @internal */
1427
1623
  export declare const Content$outboundSchema: z.ZodType<Content$Outbound, z.ZodTypeDef, Content>;
1428
1624
  /**
@@ -1445,7 +1641,7 @@ export declare const UserMessage$inboundSchema: z.ZodType<UserMessage, z.ZodType
1445
1641
  export type UserMessage$Outbound = {
1446
1642
  role: string;
1447
1643
  name?: string | undefined;
1448
- content: string | Array<One$Outbound | Two2$Outbound | Three$Outbound | Four$Outbound>;
1644
+ content: string | Array<Deployments21$Outbound | Two2$Outbound | Deployments23$Outbound | Four$Outbound>;
1449
1645
  };
1450
1646
  /** @internal */
1451
1647
  export declare const UserMessage$outboundSchema: z.ZodType<UserMessage$Outbound, z.ZodTypeDef, UserMessage>;
@@ -2441,28 +2637,995 @@ export declare namespace Thread$ {
2441
2637
  export declare function threadToJSON(thread: Thread): string;
2442
2638
  export declare function threadFromJSON(jsonString: string): SafeParseResult<Thread, SDKValidationError>;
2443
2639
  /** @internal */
2444
- export declare const Deployments$inboundSchema: z.ZodType<Deployments, z.ZodTypeDef, unknown>;
2640
+ export declare const OrExists$inboundSchema: z.ZodType<OrExists, z.ZodTypeDef, unknown>;
2445
2641
  /** @internal */
2446
- export type Deployments$Outbound = {
2447
- key: string;
2448
- inputs?: {
2449
- [k: string]: string | number | boolean;
2450
- } | undefined;
2451
- context?: {
2452
- [k: string]: any;
2453
- } | undefined;
2454
- prefix_messages?: Array<DeveloperMessage$Outbound | SystemMessage$Outbound | UserMessage$Outbound | ToolMessage$Outbound | AssistantMessage$Outbound> | undefined;
2455
- messages?: Array<MessagesDeveloperMessage$Outbound | MessagesSystemMessage$Outbound | MessagesUserMessage$Outbound | MessagesToolMessage$Outbound | MessagesAssistantMessage$Outbound> | undefined;
2456
- file_ids?: Array<string> | undefined;
2457
- metadata?: {
2458
- [k: string]: any;
2459
- } | undefined;
2460
- extra_params?: {
2461
- [k: string]: any;
2462
- } | undefined;
2463
- documents?: Array<Documents$Outbound> | undefined;
2464
- invoke_options?: InvokeOptions$Outbound | undefined;
2465
- thread?: Thread$Outbound | undefined;
2642
+ export type OrExists$Outbound = {
2643
+ exists: boolean;
2644
+ };
2645
+ /** @internal */
2646
+ export declare const OrExists$outboundSchema: z.ZodType<OrExists$Outbound, z.ZodTypeDef, OrExists>;
2647
+ /**
2648
+ * @internal
2649
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2650
+ */
2651
+ export declare namespace OrExists$ {
2652
+ /** @deprecated use `OrExists$inboundSchema` instead. */
2653
+ const inboundSchema: z.ZodType<OrExists, z.ZodTypeDef, unknown>;
2654
+ /** @deprecated use `OrExists$outboundSchema` instead. */
2655
+ const outboundSchema: z.ZodType<OrExists$Outbound, z.ZodTypeDef, OrExists>;
2656
+ /** @deprecated use `OrExists$Outbound` instead. */
2657
+ type Outbound = OrExists$Outbound;
2658
+ }
2659
+ export declare function orExistsToJSON(orExists: OrExists): string;
2660
+ export declare function orExistsFromJSON(jsonString: string): SafeParseResult<OrExists, SDKValidationError>;
2661
+ /** @internal */
2662
+ export declare const OrNin$inboundSchema: z.ZodType<OrNin, z.ZodTypeDef, unknown>;
2663
+ /** @internal */
2664
+ export type OrNin$Outbound = string | number | boolean;
2665
+ /** @internal */
2666
+ export declare const OrNin$outboundSchema: z.ZodType<OrNin$Outbound, z.ZodTypeDef, OrNin>;
2667
+ /**
2668
+ * @internal
2669
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2670
+ */
2671
+ export declare namespace OrNin$ {
2672
+ /** @deprecated use `OrNin$inboundSchema` instead. */
2673
+ const inboundSchema: z.ZodType<OrNin, z.ZodTypeDef, unknown>;
2674
+ /** @deprecated use `OrNin$outboundSchema` instead. */
2675
+ const outboundSchema: z.ZodType<OrNin$Outbound, z.ZodTypeDef, OrNin>;
2676
+ /** @deprecated use `OrNin$Outbound` instead. */
2677
+ type Outbound = OrNin$Outbound;
2678
+ }
2679
+ export declare function orNinToJSON(orNin: OrNin): string;
2680
+ export declare function orNinFromJSON(jsonString: string): SafeParseResult<OrNin, SDKValidationError>;
2681
+ /** @internal */
2682
+ export declare const DeploymentsOrNin$inboundSchema: z.ZodType<DeploymentsOrNin, z.ZodTypeDef, unknown>;
2683
+ /** @internal */
2684
+ export type DeploymentsOrNin$Outbound = {
2685
+ nin: Array<string | number | boolean>;
2686
+ };
2687
+ /** @internal */
2688
+ export declare const DeploymentsOrNin$outboundSchema: z.ZodType<DeploymentsOrNin$Outbound, z.ZodTypeDef, DeploymentsOrNin>;
2689
+ /**
2690
+ * @internal
2691
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2692
+ */
2693
+ export declare namespace DeploymentsOrNin$ {
2694
+ /** @deprecated use `DeploymentsOrNin$inboundSchema` instead. */
2695
+ const inboundSchema: z.ZodType<DeploymentsOrNin, z.ZodTypeDef, unknown>;
2696
+ /** @deprecated use `DeploymentsOrNin$outboundSchema` instead. */
2697
+ const outboundSchema: z.ZodType<DeploymentsOrNin$Outbound, z.ZodTypeDef, DeploymentsOrNin>;
2698
+ /** @deprecated use `DeploymentsOrNin$Outbound` instead. */
2699
+ type Outbound = DeploymentsOrNin$Outbound;
2700
+ }
2701
+ export declare function deploymentsOrNinToJSON(deploymentsOrNin: DeploymentsOrNin): string;
2702
+ export declare function deploymentsOrNinFromJSON(jsonString: string): SafeParseResult<DeploymentsOrNin, SDKValidationError>;
2703
+ /** @internal */
2704
+ export declare const OrIn$inboundSchema: z.ZodType<OrIn, z.ZodTypeDef, unknown>;
2705
+ /** @internal */
2706
+ export type OrIn$Outbound = string | number | boolean;
2707
+ /** @internal */
2708
+ export declare const OrIn$outboundSchema: z.ZodType<OrIn$Outbound, z.ZodTypeDef, OrIn>;
2709
+ /**
2710
+ * @internal
2711
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2712
+ */
2713
+ export declare namespace OrIn$ {
2714
+ /** @deprecated use `OrIn$inboundSchema` instead. */
2715
+ const inboundSchema: z.ZodType<OrIn, z.ZodTypeDef, unknown>;
2716
+ /** @deprecated use `OrIn$outboundSchema` instead. */
2717
+ const outboundSchema: z.ZodType<OrIn$Outbound, z.ZodTypeDef, OrIn>;
2718
+ /** @deprecated use `OrIn$Outbound` instead. */
2719
+ type Outbound = OrIn$Outbound;
2720
+ }
2721
+ export declare function orInToJSON(orIn: OrIn): string;
2722
+ export declare function orInFromJSON(jsonString: string): SafeParseResult<OrIn, SDKValidationError>;
2723
+ /** @internal */
2724
+ export declare const DeploymentsOrIn$inboundSchema: z.ZodType<DeploymentsOrIn, z.ZodTypeDef, unknown>;
2725
+ /** @internal */
2726
+ export type DeploymentsOrIn$Outbound = {
2727
+ in: Array<string | number | boolean>;
2728
+ };
2729
+ /** @internal */
2730
+ export declare const DeploymentsOrIn$outboundSchema: z.ZodType<DeploymentsOrIn$Outbound, z.ZodTypeDef, DeploymentsOrIn>;
2731
+ /**
2732
+ * @internal
2733
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2734
+ */
2735
+ export declare namespace DeploymentsOrIn$ {
2736
+ /** @deprecated use `DeploymentsOrIn$inboundSchema` instead. */
2737
+ const inboundSchema: z.ZodType<DeploymentsOrIn, z.ZodTypeDef, unknown>;
2738
+ /** @deprecated use `DeploymentsOrIn$outboundSchema` instead. */
2739
+ const outboundSchema: z.ZodType<DeploymentsOrIn$Outbound, z.ZodTypeDef, DeploymentsOrIn>;
2740
+ /** @deprecated use `DeploymentsOrIn$Outbound` instead. */
2741
+ type Outbound = DeploymentsOrIn$Outbound;
2742
+ }
2743
+ export declare function deploymentsOrInToJSON(deploymentsOrIn: DeploymentsOrIn): string;
2744
+ export declare function deploymentsOrInFromJSON(jsonString: string): SafeParseResult<DeploymentsOrIn, SDKValidationError>;
2745
+ /** @internal */
2746
+ export declare const OrLte$inboundSchema: z.ZodType<OrLte, z.ZodTypeDef, unknown>;
2747
+ /** @internal */
2748
+ export type OrLte$Outbound = {
2749
+ lte: number;
2750
+ };
2751
+ /** @internal */
2752
+ export declare const OrLte$outboundSchema: z.ZodType<OrLte$Outbound, z.ZodTypeDef, OrLte>;
2753
+ /**
2754
+ * @internal
2755
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2756
+ */
2757
+ export declare namespace OrLte$ {
2758
+ /** @deprecated use `OrLte$inboundSchema` instead. */
2759
+ const inboundSchema: z.ZodType<OrLte, z.ZodTypeDef, unknown>;
2760
+ /** @deprecated use `OrLte$outboundSchema` instead. */
2761
+ const outboundSchema: z.ZodType<OrLte$Outbound, z.ZodTypeDef, OrLte>;
2762
+ /** @deprecated use `OrLte$Outbound` instead. */
2763
+ type Outbound = OrLte$Outbound;
2764
+ }
2765
+ export declare function orLteToJSON(orLte: OrLte): string;
2766
+ export declare function orLteFromJSON(jsonString: string): SafeParseResult<OrLte, SDKValidationError>;
2767
+ /** @internal */
2768
+ export declare const OrLt$inboundSchema: z.ZodType<OrLt, z.ZodTypeDef, unknown>;
2769
+ /** @internal */
2770
+ export type OrLt$Outbound = {
2771
+ lt: number;
2772
+ };
2773
+ /** @internal */
2774
+ export declare const OrLt$outboundSchema: z.ZodType<OrLt$Outbound, z.ZodTypeDef, OrLt>;
2775
+ /**
2776
+ * @internal
2777
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2778
+ */
2779
+ export declare namespace OrLt$ {
2780
+ /** @deprecated use `OrLt$inboundSchema` instead. */
2781
+ const inboundSchema: z.ZodType<OrLt, z.ZodTypeDef, unknown>;
2782
+ /** @deprecated use `OrLt$outboundSchema` instead. */
2783
+ const outboundSchema: z.ZodType<OrLt$Outbound, z.ZodTypeDef, OrLt>;
2784
+ /** @deprecated use `OrLt$Outbound` instead. */
2785
+ type Outbound = OrLt$Outbound;
2786
+ }
2787
+ export declare function orLtToJSON(orLt: OrLt): string;
2788
+ export declare function orLtFromJSON(jsonString: string): SafeParseResult<OrLt, SDKValidationError>;
2789
+ /** @internal */
2790
+ export declare const OrGte$inboundSchema: z.ZodType<OrGte, z.ZodTypeDef, unknown>;
2791
+ /** @internal */
2792
+ export type OrGte$Outbound = {
2793
+ gte: number;
2794
+ };
2795
+ /** @internal */
2796
+ export declare const OrGte$outboundSchema: z.ZodType<OrGte$Outbound, z.ZodTypeDef, OrGte>;
2797
+ /**
2798
+ * @internal
2799
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2800
+ */
2801
+ export declare namespace OrGte$ {
2802
+ /** @deprecated use `OrGte$inboundSchema` instead. */
2803
+ const inboundSchema: z.ZodType<OrGte, z.ZodTypeDef, unknown>;
2804
+ /** @deprecated use `OrGte$outboundSchema` instead. */
2805
+ const outboundSchema: z.ZodType<OrGte$Outbound, z.ZodTypeDef, OrGte>;
2806
+ /** @deprecated use `OrGte$Outbound` instead. */
2807
+ type Outbound = OrGte$Outbound;
2808
+ }
2809
+ export declare function orGteToJSON(orGte: OrGte): string;
2810
+ export declare function orGteFromJSON(jsonString: string): SafeParseResult<OrGte, SDKValidationError>;
2811
+ /** @internal */
2812
+ export declare const Or3$inboundSchema: z.ZodType<Or3, z.ZodTypeDef, unknown>;
2813
+ /** @internal */
2814
+ export type Or3$Outbound = {
2815
+ gt: number;
2816
+ };
2817
+ /** @internal */
2818
+ export declare const Or3$outboundSchema: z.ZodType<Or3$Outbound, z.ZodTypeDef, Or3>;
2819
+ /**
2820
+ * @internal
2821
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2822
+ */
2823
+ export declare namespace Or3$ {
2824
+ /** @deprecated use `Or3$inboundSchema` instead. */
2825
+ const inboundSchema: z.ZodType<Or3, z.ZodTypeDef, unknown>;
2826
+ /** @deprecated use `Or3$outboundSchema` instead. */
2827
+ const outboundSchema: z.ZodType<Or3$Outbound, z.ZodTypeDef, Or3>;
2828
+ /** @deprecated use `Or3$Outbound` instead. */
2829
+ type Outbound = Or3$Outbound;
2830
+ }
2831
+ export declare function or3ToJSON(or3: Or3): string;
2832
+ export declare function or3FromJSON(jsonString: string): SafeParseResult<Or3, SDKValidationError>;
2833
+ /** @internal */
2834
+ export declare const OrNe$inboundSchema: z.ZodType<OrNe, z.ZodTypeDef, unknown>;
2835
+ /** @internal */
2836
+ export type OrNe$Outbound = string | number | boolean;
2837
+ /** @internal */
2838
+ export declare const OrNe$outboundSchema: z.ZodType<OrNe$Outbound, z.ZodTypeDef, OrNe>;
2839
+ /**
2840
+ * @internal
2841
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2842
+ */
2843
+ export declare namespace OrNe$ {
2844
+ /** @deprecated use `OrNe$inboundSchema` instead. */
2845
+ const inboundSchema: z.ZodType<OrNe, z.ZodTypeDef, unknown>;
2846
+ /** @deprecated use `OrNe$outboundSchema` instead. */
2847
+ const outboundSchema: z.ZodType<OrNe$Outbound, z.ZodTypeDef, OrNe>;
2848
+ /** @deprecated use `OrNe$Outbound` instead. */
2849
+ type Outbound = OrNe$Outbound;
2850
+ }
2851
+ export declare function orNeToJSON(orNe: OrNe): string;
2852
+ export declare function orNeFromJSON(jsonString: string): SafeParseResult<OrNe, SDKValidationError>;
2853
+ /** @internal */
2854
+ export declare const DeploymentsOrNe$inboundSchema: z.ZodType<DeploymentsOrNe, z.ZodTypeDef, unknown>;
2855
+ /** @internal */
2856
+ export type DeploymentsOrNe$Outbound = {
2857
+ ne: string | number | boolean;
2858
+ };
2859
+ /** @internal */
2860
+ export declare const DeploymentsOrNe$outboundSchema: z.ZodType<DeploymentsOrNe$Outbound, z.ZodTypeDef, DeploymentsOrNe>;
2861
+ /**
2862
+ * @internal
2863
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2864
+ */
2865
+ export declare namespace DeploymentsOrNe$ {
2866
+ /** @deprecated use `DeploymentsOrNe$inboundSchema` instead. */
2867
+ const inboundSchema: z.ZodType<DeploymentsOrNe, z.ZodTypeDef, unknown>;
2868
+ /** @deprecated use `DeploymentsOrNe$outboundSchema` instead. */
2869
+ const outboundSchema: z.ZodType<DeploymentsOrNe$Outbound, z.ZodTypeDef, DeploymentsOrNe>;
2870
+ /** @deprecated use `DeploymentsOrNe$Outbound` instead. */
2871
+ type Outbound = DeploymentsOrNe$Outbound;
2872
+ }
2873
+ export declare function deploymentsOrNeToJSON(deploymentsOrNe: DeploymentsOrNe): string;
2874
+ export declare function deploymentsOrNeFromJSON(jsonString: string): SafeParseResult<DeploymentsOrNe, SDKValidationError>;
2875
+ /** @internal */
2876
+ export declare const OrEq$inboundSchema: z.ZodType<OrEq, z.ZodTypeDef, unknown>;
2877
+ /** @internal */
2878
+ export type OrEq$Outbound = string | number | boolean;
2879
+ /** @internal */
2880
+ export declare const OrEq$outboundSchema: z.ZodType<OrEq$Outbound, z.ZodTypeDef, OrEq>;
2881
+ /**
2882
+ * @internal
2883
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2884
+ */
2885
+ export declare namespace OrEq$ {
2886
+ /** @deprecated use `OrEq$inboundSchema` instead. */
2887
+ const inboundSchema: z.ZodType<OrEq, z.ZodTypeDef, unknown>;
2888
+ /** @deprecated use `OrEq$outboundSchema` instead. */
2889
+ const outboundSchema: z.ZodType<OrEq$Outbound, z.ZodTypeDef, OrEq>;
2890
+ /** @deprecated use `OrEq$Outbound` instead. */
2891
+ type Outbound = OrEq$Outbound;
2892
+ }
2893
+ export declare function orEqToJSON(orEq: OrEq): string;
2894
+ export declare function orEqFromJSON(jsonString: string): SafeParseResult<OrEq, SDKValidationError>;
2895
+ /** @internal */
2896
+ export declare const DeploymentsOrEq$inboundSchema: z.ZodType<DeploymentsOrEq, z.ZodTypeDef, unknown>;
2897
+ /** @internal */
2898
+ export type DeploymentsOrEq$Outbound = {
2899
+ eq: string | number | boolean;
2900
+ };
2901
+ /** @internal */
2902
+ export declare const DeploymentsOrEq$outboundSchema: z.ZodType<DeploymentsOrEq$Outbound, z.ZodTypeDef, DeploymentsOrEq>;
2903
+ /**
2904
+ * @internal
2905
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2906
+ */
2907
+ export declare namespace DeploymentsOrEq$ {
2908
+ /** @deprecated use `DeploymentsOrEq$inboundSchema` instead. */
2909
+ const inboundSchema: z.ZodType<DeploymentsOrEq, z.ZodTypeDef, unknown>;
2910
+ /** @deprecated use `DeploymentsOrEq$outboundSchema` instead. */
2911
+ const outboundSchema: z.ZodType<DeploymentsOrEq$Outbound, z.ZodTypeDef, DeploymentsOrEq>;
2912
+ /** @deprecated use `DeploymentsOrEq$Outbound` instead. */
2913
+ type Outbound = DeploymentsOrEq$Outbound;
2914
+ }
2915
+ export declare function deploymentsOrEqToJSON(deploymentsOrEq: DeploymentsOrEq): string;
2916
+ export declare function deploymentsOrEqFromJSON(jsonString: string): SafeParseResult<DeploymentsOrEq, SDKValidationError>;
2917
+ /** @internal */
2918
+ export declare const Or$inboundSchema: z.ZodType<Or, z.ZodTypeDef, unknown>;
2919
+ /** @internal */
2920
+ export type Or$Outbound = DeploymentsOrEq$Outbound | DeploymentsOrNe$Outbound | Or3$Outbound | OrGte$Outbound | OrLt$Outbound | OrLte$Outbound | DeploymentsOrIn$Outbound | DeploymentsOrNin$Outbound | OrExists$Outbound;
2921
+ /** @internal */
2922
+ export declare const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or>;
2923
+ /**
2924
+ * @internal
2925
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2926
+ */
2927
+ export declare namespace Or$ {
2928
+ /** @deprecated use `Or$inboundSchema` instead. */
2929
+ const inboundSchema: z.ZodType<Or, z.ZodTypeDef, unknown>;
2930
+ /** @deprecated use `Or$outboundSchema` instead. */
2931
+ const outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or>;
2932
+ /** @deprecated use `Or$Outbound` instead. */
2933
+ type Outbound = Or$Outbound;
2934
+ }
2935
+ export declare function orToJSON(or: Or): string;
2936
+ export declare function orFromJSON(jsonString: string): SafeParseResult<Or, SDKValidationError>;
2937
+ /** @internal */
2938
+ export declare const KnowledgeFilterOr$inboundSchema: z.ZodType<KnowledgeFilterOr, z.ZodTypeDef, unknown>;
2939
+ /** @internal */
2940
+ export type KnowledgeFilterOr$Outbound = {
2941
+ or: Array<{
2942
+ [k: string]: DeploymentsOrEq$Outbound | DeploymentsOrNe$Outbound | Or3$Outbound | OrGte$Outbound | OrLt$Outbound | OrLte$Outbound | DeploymentsOrIn$Outbound | DeploymentsOrNin$Outbound | OrExists$Outbound;
2943
+ }>;
2944
+ };
2945
+ /** @internal */
2946
+ export declare const KnowledgeFilterOr$outboundSchema: z.ZodType<KnowledgeFilterOr$Outbound, z.ZodTypeDef, KnowledgeFilterOr>;
2947
+ /**
2948
+ * @internal
2949
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2950
+ */
2951
+ export declare namespace KnowledgeFilterOr$ {
2952
+ /** @deprecated use `KnowledgeFilterOr$inboundSchema` instead. */
2953
+ const inboundSchema: z.ZodType<KnowledgeFilterOr, z.ZodTypeDef, unknown>;
2954
+ /** @deprecated use `KnowledgeFilterOr$outboundSchema` instead. */
2955
+ const outboundSchema: z.ZodType<KnowledgeFilterOr$Outbound, z.ZodTypeDef, KnowledgeFilterOr>;
2956
+ /** @deprecated use `KnowledgeFilterOr$Outbound` instead. */
2957
+ type Outbound = KnowledgeFilterOr$Outbound;
2958
+ }
2959
+ export declare function knowledgeFilterOrToJSON(knowledgeFilterOr: KnowledgeFilterOr): string;
2960
+ export declare function knowledgeFilterOrFromJSON(jsonString: string): SafeParseResult<KnowledgeFilterOr, SDKValidationError>;
2961
+ /** @internal */
2962
+ export declare const AndExists$inboundSchema: z.ZodType<AndExists, z.ZodTypeDef, unknown>;
2963
+ /** @internal */
2964
+ export type AndExists$Outbound = {
2965
+ exists: boolean;
2966
+ };
2967
+ /** @internal */
2968
+ export declare const AndExists$outboundSchema: z.ZodType<AndExists$Outbound, z.ZodTypeDef, AndExists>;
2969
+ /**
2970
+ * @internal
2971
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2972
+ */
2973
+ export declare namespace AndExists$ {
2974
+ /** @deprecated use `AndExists$inboundSchema` instead. */
2975
+ const inboundSchema: z.ZodType<AndExists, z.ZodTypeDef, unknown>;
2976
+ /** @deprecated use `AndExists$outboundSchema` instead. */
2977
+ const outboundSchema: z.ZodType<AndExists$Outbound, z.ZodTypeDef, AndExists>;
2978
+ /** @deprecated use `AndExists$Outbound` instead. */
2979
+ type Outbound = AndExists$Outbound;
2980
+ }
2981
+ export declare function andExistsToJSON(andExists: AndExists): string;
2982
+ export declare function andExistsFromJSON(jsonString: string): SafeParseResult<AndExists, SDKValidationError>;
2983
+ /** @internal */
2984
+ export declare const AndNin$inboundSchema: z.ZodType<AndNin, z.ZodTypeDef, unknown>;
2985
+ /** @internal */
2986
+ export type AndNin$Outbound = string | number | boolean;
2987
+ /** @internal */
2988
+ export declare const AndNin$outboundSchema: z.ZodType<AndNin$Outbound, z.ZodTypeDef, AndNin>;
2989
+ /**
2990
+ * @internal
2991
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2992
+ */
2993
+ export declare namespace AndNin$ {
2994
+ /** @deprecated use `AndNin$inboundSchema` instead. */
2995
+ const inboundSchema: z.ZodType<AndNin, z.ZodTypeDef, unknown>;
2996
+ /** @deprecated use `AndNin$outboundSchema` instead. */
2997
+ const outboundSchema: z.ZodType<AndNin$Outbound, z.ZodTypeDef, AndNin>;
2998
+ /** @deprecated use `AndNin$Outbound` instead. */
2999
+ type Outbound = AndNin$Outbound;
3000
+ }
3001
+ export declare function andNinToJSON(andNin: AndNin): string;
3002
+ export declare function andNinFromJSON(jsonString: string): SafeParseResult<AndNin, SDKValidationError>;
3003
+ /** @internal */
3004
+ export declare const DeploymentsAndNin$inboundSchema: z.ZodType<DeploymentsAndNin, z.ZodTypeDef, unknown>;
3005
+ /** @internal */
3006
+ export type DeploymentsAndNin$Outbound = {
3007
+ nin: Array<string | number | boolean>;
3008
+ };
3009
+ /** @internal */
3010
+ export declare const DeploymentsAndNin$outboundSchema: z.ZodType<DeploymentsAndNin$Outbound, z.ZodTypeDef, DeploymentsAndNin>;
3011
+ /**
3012
+ * @internal
3013
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3014
+ */
3015
+ export declare namespace DeploymentsAndNin$ {
3016
+ /** @deprecated use `DeploymentsAndNin$inboundSchema` instead. */
3017
+ const inboundSchema: z.ZodType<DeploymentsAndNin, z.ZodTypeDef, unknown>;
3018
+ /** @deprecated use `DeploymentsAndNin$outboundSchema` instead. */
3019
+ const outboundSchema: z.ZodType<DeploymentsAndNin$Outbound, z.ZodTypeDef, DeploymentsAndNin>;
3020
+ /** @deprecated use `DeploymentsAndNin$Outbound` instead. */
3021
+ type Outbound = DeploymentsAndNin$Outbound;
3022
+ }
3023
+ export declare function deploymentsAndNinToJSON(deploymentsAndNin: DeploymentsAndNin): string;
3024
+ export declare function deploymentsAndNinFromJSON(jsonString: string): SafeParseResult<DeploymentsAndNin, SDKValidationError>;
3025
+ /** @internal */
3026
+ export declare const AndIn$inboundSchema: z.ZodType<AndIn, z.ZodTypeDef, unknown>;
3027
+ /** @internal */
3028
+ export type AndIn$Outbound = string | number | boolean;
3029
+ /** @internal */
3030
+ export declare const AndIn$outboundSchema: z.ZodType<AndIn$Outbound, z.ZodTypeDef, AndIn>;
3031
+ /**
3032
+ * @internal
3033
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3034
+ */
3035
+ export declare namespace AndIn$ {
3036
+ /** @deprecated use `AndIn$inboundSchema` instead. */
3037
+ const inboundSchema: z.ZodType<AndIn, z.ZodTypeDef, unknown>;
3038
+ /** @deprecated use `AndIn$outboundSchema` instead. */
3039
+ const outboundSchema: z.ZodType<AndIn$Outbound, z.ZodTypeDef, AndIn>;
3040
+ /** @deprecated use `AndIn$Outbound` instead. */
3041
+ type Outbound = AndIn$Outbound;
3042
+ }
3043
+ export declare function andInToJSON(andIn: AndIn): string;
3044
+ export declare function andInFromJSON(jsonString: string): SafeParseResult<AndIn, SDKValidationError>;
3045
+ /** @internal */
3046
+ export declare const DeploymentsAndIn$inboundSchema: z.ZodType<DeploymentsAndIn, z.ZodTypeDef, unknown>;
3047
+ /** @internal */
3048
+ export type DeploymentsAndIn$Outbound = {
3049
+ in: Array<string | number | boolean>;
3050
+ };
3051
+ /** @internal */
3052
+ export declare const DeploymentsAndIn$outboundSchema: z.ZodType<DeploymentsAndIn$Outbound, z.ZodTypeDef, DeploymentsAndIn>;
3053
+ /**
3054
+ * @internal
3055
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3056
+ */
3057
+ export declare namespace DeploymentsAndIn$ {
3058
+ /** @deprecated use `DeploymentsAndIn$inboundSchema` instead. */
3059
+ const inboundSchema: z.ZodType<DeploymentsAndIn, z.ZodTypeDef, unknown>;
3060
+ /** @deprecated use `DeploymentsAndIn$outboundSchema` instead. */
3061
+ const outboundSchema: z.ZodType<DeploymentsAndIn$Outbound, z.ZodTypeDef, DeploymentsAndIn>;
3062
+ /** @deprecated use `DeploymentsAndIn$Outbound` instead. */
3063
+ type Outbound = DeploymentsAndIn$Outbound;
3064
+ }
3065
+ export declare function deploymentsAndInToJSON(deploymentsAndIn: DeploymentsAndIn): string;
3066
+ export declare function deploymentsAndInFromJSON(jsonString: string): SafeParseResult<DeploymentsAndIn, SDKValidationError>;
3067
+ /** @internal */
3068
+ export declare const AndLte$inboundSchema: z.ZodType<AndLte, z.ZodTypeDef, unknown>;
3069
+ /** @internal */
3070
+ export type AndLte$Outbound = {
3071
+ lte: number;
3072
+ };
3073
+ /** @internal */
3074
+ export declare const AndLte$outboundSchema: z.ZodType<AndLte$Outbound, z.ZodTypeDef, AndLte>;
3075
+ /**
3076
+ * @internal
3077
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3078
+ */
3079
+ export declare namespace AndLte$ {
3080
+ /** @deprecated use `AndLte$inboundSchema` instead. */
3081
+ const inboundSchema: z.ZodType<AndLte, z.ZodTypeDef, unknown>;
3082
+ /** @deprecated use `AndLte$outboundSchema` instead. */
3083
+ const outboundSchema: z.ZodType<AndLte$Outbound, z.ZodTypeDef, AndLte>;
3084
+ /** @deprecated use `AndLte$Outbound` instead. */
3085
+ type Outbound = AndLte$Outbound;
3086
+ }
3087
+ export declare function andLteToJSON(andLte: AndLte): string;
3088
+ export declare function andLteFromJSON(jsonString: string): SafeParseResult<AndLte, SDKValidationError>;
3089
+ /** @internal */
3090
+ export declare const AndLt$inboundSchema: z.ZodType<AndLt, z.ZodTypeDef, unknown>;
3091
+ /** @internal */
3092
+ export type AndLt$Outbound = {
3093
+ lt: number;
3094
+ };
3095
+ /** @internal */
3096
+ export declare const AndLt$outboundSchema: z.ZodType<AndLt$Outbound, z.ZodTypeDef, AndLt>;
3097
+ /**
3098
+ * @internal
3099
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3100
+ */
3101
+ export declare namespace AndLt$ {
3102
+ /** @deprecated use `AndLt$inboundSchema` instead. */
3103
+ const inboundSchema: z.ZodType<AndLt, z.ZodTypeDef, unknown>;
3104
+ /** @deprecated use `AndLt$outboundSchema` instead. */
3105
+ const outboundSchema: z.ZodType<AndLt$Outbound, z.ZodTypeDef, AndLt>;
3106
+ /** @deprecated use `AndLt$Outbound` instead. */
3107
+ type Outbound = AndLt$Outbound;
3108
+ }
3109
+ export declare function andLtToJSON(andLt: AndLt): string;
3110
+ export declare function andLtFromJSON(jsonString: string): SafeParseResult<AndLt, SDKValidationError>;
3111
+ /** @internal */
3112
+ export declare const AndGte$inboundSchema: z.ZodType<AndGte, z.ZodTypeDef, unknown>;
3113
+ /** @internal */
3114
+ export type AndGte$Outbound = {
3115
+ gte: number;
3116
+ };
3117
+ /** @internal */
3118
+ export declare const AndGte$outboundSchema: z.ZodType<AndGte$Outbound, z.ZodTypeDef, AndGte>;
3119
+ /**
3120
+ * @internal
3121
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3122
+ */
3123
+ export declare namespace AndGte$ {
3124
+ /** @deprecated use `AndGte$inboundSchema` instead. */
3125
+ const inboundSchema: z.ZodType<AndGte, z.ZodTypeDef, unknown>;
3126
+ /** @deprecated use `AndGte$outboundSchema` instead. */
3127
+ const outboundSchema: z.ZodType<AndGte$Outbound, z.ZodTypeDef, AndGte>;
3128
+ /** @deprecated use `AndGte$Outbound` instead. */
3129
+ type Outbound = AndGte$Outbound;
3130
+ }
3131
+ export declare function andGteToJSON(andGte: AndGte): string;
3132
+ export declare function andGteFromJSON(jsonString: string): SafeParseResult<AndGte, SDKValidationError>;
3133
+ /** @internal */
3134
+ export declare const And3$inboundSchema: z.ZodType<And3, z.ZodTypeDef, unknown>;
3135
+ /** @internal */
3136
+ export type And3$Outbound = {
3137
+ gt: number;
3138
+ };
3139
+ /** @internal */
3140
+ export declare const And3$outboundSchema: z.ZodType<And3$Outbound, z.ZodTypeDef, And3>;
3141
+ /**
3142
+ * @internal
3143
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3144
+ */
3145
+ export declare namespace And3$ {
3146
+ /** @deprecated use `And3$inboundSchema` instead. */
3147
+ const inboundSchema: z.ZodType<And3, z.ZodTypeDef, unknown>;
3148
+ /** @deprecated use `And3$outboundSchema` instead. */
3149
+ const outboundSchema: z.ZodType<And3$Outbound, z.ZodTypeDef, And3>;
3150
+ /** @deprecated use `And3$Outbound` instead. */
3151
+ type Outbound = And3$Outbound;
3152
+ }
3153
+ export declare function and3ToJSON(and3: And3): string;
3154
+ export declare function and3FromJSON(jsonString: string): SafeParseResult<And3, SDKValidationError>;
3155
+ /** @internal */
3156
+ export declare const AndNe$inboundSchema: z.ZodType<AndNe, z.ZodTypeDef, unknown>;
3157
+ /** @internal */
3158
+ export type AndNe$Outbound = string | number | boolean;
3159
+ /** @internal */
3160
+ export declare const AndNe$outboundSchema: z.ZodType<AndNe$Outbound, z.ZodTypeDef, AndNe>;
3161
+ /**
3162
+ * @internal
3163
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3164
+ */
3165
+ export declare namespace AndNe$ {
3166
+ /** @deprecated use `AndNe$inboundSchema` instead. */
3167
+ const inboundSchema: z.ZodType<AndNe, z.ZodTypeDef, unknown>;
3168
+ /** @deprecated use `AndNe$outboundSchema` instead. */
3169
+ const outboundSchema: z.ZodType<AndNe$Outbound, z.ZodTypeDef, AndNe>;
3170
+ /** @deprecated use `AndNe$Outbound` instead. */
3171
+ type Outbound = AndNe$Outbound;
3172
+ }
3173
+ export declare function andNeToJSON(andNe: AndNe): string;
3174
+ export declare function andNeFromJSON(jsonString: string): SafeParseResult<AndNe, SDKValidationError>;
3175
+ /** @internal */
3176
+ export declare const DeploymentsAndNe$inboundSchema: z.ZodType<DeploymentsAndNe, z.ZodTypeDef, unknown>;
3177
+ /** @internal */
3178
+ export type DeploymentsAndNe$Outbound = {
3179
+ ne: string | number | boolean;
3180
+ };
3181
+ /** @internal */
3182
+ export declare const DeploymentsAndNe$outboundSchema: z.ZodType<DeploymentsAndNe$Outbound, z.ZodTypeDef, DeploymentsAndNe>;
3183
+ /**
3184
+ * @internal
3185
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3186
+ */
3187
+ export declare namespace DeploymentsAndNe$ {
3188
+ /** @deprecated use `DeploymentsAndNe$inboundSchema` instead. */
3189
+ const inboundSchema: z.ZodType<DeploymentsAndNe, z.ZodTypeDef, unknown>;
3190
+ /** @deprecated use `DeploymentsAndNe$outboundSchema` instead. */
3191
+ const outboundSchema: z.ZodType<DeploymentsAndNe$Outbound, z.ZodTypeDef, DeploymentsAndNe>;
3192
+ /** @deprecated use `DeploymentsAndNe$Outbound` instead. */
3193
+ type Outbound = DeploymentsAndNe$Outbound;
3194
+ }
3195
+ export declare function deploymentsAndNeToJSON(deploymentsAndNe: DeploymentsAndNe): string;
3196
+ export declare function deploymentsAndNeFromJSON(jsonString: string): SafeParseResult<DeploymentsAndNe, SDKValidationError>;
3197
+ /** @internal */
3198
+ export declare const AndEq$inboundSchema: z.ZodType<AndEq, z.ZodTypeDef, unknown>;
3199
+ /** @internal */
3200
+ export type AndEq$Outbound = string | number | boolean;
3201
+ /** @internal */
3202
+ export declare const AndEq$outboundSchema: z.ZodType<AndEq$Outbound, z.ZodTypeDef, AndEq>;
3203
+ /**
3204
+ * @internal
3205
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3206
+ */
3207
+ export declare namespace AndEq$ {
3208
+ /** @deprecated use `AndEq$inboundSchema` instead. */
3209
+ const inboundSchema: z.ZodType<AndEq, z.ZodTypeDef, unknown>;
3210
+ /** @deprecated use `AndEq$outboundSchema` instead. */
3211
+ const outboundSchema: z.ZodType<AndEq$Outbound, z.ZodTypeDef, AndEq>;
3212
+ /** @deprecated use `AndEq$Outbound` instead. */
3213
+ type Outbound = AndEq$Outbound;
3214
+ }
3215
+ export declare function andEqToJSON(andEq: AndEq): string;
3216
+ export declare function andEqFromJSON(jsonString: string): SafeParseResult<AndEq, SDKValidationError>;
3217
+ /** @internal */
3218
+ export declare const DeploymentsAndEq$inboundSchema: z.ZodType<DeploymentsAndEq, z.ZodTypeDef, unknown>;
3219
+ /** @internal */
3220
+ export type DeploymentsAndEq$Outbound = {
3221
+ eq: string | number | boolean;
3222
+ };
3223
+ /** @internal */
3224
+ export declare const DeploymentsAndEq$outboundSchema: z.ZodType<DeploymentsAndEq$Outbound, z.ZodTypeDef, DeploymentsAndEq>;
3225
+ /**
3226
+ * @internal
3227
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3228
+ */
3229
+ export declare namespace DeploymentsAndEq$ {
3230
+ /** @deprecated use `DeploymentsAndEq$inboundSchema` instead. */
3231
+ const inboundSchema: z.ZodType<DeploymentsAndEq, z.ZodTypeDef, unknown>;
3232
+ /** @deprecated use `DeploymentsAndEq$outboundSchema` instead. */
3233
+ const outboundSchema: z.ZodType<DeploymentsAndEq$Outbound, z.ZodTypeDef, DeploymentsAndEq>;
3234
+ /** @deprecated use `DeploymentsAndEq$Outbound` instead. */
3235
+ type Outbound = DeploymentsAndEq$Outbound;
3236
+ }
3237
+ export declare function deploymentsAndEqToJSON(deploymentsAndEq: DeploymentsAndEq): string;
3238
+ export declare function deploymentsAndEqFromJSON(jsonString: string): SafeParseResult<DeploymentsAndEq, SDKValidationError>;
3239
+ /** @internal */
3240
+ export declare const And$inboundSchema: z.ZodType<And, z.ZodTypeDef, unknown>;
3241
+ /** @internal */
3242
+ export type And$Outbound = DeploymentsAndEq$Outbound | DeploymentsAndNe$Outbound | And3$Outbound | AndGte$Outbound | AndLt$Outbound | AndLte$Outbound | DeploymentsAndIn$Outbound | DeploymentsAndNin$Outbound | AndExists$Outbound;
3243
+ /** @internal */
3244
+ export declare const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And>;
3245
+ /**
3246
+ * @internal
3247
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3248
+ */
3249
+ export declare namespace And$ {
3250
+ /** @deprecated use `And$inboundSchema` instead. */
3251
+ const inboundSchema: z.ZodType<And, z.ZodTypeDef, unknown>;
3252
+ /** @deprecated use `And$outboundSchema` instead. */
3253
+ const outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And>;
3254
+ /** @deprecated use `And$Outbound` instead. */
3255
+ type Outbound = And$Outbound;
3256
+ }
3257
+ export declare function andToJSON(and: And): string;
3258
+ export declare function andFromJSON(jsonString: string): SafeParseResult<And, SDKValidationError>;
3259
+ /** @internal */
3260
+ export declare const KnowledgeFilterAnd$inboundSchema: z.ZodType<KnowledgeFilterAnd, z.ZodTypeDef, unknown>;
3261
+ /** @internal */
3262
+ export type KnowledgeFilterAnd$Outbound = {
3263
+ and: Array<{
3264
+ [k: string]: DeploymentsAndEq$Outbound | DeploymentsAndNe$Outbound | And3$Outbound | AndGte$Outbound | AndLt$Outbound | AndLte$Outbound | DeploymentsAndIn$Outbound | DeploymentsAndNin$Outbound | AndExists$Outbound;
3265
+ }>;
3266
+ };
3267
+ /** @internal */
3268
+ export declare const KnowledgeFilterAnd$outboundSchema: z.ZodType<KnowledgeFilterAnd$Outbound, z.ZodTypeDef, KnowledgeFilterAnd>;
3269
+ /**
3270
+ * @internal
3271
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3272
+ */
3273
+ export declare namespace KnowledgeFilterAnd$ {
3274
+ /** @deprecated use `KnowledgeFilterAnd$inboundSchema` instead. */
3275
+ const inboundSchema: z.ZodType<KnowledgeFilterAnd, z.ZodTypeDef, unknown>;
3276
+ /** @deprecated use `KnowledgeFilterAnd$outboundSchema` instead. */
3277
+ const outboundSchema: z.ZodType<KnowledgeFilterAnd$Outbound, z.ZodTypeDef, KnowledgeFilterAnd>;
3278
+ /** @deprecated use `KnowledgeFilterAnd$Outbound` instead. */
3279
+ type Outbound = KnowledgeFilterAnd$Outbound;
3280
+ }
3281
+ export declare function knowledgeFilterAndToJSON(knowledgeFilterAnd: KnowledgeFilterAnd): string;
3282
+ export declare function knowledgeFilterAndFromJSON(jsonString: string): SafeParseResult<KnowledgeFilterAnd, SDKValidationError>;
3283
+ /** @internal */
3284
+ export declare const Exists$inboundSchema: z.ZodType<Exists, z.ZodTypeDef, unknown>;
3285
+ /** @internal */
3286
+ export type Exists$Outbound = {
3287
+ exists: boolean;
3288
+ };
3289
+ /** @internal */
3290
+ export declare const Exists$outboundSchema: z.ZodType<Exists$Outbound, z.ZodTypeDef, Exists>;
3291
+ /**
3292
+ * @internal
3293
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3294
+ */
3295
+ export declare namespace Exists$ {
3296
+ /** @deprecated use `Exists$inboundSchema` instead. */
3297
+ const inboundSchema: z.ZodType<Exists, z.ZodTypeDef, unknown>;
3298
+ /** @deprecated use `Exists$outboundSchema` instead. */
3299
+ const outboundSchema: z.ZodType<Exists$Outbound, z.ZodTypeDef, Exists>;
3300
+ /** @deprecated use `Exists$Outbound` instead. */
3301
+ type Outbound = Exists$Outbound;
3302
+ }
3303
+ export declare function existsToJSON(exists: Exists): string;
3304
+ export declare function existsFromJSON(jsonString: string): SafeParseResult<Exists, SDKValidationError>;
3305
+ /** @internal */
3306
+ export declare const Nin$inboundSchema: z.ZodType<Nin, z.ZodTypeDef, unknown>;
3307
+ /** @internal */
3308
+ export type Nin$Outbound = string | number | boolean;
3309
+ /** @internal */
3310
+ export declare const Nin$outboundSchema: z.ZodType<Nin$Outbound, z.ZodTypeDef, Nin>;
3311
+ /**
3312
+ * @internal
3313
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3314
+ */
3315
+ export declare namespace Nin$ {
3316
+ /** @deprecated use `Nin$inboundSchema` instead. */
3317
+ const inboundSchema: z.ZodType<Nin, z.ZodTypeDef, unknown>;
3318
+ /** @deprecated use `Nin$outboundSchema` instead. */
3319
+ const outboundSchema: z.ZodType<Nin$Outbound, z.ZodTypeDef, Nin>;
3320
+ /** @deprecated use `Nin$Outbound` instead. */
3321
+ type Outbound = Nin$Outbound;
3322
+ }
3323
+ export declare function ninToJSON(nin: Nin): string;
3324
+ export declare function ninFromJSON(jsonString: string): SafeParseResult<Nin, SDKValidationError>;
3325
+ /** @internal */
3326
+ export declare const OneNin$inboundSchema: z.ZodType<OneNin, z.ZodTypeDef, unknown>;
3327
+ /** @internal */
3328
+ export type OneNin$Outbound = {
3329
+ nin: Array<string | number | boolean>;
3330
+ };
3331
+ /** @internal */
3332
+ export declare const OneNin$outboundSchema: z.ZodType<OneNin$Outbound, z.ZodTypeDef, OneNin>;
3333
+ /**
3334
+ * @internal
3335
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3336
+ */
3337
+ export declare namespace OneNin$ {
3338
+ /** @deprecated use `OneNin$inboundSchema` instead. */
3339
+ const inboundSchema: z.ZodType<OneNin, z.ZodTypeDef, unknown>;
3340
+ /** @deprecated use `OneNin$outboundSchema` instead. */
3341
+ const outboundSchema: z.ZodType<OneNin$Outbound, z.ZodTypeDef, OneNin>;
3342
+ /** @deprecated use `OneNin$Outbound` instead. */
3343
+ type Outbound = OneNin$Outbound;
3344
+ }
3345
+ export declare function oneNinToJSON(oneNin: OneNin): string;
3346
+ export declare function oneNinFromJSON(jsonString: string): SafeParseResult<OneNin, SDKValidationError>;
3347
+ /** @internal */
3348
+ export declare const In$inboundSchema: z.ZodType<In, z.ZodTypeDef, unknown>;
3349
+ /** @internal */
3350
+ export type In$Outbound = string | number | boolean;
3351
+ /** @internal */
3352
+ export declare const In$outboundSchema: z.ZodType<In$Outbound, z.ZodTypeDef, In>;
3353
+ /**
3354
+ * @internal
3355
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3356
+ */
3357
+ export declare namespace In$ {
3358
+ /** @deprecated use `In$inboundSchema` instead. */
3359
+ const inboundSchema: z.ZodType<In, z.ZodTypeDef, unknown>;
3360
+ /** @deprecated use `In$outboundSchema` instead. */
3361
+ const outboundSchema: z.ZodType<In$Outbound, z.ZodTypeDef, In>;
3362
+ /** @deprecated use `In$Outbound` instead. */
3363
+ type Outbound = In$Outbound;
3364
+ }
3365
+ export declare function inToJSON(value: In): string;
3366
+ export declare function inFromJSON(jsonString: string): SafeParseResult<In, SDKValidationError>;
3367
+ /** @internal */
3368
+ export declare const OneIn$inboundSchema: z.ZodType<OneIn, z.ZodTypeDef, unknown>;
3369
+ /** @internal */
3370
+ export type OneIn$Outbound = {
3371
+ in: Array<string | number | boolean>;
3372
+ };
3373
+ /** @internal */
3374
+ export declare const OneIn$outboundSchema: z.ZodType<OneIn$Outbound, z.ZodTypeDef, OneIn>;
3375
+ /**
3376
+ * @internal
3377
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3378
+ */
3379
+ export declare namespace OneIn$ {
3380
+ /** @deprecated use `OneIn$inboundSchema` instead. */
3381
+ const inboundSchema: z.ZodType<OneIn, z.ZodTypeDef, unknown>;
3382
+ /** @deprecated use `OneIn$outboundSchema` instead. */
3383
+ const outboundSchema: z.ZodType<OneIn$Outbound, z.ZodTypeDef, OneIn>;
3384
+ /** @deprecated use `OneIn$Outbound` instead. */
3385
+ type Outbound = OneIn$Outbound;
3386
+ }
3387
+ export declare function oneInToJSON(oneIn: OneIn): string;
3388
+ export declare function oneInFromJSON(jsonString: string): SafeParseResult<OneIn, SDKValidationError>;
3389
+ /** @internal */
3390
+ export declare const Lte$inboundSchema: z.ZodType<Lte, z.ZodTypeDef, unknown>;
3391
+ /** @internal */
3392
+ export type Lte$Outbound = {
3393
+ lte: number;
3394
+ };
3395
+ /** @internal */
3396
+ export declare const Lte$outboundSchema: z.ZodType<Lte$Outbound, z.ZodTypeDef, Lte>;
3397
+ /**
3398
+ * @internal
3399
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3400
+ */
3401
+ export declare namespace Lte$ {
3402
+ /** @deprecated use `Lte$inboundSchema` instead. */
3403
+ const inboundSchema: z.ZodType<Lte, z.ZodTypeDef, unknown>;
3404
+ /** @deprecated use `Lte$outboundSchema` instead. */
3405
+ const outboundSchema: z.ZodType<Lte$Outbound, z.ZodTypeDef, Lte>;
3406
+ /** @deprecated use `Lte$Outbound` instead. */
3407
+ type Outbound = Lte$Outbound;
3408
+ }
3409
+ export declare function lteToJSON(lte: Lte): string;
3410
+ export declare function lteFromJSON(jsonString: string): SafeParseResult<Lte, SDKValidationError>;
3411
+ /** @internal */
3412
+ export declare const Lt$inboundSchema: z.ZodType<Lt, z.ZodTypeDef, unknown>;
3413
+ /** @internal */
3414
+ export type Lt$Outbound = {
3415
+ lt: number;
3416
+ };
3417
+ /** @internal */
3418
+ export declare const Lt$outboundSchema: z.ZodType<Lt$Outbound, z.ZodTypeDef, Lt>;
3419
+ /**
3420
+ * @internal
3421
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3422
+ */
3423
+ export declare namespace Lt$ {
3424
+ /** @deprecated use `Lt$inboundSchema` instead. */
3425
+ const inboundSchema: z.ZodType<Lt, z.ZodTypeDef, unknown>;
3426
+ /** @deprecated use `Lt$outboundSchema` instead. */
3427
+ const outboundSchema: z.ZodType<Lt$Outbound, z.ZodTypeDef, Lt>;
3428
+ /** @deprecated use `Lt$Outbound` instead. */
3429
+ type Outbound = Lt$Outbound;
3430
+ }
3431
+ export declare function ltToJSON(lt: Lt): string;
3432
+ export declare function ltFromJSON(jsonString: string): SafeParseResult<Lt, SDKValidationError>;
3433
+ /** @internal */
3434
+ export declare const Gte$inboundSchema: z.ZodType<Gte, z.ZodTypeDef, unknown>;
3435
+ /** @internal */
3436
+ export type Gte$Outbound = {
3437
+ gte: number;
3438
+ };
3439
+ /** @internal */
3440
+ export declare const Gte$outboundSchema: z.ZodType<Gte$Outbound, z.ZodTypeDef, Gte>;
3441
+ /**
3442
+ * @internal
3443
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3444
+ */
3445
+ export declare namespace Gte$ {
3446
+ /** @deprecated use `Gte$inboundSchema` instead. */
3447
+ const inboundSchema: z.ZodType<Gte, z.ZodTypeDef, unknown>;
3448
+ /** @deprecated use `Gte$outboundSchema` instead. */
3449
+ const outboundSchema: z.ZodType<Gte$Outbound, z.ZodTypeDef, Gte>;
3450
+ /** @deprecated use `Gte$Outbound` instead. */
3451
+ type Outbound = Gte$Outbound;
3452
+ }
3453
+ export declare function gteToJSON(gte: Gte): string;
3454
+ export declare function gteFromJSON(jsonString: string): SafeParseResult<Gte, SDKValidationError>;
3455
+ /** @internal */
3456
+ export declare const Three$inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown>;
3457
+ /** @internal */
3458
+ export type Three$Outbound = {
3459
+ gt: number;
3460
+ };
3461
+ /** @internal */
3462
+ export declare const Three$outboundSchema: z.ZodType<Three$Outbound, z.ZodTypeDef, Three>;
3463
+ /**
3464
+ * @internal
3465
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3466
+ */
3467
+ export declare namespace Three$ {
3468
+ /** @deprecated use `Three$inboundSchema` instead. */
3469
+ const inboundSchema: z.ZodType<Three, z.ZodTypeDef, unknown>;
3470
+ /** @deprecated use `Three$outboundSchema` instead. */
3471
+ const outboundSchema: z.ZodType<Three$Outbound, z.ZodTypeDef, Three>;
3472
+ /** @deprecated use `Three$Outbound` instead. */
3473
+ type Outbound = Three$Outbound;
3474
+ }
3475
+ export declare function threeToJSON(three: Three): string;
3476
+ export declare function threeFromJSON(jsonString: string): SafeParseResult<Three, SDKValidationError>;
3477
+ /** @internal */
3478
+ export declare const Ne$inboundSchema: z.ZodType<Ne, z.ZodTypeDef, unknown>;
3479
+ /** @internal */
3480
+ export type Ne$Outbound = string | number | boolean;
3481
+ /** @internal */
3482
+ export declare const Ne$outboundSchema: z.ZodType<Ne$Outbound, z.ZodTypeDef, Ne>;
3483
+ /**
3484
+ * @internal
3485
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3486
+ */
3487
+ export declare namespace Ne$ {
3488
+ /** @deprecated use `Ne$inboundSchema` instead. */
3489
+ const inboundSchema: z.ZodType<Ne, z.ZodTypeDef, unknown>;
3490
+ /** @deprecated use `Ne$outboundSchema` instead. */
3491
+ const outboundSchema: z.ZodType<Ne$Outbound, z.ZodTypeDef, Ne>;
3492
+ /** @deprecated use `Ne$Outbound` instead. */
3493
+ type Outbound = Ne$Outbound;
3494
+ }
3495
+ export declare function neToJSON(ne: Ne): string;
3496
+ export declare function neFromJSON(jsonString: string): SafeParseResult<Ne, SDKValidationError>;
3497
+ /** @internal */
3498
+ export declare const OneNe$inboundSchema: z.ZodType<OneNe, z.ZodTypeDef, unknown>;
3499
+ /** @internal */
3500
+ export type OneNe$Outbound = {
3501
+ ne: string | number | boolean;
3502
+ };
3503
+ /** @internal */
3504
+ export declare const OneNe$outboundSchema: z.ZodType<OneNe$Outbound, z.ZodTypeDef, OneNe>;
3505
+ /**
3506
+ * @internal
3507
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3508
+ */
3509
+ export declare namespace OneNe$ {
3510
+ /** @deprecated use `OneNe$inboundSchema` instead. */
3511
+ const inboundSchema: z.ZodType<OneNe, z.ZodTypeDef, unknown>;
3512
+ /** @deprecated use `OneNe$outboundSchema` instead. */
3513
+ const outboundSchema: z.ZodType<OneNe$Outbound, z.ZodTypeDef, OneNe>;
3514
+ /** @deprecated use `OneNe$Outbound` instead. */
3515
+ type Outbound = OneNe$Outbound;
3516
+ }
3517
+ export declare function oneNeToJSON(oneNe: OneNe): string;
3518
+ export declare function oneNeFromJSON(jsonString: string): SafeParseResult<OneNe, SDKValidationError>;
3519
+ /** @internal */
3520
+ export declare const Eq$inboundSchema: z.ZodType<Eq, z.ZodTypeDef, unknown>;
3521
+ /** @internal */
3522
+ export type Eq$Outbound = string | number | boolean;
3523
+ /** @internal */
3524
+ export declare const Eq$outboundSchema: z.ZodType<Eq$Outbound, z.ZodTypeDef, Eq>;
3525
+ /**
3526
+ * @internal
3527
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3528
+ */
3529
+ export declare namespace Eq$ {
3530
+ /** @deprecated use `Eq$inboundSchema` instead. */
3531
+ const inboundSchema: z.ZodType<Eq, z.ZodTypeDef, unknown>;
3532
+ /** @deprecated use `Eq$outboundSchema` instead. */
3533
+ const outboundSchema: z.ZodType<Eq$Outbound, z.ZodTypeDef, Eq>;
3534
+ /** @deprecated use `Eq$Outbound` instead. */
3535
+ type Outbound = Eq$Outbound;
3536
+ }
3537
+ export declare function eqToJSON(eq: Eq): string;
3538
+ export declare function eqFromJSON(jsonString: string): SafeParseResult<Eq, SDKValidationError>;
3539
+ /** @internal */
3540
+ export declare const OneEq$inboundSchema: z.ZodType<OneEq, z.ZodTypeDef, unknown>;
3541
+ /** @internal */
3542
+ export type OneEq$Outbound = {
3543
+ eq: string | number | boolean;
3544
+ };
3545
+ /** @internal */
3546
+ export declare const OneEq$outboundSchema: z.ZodType<OneEq$Outbound, z.ZodTypeDef, OneEq>;
3547
+ /**
3548
+ * @internal
3549
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3550
+ */
3551
+ export declare namespace OneEq$ {
3552
+ /** @deprecated use `OneEq$inboundSchema` instead. */
3553
+ const inboundSchema: z.ZodType<OneEq, z.ZodTypeDef, unknown>;
3554
+ /** @deprecated use `OneEq$outboundSchema` instead. */
3555
+ const outboundSchema: z.ZodType<OneEq$Outbound, z.ZodTypeDef, OneEq>;
3556
+ /** @deprecated use `OneEq$Outbound` instead. */
3557
+ type Outbound = OneEq$Outbound;
3558
+ }
3559
+ export declare function oneEqToJSON(oneEq: OneEq): string;
3560
+ export declare function oneEqFromJSON(jsonString: string): SafeParseResult<OneEq, SDKValidationError>;
3561
+ /** @internal */
3562
+ export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
3563
+ /** @internal */
3564
+ export type One$Outbound = OneEq$Outbound | OneNe$Outbound | Three$Outbound | Gte$Outbound | Lt$Outbound | Lte$Outbound | OneIn$Outbound | OneNin$Outbound | Exists$Outbound;
3565
+ /** @internal */
3566
+ export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
3567
+ /**
3568
+ * @internal
3569
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3570
+ */
3571
+ export declare namespace One$ {
3572
+ /** @deprecated use `One$inboundSchema` instead. */
3573
+ const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
3574
+ /** @deprecated use `One$outboundSchema` instead. */
3575
+ const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
3576
+ /** @deprecated use `One$Outbound` instead. */
3577
+ type Outbound = One$Outbound;
3578
+ }
3579
+ export declare function oneToJSON(one: One): string;
3580
+ export declare function oneFromJSON(jsonString: string): SafeParseResult<One, SDKValidationError>;
3581
+ /** @internal */
3582
+ export declare const KnowledgeFilter$inboundSchema: z.ZodType<KnowledgeFilter, z.ZodTypeDef, unknown>;
3583
+ /** @internal */
3584
+ export type KnowledgeFilter$Outbound = KnowledgeFilterAnd$Outbound | KnowledgeFilterOr$Outbound | {
3585
+ [k: string]: OneEq$Outbound | OneNe$Outbound | Three$Outbound | Gte$Outbound | Lt$Outbound | Lte$Outbound | OneIn$Outbound | OneNin$Outbound | Exists$Outbound;
3586
+ };
3587
+ /** @internal */
3588
+ export declare const KnowledgeFilter$outboundSchema: z.ZodType<KnowledgeFilter$Outbound, z.ZodTypeDef, KnowledgeFilter>;
3589
+ /**
3590
+ * @internal
3591
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3592
+ */
3593
+ export declare namespace KnowledgeFilter$ {
3594
+ /** @deprecated use `KnowledgeFilter$inboundSchema` instead. */
3595
+ const inboundSchema: z.ZodType<KnowledgeFilter, z.ZodTypeDef, unknown>;
3596
+ /** @deprecated use `KnowledgeFilter$outboundSchema` instead. */
3597
+ const outboundSchema: z.ZodType<KnowledgeFilter$Outbound, z.ZodTypeDef, KnowledgeFilter>;
3598
+ /** @deprecated use `KnowledgeFilter$Outbound` instead. */
3599
+ type Outbound = KnowledgeFilter$Outbound;
3600
+ }
3601
+ export declare function knowledgeFilterToJSON(knowledgeFilter: KnowledgeFilter): string;
3602
+ export declare function knowledgeFilterFromJSON(jsonString: string): SafeParseResult<KnowledgeFilter, SDKValidationError>;
3603
+ /** @internal */
3604
+ export declare const Deployments$inboundSchema: z.ZodType<Deployments, z.ZodTypeDef, unknown>;
3605
+ /** @internal */
3606
+ export type Deployments$Outbound = {
3607
+ key: string;
3608
+ inputs?: {
3609
+ [k: string]: string | number | boolean;
3610
+ } | undefined;
3611
+ context?: {
3612
+ [k: string]: any;
3613
+ } | undefined;
3614
+ prefix_messages?: Array<DeveloperMessage$Outbound | SystemMessage$Outbound | UserMessage$Outbound | ToolMessage$Outbound | AssistantMessage$Outbound> | undefined;
3615
+ messages?: Array<MessagesDeveloperMessage$Outbound | MessagesSystemMessage$Outbound | MessagesUserMessage$Outbound | MessagesToolMessage$Outbound | MessagesAssistantMessage$Outbound> | undefined;
3616
+ file_ids?: Array<string> | undefined;
3617
+ metadata?: {
3618
+ [k: string]: any;
3619
+ } | undefined;
3620
+ extra_params?: {
3621
+ [k: string]: any;
3622
+ } | undefined;
3623
+ documents?: Array<Documents$Outbound> | undefined;
3624
+ invoke_options?: InvokeOptions$Outbound | undefined;
3625
+ thread?: Thread$Outbound | undefined;
3626
+ knowledge_filter?: KnowledgeFilterAnd$Outbound | KnowledgeFilterOr$Outbound | {
3627
+ [k: string]: OneEq$Outbound | OneNe$Outbound | Three$Outbound | Gte$Outbound | Lt$Outbound | Lte$Outbound | OneIn$Outbound | OneNin$Outbound | Exists$Outbound;
3628
+ } | undefined;
2466
3629
  };
2467
3630
  /** @internal */
2468
3631
  export declare const Deployments$outboundSchema: z.ZodType<Deployments$Outbound, z.ZodTypeDef, Deployments>;