@azure/search-documents 11.3.0 → 12.0.0-alpha.20230306.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.
- package/README.md +19 -41
- package/dist/index.js +3897 -1007
- package/dist/index.js.map +1 -1
- package/dist-esm/src/constants.js +1 -1
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/generated/data/index.js +1 -1
- package/dist-esm/src/generated/data/index.js.map +1 -1
- package/dist-esm/src/generated/data/models/index.js +202 -1
- package/dist-esm/src/generated/data/models/index.js.map +1 -1
- package/dist-esm/src/generated/data/models/mappers.js +138 -1
- package/dist-esm/src/generated/data/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/data/models/parameters.js +72 -22
- package/dist-esm/src/generated/data/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/data/operations/documents.js +32 -76
- package/dist-esm/src/generated/data/operations/documents.js.map +1 -1
- package/dist-esm/src/generated/data/operationsInterfaces/documents.js +9 -0
- package/dist-esm/src/generated/data/operationsInterfaces/documents.js.map +1 -0
- package/dist-esm/src/generated/data/operationsInterfaces/index.js +9 -0
- package/dist-esm/src/generated/data/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/generated/data/searchClient.js +33 -5
- package/dist-esm/src/generated/data/searchClient.js.map +1 -1
- package/dist-esm/src/generated/data/searchClientContext.js +13 -11
- package/dist-esm/src/generated/data/searchClientContext.js.map +1 -1
- package/dist-esm/src/generated/service/index.js +1 -1
- package/dist-esm/src/generated/service/index.js.map +1 -1
- package/dist-esm/src/generated/service/models/index.js +1284 -1
- package/dist-esm/src/generated/service/models/index.js.map +1 -1
- package/dist-esm/src/generated/service/models/mappers.js +750 -25
- package/dist-esm/src/generated/service/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/service/models/parameters.js +51 -10
- package/dist-esm/src/generated/service/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/service/operations/aliases.js +160 -0
- package/dist-esm/src/generated/service/operations/aliases.js.map +1 -0
- package/dist-esm/src/generated/service/operations/dataSources.js +16 -39
- package/dist-esm/src/generated/service/operations/dataSources.js.map +1 -1
- package/dist-esm/src/generated/service/operations/index.js +1 -0
- package/dist-esm/src/generated/service/operations/index.js.map +1 -1
- package/dist-esm/src/generated/service/operations/indexers.js +47 -57
- package/dist-esm/src/generated/service/operations/indexers.js.map +1 -1
- package/dist-esm/src/generated/service/operations/indexes.js +16 -55
- package/dist-esm/src/generated/service/operations/indexes.js.map +1 -1
- package/dist-esm/src/generated/service/operations/skillsets.js +42 -39
- package/dist-esm/src/generated/service/operations/skillsets.js.map +1 -1
- package/dist-esm/src/generated/service/operations/synonymMaps.js +12 -38
- package/dist-esm/src/generated/service/operations/synonymMaps.js.map +1 -1
- package/dist-esm/src/generated/service/operationsInterfaces/aliases.js +9 -0
- package/dist-esm/src/generated/service/operationsInterfaces/aliases.js.map +1 -0
- package/dist-esm/src/generated/service/operationsInterfaces/dataSources.js +9 -0
- package/dist-esm/src/generated/service/operationsInterfaces/dataSources.js.map +1 -0
- package/dist-esm/src/generated/service/operationsInterfaces/index.js +14 -0
- package/dist-esm/src/generated/service/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/generated/service/operationsInterfaces/indexers.js +9 -0
- package/dist-esm/src/generated/service/operationsInterfaces/indexers.js.map +1 -0
- package/dist-esm/src/generated/service/operationsInterfaces/indexes.js +9 -0
- package/dist-esm/src/generated/service/operationsInterfaces/indexes.js.map +1 -0
- package/dist-esm/src/generated/service/operationsInterfaces/skillsets.js +9 -0
- package/dist-esm/src/generated/service/operationsInterfaces/skillsets.js.map +1 -0
- package/dist-esm/src/generated/service/operationsInterfaces/synonymMaps.js +9 -0
- package/dist-esm/src/generated/service/operationsInterfaces/synonymMaps.js.map +1 -0
- package/dist-esm/src/generated/service/searchServiceClient.js +38 -16
- package/dist-esm/src/generated/service/searchServiceClient.js.map +1 -1
- package/dist-esm/src/generated/service/searchServiceClientContext.js +13 -11
- package/dist-esm/src/generated/service/searchServiceClientContext.js.map +1 -1
- package/dist-esm/src/geographyPoint.js +1 -1
- package/dist-esm/src/geographyPoint.js.map +1 -1
- package/dist-esm/src/index.js +4 -2
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/indexDocumentsBatch.js +1 -1
- package/dist-esm/src/indexDocumentsBatch.js.map +1 -1
- package/dist-esm/src/indexModels.js +0 -1
- package/dist-esm/src/indexModels.js.map +1 -1
- package/dist-esm/src/odataMetadataPolicy.js +7 -15
- package/dist-esm/src/odataMetadataPolicy.js.map +1 -1
- package/dist-esm/src/searchApiKeyCredentialPolicy.js +8 -21
- package/dist-esm/src/searchApiKeyCredentialPolicy.js.map +1 -1
- package/dist-esm/src/searchAudience.js.map +1 -1
- package/dist-esm/src/searchClient.js +200 -70
- package/dist-esm/src/searchClient.js.map +1 -1
- package/dist-esm/src/searchIndexClient.js +240 -74
- package/dist-esm/src/searchIndexClient.js.map +1 -1
- package/dist-esm/src/searchIndexerClient.js +143 -86
- package/dist-esm/src/searchIndexerClient.js.map +1 -1
- package/dist-esm/src/searchIndexingBufferedSender.js +16 -17
- package/dist-esm/src/searchIndexingBufferedSender.js.map +1 -1
- package/dist-esm/src/serialization.js +5 -5
- package/dist-esm/src/serialization.js.map +1 -1
- package/dist-esm/src/serviceModels.js.map +1 -1
- package/dist-esm/src/serviceUtils.js +68 -31
- package/dist-esm/src/serviceUtils.js.map +1 -1
- package/dist-esm/src/synonymMapHelper.js +6 -2
- package/dist-esm/src/synonymMapHelper.js.map +1 -1
- package/dist-esm/src/tracing.js +6 -5
- package/dist-esm/src/tracing.js.map +1 -1
- package/package.json +48 -49
- package/types/search-documents.d.ts +1935 -235
- package/CHANGELOG.md +0 -227
|
@@ -73,6 +73,20 @@ export const SearchDocumentsResult = {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
|
+
answers: {
|
|
77
|
+
serializedName: "@search\\.answers",
|
|
78
|
+
readOnly: true,
|
|
79
|
+
nullable: true,
|
|
80
|
+
type: {
|
|
81
|
+
name: "Sequence",
|
|
82
|
+
element: {
|
|
83
|
+
type: {
|
|
84
|
+
name: "Composite",
|
|
85
|
+
className: "AnswerResult"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
76
90
|
nextPageParameters: {
|
|
77
91
|
serializedName: "@search\\.nextPageParameters",
|
|
78
92
|
type: {
|
|
@@ -120,6 +134,47 @@ export const FacetResult = {
|
|
|
120
134
|
}
|
|
121
135
|
}
|
|
122
136
|
};
|
|
137
|
+
export const AnswerResult = {
|
|
138
|
+
type: {
|
|
139
|
+
name: "Composite",
|
|
140
|
+
className: "AnswerResult",
|
|
141
|
+
additionalProperties: { type: { name: "Object" } },
|
|
142
|
+
modelProperties: {
|
|
143
|
+
score: {
|
|
144
|
+
serializedName: "score",
|
|
145
|
+
required: true,
|
|
146
|
+
readOnly: true,
|
|
147
|
+
type: {
|
|
148
|
+
name: "Number"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
key: {
|
|
152
|
+
serializedName: "key",
|
|
153
|
+
required: true,
|
|
154
|
+
readOnly: true,
|
|
155
|
+
type: {
|
|
156
|
+
name: "String"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
text: {
|
|
160
|
+
serializedName: "text",
|
|
161
|
+
required: true,
|
|
162
|
+
readOnly: true,
|
|
163
|
+
type: {
|
|
164
|
+
name: "String"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
highlights: {
|
|
168
|
+
serializedName: "highlights",
|
|
169
|
+
readOnly: true,
|
|
170
|
+
nullable: true,
|
|
171
|
+
type: {
|
|
172
|
+
name: "String"
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
};
|
|
123
178
|
export const SearchRequest = {
|
|
124
179
|
type: {
|
|
125
180
|
name: "Composite",
|
|
@@ -182,7 +237,7 @@ export const SearchRequest = {
|
|
|
182
237
|
serializedName: "queryType",
|
|
183
238
|
type: {
|
|
184
239
|
name: "Enum",
|
|
185
|
-
allowedValues: ["simple", "full"]
|
|
240
|
+
allowedValues: ["simple", "full", "semantic"]
|
|
186
241
|
}
|
|
187
242
|
},
|
|
188
243
|
scoringStatistics: {
|
|
@@ -215,6 +270,12 @@ export const SearchRequest = {
|
|
|
215
270
|
name: "String"
|
|
216
271
|
}
|
|
217
272
|
},
|
|
273
|
+
semanticConfiguration: {
|
|
274
|
+
serializedName: "semanticConfiguration",
|
|
275
|
+
type: {
|
|
276
|
+
name: "String"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
218
279
|
searchText: {
|
|
219
280
|
serializedName: "search",
|
|
220
281
|
type: {
|
|
@@ -234,6 +295,24 @@ export const SearchRequest = {
|
|
|
234
295
|
allowedValues: ["any", "all"]
|
|
235
296
|
}
|
|
236
297
|
},
|
|
298
|
+
queryLanguage: {
|
|
299
|
+
serializedName: "queryLanguage",
|
|
300
|
+
type: {
|
|
301
|
+
name: "String"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
speller: {
|
|
305
|
+
serializedName: "speller",
|
|
306
|
+
type: {
|
|
307
|
+
name: "String"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
answers: {
|
|
311
|
+
serializedName: "answers",
|
|
312
|
+
type: {
|
|
313
|
+
name: "String"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
237
316
|
select: {
|
|
238
317
|
serializedName: "select",
|
|
239
318
|
type: {
|
|
@@ -251,6 +330,18 @@ export const SearchRequest = {
|
|
|
251
330
|
type: {
|
|
252
331
|
name: "Number"
|
|
253
332
|
}
|
|
333
|
+
},
|
|
334
|
+
captions: {
|
|
335
|
+
serializedName: "captions",
|
|
336
|
+
type: {
|
|
337
|
+
name: "String"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
semanticFields: {
|
|
341
|
+
serializedName: "semanticFields",
|
|
342
|
+
type: {
|
|
343
|
+
name: "String"
|
|
344
|
+
}
|
|
254
345
|
}
|
|
255
346
|
}
|
|
256
347
|
}
|
|
@@ -269,6 +360,14 @@ export const SearchResult = {
|
|
|
269
360
|
name: "Number"
|
|
270
361
|
}
|
|
271
362
|
},
|
|
363
|
+
rerankerScore: {
|
|
364
|
+
serializedName: "@search\\.rerankerScore",
|
|
365
|
+
readOnly: true,
|
|
366
|
+
nullable: true,
|
|
367
|
+
type: {
|
|
368
|
+
name: "Number"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
272
371
|
_highlights: {
|
|
273
372
|
serializedName: "@search\\.highlights",
|
|
274
373
|
readOnly: true,
|
|
@@ -278,6 +377,44 @@ export const SearchResult = {
|
|
|
278
377
|
type: { name: "Sequence", element: { type: { name: "String" } } }
|
|
279
378
|
}
|
|
280
379
|
}
|
|
380
|
+
},
|
|
381
|
+
captions: {
|
|
382
|
+
serializedName: "@search\\.captions",
|
|
383
|
+
readOnly: true,
|
|
384
|
+
nullable: true,
|
|
385
|
+
type: {
|
|
386
|
+
name: "Sequence",
|
|
387
|
+
element: {
|
|
388
|
+
type: {
|
|
389
|
+
name: "Composite",
|
|
390
|
+
className: "CaptionResult"
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
};
|
|
398
|
+
export const CaptionResult = {
|
|
399
|
+
type: {
|
|
400
|
+
name: "Composite",
|
|
401
|
+
className: "CaptionResult",
|
|
402
|
+
additionalProperties: { type: { name: "Object" } },
|
|
403
|
+
modelProperties: {
|
|
404
|
+
text: {
|
|
405
|
+
serializedName: "text",
|
|
406
|
+
readOnly: true,
|
|
407
|
+
type: {
|
|
408
|
+
name: "String"
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
highlights: {
|
|
412
|
+
serializedName: "highlights",
|
|
413
|
+
readOnly: true,
|
|
414
|
+
nullable: true,
|
|
415
|
+
type: {
|
|
416
|
+
name: "String"
|
|
417
|
+
}
|
|
281
418
|
}
|
|
282
419
|
}
|
|
283
420
|
}
|
|
@@ -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,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,kBAAkB;gBAClC,QAAQ,E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ACf;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,EAAE,QAAQ;iBACf;aACF;YACD,OAAO,EAAE;gBACP,cAAc,EAAE,SAAS;gBACzB,QAAQ,EAAE,IAAI;gBACd,IAAI,EA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;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const SearchError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SearchError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SearchError\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const SearchDocumentsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SearchDocumentsResult\",\n modelProperties: {\n count: {\n serializedName: \"@odata\\\\.count\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n coverage: {\n serializedName: \"@search\\\\.coverage\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n facets: {\n serializedName: \"@search\\\\.facets\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: {\n type: {\n name: \"Sequence\",\n element: { type: { name: \"Composite\", className: \"FacetResult\" } }\n }\n }\n }\n },\n answers: {\n serializedName: \"@search\\\\.answers\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"AnswerResult\"\n }\n }\n }\n },\n nextPageParameters: {\n serializedName: \"@search\\\\.nextPageParameters\",\n type: {\n name: \"Composite\",\n className: \"SearchRequest\"\n }\n },\n results: {\n serializedName: \"value\",\n required: true,\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SearchResult\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@odata\\\\.nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const FacetResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"FacetResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n count: {\n serializedName: \"count\",\n readOnly: true,\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const AnswerResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AnswerResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n score: {\n serializedName: \"score\",\n required: true,\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n key: {\n serializedName: \"key\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n text: {\n serializedName: \"text\",\n required: true,\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n highlights: {\n serializedName: \"highlights\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SearchRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SearchRequest\",\n modelProperties: {\n includeTotalResultCount: {\n serializedName: \"count\",\n type: {\n name: \"Boolean\"\n }\n },\n facets: {\n serializedName: \"facets\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n filter: {\n serializedName: \"filter\",\n type: {\n name: \"String\"\n }\n },\n highlightFields: {\n serializedName: \"highlight\",\n type: {\n name: \"String\"\n }\n },\n highlightPostTag: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n },\n highlightPreTag: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n },\n minimumCoverage: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n },\n orderBy: {\n serializedName: \"orderby\",\n type: {\n name: \"String\"\n }\n },\n queryType: {\n serializedName: \"queryType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"simple\", \"full\", \"semantic\"]\n }\n },\n scoringStatistics: {\n serializedName: \"scoringStatistics\",\n type: {\n name: \"Enum\",\n allowedValues: [\"local\", \"global\"]\n }\n },\n sessionId: {\n serializedName: \"sessionId\",\n type: {\n name: \"String\"\n }\n },\n scoringParameters: {\n serializedName: \"scoringParameters\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n scoringProfile: {\n serializedName: \"scoringProfile\",\n type: {\n name: \"String\"\n }\n },\n semanticConfiguration: {\n serializedName: \"semanticConfiguration\",\n type: {\n name: \"String\"\n }\n },\n searchText: {\n serializedName: \"search\",\n type: {\n name: \"String\"\n }\n },\n searchFields: {\n serializedName: \"searchFields\",\n type: {\n name: \"String\"\n }\n },\n searchMode: {\n serializedName: \"searchMode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"any\", \"all\"]\n }\n },\n queryLanguage: {\n serializedName: \"queryLanguage\",\n type: {\n name: \"String\"\n }\n },\n speller: {\n serializedName: \"speller\",\n type: {\n name: \"String\"\n }\n },\n answers: {\n serializedName: \"answers\",\n type: {\n name: \"String\"\n }\n },\n select: {\n serializedName: \"select\",\n type: {\n name: \"String\"\n }\n },\n skip: {\n serializedName: \"skip\",\n type: {\n name: \"Number\"\n }\n },\n top: {\n serializedName: \"top\",\n type: {\n name: \"Number\"\n }\n },\n captions: {\n serializedName: \"captions\",\n type: {\n name: \"String\"\n }\n },\n semanticFields: {\n serializedName: \"semanticFields\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SearchResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SearchResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n _score: {\n serializedName: \"@search\\\\.score\",\n required: true,\n readOnly: true,\n type: {\n name: \"Number\"\n }\n },\n rerankerScore: {\n serializedName: \"@search\\\\.rerankerScore\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"Number\"\n }\n },\n _highlights: {\n serializedName: \"@search\\\\.highlights\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Sequence\", element: { type: { name: \"String\" } } }\n }\n }\n },\n captions: {\n serializedName: \"@search\\\\.captions\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CaptionResult\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const CaptionResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CaptionResult\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n text: {\n serializedName: \"text\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n highlights: {\n serializedName: \"highlights\",\n readOnly: true,\n nullable: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const 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:
|
|
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:
|
|
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:
|
|
148
|
+
collectionFormat: "CSV"
|
|
159
149
|
};
|
|
160
150
|
export const queryType = {
|
|
161
151
|
parameterPath: ["options", "searchOptions", "queryType"],
|
|
@@ -163,7 +153,7 @@ export const queryType = {
|
|
|
163
153
|
serializedName: "queryType",
|
|
164
154
|
type: {
|
|
165
155
|
name: "Enum",
|
|
166
|
-
allowedValues: ["simple", "full"]
|
|
156
|
+
allowedValues: ["simple", "full", "semantic"]
|
|
167
157
|
}
|
|
168
158
|
}
|
|
169
159
|
};
|
|
@@ -180,7 +170,7 @@ export const scoringParameters = {
|
|
|
180
170
|
}
|
|
181
171
|
}
|
|
182
172
|
},
|
|
183
|
-
collectionFormat:
|
|
173
|
+
collectionFormat: "Multi"
|
|
184
174
|
};
|
|
185
175
|
export const scoringProfile = {
|
|
186
176
|
parameterPath: ["options", "searchOptions", "scoringProfile"],
|
|
@@ -191,6 +181,15 @@ export const scoringProfile = {
|
|
|
191
181
|
}
|
|
192
182
|
}
|
|
193
183
|
};
|
|
184
|
+
export const semanticConfiguration = {
|
|
185
|
+
parameterPath: ["options", "searchOptions", "semanticConfiguration"],
|
|
186
|
+
mapper: {
|
|
187
|
+
serializedName: "semanticConfiguration",
|
|
188
|
+
type: {
|
|
189
|
+
name: "String"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
};
|
|
194
193
|
export const searchFields = {
|
|
195
194
|
parameterPath: ["options", "searchOptions", "searchFields"],
|
|
196
195
|
mapper: {
|
|
@@ -204,7 +203,34 @@ export const searchFields = {
|
|
|
204
203
|
}
|
|
205
204
|
}
|
|
206
205
|
},
|
|
207
|
-
collectionFormat:
|
|
206
|
+
collectionFormat: "CSV"
|
|
207
|
+
};
|
|
208
|
+
export const queryLanguage = {
|
|
209
|
+
parameterPath: ["options", "searchOptions", "queryLanguage"],
|
|
210
|
+
mapper: {
|
|
211
|
+
serializedName: "queryLanguage",
|
|
212
|
+
type: {
|
|
213
|
+
name: "String"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
export const speller = {
|
|
218
|
+
parameterPath: ["options", "searchOptions", "speller"],
|
|
219
|
+
mapper: {
|
|
220
|
+
serializedName: "speller",
|
|
221
|
+
type: {
|
|
222
|
+
name: "String"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
export const answers = {
|
|
227
|
+
parameterPath: ["options", "searchOptions", "answers"],
|
|
228
|
+
mapper: {
|
|
229
|
+
serializedName: "answers",
|
|
230
|
+
type: {
|
|
231
|
+
name: "String"
|
|
232
|
+
}
|
|
233
|
+
}
|
|
208
234
|
};
|
|
209
235
|
export const searchMode = {
|
|
210
236
|
parameterPath: ["options", "searchOptions", "searchMode"],
|
|
@@ -248,7 +274,7 @@ export const select = {
|
|
|
248
274
|
}
|
|
249
275
|
}
|
|
250
276
|
},
|
|
251
|
-
collectionFormat:
|
|
277
|
+
collectionFormat: "CSV"
|
|
252
278
|
};
|
|
253
279
|
export const skip = {
|
|
254
280
|
parameterPath: ["options", "searchOptions", "skip"],
|
|
@@ -268,6 +294,30 @@ export const top = {
|
|
|
268
294
|
}
|
|
269
295
|
}
|
|
270
296
|
};
|
|
297
|
+
export const captions = {
|
|
298
|
+
parameterPath: ["options", "searchOptions", "captions"],
|
|
299
|
+
mapper: {
|
|
300
|
+
serializedName: "captions",
|
|
301
|
+
type: {
|
|
302
|
+
name: "String"
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
export const semanticFields = {
|
|
307
|
+
parameterPath: ["options", "searchOptions", "semanticFields"],
|
|
308
|
+
mapper: {
|
|
309
|
+
serializedName: "semanticFields",
|
|
310
|
+
type: {
|
|
311
|
+
name: "Sequence",
|
|
312
|
+
element: {
|
|
313
|
+
type: {
|
|
314
|
+
name: "String"
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
collectionFormat: "CSV"
|
|
320
|
+
};
|
|
271
321
|
export const contentType = {
|
|
272
322
|
parameterPath: ["options", "contentType"],
|
|
273
323
|
mapper: {
|
|
@@ -306,7 +356,7 @@ export const selectedFields = {
|
|
|
306
356
|
}
|
|
307
357
|
}
|
|
308
358
|
},
|
|
309
|
-
collectionFormat:
|
|
359
|
+
collectionFormat: "CSV"
|
|
310
360
|
};
|
|
311
361
|
export const searchText1 = {
|
|
312
362
|
parameterPath: "searchText",
|
|
@@ -386,7 +436,7 @@ export const orderBy1 = {
|
|
|
386
436
|
}
|
|
387
437
|
}
|
|
388
438
|
},
|
|
389
|
-
collectionFormat:
|
|
439
|
+
collectionFormat: "CSV"
|
|
390
440
|
};
|
|
391
441
|
export const searchFields1 = {
|
|
392
442
|
parameterPath: ["options", "suggestOptions", "searchFields"],
|
|
@@ -401,7 +451,7 @@ export const searchFields1 = {
|
|
|
401
451
|
}
|
|
402
452
|
}
|
|
403
453
|
},
|
|
404
|
-
collectionFormat:
|
|
454
|
+
collectionFormat: "CSV"
|
|
405
455
|
};
|
|
406
456
|
export const select1 = {
|
|
407
457
|
parameterPath: ["options", "suggestOptions", "select"],
|
|
@@ -416,7 +466,7 @@ export const select1 = {
|
|
|
416
466
|
}
|
|
417
467
|
}
|
|
418
468
|
},
|
|
419
|
-
collectionFormat:
|
|
469
|
+
collectionFormat: "CSV"
|
|
420
470
|
};
|
|
421
471
|
export const top1 = {
|
|
422
472
|
parameterPath: ["options", "suggestOptions", "top"],
|
|
@@ -503,7 +553,7 @@ export const searchFields2 = {
|
|
|
503
553
|
}
|
|
504
554
|
}
|
|
505
555
|
},
|
|
506
|
-
collectionFormat:
|
|
556
|
+
collectionFormat: "CSV"
|
|
507
557
|
};
|
|
508
558
|
export const top2 = {
|
|
509
559
|
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,E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,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA4B;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,cAAc,CAAC;IACjE,MAAM,EAAE;QACN,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;IACD,gBAAgB,EAAE,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,EAA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4B;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,cAAc,CAAC;IACjE,MAAM,EAAE;QACN,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;IACD,gBAAgB,EAAE,KAAK;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAA4B;IAC3C,aAAa,EAAE,CAAC,SAAS,EAAE,qBAAqB,EAAE,KAAK,CAAC;IACxD,MAAM,EAAE;QACN,cAAc,EAAE,MAAM;QACtB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAuB;IACrD,aAAa,EAAE,qBAAqB;IACpC,MAAM,EAAE,yBAAyB;CAClC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n SearchRequest as SearchRequestMapper,\n SuggestRequest as SuggestRequestMapper,\n IndexBatch as IndexBatchMapper,\n AutocompleteRequest as AutocompleteRequestMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const indexName: OperationURLParameter = {\n parameterPath: \"indexName\",\n mapper: {\n serializedName: \"indexName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n serializedName: \"api-version\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchText: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchText\"],\n mapper: {\n serializedName: \"search\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const includeTotalResultCount: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"includeTotalResultCount\"],\n mapper: {\n serializedName: \"$count\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const facets: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"facets\"],\n mapper: {\n serializedName: \"facet\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const highlightFields: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"highlightFields\"],\n mapper: {\n serializedName: \"highlight\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const highlightPostTag: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"highlightPostTag\"],\n mapper: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const highlightPreTag: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"highlightPreTag\"],\n mapper: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const minimumCoverage: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"minimumCoverage\"],\n mapper: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const orderBy: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"orderBy\"],\n mapper: {\n serializedName: \"$orderby\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const queryType: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"queryType\"],\n mapper: {\n serializedName: \"queryType\",\n type: {\n name: \"Enum\",\n allowedValues: [\"simple\", \"full\", \"semantic\"]\n }\n }\n};\n\nexport const scoringParameters: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"scoringParameters\"],\n mapper: {\n serializedName: \"scoringParameter\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"Multi\"\n};\n\nexport const scoringProfile: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"scoringProfile\"],\n mapper: {\n serializedName: \"scoringProfile\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const semanticConfiguration: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"semanticConfiguration\"],\n mapper: {\n serializedName: \"semanticConfiguration\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchFields: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"searchFields\"],\n mapper: {\n serializedName: \"searchFields\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const queryLanguage: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"queryLanguage\"],\n mapper: {\n serializedName: \"queryLanguage\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const speller: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"speller\"],\n mapper: {\n serializedName: \"speller\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const answers: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"answers\"],\n mapper: {\n serializedName: \"answers\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchMode: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"searchMode\"],\n mapper: {\n serializedName: \"searchMode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"any\", \"all\"]\n }\n }\n};\n\nexport const scoringStatistics: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"scoringStatistics\"],\n mapper: {\n serializedName: \"scoringStatistics\",\n type: {\n name: \"Enum\",\n allowedValues: [\"local\", \"global\"]\n }\n }\n};\n\nexport const sessionId: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"sessionId\"],\n mapper: {\n serializedName: \"sessionId\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const select: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"select\"],\n mapper: {\n serializedName: \"$select\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const skip: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"skip\"],\n mapper: {\n serializedName: \"$skip\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const captions: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"captions\"],\n mapper: {\n serializedName: \"captions\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const semanticFields: OperationQueryParameter = {\n parameterPath: [\"options\", \"searchOptions\", \"semanticFields\"],\n mapper: {\n serializedName: \"semanticFields\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const searchRequest: OperationParameter = {\n parameterPath: \"searchRequest\",\n mapper: SearchRequestMapper\n};\n\nexport const key: OperationURLParameter = {\n parameterPath: \"key\",\n mapper: {\n serializedName: \"key\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const selectedFields: OperationQueryParameter = {\n parameterPath: [\"options\", \"selectedFields\"],\n mapper: {\n serializedName: \"$select\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const searchText1: OperationQueryParameter = {\n parameterPath: \"searchText\",\n mapper: {\n serializedName: \"search\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const suggesterName: OperationQueryParameter = {\n parameterPath: \"suggesterName\",\n mapper: {\n serializedName: \"suggesterName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const filter1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const useFuzzyMatching: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"useFuzzyMatching\"],\n mapper: {\n serializedName: \"fuzzy\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const highlightPostTag1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"highlightPostTag\"],\n mapper: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const highlightPreTag1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"highlightPreTag\"],\n mapper: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const minimumCoverage1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"minimumCoverage\"],\n mapper: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const orderBy1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"orderBy\"],\n mapper: {\n serializedName: \"$orderby\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const searchFields1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"searchFields\"],\n mapper: {\n serializedName: \"searchFields\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const select1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"select\"],\n mapper: {\n serializedName: \"$select\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const top1: OperationQueryParameter = {\n parameterPath: [\"options\", \"suggestOptions\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const suggestRequest: OperationParameter = {\n parameterPath: \"suggestRequest\",\n mapper: SuggestRequestMapper\n};\n\nexport const batch: OperationParameter = {\n parameterPath: \"batch\",\n mapper: IndexBatchMapper\n};\n\nexport const autocompleteMode: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"autocompleteMode\"],\n mapper: {\n serializedName: \"autocompleteMode\",\n type: {\n name: \"Enum\",\n allowedValues: [\"oneTerm\", \"twoTerms\", \"oneTermWithContext\"]\n }\n }\n};\n\nexport const filter2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const useFuzzyMatching1: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"useFuzzyMatching\"],\n mapper: {\n serializedName: \"fuzzy\",\n type: {\n name: \"Boolean\"\n }\n }\n};\n\nexport const highlightPostTag2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"highlightPostTag\"],\n mapper: {\n serializedName: \"highlightPostTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const highlightPreTag2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"highlightPreTag\"],\n mapper: {\n serializedName: \"highlightPreTag\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const minimumCoverage2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"minimumCoverage\"],\n mapper: {\n serializedName: \"minimumCoverage\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const searchFields2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"searchFields\"],\n mapper: {\n serializedName: \"searchFields\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: \"CSV\"\n};\n\nexport const top2: OperationQueryParameter = {\n parameterPath: [\"options\", \"autocompleteOptions\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\"\n }\n }\n};\n\nexport const autocompleteRequest: OperationParameter = {\n parameterPath: \"autocompleteRequest\",\n mapper: AutocompleteRequestMapper\n};\n"]}
|