@orq-ai/node 4.1.0-rc.34 → 4.1.0-rc.35

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 (461) hide show
  1. package/README.md +42 -18
  2. package/bin/mcp-server.js +4959 -5404
  3. package/bin/mcp-server.js.map +126 -82
  4. package/examples/package-lock.json +1 -1
  5. package/funcs/agentsResponsesCreate.d.ts +7 -1
  6. package/funcs/agentsResponsesCreate.d.ts.map +1 -1
  7. package/funcs/agentsResponsesCreate.js +9 -2
  8. package/funcs/agentsResponsesCreate.js.map +1 -1
  9. package/funcs/budgetsCreate.d.ts +1 -1
  10. package/funcs/budgetsCreate.js +1 -1
  11. package/funcs/contactsList.js +1 -0
  12. package/funcs/contactsList.js.map +1 -1
  13. package/funcs/conversationsCreate.d.ts +17 -0
  14. package/funcs/conversationsCreate.d.ts.map +1 -0
  15. package/funcs/conversationsCreate.js +114 -0
  16. package/funcs/conversationsCreate.js.map +1 -0
  17. package/funcs/conversationsDelete.d.ts +17 -0
  18. package/funcs/conversationsDelete.d.ts.map +1 -0
  19. package/funcs/conversationsDelete.js +127 -0
  20. package/funcs/conversationsDelete.js.map +1 -0
  21. package/funcs/conversationsGenerateName.d.ts +18 -0
  22. package/funcs/conversationsGenerateName.d.ts.map +1 -0
  23. package/funcs/conversationsGenerateName.js +128 -0
  24. package/funcs/conversationsGenerateName.js.map +1 -0
  25. package/funcs/conversationsList.d.ts +17 -0
  26. package/funcs/conversationsList.d.ts.map +1 -0
  27. package/funcs/conversationsList.js +124 -0
  28. package/funcs/conversationsList.js.map +1 -0
  29. package/funcs/conversationsRetrieve.d.ts +18 -0
  30. package/funcs/conversationsRetrieve.d.ts.map +1 -0
  31. package/funcs/conversationsRetrieve.js +126 -0
  32. package/funcs/conversationsRetrieve.js.map +1 -0
  33. package/funcs/conversationsUpdate.d.ts +18 -0
  34. package/funcs/conversationsUpdate.d.ts.map +1 -0
  35. package/funcs/conversationsUpdate.js +128 -0
  36. package/funcs/conversationsUpdate.js.map +1 -0
  37. package/funcs/evalsInvoke.d.ts +15 -0
  38. package/funcs/evalsInvoke.d.ts.map +1 -0
  39. package/funcs/evalsInvoke.js +121 -0
  40. package/funcs/evalsInvoke.js.map +1 -0
  41. package/funcs/memoryStoresListDocuments.js +2 -0
  42. package/funcs/memoryStoresListDocuments.js.map +1 -1
  43. package/funcs/memoryStoresListMemories.js +1 -0
  44. package/funcs/memoryStoresListMemories.js.map +1 -1
  45. package/jsr.json +1 -1
  46. package/lib/config.d.ts +3 -3
  47. package/lib/config.js +3 -3
  48. package/mcp-server/mcp-server.js +1 -1
  49. package/mcp-server/server.d.ts.map +1 -1
  50. package/mcp-server/server.js +15 -1
  51. package/mcp-server/server.js.map +1 -1
  52. package/mcp-server/tools/budgetsCreate.js +1 -1
  53. package/mcp-server/tools/budgetsCreate.js.map +1 -1
  54. package/mcp-server/tools/conversationsCreate.d.ts +8 -0
  55. package/mcp-server/tools/conversationsCreate.d.ts.map +1 -0
  56. package/mcp-server/tools/conversationsCreate.js +64 -0
  57. package/mcp-server/tools/conversationsCreate.js.map +1 -0
  58. package/mcp-server/tools/conversationsDelete.d.ts +8 -0
  59. package/mcp-server/tools/conversationsDelete.d.ts.map +1 -0
  60. package/mcp-server/tools/conversationsDelete.js +63 -0
  61. package/mcp-server/tools/conversationsDelete.js.map +1 -0
  62. package/mcp-server/tools/conversationsGenerateName.d.ts +10 -0
  63. package/mcp-server/tools/conversationsGenerateName.d.ts.map +1 -0
  64. package/mcp-server/tools/conversationsGenerateName.js +66 -0
  65. package/mcp-server/tools/conversationsGenerateName.js.map +1 -0
  66. package/mcp-server/tools/conversationsList.d.ts +10 -0
  67. package/mcp-server/tools/conversationsList.d.ts.map +1 -0
  68. package/mcp-server/tools/conversationsList.js +66 -0
  69. package/mcp-server/tools/conversationsList.js.map +1 -0
  70. package/mcp-server/tools/conversationsRetrieve.d.ts +8 -0
  71. package/mcp-server/tools/conversationsRetrieve.d.ts.map +1 -0
  72. package/mcp-server/tools/conversationsRetrieve.js +64 -0
  73. package/mcp-server/tools/conversationsRetrieve.js.map +1 -0
  74. package/mcp-server/tools/conversationsUpdate.d.ts +10 -0
  75. package/mcp-server/tools/conversationsUpdate.d.ts.map +1 -0
  76. package/mcp-server/tools/conversationsUpdate.js +66 -0
  77. package/mcp-server/tools/conversationsUpdate.js.map +1 -0
  78. package/mcp-server/tools/evalsInvoke.d.ts +8 -0
  79. package/mcp-server/tools/evalsInvoke.d.ts.map +1 -0
  80. package/mcp-server/tools/evalsInvoke.js +62 -0
  81. package/mcp-server/tools/evalsInvoke.js.map +1 -0
  82. package/models/components/agentexecutionstartedstreamingevent.d.ts +8 -8
  83. package/models/components/agentexecutionstartedstreamingevent.d.ts.map +1 -1
  84. package/models/components/agentexecutionstartedstreamingevent.js +11 -12
  85. package/models/components/agentexecutionstartedstreamingevent.js.map +1 -1
  86. package/models/components/agentinactivestreamingevent.d.ts +21 -21
  87. package/models/components/agentinactivestreamingevent.d.ts.map +1 -1
  88. package/models/components/agentinactivestreamingevent.js +27 -28
  89. package/models/components/agentinactivestreamingevent.js.map +1 -1
  90. package/models/components/agentresponsemessage.d.ts +56 -0
  91. package/models/components/agentresponsemessage.d.ts.map +1 -0
  92. package/models/components/agentresponsemessage.js +116 -0
  93. package/models/components/agentresponsemessage.js.map +1 -0
  94. package/models/components/agentstartedstreamingevent.d.ts +6 -6
  95. package/models/components/agentstartedstreamingevent.d.ts.map +1 -1
  96. package/models/components/agentstartedstreamingevent.js +11 -12
  97. package/models/components/agentstartedstreamingevent.js.map +1 -1
  98. package/models/components/agentthoughtstreamingevent.d.ts +26 -24
  99. package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
  100. package/models/components/agentthoughtstreamingevent.js +34 -32
  101. package/models/components/agentthoughtstreamingevent.js.map +1 -1
  102. package/models/components/conversationresponse.d.ts +39 -5
  103. package/models/components/conversationresponse.d.ts.map +1 -1
  104. package/models/components/conversationresponse.js +52 -8
  105. package/models/components/conversationresponse.js.map +1 -1
  106. package/models/components/createagentresponse.d.ts +124 -0
  107. package/models/components/createagentresponse.d.ts.map +1 -0
  108. package/models/components/createagentresponse.js +191 -0
  109. package/models/components/createagentresponse.js.map +1 -0
  110. package/models/components/imagecontentpartschema.d.ts +18 -18
  111. package/models/components/imagecontentpartschema.d.ts.map +1 -1
  112. package/models/components/imagecontentpartschema.js +23 -21
  113. package/models/components/imagecontentpartschema.js.map +1 -1
  114. package/models/components/index.d.ts +18 -0
  115. package/models/components/index.d.ts.map +1 -1
  116. package/models/components/index.js +18 -0
  117. package/models/components/index.js.map +1 -1
  118. package/models/components/invokedeploymentrequest.d.ts +161 -1040
  119. package/models/components/invokedeploymentrequest.d.ts.map +1 -1
  120. package/models/components/invokedeploymentrequest.js +161 -1015
  121. package/models/components/invokedeploymentrequest.js.map +1 -1
  122. package/models/components/partdoneevent.js +2 -2
  123. package/models/components/reasoningpart.js +2 -2
  124. package/models/components/responsedoneevent.d.ts +24 -24
  125. package/models/components/responsedoneevent.d.ts.map +1 -1
  126. package/models/components/responsedoneevent.js +31 -32
  127. package/models/components/responsedoneevent.js.map +1 -1
  128. package/models/components/toolexecutionfailedstreamingevent.d.ts +2 -0
  129. package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -1
  130. package/models/components/toolexecutionfailedstreamingevent.js +2 -0
  131. package/models/components/toolexecutionfailedstreamingevent.js.map +1 -1
  132. package/models/components/toolexecutionfinishedstreamingevent.d.ts +2 -0
  133. package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -1
  134. package/models/components/toolexecutionfinishedstreamingevent.js +2 -0
  135. package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -1
  136. package/models/components/toolexecutionstartedstreamingevent.d.ts +2 -0
  137. package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -1
  138. package/models/components/toolexecutionstartedstreamingevent.js +2 -0
  139. package/models/components/toolexecutionstartedstreamingevent.js.map +1 -1
  140. package/models/errors/generateconversationname.d.ts +55 -0
  141. package/models/errors/generateconversationname.d.ts.map +1 -0
  142. package/models/errors/generateconversationname.js +106 -0
  143. package/models/errors/generateconversationname.js.map +1 -0
  144. package/models/errors/index.d.ts +5 -0
  145. package/models/errors/index.d.ts.map +1 -1
  146. package/models/errors/index.js +5 -0
  147. package/models/errors/index.js.map +1 -1
  148. package/models/operations/createagentrequest.d.ts +3 -0
  149. package/models/operations/createagentrequest.d.ts.map +1 -1
  150. package/models/operations/createagentrequest.js +4 -4
  151. package/models/operations/createagentrequest.js.map +1 -1
  152. package/models/operations/createagentresponserequest.d.ts +37 -147
  153. package/models/operations/createagentresponserequest.d.ts.map +1 -1
  154. package/models/operations/createagentresponserequest.js +64 -205
  155. package/models/operations/createagentresponserequest.js.map +1 -1
  156. package/models/operations/createbudget.d.ts +69 -13
  157. package/models/operations/createbudget.d.ts.map +1 -1
  158. package/models/operations/createbudget.js +61 -12
  159. package/models/operations/createbudget.js.map +1 -1
  160. package/models/operations/createcontact.js +2 -2
  161. package/models/operations/createconversation.d.ts +62 -8
  162. package/models/operations/createconversation.d.ts.map +1 -1
  163. package/models/operations/createconversation.js +94 -10
  164. package/models/operations/createconversation.js.map +1 -1
  165. package/models/operations/createdataset.js +2 -2
  166. package/models/operations/createdatasetitem.d.ts +154 -1034
  167. package/models/operations/createdatasetitem.d.ts.map +1 -1
  168. package/models/operations/createdatasetitem.js +149 -959
  169. package/models/operations/createdatasetitem.js.map +1 -1
  170. package/models/operations/createdatasource.js +2 -2
  171. package/models/operations/createeval.js +28 -28
  172. package/models/operations/creatememory.d.ts +10 -5
  173. package/models/operations/creatememory.d.ts.map +1 -1
  174. package/models/operations/creatememory.js +6 -2
  175. package/models/operations/creatememory.js.map +1 -1
  176. package/models/operations/creatememorydocument.d.ts +4 -4
  177. package/models/operations/creatememorydocument.d.ts.map +1 -1
  178. package/models/operations/creatememorydocument.js +2 -2
  179. package/models/operations/creatememorydocument.js.map +1 -1
  180. package/models/operations/createprompt.d.ts +136 -479
  181. package/models/operations/createprompt.d.ts.map +1 -1
  182. package/models/operations/createprompt.js +158 -473
  183. package/models/operations/createprompt.js.map +1 -1
  184. package/models/operations/createtool.js +12 -12
  185. package/models/operations/deploymentcreatemetric.d.ts +154 -1034
  186. package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
  187. package/models/operations/deploymentcreatemetric.js +140 -975
  188. package/models/operations/deploymentcreatemetric.js.map +1 -1
  189. package/models/operations/deploymentgetconfig.d.ts +222 -1102
  190. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  191. package/models/operations/deploymentgetconfig.js +263 -1059
  192. package/models/operations/deploymentgetconfig.js.map +1 -1
  193. package/models/operations/deploymentinvoke.d.ts +27 -26
  194. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  195. package/models/operations/deploymentinvoke.js +29 -28
  196. package/models/operations/deploymentinvoke.js.map +1 -1
  197. package/models/operations/deployments.d.ts +14 -13
  198. package/models/operations/deployments.d.ts.map +1 -1
  199. package/models/operations/deployments.js +14 -13
  200. package/models/operations/deployments.js.map +1 -1
  201. package/models/operations/deploymentstream.d.ts +187 -1066
  202. package/models/operations/deploymentstream.d.ts.map +1 -1
  203. package/models/operations/deploymentstream.js +163 -989
  204. package/models/operations/deploymentstream.js.map +1 -1
  205. package/models/operations/fileget.js +2 -2
  206. package/models/operations/filelist.js +2 -2
  207. package/models/operations/fileupload.d.ts +8 -8
  208. package/models/operations/fileupload.d.ts.map +1 -1
  209. package/models/operations/fileupload.js +13 -14
  210. package/models/operations/fileupload.js.map +1 -1
  211. package/models/operations/generateconversationname.d.ts +136 -0
  212. package/models/operations/generateconversationname.d.ts.map +1 -0
  213. package/models/operations/generateconversationname.js +179 -0
  214. package/models/operations/generateconversationname.js.map +1 -0
  215. package/models/operations/getallmemories.d.ts +10 -0
  216. package/models/operations/getallmemories.d.ts.map +1 -1
  217. package/models/operations/getallmemories.js +6 -0
  218. package/models/operations/getallmemories.js.map +1 -1
  219. package/models/operations/getallmemorydocuments.d.ts +10 -0
  220. package/models/operations/getallmemorydocuments.d.ts.map +1 -1
  221. package/models/operations/getallmemorydocuments.js +8 -0
  222. package/models/operations/getallmemorydocuments.js.map +1 -1
  223. package/models/operations/getallprompts.d.ts +14 -13
  224. package/models/operations/getallprompts.d.ts.map +1 -1
  225. package/models/operations/getallprompts.js +14 -13
  226. package/models/operations/getallprompts.js.map +1 -1
  227. package/models/operations/getalltools.js +12 -12
  228. package/models/operations/getbudget.d.ts +5 -0
  229. package/models/operations/getbudget.d.ts.map +1 -1
  230. package/models/operations/getbudget.js +6 -2
  231. package/models/operations/getbudget.js.map +1 -1
  232. package/models/operations/getevals.js +28 -28
  233. package/models/operations/getoneprompt.d.ts +14 -13
  234. package/models/operations/getoneprompt.d.ts.map +1 -1
  235. package/models/operations/getoneprompt.js +14 -13
  236. package/models/operations/getoneprompt.js.map +1 -1
  237. package/models/operations/getpromptversion.d.ts +14 -13
  238. package/models/operations/getpromptversion.d.ts.map +1 -1
  239. package/models/operations/getpromptversion.js +14 -13
  240. package/models/operations/getpromptversion.js.map +1 -1
  241. package/models/operations/index.d.ts +7 -0
  242. package/models/operations/index.d.ts.map +1 -1
  243. package/models/operations/index.js +7 -0
  244. package/models/operations/index.js.map +1 -1
  245. package/models/operations/invokeagent.d.ts +6 -6
  246. package/models/operations/invokeagent.d.ts.map +1 -1
  247. package/models/operations/invokeagent.js +10 -9
  248. package/models/operations/invokeagent.js.map +1 -1
  249. package/models/operations/listagents.d.ts +3 -0
  250. package/models/operations/listagents.d.ts.map +1 -1
  251. package/models/operations/listagents.js +2 -2
  252. package/models/operations/listagents.js.map +1 -1
  253. package/models/operations/listbudgets.d.ts +5 -0
  254. package/models/operations/listbudgets.d.ts.map +1 -1
  255. package/models/operations/listbudgets.js +6 -2
  256. package/models/operations/listbudgets.js.map +1 -1
  257. package/models/operations/listcontacts.d.ts +5 -0
  258. package/models/operations/listcontacts.d.ts.map +1 -1
  259. package/models/operations/listcontacts.js +4 -2
  260. package/models/operations/listcontacts.js.map +1 -1
  261. package/models/operations/listconversations.d.ts +60 -0
  262. package/models/operations/listconversations.d.ts.map +1 -0
  263. package/models/operations/listconversations.js +109 -0
  264. package/models/operations/listconversations.js.map +1 -0
  265. package/models/operations/listdatasetdatapoints.d.ts +76 -516
  266. package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
  267. package/models/operations/listdatasetdatapoints.js +75 -475
  268. package/models/operations/listdatasetdatapoints.js.map +1 -1
  269. package/models/operations/listdatasets.js +2 -2
  270. package/models/operations/listdatasources.js +2 -2
  271. package/models/operations/listpromptversions.d.ts +14 -13
  272. package/models/operations/listpromptversions.d.ts.map +1 -1
  273. package/models/operations/listpromptversions.js +14 -13
  274. package/models/operations/listpromptversions.js.map +1 -1
  275. package/models/operations/retrieveagentrequest.d.ts +3 -0
  276. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  277. package/models/operations/retrieveagentrequest.js +2 -2
  278. package/models/operations/retrieveagentrequest.js.map +1 -1
  279. package/models/operations/retrievecontact.js +2 -2
  280. package/models/operations/retrieveconversation.d.ts +39 -5
  281. package/models/operations/retrieveconversation.d.ts.map +1 -1
  282. package/models/operations/retrieveconversation.js +53 -8
  283. package/models/operations/retrieveconversation.js.map +1 -1
  284. package/models/operations/retrievedatapoint.d.ts +76 -516
  285. package/models/operations/retrievedatapoint.d.ts.map +1 -1
  286. package/models/operations/retrievedatapoint.js +75 -473
  287. package/models/operations/retrievedatapoint.js.map +1 -1
  288. package/models/operations/retrievedataset.js +2 -2
  289. package/models/operations/retrievedatasource.js +2 -2
  290. package/models/operations/retrievememory.d.ts +5 -0
  291. package/models/operations/retrievememory.d.ts.map +1 -1
  292. package/models/operations/retrievememory.js +4 -0
  293. package/models/operations/retrievememory.js.map +1 -1
  294. package/models/operations/retrievetool.js +12 -12
  295. package/models/operations/runagent.js +4 -4
  296. package/models/operations/streamrunagent.js +4 -4
  297. package/models/operations/updateagent.d.ts +3 -0
  298. package/models/operations/updateagent.d.ts.map +1 -1
  299. package/models/operations/updateagent.js +4 -4
  300. package/models/operations/updateagent.js.map +1 -1
  301. package/models/operations/updatebudget.d.ts +5 -0
  302. package/models/operations/updatebudget.d.ts.map +1 -1
  303. package/models/operations/updatebudget.js +6 -2
  304. package/models/operations/updatebudget.js.map +1 -1
  305. package/models/operations/updatecontact.js +2 -2
  306. package/models/operations/updateconversation.d.ts +63 -6
  307. package/models/operations/updateconversation.d.ts.map +1 -1
  308. package/models/operations/updateconversation.js +93 -9
  309. package/models/operations/updateconversation.js.map +1 -1
  310. package/models/operations/updatedatapoint.d.ts +154 -1034
  311. package/models/operations/updatedatapoint.d.ts.map +1 -1
  312. package/models/operations/updatedatapoint.js +147 -955
  313. package/models/operations/updatedatapoint.js.map +1 -1
  314. package/models/operations/updatedataset.js +2 -2
  315. package/models/operations/updatedatasource.js +2 -2
  316. package/models/operations/updateeval.js +28 -28
  317. package/models/operations/updatememory.d.ts +10 -5
  318. package/models/operations/updatememory.d.ts.map +1 -1
  319. package/models/operations/updatememory.js +6 -2
  320. package/models/operations/updatememory.js.map +1 -1
  321. package/models/operations/updatememorydocument.d.ts +4 -4
  322. package/models/operations/updatememorydocument.d.ts.map +1 -1
  323. package/models/operations/updatememorydocument.js +2 -2
  324. package/models/operations/updatememorydocument.js.map +1 -1
  325. package/models/operations/updatememorystore.d.ts +24 -59
  326. package/models/operations/updatememorystore.d.ts.map +1 -1
  327. package/models/operations/updatememorystore.js +27 -55
  328. package/models/operations/updatememorystore.js.map +1 -1
  329. package/models/operations/updateprompt.d.ts +149 -486
  330. package/models/operations/updateprompt.d.ts.map +1 -1
  331. package/models/operations/updateprompt.js +156 -466
  332. package/models/operations/updateprompt.js.map +1 -1
  333. package/models/operations/updatetool.js +14 -14
  334. package/package.json +1 -1
  335. package/sdk/budgets.d.ts +1 -1
  336. package/sdk/budgets.js +1 -1
  337. package/sdk/conversations.d.ts +47 -0
  338. package/sdk/conversations.d.ts.map +1 -0
  339. package/sdk/conversations.js +72 -0
  340. package/sdk/conversations.js.map +1 -0
  341. package/sdk/evals.d.ts +4 -0
  342. package/sdk/evals.d.ts.map +1 -1
  343. package/sdk/evals.js +7 -0
  344. package/sdk/evals.js.map +1 -1
  345. package/sdk/responses.d.ts +5 -1
  346. package/sdk/responses.d.ts.map +1 -1
  347. package/sdk/responses.js +3 -1
  348. package/sdk/responses.js.map +1 -1
  349. package/sdk/sdk.d.ts +3 -0
  350. package/sdk/sdk.d.ts.map +1 -1
  351. package/sdk/sdk.js +4 -0
  352. package/sdk/sdk.js.map +1 -1
  353. package/src/funcs/agentsResponsesCreate.ts +14 -10
  354. package/src/funcs/budgetsCreate.ts +1 -1
  355. package/src/funcs/contactsList.ts +1 -0
  356. package/src/funcs/conversationsCreate.ts +161 -0
  357. package/src/funcs/conversationsDelete.ts +180 -0
  358. package/src/funcs/conversationsGenerateName.ts +194 -0
  359. package/src/funcs/conversationsList.ts +181 -0
  360. package/src/funcs/conversationsRetrieve.ts +180 -0
  361. package/src/funcs/conversationsUpdate.ts +184 -0
  362. package/src/funcs/evalsInvoke.ts +177 -0
  363. package/src/funcs/memoryStoresListDocuments.ts +2 -0
  364. package/src/funcs/memoryStoresListMemories.ts +1 -0
  365. package/src/lib/config.ts +3 -3
  366. package/src/mcp-server/mcp-server.ts +1 -1
  367. package/src/mcp-server/server.ts +15 -1
  368. package/src/mcp-server/tools/budgetsCreate.ts +1 -1
  369. package/src/mcp-server/tools/conversationsCreate.ts +37 -0
  370. package/src/mcp-server/tools/conversationsDelete.ts +35 -0
  371. package/src/mcp-server/tools/conversationsGenerateName.ts +40 -0
  372. package/src/mcp-server/tools/conversationsList.ts +41 -0
  373. package/src/mcp-server/tools/conversationsRetrieve.ts +37 -0
  374. package/src/mcp-server/tools/conversationsUpdate.ts +40 -0
  375. package/src/mcp-server/tools/evalsInvoke.ts +35 -0
  376. package/src/models/components/agentexecutionstartedstreamingevent.ts +53 -34
  377. package/src/models/components/agentinactivestreamingevent.ts +85 -57
  378. package/src/models/components/agentresponsemessage.ts +185 -0
  379. package/src/models/components/agentstartedstreamingevent.ts +30 -21
  380. package/src/models/components/agentthoughtstreamingevent.ts +167 -118
  381. package/src/models/components/conversationresponse.ts +100 -12
  382. package/src/models/components/createagentresponse.ts +340 -0
  383. package/src/models/components/imagecontentpartschema.ts +52 -37
  384. package/src/models/components/index.ts +18 -0
  385. package/src/models/components/invokedeploymentrequest.ts +515 -2564
  386. package/src/models/components/partdoneevent.ts +2 -2
  387. package/src/models/components/reasoningpart.ts +2 -2
  388. package/src/models/components/responsedoneevent.ts +93 -68
  389. package/src/models/components/toolexecutionfailedstreamingevent.ts +4 -0
  390. package/src/models/components/toolexecutionfinishedstreamingevent.ts +4 -0
  391. package/src/models/components/toolexecutionstartedstreamingevent.ts +4 -0
  392. package/src/models/errors/generateconversationname.ts +132 -0
  393. package/src/models/errors/index.ts +5 -0
  394. package/src/models/operations/createagentrequest.ts +7 -4
  395. package/src/models/operations/createagentresponserequest.ts +126 -435
  396. package/src/models/operations/createbudget.ts +143 -28
  397. package/src/models/operations/createcontact.ts +2 -2
  398. package/src/models/operations/createconversation.ts +192 -17
  399. package/src/models/operations/createdataset.ts +2 -2
  400. package/src/models/operations/createdatasetitem.ts +601 -2786
  401. package/src/models/operations/createdatasource.ts +2 -2
  402. package/src/models/operations/createeval.ts +28 -28
  403. package/src/models/operations/creatememory.ts +14 -5
  404. package/src/models/operations/creatememorydocument.ts +4 -4
  405. package/src/models/operations/createprompt.ts +397 -1201
  406. package/src/models/operations/createtool.ts +12 -12
  407. package/src/models/operations/deploymentcreatemetric.ts +601 -3040
  408. package/src/models/operations/deploymentgetconfig.ts +824 -2901
  409. package/src/models/operations/deploymentinvoke.ts +47 -46
  410. package/src/models/operations/deployments.ts +16 -15
  411. package/src/models/operations/deploymentstream.ts +727 -2977
  412. package/src/models/operations/fileget.ts +2 -2
  413. package/src/models/operations/filelist.ts +2 -2
  414. package/src/models/operations/fileupload.ts +30 -27
  415. package/src/models/operations/generateconversationname.ts +341 -0
  416. package/src/models/operations/getallmemories.ts +16 -0
  417. package/src/models/operations/getallmemorydocuments.ts +22 -0
  418. package/src/models/operations/getallprompts.ts +16 -15
  419. package/src/models/operations/getalltools.ts +12 -12
  420. package/src/models/operations/getbudget.ts +11 -2
  421. package/src/models/operations/getevals.ts +28 -28
  422. package/src/models/operations/getoneprompt.ts +16 -15
  423. package/src/models/operations/getpromptversion.ts +16 -15
  424. package/src/models/operations/index.ts +7 -0
  425. package/src/models/operations/invokeagent.ts +19 -26
  426. package/src/models/operations/listagents.ts +5 -2
  427. package/src/models/operations/listbudgets.ts +11 -2
  428. package/src/models/operations/listcontacts.ts +9 -2
  429. package/src/models/operations/listconversations.ts +161 -0
  430. package/src/models/operations/listdatasetdatapoints.ts +288 -1355
  431. package/src/models/operations/listdatasets.ts +2 -2
  432. package/src/models/operations/listdatasources.ts +2 -2
  433. package/src/models/operations/listpromptversions.ts +16 -15
  434. package/src/models/operations/retrieveagentrequest.ts +5 -2
  435. package/src/models/operations/retrievecontact.ts +2 -2
  436. package/src/models/operations/retrieveconversation.ts +107 -12
  437. package/src/models/operations/retrievedatapoint.ts +263 -1288
  438. package/src/models/operations/retrievedataset.ts +2 -2
  439. package/src/models/operations/retrievedatasource.ts +2 -2
  440. package/src/models/operations/retrievememory.ts +9 -0
  441. package/src/models/operations/retrievetool.ts +12 -12
  442. package/src/models/operations/runagent.ts +4 -4
  443. package/src/models/operations/streamrunagent.ts +4 -4
  444. package/src/models/operations/updateagent.ts +7 -4
  445. package/src/models/operations/updatebudget.ts +11 -2
  446. package/src/models/operations/updatecontact.ts +2 -2
  447. package/src/models/operations/updateconversation.ts +192 -14
  448. package/src/models/operations/updatedatapoint.ts +556 -2717
  449. package/src/models/operations/updatedataset.ts +2 -2
  450. package/src/models/operations/updatedatasource.ts +2 -2
  451. package/src/models/operations/updateeval.ts +28 -28
  452. package/src/models/operations/updatememory.ts +14 -5
  453. package/src/models/operations/updatememorydocument.ts +4 -4
  454. package/src/models/operations/updatememorystore.ts +64 -154
  455. package/src/models/operations/updateprompt.ts +385 -1144
  456. package/src/models/operations/updatetool.ts +14 -14
  457. package/src/sdk/budgets.ts +1 -1
  458. package/src/sdk/conversations.ts +125 -0
  459. package/src/sdk/evals.ts +15 -0
  460. package/src/sdk/responses.ts +8 -3
  461. package/src/sdk/sdk.ts +6 -0
@@ -30,72 +30,11 @@ export type Performance = {
30
30
  */
31
31
  timeToFirstToken?: number | undefined;
32
32
  };
33
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5Type: {
34
- readonly Text: "text";
35
- };
36
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5Type = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5Type>;
37
- /**
38
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
39
- */
40
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5ContentType: {
41
- readonly Ephemeral: "ephemeral";
42
- };
43
- /**
44
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
45
- */
46
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5ContentType = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5ContentType>;
47
- /**
48
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
49
- *
50
- * @remarks
51
- *
52
- * - `5m`: 5 minutes
53
- * - `1h`: 1 hour
54
- *
55
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
56
- */
57
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyTtl: {
58
- readonly Fivem: "5m";
59
- readonly Oneh: "1h";
60
- };
61
- /**
62
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
63
- *
64
- * @remarks
65
- *
66
- * - `5m`: 5 minutes
67
- * - `1h`: 1 hour
68
- *
69
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
70
- */
71
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyTtl = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyTtl>;
72
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControl = {
73
- /**
74
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
75
- */
76
- type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5ContentType;
77
- /**
78
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
79
- *
80
- * @remarks
81
- *
82
- * - `5m`: 5 minutes
83
- * - `1h`: 1 hour
84
- *
85
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
86
- */
87
- ttl?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyTtl | undefined;
88
- };
89
- export type DeploymentCreateMetric2DeploymentsMetricsRequest1 = {
90
- type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5Type;
91
- text: string;
92
- cacheControl?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControl | undefined;
93
- };
94
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyMessages2 = DeploymentCreateMetric2DeploymentsMetricsRequest1;
33
+ export type DeploymentCreateMetricContentDeploymentsMetricsRequest2 = components.TextContentPartSchema;
95
34
  /**
96
35
  * The contents of the tool message.
97
36
  */
98
- export type DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBody5Content = string | Array<DeploymentCreateMetric2DeploymentsMetricsRequest1>;
37
+ export type DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBody5Content = string | Array<components.TextContentPartSchema>;
99
38
  /**
100
39
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
101
40
  */
@@ -156,75 +95,22 @@ export type DeploymentCreateMetricMessagesToolMessage = {
156
95
  /**
157
96
  * The contents of the tool message.
158
97
  */
159
- content: string | Array<DeploymentCreateMetric2DeploymentsMetricsRequest1>;
98
+ content: string | Array<components.TextContentPartSchema>;
160
99
  /**
161
100
  * Tool call that this message is responding to.
162
101
  */
163
102
  toolCallId: string;
164
103
  cacheControl?: DeploymentCreateMetricMessagesCacheControl | undefined;
165
104
  };
166
- /**
167
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
168
- */
169
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages4Type: {
170
- readonly Ephemeral: "ephemeral";
171
- };
172
- /**
173
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
174
- */
175
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages4Type = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages4Type>;
176
- /**
177
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
178
- *
179
- * @remarks
180
- *
181
- * - `5m`: 5 minutes
182
- * - `1h`: 1 hour
183
- *
184
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
185
- */
186
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestTtl: {
187
- readonly Fivem: "5m";
188
- readonly Oneh: "1h";
189
- };
190
- /**
191
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
192
- *
193
- * @remarks
194
- *
195
- * - `5m`: 5 minutes
196
- * - `1h`: 1 hour
197
- *
198
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
199
- */
200
- export type DeploymentCreateMetric2DeploymentsMetricsRequestTtl = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestTtl>;
201
- export type DeploymentCreateMetric2DeploymentsMetricsRequestCacheControl = {
202
- /**
203
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
204
- */
205
- type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages4Type;
206
- /**
207
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
208
- *
209
- * @remarks
210
- *
211
- * - `5m`: 5 minutes
212
- * - `1h`: 1 hour
213
- *
214
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
215
- */
216
- ttl?: DeploymentCreateMetric2DeploymentsMetricsRequestTtl | undefined;
217
- };
218
- export type DeploymentCreateMetric2DeploymentsMetrics1 = {
105
+ export type DeploymentCreateMetricContentDeploymentsMetrics2 = (components.TextContentPartSchema & {
219
106
  type: "text";
220
- text: string;
221
- cacheControl?: DeploymentCreateMetric2DeploymentsMetricsRequestCacheControl | undefined;
222
- };
223
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2 = DeploymentCreateMetric2DeploymentsMetrics1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
107
+ }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
224
108
  /**
225
109
  * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
226
110
  */
227
- export type DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyContent = string | Array<DeploymentCreateMetric2DeploymentsMetrics1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
111
+ export type DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyContent = string | Array<(components.TextContentPartSchema & {
112
+ type: "text";
113
+ }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
228
114
  /**
229
115
  * Data about a previous audio response from the model.
230
116
  */
@@ -273,7 +159,9 @@ export type DeploymentCreateMetricMessagesAssistantMessage = {
273
159
  /**
274
160
  * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
275
161
  */
276
- content?: string | Array<DeploymentCreateMetric2DeploymentsMetrics1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
162
+ content?: string | Array<(components.TextContentPartSchema & {
163
+ type: "text";
164
+ }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
277
165
  /**
278
166
  * The refusal message by the assistant.
279
167
  */
@@ -298,13 +186,13 @@ export type DeploymentCreateMetricMessagesAssistantMessage = {
298
186
  /**
299
187
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
300
188
  */
301
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType: {
189
+ export declare const DeploymentCreateMetric2DeploymentsMetricsType: {
302
190
  readonly Ephemeral: "ephemeral";
303
191
  };
304
192
  /**
305
193
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
306
194
  */
307
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType>;
195
+ export type DeploymentCreateMetric2DeploymentsMetricsType = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsType>;
308
196
  /**
309
197
  * The time-to-live for the cache control breakpoint. This may be one of the following values:
310
198
  *
@@ -315,7 +203,7 @@ export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType = Cl
315
203
  *
316
204
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
317
205
  */
318
- export declare const DeploymentCreateMetric2DeploymentsMetricsTtl: {
206
+ export declare const DeploymentCreateMetric2Ttl: {
319
207
  readonly Fivem: "5m";
320
208
  readonly Oneh: "1h";
321
209
  };
@@ -329,12 +217,12 @@ export declare const DeploymentCreateMetric2DeploymentsMetricsTtl: {
329
217
  *
330
218
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
331
219
  */
332
- export type DeploymentCreateMetric2DeploymentsMetricsTtl = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsTtl>;
333
- export type DeploymentCreateMetric2DeploymentsMetricsCacheControl = {
220
+ export type DeploymentCreateMetric2Ttl = ClosedEnum<typeof DeploymentCreateMetric2Ttl>;
221
+ export type DeploymentCreateMetric2CacheControl = {
334
222
  /**
335
223
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
336
224
  */
337
- type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType;
225
+ type: DeploymentCreateMetric2DeploymentsMetricsType;
338
226
  /**
339
227
  * The time-to-live for the cache control breakpoint. This may be one of the following values:
340
228
  *
@@ -345,81 +233,28 @@ export type DeploymentCreateMetric2DeploymentsMetricsCacheControl = {
345
233
  *
346
234
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
347
235
  */
348
- ttl?: DeploymentCreateMetric2DeploymentsMetricsTtl | undefined;
236
+ ttl?: DeploymentCreateMetric2Ttl | undefined;
349
237
  };
350
238
  export type DeploymentCreateMetric24 = {
351
239
  /**
352
240
  * The type of the content part. Always `file`.
353
241
  */
354
242
  type: "file";
355
- cacheControl?: DeploymentCreateMetric2DeploymentsMetricsCacheControl | undefined;
243
+ cacheControl?: DeploymentCreateMetric2CacheControl | undefined;
356
244
  /**
357
245
  * File data for the content part. Must contain either file_data or uri, but not both.
358
246
  */
359
247
  file: components.FileContentPartSchema;
360
248
  };
361
- /**
362
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
363
- */
364
- export declare const DeploymentCreateMetric2DeploymentsMetricsType: {
365
- readonly Ephemeral: "ephemeral";
366
- };
367
- /**
368
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
369
- */
370
- export type DeploymentCreateMetric2DeploymentsMetricsType = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsType>;
371
- /**
372
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
373
- *
374
- * @remarks
375
- *
376
- * - `5m`: 5 minutes
377
- * - `1h`: 1 hour
378
- *
379
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
380
- */
381
- export declare const DeploymentCreateMetric2Ttl: {
382
- readonly Fivem: "5m";
383
- readonly Oneh: "1h";
384
- };
385
- /**
386
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
387
- *
388
- * @remarks
389
- *
390
- * - `5m`: 5 minutes
391
- * - `1h`: 1 hour
392
- *
393
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
394
- */
395
- export type DeploymentCreateMetric2Ttl = ClosedEnum<typeof DeploymentCreateMetric2Ttl>;
396
- export type DeploymentCreateMetric2CacheControl = {
397
- /**
398
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
399
- */
400
- type: DeploymentCreateMetric2DeploymentsMetricsType;
401
- /**
402
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
403
- *
404
- * @remarks
405
- *
406
- * - `5m`: 5 minutes
407
- * - `1h`: 1 hour
408
- *
409
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
410
- */
411
- ttl?: DeploymentCreateMetric2Ttl | undefined;
412
- };
413
- export type DeploymentCreateMetric21 = {
249
+ export type DeploymentCreateMetricContent2 = (components.TextContentPartSchema & {
414
250
  type: "text";
415
- text: string;
416
- cacheControl?: DeploymentCreateMetric2CacheControl | undefined;
417
- };
418
- export type DeploymentCreateMetricContentDeploymentsMetricsRequest2 = DeploymentCreateMetric21 | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentCreateMetric24;
251
+ }) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentCreateMetric24;
419
252
  /**
420
253
  * The contents of the user message.
421
254
  */
422
- export type DeploymentCreateMetricMessagesDeploymentsMetricsRequestContent = string | Array<DeploymentCreateMetric21 | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentCreateMetric24>;
255
+ export type DeploymentCreateMetricMessagesDeploymentsMetricsRequestContent = string | Array<(components.TextContentPartSchema & {
256
+ type: "text";
257
+ }) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentCreateMetric24>;
423
258
  export type DeploymentCreateMetricMessagesUserMessage = {
424
259
  /**
425
260
  * The role of the messages author, in this case `user`.
@@ -432,73 +267,14 @@ export type DeploymentCreateMetricMessagesUserMessage = {
432
267
  /**
433
268
  * The contents of the user message.
434
269
  */
435
- content: string | Array<DeploymentCreateMetric21 | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentCreateMetric24>;
436
- };
437
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestType: {
438
- readonly Text: "text";
439
- };
440
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestType = ClosedEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestType>;
441
- /**
442
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
443
- */
444
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyType: {
445
- readonly Ephemeral: "ephemeral";
446
- };
447
- /**
448
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
449
- */
450
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyType = ClosedEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyType>;
451
- /**
452
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
453
- *
454
- * @remarks
455
- *
456
- * - `5m`: 5 minutes
457
- * - `1h`: 1 hour
458
- *
459
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
460
- */
461
- export declare const DeploymentCreateMetricContentDeploymentsMetricsTtl: {
462
- readonly Fivem: "5m";
463
- readonly Oneh: "1h";
464
- };
465
- /**
466
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
467
- *
468
- * @remarks
469
- *
470
- * - `5m`: 5 minutes
471
- * - `1h`: 1 hour
472
- *
473
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
474
- */
475
- export type DeploymentCreateMetricContentDeploymentsMetricsTtl = ClosedEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsTtl>;
476
- export type DeploymentCreateMetricContentDeploymentsMetricsCacheControl = {
477
- /**
478
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
479
- */
480
- type: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyType;
481
- /**
482
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
483
- *
484
- * @remarks
485
- *
486
- * - `5m`: 5 minutes
487
- * - `1h`: 1 hour
488
- *
489
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
490
- */
491
- ttl?: DeploymentCreateMetricContentDeploymentsMetricsTtl | undefined;
492
- };
493
- export type DeploymentCreateMetricContentDeploymentsMetrics2 = {
494
- type: DeploymentCreateMetricContentDeploymentsMetricsRequestType;
495
- text: string;
496
- cacheControl?: DeploymentCreateMetricContentDeploymentsMetricsCacheControl | undefined;
270
+ content: string | Array<(components.TextContentPartSchema & {
271
+ type: "text";
272
+ }) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentCreateMetric24>;
497
273
  };
498
274
  /**
499
275
  * The contents of the developer message.
500
276
  */
501
- export type DeploymentCreateMetricMessagesDeploymentsMetricsContent = string | Array<DeploymentCreateMetricContentDeploymentsMetrics2>;
277
+ export type DeploymentCreateMetricMessagesDeploymentsMetricsContent = string | Array<components.TextContentPartSchema>;
502
278
  export type DeploymentCreateMetricMessagesDeveloperMessage = {
503
279
  /**
504
280
  * The role of the messages author, in this case `developer`.
@@ -507,77 +283,16 @@ export type DeploymentCreateMetricMessagesDeveloperMessage = {
507
283
  /**
508
284
  * The contents of the developer message.
509
285
  */
510
- content: string | Array<DeploymentCreateMetricContentDeploymentsMetrics2>;
286
+ content: string | Array<components.TextContentPartSchema>;
511
287
  /**
512
288
  * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
513
289
  */
514
290
  name?: string | undefined;
515
291
  };
516
- export declare const DeploymentCreateMetricContentType: {
517
- readonly Text: "text";
518
- };
519
- export type DeploymentCreateMetricContentType = ClosedEnum<typeof DeploymentCreateMetricContentType>;
520
- /**
521
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
522
- */
523
- export declare const DeploymentCreateMetricContentDeploymentsMetricsType: {
524
- readonly Ephemeral: "ephemeral";
525
- };
526
- /**
527
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
528
- */
529
- export type DeploymentCreateMetricContentDeploymentsMetricsType = ClosedEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsType>;
530
- /**
531
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
532
- *
533
- * @remarks
534
- *
535
- * - `5m`: 5 minutes
536
- * - `1h`: 1 hour
537
- *
538
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
539
- */
540
- export declare const DeploymentCreateMetricContentTtl: {
541
- readonly Fivem: "5m";
542
- readonly Oneh: "1h";
543
- };
544
- /**
545
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
546
- *
547
- * @remarks
548
- *
549
- * - `5m`: 5 minutes
550
- * - `1h`: 1 hour
551
- *
552
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
553
- */
554
- export type DeploymentCreateMetricContentTtl = ClosedEnum<typeof DeploymentCreateMetricContentTtl>;
555
- export type DeploymentCreateMetricContentCacheControl = {
556
- /**
557
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
558
- */
559
- type: DeploymentCreateMetricContentDeploymentsMetricsType;
560
- /**
561
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
562
- *
563
- * @remarks
564
- *
565
- * - `5m`: 5 minutes
566
- * - `1h`: 1 hour
567
- *
568
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
569
- */
570
- ttl?: DeploymentCreateMetricContentTtl | undefined;
571
- };
572
- export type DeploymentCreateMetricContent2 = {
573
- type: DeploymentCreateMetricContentType;
574
- text: string;
575
- cacheControl?: DeploymentCreateMetricContentCacheControl | undefined;
576
- };
577
292
  /**
578
293
  * The contents of the system message.
579
294
  */
580
- export type DeploymentCreateMetricMessagesContent = string | Array<DeploymentCreateMetricContent2>;
295
+ export type DeploymentCreateMetricMessagesContent = string | Array<components.TextContentPartSchema>;
581
296
  /**
582
297
  * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
583
298
  */
@@ -589,79 +304,18 @@ export type DeploymentCreateMetricMessagesSystemMessage = {
589
304
  /**
590
305
  * The contents of the system message.
591
306
  */
592
- content: string | Array<DeploymentCreateMetricContent2>;
307
+ content: string | Array<components.TextContentPartSchema>;
593
308
  /**
594
309
  * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
595
310
  */
596
311
  name?: string | undefined;
597
312
  };
598
313
  export type DeploymentCreateMetricMessages = DeploymentCreateMetricMessagesSystemMessage | DeploymentCreateMetricMessagesDeveloperMessage | DeploymentCreateMetricMessagesUserMessage | DeploymentCreateMetricMessagesAssistantMessage | DeploymentCreateMetricMessagesToolMessage;
599
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Type: {
600
- readonly Text: "text";
601
- };
602
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Type = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Type>;
603
- /**
604
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
605
- */
606
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5ContentType: {
607
- readonly Ephemeral: "ephemeral";
608
- };
609
- /**
610
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
611
- */
612
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5ContentType = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5ContentType>;
613
- /**
614
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
615
- *
616
- * @remarks
617
- *
618
- * - `5m`: 5 minutes
619
- * - `1h`: 1 hour
620
- *
621
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
622
- */
623
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Ttl: {
624
- readonly Fivem: "5m";
625
- readonly Oneh: "1h";
626
- };
627
- /**
628
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
629
- *
630
- * @remarks
631
- *
632
- * - `5m`: 5 minutes
633
- * - `1h`: 1 hour
634
- *
635
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
636
- */
637
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Ttl = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Ttl>;
638
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControl = {
639
- /**
640
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
641
- */
642
- type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5ContentType;
643
- /**
644
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
645
- *
646
- * @remarks
647
- *
648
- * - `5m`: 5 minutes
649
- * - `1h`: 1 hour
650
- *
651
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
652
- */
653
- ttl?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Ttl | undefined;
654
- };
655
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51 = {
656
- type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Type;
657
- text: string;
658
- cacheControl?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControl | undefined;
659
- };
660
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices52 = DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51;
314
+ export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices52 = components.TextContentPartSchema;
661
315
  /**
662
316
  * The contents of the tool message.
663
317
  */
664
- export type DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyContent = string | Array<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51>;
318
+ export type DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyContent = string | Array<components.TextContentPartSchema>;
665
319
  /**
666
320
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
667
321
  */
@@ -722,75 +376,22 @@ export type ChoicesToolMessage = {
722
376
  /**
723
377
  * The contents of the tool message.
724
378
  */
725
- content: string | Array<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51>;
379
+ content: string | Array<components.TextContentPartSchema>;
726
380
  /**
727
381
  * Tool call that this message is responding to.
728
382
  */
729
383
  toolCallId: string;
730
384
  cacheControl?: ChoicesCacheControl | undefined;
731
385
  };
732
- /**
733
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
734
- */
735
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType: {
736
- readonly Ephemeral: "ephemeral";
737
- };
738
- /**
739
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
740
- */
741
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType>;
742
- /**
743
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
744
- *
745
- * @remarks
746
- *
747
- * - `5m`: 5 minutes
748
- * - `1h`: 1 hour
749
- *
750
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
751
- */
752
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Ttl: {
753
- readonly Fivem: "5m";
754
- readonly Oneh: "1h";
755
- };
756
- /**
757
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
758
- *
759
- * @remarks
760
- *
761
- * - `5m`: 5 minutes
762
- * - `1h`: 1 hour
763
- *
764
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
765
- */
766
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Ttl = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Ttl>;
767
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControl = {
768
- /**
769
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
770
- */
771
- type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType;
772
- /**
773
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
774
- *
775
- * @remarks
776
- *
777
- * - `5m`: 5 minutes
778
- * - `1h`: 1 hour
779
- *
780
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
781
- */
782
- ttl?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Ttl | undefined;
783
- };
784
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1 = {
386
+ export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2 = (components.TextContentPartSchema & {
785
387
  type: "text";
786
- text: string;
787
- cacheControl?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControl | undefined;
788
- };
789
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices42 = DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
388
+ }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema;
790
389
  /**
791
390
  * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
792
391
  */
793
- export type DeploymentCreateMetricChoicesDeploymentsMetricsRequestContent = string | Array<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
392
+ export type DeploymentCreateMetricChoicesDeploymentsMetricsRequestContent = string | Array<(components.TextContentPartSchema & {
393
+ type: "text";
394
+ }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema>;
794
395
  /**
795
396
  * Data about a previous audio response from the model.
796
397
  */
@@ -839,7 +440,9 @@ export type ChoicesAssistantMessage = {
839
440
  /**
840
441
  * The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
841
442
  */
842
- content?: string | Array<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1 | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
443
+ content?: string | Array<(components.TextContentPartSchema & {
444
+ type: "text";
445
+ }) | components.RefusalPartSchema | components.ReasoningPartSchema | components.RedactedReasoningPartSchema> | null | undefined;
843
446
  /**
844
447
  * The refusal message by the assistant.
845
448
  */
@@ -864,13 +467,13 @@ export type ChoicesAssistantMessage = {
864
467
  /**
865
468
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
866
469
  */
867
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Content4Type: {
470
+ export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType: {
868
471
  readonly Ephemeral: "ephemeral";
869
472
  };
870
473
  /**
871
474
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
872
475
  */
873
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Content4Type = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Content4Type>;
476
+ export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType>;
874
477
  /**
875
478
  * The time-to-live for the cache control breakpoint. This may be one of the following values:
876
479
  *
@@ -881,7 +484,7 @@ export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3C
881
484
  *
882
485
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
883
486
  */
884
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Ttl: {
487
+ export declare const DeploymentCreateMetric2DeploymentsMetricsTtl: {
885
488
  readonly Fivem: "5m";
886
489
  readonly Oneh: "1h";
887
490
  };
@@ -895,12 +498,12 @@ export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody
895
498
  *
896
499
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
897
500
  */
898
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Ttl = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Ttl>;
899
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControl = {
501
+ export type DeploymentCreateMetric2DeploymentsMetricsTtl = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsTtl>;
502
+ export type DeploymentCreateMetric2DeploymentsMetricsCacheControl = {
900
503
  /**
901
504
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
902
505
  */
903
- type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Content4Type;
506
+ type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType;
904
507
  /**
905
508
  * The time-to-live for the cache control breakpoint. This may be one of the following values:
906
509
  *
@@ -911,81 +514,28 @@ export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3C
911
514
  *
912
515
  * Defaults to `5m`. Only supported by `Anthropic` Claude models.
913
516
  */
914
- ttl?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Ttl | undefined;
517
+ ttl?: DeploymentCreateMetric2DeploymentsMetricsTtl | undefined;
915
518
  };
916
519
  export type DeploymentCreateMetric2DeploymentsMetrics4 = {
917
520
  /**
918
521
  * The type of the content part. Always `file`.
919
522
  */
920
523
  type: "file";
921
- cacheControl?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControl | undefined;
524
+ cacheControl?: DeploymentCreateMetric2DeploymentsMetricsCacheControl | undefined;
922
525
  /**
923
526
  * File data for the content part. Must contain either file_data or uri, but not both.
924
527
  */
925
528
  file: components.FileContentPartSchema;
926
529
  };
927
- /**
928
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
929
- */
930
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type: {
931
- readonly Ephemeral: "ephemeral";
932
- };
933
- /**
934
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
935
- */
936
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type>;
937
- /**
938
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
939
- *
940
- * @remarks
941
- *
942
- * - `5m`: 5 minutes
943
- * - `1h`: 1 hour
944
- *
945
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
946
- */
947
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesTtl: {
948
- readonly Fivem: "5m";
949
- readonly Oneh: "1h";
950
- };
951
- /**
952
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
953
- *
954
- * @remarks
955
- *
956
- * - `5m`: 5 minutes
957
- * - `1h`: 1 hour
958
- *
959
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
960
- */
961
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesTtl = ClosedEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesTtl>;
962
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControl = {
963
- /**
964
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
965
- */
966
- type: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type;
967
- /**
968
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
969
- *
970
- * @remarks
971
- *
972
- * - `5m`: 5 minutes
973
- * - `1h`: 1 hour
974
- *
975
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
976
- */
977
- ttl?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesTtl | undefined;
978
- };
979
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1 = {
530
+ export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2 = (components.TextContentPartSchema & {
980
531
  type: "text";
981
- text: string;
982
- cacheControl?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControl | undefined;
983
- };
984
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices32 = DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1 | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentCreateMetric2DeploymentsMetrics4;
532
+ }) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentCreateMetric2DeploymentsMetrics4;
985
533
  /**
986
534
  * The contents of the user message.
987
535
  */
988
- export type DeploymentCreateMetricChoicesDeploymentsMetricsContent = string | Array<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1 | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentCreateMetric2DeploymentsMetrics4>;
536
+ export type DeploymentCreateMetricChoicesDeploymentsMetricsContent = string | Array<(components.TextContentPartSchema & {
537
+ type: "text";
538
+ }) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentCreateMetric2DeploymentsMetrics4>;
989
539
  export type ChoicesUserMessage = {
990
540
  /**
991
541
  * The role of the messages author, in this case `user`.
@@ -998,152 +548,32 @@ export type ChoicesUserMessage = {
998
548
  /**
999
549
  * The contents of the user message.
1000
550
  */
1001
- content: string | Array<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1 | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentCreateMetric2DeploymentsMetrics4>;
1002
- };
1003
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2Type: {
1004
- readonly Text: "text";
1005
- };
1006
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2Type = ClosedEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2Type>;
1007
- /**
1008
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1009
- */
1010
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22Type: {
1011
- readonly Ephemeral: "ephemeral";
1012
- };
1013
- /**
1014
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1015
- */
1016
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22Type = ClosedEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22Type>;
1017
- /**
1018
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1019
- *
1020
- * @remarks
1021
- *
1022
- * - `5m`: 5 minutes
1023
- * - `1h`: 1 hour
1024
- *
1025
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1026
- */
1027
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyTtl: {
1028
- readonly Fivem: "5m";
1029
- readonly Oneh: "1h";
1030
- };
1031
- /**
1032
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1033
- *
1034
- * @remarks
1035
- *
1036
- * - `5m`: 5 minutes
1037
- * - `1h`: 1 hour
1038
- *
1039
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1040
- */
1041
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyTtl = ClosedEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyTtl>;
1042
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControl = {
1043
- /**
1044
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1045
- */
1046
- type: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22Type;
1047
- /**
1048
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1049
- *
1050
- * @remarks
1051
- *
1052
- * - `5m`: 5 minutes
1053
- * - `1h`: 1 hour
1054
- *
1055
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1056
- */
1057
- ttl?: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyTtl | undefined;
1058
- };
1059
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22 = {
1060
- type: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2Type;
1061
- text: string;
1062
- cacheControl?: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControl | undefined;
551
+ content: string | Array<(components.TextContentPartSchema & {
552
+ type: "text";
553
+ }) | components.ImageContentPartSchema | components.AudioContentPartSchema | DeploymentCreateMetric2DeploymentsMetrics4>;
1063
554
  };
1064
555
  /**
1065
556
  * The contents of the developer message.
1066
557
  */
1067
- export type DeploymentCreateMetricChoicesContent = string | Array<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22>;
1068
- export type ChoicesDeveloperMessage = {
1069
- /**
1070
- * The role of the messages author, in this case `developer`.
1071
- */
1072
- role: "developer";
1073
- /**
1074
- * The contents of the developer message.
1075
- */
1076
- content: string | Array<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22>;
1077
- /**
1078
- * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
1079
- */
1080
- name?: string | undefined;
1081
- };
1082
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoicesType: {
1083
- readonly Text: "text";
1084
- };
1085
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoicesType = ClosedEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoicesType>;
1086
- /**
1087
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1088
- */
1089
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices1Type: {
1090
- readonly Ephemeral: "ephemeral";
1091
- };
1092
- /**
1093
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
1094
- */
1095
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices1Type = ClosedEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices1Type>;
1096
- /**
1097
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1098
- *
1099
- * @remarks
1100
- *
1101
- * - `5m`: 5 minutes
1102
- * - `1h`: 1 hour
1103
- *
1104
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1105
- */
1106
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestTtl: {
1107
- readonly Fivem: "5m";
1108
- readonly Oneh: "1h";
1109
- };
1110
- /**
1111
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1112
- *
1113
- * @remarks
1114
- *
1115
- * - `5m`: 5 minutes
1116
- * - `1h`: 1 hour
1117
- *
1118
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
1119
- */
1120
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestTtl = ClosedEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestTtl>;
1121
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestCacheControl = {
558
+ export type DeploymentCreateMetricChoicesContent = string | Array<components.TextContentPartSchema>;
559
+ export type ChoicesDeveloperMessage = {
1122
560
  /**
1123
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
561
+ * The role of the messages author, in this case `developer`.
1124
562
  */
1125
- type: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices1Type;
563
+ role: "developer";
1126
564
  /**
1127
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
1128
- *
1129
- * @remarks
1130
- *
1131
- * - `5m`: 5 minutes
1132
- * - `1h`: 1 hour
1133
- *
1134
- * Defaults to `5m`. Only supported by `Anthropic` Claude models.
565
+ * The contents of the developer message.
1135
566
  */
1136
- ttl?: DeploymentCreateMetricContentDeploymentsMetricsRequestTtl | undefined;
1137
- };
1138
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2 = {
1139
- type: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoicesType;
1140
- text: string;
1141
- cacheControl?: DeploymentCreateMetricContentDeploymentsMetricsRequestCacheControl | undefined;
567
+ content: string | Array<components.TextContentPartSchema>;
568
+ /**
569
+ * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
570
+ */
571
+ name?: string | undefined;
1142
572
  };
1143
573
  /**
1144
574
  * The contents of the system message.
1145
575
  */
1146
- export type ChoicesContent = string | Array<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2>;
576
+ export type ChoicesContent = string | Array<components.TextContentPartSchema>;
1147
577
  /**
1148
578
  * Developer-provided instructions that the model should follow, regardless of messages sent by the user.
1149
579
  */
@@ -1155,7 +585,7 @@ export type ChoicesSystemMessage = {
1155
585
  /**
1156
586
  * The contents of the system message.
1157
587
  */
1158
- content: string | Array<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2>;
588
+ content: string | Array<components.TextContentPartSchema>;
1159
589
  /**
1160
590
  * An optional name for the participant. Provides the model information to differentiate between participants of the same role.
1161
591
  */
@@ -1242,52 +672,17 @@ export declare const Performance$outboundSchema: z.ZodType<Performance$Outbound,
1242
672
  export declare function performanceToJSON(performance: Performance): string;
1243
673
  export declare function performanceFromJSON(jsonString: string): SafeParseResult<Performance, SDKValidationError>;
1244
674
  /** @internal */
1245
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5Type>;
1246
- /** @internal */
1247
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5Type>;
1248
- /** @internal */
1249
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5ContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5ContentType>;
1250
- /** @internal */
1251
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages5ContentType>;
1252
- /** @internal */
1253
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyTtl>;
1254
- /** @internal */
1255
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyTtl>;
1256
- /** @internal */
1257
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControl$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControl, z.ZodTypeDef, unknown>;
1258
- /** @internal */
1259
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControl$Outbound = {
1260
- type: string;
1261
- ttl: string;
1262
- };
1263
- /** @internal */
1264
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControl$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControl$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControl>;
1265
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControlToJSON(deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControl: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControl): string;
1266
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControl, SDKValidationError>;
1267
- /** @internal */
1268
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequest1$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequest1, z.ZodTypeDef, unknown>;
1269
- /** @internal */
1270
- export type DeploymentCreateMetric2DeploymentsMetricsRequest1$Outbound = {
1271
- type: string;
1272
- text: string;
1273
- cache_control?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyCacheControl$Outbound | undefined;
1274
- };
1275
- /** @internal */
1276
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequest1$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequest1$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRequest1>;
1277
- export declare function deploymentCreateMetric2DeploymentsMetricsRequest1ToJSON(deploymentCreateMetric2DeploymentsMetricsRequest1: DeploymentCreateMetric2DeploymentsMetricsRequest1): string;
1278
- export declare function deploymentCreateMetric2DeploymentsMetricsRequest1FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsRequest1, SDKValidationError>;
1279
- /** @internal */
1280
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyMessages2$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyMessages2, z.ZodTypeDef, unknown>;
675
+ export declare const DeploymentCreateMetricContentDeploymentsMetricsRequest2$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequest2, z.ZodTypeDef, unknown>;
1281
676
  /** @internal */
1282
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyMessages2$Outbound = DeploymentCreateMetric2DeploymentsMetricsRequest1$Outbound;
677
+ export type DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound = components.TextContentPartSchema$Outbound;
1283
678
  /** @internal */
1284
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyMessages2$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyMessages2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyMessages2>;
1285
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyMessages2ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyMessages2: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyMessages2): string;
1286
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyMessages2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyMessages2, SDKValidationError>;
679
+ export declare const DeploymentCreateMetricContentDeploymentsMetricsRequest2$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequest2>;
680
+ export declare function deploymentCreateMetricContentDeploymentsMetricsRequest2ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequest2: DeploymentCreateMetricContentDeploymentsMetricsRequest2): string;
681
+ export declare function deploymentCreateMetricContentDeploymentsMetricsRequest2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequest2, SDKValidationError>;
1287
682
  /** @internal */
1288
683
  export declare const DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBody5Content$inboundSchema: z.ZodType<DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBody5Content, z.ZodTypeDef, unknown>;
1289
684
  /** @internal */
1290
- export type DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBody5Content$Outbound = string | Array<DeploymentCreateMetric2DeploymentsMetricsRequest1$Outbound>;
685
+ export type DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBody5Content$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
1291
686
  /** @internal */
1292
687
  export declare const DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBody5Content$outboundSchema: z.ZodType<DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBody5Content$Outbound, z.ZodTypeDef, DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBody5Content>;
1293
688
  export declare function deploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBody5ContentToJSON(deploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBody5Content: DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBody5Content): string;
@@ -1316,7 +711,7 @@ export declare const DeploymentCreateMetricMessagesToolMessage$inboundSchema: z.
1316
711
  /** @internal */
1317
712
  export type DeploymentCreateMetricMessagesToolMessage$Outbound = {
1318
713
  role: "tool";
1319
- content: string | Array<DeploymentCreateMetric2DeploymentsMetricsRequest1$Outbound>;
714
+ content: string | Array<components.TextContentPartSchema$Outbound>;
1320
715
  tool_call_id: string;
1321
716
  cache_control?: DeploymentCreateMetricMessagesCacheControl$Outbound | undefined;
1322
717
  };
@@ -1325,48 +720,21 @@ export declare const DeploymentCreateMetricMessagesToolMessage$outboundSchema: z
1325
720
  export declare function deploymentCreateMetricMessagesToolMessageToJSON(deploymentCreateMetricMessagesToolMessage: DeploymentCreateMetricMessagesToolMessage): string;
1326
721
  export declare function deploymentCreateMetricMessagesToolMessageFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricMessagesToolMessage, SDKValidationError>;
1327
722
  /** @internal */
1328
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages4Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages4Type>;
1329
- /** @internal */
1330
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages4Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyMessages4Type>;
1331
- /** @internal */
1332
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestTtl>;
1333
- /** @internal */
1334
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestTtl>;
1335
- /** @internal */
1336
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestCacheControl$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestCacheControl, z.ZodTypeDef, unknown>;
1337
- /** @internal */
1338
- export type DeploymentCreateMetric2DeploymentsMetricsRequestCacheControl$Outbound = {
1339
- type: string;
1340
- ttl: string;
1341
- };
1342
- /** @internal */
1343
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestCacheControl$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestCacheControl$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRequestCacheControl>;
1344
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestCacheControlToJSON(deploymentCreateMetric2DeploymentsMetricsRequestCacheControl: DeploymentCreateMetric2DeploymentsMetricsRequestCacheControl): string;
1345
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsRequestCacheControl, SDKValidationError>;
1346
- /** @internal */
1347
- export declare const DeploymentCreateMetric2DeploymentsMetrics1$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics1, z.ZodTypeDef, unknown>;
723
+ export declare const DeploymentCreateMetricContentDeploymentsMetrics2$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetrics2, z.ZodTypeDef, unknown>;
1348
724
  /** @internal */
1349
- export type DeploymentCreateMetric2DeploymentsMetrics1$Outbound = {
725
+ export type DeploymentCreateMetricContentDeploymentsMetrics2$Outbound = (components.TextContentPartSchema$Outbound & {
1350
726
  type: "text";
1351
- text: string;
1352
- cache_control?: DeploymentCreateMetric2DeploymentsMetricsRequestCacheControl$Outbound | undefined;
1353
- };
1354
- /** @internal */
1355
- export declare const DeploymentCreateMetric2DeploymentsMetrics1$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics1$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetrics1>;
1356
- export declare function deploymentCreateMetric2DeploymentsMetrics1ToJSON(deploymentCreateMetric2DeploymentsMetrics1: DeploymentCreateMetric2DeploymentsMetrics1): string;
1357
- export declare function deploymentCreateMetric2DeploymentsMetrics1FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetrics1, SDKValidationError>;
727
+ }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
1358
728
  /** @internal */
1359
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2, z.ZodTypeDef, unknown>;
1360
- /** @internal */
1361
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound = DeploymentCreateMetric2DeploymentsMetrics1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
1362
- /** @internal */
1363
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2>;
1364
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2): string;
1365
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2, SDKValidationError>;
729
+ export declare const DeploymentCreateMetricContentDeploymentsMetrics2$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetrics2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetrics2>;
730
+ export declare function deploymentCreateMetricContentDeploymentsMetrics2ToJSON(deploymentCreateMetricContentDeploymentsMetrics2: DeploymentCreateMetricContentDeploymentsMetrics2): string;
731
+ export declare function deploymentCreateMetricContentDeploymentsMetrics2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetrics2, SDKValidationError>;
1366
732
  /** @internal */
1367
733
  export declare const DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyContent$inboundSchema: z.ZodType<DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyContent, z.ZodTypeDef, unknown>;
1368
734
  /** @internal */
1369
- export type DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyContent$Outbound = string | Array<DeploymentCreateMetric2DeploymentsMetrics1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
735
+ export type DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
736
+ type: "text";
737
+ }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
1370
738
  /** @internal */
1371
739
  export declare const DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyContent$outboundSchema: z.ZodType<DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyContent>;
1372
740
  export declare function deploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyContentToJSON(deploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyContent: DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyContent): string;
@@ -1413,7 +781,9 @@ export declare function deploymentCreateMetricMessagesToolCallsFromJSON(jsonStri
1413
781
  export declare const DeploymentCreateMetricMessagesAssistantMessage$inboundSchema: z.ZodType<DeploymentCreateMetricMessagesAssistantMessage, z.ZodTypeDef, unknown>;
1414
782
  /** @internal */
1415
783
  export type DeploymentCreateMetricMessagesAssistantMessage$Outbound = {
1416
- content?: string | Array<DeploymentCreateMetric2DeploymentsMetrics1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
784
+ content?: string | Array<(components.TextContentPartSchema$Outbound & {
785
+ type: "text";
786
+ }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
1417
787
  refusal?: string | null | undefined;
1418
788
  role: "assistant";
1419
789
  name?: string | undefined;
@@ -1425,37 +795,6 @@ export declare const DeploymentCreateMetricMessagesAssistantMessage$outboundSche
1425
795
  export declare function deploymentCreateMetricMessagesAssistantMessageToJSON(deploymentCreateMetricMessagesAssistantMessage: DeploymentCreateMetricMessagesAssistantMessage): string;
1426
796
  export declare function deploymentCreateMetricMessagesAssistantMessageFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricMessagesAssistantMessage, SDKValidationError>;
1427
797
  /** @internal */
1428
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType>;
1429
- /** @internal */
1430
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType>;
1431
- /** @internal */
1432
- export declare const DeploymentCreateMetric2DeploymentsMetricsTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsTtl>;
1433
- /** @internal */
1434
- export declare const DeploymentCreateMetric2DeploymentsMetricsTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsTtl>;
1435
- /** @internal */
1436
- export declare const DeploymentCreateMetric2DeploymentsMetricsCacheControl$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsCacheControl, z.ZodTypeDef, unknown>;
1437
- /** @internal */
1438
- export type DeploymentCreateMetric2DeploymentsMetricsCacheControl$Outbound = {
1439
- type: string;
1440
- ttl: string;
1441
- };
1442
- /** @internal */
1443
- export declare const DeploymentCreateMetric2DeploymentsMetricsCacheControl$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsCacheControl$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsCacheControl>;
1444
- export declare function deploymentCreateMetric2DeploymentsMetricsCacheControlToJSON(deploymentCreateMetric2DeploymentsMetricsCacheControl: DeploymentCreateMetric2DeploymentsMetricsCacheControl): string;
1445
- export declare function deploymentCreateMetric2DeploymentsMetricsCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsCacheControl, SDKValidationError>;
1446
- /** @internal */
1447
- export declare const DeploymentCreateMetric24$inboundSchema: z.ZodType<DeploymentCreateMetric24, z.ZodTypeDef, unknown>;
1448
- /** @internal */
1449
- export type DeploymentCreateMetric24$Outbound = {
1450
- type: "file";
1451
- cache_control?: DeploymentCreateMetric2DeploymentsMetricsCacheControl$Outbound | undefined;
1452
- file: components.FileContentPartSchema$Outbound;
1453
- };
1454
- /** @internal */
1455
- export declare const DeploymentCreateMetric24$outboundSchema: z.ZodType<DeploymentCreateMetric24$Outbound, z.ZodTypeDef, DeploymentCreateMetric24>;
1456
- export declare function deploymentCreateMetric24ToJSON(deploymentCreateMetric24: DeploymentCreateMetric24): string;
1457
- export declare function deploymentCreateMetric24FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric24, SDKValidationError>;
1458
- /** @internal */
1459
798
  export declare const DeploymentCreateMetric2DeploymentsMetricsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsType>;
1460
799
  /** @internal */
1461
800
  export declare const DeploymentCreateMetric2DeploymentsMetricsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsType>;
@@ -1475,29 +814,33 @@ export declare const DeploymentCreateMetric2CacheControl$outboundSchema: z.ZodTy
1475
814
  export declare function deploymentCreateMetric2CacheControlToJSON(deploymentCreateMetric2CacheControl: DeploymentCreateMetric2CacheControl): string;
1476
815
  export declare function deploymentCreateMetric2CacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2CacheControl, SDKValidationError>;
1477
816
  /** @internal */
1478
- export declare const DeploymentCreateMetric21$inboundSchema: z.ZodType<DeploymentCreateMetric21, z.ZodTypeDef, unknown>;
817
+ export declare const DeploymentCreateMetric24$inboundSchema: z.ZodType<DeploymentCreateMetric24, z.ZodTypeDef, unknown>;
1479
818
  /** @internal */
1480
- export type DeploymentCreateMetric21$Outbound = {
1481
- type: "text";
1482
- text: string;
819
+ export type DeploymentCreateMetric24$Outbound = {
820
+ type: "file";
1483
821
  cache_control?: DeploymentCreateMetric2CacheControl$Outbound | undefined;
822
+ file: components.FileContentPartSchema$Outbound;
1484
823
  };
1485
824
  /** @internal */
1486
- export declare const DeploymentCreateMetric21$outboundSchema: z.ZodType<DeploymentCreateMetric21$Outbound, z.ZodTypeDef, DeploymentCreateMetric21>;
1487
- export declare function deploymentCreateMetric21ToJSON(deploymentCreateMetric21: DeploymentCreateMetric21): string;
1488
- export declare function deploymentCreateMetric21FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric21, SDKValidationError>;
825
+ export declare const DeploymentCreateMetric24$outboundSchema: z.ZodType<DeploymentCreateMetric24$Outbound, z.ZodTypeDef, DeploymentCreateMetric24>;
826
+ export declare function deploymentCreateMetric24ToJSON(deploymentCreateMetric24: DeploymentCreateMetric24): string;
827
+ export declare function deploymentCreateMetric24FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric24, SDKValidationError>;
1489
828
  /** @internal */
1490
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequest2$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequest2, z.ZodTypeDef, unknown>;
829
+ export declare const DeploymentCreateMetricContent2$inboundSchema: z.ZodType<DeploymentCreateMetricContent2, z.ZodTypeDef, unknown>;
1491
830
  /** @internal */
1492
- export type DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound = DeploymentCreateMetric21$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentCreateMetric24$Outbound;
831
+ export type DeploymentCreateMetricContent2$Outbound = (components.TextContentPartSchema$Outbound & {
832
+ type: "text";
833
+ }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentCreateMetric24$Outbound;
1493
834
  /** @internal */
1494
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequest2$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequest2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequest2>;
1495
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequest2ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequest2: DeploymentCreateMetricContentDeploymentsMetricsRequest2): string;
1496
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequest2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequest2, SDKValidationError>;
835
+ export declare const DeploymentCreateMetricContent2$outboundSchema: z.ZodType<DeploymentCreateMetricContent2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContent2>;
836
+ export declare function deploymentCreateMetricContent2ToJSON(deploymentCreateMetricContent2: DeploymentCreateMetricContent2): string;
837
+ export declare function deploymentCreateMetricContent2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContent2, SDKValidationError>;
1497
838
  /** @internal */
1498
839
  export declare const DeploymentCreateMetricMessagesDeploymentsMetricsRequestContent$inboundSchema: z.ZodType<DeploymentCreateMetricMessagesDeploymentsMetricsRequestContent, z.ZodTypeDef, unknown>;
1499
840
  /** @internal */
1500
- export type DeploymentCreateMetricMessagesDeploymentsMetricsRequestContent$Outbound = string | Array<DeploymentCreateMetric21$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentCreateMetric24$Outbound>;
841
+ export type DeploymentCreateMetricMessagesDeploymentsMetricsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
842
+ type: "text";
843
+ }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentCreateMetric24$Outbound>;
1501
844
  /** @internal */
1502
845
  export declare const DeploymentCreateMetricMessagesDeploymentsMetricsRequestContent$outboundSchema: z.ZodType<DeploymentCreateMetricMessagesDeploymentsMetricsRequestContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricMessagesDeploymentsMetricsRequestContent>;
1503
846
  export declare function deploymentCreateMetricMessagesDeploymentsMetricsRequestContentToJSON(deploymentCreateMetricMessagesDeploymentsMetricsRequestContent: DeploymentCreateMetricMessagesDeploymentsMetricsRequestContent): string;
@@ -1508,51 +851,18 @@ export declare const DeploymentCreateMetricMessagesUserMessage$inboundSchema: z.
1508
851
  export type DeploymentCreateMetricMessagesUserMessage$Outbound = {
1509
852
  role: "user";
1510
853
  name?: string | undefined;
1511
- content: string | Array<DeploymentCreateMetric21$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentCreateMetric24$Outbound>;
854
+ content: string | Array<(components.TextContentPartSchema$Outbound & {
855
+ type: "text";
856
+ }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentCreateMetric24$Outbound>;
1512
857
  };
1513
858
  /** @internal */
1514
859
  export declare const DeploymentCreateMetricMessagesUserMessage$outboundSchema: z.ZodType<DeploymentCreateMetricMessagesUserMessage$Outbound, z.ZodTypeDef, DeploymentCreateMetricMessagesUserMessage>;
1515
860
  export declare function deploymentCreateMetricMessagesUserMessageToJSON(deploymentCreateMetricMessagesUserMessage: DeploymentCreateMetricMessagesUserMessage): string;
1516
861
  export declare function deploymentCreateMetricMessagesUserMessageFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricMessagesUserMessage, SDKValidationError>;
1517
862
  /** @internal */
1518
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestType>;
1519
- /** @internal */
1520
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestType>;
1521
- /** @internal */
1522
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyType>;
1523
- /** @internal */
1524
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyType>;
1525
- /** @internal */
1526
- export declare const DeploymentCreateMetricContentDeploymentsMetricsTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsTtl>;
1527
- /** @internal */
1528
- export declare const DeploymentCreateMetricContentDeploymentsMetricsTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsTtl>;
1529
- /** @internal */
1530
- export declare const DeploymentCreateMetricContentDeploymentsMetricsCacheControl$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsCacheControl, z.ZodTypeDef, unknown>;
1531
- /** @internal */
1532
- export type DeploymentCreateMetricContentDeploymentsMetricsCacheControl$Outbound = {
1533
- type: string;
1534
- ttl: string;
1535
- };
1536
- /** @internal */
1537
- export declare const DeploymentCreateMetricContentDeploymentsMetricsCacheControl$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsCacheControl$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsCacheControl>;
1538
- export declare function deploymentCreateMetricContentDeploymentsMetricsCacheControlToJSON(deploymentCreateMetricContentDeploymentsMetricsCacheControl: DeploymentCreateMetricContentDeploymentsMetricsCacheControl): string;
1539
- export declare function deploymentCreateMetricContentDeploymentsMetricsCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsCacheControl, SDKValidationError>;
1540
- /** @internal */
1541
- export declare const DeploymentCreateMetricContentDeploymentsMetrics2$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetrics2, z.ZodTypeDef, unknown>;
1542
- /** @internal */
1543
- export type DeploymentCreateMetricContentDeploymentsMetrics2$Outbound = {
1544
- type: string;
1545
- text: string;
1546
- cache_control?: DeploymentCreateMetricContentDeploymentsMetricsCacheControl$Outbound | undefined;
1547
- };
1548
- /** @internal */
1549
- export declare const DeploymentCreateMetricContentDeploymentsMetrics2$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetrics2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetrics2>;
1550
- export declare function deploymentCreateMetricContentDeploymentsMetrics2ToJSON(deploymentCreateMetricContentDeploymentsMetrics2: DeploymentCreateMetricContentDeploymentsMetrics2): string;
1551
- export declare function deploymentCreateMetricContentDeploymentsMetrics2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetrics2, SDKValidationError>;
1552
- /** @internal */
1553
863
  export declare const DeploymentCreateMetricMessagesDeploymentsMetricsContent$inboundSchema: z.ZodType<DeploymentCreateMetricMessagesDeploymentsMetricsContent, z.ZodTypeDef, unknown>;
1554
864
  /** @internal */
1555
- export type DeploymentCreateMetricMessagesDeploymentsMetricsContent$Outbound = string | Array<DeploymentCreateMetricContentDeploymentsMetrics2$Outbound>;
865
+ export type DeploymentCreateMetricMessagesDeploymentsMetricsContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
1556
866
  /** @internal */
1557
867
  export declare const DeploymentCreateMetricMessagesDeploymentsMetricsContent$outboundSchema: z.ZodType<DeploymentCreateMetricMessagesDeploymentsMetricsContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricMessagesDeploymentsMetricsContent>;
1558
868
  export declare function deploymentCreateMetricMessagesDeploymentsMetricsContentToJSON(deploymentCreateMetricMessagesDeploymentsMetricsContent: DeploymentCreateMetricMessagesDeploymentsMetricsContent): string;
@@ -1562,7 +872,7 @@ export declare const DeploymentCreateMetricMessagesDeveloperMessage$inboundSchem
1562
872
  /** @internal */
1563
873
  export type DeploymentCreateMetricMessagesDeveloperMessage$Outbound = {
1564
874
  role: "developer";
1565
- content: string | Array<DeploymentCreateMetricContentDeploymentsMetrics2$Outbound>;
875
+ content: string | Array<components.TextContentPartSchema$Outbound>;
1566
876
  name?: string | undefined;
1567
877
  };
1568
878
  /** @internal */
@@ -1570,44 +880,9 @@ export declare const DeploymentCreateMetricMessagesDeveloperMessage$outboundSche
1570
880
  export declare function deploymentCreateMetricMessagesDeveloperMessageToJSON(deploymentCreateMetricMessagesDeveloperMessage: DeploymentCreateMetricMessagesDeveloperMessage): string;
1571
881
  export declare function deploymentCreateMetricMessagesDeveloperMessageFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricMessagesDeveloperMessage, SDKValidationError>;
1572
882
  /** @internal */
1573
- export declare const DeploymentCreateMetricContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentType>;
1574
- /** @internal */
1575
- export declare const DeploymentCreateMetricContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentType>;
1576
- /** @internal */
1577
- export declare const DeploymentCreateMetricContentDeploymentsMetricsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsType>;
1578
- /** @internal */
1579
- export declare const DeploymentCreateMetricContentDeploymentsMetricsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsType>;
1580
- /** @internal */
1581
- export declare const DeploymentCreateMetricContentTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentTtl>;
1582
- /** @internal */
1583
- export declare const DeploymentCreateMetricContentTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentTtl>;
1584
- /** @internal */
1585
- export declare const DeploymentCreateMetricContentCacheControl$inboundSchema: z.ZodType<DeploymentCreateMetricContentCacheControl, z.ZodTypeDef, unknown>;
1586
- /** @internal */
1587
- export type DeploymentCreateMetricContentCacheControl$Outbound = {
1588
- type: string;
1589
- ttl: string;
1590
- };
1591
- /** @internal */
1592
- export declare const DeploymentCreateMetricContentCacheControl$outboundSchema: z.ZodType<DeploymentCreateMetricContentCacheControl$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentCacheControl>;
1593
- export declare function deploymentCreateMetricContentCacheControlToJSON(deploymentCreateMetricContentCacheControl: DeploymentCreateMetricContentCacheControl): string;
1594
- export declare function deploymentCreateMetricContentCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentCacheControl, SDKValidationError>;
1595
- /** @internal */
1596
- export declare const DeploymentCreateMetricContent2$inboundSchema: z.ZodType<DeploymentCreateMetricContent2, z.ZodTypeDef, unknown>;
1597
- /** @internal */
1598
- export type DeploymentCreateMetricContent2$Outbound = {
1599
- type: string;
1600
- text: string;
1601
- cache_control?: DeploymentCreateMetricContentCacheControl$Outbound | undefined;
1602
- };
1603
- /** @internal */
1604
- export declare const DeploymentCreateMetricContent2$outboundSchema: z.ZodType<DeploymentCreateMetricContent2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContent2>;
1605
- export declare function deploymentCreateMetricContent2ToJSON(deploymentCreateMetricContent2: DeploymentCreateMetricContent2): string;
1606
- export declare function deploymentCreateMetricContent2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContent2, SDKValidationError>;
1607
- /** @internal */
1608
883
  export declare const DeploymentCreateMetricMessagesContent$inboundSchema: z.ZodType<DeploymentCreateMetricMessagesContent, z.ZodTypeDef, unknown>;
1609
884
  /** @internal */
1610
- export type DeploymentCreateMetricMessagesContent$Outbound = string | Array<DeploymentCreateMetricContent2$Outbound>;
885
+ export type DeploymentCreateMetricMessagesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
1611
886
  /** @internal */
1612
887
  export declare const DeploymentCreateMetricMessagesContent$outboundSchema: z.ZodType<DeploymentCreateMetricMessagesContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricMessagesContent>;
1613
888
  export declare function deploymentCreateMetricMessagesContentToJSON(deploymentCreateMetricMessagesContent: DeploymentCreateMetricMessagesContent): string;
@@ -1617,7 +892,7 @@ export declare const DeploymentCreateMetricMessagesSystemMessage$inboundSchema:
1617
892
  /** @internal */
1618
893
  export type DeploymentCreateMetricMessagesSystemMessage$Outbound = {
1619
894
  role: "system";
1620
- content: string | Array<DeploymentCreateMetricContent2$Outbound>;
895
+ content: string | Array<components.TextContentPartSchema$Outbound>;
1621
896
  name?: string | undefined;
1622
897
  };
1623
898
  /** @internal */
@@ -1633,44 +908,9 @@ export declare const DeploymentCreateMetricMessages$outboundSchema: z.ZodType<De
1633
908
  export declare function deploymentCreateMetricMessagesToJSON(deploymentCreateMetricMessages: DeploymentCreateMetricMessages): string;
1634
909
  export declare function deploymentCreateMetricMessagesFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricMessages, SDKValidationError>;
1635
910
  /** @internal */
1636
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Type>;
1637
- /** @internal */
1638
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Type>;
1639
- /** @internal */
1640
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5ContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5ContentType>;
1641
- /** @internal */
1642
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5ContentType>;
1643
- /** @internal */
1644
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Ttl$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Ttl>;
1645
- /** @internal */
1646
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Ttl$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5Ttl>;
1647
- /** @internal */
1648
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControl$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControl, z.ZodTypeDef, unknown>;
1649
- /** @internal */
1650
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControl$Outbound = {
1651
- type: string;
1652
- ttl: string;
1653
- };
1654
- /** @internal */
1655
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControl$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControl$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControl>;
1656
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControlToJSON(deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControl: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControl): string;
1657
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControl, SDKValidationError>;
1658
- /** @internal */
1659
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51, z.ZodTypeDef, unknown>;
1660
- /** @internal */
1661
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51$Outbound = {
1662
- type: string;
1663
- text: string;
1664
- cache_control?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices5CacheControl$Outbound | undefined;
1665
- };
1666
- /** @internal */
1667
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51>;
1668
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51ToJSON(deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51): string;
1669
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51, SDKValidationError>;
1670
- /** @internal */
1671
911
  export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices52$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices52, z.ZodTypeDef, unknown>;
1672
912
  /** @internal */
1673
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices52$Outbound = DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51$Outbound;
913
+ export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices52$Outbound = components.TextContentPartSchema$Outbound;
1674
914
  /** @internal */
1675
915
  export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices52$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices52$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices52>;
1676
916
  export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices52ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices52: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices52): string;
@@ -1678,7 +918,7 @@ export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRe
1678
918
  /** @internal */
1679
919
  export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyContent$inboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyContent, z.ZodTypeDef, unknown>;
1680
920
  /** @internal */
1681
- export type DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyContent$Outbound = string | Array<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51$Outbound>;
921
+ export type DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
1682
922
  /** @internal */
1683
923
  export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyContent$outboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyContent>;
1684
924
  export declare function deploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyContentToJSON(deploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyContent: DeploymentCreateMetricChoicesDeploymentsMetricsRequestRequestBodyContent): string;
@@ -1707,7 +947,7 @@ export declare const ChoicesToolMessage$inboundSchema: z.ZodType<ChoicesToolMess
1707
947
  /** @internal */
1708
948
  export type ChoicesToolMessage$Outbound = {
1709
949
  role: "tool";
1710
- content: string | Array<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices51$Outbound>;
950
+ content: string | Array<components.TextContentPartSchema$Outbound>;
1711
951
  tool_call_id: string;
1712
952
  cache_control?: ChoicesCacheControl$Outbound | undefined;
1713
953
  };
@@ -1716,48 +956,21 @@ export declare const ChoicesToolMessage$outboundSchema: z.ZodType<ChoicesToolMes
1716
956
  export declare function choicesToolMessageToJSON(choicesToolMessage: ChoicesToolMessage): string;
1717
957
  export declare function choicesToolMessageFromJSON(jsonString: string): SafeParseResult<ChoicesToolMessage, SDKValidationError>;
1718
958
  /** @internal */
1719
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType>;
1720
- /** @internal */
1721
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4ContentType>;
1722
- /** @internal */
1723
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Ttl$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Ttl>;
1724
- /** @internal */
1725
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Ttl$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4Ttl>;
1726
- /** @internal */
1727
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControl$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControl, z.ZodTypeDef, unknown>;
1728
- /** @internal */
1729
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControl$Outbound = {
1730
- type: string;
1731
- ttl: string;
1732
- };
1733
- /** @internal */
1734
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControl$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControl$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControl>;
1735
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControlToJSON(deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControl: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControl): string;
1736
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControl, SDKValidationError>;
1737
- /** @internal */
1738
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1, z.ZodTypeDef, unknown>;
959
+ export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2, z.ZodTypeDef, unknown>;
1739
960
  /** @internal */
1740
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1$Outbound = {
961
+ export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2$Outbound = (components.TextContentPartSchema$Outbound & {
1741
962
  type: "text";
1742
- text: string;
1743
- cache_control?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices4CacheControl$Outbound | undefined;
1744
- };
1745
- /** @internal */
1746
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1>;
1747
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1ToJSON(deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1): string;
1748
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1, SDKValidationError>;
1749
- /** @internal */
1750
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices42$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices42, z.ZodTypeDef, unknown>;
963
+ }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
1751
964
  /** @internal */
1752
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices42$Outbound = DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound;
1753
- /** @internal */
1754
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices42$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices42$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices42>;
1755
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices42ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices42: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices42): string;
1756
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices42FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices42, SDKValidationError>;
965
+ export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2>;
966
+ export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2): string;
967
+ export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2, SDKValidationError>;
1757
968
  /** @internal */
1758
969
  export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestContent$inboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsRequestContent, z.ZodTypeDef, unknown>;
1759
970
  /** @internal */
1760
- export type DeploymentCreateMetricChoicesDeploymentsMetricsRequestContent$Outbound = string | Array<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
971
+ export type DeploymentCreateMetricChoicesDeploymentsMetricsRequestContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
972
+ type: "text";
973
+ }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound>;
1761
974
  /** @internal */
1762
975
  export declare const DeploymentCreateMetricChoicesDeploymentsMetricsRequestContent$outboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsRequestContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricChoicesDeploymentsMetricsRequestContent>;
1763
976
  export declare function deploymentCreateMetricChoicesDeploymentsMetricsRequestContentToJSON(deploymentCreateMetricChoicesDeploymentsMetricsRequestContent: DeploymentCreateMetricChoicesDeploymentsMetricsRequestContent): string;
@@ -1804,7 +1017,9 @@ export declare function choicesToolCallsFromJSON(jsonString: string): SafeParseR
1804
1017
  export declare const ChoicesAssistantMessage$inboundSchema: z.ZodType<ChoicesAssistantMessage, z.ZodTypeDef, unknown>;
1805
1018
  /** @internal */
1806
1019
  export type ChoicesAssistantMessage$Outbound = {
1807
- content?: string | Array<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices1$Outbound | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
1020
+ content?: string | Array<(components.TextContentPartSchema$Outbound & {
1021
+ type: "text";
1022
+ }) | components.RefusalPartSchema$Outbound | components.ReasoningPartSchema$Outbound | components.RedactedReasoningPartSchema$Outbound> | null | undefined;
1808
1023
  refusal?: string | null | undefined;
1809
1024
  role: "assistant";
1810
1025
  name?: string | undefined;
@@ -1816,30 +1031,30 @@ export declare const ChoicesAssistantMessage$outboundSchema: z.ZodType<ChoicesAs
1816
1031
  export declare function choicesAssistantMessageToJSON(choicesAssistantMessage: ChoicesAssistantMessage): string;
1817
1032
  export declare function choicesAssistantMessageFromJSON(jsonString: string): SafeParseResult<ChoicesAssistantMessage, SDKValidationError>;
1818
1033
  /** @internal */
1819
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Content4Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Content4Type>;
1034
+ export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType>;
1820
1035
  /** @internal */
1821
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Content4Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Content4Type>;
1036
+ export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyType>;
1822
1037
  /** @internal */
1823
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Ttl$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Ttl>;
1038
+ export declare const DeploymentCreateMetric2DeploymentsMetricsTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsTtl>;
1824
1039
  /** @internal */
1825
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Ttl$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Ttl>;
1040
+ export declare const DeploymentCreateMetric2DeploymentsMetricsTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsTtl>;
1826
1041
  /** @internal */
1827
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControl$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControl, z.ZodTypeDef, unknown>;
1042
+ export declare const DeploymentCreateMetric2DeploymentsMetricsCacheControl$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsCacheControl, z.ZodTypeDef, unknown>;
1828
1043
  /** @internal */
1829
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControl$Outbound = {
1044
+ export type DeploymentCreateMetric2DeploymentsMetricsCacheControl$Outbound = {
1830
1045
  type: string;
1831
1046
  ttl: string;
1832
1047
  };
1833
1048
  /** @internal */
1834
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControl$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControl$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControl>;
1835
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControlToJSON(deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControl: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControl): string;
1836
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControl, SDKValidationError>;
1049
+ export declare const DeploymentCreateMetric2DeploymentsMetricsCacheControl$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsCacheControl$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsCacheControl>;
1050
+ export declare function deploymentCreateMetric2DeploymentsMetricsCacheControlToJSON(deploymentCreateMetric2DeploymentsMetricsCacheControl: DeploymentCreateMetric2DeploymentsMetricsCacheControl): string;
1051
+ export declare function deploymentCreateMetric2DeploymentsMetricsCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsCacheControl, SDKValidationError>;
1837
1052
  /** @internal */
1838
1053
  export declare const DeploymentCreateMetric2DeploymentsMetrics4$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetrics4, z.ZodTypeDef, unknown>;
1839
1054
  /** @internal */
1840
1055
  export type DeploymentCreateMetric2DeploymentsMetrics4$Outbound = {
1841
1056
  type: "file";
1842
- cache_control?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3CacheControl$Outbound | undefined;
1057
+ cache_control?: DeploymentCreateMetric2DeploymentsMetricsCacheControl$Outbound | undefined;
1843
1058
  file: components.FileContentPartSchema$Outbound;
1844
1059
  };
1845
1060
  /** @internal */
@@ -1847,48 +1062,21 @@ export declare const DeploymentCreateMetric2DeploymentsMetrics4$outboundSchema:
1847
1062
  export declare function deploymentCreateMetric2DeploymentsMetrics4ToJSON(deploymentCreateMetric2DeploymentsMetrics4: DeploymentCreateMetric2DeploymentsMetrics4): string;
1848
1063
  export declare function deploymentCreateMetric2DeploymentsMetrics4FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetrics4, SDKValidationError>;
1849
1064
  /** @internal */
1850
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type>;
1851
- /** @internal */
1852
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoices3Type>;
1853
- /** @internal */
1854
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesTtl>;
1855
- /** @internal */
1856
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesTtl>;
1857
- /** @internal */
1858
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControl$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControl, z.ZodTypeDef, unknown>;
1859
- /** @internal */
1860
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControl$Outbound = {
1861
- type: string;
1862
- ttl: string;
1863
- };
1864
- /** @internal */
1865
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControl$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControl$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControl>;
1866
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControlToJSON(deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControl: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControl): string;
1867
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControl, SDKValidationError>;
1868
- /** @internal */
1869
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1$inboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1, z.ZodTypeDef, unknown>;
1065
+ export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2, z.ZodTypeDef, unknown>;
1870
1066
  /** @internal */
1871
- export type DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1$Outbound = {
1067
+ export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound = (components.TextContentPartSchema$Outbound & {
1872
1068
  type: "text";
1873
- text: string;
1874
- cache_control?: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBodyChoicesCacheControl$Outbound | undefined;
1875
- };
1876
- /** @internal */
1877
- export declare const DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1$outboundSchema: z.ZodType<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1$Outbound, z.ZodTypeDef, DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1>;
1878
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBody1ToJSON(deploymentCreateMetric2DeploymentsMetricsRequestRequestBody1: DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1): string;
1879
- export declare function deploymentCreateMetric2DeploymentsMetricsRequestRequestBody1FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1, SDKValidationError>;
1069
+ }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentCreateMetric2DeploymentsMetrics4$Outbound;
1880
1070
  /** @internal */
1881
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices32$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices32, z.ZodTypeDef, unknown>;
1882
- /** @internal */
1883
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices32$Outbound = DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentCreateMetric2DeploymentsMetrics4$Outbound;
1884
- /** @internal */
1885
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices32$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices32$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices32>;
1886
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices32ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices32: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices32): string;
1887
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices32FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices32, SDKValidationError>;
1071
+ export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2>;
1072
+ export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2): string;
1073
+ export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBody2, SDKValidationError>;
1888
1074
  /** @internal */
1889
1075
  export declare const DeploymentCreateMetricChoicesDeploymentsMetricsContent$inboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsContent, z.ZodTypeDef, unknown>;
1890
1076
  /** @internal */
1891
- export type DeploymentCreateMetricChoicesDeploymentsMetricsContent$Outbound = string | Array<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentCreateMetric2DeploymentsMetrics4$Outbound>;
1077
+ export type DeploymentCreateMetricChoicesDeploymentsMetricsContent$Outbound = string | Array<(components.TextContentPartSchema$Outbound & {
1078
+ type: "text";
1079
+ }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentCreateMetric2DeploymentsMetrics4$Outbound>;
1892
1080
  /** @internal */
1893
1081
  export declare const DeploymentCreateMetricChoicesDeploymentsMetricsContent$outboundSchema: z.ZodType<DeploymentCreateMetricChoicesDeploymentsMetricsContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricChoicesDeploymentsMetricsContent>;
1894
1082
  export declare function deploymentCreateMetricChoicesDeploymentsMetricsContentToJSON(deploymentCreateMetricChoicesDeploymentsMetricsContent: DeploymentCreateMetricChoicesDeploymentsMetricsContent): string;
@@ -1899,51 +1087,18 @@ export declare const ChoicesUserMessage$inboundSchema: z.ZodType<ChoicesUserMess
1899
1087
  export type ChoicesUserMessage$Outbound = {
1900
1088
  role: "user";
1901
1089
  name?: string | undefined;
1902
- content: string | Array<DeploymentCreateMetric2DeploymentsMetricsRequestRequestBody1$Outbound | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentCreateMetric2DeploymentsMetrics4$Outbound>;
1090
+ content: string | Array<(components.TextContentPartSchema$Outbound & {
1091
+ type: "text";
1092
+ }) | components.ImageContentPartSchema$Outbound | components.AudioContentPartSchema$Outbound | DeploymentCreateMetric2DeploymentsMetrics4$Outbound>;
1903
1093
  };
1904
1094
  /** @internal */
1905
1095
  export declare const ChoicesUserMessage$outboundSchema: z.ZodType<ChoicesUserMessage$Outbound, z.ZodTypeDef, ChoicesUserMessage>;
1906
1096
  export declare function choicesUserMessageToJSON(choicesUserMessage: ChoicesUserMessage): string;
1907
1097
  export declare function choicesUserMessageFromJSON(jsonString: string): SafeParseResult<ChoicesUserMessage, SDKValidationError>;
1908
1098
  /** @internal */
1909
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2Type>;
1910
- /** @internal */
1911
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2Type>;
1912
- /** @internal */
1913
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22Type>;
1914
- /** @internal */
1915
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22Type>;
1916
- /** @internal */
1917
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyTtl>;
1918
- /** @internal */
1919
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyTtl>;
1920
- /** @internal */
1921
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControl$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControl, z.ZodTypeDef, unknown>;
1922
- /** @internal */
1923
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControl$Outbound = {
1924
- type: string;
1925
- ttl: string;
1926
- };
1927
- /** @internal */
1928
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControl$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControl$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControl>;
1929
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControlToJSON(deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControl: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControl): string;
1930
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControl, SDKValidationError>;
1931
- /** @internal */
1932
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22, z.ZodTypeDef, unknown>;
1933
- /** @internal */
1934
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22$Outbound = {
1935
- type: string;
1936
- text: string;
1937
- cache_control?: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyCacheControl$Outbound | undefined;
1938
- };
1939
- /** @internal */
1940
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22>;
1941
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22): string;
1942
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22, SDKValidationError>;
1943
- /** @internal */
1944
1099
  export declare const DeploymentCreateMetricChoicesContent$inboundSchema: z.ZodType<DeploymentCreateMetricChoicesContent, z.ZodTypeDef, unknown>;
1945
1100
  /** @internal */
1946
- export type DeploymentCreateMetricChoicesContent$Outbound = string | Array<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22$Outbound>;
1101
+ export type DeploymentCreateMetricChoicesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
1947
1102
  /** @internal */
1948
1103
  export declare const DeploymentCreateMetricChoicesContent$outboundSchema: z.ZodType<DeploymentCreateMetricChoicesContent$Outbound, z.ZodTypeDef, DeploymentCreateMetricChoicesContent>;
1949
1104
  export declare function deploymentCreateMetricChoicesContentToJSON(deploymentCreateMetricChoicesContent: DeploymentCreateMetricChoicesContent): string;
@@ -1953,7 +1108,7 @@ export declare const ChoicesDeveloperMessage$inboundSchema: z.ZodType<ChoicesDev
1953
1108
  /** @internal */
1954
1109
  export type ChoicesDeveloperMessage$Outbound = {
1955
1110
  role: "developer";
1956
- content: string | Array<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices22$Outbound>;
1111
+ content: string | Array<components.TextContentPartSchema$Outbound>;
1957
1112
  name?: string | undefined;
1958
1113
  };
1959
1114
  /** @internal */
@@ -1961,44 +1116,9 @@ export declare const ChoicesDeveloperMessage$outboundSchema: z.ZodType<ChoicesDe
1961
1116
  export declare function choicesDeveloperMessageToJSON(choicesDeveloperMessage: ChoicesDeveloperMessage): string;
1962
1117
  export declare function choicesDeveloperMessageFromJSON(jsonString: string): SafeParseResult<ChoicesDeveloperMessage, SDKValidationError>;
1963
1118
  /** @internal */
1964
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoicesType$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoicesType>;
1965
- /** @internal */
1966
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoicesType$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoicesType>;
1967
- /** @internal */
1968
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices1Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices1Type>;
1969
- /** @internal */
1970
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices1Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices1Type>;
1971
- /** @internal */
1972
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestTtl$inboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestTtl>;
1973
- /** @internal */
1974
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestTtl$outboundSchema: z.ZodNativeEnum<typeof DeploymentCreateMetricContentDeploymentsMetricsRequestTtl>;
1975
- /** @internal */
1976
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestCacheControl$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestCacheControl, z.ZodTypeDef, unknown>;
1977
- /** @internal */
1978
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestCacheControl$Outbound = {
1979
- type: string;
1980
- ttl: string;
1981
- };
1982
- /** @internal */
1983
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestCacheControl$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestCacheControl$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestCacheControl>;
1984
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestCacheControlToJSON(deploymentCreateMetricContentDeploymentsMetricsRequestCacheControl: DeploymentCreateMetricContentDeploymentsMetricsRequestCacheControl): string;
1985
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestCacheControlFromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequestCacheControl, SDKValidationError>;
1986
- /** @internal */
1987
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2$inboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2, z.ZodTypeDef, unknown>;
1988
- /** @internal */
1989
- export type DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2$Outbound = {
1990
- type: string;
1991
- text: string;
1992
- cache_control?: DeploymentCreateMetricContentDeploymentsMetricsRequestCacheControl$Outbound | undefined;
1993
- };
1994
- /** @internal */
1995
- export declare const DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2$outboundSchema: z.ZodType<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2$Outbound, z.ZodTypeDef, DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2>;
1996
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2ToJSON(deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2: DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2): string;
1997
- export declare function deploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2FromJSON(jsonString: string): SafeParseResult<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2, SDKValidationError>;
1998
- /** @internal */
1999
1119
  export declare const ChoicesContent$inboundSchema: z.ZodType<ChoicesContent, z.ZodTypeDef, unknown>;
2000
1120
  /** @internal */
2001
- export type ChoicesContent$Outbound = string | Array<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2$Outbound>;
1121
+ export type ChoicesContent$Outbound = string | Array<components.TextContentPartSchema$Outbound>;
2002
1122
  /** @internal */
2003
1123
  export declare const ChoicesContent$outboundSchema: z.ZodType<ChoicesContent$Outbound, z.ZodTypeDef, ChoicesContent>;
2004
1124
  export declare function choicesContentToJSON(choicesContent: ChoicesContent): string;
@@ -2008,7 +1128,7 @@ export declare const ChoicesSystemMessage$inboundSchema: z.ZodType<ChoicesSystem
2008
1128
  /** @internal */
2009
1129
  export type ChoicesSystemMessage$Outbound = {
2010
1130
  role: "system";
2011
- content: string | Array<DeploymentCreateMetricContentDeploymentsMetricsRequestRequestBodyChoices2$Outbound>;
1131
+ content: string | Array<components.TextContentPartSchema$Outbound>;
2012
1132
  name?: string | undefined;
2013
1133
  };
2014
1134
  /** @internal */