@orq-ai/node 4.18.0-rc.1 → 4.18.0-rc.10

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 (486) hide show
  1. package/README.md +70 -97
  2. package/funcs/feedbackCreate.d.ts +3 -0
  3. package/funcs/feedbackCreate.d.ts.map +1 -1
  4. package/funcs/feedbackCreate.js +3 -0
  5. package/funcs/feedbackCreate.js.map +1 -1
  6. package/funcs/feedbackRemove.d.ts +3 -0
  7. package/funcs/feedbackRemove.d.ts.map +1 -1
  8. package/funcs/feedbackRemove.js +3 -0
  9. package/funcs/feedbackRemove.js.map +1 -1
  10. package/jsr.json +1 -1
  11. package/lib/config.d.ts +3 -3
  12. package/lib/config.js +3 -3
  13. package/lib/config.js.map +1 -1
  14. package/models/components/agentstartedstreamingevent.d.ts +1 -1
  15. package/models/components/budgetscope.d.ts +2 -2
  16. package/models/components/budgetscoperestresponse.d.ts +2 -2
  17. package/models/components/budgetusage.d.ts +1 -4
  18. package/models/components/budgetusage.d.ts.map +1 -1
  19. package/models/components/budgetusage.js.map +1 -1
  20. package/models/components/classifypromptcacheoptions.d.ts +46 -0
  21. package/models/components/classifypromptcacheoptions.d.ts.map +1 -0
  22. package/models/components/{createwikirequest.js → classifypromptcacheoptions.js} +25 -23
  23. package/models/components/classifypromptcacheoptions.js.map +1 -0
  24. package/models/components/createmcpgatewayrequest.d.ts +6 -0
  25. package/models/components/createmcpgatewayrequest.d.ts.map +1 -1
  26. package/models/components/createmcpgatewayrequest.js +2 -0
  27. package/models/components/createmcpgatewayrequest.js.map +1 -1
  28. package/models/components/creatememorystorerequest.d.ts +1 -1
  29. package/models/components/index.d.ts +2 -27
  30. package/models/components/index.d.ts.map +1 -1
  31. package/models/components/index.js +2 -27
  32. package/models/components/index.js.map +1 -1
  33. package/models/components/mcpauthconfig.d.ts +44 -5
  34. package/models/components/mcpauthconfig.d.ts.map +1 -1
  35. package/models/components/mcpauthconfig.js +20 -3
  36. package/models/components/mcpauthconfig.js.map +1 -1
  37. package/models/components/mcpauthconfigoutput.d.ts +31 -4
  38. package/models/components/mcpauthconfigoutput.d.ts.map +1 -1
  39. package/models/components/mcpauthconfigoutput.js +18 -3
  40. package/models/components/mcpauthconfigoutput.js.map +1 -1
  41. package/models/components/mcpgateway.d.ts +9 -0
  42. package/models/components/mcpgateway.d.ts.map +1 -1
  43. package/models/components/mcpgateway.js +4 -0
  44. package/models/components/mcpgateway.js.map +1 -1
  45. package/models/components/mcpoauthconfig.d.ts +17 -1
  46. package/models/components/mcpoauthconfig.d.ts.map +1 -1
  47. package/models/components/mcpoauthconfig.js +2 -0
  48. package/models/components/mcpoauthconfig.js.map +1 -1
  49. package/models/components/mcpoauthconfigoutput.d.ts +15 -1
  50. package/models/components/mcpoauthconfigoutput.d.ts.map +1 -1
  51. package/models/components/mcpoauthconfigoutput.js +2 -0
  52. package/models/components/mcpoauthconfigoutput.js.map +1 -1
  53. package/models/components/memorystore.d.ts +1 -1
  54. package/models/components/modelmetadata.d.ts +2 -0
  55. package/models/components/modelmetadata.d.ts.map +1 -1
  56. package/models/components/modelmetadata.js +4 -0
  57. package/models/components/modelmetadata.js.map +1 -1
  58. package/models/components/openaipromptcacheoptions.d.ts +5 -5
  59. package/models/components/openaipromptcacheoptions.d.ts.map +1 -1
  60. package/models/components/openaipromptcacheoptions.js +6 -6
  61. package/models/components/openaipromptcacheoptions.js.map +1 -1
  62. package/models/components/providerbudgetscope.d.ts +2 -2
  63. package/models/components/querylogsresponse.d.ts +1 -1
  64. package/models/components/reasoningpart.js +1 -1
  65. package/models/components/spansummary.d.ts +12 -5
  66. package/models/components/spansummary.d.ts.map +1 -1
  67. package/models/components/spansummary.js +9 -1
  68. package/models/components/spansummary.js.map +1 -1
  69. package/models/components/thinkingconfigadaptiveschema.d.ts +22 -0
  70. package/models/components/thinkingconfigadaptiveschema.d.ts.map +1 -1
  71. package/models/components/thinkingconfigadaptiveschema.js +15 -1
  72. package/models/components/thinkingconfigadaptiveschema.js.map +1 -1
  73. package/models/components/thinkingconfigbetweentoolsschema.d.ts +47 -0
  74. package/models/components/thinkingconfigbetweentoolsschema.d.ts.map +1 -0
  75. package/models/components/thinkingconfigbetweentoolsschema.js +84 -0
  76. package/models/components/thinkingconfigbetweentoolsschema.js.map +1 -0
  77. package/models/components/thinkingconfigenabledschema.d.ts +21 -0
  78. package/models/components/thinkingconfigenabledschema.d.ts.map +1 -1
  79. package/models/components/thinkingconfigenabledschema.js +16 -1
  80. package/models/components/thinkingconfigenabledschema.js.map +1 -1
  81. package/models/components/thinkingparam.d.ts +4 -4
  82. package/models/components/thinkingparam.d.ts.map +1 -1
  83. package/models/components/thinkingparam.js +4 -5
  84. package/models/components/thinkingparam.js.map +1 -1
  85. package/models/components/updatemcpgatewayrequest.d.ts +6 -0
  86. package/models/components/updatemcpgatewayrequest.d.ts.map +1 -1
  87. package/models/components/updatemcpgatewayrequest.js +2 -0
  88. package/models/components/updatemcpgatewayrequest.js.map +1 -1
  89. package/models/components/updateworkspacerequest.d.ts +2 -0
  90. package/models/components/updateworkspacerequest.d.ts.map +1 -1
  91. package/models/components/updateworkspacerequest.js +2 -0
  92. package/models/components/updateworkspacerequest.js.map +1 -1
  93. package/models/operations/createagentrequest.d.ts +14 -14
  94. package/models/operations/createagentrequest.d.ts.map +1 -1
  95. package/models/operations/createagentrequest.js +8 -0
  96. package/models/operations/createagentrequest.js.map +1 -1
  97. package/models/operations/createchatcompletion.d.ts +4 -4
  98. package/models/operations/createchatcompletion.d.ts.map +1 -1
  99. package/models/operations/createchatcompletion.js +2 -0
  100. package/models/operations/createchatcompletion.js.map +1 -1
  101. package/models/operations/createclassify.d.ts +18 -11
  102. package/models/operations/createclassify.d.ts.map +1 -1
  103. package/models/operations/createclassify.js +5 -0
  104. package/models/operations/createclassify.js.map +1 -1
  105. package/models/operations/createcompletion.d.ts +4 -4
  106. package/models/operations/createcompletion.d.ts.map +1 -1
  107. package/models/operations/createcompletion.js +2 -0
  108. package/models/operations/createcompletion.js.map +1 -1
  109. package/models/operations/createdecisions.d.ts +18 -11
  110. package/models/operations/createdecisions.d.ts.map +1 -1
  111. package/models/operations/createdecisions.js +5 -0
  112. package/models/operations/createdecisions.js.map +1 -1
  113. package/models/operations/createprompt.d.ts +6 -6
  114. package/models/operations/createprompt.d.ts.map +1 -1
  115. package/models/operations/createprompt.js +4 -0
  116. package/models/operations/createprompt.js.map +1 -1
  117. package/models/operations/createtool.js +4 -4
  118. package/models/operations/deployments.d.ts +1 -1
  119. package/models/operations/getallprompts.d.ts +2 -2
  120. package/models/operations/getallprompts.d.ts.map +1 -1
  121. package/models/operations/getallprompts.js +2 -0
  122. package/models/operations/getallprompts.js.map +1 -1
  123. package/models/operations/getalltools.js +4 -4
  124. package/models/operations/getoneprompt.d.ts +2 -2
  125. package/models/operations/getoneprompt.d.ts.map +1 -1
  126. package/models/operations/getoneprompt.js +2 -0
  127. package/models/operations/getoneprompt.js.map +1 -1
  128. package/models/operations/getpromptversion.d.ts +2 -2
  129. package/models/operations/getpromptversion.d.ts.map +1 -1
  130. package/models/operations/getpromptversion.js +2 -0
  131. package/models/operations/getpromptversion.js.map +1 -1
  132. package/models/operations/getv2humanevalsets.js +2 -2
  133. package/models/operations/getv2humanevalsetsid.js +2 -2
  134. package/models/operations/index.d.ts +0 -10
  135. package/models/operations/index.d.ts.map +1 -1
  136. package/models/operations/index.js +0 -10
  137. package/models/operations/index.js.map +1 -1
  138. package/models/operations/listagents.d.ts +5 -5
  139. package/models/operations/listagents.d.ts.map +1 -1
  140. package/models/operations/listagents.js +4 -0
  141. package/models/operations/listagents.js.map +1 -1
  142. package/models/operations/listdeploymentversions.js +1 -1
  143. package/models/operations/listpromptversions.d.ts +2 -2
  144. package/models/operations/listpromptversions.d.ts.map +1 -1
  145. package/models/operations/listpromptversions.js +2 -0
  146. package/models/operations/listpromptversions.js.map +1 -1
  147. package/models/operations/patchv2humanevalsetsid.js +2 -2
  148. package/models/operations/postv2humanevalsets.js +2 -2
  149. package/models/operations/retrieveagentrequest.d.ts +5 -5
  150. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  151. package/models/operations/retrieveagentrequest.js +4 -0
  152. package/models/operations/retrieveagentrequest.js.map +1 -1
  153. package/models/operations/retrievetool.js +4 -4
  154. package/models/operations/runagent.d.ts +9 -9
  155. package/models/operations/runagent.d.ts.map +1 -1
  156. package/models/operations/runagent.js +5 -1
  157. package/models/operations/runagent.js.map +1 -1
  158. package/models/operations/streamrunagent.d.ts +9 -9
  159. package/models/operations/streamrunagent.d.ts.map +1 -1
  160. package/models/operations/streamrunagent.js +5 -1
  161. package/models/operations/streamrunagent.js.map +1 -1
  162. package/models/operations/updateagent.d.ts +13 -13
  163. package/models/operations/updateagent.d.ts.map +1 -1
  164. package/models/operations/updateagent.js +8 -0
  165. package/models/operations/updateagent.js.map +1 -1
  166. package/models/operations/updateprompt.d.ts +6 -6
  167. package/models/operations/updateprompt.d.ts.map +1 -1
  168. package/models/operations/updateprompt.js +4 -0
  169. package/models/operations/updateprompt.js.map +1 -1
  170. package/models/operations/updatetool.js +4 -4
  171. package/package.json +9 -9
  172. package/sdk/feedback.d.ts +6 -0
  173. package/sdk/feedback.d.ts.map +1 -1
  174. package/sdk/feedback.js +6 -0
  175. package/sdk/feedback.js.map +1 -1
  176. package/sdk/sdk.d.ts +0 -3
  177. package/sdk/sdk.d.ts.map +1 -1
  178. package/sdk/sdk.js +0 -4
  179. package/sdk/sdk.js.map +1 -1
  180. package/src/funcs/feedbackCreate.ts +3 -0
  181. package/src/funcs/feedbackRemove.ts +3 -0
  182. package/src/lib/config.ts +3 -3
  183. package/src/models/components/agentstartedstreamingevent.ts +1 -1
  184. package/src/models/components/budgetscope.ts +2 -2
  185. package/src/models/components/budgetscoperestresponse.ts +2 -2
  186. package/src/models/components/budgetusage.ts +1 -4
  187. package/src/models/components/classifypromptcacheoptions.ts +76 -0
  188. package/src/models/components/createmcpgatewayrequest.ts +11 -0
  189. package/src/models/components/creatememorystorerequest.ts +1 -1
  190. package/src/models/components/index.ts +2 -27
  191. package/src/models/components/mcpauthconfig.ts +67 -10
  192. package/src/models/components/mcpauthconfigoutput.ts +57 -8
  193. package/src/models/components/mcpgateway.ts +15 -0
  194. package/src/models/components/mcpoauthconfig.ts +19 -1
  195. package/src/models/components/mcpoauthconfigoutput.ts +17 -1
  196. package/src/models/components/memorystore.ts +1 -1
  197. package/src/models/components/modelmetadata.ts +6 -0
  198. package/src/models/components/openaipromptcacheoptions.ts +13 -8
  199. package/src/models/components/providerbudgetscope.ts +2 -2
  200. package/src/models/components/querylogsresponse.ts +1 -1
  201. package/src/models/components/reasoningpart.ts +1 -1
  202. package/src/models/components/spansummary.ts +29 -5
  203. package/src/models/components/thinkingconfigadaptiveschema.ts +32 -0
  204. package/src/models/components/thinkingconfigbetweentoolsschema.ts +104 -0
  205. package/src/models/components/thinkingconfigenabledschema.ts +27 -0
  206. package/src/models/components/thinkingparam.ts +7 -6
  207. package/src/models/components/updatemcpgatewayrequest.ts +11 -0
  208. package/src/models/components/updateworkspacerequest.ts +4 -0
  209. package/src/models/operations/createagentrequest.ts +28 -8
  210. package/src/models/operations/createchatcompletion.ts +8 -2
  211. package/src/models/operations/createclassify.ts +25 -11
  212. package/src/models/operations/createcompletion.ts +8 -2
  213. package/src/models/operations/createdecisions.ts +25 -11
  214. package/src/models/operations/createprompt.ts +13 -3
  215. package/src/models/operations/createtool.ts +4 -4
  216. package/src/models/operations/deployments.ts +1 -1
  217. package/src/models/operations/getallprompts.ts +5 -1
  218. package/src/models/operations/getalltools.ts +4 -4
  219. package/src/models/operations/getoneprompt.ts +5 -1
  220. package/src/models/operations/getpromptversion.ts +5 -1
  221. package/src/models/operations/getv2humanevalsets.ts +2 -2
  222. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  223. package/src/models/operations/index.ts +0 -10
  224. package/src/models/operations/listagents.ts +11 -3
  225. package/src/models/operations/listdeploymentversions.ts +1 -1
  226. package/src/models/operations/listpromptversions.ts +5 -1
  227. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  228. package/src/models/operations/postv2humanevalsets.ts +2 -2
  229. package/src/models/operations/retrieveagentrequest.ts +11 -3
  230. package/src/models/operations/retrievetool.ts +4 -4
  231. package/src/models/operations/runagent.ts +18 -6
  232. package/src/models/operations/streamrunagent.ts +18 -6
  233. package/src/models/operations/updateagent.ts +27 -7
  234. package/src/models/operations/updateprompt.ts +13 -3
  235. package/src/models/operations/updatetool.ts +4 -4
  236. package/src/sdk/feedback.ts +6 -0
  237. package/src/sdk/sdk.ts +0 -6
  238. package/funcs/wikisCreate.d.ts +0 -12
  239. package/funcs/wikisCreate.d.ts.map +0 -1
  240. package/funcs/wikisCreate.js +0 -113
  241. package/funcs/wikisCreate.js.map +0 -1
  242. package/funcs/wikisDelete.d.ts +0 -13
  243. package/funcs/wikisDelete.d.ts.map +0 -1
  244. package/funcs/wikisDelete.js +0 -119
  245. package/funcs/wikisDelete.js.map +0 -1
  246. package/funcs/wikisGet.d.ts +0 -13
  247. package/funcs/wikisGet.d.ts.map +0 -1
  248. package/funcs/wikisGet.js +0 -119
  249. package/funcs/wikisGet.js.map +0 -1
  250. package/funcs/wikisGetPage.d.ts +0 -13
  251. package/funcs/wikisGetPage.d.ts.map +0 -1
  252. package/funcs/wikisGetPage.js +0 -124
  253. package/funcs/wikisGetPage.js.map +0 -1
  254. package/funcs/wikisGetTree.d.ts +0 -13
  255. package/funcs/wikisGetTree.d.ts.map +0 -1
  256. package/funcs/wikisGetTree.js +0 -119
  257. package/funcs/wikisGetTree.js.map +0 -1
  258. package/funcs/wikisInspectRepository.d.ts +0 -12
  259. package/funcs/wikisInspectRepository.d.ts.map +0 -1
  260. package/funcs/wikisInspectRepository.js +0 -113
  261. package/funcs/wikisInspectRepository.js.map +0 -1
  262. package/funcs/wikisList.d.ts +0 -13
  263. package/funcs/wikisList.d.ts.map +0 -1
  264. package/funcs/wikisList.js +0 -122
  265. package/funcs/wikisList.js.map +0 -1
  266. package/funcs/wikisListRuns.d.ts +0 -13
  267. package/funcs/wikisListRuns.d.ts.map +0 -1
  268. package/funcs/wikisListRuns.js +0 -123
  269. package/funcs/wikisListRuns.js.map +0 -1
  270. package/funcs/wikisRefresh.d.ts +0 -13
  271. package/funcs/wikisRefresh.d.ts.map +0 -1
  272. package/funcs/wikisRefresh.js +0 -122
  273. package/funcs/wikisRefresh.js.map +0 -1
  274. package/funcs/wikisSearch.d.ts +0 -13
  275. package/funcs/wikisSearch.d.ts.map +0 -1
  276. package/funcs/wikisSearch.js +0 -124
  277. package/funcs/wikisSearch.js.map +0 -1
  278. package/funcs/wikisUpdate.d.ts +0 -13
  279. package/funcs/wikisUpdate.d.ts.map +0 -1
  280. package/funcs/wikisUpdate.js +0 -120
  281. package/funcs/wikisUpdate.js.map +0 -1
  282. package/funcs/wikisUpdatePage.d.ts +0 -13
  283. package/funcs/wikisUpdatePage.d.ts.map +0 -1
  284. package/funcs/wikisUpdatePage.js +0 -122
  285. package/funcs/wikisUpdatePage.js.map +0 -1
  286. package/models/components/createwikirequest.d.ts +0 -26
  287. package/models/components/createwikirequest.d.ts.map +0 -1
  288. package/models/components/createwikirequest.js.map +0 -1
  289. package/models/components/createwikiresponse.d.ts +0 -11
  290. package/models/components/createwikiresponse.d.ts.map +0 -1
  291. package/models/components/createwikiresponse.js +0 -51
  292. package/models/components/createwikiresponse.js.map +0 -1
  293. package/models/components/deletewikiresponse.d.ts +0 -8
  294. package/models/components/deletewikiresponse.d.ts.map +0 -1
  295. package/models/components/deletewikiresponse.js +0 -48
  296. package/models/components/deletewikiresponse.js.map +0 -1
  297. package/models/components/getwikipageresponse.d.ts +0 -11
  298. package/models/components/getwikipageresponse.d.ts.map +0 -1
  299. package/models/components/getwikipageresponse.js +0 -51
  300. package/models/components/getwikipageresponse.js.map +0 -1
  301. package/models/components/getwikiresponse.d.ts +0 -11
  302. package/models/components/getwikiresponse.d.ts.map +0 -1
  303. package/models/components/getwikiresponse.js +0 -51
  304. package/models/components/getwikiresponse.js.map +0 -1
  305. package/models/components/getwikitreeresponse.d.ts +0 -11
  306. package/models/components/getwikitreeresponse.d.ts.map +0 -1
  307. package/models/components/getwikitreeresponse.js +0 -51
  308. package/models/components/getwikitreeresponse.js.map +0 -1
  309. package/models/components/inspectrepositorywikirequest.d.ts +0 -16
  310. package/models/components/inspectrepositorywikirequest.d.ts.map +0 -1
  311. package/models/components/inspectrepositorywikirequest.js +0 -57
  312. package/models/components/inspectrepositorywikirequest.js.map +0 -1
  313. package/models/components/inspectrepositorywikiresponse.d.ts +0 -11
  314. package/models/components/inspectrepositorywikiresponse.d.ts.map +0 -1
  315. package/models/components/inspectrepositorywikiresponse.js +0 -56
  316. package/models/components/inspectrepositorywikiresponse.js.map +0 -1
  317. package/models/components/listwikirunsresponse.d.ts +0 -11
  318. package/models/components/listwikirunsresponse.d.ts.map +0 -1
  319. package/models/components/listwikirunsresponse.js +0 -51
  320. package/models/components/listwikirunsresponse.js.map +0 -1
  321. package/models/components/listwikisresponse.d.ts +0 -12
  322. package/models/components/listwikisresponse.d.ts.map +0 -1
  323. package/models/components/listwikisresponse.js +0 -57
  324. package/models/components/listwikisresponse.js.map +0 -1
  325. package/models/components/mcpenterpriseauthconfig.d.ts +0 -42
  326. package/models/components/mcpenterpriseauthconfig.d.ts.map +0 -1
  327. package/models/components/mcpenterpriseauthconfig.js +0 -60
  328. package/models/components/mcpenterpriseauthconfig.js.map +0 -1
  329. package/models/components/mcpenterpriseauthconfigoutput.d.ts +0 -32
  330. package/models/components/mcpenterpriseauthconfigoutput.d.ts.map +0 -1
  331. package/models/components/mcpenterpriseauthconfigoutput.js +0 -59
  332. package/models/components/mcpenterpriseauthconfigoutput.js.map +0 -1
  333. package/models/components/refreshwikirequest.d.ts +0 -12
  334. package/models/components/refreshwikirequest.d.ts.map +0 -1
  335. package/models/components/refreshwikirequest.js +0 -49
  336. package/models/components/refreshwikirequest.js.map +0 -1
  337. package/models/components/refreshwikiresponse.d.ts +0 -11
  338. package/models/components/refreshwikiresponse.d.ts.map +0 -1
  339. package/models/components/refreshwikiresponse.js +0 -51
  340. package/models/components/refreshwikiresponse.js.map +0 -1
  341. package/models/components/searchwikiresponse.d.ts +0 -11
  342. package/models/components/searchwikiresponse.d.ts.map +0 -1
  343. package/models/components/searchwikiresponse.js +0 -51
  344. package/models/components/searchwikiresponse.js.map +0 -1
  345. package/models/components/updatewikipagerequest.d.ts +0 -16
  346. package/models/components/updatewikipagerequest.d.ts.map +0 -1
  347. package/models/components/updatewikipagerequest.js +0 -56
  348. package/models/components/updatewikipagerequest.js.map +0 -1
  349. package/models/components/updatewikipageresponse.d.ts +0 -11
  350. package/models/components/updatewikipageresponse.d.ts.map +0 -1
  351. package/models/components/updatewikipageresponse.js +0 -51
  352. package/models/components/updatewikipageresponse.js.map +0 -1
  353. package/models/components/updatewikirequest.d.ts +0 -17
  354. package/models/components/updatewikirequest.d.ts.map +0 -1
  355. package/models/components/updatewikirequest.js +0 -58
  356. package/models/components/updatewikirequest.js.map +0 -1
  357. package/models/components/updatewikiresponse.d.ts +0 -11
  358. package/models/components/updatewikiresponse.d.ts.map +0 -1
  359. package/models/components/updatewikiresponse.js +0 -51
  360. package/models/components/updatewikiresponse.js.map +0 -1
  361. package/models/components/wiki.d.ts +0 -29
  362. package/models/components/wiki.d.ts.map +0 -1
  363. package/models/components/wiki.js +0 -88
  364. package/models/components/wiki.js.map +0 -1
  365. package/models/components/wikipage.d.ts +0 -19
  366. package/models/components/wikipage.d.ts.map +0 -1
  367. package/models/components/wikipage.js +0 -68
  368. package/models/components/wikipage.js.map +0 -1
  369. package/models/components/wikirepository.d.ts +0 -25
  370. package/models/components/wikirepository.d.ts.map +0 -1
  371. package/models/components/wikirepository.js +0 -75
  372. package/models/components/wikirepository.js.map +0 -1
  373. package/models/components/wikirun.d.ts +0 -25
  374. package/models/components/wikirun.d.ts.map +0 -1
  375. package/models/components/wikirun.js +0 -79
  376. package/models/components/wikirun.js.map +0 -1
  377. package/models/components/wikirunstats.d.ts +0 -13
  378. package/models/components/wikirunstats.d.ts.map +0 -1
  379. package/models/components/wikirunstats.js +0 -60
  380. package/models/components/wikirunstats.js.map +0 -1
  381. package/models/components/wikisearchhit.d.ts +0 -14
  382. package/models/components/wikisearchhit.d.ts.map +0 -1
  383. package/models/components/wikisearchhit.js +0 -60
  384. package/models/components/wikisearchhit.js.map +0 -1
  385. package/models/components/wikisettings.d.ts +0 -25
  386. package/models/components/wikisettings.d.ts.map +0 -1
  387. package/models/components/wikisettings.js +0 -79
  388. package/models/components/wikisettings.js.map +0 -1
  389. package/models/components/wikitreepage.d.ts +0 -15
  390. package/models/components/wikitreepage.d.ts.map +0 -1
  391. package/models/components/wikitreepage.js +0 -61
  392. package/models/components/wikitreepage.js.map +0 -1
  393. package/models/operations/deletewiki.d.ts +0 -12
  394. package/models/operations/deletewiki.d.ts.map +0 -1
  395. package/models/operations/deletewiki.js +0 -54
  396. package/models/operations/deletewiki.js.map +0 -1
  397. package/models/operations/getwiki.d.ts +0 -12
  398. package/models/operations/getwiki.d.ts.map +0 -1
  399. package/models/operations/getwiki.js +0 -54
  400. package/models/operations/getwiki.js.map +0 -1
  401. package/models/operations/getwikipage.d.ts +0 -16
  402. package/models/operations/getwikipage.d.ts.map +0 -1
  403. package/models/operations/getwikipage.js +0 -57
  404. package/models/operations/getwikipage.js.map +0 -1
  405. package/models/operations/getwikitree.d.ts +0 -12
  406. package/models/operations/getwikitree.d.ts.map +0 -1
  407. package/models/operations/getwikitree.js +0 -54
  408. package/models/operations/getwikitree.js.map +0 -1
  409. package/models/operations/listwikiruns.d.ts +0 -14
  410. package/models/operations/listwikiruns.d.ts.map +0 -1
  411. package/models/operations/listwikiruns.js +0 -55
  412. package/models/operations/listwikiruns.js.map +0 -1
  413. package/models/operations/listwikis.d.ts +0 -22
  414. package/models/operations/listwikis.d.ts.map +0 -1
  415. package/models/operations/listwikis.js +0 -62
  416. package/models/operations/listwikis.js.map +0 -1
  417. package/models/operations/refreshwiki.d.ts +0 -15
  418. package/models/operations/refreshwiki.d.ts.map +0 -1
  419. package/models/operations/refreshwiki.js +0 -57
  420. package/models/operations/refreshwiki.js.map +0 -1
  421. package/models/operations/searchwiki.d.ts +0 -16
  422. package/models/operations/searchwiki.d.ts.map +0 -1
  423. package/models/operations/searchwiki.js +0 -56
  424. package/models/operations/searchwiki.js.map +0 -1
  425. package/models/operations/updatewiki.d.ts +0 -15
  426. package/models/operations/updatewiki.d.ts.map +0 -1
  427. package/models/operations/updatewiki.js +0 -57
  428. package/models/operations/updatewiki.js.map +0 -1
  429. package/models/operations/updatewikipage.d.ts +0 -15
  430. package/models/operations/updatewikipage.d.ts.map +0 -1
  431. package/models/operations/updatewikipage.js +0 -57
  432. package/models/operations/updatewikipage.js.map +0 -1
  433. package/sdk/wikis.d.ts +0 -18
  434. package/sdk/wikis.d.ts.map +0 -1
  435. package/sdk/wikis.js +0 -60
  436. package/sdk/wikis.js.map +0 -1
  437. package/src/funcs/wikisCreate.ts +0 -165
  438. package/src/funcs/wikisDelete.ts +0 -171
  439. package/src/funcs/wikisGet.ts +0 -171
  440. package/src/funcs/wikisGetPage.ts +0 -177
  441. package/src/funcs/wikisGetTree.ts +0 -171
  442. package/src/funcs/wikisInspectRepository.ts +0 -166
  443. package/src/funcs/wikisList.ts +0 -176
  444. package/src/funcs/wikisListRuns.ts +0 -176
  445. package/src/funcs/wikisRefresh.ts +0 -174
  446. package/src/funcs/wikisSearch.ts +0 -177
  447. package/src/funcs/wikisUpdate.ts +0 -172
  448. package/src/funcs/wikisUpdatePage.ts +0 -174
  449. package/src/models/components/createwikirequest.ts +0 -67
  450. package/src/models/components/createwikiresponse.ts +0 -32
  451. package/src/models/components/deletewikiresponse.ts +0 -27
  452. package/src/models/components/getwikipageresponse.ts +0 -32
  453. package/src/models/components/getwikiresponse.ts +0 -32
  454. package/src/models/components/getwikitreeresponse.ts +0 -32
  455. package/src/models/components/inspectrepositorywikirequest.ts +0 -45
  456. package/src/models/components/inspectrepositorywikiresponse.ts +0 -38
  457. package/src/models/components/listwikirunsresponse.ts +0 -32
  458. package/src/models/components/listwikisresponse.ts +0 -39
  459. package/src/models/components/mcpenterpriseauthconfig.ts +0 -72
  460. package/src/models/components/mcpenterpriseauthconfigoutput.ts +0 -62
  461. package/src/models/components/refreshwikirequest.ts +0 -31
  462. package/src/models/components/refreshwikiresponse.ts +0 -32
  463. package/src/models/components/searchwikiresponse.ts +0 -32
  464. package/src/models/components/updatewikipagerequest.ts +0 -42
  465. package/src/models/components/updatewikipageresponse.ts +0 -32
  466. package/src/models/components/updatewikirequest.ts +0 -48
  467. package/src/models/components/updatewikiresponse.ts +0 -32
  468. package/src/models/components/wiki.ts +0 -91
  469. package/src/models/components/wikipage.ts +0 -58
  470. package/src/models/components/wikirepository.ts +0 -72
  471. package/src/models/components/wikirun.ts +0 -71
  472. package/src/models/components/wikirunstats.ts +0 -44
  473. package/src/models/components/wikisearchhit.ts +0 -45
  474. package/src/models/components/wikisettings.ts +0 -76
  475. package/src/models/components/wikitreepage.ts +0 -47
  476. package/src/models/operations/deletewiki.ts +0 -36
  477. package/src/models/operations/getwiki.ts +0 -32
  478. package/src/models/operations/getwikipage.ts +0 -43
  479. package/src/models/operations/getwikitree.ts +0 -36
  480. package/src/models/operations/listwikiruns.ts +0 -39
  481. package/src/models/operations/listwikis.ts +0 -54
  482. package/src/models/operations/refreshwiki.ts +0 -41
  483. package/src/models/operations/searchwiki.ts +0 -42
  484. package/src/models/operations/updatewiki.ts +0 -41
  485. package/src/models/operations/updatewikipage.ts +0 -41
  486. package/src/sdk/wikis.ts +0 -154
@@ -106,7 +106,8 @@ export type Stop = string | Array<string>;
106
106
  export type Thinking =
107
107
  | components.ThinkingConfigDisabledSchema
108
108
  | components.ThinkingConfigEnabledSchema
109
- | components.ThinkingConfigAdaptiveSchema;
109
+ | components.ThinkingConfigAdaptiveSchema
110
+ | components.ThinkingConfigBetweenToolsSchema;
110
111
 
111
112
  /**
112
113
  * The type of the tool. Currently, only function is supported.
@@ -373,6 +374,7 @@ export type ParametersT = {
373
374
  | components.ThinkingConfigDisabledSchema
374
375
  | components.ThinkingConfigEnabledSchema
375
376
  | components.ThinkingConfigAdaptiveSchema
377
+ | components.ThinkingConfigBetweenToolsSchema
376
378
  | undefined;
377
379
  /**
378
380
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -582,7 +584,8 @@ export type FallbackModelConfigurationStop = string | Array<string>;
582
584
  export type FallbackModelConfigurationThinking =
583
585
  | components.ThinkingConfigDisabledSchema
584
586
  | components.ThinkingConfigEnabledSchema
585
- | components.ThinkingConfigAdaptiveSchema;
587
+ | components.ThinkingConfigAdaptiveSchema
588
+ | components.ThinkingConfigBetweenToolsSchema;
586
589
 
587
590
  /**
588
591
  * The type of the tool. Currently, only function is supported.
@@ -870,6 +873,7 @@ export type FallbackModelConfigurationParameters = {
870
873
  | components.ThinkingConfigDisabledSchema
871
874
  | components.ThinkingConfigEnabledSchema
872
875
  | components.ThinkingConfigAdaptiveSchema
876
+ | components.ThinkingConfigBetweenToolsSchema
873
877
  | undefined;
874
878
  /**
875
879
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -1063,7 +1067,7 @@ export type CreateAgentRequestGuardrails = {
1063
1067
  */
1064
1068
  export type Settings = {
1065
1069
  /**
1066
- * Maximum iterations(llm calls) before the agent will stop executing.
1070
+ * Maximum iterations (LLM calls) before the agent will stop executing.
1067
1071
  */
1068
1072
  maxIterations?: number | undefined;
1069
1073
  /**
@@ -1400,7 +1404,7 @@ export type CreateAgentRequestAgentsGuardrails = {
1400
1404
 
1401
1405
  export type CreateAgentRequestSettings = {
1402
1406
  /**
1403
- * Maximum iterations(llm calls) before the agent will stop executing.
1407
+ * Maximum iterations (LLM calls) before the agent will stop executing.
1404
1408
  */
1405
1409
  maxIterations: number;
1406
1410
  /**
@@ -1531,7 +1535,8 @@ export type CreateAgentRequestStop = string | Array<string>;
1531
1535
  export type CreateAgentRequestThinking =
1532
1536
  | components.ThinkingConfigDisabledSchema
1533
1537
  | components.ThinkingConfigEnabledSchema
1534
- | components.ThinkingConfigAdaptiveSchema;
1538
+ | components.ThinkingConfigAdaptiveSchema
1539
+ | components.ThinkingConfigBetweenToolsSchema;
1535
1540
 
1536
1541
  /**
1537
1542
  * The type of the tool. Currently, only function is supported.
@@ -1820,6 +1825,7 @@ export type CreateAgentRequestParameters = {
1820
1825
  | components.ThinkingConfigDisabledSchema
1821
1826
  | components.ThinkingConfigEnabledSchema
1822
1827
  | components.ThinkingConfigAdaptiveSchema
1828
+ | components.ThinkingConfigBetweenToolsSchema
1823
1829
  | undefined;
1824
1830
  /**
1825
1831
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -2013,7 +2019,8 @@ export type CreateAgentRequestFallbackModelConfigurationStop =
2013
2019
  export type CreateAgentRequestFallbackModelConfigurationThinking =
2014
2020
  | components.ThinkingConfigDisabledSchema
2015
2021
  | components.ThinkingConfigEnabledSchema
2016
- | components.ThinkingConfigAdaptiveSchema;
2022
+ | components.ThinkingConfigAdaptiveSchema
2023
+ | components.ThinkingConfigBetweenToolsSchema;
2017
2024
 
2018
2025
  /**
2019
2026
  * The type of the tool. Currently, only function is supported.
@@ -2308,6 +2315,7 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
2308
2315
  | components.ThinkingConfigDisabledSchema
2309
2316
  | components.ThinkingConfigEnabledSchema
2310
2317
  | components.ThinkingConfigAdaptiveSchema
2318
+ | components.ThinkingConfigBetweenToolsSchema
2311
2319
  | undefined;
2312
2320
  /**
2313
2321
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -2651,7 +2659,8 @@ export function stopToJSON(stop: Stop): string {
2651
2659
  export type Thinking$Outbound =
2652
2660
  | components.ThinkingConfigDisabledSchema$Outbound
2653
2661
  | components.ThinkingConfigEnabledSchema$Outbound
2654
- | components.ThinkingConfigAdaptiveSchema$Outbound;
2662
+ | components.ThinkingConfigAdaptiveSchema$Outbound
2663
+ | components.ThinkingConfigBetweenToolsSchema$Outbound;
2655
2664
 
2656
2665
  /** @internal */
2657
2666
  export const Thinking$outboundSchema: z.ZodType<
@@ -2662,6 +2671,7 @@ export const Thinking$outboundSchema: z.ZodType<
2662
2671
  components.ThinkingConfigDisabledSchema$outboundSchema,
2663
2672
  components.ThinkingConfigEnabledSchema$outboundSchema,
2664
2673
  components.ThinkingConfigAdaptiveSchema$outboundSchema,
2674
+ components.ThinkingConfigBetweenToolsSchema$outboundSchema,
2665
2675
  ]);
2666
2676
 
2667
2677
  export function thinkingToJSON(thinking: Thinking): string {
@@ -2987,6 +2997,7 @@ export type ParametersT$Outbound = {
2987
2997
  | components.ThinkingConfigDisabledSchema$Outbound
2988
2998
  | components.ThinkingConfigEnabledSchema$Outbound
2989
2999
  | components.ThinkingConfigAdaptiveSchema$Outbound
3000
+ | components.ThinkingConfigBetweenToolsSchema$Outbound
2990
3001
  | undefined;
2991
3002
  temperature?: number | null | undefined;
2992
3003
  top_p?: number | null | undefined;
@@ -3035,6 +3046,7 @@ export const ParametersT$outboundSchema: z.ZodType<
3035
3046
  components.ThinkingConfigDisabledSchema$outboundSchema,
3036
3047
  components.ThinkingConfigEnabledSchema$outboundSchema,
3037
3048
  components.ThinkingConfigAdaptiveSchema$outboundSchema,
3049
+ components.ThinkingConfigBetweenToolsSchema$outboundSchema,
3038
3050
  ]).optional(),
3039
3051
  temperature: z.nullable(z.number()).optional(),
3040
3052
  topP: z.nullable(z.number()).optional(),
@@ -3321,7 +3333,8 @@ export function fallbackModelConfigurationStopToJSON(
3321
3333
  export type FallbackModelConfigurationThinking$Outbound =
3322
3334
  | components.ThinkingConfigDisabledSchema$Outbound
3323
3335
  | components.ThinkingConfigEnabledSchema$Outbound
3324
- | components.ThinkingConfigAdaptiveSchema$Outbound;
3336
+ | components.ThinkingConfigAdaptiveSchema$Outbound
3337
+ | components.ThinkingConfigBetweenToolsSchema$Outbound;
3325
3338
 
3326
3339
  /** @internal */
3327
3340
  export const FallbackModelConfigurationThinking$outboundSchema: z.ZodType<
@@ -3332,6 +3345,7 @@ export const FallbackModelConfigurationThinking$outboundSchema: z.ZodType<
3332
3345
  components.ThinkingConfigDisabledSchema$outboundSchema,
3333
3346
  components.ThinkingConfigEnabledSchema$outboundSchema,
3334
3347
  components.ThinkingConfigAdaptiveSchema$outboundSchema,
3348
+ components.ThinkingConfigBetweenToolsSchema$outboundSchema,
3335
3349
  ]);
3336
3350
 
3337
3351
  export function fallbackModelConfigurationThinkingToJSON(
@@ -3742,6 +3756,7 @@ export type FallbackModelConfigurationParameters$Outbound = {
3742
3756
  | components.ThinkingConfigDisabledSchema$Outbound
3743
3757
  | components.ThinkingConfigEnabledSchema$Outbound
3744
3758
  | components.ThinkingConfigAdaptiveSchema$Outbound
3759
+ | components.ThinkingConfigBetweenToolsSchema$Outbound
3745
3760
  | undefined;
3746
3761
  temperature?: number | null | undefined;
3747
3762
  top_p?: number | null | undefined;
@@ -3791,6 +3806,7 @@ export const FallbackModelConfigurationParameters$outboundSchema: z.ZodType<
3791
3806
  components.ThinkingConfigDisabledSchema$outboundSchema,
3792
3807
  components.ThinkingConfigEnabledSchema$outboundSchema,
3793
3808
  components.ThinkingConfigAdaptiveSchema$outboundSchema,
3809
+ components.ThinkingConfigBetweenToolsSchema$outboundSchema,
3794
3810
  ]).optional(),
3795
3811
  temperature: z.nullable(z.number()).optional(),
3796
3812
  topP: z.nullable(z.number()).optional(),
@@ -4617,6 +4633,7 @@ export const CreateAgentRequestThinking$inboundSchema: z.ZodType<
4617
4633
  components.ThinkingConfigDisabledSchema$inboundSchema,
4618
4634
  components.ThinkingConfigEnabledSchema$inboundSchema,
4619
4635
  components.ThinkingConfigAdaptiveSchema$inboundSchema,
4636
+ components.ThinkingConfigBetweenToolsSchema$inboundSchema,
4620
4637
  ]);
4621
4638
 
4622
4639
  export function createAgentRequestThinkingFromJSON(
@@ -4981,6 +4998,7 @@ export const CreateAgentRequestParameters$inboundSchema: z.ZodType<
4981
4998
  components.ThinkingConfigDisabledSchema$inboundSchema,
4982
4999
  components.ThinkingConfigEnabledSchema$inboundSchema,
4983
5000
  components.ThinkingConfigAdaptiveSchema$inboundSchema,
5001
+ components.ThinkingConfigBetweenToolsSchema$inboundSchema,
4984
5002
  ]).optional(),
4985
5003
  temperature: z.nullable(z.number()).optional(),
4986
5004
  top_p: z.nullable(z.number()).optional(),
@@ -5248,6 +5266,7 @@ export const CreateAgentRequestFallbackModelConfigurationThinking$inboundSchema:
5248
5266
  components.ThinkingConfigDisabledSchema$inboundSchema,
5249
5267
  components.ThinkingConfigEnabledSchema$inboundSchema,
5250
5268
  components.ThinkingConfigAdaptiveSchema$inboundSchema,
5269
+ components.ThinkingConfigBetweenToolsSchema$inboundSchema,
5251
5270
  ]);
5252
5271
 
5253
5272
  export function createAgentRequestFallbackModelConfigurationThinkingFromJSON(
@@ -5706,6 +5725,7 @@ export const CreateAgentRequestFallbackModelConfigurationParameters$inboundSchem
5706
5725
  components.ThinkingConfigDisabledSchema$inboundSchema,
5707
5726
  components.ThinkingConfigEnabledSchema$inboundSchema,
5708
5727
  components.ThinkingConfigAdaptiveSchema$inboundSchema,
5728
+ components.ThinkingConfigBetweenToolsSchema$inboundSchema,
5709
5729
  ]).optional(),
5710
5730
  temperature: z.nullable(z.number()).optional(),
5711
5731
  top_p: z.nullable(z.number()).optional(),
@@ -548,7 +548,8 @@ export type CreateChatCompletionStreamOptions = {
548
548
  export type CreateChatCompletionThinking =
549
549
  | components.ThinkingConfigDisabledSchema
550
550
  | components.ThinkingConfigEnabledSchema
551
- | components.ThinkingConfigAdaptiveSchema;
551
+ | components.ThinkingConfigAdaptiveSchema
552
+ | components.ThinkingConfigBetweenToolsSchema;
552
553
 
553
554
  /**
554
555
  * The type of the tool. Currently, only function is supported.
@@ -1560,6 +1561,7 @@ export type CreateChatCompletionRequestBody = {
1560
1561
  | components.ThinkingConfigDisabledSchema
1561
1562
  | components.ThinkingConfigEnabledSchema
1562
1563
  | components.ThinkingConfigAdaptiveSchema
1564
+ | components.ThinkingConfigBetweenToolsSchema
1563
1565
  | undefined;
1564
1566
  /**
1565
1567
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -3266,7 +3268,8 @@ export function createChatCompletionStreamOptionsToJSON(
3266
3268
  export type CreateChatCompletionThinking$Outbound =
3267
3269
  | components.ThinkingConfigDisabledSchema$Outbound
3268
3270
  | components.ThinkingConfigEnabledSchema$Outbound
3269
- | components.ThinkingConfigAdaptiveSchema$Outbound;
3271
+ | components.ThinkingConfigAdaptiveSchema$Outbound
3272
+ | components.ThinkingConfigBetweenToolsSchema$Outbound;
3270
3273
 
3271
3274
  /** @internal */
3272
3275
  export const CreateChatCompletionThinking$outboundSchema: z.ZodType<
@@ -3277,6 +3280,7 @@ export const CreateChatCompletionThinking$outboundSchema: z.ZodType<
3277
3280
  components.ThinkingConfigDisabledSchema$outboundSchema,
3278
3281
  components.ThinkingConfigEnabledSchema$outboundSchema,
3279
3282
  components.ThinkingConfigAdaptiveSchema$outboundSchema,
3283
+ components.ThinkingConfigBetweenToolsSchema$outboundSchema,
3280
3284
  ]);
3281
3285
 
3282
3286
  export function createChatCompletionThinkingToJSON(
@@ -5416,6 +5420,7 @@ export type CreateChatCompletionRequestBody$Outbound = {
5416
5420
  | components.ThinkingConfigDisabledSchema$Outbound
5417
5421
  | components.ThinkingConfigEnabledSchema$Outbound
5418
5422
  | components.ThinkingConfigAdaptiveSchema$Outbound
5423
+ | components.ThinkingConfigBetweenToolsSchema$Outbound
5419
5424
  | undefined;
5420
5425
  temperature?: number | null | undefined;
5421
5426
  top_p?: number | null | undefined;
@@ -5491,6 +5496,7 @@ export const CreateChatCompletionRequestBody$outboundSchema: z.ZodType<
5491
5496
  components.ThinkingConfigDisabledSchema$outboundSchema,
5492
5497
  components.ThinkingConfigEnabledSchema$outboundSchema,
5493
5498
  components.ThinkingConfigAdaptiveSchema$outboundSchema,
5499
+ components.ThinkingConfigBetweenToolsSchema$outboundSchema,
5494
5500
  ]).optional(),
5495
5501
  temperature: z.nullable(z.number()).optional(),
5496
5502
  topP: z.nullable(z.number()).optional(),
@@ -10,7 +10,7 @@ import * as components from "../components/index.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  /**
13
- * The evaluation prompt for this question. A string, an object or an array.
13
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
14
14
  */
15
15
  export type CreateClassifyQuestionsRouterClassifyInstructions = string | {
16
16
  [k: string]: any;
@@ -21,14 +21,14 @@ export type CreateClassifyQuestionsRouterClassifyInstructions = string | {
21
21
  */
22
22
  export type BoxQuestion = {
23
23
  /**
24
- * The evaluation prompt for this question. A string, an object or an array.
24
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
25
25
  */
26
26
  instructions: string | { [k: string]: any } | Array<any>;
27
27
  type: "box";
28
28
  };
29
29
 
30
30
  /**
31
- * The evaluation prompt for this question. A string, an object or an array.
31
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
32
32
  */
33
33
  export type CreateClassifyQuestionsInstructions =
34
34
  | string
@@ -44,7 +44,7 @@ export type ScoreQuestion = {
44
44
  */
45
45
  criteria: Array<any>;
46
46
  /**
47
- * The evaluation prompt for this question. A string, an object or an array.
47
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
48
48
  */
49
49
  instructions: string | { [k: string]: any } | Array<any>;
50
50
  type: "score";
@@ -56,7 +56,7 @@ export type ScoreQuestion = {
56
56
  export type QuestionsCriteria = string | { [k: string]: any } | Array<any>;
57
57
 
58
58
  /**
59
- * The evaluation prompt for this question. A string, an object or an array.
59
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
60
60
  */
61
61
  export type QuestionsInstructions = string | { [k: string]: any } | Array<any>;
62
62
 
@@ -69,7 +69,7 @@ export type ChoiceQuestion = {
69
69
  */
70
70
  criteria: { [k: string]: string | { [k: string]: any } | Array<any> | null };
71
71
  /**
72
- * The evaluation prompt for this question. A string, an object or an array.
72
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
73
73
  */
74
74
  instructions: string | { [k: string]: any } | Array<any>;
75
75
  type: "choice";
@@ -100,7 +100,7 @@ export type Criteria = {
100
100
  };
101
101
 
102
102
  /**
103
- * The evaluation prompt for this question. A string, an object or an array.
103
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
104
104
  */
105
105
  export type Instructions = string | { [k: string]: any } | Array<any>;
106
106
 
@@ -113,7 +113,7 @@ export type NoulQuestion = {
113
113
  */
114
114
  criteria?: Criteria | undefined;
115
115
  /**
116
- * The evaluation prompt for this question. A string, an object or an array.
116
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
117
117
  */
118
118
  instructions: string | { [k: string]: any } | Array<any>;
119
119
  type: "noul";
@@ -126,7 +126,7 @@ export type Questions =
126
126
  | BoxQuestion;
127
127
 
128
128
  /**
129
- * The content to evaluate. A string, an object or an array. For TypeSafe models, reference images declared in assets by writing their reference string. For OpenAI GPT-6 Luna, strings are passed as text and objects or ordinary JSON arrays are serialized as text. User-message arrays accept string content or input_text/input_image parts. Images must be inline base64 data URLs, with at most 128 images across the request. Remote image URLs, file IDs, audio, non-user roles, bare content parts and tool items are rejected.
129
+ * The content to evaluate. A string, an object or an array. For TypeSafe models, reference images declared in assets by writing their reference string. Native OpenAI accepts messages and function/custom-tool history. User messages support input_text, input_image and input_json; images can use inline base64 data URLs or public HTTP(S) URLs. At most 128 images across state and question instructions. Shared text/image parts support explicit prompt_cache_breakpoint markers. File IDs, audio, item references and bare content parts are unsupported. Other objects and arrays are serialized as text.
130
130
  */
131
131
  export type State = string | { [k: string]: any } | Array<any>;
132
132
 
@@ -158,14 +158,19 @@ export type CreateClassifyRequestBody = {
158
158
  */
159
159
  name?: string | undefined;
160
160
  /**
161
- * Typed questions keyed by an identifier of your choice. Each answer is returned under the same key.
161
+ * Native OpenAI only. Partitions reuse of shared input across requests.
162
+ */
163
+ promptCacheKey?: string | undefined;
164
+ promptCacheOptions?: components.ClassifyPromptCacheOptions | undefined;
165
+ /**
166
+ * Typed questions keyed by an identifier of your choice. Each answer is returned under the same key. Native OpenAI accepts 1 to 400 questions.
162
167
  */
163
168
  questions: {
164
169
  [k: string]: NoulQuestion | ChoiceQuestion | ScoreQuestion | BoxQuestion;
165
170
  };
166
171
  retry?: components.ClassifyRetryConfig | undefined;
167
172
  /**
168
- * The content to evaluate. A string, an object or an array. For TypeSafe models, reference images declared in assets by writing their reference string. For OpenAI GPT-6 Luna, strings are passed as text and objects or ordinary JSON arrays are serialized as text. User-message arrays accept string content or input_text/input_image parts. Images must be inline base64 data URLs, with at most 128 images across the request. Remote image URLs, file IDs, audio, non-user roles, bare content parts and tool items are rejected.
173
+ * The content to evaluate. A string, an object or an array. For TypeSafe models, reference images declared in assets by writing their reference string. Native OpenAI accepts messages and function/custom-tool history. User messages support input_text, input_image and input_json; images can use inline base64 data URLs or public HTTP(S) URLs. At most 128 images across state and question instructions. Shared text/image parts support explicit prompt_cache_breakpoint markers. File IDs, audio, item references and bare content parts are unsupported. Other objects and arrays are serialized as text.
169
174
  */
170
175
  state: string | { [k: string]: any } | Array<any>;
171
176
  timeout?: components.ClassifyTimeoutConfig | undefined;
@@ -470,6 +475,10 @@ export type CreateClassifyRequestBody$Outbound = {
470
475
  metadata?: { [k: string]: string } | undefined;
471
476
  model: string;
472
477
  name?: string | undefined;
478
+ prompt_cache_key?: string | undefined;
479
+ prompt_cache_options?:
480
+ | components.ClassifyPromptCacheOptions$Outbound
481
+ | undefined;
473
482
  questions: {
474
483
  [k: string]:
475
484
  | NoulQuestion$Outbound
@@ -497,6 +506,9 @@ export const CreateClassifyRequestBody$outboundSchema: z.ZodType<
497
506
  metadata: z.record(z.string()).optional(),
498
507
  model: z.string(),
499
508
  name: z.string().optional(),
509
+ promptCacheKey: z.string().optional(),
510
+ promptCacheOptions: components.ClassifyPromptCacheOptions$outboundSchema
511
+ .optional(),
500
512
  questions: z.record(
501
513
  z.union([
502
514
  z.lazy(() => NoulQuestion$outboundSchema),
@@ -511,6 +523,8 @@ export const CreateClassifyRequestBody$outboundSchema: z.ZodType<
511
523
  }).transform((v) => {
512
524
  return remap$(v, {
513
525
  fallbackOnCodes: "fallback_on_codes",
526
+ promptCacheKey: "prompt_cache_key",
527
+ promptCacheOptions: "prompt_cache_options",
514
528
  });
515
529
  });
516
530
 
@@ -97,7 +97,8 @@ export type CreateCompletionTimeout = {
97
97
  export type CreateCompletionThinking =
98
98
  | components.ThinkingConfigDisabledSchema
99
99
  | components.ThinkingConfigEnabledSchema
100
- | components.ThinkingConfigAdaptiveSchema;
100
+ | components.ThinkingConfigAdaptiveSchema
101
+ | components.ThinkingConfigBetweenToolsSchema;
101
102
 
102
103
  /**
103
104
  * Retry configuration for the request
@@ -766,6 +767,7 @@ export type CreateCompletionRequestBody = {
766
767
  | components.ThinkingConfigDisabledSchema
767
768
  | components.ThinkingConfigEnabledSchema
768
769
  | components.ThinkingConfigAdaptiveSchema
770
+ | components.ThinkingConfigBetweenToolsSchema
769
771
  | null
770
772
  | undefined;
771
773
  /**
@@ -1217,7 +1219,8 @@ export function createCompletionTimeoutToJSON(
1217
1219
  export type CreateCompletionThinking$Outbound =
1218
1220
  | components.ThinkingConfigDisabledSchema$Outbound
1219
1221
  | components.ThinkingConfigEnabledSchema$Outbound
1220
- | components.ThinkingConfigAdaptiveSchema$Outbound;
1222
+ | components.ThinkingConfigAdaptiveSchema$Outbound
1223
+ | components.ThinkingConfigBetweenToolsSchema$Outbound;
1221
1224
 
1222
1225
  /** @internal */
1223
1226
  export const CreateCompletionThinking$outboundSchema: z.ZodType<
@@ -1228,6 +1231,7 @@ export const CreateCompletionThinking$outboundSchema: z.ZodType<
1228
1231
  components.ThinkingConfigDisabledSchema$outboundSchema,
1229
1232
  components.ThinkingConfigEnabledSchema$outboundSchema,
1230
1233
  components.ThinkingConfigAdaptiveSchema$outboundSchema,
1234
+ components.ThinkingConfigBetweenToolsSchema$outboundSchema,
1231
1235
  ]);
1232
1236
 
1233
1237
  export function createCompletionThinkingToJSON(
@@ -2887,6 +2891,7 @@ export type CreateCompletionRequestBody$Outbound = {
2887
2891
  | components.ThinkingConfigDisabledSchema$Outbound
2888
2892
  | components.ThinkingConfigEnabledSchema$Outbound
2889
2893
  | components.ThinkingConfigAdaptiveSchema$Outbound
2894
+ | components.ThinkingConfigBetweenToolsSchema$Outbound
2890
2895
  | null
2891
2896
  | undefined;
2892
2897
  plugins?: Array<components.PIIRedactionPlugin$Outbound> | undefined;
@@ -2926,6 +2931,7 @@ export const CreateCompletionRequestBody$outboundSchema: z.ZodType<
2926
2931
  components.ThinkingConfigDisabledSchema$outboundSchema,
2927
2932
  components.ThinkingConfigEnabledSchema$outboundSchema,
2928
2933
  components.ThinkingConfigAdaptiveSchema$outboundSchema,
2934
+ components.ThinkingConfigBetweenToolsSchema$outboundSchema,
2929
2935
  ]),
2930
2936
  ).optional(),
2931
2937
  plugins: z.array(components.PIIRedactionPlugin$outboundSchema).optional(),
@@ -10,7 +10,7 @@ import * as components from "../components/index.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  /**
13
- * The evaluation prompt for this question. A string, an object or an array.
13
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
14
14
  */
15
15
  export type CreateDecisionsQuestionsRouterDecisionsRequestRequestBodyInstructions =
16
16
  | string
@@ -22,14 +22,14 @@ export type CreateDecisionsQuestionsRouterDecisionsRequestRequestBodyInstruction
22
22
  */
23
23
  export type QuestionsBoxQuestion = {
24
24
  /**
25
- * The evaluation prompt for this question. A string, an object or an array.
25
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
26
26
  */
27
27
  instructions: string | { [k: string]: any } | Array<any>;
28
28
  type: "box";
29
29
  };
30
30
 
31
31
  /**
32
- * The evaluation prompt for this question. A string, an object or an array.
32
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
33
33
  */
34
34
  export type CreateDecisionsQuestionsRouterDecisionsRequestInstructions =
35
35
  | string
@@ -45,7 +45,7 @@ export type QuestionsScoreQuestion = {
45
45
  */
46
46
  criteria: Array<any>;
47
47
  /**
48
- * The evaluation prompt for this question. A string, an object or an array.
48
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
49
49
  */
50
50
  instructions: string | { [k: string]: any } | Array<any>;
51
51
  type: "score";
@@ -59,7 +59,7 @@ export type CreateDecisionsQuestionsRouterDecisionsCriteria = string | {
59
59
  } | Array<any>;
60
60
 
61
61
  /**
62
- * The evaluation prompt for this question. A string, an object or an array.
62
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
63
63
  */
64
64
  export type CreateDecisionsQuestionsRouterDecisionsInstructions = string | {
65
65
  [k: string]: any;
@@ -74,7 +74,7 @@ export type QuestionsChoiceQuestion = {
74
74
  */
75
75
  criteria: { [k: string]: string | { [k: string]: any } | Array<any> | null };
76
76
  /**
77
- * The evaluation prompt for this question. A string, an object or an array.
77
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
78
78
  */
79
79
  instructions: string | { [k: string]: any } | Array<any>;
80
80
  type: "choice";
@@ -105,7 +105,7 @@ export type CreateDecisionsQuestionsCriteria = {
105
105
  };
106
106
 
107
107
  /**
108
- * The evaluation prompt for this question. A string, an object or an array.
108
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
109
109
  */
110
110
  export type CreateDecisionsQuestionsInstructions =
111
111
  | string
@@ -121,7 +121,7 @@ export type QuestionsNoulQuestion = {
121
121
  */
122
122
  criteria?: CreateDecisionsQuestionsCriteria | undefined;
123
123
  /**
124
- * The evaluation prompt for this question. A string, an object or an array.
124
+ * The evaluation prompt for this question. A string, an object or an array. Native OpenAI also accepts arrays of input_text, input_image and input_json parts. Question parts cannot contain prompt cache breakpoints.
125
125
  */
126
126
  instructions: string | { [k: string]: any } | Array<any>;
127
127
  type: "noul";
@@ -134,7 +134,7 @@ export type CreateDecisionsQuestions =
134
134
  | QuestionsBoxQuestion;
135
135
 
136
136
  /**
137
- * The content to evaluate. A string, an object or an array. For TypeSafe models, reference images declared in assets by writing their reference string. For OpenAI GPT-6 Luna, strings are passed as text and objects or ordinary JSON arrays are serialized as text. User-message arrays accept string content or input_text/input_image parts. Images must be inline base64 data URLs, with at most 128 images across the request. Remote image URLs, file IDs, audio, non-user roles, bare content parts and tool items are rejected.
137
+ * The content to evaluate. A string, an object or an array. For TypeSafe models, reference images declared in assets by writing their reference string. Native OpenAI accepts messages and function/custom-tool history. User messages support input_text, input_image and input_json; images can use inline base64 data URLs or public HTTP(S) URLs. At most 128 images across state and question instructions. Shared text/image parts support explicit prompt_cache_breakpoint markers. File IDs, audio, item references and bare content parts are unsupported. Other objects and arrays are serialized as text.
138
138
  */
139
139
  export type CreateDecisionsState = string | { [k: string]: any } | Array<any>;
140
140
 
@@ -166,7 +166,12 @@ export type CreateDecisionsRequestBody = {
166
166
  */
167
167
  name?: string | undefined;
168
168
  /**
169
- * Typed questions keyed by an identifier of your choice. Each answer is returned under the same key.
169
+ * Native OpenAI only. Partitions reuse of shared input across requests.
170
+ */
171
+ promptCacheKey?: string | undefined;
172
+ promptCacheOptions?: components.ClassifyPromptCacheOptions | undefined;
173
+ /**
174
+ * Typed questions keyed by an identifier of your choice. Each answer is returned under the same key. Native OpenAI accepts 1 to 400 questions.
170
175
  */
171
176
  questions: {
172
177
  [k: string]:
@@ -177,7 +182,7 @@ export type CreateDecisionsRequestBody = {
177
182
  };
178
183
  retry?: components.ClassifyRetryConfig | undefined;
179
184
  /**
180
- * The content to evaluate. A string, an object or an array. For TypeSafe models, reference images declared in assets by writing their reference string. For OpenAI GPT-6 Luna, strings are passed as text and objects or ordinary JSON arrays are serialized as text. User-message arrays accept string content or input_text/input_image parts. Images must be inline base64 data URLs, with at most 128 images across the request. Remote image URLs, file IDs, audio, non-user roles, bare content parts and tool items are rejected.
185
+ * The content to evaluate. A string, an object or an array. For TypeSafe models, reference images declared in assets by writing their reference string. Native OpenAI accepts messages and function/custom-tool history. User messages support input_text, input_image and input_json; images can use inline base64 data URLs or public HTTP(S) URLs. At most 128 images across state and question instructions. Shared text/image parts support explicit prompt_cache_breakpoint markers. File IDs, audio, item references and bare content parts are unsupported. Other objects and arrays are serialized as text.
181
186
  */
182
187
  state: string | { [k: string]: any } | Array<any>;
183
188
  timeout?: components.ClassifyTimeoutConfig | undefined;
@@ -541,6 +546,10 @@ export type CreateDecisionsRequestBody$Outbound = {
541
546
  metadata?: { [k: string]: string } | undefined;
542
547
  model: string;
543
548
  name?: string | undefined;
549
+ prompt_cache_key?: string | undefined;
550
+ prompt_cache_options?:
551
+ | components.ClassifyPromptCacheOptions$Outbound
552
+ | undefined;
544
553
  questions: {
545
554
  [k: string]:
546
555
  | QuestionsNoulQuestion$Outbound
@@ -568,6 +577,9 @@ export const CreateDecisionsRequestBody$outboundSchema: z.ZodType<
568
577
  metadata: z.record(z.string()).optional(),
569
578
  model: z.string(),
570
579
  name: z.string().optional(),
580
+ promptCacheKey: z.string().optional(),
581
+ promptCacheOptions: components.ClassifyPromptCacheOptions$outboundSchema
582
+ .optional(),
571
583
  questions: z.record(
572
584
  z.union([
573
585
  z.lazy(() => QuestionsNoulQuestion$outboundSchema),
@@ -582,6 +594,8 @@ export const CreateDecisionsRequestBody$outboundSchema: z.ZodType<
582
594
  }).transform((v) => {
583
595
  return remap$(v, {
584
596
  fallbackOnCodes: "fallback_on_codes",
597
+ promptCacheKey: "prompt_cache_key",
598
+ promptCacheOptions: "prompt_cache_options",
585
599
  });
586
600
  });
587
601
 
@@ -569,7 +569,8 @@ export type StreamOptions = {
569
569
  export type CreatePromptThinking =
570
570
  | components.ThinkingConfigDisabledSchema
571
571
  | components.ThinkingConfigEnabledSchema
572
- | components.ThinkingConfigAdaptiveSchema;
572
+ | components.ThinkingConfigAdaptiveSchema
573
+ | components.ThinkingConfigBetweenToolsSchema;
573
574
 
574
575
  /**
575
576
  * The type of the tool. Currently, only function is supported.
@@ -895,6 +896,7 @@ export type PromptInput = {
895
896
  | components.ThinkingConfigDisabledSchema
896
897
  | components.ThinkingConfigEnabledSchema
897
898
  | components.ThinkingConfigAdaptiveSchema
899
+ | components.ThinkingConfigBetweenToolsSchema
898
900
  | undefined;
899
901
  /**
900
902
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -1746,7 +1748,8 @@ export type CreatePromptStreamOptions = {
1746
1748
  export type CreatePromptPromptsThinking =
1747
1749
  | components.ThinkingConfigDisabledSchema
1748
1750
  | components.ThinkingConfigEnabledSchema
1749
- | components.ThinkingConfigAdaptiveSchema;
1751
+ | components.ThinkingConfigAdaptiveSchema
1752
+ | components.ThinkingConfigBetweenToolsSchema;
1750
1753
 
1751
1754
  /**
1752
1755
  * The type of the tool. Currently, only function is supported.
@@ -2420,6 +2423,7 @@ export type PromptField = {
2420
2423
  | components.ThinkingConfigDisabledSchema
2421
2424
  | components.ThinkingConfigEnabledSchema
2422
2425
  | components.ThinkingConfigAdaptiveSchema
2426
+ | components.ThinkingConfigBetweenToolsSchema
2423
2427
  | undefined;
2424
2428
  /**
2425
2429
  * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
@@ -3516,7 +3520,8 @@ export function streamOptionsToJSON(streamOptions: StreamOptions): string {
3516
3520
  export type CreatePromptThinking$Outbound =
3517
3521
  | components.ThinkingConfigDisabledSchema$Outbound
3518
3522
  | components.ThinkingConfigEnabledSchema$Outbound
3519
- | components.ThinkingConfigAdaptiveSchema$Outbound;
3523
+ | components.ThinkingConfigAdaptiveSchema$Outbound
3524
+ | components.ThinkingConfigBetweenToolsSchema$Outbound;
3520
3525
 
3521
3526
  /** @internal */
3522
3527
  export const CreatePromptThinking$outboundSchema: z.ZodType<
@@ -3527,6 +3532,7 @@ export const CreatePromptThinking$outboundSchema: z.ZodType<
3527
3532
  components.ThinkingConfigDisabledSchema$outboundSchema,
3528
3533
  components.ThinkingConfigEnabledSchema$outboundSchema,
3529
3534
  components.ThinkingConfigAdaptiveSchema$outboundSchema,
3535
+ components.ThinkingConfigBetweenToolsSchema$outboundSchema,
3530
3536
  ]);
3531
3537
 
3532
3538
  export function createPromptThinkingToJSON(
@@ -3947,6 +3953,7 @@ export type PromptInput$Outbound = {
3947
3953
  | components.ThinkingConfigDisabledSchema$Outbound
3948
3954
  | components.ThinkingConfigEnabledSchema$Outbound
3949
3955
  | components.ThinkingConfigAdaptiveSchema$Outbound
3956
+ | components.ThinkingConfigBetweenToolsSchema$Outbound
3950
3957
  | undefined;
3951
3958
  temperature?: number | null | undefined;
3952
3959
  top_p?: number | null | undefined;
@@ -4011,6 +4018,7 @@ export const PromptInput$outboundSchema: z.ZodType<
4011
4018
  components.ThinkingConfigDisabledSchema$outboundSchema,
4012
4019
  components.ThinkingConfigEnabledSchema$outboundSchema,
4013
4020
  components.ThinkingConfigAdaptiveSchema$outboundSchema,
4021
+ components.ThinkingConfigBetweenToolsSchema$outboundSchema,
4014
4022
  ]).optional(),
4015
4023
  temperature: z.nullable(z.number()).optional(),
4016
4024
  topP: z.nullable(z.number()).optional(),
@@ -4907,6 +4915,7 @@ export const CreatePromptPromptsThinking$inboundSchema: z.ZodType<
4907
4915
  components.ThinkingConfigDisabledSchema$inboundSchema,
4908
4916
  components.ThinkingConfigEnabledSchema$inboundSchema,
4909
4917
  components.ThinkingConfigAdaptiveSchema$inboundSchema,
4918
+ components.ThinkingConfigBetweenToolsSchema$inboundSchema,
4910
4919
  ]);
4911
4920
 
4912
4921
  export function createPromptPromptsThinkingFromJSON(
@@ -5884,6 +5893,7 @@ export const PromptField$inboundSchema: z.ZodType<
5884
5893
  components.ThinkingConfigDisabledSchema$inboundSchema,
5885
5894
  components.ThinkingConfigEnabledSchema$inboundSchema,
5886
5895
  components.ThinkingConfigAdaptiveSchema$inboundSchema,
5896
+ components.ThinkingConfigBetweenToolsSchema$inboundSchema,
5887
5897
  ]).optional(),
5888
5898
  temperature: z.nullable(z.number()).optional(),
5889
5899
  top_p: z.nullable(z.number()).optional(),