@mistralai/mistralai 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (305) hide show
  1. package/README.md +45 -33
  2. package/RUNTIMES.md +1 -1
  3. package/esm/extra/structChat.js +1 -1
  4. package/esm/extra/structChat.js.map +1 -1
  5. package/esm/funcs/audioSpeechComplete.d.ts +22 -0
  6. package/esm/funcs/audioSpeechComplete.d.ts.map +1 -0
  7. package/esm/funcs/audioSpeechComplete.js +88 -0
  8. package/esm/funcs/audioSpeechComplete.js.map +1 -0
  9. package/esm/funcs/audioVoicesCreate.d.ts +18 -0
  10. package/esm/funcs/audioVoicesCreate.d.ts.map +1 -0
  11. package/esm/funcs/audioVoicesCreate.js +83 -0
  12. package/esm/funcs/audioVoicesCreate.js.map +1 -0
  13. package/esm/funcs/audioVoicesDelete.d.ts +19 -0
  14. package/esm/funcs/audioVoicesDelete.d.ts.map +1 -0
  15. package/esm/funcs/audioVoicesDelete.js +90 -0
  16. package/esm/funcs/audioVoicesDelete.js.map +1 -0
  17. package/esm/funcs/audioVoicesGet.d.ts +19 -0
  18. package/esm/funcs/audioVoicesGet.d.ts.map +1 -0
  19. package/esm/funcs/audioVoicesGet.js +89 -0
  20. package/esm/funcs/audioVoicesGet.js.map +1 -0
  21. package/esm/funcs/audioVoicesGetSampleAudio.d.ts +18 -0
  22. package/esm/funcs/audioVoicesGetSampleAudio.d.ts.map +1 -0
  23. package/esm/funcs/audioVoicesGetSampleAudio.js +91 -0
  24. package/esm/funcs/audioVoicesGetSampleAudio.js.map +1 -0
  25. package/esm/funcs/audioVoicesList.d.ts +19 -0
  26. package/esm/funcs/audioVoicesList.d.ts.map +1 -0
  27. package/esm/funcs/audioVoicesList.js +89 -0
  28. package/esm/funcs/audioVoicesList.js.map +1 -0
  29. package/esm/funcs/audioVoicesUpdate.d.ts +19 -0
  30. package/esm/funcs/audioVoicesUpdate.d.ts.map +1 -0
  31. package/esm/funcs/audioVoicesUpdate.js +93 -0
  32. package/esm/funcs/audioVoicesUpdate.js.map +1 -0
  33. package/esm/lib/config.d.ts +2 -2
  34. package/esm/lib/config.js +2 -2
  35. package/esm/models/components/agent.d.ts +28 -5
  36. package/esm/models/components/agent.d.ts.map +1 -1
  37. package/esm/models/components/agent.js +14 -13
  38. package/esm/models/components/agent.js.map +1 -1
  39. package/esm/models/components/agentconversation.d.ts +2 -3
  40. package/esm/models/components/agentconversation.d.ts.map +1 -1
  41. package/esm/models/components/agentconversation.js +2 -1
  42. package/esm/models/components/agentconversation.js.map +1 -1
  43. package/esm/models/components/agentscompletionrequest.d.ts +22 -2
  44. package/esm/models/components/agentscompletionrequest.d.ts.map +1 -1
  45. package/esm/models/components/agentscompletionrequest.js +62 -14
  46. package/esm/models/components/agentscompletionrequest.js.map +1 -1
  47. package/esm/models/components/agentscompletionstreamrequest.d.ts +22 -2
  48. package/esm/models/components/agentscompletionstreamrequest.d.ts.map +1 -1
  49. package/esm/models/components/agentscompletionstreamrequest.js +62 -14
  50. package/esm/models/components/agentscompletionstreamrequest.js.map +1 -1
  51. package/esm/models/components/basefielddefinition.d.ts +4 -4
  52. package/esm/models/components/basefielddefinition.d.ts.map +1 -1
  53. package/esm/models/components/basefielddefinition.js +3 -4
  54. package/esm/models/components/basefielddefinition.js.map +1 -1
  55. package/esm/models/components/chatcompletionrequest.d.ts +25 -2
  56. package/esm/models/components/chatcompletionrequest.d.ts.map +1 -1
  57. package/esm/models/components/chatcompletionrequest.js +63 -15
  58. package/esm/models/components/chatcompletionrequest.js.map +1 -1
  59. package/esm/models/components/chatcompletionstreamrequest.d.ts +25 -2
  60. package/esm/models/components/chatcompletionstreamrequest.d.ts.map +1 -1
  61. package/esm/models/components/chatcompletionstreamrequest.js +63 -15
  62. package/esm/models/components/chatcompletionstreamrequest.js.map +1 -1
  63. package/esm/models/components/codeinterpretertool.d.ts +11 -2
  64. package/esm/models/components/codeinterpretertool.d.ts.map +1 -1
  65. package/esm/models/components/codeinterpretertool.js +9 -2
  66. package/esm/models/components/codeinterpretertool.js.map +1 -1
  67. package/esm/models/components/completionargs.d.ts +3 -0
  68. package/esm/models/components/completionargs.d.ts.map +1 -1
  69. package/esm/models/components/completionargs.js +5 -0
  70. package/esm/models/components/completionargs.js.map +1 -1
  71. package/esm/models/components/conversationrequest.d.ts +55 -10
  72. package/esm/models/components/conversationrequest.d.ts.map +1 -1
  73. package/esm/models/components/conversationrequest.js +14 -13
  74. package/esm/models/components/conversationrequest.js.map +1 -1
  75. package/esm/models/components/conversationrestartrequest.d.ts +3 -6
  76. package/esm/models/components/conversationrestartrequest.d.ts.map +1 -1
  77. package/esm/models/components/conversationrestartrequest.js +2 -1
  78. package/esm/models/components/conversationrestartrequest.js.map +1 -1
  79. package/esm/models/components/conversationrestartstreamrequest.d.ts +3 -6
  80. package/esm/models/components/conversationrestartstreamrequest.d.ts.map +1 -1
  81. package/esm/models/components/conversationrestartstreamrequest.js +2 -1
  82. package/esm/models/components/conversationrestartstreamrequest.js.map +1 -1
  83. package/esm/models/components/conversationstreamrequest.d.ts +55 -10
  84. package/esm/models/components/conversationstreamrequest.d.ts.map +1 -1
  85. package/esm/models/components/conversationstreamrequest.js +14 -13
  86. package/esm/models/components/conversationstreamrequest.js.map +1 -1
  87. package/esm/models/components/createagentrequest.d.ts +55 -10
  88. package/esm/models/components/createagentrequest.d.ts.map +1 -1
  89. package/esm/models/components/createagentrequest.js +14 -13
  90. package/esm/models/components/createagentrequest.js.map +1 -1
  91. package/esm/models/components/customconnector.d.ts +11 -2
  92. package/esm/models/components/customconnector.d.ts.map +1 -1
  93. package/esm/models/components/customconnector.js +9 -2
  94. package/esm/models/components/customconnector.js.map +1 -1
  95. package/esm/models/components/documentlibrarytool.d.ts +11 -2
  96. package/esm/models/components/documentlibrarytool.d.ts.map +1 -1
  97. package/esm/models/components/documentlibrarytool.js +9 -2
  98. package/esm/models/components/documentlibrarytool.js.map +1 -1
  99. package/esm/models/components/imagegenerationtool.d.ts +11 -2
  100. package/esm/models/components/imagegenerationtool.d.ts.map +1 -1
  101. package/esm/models/components/imagegenerationtool.js +9 -2
  102. package/esm/models/components/imagegenerationtool.js.map +1 -1
  103. package/esm/models/components/index.d.ts +17 -0
  104. package/esm/models/components/index.d.ts.map +1 -1
  105. package/esm/models/components/index.js +17 -0
  106. package/esm/models/components/index.js.map +1 -1
  107. package/esm/models/components/internalmetadata.d.ts +42 -0
  108. package/esm/models/components/internalmetadata.d.ts.map +1 -0
  109. package/esm/models/components/internalmetadata.js +56 -0
  110. package/esm/models/components/internalmetadata.js.map +1 -0
  111. package/esm/models/components/messagetokens.d.ts +17 -0
  112. package/esm/models/components/messagetokens.d.ts.map +1 -0
  113. package/esm/models/components/messagetokens.js +25 -0
  114. package/esm/models/components/messagetokens.js.map +1 -0
  115. package/esm/models/components/metadatadict.d.ts +23 -0
  116. package/esm/models/components/metadatadict.d.ts.map +1 -0
  117. package/esm/models/components/metadatadict.js +23 -0
  118. package/esm/models/components/metadatadict.js.map +1 -0
  119. package/esm/models/components/mirrorconfig.d.ts +24 -0
  120. package/esm/models/components/mirrorconfig.d.ts.map +1 -0
  121. package/esm/models/components/mirrorconfig.js +32 -0
  122. package/esm/models/components/mirrorconfig.js.map +1 -0
  123. package/esm/models/components/mirrorsource.d.ts +28 -0
  124. package/esm/models/components/mirrorsource.d.ts.map +1 -0
  125. package/esm/models/components/mirrorsource.js +43 -0
  126. package/esm/models/components/mirrorsource.js.map +1 -0
  127. package/esm/models/components/modelcapabilities.d.ts +1 -0
  128. package/esm/models/components/modelcapabilities.d.ts.map +1 -1
  129. package/esm/models/components/modelcapabilities.js +1 -0
  130. package/esm/models/components/modelcapabilities.js.map +1 -1
  131. package/esm/models/components/modelconversation.d.ts +28 -5
  132. package/esm/models/components/modelconversation.d.ts.map +1 -1
  133. package/esm/models/components/modelconversation.js +14 -13
  134. package/esm/models/components/modelconversation.js.map +1 -1
  135. package/esm/models/components/prompttokensdetails.d.ts +15 -0
  136. package/esm/models/components/prompttokensdetails.d.ts.map +1 -0
  137. package/esm/models/components/prompttokensdetails.js +21 -0
  138. package/esm/models/components/prompttokensdetails.js.map +1 -0
  139. package/esm/models/components/reasoningeffort.d.ts +5 -3
  140. package/esm/models/components/reasoningeffort.d.ts.map +1 -1
  141. package/esm/models/components/reasoningeffort.js +4 -2
  142. package/esm/models/components/reasoningeffort.js.map +1 -1
  143. package/esm/models/components/roles.d.ts +12 -0
  144. package/esm/models/components/roles.d.ts.map +1 -0
  145. package/esm/models/components/roles.js +15 -0
  146. package/esm/models/components/roles.js.map +1 -0
  147. package/esm/models/components/speechoutputformat.d.ts +13 -0
  148. package/esm/models/components/speechoutputformat.d.ts.map +1 -0
  149. package/esm/models/components/speechoutputformat.js +15 -0
  150. package/esm/models/components/speechoutputformat.js.map +1 -0
  151. package/esm/models/components/speechrequest.d.ts +37 -0
  152. package/esm/models/components/speechrequest.d.ts.map +1 -0
  153. package/esm/models/components/speechrequest.js +30 -0
  154. package/esm/models/components/speechrequest.js.map +1 -0
  155. package/esm/models/components/speechstreamaudiodelta.d.ts +11 -0
  156. package/esm/models/components/speechstreamaudiodelta.d.ts.map +1 -0
  157. package/esm/models/components/speechstreamaudiodelta.js +20 -0
  158. package/esm/models/components/speechstreamaudiodelta.js.map +1 -0
  159. package/esm/models/components/speechstreamdone.d.ts +12 -0
  160. package/esm/models/components/speechstreamdone.d.ts.map +1 -0
  161. package/esm/models/components/speechstreamdone.js +16 -0
  162. package/esm/models/components/speechstreamdone.js.map +1 -0
  163. package/esm/models/components/speechstreameventtypes.d.ts +10 -0
  164. package/esm/models/components/speechstreameventtypes.d.ts.map +1 -0
  165. package/esm/models/components/speechstreameventtypes.js +12 -0
  166. package/esm/models/components/speechstreameventtypes.js.map +1 -0
  167. package/esm/models/components/updateagentrequest.d.ts +55 -10
  168. package/esm/models/components/updateagentrequest.d.ts.map +1 -1
  169. package/esm/models/components/updateagentrequest.js +14 -13
  170. package/esm/models/components/updateagentrequest.js.map +1 -1
  171. package/esm/models/components/usageinfodollardefs.d.ts +18 -0
  172. package/esm/models/components/usageinfodollardefs.d.ts.map +1 -0
  173. package/esm/models/components/usageinfodollardefs.js +36 -0
  174. package/esm/models/components/usageinfodollardefs.js.map +1 -0
  175. package/esm/models/components/voicecreaterequest.d.ts +39 -0
  176. package/esm/models/components/voicecreaterequest.d.ts.map +1 -0
  177. package/esm/models/components/voicecreaterequest.js +29 -0
  178. package/esm/models/components/voicecreaterequest.js.map +1 -0
  179. package/esm/models/components/voicelistresponse.d.ts +18 -0
  180. package/esm/models/components/voicelistresponse.d.ts.map +1 -0
  181. package/esm/models/components/voicelistresponse.js +25 -0
  182. package/esm/models/components/voicelistresponse.js.map +1 -0
  183. package/esm/models/components/voiceresponse.d.ts +23 -0
  184. package/esm/models/components/voiceresponse.d.ts.map +1 -0
  185. package/esm/models/components/voiceresponse.js +32 -0
  186. package/esm/models/components/voiceresponse.js.map +1 -0
  187. package/esm/models/components/voiceupdaterequest.d.ts +23 -0
  188. package/esm/models/components/voiceupdaterequest.d.ts.map +1 -0
  189. package/esm/models/components/voiceupdaterequest.js +17 -0
  190. package/esm/models/components/voiceupdaterequest.js.map +1 -0
  191. package/esm/models/components/websearchpremiumtool.d.ts +11 -2
  192. package/esm/models/components/websearchpremiumtool.d.ts.map +1 -1
  193. package/esm/models/components/websearchpremiumtool.js +9 -2
  194. package/esm/models/components/websearchpremiumtool.js.map +1 -1
  195. package/esm/models/components/websearchtool.d.ts +11 -2
  196. package/esm/models/components/websearchtool.d.ts.map +1 -1
  197. package/esm/models/components/websearchtool.js +9 -2
  198. package/esm/models/components/websearchtool.js.map +1 -1
  199. package/esm/models/operations/deletevoicev1audiovoicesvoiceiddelete.d.ts +12 -0
  200. package/esm/models/operations/deletevoicev1audiovoicesvoiceiddelete.d.ts.map +1 -0
  201. package/esm/models/operations/deletevoicev1audiovoicesvoiceiddelete.js +18 -0
  202. package/esm/models/operations/deletevoicev1audiovoicesvoiceiddelete.js.map +1 -0
  203. package/esm/models/operations/getvoicesampleaudiov1audiovoicesvoiceidsampleget.d.ts +12 -0
  204. package/esm/models/operations/getvoicesampleaudiov1audiovoicesvoiceidsampleget.d.ts.map +1 -0
  205. package/esm/models/operations/getvoicesampleaudiov1audiovoicesvoiceidsampleget.js +19 -0
  206. package/esm/models/operations/getvoicesampleaudiov1audiovoicesvoiceidsampleget.js.map +1 -0
  207. package/esm/models/operations/getvoicev1audiovoicesvoiceidget.d.ts +12 -0
  208. package/esm/models/operations/getvoicev1audiovoicesvoiceidget.d.ts.map +1 -0
  209. package/esm/models/operations/getvoicev1audiovoicesvoiceidget.js +18 -0
  210. package/esm/models/operations/getvoicev1audiovoicesvoiceidget.js.map +1 -0
  211. package/esm/models/operations/index.d.ts +6 -0
  212. package/esm/models/operations/index.d.ts.map +1 -1
  213. package/esm/models/operations/index.js +6 -0
  214. package/esm/models/operations/index.js.map +1 -1
  215. package/esm/models/operations/listvoicesv1audiovoicesget.d.ts +20 -0
  216. package/esm/models/operations/listvoicesv1audiovoicesget.d.ts.map +1 -0
  217. package/esm/models/operations/listvoicesv1audiovoicesget.js +14 -0
  218. package/esm/models/operations/listvoicesv1audiovoicesget.js.map +1 -0
  219. package/esm/models/operations/speechv1audiospeechpost.d.ts +37 -0
  220. package/esm/models/operations/speechv1audiospeechpost.d.ts.map +1 -0
  221. package/esm/models/operations/speechv1audiospeechpost.js +70 -0
  222. package/esm/models/operations/speechv1audiospeechpost.js.map +1 -0
  223. package/esm/models/operations/updatevoicev1audiovoicesvoiceidpatch.d.ts +15 -0
  224. package/esm/models/operations/updatevoicev1audiovoicesvoiceidpatch.d.ts.map +1 -0
  225. package/esm/models/operations/updatevoicev1audiovoicesvoiceidpatch.js +21 -0
  226. package/esm/models/operations/updatevoicev1audiovoicesvoiceidpatch.js.map +1 -0
  227. package/esm/sdk/audio.d.ts +6 -0
  228. package/esm/sdk/audio.d.ts.map +1 -1
  229. package/esm/sdk/audio.js +10 -0
  230. package/esm/sdk/audio.js.map +1 -1
  231. package/esm/sdk/sdk.d.ts +2 -2
  232. package/esm/sdk/sdk.d.ts.map +1 -1
  233. package/esm/sdk/sdk.js +4 -4
  234. package/esm/sdk/sdk.js.map +1 -1
  235. package/esm/sdk/speech.d.ts +14 -0
  236. package/esm/sdk/speech.d.ts.map +1 -0
  237. package/esm/sdk/speech.js +17 -0
  238. package/esm/sdk/speech.js.map +1 -0
  239. package/esm/sdk/voices.d.ts +48 -0
  240. package/esm/sdk/voices.d.ts.map +1 -0
  241. package/esm/sdk/voices.js +69 -0
  242. package/esm/sdk/voices.js.map +1 -0
  243. package/jsr.json +1 -1
  244. package/package.json +1 -1
  245. package/src/extra/structChat.ts +2 -2
  246. package/src/funcs/audioSpeechComplete.ts +175 -0
  247. package/src/funcs/audioVoicesCreate.ts +170 -0
  248. package/src/funcs/audioVoicesDelete.ts +179 -0
  249. package/src/funcs/audioVoicesGet.ts +180 -0
  250. package/src/funcs/audioVoicesGetSampleAudio.ts +180 -0
  251. package/src/funcs/audioVoicesList.ts +178 -0
  252. package/src/funcs/audioVoicesUpdate.ts +182 -0
  253. package/src/lib/config.ts +2 -2
  254. package/src/models/components/agent.ts +51 -26
  255. package/src/models/components/agentconversation.ts +3 -2
  256. package/src/models/components/agentscompletionrequest.ts +186 -16
  257. package/src/models/components/agentscompletionstreamrequest.ts +186 -16
  258. package/src/models/components/basefielddefinition.ts +8 -6
  259. package/src/models/components/chatcompletionrequest.ts +190 -17
  260. package/src/models/components/chatcompletionstreamrequest.ts +190 -17
  261. package/src/models/components/codeinterpretertool.ts +21 -4
  262. package/src/models/components/completionargs.ts +11 -0
  263. package/src/models/components/conversationrequest.ts +66 -39
  264. package/src/models/components/conversationrestartrequest.ts +8 -3
  265. package/src/models/components/conversationrestartstreamrequest.ts +8 -3
  266. package/src/models/components/conversationstreamrequest.ts +66 -39
  267. package/src/models/components/createagentrequest.ts +66 -39
  268. package/src/models/components/customconnector.ts +19 -4
  269. package/src/models/components/documentlibrarytool.ts +21 -4
  270. package/src/models/components/imagegenerationtool.ts +21 -4
  271. package/src/models/components/index.ts +17 -0
  272. package/src/models/components/internalmetadata.ts +126 -0
  273. package/src/models/components/messagetokens.ts +45 -0
  274. package/src/models/components/metadatadict.ts +55 -0
  275. package/src/models/components/mirrorconfig.ts +65 -0
  276. package/src/models/components/mirrorsource.ts +76 -0
  277. package/src/models/components/modelcapabilities.ts +2 -0
  278. package/src/models/components/modelconversation.ts +51 -26
  279. package/src/models/components/prompttokensdetails.ts +42 -0
  280. package/src/models/components/reasoningeffort.ts +12 -4
  281. package/src/models/components/roles.ts +20 -0
  282. package/src/models/components/speechoutputformat.ts +21 -0
  283. package/src/models/components/speechrequest.ts +74 -0
  284. package/src/models/components/speechstreamaudiodelta.ts +38 -0
  285. package/src/models/components/speechstreamdone.ts +37 -0
  286. package/src/models/components/speechstreameventtypes.ts +20 -0
  287. package/src/models/components/updateagentrequest.ts +66 -39
  288. package/src/models/components/usageinfodollardefs.ts +63 -0
  289. package/src/models/components/voicecreaterequest.ts +74 -0
  290. package/src/models/components/voicelistresponse.ts +49 -0
  291. package/src/models/components/voiceresponse.ts +59 -0
  292. package/src/models/components/voiceupdaterequest.ts +46 -0
  293. package/src/models/components/websearchpremiumtool.ts +21 -4
  294. package/src/models/components/websearchtool.ts +19 -4
  295. package/src/models/operations/deletevoicev1audiovoicesvoiceiddelete.ts +40 -0
  296. package/src/models/operations/getvoicesampleaudiov1audiovoicesvoiceidsampleget.ts +39 -0
  297. package/src/models/operations/getvoicev1audiovoicesvoiceidget.ts +39 -0
  298. package/src/models/operations/index.ts +6 -0
  299. package/src/models/operations/listvoicesv1audiovoicesget.ts +42 -0
  300. package/src/models/operations/speechv1audiospeechpost.ts +146 -0
  301. package/src/models/operations/updatevoicev1audiovoicesvoiceidpatch.ts +45 -0
  302. package/src/sdk/audio.ts +12 -0
  303. package/src/sdk/sdk.ts +5 -5
  304. package/src/sdk/speech.ts +31 -0
  305. package/src/sdk/voices.ts +119 -0
@@ -47,6 +47,11 @@ import {
47
47
  ImageGenerationTool$Outbound,
48
48
  ImageGenerationTool$outboundSchema,
49
49
  } from "./imagegenerationtool.js";
50
+ import {
51
+ MetadataDict,
52
+ MetadataDict$Outbound,
53
+ MetadataDict$outboundSchema,
54
+ } from "./metadatadict.js";
50
55
  import {
51
56
  WebSearchPremiumTool,
52
57
  WebSearchPremiumTool$Outbound,
@@ -67,13 +72,13 @@ export type ConversationStreamRequestHandoffExecution = ClosedEnum<
67
72
  >;
68
73
 
69
74
  export type ConversationStreamRequestTool =
70
- | CodeInterpreterTool
71
- | CustomConnector
72
- | DocumentLibraryTool
75
+ | (CodeInterpreterTool & { type: "code_interpreter" })
76
+ | (CustomConnector & { type: "connector" })
77
+ | (DocumentLibraryTool & { type: "document_library" })
73
78
  | FunctionTool
74
- | ImageGenerationTool
75
- | WebSearchTool
76
- | WebSearchPremiumTool;
79
+ | (ImageGenerationTool & { type: "image_generation" })
80
+ | (WebSearchTool & { type: "web_search" })
81
+ | (WebSearchPremiumTool & { type: "web_search_premium" });
77
82
 
78
83
  export type ConversationStreamRequestAgentVersion = string | number;
79
84
 
@@ -88,13 +93,13 @@ export type ConversationStreamRequest = {
88
93
  instructions?: string | null | undefined;
89
94
  tools?:
90
95
  | Array<
91
- | CodeInterpreterTool
92
- | CustomConnector
93
- | DocumentLibraryTool
96
+ | (CodeInterpreterTool & { type: "code_interpreter" })
97
+ | (CustomConnector & { type: "connector" })
98
+ | (DocumentLibraryTool & { type: "document_library" })
94
99
  | FunctionTool
95
- | ImageGenerationTool
96
- | WebSearchTool
97
- | WebSearchPremiumTool
100
+ | (ImageGenerationTool & { type: "image_generation" })
101
+ | (WebSearchTool & { type: "web_search" })
102
+ | (WebSearchPremiumTool & { type: "web_search_premium" })
98
103
  >
99
104
  | null
100
105
  | undefined;
@@ -102,7 +107,7 @@ export type ConversationStreamRequest = {
102
107
  guardrails?: Array<GuardrailConfig> | null | undefined;
103
108
  name?: string | null | undefined;
104
109
  description?: string | null | undefined;
105
- metadata?: { [k: string]: any } | null | undefined;
110
+ metadata?: MetadataDict | null | undefined;
106
111
  agentId?: string | null | undefined;
107
112
  agentVersion?: string | number | null | undefined;
108
113
  model?: string | null | undefined;
@@ -116,26 +121,36 @@ export const ConversationStreamRequestHandoffExecution$outboundSchema:
116
121
 
117
122
  /** @internal */
118
123
  export type ConversationStreamRequestTool$Outbound =
119
- | CodeInterpreterTool$Outbound
120
- | CustomConnector$Outbound
121
- | DocumentLibraryTool$Outbound
124
+ | (CodeInterpreterTool$Outbound & { type: "code_interpreter" })
125
+ | (CustomConnector$Outbound & { type: "connector" })
126
+ | (DocumentLibraryTool$Outbound & { type: "document_library" })
122
127
  | FunctionTool$Outbound
123
- | ImageGenerationTool$Outbound
124
- | WebSearchTool$Outbound
125
- | WebSearchPremiumTool$Outbound;
128
+ | (ImageGenerationTool$Outbound & { type: "image_generation" })
129
+ | (WebSearchTool$Outbound & { type: "web_search" })
130
+ | (WebSearchPremiumTool$Outbound & { type: "web_search_premium" });
126
131
 
127
132
  /** @internal */
128
133
  export const ConversationStreamRequestTool$outboundSchema: z.ZodType<
129
134
  ConversationStreamRequestTool$Outbound,
130
135
  ConversationStreamRequestTool
131
136
  > = z.union([
132
- CodeInterpreterTool$outboundSchema,
133
- CustomConnector$outboundSchema,
134
- DocumentLibraryTool$outboundSchema,
137
+ CodeInterpreterTool$outboundSchema.and(
138
+ z.object({ type: z.literal("code_interpreter") }),
139
+ ),
140
+ CustomConnector$outboundSchema.and(
141
+ z.object({ type: z.literal("connector") }),
142
+ ),
143
+ DocumentLibraryTool$outboundSchema.and(
144
+ z.object({ type: z.literal("document_library") }),
145
+ ),
135
146
  FunctionTool$outboundSchema,
136
- ImageGenerationTool$outboundSchema,
137
- WebSearchTool$outboundSchema,
138
- WebSearchPremiumTool$outboundSchema,
147
+ ImageGenerationTool$outboundSchema.and(
148
+ z.object({ type: z.literal("image_generation") }),
149
+ ),
150
+ WebSearchTool$outboundSchema.and(z.object({ type: z.literal("web_search") })),
151
+ WebSearchPremiumTool$outboundSchema.and(
152
+ z.object({ type: z.literal("web_search_premium") }),
153
+ ),
139
154
  ]);
140
155
 
141
156
  export function conversationStreamRequestToolToJSON(
@@ -176,13 +191,13 @@ export type ConversationStreamRequest$Outbound = {
176
191
  instructions?: string | null | undefined;
177
192
  tools?:
178
193
  | Array<
179
- | CodeInterpreterTool$Outbound
180
- | CustomConnector$Outbound
181
- | DocumentLibraryTool$Outbound
194
+ | (CodeInterpreterTool$Outbound & { type: "code_interpreter" })
195
+ | (CustomConnector$Outbound & { type: "connector" })
196
+ | (DocumentLibraryTool$Outbound & { type: "document_library" })
182
197
  | FunctionTool$Outbound
183
- | ImageGenerationTool$Outbound
184
- | WebSearchTool$Outbound
185
- | WebSearchPremiumTool$Outbound
198
+ | (ImageGenerationTool$Outbound & { type: "image_generation" })
199
+ | (WebSearchTool$Outbound & { type: "web_search" })
200
+ | (WebSearchPremiumTool$Outbound & { type: "web_search_premium" })
186
201
  >
187
202
  | null
188
203
  | undefined;
@@ -190,7 +205,7 @@ export type ConversationStreamRequest$Outbound = {
190
205
  guardrails?: Array<GuardrailConfig$Outbound> | null | undefined;
191
206
  name?: string | null | undefined;
192
207
  description?: string | null | undefined;
193
- metadata?: { [k: string]: any } | null | undefined;
208
+ metadata?: MetadataDict$Outbound | null | undefined;
194
209
  agent_id?: string | null | undefined;
195
210
  agent_version?: string | number | null | undefined;
196
211
  model?: string | null | undefined;
@@ -211,13 +226,25 @@ export const ConversationStreamRequest$outboundSchema: z.ZodType<
211
226
  tools: z.nullable(
212
227
  z.array(
213
228
  z.union([
214
- CodeInterpreterTool$outboundSchema,
215
- CustomConnector$outboundSchema,
216
- DocumentLibraryTool$outboundSchema,
229
+ CodeInterpreterTool$outboundSchema.and(
230
+ z.object({ type: z.literal("code_interpreter") }),
231
+ ),
232
+ CustomConnector$outboundSchema.and(
233
+ z.object({ type: z.literal("connector") }),
234
+ ),
235
+ DocumentLibraryTool$outboundSchema.and(
236
+ z.object({ type: z.literal("document_library") }),
237
+ ),
217
238
  FunctionTool$outboundSchema,
218
- ImageGenerationTool$outboundSchema,
219
- WebSearchTool$outboundSchema,
220
- WebSearchPremiumTool$outboundSchema,
239
+ ImageGenerationTool$outboundSchema.and(
240
+ z.object({ type: z.literal("image_generation") }),
241
+ ),
242
+ WebSearchTool$outboundSchema.and(
243
+ z.object({ type: z.literal("web_search") }),
244
+ ),
245
+ WebSearchPremiumTool$outboundSchema.and(
246
+ z.object({ type: z.literal("web_search_premium") }),
247
+ ),
221
248
  ]),
222
249
  ),
223
250
  ).optional(),
@@ -225,7 +252,7 @@ export const ConversationStreamRequest$outboundSchema: z.ZodType<
225
252
  guardrails: z.nullable(z.array(GuardrailConfig$outboundSchema)).optional(),
226
253
  name: z.nullable(z.string()).optional(),
227
254
  description: z.nullable(z.string()).optional(),
228
- metadata: z.nullable(z.record(z.string(), z.any())).optional(),
255
+ metadata: z.nullable(MetadataDict$outboundSchema).optional(),
229
256
  agentId: z.nullable(z.string()).optional(),
230
257
  agentVersion: z.nullable(smartUnion([z.string(), z.int()])).optional(),
231
258
  model: z.nullable(z.string()).optional(),
@@ -40,6 +40,11 @@ import {
40
40
  ImageGenerationTool$Outbound,
41
41
  ImageGenerationTool$outboundSchema,
42
42
  } from "./imagegenerationtool.js";
43
+ import {
44
+ MetadataDict,
45
+ MetadataDict$Outbound,
46
+ MetadataDict$outboundSchema,
47
+ } from "./metadatadict.js";
43
48
  import {
44
49
  WebSearchPremiumTool,
45
50
  WebSearchPremiumTool$Outbound,
@@ -52,13 +57,13 @@ import {
52
57
  } from "./websearchtool.js";
53
58
 
54
59
  export type CreateAgentRequestTool =
55
- | CodeInterpreterTool
56
- | CustomConnector
57
- | DocumentLibraryTool
60
+ | (CodeInterpreterTool & { type: "code_interpreter" })
61
+ | (CustomConnector & { type: "connector" })
62
+ | (DocumentLibraryTool & { type: "document_library" })
58
63
  | FunctionTool
59
- | ImageGenerationTool
60
- | WebSearchTool
61
- | WebSearchPremiumTool;
64
+ | (ImageGenerationTool & { type: "image_generation" })
65
+ | (WebSearchTool & { type: "web_search" })
66
+ | (WebSearchPremiumTool & { type: "web_search_premium" });
62
67
 
63
68
  export type CreateAgentRequest = {
64
69
  /**
@@ -70,13 +75,13 @@ export type CreateAgentRequest = {
70
75
  */
71
76
  tools?:
72
77
  | Array<
73
- | CodeInterpreterTool
74
- | CustomConnector
75
- | DocumentLibraryTool
78
+ | (CodeInterpreterTool & { type: "code_interpreter" })
79
+ | (CustomConnector & { type: "connector" })
80
+ | (DocumentLibraryTool & { type: "document_library" })
76
81
  | FunctionTool
77
- | ImageGenerationTool
78
- | WebSearchTool
79
- | WebSearchPremiumTool
82
+ | (ImageGenerationTool & { type: "image_generation" })
83
+ | (WebSearchTool & { type: "web_search" })
84
+ | (WebSearchPremiumTool & { type: "web_search_premium" })
80
85
  >
81
86
  | undefined;
82
87
  /**
@@ -88,32 +93,42 @@ export type CreateAgentRequest = {
88
93
  name: string;
89
94
  description?: string | null | undefined;
90
95
  handoffs?: Array<string> | null | undefined;
91
- metadata?: { [k: string]: any } | null | undefined;
96
+ metadata?: MetadataDict | null | undefined;
92
97
  versionMessage?: string | null | undefined;
93
98
  };
94
99
 
95
100
  /** @internal */
96
101
  export type CreateAgentRequestTool$Outbound =
97
- | CodeInterpreterTool$Outbound
98
- | CustomConnector$Outbound
99
- | DocumentLibraryTool$Outbound
102
+ | (CodeInterpreterTool$Outbound & { type: "code_interpreter" })
103
+ | (CustomConnector$Outbound & { type: "connector" })
104
+ | (DocumentLibraryTool$Outbound & { type: "document_library" })
100
105
  | FunctionTool$Outbound
101
- | ImageGenerationTool$Outbound
102
- | WebSearchTool$Outbound
103
- | WebSearchPremiumTool$Outbound;
106
+ | (ImageGenerationTool$Outbound & { type: "image_generation" })
107
+ | (WebSearchTool$Outbound & { type: "web_search" })
108
+ | (WebSearchPremiumTool$Outbound & { type: "web_search_premium" });
104
109
 
105
110
  /** @internal */
106
111
  export const CreateAgentRequestTool$outboundSchema: z.ZodType<
107
112
  CreateAgentRequestTool$Outbound,
108
113
  CreateAgentRequestTool
109
114
  > = z.union([
110
- CodeInterpreterTool$outboundSchema,
111
- CustomConnector$outboundSchema,
112
- DocumentLibraryTool$outboundSchema,
115
+ CodeInterpreterTool$outboundSchema.and(
116
+ z.object({ type: z.literal("code_interpreter") }),
117
+ ),
118
+ CustomConnector$outboundSchema.and(
119
+ z.object({ type: z.literal("connector") }),
120
+ ),
121
+ DocumentLibraryTool$outboundSchema.and(
122
+ z.object({ type: z.literal("document_library") }),
123
+ ),
113
124
  FunctionTool$outboundSchema,
114
- ImageGenerationTool$outboundSchema,
115
- WebSearchTool$outboundSchema,
116
- WebSearchPremiumTool$outboundSchema,
125
+ ImageGenerationTool$outboundSchema.and(
126
+ z.object({ type: z.literal("image_generation") }),
127
+ ),
128
+ WebSearchTool$outboundSchema.and(z.object({ type: z.literal("web_search") })),
129
+ WebSearchPremiumTool$outboundSchema.and(
130
+ z.object({ type: z.literal("web_search_premium") }),
131
+ ),
117
132
  ]);
118
133
 
119
134
  export function createAgentRequestToolToJSON(
@@ -129,13 +144,13 @@ export type CreateAgentRequest$Outbound = {
129
144
  instructions?: string | null | undefined;
130
145
  tools?:
131
146
  | Array<
132
- | CodeInterpreterTool$Outbound
133
- | CustomConnector$Outbound
134
- | DocumentLibraryTool$Outbound
147
+ | (CodeInterpreterTool$Outbound & { type: "code_interpreter" })
148
+ | (CustomConnector$Outbound & { type: "connector" })
149
+ | (DocumentLibraryTool$Outbound & { type: "document_library" })
135
150
  | FunctionTool$Outbound
136
- | ImageGenerationTool$Outbound
137
- | WebSearchTool$Outbound
138
- | WebSearchPremiumTool$Outbound
151
+ | (ImageGenerationTool$Outbound & { type: "image_generation" })
152
+ | (WebSearchTool$Outbound & { type: "web_search" })
153
+ | (WebSearchPremiumTool$Outbound & { type: "web_search_premium" })
139
154
  >
140
155
  | undefined;
141
156
  completion_args?: CompletionArgs$Outbound | undefined;
@@ -144,7 +159,7 @@ export type CreateAgentRequest$Outbound = {
144
159
  name: string;
145
160
  description?: string | null | undefined;
146
161
  handoffs?: Array<string> | null | undefined;
147
- metadata?: { [k: string]: any } | null | undefined;
162
+ metadata?: MetadataDict$Outbound | null | undefined;
148
163
  version_message?: string | null | undefined;
149
164
  };
150
165
 
@@ -156,13 +171,25 @@ export const CreateAgentRequest$outboundSchema: z.ZodType<
156
171
  instructions: z.nullable(z.string()).optional(),
157
172
  tools: z.array(
158
173
  z.union([
159
- CodeInterpreterTool$outboundSchema,
160
- CustomConnector$outboundSchema,
161
- DocumentLibraryTool$outboundSchema,
174
+ CodeInterpreterTool$outboundSchema.and(
175
+ z.object({ type: z.literal("code_interpreter") }),
176
+ ),
177
+ CustomConnector$outboundSchema.and(
178
+ z.object({ type: z.literal("connector") }),
179
+ ),
180
+ DocumentLibraryTool$outboundSchema.and(
181
+ z.object({ type: z.literal("document_library") }),
182
+ ),
162
183
  FunctionTool$outboundSchema,
163
- ImageGenerationTool$outboundSchema,
164
- WebSearchTool$outboundSchema,
165
- WebSearchPremiumTool$outboundSchema,
184
+ ImageGenerationTool$outboundSchema.and(
185
+ z.object({ type: z.literal("image_generation") }),
186
+ ),
187
+ WebSearchTool$outboundSchema.and(
188
+ z.object({ type: z.literal("web_search") }),
189
+ ),
190
+ WebSearchPremiumTool$outboundSchema.and(
191
+ z.object({ type: z.literal("web_search_premium") }),
192
+ ),
166
193
  ]),
167
194
  ).optional(),
168
195
  completionArgs: CompletionArgs$outboundSchema.optional(),
@@ -171,7 +198,7 @@ export const CreateAgentRequest$outboundSchema: z.ZodType<
171
198
  name: z.string(),
172
199
  description: z.nullable(z.string()).optional(),
173
200
  handoffs: z.nullable(z.array(z.string())).optional(),
174
- metadata: z.nullable(z.record(z.string(), z.any())).optional(),
201
+ metadata: z.nullable(MetadataDict$outboundSchema).optional(),
175
202
  versionMessage: z.nullable(z.string()).optional(),
176
203
  }).transform((v) => {
177
204
  return remap$(v, {
@@ -8,6 +8,7 @@ import { remap as remap$ } from "../../lib/primitives.js";
8
8
  import { safeParse } from "../../lib/schemas.js";
9
9
  import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
10
10
  import { discriminatedUnion } from "../../types/discriminatedUnion.js";
11
+ import { ClosedEnum } from "../../types/enums.js";
11
12
  import { Result as SafeParseResult } from "../../types/fp.js";
12
13
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
13
14
  import {
@@ -29,13 +30,18 @@ import {
29
30
  ToolConfiguration$outboundSchema,
30
31
  } from "./toolconfiguration.js";
31
32
 
33
+ export const CustomConnectorType = {
34
+ Connector: "connector",
35
+ } as const;
36
+ export type CustomConnectorType = ClosedEnum<typeof CustomConnectorType>;
37
+
32
38
  export type Authorization =
33
39
  | APIKeyAuth
34
40
  | OAuth2TokenAuth
35
41
  | discriminatedUnionTypes.Unknown<"type">;
36
42
 
37
43
  export type CustomConnector = {
38
- type: "connector";
44
+ type?: CustomConnectorType | undefined;
39
45
  connectorId: string;
40
46
  authorization?:
41
47
  | APIKeyAuth
@@ -46,6 +52,15 @@ export type CustomConnector = {
46
52
  toolConfiguration?: ToolConfiguration | null | undefined;
47
53
  };
48
54
 
55
+ /** @internal */
56
+ export const CustomConnectorType$inboundSchema: z.ZodEnum<
57
+ typeof CustomConnectorType
58
+ > = z.enum(CustomConnectorType);
59
+ /** @internal */
60
+ export const CustomConnectorType$outboundSchema: z.ZodEnum<
61
+ typeof CustomConnectorType
62
+ > = CustomConnectorType$inboundSchema;
63
+
49
64
  /** @internal */
50
65
  export const Authorization$inboundSchema: z.ZodType<Authorization, unknown> =
51
66
  discriminatedUnion("type", {
@@ -81,7 +96,7 @@ export const CustomConnector$inboundSchema: z.ZodType<
81
96
  CustomConnector,
82
97
  unknown
83
98
  > = z.object({
84
- type: z.literal("connector"),
99
+ type: CustomConnectorType$inboundSchema.default("connector"),
85
100
  connector_id: z.string(),
86
101
  authorization: z.nullable(
87
102
  discriminatedUnion("type", {
@@ -98,7 +113,7 @@ export const CustomConnector$inboundSchema: z.ZodType<
98
113
  });
99
114
  /** @internal */
100
115
  export type CustomConnector$Outbound = {
101
- type: "connector";
116
+ type: string;
102
117
  connector_id: string;
103
118
  authorization?:
104
119
  | APIKeyAuth$Outbound
@@ -113,7 +128,7 @@ export const CustomConnector$outboundSchema: z.ZodType<
113
128
  CustomConnector$Outbound,
114
129
  CustomConnector
115
130
  > = z.object({
116
- type: z.literal("connector"),
131
+ type: CustomConnectorType$outboundSchema.default("connector"),
117
132
  connectorId: z.string(),
118
133
  authorization: z.nullable(
119
134
  z.union([APIKeyAuth$outboundSchema, OAuth2TokenAuth$outboundSchema]),
@@ -6,6 +6,7 @@
6
6
  import * as z from "zod/v4";
7
7
  import { remap as remap$ } from "../../lib/primitives.js";
8
8
  import { safeParse } from "../../lib/schemas.js";
9
+ import { ClosedEnum } from "../../types/enums.js";
9
10
  import { Result as SafeParseResult } from "../../types/fp.js";
10
11
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
12
  import {
@@ -15,22 +16,38 @@ import {
15
16
  ToolConfiguration$outboundSchema,
16
17
  } from "./toolconfiguration.js";
17
18
 
19
+ export const DocumentLibraryToolType = {
20
+ DocumentLibrary: "document_library",
21
+ } as const;
22
+ export type DocumentLibraryToolType = ClosedEnum<
23
+ typeof DocumentLibraryToolType
24
+ >;
25
+
18
26
  export type DocumentLibraryTool = {
19
27
  toolConfiguration?: ToolConfiguration | null | undefined;
20
- type: "document_library";
28
+ type?: DocumentLibraryToolType | undefined;
21
29
  /**
22
30
  * Ids of the library in which to search.
23
31
  */
24
32
  libraryIds: Array<string>;
25
33
  };
26
34
 
35
+ /** @internal */
36
+ export const DocumentLibraryToolType$inboundSchema: z.ZodEnum<
37
+ typeof DocumentLibraryToolType
38
+ > = z.enum(DocumentLibraryToolType);
39
+ /** @internal */
40
+ export const DocumentLibraryToolType$outboundSchema: z.ZodEnum<
41
+ typeof DocumentLibraryToolType
42
+ > = DocumentLibraryToolType$inboundSchema;
43
+
27
44
  /** @internal */
28
45
  export const DocumentLibraryTool$inboundSchema: z.ZodType<
29
46
  DocumentLibraryTool,
30
47
  unknown
31
48
  > = z.object({
32
49
  tool_configuration: z.nullable(ToolConfiguration$inboundSchema).optional(),
33
- type: z.literal("document_library"),
50
+ type: DocumentLibraryToolType$inboundSchema.default("document_library"),
34
51
  library_ids: z.array(z.string()),
35
52
  }).transform((v) => {
36
53
  return remap$(v, {
@@ -41,7 +58,7 @@ export const DocumentLibraryTool$inboundSchema: z.ZodType<
41
58
  /** @internal */
42
59
  export type DocumentLibraryTool$Outbound = {
43
60
  tool_configuration?: ToolConfiguration$Outbound | null | undefined;
44
- type: "document_library";
61
+ type: string;
45
62
  library_ids: Array<string>;
46
63
  };
47
64
 
@@ -51,7 +68,7 @@ export const DocumentLibraryTool$outboundSchema: z.ZodType<
51
68
  DocumentLibraryTool
52
69
  > = z.object({
53
70
  toolConfiguration: z.nullable(ToolConfiguration$outboundSchema).optional(),
54
- type: z.literal("document_library"),
71
+ type: DocumentLibraryToolType$outboundSchema.default("document_library"),
55
72
  libraryIds: z.array(z.string()),
56
73
  }).transform((v) => {
57
74
  return remap$(v, {
@@ -6,6 +6,7 @@
6
6
  import * as z from "zod/v4";
7
7
  import { remap as remap$ } from "../../lib/primitives.js";
8
8
  import { safeParse } from "../../lib/schemas.js";
9
+ import { ClosedEnum } from "../../types/enums.js";
9
10
  import { Result as SafeParseResult } from "../../types/fp.js";
10
11
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
12
  import {
@@ -15,18 +16,34 @@ import {
15
16
  ToolConfiguration$outboundSchema,
16
17
  } from "./toolconfiguration.js";
17
18
 
19
+ export const ImageGenerationToolType = {
20
+ ImageGeneration: "image_generation",
21
+ } as const;
22
+ export type ImageGenerationToolType = ClosedEnum<
23
+ typeof ImageGenerationToolType
24
+ >;
25
+
18
26
  export type ImageGenerationTool = {
19
27
  toolConfiguration?: ToolConfiguration | null | undefined;
20
- type: "image_generation";
28
+ type?: ImageGenerationToolType | undefined;
21
29
  };
22
30
 
31
+ /** @internal */
32
+ export const ImageGenerationToolType$inboundSchema: z.ZodEnum<
33
+ typeof ImageGenerationToolType
34
+ > = z.enum(ImageGenerationToolType);
35
+ /** @internal */
36
+ export const ImageGenerationToolType$outboundSchema: z.ZodEnum<
37
+ typeof ImageGenerationToolType
38
+ > = ImageGenerationToolType$inboundSchema;
39
+
23
40
  /** @internal */
24
41
  export const ImageGenerationTool$inboundSchema: z.ZodType<
25
42
  ImageGenerationTool,
26
43
  unknown
27
44
  > = z.object({
28
45
  tool_configuration: z.nullable(ToolConfiguration$inboundSchema).optional(),
29
- type: z.literal("image_generation"),
46
+ type: ImageGenerationToolType$inboundSchema.default("image_generation"),
30
47
  }).transform((v) => {
31
48
  return remap$(v, {
32
49
  "tool_configuration": "toolConfiguration",
@@ -35,7 +52,7 @@ export const ImageGenerationTool$inboundSchema: z.ZodType<
35
52
  /** @internal */
36
53
  export type ImageGenerationTool$Outbound = {
37
54
  tool_configuration?: ToolConfiguration$Outbound | null | undefined;
38
- type: "image_generation";
55
+ type: string;
39
56
  };
40
57
 
41
58
  /** @internal */
@@ -44,7 +61,7 @@ export const ImageGenerationTool$outboundSchema: z.ZodType<
44
61
  ImageGenerationTool
45
62
  > = z.object({
46
63
  toolConfiguration: z.nullable(ToolConfiguration$outboundSchema).optional(),
47
- type: z.literal("image_generation"),
64
+ type: ImageGenerationToolType$outboundSchema.default("image_generation"),
48
65
  }).transform((v) => {
49
66
  return remap$(v, {
50
67
  toolConfiguration: "tool_configuration",
@@ -167,6 +167,7 @@ export * from "./importdatasetfromplaygroundrequest.js";
167
167
  export * from "./inputentries.js";
168
168
  export * from "./inputs.js";
169
169
  export * from "./instructrequest.js";
170
+ export * from "./internalmetadata.js";
170
171
  export * from "./jobmetadata.js";
171
172
  export * from "./jsonschema.js";
172
173
  export * from "./judge.js";
@@ -201,7 +202,11 @@ export * from "./messageoutputcontentchunks.js";
201
202
  export * from "./messageoutputentry.js";
202
203
  export * from "./messageoutputevent.js";
203
204
  export * from "./messageresponse.js";
205
+ export * from "./messagetokens.js";
206
+ export * from "./metadatadict.js";
204
207
  export * from "./metric.js";
208
+ export * from "./mirrorconfig.js";
209
+ export * from "./mirrorsource.js";
205
210
  export * from "./mistralpromptmode.js";
206
211
  export * from "./modelcapabilities.js";
207
212
  export * from "./modelconversation.js";
@@ -236,6 +241,7 @@ export * from "./paginationresponse.js";
236
241
  export * from "./prediction.js";
237
242
  export * from "./processingstatus.js";
238
243
  export * from "./processstatus.js";
244
+ export * from "./prompttokensdetails.js";
239
245
  export * from "./realtimetranscriptionerror.js";
240
246
  export * from "./realtimetranscriptionerrordetail.js";
241
247
  export * from "./realtimetranscriptioninputaudioappend.js";
@@ -256,6 +262,7 @@ export * from "./responseerrorevent.js";
256
262
  export * from "./responseformat.js";
257
263
  export * from "./responseformats.js";
258
264
  export * from "./responsestartedevent.js";
265
+ export * from "./roles.js";
259
266
  export * from "./sampletype.js";
260
267
  export * from "./searchchatcompletioneventidsrequest.js";
261
268
  export * from "./searchchatcompletioneventidsresponse.js";
@@ -267,6 +274,11 @@ export * from "./sharing.js";
267
274
  export * from "./sharingdelete.js";
268
275
  export * from "./sharingrequest.js";
269
276
  export * from "./source.js";
277
+ export * from "./speechoutputformat.js";
278
+ export * from "./speechrequest.js";
279
+ export * from "./speechstreamaudiodelta.js";
280
+ export * from "./speechstreamdone.js";
281
+ export * from "./speechstreameventtypes.js";
270
282
  export * from "./ssetypes.js";
271
283
  export * from "./systemmessage.js";
272
284
  export * from "./systemmessagecontentchunks.js";
@@ -309,8 +321,13 @@ export * from "./updatejudgerequest.js";
309
321
  export * from "./updatelibraryrequest.js";
310
322
  export * from "./updatemodelrequest.js";
311
323
  export * from "./usageinfo.js";
324
+ export * from "./usageinfodollardefs.js";
312
325
  export * from "./usermessage.js";
313
326
  export * from "./validationerror.js";
327
+ export * from "./voicecreaterequest.js";
328
+ export * from "./voicelistresponse.js";
329
+ export * from "./voiceresponse.js";
330
+ export * from "./voiceupdaterequest.js";
314
331
  export * from "./wandbintegration.js";
315
332
  export * from "./wandbintegrationresult.js";
316
333
  export * from "./websearchpremiumtool.js";