@orq-ai/node 4.11.0-rc.9 → 4.11.3

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 (1773) hide show
  1. package/README.md +70 -40
  2. package/funcs/agentsInvoke.d.ts +1 -1
  3. package/funcs/agentsInvoke.d.ts.map +1 -1
  4. package/funcs/agentsInvoke.js.map +1 -1
  5. package/funcs/agentsResponsesCreate.d.ts +2 -1
  6. package/funcs/agentsResponsesCreate.d.ts.map +1 -1
  7. package/funcs/agentsResponsesCreate.js +7 -5
  8. package/funcs/agentsResponsesCreate.js.map +1 -1
  9. package/funcs/agentsStream.d.ts +1 -1
  10. package/funcs/agentsStream.d.ts.map +1 -1
  11. package/funcs/agentsStream.js.map +1 -1
  12. package/funcs/annotationsCreate.d.ts +1 -1
  13. package/funcs/annotationsCreate.js +1 -1
  14. package/funcs/annotationsDelete.d.ts +1 -1
  15. package/funcs/annotationsDelete.js +1 -1
  16. package/funcs/apiKeysGet.js +4 -0
  17. package/funcs/apiKeysGet.js.map +1 -1
  18. package/funcs/apiKeysList.js +1 -0
  19. package/funcs/apiKeysList.js.map +1 -1
  20. package/funcs/{modelsImportLitellm.d.ts → budgetsCheck.d.ts} +4 -4
  21. package/funcs/budgetsCheck.d.ts.map +1 -0
  22. package/funcs/{modelsImportLitellm.js → budgetsCheck.js} +10 -13
  23. package/funcs/budgetsCheck.js.map +1 -0
  24. package/funcs/budgetsCreate.d.ts +17 -0
  25. package/funcs/budgetsCreate.d.ts.map +1 -0
  26. package/funcs/budgetsCreate.js +115 -0
  27. package/funcs/budgetsCreate.js.map +1 -0
  28. package/funcs/budgetsDelete.d.ts +18 -0
  29. package/funcs/budgetsDelete.d.ts.map +1 -0
  30. package/funcs/budgetsDelete.js +121 -0
  31. package/funcs/budgetsDelete.js.map +1 -0
  32. package/funcs/budgetsGet.d.ts +18 -0
  33. package/funcs/budgetsGet.d.ts.map +1 -0
  34. package/funcs/budgetsGet.js +121 -0
  35. package/funcs/budgetsGet.js.map +1 -0
  36. package/funcs/budgetsGetConsumption.d.ts +18 -0
  37. package/funcs/budgetsGetConsumption.d.ts.map +1 -0
  38. package/funcs/budgetsGetConsumption.js +121 -0
  39. package/funcs/budgetsGetConsumption.js.map +1 -0
  40. package/funcs/budgetsList.d.ts +18 -0
  41. package/funcs/budgetsList.d.ts.map +1 -0
  42. package/funcs/budgetsList.js +127 -0
  43. package/funcs/budgetsList.js.map +1 -0
  44. package/funcs/budgetsResetConsumption.d.ts +18 -0
  45. package/funcs/budgetsResetConsumption.d.ts.map +1 -0
  46. package/funcs/budgetsResetConsumption.js +124 -0
  47. package/funcs/budgetsResetConsumption.js.map +1 -0
  48. package/funcs/budgetsUpdate.d.ts +18 -0
  49. package/funcs/budgetsUpdate.d.ts.map +1 -0
  50. package/funcs/budgetsUpdate.js +124 -0
  51. package/funcs/budgetsUpdate.js.map +1 -0
  52. package/funcs/datasetsList.js +2 -0
  53. package/funcs/datasetsList.js.map +1 -1
  54. package/funcs/datasetsListDatapoints.d.ts +2 -1
  55. package/funcs/datasetsListDatapoints.d.ts.map +1 -1
  56. package/funcs/datasetsListDatapoints.js +5 -1
  57. package/funcs/datasetsListDatapoints.js.map +1 -1
  58. package/funcs/deploymentsInvoke.d.ts +2 -1
  59. package/funcs/deploymentsInvoke.d.ts.map +1 -1
  60. package/funcs/deploymentsInvoke.js +2 -1
  61. package/funcs/deploymentsInvoke.js.map +1 -1
  62. package/funcs/evalsAll.js +1 -0
  63. package/funcs/evalsAll.js.map +1 -1
  64. package/funcs/identitiesList.js +1 -0
  65. package/funcs/identitiesList.js.map +1 -1
  66. package/funcs/identitiesRetrieve.js +1 -0
  67. package/funcs/identitiesRetrieve.js.map +1 -1
  68. package/funcs/knowledgeList.js +4 -0
  69. package/funcs/knowledgeList.js.map +1 -1
  70. package/funcs/managementKeysCreate.d.ts +17 -0
  71. package/funcs/managementKeysCreate.d.ts.map +1 -0
  72. package/funcs/managementKeysCreate.js +115 -0
  73. package/funcs/managementKeysCreate.js.map +1 -0
  74. package/funcs/managementKeysDelete.d.ts +18 -0
  75. package/funcs/managementKeysDelete.d.ts.map +1 -0
  76. package/funcs/managementKeysDelete.js +118 -0
  77. package/funcs/managementKeysDelete.js.map +1 -0
  78. package/funcs/managementKeysGet.d.ts +18 -0
  79. package/funcs/managementKeysGet.d.ts.map +1 -0
  80. package/funcs/managementKeysGet.js +118 -0
  81. package/funcs/managementKeysGet.js.map +1 -0
  82. package/funcs/managementKeysList.d.ts +18 -0
  83. package/funcs/managementKeysList.d.ts.map +1 -0
  84. package/funcs/managementKeysList.js +124 -0
  85. package/funcs/managementKeysList.js.map +1 -0
  86. package/funcs/managementKeysListCapabilities.d.ts +17 -0
  87. package/funcs/managementKeysListCapabilities.d.ts.map +1 -0
  88. package/funcs/{modelsListLitellm.js → managementKeysListCapabilities.js} +9 -9
  89. package/funcs/managementKeysListCapabilities.js.map +1 -0
  90. package/funcs/managementKeysUpdate.d.ts +18 -0
  91. package/funcs/managementKeysUpdate.d.ts.map +1 -0
  92. package/funcs/managementKeysUpdate.js +121 -0
  93. package/funcs/managementKeysUpdate.js.map +1 -0
  94. package/funcs/memoryStoresList.js +3 -0
  95. package/funcs/memoryStoresList.js.map +1 -1
  96. package/funcs/promptsCreate.d.ts +1 -1
  97. package/funcs/promptsCreate.d.ts.map +1 -1
  98. package/funcs/promptsCreate.js +2 -1
  99. package/funcs/promptsCreate.js.map +1 -1
  100. package/jsr.json +1 -1
  101. package/lib/config.d.ts +3 -3
  102. package/lib/config.js +3 -3
  103. package/lib/config.js.map +1 -1
  104. package/lib/encodings.js +12 -12
  105. package/lib/encodings.js.map +1 -1
  106. package/lib/env.d.ts.map +1 -1
  107. package/lib/env.js +3 -3
  108. package/lib/env.js.map +1 -1
  109. package/lib/event-streams.d.ts +7 -2
  110. package/lib/event-streams.d.ts.map +1 -1
  111. package/lib/event-streams.js +30 -14
  112. package/lib/event-streams.js.map +1 -1
  113. package/lib/matchers.js +3 -3
  114. package/lib/matchers.js.map +1 -1
  115. package/lib/primitives.d.ts +1 -0
  116. package/lib/primitives.d.ts.map +1 -1
  117. package/lib/primitives.js +18 -0
  118. package/lib/primitives.js.map +1 -1
  119. package/lib/retries.js +7 -0
  120. package/lib/retries.js.map +1 -1
  121. package/lib/sdks.d.ts.map +1 -1
  122. package/lib/sdks.js +37 -12
  123. package/lib/sdks.js.map +1 -1
  124. package/models/components/agentresponserequest.d.ts +336 -0
  125. package/models/components/agentresponserequest.d.ts.map +1 -0
  126. package/models/components/agentresponserequest.js +210 -0
  127. package/models/components/agentresponserequest.js.map +1 -0
  128. package/models/components/agentthoughtstreamingevent.d.ts +12 -12
  129. package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
  130. package/models/components/agentthoughtstreamingevent.js +17 -17
  131. package/models/components/agentthoughtstreamingevent.js.map +1 -1
  132. package/models/components/apikey.d.ts +79 -0
  133. package/models/components/apikey.d.ts.map +1 -1
  134. package/models/components/apikey.js +36 -1
  135. package/models/components/apikey.js.map +1 -1
  136. package/models/components/apikeybudgetscope.d.ts +23 -0
  137. package/models/components/apikeybudgetscope.d.ts.map +1 -0
  138. package/models/components/apikeybudgetscope.js +67 -0
  139. package/models/components/apikeybudgetscope.js.map +1 -0
  140. package/models/components/autorouterconfig.d.ts +3 -0
  141. package/models/components/autorouterconfig.d.ts.map +1 -1
  142. package/models/components/autorouterconfig.js +3 -0
  143. package/models/components/autorouterconfig.js.map +1 -1
  144. package/models/components/autorouterv2config.d.ts +30 -0
  145. package/models/components/autorouterv2config.d.ts.map +1 -0
  146. package/models/components/autorouterv2config.js +84 -0
  147. package/models/components/autorouterv2config.js.map +1 -0
  148. package/models/components/autorouterv2effortconfig.d.ts +19 -0
  149. package/models/components/autorouterv2effortconfig.d.ts.map +1 -0
  150. package/models/components/autorouterv2effortconfig.js +71 -0
  151. package/models/components/autorouterv2effortconfig.js.map +1 -0
  152. package/models/components/azurefoundrydeployment.d.ts +3 -0
  153. package/models/components/azurefoundrydeployment.d.ts.map +1 -1
  154. package/models/components/azurefoundrydeployment.js +4 -0
  155. package/models/components/azurefoundrydeployment.js.map +1 -1
  156. package/models/components/budget.d.ts +71 -0
  157. package/models/components/budget.d.ts.map +1 -0
  158. package/models/components/budget.js +75 -0
  159. package/models/components/budget.js.map +1 -0
  160. package/models/components/budgetlimits.d.ts +37 -0
  161. package/models/components/budgetlimits.d.ts.map +1 -0
  162. package/models/components/budgetlimits.js +72 -0
  163. package/models/components/budgetlimits.js.map +1 -0
  164. package/models/components/budgetmatch.d.ts +26 -0
  165. package/models/components/budgetmatch.d.ts.map +1 -0
  166. package/models/components/budgetmatch.js +58 -0
  167. package/models/components/budgetmatch.js.map +1 -0
  168. package/models/components/budgetperiod.d.ts +16 -0
  169. package/models/components/budgetperiod.d.ts.map +1 -0
  170. package/models/components/budgetperiod.js +53 -0
  171. package/models/components/budgetperiod.js.map +1 -0
  172. package/models/components/budgetrejection.d.ts +17 -0
  173. package/models/components/budgetrejection.d.ts.map +1 -0
  174. package/models/components/budgetrejection.js +60 -0
  175. package/models/components/budgetrejection.js.map +1 -0
  176. package/models/components/budgetscope.d.ts +71 -0
  177. package/models/components/budgetscope.d.ts.map +1 -0
  178. package/models/components/budgetscope.js +83 -0
  179. package/models/components/budgetscope.js.map +1 -0
  180. package/models/components/budgetscopekind.d.ts +15 -0
  181. package/models/components/budgetscopekind.d.ts.map +1 -0
  182. package/models/components/budgetscopekind.js +52 -0
  183. package/models/components/budgetscopekind.js.map +1 -0
  184. package/models/components/budgetsortfield.d.ts +12 -0
  185. package/models/components/budgetsortfield.d.ts.map +1 -0
  186. package/models/components/budgetsortfield.js +49 -0
  187. package/models/components/budgetsortfield.js.map +1 -0
  188. package/models/components/budgetusage.d.ts +31 -0
  189. package/models/components/budgetusage.d.ts.map +1 -0
  190. package/models/components/budgetusage.js +52 -0
  191. package/models/components/budgetusage.js.map +1 -0
  192. package/models/components/checkbudgetsrequest.d.ts +72 -0
  193. package/models/components/checkbudgetsrequest.d.ts.map +1 -0
  194. package/models/components/checkbudgetsrequest.js +69 -0
  195. package/models/components/checkbudgetsrequest.js.map +1 -0
  196. package/models/components/checkbudgetsresponse.d.ts +34 -0
  197. package/models/components/checkbudgetsresponse.d.ts.map +1 -0
  198. package/models/components/checkbudgetsresponse.js +56 -0
  199. package/models/components/checkbudgetsresponse.js.map +1 -0
  200. package/models/components/createbudgetrequest.d.ts +62 -0
  201. package/models/components/createbudgetrequest.d.ts.map +1 -0
  202. package/models/components/createbudgetrequest.js +65 -0
  203. package/models/components/createbudgetrequest.js.map +1 -0
  204. package/models/components/createbudgetresponse.d.ts +14 -0
  205. package/models/components/createbudgetresponse.d.ts.map +1 -0
  206. package/models/components/createbudgetresponse.js +51 -0
  207. package/models/components/createbudgetresponse.js.map +1 -0
  208. package/models/components/createmanagementkeyrequest.d.ts +42 -0
  209. package/models/components/createmanagementkeyrequest.d.ts.map +1 -0
  210. package/models/components/createmanagementkeyrequest.js +59 -0
  211. package/models/components/createmanagementkeyrequest.js.map +1 -0
  212. package/models/components/createmanagementkeyresponse.d.ts +21 -0
  213. package/models/components/createmanagementkeyresponse.d.ts.map +1 -0
  214. package/models/components/createmanagementkeyresponse.js +57 -0
  215. package/models/components/createmanagementkeyresponse.js.map +1 -0
  216. package/models/components/createskillrequest.d.ts +46 -2
  217. package/models/components/createskillrequest.d.ts.map +1 -1
  218. package/models/components/createskillrequest.js +29 -2
  219. package/models/components/createskillrequest.js.map +1 -1
  220. package/models/components/deletebudgetresponse.d.ts +8 -0
  221. package/models/components/deletebudgetresponse.d.ts.map +1 -0
  222. package/models/components/deletebudgetresponse.js +48 -0
  223. package/models/components/deletebudgetresponse.js.map +1 -0
  224. package/models/components/deletemanagementkeyresponse.d.ts +8 -0
  225. package/models/components/deletemanagementkeyresponse.d.ts.map +1 -0
  226. package/models/components/deletemanagementkeyresponse.js +48 -0
  227. package/models/components/deletemanagementkeyresponse.js.map +1 -0
  228. package/models/components/dimensioninfo.d.ts +15 -0
  229. package/models/components/dimensioninfo.d.ts.map +1 -0
  230. package/models/components/{litellmparams.js → dimensioninfo.js} +11 -13
  231. package/models/components/dimensioninfo.js.map +1 -0
  232. package/models/components/domain.d.ts +5 -12
  233. package/models/components/domain.d.ts.map +1 -1
  234. package/models/components/domain.js +0 -2
  235. package/models/components/domain.js.map +1 -1
  236. package/models/components/evaluatorresponsefunction.d.ts +226 -0
  237. package/models/components/evaluatorresponsefunction.d.ts.map +1 -0
  238. package/models/components/evaluatorresponsefunction.js +420 -0
  239. package/models/components/evaluatorresponsefunction.js.map +1 -0
  240. package/models/components/evaluatorresponsehttp.d.ts +33 -0
  241. package/models/components/evaluatorresponsehttp.d.ts.map +1 -0
  242. package/models/components/evaluatorresponsehttp.js +75 -0
  243. package/models/components/evaluatorresponsehttp.js.map +1 -0
  244. package/models/components/evaluatorresponsejsonschema.d.ts +18 -0
  245. package/models/components/evaluatorresponsejsonschema.d.ts.map +1 -0
  246. package/models/components/evaluatorresponsejsonschema.js +65 -0
  247. package/models/components/evaluatorresponsejsonschema.js.map +1 -0
  248. package/models/components/evaluatorresponsellm.d.ts +97 -0
  249. package/models/components/evaluatorresponsellm.d.ts.map +1 -0
  250. package/models/components/evaluatorresponsellm.js +179 -0
  251. package/models/components/evaluatorresponsellm.js.map +1 -0
  252. package/models/components/evaluatorresponsepython.d.ts +18 -0
  253. package/models/components/evaluatorresponsepython.d.ts.map +1 -0
  254. package/models/components/evaluatorresponsepython.js +65 -0
  255. package/models/components/evaluatorresponsepython.js.map +1 -0
  256. package/models/components/evaluatorresponseragas.d.ts +37 -0
  257. package/models/components/evaluatorresponseragas.d.ts.map +1 -0
  258. package/models/components/evaluatorresponseragas.js +84 -0
  259. package/models/components/evaluatorresponseragas.js.map +1 -0
  260. package/models/components/evaluatorresponsetypescript.d.ts +18 -0
  261. package/models/components/evaluatorresponsetypescript.d.ts.map +1 -0
  262. package/models/components/evaluatorresponsetypescript.js +65 -0
  263. package/models/components/evaluatorresponsetypescript.js.map +1 -0
  264. package/models/components/getbudgetconsumptionresponse.d.ts +38 -0
  265. package/models/components/getbudgetconsumptionresponse.d.ts.map +1 -0
  266. package/models/components/getbudgetconsumptionresponse.js +63 -0
  267. package/models/components/getbudgetconsumptionresponse.js.map +1 -0
  268. package/models/components/getbudgetresponse.d.ts +14 -0
  269. package/models/components/getbudgetresponse.d.ts.map +1 -0
  270. package/models/components/getbudgetresponse.js +51 -0
  271. package/models/components/getbudgetresponse.js.map +1 -0
  272. package/models/components/getmanagementkeyresponse.d.ts +14 -0
  273. package/models/components/getmanagementkeyresponse.d.ts.map +1 -0
  274. package/models/components/{litellmmodel.js → getmanagementkeyresponse.js} +10 -14
  275. package/models/components/getmanagementkeyresponse.js.map +1 -0
  276. package/models/components/guardrailrule.d.ts +2 -0
  277. package/models/components/guardrailrule.d.ts.map +1 -1
  278. package/models/components/guardrailrule.js +2 -0
  279. package/models/components/guardrailrule.js.map +1 -1
  280. package/models/components/identity.d.ts +83 -4
  281. package/models/components/identity.d.ts.map +1 -1
  282. package/models/components/identity.js +41 -6
  283. package/models/components/identity.js.map +1 -1
  284. package/models/components/identitybudgetscope.d.ts +23 -0
  285. package/models/components/identitybudgetscope.d.ts.map +1 -0
  286. package/models/components/identitybudgetscope.js +67 -0
  287. package/models/components/identitybudgetscope.js.map +1 -0
  288. package/models/components/index.d.ts +57 -4
  289. package/models/components/index.d.ts.map +1 -1
  290. package/models/components/index.js +57 -4
  291. package/models/components/index.js.map +1 -1
  292. package/models/components/invokedeploymentrequest.d.ts +1573 -0
  293. package/models/components/invokedeploymentrequest.d.ts.map +1 -0
  294. package/models/components/invokedeploymentrequest.js +1135 -0
  295. package/models/components/invokedeploymentrequest.js.map +1 -0
  296. package/models/components/listbudgetsresponse.d.ts +25 -0
  297. package/models/components/listbudgetsresponse.d.ts.map +1 -0
  298. package/models/components/listbudgetsresponse.js +58 -0
  299. package/models/components/listbudgetsresponse.js.map +1 -0
  300. package/models/components/listmanagementcapabilitiesresponse.d.ts +14 -0
  301. package/models/components/listmanagementcapabilitiesresponse.d.ts.map +1 -0
  302. package/models/components/listmanagementcapabilitiesresponse.js +51 -0
  303. package/models/components/listmanagementcapabilitiesresponse.js.map +1 -0
  304. package/models/components/listmanagementkeysresponse.d.ts +28 -0
  305. package/models/components/listmanagementkeysresponse.d.ts.map +1 -0
  306. package/models/components/listmanagementkeysresponse.js +58 -0
  307. package/models/components/listmanagementkeysresponse.js.map +1 -0
  308. package/models/components/managementkey.d.ts +80 -0
  309. package/models/components/managementkey.d.ts.map +1 -0
  310. package/models/components/managementkey.js +77 -0
  311. package/models/components/managementkey.js.map +1 -0
  312. package/models/components/managementkeystatus.d.ts +14 -0
  313. package/models/components/managementkeystatus.d.ts.map +1 -0
  314. package/models/components/managementkeystatus.js +51 -0
  315. package/models/components/managementkeystatus.js.map +1 -0
  316. package/models/components/managementpermissionmode.d.ts +14 -0
  317. package/models/components/managementpermissionmode.d.ts.map +1 -0
  318. package/models/components/managementpermissionmode.js +51 -0
  319. package/models/components/managementpermissionmode.js.map +1 -0
  320. package/models/components/modelbudgetscope.d.ts +24 -0
  321. package/models/components/modelbudgetscope.d.ts.map +1 -0
  322. package/models/components/modelbudgetscope.js +67 -0
  323. package/models/components/modelbudgetscope.js.map +1 -0
  324. package/models/components/modelmetadata.d.ts +4 -0
  325. package/models/components/modelmetadata.d.ts.map +1 -1
  326. package/models/components/modelmetadata.js +8 -0
  327. package/models/components/modelmetadata.js.map +1 -1
  328. package/models/components/modelsconfig.d.ts +5 -5
  329. package/models/components/modelsconfig.d.ts.map +1 -1
  330. package/models/components/modelsconfig.js +6 -6
  331. package/models/components/modelsconfig.js.map +1 -1
  332. package/models/components/piiredactionplugin.d.ts +14 -0
  333. package/models/components/piiredactionplugin.d.ts.map +1 -0
  334. package/models/components/piiredactionplugin.js +59 -0
  335. package/models/components/piiredactionplugin.js.map +1 -0
  336. package/models/components/piiredactionpluginauto.d.ts +126 -0
  337. package/models/components/piiredactionpluginauto.d.ts.map +1 -0
  338. package/models/components/piiredactionpluginauto.js +156 -0
  339. package/models/components/piiredactionpluginauto.js.map +1 -0
  340. package/models/components/piiredactionpluginen.d.ts +145 -0
  341. package/models/components/piiredactionpluginen.d.ts.map +1 -0
  342. package/models/components/piiredactionpluginen.js +167 -0
  343. package/models/components/piiredactionpluginen.js.map +1 -0
  344. package/models/components/piiredactionpluginnl.d.ts +137 -0
  345. package/models/components/piiredactionpluginnl.d.ts.map +1 -0
  346. package/models/components/piiredactionpluginnl.js +158 -0
  347. package/models/components/piiredactionpluginnl.js.map +1 -0
  348. package/models/components/plugin.d.ts +11 -0
  349. package/models/components/plugin.d.ts.map +1 -0
  350. package/models/components/plugin.js +57 -0
  351. package/models/components/plugin.js.map +1 -0
  352. package/models/components/projectbudgetscope.d.ts +20 -0
  353. package/models/components/projectbudgetscope.d.ts.map +1 -0
  354. package/models/components/projectbudgetscope.js +67 -0
  355. package/models/components/projectbudgetscope.js.map +1 -0
  356. package/models/components/providerbudgetscope.d.ts +23 -0
  357. package/models/components/providerbudgetscope.d.ts.map +1 -0
  358. package/models/components/providerbudgetscope.js +58 -0
  359. package/models/components/providerbudgetscope.js.map +1 -0
  360. package/models/components/publicpiiredactionplugin.d.ts +79 -0
  361. package/models/components/publicpiiredactionplugin.d.ts.map +1 -0
  362. package/models/components/publicpiiredactionplugin.js +86 -0
  363. package/models/components/publicpiiredactionplugin.js.map +1 -0
  364. package/models/components/ratelimit.d.ts +23 -0
  365. package/models/components/ratelimit.d.ts.map +1 -0
  366. package/models/components/ratelimit.js +67 -0
  367. package/models/components/ratelimit.js.map +1 -0
  368. package/models/components/reasoningpart.js +1 -1
  369. package/models/components/resetbudgetconsumptionrequest.d.ts +8 -0
  370. package/models/components/resetbudgetconsumptionrequest.d.ts.map +1 -0
  371. package/models/components/resetbudgetconsumptionrequest.js +47 -0
  372. package/models/components/resetbudgetconsumptionrequest.js.map +1 -0
  373. package/models/components/resetbudgetconsumptionresponse.d.ts +17 -0
  374. package/models/components/resetbudgetconsumptionresponse.d.ts.map +1 -0
  375. package/models/components/resetbudgetconsumptionresponse.js +51 -0
  376. package/models/components/resetbudgetconsumptionresponse.js.map +1 -0
  377. package/models/components/textcontentpartschema.d.ts +10 -10
  378. package/models/components/textcontentpartschema.d.ts.map +1 -1
  379. package/models/components/textcontentpartschema.js +11 -11
  380. package/models/components/textcontentpartschema.js.map +1 -1
  381. package/models/components/toolexecutionstartedstreamingevent.d.ts +4 -4
  382. package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -1
  383. package/models/components/toolexecutionstartedstreamingevent.js +7 -7
  384. package/models/components/toolexecutionstartedstreamingevent.js.map +1 -1
  385. package/models/components/updatebudgetrequest.d.ts +50 -0
  386. package/models/components/updatebudgetrequest.d.ts.map +1 -0
  387. package/models/components/updatebudgetrequest.js +65 -0
  388. package/models/components/updatebudgetrequest.js.map +1 -0
  389. package/models/components/updatebudgetresponse.d.ts +14 -0
  390. package/models/components/updatebudgetresponse.d.ts.map +1 -0
  391. package/models/components/updatebudgetresponse.js +51 -0
  392. package/models/components/updatebudgetresponse.js.map +1 -0
  393. package/models/components/updatemanagementkeyrequest.d.ts +47 -0
  394. package/models/components/updatemanagementkeyrequest.d.ts.map +1 -0
  395. package/models/components/updatemanagementkeyrequest.js +63 -0
  396. package/models/components/updatemanagementkeyrequest.js.map +1 -0
  397. package/models/components/updatemanagementkeyresponse.d.ts +14 -0
  398. package/models/components/updatemanagementkeyresponse.d.ts.map +1 -0
  399. package/models/components/updatemanagementkeyresponse.js +56 -0
  400. package/models/components/updatemanagementkeyresponse.js.map +1 -0
  401. package/models/components/workspacebudgetscope.d.ts +16 -0
  402. package/models/components/workspacebudgetscope.d.ts.map +1 -0
  403. package/models/components/workspacebudgetscope.js +54 -0
  404. package/models/components/workspacebudgetscope.js.map +1 -0
  405. package/models/operations/apikeyget.d.ts +8 -0
  406. package/models/operations/apikeyget.d.ts.map +1 -1
  407. package/models/operations/apikeyget.js +2 -0
  408. package/models/operations/apikeyget.js.map +1 -1
  409. package/models/operations/apikeylist.d.ts +9 -0
  410. package/models/operations/apikeylist.d.ts.map +1 -1
  411. package/models/operations/apikeylist.js +2 -0
  412. package/models/operations/apikeylist.js.map +1 -1
  413. package/models/operations/budgetdelete.d.ts +15 -0
  414. package/models/operations/budgetdelete.d.ts.map +1 -0
  415. package/models/operations/budgetdelete.js +54 -0
  416. package/models/operations/budgetdelete.js.map +1 -0
  417. package/models/operations/budgetget.d.ts +15 -0
  418. package/models/operations/budgetget.d.ts.map +1 -0
  419. package/models/operations/budgetget.js +54 -0
  420. package/models/operations/budgetget.js.map +1 -0
  421. package/models/operations/budgetgetconsumption.d.ts +15 -0
  422. package/models/operations/budgetgetconsumption.d.ts.map +1 -0
  423. package/models/operations/budgetgetconsumption.js +54 -0
  424. package/models/operations/budgetgetconsumption.js.map +1 -0
  425. package/models/operations/budgetlist.d.ts +72 -0
  426. package/models/operations/budgetlist.d.ts.map +1 -0
  427. package/models/operations/budgetlist.js +68 -0
  428. package/models/operations/budgetlist.js.map +1 -0
  429. package/models/operations/budgetresetconsumption.d.ts +18 -0
  430. package/models/operations/budgetresetconsumption.d.ts.map +1 -0
  431. package/models/operations/budgetresetconsumption.js +57 -0
  432. package/models/operations/budgetresetconsumption.js.map +1 -0
  433. package/models/operations/budgetupdate.d.ts +18 -0
  434. package/models/operations/budgetupdate.d.ts.map +1 -0
  435. package/models/operations/budgetupdate.js +57 -0
  436. package/models/operations/budgetupdate.js.map +1 -0
  437. package/models/operations/createagentrequest.d.ts +38 -0
  438. package/models/operations/createagentrequest.d.ts.map +1 -1
  439. package/models/operations/createagentrequest.js +65 -5
  440. package/models/operations/createagentrequest.js.map +1 -1
  441. package/models/operations/createagentresponserequest.d.ts +2 -329
  442. package/models/operations/createagentresponserequest.d.ts.map +1 -1
  443. package/models/operations/createagentresponserequest.js +3 -166
  444. package/models/operations/createagentresponserequest.js.map +1 -1
  445. package/models/operations/createannotation.d.ts +48 -10
  446. package/models/operations/createannotation.d.ts.map +1 -1
  447. package/models/operations/createannotation.js +37 -5
  448. package/models/operations/createannotation.js.map +1 -1
  449. package/models/operations/createchatcompletion.d.ts +15 -4
  450. package/models/operations/createchatcompletion.d.ts.map +1 -1
  451. package/models/operations/createchatcompletion.js +22 -7
  452. package/models/operations/createchatcompletion.js.map +1 -1
  453. package/models/operations/createcompletion.d.ts +11 -0
  454. package/models/operations/createcompletion.d.ts.map +1 -1
  455. package/models/operations/createcompletion.js +18 -3
  456. package/models/operations/createcompletion.js.map +1 -1
  457. package/models/operations/createdataset.js +1 -1
  458. package/models/operations/createdatasetitem.d.ts +219 -15
  459. package/models/operations/createdatasetitem.d.ts.map +1 -1
  460. package/models/operations/createdatasetitem.js +144 -10
  461. package/models/operations/createdatasetitem.js.map +1 -1
  462. package/models/operations/createdatasource.d.ts +3 -0
  463. package/models/operations/createdatasource.d.ts.map +1 -1
  464. package/models/operations/createdatasource.js +1 -1
  465. package/models/operations/createdatasource.js.map +1 -1
  466. package/models/operations/createeval.d.ts +8 -1039
  467. package/models/operations/createeval.d.ts.map +1 -1
  468. package/models/operations/createeval.js +12 -1533
  469. package/models/operations/createeval.js.map +1 -1
  470. package/models/operations/createimage.d.ts +11 -0
  471. package/models/operations/createimage.d.ts.map +1 -1
  472. package/models/operations/createimage.js +16 -1
  473. package/models/operations/createimage.js.map +1 -1
  474. package/models/operations/createknowledge.d.ts +11 -0
  475. package/models/operations/createknowledge.d.ts.map +1 -1
  476. package/models/operations/createknowledge.js +1 -0
  477. package/models/operations/createknowledge.js.map +1 -1
  478. package/models/operations/creatememorystore.d.ts +3 -3
  479. package/models/operations/creatememorystore.d.ts.map +1 -1
  480. package/models/operations/creatememorystore.js +2 -2
  481. package/models/operations/creatememorystore.js.map +1 -1
  482. package/models/operations/createprompt.d.ts +35 -15
  483. package/models/operations/createprompt.d.ts.map +1 -1
  484. package/models/operations/createprompt.js +47 -19
  485. package/models/operations/createprompt.js.map +1 -1
  486. package/models/operations/creatererank.d.ts +11 -0
  487. package/models/operations/creatererank.d.ts.map +1 -1
  488. package/models/operations/creatererank.js +16 -1
  489. package/models/operations/creatererank.js.map +1 -1
  490. package/models/operations/createrouterresponse.d.ts +5 -0
  491. package/models/operations/createrouterresponse.d.ts.map +1 -1
  492. package/models/operations/createrouterresponse.js +1 -0
  493. package/models/operations/createrouterresponse.js.map +1 -1
  494. package/models/operations/createtool.d.ts +8 -8
  495. package/models/operations/createtool.d.ts.map +1 -1
  496. package/models/operations/createtool.js +16 -16
  497. package/models/operations/createtool.js.map +1 -1
  498. package/models/operations/deleteannotation.d.ts +19 -2
  499. package/models/operations/deleteannotation.d.ts.map +1 -1
  500. package/models/operations/deleteannotation.js +20 -2
  501. package/models/operations/deleteannotation.js.map +1 -1
  502. package/models/operations/deploymentgetconfig.d.ts +449 -449
  503. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  504. package/models/operations/deploymentgetconfig.js +493 -488
  505. package/models/operations/deploymentgetconfig.js.map +1 -1
  506. package/models/operations/deploymentinvoke.d.ts +0 -1562
  507. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  508. package/models/operations/deploymentinvoke.js +1 -1128
  509. package/models/operations/deploymentinvoke.js.map +1 -1
  510. package/models/operations/deployments.d.ts +1 -3
  511. package/models/operations/deployments.d.ts.map +1 -1
  512. package/models/operations/deployments.js +1 -3
  513. package/models/operations/deployments.js.map +1 -1
  514. package/models/operations/deploymentstream.d.ts +56 -58
  515. package/models/operations/deploymentstream.d.ts.map +1 -1
  516. package/models/operations/deploymentstream.js +73 -74
  517. package/models/operations/deploymentstream.js.map +1 -1
  518. package/models/operations/getallmemorystores.d.ts +16 -1
  519. package/models/operations/getallmemorystores.d.ts.map +1 -1
  520. package/models/operations/getallmemorystores.js +6 -1
  521. package/models/operations/getallmemorystores.js.map +1 -1
  522. package/models/operations/getallprompts.d.ts +9 -3
  523. package/models/operations/getallprompts.d.ts.map +1 -1
  524. package/models/operations/getallprompts.js +17 -4
  525. package/models/operations/getallprompts.js.map +1 -1
  526. package/models/operations/getalltools.d.ts +20 -20
  527. package/models/operations/getalltools.d.ts.map +1 -1
  528. package/models/operations/getalltools.js +28 -26
  529. package/models/operations/getalltools.js.map +1 -1
  530. package/models/operations/getevals.d.ts +5 -833
  531. package/models/operations/getevals.d.ts.map +1 -1
  532. package/models/operations/getevals.js +18 -1314
  533. package/models/operations/getevals.js.map +1 -1
  534. package/models/operations/getoneprompt.d.ts +9 -3
  535. package/models/operations/getoneprompt.d.ts.map +1 -1
  536. package/models/operations/getoneprompt.js +18 -5
  537. package/models/operations/getoneprompt.js.map +1 -1
  538. package/models/operations/getpromptversion.d.ts +9 -3
  539. package/models/operations/getpromptversion.d.ts.map +1 -1
  540. package/models/operations/getpromptversion.js +18 -5
  541. package/models/operations/getpromptversion.js.map +1 -1
  542. package/models/operations/getv2humanevalsets.js +2 -2
  543. package/models/operations/getv2humanevalsetsid.js +2 -2
  544. package/models/operations/guardrailrulecreate.d.ts +1 -0
  545. package/models/operations/guardrailrulecreate.d.ts.map +1 -1
  546. package/models/operations/guardrailrulecreate.js +1 -0
  547. package/models/operations/guardrailrulecreate.js.map +1 -1
  548. package/models/operations/guardrailruleget.d.ts +1 -0
  549. package/models/operations/guardrailruleget.d.ts.map +1 -1
  550. package/models/operations/guardrailruleget.js +1 -0
  551. package/models/operations/guardrailruleget.js.map +1 -1
  552. package/models/operations/guardrailruleupdate.d.ts +1 -0
  553. package/models/operations/guardrailruleupdate.d.ts.map +1 -1
  554. package/models/operations/guardrailruleupdate.js +1 -0
  555. package/models/operations/guardrailruleupdate.js.map +1 -1
  556. package/models/operations/index.d.ts +10 -0
  557. package/models/operations/index.d.ts.map +1 -1
  558. package/models/operations/index.js +10 -0
  559. package/models/operations/index.js.map +1 -1
  560. package/models/operations/invokeagent.d.ts +51 -48
  561. package/models/operations/invokeagent.d.ts.map +1 -1
  562. package/models/operations/invokeagent.js +43 -46
  563. package/models/operations/invokeagent.js.map +1 -1
  564. package/models/operations/invokeeval.d.ts +14 -13
  565. package/models/operations/invokeeval.d.ts.map +1 -1
  566. package/models/operations/invokeeval.js +23 -21
  567. package/models/operations/invokeeval.js.map +1 -1
  568. package/models/operations/listagents.d.ts +16 -0
  569. package/models/operations/listagents.d.ts.map +1 -1
  570. package/models/operations/listagents.js +32 -2
  571. package/models/operations/listagents.js.map +1 -1
  572. package/models/operations/listdatasetdatapoints.d.ts +210 -12
  573. package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
  574. package/models/operations/listdatasetdatapoints.js +138 -9
  575. package/models/operations/listdatasetdatapoints.js.map +1 -1
  576. package/models/operations/listdatasets.d.ts +10 -0
  577. package/models/operations/listdatasets.d.ts.map +1 -1
  578. package/models/operations/listdatasets.js +4 -1
  579. package/models/operations/listdatasets.js.map +1 -1
  580. package/models/operations/listdatasources.js +1 -1
  581. package/models/operations/listidentities.d.ts +9 -0
  582. package/models/operations/listidentities.d.ts.map +1 -1
  583. package/models/operations/listidentities.js +2 -0
  584. package/models/operations/listidentities.js.map +1 -1
  585. package/models/operations/listknowledgebases.d.ts +33 -0
  586. package/models/operations/listknowledgebases.d.ts.map +1 -1
  587. package/models/operations/listknowledgebases.js +16 -1
  588. package/models/operations/listknowledgebases.js.map +1 -1
  589. package/models/operations/listpromptversions.d.ts +9 -3
  590. package/models/operations/listpromptversions.d.ts.map +1 -1
  591. package/models/operations/listpromptversions.js +18 -5
  592. package/models/operations/listpromptversions.js.map +1 -1
  593. package/models/operations/managementkeydelete.d.ts +15 -0
  594. package/models/operations/managementkeydelete.d.ts.map +1 -0
  595. package/models/operations/managementkeydelete.js +54 -0
  596. package/models/operations/managementkeydelete.js.map +1 -0
  597. package/models/operations/managementkeyget.d.ts +15 -0
  598. package/models/operations/managementkeyget.d.ts.map +1 -0
  599. package/models/operations/managementkeyget.js +54 -0
  600. package/models/operations/managementkeyget.js.map +1 -0
  601. package/models/operations/managementkeylist.d.ts +53 -0
  602. package/models/operations/managementkeylist.d.ts.map +1 -0
  603. package/models/operations/managementkeylist.js +63 -0
  604. package/models/operations/managementkeylist.js.map +1 -0
  605. package/models/operations/managementkeyupdate.d.ts +18 -0
  606. package/models/operations/managementkeyupdate.d.ts.map +1 -0
  607. package/models/operations/managementkeyupdate.js +57 -0
  608. package/models/operations/managementkeyupdate.js.map +1 -0
  609. package/models/operations/modelcreateawsbedrock.d.ts +4 -0
  610. package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
  611. package/models/operations/modelcreateawsbedrock.js +4 -0
  612. package/models/operations/modelcreateawsbedrock.js.map +1 -1
  613. package/models/operations/modelupdateawsbedrock.d.ts +4 -2
  614. package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
  615. package/models/operations/modelupdateawsbedrock.js +4 -2
  616. package/models/operations/modelupdateawsbedrock.js.map +1 -1
  617. package/models/operations/modelvalidateawsbedrock.d.ts +2 -0
  618. package/models/operations/modelvalidateawsbedrock.d.ts.map +1 -1
  619. package/models/operations/modelvalidateawsbedrock.js +2 -0
  620. package/models/operations/modelvalidateawsbedrock.js.map +1 -1
  621. package/models/operations/patchv2humanevalsetsid.js +2 -2
  622. package/models/operations/postv2feedbackevaluation.d.ts +33 -12
  623. package/models/operations/postv2feedbackevaluation.d.ts.map +1 -1
  624. package/models/operations/postv2feedbackevaluation.js +9 -6
  625. package/models/operations/postv2feedbackevaluation.js.map +1 -1
  626. package/models/operations/postv2humanevalsets.js +2 -2
  627. package/models/operations/retrieveagentrequest.d.ts +16 -0
  628. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  629. package/models/operations/retrieveagentrequest.js +32 -2
  630. package/models/operations/retrieveagentrequest.js.map +1 -1
  631. package/models/operations/retrievedatapoint.d.ts +210 -12
  632. package/models/operations/retrievedatapoint.d.ts.map +1 -1
  633. package/models/operations/retrievedatapoint.js +140 -8
  634. package/models/operations/retrievedatapoint.js.map +1 -1
  635. package/models/operations/retrievedataset.js +1 -1
  636. package/models/operations/retrievedatasource.js +1 -1
  637. package/models/operations/retrieveidentity.d.ts +8 -0
  638. package/models/operations/retrieveidentity.d.ts.map +1 -1
  639. package/models/operations/retrieveidentity.js +2 -0
  640. package/models/operations/retrieveidentity.js.map +1 -1
  641. package/models/operations/retrievememorystore.d.ts +1 -1
  642. package/models/operations/retrievememorystore.d.ts.map +1 -1
  643. package/models/operations/retrievememorystore.js +1 -1
  644. package/models/operations/retrievememorystore.js.map +1 -1
  645. package/models/operations/retrievetool.js +6 -6
  646. package/models/operations/runagent.d.ts +22 -0
  647. package/models/operations/runagent.d.ts.map +1 -1
  648. package/models/operations/runagent.js +34 -4
  649. package/models/operations/runagent.js.map +1 -1
  650. package/models/operations/streamagent.d.ts +9 -6
  651. package/models/operations/streamagent.d.ts.map +1 -1
  652. package/models/operations/streamagent.js +6 -6
  653. package/models/operations/streamagent.js.map +1 -1
  654. package/models/operations/streamrunagent.d.ts +22 -0
  655. package/models/operations/streamrunagent.d.ts.map +1 -1
  656. package/models/operations/streamrunagent.js +34 -4
  657. package/models/operations/streamrunagent.js.map +1 -1
  658. package/models/operations/updateagent.d.ts +38 -0
  659. package/models/operations/updateagent.d.ts.map +1 -1
  660. package/models/operations/updateagent.js +65 -5
  661. package/models/operations/updateagent.js.map +1 -1
  662. package/models/operations/updatedatapoint.d.ts +219 -15
  663. package/models/operations/updatedatapoint.d.ts.map +1 -1
  664. package/models/operations/updatedatapoint.js +146 -10
  665. package/models/operations/updatedatapoint.js.map +1 -1
  666. package/models/operations/updatedataset.js +1 -1
  667. package/models/operations/updatedatasource.js +1 -1
  668. package/models/operations/updateeval.d.ts +4 -901
  669. package/models/operations/updateeval.d.ts.map +1 -1
  670. package/models/operations/updateeval.js +10 -1376
  671. package/models/operations/updateeval.js.map +1 -1
  672. package/models/operations/updatememorystore.d.ts +3 -3
  673. package/models/operations/updatememorystore.d.ts.map +1 -1
  674. package/models/operations/updatememorystore.js +2 -2
  675. package/models/operations/updatememorystore.js.map +1 -1
  676. package/models/operations/updateprompt.d.ts +29 -9
  677. package/models/operations/updateprompt.d.ts.map +1 -1
  678. package/models/operations/updateprompt.js +40 -11
  679. package/models/operations/updateprompt.js.map +1 -1
  680. package/models/operations/updatetool.js +7 -7
  681. package/package.json +4 -5
  682. package/packages/orq-rc/examples/evalsAll.example.ts +26 -0
  683. package/packages/orq-rc/src/core.ts +13 -0
  684. package/packages/orq-rc/src/funcs/agentsCreate.ts +163 -0
  685. package/packages/orq-rc/src/funcs/agentsDelete.ts +181 -0
  686. package/packages/orq-rc/src/funcs/agentsInvoke.ts +178 -0
  687. package/packages/orq-rc/src/funcs/agentsList.ts +186 -0
  688. package/packages/orq-rc/src/funcs/agentsRefreshKeyCard.ts +188 -0
  689. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +187 -0
  690. package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +183 -0
  691. package/packages/orq-rc/src/funcs/agentsRetrieve.ts +181 -0
  692. package/packages/orq-rc/src/funcs/agentsRun.ts +164 -0
  693. package/packages/orq-rc/src/funcs/agentsStream.ts +205 -0
  694. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +191 -0
  695. package/packages/orq-rc/src/funcs/agentsUpdate.ts +185 -0
  696. package/packages/orq-rc/src/funcs/annotationsCreate.ts +175 -0
  697. package/packages/orq-rc/src/funcs/annotationsDelete.ts +175 -0
  698. package/packages/orq-rc/src/funcs/apiKeysCreate.ts +162 -0
  699. package/packages/orq-rc/src/funcs/apiKeysDelete.ts +168 -0
  700. package/packages/orq-rc/src/funcs/apiKeysGet.ts +173 -0
  701. package/packages/orq-rc/src/funcs/apiKeysList.ts +176 -0
  702. package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +144 -0
  703. package/packages/orq-rc/src/funcs/apiKeysUpdate.ts +171 -0
  704. package/packages/orq-rc/src/funcs/budgetsCheck.ts +162 -0
  705. package/packages/orq-rc/src/funcs/budgetsCreate.ts +162 -0
  706. package/packages/orq-rc/src/funcs/budgetsDelete.ts +168 -0
  707. package/packages/orq-rc/src/funcs/budgetsGet.ts +168 -0
  708. package/packages/orq-rc/src/funcs/budgetsGetConsumption.ts +169 -0
  709. package/packages/orq-rc/src/funcs/budgetsList.ts +176 -0
  710. package/packages/orq-rc/src/funcs/budgetsResetConsumption.ts +174 -0
  711. package/packages/orq-rc/src/funcs/budgetsUpdate.ts +171 -0
  712. package/packages/orq-rc/src/funcs/chunkingParse.ts +162 -0
  713. package/packages/orq-rc/src/funcs/datasetsClear.ts +168 -0
  714. package/packages/orq-rc/src/funcs/datasetsCreate.ts +167 -0
  715. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +172 -0
  716. package/packages/orq-rc/src/funcs/datasetsDelete.ts +168 -0
  717. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +183 -0
  718. package/packages/orq-rc/src/funcs/datasetsList.ts +171 -0
  719. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +184 -0
  720. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +176 -0
  721. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +182 -0
  722. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +177 -0
  723. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +180 -0
  724. package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +170 -0
  725. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +170 -0
  726. package/packages/orq-rc/src/funcs/deploymentsList.ts +178 -0
  727. package/packages/orq-rc/src/funcs/deploymentsStream.ts +180 -0
  728. package/packages/orq-rc/src/funcs/evalsAll.ts +178 -0
  729. package/packages/orq-rc/src/funcs/evalsCreate.ts +171 -0
  730. package/packages/orq-rc/src/funcs/evalsDelete.ts +174 -0
  731. package/packages/orq-rc/src/funcs/evalsInvoke.ts +182 -0
  732. package/packages/orq-rc/src/funcs/evalsListVersions.ts +184 -0
  733. package/packages/orq-rc/src/funcs/evalsUpdate.ts +174 -0
  734. package/packages/orq-rc/src/funcs/feedbackCreate.ts +174 -0
  735. package/packages/orq-rc/src/funcs/feedbackCreateEvaluation.ts +161 -0
  736. package/packages/orq-rc/src/funcs/feedbackRemove.ts +169 -0
  737. package/packages/orq-rc/src/funcs/feedbackRemoveEvaluation.ts +161 -0
  738. package/packages/orq-rc/src/funcs/filesCreate.ts +162 -0
  739. package/packages/orq-rc/src/funcs/filesDelete.ts +168 -0
  740. package/packages/orq-rc/src/funcs/filesGet.ts +168 -0
  741. package/packages/orq-rc/src/funcs/filesGetContent.ts +168 -0
  742. package/packages/orq-rc/src/funcs/filesList.ts +171 -0
  743. package/packages/orq-rc/src/funcs/filesUpdate.ts +169 -0
  744. package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +163 -0
  745. package/packages/orq-rc/src/funcs/guardrailRulesDelete.ts +172 -0
  746. package/packages/orq-rc/src/funcs/guardrailRulesList.ts +176 -0
  747. package/packages/orq-rc/src/funcs/guardrailRulesListUsedGuardrails.ts +147 -0
  748. package/packages/orq-rc/src/funcs/guardrailRulesRetrieve.ts +170 -0
  749. package/packages/orq-rc/src/funcs/guardrailRulesUpdate.ts +172 -0
  750. package/packages/orq-rc/src/funcs/humanReviewSetsCreate.ts +164 -0
  751. package/packages/orq-rc/src/funcs/humanReviewSetsDelete.ts +166 -0
  752. package/packages/orq-rc/src/funcs/humanReviewSetsGet.ts +165 -0
  753. package/packages/orq-rc/src/funcs/humanReviewSetsList.ts +170 -0
  754. package/packages/orq-rc/src/funcs/humanReviewSetsUpdate.ts +166 -0
  755. package/packages/orq-rc/src/funcs/identitiesCreate.ts +162 -0
  756. package/packages/orq-rc/src/funcs/identitiesDelete.ts +168 -0
  757. package/packages/orq-rc/src/funcs/identitiesList.ts +175 -0
  758. package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +174 -0
  759. package/packages/orq-rc/src/funcs/identitiesUpdate.ts +171 -0
  760. package/packages/orq-rc/src/funcs/knowledgeCreate.ts +160 -0
  761. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +172 -0
  762. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +167 -0
  763. package/packages/orq-rc/src/funcs/knowledgeDelete.ts +168 -0
  764. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +175 -0
  765. package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +171 -0
  766. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +174 -0
  767. package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +174 -0
  768. package/packages/orq-rc/src/funcs/knowledgeList.ts +175 -0
  769. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +179 -0
  770. package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +172 -0
  771. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +175 -0
  772. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +167 -0
  773. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +174 -0
  774. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +170 -0
  775. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +168 -0
  776. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +165 -0
  777. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +175 -0
  778. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +171 -0
  779. package/packages/orq-rc/src/funcs/managementKeysCreate.ts +163 -0
  780. package/packages/orq-rc/src/funcs/managementKeysDelete.ts +172 -0
  781. package/packages/orq-rc/src/funcs/managementKeysGet.ts +171 -0
  782. package/packages/orq-rc/src/funcs/managementKeysList.ts +175 -0
  783. package/packages/orq-rc/src/funcs/managementKeysListCapabilities.ts +144 -0
  784. package/packages/orq-rc/src/funcs/managementKeysUpdate.ts +175 -0
  785. package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +164 -0
  786. package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +177 -0
  787. package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +171 -0
  788. package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +169 -0
  789. package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +186 -0
  790. package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +181 -0
  791. package/packages/orq-rc/src/funcs/memoryStoresList.ts +183 -0
  792. package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +185 -0
  793. package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +178 -0
  794. package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +178 -0
  795. package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +180 -0
  796. package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +175 -0
  797. package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +169 -0
  798. package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +181 -0
  799. package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +176 -0
  800. package/packages/orq-rc/src/funcs/modelsAzureFoundryDeployments.ts +168 -0
  801. package/packages/orq-rc/src/funcs/modelsCreate.ts +162 -0
  802. package/packages/orq-rc/src/funcs/modelsCreateAutorouter.ts +163 -0
  803. package/packages/orq-rc/src/funcs/modelsCreateAwsBedrock.ts +163 -0
  804. package/packages/orq-rc/src/funcs/modelsCreateOpenaiLike.ts +163 -0
  805. package/packages/orq-rc/src/funcs/modelsCreateVertex.ts +163 -0
  806. package/packages/orq-rc/src/funcs/modelsDelete.ts +168 -0
  807. package/packages/orq-rc/src/funcs/modelsDisable.ts +168 -0
  808. package/packages/orq-rc/src/funcs/modelsEnable.ts +163 -0
  809. package/packages/orq-rc/src/funcs/modelsList.ts +144 -0
  810. package/packages/orq-rc/src/funcs/modelsUpdate.ts +168 -0
  811. package/packages/orq-rc/src/funcs/modelsUpdateAutorouter.ts +169 -0
  812. package/packages/orq-rc/src/funcs/modelsUpdateAwsBedrock.ts +169 -0
  813. package/packages/orq-rc/src/funcs/modelsUpdateOpenaiLike.ts +169 -0
  814. package/packages/orq-rc/src/funcs/modelsValidate.ts +163 -0
  815. package/packages/orq-rc/src/funcs/modelsValidateAwsBedrock.ts +164 -0
  816. package/packages/orq-rc/src/funcs/notifiersCreate.ts +162 -0
  817. package/packages/orq-rc/src/funcs/notifiersDelete.ts +168 -0
  818. package/packages/orq-rc/src/funcs/notifiersGet.ts +168 -0
  819. package/packages/orq-rc/src/funcs/notifiersList.ts +171 -0
  820. package/packages/orq-rc/src/funcs/notifiersUpdate.ts +171 -0
  821. package/packages/orq-rc/src/funcs/piiDetect.ts +162 -0
  822. package/packages/orq-rc/src/funcs/piiRedact.ts +162 -0
  823. package/packages/orq-rc/src/funcs/piiRestore.ts +162 -0
  824. package/packages/orq-rc/src/funcs/policiesCreate.ts +162 -0
  825. package/packages/orq-rc/src/funcs/policiesDelete.ts +168 -0
  826. package/packages/orq-rc/src/funcs/policiesList.ts +170 -0
  827. package/packages/orq-rc/src/funcs/policiesRetrieve.ts +167 -0
  828. package/packages/orq-rc/src/funcs/policiesUpdate.ts +168 -0
  829. package/packages/orq-rc/src/funcs/projectsCreate.ts +162 -0
  830. package/packages/orq-rc/src/funcs/projectsDelete.ts +168 -0
  831. package/packages/orq-rc/src/funcs/projectsGet.ts +168 -0
  832. package/packages/orq-rc/src/funcs/projectsList.ts +170 -0
  833. package/packages/orq-rc/src/funcs/projectsUpdate.ts +171 -0
  834. package/packages/orq-rc/src/funcs/promptsCreate.ts +163 -0
  835. package/packages/orq-rc/src/funcs/promptsDelete.ts +174 -0
  836. package/packages/orq-rc/src/funcs/promptsGetVersion.ts +182 -0
  837. package/packages/orq-rc/src/funcs/promptsList.ts +169 -0
  838. package/packages/orq-rc/src/funcs/promptsListVersions.ts +174 -0
  839. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +167 -0
  840. package/packages/orq-rc/src/funcs/promptsUpdate.ts +174 -0
  841. package/packages/orq-rc/src/funcs/reportingQuery.ts +162 -0
  842. package/packages/orq-rc/src/funcs/responsesCreate.ts +170 -0
  843. package/packages/orq-rc/src/funcs/responsesGet.ts +167 -0
  844. package/packages/orq-rc/src/funcs/routerAudioSpeechCreate.ts +163 -0
  845. package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +272 -0
  846. package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +262 -0
  847. package/packages/orq-rc/src/funcs/routerChatCompletionsCreate.ts +170 -0
  848. package/packages/orq-rc/src/funcs/routerCompletionsCreate.ts +170 -0
  849. package/packages/orq-rc/src/funcs/routerEmbeddingsCreate.ts +163 -0
  850. package/packages/orq-rc/src/funcs/routerImagesEditsCreate.ts +224 -0
  851. package/packages/orq-rc/src/funcs/routerImagesGenerationsCreate.ts +162 -0
  852. package/packages/orq-rc/src/funcs/routerImagesVariationsCreate.ts +220 -0
  853. package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +169 -0
  854. package/packages/orq-rc/src/funcs/routerOcr.ts +160 -0
  855. package/packages/orq-rc/src/funcs/routerRerankCreate.ts +162 -0
  856. package/packages/orq-rc/src/funcs/routingRulesCreate.ts +163 -0
  857. package/packages/orq-rc/src/funcs/routingRulesDelete.ts +168 -0
  858. package/packages/orq-rc/src/funcs/routingRulesList.ts +173 -0
  859. package/packages/orq-rc/src/funcs/routingRulesListUsedModels.ts +144 -0
  860. package/packages/orq-rc/src/funcs/routingRulesRetrieve.ts +167 -0
  861. package/packages/orq-rc/src/funcs/routingRulesUpdate.ts +168 -0
  862. package/packages/orq-rc/src/funcs/schedulesCreate.ts +185 -0
  863. package/packages/orq-rc/src/funcs/schedulesDelete.ts +184 -0
  864. package/packages/orq-rc/src/funcs/schedulesList.ts +167 -0
  865. package/packages/orq-rc/src/funcs/schedulesRetrieve.ts +183 -0
  866. package/packages/orq-rc/src/funcs/schedulesTrigger.ts +190 -0
  867. package/packages/orq-rc/src/funcs/schedulesUpdate.ts +191 -0
  868. package/packages/orq-rc/src/funcs/skillsCreate.ts +162 -0
  869. package/packages/orq-rc/src/funcs/skillsDelete.ts +168 -0
  870. package/packages/orq-rc/src/funcs/skillsGet.ts +168 -0
  871. package/packages/orq-rc/src/funcs/skillsList.ts +170 -0
  872. package/packages/orq-rc/src/funcs/skillsUpdate.ts +171 -0
  873. package/{src/funcs/modelsImportLitellm.ts → packages/orq-rc/src/funcs/toolsCreate.ts} +14 -15
  874. package/packages/orq-rc/src/funcs/toolsDelete.ts +168 -0
  875. package/packages/orq-rc/src/funcs/toolsGetVersion.ts +191 -0
  876. package/packages/orq-rc/src/funcs/toolsList.ts +178 -0
  877. package/packages/orq-rc/src/funcs/toolsListVersions.ts +184 -0
  878. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +167 -0
  879. package/packages/orq-rc/src/funcs/toolsUpdate.ts +177 -0
  880. package/packages/orq-rc/src/funcs/tracesAggregate.ts +162 -0
  881. package/packages/orq-rc/src/funcs/tracesGet.ts +168 -0
  882. package/packages/orq-rc/src/funcs/tracesGetSpan.ts +172 -0
  883. package/packages/orq-rc/src/funcs/tracesListFacetValues.ts +177 -0
  884. package/{src/funcs/modelsListLitellm.ts → packages/orq-rc/src/funcs/tracesListFacets.ts} +12 -12
  885. package/packages/orq-rc/src/funcs/tracesListFields.ts +144 -0
  886. package/packages/orq-rc/src/funcs/tracesListSpans.ts +174 -0
  887. package/packages/orq-rc/src/funcs/tracesQuery.ts +162 -0
  888. package/packages/orq-rc/src/funcs/tracesSearch.ts +162 -0
  889. package/packages/orq-rc/src/hooks/global.ts +44 -0
  890. package/packages/orq-rc/src/hooks/hooks.ts +132 -0
  891. package/packages/orq-rc/src/hooks/index.ts +6 -0
  892. package/packages/orq-rc/src/hooks/registration.ts +15 -0
  893. package/packages/orq-rc/src/hooks/types.ts +113 -0
  894. package/packages/orq-rc/src/index.ts +9 -0
  895. package/packages/orq-rc/src/lib/base64.ts +37 -0
  896. package/packages/orq-rc/src/lib/config.ts +64 -0
  897. package/packages/orq-rc/src/lib/encodings.ts +525 -0
  898. package/packages/orq-rc/src/lib/env.ts +61 -0
  899. package/packages/orq-rc/src/lib/event-streams.ts +191 -0
  900. package/packages/orq-rc/src/lib/files.ts +104 -0
  901. package/packages/orq-rc/src/lib/http.ts +323 -0
  902. package/packages/orq-rc/src/lib/logger.ts +9 -0
  903. package/packages/orq-rc/src/lib/matchers.ts +346 -0
  904. package/packages/orq-rc/src/lib/primitives.ts +166 -0
  905. package/packages/orq-rc/src/lib/retries.ts +226 -0
  906. package/packages/orq-rc/src/lib/schemas.ts +91 -0
  907. package/packages/orq-rc/src/lib/sdks.ts +443 -0
  908. package/packages/orq-rc/src/lib/security.ts +275 -0
  909. package/packages/orq-rc/src/lib/url.ts +35 -0
  910. package/packages/orq-rc/src/models/components/actionreviewedstreamingevent.ts +99 -0
  911. package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +190 -0
  912. package/packages/orq-rc/src/models/components/agenterroredstreamingevent.ts +73 -0
  913. package/packages/orq-rc/src/models/components/agentexecutionstartedstreamingevent.ts +91 -0
  914. package/packages/orq-rc/src/models/components/agenthandedoffstreamingevent.ts +71 -0
  915. package/packages/orq-rc/src/models/components/agentinactivestreamingevent.ts +507 -0
  916. package/packages/orq-rc/src/models/components/agentmessagecreatedstreamingevent.ts +165 -0
  917. package/packages/orq-rc/src/models/components/agentresponsemessage.ts +103 -0
  918. package/packages/orq-rc/src/models/components/agentresponserequest.ts +565 -0
  919. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +525 -0
  920. package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +807 -0
  921. package/packages/orq-rc/src/models/components/aggregatetracesrequest.ts +65 -0
  922. package/packages/orq-rc/src/models/components/aggregatetracesresponse.ts +37 -0
  923. package/packages/orq-rc/src/models/components/allprojects.ts +39 -0
  924. package/packages/orq-rc/src/models/components/apikey.ts +287 -0
  925. package/packages/orq-rc/src/models/components/apikeybudgetscope.ts +66 -0
  926. package/packages/orq-rc/src/models/components/apikeyowner.ts +82 -0
  927. package/packages/orq-rc/src/models/components/apikeystatus.ts +21 -0
  928. package/packages/orq-rc/src/models/components/audiocontentpartschema.ts +136 -0
  929. package/packages/orq-rc/src/models/components/autorouterconfig.ts +88 -0
  930. package/packages/orq-rc/src/models/components/autorouterv2config.ts +92 -0
  931. package/packages/orq-rc/src/models/components/autorouterv2effortconfig.ts +66 -0
  932. package/packages/orq-rc/src/models/components/azurefoundrydeployment.ts +51 -0
  933. package/packages/orq-rc/src/models/components/azurefoundrydeploymentmasterdata.ts +60 -0
  934. package/packages/orq-rc/src/models/components/budget.ts +114 -0
  935. package/packages/orq-rc/src/models/components/budgetlimit.ts +83 -0
  936. package/packages/orq-rc/src/models/components/budgetlimits.ts +84 -0
  937. package/packages/orq-rc/src/models/components/budgetmatch.ts +56 -0
  938. package/packages/orq-rc/src/models/components/budgetperiod.ts +23 -0
  939. package/packages/orq-rc/src/models/components/budgetrejection.ts +48 -0
  940. package/packages/orq-rc/src/models/components/budgetscope.ts +150 -0
  941. package/packages/orq-rc/src/models/components/budgetscopekind.ts +22 -0
  942. package/packages/orq-rc/src/models/components/budgetsortfield.ts +19 -0
  943. package/packages/orq-rc/src/models/components/budgetusage.ts +54 -0
  944. package/packages/orq-rc/src/models/components/checkbudgetsrequest.ts +111 -0
  945. package/packages/orq-rc/src/models/components/checkbudgetsresponse.ts +62 -0
  946. package/packages/orq-rc/src/models/components/conversationparam.ts +51 -0
  947. package/packages/orq-rc/src/models/components/createagentresponse.ts +305 -0
  948. package/packages/orq-rc/src/models/components/createapikeyrequest.ts +91 -0
  949. package/packages/orq-rc/src/models/components/createapikeyresponse.ts +49 -0
  950. package/packages/orq-rc/src/models/components/createbudgetrequest.ts +109 -0
  951. package/packages/orq-rc/src/models/components/createbudgetresponse.ts +35 -0
  952. package/packages/orq-rc/src/models/components/createfilerequest.ts +62 -0
  953. package/packages/orq-rc/src/models/components/createfileresponse.ts +35 -0
  954. package/packages/orq-rc/src/models/components/createidentityrequest.ts +100 -0
  955. package/packages/orq-rc/src/models/components/createidentityresponse.ts +35 -0
  956. package/packages/orq-rc/src/models/components/createmanagementkeyrequest.ts +69 -0
  957. package/packages/orq-rc/src/models/components/createmanagementkeyresponse.ts +48 -0
  958. package/packages/orq-rc/src/models/components/createmodelparameter.ts +54 -0
  959. package/packages/orq-rc/src/models/components/createnotifierrequest.ts +433 -0
  960. package/packages/orq-rc/src/models/components/createnotifierresponse.ts +35 -0
  961. package/packages/orq-rc/src/models/components/createprojectrequest.ts +46 -0
  962. package/packages/orq-rc/src/models/components/createprojectresponse.ts +35 -0
  963. package/packages/orq-rc/src/models/components/createskillrequest.ts +159 -0
  964. package/packages/orq-rc/src/models/components/createskillresponse.ts +35 -0
  965. package/packages/orq-rc/src/models/components/datapart.ts +38 -0
  966. package/packages/orq-rc/src/models/components/datapoint.ts +60 -0
  967. package/packages/orq-rc/src/models/components/deleteapikeyresponse.ts +27 -0
  968. package/packages/orq-rc/src/models/components/deletebudgetresponse.ts +27 -0
  969. package/packages/orq-rc/src/models/components/deletefileresponse.ts +27 -0
  970. package/packages/orq-rc/src/models/components/deleteidentityresponse.ts +27 -0
  971. package/packages/orq-rc/src/models/components/deletemanagementkeyresponse.ts +27 -0
  972. package/packages/orq-rc/src/models/components/deletenotifierresponse.ts +27 -0
  973. package/packages/orq-rc/src/models/components/deleteprojectresponse.ts +27 -0
  974. package/packages/orq-rc/src/models/components/deleteskillresponse.ts +27 -0
  975. package/packages/orq-rc/src/models/components/detectrequest.ts +56 -0
  976. package/packages/orq-rc/src/models/components/detectresponse.ts +41 -0
  977. package/packages/orq-rc/src/models/components/dimensioninfo.ts +43 -0
  978. package/packages/orq-rc/src/models/components/domain.ts +66 -0
  979. package/packages/orq-rc/src/models/components/embeddingcacheconfig.ts +59 -0
  980. package/packages/orq-rc/src/models/components/embeddingcontactparams.ts +48 -0
  981. package/packages/orq-rc/src/models/components/embeddingloadbalancerconfig.ts +66 -0
  982. package/packages/orq-rc/src/models/components/embeddingloadbalancermodelconfig.ts +42 -0
  983. package/packages/orq-rc/src/models/components/embeddingorqparams.ts +101 -0
  984. package/packages/orq-rc/src/models/components/embeddingretryconfig.ts +45 -0
  985. package/packages/orq-rc/src/models/components/embeddingtimeoutconfig.ts +39 -0
  986. package/packages/orq-rc/src/models/components/errorpart.ts +58 -0
  987. package/packages/orq-rc/src/models/components/errorstreamingevent.ts +66 -0
  988. package/packages/orq-rc/src/models/components/evaluatorref.ts +93 -0
  989. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +916 -0
  990. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +71 -0
  991. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +54 -0
  992. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +304 -0
  993. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +54 -0
  994. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +78 -0
  995. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +54 -0
  996. package/packages/orq-rc/src/models/components/executionnamedstreamingevent.ts +71 -0
  997. package/packages/orq-rc/src/models/components/executionreviewedstreamingevent.ts +61 -0
  998. package/packages/orq-rc/src/models/components/executionreviewrequiredstreamingevent.ts +67 -0
  999. package/packages/orq-rc/src/models/components/expression.ts +33 -0
  1000. package/packages/orq-rc/src/models/components/expressioninput.ts +29 -0
  1001. package/packages/orq-rc/src/models/components/extendedmessage.ts +146 -0
  1002. package/packages/orq-rc/src/models/components/fallbackconfig.ts +27 -0
  1003. package/packages/orq-rc/src/models/components/file.ts +64 -0
  1004. package/packages/orq-rc/src/models/components/filecontentpartschema.ts +87 -0
  1005. package/packages/orq-rc/src/models/components/filepart.ts +223 -0
  1006. package/packages/orq-rc/src/models/components/filepurpose.ts +21 -0
  1007. package/packages/orq-rc/src/models/components/filter.ts +137 -0
  1008. package/packages/orq-rc/src/models/components/getagentresponse.ts +348 -0
  1009. package/packages/orq-rc/src/models/components/getapikeyresponse.ts +40 -0
  1010. package/packages/orq-rc/src/models/components/getbudgetconsumptionresponse.ts +71 -0
  1011. package/packages/orq-rc/src/models/components/getbudgetresponse.ts +35 -0
  1012. package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +39 -0
  1013. package/packages/orq-rc/src/models/components/getfileresponse.ts +35 -0
  1014. package/packages/orq-rc/src/models/components/getmanagementkeyresponse.ts +40 -0
  1015. package/packages/orq-rc/src/models/components/getnotifierresponse.ts +35 -0
  1016. package/packages/orq-rc/src/models/components/getprojectresponse.ts +35 -0
  1017. package/packages/orq-rc/src/models/components/getskillresponse.ts +35 -0
  1018. package/packages/orq-rc/src/models/components/gettraceresponse.ts +32 -0
  1019. package/packages/orq-rc/src/models/components/gettracespanresponse.ts +32 -0
  1020. package/packages/orq-rc/src/models/components/guardrailref.ts +91 -0
  1021. package/packages/orq-rc/src/models/components/guardrailrule.ts +69 -0
  1022. package/packages/orq-rc/src/models/components/identity.ts +246 -0
  1023. package/packages/orq-rc/src/models/components/identitybudgetscope.ts +66 -0
  1024. package/packages/orq-rc/src/models/components/identitymetrics.ts +57 -0
  1025. package/packages/orq-rc/src/models/components/identitysortfield.ts +18 -0
  1026. package/packages/orq-rc/src/models/components/imagecontentpartschema.ts +268 -0
  1027. package/packages/orq-rc/src/models/components/incompletedetails.ts +31 -0
  1028. package/packages/orq-rc/src/models/components/index.ts +327 -0
  1029. package/packages/orq-rc/src/models/components/inputtokensdetails.ts +45 -0
  1030. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +3492 -0
  1031. package/packages/orq-rc/src/models/components/legacytokenfamily.ts +19 -0
  1032. package/packages/orq-rc/src/models/components/limits.ts +70 -0
  1033. package/packages/orq-rc/src/models/components/listapikeysresponse.ts +56 -0
  1034. package/packages/orq-rc/src/models/components/listbudgetsresponse.ts +53 -0
  1035. package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +38 -0
  1036. package/packages/orq-rc/src/models/components/listfilesresponse.ts +50 -0
  1037. package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +53 -0
  1038. package/packages/orq-rc/src/models/components/listmanagementcapabilitiesresponse.ts +36 -0
  1039. package/packages/orq-rc/src/models/components/listmanagementkeysresponse.ts +56 -0
  1040. package/packages/orq-rc/src/models/components/listnotifiersresponse.ts +50 -0
  1041. package/packages/orq-rc/src/models/components/listprojectsresponse.ts +53 -0
  1042. package/packages/orq-rc/src/models/components/listskillsresponse.ts +53 -0
  1043. package/packages/orq-rc/src/models/components/listtracefacetsresponse.ts +32 -0
  1044. package/packages/orq-rc/src/models/components/listtracefacetvaluesresponse.ts +44 -0
  1045. package/packages/orq-rc/src/models/components/listtracefieldsresponse.ts +32 -0
  1046. package/packages/orq-rc/src/models/components/listtracespansresponse.ts +44 -0
  1047. package/packages/orq-rc/src/models/components/managementkey.ts +132 -0
  1048. package/packages/orq-rc/src/models/components/managementkeystatus.ts +23 -0
  1049. package/packages/orq-rc/src/models/components/managementpermissionmode.ts +25 -0
  1050. package/packages/orq-rc/src/models/components/memoryparam.ts +56 -0
  1051. package/packages/orq-rc/src/models/components/modelbudgetscope.ts +67 -0
  1052. package/packages/orq-rc/src/models/components/modelconfigurationresponse.ts +82 -0
  1053. package/packages/orq-rc/src/models/components/modelmetadata.ts +738 -0
  1054. package/packages/orq-rc/src/models/components/modelparameterdocument.ts +53 -0
  1055. package/packages/orq-rc/src/models/components/modelref.ts +70 -0
  1056. package/packages/orq-rc/src/models/components/modelsconfig.ts +74 -0
  1057. package/packages/orq-rc/src/models/components/notifier.ts +465 -0
  1058. package/packages/orq-rc/src/models/components/notifiertype.ts +21 -0
  1059. package/packages/orq-rc/src/models/components/outputtokensdetails.ts +36 -0
  1060. package/packages/orq-rc/src/models/components/ownertype.ts +17 -0
  1061. package/packages/orq-rc/src/models/components/partdelta.ts +39 -0
  1062. package/packages/orq-rc/src/models/components/partdeltaevent.ts +73 -0
  1063. package/packages/orq-rc/src/models/components/partdoneevent.ts +70 -0
  1064. package/packages/orq-rc/src/models/components/permissionmode.ts +23 -0
  1065. package/packages/orq-rc/src/models/components/piiredactionplugin.ts +44 -0
  1066. package/packages/orq-rc/src/models/components/piiredactionpluginauto.ts +185 -0
  1067. package/packages/orq-rc/src/models/components/piiredactionpluginen.ts +222 -0
  1068. package/packages/orq-rc/src/models/components/piiredactionpluginnl.ts +218 -0
  1069. package/packages/orq-rc/src/models/components/plugin.ts +37 -0
  1070. package/packages/orq-rc/src/models/components/policy.ts +80 -0
  1071. package/packages/orq-rc/src/models/components/policyretryconfig.ts +64 -0
  1072. package/packages/orq-rc/src/models/components/price.ts +56 -0
  1073. package/packages/orq-rc/src/models/components/pricing.ts +93 -0
  1074. package/packages/orq-rc/src/models/components/pricingvariant.ts +90 -0
  1075. package/packages/orq-rc/src/models/components/project.ts +108 -0
  1076. package/packages/orq-rc/src/models/components/projectbudgetscope.ts +63 -0
  1077. package/packages/orq-rc/src/models/components/projectscope.ts +70 -0
  1078. package/packages/orq-rc/src/models/components/providerbudgetscope.ts +57 -0
  1079. package/packages/orq-rc/src/models/components/publiccontact.ts +71 -0
  1080. package/packages/orq-rc/src/models/components/publicembeddingdata.ts +60 -0
  1081. package/packages/orq-rc/src/models/components/publicembeddingusage.ts +45 -0
  1082. package/packages/orq-rc/src/models/components/publicidentity.ts +69 -0
  1083. package/packages/orq-rc/src/models/components/publicmodelentry.ts +71 -0
  1084. package/packages/orq-rc/src/models/components/publicpiiredactionplugin.ts +127 -0
  1085. package/packages/orq-rc/src/models/components/publicresponseresource.ts +196 -0
  1086. package/packages/orq-rc/src/models/components/publicschedule.ts +118 -0
  1087. package/packages/orq-rc/src/models/components/publicscheduleerrordetail.ts +39 -0
  1088. package/packages/orq-rc/src/models/components/publicschedulepayload.ts +84 -0
  1089. package/packages/orq-rc/src/models/components/publicusage.ts +77 -0
  1090. package/packages/orq-rc/src/models/components/queryreportrequest.ts +237 -0
  1091. package/packages/orq-rc/src/models/components/queryreportresponse.ts +99 -0
  1092. package/packages/orq-rc/src/models/components/querytracesrequest.ts +48 -0
  1093. package/packages/orq-rc/src/models/components/querytracesresponse.ts +37 -0
  1094. package/packages/orq-rc/src/models/components/ratelimit.ts +62 -0
  1095. package/packages/orq-rc/src/models/components/reasoning.ts +79 -0
  1096. package/packages/orq-rc/src/models/components/reasoningparam.ts +74 -0
  1097. package/packages/orq-rc/src/models/components/reasoningpart.ts +62 -0
  1098. package/packages/orq-rc/src/models/components/reasoningpartschema.ts +71 -0
  1099. package/packages/orq-rc/src/models/components/redactedreasoningpartschema.ts +66 -0
  1100. package/packages/orq-rc/src/models/components/redactrequest.ts +33 -0
  1101. package/packages/orq-rc/src/models/components/redactresponse.ts +41 -0
  1102. package/packages/orq-rc/src/models/components/refusalpartschema.ts +64 -0
  1103. package/packages/orq-rc/src/models/components/requestlimit.ts +69 -0
  1104. package/packages/orq-rc/src/models/components/resetbudgetconsumptionrequest.ts +27 -0
  1105. package/packages/orq-rc/src/models/components/resetbudgetconsumptionresponse.ts +38 -0
  1106. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcodedeltastreamevent.ts +79 -0
  1107. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcodedonestreamevent.ts +79 -0
  1108. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcompletedstreamevent.ts +74 -0
  1109. package/packages/orq-rc/src/models/components/responsecodeinterpretercallinprogressstreamevent.ts +74 -0
  1110. package/packages/orq-rc/src/models/components/responsecodeinterpretercallinterpretingstreamevent.ts +74 -0
  1111. package/packages/orq-rc/src/models/components/responsecompletedstreamevent.ts +61 -0
  1112. package/packages/orq-rc/src/models/components/responsecontentpartaddedstreamevent.ts +79 -0
  1113. package/packages/orq-rc/src/models/components/responsecontentpartdonestreamevent.ts +79 -0
  1114. package/packages/orq-rc/src/models/components/responsecreatedstreamevent.ts +61 -0
  1115. package/packages/orq-rc/src/models/components/responsedoneevent.ts +324 -0
  1116. package/packages/orq-rc/src/models/components/responseerror.ts +33 -0
  1117. package/packages/orq-rc/src/models/components/responseerrorstreamevent.ts +58 -0
  1118. package/packages/orq-rc/src/models/components/responseexecutionlimits.ts +52 -0
  1119. package/packages/orq-rc/src/models/components/responsefailedevent.ts +72 -0
  1120. package/packages/orq-rc/src/models/components/responsefailedstreamevent.ts +61 -0
  1121. package/packages/orq-rc/src/models/components/responsefilesearchcallcompletedstreamevent.ts +71 -0
  1122. package/packages/orq-rc/src/models/components/responsefilesearchcallinprogressstreamevent.ts +74 -0
  1123. package/packages/orq-rc/src/models/components/responsefilesearchcallsearchingstreamevent.ts +71 -0
  1124. package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdeltastreamevent.ts +84 -0
  1125. package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdonestreamevent.ts +79 -0
  1126. package/packages/orq-rc/src/models/components/responseidentity.ts +48 -0
  1127. package/packages/orq-rc/src/models/components/responseimagegenerationcallcompletedstreamevent.ts +74 -0
  1128. package/packages/orq-rc/src/models/components/responseimagegenerationcallgeneratingstreamevent.ts +74 -0
  1129. package/packages/orq-rc/src/models/components/responseimagegenerationcallinprogressstreamevent.ts +74 -0
  1130. package/packages/orq-rc/src/models/components/responseimagegenerationcallpartialimagestreamevent.ts +86 -0
  1131. package/packages/orq-rc/src/models/components/responseincompletestreamevent.ts +61 -0
  1132. package/packages/orq-rc/src/models/components/responseinprogressstreamevent.ts +61 -0
  1133. package/packages/orq-rc/src/models/components/responsemcpcallargumentsdeltastreamevent.ts +78 -0
  1134. package/packages/orq-rc/src/models/components/responsemcpcallargumentsdonestreamevent.ts +78 -0
  1135. package/packages/orq-rc/src/models/components/responsemcpcallcompletedstreamevent.ts +68 -0
  1136. package/packages/orq-rc/src/models/components/responsemcpcallfailedstreamevent.ts +67 -0
  1137. package/packages/orq-rc/src/models/components/responsemcpcallinprogressstreamevent.ts +68 -0
  1138. package/packages/orq-rc/src/models/components/responsemeta.ts +103 -0
  1139. package/packages/orq-rc/src/models/components/responseoutputitemaddedstreamevent.ts +67 -0
  1140. package/packages/orq-rc/src/models/components/responseoutputitemdonestreamevent.ts +66 -0
  1141. package/packages/orq-rc/src/models/components/responseoutputtextannotationaddedstreamevent.ts +91 -0
  1142. package/packages/orq-rc/src/models/components/responseoutputtextdeltastreamevent.ts +89 -0
  1143. package/packages/orq-rc/src/models/components/responseoutputtextdonestreamevent.ts +83 -0
  1144. package/packages/orq-rc/src/models/components/responsequeuedstreamevent.ts +61 -0
  1145. package/packages/orq-rc/src/models/components/responsereasoningdeltastreamevent.ts +83 -0
  1146. package/packages/orq-rc/src/models/components/responsereasoningdonestreamevent.ts +78 -0
  1147. package/packages/orq-rc/src/models/components/responsereasoningsummarypartaddedstreamevent.ts +85 -0
  1148. package/packages/orq-rc/src/models/components/responsereasoningsummarypartdonestreamevent.ts +85 -0
  1149. package/packages/orq-rc/src/models/components/responsereasoningsummarytextdeltastreamevent.ts +90 -0
  1150. package/packages/orq-rc/src/models/components/responsereasoningsummarytextdonestreamevent.ts +85 -0
  1151. package/packages/orq-rc/src/models/components/responsereasoningtextdeltastreamevent.ts +84 -0
  1152. package/packages/orq-rc/src/models/components/responsereasoningtextdonestreamevent.ts +79 -0
  1153. package/packages/orq-rc/src/models/components/responserefusaldeltastreamevent.ts +78 -0
  1154. package/packages/orq-rc/src/models/components/responserefusaldonestreamevent.ts +78 -0
  1155. package/packages/orq-rc/src/models/components/responseretryconfig.ts +45 -0
  1156. package/packages/orq-rc/src/models/components/responsestartedevent.ts +97 -0
  1157. package/packages/orq-rc/src/models/components/responsestreamevent.ts +307 -0
  1158. package/packages/orq-rc/src/models/components/responsestreamingevent.ts +85 -0
  1159. package/packages/orq-rc/src/models/components/responsethread.ts +30 -0
  1160. package/packages/orq-rc/src/models/components/responsewebsearchcallcompletedstreamevent.ts +73 -0
  1161. package/packages/orq-rc/src/models/components/responsewebsearchcallinprogressstreamevent.ts +71 -0
  1162. package/packages/orq-rc/src/models/components/responsewebsearchcallsearchingstreamevent.ts +73 -0
  1163. package/packages/orq-rc/src/models/components/restorerequest.ts +38 -0
  1164. package/packages/orq-rc/src/models/components/restoreresponse.ts +36 -0
  1165. package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +35 -0
  1166. package/packages/orq-rc/src/models/components/reviewoutcome.ts +23 -0
  1167. package/packages/orq-rc/src/models/components/routingrule.ts +67 -0
  1168. package/packages/orq-rc/src/models/components/searchtracesrequest.ts +68 -0
  1169. package/packages/orq-rc/src/models/components/searchtracesresponse.ts +72 -0
  1170. package/packages/orq-rc/src/models/components/security.ts +32 -0
  1171. package/packages/orq-rc/src/models/components/serviceaccountowner.ts +43 -0
  1172. package/packages/orq-rc/src/models/components/singleproject.ts +59 -0
  1173. package/packages/orq-rc/src/models/components/skill.ts +109 -0
  1174. package/packages/orq-rc/src/models/components/spandetail.ts +53 -0
  1175. package/packages/orq-rc/src/models/components/spansummary.ts +76 -0
  1176. package/packages/orq-rc/src/models/components/streamoptions.ts +32 -0
  1177. package/packages/orq-rc/src/models/components/telemetry.ts +48 -0
  1178. package/packages/orq-rc/src/models/components/textcontentpartschema.ts +211 -0
  1179. package/packages/orq-rc/src/models/components/textpart.ts +54 -0
  1180. package/packages/orq-rc/src/models/components/thinkingconfigadaptiveschema.ts +59 -0
  1181. package/packages/orq-rc/src/models/components/thinkingconfigdisabledschema.ts +59 -0
  1182. package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +107 -0
  1183. package/packages/orq-rc/src/models/components/timeoutstreamingevent.ts +64 -0
  1184. package/packages/orq-rc/src/models/components/tokenlimit.ts +69 -0
  1185. package/packages/orq-rc/src/models/components/toolcallpart.ts +51 -0
  1186. package/packages/orq-rc/src/models/components/tooldoneevent.ts +77 -0
  1187. package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +235 -0
  1188. package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +219 -0
  1189. package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +215 -0
  1190. package/packages/orq-rc/src/models/components/toolfailedevent.ts +77 -0
  1191. package/packages/orq-rc/src/models/components/toolresultpart.ts +71 -0
  1192. package/packages/orq-rc/src/models/components/toolreviewdoneevent.ts +78 -0
  1193. package/packages/orq-rc/src/models/components/toolreviewrequestedevent.ts +87 -0
  1194. package/packages/orq-rc/src/models/components/toolstartedevent.ts +82 -0
  1195. package/packages/orq-rc/src/models/components/totals.ts +34 -0
  1196. package/packages/orq-rc/src/models/components/traceagent.ts +33 -0
  1197. package/packages/orq-rc/src/models/components/traceaggregaterow.ts +33 -0
  1198. package/packages/orq-rc/src/models/components/tracecompute.ts +30 -0
  1199. package/packages/orq-rc/src/models/components/tracecontext.ts +39 -0
  1200. package/packages/orq-rc/src/models/components/tracecost.ts +77 -0
  1201. package/packages/orq-rc/src/models/components/tracefacet.ts +35 -0
  1202. package/packages/orq-rc/src/models/components/tracefacetvalue.ts +33 -0
  1203. package/packages/orq-rc/src/models/components/tracefield.ts +56 -0
  1204. package/packages/orq-rc/src/models/components/tracefilter.ts +33 -0
  1205. package/packages/orq-rc/src/models/components/tracesearchmeta.ts +45 -0
  1206. package/packages/orq-rc/src/models/components/tracesort.ts +30 -0
  1207. package/packages/orq-rc/src/models/components/tracesummary.ts +152 -0
  1208. package/packages/orq-rc/src/models/components/traceusage.ts +62 -0
  1209. package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +92 -0
  1210. package/packages/orq-rc/src/models/components/updateapikeyresponse.ts +40 -0
  1211. package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +94 -0
  1212. package/packages/orq-rc/src/models/components/updatebudgetresponse.ts +35 -0
  1213. package/packages/orq-rc/src/models/components/updatefilerequest.ts +39 -0
  1214. package/packages/orq-rc/src/models/components/updatefileresponse.ts +35 -0
  1215. package/packages/orq-rc/src/models/components/updateidentityrequest.ts +90 -0
  1216. package/packages/orq-rc/src/models/components/updateidentityresponse.ts +35 -0
  1217. package/packages/orq-rc/src/models/components/updatemanagementkeyrequest.ts +80 -0
  1218. package/packages/orq-rc/src/models/components/updatemanagementkeyresponse.ts +40 -0
  1219. package/packages/orq-rc/src/models/components/updatemodelparameter.ts +61 -0
  1220. package/packages/orq-rc/src/models/components/updatenotifierrequest.ts +130 -0
  1221. package/packages/orq-rc/src/models/components/updatenotifierresponse.ts +35 -0
  1222. package/packages/orq-rc/src/models/components/updateprojectrequest.ts +49 -0
  1223. package/packages/orq-rc/src/models/components/updateprojectresponse.ts +35 -0
  1224. package/packages/orq-rc/src/models/components/updateskillrequest.ts +75 -0
  1225. package/packages/orq-rc/src/models/components/updateskillresponse.ts +35 -0
  1226. package/packages/orq-rc/src/models/components/userowner.ts +59 -0
  1227. package/packages/orq-rc/src/models/components/vertexcapabilities.ts +37 -0
  1228. package/packages/orq-rc/src/models/components/vertexconfiguration.ts +45 -0
  1229. package/packages/orq-rc/src/models/components/vertexmodelconfiguration.ts +53 -0
  1230. package/packages/orq-rc/src/models/components/vertexparameters.ts +47 -0
  1231. package/packages/orq-rc/src/models/components/vertexparamrange.ts +34 -0
  1232. package/packages/orq-rc/src/models/components/vertexparamrangeint.ts +34 -0
  1233. package/packages/orq-rc/src/models/components/workspacebudgetscope.ts +46 -0
  1234. package/packages/orq-rc/src/models/errors/apierror.ts +40 -0
  1235. package/packages/orq-rc/src/models/errors/createagentschedule.ts +105 -0
  1236. package/packages/orq-rc/src/models/errors/createeval.ts +51 -0
  1237. package/packages/orq-rc/src/models/errors/createmoderation.ts +84 -0
  1238. package/packages/orq-rc/src/models/errors/createtranscription.ts +87 -0
  1239. package/packages/orq-rc/src/models/errors/createtranslation.ts +87 -0
  1240. package/packages/orq-rc/src/models/errors/deleteagent.ts +51 -0
  1241. package/packages/orq-rc/src/models/errors/deleteagentschedule.ts +56 -0
  1242. package/packages/orq-rc/src/models/errors/deleteeval.ts +51 -0
  1243. package/packages/orq-rc/src/models/errors/deleteprompt.ts +51 -0
  1244. package/packages/orq-rc/src/models/errors/getevals.ts +51 -0
  1245. package/packages/orq-rc/src/models/errors/getpromptversion.ts +51 -0
  1246. package/packages/orq-rc/src/models/errors/getv2evaluatorsidversions.ts +51 -0
  1247. package/packages/orq-rc/src/models/errors/getv2toolstoolidversions.ts +51 -0
  1248. package/packages/orq-rc/src/models/errors/getv2toolstoolidversionsversionid.ts +52 -0
  1249. package/packages/orq-rc/src/models/errors/honoapierror.ts +59 -0
  1250. package/packages/orq-rc/src/models/errors/httpclienterrors.ts +62 -0
  1251. package/packages/orq-rc/src/models/errors/index.ts +38 -0
  1252. package/packages/orq-rc/src/models/errors/invokeeval.ts +141 -0
  1253. package/packages/orq-rc/src/models/errors/orqerror.ts +35 -0
  1254. package/packages/orq-rc/src/models/errors/postv2agentskeycardrefresh.ts +97 -0
  1255. package/packages/orq-rc/src/models/errors/postv2feedback.ts +96 -0
  1256. package/packages/orq-rc/src/models/errors/postv2feedbackremove.ts +51 -0
  1257. package/packages/orq-rc/src/models/errors/responsevalidationerror.ts +50 -0
  1258. package/packages/orq-rc/src/models/errors/retrieveagentrequest.ts +51 -0
  1259. package/packages/orq-rc/src/models/errors/retrieveagentschedule.ts +56 -0
  1260. package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +109 -0
  1261. package/packages/orq-rc/src/models/errors/streamagent.ts +51 -0
  1262. package/packages/orq-rc/src/models/errors/streamrunagent.ts +51 -0
  1263. package/packages/orq-rc/src/models/errors/triggeragentschedule.ts +105 -0
  1264. package/packages/orq-rc/src/models/errors/updateagent.ts +51 -0
  1265. package/packages/orq-rc/src/models/errors/updateagentschedule.ts +105 -0
  1266. package/packages/orq-rc/src/models/errors/updateeval.ts +51 -0
  1267. package/packages/orq-rc/src/models/errors/updateprompt.ts +51 -0
  1268. package/packages/orq-rc/src/models/errors/updatetool.ts +62 -0
  1269. package/packages/orq-rc/src/models/operations/apikeydelete.ts +39 -0
  1270. package/packages/orq-rc/src/models/operations/apikeyget.ts +49 -0
  1271. package/packages/orq-rc/src/models/operations/apikeylist.ts +118 -0
  1272. package/packages/orq-rc/src/models/operations/apikeyupdate.ts +44 -0
  1273. package/packages/orq-rc/src/models/operations/budgetdelete.ts +39 -0
  1274. package/packages/orq-rc/src/models/operations/budgetget.ts +39 -0
  1275. package/packages/orq-rc/src/models/operations/budgetgetconsumption.ts +41 -0
  1276. package/packages/orq-rc/src/models/operations/budgetlist.ts +109 -0
  1277. package/packages/orq-rc/src/models/operations/budgetresetconsumption.ts +48 -0
  1278. package/packages/orq-rc/src/models/operations/budgetupdate.ts +44 -0
  1279. package/packages/orq-rc/src/models/operations/cleardataset.ts +39 -0
  1280. package/packages/orq-rc/src/models/operations/createagentrequest.ts +7108 -0
  1281. package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +125 -0
  1282. package/packages/orq-rc/src/models/operations/createagentschedule.ts +227 -0
  1283. package/packages/orq-rc/src/models/operations/createannotation.ts +256 -0
  1284. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +6580 -0
  1285. package/packages/orq-rc/src/models/operations/createchunk.ts +222 -0
  1286. package/packages/orq-rc/src/models/operations/createcompletion.ts +3528 -0
  1287. package/packages/orq-rc/src/models/operations/createdataset.ts +162 -0
  1288. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2887 -0
  1289. package/packages/orq-rc/src/models/operations/createdatasource.ts +446 -0
  1290. package/packages/orq-rc/src/models/operations/createembedding.ts +219 -0
  1291. package/packages/orq-rc/src/models/operations/createeval.ts +659 -0
  1292. package/packages/orq-rc/src/models/operations/createimage.ts +1088 -0
  1293. package/packages/orq-rc/src/models/operations/createimageedit.ts +1045 -0
  1294. package/packages/orq-rc/src/models/operations/createimagevariation.ts +1067 -0
  1295. package/packages/orq-rc/src/models/operations/createknowledge.ts +956 -0
  1296. package/packages/orq-rc/src/models/operations/creatememory.ts +142 -0
  1297. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +152 -0
  1298. package/packages/orq-rc/src/models/operations/creatememorystore.ts +199 -0
  1299. package/packages/orq-rc/src/models/operations/createmoderation.ts +664 -0
  1300. package/packages/orq-rc/src/models/operations/createprompt.ts +5836 -0
  1301. package/packages/orq-rc/src/models/operations/creatererank.ts +944 -0
  1302. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +1964 -0
  1303. package/packages/orq-rc/src/models/operations/createspeech.ts +700 -0
  1304. package/packages/orq-rc/src/models/operations/createtool.ts +2488 -0
  1305. package/packages/orq-rc/src/models/operations/createtranscription.ts +955 -0
  1306. package/packages/orq-rc/src/models/operations/createtranslation.ts +930 -0
  1307. package/packages/orq-rc/src/models/operations/deleteagent.ts +39 -0
  1308. package/packages/orq-rc/src/models/operations/deleteagentschedule.ts +46 -0
  1309. package/packages/orq-rc/src/models/operations/deleteannotation.ts +125 -0
  1310. package/packages/orq-rc/src/models/operations/deletechunk.ts +53 -0
  1311. package/packages/orq-rc/src/models/operations/deletechunks.ts +125 -0
  1312. package/packages/orq-rc/src/models/operations/deletedatapoint.ts +46 -0
  1313. package/packages/orq-rc/src/models/operations/deletedataset.ts +39 -0
  1314. package/packages/orq-rc/src/models/operations/deletedatasource.ts +46 -0
  1315. package/packages/orq-rc/src/models/operations/deleteeval.ts +31 -0
  1316. package/packages/orq-rc/src/models/operations/deleteidentity.ts +34 -0
  1317. package/packages/orq-rc/src/models/operations/deleteknowledge.ts +39 -0
  1318. package/packages/orq-rc/src/models/operations/deletememory.ts +46 -0
  1319. package/packages/orq-rc/src/models/operations/deletememorydocument.ts +55 -0
  1320. package/packages/orq-rc/src/models/operations/deletememorystore.ts +39 -0
  1321. package/packages/orq-rc/src/models/operations/deleteprompt.ts +34 -0
  1322. package/packages/orq-rc/src/models/operations/deletetool.ts +36 -0
  1323. package/packages/orq-rc/src/models/operations/deletev2humanevalsetsid.ts +36 -0
  1324. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +4613 -0
  1325. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +726 -0
  1326. package/packages/orq-rc/src/models/operations/deployments.ts +1374 -0
  1327. package/packages/orq-rc/src/models/operations/deploymentstream.ts +4658 -0
  1328. package/packages/orq-rc/src/models/operations/filecontent.ts +39 -0
  1329. package/packages/orq-rc/src/models/operations/filedelete.ts +39 -0
  1330. package/packages/orq-rc/src/models/operations/fileget.ts +35 -0
  1331. package/packages/orq-rc/src/models/operations/filelist.ts +60 -0
  1332. package/packages/orq-rc/src/models/operations/fileupdate.ts +44 -0
  1333. package/packages/orq-rc/src/models/operations/getagentresponse.ts +46 -0
  1334. package/packages/orq-rc/src/models/operations/getallmemories.ts +173 -0
  1335. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +188 -0
  1336. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +220 -0
  1337. package/packages/orq-rc/src/models/operations/getallprompts.ts +3422 -0
  1338. package/packages/orq-rc/src/models/operations/getalltools.ts +1383 -0
  1339. package/packages/orq-rc/src/models/operations/getchunkscount.ts +142 -0
  1340. package/packages/orq-rc/src/models/operations/getevals.ts +168 -0
  1341. package/packages/orq-rc/src/models/operations/getonechunk.ts +171 -0
  1342. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +652 -0
  1343. package/packages/orq-rc/src/models/operations/getoneprompt.ts +3345 -0
  1344. package/packages/orq-rc/src/models/operations/getpromptversion.ts +3394 -0
  1345. package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +162 -0
  1346. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +234 -0
  1347. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +235 -0
  1348. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +163 -0
  1349. package/packages/orq-rc/src/models/operations/getv2toolstoolidversionsversionid.ts +110 -0
  1350. package/packages/orq-rc/src/models/operations/guardrailrulecreate.ts +126 -0
  1351. package/packages/orq-rc/src/models/operations/guardrailruledelete.ts +39 -0
  1352. package/packages/orq-rc/src/models/operations/guardrailruleget.ts +104 -0
  1353. package/packages/orq-rc/src/models/operations/guardrailrulelist.ts +138 -0
  1354. package/packages/orq-rc/src/models/operations/guardrailrulelistusedguardrails.ts +48 -0
  1355. package/packages/orq-rc/src/models/operations/guardrailruleupdate.ts +155 -0
  1356. package/packages/orq-rc/src/models/operations/index.ts +189 -0
  1357. package/packages/orq-rc/src/models/operations/invokeagent.ts +775 -0
  1358. package/packages/orq-rc/src/models/operations/invokeeval.ts +1257 -0
  1359. package/packages/orq-rc/src/models/operations/listagents.ts +3012 -0
  1360. package/packages/orq-rc/src/models/operations/listagentschedules.ts +69 -0
  1361. package/packages/orq-rc/src/models/operations/listchunks.ts +289 -0
  1362. package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +282 -0
  1363. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +1857 -0
  1364. package/packages/orq-rc/src/models/operations/listdatasets.ts +218 -0
  1365. package/packages/orq-rc/src/models/operations/listdatasources.ts +241 -0
  1366. package/packages/orq-rc/src/models/operations/listidentities.ts +94 -0
  1367. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +687 -0
  1368. package/packages/orq-rc/src/models/operations/listmodels.ts +60 -0
  1369. package/packages/orq-rc/src/models/operations/listpromptversions.ts +3469 -0
  1370. package/packages/orq-rc/src/models/operations/managementkeydelete.ts +39 -0
  1371. package/packages/orq-rc/src/models/operations/managementkeyget.ts +39 -0
  1372. package/packages/orq-rc/src/models/operations/managementkeylist.ts +85 -0
  1373. package/packages/orq-rc/src/models/operations/managementkeyupdate.ts +45 -0
  1374. package/packages/orq-rc/src/models/operations/modelazurefoundrydeployments.ts +90 -0
  1375. package/packages/orq-rc/src/models/operations/modelcreate.ts +184 -0
  1376. package/packages/orq-rc/src/models/operations/modelcreateautorouter.ts +151 -0
  1377. package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +234 -0
  1378. package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +202 -0
  1379. package/{src/models/components/modeldocument.ts → packages/orq-rc/src/models/operations/modelcreatevertex.ts} +54 -22
  1380. package/packages/orq-rc/src/models/operations/modeldelete.ts +34 -0
  1381. package/packages/orq-rc/src/models/operations/modeldisable.ts +39 -0
  1382. package/packages/orq-rc/src/models/operations/modelenable.ts +36 -0
  1383. package/packages/orq-rc/src/models/operations/modelupdate.ts +198 -0
  1384. package/packages/orq-rc/src/models/operations/modelupdateautorouter.ts +189 -0
  1385. package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +260 -0
  1386. package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +236 -0
  1387. package/packages/orq-rc/src/models/operations/modelvalidate.ts +57 -0
  1388. package/packages/orq-rc/src/models/operations/modelvalidateawsbedrock.ts +61 -0
  1389. package/packages/orq-rc/src/models/operations/notifierdelete.ts +36 -0
  1390. package/packages/orq-rc/src/models/operations/notifierget.ts +36 -0
  1391. package/packages/orq-rc/src/models/operations/notifierlist.ts +59 -0
  1392. package/packages/orq-rc/src/models/operations/notifierupdate.ts +41 -0
  1393. package/packages/orq-rc/src/models/operations/parse.ts +784 -0
  1394. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +415 -0
  1395. package/packages/orq-rc/src/models/operations/policycreate.ts +138 -0
  1396. package/packages/orq-rc/src/models/operations/policydelete.ts +39 -0
  1397. package/packages/orq-rc/src/models/operations/policyget.ts +110 -0
  1398. package/packages/orq-rc/src/models/operations/policylist.ts +94 -0
  1399. package/packages/orq-rc/src/models/operations/policyupdate.ts +174 -0
  1400. package/packages/orq-rc/src/models/operations/postv2agentskeycardrefresh.ts +100 -0
  1401. package/packages/orq-rc/src/models/operations/postv2feedback.ts +214 -0
  1402. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +357 -0
  1403. package/packages/orq-rc/src/models/operations/postv2feedbackevaluationremove.ts +43 -0
  1404. package/packages/orq-rc/src/models/operations/postv2feedbackremove.ts +135 -0
  1405. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +365 -0
  1406. package/packages/orq-rc/src/models/operations/postv2routerocr.ts +478 -0
  1407. package/packages/orq-rc/src/models/operations/projectdelete.ts +39 -0
  1408. package/packages/orq-rc/src/models/operations/projectget.ts +39 -0
  1409. package/packages/orq-rc/src/models/operations/projectlist.ts +58 -0
  1410. package/packages/orq-rc/src/models/operations/projectupdate.ts +44 -0
  1411. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +3074 -0
  1412. package/packages/orq-rc/src/models/operations/retrieveagentschedule.ts +162 -0
  1413. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +1746 -0
  1414. package/packages/orq-rc/src/models/operations/retrievedataset.ts +150 -0
  1415. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +152 -0
  1416. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +55 -0
  1417. package/packages/orq-rc/src/models/operations/retrievememory.ts +112 -0
  1418. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +118 -0
  1419. package/packages/orq-rc/src/models/operations/retrievememorystore.ts +144 -0
  1420. package/packages/orq-rc/src/models/operations/retrieveresponse.ts +225 -0
  1421. package/packages/orq-rc/src/models/operations/retrievetool.ts +1370 -0
  1422. package/packages/orq-rc/src/models/operations/routingrulecreate.ts +124 -0
  1423. package/packages/orq-rc/src/models/operations/routingruledelete.ts +39 -0
  1424. package/packages/orq-rc/src/models/operations/routingruleget.ts +102 -0
  1425. package/packages/orq-rc/src/models/operations/routingrulelist.ts +112 -0
  1426. package/packages/orq-rc/src/models/operations/routingrulelistusedmodels.ts +37 -0
  1427. package/packages/orq-rc/src/models/operations/routingruleupdate.ts +154 -0
  1428. package/packages/orq-rc/src/models/operations/runagent.ts +5369 -0
  1429. package/packages/orq-rc/src/models/operations/searchknowledge.ts +1762 -0
  1430. package/packages/orq-rc/src/models/operations/skilldelete.ts +39 -0
  1431. package/packages/orq-rc/src/models/operations/skillget.ts +40 -0
  1432. package/packages/orq-rc/src/models/operations/skilllist.ts +61 -0
  1433. package/packages/orq-rc/src/models/operations/skillupdate.ts +44 -0
  1434. package/packages/orq-rc/src/models/operations/streamagent.ts +698 -0
  1435. package/packages/orq-rc/src/models/operations/streamrunagent.ts +5548 -0
  1436. package/packages/orq-rc/src/models/operations/tracesget.ts +36 -0
  1437. package/packages/orq-rc/src/models/operations/tracesgetspan.ts +40 -0
  1438. package/packages/orq-rc/src/models/operations/traceslistfacetvalues.ts +50 -0
  1439. package/packages/orq-rc/src/models/operations/traceslistspans.ts +43 -0
  1440. package/packages/orq-rc/src/models/operations/triggeragentschedule.ts +86 -0
  1441. package/packages/orq-rc/src/models/operations/updateagent.ts +7441 -0
  1442. package/packages/orq-rc/src/models/operations/updateagentschedule.ts +241 -0
  1443. package/packages/orq-rc/src/models/operations/updatechunk.ts +236 -0
  1444. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2923 -0
  1445. package/packages/orq-rc/src/models/operations/updatedataset.ts +206 -0
  1446. package/packages/orq-rc/src/models/operations/updatedatasource.ts +186 -0
  1447. package/packages/orq-rc/src/models/operations/updateeval.ts +446 -0
  1448. package/packages/orq-rc/src/models/operations/updateidentity.ts +43 -0
  1449. package/packages/orq-rc/src/models/operations/updateknowledge.ts +1231 -0
  1450. package/packages/orq-rc/src/models/operations/updatememory.ts +142 -0
  1451. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +159 -0
  1452. package/packages/orq-rc/src/models/operations/updatememorystore.ts +188 -0
  1453. package/packages/orq-rc/src/models/operations/updateprompt.ts +5923 -0
  1454. package/packages/orq-rc/src/models/operations/updatetool.ts +2801 -0
  1455. package/packages/orq-rc/src/sdk/agents.ts +216 -0
  1456. package/packages/orq-rc/src/sdk/annotations.ts +45 -0
  1457. package/packages/orq-rc/src/sdk/apikeys.ts +116 -0
  1458. package/packages/orq-rc/src/sdk/audio.ts +25 -0
  1459. package/packages/orq-rc/src/sdk/budgets.ts +154 -0
  1460. package/packages/orq-rc/src/sdk/chat.ts +13 -0
  1461. package/packages/orq-rc/src/sdk/chunking.ts +27 -0
  1462. package/packages/orq-rc/src/sdk/completions.ts +32 -0
  1463. package/packages/orq-rc/src/sdk/datasets.ts +204 -0
  1464. package/packages/orq-rc/src/sdk/deployments.ts +83 -0
  1465. package/packages/orq-rc/src/sdk/edits.ts +27 -0
  1466. package/packages/orq-rc/src/sdk/embeddings.ts +27 -0
  1467. package/packages/orq-rc/src/sdk/evals.ts +102 -0
  1468. package/packages/orq-rc/src/sdk/feedback.ts +63 -0
  1469. package/packages/orq-rc/src/sdk/files.ts +118 -0
  1470. package/packages/orq-rc/src/sdk/generations.ts +27 -0
  1471. package/packages/orq-rc/src/sdk/guardrailrules.ts +115 -0
  1472. package/packages/orq-rc/src/sdk/humanreviewsets.ts +84 -0
  1473. package/packages/orq-rc/src/sdk/identities.ts +100 -0
  1474. package/packages/orq-rc/src/sdk/images.ts +25 -0
  1475. package/packages/orq-rc/src/sdk/index.ts +5 -0
  1476. package/packages/orq-rc/src/sdk/knowledge.ts +312 -0
  1477. package/packages/orq-rc/src/sdk/managementkeys.ts +116 -0
  1478. package/packages/orq-rc/src/sdk/memorystores.ts +286 -0
  1479. package/packages/orq-rc/src/sdk/models.ts +295 -0
  1480. package/packages/orq-rc/src/sdk/moderations.ts +24 -0
  1481. package/packages/orq-rc/src/sdk/notifiers.ts +100 -0
  1482. package/packages/orq-rc/src/sdk/orqcompletions.ts +32 -0
  1483. package/packages/orq-rc/src/sdk/orqresponses.ts +53 -0
  1484. package/packages/orq-rc/src/sdk/pii.ts +63 -0
  1485. package/packages/orq-rc/src/sdk/policies.ts +99 -0
  1486. package/packages/orq-rc/src/sdk/projects.ts +100 -0
  1487. package/packages/orq-rc/src/sdk/prompts.ts +126 -0
  1488. package/packages/orq-rc/src/sdk/reporting.ts +27 -0
  1489. package/packages/orq-rc/src/sdk/rerank.ts +27 -0
  1490. package/packages/orq-rc/src/sdk/responses.ts +47 -0
  1491. package/packages/orq-rc/src/sdk/router.ts +66 -0
  1492. package/packages/orq-rc/src/sdk/routingrules.ts +115 -0
  1493. package/packages/orq-rc/src/sdk/schedules.ts +117 -0
  1494. package/packages/orq-rc/src/sdk/sdk.ts +187 -0
  1495. package/packages/orq-rc/src/sdk/skills.ts +100 -0
  1496. package/packages/orq-rc/src/sdk/speech.ts +27 -0
  1497. package/packages/orq-rc/src/sdk/tools.ts +135 -0
  1498. package/packages/orq-rc/src/sdk/traces.ts +168 -0
  1499. package/packages/orq-rc/src/sdk/transcriptions.ts +24 -0
  1500. package/packages/orq-rc/src/sdk/translations.ts +24 -0
  1501. package/packages/orq-rc/src/sdk/variations.ts +27 -0
  1502. package/packages/orq-rc/src/types/async.ts +69 -0
  1503. package/packages/orq-rc/src/types/blobs.ts +32 -0
  1504. package/packages/orq-rc/src/types/constdatetime.ts +15 -0
  1505. package/packages/orq-rc/src/types/enums.ts +45 -0
  1506. package/packages/orq-rc/src/types/fp.ts +50 -0
  1507. package/packages/orq-rc/src/types/index.ts +11 -0
  1508. package/packages/orq-rc/src/types/operations.ts +105 -0
  1509. package/packages/orq-rc/src/types/rfcdate.ts +54 -0
  1510. package/packages/orq-rc/src/types/streams.ts +21 -0
  1511. package/packages/orq-rc/src/types/unrecognized.ts +35 -0
  1512. package/sdk/agents.d.ts +2 -2
  1513. package/sdk/agents.d.ts.map +1 -1
  1514. package/sdk/agents.js.map +1 -1
  1515. package/sdk/annotations.d.ts +2 -2
  1516. package/sdk/annotations.js +2 -2
  1517. package/sdk/budgets.d.ts +62 -0
  1518. package/sdk/budgets.d.ts.map +1 -0
  1519. package/sdk/budgets.js +92 -0
  1520. package/sdk/budgets.js.map +1 -0
  1521. package/sdk/deployments.d.ts +2 -1
  1522. package/sdk/deployments.d.ts.map +1 -1
  1523. package/sdk/deployments.js.map +1 -1
  1524. package/sdk/feedback.d.ts +2 -2
  1525. package/sdk/feedback.js +2 -2
  1526. package/sdk/managementkeys.d.ts +48 -0
  1527. package/sdk/managementkeys.d.ts.map +1 -0
  1528. package/sdk/managementkeys.js +72 -0
  1529. package/sdk/managementkeys.js.map +1 -0
  1530. package/sdk/models.d.ts +0 -17
  1531. package/sdk/models.d.ts.map +1 -1
  1532. package/sdk/models.js +0 -20
  1533. package/sdk/models.js.map +1 -1
  1534. package/sdk/orqresponses.d.ts +1 -1
  1535. package/sdk/orqresponses.d.ts.map +1 -1
  1536. package/sdk/orqresponses.js +2 -2
  1537. package/sdk/orqresponses.js.map +1 -1
  1538. package/sdk/prompts.d.ts +1 -1
  1539. package/sdk/prompts.d.ts.map +1 -1
  1540. package/sdk/prompts.js.map +1 -1
  1541. package/sdk/sdk.d.ts +6 -0
  1542. package/sdk/sdk.d.ts.map +1 -1
  1543. package/sdk/sdk.js +8 -0
  1544. package/sdk/sdk.js.map +1 -1
  1545. package/src/funcs/agentsInvoke.ts +2 -2
  1546. package/src/funcs/agentsResponsesCreate.ts +8 -5
  1547. package/src/funcs/agentsStream.ts +2 -2
  1548. package/src/funcs/annotationsCreate.ts +1 -1
  1549. package/src/funcs/annotationsDelete.ts +1 -1
  1550. package/src/funcs/apiKeysGet.ts +6 -1
  1551. package/src/funcs/apiKeysList.ts +1 -0
  1552. package/src/funcs/budgetsCheck.ts +162 -0
  1553. package/src/funcs/budgetsCreate.ts +162 -0
  1554. package/src/funcs/budgetsDelete.ts +168 -0
  1555. package/src/funcs/budgetsGet.ts +168 -0
  1556. package/src/funcs/budgetsGetConsumption.ts +169 -0
  1557. package/src/funcs/budgetsList.ts +176 -0
  1558. package/src/funcs/budgetsResetConsumption.ts +174 -0
  1559. package/src/funcs/budgetsUpdate.ts +171 -0
  1560. package/src/funcs/datasetsList.ts +2 -0
  1561. package/src/funcs/datasetsListDatapoints.ts +10 -1
  1562. package/src/funcs/deploymentsInvoke.ts +4 -4
  1563. package/src/funcs/evalsAll.ts +1 -0
  1564. package/src/funcs/identitiesList.ts +1 -0
  1565. package/src/funcs/identitiesRetrieve.ts +1 -0
  1566. package/src/funcs/knowledgeList.ts +4 -0
  1567. package/src/funcs/managementKeysCreate.ts +163 -0
  1568. package/src/funcs/managementKeysDelete.ts +172 -0
  1569. package/src/funcs/managementKeysGet.ts +171 -0
  1570. package/src/funcs/managementKeysList.ts +175 -0
  1571. package/src/funcs/managementKeysListCapabilities.ts +144 -0
  1572. package/src/funcs/managementKeysUpdate.ts +175 -0
  1573. package/src/funcs/memoryStoresList.ts +3 -0
  1574. package/src/funcs/promptsCreate.ts +4 -3
  1575. package/src/lib/config.ts +3 -3
  1576. package/src/lib/encodings.ts +1 -1
  1577. package/src/lib/env.ts +7 -3
  1578. package/src/lib/event-streams.ts +46 -20
  1579. package/src/lib/matchers.ts +1 -1
  1580. package/src/lib/primitives.ts +16 -0
  1581. package/src/lib/retries.ts +8 -0
  1582. package/src/lib/sdks.ts +41 -13
  1583. package/src/models/components/agentresponserequest.ts +565 -0
  1584. package/src/models/components/agentthoughtstreamingevent.ts +55 -43
  1585. package/src/models/components/apikey.ts +118 -0
  1586. package/src/models/components/apikeybudgetscope.ts +66 -0
  1587. package/src/models/components/autorouterconfig.ts +10 -0
  1588. package/src/models/components/autorouterv2config.ts +92 -0
  1589. package/src/models/components/autorouterv2effortconfig.ts +66 -0
  1590. package/src/models/components/azurefoundrydeployment.ts +7 -0
  1591. package/src/models/components/budget.ts +114 -0
  1592. package/src/models/components/budgetlimits.ts +84 -0
  1593. package/src/models/components/budgetmatch.ts +56 -0
  1594. package/src/models/components/budgetperiod.ts +23 -0
  1595. package/src/models/components/budgetrejection.ts +48 -0
  1596. package/src/models/components/budgetscope.ts +150 -0
  1597. package/src/models/components/budgetscopekind.ts +22 -0
  1598. package/src/models/components/budgetsortfield.ts +19 -0
  1599. package/src/models/components/budgetusage.ts +54 -0
  1600. package/src/models/components/checkbudgetsrequest.ts +111 -0
  1601. package/src/models/components/checkbudgetsresponse.ts +62 -0
  1602. package/src/models/components/createbudgetrequest.ts +109 -0
  1603. package/src/models/components/createbudgetresponse.ts +35 -0
  1604. package/src/models/components/createmanagementkeyrequest.ts +69 -0
  1605. package/src/models/components/createmanagementkeyresponse.ts +48 -0
  1606. package/src/models/components/createskillrequest.ts +95 -6
  1607. package/src/models/components/deletebudgetresponse.ts +27 -0
  1608. package/src/models/components/deletemanagementkeyresponse.ts +27 -0
  1609. package/src/models/components/dimensioninfo.ts +43 -0
  1610. package/src/models/components/domain.ts +5 -14
  1611. package/src/models/components/evaluatorresponsefunction.ts +916 -0
  1612. package/src/models/components/evaluatorresponsehttp.ts +71 -0
  1613. package/src/models/components/evaluatorresponsejsonschema.ts +54 -0
  1614. package/src/models/components/evaluatorresponsellm.ts +304 -0
  1615. package/src/models/components/evaluatorresponsepython.ts +54 -0
  1616. package/src/models/components/evaluatorresponseragas.ts +78 -0
  1617. package/src/models/components/evaluatorresponsetypescript.ts +54 -0
  1618. package/src/models/components/getbudgetconsumptionresponse.ts +71 -0
  1619. package/src/models/components/getbudgetresponse.ts +35 -0
  1620. package/src/models/components/getmanagementkeyresponse.ts +40 -0
  1621. package/src/models/components/guardrailrule.ts +3 -0
  1622. package/src/models/components/identity.ts +127 -9
  1623. package/src/models/components/identitybudgetscope.ts +66 -0
  1624. package/src/models/components/index.ts +57 -4
  1625. package/src/models/components/invokedeploymentrequest.ts +3492 -0
  1626. package/src/models/components/listbudgetsresponse.ts +53 -0
  1627. package/src/models/components/listmanagementcapabilitiesresponse.ts +36 -0
  1628. package/src/models/components/listmanagementkeysresponse.ts +56 -0
  1629. package/src/models/components/managementkey.ts +132 -0
  1630. package/src/models/components/managementkeystatus.ts +23 -0
  1631. package/src/models/components/managementpermissionmode.ts +25 -0
  1632. package/src/models/components/modelbudgetscope.ts +67 -0
  1633. package/src/models/components/modelmetadata.ts +12 -0
  1634. package/src/models/components/modelsconfig.ts +11 -10
  1635. package/src/models/components/piiredactionplugin.ts +44 -0
  1636. package/src/models/components/piiredactionpluginauto.ts +185 -0
  1637. package/src/models/components/piiredactionpluginen.ts +222 -0
  1638. package/src/models/components/piiredactionpluginnl.ts +218 -0
  1639. package/src/models/components/plugin.ts +37 -0
  1640. package/src/models/components/projectbudgetscope.ts +63 -0
  1641. package/src/models/components/providerbudgetscope.ts +57 -0
  1642. package/src/models/components/publicpiiredactionplugin.ts +127 -0
  1643. package/src/models/components/ratelimit.ts +62 -0
  1644. package/src/models/components/reasoningpart.ts +1 -1
  1645. package/src/models/components/resetbudgetconsumptionrequest.ts +27 -0
  1646. package/src/models/components/resetbudgetconsumptionresponse.ts +38 -0
  1647. package/src/models/components/textcontentpartschema.ts +23 -19
  1648. package/src/models/components/toolexecutionstartedstreamingevent.ts +24 -14
  1649. package/src/models/components/updatebudgetrequest.ts +94 -0
  1650. package/src/models/components/updatebudgetresponse.ts +35 -0
  1651. package/src/models/components/updatemanagementkeyrequest.ts +80 -0
  1652. package/src/models/components/updatemanagementkeyresponse.ts +40 -0
  1653. package/src/models/components/workspacebudgetscope.ts +46 -0
  1654. package/src/models/operations/apikeyget.ts +10 -0
  1655. package/src/models/operations/apikeylist.ts +11 -0
  1656. package/src/models/operations/budgetdelete.ts +39 -0
  1657. package/src/models/operations/budgetget.ts +39 -0
  1658. package/src/models/operations/budgetgetconsumption.ts +41 -0
  1659. package/src/models/operations/budgetlist.ts +109 -0
  1660. package/src/models/operations/budgetresetconsumption.ts +48 -0
  1661. package/src/models/operations/budgetupdate.ts +44 -0
  1662. package/src/models/operations/createagentrequest.ts +199 -0
  1663. package/src/models/operations/createagentresponserequest.ts +4 -550
  1664. package/src/models/operations/createannotation.ts +110 -16
  1665. package/src/models/operations/createchatcompletion.ts +69 -7
  1666. package/src/models/operations/createcompletion.ts +54 -0
  1667. package/src/models/operations/createdataset.ts +1 -1
  1668. package/src/models/operations/createdatasetitem.ts +356 -23
  1669. package/src/models/operations/createdatasource.ts +4 -1
  1670. package/src/models/operations/createeval.ts +356 -4158
  1671. package/src/models/operations/createimage.ts +54 -0
  1672. package/src/models/operations/createknowledge.ts +12 -0
  1673. package/src/models/operations/creatememorystore.ts +5 -5
  1674. package/src/models/operations/createprompt.ts +130 -34
  1675. package/src/models/operations/creatererank.ts +54 -0
  1676. package/src/models/operations/createrouterresponse.ts +11 -0
  1677. package/src/models/operations/createtool.ts +22 -24
  1678. package/src/models/operations/deleteannotation.ts +46 -3
  1679. package/src/models/operations/deploymentgetconfig.ts +1174 -1626
  1680. package/src/models/operations/deploymentinvoke.ts +220 -3675
  1681. package/src/models/operations/deployments.ts +2 -4
  1682. package/src/models/operations/deploymentstream.ts +244 -287
  1683. package/src/models/operations/getallmemorystores.ts +22 -2
  1684. package/src/models/operations/getallprompts.ts +45 -4
  1685. package/src/models/operations/getalltools.ts +47 -53
  1686. package/src/models/operations/getevals.ts +33 -3214
  1687. package/src/models/operations/getoneprompt.ts +45 -4
  1688. package/src/models/operations/getpromptversion.ts +45 -4
  1689. package/src/models/operations/getv2humanevalsets.ts +2 -2
  1690. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  1691. package/src/models/operations/guardrailrulecreate.ts +2 -0
  1692. package/src/models/operations/guardrailruleget.ts +2 -0
  1693. package/src/models/operations/guardrailruleupdate.ts +2 -0
  1694. package/src/models/operations/index.ts +10 -0
  1695. package/src/models/operations/invokeagent.ts +90 -116
  1696. package/src/models/operations/invokeeval.ts +54 -57
  1697. package/src/models/operations/listagents.ts +93 -0
  1698. package/src/models/operations/listdatasetdatapoints.ts +378 -19
  1699. package/src/models/operations/listdatasets.ts +14 -1
  1700. package/src/models/operations/listdatasources.ts +1 -1
  1701. package/src/models/operations/listidentities.ts +11 -0
  1702. package/src/models/operations/listknowledgebases.ts +45 -0
  1703. package/src/models/operations/listpromptversions.ts +45 -4
  1704. package/src/models/operations/managementkeydelete.ts +39 -0
  1705. package/src/models/operations/managementkeyget.ts +39 -0
  1706. package/src/models/operations/managementkeylist.ts +85 -0
  1707. package/src/models/operations/managementkeyupdate.ts +45 -0
  1708. package/src/models/operations/modelcreateawsbedrock.ts +8 -0
  1709. package/src/models/operations/modelupdateawsbedrock.ts +8 -4
  1710. package/src/models/operations/modelvalidateawsbedrock.ts +4 -0
  1711. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  1712. package/src/models/operations/postv2feedbackevaluation.ts +42 -18
  1713. package/src/models/operations/postv2humanevalsets.ts +2 -2
  1714. package/src/models/operations/retrieveagentrequest.ts +93 -0
  1715. package/src/models/operations/retrievedatapoint.ts +363 -19
  1716. package/src/models/operations/retrievedataset.ts +1 -1
  1717. package/src/models/operations/retrievedatasource.ts +1 -1
  1718. package/src/models/operations/retrieveidentity.ts +10 -0
  1719. package/src/models/operations/retrievememorystore.ts +2 -2
  1720. package/src/models/operations/retrievetool.ts +6 -6
  1721. package/src/models/operations/runagent.ts +115 -1
  1722. package/src/models/operations/streamagent.ts +16 -11
  1723. package/src/models/operations/streamrunagent.ts +116 -1
  1724. package/src/models/operations/updateagent.ts +205 -0
  1725. package/src/models/operations/updatedatapoint.ts +391 -23
  1726. package/src/models/operations/updatedataset.ts +1 -1
  1727. package/src/models/operations/updatedatasource.ts +1 -1
  1728. package/src/models/operations/updateeval.ts +45 -3421
  1729. package/src/models/operations/updatememorystore.ts +5 -5
  1730. package/src/models/operations/updateprompt.ts +116 -15
  1731. package/src/models/operations/updatetool.ts +7 -7
  1732. package/src/sdk/agents.ts +2 -2
  1733. package/src/sdk/annotations.ts +2 -2
  1734. package/src/sdk/budgets.ts +154 -0
  1735. package/src/sdk/deployments.ts +2 -1
  1736. package/src/sdk/feedback.ts +2 -2
  1737. package/src/sdk/managementkeys.ts +116 -0
  1738. package/src/sdk/models.ts +0 -35
  1739. package/src/sdk/orqresponses.ts +2 -2
  1740. package/src/sdk/prompts.ts +1 -1
  1741. package/src/sdk/sdk.ts +12 -0
  1742. package/funcs/modelsImportLitellm.d.ts.map +0 -1
  1743. package/funcs/modelsImportLitellm.js.map +0 -1
  1744. package/funcs/modelsListLitellm.d.ts +0 -18
  1745. package/funcs/modelsListLitellm.d.ts.map +0 -1
  1746. package/funcs/modelsListLitellm.js.map +0 -1
  1747. package/lib/dlv.d.ts +0 -14
  1748. package/lib/dlv.d.ts.map +0 -1
  1749. package/lib/dlv.js +0 -49
  1750. package/lib/dlv.js.map +0 -1
  1751. package/lib/is-plain-object.d.ts +0 -2
  1752. package/lib/is-plain-object.d.ts.map +0 -1
  1753. package/lib/is-plain-object.js +0 -41
  1754. package/lib/is-plain-object.js.map +0 -1
  1755. package/models/components/litellmmodel.d.ts +0 -18
  1756. package/models/components/litellmmodel.d.ts.map +0 -1
  1757. package/models/components/litellmmodel.js.map +0 -1
  1758. package/models/components/litellmmodelinfo.d.ts +0 -44
  1759. package/models/components/litellmmodelinfo.d.ts.map +0 -1
  1760. package/models/components/litellmmodelinfo.js +0 -83
  1761. package/models/components/litellmmodelinfo.js.map +0 -1
  1762. package/models/components/litellmparams.d.ts +0 -18
  1763. package/models/components/litellmparams.d.ts.map +0 -1
  1764. package/models/components/litellmparams.js.map +0 -1
  1765. package/models/components/modeldocument.d.ts +0 -39
  1766. package/models/components/modeldocument.d.ts.map +0 -1
  1767. package/models/components/modeldocument.js +0 -99
  1768. package/models/components/modeldocument.js.map +0 -1
  1769. package/src/lib/dlv.ts +0 -53
  1770. package/src/lib/is-plain-object.ts +0 -43
  1771. package/src/models/components/litellmmodel.ts +0 -50
  1772. package/src/models/components/litellmmodelinfo.ts +0 -97
  1773. package/src/models/components/litellmparams.ts +0 -43
@@ -0,0 +1,2488 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import {
8
+ collectExtraKeys as collectExtraKeys$,
9
+ safeParse,
10
+ } from "../../lib/schemas.js";
11
+ import { ClosedEnum } from "../../types/enums.js";
12
+ import { Result as SafeParseResult } from "../../types/fp.js";
13
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
14
+
15
+ /**
16
+ * 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.
17
+ */
18
+ export const CreateToolRequestBodyToolsRequestStatus = {
19
+ Live: "live",
20
+ Draft: "draft",
21
+ Pending: "pending",
22
+ Published: "published",
23
+ } as const;
24
+ /**
25
+ * 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.
26
+ */
27
+ export type CreateToolRequestBodyToolsRequestStatus = ClosedEnum<
28
+ typeof CreateToolRequestBodyToolsRequestStatus
29
+ >;
30
+
31
+ /**
32
+ * The type must be "object"
33
+ */
34
+ export const CreateToolRequestBodyToolsRequest5CodeToolType = {
35
+ Object: "object",
36
+ } as const;
37
+ /**
38
+ * The type must be "object"
39
+ */
40
+ export type CreateToolRequestBodyToolsRequest5CodeToolType = ClosedEnum<
41
+ typeof CreateToolRequestBodyToolsRequest5CodeToolType
42
+ >;
43
+
44
+ /**
45
+ * 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.
46
+ */
47
+ export type CreateToolRequestBodyParameters = {
48
+ /**
49
+ * The type must be "object"
50
+ */
51
+ type: CreateToolRequestBodyToolsRequest5CodeToolType;
52
+ /**
53
+ * The properties of the function parameters
54
+ */
55
+ properties: { [k: string]: any };
56
+ /**
57
+ * Array of required parameter names
58
+ */
59
+ required: Array<string>;
60
+ additionalProperties?: { [k: string]: any } | undefined;
61
+ };
62
+
63
+ export const RequestBodyLanguage = {
64
+ Python: "python",
65
+ } as const;
66
+ export type RequestBodyLanguage = ClosedEnum<typeof RequestBodyLanguage>;
67
+
68
+ export type RequestBodyCodeTool = {
69
+ /**
70
+ * 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.
71
+ */
72
+ parameters?: CreateToolRequestBodyParameters | undefined;
73
+ language: RequestBodyLanguage;
74
+ /**
75
+ * The code to execute.
76
+ */
77
+ code: string;
78
+ };
79
+
80
+ /**
81
+ * Executes code snippets in a sandboxed environment, currently supporting Python.
82
+ */
83
+ export type RequestBodyCodeExecutionTool = {
84
+ /**
85
+ * Entity storage path.
86
+ *
87
+ * @remarks
88
+ *
89
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
90
+ *
91
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
92
+ */
93
+ path: string;
94
+ /**
95
+ * Unique key of the tool as it will be displayed in the UI
96
+ */
97
+ key: string;
98
+ /**
99
+ * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
100
+ */
101
+ displayName?: string | undefined;
102
+ /**
103
+ * 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.
104
+ */
105
+ description: string;
106
+ /**
107
+ * 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.
108
+ */
109
+ status?: CreateToolRequestBodyToolsRequestStatus | undefined;
110
+ type: "code";
111
+ codeTool: RequestBodyCodeTool;
112
+ };
113
+
114
+ /**
115
+ * 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.
116
+ */
117
+ export const CreateToolRequestBodyToolsStatus = {
118
+ Live: "live",
119
+ Draft: "draft",
120
+ Pending: "pending",
121
+ Published: "published",
122
+ } as const;
123
+ /**
124
+ * 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.
125
+ */
126
+ export type CreateToolRequestBodyToolsStatus = ClosedEnum<
127
+ typeof CreateToolRequestBodyToolsStatus
128
+ >;
129
+
130
+ export type RequestBodyHeaders = {
131
+ value: string;
132
+ encrypted?: boolean | undefined;
133
+ };
134
+
135
+ /**
136
+ * The connection type used by the MCP server
137
+ */
138
+ export const RequestBodyConnectionType = {
139
+ Http: "http",
140
+ Sse: "sse",
141
+ } as const;
142
+ /**
143
+ * The connection type used by the MCP server
144
+ */
145
+ export type RequestBodyConnectionType = ClosedEnum<
146
+ typeof RequestBodyConnectionType
147
+ >;
148
+
149
+ export type RequestBodyMcp = {
150
+ /**
151
+ * The MCP server URL (cached for execution)
152
+ */
153
+ serverUrl: string;
154
+ /**
155
+ * HTTP headers for MCP server requests with encryption support
156
+ */
157
+ headers?: { [k: string]: RequestBodyHeaders } | undefined;
158
+ /**
159
+ * The connection type used by the MCP server
160
+ */
161
+ connectionType: RequestBodyConnectionType;
162
+ };
163
+
164
+ /**
165
+ * A tool from a Model Context Protocol (MCP) server that provides standardized access to external capabilities.
166
+ */
167
+ export type RequestBodyMCPTool = {
168
+ /**
169
+ * Entity storage path.
170
+ *
171
+ * @remarks
172
+ *
173
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
174
+ *
175
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
176
+ */
177
+ path: string;
178
+ /**
179
+ * Unique key of the tool as it will be displayed in the UI
180
+ */
181
+ key: string;
182
+ /**
183
+ * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
184
+ */
185
+ displayName?: string | undefined;
186
+ /**
187
+ * 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.
188
+ */
189
+ description: string;
190
+ /**
191
+ * 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.
192
+ */
193
+ status?: CreateToolRequestBodyToolsStatus | undefined;
194
+ type: "mcp";
195
+ mcp: RequestBodyMcp;
196
+ discoveryVariables?: { [k: string]: string } | undefined;
197
+ };
198
+
199
+ /**
200
+ * 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.
201
+ */
202
+ export const CreateToolRequestBodyStatus = {
203
+ Live: "live",
204
+ Draft: "draft",
205
+ Pending: "pending",
206
+ Published: "published",
207
+ } as const;
208
+ /**
209
+ * 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.
210
+ */
211
+ export type CreateToolRequestBodyStatus = ClosedEnum<
212
+ typeof CreateToolRequestBodyStatus
213
+ >;
214
+
215
+ /**
216
+ * The HTTP method to use.
217
+ */
218
+ export const RequestBodyMethod = {
219
+ Get: "GET",
220
+ Post: "POST",
221
+ Put: "PUT",
222
+ Delete: "DELETE",
223
+ } as const;
224
+ /**
225
+ * The HTTP method to use.
226
+ */
227
+ export type RequestBodyMethod = ClosedEnum<typeof RequestBodyMethod>;
228
+
229
+ export type CreateToolHeaders2 = {
230
+ value: string;
231
+ encrypted?: boolean | undefined;
232
+ };
233
+
234
+ export type CreateToolRequestBodyHeaders = CreateToolHeaders2 | string;
235
+
236
+ /**
237
+ * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
238
+ */
239
+ export type RequestBodyBlueprint = {
240
+ /**
241
+ * The URL to send the request to.
242
+ */
243
+ url: string;
244
+ /**
245
+ * The HTTP method to use.
246
+ */
247
+ method: RequestBodyMethod;
248
+ /**
249
+ * The headers to send with the request. Can be a string value or an object with value and encrypted properties.
250
+ */
251
+ headers?: { [k: string]: CreateToolHeaders2 | string } | undefined;
252
+ /**
253
+ * The body to send with the request.
254
+ */
255
+ body?: { [k: string]: any } | undefined;
256
+ };
257
+
258
+ /**
259
+ * The type of the argument.
260
+ */
261
+ export const CreateToolRequestBodyToolsRequest3Type = {
262
+ String: "string",
263
+ Number: "number",
264
+ Boolean: "boolean",
265
+ } as const;
266
+ /**
267
+ * The type of the argument.
268
+ */
269
+ export type CreateToolRequestBodyToolsRequest3Type = ClosedEnum<
270
+ typeof CreateToolRequestBodyToolsRequest3Type
271
+ >;
272
+
273
+ /**
274
+ * The default value of the argument.
275
+ */
276
+ export type RequestBodyDefaultValue = string | number | boolean;
277
+
278
+ export type RequestBodyArguments = {
279
+ /**
280
+ * The type of the argument.
281
+ */
282
+ type: CreateToolRequestBodyToolsRequest3Type;
283
+ /**
284
+ * A description of the argument.
285
+ */
286
+ description: string;
287
+ /**
288
+ * 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.
289
+ */
290
+ sendToModel?: boolean | undefined;
291
+ /**
292
+ * The default value of the argument.
293
+ */
294
+ defaultValue?: string | number | boolean | undefined;
295
+ };
296
+
297
+ export type RequestBodyHttp = {
298
+ /**
299
+ * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
300
+ */
301
+ blueprint: RequestBodyBlueprint;
302
+ /**
303
+ * The arguments to send with the request. The keys will be used to replace the placeholders in the `blueprint` field.
304
+ */
305
+ arguments?: { [k: string]: RequestBodyArguments } | undefined;
306
+ };
307
+
308
+ /**
309
+ * Executes HTTP requests to interact with external APIs and web services using customizable blueprints.
310
+ */
311
+ export type RequestBodyHTTPTool = {
312
+ /**
313
+ * Entity storage path.
314
+ *
315
+ * @remarks
316
+ *
317
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
318
+ *
319
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
320
+ */
321
+ path: string;
322
+ /**
323
+ * Unique key of the tool as it will be displayed in the UI
324
+ */
325
+ key: string;
326
+ /**
327
+ * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
328
+ */
329
+ displayName?: string | undefined;
330
+ /**
331
+ * 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.
332
+ */
333
+ description: string;
334
+ /**
335
+ * 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.
336
+ */
337
+ status?: CreateToolRequestBodyStatus | undefined;
338
+ type: "http";
339
+ http: RequestBodyHttp;
340
+ };
341
+
342
+ /**
343
+ * 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.
344
+ */
345
+ export const RequestBodyStatus = {
346
+ Live: "live",
347
+ Draft: "draft",
348
+ Pending: "pending",
349
+ Published: "published",
350
+ } as const;
351
+ /**
352
+ * 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.
353
+ */
354
+ export type RequestBodyStatus = ClosedEnum<typeof RequestBodyStatus>;
355
+
356
+ /**
357
+ * 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.
358
+ */
359
+ export type RequestBodySchema = {
360
+ /**
361
+ * The JSON Schema type
362
+ */
363
+ type: string;
364
+ /**
365
+ * The properties of the JSON Schema object
366
+ */
367
+ properties: { [k: string]: any };
368
+ /**
369
+ * Array of required property names
370
+ */
371
+ required: Array<string>;
372
+ additionalProperties?: { [k: string]: any } | undefined;
373
+ };
374
+
375
+ export type RequestBodyJsonSchema = {
376
+ /**
377
+ * 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.
378
+ */
379
+ name: string;
380
+ /**
381
+ * A description of what the response format is for. This will be shown to the user.
382
+ */
383
+ description: string;
384
+ /**
385
+ * 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.
386
+ */
387
+ schema: RequestBodySchema;
388
+ /**
389
+ * 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.
390
+ */
391
+ strict?: boolean | undefined;
392
+ };
393
+
394
+ /**
395
+ * A tool that enforces structured output format using JSON Schema for consistent response formatting.
396
+ */
397
+ export type RequestBodyJSONSchemaTool = {
398
+ /**
399
+ * Entity storage path.
400
+ *
401
+ * @remarks
402
+ *
403
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
404
+ *
405
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
406
+ */
407
+ path: string;
408
+ /**
409
+ * Unique key of the tool as it will be displayed in the UI
410
+ */
411
+ key: string;
412
+ /**
413
+ * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
414
+ */
415
+ displayName?: string | undefined;
416
+ /**
417
+ * 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.
418
+ */
419
+ description: string;
420
+ /**
421
+ * 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.
422
+ */
423
+ status?: RequestBodyStatus | undefined;
424
+ type: "json_schema";
425
+ jsonSchema: RequestBodyJsonSchema;
426
+ };
427
+
428
+ /**
429
+ * 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.
430
+ */
431
+ export const CreateToolRequestBodyToolsRequest1Status = {
432
+ Live: "live",
433
+ Draft: "draft",
434
+ Pending: "pending",
435
+ Published: "published",
436
+ } as const;
437
+ /**
438
+ * 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.
439
+ */
440
+ export type CreateToolRequestBodyToolsRequest1Status = ClosedEnum<
441
+ typeof CreateToolRequestBodyToolsRequest1Status
442
+ >;
443
+
444
+ /**
445
+ * The type must be "object"
446
+ */
447
+ export const CreateToolRequestBodyToolsRequest1Type = {
448
+ Object: "object",
449
+ } as const;
450
+ /**
451
+ * The type must be "object"
452
+ */
453
+ export type CreateToolRequestBodyToolsRequest1Type = ClosedEnum<
454
+ typeof CreateToolRequestBodyToolsRequest1Type
455
+ >;
456
+
457
+ /**
458
+ * 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.
459
+ */
460
+ export type RequestBodyParameters = {
461
+ /**
462
+ * The type must be "object"
463
+ */
464
+ type: CreateToolRequestBodyToolsRequest1Type;
465
+ /**
466
+ * The properties of the function parameters
467
+ */
468
+ properties: { [k: string]: any };
469
+ /**
470
+ * Array of required parameter names
471
+ */
472
+ required: Array<string>;
473
+ additionalProperties?: { [k: string]: any } | undefined;
474
+ };
475
+
476
+ export type RequestBodyFunction = {
477
+ /**
478
+ * 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.
479
+ */
480
+ name: string;
481
+ /**
482
+ * A description of what the function does, used by the model to choose when and how to call the function.
483
+ */
484
+ description?: string | undefined;
485
+ /**
486
+ * 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.
487
+ */
488
+ strict?: boolean | undefined;
489
+ /**
490
+ * 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.
491
+ */
492
+ parameters?: RequestBodyParameters | undefined;
493
+ };
494
+
495
+ /**
496
+ * A custom function tool that allows the model to call predefined functions with structured parameters.
497
+ */
498
+ export type RequestBodyFunctionTool = {
499
+ /**
500
+ * Entity storage path.
501
+ *
502
+ * @remarks
503
+ *
504
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
505
+ *
506
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
507
+ */
508
+ path: string;
509
+ /**
510
+ * Unique key of the tool as it will be displayed in the UI
511
+ */
512
+ key: string;
513
+ /**
514
+ * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
515
+ */
516
+ displayName?: string | undefined;
517
+ /**
518
+ * 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.
519
+ */
520
+ description: string;
521
+ /**
522
+ * 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.
523
+ */
524
+ status?: CreateToolRequestBodyToolsRequest1Status | undefined;
525
+ type: "function";
526
+ function: RequestBodyFunction;
527
+ };
528
+
529
+ /**
530
+ * The tool to create
531
+ */
532
+ export type CreateToolRequestBody =
533
+ | RequestBodyFunctionTool
534
+ | RequestBodyJSONSchemaTool
535
+ | RequestBodyHTTPTool
536
+ | RequestBodyMCPTool
537
+ | RequestBodyCodeExecutionTool;
538
+
539
+ /**
540
+ * 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.
541
+ */
542
+ export const CreateToolResponseBodyToolsResponse200Status = {
543
+ Live: "live",
544
+ Draft: "draft",
545
+ Pending: "pending",
546
+ Published: "published",
547
+ } as const;
548
+ /**
549
+ * 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.
550
+ */
551
+ export type CreateToolResponseBodyToolsResponse200Status = ClosedEnum<
552
+ typeof CreateToolResponseBodyToolsResponse200Status
553
+ >;
554
+
555
+ /**
556
+ * The type must be "object"
557
+ */
558
+ export const CreateToolResponseBodyToolsResponse200ApplicationJson5Type = {
559
+ Object: "object",
560
+ } as const;
561
+ /**
562
+ * The type must be "object"
563
+ */
564
+ export type CreateToolResponseBodyToolsResponse200ApplicationJson5Type =
565
+ ClosedEnum<typeof CreateToolResponseBodyToolsResponse200ApplicationJson5Type>;
566
+
567
+ /**
568
+ * 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.
569
+ */
570
+ export type CreateToolResponseBodyParameters = {
571
+ /**
572
+ * The type must be "object"
573
+ */
574
+ type: CreateToolResponseBodyToolsResponse200ApplicationJson5Type;
575
+ /**
576
+ * The properties of the function parameters
577
+ */
578
+ properties: { [k: string]: any };
579
+ /**
580
+ * Array of required parameter names
581
+ */
582
+ required: Array<string>;
583
+ additionalProperties?: { [k: string]: any } | undefined;
584
+ };
585
+
586
+ export const ResponseBodyLanguage = {
587
+ Python: "python",
588
+ } as const;
589
+ export type ResponseBodyLanguage = ClosedEnum<typeof ResponseBodyLanguage>;
590
+
591
+ export type ResponseBodyCodeTool = {
592
+ /**
593
+ * 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.
594
+ */
595
+ parameters?: CreateToolResponseBodyParameters | undefined;
596
+ language: ResponseBodyLanguage;
597
+ /**
598
+ * The code to execute.
599
+ */
600
+ code: string;
601
+ };
602
+
603
+ /**
604
+ * Executes code snippets in a sandboxed environment, currently supporting Python.
605
+ */
606
+ export type ResponseBodyCodeExecutionTool = {
607
+ id: string;
608
+ /**
609
+ * Entity storage path.
610
+ *
611
+ * @remarks
612
+ *
613
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
614
+ *
615
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
616
+ */
617
+ path: string;
618
+ /**
619
+ * Unique key of the tool as it will be displayed in the UI
620
+ */
621
+ key: string;
622
+ /**
623
+ * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
624
+ */
625
+ displayName?: string | undefined;
626
+ /**
627
+ * 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.
628
+ */
629
+ description: string;
630
+ /**
631
+ * The id of the user that created the tool
632
+ */
633
+ createdById?: string | null | undefined;
634
+ /**
635
+ * The id of the user that last updated the tool
636
+ */
637
+ updatedById?: string | null | undefined;
638
+ projectId: string;
639
+ workspaceId: string;
640
+ created: string;
641
+ updated: string;
642
+ /**
643
+ * 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.
644
+ */
645
+ status: CreateToolResponseBodyToolsResponse200Status;
646
+ type: "code";
647
+ codeTool: ResponseBodyCodeTool;
648
+ };
649
+
650
+ /**
651
+ * 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.
652
+ */
653
+ export const CreateToolResponseBodyToolsResponseStatus = {
654
+ Live: "live",
655
+ Draft: "draft",
656
+ Pending: "pending",
657
+ Published: "published",
658
+ } as const;
659
+ /**
660
+ * 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.
661
+ */
662
+ export type CreateToolResponseBodyToolsResponseStatus = ClosedEnum<
663
+ typeof CreateToolResponseBodyToolsResponseStatus
664
+ >;
665
+
666
+ export type ResponseBodyHeaders = {
667
+ value: string;
668
+ encrypted: boolean;
669
+ };
670
+
671
+ export const CreateToolResponseBodyToolsResponse200ApplicationJson4Type = {
672
+ Object: "object",
673
+ } as const;
674
+ export type CreateToolResponseBodyToolsResponse200ApplicationJson4Type =
675
+ ClosedEnum<typeof CreateToolResponseBodyToolsResponse200ApplicationJson4Type>;
676
+
677
+ export type CreateToolResponseBodySchema = {
678
+ type: CreateToolResponseBodyToolsResponse200ApplicationJson4Type;
679
+ properties?: { [k: string]: any } | undefined;
680
+ required?: Array<string> | undefined;
681
+ };
682
+
683
+ export type ResponseBodyTools = {
684
+ id: string;
685
+ name: string;
686
+ description?: string | undefined;
687
+ schema: CreateToolResponseBodySchema;
688
+ };
689
+
690
+ /**
691
+ * The connection type used by the MCP server
692
+ */
693
+ export const ResponseBodyConnectionType = {
694
+ Http: "http",
695
+ Sse: "sse",
696
+ } as const;
697
+ /**
698
+ * The connection type used by the MCP server
699
+ */
700
+ export type ResponseBodyConnectionType = ClosedEnum<
701
+ typeof ResponseBodyConnectionType
702
+ >;
703
+
704
+ export type ResponseBodyMcp = {
705
+ /**
706
+ * The MCP server URL (cached for execution)
707
+ */
708
+ serverUrl: string;
709
+ /**
710
+ * HTTP headers for MCP server requests with encryption support
711
+ */
712
+ headers?: { [k: string]: ResponseBodyHeaders } | undefined;
713
+ /**
714
+ * Array of tools available from the MCP server
715
+ */
716
+ tools: Array<ResponseBodyTools>;
717
+ /**
718
+ * The connection type used by the MCP server
719
+ */
720
+ connectionType: ResponseBodyConnectionType;
721
+ /**
722
+ * Names of template variables detected in server_url and headers. Used by the FE to prompt for one-time values on sync/refresh.
723
+ */
724
+ templateVariables?: Array<string> | null | undefined;
725
+ };
726
+
727
+ /**
728
+ * A tool from a Model Context Protocol (MCP) server that provides standardized access to external capabilities.
729
+ */
730
+ export type ResponseBodyMCPTool = {
731
+ id: string;
732
+ /**
733
+ * Entity storage path.
734
+ *
735
+ * @remarks
736
+ *
737
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
738
+ *
739
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
740
+ */
741
+ path: string;
742
+ /**
743
+ * Unique key of the tool as it will be displayed in the UI
744
+ */
745
+ key: string;
746
+ /**
747
+ * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
748
+ */
749
+ displayName?: string | undefined;
750
+ /**
751
+ * 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.
752
+ */
753
+ description: string;
754
+ /**
755
+ * The id of the user that created the tool
756
+ */
757
+ createdById?: string | null | undefined;
758
+ /**
759
+ * The id of the user that last updated the tool
760
+ */
761
+ updatedById?: string | null | undefined;
762
+ projectId: string;
763
+ workspaceId: string;
764
+ created: string;
765
+ updated: string;
766
+ /**
767
+ * 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.
768
+ */
769
+ status: CreateToolResponseBodyToolsResponseStatus;
770
+ type: "mcp";
771
+ mcp: ResponseBodyMcp;
772
+ };
773
+
774
+ /**
775
+ * 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.
776
+ */
777
+ export const CreateToolResponseBodyToolsStatus = {
778
+ Live: "live",
779
+ Draft: "draft",
780
+ Pending: "pending",
781
+ Published: "published",
782
+ } as const;
783
+ /**
784
+ * 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.
785
+ */
786
+ export type CreateToolResponseBodyToolsStatus = ClosedEnum<
787
+ typeof CreateToolResponseBodyToolsStatus
788
+ >;
789
+
790
+ /**
791
+ * The HTTP method to use.
792
+ */
793
+ export const ResponseBodyMethod = {
794
+ Get: "GET",
795
+ Post: "POST",
796
+ Put: "PUT",
797
+ Delete: "DELETE",
798
+ } as const;
799
+ /**
800
+ * The HTTP method to use.
801
+ */
802
+ export type ResponseBodyMethod = ClosedEnum<typeof ResponseBodyMethod>;
803
+
804
+ export type CreateToolHeadersTools2 = {
805
+ value: string;
806
+ encrypted: boolean;
807
+ };
808
+
809
+ export type CreateToolResponseBodyHeaders = CreateToolHeadersTools2 | string;
810
+
811
+ /**
812
+ * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
813
+ */
814
+ export type ResponseBodyBlueprint = {
815
+ /**
816
+ * The URL to send the request to.
817
+ */
818
+ url: string;
819
+ /**
820
+ * The HTTP method to use.
821
+ */
822
+ method: ResponseBodyMethod;
823
+ /**
824
+ * The headers to send with the request. Can be a string value or an object with value and encrypted properties.
825
+ */
826
+ headers?: { [k: string]: CreateToolHeadersTools2 | string } | undefined;
827
+ /**
828
+ * The body to send with the request.
829
+ */
830
+ body?: { [k: string]: any } | undefined;
831
+ };
832
+
833
+ /**
834
+ * The type of the argument.
835
+ */
836
+ export const CreateToolResponseBodyToolsResponse200ApplicationJson3Type = {
837
+ String: "string",
838
+ Number: "number",
839
+ Boolean: "boolean",
840
+ } as const;
841
+ /**
842
+ * The type of the argument.
843
+ */
844
+ export type CreateToolResponseBodyToolsResponse200ApplicationJson3Type =
845
+ ClosedEnum<typeof CreateToolResponseBodyToolsResponse200ApplicationJson3Type>;
846
+
847
+ /**
848
+ * The default value of the argument.
849
+ */
850
+ export type ResponseBodyDefaultValue = string | number | boolean;
851
+
852
+ export type ResponseBodyArguments = {
853
+ /**
854
+ * The type of the argument.
855
+ */
856
+ type: CreateToolResponseBodyToolsResponse200ApplicationJson3Type;
857
+ /**
858
+ * A description of the argument.
859
+ */
860
+ description: string;
861
+ /**
862
+ * 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.
863
+ */
864
+ sendToModel: boolean;
865
+ /**
866
+ * The default value of the argument.
867
+ */
868
+ defaultValue?: string | number | boolean | undefined;
869
+ };
870
+
871
+ export type CreateToolResponseBodyHttp = {
872
+ /**
873
+ * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
874
+ */
875
+ blueprint: ResponseBodyBlueprint;
876
+ /**
877
+ * The arguments to send with the request. The keys will be used to replace the placeholders in the `blueprint` field.
878
+ */
879
+ arguments?: { [k: string]: ResponseBodyArguments } | undefined;
880
+ };
881
+
882
+ /**
883
+ * Executes HTTP requests to interact with external APIs and web services using customizable blueprints.
884
+ */
885
+ export type ResponseBodyHTTPTool = {
886
+ id: string;
887
+ /**
888
+ * Entity storage path.
889
+ *
890
+ * @remarks
891
+ *
892
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
893
+ *
894
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
895
+ */
896
+ path: string;
897
+ /**
898
+ * Unique key of the tool as it will be displayed in the UI
899
+ */
900
+ key: string;
901
+ /**
902
+ * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
903
+ */
904
+ displayName?: string | undefined;
905
+ /**
906
+ * 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.
907
+ */
908
+ description: string;
909
+ /**
910
+ * The id of the user that created the tool
911
+ */
912
+ createdById?: string | null | undefined;
913
+ /**
914
+ * The id of the user that last updated the tool
915
+ */
916
+ updatedById?: string | null | undefined;
917
+ projectId: string;
918
+ workspaceId: string;
919
+ created: string;
920
+ updated: string;
921
+ /**
922
+ * 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.
923
+ */
924
+ status: CreateToolResponseBodyToolsStatus;
925
+ type: "http";
926
+ http: CreateToolResponseBodyHttp;
927
+ };
928
+
929
+ /**
930
+ * 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.
931
+ */
932
+ export const CreateToolResponseBodyStatus = {
933
+ Live: "live",
934
+ Draft: "draft",
935
+ Pending: "pending",
936
+ Published: "published",
937
+ } as const;
938
+ /**
939
+ * 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.
940
+ */
941
+ export type CreateToolResponseBodyStatus = ClosedEnum<
942
+ typeof CreateToolResponseBodyStatus
943
+ >;
944
+
945
+ /**
946
+ * 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.
947
+ */
948
+ export type ResponseBodySchema = {
949
+ /**
950
+ * The JSON Schema type
951
+ */
952
+ type: string;
953
+ /**
954
+ * The properties of the JSON Schema object
955
+ */
956
+ properties: { [k: string]: any };
957
+ /**
958
+ * Array of required property names
959
+ */
960
+ required: Array<string>;
961
+ additionalProperties?: { [k: string]: any } | undefined;
962
+ };
963
+
964
+ export type ResponseBodyJsonSchema = {
965
+ /**
966
+ * 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.
967
+ */
968
+ name: string;
969
+ /**
970
+ * A description of what the response format is for. This will be shown to the user.
971
+ */
972
+ description: string;
973
+ /**
974
+ * 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.
975
+ */
976
+ schema: ResponseBodySchema;
977
+ /**
978
+ * 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.
979
+ */
980
+ strict?: boolean | undefined;
981
+ };
982
+
983
+ /**
984
+ * A tool that enforces structured output format using JSON Schema for consistent response formatting.
985
+ */
986
+ export type ResponseBodyJSONSchemaTool = {
987
+ id: string;
988
+ /**
989
+ * Entity storage path.
990
+ *
991
+ * @remarks
992
+ *
993
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
994
+ *
995
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
996
+ */
997
+ path: string;
998
+ /**
999
+ * Unique key of the tool as it will be displayed in the UI
1000
+ */
1001
+ key: string;
1002
+ /**
1003
+ * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
1004
+ */
1005
+ displayName?: string | undefined;
1006
+ /**
1007
+ * 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.
1008
+ */
1009
+ description: string;
1010
+ /**
1011
+ * The id of the user that created the tool
1012
+ */
1013
+ createdById?: string | null | undefined;
1014
+ /**
1015
+ * The id of the user that last updated the tool
1016
+ */
1017
+ updatedById?: string | null | undefined;
1018
+ projectId: string;
1019
+ workspaceId: string;
1020
+ created: string;
1021
+ updated: string;
1022
+ /**
1023
+ * 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.
1024
+ */
1025
+ status: CreateToolResponseBodyStatus;
1026
+ type: "json_schema";
1027
+ jsonSchema: ResponseBodyJsonSchema;
1028
+ };
1029
+
1030
+ /**
1031
+ * 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.
1032
+ */
1033
+ export const ResponseBodyStatus = {
1034
+ Live: "live",
1035
+ Draft: "draft",
1036
+ Pending: "pending",
1037
+ Published: "published",
1038
+ } as const;
1039
+ /**
1040
+ * 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.
1041
+ */
1042
+ export type ResponseBodyStatus = ClosedEnum<typeof ResponseBodyStatus>;
1043
+
1044
+ /**
1045
+ * The type must be "object"
1046
+ */
1047
+ export const CreateToolResponseBodyToolsResponse200ApplicationJson1Type = {
1048
+ Object: "object",
1049
+ } as const;
1050
+ /**
1051
+ * The type must be "object"
1052
+ */
1053
+ export type CreateToolResponseBodyToolsResponse200ApplicationJson1Type =
1054
+ ClosedEnum<typeof CreateToolResponseBodyToolsResponse200ApplicationJson1Type>;
1055
+
1056
+ /**
1057
+ * 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.
1058
+ */
1059
+ export type ResponseBodyParameters = {
1060
+ /**
1061
+ * The type must be "object"
1062
+ */
1063
+ type: CreateToolResponseBodyToolsResponse200ApplicationJson1Type;
1064
+ /**
1065
+ * The properties of the function parameters
1066
+ */
1067
+ properties: { [k: string]: any };
1068
+ /**
1069
+ * Array of required parameter names
1070
+ */
1071
+ required: Array<string>;
1072
+ additionalProperties?: { [k: string]: any } | undefined;
1073
+ };
1074
+
1075
+ export type ResponseBodyFunction = {
1076
+ /**
1077
+ * 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.
1078
+ */
1079
+ name: string;
1080
+ /**
1081
+ * A description of what the function does, used by the model to choose when and how to call the function.
1082
+ */
1083
+ description?: string | undefined;
1084
+ /**
1085
+ * 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.
1086
+ */
1087
+ strict?: boolean | undefined;
1088
+ /**
1089
+ * 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.
1090
+ */
1091
+ parameters?: ResponseBodyParameters | undefined;
1092
+ };
1093
+
1094
+ /**
1095
+ * A custom function tool that allows the model to call predefined functions with structured parameters.
1096
+ */
1097
+ export type ResponseBodyFunctionTool = {
1098
+ id: string;
1099
+ /**
1100
+ * Entity storage path.
1101
+ *
1102
+ * @remarks
1103
+ *
1104
+ * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
1105
+ *
1106
+ * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
1107
+ */
1108
+ path: string;
1109
+ /**
1110
+ * Unique key of the tool as it will be displayed in the UI
1111
+ */
1112
+ key: string;
1113
+ /**
1114
+ * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
1115
+ */
1116
+ displayName?: string | undefined;
1117
+ /**
1118
+ * 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.
1119
+ */
1120
+ description: string;
1121
+ /**
1122
+ * The id of the user that created the tool
1123
+ */
1124
+ createdById?: string | null | undefined;
1125
+ /**
1126
+ * The id of the user that last updated the tool
1127
+ */
1128
+ updatedById?: string | null | undefined;
1129
+ projectId: string;
1130
+ workspaceId: string;
1131
+ created: string;
1132
+ updated: string;
1133
+ /**
1134
+ * 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.
1135
+ */
1136
+ status: ResponseBodyStatus;
1137
+ type: "function";
1138
+ function: ResponseBodyFunction;
1139
+ };
1140
+
1141
+ /**
1142
+ * Successfully created the tool.
1143
+ */
1144
+ export type CreateToolResponseBody =
1145
+ | ResponseBodyFunctionTool
1146
+ | ResponseBodyJSONSchemaTool
1147
+ | ResponseBodyHTTPTool
1148
+ | ResponseBodyMCPTool
1149
+ | ResponseBodyCodeExecutionTool;
1150
+
1151
+ /** @internal */
1152
+ export const CreateToolRequestBodyToolsRequestStatus$outboundSchema:
1153
+ z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequestStatus> = z
1154
+ .nativeEnum(CreateToolRequestBodyToolsRequestStatus);
1155
+
1156
+ /** @internal */
1157
+ export const CreateToolRequestBodyToolsRequest5CodeToolType$outboundSchema:
1158
+ z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest5CodeToolType> = z
1159
+ .nativeEnum(CreateToolRequestBodyToolsRequest5CodeToolType);
1160
+
1161
+ /** @internal */
1162
+ export type CreateToolRequestBodyParameters$Outbound = {
1163
+ type: string;
1164
+ properties: { [k: string]: any };
1165
+ required: Array<string>;
1166
+ [additionalProperties: string]: unknown;
1167
+ };
1168
+
1169
+ /** @internal */
1170
+ export const CreateToolRequestBodyParameters$outboundSchema: z.ZodType<
1171
+ CreateToolRequestBodyParameters$Outbound,
1172
+ z.ZodTypeDef,
1173
+ CreateToolRequestBodyParameters
1174
+ > = z.object({
1175
+ type: CreateToolRequestBodyToolsRequest5CodeToolType$outboundSchema,
1176
+ properties: z.record(z.any()),
1177
+ required: z.array(z.string()),
1178
+ additionalProperties: z.record(z.any()).optional(),
1179
+ }).transform((v) => {
1180
+ return {
1181
+ ...v.additionalProperties,
1182
+ ...remap$(v, {
1183
+ additionalProperties: null,
1184
+ }),
1185
+ };
1186
+ });
1187
+
1188
+ export function createToolRequestBodyParametersToJSON(
1189
+ createToolRequestBodyParameters: CreateToolRequestBodyParameters,
1190
+ ): string {
1191
+ return JSON.stringify(
1192
+ CreateToolRequestBodyParameters$outboundSchema.parse(
1193
+ createToolRequestBodyParameters,
1194
+ ),
1195
+ );
1196
+ }
1197
+
1198
+ /** @internal */
1199
+ export const RequestBodyLanguage$outboundSchema: z.ZodNativeEnum<
1200
+ typeof RequestBodyLanguage
1201
+ > = z.nativeEnum(RequestBodyLanguage);
1202
+
1203
+ /** @internal */
1204
+ export type RequestBodyCodeTool$Outbound = {
1205
+ parameters?: CreateToolRequestBodyParameters$Outbound | undefined;
1206
+ language: string;
1207
+ code: string;
1208
+ };
1209
+
1210
+ /** @internal */
1211
+ export const RequestBodyCodeTool$outboundSchema: z.ZodType<
1212
+ RequestBodyCodeTool$Outbound,
1213
+ z.ZodTypeDef,
1214
+ RequestBodyCodeTool
1215
+ > = z.object({
1216
+ parameters: z.lazy(() => CreateToolRequestBodyParameters$outboundSchema)
1217
+ .optional(),
1218
+ language: RequestBodyLanguage$outboundSchema,
1219
+ code: z.string(),
1220
+ });
1221
+
1222
+ export function requestBodyCodeToolToJSON(
1223
+ requestBodyCodeTool: RequestBodyCodeTool,
1224
+ ): string {
1225
+ return JSON.stringify(
1226
+ RequestBodyCodeTool$outboundSchema.parse(requestBodyCodeTool),
1227
+ );
1228
+ }
1229
+
1230
+ /** @internal */
1231
+ export type RequestBodyCodeExecutionTool$Outbound = {
1232
+ path: string;
1233
+ key: string;
1234
+ display_name?: string | undefined;
1235
+ description: string;
1236
+ status: string;
1237
+ type: "code";
1238
+ code_tool: RequestBodyCodeTool$Outbound;
1239
+ };
1240
+
1241
+ /** @internal */
1242
+ export const RequestBodyCodeExecutionTool$outboundSchema: z.ZodType<
1243
+ RequestBodyCodeExecutionTool$Outbound,
1244
+ z.ZodTypeDef,
1245
+ RequestBodyCodeExecutionTool
1246
+ > = z.object({
1247
+ path: z.string(),
1248
+ key: z.string(),
1249
+ displayName: z.string().optional(),
1250
+ description: z.string(),
1251
+ status: CreateToolRequestBodyToolsRequestStatus$outboundSchema.default(
1252
+ "live",
1253
+ ),
1254
+ type: z.literal("code"),
1255
+ codeTool: z.lazy(() => RequestBodyCodeTool$outboundSchema),
1256
+ }).transform((v) => {
1257
+ return remap$(v, {
1258
+ displayName: "display_name",
1259
+ codeTool: "code_tool",
1260
+ });
1261
+ });
1262
+
1263
+ export function requestBodyCodeExecutionToolToJSON(
1264
+ requestBodyCodeExecutionTool: RequestBodyCodeExecutionTool,
1265
+ ): string {
1266
+ return JSON.stringify(
1267
+ RequestBodyCodeExecutionTool$outboundSchema.parse(
1268
+ requestBodyCodeExecutionTool,
1269
+ ),
1270
+ );
1271
+ }
1272
+
1273
+ /** @internal */
1274
+ export const CreateToolRequestBodyToolsStatus$outboundSchema: z.ZodNativeEnum<
1275
+ typeof CreateToolRequestBodyToolsStatus
1276
+ > = z.nativeEnum(CreateToolRequestBodyToolsStatus);
1277
+
1278
+ /** @internal */
1279
+ export type RequestBodyHeaders$Outbound = {
1280
+ value: string;
1281
+ encrypted: boolean;
1282
+ };
1283
+
1284
+ /** @internal */
1285
+ export const RequestBodyHeaders$outboundSchema: z.ZodType<
1286
+ RequestBodyHeaders$Outbound,
1287
+ z.ZodTypeDef,
1288
+ RequestBodyHeaders
1289
+ > = z.object({
1290
+ value: z.string(),
1291
+ encrypted: z.boolean().default(false),
1292
+ });
1293
+
1294
+ export function requestBodyHeadersToJSON(
1295
+ requestBodyHeaders: RequestBodyHeaders,
1296
+ ): string {
1297
+ return JSON.stringify(
1298
+ RequestBodyHeaders$outboundSchema.parse(requestBodyHeaders),
1299
+ );
1300
+ }
1301
+
1302
+ /** @internal */
1303
+ export const RequestBodyConnectionType$outboundSchema: z.ZodNativeEnum<
1304
+ typeof RequestBodyConnectionType
1305
+ > = z.nativeEnum(RequestBodyConnectionType);
1306
+
1307
+ /** @internal */
1308
+ export type RequestBodyMcp$Outbound = {
1309
+ server_url: string;
1310
+ headers?: { [k: string]: RequestBodyHeaders$Outbound } | undefined;
1311
+ connection_type: string;
1312
+ };
1313
+
1314
+ /** @internal */
1315
+ export const RequestBodyMcp$outboundSchema: z.ZodType<
1316
+ RequestBodyMcp$Outbound,
1317
+ z.ZodTypeDef,
1318
+ RequestBodyMcp
1319
+ > = z.object({
1320
+ serverUrl: z.string(),
1321
+ headers: z.record(z.lazy(() => RequestBodyHeaders$outboundSchema)).optional(),
1322
+ connectionType: RequestBodyConnectionType$outboundSchema,
1323
+ }).transform((v) => {
1324
+ return remap$(v, {
1325
+ serverUrl: "server_url",
1326
+ connectionType: "connection_type",
1327
+ });
1328
+ });
1329
+
1330
+ export function requestBodyMcpToJSON(requestBodyMcp: RequestBodyMcp): string {
1331
+ return JSON.stringify(RequestBodyMcp$outboundSchema.parse(requestBodyMcp));
1332
+ }
1333
+
1334
+ /** @internal */
1335
+ export type RequestBodyMCPTool$Outbound = {
1336
+ path: string;
1337
+ key: string;
1338
+ display_name?: string | undefined;
1339
+ description: string;
1340
+ status: string;
1341
+ type: "mcp";
1342
+ mcp: RequestBodyMcp$Outbound;
1343
+ discovery_variables?: { [k: string]: string } | undefined;
1344
+ };
1345
+
1346
+ /** @internal */
1347
+ export const RequestBodyMCPTool$outboundSchema: z.ZodType<
1348
+ RequestBodyMCPTool$Outbound,
1349
+ z.ZodTypeDef,
1350
+ RequestBodyMCPTool
1351
+ > = z.object({
1352
+ path: z.string(),
1353
+ key: z.string(),
1354
+ displayName: z.string().optional(),
1355
+ description: z.string(),
1356
+ status: CreateToolRequestBodyToolsStatus$outboundSchema.default("live"),
1357
+ type: z.literal("mcp"),
1358
+ mcp: z.lazy(() => RequestBodyMcp$outboundSchema),
1359
+ discoveryVariables: z.record(z.string()).optional(),
1360
+ }).transform((v) => {
1361
+ return remap$(v, {
1362
+ displayName: "display_name",
1363
+ discoveryVariables: "discovery_variables",
1364
+ });
1365
+ });
1366
+
1367
+ export function requestBodyMCPToolToJSON(
1368
+ requestBodyMCPTool: RequestBodyMCPTool,
1369
+ ): string {
1370
+ return JSON.stringify(
1371
+ RequestBodyMCPTool$outboundSchema.parse(requestBodyMCPTool),
1372
+ );
1373
+ }
1374
+
1375
+ /** @internal */
1376
+ export const CreateToolRequestBodyStatus$outboundSchema: z.ZodNativeEnum<
1377
+ typeof CreateToolRequestBodyStatus
1378
+ > = z.nativeEnum(CreateToolRequestBodyStatus);
1379
+
1380
+ /** @internal */
1381
+ export const RequestBodyMethod$outboundSchema: z.ZodNativeEnum<
1382
+ typeof RequestBodyMethod
1383
+ > = z.nativeEnum(RequestBodyMethod);
1384
+
1385
+ /** @internal */
1386
+ export type CreateToolHeaders2$Outbound = {
1387
+ value: string;
1388
+ encrypted: boolean;
1389
+ };
1390
+
1391
+ /** @internal */
1392
+ export const CreateToolHeaders2$outboundSchema: z.ZodType<
1393
+ CreateToolHeaders2$Outbound,
1394
+ z.ZodTypeDef,
1395
+ CreateToolHeaders2
1396
+ > = z.object({
1397
+ value: z.string(),
1398
+ encrypted: z.boolean().default(false),
1399
+ });
1400
+
1401
+ export function createToolHeaders2ToJSON(
1402
+ createToolHeaders2: CreateToolHeaders2,
1403
+ ): string {
1404
+ return JSON.stringify(
1405
+ CreateToolHeaders2$outboundSchema.parse(createToolHeaders2),
1406
+ );
1407
+ }
1408
+
1409
+ /** @internal */
1410
+ export type CreateToolRequestBodyHeaders$Outbound =
1411
+ | CreateToolHeaders2$Outbound
1412
+ | string;
1413
+
1414
+ /** @internal */
1415
+ export const CreateToolRequestBodyHeaders$outboundSchema: z.ZodType<
1416
+ CreateToolRequestBodyHeaders$Outbound,
1417
+ z.ZodTypeDef,
1418
+ CreateToolRequestBodyHeaders
1419
+ > = z.union([z.lazy(() => CreateToolHeaders2$outboundSchema), z.string()]);
1420
+
1421
+ export function createToolRequestBodyHeadersToJSON(
1422
+ createToolRequestBodyHeaders: CreateToolRequestBodyHeaders,
1423
+ ): string {
1424
+ return JSON.stringify(
1425
+ CreateToolRequestBodyHeaders$outboundSchema.parse(
1426
+ createToolRequestBodyHeaders,
1427
+ ),
1428
+ );
1429
+ }
1430
+
1431
+ /** @internal */
1432
+ export type RequestBodyBlueprint$Outbound = {
1433
+ url: string;
1434
+ method: string;
1435
+ headers?: { [k: string]: CreateToolHeaders2$Outbound | string } | undefined;
1436
+ body?: { [k: string]: any } | undefined;
1437
+ };
1438
+
1439
+ /** @internal */
1440
+ export const RequestBodyBlueprint$outboundSchema: z.ZodType<
1441
+ RequestBodyBlueprint$Outbound,
1442
+ z.ZodTypeDef,
1443
+ RequestBodyBlueprint
1444
+ > = z.object({
1445
+ url: z.string(),
1446
+ method: RequestBodyMethod$outboundSchema,
1447
+ headers: z.record(
1448
+ z.union([z.lazy(() => CreateToolHeaders2$outboundSchema), z.string()]),
1449
+ ).optional(),
1450
+ body: z.record(z.any()).optional(),
1451
+ });
1452
+
1453
+ export function requestBodyBlueprintToJSON(
1454
+ requestBodyBlueprint: RequestBodyBlueprint,
1455
+ ): string {
1456
+ return JSON.stringify(
1457
+ RequestBodyBlueprint$outboundSchema.parse(requestBodyBlueprint),
1458
+ );
1459
+ }
1460
+
1461
+ /** @internal */
1462
+ export const CreateToolRequestBodyToolsRequest3Type$outboundSchema:
1463
+ z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest3Type> = z.nativeEnum(
1464
+ CreateToolRequestBodyToolsRequest3Type,
1465
+ );
1466
+
1467
+ /** @internal */
1468
+ export type RequestBodyDefaultValue$Outbound = string | number | boolean;
1469
+
1470
+ /** @internal */
1471
+ export const RequestBodyDefaultValue$outboundSchema: z.ZodType<
1472
+ RequestBodyDefaultValue$Outbound,
1473
+ z.ZodTypeDef,
1474
+ RequestBodyDefaultValue
1475
+ > = z.union([z.string(), z.number(), z.boolean()]);
1476
+
1477
+ export function requestBodyDefaultValueToJSON(
1478
+ requestBodyDefaultValue: RequestBodyDefaultValue,
1479
+ ): string {
1480
+ return JSON.stringify(
1481
+ RequestBodyDefaultValue$outboundSchema.parse(requestBodyDefaultValue),
1482
+ );
1483
+ }
1484
+
1485
+ /** @internal */
1486
+ export type RequestBodyArguments$Outbound = {
1487
+ type: string;
1488
+ description: string;
1489
+ send_to_model: boolean;
1490
+ default_value?: string | number | boolean | undefined;
1491
+ };
1492
+
1493
+ /** @internal */
1494
+ export const RequestBodyArguments$outboundSchema: z.ZodType<
1495
+ RequestBodyArguments$Outbound,
1496
+ z.ZodTypeDef,
1497
+ RequestBodyArguments
1498
+ > = z.object({
1499
+ type: CreateToolRequestBodyToolsRequest3Type$outboundSchema,
1500
+ description: z.string(),
1501
+ sendToModel: z.boolean().default(true),
1502
+ defaultValue: z.union([z.string(), z.number(), z.boolean()]).optional(),
1503
+ }).transform((v) => {
1504
+ return remap$(v, {
1505
+ sendToModel: "send_to_model",
1506
+ defaultValue: "default_value",
1507
+ });
1508
+ });
1509
+
1510
+ export function requestBodyArgumentsToJSON(
1511
+ requestBodyArguments: RequestBodyArguments,
1512
+ ): string {
1513
+ return JSON.stringify(
1514
+ RequestBodyArguments$outboundSchema.parse(requestBodyArguments),
1515
+ );
1516
+ }
1517
+
1518
+ /** @internal */
1519
+ export type RequestBodyHttp$Outbound = {
1520
+ blueprint: RequestBodyBlueprint$Outbound;
1521
+ arguments?: { [k: string]: RequestBodyArguments$Outbound } | undefined;
1522
+ };
1523
+
1524
+ /** @internal */
1525
+ export const RequestBodyHttp$outboundSchema: z.ZodType<
1526
+ RequestBodyHttp$Outbound,
1527
+ z.ZodTypeDef,
1528
+ RequestBodyHttp
1529
+ > = z.object({
1530
+ blueprint: z.lazy(() => RequestBodyBlueprint$outboundSchema),
1531
+ arguments: z.record(z.lazy(() => RequestBodyArguments$outboundSchema))
1532
+ .optional(),
1533
+ });
1534
+
1535
+ export function requestBodyHttpToJSON(
1536
+ requestBodyHttp: RequestBodyHttp,
1537
+ ): string {
1538
+ return JSON.stringify(RequestBodyHttp$outboundSchema.parse(requestBodyHttp));
1539
+ }
1540
+
1541
+ /** @internal */
1542
+ export type RequestBodyHTTPTool$Outbound = {
1543
+ path: string;
1544
+ key: string;
1545
+ display_name?: string | undefined;
1546
+ description: string;
1547
+ status: string;
1548
+ type: "http";
1549
+ http: RequestBodyHttp$Outbound;
1550
+ };
1551
+
1552
+ /** @internal */
1553
+ export const RequestBodyHTTPTool$outboundSchema: z.ZodType<
1554
+ RequestBodyHTTPTool$Outbound,
1555
+ z.ZodTypeDef,
1556
+ RequestBodyHTTPTool
1557
+ > = z.object({
1558
+ path: z.string(),
1559
+ key: z.string(),
1560
+ displayName: z.string().optional(),
1561
+ description: z.string(),
1562
+ status: CreateToolRequestBodyStatus$outboundSchema.default("live"),
1563
+ type: z.literal("http"),
1564
+ http: z.lazy(() => RequestBodyHttp$outboundSchema),
1565
+ }).transform((v) => {
1566
+ return remap$(v, {
1567
+ displayName: "display_name",
1568
+ });
1569
+ });
1570
+
1571
+ export function requestBodyHTTPToolToJSON(
1572
+ requestBodyHTTPTool: RequestBodyHTTPTool,
1573
+ ): string {
1574
+ return JSON.stringify(
1575
+ RequestBodyHTTPTool$outboundSchema.parse(requestBodyHTTPTool),
1576
+ );
1577
+ }
1578
+
1579
+ /** @internal */
1580
+ export const RequestBodyStatus$outboundSchema: z.ZodNativeEnum<
1581
+ typeof RequestBodyStatus
1582
+ > = z.nativeEnum(RequestBodyStatus);
1583
+
1584
+ /** @internal */
1585
+ export type RequestBodySchema$Outbound = {
1586
+ type: string;
1587
+ properties: { [k: string]: any };
1588
+ required: Array<string>;
1589
+ [additionalProperties: string]: unknown;
1590
+ };
1591
+
1592
+ /** @internal */
1593
+ export const RequestBodySchema$outboundSchema: z.ZodType<
1594
+ RequestBodySchema$Outbound,
1595
+ z.ZodTypeDef,
1596
+ RequestBodySchema
1597
+ > = z.object({
1598
+ type: z.string(),
1599
+ properties: z.record(z.any()),
1600
+ required: z.array(z.string()),
1601
+ additionalProperties: z.record(z.any()).optional(),
1602
+ }).transform((v) => {
1603
+ return {
1604
+ ...v.additionalProperties,
1605
+ ...remap$(v, {
1606
+ additionalProperties: null,
1607
+ }),
1608
+ };
1609
+ });
1610
+
1611
+ export function requestBodySchemaToJSON(
1612
+ requestBodySchema: RequestBodySchema,
1613
+ ): string {
1614
+ return JSON.stringify(
1615
+ RequestBodySchema$outboundSchema.parse(requestBodySchema),
1616
+ );
1617
+ }
1618
+
1619
+ /** @internal */
1620
+ export type RequestBodyJsonSchema$Outbound = {
1621
+ name: string;
1622
+ description: string;
1623
+ schema: RequestBodySchema$Outbound;
1624
+ strict?: boolean | undefined;
1625
+ };
1626
+
1627
+ /** @internal */
1628
+ export const RequestBodyJsonSchema$outboundSchema: z.ZodType<
1629
+ RequestBodyJsonSchema$Outbound,
1630
+ z.ZodTypeDef,
1631
+ RequestBodyJsonSchema
1632
+ > = z.object({
1633
+ name: z.string(),
1634
+ description: z.string(),
1635
+ schema: z.lazy(() => RequestBodySchema$outboundSchema),
1636
+ strict: z.boolean().optional(),
1637
+ });
1638
+
1639
+ export function requestBodyJsonSchemaToJSON(
1640
+ requestBodyJsonSchema: RequestBodyJsonSchema,
1641
+ ): string {
1642
+ return JSON.stringify(
1643
+ RequestBodyJsonSchema$outboundSchema.parse(requestBodyJsonSchema),
1644
+ );
1645
+ }
1646
+
1647
+ /** @internal */
1648
+ export type RequestBodyJSONSchemaTool$Outbound = {
1649
+ path: string;
1650
+ key: string;
1651
+ display_name?: string | undefined;
1652
+ description: string;
1653
+ status: string;
1654
+ type: "json_schema";
1655
+ json_schema: RequestBodyJsonSchema$Outbound;
1656
+ };
1657
+
1658
+ /** @internal */
1659
+ export const RequestBodyJSONSchemaTool$outboundSchema: z.ZodType<
1660
+ RequestBodyJSONSchemaTool$Outbound,
1661
+ z.ZodTypeDef,
1662
+ RequestBodyJSONSchemaTool
1663
+ > = z.object({
1664
+ path: z.string(),
1665
+ key: z.string(),
1666
+ displayName: z.string().optional(),
1667
+ description: z.string(),
1668
+ status: RequestBodyStatus$outboundSchema.default("live"),
1669
+ type: z.literal("json_schema"),
1670
+ jsonSchema: z.lazy(() => RequestBodyJsonSchema$outboundSchema),
1671
+ }).transform((v) => {
1672
+ return remap$(v, {
1673
+ displayName: "display_name",
1674
+ jsonSchema: "json_schema",
1675
+ });
1676
+ });
1677
+
1678
+ export function requestBodyJSONSchemaToolToJSON(
1679
+ requestBodyJSONSchemaTool: RequestBodyJSONSchemaTool,
1680
+ ): string {
1681
+ return JSON.stringify(
1682
+ RequestBodyJSONSchemaTool$outboundSchema.parse(requestBodyJSONSchemaTool),
1683
+ );
1684
+ }
1685
+
1686
+ /** @internal */
1687
+ export const CreateToolRequestBodyToolsRequest1Status$outboundSchema:
1688
+ z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest1Status> = z
1689
+ .nativeEnum(CreateToolRequestBodyToolsRequest1Status);
1690
+
1691
+ /** @internal */
1692
+ export const CreateToolRequestBodyToolsRequest1Type$outboundSchema:
1693
+ z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest1Type> = z.nativeEnum(
1694
+ CreateToolRequestBodyToolsRequest1Type,
1695
+ );
1696
+
1697
+ /** @internal */
1698
+ export type RequestBodyParameters$Outbound = {
1699
+ type: string;
1700
+ properties: { [k: string]: any };
1701
+ required: Array<string>;
1702
+ [additionalProperties: string]: unknown;
1703
+ };
1704
+
1705
+ /** @internal */
1706
+ export const RequestBodyParameters$outboundSchema: z.ZodType<
1707
+ RequestBodyParameters$Outbound,
1708
+ z.ZodTypeDef,
1709
+ RequestBodyParameters
1710
+ > = z.object({
1711
+ type: CreateToolRequestBodyToolsRequest1Type$outboundSchema,
1712
+ properties: z.record(z.any()),
1713
+ required: z.array(z.string()),
1714
+ additionalProperties: z.record(z.any()).optional(),
1715
+ }).transform((v) => {
1716
+ return {
1717
+ ...v.additionalProperties,
1718
+ ...remap$(v, {
1719
+ additionalProperties: null,
1720
+ }),
1721
+ };
1722
+ });
1723
+
1724
+ export function requestBodyParametersToJSON(
1725
+ requestBodyParameters: RequestBodyParameters,
1726
+ ): string {
1727
+ return JSON.stringify(
1728
+ RequestBodyParameters$outboundSchema.parse(requestBodyParameters),
1729
+ );
1730
+ }
1731
+
1732
+ /** @internal */
1733
+ export type RequestBodyFunction$Outbound = {
1734
+ name: string;
1735
+ description?: string | undefined;
1736
+ strict?: boolean | undefined;
1737
+ parameters?: RequestBodyParameters$Outbound | undefined;
1738
+ };
1739
+
1740
+ /** @internal */
1741
+ export const RequestBodyFunction$outboundSchema: z.ZodType<
1742
+ RequestBodyFunction$Outbound,
1743
+ z.ZodTypeDef,
1744
+ RequestBodyFunction
1745
+ > = z.object({
1746
+ name: z.string(),
1747
+ description: z.string().optional(),
1748
+ strict: z.boolean().optional(),
1749
+ parameters: z.lazy(() => RequestBodyParameters$outboundSchema).optional(),
1750
+ });
1751
+
1752
+ export function requestBodyFunctionToJSON(
1753
+ requestBodyFunction: RequestBodyFunction,
1754
+ ): string {
1755
+ return JSON.stringify(
1756
+ RequestBodyFunction$outboundSchema.parse(requestBodyFunction),
1757
+ );
1758
+ }
1759
+
1760
+ /** @internal */
1761
+ export type RequestBodyFunctionTool$Outbound = {
1762
+ path: string;
1763
+ key: string;
1764
+ display_name?: string | undefined;
1765
+ description: string;
1766
+ status: string;
1767
+ type: "function";
1768
+ function: RequestBodyFunction$Outbound;
1769
+ };
1770
+
1771
+ /** @internal */
1772
+ export const RequestBodyFunctionTool$outboundSchema: z.ZodType<
1773
+ RequestBodyFunctionTool$Outbound,
1774
+ z.ZodTypeDef,
1775
+ RequestBodyFunctionTool
1776
+ > = z.object({
1777
+ path: z.string(),
1778
+ key: z.string(),
1779
+ displayName: z.string().optional(),
1780
+ description: z.string(),
1781
+ status: CreateToolRequestBodyToolsRequest1Status$outboundSchema.default(
1782
+ "live",
1783
+ ),
1784
+ type: z.literal("function"),
1785
+ function: z.lazy(() => RequestBodyFunction$outboundSchema),
1786
+ }).transform((v) => {
1787
+ return remap$(v, {
1788
+ displayName: "display_name",
1789
+ });
1790
+ });
1791
+
1792
+ export function requestBodyFunctionToolToJSON(
1793
+ requestBodyFunctionTool: RequestBodyFunctionTool,
1794
+ ): string {
1795
+ return JSON.stringify(
1796
+ RequestBodyFunctionTool$outboundSchema.parse(requestBodyFunctionTool),
1797
+ );
1798
+ }
1799
+
1800
+ /** @internal */
1801
+ export type CreateToolRequestBody$Outbound =
1802
+ | RequestBodyFunctionTool$Outbound
1803
+ | RequestBodyJSONSchemaTool$Outbound
1804
+ | RequestBodyHTTPTool$Outbound
1805
+ | RequestBodyMCPTool$Outbound
1806
+ | RequestBodyCodeExecutionTool$Outbound;
1807
+
1808
+ /** @internal */
1809
+ export const CreateToolRequestBody$outboundSchema: z.ZodType<
1810
+ CreateToolRequestBody$Outbound,
1811
+ z.ZodTypeDef,
1812
+ CreateToolRequestBody
1813
+ > = z.union([
1814
+ z.lazy(() => RequestBodyFunctionTool$outboundSchema),
1815
+ z.lazy(() => RequestBodyJSONSchemaTool$outboundSchema),
1816
+ z.lazy(() => RequestBodyHTTPTool$outboundSchema),
1817
+ z.lazy(() => RequestBodyMCPTool$outboundSchema),
1818
+ z.lazy(() => RequestBodyCodeExecutionTool$outboundSchema),
1819
+ ]);
1820
+
1821
+ export function createToolRequestBodyToJSON(
1822
+ createToolRequestBody: CreateToolRequestBody,
1823
+ ): string {
1824
+ return JSON.stringify(
1825
+ CreateToolRequestBody$outboundSchema.parse(createToolRequestBody),
1826
+ );
1827
+ }
1828
+
1829
+ /** @internal */
1830
+ export const CreateToolResponseBodyToolsResponse200Status$inboundSchema:
1831
+ z.ZodNativeEnum<typeof CreateToolResponseBodyToolsResponse200Status> = z
1832
+ .nativeEnum(CreateToolResponseBodyToolsResponse200Status);
1833
+
1834
+ /** @internal */
1835
+ export const CreateToolResponseBodyToolsResponse200ApplicationJson5Type$inboundSchema:
1836
+ z.ZodNativeEnum<
1837
+ typeof CreateToolResponseBodyToolsResponse200ApplicationJson5Type
1838
+ > = z.nativeEnum(CreateToolResponseBodyToolsResponse200ApplicationJson5Type);
1839
+
1840
+ /** @internal */
1841
+ export const CreateToolResponseBodyParameters$inboundSchema: z.ZodType<
1842
+ CreateToolResponseBodyParameters,
1843
+ z.ZodTypeDef,
1844
+ unknown
1845
+ > = collectExtraKeys$(
1846
+ z.object({
1847
+ type:
1848
+ CreateToolResponseBodyToolsResponse200ApplicationJson5Type$inboundSchema,
1849
+ properties: z.record(z.any()),
1850
+ required: z.array(z.string()),
1851
+ }).catchall(z.any()),
1852
+ "additionalProperties",
1853
+ true,
1854
+ );
1855
+
1856
+ export function createToolResponseBodyParametersFromJSON(
1857
+ jsonString: string,
1858
+ ): SafeParseResult<CreateToolResponseBodyParameters, SDKValidationError> {
1859
+ return safeParse(
1860
+ jsonString,
1861
+ (x) => CreateToolResponseBodyParameters$inboundSchema.parse(JSON.parse(x)),
1862
+ `Failed to parse 'CreateToolResponseBodyParameters' from JSON`,
1863
+ );
1864
+ }
1865
+
1866
+ /** @internal */
1867
+ export const ResponseBodyLanguage$inboundSchema: z.ZodNativeEnum<
1868
+ typeof ResponseBodyLanguage
1869
+ > = z.nativeEnum(ResponseBodyLanguage);
1870
+
1871
+ /** @internal */
1872
+ export const ResponseBodyCodeTool$inboundSchema: z.ZodType<
1873
+ ResponseBodyCodeTool,
1874
+ z.ZodTypeDef,
1875
+ unknown
1876
+ > = z.object({
1877
+ parameters: z.lazy(() => CreateToolResponseBodyParameters$inboundSchema)
1878
+ .optional(),
1879
+ language: ResponseBodyLanguage$inboundSchema,
1880
+ code: z.string(),
1881
+ });
1882
+
1883
+ export function responseBodyCodeToolFromJSON(
1884
+ jsonString: string,
1885
+ ): SafeParseResult<ResponseBodyCodeTool, SDKValidationError> {
1886
+ return safeParse(
1887
+ jsonString,
1888
+ (x) => ResponseBodyCodeTool$inboundSchema.parse(JSON.parse(x)),
1889
+ `Failed to parse 'ResponseBodyCodeTool' from JSON`,
1890
+ );
1891
+ }
1892
+
1893
+ /** @internal */
1894
+ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1895
+ ResponseBodyCodeExecutionTool,
1896
+ z.ZodTypeDef,
1897
+ unknown
1898
+ > = z.object({
1899
+ _id: z.string().default("tool_01KWV652P5Z6MZSZMVQVG471XX"),
1900
+ path: z.string(),
1901
+ key: z.string(),
1902
+ display_name: z.string().optional(),
1903
+ description: z.string(),
1904
+ created_by_id: z.nullable(z.string()).optional(),
1905
+ updated_by_id: z.nullable(z.string()).optional(),
1906
+ project_id: z.string(),
1907
+ workspace_id: z.string(),
1908
+ created: z.string(),
1909
+ updated: z.string(),
1910
+ status: CreateToolResponseBodyToolsResponse200Status$inboundSchema.default(
1911
+ "live",
1912
+ ),
1913
+ type: z.literal("code"),
1914
+ code_tool: z.lazy(() => ResponseBodyCodeTool$inboundSchema),
1915
+ }).transform((v) => {
1916
+ return remap$(v, {
1917
+ "_id": "id",
1918
+ "display_name": "displayName",
1919
+ "created_by_id": "createdById",
1920
+ "updated_by_id": "updatedById",
1921
+ "project_id": "projectId",
1922
+ "workspace_id": "workspaceId",
1923
+ "code_tool": "codeTool",
1924
+ });
1925
+ });
1926
+
1927
+ export function responseBodyCodeExecutionToolFromJSON(
1928
+ jsonString: string,
1929
+ ): SafeParseResult<ResponseBodyCodeExecutionTool, SDKValidationError> {
1930
+ return safeParse(
1931
+ jsonString,
1932
+ (x) => ResponseBodyCodeExecutionTool$inboundSchema.parse(JSON.parse(x)),
1933
+ `Failed to parse 'ResponseBodyCodeExecutionTool' from JSON`,
1934
+ );
1935
+ }
1936
+
1937
+ /** @internal */
1938
+ export const CreateToolResponseBodyToolsResponseStatus$inboundSchema:
1939
+ z.ZodNativeEnum<typeof CreateToolResponseBodyToolsResponseStatus> = z
1940
+ .nativeEnum(CreateToolResponseBodyToolsResponseStatus);
1941
+
1942
+ /** @internal */
1943
+ export const ResponseBodyHeaders$inboundSchema: z.ZodType<
1944
+ ResponseBodyHeaders,
1945
+ z.ZodTypeDef,
1946
+ unknown
1947
+ > = z.object({
1948
+ value: z.string(),
1949
+ encrypted: z.boolean().default(false),
1950
+ });
1951
+
1952
+ export function responseBodyHeadersFromJSON(
1953
+ jsonString: string,
1954
+ ): SafeParseResult<ResponseBodyHeaders, SDKValidationError> {
1955
+ return safeParse(
1956
+ jsonString,
1957
+ (x) => ResponseBodyHeaders$inboundSchema.parse(JSON.parse(x)),
1958
+ `Failed to parse 'ResponseBodyHeaders' from JSON`,
1959
+ );
1960
+ }
1961
+
1962
+ /** @internal */
1963
+ export const CreateToolResponseBodyToolsResponse200ApplicationJson4Type$inboundSchema:
1964
+ z.ZodNativeEnum<
1965
+ typeof CreateToolResponseBodyToolsResponse200ApplicationJson4Type
1966
+ > = z.nativeEnum(CreateToolResponseBodyToolsResponse200ApplicationJson4Type);
1967
+
1968
+ /** @internal */
1969
+ export const CreateToolResponseBodySchema$inboundSchema: z.ZodType<
1970
+ CreateToolResponseBodySchema,
1971
+ z.ZodTypeDef,
1972
+ unknown
1973
+ > = z.object({
1974
+ type:
1975
+ CreateToolResponseBodyToolsResponse200ApplicationJson4Type$inboundSchema,
1976
+ properties: z.record(z.any()).optional(),
1977
+ required: z.array(z.string()).optional(),
1978
+ });
1979
+
1980
+ export function createToolResponseBodySchemaFromJSON(
1981
+ jsonString: string,
1982
+ ): SafeParseResult<CreateToolResponseBodySchema, SDKValidationError> {
1983
+ return safeParse(
1984
+ jsonString,
1985
+ (x) => CreateToolResponseBodySchema$inboundSchema.parse(JSON.parse(x)),
1986
+ `Failed to parse 'CreateToolResponseBodySchema' from JSON`,
1987
+ );
1988
+ }
1989
+
1990
+ /** @internal */
1991
+ export const ResponseBodyTools$inboundSchema: z.ZodType<
1992
+ ResponseBodyTools,
1993
+ z.ZodTypeDef,
1994
+ unknown
1995
+ > = z.object({
1996
+ id: z.string().default("01KWV652P3DVRBTYE1ZT597X3A"),
1997
+ name: z.string(),
1998
+ description: z.string().optional(),
1999
+ schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
2000
+ });
2001
+
2002
+ export function responseBodyToolsFromJSON(
2003
+ jsonString: string,
2004
+ ): SafeParseResult<ResponseBodyTools, SDKValidationError> {
2005
+ return safeParse(
2006
+ jsonString,
2007
+ (x) => ResponseBodyTools$inboundSchema.parse(JSON.parse(x)),
2008
+ `Failed to parse 'ResponseBodyTools' from JSON`,
2009
+ );
2010
+ }
2011
+
2012
+ /** @internal */
2013
+ export const ResponseBodyConnectionType$inboundSchema: z.ZodNativeEnum<
2014
+ typeof ResponseBodyConnectionType
2015
+ > = z.nativeEnum(ResponseBodyConnectionType);
2016
+
2017
+ /** @internal */
2018
+ export const ResponseBodyMcp$inboundSchema: z.ZodType<
2019
+ ResponseBodyMcp,
2020
+ z.ZodTypeDef,
2021
+ unknown
2022
+ > = z.object({
2023
+ server_url: z.string(),
2024
+ headers: z.record(z.lazy(() => ResponseBodyHeaders$inboundSchema)).optional(),
2025
+ tools: z.array(z.lazy(() => ResponseBodyTools$inboundSchema)),
2026
+ connection_type: ResponseBodyConnectionType$inboundSchema,
2027
+ template_variables: z.nullable(z.array(z.string())).optional(),
2028
+ }).transform((v) => {
2029
+ return remap$(v, {
2030
+ "server_url": "serverUrl",
2031
+ "connection_type": "connectionType",
2032
+ "template_variables": "templateVariables",
2033
+ });
2034
+ });
2035
+
2036
+ export function responseBodyMcpFromJSON(
2037
+ jsonString: string,
2038
+ ): SafeParseResult<ResponseBodyMcp, SDKValidationError> {
2039
+ return safeParse(
2040
+ jsonString,
2041
+ (x) => ResponseBodyMcp$inboundSchema.parse(JSON.parse(x)),
2042
+ `Failed to parse 'ResponseBodyMcp' from JSON`,
2043
+ );
2044
+ }
2045
+
2046
+ /** @internal */
2047
+ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
2048
+ ResponseBodyMCPTool,
2049
+ z.ZodTypeDef,
2050
+ unknown
2051
+ > = z.object({
2052
+ _id: z.string().default("tool_01KWV652P1B4YFH4MMMDP4KN96"),
2053
+ path: z.string(),
2054
+ key: z.string(),
2055
+ display_name: z.string().optional(),
2056
+ description: z.string(),
2057
+ created_by_id: z.nullable(z.string()).optional(),
2058
+ updated_by_id: z.nullable(z.string()).optional(),
2059
+ project_id: z.string(),
2060
+ workspace_id: z.string(),
2061
+ created: z.string(),
2062
+ updated: z.string(),
2063
+ status: CreateToolResponseBodyToolsResponseStatus$inboundSchema.default(
2064
+ "live",
2065
+ ),
2066
+ type: z.literal("mcp"),
2067
+ mcp: z.lazy(() => ResponseBodyMcp$inboundSchema),
2068
+ }).transform((v) => {
2069
+ return remap$(v, {
2070
+ "_id": "id",
2071
+ "display_name": "displayName",
2072
+ "created_by_id": "createdById",
2073
+ "updated_by_id": "updatedById",
2074
+ "project_id": "projectId",
2075
+ "workspace_id": "workspaceId",
2076
+ });
2077
+ });
2078
+
2079
+ export function responseBodyMCPToolFromJSON(
2080
+ jsonString: string,
2081
+ ): SafeParseResult<ResponseBodyMCPTool, SDKValidationError> {
2082
+ return safeParse(
2083
+ jsonString,
2084
+ (x) => ResponseBodyMCPTool$inboundSchema.parse(JSON.parse(x)),
2085
+ `Failed to parse 'ResponseBodyMCPTool' from JSON`,
2086
+ );
2087
+ }
2088
+
2089
+ /** @internal */
2090
+ export const CreateToolResponseBodyToolsStatus$inboundSchema: z.ZodNativeEnum<
2091
+ typeof CreateToolResponseBodyToolsStatus
2092
+ > = z.nativeEnum(CreateToolResponseBodyToolsStatus);
2093
+
2094
+ /** @internal */
2095
+ export const ResponseBodyMethod$inboundSchema: z.ZodNativeEnum<
2096
+ typeof ResponseBodyMethod
2097
+ > = z.nativeEnum(ResponseBodyMethod);
2098
+
2099
+ /** @internal */
2100
+ export const CreateToolHeadersTools2$inboundSchema: z.ZodType<
2101
+ CreateToolHeadersTools2,
2102
+ z.ZodTypeDef,
2103
+ unknown
2104
+ > = z.object({
2105
+ value: z.string(),
2106
+ encrypted: z.boolean().default(false),
2107
+ });
2108
+
2109
+ export function createToolHeadersTools2FromJSON(
2110
+ jsonString: string,
2111
+ ): SafeParseResult<CreateToolHeadersTools2, SDKValidationError> {
2112
+ return safeParse(
2113
+ jsonString,
2114
+ (x) => CreateToolHeadersTools2$inboundSchema.parse(JSON.parse(x)),
2115
+ `Failed to parse 'CreateToolHeadersTools2' from JSON`,
2116
+ );
2117
+ }
2118
+
2119
+ /** @internal */
2120
+ export const CreateToolResponseBodyHeaders$inboundSchema: z.ZodType<
2121
+ CreateToolResponseBodyHeaders,
2122
+ z.ZodTypeDef,
2123
+ unknown
2124
+ > = z.union([z.lazy(() => CreateToolHeadersTools2$inboundSchema), z.string()]);
2125
+
2126
+ export function createToolResponseBodyHeadersFromJSON(
2127
+ jsonString: string,
2128
+ ): SafeParseResult<CreateToolResponseBodyHeaders, SDKValidationError> {
2129
+ return safeParse(
2130
+ jsonString,
2131
+ (x) => CreateToolResponseBodyHeaders$inboundSchema.parse(JSON.parse(x)),
2132
+ `Failed to parse 'CreateToolResponseBodyHeaders' from JSON`,
2133
+ );
2134
+ }
2135
+
2136
+ /** @internal */
2137
+ export const ResponseBodyBlueprint$inboundSchema: z.ZodType<
2138
+ ResponseBodyBlueprint,
2139
+ z.ZodTypeDef,
2140
+ unknown
2141
+ > = z.object({
2142
+ url: z.string(),
2143
+ method: ResponseBodyMethod$inboundSchema,
2144
+ headers: z.record(
2145
+ z.union([z.lazy(() => CreateToolHeadersTools2$inboundSchema), z.string()]),
2146
+ ).optional(),
2147
+ body: z.record(z.any()).optional(),
2148
+ });
2149
+
2150
+ export function responseBodyBlueprintFromJSON(
2151
+ jsonString: string,
2152
+ ): SafeParseResult<ResponseBodyBlueprint, SDKValidationError> {
2153
+ return safeParse(
2154
+ jsonString,
2155
+ (x) => ResponseBodyBlueprint$inboundSchema.parse(JSON.parse(x)),
2156
+ `Failed to parse 'ResponseBodyBlueprint' from JSON`,
2157
+ );
2158
+ }
2159
+
2160
+ /** @internal */
2161
+ export const CreateToolResponseBodyToolsResponse200ApplicationJson3Type$inboundSchema:
2162
+ z.ZodNativeEnum<
2163
+ typeof CreateToolResponseBodyToolsResponse200ApplicationJson3Type
2164
+ > = z.nativeEnum(CreateToolResponseBodyToolsResponse200ApplicationJson3Type);
2165
+
2166
+ /** @internal */
2167
+ export const ResponseBodyDefaultValue$inboundSchema: z.ZodType<
2168
+ ResponseBodyDefaultValue,
2169
+ z.ZodTypeDef,
2170
+ unknown
2171
+ > = z.union([z.string(), z.number(), z.boolean()]);
2172
+
2173
+ export function responseBodyDefaultValueFromJSON(
2174
+ jsonString: string,
2175
+ ): SafeParseResult<ResponseBodyDefaultValue, SDKValidationError> {
2176
+ return safeParse(
2177
+ jsonString,
2178
+ (x) => ResponseBodyDefaultValue$inboundSchema.parse(JSON.parse(x)),
2179
+ `Failed to parse 'ResponseBodyDefaultValue' from JSON`,
2180
+ );
2181
+ }
2182
+
2183
+ /** @internal */
2184
+ export const ResponseBodyArguments$inboundSchema: z.ZodType<
2185
+ ResponseBodyArguments,
2186
+ z.ZodTypeDef,
2187
+ unknown
2188
+ > = z.object({
2189
+ type:
2190
+ CreateToolResponseBodyToolsResponse200ApplicationJson3Type$inboundSchema,
2191
+ description: z.string(),
2192
+ send_to_model: z.boolean().default(true),
2193
+ default_value: z.union([z.string(), z.number(), z.boolean()]).optional(),
2194
+ }).transform((v) => {
2195
+ return remap$(v, {
2196
+ "send_to_model": "sendToModel",
2197
+ "default_value": "defaultValue",
2198
+ });
2199
+ });
2200
+
2201
+ export function responseBodyArgumentsFromJSON(
2202
+ jsonString: string,
2203
+ ): SafeParseResult<ResponseBodyArguments, SDKValidationError> {
2204
+ return safeParse(
2205
+ jsonString,
2206
+ (x) => ResponseBodyArguments$inboundSchema.parse(JSON.parse(x)),
2207
+ `Failed to parse 'ResponseBodyArguments' from JSON`,
2208
+ );
2209
+ }
2210
+
2211
+ /** @internal */
2212
+ export const CreateToolResponseBodyHttp$inboundSchema: z.ZodType<
2213
+ CreateToolResponseBodyHttp,
2214
+ z.ZodTypeDef,
2215
+ unknown
2216
+ > = z.object({
2217
+ blueprint: z.lazy(() => ResponseBodyBlueprint$inboundSchema),
2218
+ arguments: z.record(z.lazy(() => ResponseBodyArguments$inboundSchema))
2219
+ .optional(),
2220
+ });
2221
+
2222
+ export function createToolResponseBodyHttpFromJSON(
2223
+ jsonString: string,
2224
+ ): SafeParseResult<CreateToolResponseBodyHttp, SDKValidationError> {
2225
+ return safeParse(
2226
+ jsonString,
2227
+ (x) => CreateToolResponseBodyHttp$inboundSchema.parse(JSON.parse(x)),
2228
+ `Failed to parse 'CreateToolResponseBodyHttp' from JSON`,
2229
+ );
2230
+ }
2231
+
2232
+ /** @internal */
2233
+ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
2234
+ ResponseBodyHTTPTool,
2235
+ z.ZodTypeDef,
2236
+ unknown
2237
+ > = z.object({
2238
+ _id: z.string().default("tool_01KWV652NX0BF8NV1P3MBXDTYA"),
2239
+ path: z.string(),
2240
+ key: z.string(),
2241
+ display_name: z.string().optional(),
2242
+ description: z.string(),
2243
+ created_by_id: z.nullable(z.string()).optional(),
2244
+ updated_by_id: z.nullable(z.string()).optional(),
2245
+ project_id: z.string(),
2246
+ workspace_id: z.string(),
2247
+ created: z.string(),
2248
+ updated: z.string(),
2249
+ status: CreateToolResponseBodyToolsStatus$inboundSchema.default("live"),
2250
+ type: z.literal("http"),
2251
+ http: z.lazy(() => CreateToolResponseBodyHttp$inboundSchema),
2252
+ }).transform((v) => {
2253
+ return remap$(v, {
2254
+ "_id": "id",
2255
+ "display_name": "displayName",
2256
+ "created_by_id": "createdById",
2257
+ "updated_by_id": "updatedById",
2258
+ "project_id": "projectId",
2259
+ "workspace_id": "workspaceId",
2260
+ });
2261
+ });
2262
+
2263
+ export function responseBodyHTTPToolFromJSON(
2264
+ jsonString: string,
2265
+ ): SafeParseResult<ResponseBodyHTTPTool, SDKValidationError> {
2266
+ return safeParse(
2267
+ jsonString,
2268
+ (x) => ResponseBodyHTTPTool$inboundSchema.parse(JSON.parse(x)),
2269
+ `Failed to parse 'ResponseBodyHTTPTool' from JSON`,
2270
+ );
2271
+ }
2272
+
2273
+ /** @internal */
2274
+ export const CreateToolResponseBodyStatus$inboundSchema: z.ZodNativeEnum<
2275
+ typeof CreateToolResponseBodyStatus
2276
+ > = z.nativeEnum(CreateToolResponseBodyStatus);
2277
+
2278
+ /** @internal */
2279
+ export const ResponseBodySchema$inboundSchema: z.ZodType<
2280
+ ResponseBodySchema,
2281
+ z.ZodTypeDef,
2282
+ unknown
2283
+ > = collectExtraKeys$(
2284
+ z.object({
2285
+ type: z.string(),
2286
+ properties: z.record(z.any()),
2287
+ required: z.array(z.string()),
2288
+ }).catchall(z.any()),
2289
+ "additionalProperties",
2290
+ true,
2291
+ );
2292
+
2293
+ export function responseBodySchemaFromJSON(
2294
+ jsonString: string,
2295
+ ): SafeParseResult<ResponseBodySchema, SDKValidationError> {
2296
+ return safeParse(
2297
+ jsonString,
2298
+ (x) => ResponseBodySchema$inboundSchema.parse(JSON.parse(x)),
2299
+ `Failed to parse 'ResponseBodySchema' from JSON`,
2300
+ );
2301
+ }
2302
+
2303
+ /** @internal */
2304
+ export const ResponseBodyJsonSchema$inboundSchema: z.ZodType<
2305
+ ResponseBodyJsonSchema,
2306
+ z.ZodTypeDef,
2307
+ unknown
2308
+ > = z.object({
2309
+ name: z.string(),
2310
+ description: z.string(),
2311
+ schema: z.lazy(() => ResponseBodySchema$inboundSchema),
2312
+ strict: z.boolean().optional(),
2313
+ });
2314
+
2315
+ export function responseBodyJsonSchemaFromJSON(
2316
+ jsonString: string,
2317
+ ): SafeParseResult<ResponseBodyJsonSchema, SDKValidationError> {
2318
+ return safeParse(
2319
+ jsonString,
2320
+ (x) => ResponseBodyJsonSchema$inboundSchema.parse(JSON.parse(x)),
2321
+ `Failed to parse 'ResponseBodyJsonSchema' from JSON`,
2322
+ );
2323
+ }
2324
+
2325
+ /** @internal */
2326
+ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2327
+ ResponseBodyJSONSchemaTool,
2328
+ z.ZodTypeDef,
2329
+ unknown
2330
+ > = z.object({
2331
+ _id: z.string().default("tool_01KWV652NT1135JHGMYJQTGW3Z"),
2332
+ path: z.string(),
2333
+ key: z.string(),
2334
+ display_name: z.string().optional(),
2335
+ description: z.string(),
2336
+ created_by_id: z.nullable(z.string()).optional(),
2337
+ updated_by_id: z.nullable(z.string()).optional(),
2338
+ project_id: z.string(),
2339
+ workspace_id: z.string(),
2340
+ created: z.string(),
2341
+ updated: z.string(),
2342
+ status: CreateToolResponseBodyStatus$inboundSchema.default("live"),
2343
+ type: z.literal("json_schema"),
2344
+ json_schema: z.lazy(() => ResponseBodyJsonSchema$inboundSchema),
2345
+ }).transform((v) => {
2346
+ return remap$(v, {
2347
+ "_id": "id",
2348
+ "display_name": "displayName",
2349
+ "created_by_id": "createdById",
2350
+ "updated_by_id": "updatedById",
2351
+ "project_id": "projectId",
2352
+ "workspace_id": "workspaceId",
2353
+ "json_schema": "jsonSchema",
2354
+ });
2355
+ });
2356
+
2357
+ export function responseBodyJSONSchemaToolFromJSON(
2358
+ jsonString: string,
2359
+ ): SafeParseResult<ResponseBodyJSONSchemaTool, SDKValidationError> {
2360
+ return safeParse(
2361
+ jsonString,
2362
+ (x) => ResponseBodyJSONSchemaTool$inboundSchema.parse(JSON.parse(x)),
2363
+ `Failed to parse 'ResponseBodyJSONSchemaTool' from JSON`,
2364
+ );
2365
+ }
2366
+
2367
+ /** @internal */
2368
+ export const ResponseBodyStatus$inboundSchema: z.ZodNativeEnum<
2369
+ typeof ResponseBodyStatus
2370
+ > = z.nativeEnum(ResponseBodyStatus);
2371
+
2372
+ /** @internal */
2373
+ export const CreateToolResponseBodyToolsResponse200ApplicationJson1Type$inboundSchema:
2374
+ z.ZodNativeEnum<
2375
+ typeof CreateToolResponseBodyToolsResponse200ApplicationJson1Type
2376
+ > = z.nativeEnum(CreateToolResponseBodyToolsResponse200ApplicationJson1Type);
2377
+
2378
+ /** @internal */
2379
+ export const ResponseBodyParameters$inboundSchema: z.ZodType<
2380
+ ResponseBodyParameters,
2381
+ z.ZodTypeDef,
2382
+ unknown
2383
+ > = collectExtraKeys$(
2384
+ z.object({
2385
+ type:
2386
+ CreateToolResponseBodyToolsResponse200ApplicationJson1Type$inboundSchema,
2387
+ properties: z.record(z.any()),
2388
+ required: z.array(z.string()),
2389
+ }).catchall(z.any()),
2390
+ "additionalProperties",
2391
+ true,
2392
+ );
2393
+
2394
+ export function responseBodyParametersFromJSON(
2395
+ jsonString: string,
2396
+ ): SafeParseResult<ResponseBodyParameters, SDKValidationError> {
2397
+ return safeParse(
2398
+ jsonString,
2399
+ (x) => ResponseBodyParameters$inboundSchema.parse(JSON.parse(x)),
2400
+ `Failed to parse 'ResponseBodyParameters' from JSON`,
2401
+ );
2402
+ }
2403
+
2404
+ /** @internal */
2405
+ export const ResponseBodyFunction$inboundSchema: z.ZodType<
2406
+ ResponseBodyFunction,
2407
+ z.ZodTypeDef,
2408
+ unknown
2409
+ > = z.object({
2410
+ name: z.string(),
2411
+ description: z.string().optional(),
2412
+ strict: z.boolean().optional(),
2413
+ parameters: z.lazy(() => ResponseBodyParameters$inboundSchema).optional(),
2414
+ });
2415
+
2416
+ export function responseBodyFunctionFromJSON(
2417
+ jsonString: string,
2418
+ ): SafeParseResult<ResponseBodyFunction, SDKValidationError> {
2419
+ return safeParse(
2420
+ jsonString,
2421
+ (x) => ResponseBodyFunction$inboundSchema.parse(JSON.parse(x)),
2422
+ `Failed to parse 'ResponseBodyFunction' from JSON`,
2423
+ );
2424
+ }
2425
+
2426
+ /** @internal */
2427
+ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
2428
+ ResponseBodyFunctionTool,
2429
+ z.ZodTypeDef,
2430
+ unknown
2431
+ > = z.object({
2432
+ _id: z.string().default("tool_01KWV652NQEZKKZQMKPAR3C17F"),
2433
+ path: z.string(),
2434
+ key: z.string(),
2435
+ display_name: z.string().optional(),
2436
+ description: z.string(),
2437
+ created_by_id: z.nullable(z.string()).optional(),
2438
+ updated_by_id: z.nullable(z.string()).optional(),
2439
+ project_id: z.string(),
2440
+ workspace_id: z.string(),
2441
+ created: z.string(),
2442
+ updated: z.string(),
2443
+ status: ResponseBodyStatus$inboundSchema.default("live"),
2444
+ type: z.literal("function"),
2445
+ function: z.lazy(() => ResponseBodyFunction$inboundSchema),
2446
+ }).transform((v) => {
2447
+ return remap$(v, {
2448
+ "_id": "id",
2449
+ "display_name": "displayName",
2450
+ "created_by_id": "createdById",
2451
+ "updated_by_id": "updatedById",
2452
+ "project_id": "projectId",
2453
+ "workspace_id": "workspaceId",
2454
+ });
2455
+ });
2456
+
2457
+ export function responseBodyFunctionToolFromJSON(
2458
+ jsonString: string,
2459
+ ): SafeParseResult<ResponseBodyFunctionTool, SDKValidationError> {
2460
+ return safeParse(
2461
+ jsonString,
2462
+ (x) => ResponseBodyFunctionTool$inboundSchema.parse(JSON.parse(x)),
2463
+ `Failed to parse 'ResponseBodyFunctionTool' from JSON`,
2464
+ );
2465
+ }
2466
+
2467
+ /** @internal */
2468
+ export const CreateToolResponseBody$inboundSchema: z.ZodType<
2469
+ CreateToolResponseBody,
2470
+ z.ZodTypeDef,
2471
+ unknown
2472
+ > = z.union([
2473
+ z.lazy(() => ResponseBodyFunctionTool$inboundSchema),
2474
+ z.lazy(() => ResponseBodyJSONSchemaTool$inboundSchema),
2475
+ z.lazy(() => ResponseBodyHTTPTool$inboundSchema),
2476
+ z.lazy(() => ResponseBodyMCPTool$inboundSchema),
2477
+ z.lazy(() => ResponseBodyCodeExecutionTool$inboundSchema),
2478
+ ]);
2479
+
2480
+ export function createToolResponseBodyFromJSON(
2481
+ jsonString: string,
2482
+ ): SafeParseResult<CreateToolResponseBody, SDKValidationError> {
2483
+ return safeParse(
2484
+ jsonString,
2485
+ (x) => CreateToolResponseBody$inboundSchema.parse(JSON.parse(x)),
2486
+ `Failed to parse 'CreateToolResponseBody' from JSON`,
2487
+ );
2488
+ }