@azure/ai-projects 1.0.0-beta.2 → 1.0.0-beta.4

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 (392) hide show
  1. package/LICENSE +4 -4
  2. package/README.md +270 -186
  3. package/dist/browser/agents/assistants.d.ts.map +1 -1
  4. package/dist/browser/agents/assistants.js +4 -2
  5. package/dist/browser/agents/assistants.js.map +1 -1
  6. package/dist/browser/agents/customModels.d.ts +4 -29
  7. package/dist/browser/agents/customModels.d.ts.map +1 -1
  8. package/dist/browser/agents/customModels.js.map +1 -1
  9. package/dist/browser/agents/files.d.ts +5 -4
  10. package/dist/browser/agents/files.d.ts.map +1 -1
  11. package/dist/browser/agents/files.js +55 -27
  12. package/dist/browser/agents/files.js.map +1 -1
  13. package/dist/browser/agents/index.d.ts +10 -10
  14. package/dist/browser/agents/index.d.ts.map +1 -1
  15. package/dist/browser/agents/index.js.map +1 -1
  16. package/dist/browser/agents/inputOutputs.d.ts +3 -3
  17. package/dist/browser/agents/inputOutputs.d.ts.map +1 -1
  18. package/dist/browser/agents/inputOutputs.js.map +1 -1
  19. package/dist/browser/agents/inputValidations.d.ts.map +1 -1
  20. package/dist/browser/agents/inputValidations.js +3 -2
  21. package/dist/browser/agents/inputValidations.js.map +1 -1
  22. package/dist/browser/agents/messages.js +2 -2
  23. package/dist/browser/agents/messages.js.map +1 -1
  24. package/dist/browser/agents/poller.d.ts +8 -33
  25. package/dist/browser/agents/poller.d.ts.map +1 -1
  26. package/dist/browser/agents/poller.js +130 -53
  27. package/dist/browser/agents/poller.js.map +1 -1
  28. package/dist/browser/agents/streamingModels.d.ts +17 -15
  29. package/dist/browser/agents/streamingModels.d.ts.map +1 -1
  30. package/dist/browser/agents/streamingModels.js.map +1 -1
  31. package/dist/browser/agents/traceUtility.d.ts +3 -3
  32. package/dist/browser/agents/traceUtility.d.ts.map +1 -1
  33. package/dist/browser/agents/traceUtility.js.map +1 -1
  34. package/dist/browser/agents/utils.d.ts +72 -4
  35. package/dist/browser/agents/utils.d.ts.map +1 -1
  36. package/dist/browser/agents/utils.js +100 -3
  37. package/dist/browser/agents/utils.js.map +1 -1
  38. package/dist/browser/agents/vectorStores.d.ts +3 -4
  39. package/dist/browser/agents/vectorStores.d.ts.map +1 -1
  40. package/dist/browser/agents/vectorStores.js +44 -26
  41. package/dist/browser/agents/vectorStores.js.map +1 -1
  42. package/dist/browser/agents/vectorStoresFileBatches.d.ts +5 -4
  43. package/dist/browser/agents/vectorStoresFileBatches.d.ts.map +1 -1
  44. package/dist/browser/agents/vectorStoresFileBatches.js +46 -32
  45. package/dist/browser/agents/vectorStoresFileBatches.js.map +1 -1
  46. package/dist/browser/agents/vectorStoresFiles.d.ts +4 -4
  47. package/dist/browser/agents/vectorStoresFiles.d.ts.map +1 -1
  48. package/dist/browser/agents/vectorStoresFiles.js +57 -28
  49. package/dist/browser/agents/vectorStoresFiles.js.map +1 -1
  50. package/dist/browser/constants.d.ts +1 -1
  51. package/dist/browser/constants.js +1 -1
  52. package/dist/browser/constants.js.map +1 -1
  53. package/dist/browser/customization/convertModelsToWrite.d.ts.map +1 -1
  54. package/dist/browser/customization/convertModelsToWrite.js +43 -94
  55. package/dist/browser/customization/convertModelsToWrite.js.map +1 -1
  56. package/dist/browser/customization/convertOutputModelsFromWire.d.ts.map +1 -1
  57. package/dist/browser/customization/convertOutputModelsFromWire.js +53 -11
  58. package/dist/browser/customization/convertOutputModelsFromWire.js.map +1 -1
  59. package/dist/browser/customization/convertParametersToWire.d.ts +1 -1
  60. package/dist/browser/customization/convertParametersToWire.d.ts.map +1 -1
  61. package/dist/browser/customization/convertParametersToWire.js.map +1 -1
  62. package/dist/browser/customization/models.d.ts +146 -151
  63. package/dist/browser/customization/models.d.ts.map +1 -1
  64. package/dist/browser/customization/models.js.map +1 -1
  65. package/dist/browser/customization/outputModels.d.ts +188 -37
  66. package/dist/browser/customization/outputModels.d.ts.map +1 -1
  67. package/dist/browser/customization/outputModels.js.map +1 -1
  68. package/dist/browser/customization/streamingModels.d.ts +2 -1
  69. package/dist/browser/customization/streamingModels.d.ts.map +1 -1
  70. package/dist/browser/customization/streamingModels.js.map +1 -1
  71. package/dist/browser/customization/streamingWireModels.d.ts +2 -1
  72. package/dist/browser/customization/streamingWireModels.d.ts.map +1 -1
  73. package/dist/browser/customization/streamingWireModels.js.map +1 -1
  74. package/dist/browser/generated/src/clientDefinitions.d.ts +3 -3
  75. package/dist/browser/generated/src/clientDefinitions.d.ts.map +1 -1
  76. package/dist/browser/generated/src/clientDefinitions.js.map +1 -1
  77. package/dist/browser/generated/src/isUnexpected.d.ts +1 -1
  78. package/dist/browser/generated/src/isUnexpected.d.ts.map +1 -1
  79. package/dist/browser/generated/src/isUnexpected.js.map +1 -1
  80. package/dist/browser/generated/src/models.d.ts +191 -157
  81. package/dist/browser/generated/src/models.d.ts.map +1 -1
  82. package/dist/browser/generated/src/models.js.map +1 -1
  83. package/dist/browser/generated/src/outputModels.d.ts +277 -47
  84. package/dist/browser/generated/src/outputModels.d.ts.map +1 -1
  85. package/dist/browser/generated/src/outputModels.js.map +1 -1
  86. package/dist/browser/generated/src/paginateHelper.d.ts +28 -3
  87. package/dist/browser/generated/src/paginateHelper.d.ts.map +1 -1
  88. package/dist/browser/generated/src/paginateHelper.js +99 -2
  89. package/dist/browser/generated/src/paginateHelper.js.map +1 -1
  90. package/dist/browser/generated/src/parameters.d.ts +67 -10
  91. package/dist/browser/generated/src/parameters.d.ts.map +1 -1
  92. package/dist/browser/generated/src/parameters.js.map +1 -1
  93. package/dist/browser/generated/src/projectsClient.d.ts +5 -5
  94. package/dist/browser/generated/src/projectsClient.d.ts.map +1 -1
  95. package/dist/browser/generated/src/projectsClient.js +3 -3
  96. package/dist/browser/generated/src/projectsClient.js.map +1 -1
  97. package/dist/browser/generated/src/responses.d.ts +5 -4
  98. package/dist/browser/generated/src/responses.d.ts.map +1 -1
  99. package/dist/browser/generated/src/responses.js.map +1 -1
  100. package/dist/commonjs/agents/assistants.d.ts.map +1 -1
  101. package/dist/commonjs/agents/assistants.js +4 -2
  102. package/dist/commonjs/agents/assistants.js.map +1 -1
  103. package/dist/commonjs/agents/customModels.d.ts +4 -29
  104. package/dist/commonjs/agents/customModels.d.ts.map +1 -1
  105. package/dist/commonjs/agents/customModels.js.map +1 -1
  106. package/dist/commonjs/agents/files.d.ts +5 -4
  107. package/dist/commonjs/agents/files.d.ts.map +1 -1
  108. package/dist/commonjs/agents/files.js +55 -26
  109. package/dist/commonjs/agents/files.js.map +1 -1
  110. package/dist/commonjs/agents/index.d.ts +10 -10
  111. package/dist/commonjs/agents/index.d.ts.map +1 -1
  112. package/dist/commonjs/agents/index.js.map +1 -1
  113. package/dist/commonjs/agents/inputOutputs.d.ts +3 -3
  114. package/dist/commonjs/agents/inputOutputs.d.ts.map +1 -1
  115. package/dist/commonjs/agents/inputOutputs.js.map +1 -1
  116. package/dist/commonjs/agents/inputValidations.d.ts.map +1 -1
  117. package/dist/commonjs/agents/inputValidations.js +3 -2
  118. package/dist/commonjs/agents/inputValidations.js.map +1 -1
  119. package/dist/commonjs/agents/messages.js +2 -2
  120. package/dist/commonjs/agents/messages.js.map +1 -1
  121. package/dist/commonjs/agents/poller.d.ts +8 -33
  122. package/dist/commonjs/agents/poller.d.ts.map +1 -1
  123. package/dist/commonjs/agents/poller.js +131 -55
  124. package/dist/commonjs/agents/poller.js.map +1 -1
  125. package/dist/commonjs/agents/streamingModels.d.ts +17 -15
  126. package/dist/commonjs/agents/streamingModels.d.ts.map +1 -1
  127. package/dist/commonjs/agents/streamingModels.js.map +1 -1
  128. package/dist/commonjs/agents/traceUtility.d.ts +3 -3
  129. package/dist/commonjs/agents/traceUtility.d.ts.map +1 -1
  130. package/dist/commonjs/agents/traceUtility.js.map +1 -1
  131. package/dist/commonjs/agents/utils.d.ts +72 -4
  132. package/dist/commonjs/agents/utils.d.ts.map +1 -1
  133. package/dist/commonjs/agents/utils.js +100 -3
  134. package/dist/commonjs/agents/utils.js.map +1 -1
  135. package/dist/commonjs/agents/vectorStores.d.ts +3 -4
  136. package/dist/commonjs/agents/vectorStores.d.ts.map +1 -1
  137. package/dist/commonjs/agents/vectorStores.js +43 -25
  138. package/dist/commonjs/agents/vectorStores.js.map +1 -1
  139. package/dist/commonjs/agents/vectorStoresFileBatches.d.ts +5 -4
  140. package/dist/commonjs/agents/vectorStoresFileBatches.d.ts.map +1 -1
  141. package/dist/commonjs/agents/vectorStoresFileBatches.js +46 -31
  142. package/dist/commonjs/agents/vectorStoresFileBatches.js.map +1 -1
  143. package/dist/commonjs/agents/vectorStoresFiles.d.ts +4 -4
  144. package/dist/commonjs/agents/vectorStoresFiles.d.ts.map +1 -1
  145. package/dist/commonjs/agents/vectorStoresFiles.js +56 -27
  146. package/dist/commonjs/agents/vectorStoresFiles.js.map +1 -1
  147. package/dist/commonjs/constants.d.ts +1 -1
  148. package/dist/commonjs/constants.js +1 -1
  149. package/dist/commonjs/constants.js.map +1 -1
  150. package/dist/commonjs/customization/convertModelsToWrite.d.ts.map +1 -1
  151. package/dist/commonjs/customization/convertModelsToWrite.js +43 -94
  152. package/dist/commonjs/customization/convertModelsToWrite.js.map +1 -1
  153. package/dist/commonjs/customization/convertOutputModelsFromWire.d.ts.map +1 -1
  154. package/dist/commonjs/customization/convertOutputModelsFromWire.js +53 -11
  155. package/dist/commonjs/customization/convertOutputModelsFromWire.js.map +1 -1
  156. package/dist/commonjs/customization/convertParametersToWire.d.ts +1 -1
  157. package/dist/commonjs/customization/convertParametersToWire.d.ts.map +1 -1
  158. package/dist/commonjs/customization/convertParametersToWire.js.map +1 -1
  159. package/dist/commonjs/customization/models.d.ts +146 -151
  160. package/dist/commonjs/customization/models.d.ts.map +1 -1
  161. package/dist/commonjs/customization/models.js.map +1 -1
  162. package/dist/commonjs/customization/outputModels.d.ts +188 -37
  163. package/dist/commonjs/customization/outputModels.d.ts.map +1 -1
  164. package/dist/commonjs/customization/outputModels.js.map +1 -1
  165. package/dist/commonjs/customization/streamingModels.d.ts +2 -1
  166. package/dist/commonjs/customization/streamingModels.d.ts.map +1 -1
  167. package/dist/commonjs/customization/streamingModels.js.map +1 -1
  168. package/dist/commonjs/customization/streamingWireModels.d.ts +2 -1
  169. package/dist/commonjs/customization/streamingWireModels.d.ts.map +1 -1
  170. package/dist/commonjs/customization/streamingWireModels.js.map +1 -1
  171. package/dist/commonjs/generated/src/clientDefinitions.d.ts +3 -3
  172. package/dist/commonjs/generated/src/clientDefinitions.d.ts.map +1 -1
  173. package/dist/commonjs/generated/src/clientDefinitions.js.map +1 -1
  174. package/dist/commonjs/generated/src/isUnexpected.d.ts +1 -1
  175. package/dist/commonjs/generated/src/isUnexpected.d.ts.map +1 -1
  176. package/dist/commonjs/generated/src/isUnexpected.js.map +1 -1
  177. package/dist/commonjs/generated/src/models.d.ts +191 -157
  178. package/dist/commonjs/generated/src/models.d.ts.map +1 -1
  179. package/dist/commonjs/generated/src/models.js.map +1 -1
  180. package/dist/commonjs/generated/src/outputModels.d.ts +277 -47
  181. package/dist/commonjs/generated/src/outputModels.d.ts.map +1 -1
  182. package/dist/commonjs/generated/src/outputModels.js.map +1 -1
  183. package/dist/commonjs/generated/src/paginateHelper.d.ts +28 -3
  184. package/dist/commonjs/generated/src/paginateHelper.d.ts.map +1 -1
  185. package/dist/commonjs/generated/src/paginateHelper.js +99 -2
  186. package/dist/commonjs/generated/src/paginateHelper.js.map +1 -1
  187. package/dist/commonjs/generated/src/parameters.d.ts +67 -10
  188. package/dist/commonjs/generated/src/parameters.d.ts.map +1 -1
  189. package/dist/commonjs/generated/src/parameters.js.map +1 -1
  190. package/dist/commonjs/generated/src/projectsClient.d.ts +5 -5
  191. package/dist/commonjs/generated/src/projectsClient.d.ts.map +1 -1
  192. package/dist/commonjs/generated/src/projectsClient.js +3 -3
  193. package/dist/commonjs/generated/src/projectsClient.js.map +1 -1
  194. package/dist/commonjs/generated/src/responses.d.ts +5 -4
  195. package/dist/commonjs/generated/src/responses.d.ts.map +1 -1
  196. package/dist/commonjs/generated/src/responses.js.map +1 -1
  197. package/dist/commonjs/tsdoc-metadata.json +1 -1
  198. package/dist/esm/agents/assistants.d.ts.map +1 -1
  199. package/dist/esm/agents/assistants.js +4 -2
  200. package/dist/esm/agents/assistants.js.map +1 -1
  201. package/dist/esm/agents/customModels.d.ts +4 -29
  202. package/dist/esm/agents/customModels.d.ts.map +1 -1
  203. package/dist/esm/agents/customModels.js.map +1 -1
  204. package/dist/esm/agents/files.d.ts +5 -4
  205. package/dist/esm/agents/files.d.ts.map +1 -1
  206. package/dist/esm/agents/files.js +55 -27
  207. package/dist/esm/agents/files.js.map +1 -1
  208. package/dist/esm/agents/index.d.ts +10 -10
  209. package/dist/esm/agents/index.d.ts.map +1 -1
  210. package/dist/esm/agents/index.js.map +1 -1
  211. package/dist/esm/agents/inputOutputs.d.ts +3 -3
  212. package/dist/esm/agents/inputOutputs.d.ts.map +1 -1
  213. package/dist/esm/agents/inputOutputs.js.map +1 -1
  214. package/dist/esm/agents/inputValidations.d.ts.map +1 -1
  215. package/dist/esm/agents/inputValidations.js +3 -2
  216. package/dist/esm/agents/inputValidations.js.map +1 -1
  217. package/dist/esm/agents/messages.js +2 -2
  218. package/dist/esm/agents/messages.js.map +1 -1
  219. package/dist/esm/agents/poller.d.ts +8 -33
  220. package/dist/esm/agents/poller.d.ts.map +1 -1
  221. package/dist/esm/agents/poller.js +130 -53
  222. package/dist/esm/agents/poller.js.map +1 -1
  223. package/dist/esm/agents/streamingModels.d.ts +17 -15
  224. package/dist/esm/agents/streamingModels.d.ts.map +1 -1
  225. package/dist/esm/agents/streamingModels.js.map +1 -1
  226. package/dist/esm/agents/traceUtility.d.ts +3 -3
  227. package/dist/esm/agents/traceUtility.d.ts.map +1 -1
  228. package/dist/esm/agents/traceUtility.js.map +1 -1
  229. package/dist/esm/agents/utils.d.ts +72 -4
  230. package/dist/esm/agents/utils.d.ts.map +1 -1
  231. package/dist/esm/agents/utils.js +100 -3
  232. package/dist/esm/agents/utils.js.map +1 -1
  233. package/dist/esm/agents/vectorStores.d.ts +3 -4
  234. package/dist/esm/agents/vectorStores.d.ts.map +1 -1
  235. package/dist/esm/agents/vectorStores.js +44 -26
  236. package/dist/esm/agents/vectorStores.js.map +1 -1
  237. package/dist/esm/agents/vectorStoresFileBatches.d.ts +5 -4
  238. package/dist/esm/agents/vectorStoresFileBatches.d.ts.map +1 -1
  239. package/dist/esm/agents/vectorStoresFileBatches.js +46 -32
  240. package/dist/esm/agents/vectorStoresFileBatches.js.map +1 -1
  241. package/dist/esm/agents/vectorStoresFiles.d.ts +4 -4
  242. package/dist/esm/agents/vectorStoresFiles.d.ts.map +1 -1
  243. package/dist/esm/agents/vectorStoresFiles.js +57 -28
  244. package/dist/esm/agents/vectorStoresFiles.js.map +1 -1
  245. package/dist/esm/constants.d.ts +1 -1
  246. package/dist/esm/constants.js +1 -1
  247. package/dist/esm/constants.js.map +1 -1
  248. package/dist/esm/customization/convertModelsToWrite.d.ts.map +1 -1
  249. package/dist/esm/customization/convertModelsToWrite.js +43 -94
  250. package/dist/esm/customization/convertModelsToWrite.js.map +1 -1
  251. package/dist/esm/customization/convertOutputModelsFromWire.d.ts.map +1 -1
  252. package/dist/esm/customization/convertOutputModelsFromWire.js +53 -11
  253. package/dist/esm/customization/convertOutputModelsFromWire.js.map +1 -1
  254. package/dist/esm/customization/convertParametersToWire.d.ts +1 -1
  255. package/dist/esm/customization/convertParametersToWire.d.ts.map +1 -1
  256. package/dist/esm/customization/convertParametersToWire.js.map +1 -1
  257. package/dist/esm/customization/models.d.ts +146 -151
  258. package/dist/esm/customization/models.d.ts.map +1 -1
  259. package/dist/esm/customization/models.js.map +1 -1
  260. package/dist/esm/customization/outputModels.d.ts +188 -37
  261. package/dist/esm/customization/outputModels.d.ts.map +1 -1
  262. package/dist/esm/customization/outputModels.js.map +1 -1
  263. package/dist/esm/customization/streamingModels.d.ts +2 -1
  264. package/dist/esm/customization/streamingModels.d.ts.map +1 -1
  265. package/dist/esm/customization/streamingModels.js.map +1 -1
  266. package/dist/esm/customization/streamingWireModels.d.ts +2 -1
  267. package/dist/esm/customization/streamingWireModels.d.ts.map +1 -1
  268. package/dist/esm/customization/streamingWireModels.js.map +1 -1
  269. package/dist/esm/generated/src/clientDefinitions.d.ts +3 -3
  270. package/dist/esm/generated/src/clientDefinitions.d.ts.map +1 -1
  271. package/dist/esm/generated/src/clientDefinitions.js.map +1 -1
  272. package/dist/esm/generated/src/isUnexpected.d.ts +1 -1
  273. package/dist/esm/generated/src/isUnexpected.d.ts.map +1 -1
  274. package/dist/esm/generated/src/isUnexpected.js.map +1 -1
  275. package/dist/esm/generated/src/models.d.ts +191 -157
  276. package/dist/esm/generated/src/models.d.ts.map +1 -1
  277. package/dist/esm/generated/src/models.js.map +1 -1
  278. package/dist/esm/generated/src/outputModels.d.ts +277 -47
  279. package/dist/esm/generated/src/outputModels.d.ts.map +1 -1
  280. package/dist/esm/generated/src/outputModels.js.map +1 -1
  281. package/dist/esm/generated/src/paginateHelper.d.ts +28 -3
  282. package/dist/esm/generated/src/paginateHelper.d.ts.map +1 -1
  283. package/dist/esm/generated/src/paginateHelper.js +99 -2
  284. package/dist/esm/generated/src/paginateHelper.js.map +1 -1
  285. package/dist/esm/generated/src/parameters.d.ts +67 -10
  286. package/dist/esm/generated/src/parameters.d.ts.map +1 -1
  287. package/dist/esm/generated/src/parameters.js.map +1 -1
  288. package/dist/esm/generated/src/projectsClient.d.ts +5 -5
  289. package/dist/esm/generated/src/projectsClient.d.ts.map +1 -1
  290. package/dist/esm/generated/src/projectsClient.js +3 -3
  291. package/dist/esm/generated/src/projectsClient.js.map +1 -1
  292. package/dist/esm/generated/src/responses.d.ts +5 -4
  293. package/dist/esm/generated/src/responses.d.ts.map +1 -1
  294. package/dist/esm/generated/src/responses.js.map +1 -1
  295. package/dist/react-native/agents/assistants.d.ts.map +1 -1
  296. package/dist/react-native/agents/assistants.js +4 -2
  297. package/dist/react-native/agents/assistants.js.map +1 -1
  298. package/dist/react-native/agents/customModels.d.ts +4 -29
  299. package/dist/react-native/agents/customModels.d.ts.map +1 -1
  300. package/dist/react-native/agents/customModels.js.map +1 -1
  301. package/dist/react-native/agents/files.d.ts +5 -4
  302. package/dist/react-native/agents/files.d.ts.map +1 -1
  303. package/dist/react-native/agents/files.js +55 -27
  304. package/dist/react-native/agents/files.js.map +1 -1
  305. package/dist/react-native/agents/index.d.ts +10 -10
  306. package/dist/react-native/agents/index.d.ts.map +1 -1
  307. package/dist/react-native/agents/index.js.map +1 -1
  308. package/dist/react-native/agents/inputOutputs.d.ts +3 -3
  309. package/dist/react-native/agents/inputOutputs.d.ts.map +1 -1
  310. package/dist/react-native/agents/inputOutputs.js.map +1 -1
  311. package/dist/react-native/agents/inputValidations.d.ts.map +1 -1
  312. package/dist/react-native/agents/inputValidations.js +3 -2
  313. package/dist/react-native/agents/inputValidations.js.map +1 -1
  314. package/dist/react-native/agents/messages.js +2 -2
  315. package/dist/react-native/agents/messages.js.map +1 -1
  316. package/dist/react-native/agents/poller.d.ts +8 -33
  317. package/dist/react-native/agents/poller.d.ts.map +1 -1
  318. package/dist/react-native/agents/poller.js +130 -53
  319. package/dist/react-native/agents/poller.js.map +1 -1
  320. package/dist/react-native/agents/streamingModels.d.ts +17 -15
  321. package/dist/react-native/agents/streamingModels.d.ts.map +1 -1
  322. package/dist/react-native/agents/streamingModels.js.map +1 -1
  323. package/dist/react-native/agents/traceUtility.d.ts +3 -3
  324. package/dist/react-native/agents/traceUtility.d.ts.map +1 -1
  325. package/dist/react-native/agents/traceUtility.js.map +1 -1
  326. package/dist/react-native/agents/utils.d.ts +72 -4
  327. package/dist/react-native/agents/utils.d.ts.map +1 -1
  328. package/dist/react-native/agents/utils.js +100 -3
  329. package/dist/react-native/agents/utils.js.map +1 -1
  330. package/dist/react-native/agents/vectorStores.d.ts +3 -4
  331. package/dist/react-native/agents/vectorStores.d.ts.map +1 -1
  332. package/dist/react-native/agents/vectorStores.js +44 -26
  333. package/dist/react-native/agents/vectorStores.js.map +1 -1
  334. package/dist/react-native/agents/vectorStoresFileBatches.d.ts +5 -4
  335. package/dist/react-native/agents/vectorStoresFileBatches.d.ts.map +1 -1
  336. package/dist/react-native/agents/vectorStoresFileBatches.js +46 -32
  337. package/dist/react-native/agents/vectorStoresFileBatches.js.map +1 -1
  338. package/dist/react-native/agents/vectorStoresFiles.d.ts +4 -4
  339. package/dist/react-native/agents/vectorStoresFiles.d.ts.map +1 -1
  340. package/dist/react-native/agents/vectorStoresFiles.js +57 -28
  341. package/dist/react-native/agents/vectorStoresFiles.js.map +1 -1
  342. package/dist/react-native/constants.d.ts +1 -1
  343. package/dist/react-native/constants.js +1 -1
  344. package/dist/react-native/constants.js.map +1 -1
  345. package/dist/react-native/customization/convertModelsToWrite.d.ts.map +1 -1
  346. package/dist/react-native/customization/convertModelsToWrite.js +43 -94
  347. package/dist/react-native/customization/convertModelsToWrite.js.map +1 -1
  348. package/dist/react-native/customization/convertOutputModelsFromWire.d.ts.map +1 -1
  349. package/dist/react-native/customization/convertOutputModelsFromWire.js +53 -11
  350. package/dist/react-native/customization/convertOutputModelsFromWire.js.map +1 -1
  351. package/dist/react-native/customization/convertParametersToWire.d.ts +1 -1
  352. package/dist/react-native/customization/convertParametersToWire.d.ts.map +1 -1
  353. package/dist/react-native/customization/convertParametersToWire.js.map +1 -1
  354. package/dist/react-native/customization/models.d.ts +146 -151
  355. package/dist/react-native/customization/models.d.ts.map +1 -1
  356. package/dist/react-native/customization/models.js.map +1 -1
  357. package/dist/react-native/customization/outputModels.d.ts +188 -37
  358. package/dist/react-native/customization/outputModels.d.ts.map +1 -1
  359. package/dist/react-native/customization/outputModels.js.map +1 -1
  360. package/dist/react-native/customization/streamingModels.d.ts +2 -1
  361. package/dist/react-native/customization/streamingModels.d.ts.map +1 -1
  362. package/dist/react-native/customization/streamingModels.js.map +1 -1
  363. package/dist/react-native/customization/streamingWireModels.d.ts +2 -1
  364. package/dist/react-native/customization/streamingWireModels.d.ts.map +1 -1
  365. package/dist/react-native/customization/streamingWireModels.js.map +1 -1
  366. package/dist/react-native/generated/src/clientDefinitions.d.ts +3 -3
  367. package/dist/react-native/generated/src/clientDefinitions.d.ts.map +1 -1
  368. package/dist/react-native/generated/src/clientDefinitions.js.map +1 -1
  369. package/dist/react-native/generated/src/isUnexpected.d.ts +1 -1
  370. package/dist/react-native/generated/src/isUnexpected.d.ts.map +1 -1
  371. package/dist/react-native/generated/src/isUnexpected.js.map +1 -1
  372. package/dist/react-native/generated/src/models.d.ts +191 -157
  373. package/dist/react-native/generated/src/models.d.ts.map +1 -1
  374. package/dist/react-native/generated/src/models.js.map +1 -1
  375. package/dist/react-native/generated/src/outputModels.d.ts +277 -47
  376. package/dist/react-native/generated/src/outputModels.d.ts.map +1 -1
  377. package/dist/react-native/generated/src/outputModels.js.map +1 -1
  378. package/dist/react-native/generated/src/paginateHelper.d.ts +28 -3
  379. package/dist/react-native/generated/src/paginateHelper.d.ts.map +1 -1
  380. package/dist/react-native/generated/src/paginateHelper.js +99 -2
  381. package/dist/react-native/generated/src/paginateHelper.js.map +1 -1
  382. package/dist/react-native/generated/src/parameters.d.ts +67 -10
  383. package/dist/react-native/generated/src/parameters.d.ts.map +1 -1
  384. package/dist/react-native/generated/src/parameters.js.map +1 -1
  385. package/dist/react-native/generated/src/projectsClient.d.ts +5 -5
  386. package/dist/react-native/generated/src/projectsClient.d.ts.map +1 -1
  387. package/dist/react-native/generated/src/projectsClient.js +3 -3
  388. package/dist/react-native/generated/src/projectsClient.js.map +1 -1
  389. package/dist/react-native/generated/src/responses.d.ts +5 -4
  390. package/dist/react-native/generated/src/responses.d.ts.map +1 -1
  391. package/dist/react-native/generated/src/responses.js.map +1 -1
  392. package/package.json +33 -34
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/responses.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAA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AE,cAAc,GAAG,0BAA0B,CAAC;CACtD;AAED,mFAAmF;AACnF,MAAM,WAAW,0BAA2B,SAAQ,YAAY;IAC9D,MAAM,EAAE,KAAK,CAAC;CACf;AAED,MAAM,WAAW,6BAA6B;IAC5C,oDAAoD;IACpD,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,8BAA+B,SAAQ,YAAY;IAClE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,cAAc,GAAG,6BAA6B,CAAC;CACzD"}
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/responses.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EACV,WAAW,EACX,+BAA+B,EAC/B,yBAAyB,EACzB,iBAAiB,EACjB,0BAA0B,EAC1B,mBAAmB,EACnB,uCAAuC,EACvC,eAAe,EACf,mCAAmC,EACnC,aAAa,EACb,iCAAiC,EACjC,sBAAsB,EACtB,gBAAgB,EAChB,wBAAwB,EACxB,qCAAqC,EACrC,iBAAiB,EACjB,+BAA+B,EAC/B,yCAAyC,EACzC,qBAAqB,EACrB,mCAAmC,EACnC,0BAA0B,EAC1B,0BAA0B,EAC1B,6BAA6B,EAC7B,2BAA2B,EAC3B,4BAA4B,EAC5B,gBAAgB,EAChB,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC9B,MAAM,mBAAmB,CAAC;AAE3B,8BAA8B;AAC9B,MAAM,WAAW,sBAAuB,SAAQ,YAAY;IAC1D,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,WAAW,CAAC;CACnB;AAED,MAAM,WAAW,yBAAyB;IACxC,oDAAoD;IACpD,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC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,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,cAAc,GAAG,qCAAqC,CAAC;CACjE;AAED,MAAM,WAAW,sBAAsB;IACrC,sFAAsF;IACtF,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,iCAAiC;AACjC,MAAM,WAAW,uBAAwB,SAAQ,YAAY;IAC3D,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,6BAA6B,CAAC;IACpC,OAAO,EAAE,cAAc,GAAG,sBAAsB,CAAC;CAClD;AAED,MAAM,WAAW,0BAA0B;IACzC,oDAAoD;IACpD,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,2BAA4B,SAAQ,YAAY;IAC/D,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,cAAc,GAAG,0BAA0B,CAAC;CACtD;AAED,mFAAmF;AACnF,MAAM,WAAW,0BAA2B,SAAQ,YAAY;IAC9D,MAAM,EAAE,KAAK,CAAC;CACf;AAED,MAAM,WAAW,6BAA6B;IAC5C,oDAAoD;IACpD,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,8BAA+B,SAAQ,YAAY;IAClE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,cAAc,GAAG,6BAA6B,CAAC;CACzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/generated/src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport { HttpResponse, ErrorResponse } from \"@azure-rest/core-client\";\nimport {\n AgentOutput,\n OpenAIPageableListOfAgentOutput,\n OpenAIPageableListOfVectorStoreOutput,\n AgentDeletionStatusOutput,\n AgentThreadOutput,\n ThreadDeletionStatusOutput,\n ThreadMessageOutput,\n ThreadRunOutput,\n RunStepOutput,\n FileListResponseOutput,\n OpenAIFileOutput,\n FileDeletionStatusOutput,\n VectorStoreOutput,\n VectorStoreDeletionStatusOutput,\n VectorStoreFileOutput,\n VectorStoreFileDeletionStatusOutput,\n VectorStoreFileBatchOutput,\n GetWorkspaceResponseOutput,\n ListConnectionsResponseOutput,\n GetConnectionResponseOutput,\n GetAppInsightsResponseOutput,\n EvaluationOutput,\n PagedEvaluationOutput,\n EvaluationScheduleOutput,\n PagedEvaluationScheduleOutput,\n OpenAIPageableListOfVectorStoreFileOutput,\n OpenAIPageableListOfRunStepOutput,\n OpenAIPageableListOfThreadRunOutput,\n OpenAIPageableListOfThreadMessageOutput,\n} from \"./outputModels.js\";\n\n/** The new agent instance. */\nexport interface CreateAgent200Response extends HttpResponse {\n status: \"200\";\n body: AgentOutput;\n}\n\nexport interface CreateAgentDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateAgentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateAgentDefaultHeaders;\n}\n\n/** The requested list of agents. */\nexport interface ListAgents200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfAgentOutput;\n}\n\nexport interface ListAgentsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListAgentsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListAgentsDefaultHeaders;\n}\n\n/** The requested agent instance. */\nexport interface GetAgent200Response extends HttpResponse {\n status: \"200\";\n body: AgentOutput;\n}\n\nexport interface GetAgentDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetAgentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetAgentDefaultHeaders;\n}\n\n/** The updated agent instance. */\nexport interface UpdateAgent200Response extends HttpResponse {\n status: \"200\";\n body: AgentOutput;\n}\n\nexport interface UpdateAgentDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateAgentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpdateAgentDefaultHeaders;\n}\n\n/** Status information about the requested deletion operation. */\nexport interface DeleteAgent200Response extends HttpResponse {\n status: \"200\";\n body: AgentDeletionStatusOutput;\n}\n\nexport interface DeleteAgentDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteAgentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteAgentDefaultHeaders;\n}\n\n/** Information about the newly created thread. */\nexport interface CreateThread200Response extends HttpResponse {\n status: \"200\";\n body: AgentThreadOutput;\n}\n\nexport interface CreateThreadDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateThreadDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateThreadDefaultHeaders;\n}\n\n/** Information about the requested thread. */\nexport interface GetThread200Response extends HttpResponse {\n status: \"200\";\n body: AgentThreadOutput;\n}\n\nexport interface GetThreadDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetThreadDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetThreadDefaultHeaders;\n}\n\n/** Information about the modified thread. */\nexport interface UpdateThread200Response extends HttpResponse {\n status: \"200\";\n body: AgentThreadOutput;\n}\n\nexport interface UpdateThreadDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateThreadDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpdateThreadDefaultHeaders;\n}\n\n/** Status information about the requested thread deletion operation. */\nexport interface DeleteThread200Response extends HttpResponse {\n status: \"200\";\n body: ThreadDeletionStatusOutput;\n}\n\nexport interface DeleteThreadDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteThreadDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteThreadDefaultHeaders;\n}\n\n/** A representation of the new message. */\nexport interface CreateMessage200Response extends HttpResponse {\n status: \"200\";\n body: ThreadMessageOutput;\n}\n\nexport interface CreateMessageDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateMessageDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateMessageDefaultHeaders;\n}\n\n/** The requested list of messages. */\nexport interface ListMessages200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfThreadMessageOutput;\n}\n\nexport interface ListMessagesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListMessagesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListMessagesDefaultHeaders;\n}\n\n/** A representation of the requested message. */\nexport interface GetMessage200Response extends HttpResponse {\n status: \"200\";\n body: ThreadMessageOutput;\n}\n\nexport interface GetMessageDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetMessageDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetMessageDefaultHeaders;\n}\n\n/** A representation of the modified message. */\nexport interface UpdateMessage200Response extends HttpResponse {\n status: \"200\";\n body: ThreadMessageOutput;\n}\n\nexport interface UpdateMessageDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateMessageDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpdateMessageDefaultHeaders;\n}\n\n/** Information about the new thread run. */\nexport interface CreateRun200Response extends HttpResponse {\n status: \"200\";\n body: ThreadRunOutput;\n}\n\nexport interface CreateRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateRunDefaultHeaders;\n}\n\n/** The requested list of thread runs. */\nexport interface ListRuns200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfThreadRunOutput;\n}\n\nexport interface ListRunsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListRunsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListRunsDefaultHeaders;\n}\n\n/** The requested information about the specified thread run. */\nexport interface GetRun200Response extends HttpResponse {\n status: \"200\";\n body: ThreadRunOutput;\n}\n\nexport interface GetRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetRunDefaultHeaders;\n}\n\n/** Information about the modified run. */\nexport interface UpdateRun200Response extends HttpResponse {\n status: \"200\";\n body: ThreadRunOutput;\n}\n\nexport interface UpdateRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpdateRunDefaultHeaders;\n}\n\n/** Updated information about the run. */\nexport interface SubmitToolOutputsToRun200Response extends HttpResponse {\n status: \"200\";\n body: ThreadRunOutput;\n}\n\nexport interface SubmitToolOutputsToRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface SubmitToolOutputsToRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & SubmitToolOutputsToRunDefaultHeaders;\n}\n\n/** Updated information about the cancelled run. */\nexport interface CancelRun200Response extends HttpResponse {\n status: \"200\";\n body: ThreadRunOutput;\n}\n\nexport interface CancelRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CancelRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CancelRunDefaultHeaders;\n}\n\n/** Information about the newly created thread. */\nexport interface CreateThreadAndRun200Response extends HttpResponse {\n status: \"200\";\n body: ThreadRunOutput;\n}\n\nexport interface CreateThreadAndRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateThreadAndRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateThreadAndRunDefaultHeaders;\n}\n\n/** Information about the requested run step. */\nexport interface GetRunStep200Response extends HttpResponse {\n status: \"200\";\n body: RunStepOutput;\n}\n\nexport interface GetRunStepDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetRunStepDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetRunStepDefaultHeaders;\n}\n\n/** The requested list of run steps. */\nexport interface ListRunSteps200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfRunStepOutput;\n}\n\nexport interface ListRunStepsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListRunStepsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListRunStepsDefaultHeaders;\n}\n\n/** The requested list of files. */\nexport interface ListFiles200Response extends HttpResponse {\n status: \"200\";\n body: FileListResponseOutput;\n}\n\nexport interface ListFilesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListFilesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListFilesDefaultHeaders;\n}\n\n/** A representation of the uploaded file. */\nexport interface UploadFile200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIFileOutput;\n}\n\nexport interface UploadFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UploadFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UploadFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteFile200Response extends HttpResponse {\n status: \"200\";\n body: FileDeletionStatusOutput;\n}\n\nexport interface DeleteFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetFile200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIFileOutput;\n}\n\nexport interface GetFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetFileContent200Response extends HttpResponse {\n status: \"200\";\n body: string;\n}\n\nexport interface GetFileContentDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetFileContentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetFileContentDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListVectorStores200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfVectorStoreOutput;\n}\n\nexport interface ListVectorStoresDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListVectorStoresDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListVectorStoresDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateVectorStore200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreOutput;\n}\n\nexport interface CreateVectorStoreDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateVectorStoreDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateVectorStoreDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetVectorStore200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreOutput;\n}\n\nexport interface GetVectorStoreDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetVectorStoreDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetVectorStoreDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ModifyVectorStore200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreOutput;\n}\n\nexport interface ModifyVectorStoreDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ModifyVectorStoreDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ModifyVectorStoreDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteVectorStore200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreDeletionStatusOutput;\n}\n\nexport interface DeleteVectorStoreDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteVectorStoreDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteVectorStoreDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListVectorStoreFiles200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfVectorStoreFileOutput;\n}\n\nexport interface ListVectorStoreFilesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListVectorStoreFilesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListVectorStoreFilesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateVectorStoreFile200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreFileOutput;\n}\n\nexport interface CreateVectorStoreFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateVectorStoreFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateVectorStoreFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetVectorStoreFile200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreFileOutput;\n}\n\nexport interface GetVectorStoreFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetVectorStoreFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetVectorStoreFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteVectorStoreFile200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreFileDeletionStatusOutput;\n}\n\nexport interface DeleteVectorStoreFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteVectorStoreFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteVectorStoreFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateVectorStoreFileBatch200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreFileBatchOutput;\n}\n\nexport interface CreateVectorStoreFileBatchDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateVectorStoreFileBatchDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateVectorStoreFileBatchDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetVectorStoreFileBatch200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreFileBatchOutput;\n}\n\nexport interface GetVectorStoreFileBatchDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetVectorStoreFileBatchDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetVectorStoreFileBatchDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CancelVectorStoreFileBatch200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreFileBatchOutput;\n}\n\nexport interface CancelVectorStoreFileBatchDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CancelVectorStoreFileBatchDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CancelVectorStoreFileBatchDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListVectorStoreFileBatchFiles200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfVectorStoreFileOutput;\n}\n\nexport interface ListVectorStoreFileBatchFilesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListVectorStoreFileBatchFilesDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListVectorStoreFileBatchFilesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetWorkspace200Response extends HttpResponse {\n status: \"200\";\n body: GetWorkspaceResponseOutput;\n}\n\nexport interface GetWorkspaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetWorkspaceDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetWorkspaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListConnections200Response extends HttpResponse {\n status: \"200\";\n body: ListConnectionsResponseOutput;\n}\n\nexport interface ListConnectionsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListConnectionsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListConnectionsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetConnection200Response extends HttpResponse {\n status: \"200\";\n body: GetConnectionResponseOutput;\n}\n\nexport interface GetConnectionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetConnectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetConnectionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetConnectionWithSecrets200Response extends HttpResponse {\n status: \"200\";\n body: GetConnectionResponseOutput;\n}\n\nexport interface GetConnectionWithSecretsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetConnectionWithSecretsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetConnectionWithSecretsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetAppInsights200Response extends HttpResponse {\n status: \"200\";\n body: GetAppInsightsResponseOutput;\n}\n\nexport interface GetAppInsightsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetAppInsightsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetAppInsightsDefaultHeaders;\n}\n\nexport interface Get200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface Get200Response extends HttpResponse {\n status: \"200\";\n body: EvaluationOutput;\n headers: RawHttpHeaders & Get200Headers;\n}\n\nexport interface GetDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetDefaultHeaders;\n}\n\n/** Response model for create evaluation */\nexport interface Create201Response extends HttpResponse {\n status: \"201\";\n body: EvaluationOutput;\n}\n\nexport interface List200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface List200Response extends HttpResponse {\n status: \"200\";\n body: PagedEvaluationOutput;\n headers: RawHttpHeaders & List200Headers;\n}\n\nexport interface ListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListDefaultHeaders;\n}\n\nexport interface Update200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface Update200Response extends HttpResponse {\n status: \"200\";\n body: EvaluationOutput;\n headers: RawHttpHeaders & Update200Headers;\n}\n\nexport interface UpdateDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpdateDefaultHeaders;\n}\n\nexport interface GetSchedule200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetSchedule200Response extends HttpResponse {\n status: \"200\";\n body: EvaluationScheduleOutput;\n headers: RawHttpHeaders & GetSchedule200Headers;\n}\n\nexport interface GetScheduleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetScheduleDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetScheduleDefaultHeaders;\n}\n\nexport interface CreateOrReplaceSchedule200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface CreateOrReplaceSchedule200Response extends HttpResponse {\n status: \"200\";\n body: EvaluationScheduleOutput;\n headers: RawHttpHeaders & CreateOrReplaceSchedule200Headers;\n}\n\nexport interface CreateOrReplaceSchedule201Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface CreateOrReplaceSchedule201Response extends HttpResponse {\n status: \"201\";\n body: EvaluationScheduleOutput;\n headers: RawHttpHeaders & CreateOrReplaceSchedule201Headers;\n}\n\nexport interface CreateOrReplaceScheduleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateOrReplaceScheduleDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateOrReplaceScheduleDefaultHeaders;\n}\n\nexport interface ListSchedule200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListSchedule200Response extends HttpResponse {\n status: \"200\";\n body: PagedEvaluationScheduleOutput;\n headers: RawHttpHeaders & ListSchedule200Headers;\n}\n\nexport interface ListScheduleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListScheduleDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListScheduleDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DisableSchedule204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DisableScheduleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DisableScheduleDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DisableScheduleDefaultHeaders;\n}\n"]}
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/generated/src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse, ErrorResponse } from \"@azure-rest/core-client\";\nimport type {\n AgentOutput,\n OpenAIPageableListOfAgentOutput,\n AgentDeletionStatusOutput,\n AgentThreadOutput,\n ThreadDeletionStatusOutput,\n ThreadMessageOutput,\n OpenAIPageableListOfThreadMessageOutput,\n ThreadRunOutput,\n OpenAIPageableListOfThreadRunOutput,\n RunStepOutput,\n OpenAIPageableListOfRunStepOutput,\n FileListResponseOutput,\n OpenAIFileOutput,\n FileDeletionStatusOutput,\n OpenAIPageableListOfVectorStoreOutput,\n VectorStoreOutput,\n VectorStoreDeletionStatusOutput,\n OpenAIPageableListOfVectorStoreFileOutput,\n VectorStoreFileOutput,\n VectorStoreFileDeletionStatusOutput,\n VectorStoreFileBatchOutput,\n GetWorkspaceResponseOutput,\n ListConnectionsResponseOutput,\n GetConnectionResponseOutput,\n GetAppInsightsResponseOutput,\n EvaluationOutput,\n PagedEvaluationOutput,\n EvaluationScheduleOutput,\n PagedEvaluationScheduleOutput,\n} from \"./outputModels.js\";\n\n/** The new agent instance. */\nexport interface CreateAgent200Response extends HttpResponse {\n status: \"200\";\n body: AgentOutput;\n}\n\nexport interface CreateAgentDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateAgentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateAgentDefaultHeaders;\n}\n\n/** The requested list of agents. */\nexport interface ListAgents200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfAgentOutput;\n}\n\nexport interface ListAgentsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListAgentsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListAgentsDefaultHeaders;\n}\n\n/** The requested agent instance. */\nexport interface GetAgent200Response extends HttpResponse {\n status: \"200\";\n body: AgentOutput;\n}\n\nexport interface GetAgentDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetAgentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetAgentDefaultHeaders;\n}\n\n/** The updated agent instance. */\nexport interface UpdateAgent200Response extends HttpResponse {\n status: \"200\";\n body: AgentOutput;\n}\n\nexport interface UpdateAgentDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateAgentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpdateAgentDefaultHeaders;\n}\n\n/** Status information about the requested deletion operation. */\nexport interface DeleteAgent200Response extends HttpResponse {\n status: \"200\";\n body: AgentDeletionStatusOutput;\n}\n\nexport interface DeleteAgentDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteAgentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteAgentDefaultHeaders;\n}\n\n/** Information about the newly created thread. */\nexport interface CreateThread200Response extends HttpResponse {\n status: \"200\";\n body: AgentThreadOutput;\n}\n\nexport interface CreateThreadDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateThreadDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateThreadDefaultHeaders;\n}\n\n/** Information about the requested thread. */\nexport interface GetThread200Response extends HttpResponse {\n status: \"200\";\n body: AgentThreadOutput;\n}\n\nexport interface GetThreadDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetThreadDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetThreadDefaultHeaders;\n}\n\n/** Information about the modified thread. */\nexport interface UpdateThread200Response extends HttpResponse {\n status: \"200\";\n body: AgentThreadOutput;\n}\n\nexport interface UpdateThreadDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateThreadDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpdateThreadDefaultHeaders;\n}\n\n/** Status information about the requested thread deletion operation. */\nexport interface DeleteThread200Response extends HttpResponse {\n status: \"200\";\n body: ThreadDeletionStatusOutput;\n}\n\nexport interface DeleteThreadDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteThreadDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteThreadDefaultHeaders;\n}\n\n/** A representation of the new message. */\nexport interface CreateMessage200Response extends HttpResponse {\n status: \"200\";\n body: ThreadMessageOutput;\n}\n\nexport interface CreateMessageDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateMessageDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateMessageDefaultHeaders;\n}\n\n/** The requested list of messages. */\nexport interface ListMessages200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfThreadMessageOutput;\n}\n\nexport interface ListMessagesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListMessagesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListMessagesDefaultHeaders;\n}\n\n/** A representation of the requested message. */\nexport interface GetMessage200Response extends HttpResponse {\n status: \"200\";\n body: ThreadMessageOutput;\n}\n\nexport interface GetMessageDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetMessageDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetMessageDefaultHeaders;\n}\n\n/** A representation of the modified message. */\nexport interface UpdateMessage200Response extends HttpResponse {\n status: \"200\";\n body: ThreadMessageOutput;\n}\n\nexport interface UpdateMessageDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateMessageDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpdateMessageDefaultHeaders;\n}\n\n/** Information about the new thread run. */\nexport interface CreateRun200Response extends HttpResponse {\n status: \"200\";\n body: ThreadRunOutput;\n}\n\nexport interface CreateRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateRunDefaultHeaders;\n}\n\n/** The requested list of thread runs. */\nexport interface ListRuns200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfThreadRunOutput;\n}\n\nexport interface ListRunsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListRunsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListRunsDefaultHeaders;\n}\n\n/** The requested information about the specified thread run. */\nexport interface GetRun200Response extends HttpResponse {\n status: \"200\";\n body: ThreadRunOutput;\n}\n\nexport interface GetRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetRunDefaultHeaders;\n}\n\n/** Information about the modified run. */\nexport interface UpdateRun200Response extends HttpResponse {\n status: \"200\";\n body: ThreadRunOutput;\n}\n\nexport interface UpdateRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpdateRunDefaultHeaders;\n}\n\n/** Updated information about the run. */\nexport interface SubmitToolOutputsToRun200Response extends HttpResponse {\n status: \"200\";\n body: ThreadRunOutput;\n}\n\nexport interface SubmitToolOutputsToRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface SubmitToolOutputsToRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & SubmitToolOutputsToRunDefaultHeaders;\n}\n\n/** Updated information about the cancelled run. */\nexport interface CancelRun200Response extends HttpResponse {\n status: \"200\";\n body: ThreadRunOutput;\n}\n\nexport interface CancelRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CancelRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CancelRunDefaultHeaders;\n}\n\n/** Information about the newly created thread. */\nexport interface CreateThreadAndRun200Response extends HttpResponse {\n status: \"200\";\n body: ThreadRunOutput;\n}\n\nexport interface CreateThreadAndRunDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateThreadAndRunDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateThreadAndRunDefaultHeaders;\n}\n\n/** Information about the requested run step. */\nexport interface GetRunStep200Response extends HttpResponse {\n status: \"200\";\n body: RunStepOutput;\n}\n\nexport interface GetRunStepDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetRunStepDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetRunStepDefaultHeaders;\n}\n\n/** The requested list of run steps. */\nexport interface ListRunSteps200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfRunStepOutput;\n}\n\nexport interface ListRunStepsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListRunStepsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListRunStepsDefaultHeaders;\n}\n\n/** The requested list of files. */\nexport interface ListFiles200Response extends HttpResponse {\n status: \"200\";\n body: FileListResponseOutput;\n}\n\nexport interface ListFilesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListFilesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListFilesDefaultHeaders;\n}\n\n/** A representation of the uploaded file. */\nexport interface UploadFile200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIFileOutput;\n}\n\nexport interface UploadFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UploadFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UploadFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteFile200Response extends HttpResponse {\n status: \"200\";\n body: FileDeletionStatusOutput;\n}\n\nexport interface DeleteFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetFile200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIFileOutput;\n}\n\nexport interface GetFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetFileContent200Response extends HttpResponse {\n status: \"200\";\n /** Value may contain any sequence of octets */\n body: Uint8Array;\n}\n\nexport interface GetFileContentDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetFileContentDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetFileContentDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListVectorStores200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfVectorStoreOutput;\n}\n\nexport interface ListVectorStoresDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListVectorStoresDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListVectorStoresDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateVectorStore200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreOutput;\n}\n\nexport interface CreateVectorStoreDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateVectorStoreDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateVectorStoreDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetVectorStore200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreOutput;\n}\n\nexport interface GetVectorStoreDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetVectorStoreDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetVectorStoreDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ModifyVectorStore200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreOutput;\n}\n\nexport interface ModifyVectorStoreDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ModifyVectorStoreDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ModifyVectorStoreDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteVectorStore200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreDeletionStatusOutput;\n}\n\nexport interface DeleteVectorStoreDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteVectorStoreDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteVectorStoreDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListVectorStoreFiles200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfVectorStoreFileOutput;\n}\n\nexport interface ListVectorStoreFilesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListVectorStoreFilesDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListVectorStoreFilesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateVectorStoreFile200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreFileOutput;\n}\n\nexport interface CreateVectorStoreFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateVectorStoreFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateVectorStoreFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetVectorStoreFile200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreFileOutput;\n}\n\nexport interface GetVectorStoreFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetVectorStoreFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetVectorStoreFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface DeleteVectorStoreFile200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreFileDeletionStatusOutput;\n}\n\nexport interface DeleteVectorStoreFileDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteVectorStoreFileDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteVectorStoreFileDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateVectorStoreFileBatch200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreFileBatchOutput;\n}\n\nexport interface CreateVectorStoreFileBatchDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateVectorStoreFileBatchDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateVectorStoreFileBatchDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetVectorStoreFileBatch200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreFileBatchOutput;\n}\n\nexport interface GetVectorStoreFileBatchDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetVectorStoreFileBatchDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetVectorStoreFileBatchDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CancelVectorStoreFileBatch200Response extends HttpResponse {\n status: \"200\";\n body: VectorStoreFileBatchOutput;\n}\n\nexport interface CancelVectorStoreFileBatchDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CancelVectorStoreFileBatchDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CancelVectorStoreFileBatchDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListVectorStoreFileBatchFiles200Response extends HttpResponse {\n status: \"200\";\n body: OpenAIPageableListOfVectorStoreFileOutput;\n}\n\nexport interface ListVectorStoreFileBatchFilesDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListVectorStoreFileBatchFilesDefaultResponse\n extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListVectorStoreFileBatchFilesDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetWorkspace200Response extends HttpResponse {\n status: \"200\";\n body: GetWorkspaceResponseOutput;\n}\n\nexport interface GetWorkspaceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetWorkspaceDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetWorkspaceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListConnections200Response extends HttpResponse {\n status: \"200\";\n body: ListConnectionsResponseOutput;\n}\n\nexport interface ListConnectionsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListConnectionsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListConnectionsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetConnection200Response extends HttpResponse {\n status: \"200\";\n body: GetConnectionResponseOutput;\n}\n\nexport interface GetConnectionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetConnectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetConnectionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetConnectionWithSecrets200Response extends HttpResponse {\n status: \"200\";\n body: GetConnectionResponseOutput;\n}\n\nexport interface GetConnectionWithSecretsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetConnectionWithSecretsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetConnectionWithSecretsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetAppInsights200Response extends HttpResponse {\n status: \"200\";\n body: GetAppInsightsResponseOutput;\n}\n\nexport interface GetAppInsightsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetAppInsightsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetAppInsightsDefaultHeaders;\n}\n\nexport interface Get200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface Get200Response extends HttpResponse {\n status: \"200\";\n body: EvaluationOutput;\n headers: RawHttpHeaders & Get200Headers;\n}\n\nexport interface GetDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetDefaultHeaders;\n}\n\n/** Response model for create evaluation */\nexport interface Create201Response extends HttpResponse {\n status: \"201\";\n body: EvaluationOutput;\n}\n\nexport interface List200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface List200Response extends HttpResponse {\n status: \"200\";\n body: PagedEvaluationOutput;\n headers: RawHttpHeaders & List200Headers;\n}\n\nexport interface ListDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListDefaultHeaders;\n}\n\nexport interface Update200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface Update200Response extends HttpResponse {\n status: \"200\";\n body: EvaluationOutput;\n headers: RawHttpHeaders & Update200Headers;\n}\n\nexport interface UpdateDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpdateDefaultHeaders;\n}\n\nexport interface GetSchedule200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetSchedule200Response extends HttpResponse {\n status: \"200\";\n body: EvaluationScheduleOutput;\n headers: RawHttpHeaders & GetSchedule200Headers;\n}\n\nexport interface GetScheduleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetScheduleDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetScheduleDefaultHeaders;\n}\n\nexport interface CreateOrReplaceSchedule200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface CreateOrReplaceSchedule200Response extends HttpResponse {\n status: \"200\";\n body: EvaluationScheduleOutput;\n headers: RawHttpHeaders & CreateOrReplaceSchedule200Headers;\n}\n\nexport interface CreateOrReplaceSchedule201Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface CreateOrReplaceSchedule201Response extends HttpResponse {\n status: \"201\";\n body: EvaluationScheduleOutput;\n headers: RawHttpHeaders & CreateOrReplaceSchedule201Headers;\n}\n\nexport interface CreateOrReplaceScheduleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateOrReplaceScheduleDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateOrReplaceScheduleDefaultHeaders;\n}\n\nexport interface ListSchedule200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListSchedule200Response extends HttpResponse {\n status: \"200\";\n body: PagedEvaluationScheduleOutput;\n headers: RawHttpHeaders & ListSchedule200Headers;\n}\n\nexport interface ListScheduleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListScheduleDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListScheduleDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DisableSchedule204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DisableScheduleDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DisableScheduleDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DisableScheduleDefaultHeaders;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"assistants.d.ts","sourceRoot":"","sources":["../../../src/agents/assistants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,KAAK,EACV,yBAAyB,EACzB,WAAW,EACX,+BAA+B,EAChC,MAAM,kCAAkC,CAAC;AAU1C,OAAO,KAAK,EACV,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,mBAAmB,CAAC;AAmB3B,2BAA2B;AA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AAO,EAAE,MAAM,EACf,OAAO,GAAE,wBAA6B,GACrC,OAAO,CAAC,+BAA+B,CAAC,CAoB1C;AAED,mCAAmC;AACnC,wBAAsB,QAAQ,CAC5B,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,WAAW,CAAC,CA0BtB;AAED,kCAAkC;AAClC,wBAAsB,WAAW,CAC/B,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,yBAA8B,GACtC,OAAO,CAAC,WAAW,CAAC,CAyBtB;AAED,wBAAwB;AACxB,wBAAsB,WAAW,CAC/B,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,yBAA8B,GACtC,OAAO,CAAC,yBAAyB,CAAC,CAsBpC"}
@@ -16,9 +16,11 @@ var Tools;
16
16
  Tools["FileSearch"] = "file_search";
17
17
  Tools["Function"] = "function";
18
18
  Tools["BingGrounding"] = "bing_grounding";
19
- Tools["MicrosoftFabric"] = "microsoft_fabric";
19
+ Tools["MicrosoftFabric"] = "fabric_dataagent";
20
20
  Tools["SharepointGrounding"] = "sharepoint_grounding";
21
21
  Tools["AzureAISearch"] = "azure_ai_search";
22
+ Tools["OpenApi"] = "openapi";
23
+ Tools["AzureFunction"] = "azure_function";
22
24
  })(Tools || (Tools = {}));
23
25
  /** Creates a new agent. */
24
26
  export async function createAgent(context, model, options = {}) {
@@ -95,7 +97,7 @@ function validateCreateAgentParameters(options) {
95
97
  var _a;
96
98
  if (options.body.tools) {
97
99
  if (options.body.tools.some((value) => !Object.values(Tools).includes(value.type))) {
98
- throw new Error("Tool type must be one of 'code_interpreter', 'file_search', 'function', 'bing_grounding', 'microsoft_fabric', 'sharepoint_grounding', 'azure_ai_search'");
100
+ throw new Error("Tool type must be one of 'code_interpreter', 'file_search', 'function', 'bing_grounding', 'fabric_dataagent', 'sharepoint_grounding', 'azure_ai_search', 'azure_function'");
99
101
  }
100
102
  }
101
103
  if (options.body.tool_resources) {
@@ -1 +1 @@
1
- {"version":3,"file":"assistants.js","sourceRoot":"","sources":["../../../src/agents/assistants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAM9E,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,2BAA2B,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AASjF,OAAO,KAAK,eAAe,MAAM,iDAAiD,CAAC;AACnF,OAAO,KAAK,eAAe,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;AAEjC,IAAK,KAQJ;AARD,WAAK,KAAK;IACR,6CAAoC,CAAA;IACpC,mCAA0B,CAAA;IAC1B,8BAAqB,CAAA;IACrB,yCAAgC,CAAA;IAChC,6CAAoC,CAAA;IACpC,qDAA4C,CAAA;IAC5C,0CAAiC,CAAA;AACnC,CAAC,EARI,KAAK,KAAL,KAAK,QAQT;AAED,2BAA2B;AAC3B,MAAM,CAAC,KAAK,UAAU,WAAW,CAC/B,OAAe,EACf,KAAa,EACb,UAAqC,EAAE;IAEvC,MAAM,aAAa,mCACd,mCAAmC,CAAC,OAAO,CAAC,KAC/C,IAAI,oBACC,eAAe,CAAC,yBAAyB,iCAAM,OAAO,KAAE,KAAK,IAAG,IAEtE,CAAC;IAEF,6BAA6B,CAAC,aAAa,CAAC,CAAC;IAC7C,MA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;AACH,CAAC;AAED,SAAS,4BAA4B,CAAC,OAAkD;;IACtF,IAAI,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe,0CAAE,KAAK,EAAE,CAAC;QACpC,aAAa,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;IAC/C,CAAC;IACD,IAAI,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe,0CAAE,KAAK,EAAE,CAAC;QACpC,aAAa,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;IAC/C,CAAC;AACH,CAAC;AAED,SAAS,mBAAmB,CAAC,WAAmB;IAC9C,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAC9C,CAAC;AACH,CAAC;AAED,SAAS,6BAA6B,CACpC,WAAmB,EACnB,OAAmD;IAEnD,mBAAmB,CAAC,WAAW,CAAC,CAAC;IACjC,IAAI,OAAO,EAAE,CAAC;QACZ,6BAA6B,CAAC,OAAO,CAAC,CAAC;IACzC,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { Client } from \"@azure-rest/core-client\";\nimport { operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type {\n AgentDeletionStatusOutput,\n AgentOutput,\n OpenAIPageableListOfAgentOutput,\n} from \"../customization/outputModels.js\";\nimport {\n validateLimit,\n validateMetadata,\n validateOrder,\n validateVectorStoreDataType,\n} from \"./inputValidations.js\";\nimport { TracingUtility } from \"../tracing.js\";\nimport { traceEndCreateOrUpdateAgent, traceStartCreateOrUpdateAgent } from \"./assistantsTrace.js\";\nimport { traceEndAgentGeneric, traceStartAgentGeneric } from \"./traceUtility.js\";\nimport type {\n CreateAgentOptionalParams,\n DeleteAgentOptionalParams,\n GetAgentOptionalParams,\n ListAgentsOptionalParams,\n UpdateAgentOptionalParams,\n} from \"./customModels.js\";\nimport type * as GeneratedParameters from \"../generated/src/parameters.js\";\nimport * as ConvertFromWire from \"../customization/convertOutputModelsFromWire.js\";\nimport * as ConverterToWire from \"../customization/convertModelsToWrite.js\";\nimport { convertToListQueryParameters } from \"../customization/convertParametersToWire.js\";\nimport { createOpenAIError } from \"./openAIError.js\";\n\nconst expectedStatuses = [\"200\"];\n\nenum Tools {\n CodeInterpreter = \"code_interpreter\",\n FileSearch = \"file_search\",\n Function = \"function\",\n BingGrounding = \"bing_grounding\",\n MicrosoftFabric = \"microsoft_fabric\",\n SharepointGrounding = \"sharepoint_grounding\",\n AzureAISearch = \"azure_ai_search\",\n}\n\n/** Creates a new agent. */\nexport async function createAgent(\n context: Client,\n model: string,\n options: CreateAgentOptionalParams = {},\n): Promise<AgentOutput> {\n const createOptions: GeneratedParameters.CreateAgentParameters = {\n ...operationOptionsToRequestParameters(options),\n body: {\n ...ConverterToWire.convertCreateAgentOptions({ ...options, model }),\n },\n };\n\n validateCreateAgentParameters(createOptions);\n const response = await TracingUtility.withSpan(\n \"CreateAgent\",\n createOptions,\n async (updatedOptions) => {\n const result = await context.path(\"/assistants\").post(updatedOptions);\n if (!expectedStatuses.includes(result.status)) {\n throw createOpenAIError(result);\n }\n return result.body;\n },\n traceStartCreateOrUpdateAgent,\n traceEndCreateOrUpdateAgent,\n );\n return ConvertFromWire.convertAgentOutput(response);\n}\n\n/** Gets a list of agents that were previously created. */\nexport async function listAgents(\n context: Client,\n options: ListAgentsOptionalParams = {},\n): Promise<OpenAIPageableListOfAgentOutput> {\n const listAgentsOptions: GeneratedParameters.ListAgentsParameters = {\n ...operationOptionsToRequestParameters(options),\n queryParameters: convertToListQueryParameters(options),\n };\n\n validateListAgentsParameters(listAgentsOptions);\n const response = await TracingUtility.withSpan(\n \"ListAgents\",\n listAgentsOptions || {},\n async (updateOptions) => {\n const result = await context.path(\"/assistants\").get(updateOptions);\n if (!expectedStatuses.includes(result.status)) {\n throw createOpenAIError(result);\n }\n return result.body;\n },\n );\n\n return ConvertFromWire.convertOpenAIPageableListOfAgentOutput(response);\n}\n\n/** Retrieves an existing agent. */\nexport async function getAgent(\n context: Client,\n assistantId: string,\n options: GetAgentOptionalParams = {},\n): Promise<AgentOutput> {\n const getAgentOptions: GeneratedParameters.GetAgentParameters = {\n ...operationOptionsToRequestParameters(options),\n };\n\n validateAssistantId(assistantId);\n const response = await TracingUtility.withSpan(\n \"GetAgent\",\n getAgentOptions,\n async (updateOptions) => {\n const result = await context\n .path(\"/assistants/{assistantId}\", assistantId)\n .get(updateOptions);\n if (!expectedStatuses.includes(result.status)) {\n throw createOpenAIError(result);\n }\n return result.body;\n },\n (span, updatedOptions) =>\n traceStartAgentGeneric(span, {\n ...updatedOptions,\n tracingAttributeOptions: { agentId: assistantId },\n }),\n );\n\n return ConvertFromWire.convertAgentOutput(response);\n}\n\n/** Modifies an existing agent. */\nexport async function updateAgent(\n context: Client,\n assistantId: string,\n options: UpdateAgentOptionalParams = {},\n): Promise<AgentOutput> {\n const updateAgentOptions: GeneratedParameters.UpdateAgentParameters = {\n ...operationOptionsToRequestParameters(options),\n body: {\n ...ConverterToWire.convertUpdateAgentOptions(options),\n },\n };\n\n validateUpdateAgentParameters(assistantId, updateAgentOptions);\n const response = await TracingUtility.withSpan(\n \"UpdateAgent\",\n updateAgentOptions,\n async (updateOptions) => {\n const result = await context\n .path(\"/assistants/{assistantId}\", assistantId)\n .post(updateOptions);\n if (!expectedStatuses.includes(result.status)) {\n throw createOpenAIError(result);\n }\n return result.body;\n },\n (span, updatedOptions) => traceStartCreateOrUpdateAgent(span, updatedOptions, assistantId),\n traceEndCreateOrUpdateAgent,\n );\n return ConvertFromWire.convertAgentOutput(response);\n}\n\n/** Deletes an agent. */\nexport async function deleteAgent(\n context: Client,\n assistantId: string,\n options: DeleteAgentOptionalParams = {},\n): Promise<AgentDeletionStatusOutput> {\n const deleteAgentOptions: GeneratedParameters.DeleteAgentParameters = {\n ...operationOptionsToRequestParameters(options),\n };\n\n validateAssistantId(assistantId);\n const response = await TracingUtility.withSpan(\n \"DeleteAgent\",\n deleteAgentOptions,\n async (updateOptions) => {\n const result = await context\n .path(\"/assistants/{assistantId}\", assistantId)\n .delete(updateOptions);\n if (!expectedStatuses.includes(result.status)) {\n throw createOpenAIError(result);\n }\n return result.body;\n },\n traceStartAgentGeneric,\n traceEndAgentGeneric,\n );\n return ConvertFromWire.convertAgentDeletionStatusOutput(response);\n}\n\nfunction validateCreateAgentParameters(\n options: GeneratedParameters.CreateAgentParameters | GeneratedParameters.UpdateAgentParameters,\n): void {\n if (options.body.tools) {\n if (options.body.tools.some((value) => !Object.values(Tools).includes(value.type as Tools))) {\n throw new Error(\n \"Tool type must be one of 'code_interpreter', 'file_search', 'function', 'bing_grounding', 'microsoft_fabric', 'sharepoint_grounding', 'azure_ai_search'\",\n );\n }\n }\n if (options.body.tool_resources) {\n if (options.body.tool_resources.code_interpreter) {\n if (\n options.body.tool_resources.code_interpreter.file_ids &&\n options.body.tool_resources.code_interpreter.data_sources\n ) {\n throw new Error(\"Only file_ids or data_sources can be provided, not both\");\n }\n if (\n options.body.tool_resources.code_interpreter.file_ids &&\n options.body.tool_resources.code_interpreter.file_ids.length > 20\n ) {\n throw new Error(\"A maximum of 20 file IDs are allowed\");\n }\n if (options.body.tool_resources.code_interpreter.data_sources) {\n validateVectorStoreDataType(options.body.tool_resources.code_interpreter.data_sources);\n }\n }\n if (options.body.tool_resources.file_search) {\n if (\n options.body.tool_resources.file_search.vector_store_ids &&\n options.body.tool_resources.file_search.vector_store_ids.length > 1\n ) {\n throw new Error(\"Only one vector store ID is allowed\");\n }\n if (options.body.tool_resources.file_search.vector_stores) {\n if (options.body.tool_resources.file_search.vector_stores.length > 1) {\n throw new Error(\"Only one vector store is allowed\");\n }\n validateVectorStoreDataType(\n options.body.tool_resources.file_search.vector_stores[0]?.configuration.data_sources,\n );\n }\n }\n if (options.body.tool_resources.azure_ai_search) {\n if (\n options.body.tool_resources.azure_ai_search.indexes &&\n options.body.tool_resources.azure_ai_search.indexes.length > 1\n ) {\n throw new Error(\"Only one index is allowed\");\n }\n }\n }\n if (options.body.temperature && (options.body.temperature < 0 || options.body.temperature > 2)) {\n throw new Error(\"Temperature must be between 0 and 2\");\n }\n if (options.body.metadata) {\n validateMetadata(options.body.metadata);\n }\n}\n\nfunction validateListAgentsParameters(options?: GeneratedParameters.ListAgentsParameters): void {\n if (options?.queryParameters?.limit) {\n validateLimit(options.queryParameters.limit);\n }\n if (options?.queryParameters?.order) {\n validateOrder(options.queryParameters.order);\n }\n}\n\nfunction validateAssistantId(assistantId: string): void {\n if (!assistantId) {\n throw new Error(\"Assistant ID is required\");\n }\n}\n\nfunction validateUpdateAgentParameters(\n assistantId: string,\n options?: GeneratedParameters.UpdateAgentParameters,\n): void {\n validateAssistantId(assistantId);\n if (options) {\n validateCreateAgentParameters(options);\n }\n}\n"]}
1
+ {"version":3,"file":"assistants.js","sourceRoot":"","sources":["../../../src/agents/assistants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAM9E,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,aAAa,EACb,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,2BAA2B,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AASjF,OAAO,KAAK,eAAe,MAAM,iDAAiD,CAAC;AACnF,OAAO,KAAK,eAAe,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;AAEjC,IAAK,KAU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Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { Client } from \"@azure-rest/core-client\";\nimport { operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type {\n AgentDeletionStatusOutput,\n AgentOutput,\n OpenAIPageableListOfAgentOutput,\n} from \"../customization/outputModels.js\";\nimport {\n validateLimit,\n validateMetadata,\n validateOrder,\n validateVectorStoreDataType,\n} from \"./inputValidations.js\";\nimport { TracingUtility } from \"../tracing.js\";\nimport { traceEndCreateOrUpdateAgent, traceStartCreateOrUpdateAgent } from \"./assistantsTrace.js\";\nimport { traceEndAgentGeneric, traceStartAgentGeneric } from \"./traceUtility.js\";\nimport type {\n CreateAgentOptionalParams,\n DeleteAgentOptionalParams,\n GetAgentOptionalParams,\n ListAgentsOptionalParams,\n UpdateAgentOptionalParams,\n} from \"./customModels.js\";\nimport type * as GeneratedParameters from \"../generated/src/parameters.js\";\nimport * as ConvertFromWire from \"../customization/convertOutputModelsFromWire.js\";\nimport * as ConverterToWire from \"../customization/convertModelsToWrite.js\";\nimport { convertToListQueryParameters } from \"../customization/convertParametersToWire.js\";\nimport { createOpenAIError } from \"./openAIError.js\";\n\nconst expectedStatuses = [\"200\"];\n\nenum Tools {\n CodeInterpreter = \"code_interpreter\",\n FileSearch = \"file_search\",\n Function = \"function\",\n BingGrounding = \"bing_grounding\",\n MicrosoftFabric = \"fabric_dataagent\",\n SharepointGrounding = \"sharepoint_grounding\",\n AzureAISearch = \"azure_ai_search\",\n OpenApi = \"openapi\",\n AzureFunction = \"azure_function\",\n}\n\n/** Creates a new agent. */\nexport async function createAgent(\n context: Client,\n model: string,\n options: CreateAgentOptionalParams = {},\n): Promise<AgentOutput> {\n const createOptions: GeneratedParameters.CreateAgentParameters = {\n ...operationOptionsToRequestParameters(options),\n body: {\n ...ConverterToWire.convertCreateAgentOptions({ ...options, model }),\n },\n };\n\n validateCreateAgentParameters(createOptions);\n const response = await TracingUtility.withSpan(\n \"CreateAgent\",\n createOptions,\n async (updatedOptions) => {\n const result = await context.path(\"/assistants\").post(updatedOptions);\n if (!expectedStatuses.includes(result.status)) {\n throw createOpenAIError(result);\n }\n return result.body;\n },\n traceStartCreateOrUpdateAgent,\n traceEndCreateOrUpdateAgent,\n );\n return ConvertFromWire.convertAgentOutput(response);\n}\n\n/** Gets a list of agents that were previously created. */\nexport async function listAgents(\n context: Client,\n options: ListAgentsOptionalParams = {},\n): Promise<OpenAIPageableListOfAgentOutput> {\n const listAgentsOptions: GeneratedParameters.ListAgentsParameters = {\n ...operationOptionsToRequestParameters(options),\n queryParameters: convertToListQueryParameters(options),\n };\n\n validateListAgentsParameters(listAgentsOptions);\n const response = await TracingUtility.withSpan(\n \"ListAgents\",\n listAgentsOptions || {},\n async (updateOptions) => {\n const result = await context.path(\"/assistants\").get(updateOptions);\n if (!expectedStatuses.includes(result.status)) {\n throw createOpenAIError(result);\n }\n return result.body;\n },\n );\n\n return ConvertFromWire.convertOpenAIPageableListOfAgentOutput(response);\n}\n\n/** Retrieves an existing agent. */\nexport async function getAgent(\n context: Client,\n assistantId: string,\n options: GetAgentOptionalParams = {},\n): Promise<AgentOutput> {\n const getAgentOptions: GeneratedParameters.GetAgentParameters = {\n ...operationOptionsToRequestParameters(options),\n };\n\n validateAssistantId(assistantId);\n const response = await TracingUtility.withSpan(\n \"GetAgent\",\n getAgentOptions,\n async (updateOptions) => {\n const result = await context\n .path(\"/assistants/{assistantId}\", assistantId)\n .get(updateOptions);\n if (!expectedStatuses.includes(result.status)) {\n throw createOpenAIError(result);\n }\n return result.body;\n },\n (span, updatedOptions) =>\n traceStartAgentGeneric(span, {\n ...updatedOptions,\n tracingAttributeOptions: { agentId: assistantId },\n }),\n );\n\n return ConvertFromWire.convertAgentOutput(response);\n}\n\n/** Modifies an existing agent. */\nexport async function updateAgent(\n context: Client,\n assistantId: string,\n options: UpdateAgentOptionalParams = {},\n): Promise<AgentOutput> {\n const updateAgentOptions: GeneratedParameters.UpdateAgentParameters = {\n ...operationOptionsToRequestParameters(options),\n body: {\n ...ConverterToWire.convertUpdateAgentOptions(options),\n },\n };\n\n validateUpdateAgentParameters(assistantId, updateAgentOptions);\n const response = await TracingUtility.withSpan(\n \"UpdateAgent\",\n updateAgentOptions,\n async (updateOptions) => {\n const result = await context\n .path(\"/assistants/{assistantId}\", assistantId)\n .post(updateOptions);\n if (!expectedStatuses.includes(result.status)) {\n throw createOpenAIError(result);\n }\n return result.body;\n },\n (span, updatedOptions) => traceStartCreateOrUpdateAgent(span, updatedOptions, assistantId),\n traceEndCreateOrUpdateAgent,\n );\n return ConvertFromWire.convertAgentOutput(response);\n}\n\n/** Deletes an agent. */\nexport async function deleteAgent(\n context: Client,\n assistantId: string,\n options: DeleteAgentOptionalParams = {},\n): Promise<AgentDeletionStatusOutput> {\n const deleteAgentOptions: GeneratedParameters.DeleteAgentParameters = {\n ...operationOptionsToRequestParameters(options),\n };\n\n validateAssistantId(assistantId);\n const response = await TracingUtility.withSpan(\n \"DeleteAgent\",\n deleteAgentOptions,\n async (updateOptions) => {\n const result = await context\n .path(\"/assistants/{assistantId}\", assistantId)\n .delete(updateOptions);\n if (!expectedStatuses.includes(result.status)) {\n throw createOpenAIError(result);\n }\n return result.body;\n },\n traceStartAgentGeneric,\n traceEndAgentGeneric,\n );\n return ConvertFromWire.convertAgentDeletionStatusOutput(response);\n}\n\nfunction validateCreateAgentParameters(\n options: GeneratedParameters.CreateAgentParameters | GeneratedParameters.UpdateAgentParameters,\n): void {\n if (options.body.tools) {\n if (options.body.tools.some((value) => !Object.values(Tools).includes(value.type as Tools))) {\n throw new Error(\n \"Tool type must be one of 'code_interpreter', 'file_search', 'function', 'bing_grounding', 'fabric_dataagent', 'sharepoint_grounding', 'azure_ai_search', 'azure_function'\",\n );\n }\n }\n if (options.body.tool_resources) {\n if (options.body.tool_resources.code_interpreter) {\n if (\n options.body.tool_resources.code_interpreter.file_ids &&\n options.body.tool_resources.code_interpreter.data_sources\n ) {\n throw new Error(\"Only file_ids or data_sources can be provided, not both\");\n }\n if (\n options.body.tool_resources.code_interpreter.file_ids &&\n options.body.tool_resources.code_interpreter.file_ids.length > 20\n ) {\n throw new Error(\"A maximum of 20 file IDs are allowed\");\n }\n if (options.body.tool_resources.code_interpreter.data_sources) {\n validateVectorStoreDataType(options.body.tool_resources.code_interpreter.data_sources);\n }\n }\n if (options.body.tool_resources.file_search) {\n if (\n options.body.tool_resources.file_search.vector_store_ids &&\n options.body.tool_resources.file_search.vector_store_ids.length > 1\n ) {\n throw new Error(\"Only one vector store ID is allowed\");\n }\n if (options.body.tool_resources.file_search.vector_stores) {\n if (options.body.tool_resources.file_search.vector_stores.length > 1) {\n throw new Error(\"Only one vector store is allowed\");\n }\n validateVectorStoreDataType(\n options.body.tool_resources.file_search.vector_stores[0]?.configuration.data_sources,\n );\n }\n }\n if (options.body.tool_resources.azure_ai_search) {\n if (\n options.body.tool_resources.azure_ai_search.indexes &&\n options.body.tool_resources.azure_ai_search.indexes.length > 1\n ) {\n throw new Error(\"Only one index is allowed\");\n }\n }\n }\n if (options.body.temperature && (options.body.temperature < 0 || options.body.temperature > 2)) {\n throw new Error(\"Temperature must be between 0 and 2\");\n }\n if (options.body.metadata) {\n validateMetadata(options.body.metadata);\n }\n}\n\nfunction validateListAgentsParameters(options?: GeneratedParameters.ListAgentsParameters): void {\n if (options?.queryParameters?.limit) {\n validateLimit(options.queryParameters.limit);\n }\n if (options?.queryParameters?.order) {\n validateOrder(options.queryParameters.order);\n }\n}\n\nfunction validateAssistantId(assistantId: string): void {\n if (!assistantId) {\n throw new Error(\"Assistant ID is required\");\n }\n}\n\nfunction validateUpdateAgentParameters(\n assistantId: string,\n options?: GeneratedParameters.UpdateAgentParameters,\n): void {\n validateAssistantId(assistantId);\n if (options) {\n validateCreateAgentParameters(options);\n }\n}\n"]}
@@ -1,5 +1,4 @@
1
1
  import type { OperationOptions, RequestParameters } from "@azure-rest/core-client";
2
- import type { AbortSignalLike } from "@azure/abort-controller";
3
2
  import type { ThreadRunOutput } from "../customization/outputModels.js";
4
3
  import type { AgentEventMessageStream } from "./streamingModels.js";
5
4
  import type { AgentThreadCreationOptions, CreateAgentOptions, CreateAndRunThreadOptions, CreateRunOptions, UpdateAgentOptions, UpdateAgentThreadOptions, VectorStoreFileStatusFilter, VectorStoreOptions, VectorStoreUpdateOptions } from "../customization/models.js";
@@ -38,10 +37,6 @@ export interface PollingOptions {
38
37
  * The interval, in milliseconds, to wait between polling attempts. If not specified, a default interval of 1000ms will be used.
39
38
  */
40
39
  sleepIntervalInMs?: number;
41
- /**
42
- * An AbortSignalLike object (as defined by @azure/abort-controller) that can be used to cancel the polling operation.
43
- */
44
- abortSignal?: AbortSignalLike;
45
40
  }
46
41
  /**
47
42
  * Optional parameters configuring polling behavior.
@@ -149,12 +144,7 @@ export interface ListMessagesOptionalParams extends ListMessagesQueryParamProper
149
144
  /**
150
145
  * Optional parameters creating vector store.
151
146
  */
152
- export interface CreateVectorStoreOptionalParams extends VectorStoreOptions, OperationOptions {
153
- }
154
- /**
155
- * Optional parameters for creating vector store with polling.
156
- */
157
- export interface CreateVectorStoreWithPollingOptionalParams extends CreateVectorStoreOptionalParams, PollingOptionsParams {
147
+ export interface CreateVectorStoreOptionalParams extends VectorStoreOptions, OperationOptions, PollingOptionsParams {
158
148
  }
159
149
  /**
160
150
  * Optional parameters for listing vector stores.
@@ -184,7 +174,7 @@ export interface ListVectorStoreFilesOptionalParams extends ListQueryParameters,
184
174
  /**
185
175
  * Optional parameters for creating a vector store file.
186
176
  */
187
- export interface CreateVectorStoreFileOptionalParams extends CreateVectorStoreFileOptions, OperationOptions {
177
+ export interface CreateVectorStoreFileOptionalParams extends CreateVectorStoreFileOptions, OperationOptions, PollingOptionsParams {
188
178
  }
189
179
  /**
190
180
  * Optional parameters for getting a vector store file.
@@ -196,11 +186,6 @@ export interface GetVectorStoreFileOptionalParams extends OperationOptions {
196
186
  */
197
187
  export interface DeleteVectorStoreFileOptionalParams extends OperationOptions {
198
188
  }
199
- /**
200
- * Optional parameters for creating a vector store file with polling.
201
- */
202
- export interface CreateVectorStoreFileWithPollingOptionalParams extends CreateVectorStoreFileOptions, PollingOptionsParams, OperationOptions {
203
- }
204
189
  /**
205
190
  * Optional parameters for listing vector store file batches.
206
191
  */
@@ -221,12 +206,7 @@ export interface CancelVectorStoreFileBatchOptionalParams extends OperationOptio
221
206
  /**
222
207
  * Optional parameters for creating a vector store file batch.
223
208
  */
224
- export interface CreateVectorStoreFileBatchOptionalParams extends CreateVectorStoreFileBatchOptions, OperationOptions {
225
- }
226
- /**
227
- * Optional parameters for creating a vector store file batch with polling.
228
- */
229
- export interface CreateVectorStoreFileBatchWithPollingOptionalParams extends CreateVectorStoreFileBatchOptionalParams, PollingOptionsParams {
209
+ export interface CreateVectorStoreFileBatchOptionalParams extends CreateVectorStoreFileBatchOptions, OperationOptions, PollingOptionsParams {
230
210
  }
231
211
  /**
232
212
  * Optional parameters for creating agent.
@@ -276,13 +256,8 @@ export interface GetFileContentOptionalParams extends OperationOptions {
276
256
  /**
277
257
  * Optional parameters for uploading a file.
278
258
  */
279
- export interface UploadFileOptionalParams extends OperationOptions {
259
+ export interface UploadFileOptionalParams extends OperationOptions, PollingOptionsParams {
280
260
  /** The name of the file. */
281
261
  fileName?: string;
282
262
  }
283
- /**
284
- * Optional parameters for uploading a file with polling.
285
- */
286
- export interface UploadFileWithPollingOptionalParams extends UploadFileOptionalParams, PollingOptionsParams {
287
- }
288
263
  //# sourceMappingURL=customModels.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customModels.d.ts","sourceRoot":"","sources":["../../../src/agents/customModels.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACnF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,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;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB;CAAG;AAErE;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,gBAAgB;CAAG;AAElE;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,gBAAgB;CAAG;AAEzE;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB,EAAE,oBAAoB;IACtF,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"customModels.js","sourceRoot":"","sources":["../../../src/agents/customModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions, RequestParameters } from \"@azure-rest/core-client\";\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { ThreadRunOutput } from \"../customization/outputModels.js\";\nimport type { AgentEventMessageStream } from \"./streamingModels.js\";\nimport type {\n AgentThreadCreationOptions,\n CreateAgentOptions,\n CreateAndRunThreadOptions,\n CreateRunOptions,\n UpdateAgentOptions,\n UpdateAgentThreadOptions,\n VectorStoreFileStatusFilter,\n VectorStoreOptions,\n VectorStoreUpdateOptions,\n} from \"../customization/models.js\";\nimport type {\n ListMessagesQueryParamProperties,\n ListFilesQueryParamProperties,\n} from \"../customization/parameters.js\";\nimport type {\n CreateVectorStoreFileBatchOptions,\n CreateVectorStoreFileOptions,\n} from \"./vectorStoresModels.js\";\n\n/**\n * Optional request parameters support passing headers, abort signal, etc.\n */\nexport type OptionalRequestParameters = Pick<\n RequestParameters,\n \"headers\" | \"timeout\" | \"abortSignal\" | \"tracingOptions\"\n>;\n\n/**\n * Request options for list requests.\n */\nexport interface ListQueryParameters {\n /**\n * A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n */\n limit?: number;\n\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n */\n order?: \"asc\" | \"desc\";\n\n /**\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 */\n after?: string;\n\n /**\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 */\n before?: string;\n}\n\n/**\n * Options for configuring polling behavior.\n */\nexport interface PollingOptions {\n /**\n * The interval, in milliseconds, to wait between polling attempts. If not specified, a default interval of 1000ms will be used.\n */\n sleepIntervalInMs?: number;\n\n /**\n * An AbortSignalLike object (as defined by @azure/abort-controller) that can be used to cancel the polling operation.\n */\n abortSignal?: AbortSignalLike;\n}\n\n/**\n * Optional parameters configuring polling behavior.\n */\nexport interface PollingOptionsParams {\n /** Options for configuring polling behavior. */\n pollingOptions?: PollingOptions;\n}\n\n/**\n * Agent run response with support to stream.\n */\nexport type AgentRunResponse = PromiseLike<ThreadRunOutput> & {\n /**\n * Function to start streaming the agent event messages.\n * @returns A promise that resolves to an AgentEventMessageStream.\n */\n stream: () => Promise<AgentEventMessageStream>;\n};\n\n/**\n * Optional parameters for creating and running a thread, excluding the assistantId.\n */\nexport type CreateRunOptionalParams = Omit<CreateRunOptions & OperationOptions, \"assistantId\"> &\n OperationOptions;\n\n/**\n * Optional parameters for creating and running a thread, excluding the assistantId.\n */\nexport type CreateAndRunThreadOptionalParams = Omit<CreateAndRunThreadOptions, \"assistantId\"> &\n OperationOptions;\n\n/**\n * Optional parameters for listing run queries.\n */\nexport interface ListRunQueryOptionalParams extends ListQueryParameters, OperationOptions {}\n\n/**\n * Optional parameters for getting a run.\n */\nexport interface GetRunOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for canceling a run.\n */\nexport interface CancelRunOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for submitting tool outputs to a run.\n */\nexport interface SubmitToolOutputsToRunOptionalParams extends OperationOptions {\n /**\n * Whether to stream the tool outputs.\n */\n stream?: boolean;\n}\n\n/**\n * Optional parameters for updating a run.\n */\nexport interface UpdateRunOptionalParams extends OperationOptions {\n /** Metadata to update in the run. */\n metadata?: Record<string, string> | null;\n}\n\n/**\n * Optional parameters for creating an agent thread.\n */\nexport interface CreateAgentThreadOptionalParams\n extends AgentThreadCreationOptions,\n OperationOptions {}\n\n/**\n * Optional parameters for getting an agent thread.\n */\nexport interface GetAgentThreadOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for updating an agent thread.\n */\nexport interface UpdateAgentThreadOptionalParams\n extends UpdateAgentThreadOptions,\n OperationOptions {}\n\n/**\n * Optional parameters for deleting an agent thread.\n */\nexport interface DeleteAgentThreadOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for getting an run step.\n */\nexport interface GetRunStepOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for listing run steps.\n */\nexport interface ListRunStepsOptionalParams extends ListQueryParameters, OperationOptions {}\n\n/**\n * Optional parameters for creating a message.\n */\nexport interface CreateMessageOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for updating a message.\n */\nexport interface UpdateMessageOptionalParams extends OperationOptions {\n /** Metadata to update in the message. */\n metadata?: Record<string, string> | null;\n}\n\n/**\n * Optional parameters for listing messages.\n */\nexport interface ListMessagesOptionalParams\n extends ListMessagesQueryParamProperties,\n OperationOptions {}\n\n/**\n * Optional parameters creating vector store.\n */\nexport interface CreateVectorStoreOptionalParams extends VectorStoreOptions, OperationOptions {}\n\n/**\n * Optional parameters for creating vector store with polling.\n */\nexport interface CreateVectorStoreWithPollingOptionalParams\n extends CreateVectorStoreOptionalParams,\n PollingOptionsParams {}\n\n/**\n * Optional parameters for listing vector stores.\n */\nexport interface ListVectorStoresOptionalParams extends ListQueryParameters, OperationOptions {}\n\n/**\n * Optional parameters for updating a vector store.\n */\nexport interface UpdateVectorStoreOptionalParams\n extends VectorStoreUpdateOptions,\n OperationOptions {}\n\n/**\n * Optional parameters for deleting a vector store.\n */\nexport interface DeleteVectorStoreOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for getting a vector store.\n */\nexport interface GetVectorStoreOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for listing vector store files.\n */\nexport interface ListVectorStoreFilesOptionalParams extends ListQueryParameters, OperationOptions {}\n\n/**\n * Optional parameters for creating a vector store file.\n */\nexport interface CreateVectorStoreFileOptionalParams\n extends CreateVectorStoreFileOptions,\n OperationOptions {}\n\n/**\n * Optional parameters for getting a vector store file.\n */\nexport interface GetVectorStoreFileOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for deleting a vector store file.\n */\nexport interface DeleteVectorStoreFileOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for creating a vector store file with polling.\n */\nexport interface CreateVectorStoreFileWithPollingOptionalParams\n extends CreateVectorStoreFileOptions,\n PollingOptionsParams,\n OperationOptions {}\n\n/**\n * Optional parameters for listing vector store file batches.\n */\nexport interface ListVectorStoreFileBatchFilesOptionalParams\n extends ListQueryParameters,\n OperationOptions {\n /** Filter by file status. */\n filter?: VectorStoreFileStatusFilter;\n}\n\n/**\n * Optional parameters for getting a vector store file batch.\n */\nexport interface GetVectorStoreFileBatchOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for canceling a vector store file batch.\n */\nexport interface CancelVectorStoreFileBatchOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for creating a vector store file batch.\n */\nexport interface CreateVectorStoreFileBatchOptionalParams\n extends CreateVectorStoreFileBatchOptions,\n OperationOptions {}\n\n/**\n * Optional parameters for creating a vector store file batch with polling.\n */\nexport interface CreateVectorStoreFileBatchWithPollingOptionalParams\n extends CreateVectorStoreFileBatchOptionalParams,\n PollingOptionsParams {}\n\n/**\n * Optional parameters for creating agent.\n */\nexport interface CreateAgentOptionalParams\n extends Omit<CreateAgentOptions, \"model\">,\n OperationOptions {}\n\n/**\n * Optional parameters for updating agent.\n */\nexport interface UpdateAgentOptionalParams extends UpdateAgentOptions, OperationOptions {}\n\n/**\n * Optional parameters for deleting agent.\n */\nexport interface DeleteAgentOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for getting agent.\n */\nexport interface GetAgentOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for listing agents.\n */\nexport interface ListAgentsOptionalParams extends ListQueryParameters, OperationOptions {}\n\n/**\n * Optional parameters for listing files.\n */\nexport interface ListFilesOptionalParams extends ListFilesQueryParamProperties, OperationOptions {}\n\n/**\n * Optional parameters for deleting a file.\n */\nexport interface DeleteFileOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for getting a file.\n */\nexport interface GetFileOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for getting file content.\n */\nexport interface GetFileContentOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for uploading a file.\n */\nexport interface UploadFileOptionalParams extends OperationOptions {\n /** The name of the file. */\n fileName?: string;\n}\n\n/**\n * Optional parameters for uploading a file with polling.\n */\nexport interface UploadFileWithPollingOptionalParams\n extends UploadFileOptionalParams,\n PollingOptionsParams {}\n"]}
1
+ {"version":3,"file":"customModels.js","sourceRoot":"","sources":["../../../src/agents/customModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions, RequestParameters } from \"@azure-rest/core-client\";\nimport type { ThreadRunOutput } from \"../customization/outputModels.js\";\nimport type { AgentEventMessageStream } from \"./streamingModels.js\";\nimport type {\n AgentThreadCreationOptions,\n CreateAgentOptions,\n CreateAndRunThreadOptions,\n CreateRunOptions,\n UpdateAgentOptions,\n UpdateAgentThreadOptions,\n VectorStoreFileStatusFilter,\n VectorStoreOptions,\n VectorStoreUpdateOptions,\n} from \"../customization/models.js\";\nimport type {\n ListMessagesQueryParamProperties,\n ListFilesQueryParamProperties,\n} from \"../customization/parameters.js\";\nimport type {\n CreateVectorStoreFileBatchOptions,\n CreateVectorStoreFileOptions,\n} from \"./vectorStoresModels.js\";\n\n/**\n * Optional request parameters support passing headers, abort signal, etc.\n */\nexport type OptionalRequestParameters = Pick<\n RequestParameters,\n \"headers\" | \"timeout\" | \"abortSignal\" | \"tracingOptions\"\n>;\n\n/**\n * Request options for list requests.\n */\nexport interface ListQueryParameters {\n /**\n * A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n */\n limit?: number;\n\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n */\n order?: \"asc\" | \"desc\";\n\n /**\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 */\n after?: string;\n\n /**\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 */\n before?: string;\n}\n\n/**\n * Options for configuring polling behavior.\n */\nexport interface PollingOptions {\n /**\n * The interval, in milliseconds, to wait between polling attempts. If not specified, a default interval of 1000ms will be used.\n */\n sleepIntervalInMs?: number;\n}\n\n/**\n * Optional parameters configuring polling behavior.\n */\nexport interface PollingOptionsParams {\n /** Options for configuring polling behavior. */\n pollingOptions?: PollingOptions;\n}\n\n/**\n * Agent run response with support to stream.\n */\nexport type AgentRunResponse = PromiseLike<ThreadRunOutput> & {\n /**\n * Function to start streaming the agent event messages.\n * @returns A promise that resolves to an AgentEventMessageStream.\n */\n stream: () => Promise<AgentEventMessageStream>;\n};\n\n/**\n * Optional parameters for creating and running a thread, excluding the assistantId.\n */\nexport type CreateRunOptionalParams = Omit<CreateRunOptions & OperationOptions, \"assistantId\"> &\n OperationOptions;\n\n/**\n * Optional parameters for creating and running a thread, excluding the assistantId.\n */\nexport type CreateAndRunThreadOptionalParams = Omit<CreateAndRunThreadOptions, \"assistantId\"> &\n OperationOptions;\n\n/**\n * Optional parameters for listing run queries.\n */\nexport interface ListRunQueryOptionalParams extends ListQueryParameters, OperationOptions {}\n\n/**\n * Optional parameters for getting a run.\n */\nexport interface GetRunOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for canceling a run.\n */\nexport interface CancelRunOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for submitting tool outputs to a run.\n */\nexport interface SubmitToolOutputsToRunOptionalParams extends OperationOptions {\n /**\n * Whether to stream the tool outputs.\n */\n stream?: boolean;\n}\n\n/**\n * Optional parameters for updating a run.\n */\nexport interface UpdateRunOptionalParams extends OperationOptions {\n /** Metadata to update in the run. */\n metadata?: Record<string, string> | null;\n}\n\n/**\n * Optional parameters for creating an agent thread.\n */\nexport interface CreateAgentThreadOptionalParams\n extends AgentThreadCreationOptions,\n OperationOptions {}\n\n/**\n * Optional parameters for getting an agent thread.\n */\nexport interface GetAgentThreadOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for updating an agent thread.\n */\nexport interface UpdateAgentThreadOptionalParams\n extends UpdateAgentThreadOptions,\n OperationOptions {}\n\n/**\n * Optional parameters for deleting an agent thread.\n */\nexport interface DeleteAgentThreadOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for getting an run step.\n */\nexport interface GetRunStepOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for listing run steps.\n */\nexport interface ListRunStepsOptionalParams extends ListQueryParameters, OperationOptions {}\n\n/**\n * Optional parameters for creating a message.\n */\nexport interface CreateMessageOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for updating a message.\n */\nexport interface UpdateMessageOptionalParams extends OperationOptions {\n /** Metadata to update in the message. */\n metadata?: Record<string, string> | null;\n}\n\n/**\n * Optional parameters for listing messages.\n */\nexport interface ListMessagesOptionalParams\n extends ListMessagesQueryParamProperties,\n OperationOptions {}\n\n/**\n * Optional parameters creating vector store.\n */\nexport interface CreateVectorStoreOptionalParams\n extends VectorStoreOptions,\n OperationOptions,\n PollingOptionsParams {}\n\n/**\n * Optional parameters for listing vector stores.\n */\nexport interface ListVectorStoresOptionalParams extends ListQueryParameters, OperationOptions {}\n\n/**\n * Optional parameters for updating a vector store.\n */\nexport interface UpdateVectorStoreOptionalParams\n extends VectorStoreUpdateOptions,\n OperationOptions {}\n\n/**\n * Optional parameters for deleting a vector store.\n */\nexport interface DeleteVectorStoreOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for getting a vector store.\n */\nexport interface GetVectorStoreOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for listing vector store files.\n */\nexport interface ListVectorStoreFilesOptionalParams extends ListQueryParameters, OperationOptions {}\n\n/**\n * Optional parameters for creating a vector store file.\n */\nexport interface CreateVectorStoreFileOptionalParams\n extends CreateVectorStoreFileOptions,\n OperationOptions,\n PollingOptionsParams {}\n\n/**\n * Optional parameters for getting a vector store file.\n */\nexport interface GetVectorStoreFileOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for deleting a vector store file.\n */\nexport interface DeleteVectorStoreFileOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for listing vector store file batches.\n */\nexport interface ListVectorStoreFileBatchFilesOptionalParams\n extends ListQueryParameters,\n OperationOptions {\n /** Filter by file status. */\n filter?: VectorStoreFileStatusFilter;\n}\n\n/**\n * Optional parameters for getting a vector store file batch.\n */\nexport interface GetVectorStoreFileBatchOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for canceling a vector store file batch.\n */\nexport interface CancelVectorStoreFileBatchOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for creating a vector store file batch.\n */\nexport interface CreateVectorStoreFileBatchOptionalParams\n extends CreateVectorStoreFileBatchOptions,\n OperationOptions,\n PollingOptionsParams {}\n\n/**\n * Optional parameters for creating agent.\n */\nexport interface CreateAgentOptionalParams\n extends Omit<CreateAgentOptions, \"model\">,\n OperationOptions {}\n\n/**\n * Optional parameters for updating agent.\n */\nexport interface UpdateAgentOptionalParams extends UpdateAgentOptions, OperationOptions {}\n\n/**\n * Optional parameters for deleting agent.\n */\nexport interface DeleteAgentOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for getting agent.\n */\nexport interface GetAgentOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for listing agents.\n */\nexport interface ListAgentsOptionalParams extends ListQueryParameters, OperationOptions {}\n\n/**\n * Optional parameters for listing files.\n */\nexport interface ListFilesOptionalParams extends ListFilesQueryParamProperties, OperationOptions {}\n\n/**\n * Optional parameters for deleting a file.\n */\nexport interface DeleteFileOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for getting a file.\n */\nexport interface GetFileOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for getting file content.\n */\nexport interface GetFileContentOptionalParams extends OperationOptions {}\n\n/**\n * Optional parameters for uploading a file.\n */\nexport interface UploadFileOptionalParams extends OperationOptions, PollingOptionsParams {\n /** The name of the file. */\n fileName?: string;\n}\n"]}
@@ -1,17 +1,18 @@
1
1
  import type { Client, StreamableMethod } from "@azure-rest/core-client";
2
2
  import type { FileDeletionStatusOutput, FileListResponseOutput, OpenAIFileOutput } from "../customization/outputModels.js";
3
3
  import type { FilePurpose as CustomizedFilePurpose } from "../customization/models.js";
4
- import type { DeleteFileOptionalParams, GetFileContentOptionalParams, GetFileOptionalParams, ListFilesOptionalParams, UploadFileWithPollingOptionalParams } from "./customModels.js";
5
- import type { PollerLike, PollOperationState } from "@azure/core-lro";
4
+ import type { DeleteFileOptionalParams, GetFileContentOptionalParams, GetFileOptionalParams, ListFilesOptionalParams, UploadFileOptionalParams } from "./customModels.js";
5
+ import type { OperationState, PollerLike } from "@azure/core-lro";
6
6
  /** Gets a list of previously uploaded files. */
7
7
  export declare function listFiles(context: Client, options?: ListFilesOptionalParams): Promise<FileListResponseOutput>;
8
8
  /** Uploads a file for use by other operations. */
9
- export declare function uploadFile(context: Client, content: ReadableStream | NodeJS.ReadableStream, purpose: CustomizedFilePurpose, options?: UploadFileWithPollingOptionalParams): Promise<OpenAIFileOutput>;
10
- export declare function uploadFileAndPoll(context: Client, content: ReadableStream | NodeJS.ReadableStream, purpose: CustomizedFilePurpose, options?: UploadFileWithPollingOptionalParams): PollerLike<PollOperationState<OpenAIFileOutput>, OpenAIFileOutput>;
9
+ export declare function uploadFile(context: Client, content: ReadableStream | NodeJS.ReadableStream, purpose: CustomizedFilePurpose, options?: UploadFileOptionalParams): PollerLike<OperationState<OpenAIFileOutput>, OpenAIFileOutput>;
10
+ export declare function uploadFileAndPoll(context: Client, content: ReadableStream | NodeJS.ReadableStream, purpose: CustomizedFilePurpose, options?: UploadFileOptionalParams): PollerLike<OperationState<OpenAIFileOutput>, OpenAIFileOutput>;
11
11
  /** Delete a previously uploaded file. */
12
12
  export declare function deleteFile(context: Client, fileId: string, options?: DeleteFileOptionalParams): Promise<FileDeletionStatusOutput>;
13
13
  /** Returns information about a specific file. Does not retrieve file content. */
14
14
  export declare function getFile(context: Client, fileId: string, options?: GetFileOptionalParams): Promise<OpenAIFileOutput>;
15
15
  /** Returns file content. */
16
16
  export declare function getFileContent(context: Client, fileId: string, options?: GetFileContentOptionalParams): StreamableMethod<string | Uint8Array>;
17
+ export declare function uploadFileInternal(context: Client, content: ReadableStream | NodeJS.ReadableStream, purpose: CustomizedFilePurpose, options?: UploadFileOptionalParams): Promise<OpenAIFileOutput>;
17
18
  //# sourceMappingURL=files.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../../src/agents/files.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAExE,OAAO,KAAK,EACV,wBAAwB,EACxB,sBAAsB,EACtB,gBAAgB,EACjB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,WAAW,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACvF,OAAO,KAAK,EACV,wBAAwB,EACxB,4BAA4B,EAC5B,qBAAqB,EACrB,uBAAuB,EACvB,mCAAmC,EACpC,MAAM,mBAAmB,CAAC;A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