@meetkai/mka1 0.54.6 → 0.54.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (789) hide show
  1. package/README.md +302 -275
  2. package/bin/mcp-server.js +3943 -2309
  3. package/bin/mcp-server.js.map +78 -43
  4. package/dist/commonjs/funcs/computePricingGetPricing.d.ts +19 -0
  5. package/dist/commonjs/funcs/computePricingGetPricing.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/computePricingGetPricing.js +135 -0
  7. package/dist/commonjs/funcs/computePricingGetPricing.js.map +1 -0
  8. package/dist/commonjs/funcs/computePricingPutPricing.d.ts +19 -0
  9. package/dist/commonjs/funcs/computePricingPutPricing.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/computePricingPutPricing.js +143 -0
  11. package/dist/commonjs/funcs/computePricingPutPricing.js.map +1 -0
  12. package/dist/commonjs/funcs/computeVolumesCreateStandaloneVolume.d.ts +16 -0
  13. package/dist/commonjs/funcs/computeVolumesCreateStandaloneVolume.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/computeVolumesCreateStandaloneVolume.js +128 -0
  15. package/dist/commonjs/funcs/computeVolumesCreateStandaloneVolume.js.map +1 -0
  16. package/dist/commonjs/funcs/computeVolumesDeleteStandaloneVolume.d.ts +19 -0
  17. package/dist/commonjs/funcs/computeVolumesDeleteStandaloneVolume.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/computeVolumesDeleteStandaloneVolume.js +133 -0
  19. package/dist/commonjs/funcs/computeVolumesDeleteStandaloneVolume.js.map +1 -0
  20. package/dist/commonjs/funcs/computeVolumesGetStandaloneVolume.d.ts +16 -0
  21. package/dist/commonjs/funcs/computeVolumesGetStandaloneVolume.d.ts.map +1 -0
  22. package/dist/commonjs/funcs/computeVolumesGetStandaloneVolume.js +130 -0
  23. package/dist/commonjs/funcs/computeVolumesGetStandaloneVolume.js.map +1 -0
  24. package/dist/commonjs/funcs/computeVolumesListStandaloneVolumeAttachments.d.ts +16 -0
  25. package/dist/commonjs/funcs/computeVolumesListStandaloneVolumeAttachments.d.ts.map +1 -0
  26. package/dist/commonjs/funcs/computeVolumesListStandaloneVolumeAttachments.js +136 -0
  27. package/dist/commonjs/funcs/computeVolumesListStandaloneVolumeAttachments.js.map +1 -0
  28. package/dist/commonjs/funcs/computeVolumesListStandaloneVolumes.d.ts +16 -0
  29. package/dist/commonjs/funcs/computeVolumesListStandaloneVolumes.d.ts.map +1 -0
  30. package/dist/commonjs/funcs/computeVolumesListStandaloneVolumes.js +130 -0
  31. package/dist/commonjs/funcs/computeVolumesListStandaloneVolumes.js.map +1 -0
  32. package/dist/commonjs/hooks/multipartFilename.d.ts +12 -0
  33. package/dist/commonjs/hooks/multipartFilename.d.ts.map +1 -0
  34. package/dist/commonjs/hooks/multipartFilename.js +50 -0
  35. package/dist/commonjs/hooks/multipartFilename.js.map +1 -0
  36. package/dist/commonjs/hooks/registration.d.ts.map +1 -1
  37. package/dist/commonjs/hooks/registration.js +2 -1
  38. package/dist/commonjs/hooks/registration.js.map +1 -1
  39. package/dist/commonjs/lib/config.d.ts +3 -3
  40. package/dist/commonjs/lib/config.js +3 -3
  41. package/dist/commonjs/lib/config.js.map +1 -1
  42. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  43. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  44. package/dist/commonjs/mcp-server/server.js +15 -1
  45. package/dist/commonjs/mcp-server/server.js.map +1 -1
  46. package/dist/commonjs/mcp-server/tools/computePricingGetPricing.d.ts +8 -0
  47. package/dist/commonjs/mcp-server/tools/computePricingGetPricing.d.ts.map +1 -0
  48. package/dist/commonjs/mcp-server/tools/computePricingGetPricing.js +64 -0
  49. package/dist/commonjs/mcp-server/tools/computePricingGetPricing.js.map +1 -0
  50. package/dist/commonjs/mcp-server/tools/computePricingPutPricing.d.ts +8 -0
  51. package/dist/commonjs/mcp-server/tools/computePricingPutPricing.d.ts.map +1 -0
  52. package/dist/commonjs/mcp-server/tools/computePricingPutPricing.js +64 -0
  53. package/dist/commonjs/mcp-server/tools/computePricingPutPricing.js.map +1 -0
  54. package/dist/commonjs/mcp-server/tools/computeVolumesCreateStandaloneVolume.d.ts +8 -0
  55. package/dist/commonjs/mcp-server/tools/computeVolumesCreateStandaloneVolume.d.ts.map +1 -0
  56. package/dist/commonjs/mcp-server/tools/computeVolumesCreateStandaloneVolume.js +62 -0
  57. package/dist/commonjs/mcp-server/tools/computeVolumesCreateStandaloneVolume.js.map +1 -0
  58. package/dist/commonjs/mcp-server/tools/computeVolumesDeleteStandaloneVolume.d.ts +8 -0
  59. package/dist/commonjs/mcp-server/tools/computeVolumesDeleteStandaloneVolume.d.ts.map +1 -0
  60. package/dist/commonjs/mcp-server/tools/computeVolumesDeleteStandaloneVolume.js +64 -0
  61. package/dist/commonjs/mcp-server/tools/computeVolumesDeleteStandaloneVolume.js.map +1 -0
  62. package/dist/commonjs/mcp-server/tools/computeVolumesGetStandaloneVolume.d.ts +8 -0
  63. package/dist/commonjs/mcp-server/tools/computeVolumesGetStandaloneVolume.d.ts.map +1 -0
  64. package/dist/commonjs/mcp-server/tools/computeVolumesGetStandaloneVolume.js +62 -0
  65. package/dist/commonjs/mcp-server/tools/computeVolumesGetStandaloneVolume.js.map +1 -0
  66. package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.d.ts +8 -0
  67. package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.d.ts.map +1 -0
  68. package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.js +62 -0
  69. package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.js.map +1 -0
  70. package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumes.d.ts +8 -0
  71. package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumes.d.ts.map +1 -0
  72. package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumes.js +62 -0
  73. package/dist/commonjs/mcp-server/tools/computeVolumesListStandaloneVolumes.js.map +1 -0
  74. package/dist/commonjs/models/components/agentschedulespec.d.ts +2 -1
  75. package/dist/commonjs/models/components/agentschedulespec.d.ts.map +1 -1
  76. package/dist/commonjs/models/components/agentschedulespec.js +6 -5
  77. package/dist/commonjs/models/components/agentschedulespec.js.map +1 -1
  78. package/dist/commonjs/models/components/chunkingstrategy.d.ts +2 -1
  79. package/dist/commonjs/models/components/chunkingstrategy.d.ts.map +1 -1
  80. package/dist/commonjs/models/components/chunkingstrategy.js +6 -5
  81. package/dist/commonjs/models/components/chunkingstrategy.js.map +1 -1
  82. package/dist/commonjs/models/components/codeinterpreteroutput.d.ts +2 -1
  83. package/dist/commonjs/models/components/codeinterpreteroutput.d.ts.map +1 -1
  84. package/dist/commonjs/models/components/codeinterpreteroutput.js +5 -4
  85. package/dist/commonjs/models/components/codeinterpreteroutput.js.map +1 -1
  86. package/dist/commonjs/models/components/computejob.d.ts +3 -0
  87. package/dist/commonjs/models/components/computejob.d.ts.map +1 -1
  88. package/dist/commonjs/models/components/computejob.js +3 -0
  89. package/dist/commonjs/models/components/computejob.js.map +1 -1
  90. package/dist/commonjs/models/components/computejobcreate.d.ts +3 -0
  91. package/dist/commonjs/models/components/computejobcreate.d.ts.map +1 -1
  92. package/dist/commonjs/models/components/computejobcreate.js +3 -0
  93. package/dist/commonjs/models/components/computejobcreate.js.map +1 -1
  94. package/dist/commonjs/models/components/computeoffer.d.ts +2 -0
  95. package/dist/commonjs/models/components/computeoffer.d.ts.map +1 -1
  96. package/dist/commonjs/models/components/computeoffer.js +4 -0
  97. package/dist/commonjs/models/components/computeoffer.js.map +1 -1
  98. package/dist/commonjs/models/components/computepricing.d.ts +24 -0
  99. package/dist/commonjs/models/components/computepricing.d.ts.map +1 -0
  100. package/dist/commonjs/models/components/computepricing.js +73 -0
  101. package/dist/commonjs/models/components/computepricing.js.map +1 -0
  102. package/dist/commonjs/models/components/computepricingupdate.d.ts +20 -0
  103. package/dist/commonjs/models/components/computepricingupdate.d.ts.map +1 -0
  104. package/dist/commonjs/models/components/computepricingupdate.js +67 -0
  105. package/dist/commonjs/models/components/computepricingupdate.js.map +1 -0
  106. package/dist/commonjs/models/components/computeraction.d.ts +2 -1
  107. package/dist/commonjs/models/components/computeraction.d.ts.map +1 -1
  108. package/dist/commonjs/models/components/computeraction.js +12 -11
  109. package/dist/commonjs/models/components/computeraction.js.map +1 -1
  110. package/dist/commonjs/models/components/computeresourcecreate.d.ts +3 -0
  111. package/dist/commonjs/models/components/computeresourcecreate.d.ts.map +1 -1
  112. package/dist/commonjs/models/components/computeresourcecreate.js +3 -0
  113. package/dist/commonjs/models/components/computeresourcecreate.js.map +1 -1
  114. package/dist/commonjs/models/components/computeservice.d.ts +3 -0
  115. package/dist/commonjs/models/components/computeservice.d.ts.map +1 -1
  116. package/dist/commonjs/models/components/computeservice.js +3 -0
  117. package/dist/commonjs/models/components/computeservice.js.map +1 -1
  118. package/dist/commonjs/models/components/computestandalonevolume.d.ts +47 -0
  119. package/dist/commonjs/models/components/computestandalonevolume.d.ts.map +1 -0
  120. package/dist/commonjs/models/components/computestandalonevolume.js +117 -0
  121. package/dist/commonjs/models/components/computestandalonevolume.js.map +1 -0
  122. package/dist/commonjs/models/components/computestandalonevolumeattachment.d.ts +34 -0
  123. package/dist/commonjs/models/components/computestandalonevolumeattachment.d.ts.map +1 -0
  124. package/dist/commonjs/models/components/computestandalonevolumeattachment.js +94 -0
  125. package/dist/commonjs/models/components/computestandalonevolumeattachment.js.map +1 -0
  126. package/dist/commonjs/models/components/computestandalonevolumeattachmentlist.d.ts +22 -0
  127. package/dist/commonjs/models/components/computestandalonevolumeattachmentlist.d.ts.map +1 -0
  128. package/dist/commonjs/models/components/computestandalonevolumeattachmentlist.js +72 -0
  129. package/dist/commonjs/models/components/computestandalonevolumeattachmentlist.js.map +1 -0
  130. package/dist/commonjs/models/components/computestandalonevolumeattachmentstate.d.ts +16 -0
  131. package/dist/commonjs/models/components/computestandalonevolumeattachmentstate.d.ts.map +1 -0
  132. package/dist/commonjs/models/components/computestandalonevolumeattachmentstate.js +53 -0
  133. package/dist/commonjs/models/components/computestandalonevolumeattachmentstate.js.map +1 -0
  134. package/dist/commonjs/models/components/computestandalonevolumecreate.d.ts +17 -0
  135. package/dist/commonjs/models/components/computestandalonevolumecreate.d.ts.map +1 -0
  136. package/dist/commonjs/models/components/computestandalonevolumecreate.js +58 -0
  137. package/dist/commonjs/models/components/computestandalonevolumecreate.js.map +1 -0
  138. package/dist/commonjs/models/components/computestandalonevolumelist.d.ts +22 -0
  139. package/dist/commonjs/models/components/computestandalonevolumelist.d.ts.map +1 -0
  140. package/dist/commonjs/models/components/computestandalonevolumelist.js +72 -0
  141. package/dist/commonjs/models/components/computestandalonevolumelist.js.map +1 -0
  142. package/dist/commonjs/models/components/computestandalonevolumemount.d.ts +19 -0
  143. package/dist/commonjs/models/components/computestandalonevolumemount.d.ts.map +1 -0
  144. package/dist/commonjs/models/components/computestandalonevolumemount.js +71 -0
  145. package/dist/commonjs/models/components/computestandalonevolumemount.js.map +1 -0
  146. package/dist/commonjs/models/components/computestandalonevolumestate.d.ts +15 -0
  147. package/dist/commonjs/models/components/computestandalonevolumestate.d.ts.map +1 -0
  148. package/dist/commonjs/models/components/computestandalonevolumestate.js +52 -0
  149. package/dist/commonjs/models/components/computestandalonevolumestate.js.map +1 -0
  150. package/dist/commonjs/models/components/computetenant.d.ts +2 -0
  151. package/dist/commonjs/models/components/computetenant.d.ts.map +1 -1
  152. package/dist/commonjs/models/components/computetenant.js +4 -0
  153. package/dist/commonjs/models/components/computetenant.js.map +1 -1
  154. package/dist/commonjs/models/components/computetenantupdate.d.ts +2 -0
  155. package/dist/commonjs/models/components/computetenantupdate.d.ts.map +1 -1
  156. package/dist/commonjs/models/components/computetenantupdate.js +4 -0
  157. package/dist/commonjs/models/components/computetenantupdate.js.map +1 -1
  158. package/dist/commonjs/models/components/computeusage.d.ts +76 -2
  159. package/dist/commonjs/models/components/computeusage.d.ts.map +1 -1
  160. package/dist/commonjs/models/components/computeusage.js +68 -6
  161. package/dist/commonjs/models/components/computeusage.js.map +1 -1
  162. package/dist/commonjs/models/components/computeusageresourcetype.d.ts +13 -0
  163. package/dist/commonjs/models/components/computeusageresourcetype.d.ts.map +1 -0
  164. package/dist/commonjs/models/components/computeusageresourcetype.js +50 -0
  165. package/dist/commonjs/models/components/computeusageresourcetype.js.map +1 -0
  166. package/dist/commonjs/models/components/customtoolformat.d.ts +2 -1
  167. package/dist/commonjs/models/components/customtoolformat.d.ts.map +1 -1
  168. package/dist/commonjs/models/components/customtoolformat.js +5 -1
  169. package/dist/commonjs/models/components/customtoolformat.js.map +1 -1
  170. package/dist/commonjs/models/components/filesearchcompoundfilter.d.ts +3 -2
  171. package/dist/commonjs/models/components/filesearchcompoundfilter.d.ts.map +1 -1
  172. package/dist/commonjs/models/components/filesearchcompoundfilter.js +21 -20
  173. package/dist/commonjs/models/components/filesearchcompoundfilter.js.map +1 -1
  174. package/dist/commonjs/models/components/guardrailconfig.d.ts +2 -1
  175. package/dist/commonjs/models/components/guardrailconfig.d.ts.map +1 -1
  176. package/dist/commonjs/models/components/guardrailconfig.js +6 -5
  177. package/dist/commonjs/models/components/guardrailconfig.js.map +1 -1
  178. package/dist/commonjs/models/components/index.d.ts +11 -0
  179. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  180. package/dist/commonjs/models/components/index.js +11 -0
  181. package/dist/commonjs/models/components/index.js.map +1 -1
  182. package/dist/commonjs/models/components/method.d.ts +6 -5
  183. package/dist/commonjs/models/components/method.d.ts.map +1 -1
  184. package/dist/commonjs/models/components/method.js +36 -35
  185. package/dist/commonjs/models/components/method.js.map +1 -1
  186. package/dist/commonjs/models/components/openaichatcompletionchoice.d.ts +4 -3
  187. package/dist/commonjs/models/components/openaichatcompletionchoice.d.ts.map +1 -1
  188. package/dist/commonjs/models/components/openaichatcompletionchoice.js +19 -18
  189. package/dist/commonjs/models/components/openaichatcompletionchoice.js.map +1 -1
  190. package/dist/commonjs/models/components/openaichatcompletionchunk.d.ts +4 -3
  191. package/dist/commonjs/models/components/openaichatcompletionchunk.d.ts.map +1 -1
  192. package/dist/commonjs/models/components/openaichatcompletionchunk.js +19 -18
  193. package/dist/commonjs/models/components/openaichatcompletionchunk.js.map +1 -1
  194. package/dist/commonjs/models/components/outputmessage.d.ts +3 -2
  195. package/dist/commonjs/models/components/outputmessage.d.ts.map +1 -1
  196. package/dist/commonjs/models/components/outputmessage.js +9 -8
  197. package/dist/commonjs/models/components/outputmessage.js.map +1 -1
  198. package/dist/commonjs/models/components/outputmessagewithid.d.ts +3 -2
  199. package/dist/commonjs/models/components/outputmessagewithid.d.ts.map +1 -1
  200. package/dist/commonjs/models/components/outputmessagewithid.js +9 -8
  201. package/dist/commonjs/models/components/outputmessagewithid.js.map +1 -1
  202. package/dist/commonjs/models/components/outputtext.d.ts +3 -2
  203. package/dist/commonjs/models/components/outputtext.d.ts.map +1 -1
  204. package/dist/commonjs/models/components/outputtext.js +13 -12
  205. package/dist/commonjs/models/components/outputtext.js.map +1 -1
  206. package/dist/commonjs/models/components/responsecontentpartaddedevent.d.ts +3 -2
  207. package/dist/commonjs/models/components/responsecontentpartaddedevent.d.ts.map +1 -1
  208. package/dist/commonjs/models/components/responsecontentpartaddedevent.js +11 -11
  209. package/dist/commonjs/models/components/responsecontentpartaddedevent.js.map +1 -1
  210. package/dist/commonjs/models/components/responsecontentpartdoneevent.d.ts +3 -2
  211. package/dist/commonjs/models/components/responsecontentpartdoneevent.d.ts.map +1 -1
  212. package/dist/commonjs/models/components/responsecontentpartdoneevent.js +11 -10
  213. package/dist/commonjs/models/components/responsecontentpartdoneevent.js.map +1 -1
  214. package/dist/commonjs/models/components/responseformat.d.ts +2 -1
  215. package/dist/commonjs/models/components/responseformat.d.ts.map +1 -1
  216. package/dist/commonjs/models/components/responseformat.js +6 -5
  217. package/dist/commonjs/models/components/responseformat.js.map +1 -1
  218. package/dist/commonjs/models/components/responseobject.d.ts +5 -4
  219. package/dist/commonjs/models/components/responseobject.d.ts.map +1 -1
  220. package/dist/commonjs/models/components/responseobject.js +41 -40
  221. package/dist/commonjs/models/components/responseobject.js.map +1 -1
  222. package/dist/commonjs/models/components/responsestreamingevent.d.ts +2 -1
  223. package/dist/commonjs/models/components/responsestreamingevent.d.ts.map +1 -1
  224. package/dist/commonjs/models/components/responsestreamingevent.js +68 -67
  225. package/dist/commonjs/models/components/responsestreamingevent.js.map +1 -1
  226. package/dist/commonjs/models/components/shellenvironment.d.ts +2 -1
  227. package/dist/commonjs/models/components/shellenvironment.d.ts.map +1 -1
  228. package/dist/commonjs/models/components/shellenvironment.js +5 -4
  229. package/dist/commonjs/models/components/shellenvironment.js.map +1 -1
  230. package/dist/commonjs/models/components/skillentry.d.ts +2 -1
  231. package/dist/commonjs/models/components/skillentry.d.ts.map +1 -1
  232. package/dist/commonjs/models/components/skillentry.js +5 -4
  233. package/dist/commonjs/models/components/skillentry.js.map +1 -1
  234. package/dist/commonjs/models/components/tooldefinition.d.ts +5 -4
  235. package/dist/commonjs/models/components/tooldefinition.d.ts.map +1 -1
  236. package/dist/commonjs/models/components/tooldefinition.js +29 -28
  237. package/dist/commonjs/models/components/tooldefinition.js.map +1 -1
  238. package/dist/commonjs/models/components/websearchaction.d.ts +2 -1
  239. package/dist/commonjs/models/components/websearchaction.d.ts.map +1 -1
  240. package/dist/commonjs/models/components/websearchaction.js +6 -5
  241. package/dist/commonjs/models/components/websearchaction.js.map +1 -1
  242. package/dist/commonjs/models/operations/createchatcompletionstream.d.ts +2 -1
  243. package/dist/commonjs/models/operations/createchatcompletionstream.d.ts.map +1 -1
  244. package/dist/commonjs/models/operations/createchatcompletionstream.js +6 -5
  245. package/dist/commonjs/models/operations/createchatcompletionstream.js.map +1 -1
  246. package/dist/commonjs/models/operations/createstandalonevolume.d.ts +34 -0
  247. package/dist/commonjs/models/operations/createstandalonevolume.d.ts.map +1 -0
  248. package/dist/commonjs/models/operations/createstandalonevolume.js +94 -0
  249. package/dist/commonjs/models/operations/createstandalonevolume.js.map +1 -0
  250. package/dist/commonjs/models/operations/deletestandalonevolume.d.ts +32 -0
  251. package/dist/commonjs/models/operations/deletestandalonevolume.d.ts.map +1 -0
  252. package/dist/commonjs/models/operations/deletestandalonevolume.js +88 -0
  253. package/dist/commonjs/models/operations/deletestandalonevolume.js.map +1 -0
  254. package/dist/commonjs/models/operations/getcomputeusage.d.ts +7 -1
  255. package/dist/commonjs/models/operations/getcomputeusage.d.ts.map +1 -1
  256. package/dist/commonjs/models/operations/getcomputeusage.js +2 -2
  257. package/dist/commonjs/models/operations/getcomputeusage.js.map +1 -1
  258. package/dist/commonjs/models/operations/getpricing.d.ts +49 -0
  259. package/dist/commonjs/models/operations/getpricing.d.ts.map +1 -0
  260. package/dist/commonjs/models/operations/getpricing.js +120 -0
  261. package/dist/commonjs/models/operations/getpricing.js.map +1 -0
  262. package/dist/commonjs/models/operations/getstandalonevolume.d.ts +32 -0
  263. package/dist/commonjs/models/operations/getstandalonevolume.d.ts.map +1 -0
  264. package/dist/commonjs/models/operations/getstandalonevolume.js +88 -0
  265. package/dist/commonjs/models/operations/getstandalonevolume.js.map +1 -0
  266. package/dist/commonjs/models/operations/index.d.ts +7 -0
  267. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  268. package/dist/commonjs/models/operations/index.js +7 -0
  269. package/dist/commonjs/models/operations/index.js.map +1 -1
  270. package/dist/commonjs/models/operations/liststandalonevolumeattachments.d.ts +38 -0
  271. package/dist/commonjs/models/operations/liststandalonevolumeattachments.d.ts.map +1 -0
  272. package/dist/commonjs/models/operations/liststandalonevolumeattachments.js +96 -0
  273. package/dist/commonjs/models/operations/liststandalonevolumeattachments.js.map +1 -0
  274. package/dist/commonjs/models/operations/liststandalonevolumes.d.ts +36 -0
  275. package/dist/commonjs/models/operations/liststandalonevolumes.d.ts.map +1 -0
  276. package/dist/commonjs/models/operations/liststandalonevolumes.js +92 -0
  277. package/dist/commonjs/models/operations/liststandalonevolumes.js.map +1 -0
  278. package/dist/commonjs/models/operations/putpricing.d.ts +58 -0
  279. package/dist/commonjs/models/operations/putpricing.d.ts.map +1 -0
  280. package/dist/commonjs/models/operations/putpricing.js +132 -0
  281. package/dist/commonjs/models/operations/putpricing.js.map +1 -0
  282. package/dist/commonjs/models/operations/uploadfile.d.ts +1 -1
  283. package/dist/commonjs/react-query/computePricingGetPricing.core.d.ts +14 -0
  284. package/dist/commonjs/react-query/computePricingGetPricing.core.d.ts.map +1 -0
  285. package/dist/commonjs/react-query/computePricingGetPricing.core.js +36 -0
  286. package/dist/commonjs/react-query/computePricingGetPricing.core.js.map +1 -0
  287. package/dist/commonjs/react-query/computePricingGetPricing.d.ts +34 -0
  288. package/dist/commonjs/react-query/computePricingGetPricing.d.ts.map +1 -0
  289. package/dist/commonjs/react-query/computePricingGetPricing.js +65 -0
  290. package/dist/commonjs/react-query/computePricingGetPricing.js.map +1 -0
  291. package/dist/commonjs/react-query/computePricingPutPricing.d.ts +28 -0
  292. package/dist/commonjs/react-query/computePricingPutPricing.d.ts.map +1 -0
  293. package/dist/commonjs/react-query/computePricingPutPricing.js +47 -0
  294. package/dist/commonjs/react-query/computePricingPutPricing.js.map +1 -0
  295. package/dist/commonjs/react-query/computeUsageGetComputeUsage.core.d.ts +1 -1
  296. package/dist/commonjs/react-query/computeUsageGetComputeUsage.core.d.ts.map +1 -1
  297. package/dist/commonjs/react-query/computeUsageGetComputeUsage.d.ts +2 -2
  298. package/dist/commonjs/react-query/computeUsageGetComputeUsage.d.ts.map +1 -1
  299. package/dist/commonjs/react-query/computeVolumesCreateStandaloneVolume.d.ts +25 -0
  300. package/dist/commonjs/react-query/computeVolumesCreateStandaloneVolume.d.ts.map +1 -0
  301. package/dist/commonjs/react-query/computeVolumesCreateStandaloneVolume.js +44 -0
  302. package/dist/commonjs/react-query/computeVolumesCreateStandaloneVolume.js.map +1 -0
  303. package/dist/commonjs/react-query/computeVolumesDeleteStandaloneVolume.d.ts +28 -0
  304. package/dist/commonjs/react-query/computeVolumesDeleteStandaloneVolume.d.ts.map +1 -0
  305. package/dist/commonjs/react-query/computeVolumesDeleteStandaloneVolume.js +47 -0
  306. package/dist/commonjs/react-query/computeVolumesDeleteStandaloneVolume.js.map +1 -0
  307. package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.core.d.ts +14 -0
  308. package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.core.d.ts.map +1 -0
  309. package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.core.js +42 -0
  310. package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.core.js.map +1 -0
  311. package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.d.ts +29 -0
  312. package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.d.ts.map +1 -0
  313. package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.js +59 -0
  314. package/dist/commonjs/react-query/computeVolumesGetStandaloneVolume.js.map +1 -0
  315. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.core.d.ts +18 -0
  316. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.core.d.ts.map +1 -0
  317. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.core.js +45 -0
  318. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.core.js.map +1 -0
  319. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.d.ts +39 -0
  320. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.d.ts.map +1 -0
  321. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.js +63 -0
  322. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumeAttachments.js.map +1 -0
  323. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.core.d.ts +18 -0
  324. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.core.d.ts.map +1 -0
  325. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.core.js +44 -0
  326. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.core.js.map +1 -0
  327. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.d.ts +37 -0
  328. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.d.ts.map +1 -0
  329. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.js +59 -0
  330. package/dist/commonjs/react-query/computeVolumesListStandaloneVolumes.js.map +1 -0
  331. package/dist/commonjs/react-query/index.d.ts +7 -0
  332. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  333. package/dist/commonjs/react-query/index.js +7 -0
  334. package/dist/commonjs/react-query/index.js.map +1 -1
  335. package/dist/commonjs/sdk/computepricing.d.ts +19 -0
  336. package/dist/commonjs/sdk/computepricing.d.ts.map +1 -0
  337. package/dist/commonjs/sdk/computepricing.js +32 -0
  338. package/dist/commonjs/sdk/computepricing.js.map +1 -0
  339. package/dist/commonjs/sdk/computevolumes.d.ts +28 -0
  340. package/dist/commonjs/sdk/computevolumes.d.ts.map +1 -0
  341. package/dist/commonjs/sdk/computevolumes.js +50 -0
  342. package/dist/commonjs/sdk/computevolumes.js.map +1 -0
  343. package/dist/commonjs/sdk/sdk.d.ts +6 -0
  344. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  345. package/dist/commonjs/sdk/sdk.js +8 -0
  346. package/dist/commonjs/sdk/sdk.js.map +1 -1
  347. package/dist/commonjs/types/discriminatedUnion.d.ts +25 -0
  348. package/dist/commonjs/types/discriminatedUnion.d.ts.map +1 -0
  349. package/dist/commonjs/types/discriminatedUnion.js +94 -0
  350. package/dist/commonjs/types/discriminatedUnion.js.map +1 -0
  351. package/dist/esm/funcs/computePricingGetPricing.d.ts +19 -0
  352. package/dist/esm/funcs/computePricingGetPricing.d.ts.map +1 -0
  353. package/dist/esm/funcs/computePricingGetPricing.js +99 -0
  354. package/dist/esm/funcs/computePricingGetPricing.js.map +1 -0
  355. package/dist/esm/funcs/computePricingPutPricing.d.ts +19 -0
  356. package/dist/esm/funcs/computePricingPutPricing.d.ts.map +1 -0
  357. package/dist/esm/funcs/computePricingPutPricing.js +107 -0
  358. package/dist/esm/funcs/computePricingPutPricing.js.map +1 -0
  359. package/dist/esm/funcs/computeVolumesCreateStandaloneVolume.d.ts +16 -0
  360. package/dist/esm/funcs/computeVolumesCreateStandaloneVolume.d.ts.map +1 -0
  361. package/dist/esm/funcs/computeVolumesCreateStandaloneVolume.js +92 -0
  362. package/dist/esm/funcs/computeVolumesCreateStandaloneVolume.js.map +1 -0
  363. package/dist/esm/funcs/computeVolumesDeleteStandaloneVolume.d.ts +19 -0
  364. package/dist/esm/funcs/computeVolumesDeleteStandaloneVolume.d.ts.map +1 -0
  365. package/dist/esm/funcs/computeVolumesDeleteStandaloneVolume.js +97 -0
  366. package/dist/esm/funcs/computeVolumesDeleteStandaloneVolume.js.map +1 -0
  367. package/dist/esm/funcs/computeVolumesGetStandaloneVolume.d.ts +16 -0
  368. package/dist/esm/funcs/computeVolumesGetStandaloneVolume.d.ts.map +1 -0
  369. package/dist/esm/funcs/computeVolumesGetStandaloneVolume.js +94 -0
  370. package/dist/esm/funcs/computeVolumesGetStandaloneVolume.js.map +1 -0
  371. package/dist/esm/funcs/computeVolumesListStandaloneVolumeAttachments.d.ts +16 -0
  372. package/dist/esm/funcs/computeVolumesListStandaloneVolumeAttachments.d.ts.map +1 -0
  373. package/dist/esm/funcs/computeVolumesListStandaloneVolumeAttachments.js +100 -0
  374. package/dist/esm/funcs/computeVolumesListStandaloneVolumeAttachments.js.map +1 -0
  375. package/dist/esm/funcs/computeVolumesListStandaloneVolumes.d.ts +16 -0
  376. package/dist/esm/funcs/computeVolumesListStandaloneVolumes.d.ts.map +1 -0
  377. package/dist/esm/funcs/computeVolumesListStandaloneVolumes.js +94 -0
  378. package/dist/esm/funcs/computeVolumesListStandaloneVolumes.js.map +1 -0
  379. package/dist/esm/hooks/multipartFilename.d.ts +12 -0
  380. package/dist/esm/hooks/multipartFilename.d.ts.map +1 -0
  381. package/dist/esm/hooks/multipartFilename.js +46 -0
  382. package/dist/esm/hooks/multipartFilename.js.map +1 -0
  383. package/dist/esm/hooks/registration.d.ts.map +1 -1
  384. package/dist/esm/hooks/registration.js +2 -1
  385. package/dist/esm/hooks/registration.js.map +1 -1
  386. package/dist/esm/lib/config.d.ts +3 -3
  387. package/dist/esm/lib/config.js +3 -3
  388. package/dist/esm/lib/config.js.map +1 -1
  389. package/dist/esm/mcp-server/mcp-server.js +1 -1
  390. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  391. package/dist/esm/mcp-server/server.js +15 -1
  392. package/dist/esm/mcp-server/server.js.map +1 -1
  393. package/dist/esm/mcp-server/tools/computePricingGetPricing.d.ts +8 -0
  394. package/dist/esm/mcp-server/tools/computePricingGetPricing.d.ts.map +1 -0
  395. package/dist/esm/mcp-server/tools/computePricingGetPricing.js +28 -0
  396. package/dist/esm/mcp-server/tools/computePricingGetPricing.js.map +1 -0
  397. package/dist/esm/mcp-server/tools/computePricingPutPricing.d.ts +8 -0
  398. package/dist/esm/mcp-server/tools/computePricingPutPricing.d.ts.map +1 -0
  399. package/dist/esm/mcp-server/tools/computePricingPutPricing.js +28 -0
  400. package/dist/esm/mcp-server/tools/computePricingPutPricing.js.map +1 -0
  401. package/dist/esm/mcp-server/tools/computeVolumesCreateStandaloneVolume.d.ts +8 -0
  402. package/dist/esm/mcp-server/tools/computeVolumesCreateStandaloneVolume.d.ts.map +1 -0
  403. package/dist/esm/mcp-server/tools/computeVolumesCreateStandaloneVolume.js +26 -0
  404. package/dist/esm/mcp-server/tools/computeVolumesCreateStandaloneVolume.js.map +1 -0
  405. package/dist/esm/mcp-server/tools/computeVolumesDeleteStandaloneVolume.d.ts +8 -0
  406. package/dist/esm/mcp-server/tools/computeVolumesDeleteStandaloneVolume.d.ts.map +1 -0
  407. package/dist/esm/mcp-server/tools/computeVolumesDeleteStandaloneVolume.js +28 -0
  408. package/dist/esm/mcp-server/tools/computeVolumesDeleteStandaloneVolume.js.map +1 -0
  409. package/dist/esm/mcp-server/tools/computeVolumesGetStandaloneVolume.d.ts +8 -0
  410. package/dist/esm/mcp-server/tools/computeVolumesGetStandaloneVolume.d.ts.map +1 -0
  411. package/dist/esm/mcp-server/tools/computeVolumesGetStandaloneVolume.js +26 -0
  412. package/dist/esm/mcp-server/tools/computeVolumesGetStandaloneVolume.js.map +1 -0
  413. package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.d.ts +8 -0
  414. package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.d.ts.map +1 -0
  415. package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.js +26 -0
  416. package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.js.map +1 -0
  417. package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumes.d.ts +8 -0
  418. package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumes.d.ts.map +1 -0
  419. package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumes.js +26 -0
  420. package/dist/esm/mcp-server/tools/computeVolumesListStandaloneVolumes.js.map +1 -0
  421. package/dist/esm/models/components/agentschedulespec.d.ts +2 -1
  422. package/dist/esm/models/components/agentschedulespec.d.ts.map +1 -1
  423. package/dist/esm/models/components/agentschedulespec.js +6 -5
  424. package/dist/esm/models/components/agentschedulespec.js.map +1 -1
  425. package/dist/esm/models/components/chunkingstrategy.d.ts +2 -1
  426. package/dist/esm/models/components/chunkingstrategy.d.ts.map +1 -1
  427. package/dist/esm/models/components/chunkingstrategy.js +6 -5
  428. package/dist/esm/models/components/chunkingstrategy.js.map +1 -1
  429. package/dist/esm/models/components/codeinterpreteroutput.d.ts +2 -1
  430. package/dist/esm/models/components/codeinterpreteroutput.d.ts.map +1 -1
  431. package/dist/esm/models/components/codeinterpreteroutput.js +5 -4
  432. package/dist/esm/models/components/codeinterpreteroutput.js.map +1 -1
  433. package/dist/esm/models/components/computejob.d.ts +3 -0
  434. package/dist/esm/models/components/computejob.d.ts.map +1 -1
  435. package/dist/esm/models/components/computejob.js +3 -0
  436. package/dist/esm/models/components/computejob.js.map +1 -1
  437. package/dist/esm/models/components/computejobcreate.d.ts +3 -0
  438. package/dist/esm/models/components/computejobcreate.d.ts.map +1 -1
  439. package/dist/esm/models/components/computejobcreate.js +3 -0
  440. package/dist/esm/models/components/computejobcreate.js.map +1 -1
  441. package/dist/esm/models/components/computeoffer.d.ts +2 -0
  442. package/dist/esm/models/components/computeoffer.d.ts.map +1 -1
  443. package/dist/esm/models/components/computeoffer.js +4 -0
  444. package/dist/esm/models/components/computeoffer.js.map +1 -1
  445. package/dist/esm/models/components/computepricing.d.ts +24 -0
  446. package/dist/esm/models/components/computepricing.d.ts.map +1 -0
  447. package/dist/esm/models/components/computepricing.js +35 -0
  448. package/dist/esm/models/components/computepricing.js.map +1 -0
  449. package/dist/esm/models/components/computepricingupdate.d.ts +20 -0
  450. package/dist/esm/models/components/computepricingupdate.d.ts.map +1 -0
  451. package/dist/esm/models/components/computepricingupdate.js +29 -0
  452. package/dist/esm/models/components/computepricingupdate.js.map +1 -0
  453. package/dist/esm/models/components/computeraction.d.ts +2 -1
  454. package/dist/esm/models/components/computeraction.d.ts.map +1 -1
  455. package/dist/esm/models/components/computeraction.js +12 -11
  456. package/dist/esm/models/components/computeraction.js.map +1 -1
  457. package/dist/esm/models/components/computeresourcecreate.d.ts +3 -0
  458. package/dist/esm/models/components/computeresourcecreate.d.ts.map +1 -1
  459. package/dist/esm/models/components/computeresourcecreate.js +3 -0
  460. package/dist/esm/models/components/computeresourcecreate.js.map +1 -1
  461. package/dist/esm/models/components/computeservice.d.ts +3 -0
  462. package/dist/esm/models/components/computeservice.d.ts.map +1 -1
  463. package/dist/esm/models/components/computeservice.js +3 -0
  464. package/dist/esm/models/components/computeservice.js.map +1 -1
  465. package/dist/esm/models/components/computestandalonevolume.d.ts +47 -0
  466. package/dist/esm/models/components/computestandalonevolume.d.ts.map +1 -0
  467. package/dist/esm/models/components/computestandalonevolume.js +79 -0
  468. package/dist/esm/models/components/computestandalonevolume.js.map +1 -0
  469. package/dist/esm/models/components/computestandalonevolumeattachment.d.ts +34 -0
  470. package/dist/esm/models/components/computestandalonevolumeattachment.d.ts.map +1 -0
  471. package/dist/esm/models/components/computestandalonevolumeattachment.js +56 -0
  472. package/dist/esm/models/components/computestandalonevolumeattachment.js.map +1 -0
  473. package/dist/esm/models/components/computestandalonevolumeattachmentlist.d.ts +22 -0
  474. package/dist/esm/models/components/computestandalonevolumeattachmentlist.d.ts.map +1 -0
  475. package/dist/esm/models/components/computestandalonevolumeattachmentlist.js +34 -0
  476. package/dist/esm/models/components/computestandalonevolumeattachmentlist.js.map +1 -0
  477. package/dist/esm/models/components/computestandalonevolumeattachmentstate.d.ts +16 -0
  478. package/dist/esm/models/components/computestandalonevolumeattachmentstate.d.ts.map +1 -0
  479. package/dist/esm/models/components/computestandalonevolumeattachmentstate.js +17 -0
  480. package/dist/esm/models/components/computestandalonevolumeattachmentstate.js.map +1 -0
  481. package/dist/esm/models/components/computestandalonevolumecreate.d.ts +17 -0
  482. package/dist/esm/models/components/computestandalonevolumecreate.d.ts.map +1 -0
  483. package/dist/esm/models/components/computestandalonevolumecreate.js +20 -0
  484. package/dist/esm/models/components/computestandalonevolumecreate.js.map +1 -0
  485. package/dist/esm/models/components/computestandalonevolumelist.d.ts +22 -0
  486. package/dist/esm/models/components/computestandalonevolumelist.d.ts.map +1 -0
  487. package/dist/esm/models/components/computestandalonevolumelist.js +34 -0
  488. package/dist/esm/models/components/computestandalonevolumelist.js.map +1 -0
  489. package/dist/esm/models/components/computestandalonevolumemount.d.ts +19 -0
  490. package/dist/esm/models/components/computestandalonevolumemount.d.ts.map +1 -0
  491. package/dist/esm/models/components/computestandalonevolumemount.js +33 -0
  492. package/dist/esm/models/components/computestandalonevolumemount.js.map +1 -0
  493. package/dist/esm/models/components/computestandalonevolumestate.d.ts +15 -0
  494. package/dist/esm/models/components/computestandalonevolumestate.d.ts.map +1 -0
  495. package/dist/esm/models/components/computestandalonevolumestate.js +16 -0
  496. package/dist/esm/models/components/computestandalonevolumestate.js.map +1 -0
  497. package/dist/esm/models/components/computetenant.d.ts +2 -0
  498. package/dist/esm/models/components/computetenant.d.ts.map +1 -1
  499. package/dist/esm/models/components/computetenant.js +4 -0
  500. package/dist/esm/models/components/computetenant.js.map +1 -1
  501. package/dist/esm/models/components/computetenantupdate.d.ts +2 -0
  502. package/dist/esm/models/components/computetenantupdate.d.ts.map +1 -1
  503. package/dist/esm/models/components/computetenantupdate.js +4 -0
  504. package/dist/esm/models/components/computetenantupdate.js.map +1 -1
  505. package/dist/esm/models/components/computeusage.d.ts +76 -2
  506. package/dist/esm/models/components/computeusage.d.ts.map +1 -1
  507. package/dist/esm/models/components/computeusage.js +67 -5
  508. package/dist/esm/models/components/computeusage.js.map +1 -1
  509. package/dist/esm/models/components/computeusageresourcetype.d.ts +13 -0
  510. package/dist/esm/models/components/computeusageresourcetype.d.ts.map +1 -0
  511. package/dist/esm/models/components/computeusageresourcetype.js +14 -0
  512. package/dist/esm/models/components/computeusageresourcetype.js.map +1 -0
  513. package/dist/esm/models/components/customtoolformat.d.ts +2 -1
  514. package/dist/esm/models/components/customtoolformat.d.ts.map +1 -1
  515. package/dist/esm/models/components/customtoolformat.js +5 -1
  516. package/dist/esm/models/components/customtoolformat.js.map +1 -1
  517. package/dist/esm/models/components/filesearchcompoundfilter.d.ts +3 -2
  518. package/dist/esm/models/components/filesearchcompoundfilter.d.ts.map +1 -1
  519. package/dist/esm/models/components/filesearchcompoundfilter.js +21 -20
  520. package/dist/esm/models/components/filesearchcompoundfilter.js.map +1 -1
  521. package/dist/esm/models/components/guardrailconfig.d.ts +2 -1
  522. package/dist/esm/models/components/guardrailconfig.d.ts.map +1 -1
  523. package/dist/esm/models/components/guardrailconfig.js +6 -5
  524. package/dist/esm/models/components/guardrailconfig.js.map +1 -1
  525. package/dist/esm/models/components/index.d.ts +11 -0
  526. package/dist/esm/models/components/index.d.ts.map +1 -1
  527. package/dist/esm/models/components/index.js +11 -0
  528. package/dist/esm/models/components/index.js.map +1 -1
  529. package/dist/esm/models/components/method.d.ts +6 -5
  530. package/dist/esm/models/components/method.d.ts.map +1 -1
  531. package/dist/esm/models/components/method.js +36 -35
  532. package/dist/esm/models/components/method.js.map +1 -1
  533. package/dist/esm/models/components/openaichatcompletionchoice.d.ts +4 -3
  534. package/dist/esm/models/components/openaichatcompletionchoice.d.ts.map +1 -1
  535. package/dist/esm/models/components/openaichatcompletionchoice.js +19 -18
  536. package/dist/esm/models/components/openaichatcompletionchoice.js.map +1 -1
  537. package/dist/esm/models/components/openaichatcompletionchunk.d.ts +4 -3
  538. package/dist/esm/models/components/openaichatcompletionchunk.d.ts.map +1 -1
  539. package/dist/esm/models/components/openaichatcompletionchunk.js +19 -18
  540. package/dist/esm/models/components/openaichatcompletionchunk.js.map +1 -1
  541. package/dist/esm/models/components/outputmessage.d.ts +3 -2
  542. package/dist/esm/models/components/outputmessage.d.ts.map +1 -1
  543. package/dist/esm/models/components/outputmessage.js +9 -8
  544. package/dist/esm/models/components/outputmessage.js.map +1 -1
  545. package/dist/esm/models/components/outputmessagewithid.d.ts +3 -2
  546. package/dist/esm/models/components/outputmessagewithid.d.ts.map +1 -1
  547. package/dist/esm/models/components/outputmessagewithid.js +9 -8
  548. package/dist/esm/models/components/outputmessagewithid.js.map +1 -1
  549. package/dist/esm/models/components/outputtext.d.ts +3 -2
  550. package/dist/esm/models/components/outputtext.d.ts.map +1 -1
  551. package/dist/esm/models/components/outputtext.js +13 -12
  552. package/dist/esm/models/components/outputtext.js.map +1 -1
  553. package/dist/esm/models/components/responsecontentpartaddedevent.d.ts +3 -2
  554. package/dist/esm/models/components/responsecontentpartaddedevent.d.ts.map +1 -1
  555. package/dist/esm/models/components/responsecontentpartaddedevent.js +11 -11
  556. package/dist/esm/models/components/responsecontentpartaddedevent.js.map +1 -1
  557. package/dist/esm/models/components/responsecontentpartdoneevent.d.ts +3 -2
  558. package/dist/esm/models/components/responsecontentpartdoneevent.d.ts.map +1 -1
  559. package/dist/esm/models/components/responsecontentpartdoneevent.js +11 -10
  560. package/dist/esm/models/components/responsecontentpartdoneevent.js.map +1 -1
  561. package/dist/esm/models/components/responseformat.d.ts +2 -1
  562. package/dist/esm/models/components/responseformat.d.ts.map +1 -1
  563. package/dist/esm/models/components/responseformat.js +6 -5
  564. package/dist/esm/models/components/responseformat.js.map +1 -1
  565. package/dist/esm/models/components/responseobject.d.ts +5 -4
  566. package/dist/esm/models/components/responseobject.d.ts.map +1 -1
  567. package/dist/esm/models/components/responseobject.js +41 -40
  568. package/dist/esm/models/components/responseobject.js.map +1 -1
  569. package/dist/esm/models/components/responsestreamingevent.d.ts +2 -1
  570. package/dist/esm/models/components/responsestreamingevent.d.ts.map +1 -1
  571. package/dist/esm/models/components/responsestreamingevent.js +68 -67
  572. package/dist/esm/models/components/responsestreamingevent.js.map +1 -1
  573. package/dist/esm/models/components/shellenvironment.d.ts +2 -1
  574. package/dist/esm/models/components/shellenvironment.d.ts.map +1 -1
  575. package/dist/esm/models/components/shellenvironment.js +5 -4
  576. package/dist/esm/models/components/shellenvironment.js.map +1 -1
  577. package/dist/esm/models/components/skillentry.d.ts +2 -1
  578. package/dist/esm/models/components/skillentry.d.ts.map +1 -1
  579. package/dist/esm/models/components/skillentry.js +5 -4
  580. package/dist/esm/models/components/skillentry.js.map +1 -1
  581. package/dist/esm/models/components/tooldefinition.d.ts +5 -4
  582. package/dist/esm/models/components/tooldefinition.d.ts.map +1 -1
  583. package/dist/esm/models/components/tooldefinition.js +29 -28
  584. package/dist/esm/models/components/tooldefinition.js.map +1 -1
  585. package/dist/esm/models/components/websearchaction.d.ts +2 -1
  586. package/dist/esm/models/components/websearchaction.d.ts.map +1 -1
  587. package/dist/esm/models/components/websearchaction.js +6 -5
  588. package/dist/esm/models/components/websearchaction.js.map +1 -1
  589. package/dist/esm/models/operations/createchatcompletionstream.d.ts +2 -1
  590. package/dist/esm/models/operations/createchatcompletionstream.d.ts.map +1 -1
  591. package/dist/esm/models/operations/createchatcompletionstream.js +6 -5
  592. package/dist/esm/models/operations/createchatcompletionstream.js.map +1 -1
  593. package/dist/esm/models/operations/createstandalonevolume.d.ts +34 -0
  594. package/dist/esm/models/operations/createstandalonevolume.d.ts.map +1 -0
  595. package/dist/esm/models/operations/createstandalonevolume.js +54 -0
  596. package/dist/esm/models/operations/createstandalonevolume.js.map +1 -0
  597. package/dist/esm/models/operations/deletestandalonevolume.d.ts +32 -0
  598. package/dist/esm/models/operations/deletestandalonevolume.d.ts.map +1 -0
  599. package/dist/esm/models/operations/deletestandalonevolume.js +48 -0
  600. package/dist/esm/models/operations/deletestandalonevolume.js.map +1 -0
  601. package/dist/esm/models/operations/getcomputeusage.d.ts +7 -1
  602. package/dist/esm/models/operations/getcomputeusage.d.ts.map +1 -1
  603. package/dist/esm/models/operations/getcomputeusage.js +2 -2
  604. package/dist/esm/models/operations/getcomputeusage.js.map +1 -1
  605. package/dist/esm/models/operations/getpricing.d.ts +49 -0
  606. package/dist/esm/models/operations/getpricing.d.ts.map +1 -0
  607. package/dist/esm/models/operations/getpricing.js +78 -0
  608. package/dist/esm/models/operations/getpricing.js.map +1 -0
  609. package/dist/esm/models/operations/getstandalonevolume.d.ts +32 -0
  610. package/dist/esm/models/operations/getstandalonevolume.d.ts.map +1 -0
  611. package/dist/esm/models/operations/getstandalonevolume.js +48 -0
  612. package/dist/esm/models/operations/getstandalonevolume.js.map +1 -0
  613. package/dist/esm/models/operations/index.d.ts +7 -0
  614. package/dist/esm/models/operations/index.d.ts.map +1 -1
  615. package/dist/esm/models/operations/index.js +7 -0
  616. package/dist/esm/models/operations/index.js.map +1 -1
  617. package/dist/esm/models/operations/liststandalonevolumeattachments.d.ts +38 -0
  618. package/dist/esm/models/operations/liststandalonevolumeattachments.d.ts.map +1 -0
  619. package/dist/esm/models/operations/liststandalonevolumeattachments.js +56 -0
  620. package/dist/esm/models/operations/liststandalonevolumeattachments.js.map +1 -0
  621. package/dist/esm/models/operations/liststandalonevolumes.d.ts +36 -0
  622. package/dist/esm/models/operations/liststandalonevolumes.d.ts.map +1 -0
  623. package/dist/esm/models/operations/liststandalonevolumes.js +52 -0
  624. package/dist/esm/models/operations/liststandalonevolumes.js.map +1 -0
  625. package/dist/esm/models/operations/putpricing.d.ts +58 -0
  626. package/dist/esm/models/operations/putpricing.d.ts.map +1 -0
  627. package/dist/esm/models/operations/putpricing.js +90 -0
  628. package/dist/esm/models/operations/putpricing.js.map +1 -0
  629. package/dist/esm/models/operations/uploadfile.d.ts +1 -1
  630. package/dist/esm/react-query/computePricingGetPricing.core.d.ts +14 -0
  631. package/dist/esm/react-query/computePricingGetPricing.core.d.ts.map +1 -0
  632. package/dist/esm/react-query/computePricingGetPricing.core.js +31 -0
  633. package/dist/esm/react-query/computePricingGetPricing.core.js.map +1 -0
  634. package/dist/esm/react-query/computePricingGetPricing.d.ts +34 -0
  635. package/dist/esm/react-query/computePricingGetPricing.d.ts.map +1 -0
  636. package/dist/esm/react-query/computePricingGetPricing.js +55 -0
  637. package/dist/esm/react-query/computePricingGetPricing.js.map +1 -0
  638. package/dist/esm/react-query/computePricingPutPricing.d.ts +28 -0
  639. package/dist/esm/react-query/computePricingPutPricing.d.ts.map +1 -0
  640. package/dist/esm/react-query/computePricingPutPricing.js +42 -0
  641. package/dist/esm/react-query/computePricingPutPricing.js.map +1 -0
  642. package/dist/esm/react-query/computeUsageGetComputeUsage.core.d.ts +1 -1
  643. package/dist/esm/react-query/computeUsageGetComputeUsage.core.d.ts.map +1 -1
  644. package/dist/esm/react-query/computeUsageGetComputeUsage.d.ts +2 -2
  645. package/dist/esm/react-query/computeUsageGetComputeUsage.d.ts.map +1 -1
  646. package/dist/esm/react-query/computeVolumesCreateStandaloneVolume.d.ts +25 -0
  647. package/dist/esm/react-query/computeVolumesCreateStandaloneVolume.d.ts.map +1 -0
  648. package/dist/esm/react-query/computeVolumesCreateStandaloneVolume.js +39 -0
  649. package/dist/esm/react-query/computeVolumesCreateStandaloneVolume.js.map +1 -0
  650. package/dist/esm/react-query/computeVolumesDeleteStandaloneVolume.d.ts +28 -0
  651. package/dist/esm/react-query/computeVolumesDeleteStandaloneVolume.d.ts.map +1 -0
  652. package/dist/esm/react-query/computeVolumesDeleteStandaloneVolume.js +42 -0
  653. package/dist/esm/react-query/computeVolumesDeleteStandaloneVolume.js.map +1 -0
  654. package/dist/esm/react-query/computeVolumesGetStandaloneVolume.core.d.ts +14 -0
  655. package/dist/esm/react-query/computeVolumesGetStandaloneVolume.core.d.ts.map +1 -0
  656. package/dist/esm/react-query/computeVolumesGetStandaloneVolume.core.js +37 -0
  657. package/dist/esm/react-query/computeVolumesGetStandaloneVolume.core.js.map +1 -0
  658. package/dist/esm/react-query/computeVolumesGetStandaloneVolume.d.ts +29 -0
  659. package/dist/esm/react-query/computeVolumesGetStandaloneVolume.d.ts.map +1 -0
  660. package/dist/esm/react-query/computeVolumesGetStandaloneVolume.js +49 -0
  661. package/dist/esm/react-query/computeVolumesGetStandaloneVolume.js.map +1 -0
  662. package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.core.d.ts +18 -0
  663. package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.core.d.ts.map +1 -0
  664. package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.core.js +40 -0
  665. package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.core.js.map +1 -0
  666. package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.d.ts +39 -0
  667. package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.d.ts.map +1 -0
  668. package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.js +53 -0
  669. package/dist/esm/react-query/computeVolumesListStandaloneVolumeAttachments.js.map +1 -0
  670. package/dist/esm/react-query/computeVolumesListStandaloneVolumes.core.d.ts +18 -0
  671. package/dist/esm/react-query/computeVolumesListStandaloneVolumes.core.d.ts.map +1 -0
  672. package/dist/esm/react-query/computeVolumesListStandaloneVolumes.core.js +39 -0
  673. package/dist/esm/react-query/computeVolumesListStandaloneVolumes.core.js.map +1 -0
  674. package/dist/esm/react-query/computeVolumesListStandaloneVolumes.d.ts +37 -0
  675. package/dist/esm/react-query/computeVolumesListStandaloneVolumes.d.ts.map +1 -0
  676. package/dist/esm/react-query/computeVolumesListStandaloneVolumes.js +49 -0
  677. package/dist/esm/react-query/computeVolumesListStandaloneVolumes.js.map +1 -0
  678. package/dist/esm/react-query/index.d.ts +7 -0
  679. package/dist/esm/react-query/index.d.ts.map +1 -1
  680. package/dist/esm/react-query/index.js +7 -0
  681. package/dist/esm/react-query/index.js.map +1 -1
  682. package/dist/esm/sdk/computepricing.d.ts +19 -0
  683. package/dist/esm/sdk/computepricing.d.ts.map +1 -0
  684. package/dist/esm/sdk/computepricing.js +28 -0
  685. package/dist/esm/sdk/computepricing.js.map +1 -0
  686. package/dist/esm/sdk/computevolumes.d.ts +28 -0
  687. package/dist/esm/sdk/computevolumes.d.ts.map +1 -0
  688. package/dist/esm/sdk/computevolumes.js +46 -0
  689. package/dist/esm/sdk/computevolumes.js.map +1 -0
  690. package/dist/esm/sdk/sdk.d.ts +6 -0
  691. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  692. package/dist/esm/sdk/sdk.js +8 -0
  693. package/dist/esm/sdk/sdk.js.map +1 -1
  694. package/dist/esm/types/discriminatedUnion.d.ts +25 -0
  695. package/dist/esm/types/discriminatedUnion.d.ts.map +1 -0
  696. package/dist/esm/types/discriminatedUnion.js +57 -0
  697. package/dist/esm/types/discriminatedUnion.js.map +1 -0
  698. package/jsr.json +1 -1
  699. package/package.json +1 -1
  700. package/src/funcs/computePricingGetPricing.ts +188 -0
  701. package/src/funcs/computePricingPutPricing.ts +200 -0
  702. package/src/funcs/computeVolumesCreateStandaloneVolume.ts +185 -0
  703. package/src/funcs/computeVolumesDeleteStandaloneVolume.ts +186 -0
  704. package/src/funcs/computeVolumesGetStandaloneVolume.ts +183 -0
  705. package/src/funcs/computeVolumesListStandaloneVolumeAttachments.ts +200 -0
  706. package/src/funcs/computeVolumesListStandaloneVolumes.ts +184 -0
  707. package/src/hooks/multipartFilename.ts +60 -0
  708. package/src/hooks/registration.ts +2 -1
  709. package/src/lib/config.ts +3 -3
  710. package/src/mcp-server/mcp-server.ts +1 -1
  711. package/src/mcp-server/server.ts +15 -1
  712. package/src/mcp-server/tools/computePricingGetPricing.ts +37 -0
  713. package/src/mcp-server/tools/computePricingPutPricing.ts +37 -0
  714. package/src/mcp-server/tools/computeVolumesCreateStandaloneVolume.ts +37 -0
  715. package/src/mcp-server/tools/computeVolumesDeleteStandaloneVolume.ts +39 -0
  716. package/src/mcp-server/tools/computeVolumesGetStandaloneVolume.ts +37 -0
  717. package/src/mcp-server/tools/computeVolumesListStandaloneVolumeAttachments.ts +38 -0
  718. package/src/mcp-server/tools/computeVolumesListStandaloneVolumes.ts +37 -0
  719. package/src/models/components/agentschedulespec.ts +9 -6
  720. package/src/models/components/chunkingstrategy.ts +9 -6
  721. package/src/models/components/codeinterpreteroutput.ts +8 -5
  722. package/src/models/components/computejob.ts +10 -0
  723. package/src/models/components/computejobcreate.ts +10 -0
  724. package/src/models/components/computeoffer.ts +6 -0
  725. package/src/models/components/computepricing.ts +71 -0
  726. package/src/models/components/computepricingupdate.ts +63 -0
  727. package/src/models/components/computeraction.ts +15 -12
  728. package/src/models/components/computeresourcecreate.ts +10 -0
  729. package/src/models/components/computeservice.ts +10 -0
  730. package/src/models/components/computestandalonevolume.ts +153 -0
  731. package/src/models/components/computestandalonevolumeattachment.ts +118 -0
  732. package/src/models/components/computestandalonevolumeattachmentlist.ts +77 -0
  733. package/src/models/components/computestandalonevolumeattachmentstate.ts +28 -0
  734. package/src/models/components/computestandalonevolumecreate.ts +53 -0
  735. package/src/models/components/computestandalonevolumelist.ts +76 -0
  736. package/src/models/components/computestandalonevolumemount.ts +68 -0
  737. package/src/models/components/computestandalonevolumestate.ts +26 -0
  738. package/src/models/components/computetenant.ts +6 -0
  739. package/src/models/components/computetenantupdate.ts +6 -0
  740. package/src/models/components/computeusage.ts +132 -9
  741. package/src/models/components/computeusageresourcetype.ts +24 -0
  742. package/src/models/components/customtoolformat.ts +10 -2
  743. package/src/models/components/filesearchcompoundfilter.ts +41 -39
  744. package/src/models/components/guardrailconfig.ts +9 -6
  745. package/src/models/components/index.ts +11 -0
  746. package/src/models/components/method.ts +75 -43
  747. package/src/models/components/openaichatcompletionchoice.ts +24 -21
  748. package/src/models/components/openaichatcompletionchunk.ts +24 -21
  749. package/src/models/components/outputmessage.ts +19 -10
  750. package/src/models/components/outputmessagewithid.ts +19 -10
  751. package/src/models/components/outputtext.ts +23 -16
  752. package/src/models/components/responsecontentpartaddedevent.ts +25 -13
  753. package/src/models/components/responsecontentpartdoneevent.ts +22 -12
  754. package/src/models/components/responseformat.ts +9 -6
  755. package/src/models/components/responseobject.ts +62 -48
  756. package/src/models/components/responsestreamingevent.ts +118 -68
  757. package/src/models/components/shellenvironment.ts +8 -5
  758. package/src/models/components/skillentry.ts +10 -5
  759. package/src/models/components/tooldefinition.ts +42 -31
  760. package/src/models/components/websearchaction.ts +12 -6
  761. package/src/models/operations/createchatcompletionstream.ts +12 -6
  762. package/src/models/operations/createstandalonevolume.ts +128 -0
  763. package/src/models/operations/deletestandalonevolume.ts +117 -0
  764. package/src/models/operations/getcomputeusage.ts +9 -3
  765. package/src/models/operations/getpricing.ts +174 -0
  766. package/src/models/operations/getstandalonevolume.ts +115 -0
  767. package/src/models/operations/index.ts +7 -0
  768. package/src/models/operations/liststandalonevolumeattachments.ts +140 -0
  769. package/src/models/operations/liststandalonevolumes.ts +125 -0
  770. package/src/models/operations/putpricing.ts +195 -0
  771. package/src/models/operations/uploadfile.ts +1 -1
  772. package/src/react-query/computePricingGetPricing.core.ts +74 -0
  773. package/src/react-query/computePricingGetPricing.ts +143 -0
  774. package/src/react-query/computePricingPutPricing.ts +109 -0
  775. package/src/react-query/computeUsageGetComputeUsage.core.ts +1 -1
  776. package/src/react-query/computeUsageGetComputeUsage.ts +2 -2
  777. package/src/react-query/computeVolumesCreateStandaloneVolume.ts +106 -0
  778. package/src/react-query/computeVolumesDeleteStandaloneVolume.ts +109 -0
  779. package/src/react-query/computeVolumesGetStandaloneVolume.core.ts +82 -0
  780. package/src/react-query/computeVolumesGetStandaloneVolume.ts +140 -0
  781. package/src/react-query/computeVolumesListStandaloneVolumeAttachments.core.ts +95 -0
  782. package/src/react-query/computeVolumesListStandaloneVolumeAttachments.ts +162 -0
  783. package/src/react-query/computeVolumesListStandaloneVolumes.core.ts +89 -0
  784. package/src/react-query/computeVolumesListStandaloneVolumes.ts +153 -0
  785. package/src/react-query/index.ts +7 -0
  786. package/src/sdk/computepricing.ts +45 -0
  787. package/src/sdk/computevolumes.ts +87 -0
  788. package/src/sdk/sdk.ts +12 -0
  789. package/src/types/discriminatedUnion.ts +96 -0
@@ -5,6 +5,8 @@
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
+ import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
9
+ import { discriminatedUnion } from "../../types/discriminatedUnion.js";
8
10
  import { Result as SafeParseResult } from "../../types/fp.js";
9
11
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
12
  import {
@@ -29,7 +31,8 @@ import {
29
31
  export type ResponseContentPartDoneEventPart =
30
32
  | (OutputText & { type: "output_text" })
31
33
  | (Refusal & { type: "refusal" })
32
- | (ReasoningText & { type: "reasoning_text" });
34
+ | (ReasoningText & { type: "reasoning_text" })
35
+ | discriminatedUnionTypes.Unknown<"type">;
33
36
 
34
37
  export type ResponseContentPartDoneEvent = {
35
38
  type: "response.content_part.done";
@@ -40,7 +43,8 @@ export type ResponseContentPartDoneEvent = {
40
43
  part:
41
44
  | (OutputText & { type: "output_text" })
42
45
  | (Refusal & { type: "refusal" })
43
- | (ReasoningText & { type: "reasoning_text" });
46
+ | (ReasoningText & { type: "reasoning_text" })
47
+ | discriminatedUnionTypes.Unknown<"type">;
44
48
  };
45
49
 
46
50
  /** @internal */
@@ -48,13 +52,15 @@ export const ResponseContentPartDoneEventPart$inboundSchema: z.ZodType<
48
52
  ResponseContentPartDoneEventPart,
49
53
  z.ZodTypeDef,
50
54
  unknown
51
- > = z.union([
52
- OutputText$inboundSchema.and(z.object({ type: z.literal("output_text") })),
53
- Refusal$inboundSchema.and(z.object({ type: z.literal("refusal") })),
54
- ReasoningText$inboundSchema.and(
55
+ > = discriminatedUnion("type", {
56
+ output_text: OutputText$inboundSchema.and(
57
+ z.object({ type: z.literal("output_text") }),
58
+ ),
59
+ refusal: Refusal$inboundSchema.and(z.object({ type: z.literal("refusal") })),
60
+ reasoning_text: ReasoningText$inboundSchema.and(
55
61
  z.object({ type: z.literal("reasoning_text") }),
56
62
  ),
57
- ]);
63
+ });
58
64
  /** @internal */
59
65
  export type ResponseContentPartDoneEventPart$Outbound =
60
66
  | (OutputText$Outbound & { type: "output_text" })
@@ -104,13 +110,17 @@ export const ResponseContentPartDoneEvent$inboundSchema: z.ZodType<
104
110
  item_id: z.string(),
105
111
  output_index: z.number().int(),
106
112
  content_index: z.number().int(),
107
- part: z.union([
108
- OutputText$inboundSchema.and(z.object({ type: z.literal("output_text") })),
109
- Refusal$inboundSchema.and(z.object({ type: z.literal("refusal") })),
110
- ReasoningText$inboundSchema.and(
113
+ part: discriminatedUnion("type", {
114
+ output_text: OutputText$inboundSchema.and(
115
+ z.object({ type: z.literal("output_text") }),
116
+ ),
117
+ refusal: Refusal$inboundSchema.and(
118
+ z.object({ type: z.literal("refusal") }),
119
+ ),
120
+ reasoning_text: ReasoningText$inboundSchema.and(
111
121
  z.object({ type: z.literal("reasoning_text") }),
112
122
  ),
113
- ]),
123
+ }),
114
124
  }).transform((v) => {
115
125
  return remap$(v, {
116
126
  "sequence_number": "sequenceNumber",
@@ -4,6 +4,8 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
8
+ import { discriminatedUnion } from "../../types/discriminatedUnion.js";
7
9
  import { Result as SafeParseResult } from "../../types/fp.js";
8
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
11
  import {
@@ -28,18 +30,19 @@ import {
28
30
  export type ResponseFormat =
29
31
  | TextResponseFormat
30
32
  | JSONSchemaResponseFormat
31
- | JSONObjectResponseFormat;
33
+ | JSONObjectResponseFormat
34
+ | discriminatedUnionTypes.Unknown<"type">;
32
35
 
33
36
  /** @internal */
34
37
  export const ResponseFormat$inboundSchema: z.ZodType<
35
38
  ResponseFormat,
36
39
  z.ZodTypeDef,
37
40
  unknown
38
- > = z.union([
39
- TextResponseFormat$inboundSchema,
40
- JSONSchemaResponseFormat$inboundSchema,
41
- JSONObjectResponseFormat$inboundSchema,
42
- ]);
41
+ > = discriminatedUnion("type", {
42
+ text: TextResponseFormat$inboundSchema,
43
+ json_schema: JSONSchemaResponseFormat$inboundSchema,
44
+ json_object: JSONObjectResponseFormat$inboundSchema,
45
+ });
43
46
  /** @internal */
44
47
  export type ResponseFormat$Outbound =
45
48
  | TextResponseFormat$Outbound
@@ -5,6 +5,8 @@
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
+ import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
9
+ import { discriminatedUnion } from "../../types/discriminatedUnion.js";
8
10
  import { ClosedEnum } from "../../types/enums.js";
9
11
  import { Result as SafeParseResult } from "../../types/fp.js";
10
12
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
@@ -197,7 +199,8 @@ export type FiltersFilters =
197
199
  | (ComparisonFilter & { type: "lt" })
198
200
  | (ComparisonFilter & { type: "lte" })
199
201
  | (ResponseObjectFilters2 & { type: "and" })
200
- | (ResponseObjectFilters2 & { type: "or" });
202
+ | (ResponseObjectFilters2 & { type: "or" })
203
+ | discriminatedUnionTypes.Unknown<"type">;
201
204
 
202
205
  export type Filters2 = {
203
206
  type: FiltersType;
@@ -210,6 +213,7 @@ export type Filters2 = {
210
213
  | (ComparisonFilter & { type: "lte" })
211
214
  | (ResponseObjectFilters2 & { type: "and" })
212
215
  | (ResponseObjectFilters2 & { type: "or" })
216
+ | discriminatedUnionTypes.Unknown<"type">
213
217
  >;
214
218
  };
215
219
 
@@ -221,7 +225,8 @@ export type ToolsFilters =
221
225
  | (ComparisonFilter & { type: "lt" })
222
226
  | (ComparisonFilter & { type: "lte" })
223
227
  | (Filters2 & { type: "and" })
224
- | (Filters2 & { type: "or" });
228
+ | (Filters2 & { type: "or" })
229
+ | discriminatedUnionTypes.Unknown<"type">;
225
230
 
226
231
  /**
227
232
  * File search tool definition: Configures semantic search over one or more vector stores, with optional filters, ranking options, and result limits.
@@ -238,6 +243,7 @@ export type ToolsFileSearchToolDefinition = {
238
243
  | (ComparisonFilter & { type: "lte" })
239
244
  | (Filters2 & { type: "and" })
240
245
  | (Filters2 & { type: "or" })
246
+ | discriminatedUnionTypes.Unknown<"type">
241
247
  | undefined;
242
248
  maxNumResults?: number | undefined;
243
249
  rankingOptions?: RankingOptions | undefined;
@@ -426,20 +432,20 @@ export const FiltersFilters$inboundSchema: z.ZodType<
426
432
  FiltersFilters,
427
433
  z.ZodTypeDef,
428
434
  unknown
429
- > = z.union([
430
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("eq") })),
431
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("ne") })),
432
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gt") })),
433
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gte") })),
434
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lt") })),
435
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lte") })),
436
- z.lazy(() => ResponseObjectFilters2$inboundSchema).and(
435
+ > = discriminatedUnion("type", {
436
+ eq: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("eq") })),
437
+ ne: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("ne") })),
438
+ gt: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gt") })),
439
+ gte: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gte") })),
440
+ lt: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lt") })),
441
+ lte: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lte") })),
442
+ and: z.lazy(() => ResponseObjectFilters2$inboundSchema).and(
437
443
  z.object({ type: z.literal("and") }),
438
444
  ),
439
- z.lazy(() => ResponseObjectFilters2$inboundSchema).and(
445
+ or: z.lazy(() => ResponseObjectFilters2$inboundSchema).and(
440
446
  z.object({ type: z.literal("or") }),
441
447
  ),
442
- ]);
448
+ });
443
449
  /** @internal */
444
450
  export type FiltersFilters$Outbound =
445
451
  | (ComparisonFilter$Outbound & { type: "eq" })
@@ -491,22 +497,24 @@ export const Filters2$inboundSchema: z.ZodType<
491
497
  unknown
492
498
  > = z.object({
493
499
  type: FiltersType$inboundSchema,
494
- filters: z.array(
495
- z.union([
496
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("eq") })),
497
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("ne") })),
498
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gt") })),
499
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gte") })),
500
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lt") })),
501
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lte") })),
502
- z.lazy(() => ResponseObjectFilters2$inboundSchema).and(
503
- z.object({ type: z.literal("and") }),
504
- ),
505
- z.lazy(() => ResponseObjectFilters2$inboundSchema).and(
506
- z.object({ type: z.literal("or") }),
507
- ),
508
- ]),
509
- ),
500
+ filters: z.array(discriminatedUnion("type", {
501
+ eq: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("eq") })),
502
+ ne: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("ne") })),
503
+ gt: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gt") })),
504
+ gte: ComparisonFilter$inboundSchema.and(
505
+ z.object({ type: z.literal("gte") }),
506
+ ),
507
+ lt: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lt") })),
508
+ lte: ComparisonFilter$inboundSchema.and(
509
+ z.object({ type: z.literal("lte") }),
510
+ ),
511
+ and: z.lazy(() => ResponseObjectFilters2$inboundSchema).and(
512
+ z.object({ type: z.literal("and") }),
513
+ ),
514
+ or: z.lazy(() => ResponseObjectFilters2$inboundSchema).and(
515
+ z.object({ type: z.literal("or") }),
516
+ ),
517
+ })),
510
518
  });
511
519
  /** @internal */
512
520
  export type Filters2$Outbound = {
@@ -566,18 +574,20 @@ export const ToolsFilters$inboundSchema: z.ZodType<
566
574
  ToolsFilters,
567
575
  z.ZodTypeDef,
568
576
  unknown
569
- > = z.union([
570
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("eq") })),
571
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("ne") })),
572
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gt") })),
573
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gte") })),
574
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lt") })),
575
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lte") })),
576
- z.lazy(() => Filters2$inboundSchema).and(
577
+ > = discriminatedUnion("type", {
578
+ eq: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("eq") })),
579
+ ne: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("ne") })),
580
+ gt: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gt") })),
581
+ gte: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gte") })),
582
+ lt: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lt") })),
583
+ lte: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lte") })),
584
+ and: z.lazy(() => Filters2$inboundSchema).and(
577
585
  z.object({ type: z.literal("and") }),
578
586
  ),
579
- z.lazy(() => Filters2$inboundSchema).and(z.object({ type: z.literal("or") })),
580
- ]);
587
+ or: z.lazy(() => Filters2$inboundSchema).and(
588
+ z.object({ type: z.literal("or") }),
589
+ ),
590
+ });
581
591
  /** @internal */
582
592
  export type ToolsFilters$Outbound =
583
593
  | (ComparisonFilter$Outbound & { type: "eq" })
@@ -630,20 +640,24 @@ export const ToolsFileSearchToolDefinition$inboundSchema: z.ZodType<
630
640
  > = z.object({
631
641
  type: z.literal("file_search"),
632
642
  vector_store_ids: z.array(z.string()),
633
- filters: z.union([
634
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("eq") })),
635
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("ne") })),
636
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gt") })),
637
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gte") })),
638
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lt") })),
639
- ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lte") })),
640
- z.lazy(() => Filters2$inboundSchema).and(
643
+ filters: discriminatedUnion("type", {
644
+ eq: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("eq") })),
645
+ ne: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("ne") })),
646
+ gt: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("gt") })),
647
+ gte: ComparisonFilter$inboundSchema.and(
648
+ z.object({ type: z.literal("gte") }),
649
+ ),
650
+ lt: ComparisonFilter$inboundSchema.and(z.object({ type: z.literal("lt") })),
651
+ lte: ComparisonFilter$inboundSchema.and(
652
+ z.object({ type: z.literal("lte") }),
653
+ ),
654
+ and: z.lazy(() => Filters2$inboundSchema).and(
641
655
  z.object({ type: z.literal("and") }),
642
656
  ),
643
- z.lazy(() => Filters2$inboundSchema).and(
657
+ or: z.lazy(() => Filters2$inboundSchema).and(
644
658
  z.object({ type: z.literal("or") }),
645
659
  ),
646
- ]).optional(),
660
+ }).optional(),
647
661
  max_num_results: z.number().int().optional(),
648
662
  ranking_options: RankingOptions$inboundSchema.optional(),
649
663
  }).transform((v) => {
@@ -4,6 +4,8 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
8
+ import { discriminatedUnion } from "../../types/discriminatedUnion.js";
7
9
  import { Result as SafeParseResult } from "../../types/fp.js";
8
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
11
  import {
@@ -462,80 +464,128 @@ export type ResponseStreamingEvent =
462
464
  | ResponseCustomToolCallInputDeltaEvent
463
465
  | ResponseCustomToolCallInputDoneEvent
464
466
  | ResponseOutputTextAnnotationAddedEvent
465
- | ErrorEvent;
467
+ | ErrorEvent
468
+ | discriminatedUnionTypes.Unknown<"type">;
466
469
 
467
470
  /** @internal */
468
471
  export const ResponseStreamingEvent$inboundSchema: z.ZodType<
469
472
  ResponseStreamingEvent,
470
473
  z.ZodTypeDef,
471
474
  unknown
472
- > = z.union([
473
- ResponseCreatedEvent$inboundSchema,
474
- ResponseInProgressEvent$inboundSchema,
475
- ResponseCompletedEvent$inboundSchema,
476
- ResponseFailedEvent$inboundSchema,
477
- ResponseIncompleteEvent$inboundSchema,
478
- ResponseQueuedEvent$inboundSchema,
479
- ResponseCancelledEvent$inboundSchema,
480
- ResponseOutputItemAddedEvent$inboundSchema,
481
- ResponseOutputItemDoneEvent$inboundSchema,
482
- ResponseContentPartAddedEvent$inboundSchema,
483
- ResponseContentPartDoneEvent$inboundSchema,
484
- ResponseOutputTextDeltaEvent$inboundSchema,
485
- ResponseOutputTextDoneEvent$inboundSchema,
486
- ResponseRefusalDeltaEvent$inboundSchema,
487
- ResponseRefusalDoneEvent$inboundSchema,
488
- ResponseFunctionCallArgumentsDeltaEvent$inboundSchema,
489
- ResponseFunctionCallArgumentsDoneEvent$inboundSchema,
490
- ResponseFileSearchCallInProgressEvent$inboundSchema,
491
- ResponseFileSearchCallSearchingEvent$inboundSchema,
492
- ResponseFileSearchCallCompletedEvent$inboundSchema,
493
- ResponseWebSearchCallInProgressEvent$inboundSchema,
494
- ResponseWebSearchCallSearchingEvent$inboundSchema,
495
- ResponseWebSearchCallCompletedEvent$inboundSchema,
496
- ResponseHistoryCallInProgressEvent$inboundSchema,
497
- ResponseHistoryCallSearchingEvent$inboundSchema,
498
- ResponseHistoryCallCompletedEvent$inboundSchema,
499
- ResponseSleepCallInProgressEvent$inboundSchema,
500
- ResponseSleepCallSleepingEvent$inboundSchema,
501
- ResponseSleepCallCompletedEvent$inboundSchema,
502
- ResponseToolSearchCallInProgressEvent$inboundSchema,
503
- ResponseToolSearchCallSearchingEvent$inboundSchema,
504
- ResponseToolSearchCallCompletedEvent$inboundSchema,
505
- ResponseReasoningSummaryPartAddedEvent$inboundSchema,
506
- ResponseReasoningSummaryPartDoneEvent$inboundSchema,
507
- ResponseReasoningSummaryTextDeltaEvent$inboundSchema,
508
- ResponseReasoningSummaryTextDoneEvent$inboundSchema,
509
- ResponseReasoningTextDeltaEvent$inboundSchema,
510
- ResponseReasoningTextDoneEvent$inboundSchema,
511
- ResponseImageGenerationCallInProgressEvent$inboundSchema,
512
- ResponseImageGenerationCallGeneratingEvent$inboundSchema,
513
- ResponseImageGenerationCallCompletedEvent$inboundSchema,
514
- ResponseImageGenerationCallPartialImageEvent$inboundSchema,
515
- ResponseMCPCallArgumentsDeltaEvent$inboundSchema,
516
- ResponseMCPCallArgumentsDoneEvent$inboundSchema,
517
- ResponseMCPCallInProgressEvent$inboundSchema,
518
- ResponseMCPCallCompletedEvent$inboundSchema,
519
- ResponseMCPCallFailedEvent$inboundSchema,
520
- ResponseMCPListToolsInProgressEvent$inboundSchema,
521
- ResponseMCPListToolsCompletedEvent$inboundSchema,
522
- ResponseMCPListToolsFailedEvent$inboundSchema,
523
- ResponseReadFileCallInProgressEvent$inboundSchema,
524
- ResponseReadFileCallReadingEvent$inboundSchema,
525
- ResponseReadFileCallCompletedEvent$inboundSchema,
526
- ResponseCodeInterpreterCallInProgressEvent$inboundSchema,
527
- ResponseCodeInterpreterCallInterpretingEvent$inboundSchema,
528
- ResponseCodeInterpreterCallCompletedEvent$inboundSchema,
529
- ResponseCodeInterpreterCallCodeDeltaEvent$inboundSchema,
530
- ResponseCodeInterpreterCallCodeDoneEvent$inboundSchema,
531
- ResponseShellCallInProgressEvent$inboundSchema,
532
- ResponseShellCallExecutingEvent$inboundSchema,
533
- ResponseShellCallCompletedEvent$inboundSchema,
534
- ResponseCustomToolCallInputDeltaEvent$inboundSchema,
535
- ResponseCustomToolCallInputDoneEvent$inboundSchema,
536
- ResponseOutputTextAnnotationAddedEvent$inboundSchema,
537
- ErrorEvent$inboundSchema,
538
- ]);
475
+ > = discriminatedUnion("type", {
476
+ ["response.created"]: ResponseCreatedEvent$inboundSchema,
477
+ ["response.in_progress"]: ResponseInProgressEvent$inboundSchema,
478
+ ["response.completed"]: ResponseCompletedEvent$inboundSchema,
479
+ ["response.failed"]: ResponseFailedEvent$inboundSchema,
480
+ ["response.incomplete"]: ResponseIncompleteEvent$inboundSchema,
481
+ ["response.queued"]: ResponseQueuedEvent$inboundSchema,
482
+ ["response.cancelled"]: ResponseCancelledEvent$inboundSchema,
483
+ ["response.output_item.added"]: ResponseOutputItemAddedEvent$inboundSchema,
484
+ ["response.output_item.done"]: ResponseOutputItemDoneEvent$inboundSchema,
485
+ ["response.content_part.added"]: ResponseContentPartAddedEvent$inboundSchema,
486
+ ["response.content_part.done"]: ResponseContentPartDoneEvent$inboundSchema,
487
+ ["response.output_text.delta"]: ResponseOutputTextDeltaEvent$inboundSchema,
488
+ ["response.output_text.done"]: ResponseOutputTextDoneEvent$inboundSchema,
489
+ ["response.refusal.delta"]: ResponseRefusalDeltaEvent$inboundSchema,
490
+ ["response.refusal.done"]: ResponseRefusalDoneEvent$inboundSchema,
491
+ ["response.function_call_arguments.delta"]:
492
+ ResponseFunctionCallArgumentsDeltaEvent$inboundSchema,
493
+ ["response.function_call_arguments.done"]:
494
+ ResponseFunctionCallArgumentsDoneEvent$inboundSchema,
495
+ ["response.file_search_call.in_progress"]:
496
+ ResponseFileSearchCallInProgressEvent$inboundSchema,
497
+ ["response.file_search_call.searching"]:
498
+ ResponseFileSearchCallSearchingEvent$inboundSchema,
499
+ ["response.file_search_call.completed"]:
500
+ ResponseFileSearchCallCompletedEvent$inboundSchema,
501
+ ["response.web_search_call.in_progress"]:
502
+ ResponseWebSearchCallInProgressEvent$inboundSchema,
503
+ ["response.web_search_call.searching"]:
504
+ ResponseWebSearchCallSearchingEvent$inboundSchema,
505
+ ["response.web_search_call.completed"]:
506
+ ResponseWebSearchCallCompletedEvent$inboundSchema,
507
+ ["response.history_call.in_progress"]:
508
+ ResponseHistoryCallInProgressEvent$inboundSchema,
509
+ ["response.history_call.searching"]:
510
+ ResponseHistoryCallSearchingEvent$inboundSchema,
511
+ ["response.history_call.completed"]:
512
+ ResponseHistoryCallCompletedEvent$inboundSchema,
513
+ ["response.sleep_call.in_progress"]:
514
+ ResponseSleepCallInProgressEvent$inboundSchema,
515
+ ["response.sleep_call.sleeping"]:
516
+ ResponseSleepCallSleepingEvent$inboundSchema,
517
+ ["response.sleep_call.completed"]:
518
+ ResponseSleepCallCompletedEvent$inboundSchema,
519
+ ["response.tool_search_call.in_progress"]:
520
+ ResponseToolSearchCallInProgressEvent$inboundSchema,
521
+ ["response.tool_search_call.searching"]:
522
+ ResponseToolSearchCallSearchingEvent$inboundSchema,
523
+ ["response.tool_search_call.completed"]:
524
+ ResponseToolSearchCallCompletedEvent$inboundSchema,
525
+ ["response.reasoning_summary_part.added"]:
526
+ ResponseReasoningSummaryPartAddedEvent$inboundSchema,
527
+ ["response.reasoning_summary_part.done"]:
528
+ ResponseReasoningSummaryPartDoneEvent$inboundSchema,
529
+ ["response.reasoning_summary_text.delta"]:
530
+ ResponseReasoningSummaryTextDeltaEvent$inboundSchema,
531
+ ["response.reasoning_summary_text.done"]:
532
+ ResponseReasoningSummaryTextDoneEvent$inboundSchema,
533
+ ["response.reasoning_text.delta"]:
534
+ ResponseReasoningTextDeltaEvent$inboundSchema,
535
+ ["response.reasoning_text.done"]:
536
+ ResponseReasoningTextDoneEvent$inboundSchema,
537
+ ["response.image_generation_call.in_progress"]:
538
+ ResponseImageGenerationCallInProgressEvent$inboundSchema,
539
+ ["response.image_generation_call.generating"]:
540
+ ResponseImageGenerationCallGeneratingEvent$inboundSchema,
541
+ ["response.image_generation_call.completed"]:
542
+ ResponseImageGenerationCallCompletedEvent$inboundSchema,
543
+ ["response.image_generation_call.partial_image"]:
544
+ ResponseImageGenerationCallPartialImageEvent$inboundSchema,
545
+ ["response.mcp_call_arguments.delta"]:
546
+ ResponseMCPCallArgumentsDeltaEvent$inboundSchema,
547
+ ["response.mcp_call_arguments.done"]:
548
+ ResponseMCPCallArgumentsDoneEvent$inboundSchema,
549
+ ["response.mcp_call.in_progress"]:
550
+ ResponseMCPCallInProgressEvent$inboundSchema,
551
+ ["response.mcp_call.completed"]: ResponseMCPCallCompletedEvent$inboundSchema,
552
+ ["response.mcp_call.failed"]: ResponseMCPCallFailedEvent$inboundSchema,
553
+ ["response.mcp_list_tools.in_progress"]:
554
+ ResponseMCPListToolsInProgressEvent$inboundSchema,
555
+ ["response.mcp_list_tools.completed"]:
556
+ ResponseMCPListToolsCompletedEvent$inboundSchema,
557
+ ["response.mcp_list_tools.failed"]:
558
+ ResponseMCPListToolsFailedEvent$inboundSchema,
559
+ ["response.read_file_call.in_progress"]:
560
+ ResponseReadFileCallInProgressEvent$inboundSchema,
561
+ ["response.read_file_call.reading"]:
562
+ ResponseReadFileCallReadingEvent$inboundSchema,
563
+ ["response.read_file_call.completed"]:
564
+ ResponseReadFileCallCompletedEvent$inboundSchema,
565
+ ["response.code_interpreter_call.in_progress"]:
566
+ ResponseCodeInterpreterCallInProgressEvent$inboundSchema,
567
+ ["response.code_interpreter_call.interpreting"]:
568
+ ResponseCodeInterpreterCallInterpretingEvent$inboundSchema,
569
+ ["response.code_interpreter_call.completed"]:
570
+ ResponseCodeInterpreterCallCompletedEvent$inboundSchema,
571
+ ["response.code_interpreter_call_code.delta"]:
572
+ ResponseCodeInterpreterCallCodeDeltaEvent$inboundSchema,
573
+ ["response.code_interpreter_call_code.done"]:
574
+ ResponseCodeInterpreterCallCodeDoneEvent$inboundSchema,
575
+ ["response.shell_call.in_progress"]:
576
+ ResponseShellCallInProgressEvent$inboundSchema,
577
+ ["response.shell_call.executing"]:
578
+ ResponseShellCallExecutingEvent$inboundSchema,
579
+ ["response.shell_call.completed"]:
580
+ ResponseShellCallCompletedEvent$inboundSchema,
581
+ ["response.custom_tool_call_input.delta"]:
582
+ ResponseCustomToolCallInputDeltaEvent$inboundSchema,
583
+ ["response.custom_tool_call_input.done"]:
584
+ ResponseCustomToolCallInputDoneEvent$inboundSchema,
585
+ ["response.output_text.annotation.added"]:
586
+ ResponseOutputTextAnnotationAddedEvent$inboundSchema,
587
+ error: ErrorEvent$inboundSchema,
588
+ });
539
589
  /** @internal */
540
590
  export type ResponseStreamingEvent$Outbound =
541
591
  | ResponseCreatedEvent$Outbound
@@ -4,6 +4,8 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
8
+ import { discriminatedUnion } from "../../types/discriminatedUnion.js";
7
9
  import { Result as SafeParseResult } from "../../types/fp.js";
8
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
11
  import {
@@ -21,17 +23,18 @@ import {
21
23
 
22
24
  export type ShellEnvironment =
23
25
  | ShellEnvironmentContainerAuto
24
- | ShellEnvironmentContainerReference;
26
+ | ShellEnvironmentContainerReference
27
+ | discriminatedUnionTypes.Unknown<"type">;
25
28
 
26
29
  /** @internal */
27
30
  export const ShellEnvironment$inboundSchema: z.ZodType<
28
31
  ShellEnvironment,
29
32
  z.ZodTypeDef,
30
33
  unknown
31
- > = z.union([
32
- ShellEnvironmentContainerAuto$inboundSchema,
33
- ShellEnvironmentContainerReference$inboundSchema,
34
- ]);
34
+ > = discriminatedUnion("type", {
35
+ container_auto: ShellEnvironmentContainerAuto$inboundSchema,
36
+ container_reference: ShellEnvironmentContainerReference$inboundSchema,
37
+ });
35
38
  /** @internal */
36
39
  export type ShellEnvironment$Outbound =
37
40
  | ShellEnvironmentContainerAuto$Outbound
@@ -4,6 +4,8 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
+ import * as discriminatedUnionTypes from "../../types/discriminatedUnion.js";
8
+ import { discriminatedUnion } from "../../types/discriminatedUnion.js";
7
9
  import { Result as SafeParseResult } from "../../types/fp.js";
8
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
11
  import {
@@ -19,17 +21,20 @@ import {
19
21
  SkillReference$outboundSchema,
20
22
  } from "./skillreference.js";
21
23
 
22
- export type SkillEntry = SkillReference | PreconfiguredSkillReference;
24
+ export type SkillEntry =
25
+ | SkillReference
26
+ | PreconfiguredSkillReference
27
+ | discriminatedUnionTypes.Unknown<"type">;
23
28
 
24
29
  /** @internal */
25
30
  export const SkillEntry$inboundSchema: z.ZodType<
26
31
  SkillEntry,
27
32
  z.ZodTypeDef,
28
33
  unknown
29
- > = z.union([
30
- SkillReference$inboundSchema,
31
- PreconfiguredSkillReference$inboundSchema,
32
- ]);
34
+ > = discriminatedUnion("type", {
35
+ skill_reference: SkillReference$inboundSchema,
36
+ preconfigured: PreconfiguredSkillReference$inboundSchema,
37
+ });
33
38
  /** @internal */
34
39
  export type SkillEntry$Outbound =
35
40
  | SkillReference$Outbound