@azure/search-documents 13.0.0 → 13.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.d.ts +5 -5
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +3 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/indexModels.d.ts +35 -1
- package/dist/browser/indexModels.d.ts.map +1 -1
- package/dist/browser/indexModels.js.map +1 -1
- package/dist/browser/knowledgeBaseModels.d.ts +27 -1
- package/dist/browser/knowledgeBaseModels.d.ts.map +1 -1
- package/dist/browser/knowledgeBaseModels.js.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/operations.js +4 -1
- package/dist/browser/knowledgeBaseRetrieval/api/operations.js.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/options.d.ts +2 -0
- package/dist/browser/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/options.js.map +1 -1
- package/dist/browser/models/azure/search/documents/index.d.ts +2 -2
- package/dist/browser/models/azure/search/documents/index.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/index.js +1 -1
- package/dist/browser/models/azure/search/documents/index.js.map +1 -1
- package/dist/browser/models/azure/search/documents/indexes/index.d.ts +2 -2
- package/dist/browser/models/azure/search/documents/indexes/index.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/indexes/index.js +1 -1
- package/dist/browser/models/azure/search/documents/indexes/index.js.map +1 -1
- package/dist/browser/models/azure/search/documents/indexes/models.d.ts +994 -155
- package/dist/browser/models/azure/search/documents/indexes/models.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/indexes/models.js +1267 -159
- package/dist/browser/models/azure/search/documents/indexes/models.js.map +1 -1
- package/dist/browser/models/azure/search/documents/knowledgeBases/index.d.ts +2 -2
- package/dist/browser/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/knowledgeBases/index.js +1 -1
- package/dist/browser/models/azure/search/documents/knowledgeBases/index.js.map +1 -1
- package/dist/browser/models/azure/search/documents/knowledgeBases/models.d.ts +716 -96
- package/dist/browser/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/knowledgeBases/models.js +899 -77
- package/dist/browser/models/azure/search/documents/knowledgeBases/models.js.map +1 -1
- package/dist/browser/models/azure/search/documents/models.d.ts +467 -3
- package/dist/browser/models/azure/search/documents/models.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/models.js +435 -7
- package/dist/browser/models/azure/search/documents/models.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -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 +37 -2
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +29 -1
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/search/api/operations.d.ts.map +1 -1
- package/dist/browser/search/api/operations.js +48 -11
- package/dist/browser/search/api/operations.js.map +1 -1
- package/dist/browser/search/api/options.d.ts +31 -1
- package/dist/browser/search/api/options.d.ts.map +1 -1
- package/dist/browser/search/api/options.js.map +1 -1
- package/dist/browser/search/api/searchContext.js +1 -1
- package/dist/browser/search/api/searchContext.js.map +1 -1
- package/dist/browser/searchClient.d.ts +1 -0
- package/dist/browser/searchClient.d.ts.map +1 -1
- package/dist/browser/searchClient.js +12 -1
- package/dist/browser/searchClient.js.map +1 -1
- package/dist/browser/searchIndex/api/index.d.ts +2 -2
- package/dist/browser/searchIndex/api/index.d.ts.map +1 -1
- package/dist/browser/searchIndex/api/index.js +1 -1
- package/dist/browser/searchIndex/api/index.js.map +1 -1
- package/dist/browser/searchIndex/api/operations.d.ts +18 -2
- package/dist/browser/searchIndex/api/operations.d.ts.map +1 -1
- package/dist/browser/searchIndex/api/operations.js +200 -38
- package/dist/browser/searchIndex/api/operations.js.map +1 -1
- package/dist/browser/searchIndex/api/options.d.ts +46 -0
- package/dist/browser/searchIndex/api/options.d.ts.map +1 -1
- package/dist/browser/searchIndex/api/options.js.map +1 -1
- package/dist/browser/searchIndex/api/searchIndexContext.js +1 -1
- package/dist/browser/searchIndex/api/searchIndexContext.js.map +1 -1
- package/dist/browser/searchIndex/index.d.ts +1 -1
- package/dist/browser/searchIndex/index.d.ts.map +1 -1
- package/dist/browser/searchIndex/index.js.map +1 -1
- package/dist/browser/searchIndex/searchIndexClient.d.ts +10 -2
- package/dist/browser/searchIndex/searchIndexClient.d.ts.map +1 -1
- package/dist/browser/searchIndex/searchIndexClient.js +17 -1
- package/dist/browser/searchIndex/searchIndexClient.js.map +1 -1
- package/dist/browser/searchIndexClient.d.ts +29 -2
- package/dist/browser/searchIndexClient.d.ts.map +1 -1
- package/dist/browser/searchIndexClient.js +38 -0
- package/dist/browser/searchIndexClient.js.map +1 -1
- package/dist/browser/searchIndexer/api/index.d.ts +2 -2
- package/dist/browser/searchIndexer/api/index.d.ts.map +1 -1
- package/dist/browser/searchIndexer/api/index.js +1 -1
- package/dist/browser/searchIndexer/api/index.js.map +1 -1
- package/dist/browser/searchIndexer/api/operations.d.ts +14 -2
- package/dist/browser/searchIndexer/api/operations.d.ts.map +1 -1
- package/dist/browser/searchIndexer/api/operations.js +144 -22
- package/dist/browser/searchIndexer/api/operations.js.map +1 -1
- package/dist/browser/searchIndexer/api/options.d.ts +36 -0
- package/dist/browser/searchIndexer/api/options.d.ts.map +1 -1
- package/dist/browser/searchIndexer/api/options.js.map +1 -1
- package/dist/browser/searchIndexer/api/searchIndexerContext.js +1 -1
- package/dist/browser/searchIndexer/api/searchIndexerContext.js.map +1 -1
- package/dist/browser/searchIndexer/index.d.ts +1 -1
- package/dist/browser/searchIndexer/index.d.ts.map +1 -1
- package/dist/browser/searchIndexer/index.js.map +1 -1
- package/dist/browser/searchIndexer/searchIndexerClient.d.ts +8 -2
- package/dist/browser/searchIndexer/searchIndexerClient.d.ts.map +1 -1
- package/dist/browser/searchIndexer/searchIndexerClient.js +13 -1
- package/dist/browser/searchIndexer/searchIndexerClient.js.map +1 -1
- package/dist/browser/searchIndexerClient.d.ts +21 -1
- package/dist/browser/searchIndexerClient.d.ts.map +1 -1
- package/dist/browser/searchIndexerClient.js +40 -0
- package/dist/browser/searchIndexerClient.js.map +1 -1
- package/dist/browser/searchIndexingBufferedSender.js +1 -1
- package/dist/browser/searchIndexingBufferedSender.js.map +1 -1
- package/dist/browser/serviceModels.d.ts +251 -4
- package/dist/browser/serviceModels.d.ts.map +1 -1
- package/dist/browser/serviceModels.js.map +1 -1
- package/dist/browser/serviceUtils.d.ts +1 -1
- package/dist/browser/serviceUtils.d.ts.map +1 -1
- package/dist/browser/serviceUtils.js +32 -1
- package/dist/browser/serviceUtils.js.map +1 -1
- package/dist/commonjs/index.d.ts +5 -5
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +29 -0
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/indexModels.d.ts +35 -1
- package/dist/commonjs/indexModels.d.ts.map +1 -1
- package/dist/commonjs/indexModels.js.map +1 -1
- package/dist/commonjs/knowledgeBaseModels.d.ts +27 -1
- package/dist/commonjs/knowledgeBaseModels.d.ts.map +1 -1
- package/dist/commonjs/knowledgeBaseModels.js.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/operations.js +2 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/operations.js.map +2 -2
- package/dist/commonjs/knowledgeBaseRetrieval/api/options.d.ts +2 -0
- package/dist/commonjs/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/options.js.map +1 -1
- package/dist/commonjs/models/azure/search/documents/index.d.ts +2 -2
- package/dist/commonjs/models/azure/search/documents/index.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/index.js +16 -2
- package/dist/commonjs/models/azure/search/documents/index.js.map +2 -2
- package/dist/commonjs/models/azure/search/documents/indexes/index.d.ts +2 -2
- package/dist/commonjs/models/azure/search/documents/indexes/index.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/indexes/index.js +24 -0
- package/dist/commonjs/models/azure/search/documents/indexes/index.js.map +2 -2
- package/dist/commonjs/models/azure/search/documents/indexes/models.d.ts +994 -155
- package/dist/commonjs/models/azure/search/documents/indexes/models.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/indexes/models.js +1334 -166
- package/dist/commonjs/models/azure/search/documents/indexes/models.js.map +3 -3
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.d.ts +2 -2
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.js +2 -0
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.js.map +2 -2
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.d.ts +716 -96
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.js +995 -90
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.js.map +3 -3
- package/dist/commonjs/models/azure/search/documents/models.d.ts +467 -3
- package/dist/commonjs/models/azure/search/documents/models.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/models.js +360 -13
- package/dist/commonjs/models/azure/search/documents/models.js.map +3 -3
- package/dist/commonjs/models/index.d.ts +2 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -0
- package/dist/commonjs/models/index.js.map +2 -2
- package/dist/commonjs/models/models.d.ts +37 -2
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +32 -3
- package/dist/commonjs/models/models.js.map +3 -3
- package/dist/commonjs/search/api/operations.d.ts.map +1 -1
- package/dist/commonjs/search/api/operations.js +33 -12
- package/dist/commonjs/search/api/operations.js.map +2 -2
- package/dist/commonjs/search/api/options.d.ts +31 -1
- package/dist/commonjs/search/api/options.d.ts.map +1 -1
- package/dist/commonjs/search/api/options.js.map +1 -1
- package/dist/commonjs/search/api/searchContext.js +1 -1
- package/dist/commonjs/search/api/searchContext.js.map +1 -1
- package/dist/commonjs/searchClient.d.ts +1 -0
- package/dist/commonjs/searchClient.d.ts.map +1 -1
- package/dist/commonjs/searchClient.js +12 -0
- package/dist/commonjs/searchClient.js.map +2 -2
- package/dist/commonjs/searchIndex/api/index.d.ts +2 -2
- package/dist/commonjs/searchIndex/api/index.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/api/index.js +10 -2
- package/dist/commonjs/searchIndex/api/index.js.map +2 -2
- package/dist/commonjs/searchIndex/api/operations.d.ts +18 -2
- package/dist/commonjs/searchIndex/api/operations.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/api/operations.js +242 -40
- package/dist/commonjs/searchIndex/api/operations.js.map +2 -2
- package/dist/commonjs/searchIndex/api/options.d.ts +46 -0
- package/dist/commonjs/searchIndex/api/options.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/api/options.js.map +1 -1
- package/dist/commonjs/searchIndex/api/searchIndexContext.js +1 -1
- package/dist/commonjs/searchIndex/api/searchIndexContext.js.map +1 -1
- package/dist/commonjs/searchIndex/index.d.ts +1 -1
- package/dist/commonjs/searchIndex/index.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/index.js.map +1 -1
- package/dist/commonjs/searchIndex/searchIndexClient.d.ts +10 -2
- package/dist/commonjs/searchIndex/searchIndexClient.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/searchIndexClient.js +16 -0
- package/dist/commonjs/searchIndex/searchIndexClient.js.map +2 -2
- package/dist/commonjs/searchIndexClient.d.ts +29 -2
- package/dist/commonjs/searchIndexClient.d.ts.map +1 -1
- package/dist/commonjs/searchIndexClient.js +51 -0
- package/dist/commonjs/searchIndexClient.js.map +2 -2
- package/dist/commonjs/searchIndexer/api/index.d.ts +2 -2
- package/dist/commonjs/searchIndexer/api/index.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/api/index.js +6 -0
- package/dist/commonjs/searchIndexer/api/index.js.map +2 -2
- package/dist/commonjs/searchIndexer/api/operations.d.ts +14 -2
- package/dist/commonjs/searchIndexer/api/operations.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/api/operations.js +156 -21
- package/dist/commonjs/searchIndexer/api/operations.js.map +2 -2
- package/dist/commonjs/searchIndexer/api/options.d.ts +36 -0
- package/dist/commonjs/searchIndexer/api/options.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/api/options.js.map +1 -1
- package/dist/commonjs/searchIndexer/api/searchIndexerContext.js +1 -1
- package/dist/commonjs/searchIndexer/api/searchIndexerContext.js.map +1 -1
- package/dist/commonjs/searchIndexer/index.d.ts +1 -1
- package/dist/commonjs/searchIndexer/index.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/index.js.map +1 -1
- package/dist/commonjs/searchIndexer/searchIndexerClient.d.ts +8 -2
- package/dist/commonjs/searchIndexer/searchIndexerClient.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/searchIndexerClient.js +12 -0
- package/dist/commonjs/searchIndexer/searchIndexerClient.js.map +2 -2
- package/dist/commonjs/searchIndexerClient.d.ts +21 -1
- package/dist/commonjs/searchIndexerClient.d.ts.map +1 -1
- package/dist/commonjs/searchIndexerClient.js +50 -0
- package/dist/commonjs/searchIndexerClient.js.map +2 -2
- package/dist/commonjs/searchIndexingBufferedSender.js +2 -12
- package/dist/commonjs/searchIndexingBufferedSender.js.map +3 -3
- package/dist/commonjs/serviceModels.d.ts +251 -4
- package/dist/commonjs/serviceModels.d.ts.map +1 -1
- package/dist/commonjs/serviceModels.js.map +2 -2
- package/dist/commonjs/serviceUtils.d.ts +1 -1
- package/dist/commonjs/serviceUtils.d.ts.map +1 -1
- package/dist/commonjs/serviceUtils.js +34 -3
- package/dist/commonjs/serviceUtils.js.map +2 -2
- package/dist/esm/index.d.ts +5 -5
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/indexModels.d.ts +35 -1
- package/dist/esm/indexModels.d.ts.map +1 -1
- package/dist/esm/indexModels.js.map +1 -1
- package/dist/esm/knowledgeBaseModels.d.ts +27 -1
- package/dist/esm/knowledgeBaseModels.d.ts.map +1 -1
- package/dist/esm/knowledgeBaseModels.js.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/operations.js +4 -1
- package/dist/esm/knowledgeBaseRetrieval/api/operations.js.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/options.d.ts +2 -0
- package/dist/esm/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/options.js.map +1 -1
- package/dist/esm/models/azure/search/documents/index.d.ts +2 -2
- package/dist/esm/models/azure/search/documents/index.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/index.js +1 -1
- package/dist/esm/models/azure/search/documents/index.js.map +1 -1
- package/dist/esm/models/azure/search/documents/indexes/index.d.ts +2 -2
- package/dist/esm/models/azure/search/documents/indexes/index.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/indexes/index.js +1 -1
- package/dist/esm/models/azure/search/documents/indexes/index.js.map +1 -1
- package/dist/esm/models/azure/search/documents/indexes/models.d.ts +994 -155
- package/dist/esm/models/azure/search/documents/indexes/models.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/indexes/models.js +1267 -159
- package/dist/esm/models/azure/search/documents/indexes/models.js.map +1 -1
- package/dist/esm/models/azure/search/documents/knowledgeBases/index.d.ts +2 -2
- package/dist/esm/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/knowledgeBases/index.js +1 -1
- package/dist/esm/models/azure/search/documents/knowledgeBases/index.js.map +1 -1
- package/dist/esm/models/azure/search/documents/knowledgeBases/models.d.ts +716 -96
- package/dist/esm/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/knowledgeBases/models.js +899 -77
- package/dist/esm/models/azure/search/documents/knowledgeBases/models.js.map +1 -1
- package/dist/esm/models/azure/search/documents/models.d.ts +467 -3
- package/dist/esm/models/azure/search/documents/models.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/models.js +435 -7
- package/dist/esm/models/azure/search/documents/models.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -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 +37 -2
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +29 -1
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/search/api/operations.d.ts.map +1 -1
- package/dist/esm/search/api/operations.js +48 -11
- package/dist/esm/search/api/operations.js.map +1 -1
- package/dist/esm/search/api/options.d.ts +31 -1
- package/dist/esm/search/api/options.d.ts.map +1 -1
- package/dist/esm/search/api/options.js.map +1 -1
- package/dist/esm/search/api/searchContext.js +1 -1
- package/dist/esm/search/api/searchContext.js.map +1 -1
- package/dist/esm/searchClient.d.ts +1 -0
- package/dist/esm/searchClient.d.ts.map +1 -1
- package/dist/esm/searchClient.js +12 -1
- package/dist/esm/searchClient.js.map +1 -1
- package/dist/esm/searchIndex/api/index.d.ts +2 -2
- package/dist/esm/searchIndex/api/index.d.ts.map +1 -1
- package/dist/esm/searchIndex/api/index.js +1 -1
- package/dist/esm/searchIndex/api/index.js.map +1 -1
- package/dist/esm/searchIndex/api/operations.d.ts +18 -2
- package/dist/esm/searchIndex/api/operations.d.ts.map +1 -1
- package/dist/esm/searchIndex/api/operations.js +200 -38
- package/dist/esm/searchIndex/api/operations.js.map +1 -1
- package/dist/esm/searchIndex/api/options.d.ts +46 -0
- package/dist/esm/searchIndex/api/options.d.ts.map +1 -1
- package/dist/esm/searchIndex/api/options.js.map +1 -1
- package/dist/esm/searchIndex/api/searchIndexContext.js +1 -1
- package/dist/esm/searchIndex/api/searchIndexContext.js.map +1 -1
- package/dist/esm/searchIndex/index.d.ts +1 -1
- package/dist/esm/searchIndex/index.d.ts.map +1 -1
- package/dist/esm/searchIndex/index.js.map +1 -1
- package/dist/esm/searchIndex/searchIndexClient.d.ts +10 -2
- package/dist/esm/searchIndex/searchIndexClient.d.ts.map +1 -1
- package/dist/esm/searchIndex/searchIndexClient.js +17 -1
- package/dist/esm/searchIndex/searchIndexClient.js.map +1 -1
- package/dist/esm/searchIndexClient.d.ts +29 -2
- package/dist/esm/searchIndexClient.d.ts.map +1 -1
- package/dist/esm/searchIndexClient.js +38 -0
- package/dist/esm/searchIndexClient.js.map +1 -1
- package/dist/esm/searchIndexer/api/index.d.ts +2 -2
- package/dist/esm/searchIndexer/api/index.d.ts.map +1 -1
- package/dist/esm/searchIndexer/api/index.js +1 -1
- package/dist/esm/searchIndexer/api/index.js.map +1 -1
- package/dist/esm/searchIndexer/api/operations.d.ts +14 -2
- package/dist/esm/searchIndexer/api/operations.d.ts.map +1 -1
- package/dist/esm/searchIndexer/api/operations.js +144 -22
- package/dist/esm/searchIndexer/api/operations.js.map +1 -1
- package/dist/esm/searchIndexer/api/options.d.ts +36 -0
- package/dist/esm/searchIndexer/api/options.d.ts.map +1 -1
- package/dist/esm/searchIndexer/api/options.js.map +1 -1
- package/dist/esm/searchIndexer/api/searchIndexerContext.js +1 -1
- package/dist/esm/searchIndexer/api/searchIndexerContext.js.map +1 -1
- package/dist/esm/searchIndexer/index.d.ts +1 -1
- package/dist/esm/searchIndexer/index.d.ts.map +1 -1
- package/dist/esm/searchIndexer/index.js.map +1 -1
- package/dist/esm/searchIndexer/searchIndexerClient.d.ts +8 -2
- package/dist/esm/searchIndexer/searchIndexerClient.d.ts.map +1 -1
- package/dist/esm/searchIndexer/searchIndexerClient.js +13 -1
- package/dist/esm/searchIndexer/searchIndexerClient.js.map +1 -1
- package/dist/esm/searchIndexerClient.d.ts +21 -1
- package/dist/esm/searchIndexerClient.d.ts.map +1 -1
- package/dist/esm/searchIndexerClient.js +40 -0
- package/dist/esm/searchIndexerClient.js.map +1 -1
- package/dist/esm/searchIndexingBufferedSender.js +1 -1
- package/dist/esm/searchIndexingBufferedSender.js.map +1 -1
- package/dist/esm/serviceModels.d.ts +251 -4
- package/dist/esm/serviceModels.d.ts.map +1 -1
- package/dist/esm/serviceModels.js.map +1 -1
- package/dist/esm/serviceUtils.d.ts +1 -1
- package/dist/esm/serviceUtils.d.ts.map +1 -1
- package/dist/esm/serviceUtils.js +32 -1
- package/dist/esm/serviceUtils.js.map +1 -1
- package/dist/react-native/index.d.ts +5 -5
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +3 -2
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/indexModels.d.ts +35 -1
- package/dist/react-native/indexModels.d.ts.map +1 -1
- package/dist/react-native/indexModels.js.map +1 -1
- package/dist/react-native/knowledgeBaseModels.d.ts +27 -1
- package/dist/react-native/knowledgeBaseModels.d.ts.map +1 -1
- package/dist/react-native/knowledgeBaseModels.js.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/operations.js +4 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/operations.js.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/options.d.ts +2 -0
- package/dist/react-native/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/options.js.map +1 -1
- package/dist/react-native/models/azure/search/documents/index.d.ts +2 -2
- package/dist/react-native/models/azure/search/documents/index.d.ts.map +1 -1
- package/dist/react-native/models/azure/search/documents/index.js +1 -1
- package/dist/react-native/models/azure/search/documents/index.js.map +1 -1
- package/dist/react-native/models/azure/search/documents/indexes/index.d.ts +2 -2
- package/dist/react-native/models/azure/search/documents/indexes/index.d.ts.map +1 -1
- package/dist/react-native/models/azure/search/documents/indexes/index.js +1 -1
- package/dist/react-native/models/azure/search/documents/indexes/index.js.map +1 -1
- package/dist/react-native/models/azure/search/documents/indexes/models.d.ts +994 -155
- package/dist/react-native/models/azure/search/documents/indexes/models.d.ts.map +1 -1
- package/dist/react-native/models/azure/search/documents/indexes/models.js +1267 -159
- package/dist/react-native/models/azure/search/documents/indexes/models.js.map +1 -1
- package/dist/react-native/models/azure/search/documents/knowledgeBases/index.d.ts +2 -2
- package/dist/react-native/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
- package/dist/react-native/models/azure/search/documents/knowledgeBases/index.js +1 -1
- package/dist/react-native/models/azure/search/documents/knowledgeBases/index.js.map +1 -1
- package/dist/react-native/models/azure/search/documents/knowledgeBases/models.d.ts +716 -96
- package/dist/react-native/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
- package/dist/react-native/models/azure/search/documents/knowledgeBases/models.js +899 -77
- package/dist/react-native/models/azure/search/documents/knowledgeBases/models.js.map +1 -1
- package/dist/react-native/models/azure/search/documents/models.d.ts +467 -3
- package/dist/react-native/models/azure/search/documents/models.d.ts.map +1 -1
- package/dist/react-native/models/azure/search/documents/models.js +435 -7
- package/dist/react-native/models/azure/search/documents/models.js.map +1 -1
- package/dist/react-native/models/index.d.ts +2 -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 +37 -2
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +29 -1
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/search/api/operations.d.ts.map +1 -1
- package/dist/react-native/search/api/operations.js +48 -11
- package/dist/react-native/search/api/operations.js.map +1 -1
- package/dist/react-native/search/api/options.d.ts +31 -1
- package/dist/react-native/search/api/options.d.ts.map +1 -1
- package/dist/react-native/search/api/options.js.map +1 -1
- package/dist/react-native/search/api/searchContext.js +1 -1
- package/dist/react-native/search/api/searchContext.js.map +1 -1
- package/dist/react-native/searchClient.d.ts +1 -0
- package/dist/react-native/searchClient.d.ts.map +1 -1
- package/dist/react-native/searchClient.js +12 -1
- package/dist/react-native/searchClient.js.map +1 -1
- package/dist/react-native/searchIndex/api/index.d.ts +2 -2
- package/dist/react-native/searchIndex/api/index.d.ts.map +1 -1
- package/dist/react-native/searchIndex/api/index.js +1 -1
- package/dist/react-native/searchIndex/api/index.js.map +1 -1
- package/dist/react-native/searchIndex/api/operations.d.ts +18 -2
- package/dist/react-native/searchIndex/api/operations.d.ts.map +1 -1
- package/dist/react-native/searchIndex/api/operations.js +200 -38
- package/dist/react-native/searchIndex/api/operations.js.map +1 -1
- package/dist/react-native/searchIndex/api/options.d.ts +46 -0
- package/dist/react-native/searchIndex/api/options.d.ts.map +1 -1
- package/dist/react-native/searchIndex/api/options.js.map +1 -1
- package/dist/react-native/searchIndex/api/searchIndexContext.js +1 -1
- package/dist/react-native/searchIndex/api/searchIndexContext.js.map +1 -1
- package/dist/react-native/searchIndex/index.d.ts +1 -1
- package/dist/react-native/searchIndex/index.d.ts.map +1 -1
- package/dist/react-native/searchIndex/index.js.map +1 -1
- package/dist/react-native/searchIndex/searchIndexClient.d.ts +10 -2
- package/dist/react-native/searchIndex/searchIndexClient.d.ts.map +1 -1
- package/dist/react-native/searchIndex/searchIndexClient.js +17 -1
- package/dist/react-native/searchIndex/searchIndexClient.js.map +1 -1
- package/dist/react-native/searchIndexClient.d.ts +29 -2
- package/dist/react-native/searchIndexClient.d.ts.map +1 -1
- package/dist/react-native/searchIndexClient.js +38 -0
- package/dist/react-native/searchIndexClient.js.map +1 -1
- package/dist/react-native/searchIndexer/api/index.d.ts +2 -2
- package/dist/react-native/searchIndexer/api/index.d.ts.map +1 -1
- package/dist/react-native/searchIndexer/api/index.js +1 -1
- package/dist/react-native/searchIndexer/api/index.js.map +1 -1
- package/dist/react-native/searchIndexer/api/operations.d.ts +14 -2
- package/dist/react-native/searchIndexer/api/operations.d.ts.map +1 -1
- package/dist/react-native/searchIndexer/api/operations.js +144 -22
- package/dist/react-native/searchIndexer/api/operations.js.map +1 -1
- package/dist/react-native/searchIndexer/api/options.d.ts +36 -0
- package/dist/react-native/searchIndexer/api/options.d.ts.map +1 -1
- package/dist/react-native/searchIndexer/api/options.js.map +1 -1
- package/dist/react-native/searchIndexer/api/searchIndexerContext.js +1 -1
- package/dist/react-native/searchIndexer/api/searchIndexerContext.js.map +1 -1
- package/dist/react-native/searchIndexer/index.d.ts +1 -1
- package/dist/react-native/searchIndexer/index.d.ts.map +1 -1
- package/dist/react-native/searchIndexer/index.js.map +1 -1
- package/dist/react-native/searchIndexer/searchIndexerClient.d.ts +8 -2
- package/dist/react-native/searchIndexer/searchIndexerClient.d.ts.map +1 -1
- package/dist/react-native/searchIndexer/searchIndexerClient.js +13 -1
- package/dist/react-native/searchIndexer/searchIndexerClient.js.map +1 -1
- package/dist/react-native/searchIndexerClient.d.ts +21 -1
- package/dist/react-native/searchIndexerClient.d.ts.map +1 -1
- package/dist/react-native/searchIndexerClient.js +40 -0
- package/dist/react-native/searchIndexerClient.js.map +1 -1
- package/dist/react-native/searchIndexingBufferedSender.js +1 -1
- package/dist/react-native/searchIndexingBufferedSender.js.map +1 -1
- package/dist/react-native/serviceModels.d.ts +251 -4
- package/dist/react-native/serviceModels.d.ts.map +1 -1
- package/dist/react-native/serviceModels.js.map +1 -1
- package/dist/react-native/serviceUtils.d.ts +1 -1
- package/dist/react-native/serviceUtils.d.ts.map +1 -1
- package/dist/react-native/serviceUtils.js +32 -1
- package/dist/react-native/serviceUtils.js.map +1 -1
- package/package.json +11 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/searchIndex/api/options.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,2BAA2B;AAC3B,MAAM,WAAW,kCAAmC,SAAQ,gBAAgB;IAC1E,yBAAyB;IACzB,MAAM,CAAC,EAAE,yCAAyC,CAAC;IACnD,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,2BAA2B;AAC3B,MAAM,WAAW,sCAAuC,SAAQ,gBAAgB;IAC9E,yBAAyB;IACzB,MAAM,CAAC,EAAE,yCAAyC,CAAC;IACnD,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,2BAA2B;AAC3B,MAAM,WAAW,mCAAoC,SAAQ,gBAAgB;IAC3E,yBAAyB;IACzB,MAAM,CAAC,EAAE,yCAAyC,CAAC;IACnD,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,2BAA2B;AAC3B,MAAM,WAAW,kCAAmC,SAAQ,gBAAgB;IAC1E,yBAAyB;IACzB,MAAM,CAAC,EAAE,yCAAyC,CAAC;IACnD,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAA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,WAAW,2BAA4B,SAAQ,gBAAgB;IACnE,yBAAyB;IACzB,MAAM,CAAC,EAAE,yCAAyC,CAAC;IACnD,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,2BAA2B;AAC3B,MAAM,WAAW,8BAA+B,SAAQ,gBAAgB;IACtE,yBAAyB;IACzB,MAAM,CAAC,EAAE,yCAAyC,CAAC;IACnD,yHAAyH;IACzH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qIAAqI;IACrI,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,2BAA2B;AAC3B,MAAM,WAAW,sCAAuC,SAAQ,gBAAgB;IAC9E,yBAAyB;IACzB,MAAM,CAAC,EAAE,yCAAyC,CAAC;IACnD,yHAAyH;IACzH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qIAAqI;IACrI,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/searchIndex/api/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface GetServiceStatisticsOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetKnowledgeSourceStatusOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateKnowledgeSourceOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface ListKnowledgeSourcesOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetKnowledgeSourceOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface DeleteKnowledgeSourceOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateOrUpdateKnowledgeSourceOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateKnowledgeBaseOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface ListKnowledgeBasesOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetKnowledgeBaseOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface DeleteKnowledgeBaseOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateOrUpdateKnowledgeBaseOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateAliasOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface ListAliasesOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetAliasOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface DeleteAliasOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateOrUpdateAliasOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface AnalyzeTextOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetIndexStatisticsOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateIndexOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface ListIndexesWithSelectedPropertiesOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties. */\n select?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface ListIndexesOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetIndexOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface DeleteIndexOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateOrUpdateIndexOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** Allows new analyzers, tokenizers, token filters, or char filters to be added to an index by taking the index offline for at least a few seconds. This temporarily causes indexing and query requests to fail. Performance and write availability of the index can be impaired for several minutes after the index is updated, or longer for very large indexes. */\n allowIndexDowntime?: boolean;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateSynonymMapOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetSynonymMapsOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties. */\n select?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetSynonymMapOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface DeleteSynonymMapOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateOrUpdateSynonymMapOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/searchIndex/api/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface ListIndexStatsSummaryOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** The number of items to retrieve. Default is 50, maximum is 1000. */\n top?: number;\n /** The number of items to skip. */\n skip?: number;\n /** A value that specifies whether to fetch the total count of items. Default is false. */\n count?: boolean;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetServiceStatisticsOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetKnowledgeSourceStatusOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface UploadKnowledgeSourceFileOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface ListKnowledgeSourceFilesOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface DeleteKnowledgeSourceFileOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateKnowledgeSourceOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface ListKnowledgeSourcesOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetKnowledgeSourceOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface DeleteKnowledgeSourceOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateOrUpdateKnowledgeSourceOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateKnowledgeBaseOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface ListKnowledgeBasesOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetKnowledgeBaseOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface DeleteKnowledgeBaseOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateOrUpdateKnowledgeBaseOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateAliasOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface ListAliasesOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetAliasOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface DeleteAliasOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateOrUpdateAliasOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface AnalyzeTextOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetIndexStatisticsOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateIndexOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface ListIndexesWithSelectedPropertiesOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties. */\n select?: string;\n /** The number of items to retrieve. Default is 50, maximum is 1000. */\n top?: number;\n /** The number of items to skip. */\n skip?: number;\n /** A value that specifies whether to fetch the total count of items. Default is false. */\n count?: boolean;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface ListIndexesOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** The number of items to retrieve. Default is 50, maximum is 1000. */\n top?: number;\n /** The number of items to skip. */\n skip?: number;\n /** A value that specifies whether to fetch the total count of items. Default is false. */\n count?: boolean;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetIndexOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface DeleteIndexOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateOrUpdateIndexOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** Allows new analyzers, tokenizers, token filters, or char filters to be added to an index by taking the index offline for at least a few seconds. This temporarily causes indexing and query requests to fail. Performance and write availability of the index can be impaired for several minutes after the index is updated, or longer for very large indexes. */\n allowIndexDowntime?: boolean;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateSynonymMapOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetSynonymMapsOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties. */\n select?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface GetSynonymMapOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface DeleteSynonymMapOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n\n/** Optional parameters. */\nexport interface CreateOrUpdateSynonymMapOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value. */\n ifMatch?: string;\n /** Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value. */\n ifNoneMatch?: string;\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n"]}
|
|
@@ -5,7 +5,7 @@ import { getClient } from "@azure-rest/core-client";
|
|
|
5
5
|
export function createSearchIndex(endpointParam, credential, options = {}) {
|
|
6
6
|
const endpointUrl = options.endpoint ?? String(endpointParam);
|
|
7
7
|
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
8
|
-
const userAgentInfo = `azsdk-js-search-documents/13.0.
|
|
8
|
+
const userAgentInfo = `azsdk-js-search-documents/13.1.0-beta.1`;
|
|
9
9
|
const userAgentPrefix = prefixFromOptions
|
|
10
10
|
? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
|
|
11
11
|
: `azsdk-js-api ${userAgentInfo}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchIndexContext.js","sourceRoot":"","sources":["../../../../src/searchIndex/api/searchIndexContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAGzC,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAgBpD,MAAM,UAAU,iBAAiB,CAC/B,aAAqB,EACrB,UAA2C,EAC3C,UAA2C,EAAE;IAE7C,MAAM,WAAW,GAAG,OAAO,CAAC,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AAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;IACtC,OAAO,EAAE,GAAG,aAAa,EAAE,UAAU,EAAwB,CAAC;AAChE,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../../logger.js\";\nimport { KnownVersions } from \"../../models/models.js\";\nimport type { Client, ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport type { KeyCredential, TokenCredential } from \"@azure/core-auth\";\n\nexport interface SearchIndexContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** Optional parameters for the client. */\nexport interface SearchIndexClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\nexport function createSearchIndex(\n endpointParam: string,\n credential: KeyCredential | TokenCredential,\n options: SearchIndexClientOptionalParams = {},\n): SearchIndexContext {\n const endpointUrl = options.endpoint ?? String(endpointParam);\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-search-documents/13.1.0-beta.1`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://search.azure.com/.default\"],\n apiKeyHeaderName: options.credentials?.apiKeyHeaderName ?? \"api-key\",\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n const apiVersion = options.apiVersion;\n return { ...clientContext, apiVersion } as SearchIndexContext;\n}\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { SearchIndexClient } from "./searchIndexClient.js";
|
|
2
|
-
export type { GetServiceStatisticsOptionalParams, GetKnowledgeSourceStatusOptionalParams, CreateKnowledgeSourceOptionalParams, ListKnowledgeSourcesOptionalParams, GetKnowledgeSourceOptionalParams, DeleteKnowledgeSourceOptionalParams, CreateOrUpdateKnowledgeSourceOptionalParams, CreateKnowledgeBaseOptionalParams, ListKnowledgeBasesOptionalParams, GetKnowledgeBaseOptionalParams, DeleteKnowledgeBaseOptionalParams, CreateOrUpdateKnowledgeBaseOptionalParams, CreateAliasOptionalParams, ListAliasesOptionalParams, GetAliasOptionalParams, DeleteAliasOptionalParams, CreateOrUpdateAliasOptionalParams, AnalyzeTextOptionalParams, GetIndexStatisticsOptionalParams, CreateIndexOptionalParams, ListIndexesWithSelectedPropertiesOptionalParams, ListIndexesOptionalParams, GetIndexOptionalParams, DeleteIndexOptionalParams, CreateOrUpdateIndexOptionalParams, CreateSynonymMapOptionalParams, GetSynonymMapsOptionalParams, GetSynonymMapOptionalParams, DeleteSynonymMapOptionalParams, CreateOrUpdateSynonymMapOptionalParams, SearchIndexContext, SearchIndexClientOptionalParams, } from "./api/index.js";
|
|
2
|
+
export type { ListIndexStatsSummaryOptionalParams, GetServiceStatisticsOptionalParams, GetKnowledgeSourceStatusOptionalParams, CreateKnowledgeSourceOptionalParams, ListKnowledgeSourcesOptionalParams, GetKnowledgeSourceOptionalParams, DeleteKnowledgeSourceOptionalParams, CreateOrUpdateKnowledgeSourceOptionalParams, CreateKnowledgeBaseOptionalParams, ListKnowledgeBasesOptionalParams, GetKnowledgeBaseOptionalParams, DeleteKnowledgeBaseOptionalParams, CreateOrUpdateKnowledgeBaseOptionalParams, CreateAliasOptionalParams, ListAliasesOptionalParams, GetAliasOptionalParams, DeleteAliasOptionalParams, CreateOrUpdateAliasOptionalParams, AnalyzeTextOptionalParams, GetIndexStatisticsOptionalParams, CreateIndexOptionalParams, ListIndexesWithSelectedPropertiesOptionalParams, ListIndexesOptionalParams, GetIndexOptionalParams, DeleteIndexOptionalParams, CreateOrUpdateIndexOptionalParams, CreateSynonymMapOptionalParams, GetSynonymMapsOptionalParams, GetSynonymMapOptionalParams, DeleteSynonymMapOptionalParams, CreateOrUpdateSynonymMapOptionalParams, SearchIndexContext, SearchIndexClientOptionalParams, } from "./api/index.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/searchIndex/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,YAAY,EACV,kCAAkC,EAClC,sCAAsC,EACtC,mCAAmC,EACnC,kCAAkC,EAClC,gCAAgC,EAChC,mCAAmC,EACnC,2CAA2C,EAC3C,iCAAiC,EACjC,gCAAgC,EAChC,8BAA8B,EAC9B,iCAAiC,EACjC,yCAAyC,EACzC,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,yBAAyB,EACzB,iCAAiC,EACjC,yBAAyB,EACzB,gCAAgC,EAChC,yBAAyB,EACzB,+CAA+C,EAC/C,yBAAyB,EACzB,sBAAsB,EACtB,yBAAyB,EACzB,iCAAiC,EACjC,8BAA8B,EAC9B,4BAA4B,EAC5B,2BAA2B,EAC3B,8BAA8B,EAC9B,sCAAsC,EACtC,kBAAkB,EAClB,+BAA+B,GAChC,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/searchIndex/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,YAAY,EACV,mCAAmC,EACnC,kCAAkC,EAClC,sCAAsC,EACtC,mCAAmC,EACnC,kCAAkC,EAClC,gCAAgC,EAChC,mCAAmC,EACnC,2CAA2C,EAC3C,iCAAiC,EACjC,gCAAgC,EAChC,8BAA8B,EAC9B,iCAAiC,EACjC,yCAAyC,EACzC,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,yBAAyB,EACzB,iCAAiC,EACjC,yBAAyB,EACzB,gCAAgC,EAChC,yBAAyB,EACzB,+CAA+C,EAC/C,yBAAyB,EACzB,sBAAsB,EACtB,yBAAyB,EACzB,iCAAiC,EACjC,8BAA8B,EAC9B,4BAA4B,EAC5B,2BAA2B,EAC3B,8BAA8B,EAC9B,sCAAsC,EACtC,kBAAkB,EAClB,+BAA+B,GAChC,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/searchIndex/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { SearchIndexClient } from \"./searchIndexClient.js\";\nexport type {\n GetServiceStatisticsOptionalParams,\n GetKnowledgeSourceStatusOptionalParams,\n CreateKnowledgeSourceOptionalParams,\n ListKnowledgeSourcesOptionalParams,\n GetKnowledgeSourceOptionalParams,\n DeleteKnowledgeSourceOptionalParams,\n CreateOrUpdateKnowledgeSourceOptionalParams,\n CreateKnowledgeBaseOptionalParams,\n ListKnowledgeBasesOptionalParams,\n GetKnowledgeBaseOptionalParams,\n DeleteKnowledgeBaseOptionalParams,\n CreateOrUpdateKnowledgeBaseOptionalParams,\n CreateAliasOptionalParams,\n ListAliasesOptionalParams,\n GetAliasOptionalParams,\n DeleteAliasOptionalParams,\n CreateOrUpdateAliasOptionalParams,\n AnalyzeTextOptionalParams,\n GetIndexStatisticsOptionalParams,\n CreateIndexOptionalParams,\n ListIndexesWithSelectedPropertiesOptionalParams,\n ListIndexesOptionalParams,\n GetIndexOptionalParams,\n DeleteIndexOptionalParams,\n CreateOrUpdateIndexOptionalParams,\n CreateSynonymMapOptionalParams,\n GetSynonymMapsOptionalParams,\n GetSynonymMapOptionalParams,\n DeleteSynonymMapOptionalParams,\n CreateOrUpdateSynonymMapOptionalParams,\n SearchIndexContext,\n SearchIndexClientOptionalParams,\n} from \"./api/index.js\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/searchIndex/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { SearchIndexClient } from \"./searchIndexClient.js\";\nexport type {\n ListIndexStatsSummaryOptionalParams,\n GetServiceStatisticsOptionalParams,\n GetKnowledgeSourceStatusOptionalParams,\n CreateKnowledgeSourceOptionalParams,\n ListKnowledgeSourcesOptionalParams,\n GetKnowledgeSourceOptionalParams,\n DeleteKnowledgeSourceOptionalParams,\n CreateOrUpdateKnowledgeSourceOptionalParams,\n CreateKnowledgeBaseOptionalParams,\n ListKnowledgeBasesOptionalParams,\n GetKnowledgeBaseOptionalParams,\n DeleteKnowledgeBaseOptionalParams,\n CreateOrUpdateKnowledgeBaseOptionalParams,\n CreateAliasOptionalParams,\n ListAliasesOptionalParams,\n GetAliasOptionalParams,\n DeleteAliasOptionalParams,\n CreateOrUpdateAliasOptionalParams,\n AnalyzeTextOptionalParams,\n GetIndexStatisticsOptionalParams,\n CreateIndexOptionalParams,\n ListIndexesWithSelectedPropertiesOptionalParams,\n ListIndexesOptionalParams,\n GetIndexOptionalParams,\n DeleteIndexOptionalParams,\n CreateOrUpdateIndexOptionalParams,\n CreateSynonymMapOptionalParams,\n GetSynonymMapsOptionalParams,\n GetSynonymMapOptionalParams,\n DeleteSynonymMapOptionalParams,\n CreateOrUpdateSynonymMapOptionalParams,\n SearchIndexContext,\n SearchIndexClientOptionalParams,\n} from \"./api/index.js\";\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { SearchIndexClientOptionalParams } from "./api/index.js";
|
|
2
|
-
import type { SynonymMap, ListSynonymMapsResult, SearchIndex, SearchIndexResponse, GetIndexStatisticsResult, AnalyzeTextOptions, AnalyzeResult, SearchAlias, KnowledgeBase, KnowledgeSourceUnion, SearchServiceStatistics } from "../models/azure/search/documents/indexes/models.js";
|
|
2
|
+
import type { SynonymMap, ListSynonymMapsResult, SearchIndex, SearchIndexResponse, GetIndexStatisticsResult, AnalyzeTextOptions, AnalyzeResult, SearchAlias, KnowledgeBase, KnowledgeSourceUnion, KnowledgeSourceFile, SearchServiceStatistics, IndexStatisticsSummary } from "../models/azure/search/documents/indexes/models.js";
|
|
3
3
|
import type { KnowledgeSourceStatus } from "../models/azure/search/documents/knowledgeBases/models.js";
|
|
4
4
|
import type { PagedAsyncIterableIterator } from "../static-helpers/pagingHelpers.js";
|
|
5
|
-
import type { GetServiceStatisticsOptionalParams, GetKnowledgeSourceStatusOptionalParams, CreateKnowledgeSourceOptionalParams, ListKnowledgeSourcesOptionalParams, GetKnowledgeSourceOptionalParams, DeleteKnowledgeSourceOptionalParams, CreateOrUpdateKnowledgeSourceOptionalParams, CreateKnowledgeBaseOptionalParams, ListKnowledgeBasesOptionalParams, GetKnowledgeBaseOptionalParams, DeleteKnowledgeBaseOptionalParams, CreateOrUpdateKnowledgeBaseOptionalParams, CreateAliasOptionalParams, ListAliasesOptionalParams, GetAliasOptionalParams, DeleteAliasOptionalParams, CreateOrUpdateAliasOptionalParams, AnalyzeTextOptionalParams, GetIndexStatisticsOptionalParams, CreateIndexOptionalParams, ListIndexesWithSelectedPropertiesOptionalParams, ListIndexesOptionalParams, GetIndexOptionalParams, DeleteIndexOptionalParams, CreateOrUpdateIndexOptionalParams, CreateSynonymMapOptionalParams, GetSynonymMapsOptionalParams, GetSynonymMapOptionalParams, DeleteSynonymMapOptionalParams, CreateOrUpdateSynonymMapOptionalParams } from "./api/options.js";
|
|
5
|
+
import type { ListIndexStatsSummaryOptionalParams, GetServiceStatisticsOptionalParams, GetKnowledgeSourceStatusOptionalParams, UploadKnowledgeSourceFileOptionalParams, ListKnowledgeSourceFilesOptionalParams, DeleteKnowledgeSourceFileOptionalParams, CreateKnowledgeSourceOptionalParams, ListKnowledgeSourcesOptionalParams, GetKnowledgeSourceOptionalParams, DeleteKnowledgeSourceOptionalParams, CreateOrUpdateKnowledgeSourceOptionalParams, CreateKnowledgeBaseOptionalParams, ListKnowledgeBasesOptionalParams, GetKnowledgeBaseOptionalParams, DeleteKnowledgeBaseOptionalParams, CreateOrUpdateKnowledgeBaseOptionalParams, CreateAliasOptionalParams, ListAliasesOptionalParams, GetAliasOptionalParams, DeleteAliasOptionalParams, CreateOrUpdateAliasOptionalParams, AnalyzeTextOptionalParams, GetIndexStatisticsOptionalParams, CreateIndexOptionalParams, ListIndexesWithSelectedPropertiesOptionalParams, ListIndexesOptionalParams, GetIndexOptionalParams, DeleteIndexOptionalParams, CreateOrUpdateIndexOptionalParams, CreateSynonymMapOptionalParams, GetSynonymMapsOptionalParams, GetSynonymMapOptionalParams, DeleteSynonymMapOptionalParams, CreateOrUpdateSynonymMapOptionalParams } from "./api/options.js";
|
|
6
6
|
import type { KeyCredential, TokenCredential } from "@azure/core-auth";
|
|
7
7
|
import type { Pipeline } from "@azure/core-rest-pipeline";
|
|
8
8
|
export type { SearchIndexClientOptionalParams } from "./api/searchIndexContext.js";
|
|
@@ -11,10 +11,18 @@ export declare class SearchIndexClient {
|
|
|
11
11
|
/** The pipeline used by this client to make requests */
|
|
12
12
|
readonly pipeline: Pipeline;
|
|
13
13
|
constructor(endpointParam: string, credential: KeyCredential | TokenCredential, options?: SearchIndexClientOptionalParams);
|
|
14
|
+
/** Retrieves a summary of statistics for all indexes in the search service. */
|
|
15
|
+
listIndexStatsSummary(options?: ListIndexStatsSummaryOptionalParams): PagedAsyncIterableIterator<IndexStatisticsSummary>;
|
|
14
16
|
/** Gets service level statistics for a search service. */
|
|
15
17
|
getServiceStatistics(options?: GetServiceStatisticsOptionalParams): Promise<SearchServiceStatistics>;
|
|
16
18
|
/** Retrieves the status of a knowledge source. */
|
|
17
19
|
getKnowledgeSourceStatus(name: string, options?: GetKnowledgeSourceStatusOptionalParams): Promise<KnowledgeSourceStatus>;
|
|
20
|
+
/** Deletes a file from a File knowledge source and removes all indexed content derived from it. */
|
|
21
|
+
deleteKnowledgeSourceFile(fileId: string, name: string, options?: DeleteKnowledgeSourceFileOptionalParams): Promise<void>;
|
|
22
|
+
/** Lists all files in a File knowledge source. */
|
|
23
|
+
listKnowledgeSourceFiles(name: string, options?: ListKnowledgeSourceFilesOptionalParams): PagedAsyncIterableIterator<KnowledgeSourceFile>;
|
|
24
|
+
/** Uploads a file to a File knowledge source for processing and indexing. */
|
|
25
|
+
uploadKnowledgeSourceFile(contentDisposition: string, file: Uint8Array, name: string, options?: UploadKnowledgeSourceFileOptionalParams): Promise<KnowledgeSourceFile>;
|
|
18
26
|
/** Creates a new knowledge source. */
|
|
19
27
|
createKnowledgeSource(knowledgeSource: KnowledgeSourceUnion, options?: CreateKnowledgeSourceOptionalParams): Promise<KnowledgeSourceUnion>;
|
|
20
28
|
/** Lists all knowledge sources available for a search service. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchIndexClient.d.ts","sourceRoot":"","sources":["../../../src/searchIndex/searchIndexClient.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAsB,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AAE1F,OAAO,KAAK,EACV,UAAU,EACV,qBAAqB,EACrB,WAAW,EACX,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,aAAa,EACb,WAAW,EACX,aAAa,EACb,oBAAoB,EACpB,uBAAuB,
|
|
1
|
+
{"version":3,"file":"searchIndexClient.d.ts","sourceRoot":"","sources":["../../../src/searchIndex/searchIndexClient.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAsB,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AAE1F,OAAO,KAAK,EACV,UAAU,EACV,qBAAqB,EACrB,WAAW,EACX,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,E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AI,EAAE,MAAM,EACZ,OAAO,GAAE,sCAA+D,GACvE,OAAO,CAAC,UAAU,CAAC;CAGvB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
import { createSearchIndex } from "./api/index.js";
|
|
4
|
-
import { getServiceStatistics, getKnowledgeSourceStatus, createKnowledgeSource, listKnowledgeSources, getKnowledgeSource, deleteKnowledgeSource, createOrUpdateKnowledgeSource, createKnowledgeBase, listKnowledgeBases, getKnowledgeBase, deleteKnowledgeBase, createOrUpdateKnowledgeBase, createAlias, listAliases, getAlias, deleteAlias, createOrUpdateAlias, analyzeText, getIndexStatistics, createIndex, listIndexesWithSelectedProperties, listIndexes, getIndex, deleteIndex, createOrUpdateIndex, createSynonymMap, getSynonymMaps, getSynonymMap, deleteSynonymMap, createOrUpdateSynonymMap, } from "./api/operations.js";
|
|
4
|
+
import { listIndexStatsSummary, getServiceStatistics, getKnowledgeSourceStatus, uploadKnowledgeSourceFile, listKnowledgeSourceFiles, deleteKnowledgeSourceFile, createKnowledgeSource, listKnowledgeSources, getKnowledgeSource, deleteKnowledgeSource, createOrUpdateKnowledgeSource, createKnowledgeBase, listKnowledgeBases, getKnowledgeBase, deleteKnowledgeBase, createOrUpdateKnowledgeBase, createAlias, listAliases, getAlias, deleteAlias, createOrUpdateAlias, analyzeText, getIndexStatistics, createIndex, listIndexesWithSelectedProperties, listIndexes, getIndex, deleteIndex, createOrUpdateIndex, createSynonymMap, getSynonymMaps, getSynonymMap, deleteSynonymMap, createOrUpdateSynonymMap, } from "./api/operations.js";
|
|
5
5
|
export class SearchIndexClient {
|
|
6
6
|
_client;
|
|
7
7
|
/** The pipeline used by this client to make requests */
|
|
@@ -17,6 +17,10 @@ export class SearchIndexClient {
|
|
|
17
17
|
});
|
|
18
18
|
this.pipeline = this._client.pipeline;
|
|
19
19
|
}
|
|
20
|
+
/** Retrieves a summary of statistics for all indexes in the search service. */
|
|
21
|
+
listIndexStatsSummary(options = { requestOptions: {} }) {
|
|
22
|
+
return listIndexStatsSummary(this._client, options);
|
|
23
|
+
}
|
|
20
24
|
/** Gets service level statistics for a search service. */
|
|
21
25
|
getServiceStatistics(options = { requestOptions: {} }) {
|
|
22
26
|
return getServiceStatistics(this._client, options);
|
|
@@ -25,6 +29,18 @@ export class SearchIndexClient {
|
|
|
25
29
|
getKnowledgeSourceStatus(name, options = { requestOptions: {} }) {
|
|
26
30
|
return getKnowledgeSourceStatus(this._client, name, options);
|
|
27
31
|
}
|
|
32
|
+
/** Deletes a file from a File knowledge source and removes all indexed content derived from it. */
|
|
33
|
+
deleteKnowledgeSourceFile(fileId, name, options = { requestOptions: {} }) {
|
|
34
|
+
return deleteKnowledgeSourceFile(this._client, fileId, name, options);
|
|
35
|
+
}
|
|
36
|
+
/** Lists all files in a File knowledge source. */
|
|
37
|
+
listKnowledgeSourceFiles(name, options = { requestOptions: {} }) {
|
|
38
|
+
return listKnowledgeSourceFiles(this._client, name, options);
|
|
39
|
+
}
|
|
40
|
+
/** Uploads a file to a File knowledge source for processing and indexing. */
|
|
41
|
+
uploadKnowledgeSourceFile(contentDisposition, file, name, options = { requestOptions: {} }) {
|
|
42
|
+
return uploadKnowledgeSourceFile(this._client, contentDisposition, file, name, options);
|
|
43
|
+
}
|
|
28
44
|
/** Creates a new knowledge source. */
|
|
29
45
|
createKnowledgeSource(knowledgeSource, options = { requestOptions: {} }) {
|
|
30
46
|
return createKnowledgeSource(this._client, knowledgeSource, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchIndexClient.js","sourceRoot":"","sources":["../../../src/searchIndex/searchIndexClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAgBnD,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,qBAAqB,EACrB,oBAAoB,EACpB,kBAAk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(c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { SearchIndexContext, SearchIndexClientOptionalParams } from \"./api/index.js\";\nimport { createSearchIndex } from \"./api/index.js\";\nimport type {\n SynonymMap,\n ListSynonymMapsResult,\n SearchIndex,\n SearchIndexResponse,\n GetIndexStatisticsResult,\n AnalyzeTextOptions,\n AnalyzeResult,\n SearchAlias,\n KnowledgeBase,\n KnowledgeSourceUnion,\n SearchServiceStatistics,\n} from \"../models/azure/search/documents/indexes/models.js\";\nimport type { KnowledgeSourceStatus } from \"../models/azure/search/documents/knowledgeBases/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../static-helpers/pagingHelpers.js\";\nimport {\n getServiceStatistics,\n getKnowledgeSourceStatus,\n createKnowledgeSource,\n listKnowledgeSources,\n getKnowledgeSource,\n deleteKnowledgeSource,\n createOrUpdateKnowledgeSource,\n createKnowledgeBase,\n listKnowledgeBases,\n getKnowledgeBase,\n deleteKnowledgeBase,\n createOrUpdateKnowledgeBase,\n createAlias,\n listAliases,\n getAlias,\n deleteAlias,\n createOrUpdateAlias,\n analyzeText,\n getIndexStatistics,\n createIndex,\n listIndexesWithSelectedProperties,\n listIndexes,\n getIndex,\n deleteIndex,\n createOrUpdateIndex,\n createSynonymMap,\n getSynonymMaps,\n getSynonymMap,\n deleteSynonymMap,\n createOrUpdateSynonymMap,\n} from \"./api/operations.js\";\nimport type {\n GetServiceStatisticsOptionalParams,\n GetKnowledgeSourceStatusOptionalParams,\n CreateKnowledgeSourceOptionalParams,\n ListKnowledgeSourcesOptionalParams,\n GetKnowledgeSourceOptionalParams,\n DeleteKnowledgeSourceOptionalParams,\n CreateOrUpdateKnowledgeSourceOptionalParams,\n CreateKnowledgeBaseOptionalParams,\n ListKnowledgeBasesOptionalParams,\n GetKnowledgeBaseOptionalParams,\n DeleteKnowledgeBaseOptionalParams,\n CreateOrUpdateKnowledgeBaseOptionalParams,\n CreateAliasOptionalParams,\n ListAliasesOptionalParams,\n GetAliasOptionalParams,\n DeleteAliasOptionalParams,\n CreateOrUpdateAliasOptionalParams,\n AnalyzeTextOptionalParams,\n GetIndexStatisticsOptionalParams,\n CreateIndexOptionalParams,\n ListIndexesWithSelectedPropertiesOptionalParams,\n ListIndexesOptionalParams,\n GetIndexOptionalParams,\n DeleteIndexOptionalParams,\n CreateOrUpdateIndexOptionalParams,\n CreateSynonymMapOptionalParams,\n GetSynonymMapsOptionalParams,\n GetSynonymMapOptionalParams,\n DeleteSynonymMapOptionalParams,\n CreateOrUpdateSynonymMapOptionalParams,\n} from \"./api/options.js\";\nimport type { KeyCredential, TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport type { SearchIndexClientOptionalParams } from \"./api/searchIndexContext.js\";\n\nexport class SearchIndexClient {\n private _client: SearchIndexContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n constructor(\n endpointParam: string,\n credential: KeyCredential | TokenCredential,\n options: SearchIndexClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createSearchIndex(endpointParam, credential, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n }\n\n /** Gets service level statistics for a search service. */\n getServiceStatistics(\n options: GetServiceStatisticsOptionalParams = { requestOptions: {} },\n ): Promise<SearchServiceStatistics> {\n return getServiceStatistics(this._client, options);\n }\n\n /** Retrieves the status of a knowledge source. */\n getKnowledgeSourceStatus(\n name: string,\n options: GetKnowledgeSourceStatusOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeSourceStatus> {\n return getKnowledgeSourceStatus(this._client, name, options);\n }\n\n /** Creates a new knowledge source. */\n createKnowledgeSource(\n knowledgeSource: KnowledgeSourceUnion,\n options: CreateKnowledgeSourceOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeSourceUnion> {\n return createKnowledgeSource(this._client, knowledgeSource, options);\n }\n\n /** Lists all knowledge sources available for a search service. */\n listKnowledgeSources(\n options: ListKnowledgeSourcesOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<KnowledgeSourceUnion> {\n return listKnowledgeSources(this._client, options);\n }\n\n /** Retrieves a knowledge source definition. */\n getKnowledgeSource(\n name: string,\n options: GetKnowledgeSourceOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeSourceUnion> {\n return getKnowledgeSource(this._client, name, options);\n }\n\n /** Deletes an existing knowledge source. */\n deleteKnowledgeSource(\n name: string,\n options: DeleteKnowledgeSourceOptionalParams = { requestOptions: {} },\n ): Promise<void> {\n return deleteKnowledgeSource(this._client, name, options);\n }\n\n /** Creates a new knowledge source or updates an knowledge source if it already exists. */\n createOrUpdateKnowledgeSource(\n knowledgeSource: KnowledgeSourceUnion,\n name: string,\n options: CreateOrUpdateKnowledgeSourceOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeSourceUnion> {\n return createOrUpdateKnowledgeSource(this._client, knowledgeSource, name, options);\n }\n\n /** Creates a new knowledge base. */\n createKnowledgeBase(\n knowledgeBase: KnowledgeBase,\n options: CreateKnowledgeBaseOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeBase> {\n return createKnowledgeBase(this._client, knowledgeBase, options);\n }\n\n /** Lists all knowledge bases available for a search service. */\n listKnowledgeBases(\n options: ListKnowledgeBasesOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<KnowledgeBase> {\n return listKnowledgeBases(this._client, options);\n }\n\n /** Retrieves a knowledge base definition. */\n getKnowledgeBase(\n name: string,\n options: GetKnowledgeBaseOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeBase> {\n return getKnowledgeBase(this._client, name, options);\n }\n\n /** Deletes a knowledge base. */\n deleteKnowledgeBase(\n name: string,\n options: DeleteKnowledgeBaseOptionalParams = { requestOptions: {} },\n ): Promise<void> {\n return deleteKnowledgeBase(this._client, name, options);\n }\n\n /** Creates a new knowledge base or updates a knowledge base if it already exists. */\n createOrUpdateKnowledgeBase(\n knowledgeBase: KnowledgeBase,\n name: string,\n options: CreateOrUpdateKnowledgeBaseOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeBase> {\n return createOrUpdateKnowledgeBase(this._client, knowledgeBase, name, options);\n }\n\n /** Creates a new search alias. */\n createAlias(\n alias: SearchAlias,\n options: CreateAliasOptionalParams = { requestOptions: {} },\n ): Promise<SearchAlias> {\n return createAlias(this._client, alias, options);\n }\n\n /** Lists all aliases available for a search service. */\n listAliases(\n options: ListAliasesOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<SearchAlias> {\n return listAliases(this._client, options);\n }\n\n /** Retrieves an alias definition. */\n getAlias(\n name: string,\n options: GetAliasOptionalParams = { requestOptions: {} },\n ): Promise<SearchAlias> {\n return getAlias(this._client, name, options);\n }\n\n /** Deletes a search alias and its associated mapping to an index. This operation is permanent, with no recovery option. The mapped index is untouched by this operation. */\n deleteAlias(\n name: string,\n options: DeleteAliasOptionalParams = { requestOptions: {} },\n ): Promise<void> {\n return deleteAlias(this._client, name, options);\n }\n\n /** Creates a new search alias or updates an alias if it already exists. */\n createOrUpdateAlias(\n alias: SearchAlias,\n name: string,\n options: CreateOrUpdateAliasOptionalParams = { requestOptions: {} },\n ): Promise<SearchAlias> {\n return createOrUpdateAlias(this._client, alias, name, options);\n }\n\n /** Shows how an analyzer breaks text into tokens. */\n analyzeText(\n request: AnalyzeTextOptions,\n name: string,\n options: AnalyzeTextOptionalParams = { requestOptions: {} },\n ): Promise<AnalyzeResult> {\n return analyzeText(this._client, request, name, options);\n }\n\n /** Returns statistics for the given index, including a document count and storage usage. */\n getIndexStatistics(\n name: string,\n options: GetIndexStatisticsOptionalParams = { requestOptions: {} },\n ): Promise<GetIndexStatisticsResult> {\n return getIndexStatistics(this._client, name, options);\n }\n\n /** Creates a new search index. */\n createIndex(\n index: SearchIndex,\n options: CreateIndexOptionalParams = { requestOptions: {} },\n ): Promise<SearchIndex> {\n return createIndex(this._client, index, options);\n }\n\n /** Lists all indexes available for a search service. */\n listIndexesWithSelectedProperties(\n options: ListIndexesWithSelectedPropertiesOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<SearchIndexResponse> {\n return listIndexesWithSelectedProperties(this._client, options);\n }\n\n /** Lists all indexes available for a search service. */\n listIndexes(\n options: ListIndexesOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<SearchIndex> {\n return listIndexes(this._client, options);\n }\n\n /** Retrieves an index definition. */\n getIndex(\n name: string,\n options: GetIndexOptionalParams = { requestOptions: {} },\n ): Promise<SearchIndex> {\n return getIndex(this._client, name, options);\n }\n\n /** Deletes a search index and all the documents it contains. This operation is permanent, with no recovery option. Make sure you have a master copy of your index definition, data ingestion code, and a backup of the primary data source in case you need to re-build the index. */\n deleteIndex(\n name: string,\n options: DeleteIndexOptionalParams = { requestOptions: {} },\n ): Promise<void> {\n return deleteIndex(this._client, name, options);\n }\n\n /** Creates a new search index or updates an index if it already exists. */\n createOrUpdateIndex(\n index: SearchIndex,\n name: string,\n options: CreateOrUpdateIndexOptionalParams = { requestOptions: {} },\n ): Promise<SearchIndex> {\n return createOrUpdateIndex(this._client, index, name, options);\n }\n\n /** Creates a new synonym map. */\n createSynonymMap(\n synonymMap: SynonymMap,\n options: CreateSynonymMapOptionalParams = { requestOptions: {} },\n ): Promise<SynonymMap> {\n return createSynonymMap(this._client, synonymMap, options);\n }\n\n /** Lists all synonym maps available for a search service. */\n getSynonymMaps(\n options: GetSynonymMapsOptionalParams = { requestOptions: {} },\n ): Promise<ListSynonymMapsResult> {\n return getSynonymMaps(this._client, options);\n }\n\n /** Retrieves a synonym map definition. */\n getSynonymMap(\n name: string,\n options: GetSynonymMapOptionalParams = { requestOptions: {} },\n ): Promise<SynonymMap> {\n return getSynonymMap(this._client, name, options);\n }\n\n /** Deletes a synonym map. */\n deleteSynonymMap(\n name: string,\n options: DeleteSynonymMapOptionalParams = { requestOptions: {} },\n ): Promise<void> {\n return deleteSynonymMap(this._client, name, options);\n }\n\n /** Creates a new synonym map or updates a synonym map if it already exists. */\n createOrUpdateSynonymMap(\n synonymMap: SynonymMap,\n name: string,\n options: CreateOrUpdateSynonymMapOptionalParams = { requestOptions: {} },\n ): Promise<SynonymMap> {\n return createOrUpdateSynonymMap(this._client, synonymMap, name, options);\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"searchIndexClient.js","sourceRoot":"","sources":["../../../src/searchIndex/searchIndexClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAkBnD,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,6BAA6B,EAC7B,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,2BAA2B,EAC3B,WAAW,EACX,WAAW,EACX,QAAQ,EACR,WAAW,EACX,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,iCAAiC,EACjC,WAAW,EACX,QAAQ,EACR,WAAW,EACX,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AA0C7B,MAAM,OAAO,iBAAiB;IACpB,OAAO,CAAqB;IACpC,wDAAwD;IACxC,QAAQ,CAAW;IAEnC,YACE,aAAqB,EACrB,UAA2C,EAC3C,UAA2C,EAAE;QAE7C,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;QACrE,MAAM,eAAe,GAAG,iBAAiB;YACvC,CAAC,CAAC,GAAG,iBAAiB,kBAAkB;YACxC,CAAC,CAAC,iBAAiB,CAA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AAC,IAAI,CAAC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { SearchIndexContext, SearchIndexClientOptionalParams } from \"./api/index.js\";\nimport { createSearchIndex } from \"./api/index.js\";\nimport type {\n SynonymMap,\n ListSynonymMapsResult,\n SearchIndex,\n SearchIndexResponse,\n GetIndexStatisticsResult,\n AnalyzeTextOptions,\n AnalyzeResult,\n SearchAlias,\n KnowledgeBase,\n KnowledgeSourceUnion,\n KnowledgeSourceFile,\n SearchServiceStatistics,\n IndexStatisticsSummary,\n} from \"../models/azure/search/documents/indexes/models.js\";\nimport type { KnowledgeSourceStatus } from \"../models/azure/search/documents/knowledgeBases/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../static-helpers/pagingHelpers.js\";\nimport {\n listIndexStatsSummary,\n getServiceStatistics,\n getKnowledgeSourceStatus,\n uploadKnowledgeSourceFile,\n listKnowledgeSourceFiles,\n deleteKnowledgeSourceFile,\n createKnowledgeSource,\n listKnowledgeSources,\n getKnowledgeSource,\n deleteKnowledgeSource,\n createOrUpdateKnowledgeSource,\n createKnowledgeBase,\n listKnowledgeBases,\n getKnowledgeBase,\n deleteKnowledgeBase,\n createOrUpdateKnowledgeBase,\n createAlias,\n listAliases,\n getAlias,\n deleteAlias,\n createOrUpdateAlias,\n analyzeText,\n getIndexStatistics,\n createIndex,\n listIndexesWithSelectedProperties,\n listIndexes,\n getIndex,\n deleteIndex,\n createOrUpdateIndex,\n createSynonymMap,\n getSynonymMaps,\n getSynonymMap,\n deleteSynonymMap,\n createOrUpdateSynonymMap,\n} from \"./api/operations.js\";\nimport type {\n ListIndexStatsSummaryOptionalParams,\n GetServiceStatisticsOptionalParams,\n GetKnowledgeSourceStatusOptionalParams,\n UploadKnowledgeSourceFileOptionalParams,\n ListKnowledgeSourceFilesOptionalParams,\n DeleteKnowledgeSourceFileOptionalParams,\n CreateKnowledgeSourceOptionalParams,\n ListKnowledgeSourcesOptionalParams,\n GetKnowledgeSourceOptionalParams,\n DeleteKnowledgeSourceOptionalParams,\n CreateOrUpdateKnowledgeSourceOptionalParams,\n CreateKnowledgeBaseOptionalParams,\n ListKnowledgeBasesOptionalParams,\n GetKnowledgeBaseOptionalParams,\n DeleteKnowledgeBaseOptionalParams,\n CreateOrUpdateKnowledgeBaseOptionalParams,\n CreateAliasOptionalParams,\n ListAliasesOptionalParams,\n GetAliasOptionalParams,\n DeleteAliasOptionalParams,\n CreateOrUpdateAliasOptionalParams,\n AnalyzeTextOptionalParams,\n GetIndexStatisticsOptionalParams,\n CreateIndexOptionalParams,\n ListIndexesWithSelectedPropertiesOptionalParams,\n ListIndexesOptionalParams,\n GetIndexOptionalParams,\n DeleteIndexOptionalParams,\n CreateOrUpdateIndexOptionalParams,\n CreateSynonymMapOptionalParams,\n GetSynonymMapsOptionalParams,\n GetSynonymMapOptionalParams,\n DeleteSynonymMapOptionalParams,\n CreateOrUpdateSynonymMapOptionalParams,\n} from \"./api/options.js\";\nimport type { KeyCredential, TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport type { SearchIndexClientOptionalParams } from \"./api/searchIndexContext.js\";\n\nexport class SearchIndexClient {\n private _client: SearchIndexContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n constructor(\n endpointParam: string,\n credential: KeyCredential | TokenCredential,\n options: SearchIndexClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createSearchIndex(endpointParam, credential, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n }\n\n /** Retrieves a summary of statistics for all indexes in the search service. */\n listIndexStatsSummary(\n options: ListIndexStatsSummaryOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<IndexStatisticsSummary> {\n return listIndexStatsSummary(this._client, options);\n }\n\n /** Gets service level statistics for a search service. */\n getServiceStatistics(\n options: GetServiceStatisticsOptionalParams = { requestOptions: {} },\n ): Promise<SearchServiceStatistics> {\n return getServiceStatistics(this._client, options);\n }\n\n /** Retrieves the status of a knowledge source. */\n getKnowledgeSourceStatus(\n name: string,\n options: GetKnowledgeSourceStatusOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeSourceStatus> {\n return getKnowledgeSourceStatus(this._client, name, options);\n }\n\n /** Deletes a file from a File knowledge source and removes all indexed content derived from it. */\n deleteKnowledgeSourceFile(\n fileId: string,\n name: string,\n options: DeleteKnowledgeSourceFileOptionalParams = { requestOptions: {} },\n ): Promise<void> {\n return deleteKnowledgeSourceFile(this._client, fileId, name, options);\n }\n\n /** Lists all files in a File knowledge source. */\n listKnowledgeSourceFiles(\n name: string,\n options: ListKnowledgeSourceFilesOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<KnowledgeSourceFile> {\n return listKnowledgeSourceFiles(this._client, name, options);\n }\n\n /** Uploads a file to a File knowledge source for processing and indexing. */\n uploadKnowledgeSourceFile(\n contentDisposition: string,\n file: Uint8Array,\n name: string,\n options: UploadKnowledgeSourceFileOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeSourceFile> {\n return uploadKnowledgeSourceFile(this._client, contentDisposition, file, name, options);\n }\n\n /** Creates a new knowledge source. */\n createKnowledgeSource(\n knowledgeSource: KnowledgeSourceUnion,\n options: CreateKnowledgeSourceOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeSourceUnion> {\n return createKnowledgeSource(this._client, knowledgeSource, options);\n }\n\n /** Lists all knowledge sources available for a search service. */\n listKnowledgeSources(\n options: ListKnowledgeSourcesOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<KnowledgeSourceUnion> {\n return listKnowledgeSources(this._client, options);\n }\n\n /** Retrieves a knowledge source definition. */\n getKnowledgeSource(\n name: string,\n options: GetKnowledgeSourceOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeSourceUnion> {\n return getKnowledgeSource(this._client, name, options);\n }\n\n /** Deletes an existing knowledge source. */\n deleteKnowledgeSource(\n name: string,\n options: DeleteKnowledgeSourceOptionalParams = { requestOptions: {} },\n ): Promise<void> {\n return deleteKnowledgeSource(this._client, name, options);\n }\n\n /** Creates a new knowledge source or updates an knowledge source if it already exists. */\n createOrUpdateKnowledgeSource(\n knowledgeSource: KnowledgeSourceUnion,\n name: string,\n options: CreateOrUpdateKnowledgeSourceOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeSourceUnion> {\n return createOrUpdateKnowledgeSource(this._client, knowledgeSource, name, options);\n }\n\n /** Creates a new knowledge base. */\n createKnowledgeBase(\n knowledgeBase: KnowledgeBase,\n options: CreateKnowledgeBaseOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeBase> {\n return createKnowledgeBase(this._client, knowledgeBase, options);\n }\n\n /** Lists all knowledge bases available for a search service. */\n listKnowledgeBases(\n options: ListKnowledgeBasesOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<KnowledgeBase> {\n return listKnowledgeBases(this._client, options);\n }\n\n /** Retrieves a knowledge base definition. */\n getKnowledgeBase(\n name: string,\n options: GetKnowledgeBaseOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeBase> {\n return getKnowledgeBase(this._client, name, options);\n }\n\n /** Deletes a knowledge base. */\n deleteKnowledgeBase(\n name: string,\n options: DeleteKnowledgeBaseOptionalParams = { requestOptions: {} },\n ): Promise<void> {\n return deleteKnowledgeBase(this._client, name, options);\n }\n\n /** Creates a new knowledge base or updates a knowledge base if it already exists. */\n createOrUpdateKnowledgeBase(\n knowledgeBase: KnowledgeBase,\n name: string,\n options: CreateOrUpdateKnowledgeBaseOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeBase> {\n return createOrUpdateKnowledgeBase(this._client, knowledgeBase, name, options);\n }\n\n /** Creates a new search alias. */\n createAlias(\n alias: SearchAlias,\n options: CreateAliasOptionalParams = { requestOptions: {} },\n ): Promise<SearchAlias> {\n return createAlias(this._client, alias, options);\n }\n\n /** Lists all aliases available for a search service. */\n listAliases(\n options: ListAliasesOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<SearchAlias> {\n return listAliases(this._client, options);\n }\n\n /** Retrieves an alias definition. */\n getAlias(\n name: string,\n options: GetAliasOptionalParams = { requestOptions: {} },\n ): Promise<SearchAlias> {\n return getAlias(this._client, name, options);\n }\n\n /** Deletes a search alias and its associated mapping to an index. This operation is permanent, with no recovery option. The mapped index is untouched by this operation. */\n deleteAlias(\n name: string,\n options: DeleteAliasOptionalParams = { requestOptions: {} },\n ): Promise<void> {\n return deleteAlias(this._client, name, options);\n }\n\n /** Creates a new search alias or updates an alias if it already exists. */\n createOrUpdateAlias(\n alias: SearchAlias,\n name: string,\n options: CreateOrUpdateAliasOptionalParams = { requestOptions: {} },\n ): Promise<SearchAlias> {\n return createOrUpdateAlias(this._client, alias, name, options);\n }\n\n /** Shows how an analyzer breaks text into tokens. */\n analyzeText(\n request: AnalyzeTextOptions,\n name: string,\n options: AnalyzeTextOptionalParams = { requestOptions: {} },\n ): Promise<AnalyzeResult> {\n return analyzeText(this._client, request, name, options);\n }\n\n /** Returns statistics for the given index, including a document count and storage usage. */\n getIndexStatistics(\n name: string,\n options: GetIndexStatisticsOptionalParams = { requestOptions: {} },\n ): Promise<GetIndexStatisticsResult> {\n return getIndexStatistics(this._client, name, options);\n }\n\n /** Creates a new search index. */\n createIndex(\n index: SearchIndex,\n options: CreateIndexOptionalParams = { requestOptions: {} },\n ): Promise<SearchIndex> {\n return createIndex(this._client, index, options);\n }\n\n /** Lists all indexes available for a search service. */\n listIndexesWithSelectedProperties(\n options: ListIndexesWithSelectedPropertiesOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<SearchIndexResponse> {\n return listIndexesWithSelectedProperties(this._client, options);\n }\n\n /** Lists all indexes available for a search service. */\n listIndexes(\n options: ListIndexesOptionalParams = { requestOptions: {} },\n ): PagedAsyncIterableIterator<SearchIndex> {\n return listIndexes(this._client, options);\n }\n\n /** Retrieves an index definition. */\n getIndex(\n name: string,\n options: GetIndexOptionalParams = { requestOptions: {} },\n ): Promise<SearchIndex> {\n return getIndex(this._client, name, options);\n }\n\n /** Deletes a search index and all the documents it contains. This operation is permanent, with no recovery option. Make sure you have a master copy of your index definition, data ingestion code, and a backup of the primary data source in case you need to re-build the index. */\n deleteIndex(\n name: string,\n options: DeleteIndexOptionalParams = { requestOptions: {} },\n ): Promise<void> {\n return deleteIndex(this._client, name, options);\n }\n\n /** Creates a new search index or updates an index if it already exists. */\n createOrUpdateIndex(\n index: SearchIndex,\n name: string,\n options: CreateOrUpdateIndexOptionalParams = { requestOptions: {} },\n ): Promise<SearchIndex> {\n return createOrUpdateIndex(this._client, index, name, options);\n }\n\n /** Creates a new synonym map. */\n createSynonymMap(\n synonymMap: SynonymMap,\n options: CreateSynonymMapOptionalParams = { requestOptions: {} },\n ): Promise<SynonymMap> {\n return createSynonymMap(this._client, synonymMap, options);\n }\n\n /** Lists all synonym maps available for a search service. */\n getSynonymMaps(\n options: GetSynonymMapsOptionalParams = { requestOptions: {} },\n ): Promise<ListSynonymMapsResult> {\n return getSynonymMaps(this._client, options);\n }\n\n /** Retrieves a synonym map definition. */\n getSynonymMap(\n name: string,\n options: GetSynonymMapOptionalParams = { requestOptions: {} },\n ): Promise<SynonymMap> {\n return getSynonymMap(this._client, name, options);\n }\n\n /** Deletes a synonym map. */\n deleteSynonymMap(\n name: string,\n options: DeleteSynonymMapOptionalParams = { requestOptions: {} },\n ): Promise<void> {\n return deleteSynonymMap(this._client, name, options);\n }\n\n /** Creates a new synonym map or updates a synonym map if it already exists. */\n createOrUpdateSynonymMap(\n synonymMap: SynonymMap,\n name: string,\n options: CreateOrUpdateSynonymMapOptionalParams = { requestOptions: {} },\n ): Promise<SynonymMap> {\n return createOrUpdateSynonymMap(this._client, synonymMap, name, options);\n }\n}\n"]}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { KeyCredential, TokenCredential } from "@azure/core-auth";
|
|
2
2
|
import type { Pipeline } from "@azure/core-rest-pipeline";
|
|
3
|
-
import type { AnalyzeResult } from "./models/azure/search/documents/indexes/index.js";
|
|
3
|
+
import type { AnalyzeResult, IndexStatisticsSummary, KnowledgeSourceFile } from "./models/azure/search/documents/indexes/index.js";
|
|
4
4
|
import type { KnowledgeBase } from "./knowledgeBaseModels.js";
|
|
5
5
|
import type { KnowledgeRetrievalClientOptions as GetKnowledgeRetrievalClientOptions } from "./knowledgeRetrievalClient.js";
|
|
6
6
|
import { KnowledgeRetrievalClient } from "./knowledgeRetrievalClient.js";
|
|
7
7
|
import type { SearchClientOptions as GetSearchClientOptions } from "./searchClient.js";
|
|
8
8
|
import { SearchClient } from "./searchClient.js";
|
|
9
|
-
import type { AliasIterator, AnalyzeTextOptions, CreateAliasOptions, CreateIndexOptions, CreateKnowledgeBaseOptions, CreateKnowledgeSourceOptions, CreateOrUpdateAliasOptions, CreateOrUpdateIndexOptions, CreateOrUpdateKnowledgeBaseOptions, CreateOrUpdateKnowledgeSourceOptions, CreateOrUpdateSynonymMapOptions, CreateSynonymMapOptions, DeleteAliasOptions, DeleteIndexOptions, DeleteKnowledgeBaseOptions, DeleteKnowledgeSourceOptions, DeleteSynonymMapOptions, GetAliasOptions, GetIndexOptions, GetIndexStatisticsOptions, GetKnowledgeBaseOptions, GetKnowledgeSourceOptions, GetKnowledgeSourceStatusOptions, GetServiceStatisticsOptions, GetSynonymMapsOptions, IndexIterator, IndexNameIterator, KnowledgeBaseIterator, KnowledgeSource, KnowledgeSourceIterator, ListAliasesOptions, ListIndexesOptions, ListKnowledgeBasesOptions, ListKnowledgeSourcesOptions, ListSynonymMapsOptions, SearchIndex, SearchIndexAlias, SearchIndexStatistics, SearchServiceStatistics, SynonymMap } from "./serviceModels.js";
|
|
9
|
+
import type { AliasIterator, AnalyzeTextOptions, CreateAliasOptions, CreateIndexOptions, CreateKnowledgeBaseOptions, CreateKnowledgeSourceOptions, CreateOrUpdateAliasOptions, CreateOrUpdateIndexOptions, CreateOrUpdateKnowledgeBaseOptions, CreateOrUpdateKnowledgeSourceOptions, CreateOrUpdateSynonymMapOptions, CreateSynonymMapOptions, DeleteAliasOptions, DeleteIndexOptions, DeleteKnowledgeBaseOptions, DeleteKnowledgeSourceOptions, DeleteKnowledgeSourceFileOptions, DeleteSynonymMapOptions, GetAliasOptions, GetIndexOptions, GetIndexStatisticsOptions, GetKnowledgeBaseOptions, GetKnowledgeSourceOptions, GetKnowledgeSourceStatusOptions, GetServiceStatisticsOptions, GetSynonymMapsOptions, IndexIterator, IndexNameIterator, KnowledgeBaseIterator, KnowledgeSource, KnowledgeSourceIterator, ListAliasesOptions, ListIndexesOptions, ListIndexStatsSummaryOptions, ListKnowledgeBasesOptions, ListKnowledgeSourcesOptions, ListKnowledgeSourceFilesOptions, ListSynonymMapsOptions, SearchIndex, SearchIndexAlias, SearchIndexStatistics, SearchServiceStatistics, UploadKnowledgeSourceFileOptions, SynonymMap } from "./serviceModels.js";
|
|
10
10
|
import type { ClientOptions } from "@azure-rest/core-client";
|
|
11
|
+
import type { PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
|
|
11
12
|
import type { KnowledgeSourceStatus } from "./models/azure/search/documents/knowledgeBases/index.js";
|
|
12
13
|
/**
|
|
13
14
|
* Client options used to configure AI Search API requests.
|
|
@@ -84,6 +85,11 @@ export declare class SearchIndexClient {
|
|
|
84
85
|
* @param options - Options to the list index operation.
|
|
85
86
|
*/
|
|
86
87
|
listIndexes(options?: ListIndexesOptions): IndexIterator;
|
|
88
|
+
/**
|
|
89
|
+
* Retrieves a summary of statistics for all indexes in the search service.
|
|
90
|
+
* @param options - Options to the list index stats summary operation.
|
|
91
|
+
*/
|
|
92
|
+
listIndexStatsSummary(options?: ListIndexStatsSummaryOptions): PagedAsyncIterableIterator<IndexStatisticsSummary>;
|
|
87
93
|
/**
|
|
88
94
|
* Lists all aliases available for a search service.
|
|
89
95
|
* @param options - The options parameters.
|
|
@@ -281,6 +287,27 @@ export declare class SearchIndexClient {
|
|
|
281
287
|
* @param options - The options parameters.
|
|
282
288
|
*/
|
|
283
289
|
getKnowledgeSourceStatus(sourceName: string, options?: GetKnowledgeSourceStatusOptions): Promise<KnowledgeSourceStatus>;
|
|
290
|
+
/**
|
|
291
|
+
* Uploads a file to a File knowledge source for processing and indexing.
|
|
292
|
+
* @param name - The name of the knowledge source.
|
|
293
|
+
* @param file - The file contents.
|
|
294
|
+
* @param contentDisposition - The content-disposition header value (e.g., 'attachment; filename="example.pdf"').
|
|
295
|
+
* @param options - The options parameters.
|
|
296
|
+
*/
|
|
297
|
+
uploadKnowledgeSourceFile(name: string, file: Uint8Array, contentDisposition: string, options?: UploadKnowledgeSourceFileOptions): Promise<KnowledgeSourceFile>;
|
|
298
|
+
/**
|
|
299
|
+
* Lists all files in a File knowledge source.
|
|
300
|
+
* @param name - The name of the knowledge source.
|
|
301
|
+
* @param options - The options parameters.
|
|
302
|
+
*/
|
|
303
|
+
listKnowledgeSourceFiles(name: string, options?: ListKnowledgeSourceFilesOptions): PagedAsyncIterableIterator<KnowledgeSourceFile>;
|
|
304
|
+
/**
|
|
305
|
+
* Deletes a file from a File knowledge source and removes all indexed content derived from it.
|
|
306
|
+
* @param name - The name of the knowledge source.
|
|
307
|
+
* @param fileId - The file identifier.
|
|
308
|
+
* @param options - The options parameters.
|
|
309
|
+
*/
|
|
310
|
+
deleteKnowledgeSourceFile(name: string, fileId: string, options?: DeleteKnowledgeSourceFileOptions): Promise<void>;
|
|
284
311
|
/**
|
|
285
312
|
* Retrieves the SearchClient corresponding to this SearchIndexClient
|
|
286
313
|
* @param indexName - Name of the index
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchIndexClient.d.ts","sourceRoot":"","sources":["../../src/searchIndexClient.ts"],"names":[],"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AAqB,CAAC;IAUjC;;;;;;OAMG;IACU,yBAAyB,CACpC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,UAAU,EAChB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,GAAE,gCAAqC,GAC7C,OAAO,CAAC,mBAAmB,CAAC;IAe/B;;;;OAIG;IACI,wBAAwB,CAC7B,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,+BAAoC,GAC5C,0BAA0B,CAAC,mBAAmB,CAAC;IAIlD;;;;;OAKG;IACU,yBAAyB,CACpC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,gCAAqC,GAC7C,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;;OAOG;IACI,eAAe,CAAC,MAAM,SAAS,MAAM,EAC1C,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,sBAAsB,GAC/B,YAAY,CAAC,MAAM,CAAC;IASvB;;;;OAIG;IACI,2BAA2B,CAChC,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,wBAAwB;CAQ5B"}
|
|
@@ -106,6 +106,13 @@ export class SearchIndexClient {
|
|
|
106
106
|
listIndexes(options = {}) {
|
|
107
107
|
return utils.mapPagedAsyncIterable(this.client.listIndexes(options), utils.generatedIndexToPublicIndex);
|
|
108
108
|
}
|
|
109
|
+
/**
|
|
110
|
+
* Retrieves a summary of statistics for all indexes in the search service.
|
|
111
|
+
* @param options - Options to the list index stats summary operation.
|
|
112
|
+
*/
|
|
113
|
+
listIndexStatsSummary(options = {}) {
|
|
114
|
+
return this.client.listIndexStatsSummary(options);
|
|
115
|
+
}
|
|
109
116
|
/**
|
|
110
117
|
* Lists all aliases available for a search service.
|
|
111
118
|
* @param options - The options parameters.
|
|
@@ -443,6 +450,37 @@ export class SearchIndexClient {
|
|
|
443
450
|
return this.client.getKnowledgeSourceStatus(sourceName, updatedOptions);
|
|
444
451
|
});
|
|
445
452
|
}
|
|
453
|
+
/**
|
|
454
|
+
* Uploads a file to a File knowledge source for processing and indexing.
|
|
455
|
+
* @param name - The name of the knowledge source.
|
|
456
|
+
* @param file - The file contents.
|
|
457
|
+
* @param contentDisposition - The content-disposition header value (e.g., 'attachment; filename="example.pdf"').
|
|
458
|
+
* @param options - The options parameters.
|
|
459
|
+
*/
|
|
460
|
+
async uploadKnowledgeSourceFile(name, file, contentDisposition, options = {}) {
|
|
461
|
+
return tracingClient.withSpan("SearchIndexClient-uploadKnowledgeSourceFile", options, async (updatedOptions) => {
|
|
462
|
+
return this.client.uploadKnowledgeSourceFile(contentDisposition, file, name, updatedOptions);
|
|
463
|
+
});
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Lists all files in a File knowledge source.
|
|
467
|
+
* @param name - The name of the knowledge source.
|
|
468
|
+
* @param options - The options parameters.
|
|
469
|
+
*/
|
|
470
|
+
listKnowledgeSourceFiles(name, options = {}) {
|
|
471
|
+
return this.client.listKnowledgeSourceFiles(name, options);
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* Deletes a file from a File knowledge source and removes all indexed content derived from it.
|
|
475
|
+
* @param name - The name of the knowledge source.
|
|
476
|
+
* @param fileId - The file identifier.
|
|
477
|
+
* @param options - The options parameters.
|
|
478
|
+
*/
|
|
479
|
+
async deleteKnowledgeSourceFile(name, fileId, options = {}) {
|
|
480
|
+
return tracingClient.withSpan("SearchIndexClient-deleteKnowledgeSourceFile", options, async (updatedOptions) => {
|
|
481
|
+
return this.client.deleteKnowledgeSourceFile(fileId, name, updatedOptions);
|
|
482
|
+
});
|
|
483
|
+
}
|
|
446
484
|
/**
|
|
447
485
|
* Retrieves the SearchClient corresponding to this SearchIndexClient
|
|
448
486
|
* @param indexName - Name of the index
|