@azure/search-documents 11.3.1 → 11.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/README.md +19 -41
  2. package/dist/index.js +795 -1030
  3. package/dist/index.js.map +1 -1
  4. package/dist-esm/src/constants.js +1 -1
  5. package/dist-esm/src/constants.js.map +1 -1
  6. package/dist-esm/src/generated/data/index.js +1 -0
  7. package/dist-esm/src/generated/data/index.js.map +1 -1
  8. package/dist-esm/src/generated/data/models/index.js.map +1 -1
  9. package/dist-esm/src/generated/data/models/mappers.js.map +1 -1
  10. package/dist-esm/src/generated/data/models/parameters.js +11 -21
  11. package/dist-esm/src/generated/data/models/parameters.js.map +1 -1
  12. package/dist-esm/src/generated/data/operations/documents.js +21 -73
  13. package/dist-esm/src/generated/data/operations/documents.js.map +1 -1
  14. package/dist-esm/src/generated/data/operationsInterfaces/documents.js +9 -0
  15. package/dist-esm/src/generated/data/operationsInterfaces/documents.js.map +1 -0
  16. package/dist-esm/src/generated/data/operationsInterfaces/index.js +9 -0
  17. package/dist-esm/src/generated/data/operationsInterfaces/index.js.map +1 -0
  18. package/dist-esm/src/generated/data/searchClient.js +2 -2
  19. package/dist-esm/src/generated/data/searchClient.js.map +1 -1
  20. package/dist-esm/src/generated/data/searchClientContext.js +7 -11
  21. package/dist-esm/src/generated/data/searchClientContext.js.map +1 -1
  22. package/dist-esm/src/generated/service/index.js +1 -0
  23. package/dist-esm/src/generated/service/index.js.map +1 -1
  24. package/dist-esm/src/generated/service/models/index.js.map +1 -1
  25. package/dist-esm/src/generated/service/models/mappers.js +9 -9
  26. package/dist-esm/src/generated/service/models/mappers.js.map +1 -1
  27. package/dist-esm/src/generated/service/models/parameters.js +0 -9
  28. package/dist-esm/src/generated/service/models/parameters.js.map +1 -1
  29. package/dist-esm/src/generated/service/operations/dataSources.js +11 -37
  30. package/dist-esm/src/generated/service/operations/dataSources.js.map +1 -1
  31. package/dist-esm/src/generated/service/operations/indexers.js +17 -55
  32. package/dist-esm/src/generated/service/operations/indexers.js.map +1 -1
  33. package/dist-esm/src/generated/service/operations/indexes.js +15 -54
  34. package/dist-esm/src/generated/service/operations/indexes.js.map +1 -1
  35. package/dist-esm/src/generated/service/operations/skillsets.js +11 -37
  36. package/dist-esm/src/generated/service/operations/skillsets.js.map +1 -1
  37. package/dist-esm/src/generated/service/operations/synonymMaps.js +11 -37
  38. package/dist-esm/src/generated/service/operations/synonymMaps.js.map +1 -1
  39. package/dist-esm/src/generated/service/operationsInterfaces/dataSources.js +9 -0
  40. package/dist-esm/src/generated/service/operationsInterfaces/dataSources.js.map +1 -0
  41. package/dist-esm/src/generated/service/operationsInterfaces/index.js +13 -0
  42. package/dist-esm/src/generated/service/operationsInterfaces/index.js.map +1 -0
  43. package/dist-esm/src/generated/service/operationsInterfaces/indexers.js +9 -0
  44. package/dist-esm/src/generated/service/operationsInterfaces/indexers.js.map +1 -0
  45. package/dist-esm/src/generated/service/operationsInterfaces/indexes.js +9 -0
  46. package/dist-esm/src/generated/service/operationsInterfaces/indexes.js.map +1 -0
  47. package/dist-esm/src/generated/service/operationsInterfaces/skillsets.js +9 -0
  48. package/dist-esm/src/generated/service/operationsInterfaces/skillsets.js.map +1 -0
  49. package/dist-esm/src/generated/service/operationsInterfaces/synonymMaps.js +9 -0
  50. package/dist-esm/src/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
  51. package/dist-esm/src/generated/service/searchServiceClient.js +10 -13
  52. package/dist-esm/src/generated/service/searchServiceClient.js.map +1 -1
  53. package/dist-esm/src/generated/service/searchServiceClientContext.js +7 -11
  54. package/dist-esm/src/generated/service/searchServiceClientContext.js.map +1 -1
  55. package/dist-esm/src/geographyPoint.js +1 -1
  56. package/dist-esm/src/geographyPoint.js.map +1 -1
  57. package/dist-esm/src/index.js +2 -2
  58. package/dist-esm/src/index.js.map +1 -1
  59. package/dist-esm/src/indexDocumentsBatch.js +1 -1
  60. package/dist-esm/src/indexDocumentsBatch.js.map +1 -1
  61. package/dist-esm/src/indexModels.js.map +1 -1
  62. package/dist-esm/src/odataMetadataPolicy.js +7 -15
  63. package/dist-esm/src/odataMetadataPolicy.js.map +1 -1
  64. package/dist-esm/src/searchApiKeyCredentialPolicy.js +8 -21
  65. package/dist-esm/src/searchApiKeyCredentialPolicy.js.map +1 -1
  66. package/dist-esm/src/searchAudience.js.map +1 -1
  67. package/dist-esm/src/searchClient.js +108 -126
  68. package/dist-esm/src/searchClient.js.map +1 -1
  69. package/dist-esm/src/searchIndexClient.js +112 -101
  70. package/dist-esm/src/searchIndexClient.js.map +1 -1
  71. package/dist-esm/src/searchIndexerClient.js +94 -106
  72. package/dist-esm/src/searchIndexerClient.js.map +1 -1
  73. package/dist-esm/src/searchIndexingBufferedSender.js +16 -17
  74. package/dist-esm/src/searchIndexingBufferedSender.js.map +1 -1
  75. package/dist-esm/src/serialization.js +6 -6
  76. package/dist-esm/src/serialization.js.map +1 -1
  77. package/dist-esm/src/serviceModels.js.map +1 -1
  78. package/dist-esm/src/serviceUtils.js +43 -61
  79. package/dist-esm/src/serviceUtils.js.map +1 -1
  80. package/dist-esm/src/synonymMapHelper.js +6 -2
  81. package/dist-esm/src/synonymMapHelper.js.map +1 -1
  82. package/dist-esm/src/tracing.js +6 -5
  83. package/dist-esm/src/tracing.js.map +1 -1
  84. package/package.json +51 -51
  85. package/types/search-documents.d.ts +137 -117
  86. package/CHANGELOG.md +0 -233
  87. package/dist-esm/src/generated/data/models/documentsMappers.js +0 -9
  88. package/dist-esm/src/generated/data/models/documentsMappers.js.map +0 -1
  89. package/dist-esm/src/generated/service/models/dataSourcesMappers.js +0 -9
  90. package/dist-esm/src/generated/service/models/dataSourcesMappers.js.map +0 -1
  91. package/dist-esm/src/generated/service/models/indexersMappers.js +0 -9
  92. package/dist-esm/src/generated/service/models/indexersMappers.js.map +0 -1
  93. package/dist-esm/src/generated/service/models/indexesMappers.js +0 -9
  94. package/dist-esm/src/generated/service/models/indexesMappers.js.map +0 -1
  95. package/dist-esm/src/generated/service/models/skillsetsMappers.js +0 -9
  96. package/dist-esm/src/generated/service/models/skillsetsMappers.js.map +0 -1
  97. package/dist-esm/src/generated/service/models/synonymMapsMappers.js +0 -9
  98. package/dist-esm/src/generated/service/models/synonymMapsMappers.js.map +0 -1
@@ -1,4 +1,4 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT license.
3
- export const SDK_VERSION = "11.3.1";
3
+ export const SDK_VERSION = "11.3.2";
4
4
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,QAAQ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"11.3.1\";\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,QAAQ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"11.3.2\";\n"]}
@@ -8,4 +8,5 @@
8
8
  export * from "./models";
9
9
  export { SearchClient } from "./searchClient";
10
10
  export { SearchClientContext } from "./searchClientContext";
11
+ export * from "./operationsInterfaces";
11
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/data/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,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\nexport * from \"./models\";\nexport { SearchClient } from \"./searchClient\";\nexport { SearchClientContext } from \"./searchClientContext\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/data/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,cAAc,wBAAwB,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\nexport * from \"./models\";\nexport { SearchClient } from \"./searchClient\";\nexport { SearchClientContext } from \"./searchClientContext\";\nexport * from \"./operationsInterfaces\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/data/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 coreHttp from \"@azure/core-http\";\n\n/** Describes an error condition for the Azure Cognitive Search API. */\nexport interface SearchError {\n /**\n * One of a server-defined set of error codes.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * A human-readable representation of the error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message: string;\n /**\n * An array of details about specific errors that led to this reported error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: SearchError[];\n}\n\n/** Response containing search results from an index. */\nexport interface SearchDocumentsResult {\n /**\n * The total count of results found by the search operation, or null if the count was not requested. If present, the count may be greater than the number of results in this response. This can happen if you use the $top or $skip parameters, or if Azure Cognitive Search can't return all the requested documents in a single Search response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly count?: number;\n /**\n * A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not specified in the request.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly coverage?: number;\n /**\n * The facet query results for the search operation, organized as a collection of buckets for each faceted field; null if the query did not include any facet expressions.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly facets?: { [propertyName: string]: FacetResult[] };\n /**\n * Continuation JSON payload returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextPageParameters?: SearchRequest;\n /**\n * The sequence of results returned by the query.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly results: SearchResult[];\n /**\n * Continuation URL returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this URL to formulate another GET or POST Search request to get the next part of the search response. Make sure to use the same verb (GET or POST) as the request that produced this response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval. */\nexport interface FacetResult {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /**\n * The approximate count of documents falling within the bucket described by this facet.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly count?: number;\n}\n\n/** Parameters for filtering, sorting, faceting, paging, and other search query behaviors. */\nexport interface SearchRequest {\n /** A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation. */\n includeTotalResultCount?: boolean;\n /** The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs. */\n facets?: string[];\n /** The OData $filter expression to apply to the search query. */\n filter?: string;\n /** The comma-separated list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting. */\n highlightFields?: string;\n /** A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>. */\n highlightPostTag?: string;\n /** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>. */\n highlightPreTag?: string;\n /** A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100. */\n minimumCoverage?: number;\n /** The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses. */\n orderBy?: string;\n /** A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. */\n queryType?: QueryType;\n /** A value that specifies whether we want to calculate scoring statistics (such as document frequency) globally for more consistent scoring, or locally, for lower latency. The default is 'local'. Use 'global' to aggregate scoring statistics globally before scoring. Using global scoring statistics can increase latency of search queries. */\n scoringStatistics?: ScoringStatistics;\n /** A value to be used to create a sticky session, which can help getting more consistent results. As long as the same sessionId is used, a best-effort attempt will be made to target the same replica set. Be wary that reusing the same sessionID values repeatedly can interfere with the load balancing of the requests across replicas and adversely affect the performance of the search service. The value used as sessionId cannot start with a '_' character. */\n sessionId?: string;\n /** The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes). */\n scoringParameters?: string[];\n /** The name of a scoring profile to evaluate match scores for matching documents in order to sort the results. */\n scoringProfile?: string;\n /** A full-text search query expression; Use \"*\" or omit this parameter to match all documents. */\n searchText?: string;\n /** The comma-separated list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter. */\n searchFields?: string;\n /** A value that specifies whether any or all of the search terms must be matched in order to count the document as a match. */\n searchMode?: SearchMode;\n /** The comma-separated list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. */\n select?: string;\n /** The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use skip due to this limitation, consider using orderby on a totally-ordered key and filter with a range query instead. */\n skip?: number;\n /** The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results. */\n top?: number;\n}\n\n/** Contains a document found by a search query, plus associated metadata. */\nexport interface SearchResult {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /**\n * The relevance score of the document compared to other documents returned by the query.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly _score: number;\n /**\n * Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly _highlights?: { [propertyName: string]: string[] };\n}\n\n/** Response containing suggestion query results from an index. */\nexport interface SuggestDocumentsResult {\n /**\n * The sequence of results returned by the query.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly results: SuggestResult[];\n /**\n * A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly coverage?: number;\n}\n\n/** A result containing a document found by a suggestion query, plus associated metadata. */\nexport interface SuggestResult {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /**\n * The text of the suggestion result.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly _text: string;\n}\n\n/** Parameters for filtering, sorting, fuzzy matching, and other suggestions query behaviors. */\nexport interface SuggestRequest {\n /** An OData expression that filters the documents considered for suggestions. */\n filter?: string;\n /** A value indicating whether to use fuzzy matching for the suggestion query. Default is false. When set to true, the query will find suggestions even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestion searches are slower and consume more resources. */\n useFuzzyMatching?: boolean;\n /** A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting of suggestions is disabled. */\n highlightPostTag?: string;\n /** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting of suggestions is disabled. */\n highlightPreTag?: string;\n /** A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestion query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80. */\n minimumCoverage?: number;\n /** The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses. */\n orderBy?: string;\n /** The search text to use to suggest documents. Must be at least 1 character, and no more than 100 characters. */\n searchText: string;\n /** The comma-separated list of field names to search for the specified search text. Target fields must be included in the specified suggester. */\n searchFields?: string;\n /** The comma-separated list of fields to retrieve. If unspecified, only the key field will be included in the results. */\n select?: string;\n /** The name of the suggester as specified in the suggesters collection that's part of the index definition. */\n suggesterName: string;\n /** The number of suggestions to retrieve. This must be a value between 1 and 100. The default is 5. */\n top?: number;\n}\n\n/** Contains a batch of document write actions to send to the index. */\nexport interface IndexBatch {\n /** The actions in the batch. */\n actions: IndexAction[];\n}\n\n/** Represents an index action that operates on a document. */\nexport interface IndexAction {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /** The operation to perform on a document in an indexing batch. */\n __actionType: IndexActionType;\n}\n\n/** Response containing the status of operations for all documents in the indexing request. */\nexport interface IndexDocumentsResult {\n /**\n * The list of status information for each document in the indexing request.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly results: IndexingResult[];\n}\n\n/** Status of an indexing operation for a single document. */\nexport interface IndexingResult {\n /**\n * The key of a document that was in the indexing request.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly key: string;\n /**\n * The error message explaining why the indexing operation failed for the document identified by the key; null if indexing succeeded.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly errorMessage?: string;\n /**\n * A value indicating whether the indexing operation succeeded for the document identified by the key.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly succeeded: boolean;\n /**\n * The status code of the indexing operation. Possible values include: 200 for a successful update or delete, 201 for successful document creation, 400 for a malformed input document, 404 for document not found, 409 for a version conflict, 422 when the index is temporarily unavailable, or 503 for when the service is too busy.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly statusCode: number;\n}\n\n/** The result of Autocomplete query. */\nexport interface AutocompleteResult {\n /**\n * A value indicating the percentage of the index that was considered by the autocomplete request, or null if minimumCoverage was not specified in the request.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly coverage?: number;\n /**\n * The list of returned Autocompleted items.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly results: AutocompleteItem[];\n}\n\n/** The result of Autocomplete requests. */\nexport interface AutocompleteItem {\n /**\n * The completed term.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly text: string;\n /**\n * The query along with the completed term.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly queryPlusText: string;\n}\n\n/** Parameters for fuzzy matching, and other autocomplete query behaviors. */\nexport interface AutocompleteRequest {\n /** The search text on which to base autocomplete results. */\n searchText: string;\n /** Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms. */\n autocompleteMode?: AutocompleteMode;\n /** An OData expression that filters the documents used to produce completed terms for the Autocomplete result. */\n filter?: string;\n /** A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will autocomplete terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources. */\n useFuzzyMatching?: boolean;\n /** A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled. */\n highlightPostTag?: string;\n /** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled. */\n highlightPreTag?: string;\n /** A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80. */\n minimumCoverage?: number;\n /** The comma-separated list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester. */\n searchFields?: string;\n /** The name of the suggester as specified in the suggesters collection that's part of the index definition. */\n suggesterName: string;\n /** The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5. */\n top?: number;\n}\n\n/** Parameter group */\nexport interface RequestOptions {\n /** The tracking ID sent with the request to help with debugging. */\n xMsClientRequestId?: string;\n}\n\n/** Parameter group */\nexport interface SearchOptions {\n /** A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation. */\n includeTotalResultCount?: boolean;\n /** The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs. */\n facets?: string[];\n /** The OData $filter expression to apply to the search query. */\n filter?: string;\n /** The list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting. */\n highlightFields?: string[];\n /** A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>. */\n highlightPostTag?: string;\n /** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>. */\n highlightPreTag?: string;\n /** A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100. */\n minimumCoverage?: number;\n /** The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no OrderBy is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses. */\n orderBy?: string[];\n /** A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. */\n queryType?: QueryType;\n /** The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes). */\n scoringParameters?: string[];\n /** The name of a scoring profile to evaluate match scores for matching documents in order to sort the results. */\n scoringProfile?: string;\n /** The list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter. */\n searchFields?: string[];\n /** A value that specifies whether any or all of the search terms must be matched in order to count the document as a match. */\n searchMode?: SearchMode;\n /** A value that specifies whether we want to calculate scoring statistics (such as document frequency) globally for more consistent scoring, or locally, for lower latency. */\n scoringStatistics?: ScoringStatistics;\n /** A value to be used to create a sticky session, which can help to get more consistent results. As long as the same sessionId is used, a best-effort attempt will be made to target the same replica set. Be wary that reusing the same sessionID values repeatedly can interfere with the load balancing of the requests across replicas and adversely affect the performance of the search service. The value used as sessionId cannot start with a '_' character. */\n sessionId?: string;\n /** The list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. */\n select?: string[];\n /** The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use $skip due to this limitation, consider using $orderby on a totally-ordered key and $filter with a range query instead. */\n skip?: number;\n /** The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results. */\n top?: number;\n}\n\n/** Parameter group */\nexport interface SuggestOptions {\n /** An OData expression that filters the documents considered for suggestions. */\n filter?: string;\n /** A value indicating whether to use fuzzy matching for the suggestions query. Default is false. When set to true, the query will find terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestions queries are slower and consume more resources. */\n useFuzzyMatching?: boolean;\n /** A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting of suggestions is disabled. */\n highlightPostTag?: string;\n /** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting of suggestions is disabled. */\n highlightPreTag?: string;\n /** A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestions query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80. */\n minimumCoverage?: number;\n /** The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses. */\n orderBy?: string[];\n /** The list of field names to search for the specified search text. Target fields must be included in the specified suggester. */\n searchFields?: string[];\n /** The list of fields to retrieve. If unspecified, only the key field will be included in the results. */\n select?: string[];\n /** The number of suggestions to retrieve. The value must be a number between 1 and 100. The default is 5. */\n top?: number;\n}\n\n/** Parameter group */\nexport interface AutocompleteOptions {\n /** Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms. */\n autocompleteMode?: AutocompleteMode;\n /** An OData expression that filters the documents used to produce completed terms for the Autocomplete result. */\n filter?: string;\n /** A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will find terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources. */\n useFuzzyMatching?: boolean;\n /** A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled. */\n highlightPostTag?: string;\n /** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled. */\n highlightPreTag?: string;\n /** A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80. */\n minimumCoverage?: number;\n /** The list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester. */\n searchFields?: string[];\n /** The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5. */\n top?: number;\n}\n\n/** Known values of {@link ApiVersion20200630} that the service accepts. */\nexport const enum KnownApiVersion20200630 {\n /** Api Version '2020-06-30' */\n TwoThousandTwenty0630 = \"2020-06-30\"\n}\n\n/**\n * Defines values for ApiVersion20200630. \\\n * {@link KnownApiVersion20200630} can be used interchangeably with ApiVersion20200630,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **2020-06-30**: Api Version '2020-06-30'\n */\nexport type ApiVersion20200630 = string;\n/** Defines values for QueryType. */\nexport type QueryType = \"simple\" | \"full\";\n/** Defines values for SearchMode. */\nexport type SearchMode = \"any\" | \"all\";\n/** Defines values for ScoringStatistics. */\nexport type ScoringStatistics = \"local\" | \"global\";\n/** Defines values for IndexActionType. */\nexport type IndexActionType = \"upload\" | \"merge\" | \"mergeOrUpload\" | \"delete\";\n/** Defines values for AutocompleteMode. */\nexport type AutocompleteMode = \"oneTerm\" | \"twoTerms\" | \"oneTermWithContext\";\n\n/** Optional parameters. */\nexport interface DocumentsCountOptionalParams\n extends coreHttp.OperationOptions {\n /** Parameter group */\n requestOptionsParam?: RequestOptions;\n}\n\n/** Contains response data for the count operation. */\nexport type DocumentsCountResponse = {\n /** The parsed response body. */\n body: number;\n\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: number;\n };\n};\n\n/** Optional parameters. */\nexport interface DocumentsSearchGetOptionalParams\n extends coreHttp.OperationOptions {\n /** Parameter group */\n requestOptionsParam?: RequestOptions;\n /** Parameter group */\n searchOptions?: SearchOptions;\n /** A full-text search query expression; Use \"*\" or omit this parameter to match all documents. */\n searchText?: string;\n}\n\n/** Contains response data for the searchGet operation. */\nexport type DocumentsSearchGetResponse = SearchDocumentsResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: SearchDocumentsResult;\n };\n};\n\n/** Optional parameters. */\nexport interface DocumentsSearchPostOptionalParams\n extends coreHttp.OperationOptions {\n /** Parameter group */\n requestOptionsParam?: RequestOptions;\n}\n\n/** Contains response data for the searchPost operation. */\nexport type DocumentsSearchPostResponse = SearchDocumentsResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: SearchDocumentsResult;\n };\n};\n\n/** Optional parameters. */\nexport interface DocumentsGetOptionalParams extends coreHttp.OperationOptions {\n /** Parameter group */\n requestOptionsParam?: RequestOptions;\n /** List of field names to retrieve for the document; Any field not retrieved will be missing from the returned document. */\n selectedFields?: string[];\n}\n\n/** Contains response data for the get operation. */\nexport type DocumentsGetResponse = {\n /** The parsed response body. */\n body: any;\n\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: any;\n };\n};\n\n/** Optional parameters. */\nexport interface DocumentsSuggestGetOptionalParams\n extends coreHttp.OperationOptions {\n /** Parameter group */\n requestOptionsParam?: RequestOptions;\n /** Parameter group */\n suggestOptions?: SuggestOptions;\n}\n\n/** Contains response data for the suggestGet operation. */\nexport type DocumentsSuggestGetResponse = SuggestDocumentsResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: SuggestDocumentsResult;\n };\n};\n\n/** Optional parameters. */\nexport interface DocumentsSuggestPostOptionalParams\n extends coreHttp.OperationOptions {\n /** Parameter group */\n requestOptionsParam?: RequestOptions;\n}\n\n/** Contains response data for the suggestPost operation. */\nexport type DocumentsSuggestPostResponse = SuggestDocumentsResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: SuggestDocumentsResult;\n };\n};\n\n/** Optional parameters. */\nexport interface DocumentsIndexOptionalParams\n extends coreHttp.OperationOptions {\n /** Parameter group */\n requestOptionsParam?: RequestOptions;\n}\n\n/** Contains response data for the index operation. */\nexport type DocumentsIndexResponse = IndexDocumentsResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: IndexDocumentsResult;\n };\n};\n\n/** Optional parameters. */\nexport interface DocumentsAutocompleteGetOptionalParams\n extends coreHttp.OperationOptions {\n /** Parameter group */\n requestOptionsParam?: RequestOptions;\n /** Parameter group */\n autocompleteOptions?: AutocompleteOptions;\n}\n\n/** Contains response data for the autocompleteGet operation. */\nexport type DocumentsAutocompleteGetResponse = AutocompleteResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: AutocompleteResult;\n };\n};\n\n/** Optional parameters. */\nexport interface DocumentsAutocompletePostOptionalParams\n extends coreHttp.OperationOptions {\n /** Parameter group */\n requestOptionsParam?: RequestOptions;\n}\n\n/** Contains response data for the autocompletePost operation. */\nexport type DocumentsAutocompletePostResponse = AutocompleteResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: AutocompleteResult;\n };\n};\n\n/** Optional parameters. */\nexport interface SearchClientOptionalParams\n extends coreHttp.ServiceClientOptions {\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/data/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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\n/** Describes an error condition for the Azure Cognitive Search API. */\nexport interface SearchError {\n /**\n * One of a server-defined set of error codes.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * A human-readable representation of the error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message: string;\n /**\n * An array of details about specific errors that led to this reported error.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: SearchError[];\n}\n\n/** Response containing search results from an index. */\nexport interface SearchDocumentsResult {\n /**\n * The total count of results found by the search operation, or null if the count was not requested. If present, the count may be greater than the number of results in this response. This can happen if you use the $top or $skip parameters, or if Azure Cognitive Search can't return all the requested documents in a single Search response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly count?: number;\n /**\n * A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not specified in the request.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly coverage?: number;\n /**\n * The facet query results for the search operation, organized as a collection of buckets for each faceted field; null if the query did not include any facet expressions.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly facets?: { [propertyName: string]: FacetResult[] };\n /**\n * Continuation JSON payload returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextPageParameters?: SearchRequest;\n /**\n * The sequence of results returned by the query.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly results: SearchResult[];\n /**\n * Continuation URL returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this URL to formulate another GET or POST Search request to get the next part of the search response. Make sure to use the same verb (GET or POST) as the request that produced this response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval. */\nexport interface FacetResult {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /**\n * The approximate count of documents falling within the bucket described by this facet.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly count?: number;\n}\n\n/** Parameters for filtering, sorting, faceting, paging, and other search query behaviors. */\nexport interface SearchRequest {\n /** A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation. */\n includeTotalResultCount?: boolean;\n /** The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs. */\n facets?: string[];\n /** The OData $filter expression to apply to the search query. */\n filter?: string;\n /** The comma-separated list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting. */\n highlightFields?: string;\n /** A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>. */\n highlightPostTag?: string;\n /** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>. */\n highlightPreTag?: string;\n /** A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100. */\n minimumCoverage?: number;\n /** The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses. */\n orderBy?: string;\n /** A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. */\n queryType?: QueryType;\n /** A value that specifies whether we want to calculate scoring statistics (such as document frequency) globally for more consistent scoring, or locally, for lower latency. The default is 'local'. Use 'global' to aggregate scoring statistics globally before scoring. Using global scoring statistics can increase latency of search queries. */\n scoringStatistics?: ScoringStatistics;\n /** A value to be used to create a sticky session, which can help getting more consistent results. As long as the same sessionId is used, a best-effort attempt will be made to target the same replica set. Be wary that reusing the same sessionID values repeatedly can interfere with the load balancing of the requests across replicas and adversely affect the performance of the search service. The value used as sessionId cannot start with a '_' character. */\n sessionId?: string;\n /** The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes). */\n scoringParameters?: string[];\n /** The name of a scoring profile to evaluate match scores for matching documents in order to sort the results. */\n scoringProfile?: string;\n /** A full-text search query expression; Use \"*\" or omit this parameter to match all documents. */\n searchText?: string;\n /** The comma-separated list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter. */\n searchFields?: string;\n /** A value that specifies whether any or all of the search terms must be matched in order to count the document as a match. */\n searchMode?: SearchMode;\n /** The comma-separated list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. */\n select?: string;\n /** The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use skip due to this limitation, consider using orderby on a totally-ordered key and filter with a range query instead. */\n skip?: number;\n /** The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results. */\n top?: number;\n}\n\n/** Contains a document found by a search query, plus associated metadata. */\nexport interface SearchResult {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /**\n * The relevance score of the document compared to other documents returned by the query.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly _score: number;\n /**\n * Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly _highlights?: { [propertyName: string]: string[] };\n}\n\n/** Response containing suggestion query results from an index. */\nexport interface SuggestDocumentsResult {\n /**\n * The sequence of results returned by the query.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly results: SuggestResult[];\n /**\n * A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly coverage?: number;\n}\n\n/** A result containing a document found by a suggestion query, plus associated metadata. */\nexport interface SuggestResult {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /**\n * The text of the suggestion result.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly _text: string;\n}\n\n/** Parameters for filtering, sorting, fuzzy matching, and other suggestions query behaviors. */\nexport interface SuggestRequest {\n /** An OData expression that filters the documents considered for suggestions. */\n filter?: string;\n /** A value indicating whether to use fuzzy matching for the suggestion query. Default is false. When set to true, the query will find suggestions even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestion searches are slower and consume more resources. */\n useFuzzyMatching?: boolean;\n /** A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting of suggestions is disabled. */\n highlightPostTag?: string;\n /** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting of suggestions is disabled. */\n highlightPreTag?: string;\n /** A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestion query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80. */\n minimumCoverage?: number;\n /** The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses. */\n orderBy?: string;\n /** The search text to use to suggest documents. Must be at least 1 character, and no more than 100 characters. */\n searchText: string;\n /** The comma-separated list of field names to search for the specified search text. Target fields must be included in the specified suggester. */\n searchFields?: string;\n /** The comma-separated list of fields to retrieve. If unspecified, only the key field will be included in the results. */\n select?: string;\n /** The name of the suggester as specified in the suggesters collection that's part of the index definition. */\n suggesterName: string;\n /** The number of suggestions to retrieve. This must be a value between 1 and 100. The default is 5. */\n top?: number;\n}\n\n/** Contains a batch of document write actions to send to the index. */\nexport interface IndexBatch {\n /** The actions in the batch. */\n actions: IndexAction[];\n}\n\n/** Represents an index action that operates on a document. */\nexport interface IndexAction {\n /** Describes unknown properties. The value of an unknown property can be of \"any\" type. */\n [property: string]: any;\n /** The operation to perform on a document in an indexing batch. */\n __actionType: IndexActionType;\n}\n\n/** Response containing the status of operations for all documents in the indexing request. */\nexport interface IndexDocumentsResult {\n /**\n * The list of status information for each document in the indexing request.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly results: IndexingResult[];\n}\n\n/** Status of an indexing operation for a single document. */\nexport interface IndexingResult {\n /**\n * The key of a document that was in the indexing request.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly key: string;\n /**\n * The error message explaining why the indexing operation failed for the document identified by the key; null if indexing succeeded.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly errorMessage?: string;\n /**\n * A value indicating whether the indexing operation succeeded for the document identified by the key.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly succeeded: boolean;\n /**\n * The status code of the indexing operation. Possible values include: 200 for a successful update or delete, 201 for successful document creation, 400 for a malformed input document, 404 for document not found, 409 for a version conflict, 422 when the index is temporarily unavailable, or 503 for when the service is too busy.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly statusCode: number;\n}\n\n/** The result of Autocomplete query. */\nexport interface AutocompleteResult {\n /**\n * A value indicating the percentage of the index that was considered by the autocomplete request, or null if minimumCoverage was not specified in the request.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly coverage?: number;\n /**\n * The list of returned Autocompleted items.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly results: AutocompleteItem[];\n}\n\n/** The result of Autocomplete requests. */\nexport interface AutocompleteItem {\n /**\n * The completed term.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly text: string;\n /**\n * The query along with the completed term.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly queryPlusText: string;\n}\n\n/** Parameters for fuzzy matching, and other autocomplete query behaviors. */\nexport interface AutocompleteRequest {\n /** The search text on which to base autocomplete results. */\n searchText: string;\n /** Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms. */\n autocompleteMode?: AutocompleteMode;\n /** An OData expression that filters the documents used to produce completed terms for the Autocomplete result. */\n filter?: string;\n /** A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will autocomplete terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources. */\n useFuzzyMatching?: boolean;\n /** A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled. */\n highlightPostTag?: string;\n /** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled. */\n highlightPreTag?: string;\n /** A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80. */\n minimumCoverage?: number;\n /** The comma-separated list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester. */\n searchFields?: string;\n /** The name of the suggester as specified in the suggesters collection that's part of the index definition. */\n suggesterName: string;\n /** The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5. */\n top?: number;\n}\n\n/** Parameter group */\nexport interface SearchOptions {\n /** A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation. */\n includeTotalResultCount?: boolean;\n /** The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs. */\n facets?: string[];\n /** The OData $filter expression to apply to the search query. */\n filter?: string;\n /** The list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting. */\n highlightFields?: string[];\n /** A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>. */\n highlightPostTag?: string;\n /** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>. */\n highlightPreTag?: string;\n /** A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100. */\n minimumCoverage?: number;\n /** The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no OrderBy is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses. */\n orderBy?: string[];\n /** A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. */\n queryType?: QueryType;\n /** The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes). */\n scoringParameters?: string[];\n /** The name of a scoring profile to evaluate match scores for matching documents in order to sort the results. */\n scoringProfile?: string;\n /** The list of field names to which to scope the full-text search. When using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of each fielded search expression take precedence over any field names listed in this parameter. */\n searchFields?: string[];\n /** A value that specifies whether any or all of the search terms must be matched in order to count the document as a match. */\n searchMode?: SearchMode;\n /** A value that specifies whether we want to calculate scoring statistics (such as document frequency) globally for more consistent scoring, or locally, for lower latency. */\n scoringStatistics?: ScoringStatistics;\n /** A value to be used to create a sticky session, which can help to get more consistent results. As long as the same sessionId is used, a best-effort attempt will be made to target the same replica set. Be wary that reusing the same sessionID values repeatedly can interfere with the load balancing of the requests across replicas and adversely affect the performance of the search service. The value used as sessionId cannot start with a '_' character. */\n sessionId?: string;\n /** The list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. */\n select?: string[];\n /** The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use $skip due to this limitation, consider using $orderby on a totally-ordered key and $filter with a range query instead. */\n skip?: number;\n /** The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results. */\n top?: number;\n}\n\n/** Parameter group */\nexport interface SuggestOptions {\n /** An OData expression that filters the documents considered for suggestions. */\n filter?: string;\n /** A value indicating whether to use fuzzy matching for the suggestions query. Default is false. When set to true, the query will find terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestions queries are slower and consume more resources. */\n useFuzzyMatching?: boolean;\n /** A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting of suggestions is disabled. */\n highlightPostTag?: string;\n /** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting of suggestions is disabled. */\n highlightPreTag?: string;\n /** A number between 0 and 100 indicating the percentage of the index that must be covered by a suggestions query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80. */\n minimumCoverage?: number;\n /** The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses. */\n orderBy?: string[];\n /** The list of field names to search for the specified search text. Target fields must be included in the specified suggester. */\n searchFields?: string[];\n /** The list of fields to retrieve. If unspecified, only the key field will be included in the results. */\n select?: string[];\n /** The number of suggestions to retrieve. The value must be a number between 1 and 100. The default is 5. */\n top?: number;\n}\n\n/** Parameter group */\nexport interface AutocompleteOptions {\n /** Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms. */\n autocompleteMode?: AutocompleteMode;\n /** An OData expression that filters the documents used to produce completed terms for the Autocomplete result. */\n filter?: string;\n /** A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will find terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources. */\n useFuzzyMatching?: boolean;\n /** A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled. */\n highlightPostTag?: string;\n /** A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled. */\n highlightPreTag?: string;\n /** A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80. */\n minimumCoverage?: number;\n /** The list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester. */\n searchFields?: string[];\n /** The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5. */\n top?: number;\n}\n\n/** Known values of {@link ApiVersion20200630} that the service accepts. */\nexport const enum KnownApiVersion20200630 {\n /** Api Version '2020-06-30' */\n TwoThousandTwenty0630 = \"2020-06-30\"\n}\n\n/**\n * Defines values for ApiVersion20200630. \\\n * {@link KnownApiVersion20200630} can be used interchangeably with ApiVersion20200630,\n * this enum contains the known values that the service supports.\n * ### Know values supported by the service\n * **2020-06-30**: Api Version '2020-06-30'\n */\nexport type ApiVersion20200630 = string;\n/** Defines values for QueryType. */\nexport type QueryType = \"simple\" | \"full\";\n/** Defines values for SearchMode. */\nexport type SearchMode = \"any\" | \"all\";\n/** Defines values for ScoringStatistics. */\nexport type ScoringStatistics = \"local\" | \"global\";\n/** Defines values for IndexActionType. */\nexport type IndexActionType = \"upload\" | \"merge\" | \"mergeOrUpload\" | \"delete\";\n/** Defines values for AutocompleteMode. */\nexport type AutocompleteMode = \"oneTerm\" | \"twoTerms\" | \"oneTermWithContext\";\n\n/** Optional parameters. */\nexport interface DocumentsCountOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the count operation. */\nexport type DocumentsCountResponse = {\n /** The parsed response body. */\n body: number;\n};\n\n/** Optional parameters. */\nexport interface DocumentsSearchGetOptionalParams\n extends coreClient.OperationOptions {\n /** Parameter group */\n searchOptions?: SearchOptions;\n /** A full-text search query expression; Use \"*\" or omit this parameter to match all documents. */\n searchText?: string;\n}\n\n/** Contains response data for the searchGet operation. */\nexport type DocumentsSearchGetResponse = SearchDocumentsResult;\n\n/** Optional parameters. */\nexport interface DocumentsSearchPostOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the searchPost operation. */\nexport type DocumentsSearchPostResponse = SearchDocumentsResult;\n\n/** Optional parameters. */\nexport interface DocumentsGetOptionalParams\n extends coreClient.OperationOptions {\n /** List of field names to retrieve for the document; Any field not retrieved will be missing from the returned document. */\n selectedFields?: string[];\n}\n\n/** Contains response data for the get operation. */\nexport type DocumentsGetResponse = {\n /** The parsed response body. */\n body: any;\n};\n\n/** Optional parameters. */\nexport interface DocumentsSuggestGetOptionalParams\n extends coreClient.OperationOptions {\n /** Parameter group */\n suggestOptions?: SuggestOptions;\n}\n\n/** Contains response data for the suggestGet operation. */\nexport type DocumentsSuggestGetResponse = SuggestDocumentsResult;\n\n/** Optional parameters. */\nexport interface DocumentsSuggestPostOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the suggestPost operation. */\nexport type DocumentsSuggestPostResponse = SuggestDocumentsResult;\n\n/** Optional parameters. */\nexport interface DocumentsIndexOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the index operation. */\nexport type DocumentsIndexResponse = IndexDocumentsResult;\n\n/** Optional parameters. */\nexport interface DocumentsAutocompleteGetOptionalParams\n extends coreClient.OperationOptions {\n /** Parameter group */\n autocompleteOptions?: AutocompleteOptions;\n}\n\n/** Contains response data for the autocompleteGet operation. */\nexport type DocumentsAutocompleteGetResponse = AutocompleteResult;\n\n/** Optional parameters. */\nexport interface DocumentsAutocompletePostOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the autocompletePost operation. */\nexport type DocumentsAutocompletePostResponse = AutocompleteResult;\n\n/** Optional parameters. */\nexport interface SearchClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -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,GAA6B;IACnD,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,GAA6B;IAC7D,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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S;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 coreHttp from \"@azure/core-http\";\n\nexport const SearchError: coreHttp.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: coreHttp.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 nextPageParameters: {\n serializedName: \"@search\\\\.nextPageParameters\",\n type: {\n name: \"Composite\",\n className: \"SearchRequest\"\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: coreHttp.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 SearchRequest: coreHttp.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\"]\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 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 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 }\n }\n};\n\nexport const SearchResult: coreHttp.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 _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 }\n }\n};\n\nexport const SuggestDocumentsResult: coreHttp.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: coreHttp.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: coreHttp.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: coreHttp.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: coreHttp.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: coreHttp.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: coreHttp.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: coreHttp.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: coreHttp.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: coreHttp.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,EAA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ACF;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 nextPageParameters: {\n serializedName: \"@search\\\\.nextPageParameters\",\n type: {\n name: \"Composite\",\n className: \"SearchRequest\"\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 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\"]\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 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 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 }\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 _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 }\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"]}
@@ -5,7 +5,6 @@
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
- import { QueryCollectionFormat } from "@azure/core-http";
9
8
  import { SearchRequest as SearchRequestMapper, SuggestRequest as SuggestRequestMapper, IndexBatch as IndexBatchMapper, AutocompleteRequest as AutocompleteRequestMapper } from "../models/mappers";
10
9
  export const accept = {
11
10
  parameterPath: "accept",
@@ -39,15 +38,6 @@ export const indexName = {
39
38
  }
40
39
  }
41
40
  };
42
- export const xMsClientRequestId = {
43
- parameterPath: ["options", "requestOptionsParam", "xMsClientRequestId"],
44
- mapper: {
45
- serializedName: "x-ms-client-request-id",
46
- type: {
47
- name: "Uuid"
48
- }
49
- }
50
- };
51
41
  export const apiVersion = {
52
42
  parameterPath: "apiVersion",
53
43
  mapper: {
@@ -89,7 +79,7 @@ export const facets = {
89
79
  }
90
80
  }
91
81
  },
92
- collectionFormat: QueryCollectionFormat.Multi
82
+ collectionFormat: "Multi"
93
83
  };
94
84
  export const filter = {
95
85
  parameterPath: ["options", "searchOptions", "filter"],
@@ -113,7 +103,7 @@ export const highlightFields = {
113
103
  }
114
104
  }
115
105
  },
116
- collectionFormat: QueryCollectionFormat.Csv
106
+ collectionFormat: "CSV"
117
107
  };
118
108
  export const highlightPostTag = {
119
109
  parameterPath: ["options", "searchOptions", "highlightPostTag"],
@@ -155,7 +145,7 @@ export const orderBy = {
155
145
  }
156
146
  }
157
147
  },
158
- collectionFormat: QueryCollectionFormat.Csv
148
+ collectionFormat: "CSV"
159
149
  };
160
150
  export const queryType = {
161
151
  parameterPath: ["options", "searchOptions", "queryType"],
@@ -180,7 +170,7 @@ export const scoringParameters = {
180
170
  }
181
171
  }
182
172
  },
183
- collectionFormat: QueryCollectionFormat.Multi
173
+ collectionFormat: "Multi"
184
174
  };
185
175
  export const scoringProfile = {
186
176
  parameterPath: ["options", "searchOptions", "scoringProfile"],
@@ -204,7 +194,7 @@ export const searchFields = {
204
194
  }
205
195
  }
206
196
  },
207
- collectionFormat: QueryCollectionFormat.Csv
197
+ collectionFormat: "CSV"
208
198
  };
209
199
  export const searchMode = {
210
200
  parameterPath: ["options", "searchOptions", "searchMode"],
@@ -248,7 +238,7 @@ export const select = {
248
238
  }
249
239
  }
250
240
  },
251
- collectionFormat: QueryCollectionFormat.Csv
241
+ collectionFormat: "CSV"
252
242
  };
253
243
  export const skip = {
254
244
  parameterPath: ["options", "searchOptions", "skip"],
@@ -306,7 +296,7 @@ export const selectedFields = {
306
296
  }
307
297
  }
308
298
  },
309
- collectionFormat: QueryCollectionFormat.Csv
299
+ collectionFormat: "CSV"
310
300
  };
311
301
  export const searchText1 = {
312
302
  parameterPath: "searchText",
@@ -386,7 +376,7 @@ export const orderBy1 = {
386
376
  }
387
377
  }
388
378
  },
389
- collectionFormat: QueryCollectionFormat.Csv
379
+ collectionFormat: "CSV"
390
380
  };
391
381
  export const searchFields1 = {
392
382
  parameterPath: ["options", "suggestOptions", "searchFields"],
@@ -401,7 +391,7 @@ export const searchFields1 = {
401
391
  }
402
392
  }
403
393
  },
404
- collectionFormat: QueryCollectionFormat.Csv
394
+ collectionFormat: "CSV"
405
395
  };
406
396
  export const select1 = {
407
397
  parameterPath: ["options", "suggestOptions", "select"],
@@ -416,7 +406,7 @@ export const select1 = {
416
406
  }
417
407
  }
418
408
  },
419
- collectionFormat: QueryCollectionFormat.Csv
409
+ collectionFormat: "CSV"
420
410
  };
421
411
  export const top1 = {
422
412
  parameterPath: ["options", "suggestOptions", "top"],
@@ -503,7 +493,7 @@ export const searchFields2 = {
503
493
  }
504
494
  }
505
495
  },
506
- collectionFormat: QueryCollectionFormat.Csv
496
+ collectionFormat: "CSV"
507
497
  };
508
498
  export const top2 = {
509
499
  parameterPath: ["options", "autocompleteOptions", "top"],
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/data/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAC1B,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,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAA0B;IAC9C,aAAa,EAAE,WAAW;IAC1B,MAAM,EAAE;QACN,cAAc,EAAE,WAAW;QAC3B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAuB;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,oBAAoB,CAAC;IACvE,MAAM,EAAE;QACN,cAAc,EAAE,wBAAwB;QACxC,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;SACb;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;Q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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,qBAAqB,CAAC,GAAG;CAC5C,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 QueryCollectionFormat\n} from \"@azure/core-http\";\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 xMsClientRequestId: OperationParameter = {\n parameterPath: [\"options\", \"requestOptionsParam\", \"xMsClientRequestId\"],\n mapper: {\n serializedName: \"x-ms-client-request-id\",\n type: {\n name: \"Uuid\"\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: QueryCollectionFormat.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: QueryCollectionFormat.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: QueryCollectionFormat.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\"]\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: QueryCollectionFormat.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 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: QueryCollectionFormat.Csv\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: QueryCollectionFormat.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 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: QueryCollectionFormat.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: QueryCollectionFormat.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: QueryCollectionFormat.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: QueryCollectionFormat.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: QueryCollectionFormat.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.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,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAA0B;IAC9C,aAAa,EAAE,WAAW;IAC1B,MAAM,EAAE;QACN,cAAc,EAAE,WAAW;QAC3B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,cAAc,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B,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\"]\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 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 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 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"]}