@azure/search-documents 12.3.0-alpha.20260310.2 → 13.0.0
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/base64.d.ts.map +1 -1
- package/dist/browser/base64.js +3 -2
- package/dist/browser/base64.js.map +1 -1
- package/dist/browser/index.d.ts +9 -7
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +3 -4
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/indexModels.d.ts +13 -112
- package/dist/browser/indexModels.d.ts.map +1 -1
- package/dist/browser/indexModels.js.map +1 -1
- package/dist/browser/knowledgeBaseModels.d.ts +4 -17
- package/dist/browser/knowledgeBaseModels.d.ts.map +1 -1
- package/dist/browser/knowledgeBaseModels.js.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/index.d.ts +2 -1
- package/dist/browser/knowledgeBaseRetrieval/api/index.d.ts.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/index.js +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/index.js.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts +3 -1
- package/dist/browser/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +3 -3
- package/dist/browser/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/operations.d.ts +2 -2
- package/dist/browser/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/operations.js +9 -8
- package/dist/browser/knowledgeBaseRetrieval/api/operations.js.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/options.d.ts +2 -2
- package/dist/browser/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/api/options.js.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts +2 -2
- package/dist/browser/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts.map +1 -1
- package/dist/browser/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js +4 -4
- package/dist/browser/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js.map +1 -1
- package/dist/browser/knowledgeRetrievalClient.d.ts +2 -2
- package/dist/browser/knowledgeRetrievalClient.d.ts.map +1 -1
- package/dist/browser/knowledgeRetrievalClient.js +4 -4
- package/dist/browser/knowledgeRetrievalClient.js.map +1 -1
- package/dist/browser/models/azure/search/documents/index.d.ts +2 -1
- 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 -1
- 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 +50 -477
- package/dist/browser/models/azure/search/documents/indexes/models.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/indexes/models.js +40 -526
- 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 -1
- 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 +135 -242
- package/dist/browser/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/knowledgeBases/models.js +131 -291
- package/dist/browser/models/azure/search/documents/knowledgeBases/models.js.map +1 -1
- package/dist/browser/models/azure/search/documents/models.d.ts +2 -466
- package/dist/browser/models/azure/search/documents/models.d.ts.map +1 -1
- package/dist/browser/models/azure/search/documents/models.js +1 -429
- package/dist/browser/models/azure/search/documents/models.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -0
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +3 -3
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +3 -3
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/search/api/index.d.ts +2 -1
- package/dist/browser/search/api/index.d.ts.map +1 -1
- package/dist/browser/search/api/index.js +1 -1
- package/dist/browser/search/api/index.js.map +1 -1
- package/dist/browser/search/api/operations.d.ts.map +1 -1
- package/dist/browser/search/api/operations.js +35 -54
- package/dist/browser/search/api/operations.js.map +1 -1
- package/dist/browser/search/api/options.d.ts +19 -31
- 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 +0 -1
- package/dist/browser/searchClient.d.ts.map +1 -1
- package/dist/browser/searchClient.js +22 -39
- package/dist/browser/searchClient.js.map +1 -1
- package/dist/browser/searchIndex/api/index.d.ts +4 -3
- package/dist/browser/searchIndex/api/index.d.ts.map +1 -1
- package/dist/browser/searchIndex/api/index.js +2 -2
- package/dist/browser/searchIndex/api/index.js.map +1 -1
- package/dist/browser/searchIndex/api/operations.d.ts +2 -6
- package/dist/browser/searchIndex/api/operations.d.ts.map +1 -1
- package/dist/browser/searchIndex/api/operations.js +186 -96
- package/dist/browser/searchIndex/api/operations.js.map +1 -1
- package/dist/browser/searchIndex/api/options.d.ts +60 -5
- 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 +2 -4
- package/dist/browser/searchIndex/searchIndexClient.d.ts.map +1 -1
- package/dist/browser/searchIndex/searchIndexClient.js +1 -5
- package/dist/browser/searchIndex/searchIndexClient.js.map +1 -1
- package/dist/browser/searchIndexClient.d.ts +2 -7
- package/dist/browser/searchIndexClient.d.ts.map +1 -1
- package/dist/browser/searchIndexClient.js +2 -9
- package/dist/browser/searchIndexClient.js.map +1 -1
- package/dist/browser/searchIndexer/api/index.d.ts +4 -3
- package/dist/browser/searchIndexer/api/index.d.ts.map +1 -1
- package/dist/browser/searchIndexer/api/index.js +2 -2
- package/dist/browser/searchIndexer/api/index.js.map +1 -1
- package/dist/browser/searchIndexer/api/operations.d.ts +2 -14
- package/dist/browser/searchIndexer/api/operations.d.ts.map +1 -1
- package/dist/browser/searchIndexer/api/operations.js +112 -150
- package/dist/browser/searchIndexer/api/operations.js.map +1 -1
- package/dist/browser/searchIndexer/api/options.d.ts +36 -30
- 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 +2 -8
- package/dist/browser/searchIndexer/searchIndexerClient.d.ts.map +1 -1
- package/dist/browser/searchIndexer/searchIndexerClient.js +1 -13
- package/dist/browser/searchIndexer/searchIndexerClient.js.map +1 -1
- package/dist/browser/searchIndexerClient.d.ts +1 -14
- package/dist/browser/searchIndexerClient.d.ts.map +1 -1
- package/dist/browser/searchIndexerClient.js +0 -27
- package/dist/browser/searchIndexerClient.js.map +1 -1
- package/dist/browser/searchIndexingBufferedSender.d.ts.map +1 -1
- package/dist/browser/searchIndexingBufferedSender.js +3 -7
- package/dist/browser/searchIndexingBufferedSender.js.map +1 -1
- package/dist/browser/serviceModels.d.ts +7 -191
- package/dist/browser/serviceModels.d.ts.map +1 -1
- package/dist/browser/serviceModels.js.map +1 -1
- package/dist/browser/serviceUtils.d.ts +3 -5
- package/dist/browser/serviceUtils.d.ts.map +1 -1
- package/dist/browser/serviceUtils.js +30 -87
- package/dist/browser/serviceUtils.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/{synonymMapHelper.d.ts → synonymMapHelper-browser.d.mts} +3 -3
- package/dist/browser/synonymMapHelper-browser.d.mts.map +1 -0
- package/dist/browser/{synonymMapHelper.js → synonymMapHelper-browser.mjs} +3 -3
- package/dist/browser/synonymMapHelper-browser.mjs.map +1 -0
- package/dist/browser/timers-browser.d.mts +8 -0
- package/dist/browser/timers-browser.d.mts.map +1 -0
- package/dist/browser/timers-browser.mjs +13 -0
- package/dist/browser/timers-browser.mjs.map +1 -0
- package/dist/browser/tracing.d.ts.map +1 -1
- package/dist/browser/walk.js +1 -1
- package/dist/browser/walk.js.map +1 -1
- package/dist/commonjs/base64.d.ts.map +1 -1
- package/dist/commonjs/base64.js +4 -2
- package/dist/commonjs/base64.js.map +3 -3
- package/dist/commonjs/geographyPoint.js +1 -0
- package/dist/commonjs/geographyPoint.js.map +1 -1
- package/dist/commonjs/index.d.ts +8 -6
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +1 -29
- package/dist/commonjs/index.js.map +3 -3
- package/dist/commonjs/indexDocumentsBatch.js +1 -0
- package/dist/commonjs/indexDocumentsBatch.js.map +1 -1
- package/dist/commonjs/indexModels.d.ts +13 -112
- package/dist/commonjs/indexModels.d.ts.map +1 -1
- package/dist/commonjs/indexModels.js +1 -0
- package/dist/commonjs/indexModels.js.map +2 -2
- package/dist/commonjs/knowledgeBaseModels.d.ts +4 -17
- package/dist/commonjs/knowledgeBaseModels.d.ts.map +1 -1
- package/dist/commonjs/knowledgeBaseModels.js +1 -0
- package/dist/commonjs/knowledgeBaseModels.js.map +2 -2
- package/dist/commonjs/knowledgeBaseRetrieval/api/index.d.ts +2 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/index.d.ts.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/index.js +1 -0
- package/dist/commonjs/knowledgeBaseRetrieval/api/index.js.map +3 -3
- package/dist/commonjs/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts +3 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +4 -3
- package/dist/commonjs/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +3 -3
- package/dist/commonjs/knowledgeBaseRetrieval/api/operations.d.ts +2 -2
- package/dist/commonjs/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/operations.js +9 -7
- package/dist/commonjs/knowledgeBaseRetrieval/api/operations.js.map +3 -3
- package/dist/commonjs/knowledgeBaseRetrieval/api/options.d.ts +2 -2
- package/dist/commonjs/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/api/options.js +1 -0
- package/dist/commonjs/knowledgeBaseRetrieval/api/options.js.map +2 -2
- package/dist/commonjs/knowledgeBaseRetrieval/index.js +1 -0
- package/dist/commonjs/knowledgeBaseRetrieval/index.js.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts +2 -2
- package/dist/commonjs/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts.map +1 -1
- package/dist/commonjs/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js +5 -4
- package/dist/commonjs/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js.map +3 -3
- package/dist/commonjs/knowledgeRetrievalClient.d.ts +2 -2
- package/dist/commonjs/knowledgeRetrievalClient.d.ts.map +1 -1
- package/dist/commonjs/knowledgeRetrievalClient.js +10 -4
- package/dist/commonjs/knowledgeRetrievalClient.js.map +3 -3
- package/dist/commonjs/logger.js +1 -0
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/models/azure/search/documents/index.d.ts +2 -1
- package/dist/commonjs/models/azure/search/documents/index.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/index.js +3 -16
- package/dist/commonjs/models/azure/search/documents/index.js.map +3 -3
- package/dist/commonjs/models/azure/search/documents/indexes/index.d.ts +2 -1
- package/dist/commonjs/models/azure/search/documents/indexes/index.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/indexes/index.js +1 -18
- package/dist/commonjs/models/azure/search/documents/indexes/index.js.map +3 -3
- package/dist/commonjs/models/azure/search/documents/indexes/models.d.ts +50 -477
- package/dist/commonjs/models/azure/search/documents/indexes/models.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/indexes/models.js +40 -501
- package/dist/commonjs/models/azure/search/documents/indexes/models.js.map +4 -4
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.d.ts +2 -1
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.js +1 -2
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/index.js.map +3 -3
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.d.ts +135 -242
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.js +136 -335
- package/dist/commonjs/models/azure/search/documents/knowledgeBases/models.js.map +4 -4
- package/dist/commonjs/models/azure/search/documents/models.d.ts +2 -466
- package/dist/commonjs/models/azure/search/documents/models.d.ts.map +1 -1
- package/dist/commonjs/models/azure/search/documents/models.js +8 -354
- package/dist/commonjs/models/azure/search/documents/models.js.map +4 -4
- package/dist/commonjs/models/index.d.ts +1 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +1 -0
- package/dist/commonjs/models/index.js.map +2 -2
- package/dist/commonjs/models/models.d.ts +3 -3
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +2 -1
- package/dist/commonjs/models/models.js.map +3 -3
- package/dist/commonjs/odata.js +1 -0
- package/dist/commonjs/odata.js.map +1 -1
- package/dist/commonjs/odataMetadataPolicy.js +1 -0
- package/dist/commonjs/odataMetadataPolicy.js.map +1 -1
- package/dist/commonjs/search/api/index.d.ts +2 -1
- package/dist/commonjs/search/api/index.d.ts.map +1 -1
- package/dist/commonjs/search/api/index.js +1 -0
- package/dist/commonjs/search/api/index.js.map +3 -3
- package/dist/commonjs/search/api/operations.d.ts.map +1 -1
- package/dist/commonjs/search/api/operations.js +22 -42
- package/dist/commonjs/search/api/operations.js.map +3 -3
- package/dist/commonjs/search/api/options.d.ts +19 -31
- package/dist/commonjs/search/api/options.d.ts.map +1 -1
- package/dist/commonjs/search/api/options.js +1 -0
- package/dist/commonjs/search/api/options.js.map +2 -2
- package/dist/commonjs/search/api/searchContext.js +2 -1
- package/dist/commonjs/search/api/searchContext.js.map +2 -2
- package/dist/commonjs/search/index.js +1 -0
- package/dist/commonjs/search/index.js.map +1 -1
- package/dist/commonjs/search/searchClient.js +1 -0
- package/dist/commonjs/search/searchClient.js.map +1 -1
- package/dist/commonjs/searchApiKeyCredentialPolicy.js +1 -0
- package/dist/commonjs/searchApiKeyCredentialPolicy.js.map +1 -1
- package/dist/commonjs/searchAudience.js +1 -0
- package/dist/commonjs/searchAudience.js.map +1 -1
- package/dist/commonjs/searchClient.d.ts +0 -1
- package/dist/commonjs/searchClient.d.ts.map +1 -1
- package/dist/commonjs/searchClient.js +24 -43
- package/dist/commonjs/searchClient.js.map +3 -3
- package/dist/commonjs/searchIndex/api/index.d.ts +4 -3
- package/dist/commonjs/searchIndex/api/index.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/api/index.js +1 -2
- package/dist/commonjs/searchIndex/api/index.js.map +3 -3
- package/dist/commonjs/searchIndex/api/operations.d.ts +2 -6
- package/dist/commonjs/searchIndex/api/operations.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/api/operations.js +126 -108
- package/dist/commonjs/searchIndex/api/operations.js.map +3 -3
- package/dist/commonjs/searchIndex/api/options.d.ts +60 -5
- package/dist/commonjs/searchIndex/api/options.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/api/options.js +1 -0
- package/dist/commonjs/searchIndex/api/options.js.map +2 -2
- package/dist/commonjs/searchIndex/api/searchIndexContext.js +2 -1
- package/dist/commonjs/searchIndex/api/searchIndexContext.js.map +2 -2
- 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 +1 -0
- package/dist/commonjs/searchIndex/index.js.map +2 -2
- package/dist/commonjs/searchIndex/searchIndexClient.d.ts +2 -4
- package/dist/commonjs/searchIndex/searchIndexClient.d.ts.map +1 -1
- package/dist/commonjs/searchIndex/searchIndexClient.js +1 -4
- package/dist/commonjs/searchIndex/searchIndexClient.js.map +3 -3
- package/dist/commonjs/searchIndexClient.d.ts +2 -7
- package/dist/commonjs/searchIndexClient.d.ts.map +1 -1
- package/dist/commonjs/searchIndexClient.js +3 -9
- package/dist/commonjs/searchIndexClient.js.map +3 -3
- package/dist/commonjs/searchIndexer/api/index.d.ts +4 -3
- package/dist/commonjs/searchIndexer/api/index.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/api/index.js +1 -6
- package/dist/commonjs/searchIndexer/api/index.js.map +3 -3
- package/dist/commonjs/searchIndexer/api/operations.d.ts +2 -14
- package/dist/commonjs/searchIndexer/api/operations.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/api/operations.js +76 -168
- package/dist/commonjs/searchIndexer/api/operations.js.map +3 -3
- package/dist/commonjs/searchIndexer/api/options.d.ts +36 -30
- package/dist/commonjs/searchIndexer/api/options.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/api/options.js +1 -0
- package/dist/commonjs/searchIndexer/api/options.js.map +2 -2
- package/dist/commonjs/searchIndexer/api/searchIndexerContext.js +2 -1
- package/dist/commonjs/searchIndexer/api/searchIndexerContext.js.map +2 -2
- 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 +1 -0
- package/dist/commonjs/searchIndexer/index.js.map +2 -2
- package/dist/commonjs/searchIndexer/searchIndexerClient.d.ts +2 -8
- package/dist/commonjs/searchIndexer/searchIndexerClient.d.ts.map +1 -1
- package/dist/commonjs/searchIndexer/searchIndexerClient.js +1 -12
- package/dist/commonjs/searchIndexer/searchIndexerClient.js.map +3 -3
- package/dist/commonjs/searchIndexerClient.d.ts +1 -14
- package/dist/commonjs/searchIndexerClient.d.ts.map +1 -1
- package/dist/commonjs/searchIndexerClient.js +1 -39
- package/dist/commonjs/searchIndexerClient.js.map +3 -3
- package/dist/commonjs/searchIndexingBufferedSender.d.ts.map +1 -1
- package/dist/commonjs/searchIndexingBufferedSender.js +4 -7
- package/dist/commonjs/searchIndexingBufferedSender.js.map +3 -3
- package/dist/commonjs/serialization.js +1 -0
- package/dist/commonjs/serialization.js.map +1 -1
- package/dist/commonjs/serviceModels.d.ts +7 -191
- package/dist/commonjs/serviceModels.d.ts.map +1 -1
- package/dist/commonjs/serviceModels.js +1 -0
- package/dist/commonjs/serviceModels.js.map +3 -3
- package/dist/commonjs/serviceUtils.d.ts +3 -5
- package/dist/commonjs/serviceUtils.d.ts.map +1 -1
- package/dist/commonjs/serviceUtils.js +31 -89
- package/dist/commonjs/serviceUtils.js.map +3 -3
- package/dist/commonjs/static-helpers/pagingHelpers.js +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/serialization/build-csv-collection.js +1 -0
- package/dist/commonjs/static-helpers/serialization/build-csv-collection.js.map +1 -1
- package/dist/commonjs/static-helpers/serialization/build-newline-collection.js +1 -0
- package/dist/commonjs/static-helpers/serialization/build-newline-collection.js.map +1 -1
- package/dist/commonjs/static-helpers/serialization/build-pipe-collection.js +1 -0
- package/dist/commonjs/static-helpers/serialization/build-pipe-collection.js.map +1 -1
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +1 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +1 -1
- package/dist/commonjs/static-helpers/serialization/parse-csv-collection.js +1 -0
- package/dist/commonjs/static-helpers/serialization/parse-csv-collection.js.map +1 -1
- package/dist/commonjs/static-helpers/serialization/parse-newline-collection.js +1 -0
- package/dist/commonjs/static-helpers/serialization/parse-newline-collection.js.map +1 -1
- package/dist/commonjs/static-helpers/serialization/parse-pipe-collection.js +1 -0
- package/dist/commonjs/static-helpers/serialization/parse-pipe-collection.js.map +1 -1
- package/dist/commonjs/static-helpers/serialization/serialize-record.js +1 -0
- package/dist/commonjs/static-helpers/serialization/serialize-record.js.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/synonymMapHelper.js +1 -0
- package/dist/commonjs/synonymMapHelper.js.map +1 -1
- package/dist/commonjs/timers.d.ts +9 -0
- package/dist/commonjs/timers.d.ts.map +1 -0
- package/dist/commonjs/{errorModels.js → timers.js} +19 -2
- package/dist/commonjs/timers.js.map +7 -0
- package/dist/commonjs/tracing.d.ts.map +1 -1
- package/dist/commonjs/tracing.js +1 -0
- package/dist/commonjs/tracing.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/commonjs/walk.js +2 -1
- package/dist/commonjs/walk.js.map +3 -3
- package/dist/esm/base64.d.ts.map +1 -1
- package/dist/esm/base64.js +16 -8
- package/dist/esm/base64.js.map +1 -7
- package/dist/esm/geographyPoint.js +35 -32
- package/dist/esm/geographyPoint.js.map +1 -7
- package/dist/esm/index.d.ts +8 -6
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +17 -190
- package/dist/esm/index.js.map +1 -7
- package/dist/esm/indexDocumentsBatch.js +78 -73
- package/dist/esm/indexDocumentsBatch.js.map +1 -7
- package/dist/esm/indexModels.d.ts +13 -112
- package/dist/esm/indexModels.d.ts.map +1 -1
- package/dist/esm/indexModels.js +4 -0
- package/dist/esm/indexModels.js.map +1 -7
- package/dist/esm/knowledgeBaseModels.d.ts +4 -17
- package/dist/esm/knowledgeBaseModels.d.ts.map +1 -1
- package/dist/esm/knowledgeBaseModels.js +4 -0
- package/dist/esm/knowledgeBaseModels.js.map +1 -7
- package/dist/esm/knowledgeBaseRetrieval/api/index.d.ts +2 -1
- package/dist/esm/knowledgeBaseRetrieval/api/index.d.ts.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/index.js +5 -8
- package/dist/esm/knowledgeBaseRetrieval/api/index.js.map +1 -7
- package/dist/esm/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts +3 -1
- package/dist/esm/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +22 -20
- package/dist/esm/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -7
- package/dist/esm/knowledgeBaseRetrieval/api/operations.d.ts +2 -2
- package/dist/esm/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/operations.js +39 -42
- package/dist/esm/knowledgeBaseRetrieval/api/operations.js.map +1 -7
- package/dist/esm/knowledgeBaseRetrieval/api/options.d.ts +2 -2
- package/dist/esm/knowledgeBaseRetrieval/api/options.d.ts.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/api/options.js +4 -0
- package/dist/esm/knowledgeBaseRetrieval/api/options.js.map +1 -7
- package/dist/esm/knowledgeBaseRetrieval/index.js +4 -4
- package/dist/esm/knowledgeBaseRetrieval/index.js.map +1 -7
- package/dist/esm/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts +2 -2
- package/dist/esm/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts.map +1 -1
- package/dist/esm/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js +22 -20
- package/dist/esm/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js.map +1 -7
- package/dist/esm/knowledgeRetrievalClient.d.ts +2 -2
- package/dist/esm/knowledgeRetrievalClient.d.ts.map +1 -1
- package/dist/esm/knowledgeRetrievalClient.js +89 -91
- package/dist/esm/knowledgeRetrievalClient.js.map +1 -7
- package/dist/esm/logger.js +7 -4
- package/dist/esm/logger.js.map +1 -7
- package/dist/esm/models/azure/search/documents/index.d.ts +2 -1
- package/dist/esm/models/azure/search/documents/index.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/index.js +4 -36
- package/dist/esm/models/azure/search/documents/index.js.map +1 -7
- package/dist/esm/models/azure/search/documents/indexes/index.d.ts +2 -1
- package/dist/esm/models/azure/search/documents/indexes/index.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/indexes/index.js +4 -130
- package/dist/esm/models/azure/search/documents/indexes/index.js.map +1 -7
- package/dist/esm/models/azure/search/documents/indexes/models.d.ts +50 -477
- package/dist/esm/models/azure/search/documents/indexes/models.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/indexes/models.js +6374 -6188
- package/dist/esm/models/azure/search/documents/indexes/models.js.map +1 -7
- package/dist/esm/models/azure/search/documents/knowledgeBases/index.d.ts +2 -1
- package/dist/esm/models/azure/search/documents/knowledgeBases/index.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/knowledgeBases/index.js +4 -16
- package/dist/esm/models/azure/search/documents/knowledgeBases/index.js.map +1 -7
- package/dist/esm/models/azure/search/documents/knowledgeBases/models.d.ts +135 -242
- package/dist/esm/models/azure/search/documents/knowledgeBases/models.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/knowledgeBases/models.js +592 -790
- package/dist/esm/models/azure/search/documents/knowledgeBases/models.js.map +1 -7
- package/dist/esm/models/azure/search/documents/models.d.ts +2 -466
- package/dist/esm/models/azure/search/documents/models.d.ts.map +1 -1
- package/dist/esm/models/azure/search/documents/models.js +591 -919
- package/dist/esm/models/azure/search/documents/models.js.map +1 -7
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +4 -4
- package/dist/esm/models/index.js.map +1 -7
- package/dist/esm/models/models.d.ts +3 -3
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +14 -13
- package/dist/esm/models/models.js.map +1 -7
- package/dist/esm/odata.js +43 -26
- package/dist/esm/odata.js.map +1 -7
- package/dist/esm/odataMetadataPolicy.js +15 -11
- package/dist/esm/odataMetadataPolicy.js.map +1 -7
- package/dist/esm/search/api/index.d.ts +2 -1
- package/dist/esm/search/api/index.d.ts.map +1 -1
- package/dist/esm/search/api/index.js +5 -26
- package/dist/esm/search/api/index.js.map +1 -7
- package/dist/esm/search/api/operations.d.ts.map +1 -1
- package/dist/esm/search/api/operations.js +418 -452
- package/dist/esm/search/api/operations.js.map +1 -7
- package/dist/esm/search/api/options.d.ts +19 -31
- package/dist/esm/search/api/options.d.ts.map +1 -1
- package/dist/esm/search/api/options.js +4 -0
- package/dist/esm/search/api/options.js.map +1 -7
- package/dist/esm/search/api/searchContext.js +22 -20
- package/dist/esm/search/api/searchContext.js.map +1 -7
- package/dist/esm/search/index.js +4 -4
- package/dist/esm/search/index.js.map +1 -7
- package/dist/esm/search/searchClient.js +55 -63
- package/dist/esm/search/searchClient.js.map +1 -7
- package/dist/esm/searchApiKeyCredentialPolicy.js +17 -13
- package/dist/esm/searchApiKeyCredentialPolicy.js.map +1 -7
- package/dist/esm/searchAudience.js +21 -9
- package/dist/esm/searchAudience.js.map +1 -7
- package/dist/esm/searchClient.d.ts +0 -1
- package/dist/esm/searchClient.d.ts.map +1 -1
- package/dist/esm/searchClient.js +539 -624
- package/dist/esm/searchClient.js.map +1 -7
- package/dist/esm/searchIndex/api/index.d.ts +4 -3
- package/dist/esm/searchIndex/api/index.d.ts.map +1 -1
- package/dist/esm/searchIndex/api/index.js +5 -70
- package/dist/esm/searchIndex/api/index.js.map +1 -7
- package/dist/esm/searchIndex/api/operations.d.ts +2 -6
- package/dist/esm/searchIndex/api/operations.d.ts.map +1 -1
- package/dist/esm/searchIndex/api/operations.js +1087 -1177
- package/dist/esm/searchIndex/api/operations.js.map +1 -7
- package/dist/esm/searchIndex/api/options.d.ts +60 -5
- package/dist/esm/searchIndex/api/options.d.ts.map +1 -1
- package/dist/esm/searchIndex/api/options.js +4 -0
- package/dist/esm/searchIndex/api/options.js.map +1 -7
- package/dist/esm/searchIndex/api/searchIndexContext.js +22 -20
- package/dist/esm/searchIndex/api/searchIndexContext.js.map +1 -7
- 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 +4 -4
- package/dist/esm/searchIndex/index.js.map +1 -7
- package/dist/esm/searchIndex/searchIndexClient.d.ts +2 -4
- package/dist/esm/searchIndex/searchIndexClient.d.ts.map +1 -1
- package/dist/esm/searchIndex/searchIndexClient.js +139 -173
- package/dist/esm/searchIndex/searchIndexClient.js.map +1 -7
- package/dist/esm/searchIndexClient.d.ts +2 -7
- package/dist/esm/searchIndexClient.d.ts.map +1 -1
- package/dist/esm/searchIndexClient.js +448 -588
- package/dist/esm/searchIndexClient.js.map +1 -7
- package/dist/esm/searchIndexer/api/index.d.ts +4 -3
- package/dist/esm/searchIndexer/api/index.d.ts.map +1 -1
- package/dist/esm/searchIndexer/api/index.js +5 -50
- package/dist/esm/searchIndexer/api/index.js.map +1 -7
- package/dist/esm/searchIndexer/api/operations.d.ts +2 -14
- package/dist/esm/searchIndexer/api/operations.d.ts.map +1 -1
- package/dist/esm/searchIndexer/api/operations.js +676 -809
- package/dist/esm/searchIndexer/api/operations.js.map +1 -7
- package/dist/esm/searchIndexer/api/options.d.ts +36 -30
- package/dist/esm/searchIndexer/api/options.d.ts.map +1 -1
- package/dist/esm/searchIndexer/api/options.js +4 -0
- package/dist/esm/searchIndexer/api/options.js.map +1 -7
- package/dist/esm/searchIndexer/api/searchIndexerContext.js +22 -20
- package/dist/esm/searchIndexer/api/searchIndexerContext.js.map +1 -7
- 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 +4 -4
- package/dist/esm/searchIndexer/index.js.map +1 -7
- package/dist/esm/searchIndexer/searchIndexerClient.d.ts +2 -8
- package/dist/esm/searchIndexer/searchIndexerClient.d.ts.map +1 -1
- package/dist/esm/searchIndexer/searchIndexerClient.js +91 -123
- package/dist/esm/searchIndexer/searchIndexerClient.js.map +1 -7
- package/dist/esm/searchIndexerClient.d.ts +1 -14
- package/dist/esm/searchIndexerClient.d.ts.map +1 -1
- package/dist/esm/searchIndexerClient.js +347 -473
- package/dist/esm/searchIndexerClient.js.map +1 -7
- package/dist/esm/searchIndexingBufferedSender.d.ts.map +1 -1
- package/dist/esm/searchIndexingBufferedSender.js +302 -285
- package/dist/esm/searchIndexingBufferedSender.js.map +1 -7
- package/dist/esm/serialization.js +112 -111
- package/dist/esm/serialization.js.map +1 -7
- package/dist/esm/serviceModels.d.ts +7 -191
- package/dist/esm/serviceModels.d.ts.map +1 -1
- package/dist/esm/serviceModels.js +654 -162
- package/dist/esm/serviceModels.js.map +1 -7
- package/dist/esm/serviceUtils.d.ts +3 -5
- package/dist/esm/serviceUtils.d.ts.map +1 -1
- package/dist/esm/serviceUtils.js +776 -865
- package/dist/esm/serviceUtils.js.map +1 -7
- package/dist/esm/static-helpers/pagingHelpers.js +122 -98
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/serialization/build-csv-collection.js +5 -5
- package/dist/esm/static-helpers/serialization/build-csv-collection.js.map +1 -7
- package/dist/esm/static-helpers/serialization/build-newline-collection.js +5 -5
- package/dist/esm/static-helpers/serialization/build-newline-collection.js.map +1 -7
- package/dist/esm/static-helpers/serialization/build-pipe-collection.js +5 -5
- package/dist/esm/static-helpers/serialization/build-pipe-collection.js.map +1 -7
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +15 -9
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -7
- package/dist/esm/static-helpers/serialization/parse-csv-collection.js +5 -5
- package/dist/esm/static-helpers/serialization/parse-csv-collection.js.map +1 -7
- package/dist/esm/static-helpers/serialization/parse-newline-collection.js +5 -5
- package/dist/esm/static-helpers/serialization/parse-newline-collection.js.map +1 -7
- package/dist/esm/static-helpers/serialization/parse-pipe-collection.js +5 -5
- package/dist/esm/static-helpers/serialization/parse-pipe-collection.js.map +1 -7
- package/dist/esm/static-helpers/serialization/serialize-record.js +17 -16
- package/dist/esm/static-helpers/serialization/serialize-record.js.map +1 -7
- package/dist/esm/static-helpers/urlTemplate.js +169 -142
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -7
- package/dist/esm/synonymMapHelper.js +20 -9
- package/dist/esm/synonymMapHelper.js.map +1 -7
- package/dist/esm/timers.d.ts +9 -0
- package/dist/esm/timers.d.ts.map +1 -0
- package/dist/esm/timers.js +15 -0
- package/dist/esm/timers.js.map +1 -0
- package/dist/esm/tracing.d.ts.map +1 -1
- package/dist/esm/tracing.js +11 -8
- package/dist/esm/tracing.js.map +1 -7
- package/dist/esm/walk.js +64 -52
- package/dist/esm/walk.js.map +1 -7
- package/dist/react-native/base64.d.ts.map +1 -1
- package/dist/react-native/base64.js +3 -2
- package/dist/react-native/base64.js.map +1 -1
- package/dist/react-native/index.d.ts +9 -7
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +3 -4
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/indexModels.d.ts +13 -112
- 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 +4 -17
- 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/index.d.ts +2 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/index.d.ts.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/index.js +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/index.js.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts +3 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.d.ts.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js +3 -3
- package/dist/react-native/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.js.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/operations.d.ts +2 -2
- package/dist/react-native/knowledgeBaseRetrieval/api/operations.d.ts.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/operations.js +9 -8
- package/dist/react-native/knowledgeBaseRetrieval/api/operations.js.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/api/options.d.ts +2 -2
- 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/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts +2 -2
- package/dist/react-native/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.d.ts.map +1 -1
- package/dist/react-native/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js +4 -4
- package/dist/react-native/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js.map +1 -1
- package/dist/react-native/knowledgeRetrievalClient.d.ts +2 -2
- package/dist/react-native/knowledgeRetrievalClient.d.ts.map +1 -1
- package/dist/react-native/knowledgeRetrievalClient.js +4 -4
- package/dist/react-native/knowledgeRetrievalClient.js.map +1 -1
- package/dist/react-native/models/azure/search/documents/index.d.ts +2 -1
- 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 -1
- 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 +50 -477
- 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 +40 -526
- 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 -1
- 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 +135 -242
- 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 +131 -291
- 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 +2 -466
- package/dist/react-native/models/azure/search/documents/models.d.ts.map +1 -1
- package/dist/react-native/models/azure/search/documents/models.js +1 -429
- package/dist/react-native/models/azure/search/documents/models.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -0
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +3 -3
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +3 -3
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/search/api/index.d.ts +2 -1
- package/dist/react-native/search/api/index.d.ts.map +1 -1
- package/dist/react-native/search/api/index.js +1 -1
- package/dist/react-native/search/api/index.js.map +1 -1
- package/dist/react-native/search/api/operations.d.ts.map +1 -1
- package/dist/react-native/search/api/operations.js +35 -54
- package/dist/react-native/search/api/operations.js.map +1 -1
- package/dist/react-native/search/api/options.d.ts +19 -31
- 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 +0 -1
- package/dist/react-native/searchClient.d.ts.map +1 -1
- package/dist/react-native/searchClient.js +22 -39
- package/dist/react-native/searchClient.js.map +1 -1
- package/dist/react-native/searchIndex/api/index.d.ts +4 -3
- package/dist/react-native/searchIndex/api/index.d.ts.map +1 -1
- package/dist/react-native/searchIndex/api/index.js +2 -2
- package/dist/react-native/searchIndex/api/index.js.map +1 -1
- package/dist/react-native/searchIndex/api/operations.d.ts +2 -6
- package/dist/react-native/searchIndex/api/operations.d.ts.map +1 -1
- package/dist/react-native/searchIndex/api/operations.js +186 -96
- package/dist/react-native/searchIndex/api/operations.js.map +1 -1
- package/dist/react-native/searchIndex/api/options.d.ts +60 -5
- 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 +2 -4
- package/dist/react-native/searchIndex/searchIndexClient.d.ts.map +1 -1
- package/dist/react-native/searchIndex/searchIndexClient.js +1 -5
- package/dist/react-native/searchIndex/searchIndexClient.js.map +1 -1
- package/dist/react-native/searchIndexClient.d.ts +2 -7
- package/dist/react-native/searchIndexClient.d.ts.map +1 -1
- package/dist/react-native/searchIndexClient.js +2 -9
- package/dist/react-native/searchIndexClient.js.map +1 -1
- package/dist/react-native/searchIndexer/api/index.d.ts +4 -3
- package/dist/react-native/searchIndexer/api/index.d.ts.map +1 -1
- package/dist/react-native/searchIndexer/api/index.js +2 -2
- package/dist/react-native/searchIndexer/api/index.js.map +1 -1
- package/dist/react-native/searchIndexer/api/operations.d.ts +2 -14
- package/dist/react-native/searchIndexer/api/operations.d.ts.map +1 -1
- package/dist/react-native/searchIndexer/api/operations.js +112 -150
- package/dist/react-native/searchIndexer/api/operations.js.map +1 -1
- package/dist/react-native/searchIndexer/api/options.d.ts +36 -30
- 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 +2 -8
- package/dist/react-native/searchIndexer/searchIndexerClient.d.ts.map +1 -1
- package/dist/react-native/searchIndexer/searchIndexerClient.js +1 -13
- package/dist/react-native/searchIndexer/searchIndexerClient.js.map +1 -1
- package/dist/react-native/searchIndexerClient.d.ts +1 -14
- package/dist/react-native/searchIndexerClient.d.ts.map +1 -1
- package/dist/react-native/searchIndexerClient.js +0 -27
- package/dist/react-native/searchIndexerClient.js.map +1 -1
- package/dist/react-native/searchIndexingBufferedSender.d.ts.map +1 -1
- package/dist/react-native/searchIndexingBufferedSender.js +3 -7
- package/dist/react-native/searchIndexingBufferedSender.js.map +1 -1
- package/dist/react-native/serviceModels.d.ts +7 -191
- 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 +3 -5
- package/dist/react-native/serviceUtils.d.ts.map +1 -1
- package/dist/react-native/serviceUtils.js +30 -87
- package/dist/react-native/serviceUtils.js.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/react-native/{synonymMapHelper.d.ts → synonymMapHelper-browser.d.mts} +4 -3
- package/dist/react-native/synonymMapHelper-browser.d.mts.map +1 -0
- package/dist/react-native/synonymMapHelper-browser.mjs +14 -0
- package/dist/react-native/synonymMapHelper-browser.mjs.map +1 -0
- package/dist/react-native/synonymMapHelper-react-native.d.mts +2 -0
- package/dist/react-native/synonymMapHelper-react-native.d.mts.map +1 -0
- package/dist/react-native/synonymMapHelper-react-native.mjs +4 -0
- package/dist/react-native/synonymMapHelper-react-native.mjs.map +1 -0
- package/dist/react-native/timers-browser.d.mts +8 -0
- package/dist/react-native/timers-browser.d.mts.map +1 -0
- package/dist/react-native/timers-browser.mjs +13 -0
- package/dist/react-native/timers-browser.mjs.map +1 -0
- package/dist/react-native/timers-react-native.d.mts +2 -0
- package/dist/react-native/timers-react-native.d.mts.map +1 -0
- package/dist/react-native/timers-react-native.mjs +4 -0
- package/dist/react-native/timers-react-native.mjs.map +1 -0
- package/dist/react-native/tracing.d.ts.map +1 -1
- package/dist/react-native/walk.js +1 -1
- package/dist/react-native/walk.js.map +1 -1
- package/package.json +33 -20
- package/dist/browser/errorModels.d.ts +0 -56
- package/dist/browser/errorModels.d.ts.map +0 -1
- package/dist/browser/errorModels.js +0 -4
- package/dist/browser/errorModels.js.map +0 -1
- package/dist/browser/synonymMapHelper.d.ts.map +0 -1
- package/dist/browser/synonymMapHelper.js.map +0 -1
- package/dist/commonjs/errorModels.d.ts +0 -56
- package/dist/commonjs/errorModels.d.ts.map +0 -1
- package/dist/commonjs/errorModels.js.map +0 -7
- package/dist/esm/errorModels.d.ts +0 -56
- package/dist/esm/errorModels.d.ts.map +0 -1
- package/dist/esm/errorModels.js +0 -0
- package/dist/esm/errorModels.js.map +0 -7
- package/dist/react-native/errorModels.d.ts +0 -56
- package/dist/react-native/errorModels.d.ts.map +0 -1
- package/dist/react-native/errorModels.js +0 -4
- package/dist/react-native/errorModels.js.map +0 -1
- package/dist/react-native/synonymMapHelper.d.ts.map +0 -1
- package/dist/react-native/synonymMapHelper.js +0 -24
- package/dist/react-native/synonymMapHelper.js.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export type { KnowledgeBaseRetrievalContext, KnowledgeBaseRetrievalClientOptionalParams, } from "./knowledgeBaseRetrievalContext.js";
|
|
2
|
+
export { createKnowledgeBaseRetrieval } from "./knowledgeBaseRetrievalContext.js";
|
|
2
3
|
export { retrieve } from "./operations.js";
|
|
3
4
|
export type { RetrieveOptionalParams } from "./options.js";
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/knowledgeBaseRetrieval/api/index.ts"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/knowledgeBaseRetrieval/api/index.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,6BAA6B,EAC7B,0CAA0C,GAC3C,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,YAAY,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
3
|
+
"sources": ["../../../../src/knowledgeBaseRetrieval/api/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n KnowledgeBaseRetrievalContext,\n KnowledgeBaseRetrievalClientOptionalParams,\n} from \"./knowledgeBaseRetrievalContext.js\";\nexport { createKnowledgeBaseRetrieval } from \"./knowledgeBaseRetrievalContext.js\";\nexport { retrieve } from \"./operations.js\";\nexport type { RetrieveOptionalParams } from \"./options.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,2CAA6C;AAC7C,wBAAyB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { Client, ClientOptions } from "@azure-rest/core-client";
|
|
2
2
|
import type { KeyCredential, TokenCredential } from "@azure/core-auth";
|
|
3
3
|
export interface KnowledgeBaseRetrievalContext extends Client {
|
|
4
|
+
/** The name of the knowledge base. */
|
|
5
|
+
knowledgeBaseName: string;
|
|
4
6
|
/** The API version to use for this operation. */
|
|
5
7
|
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
6
8
|
apiVersion?: string;
|
|
@@ -11,5 +13,5 @@ export interface KnowledgeBaseRetrievalClientOptionalParams extends ClientOption
|
|
|
11
13
|
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
12
14
|
apiVersion?: string;
|
|
13
15
|
}
|
|
14
|
-
export declare function createKnowledgeBaseRetrieval(endpointParam: string, credential: KeyCredential | TokenCredential, options?: KnowledgeBaseRetrievalClientOptionalParams): KnowledgeBaseRetrievalContext;
|
|
16
|
+
export declare function createKnowledgeBaseRetrieval(endpointParam: string, credential: KeyCredential | TokenCredential, knowledgeBaseName: string, options?: KnowledgeBaseRetrievalClientOptionalParams): KnowledgeBaseRetrievalContext;
|
|
15
17
|
//# sourceMappingURL=knowledgeBaseRetrievalContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"knowledgeBaseRetrievalContext.d.ts","sourceRoot":"","sources":["../../../../src/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEvE,MAAM,WAAW,6BAA8B,SAAQ,MAAM;IAC3D,iDAAiD;IACjD,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,0CAA0C;AAC1C,MAAM,WAAW,0CAA2C,SAAQ,aAAa;IAC/E,iDAAiD;IACjD,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,4BAA4B,CAC1C,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,aAAa,GAAG,eAAe,EAC3C,OAAO,GAAE,0CAA+C,GACvD,6BAA6B,CAmB/B"}
|
|
1
|
+
{"version":3,"file":"knowledgeBaseRetrievalContext.d.ts","sourceRoot":"","sources":["../../../../src/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEvE,MAAM,WAAW,6BAA8B,SAAQ,MAAM;IAC3D,sCAAsC;IACtC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iDAAiD;IACjD,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,0CAA0C;AAC1C,MAAM,WAAW,0CAA2C,SAAQ,aAAa;IAC/E,iDAAiD;IACjD,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,4BAA4B,CAC1C,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,aAAa,GAAG,eAAe,EAC3C,iBAAiB,EAAE,MAAM,EACzB,OAAO,GAAE,0CAA+C,GACvD,6BAA6B,CAmB/B"}
|
|
@@ -22,10 +22,10 @@ __export(knowledgeBaseRetrievalContext_exports, {
|
|
|
22
22
|
module.exports = __toCommonJS(knowledgeBaseRetrievalContext_exports);
|
|
23
23
|
var import_logger = require("../../logger.js");
|
|
24
24
|
var import_core_client = require("@azure-rest/core-client");
|
|
25
|
-
function createKnowledgeBaseRetrieval(endpointParam, credential, options = {}) {
|
|
25
|
+
function createKnowledgeBaseRetrieval(endpointParam, credential, knowledgeBaseName, options = {}) {
|
|
26
26
|
const endpointUrl = options.endpoint ?? String(endpointParam);
|
|
27
27
|
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
28
|
-
const userAgentInfo = `azsdk-js-search-documents/
|
|
28
|
+
const userAgentInfo = `azsdk-js-search-documents/13.0.0`;
|
|
29
29
|
const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}` : `azsdk-js-api ${userAgentInfo}`;
|
|
30
30
|
const { apiVersion: _, ...updatedOptions } = {
|
|
31
31
|
...options,
|
|
@@ -38,9 +38,10 @@ function createKnowledgeBaseRetrieval(endpointParam, credential, options = {}) {
|
|
|
38
38
|
};
|
|
39
39
|
const clientContext = (0, import_core_client.getClient)(endpointUrl, credential, updatedOptions);
|
|
40
40
|
const apiVersion = options.apiVersion;
|
|
41
|
-
return { ...clientContext, apiVersion };
|
|
41
|
+
return { ...clientContext, apiVersion, knowledgeBaseName };
|
|
42
42
|
}
|
|
43
43
|
// Annotate the CommonJS export names for ESM import in node:
|
|
44
44
|
0 && (module.exports = {
|
|
45
45
|
createKnowledgeBaseRetrieval
|
|
46
46
|
});
|
|
47
|
+
//# sourceMappingURL=knowledgeBaseRetrievalContext.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../../logger.js\";\nimport { KnownVersions } from \"../../models/models.js\";\nimport type { Client, ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport type { KeyCredential, TokenCredential } from \"@azure/core-auth\";\n\nexport interface KnowledgeBaseRetrievalContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** Optional parameters for the client. */\nexport interface KnowledgeBaseRetrievalClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\nexport function createKnowledgeBaseRetrieval(\n endpointParam: string,\n credential: KeyCredential | TokenCredential,\n options: KnowledgeBaseRetrievalClientOptionalParams = {},\n): KnowledgeBaseRetrievalContext {\n const endpointUrl = options.endpoint ?? String(endpointParam);\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-search-documents/
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAuB;AAGvB,yBAA0B;
|
|
3
|
+
"sources": ["../../../../src/knowledgeBaseRetrieval/api/knowledgeBaseRetrievalContext.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../../logger.js\";\nimport { KnownVersions } from \"../../models/models.js\";\nimport type { Client, ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport type { KeyCredential, TokenCredential } from \"@azure/core-auth\";\n\nexport interface KnowledgeBaseRetrievalContext extends Client {\n /** The name of the knowledge base. */\n knowledgeBaseName: string;\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** Optional parameters for the client. */\nexport interface KnowledgeBaseRetrievalClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\nexport function createKnowledgeBaseRetrieval(\n endpointParam: string,\n credential: KeyCredential | TokenCredential,\n knowledgeBaseName: string,\n options: KnowledgeBaseRetrievalClientOptionalParams = {},\n): KnowledgeBaseRetrievalContext {\n const endpointUrl = options.endpoint ?? String(endpointParam);\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-search-documents/13.0.0`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://search.azure.com/.default\"],\n apiKeyHeaderName: options.credentials?.apiKeyHeaderName ?? \"api-key\",\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n const apiVersion = options.apiVersion;\n return { ...clientContext, apiVersion, knowledgeBaseName } as KnowledgeBaseRetrievalContext;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAuB;AAGvB,yBAA0B;AAkBnB,SAAS,6BACd,eACA,YACA,mBACA,UAAsD,CAAC,GACxB;AAC/B,QAAM,cAAc,QAAQ,YAAY,OAAO,aAAa;AAC5D,QAAM,oBAAoB,SAAS,kBAAkB;AACrD,QAAM,gBAAgB;AACtB,QAAM,kBAAkB,oBACpB,GAAG,iBAAiB,iBAAiB,aAAa,KAClD,gBAAgB,aAAa;AACjC,QAAM,EAAE,YAAY,GAAG,GAAG,eAAe,IAAI;AAAA,IAC3C,GAAG;AAAA,IACH,kBAAkB,EAAE,gBAAgB;AAAA,IACpC,gBAAgB,EAAE,QAAQ,QAAQ,gBAAgB,UAAU,qBAAO,KAAK;AAAA,IACxE,aAAa;AAAA,MACX,QAAQ,QAAQ,aAAa,UAAU,CAAC,mCAAmC;AAAA,MAC3E,kBAAkB,QAAQ,aAAa,oBAAoB;AAAA,IAC7D;AAAA,EACF;AACA,QAAM,oBAAgB,8BAAU,aAAa,YAAY,cAAc;AACvE,QAAM,aAAa,QAAQ;AAC3B,SAAO,EAAE,GAAG,eAAe,YAAY,kBAAkB;AAC3D;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,8 +2,8 @@ import type { KnowledgeBaseRetrievalContext as Client } from "./index.js";
|
|
|
2
2
|
import type { KnowledgeBaseRetrievalRequest, KnowledgeBaseRetrievalResponse } from "../../models/azure/search/documents/knowledgeBases/models.js";
|
|
3
3
|
import type { RetrieveOptionalParams } from "./options.js";
|
|
4
4
|
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
5
|
-
export declare function _retrieveSend(context: Client,
|
|
5
|
+
export declare function _retrieveSend(context: Client, retrievalRequest: KnowledgeBaseRetrievalRequest, options?: RetrieveOptionalParams): StreamableMethod;
|
|
6
6
|
export declare function _retrieveDeserialize(result: PathUncheckedResponse): Promise<KnowledgeBaseRetrievalResponse>;
|
|
7
7
|
/** KnowledgeBase retrieves relevant data from backing stores. */
|
|
8
|
-
export declare function retrieve(context: Client,
|
|
8
|
+
export declare function retrieve(context: Client, retrievalRequest: KnowledgeBaseRetrievalRequest, options?: RetrieveOptionalParams): Promise<KnowledgeBaseRetrievalResponse>;
|
|
9
9
|
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/knowledgeBaseRetrieval/api/operations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,6BAA6B,IAAI,MAAM,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,KAAK,EACV,6BAA6B,EAC7B,8BAA8B,EAC/B,MAAM,8DAA8D,CAAC;AAOtE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGvF,wBAAgB,aAAa,CAC3B,OAAO,EAAE,MAAM,EACf,
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/knowledgeBaseRetrieval/api/operations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,6BAA6B,IAAI,MAAM,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,KAAK,EACV,6BAA6B,EAC7B,8BAA8B,EAC/B,MAAM,8DAA8D,CAAC;AAOtE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGvF,wBAAgB,aAAa,CAC3B,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,6BAA6B,EAC/C,OAAO,GAAE,sBAA+C,GACvD,gBAAgB,CA2BlB;AAED,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,8BAA8B,CAAC,CAUzC;AAED,iEAAiE;AACjE,wBAAsB,QAAQ,CAC5B,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,6BAA6B,EAC/C,OAAO,GAAE,sBAA+C,GACvD,OAAO,CAAC,8BAA8B,CAAC,CAGzC"}
|
|
@@ -26,12 +26,12 @@ var import_models = require("../../models/azure/search/documents/knowledgeBases/
|
|
|
26
26
|
var import_models2 = require("../../models/azure/search/documents/models.js");
|
|
27
27
|
var import_urlTemplate = require("../../static-helpers/urlTemplate.js");
|
|
28
28
|
var import_core_client = require("@azure-rest/core-client");
|
|
29
|
-
function _retrieveSend(context,
|
|
29
|
+
function _retrieveSend(context, retrievalRequest, options = { requestOptions: {} }) {
|
|
30
30
|
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
31
31
|
"/knowledgebases('{knowledgeBaseName}')/retrieve{?api%2Dversion}",
|
|
32
32
|
{
|
|
33
|
-
knowledgeBaseName,
|
|
34
|
-
"api%2Dversion": context.apiVersion ?? "
|
|
33
|
+
knowledgeBaseName: context.knowledgeBaseName,
|
|
34
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-01"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -41,8 +41,9 @@ function _retrieveSend(context, knowledgeBaseName, retrievalRequest, options = {
|
|
|
41
41
|
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
42
42
|
contentType: "application/json",
|
|
43
43
|
headers: {
|
|
44
|
-
accept
|
|
45
|
-
|
|
44
|
+
...options?.accept !== void 0 ? {
|
|
45
|
+
accept: !options?.accept ? options?.accept : "application/json;odata.metadata=minimal"
|
|
46
|
+
} : {},
|
|
46
47
|
...options?.clientRequestId !== void 0 ? { "x-ms-client-request-id": options?.clientRequestId } : {},
|
|
47
48
|
...options.requestOptions?.headers
|
|
48
49
|
},
|
|
@@ -58,8 +59,8 @@ async function _retrieveDeserialize(result) {
|
|
|
58
59
|
}
|
|
59
60
|
return (0, import_models.knowledgeBaseRetrievalResponseDeserializer)(result.body);
|
|
60
61
|
}
|
|
61
|
-
async function retrieve(context,
|
|
62
|
-
const result = await _retrieveSend(context,
|
|
62
|
+
async function retrieve(context, retrievalRequest, options = { requestOptions: {} }) {
|
|
63
|
+
const result = await _retrieveSend(context, retrievalRequest, options);
|
|
63
64
|
return _retrieveDeserialize(result);
|
|
64
65
|
}
|
|
65
66
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -68,3 +69,4 @@ async function retrieve(context, knowledgeBaseName, retrievalRequest, options =
|
|
|
68
69
|
_retrieveSend,
|
|
69
70
|
retrieve
|
|
70
71
|
});
|
|
72
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { KnowledgeBaseRetrievalContext as Client } from \"./index.js\";\nimport type {\n KnowledgeBaseRetrievalRequest,\n KnowledgeBaseRetrievalResponse,\n} from \"../../models/azure/search/documents/knowledgeBases/models.js\";\nimport {\n knowledgeBaseRetrievalRequestSerializer,\n knowledgeBaseRetrievalResponseDeserializer,\n} from \"../../models/azure/search/documents/knowledgeBases/models.js\";\nimport { errorResponseDeserializer } from \"../../models/azure/search/documents/models.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type { RetrieveOptionalParams } from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _retrieveSend(\n context: Client,\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,oBAGO;AACP,IAAAA,iBAA0C;AAC1C,yBAAkC;AAGlC,yBAAqE;AAE9D,SAAS,cACd,SACA,
|
|
3
|
+
"sources": ["../../../../src/knowledgeBaseRetrieval/api/operations.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { KnowledgeBaseRetrievalContext as Client } from \"./index.js\";\nimport type {\n KnowledgeBaseRetrievalRequest,\n KnowledgeBaseRetrievalResponse,\n} from \"../../models/azure/search/documents/knowledgeBases/models.js\";\nimport {\n knowledgeBaseRetrievalRequestSerializer,\n knowledgeBaseRetrievalResponseDeserializer,\n} from \"../../models/azure/search/documents/knowledgeBases/models.js\";\nimport { errorResponseDeserializer } from \"../../models/azure/search/documents/models.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type { RetrieveOptionalParams } from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _retrieveSend(\n context: Client,\n retrievalRequest: KnowledgeBaseRetrievalRequest,\n options: RetrieveOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/knowledgebases('{knowledgeBaseName}')/retrieve{?api%2Dversion}\",\n {\n knowledgeBaseName: context.knowledgeBaseName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n ...(options?.accept !== undefined\n ? {\n accept: !options?.accept ? options?.accept : \"application/json;odata.metadata=minimal\",\n }\n : {}),\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n ...options.requestOptions?.headers,\n },\n body: knowledgeBaseRetrievalRequestSerializer(retrievalRequest),\n });\n}\n\nexport async function _retrieveDeserialize(\n result: PathUncheckedResponse,\n): Promise<KnowledgeBaseRetrievalResponse> {\n const expectedStatuses = [\"200\", \"206\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return knowledgeBaseRetrievalResponseDeserializer(result.body);\n}\n\n/** KnowledgeBase retrieves relevant data from backing stores. */\nexport async function retrieve(\n context: Client,\n retrievalRequest: KnowledgeBaseRetrievalRequest,\n options: RetrieveOptionalParams = { requestOptions: {} },\n): Promise<KnowledgeBaseRetrievalResponse> {\n const result = await _retrieveSend(context, retrievalRequest, options);\n return _retrieveDeserialize(result);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,oBAGO;AACP,IAAAA,iBAA0C;AAC1C,yBAAkC;AAGlC,yBAAqE;AAE9D,SAAS,cACd,SACA,kBACA,UAAkC,EAAE,gBAAgB,CAAC,EAAE,GACrC;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,mBAAmB,QAAQ;AAAA,MAC3B,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,KAAK;AAAA,IAC7B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,aAAa;AAAA,IACb,SAAS;AAAA,MACP,GAAI,SAAS,WAAW,SACpB;AAAA,QACE,QAAQ,CAAC,SAAS,SAAS,SAAS,SAAS;AAAA,MAC/C,IACA,CAAC;AAAA,MACL,GAAI,SAAS,oBAAoB,SAC7B,EAAE,0BAA0B,SAAS,gBAAgB,IACrD,CAAC;AAAA,MACL,GAAG,QAAQ,gBAAgB;AAAA,IAC7B;AAAA,IACA,UAAM,uDAAwC,gBAAgB;AAAA,EAChE,CAAC;AACH;AAEA,eAAsB,qBACpB,QACyC;AACzC,QAAM,mBAAmB,CAAC,OAAO,KAAK;AACtC,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,0CAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,0DAA2C,OAAO,IAAI;AAC/D;AAGA,eAAsB,SACpB,SACA,kBACA,UAAkC,EAAE,gBAAgB,CAAC,EAAE,GACd;AACzC,QAAM,SAAS,MAAM,cAAc,SAAS,kBAAkB,OAAO;AACrE,SAAO,qBAAqB,MAAM;AACpC;",
|
|
6
6
|
"names": ["import_models"]
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { OperationOptions } from "@azure-rest/core-client";
|
|
2
2
|
/** Optional parameters. */
|
|
3
3
|
export interface RetrieveOptionalParams extends OperationOptions {
|
|
4
|
-
/**
|
|
5
|
-
|
|
4
|
+
/** The Accept header. */
|
|
5
|
+
accept?: "application/json;odata.metadata=minimal";
|
|
6
6
|
/** An opaque, globally-unique, client-generated string identifier for the request. */
|
|
7
7
|
clientRequestId?: string;
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/knowledgeBaseRetrieval/api/options.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,2BAA2B;AAC3B,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D,
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/knowledgeBaseRetrieval/api/options.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,2BAA2B;AAC3B,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC9D,yBAAyB;IACzB,MAAM,CAAC,EAAE,yCAAyC,CAAC;IACnD,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface RetrieveOptionalParams extends OperationOptions {\n /**
|
|
3
|
+
"sources": ["../../../../src/knowledgeBaseRetrieval/api/options.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface RetrieveOptionalParams extends OperationOptions {\n /** The Accept header. */\n accept?: \"application/json;odata.metadata=minimal\";\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n clientRequestId?: string;\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../src/knowledgeBaseRetrieval/index.ts"],
|
|
4
4
|
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { KnowledgeBaseRetrievalClient } from \"./knowledgeBaseRetrievalClient.js\";\nexport type {\n KnowledgeBaseRetrievalContext,\n KnowledgeBaseRetrievalClientOptionalParams,\n RetrieveOptionalParams,\n} from \"./api/index.js\";\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,0CAA6C;",
|
|
6
6
|
"names": []
|
|
@@ -8,8 +8,8 @@ export declare class KnowledgeBaseRetrievalClient {
|
|
|
8
8
|
private _client;
|
|
9
9
|
/** The pipeline used by this client to make requests */
|
|
10
10
|
readonly pipeline: Pipeline;
|
|
11
|
-
constructor(endpointParam: string, credential: KeyCredential | TokenCredential, options?: KnowledgeBaseRetrievalClientOptionalParams);
|
|
11
|
+
constructor(endpointParam: string, credential: KeyCredential | TokenCredential, knowledgeBaseName: string, options?: KnowledgeBaseRetrievalClientOptionalParams);
|
|
12
12
|
/** KnowledgeBase retrieves relevant data from backing stores. */
|
|
13
|
-
retrieve(
|
|
13
|
+
retrieve(retrievalRequest: KnowledgeBaseRetrievalRequest, options?: RetrieveOptionalParams): Promise<KnowledgeBaseRetrievalResponse>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=knowledgeBaseRetrievalClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"knowledgeBaseRetrievalClient.d.ts","sourceRoot":"","sources":["../../../src/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,0CAA0C,EAC3C,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EACV,6BAA6B,EAC7B,8BAA8B,EAC/B,MAAM,2DAA2D,CAAC;AAEnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAE1D,YAAY,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEzG,qBAAa,4BAA4B;IACvC,OAAO,CAAC,OAAO,CAAgC;IAC/C,wDAAwD;IACxD,SAAgB,QAAQ,EAAE,QAAQ,CAAC;gBAGjC,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,aAAa,GAAG,eAAe,EAC3C,OAAO,GAAE,0CAA+C;IAa1D,iEAAiE;IACjE,QAAQ,CACN,
|
|
1
|
+
{"version":3,"file":"knowledgeBaseRetrievalClient.d.ts","sourceRoot":"","sources":["../../../src/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,0CAA0C,EAC3C,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EACV,6BAA6B,EAC7B,8BAA8B,EAC/B,MAAM,2DAA2D,CAAC;AAEnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAE1D,YAAY,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEzG,qBAAa,4BAA4B;IACvC,OAAO,CAAC,OAAO,CAAgC;IAC/C,wDAAwD;IACxD,SAAgB,QAAQ,EAAE,QAAQ,CAAC;gBAGjC,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,aAAa,GAAG,eAAe,EAC3C,iBAAiB,EAAE,MAAM,EACzB,OAAO,GAAE,0CAA+C;IAa1D,iEAAiE;IACjE,QAAQ,CACN,gBAAgB,EAAE,6BAA6B,EAC/C,OAAO,GAAE,sBAA+C,GACvD,OAAO,CAAC,8BAA8B,CAAC;CAG3C"}
|
|
@@ -26,21 +26,22 @@ class KnowledgeBaseRetrievalClient {
|
|
|
26
26
|
_client;
|
|
27
27
|
/** The pipeline used by this client to make requests */
|
|
28
28
|
pipeline;
|
|
29
|
-
constructor(endpointParam, credential, options = {}) {
|
|
29
|
+
constructor(endpointParam, credential, knowledgeBaseName, options = {}) {
|
|
30
30
|
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
31
31
|
const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-client` : `azsdk-js-client`;
|
|
32
|
-
this._client = (0, import_api.createKnowledgeBaseRetrieval)(endpointParam, credential, {
|
|
32
|
+
this._client = (0, import_api.createKnowledgeBaseRetrieval)(endpointParam, credential, knowledgeBaseName, {
|
|
33
33
|
...options,
|
|
34
34
|
userAgentOptions: { userAgentPrefix }
|
|
35
35
|
});
|
|
36
36
|
this.pipeline = this._client.pipeline;
|
|
37
37
|
}
|
|
38
38
|
/** KnowledgeBase retrieves relevant data from backing stores. */
|
|
39
|
-
retrieve(
|
|
40
|
-
return (0, import_operations.retrieve)(this._client,
|
|
39
|
+
retrieve(retrievalRequest, options = { requestOptions: {} }) {
|
|
40
|
+
return (0, import_operations.retrieve)(this._client, retrievalRequest, options);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
// Annotate the CommonJS export names for ESM import in node:
|
|
44
44
|
0 && (module.exports = {
|
|
45
45
|
KnowledgeBaseRetrievalClient
|
|
46
46
|
});
|
|
47
|
+
//# sourceMappingURL=knowledgeBaseRetrievalClient.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n KnowledgeBaseRetrievalContext,\n KnowledgeBaseRetrievalClientOptionalParams,\n} from \"./api/index.js\";\nimport { createKnowledgeBaseRetrieval } from \"./api/index.js\";\nimport type {\n KnowledgeBaseRetrievalRequest,\n KnowledgeBaseRetrievalResponse,\n} from \"../models/azure/search/documents/knowledgeBases/models.js\";\nimport { retrieve } from \"./api/operations.js\";\nimport type { RetrieveOptionalParams } from \"./api/options.js\";\nimport type { KeyCredential, TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport type { KnowledgeBaseRetrievalClientOptionalParams } from \"./api/knowledgeBaseRetrievalContext.js\";\n\nexport class KnowledgeBaseRetrievalClient {\n private _client: KnowledgeBaseRetrievalContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n constructor(\n endpointParam: string,\n credential: KeyCredential | TokenCredential,\n options: KnowledgeBaseRetrievalClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createKnowledgeBaseRetrieval(endpointParam, credential, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n }\n\n /** KnowledgeBase retrieves relevant data from backing stores. */\n retrieve(\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,iBAA6C;AAK7C,wBAAyB;AAOlB,MAAM,6BAA6B;AAAA,EAChC;AAAA;AAAA,EAEQ;AAAA,EAEhB,YACE,eACA,YACA,UAAsD,CAAC,GACvD;AACA,UAAM,oBAAoB,SAAS,kBAAkB;AACrD,UAAM,kBAAkB,oBACpB,GAAG,iBAAiB,qBACpB;AACJ,SAAK,cAAU,yCAA6B,eAAe,YAAY;AAAA,
|
|
3
|
+
"sources": ["../../../src/knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n KnowledgeBaseRetrievalContext,\n KnowledgeBaseRetrievalClientOptionalParams,\n} from \"./api/index.js\";\nimport { createKnowledgeBaseRetrieval } from \"./api/index.js\";\nimport type {\n KnowledgeBaseRetrievalRequest,\n KnowledgeBaseRetrievalResponse,\n} from \"../models/azure/search/documents/knowledgeBases/models.js\";\nimport { retrieve } from \"./api/operations.js\";\nimport type { RetrieveOptionalParams } from \"./api/options.js\";\nimport type { KeyCredential, TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport type { KnowledgeBaseRetrievalClientOptionalParams } from \"./api/knowledgeBaseRetrievalContext.js\";\n\nexport class KnowledgeBaseRetrievalClient {\n private _client: KnowledgeBaseRetrievalContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n constructor(\n endpointParam: string,\n credential: KeyCredential | TokenCredential,\n knowledgeBaseName: string,\n options: KnowledgeBaseRetrievalClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createKnowledgeBaseRetrieval(endpointParam, credential, knowledgeBaseName, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n }\n\n /** KnowledgeBase retrieves relevant data from backing stores. */\n retrieve(\n retrievalRequest: KnowledgeBaseRetrievalRequest,\n options: RetrieveOptionalParams = { requestOptions: {} },\n ): Promise<KnowledgeBaseRetrievalResponse> {\n return retrieve(this._client, retrievalRequest, options);\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,iBAA6C;AAK7C,wBAAyB;AAOlB,MAAM,6BAA6B;AAAA,EAChC;AAAA;AAAA,EAEQ;AAAA,EAEhB,YACE,eACA,YACA,mBACA,UAAsD,CAAC,GACvD;AACA,UAAM,oBAAoB,SAAS,kBAAkB;AACrD,UAAM,kBAAkB,oBACpB,GAAG,iBAAiB,qBACpB;AACJ,SAAK,cAAU,yCAA6B,eAAe,YAAY,mBAAmB;AAAA,MACxF,GAAG;AAAA,MACH,kBAAkB,EAAE,gBAAgB;AAAA,IACtC,CAAC;AACD,SAAK,WAAW,KAAK,QAAQ;AAAA,EAC/B;AAAA;AAAA,EAGA,SACE,kBACA,UAAkC,EAAE,gBAAgB,CAAC,EAAE,GACd;AACzC,eAAO,4BAAS,KAAK,SAAS,kBAAkB,OAAO;AAAA,EACzD;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { KeyCredential, TokenCredential } from "@azure/core-auth";
|
|
2
2
|
import type { Pipeline } from "@azure/core-rest-pipeline";
|
|
3
3
|
import type { KnowledgeBaseRetrievalRequest, KnowledgeBaseRetrievalResponse } from "./models/azure/search/documents/knowledgeBases/index.js";
|
|
4
|
-
import type {
|
|
4
|
+
import type { RetrieveOptions } from "./knowledgeBaseModels.js";
|
|
5
5
|
import type { ClientOptions } from "@azure-rest/core-client";
|
|
6
6
|
/**
|
|
7
7
|
* Client options used to configure Cognitive Search API requests.
|
|
@@ -63,6 +63,6 @@ export declare class KnowledgeRetrievalClient {
|
|
|
63
63
|
* @param options - Used to configure the Search client.
|
|
64
64
|
*/
|
|
65
65
|
constructor(endpoint: string, knowledgeBaseName: string, credential: KeyCredential | TokenCredential, options?: KnowledgeRetrievalClientOptions);
|
|
66
|
-
|
|
66
|
+
retrieve(retrievalRequest: KnowledgeBaseRetrievalRequest, options?: RetrieveOptions): Promise<KnowledgeBaseRetrievalResponse>;
|
|
67
67
|
}
|
|
68
68
|
//# sourceMappingURL=knowledgeRetrievalClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"knowledgeRetrievalClient.d.ts","sourceRoot":"","sources":["../../src/knowledgeRetrievalClient.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAK1D,OAAO,KAAK,EACV,6BAA6B,EAC7B,8BAA8B,EAC/B,MAAM,yDAAyD,CAAC;AAGjE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"knowledgeRetrievalClient.d.ts","sourceRoot":"","sources":["../../src/knowledgeRetrievalClient.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAK1D,OAAO,KAAK,EACV,6BAA6B,EAC7B,8BAA8B,EAC/B,MAAM,yDAAyD,CAAC;AAGjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAOhE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,aAAa;IACpE;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,qBAAa,wBAAwB;IAInC;;OAEG;IACH,SAAgB,cAAc,EAAE,MAAM,CAA+B;IAErE;;OAEG;IACH,SAAgB,QAAQ,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,SAAgB,iBAAiB,EAAE,MAAM,CAAC;IAE1C;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;OAEG;IACH,SAAgB,QAAQ,EAAE,QAAQ,CAAC;IAEnC;;;;;;;;;;;;;;;;;;OAkBG;gBAED,QAAQ,EAAE,MAAM,EAChB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,aAAa,GAAG,eAAe,EAC3C,OAAO,GAAE,+BAAoC;IAoDlC,QAAQ,CACnB,gBAAgB,EAAE,6BAA6B,EAC/C,OAAO,GAAE,eAAoB,GAC5B,OAAO,CAAC,8BAA8B,CAAC;CAS3C"}
|
|
@@ -103,7 +103,12 @@ class KnowledgeRetrievalClient {
|
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
this.serviceVersion = options.serviceVersion ?? utils.defaultServiceVersion;
|
|
106
|
-
this.client = new import_knowledgeBaseRetrievalClient.KnowledgeBaseRetrievalClient(
|
|
106
|
+
this.client = new import_knowledgeBaseRetrievalClient.KnowledgeBaseRetrievalClient(
|
|
107
|
+
endpoint,
|
|
108
|
+
credential,
|
|
109
|
+
knowledgeBaseName,
|
|
110
|
+
internalClientPipelineOptions
|
|
111
|
+
);
|
|
107
112
|
this.pipeline = this.client.pipeline;
|
|
108
113
|
this.pipeline.removePolicy({ name: import_core_rest_pipeline.bearerTokenAuthenticationPolicyName });
|
|
109
114
|
if ((0, import_core_auth.isTokenCredential)(credential)) {
|
|
@@ -116,12 +121,12 @@ class KnowledgeRetrievalClient {
|
|
|
116
121
|
}
|
|
117
122
|
this.client.pipeline.addPolicy((0, import_odataMetadataPolicy.createOdataMetadataPolicy)("none"));
|
|
118
123
|
}
|
|
119
|
-
async
|
|
124
|
+
async retrieve(retrievalRequest, options = {}) {
|
|
120
125
|
return import_tracing.tracingClient.withSpan(
|
|
121
|
-
"KnowledgeRetrievalClient-
|
|
126
|
+
"KnowledgeRetrievalClient-retrieve",
|
|
122
127
|
options,
|
|
123
128
|
async (updatedOptions) => {
|
|
124
|
-
return this.client.retrieve(
|
|
129
|
+
return this.client.retrieve(retrievalRequest, updatedOptions);
|
|
125
130
|
}
|
|
126
131
|
);
|
|
127
132
|
}
|
|
@@ -130,3 +135,4 @@ class KnowledgeRetrievalClient {
|
|
|
130
135
|
0 && (module.exports = {
|
|
131
136
|
KnowledgeRetrievalClient
|
|
132
137
|
});
|
|
138
|
+
//# sourceMappingURL=knowledgeRetrievalClient.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/// <reference lib=\"esnext.asynciterable\" />\n\nimport type { KeyCredential, TokenCredential } from \"@azure/core-auth\";\nimport { isTokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\nimport {\n bearerTokenAuthenticationPolicy,\n bearerTokenAuthenticationPolicyName,\n} from \"@azure/core-rest-pipeline\";\nimport type {\n KnowledgeBaseRetrievalRequest,\n KnowledgeBaseRetrievalResponse,\n} from \"./models/azure/search/documents/knowledgeBases/index.js\";\nimport type { KnowledgeBaseRetrievalClientOptionalParams } from \"./knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js\";\nimport { KnowledgeBaseRetrievalClient as GeneratedClient } from \"./knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js\";\nimport type {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,uBAAkC;AAElC,gCAGO;AAMP,0CAAgE;AAEhE,oBAAuB;AACvB,iCAA0C;AAC1C,0CAAmD;AACnD,4BAAoC;AACpC,YAAuB;AACvB,qBAA8B;AAuBvB,MAAM,yBAAyB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOpB,iBAAyB,MAAM;AAAA;AAAA;AAAA;AAAA,EAK/B;AAAA;AAAA;AAAA;AAAA,EAKA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMC;AAAA;AAAA;AAAA;AAAA,EAKD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBhB,YACE,UACA,mBACA,YACA,UAA2C,CAAC,GAC5C;AACA,SAAK,WAAW;AAChB,SAAK,oBAAoB;AAEzB,UAAM,gCAA4E;AAAA,MAChF,GAAG;AAAA,MACH,YAAY,QAAQ,kBAAkB,MAAM;AAAA,MAC5C,GAAG;AAAA,QACD,gBAAgB;AAAA,UACd,QAAQ,qBAAO;AAAA,UACf,8BAA8B;AAAA,YAC5B;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAEA,SAAK,iBAAiB,QAAQ,kBAAkB,MAAM;AAEtD,SAAK,SAAS,IAAI,oCAAAA,
|
|
3
|
+
"sources": ["../../src/knowledgeRetrievalClient.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/// <reference lib=\"esnext.asynciterable\" />\n\nimport type { KeyCredential, TokenCredential } from \"@azure/core-auth\";\nimport { isTokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\nimport {\n bearerTokenAuthenticationPolicy,\n bearerTokenAuthenticationPolicyName,\n} from \"@azure/core-rest-pipeline\";\nimport type {\n KnowledgeBaseRetrievalRequest,\n KnowledgeBaseRetrievalResponse,\n} from \"./models/azure/search/documents/knowledgeBases/index.js\";\nimport type { KnowledgeBaseRetrievalClientOptionalParams } from \"./knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js\";\nimport { KnowledgeBaseRetrievalClient as GeneratedClient } from \"./knowledgeBaseRetrieval/knowledgeBaseRetrievalClient.js\";\nimport type { RetrieveOptions } from \"./knowledgeBaseModels.js\";\nimport { logger } from \"./logger.js\";\nimport { createOdataMetadataPolicy } from \"./odataMetadataPolicy.js\";\nimport { createSearchApiKeyCredentialPolicy } from \"./searchApiKeyCredentialPolicy.js\";\nimport { KnownSearchAudience } from \"./searchAudience.js\";\nimport * as utils from \"./serviceUtils.js\";\nimport { tracingClient } from \"./tracing.js\";\nimport type { ClientOptions } from \"@azure-rest/core-client\";\n\n/**\n * Client options used to configure Cognitive Search API requests.\n */\nexport interface KnowledgeRetrievalClientOptions extends ClientOptions {\n /**\n * The service version to use when communicating with the service.\n */\n serviceVersion?: string;\n\n /**\n * The Audience to use for authentication with Azure Active Directory (AAD). The\n * audience is not considered when using a shared key.\n * {@link KnownSearchAudience} can be used interchangeably with audience\n */\n audience?: string;\n}\n\n/**\n * Class used to perform operations against a knowledge base.\n */\nexport class KnowledgeRetrievalClient {\n /// Maintenance note: when updating supported API versions,\n /// the ContinuationToken logic will need to be updated below.\n\n /**\n * The service version to use when communicating with the service.\n */\n public readonly serviceVersion: string = utils.defaultServiceVersion;\n\n /**\n * The endpoint of the search service\n */\n public readonly endpoint: string;\n\n /**\n * The name of the knowledge base\n */\n public readonly knowledgeBaseName: string;\n\n /**\n * @hidden\n * A reference to the auto-generated KnowledgeRetrievalClient\n */\n private readonly client: GeneratedClient;\n\n /**\n * A reference to the internal HTTP pipeline for use with raw requests\n */\n public readonly pipeline: Pipeline;\n\n /**\n * Creates an instance of KnowledgeRetrievalClient.\n *\n * Example usage:\n * ```ts snippet:ReadmeSampleKnowledgeRetrievalClient\n * import { KnowledgeRetrievalClient, AzureKeyCredential } from \"@azure/search-documents\";\n *\n * const knowledgeRetrievalClient = new KnowledgeRetrievalClient(\n * \"<endpoint>\",\n * \"<knowledgeBaseName>\",\n * new AzureKeyCredential(\"<apiKey>\"),\n * );\n * ```\n \n * @param endpoint - The endpoint of the search service\n * @param knowledgeBaseName - The name of the knowledge base\n * @param credential - Used to authenticate requests to the service.\n * @param options - Used to configure the Search client.\n */\n constructor(\n endpoint: string,\n knowledgeBaseName: string,\n credential: KeyCredential | TokenCredential,\n options: KnowledgeRetrievalClientOptions = {},\n ) {\n this.endpoint = endpoint;\n this.knowledgeBaseName = knowledgeBaseName;\n\n const internalClientPipelineOptions: KnowledgeBaseRetrievalClientOptionalParams = {\n ...options,\n apiVersion: options.serviceVersion ?? utils.defaultServiceVersion,\n ...{\n loggingOptions: {\n logger: logger.info,\n additionalAllowedHeaderNames: [\n \"elapsed-time\",\n \"Location\",\n \"OData-MaxVersion\",\n \"OData-Version\",\n \"Prefer\",\n \"throttle-reason\",\n ],\n },\n },\n };\n\n this.serviceVersion = options.serviceVersion ?? utils.defaultServiceVersion;\n\n this.client = new GeneratedClient(\n endpoint,\n credential,\n knowledgeBaseName,\n internalClientPipelineOptions,\n );\n\n this.pipeline = this.client.pipeline;\n\n // Replaced with a custom policy below\n this.pipeline.removePolicy({ name: bearerTokenAuthenticationPolicyName });\n\n if (isTokenCredential(credential)) {\n const scope: string = options.audience\n ? `${options.audience}/.default`\n : `${KnownSearchAudience.AzurePublicCloud}/.default`;\n\n this.client.pipeline.addPolicy(\n bearerTokenAuthenticationPolicy({ credential, scopes: scope }),\n );\n } else {\n this.client.pipeline.addPolicy(createSearchApiKeyCredentialPolicy(credential));\n }\n\n this.client.pipeline.addPolicy(createOdataMetadataPolicy(\"none\"));\n }\n\n public async retrieve(\n retrievalRequest: KnowledgeBaseRetrievalRequest,\n options: RetrieveOptions = {},\n ): Promise<KnowledgeBaseRetrievalResponse> {\n return tracingClient.withSpan(\n \"KnowledgeRetrievalClient-retrieve\",\n options,\n async (updatedOptions) => {\n return this.client.retrieve(retrievalRequest, updatedOptions);\n },\n );\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,uBAAkC;AAElC,gCAGO;AAMP,0CAAgE;AAEhE,oBAAuB;AACvB,iCAA0C;AAC1C,0CAAmD;AACnD,4BAAoC;AACpC,YAAuB;AACvB,qBAA8B;AAuBvB,MAAM,yBAAyB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOpB,iBAAyB,MAAM;AAAA;AAAA;AAAA;AAAA,EAK/B;AAAA;AAAA;AAAA;AAAA,EAKA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMC;AAAA;AAAA;AAAA;AAAA,EAKD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBhB,YACE,UACA,mBACA,YACA,UAA2C,CAAC,GAC5C;AACA,SAAK,WAAW;AAChB,SAAK,oBAAoB;AAEzB,UAAM,gCAA4E;AAAA,MAChF,GAAG;AAAA,MACH,YAAY,QAAQ,kBAAkB,MAAM;AAAA,MAC5C,GAAG;AAAA,QACD,gBAAgB;AAAA,UACd,QAAQ,qBAAO;AAAA,UACf,8BAA8B;AAAA,YAC5B;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAEA,SAAK,iBAAiB,QAAQ,kBAAkB,MAAM;AAEtD,SAAK,SAAS,IAAI,oCAAAA;AAAA,MAChB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAEA,SAAK,WAAW,KAAK,OAAO;AAG5B,SAAK,SAAS,aAAa,EAAE,MAAM,8DAAoC,CAAC;AAExE,YAAI,oCAAkB,UAAU,GAAG;AACjC,YAAM,QAAgB,QAAQ,WAC1B,GAAG,QAAQ,QAAQ,cACnB,GAAG,0CAAoB,gBAAgB;AAE3C,WAAK,OAAO,SAAS;AAAA,YACnB,2DAAgC,EAAE,YAAY,QAAQ,MAAM,CAAC;AAAA,MAC/D;AAAA,IACF,OAAO;AACL,WAAK,OAAO,SAAS,cAAU,wEAAmC,UAAU,CAAC;AAAA,IAC/E;AAEA,SAAK,OAAO,SAAS,cAAU,sDAA0B,MAAM,CAAC;AAAA,EAClE;AAAA,EAEA,MAAa,SACX,kBACA,UAA2B,CAAC,GACa;AACzC,WAAO,6BAAc;AAAA,MACnB;AAAA,MACA;AAAA,MACA,OAAO,mBAAmB;AACxB,eAAO,KAAK,OAAO,SAAS,kBAAkB,cAAc;AAAA,MAC9D;AAAA,IACF;AAAA,EACF;AACF;",
|
|
6
6
|
"names": ["GeneratedClient"]
|
|
7
7
|
}
|
package/dist/commonjs/logger.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../src/logger.ts"],
|
|
4
4
|
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\n\n/**\n * The `@azure/logger` configuration for this package.\n */\nexport const logger = createClientLogger(\"search\");\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAmC;AAK5B,MAAM,aAAS,kCAAmB,QAAQ;",
|
|
6
6
|
"names": []
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export type { ErrorResponse, ErrorDetail, ErrorAdditionalInfo, SearchDocumentsResult, FacetResult, QueryAnswerResult, SearchRequest, QueryType, ScoringStatistics, QueryDebugMode, SearchMode, SemanticErrorMode, QueryAnswerType, QueryCaptionType, VectorQuery, VectorQueryUnion, VectorQueryKind, VectorizedQuery, VectorizableTextQuery, VectorizableImageUrlQuery, VectorizableImageBinaryQuery, VectorFilterMode, SearchResult, QueryCaptionResult, DocumentDebugInfo, VectorsDebugInfo, QueryResultDocumentSubscores, TextResult, SingleVectorFieldResult, SemanticErrorReason, SemanticSearchResultsType, LookupDocument, SuggestDocumentsResult, SuggestResult, IndexDocumentsBatch, IndexAction, IndexActionType, IndexDocumentsResult, IndexingResult, AutocompleteResult, AutocompleteItem, AutocompleteMode, } from "./models.js";
|
|
2
|
+
export { KnownQueryType, KnownQueryDebugMode, KnownSemanticErrorMode, KnownQueryAnswerType, KnownQueryCaptionType, KnownVectorQueryKind, KnownVectorFilterMode, KnownSemanticErrorReason, KnownSemanticSearchResultsType, } from "./models.js";
|
|
2
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/models/azure/search/documents/index.ts"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/models/azure/search/documents/index.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,qBAAqB,EACrB,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,yBAAyB,EACzB,4BAA4B,EAC5B,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,4BAA4B,EAC5B,UAAU,EACV,uBAAuB,EACvB,mBAAmB,EACnB,yBAAyB,EACzB,cAAc,EACd,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACnB,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EACxB,8BAA8B,GAC/B,MAAM,aAAa,CAAC"}
|
|
@@ -17,41 +17,28 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
18
|
var documents_exports = {};
|
|
19
19
|
__export(documents_exports, {
|
|
20
|
-
KnownHybridCountAndFacetMode: () => import_models.KnownHybridCountAndFacetMode,
|
|
21
20
|
KnownQueryAnswerType: () => import_models.KnownQueryAnswerType,
|
|
22
21
|
KnownQueryCaptionType: () => import_models.KnownQueryCaptionType,
|
|
23
22
|
KnownQueryDebugMode: () => import_models.KnownQueryDebugMode,
|
|
24
|
-
KnownQueryLanguage: () => import_models.KnownQueryLanguage,
|
|
25
|
-
KnownQueryRewritesType: () => import_models.KnownQueryRewritesType,
|
|
26
|
-
KnownQuerySpellerType: () => import_models.KnownQuerySpellerType,
|
|
27
23
|
KnownQueryType: () => import_models.KnownQueryType,
|
|
28
24
|
KnownSemanticErrorMode: () => import_models.KnownSemanticErrorMode,
|
|
29
25
|
KnownSemanticErrorReason: () => import_models.KnownSemanticErrorReason,
|
|
30
|
-
KnownSemanticFieldState: () => import_models.KnownSemanticFieldState,
|
|
31
|
-
KnownSemanticQueryRewritesResultType: () => import_models.KnownSemanticQueryRewritesResultType,
|
|
32
26
|
KnownSemanticSearchResultsType: () => import_models.KnownSemanticSearchResultsType,
|
|
33
27
|
KnownVectorFilterMode: () => import_models.KnownVectorFilterMode,
|
|
34
|
-
KnownVectorQueryKind: () => import_models.KnownVectorQueryKind
|
|
35
|
-
KnownVectorThresholdKind: () => import_models.KnownVectorThresholdKind
|
|
28
|
+
KnownVectorQueryKind: () => import_models.KnownVectorQueryKind
|
|
36
29
|
});
|
|
37
30
|
module.exports = __toCommonJS(documents_exports);
|
|
38
31
|
var import_models = require("./models.js");
|
|
39
32
|
// Annotate the CommonJS export names for ESM import in node:
|
|
40
33
|
0 && (module.exports = {
|
|
41
|
-
KnownHybridCountAndFacetMode,
|
|
42
34
|
KnownQueryAnswerType,
|
|
43
35
|
KnownQueryCaptionType,
|
|
44
36
|
KnownQueryDebugMode,
|
|
45
|
-
KnownQueryLanguage,
|
|
46
|
-
KnownQueryRewritesType,
|
|
47
|
-
KnownQuerySpellerType,
|
|
48
37
|
KnownQueryType,
|
|
49
38
|
KnownSemanticErrorMode,
|
|
50
39
|
KnownSemanticErrorReason,
|
|
51
|
-
KnownSemanticFieldState,
|
|
52
|
-
KnownSemanticQueryRewritesResultType,
|
|
53
40
|
KnownSemanticSearchResultsType,
|
|
54
41
|
KnownVectorFilterMode,
|
|
55
|
-
KnownVectorQueryKind
|
|
56
|
-
KnownVectorThresholdKind
|
|
42
|
+
KnownVectorQueryKind
|
|
57
43
|
});
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
3
|
+
"sources": ["../../../../../../src/models/azure/search/documents/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n SearchDocumentsResult,\n FacetResult,\n QueryAnswerResult,\n SearchRequest,\n QueryType,\n ScoringStatistics,\n QueryDebugMode,\n SearchMode,\n SemanticErrorMode,\n QueryAnswerType,\n QueryCaptionType,\n VectorQuery,\n VectorQueryUnion,\n VectorQueryKind,\n VectorizedQuery,\n VectorizableTextQuery,\n VectorizableImageUrlQuery,\n VectorizableImageBinaryQuery,\n VectorFilterMode,\n SearchResult,\n QueryCaptionResult,\n DocumentDebugInfo,\n VectorsDebugInfo,\n QueryResultDocumentSubscores,\n TextResult,\n SingleVectorFieldResult,\n SemanticErrorReason,\n SemanticSearchResultsType,\n LookupDocument,\n SuggestDocumentsResult,\n SuggestResult,\n IndexDocumentsBatch,\n IndexAction,\n IndexActionType,\n IndexDocumentsResult,\n IndexingResult,\n AutocompleteResult,\n AutocompleteItem,\n AutocompleteMode,\n} from \"./models.js\";\nexport {\n KnownQueryType,\n KnownQueryDebugMode,\n KnownSemanticErrorMode,\n KnownQueryAnswerType,\n KnownQueryCaptionType,\n KnownVectorQueryKind,\n KnownVectorFilterMode,\n KnownSemanticErrorReason,\n KnownSemanticSearchResultsType,\n} from \"./models.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA+CA,oBAUO;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|