@azure/ai-agents 1.0.0-alpha.20250502.6 → 1.0.0-alpha.20250507.2

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 (701) hide show
  1. package/dist/browser/agentsClient.d.ts +31 -93
  2. package/dist/browser/agentsClient.d.ts.map +1 -1
  3. package/dist/browser/agentsClient.js +17 -168
  4. package/dist/browser/agentsClient.js.map +1 -1
  5. package/dist/browser/api/agentsContext.js +2 -2
  6. package/dist/browser/api/agentsContext.js.map +1 -1
  7. package/dist/browser/api/files/index.d.ts +3 -0
  8. package/dist/browser/api/files/index.d.ts.map +1 -0
  9. package/dist/browser/api/files/index.js +4 -0
  10. package/dist/browser/api/files/index.js.map +1 -0
  11. package/dist/browser/api/files/operations.d.ts +45 -0
  12. package/dist/browser/api/files/operations.d.ts.map +1 -0
  13. package/dist/browser/api/files/operations.js +154 -0
  14. package/dist/browser/api/files/operations.js.map +1 -0
  15. package/dist/browser/api/files/options.d.ts +23 -0
  16. package/dist/browser/api/files/options.d.ts.map +1 -0
  17. package/dist/browser/api/files/options.js +4 -0
  18. package/dist/browser/api/files/options.js.map +1 -0
  19. package/dist/browser/api/index.d.ts +2 -2
  20. package/dist/browser/api/index.d.ts.map +1 -1
  21. package/dist/browser/api/index.js +1 -1
  22. package/dist/browser/api/index.js.map +1 -1
  23. package/dist/browser/api/messages/index.d.ts +3 -0
  24. package/dist/browser/api/messages/index.d.ts.map +1 -0
  25. package/dist/browser/api/messages/index.js +4 -0
  26. package/dist/browser/api/messages/index.js.map +1 -0
  27. package/dist/browser/api/messages/operations.d.ts +22 -0
  28. package/dist/browser/api/messages/operations.d.ts.map +1 -0
  29. package/dist/browser/api/messages/operations.js +108 -0
  30. package/dist/browser/api/messages/operations.js.map +1 -0
  31. package/dist/browser/api/messages/options.d.ts +31 -0
  32. package/dist/browser/api/messages/options.d.ts.map +1 -0
  33. package/dist/browser/api/messages/options.js +4 -0
  34. package/dist/browser/api/messages/options.js.map +1 -0
  35. package/dist/browser/api/operations.d.ts +8 -183
  36. package/dist/browser/api/operations.d.ts.map +1 -1
  37. package/dist/browser/api/operations.js +14 -1063
  38. package/dist/browser/api/operations.js.map +1 -1
  39. package/dist/browser/api/options.d.ts +25 -322
  40. package/dist/browser/api/options.d.ts.map +1 -1
  41. package/dist/browser/api/options.js.map +1 -1
  42. package/dist/browser/api/runSteps/index.d.ts +3 -0
  43. package/dist/browser/api/runSteps/index.d.ts.map +1 -0
  44. package/dist/browser/api/runSteps/index.js +4 -0
  45. package/dist/browser/api/runSteps/index.js.map +1 -0
  46. package/dist/browser/api/runSteps/operations.d.ts +14 -0
  47. package/dist/browser/api/runSteps/operations.d.ts.map +1 -0
  48. package/dist/browser/api/runSteps/operations.js +67 -0
  49. package/dist/browser/api/runSteps/operations.js.map +1 -0
  50. package/dist/browser/api/runSteps/options.d.ts +27 -0
  51. package/dist/browser/api/runSteps/options.d.ts.map +1 -0
  52. package/dist/browser/api/runSteps/options.js +4 -0
  53. package/dist/browser/api/runSteps/options.js.map +1 -0
  54. package/dist/browser/api/runs/index.d.ts +3 -0
  55. package/dist/browser/api/runs/index.d.ts.map +1 -0
  56. package/dist/browser/api/runs/index.js +4 -0
  57. package/dist/browser/api/runs/index.js.map +1 -0
  58. package/dist/browser/api/runs/operations.d.ts +31 -0
  59. package/dist/browser/api/runs/operations.d.ts.map +1 -0
  60. package/dist/browser/api/runs/operations.js +190 -0
  61. package/dist/browser/api/runs/operations.js.map +1 -0
  62. package/dist/browser/api/runs/options.d.ts +92 -0
  63. package/dist/browser/api/runs/options.d.ts.map +1 -0
  64. package/dist/browser/api/runs/options.js +4 -0
  65. package/dist/browser/api/runs/options.js.map +1 -0
  66. package/dist/browser/api/threads/index.d.ts +3 -0
  67. package/dist/browser/api/threads/index.d.ts.map +1 -0
  68. package/dist/browser/api/threads/index.js +4 -0
  69. package/dist/browser/api/threads/index.js.map +1 -0
  70. package/dist/browser/api/threads/operations.d.ts +26 -0
  71. package/dist/browser/api/threads/operations.d.ts.map +1 -0
  72. package/dist/browser/api/threads/operations.js +131 -0
  73. package/dist/browser/api/threads/operations.js.map +1 -0
  74. package/dist/browser/api/threads/options.d.ts +44 -0
  75. package/dist/browser/api/threads/options.d.ts.map +1 -0
  76. package/dist/browser/api/threads/options.js +4 -0
  77. package/dist/browser/api/threads/options.js.map +1 -0
  78. package/dist/browser/api/vectorStoreFileBatches/index.d.ts +3 -0
  79. package/dist/browser/api/vectorStoreFileBatches/index.d.ts.map +1 -0
  80. package/dist/browser/api/vectorStoreFileBatches/index.js +4 -0
  81. package/dist/browser/api/vectorStoreFileBatches/index.js.map +1 -0
  82. package/dist/browser/api/vectorStoreFileBatches/operations.d.ts +27 -0
  83. package/dist/browser/api/vectorStoreFileBatches/operations.d.ts.map +1 -0
  84. package/dist/browser/api/vectorStoreFileBatches/operations.js +161 -0
  85. package/dist/browser/api/vectorStoreFileBatches/operations.js.map +1 -0
  86. package/dist/browser/api/vectorStoreFileBatches/options.d.ts +32 -0
  87. package/dist/browser/api/vectorStoreFileBatches/options.d.ts.map +1 -0
  88. package/dist/browser/api/vectorStoreFileBatches/options.js +4 -0
  89. package/dist/browser/api/vectorStoreFileBatches/options.js.map +1 -0
  90. package/dist/browser/api/vectorStoreFiles/index.d.ts +3 -0
  91. package/dist/browser/api/vectorStoreFiles/index.d.ts.map +1 -0
  92. package/dist/browser/api/vectorStoreFiles/index.js +4 -0
  93. package/dist/browser/api/vectorStoreFiles/index.js.map +1 -0
  94. package/dist/browser/api/vectorStoreFiles/operations.d.ts +27 -0
  95. package/dist/browser/api/vectorStoreFiles/operations.d.ts.map +1 -0
  96. package/dist/browser/api/vectorStoreFiles/operations.js +176 -0
  97. package/dist/browser/api/vectorStoreFiles/operations.js.map +1 -0
  98. package/dist/browser/api/vectorStoreFiles/options.d.ts +32 -0
  99. package/dist/browser/api/vectorStoreFiles/options.d.ts.map +1 -0
  100. package/dist/browser/api/vectorStoreFiles/options.js +4 -0
  101. package/dist/browser/api/vectorStoreFiles/options.js.map +1 -0
  102. package/dist/browser/api/vectorStores/index.d.ts +3 -0
  103. package/dist/browser/api/vectorStores/index.d.ts.map +1 -0
  104. package/dist/browser/api/vectorStores/index.js +4 -0
  105. package/dist/browser/api/vectorStores/index.js.map +1 -0
  106. package/dist/browser/api/vectorStores/operations.d.ts +33 -0
  107. package/dist/browser/api/vectorStores/operations.d.ts.map +1 -0
  108. package/dist/browser/api/vectorStores/operations.js +184 -0
  109. package/dist/browser/api/vectorStores/operations.js.map +1 -0
  110. package/dist/browser/api/vectorStores/options.d.ts +45 -0
  111. package/dist/browser/api/vectorStores/options.d.ts.map +1 -0
  112. package/dist/browser/api/vectorStores/options.js +4 -0
  113. package/dist/browser/api/vectorStores/options.js.map +1 -0
  114. package/dist/browser/classic/files/index.d.ts +22 -0
  115. package/dist/browser/classic/files/index.d.ts.map +1 -0
  116. package/dist/browser/classic/files/index.js +17 -0
  117. package/dist/browser/classic/files/index.js.map +1 -0
  118. package/dist/browser/classic/index.d.ts +9 -0
  119. package/dist/browser/classic/index.d.ts.map +1 -0
  120. package/dist/browser/classic/index.js +4 -0
  121. package/dist/browser/classic/index.js.map +1 -0
  122. package/dist/browser/classic/messages/index.d.ts +17 -0
  123. package/dist/browser/classic/messages/index.d.ts.map +1 -0
  124. package/dist/browser/classic/messages/index.js +15 -0
  125. package/dist/browser/classic/messages/index.js.map +1 -0
  126. package/dist/browser/classic/runSteps/index.d.ts +14 -0
  127. package/dist/browser/classic/runSteps/index.d.ts.map +1 -0
  128. package/dist/browser/classic/runSteps/index.js +13 -0
  129. package/dist/browser/classic/runSteps/index.js.map +1 -0
  130. package/dist/browser/classic/runs/index.d.ts +25 -0
  131. package/dist/browser/classic/runs/index.d.ts.map +1 -0
  132. package/dist/browser/classic/runs/index.js +19 -0
  133. package/dist/browser/classic/runs/index.js.map +1 -0
  134. package/dist/browser/classic/threads/index.d.ts +19 -0
  135. package/dist/browser/classic/threads/index.d.ts.map +1 -0
  136. package/dist/browser/classic/threads/index.js +16 -0
  137. package/dist/browser/classic/threads/index.js.map +1 -0
  138. package/dist/browser/classic/vectorStoreFileBatches/index.d.ts +20 -0
  139. package/dist/browser/classic/vectorStoreFileBatches/index.d.ts.map +1 -0
  140. package/dist/browser/classic/vectorStoreFileBatches/index.js +16 -0
  141. package/dist/browser/classic/vectorStoreFileBatches/index.js.map +1 -0
  142. package/dist/browser/classic/vectorStoreFiles/index.d.ts +20 -0
  143. package/dist/browser/classic/vectorStoreFiles/index.d.ts.map +1 -0
  144. package/dist/browser/classic/vectorStoreFiles/index.js +14 -0
  145. package/dist/browser/classic/vectorStoreFiles/index.js.map +1 -0
  146. package/dist/browser/classic/vectorStores/index.d.ts +22 -0
  147. package/dist/browser/classic/vectorStores/index.d.ts.map +1 -0
  148. package/dist/browser/classic/vectorStores/index.js +17 -0
  149. package/dist/browser/classic/vectorStores/index.js.map +1 -0
  150. package/dist/browser/index.d.ts +14 -3
  151. package/dist/browser/index.d.ts.map +1 -1
  152. package/dist/browser/index.js +2 -2
  153. package/dist/browser/index.js.map +1 -1
  154. package/dist/browser/models/index.d.ts +1 -1
  155. package/dist/browser/models/index.d.ts.map +1 -1
  156. package/dist/browser/models/index.js +1 -1
  157. package/dist/browser/models/index.js.map +1 -1
  158. package/dist/browser/models/models.d.ts +412 -342
  159. package/dist/browser/models/models.d.ts.map +1 -1
  160. package/dist/browser/models/models.js +407 -295
  161. package/dist/browser/models/models.js.map +1 -1
  162. package/dist/browser/static-helpers/multipartHelpers.d.ts +1 -1
  163. package/dist/browser/static-helpers/multipartHelpers.d.ts.map +1 -1
  164. package/dist/browser/static-helpers/multipartHelpers.js.map +1 -1
  165. package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
  166. package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
  167. package/dist/browser/static-helpers/pagingHelpers.js +137 -0
  168. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  169. package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -1
  170. package/dist/browser/static-helpers/urlTemplate.js +2 -2
  171. package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
  172. package/dist/browser/utils.d.ts +26 -5
  173. package/dist/browser/utils.d.ts.map +1 -1
  174. package/dist/browser/utils.js +44 -8
  175. package/dist/browser/utils.js.map +1 -1
  176. package/dist/commonjs/agentsClient.d.ts +31 -93
  177. package/dist/commonjs/agentsClient.d.ts.map +1 -1
  178. package/dist/commonjs/agentsClient.js +16 -167
  179. package/dist/commonjs/agentsClient.js.map +1 -1
  180. package/dist/commonjs/api/agentsContext.js +2 -2
  181. package/dist/commonjs/api/agentsContext.js.map +1 -1
  182. package/dist/commonjs/api/files/index.d.ts +3 -0
  183. package/dist/commonjs/api/files/index.d.ts.map +1 -0
  184. package/dist/commonjs/api/files/index.js +12 -0
  185. package/dist/commonjs/api/files/index.js.map +1 -0
  186. package/dist/commonjs/api/files/operations.d.ts +45 -0
  187. package/dist/commonjs/api/files/operations.d.ts.map +1 -0
  188. package/dist/commonjs/api/files/operations.js +172 -0
  189. package/dist/commonjs/api/files/operations.js.map +1 -0
  190. package/dist/commonjs/api/files/options.d.ts +23 -0
  191. package/dist/commonjs/api/files/options.d.ts.map +1 -0
  192. package/dist/commonjs/api/files/options.js +5 -0
  193. package/dist/commonjs/api/files/options.js.map +1 -0
  194. package/dist/commonjs/api/index.d.ts +2 -2
  195. package/dist/commonjs/api/index.d.ts.map +1 -1
  196. package/dist/commonjs/api/index.js +2 -38
  197. package/dist/commonjs/api/index.js.map +1 -1
  198. package/dist/commonjs/api/messages/index.d.ts +3 -0
  199. package/dist/commonjs/api/messages/index.d.ts.map +1 -0
  200. package/dist/commonjs/api/messages/index.js +11 -0
  201. package/dist/commonjs/api/messages/index.js.map +1 -0
  202. package/dist/commonjs/api/messages/operations.d.ts +22 -0
  203. package/dist/commonjs/api/messages/operations.d.ts.map +1 -0
  204. package/dist/commonjs/api/messages/operations.js +122 -0
  205. package/dist/commonjs/api/messages/operations.js.map +1 -0
  206. package/dist/commonjs/api/messages/options.d.ts +31 -0
  207. package/dist/commonjs/api/messages/options.d.ts.map +1 -0
  208. package/dist/commonjs/api/messages/options.js +5 -0
  209. package/dist/commonjs/api/messages/options.js.map +1 -0
  210. package/dist/commonjs/api/operations.d.ts +8 -183
  211. package/dist/commonjs/api/operations.d.ts.map +1 -1
  212. package/dist/commonjs/api/operations.js +14 -1176
  213. package/dist/commonjs/api/operations.js.map +1 -1
  214. package/dist/commonjs/api/options.d.ts +25 -322
  215. package/dist/commonjs/api/options.d.ts.map +1 -1
  216. package/dist/commonjs/api/options.js.map +1 -1
  217. package/dist/commonjs/api/runSteps/index.d.ts +3 -0
  218. package/dist/commonjs/api/runSteps/index.d.ts.map +1 -0
  219. package/dist/commonjs/api/runSteps/index.js +9 -0
  220. package/dist/commonjs/api/runSteps/index.js.map +1 -0
  221. package/dist/commonjs/api/runSteps/operations.d.ts +14 -0
  222. package/dist/commonjs/api/runSteps/operations.d.ts.map +1 -0
  223. package/dist/commonjs/api/runSteps/operations.js +75 -0
  224. package/dist/commonjs/api/runSteps/operations.js.map +1 -0
  225. package/dist/commonjs/api/runSteps/options.d.ts +27 -0
  226. package/dist/commonjs/api/runSteps/options.d.ts.map +1 -0
  227. package/dist/commonjs/api/runSteps/options.js +5 -0
  228. package/dist/commonjs/api/runSteps/options.js.map +1 -0
  229. package/dist/commonjs/api/runs/index.d.ts +3 -0
  230. package/dist/commonjs/api/runs/index.d.ts.map +1 -0
  231. package/dist/commonjs/api/runs/index.js +13 -0
  232. package/dist/commonjs/api/runs/index.js.map +1 -0
  233. package/dist/commonjs/api/runs/operations.d.ts +31 -0
  234. package/dist/commonjs/api/runs/operations.d.ts.map +1 -0
  235. package/dist/commonjs/api/runs/operations.js +210 -0
  236. package/dist/commonjs/api/runs/operations.js.map +1 -0
  237. package/dist/commonjs/api/runs/options.d.ts +92 -0
  238. package/dist/commonjs/api/runs/options.d.ts.map +1 -0
  239. package/dist/commonjs/api/runs/options.js +5 -0
  240. package/dist/commonjs/api/runs/options.js.map +1 -0
  241. package/dist/commonjs/api/threads/index.d.ts +3 -0
  242. package/dist/commonjs/api/threads/index.d.ts.map +1 -0
  243. package/dist/commonjs/api/threads/index.js +12 -0
  244. package/dist/commonjs/api/threads/index.js.map +1 -0
  245. package/dist/commonjs/api/threads/operations.d.ts +26 -0
  246. package/dist/commonjs/api/threads/operations.d.ts.map +1 -0
  247. package/dist/commonjs/api/threads/operations.js +148 -0
  248. package/dist/commonjs/api/threads/operations.js.map +1 -0
  249. package/dist/commonjs/api/threads/options.d.ts +44 -0
  250. package/dist/commonjs/api/threads/options.d.ts.map +1 -0
  251. package/dist/commonjs/api/threads/options.js +5 -0
  252. package/dist/commonjs/api/threads/options.js.map +1 -0
  253. package/dist/commonjs/api/vectorStoreFileBatches/index.d.ts +3 -0
  254. package/dist/commonjs/api/vectorStoreFileBatches/index.d.ts.map +1 -0
  255. package/dist/commonjs/api/vectorStoreFileBatches/index.js +11 -0
  256. package/dist/commonjs/api/vectorStoreFileBatches/index.js.map +1 -0
  257. package/dist/commonjs/api/vectorStoreFileBatches/operations.d.ts +27 -0
  258. package/dist/commonjs/api/vectorStoreFileBatches/operations.d.ts.map +1 -0
  259. package/dist/commonjs/api/vectorStoreFileBatches/operations.js +177 -0
  260. package/dist/commonjs/api/vectorStoreFileBatches/operations.js.map +1 -0
  261. package/dist/commonjs/api/vectorStoreFileBatches/options.d.ts +32 -0
  262. package/dist/commonjs/api/vectorStoreFileBatches/options.d.ts.map +1 -0
  263. package/dist/commonjs/api/vectorStoreFileBatches/options.js +5 -0
  264. package/dist/commonjs/api/vectorStoreFileBatches/options.js.map +1 -0
  265. package/dist/commonjs/api/vectorStoreFiles/index.d.ts +3 -0
  266. package/dist/commonjs/api/vectorStoreFiles/index.d.ts.map +1 -0
  267. package/dist/commonjs/api/vectorStoreFiles/index.js +11 -0
  268. package/dist/commonjs/api/vectorStoreFiles/index.js.map +1 -0
  269. package/dist/commonjs/api/vectorStoreFiles/operations.d.ts +27 -0
  270. package/dist/commonjs/api/vectorStoreFiles/operations.d.ts.map +1 -0
  271. package/dist/commonjs/api/vectorStoreFiles/operations.js +192 -0
  272. package/dist/commonjs/api/vectorStoreFiles/operations.js.map +1 -0
  273. package/dist/commonjs/api/vectorStoreFiles/options.d.ts +32 -0
  274. package/dist/commonjs/api/vectorStoreFiles/options.d.ts.map +1 -0
  275. package/dist/commonjs/api/vectorStoreFiles/options.js +5 -0
  276. package/dist/commonjs/api/vectorStoreFiles/options.js.map +1 -0
  277. package/dist/commonjs/api/vectorStores/index.d.ts +3 -0
  278. package/dist/commonjs/api/vectorStores/index.d.ts.map +1 -0
  279. package/dist/commonjs/api/vectorStores/index.js +12 -0
  280. package/dist/commonjs/api/vectorStores/index.js.map +1 -0
  281. package/dist/commonjs/api/vectorStores/operations.d.ts +33 -0
  282. package/dist/commonjs/api/vectorStores/operations.d.ts.map +1 -0
  283. package/dist/commonjs/api/vectorStores/operations.js +203 -0
  284. package/dist/commonjs/api/vectorStores/operations.js.map +1 -0
  285. package/dist/commonjs/api/vectorStores/options.d.ts +45 -0
  286. package/dist/commonjs/api/vectorStores/options.d.ts.map +1 -0
  287. package/dist/commonjs/api/vectorStores/options.js +5 -0
  288. package/dist/commonjs/api/vectorStores/options.js.map +1 -0
  289. package/dist/commonjs/classic/files/index.d.ts +22 -0
  290. package/dist/commonjs/classic/files/index.d.ts.map +1 -0
  291. package/dist/commonjs/classic/files/index.js +20 -0
  292. package/dist/commonjs/classic/files/index.js.map +1 -0
  293. package/dist/commonjs/classic/index.d.ts +9 -0
  294. package/dist/commonjs/classic/index.d.ts.map +1 -0
  295. package/dist/commonjs/classic/index.js +5 -0
  296. package/dist/commonjs/classic/index.js.map +1 -0
  297. package/dist/commonjs/classic/messages/index.d.ts +17 -0
  298. package/dist/commonjs/classic/messages/index.d.ts.map +1 -0
  299. package/dist/commonjs/classic/messages/index.js +18 -0
  300. package/dist/commonjs/classic/messages/index.js.map +1 -0
  301. package/dist/commonjs/classic/runSteps/index.d.ts +14 -0
  302. package/dist/commonjs/classic/runSteps/index.d.ts.map +1 -0
  303. package/dist/commonjs/classic/runSteps/index.js +16 -0
  304. package/dist/commonjs/classic/runSteps/index.js.map +1 -0
  305. package/dist/commonjs/classic/runs/index.d.ts +25 -0
  306. package/dist/commonjs/classic/runs/index.d.ts.map +1 -0
  307. package/dist/commonjs/classic/runs/index.js +22 -0
  308. package/dist/commonjs/classic/runs/index.js.map +1 -0
  309. package/dist/commonjs/classic/threads/index.d.ts +19 -0
  310. package/dist/commonjs/classic/threads/index.d.ts.map +1 -0
  311. package/dist/commonjs/classic/threads/index.js +19 -0
  312. package/dist/commonjs/classic/threads/index.js.map +1 -0
  313. package/dist/commonjs/classic/vectorStoreFileBatches/index.d.ts +20 -0
  314. package/dist/commonjs/classic/vectorStoreFileBatches/index.d.ts.map +1 -0
  315. package/dist/commonjs/classic/vectorStoreFileBatches/index.js +19 -0
  316. package/dist/commonjs/classic/vectorStoreFileBatches/index.js.map +1 -0
  317. package/dist/commonjs/classic/vectorStoreFiles/index.d.ts +20 -0
  318. package/dist/commonjs/classic/vectorStoreFiles/index.d.ts.map +1 -0
  319. package/dist/commonjs/classic/vectorStoreFiles/index.js +17 -0
  320. package/dist/commonjs/classic/vectorStoreFiles/index.js.map +1 -0
  321. package/dist/commonjs/classic/vectorStores/index.d.ts +22 -0
  322. package/dist/commonjs/classic/vectorStores/index.d.ts.map +1 -0
  323. package/dist/commonjs/classic/vectorStores/index.js +20 -0
  324. package/dist/commonjs/classic/vectorStores/index.js.map +1 -0
  325. package/dist/commonjs/index.d.ts +14 -3
  326. package/dist/commonjs/index.d.ts.map +1 -1
  327. package/dist/commonjs/index.js +10 -3
  328. package/dist/commonjs/index.js.map +1 -1
  329. package/dist/commonjs/models/index.d.ts +1 -1
  330. package/dist/commonjs/models/index.d.ts.map +1 -1
  331. package/dist/commonjs/models/index.js +10 -3
  332. package/dist/commonjs/models/index.js.map +1 -1
  333. package/dist/commonjs/models/models.d.ts +412 -342
  334. package/dist/commonjs/models/models.d.ts.map +1 -1
  335. package/dist/commonjs/models/models.js +475 -357
  336. package/dist/commonjs/models/models.js.map +1 -1
  337. package/dist/commonjs/static-helpers/multipartHelpers.d.ts +1 -1
  338. package/dist/commonjs/static-helpers/multipartHelpers.d.ts.map +1 -1
  339. package/dist/commonjs/static-helpers/multipartHelpers.js.map +1 -1
  340. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
  341. package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
  342. package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
  343. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
  344. package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -1
  345. package/dist/commonjs/static-helpers/urlTemplate.js +2 -2
  346. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
  347. package/dist/commonjs/utils.d.ts +26 -5
  348. package/dist/commonjs/utils.d.ts.map +1 -1
  349. package/dist/commonjs/utils.js +44 -8
  350. package/dist/commonjs/utils.js.map +1 -1
  351. package/dist/esm/agentsClient.d.ts +31 -93
  352. package/dist/esm/agentsClient.d.ts.map +1 -1
  353. package/dist/esm/agentsClient.js +17 -168
  354. package/dist/esm/agentsClient.js.map +1 -1
  355. package/dist/esm/api/agentsContext.js +2 -2
  356. package/dist/esm/api/agentsContext.js.map +1 -1
  357. package/dist/esm/api/files/index.d.ts +3 -0
  358. package/dist/esm/api/files/index.d.ts.map +1 -0
  359. package/dist/esm/api/files/index.js +4 -0
  360. package/dist/esm/api/files/index.js.map +1 -0
  361. package/dist/esm/api/files/operations.d.ts +45 -0
  362. package/dist/esm/api/files/operations.d.ts.map +1 -0
  363. package/dist/esm/api/files/operations.js +154 -0
  364. package/dist/esm/api/files/operations.js.map +1 -0
  365. package/dist/esm/api/files/options.d.ts +23 -0
  366. package/dist/esm/api/files/options.d.ts.map +1 -0
  367. package/dist/esm/api/files/options.js +4 -0
  368. package/dist/esm/api/files/options.js.map +1 -0
  369. package/dist/esm/api/index.d.ts +2 -2
  370. package/dist/esm/api/index.d.ts.map +1 -1
  371. package/dist/esm/api/index.js +1 -1
  372. package/dist/esm/api/index.js.map +1 -1
  373. package/dist/esm/api/messages/index.d.ts +3 -0
  374. package/dist/esm/api/messages/index.d.ts.map +1 -0
  375. package/dist/esm/api/messages/index.js +4 -0
  376. package/dist/esm/api/messages/index.js.map +1 -0
  377. package/dist/esm/api/messages/operations.d.ts +22 -0
  378. package/dist/esm/api/messages/operations.d.ts.map +1 -0
  379. package/dist/esm/api/messages/operations.js +108 -0
  380. package/dist/esm/api/messages/operations.js.map +1 -0
  381. package/dist/esm/api/messages/options.d.ts +31 -0
  382. package/dist/esm/api/messages/options.d.ts.map +1 -0
  383. package/dist/esm/api/messages/options.js +4 -0
  384. package/dist/esm/api/messages/options.js.map +1 -0
  385. package/dist/esm/api/operations.d.ts +8 -183
  386. package/dist/esm/api/operations.d.ts.map +1 -1
  387. package/dist/esm/api/operations.js +14 -1063
  388. package/dist/esm/api/operations.js.map +1 -1
  389. package/dist/esm/api/options.d.ts +25 -322
  390. package/dist/esm/api/options.d.ts.map +1 -1
  391. package/dist/esm/api/options.js.map +1 -1
  392. package/dist/esm/api/runSteps/index.d.ts +3 -0
  393. package/dist/esm/api/runSteps/index.d.ts.map +1 -0
  394. package/dist/esm/api/runSteps/index.js +4 -0
  395. package/dist/esm/api/runSteps/index.js.map +1 -0
  396. package/dist/esm/api/runSteps/operations.d.ts +14 -0
  397. package/dist/esm/api/runSteps/operations.d.ts.map +1 -0
  398. package/dist/esm/api/runSteps/operations.js +67 -0
  399. package/dist/esm/api/runSteps/operations.js.map +1 -0
  400. package/dist/esm/api/runSteps/options.d.ts +27 -0
  401. package/dist/esm/api/runSteps/options.d.ts.map +1 -0
  402. package/dist/esm/api/runSteps/options.js +4 -0
  403. package/dist/esm/api/runSteps/options.js.map +1 -0
  404. package/dist/esm/api/runs/index.d.ts +3 -0
  405. package/dist/esm/api/runs/index.d.ts.map +1 -0
  406. package/dist/esm/api/runs/index.js +4 -0
  407. package/dist/esm/api/runs/index.js.map +1 -0
  408. package/dist/esm/api/runs/operations.d.ts +31 -0
  409. package/dist/esm/api/runs/operations.d.ts.map +1 -0
  410. package/dist/esm/api/runs/operations.js +190 -0
  411. package/dist/esm/api/runs/operations.js.map +1 -0
  412. package/dist/esm/api/runs/options.d.ts +92 -0
  413. package/dist/esm/api/runs/options.d.ts.map +1 -0
  414. package/dist/esm/api/runs/options.js +4 -0
  415. package/dist/esm/api/runs/options.js.map +1 -0
  416. package/dist/esm/api/threads/index.d.ts +3 -0
  417. package/dist/esm/api/threads/index.d.ts.map +1 -0
  418. package/dist/esm/api/threads/index.js +4 -0
  419. package/dist/esm/api/threads/index.js.map +1 -0
  420. package/dist/esm/api/threads/operations.d.ts +26 -0
  421. package/dist/esm/api/threads/operations.d.ts.map +1 -0
  422. package/dist/esm/api/threads/operations.js +131 -0
  423. package/dist/esm/api/threads/operations.js.map +1 -0
  424. package/dist/esm/api/threads/options.d.ts +44 -0
  425. package/dist/esm/api/threads/options.d.ts.map +1 -0
  426. package/dist/esm/api/threads/options.js +4 -0
  427. package/dist/esm/api/threads/options.js.map +1 -0
  428. package/dist/esm/api/vectorStoreFileBatches/index.d.ts +3 -0
  429. package/dist/esm/api/vectorStoreFileBatches/index.d.ts.map +1 -0
  430. package/dist/esm/api/vectorStoreFileBatches/index.js +4 -0
  431. package/dist/esm/api/vectorStoreFileBatches/index.js.map +1 -0
  432. package/dist/esm/api/vectorStoreFileBatches/operations.d.ts +27 -0
  433. package/dist/esm/api/vectorStoreFileBatches/operations.d.ts.map +1 -0
  434. package/dist/esm/api/vectorStoreFileBatches/operations.js +161 -0
  435. package/dist/esm/api/vectorStoreFileBatches/operations.js.map +1 -0
  436. package/dist/esm/api/vectorStoreFileBatches/options.d.ts +32 -0
  437. package/dist/esm/api/vectorStoreFileBatches/options.d.ts.map +1 -0
  438. package/dist/esm/api/vectorStoreFileBatches/options.js +4 -0
  439. package/dist/esm/api/vectorStoreFileBatches/options.js.map +1 -0
  440. package/dist/esm/api/vectorStoreFiles/index.d.ts +3 -0
  441. package/dist/esm/api/vectorStoreFiles/index.d.ts.map +1 -0
  442. package/dist/esm/api/vectorStoreFiles/index.js +4 -0
  443. package/dist/esm/api/vectorStoreFiles/index.js.map +1 -0
  444. package/dist/esm/api/vectorStoreFiles/operations.d.ts +27 -0
  445. package/dist/esm/api/vectorStoreFiles/operations.d.ts.map +1 -0
  446. package/dist/esm/api/vectorStoreFiles/operations.js +176 -0
  447. package/dist/esm/api/vectorStoreFiles/operations.js.map +1 -0
  448. package/dist/esm/api/vectorStoreFiles/options.d.ts +32 -0
  449. package/dist/esm/api/vectorStoreFiles/options.d.ts.map +1 -0
  450. package/dist/esm/api/vectorStoreFiles/options.js +4 -0
  451. package/dist/esm/api/vectorStoreFiles/options.js.map +1 -0
  452. package/dist/esm/api/vectorStores/index.d.ts +3 -0
  453. package/dist/esm/api/vectorStores/index.d.ts.map +1 -0
  454. package/dist/esm/api/vectorStores/index.js +4 -0
  455. package/dist/esm/api/vectorStores/index.js.map +1 -0
  456. package/dist/esm/api/vectorStores/operations.d.ts +33 -0
  457. package/dist/esm/api/vectorStores/operations.d.ts.map +1 -0
  458. package/dist/esm/api/vectorStores/operations.js +184 -0
  459. package/dist/esm/api/vectorStores/operations.js.map +1 -0
  460. package/dist/esm/api/vectorStores/options.d.ts +45 -0
  461. package/dist/esm/api/vectorStores/options.d.ts.map +1 -0
  462. package/dist/esm/api/vectorStores/options.js +4 -0
  463. package/dist/esm/api/vectorStores/options.js.map +1 -0
  464. package/dist/esm/classic/files/index.d.ts +22 -0
  465. package/dist/esm/classic/files/index.d.ts.map +1 -0
  466. package/dist/esm/classic/files/index.js +17 -0
  467. package/dist/esm/classic/files/index.js.map +1 -0
  468. package/dist/esm/classic/index.d.ts +9 -0
  469. package/dist/esm/classic/index.d.ts.map +1 -0
  470. package/dist/esm/classic/index.js +4 -0
  471. package/dist/esm/classic/index.js.map +1 -0
  472. package/dist/esm/classic/messages/index.d.ts +17 -0
  473. package/dist/esm/classic/messages/index.d.ts.map +1 -0
  474. package/dist/esm/classic/messages/index.js +15 -0
  475. package/dist/esm/classic/messages/index.js.map +1 -0
  476. package/dist/esm/classic/runSteps/index.d.ts +14 -0
  477. package/dist/esm/classic/runSteps/index.d.ts.map +1 -0
  478. package/dist/esm/classic/runSteps/index.js +13 -0
  479. package/dist/esm/classic/runSteps/index.js.map +1 -0
  480. package/dist/esm/classic/runs/index.d.ts +25 -0
  481. package/dist/esm/classic/runs/index.d.ts.map +1 -0
  482. package/dist/esm/classic/runs/index.js +19 -0
  483. package/dist/esm/classic/runs/index.js.map +1 -0
  484. package/dist/esm/classic/threads/index.d.ts +19 -0
  485. package/dist/esm/classic/threads/index.d.ts.map +1 -0
  486. package/dist/esm/classic/threads/index.js +16 -0
  487. package/dist/esm/classic/threads/index.js.map +1 -0
  488. package/dist/esm/classic/vectorStoreFileBatches/index.d.ts +20 -0
  489. package/dist/esm/classic/vectorStoreFileBatches/index.d.ts.map +1 -0
  490. package/dist/esm/classic/vectorStoreFileBatches/index.js +16 -0
  491. package/dist/esm/classic/vectorStoreFileBatches/index.js.map +1 -0
  492. package/dist/esm/classic/vectorStoreFiles/index.d.ts +20 -0
  493. package/dist/esm/classic/vectorStoreFiles/index.d.ts.map +1 -0
  494. package/dist/esm/classic/vectorStoreFiles/index.js +14 -0
  495. package/dist/esm/classic/vectorStoreFiles/index.js.map +1 -0
  496. package/dist/esm/classic/vectorStores/index.d.ts +22 -0
  497. package/dist/esm/classic/vectorStores/index.d.ts.map +1 -0
  498. package/dist/esm/classic/vectorStores/index.js +17 -0
  499. package/dist/esm/classic/vectorStores/index.js.map +1 -0
  500. package/dist/esm/index.d.ts +14 -3
  501. package/dist/esm/index.d.ts.map +1 -1
  502. package/dist/esm/index.js +2 -2
  503. package/dist/esm/index.js.map +1 -1
  504. package/dist/esm/models/index.d.ts +1 -1
  505. package/dist/esm/models/index.d.ts.map +1 -1
  506. package/dist/esm/models/index.js +1 -1
  507. package/dist/esm/models/index.js.map +1 -1
  508. package/dist/esm/models/models.d.ts +412 -342
  509. package/dist/esm/models/models.d.ts.map +1 -1
  510. package/dist/esm/models/models.js +407 -295
  511. package/dist/esm/models/models.js.map +1 -1
  512. package/dist/esm/static-helpers/multipartHelpers.d.ts +1 -1
  513. package/dist/esm/static-helpers/multipartHelpers.d.ts.map +1 -1
  514. package/dist/esm/static-helpers/multipartHelpers.js.map +1 -1
  515. package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
  516. package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
  517. package/dist/esm/static-helpers/pagingHelpers.js +137 -0
  518. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  519. package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -1
  520. package/dist/esm/static-helpers/urlTemplate.js +2 -2
  521. package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
  522. package/dist/esm/utils.d.ts +26 -5
  523. package/dist/esm/utils.d.ts.map +1 -1
  524. package/dist/esm/utils.js +44 -8
  525. package/dist/esm/utils.js.map +1 -1
  526. package/dist/react-native/agentsClient.d.ts +31 -93
  527. package/dist/react-native/agentsClient.d.ts.map +1 -1
  528. package/dist/react-native/agentsClient.js +17 -168
  529. package/dist/react-native/agentsClient.js.map +1 -1
  530. package/dist/react-native/api/agentsContext.js +2 -2
  531. package/dist/react-native/api/agentsContext.js.map +1 -1
  532. package/dist/react-native/api/files/index.d.ts +3 -0
  533. package/dist/react-native/api/files/index.d.ts.map +1 -0
  534. package/dist/react-native/api/files/index.js +4 -0
  535. package/dist/react-native/api/files/index.js.map +1 -0
  536. package/dist/react-native/api/files/operations.d.ts +45 -0
  537. package/dist/react-native/api/files/operations.d.ts.map +1 -0
  538. package/dist/react-native/api/files/operations.js +154 -0
  539. package/dist/react-native/api/files/operations.js.map +1 -0
  540. package/dist/react-native/api/files/options.d.ts +23 -0
  541. package/dist/react-native/api/files/options.d.ts.map +1 -0
  542. package/dist/react-native/api/files/options.js +4 -0
  543. package/dist/react-native/api/files/options.js.map +1 -0
  544. package/dist/react-native/api/index.d.ts +2 -2
  545. package/dist/react-native/api/index.d.ts.map +1 -1
  546. package/dist/react-native/api/index.js +1 -1
  547. package/dist/react-native/api/index.js.map +1 -1
  548. package/dist/react-native/api/messages/index.d.ts +3 -0
  549. package/dist/react-native/api/messages/index.d.ts.map +1 -0
  550. package/dist/react-native/api/messages/index.js +4 -0
  551. package/dist/react-native/api/messages/index.js.map +1 -0
  552. package/dist/react-native/api/messages/operations.d.ts +22 -0
  553. package/dist/react-native/api/messages/operations.d.ts.map +1 -0
  554. package/dist/react-native/api/messages/operations.js +108 -0
  555. package/dist/react-native/api/messages/operations.js.map +1 -0
  556. package/dist/react-native/api/messages/options.d.ts +31 -0
  557. package/dist/react-native/api/messages/options.d.ts.map +1 -0
  558. package/dist/react-native/api/messages/options.js +4 -0
  559. package/dist/react-native/api/messages/options.js.map +1 -0
  560. package/dist/react-native/api/operations.d.ts +8 -183
  561. package/dist/react-native/api/operations.d.ts.map +1 -1
  562. package/dist/react-native/api/operations.js +14 -1063
  563. package/dist/react-native/api/operations.js.map +1 -1
  564. package/dist/react-native/api/options.d.ts +25 -322
  565. package/dist/react-native/api/options.d.ts.map +1 -1
  566. package/dist/react-native/api/options.js.map +1 -1
  567. package/dist/react-native/api/runSteps/index.d.ts +3 -0
  568. package/dist/react-native/api/runSteps/index.d.ts.map +1 -0
  569. package/dist/react-native/api/runSteps/index.js +4 -0
  570. package/dist/react-native/api/runSteps/index.js.map +1 -0
  571. package/dist/react-native/api/runSteps/operations.d.ts +14 -0
  572. package/dist/react-native/api/runSteps/operations.d.ts.map +1 -0
  573. package/dist/react-native/api/runSteps/operations.js +67 -0
  574. package/dist/react-native/api/runSteps/operations.js.map +1 -0
  575. package/dist/react-native/api/runSteps/options.d.ts +27 -0
  576. package/dist/react-native/api/runSteps/options.d.ts.map +1 -0
  577. package/dist/react-native/api/runSteps/options.js +4 -0
  578. package/dist/react-native/api/runSteps/options.js.map +1 -0
  579. package/dist/react-native/api/runs/index.d.ts +3 -0
  580. package/dist/react-native/api/runs/index.d.ts.map +1 -0
  581. package/dist/react-native/api/runs/index.js +4 -0
  582. package/dist/react-native/api/runs/index.js.map +1 -0
  583. package/dist/react-native/api/runs/operations.d.ts +31 -0
  584. package/dist/react-native/api/runs/operations.d.ts.map +1 -0
  585. package/dist/react-native/api/runs/operations.js +190 -0
  586. package/dist/react-native/api/runs/operations.js.map +1 -0
  587. package/dist/react-native/api/runs/options.d.ts +92 -0
  588. package/dist/react-native/api/runs/options.d.ts.map +1 -0
  589. package/dist/react-native/api/runs/options.js +4 -0
  590. package/dist/react-native/api/runs/options.js.map +1 -0
  591. package/dist/react-native/api/threads/index.d.ts +3 -0
  592. package/dist/react-native/api/threads/index.d.ts.map +1 -0
  593. package/dist/react-native/api/threads/index.js +4 -0
  594. package/dist/react-native/api/threads/index.js.map +1 -0
  595. package/dist/react-native/api/threads/operations.d.ts +26 -0
  596. package/dist/react-native/api/threads/operations.d.ts.map +1 -0
  597. package/dist/react-native/api/threads/operations.js +131 -0
  598. package/dist/react-native/api/threads/operations.js.map +1 -0
  599. package/dist/react-native/api/threads/options.d.ts +44 -0
  600. package/dist/react-native/api/threads/options.d.ts.map +1 -0
  601. package/dist/react-native/api/threads/options.js +4 -0
  602. package/dist/react-native/api/threads/options.js.map +1 -0
  603. package/dist/react-native/api/vectorStoreFileBatches/index.d.ts +3 -0
  604. package/dist/react-native/api/vectorStoreFileBatches/index.d.ts.map +1 -0
  605. package/dist/react-native/api/vectorStoreFileBatches/index.js +4 -0
  606. package/dist/react-native/api/vectorStoreFileBatches/index.js.map +1 -0
  607. package/dist/react-native/api/vectorStoreFileBatches/operations.d.ts +27 -0
  608. package/dist/react-native/api/vectorStoreFileBatches/operations.d.ts.map +1 -0
  609. package/dist/react-native/api/vectorStoreFileBatches/operations.js +161 -0
  610. package/dist/react-native/api/vectorStoreFileBatches/operations.js.map +1 -0
  611. package/dist/react-native/api/vectorStoreFileBatches/options.d.ts +32 -0
  612. package/dist/react-native/api/vectorStoreFileBatches/options.d.ts.map +1 -0
  613. package/dist/react-native/api/vectorStoreFileBatches/options.js +4 -0
  614. package/dist/react-native/api/vectorStoreFileBatches/options.js.map +1 -0
  615. package/dist/react-native/api/vectorStoreFiles/index.d.ts +3 -0
  616. package/dist/react-native/api/vectorStoreFiles/index.d.ts.map +1 -0
  617. package/dist/react-native/api/vectorStoreFiles/index.js +4 -0
  618. package/dist/react-native/api/vectorStoreFiles/index.js.map +1 -0
  619. package/dist/react-native/api/vectorStoreFiles/operations.d.ts +27 -0
  620. package/dist/react-native/api/vectorStoreFiles/operations.d.ts.map +1 -0
  621. package/dist/react-native/api/vectorStoreFiles/operations.js +176 -0
  622. package/dist/react-native/api/vectorStoreFiles/operations.js.map +1 -0
  623. package/dist/react-native/api/vectorStoreFiles/options.d.ts +32 -0
  624. package/dist/react-native/api/vectorStoreFiles/options.d.ts.map +1 -0
  625. package/dist/react-native/api/vectorStoreFiles/options.js +4 -0
  626. package/dist/react-native/api/vectorStoreFiles/options.js.map +1 -0
  627. package/dist/react-native/api/vectorStores/index.d.ts +3 -0
  628. package/dist/react-native/api/vectorStores/index.d.ts.map +1 -0
  629. package/dist/react-native/api/vectorStores/index.js +4 -0
  630. package/dist/react-native/api/vectorStores/index.js.map +1 -0
  631. package/dist/react-native/api/vectorStores/operations.d.ts +33 -0
  632. package/dist/react-native/api/vectorStores/operations.d.ts.map +1 -0
  633. package/dist/react-native/api/vectorStores/operations.js +184 -0
  634. package/dist/react-native/api/vectorStores/operations.js.map +1 -0
  635. package/dist/react-native/api/vectorStores/options.d.ts +45 -0
  636. package/dist/react-native/api/vectorStores/options.d.ts.map +1 -0
  637. package/dist/react-native/api/vectorStores/options.js +4 -0
  638. package/dist/react-native/api/vectorStores/options.js.map +1 -0
  639. package/dist/react-native/classic/files/index.d.ts +22 -0
  640. package/dist/react-native/classic/files/index.d.ts.map +1 -0
  641. package/dist/react-native/classic/files/index.js +17 -0
  642. package/dist/react-native/classic/files/index.js.map +1 -0
  643. package/dist/react-native/classic/index.d.ts +9 -0
  644. package/dist/react-native/classic/index.d.ts.map +1 -0
  645. package/dist/react-native/classic/index.js +4 -0
  646. package/dist/react-native/classic/index.js.map +1 -0
  647. package/dist/react-native/classic/messages/index.d.ts +17 -0
  648. package/dist/react-native/classic/messages/index.d.ts.map +1 -0
  649. package/dist/react-native/classic/messages/index.js +15 -0
  650. package/dist/react-native/classic/messages/index.js.map +1 -0
  651. package/dist/react-native/classic/runSteps/index.d.ts +14 -0
  652. package/dist/react-native/classic/runSteps/index.d.ts.map +1 -0
  653. package/dist/react-native/classic/runSteps/index.js +13 -0
  654. package/dist/react-native/classic/runSteps/index.js.map +1 -0
  655. package/dist/react-native/classic/runs/index.d.ts +25 -0
  656. package/dist/react-native/classic/runs/index.d.ts.map +1 -0
  657. package/dist/react-native/classic/runs/index.js +19 -0
  658. package/dist/react-native/classic/runs/index.js.map +1 -0
  659. package/dist/react-native/classic/threads/index.d.ts +19 -0
  660. package/dist/react-native/classic/threads/index.d.ts.map +1 -0
  661. package/dist/react-native/classic/threads/index.js +16 -0
  662. package/dist/react-native/classic/threads/index.js.map +1 -0
  663. package/dist/react-native/classic/vectorStoreFileBatches/index.d.ts +20 -0
  664. package/dist/react-native/classic/vectorStoreFileBatches/index.d.ts.map +1 -0
  665. package/dist/react-native/classic/vectorStoreFileBatches/index.js +16 -0
  666. package/dist/react-native/classic/vectorStoreFileBatches/index.js.map +1 -0
  667. package/dist/react-native/classic/vectorStoreFiles/index.d.ts +20 -0
  668. package/dist/react-native/classic/vectorStoreFiles/index.d.ts.map +1 -0
  669. package/dist/react-native/classic/vectorStoreFiles/index.js +14 -0
  670. package/dist/react-native/classic/vectorStoreFiles/index.js.map +1 -0
  671. package/dist/react-native/classic/vectorStores/index.d.ts +22 -0
  672. package/dist/react-native/classic/vectorStores/index.d.ts.map +1 -0
  673. package/dist/react-native/classic/vectorStores/index.js +17 -0
  674. package/dist/react-native/classic/vectorStores/index.js.map +1 -0
  675. package/dist/react-native/index.d.ts +14 -3
  676. package/dist/react-native/index.d.ts.map +1 -1
  677. package/dist/react-native/index.js +2 -2
  678. package/dist/react-native/index.js.map +1 -1
  679. package/dist/react-native/models/index.d.ts +1 -1
  680. package/dist/react-native/models/index.d.ts.map +1 -1
  681. package/dist/react-native/models/index.js +1 -1
  682. package/dist/react-native/models/index.js.map +1 -1
  683. package/dist/react-native/models/models.d.ts +412 -342
  684. package/dist/react-native/models/models.d.ts.map +1 -1
  685. package/dist/react-native/models/models.js +407 -295
  686. package/dist/react-native/models/models.js.map +1 -1
  687. package/dist/react-native/static-helpers/multipartHelpers.d.ts +1 -1
  688. package/dist/react-native/static-helpers/multipartHelpers.d.ts.map +1 -1
  689. package/dist/react-native/static-helpers/multipartHelpers.js.map +1 -1
  690. package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
  691. package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
  692. package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
  693. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  694. package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -1
  695. package/dist/react-native/static-helpers/urlTemplate.js +2 -2
  696. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
  697. package/dist/react-native/utils.d.ts +26 -5
  698. package/dist/react-native/utils.d.ts.map +1 -1
  699. package/dist/react-native/utils.js +44 -8
  700. package/dist/react-native/utils.js.map +1 -1
  701. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/runSteps/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAEL,mBAAmB,EAEnB,qCAAqC,GACtC,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAE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D;QACE,aAAa,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,0CAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,iCACxB,mCAAmC,CAAC,OAAO,CAAC,KAC/C,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,KAEpC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAAC,MAA6B;IACxE,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC1C,CAAC;AAED,qDAAqD;AACrD,MAAM,CAAC,KAAK,UAAU,UAAU,CAC9B,OAAe,EACf,QAAgB,EAChB,KAAa,EACb,MAAc,EACd,UAA4C,EAAE,cAAc,EAAE,EAAE,EAAE;IAElE,MAAM,MAAM,GAAG,MAAM,eAAe,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;IAChF,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAC;AACxC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AgentsContext as Client } from \"../index.js\";\nimport {\n RunStep,\n runStepDeserializer,\n _AgentsPagedResultRunStep,\n _agentsPagedResultRunStepDeserializer,\n} from \"../../models/models.js\";\nimport { RunStepsListRunStepsOptionalParams, RunStepsGetRunStepOptionalParams } from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listRunStepsSend(\n context: Client,\n threadId: string,\n runId: string,\n options: RunStepsListRunStepsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/threads/{threadId}/runs/{runId}/steps{?include%5B%5D,api%2Dversion,limit,order,after,before}\",\n {\n threadId: threadId,\n runId: runId,\n \"include%5B%5D\": !options?.include\n ? options?.include\n : options?.include.map((p: any) => {\n return p;\n }),\n \"api%2Dversion\": context.apiVersion,\n limit: options?.limit,\n order: options?.order,\n after: options?.after,\n before: options?.before,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listRunStepsDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AgentsPagedResultRunStep> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _agentsPagedResultRunStepDeserializer(result.body);\n}\n\n/** Gets a list of run steps from a thread run. */\nexport function listRunSteps(\n context: Client,\n threadId: string,\n runId: string,\n options: RunStepsListRunStepsOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<RunStep> {\n return buildPagedAsyncIterator(\n context,\n () => _listRunStepsSend(context, threadId, runId, options),\n _listRunStepsDeserialize,\n [\"200\"],\n { itemName: \"data\" },\n );\n}\n\nexport function _getRunStepSend(\n context: Client,\n threadId: string,\n runId: string,\n stepId: string,\n options: RunStepsGetRunStepOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/threads/{threadId}/runs/{runId}/steps/{stepId}{?api%2Dversion,include%5B%5D}\",\n {\n threadId: threadId,\n runId: runId,\n stepId: stepId,\n \"api%2Dversion\": context.apiVersion,\n \"include%5B%5D\": !options?.include\n ? options?.include\n : options?.include.map((p: any) => {\n return p;\n }),\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getRunStepDeserialize(result: PathUncheckedResponse): Promise<RunStep> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return runStepDeserializer(result.body);\n}\n\n/** Retrieves a single run step from a thread run. */\nexport async function getRunStep(\n context: Client,\n threadId: string,\n runId: string,\n stepId: string,\n options: RunStepsGetRunStepOptionalParams = { requestOptions: {} },\n): Promise<RunStep> {\n const result = await _getRunStepSend(context, threadId, runId, stepId, options);\n return _getRunStepDeserialize(result);\n}\n"]}
@@ -0,0 +1,27 @@
1
+ import { ListSortOrder, RunAdditionalFieldList } from "../../models/models.js";
2
+ import { OperationOptions } from "@azure-rest/core-client";
3
+ /** Optional parameters. */
4
+ export interface RunStepsListRunStepsOptionalParams extends OperationOptions {
5
+ /**
6
+ * A list of additional fields to include in the response.
7
+ * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.
8
+ */
9
+ include?: RunAdditionalFieldList[];
10
+ /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */
11
+ limit?: number;
12
+ /** Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order. */
13
+ order?: ListSortOrder;
14
+ /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */
15
+ after?: string;
16
+ /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */
17
+ before?: string;
18
+ }
19
+ /** Optional parameters. */
20
+ export interface RunStepsGetRunStepOptionalParams extends OperationOptions {
21
+ /**
22
+ * A list of additional fields to include in the response.
23
+ * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.
24
+ */
25
+ include?: RunAdditionalFieldList[];
26
+ }
27
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/api/runSteps/options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,2BAA2B;AAC3B,MAAM,WAAW,kCAAmC,SAAQ,gBAAgB;IAC1E;;;OAGG;IACH,OAAO,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACnC,iHAAiH;IACjH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oHAAoH;IACpH,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,oRAAoR;IACpR,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0RAA0R;IAC1R,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,2BAA2B;AAC3B,MAAM,WAAW,gCAAiC,SAAQ,gBAAgB;IACxE;;;OAGG;IACH,OAAO,CAAC,EAAE,sBAAsB,EAAE,CAAC;CACpC"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/runSteps/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ListSortOrder, RunAdditionalFieldList } from \"../../models/models.js\";\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface RunStepsListRunStepsOptionalParams extends OperationOptions {\n /**\n * A list of additional fields to include in the response.\n * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.\n */\n include?: RunAdditionalFieldList[];\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /** Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order. */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\n/** Optional parameters. */\nexport interface RunStepsGetRunStepOptionalParams extends OperationOptions {\n /**\n * A list of additional fields to include in the response.\n * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.\n */\n include?: RunAdditionalFieldList[];\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export { cancelRun, submitToolOutputsToRun, updateRun, getRun, listRuns, createRun, } from "./operations.js";
2
+ export { RunsCancelRunOptionalParams, RunsSubmitToolOutputsToRunOptionalParams, RunsUpdateRunOptionalParams, RunsGetRunOptionalParams, RunsListRunsOptionalParams, RunsCreateRunOptionalParams, } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/runs/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,SAAS,EACT,sBAAsB,EACtB,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,GACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,2BAA2B,EAC3B,wCAAwC,EACxC,2BAA2B,EAC3B,wBAAwB,EACxB,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,cAAc,CAAC"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { cancelRun, submitToolOutputsToRun, updateRun, getRun, listRuns, createRun, } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/runs/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,SAAS,EACT,sBAAsB,EACtB,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,GACV,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n cancelRun,\n submitToolOutputsToRun,\n updateRun,\n getRun,\n listRuns,\n createRun,\n} from \"./operations.js\";\nexport {\n RunsCancelRunOptionalParams,\n RunsSubmitToolOutputsToRunOptionalParams,\n RunsUpdateRunOptionalParams,\n RunsGetRunOptionalParams,\n RunsListRunsOptionalParams,\n RunsCreateRunOptionalParams,\n} from \"./options.js\";\n"]}
@@ -0,0 +1,31 @@
1
+ import { AgentsContext as Client } from "../index.js";
2
+ import { ThreadRun, _AgentsPagedResultThreadRun, ToolOutput } from "../../models/models.js";
3
+ import { RunsCancelRunOptionalParams, RunsSubmitToolOutputsToRunOptionalParams, RunsUpdateRunOptionalParams, RunsGetRunOptionalParams, RunsListRunsOptionalParams, RunsCreateRunOptionalParams } from "./options.js";
4
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ import { AgentRunResponse } from "../../models/streamingModels.js";
7
+ export declare function _cancelRunSend(context: Client, threadId: string, runId: string, options?: RunsCancelRunOptionalParams): StreamableMethod;
8
+ export declare function _cancelRunDeserialize(result: PathUncheckedResponse): Promise<ThreadRun>;
9
+ /** Cancels a run of an in‐progress thread. */
10
+ export declare function cancelRun(context: Client, threadId: string, runId: string, options?: RunsCancelRunOptionalParams): Promise<ThreadRun>;
11
+ export declare function _submitToolOutputsToRunSend(context: Client, threadId: string, runId: string, toolOutputs: ToolOutput[], options?: RunsSubmitToolOutputsToRunOptionalParams): StreamableMethod;
12
+ export declare function _submitToolOutputsToRunDeserialize(result: PathUncheckedResponse): Promise<ThreadRun>;
13
+ /** Submits outputs from tools as requested by tool calls in a run. */
14
+ export declare function submitToolOutputsToRun(context: Client, threadId: string, runId: string, toolOutputs: ToolOutput[], options?: RunsSubmitToolOutputsToRunOptionalParams): Promise<ThreadRun>;
15
+ export declare function _updateRunSend(context: Client, threadId: string, runId: string, options?: RunsUpdateRunOptionalParams): StreamableMethod;
16
+ export declare function _updateRunDeserialize(result: PathUncheckedResponse): Promise<ThreadRun>;
17
+ /** Modifies an existing thread run. */
18
+ export declare function updateRun(context: Client, threadId: string, runId: string, options?: RunsUpdateRunOptionalParams): Promise<ThreadRun>;
19
+ export declare function _getRunSend(context: Client, threadId: string, runId: string, options?: RunsGetRunOptionalParams): StreamableMethod;
20
+ export declare function _getRunDeserialize(result: PathUncheckedResponse): Promise<ThreadRun>;
21
+ /** Gets an existing run from an existing thread. */
22
+ export declare function getRun(context: Client, threadId: string, runId: string, options?: RunsGetRunOptionalParams): Promise<ThreadRun>;
23
+ export declare function _listRunsSend(context: Client, threadId: string, options?: RunsListRunsOptionalParams): StreamableMethod;
24
+ export declare function _listRunsDeserialize(result: PathUncheckedResponse): Promise<_AgentsPagedResultThreadRun>;
25
+ /** Gets a list of runs for a specified thread. */
26
+ export declare function listRuns(context: Client, threadId: string, options?: RunsListRunsOptionalParams): PagedAsyncIterableIterator<ThreadRun>;
27
+ export declare function _createRunSend(context: Client, threadId: string, assistantId: string, options?: RunsCreateRunOptionalParams): StreamableMethod;
28
+ export declare function _createRunDeserialize(result: PathUncheckedResponse): Promise<ThreadRun>;
29
+ /** Creates a new run for an agent thread. */
30
+ export declare function createRun(context: Client, threadId: string, assistantId: string, options?: RunsCreateRunOptionalParams): AgentRunResponse;
31
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/runs/operations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAML,SAAS,EAET,2BAA2B,EAE3B,UAAU,EAEX,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,2BAA2B,EAC3B,wCAAwC,EACxC,2BAA2B,EAC3B,wBAAwB,EACxB,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAA2B,MAAM,iCAAiC,CAAC;AAG5F,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,2BAAoD,GAC5D,gBAAgB,CAmBlB;AAED,wBAAsB,qBAAqB,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,SAAS,CAAC,CAO7F;AAED,8CAA8C;AAC9C,wBAAsB,SAAS,CAC7B,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,OAAO,GAAE,2BAAoD,GAC5D,OAAO,CAAC,SAAS,CAAC,CAGpB;AAED,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,UAAU,EAAE,EACzB,OAAO,GAAE,wCAAiE,GACzE,gBAAgB,CAwBlB;AAED,wBAAsB,kCAAkC,CACtD,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,SAAS,CAAC,CAOpB;AAED,sEA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tB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,0BAAmD,GAC3D,0BAA0B,CAAC,SAAS,CAAC,CAQvC;AAED,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,2BAAoD,GAC5D,gBAAgB,CAkDlB;AAED,wBAAsB,qBAAqB,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,SAAS,CAAC,CAO7F;AAED,6CAA6C;AAC7C,wBAAgB,SAAS,CACvB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,2BAAoD,GAC5D,gBAAgB,CAclB"}
@@ -0,0 +1,190 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { toolDefinitionUnionArraySerializer, agentsResponseFormatOptionSerializer, threadMessageOptionsArraySerializer, truncationObjectSerializer, agentsToolChoiceOptionSerializer, threadRunDeserializer, _agentsPagedResultThreadRunDeserializer, toolOutputArraySerializer, } from "../../models/models.js";
4
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
5
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ import { createRunStreaming } from "../operations.js";
8
+ export function _cancelRunSend(context, threadId, runId, options = { requestOptions: {} }) {
9
+ var _a, _b;
10
+ const path = expandUrlTemplate("/threads/{threadId}/runs/{runId}/cancel{?api%2Dversion}", {
11
+ threadId: threadId,
12
+ runId: runId,
13
+ "api%2Dversion": context.apiVersion,
14
+ }, {
15
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
16
+ });
17
+ return context.path(path).post(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
18
+ }
19
+ export async function _cancelRunDeserialize(result) {
20
+ const expectedStatuses = ["200"];
21
+ if (!expectedStatuses.includes(result.status)) {
22
+ throw createRestError(result);
23
+ }
24
+ return threadRunDeserializer(result.body);
25
+ }
26
+ /** Cancels a run of an in‐progress thread. */
27
+ export async function cancelRun(context, threadId, runId, options = { requestOptions: {} }) {
28
+ const result = await _cancelRunSend(context, threadId, runId, options);
29
+ return _cancelRunDeserialize(result);
30
+ }
31
+ export function _submitToolOutputsToRunSend(context, threadId, runId, toolOutputs, options = { requestOptions: {} }) {
32
+ var _a, _b;
33
+ const path = expandUrlTemplate("/threads/{threadId}/runs/{runId}/submit_tool_outputs{?api%2Dversion}", {
34
+ threadId: threadId,
35
+ runId: runId,
36
+ "api%2Dversion": context.apiVersion,
37
+ }, {
38
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
39
+ });
40
+ return context.path(path).post(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: {
41
+ tool_outputs: toolOutputArraySerializer(toolOutputs),
42
+ stream: options === null || options === void 0 ? void 0 : options.stream,
43
+ } }));
44
+ }
45
+ export async function _submitToolOutputsToRunDeserialize(result) {
46
+ const expectedStatuses = ["200"];
47
+ if (!expectedStatuses.includes(result.status)) {
48
+ throw createRestError(result);
49
+ }
50
+ return threadRunDeserializer(result.body);
51
+ }
52
+ /** Submits outputs from tools as requested by tool calls in a run. */
53
+ export async function submitToolOutputsToRun(context, threadId, runId, toolOutputs, options = { requestOptions: {} }) {
54
+ const result = await _submitToolOutputsToRunSend(context, threadId, runId, toolOutputs, options);
55
+ return _submitToolOutputsToRunDeserialize(result);
56
+ }
57
+ export function _updateRunSend(context, threadId, runId, options = { requestOptions: {} }) {
58
+ var _a, _b;
59
+ const path = expandUrlTemplate("/threads/{threadId}/runs/{runId}{?api%2Dversion}", {
60
+ threadId: threadId,
61
+ runId: runId,
62
+ "api%2Dversion": context.apiVersion,
63
+ }, {
64
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
65
+ });
66
+ return context.path(path).post(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: { metadata: options === null || options === void 0 ? void 0 : options.metadata } }));
67
+ }
68
+ export async function _updateRunDeserialize(result) {
69
+ const expectedStatuses = ["200"];
70
+ if (!expectedStatuses.includes(result.status)) {
71
+ throw createRestError(result);
72
+ }
73
+ return threadRunDeserializer(result.body);
74
+ }
75
+ /** Modifies an existing thread run. */
76
+ export async function updateRun(context, threadId, runId, options = { requestOptions: {} }) {
77
+ const result = await _updateRunSend(context, threadId, runId, options);
78
+ return _updateRunDeserialize(result);
79
+ }
80
+ export function _getRunSend(context, threadId, runId, options = { requestOptions: {} }) {
81
+ var _a, _b;
82
+ const path = expandUrlTemplate("/threads/{threadId}/runs/{runId}{?api%2Dversion}", {
83
+ threadId: threadId,
84
+ runId: runId,
85
+ "api%2Dversion": context.apiVersion,
86
+ }, {
87
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
88
+ });
89
+ return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
90
+ }
91
+ export async function _getRunDeserialize(result) {
92
+ const expectedStatuses = ["200"];
93
+ if (!expectedStatuses.includes(result.status)) {
94
+ throw createRestError(result);
95
+ }
96
+ return threadRunDeserializer(result.body);
97
+ }
98
+ /** Gets an existing run from an existing thread. */
99
+ export async function getRun(context, threadId, runId, options = { requestOptions: {} }) {
100
+ const result = await _getRunSend(context, threadId, runId, options);
101
+ return _getRunDeserialize(result);
102
+ }
103
+ export function _listRunsSend(context, threadId, options = { requestOptions: {} }) {
104
+ var _a, _b;
105
+ const path = expandUrlTemplate("/threads/{threadId}/runs{?api%2Dversion,limit,order,after,before}", {
106
+ threadId: threadId,
107
+ "api%2Dversion": context.apiVersion,
108
+ limit: options === null || options === void 0 ? void 0 : options.limit,
109
+ order: options === null || options === void 0 ? void 0 : options.order,
110
+ after: options === null || options === void 0 ? void 0 : options.after,
111
+ before: options === null || options === void 0 ? void 0 : options.before,
112
+ }, {
113
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
114
+ });
115
+ return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
116
+ }
117
+ export async function _listRunsDeserialize(result) {
118
+ const expectedStatuses = ["200"];
119
+ if (!expectedStatuses.includes(result.status)) {
120
+ throw createRestError(result);
121
+ }
122
+ return _agentsPagedResultThreadRunDeserializer(result.body);
123
+ }
124
+ /** Gets a list of runs for a specified thread. */
125
+ export function listRuns(context, threadId, options = { requestOptions: {} }) {
126
+ return buildPagedAsyncIterator(context, () => _listRunsSend(context, threadId, options), _listRunsDeserialize, ["200"], { itemName: "data" });
127
+ }
128
+ export function _createRunSend(context, threadId, assistantId, options = { requestOptions: {} }) {
129
+ var _a, _b;
130
+ const path = expandUrlTemplate("/threads/{threadId}/runs{?api%2Dversion,include%5B%5D}", {
131
+ threadId: threadId,
132
+ "api%2Dversion": context.apiVersion,
133
+ "include%5B%5D": !(options === null || options === void 0 ? void 0 : options.include)
134
+ ? options === null || options === void 0 ? void 0 : options.include
135
+ : options === null || options === void 0 ? void 0 : options.include.map((p) => {
136
+ return p;
137
+ }),
138
+ }, {
139
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
140
+ });
141
+ return context.path(path).post(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: {
142
+ assistant_id: assistantId,
143
+ model: options === null || options === void 0 ? void 0 : options.model,
144
+ instructions: options === null || options === void 0 ? void 0 : options.instructions,
145
+ additional_instructions: options === null || options === void 0 ? void 0 : options.additionalInstructions,
146
+ additional_messages: !(options === null || options === void 0 ? void 0 : options.additionalMessages)
147
+ ? options === null || options === void 0 ? void 0 : options.additionalMessages
148
+ : threadMessageOptionsArraySerializer(options === null || options === void 0 ? void 0 : options.additionalMessages),
149
+ tools: !(options === null || options === void 0 ? void 0 : options.tools) ? options === null || options === void 0 ? void 0 : options.tools : toolDefinitionUnionArraySerializer(options === null || options === void 0 ? void 0 : options.tools),
150
+ stream: options === null || options === void 0 ? void 0 : options.stream,
151
+ temperature: options === null || options === void 0 ? void 0 : options.temperature,
152
+ top_p: options === null || options === void 0 ? void 0 : options.topP,
153
+ max_prompt_tokens: options === null || options === void 0 ? void 0 : options.maxPromptTokens,
154
+ max_completion_tokens: options === null || options === void 0 ? void 0 : options.maxCompletionTokens,
155
+ truncation_strategy: !(options === null || options === void 0 ? void 0 : options.truncationStrategy)
156
+ ? options === null || options === void 0 ? void 0 : options.truncationStrategy
157
+ : truncationObjectSerializer(options === null || options === void 0 ? void 0 : options.truncationStrategy),
158
+ tool_choice: !(options === null || options === void 0 ? void 0 : options.toolChoice)
159
+ ? options === null || options === void 0 ? void 0 : options.toolChoice
160
+ : agentsToolChoiceOptionSerializer(options === null || options === void 0 ? void 0 : options.toolChoice),
161
+ response_format: !(options === null || options === void 0 ? void 0 : options.responseFormat)
162
+ ? options === null || options === void 0 ? void 0 : options.responseFormat
163
+ : agentsResponseFormatOptionSerializer(options === null || options === void 0 ? void 0 : options.responseFormat),
164
+ parallel_tool_calls: options === null || options === void 0 ? void 0 : options.parallelToolCalls,
165
+ metadata: options === null || options === void 0 ? void 0 : options.metadata,
166
+ } }));
167
+ }
168
+ export async function _createRunDeserialize(result) {
169
+ const expectedStatuses = ["200"];
170
+ if (!expectedStatuses.includes(result.status)) {
171
+ throw createRestError(result);
172
+ }
173
+ return threadRunDeserializer(result.body);
174
+ }
175
+ /** Creates a new run for an agent thread. */
176
+ export function createRun(context, threadId, assistantId, options = { requestOptions: {} }) {
177
+ async function executeCreateRun() {
178
+ const result = await _createRunSend(context, threadId, assistantId, options);
179
+ return _createRunDeserialize(result);
180
+ }
181
+ return {
182
+ then: function (onFulfilled, onRejected) {
183
+ return executeCreateRun().then(onFulfilled, onRejected).catch(onRejected);
184
+ },
185
+ async stream() {
186
+ return createRunStreaming(context, assistantId, threadId, options);
187
+ },
188
+ };
189
+ }
190
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/runs/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,kCAAkC,EAClC,oCAAoC,EACpC,mCAAmC,EACnC,0BAA0B,EAC1B,gCAAgC,EAEhC,qBAAqB,EAErB,uCAAuC,EAEvC,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAShC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,MAAM,UAAU,cAAc,CAC5B,OAAe,EACf,QAAgB,EAChB,KAAa,EACb,UAAuC,EAAE,cAAc,EAAE,EAAE,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oCAAoC,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,CAAC;YACjE,mBAAmB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,iBAAiB;YAC/C,QAAQ,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ;SAC5B,IACD,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,MAA6B;IACvE,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO,qBAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC5C,CAAC;AAED,6CAA6C;AAC7C,MAAM,UAAU,SAAS,CACvB,OAAe,EACf,QAAgB,EAChB,WAAmB,EACnB,UAAuC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7D,KAAK,UAAU,gBAAgB;QAC7B,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QAC7E,OAAO,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACvC,CAAC;IAED,OAAO;QACL,IAAI,EAAE,UAAU,WAAW,EAAE,UAAU;YACrC,OAAO,gBAAgB,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAC5E,CAAC;QACD,KAAK,CAAC,MAAM;YACV,OAAO,kBAAkB,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;QACrE,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AgentsContext as Client } from \"../index.js\";\nimport {\n toolDefinitionUnionArraySerializer,\n agentsResponseFormatOptionSerializer,\n threadMessageOptionsArraySerializer,\n truncationObjectSerializer,\n agentsToolChoiceOptionSerializer,\n ThreadRun,\n threadRunDeserializer,\n _AgentsPagedResultThreadRun,\n _agentsPagedResultThreadRunDeserializer,\n ToolOutput,\n toolOutputArraySerializer,\n} from \"../../models/models.js\";\nimport {\n RunsCancelRunOptionalParams,\n RunsSubmitToolOutputsToRunOptionalParams,\n RunsUpdateRunOptionalParams,\n RunsGetRunOptionalParams,\n RunsListRunsOptionalParams,\n RunsCreateRunOptionalParams,\n} from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { AgentRunResponse, AgentEventMessageStream } from \"../../models/streamingModels.js\";\nimport { createRunStreaming } from \"../operations.js\";\n\nexport function _cancelRunSend(\n context: Client,\n threadId: string,\n runId: string,\n options: RunsCancelRunOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/threads/{threadId}/runs/{runId}/cancel{?api%2Dversion}\",\n {\n threadId: threadId,\n runId: runId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _cancelRunDeserialize(result: PathUncheckedResponse): Promise<ThreadRun> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return threadRunDeserializer(result.body);\n}\n\n/** Cancels a run of an in‐progress thread. */\nexport async function cancelRun(\n context: Client,\n threadId: string,\n runId: string,\n options: RunsCancelRunOptionalParams = { requestOptions: {} },\n): Promise<ThreadRun> {\n const result = await _cancelRunSend(context, threadId, runId, options);\n return _cancelRunDeserialize(result);\n}\n\nexport function _submitToolOutputsToRunSend(\n context: Client,\n threadId: string,\n runId: string,\n toolOutputs: ToolOutput[],\n options: RunsSubmitToolOutputsToRunOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/threads/{threadId}/runs/{runId}/submit_tool_outputs{?api%2Dversion}\",\n {\n threadId: threadId,\n runId: runId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: {\n tool_outputs: toolOutputArraySerializer(toolOutputs),\n stream: options?.stream,\n },\n });\n}\n\nexport async function _submitToolOutputsToRunDeserialize(\n result: PathUncheckedResponse,\n): Promise<ThreadRun> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return threadRunDeserializer(result.body);\n}\n\n/** Submits outputs from tools as requested by tool calls in a run. */\nexport async function submitToolOutputsToRun(\n context: Client,\n threadId: string,\n runId: string,\n toolOutputs: ToolOutput[],\n options: RunsSubmitToolOutputsToRunOptionalParams = { requestOptions: {} },\n): Promise<ThreadRun> {\n const result = await _submitToolOutputsToRunSend(context, threadId, runId, toolOutputs, options);\n return _submitToolOutputsToRunDeserialize(result);\n}\n\nexport function _updateRunSend(\n context: Client,\n threadId: string,\n runId: string,\n options: RunsUpdateRunOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/threads/{threadId}/runs/{runId}{?api%2Dversion}\",\n {\n threadId: threadId,\n runId: runId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: { metadata: options?.metadata },\n });\n}\n\nexport async function _updateRunDeserialize(result: PathUncheckedResponse): Promise<ThreadRun> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return threadRunDeserializer(result.body);\n}\n\n/** Modifies an existing thread run. */\nexport async function updateRun(\n context: Client,\n threadId: string,\n runId: string,\n options: RunsUpdateRunOptionalParams = { requestOptions: {} },\n): Promise<ThreadRun> {\n const result = await _updateRunSend(context, threadId, runId, options);\n return _updateRunDeserialize(result);\n}\n\nexport function _getRunSend(\n context: Client,\n threadId: string,\n runId: string,\n options: RunsGetRunOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/threads/{threadId}/runs/{runId}{?api%2Dversion}\",\n {\n threadId: threadId,\n runId: runId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getRunDeserialize(result: PathUncheckedResponse): Promise<ThreadRun> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return threadRunDeserializer(result.body);\n}\n\n/** Gets an existing run from an existing thread. */\nexport async function getRun(\n context: Client,\n threadId: string,\n runId: string,\n options: RunsGetRunOptionalParams = { requestOptions: {} },\n): Promise<ThreadRun> {\n const result = await _getRunSend(context, threadId, runId, options);\n return _getRunDeserialize(result);\n}\n\nexport function _listRunsSend(\n context: Client,\n threadId: string,\n options: RunsListRunsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/threads/{threadId}/runs{?api%2Dversion,limit,order,after,before}\",\n {\n threadId: threadId,\n \"api%2Dversion\": context.apiVersion,\n limit: options?.limit,\n order: options?.order,\n after: options?.after,\n before: options?.before,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listRunsDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AgentsPagedResultThreadRun> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _agentsPagedResultThreadRunDeserializer(result.body);\n}\n\n/** Gets a list of runs for a specified thread. */\nexport function listRuns(\n context: Client,\n threadId: string,\n options: RunsListRunsOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ThreadRun> {\n return buildPagedAsyncIterator(\n context,\n () => _listRunsSend(context, threadId, options),\n _listRunsDeserialize,\n [\"200\"],\n { itemName: \"data\" },\n );\n}\n\nexport function _createRunSend(\n context: Client,\n threadId: string,\n assistantId: string,\n options: RunsCreateRunOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/threads/{threadId}/runs{?api%2Dversion,include%5B%5D}\",\n {\n threadId: threadId,\n \"api%2Dversion\": context.apiVersion,\n \"include%5B%5D\": !options?.include\n ? options?.include\n : options?.include.map((p: any) => {\n return p;\n }),\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: {\n assistant_id: assistantId,\n model: options?.model,\n instructions: options?.instructions,\n additional_instructions: options?.additionalInstructions,\n additional_messages: !options?.additionalMessages\n ? options?.additionalMessages\n : threadMessageOptionsArraySerializer(options?.additionalMessages),\n tools: !options?.tools ? options?.tools : toolDefinitionUnionArraySerializer(options?.tools),\n stream: options?.stream,\n temperature: options?.temperature,\n top_p: options?.topP,\n max_prompt_tokens: options?.maxPromptTokens,\n max_completion_tokens: options?.maxCompletionTokens,\n truncation_strategy: !options?.truncationStrategy\n ? options?.truncationStrategy\n : truncationObjectSerializer(options?.truncationStrategy),\n tool_choice: !options?.toolChoice\n ? options?.toolChoice\n : agentsToolChoiceOptionSerializer(options?.toolChoice),\n response_format: !options?.responseFormat\n ? options?.responseFormat\n : agentsResponseFormatOptionSerializer(options?.responseFormat),\n parallel_tool_calls: options?.parallelToolCalls,\n metadata: options?.metadata,\n },\n });\n}\n\nexport async function _createRunDeserialize(result: PathUncheckedResponse): Promise<ThreadRun> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return threadRunDeserializer(result.body);\n}\n\n/** Creates a new run for an agent thread. */\nexport function createRun(\n context: Client,\n threadId: string,\n assistantId: string,\n options: RunsCreateRunOptionalParams = { requestOptions: {} },\n): AgentRunResponse {\n async function executeCreateRun(): Promise<ThreadRun> {\n const result = await _createRunSend(context, threadId, assistantId, options);\n return _createRunDeserialize(result);\n }\n\n return {\n then: function (onFulfilled, onRejected) {\n return executeCreateRun().then(onFulfilled, onRejected).catch(onRejected);\n },\n async stream(): Promise<AgentEventMessageStream> {\n return createRunStreaming(context, assistantId, threadId, options);\n },\n };\n}\n"]}
@@ -0,0 +1,92 @@
1
+ import { ToolDefinitionUnion, AgentsResponseFormatOption, ThreadMessageOptions, TruncationObject, AgentsToolChoiceOption, ListSortOrder, RunAdditionalFieldList } from "../../models/models.js";
2
+ import { OperationOptions } from "@azure-rest/core-client";
3
+ /** Optional parameters. */
4
+ export interface RunsCancelRunOptionalParams extends OperationOptions {
5
+ }
6
+ /** Optional parameters. */
7
+ export interface RunsSubmitToolOutputsToRunOptionalParams extends OperationOptions {
8
+ /** If true, returns a stream of events that happen during the Run as SSE, terminating at `[DONE]`. */
9
+ stream?: boolean | null;
10
+ }
11
+ /** Optional parameters. */
12
+ export interface RunsUpdateRunOptionalParams extends OperationOptions {
13
+ /** A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. */
14
+ metadata?: Record<string, string> | null;
15
+ }
16
+ /** Optional parameters. */
17
+ export interface RunsGetRunOptionalParams extends OperationOptions {
18
+ }
19
+ /** Optional parameters. */
20
+ export interface RunsListRunsOptionalParams extends OperationOptions {
21
+ /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */
22
+ limit?: number;
23
+ /** Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order. */
24
+ order?: ListSortOrder;
25
+ /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */
26
+ after?: string;
27
+ /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */
28
+ before?: string;
29
+ }
30
+ /** Optional parameters. */
31
+ export interface RunsCreateRunOptionalParams extends OperationOptions {
32
+ /**
33
+ * A list of additional fields to include in the response.
34
+ * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content`
35
+ * to fetch the file search result content.
36
+ */
37
+ include?: RunAdditionalFieldList[];
38
+ /** The overridden model name that the agent should use to run the thread. */
39
+ model?: string | null;
40
+ /** The overridden system instructions that the agent should use to run the thread. */
41
+ instructions?: string | null;
42
+ /**
43
+ * Additional instructions to append at the end of the instructions for the run. This is useful for modifying the behavior
44
+ * on a per-run basis without overriding other instructions.
45
+ */
46
+ additionalInstructions?: string | null;
47
+ /** Adds additional messages to the thread before creating the run. */
48
+ additionalMessages?: ThreadMessageOptions[] | null;
49
+ /** The overridden list of enabled tools that the agent should use to run the thread. */
50
+ tools?: ToolDefinitionUnion[] | null;
51
+ /**
52
+ * If `true`, returns a stream of events that happen during the Run as server-sent events,
53
+ * terminating when the Run enters a terminal state with a `data: [DONE]` message.
54
+ */
55
+ stream?: boolean;
56
+ /**
57
+ * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output
58
+ * more random, while lower values like 0.2 will make it more focused and deterministic.
59
+ */
60
+ temperature?: number | null;
61
+ /**
62
+ * An alternative to sampling with temperature, called nucleus sampling, where the model
63
+ * considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens
64
+ * comprising the top 10% probability mass are considered.
65
+ *
66
+ * We generally recommend altering this or temperature but not both.
67
+ */
68
+ topP?: number | null;
69
+ /**
70
+ * The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only
71
+ * the number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,
72
+ * the run will end with status `incomplete`. See `incomplete_details` for more info.
73
+ */
74
+ maxPromptTokens?: number | null;
75
+ /**
76
+ * The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort
77
+ * to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of
78
+ * completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.
79
+ */
80
+ maxCompletionTokens?: number | null;
81
+ /** The strategy to use for dropping messages as the context windows moves forward. */
82
+ truncationStrategy?: TruncationObject | null;
83
+ /** Controls whether or not and which tool is called by the model. */
84
+ toolChoice?: AgentsToolChoiceOption | null;
85
+ /** Specifies the format that the model must output. */
86
+ responseFormat?: AgentsResponseFormatOption | null;
87
+ /** If `true` functions will run in parallel during tool use. */
88
+ parallelToolCalls?: boolean;
89
+ /** A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. */
90
+ metadata?: Record<string, string> | null;
91
+ }
92
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/api/runs/options.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,oBAAoB,EACpB,gBAAgB,EAChB,sBAAsB,EACtB,aAAa,EACb,sB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MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,sFAAsF;IACtF,kBAAkB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC7C,qEAAqE;IACrE,UAAU,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAAC;IAC3C,uDAAuD;IACvD,cAAc,CAAC,EAAE,0BAA0B,GAAG,IAAI,CAAC;IACnD,gEAAgE;IAChE,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,yPAAyP;IACzP,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;CAC1C"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/runs/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n ToolDefinitionUnion,\n AgentsResponseFormatOption,\n ThreadMessageOptions,\n TruncationObject,\n AgentsToolChoiceOption,\n ListSortOrder,\n RunAdditionalFieldList,\n} from \"../../models/models.js\";\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface RunsCancelRunOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface RunsSubmitToolOutputsToRunOptionalParams extends OperationOptions {\n /** If true, returns a stream of events that happen during the Run as SSE, terminating at `[DONE]`. */\n stream?: boolean | null;\n}\n\n/** Optional parameters. */\nexport interface RunsUpdateRunOptionalParams extends OperationOptions {\n /** A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. */\n metadata?: Record<string, string> | null;\n}\n\n/** Optional parameters. */\nexport interface RunsGetRunOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface RunsListRunsOptionalParams extends OperationOptions {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /** Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order. */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\n/** Optional parameters. */\nexport interface RunsCreateRunOptionalParams extends OperationOptions {\n /**\n * A list of additional fields to include in the response.\n * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content`\n * to fetch the file search result content.\n */\n include?: RunAdditionalFieldList[];\n /** The overridden model name that the agent should use to run the thread. */\n model?: string | null;\n /** The overridden system instructions that the agent should use to run the thread. */\n instructions?: string | null;\n /**\n * Additional instructions to append at the end of the instructions for the run. This is useful for modifying the behavior\n * on a per-run basis without overriding other instructions.\n */\n additionalInstructions?: string | null;\n /** Adds additional messages to the thread before creating the run. */\n additionalMessages?: ThreadMessageOptions[] | null;\n /** The overridden list of enabled tools that the agent should use to run the thread. */\n tools?: ToolDefinitionUnion[] | null;\n /**\n * If `true`, returns a stream of events that happen during the Run as server-sent events,\n * terminating when the Run enters a terminal state with a `data: [DONE]` message.\n */\n stream?: boolean;\n /**\n * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output\n * more random, while lower values like 0.2 will make it more focused and deterministic.\n */\n temperature?: number | null;\n /**\n * An alternative to sampling with temperature, called nucleus sampling, where the model\n * considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens\n * comprising the top 10% probability mass are considered.\n *\n * We generally recommend altering this or temperature but not both.\n */\n topP?: number | null;\n /**\n * The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only\n * the number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified,\n * the run will end with status `incomplete`. See `incomplete_details` for more info.\n */\n maxPromptTokens?: number | null;\n /**\n * The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort\n * to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of\n * completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.\n */\n maxCompletionTokens?: number | null;\n /** The strategy to use for dropping messages as the context windows moves forward. */\n truncationStrategy?: TruncationObject | null;\n /** Controls whether or not and which tool is called by the model. */\n toolChoice?: AgentsToolChoiceOption | null;\n /** Specifies the format that the model must output. */\n responseFormat?: AgentsResponseFormatOption | null;\n /** If `true` functions will run in parallel during tool use. */\n parallelToolCalls?: boolean;\n /** A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. */\n metadata?: Record<string, string> | null;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export { deleteThread, updateThread, getThread, listThreads, createThread } from "./operations.js";
2
+ export { ThreadsDeleteThreadOptionalParams, ThreadsUpdateThreadOptionalParams, ThreadsGetThreadOptionalParams, ThreadsListThreadsOptionalParams, ThreadsCreateThreadOptionalParams, } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/threads/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACnG,OAAO,EACL,iCAAiC,EACjC,iCAAiC,EACjC,8BAA8B,EAC9B,gCAAgC,EAChC,iCAAiC,GAClC,MAAM,cAAc,CAAC"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { deleteThread, updateThread, getThread, listThreads, createThread } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/threads/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { deleteThread, updateThread, getThread, listThreads, createThread } from \"./operations.js\";\nexport {\n ThreadsDeleteThreadOptionalParams,\n ThreadsUpdateThreadOptionalParams,\n ThreadsGetThreadOptionalParams,\n ThreadsListThreadsOptionalParams,\n ThreadsCreateThreadOptionalParams,\n} from \"./options.js\";\n"]}
@@ -0,0 +1,26 @@
1
+ import { AgentsContext as Client } from "../index.js";
2
+ import { AgentThread, _AgentsPagedResultAgentThread, ThreadDeletionStatus } from "../../models/models.js";
3
+ import { ThreadsDeleteThreadOptionalParams, ThreadsUpdateThreadOptionalParams, ThreadsGetThreadOptionalParams, ThreadsListThreadsOptionalParams, ThreadsCreateThreadOptionalParams } from "./options.js";
4
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ export declare function _deleteThreadSend(context: Client, threadId: string, options?: ThreadsDeleteThreadOptionalParams): StreamableMethod;
7
+ export declare function _deleteThreadDeserialize(result: PathUncheckedResponse): Promise<ThreadDeletionStatus>;
8
+ /** Deletes an existing thread. */
9
+ export declare function deleteThread(context: Client, threadId: string, options?: ThreadsDeleteThreadOptionalParams): Promise<ThreadDeletionStatus>;
10
+ export declare function _updateThreadSend(context: Client, threadId: string, options?: ThreadsUpdateThreadOptionalParams): StreamableMethod;
11
+ export declare function _updateThreadDeserialize(result: PathUncheckedResponse): Promise<AgentThread>;
12
+ /** Modifies an existing thread. */
13
+ export declare function updateThread(context: Client, threadId: string, options?: ThreadsUpdateThreadOptionalParams): Promise<AgentThread>;
14
+ export declare function _getThreadSend(context: Client, threadId: string, options?: ThreadsGetThreadOptionalParams): StreamableMethod;
15
+ export declare function _getThreadDeserialize(result: PathUncheckedResponse): Promise<AgentThread>;
16
+ /** Gets information about an existing thread. */
17
+ export declare function getThread(context: Client, threadId: string, options?: ThreadsGetThreadOptionalParams): Promise<AgentThread>;
18
+ export declare function _listThreadsSend(context: Client, options?: ThreadsListThreadsOptionalParams): StreamableMethod;
19
+ export declare function _listThreadsDeserialize(result: PathUncheckedResponse): Promise<_AgentsPagedResultAgentThread>;
20
+ /** Gets a list of threads that were previously created. */
21
+ export declare function listThreads(context: Client, options?: ThreadsListThreadsOptionalParams): PagedAsyncIterableIterator<AgentThread>;
22
+ export declare function _createThreadSend(context: Client, options?: ThreadsCreateThreadOptionalParams): StreamableMethod;
23
+ export declare function _createThreadDeserialize(result: PathUncheckedResponse): Promise<AgentThread>;
24
+ /** Creates a new thread. Threads contain messages and can be run by agents. */
25
+ export declare function createThread(context: Client, options?: ThreadsCreateThreadOptionalParams): Promise<AgentThread>;
26
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/threads/operations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAGL,WAAW,EAEX,6BAA6B,EAE7B,oBAAoB,EAErB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,iCAAiC,EACjC,iCAAiC,EACjC,8B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