@orq-ai/node 3.4.0-rc.37 → 3.6.0-rc.8

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 (623) hide show
  1. package/FUNCTIONS.md +4 -2
  2. package/README.md +23 -67
  3. package/bin/mcp-server.js +11157 -22365
  4. package/bin/mcp-server.js.map +50 -119
  5. package/docs/sdks/datasets/README.md +93 -6
  6. package/docs/sdks/deployments/README.md +89 -0
  7. package/docs/sdks/knowledge/README.md +6 -28
  8. package/docs/sdks/models/README.md +79 -0
  9. package/docs/sdks/orq/README.md +1 -75
  10. package/docs/sdks/prompts/README.md +8 -46
  11. package/funcs/{memoryStoresRetrieveMemory.d.ts → datasetsCreateExperiment.d.ts} +4 -4
  12. package/funcs/{memoryStoresCreateMemory.d.ts.map → datasetsCreateExperiment.d.ts.map} +1 -1
  13. package/funcs/{toolsUpdate.js → datasetsCreateExperiment.js} +11 -11
  14. package/funcs/datasetsCreateExperiment.js.map +1 -0
  15. package/funcs/{memoryStoresCreateDocument.d.ts → deploymentsCreateExperiment.d.ts} +4 -4
  16. package/funcs/deploymentsCreateExperiment.d.ts.map +1 -0
  17. package/funcs/{memoryStoresCreateMemory.js → deploymentsCreateExperiment.js} +14 -11
  18. package/funcs/deploymentsCreateExperiment.js.map +1 -0
  19. package/funcs/{memoryStoresUpdate.d.ts → modelsList.d.ts} +4 -4
  20. package/funcs/modelsList.d.ts.map +1 -0
  21. package/funcs/{toolsCreate.js → modelsList.js} +11 -23
  22. package/funcs/modelsList.js.map +1 -0
  23. package/jsr.json +1 -1
  24. package/lib/config.d.ts +3 -3
  25. package/lib/config.js +3 -3
  26. package/lib/config.js.map +1 -1
  27. package/lib/sdks.d.ts +3 -1
  28. package/lib/sdks.d.ts.map +1 -1
  29. package/lib/sdks.js +6 -11
  30. package/lib/sdks.js.map +1 -1
  31. package/mcp-server/mcp-server.js +1 -1
  32. package/mcp-server/mcp-server.js.map +1 -1
  33. package/mcp-server/server.d.ts.map +1 -1
  34. package/mcp-server/server.js +7 -53
  35. package/mcp-server/server.js.map +1 -1
  36. package/mcp-server/tools/datasetsCreateExperiment.d.ts +8 -0
  37. package/mcp-server/tools/datasetsCreateExperiment.d.ts.map +1 -0
  38. package/mcp-server/tools/{memoryStoresUpdateMemory.js → datasetsCreateExperiment.js} +9 -9
  39. package/mcp-server/tools/{memoryStoresCreateMemory.js.map → datasetsCreateExperiment.js.map} +1 -1
  40. package/mcp-server/tools/deploymentsCreateExperiment.d.ts +8 -0
  41. package/mcp-server/tools/deploymentsCreateExperiment.d.ts.map +1 -0
  42. package/mcp-server/tools/{memoryStoresListMemories.js → deploymentsCreateExperiment.js} +9 -9
  43. package/mcp-server/tools/deploymentsCreateExperiment.js.map +1 -0
  44. package/mcp-server/tools/modelsList.d.ts +3 -0
  45. package/mcp-server/tools/modelsList.d.ts.map +1 -0
  46. package/mcp-server/tools/modelsList.js +26 -0
  47. package/mcp-server/tools/modelsList.js.map +1 -0
  48. package/models/components/deployments.d.ts +241 -29
  49. package/models/components/deployments.d.ts.map +1 -1
  50. package/models/components/deployments.js +239 -29
  51. package/models/components/deployments.js.map +1 -1
  52. package/models/operations/bulkcreatedatapoints.d.ts +4 -0
  53. package/models/operations/bulkcreatedatapoints.d.ts.map +1 -1
  54. package/models/operations/bulkcreatedatapoints.js +10 -2
  55. package/models/operations/bulkcreatedatapoints.js.map +1 -1
  56. package/models/operations/createcontact.js +2 -2
  57. package/models/operations/createdataset.js +2 -2
  58. package/models/operations/createdatasetexperiment.d.ts +140 -0
  59. package/models/operations/createdatasetexperiment.d.ts.map +1 -0
  60. package/models/operations/createdatasetexperiment.js +188 -0
  61. package/models/operations/createdatasetexperiment.js.map +1 -0
  62. package/models/operations/createdatasetitem.d.ts +4 -0
  63. package/models/operations/createdatasetitem.d.ts.map +1 -1
  64. package/models/operations/createdatasetitem.js +10 -2
  65. package/models/operations/createdatasetitem.js.map +1 -1
  66. package/models/operations/createdatasource.js +2 -2
  67. package/models/operations/createdeploymentexperiment.d.ts +152 -0
  68. package/models/operations/createdeploymentexperiment.d.ts.map +1 -0
  69. package/models/operations/createdeploymentexperiment.js +189 -0
  70. package/models/operations/createdeploymentexperiment.js.map +1 -0
  71. package/models/operations/createknowledge.d.ts +5 -0
  72. package/models/operations/createknowledge.d.ts.map +1 -1
  73. package/models/operations/createknowledge.js +4 -0
  74. package/models/operations/createknowledge.js.map +1 -1
  75. package/models/operations/createprompt.d.ts +6 -64
  76. package/models/operations/createprompt.d.ts.map +1 -1
  77. package/models/operations/createprompt.js +17 -54
  78. package/models/operations/createprompt.js.map +1 -1
  79. package/models/operations/deploymentcreatemetric.d.ts +240 -28
  80. package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
  81. package/models/operations/deploymentcreatemetric.js +236 -29
  82. package/models/operations/deploymentcreatemetric.js.map +1 -1
  83. package/models/operations/deploymentgetconfig.d.ts +268 -85
  84. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  85. package/models/operations/deploymentgetconfig.js +284 -92
  86. package/models/operations/deploymentgetconfig.js.map +1 -1
  87. package/models/operations/deploymentinvoke.d.ts +34 -4
  88. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  89. package/models/operations/deploymentinvoke.js +30 -4
  90. package/models/operations/deploymentinvoke.js.map +1 -1
  91. package/models/operations/deployments.d.ts +3 -32
  92. package/models/operations/deployments.d.ts.map +1 -1
  93. package/models/operations/deployments.js +9 -27
  94. package/models/operations/deployments.js.map +1 -1
  95. package/models/operations/deploymentstream.d.ts +241 -29
  96. package/models/operations/deploymentstream.d.ts.map +1 -1
  97. package/models/operations/deploymentstream.js +238 -32
  98. package/models/operations/deploymentstream.js.map +1 -1
  99. package/models/operations/fileget.js +2 -2
  100. package/models/operations/filelist.js +2 -2
  101. package/models/operations/fileupload.d.ts +15 -15
  102. package/models/operations/fileupload.d.ts.map +1 -1
  103. package/models/operations/fileupload.js +20 -21
  104. package/models/operations/fileupload.js.map +1 -1
  105. package/models/operations/getallprompts.d.ts +3 -32
  106. package/models/operations/getallprompts.d.ts.map +1 -1
  107. package/models/operations/getallprompts.js +9 -27
  108. package/models/operations/getallprompts.js.map +1 -1
  109. package/models/operations/getoneknowledge.d.ts +5 -0
  110. package/models/operations/getoneknowledge.d.ts.map +1 -1
  111. package/models/operations/getoneknowledge.js +4 -0
  112. package/models/operations/getoneknowledge.js.map +1 -1
  113. package/models/operations/getoneprompt.d.ts +3 -32
  114. package/models/operations/getoneprompt.d.ts.map +1 -1
  115. package/models/operations/getoneprompt.js +9 -27
  116. package/models/operations/getoneprompt.js.map +1 -1
  117. package/models/operations/getpromptversion.d.ts +3 -32
  118. package/models/operations/getpromptversion.d.ts.map +1 -1
  119. package/models/operations/getpromptversion.js +9 -27
  120. package/models/operations/getpromptversion.js.map +1 -1
  121. package/models/operations/index.d.ts +3 -26
  122. package/models/operations/index.d.ts.map +1 -1
  123. package/models/operations/index.js +3 -26
  124. package/models/operations/index.js.map +1 -1
  125. package/models/operations/listdatasetdatapoints.d.ts +2 -0
  126. package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
  127. package/models/operations/listdatasetdatapoints.js +6 -2
  128. package/models/operations/listdatasetdatapoints.js.map +1 -1
  129. package/models/operations/listdatasets.js +2 -2
  130. package/models/operations/listdatasources.js +2 -2
  131. package/models/operations/listknowledgebases.d.ts +5 -0
  132. package/models/operations/listknowledgebases.d.ts.map +1 -1
  133. package/models/operations/listknowledgebases.js +4 -0
  134. package/models/operations/listknowledgebases.js.map +1 -1
  135. package/models/operations/listmodels.d.ts +188 -0
  136. package/models/operations/listmodels.d.ts.map +1 -0
  137. package/models/operations/listmodels.js +193 -0
  138. package/models/operations/listmodels.js.map +1 -0
  139. package/models/operations/listpromptversions.d.ts +3 -32
  140. package/models/operations/listpromptversions.d.ts.map +1 -1
  141. package/models/operations/listpromptversions.js +9 -27
  142. package/models/operations/listpromptversions.js.map +1 -1
  143. package/models/operations/retrievedatapoint.d.ts +2 -0
  144. package/models/operations/retrievedatapoint.d.ts.map +1 -1
  145. package/models/operations/retrievedatapoint.js +6 -2
  146. package/models/operations/retrievedatapoint.js.map +1 -1
  147. package/models/operations/retrievedataset.js +2 -2
  148. package/models/operations/retrievedatasource.js +2 -2
  149. package/models/operations/updatedatapoint.d.ts +4 -0
  150. package/models/operations/updatedatapoint.d.ts.map +1 -1
  151. package/models/operations/updatedatapoint.js +10 -2
  152. package/models/operations/updatedatapoint.js.map +1 -1
  153. package/models/operations/updatedataset.js +2 -2
  154. package/models/operations/updatedatasource.js +2 -2
  155. package/models/operations/updateknowledge.d.ts +5 -0
  156. package/models/operations/updateknowledge.d.ts.map +1 -1
  157. package/models/operations/updateknowledge.js +4 -0
  158. package/models/operations/updateknowledge.js.map +1 -1
  159. package/models/operations/updateprompt.d.ts +6 -64
  160. package/models/operations/updateprompt.d.ts.map +1 -1
  161. package/models/operations/updateprompt.js +17 -53
  162. package/models/operations/updateprompt.js.map +1 -1
  163. package/package.json +1 -1
  164. package/sdk/datasets.d.ts +7 -0
  165. package/sdk/datasets.d.ts.map +1 -1
  166. package/sdk/datasets.js +10 -0
  167. package/sdk/datasets.js.map +1 -1
  168. package/sdk/deployments.d.ts +7 -0
  169. package/sdk/deployments.d.ts.map +1 -1
  170. package/sdk/deployments.js +10 -0
  171. package/sdk/deployments.js.map +1 -1
  172. package/sdk/models.d.ts +12 -0
  173. package/sdk/models.d.ts.map +1 -0
  174. package/sdk/models.js +22 -0
  175. package/sdk/models.js.map +1 -0
  176. package/sdk/sdk.d.ts +4 -15
  177. package/sdk/sdk.d.ts.map +1 -1
  178. package/sdk/sdk.js +3 -19
  179. package/sdk/sdk.js.map +1 -1
  180. package/src/funcs/{toolsUpdate.ts → datasetsCreateExperiment.ts} +15 -14
  181. package/src/funcs/{memoryStoresCreateMemory.ts → deploymentsCreateExperiment.ts} +22 -19
  182. package/src/funcs/{toolsDelete.ts → modelsList.ts} +11 -36
  183. package/src/lib/config.ts +3 -3
  184. package/src/lib/sdks.ts +11 -11
  185. package/src/mcp-server/mcp-server.ts +1 -1
  186. package/src/mcp-server/server.ts +7 -53
  187. package/src/mcp-server/tools/{memoryStoresUpdateMemory.ts → datasetsCreateExperiment.ts} +7 -7
  188. package/src/mcp-server/tools/{memoryStoresUpdateDocument.ts → deploymentsCreateExperiment.ts} +7 -7
  189. package/src/mcp-server/tools/modelsList.ts +30 -0
  190. package/src/models/components/deployments.ts +442 -47
  191. package/src/models/operations/bulkcreatedatapoints.ts +14 -2
  192. package/src/models/operations/createcontact.ts +2 -2
  193. package/src/models/operations/createdataset.ts +2 -2
  194. package/src/models/operations/createdatasetexperiment.ts +307 -0
  195. package/src/models/operations/createdatasetitem.ts +14 -2
  196. package/src/models/operations/createdatasource.ts +2 -2
  197. package/src/models/operations/createdeploymentexperiment.ts +321 -0
  198. package/src/models/operations/createknowledge.ts +9 -0
  199. package/src/models/operations/createprompt.ts +18 -70
  200. package/src/models/operations/deploymentcreatemetric.ts +517 -40
  201. package/src/models/operations/deploymentgetconfig.ts +531 -139
  202. package/src/models/operations/deploymentinvoke.ts +64 -8
  203. package/src/models/operations/deployments.ts +9 -36
  204. package/src/models/operations/deploymentstream.ts +502 -44
  205. package/src/models/operations/fileget.ts +2 -2
  206. package/src/models/operations/filelist.ts +2 -2
  207. package/src/models/operations/fileupload.ts +37 -34
  208. package/src/models/operations/getallprompts.ts +9 -36
  209. package/src/models/operations/getoneknowledge.ts +9 -0
  210. package/src/models/operations/getoneprompt.ts +9 -36
  211. package/src/models/operations/getpromptversion.ts +9 -38
  212. package/src/models/operations/index.ts +3 -26
  213. package/src/models/operations/listdatasetdatapoints.ts +8 -2
  214. package/src/models/operations/listdatasets.ts +2 -2
  215. package/src/models/operations/listdatasources.ts +2 -2
  216. package/src/models/operations/listknowledgebases.ts +9 -0
  217. package/src/models/operations/listmodels.ts +273 -0
  218. package/src/models/operations/listpromptversions.ts +9 -38
  219. package/src/models/operations/retrievedatapoint.ts +8 -2
  220. package/src/models/operations/retrievedataset.ts +2 -2
  221. package/src/models/operations/retrievedatasource.ts +2 -2
  222. package/src/models/operations/updatedatapoint.ts +14 -2
  223. package/src/models/operations/updatedataset.ts +2 -2
  224. package/src/models/operations/updatedatasource.ts +2 -2
  225. package/src/models/operations/updateknowledge.ts +9 -0
  226. package/src/models/operations/updateprompt.ts +18 -74
  227. package/src/sdk/datasets.ts +18 -0
  228. package/src/sdk/deployments.ts +18 -0
  229. package/src/sdk/models.ts +25 -0
  230. package/src/sdk/sdk.ts +5 -34
  231. package/docs/sdks/memorystores/README.md +0 -1211
  232. package/docs/sdks/sessions/README.md +0 -385
  233. package/docs/sdks/tools/README.md +0 -425
  234. package/funcs/memoryStoresCreate.d.ts +0 -14
  235. package/funcs/memoryStoresCreate.d.ts.map +0 -1
  236. package/funcs/memoryStoresCreate.js +0 -115
  237. package/funcs/memoryStoresCreate.js.map +0 -1
  238. package/funcs/memoryStoresCreateDocument.d.ts.map +0 -1
  239. package/funcs/memoryStoresCreateDocument.js +0 -119
  240. package/funcs/memoryStoresCreateDocument.js.map +0 -1
  241. package/funcs/memoryStoresCreateMemory.d.ts +0 -16
  242. package/funcs/memoryStoresCreateMemory.js.map +0 -1
  243. package/funcs/memoryStoresDelete.d.ts +0 -16
  244. package/funcs/memoryStoresDelete.d.ts.map +0 -1
  245. package/funcs/memoryStoresDelete.js +0 -115
  246. package/funcs/memoryStoresDelete.js.map +0 -1
  247. package/funcs/memoryStoresDeleteDocument.d.ts +0 -21
  248. package/funcs/memoryStoresDeleteDocument.d.ts.map +0 -1
  249. package/funcs/memoryStoresDeleteDocument.js +0 -128
  250. package/funcs/memoryStoresDeleteDocument.js.map +0 -1
  251. package/funcs/memoryStoresDeleteMemory.d.ts +0 -21
  252. package/funcs/memoryStoresDeleteMemory.d.ts.map +0 -1
  253. package/funcs/memoryStoresDeleteMemory.js +0 -124
  254. package/funcs/memoryStoresDeleteMemory.js.map +0 -1
  255. package/funcs/memoryStoresList.d.ts +0 -17
  256. package/funcs/memoryStoresList.d.ts.map +0 -1
  257. package/funcs/memoryStoresList.js +0 -121
  258. package/funcs/memoryStoresList.js.map +0 -1
  259. package/funcs/memoryStoresListDocuments.d.ts +0 -16
  260. package/funcs/memoryStoresListDocuments.d.ts.map +0 -1
  261. package/funcs/memoryStoresListDocuments.js +0 -124
  262. package/funcs/memoryStoresListDocuments.js.map +0 -1
  263. package/funcs/memoryStoresListMemories.d.ts +0 -16
  264. package/funcs/memoryStoresListMemories.d.ts.map +0 -1
  265. package/funcs/memoryStoresListMemories.js +0 -120
  266. package/funcs/memoryStoresListMemories.js.map +0 -1
  267. package/funcs/memoryStoresRetrieve.d.ts +0 -17
  268. package/funcs/memoryStoresRetrieve.d.ts.map +0 -1
  269. package/funcs/memoryStoresRetrieve.js +0 -118
  270. package/funcs/memoryStoresRetrieve.js.map +0 -1
  271. package/funcs/memoryStoresRetrieveDocument.d.ts +0 -16
  272. package/funcs/memoryStoresRetrieveDocument.d.ts.map +0 -1
  273. package/funcs/memoryStoresRetrieveDocument.js +0 -122
  274. package/funcs/memoryStoresRetrieveDocument.js.map +0 -1
  275. package/funcs/memoryStoresRetrieveMemory.d.ts.map +0 -1
  276. package/funcs/memoryStoresRetrieveMemory.js +0 -118
  277. package/funcs/memoryStoresRetrieveMemory.js.map +0 -1
  278. package/funcs/memoryStoresUpdate.d.ts.map +0 -1
  279. package/funcs/memoryStoresUpdate.js +0 -115
  280. package/funcs/memoryStoresUpdate.js.map +0 -1
  281. package/funcs/memoryStoresUpdateDocument.d.ts +0 -16
  282. package/funcs/memoryStoresUpdateDocument.d.ts.map +0 -1
  283. package/funcs/memoryStoresUpdateDocument.js +0 -123
  284. package/funcs/memoryStoresUpdateDocument.js.map +0 -1
  285. package/funcs/memoryStoresUpdateMemory.d.ts +0 -16
  286. package/funcs/memoryStoresUpdateMemory.d.ts.map +0 -1
  287. package/funcs/memoryStoresUpdateMemory.js +0 -119
  288. package/funcs/memoryStoresUpdateMemory.js.map +0 -1
  289. package/funcs/postV2TracesSessionsCount.d.ts +0 -13
  290. package/funcs/postV2TracesSessionsCount.d.ts.map +0 -1
  291. package/funcs/postV2TracesSessionsCount.js +0 -112
  292. package/funcs/postV2TracesSessionsCount.js.map +0 -1
  293. package/funcs/sessionsCreate.d.ts +0 -16
  294. package/funcs/sessionsCreate.d.ts.map +0 -1
  295. package/funcs/sessionsCreate.js +0 -114
  296. package/funcs/sessionsCreate.js.map +0 -1
  297. package/funcs/sessionsDelete.d.ts +0 -17
  298. package/funcs/sessionsDelete.d.ts.map +0 -1
  299. package/funcs/sessionsDelete.js +0 -122
  300. package/funcs/sessionsDelete.js.map +0 -1
  301. package/funcs/sessionsGet.d.ts +0 -17
  302. package/funcs/sessionsGet.d.ts.map +0 -1
  303. package/funcs/sessionsGet.js +0 -121
  304. package/funcs/sessionsGet.js.map +0 -1
  305. package/funcs/sessionsList.d.ts +0 -16
  306. package/funcs/sessionsList.d.ts.map +0 -1
  307. package/funcs/sessionsList.js +0 -114
  308. package/funcs/sessionsList.js.map +0 -1
  309. package/funcs/sessionsUpdate.d.ts +0 -17
  310. package/funcs/sessionsUpdate.d.ts.map +0 -1
  311. package/funcs/sessionsUpdate.js +0 -122
  312. package/funcs/sessionsUpdate.js.map +0 -1
  313. package/funcs/toolsCreate.d.ts +0 -16
  314. package/funcs/toolsCreate.d.ts.map +0 -1
  315. package/funcs/toolsCreate.js.map +0 -1
  316. package/funcs/toolsDelete.d.ts +0 -16
  317. package/funcs/toolsDelete.d.ts.map +0 -1
  318. package/funcs/toolsDelete.js +0 -118
  319. package/funcs/toolsDelete.js.map +0 -1
  320. package/funcs/toolsList.d.ts +0 -17
  321. package/funcs/toolsList.d.ts.map +0 -1
  322. package/funcs/toolsList.js +0 -121
  323. package/funcs/toolsList.js.map +0 -1
  324. package/funcs/toolsRetrieve.d.ts +0 -16
  325. package/funcs/toolsRetrieve.d.ts.map +0 -1
  326. package/funcs/toolsRetrieve.js +0 -117
  327. package/funcs/toolsRetrieve.js.map +0 -1
  328. package/funcs/toolsUpdate.d.ts +0 -16
  329. package/funcs/toolsUpdate.d.ts.map +0 -1
  330. package/funcs/toolsUpdate.js.map +0 -1
  331. package/mcp-server/tools/memoryStoresCreate.d.ts +0 -8
  332. package/mcp-server/tools/memoryStoresCreate.d.ts.map +0 -1
  333. package/mcp-server/tools/memoryStoresCreate.js +0 -62
  334. package/mcp-server/tools/memoryStoresCreate.js.map +0 -1
  335. package/mcp-server/tools/memoryStoresCreateDocument.d.ts +0 -8
  336. package/mcp-server/tools/memoryStoresCreateDocument.d.ts.map +0 -1
  337. package/mcp-server/tools/memoryStoresCreateDocument.js +0 -64
  338. package/mcp-server/tools/memoryStoresCreateDocument.js.map +0 -1
  339. package/mcp-server/tools/memoryStoresCreateMemory.d.ts +0 -8
  340. package/mcp-server/tools/memoryStoresCreateMemory.d.ts.map +0 -1
  341. package/mcp-server/tools/memoryStoresCreateMemory.js +0 -64
  342. package/mcp-server/tools/memoryStoresDelete.d.ts +0 -8
  343. package/mcp-server/tools/memoryStoresDelete.d.ts.map +0 -1
  344. package/mcp-server/tools/memoryStoresDelete.js +0 -63
  345. package/mcp-server/tools/memoryStoresDelete.js.map +0 -1
  346. package/mcp-server/tools/memoryStoresDeleteDocument.d.ts +0 -8
  347. package/mcp-server/tools/memoryStoresDeleteDocument.d.ts.map +0 -1
  348. package/mcp-server/tools/memoryStoresDeleteDocument.js +0 -68
  349. package/mcp-server/tools/memoryStoresDeleteDocument.js.map +0 -1
  350. package/mcp-server/tools/memoryStoresDeleteMemory.d.ts +0 -8
  351. package/mcp-server/tools/memoryStoresDeleteMemory.d.ts.map +0 -1
  352. package/mcp-server/tools/memoryStoresDeleteMemory.js +0 -68
  353. package/mcp-server/tools/memoryStoresDeleteMemory.js.map +0 -1
  354. package/mcp-server/tools/memoryStoresList.d.ts +0 -8
  355. package/mcp-server/tools/memoryStoresList.d.ts.map +0 -1
  356. package/mcp-server/tools/memoryStoresList.js +0 -64
  357. package/mcp-server/tools/memoryStoresList.js.map +0 -1
  358. package/mcp-server/tools/memoryStoresListDocuments.d.ts +0 -8
  359. package/mcp-server/tools/memoryStoresListDocuments.d.ts.map +0 -1
  360. package/mcp-server/tools/memoryStoresListDocuments.js +0 -64
  361. package/mcp-server/tools/memoryStoresListDocuments.js.map +0 -1
  362. package/mcp-server/tools/memoryStoresListMemories.d.ts +0 -8
  363. package/mcp-server/tools/memoryStoresListMemories.d.ts.map +0 -1
  364. package/mcp-server/tools/memoryStoresListMemories.js.map +0 -1
  365. package/mcp-server/tools/memoryStoresRetrieve.d.ts +0 -8
  366. package/mcp-server/tools/memoryStoresRetrieve.d.ts.map +0 -1
  367. package/mcp-server/tools/memoryStoresRetrieve.js +0 -64
  368. package/mcp-server/tools/memoryStoresRetrieve.js.map +0 -1
  369. package/mcp-server/tools/memoryStoresRetrieveDocument.d.ts +0 -8
  370. package/mcp-server/tools/memoryStoresRetrieveDocument.d.ts.map +0 -1
  371. package/mcp-server/tools/memoryStoresRetrieveDocument.js +0 -64
  372. package/mcp-server/tools/memoryStoresRetrieveDocument.js.map +0 -1
  373. package/mcp-server/tools/memoryStoresRetrieveMemory.d.ts +0 -8
  374. package/mcp-server/tools/memoryStoresRetrieveMemory.d.ts.map +0 -1
  375. package/mcp-server/tools/memoryStoresRetrieveMemory.js +0 -64
  376. package/mcp-server/tools/memoryStoresRetrieveMemory.js.map +0 -1
  377. package/mcp-server/tools/memoryStoresUpdate.d.ts +0 -8
  378. package/mcp-server/tools/memoryStoresUpdate.d.ts.map +0 -1
  379. package/mcp-server/tools/memoryStoresUpdate.js +0 -64
  380. package/mcp-server/tools/memoryStoresUpdate.js.map +0 -1
  381. package/mcp-server/tools/memoryStoresUpdateDocument.d.ts +0 -8
  382. package/mcp-server/tools/memoryStoresUpdateDocument.d.ts.map +0 -1
  383. package/mcp-server/tools/memoryStoresUpdateDocument.js +0 -64
  384. package/mcp-server/tools/memoryStoresUpdateDocument.js.map +0 -1
  385. package/mcp-server/tools/memoryStoresUpdateMemory.d.ts +0 -8
  386. package/mcp-server/tools/memoryStoresUpdateMemory.d.ts.map +0 -1
  387. package/mcp-server/tools/memoryStoresUpdateMemory.js.map +0 -1
  388. package/mcp-server/tools/postV2TracesSessionsCount.d.ts +0 -8
  389. package/mcp-server/tools/postV2TracesSessionsCount.d.ts.map +0 -1
  390. package/mcp-server/tools/postV2TracesSessionsCount.js +0 -63
  391. package/mcp-server/tools/postV2TracesSessionsCount.js.map +0 -1
  392. package/mcp-server/tools/sessionsCreate.d.ts +0 -8
  393. package/mcp-server/tools/sessionsCreate.d.ts.map +0 -1
  394. package/mcp-server/tools/sessionsCreate.js +0 -64
  395. package/mcp-server/tools/sessionsCreate.js.map +0 -1
  396. package/mcp-server/tools/sessionsDelete.d.ts +0 -8
  397. package/mcp-server/tools/sessionsDelete.d.ts.map +0 -1
  398. package/mcp-server/tools/sessionsDelete.js +0 -63
  399. package/mcp-server/tools/sessionsDelete.js.map +0 -1
  400. package/mcp-server/tools/sessionsGet.d.ts +0 -8
  401. package/mcp-server/tools/sessionsGet.d.ts.map +0 -1
  402. package/mcp-server/tools/sessionsGet.js +0 -64
  403. package/mcp-server/tools/sessionsGet.js.map +0 -1
  404. package/mcp-server/tools/sessionsList.d.ts +0 -8
  405. package/mcp-server/tools/sessionsList.d.ts.map +0 -1
  406. package/mcp-server/tools/sessionsList.js +0 -64
  407. package/mcp-server/tools/sessionsList.js.map +0 -1
  408. package/mcp-server/tools/sessionsUpdate.d.ts +0 -8
  409. package/mcp-server/tools/sessionsUpdate.d.ts.map +0 -1
  410. package/mcp-server/tools/sessionsUpdate.js +0 -64
  411. package/mcp-server/tools/sessionsUpdate.js.map +0 -1
  412. package/mcp-server/tools/toolsCreate.d.ts +0 -8
  413. package/mcp-server/tools/toolsCreate.d.ts.map +0 -1
  414. package/mcp-server/tools/toolsCreate.js +0 -64
  415. package/mcp-server/tools/toolsCreate.js.map +0 -1
  416. package/mcp-server/tools/toolsDelete.d.ts +0 -8
  417. package/mcp-server/tools/toolsDelete.d.ts.map +0 -1
  418. package/mcp-server/tools/toolsDelete.js +0 -63
  419. package/mcp-server/tools/toolsDelete.js.map +0 -1
  420. package/mcp-server/tools/toolsList.d.ts +0 -8
  421. package/mcp-server/tools/toolsList.d.ts.map +0 -1
  422. package/mcp-server/tools/toolsList.js +0 -64
  423. package/mcp-server/tools/toolsList.js.map +0 -1
  424. package/mcp-server/tools/toolsRetrieve.d.ts +0 -8
  425. package/mcp-server/tools/toolsRetrieve.d.ts.map +0 -1
  426. package/mcp-server/tools/toolsRetrieve.js +0 -64
  427. package/mcp-server/tools/toolsRetrieve.js.map +0 -1
  428. package/mcp-server/tools/toolsUpdate.d.ts +0 -8
  429. package/mcp-server/tools/toolsUpdate.d.ts.map +0 -1
  430. package/mcp-server/tools/toolsUpdate.js +0 -64
  431. package/mcp-server/tools/toolsUpdate.js.map +0 -1
  432. package/models/operations/creatememory.d.ts +0 -113
  433. package/models/operations/creatememory.d.ts.map +0 -1
  434. package/models/operations/creatememory.js +0 -180
  435. package/models/operations/creatememory.js.map +0 -1
  436. package/models/operations/creatememorydocument.d.ts +0 -126
  437. package/models/operations/creatememorydocument.d.ts.map +0 -1
  438. package/models/operations/creatememorydocument.js +0 -180
  439. package/models/operations/creatememorydocument.js.map +0 -1
  440. package/models/operations/creatememorystore.d.ts +0 -958
  441. package/models/operations/creatememorystore.d.ts.map +0 -1
  442. package/models/operations/creatememorystore.js +0 -1013
  443. package/models/operations/creatememorystore.js.map +0 -1
  444. package/models/operations/createsession.d.ts +0 -288
  445. package/models/operations/createsession.d.ts.map +0 -1
  446. package/models/operations/createsession.js +0 -353
  447. package/models/operations/createsession.js.map +0 -1
  448. package/models/operations/createtool.d.ts +0 -1407
  449. package/models/operations/createtool.d.ts.map +0 -1
  450. package/models/operations/createtool.js +0 -1204
  451. package/models/operations/createtool.js.map +0 -1
  452. package/models/operations/deletememory.d.ts +0 -37
  453. package/models/operations/deletememory.d.ts.map +0 -1
  454. package/models/operations/deletememory.js +0 -82
  455. package/models/operations/deletememory.js.map +0 -1
  456. package/models/operations/deletememorydocument.d.ts +0 -42
  457. package/models/operations/deletememorydocument.d.ts.map +0 -1
  458. package/models/operations/deletememorydocument.js +0 -86
  459. package/models/operations/deletememorydocument.js.map +0 -1
  460. package/models/operations/deletememorystore.d.ts +0 -32
  461. package/models/operations/deletememorystore.d.ts.map +0 -1
  462. package/models/operations/deletememorystore.js +0 -78
  463. package/models/operations/deletememorystore.js.map +0 -1
  464. package/models/operations/deletesession.d.ts +0 -32
  465. package/models/operations/deletesession.d.ts.map +0 -1
  466. package/models/operations/deletesession.js +0 -78
  467. package/models/operations/deletesession.js.map +0 -1
  468. package/models/operations/deletetool.d.ts +0 -29
  469. package/models/operations/deletetool.d.ts.map +0 -1
  470. package/models/operations/deletetool.js +0 -78
  471. package/models/operations/deletetool.js.map +0 -1
  472. package/models/operations/getallmemories.d.ts +0 -147
  473. package/models/operations/getallmemories.d.ts.map +0 -1
  474. package/models/operations/getallmemories.js +0 -206
  475. package/models/operations/getallmemories.js.map +0 -1
  476. package/models/operations/getallmemorydocuments.d.ts +0 -154
  477. package/models/operations/getallmemorydocuments.d.ts.map +0 -1
  478. package/models/operations/getallmemorydocuments.js +0 -212
  479. package/models/operations/getallmemorydocuments.js.map +0 -1
  480. package/models/operations/getallmemorystores.d.ts +0 -582
  481. package/models/operations/getallmemorystores.d.ts.map +0 -1
  482. package/models/operations/getallmemorystores.js +0 -627
  483. package/models/operations/getallmemorystores.js.map +0 -1
  484. package/models/operations/getalltools.d.ts +0 -825
  485. package/models/operations/getalltools.d.ts.map +0 -1
  486. package/models/operations/getalltools.js +0 -769
  487. package/models/operations/getalltools.js.map +0 -1
  488. package/models/operations/getsession.d.ts +0 -179
  489. package/models/operations/getsession.d.ts.map +0 -1
  490. package/models/operations/getsession.js +0 -237
  491. package/models/operations/getsession.js.map +0 -1
  492. package/models/operations/listsessions.d.ts +0 -4575
  493. package/models/operations/listsessions.d.ts.map +0 -1
  494. package/models/operations/listsessions.js +0 -3838
  495. package/models/operations/listsessions.js.map +0 -1
  496. package/models/operations/postv2tracessessionscount.d.ts +0 -4405
  497. package/models/operations/postv2tracessessionscount.d.ts.map +0 -1
  498. package/models/operations/postv2tracessessionscount.js +0 -3669
  499. package/models/operations/postv2tracessessionscount.js.map +0 -1
  500. package/models/operations/retrievememory.d.ts +0 -85
  501. package/models/operations/retrievememory.d.ts.map +0 -1
  502. package/models/operations/retrievememory.js +0 -143
  503. package/models/operations/retrievememory.js.map +0 -1
  504. package/models/operations/retrievememorydocument.d.ts +0 -92
  505. package/models/operations/retrievememorydocument.d.ts.map +0 -1
  506. package/models/operations/retrievememorydocument.js +0 -149
  507. package/models/operations/retrievememorydocument.js.map +0 -1
  508. package/models/operations/retrievememorystore.d.ts +0 -521
  509. package/models/operations/retrievememorystore.d.ts.map +0 -1
  510. package/models/operations/retrievememorystore.js +0 -564
  511. package/models/operations/retrievememorystore.js.map +0 -1
  512. package/models/operations/retrievetool.d.ts +0 -761
  513. package/models/operations/retrievetool.d.ts.map +0 -1
  514. package/models/operations/retrievetool.js +0 -695
  515. package/models/operations/retrievetool.js.map +0 -1
  516. package/models/operations/updatememory.d.ts +0 -118
  517. package/models/operations/updatememory.d.ts.map +0 -1
  518. package/models/operations/updatememory.js +0 -184
  519. package/models/operations/updatememory.js.map +0 -1
  520. package/models/operations/updatememorydocument.d.ts +0 -131
  521. package/models/operations/updatememorydocument.d.ts.map +0 -1
  522. package/models/operations/updatememorydocument.js +0 -184
  523. package/models/operations/updatememorydocument.js.map +0 -1
  524. package/models/operations/updatememorystore.d.ts +0 -684
  525. package/models/operations/updatememorystore.d.ts.map +0 -1
  526. package/models/operations/updatememorystore.js +0 -712
  527. package/models/operations/updatememorystore.js.map +0 -1
  528. package/models/operations/updatesession.d.ts +0 -325
  529. package/models/operations/updatesession.d.ts.map +0 -1
  530. package/models/operations/updatesession.js +0 -400
  531. package/models/operations/updatesession.js.map +0 -1
  532. package/models/operations/updatetool.d.ts +0 -1422
  533. package/models/operations/updatetool.d.ts.map +0 -1
  534. package/models/operations/updatetool.js +0 -1250
  535. package/models/operations/updatetool.js.map +0 -1
  536. package/sdk/memorystores.d.ts +0 -117
  537. package/sdk/memorystores.d.ts.map +0 -1
  538. package/sdk/memorystores.js +0 -169
  539. package/sdk/memorystores.js.map +0 -1
  540. package/sdk/sessions.d.ts +0 -40
  541. package/sdk/sessions.d.ts.map +0 -1
  542. package/sdk/sessions.js +0 -62
  543. package/sdk/sessions.js.map +0 -1
  544. package/sdk/tools.d.ts +0 -40
  545. package/sdk/tools.d.ts.map +0 -1
  546. package/sdk/tools.js +0 -62
  547. package/sdk/tools.js.map +0 -1
  548. package/src/funcs/memoryStoresCreate.ts +0 -165
  549. package/src/funcs/memoryStoresCreateDocument.ts +0 -169
  550. package/src/funcs/memoryStoresDelete.ts +0 -162
  551. package/src/funcs/memoryStoresDeleteDocument.ts +0 -178
  552. package/src/funcs/memoryStoresDeleteMemory.ts +0 -173
  553. package/src/funcs/memoryStoresList.ts +0 -172
  554. package/src/funcs/memoryStoresListDocuments.ts +0 -175
  555. package/src/funcs/memoryStoresListMemories.ts +0 -170
  556. package/src/funcs/memoryStoresRetrieve.ts +0 -171
  557. package/src/funcs/memoryStoresRetrieveDocument.ts +0 -172
  558. package/src/funcs/memoryStoresRetrieveMemory.ts +0 -167
  559. package/src/funcs/memoryStoresUpdate.ts +0 -162
  560. package/src/funcs/memoryStoresUpdateDocument.ts +0 -173
  561. package/src/funcs/memoryStoresUpdateMemory.ts +0 -168
  562. package/src/funcs/postV2TracesSessionsCount.ts +0 -155
  563. package/src/funcs/sessionsCreate.ts +0 -159
  564. package/src/funcs/sessionsDelete.ts +0 -170
  565. package/src/funcs/sessionsGet.ts +0 -169
  566. package/src/funcs/sessionsList.ts +0 -157
  567. package/src/funcs/sessionsUpdate.ts +0 -170
  568. package/src/funcs/toolsCreate.ts +0 -157
  569. package/src/funcs/toolsList.ts +0 -170
  570. package/src/funcs/toolsRetrieve.ts +0 -160
  571. package/src/mcp-server/tools/memoryStoresCreate.ts +0 -35
  572. package/src/mcp-server/tools/memoryStoresCreateDocument.ts +0 -37
  573. package/src/mcp-server/tools/memoryStoresCreateMemory.ts +0 -37
  574. package/src/mcp-server/tools/memoryStoresDelete.ts +0 -35
  575. package/src/mcp-server/tools/memoryStoresDeleteDocument.ts +0 -40
  576. package/src/mcp-server/tools/memoryStoresDeleteMemory.ts +0 -40
  577. package/src/mcp-server/tools/memoryStoresList.ts +0 -37
  578. package/src/mcp-server/tools/memoryStoresListDocuments.ts +0 -37
  579. package/src/mcp-server/tools/memoryStoresListMemories.ts +0 -37
  580. package/src/mcp-server/tools/memoryStoresRetrieve.ts +0 -37
  581. package/src/mcp-server/tools/memoryStoresRetrieveDocument.ts +0 -37
  582. package/src/mcp-server/tools/memoryStoresRetrieveMemory.ts +0 -37
  583. package/src/mcp-server/tools/memoryStoresUpdate.ts +0 -37
  584. package/src/mcp-server/tools/postV2TracesSessionsCount.ts +0 -36
  585. package/src/mcp-server/tools/sessionsCreate.ts +0 -37
  586. package/src/mcp-server/tools/sessionsDelete.ts +0 -35
  587. package/src/mcp-server/tools/sessionsGet.ts +0 -37
  588. package/src/mcp-server/tools/sessionsList.ts +0 -37
  589. package/src/mcp-server/tools/sessionsUpdate.ts +0 -37
  590. package/src/mcp-server/tools/toolsCreate.ts +0 -37
  591. package/src/mcp-server/tools/toolsDelete.ts +0 -35
  592. package/src/mcp-server/tools/toolsList.ts +0 -37
  593. package/src/mcp-server/tools/toolsRetrieve.ts +0 -37
  594. package/src/mcp-server/tools/toolsUpdate.ts +0 -37
  595. package/src/models/operations/creatememory.ts +0 -265
  596. package/src/models/operations/creatememorydocument.ts +0 -284
  597. package/src/models/operations/creatememorystore.ts +0 -1619
  598. package/src/models/operations/createsession.ts +0 -632
  599. package/src/models/operations/createtool.ts +0 -2297
  600. package/src/models/operations/deletememory.ts +0 -87
  601. package/src/models/operations/deletememorydocument.ts +0 -98
  602. package/src/models/operations/deletememorystore.ts +0 -78
  603. package/src/models/operations/deletesession.ts +0 -78
  604. package/src/models/operations/deletetool.ts +0 -75
  605. package/src/models/operations/getallmemories.ts +0 -315
  606. package/src/models/operations/getallmemorydocuments.ts +0 -335
  607. package/src/models/operations/getallmemorystores.ts +0 -1061
  608. package/src/models/operations/getalltools.ts +0 -1382
  609. package/src/models/operations/getsession.ts +0 -400
  610. package/src/models/operations/listsessions.ts +0 -6732
  611. package/src/models/operations/postv2tracessessionscount.ts +0 -7043
  612. package/src/models/operations/retrievememory.ts +0 -198
  613. package/src/models/operations/retrievememorydocument.ts +0 -217
  614. package/src/models/operations/retrievememorystore.ts +0 -944
  615. package/src/models/operations/retrievetool.ts +0 -1350
  616. package/src/models/operations/updatememory.ts +0 -274
  617. package/src/models/operations/updatememorydocument.ts +0 -293
  618. package/src/models/operations/updatememorystore.ts +0 -1148
  619. package/src/models/operations/updatesession.ts +0 -731
  620. package/src/models/operations/updatetool.ts +0 -2464
  621. package/src/sdk/memorystores.ts +0 -286
  622. package/src/sdk/sessions.ts +0 -99
  623. package/src/sdk/tools.ts +0 -99
@@ -1,1407 +0,0 @@
1
- import * as z from "zod";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- /**
6
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
7
- */
8
- export declare const CreateToolRequestBodyStatus: {
9
- readonly Live: "live";
10
- readonly Draft: "draft";
11
- readonly Pending: "pending";
12
- readonly Published: "published";
13
- };
14
- /**
15
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
16
- */
17
- export type CreateToolRequestBodyStatus = ClosedEnum<typeof CreateToolRequestBodyStatus>;
18
- export declare const CreateToolRequestBodyToolsType: {
19
- readonly OrqHttp: "orq_http";
20
- };
21
- export type CreateToolRequestBodyToolsType = ClosedEnum<typeof CreateToolRequestBodyToolsType>;
22
- /**
23
- * The HTTP method to use.
24
- */
25
- export declare const Method: {
26
- readonly Get: "GET";
27
- readonly Post: "POST";
28
- readonly Put: "PUT";
29
- readonly Delete: "DELETE";
30
- };
31
- /**
32
- * The HTTP method to use.
33
- */
34
- export type Method = ClosedEnum<typeof Method>;
35
- /**
36
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
37
- */
38
- export type Blueprint = {
39
- /**
40
- * The URL to send the request to.
41
- */
42
- url: string;
43
- /**
44
- * The HTTP method to use.
45
- */
46
- method: Method;
47
- /**
48
- * The headers to send with the request.
49
- */
50
- headers?: {
51
- [k: string]: string;
52
- } | undefined;
53
- /**
54
- * The body to send with the request.
55
- */
56
- body?: {
57
- [k: string]: any;
58
- } | undefined;
59
- };
60
- /**
61
- * The type of the argument.
62
- */
63
- export declare const CreateToolRequestBodyToolsRequestType: {
64
- readonly String: "string";
65
- readonly Number: "number";
66
- readonly Boolean: "boolean";
67
- };
68
- /**
69
- * The type of the argument.
70
- */
71
- export type CreateToolRequestBodyToolsRequestType = ClosedEnum<typeof CreateToolRequestBodyToolsRequestType>;
72
- /**
73
- * The default value of the argument.
74
- */
75
- export type DefaultValue = string | number | boolean;
76
- export type Arguments = {
77
- /**
78
- * The type of the argument.
79
- */
80
- type: CreateToolRequestBodyToolsRequestType;
81
- /**
82
- * A description of the argument.
83
- */
84
- description: string;
85
- /**
86
- * Whether to send the argument to the model. If set to false, the argument will not be sent to the model and needs to be provided by the user or it will be left blank.
87
- */
88
- sendToModel?: boolean | undefined;
89
- /**
90
- * The default value of the argument.
91
- */
92
- defaultValue?: string | number | boolean | undefined;
93
- };
94
- export type Http = {
95
- /**
96
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
97
- */
98
- blueprint: Blueprint;
99
- /**
100
- * The arguments to send with the request. The keys will be used to replace the placeholders in the `blueprint` field.
101
- */
102
- arguments?: {
103
- [k: string]: Arguments;
104
- } | undefined;
105
- };
106
- export type RequestBody3 = {
107
- /**
108
- * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
109
- */
110
- path: string;
111
- /**
112
- * Unique key of the tool as it will be displayed in the UI
113
- */
114
- key: string;
115
- /**
116
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
117
- */
118
- description: string;
119
- /**
120
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
121
- */
122
- status: CreateToolRequestBodyStatus;
123
- versionHash: string;
124
- type: CreateToolRequestBodyToolsType;
125
- http: Http;
126
- };
127
- /**
128
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
129
- */
130
- export declare const RequestBodyStatus: {
131
- readonly Live: "live";
132
- readonly Draft: "draft";
133
- readonly Pending: "pending";
134
- readonly Published: "published";
135
- };
136
- /**
137
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
138
- */
139
- export type RequestBodyStatus = ClosedEnum<typeof RequestBodyStatus>;
140
- export declare const CreateToolRequestBodyType: {
141
- readonly JsonSchema: "json_schema";
142
- };
143
- export type CreateToolRequestBodyType = ClosedEnum<typeof CreateToolRequestBodyType>;
144
- export type RequestBodyJsonSchema = {
145
- /**
146
- * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
147
- */
148
- name: string;
149
- /**
150
- * A description of what the response format is for. This will be shown to the user.
151
- */
152
- description?: string | undefined;
153
- /**
154
- * The schema for the response format, described as a JSON Schema object. See the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
155
- */
156
- schema: {
157
- [k: string]: any;
158
- };
159
- /**
160
- * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the `schema` field. Only a subset of JSON Schema is supported when `strict` is `true`. Only compatible with `OpenAI` models.
161
- */
162
- strict?: boolean | null | undefined;
163
- };
164
- export type RequestBody2 = {
165
- /**
166
- * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
167
- */
168
- path: string;
169
- /**
170
- * Unique key of the tool as it will be displayed in the UI
171
- */
172
- key: string;
173
- /**
174
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
175
- */
176
- description: string;
177
- /**
178
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
179
- */
180
- status: RequestBodyStatus;
181
- versionHash: string;
182
- type: CreateToolRequestBodyType;
183
- jsonSchema: RequestBodyJsonSchema;
184
- };
185
- /**
186
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
187
- */
188
- export declare const CreateToolRequestBodyToolsStatus: {
189
- readonly Live: "live";
190
- readonly Draft: "draft";
191
- readonly Pending: "pending";
192
- readonly Published: "published";
193
- };
194
- /**
195
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
196
- */
197
- export type CreateToolRequestBodyToolsStatus = ClosedEnum<typeof CreateToolRequestBodyToolsStatus>;
198
- export declare const RequestBodyType: {
199
- readonly Function: "function";
200
- };
201
- export type RequestBodyType = ClosedEnum<typeof RequestBodyType>;
202
- export type RequestBodyFunction = {
203
- /**
204
- * The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
205
- */
206
- name: string;
207
- /**
208
- * A description of what the function does, used by the model to choose when and how to call the function.
209
- */
210
- description?: string | undefined;
211
- /**
212
- * Whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. Currently only compatible with `OpenAI` models.
213
- */
214
- strict?: boolean | undefined;
215
- /**
216
- * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
217
- */
218
- parameters?: {
219
- [k: string]: any;
220
- } | undefined;
221
- };
222
- export type RequestBody1 = {
223
- /**
224
- * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
225
- */
226
- path: string;
227
- /**
228
- * Unique key of the tool as it will be displayed in the UI
229
- */
230
- key: string;
231
- /**
232
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
233
- */
234
- description: string;
235
- /**
236
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
237
- */
238
- status: CreateToolRequestBodyToolsStatus;
239
- versionHash: string;
240
- type: RequestBodyType;
241
- function: RequestBodyFunction;
242
- };
243
- /**
244
- * The tool to create
245
- */
246
- export type CreateToolRequestBody = RequestBody1 | RequestBody2 | RequestBody3;
247
- /**
248
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
249
- */
250
- export declare const CreateToolResponseBodyToolsStatus: {
251
- readonly Live: "live";
252
- readonly Draft: "draft";
253
- readonly Pending: "pending";
254
- readonly Published: "published";
255
- };
256
- /**
257
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
258
- */
259
- export type CreateToolResponseBodyToolsStatus = ClosedEnum<typeof CreateToolResponseBodyToolsStatus>;
260
- export declare const CreateToolResponseBodyToolsType: {
261
- readonly OrqHttp: "orq_http";
262
- };
263
- export type CreateToolResponseBodyToolsType = ClosedEnum<typeof CreateToolResponseBodyToolsType>;
264
- /**
265
- * The HTTP method to use.
266
- */
267
- export declare const ResponseBodyMethod: {
268
- readonly Get: "GET";
269
- readonly Post: "POST";
270
- readonly Put: "PUT";
271
- readonly Delete: "DELETE";
272
- };
273
- /**
274
- * The HTTP method to use.
275
- */
276
- export type ResponseBodyMethod = ClosedEnum<typeof ResponseBodyMethod>;
277
- /**
278
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
279
- */
280
- export type ResponseBodyBlueprint = {
281
- /**
282
- * The URL to send the request to.
283
- */
284
- url: string;
285
- /**
286
- * The HTTP method to use.
287
- */
288
- method: ResponseBodyMethod;
289
- /**
290
- * The headers to send with the request.
291
- */
292
- headers?: {
293
- [k: string]: string;
294
- } | undefined;
295
- /**
296
- * The body to send with the request.
297
- */
298
- body?: {
299
- [k: string]: any;
300
- } | undefined;
301
- };
302
- /**
303
- * The type of the argument.
304
- */
305
- export declare const CreateToolResponseBodyToolsResponseType: {
306
- readonly String: "string";
307
- readonly Number: "number";
308
- readonly Boolean: "boolean";
309
- };
310
- /**
311
- * The type of the argument.
312
- */
313
- export type CreateToolResponseBodyToolsResponseType = ClosedEnum<typeof CreateToolResponseBodyToolsResponseType>;
314
- /**
315
- * The default value of the argument.
316
- */
317
- export type ResponseBodyDefaultValue = string | number | boolean;
318
- export type ResponseBodyArguments = {
319
- /**
320
- * The type of the argument.
321
- */
322
- type: CreateToolResponseBodyToolsResponseType;
323
- /**
324
- * A description of the argument.
325
- */
326
- description: string;
327
- /**
328
- * Whether to send the argument to the model. If set to false, the argument will not be sent to the model and needs to be provided by the user or it will be left blank.
329
- */
330
- sendToModel?: boolean | undefined;
331
- /**
332
- * The default value of the argument.
333
- */
334
- defaultValue?: string | number | boolean | undefined;
335
- };
336
- export type ResponseBodyHttp = {
337
- /**
338
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
339
- */
340
- blueprint: ResponseBodyBlueprint;
341
- /**
342
- * The arguments to send with the request. The keys will be used to replace the placeholders in the `blueprint` field.
343
- */
344
- arguments?: {
345
- [k: string]: ResponseBodyArguments;
346
- } | undefined;
347
- };
348
- export type ResponseBody3 = {
349
- id?: string | undefined;
350
- /**
351
- * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
352
- */
353
- path: string;
354
- /**
355
- * Unique key of the tool as it will be displayed in the UI
356
- */
357
- key: string;
358
- /**
359
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
360
- */
361
- description: string;
362
- /**
363
- * The id of the user that created the tool
364
- */
365
- createdById?: string | undefined;
366
- /**
367
- * The id of the user that last updated the tool
368
- */
369
- updatedById?: string | undefined;
370
- projectId: string;
371
- workspaceId: string;
372
- created: string;
373
- updated: string;
374
- /**
375
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
376
- */
377
- status: CreateToolResponseBodyToolsStatus;
378
- versionHash: string;
379
- type: CreateToolResponseBodyToolsType;
380
- http: ResponseBodyHttp;
381
- };
382
- /**
383
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
384
- */
385
- export declare const CreateToolResponseBodyStatus: {
386
- readonly Live: "live";
387
- readonly Draft: "draft";
388
- readonly Pending: "pending";
389
- readonly Published: "published";
390
- };
391
- /**
392
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
393
- */
394
- export type CreateToolResponseBodyStatus = ClosedEnum<typeof CreateToolResponseBodyStatus>;
395
- export declare const CreateToolResponseBodyType: {
396
- readonly JsonSchema: "json_schema";
397
- };
398
- export type CreateToolResponseBodyType = ClosedEnum<typeof CreateToolResponseBodyType>;
399
- export type ResponseBodyJsonSchema = {
400
- /**
401
- * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
402
- */
403
- name: string;
404
- /**
405
- * A description of what the response format is for. This will be shown to the user.
406
- */
407
- description?: string | undefined;
408
- /**
409
- * The schema for the response format, described as a JSON Schema object. See the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
410
- */
411
- schema: {
412
- [k: string]: any;
413
- };
414
- /**
415
- * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the `schema` field. Only a subset of JSON Schema is supported when `strict` is `true`. Only compatible with `OpenAI` models.
416
- */
417
- strict?: boolean | null | undefined;
418
- };
419
- export type ResponseBody2 = {
420
- id?: string | undefined;
421
- /**
422
- * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
423
- */
424
- path: string;
425
- /**
426
- * Unique key of the tool as it will be displayed in the UI
427
- */
428
- key: string;
429
- /**
430
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
431
- */
432
- description: string;
433
- /**
434
- * The id of the user that created the tool
435
- */
436
- createdById?: string | undefined;
437
- /**
438
- * The id of the user that last updated the tool
439
- */
440
- updatedById?: string | undefined;
441
- projectId: string;
442
- workspaceId: string;
443
- created: string;
444
- updated: string;
445
- /**
446
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
447
- */
448
- status: CreateToolResponseBodyStatus;
449
- versionHash: string;
450
- type: CreateToolResponseBodyType;
451
- jsonSchema: ResponseBodyJsonSchema;
452
- };
453
- /**
454
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
455
- */
456
- export declare const ResponseBodyStatus: {
457
- readonly Live: "live";
458
- readonly Draft: "draft";
459
- readonly Pending: "pending";
460
- readonly Published: "published";
461
- };
462
- /**
463
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
464
- */
465
- export type ResponseBodyStatus = ClosedEnum<typeof ResponseBodyStatus>;
466
- export declare const ResponseBodyType: {
467
- readonly Function: "function";
468
- };
469
- export type ResponseBodyType = ClosedEnum<typeof ResponseBodyType>;
470
- export type ResponseBodyFunction = {
471
- /**
472
- * The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
473
- */
474
- name: string;
475
- /**
476
- * A description of what the function does, used by the model to choose when and how to call the function.
477
- */
478
- description?: string | undefined;
479
- /**
480
- * Whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. Currently only compatible with `OpenAI` models.
481
- */
482
- strict?: boolean | undefined;
483
- /**
484
- * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
485
- */
486
- parameters?: {
487
- [k: string]: any;
488
- } | undefined;
489
- };
490
- export type ResponseBody1 = {
491
- id?: string | undefined;
492
- /**
493
- * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
494
- */
495
- path: string;
496
- /**
497
- * Unique key of the tool as it will be displayed in the UI
498
- */
499
- key: string;
500
- /**
501
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
502
- */
503
- description: string;
504
- /**
505
- * The id of the user that created the tool
506
- */
507
- createdById?: string | undefined;
508
- /**
509
- * The id of the user that last updated the tool
510
- */
511
- updatedById?: string | undefined;
512
- projectId: string;
513
- workspaceId: string;
514
- created: string;
515
- updated: string;
516
- /**
517
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
518
- */
519
- status: ResponseBodyStatus;
520
- versionHash: string;
521
- type: ResponseBodyType;
522
- function: ResponseBodyFunction;
523
- };
524
- /**
525
- * Successfully created the tool.
526
- */
527
- export type CreateToolResponseBody = ResponseBody1 | ResponseBody2 | ResponseBody3;
528
- /** @internal */
529
- export declare const CreateToolRequestBodyStatus$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyStatus>;
530
- /** @internal */
531
- export declare const CreateToolRequestBodyStatus$outboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyStatus>;
532
- /**
533
- * @internal
534
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
535
- */
536
- export declare namespace CreateToolRequestBodyStatus$ {
537
- /** @deprecated use `CreateToolRequestBodyStatus$inboundSchema` instead. */
538
- const inboundSchema: z.ZodNativeEnum<{
539
- readonly Live: "live";
540
- readonly Draft: "draft";
541
- readonly Pending: "pending";
542
- readonly Published: "published";
543
- }>;
544
- /** @deprecated use `CreateToolRequestBodyStatus$outboundSchema` instead. */
545
- const outboundSchema: z.ZodNativeEnum<{
546
- readonly Live: "live";
547
- readonly Draft: "draft";
548
- readonly Pending: "pending";
549
- readonly Published: "published";
550
- }>;
551
- }
552
- /** @internal */
553
- export declare const CreateToolRequestBodyToolsType$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsType>;
554
- /** @internal */
555
- export declare const CreateToolRequestBodyToolsType$outboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsType>;
556
- /**
557
- * @internal
558
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
559
- */
560
- export declare namespace CreateToolRequestBodyToolsType$ {
561
- /** @deprecated use `CreateToolRequestBodyToolsType$inboundSchema` instead. */
562
- const inboundSchema: z.ZodNativeEnum<{
563
- readonly OrqHttp: "orq_http";
564
- }>;
565
- /** @deprecated use `CreateToolRequestBodyToolsType$outboundSchema` instead. */
566
- const outboundSchema: z.ZodNativeEnum<{
567
- readonly OrqHttp: "orq_http";
568
- }>;
569
- }
570
- /** @internal */
571
- export declare const Method$inboundSchema: z.ZodNativeEnum<typeof Method>;
572
- /** @internal */
573
- export declare const Method$outboundSchema: z.ZodNativeEnum<typeof Method>;
574
- /**
575
- * @internal
576
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
577
- */
578
- export declare namespace Method$ {
579
- /** @deprecated use `Method$inboundSchema` instead. */
580
- const inboundSchema: z.ZodNativeEnum<{
581
- readonly Get: "GET";
582
- readonly Post: "POST";
583
- readonly Put: "PUT";
584
- readonly Delete: "DELETE";
585
- }>;
586
- /** @deprecated use `Method$outboundSchema` instead. */
587
- const outboundSchema: z.ZodNativeEnum<{
588
- readonly Get: "GET";
589
- readonly Post: "POST";
590
- readonly Put: "PUT";
591
- readonly Delete: "DELETE";
592
- }>;
593
- }
594
- /** @internal */
595
- export declare const Blueprint$inboundSchema: z.ZodType<Blueprint, z.ZodTypeDef, unknown>;
596
- /** @internal */
597
- export type Blueprint$Outbound = {
598
- url: string;
599
- method: string;
600
- headers?: {
601
- [k: string]: string;
602
- } | undefined;
603
- body?: {
604
- [k: string]: any;
605
- } | undefined;
606
- };
607
- /** @internal */
608
- export declare const Blueprint$outboundSchema: z.ZodType<Blueprint$Outbound, z.ZodTypeDef, Blueprint>;
609
- /**
610
- * @internal
611
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
612
- */
613
- export declare namespace Blueprint$ {
614
- /** @deprecated use `Blueprint$inboundSchema` instead. */
615
- const inboundSchema: z.ZodType<Blueprint, z.ZodTypeDef, unknown>;
616
- /** @deprecated use `Blueprint$outboundSchema` instead. */
617
- const outboundSchema: z.ZodType<Blueprint$Outbound, z.ZodTypeDef, Blueprint>;
618
- /** @deprecated use `Blueprint$Outbound` instead. */
619
- type Outbound = Blueprint$Outbound;
620
- }
621
- export declare function blueprintToJSON(blueprint: Blueprint): string;
622
- export declare function blueprintFromJSON(jsonString: string): SafeParseResult<Blueprint, SDKValidationError>;
623
- /** @internal */
624
- export declare const CreateToolRequestBodyToolsRequestType$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequestType>;
625
- /** @internal */
626
- export declare const CreateToolRequestBodyToolsRequestType$outboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequestType>;
627
- /**
628
- * @internal
629
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
630
- */
631
- export declare namespace CreateToolRequestBodyToolsRequestType$ {
632
- /** @deprecated use `CreateToolRequestBodyToolsRequestType$inboundSchema` instead. */
633
- const inboundSchema: z.ZodNativeEnum<{
634
- readonly String: "string";
635
- readonly Number: "number";
636
- readonly Boolean: "boolean";
637
- }>;
638
- /** @deprecated use `CreateToolRequestBodyToolsRequestType$outboundSchema` instead. */
639
- const outboundSchema: z.ZodNativeEnum<{
640
- readonly String: "string";
641
- readonly Number: "number";
642
- readonly Boolean: "boolean";
643
- }>;
644
- }
645
- /** @internal */
646
- export declare const DefaultValue$inboundSchema: z.ZodType<DefaultValue, z.ZodTypeDef, unknown>;
647
- /** @internal */
648
- export type DefaultValue$Outbound = string | number | boolean;
649
- /** @internal */
650
- export declare const DefaultValue$outboundSchema: z.ZodType<DefaultValue$Outbound, z.ZodTypeDef, DefaultValue>;
651
- /**
652
- * @internal
653
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
654
- */
655
- export declare namespace DefaultValue$ {
656
- /** @deprecated use `DefaultValue$inboundSchema` instead. */
657
- const inboundSchema: z.ZodType<DefaultValue, z.ZodTypeDef, unknown>;
658
- /** @deprecated use `DefaultValue$outboundSchema` instead. */
659
- const outboundSchema: z.ZodType<DefaultValue$Outbound, z.ZodTypeDef, DefaultValue>;
660
- /** @deprecated use `DefaultValue$Outbound` instead. */
661
- type Outbound = DefaultValue$Outbound;
662
- }
663
- export declare function defaultValueToJSON(defaultValue: DefaultValue): string;
664
- export declare function defaultValueFromJSON(jsonString: string): SafeParseResult<DefaultValue, SDKValidationError>;
665
- /** @internal */
666
- export declare const Arguments$inboundSchema: z.ZodType<Arguments, z.ZodTypeDef, unknown>;
667
- /** @internal */
668
- export type Arguments$Outbound = {
669
- type: string;
670
- description: string;
671
- send_to_model: boolean;
672
- default_value?: string | number | boolean | undefined;
673
- };
674
- /** @internal */
675
- export declare const Arguments$outboundSchema: z.ZodType<Arguments$Outbound, z.ZodTypeDef, Arguments>;
676
- /**
677
- * @internal
678
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
679
- */
680
- export declare namespace Arguments$ {
681
- /** @deprecated use `Arguments$inboundSchema` instead. */
682
- const inboundSchema: z.ZodType<Arguments, z.ZodTypeDef, unknown>;
683
- /** @deprecated use `Arguments$outboundSchema` instead. */
684
- const outboundSchema: z.ZodType<Arguments$Outbound, z.ZodTypeDef, Arguments>;
685
- /** @deprecated use `Arguments$Outbound` instead. */
686
- type Outbound = Arguments$Outbound;
687
- }
688
- export declare function argumentsToJSON(value: Arguments): string;
689
- export declare function argumentsFromJSON(jsonString: string): SafeParseResult<Arguments, SDKValidationError>;
690
- /** @internal */
691
- export declare const Http$inboundSchema: z.ZodType<Http, z.ZodTypeDef, unknown>;
692
- /** @internal */
693
- export type Http$Outbound = {
694
- blueprint: Blueprint$Outbound;
695
- arguments?: {
696
- [k: string]: Arguments$Outbound;
697
- } | undefined;
698
- };
699
- /** @internal */
700
- export declare const Http$outboundSchema: z.ZodType<Http$Outbound, z.ZodTypeDef, Http>;
701
- /**
702
- * @internal
703
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
704
- */
705
- export declare namespace Http$ {
706
- /** @deprecated use `Http$inboundSchema` instead. */
707
- const inboundSchema: z.ZodType<Http, z.ZodTypeDef, unknown>;
708
- /** @deprecated use `Http$outboundSchema` instead. */
709
- const outboundSchema: z.ZodType<Http$Outbound, z.ZodTypeDef, Http>;
710
- /** @deprecated use `Http$Outbound` instead. */
711
- type Outbound = Http$Outbound;
712
- }
713
- export declare function httpToJSON(http: Http): string;
714
- export declare function httpFromJSON(jsonString: string): SafeParseResult<Http, SDKValidationError>;
715
- /** @internal */
716
- export declare const RequestBody3$inboundSchema: z.ZodType<RequestBody3, z.ZodTypeDef, unknown>;
717
- /** @internal */
718
- export type RequestBody3$Outbound = {
719
- path: string;
720
- key: string;
721
- description: string;
722
- status: string;
723
- version_hash: string;
724
- type: string;
725
- http: Http$Outbound;
726
- };
727
- /** @internal */
728
- export declare const RequestBody3$outboundSchema: z.ZodType<RequestBody3$Outbound, z.ZodTypeDef, RequestBody3>;
729
- /**
730
- * @internal
731
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
732
- */
733
- export declare namespace RequestBody3$ {
734
- /** @deprecated use `RequestBody3$inboundSchema` instead. */
735
- const inboundSchema: z.ZodType<RequestBody3, z.ZodTypeDef, unknown>;
736
- /** @deprecated use `RequestBody3$outboundSchema` instead. */
737
- const outboundSchema: z.ZodType<RequestBody3$Outbound, z.ZodTypeDef, RequestBody3>;
738
- /** @deprecated use `RequestBody3$Outbound` instead. */
739
- type Outbound = RequestBody3$Outbound;
740
- }
741
- export declare function requestBody3ToJSON(requestBody3: RequestBody3): string;
742
- export declare function requestBody3FromJSON(jsonString: string): SafeParseResult<RequestBody3, SDKValidationError>;
743
- /** @internal */
744
- export declare const RequestBodyStatus$inboundSchema: z.ZodNativeEnum<typeof RequestBodyStatus>;
745
- /** @internal */
746
- export declare const RequestBodyStatus$outboundSchema: z.ZodNativeEnum<typeof RequestBodyStatus>;
747
- /**
748
- * @internal
749
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
750
- */
751
- export declare namespace RequestBodyStatus$ {
752
- /** @deprecated use `RequestBodyStatus$inboundSchema` instead. */
753
- const inboundSchema: z.ZodNativeEnum<{
754
- readonly Live: "live";
755
- readonly Draft: "draft";
756
- readonly Pending: "pending";
757
- readonly Published: "published";
758
- }>;
759
- /** @deprecated use `RequestBodyStatus$outboundSchema` instead. */
760
- const outboundSchema: z.ZodNativeEnum<{
761
- readonly Live: "live";
762
- readonly Draft: "draft";
763
- readonly Pending: "pending";
764
- readonly Published: "published";
765
- }>;
766
- }
767
- /** @internal */
768
- export declare const CreateToolRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyType>;
769
- /** @internal */
770
- export declare const CreateToolRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyType>;
771
- /**
772
- * @internal
773
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
774
- */
775
- export declare namespace CreateToolRequestBodyType$ {
776
- /** @deprecated use `CreateToolRequestBodyType$inboundSchema` instead. */
777
- const inboundSchema: z.ZodNativeEnum<{
778
- readonly JsonSchema: "json_schema";
779
- }>;
780
- /** @deprecated use `CreateToolRequestBodyType$outboundSchema` instead. */
781
- const outboundSchema: z.ZodNativeEnum<{
782
- readonly JsonSchema: "json_schema";
783
- }>;
784
- }
785
- /** @internal */
786
- export declare const RequestBodyJsonSchema$inboundSchema: z.ZodType<RequestBodyJsonSchema, z.ZodTypeDef, unknown>;
787
- /** @internal */
788
- export type RequestBodyJsonSchema$Outbound = {
789
- name: string;
790
- description?: string | undefined;
791
- schema: {
792
- [k: string]: any;
793
- };
794
- strict: boolean | null;
795
- };
796
- /** @internal */
797
- export declare const RequestBodyJsonSchema$outboundSchema: z.ZodType<RequestBodyJsonSchema$Outbound, z.ZodTypeDef, RequestBodyJsonSchema>;
798
- /**
799
- * @internal
800
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
801
- */
802
- export declare namespace RequestBodyJsonSchema$ {
803
- /** @deprecated use `RequestBodyJsonSchema$inboundSchema` instead. */
804
- const inboundSchema: z.ZodType<RequestBodyJsonSchema, z.ZodTypeDef, unknown>;
805
- /** @deprecated use `RequestBodyJsonSchema$outboundSchema` instead. */
806
- const outboundSchema: z.ZodType<RequestBodyJsonSchema$Outbound, z.ZodTypeDef, RequestBodyJsonSchema>;
807
- /** @deprecated use `RequestBodyJsonSchema$Outbound` instead. */
808
- type Outbound = RequestBodyJsonSchema$Outbound;
809
- }
810
- export declare function requestBodyJsonSchemaToJSON(requestBodyJsonSchema: RequestBodyJsonSchema): string;
811
- export declare function requestBodyJsonSchemaFromJSON(jsonString: string): SafeParseResult<RequestBodyJsonSchema, SDKValidationError>;
812
- /** @internal */
813
- export declare const RequestBody2$inboundSchema: z.ZodType<RequestBody2, z.ZodTypeDef, unknown>;
814
- /** @internal */
815
- export type RequestBody2$Outbound = {
816
- path: string;
817
- key: string;
818
- description: string;
819
- status: string;
820
- version_hash: string;
821
- type: string;
822
- json_schema: RequestBodyJsonSchema$Outbound;
823
- };
824
- /** @internal */
825
- export declare const RequestBody2$outboundSchema: z.ZodType<RequestBody2$Outbound, z.ZodTypeDef, RequestBody2>;
826
- /**
827
- * @internal
828
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
829
- */
830
- export declare namespace RequestBody2$ {
831
- /** @deprecated use `RequestBody2$inboundSchema` instead. */
832
- const inboundSchema: z.ZodType<RequestBody2, z.ZodTypeDef, unknown>;
833
- /** @deprecated use `RequestBody2$outboundSchema` instead. */
834
- const outboundSchema: z.ZodType<RequestBody2$Outbound, z.ZodTypeDef, RequestBody2>;
835
- /** @deprecated use `RequestBody2$Outbound` instead. */
836
- type Outbound = RequestBody2$Outbound;
837
- }
838
- export declare function requestBody2ToJSON(requestBody2: RequestBody2): string;
839
- export declare function requestBody2FromJSON(jsonString: string): SafeParseResult<RequestBody2, SDKValidationError>;
840
- /** @internal */
841
- export declare const CreateToolRequestBodyToolsStatus$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsStatus>;
842
- /** @internal */
843
- export declare const CreateToolRequestBodyToolsStatus$outboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsStatus>;
844
- /**
845
- * @internal
846
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
847
- */
848
- export declare namespace CreateToolRequestBodyToolsStatus$ {
849
- /** @deprecated use `CreateToolRequestBodyToolsStatus$inboundSchema` instead. */
850
- const inboundSchema: z.ZodNativeEnum<{
851
- readonly Live: "live";
852
- readonly Draft: "draft";
853
- readonly Pending: "pending";
854
- readonly Published: "published";
855
- }>;
856
- /** @deprecated use `CreateToolRequestBodyToolsStatus$outboundSchema` instead. */
857
- const outboundSchema: z.ZodNativeEnum<{
858
- readonly Live: "live";
859
- readonly Draft: "draft";
860
- readonly Pending: "pending";
861
- readonly Published: "published";
862
- }>;
863
- }
864
- /** @internal */
865
- export declare const RequestBodyType$inboundSchema: z.ZodNativeEnum<typeof RequestBodyType>;
866
- /** @internal */
867
- export declare const RequestBodyType$outboundSchema: z.ZodNativeEnum<typeof RequestBodyType>;
868
- /**
869
- * @internal
870
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
871
- */
872
- export declare namespace RequestBodyType$ {
873
- /** @deprecated use `RequestBodyType$inboundSchema` instead. */
874
- const inboundSchema: z.ZodNativeEnum<{
875
- readonly Function: "function";
876
- }>;
877
- /** @deprecated use `RequestBodyType$outboundSchema` instead. */
878
- const outboundSchema: z.ZodNativeEnum<{
879
- readonly Function: "function";
880
- }>;
881
- }
882
- /** @internal */
883
- export declare const RequestBodyFunction$inboundSchema: z.ZodType<RequestBodyFunction, z.ZodTypeDef, unknown>;
884
- /** @internal */
885
- export type RequestBodyFunction$Outbound = {
886
- name: string;
887
- description?: string | undefined;
888
- strict?: boolean | undefined;
889
- parameters?: {
890
- [k: string]: any;
891
- } | undefined;
892
- };
893
- /** @internal */
894
- export declare const RequestBodyFunction$outboundSchema: z.ZodType<RequestBodyFunction$Outbound, z.ZodTypeDef, RequestBodyFunction>;
895
- /**
896
- * @internal
897
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
898
- */
899
- export declare namespace RequestBodyFunction$ {
900
- /** @deprecated use `RequestBodyFunction$inboundSchema` instead. */
901
- const inboundSchema: z.ZodType<RequestBodyFunction, z.ZodTypeDef, unknown>;
902
- /** @deprecated use `RequestBodyFunction$outboundSchema` instead. */
903
- const outboundSchema: z.ZodType<RequestBodyFunction$Outbound, z.ZodTypeDef, RequestBodyFunction>;
904
- /** @deprecated use `RequestBodyFunction$Outbound` instead. */
905
- type Outbound = RequestBodyFunction$Outbound;
906
- }
907
- export declare function requestBodyFunctionToJSON(requestBodyFunction: RequestBodyFunction): string;
908
- export declare function requestBodyFunctionFromJSON(jsonString: string): SafeParseResult<RequestBodyFunction, SDKValidationError>;
909
- /** @internal */
910
- export declare const RequestBody1$inboundSchema: z.ZodType<RequestBody1, z.ZodTypeDef, unknown>;
911
- /** @internal */
912
- export type RequestBody1$Outbound = {
913
- path: string;
914
- key: string;
915
- description: string;
916
- status: string;
917
- version_hash: string;
918
- type: string;
919
- function: RequestBodyFunction$Outbound;
920
- };
921
- /** @internal */
922
- export declare const RequestBody1$outboundSchema: z.ZodType<RequestBody1$Outbound, z.ZodTypeDef, RequestBody1>;
923
- /**
924
- * @internal
925
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
926
- */
927
- export declare namespace RequestBody1$ {
928
- /** @deprecated use `RequestBody1$inboundSchema` instead. */
929
- const inboundSchema: z.ZodType<RequestBody1, z.ZodTypeDef, unknown>;
930
- /** @deprecated use `RequestBody1$outboundSchema` instead. */
931
- const outboundSchema: z.ZodType<RequestBody1$Outbound, z.ZodTypeDef, RequestBody1>;
932
- /** @deprecated use `RequestBody1$Outbound` instead. */
933
- type Outbound = RequestBody1$Outbound;
934
- }
935
- export declare function requestBody1ToJSON(requestBody1: RequestBody1): string;
936
- export declare function requestBody1FromJSON(jsonString: string): SafeParseResult<RequestBody1, SDKValidationError>;
937
- /** @internal */
938
- export declare const CreateToolRequestBody$inboundSchema: z.ZodType<CreateToolRequestBody, z.ZodTypeDef, unknown>;
939
- /** @internal */
940
- export type CreateToolRequestBody$Outbound = RequestBody1$Outbound | RequestBody2$Outbound | RequestBody3$Outbound;
941
- /** @internal */
942
- export declare const CreateToolRequestBody$outboundSchema: z.ZodType<CreateToolRequestBody$Outbound, z.ZodTypeDef, CreateToolRequestBody>;
943
- /**
944
- * @internal
945
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
946
- */
947
- export declare namespace CreateToolRequestBody$ {
948
- /** @deprecated use `CreateToolRequestBody$inboundSchema` instead. */
949
- const inboundSchema: z.ZodType<CreateToolRequestBody, z.ZodTypeDef, unknown>;
950
- /** @deprecated use `CreateToolRequestBody$outboundSchema` instead. */
951
- const outboundSchema: z.ZodType<CreateToolRequestBody$Outbound, z.ZodTypeDef, CreateToolRequestBody>;
952
- /** @deprecated use `CreateToolRequestBody$Outbound` instead. */
953
- type Outbound = CreateToolRequestBody$Outbound;
954
- }
955
- export declare function createToolRequestBodyToJSON(createToolRequestBody: CreateToolRequestBody): string;
956
- export declare function createToolRequestBodyFromJSON(jsonString: string): SafeParseResult<CreateToolRequestBody, SDKValidationError>;
957
- /** @internal */
958
- export declare const CreateToolResponseBodyToolsStatus$inboundSchema: z.ZodNativeEnum<typeof CreateToolResponseBodyToolsStatus>;
959
- /** @internal */
960
- export declare const CreateToolResponseBodyToolsStatus$outboundSchema: z.ZodNativeEnum<typeof CreateToolResponseBodyToolsStatus>;
961
- /**
962
- * @internal
963
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
964
- */
965
- export declare namespace CreateToolResponseBodyToolsStatus$ {
966
- /** @deprecated use `CreateToolResponseBodyToolsStatus$inboundSchema` instead. */
967
- const inboundSchema: z.ZodNativeEnum<{
968
- readonly Live: "live";
969
- readonly Draft: "draft";
970
- readonly Pending: "pending";
971
- readonly Published: "published";
972
- }>;
973
- /** @deprecated use `CreateToolResponseBodyToolsStatus$outboundSchema` instead. */
974
- const outboundSchema: z.ZodNativeEnum<{
975
- readonly Live: "live";
976
- readonly Draft: "draft";
977
- readonly Pending: "pending";
978
- readonly Published: "published";
979
- }>;
980
- }
981
- /** @internal */
982
- export declare const CreateToolResponseBodyToolsType$inboundSchema: z.ZodNativeEnum<typeof CreateToolResponseBodyToolsType>;
983
- /** @internal */
984
- export declare const CreateToolResponseBodyToolsType$outboundSchema: z.ZodNativeEnum<typeof CreateToolResponseBodyToolsType>;
985
- /**
986
- * @internal
987
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
988
- */
989
- export declare namespace CreateToolResponseBodyToolsType$ {
990
- /** @deprecated use `CreateToolResponseBodyToolsType$inboundSchema` instead. */
991
- const inboundSchema: z.ZodNativeEnum<{
992
- readonly OrqHttp: "orq_http";
993
- }>;
994
- /** @deprecated use `CreateToolResponseBodyToolsType$outboundSchema` instead. */
995
- const outboundSchema: z.ZodNativeEnum<{
996
- readonly OrqHttp: "orq_http";
997
- }>;
998
- }
999
- /** @internal */
1000
- export declare const ResponseBodyMethod$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyMethod>;
1001
- /** @internal */
1002
- export declare const ResponseBodyMethod$outboundSchema: z.ZodNativeEnum<typeof ResponseBodyMethod>;
1003
- /**
1004
- * @internal
1005
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1006
- */
1007
- export declare namespace ResponseBodyMethod$ {
1008
- /** @deprecated use `ResponseBodyMethod$inboundSchema` instead. */
1009
- const inboundSchema: z.ZodNativeEnum<{
1010
- readonly Get: "GET";
1011
- readonly Post: "POST";
1012
- readonly Put: "PUT";
1013
- readonly Delete: "DELETE";
1014
- }>;
1015
- /** @deprecated use `ResponseBodyMethod$outboundSchema` instead. */
1016
- const outboundSchema: z.ZodNativeEnum<{
1017
- readonly Get: "GET";
1018
- readonly Post: "POST";
1019
- readonly Put: "PUT";
1020
- readonly Delete: "DELETE";
1021
- }>;
1022
- }
1023
- /** @internal */
1024
- export declare const ResponseBodyBlueprint$inboundSchema: z.ZodType<ResponseBodyBlueprint, z.ZodTypeDef, unknown>;
1025
- /** @internal */
1026
- export type ResponseBodyBlueprint$Outbound = {
1027
- url: string;
1028
- method: string;
1029
- headers?: {
1030
- [k: string]: string;
1031
- } | undefined;
1032
- body?: {
1033
- [k: string]: any;
1034
- } | undefined;
1035
- };
1036
- /** @internal */
1037
- export declare const ResponseBodyBlueprint$outboundSchema: z.ZodType<ResponseBodyBlueprint$Outbound, z.ZodTypeDef, ResponseBodyBlueprint>;
1038
- /**
1039
- * @internal
1040
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1041
- */
1042
- export declare namespace ResponseBodyBlueprint$ {
1043
- /** @deprecated use `ResponseBodyBlueprint$inboundSchema` instead. */
1044
- const inboundSchema: z.ZodType<ResponseBodyBlueprint, z.ZodTypeDef, unknown>;
1045
- /** @deprecated use `ResponseBodyBlueprint$outboundSchema` instead. */
1046
- const outboundSchema: z.ZodType<ResponseBodyBlueprint$Outbound, z.ZodTypeDef, ResponseBodyBlueprint>;
1047
- /** @deprecated use `ResponseBodyBlueprint$Outbound` instead. */
1048
- type Outbound = ResponseBodyBlueprint$Outbound;
1049
- }
1050
- export declare function responseBodyBlueprintToJSON(responseBodyBlueprint: ResponseBodyBlueprint): string;
1051
- export declare function responseBodyBlueprintFromJSON(jsonString: string): SafeParseResult<ResponseBodyBlueprint, SDKValidationError>;
1052
- /** @internal */
1053
- export declare const CreateToolResponseBodyToolsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreateToolResponseBodyToolsResponseType>;
1054
- /** @internal */
1055
- export declare const CreateToolResponseBodyToolsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreateToolResponseBodyToolsResponseType>;
1056
- /**
1057
- * @internal
1058
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1059
- */
1060
- export declare namespace CreateToolResponseBodyToolsResponseType$ {
1061
- /** @deprecated use `CreateToolResponseBodyToolsResponseType$inboundSchema` instead. */
1062
- const inboundSchema: z.ZodNativeEnum<{
1063
- readonly String: "string";
1064
- readonly Number: "number";
1065
- readonly Boolean: "boolean";
1066
- }>;
1067
- /** @deprecated use `CreateToolResponseBodyToolsResponseType$outboundSchema` instead. */
1068
- const outboundSchema: z.ZodNativeEnum<{
1069
- readonly String: "string";
1070
- readonly Number: "number";
1071
- readonly Boolean: "boolean";
1072
- }>;
1073
- }
1074
- /** @internal */
1075
- export declare const ResponseBodyDefaultValue$inboundSchema: z.ZodType<ResponseBodyDefaultValue, z.ZodTypeDef, unknown>;
1076
- /** @internal */
1077
- export type ResponseBodyDefaultValue$Outbound = string | number | boolean;
1078
- /** @internal */
1079
- export declare const ResponseBodyDefaultValue$outboundSchema: z.ZodType<ResponseBodyDefaultValue$Outbound, z.ZodTypeDef, ResponseBodyDefaultValue>;
1080
- /**
1081
- * @internal
1082
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1083
- */
1084
- export declare namespace ResponseBodyDefaultValue$ {
1085
- /** @deprecated use `ResponseBodyDefaultValue$inboundSchema` instead. */
1086
- const inboundSchema: z.ZodType<ResponseBodyDefaultValue, z.ZodTypeDef, unknown>;
1087
- /** @deprecated use `ResponseBodyDefaultValue$outboundSchema` instead. */
1088
- const outboundSchema: z.ZodType<ResponseBodyDefaultValue$Outbound, z.ZodTypeDef, ResponseBodyDefaultValue>;
1089
- /** @deprecated use `ResponseBodyDefaultValue$Outbound` instead. */
1090
- type Outbound = ResponseBodyDefaultValue$Outbound;
1091
- }
1092
- export declare function responseBodyDefaultValueToJSON(responseBodyDefaultValue: ResponseBodyDefaultValue): string;
1093
- export declare function responseBodyDefaultValueFromJSON(jsonString: string): SafeParseResult<ResponseBodyDefaultValue, SDKValidationError>;
1094
- /** @internal */
1095
- export declare const ResponseBodyArguments$inboundSchema: z.ZodType<ResponseBodyArguments, z.ZodTypeDef, unknown>;
1096
- /** @internal */
1097
- export type ResponseBodyArguments$Outbound = {
1098
- type: string;
1099
- description: string;
1100
- send_to_model: boolean;
1101
- default_value?: string | number | boolean | undefined;
1102
- };
1103
- /** @internal */
1104
- export declare const ResponseBodyArguments$outboundSchema: z.ZodType<ResponseBodyArguments$Outbound, z.ZodTypeDef, ResponseBodyArguments>;
1105
- /**
1106
- * @internal
1107
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1108
- */
1109
- export declare namespace ResponseBodyArguments$ {
1110
- /** @deprecated use `ResponseBodyArguments$inboundSchema` instead. */
1111
- const inboundSchema: z.ZodType<ResponseBodyArguments, z.ZodTypeDef, unknown>;
1112
- /** @deprecated use `ResponseBodyArguments$outboundSchema` instead. */
1113
- const outboundSchema: z.ZodType<ResponseBodyArguments$Outbound, z.ZodTypeDef, ResponseBodyArguments>;
1114
- /** @deprecated use `ResponseBodyArguments$Outbound` instead. */
1115
- type Outbound = ResponseBodyArguments$Outbound;
1116
- }
1117
- export declare function responseBodyArgumentsToJSON(responseBodyArguments: ResponseBodyArguments): string;
1118
- export declare function responseBodyArgumentsFromJSON(jsonString: string): SafeParseResult<ResponseBodyArguments, SDKValidationError>;
1119
- /** @internal */
1120
- export declare const ResponseBodyHttp$inboundSchema: z.ZodType<ResponseBodyHttp, z.ZodTypeDef, unknown>;
1121
- /** @internal */
1122
- export type ResponseBodyHttp$Outbound = {
1123
- blueprint: ResponseBodyBlueprint$Outbound;
1124
- arguments?: {
1125
- [k: string]: ResponseBodyArguments$Outbound;
1126
- } | undefined;
1127
- };
1128
- /** @internal */
1129
- export declare const ResponseBodyHttp$outboundSchema: z.ZodType<ResponseBodyHttp$Outbound, z.ZodTypeDef, ResponseBodyHttp>;
1130
- /**
1131
- * @internal
1132
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1133
- */
1134
- export declare namespace ResponseBodyHttp$ {
1135
- /** @deprecated use `ResponseBodyHttp$inboundSchema` instead. */
1136
- const inboundSchema: z.ZodType<ResponseBodyHttp, z.ZodTypeDef, unknown>;
1137
- /** @deprecated use `ResponseBodyHttp$outboundSchema` instead. */
1138
- const outboundSchema: z.ZodType<ResponseBodyHttp$Outbound, z.ZodTypeDef, ResponseBodyHttp>;
1139
- /** @deprecated use `ResponseBodyHttp$Outbound` instead. */
1140
- type Outbound = ResponseBodyHttp$Outbound;
1141
- }
1142
- export declare function responseBodyHttpToJSON(responseBodyHttp: ResponseBodyHttp): string;
1143
- export declare function responseBodyHttpFromJSON(jsonString: string): SafeParseResult<ResponseBodyHttp, SDKValidationError>;
1144
- /** @internal */
1145
- export declare const ResponseBody3$inboundSchema: z.ZodType<ResponseBody3, z.ZodTypeDef, unknown>;
1146
- /** @internal */
1147
- export type ResponseBody3$Outbound = {
1148
- _id: string;
1149
- path: string;
1150
- key: string;
1151
- description: string;
1152
- created_by_id?: string | undefined;
1153
- updated_by_id?: string | undefined;
1154
- project_id: string;
1155
- workspace_id: string;
1156
- created: string;
1157
- updated: string;
1158
- status: string;
1159
- version_hash: string;
1160
- type: string;
1161
- http: ResponseBodyHttp$Outbound;
1162
- };
1163
- /** @internal */
1164
- export declare const ResponseBody3$outboundSchema: z.ZodType<ResponseBody3$Outbound, z.ZodTypeDef, ResponseBody3>;
1165
- /**
1166
- * @internal
1167
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1168
- */
1169
- export declare namespace ResponseBody3$ {
1170
- /** @deprecated use `ResponseBody3$inboundSchema` instead. */
1171
- const inboundSchema: z.ZodType<ResponseBody3, z.ZodTypeDef, unknown>;
1172
- /** @deprecated use `ResponseBody3$outboundSchema` instead. */
1173
- const outboundSchema: z.ZodType<ResponseBody3$Outbound, z.ZodTypeDef, ResponseBody3>;
1174
- /** @deprecated use `ResponseBody3$Outbound` instead. */
1175
- type Outbound = ResponseBody3$Outbound;
1176
- }
1177
- export declare function responseBody3ToJSON(responseBody3: ResponseBody3): string;
1178
- export declare function responseBody3FromJSON(jsonString: string): SafeParseResult<ResponseBody3, SDKValidationError>;
1179
- /** @internal */
1180
- export declare const CreateToolResponseBodyStatus$inboundSchema: z.ZodNativeEnum<typeof CreateToolResponseBodyStatus>;
1181
- /** @internal */
1182
- export declare const CreateToolResponseBodyStatus$outboundSchema: z.ZodNativeEnum<typeof CreateToolResponseBodyStatus>;
1183
- /**
1184
- * @internal
1185
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1186
- */
1187
- export declare namespace CreateToolResponseBodyStatus$ {
1188
- /** @deprecated use `CreateToolResponseBodyStatus$inboundSchema` instead. */
1189
- const inboundSchema: z.ZodNativeEnum<{
1190
- readonly Live: "live";
1191
- readonly Draft: "draft";
1192
- readonly Pending: "pending";
1193
- readonly Published: "published";
1194
- }>;
1195
- /** @deprecated use `CreateToolResponseBodyStatus$outboundSchema` instead. */
1196
- const outboundSchema: z.ZodNativeEnum<{
1197
- readonly Live: "live";
1198
- readonly Draft: "draft";
1199
- readonly Pending: "pending";
1200
- readonly Published: "published";
1201
- }>;
1202
- }
1203
- /** @internal */
1204
- export declare const CreateToolResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof CreateToolResponseBodyType>;
1205
- /** @internal */
1206
- export declare const CreateToolResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof CreateToolResponseBodyType>;
1207
- /**
1208
- * @internal
1209
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1210
- */
1211
- export declare namespace CreateToolResponseBodyType$ {
1212
- /** @deprecated use `CreateToolResponseBodyType$inboundSchema` instead. */
1213
- const inboundSchema: z.ZodNativeEnum<{
1214
- readonly JsonSchema: "json_schema";
1215
- }>;
1216
- /** @deprecated use `CreateToolResponseBodyType$outboundSchema` instead. */
1217
- const outboundSchema: z.ZodNativeEnum<{
1218
- readonly JsonSchema: "json_schema";
1219
- }>;
1220
- }
1221
- /** @internal */
1222
- export declare const ResponseBodyJsonSchema$inboundSchema: z.ZodType<ResponseBodyJsonSchema, z.ZodTypeDef, unknown>;
1223
- /** @internal */
1224
- export type ResponseBodyJsonSchema$Outbound = {
1225
- name: string;
1226
- description?: string | undefined;
1227
- schema: {
1228
- [k: string]: any;
1229
- };
1230
- strict: boolean | null;
1231
- };
1232
- /** @internal */
1233
- export declare const ResponseBodyJsonSchema$outboundSchema: z.ZodType<ResponseBodyJsonSchema$Outbound, z.ZodTypeDef, ResponseBodyJsonSchema>;
1234
- /**
1235
- * @internal
1236
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1237
- */
1238
- export declare namespace ResponseBodyJsonSchema$ {
1239
- /** @deprecated use `ResponseBodyJsonSchema$inboundSchema` instead. */
1240
- const inboundSchema: z.ZodType<ResponseBodyJsonSchema, z.ZodTypeDef, unknown>;
1241
- /** @deprecated use `ResponseBodyJsonSchema$outboundSchema` instead. */
1242
- const outboundSchema: z.ZodType<ResponseBodyJsonSchema$Outbound, z.ZodTypeDef, ResponseBodyJsonSchema>;
1243
- /** @deprecated use `ResponseBodyJsonSchema$Outbound` instead. */
1244
- type Outbound = ResponseBodyJsonSchema$Outbound;
1245
- }
1246
- export declare function responseBodyJsonSchemaToJSON(responseBodyJsonSchema: ResponseBodyJsonSchema): string;
1247
- export declare function responseBodyJsonSchemaFromJSON(jsonString: string): SafeParseResult<ResponseBodyJsonSchema, SDKValidationError>;
1248
- /** @internal */
1249
- export declare const ResponseBody2$inboundSchema: z.ZodType<ResponseBody2, z.ZodTypeDef, unknown>;
1250
- /** @internal */
1251
- export type ResponseBody2$Outbound = {
1252
- _id: string;
1253
- path: string;
1254
- key: string;
1255
- description: string;
1256
- created_by_id?: string | undefined;
1257
- updated_by_id?: string | undefined;
1258
- project_id: string;
1259
- workspace_id: string;
1260
- created: string;
1261
- updated: string;
1262
- status: string;
1263
- version_hash: string;
1264
- type: string;
1265
- json_schema: ResponseBodyJsonSchema$Outbound;
1266
- };
1267
- /** @internal */
1268
- export declare const ResponseBody2$outboundSchema: z.ZodType<ResponseBody2$Outbound, z.ZodTypeDef, ResponseBody2>;
1269
- /**
1270
- * @internal
1271
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1272
- */
1273
- export declare namespace ResponseBody2$ {
1274
- /** @deprecated use `ResponseBody2$inboundSchema` instead. */
1275
- const inboundSchema: z.ZodType<ResponseBody2, z.ZodTypeDef, unknown>;
1276
- /** @deprecated use `ResponseBody2$outboundSchema` instead. */
1277
- const outboundSchema: z.ZodType<ResponseBody2$Outbound, z.ZodTypeDef, ResponseBody2>;
1278
- /** @deprecated use `ResponseBody2$Outbound` instead. */
1279
- type Outbound = ResponseBody2$Outbound;
1280
- }
1281
- export declare function responseBody2ToJSON(responseBody2: ResponseBody2): string;
1282
- export declare function responseBody2FromJSON(jsonString: string): SafeParseResult<ResponseBody2, SDKValidationError>;
1283
- /** @internal */
1284
- export declare const ResponseBodyStatus$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyStatus>;
1285
- /** @internal */
1286
- export declare const ResponseBodyStatus$outboundSchema: z.ZodNativeEnum<typeof ResponseBodyStatus>;
1287
- /**
1288
- * @internal
1289
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1290
- */
1291
- export declare namespace ResponseBodyStatus$ {
1292
- /** @deprecated use `ResponseBodyStatus$inboundSchema` instead. */
1293
- const inboundSchema: z.ZodNativeEnum<{
1294
- readonly Live: "live";
1295
- readonly Draft: "draft";
1296
- readonly Pending: "pending";
1297
- readonly Published: "published";
1298
- }>;
1299
- /** @deprecated use `ResponseBodyStatus$outboundSchema` instead. */
1300
- const outboundSchema: z.ZodNativeEnum<{
1301
- readonly Live: "live";
1302
- readonly Draft: "draft";
1303
- readonly Pending: "pending";
1304
- readonly Published: "published";
1305
- }>;
1306
- }
1307
- /** @internal */
1308
- export declare const ResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyType>;
1309
- /** @internal */
1310
- export declare const ResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof ResponseBodyType>;
1311
- /**
1312
- * @internal
1313
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1314
- */
1315
- export declare namespace ResponseBodyType$ {
1316
- /** @deprecated use `ResponseBodyType$inboundSchema` instead. */
1317
- const inboundSchema: z.ZodNativeEnum<{
1318
- readonly Function: "function";
1319
- }>;
1320
- /** @deprecated use `ResponseBodyType$outboundSchema` instead. */
1321
- const outboundSchema: z.ZodNativeEnum<{
1322
- readonly Function: "function";
1323
- }>;
1324
- }
1325
- /** @internal */
1326
- export declare const ResponseBodyFunction$inboundSchema: z.ZodType<ResponseBodyFunction, z.ZodTypeDef, unknown>;
1327
- /** @internal */
1328
- export type ResponseBodyFunction$Outbound = {
1329
- name: string;
1330
- description?: string | undefined;
1331
- strict?: boolean | undefined;
1332
- parameters?: {
1333
- [k: string]: any;
1334
- } | undefined;
1335
- };
1336
- /** @internal */
1337
- export declare const ResponseBodyFunction$outboundSchema: z.ZodType<ResponseBodyFunction$Outbound, z.ZodTypeDef, ResponseBodyFunction>;
1338
- /**
1339
- * @internal
1340
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1341
- */
1342
- export declare namespace ResponseBodyFunction$ {
1343
- /** @deprecated use `ResponseBodyFunction$inboundSchema` instead. */
1344
- const inboundSchema: z.ZodType<ResponseBodyFunction, z.ZodTypeDef, unknown>;
1345
- /** @deprecated use `ResponseBodyFunction$outboundSchema` instead. */
1346
- const outboundSchema: z.ZodType<ResponseBodyFunction$Outbound, z.ZodTypeDef, ResponseBodyFunction>;
1347
- /** @deprecated use `ResponseBodyFunction$Outbound` instead. */
1348
- type Outbound = ResponseBodyFunction$Outbound;
1349
- }
1350
- export declare function responseBodyFunctionToJSON(responseBodyFunction: ResponseBodyFunction): string;
1351
- export declare function responseBodyFunctionFromJSON(jsonString: string): SafeParseResult<ResponseBodyFunction, SDKValidationError>;
1352
- /** @internal */
1353
- export declare const ResponseBody1$inboundSchema: z.ZodType<ResponseBody1, z.ZodTypeDef, unknown>;
1354
- /** @internal */
1355
- export type ResponseBody1$Outbound = {
1356
- _id: string;
1357
- path: string;
1358
- key: string;
1359
- description: string;
1360
- created_by_id?: string | undefined;
1361
- updated_by_id?: string | undefined;
1362
- project_id: string;
1363
- workspace_id: string;
1364
- created: string;
1365
- updated: string;
1366
- status: string;
1367
- version_hash: string;
1368
- type: string;
1369
- function: ResponseBodyFunction$Outbound;
1370
- };
1371
- /** @internal */
1372
- export declare const ResponseBody1$outboundSchema: z.ZodType<ResponseBody1$Outbound, z.ZodTypeDef, ResponseBody1>;
1373
- /**
1374
- * @internal
1375
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1376
- */
1377
- export declare namespace ResponseBody1$ {
1378
- /** @deprecated use `ResponseBody1$inboundSchema` instead. */
1379
- const inboundSchema: z.ZodType<ResponseBody1, z.ZodTypeDef, unknown>;
1380
- /** @deprecated use `ResponseBody1$outboundSchema` instead. */
1381
- const outboundSchema: z.ZodType<ResponseBody1$Outbound, z.ZodTypeDef, ResponseBody1>;
1382
- /** @deprecated use `ResponseBody1$Outbound` instead. */
1383
- type Outbound = ResponseBody1$Outbound;
1384
- }
1385
- export declare function responseBody1ToJSON(responseBody1: ResponseBody1): string;
1386
- export declare function responseBody1FromJSON(jsonString: string): SafeParseResult<ResponseBody1, SDKValidationError>;
1387
- /** @internal */
1388
- export declare const CreateToolResponseBody$inboundSchema: z.ZodType<CreateToolResponseBody, z.ZodTypeDef, unknown>;
1389
- /** @internal */
1390
- export type CreateToolResponseBody$Outbound = ResponseBody1$Outbound | ResponseBody2$Outbound | ResponseBody3$Outbound;
1391
- /** @internal */
1392
- export declare const CreateToolResponseBody$outboundSchema: z.ZodType<CreateToolResponseBody$Outbound, z.ZodTypeDef, CreateToolResponseBody>;
1393
- /**
1394
- * @internal
1395
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1396
- */
1397
- export declare namespace CreateToolResponseBody$ {
1398
- /** @deprecated use `CreateToolResponseBody$inboundSchema` instead. */
1399
- const inboundSchema: z.ZodType<CreateToolResponseBody, z.ZodTypeDef, unknown>;
1400
- /** @deprecated use `CreateToolResponseBody$outboundSchema` instead. */
1401
- const outboundSchema: z.ZodType<CreateToolResponseBody$Outbound, z.ZodTypeDef, CreateToolResponseBody>;
1402
- /** @deprecated use `CreateToolResponseBody$Outbound` instead. */
1403
- type Outbound = CreateToolResponseBody$Outbound;
1404
- }
1405
- export declare function createToolResponseBodyToJSON(createToolResponseBody: CreateToolResponseBody): string;
1406
- export declare function createToolResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateToolResponseBody, SDKValidationError>;
1407
- //# sourceMappingURL=createtool.d.ts.map