@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
|
@@ -4,7 +4,7 @@ import type { SearchResult, SelectFields, SuggestDocumentsResult } from "./index
|
|
|
4
4
|
import type { KnowledgeBase } from "./knowledgeBaseModels.js";
|
|
5
5
|
import type { CognitiveServicesAccount, DataChangeDetectionPolicy, DataDeletionDetectionPolicy, FacetResult, KnowledgeSource, KnowledgeSourceVectorizer, QueryAnswerResult, QueryCaptionResult, SearchField, SearchIndex, SearchIndexer, SearchIndexerDataIdentity, SearchIndexerDataSourceConnection, SearchIndexerSkill, SearchIndexerSkillset, SimilarityAlgorithm, SynonymMap, TokenFilter, VectorSearch, VectorSearchAlgorithmConfiguration, VectorSearchVectorizer } from "./serviceModels.js";
|
|
6
6
|
import type { PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
|
|
7
|
-
export declare const defaultServiceVersion = "2026-
|
|
7
|
+
export declare const defaultServiceVersion = "2026-05-01-preview";
|
|
8
8
|
export declare function convertSkillsToPublic(skills: SearchIndexerSkillUnion[]): SearchIndexerSkill[];
|
|
9
9
|
export declare function convertCognitiveServicesAccountToGenerated(cognitiveServicesAccount?: CognitiveServicesAccount): CognitiveServicesAccountUnion | undefined;
|
|
10
10
|
export declare function convertCognitiveServicesAccountToPublic(cognitiveServicesAccount?: CognitiveServicesAccountUnion): CognitiveServicesAccount | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceUtils.d.ts","sourceRoot":"","sources":["../../src/serviceUtils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,IAAI,qBAAqB,EACrC,sBAAsB,IAAI,+BAA+B,EACzD,WAAW,EACX,eAAe,EACf,WAAW,IAAI,oBAAoB,EACnC,iBAAiB,IAAI,0BAA0B,EAC/C,kBAAkB,IAAI,2BAA2B,EAClD,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"serviceUtils.d.ts","sourceRoot":"","sources":["../../src/serviceUtils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,IAAI,qBAAqB,EACrC,sBAAsB,IAAI,+BAA+B,EACzD,WAAW,EACX,eAAe,EACf,WAAW,IAAI,oBAAoB,EACnC,iBAAiB,IAAI,0BAA0B,EAC/C,kBAAkB,IAAI,2BAA2B,EAClD,MAAM,0CAA0C,CAAC;AAClD,OAAO,KAAK,EAKV,6BAA6B,EAC7B,8BAA8B,EAC9B,gCAAgC,EAchC,aAAa,IAAI,sBAAsB,EAGvC,oBAAoB,IAAI,wBAAwB,EAGhD,WAAW,IAAI,oBAAoB,EACnC,WAAW,IAAI,oBAAoB,EACnC,aAAa,IAAI,sBAAsB,EACvC,iCAAiC,IAAI,0CAA0C,EAC/E,qBAAqB,IAAI,8BAA8B,EAGvD,UAAU,IAAI,mBAAmB,EACjC,YAAY,IAAI,qBAAqB,EACrC,uCAAuC,IAAI,2CAA2C,EACtF,2BAA2B,IAAI,+BAA+B,EAO9D,8BAA8B,EAG9B,uBAAuB,EACvB,wBAAwB,IAAI,eAAe,EAI3C,gBAAgB,EACjB,MAAM,kDAAkD,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,sBAAsB,EAEvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,KAAK,EAW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AGG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC,GAAG,SAAS,GACzD,MAAM,CAAC,MAAM,EAAE,WAAW,EAAE,CAAC,GAAG,SAAS,CAS3C;AAED;;;;GAIG;AACH,wBAAgB,yCAAyC,CACvD,YAAY,EAAE,0BAA0B,GACvC,iBAAiB,CAOnB;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,0BAA0B,EAAE,GAAG,SAAS,GAChD,iBAAiB,EAAE,GAAG,SAAS,CAKjC;AAED;;;;GAIG;AACH,wBAAgB,0CAA0C,CACxD,aAAa,EAAE,2BAA2B,GACzC,kBAAkB,CAOpB;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAC9C,QAAQ,EAAE,2BAA2B,EAAE,GAAG,SAAS,GAClD,kBAAkB,EAAE,GAAG,SAAS,CAKlC"}
|
|
@@ -61,7 +61,7 @@ __export(serviceUtils_exports, {
|
|
|
61
61
|
module.exports = __toCommonJS(serviceUtils_exports);
|
|
62
62
|
var import_logger = require("./logger.js");
|
|
63
63
|
var import_serviceModels = require("./serviceModels.js");
|
|
64
|
-
const defaultServiceVersion = "2026-
|
|
64
|
+
const defaultServiceVersion = "2026-05-01-preview";
|
|
65
65
|
const knownSkills = {
|
|
66
66
|
"#Microsoft.Skills.Custom.ChatCompletionSkill": true,
|
|
67
67
|
"#Microsoft.Skills.Custom.WebApiSkill": true,
|
|
@@ -220,6 +220,7 @@ function convertFieldsToPublic(fields) {
|
|
|
220
220
|
const hidden = typeof retrievable === "boolean" ? !retrievable : retrievable;
|
|
221
221
|
const result = {
|
|
222
222
|
...restField,
|
|
223
|
+
hasSensitivityLabel: field.sensitivityLabelId,
|
|
223
224
|
type,
|
|
224
225
|
hidden,
|
|
225
226
|
synonymMapNames
|
|
@@ -251,7 +252,8 @@ function convertFieldsToGenerated(fields) {
|
|
|
251
252
|
searchAnalyzerName: field.searchAnalyzerName,
|
|
252
253
|
indexAnalyzerName: field.indexAnalyzerName,
|
|
253
254
|
synonymMapNames: field.synonymMapNames,
|
|
254
|
-
normalizerName: field.normalizerName
|
|
255
|
+
normalizerName: field.normalizerName,
|
|
256
|
+
sensitivityLabelId: field.hasSensitivityLabel
|
|
255
257
|
};
|
|
256
258
|
}
|
|
257
259
|
});
|
|
@@ -291,6 +293,7 @@ function convertEncryptionKeyToPublic(encryptionKey) {
|
|
|
291
293
|
keyVersion: encryptionKey.keyVersion,
|
|
292
294
|
vaultUrl: encryptionKey.vaultUri,
|
|
293
295
|
identity: convertSearchIndexerDataIdentityToPublic(encryptionKey.identity),
|
|
296
|
+
isServiceLevelKey: encryptionKey.isServiceLevelKey,
|
|
294
297
|
applicationId: encryptionKey.applicationId,
|
|
295
298
|
applicationSecret: encryptionKey.applicationSecret
|
|
296
299
|
};
|
|
@@ -305,6 +308,7 @@ function convertEncryptionKeyToGenerated(encryptionKey) {
|
|
|
305
308
|
keyVersion: encryptionKey.keyVersion,
|
|
306
309
|
vaultUri: encryptionKey.vaultUrl,
|
|
307
310
|
identity: encryptionKey.identity,
|
|
311
|
+
isServiceLevelKey: encryptionKey.isServiceLevelKey,
|
|
308
312
|
applicationId: encryptionKey.applicationId,
|
|
309
313
|
applicationSecret: encryptionKey.applicationSecret
|
|
310
314
|
};
|
|
@@ -602,6 +606,7 @@ function publicDataSourceToGeneratedDataSource(dataSource) {
|
|
|
602
606
|
connectionString: dataSource.connectionString,
|
|
603
607
|
container: dataSource.container,
|
|
604
608
|
identity: dataSource.identity,
|
|
609
|
+
indexerPermissionOptions: dataSource.indexerPermissionOptions,
|
|
605
610
|
eTag: dataSource.etag,
|
|
606
611
|
dataChangeDetectionPolicy: dataSource.dataChangeDetectionPolicy,
|
|
607
612
|
dataDeletionDetectionPolicy: dataSource.dataDeletionDetectionPolicy,
|
|
@@ -616,6 +621,7 @@ function generatedDataSourceToPublicDataSource(dataSource) {
|
|
|
616
621
|
connectionString: dataSource.connectionString,
|
|
617
622
|
container: dataSource.container,
|
|
618
623
|
identity: convertSearchIndexerDataIdentityToPublic(dataSource.identity),
|
|
624
|
+
indexerPermissionOptions: dataSource.indexerPermissionOptions,
|
|
619
625
|
etag: dataSource.eTag,
|
|
620
626
|
dataChangeDetectionPolicy: convertDataChangeDetectionPolicyToPublic(
|
|
621
627
|
dataSource.dataChangeDetectionPolicy
|
|
@@ -658,7 +664,18 @@ function convertKnowledgeStoreToPublic(knowledgeStore) {
|
|
|
658
664
|
}
|
|
659
665
|
return {
|
|
660
666
|
...knowledgeStore,
|
|
661
|
-
identity: convertSearchIndexerDataIdentityToPublic(knowledgeStore.identity)
|
|
667
|
+
identity: convertSearchIndexerDataIdentityToPublic(knowledgeStore.identity),
|
|
668
|
+
parameters: convertKnowledgeStoreParametersToPublic(knowledgeStore.parameters)
|
|
669
|
+
};
|
|
670
|
+
}
|
|
671
|
+
function convertKnowledgeStoreParametersToPublic(parameters) {
|
|
672
|
+
if (!parameters) {
|
|
673
|
+
return void 0;
|
|
674
|
+
}
|
|
675
|
+
const { additionalProperties, synthesizeGeneratedKeyName } = parameters;
|
|
676
|
+
return {
|
|
677
|
+
...additionalProperties ?? {},
|
|
678
|
+
synthesizeGeneratedKeyName
|
|
662
679
|
};
|
|
663
680
|
}
|
|
664
681
|
function convertKnowledgeBaseToPublic(knowledgeBase) {
|
|
@@ -728,6 +745,20 @@ function convertKnowledgeSourceToPublic(knowledgeSource) {
|
|
|
728
745
|
encryptionKey: convertEncryptionKeyToPublic(encryptionKey)
|
|
729
746
|
};
|
|
730
747
|
}
|
|
748
|
+
case "indexedSharePoint":
|
|
749
|
+
case "remoteSharePoint":
|
|
750
|
+
case "workIQ":
|
|
751
|
+
case "mcpServer":
|
|
752
|
+
case "indexedSql":
|
|
753
|
+
case "file":
|
|
754
|
+
case "fabricDataAgent":
|
|
755
|
+
case "fabricOntology": {
|
|
756
|
+
const { encryptionKey } = knowledgeSource;
|
|
757
|
+
return {
|
|
758
|
+
...knowledgeSource,
|
|
759
|
+
encryptionKey: convertEncryptionKeyToPublic(encryptionKey)
|
|
760
|
+
};
|
|
761
|
+
}
|
|
731
762
|
default: {
|
|
732
763
|
import_logger.logger.warning(`Unknown knowledge source kind ${knowledgeSource.kind}`);
|
|
733
764
|
return void 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/serviceUtils.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n SearchResult as GeneratedSearchResult,\n SuggestDocumentsResult as GeneratedSuggestDocumentsResult,\n IndexAction,\n IndexActionType,\n FacetResult as GeneratedFacetResult,\n QueryAnswerResult as GeneratedQueryAnswerResult,\n QueryCaptionResult as GeneratedQueryCaptionResult,\n} from \"./models/azure/search/documents/index.js\";\nimport type {\n SearchIndexerKnowledgeStore as BaseSearchIndexerKnowledgeStore,\n BM25Similarity,\n ClassicSimilarity,\n CognitiveServicesAccountUnion,\n DataChangeDetectionPolicyUnion,\n DataDeletionDetectionPolicyUnion,\n AIServicesAccountIdentity as GeneratedAIServicesAccountIdentity,\n AIServicesAccountKey as GeneratedAIServicesAccountKey,\n AzureMachineLearningParameters as GeneratedAMLParameters,\n AzureMachineLearningVectorizer as GeneratedAMLVectorizer,\n AzureBlobKnowledgeSource as GeneratedAzureBlobKnowledgeSource,\n AzureBlobKnowledgeSourceParameters as GeneratedAzureBlobKnowledgeSourceParameters,\n AzureOpenAIVectorizerParameters as GeneratedAzureOpenAIParameters,\n AzureOpenAIVectorizer as GeneratedAzureOpenAIVectorizer,\n CognitiveServicesAccountKey as GeneratedCognitiveServicesAccountKey,\n DefaultCognitiveServicesAccount as GeneratedDefaultCognitiveServicesAccount,\n ExhaustiveKnnAlgorithmConfiguration as GeneratedExhaustiveKnnAlgorithmConfiguration,\n HnswAlgorithmConfiguration as GeneratedHnswAlgorithmConfiguration,\n IndexedOneLakeKnowledgeSource as GeneratedIndexedOneLakeKnowledgeSource,\n KnowledgeBase as GeneratedKnowledgeBase,\n KnowledgeBaseAzureOpenAIModel as GeneratedKnowledgeBaseAzureOpenAIModel,\n KnowledgeBaseModelUnion as GeneratedKnowledgeBaseModel,\n KnowledgeSourceUnion as GeneratedKnowledgeSource,\n // KnowledgeSourceVectorizer as GeneratedKnowledgeSourceVectorizer,\n // PatternAnalyzer as GeneratedPatternAnalyzer,\n SearchField as GeneratedSearchField,\n SearchIndex as GeneratedSearchIndex,\n SearchIndexer as GeneratedSearchIndexer,\n SearchIndexerDataSourceConnection as GeneratedSearchIndexerDataSourceConnection,\n SearchIndexerSkillset as GeneratedSearchIndexerSkillset,\n SearchIndexKnowledgeSource as GeneratedSearchIndexKnowledgeSource,\n SearchResourceEncryptionKey as GeneratedSearchResourceEncryptionKey,\n SynonymMap as GeneratedSynonymMap,\n VectorSearch as GeneratedVectorSearch,\n VectorSearchAlgorithmConfigurationUnion as GeneratedVectorSearchAlgorithmConfiguration,\n VectorSearchVectorizerUnion as GeneratedVectorSearchVectorizer,\n WebApiVectorizer as GeneratedWebApiVectorizer,\n WebKnowledgeSource as GeneratedWebKnowledgeSource,\n HighWaterMarkChangeDetectionPolicy,\n LexicalAnalyzerUnion,\n LexicalTokenizerUnion,\n LuceneStandardAnalyzer,\n SearchIndexerDataIdentityUnion,\n SearchIndexerDataNoneIdentity,\n SearchIndexerDataUserAssignedIdentity,\n SearchIndexerSkillUnion,\n SimilarityAlgorithmUnion as SimilarityUnion,\n SoftDeleteColumnDeletionDetectionPolicy,\n SqlIntegratedChangeTrackingPolicy,\n StopAnalyzer,\n TokenFilterUnion,\n} from \"./models/azure/search/documents/indexes/index.js\";\nimport type {\n SearchResult,\n SelectFields,\n SuggestDocumentsResult,\n SuggestResult,\n} from \"./indexModels.js\";\nimport type { KnowledgeBase } from \"./knowledgeBaseModels.js\";\nimport { logger } from \"./logger.js\";\nimport type {\n AzureBlobKnowledgeSourceParameters,\n AzureMachineLearningVectorizer,\n AzureMachineLearningVectorizerParameters,\n AzureOpenAIParameters,\n AzureOpenAIVectorizer,\n BlobIndexerDataToExtract,\n BlobIndexerImageAction,\n BlobIndexerParsingMode,\n BlobIndexerPDFTextRotationAlgorithm,\n CharFilter,\n CognitiveServicesAccount,\n ComplexField,\n DataChangeDetectionPolicy,\n DataDeletionDetectionPolicy,\n FacetResult,\n IndexerExecutionEnvironment,\n IndexingParameters,\n IndexingParametersConfiguration,\n KeyAuthAzureMachineLearningVectorizerParameters,\n KnowledgeBaseModel,\n KnowledgeSource,\n KnowledgeSourceIngestionParameters,\n KnowledgeSourceVectorizer,\n LexicalAnalyzer,\n LexicalTokenizer,\n NoAuthAzureMachineLearningVectorizerParameters,\n PatternAnalyzer,\n QueryAnswerResult,\n QueryCaptionResult,\n ScoringProfile,\n SearchField,\n SearchFieldDataType,\n SearchIndex,\n SearchIndexer,\n SearchIndexerDataIdentity,\n SearchIndexerDataSourceConnection,\n SearchIndexerDataSourceType,\n SearchIndexerIndexProjection,\n SearchIndexerKnowledgeStore,\n SearchIndexerSkill,\n SearchIndexerSkillset,\n SearchResourceEncryptionKey,\n SimilarityAlgorithm,\n SimpleField,\n SynonymMap,\n TokenAuthAzureMachineLearningVectorizerParameters,\n TokenFilter,\n VectorSearch,\n VectorSearchAlgorithmConfiguration,\n VectorSearchAlgorithmMetric,\n VectorSearchVectorizer,\n WebApiParameters,\n WebApiVectorizer,\n} from \"./serviceModels.js\";\nimport { isComplexField } from \"./serviceModels.js\";\nimport type { PagedAsyncIterableIterator } from \"./static-helpers/pagingHelpers.js\";\nimport type { KnowledgeSourceIngestionParameters as GeneratedKnowledgeSourceIngestionParameters } from \"./models/azure/search/documents/knowledgeBases/index.js\";\n\nexport const defaultServiceVersion = \"2026-04-01\";\n\nconst knownSkills: Record<`${SearchIndexerSkillUnion[\"odatatype\"]}`, true> = {\n \"#Microsoft.Skills.Custom.ChatCompletionSkill\": true,\n \"#Microsoft.Skills.Custom.WebApiSkill\": true,\n \"#Microsoft.Skills.Text.AzureOpenAIEmbeddingSkill\": true,\n \"#Microsoft.Skills.Text.CustomEntityLookupSkill\": true,\n \"#Microsoft.Skills.Text.EntityRecognitionSkill\": true,\n \"#Microsoft.Skills.Text.KeyPhraseExtractionSkill\": true,\n \"#Microsoft.Skills.Text.LanguageDetectionSkill\": true,\n \"#Microsoft.Skills.Text.MergeSkill\": true,\n \"#Microsoft.Skills.Text.PIIDetectionSkill\": true,\n \"#Microsoft.Skills.Text.SentimentSkill\": true,\n \"#Microsoft.Skills.Text.SplitSkill\": true,\n \"#Microsoft.Skills.Text.TranslationSkill\": true,\n \"#Microsoft.Skills.Text.V3.EntityLinkingSkill\": true,\n \"#Microsoft.Skills.Text.V3.EntityRecognitionSkill\": true,\n \"#Microsoft.Skills.Text.V3.SentimentSkill\": true,\n \"#Microsoft.Skills.Util.ConditionalSkill\": true,\n \"#Microsoft.Skills.Util.DocumentExtractionSkill\": true,\n \"#Microsoft.Skills.Util.ShaperSkill\": true,\n \"#Microsoft.Skills.Vision.ImageAnalysisSkill\": true,\n \"#Microsoft.Skills.Vision.OcrSkill\": true,\n \"#Microsoft.Skills.Custom.AmlSkill\": true,\n \"#Microsoft.Skills.Vision.VectorizeSkill\": true,\n \"#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill\": true,\n \"#Microsoft.Skills.Util.ContentUnderstandingSkill\": true,\n};\n\nexport function convertSkillsToPublic(skills: SearchIndexerSkillUnion[]): SearchIndexerSkill[] {\n if (!skills) {\n return [];\n }\n\n // This validation has already GAed\n return skills.filter((skill): skill is SearchIndexerSkill => knownSkills[skill.odatatype]);\n}\n\nexport function convertCognitiveServicesAccountToGenerated(\n cognitiveServicesAccount?: CognitiveServicesAccount,\n): CognitiveServicesAccountUnion | undefined {\n if (!cognitiveServicesAccount) {\n return cognitiveServicesAccount;\n }\n\n switch (cognitiveServicesAccount.odatatype) {\n case \"#Microsoft.Azure.Search.AIServicesByIdentity\":\n case \"#Microsoft.Azure.Search.DefaultCognitiveServices\":\n case \"#Microsoft.Azure.Search.CognitiveServicesByKey\":\n case \"#Microsoft.Azure.Search.AIServicesByKey\":\n return cognitiveServicesAccount;\n default: {\n logger.warning(\n `Unsupported Cognitive Services account odatatype: ${(cognitiveServicesAccount as any).odatatype}`,\n );\n return cognitiveServicesAccount as any;\n }\n }\n}\n\nexport function convertCognitiveServicesAccountToPublic(\n cognitiveServicesAccount?: CognitiveServicesAccountUnion,\n): CognitiveServicesAccount | undefined {\n if (!cognitiveServicesAccount) {\n return undefined;\n }\n\n const deserializers: Record<\n CognitiveServicesAccountUnion[\"odatatype\"],\n () => CognitiveServicesAccount\n > = {\n \"#Microsoft.Azure.Search.DefaultCognitiveServices\": () => {\n return cognitiveServicesAccount as GeneratedDefaultCognitiveServicesAccount;\n },\n \"#Microsoft.Azure.Search.CognitiveServicesByKey\": () => {\n return cognitiveServicesAccount as GeneratedCognitiveServicesAccountKey;\n },\n \"#Microsoft.Azure.Search.AIServicesByKey\": () => {\n return cognitiveServicesAccount as GeneratedAIServicesAccountKey;\n },\n \"#Microsoft.Azure.Search.AIServicesByIdentity\": () => {\n const { identity, ...restParams } =\n cognitiveServicesAccount as GeneratedAIServicesAccountIdentity;\n return {\n ...restParams,\n identity: convertSearchIndexerDataIdentityToPublic(identity),\n };\n },\n };\n\n const defaultDeserializer: () => CognitiveServicesAccount = () => {\n logger.warning(\n `Unsupported Cognitive Services account odatatype: ${(cognitiveServicesAccount as CognitiveServicesAccount).odatatype}`,\n );\n return cognitiveServicesAccount as CognitiveServicesAccount;\n };\n\n return (deserializers[cognitiveServicesAccount.odatatype] ?? defaultDeserializer)();\n}\n\nexport function convertTokenFiltersToGenerated(\n tokenFilters?: TokenFilter[],\n): TokenFilterUnion[] | undefined {\n if (!tokenFilters) {\n return tokenFilters;\n }\n\n const result: TokenFilterUnion[] = [];\n for (const filter of tokenFilters) {\n result.push(filter);\n }\n\n return result;\n}\n\nfunction convertAnalyzersToGenerated(\n analyzers?: LexicalAnalyzer[],\n): LexicalAnalyzerUnion[] | undefined {\n if (!analyzers) {\n return analyzers;\n }\n\n const result: LexicalAnalyzerUnion[] = [];\n for (const analyzer of analyzers) {\n switch (analyzer.odatatype) {\n case \"#Microsoft.Azure.Search.StandardAnalyzer\":\n case \"#Microsoft.Azure.Search.StopAnalyzer\":\n result.push(analyzer);\n break;\n case \"#Microsoft.Azure.Search.PatternAnalyzer\":\n result.push(analyzer);\n break;\n case \"#Microsoft.Azure.Search.CustomAnalyzer\":\n result.push({\n ...analyzer,\n tokenizer: analyzer.tokenizerName,\n });\n break;\n }\n }\n return result;\n}\n\nfunction convertAnalyzersToPublic(\n analyzers?: LexicalAnalyzerUnion[],\n): LexicalAnalyzer[] | undefined {\n if (!analyzers) {\n return undefined;\n }\n\n const result: LexicalAnalyzer[] = [];\n for (const analyzer of analyzers) {\n switch (analyzer.odatatype) {\n case \"#Microsoft.Azure.Search.StandardAnalyzer\":\n result.push(analyzer as LuceneStandardAnalyzer);\n break;\n case \"#Microsoft.Azure.Search.StopAnalyzer\":\n result.push(analyzer as StopAnalyzer);\n break;\n case \"#Microsoft.Azure.Search.PatternAnalyzer\":\n result.push({\n ...analyzer,\n } as PatternAnalyzer);\n break;\n case \"#Microsoft.Azure.Search.CustomAnalyzer\":\n result.push(analyzer as LexicalAnalyzer);\n break;\n }\n }\n return result;\n}\n\nexport function convertFieldsToPublic(fields?: GeneratedSearchField[]): SearchField[] | undefined {\n if (!fields) {\n return undefined;\n }\n\n return fields.map<SearchField>((field): SearchField => {\n if (field.type === \"Collection(Edm.ComplexType)\" || field.type === \"Edm.ComplexType\") {\n const result: ComplexField = {\n name: field.name,\n type: field.type,\n fields: convertFieldsToPublic(field.fields!),\n };\n return result;\n } else {\n const type: SearchFieldDataType = field.type as SearchFieldDataType;\n const synonymMapNames: string[] | undefined = field.synonymMapNames;\n\n const { retrievable, ...restField } = field;\n const hidden = typeof retrievable === \"boolean\" ? !retrievable : retrievable;\n\n const result: SimpleField = {\n ...restField,\n type,\n hidden,\n synonymMapNames,\n };\n return result;\n }\n });\n}\n\nexport function convertFieldsToGenerated(\n fields: SearchField[] | undefined,\n): GeneratedSearchField[] | undefined {\n return fields?.map<GeneratedSearchField>((field) => {\n if (isComplexField(field)) {\n return {\n name: field.name,\n type: field.type,\n fields: convertFieldsToGenerated(field.fields),\n };\n } else {\n const { hidden, ...restField } = field;\n const retrievable = typeof hidden === \"boolean\" ? !hidden : hidden;\n return {\n ...restField,\n retrievable,\n // modify API defaults to use less storage for simple types\n searchable: field.searchable ?? false,\n filterable: field.filterable ?? false,\n facetable: field.facetable ?? false,\n sortable: field.sortable ?? false,\n analyzerName: field.analyzerName,\n searchAnalyzerName: field.searchAnalyzerName,\n indexAnalyzerName: field.indexAnalyzerName,\n synonymMapNames: field.synonymMapNames,\n normalizerName: field.normalizerName,\n };\n }\n });\n}\n\nfunction convertTokenizersToPublic(\n tokenizers?: LexicalTokenizerUnion[],\n): LexicalTokenizer[] | undefined {\n if (!tokenizers) {\n return undefined;\n }\n\n const result: LexicalTokenizer[] = [];\n for (const tokenizer of tokenizers) {\n result.push(tokenizer as LexicalTokenizer);\n }\n return result;\n}\n\nexport function convertSimilarityToGenerated(\n similarity?: SimilarityAlgorithm,\n): SimilarityUnion | undefined {\n if (!similarity) {\n return similarity;\n }\n\n return similarity as SimilarityUnion;\n}\n\nexport function convertSimilarityToPublic(\n similarity?: SimilarityUnion,\n): SimilarityAlgorithm | undefined {\n if (!similarity) {\n return undefined;\n }\n\n if (similarity.odatatype === \"#Microsoft.Azure.Search.ClassicSimilarity\") {\n return similarity as ClassicSimilarity;\n } else {\n return similarity as BM25Similarity;\n }\n}\n\nfunction convertEncryptionKeyToPublic(\n encryptionKey?: GeneratedSearchResourceEncryptionKey,\n): SearchResourceEncryptionKey | undefined {\n if (!encryptionKey) {\n return undefined;\n }\n\n const result: SearchResourceEncryptionKey = {\n keyName: encryptionKey.keyName,\n keyVersion: encryptionKey.keyVersion,\n vaultUrl: encryptionKey.vaultUri,\n identity: convertSearchIndexerDataIdentityToPublic(encryptionKey.identity),\n applicationId: encryptionKey.applicationId,\n applicationSecret: encryptionKey.applicationSecret,\n };\n\n return result;\n}\n\nfunction convertEncryptionKeyToGenerated(\n encryptionKey?: SearchResourceEncryptionKey,\n): GeneratedSearchResourceEncryptionKey | undefined {\n if (!encryptionKey) {\n return undefined;\n }\n\n const result: GeneratedSearchResourceEncryptionKey = {\n keyName: encryptionKey.keyName,\n keyVersion: encryptionKey.keyVersion,\n vaultUri: encryptionKey.vaultUrl,\n identity: encryptionKey.identity,\n applicationId: encryptionKey.applicationId,\n applicationSecret: encryptionKey.applicationSecret,\n };\n\n return result;\n}\n\nexport function generatedIndexToPublicIndex(generatedIndex: GeneratedSearchIndex): SearchIndex {\n const {\n charFilters,\n tokenFilters,\n scoringProfiles,\n encryptionKey,\n analyzers,\n tokenizers,\n fields,\n similarity,\n vectorSearch,\n ...rest\n } = generatedIndex;\n return {\n ...rest,\n scoringProfiles: scoringProfiles as ScoringProfile[],\n tokenFilters: tokenFilters as TokenFilter[],\n charFilters: charFilters as CharFilter[],\n encryptionKey: convertEncryptionKeyToPublic(encryptionKey),\n analyzers: convertAnalyzersToPublic(analyzers),\n tokenizers: convertTokenizersToPublic(tokenizers),\n fields: convertFieldsToPublic(fields),\n similarity: convertSimilarityToPublic(similarity),\n vectorSearch: generatedVectorSearchToPublicVectorSearch(vectorSearch),\n } as SearchIndex;\n}\n\nexport function generatedVectorSearchVectorizerToPublicVectorizer(): undefined;\nexport function generatedVectorSearchVectorizerToPublicVectorizer(\n generatedVectorizer: GeneratedVectorSearchVectorizer,\n): VectorSearchVectorizer;\nexport function generatedVectorSearchVectorizerToPublicVectorizer(\n generatedVectorizer?: GeneratedVectorSearchVectorizer,\n): VectorSearchVectorizer | undefined {\n if (!generatedVectorizer) {\n return undefined;\n }\n\n const knownVectorizerDeserializers: Record<\n VectorSearchVectorizer[\"kind\"],\n () => VectorSearchVectorizer\n > = {\n azureOpenAI: () => {\n const { parameters } = generatedVectorizer as GeneratedAzureOpenAIVectorizer;\n const authIdentity = convertSearchIndexerDataIdentityToPublic(parameters?.authIdentity);\n const vectorizer: AzureOpenAIVectorizer = {\n ...(generatedVectorizer as GeneratedAzureOpenAIVectorizer),\n parameters: { ...parameters, authIdentity },\n };\n return vectorizer;\n },\n\n customWebApi: () => {\n const { webApiParameters } = generatedVectorizer as GeneratedWebApiVectorizer;\n const authIdentity = convertSearchIndexerDataIdentityToPublic(webApiParameters?.authIdentity);\n const vectorizer: WebApiVectorizer = {\n ...(generatedVectorizer as GeneratedWebApiVectorizer),\n parameters: { ...webApiParameters, authIdentity } as WebApiParameters,\n };\n return vectorizer;\n },\n\n aml: () => {\n const generatedAMLVectorizer = generatedVectorizer as GeneratedAMLVectorizer;\n\n const vectorizer: AzureMachineLearningVectorizer = {\n ...generatedAMLVectorizer,\n amlParameters:\n generatedAzureMachineLearningVectorizerParametersToPublicAzureMachineLearningVectorizerParameters(\n generatedAMLVectorizer.amlParameters,\n ),\n };\n\n return vectorizer;\n },\n };\n const defaultDeserializer = (): any => {\n logger.warning(`Unsupported vectorizer kind: ${(generatedVectorizer as any).kind}`);\n return generatedVectorizer as any;\n };\n\n return (\n knownVectorizerDeserializers[\n generatedVectorizer.kind as keyof typeof knownVectorizerDeserializers\n ] ?? defaultDeserializer\n )();\n}\n\nexport function generatedKnowledgeSourceVectorizerToPublicVectorizer(): undefined;\nexport function generatedKnowledgeSourceVectorizerToPublicVectorizer(\n generatedVectorizer: any,\n): KnowledgeSourceVectorizer;\nexport function generatedKnowledgeSourceVectorizerToPublicVectorizer(\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n generatedVectorizer?: /* GeneratedKnowledgeSourceVectorizer */ any,\n): KnowledgeSourceVectorizer | undefined {\n if (!generatedVectorizer) {\n return generatedVectorizer;\n }\n\n const knownVectorizerDeserializers: Record<\n KnowledgeSourceVectorizer[\"kind\"],\n () => KnowledgeSourceVectorizer\n > = {\n azureOpenAI: () => {\n const { parameters } = generatedVectorizer as GeneratedAzureOpenAIVectorizer;\n const authIdentity = convertSearchIndexerDataIdentityToPublic(parameters?.authIdentity);\n const vectorizer: AzureOpenAIVectorizer = {\n ...(generatedVectorizer as GeneratedAzureOpenAIVectorizer),\n parameters: { ...parameters, authIdentity },\n };\n return vectorizer;\n },\n };\n const defaultDeserializer = (): any => {\n logger.warning(`Unsupported vectorizer kind: ${(generatedVectorizer as any).kind}`);\n return generatedVectorizer as any;\n };\n\n return (\n knownVectorizerDeserializers[\n generatedVectorizer.kind as keyof typeof knownVectorizerDeserializers\n ] ?? defaultDeserializer\n )();\n}\n\nfunction generatedAzureMachineLearningVectorizerParametersToPublicAzureMachineLearningVectorizerParameters(\n aMLParameters?: GeneratedAMLParameters,\n): AzureMachineLearningVectorizerParameters | undefined {\n if (!aMLParameters) {\n return undefined;\n }\n\n const { resourceId, authenticationKey, scoringUri } = aMLParameters;\n // Sensitive to case order\n switch (true) {\n case resourceId !== undefined && resourceId !== null: {\n return {\n ...aMLParameters,\n authKind: \"token\",\n } as TokenAuthAzureMachineLearningVectorizerParameters;\n }\n case authenticationKey !== undefined && authenticationKey !== null: {\n return {\n ...aMLParameters,\n apiKey: authenticationKey,\n authKind: \"key\",\n } as KeyAuthAzureMachineLearningVectorizerParameters;\n }\n case scoringUri !== undefined && scoringUri !== null: {\n return {\n ...aMLParameters,\n authKind: \"none\",\n } as NoAuthAzureMachineLearningVectorizerParameters;\n }\n }\n logger.warning(\"Unknown AML parameter kind\");\n return aMLParameters as any;\n}\n\nexport function generatedVectorSearchAlgorithmConfigurationToPublicVectorSearchAlgorithmConfiguration(): undefined;\nexport function generatedVectorSearchAlgorithmConfigurationToPublicVectorSearchAlgorithmConfiguration(\n generatedAlgorithmConfiguration: GeneratedVectorSearchAlgorithmConfiguration,\n): VectorSearchAlgorithmConfiguration;\nexport function generatedVectorSearchAlgorithmConfigurationToPublicVectorSearchAlgorithmConfiguration(\n generatedAlgorithmConfiguration?: GeneratedVectorSearchAlgorithmConfiguration,\n): VectorSearchAlgorithmConfiguration | undefined {\n if (!generatedAlgorithmConfiguration) {\n return undefined;\n }\n\n if ([\"hnsw\", \"exhaustiveKnn\"].includes(generatedAlgorithmConfiguration.kind)) {\n const algorithmConfiguration = generatedAlgorithmConfiguration as\n | GeneratedHnswAlgorithmConfiguration\n | GeneratedExhaustiveKnnAlgorithmConfiguration;\n const metric = algorithmConfiguration.parameters?.metric as VectorSearchAlgorithmMetric;\n return {\n ...algorithmConfiguration,\n parameters: { ...algorithmConfiguration.parameters, metric },\n };\n }\n\n throw Error(\"Unsupported algorithm configuration\");\n}\n\nexport function generatedVectorSearchToPublicVectorSearch(\n vectorSearch?: GeneratedVectorSearch,\n): VectorSearch | undefined {\n if (!vectorSearch) {\n return undefined;\n }\n\n return {\n ...vectorSearch,\n algorithms: vectorSearch.algorithms?.map(\n generatedVectorSearchAlgorithmConfigurationToPublicVectorSearchAlgorithmConfiguration,\n ),\n vectorizers: vectorSearch.vectorizers?.map(generatedVectorSearchVectorizerToPublicVectorizer),\n } as VectorSearch;\n}\n\nexport function generatedSearchResultToPublicSearchResult<\n TModel extends object,\n TFields extends SelectFields<TModel>,\n>(results: GeneratedSearchResult[]): SearchResult<TModel, TFields>[] {\n const returnValues: SearchResult<TModel, TFields>[] = results.map<SearchResult<TModel, TFields>>(\n (result) => {\n const {\n score,\n highlights,\n rerankerScore,\n rerankerBoostedScore,\n captions,\n documentDebugInfo,\n additionalProperties,\n } = result;\n const obj = {\n score,\n highlights,\n rerankerScore,\n rerankerBoostedScore,\n captions: convertGeneratedCaptionsToPublic(captions),\n documentDebugInfo,\n // The generated code puts document fields in additionalProperties\n document: additionalProperties ?? {},\n };\n return obj as SearchResult<TModel, TFields>;\n },\n );\n return returnValues;\n}\n\nexport function generatedSuggestDocumentsResultToPublicSuggestDocumentsResult<\n TModel extends object,\n TFields extends SelectFields<TModel>,\n>(searchDocumentsResult: GeneratedSuggestDocumentsResult): SuggestDocumentsResult<TModel, TFields> {\n const results = searchDocumentsResult.results.map<SuggestResult<TModel, TFields>>((element) => {\n const { text, additionalProperties } = element;\n\n const obj = {\n text,\n // The generated code puts document fields in additionalProperties\n document: additionalProperties ?? {},\n };\n\n return obj as SuggestResult<TModel, TFields>;\n });\n\n const result: SuggestDocumentsResult<TModel, TFields> = {\n results: results,\n coverage: searchDocumentsResult.coverage,\n };\n\n return result;\n}\n\nexport function publicIndexToGeneratedIndex(index: SearchIndex): GeneratedSearchIndex {\n const { encryptionKey, tokenFilters, analyzers, fields, similarity } = index;\n\n return {\n ...index,\n encryptionKey: convertEncryptionKeyToGenerated(encryptionKey),\n tokenFilters: convertTokenFiltersToGenerated(tokenFilters),\n analyzers: convertAnalyzersToGenerated(analyzers),\n fields: convertFieldsToGenerated(fields) ?? [],\n similarity: convertSimilarityToGenerated(similarity),\n };\n}\n\nexport function generatedSkillsetToPublicSkillset(\n generatedSkillset: GeneratedSearchIndexerSkillset,\n): SearchIndexerSkillset {\n const {\n skills,\n cognitiveServicesAccount,\n knowledgeStore,\n encryptionKey,\n indexProjection,\n ...props\n } = generatedSkillset;\n return {\n ...props,\n skills: convertSkillsToPublic(skills),\n cognitiveServicesAccount: convertCognitiveServicesAccountToPublic(cognitiveServicesAccount),\n knowledgeStore: convertKnowledgeStoreToPublic(knowledgeStore),\n encryptionKey: convertEncryptionKeyToPublic(encryptionKey),\n indexProjection: indexProjection as SearchIndexerIndexProjection,\n };\n}\n\nexport function publicSkillsetToGeneratedSkillset(\n skillset: SearchIndexerSkillset,\n): GeneratedSearchIndexerSkillset {\n const { cognitiveServicesAccount, encryptionKey } = skillset;\n\n return {\n ...skillset,\n cognitiveServicesAccount: convertCognitiveServicesAccountToGenerated(cognitiveServicesAccount),\n encryptionKey: convertEncryptionKeyToGenerated(encryptionKey),\n };\n}\n\nexport function generatedSynonymMapToPublicSynonymMap(synonymMap: GeneratedSynonymMap): SynonymMap {\n const result: SynonymMap = {\n name: synonymMap.name,\n encryptionKey: convertEncryptionKeyToPublic(synonymMap.encryptionKey),\n etag: synonymMap.eTag,\n synonyms: [],\n };\n\n if (synonymMap.synonyms) {\n result.synonyms = synonymMap.synonyms;\n }\n\n return result;\n}\n\nexport function publicSynonymMapToGeneratedSynonymMap(synonymMap: SynonymMap): GeneratedSynonymMap {\n const result: GeneratedSynonymMap = {\n name: synonymMap.name,\n format: \"solr\",\n encryptionKey: convertEncryptionKeyToGenerated(synonymMap.encryptionKey),\n eTag: synonymMap.etag,\n synonyms: synonymMap.synonyms,\n };\n\n result.encryptionKey = convertEncryptionKeyToGenerated(synonymMap.encryptionKey);\n\n return result;\n}\n\nexport function publicSearchIndexerToGeneratedSearchIndexer(\n indexer: SearchIndexer,\n): GeneratedSearchIndexer {\n return {\n ...indexer,\n encryptionKey: convertEncryptionKeyToGenerated(indexer.encryptionKey),\n };\n}\n\nexport function generatedSearchIndexerToPublicSearchIndexer(\n indexer: GeneratedSearchIndexer,\n): SearchIndexer {\n const {\n parsingMode,\n dataToExtract,\n imageAction,\n pdfTextRotationAlgorithm,\n executionEnvironment,\n } = indexer.parameters?.configuration ?? {};\n\n const configuration: IndexingParametersConfiguration | undefined = indexer.parameters\n ?.configuration && {\n ...indexer.parameters?.configuration,\n parsingMode: parsingMode as BlobIndexerParsingMode | undefined,\n dataToExtract: dataToExtract as BlobIndexerDataToExtract | undefined,\n imageAction: imageAction as BlobIndexerImageAction | undefined,\n pdfTextRotationAlgorithm: pdfTextRotationAlgorithm as\n | BlobIndexerPDFTextRotationAlgorithm\n | undefined,\n executionEnvironment: executionEnvironment as IndexerExecutionEnvironment | undefined,\n markdownParsingSubmode: indexer.parameters?.configuration?.markdownParsingSubmode,\n markdownHeaderDepth: indexer.parameters?.configuration?.markdownHeaderDepth,\n };\n const parameters: IndexingParameters = {\n ...indexer.parameters,\n configuration,\n batchSize: indexer.parameters?.batchSize,\n maxFailedItems: indexer.parameters?.maxFailedItems,\n maxFailedItemsPerBatch: indexer.parameters?.maxFailedItemsPerBatch,\n };\n\n return {\n ...indexer,\n parameters,\n encryptionKey: convertEncryptionKeyToPublic(indexer.encryptionKey),\n schedule: indexer.schedule,\n isDisabled: indexer.isDisabled,\n };\n}\n\nexport function publicDataSourceToGeneratedDataSource(\n dataSource: SearchIndexerDataSourceConnection,\n): GeneratedSearchIndexerDataSourceConnection {\n return {\n name: dataSource.name,\n description: dataSource.description,\n type: dataSource.type,\n connectionString: dataSource.connectionString,\n container: dataSource.container,\n identity: dataSource.identity,\n eTag: dataSource.etag,\n dataChangeDetectionPolicy: dataSource.dataChangeDetectionPolicy,\n dataDeletionDetectionPolicy: dataSource.dataDeletionDetectionPolicy,\n encryptionKey: convertEncryptionKeyToGenerated(dataSource.encryptionKey),\n };\n}\n\nexport function generatedDataSourceToPublicDataSource(\n dataSource: GeneratedSearchIndexerDataSourceConnection,\n): SearchIndexerDataSourceConnection {\n return {\n name: dataSource.name,\n description: dataSource.description,\n type: dataSource.type as SearchIndexerDataSourceType,\n connectionString: dataSource.connectionString,\n container: dataSource.container,\n identity: convertSearchIndexerDataIdentityToPublic(dataSource.identity),\n etag: dataSource.eTag,\n dataChangeDetectionPolicy: convertDataChangeDetectionPolicyToPublic(\n dataSource.dataChangeDetectionPolicy,\n ),\n dataDeletionDetectionPolicy: convertDataDeletionDetectionPolicyToPublic(\n dataSource.dataDeletionDetectionPolicy,\n ),\n encryptionKey: convertEncryptionKeyToPublic(dataSource.encryptionKey),\n };\n}\n\nexport function convertSearchIndexerDataIdentityToPublic(\n searchIndexerDataIdentity?: SearchIndexerDataIdentityUnion,\n): SearchIndexerDataIdentity | undefined {\n if (!searchIndexerDataIdentity) {\n return undefined;\n }\n\n if (searchIndexerDataIdentity.odatatype === \"#Microsoft.Azure.Search.DataNoneIdentity\") {\n return searchIndexerDataIdentity as SearchIndexerDataNoneIdentity;\n } else {\n return searchIndexerDataIdentity as SearchIndexerDataUserAssignedIdentity;\n }\n}\n\nexport function convertDataChangeDetectionPolicyToPublic(\n dataChangeDetectionPolicy?: DataChangeDetectionPolicyUnion,\n): DataChangeDetectionPolicy | undefined {\n if (!dataChangeDetectionPolicy) {\n return undefined;\n }\n\n if (\n dataChangeDetectionPolicy.odatatype ===\n \"#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy\"\n ) {\n return dataChangeDetectionPolicy as HighWaterMarkChangeDetectionPolicy;\n } else {\n return dataChangeDetectionPolicy as SqlIntegratedChangeTrackingPolicy;\n }\n}\n\nexport function convertDataDeletionDetectionPolicyToPublic(\n dataDeletionDetectionPolicy?: DataDeletionDetectionPolicyUnion,\n): DataDeletionDetectionPolicy | undefined {\n if (!dataDeletionDetectionPolicy) {\n return undefined;\n }\n\n return dataDeletionDetectionPolicy as SoftDeleteColumnDeletionDetectionPolicy;\n}\n\nfunction convertKnowledgeStoreToPublic(\n knowledgeStore: BaseSearchIndexerKnowledgeStore | undefined,\n): SearchIndexerKnowledgeStore | undefined {\n if (!knowledgeStore) {\n return undefined;\n }\n\n return {\n ...knowledgeStore,\n identity: convertSearchIndexerDataIdentityToPublic(knowledgeStore.identity),\n };\n}\n\nexport function convertKnowledgeBaseToPublic(\n knowledgeBase: GeneratedKnowledgeBase | undefined,\n): KnowledgeBase {\n if (!knowledgeBase) {\n throw new Error(\"Knowledge base is undefined\");\n }\n\n return {\n ...knowledgeBase,\n etag: knowledgeBase.etag,\n models: (knowledgeBase.models ?? []).map((model) => convertKnowledgeBaseModelToPublic(model)),\n encryptionKey: convertEncryptionKeyToPublic(knowledgeBase.encryptionKey),\n };\n}\n\nexport function convertKnowledgeBaseToGenerated(\n knowledgeBase: KnowledgeBase | undefined,\n): GeneratedKnowledgeBase | undefined {\n if (!knowledgeBase) {\n return undefined;\n }\n\n return {\n ...knowledgeBase,\n etag: knowledgeBase.etag,\n encryptionKey: convertEncryptionKeyToGenerated(knowledgeBase.encryptionKey),\n };\n}\n\nexport function convertKnowledgeSourceToPublic(\n knowledgeSource: GeneratedKnowledgeSource,\n): KnowledgeSource | undefined {\n if (!knowledgeSource) {\n return undefined;\n }\n\n switch (knowledgeSource.kind) {\n case \"searchIndex\": {\n const { encryptionKey } = knowledgeSource as GeneratedSearchIndexKnowledgeSource;\n return {\n ...knowledgeSource,\n encryptionKey: convertEncryptionKeyToPublic(encryptionKey),\n } as KnowledgeSource;\n }\n case \"azureBlob\": {\n const { encryptionKey, azureBlobParameters } =\n knowledgeSource as GeneratedAzureBlobKnowledgeSource;\n return {\n ...knowledgeSource,\n kind: \"azureBlob\",\n encryptionKey: convertEncryptionKeyToPublic(encryptionKey),\n azureBlobParameters: convertAzureBlobKnowledgeSourceParametersToPublic(azureBlobParameters),\n };\n }\n case \"indexedOneLake\": {\n const { encryptionKey, indexedOneLakeParameters } =\n knowledgeSource as GeneratedIndexedOneLakeKnowledgeSource;\n return {\n ...knowledgeSource,\n kind: \"indexedOneLake\",\n encryptionKey: convertEncryptionKeyToPublic(encryptionKey),\n indexedOneLakeParameters: {\n fabricWorkspaceId: indexedOneLakeParameters.fabricWorkspaceId,\n lakehouseId: indexedOneLakeParameters.lakehouseId,\n ingestionParameters: convertKnowledgeIngestionParametersToPublic(\n indexedOneLakeParameters.ingestionParameters,\n ),\n targetPath: indexedOneLakeParameters.targetPath,\n createdResources: indexedOneLakeParameters.createdResources?.additionalProperties,\n },\n };\n }\n case \"web\": {\n const { encryptionKey } = knowledgeSource as GeneratedWebKnowledgeSource;\n return {\n ...knowledgeSource,\n kind: \"web\",\n encryptionKey: convertEncryptionKeyToPublic(encryptionKey),\n };\n }\n default: {\n logger.warning(`Unknown knowledge source kind ${knowledgeSource.kind}`);\n return undefined;\n }\n }\n}\n\nexport function convertKnowledgeSourceToGenerated(\n knowledgeSource: KnowledgeSource | undefined,\n): GeneratedKnowledgeSource | undefined {\n if (!knowledgeSource) {\n return undefined;\n }\n const { encryptionKey } = knowledgeSource;\n return {\n ...knowledgeSource,\n encryptionKey: convertEncryptionKeyToGenerated(encryptionKey),\n } as GeneratedKnowledgeSource;\n}\n\nfunction convertKnowledgeIngestionParametersToPublic(\n params: GeneratedKnowledgeSourceIngestionParameters | undefined,\n): KnowledgeSourceIngestionParameters | undefined {\n if (!params) {\n return undefined;\n }\n\n const { embeddingModel, chatCompletionModel, identity, ...rest } = params;\n return {\n ...rest,\n embeddingModel: !embeddingModel\n ? embeddingModel\n : generatedKnowledgeSourceVectorizerToPublicVectorizer(embeddingModel),\n identity: convertSearchIndexerDataIdentityToPublic(identity),\n chatCompletionModel: !chatCompletionModel\n ? chatCompletionModel\n : convertKnowledgeBaseModelToPublic(chatCompletionModel),\n } as KnowledgeSourceIngestionParameters;\n}\n\nfunction convertAzureBlobKnowledgeSourceParametersToPublic(\n params: GeneratedAzureBlobKnowledgeSourceParameters | undefined,\n): AzureBlobKnowledgeSourceParameters | undefined {\n if (!params) {\n return undefined;\n }\n const { embeddingModel, chatCompletionModel, identity, ...rest } =\n params.ingestionParameters ?? {};\n return {\n ...rest,\n embeddingModel: !embeddingModel\n ? embeddingModel\n : generatedKnowledgeSourceVectorizerToPublicVectorizer(embeddingModel),\n identity: convertSearchIndexerDataIdentityToPublic(identity),\n connectionString: params.connectionString,\n containerName: params.containerName,\n chatCompletionModel: !chatCompletionModel\n ? chatCompletionModel\n : convertKnowledgeBaseModelToPublic(chatCompletionModel),\n } as AzureBlobKnowledgeSourceParameters;\n}\n\nfunction convertKnowledgeBaseModelToPublic(model: GeneratedKnowledgeBaseModel): KnowledgeBaseModel {\n switch (model.kind) {\n case \"azureOpenAI\": {\n const { azureOpenAIParameters, ...rest } = model as GeneratedKnowledgeBaseAzureOpenAIModel;\n return {\n ...rest,\n azureOpenAIParameters: convertAzureOpenAIParametersToPublic(azureOpenAIParameters),\n };\n }\n default: {\n logger.warning(\"Unknown knowledge base model kind\");\n return model as any;\n }\n }\n}\n\nfunction convertAzureOpenAIParametersToPublic(\n params: GeneratedAzureOpenAIParameters,\n): AzureOpenAIParameters {\n return {\n ...params,\n authIdentity: convertSearchIndexerDataIdentityToPublic(params.authIdentity),\n };\n}\n\nexport function mapPagedAsyncIterable<T, U>(\n iter: PagedAsyncIterableIterator<T>,\n mapper: (x: T) => U,\n): PagedAsyncIterableIterator<U> {\n return {\n async next() {\n const result = await iter.next();\n\n return {\n ...result,\n value: result.value && mapper(result.value),\n };\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n async *byPage(settings) {\n const iteratorByPage = iter.byPage(settings);\n for await (const page of iteratorByPage) {\n yield page.map(mapper);\n }\n },\n };\n}\n\n/**\n * Converts public IndexDocumentsAction format to generated IndexAction format.\n * The public API uses `__actionType` with document properties spread at the root,\n * while the generated API expects `actionType` with document properties in `additionalProperties`.\n * @internal\n */\nexport function convertPublicActionsToGeneratedActions<\n TModel extends { __actionType: IndexActionType },\n>(actions: Array<TModel>): IndexAction[] {\n return actions.map((action) => {\n const { __actionType, ...documentProperties } = action;\n return {\n actionType: __actionType,\n additionalProperties: documentProperties as Record<string, unknown>,\n };\n });\n}\n\n// Backward compatibility conversion functions for FacetResult, QueryAnswerResult, and QueryCaptionResult\n// These functions spread additionalProperties onto the top level of the object for backward compatibility\n// with the old API where users could access dynamic properties directly (e.g., facetResult[\"myProperty\"])\n\n/**\n * Converts a generated FacetResult to a public FacetResult with additionalProperties spread\n * onto the object for backward compatibility.\n * @internal\n */\nexport function convertGeneratedFacetResultToPublic(\n facetResult: GeneratedFacetResult,\n): FacetResult {\n const { additionalProperties, ...rest } = facetResult;\n return {\n ...additionalProperties,\n ...rest,\n additionalProperties,\n } as FacetResult;\n}\n\n/**\n * Converts a record of FacetResult arrays from generated to public format.\n * @internal\n */\nexport function convertGeneratedFacetsToPublic(\n facets: Record<string, GeneratedFacetResult[]> | undefined,\n): Record<string, FacetResult[]> | undefined {\n if (!facets) {\n return facets;\n }\n const result: Record<string, FacetResult[]> = {};\n for (const [key, value] of Object.entries(facets)) {\n result[key] = value.map(convertGeneratedFacetResultToPublic);\n }\n return result;\n}\n\n/**\n * Converts a generated QueryAnswerResult to a public QueryAnswerResult with additionalProperties spread\n * onto the object for backward compatibility.\n * @internal\n */\nexport function convertGeneratedQueryAnswerResultToPublic(\n answerResult: GeneratedQueryAnswerResult,\n): QueryAnswerResult {\n const { additionalProperties, ...rest } = answerResult;\n return {\n ...additionalProperties,\n ...rest,\n additionalProperties,\n } as QueryAnswerResult;\n}\n\n/**\n * Converts an array of QueryAnswerResult from generated to public format.\n * @internal\n */\nexport function convertGeneratedAnswersToPublic(\n answers: GeneratedQueryAnswerResult[] | undefined,\n): QueryAnswerResult[] | undefined {\n if (!answers) {\n return answers;\n }\n return answers.map(convertGeneratedQueryAnswerResultToPublic);\n}\n\n/**\n * Converts a generated QueryCaptionResult to a public QueryCaptionResult with additionalProperties spread\n * onto the object for backward compatibility.\n * @internal\n */\nexport function convertGeneratedQueryCaptionResultToPublic(\n captionResult: GeneratedQueryCaptionResult,\n): QueryCaptionResult {\n const { additionalProperties, ...rest } = captionResult;\n return {\n ...additionalProperties,\n ...rest,\n additionalProperties,\n } as QueryCaptionResult;\n}\n\n/**\n * Converts an array of QueryCaptionResult from generated to public format.\n * @internal\n */\nexport function convertGeneratedCaptionsToPublic(\n captions: GeneratedQueryCaptionResult[] | undefined,\n): QueryCaptionResult[] | undefined {\n if (!captions) {\n return captions;\n }\n return captions.map(convertGeneratedQueryCaptionResultToPublic);\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwEA,oBAAuB;AAwDvB,2BAA+B;AAIxB,MAAM,wBAAwB;AAErC,MAAM,cAAuE;AAAA,EAC3E,gDAAgD;AAAA,EAChD,wCAAwC;AAAA,EACxC,o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EACF;AACF;AAQO,SAAS,uCAEd,SAAuC;AACvC,SAAO,QAAQ,IAAI,CAAC,WAAW;AAC7B,UAAM,EAAE,cAAc,GAAG,mBAAmB,IAAI;AAChD,WAAO;AAAA,MACL,YAAY;AAAA,MACZ,sBAAsB;AAAA,IACxB;AAAA,EACF,CAAC;AACH;AAWO,SAAS,oCACd,aACa;AACb,QAAM,EAAE,sBAAsB,GAAG,KAAK,IAAI;AAC1C,SAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,IACH;AAAA,EACF;AACF;AAMO,SAAS,+BACd,QAC2C;AAC3C,MAAI,CAAC,QAAQ;AACX,WAAO;AAAA,EACT;AACA,QAAM,SAAwC,CAAC;AAC/C,aAAW,CAAC,KAAK,KAAK,KAAK,OAAO,QAAQ,MAAM,GAAG;AACjD,WAAO,GAAG,IAAI,MAAM,IAAI,mCAAmC;AAAA,EAC7D;AACA,SAAO;AACT;AAOO,SAAS,0CACd,cACmB;AACnB,QAAM,EAAE,sBAAsB,GAAG,KAAK,IAAI;AAC1C,SAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,IACH;AAAA,EACF;AACF;AAMO,SAAS,gCACd,SACiC;AACjC,MAAI,CAAC,SAAS;AACZ,WAAO;AAAA,EACT;AACA,SAAO,QAAQ,IAAI,yCAAyC;AAC9D;AAOO,SAAS,2CACd,eACoB;AACpB,QAAM,EAAE,sBAAsB,GAAG,KAAK,IAAI;AAC1C,SAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,IACH;AAAA,EACF;AACF;AAMO,SAAS,iCACd,UACkC;AAClC,MAAI,CAAC,UAAU;AACb,WAAO;AAAA,EACT;AACA,SAAO,SAAS,IAAI,0CAA0C;AAChE;",
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n SearchResult as GeneratedSearchResult,\n SuggestDocumentsResult as GeneratedSuggestDocumentsResult,\n IndexAction,\n IndexActionType,\n FacetResult as GeneratedFacetResult,\n QueryAnswerResult as GeneratedQueryAnswerResult,\n QueryCaptionResult as GeneratedQueryCaptionResult,\n} from \"./models/azure/search/documents/index.js\";\nimport type {\n SearchIndexerKnowledgeStore as BaseSearchIndexerKnowledgeStore,\n SearchIndexerKnowledgeStoreParameters as GeneratedKnowledgeStoreParameters,\n BM25Similarity,\n ClassicSimilarity,\n CognitiveServicesAccountUnion,\n DataChangeDetectionPolicyUnion,\n DataDeletionDetectionPolicyUnion,\n AIServicesAccountIdentity as GeneratedAIServicesAccountIdentity,\n AIServicesAccountKey as GeneratedAIServicesAccountKey,\n AzureMachineLearningParameters as GeneratedAMLParameters,\n AzureMachineLearningVectorizer as GeneratedAMLVectorizer,\n AzureBlobKnowledgeSource as GeneratedAzureBlobKnowledgeSource,\n AzureBlobKnowledgeSourceParameters as GeneratedAzureBlobKnowledgeSourceParameters,\n AzureOpenAIVectorizerParameters as GeneratedAzureOpenAIParameters,\n AzureOpenAIVectorizer as GeneratedAzureOpenAIVectorizer,\n CognitiveServicesAccountKey as GeneratedCognitiveServicesAccountKey,\n DefaultCognitiveServicesAccount as GeneratedDefaultCognitiveServicesAccount,\n ExhaustiveKnnAlgorithmConfiguration as GeneratedExhaustiveKnnAlgorithmConfiguration,\n HnswAlgorithmConfiguration as GeneratedHnswAlgorithmConfiguration,\n IndexedOneLakeKnowledgeSource as GeneratedIndexedOneLakeKnowledgeSource,\n KnowledgeBase as GeneratedKnowledgeBase,\n KnowledgeBaseAzureOpenAIModel as GeneratedKnowledgeBaseAzureOpenAIModel,\n KnowledgeBaseModelUnion as GeneratedKnowledgeBaseModel,\n KnowledgeSourceUnion as GeneratedKnowledgeSource,\n // KnowledgeSourceVectorizer as GeneratedKnowledgeSourceVectorizer,\n // PatternAnalyzer as GeneratedPatternAnalyzer,\n SearchField as GeneratedSearchField,\n SearchIndex as GeneratedSearchIndex,\n SearchIndexer as GeneratedSearchIndexer,\n SearchIndexerDataSourceConnection as GeneratedSearchIndexerDataSourceConnection,\n SearchIndexerSkillset as GeneratedSearchIndexerSkillset,\n SearchIndexKnowledgeSource as GeneratedSearchIndexKnowledgeSource,\n SearchResourceEncryptionKey as GeneratedSearchResourceEncryptionKey,\n SynonymMap as GeneratedSynonymMap,\n VectorSearch as GeneratedVectorSearch,\n VectorSearchAlgorithmConfigurationUnion as GeneratedVectorSearchAlgorithmConfiguration,\n VectorSearchVectorizerUnion as GeneratedVectorSearchVectorizer,\n WebApiVectorizer as GeneratedWebApiVectorizer,\n WebKnowledgeSource as GeneratedWebKnowledgeSource,\n HighWaterMarkChangeDetectionPolicy,\n LexicalAnalyzerUnion,\n LexicalTokenizerUnion,\n LuceneStandardAnalyzer,\n SearchIndexerDataIdentityUnion,\n SearchIndexerDataNoneIdentity,\n SearchIndexerDataUserAssignedIdentity,\n SearchIndexerSkillUnion,\n SimilarityAlgorithmUnion as SimilarityUnion,\n SoftDeleteColumnDeletionDetectionPolicy,\n SqlIntegratedChangeTrackingPolicy,\n StopAnalyzer,\n TokenFilterUnion,\n} from \"./models/azure/search/documents/indexes/index.js\";\nimport type {\n SearchResult,\n SelectFields,\n SuggestDocumentsResult,\n SuggestResult,\n} from \"./indexModels.js\";\nimport type { KnowledgeBase } from \"./knowledgeBaseModels.js\";\nimport { logger } from \"./logger.js\";\nimport type {\n AzureBlobKnowledgeSourceParameters,\n AzureMachineLearningVectorizer,\n AzureMachineLearningVectorizerParameters,\n AzureOpenAIParameters,\n AzureOpenAIVectorizer,\n BlobIndexerDataToExtract,\n BlobIndexerImageAction,\n BlobIndexerParsingMode,\n BlobIndexerPDFTextRotationAlgorithm,\n CharFilter,\n CognitiveServicesAccount,\n ComplexField,\n DataChangeDetectionPolicy,\n DataDeletionDetectionPolicy,\n FacetResult,\n IndexerExecutionEnvironment,\n IndexingParameters,\n IndexingParametersConfiguration,\n KeyAuthAzureMachineLearningVectorizerParameters,\n KnowledgeBaseModel,\n KnowledgeSource,\n KnowledgeSourceIngestionParameters,\n KnowledgeSourceVectorizer,\n LexicalAnalyzer,\n LexicalTokenizer,\n NoAuthAzureMachineLearningVectorizerParameters,\n PatternAnalyzer,\n QueryAnswerResult,\n QueryCaptionResult,\n ScoringProfile,\n SearchField,\n SearchFieldDataType,\n SearchIndex,\n SearchIndexer,\n SearchIndexerDataIdentity,\n SearchIndexerDataSourceConnection,\n SearchIndexerDataSourceType,\n SearchIndexerIndexProjection,\n SearchIndexerKnowledgeStore,\n SearchIndexerKnowledgeStoreParameters,\n SearchIndexerSkill,\n SearchIndexerSkillset,\n SearchResourceEncryptionKey,\n SimilarityAlgorithm,\n SimpleField,\n SynonymMap,\n TokenAuthAzureMachineLearningVectorizerParameters,\n TokenFilter,\n VectorSearch,\n VectorSearchAlgorithmConfiguration,\n VectorSearchAlgorithmMetric,\n VectorSearchVectorizer,\n WebApiParameters,\n WebApiVectorizer,\n} from \"./serviceModels.js\";\nimport { isComplexField } from \"./serviceModels.js\";\nimport type { PagedAsyncIterableIterator } from \"./static-helpers/pagingHelpers.js\";\nimport type { KnowledgeSourceIngestionParameters as GeneratedKnowledgeSourceIngestionParameters } from \"./models/azure/search/documents/knowledgeBases/index.js\";\n\nexport const defaultServiceVersion = \"2026-05-01-preview\";\n\nconst knownSkills: Record<`${SearchIndexerSkillUnion[\"odatatype\"]}`, true> = {\n \"#Microsoft.Skills.Custom.ChatCompletionSkill\": true,\n \"#Microsoft.Skills.Custom.WebApiSkill\": true,\n \"#Microsoft.Skills.Text.AzureOpenAIEmbeddingSkill\": true,\n \"#Microsoft.Skills.Text.CustomEntityLookupSkill\": true,\n \"#Microsoft.Skills.Text.EntityRecognitionSkill\": true,\n \"#Microsoft.Skills.Text.KeyPhraseExtractionSkill\": true,\n \"#Microsoft.Skills.Text.LanguageDetectionSkill\": true,\n \"#Microsoft.Skills.Text.MergeSkill\": true,\n \"#Microsoft.Skills.Text.PIIDetectionSkill\": true,\n \"#Microsoft.Skills.Text.SentimentSkill\": true,\n \"#Microsoft.Skills.Text.SplitSkill\": true,\n \"#Microsoft.Skills.Text.TranslationSkill\": true,\n \"#Microsoft.Skills.Text.V3.EntityLinkingSkill\": true,\n \"#Microsoft.Skills.Text.V3.EntityRecognitionSkill\": true,\n \"#Microsoft.Skills.Text.V3.SentimentSkill\": true,\n \"#Microsoft.Skills.Util.ConditionalSkill\": true,\n \"#Microsoft.Skills.Util.DocumentExtractionSkill\": true,\n \"#Microsoft.Skills.Util.ShaperSkill\": true,\n \"#Microsoft.Skills.Vision.ImageAnalysisSkill\": true,\n \"#Microsoft.Skills.Vision.OcrSkill\": true,\n \"#Microsoft.Skills.Custom.AmlSkill\": true,\n \"#Microsoft.Skills.Vision.VectorizeSkill\": true,\n \"#Microsoft.Skills.Util.DocumentIntelligenceLayoutSkill\": true,\n \"#Microsoft.Skills.Util.ContentUnderstandingSkill\": true,\n};\n\nexport function convertSkillsToPublic(skills: SearchIndexerSkillUnion[]): SearchIndexerSkill[] {\n if (!skills) {\n return [];\n }\n\n // This validation has already GAed\n return skills.filter((skill): skill is SearchIndexerSkill => knownSkills[skill.odatatype]);\n}\n\nexport function convertCognitiveServicesAccountToGenerated(\n cognitiveServicesAccount?: CognitiveServicesAccount,\n): CognitiveServicesAccountUnion | undefined {\n if (!cognitiveServicesAccount) {\n return cognitiveServicesAccount;\n }\n\n switch (cognitiveServicesAccount.odatatype) {\n case \"#Microsoft.Azure.Search.AIServicesByIdentity\":\n case \"#Microsoft.Azure.Search.DefaultCognitiveServices\":\n case \"#Microsoft.Azure.Search.CognitiveServicesByKey\":\n case \"#Microsoft.Azure.Search.AIServicesByKey\":\n return cognitiveServicesAccount;\n default: {\n logger.warning(\n `Unsupported Cognitive Services account odatatype: ${(cognitiveServicesAccount as any).odatatype}`,\n );\n return cognitiveServicesAccount as any;\n }\n }\n}\n\nexport function convertCognitiveServicesAccountToPublic(\n cognitiveServicesAccount?: CognitiveServicesAccountUnion,\n): CognitiveServicesAccount | undefined {\n if (!cognitiveServicesAccount) {\n return undefined;\n }\n\n const deserializers: Record<\n CognitiveServicesAccountUnion[\"odatatype\"],\n () => CognitiveServicesAccount\n > = {\n \"#Microsoft.Azure.Search.DefaultCognitiveServices\": () => {\n return cognitiveServicesAccount as GeneratedDefaultCognitiveServicesAccount;\n },\n \"#Microsoft.Azure.Search.CognitiveServicesByKey\": () => {\n return cognitiveServicesAccount as GeneratedCognitiveServicesAccountKey;\n },\n \"#Microsoft.Azure.Search.AIServicesByKey\": () => {\n return cognitiveServicesAccount as GeneratedAIServicesAccountKey;\n },\n \"#Microsoft.Azure.Search.AIServicesByIdentity\": () => {\n const { identity, ...restParams } =\n cognitiveServicesAccount as GeneratedAIServicesAccountIdentity;\n return {\n ...restParams,\n identity: convertSearchIndexerDataIdentityToPublic(identity),\n };\n },\n };\n\n const defaultDeserializer: () => CognitiveServicesAccount = () => {\n logger.warning(\n `Unsupported Cognitive Services account odatatype: ${(cognitiveServicesAccount as CognitiveServicesAccount).odatatype}`,\n );\n return cognitiveServicesAccount as CognitiveServicesAccount;\n };\n\n return (deserializers[cognitiveServicesAccount.odatatype] ?? defaultDeserializer)();\n}\n\nexport function convertTokenFiltersToGenerated(\n tokenFilters?: TokenFilter[],\n): TokenFilterUnion[] | undefined {\n if (!tokenFilters) {\n return tokenFilters;\n }\n\n const result: TokenFilterUnion[] = [];\n for (const filter of tokenFilters) {\n result.push(filter);\n }\n\n return result;\n}\n\nfunction convertAnalyzersToGenerated(\n analyzers?: LexicalAnalyzer[],\n): LexicalAnalyzerUnion[] | undefined {\n if (!analyzers) {\n return analyzers;\n }\n\n const result: LexicalAnalyzerUnion[] = [];\n for (const analyzer of analyzers) {\n switch (analyzer.odatatype) {\n case \"#Microsoft.Azure.Search.StandardAnalyzer\":\n case \"#Microsoft.Azure.Search.StopAnalyzer\":\n result.push(analyzer);\n break;\n case \"#Microsoft.Azure.Search.PatternAnalyzer\":\n result.push(analyzer);\n break;\n case \"#Microsoft.Azure.Search.CustomAnalyzer\":\n result.push({\n ...analyzer,\n tokenizer: analyzer.tokenizerName,\n });\n break;\n }\n }\n return result;\n}\n\nfunction convertAnalyzersToPublic(\n analyzers?: LexicalAnalyzerUnion[],\n): LexicalAnalyzer[] | undefined {\n if (!analyzers) {\n return undefined;\n }\n\n const result: LexicalAnalyzer[] = [];\n for (const analyzer of analyzers) {\n switch (analyzer.odatatype) {\n case \"#Microsoft.Azure.Search.StandardAnalyzer\":\n result.push(analyzer as LuceneStandardAnalyzer);\n break;\n case \"#Microsoft.Azure.Search.StopAnalyzer\":\n result.push(analyzer as StopAnalyzer);\n break;\n case \"#Microsoft.Azure.Search.PatternAnalyzer\":\n result.push({\n ...analyzer,\n } as PatternAnalyzer);\n break;\n case \"#Microsoft.Azure.Search.CustomAnalyzer\":\n result.push(analyzer as LexicalAnalyzer);\n break;\n }\n }\n return result;\n}\n\nexport function convertFieldsToPublic(fields?: GeneratedSearchField[]): SearchField[] | undefined {\n if (!fields) {\n return undefined;\n }\n\n return fields.map<SearchField>((field): SearchField => {\n if (field.type === \"Collection(Edm.ComplexType)\" || field.type === \"Edm.ComplexType\") {\n const result: ComplexField = {\n name: field.name,\n type: field.type,\n fields: convertFieldsToPublic(field.fields!),\n };\n return result;\n } else {\n const type: SearchFieldDataType = field.type as SearchFieldDataType;\n const synonymMapNames: string[] | undefined = field.synonymMapNames;\n\n const { retrievable, ...restField } = field;\n const hidden = typeof retrievable === \"boolean\" ? !retrievable : retrievable;\n\n const result: SimpleField = {\n ...restField,\n hasSensitivityLabel: field.sensitivityLabelId,\n type,\n hidden,\n synonymMapNames,\n };\n return result;\n }\n });\n}\n\nexport function convertFieldsToGenerated(\n fields: SearchField[] | undefined,\n): GeneratedSearchField[] | undefined {\n return fields?.map<GeneratedSearchField>((field) => {\n if (isComplexField(field)) {\n return {\n name: field.name,\n type: field.type,\n fields: convertFieldsToGenerated(field.fields),\n };\n } else {\n const { hidden, ...restField } = field;\n const retrievable = typeof hidden === \"boolean\" ? !hidden : hidden;\n return {\n ...restField,\n retrievable,\n // modify API defaults to use less storage for simple types\n searchable: field.searchable ?? false,\n filterable: field.filterable ?? false,\n facetable: field.facetable ?? false,\n sortable: field.sortable ?? false,\n analyzerName: field.analyzerName,\n searchAnalyzerName: field.searchAnalyzerName,\n indexAnalyzerName: field.indexAnalyzerName,\n synonymMapNames: field.synonymMapNames,\n normalizerName: field.normalizerName,\n sensitivityLabelId: field.hasSensitivityLabel,\n };\n }\n });\n}\n\nfunction convertTokenizersToPublic(\n tokenizers?: LexicalTokenizerUnion[],\n): LexicalTokenizer[] | undefined {\n if (!tokenizers) {\n return undefined;\n }\n\n const result: LexicalTokenizer[] = [];\n for (const tokenizer of tokenizers) {\n result.push(tokenizer as LexicalTokenizer);\n }\n return result;\n}\n\nexport function convertSimilarityToGenerated(\n similarity?: SimilarityAlgorithm,\n): SimilarityUnion | undefined {\n if (!similarity) {\n return similarity;\n }\n\n return similarity as SimilarityUnion;\n}\n\nexport function convertSimilarityToPublic(\n similarity?: SimilarityUnion,\n): SimilarityAlgorithm | undefined {\n if (!similarity) {\n return undefined;\n }\n\n if (similarity.odatatype === \"#Microsoft.Azure.Search.ClassicSimilarity\") {\n return similarity as ClassicSimilarity;\n } else {\n return similarity as BM25Similarity;\n }\n}\n\nfunction convertEncryptionKeyToPublic(\n encryptionKey?: GeneratedSearchResourceEncryptionKey,\n): SearchResourceEncryptionKey | undefined {\n if (!encryptionKey) {\n return undefined;\n }\n\n const result: SearchResourceEncryptionKey = {\n keyName: encryptionKey.keyName,\n keyVersion: encryptionKey.keyVersion,\n vaultUrl: encryptionKey.vaultUri,\n identity: convertSearchIndexerDataIdentityToPublic(encryptionKey.identity),\n isServiceLevelKey: encryptionKey.isServiceLevelKey,\n applicationId: encryptionKey.applicationId,\n applicationSecret: encryptionKey.applicationSecret,\n };\n\n return result;\n}\n\nfunction convertEncryptionKeyToGenerated(\n encryptionKey?: SearchResourceEncryptionKey,\n): GeneratedSearchResourceEncryptionKey | undefined {\n if (!encryptionKey) {\n return undefined;\n }\n\n const result: GeneratedSearchResourceEncryptionKey = {\n keyName: encryptionKey.keyName,\n keyVersion: encryptionKey.keyVersion,\n vaultUri: encryptionKey.vaultUrl,\n identity: encryptionKey.identity,\n isServiceLevelKey: encryptionKey.isServiceLevelKey,\n applicationId: encryptionKey.applicationId,\n applicationSecret: encryptionKey.applicationSecret,\n };\n\n return result;\n}\n\nexport function generatedIndexToPublicIndex(generatedIndex: GeneratedSearchIndex): SearchIndex {\n const {\n charFilters,\n tokenFilters,\n scoringProfiles,\n encryptionKey,\n analyzers,\n tokenizers,\n fields,\n similarity,\n vectorSearch,\n ...rest\n } = generatedIndex;\n return {\n ...rest,\n scoringProfiles: scoringProfiles as ScoringProfile[],\n tokenFilters: tokenFilters as TokenFilter[],\n charFilters: charFilters as CharFilter[],\n encryptionKey: convertEncryptionKeyToPublic(encryptionKey),\n analyzers: convertAnalyzersToPublic(analyzers),\n tokenizers: convertTokenizersToPublic(tokenizers),\n fields: convertFieldsToPublic(fields),\n similarity: convertSimilarityToPublic(similarity),\n vectorSearch: generatedVectorSearchToPublicVectorSearch(vectorSearch),\n } as SearchIndex;\n}\n\nexport function generatedVectorSearchVectorizerToPublicVectorizer(): undefined;\nexport function generatedVectorSearchVectorizerToPublicVectorizer(\n generatedVectorizer: GeneratedVectorSearchVectorizer,\n): VectorSearchVectorizer;\nexport function generatedVectorSearchVectorizerToPublicVectorizer(\n generatedVectorizer?: GeneratedVectorSearchVectorizer,\n): VectorSearchVectorizer | undefined {\n if (!generatedVectorizer) {\n return undefined;\n }\n\n const knownVectorizerDeserializers: Record<\n VectorSearchVectorizer[\"kind\"],\n () => VectorSearchVectorizer\n > = {\n azureOpenAI: () => {\n const { parameters } = generatedVectorizer as GeneratedAzureOpenAIVectorizer;\n const authIdentity = convertSearchIndexerDataIdentityToPublic(parameters?.authIdentity);\n const vectorizer: AzureOpenAIVectorizer = {\n ...(generatedVectorizer as GeneratedAzureOpenAIVectorizer),\n parameters: { ...parameters, authIdentity },\n };\n return vectorizer;\n },\n\n customWebApi: () => {\n const { webApiParameters } = generatedVectorizer as GeneratedWebApiVectorizer;\n const authIdentity = convertSearchIndexerDataIdentityToPublic(webApiParameters?.authIdentity);\n const vectorizer: WebApiVectorizer = {\n ...(generatedVectorizer as GeneratedWebApiVectorizer),\n parameters: { ...webApiParameters, authIdentity } as WebApiParameters,\n };\n return vectorizer;\n },\n\n aml: () => {\n const generatedAMLVectorizer = generatedVectorizer as GeneratedAMLVectorizer;\n\n const vectorizer: AzureMachineLearningVectorizer = {\n ...generatedAMLVectorizer,\n amlParameters:\n generatedAzureMachineLearningVectorizerParametersToPublicAzureMachineLearningVectorizerParameters(\n generatedAMLVectorizer.amlParameters,\n ),\n };\n\n return vectorizer;\n },\n };\n const defaultDeserializer = (): any => {\n logger.warning(`Unsupported vectorizer kind: ${(generatedVectorizer as any).kind}`);\n return generatedVectorizer as any;\n };\n\n return (\n knownVectorizerDeserializers[\n generatedVectorizer.kind as keyof typeof knownVectorizerDeserializers\n ] ?? defaultDeserializer\n )();\n}\n\nexport function generatedKnowledgeSourceVectorizerToPublicVectorizer(): undefined;\nexport function generatedKnowledgeSourceVectorizerToPublicVectorizer(\n generatedVectorizer: any,\n): KnowledgeSourceVectorizer;\nexport function generatedKnowledgeSourceVectorizerToPublicVectorizer(\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n generatedVectorizer?: /* GeneratedKnowledgeSourceVectorizer */ any,\n): KnowledgeSourceVectorizer | undefined {\n if (!generatedVectorizer) {\n return generatedVectorizer;\n }\n\n const knownVectorizerDeserializers: Record<\n KnowledgeSourceVectorizer[\"kind\"],\n () => KnowledgeSourceVectorizer\n > = {\n azureOpenAI: () => {\n const { parameters } = generatedVectorizer as GeneratedAzureOpenAIVectorizer;\n const authIdentity = convertSearchIndexerDataIdentityToPublic(parameters?.authIdentity);\n const vectorizer: AzureOpenAIVectorizer = {\n ...(generatedVectorizer as GeneratedAzureOpenAIVectorizer),\n parameters: { ...parameters, authIdentity },\n };\n return vectorizer;\n },\n };\n const defaultDeserializer = (): any => {\n logger.warning(`Unsupported vectorizer kind: ${(generatedVectorizer as any).kind}`);\n return generatedVectorizer as any;\n };\n\n return (\n knownVectorizerDeserializers[\n generatedVectorizer.kind as keyof typeof knownVectorizerDeserializers\n ] ?? defaultDeserializer\n )();\n}\n\nfunction generatedAzureMachineLearningVectorizerParametersToPublicAzureMachineLearningVectorizerParameters(\n aMLParameters?: GeneratedAMLParameters,\n): AzureMachineLearningVectorizerParameters | undefined {\n if (!aMLParameters) {\n return undefined;\n }\n\n const { resourceId, authenticationKey, scoringUri } = aMLParameters;\n // Sensitive to case order\n switch (true) {\n case resourceId !== undefined && resourceId !== null: {\n return {\n ...aMLParameters,\n authKind: \"token\",\n } as TokenAuthAzureMachineLearningVectorizerParameters;\n }\n case authenticationKey !== undefined && authenticationKey !== null: {\n return {\n ...aMLParameters,\n apiKey: authenticationKey,\n authKind: \"key\",\n } as KeyAuthAzureMachineLearningVectorizerParameters;\n }\n case scoringUri !== undefined && scoringUri !== null: {\n return {\n ...aMLParameters,\n authKind: \"none\",\n } as NoAuthAzureMachineLearningVectorizerParameters;\n }\n }\n logger.warning(\"Unknown AML parameter kind\");\n return aMLParameters as any;\n}\n\nexport function generatedVectorSearchAlgorithmConfigurationToPublicVectorSearchAlgorithmConfiguration(): undefined;\nexport function generatedVectorSearchAlgorithmConfigurationToPublicVectorSearchAlgorithmConfiguration(\n generatedAlgorithmConfiguration: GeneratedVectorSearchAlgorithmConfiguration,\n): VectorSearchAlgorithmConfiguration;\nexport function generatedVectorSearchAlgorithmConfigurationToPublicVectorSearchAlgorithmConfiguration(\n generatedAlgorithmConfiguration?: GeneratedVectorSearchAlgorithmConfiguration,\n): VectorSearchAlgorithmConfiguration | undefined {\n if (!generatedAlgorithmConfiguration) {\n return undefined;\n }\n\n if ([\"hnsw\", \"exhaustiveKnn\"].includes(generatedAlgorithmConfiguration.kind)) {\n const algorithmConfiguration = generatedAlgorithmConfiguration as\n | GeneratedHnswAlgorithmConfiguration\n | GeneratedExhaustiveKnnAlgorithmConfiguration;\n const metric = algorithmConfiguration.parameters?.metric as VectorSearchAlgorithmMetric;\n return {\n ...algorithmConfiguration,\n parameters: { ...algorithmConfiguration.parameters, metric },\n };\n }\n\n throw Error(\"Unsupported algorithm configuration\");\n}\n\nexport function generatedVectorSearchToPublicVectorSearch(\n vectorSearch?: GeneratedVectorSearch,\n): VectorSearch | undefined {\n if (!vectorSearch) {\n return undefined;\n }\n\n return {\n ...vectorSearch,\n algorithms: vectorSearch.algorithms?.map(\n generatedVectorSearchAlgorithmConfigurationToPublicVectorSearchAlgorithmConfiguration,\n ),\n vectorizers: vectorSearch.vectorizers?.map(generatedVectorSearchVectorizerToPublicVectorizer),\n } as VectorSearch;\n}\n\nexport function generatedSearchResultToPublicSearchResult<\n TModel extends object,\n TFields extends SelectFields<TModel>,\n>(results: GeneratedSearchResult[]): SearchResult<TModel, TFields>[] {\n const returnValues: SearchResult<TModel, TFields>[] = results.map<SearchResult<TModel, TFields>>(\n (result) => {\n const {\n score,\n highlights,\n rerankerScore,\n rerankerBoostedScore,\n captions,\n documentDebugInfo,\n additionalProperties,\n } = result;\n const obj = {\n score,\n highlights,\n rerankerScore,\n rerankerBoostedScore,\n captions: convertGeneratedCaptionsToPublic(captions),\n documentDebugInfo,\n // The generated code puts document fields in additionalProperties\n document: additionalProperties ?? {},\n };\n return obj as SearchResult<TModel, TFields>;\n },\n );\n return returnValues;\n}\n\nexport function generatedSuggestDocumentsResultToPublicSuggestDocumentsResult<\n TModel extends object,\n TFields extends SelectFields<TModel>,\n>(searchDocumentsResult: GeneratedSuggestDocumentsResult): SuggestDocumentsResult<TModel, TFields> {\n const results = searchDocumentsResult.results.map<SuggestResult<TModel, TFields>>((element) => {\n const { text, additionalProperties } = element;\n\n const obj = {\n text,\n // The generated code puts document fields in additionalProperties\n document: additionalProperties ?? {},\n };\n\n return obj as SuggestResult<TModel, TFields>;\n });\n\n const result: SuggestDocumentsResult<TModel, TFields> = {\n results: results,\n coverage: searchDocumentsResult.coverage,\n };\n\n return result;\n}\n\nexport function publicIndexToGeneratedIndex(index: SearchIndex): GeneratedSearchIndex {\n const { encryptionKey, tokenFilters, analyzers, fields, similarity } = index;\n\n return {\n ...index,\n encryptionKey: convertEncryptionKeyToGenerated(encryptionKey),\n tokenFilters: convertTokenFiltersToGenerated(tokenFilters),\n analyzers: convertAnalyzersToGenerated(analyzers),\n fields: convertFieldsToGenerated(fields) ?? [],\n similarity: convertSimilarityToGenerated(similarity),\n };\n}\n\nexport function generatedSkillsetToPublicSkillset(\n generatedSkillset: GeneratedSearchIndexerSkillset,\n): SearchIndexerSkillset {\n const {\n skills,\n cognitiveServicesAccount,\n knowledgeStore,\n encryptionKey,\n indexProjection,\n ...props\n } = generatedSkillset;\n return {\n ...props,\n skills: convertSkillsToPublic(skills),\n cognitiveServicesAccount: convertCognitiveServicesAccountToPublic(cognitiveServicesAccount),\n knowledgeStore: convertKnowledgeStoreToPublic(knowledgeStore),\n encryptionKey: convertEncryptionKeyToPublic(encryptionKey),\n indexProjection: indexProjection as SearchIndexerIndexProjection,\n };\n}\n\nexport function publicSkillsetToGeneratedSkillset(\n skillset: SearchIndexerSkillset,\n): GeneratedSearchIndexerSkillset {\n const { cognitiveServicesAccount, encryptionKey } = skillset;\n\n return {\n ...skillset,\n cognitiveServicesAccount: convertCognitiveServicesAccountToGenerated(cognitiveServicesAccount),\n encryptionKey: convertEncryptionKeyToGenerated(encryptionKey),\n };\n}\n\nexport function generatedSynonymMapToPublicSynonymMap(synonymMap: GeneratedSynonymMap): SynonymMap {\n const result: SynonymMap = {\n name: synonymMap.name,\n encryptionKey: convertEncryptionKeyToPublic(synonymMap.encryptionKey),\n etag: synonymMap.eTag,\n synonyms: [],\n };\n\n if (synonymMap.synonyms) {\n result.synonyms = synonymMap.synonyms;\n }\n\n return result;\n}\n\nexport function publicSynonymMapToGeneratedSynonymMap(synonymMap: SynonymMap): GeneratedSynonymMap {\n const result: GeneratedSynonymMap = {\n name: synonymMap.name,\n format: \"solr\",\n encryptionKey: convertEncryptionKeyToGenerated(synonymMap.encryptionKey),\n eTag: synonymMap.etag,\n synonyms: synonymMap.synonyms,\n };\n\n result.encryptionKey = convertEncryptionKeyToGenerated(synonymMap.encryptionKey);\n\n return result;\n}\n\nexport function publicSearchIndexerToGeneratedSearchIndexer(\n indexer: SearchIndexer,\n): GeneratedSearchIndexer {\n return {\n ...indexer,\n encryptionKey: convertEncryptionKeyToGenerated(indexer.encryptionKey),\n };\n}\n\nexport function generatedSearchIndexerToPublicSearchIndexer(\n indexer: GeneratedSearchIndexer,\n): SearchIndexer {\n const {\n parsingMode,\n dataToExtract,\n imageAction,\n pdfTextRotationAlgorithm,\n executionEnvironment,\n } = indexer.parameters?.configuration ?? {};\n\n const configuration: IndexingParametersConfiguration | undefined = indexer.parameters\n ?.configuration && {\n ...indexer.parameters?.configuration,\n parsingMode: parsingMode as BlobIndexerParsingMode | undefined,\n dataToExtract: dataToExtract as BlobIndexerDataToExtract | undefined,\n imageAction: imageAction as BlobIndexerImageAction | undefined,\n pdfTextRotationAlgorithm: pdfTextRotationAlgorithm as\n | BlobIndexerPDFTextRotationAlgorithm\n | undefined,\n executionEnvironment: executionEnvironment as IndexerExecutionEnvironment | undefined,\n markdownParsingSubmode: indexer.parameters?.configuration?.markdownParsingSubmode,\n markdownHeaderDepth: indexer.parameters?.configuration?.markdownHeaderDepth,\n };\n const parameters: IndexingParameters = {\n ...indexer.parameters,\n configuration,\n batchSize: indexer.parameters?.batchSize,\n maxFailedItems: indexer.parameters?.maxFailedItems,\n maxFailedItemsPerBatch: indexer.parameters?.maxFailedItemsPerBatch,\n };\n\n return {\n ...indexer,\n parameters,\n encryptionKey: convertEncryptionKeyToPublic(indexer.encryptionKey),\n schedule: indexer.schedule,\n isDisabled: indexer.isDisabled,\n };\n}\n\nexport function publicDataSourceToGeneratedDataSource(\n dataSource: SearchIndexerDataSourceConnection,\n): GeneratedSearchIndexerDataSourceConnection {\n return {\n name: dataSource.name,\n description: dataSource.description,\n type: dataSource.type,\n connectionString: dataSource.connectionString,\n container: dataSource.container,\n identity: dataSource.identity,\n indexerPermissionOptions: dataSource.indexerPermissionOptions,\n eTag: dataSource.etag,\n dataChangeDetectionPolicy: dataSource.dataChangeDetectionPolicy,\n dataDeletionDetectionPolicy: dataSource.dataDeletionDetectionPolicy,\n encryptionKey: convertEncryptionKeyToGenerated(dataSource.encryptionKey),\n };\n}\n\nexport function generatedDataSourceToPublicDataSource(\n dataSource: GeneratedSearchIndexerDataSourceConnection,\n): SearchIndexerDataSourceConnection {\n return {\n name: dataSource.name,\n description: dataSource.description,\n type: dataSource.type as SearchIndexerDataSourceType,\n connectionString: dataSource.connectionString,\n container: dataSource.container,\n identity: convertSearchIndexerDataIdentityToPublic(dataSource.identity),\n indexerPermissionOptions: dataSource.indexerPermissionOptions,\n etag: dataSource.eTag,\n dataChangeDetectionPolicy: convertDataChangeDetectionPolicyToPublic(\n dataSource.dataChangeDetectionPolicy,\n ),\n dataDeletionDetectionPolicy: convertDataDeletionDetectionPolicyToPublic(\n dataSource.dataDeletionDetectionPolicy,\n ),\n encryptionKey: convertEncryptionKeyToPublic(dataSource.encryptionKey),\n };\n}\n\nexport function convertSearchIndexerDataIdentityToPublic(\n searchIndexerDataIdentity?: SearchIndexerDataIdentityUnion,\n): SearchIndexerDataIdentity | undefined {\n if (!searchIndexerDataIdentity) {\n return undefined;\n }\n\n if (searchIndexerDataIdentity.odatatype === \"#Microsoft.Azure.Search.DataNoneIdentity\") {\n return searchIndexerDataIdentity as SearchIndexerDataNoneIdentity;\n } else {\n return searchIndexerDataIdentity as SearchIndexerDataUserAssignedIdentity;\n }\n}\n\nexport function convertDataChangeDetectionPolicyToPublic(\n dataChangeDetectionPolicy?: DataChangeDetectionPolicyUnion,\n): DataChangeDetectionPolicy | undefined {\n if (!dataChangeDetectionPolicy) {\n return undefined;\n }\n\n if (\n dataChangeDetectionPolicy.odatatype ===\n \"#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy\"\n ) {\n return dataChangeDetectionPolicy as HighWaterMarkChangeDetectionPolicy;\n } else {\n return dataChangeDetectionPolicy as SqlIntegratedChangeTrackingPolicy;\n }\n}\n\nexport function convertDataDeletionDetectionPolicyToPublic(\n dataDeletionDetectionPolicy?: DataDeletionDetectionPolicyUnion,\n): DataDeletionDetectionPolicy | undefined {\n if (!dataDeletionDetectionPolicy) {\n return undefined;\n }\n\n return dataDeletionDetectionPolicy as SoftDeleteColumnDeletionDetectionPolicy;\n}\n\nfunction convertKnowledgeStoreToPublic(\n knowledgeStore: BaseSearchIndexerKnowledgeStore | undefined,\n): SearchIndexerKnowledgeStore | undefined {\n if (!knowledgeStore) {\n return undefined;\n }\n\n return {\n ...knowledgeStore,\n identity: convertSearchIndexerDataIdentityToPublic(knowledgeStore.identity),\n parameters: convertKnowledgeStoreParametersToPublic(knowledgeStore.parameters),\n };\n}\n\nfunction convertKnowledgeStoreParametersToPublic(\n parameters?: GeneratedKnowledgeStoreParameters,\n): SearchIndexerKnowledgeStoreParameters | undefined {\n if (!parameters) {\n return undefined;\n }\n const { additionalProperties, synthesizeGeneratedKeyName } = parameters;\n return {\n ...(additionalProperties ?? {}),\n synthesizeGeneratedKeyName,\n };\n}\n\nexport function convertKnowledgeBaseToPublic(\n knowledgeBase: GeneratedKnowledgeBase | undefined,\n): KnowledgeBase {\n if (!knowledgeBase) {\n throw new Error(\"Knowledge base is undefined\");\n }\n\n return {\n ...knowledgeBase,\n etag: knowledgeBase.etag,\n models: (knowledgeBase.models ?? []).map((model) => convertKnowledgeBaseModelToPublic(model)),\n encryptionKey: convertEncryptionKeyToPublic(knowledgeBase.encryptionKey),\n };\n}\n\nexport function convertKnowledgeBaseToGenerated(\n knowledgeBase: KnowledgeBase | undefined,\n): GeneratedKnowledgeBase | undefined {\n if (!knowledgeBase) {\n return undefined;\n }\n\n return {\n ...knowledgeBase,\n etag: knowledgeBase.etag,\n encryptionKey: convertEncryptionKeyToGenerated(knowledgeBase.encryptionKey),\n };\n}\n\nexport function convertKnowledgeSourceToPublic(\n knowledgeSource: GeneratedKnowledgeSource,\n): KnowledgeSource | undefined {\n if (!knowledgeSource) {\n return undefined;\n }\n\n switch (knowledgeSource.kind) {\n case \"searchIndex\": {\n const { encryptionKey } = knowledgeSource as GeneratedSearchIndexKnowledgeSource;\n return {\n ...knowledgeSource,\n encryptionKey: convertEncryptionKeyToPublic(encryptionKey),\n } as KnowledgeSource;\n }\n case \"azureBlob\": {\n const { encryptionKey, azureBlobParameters } =\n knowledgeSource as GeneratedAzureBlobKnowledgeSource;\n return {\n ...knowledgeSource,\n kind: \"azureBlob\",\n encryptionKey: convertEncryptionKeyToPublic(encryptionKey),\n azureBlobParameters: convertAzureBlobKnowledgeSourceParametersToPublic(azureBlobParameters),\n };\n }\n case \"indexedOneLake\": {\n const { encryptionKey, indexedOneLakeParameters } =\n knowledgeSource as GeneratedIndexedOneLakeKnowledgeSource;\n return {\n ...knowledgeSource,\n kind: \"indexedOneLake\",\n encryptionKey: convertEncryptionKeyToPublic(encryptionKey),\n indexedOneLakeParameters: {\n fabricWorkspaceId: indexedOneLakeParameters.fabricWorkspaceId,\n lakehouseId: indexedOneLakeParameters.lakehouseId,\n ingestionParameters: convertKnowledgeIngestionParametersToPublic(\n indexedOneLakeParameters.ingestionParameters,\n ),\n targetPath: indexedOneLakeParameters.targetPath,\n createdResources: indexedOneLakeParameters.createdResources?.additionalProperties,\n },\n };\n }\n case \"web\": {\n const { encryptionKey } = knowledgeSource as GeneratedWebKnowledgeSource;\n return {\n ...knowledgeSource,\n kind: \"web\",\n encryptionKey: convertEncryptionKeyToPublic(encryptionKey),\n };\n }\n case \"indexedSharePoint\":\n case \"remoteSharePoint\":\n case \"workIQ\":\n case \"mcpServer\":\n case \"indexedSql\":\n case \"file\":\n case \"fabricDataAgent\":\n case \"fabricOntology\": {\n const { encryptionKey } = knowledgeSource;\n return {\n ...knowledgeSource,\n encryptionKey: convertEncryptionKeyToPublic(encryptionKey),\n } as KnowledgeSource;\n }\n default: {\n logger.warning(`Unknown knowledge source kind ${knowledgeSource.kind}`);\n return undefined;\n }\n }\n}\n\nexport function convertKnowledgeSourceToGenerated(\n knowledgeSource: KnowledgeSource | undefined,\n): GeneratedKnowledgeSource | undefined {\n if (!knowledgeSource) {\n return undefined;\n }\n const { encryptionKey } = knowledgeSource;\n return {\n ...knowledgeSource,\n encryptionKey: convertEncryptionKeyToGenerated(encryptionKey),\n } as GeneratedKnowledgeSource;\n}\n\nfunction convertKnowledgeIngestionParametersToPublic(\n params: GeneratedKnowledgeSourceIngestionParameters | undefined,\n): KnowledgeSourceIngestionParameters | undefined {\n if (!params) {\n return undefined;\n }\n\n const { embeddingModel, chatCompletionModel, identity, ...rest } = params;\n return {\n ...rest,\n embeddingModel: !embeddingModel\n ? embeddingModel\n : generatedKnowledgeSourceVectorizerToPublicVectorizer(embeddingModel),\n identity: convertSearchIndexerDataIdentityToPublic(identity),\n chatCompletionModel: !chatCompletionModel\n ? chatCompletionModel\n : convertKnowledgeBaseModelToPublic(chatCompletionModel),\n } as KnowledgeSourceIngestionParameters;\n}\n\nfunction convertAzureBlobKnowledgeSourceParametersToPublic(\n params: GeneratedAzureBlobKnowledgeSourceParameters | undefined,\n): AzureBlobKnowledgeSourceParameters | undefined {\n if (!params) {\n return undefined;\n }\n const { embeddingModel, chatCompletionModel, identity, ...rest } =\n params.ingestionParameters ?? {};\n return {\n ...rest,\n embeddingModel: !embeddingModel\n ? embeddingModel\n : generatedKnowledgeSourceVectorizerToPublicVectorizer(embeddingModel),\n identity: convertSearchIndexerDataIdentityToPublic(identity),\n connectionString: params.connectionString,\n containerName: params.containerName,\n chatCompletionModel: !chatCompletionModel\n ? chatCompletionModel\n : convertKnowledgeBaseModelToPublic(chatCompletionModel),\n } as AzureBlobKnowledgeSourceParameters;\n}\n\nfunction convertKnowledgeBaseModelToPublic(model: GeneratedKnowledgeBaseModel): KnowledgeBaseModel {\n switch (model.kind) {\n case \"azureOpenAI\": {\n const { azureOpenAIParameters, ...rest } = model as GeneratedKnowledgeBaseAzureOpenAIModel;\n return {\n ...rest,\n azureOpenAIParameters: convertAzureOpenAIParametersToPublic(azureOpenAIParameters),\n };\n }\n default: {\n logger.warning(\"Unknown knowledge base model kind\");\n return model as any;\n }\n }\n}\n\nfunction convertAzureOpenAIParametersToPublic(\n params: GeneratedAzureOpenAIParameters,\n): AzureOpenAIParameters {\n return {\n ...params,\n authIdentity: convertSearchIndexerDataIdentityToPublic(params.authIdentity),\n };\n}\n\nexport function mapPagedAsyncIterable<T, U>(\n iter: PagedAsyncIterableIterator<T>,\n mapper: (x: T) => U,\n): PagedAsyncIterableIterator<U> {\n return {\n async next() {\n const result = await iter.next();\n\n return {\n ...result,\n value: result.value && mapper(result.value),\n };\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n async *byPage(settings) {\n const iteratorByPage = iter.byPage(settings);\n for await (const page of iteratorByPage) {\n yield page.map(mapper);\n }\n },\n };\n}\n\n/**\n * Converts public IndexDocumentsAction format to generated IndexAction format.\n * The public API uses `__actionType` with document properties spread at the root,\n * while the generated API expects `actionType` with document properties in `additionalProperties`.\n * @internal\n */\nexport function convertPublicActionsToGeneratedActions<\n TModel extends { __actionType: IndexActionType },\n>(actions: Array<TModel>): IndexAction[] {\n return actions.map((action) => {\n const { __actionType, ...documentProperties } = action;\n return {\n actionType: __actionType,\n additionalProperties: documentProperties as Record<string, unknown>,\n };\n });\n}\n\n// Backward compatibility conversion functions for FacetResult, QueryAnswerResult, and QueryCaptionResult\n// These functions spread additionalProperties onto the top level of the object for backward compatibility\n// with the old API where users could access dynamic properties directly (e.g., facetResult[\"myProperty\"])\n\n/**\n * Converts a generated FacetResult to a public FacetResult with additionalProperties spread\n * onto the object for backward compatibility.\n * @internal\n */\nexport function convertGeneratedFacetResultToPublic(\n facetResult: GeneratedFacetResult,\n): FacetResult {\n const { additionalProperties, ...rest } = facetResult;\n return {\n ...additionalProperties,\n ...rest,\n additionalProperties,\n } as FacetResult;\n}\n\n/**\n * Converts a record of FacetResult arrays from generated to public format.\n * @internal\n */\nexport function convertGeneratedFacetsToPublic(\n facets: Record<string, GeneratedFacetResult[]> | undefined,\n): Record<string, FacetResult[]> | undefined {\n if (!facets) {\n return facets;\n }\n const result: Record<string, FacetResult[]> = {};\n for (const [key, value] of Object.entries(facets)) {\n result[key] = value.map(convertGeneratedFacetResultToPublic);\n }\n return result;\n}\n\n/**\n * Converts a generated QueryAnswerResult to a public QueryAnswerResult with additionalProperties spread\n * onto the object for backward compatibility.\n * @internal\n */\nexport function convertGeneratedQueryAnswerResultToPublic(\n answerResult: GeneratedQueryAnswerResult,\n): QueryAnswerResult {\n const { additionalProperties, ...rest } = answerResult;\n return {\n ...additionalProperties,\n ...rest,\n additionalProperties,\n } as QueryAnswerResult;\n}\n\n/**\n * Converts an array of QueryAnswerResult from generated to public format.\n * @internal\n */\nexport function convertGeneratedAnswersToPublic(\n answers: GeneratedQueryAnswerResult[] | undefined,\n): QueryAnswerResult[] | undefined {\n if (!answers) {\n return answers;\n }\n return answers.map(convertGeneratedQueryAnswerResultToPublic);\n}\n\n/**\n * Converts a generated QueryCaptionResult to a public QueryCaptionResult with additionalProperties spread\n * onto the object for backward compatibility.\n * @internal\n */\nexport function convertGeneratedQueryCaptionResultToPublic(\n captionResult: GeneratedQueryCaptionResult,\n): QueryCaptionResult {\n const { additionalProperties, ...rest } = captionResult;\n return {\n ...additionalProperties,\n ...rest,\n additionalProperties,\n } as QueryCaptionResult;\n}\n\n/**\n * Converts an array of QueryCaptionResult from generated to public format.\n * @internal\n */\nexport function convertGeneratedCaptionsToPublic(\n captions: GeneratedQueryCaptionResult[] | undefined,\n): QueryCaptionResult[] | undefined {\n if (!captions) {\n return captions;\n }\n return captions.map(convertGeneratedQueryCaptionResultToPublic);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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C,SAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,IACH;AAAA,EACF;AACF;AAMO,SAAS,+BACd,QAC2C;AAC3C,MAAI,CAAC,QAAQ;AACX,WAAO;AAAA,EACT;AACA,QAAM,SAAwC,CAAC;AAC/C,aAAW,CAAC,KAAK,KAAK,KAAK,OAAO,QAAQ,MAAM,GAAG;AACjD,WAAO,GAAG,IAAI,MAAM,IAAI,mCAAmC;AAAA,EAC7D;AACA,SAAO;AACT;AAOO,SAAS,0CACd,cACmB;AACnB,QAAM,EAAE,sBAAsB,GAAG,KAAK,IAAI;AAC1C,SAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,IACH;AAAA,EACF;AACF;AAMO,SAAS,gCACd,SACiC;AACjC,MAAI,CAAC,SAAS;AACZ,WAAO;AAAA,EACT;AACA,SAAO,QAAQ,IAAI,yCAAyC;AAC9D;AAOO,SAAS,2CACd,eACoB;AACpB,QAAM,EAAE,sBAAsB,GAAG,KAAK,IAAI;AAC1C,SAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,IACH;AAAA,EACF;AACF;AAMO,SAAS,iCACd,UACkC;AAClC,MAAI,CAAC,UAAU;AACb,WAAO;AAAA,EACT;AACA,SAAO,SAAS,IAAI,0CAA0C;AAChE;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { AzureKeyCredential } from "@azure/core-auth";
|
|
2
2
|
export type { PagedAsyncIterableIterator, PageSettings, ContinuablePage, } from "./static-helpers/pagingHelpers.js";
|
|
3
|
-
export { type AutocompleteItem, type AutocompleteMode, type AutocompleteResult, type IndexActionType, type IndexDocumentsResult, type IndexingResult, KnownQueryDebugMode, KnownSemanticErrorMode, KnownSemanticErrorReason, KnownSemanticSearchResultsType, KnownVectorFilterMode, KnownVectorQueryKind, type QueryDebugMode, type QueryResultDocumentSubscores, type QueryType, type ScoringStatistics, type SearchMode, type SingleVectorFieldResult, type TextResult, type VectorsDebugInfo, type SemanticSearchResultsType, } from "./models/azure/search/documents/index.js";
|
|
4
|
-
export { type AIServices, type AzureBlobKnowledgeSourceParams, type KnowledgeBaseActivityRecord as BaseKnowledgeBaseActivityRecord, type KnowledgeBaseActivityRecordType, type KnowledgeBaseMessageContent as BaseKnowledgeBaseMessageContent, type KnowledgeBaseMessageContentType, type KnowledgeBaseReference as BaseKnowledgeBaseReference, type KnowledgeBaseReferenceType, type KnowledgeRetrievalIntentUnion as BaseKnowledgeRetrievalIntent, type KnowledgeRetrievalIntentType, type KnowledgeRetrievalReasoningEffortUnion, type KnowledgeRetrievalReasoningEffort as BaseKnowledgeRetrievalReasoningEffort, type KnowledgeRetrievalReasoningEffortKind, type KnowledgeSourceParams as BaseKnowledgeSourceParams, type KnowledgeSourceVectorizer as BaseKnowledgeSourceVectorizer, type IndexedOneLakeKnowledgeSourceParams, type KnowledgeBaseActivityRecordUnion as KnowledgeBaseActivityRecord, type KnowledgeBaseAgenticReasoningActivityRecord, type KnowledgeBaseImageContent as KnowledgeBaseMessageImageContentImage, type KnowledgeBaseAzureBlobReference, type KnowledgeBaseErrorAdditionalInfo, type KnowledgeBaseErrorDetail, type KnowledgeBaseIndexedOneLakeReference, type KnowledgeBaseMessage, type KnowledgeBaseMessageContentUnion as KnowledgeBaseMessageContent, type KnowledgeBaseMessageImageContent, type KnowledgeBaseMessageTextContent, type KnowledgeBaseReferenceUnion as KnowledgeBaseReference, type KnowledgeBaseRetrievalRequest, type KnowledgeBaseRetrievalResponse, type KnowledgeSourceStatus, type SynchronizationState, type KnowledgeSourceSynchronizationError, type CompletedSynchronizationState, type KnowledgeSourceStatistics, type KnowledgeBaseSearchIndexReference, type KnowledgeBaseWebReference, type KnowledgeRetrievalIntent, type KnowledgeRetrievalMinimalReasoningEffort, type KnowledgeRetrievalSemanticIntent, type KnowledgeSourceParamsUnion as KnowledgeSourceParams, type SearchIndexKnowledgeSourceParams, type WebKnowledgeSourceParams, } from "./models/azure/search/documents/knowledgeBases/index.js";
|
|
5
|
-
export { type AIFoundryModelCatalogName, type AIServicesAccountKey, type BM25Similarity, type AnalyzedTokenInfo, type AnalyzeResult, type AsciiFoldingTokenFilter, type AzureActiveDirectoryApplicationCredentials, type AzureOpenAIModelName, type CharFilter as BaseCharFilter, type CognitiveServicesAccount as BaseCognitiveServicesAccount, type DataChangeDetectionPolicy as BaseDataChangeDetectionPolicy, type DataDeletionDetectionPolicy as BaseDataDeletionDetectionPolicy, type KnowledgeBaseModel as BaseKnowledgeBaseModel, type LexicalAnalyzer as BaseLexicalAnalyzer, type LexicalNormalizer as BaseLexicalNormalizer, type LexicalTokenizer as BaseLexicalTokenizer, type ScoringFunction as BaseScoringFunction, type SearchIndexerDataIdentity as BaseSearchIndexerDataIdentity, type SearchIndexerSkill as BaseSearchIndexerSkill, type TokenFilter as BaseTokenFilter, type VectorSearchCompression as BaseVectorSearchCompression, type BinaryQuantizationCompression, type CharFilterName, type ChatCompletionExtraParametersBehavior, type ChatCompletionResponseFormat, type ChatCompletionSchemaProperties as ChatCompletionResponseFormatJsonSchemaProperties, type ChatCompletionResponseFormatType, type ChatCompletionSchema, type CjkBigramTokenFilter, type CjkBigramTokenFilterScripts, type ClassicSimilarity, type ClassicTokenizer, type CognitiveServicesAccountKey, type CommonGramTokenFilter, type CommonModelParameters, type ConditionalSkill, type ContentUnderstandingSkill, type ContentUnderstandingSkillChunkingProperties, type ContentUnderstandingSkillChunkingUnit, type ContentUnderstandingSkillExtractionOptions, KnownContentUnderstandingSkillChunkingUnit, KnownContentUnderstandingSkillExtractionOptions, type CorsOptions, type CustomEntity, type CustomEntityAlias, type CustomNormalizer as CustomLexicalNormalizer, type DefaultCognitiveServicesAccount, type DictionaryDecompounderTokenFilter, type DistanceScoringFunction, type DistanceScoringParameters, type DocumentExtractionSkill, type DocumentIntelligenceLayoutSkillChunkingProperties, type DocumentIntelligenceLayoutSkillChunkingUnit, type DocumentIntelligenceLayoutSkillExtractionOptions, type DocumentIntelligenceLayoutSkillMarkdownHeaderDepth, type DocumentIntelligenceLayoutSkillOutputFormat, type DocumentIntelligenceLayoutSkillOutputMode, type EdgeNGramTokenFilterSide, type EdgeNGramTokenizer, type ElisionTokenFilter, type EntityLinkingSkill, type EntityRecognitionSkillV3, type EntityCategory, type EntityRecognitionSkillLanguage, type FieldMapping, type FieldMappingFunction, type FreshnessScoringFunction, type FreshnessScoringParameters, type HighWaterMarkChangeDetectionPolicy, type IndexerExecutionResult, type IndexerExecutionStatus, type IndexerResyncOption, type IndexerStatus, type IndexingSchedule, type IndexProjectionMode, type InputFieldMappingEntry, type KeepTokenFilter, type KeywordMarkerTokenFilter, type KnowledgeBaseModelKind, type KnowledgeSourceContentExtractionMode, type KnowledgeSourceKind, type KnowledgeSourceReference, type KnowledgeSourceSynchronizationStatus, KnownAIFoundryModelCatalogName, KnownAzureOpenAIModelName, KnownBlobIndexerDataToExtract, KnownBlobIndexerImageAction, KnownBlobIndexerParsingMode, KnownBlobIndexerPDFTextRotationAlgorithm, KnownChatCompletionExtraParametersBehavior, KnownChatCompletionResponseFormatType, KnownCustomEntityLookupSkillLanguage, KnownDocumentIntelligenceLayoutSkillChunkingUnit, KnownDocumentIntelligenceLayoutSkillExtractionOptions, KnownDocumentIntelligenceLayoutSkillMarkdownHeaderDepth, KnownDocumentIntelligenceLayoutSkillOutputFormat, KnownDocumentIntelligenceLayoutSkillOutputMode, KnownEntityCategory, KnownEntityRecognitionSkillLanguage, KnownImageAnalysisSkillLanguage, KnownImageDetail, KnownIndexerExecutionEnvironment, KnownIndexerResyncOption, KnownIndexProjectionMode, KnownKeyPhraseExtractionSkillLanguage, KnownKnowledgeBaseModelKind, KnownKnowledgeSourceKind, KnownLexicalAnalyzerName, KnownLexicalNormalizerName, KnownMarkdownHeaderDepth, KnownMarkdownParsingSubmode, KnownLexicalNormalizerName as KnownNormalizerNames, KnownOcrLineEnding, KnownOcrSkillLanguage, KnownPIIDetectionSkillMaskingMode, KnownRankingOrder, KnownRegexFlags, KnownSearchFieldDataType, KnownSearchIndexerDataSourceType, KnownSentimentSkillLanguage, KnownSplitSkillLanguage, KnownTextSplitMode, KnownTextTranslationSkillLanguage, KnownVectorEncodingFormat, KnownVectorSearchAlgorithmKind, KnownVectorSearchAlgorithmMetric, KnownVectorSearchCompressionKind, KnownVectorSearchCompressionRescoreStorageMethod, KnownVectorSearchCompressionTarget, KnownVectorSearchVectorizerKind, KnownVisualFeature, type LanguageDetectionSkill, type LengthTokenFilter, type LexicalAnalyzerName, type LexicalNormalizerName, type LexicalTokenizerName, type LimitTokenFilter, type LuceneStandardAnalyzer, type MagnitudeScoringFunction, type MagnitudeScoringParameters, type MappingCharFilter, type MarkdownHeaderDepth, type MarkdownParsingSubmode, type MergeSkill, type MicrosoftLanguageStemmingTokenizer, type MicrosoftLanguageTokenizer, type MicrosoftStemmingTokenizerLanguage, type MicrosoftTokenizerLanguage, type NativeBlobSoftDeleteDeletionDetectionPolicy, type NGramTokenizer, type OcrLineEnding, type OutputFieldMappingEntry, type PathHierarchyTokenizerV2 as PathHierarchyTokenizer, type PatternCaptureTokenFilter, type PatternReplaceCharFilter, type PatternReplaceTokenFilter, type PhoneticEncoder, type PhoneticTokenFilter, type RankingOrder, type RescoringOptions, type ResourceCounter, type ScalarQuantizationCompression, type ScalarQuantizationParameters, type ScoringFunctionAggregation, type ScoringFunctionInterpolation, type SearchAlias, type SearchIndexerDataContainer, type SearchIndexerDataNoneIdentity, type SearchIndexerDataUserAssignedIdentity, type SearchIndexerError, type SearchIndexerIndexProjectionSelector, type SearchIndexerKnowledgeStoreBlobProjectionSelector, type SearchIndexerKnowledgeStoreFileProjectionSelector, type SearchIndexerKnowledgeStoreObjectProjectionSelector, type SearchIndexerKnowledgeStoreProjection, type SearchIndexerKnowledgeStoreProjectionSelector, type SearchIndexerKnowledgeStoreTableProjectionSelector, type SearchIndexerLimits, type SearchIndexerStatus, type SearchIndexerWarning, type SearchIndexFieldReference, type SearchIndexKnowledgeSourceParameters, type SearchSuggester as Suggester, type SemanticConfiguration, type SemanticField, type SemanticPrioritizedFields, type SemanticSearch, type SentimentSkillV3, type SentimentSkillLanguage, type ServiceCounters, type ServiceLimits, type ShaperSkill, type ShingleTokenFilter, type SimilarityAlgorithmUnion as Similarity, type SimilarityAlgorithm as BaseSimilarityAlgorithm, type SnowballTokenFilter, type SnowballTokenFilterLanguage, type SoftDeleteColumnDeletionDetectionPolicy, type SqlIntegratedChangeTrackingPolicy, type StemmerOverrideTokenFilter, type StemmerTokenFilter, type StemmerTokenFilterLanguage, type StopAnalyzer, type StopwordsList, type StopwordsTokenFilter, type SynonymTokenFilter, type TagScoringFunction, type TagScoringParameters, type TextWeights, type TokenCharacterKind, type TokenFilterName, type TruncateTokenFilter, type UaxUrlEmailTokenizer, type UniqueTokenFilter, type VectorEncodingFormat, type VectorSearchCompressionKind, type VectorSearchCompressionRescoreStorageMethod, type VectorSearchCompressionTarget, type VectorSearchProfile, type VectorSearchVectorizerKind, type WebKnowledgeSourceDomains, type WebKnowledgeSourceParameters, type WebKnowledgeSourceDomain, type WordDelimiterTokenFilter, } from "./models/azure/search/documents/indexes/index.js";
|
|
6
|
-
export type { KnowledgeBaseModelWebSummarizationActivityRecord } from "./models/index.js";
|
|
3
|
+
export { type AutocompleteItem, type AutocompleteMode, type AutocompleteResult, type HybridCountAndFacetMode, type HybridSearch, type IndexActionType, type IndexDocumentsResult, type IndexingResult, KnownHybridCountAndFacetMode, KnownQueryDebugMode, KnownSemanticErrorMode, KnownSemanticErrorReason, KnownSemanticFieldState, KnownSemanticSearchResultsType, KnownVectorFilterMode, KnownVectorQueryKind, type QueryDebugMode, type QueryResultDocumentRerankerInput, type QueryResultDocumentSubscores, type QueryType, type ScoringStatistics, type SearchMode, type SemanticFieldState, type SingleVectorFieldResult, type TextResult, type VectorsDebugInfo, type SemanticSearchResultsType, } from "./models/azure/search/documents/index.js";
|
|
4
|
+
export { type AIServices, type AssetStore, type AzureBlobKnowledgeSourceParams, type FreshnessPolicy, type KnowledgeBaseActivityRecord as BaseKnowledgeBaseActivityRecord, type KnowledgeBaseActivityRecordType, type KnowledgeBaseMessageContent as BaseKnowledgeBaseMessageContent, type KnowledgeBaseMessageContentType, type KnowledgeBaseReference as BaseKnowledgeBaseReference, type KnowledgeBaseReferenceType, type KnowledgeRetrievalIntentUnion as BaseKnowledgeRetrievalIntent, type KnowledgeRetrievalIntentType, type KnowledgeRetrievalReasoningEffortUnion, type KnowledgeRetrievalReasoningEffort as BaseKnowledgeRetrievalReasoningEffort, type KnowledgeRetrievalReasoningEffortKind, KnownKnowledgeRetrievalReasoningEffortKind, type KnowledgeSourceParams as BaseKnowledgeSourceParams, type KnowledgeSourceVectorizer as BaseKnowledgeSourceVectorizer, type IndexedOneLakeKnowledgeSourceParams, type KnowledgeBaseActivityRecordUnion as KnowledgeBaseActivityRecord, type KnowledgeBaseAgenticReasoningActivityRecord, type KnowledgeBaseImageContent as KnowledgeBaseMessageImageContentImage, type KnowledgeBaseAzureBlobReference, type KnowledgeBaseErrorAdditionalInfo, type KnowledgeBaseErrorDetail, type KnowledgeBaseIndexedOneLakeReference, type KnowledgeBaseMessage, type KnowledgeBaseMessageContentUnion as KnowledgeBaseMessageContent, type KnowledgeBaseMessageImageContent, type KnowledgeBaseMessageTextContent, type KnowledgeBaseReferenceUnion as KnowledgeBaseReference, type KnowledgeBaseRetrievalRequest, type KnowledgeBaseRetrievalResponse, type KnowledgeSourceStatus, type SynchronizationState, type KnowledgeSourceSynchronizationError, type CompletedSynchronizationState, type KnowledgeSourceStatistics, type KnowledgeBaseSearchIndexReference, type KnowledgeBaseWebReference, type KnowledgeRetrievalIntent, type KnowledgeRetrievalLowReasoningEffort, type KnowledgeRetrievalMediumReasoningEffort, type KnowledgeRetrievalMinimalReasoningEffort, type KnowledgeRetrievalOutputMode, KnownKnowledgeRetrievalOutputMode, type KnowledgeRetrievalSemanticIntent, type KnowledgeSourceParamsUnion as KnowledgeSourceParams, type FabricDataAgentKnowledgeSourceParams, type FabricOntologyKnowledgeSourceParams, type FileKnowledgeSourceParams, type IndexedSharePointKnowledgeSourceParams, type IndexedSqlKnowledgeSourceParams, type KnowledgeBaseFabricDataAgentReference, type KnowledgeBaseFabricOntologyReference, type KnowledgeBaseFileReference, type KnowledgeBaseIndexedSharePointReference, type KnowledgeBaseIndexedSqlReference, type KnowledgeBaseMcpServerReference, type KnowledgeBaseModelAnswerSynthesisActivityRecord, type KnowledgeBaseModelQueryPlanningActivityRecord, type KnowledgeBaseRemoteSharePointReference, type KnowledgeBaseWorkIQReference, type McpServerKnowledgeSourceParams, type PurviewSensitivityLabelInfo, type RemoteSharePointKnowledgeSourceParams, type SearchIndexKnowledgeSourceParams, type WebKnowledgeSourceParams, type WorkIQAttribution, type WorkIQKnowledgeSourceParams, } from "./models/azure/search/documents/knowledgeBases/index.js";
|
|
5
|
+
export { type AIFoundryModelCatalogName, type AIServicesAccountKey, type BM25Similarity, type AnalyzedTokenInfo, type AnalyzeResult, type AsciiFoldingTokenFilter, type AzureActiveDirectoryApplicationCredentials, type AzureOpenAIModelName, type AzureOpenAITokenizerParameters, type CharFilter as BaseCharFilter, type CognitiveServicesAccount as BaseCognitiveServicesAccount, type DataChangeDetectionPolicy as BaseDataChangeDetectionPolicy, type DataDeletionDetectionPolicy as BaseDataDeletionDetectionPolicy, type KnowledgeBaseModel as BaseKnowledgeBaseModel, type LexicalAnalyzer as BaseLexicalAnalyzer, type LexicalNormalizer as BaseLexicalNormalizer, type LexicalTokenizer as BaseLexicalTokenizer, type ScoringFunction as BaseScoringFunction, type SearchIndexerDataIdentity as BaseSearchIndexerDataIdentity, type SearchIndexerDataIdentityUnion, type SearchIndexerSkill as BaseSearchIndexerSkill, type TokenFilter as BaseTokenFilter, type VectorSearchCompression as BaseVectorSearchCompression, type BinaryQuantizationCompression, type CharFilterName, type ChatCompletionExtraParametersBehavior, type ChatCompletionResponseFormat, type ChatCompletionSchemaProperties as ChatCompletionResponseFormatJsonSchemaProperties, type ChatCompletionResponseFormatType, type ChatCompletionSchema, type CjkBigramTokenFilter, type CjkBigramTokenFilterScripts, type ClassicSimilarity, type ClassicTokenizer, type CognitiveServicesAccountKey, type CommonGramTokenFilter, type CommonModelParameters, type ConditionalSkill, type ContentUnderstandingSkill, type ContentUnderstandingSkillChunkingProperties, type ContentUnderstandingSkillChunkingUnit, type ContentUnderstandingSkillExtractionOptions, KnownContentUnderstandingSkillChunkingUnit, KnownContentUnderstandingSkillExtractionOptions, type CorsOptions, type CustomEntity, type CustomEntityAlias, type CustomNormalizer as CustomLexicalNormalizer, type DefaultCognitiveServicesAccount, type DictionaryDecompounderTokenFilter, type DistanceScoringFunction, type DistanceScoringParameters, type DocumentExtractionSkill, type DocumentIntelligenceLayoutSkillChunkingProperties, type DocumentIntelligenceLayoutSkillChunkingUnit, type DocumentIntelligenceLayoutSkillExtractionOptions, type DocumentIntelligenceLayoutSkillMarkdownHeaderDepth, type DocumentIntelligenceLayoutSkillOutputFormat, type DocumentIntelligenceLayoutSkillOutputMode, type EdgeNGramTokenFilterSide, type EdgeNGramTokenizer, type ElisionTokenFilter, type EntityLinkingSkill, type EntityRecognitionSkillV3, type EntityCategory, type EntityRecognitionSkillLanguage, type FieldMapping, type FieldMappingFunction, type FreshnessScoringFunction, type FreshnessScoringParameters, type HighWaterMarkChangeDetectionPolicy, type IndexerCurrentState, type IndexerExecutionResult, type IndexerExecutionStatus, type IndexerExecutionStatusDetail, type IndexerResyncOption, type IndexerRuntime, type IndexerStatus, type IndexingMode, type IndexingSchedule, type IndexStatisticsSummary, type IndexProjectionMode, type IndexedSharePointContainerName, type IndexerPermissionOption, type InputFieldMappingEntry, type KeepTokenFilter, type KeywordMarkerTokenFilter, type KnowledgeBaseModelKind, type KnowledgeSourceContentExtractionMode, type KnowledgeSourceIngestionPermissionOption, type KnowledgeSourceKind, type KnowledgeSourceReference, type KnowledgeSourceSynchronizationStatus, KnownAIFoundryModelCatalogName, KnownAzureOpenAIModelName, KnownBlobIndexerDataToExtract, KnownBlobIndexerImageAction, KnownBlobIndexerParsingMode, KnownBlobIndexerPDFTextRotationAlgorithm, KnownChatCompletionExtraParametersBehavior, KnownChatCompletionResponseFormatType, KnownCustomEntityLookupSkillLanguage, KnownDocumentIntelligenceLayoutSkillChunkingUnit, KnownDocumentIntelligenceLayoutSkillExtractionOptions, KnownDocumentIntelligenceLayoutSkillMarkdownHeaderDepth, KnownDocumentIntelligenceLayoutSkillOutputFormat, KnownDocumentIntelligenceLayoutSkillOutputMode, KnownEntityCategory, KnownEntityRecognitionSkillLanguage, KnownImageAnalysisSkillLanguage, KnownImageDetail, KnownIndexerExecutionEnvironment, KnownIndexerPermissionOption, KnownIndexerResyncOption, KnownIndexedSharePointContainerName, KnownIndexProjectionMode, KnownKeyPhraseExtractionSkillLanguage, KnownKnowledgeBaseModelKind, KnownKnowledgeSourceIngestionPermissionOption, KnownKnowledgeSourceKind, KnownLexicalAnalyzerName, KnownLexicalNormalizerName, KnownMarkdownHeaderDepth, KnownMarkdownParsingSubmode, KnownLexicalNormalizerName as KnownNormalizerNames, KnownOcrLineEnding, KnownOcrSkillLanguage, KnownPermissionFilter, KnownPIIDetectionSkillMaskingMode, KnownRankingOrder, KnownRegexFlags, KnownSearchFieldDataType, KnownSearchIndexerDataSourceType, KnownSearchIndexPermissionFilterOption, KnownSentimentSkillLanguage, KnownSplitSkillLanguage, KnownSplitSkillEncoderModelName, KnownSplitSkillUnit, KnownTextSplitMode, KnownTextTranslationSkillLanguage, KnownVectorEncodingFormat, KnownVectorSearchAlgorithmKind, KnownVectorSearchAlgorithmMetric, KnownVectorSearchCompressionKind, KnownVectorSearchCompressionRescoreStorageMethod, KnownVectorSearchCompressionTarget, KnownVectorSearchVectorizerKind, KnownVisualFeature, type LanguageDetectionSkill, type LengthTokenFilter, type LexicalAnalyzerName, type LexicalNormalizerName, type LexicalTokenizerName, type LimitTokenFilter, type LuceneStandardAnalyzer, type MagnitudeScoringFunction, type MagnitudeScoringParameters, type MappingCharFilter, type MarkdownHeaderDepth, type MarkdownParsingSubmode, type MergeSkill, type MicrosoftLanguageStemmingTokenizer, type MicrosoftLanguageTokenizer, type MicrosoftStemmingTokenizerLanguage, type MicrosoftTokenizerLanguage, type NativeBlobSoftDeleteDeletionDetectionPolicy, type NGramTokenizer, type OcrLineEnding, type OutputFieldMappingEntry, type PathHierarchyTokenizerV2 as PathHierarchyTokenizer, type PatternCaptureTokenFilter, type PatternReplaceCharFilter, type PatternReplaceTokenFilter, type PermissionFilter, type PhoneticEncoder, type PhoneticTokenFilter, type RankingOrder, type RescoringOptions, type ResourceCounter, type ScalarQuantizationCompression, type ScalarQuantizationParameters, type ScoringFunctionAggregation, type ScoringFunctionInterpolation, type SearchAlias, type SearchIndexerCache, type SearchIndexerDataContainer, type SearchIndexerDataNoneIdentity, type SearchIndexerDataUserAssignedIdentity, type SearchIndexerError, type SearchIndexerIndexProjectionSelector, type SearchIndexerKnowledgeStoreBlobProjectionSelector, type SearchIndexerKnowledgeStoreFileProjectionSelector, type SearchIndexerKnowledgeStoreObjectProjectionSelector, type SearchIndexerKnowledgeStoreProjection, type SearchIndexerKnowledgeStoreProjectionSelector, type SearchIndexerKnowledgeStoreTableProjectionSelector, type SearchIndexerLimits, type SearchIndexerStatus, type SearchIndexerWarning, type SearchIndexFieldReference, type SearchIndexKnowledgeSourceParameters, type SearchIndexPermissionFilterOption, type SearchSuggester as Suggester, type SemanticConfiguration, type SemanticField, type SemanticPrioritizedFields, type SemanticSearch, type SentimentSkillV3, type SentimentSkillLanguage, type ServiceCounters, type ServiceIndexersRuntime, type ServiceLimits, type ShaperSkill, type ShingleTokenFilter, type SimilarityAlgorithmUnion as Similarity, type SimilarityAlgorithm as BaseSimilarityAlgorithm, type SnowballTokenFilter, type SnowballTokenFilterLanguage, type SoftDeleteColumnDeletionDetectionPolicy, type SplitSkillEncoderModelName, type SplitSkillUnit, type SqlIntegratedChangeTrackingPolicy, type StemmerOverrideTokenFilter, type StemmerTokenFilter, type StemmerTokenFilterLanguage, type StopAnalyzer, type StopwordsList, type StopwordsTokenFilter, type SynonymTokenFilter, type TagScoringFunction, type TagScoringParameters, type TextWeights, type TokenCharacterKind, type TokenFilterName, type TruncateTokenFilter, type UaxUrlEmailTokenizer, type UniqueTokenFilter, type VectorEncodingFormat, type VectorSearchCompressionKind, type VectorSearchCompressionRescoreStorageMethod, type VectorSearchCompressionTarget, type VectorSearchProfile, type VectorSearchVectorizerKind, type WebKnowledgeSourceDomains, type WebKnowledgeSourceParameters, type WebKnowledgeSourceDomain, type IndexedSqlKnowledgeSourceParameters, type ContentColumnMapping, type EmbeddingColumnMapping, type FileKnowledgeSourceParameters, type McpServerKnowledgeSourceParameters, type McpServerAuthentication, type McpServerAuthenticationUnion, type McpServerAuthenticationKind, type McpServerFoundryConnectionAuthentication, type McpServerFoundryConnectionParameters, type McpServerStoredHeadersAuthentication, type McpServerStoredHeadersParameters, type McpServerHeaders, type McpServerTool, type McpServerOutputParsing, type McpServerOutputParsingUnion, type McpServerOutputParsingKind, type McpServerAutoOutputParsing, type McpServerJsonOutputParsing, type McpServerOutputParsingJsonParameters, type McpServerSplitOutputParsing, type McpServerOutputParsingSplitParameters, type McpServerNoneOutputParsing, type McpServerToolInclusionMode, KnownMcpServerAuthenticationKind, KnownMcpServerOutputParsingKind, KnownMcpServerToolInclusionMode, type KnowledgeSourceFile, type WordDelimiterTokenFilter, } from "./models/azure/search/documents/indexes/index.js";
|
|
6
|
+
export type { KnowledgeBaseModelWebSummarizationActivityRecord, ContentUnderstandingSkillChunkingMethod, SharePointConnectorAppRegistration, } from "./models/index.js";
|
|
7
7
|
export { default as GeographyPoint } from "./geographyPoint.js";
|
|
8
8
|
export { IndexDocumentsBatch } from "./indexDocumentsBatch.js";
|
|
9
9
|
export type { AutocompleteOptions, AutocompleteRequest, BaseSearchRequestOptions, BaseVectorQuery, CountDocumentsOptions, DeleteDocumentsOptions, DocumentDebugInfo, ExcludedODataTypes, ExtractDocumentKey, ExtractiveQueryAnswer, ExtractiveQueryCaption, GenerativeQueryRewrites, GetDocumentOptions, IndexDocumentsAction, IndexDocumentsOptions, ListSearchResultsPageSettings, MergeDocumentsOptions, MergeOrUploadDocumentsOptions, NarrowedModel, QueryAnswer, QueryCaption, QueryResultDocumentSemanticField, QueryRewrites, SearchDocumentsPageResult, SearchDocumentsResult, SearchDocumentsResultBase, SearchFieldArray, SearchIndexingBufferedSenderDeleteDocumentsOptions, SearchIndexingBufferedSenderFlushDocumentsOptions, SearchIndexingBufferedSenderMergeDocumentsOptions, SearchIndexingBufferedSenderMergeOrUploadDocumentsOptions, SearchIndexingBufferedSenderOptions, SearchIndexingBufferedSenderUploadDocumentsOptions, SearchIterator, SearchOptions, SearchPick, SearchRequestOptions, SearchRequestQueryTypeOptions, SearchResult, SelectFields, SemanticDebugInfo, SemanticErrorMode, SemanticErrorReason, SemanticSearchOptions, SuggestDocumentsResult, SuggestNarrowedModel, SuggestOptions, SuggestRequest, SuggestResult, UnionToIntersection, UploadDocumentsOptions, VectorFilterMode, VectorizableImageBinaryQuery, VectorizableImageUrlQuery, VectorizableTextQuery, VectorizedQuery, VectorQuery, VectorQueryKind, VectorSearchOptions, } from "./indexModels.js";
|
|
@@ -15,6 +15,6 @@ export { SearchClient, type SearchClientOptions } from "./searchClient.js";
|
|
|
15
15
|
export { SearchIndexClient, type SearchIndexClientOptions } from "./searchIndexClient.js";
|
|
16
16
|
export { SearchIndexerClient, type SearchIndexerClientOptions } from "./searchIndexerClient.js";
|
|
17
17
|
export { DEFAULT_BATCH_SIZE, DEFAULT_FLUSH_WINDOW, DEFAULT_RETRY_COUNT, type IndexDocumentsClient, SearchIndexingBufferedSender, } from "./searchIndexingBufferedSender.js";
|
|
18
|
-
export { type AIServicesAccountIdentity, type AliasIterator, type AnalyzeRequest, type AnalyzeTextOptions, type AzureBlobKnowledgeSource, type AzureBlobKnowledgeSourceParameters, type AzureMachineLearningVectorizer, type AzureMachineLearningVectorizerParameters, type AzureOpenAIEmbeddingSkill, type AzureOpenAIParameters, type AzureOpenAIVectorizer, type BaseAzureMachineLearningVectorizerParameters, type BaseKnowledgeSource, type BaseVectorSearchAlgorithmConfiguration, type BaseVectorSearchVectorizer, type BlobIndexerDataToExtract, type BlobIndexerImageAction, type BlobIndexerParsingMode, type BlobIndexerPDFTextRotationAlgorithm, type CharFilter, type ChatCompletionSkill, type CognitiveServicesAccount, type ComplexDataType, type ComplexField, type CreateAliasOptions, type CreateDataSourceConnectionOptions, type CreateIndexerOptions, type CreateIndexOptions, type CreateKnowledgeBaseOptions, type CreateKnowledgeSourceOptions, type CreateOrUpdateAliasOptions, type CreateorUpdateDataSourceConnectionOptions, type CreateorUpdateIndexerOptions, type CreateOrUpdateIndexOptions, type CreateOrUpdateKnowledgeBaseOptions, type CreateOrUpdateKnowledgeSourceOptions, type CreateOrUpdateSkillsetOptions, type CreateOrUpdateSynonymMapOptions, type CreateSkillsetOptions, type CreateSynonymMapOptions, type CustomAnalyzer, type CustomEntityLookupSkill, type CustomEntityLookupSkillLanguage, type DataChangeDetectionPolicy, type DataDeletionDetectionPolicy, type DeleteAliasOptions, type DeleteDataSourceConnectionOptions, type DeleteIndexerOptions, type DeleteIndexOptions, type DeleteKnowledgeBaseOptions, type DeleteKnowledgeSourceOptions, type DeleteSkillsetOptions, type DeleteSynonymMapOptions, type DocumentIntelligenceLayoutSkill, type EdgeNGramTokenFilter, type EntityRecognitionSkill, type ExhaustiveKnnAlgorithmConfiguration, type ExhaustiveKnnParameters, type FacetResult, type GetAliasOptions, type GetDataSourceConnectionOptions, type GetIndexerOptions, type GetIndexerStatusOptions, type GetIndexOptions, type GetIndexStatisticsOptions, type GetKnowledgeBaseOptions, type GetKnowledgeSourceOptions, type GetKnowledgeSourceStatusOptions, type GetServiceStatisticsOptions, type GetSkillSetOptions, type GetSynonymMapsOptions, type HnswAlgorithmConfiguration, type HnswParameters, type ImageAnalysisSkill, type ImageAnalysisSkillLanguage, type ImageDetail, type IndexedOneLakeKnowledgeSource, type IndexedOneLakeKnowledgeSourceParameters, type IndexerExecutionEnvironment, type IndexingParameters, type IndexingParametersConfiguration, type IndexIterator, type IndexNameIterator, type KeyAuthAzureMachineLearningVectorizerParameters, type KeyPhraseExtractionSkill, type KeyPhraseExtractionSkillLanguage, type KeywordTokenizer, type KnowledgeBaseAzureOpenAIModel, type KnowledgeBaseIterator, type KnowledgeBaseModel, type KnowledgeSource, type KnowledgeSourceAzureOpenAIVectorizer, type KnowledgeSourceIngestionParameters, type KnowledgeSourceIterator, type KnowledgeSourceVectorizer, KnownAnalyzerNames, KnownCharFilterNames, KnownTokenFilterNames, KnownTokenizerNames, type LexicalAnalyzer, type LexicalNormalizer, type LexicalTokenizer, type ListAliasesOptions, type ListDataSourceConnectionsOptions, type ListIndexersOptions, type ListIndexesOptions, type ListKnowledgeBasesOptions, type ListKnowledgeSourcesOptions, type ListSkillsetsOptions, type ListSynonymMapsOptions, type LuceneStandardTokenizer, type NGramTokenFilter, type NoAuthAzureMachineLearningVectorizerParameters, type OcrSkill, type OcrSkillLanguage, type PatternAnalyzer, type PatternTokenizer, type PIIDetectionSkill, type PIIDetectionSkillMaskingMode, type QueryAnswerResult, type QueryCaptionResult, type RegexFlags, type ResetIndexerOptions, type RunIndexerOptions, type ScoringFunction, type ScoringProfile, type SearchField, type SearchFieldDataType, type SearchIndex, type SearchIndexAlias, type SearchIndexer, type SearchIndexerDataIdentity, type SearchIndexerDataSourceConnection, type SearchIndexerDataSourceType, type SearchIndexerIndexProjection, type SearchIndexerIndexProjectionParameters, type SearchIndexerKnowledgeStore, type SearchIndexerKnowledgeStoreParameters, type SearchIndexerSkill, type SearchIndexerSkillset, type SearchIndexKnowledgeSource, type SearchIndexStatistics, type SearchResourceEncryptionKey, type SearchServiceStatistics, type SentimentSkill, type SimilarityAlgorithm, type SimpleField, type SplitSkill, type SplitSkillLanguage, type SynonymMap, type TextSplitMode, type TextTranslationSkill, type TextTranslationSkillLanguage, type TokenAuthAzureMachineLearningVectorizerParameters, type TokenFilter, type VectorSearch, type VectorSearchAlgorithmConfiguration, type VectorSearchAlgorithmKind, type VectorSearchAlgorithmMetric, type VectorSearchCompression, type VectorSearchVectorizer, type VisualFeature, type WebApiParameters, type WebApiSkill, type WebApiSkills, type WebApiVectorizer, type WebKnowledgeSource, } from "./serviceModels.js";
|
|
18
|
+
export { type AIServicesAccountIdentity, type AliasIterator, type AnalyzeRequest, type AnalyzeTextOptions, type AzureBlobKnowledgeSource, type AzureBlobKnowledgeSourceParameters, type AzureMachineLearningVectorizer, type AzureMachineLearningVectorizerParameters, type AzureOpenAIEmbeddingSkill, type AzureOpenAIParameters, type AzureOpenAIVectorizer, type BaseAzureMachineLearningVectorizerParameters, type BaseKnowledgeSource, type BaseVectorSearchAlgorithmConfiguration, type BaseVectorSearchVectorizer, type BlobIndexerDataToExtract, type BlobIndexerImageAction, type BlobIndexerParsingMode, type BlobIndexerPDFTextRotationAlgorithm, type CharFilter, type ChatCompletionSkill, type CognitiveServicesAccount, type ComplexDataType, type ComplexField, type CreateAliasOptions, type CreateDataSourceConnectionOptions, type CreateIndexerOptions, type CreateIndexOptions, type CreateKnowledgeBaseOptions, type CreateKnowledgeSourceOptions, type CreateOrUpdateAliasOptions, type CreateorUpdateDataSourceConnectionOptions, type CreateorUpdateIndexerOptions, type CreateOrUpdateIndexOptions, type CreateOrUpdateKnowledgeBaseOptions, type CreateOrUpdateKnowledgeSourceOptions, type CreateOrUpdateSkillsetOptions, type CreateOrUpdateSynonymMapOptions, type CreateSkillsetOptions, type CreateSynonymMapOptions, type CustomAnalyzer, type CustomEntityLookupSkill, type CustomEntityLookupSkillLanguage, type DataChangeDetectionPolicy, type DataDeletionDetectionPolicy, type DeleteAliasOptions, type DeleteDataSourceConnectionOptions, type DeleteIndexerOptions, type DeleteIndexOptions, type DeleteKnowledgeBaseOptions, type DeleteKnowledgeSourceOptions, type DeleteKnowledgeSourceFileOptions, type DeleteSkillsetOptions, type DeleteSynonymMapOptions, type DocumentIntelligenceLayoutSkill, type EdgeNGramTokenFilter, type EntityRecognitionSkill, type ExhaustiveKnnAlgorithmConfiguration, type ExhaustiveKnnParameters, type FacetResult, type GetAliasOptions, type GetDataSourceConnectionOptions, type GetIndexerOptions, type GetIndexerStatusOptions, type GetIndexOptions, type GetIndexStatisticsOptions, type GetKnowledgeBaseOptions, type GetKnowledgeSourceOptions, type GetKnowledgeSourceStatusOptions, type GetServiceStatisticsOptions, type GetSkillSetOptions, type GetSynonymMapsOptions, type HnswAlgorithmConfiguration, type HnswParameters, type ImageAnalysisSkill, type ImageAnalysisSkillLanguage, type ImageDetail, type IndexedOneLakeKnowledgeSource, type IndexedOneLakeKnowledgeSourceParameters, type IndexedSharePointKnowledgeSource, type IndexedSharePointKnowledgeSourceParameters, type IndexerExecutionEnvironment, type IndexingParameters, type IndexingParametersConfiguration, type IndexIterator, type IndexNameIterator, type KeyAuthAzureMachineLearningVectorizerParameters, type KeyPhraseExtractionSkill, type KeyPhraseExtractionSkillLanguage, type KeywordTokenizer, type KnowledgeBaseAzureOpenAIModel, type KnowledgeBaseIterator, type KnowledgeBaseModel, type KnowledgeSource, type KnowledgeSourceAzureOpenAIVectorizer, type KnowledgeSourceIngestionParameters, type KnowledgeSourceIterator, type KnowledgeSourceVectorizer, KnownAnalyzerNames, KnownCharFilterNames, KnownTokenFilterNames, KnownTokenizerNames, type LexicalAnalyzer, type LexicalNormalizer, type LexicalTokenizer, type ListAliasesOptions, type ListDataSourceConnectionsOptions, type ListIndexersOptions, type ListIndexesOptions, type ListKnowledgeBasesOptions, type ListKnowledgeSourcesOptions, type ListKnowledgeSourceFilesOptions, type ListSkillsetsOptions, type ListSynonymMapsOptions, type LuceneStandardTokenizer, type NGramTokenFilter, type NoAuthAzureMachineLearningVectorizerParameters, type OcrSkill, type OcrSkillLanguage, type PatternAnalyzer, type PatternTokenizer, type PIIDetectionSkill, type PIIDetectionSkillMaskingMode, type QueryAnswerResult, type QueryCaptionResult, type RegexFlags, type RemoteSharePointKnowledgeSource, type RemoteSharePointKnowledgeSourceParameters, type ListIndexStatsSummaryOptions, type UploadKnowledgeSourceFileOptions, type ResetDocumentsOptions, type ResetIndexerOptions, type ResetSkillsOptions, type ResyncIndexerOptions, type RunIndexerOptions, type ScoringFunction, type ScoringProfile, type SearchField, type SearchFieldDataType, type SearchIndex, type SearchIndexAlias, type SearchIndexer, type SearchIndexerDataIdentity, type SearchIndexerDataSourceConnection, type SearchIndexerDataSourceType, type SearchIndexerIndexProjection, type SearchIndexerIndexProjectionParameters, type SearchIndexerKnowledgeStore, type SearchIndexerKnowledgeStoreParameters, type SearchIndexerSkill, type SearchIndexerSkillset, type SearchIndexKnowledgeSource, type SearchIndexStatistics, type SearchResourceEncryptionKey, type SearchServiceStatistics, type SentimentSkill, type SimilarityAlgorithm, type SimpleField, type SplitSkill, type SplitSkillLanguage, type SynonymMap, type TextSplitMode, type TextTranslationSkill, type TextTranslationSkillLanguage, type TokenAuthAzureMachineLearningVectorizerParameters, type TokenFilter, type VectorSearch, type VectorSearchAlgorithmConfiguration, type VectorSearchAlgorithmKind, type VectorSearchAlgorithmMetric, type VectorSearchCompression, type VectorSearchVectorizer, type VisualFeature, type WebApiParameters, type WebApiSkill, type WebApiSkills, type WebApiVectorizer, type WebKnowledgeSource, type WorkIQKnowledgeSource, type FabricDataAgentKnowledgeSource, type FabricDataAgentKnowledgeSourceParameters, type FabricOntologyKnowledgeSource, type FabricOntologyKnowledgeSourceParameters, type IndexedSqlKnowledgeSource, type FileKnowledgeSource, type McpServerKnowledgeSource, } from "./serviceModels.js";
|
|
19
19
|
export { createSynonymMapFromFile } from "./synonymMapHelper.js";
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,YAAY,EACV,0B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oB,CAAC;AAC5B,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
export { AzureKeyCredential } from "@azure/core-auth";
|
|
4
|
-
export { KnownQueryDebugMode, KnownSemanticErrorMode, KnownSemanticErrorReason, KnownSemanticSearchResultsType, KnownVectorFilterMode, KnownVectorQueryKind, } from "./models/azure/search/documents/index.js";
|
|
5
|
-
export {
|
|
4
|
+
export { KnownHybridCountAndFacetMode, KnownQueryDebugMode, KnownSemanticErrorMode, KnownSemanticErrorReason, KnownSemanticFieldState, KnownSemanticSearchResultsType, KnownVectorFilterMode, KnownVectorQueryKind, } from "./models/azure/search/documents/index.js";
|
|
5
|
+
export { KnownKnowledgeRetrievalReasoningEffortKind, KnownKnowledgeRetrievalOutputMode, } from "./models/azure/search/documents/knowledgeBases/index.js";
|
|
6
|
+
export { KnownContentUnderstandingSkillChunkingUnit, KnownContentUnderstandingSkillExtractionOptions, KnownAIFoundryModelCatalogName, KnownAzureOpenAIModelName, KnownBlobIndexerDataToExtract, KnownBlobIndexerImageAction, KnownBlobIndexerParsingMode, KnownBlobIndexerPDFTextRotationAlgorithm, KnownChatCompletionExtraParametersBehavior, KnownChatCompletionResponseFormatType, KnownCustomEntityLookupSkillLanguage, KnownDocumentIntelligenceLayoutSkillChunkingUnit, KnownDocumentIntelligenceLayoutSkillExtractionOptions, KnownDocumentIntelligenceLayoutSkillMarkdownHeaderDepth, KnownDocumentIntelligenceLayoutSkillOutputFormat, KnownDocumentIntelligenceLayoutSkillOutputMode, KnownEntityCategory, KnownEntityRecognitionSkillLanguage, KnownImageAnalysisSkillLanguage, KnownImageDetail, KnownIndexerExecutionEnvironment, KnownIndexerPermissionOption, KnownIndexerResyncOption, KnownIndexedSharePointContainerName, KnownIndexProjectionMode, KnownKeyPhraseExtractionSkillLanguage, KnownKnowledgeBaseModelKind, KnownKnowledgeSourceIngestionPermissionOption, KnownKnowledgeSourceKind, KnownLexicalAnalyzerName, KnownLexicalNormalizerName, KnownMarkdownHeaderDepth, KnownMarkdownParsingSubmode, KnownLexicalNormalizerName as KnownNormalizerNames, KnownOcrLineEnding, KnownOcrSkillLanguage, KnownPermissionFilter, KnownPIIDetectionSkillMaskingMode, KnownRankingOrder, KnownRegexFlags, KnownSearchFieldDataType, KnownSearchIndexerDataSourceType, KnownSearchIndexPermissionFilterOption, KnownSentimentSkillLanguage, KnownSplitSkillLanguage, KnownSplitSkillEncoderModelName, KnownSplitSkillUnit, KnownTextSplitMode, KnownTextTranslationSkillLanguage, KnownVectorEncodingFormat, KnownVectorSearchAlgorithmKind, KnownVectorSearchAlgorithmMetric, KnownVectorSearchCompressionKind, KnownVectorSearchCompressionRescoreStorageMethod, KnownVectorSearchCompressionTarget, KnownVectorSearchVectorizerKind, KnownVisualFeature, KnownMcpServerAuthenticationKind, KnownMcpServerOutputParsingKind, KnownMcpServerToolInclusionMode, } from "./models/azure/search/documents/indexes/index.js";
|
|
6
7
|
export { default as GeographyPoint } from "./geographyPoint.js";
|
|
7
8
|
export { IndexDocumentsBatch } from "./indexDocumentsBatch.js";
|
|
8
9
|
export { KnowledgeRetrievalClient, } from "./knowledgeRetrievalClient.js";
|