@azure/search-documents 12.0.0-alpha.20231009.1 → 12.0.0-alpha.20231023.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../../src/generated/data/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,WAAW,GAA+B;IACrD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,aAAa;QACxB,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,QAAQ,EAAE,IAAI;gBACd,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,aAAa;yBACzB;qBACF;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAA+B;IAC/D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,uBAAuB;QAClC,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,gBAAgB;gBAChC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,oBAAoB;gBACpC,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,I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,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;iBAChB;aACF;YACD,gBAAgB,EAAE;gBAChB,cAAc,EAAE,kBAAkB;gBAClC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,eAAe,EAAE;gBACf,cAAc,EAAE,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,eAAe,EAAE;gBACf,cAAc,EAAE,iBAAiB;gBACjC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,YAAY,EAAE;gBACZ,cAAc,EAAE,cAAc;gBAC9B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,aAAa,EAAE;gBACb,cAAc,EAAE,eAAe;gBAC/B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,GAAG,EAAE;gBACH,cAAc,EAAE,KAAK;gBACrB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const SearchError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SearchError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SearchError\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SearchDocumentsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SearchDocumentsResult\",\n modelProperties: {\n count: {\n serializedName: \"@odata\\\\.count\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n coverage: {\n serializedName: \"@search\\\\.coverage\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n facets: {\n serializedName: \"@search\\\\.facets\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: {\n type: {\n name: \"Sequence\",\n element: { type: { name: \"Composite\", className: \"FacetResult\" } }\n }\n }\n }\n },\n answers: {\n serializedName: \"@search\\\\.answers\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AnswerResult\"\n }\n }\n }\n },\n nextPageParameters: {\n serializedName: \"@search\\\\.nextPageParameters\",\n type: {\n name: \"Composite\",\n className: \"SearchRequest\"\n }\n },\n semanticPartialResponseReason: {\n serializedName: \"@search\\\\.semanticPartialResponseReason\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n semanticPartialResponseType: {\n serializedName: \"@search\\\\.semanticPartialResponseType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n results: {\n serializedName: \"value\",\n required: true,\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SearchResult\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@odata\\\\.nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const FacetResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FacetResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n count: {\n serializedName: \"count\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const AnswerResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnswerResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n score: {\n serializedName: \"score\",\n required: true,\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n key: {\n serializedName: \"key\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n text: {\n serializedName: \"text\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n highlights: {\n serializedName: \"highlights\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SearchRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SearchRequest\",\n modelProperties: {\n includeTotalResultCount: {\n serializedName: \"count\",\n type: {\n name: \"Boolean\"\n }\n },\n facets: {\n serializedName: \"facets\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n filter: {\n serializedName: \"filter\",\n type: {\n name: \"String\"\n }\n },\n highlightFields: {\n serializedName: \"highlight\",\n type: {\n name: \"String\"\n }\n },\n highlightPostTag: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n },\n highlightPreTag: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n },\n minimumCoverage: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n },\n orderBy: {\n serializedName: \"orderby\",\n type: {\n name: \"String\"\n }\n },\n queryType: {\n serializedName: \"queryType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"simple\", \"full\", \"semantic\"]\n }\n },\n scoringStatistics: {\n serializedName: \"scoringStatistics\",\n type: {\n name: \"Enum\",\n allowedValues: [\"local\", \"global\"]\n }\n },\n sessionId: {\n serializedName: \"sessionId\",\n type: {\n name: \"String\"\n }\n },\n scoringParameters: {\n serializedName: \"scoringParameters\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n scoringProfile: {\n serializedName: \"scoringProfile\",\n type: {\n name: \"String\"\n }\n },\n semanticConfiguration: {\n serializedName: \"semanticConfiguration\",\n type: {\n name: \"String\"\n }\n },\n semanticErrorHandling: {\n serializedName: \"semanticErrorHandling\",\n type: {\n name: \"String\"\n }\n },\n semanticMaxWaitInMilliseconds: {\n constraints: {\n InclusiveMinimum: 700\n },\n serializedName: \"semanticMaxWaitInMilliseconds\",\n nullable: true,\n type: {\n name: \"Number\"\n }\n },\n debug: {\n serializedName: \"debug\",\n type: {\n name: \"String\"\n }\n },\n searchText: {\n serializedName: \"search\",\n type: {\n name: \"String\"\n }\n },\n searchFields: {\n serializedName: \"searchFields\",\n type: {\n name: \"String\"\n }\n },\n searchMode: {\n serializedName: \"searchMode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"any\", \"all\"]\n }\n },\n queryLanguage: {\n serializedName: \"queryLanguage\",\n type: {\n name: \"String\"\n }\n },\n speller: {\n serializedName: \"speller\",\n type: {\n name: \"String\"\n }\n },\n answers: {\n serializedName: \"answers\",\n type: {\n name: \"String\"\n }\n },\n select: {\n serializedName: \"select\",\n type: {\n name: \"String\"\n }\n },\n skip: {\n serializedName: \"skip\",\n type: {\n name: \"Number\"\n }\n },\n top: {\n serializedName: \"top\",\n type: {\n name: \"Number\"\n }\n },\n captions: {\n serializedName: \"captions\",\n type: {\n name: \"String\"\n }\n },\n semanticFields: {\n serializedName: \"semanticFields\",\n type: {\n name: \"String\"\n }\n },\n vectors: {\n serializedName: \"vectors\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Vector\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const Vector: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Vector\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Number\"\n }\n }\n }\n },\n kNearestNeighborsCount: {\n serializedName: \"k\",\n type: {\n name: \"Number\"\n }\n },\n fields: {\n serializedName: \"fields\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SearchResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SearchResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n _score: {\n serializedName: \"@search\\\\.score\",\n required: true,\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n rerankerScore: {\n serializedName: \"@search\\\\.rerankerScore\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"Number\"\n }\n },\n _highlights: {\n serializedName: \"@search\\\\.highlights\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Sequence\", element: { type: { name: \"String\" } } }\n }\n }\n },\n captions: {\n serializedName: \"@search\\\\.captions\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CaptionResult\"\n }\n }\n }\n },\n documentDebugInfo: {\n serializedName: \"@search\\\\.documentDebugInfo\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentDebugInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const CaptionResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CaptionResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n text: {\n serializedName: \"text\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n highlights: {\n serializedName: \"highlights\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DocumentDebugInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DocumentDebugInfo\",\n modelProperties: {\n semantic: {\n serializedName: \"semantic\",\n type: {\n name: \"Composite\",\n className: \"SemanticDebugInfo\"\n }\n }\n }\n }\n};\n\nexport const SemanticDebugInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SemanticDebugInfo\",\n modelProperties: {\n titleField: {\n serializedName: \"titleField\",\n type: {\n name: \"Composite\",\n className: \"QueryResultDocumentSemanticField\"\n }\n },\n contentFields: {\n serializedName: \"contentFields\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"QueryResultDocumentSemanticField\"\n }\n }\n }\n },\n keywordFields: {\n serializedName: \"keywordFields\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"QueryResultDocumentSemanticField\"\n }\n }\n }\n },\n rerankerInput: {\n serializedName: \"rerankerInput\",\n type: {\n name: \"Composite\",\n className: \"QueryResultDocumentRerankerInput\"\n }\n }\n }\n }\n};\n\nexport const QueryResultDocumentSemanticField: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QueryResultDocumentSemanticField\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n state: {\n serializedName: \"state\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const QueryResultDocumentRerankerInput: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QueryResultDocumentRerankerInput\",\n modelProperties: {\n title: {\n serializedName: \"title\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n content: {\n serializedName: \"content\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n keywords: {\n serializedName: \"keywords\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SuggestDocumentsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SuggestDocumentsResult\",\n modelProperties: {\n results: {\n serializedName: \"value\",\n required: true,\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SuggestResult\"\n }\n }\n }\n },\n coverage: {\n serializedName: \"@search\\\\.coverage\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const SuggestResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SuggestResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n _text: {\n serializedName: \"@search\\\\.text\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SuggestRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SuggestRequest\",\n modelProperties: {\n filter: {\n serializedName: \"filter\",\n type: {\n name: \"String\"\n }\n },\n useFuzzyMatching: {\n serializedName: \"fuzzy\",\n type: {\n name: \"Boolean\"\n }\n },\n highlightPostTag: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n },\n highlightPreTag: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n },\n minimumCoverage: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n },\n orderBy: {\n serializedName: \"orderby\",\n type: {\n name: \"String\"\n }\n },\n searchText: {\n serializedName: \"search\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n searchFields: {\n serializedName: \"searchFields\",\n type: {\n name: \"String\"\n }\n },\n select: {\n serializedName: \"select\",\n type: {\n name: \"String\"\n }\n },\n suggesterName: {\n serializedName: \"suggesterName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n top: {\n serializedName: \"top\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const IndexBatch: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"IndexBatch\",\n modelProperties: {\n actions: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"IndexAction\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const IndexAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"IndexAction\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n __actionType: {\n serializedName: \"@search\\\\.action\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"upload\", \"merge\", \"mergeOrUpload\", \"delete\"]\n }\n }\n }\n }\n};\n\nexport const IndexDocumentsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"IndexDocumentsResult\",\n modelProperties: {\n results: {\n serializedName: \"value\",\n required: true,\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"IndexingResult\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const IndexingResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"IndexingResult\",\n modelProperties: {\n key: {\n serializedName: \"key\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n errorMessage: {\n serializedName: \"errorMessage\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n succeeded: {\n serializedName: \"status\",\n required: true,\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n statusCode: {\n serializedName: \"statusCode\",\n required: true,\n readOnly: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const AutocompleteResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AutocompleteResult\",\n modelProperties: {\n coverage: {\n serializedName: \"@search\\\\.coverage\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n results: {\n serializedName: \"value\",\n required: true,\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AutocompleteItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const AutocompleteItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AutocompleteItem\",\n modelProperties: {\n text: {\n serializedName: \"text\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n queryPlusText: {\n serializedName: \"queryPlusText\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AutocompleteRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AutocompleteRequest\",\n modelProperties: {\n searchText: {\n serializedName: \"search\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n autocompleteMode: {\n serializedName: \"autocompleteMode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"oneTerm\", \"twoTerms\", \"oneTermWithContext\"]\n }\n },\n filter: {\n serializedName: \"filter\",\n type: {\n name: \"String\"\n }\n },\n useFuzzyMatching: {\n serializedName: \"fuzzy\",\n type: {\n name: \"Boolean\"\n }\n },\n highlightPostTag: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n },\n highlightPreTag: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n },\n minimumCoverage: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n },\n searchFields: {\n serializedName: \"searchFields\",\n type: {\n name: \"String\"\n }\n },\n suggesterName: {\n serializedName: \"suggesterName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n top: {\n serializedName: \"top\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n"]}
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../../src/generated/data/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,WAAW,GAA+B;IACrD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,aAAa;QACxB,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,QAAQ,EAAE,IAAI;gBACd,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,aAAa;yBACzB;qBACF;iBACF;aACF;SACF;KACF;CAC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AQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,GAAG,EAAE;gBACH,cAAc,EAAE,KAAK;gBACrB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA+B;IACxD,cAAc,EAAE,QAAQ;IACxB,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,gBAAgB;QAC3B,UAAU,EAAE,aAAa;QACzB,wBAAwB,EAAE,WAAW,CAAC,IAAI,CAAC,wBAAwB;QACnE,eAAe,kCACV,WAAW,CAAC,IAAI,CAAC,eAAe,KACnC,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF,GACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAA+B;IAC/D,cAAc,EAAE,MAAM;IACtB,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,uBAAuB;QAClC,UAAU,EAAE,aAAa;QACzB,wBAAwB,EAAE,WAAW,CAAC,IAAI,CAAC,wBAAwB;QACnE,eAAe,kCACV,WAAW,CAAC,IAAI,CAAC,eAAe,KACnC,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,GACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,IAAI,cAAc,GAAG;IAC1B,WAAW,EAAE,WAAW;IACxB,oBAAoB,EAAE,cAAc;IACpC,kBAAkB,EAAE,qBAAqB;CAC1C,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const SearchError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SearchError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SearchError\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SearchDocumentsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SearchDocumentsResult\",\n modelProperties: {\n count: {\n serializedName: \"@odata\\\\.count\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n coverage: {\n serializedName: \"@search\\\\.coverage\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n facets: {\n serializedName: \"@search\\\\.facets\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: {\n type: {\n name: \"Sequence\",\n element: { type: { name: \"Composite\", className: \"FacetResult\" } }\n }\n }\n }\n },\n answers: {\n serializedName: \"@search\\\\.answers\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AnswerResult\"\n }\n }\n }\n },\n nextPageParameters: {\n serializedName: \"@search\\\\.nextPageParameters\",\n type: {\n name: \"Composite\",\n className: \"SearchRequest\"\n }\n },\n semanticPartialResponseReason: {\n serializedName: \"@search\\\\.semanticPartialResponseReason\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n semanticPartialResponseType: {\n serializedName: \"@search\\\\.semanticPartialResponseType\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n results: {\n serializedName: \"value\",\n required: true,\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SearchResult\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@odata\\\\.nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const FacetResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FacetResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n count: {\n serializedName: \"count\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const AnswerResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnswerResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n score: {\n serializedName: \"score\",\n required: true,\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n key: {\n serializedName: \"key\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n text: {\n serializedName: \"text\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n highlights: {\n serializedName: \"highlights\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SearchRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SearchRequest\",\n modelProperties: {\n includeTotalResultCount: {\n serializedName: \"count\",\n type: {\n name: \"Boolean\"\n }\n },\n facets: {\n serializedName: \"facets\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n filter: {\n serializedName: \"filter\",\n type: {\n name: \"String\"\n }\n },\n highlightFields: {\n serializedName: \"highlight\",\n type: {\n name: \"String\"\n }\n },\n highlightPostTag: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n },\n highlightPreTag: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n },\n minimumCoverage: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n },\n orderBy: {\n serializedName: \"orderby\",\n type: {\n name: \"String\"\n }\n },\n queryType: {\n serializedName: \"queryType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"simple\", \"full\", \"semantic\"]\n }\n },\n scoringStatistics: {\n serializedName: \"scoringStatistics\",\n type: {\n name: \"Enum\",\n allowedValues: [\"local\", \"global\"]\n }\n },\n sessionId: {\n serializedName: \"sessionId\",\n type: {\n name: \"String\"\n }\n },\n scoringParameters: {\n serializedName: \"scoringParameters\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n scoringProfile: {\n serializedName: \"scoringProfile\",\n type: {\n name: \"String\"\n }\n },\n semanticQuery: {\n serializedName: \"semanticQuery\",\n type: {\n name: \"String\"\n }\n },\n semanticConfiguration: {\n serializedName: \"semanticConfiguration\",\n type: {\n name: \"String\"\n }\n },\n semanticErrorHandling: {\n serializedName: \"semanticErrorHandling\",\n type: {\n name: \"String\"\n }\n },\n semanticMaxWaitInMilliseconds: {\n constraints: {\n InclusiveMinimum: 700\n },\n serializedName: \"semanticMaxWaitInMilliseconds\",\n nullable: true,\n type: {\n name: \"Number\"\n }\n },\n debug: {\n serializedName: \"debug\",\n type: {\n name: \"String\"\n }\n },\n searchText: {\n serializedName: \"search\",\n type: {\n name: \"String\"\n }\n },\n searchFields: {\n serializedName: \"searchFields\",\n type: {\n name: \"String\"\n }\n },\n searchMode: {\n serializedName: \"searchMode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"any\", \"all\"]\n }\n },\n queryLanguage: {\n serializedName: \"queryLanguage\",\n type: {\n name: \"String\"\n }\n },\n speller: {\n serializedName: \"speller\",\n type: {\n name: \"String\"\n }\n },\n answers: {\n serializedName: \"answers\",\n type: {\n name: \"String\"\n }\n },\n select: {\n serializedName: \"select\",\n type: {\n name: \"String\"\n }\n },\n skip: {\n serializedName: \"skip\",\n type: {\n name: \"Number\"\n }\n },\n top: {\n serializedName: \"top\",\n type: {\n name: \"Number\"\n }\n },\n captions: {\n serializedName: \"captions\",\n type: {\n name: \"String\"\n }\n },\n semanticFields: {\n serializedName: \"semanticFields\",\n type: {\n name: \"String\"\n }\n },\n vectorQueries: {\n serializedName: \"vectorQueries\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"VectorQuery\"\n }\n }\n }\n },\n vectorFilterMode: {\n serializedName: \"vectorFilterMode\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const VectorQuery: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VectorQuery\",\n uberParent: \"VectorQuery\",\n polymorphicDiscriminator: {\n serializedName: \"kind\",\n clientName: \"kind\"\n },\n modelProperties: {\n kind: {\n serializedName: \"kind\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n kNearestNeighborsCount: {\n serializedName: \"k\",\n type: {\n name: \"Number\"\n }\n },\n fields: {\n serializedName: \"fields\",\n type: {\n name: \"String\"\n }\n },\n exhaustive: {\n serializedName: \"exhaustive\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const SearchResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SearchResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n _score: {\n serializedName: \"@search\\\\.score\",\n required: true,\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n rerankerScore: {\n serializedName: \"@search\\\\.rerankerScore\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"Number\"\n }\n },\n _highlights: {\n serializedName: \"@search\\\\.highlights\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Sequence\", element: { type: { name: \"String\" } } }\n }\n }\n },\n captions: {\n serializedName: \"@search\\\\.captions\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CaptionResult\"\n }\n }\n }\n },\n documentDebugInfo: {\n serializedName: \"@search\\\\.documentDebugInfo\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"DocumentDebugInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const CaptionResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CaptionResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n text: {\n serializedName: \"text\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n highlights: {\n serializedName: \"highlights\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const DocumentDebugInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"DocumentDebugInfo\",\n modelProperties: {\n semantic: {\n serializedName: \"semantic\",\n type: {\n name: \"Composite\",\n className: \"SemanticDebugInfo\"\n }\n }\n }\n }\n};\n\nexport const SemanticDebugInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SemanticDebugInfo\",\n modelProperties: {\n titleField: {\n serializedName: \"titleField\",\n type: {\n name: \"Composite\",\n className: \"QueryResultDocumentSemanticField\"\n }\n },\n contentFields: {\n serializedName: \"contentFields\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"QueryResultDocumentSemanticField\"\n }\n }\n }\n },\n keywordFields: {\n serializedName: \"keywordFields\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"QueryResultDocumentSemanticField\"\n }\n }\n }\n },\n rerankerInput: {\n serializedName: \"rerankerInput\",\n type: {\n name: \"Composite\",\n className: \"QueryResultDocumentRerankerInput\"\n }\n }\n }\n }\n};\n\nexport const QueryResultDocumentSemanticField: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QueryResultDocumentSemanticField\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n state: {\n serializedName: \"state\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const QueryResultDocumentRerankerInput: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QueryResultDocumentRerankerInput\",\n modelProperties: {\n title: {\n serializedName: \"title\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n content: {\n serializedName: \"content\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n keywords: {\n serializedName: \"keywords\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SuggestDocumentsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SuggestDocumentsResult\",\n modelProperties: {\n results: {\n serializedName: \"value\",\n required: true,\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SuggestResult\"\n }\n }\n }\n },\n coverage: {\n serializedName: \"@search\\\\.coverage\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const SuggestResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SuggestResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n _text: {\n serializedName: \"@search\\\\.text\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SuggestRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SuggestRequest\",\n modelProperties: {\n filter: {\n serializedName: \"filter\",\n type: {\n name: \"String\"\n }\n },\n useFuzzyMatching: {\n serializedName: \"fuzzy\",\n type: {\n name: \"Boolean\"\n }\n },\n highlightPostTag: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n },\n highlightPreTag: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n },\n minimumCoverage: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n },\n orderBy: {\n serializedName: \"orderby\",\n type: {\n name: \"String\"\n }\n },\n searchText: {\n serializedName: \"search\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n searchFields: {\n serializedName: \"searchFields\",\n type: {\n name: \"String\"\n }\n },\n select: {\n serializedName: \"select\",\n type: {\n name: \"String\"\n }\n },\n suggesterName: {\n serializedName: \"suggesterName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n top: {\n serializedName: \"top\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const IndexBatch: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"IndexBatch\",\n modelProperties: {\n actions: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"IndexAction\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const IndexAction: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"IndexAction\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n __actionType: {\n serializedName: \"@search\\\\.action\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"upload\", \"merge\", \"mergeOrUpload\", \"delete\"]\n }\n }\n }\n }\n};\n\nexport const IndexDocumentsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"IndexDocumentsResult\",\n modelProperties: {\n results: {\n serializedName: \"value\",\n required: true,\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"IndexingResult\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const IndexingResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"IndexingResult\",\n modelProperties: {\n key: {\n serializedName: \"key\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n errorMessage: {\n serializedName: \"errorMessage\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n succeeded: {\n serializedName: \"status\",\n required: true,\n readOnly: true,\n type: {\n name: \"Boolean\"\n }\n },\n statusCode: {\n serializedName: \"statusCode\",\n required: true,\n readOnly: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const AutocompleteResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AutocompleteResult\",\n modelProperties: {\n coverage: {\n serializedName: \"@search\\\\.coverage\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n results: {\n serializedName: \"value\",\n required: true,\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AutocompleteItem\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const AutocompleteItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AutocompleteItem\",\n modelProperties: {\n text: {\n serializedName: \"text\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n queryPlusText: {\n serializedName: \"queryPlusText\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const AutocompleteRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AutocompleteRequest\",\n modelProperties: {\n searchText: {\n serializedName: \"search\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n autocompleteMode: {\n serializedName: \"autocompleteMode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"oneTerm\", \"twoTerms\", \"oneTermWithContext\"]\n }\n },\n filter: {\n serializedName: \"filter\",\n type: {\n name: \"String\"\n }\n },\n useFuzzyMatching: {\n serializedName: \"fuzzy\",\n type: {\n name: \"Boolean\"\n }\n },\n highlightPostTag: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n },\n highlightPreTag: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n },\n minimumCoverage: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n },\n searchFields: {\n serializedName: \"searchFields\",\n type: {\n name: \"String\"\n }\n },\n suggesterName: {\n serializedName: \"suggesterName\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n top: {\n serializedName: \"top\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const RawVectorQuery: coreClient.CompositeMapper = {\n serializedName: \"vector\",\n type: {\n name: \"Composite\",\n className: \"RawVectorQuery\",\n uberParent: \"VectorQuery\",\n polymorphicDiscriminator: VectorQuery.type.polymorphicDiscriminator,\n modelProperties: {\n ...VectorQuery.type.modelProperties,\n vector: {\n serializedName: \"vector\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Number\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const VectorizableTextQuery: coreClient.CompositeMapper = {\n serializedName: \"text\",\n type: {\n name: \"Composite\",\n className: \"VectorizableTextQuery\",\n uberParent: \"VectorQuery\",\n polymorphicDiscriminator: VectorQuery.type.polymorphicDiscriminator,\n modelProperties: {\n ...VectorQuery.type.modelProperties,\n text: {\n serializedName: \"text\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport let discriminators = {\n VectorQuery: VectorQuery,\n \"VectorQuery.vector\": RawVectorQuery,\n \"VectorQuery.text\": VectorizableTextQuery\n};\n"]}
@@ -181,6 +181,15 @@ export const scoringProfile = {
181
181
  }
182
182
  }
183
183
  };
184
+ export const semanticQuery = {
185
+ parameterPath: ["options", "searchOptions", "semanticQuery"],
186
+ mapper: {
187
+ serializedName: "semanticQuery",
188
+ type: {
189
+ name: "String"
190
+ }
191
+ }
192
+ };
184
193
  export const semanticConfiguration = {
185
194
  parameterPath: ["options", "searchOptions", "semanticConfiguration"],
186
195
  mapper: {
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/data/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,aAAa,IAAI,mBAAmB,EACpC,cAAc,IAAI,oBAAoB,EACtC,UAAU,IAAI,gBAAgB,EAC9B,mBAAmB,IAAI,yBAAyB,EACjD,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB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aAAa,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,cAAc,CAAC;IACjE,MAAM,EAAE;QACN,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;IACD,gBAAgB,EAAE,KAAK;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAA4B;IAC3C,aAAa,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,KAAK,CAAC;IACxD,MAAM,EAAE;QACN,cAAc,EAAE,MAAM;QACtB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAuB;IACrD,aAAa,EAAE,qBAAqB;IACpC,MAAM,EAAE,yBAAyB;CAClC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n SearchRequest as SearchRequestMapper,\n SuggestRequest as SuggestRequestMapper,\n IndexBatch as IndexBatchMapper,\n AutocompleteRequest as AutocompleteRequestMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const indexName: OperationURLParameter = {\n parameterPath: \"indexName\",\n mapper: {\n serializedName: \"indexName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n serializedName: \"api-version\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchText: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchText\"],\n mapper: {\n serializedName: \"search\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const includeTotalResultCount: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"includeTotalResultCount\"],\n mapper: {\n serializedName: \"$count\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const facets: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"facets\"],\n mapper: {\n serializedName: \"facet\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const highlightFields: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"highlightFields\"],\n mapper: {\n serializedName: \"highlight\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const highlightPostTag: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"highlightPostTag\"],\n mapper: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const highlightPreTag: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"highlightPreTag\"],\n mapper: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const minimumCoverage: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"minimumCoverage\"],\n mapper: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const orderBy: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"orderBy\"],\n mapper: {\n serializedName: \"$orderby\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const queryType: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"queryType\"],\n mapper: {\n serializedName: \"queryType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"simple\", \"full\", \"semantic\"]\n }\n }\n};\n\nexport const scoringParameters: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"scoringParameters\"],\n mapper: {\n serializedName: \"scoringParameter\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const scoringProfile: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"scoringProfile\"],\n mapper: {\n serializedName: \"scoringProfile\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const semanticConfiguration: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"semanticConfiguration\"],\n mapper: {\n serializedName: \"semanticConfiguration\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const semanticErrorHandling: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"semanticErrorHandling\"],\n mapper: {\n serializedName: \"semanticErrorHandling\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const semanticMaxWaitInMilliseconds: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"semanticMaxWaitInMilliseconds\"],\n mapper: {\n constraints: {\n InclusiveMinimum: 700\n },\n serializedName: \"semanticMaxWaitInMilliseconds\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const debug: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"debug\"],\n mapper: {\n serializedName: \"debug\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchFields: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"searchFields\"],\n mapper: {\n serializedName: \"searchFields\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const queryLanguage: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"queryLanguage\"],\n mapper: {\n serializedName: \"queryLanguage\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const speller: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"speller\"],\n mapper: {\n serializedName: \"speller\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const answers: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"answers\"],\n mapper: {\n serializedName: \"answers\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchMode: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"searchMode\"],\n mapper: {\n serializedName: \"searchMode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"any\", \"all\"]\n }\n }\n};\n\nexport const scoringStatistics: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"scoringStatistics\"],\n mapper: {\n serializedName: \"scoringStatistics\",\n type: {\n name: \"Enum\",\n allowedValues: [\"local\", \"global\"]\n }\n }\n};\n\nexport const sessionId: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"sessionId\"],\n mapper: {\n serializedName: \"sessionId\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const select: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"select\"],\n mapper: {\n serializedName: \"$select\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"skip\"],\n mapper: {\n serializedName: \"$skip\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const captions: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"captions\"],\n mapper: {\n serializedName: \"captions\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const semanticFields: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"semanticFields\"],\n mapper: {\n serializedName: \"semanticFields\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchRequest: OperationParameter = {\n parameterPath: \"searchRequest\",\n mapper: SearchRequestMapper\n};\n\nexport const key: OperationURLParameter = {\n parameterPath: \"key\",\n mapper: {\n serializedName: \"key\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const selectedFields: OperationQueryParameter = {\n parameterPath: [\"options\", \"selectedFields\"],\n mapper: {\n serializedName: \"$select\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const searchText1: OperationQueryParameter = {\n parameterPath: \"searchText\",\n mapper: {\n serializedName: \"search\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const suggesterName: OperationQueryParameter = {\n parameterPath: \"suggesterName\",\n mapper: {\n serializedName: \"suggesterName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const filter1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const useFuzzyMatching: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"useFuzzyMatching\"],\n mapper: {\n serializedName: \"fuzzy\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const highlightPostTag1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"highlightPostTag\"],\n mapper: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const highlightPreTag1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"highlightPreTag\"],\n mapper: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const minimumCoverage1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"minimumCoverage\"],\n mapper: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const orderBy1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"orderBy\"],\n mapper: {\n serializedName: \"$orderby\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const searchFields1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"searchFields\"],\n mapper: {\n serializedName: \"searchFields\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const select1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"select\"],\n mapper: {\n serializedName: \"$select\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const top1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const suggestRequest: OperationParameter = {\n parameterPath: \"suggestRequest\",\n mapper: SuggestRequestMapper\n};\n\nexport const batch: OperationParameter = {\n parameterPath: \"batch\",\n mapper: IndexBatchMapper\n};\n\nexport const autocompleteMode: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"autocompleteMode\"],\n mapper: {\n serializedName: \"autocompleteMode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"oneTerm\", \"twoTerms\", \"oneTermWithContext\"]\n }\n }\n};\n\nexport const filter2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const useFuzzyMatching1: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"useFuzzyMatching\"],\n mapper: {\n serializedName: \"fuzzy\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const highlightPostTag2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"highlightPostTag\"],\n mapper: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const highlightPreTag2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"highlightPreTag\"],\n mapper: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const minimumCoverage2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"minimumCoverage\"],\n mapper: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const searchFields2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"searchFields\"],\n mapper: {\n serializedName: \"searchFields\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const top2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const autocompleteRequest: OperationParameter = {\n parameterPath: \"autocompleteRequest\",\n mapper: AutocompleteRequestMapper\n};\n"]}
1
+ {"version":3,"file":"parameters.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,EAAE;QACN,cAAc,EAAE,kBAAkB;QAClC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA4B;IACvD,aAAa,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,iBAAiB,CAAC;IACpE,MAAM,EAAE;QACN,cAAc,EAAE,iBAAiB;QACjC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAA4B;IACvD,aAAa,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,iBAAiB,CAAC;IACpE,MAAM,EAAE;QACN,cAAc,EAAE,iBAAiB;QACjC,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA4B;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,cAAc,CAAC;IACjE,MAAM,EAAE;QACN,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;IACD,gBAAgB,EAAE,KAAK;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAA4B;IAC3C,aAAa,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,KAAK,CAAC;IACxD,MAAM,EAAE;QACN,cAAc,EAAE,MAAM;QACtB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAuB;IACrD,aAAa,EAAE,qBAAqB;IACpC,MAAM,EAAE,yBAAyB;CAClC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n SearchRequest as SearchRequestMapper,\n SuggestRequest as SuggestRequestMapper,\n IndexBatch as IndexBatchMapper,\n AutocompleteRequest as AutocompleteRequestMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const indexName: OperationURLParameter = {\n parameterPath: \"indexName\",\n mapper: {\n serializedName: \"indexName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n serializedName: \"api-version\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchText: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchText\"],\n mapper: {\n serializedName: \"search\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const includeTotalResultCount: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"includeTotalResultCount\"],\n mapper: {\n serializedName: \"$count\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const facets: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"facets\"],\n mapper: {\n serializedName: \"facet\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const highlightFields: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"highlightFields\"],\n mapper: {\n serializedName: \"highlight\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const highlightPostTag: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"highlightPostTag\"],\n mapper: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const highlightPreTag: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"highlightPreTag\"],\n mapper: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const minimumCoverage: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"minimumCoverage\"],\n mapper: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const orderBy: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"orderBy\"],\n mapper: {\n serializedName: \"$orderby\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const queryType: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"queryType\"],\n mapper: {\n serializedName: \"queryType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"simple\", \"full\", \"semantic\"]\n }\n }\n};\n\nexport const scoringParameters: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"scoringParameters\"],\n mapper: {\n serializedName: \"scoringParameter\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const scoringProfile: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"scoringProfile\"],\n mapper: {\n serializedName: \"scoringProfile\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const semanticQuery: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"semanticQuery\"],\n mapper: {\n serializedName: \"semanticQuery\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const semanticConfiguration: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"semanticConfiguration\"],\n mapper: {\n serializedName: \"semanticConfiguration\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const semanticErrorHandling: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"semanticErrorHandling\"],\n mapper: {\n serializedName: \"semanticErrorHandling\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const semanticMaxWaitInMilliseconds: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"semanticMaxWaitInMilliseconds\"],\n mapper: {\n constraints: {\n InclusiveMinimum: 700\n },\n serializedName: \"semanticMaxWaitInMilliseconds\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const debug: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"debug\"],\n mapper: {\n serializedName: \"debug\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchFields: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"searchFields\"],\n mapper: {\n serializedName: \"searchFields\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const queryLanguage: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"queryLanguage\"],\n mapper: {\n serializedName: \"queryLanguage\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const speller: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"speller\"],\n mapper: {\n serializedName: \"speller\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const answers: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"answers\"],\n mapper: {\n serializedName: \"answers\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchMode: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"searchMode\"],\n mapper: {\n serializedName: \"searchMode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"any\", \"all\"]\n }\n }\n};\n\nexport const scoringStatistics: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"scoringStatistics\"],\n mapper: {\n serializedName: \"scoringStatistics\",\n type: {\n name: \"Enum\",\n allowedValues: [\"local\", \"global\"]\n }\n }\n};\n\nexport const sessionId: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"sessionId\"],\n mapper: {\n serializedName: \"sessionId\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const select: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"select\"],\n mapper: {\n serializedName: \"$select\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"skip\"],\n mapper: {\n serializedName: \"$skip\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const captions: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"captions\"],\n mapper: {\n serializedName: \"captions\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const semanticFields: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"semanticFields\"],\n mapper: {\n serializedName: \"semanticFields\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchRequest: OperationParameter = {\n parameterPath: \"searchRequest\",\n mapper: SearchRequestMapper\n};\n\nexport const key: OperationURLParameter = {\n parameterPath: \"key\",\n mapper: {\n serializedName: \"key\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const selectedFields: OperationQueryParameter = {\n parameterPath: [\"options\", \"selectedFields\"],\n mapper: {\n serializedName: \"$select\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const searchText1: OperationQueryParameter = {\n parameterPath: \"searchText\",\n mapper: {\n serializedName: \"search\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const suggesterName: OperationQueryParameter = {\n parameterPath: \"suggesterName\",\n mapper: {\n serializedName: \"suggesterName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const filter1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const useFuzzyMatching: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"useFuzzyMatching\"],\n mapper: {\n serializedName: \"fuzzy\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const highlightPostTag1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"highlightPostTag\"],\n mapper: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const highlightPreTag1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"highlightPreTag\"],\n mapper: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const minimumCoverage1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"minimumCoverage\"],\n mapper: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const orderBy1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"orderBy\"],\n mapper: {\n serializedName: \"$orderby\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const searchFields1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"searchFields\"],\n mapper: {\n serializedName: \"searchFields\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const select1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"select\"],\n mapper: {\n serializedName: \"$select\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const top1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const suggestRequest: OperationParameter = {\n parameterPath: \"suggestRequest\",\n mapper: SuggestRequestMapper\n};\n\nexport const batch: OperationParameter = {\n parameterPath: \"batch\",\n mapper: IndexBatchMapper\n};\n\nexport const autocompleteMode: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"autocompleteMode\"],\n mapper: {\n serializedName: \"autocompleteMode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"oneTerm\", \"twoTerms\", \"oneTermWithContext\"]\n }\n }\n};\n\nexport const filter2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const useFuzzyMatching1: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"useFuzzyMatching\"],\n mapper: {\n serializedName: \"fuzzy\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const highlightPostTag2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"highlightPostTag\"],\n mapper: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const highlightPreTag2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"highlightPreTag\"],\n mapper: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const minimumCoverage2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"minimumCoverage\"],\n mapper: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const searchFields2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"searchFields\"],\n mapper: {\n serializedName: \"searchFields\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const top2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const autocompleteRequest: OperationParameter = {\n parameterPath: \"autocompleteRequest\",\n mapper: AutocompleteRequestMapper\n};\n"]}
@@ -136,6 +136,7 @@ const searchGetOperationSpec = {
136
136
  Parameters.queryType,
137
137
  Parameters.scoringParameters,
138
138
  Parameters.scoringProfile,
139
+ Parameters.semanticQuery,
139
140
  Parameters.semanticConfiguration,
140
141
  Parameters.semanticErrorHandling,
141
142
  Parameters.semanticMaxWaitInMilliseconds,
@@ -1 +1 @@
1
- {"version":3,"file":"documents.js","sourceRoot":"","sources":["../../../../../src/generated/data/operations/documents.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AA2BnD,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAoB;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC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AE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,IAAI;KAChB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,SAAS,CAAC;IAC1D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EAAE,gCAAgC;IACtC,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,mBAAmB;IAC3C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,SAAS,CAAC;IAC1D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { Documents } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { SearchClient } from \"../searchClient\";\nimport {\n DocumentsCountOptionalParams,\n DocumentsCountResponse,\n DocumentsSearchGetOptionalParams,\n DocumentsSearchGetResponse,\n SearchRequest,\n DocumentsSearchPostOptionalParams,\n DocumentsSearchPostResponse,\n DocumentsGetOptionalParams,\n DocumentsGetResponse,\n DocumentsSuggestGetOptionalParams,\n DocumentsSuggestGetResponse,\n SuggestRequest,\n DocumentsSuggestPostOptionalParams,\n DocumentsSuggestPostResponse,\n IndexBatch,\n DocumentsIndexOptionalParams,\n DocumentsIndexResponse,\n DocumentsAutocompleteGetOptionalParams,\n DocumentsAutocompleteGetResponse,\n AutocompleteRequest,\n DocumentsAutocompletePostOptionalParams,\n DocumentsAutocompletePostResponse\n} from \"../models\";\n\n/** Class containing Documents operations. */\nexport class DocumentsImpl implements Documents {\n private readonly client: SearchClient;\n\n /**\n * Initialize a new instance of the class Documents class.\n * @param client Reference to the service client\n */\n constructor(client: SearchClient) {\n this.client = client;\n }\n\n /**\n * Queries the number of documents in the index.\n * @param options The options parameters.\n */\n count(\n options?: DocumentsCountOptionalParams\n ): Promise<DocumentsCountResponse> {\n return this.client.sendOperationRequest({ options }, countOperationSpec);\n }\n\n /**\n * Searches for documents in the index.\n * @param options The options parameters.\n */\n searchGet(\n options?: DocumentsSearchGetOptionalParams\n ): Promise<DocumentsSearchGetResponse> {\n return this.client.sendOperationRequest(\n { options },\n searchGetOperationSpec\n );\n }\n\n /**\n * Searches for documents in the index.\n * @param searchRequest The definition of the Search request.\n * @param options The options parameters.\n */\n searchPost(\n searchRequest: SearchRequest,\n options?: DocumentsSearchPostOptionalParams\n ): Promise<DocumentsSearchPostResponse> {\n return this.client.sendOperationRequest(\n { searchRequest, options },\n searchPostOperationSpec\n );\n }\n\n /**\n * Retrieves a document from the index.\n * @param key The key of the document to retrieve.\n * @param options The options parameters.\n */\n get(\n key: string,\n options?: DocumentsGetOptionalParams\n ): Promise<DocumentsGetResponse> {\n return this.client.sendOperationRequest({ key, options }, getOperationSpec);\n }\n\n /**\n * Suggests documents in the index that match the given partial query text.\n * @param searchText The search text to use to suggest documents. Must be at least 1 character, and no\n * more than 100 characters.\n * @param suggesterName The name of the suggester as specified in the suggesters collection that's part\n * of the index definition.\n * @param options The options parameters.\n */\n suggestGet(\n searchText: string,\n suggesterName: string,\n options?: DocumentsSuggestGetOptionalParams\n ): Promise<DocumentsSuggestGetResponse> {\n return this.client.sendOperationRequest(\n { searchText, suggesterName, options },\n suggestGetOperationSpec\n );\n }\n\n /**\n * Suggests documents in the index that match the given partial query text.\n * @param suggestRequest The Suggest request.\n * @param options The options parameters.\n */\n suggestPost(\n suggestRequest: SuggestRequest,\n options?: DocumentsSuggestPostOptionalParams\n ): Promise<DocumentsSuggestPostResponse> {\n return this.client.sendOperationRequest(\n { suggestRequest, options },\n suggestPostOperationSpec\n );\n }\n\n /**\n * Sends a batch of document write actions to the index.\n * @param batch The batch of index actions.\n * @param options The options parameters.\n */\n index(\n batch: IndexBatch,\n options?: DocumentsIndexOptionalParams\n ): Promise<DocumentsIndexResponse> {\n return this.client.sendOperationRequest(\n { batch, options },\n indexOperationSpec\n );\n }\n\n /**\n * Autocompletes incomplete query terms based on input text and matching terms in the index.\n * @param searchText The incomplete term which should be auto-completed.\n * @param suggesterName The name of the suggester as specified in the suggesters collection that's part\n * of the index definition.\n * @param options The options parameters.\n */\n autocompleteGet(\n searchText: string,\n suggesterName: string,\n options?: DocumentsAutocompleteGetOptionalParams\n ): Promise<DocumentsAutocompleteGetResponse> {\n return this.client.sendOperationRequest(\n { searchText, suggesterName, options },\n autocompleteGetOperationSpec\n );\n }\n\n /**\n * Autocompletes incomplete query terms based on input text and matching terms in the index.\n * @param autocompleteRequest The definition of the Autocomplete request.\n * @param options The options parameters.\n */\n autocompletePost(\n autocompleteRequest: AutocompleteRequest,\n options?: DocumentsAutocompletePostOptionalParams\n ): Promise<DocumentsAutocompletePostResponse> {\n return this.client.sendOperationRequest(\n { autocompleteRequest, options },\n autocompletePostOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst countOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/$count\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: { type: { name: \"Number\" } }\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst searchGetOperationSpec: coreClient.OperationSpec = {\n path: \"/docs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchDocumentsResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.searchText,\n Parameters.includeTotalResultCount,\n Parameters.facets,\n Parameters.filter,\n Parameters.highlightFields,\n Parameters.highlightPostTag,\n Parameters.highlightPreTag,\n Parameters.minimumCoverage,\n Parameters.orderBy,\n Parameters.queryType,\n Parameters.scoringParameters,\n Parameters.scoringProfile,\n Parameters.semanticConfiguration,\n Parameters.semanticErrorHandling,\n Parameters.semanticMaxWaitInMilliseconds,\n Parameters.debug,\n Parameters.searchFields,\n Parameters.queryLanguage,\n Parameters.speller,\n Parameters.answers,\n Parameters.searchMode,\n Parameters.scoringStatistics,\n Parameters.sessionId,\n Parameters.select,\n Parameters.skip,\n Parameters.top,\n Parameters.captions,\n Parameters.semanticFields\n ],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst searchPostOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/search.post.search\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchDocumentsResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n requestBody: Parameters.searchRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/docs('{key}')\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n }\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.selectedFields],\n urlParameters: [Parameters.endpoint, Parameters.indexName, Parameters.key],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst suggestGetOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/search.suggest\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SuggestDocumentsResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.searchText1,\n Parameters.suggesterName,\n Parameters.filter1,\n Parameters.useFuzzyMatching,\n Parameters.highlightPostTag1,\n Parameters.highlightPreTag1,\n Parameters.minimumCoverage1,\n Parameters.orderBy1,\n Parameters.searchFields1,\n Parameters.select1,\n Parameters.top1\n ],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst suggestPostOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/search.post.suggest\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SuggestDocumentsResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n requestBody: Parameters.suggestRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst indexOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/search.index\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IndexDocumentsResult\n },\n 207: {\n bodyMapper: Mappers.IndexDocumentsResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n requestBody: Parameters.batch,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst autocompleteGetOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/search.autocomplete\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutocompleteResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.searchText1,\n Parameters.suggesterName,\n Parameters.autocompleteMode,\n Parameters.filter2,\n Parameters.useFuzzyMatching1,\n Parameters.highlightPostTag2,\n Parameters.highlightPreTag2,\n Parameters.minimumCoverage2,\n Parameters.searchFields2,\n Parameters.top2\n ],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst autocompletePostOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/search.post.autocomplete\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutocompleteResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n requestBody: Parameters.autocompleteRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
1
+ {"version":3,"file":"documents.js","sourceRoot":"","sources":["../../../../../src/generated/data/operations/documents.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AA2BnD,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAoB;QAC9B,IAAI,CAAC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AAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,IAAI;KAChB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,SAAS,CAAC;IAC1D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EAAE,gCAAgC;IACtC,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,mBAAmB;IAC3C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,SAAS,CAAC;IAC1D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { Documents } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { SearchClient } from \"../searchClient\";\nimport {\n DocumentsCountOptionalParams,\n DocumentsCountResponse,\n DocumentsSearchGetOptionalParams,\n DocumentsSearchGetResponse,\n SearchRequest,\n DocumentsSearchPostOptionalParams,\n DocumentsSearchPostResponse,\n DocumentsGetOptionalParams,\n DocumentsGetResponse,\n DocumentsSuggestGetOptionalParams,\n DocumentsSuggestGetResponse,\n SuggestRequest,\n DocumentsSuggestPostOptionalParams,\n DocumentsSuggestPostResponse,\n IndexBatch,\n DocumentsIndexOptionalParams,\n DocumentsIndexResponse,\n DocumentsAutocompleteGetOptionalParams,\n DocumentsAutocompleteGetResponse,\n AutocompleteRequest,\n DocumentsAutocompletePostOptionalParams,\n DocumentsAutocompletePostResponse\n} from \"../models\";\n\n/** Class containing Documents operations. */\nexport class DocumentsImpl implements Documents {\n private readonly client: SearchClient;\n\n /**\n * Initialize a new instance of the class Documents class.\n * @param client Reference to the service client\n */\n constructor(client: SearchClient) {\n this.client = client;\n }\n\n /**\n * Queries the number of documents in the index.\n * @param options The options parameters.\n */\n count(\n options?: DocumentsCountOptionalParams\n ): Promise<DocumentsCountResponse> {\n return this.client.sendOperationRequest({ options }, countOperationSpec);\n }\n\n /**\n * Searches for documents in the index.\n * @param options The options parameters.\n */\n searchGet(\n options?: DocumentsSearchGetOptionalParams\n ): Promise<DocumentsSearchGetResponse> {\n return this.client.sendOperationRequest(\n { options },\n searchGetOperationSpec\n );\n }\n\n /**\n * Searches for documents in the index.\n * @param searchRequest The definition of the Search request.\n * @param options The options parameters.\n */\n searchPost(\n searchRequest: SearchRequest,\n options?: DocumentsSearchPostOptionalParams\n ): Promise<DocumentsSearchPostResponse> {\n return this.client.sendOperationRequest(\n { searchRequest, options },\n searchPostOperationSpec\n );\n }\n\n /**\n * Retrieves a document from the index.\n * @param key The key of the document to retrieve.\n * @param options The options parameters.\n */\n get(\n key: string,\n options?: DocumentsGetOptionalParams\n ): Promise<DocumentsGetResponse> {\n return this.client.sendOperationRequest({ key, options }, getOperationSpec);\n }\n\n /**\n * Suggests documents in the index that match the given partial query text.\n * @param searchText The search text to use to suggest documents. Must be at least 1 character, and no\n * more than 100 characters.\n * @param suggesterName The name of the suggester as specified in the suggesters collection that's part\n * of the index definition.\n * @param options The options parameters.\n */\n suggestGet(\n searchText: string,\n suggesterName: string,\n options?: DocumentsSuggestGetOptionalParams\n ): Promise<DocumentsSuggestGetResponse> {\n return this.client.sendOperationRequest(\n { searchText, suggesterName, options },\n suggestGetOperationSpec\n );\n }\n\n /**\n * Suggests documents in the index that match the given partial query text.\n * @param suggestRequest The Suggest request.\n * @param options The options parameters.\n */\n suggestPost(\n suggestRequest: SuggestRequest,\n options?: DocumentsSuggestPostOptionalParams\n ): Promise<DocumentsSuggestPostResponse> {\n return this.client.sendOperationRequest(\n { suggestRequest, options },\n suggestPostOperationSpec\n );\n }\n\n /**\n * Sends a batch of document write actions to the index.\n * @param batch The batch of index actions.\n * @param options The options parameters.\n */\n index(\n batch: IndexBatch,\n options?: DocumentsIndexOptionalParams\n ): Promise<DocumentsIndexResponse> {\n return this.client.sendOperationRequest(\n { batch, options },\n indexOperationSpec\n );\n }\n\n /**\n * Autocompletes incomplete query terms based on input text and matching terms in the index.\n * @param searchText The incomplete term which should be auto-completed.\n * @param suggesterName The name of the suggester as specified in the suggesters collection that's part\n * of the index definition.\n * @param options The options parameters.\n */\n autocompleteGet(\n searchText: string,\n suggesterName: string,\n options?: DocumentsAutocompleteGetOptionalParams\n ): Promise<DocumentsAutocompleteGetResponse> {\n return this.client.sendOperationRequest(\n { searchText, suggesterName, options },\n autocompleteGetOperationSpec\n );\n }\n\n /**\n * Autocompletes incomplete query terms based on input text and matching terms in the index.\n * @param autocompleteRequest The definition of the Autocomplete request.\n * @param options The options parameters.\n */\n autocompletePost(\n autocompleteRequest: AutocompleteRequest,\n options?: DocumentsAutocompletePostOptionalParams\n ): Promise<DocumentsAutocompletePostResponse> {\n return this.client.sendOperationRequest(\n { autocompleteRequest, options },\n autocompletePostOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst countOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/$count\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: { type: { name: \"Number\" } }\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst searchGetOperationSpec: coreClient.OperationSpec = {\n path: \"/docs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchDocumentsResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.searchText,\n Parameters.includeTotalResultCount,\n Parameters.facets,\n Parameters.filter,\n Parameters.highlightFields,\n Parameters.highlightPostTag,\n Parameters.highlightPreTag,\n Parameters.minimumCoverage,\n Parameters.orderBy,\n Parameters.queryType,\n Parameters.scoringParameters,\n Parameters.scoringProfile,\n Parameters.semanticQuery,\n Parameters.semanticConfiguration,\n Parameters.semanticErrorHandling,\n Parameters.semanticMaxWaitInMilliseconds,\n Parameters.debug,\n Parameters.searchFields,\n Parameters.queryLanguage,\n Parameters.speller,\n Parameters.answers,\n Parameters.searchMode,\n Parameters.scoringStatistics,\n Parameters.sessionId,\n Parameters.select,\n Parameters.skip,\n Parameters.top,\n Parameters.captions,\n Parameters.semanticFields\n ],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst searchPostOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/search.post.search\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchDocumentsResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n requestBody: Parameters.searchRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/docs('{key}')\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: { name: \"Dictionary\", value: { type: { name: \"any\" } } }\n }\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.selectedFields],\n urlParameters: [Parameters.endpoint, Parameters.indexName, Parameters.key],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst suggestGetOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/search.suggest\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SuggestDocumentsResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.searchText1,\n Parameters.suggesterName,\n Parameters.filter1,\n Parameters.useFuzzyMatching,\n Parameters.highlightPostTag1,\n Parameters.highlightPreTag1,\n Parameters.minimumCoverage1,\n Parameters.orderBy1,\n Parameters.searchFields1,\n Parameters.select1,\n Parameters.top1\n ],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst suggestPostOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/search.post.suggest\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SuggestDocumentsResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n requestBody: Parameters.suggestRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst indexOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/search.index\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IndexDocumentsResult\n },\n 207: {\n bodyMapper: Mappers.IndexDocumentsResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n requestBody: Parameters.batch,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst autocompleteGetOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/search.autocomplete\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutocompleteResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.searchText1,\n Parameters.suggesterName,\n Parameters.autocompleteMode,\n Parameters.filter2,\n Parameters.useFuzzyMatching1,\n Parameters.highlightPostTag2,\n Parameters.highlightPreTag2,\n Parameters.minimumCoverage2,\n Parameters.searchFields2,\n Parameters.top2\n ],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst autocompletePostOperationSpec: coreClient.OperationSpec = {\n path: \"/docs/search.post.autocomplete\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AutocompleteResult\n },\n default: {\n bodyMapper: Mappers.SearchError\n }\n },\n requestBody: Parameters.autocompleteRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.indexName],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"searchClient.js","sourceRoot":"","sources":["../../../../src/generated/data/searchClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAO7C,gBAAgB;AAChB,MAAM,OAAO,YAAa,SAAQ,cAAc,CAA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c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttpCompat from \"@azure/core-http-compat\";\nimport { DocumentsImpl } from \"./operations\";\nimport { Documents } from \"./operationsInterfaces\";\nimport {\n ApiVersion20230701Preview,\n SearchClientOptionalParams\n} from \"./models\";\n\n/** @internal */\nexport class SearchClient extends coreHttpCompat.ExtendedServiceClient {\n endpoint: string;\n indexName: string;\n apiVersion: ApiVersion20230701Preview;\n\n /**\n * Initializes a new instance of the SearchClient class.\n * @param endpoint The endpoint URL of the search service.\n * @param indexName The name of the index.\n * @param apiVersion Api Version\n * @param options The parameter options\n */\n constructor(\n endpoint: string,\n indexName: string,\n apiVersion: ApiVersion20230701Preview,\n options?: SearchClientOptionalParams\n ) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n if (indexName === undefined) {\n throw new Error(\"'indexName' cannot be null\");\n }\n if (apiVersion === undefined) {\n throw new Error(\"'apiVersion' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SearchClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-search-documents/12.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri:\n options.endpoint ??\n options.baseUri ??\n \"{endpoint}/indexes('{indexName}')\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.endpoint = endpoint;\n this.indexName = indexName;\n this.apiVersion = apiVersion;\n this.documents = new DocumentsImpl(this);\n }\n\n documents: Documents;\n}\n"]}
1
+ {"version":3,"file":"searchClient.js","sourceRoot":"","sources":["../../../../src/generated/data/sear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zB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;CAGF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttpCompat from \"@azure/core-http-compat\";\nimport { DocumentsImpl } from \"./operations\";\nimport { Documents } from \"./operationsInterfaces\";\nimport {\n ApiVersion20231001Preview,\n SearchClientOptionalParams\n} from \"./models\";\n\n/** @internal */\nexport class SearchClient extends coreHttpCompat.ExtendedServiceClient {\n endpoint: string;\n indexName: string;\n apiVersion: ApiVersion20231001Preview;\n\n /**\n * Initializes a new instance of the SearchClient class.\n * @param endpoint The endpoint URL of the search service.\n * @param indexName The name of the index.\n * @param apiVersion Api Version\n * @param options The parameter options\n */\n constructor(\n endpoint: string,\n indexName: string,\n apiVersion: ApiVersion20231001Preview,\n options?: SearchClientOptionalParams\n ) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n if (indexName === undefined) {\n throw new Error(\"'indexName' cannot be null\");\n }\n if (apiVersion === undefined) {\n throw new Error(\"'apiVersion' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SearchClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-search-documents/12.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri:\n options.endpoint ??\n options.baseUri ??\n \"{endpoint}/indexes('{indexName}')\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.endpoint = endpoint;\n this.indexName = indexName;\n this.apiVersion = apiVersion;\n this.documents = new DocumentsImpl(this);\n }\n\n documents: Documents;\n}\n"]}
@@ -5,12 +5,12 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- /** Known values of {@link ApiVersion20230701Preview} that the service accepts. */
9
- export var KnownApiVersion20230701Preview;
10
- (function (KnownApiVersion20230701Preview) {
11
- /** Api Version '2023-07-01-Preview' */
12
- KnownApiVersion20230701Preview["TwoThousandTwentyThree0701Preview"] = "2023-07-01-Preview";
13
- })(KnownApiVersion20230701Preview || (KnownApiVersion20230701Preview = {}));
8
+ /** Known values of {@link ApiVersion20231001Preview} that the service accepts. */
9
+ export var KnownApiVersion20231001Preview;
10
+ (function (KnownApiVersion20231001Preview) {
11
+ /** Api Version '2023-10-01-Preview' */
12
+ KnownApiVersion20231001Preview["TwoThousandTwentyThree1001Preview"] = "2023-10-01-Preview";
13
+ })(KnownApiVersion20231001Preview || (KnownApiVersion20231001Preview = {}));
14
14
  /** Known values of {@link SearchIndexerDataSourceType} that the service accepts. */
15
15
  export var KnownSearchIndexerDataSourceType;
16
16
  (function (KnownSearchIndexerDataSourceType) {
@@ -93,6 +93,14 @@ export var KnownIndexingMode;
93
93
  /** The indexer is indexing selective, reset documents in the datasource. The documents being indexed are defined on indexer status. */
94
94
  KnownIndexingMode["IndexingResetDocs"] = "indexingResetDocs";
95
95
  })(KnownIndexingMode || (KnownIndexingMode = {}));
96
+ /** Known values of {@link IndexProjectionMode} that the service accepts. */
97
+ export var KnownIndexProjectionMode;
98
+ (function (KnownIndexProjectionMode) {
99
+ /** The source document will be skipped from writing into the indexer's target index. */
100
+ KnownIndexProjectionMode["SkipIndexingParentDocuments"] = "skipIndexingParentDocuments";
101
+ /** The source document will be written into the indexer's target index. This is the default pattern. */
102
+ KnownIndexProjectionMode["IncludeIndexingParentDocuments"] = "includeIndexingParentDocuments";
103
+ })(KnownIndexProjectionMode || (KnownIndexProjectionMode = {}));
96
104
  /** Known values of {@link SearchFieldDataType} that the service accepts. */
97
105
  export var KnownSearchFieldDataType;
98
106
  (function (KnownSearchFieldDataType) {
@@ -319,6 +327,22 @@ export var KnownLexicalNormalizerName;
319
327
  /** Normalizes token text to uppercase. See https://lucene.apache.org/core/6_6_1/analyzers-common/org/apache/lucene/analysis/core/UpperCaseFilter.html */
320
328
  KnownLexicalNormalizerName["Uppercase"] = "uppercase";
321
329
  })(KnownLexicalNormalizerName || (KnownLexicalNormalizerName = {}));
330
+ /** Known values of {@link VectorSearchAlgorithmKind} that the service accepts. */
331
+ export var KnownVectorSearchAlgorithmKind;
332
+ (function (KnownVectorSearchAlgorithmKind) {
333
+ /** Hnsw (Hierarchical Navigable Small World), a type of approximate nearest neighbors algorithm. */
334
+ KnownVectorSearchAlgorithmKind["Hnsw"] = "hnsw";
335
+ /** Exhaustive KNN algorithm which will perform brute-force search. */
336
+ KnownVectorSearchAlgorithmKind["ExhaustiveKnn"] = "exhaustiveKnn";
337
+ })(KnownVectorSearchAlgorithmKind || (KnownVectorSearchAlgorithmKind = {}));
338
+ /** Known values of {@link VectorSearchVectorizerKind} that the service accepts. */
339
+ export var KnownVectorSearchVectorizerKind;
340
+ (function (KnownVectorSearchVectorizerKind) {
341
+ /** Generate embeddings using an Azure Open AI service at query time. */
342
+ KnownVectorSearchVectorizerKind["AzureOpenAI"] = "azureOpenAI";
343
+ /** Generate embeddings using a custom web endpoint at query time. */
344
+ KnownVectorSearchVectorizerKind["CustomWebApi"] = "customWebApi";
345
+ })(KnownVectorSearchVectorizerKind || (KnownVectorSearchVectorizerKind = {}));
322
346
  /** Known values of {@link TokenFilterName} that the service accepts. */
323
347
  export var KnownTokenFilterName;
324
348
  (function (KnownTokenFilterName) {