@azure/ai-agents 1.1.0-beta.3 → 1.2.0-alpha.20250923.1

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 (259) hide show
  1. package/README.md +0 -76
  2. package/dist/browser/api/agentsContext.js +2 -2
  3. package/dist/browser/api/agentsContext.js.map +1 -1
  4. package/dist/browser/api/messages/index.d.ts +2 -2
  5. package/dist/browser/api/messages/index.d.ts.map +1 -1
  6. package/dist/browser/api/messages/index.js +1 -1
  7. package/dist/browser/api/messages/index.js.map +1 -1
  8. package/dist/browser/api/messages/operations.d.ts +6 -2
  9. package/dist/browser/api/messages/operations.d.ts.map +1 -1
  10. package/dist/browser/api/messages/operations.js +31 -1
  11. package/dist/browser/api/messages/operations.js.map +1 -1
  12. package/dist/browser/api/messages/options.d.ts +3 -0
  13. package/dist/browser/api/messages/options.d.ts.map +1 -1
  14. package/dist/browser/api/messages/options.js.map +1 -1
  15. package/dist/browser/api/operations.d.ts +1 -2
  16. package/dist/browser/api/operations.d.ts.map +1 -1
  17. package/dist/browser/api/operations.js +2 -2
  18. package/dist/browser/api/operations.js.map +1 -1
  19. package/dist/browser/api/runSteps/operations.js +3 -3
  20. package/dist/browser/api/runSteps/operations.js.map +1 -1
  21. package/dist/browser/api/runs/operations.d.ts +3 -3
  22. package/dist/browser/api/runs/operations.d.ts.map +1 -1
  23. package/dist/browser/api/runs/operations.js +12 -10
  24. package/dist/browser/api/runs/operations.js.map +1 -1
  25. package/dist/browser/api/vectorStoreFiles/operations.js +4 -4
  26. package/dist/browser/api/vectorStoreFiles/operations.js.map +1 -1
  27. package/dist/browser/api/vectorStores/operations.js +4 -4
  28. package/dist/browser/api/vectorStores/operations.js.map +1 -1
  29. package/dist/browser/classic/messages/index.d.ts +4 -2
  30. package/dist/browser/classic/messages/index.d.ts.map +1 -1
  31. package/dist/browser/classic/messages/index.js +2 -1
  32. package/dist/browser/classic/messages/index.js.map +1 -1
  33. package/dist/browser/classic/runs/index.d.ts.map +1 -1
  34. package/dist/browser/classic/runs/index.js +4 -1
  35. package/dist/browser/classic/runs/index.js.map +1 -1
  36. package/dist/browser/constants.d.ts +1 -1
  37. package/dist/browser/constants.js +1 -1
  38. package/dist/browser/constants.js.map +1 -1
  39. package/dist/browser/index.d.ts +3 -2
  40. package/dist/browser/index.d.ts.map +1 -1
  41. package/dist/browser/index.js +1 -0
  42. package/dist/browser/index.js.map +1 -1
  43. package/dist/browser/models/index.d.ts +1 -1
  44. package/dist/browser/models/index.d.ts.map +1 -1
  45. package/dist/browser/models/index.js.map +1 -1
  46. package/dist/browser/models/models.d.ts +309 -31
  47. package/dist/browser/models/models.d.ts.map +1 -1
  48. package/dist/browser/models/models.js +341 -14
  49. package/dist/browser/models/models.js.map +1 -1
  50. package/dist/browser/models/streamingModels.d.ts +18 -18
  51. package/dist/browser/models/streamingModels.d.ts.map +1 -1
  52. package/dist/browser/models/streamingModels.js.map +1 -1
  53. package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
  54. package/dist/browser/utils/MCPTool.d.ts +12 -1
  55. package/dist/browser/utils/MCPTool.d.ts.map +1 -1
  56. package/dist/browser/utils/MCPTool.js +29 -2
  57. package/dist/browser/utils/MCPTool.js.map +1 -1
  58. package/dist/browser/utils/OpenApiTool.d.ts +46 -0
  59. package/dist/browser/utils/OpenApiTool.d.ts.map +1 -0
  60. package/dist/browser/utils/OpenApiTool.js +84 -0
  61. package/dist/browser/utils/OpenApiTool.js.map +1 -0
  62. package/dist/browser/utils/utils.d.ts +14 -50
  63. package/dist/browser/utils/utils.d.ts.map +1 -1
  64. package/dist/browser/utils/utils.js +13 -91
  65. package/dist/browser/utils/utils.js.map +1 -1
  66. package/dist/commonjs/api/agentsContext.js +2 -2
  67. package/dist/commonjs/api/agentsContext.js.map +1 -1
  68. package/dist/commonjs/api/messages/index.d.ts +2 -2
  69. package/dist/commonjs/api/messages/index.d.ts.map +1 -1
  70. package/dist/commonjs/api/messages/index.js +2 -1
  71. package/dist/commonjs/api/messages/index.js.map +1 -1
  72. package/dist/commonjs/api/messages/operations.d.ts +6 -2
  73. package/dist/commonjs/api/messages/operations.d.ts.map +1 -1
  74. package/dist/commonjs/api/messages/operations.js +33 -0
  75. package/dist/commonjs/api/messages/operations.js.map +1 -1
  76. package/dist/commonjs/api/messages/options.d.ts +3 -0
  77. package/dist/commonjs/api/messages/options.d.ts.map +1 -1
  78. package/dist/commonjs/api/messages/options.js.map +1 -1
  79. package/dist/commonjs/api/operations.d.ts +1 -2
  80. package/dist/commonjs/api/operations.d.ts.map +1 -1
  81. package/dist/commonjs/api/operations.js +2 -2
  82. package/dist/commonjs/api/operations.js.map +1 -1
  83. package/dist/commonjs/api/runSteps/operations.js +3 -3
  84. package/dist/commonjs/api/runSteps/operations.js.map +1 -1
  85. package/dist/commonjs/api/runs/operations.d.ts +3 -3
  86. package/dist/commonjs/api/runs/operations.d.ts.map +1 -1
  87. package/dist/commonjs/api/runs/operations.js +12 -10
  88. package/dist/commonjs/api/runs/operations.js.map +1 -1
  89. package/dist/commonjs/api/vectorStoreFiles/operations.js +4 -4
  90. package/dist/commonjs/api/vectorStoreFiles/operations.js.map +1 -1
  91. package/dist/commonjs/api/vectorStores/operations.js +4 -4
  92. package/dist/commonjs/api/vectorStores/operations.js.map +1 -1
  93. package/dist/commonjs/classic/messages/index.d.ts +4 -2
  94. package/dist/commonjs/classic/messages/index.d.ts.map +1 -1
  95. package/dist/commonjs/classic/messages/index.js +1 -0
  96. package/dist/commonjs/classic/messages/index.js.map +1 -1
  97. package/dist/commonjs/classic/runs/index.d.ts.map +1 -1
  98. package/dist/commonjs/classic/runs/index.js +4 -1
  99. package/dist/commonjs/classic/runs/index.js.map +1 -1
  100. package/dist/commonjs/constants.d.ts +1 -1
  101. package/dist/commonjs/constants.js +1 -1
  102. package/dist/commonjs/constants.js.map +1 -1
  103. package/dist/commonjs/index.d.ts +3 -2
  104. package/dist/commonjs/index.d.ts.map +1 -1
  105. package/dist/commonjs/index.js +3 -1
  106. package/dist/commonjs/index.js.map +1 -1
  107. package/dist/commonjs/models/index.d.ts +1 -1
  108. package/dist/commonjs/models/index.d.ts.map +1 -1
  109. package/dist/commonjs/models/index.js.map +1 -1
  110. package/dist/commonjs/models/models.d.ts +309 -31
  111. package/dist/commonjs/models/models.d.ts.map +1 -1
  112. package/dist/commonjs/models/models.js +385 -15
  113. package/dist/commonjs/models/models.js.map +1 -1
  114. package/dist/commonjs/models/streamingModels.d.ts +18 -18
  115. package/dist/commonjs/models/streamingModels.d.ts.map +1 -1
  116. package/dist/commonjs/models/streamingModels.js.map +1 -1
  117. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
  118. package/dist/commonjs/tsdoc-metadata.json +1 -1
  119. package/dist/commonjs/utils/MCPTool.d.ts +12 -1
  120. package/dist/commonjs/utils/MCPTool.d.ts.map +1 -1
  121. package/dist/commonjs/utils/MCPTool.js +29 -2
  122. package/dist/commonjs/utils/MCPTool.js.map +1 -1
  123. package/dist/commonjs/utils/OpenApiTool.d.ts +46 -0
  124. package/dist/commonjs/utils/OpenApiTool.d.ts.map +1 -0
  125. package/dist/commonjs/utils/OpenApiTool.js +88 -0
  126. package/dist/commonjs/utils/OpenApiTool.js.map +1 -0
  127. package/dist/commonjs/utils/utils.d.ts +14 -50
  128. package/dist/commonjs/utils/utils.d.ts.map +1 -1
  129. package/dist/commonjs/utils/utils.js +13 -91
  130. package/dist/commonjs/utils/utils.js.map +1 -1
  131. package/dist/esm/api/agentsContext.js +2 -2
  132. package/dist/esm/api/agentsContext.js.map +1 -1
  133. package/dist/esm/api/messages/index.d.ts +2 -2
  134. package/dist/esm/api/messages/index.d.ts.map +1 -1
  135. package/dist/esm/api/messages/index.js +1 -1
  136. package/dist/esm/api/messages/index.js.map +1 -1
  137. package/dist/esm/api/messages/operations.d.ts +6 -2
  138. package/dist/esm/api/messages/operations.d.ts.map +1 -1
  139. package/dist/esm/api/messages/operations.js +31 -1
  140. package/dist/esm/api/messages/operations.js.map +1 -1
  141. package/dist/esm/api/messages/options.d.ts +3 -0
  142. package/dist/esm/api/messages/options.d.ts.map +1 -1
  143. package/dist/esm/api/messages/options.js.map +1 -1
  144. package/dist/esm/api/operations.d.ts +1 -2
  145. package/dist/esm/api/operations.d.ts.map +1 -1
  146. package/dist/esm/api/operations.js +2 -2
  147. package/dist/esm/api/operations.js.map +1 -1
  148. package/dist/esm/api/runSteps/operations.js +3 -3
  149. package/dist/esm/api/runSteps/operations.js.map +1 -1
  150. package/dist/esm/api/runs/operations.d.ts +3 -3
  151. package/dist/esm/api/runs/operations.d.ts.map +1 -1
  152. package/dist/esm/api/runs/operations.js +12 -10
  153. package/dist/esm/api/runs/operations.js.map +1 -1
  154. package/dist/esm/api/vectorStoreFiles/operations.js +4 -4
  155. package/dist/esm/api/vectorStoreFiles/operations.js.map +1 -1
  156. package/dist/esm/api/vectorStores/operations.js +4 -4
  157. package/dist/esm/api/vectorStores/operations.js.map +1 -1
  158. package/dist/esm/classic/messages/index.d.ts +4 -2
  159. package/dist/esm/classic/messages/index.d.ts.map +1 -1
  160. package/dist/esm/classic/messages/index.js +2 -1
  161. package/dist/esm/classic/messages/index.js.map +1 -1
  162. package/dist/esm/classic/runs/index.d.ts.map +1 -1
  163. package/dist/esm/classic/runs/index.js +4 -1
  164. package/dist/esm/classic/runs/index.js.map +1 -1
  165. package/dist/esm/constants.d.ts +1 -1
  166. package/dist/esm/constants.js +1 -1
  167. package/dist/esm/constants.js.map +1 -1
  168. package/dist/esm/index.d.ts +3 -2
  169. package/dist/esm/index.d.ts.map +1 -1
  170. package/dist/esm/index.js +1 -0
  171. package/dist/esm/index.js.map +1 -1
  172. package/dist/esm/models/index.d.ts +1 -1
  173. package/dist/esm/models/index.d.ts.map +1 -1
  174. package/dist/esm/models/index.js.map +1 -1
  175. package/dist/esm/models/models.d.ts +309 -31
  176. package/dist/esm/models/models.d.ts.map +1 -1
  177. package/dist/esm/models/models.js +341 -14
  178. package/dist/esm/models/models.js.map +1 -1
  179. package/dist/esm/models/streamingModels.d.ts +18 -18
  180. package/dist/esm/models/streamingModels.d.ts.map +1 -1
  181. package/dist/esm/models/streamingModels.js.map +1 -1
  182. package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
  183. package/dist/esm/utils/MCPTool.d.ts +12 -1
  184. package/dist/esm/utils/MCPTool.d.ts.map +1 -1
  185. package/dist/esm/utils/MCPTool.js +29 -2
  186. package/dist/esm/utils/MCPTool.js.map +1 -1
  187. package/dist/esm/utils/OpenApiTool.d.ts +46 -0
  188. package/dist/esm/utils/OpenApiTool.d.ts.map +1 -0
  189. package/dist/esm/utils/OpenApiTool.js +84 -0
  190. package/dist/esm/utils/OpenApiTool.js.map +1 -0
  191. package/dist/esm/utils/utils.d.ts +14 -50
  192. package/dist/esm/utils/utils.d.ts.map +1 -1
  193. package/dist/esm/utils/utils.js +13 -91
  194. package/dist/esm/utils/utils.js.map +1 -1
  195. package/dist/react-native/api/agentsContext.js +2 -2
  196. package/dist/react-native/api/agentsContext.js.map +1 -1
  197. package/dist/react-native/api/messages/index.d.ts +2 -2
  198. package/dist/react-native/api/messages/index.d.ts.map +1 -1
  199. package/dist/react-native/api/messages/index.js +1 -1
  200. package/dist/react-native/api/messages/index.js.map +1 -1
  201. package/dist/react-native/api/messages/operations.d.ts +6 -2
  202. package/dist/react-native/api/messages/operations.d.ts.map +1 -1
  203. package/dist/react-native/api/messages/operations.js +31 -1
  204. package/dist/react-native/api/messages/operations.js.map +1 -1
  205. package/dist/react-native/api/messages/options.d.ts +3 -0
  206. package/dist/react-native/api/messages/options.d.ts.map +1 -1
  207. package/dist/react-native/api/messages/options.js.map +1 -1
  208. package/dist/react-native/api/operations.d.ts +1 -2
  209. package/dist/react-native/api/operations.d.ts.map +1 -1
  210. package/dist/react-native/api/operations.js +2 -2
  211. package/dist/react-native/api/operations.js.map +1 -1
  212. package/dist/react-native/api/runSteps/operations.js +3 -3
  213. package/dist/react-native/api/runSteps/operations.js.map +1 -1
  214. package/dist/react-native/api/runs/operations.d.ts +3 -3
  215. package/dist/react-native/api/runs/operations.d.ts.map +1 -1
  216. package/dist/react-native/api/runs/operations.js +12 -10
  217. package/dist/react-native/api/runs/operations.js.map +1 -1
  218. package/dist/react-native/api/vectorStoreFiles/operations.js +4 -4
  219. package/dist/react-native/api/vectorStoreFiles/operations.js.map +1 -1
  220. package/dist/react-native/api/vectorStores/operations.js +4 -4
  221. package/dist/react-native/api/vectorStores/operations.js.map +1 -1
  222. package/dist/react-native/classic/messages/index.d.ts +4 -2
  223. package/dist/react-native/classic/messages/index.d.ts.map +1 -1
  224. package/dist/react-native/classic/messages/index.js +2 -1
  225. package/dist/react-native/classic/messages/index.js.map +1 -1
  226. package/dist/react-native/classic/runs/index.d.ts.map +1 -1
  227. package/dist/react-native/classic/runs/index.js +4 -1
  228. package/dist/react-native/classic/runs/index.js.map +1 -1
  229. package/dist/react-native/constants.d.ts +1 -1
  230. package/dist/react-native/constants.js +1 -1
  231. package/dist/react-native/constants.js.map +1 -1
  232. package/dist/react-native/index.d.ts +3 -2
  233. package/dist/react-native/index.d.ts.map +1 -1
  234. package/dist/react-native/index.js +1 -0
  235. package/dist/react-native/index.js.map +1 -1
  236. package/dist/react-native/models/index.d.ts +1 -1
  237. package/dist/react-native/models/index.d.ts.map +1 -1
  238. package/dist/react-native/models/index.js.map +1 -1
  239. package/dist/react-native/models/models.d.ts +309 -31
  240. package/dist/react-native/models/models.d.ts.map +1 -1
  241. package/dist/react-native/models/models.js +341 -14
  242. package/dist/react-native/models/models.js.map +1 -1
  243. package/dist/react-native/models/streamingModels.d.ts +18 -18
  244. package/dist/react-native/models/streamingModels.d.ts.map +1 -1
  245. package/dist/react-native/models/streamingModels.js.map +1 -1
  246. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
  247. package/dist/react-native/utils/MCPTool.d.ts +12 -1
  248. package/dist/react-native/utils/MCPTool.d.ts.map +1 -1
  249. package/dist/react-native/utils/MCPTool.js +29 -2
  250. package/dist/react-native/utils/MCPTool.js.map +1 -1
  251. package/dist/react-native/utils/OpenApiTool.d.ts +46 -0
  252. package/dist/react-native/utils/OpenApiTool.d.ts.map +1 -0
  253. package/dist/react-native/utils/OpenApiTool.js +84 -0
  254. package/dist/react-native/utils/OpenApiTool.js.map +1 -0
  255. package/dist/react-native/utils/utils.d.ts +14 -50
  256. package/dist/react-native/utils/utils.d.ts.map +1 -1
  257. package/dist/react-native/utils/utils.js +13 -91
  258. package/dist/react-native/utils/utils.js.map +1 -1
  259. package/package.json +36 -37
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/vectorStores/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,kCAAkC,EAClC,wBAAwB,EAExB,yCAAyC,EAEzC,uBAAuB,EACvB,qCAAqC,EACrC,iDAAiD,EAEjD,qCAAqC,GACtC,MAAM,wBAAwB,CAAC;AAQhC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,UAAU,sBAAsB,CACpC,OAAe,EACf,aAAqB,EACrB,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,MAAM,IAAI,GAAG,iBAAiB,CAC5B,gDAAgD,EAChD;QACE,aAAa,EAAE,aAAa;QAC5B,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;QAC/B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE;YACP,MAAM,EAAE,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AuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,qBAAqB,CAAC,OAAO,EAAE,OAAO,CAAC,EAC7C,4BAA4B,EAC5B,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,MAAM,EAAE,CACrB,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB,CAAC,MAAmB;IAChD,QAAQ,MAAM,CAAC,MAAM,EAAE,CAAC;QACtB,KAAK,aAAa;YAChB,OAAO,SAAS,CAAC;QACnB,KAAK,WAAW;YACd,OAAO,WAAW,CAAC;QACrB,KAAK,SAAS;YACZ,OAAO,QAAQ,CAAC;QAClB;YACE,OAAO,QAAQ,CAAC;IACpB,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AgentsContext as Client } from \"../index.js\";\nimport {\n vectorStoreConfigurationSerializer,\n agentV1ErrorDeserializer,\n _AgentsPagedResultVectorStore,\n _agentsPagedResultVectorStoreDeserializer,\n VectorStore,\n vectorStoreDeserializer,\n vectorStoreExpirationPolicySerializer,\n vectorStoreChunkingStrategyRequestUnionSerializer,\n VectorStoreDeletionStatus,\n vectorStoreDeletionStatusDeserializer,\n} from \"../../models/models.js\";\nimport {\n VectorStoresDeleteVectorStoreOptionalParams,\n VectorStoresModifyVectorStoreOptionalParams,\n VectorStoresGetVectorStoreOptionalParams,\n VectorStoresCreateVectorStoreOptionalParams,\n VectorStoresListVectorStoresOptionalParams,\n} from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState, OperationStatus } from \"@azure/core-lro\";\nimport { createPoller } from \"../poller.js\";\n\nexport function _deleteVectorStoreSend(\n context: Client,\n vectorStoreId: string,\n options: VectorStoresDeleteVectorStoreOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}{?api%2Dversion}\",\n {\n vectorStoreId: vectorStoreId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _deleteVectorStoreDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStoreDeletionStatus> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = agentV1ErrorDeserializer(result.body);\n throw error;\n }\n\n return vectorStoreDeletionStatusDeserializer(result.body);\n}\n\n/** Deletes the vector store object matching the specified ID. */\nexport async function deleteVectorStore(\n context: Client,\n vectorStoreId: string,\n options: VectorStoresDeleteVectorStoreOptionalParams = { requestOptions: {} },\n): Promise<VectorStoreDeletionStatus> {\n const result = await _deleteVectorStoreSend(context, vectorStoreId, options);\n return _deleteVectorStoreDeserialize(result);\n}\n\nexport function _modifyVectorStoreSend(\n context: Client,\n vectorStoreId: string,\n options: VectorStoresModifyVectorStoreOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}{?api%2Dversion}\",\n {\n vectorStoreId: vectorStoreId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: {\n name: options?.name,\n expires_after: !options?.expiresAfter\n ? options?.expiresAfter\n : vectorStoreExpirationPolicySerializer(options?.expiresAfter),\n metadata: options?.metadata,\n },\n });\n}\n\nexport async function _modifyVectorStoreDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStore> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = agentV1ErrorDeserializer(result.body);\n throw error;\n }\n\n return vectorStoreDeserializer(result.body);\n}\n\n/** Modifies an existing vector store. */\nexport async function modifyVectorStore(\n context: Client,\n vectorStoreId: string,\n options: VectorStoresModifyVectorStoreOptionalParams = { requestOptions: {} },\n): Promise<VectorStore> {\n const result = await _modifyVectorStoreSend(context, vectorStoreId, options);\n return _modifyVectorStoreDeserialize(result);\n}\n\nexport function _getVectorStoreSend(\n context: Client,\n vectorStoreId: string,\n options: VectorStoresGetVectorStoreOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}{?api%2Dversion}\",\n {\n vectorStoreId: vectorStoreId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getVectorStoreDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStore> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = agentV1ErrorDeserializer(result.body);\n throw error;\n }\n\n return vectorStoreDeserializer(result.body);\n}\n\n/** Returns the vector store object matching the specified ID. */\nexport async function getVectorStore(\n context: Client,\n vectorStoreId: string,\n options: VectorStoresGetVectorStoreOptionalParams = { requestOptions: {} },\n): Promise<VectorStore> {\n const result = await _getVectorStoreSend(context, vectorStoreId, options);\n return _getVectorStoreDeserialize(result);\n}\n\nexport function _createVectorStoreSend(\n context: Client,\n options: VectorStoresCreateVectorStoreOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: {\n file_ids: !options?.fileIds\n ? options?.fileIds\n : options?.fileIds.map((p: any) => {\n return p;\n }),\n name: options?.name,\n configuration: !options?.storeConfiguration\n ? options?.storeConfiguration\n : vectorStoreConfigurationSerializer(options?.storeConfiguration),\n expires_after: !options?.expiresAfter\n ? options?.expiresAfter\n : vectorStoreExpirationPolicySerializer(options?.expiresAfter),\n chunking_strategy: !options?.chunkingStrategy\n ? options?.chunkingStrategy\n : vectorStoreChunkingStrategyRequestUnionSerializer(options?.chunkingStrategy),\n metadata: options?.metadata,\n },\n });\n}\n\nexport async function _createVectorStoreDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStore> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = agentV1ErrorDeserializer(result.body);\n throw error;\n }\n\n return vectorStoreDeserializer(result.body);\n}\n\n/** Creates a vector store. */\nexport async function createVectorStoreInternal(\n context: Client,\n options: VectorStoresCreateVectorStoreOptionalParams = { requestOptions: {} },\n): Promise<VectorStore> {\n const result = await _createVectorStoreSend(context, options);\n return _createVectorStoreDeserialize(result);\n}\n\n/** Creates a vector store. */\nexport function createVectorStore(\n context: Client,\n options: VectorStoresCreateVectorStoreOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<VectorStore>, VectorStore> {\n return createPoller<VectorStore>({\n initOperation: async () => {\n return createVectorStoreInternal(context, options);\n },\n pollOperation: async (currentResult: VectorStore) => {\n return getVectorStore(context, currentResult.id, options);\n },\n getOperationStatus: getLroOperationStatus,\n intervalInMs: options.pollingOptions?.intervalInMs,\n });\n}\n\n/**\n * Creates a vector store and poll.\n */\nexport function createVectorStoreAndPoll(\n context: Client,\n options: VectorStoresCreateVectorStoreOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<VectorStore>, VectorStore> {\n return createPoller<VectorStore>({\n initOperation: async () => {\n return createVectorStoreInternal(context, options);\n },\n pollOperation: async (currentResult: VectorStore) => {\n return getVectorStore(context, currentResult.id, options);\n },\n getOperationStatus: getLroOperationStatus,\n intervalInMs: options.pollingOptions?.intervalInMs,\n });\n}\n\nexport function _listVectorStoresSend(\n context: Client,\n options: VectorStoresListVectorStoresOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores{?api%2Dversion,limit,order,after,before}\",\n {\n \"api%2Dversion\": context.apiVersion,\n limit: options?.limit,\n order: options?.order,\n after: options?.after,\n before: options?.before,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listVectorStoresDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AgentsPagedResultVectorStore> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = agentV1ErrorDeserializer(result.body);\n throw error;\n }\n\n return _agentsPagedResultVectorStoreDeserializer(result.body);\n}\n\n/** Returns a list of vector stores. */\nexport function listVectorStores(\n context: Client,\n options: VectorStoresListVectorStoresOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<VectorStore> {\n return buildPagedAsyncIterator(\n context,\n () => _listVectorStoresSend(context, options),\n _listVectorStoresDeserialize,\n [\"200\"],\n { itemName: \"data\" },\n );\n}\n\nfunction getLroOperationStatus(result: VectorStore): OperationStatus {\n switch (result.status) {\n case \"in_progress\":\n return \"running\";\n case \"completed\":\n return \"succeeded\";\n case \"expired\":\n return \"failed\";\n default:\n return \"failed\";\n }\n}\n"]}
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/vectorStores/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAC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,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AgentsContext as Client } from \"../index.js\";\nimport {\n vectorStoreConfigurationSerializer,\n agentV1ErrorDeserializer,\n _AgentsPagedResultVectorStore,\n _agentsPagedResultVectorStoreDeserializer,\n VectorStore,\n vectorStoreDeserializer,\n vectorStoreExpirationPolicySerializer,\n vectorStoreChunkingStrategyRequestUnionSerializer,\n VectorStoreDeletionStatus,\n vectorStoreDeletionStatusDeserializer,\n} from \"../../models/models.js\";\nimport {\n VectorStoresDeleteVectorStoreOptionalParams,\n VectorStoresModifyVectorStoreOptionalParams,\n VectorStoresGetVectorStoreOptionalParams,\n VectorStoresCreateVectorStoreOptionalParams,\n VectorStoresListVectorStoresOptionalParams,\n} from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState, OperationStatus } from \"@azure/core-lro\";\nimport { createPoller } from \"../poller.js\";\n\nexport function _deleteVectorStoreSend(\n context: Client,\n vectorStoreId: string,\n options: VectorStoresDeleteVectorStoreOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}{?api%2Dversion}\",\n {\n vectorStoreId: vectorStoreId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _deleteVectorStoreDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStoreDeletionStatus> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = agentV1ErrorDeserializer(result.body);\n throw error;\n }\n\n return vectorStoreDeletionStatusDeserializer(result.body);\n}\n\n/** Deletes the vector store object matching the specified ID. */\nexport async function deleteVectorStore(\n context: Client,\n vectorStoreId: string,\n options: VectorStoresDeleteVectorStoreOptionalParams = { requestOptions: {} },\n): Promise<VectorStoreDeletionStatus> {\n const result = await _deleteVectorStoreSend(context, vectorStoreId, options);\n return _deleteVectorStoreDeserialize(result);\n}\n\nexport function _modifyVectorStoreSend(\n context: Client,\n vectorStoreId: string,\n options: VectorStoresModifyVectorStoreOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}{?api-version}\",\n {\n vectorStoreId: vectorStoreId,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: {\n name: options?.name,\n expires_after: !options?.expiresAfter\n ? options?.expiresAfter\n : vectorStoreExpirationPolicySerializer(options?.expiresAfter),\n metadata: options?.metadata,\n },\n });\n}\n\nexport async function _modifyVectorStoreDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStore> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = agentV1ErrorDeserializer(result.body);\n throw error;\n }\n\n return vectorStoreDeserializer(result.body);\n}\n\n/** Modifies an existing vector store. */\nexport async function modifyVectorStore(\n context: Client,\n vectorStoreId: string,\n options: VectorStoresModifyVectorStoreOptionalParams = { requestOptions: {} },\n): Promise<VectorStore> {\n const result = await _modifyVectorStoreSend(context, vectorStoreId, options);\n return _modifyVectorStoreDeserialize(result);\n}\n\nexport function _getVectorStoreSend(\n context: Client,\n vectorStoreId: string,\n options: VectorStoresGetVectorStoreOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}{?api-version}\",\n {\n vectorStoreId: vectorStoreId,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getVectorStoreDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStore> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = agentV1ErrorDeserializer(result.body);\n throw error;\n }\n\n return vectorStoreDeserializer(result.body);\n}\n\n/** Returns the vector store object matching the specified ID. */\nexport async function getVectorStore(\n context: Client,\n vectorStoreId: string,\n options: VectorStoresGetVectorStoreOptionalParams = { requestOptions: {} },\n): Promise<VectorStore> {\n const result = await _getVectorStoreSend(context, vectorStoreId, options);\n return _getVectorStoreDeserialize(result);\n}\n\nexport function _createVectorStoreSend(\n context: Client,\n options: VectorStoresCreateVectorStoreOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: {\n file_ids: !options?.fileIds\n ? options?.fileIds\n : options?.fileIds.map((p: any) => {\n return p;\n }),\n name: options?.name,\n configuration: !options?.storeConfiguration\n ? options?.storeConfiguration\n : vectorStoreConfigurationSerializer(options?.storeConfiguration),\n expires_after: !options?.expiresAfter\n ? options?.expiresAfter\n : vectorStoreExpirationPolicySerializer(options?.expiresAfter),\n chunking_strategy: !options?.chunkingStrategy\n ? options?.chunkingStrategy\n : vectorStoreChunkingStrategyRequestUnionSerializer(options?.chunkingStrategy),\n metadata: options?.metadata,\n },\n });\n}\n\nexport async function _createVectorStoreDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStore> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = agentV1ErrorDeserializer(result.body);\n throw error;\n }\n\n return vectorStoreDeserializer(result.body);\n}\n\n/** Creates a vector store. */\nexport async function createVectorStoreInternal(\n context: Client,\n options: VectorStoresCreateVectorStoreOptionalParams = { requestOptions: {} },\n): Promise<VectorStore> {\n const result = await _createVectorStoreSend(context, options);\n return _createVectorStoreDeserialize(result);\n}\n\n/** Creates a vector store. */\nexport function createVectorStore(\n context: Client,\n options: VectorStoresCreateVectorStoreOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<VectorStore>, VectorStore> {\n return createPoller<VectorStore>({\n initOperation: async () => {\n return createVectorStoreInternal(context, options);\n },\n pollOperation: async (currentResult: VectorStore) => {\n return getVectorStore(context, currentResult.id, options);\n },\n getOperationStatus: getLroOperationStatus,\n intervalInMs: options.pollingOptions?.intervalInMs,\n });\n}\n\n/**\n * Creates a vector store and poll.\n */\nexport function createVectorStoreAndPoll(\n context: Client,\n options: VectorStoresCreateVectorStoreOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<VectorStore>, VectorStore> {\n return createPoller<VectorStore>({\n initOperation: async () => {\n return createVectorStoreInternal(context, options);\n },\n pollOperation: async (currentResult: VectorStore) => {\n return getVectorStore(context, currentResult.id, options);\n },\n getOperationStatus: getLroOperationStatus,\n intervalInMs: options.pollingOptions?.intervalInMs,\n });\n}\n\nexport function _listVectorStoresSend(\n context: Client,\n options: VectorStoresListVectorStoresOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores{?api%2Dversion,limit,order,after,before}\",\n {\n \"api%2Dversion\": context.apiVersion,\n limit: options?.limit,\n order: options?.order,\n after: options?.after,\n before: options?.before,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listVectorStoresDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AgentsPagedResultVectorStore> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = agentV1ErrorDeserializer(result.body);\n throw error;\n }\n\n return _agentsPagedResultVectorStoreDeserializer(result.body);\n}\n\n/** Returns a list of vector stores. */\nexport function listVectorStores(\n context: Client,\n options: VectorStoresListVectorStoresOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<VectorStore> {\n return buildPagedAsyncIterator(\n context,\n () => _listVectorStoresSend(context, options),\n _listVectorStoresDeserialize,\n [\"200\"],\n { itemName: \"data\" },\n );\n}\n\nfunction getLroOperationStatus(result: VectorStore): OperationStatus {\n switch (result.status) {\n case \"in_progress\":\n return \"running\";\n case \"completed\":\n return \"succeeded\";\n case \"expired\":\n return \"failed\";\n default:\n return \"failed\";\n }\n}\n"]}
@@ -1,9 +1,11 @@
1
1
  import { AgentsContext } from "../../api/agentsContext.js";
2
- import { MessageRole, MessageInputContent, ThreadMessage } from "../../models/models.js";
3
- import { MessagesUpdateMessageOptionalParams, MessagesGetMessageOptionalParams, MessagesListMessagesOptionalParams, MessagesCreateMessageOptionalParams } from "../../api/messages/options.js";
2
+ import { MessageRole, MessageInputContent, ThreadMessage, MessageDeletionStatus } from "../../models/models.js";
3
+ import { MessagesDeleteOptionalParams, MessagesUpdateMessageOptionalParams, MessagesGetMessageOptionalParams, MessagesListMessagesOptionalParams, MessagesCreateMessageOptionalParams } from "../../api/messages/options.js";
4
4
  import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
5
  /** Interface representing a Messages operations. */
6
6
  export interface MessagesOperations {
7
+ /** Deletes an existing message on an existing thread. */
8
+ delete: (threadId: string, messageId: string, options?: MessagesDeleteOptionalParams) => Promise<MessageDeletionStatus>;
7
9
  /** Modifies an existing message on an existing thread. */
8
10
  update: (threadId: string, messageId: string, options?: MessagesUpdateMessageOptionalParams) => Promise<ThreadMessage>;
9
11
  /** Retrieves an existing message. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/messages/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACzF,OAAO,EACL,mCAAmC,EACnC,gCAAgC,EAChC,kCAAkC,EAClC,mCAAmC,EACpC,MAAM,+BAA+B,CAAC;AAOvC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF,oDAAoD;AACpD,MAAM,WAAW,kBAAkB;IACjC,0DAA0D;IAC1D,MAAM,EAAE,CACN,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,mCAAmC,KAC1C,OAAO,CAAC,aAAa,CAAC,CAAC;IAC5B,qCAAqC;IACrC,GAAG,EAAE,CACH,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,gCAAgC,KACvC,OAAO,CAAC,aAAa,CAAC,CAAC;IAC5B,sDAAsD;IACtD,IAAI,EAAE,CACJ,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,kCAAkC,KACzC,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC/C,mDAAmD;IACnD,MAAM,EAAE,CACN,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,WAAW,EACjB,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,mCAAmC,KAC1C,OAAO,CAAC,aAAa,CAAC,CAAC;CAC7B;AAmBD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,aAAa,G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BAAsB,CAAC,OAAO,EAAE,aAAa,GAAG,kBAAkB,CAIjF"}
@@ -1,8 +1,9 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- import { updateMessage, getMessage, listMessages, createMessage, } from "../../api/messages/operations.js";
3
+ import { $delete, updateMessage, getMessage, listMessages, createMessage, } from "../../api/messages/operations.js";
4
4
  function _getMessages(context) {
5
5
  return {
6
+ delete: (threadId, messageId, options) => $delete(context, threadId, messageId, options),
6
7
  update: (threadId, messageId, options) => updateMessage(context, threadId, messageId, options),
7
8
  get: (threadId, messageId, options) => getMessage(context, threadId, messageId, options),
8
9
  list: (threadId, options) => listMessages(context, threadId, options),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/messages/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAUlC,OAAO,EACL,aAAa,EACb,UAAU,EACV,YAAY,EACZ,aAAa,GACd,MAAM,kCAAkC,CAAC;AA+B1C,SAAS,YAAY,CAAC,OAAsB;IAC1C,OAAO;QACL,MAAM,EAAE,CAAC,QAAgB,EAAE,SAAiB,EAAE,OAA6C,EAAE,EAAE,CAC7F,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC;QACtD,GAAG,EAAE,CAAC,QAAgB,EAAE,SAAiB,EAAE,OAA0C,EAAE,EAAE,CACvF,UAAU,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC;QACnD,IAAI,EAAE,CAAC,QAAgB,EAAE,OAA4C,EAAE,EAAE,CACvE,YAAY,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;QAC1C,MAAM,EAAE,CACN,QAAgB,EAChB,IAAiB,EACjB,OAA4B,EAC5B,OAA6C,EAC7C,EAAE,CAAC,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC;KAC9D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAAsB;IAC3D,OAAO;QACL,GAAG,YAAY,CAAC,OAAO,CAAC;KACzB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AgentsContext } from \"../../api/agentsContext.js\";\nimport { MessageRole, MessageInputContent, ThreadMessage } from \"../../models/models.js\";\nimport {\n MessagesUpdateMessageOptionalParams,\n MessagesGetMessageOptionalParams,\n MessagesListMessagesOptionalParams,\n MessagesCreateMessageOptionalParams,\n} from \"../../api/messages/options.js\";\nimport {\n updateMessage,\n getMessage,\n listMessages,\n createMessage,\n} from \"../../api/messages/operations.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Messages operations. */\nexport interface MessagesOperations {\n /** Modifies an existing message on an existing thread. */\n update: (\n threadId: string,\n messageId: string,\n options?: MessagesUpdateMessageOptionalParams,\n ) => Promise<ThreadMessage>;\n /** Retrieves an existing message. */\n get: (\n threadId: string,\n messageId: string,\n options?: MessagesGetMessageOptionalParams,\n ) => Promise<ThreadMessage>;\n /** Gets a list of messages that exist on a thread. */\n list: (\n threadId: string,\n options?: MessagesListMessagesOptionalParams,\n ) => PagedAsyncIterableIterator<ThreadMessage>;\n /** Creates a new message on a specified thread. */\n create: (\n threadId: string,\n role: MessageRole,\n content: MessageInputContent,\n options?: MessagesCreateMessageOptionalParams,\n ) => Promise<ThreadMessage>;\n}\n\nfunction _getMessages(context: AgentsContext) {\n return {\n update: (threadId: string, messageId: string, options?: MessagesUpdateMessageOptionalParams) =>\n updateMessage(context, threadId, messageId, options),\n get: (threadId: string, messageId: string, options?: MessagesGetMessageOptionalParams) =>\n getMessage(context, threadId, messageId, options),\n list: (threadId: string, options?: MessagesListMessagesOptionalParams) =>\n listMessages(context, threadId, options),\n create: (\n threadId: string,\n role: MessageRole,\n content: MessageInputContent,\n options?: MessagesCreateMessageOptionalParams,\n ) => createMessage(context, threadId, role, content, options),\n };\n}\n\nexport function _getMessagesOperations(context: AgentsContext): MessagesOperations {\n return {\n ..._getMessages(context),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/messages/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAgBlC,OAAO,EACL,OAAO,EACP,aAAa,EACb,UAAU,EACV,YAAY,EACZ,aAAa,GACd,MAAM,kCAAkC,CAAC;AAqC1C,SAAS,YAAY,CAAC,OAAsB;IAC1C,OAAO;QACL,MAAM,EAAE,CAAC,QAAgB,EAAE,SAAiB,EAAE,OAAsC,EAAE,EAAE,CACtF,OAAO,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC;QAChD,MAAM,EAAE,CAAC,QAAgB,EAAE,SAAiB,EAAE,OAA6C,EAAE,EAAE,CAC7F,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC;QACtD,GAAG,EAAE,CAAC,QAAgB,EAAE,SAAiB,EAAE,OAA0C,EAAE,EAAE,CACvF,UAAU,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC;QACnD,IAAI,EAAE,CAAC,QAAgB,EAAE,OAA4C,EAAE,EAAE,CACvE,YAAY,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;QAC1C,MAAM,EAAE,CACN,QAAgB,EAChB,IAAiB,EACjB,OAA4B,EAC5B,OAA6C,EAC7C,EAAE,CAAC,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC;KAC9D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAAsB;IAC3D,OAAO;QACL,GAAG,YAAY,CAAC,OAAO,CAAC;KACzB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AgentsContext } from \"../../api/agentsContext.js\";\nimport {\n MessageRole,\n MessageInputContent,\n ThreadMessage,\n MessageDeletionStatus,\n} from \"../../models/models.js\";\nimport {\n MessagesDeleteOptionalParams,\n MessagesUpdateMessageOptionalParams,\n MessagesGetMessageOptionalParams,\n MessagesListMessagesOptionalParams,\n MessagesCreateMessageOptionalParams,\n} from \"../../api/messages/options.js\";\nimport {\n $delete,\n updateMessage,\n getMessage,\n listMessages,\n createMessage,\n} from \"../../api/messages/operations.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Messages operations. */\nexport interface MessagesOperations {\n /** Deletes an existing message on an existing thread. */\n delete: (\n threadId: string,\n messageId: string,\n options?: MessagesDeleteOptionalParams,\n ) => Promise<MessageDeletionStatus>;\n /** Modifies an existing message on an existing thread. */\n update: (\n threadId: string,\n messageId: string,\n options?: MessagesUpdateMessageOptionalParams,\n ) => Promise<ThreadMessage>;\n /** Retrieves an existing message. */\n get: (\n threadId: string,\n messageId: string,\n options?: MessagesGetMessageOptionalParams,\n ) => Promise<ThreadMessage>;\n /** Gets a list of messages that exist on a thread. */\n list: (\n threadId: string,\n options?: MessagesListMessagesOptionalParams,\n ) => PagedAsyncIterableIterator<ThreadMessage>;\n /** Creates a new message on a specified thread. */\n create: (\n threadId: string,\n role: MessageRole,\n content: MessageInputContent,\n options?: MessagesCreateMessageOptionalParams,\n ) => Promise<ThreadMessage>;\n}\n\nfunction _getMessages(context: AgentsContext) {\n return {\n delete: (threadId: string, messageId: string, options?: MessagesDeleteOptionalParams) =>\n $delete(context, threadId, messageId, options),\n update: (threadId: string, messageId: string, options?: MessagesUpdateMessageOptionalParams) =>\n updateMessage(context, threadId, messageId, options),\n get: (threadId: string, messageId: string, options?: MessagesGetMessageOptionalParams) =>\n getMessage(context, threadId, messageId, options),\n list: (threadId: string, options?: MessagesListMessagesOptionalParams) =>\n listMessages(context, threadId, options),\n create: (\n threadId: string,\n role: MessageRole,\n content: MessageInputContent,\n options?: MessagesCreateMessageOptionalParams,\n ) => createMessage(context, threadId, role, content, options),\n };\n}\n\nexport function _getMessagesOperations(context: AgentsContext): MessagesOperations {\n return {\n ..._getMessages(context),\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/runs/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EACL,2BAA2B,EAC3B,wCAAwC,EACxC,2BAA2B,EAC3B,wBAAwB,EACxB,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,2BAA2B,CAAC;AAUnC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,OAAO,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE7D,gDAAgD;AAChD,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,MAAM,EAAE,CACN,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,2BAA2B,KAClC,OAAO,CAAC,SAAS,CAAC,CAAC;IACxB,sEAAsE;IACtE,iBAAiB,EAAE,CACjB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,UAAU,EAAE,EACzB,OAAO,CAAC,EAAE,wCAAwC,KAC/C,gBAAgB,CAAC;IACtB,uCAAuC;IACvC,MAAM,EAAE,CACN,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,2BAA2B,KAClC,OAAO,CAAC,SAAS,CAAC,CAAC;IACxB,oDAAoD;IACpD,GA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EACnB,OAAO,CAAC,EAAE,gCAAgC,KACvC,gBAAgB,CAAC;CACvB;AA+BD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,aAAa,GAAG,cAAc,CAIzE"}
@@ -5,7 +5,10 @@ import { createThreadAndRun } from "../../api/operations.js";
5
5
  function _getRuns(context) {
6
6
  return {
7
7
  cancel: (threadId, runId, options) => cancelRun(context, threadId, runId, options),
8
- submitToolOutputs: (threadId, runId, toolOutputs, options) => submitToolOutputsToRun(context, threadId, runId, toolOutputs, options),
8
+ submitToolOutputs: (threadId, runId, toolOutputs, options) => submitToolOutputsToRun(context, threadId, runId, {
9
+ ...options,
10
+ toolOutputs: toolOutputs ?? options?.toolOutputs,
11
+ }),
9
12
  update: (threadId, runId, options) => updateRun(context, threadId, runId, options),
10
13
  get: (threadId, runId, options) => getRun(context, threadId, runId, options),
11
14
  list: (threadId, options) => listRuns(context, threadId, options),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/runs/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAYlC,OAAO,EACL,SAAS,EACT,sBAAsB,EACtB,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,gBAAgB,GACjB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAmD7D,SAAS,QAAQ,CAAC,OAAsB;IACtC,OAAO;QACL,MAAM,EAAE,CAAC,QAAgB,EAAE,KAAa,EAAE,OAAqC,EAAE,EAAE,CACjF,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC;QAC9C,iBAAiB,EAAE,CACjB,QAAgB,EAChB,KAAa,EACb,WAAyB,EACzB,OAAkD,EAClD,EAAE,CAAC,sBAAsB,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,CAAC;QAC3E,MAAM,EAAE,CAAC,QAAgB,EAAE,KAAa,EAAE,OAAqC,EAAE,EAAE,CACjF,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC;QAC9C,GAAG,EAAE,CAAC,QAAgB,EAAE,KAAa,EAAE,OAAkC,EAAE,EAAE,CAC3E,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC;QAC3C,IAAI,EAAE,CAAC,QAAgB,EAAE,OAAoC,EAAE,EAAE,CAC/D,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;QACtC,MAAM,EAAE,CAAC,QAAgB,EAAE,WAAmB,EAAE,OAAqC,EAAE,EAAE,CACvF,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC;QACpD,aAAa,EAAE,CAAC,QAAgB,EAAE,WAAmB,EAAE,OAAqC,EAAE,EAAE,CAC9F,gBAAgB,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC;QAC3D,kBAAkB,EAAE,CAAC,WAAmB,EAAE,OAAqC,EAAE,EAAE,CACjF,kBAAkB,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAC;KACpD,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,OAAsB;IACvD,OAAO;QACL,GAAG,QAAQ,CAAC,OAAO,CAAC;KACrB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AgentsContext } from \"../../api/agentsContext.js\";\nimport { ThreadRun, ToolOutput } from \"../../models/models.js\";\nimport {\n RunsCancelRunOptionalParams,\n RunsSubmitToolOutputsToRunOptionalParams,\n RunsUpdateRunOptionalParams,\n RunsGetRunOptionalParams,\n RunsListRunsOptionalParams,\n RunsCreateRunOptionalParams,\n} from \"../../api/runs/options.js\";\nimport {\n cancelRun,\n submitToolOutputsToRun,\n updateRun,\n getRun,\n listRuns,\n createRun,\n createRunAndPoll,\n} from \"../../api/runs/operations.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { AgentRunResponse } from \"../../models/streamingModels.js\";\nimport { createThreadAndRun } from \"../../api/operations.js\";\nimport { CreateThreadAndRunOptionalParams } from \"../../api/options.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a Runs operations. */\nexport interface RunsOperations {\n /** Cancels a run of an in‐progress thread. */\n cancel: (\n threadId: string,\n runId: string,\n options?: RunsCancelRunOptionalParams,\n ) => Promise<ThreadRun>;\n /** Submits outputs from tools as requested by tool calls in a run. */\n submitToolOutputs: (\n threadId: string,\n runId: string,\n toolOutputs: ToolOutput[],\n options?: RunsSubmitToolOutputsToRunOptionalParams,\n ) => AgentRunResponse;\n /** Modifies an existing thread run. */\n update: (\n threadId: string,\n runId: string,\n options?: RunsUpdateRunOptionalParams,\n ) => Promise<ThreadRun>;\n /** Gets an existing run from an existing thread. */\n get: (threadId: string, runId: string, options?: RunsGetRunOptionalParams) => Promise<ThreadRun>;\n /** Gets a list of runs for a specified thread. */\n list: (\n threadId: string,\n options?: RunsListRunsOptionalParams,\n ) => PagedAsyncIterableIterator<ThreadRun>;\n /** Creates a new run for an agent thread. */\n create: (\n threadId: string,\n assistantId: string,\n options?: RunsCreateRunOptionalParams,\n ) => AgentRunResponse;\n /** Creates a new run for an agent thread with polling. */\n createAndPoll: (\n threadId: string,\n assistantId: string,\n options?: RunsCreateRunOptionalParams,\n ) => PollerLike<OperationState<ThreadRun>, ThreadRun>;\n /** Creates a new thread and run for an agent. */\n createThreadAndRun: (\n assistantId: string,\n options?: CreateThreadAndRunOptionalParams,\n ) => AgentRunResponse;\n}\n\nfunction _getRuns(context: AgentsContext) {\n return {\n cancel: (threadId: string, runId: string, options?: RunsCancelRunOptionalParams) =>\n cancelRun(context, threadId, runId, options),\n submitToolOutputs: (\n threadId: string,\n runId: string,\n toolOutputs: ToolOutput[],\n options?: RunsSubmitToolOutputsToRunOptionalParams,\n ) => submitToolOutputsToRun(context, threadId, runId, toolOutputs, options),\n update: (threadId: string, runId: string, options?: RunsUpdateRunOptionalParams) =>\n updateRun(context, threadId, runId, options),\n get: (threadId: string, runId: string, options?: RunsGetRunOptionalParams) =>\n getRun(context, threadId, runId, options),\n list: (threadId: string, options?: RunsListRunsOptionalParams) =>\n listRuns(context, threadId, options),\n create: (threadId: string, assistantId: string, options?: RunsCreateRunOptionalParams) =>\n createRun(context, threadId, assistantId, options),\n createAndPoll: (threadId: string, assistantId: string, options?: RunsCreateRunOptionalParams) =>\n createRunAndPoll(context, threadId, assistantId, options),\n createThreadAndRun: (assistantId: string, options?: RunsCreateRunOptionalParams) =>\n createThreadAndRun(context, assistantId, options),\n };\n}\n\nexport function _getRunsOperations(context: AgentsContext): RunsOperations {\n return {\n ..._getRuns(context),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/runs/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAYlC,OAAO,EACL,SAAS,EACT,sBAAsB,EACtB,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,gBAAgB,GACjB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAmD7D,SAAS,QAAQ,CAAC,OAAsB;IACtC,OAAO;QACL,MAAM,EAAE,CAAC,QAAgB,EAAE,KAAa,EAAE,OAAqC,EAAE,EAAE,CACjF,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC;QAC9C,iBAAiB,EAAE,CACjB,QAAgB,EAChB,KAAa,EACb,WAAyB,EACzB,OAAkD,EAClD,EAAE,CACF,sBAAsB,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;YAC/C,GAAG,OAAO;YACV,WAAW,EAAE,WAAW,IAAI,OAAO,EAAE,WAAW;SACjD,CAAC;QACJ,MAAM,EAAE,CAAC,QAAgB,EAAE,KAAa,EAAE,OAAqC,EAAE,EAAE,CACjF,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC;QAC9C,GAAG,EAAE,CAAC,QAAgB,EAAE,KAAa,EAAE,OAAkC,EAAE,EAAE,CAC3E,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC;QAC3C,IAAI,EAAE,CAAC,QAAgB,EAAE,OAAoC,EAAE,EAAE,CAC/D,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;QACtC,MAAM,EAAE,CAAC,QAAgB,EAAE,WAAmB,EAAE,OAAqC,EAAE,EAAE,CACvF,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC;QACpD,aAAa,EAAE,CAAC,QAAgB,EAAE,WAAmB,EAAE,OAAqC,EAAE,EAAE,CAC9F,gBAAgB,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC;QAC3D,kBAAkB,EAAE,CAAC,WAAmB,EAAE,OAAqC,EAAE,EAAE,CACjF,kBAAkB,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAC;KACpD,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,OAAsB;IACvD,OAAO;QACL,GAAG,QAAQ,CAAC,OAAO,CAAC;KACrB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AgentsContext } from \"../../api/agentsContext.js\";\nimport { ThreadRun, ToolOutput } from \"../../models/models.js\";\nimport {\n RunsCancelRunOptionalParams,\n RunsSubmitToolOutputsToRunOptionalParams,\n RunsUpdateRunOptionalParams,\n RunsGetRunOptionalParams,\n RunsListRunsOptionalParams,\n RunsCreateRunOptionalParams,\n} from \"../../api/runs/options.js\";\nimport {\n cancelRun,\n submitToolOutputsToRun,\n updateRun,\n getRun,\n listRuns,\n createRun,\n createRunAndPoll,\n} from \"../../api/runs/operations.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { AgentRunResponse } from \"../../models/streamingModels.js\";\nimport { createThreadAndRun } from \"../../api/operations.js\";\nimport { CreateThreadAndRunOptionalParams } from \"../../api/options.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a Runs operations. */\nexport interface RunsOperations {\n /** Cancels a run of an in‐progress thread. */\n cancel: (\n threadId: string,\n runId: string,\n options?: RunsCancelRunOptionalParams,\n ) => Promise<ThreadRun>;\n /** Submits outputs from tools as requested by tool calls in a run. */\n submitToolOutputs: (\n threadId: string,\n runId: string,\n toolOutputs: ToolOutput[],\n options?: RunsSubmitToolOutputsToRunOptionalParams,\n ) => AgentRunResponse;\n /** Modifies an existing thread run. */\n update: (\n threadId: string,\n runId: string,\n options?: RunsUpdateRunOptionalParams,\n ) => Promise<ThreadRun>;\n /** Gets an existing run from an existing thread. */\n get: (threadId: string, runId: string, options?: RunsGetRunOptionalParams) => Promise<ThreadRun>;\n /** Gets a list of runs for a specified thread. */\n list: (\n threadId: string,\n options?: RunsListRunsOptionalParams,\n ) => PagedAsyncIterableIterator<ThreadRun>;\n /** Creates a new run for an agent thread. */\n create: (\n threadId: string,\n assistantId: string,\n options?: RunsCreateRunOptionalParams,\n ) => AgentRunResponse;\n /** Creates a new run for an agent thread with polling. */\n createAndPoll: (\n threadId: string,\n assistantId: string,\n options?: RunsCreateRunOptionalParams,\n ) => PollerLike<OperationState<ThreadRun>, ThreadRun>;\n /** Creates a new thread and run for an agent. */\n createThreadAndRun: (\n assistantId: string,\n options?: CreateThreadAndRunOptionalParams,\n ) => AgentRunResponse;\n}\n\nfunction _getRuns(context: AgentsContext) {\n return {\n cancel: (threadId: string, runId: string, options?: RunsCancelRunOptionalParams) =>\n cancelRun(context, threadId, runId, options),\n submitToolOutputs: (\n threadId: string,\n runId: string,\n toolOutputs: ToolOutput[],\n options?: RunsSubmitToolOutputsToRunOptionalParams,\n ) =>\n submitToolOutputsToRun(context, threadId, runId, {\n ...options,\n toolOutputs: toolOutputs ?? options?.toolOutputs,\n }),\n update: (threadId: string, runId: string, options?: RunsUpdateRunOptionalParams) =>\n updateRun(context, threadId, runId, options),\n get: (threadId: string, runId: string, options?: RunsGetRunOptionalParams) =>\n getRun(context, threadId, runId, options),\n list: (threadId: string, options?: RunsListRunsOptionalParams) =>\n listRuns(context, threadId, options),\n create: (threadId: string, assistantId: string, options?: RunsCreateRunOptionalParams) =>\n createRun(context, threadId, assistantId, options),\n createAndPoll: (threadId: string, assistantId: string, options?: RunsCreateRunOptionalParams) =>\n createRunAndPoll(context, threadId, assistantId, options),\n createThreadAndRun: (assistantId: string, options?: RunsCreateRunOptionalParams) =>\n createThreadAndRun(context, assistantId, options),\n };\n}\n\nexport function _getRunsOperations(context: AgentsContext): RunsOperations {\n return {\n ..._getRuns(context),\n };\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Current version of the `@azure/ai-agents` package.
3
3
  */
4
- export declare const SDK_VERSION = "1.1.0-beta.3";
4
+ export declare const SDK_VERSION = "1.2.0-beta.1";
5
5
  /**
6
6
  * The package name of the `@azure/ai-agents` package.
7
7
  */
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Current version of the `@azure/ai-agents` package.
5
5
  */
6
- export const SDK_VERSION = `1.1.0-beta.3`;
6
+ export const SDK_VERSION = `1.2.0-beta.1`;
7
7
  /**
8
8
  * The package name of the `@azure/ai-agents` package.
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;AAE1C;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * Current version of the `@azure/ai-agents` package.\n */\nexport const SDK_VERSION = `1.1.0-beta.3`;\n\n/**\n * The package name of the `@azure/ai-agents` package.\n */\nexport const PACKAGE_NAME = \"@azure/ai-agents\";\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;AAE1C;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * Current version of the `@azure/ai-agents` package.\n */\nexport const SDK_VERSION = `1.2.0-beta.1`;\n\n/**\n * The package name of the `@azure/ai-agents` package.\n */\nexport const PACKAGE_NAME = \"@azure/ai-agents\";\n"]}
@@ -3,11 +3,12 @@ import { FileContents } from "./static-helpers/multipartHelpers.js";
3
3
  export * from "./models/streamingModels.js";
4
4
  export * from "./utils/utils.js";
5
5
  export { MCPTool } from "./utils/MCPTool.js";
6
+ export { OpenApiTool } from "./utils/OpenApiTool.js";
6
7
  export { AgentsClient } from "./agentsClient.js";
7
- export { ToolDefinition, ToolDefinitionUnion, CodeInterpreterToolDefinition, FileSearchToolDefinition, FileSearchToolDefinitionDetails, FileSearchRankingOptions, FunctionToolDefinition, FunctionDefinition, BingGroundingToolDefinition, BingGroundingSearchToolParameters, BingGroundingSearchConfiguration, MicrosoftFabricToolDefinition, FabricDataAgentToolParameters, ToolConnection, SharepointToolDefinition, SharepointGroundingToolParameters, AzureAISearchToolDefinition, OpenApiToolDefinition, OpenApiFunctionDefinition, OpenApiAuthDetails, OpenApiAuthDetailsUnion, OpenApiAuthType, OpenApiAnonymousAuthDetails, OpenApiConnectionAuthDetails, OpenApiConnectionSecurityScheme, OpenApiManagedAuthDetails, OpenApiManagedSecurityScheme, BingCustomSearchToolDefinition, BingCustomSearchToolParameters, BingCustomSearchConfiguration, ConnectedAgentToolDefinition, ConnectedAgentDetails, DeepResearchToolDefinition, DeepResearchDetails, DeepResearchBingGroundingConnection, MCPToolDefinition, AzureFunctionToolDefinition, AzureFunctionDefinition, AzureFunctionBinding, AzureFunctionStorageQueue, ToolResources, CodeInterpreterToolResource, VectorStoreDataSource, VectorStoreDataSourceAssetType, FileSearchToolResource, VectorStoreConfigurations, VectorStoreConfiguration, AzureAISearchToolResource, AISearchIndexResource, AzureAISearchQueryType, MCPToolResource, AgentsResponseFormat, ResponseFormat, ResponseFormatJsonSchemaType, ResponseFormatJsonSchema, AgentsResponseFormatOption, AgentsResponseFormatMode, Agent, AgentV1Error, AgentErrorDetail, AgentDeletionStatus, AgentThreadCreationOptions, ThreadMessageOptions, MessageRole, MessageInputContent, MessageInputContentBlock, MessageInputContentBlockUnion, MessageBlockType, MessageInputTextBlock, MessageInputImageFileBlock, MessageImageFileParam, ImageDetailLevel, MessageInputImageUrlBlock, MessageImageUrlParam, MessageAttachment, MessageAttachmentToolDefinition, TruncationObject, TruncationStrategy, AgentsNamedToolChoice, AgentsNamedToolChoiceType, FunctionName, AgentsToolChoiceOption, AgentsToolChoiceOptionMode, ThreadRun, RunStatus, RequiredAction, RequiredActionUnion, SubmitToolOutputsAction, SubmitToolOutputsDetails, RequiredToolCall, RequiredToolCallUnion, RequiredFunctionToolCall, RequiredFunctionToolCallDetails, RequiredMcpToolCall, SubmitToolApprovalAction, SubmitToolApprovalDetails, RunError, IncompleteRunDetails, IncompleteDetailsReason, RunCompletionUsage, AgentThread, ThreadDeletionStatus, ThreadMessage, MessageStatus, MessageIncompleteDetails, MessageIncompleteDetailsReason, MessageContent, MessageContentUnion, MessageTextContent, MessageTextDetails, MessageTextAnnotation, MessageTextAnnotationUnion, MessageTextUrlCitationAnnotation, MessageTextUrlCitationDetails, MessageTextFileCitationAnnotation, MessageTextFileCitationDetails, MessageTextFilePathAnnotation, MessageTextFilePathDetails, MessageImageFileContent, MessageImageFileDetails, ToolOutput, ToolApproval, RunStep, RunStepType, RunStepStatus, RunStepDetails, RunStepDetailsUnion, RunStepMessageCreationDetails, RunStepMessageCreationReference, RunStepToolCallDetails, RunStepToolCall, RunStepToolCallUnion, RunStepCodeInterpreterToolCall, RunStepCodeInterpreterToolCallDetails, RunStepCodeInterpreterToolCallOutput, RunStepCodeInterpreterToolCallOutputUnion, RunStepCodeInterpreterLogOutput, RunStepCodeInterpreterImageOutput, RunStepCodeInterpreterImageReference, RunStepFileSearchToolCall, RunStepFileSearchToolCallResults, RunStepFileSearchToolCallResult, FileSearchToolCallContent, RunStepBingGroundingToolCall, RunStepAzureAISearchToolCall, RunStepMcpToolCall, RunStepSharepointToolCall, RunStepMicrosoftFabricToolCall, RunStepBingCustomSearchToolCall, RunStepFunctionToolCall, RunStepFunctionToolCallDetails, RunStepOpenAPIToolCall, RunStepDeepResearchToolCall, RunStepDeepResearchToolCallDetails, RunStepError, RunStepErrorCode, RunStepCompletionUsage, FileListResponse, FileInfo, FilePurpose, FileState, FileDeletionStatus, VectorStore, VectorStoreFileCount, VectorStoreStatus, VectorStoreExpirationPolicy, VectorStoreExpirationPolicyAnchor, VectorStoreChunkingStrategyRequest, VectorStoreChunkingStrategyRequestUnion, VectorStoreChunkingStrategyRequestType, VectorStoreAutoChunkingStrategyRequest, VectorStoreStaticChunkingStrategyRequest, VectorStoreStaticChunkingStrategyOptions, VectorStoreDeletionStatus, VectorStoreFile, VectorStoreFileStatus, VectorStoreFileError, VectorStoreFileErrorCode, VectorStoreChunkingStrategyResponse, VectorStoreChunkingStrategyResponseUnion, VectorStoreChunkingStrategyResponseType, VectorStoreAutoChunkingStrategyResponse, VectorStoreStaticChunkingStrategyResponse, VectorStoreFileDeletionStatus, VectorStoreFileBatch, VectorStoreFileBatchStatus, MessageDeltaChunk, MessageDelta, MessageDeltaContent, MessageDeltaContentUnion, MessageDeltaImageFileContent, MessageDeltaImageFileContentObject, MessageDeltaTextContent, MessageDeltaTextContentObject, MessageDeltaTextAnnotation, MessageDeltaTextAnnotationUnion, MessageDeltaTextUrlCitationAnnotation, MessageDeltaTextUrlCitationDetails, MessageDeltaTextFileCitationAnnotation, MessageDeltaTextFileCitationAnnotationObject, MessageDeltaTextFilePathAnnotation, MessageDeltaTextFilePathAnnotationObject, RunStepDeltaChunk, RunStepDelta, RunStepDeltaDetail, RunStepDeltaDetailUnion, RunStepDeltaMessageCreation, RunStepDeltaMessageCreationObject, RunStepDeltaToolCallObject, RunStepDeltaToolCall, RunStepDeltaToolCallUnion, RunStepDeltaFunctionToolCall, RunStepDeltaFunction, RunStepDeltaFileSearchToolCall, RunStepDeltaCodeInterpreterToolCall, RunStepDeltaCodeInterpreterDetailItemObject, RunStepDeltaCodeInterpreterOutput, RunStepDeltaCodeInterpreterOutputUnion, RunStepDeltaCodeInterpreterLogOutput, RunStepDeltaCodeInterpreterImageOutput, RunStepDeltaCodeInterpreterImageOutputObject, AgentStreamEvent, ThreadStreamEvent, RunStreamEvent, RunStepStreamEvent, MessageStreamEvent, ErrorEvent, DoneEvent, ListSortOrder, RunAdditionalFieldList, VectorStoreFileStatusFilter, KnownVersions, } from "./models/index.js";
8
+ export { ToolDefinition, ToolDefinitionUnion, CodeInterpreterToolDefinition, FileSearchToolDefinition, FileSearchToolDefinitionDetails, FileSearchRankingOptions, FunctionToolDefinition, FunctionDefinition, BingGroundingToolDefinition, BingGroundingSearchToolParameters, BingGroundingSearchConfiguration, MicrosoftFabricToolDefinition, FabricDataAgentToolParameters, ToolConnection, SharepointToolDefinition, SharepointGroundingToolParameters, AzureAISearchToolDefinition, OpenApiToolDefinition, OpenApiFunctionDefinition, OpenApiAuthDetails, OpenApiAuthDetailsUnion, OpenApiAuthType, OpenApiAnonymousAuthDetails, OpenApiConnectionAuthDetails, OpenApiConnectionSecurityScheme, OpenApiManagedAuthDetails, OpenApiManagedSecurityScheme, BingCustomSearchToolDefinition, BingCustomSearchToolParameters, BingCustomSearchConfiguration, ConnectedAgentToolDefinition, ConnectedAgentDetails, DeepResearchToolDefinition, DeepResearchDetails, DeepResearchBingGroundingConnection, MCPToolDefinition, AzureFunctionToolDefinition, AzureFunctionDefinition, AzureFunctionBinding, AzureFunctionStorageQueue, BrowserAutomationToolDefinition, BrowserAutomationToolParameters, BrowserAutomationToolConnectionParameters, ToolResources, CodeInterpreterToolResource, VectorStoreDataSource, VectorStoreDataSourceAssetType, FileSearchToolResource, VectorStoreConfigurations, VectorStoreConfiguration, AzureAISearchToolResource, AISearchIndexResource, AzureAISearchQueryType, MCPToolResource, MCPRequiredApproval, MCPApprovalPerTool, MCPToolList, AgentsResponseFormat, ResponseFormat, ResponseFormatJsonSchemaType, ResponseFormatJsonSchema, AgentsResponseFormatOption, AgentsResponseFormatMode, Agent, AgentV1Error, AgentErrorDetail, AgentDeletionStatus, AgentThreadCreationOptions, ThreadMessageOptions, MessageRole, MessageInputContent, MessageInputContentBlock, MessageInputContentBlockUnion, MessageBlockType, MessageInputTextBlock, MessageInputImageFileBlock, MessageImageFileParam, ImageDetailLevel, MessageInputImageUrlBlock, MessageImageUrlParam, MessageAttachment, MessageAttachmentToolDefinition, TruncationObject, TruncationStrategy, AgentsNamedToolChoice, AgentsNamedToolChoiceType, FunctionName, AgentsToolChoiceOption, AgentsToolChoiceOptionMode, ThreadRun, RunStatus, RequiredAction, RequiredActionUnion, SubmitToolOutputsAction, SubmitToolOutputsDetails, RequiredToolCall, RequiredToolCallUnion, RequiredFunctionToolCall, RequiredFunctionToolCallDetails, RequiredMcpToolCall, SubmitToolApprovalAction, SubmitToolApprovalDetails, RunError, IncompleteRunDetails, IncompleteDetailsReason, RunCompletionUsage, AgentThread, ThreadDeletionStatus, ThreadMessage, MessageStatus, MessageIncompleteDetails, MessageIncompleteDetailsReason, MessageContent, MessageContentUnion, MessageTextContent, MessageTextDetails, MessageTextAnnotation, MessageTextAnnotationUnion, MessageTextUrlCitationAnnotation, MessageTextUrlCitationDetails, MessageTextFileCitationAnnotation, MessageTextFileCitationDetails, MessageTextFilePathAnnotation, MessageTextFilePathDetails, MessageImageFileContent, MessageImageFileDetails, MessageDeletionStatus, ToolOutput, ToolApproval, RunStep, RunStepType, RunStepStatus, RunStepDetails, RunStepDetailsUnion, RunStepMessageCreationDetails, RunStepMessageCreationReference, RunStepToolCallDetails, RunStepToolCall, RunStepToolCallUnion, RunStepCodeInterpreterToolCall, RunStepCodeInterpreterToolCallDetails, RunStepCodeInterpreterToolCallOutput, RunStepCodeInterpreterToolCallOutputUnion, RunStepCodeInterpreterLogOutput, RunStepCodeInterpreterImageOutput, RunStepCodeInterpreterImageReference, RunStepFileSearchToolCall, RunStepFileSearchToolCallResults, RunStepFileSearchToolCallResult, FileSearchToolCallContent, RunStepBingGroundingToolCall, RunStepAzureAISearchToolCall, RunStepBrowserAutomationToolCall, BrowserAutomationToolCallDetails, BrowserAutomationToolCallStep, RunStepMcpToolCall, RunStepSharepointToolCall, RunStepMicrosoftFabricToolCall, RunStepBingCustomSearchToolCall, RunStepAzureFunctionToolCall, AzureFunctionToolCallDetails, RunStepFunctionToolCall, RunStepFunctionToolCallDetails, RunStepOpenAPIToolCall, RunStepDeepResearchToolCall, RunStepDeepResearchToolCallDetails, RunStepConnectedAgentToolCall, RunStepConnectedAgent, RunStepActivityDetails, RunStepDetailsActivity, ActivityFunctionDefinition, ActivityFunctionParameters, FunctionArgument, RunStepError, RunStepErrorCode, RunStepCompletionUsage, FileListResponse, FileInfo, FilePurpose, FileState, FileDeletionStatus, VectorStore, VectorStoreFileCount, VectorStoreStatus, VectorStoreExpirationPolicy, VectorStoreExpirationPolicyAnchor, VectorStoreChunkingStrategyRequest, VectorStoreChunkingStrategyRequestUnion, VectorStoreChunkingStrategyRequestType, VectorStoreAutoChunkingStrategyRequest, VectorStoreStaticChunkingStrategyRequest, VectorStoreStaticChunkingStrategyOptions, VectorStoreDeletionStatus, VectorStoreFile, VectorStoreFileStatus, VectorStoreFileError, VectorStoreFileErrorCode, VectorStoreChunkingStrategyResponse, VectorStoreChunkingStrategyResponseUnion, VectorStoreChunkingStrategyResponseType, VectorStoreAutoChunkingStrategyResponse, VectorStoreStaticChunkingStrategyResponse, VectorStoreFileDeletionStatus, VectorStoreFileBatch, VectorStoreFileBatchStatus, MessageDeltaChunk, MessageDelta, MessageDeltaContent, MessageDeltaContentUnion, MessageDeltaImageFileContent, MessageDeltaImageFileContentObject, MessageDeltaTextContent, MessageDeltaTextContentObject, MessageDeltaTextAnnotation, MessageDeltaTextAnnotationUnion, MessageDeltaTextUrlCitationAnnotation, MessageDeltaTextUrlCitationDetails, MessageDeltaTextFileCitationAnnotation, MessageDeltaTextFileCitationAnnotationObject, MessageDeltaTextFilePathAnnotation, MessageDeltaTextFilePathAnnotationObject, RunStepDeltaChunk, RunStepDelta, RunStepDeltaDetail, RunStepDeltaDetailUnion, RunStepDeltaMessageCreation, RunStepDeltaMessageCreationObject, RunStepDeltaToolCallObject, RunStepDeltaToolCall, RunStepDeltaToolCallUnion, RunStepDeltaMcpToolCall, RunStepDeltaOpenAPIToolCall, RunStepDeltaConnectedAgentToolCall, RunStepDeltaFunctionToolCall, RunStepDeltaFunction, RunStepDeltaFileSearchToolCall, RunStepDeltaCodeInterpreterToolCall, RunStepDeltaCodeInterpreterDetailItemObject, RunStepDeltaCodeInterpreterOutput, RunStepDeltaCodeInterpreterOutputUnion, RunStepDeltaCodeInterpreterLogOutput, RunStepDeltaCodeInterpreterImageOutput, RunStepDeltaCodeInterpreterImageOutputObject, RunStepDeltaBingGroundingToolCall, RunStepDeltaCustomBingGroundingToolCall, RunStepDeltaAzureFunctionToolCall, RunStepDeltaDeepResearchToolCall, RunStepDeltaAzureAISearchToolCall, RunStepDeltaMicrosoftFabricToolCall, RunStepDeltaSharepointToolCall, RunStepDeltaMCPObject, RunStepDeltaOpenAPIObject, AgentStreamEvent, ThreadStreamEvent, RunStreamEvent, RunStepStreamEvent, MessageStreamEvent, ErrorEvent, DoneEvent, ListSortOrder, RunAdditionalFieldList, VectorStoreFileStatusFilter, KnownVersions, } from "./models/index.js";
8
9
  export { AgentsClientOptionalParams, CreateThreadAndRunOptionalParams, DeleteAgentOptionalParams, UpdateAgentOptionalParams, GetAgentOptionalParams, ListAgentsOptionalParams, CreateAgentOptionalParams, PollingOptionsParams, PollingOptions, } from "./api/index.js";
9
10
  export { FilesGetFileContentOptionalParams, FilesGetFileOptionalParams, FilesDeleteFileOptionalParams, FilesUploadFileOptionalParams, FilesListFilesOptionalParams, } from "./api/files/index.js";
10
- export { MessagesUpdateMessageOptionalParams, MessagesGetMessageOptionalParams, MessagesListMessagesOptionalParams, MessagesCreateMessageOptionalParams, } from "./api/messages/index.js";
11
+ export { MessagesDeleteOptionalParams, MessagesUpdateMessageOptionalParams, MessagesGetMessageOptionalParams, MessagesListMessagesOptionalParams, MessagesCreateMessageOptionalParams, } from "./api/messages/index.js";
11
12
  export { RunsCancelRunOptionalParams, RunsSubmitToolOutputsToRunOptionalParams, RunsUpdateRunOptionalParams, RunsGetRunOptionalParams, RunsListRunsOptionalParams, RunsCreateRunOptionalParams, } from "./api/runs/index.js";
12
13
  export { RunStepsListRunStepsOptionalParams, RunStepsGetRunStepOptionalParams, } from "./api/runSteps/index.js";
13
14
  export { ThreadsDeleteThreadOptionalParams, ThreadsUpdateThreadOptionalParams, ThreadsGetThreadOptionalParams, ThreadsListThreadsOptionalParams, ThreadsCreateThreadOptionalParams, } from "./api/threads/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,YAAY,EACZ,eAAe,EACf,0BAA0B,EAC3B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,m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jB,gCAAgC,EAChC,0BAA0B,EAC1B,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,0BAA0B,EAAE,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -3,6 +3,7 @@
3
3
  export * from "./models/streamingModels.js";
4
4
  export * from "./utils/utils.js";
5
5
  export { MCPTool } from "./utils/MCPTool.js";
6
+ export { OpenApiTool } from "./utils/OpenApiTool.js";
6
7
  export { AgentsClient } from "./agentsClient.js";
7
8
  export { VectorStoreDataSourceAssetType, ThreadStreamEvent, RunStreamEvent, RunStepStreamEvent, MessageStreamEvent, ErrorEvent, DoneEvent, KnownVersions, } from "./models/index.js";
8
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EA4CL,8BAA8B,EAmL9B,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,SAAS,EAIT,aAAa,GACd,MAAM,mBAAmB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\nimport { FileContents } from \"./static-helpers/multipartHelpers.js\";\nexport * from \"./models/streamingModels.js\";\nexport * from \"./utils/utils.js\";\nexport { MCPTool } from \"./utils/MCPTool.js\";\nexport { AgentsClient } from \"./agentsClient.js\";\nexport {\n ToolDefinition,\n ToolDefinitionUnion,\n CodeInterpreterToolDefinition,\n FileSearchToolDefinition,\n FileSearchToolDefinitionDetails,\n FileSearchRankingOptions,\n FunctionToolDefinition,\n FunctionDefinition,\n BingGroundingToolDefinition,\n BingGroundingSearchToolParameters,\n BingGroundingSearchConfiguration,\n MicrosoftFabricToolDefinition,\n FabricDataAgentToolParameters,\n ToolConnection,\n SharepointToolDefinition,\n SharepointGroundingToolParameters,\n AzureAISearchToolDefinition,\n OpenApiToolDefinition,\n OpenApiFunctionDefinition,\n OpenApiAuthDetails,\n OpenApiAuthDetailsUnion,\n OpenApiAuthType,\n OpenApiAnonymousAuthDetails,\n OpenApiConnectionAuthDetails,\n OpenApiConnectionSecurityScheme,\n OpenApiManagedAuthDetails,\n OpenApiManagedSecurityScheme,\n BingCustomSearchToolDefinition,\n BingCustomSearchToolParameters,\n BingCustomSearchConfiguration,\n ConnectedAgentToolDefinition,\n ConnectedAgentDetails,\n DeepResearchToolDefinition,\n DeepResearchDetails,\n DeepResearchBingGroundingConnection,\n MCPToolDefinition,\n AzureFunctionToolDefinition,\n AzureFunctionDefinition,\n AzureFunctionBinding,\n AzureFunctionStorageQueue,\n ToolResources,\n CodeInterpreterToolResource,\n VectorStoreDataSource,\n VectorStoreDataSourceAssetType,\n FileSearchToolResource,\n VectorStoreConfigurations,\n VectorStoreConfiguration,\n AzureAISearchToolResource,\n AISearchIndexResource,\n AzureAISearchQueryType,\n MCPToolResource,\n AgentsResponseFormat,\n ResponseFormat,\n ResponseFormatJsonSchemaType,\n ResponseFormatJsonSchema,\n AgentsResponseFormatOption,\n AgentsResponseFormatMode,\n Agent,\n AgentV1Error,\n AgentErrorDetail,\n AgentDeletionStatus,\n AgentThreadCreationOptions,\n ThreadMessageOptions,\n MessageRole,\n MessageInputContent,\n MessageInputContentBlock,\n MessageInputContentBlockUnion,\n MessageBlockType,\n MessageInputTextBlock,\n MessageInputImageFileBlock,\n MessageImageFileParam,\n ImageDetailLevel,\n MessageInputImageUrlBlock,\n MessageImageUrlParam,\n MessageAttachment,\n MessageAttachmentToolDefinition,\n TruncationObject,\n TruncationStrategy,\n AgentsNamedToolChoice,\n AgentsNamedToolChoiceType,\n FunctionName,\n AgentsToolChoiceOption,\n AgentsToolChoiceOptionMode,\n ThreadRun,\n RunStatus,\n RequiredAction,\n RequiredActionUnion,\n SubmitToolOutputsAction,\n SubmitToolOutputsDetails,\n RequiredToolCall,\n RequiredToolCallUnion,\n RequiredFunctionToolCall,\n RequiredFunctionToolCallDetails,\n RequiredMcpToolCall,\n SubmitToolApprovalAction,\n SubmitToolApprovalDetails,\n RunError,\n IncompleteRunDetails,\n IncompleteDetailsReason,\n RunCompletionUsage,\n AgentThread,\n ThreadDeletionStatus,\n ThreadMessage,\n MessageStatus,\n MessageIncompleteDetails,\n MessageIncompleteDetailsReason,\n MessageContent,\n MessageContentUnion,\n MessageTextContent,\n MessageTextDetails,\n MessageTextAnnotation,\n MessageTextAnnotationUnion,\n MessageTextUrlCitationAnnotation,\n MessageTextUrlCitationDetails,\n MessageTextFileCitationAnnotation,\n MessageTextFileCitationDetails,\n MessageTextFilePathAnnotation,\n MessageTextFilePathDetails,\n MessageImageFileContent,\n MessageImageFileDetails,\n ToolOutput,\n ToolApproval,\n RunStep,\n RunStepType,\n RunStepStatus,\n RunStepDetails,\n RunStepDetailsUnion,\n RunStepMessageCreationDetails,\n RunStepMessageCreationReference,\n RunStepToolCallDetails,\n RunStepToolCall,\n RunStepToolCallUnion,\n RunStepCodeInterpreterToolCall,\n RunStepCodeInterpreterToolCallDetails,\n RunStepCodeInterpreterToolCallOutput,\n RunStepCodeInterpreterToolCallOutputUnion,\n RunStepCodeInterpreterLogOutput,\n RunStepCodeInterpreterImageOutput,\n RunStepCodeInterpreterImageReference,\n RunStepFileSearchToolCall,\n RunStepFileSearchToolCallResults,\n RunStepFileSearchToolCallResult,\n FileSearchToolCallContent,\n RunStepBingGroundingToolCall,\n RunStepAzureAISearchToolCall,\n RunStepMcpToolCall,\n RunStepSharepointToolCall,\n RunStepMicrosoftFabricToolCall,\n RunStepBingCustomSearchToolCall,\n RunStepFunctionToolCall,\n RunStepFunctionToolCallDetails,\n RunStepOpenAPIToolCall,\n RunStepDeepResearchToolCall,\n RunStepDeepResearchToolCallDetails,\n RunStepError,\n RunStepErrorCode,\n RunStepCompletionUsage,\n FileListResponse,\n FileInfo,\n FilePurpose,\n FileState,\n FileDeletionStatus,\n VectorStore,\n VectorStoreFileCount,\n VectorStoreStatus,\n VectorStoreExpirationPolicy,\n VectorStoreExpirationPolicyAnchor,\n VectorStoreChunkingStrategyRequest,\n VectorStoreChunkingStrategyRequestUnion,\n VectorStoreChunkingStrategyRequestType,\n VectorStoreAutoChunkingStrategyRequest,\n VectorStoreStaticChunkingStrategyRequest,\n VectorStoreStaticChunkingStrategyOptions,\n VectorStoreDeletionStatus,\n VectorStoreFile,\n VectorStoreFileStatus,\n VectorStoreFileError,\n VectorStoreFileErrorCode,\n VectorStoreChunkingStrategyResponse,\n VectorStoreChunkingStrategyResponseUnion,\n VectorStoreChunkingStrategyResponseType,\n VectorStoreAutoChunkingStrategyResponse,\n VectorStoreStaticChunkingStrategyResponse,\n VectorStoreFileDeletionStatus,\n VectorStoreFileBatch,\n VectorStoreFileBatchStatus,\n MessageDeltaChunk,\n MessageDelta,\n MessageDeltaContent,\n MessageDeltaContentUnion,\n MessageDeltaImageFileContent,\n MessageDeltaImageFileContentObject,\n MessageDeltaTextContent,\n MessageDeltaTextContentObject,\n MessageDeltaTextAnnotation,\n MessageDeltaTextAnnotationUnion,\n MessageDeltaTextUrlCitationAnnotation,\n MessageDeltaTextUrlCitationDetails,\n MessageDeltaTextFileCitationAnnotation,\n MessageDeltaTextFileCitationAnnotationObject,\n MessageDeltaTextFilePathAnnotation,\n MessageDeltaTextFilePathAnnotationObject,\n RunStepDeltaChunk,\n RunStepDelta,\n RunStepDeltaDetail,\n RunStepDeltaDetailUnion,\n RunStepDeltaMessageCreation,\n RunStepDeltaMessageCreationObject,\n RunStepDeltaToolCallObject,\n RunStepDeltaToolCall,\n RunStepDeltaToolCallUnion,\n RunStepDeltaFunctionToolCall,\n RunStepDeltaFunction,\n RunStepDeltaFileSearchToolCall,\n RunStepDeltaCodeInterpreterToolCall,\n RunStepDeltaCodeInterpreterDetailItemObject,\n RunStepDeltaCodeInterpreterOutput,\n RunStepDeltaCodeInterpreterOutputUnion,\n RunStepDeltaCodeInterpreterLogOutput,\n RunStepDeltaCodeInterpreterImageOutput,\n RunStepDeltaCodeInterpreterImageOutputObject,\n AgentStreamEvent,\n ThreadStreamEvent,\n RunStreamEvent,\n RunStepStreamEvent,\n MessageStreamEvent,\n ErrorEvent,\n DoneEvent,\n ListSortOrder,\n RunAdditionalFieldList,\n VectorStoreFileStatusFilter,\n KnownVersions,\n} from \"./models/index.js\";\nexport {\n AgentsClientOptionalParams,\n CreateThreadAndRunOptionalParams,\n DeleteAgentOptionalParams,\n UpdateAgentOptionalParams,\n GetAgentOptionalParams,\n ListAgentsOptionalParams,\n CreateAgentOptionalParams,\n PollingOptionsParams,\n PollingOptions,\n} from \"./api/index.js\";\nexport {\n FilesGetFileContentOptionalParams,\n FilesGetFileOptionalParams,\n FilesDeleteFileOptionalParams,\n FilesUploadFileOptionalParams,\n FilesListFilesOptionalParams,\n} from \"./api/files/index.js\";\nexport {\n MessagesUpdateMessageOptionalParams,\n MessagesGetMessageOptionalParams,\n MessagesListMessagesOptionalParams,\n MessagesCreateMessageOptionalParams,\n} from \"./api/messages/index.js\";\nexport {\n RunsCancelRunOptionalParams,\n RunsSubmitToolOutputsToRunOptionalParams,\n RunsUpdateRunOptionalParams,\n RunsGetRunOptionalParams,\n RunsListRunsOptionalParams,\n RunsCreateRunOptionalParams,\n} from \"./api/runs/index.js\";\nexport {\n RunStepsListRunStepsOptionalParams,\n RunStepsGetRunStepOptionalParams,\n} from \"./api/runSteps/index.js\";\nexport {\n ThreadsDeleteThreadOptionalParams,\n ThreadsUpdateThreadOptionalParams,\n ThreadsGetThreadOptionalParams,\n ThreadsListThreadsOptionalParams,\n ThreadsCreateThreadOptionalParams,\n} from \"./api/threads/index.js\";\nexport {\n VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams,\n VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams,\n VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams,\n VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n} from \"./api/vectorStoreFileBatches/index.js\";\nexport {\n VectorStoreFilesDeleteVectorStoreFileOptionalParams,\n VectorStoreFilesGetVectorStoreFileOptionalParams,\n VectorStoreFilesCreateVectorStoreFileOptionalParams,\n VectorStoreFilesListVectorStoreFilesOptionalParams,\n} from \"./api/vectorStoreFiles/index.js\";\nexport {\n VectorStoresDeleteVectorStoreOptionalParams,\n VectorStoresModifyVectorStoreOptionalParams,\n VectorStoresGetVectorStoreOptionalParams,\n VectorStoresCreateVectorStoreOptionalParams,\n VectorStoresListVectorStoresOptionalParams,\n} from \"./api/vectorStores/index.js\";\nexport {\n FilesOperations,\n MessagesOperations,\n RunsOperations,\n RunStepsOperations,\n ThreadsOperations,\n VectorStoreFileBatchesOperations,\n VectorStoreFilesOperations,\n VectorStoresOperations,\n} from \"./classic/index.js\";\nexport { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { FileContents };\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EA+CL,8BAA8B,EA+M9B,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,SAAS,EAIT,aAAa,GACd,MAAM,mBAAmB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\nimport { FileContents } from \"./static-helpers/multipartHelpers.js\";\nexport * from \"./models/streamingModels.js\";\nexport * from \"./utils/utils.js\";\nexport { MCPTool } from \"./utils/MCPTool.js\";\nexport { OpenApiTool } from \"./utils/OpenApiTool.js\";\nexport { AgentsClient } from \"./agentsClient.js\";\nexport {\n ToolDefinition,\n ToolDefinitionUnion,\n CodeInterpreterToolDefinition,\n FileSearchToolDefinition,\n FileSearchToolDefinitionDetails,\n FileSearchRankingOptions,\n FunctionToolDefinition,\n FunctionDefinition,\n BingGroundingToolDefinition,\n BingGroundingSearchToolParameters,\n BingGroundingSearchConfiguration,\n MicrosoftFabricToolDefinition,\n FabricDataAgentToolParameters,\n ToolConnection,\n SharepointToolDefinition,\n SharepointGroundingToolParameters,\n AzureAISearchToolDefinition,\n OpenApiToolDefinition,\n OpenApiFunctionDefinition,\n OpenApiAuthDetails,\n OpenApiAuthDetailsUnion,\n OpenApiAuthType,\n OpenApiAnonymousAuthDetails,\n OpenApiConnectionAuthDetails,\n OpenApiConnectionSecurityScheme,\n OpenApiManagedAuthDetails,\n OpenApiManagedSecurityScheme,\n BingCustomSearchToolDefinition,\n BingCustomSearchToolParameters,\n BingCustomSearchConfiguration,\n ConnectedAgentToolDefinition,\n ConnectedAgentDetails,\n DeepResearchToolDefinition,\n DeepResearchDetails,\n DeepResearchBingGroundingConnection,\n MCPToolDefinition,\n AzureFunctionToolDefinition,\n AzureFunctionDefinition,\n AzureFunctionBinding,\n AzureFunctionStorageQueue,\n BrowserAutomationToolDefinition,\n BrowserAutomationToolParameters,\n BrowserAutomationToolConnectionParameters,\n ToolResources,\n CodeInterpreterToolResource,\n VectorStoreDataSource,\n VectorStoreDataSourceAssetType,\n FileSearchToolResource,\n VectorStoreConfigurations,\n VectorStoreConfiguration,\n AzureAISearchToolResource,\n AISearchIndexResource,\n AzureAISearchQueryType,\n MCPToolResource,\n MCPRequiredApproval,\n MCPApprovalPerTool,\n MCPToolList,\n AgentsResponseFormat,\n ResponseFormat,\n ResponseFormatJsonSchemaType,\n ResponseFormatJsonSchema,\n AgentsResponseFormatOption,\n AgentsResponseFormatMode,\n Agent,\n AgentV1Error,\n AgentErrorDetail,\n AgentDeletionStatus,\n AgentThreadCreationOptions,\n ThreadMessageOptions,\n MessageRole,\n MessageInputContent,\n MessageInputContentBlock,\n MessageInputContentBlockUnion,\n MessageBlockType,\n MessageInputTextBlock,\n MessageInputImageFileBlock,\n MessageImageFileParam,\n ImageDetailLevel,\n MessageInputImageUrlBlock,\n MessageImageUrlParam,\n MessageAttachment,\n MessageAttachmentToolDefinition,\n TruncationObject,\n TruncationStrategy,\n AgentsNamedToolChoice,\n AgentsNamedToolChoiceType,\n FunctionName,\n AgentsToolChoiceOption,\n AgentsToolChoiceOptionMode,\n ThreadRun,\n RunStatus,\n RequiredAction,\n RequiredActionUnion,\n SubmitToolOutputsAction,\n SubmitToolOutputsDetails,\n RequiredToolCall,\n RequiredToolCallUnion,\n RequiredFunctionToolCall,\n RequiredFunctionToolCallDetails,\n RequiredMcpToolCall,\n SubmitToolApprovalAction,\n SubmitToolApprovalDetails,\n RunError,\n IncompleteRunDetails,\n IncompleteDetailsReason,\n RunCompletionUsage,\n AgentThread,\n ThreadDeletionStatus,\n ThreadMessage,\n MessageStatus,\n MessageIncompleteDetails,\n MessageIncompleteDetailsReason,\n MessageContent,\n MessageContentUnion,\n MessageTextContent,\n MessageTextDetails,\n MessageTextAnnotation,\n MessageTextAnnotationUnion,\n MessageTextUrlCitationAnnotation,\n MessageTextUrlCitationDetails,\n MessageTextFileCitationAnnotation,\n MessageTextFileCitationDetails,\n MessageTextFilePathAnnotation,\n MessageTextFilePathDetails,\n MessageImageFileContent,\n MessageImageFileDetails,\n MessageDeletionStatus,\n ToolOutput,\n ToolApproval,\n RunStep,\n RunStepType,\n RunStepStatus,\n RunStepDetails,\n RunStepDetailsUnion,\n RunStepMessageCreationDetails,\n RunStepMessageCreationReference,\n RunStepToolCallDetails,\n RunStepToolCall,\n RunStepToolCallUnion,\n RunStepCodeInterpreterToolCall,\n RunStepCodeInterpreterToolCallDetails,\n RunStepCodeInterpreterToolCallOutput,\n RunStepCodeInterpreterToolCallOutputUnion,\n RunStepCodeInterpreterLogOutput,\n RunStepCodeInterpreterImageOutput,\n RunStepCodeInterpreterImageReference,\n RunStepFileSearchToolCall,\n RunStepFileSearchToolCallResults,\n RunStepFileSearchToolCallResult,\n FileSearchToolCallContent,\n RunStepBingGroundingToolCall,\n RunStepAzureAISearchToolCall,\n RunStepBrowserAutomationToolCall,\n BrowserAutomationToolCallDetails,\n BrowserAutomationToolCallStep,\n RunStepMcpToolCall,\n RunStepSharepointToolCall,\n RunStepMicrosoftFabricToolCall,\n RunStepBingCustomSearchToolCall,\n RunStepAzureFunctionToolCall,\n AzureFunctionToolCallDetails,\n RunStepFunctionToolCall,\n RunStepFunctionToolCallDetails,\n RunStepOpenAPIToolCall,\n RunStepDeepResearchToolCall,\n RunStepDeepResearchToolCallDetails,\n RunStepConnectedAgentToolCall,\n RunStepConnectedAgent,\n RunStepActivityDetails,\n RunStepDetailsActivity,\n ActivityFunctionDefinition,\n ActivityFunctionParameters,\n FunctionArgument,\n RunStepError,\n RunStepErrorCode,\n RunStepCompletionUsage,\n FileListResponse,\n FileInfo,\n FilePurpose,\n FileState,\n FileDeletionStatus,\n VectorStore,\n VectorStoreFileCount,\n VectorStoreStatus,\n VectorStoreExpirationPolicy,\n VectorStoreExpirationPolicyAnchor,\n VectorStoreChunkingStrategyRequest,\n VectorStoreChunkingStrategyRequestUnion,\n VectorStoreChunkingStrategyRequestType,\n VectorStoreAutoChunkingStrategyRequest,\n VectorStoreStaticChunkingStrategyRequest,\n VectorStoreStaticChunkingStrategyOptions,\n VectorStoreDeletionStatus,\n VectorStoreFile,\n VectorStoreFileStatus,\n VectorStoreFileError,\n VectorStoreFileErrorCode,\n VectorStoreChunkingStrategyResponse,\n VectorStoreChunkingStrategyResponseUnion,\n VectorStoreChunkingStrategyResponseType,\n VectorStoreAutoChunkingStrategyResponse,\n VectorStoreStaticChunkingStrategyResponse,\n VectorStoreFileDeletionStatus,\n VectorStoreFileBatch,\n VectorStoreFileBatchStatus,\n MessageDeltaChunk,\n MessageDelta,\n MessageDeltaContent,\n MessageDeltaContentUnion,\n MessageDeltaImageFileContent,\n MessageDeltaImageFileContentObject,\n MessageDeltaTextContent,\n MessageDeltaTextContentObject,\n MessageDeltaTextAnnotation,\n MessageDeltaTextAnnotationUnion,\n MessageDeltaTextUrlCitationAnnotation,\n MessageDeltaTextUrlCitationDetails,\n MessageDeltaTextFileCitationAnnotation,\n MessageDeltaTextFileCitationAnnotationObject,\n MessageDeltaTextFilePathAnnotation,\n MessageDeltaTextFilePathAnnotationObject,\n RunStepDeltaChunk,\n RunStepDelta,\n RunStepDeltaDetail,\n RunStepDeltaDetailUnion,\n RunStepDeltaMessageCreation,\n RunStepDeltaMessageCreationObject,\n RunStepDeltaToolCallObject,\n RunStepDeltaToolCall,\n RunStepDeltaToolCallUnion,\n RunStepDeltaMcpToolCall,\n RunStepDeltaOpenAPIToolCall,\n RunStepDeltaConnectedAgentToolCall,\n RunStepDeltaFunctionToolCall,\n RunStepDeltaFunction,\n RunStepDeltaFileSearchToolCall,\n RunStepDeltaCodeInterpreterToolCall,\n RunStepDeltaCodeInterpreterDetailItemObject,\n RunStepDeltaCodeInterpreterOutput,\n RunStepDeltaCodeInterpreterOutputUnion,\n RunStepDeltaCodeInterpreterLogOutput,\n RunStepDeltaCodeInterpreterImageOutput,\n RunStepDeltaCodeInterpreterImageOutputObject,\n RunStepDeltaBingGroundingToolCall,\n RunStepDeltaCustomBingGroundingToolCall,\n RunStepDeltaAzureFunctionToolCall,\n RunStepDeltaDeepResearchToolCall,\n RunStepDeltaAzureAISearchToolCall,\n RunStepDeltaMicrosoftFabricToolCall,\n RunStepDeltaSharepointToolCall,\n RunStepDeltaMCPObject,\n RunStepDeltaOpenAPIObject,\n AgentStreamEvent,\n ThreadStreamEvent,\n RunStreamEvent,\n RunStepStreamEvent,\n MessageStreamEvent,\n ErrorEvent,\n DoneEvent,\n ListSortOrder,\n RunAdditionalFieldList,\n VectorStoreFileStatusFilter,\n KnownVersions,\n} from \"./models/index.js\";\nexport {\n AgentsClientOptionalParams,\n CreateThreadAndRunOptionalParams,\n DeleteAgentOptionalParams,\n UpdateAgentOptionalParams,\n GetAgentOptionalParams,\n ListAgentsOptionalParams,\n CreateAgentOptionalParams,\n PollingOptionsParams,\n PollingOptions,\n} from \"./api/index.js\";\nexport {\n FilesGetFileContentOptionalParams,\n FilesGetFileOptionalParams,\n FilesDeleteFileOptionalParams,\n FilesUploadFileOptionalParams,\n FilesListFilesOptionalParams,\n} from \"./api/files/index.js\";\nexport {\n MessagesDeleteOptionalParams,\n MessagesUpdateMessageOptionalParams,\n MessagesGetMessageOptionalParams,\n MessagesListMessagesOptionalParams,\n MessagesCreateMessageOptionalParams,\n} from \"./api/messages/index.js\";\nexport {\n RunsCancelRunOptionalParams,\n RunsSubmitToolOutputsToRunOptionalParams,\n RunsUpdateRunOptionalParams,\n RunsGetRunOptionalParams,\n RunsListRunsOptionalParams,\n RunsCreateRunOptionalParams,\n} from \"./api/runs/index.js\";\nexport {\n RunStepsListRunStepsOptionalParams,\n RunStepsGetRunStepOptionalParams,\n} from \"./api/runSteps/index.js\";\nexport {\n ThreadsDeleteThreadOptionalParams,\n ThreadsUpdateThreadOptionalParams,\n ThreadsGetThreadOptionalParams,\n ThreadsListThreadsOptionalParams,\n ThreadsCreateThreadOptionalParams,\n} from \"./api/threads/index.js\";\nexport {\n VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams,\n VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams,\n VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams,\n VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n} from \"./api/vectorStoreFileBatches/index.js\";\nexport {\n VectorStoreFilesDeleteVectorStoreFileOptionalParams,\n VectorStoreFilesGetVectorStoreFileOptionalParams,\n VectorStoreFilesCreateVectorStoreFileOptionalParams,\n VectorStoreFilesListVectorStoreFilesOptionalParams,\n} from \"./api/vectorStoreFiles/index.js\";\nexport {\n VectorStoresDeleteVectorStoreOptionalParams,\n VectorStoresModifyVectorStoreOptionalParams,\n VectorStoresGetVectorStoreOptionalParams,\n VectorStoresCreateVectorStoreOptionalParams,\n VectorStoresListVectorStoresOptionalParams,\n} from \"./api/vectorStores/index.js\";\nexport {\n FilesOperations,\n MessagesOperations,\n RunsOperations,\n RunStepsOperations,\n ThreadsOperations,\n VectorStoreFileBatchesOperations,\n VectorStoreFilesOperations,\n VectorStoresOperations,\n} from \"./classic/index.js\";\nexport { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { FileContents };\n"]}
@@ -1,3 +1,3 @@
1
1
  export * from "./streamingModels.js";
2
- export { ToolDefinition, ToolDefinitionUnion, CodeInterpreterToolDefinition, FileSearchToolDefinition, FileSearchToolDefinitionDetails, FileSearchRankingOptions, FunctionToolDefinition, FunctionDefinition, BingGroundingToolDefinition, BingGroundingSearchToolParameters, BingGroundingSearchConfiguration, MicrosoftFabricToolDefinition, FabricDataAgentToolParameters, ToolConnection, SharepointToolDefinition, SharepointGroundingToolParameters, AzureAISearchToolDefinition, OpenApiToolDefinition, OpenApiFunctionDefinition, OpenApiAuthDetails, OpenApiAuthDetailsUnion, OpenApiAuthType, OpenApiAnonymousAuthDetails, OpenApiConnectionAuthDetails, OpenApiConnectionSecurityScheme, OpenApiManagedAuthDetails, OpenApiManagedSecurityScheme, BingCustomSearchToolDefinition, BingCustomSearchToolParameters, BingCustomSearchConfiguration, ConnectedAgentToolDefinition, ConnectedAgentDetails, DeepResearchToolDefinition, DeepResearchDetails, DeepResearchBingGroundingConnection, MCPToolDefinition, AzureFunctionToolDefinition, AzureFunctionDefinition, AzureFunctionBinding, AzureFunctionStorageQueue, ToolResources, CodeInterpreterToolResource, VectorStoreDataSource, VectorStoreDataSourceAssetType, FileSearchToolResource, VectorStoreConfigurations, VectorStoreConfiguration, AzureAISearchToolResource, AISearchIndexResource, AzureAISearchQueryType, MCPToolResource, AgentsResponseFormat, ResponseFormat, ResponseFormatJsonSchemaType, ResponseFormatJsonSchema, AgentsResponseFormatOption, AgentsResponseFormatMode, Agent, AgentV1Error, AgentErrorDetail, AgentDeletionStatus, AgentThreadCreationOptions, ThreadMessageOptions, MessageRole, MessageInputContent, MessageInputContentBlock, MessageInputContentBlockUnion, MessageBlockType, MessageInputTextBlock, MessageInputImageFileBlock, MessageImageFileParam, ImageDetailLevel, MessageInputImageUrlBlock, MessageImageUrlParam, MessageAttachment, MessageAttachmentToolDefinition, TruncationObject, TruncationStrategy, AgentsNamedToolChoice, AgentsNamedToolChoiceType, FunctionName, AgentsToolChoiceOption, AgentsToolChoiceOptionMode, ThreadRun, RunStatus, RequiredAction, RequiredActionUnion, SubmitToolOutputsAction, SubmitToolOutputsDetails, RequiredToolCall, RequiredToolCallUnion, RequiredFunctionToolCall, RequiredFunctionToolCallDetails, RequiredMcpToolCall, SubmitToolApprovalAction, SubmitToolApprovalDetails, RunError, IncompleteRunDetails, IncompleteDetailsReason, RunCompletionUsage, AgentThread, ThreadDeletionStatus, ThreadMessage, MessageStatus, MessageIncompleteDetails, MessageIncompleteDetailsReason, MessageContent, MessageContentUnion, MessageTextContent, MessageTextDetails, MessageTextAnnotation, MessageTextAnnotationUnion, MessageTextUrlCitationAnnotation, MessageTextUrlCitationDetails, MessageTextFileCitationAnnotation, MessageTextFileCitationDetails, MessageTextFilePathAnnotation, MessageTextFilePathDetails, MessageImageFileContent, MessageImageFileDetails, ToolOutput, ToolApproval, RunStep, RunStepType, RunStepStatus, RunStepDetails, RunStepDetailsUnion, RunStepMessageCreationDetails, RunStepMessageCreationReference, RunStepToolCallDetails, RunStepToolCall, RunStepToolCallUnion, RunStepCodeInterpreterToolCall, RunStepCodeInterpreterToolCallDetails, RunStepCodeInterpreterToolCallOutput, RunStepCodeInterpreterToolCallOutputUnion, RunStepCodeInterpreterLogOutput, RunStepCodeInterpreterImageOutput, RunStepCodeInterpreterImageReference, RunStepFileSearchToolCall, RunStepFileSearchToolCallResults, RunStepFileSearchToolCallResult, FileSearchToolCallContent, RunStepBingGroundingToolCall, RunStepAzureAISearchToolCall, RunStepMcpToolCall, RunStepSharepointToolCall, RunStepMicrosoftFabricToolCall, RunStepBingCustomSearchToolCall, RunStepFunctionToolCall, RunStepFunctionToolCallDetails, RunStepOpenAPIToolCall, RunStepDeepResearchToolCall, RunStepDeepResearchToolCallDetails, RunStepError, RunStepErrorCode, RunStepCompletionUsage, FileListResponse, FileInfo, FilePurpose, FileState, FileDeletionStatus, VectorStore, VectorStoreFileCount, VectorStoreStatus, VectorStoreExpirationPolicy, VectorStoreExpirationPolicyAnchor, VectorStoreChunkingStrategyRequest, VectorStoreChunkingStrategyRequestUnion, VectorStoreChunkingStrategyRequestType, VectorStoreAutoChunkingStrategyRequest, VectorStoreStaticChunkingStrategyRequest, VectorStoreStaticChunkingStrategyOptions, VectorStoreDeletionStatus, VectorStoreFile, VectorStoreFileStatus, VectorStoreFileError, VectorStoreFileErrorCode, VectorStoreChunkingStrategyResponse, VectorStoreChunkingStrategyResponseUnion, VectorStoreChunkingStrategyResponseType, VectorStoreAutoChunkingStrategyResponse, VectorStoreStaticChunkingStrategyResponse, VectorStoreFileDeletionStatus, VectorStoreFileBatch, VectorStoreFileBatchStatus, MessageDeltaChunk, MessageDelta, MessageDeltaContent, MessageDeltaContentUnion, MessageDeltaImageFileContent, MessageDeltaImageFileContentObject, MessageDeltaTextContent, MessageDeltaTextContentObject, MessageDeltaTextAnnotation, MessageDeltaTextAnnotationUnion, MessageDeltaTextUrlCitationAnnotation, MessageDeltaTextUrlCitationDetails, MessageDeltaTextFileCitationAnnotation, MessageDeltaTextFileCitationAnnotationObject, MessageDeltaTextFilePathAnnotation, MessageDeltaTextFilePathAnnotationObject, RunStepDeltaChunk, RunStepDelta, RunStepDeltaDetail, RunStepDeltaDetailUnion, RunStepDeltaMessageCreation, RunStepDeltaMessageCreationObject, RunStepDeltaToolCallObject, RunStepDeltaToolCall, RunStepDeltaToolCallUnion, RunStepDeltaFunctionToolCall, RunStepDeltaFunction, RunStepDeltaFileSearchToolCall, RunStepDeltaCodeInterpreterToolCall, RunStepDeltaCodeInterpreterDetailItemObject, RunStepDeltaCodeInterpreterOutput, RunStepDeltaCodeInterpreterOutputUnion, RunStepDeltaCodeInterpreterLogOutput, RunStepDeltaCodeInterpreterImageOutput, RunStepDeltaCodeInterpreterImageOutputObject, AgentStreamEvent, ThreadStreamEvent, RunStreamEvent, RunStepStreamEvent, MessageStreamEvent, ErrorEvent, DoneEvent, ListSortOrder, RunAdditionalFieldList, VectorStoreFileStatusFilter, KnownVersions, } from "./models.js";
2
+ export { ToolDefinition, ToolDefinitionUnion, CodeInterpreterToolDefinition, FileSearchToolDefinition, FileSearchToolDefinitionDetails, FileSearchRankingOptions, FunctionToolDefinition, FunctionDefinition, BingGroundingToolDefinition, BingGroundingSearchToolParameters, BingGroundingSearchConfiguration, MicrosoftFabricToolDefinition, FabricDataAgentToolParameters, ToolConnection, SharepointToolDefinition, SharepointGroundingToolParameters, AzureAISearchToolDefinition, OpenApiToolDefinition, OpenApiFunctionDefinition, OpenApiAuthDetails, OpenApiAuthDetailsUnion, OpenApiAuthType, OpenApiAnonymousAuthDetails, OpenApiConnectionAuthDetails, OpenApiConnectionSecurityScheme, OpenApiManagedAuthDetails, OpenApiManagedSecurityScheme, BingCustomSearchToolDefinition, BingCustomSearchToolParameters, BingCustomSearchConfiguration, ConnectedAgentToolDefinition, ConnectedAgentDetails, DeepResearchToolDefinition, DeepResearchDetails, DeepResearchBingGroundingConnection, MCPToolDefinition, AzureFunctionToolDefinition, AzureFunctionDefinition, AzureFunctionBinding, AzureFunctionStorageQueue, BrowserAutomationToolDefinition, BrowserAutomationToolParameters, BrowserAutomationToolConnectionParameters, ToolResources, CodeInterpreterToolResource, VectorStoreDataSource, VectorStoreDataSourceAssetType, FileSearchToolResource, VectorStoreConfigurations, VectorStoreConfiguration, AzureAISearchToolResource, AISearchIndexResource, AzureAISearchQueryType, MCPToolResource, MCPRequiredApproval, MCPApprovalPerTool, MCPToolList, AgentsResponseFormat, ResponseFormat, ResponseFormatJsonSchemaType, ResponseFormatJsonSchema, AgentsResponseFormatOption, AgentsResponseFormatMode, Agent, AgentV1Error, AgentErrorDetail, AgentDeletionStatus, AgentThreadCreationOptions, ThreadMessageOptions, MessageRole, MessageInputContent, MessageInputContentBlock, MessageInputContentBlockUnion, MessageBlockType, MessageInputTextBlock, MessageInputImageFileBlock, MessageImageFileParam, ImageDetailLevel, MessageInputImageUrlBlock, MessageImageUrlParam, MessageAttachment, MessageAttachmentToolDefinition, TruncationObject, TruncationStrategy, AgentsNamedToolChoice, AgentsNamedToolChoiceType, FunctionName, AgentsToolChoiceOption, AgentsToolChoiceOptionMode, ThreadRun, RunStatus, RequiredAction, RequiredActionUnion, SubmitToolOutputsAction, SubmitToolOutputsDetails, RequiredToolCall, RequiredToolCallUnion, RequiredFunctionToolCall, RequiredFunctionToolCallDetails, RequiredMcpToolCall, SubmitToolApprovalAction, SubmitToolApprovalDetails, RunError, IncompleteRunDetails, IncompleteDetailsReason, RunCompletionUsage, AgentThread, ThreadDeletionStatus, ThreadMessage, MessageStatus, MessageIncompleteDetails, MessageIncompleteDetailsReason, MessageContent, MessageContentUnion, MessageTextContent, MessageTextDetails, MessageTextAnnotation, MessageTextAnnotationUnion, MessageTextUrlCitationAnnotation, MessageTextUrlCitationDetails, MessageTextFileCitationAnnotation, MessageTextFileCitationDetails, MessageTextFilePathAnnotation, MessageTextFilePathDetails, MessageImageFileContent, MessageImageFileDetails, MessageDeletionStatus, ToolOutput, ToolApproval, RunStep, RunStepType, RunStepStatus, RunStepDetails, RunStepDetailsUnion, RunStepMessageCreationDetails, RunStepMessageCreationReference, RunStepToolCallDetails, RunStepToolCall, RunStepToolCallUnion, RunStepCodeInterpreterToolCall, RunStepCodeInterpreterToolCallDetails, RunStepCodeInterpreterToolCallOutput, RunStepCodeInterpreterToolCallOutputUnion, RunStepCodeInterpreterLogOutput, RunStepCodeInterpreterImageOutput, RunStepCodeInterpreterImageReference, RunStepFileSearchToolCall, RunStepFileSearchToolCallResults, RunStepFileSearchToolCallResult, FileSearchToolCallContent, RunStepBingGroundingToolCall, RunStepAzureAISearchToolCall, RunStepBrowserAutomationToolCall, BrowserAutomationToolCallDetails, BrowserAutomationToolCallStep, RunStepMcpToolCall, RunStepSharepointToolCall, RunStepMicrosoftFabricToolCall, RunStepBingCustomSearchToolCall, RunStepAzureFunctionToolCall, AzureFunctionToolCallDetails, RunStepFunctionToolCall, RunStepFunctionToolCallDetails, RunStepOpenAPIToolCall, RunStepDeepResearchToolCall, RunStepDeepResearchToolCallDetails, RunStepConnectedAgentToolCall, RunStepConnectedAgent, RunStepActivityDetails, RunStepDetailsActivity, ActivityFunctionDefinition, ActivityFunctionParameters, FunctionArgument, RunStepError, RunStepErrorCode, RunStepCompletionUsage, FileListResponse, FileInfo, FilePurpose, FileState, FileDeletionStatus, VectorStore, VectorStoreFileCount, VectorStoreStatus, VectorStoreExpirationPolicy, VectorStoreExpirationPolicyAnchor, VectorStoreChunkingStrategyRequest, VectorStoreChunkingStrategyRequestUnion, VectorStoreChunkingStrategyRequestType, VectorStoreAutoChunkingStrategyRequest, VectorStoreStaticChunkingStrategyRequest, VectorStoreStaticChunkingStrategyOptions, VectorStoreDeletionStatus, VectorStoreFile, VectorStoreFileStatus, VectorStoreFileError, VectorStoreFileErrorCode, VectorStoreChunkingStrategyResponse, VectorStoreChunkingStrategyResponseUnion, VectorStoreChunkingStrategyResponseType, VectorStoreAutoChunkingStrategyResponse, VectorStoreStaticChunkingStrategyResponse, VectorStoreFileDeletionStatus, VectorStoreFileBatch, VectorStoreFileBatchStatus, MessageDeltaChunk, MessageDelta, MessageDeltaContent, MessageDeltaContentUnion, MessageDeltaImageFileContent, MessageDeltaImageFileContentObject, MessageDeltaTextContent, MessageDeltaTextContentObject, MessageDeltaTextAnnotation, MessageDeltaTextAnnotationUnion, MessageDeltaTextUrlCitationAnnotation, MessageDeltaTextUrlCitationDetails, MessageDeltaTextFileCitationAnnotation, MessageDeltaTextFileCitationAnnotationObject, MessageDeltaTextFilePathAnnotation, MessageDeltaTextFilePathAnnotationObject, RunStepDeltaChunk, RunStepDelta, RunStepDeltaDetail, RunStepDeltaDetailUnion, RunStepDeltaMessageCreation, RunStepDeltaMessageCreationObject, RunStepDeltaToolCallObject, RunStepDeltaToolCall, RunStepDeltaToolCallUnion, RunStepDeltaMcpToolCall, RunStepDeltaOpenAPIToolCall, RunStepDeltaConnectedAgentToolCall, RunStepDeltaFunctionToolCall, RunStepDeltaFunction, RunStepDeltaFileSearchToolCall, RunStepDeltaCodeInterpreterToolCall, RunStepDeltaCodeInterpreterDetailItemObject, RunStepDeltaCodeInterpreterOutput, RunStepDeltaCodeInterpreterOutputUnion, RunStepDeltaCodeInterpreterLogOutput, RunStepDeltaCodeInterpreterImageOutput, RunStepDeltaCodeInterpreterImageOutputObject, RunStepDeltaBingGroundingToolCall, RunStepDeltaCustomBingGroundingToolCall, RunStepDeltaAzureFunctionToolCall, RunStepDeltaDeepResearchToolCall, RunStepDeltaAzureAISearchToolCall, RunStepDeltaMicrosoftFabricToolCall, RunStepDeltaSharepointToolCall, RunStepDeltaMCPObject, RunStepDeltaOpenAPIObject, AgentStreamEvent, ThreadStreamEvent, RunStreamEvent, RunStepStreamEvent, MessageStreamEvent, ErrorEvent, DoneEvent, ListSortOrder, RunAdditionalFieldList, VectorStoreFileStatusFilter, KnownVersions, } from "./models.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAGA,cAAc,sBAAsB,CAAC;AACrC,OAAO,EACL,c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AAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,mCAAmC,EACnC,wCAAwC,EACxC,uCAAuC,EACvC,uCAAuC,EACvC,yCAAyC,EACzC,6BAA6B,EAC7B,oBAAoB,EACpB,0BAA0B,EAC1B,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,wBAAwB,EACxB,4BAA4B,EAC5B,kCAAkC,EAClC,uBAAuB,EACvB,6BAA6B,EAC7B,0BAA0B,EAC1B,+BAA+B,EAC/B,qCAAqC,EACrC,kCAAkC,EAClC,sCAAsC,EACtC,4CAA4C,EAC5C,kCAAkC,EAClC,wCAAwC,EACxC,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,EAClB,uBAAuB,EACvB,2BAA2B,EAC3B,iCAAiC,EACjC,0BAA0B,EAC1B,oBAAoB,EACpB,yBAAyB,EACzB,4BAA4B,EAC5B,oBAAoB,EACpB,8BAA8B,EAC9B,mCAAmC,EACnC,2CAA2C,EAC3C,iCAAiC,EACjC,sCAAsC,EACtC,oCAAoC,EACpC,sCAAsC,EACtC,4CAA4C,EAC5C,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,SAAS,EACT,aAAa,EACb,sBAAsB,EACtB,2BAA2B,EAC3B,aAAa,GACd,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAGA,cAAc,sBAAsB,CAAC;AACrC,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,6BAA6B,EAC7B,wBAAwB,EACxB,+BAA+B,EAC/B,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,EAClB,2BAA2B,EAC3B,iCAAiC,EACjC,gCAAgC,EAChC,6BAA6B,EAC7B,6BAA6B,EAC7B,cAAc,EACd,wBAAwB,EACxB,iCAAiC,EACjC,2BAA2B,EAC3B,qBAAqB,EACrB,yBAAyB,EACz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B,EACzB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,mCAAmC,EACnC,wCAAwC,EACxC,uCAAuC,EACvC,uCAAuC,EACvC,yCAAyC,EACzC,6BAA6B,EAC7B,oBAAoB,EACpB,0BAA0B,EAC1B,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,wBAAwB,EACxB,4BAA4B,EAC5B,kCAAkC,EAClC,uBAAuB,EACvB,6BAA6B,EAC7B,0BAA0B,EAC1B,+BAA+B,EAC/B,qCAAqC,EACrC,kCAAkC,EAClC,sCAAsC,EACtC,4CAA4C,EAC5C,kCAAkC,EAClC,wCAAwC,EACxC,iBAAiB,EACjB,YAAY,EACZ,kBAAkB,EAClB,uBAAuB,EACvB,2BAA2B,EAC3B,iCAAiC,EACjC,0BAA0B,EAC1B,oBAAoB,EACpB,yBAAyB,EACzB,uBAAuB,EACvB,2BAA2B,EAC3B,kCAAkC,EAClC,4BAA4B,EAC5B,oBAAoB,EACpB,8BAA8B,EAC9B,mCAAmC,EACnC,2CAA2C,EAC3C,iCAAiC,EACjC,sCAAsC,EACtC,oCAAoC,EACpC,sCAAsC,EACtC,4CAA4C,EAC5C,iCAAiC,EACjC,uCAAuC,EACvC,iCAAiC,EACjC,gCAAgC,EAChC,iCAAiC,EACjC,mCAAmC,EACnC,8BAA8B,EAC9B,qBAAqB,EACrB,yBAAyB,EACzB,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,SAAS,EACT,aAAa,EACb,sBAAsB,EACtB,2BAA2B,EAC3B,aAAa,GACd,MAAM,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,sBAAsB,CAAC;AACrC,OAAO,EA4CL,8BAA8B,EAmL9B,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,SAAS,EAIT,aAAa,GACd,MAAM,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from \"./streamingModels.js\";\nexport {\n ToolDefinition,\n ToolDefinitionUnion,\n CodeInterpreterToolDefinition,\n FileSearchToolDefinition,\n FileSearchToolDefinitionDetails,\n FileSearchRankingOptions,\n FunctionToolDefinition,\n FunctionDefinition,\n BingGroundingToolDefinition,\n BingGroundingSearchToolParameters,\n BingGroundingSearchConfiguration,\n MicrosoftFabricToolDefinition,\n FabricDataAgentToolParameters,\n ToolConnection,\n SharepointToolDefinition,\n SharepointGroundingToolParameters,\n AzureAISearchToolDefinition,\n OpenApiToolDefinition,\n OpenApiFunctionDefinition,\n OpenApiAuthDetails,\n OpenApiAuthDetailsUnion,\n OpenApiAuthType,\n OpenApiAnonymousAuthDetails,\n OpenApiConnectionAuthDetails,\n OpenApiConnectionSecurityScheme,\n OpenApiManagedAuthDetails,\n OpenApiManagedSecurityScheme,\n BingCustomSearchToolDefinition,\n BingCustomSearchToolParameters,\n BingCustomSearchConfiguration,\n ConnectedAgentToolDefinition,\n ConnectedAgentDetails,\n DeepResearchToolDefinition,\n DeepResearchDetails,\n DeepResearchBingGroundingConnection,\n MCPToolDefinition,\n AzureFunctionToolDefinition,\n AzureFunctionDefinition,\n AzureFunctionBinding,\n AzureFunctionStorageQueue,\n ToolResources,\n CodeInterpreterToolResource,\n VectorStoreDataSource,\n VectorStoreDataSourceAssetType,\n FileSearchToolResource,\n VectorStoreConfigurations,\n VectorStoreConfiguration,\n AzureAISearchToolResource,\n AISearchIndexResource,\n AzureAISearchQueryType,\n MCPToolResource,\n AgentsResponseFormat,\n ResponseFormat,\n ResponseFormatJsonSchemaType,\n ResponseFormatJsonSchema,\n AgentsResponseFormatOption,\n AgentsResponseFormatMode,\n Agent,\n AgentV1Error,\n AgentErrorDetail,\n AgentDeletionStatus,\n AgentThreadCreationOptions,\n ThreadMessageOptions,\n MessageRole,\n MessageInputContent,\n MessageInputContentBlock,\n MessageInputContentBlockUnion,\n MessageBlockType,\n MessageInputTextBlock,\n MessageInputImageFileBlock,\n MessageImageFileParam,\n ImageDetailLevel,\n MessageInputImageUrlBlock,\n MessageImageUrlParam,\n MessageAttachment,\n MessageAttachmentToolDefinition,\n TruncationObject,\n TruncationStrategy,\n AgentsNamedToolChoice,\n AgentsNamedToolChoiceType,\n FunctionName,\n AgentsToolChoiceOption,\n AgentsToolChoiceOptionMode,\n ThreadRun,\n RunStatus,\n RequiredAction,\n RequiredActionUnion,\n SubmitToolOutputsAction,\n SubmitToolOutputsDetails,\n RequiredToolCall,\n RequiredToolCallUnion,\n RequiredFunctionToolCall,\n RequiredFunctionToolCallDetails,\n RequiredMcpToolCall,\n SubmitToolApprovalAction,\n SubmitToolApprovalDetails,\n RunError,\n IncompleteRunDetails,\n IncompleteDetailsReason,\n RunCompletionUsage,\n AgentThread,\n ThreadDeletionStatus,\n ThreadMessage,\n MessageStatus,\n MessageIncompleteDetails,\n MessageIncompleteDetailsReason,\n MessageContent,\n MessageContentUnion,\n MessageTextContent,\n MessageTextDetails,\n MessageTextAnnotation,\n MessageTextAnnotationUnion,\n MessageTextUrlCitationAnnotation,\n MessageTextUrlCitationDetails,\n MessageTextFileCitationAnnotation,\n MessageTextFileCitationDetails,\n MessageTextFilePathAnnotation,\n MessageTextFilePathDetails,\n MessageImageFileContent,\n MessageImageFileDetails,\n ToolOutput,\n ToolApproval,\n RunStep,\n RunStepType,\n RunStepStatus,\n RunStepDetails,\n RunStepDetailsUnion,\n RunStepMessageCreationDetails,\n RunStepMessageCreationReference,\n RunStepToolCallDetails,\n RunStepToolCall,\n RunStepToolCallUnion,\n RunStepCodeInterpreterToolCall,\n RunStepCodeInterpreterToolCallDetails,\n RunStepCodeInterpreterToolCallOutput,\n RunStepCodeInterpreterToolCallOutputUnion,\n RunStepCodeInterpreterLogOutput,\n RunStepCodeInterpreterImageOutput,\n RunStepCodeInterpreterImageReference,\n RunStepFileSearchToolCall,\n RunStepFileSearchToolCallResults,\n RunStepFileSearchToolCallResult,\n FileSearchToolCallContent,\n RunStepBingGroundingToolCall,\n RunStepAzureAISearchToolCall,\n RunStepMcpToolCall,\n RunStepSharepointToolCall,\n RunStepMicrosoftFabricToolCall,\n RunStepBingCustomSearchToolCall,\n RunStepFunctionToolCall,\n RunStepFunctionToolCallDetails,\n RunStepOpenAPIToolCall,\n RunStepDeepResearchToolCall,\n RunStepDeepResearchToolCallDetails,\n RunStepError,\n RunStepErrorCode,\n RunStepCompletionUsage,\n FileListResponse,\n FileInfo,\n FilePurpose,\n FileState,\n FileDeletionStatus,\n VectorStore,\n VectorStoreFileCount,\n VectorStoreStatus,\n VectorStoreExpirationPolicy,\n VectorStoreExpirationPolicyAnchor,\n VectorStoreChunkingStrategyRequest,\n VectorStoreChunkingStrategyRequestUnion,\n VectorStoreChunkingStrategyRequestType,\n VectorStoreAutoChunkingStrategyRequest,\n VectorStoreStaticChunkingStrategyRequest,\n VectorStoreStaticChunkingStrategyOptions,\n VectorStoreDeletionStatus,\n VectorStoreFile,\n VectorStoreFileStatus,\n VectorStoreFileError,\n VectorStoreFileErrorCode,\n VectorStoreChunkingStrategyResponse,\n VectorStoreChunkingStrategyResponseUnion,\n VectorStoreChunkingStrategyResponseType,\n VectorStoreAutoChunkingStrategyResponse,\n VectorStoreStaticChunkingStrategyResponse,\n VectorStoreFileDeletionStatus,\n VectorStoreFileBatch,\n VectorStoreFileBatchStatus,\n MessageDeltaChunk,\n MessageDelta,\n MessageDeltaContent,\n MessageDeltaContentUnion,\n MessageDeltaImageFileContent,\n MessageDeltaImageFileContentObject,\n MessageDeltaTextContent,\n MessageDeltaTextContentObject,\n MessageDeltaTextAnnotation,\n MessageDeltaTextAnnotationUnion,\n MessageDeltaTextUrlCitationAnnotation,\n MessageDeltaTextUrlCitationDetails,\n MessageDeltaTextFileCitationAnnotation,\n MessageDeltaTextFileCitationAnnotationObject,\n MessageDeltaTextFilePathAnnotation,\n MessageDeltaTextFilePathAnnotationObject,\n RunStepDeltaChunk,\n RunStepDelta,\n RunStepDeltaDetail,\n RunStepDeltaDetailUnion,\n RunStepDeltaMessageCreation,\n RunStepDeltaMessageCreationObject,\n RunStepDeltaToolCallObject,\n RunStepDeltaToolCall,\n RunStepDeltaToolCallUnion,\n RunStepDeltaFunctionToolCall,\n RunStepDeltaFunction,\n RunStepDeltaFileSearchToolCall,\n RunStepDeltaCodeInterpreterToolCall,\n RunStepDeltaCodeInterpreterDetailItemObject,\n RunStepDeltaCodeInterpreterOutput,\n RunStepDeltaCodeInterpreterOutputUnion,\n RunStepDeltaCodeInterpreterLogOutput,\n RunStepDeltaCodeInterpreterImageOutput,\n RunStepDeltaCodeInterpreterImageOutputObject,\n AgentStreamEvent,\n ThreadStreamEvent,\n RunStreamEvent,\n RunStepStreamEvent,\n MessageStreamEvent,\n ErrorEvent,\n DoneEvent,\n ListSortOrder,\n RunAdditionalFieldList,\n VectorStoreFileStatusFilter,\n KnownVersions,\n} from \"./models.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,sBAAsB,CAAC;AACrC,OAAO,EA+CL,8BAA8B,EA+M9B,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,SAAS,EAIT,aAAa,GACd,MAAM,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from \"./streamingModels.js\";\nexport {\n ToolDefinition,\n ToolDefinitionUnion,\n CodeInterpreterToolDefinition,\n FileSearchToolDefinition,\n FileSearchToolDefinitionDetails,\n FileSearchRankingOptions,\n FunctionToolDefinition,\n FunctionDefinition,\n BingGroundingToolDefinition,\n BingGroundingSearchToolParameters,\n BingGroundingSearchConfiguration,\n MicrosoftFabricToolDefinition,\n FabricDataAgentToolParameters,\n ToolConnection,\n SharepointToolDefinition,\n SharepointGroundingToolParameters,\n AzureAISearchToolDefinition,\n OpenApiToolDefinition,\n OpenApiFunctionDefinition,\n OpenApiAuthDetails,\n OpenApiAuthDetailsUnion,\n OpenApiAuthType,\n OpenApiAnonymousAuthDetails,\n OpenApiConnectionAuthDetails,\n OpenApiConnectionSecurityScheme,\n OpenApiManagedAuthDetails,\n OpenApiManagedSecurityScheme,\n BingCustomSearchToolDefinition,\n BingCustomSearchToolParameters,\n BingCustomSearchConfiguration,\n ConnectedAgentToolDefinition,\n ConnectedAgentDetails,\n DeepResearchToolDefinition,\n DeepResearchDetails,\n DeepResearchBingGroundingConnection,\n MCPToolDefinition,\n AzureFunctionToolDefinition,\n AzureFunctionDefinition,\n AzureFunctionBinding,\n AzureFunctionStorageQueue,\n BrowserAutomationToolDefinition,\n BrowserAutomationToolParameters,\n BrowserAutomationToolConnectionParameters,\n ToolResources,\n CodeInterpreterToolResource,\n VectorStoreDataSource,\n VectorStoreDataSourceAssetType,\n FileSearchToolResource,\n VectorStoreConfigurations,\n VectorStoreConfiguration,\n AzureAISearchToolResource,\n AISearchIndexResource,\n AzureAISearchQueryType,\n MCPToolResource,\n MCPRequiredApproval,\n MCPApprovalPerTool,\n MCPToolList,\n AgentsResponseFormat,\n ResponseFormat,\n ResponseFormatJsonSchemaType,\n ResponseFormatJsonSchema,\n AgentsResponseFormatOption,\n AgentsResponseFormatMode,\n Agent,\n AgentV1Error,\n AgentErrorDetail,\n AgentDeletionStatus,\n AgentThreadCreationOptions,\n ThreadMessageOptions,\n MessageRole,\n MessageInputContent,\n MessageInputContentBlock,\n MessageInputContentBlockUnion,\n MessageBlockType,\n MessageInputTextBlock,\n MessageInputImageFileBlock,\n MessageImageFileParam,\n ImageDetailLevel,\n MessageInputImageUrlBlock,\n MessageImageUrlParam,\n MessageAttachment,\n MessageAttachmentToolDefinition,\n TruncationObject,\n TruncationStrategy,\n AgentsNamedToolChoice,\n AgentsNamedToolChoiceType,\n FunctionName,\n AgentsToolChoiceOption,\n AgentsToolChoiceOptionMode,\n ThreadRun,\n RunStatus,\n RequiredAction,\n RequiredActionUnion,\n SubmitToolOutputsAction,\n SubmitToolOutputsDetails,\n RequiredToolCall,\n RequiredToolCallUnion,\n RequiredFunctionToolCall,\n RequiredFunctionToolCallDetails,\n RequiredMcpToolCall,\n SubmitToolApprovalAction,\n SubmitToolApprovalDetails,\n RunError,\n IncompleteRunDetails,\n IncompleteDetailsReason,\n RunCompletionUsage,\n AgentThread,\n ThreadDeletionStatus,\n ThreadMessage,\n MessageStatus,\n MessageIncompleteDetails,\n MessageIncompleteDetailsReason,\n MessageContent,\n MessageContentUnion,\n MessageTextContent,\n MessageTextDetails,\n MessageTextAnnotation,\n MessageTextAnnotationUnion,\n MessageTextUrlCitationAnnotation,\n MessageTextUrlCitationDetails,\n MessageTextFileCitationAnnotation,\n MessageTextFileCitationDetails,\n MessageTextFilePathAnnotation,\n MessageTextFilePathDetails,\n MessageImageFileContent,\n MessageImageFileDetails,\n MessageDeletionStatus,\n ToolOutput,\n ToolApproval,\n RunStep,\n RunStepType,\n RunStepStatus,\n RunStepDetails,\n RunStepDetailsUnion,\n RunStepMessageCreationDetails,\n RunStepMessageCreationReference,\n RunStepToolCallDetails,\n RunStepToolCall,\n RunStepToolCallUnion,\n RunStepCodeInterpreterToolCall,\n RunStepCodeInterpreterToolCallDetails,\n RunStepCodeInterpreterToolCallOutput,\n RunStepCodeInterpreterToolCallOutputUnion,\n RunStepCodeInterpreterLogOutput,\n RunStepCodeInterpreterImageOutput,\n RunStepCodeInterpreterImageReference,\n RunStepFileSearchToolCall,\n RunStepFileSearchToolCallResults,\n RunStepFileSearchToolCallResult,\n FileSearchToolCallContent,\n RunStepBingGroundingToolCall,\n RunStepAzureAISearchToolCall,\n RunStepBrowserAutomationToolCall,\n BrowserAutomationToolCallDetails,\n BrowserAutomationToolCallStep,\n RunStepMcpToolCall,\n RunStepSharepointToolCall,\n RunStepMicrosoftFabricToolCall,\n RunStepBingCustomSearchToolCall,\n RunStepAzureFunctionToolCall,\n AzureFunctionToolCallDetails,\n RunStepFunctionToolCall,\n RunStepFunctionToolCallDetails,\n RunStepOpenAPIToolCall,\n RunStepDeepResearchToolCall,\n RunStepDeepResearchToolCallDetails,\n RunStepConnectedAgentToolCall,\n RunStepConnectedAgent,\n RunStepActivityDetails,\n RunStepDetailsActivity,\n ActivityFunctionDefinition,\n ActivityFunctionParameters,\n FunctionArgument,\n RunStepError,\n RunStepErrorCode,\n RunStepCompletionUsage,\n FileListResponse,\n FileInfo,\n FilePurpose,\n FileState,\n FileDeletionStatus,\n VectorStore,\n VectorStoreFileCount,\n VectorStoreStatus,\n VectorStoreExpirationPolicy,\n VectorStoreExpirationPolicyAnchor,\n VectorStoreChunkingStrategyRequest,\n VectorStoreChunkingStrategyRequestUnion,\n VectorStoreChunkingStrategyRequestType,\n VectorStoreAutoChunkingStrategyRequest,\n VectorStoreStaticChunkingStrategyRequest,\n VectorStoreStaticChunkingStrategyOptions,\n VectorStoreDeletionStatus,\n VectorStoreFile,\n VectorStoreFileStatus,\n VectorStoreFileError,\n VectorStoreFileErrorCode,\n VectorStoreChunkingStrategyResponse,\n VectorStoreChunkingStrategyResponseUnion,\n VectorStoreChunkingStrategyResponseType,\n VectorStoreAutoChunkingStrategyResponse,\n VectorStoreStaticChunkingStrategyResponse,\n VectorStoreFileDeletionStatus,\n VectorStoreFileBatch,\n VectorStoreFileBatchStatus,\n MessageDeltaChunk,\n MessageDelta,\n MessageDeltaContent,\n MessageDeltaContentUnion,\n MessageDeltaImageFileContent,\n MessageDeltaImageFileContentObject,\n MessageDeltaTextContent,\n MessageDeltaTextContentObject,\n MessageDeltaTextAnnotation,\n MessageDeltaTextAnnotationUnion,\n MessageDeltaTextUrlCitationAnnotation,\n MessageDeltaTextUrlCitationDetails,\n MessageDeltaTextFileCitationAnnotation,\n MessageDeltaTextFileCitationAnnotationObject,\n MessageDeltaTextFilePathAnnotation,\n MessageDeltaTextFilePathAnnotationObject,\n RunStepDeltaChunk,\n RunStepDelta,\n RunStepDeltaDetail,\n RunStepDeltaDetailUnion,\n RunStepDeltaMessageCreation,\n RunStepDeltaMessageCreationObject,\n RunStepDeltaToolCallObject,\n RunStepDeltaToolCall,\n RunStepDeltaToolCallUnion,\n RunStepDeltaMcpToolCall,\n RunStepDeltaOpenAPIToolCall,\n RunStepDeltaConnectedAgentToolCall,\n RunStepDeltaFunctionToolCall,\n RunStepDeltaFunction,\n RunStepDeltaFileSearchToolCall,\n RunStepDeltaCodeInterpreterToolCall,\n RunStepDeltaCodeInterpreterDetailItemObject,\n RunStepDeltaCodeInterpreterOutput,\n RunStepDeltaCodeInterpreterOutputUnion,\n RunStepDeltaCodeInterpreterLogOutput,\n RunStepDeltaCodeInterpreterImageOutput,\n RunStepDeltaCodeInterpreterImageOutputObject,\n RunStepDeltaBingGroundingToolCall,\n RunStepDeltaCustomBingGroundingToolCall,\n RunStepDeltaAzureFunctionToolCall,\n RunStepDeltaDeepResearchToolCall,\n RunStepDeltaAzureAISearchToolCall,\n RunStepDeltaMicrosoftFabricToolCall,\n RunStepDeltaSharepointToolCall,\n RunStepDeltaMCPObject,\n RunStepDeltaOpenAPIObject,\n AgentStreamEvent,\n ThreadStreamEvent,\n RunStreamEvent,\n RunStepStreamEvent,\n MessageStreamEvent,\n ErrorEvent,\n DoneEvent,\n ListSortOrder,\n RunAdditionalFieldList,\n VectorStoreFileStatusFilter,\n KnownVersions,\n} from \"./models.js\";\n"]}