@azure/ai-agents 1.0.0-alpha.20250502.6 → 1.0.0-alpha.20250507.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/agentsClient.d.ts +31 -93
- package/dist/browser/agentsClient.d.ts.map +1 -1
- package/dist/browser/agentsClient.js +17 -168
- package/dist/browser/agentsClient.js.map +1 -1
- package/dist/browser/api/agentsContext.js +2 -2
- package/dist/browser/api/agentsContext.js.map +1 -1
- package/dist/browser/api/files/index.d.ts +3 -0
- package/dist/browser/api/files/index.d.ts.map +1 -0
- package/dist/browser/api/files/index.js +4 -0
- package/dist/browser/api/files/index.js.map +1 -0
- package/dist/browser/api/files/operations.d.ts +45 -0
- package/dist/browser/api/files/operations.d.ts.map +1 -0
- package/dist/browser/api/files/operations.js +154 -0
- package/dist/browser/api/files/operations.js.map +1 -0
- package/dist/browser/api/files/options.d.ts +23 -0
- package/dist/browser/api/files/options.d.ts.map +1 -0
- package/dist/browser/api/files/options.js +4 -0
- package/dist/browser/api/files/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +2 -2
- package/dist/browser/api/index.d.ts.map +1 -1
- package/dist/browser/api/index.js +1 -1
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/messages/index.d.ts +3 -0
- package/dist/browser/api/messages/index.d.ts.map +1 -0
- package/dist/browser/api/messages/index.js +4 -0
- package/dist/browser/api/messages/index.js.map +1 -0
- package/dist/browser/api/messages/operations.d.ts +22 -0
- package/dist/browser/api/messages/operations.d.ts.map +1 -0
- package/dist/browser/api/messages/operations.js +108 -0
- package/dist/browser/api/messages/operations.js.map +1 -0
- package/dist/browser/api/messages/options.d.ts +31 -0
- package/dist/browser/api/messages/options.d.ts.map +1 -0
- package/dist/browser/api/messages/options.js +4 -0
- package/dist/browser/api/messages/options.js.map +1 -0
- package/dist/browser/api/operations.d.ts +8 -183
- package/dist/browser/api/operations.d.ts.map +1 -1
- package/dist/browser/api/operations.js +14 -1063
- package/dist/browser/api/operations.js.map +1 -1
- package/dist/browser/api/options.d.ts +25 -322
- package/dist/browser/api/options.d.ts.map +1 -1
- package/dist/browser/api/options.js.map +1 -1
- package/dist/browser/api/runSteps/index.d.ts +3 -0
- package/dist/browser/api/runSteps/index.d.ts.map +1 -0
- package/dist/browser/api/runSteps/index.js +4 -0
- package/dist/browser/api/runSteps/index.js.map +1 -0
- package/dist/browser/api/runSteps/operations.d.ts +14 -0
- package/dist/browser/api/runSteps/operations.d.ts.map +1 -0
- package/dist/browser/api/runSteps/operations.js +67 -0
- package/dist/browser/api/runSteps/operations.js.map +1 -0
- package/dist/browser/api/runSteps/options.d.ts +27 -0
- package/dist/browser/api/runSteps/options.d.ts.map +1 -0
- package/dist/browser/api/runSteps/options.js +4 -0
- package/dist/browser/api/runSteps/options.js.map +1 -0
- package/dist/browser/api/runs/index.d.ts +3 -0
- package/dist/browser/api/runs/index.d.ts.map +1 -0
- package/dist/browser/api/runs/index.js +4 -0
- package/dist/browser/api/runs/index.js.map +1 -0
- package/dist/browser/api/runs/operations.d.ts +31 -0
- package/dist/browser/api/runs/operations.d.ts.map +1 -0
- package/dist/browser/api/runs/operations.js +190 -0
- package/dist/browser/api/runs/operations.js.map +1 -0
- package/dist/browser/api/runs/options.d.ts +92 -0
- package/dist/browser/api/runs/options.d.ts.map +1 -0
- package/dist/browser/api/runs/options.js +4 -0
- package/dist/browser/api/runs/options.js.map +1 -0
- package/dist/browser/api/threads/index.d.ts +3 -0
- package/dist/browser/api/threads/index.d.ts.map +1 -0
- package/dist/browser/api/threads/index.js +4 -0
- package/dist/browser/api/threads/index.js.map +1 -0
- package/dist/browser/api/threads/operations.d.ts +26 -0
- package/dist/browser/api/threads/operations.d.ts.map +1 -0
- package/dist/browser/api/threads/operations.js +131 -0
- package/dist/browser/api/threads/operations.js.map +1 -0
- package/dist/browser/api/threads/options.d.ts +44 -0
- package/dist/browser/api/threads/options.d.ts.map +1 -0
- package/dist/browser/api/threads/options.js +4 -0
- package/dist/browser/api/threads/options.js.map +1 -0
- package/dist/browser/api/vectorStoreFileBatches/index.d.ts +3 -0
- package/dist/browser/api/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/browser/api/vectorStoreFileBatches/index.js +4 -0
- package/dist/browser/api/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/browser/api/vectorStoreFileBatches/operations.d.ts +27 -0
- package/dist/browser/api/vectorStoreFileBatches/operations.d.ts.map +1 -0
- package/dist/browser/api/vectorStoreFileBatches/operations.js +161 -0
- package/dist/browser/api/vectorStoreFileBatches/operations.js.map +1 -0
- package/dist/browser/api/vectorStoreFileBatches/options.d.ts +32 -0
- package/dist/browser/api/vectorStoreFileBatches/options.d.ts.map +1 -0
- package/dist/browser/api/vectorStoreFileBatches/options.js +4 -0
- package/dist/browser/api/vectorStoreFileBatches/options.js.map +1 -0
- package/dist/browser/api/vectorStoreFiles/index.d.ts +3 -0
- package/dist/browser/api/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/browser/api/vectorStoreFiles/index.js +4 -0
- package/dist/browser/api/vectorStoreFiles/index.js.map +1 -0
- package/dist/browser/api/vectorStoreFiles/operations.d.ts +27 -0
- package/dist/browser/api/vectorStoreFiles/operations.d.ts.map +1 -0
- package/dist/browser/api/vectorStoreFiles/operations.js +176 -0
- package/dist/browser/api/vectorStoreFiles/operations.js.map +1 -0
- package/dist/browser/api/vectorStoreFiles/options.d.ts +32 -0
- package/dist/browser/api/vectorStoreFiles/options.d.ts.map +1 -0
- package/dist/browser/api/vectorStoreFiles/options.js +4 -0
- package/dist/browser/api/vectorStoreFiles/options.js.map +1 -0
- package/dist/browser/api/vectorStores/index.d.ts +3 -0
- package/dist/browser/api/vectorStores/index.d.ts.map +1 -0
- package/dist/browser/api/vectorStores/index.js +4 -0
- package/dist/browser/api/vectorStores/index.js.map +1 -0
- package/dist/browser/api/vectorStores/operations.d.ts +33 -0
- package/dist/browser/api/vectorStores/operations.d.ts.map +1 -0
- package/dist/browser/api/vectorStores/operations.js +184 -0
- package/dist/browser/api/vectorStores/operations.js.map +1 -0
- package/dist/browser/api/vectorStores/options.d.ts +45 -0
- package/dist/browser/api/vectorStores/options.d.ts.map +1 -0
- package/dist/browser/api/vectorStores/options.js +4 -0
- package/dist/browser/api/vectorStores/options.js.map +1 -0
- package/dist/browser/classic/files/index.d.ts +22 -0
- package/dist/browser/classic/files/index.d.ts.map +1 -0
- package/dist/browser/classic/files/index.js +17 -0
- package/dist/browser/classic/files/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +9 -0
- package/dist/browser/classic/index.d.ts.map +1 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/messages/index.d.ts +17 -0
- package/dist/browser/classic/messages/index.d.ts.map +1 -0
- package/dist/browser/classic/messages/index.js +15 -0
- package/dist/browser/classic/messages/index.js.map +1 -0
- package/dist/browser/classic/runSteps/index.d.ts +14 -0
- package/dist/browser/classic/runSteps/index.d.ts.map +1 -0
- package/dist/browser/classic/runSteps/index.js +13 -0
- package/dist/browser/classic/runSteps/index.js.map +1 -0
- package/dist/browser/classic/runs/index.d.ts +25 -0
- package/dist/browser/classic/runs/index.d.ts.map +1 -0
- package/dist/browser/classic/runs/index.js +19 -0
- package/dist/browser/classic/runs/index.js.map +1 -0
- package/dist/browser/classic/threads/index.d.ts +19 -0
- package/dist/browser/classic/threads/index.d.ts.map +1 -0
- package/dist/browser/classic/threads/index.js +16 -0
- package/dist/browser/classic/threads/index.js.map +1 -0
- package/dist/browser/classic/vectorStoreFileBatches/index.d.ts +20 -0
- package/dist/browser/classic/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/browser/classic/vectorStoreFileBatches/index.js +16 -0
- package/dist/browser/classic/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/browser/classic/vectorStoreFiles/index.d.ts +20 -0
- package/dist/browser/classic/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/browser/classic/vectorStoreFiles/index.js +14 -0
- package/dist/browser/classic/vectorStoreFiles/index.js.map +1 -0
- package/dist/browser/classic/vectorStores/index.d.ts +22 -0
- package/dist/browser/classic/vectorStores/index.d.ts.map +1 -0
- package/dist/browser/classic/vectorStores/index.js +17 -0
- package/dist/browser/classic/vectorStores/index.js.map +1 -0
- package/dist/browser/index.d.ts +14 -3
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +2 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +412 -342
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +407 -295
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/static-helpers/multipartHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/multipartHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/multipartHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.js +137 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js +2 -2
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/browser/utils.d.ts +26 -5
- package/dist/browser/utils.d.ts.map +1 -1
- package/dist/browser/utils.js +44 -8
- package/dist/browser/utils.js.map +1 -1
- package/dist/commonjs/agentsClient.d.ts +31 -93
- package/dist/commonjs/agentsClient.d.ts.map +1 -1
- package/dist/commonjs/agentsClient.js +16 -167
- package/dist/commonjs/agentsClient.js.map +1 -1
- package/dist/commonjs/api/agentsContext.js +2 -2
- package/dist/commonjs/api/agentsContext.js.map +1 -1
- package/dist/commonjs/api/files/index.d.ts +3 -0
- package/dist/commonjs/api/files/index.d.ts.map +1 -0
- package/dist/commonjs/api/files/index.js +12 -0
- package/dist/commonjs/api/files/index.js.map +1 -0
- package/dist/commonjs/api/files/operations.d.ts +45 -0
- package/dist/commonjs/api/files/operations.d.ts.map +1 -0
- package/dist/commonjs/api/files/operations.js +172 -0
- package/dist/commonjs/api/files/operations.js.map +1 -0
- package/dist/commonjs/api/files/options.d.ts +23 -0
- package/dist/commonjs/api/files/options.d.ts.map +1 -0
- package/dist/commonjs/api/files/options.js +5 -0
- package/dist/commonjs/api/files/options.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +2 -2
- package/dist/commonjs/api/index.d.ts.map +1 -1
- package/dist/commonjs/api/index.js +2 -38
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/messages/index.d.ts +3 -0
- package/dist/commonjs/api/messages/index.d.ts.map +1 -0
- package/dist/commonjs/api/messages/index.js +11 -0
- package/dist/commonjs/api/messages/index.js.map +1 -0
- package/dist/commonjs/api/messages/operations.d.ts +22 -0
- package/dist/commonjs/api/messages/operations.d.ts.map +1 -0
- package/dist/commonjs/api/messages/operations.js +122 -0
- package/dist/commonjs/api/messages/operations.js.map +1 -0
- package/dist/commonjs/api/messages/options.d.ts +31 -0
- package/dist/commonjs/api/messages/options.d.ts.map +1 -0
- package/dist/commonjs/api/messages/options.js +5 -0
- package/dist/commonjs/api/messages/options.js.map +1 -0
- package/dist/commonjs/api/operations.d.ts +8 -183
- package/dist/commonjs/api/operations.d.ts.map +1 -1
- package/dist/commonjs/api/operations.js +14 -1176
- package/dist/commonjs/api/operations.js.map +1 -1
- package/dist/commonjs/api/options.d.ts +25 -322
- package/dist/commonjs/api/options.d.ts.map +1 -1
- package/dist/commonjs/api/options.js.map +1 -1
- package/dist/commonjs/api/runSteps/index.d.ts +3 -0
- package/dist/commonjs/api/runSteps/index.d.ts.map +1 -0
- package/dist/commonjs/api/runSteps/index.js +9 -0
- package/dist/commonjs/api/runSteps/index.js.map +1 -0
- package/dist/commonjs/api/runSteps/operations.d.ts +14 -0
- package/dist/commonjs/api/runSteps/operations.d.ts.map +1 -0
- package/dist/commonjs/api/runSteps/operations.js +75 -0
- package/dist/commonjs/api/runSteps/operations.js.map +1 -0
- package/dist/commonjs/api/runSteps/options.d.ts +27 -0
- package/dist/commonjs/api/runSteps/options.d.ts.map +1 -0
- package/dist/commonjs/api/runSteps/options.js +5 -0
- package/dist/commonjs/api/runSteps/options.js.map +1 -0
- package/dist/commonjs/api/runs/index.d.ts +3 -0
- package/dist/commonjs/api/runs/index.d.ts.map +1 -0
- package/dist/commonjs/api/runs/index.js +13 -0
- package/dist/commonjs/api/runs/index.js.map +1 -0
- package/dist/commonjs/api/runs/operations.d.ts +31 -0
- package/dist/commonjs/api/runs/operations.d.ts.map +1 -0
- package/dist/commonjs/api/runs/operations.js +210 -0
- package/dist/commonjs/api/runs/operations.js.map +1 -0
- package/dist/commonjs/api/runs/options.d.ts +92 -0
- package/dist/commonjs/api/runs/options.d.ts.map +1 -0
- package/dist/commonjs/api/runs/options.js +5 -0
- package/dist/commonjs/api/runs/options.js.map +1 -0
- package/dist/commonjs/api/threads/index.d.ts +3 -0
- package/dist/commonjs/api/threads/index.d.ts.map +1 -0
- package/dist/commonjs/api/threads/index.js +12 -0
- package/dist/commonjs/api/threads/index.js.map +1 -0
- package/dist/commonjs/api/threads/operations.d.ts +26 -0
- package/dist/commonjs/api/threads/operations.d.ts.map +1 -0
- package/dist/commonjs/api/threads/operations.js +148 -0
- package/dist/commonjs/api/threads/operations.js.map +1 -0
- package/dist/commonjs/api/threads/options.d.ts +44 -0
- package/dist/commonjs/api/threads/options.d.ts.map +1 -0
- package/dist/commonjs/api/threads/options.js +5 -0
- package/dist/commonjs/api/threads/options.js.map +1 -0
- package/dist/commonjs/api/vectorStoreFileBatches/index.d.ts +3 -0
- package/dist/commonjs/api/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStoreFileBatches/index.js +11 -0
- package/dist/commonjs/api/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/commonjs/api/vectorStoreFileBatches/operations.d.ts +27 -0
- package/dist/commonjs/api/vectorStoreFileBatches/operations.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStoreFileBatches/operations.js +177 -0
- package/dist/commonjs/api/vectorStoreFileBatches/operations.js.map +1 -0
- package/dist/commonjs/api/vectorStoreFileBatches/options.d.ts +32 -0
- package/dist/commonjs/api/vectorStoreFileBatches/options.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStoreFileBatches/options.js +5 -0
- package/dist/commonjs/api/vectorStoreFileBatches/options.js.map +1 -0
- package/dist/commonjs/api/vectorStoreFiles/index.d.ts +3 -0
- package/dist/commonjs/api/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStoreFiles/index.js +11 -0
- package/dist/commonjs/api/vectorStoreFiles/index.js.map +1 -0
- package/dist/commonjs/api/vectorStoreFiles/operations.d.ts +27 -0
- package/dist/commonjs/api/vectorStoreFiles/operations.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStoreFiles/operations.js +192 -0
- package/dist/commonjs/api/vectorStoreFiles/operations.js.map +1 -0
- package/dist/commonjs/api/vectorStoreFiles/options.d.ts +32 -0
- package/dist/commonjs/api/vectorStoreFiles/options.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStoreFiles/options.js +5 -0
- package/dist/commonjs/api/vectorStoreFiles/options.js.map +1 -0
- package/dist/commonjs/api/vectorStores/index.d.ts +3 -0
- package/dist/commonjs/api/vectorStores/index.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStores/index.js +12 -0
- package/dist/commonjs/api/vectorStores/index.js.map +1 -0
- package/dist/commonjs/api/vectorStores/operations.d.ts +33 -0
- package/dist/commonjs/api/vectorStores/operations.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStores/operations.js +203 -0
- package/dist/commonjs/api/vectorStores/operations.js.map +1 -0
- package/dist/commonjs/api/vectorStores/options.d.ts +45 -0
- package/dist/commonjs/api/vectorStores/options.d.ts.map +1 -0
- package/dist/commonjs/api/vectorStores/options.js +5 -0
- package/dist/commonjs/api/vectorStores/options.js.map +1 -0
- package/dist/commonjs/classic/files/index.d.ts +22 -0
- package/dist/commonjs/classic/files/index.d.ts.map +1 -0
- package/dist/commonjs/classic/files/index.js +20 -0
- package/dist/commonjs/classic/files/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +9 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/classic/messages/index.d.ts +17 -0
- package/dist/commonjs/classic/messages/index.d.ts.map +1 -0
- package/dist/commonjs/classic/messages/index.js +18 -0
- package/dist/commonjs/classic/messages/index.js.map +1 -0
- package/dist/commonjs/classic/runSteps/index.d.ts +14 -0
- package/dist/commonjs/classic/runSteps/index.d.ts.map +1 -0
- package/dist/commonjs/classic/runSteps/index.js +16 -0
- package/dist/commonjs/classic/runSteps/index.js.map +1 -0
- package/dist/commonjs/classic/runs/index.d.ts +25 -0
- package/dist/commonjs/classic/runs/index.d.ts.map +1 -0
- package/dist/commonjs/classic/runs/index.js +22 -0
- package/dist/commonjs/classic/runs/index.js.map +1 -0
- package/dist/commonjs/classic/threads/index.d.ts +19 -0
- package/dist/commonjs/classic/threads/index.d.ts.map +1 -0
- package/dist/commonjs/classic/threads/index.js +19 -0
- package/dist/commonjs/classic/threads/index.js.map +1 -0
- package/dist/commonjs/classic/vectorStoreFileBatches/index.d.ts +20 -0
- package/dist/commonjs/classic/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/commonjs/classic/vectorStoreFileBatches/index.js +19 -0
- package/dist/commonjs/classic/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/commonjs/classic/vectorStoreFiles/index.d.ts +20 -0
- package/dist/commonjs/classic/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/commonjs/classic/vectorStoreFiles/index.js +17 -0
- package/dist/commonjs/classic/vectorStoreFiles/index.js.map +1 -0
- package/dist/commonjs/classic/vectorStores/index.d.ts +22 -0
- package/dist/commonjs/classic/vectorStores/index.d.ts.map +1 -0
- package/dist/commonjs/classic/vectorStores/index.js +20 -0
- package/dist/commonjs/classic/vectorStores/index.js.map +1 -0
- package/dist/commonjs/index.d.ts +14 -3
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +10 -3
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +10 -3
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +412 -342
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +475 -357
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/static-helpers/multipartHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/multipartHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/multipartHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +140 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +2 -2
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/utils.d.ts +26 -5
- package/dist/commonjs/utils.d.ts.map +1 -1
- package/dist/commonjs/utils.js +44 -8
- package/dist/commonjs/utils.js.map +1 -1
- package/dist/esm/agentsClient.d.ts +31 -93
- package/dist/esm/agentsClient.d.ts.map +1 -1
- package/dist/esm/agentsClient.js +17 -168
- package/dist/esm/agentsClient.js.map +1 -1
- package/dist/esm/api/agentsContext.js +2 -2
- package/dist/esm/api/agentsContext.js.map +1 -1
- package/dist/esm/api/files/index.d.ts +3 -0
- package/dist/esm/api/files/index.d.ts.map +1 -0
- package/dist/esm/api/files/index.js +4 -0
- package/dist/esm/api/files/index.js.map +1 -0
- package/dist/esm/api/files/operations.d.ts +45 -0
- package/dist/esm/api/files/operations.d.ts.map +1 -0
- package/dist/esm/api/files/operations.js +154 -0
- package/dist/esm/api/files/operations.js.map +1 -0
- package/dist/esm/api/files/options.d.ts +23 -0
- package/dist/esm/api/files/options.d.ts.map +1 -0
- package/dist/esm/api/files/options.js +4 -0
- package/dist/esm/api/files/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +2 -2
- package/dist/esm/api/index.d.ts.map +1 -1
- package/dist/esm/api/index.js +1 -1
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/messages/index.d.ts +3 -0
- package/dist/esm/api/messages/index.d.ts.map +1 -0
- package/dist/esm/api/messages/index.js +4 -0
- package/dist/esm/api/messages/index.js.map +1 -0
- package/dist/esm/api/messages/operations.d.ts +22 -0
- package/dist/esm/api/messages/operations.d.ts.map +1 -0
- package/dist/esm/api/messages/operations.js +108 -0
- package/dist/esm/api/messages/operations.js.map +1 -0
- package/dist/esm/api/messages/options.d.ts +31 -0
- package/dist/esm/api/messages/options.d.ts.map +1 -0
- package/dist/esm/api/messages/options.js +4 -0
- package/dist/esm/api/messages/options.js.map +1 -0
- package/dist/esm/api/operations.d.ts +8 -183
- package/dist/esm/api/operations.d.ts.map +1 -1
- package/dist/esm/api/operations.js +14 -1063
- package/dist/esm/api/operations.js.map +1 -1
- package/dist/esm/api/options.d.ts +25 -322
- package/dist/esm/api/options.d.ts.map +1 -1
- package/dist/esm/api/options.js.map +1 -1
- package/dist/esm/api/runSteps/index.d.ts +3 -0
- package/dist/esm/api/runSteps/index.d.ts.map +1 -0
- package/dist/esm/api/runSteps/index.js +4 -0
- package/dist/esm/api/runSteps/index.js.map +1 -0
- package/dist/esm/api/runSteps/operations.d.ts +14 -0
- package/dist/esm/api/runSteps/operations.d.ts.map +1 -0
- package/dist/esm/api/runSteps/operations.js +67 -0
- package/dist/esm/api/runSteps/operations.js.map +1 -0
- package/dist/esm/api/runSteps/options.d.ts +27 -0
- package/dist/esm/api/runSteps/options.d.ts.map +1 -0
- package/dist/esm/api/runSteps/options.js +4 -0
- package/dist/esm/api/runSteps/options.js.map +1 -0
- package/dist/esm/api/runs/index.d.ts +3 -0
- package/dist/esm/api/runs/index.d.ts.map +1 -0
- package/dist/esm/api/runs/index.js +4 -0
- package/dist/esm/api/runs/index.js.map +1 -0
- package/dist/esm/api/runs/operations.d.ts +31 -0
- package/dist/esm/api/runs/operations.d.ts.map +1 -0
- package/dist/esm/api/runs/operations.js +190 -0
- package/dist/esm/api/runs/operations.js.map +1 -0
- package/dist/esm/api/runs/options.d.ts +92 -0
- package/dist/esm/api/runs/options.d.ts.map +1 -0
- package/dist/esm/api/runs/options.js +4 -0
- package/dist/esm/api/runs/options.js.map +1 -0
- package/dist/esm/api/threads/index.d.ts +3 -0
- package/dist/esm/api/threads/index.d.ts.map +1 -0
- package/dist/esm/api/threads/index.js +4 -0
- package/dist/esm/api/threads/index.js.map +1 -0
- package/dist/esm/api/threads/operations.d.ts +26 -0
- package/dist/esm/api/threads/operations.d.ts.map +1 -0
- package/dist/esm/api/threads/operations.js +131 -0
- package/dist/esm/api/threads/operations.js.map +1 -0
- package/dist/esm/api/threads/options.d.ts +44 -0
- package/dist/esm/api/threads/options.d.ts.map +1 -0
- package/dist/esm/api/threads/options.js +4 -0
- package/dist/esm/api/threads/options.js.map +1 -0
- package/dist/esm/api/vectorStoreFileBatches/index.d.ts +3 -0
- package/dist/esm/api/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/esm/api/vectorStoreFileBatches/index.js +4 -0
- package/dist/esm/api/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/esm/api/vectorStoreFileBatches/operations.d.ts +27 -0
- package/dist/esm/api/vectorStoreFileBatches/operations.d.ts.map +1 -0
- package/dist/esm/api/vectorStoreFileBatches/operations.js +161 -0
- package/dist/esm/api/vectorStoreFileBatches/operations.js.map +1 -0
- package/dist/esm/api/vectorStoreFileBatches/options.d.ts +32 -0
- package/dist/esm/api/vectorStoreFileBatches/options.d.ts.map +1 -0
- package/dist/esm/api/vectorStoreFileBatches/options.js +4 -0
- package/dist/esm/api/vectorStoreFileBatches/options.js.map +1 -0
- package/dist/esm/api/vectorStoreFiles/index.d.ts +3 -0
- package/dist/esm/api/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/esm/api/vectorStoreFiles/index.js +4 -0
- package/dist/esm/api/vectorStoreFiles/index.js.map +1 -0
- package/dist/esm/api/vectorStoreFiles/operations.d.ts +27 -0
- package/dist/esm/api/vectorStoreFiles/operations.d.ts.map +1 -0
- package/dist/esm/api/vectorStoreFiles/operations.js +176 -0
- package/dist/esm/api/vectorStoreFiles/operations.js.map +1 -0
- package/dist/esm/api/vectorStoreFiles/options.d.ts +32 -0
- package/dist/esm/api/vectorStoreFiles/options.d.ts.map +1 -0
- package/dist/esm/api/vectorStoreFiles/options.js +4 -0
- package/dist/esm/api/vectorStoreFiles/options.js.map +1 -0
- package/dist/esm/api/vectorStores/index.d.ts +3 -0
- package/dist/esm/api/vectorStores/index.d.ts.map +1 -0
- package/dist/esm/api/vectorStores/index.js +4 -0
- package/dist/esm/api/vectorStores/index.js.map +1 -0
- package/dist/esm/api/vectorStores/operations.d.ts +33 -0
- package/dist/esm/api/vectorStores/operations.d.ts.map +1 -0
- package/dist/esm/api/vectorStores/operations.js +184 -0
- package/dist/esm/api/vectorStores/operations.js.map +1 -0
- package/dist/esm/api/vectorStores/options.d.ts +45 -0
- package/dist/esm/api/vectorStores/options.d.ts.map +1 -0
- package/dist/esm/api/vectorStores/options.js +4 -0
- package/dist/esm/api/vectorStores/options.js.map +1 -0
- package/dist/esm/classic/files/index.d.ts +22 -0
- package/dist/esm/classic/files/index.d.ts.map +1 -0
- package/dist/esm/classic/files/index.js +17 -0
- package/dist/esm/classic/files/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +9 -0
- package/dist/esm/classic/index.d.ts.map +1 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/messages/index.d.ts +17 -0
- package/dist/esm/classic/messages/index.d.ts.map +1 -0
- package/dist/esm/classic/messages/index.js +15 -0
- package/dist/esm/classic/messages/index.js.map +1 -0
- package/dist/esm/classic/runSteps/index.d.ts +14 -0
- package/dist/esm/classic/runSteps/index.d.ts.map +1 -0
- package/dist/esm/classic/runSteps/index.js +13 -0
- package/dist/esm/classic/runSteps/index.js.map +1 -0
- package/dist/esm/classic/runs/index.d.ts +25 -0
- package/dist/esm/classic/runs/index.d.ts.map +1 -0
- package/dist/esm/classic/runs/index.js +19 -0
- package/dist/esm/classic/runs/index.js.map +1 -0
- package/dist/esm/classic/threads/index.d.ts +19 -0
- package/dist/esm/classic/threads/index.d.ts.map +1 -0
- package/dist/esm/classic/threads/index.js +16 -0
- package/dist/esm/classic/threads/index.js.map +1 -0
- package/dist/esm/classic/vectorStoreFileBatches/index.d.ts +20 -0
- package/dist/esm/classic/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/esm/classic/vectorStoreFileBatches/index.js +16 -0
- package/dist/esm/classic/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/esm/classic/vectorStoreFiles/index.d.ts +20 -0
- package/dist/esm/classic/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/esm/classic/vectorStoreFiles/index.js +14 -0
- package/dist/esm/classic/vectorStoreFiles/index.js.map +1 -0
- package/dist/esm/classic/vectorStores/index.d.ts +22 -0
- package/dist/esm/classic/vectorStores/index.d.ts.map +1 -0
- package/dist/esm/classic/vectorStores/index.js +17 -0
- package/dist/esm/classic/vectorStores/index.js.map +1 -0
- package/dist/esm/index.d.ts +14 -3
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +412 -342
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +407 -295
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/static-helpers/multipartHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/multipartHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/multipartHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.js +137 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js +2 -2
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/dist/esm/utils.d.ts +26 -5
- package/dist/esm/utils.d.ts.map +1 -1
- package/dist/esm/utils.js +44 -8
- package/dist/esm/utils.js.map +1 -1
- package/dist/react-native/agentsClient.d.ts +31 -93
- package/dist/react-native/agentsClient.d.ts.map +1 -1
- package/dist/react-native/agentsClient.js +17 -168
- package/dist/react-native/agentsClient.js.map +1 -1
- package/dist/react-native/api/agentsContext.js +2 -2
- package/dist/react-native/api/agentsContext.js.map +1 -1
- package/dist/react-native/api/files/index.d.ts +3 -0
- package/dist/react-native/api/files/index.d.ts.map +1 -0
- package/dist/react-native/api/files/index.js +4 -0
- package/dist/react-native/api/files/index.js.map +1 -0
- package/dist/react-native/api/files/operations.d.ts +45 -0
- package/dist/react-native/api/files/operations.d.ts.map +1 -0
- package/dist/react-native/api/files/operations.js +154 -0
- package/dist/react-native/api/files/operations.js.map +1 -0
- package/dist/react-native/api/files/options.d.ts +23 -0
- package/dist/react-native/api/files/options.d.ts.map +1 -0
- package/dist/react-native/api/files/options.js +4 -0
- package/dist/react-native/api/files/options.js.map +1 -0
- package/dist/react-native/api/index.d.ts +2 -2
- package/dist/react-native/api/index.d.ts.map +1 -1
- package/dist/react-native/api/index.js +1 -1
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/messages/index.d.ts +3 -0
- package/dist/react-native/api/messages/index.d.ts.map +1 -0
- package/dist/react-native/api/messages/index.js +4 -0
- package/dist/react-native/api/messages/index.js.map +1 -0
- package/dist/react-native/api/messages/operations.d.ts +22 -0
- package/dist/react-native/api/messages/operations.d.ts.map +1 -0
- package/dist/react-native/api/messages/operations.js +108 -0
- package/dist/react-native/api/messages/operations.js.map +1 -0
- package/dist/react-native/api/messages/options.d.ts +31 -0
- package/dist/react-native/api/messages/options.d.ts.map +1 -0
- package/dist/react-native/api/messages/options.js +4 -0
- package/dist/react-native/api/messages/options.js.map +1 -0
- package/dist/react-native/api/operations.d.ts +8 -183
- package/dist/react-native/api/operations.d.ts.map +1 -1
- package/dist/react-native/api/operations.js +14 -1063
- package/dist/react-native/api/operations.js.map +1 -1
- package/dist/react-native/api/options.d.ts +25 -322
- package/dist/react-native/api/options.d.ts.map +1 -1
- package/dist/react-native/api/options.js.map +1 -1
- package/dist/react-native/api/runSteps/index.d.ts +3 -0
- package/dist/react-native/api/runSteps/index.d.ts.map +1 -0
- package/dist/react-native/api/runSteps/index.js +4 -0
- package/dist/react-native/api/runSteps/index.js.map +1 -0
- package/dist/react-native/api/runSteps/operations.d.ts +14 -0
- package/dist/react-native/api/runSteps/operations.d.ts.map +1 -0
- package/dist/react-native/api/runSteps/operations.js +67 -0
- package/dist/react-native/api/runSteps/operations.js.map +1 -0
- package/dist/react-native/api/runSteps/options.d.ts +27 -0
- package/dist/react-native/api/runSteps/options.d.ts.map +1 -0
- package/dist/react-native/api/runSteps/options.js +4 -0
- package/dist/react-native/api/runSteps/options.js.map +1 -0
- package/dist/react-native/api/runs/index.d.ts +3 -0
- package/dist/react-native/api/runs/index.d.ts.map +1 -0
- package/dist/react-native/api/runs/index.js +4 -0
- package/dist/react-native/api/runs/index.js.map +1 -0
- package/dist/react-native/api/runs/operations.d.ts +31 -0
- package/dist/react-native/api/runs/operations.d.ts.map +1 -0
- package/dist/react-native/api/runs/operations.js +190 -0
- package/dist/react-native/api/runs/operations.js.map +1 -0
- package/dist/react-native/api/runs/options.d.ts +92 -0
- package/dist/react-native/api/runs/options.d.ts.map +1 -0
- package/dist/react-native/api/runs/options.js +4 -0
- package/dist/react-native/api/runs/options.js.map +1 -0
- package/dist/react-native/api/threads/index.d.ts +3 -0
- package/dist/react-native/api/threads/index.d.ts.map +1 -0
- package/dist/react-native/api/threads/index.js +4 -0
- package/dist/react-native/api/threads/index.js.map +1 -0
- package/dist/react-native/api/threads/operations.d.ts +26 -0
- package/dist/react-native/api/threads/operations.d.ts.map +1 -0
- package/dist/react-native/api/threads/operations.js +131 -0
- package/dist/react-native/api/threads/operations.js.map +1 -0
- package/dist/react-native/api/threads/options.d.ts +44 -0
- package/dist/react-native/api/threads/options.d.ts.map +1 -0
- package/dist/react-native/api/threads/options.js +4 -0
- package/dist/react-native/api/threads/options.js.map +1 -0
- package/dist/react-native/api/vectorStoreFileBatches/index.d.ts +3 -0
- package/dist/react-native/api/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/react-native/api/vectorStoreFileBatches/index.js +4 -0
- package/dist/react-native/api/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/react-native/api/vectorStoreFileBatches/operations.d.ts +27 -0
- package/dist/react-native/api/vectorStoreFileBatches/operations.d.ts.map +1 -0
- package/dist/react-native/api/vectorStoreFileBatches/operations.js +161 -0
- package/dist/react-native/api/vectorStoreFileBatches/operations.js.map +1 -0
- package/dist/react-native/api/vectorStoreFileBatches/options.d.ts +32 -0
- package/dist/react-native/api/vectorStoreFileBatches/options.d.ts.map +1 -0
- package/dist/react-native/api/vectorStoreFileBatches/options.js +4 -0
- package/dist/react-native/api/vectorStoreFileBatches/options.js.map +1 -0
- package/dist/react-native/api/vectorStoreFiles/index.d.ts +3 -0
- package/dist/react-native/api/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/react-native/api/vectorStoreFiles/index.js +4 -0
- package/dist/react-native/api/vectorStoreFiles/index.js.map +1 -0
- package/dist/react-native/api/vectorStoreFiles/operations.d.ts +27 -0
- package/dist/react-native/api/vectorStoreFiles/operations.d.ts.map +1 -0
- package/dist/react-native/api/vectorStoreFiles/operations.js +176 -0
- package/dist/react-native/api/vectorStoreFiles/operations.js.map +1 -0
- package/dist/react-native/api/vectorStoreFiles/options.d.ts +32 -0
- package/dist/react-native/api/vectorStoreFiles/options.d.ts.map +1 -0
- package/dist/react-native/api/vectorStoreFiles/options.js +4 -0
- package/dist/react-native/api/vectorStoreFiles/options.js.map +1 -0
- package/dist/react-native/api/vectorStores/index.d.ts +3 -0
- package/dist/react-native/api/vectorStores/index.d.ts.map +1 -0
- package/dist/react-native/api/vectorStores/index.js +4 -0
- package/dist/react-native/api/vectorStores/index.js.map +1 -0
- package/dist/react-native/api/vectorStores/operations.d.ts +33 -0
- package/dist/react-native/api/vectorStores/operations.d.ts.map +1 -0
- package/dist/react-native/api/vectorStores/operations.js +184 -0
- package/dist/react-native/api/vectorStores/operations.js.map +1 -0
- package/dist/react-native/api/vectorStores/options.d.ts +45 -0
- package/dist/react-native/api/vectorStores/options.d.ts.map +1 -0
- package/dist/react-native/api/vectorStores/options.js +4 -0
- package/dist/react-native/api/vectorStores/options.js.map +1 -0
- package/dist/react-native/classic/files/index.d.ts +22 -0
- package/dist/react-native/classic/files/index.d.ts.map +1 -0
- package/dist/react-native/classic/files/index.js +17 -0
- package/dist/react-native/classic/files/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +9 -0
- package/dist/react-native/classic/index.d.ts.map +1 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/classic/messages/index.d.ts +17 -0
- package/dist/react-native/classic/messages/index.d.ts.map +1 -0
- package/dist/react-native/classic/messages/index.js +15 -0
- package/dist/react-native/classic/messages/index.js.map +1 -0
- package/dist/react-native/classic/runSteps/index.d.ts +14 -0
- package/dist/react-native/classic/runSteps/index.d.ts.map +1 -0
- package/dist/react-native/classic/runSteps/index.js +13 -0
- package/dist/react-native/classic/runSteps/index.js.map +1 -0
- package/dist/react-native/classic/runs/index.d.ts +25 -0
- package/dist/react-native/classic/runs/index.d.ts.map +1 -0
- package/dist/react-native/classic/runs/index.js +19 -0
- package/dist/react-native/classic/runs/index.js.map +1 -0
- package/dist/react-native/classic/threads/index.d.ts +19 -0
- package/dist/react-native/classic/threads/index.d.ts.map +1 -0
- package/dist/react-native/classic/threads/index.js +16 -0
- package/dist/react-native/classic/threads/index.js.map +1 -0
- package/dist/react-native/classic/vectorStoreFileBatches/index.d.ts +20 -0
- package/dist/react-native/classic/vectorStoreFileBatches/index.d.ts.map +1 -0
- package/dist/react-native/classic/vectorStoreFileBatches/index.js +16 -0
- package/dist/react-native/classic/vectorStoreFileBatches/index.js.map +1 -0
- package/dist/react-native/classic/vectorStoreFiles/index.d.ts +20 -0
- package/dist/react-native/classic/vectorStoreFiles/index.d.ts.map +1 -0
- package/dist/react-native/classic/vectorStoreFiles/index.js +14 -0
- package/dist/react-native/classic/vectorStoreFiles/index.js.map +1 -0
- package/dist/react-native/classic/vectorStores/index.d.ts +22 -0
- package/dist/react-native/classic/vectorStores/index.d.ts.map +1 -0
- package/dist/react-native/classic/vectorStores/index.js +17 -0
- package/dist/react-native/classic/vectorStores/index.js.map +1 -0
- package/dist/react-native/index.d.ts +14 -3
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +2 -2
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +412 -342
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +407 -295
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/static-helpers/multipartHelpers.d.ts +1 -1
- package/dist/react-native/static-helpers/multipartHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/multipartHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +137 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.js +2 -2
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
- package/dist/react-native/utils.d.ts +26 -5
- package/dist/react-native/utils.d.ts.map +1 -1
- package/dist/react-native/utils.js +44 -8
- package/dist/react-native/utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/vectorStores/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n VectorStoreConfiguration,\n VectorStoreExpirationPolicy,\n VectorStoreChunkingStrategyRequestUnion,\n ListSortOrder,\n} from \"../../models/models.js\";\nimport { OperationOptions } from \"@azure-rest/core-client\";\nimport { PollingOptionsParams } from \"../options.js\";\n\n/** Optional parameters. */\nexport interface VectorStoresDeleteVectorStoreOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface VectorStoresModifyVectorStoreOptionalParams extends OperationOptions {\n /** The name of the vector store. */\n name?: string | null;\n /** Details on when this vector store expires */\n expiresAfter?: VectorStoreExpirationPolicy | null;\n /** A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. */\n metadata?: Record<string, string> | null;\n}\n\n/** Optional parameters. */\nexport interface VectorStoresGetVectorStoreOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface VectorStoresCreateVectorStoreOptionalParams\n extends OperationOptions,\n PollingOptionsParams {\n /** A list of file IDs that the vector store should use. Useful for tools like `file_search` that can access files. */\n fileIds?: string[];\n /** The name of the vector store. */\n name?: string;\n /** The vector store configuration, used when vector store is created from Azure asset URIs. */\n storeConfiguration?: VectorStoreConfiguration;\n /** Details on when this vector store expires */\n expiresAfter?: VectorStoreExpirationPolicy;\n /** The chunking strategy used to chunk the file(s). If not set, will use the auto strategy. Only applicable if file_ids is non-empty. */\n chunkingStrategy?: VectorStoreChunkingStrategyRequestUnion;\n /** A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length. */\n metadata?: Record<string, string> | null;\n}\n\n/** Optional parameters. */\nexport interface VectorStoresListVectorStoresOptionalParams extends OperationOptions {\n /** A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. */\n limit?: number;\n /** Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order. */\n order?: ListSortOrder;\n /** A cursor for use in pagination. after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. */\n after?: string;\n /** A cursor for use in pagination. before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list. */\n before?: string;\n}\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AgentsContext } from "../../api/agentsContext.js";
|
|
2
|
+
import { FileListResponse, FileInfo, FilePurpose, FileDeletionStatus } from "../../models/models.js";
|
|
3
|
+
import { FilesGetFileContentOptionalParams, FilesGetFileOptionalParams, FilesDeleteFileOptionalParams, FilesUploadFileOptionalParams, FilesListFilesOptionalParams } from "../../api/files/options.js";
|
|
4
|
+
import { OperationState, PollerLike } from "@azure/core-lro";
|
|
5
|
+
import { StreamableMethod } from "@azure-rest/core-client";
|
|
6
|
+
/** Interface representing a Files operations. */
|
|
7
|
+
export interface FilesOperations {
|
|
8
|
+
/** Retrieves the raw content of a specific file. */
|
|
9
|
+
getContent: (fileId: string, options?: FilesGetFileContentOptionalParams) => StreamableMethod<string | Uint8Array>;
|
|
10
|
+
/** Returns information about a specific file. Does not retrieve file content. */
|
|
11
|
+
get: (fileId: string, options?: FilesGetFileOptionalParams) => Promise<FileInfo>;
|
|
12
|
+
/** Delete a previously uploaded file. */
|
|
13
|
+
delete: (fileId: string, options?: FilesDeleteFileOptionalParams) => Promise<FileDeletionStatus>;
|
|
14
|
+
/** Uploads a file for use by other operations. */
|
|
15
|
+
upload: (file: ReadableStream | NodeJS.ReadableStream, purpose: FilePurpose, options: FilesUploadFileOptionalParams) => Promise<FileInfo>;
|
|
16
|
+
/** Uploads a file for use by other operations with polling */
|
|
17
|
+
uploadAndPoll: (file: ReadableStream | NodeJS.ReadableStream, purpose: FilePurpose, options: FilesUploadFileOptionalParams) => PollerLike<OperationState<FileInfo>, FileInfo>;
|
|
18
|
+
/** Gets a list of previously uploaded files. */
|
|
19
|
+
list: (options?: FilesListFilesOptionalParams) => Promise<FileListResponse>;
|
|
20
|
+
}
|
|
21
|
+
export declare function _getFilesOperations(context: AgentsContext): FilesOperations;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/files/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EACL,gBAAgB,EAChB,QAAQ,EACR,WAAW,EACX,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,6BAA6B,EAC7B,4BAA4B,EAC7B,MAAM,4BAA4B,CAAC;AASpC,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,iDAAiD;AACjD,MAAM,WAAW,eAAe;IAC9B,oDAAoD;IACpD,UAAU,EAAE,CACV,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,iCAAiC,KACxC,gBAAgB,CAAC,MAAM,GAAG,UAAU,CAAC,CAAC;IAC3C,iFAAiF;IACjF,GAAG,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,0BAA0B,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;IACjF,yCAAyC;IACzC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,6BAA6B,KAAK,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACjG,kDAAkD;IAClD,MAAM,EAAE,CACN,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC,cAAc,EAC5C,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,6BAA6B,KACnC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACvB,8DAA8D;IAC9D,aAAa,EAAE,CACb,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC,cAAc,EAC5C,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,6BAA6B,KACnC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC;IACpD,gDAAgD;IAChD,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,4BAA4B,KAAK,OAAO,CAAC,gBAAgB,CAAC,CAAC;CAC7E;AAwBD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,aAAa,GAAG,eAAe,CAI3E"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { getFileContent, getFile, deleteFile, uploadFile, listFiles, uploadFileAndPoll, } from "../../api/files/operations.js";
|
|
4
|
+
function _getFiles(context) {
|
|
5
|
+
return {
|
|
6
|
+
getContent: (fileId, options) => getFileContent(context, fileId, options),
|
|
7
|
+
get: (fileId, options) => getFile(context, fileId, options),
|
|
8
|
+
delete: (fileId, options) => deleteFile(context, fileId, options),
|
|
9
|
+
upload: (file, purpose, options) => uploadFile(context, { file: file, purpose: purpose, filename: options.fileName }, options),
|
|
10
|
+
uploadAndPoll: (file, purpose, options) => uploadFileAndPoll(context, { file, purpose, filename: options.fileName }, options),
|
|
11
|
+
list: (options) => listFiles(context, options),
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export function _getFilesOperations(context) {
|
|
15
|
+
return Object.assign({}, _getFiles(context));
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/files/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAgBlC,OAAO,EACL,cAAc,EACd,OAAO,EACP,UAAU,EACV,UAAU,EACV,SAAS,EACT,iBAAiB,GAClB,MAAM,+BAA+B,CAAC;AA+BvC,SAAS,SAAS,CAAC,OAAsB;IACvC,OAAO;QACL,UAAU,EAAE,CAAC,MAAc,EAAE,OAA2C,EAAE,EAAE,CAC1E,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC;QAC1C,GAAG,EAAE,CAAC,MAAc,EAAE,OAAoC,EAAE,EAAE,CAC5D,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC;QACnC,MAAM,EAAE,CAAC,MAAc,EAAE,OAAuC,EAAE,EAAE,CAClE,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC;QACtC,MAAM,EAAE,CACN,IAA4C,EAC5C,OAAoB,EACpB,OAAsC,EACtC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE,EAAE,OAAO,CAAC;QAC/F,aAAa,EAAE,CACb,IAA4C,EAC5C,OAAoB,EACpB,OAAsC,EACtC,EAAE,CAAC,iBAAiB,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE,EAAE,OAAO,CAAC;QACvF,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC;KAC9E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,OAAsB;IACxD,yBACK,SAAS,CAAC,OAAO,CAAC,EACrB;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AgentsContext } from \"../../api/agentsContext.js\";\nimport {\n FileListResponse,\n FileInfo,\n FilePurpose,\n FileDeletionStatus,\n} from \"../../models/models.js\";\nimport {\n FilesGetFileContentOptionalParams,\n FilesGetFileOptionalParams,\n FilesDeleteFileOptionalParams,\n FilesUploadFileOptionalParams,\n FilesListFilesOptionalParams,\n} from \"../../api/files/options.js\";\nimport {\n getFileContent,\n getFile,\n deleteFile,\n uploadFile,\n listFiles,\n uploadFileAndPoll,\n} from \"../../api/files/operations.js\";\nimport { OperationState, PollerLike } from \"@azure/core-lro\";\nimport { StreamableMethod } from \"@azure-rest/core-client\";\n\n/** Interface representing a Files operations. */\nexport interface FilesOperations {\n /** Retrieves the raw content of a specific file. */\n getContent: (\n fileId: string,\n options?: FilesGetFileContentOptionalParams,\n ) => StreamableMethod<string | Uint8Array>;\n /** Returns information about a specific file. Does not retrieve file content. */\n get: (fileId: string, options?: FilesGetFileOptionalParams) => Promise<FileInfo>;\n /** Delete a previously uploaded file. */\n delete: (fileId: string, options?: FilesDeleteFileOptionalParams) => Promise<FileDeletionStatus>;\n /** Uploads a file for use by other operations. */\n upload: (\n file: ReadableStream | NodeJS.ReadableStream,\n purpose: FilePurpose,\n options: FilesUploadFileOptionalParams,\n ) => Promise<FileInfo>;\n /** Uploads a file for use by other operations with polling */\n uploadAndPoll: (\n file: ReadableStream | NodeJS.ReadableStream,\n purpose: FilePurpose,\n options: FilesUploadFileOptionalParams,\n ) => PollerLike<OperationState<FileInfo>, FileInfo>;\n /** Gets a list of previously uploaded files. */\n list: (options?: FilesListFilesOptionalParams) => Promise<FileListResponse>;\n}\n\nfunction _getFiles(context: AgentsContext) {\n return {\n getContent: (fileId: string, options?: FilesGetFileContentOptionalParams) =>\n getFileContent(context, fileId, options),\n get: (fileId: string, options?: FilesGetFileOptionalParams) =>\n getFile(context, fileId, options),\n delete: (fileId: string, options?: FilesDeleteFileOptionalParams) =>\n deleteFile(context, fileId, options),\n upload: (\n file: ReadableStream | NodeJS.ReadableStream,\n purpose: FilePurpose,\n options: FilesUploadFileOptionalParams,\n ) => uploadFile(context, { file: file, purpose: purpose, filename: options.fileName }, options),\n uploadAndPoll: (\n file: ReadableStream | NodeJS.ReadableStream,\n purpose: FilePurpose,\n options: FilesUploadFileOptionalParams,\n ) => uploadFileAndPoll(context, { file, purpose, filename: options.fileName }, options),\n list: (options?: FilesListFilesOptionalParams) => listFiles(context, options),\n };\n}\n\nexport function _getFilesOperations(context: AgentsContext): FilesOperations {\n return {\n ..._getFiles(context),\n };\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { FilesOperations } from "./files/index.js";
|
|
2
|
+
export { MessagesOperations } from "./messages/index.js";
|
|
3
|
+
export { RunsOperations } from "./runs/index.js";
|
|
4
|
+
export { RunStepsOperations } from "./runSteps/index.js";
|
|
5
|
+
export { ThreadsOperations } from "./threads/index.js";
|
|
6
|
+
export { VectorStoreFileBatchesOperations } from "./vectorStoreFileBatches/index.js";
|
|
7
|
+
export { VectorStoreFilesOperations } from "./vectorStoreFiles/index.js";
|
|
8
|
+
export { VectorStoresOperations } from "./vectorStores/index.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,gCAAgC,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { FilesOperations } from \"./files/index.js\";\nexport { MessagesOperations } from \"./messages/index.js\";\nexport { RunsOperations } from \"./runs/index.js\";\nexport { RunStepsOperations } from \"./runSteps/index.js\";\nexport { ThreadsOperations } from \"./threads/index.js\";\nexport { VectorStoreFileBatchesOperations } from \"./vectorStoreFileBatches/index.js\";\nexport { VectorStoreFilesOperations } from \"./vectorStoreFiles/index.js\";\nexport { VectorStoresOperations } from \"./vectorStores/index.js\";\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AgentsContext } from "../../api/agentsContext.js";
|
|
2
|
+
import { MessageRole, MessageInputContent, ThreadMessage } from "../../models/models.js";
|
|
3
|
+
import { MessagesUpdateMessageOptionalParams, MessagesGetMessageOptionalParams, MessagesListMessagesOptionalParams, MessagesCreateMessageOptionalParams } from "../../api/messages/options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
/** Interface representing a Messages operations. */
|
|
6
|
+
export interface MessagesOperations {
|
|
7
|
+
/** Modifies an existing message on an existing thread. */
|
|
8
|
+
update: (threadId: string, messageId: string, options?: MessagesUpdateMessageOptionalParams) => Promise<ThreadMessage>;
|
|
9
|
+
/** Retrieves an existing message. */
|
|
10
|
+
get: (threadId: string, messageId: string, options?: MessagesGetMessageOptionalParams) => Promise<ThreadMessage>;
|
|
11
|
+
/** Gets a list of messages that exist on a thread. */
|
|
12
|
+
list: (threadId: string, options?: MessagesListMessagesOptionalParams) => PagedAsyncIterableIterator<ThreadMessage>;
|
|
13
|
+
/** Creates a new message on a specified thread. */
|
|
14
|
+
create: (threadId: string, role: MessageRole, content: MessageInputContent, options?: MessagesCreateMessageOptionalParams) => Promise<ThreadMessage>;
|
|
15
|
+
}
|
|
16
|
+
export declare function _getMessagesOperations(context: AgentsContext): MessagesOperations;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/messages/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACzF,OAAO,EACL,mCAAmC,EACnC,gCAAgC,EAChC,kCAAkC,EAClC,mCAAmC,EACpC,MAAM,+BAA+B,CAAC;AAOvC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF,oDAAoD;AACpD,MAAM,WAAW,kBAAkB;IACjC,0DAA0D;IAC1D,MAAM,EAAE,CACN,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,mCAAmC,KAC1C,OAAO,CAAC,aAAa,CAAC,CAAC;IAC5B,qCAAqC;IACrC,GAAG,EAAE,CACH,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,gCAAgC,KACvC,OAAO,CAAC,aAAa,CAAC,CAAC;IAC5B,sDAAsD;IACtD,IAAI,EAAE,CACJ,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,kCAAkC,KACzC,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC/C,mDAAmD;IACnD,MAAM,EAAE,CACN,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,WAAW,EACjB,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,mCAAmC,KAC1C,OAAO,CAAC,aAAa,CAAC,CAAC;CAC7B;AAmBD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,aAAa,GAAG,kBAAkB,CAIjF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { updateMessage, getMessage, listMessages, createMessage, } from "../../api/messages/operations.js";
|
|
4
|
+
function _getMessages(context) {
|
|
5
|
+
return {
|
|
6
|
+
update: (threadId, messageId, options) => updateMessage(context, threadId, messageId, options),
|
|
7
|
+
get: (threadId, messageId, options) => getMessage(context, threadId, messageId, options),
|
|
8
|
+
list: (threadId, options) => listMessages(context, threadId, options),
|
|
9
|
+
create: (threadId, role, content, options) => createMessage(context, threadId, role, content, options),
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export function _getMessagesOperations(context) {
|
|
13
|
+
return Object.assign({}, _getMessages(context));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/messages/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAUlC,OAAO,EACL,aAAa,EACb,UAAU,EACV,YAAY,EACZ,aAAa,GACd,MAAM,kCAAkC,CAAC;AA+B1C,SAAS,YAAY,CAAC,OAAsB;IAC1C,OAAO;QACL,MAAM,EAAE,CAAC,QAAgB,EAAE,SAAiB,EAAE,OAA6C,EAAE,EAAE,CAC7F,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC;QACtD,GAAG,EAAE,CAAC,QAAgB,EAAE,SAAiB,EAAE,OAA0C,EAAE,EAAE,CACvF,UAAU,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC;QACnD,IAAI,EAAE,CAAC,QAAgB,EAAE,OAA4C,EAAE,EAAE,CACvE,YAAY,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;QAC1C,MAAM,EAAE,CACN,QAAgB,EAChB,IAAiB,EACjB,OAA4B,EAC5B,OAA6C,EAC7C,EAAE,CAAC,aAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC;KAC9D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAAsB;IAC3D,yBACK,YAAY,CAAC,OAAO,CAAC,EACxB;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AgentsContext } from \"../../api/agentsContext.js\";\nimport { MessageRole, MessageInputContent, ThreadMessage } from \"../../models/models.js\";\nimport {\n MessagesUpdateMessageOptionalParams,\n MessagesGetMessageOptionalParams,\n MessagesListMessagesOptionalParams,\n MessagesCreateMessageOptionalParams,\n} from \"../../api/messages/options.js\";\nimport {\n updateMessage,\n getMessage,\n listMessages,\n createMessage,\n} from \"../../api/messages/operations.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Messages operations. */\nexport interface MessagesOperations {\n /** Modifies an existing message on an existing thread. */\n update: (\n threadId: string,\n messageId: string,\n options?: MessagesUpdateMessageOptionalParams,\n ) => Promise<ThreadMessage>;\n /** Retrieves an existing message. */\n get: (\n threadId: string,\n messageId: string,\n options?: MessagesGetMessageOptionalParams,\n ) => Promise<ThreadMessage>;\n /** Gets a list of messages that exist on a thread. */\n list: (\n threadId: string,\n options?: MessagesListMessagesOptionalParams,\n ) => PagedAsyncIterableIterator<ThreadMessage>;\n /** Creates a new message on a specified thread. */\n create: (\n threadId: string,\n role: MessageRole,\n content: MessageInputContent,\n options?: MessagesCreateMessageOptionalParams,\n ) => Promise<ThreadMessage>;\n}\n\nfunction _getMessages(context: AgentsContext) {\n return {\n update: (threadId: string, messageId: string, options?: MessagesUpdateMessageOptionalParams) =>\n updateMessage(context, threadId, messageId, options),\n get: (threadId: string, messageId: string, options?: MessagesGetMessageOptionalParams) =>\n getMessage(context, threadId, messageId, options),\n list: (threadId: string, options?: MessagesListMessagesOptionalParams) =>\n listMessages(context, threadId, options),\n create: (\n threadId: string,\n role: MessageRole,\n content: MessageInputContent,\n options?: MessagesCreateMessageOptionalParams,\n ) => createMessage(context, threadId, role, content, options),\n };\n}\n\nexport function _getMessagesOperations(context: AgentsContext): MessagesOperations {\n return {\n ..._getMessages(context),\n };\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AgentsContext } from "../../api/agentsContext.js";
|
|
2
|
+
import { RunStep } from "../../models/models.js";
|
|
3
|
+
import { RunStepsListRunStepsOptionalParams, RunStepsGetRunStepOptionalParams } from "../../api/runSteps/options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
/** Interface representing a RunSteps operations. */
|
|
6
|
+
/** Interface representing a RunSteps operations. */
|
|
7
|
+
export interface RunStepsOperations {
|
|
8
|
+
/** Gets a list of run steps from a thread run. */
|
|
9
|
+
list: (threadId: string, runId: string, options?: RunStepsListRunStepsOptionalParams) => PagedAsyncIterableIterator<RunStep>;
|
|
10
|
+
/** Retrieves a single run step from a thread run. */
|
|
11
|
+
get: (threadId: string, runId: string, stepId: string, options?: RunStepsGetRunStepOptionalParams) => Promise<RunStep>;
|
|
12
|
+
}
|
|
13
|
+
export declare function _getRunStepsOperations(context: AgentsContext): RunStepsOperations;
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/runSteps/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EACL,kCAAkC,EAClC,gCAAgC,EACjC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF,oDAAoD;AACpD,oDAAoD;AACpD,MAAM,WAAW,kBAAkB;IACjC,kDAAkD;IAClD,IAAI,EAAE,CACJ,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,kCAAkC,KACzC,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACzC,qDAAqD;IACrD,GAAG,EAAE,CACH,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,gCAAgC,KACvC,OAAO,CAAC,OAAO,CAAC,CAAC;CACvB;AAeD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,aAAa,GAAG,kBAAkB,CAIjF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { listRunSteps, getRunStep } from "../../api/runSteps/operations.js";
|
|
4
|
+
function _getRunSteps(context) {
|
|
5
|
+
return {
|
|
6
|
+
list: (threadId, runId, options) => listRunSteps(context, threadId, runId, options),
|
|
7
|
+
get: (threadId, runId, stepId, options) => getRunStep(context, threadId, runId, stepId, options),
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export function _getRunStepsOperations(context) {
|
|
11
|
+
return Object.assign({}, _getRunSteps(context));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/runSteps/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAqB5E,SAAS,YAAY,CAAC,OAAsB;IAC1C,OAAO;QACL,IAAI,EAAE,CAAC,QAAgB,EAAE,KAAa,EAAE,OAA4C,EAAE,EAAE,CACtF,YAAY,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC;QACjD,GAAG,EAAE,CACH,QAAgB,EAChB,KAAa,EACb,MAAc,EACd,OAA0C,EAC1C,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC;KAC3D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAAsB;IAC3D,yBACK,YAAY,CAAC,OAAO,CAAC,EACxB;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AgentsContext } from \"../../api/agentsContext.js\";\nimport { RunStep } from \"../../models/models.js\";\nimport {\n RunStepsListRunStepsOptionalParams,\n RunStepsGetRunStepOptionalParams,\n} from \"../../api/runSteps/options.js\";\nimport { listRunSteps, getRunStep } from \"../../api/runSteps/operations.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a RunSteps operations. */\n/** Interface representing a RunSteps operations. */\nexport interface RunStepsOperations {\n /** Gets a list of run steps from a thread run. */\n list: (\n threadId: string,\n runId: string,\n options?: RunStepsListRunStepsOptionalParams,\n ) => PagedAsyncIterableIterator<RunStep>;\n /** Retrieves a single run step from a thread run. */\n get: (\n threadId: string,\n runId: string,\n stepId: string,\n options?: RunStepsGetRunStepOptionalParams,\n ) => Promise<RunStep>;\n}\n\nfunction _getRunSteps(context: AgentsContext) {\n return {\n list: (threadId: string, runId: string, options?: RunStepsListRunStepsOptionalParams) =>\n listRunSteps(context, threadId, runId, options),\n get: (\n threadId: string,\n runId: string,\n stepId: string,\n options?: RunStepsGetRunStepOptionalParams,\n ) => getRunStep(context, threadId, runId, stepId, options),\n };\n}\n\nexport function _getRunStepsOperations(context: AgentsContext): RunStepsOperations {\n return {\n ..._getRunSteps(context),\n };\n}\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AgentsContext } from "../../api/agentsContext.js";
|
|
2
|
+
import { ThreadRun, ToolOutput } from "../../models/models.js";
|
|
3
|
+
import { RunsCancelRunOptionalParams, RunsSubmitToolOutputsToRunOptionalParams, RunsUpdateRunOptionalParams, RunsGetRunOptionalParams, RunsListRunsOptionalParams, RunsCreateRunOptionalParams } from "../../api/runs/options.js";
|
|
4
|
+
import { AgentRunResponse } from "../../models/streamingModels.js";
|
|
5
|
+
import { CreateThreadAndRunOptionalParams } from "../../api/options.js";
|
|
6
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
7
|
+
/** Interface representing a Runs operations. */
|
|
8
|
+
export interface RunsOperations {
|
|
9
|
+
/** Cancels a run of an in‐progress thread. */
|
|
10
|
+
cancel: (threadId: string, runId: string, options?: RunsCancelRunOptionalParams) => Promise<ThreadRun>;
|
|
11
|
+
/** Submits outputs from tools as requested by tool calls in a run. */
|
|
12
|
+
submitToolOutputs: (threadId: string, runId: string, toolOutputs: ToolOutput[], options?: RunsSubmitToolOutputsToRunOptionalParams) => Promise<ThreadRun>;
|
|
13
|
+
/** Modifies an existing thread run. */
|
|
14
|
+
update: (threadId: string, runId: string, options?: RunsUpdateRunOptionalParams) => Promise<ThreadRun>;
|
|
15
|
+
/** Gets an existing run from an existing thread. */
|
|
16
|
+
get: (threadId: string, runId: string, options?: RunsGetRunOptionalParams) => Promise<ThreadRun>;
|
|
17
|
+
/** Gets a list of runs for a specified thread. */
|
|
18
|
+
list: (threadId: string, options?: RunsListRunsOptionalParams) => PagedAsyncIterableIterator<ThreadRun>;
|
|
19
|
+
/** Creates a new run for an agent thread. */
|
|
20
|
+
create: (threadId: string, assistantId: string, options?: RunsCreateRunOptionalParams) => AgentRunResponse;
|
|
21
|
+
/** Creates a new thread and run for an agent. */
|
|
22
|
+
createThreadAndRun: (assistantId: string, options?: CreateThreadAndRunOptionalParams) => AgentRunResponse;
|
|
23
|
+
}
|
|
24
|
+
export declare function _getRunsOperations(context: AgentsContext): RunsOperations;
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/runs/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EACL,2BAA2B,EAC3B,wCAAwC,EACxC,2BAA2B,EAC3B,wBAAwB,EACxB,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,2BAA2B,CAAC;AASnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,OAAO,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF,gDAAgD;AAChD,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,MAAM,EAAE,CACN,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,2BAA2B,KAClC,OAAO,CAAC,SAAS,CAAC,CAAC;IACxB,sEAAsE;IACtE,iBAAiB,EAAE,CACjB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,UAAU,EAAE,EACzB,OAAO,CAAC,EAAE,wCAAwC,KAC/C,OAAO,CAAC,SAAS,CAAC,CAAC;IACxB,uCAAuC;IACvC,MAAM,EAAE,CACN,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,2BAA2B,KAClC,OAAO,CAAC,SAAS,CAAC,CAAC;IACxB,oDAAoD;IACpD,GAAG,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,wBAAwB,KAAK,OAAO,CAAC,SAAS,CAAC,CAAC;IACjG,kDAAkD;IAClD,IAAI,EAAE,CACJ,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,0BAA0B,KACjC,0BAA0B,CAAC,SAAS,CAAC,CAAC;IAC3C,6CAA6C;IAC7C,MAAM,EAAE,CACN,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,2BAA2B,KAClC,gBAAgB,CAAC;IACtB,iDAAiD;IACjD,kBAAkB,EAAE,CAClB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,KACvC,gBAAgB,CAAC;CACvB;AAyBD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,aAAa,GAAG,cAAc,CAIzE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { cancelRun, submitToolOutputsToRun, updateRun, getRun, listRuns, createRun, } from "../../api/runs/operations.js";
|
|
4
|
+
import { createThreadAndRun } from "../../api/operations.js";
|
|
5
|
+
function _getRuns(context) {
|
|
6
|
+
return {
|
|
7
|
+
cancel: (threadId, runId, options) => cancelRun(context, threadId, runId, options),
|
|
8
|
+
submitToolOutputs: (threadId, runId, toolOutputs, options) => submitToolOutputsToRun(context, threadId, runId, toolOutputs, options),
|
|
9
|
+
update: (threadId, runId, options) => updateRun(context, threadId, runId, options),
|
|
10
|
+
get: (threadId, runId, options) => getRun(context, threadId, runId, options),
|
|
11
|
+
list: (threadId, options) => listRuns(context, threadId, options),
|
|
12
|
+
create: (threadId, assistantId, options) => createRun(context, threadId, assistantId, options),
|
|
13
|
+
createThreadAndRun: (assistantId, options) => createThreadAndRun(context, assistantId, options),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export function _getRunsOperations(context) {
|
|
17
|
+
return Object.assign({}, _getRuns(context));
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/runs/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAYlC,OAAO,EACL,SAAS,EACT,sBAAsB,EACtB,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,GACV,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AA6C7D,SAAS,QAAQ,CAAC,OAAsB;IACtC,OAAO;QACL,MAAM,EAAE,CAAC,QAAgB,EAAE,KAAa,EAAE,OAAqC,EAAE,EAAE,CACjF,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC;QAC9C,iBAAiB,EAAE,CACjB,QAAgB,EAChB,KAAa,EACb,WAAyB,EACzB,OAAkD,EAClD,EAAE,CAAC,sBAAsB,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,CAAC;QAC3E,MAAM,EAAE,CAAC,QAAgB,EAAE,KAAa,EAAE,OAAqC,EAAE,EAAE,CACjF,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC;QAC9C,GAAG,EAAE,CAAC,QAAgB,EAAE,KAAa,EAAE,OAAkC,EAAE,EAAE,CAC3E,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC;QAC3C,IAAI,EAAE,CAAC,QAAgB,EAAE,OAAoC,EAAE,EAAE,CAC/D,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;QACtC,MAAM,EAAE,CAAC,QAAgB,EAAE,WAAmB,EAAE,OAAqC,EAAE,EAAE,CACvF,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,CAAC;QACpD,kBAAkB,EAAE,CAAC,WAAmB,EAAE,OAAqC,EAAE,EAAE,CACjF,kBAAkB,CAAC,OAAO,EAAE,WAAW,EAAE,OAAO,CAAC;KACpD,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,OAAsB;IACvD,yBACK,QAAQ,CAAC,OAAO,CAAC,EACpB;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AgentsContext } from \"../../api/agentsContext.js\";\nimport { ThreadRun, ToolOutput } from \"../../models/models.js\";\nimport {\n RunsCancelRunOptionalParams,\n RunsSubmitToolOutputsToRunOptionalParams,\n RunsUpdateRunOptionalParams,\n RunsGetRunOptionalParams,\n RunsListRunsOptionalParams,\n RunsCreateRunOptionalParams,\n} from \"../../api/runs/options.js\";\nimport {\n cancelRun,\n submitToolOutputsToRun,\n updateRun,\n getRun,\n listRuns,\n createRun,\n} from \"../../api/runs/operations.js\";\nimport { AgentRunResponse } from \"../../models/streamingModels.js\";\nimport { createThreadAndRun } from \"../../api/operations.js\";\nimport { CreateThreadAndRunOptionalParams } from \"../../api/options.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Runs operations. */\nexport interface RunsOperations {\n /** Cancels a run of an in‐progress thread. */\n cancel: (\n threadId: string,\n runId: string,\n options?: RunsCancelRunOptionalParams,\n ) => Promise<ThreadRun>;\n /** Submits outputs from tools as requested by tool calls in a run. */\n submitToolOutputs: (\n threadId: string,\n runId: string,\n toolOutputs: ToolOutput[],\n options?: RunsSubmitToolOutputsToRunOptionalParams,\n ) => Promise<ThreadRun>;\n /** Modifies an existing thread run. */\n update: (\n threadId: string,\n runId: string,\n options?: RunsUpdateRunOptionalParams,\n ) => Promise<ThreadRun>;\n /** Gets an existing run from an existing thread. */\n get: (threadId: string, runId: string, options?: RunsGetRunOptionalParams) => Promise<ThreadRun>;\n /** Gets a list of runs for a specified thread. */\n list: (\n threadId: string,\n options?: RunsListRunsOptionalParams,\n ) => PagedAsyncIterableIterator<ThreadRun>;\n /** Creates a new run for an agent thread. */\n create: (\n threadId: string,\n assistantId: string,\n options?: RunsCreateRunOptionalParams,\n ) => AgentRunResponse;\n /** Creates a new thread and run for an agent. */\n createThreadAndRun: (\n assistantId: string,\n options?: CreateThreadAndRunOptionalParams,\n ) => AgentRunResponse;\n}\n\nfunction _getRuns(context: AgentsContext) {\n return {\n cancel: (threadId: string, runId: string, options?: RunsCancelRunOptionalParams) =>\n cancelRun(context, threadId, runId, options),\n submitToolOutputs: (\n threadId: string,\n runId: string,\n toolOutputs: ToolOutput[],\n options?: RunsSubmitToolOutputsToRunOptionalParams,\n ) => submitToolOutputsToRun(context, threadId, runId, toolOutputs, options),\n update: (threadId: string, runId: string, options?: RunsUpdateRunOptionalParams) =>\n updateRun(context, threadId, runId, options),\n get: (threadId: string, runId: string, options?: RunsGetRunOptionalParams) =>\n getRun(context, threadId, runId, options),\n list: (threadId: string, options?: RunsListRunsOptionalParams) =>\n listRuns(context, threadId, options),\n create: (threadId: string, assistantId: string, options?: RunsCreateRunOptionalParams) =>\n createRun(context, threadId, assistantId, options),\n createThreadAndRun: (assistantId: string, options?: RunsCreateRunOptionalParams) =>\n createThreadAndRun(context, assistantId, options),\n };\n}\n\nexport function _getRunsOperations(context: AgentsContext): RunsOperations {\n return {\n ..._getRuns(context),\n };\n}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AgentsContext } from "../../api/agentsContext.js";
|
|
2
|
+
import { AgentThread, ThreadDeletionStatus } from "../../models/models.js";
|
|
3
|
+
import { ThreadsDeleteThreadOptionalParams, ThreadsUpdateThreadOptionalParams, ThreadsGetThreadOptionalParams, ThreadsListThreadsOptionalParams, ThreadsCreateThreadOptionalParams } from "../../api/threads/options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
/** Interface representing a Threads operations. */
|
|
6
|
+
export interface ThreadsOperations {
|
|
7
|
+
/** Deletes an existing thread. */
|
|
8
|
+
delete: (threadId: string, options?: ThreadsDeleteThreadOptionalParams) => Promise<ThreadDeletionStatus>;
|
|
9
|
+
/** Modifies an existing thread. */
|
|
10
|
+
update: (threadId: string, options?: ThreadsUpdateThreadOptionalParams) => Promise<AgentThread>;
|
|
11
|
+
/** Gets information about an existing thread. */
|
|
12
|
+
get: (threadId: string, options?: ThreadsGetThreadOptionalParams) => Promise<AgentThread>;
|
|
13
|
+
/** Gets a list of threads that were previously created. */
|
|
14
|
+
list: (options?: ThreadsListThreadsOptionalParams) => PagedAsyncIterableIterator<AgentThread>;
|
|
15
|
+
/** Creates a new thread. Threads contain messages and can be run by agents. */
|
|
16
|
+
create: (options?: ThreadsCreateThreadOptionalParams) => Promise<AgentThread>;
|
|
17
|
+
}
|
|
18
|
+
export declare function _getThreadsOperations(context: AgentsContext): ThreadsOperations;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/threads/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EACL,iCAAiC,EACjC,iCAAiC,EACjC,8BAA8B,EAC9B,gCAAgC,EAChC,iCAAiC,EAClC,MAAM,8BAA8B,CAAC;AAQtC,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF,mDAAmD;AACnD,MAAM,WAAW,iBAAiB;IAChC,kCAAkC;IAClC,MAAM,EAAE,CACN,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,iCAAiC,KACxC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACnC,mCAAmC;IACnC,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,iCAAiC,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;IAChG,iDAAiD;IACjD,GAAG,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,8BAA8B,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1F,2DAA2D;IAC3D,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,gCAAgC,KAAK,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC9F,+EAA+E;IAC/E,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,iCAAiC,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;CAC/E;AAeD,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,aAAa,GAAG,iBAAiB,CAI/E"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { deleteThread, updateThread, getThread, listThreads, createThread, } from "../../api/threads/operations.js";
|
|
4
|
+
function _getThreads(context) {
|
|
5
|
+
return {
|
|
6
|
+
delete: (threadId, options) => deleteThread(context, threadId, options),
|
|
7
|
+
update: (threadId, options) => updateThread(context, threadId, options),
|
|
8
|
+
get: (threadId, options) => getThread(context, threadId, options),
|
|
9
|
+
list: (options) => listThreads(context, options),
|
|
10
|
+
create: (options) => createThread(context, options),
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export function _getThreadsOperations(context) {
|
|
14
|
+
return Object.assign({}, _getThreads(context));
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/threads/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAWlC,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,WAAW,EACX,YAAY,GACb,MAAM,iCAAiC,CAAC;AAoBzC,SAAS,WAAW,CAAC,OAAsB;IACzC,OAAO;QACL,MAAM,EAAE,CAAC,QAAgB,EAAE,OAA2C,EAAE,EAAE,CACxE,YAAY,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;QAC1C,MAAM,EAAE,CAAC,QAAgB,EAAE,OAA2C,EAAE,EAAE,CACxE,YAAY,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;QAC1C,GAAG,EAAE,CAAC,QAAgB,EAAE,OAAwC,EAAE,EAAE,CAClE,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;QACvC,IAAI,EAAE,CAAC,OAA0C,EAAE,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC;QACnF,MAAM,EAAE,CAAC,OAA2C,EAAE,EAAE,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC;KACxF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,OAAsB;IAC1D,yBACK,WAAW,CAAC,OAAO,CAAC,EACvB;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AgentsContext } from \"../../api/agentsContext.js\";\nimport { AgentThread, ThreadDeletionStatus } from \"../../models/models.js\";\nimport {\n ThreadsDeleteThreadOptionalParams,\n ThreadsUpdateThreadOptionalParams,\n ThreadsGetThreadOptionalParams,\n ThreadsListThreadsOptionalParams,\n ThreadsCreateThreadOptionalParams,\n} from \"../../api/threads/options.js\";\nimport {\n deleteThread,\n updateThread,\n getThread,\n listThreads,\n createThread,\n} from \"../../api/threads/operations.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Threads operations. */\nexport interface ThreadsOperations {\n /** Deletes an existing thread. */\n delete: (\n threadId: string,\n options?: ThreadsDeleteThreadOptionalParams,\n ) => Promise<ThreadDeletionStatus>;\n /** Modifies an existing thread. */\n update: (threadId: string, options?: ThreadsUpdateThreadOptionalParams) => Promise<AgentThread>;\n /** Gets information about an existing thread. */\n get: (threadId: string, options?: ThreadsGetThreadOptionalParams) => Promise<AgentThread>;\n /** Gets a list of threads that were previously created. */\n list: (options?: ThreadsListThreadsOptionalParams) => PagedAsyncIterableIterator<AgentThread>;\n /** Creates a new thread. Threads contain messages and can be run by agents. */\n create: (options?: ThreadsCreateThreadOptionalParams) => Promise<AgentThread>;\n}\n\nfunction _getThreads(context: AgentsContext) {\n return {\n delete: (threadId: string, options?: ThreadsDeleteThreadOptionalParams) =>\n deleteThread(context, threadId, options),\n update: (threadId: string, options?: ThreadsUpdateThreadOptionalParams) =>\n updateThread(context, threadId, options),\n get: (threadId: string, options?: ThreadsGetThreadOptionalParams) =>\n getThread(context, threadId, options),\n list: (options?: ThreadsListThreadsOptionalParams) => listThreads(context, options),\n create: (options?: ThreadsCreateThreadOptionalParams) => createThread(context, options),\n };\n}\n\nexport function _getThreadsOperations(context: AgentsContext): ThreadsOperations {\n return {\n ..._getThreads(context),\n };\n}\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AgentsContext } from "../../api/agentsContext.js";
|
|
2
|
+
import { VectorStoreFileBatch } from "../../models/models.js";
|
|
3
|
+
import { VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams, VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams, VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams, VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams } from "../../api/vectorStoreFileBatches/options.js";
|
|
4
|
+
import { OperationState, PollerLike } from "@azure/core-lro";
|
|
5
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
6
|
+
/** Interface representing a VectorStoreFileBatches operations. */
|
|
7
|
+
export interface VectorStoreFileBatchesOperations {
|
|
8
|
+
/** Returns a list of vector store files in a batch. */
|
|
9
|
+
list: (vectorStoreId: string, batchId: string, options?: VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams) => PagedAsyncIterableIterator<VectorStoreFileBatch>;
|
|
10
|
+
/** Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible. */
|
|
11
|
+
cancel: (vectorStoreId: string, batchId: string, options?: VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams) => Promise<VectorStoreFileBatch>;
|
|
12
|
+
/** Retrieve a vector store file batch. */
|
|
13
|
+
get: (vectorStoreId: string, batchId: string, options?: VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams) => Promise<VectorStoreFileBatch>;
|
|
14
|
+
/** Create a vector store file batch. */
|
|
15
|
+
create: (vectorStoreId: string, options?: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams) => Promise<VectorStoreFileBatch>;
|
|
16
|
+
/** Create a vector store file batch and poll. */
|
|
17
|
+
createAndPoll: (vectorStoreId: string, options?: VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams) => PollerLike<OperationState<VectorStoreFileBatch>, VectorStoreFileBatch>;
|
|
18
|
+
}
|
|
19
|
+
export declare function _getVectorStoreFileBatchesOperations(context: AgentsContext): VectorStoreFileBatchesOperations;
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/vectorStoreFileBatches/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EACL,iEAAiE,EACjE,8DAA8D,EAC9D,2DAA2D,EAC3D,8DAA8D,EAC/D,MAAM,6CAA6C,CAAC;AAQrD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF,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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { listVectorStoreFileBatchFiles, cancelVectorStoreFileBatch, getVectorStoreFileBatch, createVectorStoreFileBatch, createVectorStoreFileBatchAndPoll, } from "../../api/vectorStoreFileBatches/operations.js";
|
|
4
|
+
function _getVectorStoreFileBatches(context) {
|
|
5
|
+
return {
|
|
6
|
+
list: (vectorStoreId, batchId, options) => listVectorStoreFileBatchFiles(context, vectorStoreId, batchId, options),
|
|
7
|
+
cancel: (vectorStoreId, batchId, options) => cancelVectorStoreFileBatch(context, vectorStoreId, batchId, options),
|
|
8
|
+
get: (vectorStoreId, batchId, options) => getVectorStoreFileBatch(context, vectorStoreId, batchId, options),
|
|
9
|
+
create: (vectorStoreId, options) => createVectorStoreFileBatch(context, vectorStoreId, options),
|
|
10
|
+
createAndPoll: (vectorStoreId, options) => createVectorStoreFileBatchAndPoll(context, vectorStoreId, options),
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export function _getVectorStoreFileBatchesOperations(context) {
|
|
14
|
+
return Object.assign({}, _getVectorStoreFileBatches(context));
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +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 { AgentsContext } from \"../../api/agentsContext.js\";\nimport { VectorStoreFileBatch } from \"../../models/models.js\";\nimport {\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 { OperationState, PollerLike } from \"@azure/core-lro\";\nimport { 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"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AgentsContext } from "../../api/agentsContext.js";
|
|
2
|
+
import { VectorStoreFile, VectorStoreFileDeletionStatus } from "../../models/models.js";
|
|
3
|
+
import { VectorStoreFilesDeleteVectorStoreFileOptionalParams, VectorStoreFilesGetVectorStoreFileOptionalParams, VectorStoreFilesCreateVectorStoreFileOptionalParams, VectorStoreFilesListVectorStoreFilesOptionalParams } from "../../api/vectorStoreFiles/options.js";
|
|
4
|
+
import { OperationState, PollerLike } from "@azure/core-lro";
|
|
5
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
6
|
+
/** Interface representing a VectorStoreFiles operations. */
|
|
7
|
+
export interface VectorStoreFilesOperations {
|
|
8
|
+
/** Deletes a vector store file. This removes the file‐to‐store link (does not delete the file itself). */
|
|
9
|
+
delete: (vectorStoreId: string, fileId: string, options?: VectorStoreFilesDeleteVectorStoreFileOptionalParams) => Promise<VectorStoreFileDeletionStatus>;
|
|
10
|
+
/** Retrieves a vector store file. */
|
|
11
|
+
get: (vectorStoreId: string, fileId: string, options?: VectorStoreFilesGetVectorStoreFileOptionalParams) => Promise<VectorStoreFile>;
|
|
12
|
+
/** Create a vector store file by attaching a file to a vector store. */
|
|
13
|
+
create: (vectorStoreId: string, options?: VectorStoreFilesCreateVectorStoreFileOptionalParams) => Promise<VectorStoreFile>;
|
|
14
|
+
/** Create a vector store file by attaching a file to a vector store and poll. */
|
|
15
|
+
createAndPoll: (vectorStoreId: string, options?: VectorStoreFilesCreateVectorStoreFileOptionalParams) => PollerLike<OperationState<VectorStoreFile>, VectorStoreFile>;
|
|
16
|
+
/** Returns a list of vector store files. */
|
|
17
|
+
list: (vectorStoreId: string, options?: VectorStoreFilesListVectorStoreFilesOptionalParams) => PagedAsyncIterableIterator<VectorStoreFile>;
|
|
18
|
+
}
|
|
19
|
+
export declare function _getVectorStoreFilesOperations(context: AgentsContext): VectorStoreFilesOperations;
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/vectorStoreFiles/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,EACL,mDAAmD,EACnD,gDAAgD,EAChD,mDAAmD,EACnD,kDAAkD,EACnD,MAAM,uCAAuC,CAAC;AAQ/C,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAEnF,4DAA4D;AAC5D,MAAM,WAAW,0BAA0B;IACzC,0GAA0G;IAC1G,MAAM,EAAE,CACN,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,mDAAmD,KAC1D,OAAO,CAAC,6BAA6B,CAAC,CAAC;IAC5C,qCAAqC;IACrC,GAAG,EAAE,CACH,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,gDAAgD,KACvD,OAAO,CAAC,eAAe,CAAC,CAAC;IAC9B,wEAAwE;IACxE,MAAM,EAAE,CACN,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,mDAAmD,KAC1D,OAAO,CAAC,eAAe,CAAC,CAAC;IAC9B,iFAAiF;IACjF,aAAa,EAAE,CACb,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,mDAAmD,KAC1D,UAAU,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,eAAe,CAAC,CAAC;IAClE,4CAA4C;IAC5C,IAAI,EAAE,CACJ,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,kDAAkD,KACzD,0BAA0B,CAAC,eAAe,CAAC,CAAC;CAClD;AA2BD,wBAAgB,8BAA8B,CAAC,OAAO,EAAE,aAAa,GAAG,0BAA0B,CAIjG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { deleteVectorStoreFile, getVectorStoreFile, createVectorStoreFile, listVectorStoreFiles, createVectorStoreFileAndPoll, } from "../../api/vectorStoreFiles/operations.js";
|
|
2
|
+
function _getVectorStoreFiles(context) {
|
|
3
|
+
return {
|
|
4
|
+
delete: (vectorStoreId, fileId, options) => deleteVectorStoreFile(context, vectorStoreId, fileId, options),
|
|
5
|
+
get: (vectorStoreId, fileId, options) => getVectorStoreFile(context, vectorStoreId, fileId, options),
|
|
6
|
+
create: (vectorStoreId, options) => createVectorStoreFile(context, vectorStoreId, options),
|
|
7
|
+
createAndPoll: (vectorStoreId, options) => createVectorStoreFileAndPoll(context, vectorStoreId, options),
|
|
8
|
+
list: (vectorStoreId, options) => listVectorStoreFiles(context, vectorStoreId, options),
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export function _getVectorStoreFilesOperations(context) {
|
|
12
|
+
return Object.assign({}, _getVectorStoreFiles(context));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/vectorStoreFiles/index.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,4BAA4B,GAC7B,MAAM,0CAA0C,CAAC;AAmClD,SAAS,oBAAoB,CAAC,OAAsB;IAClD,OAAO;QACL,MAAM,EAAE,CACN,aAAqB,EACrB,MAAc,EACd,OAA6D,EAC7D,EAAE,CAAC,qBAAqB,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC;QACnE,GAAG,EAAE,CACH,aAAqB,EACrB,MAAc,EACd,OAA0D,EAC1D,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC;QAChE,MAAM,EAAE,CACN,aAAqB,EACrB,OAA6D,EAC7D,EAAE,CAAC,qBAAqB,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC;QAC3D,aAAa,EAAE,CACb,aAAqB,EACrB,OAA6D,EAC7D,EAAE,CAAC,4BAA4B,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC;QAClE,IAAI,EAAE,CAAC,aAAqB,EAAE,OAA4D,EAAE,EAAE,CAC5F,oBAAoB,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC;KACxD,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,OAAsB;IACnE,yBACK,oBAAoB,CAAC,OAAO,CAAC,EAChC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport { AgentsContext } from \"../../api/agentsContext.js\";\nimport { VectorStoreFile, VectorStoreFileDeletionStatus } from \"../../models/models.js\";\nimport {\n VectorStoreFilesDeleteVectorStoreFileOptionalParams,\n VectorStoreFilesGetVectorStoreFileOptionalParams,\n VectorStoreFilesCreateVectorStoreFileOptionalParams,\n VectorStoreFilesListVectorStoreFilesOptionalParams,\n} from \"../../api/vectorStoreFiles/options.js\";\nimport {\n deleteVectorStoreFile,\n getVectorStoreFile,\n createVectorStoreFile,\n listVectorStoreFiles,\n createVectorStoreFileAndPoll,\n} from \"../../api/vectorStoreFiles/operations.js\";\nimport { OperationState, PollerLike } from \"@azure/core-lro\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a VectorStoreFiles operations. */\nexport interface VectorStoreFilesOperations {\n /** Deletes a vector store file. This removes the file‐to‐store link (does not delete the file itself). */\n delete: (\n vectorStoreId: string,\n fileId: string,\n options?: VectorStoreFilesDeleteVectorStoreFileOptionalParams,\n ) => Promise<VectorStoreFileDeletionStatus>;\n /** Retrieves a vector store file. */\n get: (\n vectorStoreId: string,\n fileId: string,\n options?: VectorStoreFilesGetVectorStoreFileOptionalParams,\n ) => Promise<VectorStoreFile>;\n /** Create a vector store file by attaching a file to a vector store. */\n create: (\n vectorStoreId: string,\n options?: VectorStoreFilesCreateVectorStoreFileOptionalParams,\n ) => Promise<VectorStoreFile>;\n /** Create a vector store file by attaching a file to a vector store and poll. */\n createAndPoll: (\n vectorStoreId: string,\n options?: VectorStoreFilesCreateVectorStoreFileOptionalParams,\n ) => PollerLike<OperationState<VectorStoreFile>, VectorStoreFile>;\n /** Returns a list of vector store files. */\n list: (\n vectorStoreId: string,\n options?: VectorStoreFilesListVectorStoreFilesOptionalParams,\n ) => PagedAsyncIterableIterator<VectorStoreFile>;\n}\n\nfunction _getVectorStoreFiles(context: AgentsContext) {\n return {\n delete: (\n vectorStoreId: string,\n fileId: string,\n options?: VectorStoreFilesDeleteVectorStoreFileOptionalParams,\n ) => deleteVectorStoreFile(context, vectorStoreId, fileId, options),\n get: (\n vectorStoreId: string,\n fileId: string,\n options?: VectorStoreFilesGetVectorStoreFileOptionalParams,\n ) => getVectorStoreFile(context, vectorStoreId, fileId, options),\n create: (\n vectorStoreId: string,\n options?: VectorStoreFilesCreateVectorStoreFileOptionalParams,\n ) => createVectorStoreFile(context, vectorStoreId, options),\n createAndPoll: (\n vectorStoreId: string,\n options?: VectorStoreFilesCreateVectorStoreFileOptionalParams,\n ) => createVectorStoreFileAndPoll(context, vectorStoreId, options),\n list: (vectorStoreId: string, options?: VectorStoreFilesListVectorStoreFilesOptionalParams) =>\n listVectorStoreFiles(context, vectorStoreId, options),\n };\n}\n\nexport function _getVectorStoreFilesOperations(context: AgentsContext): VectorStoreFilesOperations {\n return {\n ..._getVectorStoreFiles(context),\n };\n}\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AgentsContext } from "../../api/agentsContext.js";
|
|
2
|
+
import type { VectorStore, VectorStoreDeletionStatus } from "../../models/models.js";
|
|
3
|
+
import type { VectorStoresDeleteVectorStoreOptionalParams, VectorStoresModifyVectorStoreOptionalParams, VectorStoresGetVectorStoreOptionalParams, VectorStoresCreateVectorStoreOptionalParams, VectorStoresListVectorStoresOptionalParams } from "../../api/vectorStores/options.js";
|
|
4
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
6
|
+
/** Interface representing a VectorStores operations. */
|
|
7
|
+
export interface VectorStoresOperations {
|
|
8
|
+
/** Deletes the vector store object matching the specified ID. */
|
|
9
|
+
delete: (vectorStoreId: string, options?: VectorStoresDeleteVectorStoreOptionalParams) => Promise<VectorStoreDeletionStatus>;
|
|
10
|
+
/** Modifies an existing vector store. */
|
|
11
|
+
update: (vectorStoreId: string, options?: VectorStoresModifyVectorStoreOptionalParams) => Promise<VectorStore>;
|
|
12
|
+
/** Returns the vector store object matching the specified ID. */
|
|
13
|
+
get: (vectorStoreId: string, options?: VectorStoresGetVectorStoreOptionalParams) => Promise<VectorStore>;
|
|
14
|
+
/** Creates a vector store. */
|
|
15
|
+
create: (options?: VectorStoresCreateVectorStoreOptionalParams) => Promise<VectorStore>;
|
|
16
|
+
/** Creates a vector store and poll. */
|
|
17
|
+
createAndPoll(options?: VectorStoresCreateVectorStoreOptionalParams): PollerLike<OperationState<VectorStore>, VectorStore>;
|
|
18
|
+
/** Returns a list of vector stores. */
|
|
19
|
+
list: (options?: VectorStoresListVectorStoresOptionalParams) => PagedAsyncIterableIterator<VectorStore>;
|
|
20
|
+
}
|
|
21
|
+
export declare function _getVectorStoresOperations(context: AgentsContext): VectorStoresOperations;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/vectorStores/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAErF,OAAO,KAAK,EACV,2CAA2C,EAC3C,2CAA2C,EAC3C,wCAAwC,EACxC,2CAA2C,EAC3C,0CAA0C,EAC3C,MAAM,mCAAmC,CAAC;AAS3C,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAExF,wDAAwD;AACxD,MAAM,WAAW,sBAAsB;IACrC,iEAAiE;IACjE,MAAM,EAAE,CACN,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2CAA2C,KAClD,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACxC,yCAAyC;IACzC,MAAM,EAAE,CACN,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2CAA2C,KAClD,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1B,iEAAiE;IACjE,GAAG,EAAE,CACH,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,wCAAwC,KAC/C,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1B,8BAA8B;IAC9B,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,2CAA2C,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;IACxF,uCAAuC;IACvC,aAAa,CACX,OAAO,CAAC,EAAE,2CAA2C,GACpD,UAAU,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC,CAAC;IACxD,uCAAuC;IACvC,IAAI,EAAE,CACJ,OAAO,CAAC,EAAE,0CAA0C,KACjD,0BAA0B,CAAC,WAAW,CAAC,CAAC;CAC9C;AAmBD,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,aAAa,GAAG,sBAAsB,CAIzF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { deleteVectorStore, modifyVectorStore, getVectorStore, createVectorStore, listVectorStores, createVectorStoreAndPoll, } from "../../api/vectorStores/operations.js";
|
|
4
|
+
function _getVectorStores(context) {
|
|
5
|
+
return {
|
|
6
|
+
delete: (vectorStoreId, options) => deleteVectorStore(context, vectorStoreId, options),
|
|
7
|
+
update: (vectorStoreId, options) => modifyVectorStore(context, vectorStoreId, options),
|
|
8
|
+
get: (vectorStoreId, options) => getVectorStore(context, vectorStoreId, options),
|
|
9
|
+
create: (options) => createVectorStore(context, options),
|
|
10
|
+
createAndPoll: (options) => createVectorStoreAndPoll(context, options),
|
|
11
|
+
list: (options) => listVectorStores(context, options),
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export function _getVectorStoresOperations(context) {
|
|
15
|
+
return Object.assign({}, _getVectorStores(context));
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/vectorStores/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAYlC,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,sCAAsC,CAAC;AAiC9C,SAAS,gBAAgB,CAAC,OAAsB;IAC9C,OAAO;QACL,MAAM,EAAE,CAAC,aAAqB,EAAE,OAAqD,EAAE,EAAE,CACvF,iBAAiB,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC;QACpD,MAAM,EAAE,CAAC,aAAqB,EAAE,OAAqD,EAAE,EAAE,CACvF,iBAAiB,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC;QACpD,GAAG,EAAE,CAAC,aAAqB,EAAE,OAAkD,EAAE,EAAE,CACjF,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC;QACjD,MAAM,EAAE,CAAC,OAAqD,EAAE,EAAE,CAChE,iBAAiB,CAAC,OAAO,EAAE,OAAO,CAAC;QACrC,aAAa,EAAE,CAAC,OAAqD,EAAE,EAAE,CACvE,wBAAwB,CAAC,OAAO,EAAE,OAAO,CAAC;QAC5C,IAAI,EAAE,CAAC,OAAoD,EAAE,EAAE,CAC7D,gBAAgB,CAAC,OAAO,EAAE,OAAO,CAAC;KACrC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,OAAsB;IAC/D,yBACK,gBAAgB,CAAC,OAAO,CAAC,EAC5B;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AgentsContext } from \"../../api/agentsContext.js\";\nimport type { VectorStore, VectorStoreDeletionStatus } from \"../../models/models.js\";\nimport { _AgentsPagedResultVectorStore } from \"../../models/models.js\";\nimport type {\n VectorStoresDeleteVectorStoreOptionalParams,\n VectorStoresModifyVectorStoreOptionalParams,\n VectorStoresGetVectorStoreOptionalParams,\n VectorStoresCreateVectorStoreOptionalParams,\n VectorStoresListVectorStoresOptionalParams,\n} from \"../../api/vectorStores/options.js\";\nimport {\n deleteVectorStore,\n modifyVectorStore,\n getVectorStore,\n createVectorStore,\n listVectorStores,\n createVectorStoreAndPoll,\n} from \"../../api/vectorStores/operations.js\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a VectorStores operations. */\nexport interface VectorStoresOperations {\n /** Deletes the vector store object matching the specified ID. */\n delete: (\n vectorStoreId: string,\n options?: VectorStoresDeleteVectorStoreOptionalParams,\n ) => Promise<VectorStoreDeletionStatus>;\n /** Modifies an existing vector store. */\n update: (\n vectorStoreId: string,\n options?: VectorStoresModifyVectorStoreOptionalParams,\n ) => Promise<VectorStore>;\n /** Returns the vector store object matching the specified ID. */\n get: (\n vectorStoreId: string,\n options?: VectorStoresGetVectorStoreOptionalParams,\n ) => Promise<VectorStore>;\n /** Creates a vector store. */\n create: (options?: VectorStoresCreateVectorStoreOptionalParams) => Promise<VectorStore>;\n /** Creates a vector store and poll. */\n createAndPoll(\n options?: VectorStoresCreateVectorStoreOptionalParams,\n ): PollerLike<OperationState<VectorStore>, VectorStore>;\n /** Returns a list of vector stores. */\n list: (\n options?: VectorStoresListVectorStoresOptionalParams,\n ) => PagedAsyncIterableIterator<VectorStore>;\n}\n\nfunction _getVectorStores(context: AgentsContext) {\n return {\n delete: (vectorStoreId: string, options?: VectorStoresDeleteVectorStoreOptionalParams) =>\n deleteVectorStore(context, vectorStoreId, options),\n update: (vectorStoreId: string, options?: VectorStoresModifyVectorStoreOptionalParams) =>\n modifyVectorStore(context, vectorStoreId, options),\n get: (vectorStoreId: string, options?: VectorStoresGetVectorStoreOptionalParams) =>\n getVectorStore(context, vectorStoreId, options),\n create: (options?: VectorStoresCreateVectorStoreOptionalParams) =>\n createVectorStore(context, options),\n createAndPoll: (options?: VectorStoresCreateVectorStoreOptionalParams) =>\n createVectorStoreAndPoll(context, options),\n list: (options?: VectorStoresListVectorStoresOptionalParams) =>\n listVectorStores(context, options),\n };\n}\n\nexport function _getVectorStoresOperations(context: AgentsContext): VectorStoresOperations {\n return {\n ..._getVectorStores(context),\n };\n}\n"]}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import { FileContents } from "./static-helpers/multipartHelpers.js";
|
|
2
|
+
import { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
|
|
3
|
+
export { AgentsClient } from "./agentsClient.js";
|
|
2
4
|
export * from "./models/streamingModels.js";
|
|
3
5
|
export * from "./utils.js";
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
6
|
+
export { ToolDefinition, ToolDefinitionUnion, CodeInterpreterToolDefinition, FileSearchToolDefinition, FileSearchToolDefinitionDetails, FileSearchRankingOptions, FunctionToolDefinition, FunctionDefinition, BingGroundingToolDefinition, BingGroundingSearchConfigurationList, BingGroundingSearchConfiguration, MicrosoftFabricToolDefinition, ToolConnectionList, ToolConnection, SharepointToolDefinition, AzureAISearchToolDefinition, OpenApiToolDefinition, OpenApiFunctionDefinition, OpenApiAuthDetails, OpenApiAuthDetailsUnion, OpenApiAuthType, OpenApiAnonymousAuthDetails, OpenApiConnectionAuthDetails, OpenApiConnectionSecurityScheme, OpenApiManagedAuthDetails, OpenApiManagedSecurityScheme, BingCustomSearchToolDefinition, BingCustomSearchConfigurationList, BingCustomSearchConfiguration, ConnectedAgentToolDefinition, ConnectedAgentDetails, AzureFunctionToolDefinition, AzureFunctionDefinition, AzureFunctionBinding, AzureFunctionStorageQueue, ToolResources, CodeInterpreterToolResource, VectorStoreDataSource, VectorStoreDataSourceAssetType, FileSearchToolResource, VectorStoreConfigurations, VectorStoreConfiguration, AzureAISearchResource, AISearchIndexResource, AzureAISearchQueryType, AgentsResponseFormat, ResponseFormat, ResponseFormatJsonSchemaType, ResponseFormatJsonSchema, AgentsResponseFormatOption, AgentsResponseFormatMode, Agent, AgentDeletionStatus, AgentThreadCreationOptions, ThreadMessageOptions, MessageRole, MessageInputContent, MessageInputContentBlock, MessageInputContentBlockUnion, MessageBlockType, MessageInputTextBlock, MessageInputImageFileBlock, MessageImageFileParam, ImageDetailLevel, MessageInputImageUrlBlock, MessageImageUrlParam, MessageAttachment, MessageAttachmentToolDefinition, UpdateToolResourcesOptions, UpdateCodeInterpreterToolResourceOptions, UpdateFileSearchToolResourceOptions, 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, RunStepSharepointToolCall, RunStepMicrosoftFabricToolCall, RunStepBingCustomSearchToolCall, 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 { AgentsClientOptionalParams, CreateThreadAndRunOptionalParams, DeleteAgentOptionalParams, UpdateAgentOptionalParams, GetAgentOptionalParams, ListAgentsOptionalParams, CreateAgentOptionalParams, PollingOptionsParams, PollingOptions, } from "./api/index.js";
|
|
8
|
+
export { FilesGetFileContentOptionalParams, FilesGetFileOptionalParams, FilesDeleteFileOptionalParams, FilesUploadFileOptionalParams, FilesListFilesOptionalParams, } from "./api/files/index.js";
|
|
9
|
+
export { MessagesUpdateMessageOptionalParams, MessagesGetMessageOptionalParams, MessagesListMessagesOptionalParams, MessagesCreateMessageOptionalParams, } from "./api/messages/index.js";
|
|
10
|
+
export { RunsCancelRunOptionalParams, RunsSubmitToolOutputsToRunOptionalParams, RunsUpdateRunOptionalParams, RunsGetRunOptionalParams, RunsListRunsOptionalParams, RunsCreateRunOptionalParams, } from "./api/runs/index.js";
|
|
11
|
+
export { RunStepsListRunStepsOptionalParams, RunStepsGetRunStepOptionalParams, } from "./api/runSteps/index.js";
|
|
12
|
+
export { ThreadsDeleteThreadOptionalParams, ThreadsUpdateThreadOptionalParams, ThreadsGetThreadOptionalParams, ThreadsListThreadsOptionalParams, ThreadsCreateThreadOptionalParams, } from "./api/threads/index.js";
|
|
13
|
+
export { VectorStoreFileBatchesListVectorStoreFileBatchFilesOptionalParams, VectorStoreFileBatchesCancelVectorStoreFileBatchOptionalParams, VectorStoreFileBatchesGetVectorStoreFileBatchOptionalParams, VectorStoreFileBatchesCreateVectorStoreFileBatchOptionalParams, } from "./api/vectorStoreFileBatches/index.js";
|
|
14
|
+
export { VectorStoreFilesDeleteVectorStoreFileOptionalParams, VectorStoreFilesGetVectorStoreFileOptionalParams, VectorStoreFilesCreateVectorStoreFileOptionalParams, VectorStoreFilesListVectorStoreFilesOptionalParams, } from "./api/vectorStoreFiles/index.js";
|
|
15
|
+
export { VectorStoresDeleteVectorStoreOptionalParams, VectorStoresModifyVectorStoreOptionalParams, VectorStoresGetVectorStoreOptionalParams, VectorStoresCreateVectorStoreOptionalParams, VectorStoresListVectorStoresOptionalParams, } from "./api/vectorStores/index.js";
|
|
16
|
+
export { FilesOperations, MessagesOperations, RunsOperations, RunStepsOperations, ThreadsOperations, VectorStoreFileBatchesOperations, VectorStoreFilesOperations, VectorStoresOperations, } from "./classic/index.js";
|
|
17
|
+
export { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
|
|
7
18
|
export { FileContents };
|
|
8
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EACL,YAAY,EACZ,eAAe,EACf,0BAA0B,EAC3B,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,6BAA6B,EAC7B,wBAAwB,EACxB,+BAA+B,EAC/B,wBAAwB,EACxB,sBAAsB,EACtB,kBAAkB,EAClB,2BAA2B,EAC3B,oCAAoC,EACpC,gCAAgC,EAChC,6BAA6B,EAC7B,kBAAkB,EAClB,cAAc,EACd,wBAAwB,EACxB,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,iCAAiC,EACjC,6BAA6B,EAC7B,4BAA4B,EAC5B,qBAAqB,EACrB,2BAA2B,EAC3B,uBAAuB,EACvB,oBAAoB,EACpB,yBAAyB,EACzB,aAAa,EACb,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,cAAc,EACd,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,KAAK,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACnB,wBAAwB,EACxB,6BAA6B,EAC7B,gBAAgB,EAChB,qBAAqB,EACrB,0BAA0B,EAC1B,qBAAqB,EACrB,gBAAgB,EAChB,yBAAyB,EACzB,oBAAoB,EACpB,iBAAiB,EACjB,+BAA+B,EAC/B,0BAA0B,EAC1B,wCAAwC,EACxC,mCAAmC,EACnC,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,yBAAyB,EACzB,YAAY,EACZ,sBAAsB,EACtB,0BAA0B,EAC1B,SAAS,EACT,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,uBAAuB,EACvB,wBAAwB,EACxB,gBAAgB,EAChB,qBAAqB,EACrB,wBAAwB,EACxB,+BAA+B,EAC/B,QAAQ,EACR,oBAAoB,EACpB,uBAAuB,EACvB,kBAAkB,EAClB,WAAW,EACX,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,wBAAwB,EACxB,8BAA8B,EAC9B,cAAc,EACd,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,0BAA0B,EAC1B,gCAAgC,EAChC,6BAA6B,EAC7B,iCAAiC,EACjC,8BAA8B,EAC9B,6BAA6B,EAC7B,0BAA0B,EAC1B,uBAAuB,EACvB,uBAAuB,EACvB,UAAU,EACV,OAAO,EACP,WAAW,EACX,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,6BAA6B,EAC7B,+BAA+B,EAC/B,sBAAsB,EACtB,eAAe,EACf,oBAAoB,EACpB,8BAA8B,EAC9B,qCAAqC,EACrC,oCAAoC,EACpC,yCAAyC,EACzC,+BAA+B,EAC/B,iCAAiC,EACjC,oCAAoC,EACpC,yBAAyB,EACzB,gCAAgC,EAChC,+BAA+B,EAC/B,yBAAyB,EACzB,4BAA4B,EAC5B,4BAA4B,EAC5B,yBAAyB,EACzB,8BAA8B,EAC9B,+BAA+B,EAC/B,uBAAuB,EACvB,8BAA8B,EAC9B,sBAAsB,EACtB,YAAY,EACZ,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,QAAQ,EACR,WAAW,EACX,SAAS,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,mBAAmB,CAAC;AAC3B,OAAO,EACL,0BAA0B,EAC1B,gCAAgC,EAChC,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,EACpB,cAAc,GACf,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,6BAA6B,EAC7B,4BAA4B,GAC7B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,mCAAmC,EACnC,gCAAgC,EAChC,kCAAkC,EAClC,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,2BAA2B,EAC3B,wCAAwC,EACxC,2BAA2B,EAC3B,wBAAwB,EACxB,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kCAAkC,EAClC,gCAAgC,GACjC,MAAM,yBAAyB,CAAC;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"}
|