@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,7 +1,104 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- import { getPagedAsyncIterator, } from "@azure/core-paging";
4
- import { createRestError, } from "@azure-rest/core-client";
3
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
4
+ import { createRestError } from "@azure-rest/core-client";
5
+ /**
6
+ * returns an async iterator that iterates over results. It also has a `byPage`
7
+ * method that returns pages of items at once.
8
+ *
9
+ * @param pagedResult - an object that specifies how to get pages.
10
+ * @returns a paged async iterator that iterates over results.
11
+ */
12
+ function getPagedAsyncIterator(pagedResult) {
13
+ var _a;
14
+ const iter = getItemAsyncIterator(pagedResult);
15
+ return {
16
+ next() {
17
+ return iter.next();
18
+ },
19
+ [Symbol.asyncIterator]() {
20
+ return this;
21
+ },
22
+ byPage: (_a = pagedResult === null || pagedResult === void 0 ? void 0 : pagedResult.byPage) !== null && _a !== void 0 ? _a : ((settings) => {
23
+ const { continuationToken } = settings !== null && settings !== void 0 ? settings : {};
24
+ return getPageAsyncIterator(pagedResult, {
25
+ pageLink: continuationToken,
26
+ });
27
+ }),
28
+ };
29
+ }
30
+ function getItemAsyncIterator(pagedResult) {
31
+ return __asyncGenerator(this, arguments, function* getItemAsyncIterator_1() {
32
+ var _a, e_1, _b, _c, _d, e_2, _e, _f;
33
+ const pages = getPageAsyncIterator(pagedResult);
34
+ const firstVal = yield __await(pages.next());
35
+ // if the result does not have an array shape, i.e. TPage = TElement, then we return it as is
36
+ if (!Array.isArray(firstVal.value)) {
37
+ // can extract elements from this page
38
+ const { toElements } = pagedResult;
39
+ if (toElements) {
40
+ yield __await(yield* __asyncDelegator(__asyncValues(toElements(firstVal.value))));
41
+ try {
42
+ for (var _g = true, pages_1 = __asyncValues(pages), pages_1_1; pages_1_1 = yield __await(pages_1.next()), _a = pages_1_1.done, !_a; _g = true) {
43
+ _c = pages_1_1.value;
44
+ _g = false;
45
+ const page = _c;
46
+ yield __await(yield* __asyncDelegator(__asyncValues(toElements(page))));
47
+ }
48
+ }
49
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
50
+ finally {
51
+ try {
52
+ if (!_g && !_a && (_b = pages_1.return)) yield __await(_b.call(pages_1));
53
+ }
54
+ finally { if (e_1) throw e_1.error; }
55
+ }
56
+ }
57
+ else {
58
+ yield yield __await(firstVal.value);
59
+ // `pages` is of type `AsyncIterableIterator<TPage>` but TPage = TElement in this case
60
+ yield __await(yield* __asyncDelegator(__asyncValues(pages)));
61
+ }
62
+ }
63
+ else {
64
+ yield __await(yield* __asyncDelegator(__asyncValues(firstVal.value)));
65
+ try {
66
+ for (var _h = true, pages_2 = __asyncValues(pages), pages_2_1; pages_2_1 = yield __await(pages_2.next()), _d = pages_2_1.done, !_d; _h = true) {
67
+ _f = pages_2_1.value;
68
+ _h = false;
69
+ const page = _f;
70
+ // pages is of type `AsyncIterableIterator<TPage>` so `page` is of type `TPage`. In this branch,
71
+ // it must be the case that `TPage = TElement[]`
72
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
+ }
74
+ }
75
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
76
+ finally {
77
+ try {
78
+ if (!_h && !_d && (_e = pages_2.return)) yield __await(_e.call(pages_2));
79
+ }
80
+ finally { if (e_2) throw e_2.error; }
81
+ }
82
+ }
83
+ });
84
+ }
85
+ function getPageAsyncIterator(pagedResult_1) {
86
+ return __asyncGenerator(this, arguments, function* getPageAsyncIterator_1(pagedResult, options = {}) {
87
+ const { pageLink } = options;
88
+ let response = yield __await(pagedResult.getPage(pageLink !== null && pageLink !== void 0 ? pageLink : pagedResult.firstPageLink));
89
+ if (!response) {
90
+ return yield __await(void 0);
91
+ }
92
+ yield yield __await(response.page);
93
+ while (response.nextPageLink) {
94
+ response = yield __await(pagedResult.getPage(response.nextPageLink));
95
+ if (!response) {
96
+ return yield __await(void 0);
97
+ }
98
+ yield yield __await(response.page);
99
+ }
100
+ });
101
+ }
5
102
  /**
6
103
  * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
7
104
  * @param client - Client to use for sending the next page requests
@@ -1 +1 @@
1
- {"version":3,"file":"paginateHelper.js","sourceRoot":"","sources":["../../../../src/generated/src/paginateHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC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AC,YAAY,CAAC,CAAC;IAEjE,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,CAAC;QACpE,MAAM,IAAI,KAAK,CACb,iBAAiB,YAAY,kCAAkC,CAChE,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;GAEG;AACH,SAAS,WAAW,CAAc,IAAa,EAAE,QAAgB;IAC/D,MAAM,KAAK,GAAI,IAAgC,CAAC,QAAQ,CAAQ,CAAC;IAEjE,qEAAqE;IACrE,qEAAqE;IACrE,iDAAiD;IACjD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CACb,kFAAkF,QAAQ,EAAE,CAC7F,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAC;AACrB,CAAC;AAED;;GAEG;AACH,SAAS,kBAAkB,CAAC,QAA+B;IACzD,MAAM,kBAAkB,GAAG;QACzB,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;KACN,CAAC;IACF,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAClD,MAAM,eAAe,CACnB,gDAAgD,QAAQ,CAAC,MAAM,EAAE,EACjE,QAAQ,CACT,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n getPagedAsyncIterator,\n PagedAsyncIterableIterator,\n PagedResult,\n} from \"@azure/core-paging\";\nimport {\n Client,\n createRestError,\n PathUncheckedResponse,\n} from \"@azure-rest/core-client\";\n\n/**\n * Helper type to extract the type of an array\n */\nexport type GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n/**\n * The type of a custom function that defines how to get a page and a link to the next one if any.\n */\nexport type GetPage<TPage> = (\n pageLink: string,\n maxPageSize?: number,\n) => Promise<{\n page: TPage;\n nextPageLink?: string;\n}>;\n\n/**\n * Options for the paging helper\n */\nexport interface PagingOptions<TResponse> {\n /**\n * Custom function to extract pagination details for crating the PagedAsyncIterableIterator\n */\n customGetPage?: GetPage<PaginateReturn<TResponse>[]>;\n}\n\n/**\n * Helper type to infer the Type of the paged elements from the response type\n * This type is generated based on the swagger information for x-ms-pageable\n * specifically on the itemName property which indicates the property of the response\n * where the page items are found. The default value is `value`.\n * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter\n */\nexport type PaginateReturn<TResult> = TResult extends {\n body: { value?: infer TPage };\n}\n ? GetArrayType<TPage>\n : Array<unknown>;\n\n/**\n * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension\n * @param client - Client to use for sending the next page requests\n * @param initialResponse - Initial response containing the nextLink and current page of elements\n * @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results\n * @returns - PagedAsyncIterableIterator to iterate the elements\n */\nexport function paginate<TResponse extends PathUncheckedResponse>(\n client: Client,\n initialResponse: TResponse,\n options: PagingOptions<TResponse> = {},\n): PagedAsyncIterableIterator<PaginateReturn<TResponse>> {\n // Extract element type from initial response\n type TElement = PaginateReturn<TResponse>;\n let firstRun = true;\n const itemName = \"value\";\n const nextLinkName = \"nextLink\";\n const { customGetPage } = options;\n const pagedResult: PagedResult<TElement[]> = {\n firstPageLink: \"\",\n getPage:\n typeof customGetPage === \"function\"\n ? customGetPage\n : async (pageLink: string) => {\n const result = firstRun\n ? initialResponse\n : await client.pathUnchecked(pageLink).get();\n firstRun = false;\n checkPagingRequest(result);\n const nextLink = getNextLink(result.body, nextLinkName);\n const values = getElements<TElement>(result.body, itemName);\n return {\n page: values,\n nextPageLink: nextLink,\n };\n },\n };\n\n return getPagedAsyncIterator(pagedResult);\n}\n\n/**\n * Gets for the value of nextLink in the body\n */\nfunction getNextLink(body: unknown, nextLinkName?: string): string | undefined {\n if (!nextLinkName) {\n return undefined;\n }\n\n const nextLink = (body as Record<string, unknown>)[nextLinkName];\n\n if (typeof nextLink !== \"string\" && typeof nextLink !== \"undefined\") {\n throw new Error(\n `Body Property ${nextLinkName} should be a string or undefined`,\n );\n }\n\n return nextLink;\n}\n\n/**\n * Gets the elements of the current request in the body.\n */\nfunction getElements<T = unknown>(body: unknown, itemName: string): T[] {\n const value = (body as Record<string, unknown>)[itemName] as T[];\n\n // value has to be an array according to the x-ms-pageable extension.\n // The fact that this must be an array is used above to calculate the\n // type of elements in the page in PaginateReturn\n if (!Array.isArray(value)) {\n throw new Error(\n `Couldn't paginate response\\n Body doesn't contain an array property with name: ${itemName}`,\n );\n }\n\n return value ?? [];\n}\n\n/**\n * Checks if a request failed\n */\nfunction checkPagingRequest(response: PathUncheckedResponse): void {\n const Http2xxStatusCodes = [\n \"200\",\n \"201\",\n \"202\",\n \"203\",\n \"204\",\n \"205\",\n \"206\",\n \"207\",\n \"208\",\n \"226\",\n ];\n if (!Http2xxStatusCodes.includes(response.status)) {\n throw createRestError(\n `Pagination failed with unexpected statusCode ${response.status}`,\n response,\n );\n }\n}\n"]}
1
+ {"version":3,"file":"paginateHelper.js","sourceRoot":"","sources":["../../../../src/generated/src/paginateHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAGlC,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE1D;;;;;;GAMG;AACH,SAAS,qBAAqB,CAM5B,WAAqD;;IAErD,MAAM,IAAI,GAAG,oBAAoB,CAC/B,WAAW,CACZ,CAAC;IACF,OAAO;QACL,IAAI;YACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;QACrB,CAAC;QACD,CAAC,MAAM,CAAC,aAAa,CAAC;YACpB,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,EACJ,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,MAAM,mC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,kFAAkF,QAAQ,EAAE,CAC7F,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAC;AACrB,CAAC;AAED;;GAEG;AACH,SAAS,kBAAkB,CAAC,QAA+B;IACzD,MAAM,kBAAkB,GAAG;QACzB,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;QACL,KAAK;KACN,CAAC;IACF,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;QAClD,MAAM,eAAe,CACnB,gDAAgD,QAAQ,CAAC,MAAM,EAAE,EACjE,QAAQ,CACT,CAAC;IACJ,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { Client, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError } from \"@azure-rest/core-client\";\n\n/**\n * returns an async iterator that iterates over results. It also has a `byPage`\n * method that returns pages of items at once.\n *\n * @param pagedResult - an object that specifies how to get pages.\n * @returns a paged async iterator that iterates over results.\n */\nfunction getPagedAsyncIterator<\n TElement,\n TPage = TElement[],\n TPageSettings = PageSettings,\n TLink = string,\n>(\n pagedResult: PagedResult<TPage, TPageSettings, TLink>,\n): PagedAsyncIterableIterator<TElement, TPage, TPageSettings> {\n const iter = getItemAsyncIterator<TElement, TPage, TLink, TPageSettings>(\n pagedResult,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage:\n pagedResult?.byPage ??\n (((settings?: PageSettings) => {\n const { continuationToken } = settings ?? {};\n return getPageAsyncIterator(pagedResult, {\n pageLink: continuationToken as unknown as TLink | undefined,\n });\n }) as unknown as (\n settings?: TPageSettings,\n ) => AsyncIterableIterator<TPage>),\n };\n}\n\nasync function* getItemAsyncIterator<TElement, TPage, TLink, TPageSettings>(\n pagedResult: PagedResult<TPage, TPageSettings, TLink>,\n): AsyncIterableIterator<TElement> {\n const pages = getPageAsyncIterator(pagedResult);\n const firstVal = await pages.next();\n // if the result does not have an array shape, i.e. TPage = TElement, then we return it as is\n if (!Array.isArray(firstVal.value)) {\n // can extract elements from this page\n const { toElements } = pagedResult;\n if (toElements) {\n yield* toElements(firstVal.value) as TElement[];\n for await (const page of pages) {\n yield* toElements(page) as TElement[];\n }\n } else {\n yield firstVal.value;\n // `pages` is of type `AsyncIterableIterator<TPage>` but TPage = TElement in this case\n yield* pages as unknown as AsyncIterableIterator<TElement>;\n }\n } else {\n yield* firstVal.value;\n for await (const page of pages) {\n // pages is of type `AsyncIterableIterator<TPage>` so `page` is of type `TPage`. In this branch,\n // it must be the case that `TPage = TElement[]`\n yield* page as unknown as TElement[];\n }\n }\n}\n\nasync function* getPageAsyncIterator<TPage, TLink, TPageSettings>(\n pagedResult: PagedResult<TPage, TPageSettings, TLink>,\n options: {\n pageLink?: TLink;\n } = {},\n): AsyncIterableIterator<TPage> {\n const { pageLink } = options;\n let response = await pagedResult.getPage(\n pageLink ?? pagedResult.firstPageLink,\n );\n if (!response) {\n return;\n }\n yield response.page;\n while (response.nextPageLink) {\n response = await pagedResult.getPage(response.nextPageLink);\n if (!response) {\n return;\n }\n yield response.page;\n }\n}\n\n/**\n * An interface that tracks the settings for paged iteration\n */\nexport interface PageSettings {\n /**\n * The token that keeps track of where to continue the iterator\n */\n continuationToken?: string;\n}\n\n/**\n * An interface that allows async iterable iteration both to completion and by page.\n */\nexport interface PagedAsyncIterableIterator<\n TElement,\n TPage = TElement[],\n TPageSettings = PageSettings,\n> {\n /**\n * The next method, part of the iteration protocol\n */\n next(): Promise<IteratorResult<TElement>>;\n /**\n * The connection to the async iterator, part of the iteration protocol\n */\n [Symbol.asyncIterator](): PagedAsyncIterableIterator<\n TElement,\n TPage,\n TPageSettings\n >;\n /**\n * Return an AsyncIterableIterator that works a page at a time\n */\n byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;\n}\n\n/**\n * An interface that describes how to communicate with the service.\n */\ninterface PagedResult<TPage, TPageSettings = PageSettings, TLink = string> {\n /**\n * Link to the first page of results.\n */\n firstPageLink: TLink;\n /**\n * A method that returns a page of results.\n */\n getPage: (\n pageLink: TLink,\n ) => Promise<{ page: TPage; nextPageLink?: TLink } | undefined>;\n /**\n * a function to implement the `byPage` method on the paged async iterator.\n */\n byPage?: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;\n\n /**\n * A function to extract elements from a page.\n */\n toElements?: (page: TPage) => unknown[];\n}\n\n/**\n * Helper type to extract the type of an array\n */\nexport type GetArrayType<T> = T extends Array<infer TData> ? TData : never;\n\n/**\n * The type of a custom function that defines how to get a page and a link to the next one if any.\n */\nexport type GetPage<TPage> = (pageLink: string) => Promise<{\n page: TPage;\n nextPageLink?: string;\n}>;\n\n/**\n * Options for the paging helper\n */\nexport interface PagingOptions<TResponse> {\n /**\n * Custom function to extract pagination details for crating the PagedAsyncIterableIterator\n */\n customGetPage?: GetPage<PaginateReturn<TResponse>[]>;\n}\n\n/**\n * Helper type to infer the Type of the paged elements from the response type\n * This type is generated based on the swagger information for x-ms-pageable\n * specifically on the itemName property which indicates the property of the response\n * where the page items are found. The default value is `value`.\n * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter\n */\nexport type PaginateReturn<TResult> = TResult extends {\n body: { value?: infer TPage };\n}\n ? GetArrayType<TPage>\n : Array<unknown>;\n\n/**\n * Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension\n * @param client - Client to use for sending the next page requests\n * @param initialResponse - Initial response containing the nextLink and current page of elements\n * @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results\n * @returns - PagedAsyncIterableIterator to iterate the elements\n */\nexport function paginate<TResponse extends PathUncheckedResponse>(\n client: Client,\n initialResponse: TResponse,\n options: PagingOptions<TResponse> = {},\n): PagedAsyncIterableIterator<PaginateReturn<TResponse>> {\n // Extract element type from initial response\n type TElement = PaginateReturn<TResponse>;\n let firstRun = true;\n const itemName = \"value\";\n const nextLinkName = \"nextLink\";\n const { customGetPage } = options;\n const pagedResult: PagedResult<TElement[]> = {\n firstPageLink: \"\",\n getPage:\n typeof customGetPage === \"function\"\n ? customGetPage\n : async (pageLink: string) => {\n const result = firstRun\n ? initialResponse\n : await client.pathUnchecked(pageLink).get();\n firstRun = false;\n checkPagingRequest(result);\n const nextLink = getNextLink(result.body, nextLinkName);\n const values = getElements<TElement>(result.body, itemName);\n return {\n page: values,\n nextPageLink: nextLink,\n };\n },\n };\n\n return getPagedAsyncIterator(pagedResult);\n}\n\n/**\n * Gets for the value of nextLink in the body\n */\nfunction getNextLink(body: unknown, nextLinkName?: string): string | undefined {\n if (!nextLinkName) {\n return undefined;\n }\n\n const nextLink = (body as Record<string, unknown>)[nextLinkName];\n\n if (typeof nextLink !== \"string\" && typeof nextLink !== \"undefined\") {\n throw new Error(\n `Body Property ${nextLinkName} should be a string or undefined`,\n );\n }\n\n return nextLink;\n}\n\n/**\n * Gets the elements of the current request in the body.\n */\nfunction getElements<T = unknown>(body: unknown, itemName: string): T[] {\n const value = (body as Record<string, unknown>)[itemName] as T[];\n\n // value has to be an array according to the x-ms-pageable extension.\n // The fact that this must be an array is used above to calculate the\n // type of elements in the page in PaginateReturn\n if (!Array.isArray(value)) {\n throw new Error(\n `Couldn't paginate response\\n Body doesn't contain an array property with name: ${itemName}`,\n );\n }\n\n return value ?? [];\n}\n\n/**\n * Checks if a request failed\n */\nfunction checkPagingRequest(response: PathUncheckedResponse): void {\n const Http2xxStatusCodes = [\n \"200\",\n \"201\",\n \"202\",\n \"203\",\n \"204\",\n \"205\",\n \"206\",\n \"207\",\n \"208\",\n \"226\",\n ];\n if (!Http2xxStatusCodes.includes(response.status)) {\n throw createRestError(\n `Pagination failed with unexpected statusCode ${response.status}`,\n response,\n );\n }\n}\n"]}
@@ -1,6 +1,6 @@
1
- import { RawHttpHeadersInput } from "@azure/core-rest-pipeline";
2
- import { RequestParameters } from "@azure-rest/core-client";
3
- import { CreateAgentOptions, ListSortOrder, UpdateAgentOptions, AgentThreadCreationOptions, UpdateAgentThreadOptions, ThreadMessageOptions, CreateRunOptions, ToolOutput, CreateAndRunThreadOptions, FilePurpose, VectorStoreOptions, VectorStoreUpdateOptions, VectorStoreFileStatusFilter, VectorStoreDataSource, VectorStoreChunkingStrategyRequest, ConnectionType, Evaluation, EvaluationSchedule } from "./models.js";
1
+ import type { RawHttpHeadersInput } from "@azure/core-rest-pipeline";
2
+ import type { RequestParameters } from "@azure-rest/core-client";
3
+ import type { CreateAgentOptions, ListSortOrder, UpdateAgentOptions, AgentThreadCreationOptions, UpdateAgentThreadOptions, ThreadMessageOptions, RunAdditionalFieldList, CreateRunOptions, ToolOutput, CreateAndRunThreadOptions, FilePurpose, HttpPartFile, HttpPartFilePurpose, HttpPartString, VectorStoreOptions, VectorStoreUpdateOptions, VectorStoreFileStatusFilter, VectorStoreDataSource, VectorStoreChunkingStrategyRequest, ConnectionType, Evaluation, EvaluationSchedule } from "./models.js";
4
4
  export interface CreateAgentBodyParam {
5
5
  body: CreateAgentOptions;
6
6
  }
@@ -73,7 +73,26 @@ export type UpdateMessageParameters = UpdateMessageBodyParam & RequestParameters
73
73
  export interface CreateRunBodyParam {
74
74
  body: CreateRunOptions;
75
75
  }
76
- export type CreateRunParameters = CreateRunBodyParam & RequestParameters;
76
+ /** This is the wrapper object for the parameter `include[]` with explode set to false and style set to form. */
77
+ export interface CreateRunIncludeQueryParam {
78
+ /** Value of the parameter */
79
+ value: RunAdditionalFieldList[];
80
+ /** Should we explode the value? */
81
+ explode: false;
82
+ /** Style of the value */
83
+ style: "form";
84
+ }
85
+ export interface CreateRunQueryParamProperties {
86
+ /**
87
+ * A list of additional fields to include in the response.
88
+ * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.
89
+ */
90
+ "include[]"?: RunAdditionalFieldList[] | CreateRunIncludeQueryParam;
91
+ }
92
+ export interface CreateRunQueryParam {
93
+ queryParameters?: CreateRunQueryParamProperties;
94
+ }
95
+ export type CreateRunParameters = CreateRunQueryParam & CreateRunBodyParam & RequestParameters;
77
96
  export interface ListRunsQueryParamProperties {
78
97
  /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */
79
98
  limit?: number;
@@ -111,8 +130,41 @@ export interface CreateThreadAndRunBodyParam {
111
130
  body: CreateAndRunThreadOptions;
112
131
  }
113
132
  export type CreateThreadAndRunParameters = CreateThreadAndRunBodyParam & RequestParameters;
114
- export type GetRunStepParameters = RequestParameters;
133
+ /** This is the wrapper object for the parameter `include[]` with explode set to false and style set to form. */
134
+ export interface GetRunStepIncludeQueryParam {
135
+ /** Value of the parameter */
136
+ value: RunAdditionalFieldList[];
137
+ /** Should we explode the value? */
138
+ explode: false;
139
+ /** Style of the value */
140
+ style: "form";
141
+ }
142
+ export interface GetRunStepQueryParamProperties {
143
+ /**
144
+ * A list of additional fields to include in the response.
145
+ * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.
146
+ */
147
+ "include[]"?: RunAdditionalFieldList[] | GetRunStepIncludeQueryParam;
148
+ }
149
+ export interface GetRunStepQueryParam {
150
+ queryParameters?: GetRunStepQueryParamProperties;
151
+ }
152
+ export type GetRunStepParameters = GetRunStepQueryParam & RequestParameters;
153
+ /** This is the wrapper object for the parameter `include[]` with explode set to false and style set to form. */
154
+ export interface ListRunStepsIncludeQueryParam {
155
+ /** Value of the parameter */
156
+ value: RunAdditionalFieldList[];
157
+ /** Should we explode the value? */
158
+ explode: false;
159
+ /** Style of the value */
160
+ style: "form";
161
+ }
115
162
  export interface ListRunStepsQueryParamProperties {
163
+ /**
164
+ * A list of additional fields to include in the response.
165
+ * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.
166
+ */
167
+ "include[]"?: RunAdditionalFieldList[] | ListRunStepsIncludeQueryParam;
116
168
  /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */
117
169
  limit?: number;
118
170
  /**
@@ -143,19 +195,20 @@ export interface ListFilesQueryParam {
143
195
  }
144
196
  export type ListFilesParameters = ListFilesQueryParam & RequestParameters;
145
197
  export interface UploadFileBodyParam {
198
+ /** Multipart body */
146
199
  body: FormData | Array<{
147
200
  name: "file";
148
- body: string | Uint8Array | ReadableStream<Uint8Array> | NodeJS.ReadableStream | File;
201
+ body: HttpPartFile;
149
202
  filename?: string;
150
203
  contentType?: string;
151
204
  } | {
152
205
  name: "purpose";
153
- body: FilePurpose;
206
+ body: HttpPartFilePurpose;
154
207
  filename?: string;
155
208
  contentType?: string;
156
209
  } | {
157
210
  name: "filename";
158
- body: string;
211
+ body: HttpPartString;
159
212
  }>;
160
213
  }
161
214
  export interface UploadFileMediaTypesParam {
@@ -221,7 +274,7 @@ export type ListVectorStoreFilesParameters = ListVectorStoreFilesQueryParam & Re
221
274
  export interface CreateVectorStoreFileBodyParam {
222
275
  body: {
223
276
  file_id?: string;
224
- data_sources?: Array<VectorStoreDataSource>;
277
+ data_source?: VectorStoreDataSource;
225
278
  chunking_strategy?: VectorStoreChunkingStrategyRequest;
226
279
  };
227
280
  }
@@ -264,7 +317,11 @@ export interface ListVectorStoreFileBatchFilesQueryParam {
264
317
  export type ListVectorStoreFileBatchFilesParameters = ListVectorStoreFileBatchFilesQueryParam & RequestParameters;
265
318
  export type GetWorkspaceParameters = RequestParameters;
266
319
  export interface ListConnectionsQueryParamProperties {
267
- /** Category of the workspace connection. */
320
+ /**
321
+ * Category of the workspace connection.
322
+ *
323
+ * Possible values: "AzureOpenAI", "Serverless", "AzureBlob", "AIServices", "CognitiveSearch", "ApiKey", "CustomKeys", "CognitiveService"
324
+ */
268
325
  category?: ConnectionType;
269
326
  /** Indicates whether to list datastores. Service default: do not list datastores. */
270
327
  includeAll?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/parameters.ts"],"names":[],"mappings":"AAGA,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;AAED,MAAM,WAAW,sBAAsB;IACrC,eAAe,CAAC,EAAE,gCAAgC,CAAC;CACpD;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,mBAAmB,GAAG,mBAAmB,CAAC;CACrD;AAED,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,GACzD,uBAAuB,GACvB,iBAAiB,CAAC;AACpB,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC"}
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/parameters.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,0BAA0B,EAC1B,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,UAAU,EACV,yBAAyB,EACzB,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,wBAAwB,EACxB,2BAA2B,EAC3B,qBAAqB,EACrB,kCAAkC,EAClC,cAAc,EACd,UAAU,EACV,kBAAkB,EACnB,MAAM,aAAa,CAAC;AAErB,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED,MAAM,MAAM,qBAAqB,GAAG,oBAAoB,GAAG,iBAAiB,CAAC;AAE7E,MAAM,WAAW,8BAA8B;IAC7C,iHAAiH;IACjH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,oRAAoR;IACpR,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0RAA0R;IAC1R,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC,eAAe,CAAC,EAAE,8BAA8B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C5C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,sBAAsB;IACrC,eAAe,CAAC,EAAE,gCAAgC,CAAC;CACpD;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,mBAAmB,GAAG,mBAAmB,CAAC;CACrD;AAED,MAAM,MAAM,sBAAsB,GAAG,sBAAsB,GACzD,uBAAuB,GACvB,iBAAiB,CAAC;AACpB,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/src/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { RawHttpHeadersInput } from \"@azure/core-rest-pipeline\";\nimport { RequestParameters } from \"@azure-rest/core-client\";\nimport {\n CreateAgentOptions,\n ListSortOrder,\n UpdateAgentOptions,\n AgentThreadCreationOptions,\n UpdateAgentThreadOptions,\n ThreadMessageOptions,\n CreateRunOptions,\n ToolOutput,\n CreateAndRunThreadOptions,\n FilePurpose,\n VectorStoreOptions,\n VectorStoreUpdateOptions,\n VectorStoreFileStatusFilter,\n VectorStoreDataSource,\n VectorStoreChunkingStrategyRequest,\n ConnectionType,\n Evaluation,\n EvaluationSchedule,\n} from \"./models.js\";\n\nexport interface CreateAgentBodyParam {\n body: CreateAgentOptions;\n}\n\nexport type CreateAgentParameters = CreateAgentBodyParam & RequestParameters;\n\nexport interface ListAgentsQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListAgentsQueryParam {\n queryParameters?: ListAgentsQueryParamProperties;\n}\n\nexport type ListAgentsParameters = ListAgentsQueryParam & RequestParameters;\nexport type GetAgentParameters = RequestParameters;\n\nexport interface UpdateAgentBodyParam {\n body: UpdateAgentOptions;\n}\n\nexport type UpdateAgentParameters = UpdateAgentBodyParam & RequestParameters;\nexport type DeleteAgentParameters = RequestParameters;\n\nexport interface CreateThreadBodyParam {\n body: AgentThreadCreationOptions;\n}\n\nexport type CreateThreadParameters = CreateThreadBodyParam & RequestParameters;\nexport type GetThreadParameters = RequestParameters;\n\nexport interface UpdateThreadBodyParam {\n body: UpdateAgentThreadOptions;\n}\n\nexport type UpdateThreadParameters = UpdateThreadBodyParam & RequestParameters;\nexport type DeleteThreadParameters = RequestParameters;\n\nexport interface CreateMessageBodyParam {\n body: ThreadMessageOptions;\n}\n\nexport type CreateMessageParameters = CreateMessageBodyParam &\n RequestParameters;\n\nexport interface ListMessagesQueryParamProperties {\n /** Filter messages by the run ID that generated them. */\n runId?: string;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListMessagesQueryParam {\n queryParameters?: ListMessagesQueryParamProperties;\n}\n\nexport type ListMessagesParameters = ListMessagesQueryParam & RequestParameters;\nexport type GetMessageParameters = RequestParameters;\n\nexport interface UpdateMessageBodyParam {\n body: { metadata?: Record<string, string> | null };\n}\n\nexport type UpdateMessageParameters = UpdateMessageBodyParam &\n RequestParameters;\n\nexport interface CreateRunBodyParam {\n body: CreateRunOptions;\n}\n\nexport type CreateRunParameters = CreateRunBodyParam & RequestParameters;\n\nexport interface ListRunsQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListRunsQueryParam {\n queryParameters?: ListRunsQueryParamProperties;\n}\n\nexport type ListRunsParameters = ListRunsQueryParam & RequestParameters;\nexport type GetRunParameters = RequestParameters;\n\nexport interface UpdateRunBodyParam {\n body: { metadata?: Record<string, string> | null };\n}\n\nexport type UpdateRunParameters = UpdateRunBodyParam & RequestParameters;\n\nexport interface SubmitToolOutputsToRunBodyParam {\n body: { tool_outputs: Array<ToolOutput>; stream?: boolean | null };\n}\n\nexport type SubmitToolOutputsToRunParameters = SubmitToolOutputsToRunBodyParam &\n RequestParameters;\nexport type CancelRunParameters = RequestParameters;\n\nexport interface CreateThreadAndRunBodyParam {\n body: CreateAndRunThreadOptions;\n}\n\nexport type CreateThreadAndRunParameters = CreateThreadAndRunBodyParam &\n RequestParameters;\nexport type GetRunStepParameters = RequestParameters;\n\nexport interface ListRunStepsQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListRunStepsQueryParam {\n queryParameters?: ListRunStepsQueryParamProperties;\n}\n\nexport type ListRunStepsParameters = ListRunStepsQueryParam & RequestParameters;\n\nexport interface ListFilesQueryParamProperties {\n /**\n * The purpose of the file.\n *\n * Possible values: \"fine-tune\", \"fine-tune-results\", \"assistants\", \"assistants_output\", \"batch\", \"batch_output\", \"vision\"\n */\n purpose?: FilePurpose;\n}\n\nexport interface ListFilesQueryParam {\n queryParameters?: ListFilesQueryParamProperties;\n}\n\nexport type ListFilesParameters = ListFilesQueryParam & RequestParameters;\n\nexport interface UploadFileBodyParam {\n body:\n | FormData\n | Array<\n | {\n name: \"file\";\n body:\n | string\n | Uint8Array\n | ReadableStream<Uint8Array>\n | NodeJS.ReadableStream\n | File;\n filename?: string;\n contentType?: string;\n }\n | {\n name: \"purpose\";\n body: FilePurpose;\n filename?: string;\n contentType?: string;\n }\n | { name: \"filename\"; body: string }\n >;\n}\n\nexport interface UploadFileMediaTypesParam {\n /** The name of the file to upload. */\n contentType: \"multipart/form-data\";\n}\n\nexport type UploadFileParameters = UploadFileMediaTypesParam &\n UploadFileBodyParam &\n RequestParameters;\nexport type DeleteFileParameters = RequestParameters;\nexport type GetFileParameters = RequestParameters;\nexport type GetFileContentParameters = RequestParameters;\n\nexport interface ListVectorStoresQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListVectorStoresQueryParam {\n queryParameters?: ListVectorStoresQueryParamProperties;\n}\n\nexport type ListVectorStoresParameters = ListVectorStoresQueryParam &\n RequestParameters;\n\nexport interface CreateVectorStoreBodyParam {\n body: VectorStoreOptions;\n}\n\nexport type CreateVectorStoreParameters = CreateVectorStoreBodyParam &\n RequestParameters;\nexport type GetVectorStoreParameters = RequestParameters;\n\nexport interface ModifyVectorStoreBodyParam {\n body: VectorStoreUpdateOptions;\n}\n\nexport type ModifyVectorStoreParameters = ModifyVectorStoreBodyParam &\n RequestParameters;\nexport type DeleteVectorStoreParameters = RequestParameters;\n\nexport interface ListVectorStoreFilesQueryParamProperties {\n /**\n * Filter by file status.\n *\n * Possible values: \"in_progress\", \"completed\", \"failed\", \"cancelled\"\n */\n filter?: VectorStoreFileStatusFilter;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListVectorStoreFilesQueryParam {\n queryParameters?: ListVectorStoreFilesQueryParamProperties;\n}\n\nexport type ListVectorStoreFilesParameters = ListVectorStoreFilesQueryParam &\n RequestParameters;\n\nexport interface CreateVectorStoreFileBodyParam {\n body: {\n file_id?: string;\n data_sources?: Array<VectorStoreDataSource>;\n chunking_strategy?: VectorStoreChunkingStrategyRequest;\n };\n}\n\nexport type CreateVectorStoreFileParameters = CreateVectorStoreFileBodyParam &\n RequestParameters;\nexport type GetVectorStoreFileParameters = RequestParameters;\nexport type DeleteVectorStoreFileParameters = RequestParameters;\n\nexport interface CreateVectorStoreFileBatchBodyParam {\n body: {\n file_ids?: string[];\n data_sources?: Array<VectorStoreDataSource>;\n chunking_strategy?: VectorStoreChunkingStrategyRequest;\n };\n}\n\nexport type CreateVectorStoreFileBatchParameters =\n CreateVectorStoreFileBatchBodyParam & RequestParameters;\nexport type GetVectorStoreFileBatchParameters = RequestParameters;\nexport type CancelVectorStoreFileBatchParameters = RequestParameters;\n\nexport interface ListVectorStoreFileBatchFilesQueryParamProperties {\n /**\n * Filter by file status.\n *\n * Possible values: \"in_progress\", \"completed\", \"failed\", \"cancelled\"\n */\n filter?: VectorStoreFileStatusFilter;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListVectorStoreFileBatchFilesQueryParam {\n queryParameters?: ListVectorStoreFileBatchFilesQueryParamProperties;\n}\n\nexport type ListVectorStoreFileBatchFilesParameters =\n ListVectorStoreFileBatchFilesQueryParam & RequestParameters;\nexport type GetWorkspaceParameters = RequestParameters;\n\nexport interface ListConnectionsQueryParamProperties {\n /** Category of the workspace connection. */\n category?: ConnectionType;\n /** Indicates whether to list datastores. Service default: do not list datastores. */\n includeAll?: boolean;\n /** Target of the workspace connection. */\n target?: string;\n}\n\nexport interface ListConnectionsQueryParam {\n queryParameters?: ListConnectionsQueryParamProperties;\n}\n\nexport type ListConnectionsParameters = ListConnectionsQueryParam &\n RequestParameters;\nexport type GetConnectionParameters = RequestParameters;\n\nexport interface GetConnectionWithSecretsBodyParam {\n body: { ignored: string };\n}\n\nexport type GetConnectionWithSecretsParameters =\n GetConnectionWithSecretsBodyParam & RequestParameters;\nexport type GetAppInsightsParameters = RequestParameters;\n\nexport interface GetHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface GetHeaderParam {\n headers?: RawHttpHeadersInput & GetHeaders;\n}\n\nexport type GetParameters = GetHeaderParam & RequestParameters;\n\nexport interface CreateBodyParam {\n /** Evaluation to run. */\n body: Evaluation;\n}\n\nexport type CreateParameters = CreateBodyParam & RequestParameters;\n\nexport interface ListHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface ListQueryParamProperties {\n /** The number of result items to return. */\n top?: number;\n /** The number of result items to skip. */\n skip?: number;\n /** The maximum number of result items per page. */\n maxpagesize?: number;\n}\n\nexport interface ListQueryParam {\n queryParameters?: ListQueryParamProperties;\n}\n\nexport interface ListHeaderParam {\n headers?: RawHttpHeadersInput & ListHeaders;\n}\n\nexport type ListParameters = ListQueryParam &\n ListHeaderParam &\n RequestParameters;\n\nexport interface UpdateHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The resource instance. */\nexport type EvaluationResourceMergeAndPatch = Partial<Evaluation>;\n\nexport interface UpdateBodyParam {\n /** The resource instance. */\n body: EvaluationResourceMergeAndPatch;\n}\n\nexport interface UpdateHeaderParam {\n headers?: RawHttpHeadersInput & UpdateHeaders;\n}\n\nexport interface UpdateMediaTypesParam {\n /** This request has a JSON Merge Patch body. */\n contentType: \"application/merge-patch+json\";\n}\n\nexport type UpdateParameters = UpdateHeaderParam &\n UpdateMediaTypesParam &\n UpdateBodyParam &\n RequestParameters;\n\nexport interface GetScheduleHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface GetScheduleHeaderParam {\n headers?: RawHttpHeadersInput & GetScheduleHeaders;\n}\n\nexport type GetScheduleParameters = GetScheduleHeaderParam & RequestParameters;\n\nexport interface CreateOrReplaceScheduleHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface CreateOrReplaceScheduleBodyParam {\n /** The resource instance. */\n body: EvaluationSchedule;\n}\n\nexport interface CreateOrReplaceScheduleHeaderParam {\n headers?: RawHttpHeadersInput & CreateOrReplaceScheduleHeaders;\n}\n\nexport type CreateOrReplaceScheduleParameters =\n CreateOrReplaceScheduleHeaderParam &\n CreateOrReplaceScheduleBodyParam &\n RequestParameters;\n\nexport interface ListScheduleHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface ListScheduleQueryParamProperties {\n /** The number of result items to return. */\n top?: number;\n /** The number of result items to skip. */\n skip?: number;\n /** The maximum number of result items per page. */\n maxpagesize?: number;\n}\n\nexport interface ListScheduleQueryParam {\n queryParameters?: ListScheduleQueryParamProperties;\n}\n\nexport interface ListScheduleHeaderParam {\n headers?: RawHttpHeadersInput & ListScheduleHeaders;\n}\n\nexport type ListScheduleParameters = ListScheduleQueryParam &\n ListScheduleHeaderParam &\n RequestParameters;\nexport type DisableScheduleParameters = RequestParameters;\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/src/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeadersInput } from \"@azure/core-rest-pipeline\";\nimport type { RequestParameters } from \"@azure-rest/core-client\";\nimport type {\n CreateAgentOptions,\n ListSortOrder,\n UpdateAgentOptions,\n AgentThreadCreationOptions,\n UpdateAgentThreadOptions,\n ThreadMessageOptions,\n RunAdditionalFieldList,\n CreateRunOptions,\n ToolOutput,\n CreateAndRunThreadOptions,\n FilePurpose,\n HttpPartFile,\n HttpPartFilePurpose,\n HttpPartString,\n VectorStoreOptions,\n VectorStoreUpdateOptions,\n VectorStoreFileStatusFilter,\n VectorStoreDataSource,\n VectorStoreChunkingStrategyRequest,\n ConnectionType,\n Evaluation,\n EvaluationSchedule,\n} from \"./models.js\";\n\nexport interface CreateAgentBodyParam {\n body: CreateAgentOptions;\n}\n\nexport type CreateAgentParameters = CreateAgentBodyParam & RequestParameters;\n\nexport interface ListAgentsQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListAgentsQueryParam {\n queryParameters?: ListAgentsQueryParamProperties;\n}\n\nexport type ListAgentsParameters = ListAgentsQueryParam & RequestParameters;\nexport type GetAgentParameters = RequestParameters;\n\nexport interface UpdateAgentBodyParam {\n body: UpdateAgentOptions;\n}\n\nexport type UpdateAgentParameters = UpdateAgentBodyParam & RequestParameters;\nexport type DeleteAgentParameters = RequestParameters;\n\nexport interface CreateThreadBodyParam {\n body: AgentThreadCreationOptions;\n}\n\nexport type CreateThreadParameters = CreateThreadBodyParam & RequestParameters;\nexport type GetThreadParameters = RequestParameters;\n\nexport interface UpdateThreadBodyParam {\n body: UpdateAgentThreadOptions;\n}\n\nexport type UpdateThreadParameters = UpdateThreadBodyParam & RequestParameters;\nexport type DeleteThreadParameters = RequestParameters;\n\nexport interface CreateMessageBodyParam {\n body: ThreadMessageOptions;\n}\n\nexport type CreateMessageParameters = CreateMessageBodyParam &\n RequestParameters;\n\nexport interface ListMessagesQueryParamProperties {\n /** Filter messages by the run ID that generated them. */\n runId?: string;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListMessagesQueryParam {\n queryParameters?: ListMessagesQueryParamProperties;\n}\n\nexport type ListMessagesParameters = ListMessagesQueryParam & RequestParameters;\nexport type GetMessageParameters = RequestParameters;\n\nexport interface UpdateMessageBodyParam {\n body: { metadata?: Record<string, string> | null };\n}\n\nexport type UpdateMessageParameters = UpdateMessageBodyParam &\n RequestParameters;\n\nexport interface CreateRunBodyParam {\n body: CreateRunOptions;\n}\n\n/** This is the wrapper object for the parameter `include[]` with explode set to false and style set to form. */\nexport interface CreateRunIncludeQueryParam {\n /** Value of the parameter */\n value: RunAdditionalFieldList[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\n}\n\nexport interface CreateRunQueryParamProperties {\n /**\n * A list of additional fields to include in the response.\n * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.\n */\n \"include[]\"?: RunAdditionalFieldList[] | CreateRunIncludeQueryParam;\n}\n\nexport interface CreateRunQueryParam {\n queryParameters?: CreateRunQueryParamProperties;\n}\n\nexport type CreateRunParameters = CreateRunQueryParam &\n CreateRunBodyParam &\n RequestParameters;\n\nexport interface ListRunsQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListRunsQueryParam {\n queryParameters?: ListRunsQueryParamProperties;\n}\n\nexport type ListRunsParameters = ListRunsQueryParam & RequestParameters;\nexport type GetRunParameters = RequestParameters;\n\nexport interface UpdateRunBodyParam {\n body: { metadata?: Record<string, string> | null };\n}\n\nexport type UpdateRunParameters = UpdateRunBodyParam & RequestParameters;\n\nexport interface SubmitToolOutputsToRunBodyParam {\n body: { tool_outputs: Array<ToolOutput>; stream?: boolean | null };\n}\n\nexport type SubmitToolOutputsToRunParameters = SubmitToolOutputsToRunBodyParam &\n RequestParameters;\nexport type CancelRunParameters = RequestParameters;\n\nexport interface CreateThreadAndRunBodyParam {\n body: CreateAndRunThreadOptions;\n}\n\nexport type CreateThreadAndRunParameters = CreateThreadAndRunBodyParam &\n RequestParameters;\n\n/** This is the wrapper object for the parameter `include[]` with explode set to false and style set to form. */\nexport interface GetRunStepIncludeQueryParam {\n /** Value of the parameter */\n value: RunAdditionalFieldList[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\n}\n\nexport interface GetRunStepQueryParamProperties {\n /**\n * A list of additional fields to include in the response.\n * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.\n */\n \"include[]\"?: RunAdditionalFieldList[] | GetRunStepIncludeQueryParam;\n}\n\nexport interface GetRunStepQueryParam {\n queryParameters?: GetRunStepQueryParamProperties;\n}\n\nexport type GetRunStepParameters = GetRunStepQueryParam & RequestParameters;\n\n/** This is the wrapper object for the parameter `include[]` with explode set to false and style set to form. */\nexport interface ListRunStepsIncludeQueryParam {\n /** Value of the parameter */\n value: RunAdditionalFieldList[];\n /** Should we explode the value? */\n explode: false;\n /** Style of the value */\n style: \"form\";\n}\n\nexport interface ListRunStepsQueryParamProperties {\n /**\n * A list of additional fields to include in the response.\n * Currently the only supported value is `step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result content.\n */\n \"include[]\"?: RunAdditionalFieldList[] | ListRunStepsIncludeQueryParam;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListRunStepsQueryParam {\n queryParameters?: ListRunStepsQueryParamProperties;\n}\n\nexport type ListRunStepsParameters = ListRunStepsQueryParam & RequestParameters;\n\nexport interface ListFilesQueryParamProperties {\n /**\n * The purpose of the file.\n *\n * Possible values: \"fine-tune\", \"fine-tune-results\", \"assistants\", \"assistants_output\", \"batch\", \"batch_output\", \"vision\"\n */\n purpose?: FilePurpose;\n}\n\nexport interface ListFilesQueryParam {\n queryParameters?: ListFilesQueryParamProperties;\n}\n\nexport type ListFilesParameters = ListFilesQueryParam & RequestParameters;\n\nexport interface UploadFileBodyParam {\n /** Multipart body */\n body:\n | FormData\n | Array<\n | {\n name: \"file\";\n body: HttpPartFile;\n filename?: string;\n contentType?: string;\n }\n | {\n name: \"purpose\";\n body: HttpPartFilePurpose;\n filename?: string;\n contentType?: string;\n }\n | { name: \"filename\"; body: HttpPartString }\n >;\n}\n\nexport interface UploadFileMediaTypesParam {\n /** The name of the file to upload. */\n contentType: \"multipart/form-data\";\n}\n\nexport type UploadFileParameters = UploadFileMediaTypesParam &\n UploadFileBodyParam &\n RequestParameters;\nexport type DeleteFileParameters = RequestParameters;\nexport type GetFileParameters = RequestParameters;\nexport type GetFileContentParameters = RequestParameters;\n\nexport interface ListVectorStoresQueryParamProperties {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListVectorStoresQueryParam {\n queryParameters?: ListVectorStoresQueryParamProperties;\n}\n\nexport type ListVectorStoresParameters = ListVectorStoresQueryParam &\n RequestParameters;\n\nexport interface CreateVectorStoreBodyParam {\n body: VectorStoreOptions;\n}\n\nexport type CreateVectorStoreParameters = CreateVectorStoreBodyParam &\n RequestParameters;\nexport type GetVectorStoreParameters = RequestParameters;\n\nexport interface ModifyVectorStoreBodyParam {\n body: VectorStoreUpdateOptions;\n}\n\nexport type ModifyVectorStoreParameters = ModifyVectorStoreBodyParam &\n RequestParameters;\nexport type DeleteVectorStoreParameters = RequestParameters;\n\nexport interface ListVectorStoreFilesQueryParamProperties {\n /**\n * Filter by file status.\n *\n * Possible values: \"in_progress\", \"completed\", \"failed\", \"cancelled\"\n */\n filter?: VectorStoreFileStatusFilter;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListVectorStoreFilesQueryParam {\n queryParameters?: ListVectorStoreFilesQueryParamProperties;\n}\n\nexport type ListVectorStoreFilesParameters = ListVectorStoreFilesQueryParam &\n RequestParameters;\n\nexport interface CreateVectorStoreFileBodyParam {\n body: {\n file_id?: string;\n data_source?: VectorStoreDataSource;\n chunking_strategy?: VectorStoreChunkingStrategyRequest;\n };\n}\n\nexport type CreateVectorStoreFileParameters = CreateVectorStoreFileBodyParam &\n RequestParameters;\nexport type GetVectorStoreFileParameters = RequestParameters;\nexport type DeleteVectorStoreFileParameters = RequestParameters;\n\nexport interface CreateVectorStoreFileBatchBodyParam {\n body: {\n file_ids?: string[];\n data_sources?: Array<VectorStoreDataSource>;\n chunking_strategy?: VectorStoreChunkingStrategyRequest;\n };\n}\n\nexport type CreateVectorStoreFileBatchParameters =\n CreateVectorStoreFileBatchBodyParam & RequestParameters;\nexport type GetVectorStoreFileBatchParameters = RequestParameters;\nexport type CancelVectorStoreFileBatchParameters = RequestParameters;\n\nexport interface ListVectorStoreFileBatchFilesQueryParamProperties {\n /**\n * Filter by file status.\n *\n * Possible values: \"in_progress\", \"completed\", \"failed\", \"cancelled\"\n */\n filter?: VectorStoreFileStatusFilter;\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /**\n * Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.\n *\n * Possible values: \"asc\", \"desc\"\n */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n\nexport interface ListVectorStoreFileBatchFilesQueryParam {\n queryParameters?: ListVectorStoreFileBatchFilesQueryParamProperties;\n}\n\nexport type ListVectorStoreFileBatchFilesParameters =\n ListVectorStoreFileBatchFilesQueryParam & RequestParameters;\nexport type GetWorkspaceParameters = RequestParameters;\n\nexport interface ListConnectionsQueryParamProperties {\n /**\n * Category of the workspace connection.\n *\n * Possible values: \"AzureOpenAI\", \"Serverless\", \"AzureBlob\", \"AIServices\", \"CognitiveSearch\", \"ApiKey\", \"CustomKeys\", \"CognitiveService\"\n */\n category?: ConnectionType;\n /** Indicates whether to list datastores. Service default: do not list datastores. */\n includeAll?: boolean;\n /** Target of the workspace connection. */\n target?: string;\n}\n\nexport interface ListConnectionsQueryParam {\n queryParameters?: ListConnectionsQueryParamProperties;\n}\n\nexport type ListConnectionsParameters = ListConnectionsQueryParam &\n RequestParameters;\nexport type GetConnectionParameters = RequestParameters;\n\nexport interface GetConnectionWithSecretsBodyParam {\n body: { ignored: string };\n}\n\nexport type GetConnectionWithSecretsParameters =\n GetConnectionWithSecretsBodyParam & RequestParameters;\nexport type GetAppInsightsParameters = RequestParameters;\n\nexport interface GetHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface GetHeaderParam {\n headers?: RawHttpHeadersInput & GetHeaders;\n}\n\nexport type GetParameters = GetHeaderParam & RequestParameters;\n\nexport interface CreateBodyParam {\n /** Evaluation to run. */\n body: Evaluation;\n}\n\nexport type CreateParameters = CreateBodyParam & RequestParameters;\n\nexport interface ListHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface ListQueryParamProperties {\n /** The number of result items to return. */\n top?: number;\n /** The number of result items to skip. */\n skip?: number;\n /** The maximum number of result items per page. */\n maxpagesize?: number;\n}\n\nexport interface ListQueryParam {\n queryParameters?: ListQueryParamProperties;\n}\n\nexport interface ListHeaderParam {\n headers?: RawHttpHeadersInput & ListHeaders;\n}\n\nexport type ListParameters = ListQueryParam &\n ListHeaderParam &\n RequestParameters;\n\nexport interface UpdateHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The resource instance. */\nexport type EvaluationResourceMergeAndPatch = Partial<Evaluation>;\n\nexport interface UpdateBodyParam {\n /** The resource instance. */\n body: EvaluationResourceMergeAndPatch;\n}\n\nexport interface UpdateHeaderParam {\n headers?: RawHttpHeadersInput & UpdateHeaders;\n}\n\nexport interface UpdateMediaTypesParam {\n /** This request has a JSON Merge Patch body. */\n contentType: \"application/merge-patch+json\";\n}\n\nexport type UpdateParameters = UpdateHeaderParam &\n UpdateMediaTypesParam &\n UpdateBodyParam &\n RequestParameters;\n\nexport interface GetScheduleHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface GetScheduleHeaderParam {\n headers?: RawHttpHeadersInput & GetScheduleHeaders;\n}\n\nexport type GetScheduleParameters = GetScheduleHeaderParam & RequestParameters;\n\nexport interface CreateOrReplaceScheduleHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface CreateOrReplaceScheduleBodyParam {\n /** The resource instance. */\n body: EvaluationSchedule;\n}\n\nexport interface CreateOrReplaceScheduleHeaderParam {\n headers?: RawHttpHeadersInput & CreateOrReplaceScheduleHeaders;\n}\n\nexport type CreateOrReplaceScheduleParameters =\n CreateOrReplaceScheduleHeaderParam &\n CreateOrReplaceScheduleBodyParam &\n RequestParameters;\n\nexport interface ListScheduleHeaders {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\nexport interface ListScheduleQueryParamProperties {\n /** The number of result items to return. */\n top?: number;\n /** The number of result items to skip. */\n skip?: number;\n /** The maximum number of result items per page. */\n maxpagesize?: number;\n}\n\nexport interface ListScheduleQueryParam {\n queryParameters?: ListScheduleQueryParamProperties;\n}\n\nexport interface ListScheduleHeaderParam {\n headers?: RawHttpHeadersInput & ListScheduleHeaders;\n}\n\nexport type ListScheduleParameters = ListScheduleQueryParam &\n ListScheduleHeaderParam &\n RequestParameters;\nexport type DisableScheduleParameters = RequestParameters;\n"]}
@@ -1,6 +1,6 @@
1
- import { ClientOptions } from "@azure-rest/core-client";
2
- import { TokenCredential } from "@azure/core-auth";
3
- import { ProjectsClient } from "./clientDefinitions.js";
1
+ import type { ClientOptions } from "@azure-rest/core-client";
2
+ import type { TokenCredential } from "@azure/core-auth";
3
+ import type { ProjectsClient } from "./clientDefinitions.js";
4
4
  /** The optional parameters for the client */
5
5
  export interface ProjectsClientOptions extends ClientOptions {
6
6
  /** The api version option of the client */
@@ -8,10 +8,10 @@ export interface ProjectsClientOptions extends ClientOptions {
8
8
  }
9
9
  /**
10
10
  * Initialize a new instance of `ProjectsClient`
11
- * @param endpointParam - The Azure AI Studio project endpoint, in the form `https://<azure-region>.api.azureml.ms` or `https://<private-link-guid>.<azure-region>.api.azureml.ms`, where <azure-region> is the Azure region where the project is deployed (e.g. westus) and <private-link-guid> is the GUID of the Enterprise private link.
11
+ * @param endpointParam - The Azure AI Foundry project endpoint, in the form `https://<azure-region>.api.azureml.ms` or `https://<private-link-guid>.<azure-region>.api.azureml.ms`, where <azure-region> is the Azure region where the project is deployed (e.g. westus) and <private-link-guid> is the GUID of the Enterprise private link.
12
12
  * @param subscriptionId - The Azure subscription ID.
13
13
  * @param resourceGroupName - The name of the Azure Resource Group.
14
- * @param projectName - The Azure AI Studio project name.
14
+ * @param projectName - The Azure AI Foundry project name.
15
15
  * @param credentials - uniquely identify client credential
16
16
  * @param options - the parameter for all optional parameters
17
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"projectsClient.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/projectsClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAa,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,6CAA6C;AAC7C,MAAM,WAAW,qBAAsB,SAAQ,aAAa;IAC1D,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,eAAe,EAC5B,EAAE,UAAiC,EAAE,GAAG,OAAO,EAAE,GAAE,qBAA0B,GAC5E,cAAc,CA4ChB"}
1
+ {"version":3,"file":"projectsClient.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/projectsClient.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,6CAA6C;AAC7C,MAAM,WAAW,qBAAsB,SAAQ,aAAa;IAC1D,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,eAAe,EAC5B,EAAE,UAAiC,EAAE,GAAG,OAAO,EAAE,GAAE,qBAA0B,GAC5E,cAAc,CA4ChB"}
@@ -5,10 +5,10 @@ import { getClient } from "@azure-rest/core-client";
5
5
  import { logger } from "./logger.js";
6
6
  /**
7
7
  * Initialize a new instance of `ProjectsClient`
8
- * @param endpointParam - The Azure AI Studio project endpoint, in the form `https://<azure-region>.api.azureml.ms` or `https://<private-link-guid>.<azure-region>.api.azureml.ms`, where <azure-region> is the Azure region where the project is deployed (e.g. westus) and <private-link-guid> is the GUID of the Enterprise private link.
8
+ * @param endpointParam - The Azure AI Foundry project endpoint, in the form `https://<azure-region>.api.azureml.ms` or `https://<private-link-guid>.<azure-region>.api.azureml.ms`, where <azure-region> is the Azure region where the project is deployed (e.g. westus) and <private-link-guid> is the GUID of the Enterprise private link.
9
9
  * @param subscriptionId - The Azure subscription ID.
10
10
  * @param resourceGroupName - The name of the Azure Resource Group.
11
- * @param projectName - The Azure AI Studio project name.
11
+ * @param projectName - The Azure AI Foundry project name.
12
12
  * @param credentials - uniquely identify client credential
13
13
  * @param options - the parameter for all optional parameters
14
14
  */
@@ -16,7 +16,7 @@ export default function createClient(endpointParam, subscriptionId, resourceGrou
16
16
  var _b, _c, _d, _e, _f, _g;
17
17
  var { apiVersion = "2024-07-01-preview" } = _a, options = __rest(_a, ["apiVersion"]);
18
18
  const endpointUrl = (_c = (_b = options.endpoint) !== null && _b !== void 0 ? _b : options.baseUrl) !== null && _c !== void 0 ? _c : `${endpointParam}/agents/v1.0/subscriptions/${subscriptionId}/resourceGroups/${resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/${projectName}`;
19
- const userAgentInfo = `azsdk-js-ai-projects-rest/1.0.0-beta.2`;
19
+ const userAgentInfo = `azsdk-js-ai-projects-rest/1.0.0-beta.4`;
20
20
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
21
21
  ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`
22
22
  : `${userAgentInfo}`;
@@ -1 +1 @@
1
- {"version":3,"file":"projectsClient.js","sourceRoot":"","sources":["../../../../src/generated/src/projectsClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,OAAO,EAAE,SAAS,EAAiB,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAUrC;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,aAAqB,EACrB,cAAsB,EACtB,iBAAyB,EACzB,WAAmB,EACnB,WAA4B,EAC5B,KAA2E,EAAE;;QAA7E,EAAE,UAAU,GAAG,oBAAoB,OAA0C,EAArC,OAAO,cAA/C,cAAiD,CAAF;IAE/C,MAAM,WAAW,GACf,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAChB,OAAO,CAAC,OAAO,mCACf,GAAG,aAAa,8BAA8B,cAAc,mBAAmB,iBAAiB,2DAA2D,WAAW,EAAE,CAAC;IAC3K,MAAM,aAAa,GAAG,wCAAwC,CAAC;IAC/D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;QAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,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License.\n\nimport { getClient, ClientOptions } from \"@azure-rest/core-client\";\nimport { logger } from \"./logger.js\";\nimport { TokenCredential } from \"@azure/core-auth\";\nimport { ProjectsClient } from \"./clientDefinitions.js\";\n\n/** The optional parameters for the client */\nexport interface ProjectsClientOptions extends ClientOptions {\n /** The api version option of the client */\n apiVersion?: string;\n}\n\n/**\n * Initialize a new instance of `ProjectsClient`\n * @param endpointParam - The Azure AI Studio project endpoint, in the form `https://<azure-region>.api.azureml.ms` or `https://<private-link-guid>.<azure-region>.api.azureml.ms`, where <azure-region> is the Azure region where the project is deployed (e.g. westus) and <private-link-guid> is the GUID of the Enterprise private link.\n * @param subscriptionId - The Azure subscription ID.\n * @param resourceGroupName - The name of the Azure Resource Group.\n * @param projectName - The Azure AI Studio project name.\n * @param credentials - uniquely identify client credential\n * @param options - the parameter for all optional parameters\n */\nexport default function createClient(\n endpointParam: string,\n subscriptionId: string,\n resourceGroupName: string,\n projectName: string,\n credentials: TokenCredential,\n { apiVersion = \"2024-07-01-preview\", ...options }: ProjectsClientOptions = {},\n): ProjectsClient {\n const endpointUrl =\n options.endpoint ??\n options.baseUrl ??\n `${endpointParam}/agents/v1.0/subscriptions/${subscriptionId}/resourceGroups/${resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/${projectName}`;\n const userAgentInfo = `azsdk-js-ai-projects-rest/1.0.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`\n : `${userAgentInfo}`;\n options = {\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n loggingOptions: {\n logger: options.loggingOptions?.logger ?? logger.info,\n },\n credentials: {\n scopes: options.credentials?.scopes ?? [\n \"https://management.azure.com/.default\",\n ],\n },\n };\n const client = getClient(endpointUrl, credentials, options) as ProjectsClient;\n\n client.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n client.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\") && apiVersion) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n\n return client;\n}\n"]}
1
+ {"version":3,"file":"projectsClient.js","sourceRoot":"","sources":["../../../../src/generated/src/projectsClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAGlC,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAUrC;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,aAAqB,EACrB,cAAsB,EACtB,iBAAyB,EACzB,WAAmB,EACnB,WAA4B,EAC5B,KAA2E,EAAE;;QAA7E,EAAE,UAAU,GAAG,oBAAoB,OAA0C,EAArC,OAAO,cAA/C,cAAiD,CAAF;IAE/C,MAAM,WAAW,GACf,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAChB,OAAO,CAAC,OAAO,mCACf,GAAG,aAAa,8BAA8B,cAAc,mBAAmB,iBAAiB,2DAA2D,WAAW,EAAE,CAAC;IAC3K,MAAM,aAAa,GAAG,wCAAwC,CAAC;IAC/D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;QAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,aAAa,EAAE;QAChE,CAAC,CAAC,GAAG,aAAa,EAAE,CAAC;IACzB,OAAO,mCACF,OAAO,KACV,gBAAgB,EAAE;YAChB,eAAe;SAChB,EACD,cAAc,EAAE;YACd,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,cAAc,0CAAE,MAAM,mCAAI,MAAM,CAAC,IAAI;SACtD,EACD,WAAW,EAAE;YACX,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,WAAW,0CAAE,MAAM,mCAAI;gBACrC,uCAAuC;aACxC;SACF,GACF,CAAC;IACF,MAAM,MAAM,GAAG,SAAS,CAAC,WAAW,EAAE,WAAW,EAAE,OAAO,CAAmB,CAAC;IAE9E,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC3D,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC;QACxB,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;YACzB,qDAAqD;YACrD,yEAAyE;YACzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC7B,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,UAAU,EAAE,CAAC;gBACvD,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,GAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport { logger } from \"./logger.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { ProjectsClient } from \"./clientDefinitions.js\";\n\n/** The optional parameters for the client */\nexport interface ProjectsClientOptions extends ClientOptions {\n /** The api version option of the client */\n apiVersion?: string;\n}\n\n/**\n * Initialize a new instance of `ProjectsClient`\n * @param endpointParam - The Azure AI Foundry project endpoint, in the form `https://<azure-region>.api.azureml.ms` or `https://<private-link-guid>.<azure-region>.api.azureml.ms`, where <azure-region> is the Azure region where the project is deployed (e.g. westus) and <private-link-guid> is the GUID of the Enterprise private link.\n * @param subscriptionId - The Azure subscription ID.\n * @param resourceGroupName - The name of the Azure Resource Group.\n * @param projectName - The Azure AI Foundry project name.\n * @param credentials - uniquely identify client credential\n * @param options - the parameter for all optional parameters\n */\nexport default function createClient(\n endpointParam: string,\n subscriptionId: string,\n resourceGroupName: string,\n projectName: string,\n credentials: TokenCredential,\n { apiVersion = \"2024-07-01-preview\", ...options }: ProjectsClientOptions = {},\n): ProjectsClient {\n const endpointUrl =\n options.endpoint ??\n options.baseUrl ??\n `${endpointParam}/agents/v1.0/subscriptions/${subscriptionId}/resourceGroups/${resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/${projectName}`;\n const userAgentInfo = `azsdk-js-ai-projects-rest/1.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`\n : `${userAgentInfo}`;\n options = {\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n loggingOptions: {\n logger: options.loggingOptions?.logger ?? logger.info,\n },\n credentials: {\n scopes: options.credentials?.scopes ?? [\n \"https://management.azure.com/.default\",\n ],\n },\n };\n const client = getClient(endpointUrl, credentials, options) as ProjectsClient;\n\n client.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n client.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\") && apiVersion) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n\n return client;\n}\n"]}
@@ -1,6 +1,6 @@
1
- import { RawHttpHeaders } from "@azure/core-rest-pipeline";
2
- import { HttpResponse, ErrorResponse } from "@azure-rest/core-client";
3
- import { AgentOutput, OpenAIPageableListOfAgentOutput, OpenAIPageableListOfVectorStoreOutput, AgentDeletionStatusOutput, AgentThreadOutput, ThreadDeletionStatusOutput, ThreadMessageOutput, ThreadRunOutput, RunStepOutput, FileListResponseOutput, OpenAIFileOutput, FileDeletionStatusOutput, VectorStoreOutput, VectorStoreDeletionStatusOutput, VectorStoreFileOutput, VectorStoreFileDeletionStatusOutput, VectorStoreFileBatchOutput, GetWorkspaceResponseOutput, ListConnectionsResponseOutput, GetConnectionResponseOutput, GetAppInsightsResponseOutput, EvaluationOutput, PagedEvaluationOutput, EvaluationScheduleOutput, PagedEvaluationScheduleOutput, OpenAIPageableListOfVectorStoreFileOutput, OpenAIPageableListOfRunStepOutput, OpenAIPageableListOfThreadRunOutput, OpenAIPageableListOfThreadMessageOutput } from "./outputModels.js";
1
+ import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
2
+ import type { HttpResponse, ErrorResponse } from "@azure-rest/core-client";
3
+ import type { AgentOutput, OpenAIPageableListOfAgentOutput, AgentDeletionStatusOutput, AgentThreadOutput, ThreadDeletionStatusOutput, ThreadMessageOutput, OpenAIPageableListOfThreadMessageOutput, ThreadRunOutput, OpenAIPageableListOfThreadRunOutput, RunStepOutput, OpenAIPageableListOfRunStepOutput, FileListResponseOutput, OpenAIFileOutput, FileDeletionStatusOutput, OpenAIPageableListOfVectorStoreOutput, VectorStoreOutput, VectorStoreDeletionStatusOutput, OpenAIPageableListOfVectorStoreFileOutput, VectorStoreFileOutput, VectorStoreFileDeletionStatusOutput, VectorStoreFileBatchOutput, GetWorkspaceResponseOutput, ListConnectionsResponseOutput, GetConnectionResponseOutput, GetAppInsightsResponseOutput, EvaluationOutput, PagedEvaluationOutput, EvaluationScheduleOutput, PagedEvaluationScheduleOutput } from "./outputModels.js";
4
4
  /** The new agent instance. */
5
5
  export interface CreateAgent200Response extends HttpResponse {
6
6
  status: "200";
@@ -368,7 +368,8 @@ export interface GetFileDefaultResponse extends HttpResponse {
368
368
  /** The request has succeeded. */
369
369
  export interface GetFileContent200Response extends HttpResponse {
370
370
  status: "200";
371
- body: string;
371
+ /** Value may contain any sequence of octets */
372
+ body: Uint8Array;
372
373
  }
373
374
  export interface GetFileContentDefaultHeaders {
374
375
  /** String error code indicating what went wrong. */