@azure/ai-agents 1.0.0 → 1.1.0-beta.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 (203) hide show
  1. package/README.md +103 -0
  2. package/dist/browser/api/agentsContext.js +2 -2
  3. package/dist/browser/api/agentsContext.js.map +1 -1
  4. package/dist/browser/api/files/operations.js +6 -6
  5. package/dist/browser/api/files/operations.js.map +1 -1
  6. package/dist/browser/api/messages/operations.js +8 -8
  7. package/dist/browser/api/messages/operations.js.map +1 -1
  8. package/dist/browser/api/operations.js +12 -12
  9. package/dist/browser/api/operations.js.map +1 -1
  10. package/dist/browser/api/runSteps/operations.js +4 -4
  11. package/dist/browser/api/runSteps/operations.js.map +1 -1
  12. package/dist/browser/api/runs/operations.d.ts.map +1 -1
  13. package/dist/browser/api/runs/operations.js +20 -14
  14. package/dist/browser/api/runs/operations.js.map +1 -1
  15. package/dist/browser/api/runs/options.d.ts +7 -1
  16. package/dist/browser/api/runs/options.d.ts.map +1 -1
  17. package/dist/browser/api/runs/options.js.map +1 -1
  18. package/dist/browser/api/threads/operations.js +10 -10
  19. package/dist/browser/api/threads/operations.js.map +1 -1
  20. package/dist/browser/api/vectorStoreFileBatches/operations.d.ts +2 -2
  21. package/dist/browser/api/vectorStoreFileBatches/operations.d.ts.map +1 -1
  22. package/dist/browser/api/vectorStoreFileBatches/operations.js +2 -2
  23. package/dist/browser/api/vectorStoreFileBatches/operations.js.map +1 -1
  24. package/dist/browser/classic/vectorStoreFileBatches/index.d.ts +2 -2
  25. package/dist/browser/classic/vectorStoreFileBatches/index.d.ts.map +1 -1
  26. package/dist/browser/classic/vectorStoreFileBatches/index.js.map +1 -1
  27. package/dist/browser/constants.d.ts +1 -1
  28. package/dist/browser/constants.d.ts.map +1 -1
  29. package/dist/browser/constants.js +1 -1
  30. package/dist/browser/constants.js.map +1 -1
  31. package/dist/browser/index.d.ts +3 -2
  32. package/dist/browser/index.d.ts.map +1 -1
  33. package/dist/browser/index.js +2 -1
  34. package/dist/browser/index.js.map +1 -1
  35. package/dist/browser/models/index.d.ts +1 -1
  36. package/dist/browser/models/index.d.ts.map +1 -1
  37. package/dist/browser/models/index.js.map +1 -1
  38. package/dist/browser/models/models.d.ts +260 -22
  39. package/dist/browser/models/models.d.ts.map +1 -1
  40. package/dist/browser/models/models.js +332 -12
  41. package/dist/browser/models/models.js.map +1 -1
  42. package/dist/browser/utils/MCPTool.d.ts +78 -0
  43. package/dist/browser/utils/MCPTool.d.ts.map +1 -0
  44. package/dist/browser/utils/MCPTool.js +128 -0
  45. package/dist/browser/utils/MCPTool.js.map +1 -0
  46. package/dist/browser/{utils.d.ts → utils/utils.d.ts} +61 -1
  47. package/dist/browser/utils/utils.d.ts.map +1 -0
  48. package/dist/{esm → browser/utils}/utils.js +90 -0
  49. package/dist/browser/utils/utils.js.map +1 -0
  50. package/dist/commonjs/api/agentsContext.js +2 -2
  51. package/dist/commonjs/api/agentsContext.js.map +1 -1
  52. package/dist/commonjs/api/files/operations.js +6 -6
  53. package/dist/commonjs/api/files/operations.js.map +1 -1
  54. package/dist/commonjs/api/messages/operations.js +8 -8
  55. package/dist/commonjs/api/messages/operations.js.map +1 -1
  56. package/dist/commonjs/api/operations.js +12 -12
  57. package/dist/commonjs/api/operations.js.map +1 -1
  58. package/dist/commonjs/api/runSteps/operations.js +4 -4
  59. package/dist/commonjs/api/runSteps/operations.js.map +1 -1
  60. package/dist/commonjs/api/runs/operations.d.ts.map +1 -1
  61. package/dist/commonjs/api/runs/operations.js +19 -13
  62. package/dist/commonjs/api/runs/operations.js.map +1 -1
  63. package/dist/commonjs/api/runs/options.d.ts +7 -1
  64. package/dist/commonjs/api/runs/options.d.ts.map +1 -1
  65. package/dist/commonjs/api/runs/options.js.map +1 -1
  66. package/dist/commonjs/api/threads/operations.js +10 -10
  67. package/dist/commonjs/api/threads/operations.js.map +1 -1
  68. package/dist/commonjs/api/vectorStoreFileBatches/operations.d.ts +2 -2
  69. package/dist/commonjs/api/vectorStoreFileBatches/operations.d.ts.map +1 -1
  70. package/dist/commonjs/api/vectorStoreFileBatches/operations.js +2 -2
  71. package/dist/commonjs/api/vectorStoreFileBatches/operations.js.map +1 -1
  72. package/dist/commonjs/classic/vectorStoreFileBatches/index.d.ts +2 -2
  73. package/dist/commonjs/classic/vectorStoreFileBatches/index.d.ts.map +1 -1
  74. package/dist/commonjs/classic/vectorStoreFileBatches/index.js.map +1 -1
  75. package/dist/commonjs/constants.d.ts +1 -1
  76. package/dist/commonjs/constants.d.ts.map +1 -1
  77. package/dist/commonjs/constants.js +1 -1
  78. package/dist/commonjs/constants.js.map +1 -1
  79. package/dist/commonjs/index.d.ts +3 -2
  80. package/dist/commonjs/index.d.ts.map +1 -1
  81. package/dist/commonjs/index.js +4 -2
  82. package/dist/commonjs/index.js.map +1 -1
  83. package/dist/commonjs/models/index.d.ts +1 -1
  84. package/dist/commonjs/models/index.d.ts.map +1 -1
  85. package/dist/commonjs/models/index.js.map +1 -1
  86. package/dist/commonjs/models/models.d.ts +260 -22
  87. package/dist/commonjs/models/models.d.ts.map +1 -1
  88. package/dist/commonjs/models/models.js +377 -14
  89. package/dist/commonjs/models/models.js.map +1 -1
  90. package/dist/commonjs/tsdoc-metadata.json +11 -11
  91. package/dist/commonjs/utils/MCPTool.d.ts +78 -0
  92. package/dist/commonjs/utils/MCPTool.d.ts.map +1 -0
  93. package/dist/commonjs/utils/MCPTool.js +132 -0
  94. package/dist/commonjs/utils/MCPTool.js.map +1 -0
  95. package/dist/commonjs/{utils.d.ts → utils/utils.d.ts} +61 -1
  96. package/dist/commonjs/utils/utils.d.ts.map +1 -0
  97. package/dist/commonjs/{utils.js → utils/utils.js} +90 -0
  98. package/dist/commonjs/utils/utils.js.map +1 -0
  99. package/dist/esm/api/agentsContext.js +2 -2
  100. package/dist/esm/api/agentsContext.js.map +1 -1
  101. package/dist/esm/api/files/operations.js +6 -6
  102. package/dist/esm/api/files/operations.js.map +1 -1
  103. package/dist/esm/api/messages/operations.js +8 -8
  104. package/dist/esm/api/messages/operations.js.map +1 -1
  105. package/dist/esm/api/operations.js +12 -12
  106. package/dist/esm/api/operations.js.map +1 -1
  107. package/dist/esm/api/runSteps/operations.js +4 -4
  108. package/dist/esm/api/runSteps/operations.js.map +1 -1
  109. package/dist/esm/api/runs/operations.d.ts.map +1 -1
  110. package/dist/esm/api/runs/operations.js +20 -14
  111. package/dist/esm/api/runs/operations.js.map +1 -1
  112. package/dist/esm/api/runs/options.d.ts +7 -1
  113. package/dist/esm/api/runs/options.d.ts.map +1 -1
  114. package/dist/esm/api/runs/options.js.map +1 -1
  115. package/dist/esm/api/threads/operations.js +10 -10
  116. package/dist/esm/api/threads/operations.js.map +1 -1
  117. package/dist/esm/api/vectorStoreFileBatches/operations.d.ts +2 -2
  118. package/dist/esm/api/vectorStoreFileBatches/operations.d.ts.map +1 -1
  119. package/dist/esm/api/vectorStoreFileBatches/operations.js +2 -2
  120. package/dist/esm/api/vectorStoreFileBatches/operations.js.map +1 -1
  121. package/dist/esm/classic/vectorStoreFileBatches/index.d.ts +2 -2
  122. package/dist/esm/classic/vectorStoreFileBatches/index.d.ts.map +1 -1
  123. package/dist/esm/classic/vectorStoreFileBatches/index.js.map +1 -1
  124. package/dist/esm/constants.d.ts +1 -1
  125. package/dist/esm/constants.d.ts.map +1 -1
  126. package/dist/esm/constants.js +1 -1
  127. package/dist/esm/constants.js.map +1 -1
  128. package/dist/esm/index.d.ts +3 -2
  129. package/dist/esm/index.d.ts.map +1 -1
  130. package/dist/esm/index.js +2 -1
  131. package/dist/esm/index.js.map +1 -1
  132. package/dist/esm/models/index.d.ts +1 -1
  133. package/dist/esm/models/index.d.ts.map +1 -1
  134. package/dist/esm/models/index.js.map +1 -1
  135. package/dist/esm/models/models.d.ts +260 -22
  136. package/dist/esm/models/models.d.ts.map +1 -1
  137. package/dist/esm/models/models.js +332 -12
  138. package/dist/esm/models/models.js.map +1 -1
  139. package/dist/esm/utils/MCPTool.d.ts +78 -0
  140. package/dist/esm/utils/MCPTool.d.ts.map +1 -0
  141. package/dist/esm/utils/MCPTool.js +128 -0
  142. package/dist/esm/utils/MCPTool.js.map +1 -0
  143. package/dist/{react-native → esm/utils}/utils.d.ts +61 -1
  144. package/dist/esm/utils/utils.d.ts.map +1 -0
  145. package/dist/{react-native → esm/utils}/utils.js +90 -0
  146. package/dist/esm/utils/utils.js.map +1 -0
  147. package/dist/react-native/api/agentsContext.js +2 -2
  148. package/dist/react-native/api/agentsContext.js.map +1 -1
  149. package/dist/react-native/api/files/operations.js +6 -6
  150. package/dist/react-native/api/files/operations.js.map +1 -1
  151. package/dist/react-native/api/messages/operations.js +8 -8
  152. package/dist/react-native/api/messages/operations.js.map +1 -1
  153. package/dist/react-native/api/operations.js +12 -12
  154. package/dist/react-native/api/operations.js.map +1 -1
  155. package/dist/react-native/api/runSteps/operations.js +4 -4
  156. package/dist/react-native/api/runSteps/operations.js.map +1 -1
  157. package/dist/react-native/api/runs/operations.d.ts.map +1 -1
  158. package/dist/react-native/api/runs/operations.js +20 -14
  159. package/dist/react-native/api/runs/operations.js.map +1 -1
  160. package/dist/react-native/api/runs/options.d.ts +7 -1
  161. package/dist/react-native/api/runs/options.d.ts.map +1 -1
  162. package/dist/react-native/api/runs/options.js.map +1 -1
  163. package/dist/react-native/api/threads/operations.js +10 -10
  164. package/dist/react-native/api/threads/operations.js.map +1 -1
  165. package/dist/react-native/api/vectorStoreFileBatches/operations.d.ts +2 -2
  166. package/dist/react-native/api/vectorStoreFileBatches/operations.d.ts.map +1 -1
  167. package/dist/react-native/api/vectorStoreFileBatches/operations.js +2 -2
  168. package/dist/react-native/api/vectorStoreFileBatches/operations.js.map +1 -1
  169. package/dist/react-native/classic/vectorStoreFileBatches/index.d.ts +2 -2
  170. package/dist/react-native/classic/vectorStoreFileBatches/index.d.ts.map +1 -1
  171. package/dist/react-native/classic/vectorStoreFileBatches/index.js.map +1 -1
  172. package/dist/react-native/constants.d.ts +1 -1
  173. package/dist/react-native/constants.d.ts.map +1 -1
  174. package/dist/react-native/constants.js +1 -1
  175. package/dist/react-native/constants.js.map +1 -1
  176. package/dist/react-native/index.d.ts +3 -2
  177. package/dist/react-native/index.d.ts.map +1 -1
  178. package/dist/react-native/index.js +2 -1
  179. package/dist/react-native/index.js.map +1 -1
  180. package/dist/react-native/models/index.d.ts +1 -1
  181. package/dist/react-native/models/index.d.ts.map +1 -1
  182. package/dist/react-native/models/index.js.map +1 -1
  183. package/dist/react-native/models/models.d.ts +260 -22
  184. package/dist/react-native/models/models.d.ts.map +1 -1
  185. package/dist/react-native/models/models.js +332 -12
  186. package/dist/react-native/models/models.js.map +1 -1
  187. package/dist/react-native/utils/MCPTool.d.ts +78 -0
  188. package/dist/react-native/utils/MCPTool.d.ts.map +1 -0
  189. package/dist/react-native/utils/MCPTool.js +128 -0
  190. package/dist/react-native/utils/MCPTool.js.map +1 -0
  191. package/dist/{esm → react-native/utils}/utils.d.ts +61 -1
  192. package/dist/react-native/utils/utils.d.ts.map +1 -0
  193. package/dist/{browser → react-native/utils}/utils.js +90 -0
  194. package/dist/react-native/utils/utils.js.map +1 -0
  195. package/package.json +1 -1
  196. package/dist/browser/utils.d.ts.map +0 -1
  197. package/dist/browser/utils.js.map +0 -1
  198. package/dist/commonjs/utils.d.ts.map +0 -1
  199. package/dist/commonjs/utils.js.map +0 -1
  200. package/dist/esm/utils.d.ts.map +0 -1
  201. package/dist/esm/utils.js.map +0 -1
  202. package/dist/react-native/utils.d.ts.map +0 -1
  203. package/dist/react-native/utils.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/vectorStoreFileBatches/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAOlC,OAAO,EACL,oCAAoC,EACpC,wBAAwB,EACxB,iDAAiD,EACjD,6CAA6C,EAC7C,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAQhC,OAAO,EAAE,uBAAuB,EAAE,MAA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MAAM,CAAC,MAAM,EAAE,CAAC;QACtB,KAAK,aAAa;YAChB,OAAO,SAAS,CAAC;QACnB,KAAK,WAAW;YACd,OAAO,WAAW,CAAC;QACrB,KAAK,WAAW;YACd,OAAO,UAAU,CAAC;QACpB;YACE,OAAO,QAAQ,CAAC;IACpB,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AgentsContext as Client } from \"../index.js\";\nimport type {\n _AgentsPagedResultVectorStoreFile,\n VectorStoreFileBatch,\n} from \"../../models/models.js\";\nimport {\n vectorStoreDataSourceArraySerializer,\n agentV1ErrorDeserializer,\n vectorStoreChunkingStrategyRequestUnionSerializer,\n _agentsPagedResultVectorStoreFileDeserializer,\n vectorStoreFileBatchDeserializer,\n} from \"../../models/models.js\";\nimport type {\n VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams,\n VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams,\n VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams,\n VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n} from \"./options.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { OperationState, OperationStatus, PollerLike } from \"@azure/core-lro\";\nimport { createPoller } from \"../poller.js\";\n\nexport function _listVectorStoreFileBatchFilesSend(\n context: Client,\n vectorStoreId: string,\n batchId: string,\n options: VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}/file_batches/{batchId}/files{?filter,api%2Dversion,limit,order,after,before}\",\n {\n vectorStoreId: vectorStoreId,\n batchId: batchId,\n filter: options?.filter,\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 _listVectorStoreFileBatchFilesDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AgentsPagedResultVectorStoreFile> {\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 _agentsPagedResultVectorStoreFileDeserializer(result.body);\n}\n\n/** Returns a list of vector store files in a batch. */\nexport function listVectorStoreFileBatchFiles(\n context: Client,\n vectorStoreId: string,\n batchId: string,\n options: VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<VectorStoreFileBatch> {\n return buildPagedAsyncIterator(\n context,\n () => _listVectorStoreFileBatchFilesSend(context, vectorStoreId, batchId, options),\n _listVectorStoreFileBatchFilesDeserialize,\n [\"200\"],\n { itemName: \"data\" },\n );\n}\n\nexport function _cancelVectorStoreFileBatchSend(\n context: Client,\n vectorStoreId: string,\n batchId: string,\n options: VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}/file_batches/{batchId}/cancel{?api%2Dversion}\",\n {\n vectorStoreId: vectorStoreId,\n batchId: batchId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _cancelVectorStoreFileBatchDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStoreFileBatch> {\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 vectorStoreFileBatchDeserializer(result.body);\n}\n\n/** Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible. */\nexport async function cancelVectorStoreFileBatch(\n context: Client,\n vectorStoreId: string,\n batchId: string,\n options: VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams = {\n requestOptions: {},\n },\n): Promise<VectorStoreFileBatch> {\n const result = await _cancelVectorStoreFileBatchSend(context, vectorStoreId, batchId, options);\n return _cancelVectorStoreFileBatchDeserialize(result);\n}\n\nexport function _getVectorStoreFileBatchSend(\n context: Client,\n vectorStoreId: string,\n batchId: string,\n options: VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}/file_batches/{batchId}{?api%2Dversion}\",\n {\n vectorStoreId: vectorStoreId,\n batchId: batchId,\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 _getVectorStoreFileBatchDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStoreFileBatch> {\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 vectorStoreFileBatchDeserializer(result.body);\n}\n\n/** Retrieve a vector store file batch. */\nexport async function getVectorStoreFileBatch(\n context: Client,\n vectorStoreId: string,\n batchId: string,\n options: VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams = {\n requestOptions: {},\n },\n): Promise<VectorStoreFileBatch> {\n const result = await _getVectorStoreFileBatchSend(context, vectorStoreId, batchId, options);\n return _getVectorStoreFileBatchDeserialize(result);\n}\n\nexport function _createVectorStoreFileBatchSend(\n context: Client,\n vectorStoreId: string,\n options: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}/file_batches{?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: { 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 data_sources: !options?.dataSources\n ? options?.dataSources\n : vectorStoreDataSourceArraySerializer(options?.dataSources),\n chunking_strategy: !options?.chunkingStrategy\n ? options?.chunkingStrategy\n : vectorStoreChunkingStrategyRequestUnionSerializer(options?.chunkingStrategy),\n },\n });\n}\n\nexport async function _createVectorStoreFileBatchDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStoreFileBatch> {\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 vectorStoreFileBatchDeserializer(result.body);\n}\n\n/** Create a vector store file batch. */\nexport async function createVectorStoreFileBatchInternal(\n context: Client,\n vectorStoreId: string,\n options: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams = {\n requestOptions: {},\n },\n): Promise<VectorStoreFileBatch> {\n const result = await _createVectorStoreFileBatchSend(context, vectorStoreId, options);\n return _createVectorStoreFileBatchDeserialize(result);\n}\n\n/** Create a vector store file batch. */\nexport function createVectorStoreFileBatch(\n context: Client,\n vectorStoreId: string,\n options: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<VectorStoreFileBatch>, VectorStoreFileBatch> {\n return createPoller<VectorStoreFileBatch>({\n initOperation: async () => {\n return createVectorStoreFileBatchInternal(context, vectorStoreId, options);\n },\n pollOperation: async (currentResult: VectorStoreFileBatch) => {\n return getVectorStoreFileBatch(context, vectorStoreId, currentResult.id, options);\n },\n getOperationStatus: getLroOperationStatus,\n intervalInMs: options.pollingOptions?.intervalInMs,\n });\n}\n\n/** Create a vector store file batch and poll. */\nexport function createVectorStoreFileBatchAndPoll(\n context: Client,\n vectorStoreId: string,\n options: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<VectorStoreFileBatch>, VectorStoreFileBatch> {\n return createPoller<VectorStoreFileBatch>({\n initOperation: async () => {\n return createVectorStoreFileBatchInternal(context, vectorStoreId, options);\n },\n pollOperation: async (currentResult: VectorStoreFileBatch) => {\n return getVectorStoreFileBatch(context, vectorStoreId, currentResult.id, options);\n },\n getOperationStatus: getLroOperationStatus,\n intervalInMs: options.pollingOptions?.intervalInMs,\n });\n}\n\nfunction getLroOperationStatus(result: VectorStoreFileBatch): OperationStatus {\n switch (result.status) {\n case \"in_progress\":\n return \"running\";\n case \"completed\":\n return \"succeeded\";\n case \"cancelled\":\n return \"canceled\";\n default:\n return \"failed\";\n }\n}\n"]}
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/vectorStoreFileBatches/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,OAAO,EACL,oCAAoC,EACpC,wBAAwB,EACxB,iDAAiD,EACjD,6CAA6C,EAC7C,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAQhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,OAAO,EAAE,eAA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ACd,OAAO,WAAW,CAAC;QACrB,KAAK,WAAW;YACd,OAAO,UAAU,CAAC;QACpB;YACE,OAAO,QAAQ,CAAC;IACpB,CAAC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AgentsContext as Client } from \"../index.js\";\nimport type {\n _AgentsPagedResultVectorStoreFile,\n VectorStoreFileBatch,\n VectorStoreFile,\n} from \"../../models/models.js\";\nimport {\n vectorStoreDataSourceArraySerializer,\n agentV1ErrorDeserializer,\n vectorStoreChunkingStrategyRequestUnionSerializer,\n _agentsPagedResultVectorStoreFileDeserializer,\n vectorStoreFileBatchDeserializer,\n} from \"../../models/models.js\";\nimport type {\n VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams,\n VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams,\n VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams,\n VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n} from \"./options.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { OperationState, OperationStatus, PollerLike } from \"@azure/core-lro\";\nimport { createPoller } from \"../poller.js\";\n\nexport function _listVectorStoreFileBatchFilesSend(\n context: Client,\n vectorStoreId: string,\n batchId: string,\n options: VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}/file_batches/{batchId}/files{?filter,api-version,limit,order,after,before}\",\n {\n vectorStoreId: vectorStoreId,\n batchId: batchId,\n filter: options?.filter,\n \"api-version\": 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 _listVectorStoreFileBatchFilesDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AgentsPagedResultVectorStoreFile> {\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 _agentsPagedResultVectorStoreFileDeserializer(result.body);\n}\n\n/** Returns a list of vector store files in a batch. */\nexport function listVectorStoreFileBatchFiles(\n context: Client,\n vectorStoreId: string,\n batchId: string,\n options: VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<VectorStoreFile> {\n return buildPagedAsyncIterator(\n context,\n () => _listVectorStoreFileBatchFilesSend(context, vectorStoreId, batchId, options),\n _listVectorStoreFileBatchFilesDeserialize,\n [\"200\"],\n { itemName: \"data\" },\n );\n}\n\nexport function _cancelVectorStoreFileBatchSend(\n context: Client,\n vectorStoreId: string,\n batchId: string,\n options: VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}/file_batches/{batchId}/cancel{?api%2Dversion}\",\n {\n vectorStoreId: vectorStoreId,\n batchId: batchId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _cancelVectorStoreFileBatchDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStoreFileBatch> {\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 vectorStoreFileBatchDeserializer(result.body);\n}\n\n/** Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible. */\nexport async function cancelVectorStoreFileBatch(\n context: Client,\n vectorStoreId: string,\n batchId: string,\n options: VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams = {\n requestOptions: {},\n },\n): Promise<VectorStoreFileBatch> {\n const result = await _cancelVectorStoreFileBatchSend(context, vectorStoreId, batchId, options);\n return _cancelVectorStoreFileBatchDeserialize(result);\n}\n\nexport function _getVectorStoreFileBatchSend(\n context: Client,\n vectorStoreId: string,\n batchId: string,\n options: VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}/file_batches/{batchId}{?api%2Dversion}\",\n {\n vectorStoreId: vectorStoreId,\n batchId: batchId,\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 _getVectorStoreFileBatchDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStoreFileBatch> {\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 vectorStoreFileBatchDeserializer(result.body);\n}\n\n/** Retrieve a vector store file batch. */\nexport async function getVectorStoreFileBatch(\n context: Client,\n vectorStoreId: string,\n batchId: string,\n options: VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams = {\n requestOptions: {},\n },\n): Promise<VectorStoreFileBatch> {\n const result = await _getVectorStoreFileBatchSend(context, vectorStoreId, batchId, options);\n return _getVectorStoreFileBatchDeserialize(result);\n}\n\nexport function _createVectorStoreFileBatchSend(\n context: Client,\n vectorStoreId: string,\n options: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/vector_stores/{vectorStoreId}/file_batches{?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: { 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 data_sources: !options?.dataSources\n ? options?.dataSources\n : vectorStoreDataSourceArraySerializer(options?.dataSources),\n chunking_strategy: !options?.chunkingStrategy\n ? options?.chunkingStrategy\n : vectorStoreChunkingStrategyRequestUnionSerializer(options?.chunkingStrategy),\n },\n });\n}\n\nexport async function _createVectorStoreFileBatchDeserialize(\n result: PathUncheckedResponse,\n): Promise<VectorStoreFileBatch> {\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 vectorStoreFileBatchDeserializer(result.body);\n}\n\n/** Create a vector store file batch. */\nexport async function createVectorStoreFileBatchInternal(\n context: Client,\n vectorStoreId: string,\n options: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams = {\n requestOptions: {},\n },\n): Promise<VectorStoreFileBatch> {\n const result = await _createVectorStoreFileBatchSend(context, vectorStoreId, options);\n return _createVectorStoreFileBatchDeserialize(result);\n}\n\n/** Create a vector store file batch. */\nexport function createVectorStoreFileBatch(\n context: Client,\n vectorStoreId: string,\n options: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<VectorStoreFileBatch>, VectorStoreFileBatch> {\n return createPoller<VectorStoreFileBatch>({\n initOperation: async () => {\n return createVectorStoreFileBatchInternal(context, vectorStoreId, options);\n },\n pollOperation: async (currentResult: VectorStoreFileBatch) => {\n return getVectorStoreFileBatch(context, vectorStoreId, currentResult.id, options);\n },\n getOperationStatus: getLroOperationStatus,\n intervalInMs: options.pollingOptions?.intervalInMs,\n });\n}\n\n/** Create a vector store file batch and poll. */\nexport function createVectorStoreFileBatchAndPoll(\n context: Client,\n vectorStoreId: string,\n options: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<VectorStoreFileBatch>, VectorStoreFileBatch> {\n return createPoller<VectorStoreFileBatch>({\n initOperation: async () => {\n return createVectorStoreFileBatchInternal(context, vectorStoreId, options);\n },\n pollOperation: async (currentResult: VectorStoreFileBatch) => {\n return getVectorStoreFileBatch(context, vectorStoreId, currentResult.id, options);\n },\n getOperationStatus: getLroOperationStatus,\n intervalInMs: options.pollingOptions?.intervalInMs,\n });\n}\n\nfunction getLroOperationStatus(result: VectorStoreFileBatch): OperationStatus {\n switch (result.status) {\n case \"in_progress\":\n return \"running\";\n case \"completed\":\n return \"succeeded\";\n case \"cancelled\":\n return \"canceled\";\n default:\n return \"failed\";\n }\n}\n"]}
@@ -1,12 +1,12 @@
1
1
  import type { AgentsContext } from "../../api/agentsContext.js";
2
- import type { VectorStoreFileBatch } from "../../models/models.js";
2
+ import type { VectorStoreFile, VectorStoreFileBatch } from "../../models/models.js";
3
3
  import type { VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams, VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams, VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams, VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams } from "../../api/vectorStoreFileBatches/options.js";
4
4
  import type { OperationState, PollerLike } from "@azure/core-lro";
5
5
  import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
6
6
  /** Interface representing a VectorStoreFileBatches operations. */
7
7
  export interface VectorStoreFileBatchesOperations {
8
8
  /** Returns a list of vector store files in a batch. */
9
- list: (vectorStoreId: string, batchId: string, options?: VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams) => PagedAsyncIterableIterator<VectorStoreFileBatch>;
9
+ list: (vectorStoreId: string, batchId: string, options?: VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams) => PagedAsyncIterableIterator<VectorStoreFile>;
10
10
  /** Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible. */
11
11
  cancel: (vectorStoreId: string, batchId: string, options?: VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams) => Promise<VectorStoreFileBatch>;
12
12
  /** Retrieve a vector store file batch. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/vectorStoreFileBatches/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EACV,iEAAiE,EACjE,8DAA8D,EAC9D,2DAA2D,EAC3D,8DAA8D,EAC/D,MAAM,6CAA6C,CAAC;AAQrD,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAExF,kEAAkE;AAClE,MAAM,WAAW,gCAAgC;IAC/C,uDAAuD;IACvD,IAAI,EAAE,CACJ,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,iEAAiE,KACxE,0BAA0B,CAAC,oBAAoB,CAAC,CAAC;IACtD,2HAA2H;IAC3H,MAAM,EAAE,CACN,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,8DAA8D,KACrE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACnC,0CAA0C;IAC1C,GAAG,EAAE,CACH,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,2DAA2D,KAClE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACnC,wCAAwC;IACxC,MAAM,EAAE,CACN,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8DAA8D,KACrE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACnC,iDAAiD;IACjD,aAAa,EAAE,CACb,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8DAA8D,KACrE,UAAU,CAAC,cAAc,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,CAAC;CAC7E;AA8BD,wBAAgB,oCAAoC,CAClD,OAAO,EAAE,aAAa,GACrB,gCAAgC,CAIlC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/vectorStoreFileBatches/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACpF,OAAO,KAAK,EACV,iEAAiE,EACjE,8DAA8D,EAC9D,2DAA2D,EAC3D,8DAA8D,EAC/D,MAAM,6CAA6C,CAAC;AAQrD,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAExF,kEAAkE;AAClE,MAAM,WAAW,gCAAgC;IAC/C,uDAAuD;IACvD,IAAI,EAAE,CACJ,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,iEAAiE,KACxE,0BAA0B,CAAC,eAAe,CAAC,CAAC;IACjD,2HAA2H;IAC3H,MAAM,EAAE,CACN,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,8DAA8D,KACrE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACnC,0CAA0C;IAC1C,GAAG,EAAE,CACH,aAAa,EAAE,MAAM,EACrB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,2DAA2D,KAClE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACnC,wCAAwC;IACxC,MAAM,EAAE,CACN,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8DAA8D,KACrE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACnC,iDAAiD;IACjD,aAAa,EAAE,CACb,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8DAA8D,KACrE,UAAU,CAAC,cAAc,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,CAAC;CAC7E;AA8BD,wBAAgB,oCAAoC,CAClD,OAAO,EAAE,aAAa,GACrB,gCAAgC,CAIlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/vectorStoreFileBatches/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAUlC,OAAO,EACL,6BAA6B,EAC7B,0BAA0B,EAC1B,uBAAuB,EACvB,0BAA0B,EAC1B,iCAAiC,GAClC,MAAM,gDAAgD,CAAC;AAoCxD,SAAS,0BAA0B,CAAC,OAAsB;IACxD,OAAO;QACL,IAAI,EAAE,CACJ,aAAqB,EACrB,OAAe,EACf,OAA2E,EAC3E,EAAE,CAAC,6BAA6B,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC;QAC5E,MAAM,EAAE,CACN,aAAqB,EACrB,OAAe,EACf,OAAwE,EACxE,EAAE,CAAC,0BAA0B,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC;QACzE,GAAG,EAAE,CACH,aAAqB,EACrB,OAAe,EACf,OAAqE,EACrE,EAAE,CAAC,uBAAuB,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC;QACtE,MAAM,EAAE,CACN,aAAqB,EACrB,OAAwE,EACxE,EAAE,CAAC,0BAA0B,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC;QAChE,aAAa,EAAE,CACb,aAAqB,EACrB,OAAwE,EACxE,EAAE,CAAC,iCAAiC,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC;KACxE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,oCAAoC,CAClD,OAAsB;IAEtB,yBACK,0BAA0B,CAAC,OAAO,CAAC,EACtC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AgentsContext } from \"../../api/agentsContext.js\";\nimport type { VectorStoreFileBatch } from \"../../models/models.js\";\nimport type {\n VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams,\n VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams,\n VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams,\n VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n} from \"../../api/vectorStoreFileBatches/options.js\";\nimport {\n listVectorStoreFileBatchFiles,\n cancelVectorStoreFileBatch,\n getVectorStoreFileBatch,\n createVectorStoreFileBatch,\n createVectorStoreFileBatchAndPoll,\n} from \"../../api/vectorStoreFileBatches/operations.js\";\nimport type { OperationState, PollerLike } from \"@azure/core-lro\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a VectorStoreFileBatches operations. */\nexport interface VectorStoreFileBatchesOperations {\n /** Returns a list of vector store files in a batch. */\n list: (\n vectorStoreId: string,\n batchId: string,\n options?: VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams,\n ) => PagedAsyncIterableIterator<VectorStoreFileBatch>;\n /** Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible. */\n cancel: (\n vectorStoreId: string,\n batchId: string,\n options?: VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams,\n ) => Promise<VectorStoreFileBatch>;\n /** Retrieve a vector store file batch. */\n get: (\n vectorStoreId: string,\n batchId: string,\n options?: VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams,\n ) => Promise<VectorStoreFileBatch>;\n /** Create a vector store file batch. */\n create: (\n vectorStoreId: string,\n options?: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n ) => Promise<VectorStoreFileBatch>;\n /** Create a vector store file batch and poll. */\n createAndPoll: (\n vectorStoreId: string,\n options?: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n ) => PollerLike<OperationState<VectorStoreFileBatch>, VectorStoreFileBatch>;\n}\n\nfunction _getVectorStoreFileBatches(context: AgentsContext) {\n return {\n list: (\n vectorStoreId: string,\n batchId: string,\n options?: VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams,\n ) => listVectorStoreFileBatchFiles(context, vectorStoreId, batchId, options),\n cancel: (\n vectorStoreId: string,\n batchId: string,\n options?: VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams,\n ) => cancelVectorStoreFileBatch(context, vectorStoreId, batchId, options),\n get: (\n vectorStoreId: string,\n batchId: string,\n options?: VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams,\n ) => getVectorStoreFileBatch(context, vectorStoreId, batchId, options),\n create: (\n vectorStoreId: string,\n options?: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n ) => createVectorStoreFileBatch(context, vectorStoreId, options),\n createAndPoll: (\n vectorStoreId: string,\n options?: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n ) => createVectorStoreFileBatchAndPoll(context, vectorStoreId, options),\n };\n}\n\nexport function _getVectorStoreFileBatchesOperations(\n context: AgentsContext,\n): VectorStoreFileBatchesOperations {\n return {\n ..._getVectorStoreFileBatches(context),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/vectorStoreFileBatches/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAUlC,OAAO,EACL,6BAA6B,EAC7B,0BAA0B,EAC1B,uBAAuB,EACvB,0BAA0B,EAC1B,iCAAiC,GAClC,MAAM,gDAAgD,CAAC;AAoCxD,SAAS,0BAA0B,CAAC,OAAsB;IACxD,OAAO;QACL,IAAI,EAAE,CACJ,aAAqB,EACrB,OAAe,EACf,OAA2E,EAC3E,EAAE,CAAC,6BAA6B,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC;QAC5E,MAAM,EAAE,CACN,aAAqB,EACrB,OAAe,EACf,OAAwE,EACxE,EAAE,CAAC,0BAA0B,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC;QACzE,GAAG,EAAE,CACH,aAAqB,EACrB,OAAe,EACf,OAAqE,EACrE,EAAE,CAAC,uBAAuB,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,OAAO,CAAC;QACtE,MAAM,EAAE,CACN,aAAqB,EACrB,OAAwE,EACxE,EAAE,CAAC,0BAA0B,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC;QAChE,aAAa,EAAE,CACb,aAAqB,EACrB,OAAwE,EACxE,EAAE,CAAC,iCAAiC,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC;KACxE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,oCAAoC,CAClD,OAAsB;IAEtB,yBACK,0BAA0B,CAAC,OAAO,CAAC,EACtC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AgentsContext } from \"../../api/agentsContext.js\";\nimport type { VectorStoreFile, VectorStoreFileBatch } from \"../../models/models.js\";\nimport type {\n VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams,\n VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams,\n VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams,\n VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n} from \"../../api/vectorStoreFileBatches/options.js\";\nimport {\n listVectorStoreFileBatchFiles,\n cancelVectorStoreFileBatch,\n getVectorStoreFileBatch,\n createVectorStoreFileBatch,\n createVectorStoreFileBatchAndPoll,\n} from \"../../api/vectorStoreFileBatches/operations.js\";\nimport type { OperationState, PollerLike } from \"@azure/core-lro\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a VectorStoreFileBatches operations. */\nexport interface VectorStoreFileBatchesOperations {\n /** Returns a list of vector store files in a batch. */\n list: (\n vectorStoreId: string,\n batchId: string,\n options?: VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams,\n ) => PagedAsyncIterableIterator<VectorStoreFile>;\n /** Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible. */\n cancel: (\n vectorStoreId: string,\n batchId: string,\n options?: VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams,\n ) => Promise<VectorStoreFileBatch>;\n /** Retrieve a vector store file batch. */\n get: (\n vectorStoreId: string,\n batchId: string,\n options?: VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams,\n ) => Promise<VectorStoreFileBatch>;\n /** Create a vector store file batch. */\n create: (\n vectorStoreId: string,\n options?: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n ) => Promise<VectorStoreFileBatch>;\n /** Create a vector store file batch and poll. */\n createAndPoll: (\n vectorStoreId: string,\n options?: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n ) => PollerLike<OperationState<VectorStoreFileBatch>, VectorStoreFileBatch>;\n}\n\nfunction _getVectorStoreFileBatches(context: AgentsContext) {\n return {\n list: (\n vectorStoreId: string,\n batchId: string,\n options?: VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams,\n ) => listVectorStoreFileBatchFiles(context, vectorStoreId, batchId, options),\n cancel: (\n vectorStoreId: string,\n batchId: string,\n options?: VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams,\n ) => cancelVectorStoreFileBatch(context, vectorStoreId, batchId, options),\n get: (\n vectorStoreId: string,\n batchId: string,\n options?: VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams,\n ) => getVectorStoreFileBatch(context, vectorStoreId, batchId, options),\n create: (\n vectorStoreId: string,\n options?: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n ) => createVectorStoreFileBatch(context, vectorStoreId, options),\n createAndPoll: (\n vectorStoreId: string,\n options?: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams,\n ) => createVectorStoreFileBatchAndPoll(context, vectorStoreId, options),\n };\n}\n\nexport function _getVectorStoreFileBatchesOperations(\n context: AgentsContext,\n): VectorStoreFileBatchesOperations {\n return {\n ..._getVectorStoreFileBatches(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.0.0";
4
+ export declare const SDK_VERSION = "1.1.0-beta.1";
5
5
  /**
6
6
  * The package name of the `@azure/ai-agents` package.
7
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,WAAW,UAAU,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,YAAY,qBAAqB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,WAAW,iBAAiB,CAAC;AAE1C;;GAEG;AACH,eAAO,MAAM,YAAY,qBAAqB,CAAC"}
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Current version of the `@azure/ai-agents` package.
5
5
  */
6
- export const SDK_VERSION = `1.0.0`;
6
+ export const SDK_VERSION = `1.1.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,OAAO,CAAC;AAEnC;;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.0.0`;\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.1.0-beta.1`;\n\n/**\n * The package name of the `@azure/ai-agents` package.\n */\nexport const PACKAGE_NAME = \"@azure/ai-agents\";\n"]}
@@ -1,9 +1,10 @@
1
1
  import { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
2
2
  import { FileContents } from "./static-helpers/multipartHelpers.js";
3
3
  export * from "./models/streamingModels.js";
4
- export * from "./utils.js";
4
+ export * from "./utils/utils.js";
5
+ export { MCPTool } from "./utils/MCPTool.js";
5
6
  export { AgentsClient } from "./agentsClient.js";
6
- export { ToolDefinition, ToolDefinitionUnion, CodeInterpreterToolDefinition, FileSearchToolDefinition, FileSearchToolDefinitionDetails, FileSearchRankingOptions, FunctionToolDefinition, FunctionDefinition, BingGroundingToolDefinition, BingGroundingSearchToolParameters, BingGroundingSearchConfiguration, AzureAISearchToolDefinition, OpenApiToolDefinition, OpenApiFunctionDefinition, OpenApiAuthDetails, OpenApiAuthDetailsUnion, OpenApiAuthType, OpenApiAnonymousAuthDetails, OpenApiConnectionAuthDetails, OpenApiConnectionSecurityScheme, OpenApiManagedAuthDetails, OpenApiManagedSecurityScheme, ConnectedAgentToolDefinition, ConnectedAgentDetails, AzureFunctionToolDefinition, AzureFunctionDefinition, AzureFunctionBinding, AzureFunctionStorageQueue, ToolResources, CodeInterpreterToolResource, VectorStoreDataSource, VectorStoreDataSourceAssetType, FileSearchToolResource, VectorStoreConfigurations, VectorStoreConfiguration, AzureAISearchToolResource, AISearchIndexResource, AzureAISearchQueryType, 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, 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, RunStep, RunStepType, RunStepStatus, RunStepDetails, RunStepDetailsUnion, RunStepMessageCreationDetails, RunStepMessageCreationReference, RunStepToolCallDetails, RunStepToolCall, RunStepToolCallUnion, RunStepCodeInterpreterToolCall, RunStepCodeInterpreterToolCallDetails, RunStepCodeInterpreterToolCallOutput, RunStepCodeInterpreterToolCallOutputUnion, RunStepCodeInterpreterLogOutput, RunStepCodeInterpreterImageOutput, RunStepCodeInterpreterImageReference, RunStepFileSearchToolCall, RunStepFileSearchToolCallResults, RunStepFileSearchToolCallResult, FileSearchToolCallContent, RunStepBingGroundingToolCall, RunStepAzureAISearchToolCall, RunStepFunctionToolCall, RunStepFunctionToolCallDetails, RunStepOpenAPIToolCall, 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";
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";
7
8
  export { AgentsClientOptionalParams, CreateThreadAndRunOptionalParams, DeleteAgentOptionalParams, UpdateAgentOptionalParams, GetAgentOptionalParams, ListAgentsOptionalParams, CreateAgentOptionalParams, PollingOptionsParams, PollingOptions, } from "./api/index.js";
8
9
  export { FilesGetFileContentOptionalParams, FilesGetFileOptionalParams, FilesDeleteFileOptionalParams, FilesUploadFileOptionalParams, FilesListFilesOptionalParams, } from "./api/files/index.js";
9
10
  export { MessagesUpdateMessageOptionalParams, MessagesGetMessageOptionalParams, MessagesListMessagesOptionalParams, MessagesCreateMessageOptionalParams, } from "./api/messages/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,EAA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AC;AACjC,OAAO,EACL,iCAAiC,EACjC,iCAAiC,EACjC,8BAA8B,EAC9B,gCAAgC,EAChC,iCAAiC,GAClC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,iEAAiE,EACjE,8DAA8D,EAC9D,2DAA2D,EAC3D,8DAA8D,GAC/D,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,mDAAmD,EACnD,gDAAgD,EAChD,mDAAmD,EACnD,kDAAkD,GACnD,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,2CAA2C,EAC3C,2CAA2C,EAC3C,wCAAwC,EACxC,2CAA2C,EAC3C,0CAA0C,GAC3C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,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"}
@@ -1,7 +1,8 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
3
  export * from "./models/streamingModels.js";
4
- export * from "./utils.js";
4
+ export * from "./utils/utils.js";
5
+ export { MCPTool } from "./utils/MCPTool.js";
5
6
  export { AgentsClient } from "./agentsClient.js";
6
7
  export { VectorStoreDataSourceAssetType, ThreadStreamEvent, RunStreamEvent, RunStepStreamEvent, MessageStreamEvent, ErrorEvent, DoneEvent, KnownVersions, } from "./models/index.js";
7
8
  //# 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,YAAY,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAgCL,8BAA8B,EAwK9B,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.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 AzureAISearchToolDefinition,\n OpenApiToolDefinition,\n OpenApiFunctionDefinition,\n OpenApiAuthDetails,\n OpenApiAuthDetailsUnion,\n OpenApiAuthType,\n OpenApiAnonymousAuthDetails,\n OpenApiConnectionAuthDetails,\n OpenApiConnectionSecurityScheme,\n OpenApiManagedAuthDetails,\n OpenApiManagedSecurityScheme,\n ConnectedAgentToolDefinition,\n ConnectedAgentDetails,\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 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 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 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 RunStepFunctionToolCall,\n RunStepFunctionToolCallDetails,\n RunStepOpenAPIToolCall,\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,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,3 +1,3 @@
1
1
  export * from "./streamingModels.js";
2
- export { ToolDefinition, ToolDefinitionUnion, CodeInterpreterToolDefinition, FileSearchToolDefinition, FileSearchToolDefinitionDetails, FileSearchRankingOptions, FunctionToolDefinition, FunctionDefinition, BingGroundingToolDefinition, BingGroundingSearchToolParameters, BingGroundingSearchConfiguration, AzureAISearchToolDefinition, OpenApiToolDefinition, OpenApiFunctionDefinition, OpenApiAuthDetails, OpenApiAuthDetailsUnion, OpenApiAuthType, OpenApiAnonymousAuthDetails, OpenApiConnectionAuthDetails, OpenApiConnectionSecurityScheme, OpenApiManagedAuthDetails, OpenApiManagedSecurityScheme, ConnectedAgentToolDefinition, ConnectedAgentDetails, AzureFunctionToolDefinition, AzureFunctionDefinition, AzureFunctionBinding, AzureFunctionStorageQueue, ToolResources, CodeInterpreterToolResource, VectorStoreDataSource, VectorStoreDataSourceAssetType, FileSearchToolResource, VectorStoreConfigurations, VectorStoreConfiguration, AzureAISearchToolResource, AISearchIndexResource, AzureAISearchQueryType, 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, 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, RunStep, RunStepType, RunStepStatus, RunStepDetails, RunStepDetailsUnion, RunStepMessageCreationDetails, RunStepMessageCreationReference, RunStepToolCallDetails, RunStepToolCall, RunStepToolCallUnion, RunStepCodeInterpreterToolCall, RunStepCodeInterpreterToolCallDetails, RunStepCodeInterpreterToolCallOutput, RunStepCodeInterpreterToolCallOutputUnion, RunStepCodeInterpreterLogOutput, RunStepCodeInterpreterImageOutput, RunStepCodeInterpreterImageReference, RunStepFileSearchToolCall, RunStepFileSearchToolCallResults, RunStepFileSearchToolCallResult, FileSearchToolCallContent, RunStepBingGroundingToolCall, RunStepAzureAISearchToolCall, RunStepFunctionToolCall, RunStepFunctionToolCallDetails, RunStepOpenAPIToolCall, 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, 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";
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,cAAc,EACd,mBAAmB,EACnB,6BAA6B,EAC7B,wBAAwB,EACxB,+BAA+B,EAC/B,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,EAClB,2BAA2B,EAC3B,iCAAiC,EACjC,gCAAgC,EAChC,2BAA2B,EAC3B,qBAAqB,EACrB,yBAAyB,EACzB,kBAAkB,EAClB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,4BAA4B,EAC5B,+BAA+B,EAC/B,yBAAyB,EACzB,4BAA4B,EAC5B,4BAA4B,EAC5B,qBAAqB,EACrB,2BAA2B,EAC3B,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,aAAa,EACb,2BAA2B,EAC3B,q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,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,EACzB,kBAAkB,EAClB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,4BAA4B,EAC5B,+BAA+B,EAC/B,yBAAyB,EACzB,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,4BAA4B,EAC5B,qBAAqB,EACrB,0BAA0B,EAC1B,mBAAmB,EACnB,mCAAmC,EACnC,iBAAiB,EACjB,2BAA2B,EAC3B,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,aAAa,EACb,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,qBAAqB,EACrB,sBAAsB,EACtB,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,KAAK,EACL,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,0BAA0B,EAC1B,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACnB,wBAAwB,EACxB,6BAA6B,EAC7B,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,qBAAqB,EACrB,gBAAgB,EAChB,yBAA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,EACT,kBAAkB,EAClB,WAAW,EACX,oBAAoB,EACpB,iBAAiB,EACjB,2BAA2B,EAC3B,iCAAiC,EACjC,kCAAkC,EAClC,uCAAuC,EACvC,sCAAsC,EACtC,sCAAsC,EACtC,wCAAwC,EACxC,wCAAwC,EACxC,yBAAyB,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,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 +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,EAgCL,8BAA8B,EAwK9B,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 AzureAISearchToolDefinition,\n OpenApiToolDefinition,\n OpenApiFunctionDefinition,\n OpenApiAuthDetails,\n OpenApiAuthDetailsUnion,\n OpenApiAuthType,\n OpenApiAnonymousAuthDetails,\n OpenApiConnectionAuthDetails,\n OpenApiConnectionSecurityScheme,\n OpenApiManagedAuthDetails,\n OpenApiManagedSecurityScheme,\n ConnectedAgentToolDefinition,\n ConnectedAgentDetails,\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 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 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 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 RunStepFunctionToolCall,\n RunStepFunctionToolCallDetails,\n RunStepOpenAPIToolCall,\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,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"]}