@azure/search-documents 12.0.0-beta.4 → 12.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -32
- package/dist/index.js +13493 -13180
- package/dist/index.js.map +1 -1
- package/dist-esm/src/constants.js +2 -1
- package/dist-esm/src/constants.js.map +1 -1
- package/dist-esm/src/errorModels.js +4 -0
- package/dist-esm/src/errorModels.js.map +1 -0
- package/dist-esm/src/generated/data/models/index.js +37 -53
- package/dist-esm/src/generated/data/models/index.js.map +1 -1
- package/dist-esm/src/generated/data/models/mappers.js +398 -331
- package/dist-esm/src/generated/data/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/data/models/parameters.js +195 -195
- package/dist-esm/src/generated/data/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/data/operations/documents.js +41 -41
- package/dist-esm/src/generated/data/operations/documents.js.map +1 -1
- package/dist-esm/src/generated/data/operationsInterfaces/documents.js.map +1 -1
- package/dist-esm/src/generated/data/searchClient.js +30 -4
- package/dist-esm/src/generated/data/searchClient.js.map +1 -1
- package/dist-esm/src/generated/service/models/index.js +138 -69
- package/dist-esm/src/generated/service/models/index.js.map +1 -1
- package/dist-esm/src/generated/service/models/mappers.js +1821 -1663
- package/dist-esm/src/generated/service/models/mappers.js.map +1 -1
- package/dist-esm/src/generated/service/models/parameters.js +64 -64
- package/dist-esm/src/generated/service/models/parameters.js.map +1 -1
- package/dist-esm/src/generated/service/operations/aliases.js +22 -22
- package/dist-esm/src/generated/service/operations/aliases.js.map +1 -1
- package/dist-esm/src/generated/service/operations/dataSources.js +23 -23
- package/dist-esm/src/generated/service/operations/dataSources.js.map +1 -1
- package/dist-esm/src/generated/service/operations/indexers.js +36 -36
- package/dist-esm/src/generated/service/operations/indexers.js.map +1 -1
- package/dist-esm/src/generated/service/operations/indexes.js +30 -30
- package/dist-esm/src/generated/service/operations/indexes.js.map +1 -1
- package/dist-esm/src/generated/service/operations/skillsets.js +26 -26
- package/dist-esm/src/generated/service/operations/skillsets.js.map +1 -1
- package/dist-esm/src/generated/service/operations/synonymMaps.js +22 -22
- package/dist-esm/src/generated/service/operations/synonymMaps.js.map +1 -1
- package/dist-esm/src/generated/service/operationsInterfaces/aliases.js.map +1 -1
- package/dist-esm/src/generated/service/operationsInterfaces/dataSources.js.map +1 -1
- package/dist-esm/src/generated/service/operationsInterfaces/indexers.js.map +1 -1
- package/dist-esm/src/generated/service/operationsInterfaces/indexes.js.map +1 -1
- package/dist-esm/src/generated/service/operationsInterfaces/skillsets.js.map +1 -1
- package/dist-esm/src/generated/service/operationsInterfaces/synonymMaps.js.map +1 -1
- package/dist-esm/src/generated/service/searchServiceClient.js +35 -9
- package/dist-esm/src/generated/service/searchServiceClient.js.map +1 -1
- package/dist-esm/src/generatedStringLiteralUnions.js +4 -0
- package/dist-esm/src/generatedStringLiteralUnions.js.map +1 -0
- package/dist-esm/src/index.js +8 -9
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/indexDocumentsBatch.js.map +1 -1
- package/dist-esm/src/indexModels.js.map +1 -1
- package/dist-esm/src/odata.js.map +1 -1
- package/dist-esm/src/odataMetadataPolicy.js.map +1 -1
- package/dist-esm/src/searchApiKeyCredentialPolicy.js.map +1 -1
- package/dist-esm/src/searchClient.js +36 -27
- package/dist-esm/src/searchClient.js.map +1 -1
- package/dist-esm/src/searchIndexClient.js +15 -29
- package/dist-esm/src/searchIndexClient.js.map +1 -1
- package/dist-esm/src/searchIndexerClient.js +9 -6
- package/dist-esm/src/searchIndexerClient.js.map +1 -1
- package/dist-esm/src/searchIndexingBufferedSender.js +3 -8
- package/dist-esm/src/searchIndexingBufferedSender.js.map +1 -1
- package/dist-esm/src/serialization.js.map +1 -1
- package/dist-esm/src/serviceModels.js.map +1 -1
- package/dist-esm/src/serviceUtils.js +44 -67
- package/dist-esm/src/serviceUtils.js.map +1 -1
- package/dist-esm/src/synonymMapHelper.browser.js.map +1 -1
- package/dist-esm/src/synonymMapHelper.js +1 -1
- package/dist-esm/src/synonymMapHelper.js.map +1 -1
- package/dist-esm/src/tracing.js +1 -1
- package/dist-esm/src/tracing.js.map +1 -1
- package/package.json +42 -43
- package/types/search-documents.d.ts +1014 -1458
|
@@ -5,7 +5,7 @@
|
|
|
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 { SearchRequest as SearchRequestMapper, SuggestRequest as SuggestRequestMapper, IndexBatch as IndexBatchMapper, AutocompleteRequest as AutocompleteRequestMapper } from "../models/mappers";
|
|
8
|
+
import { SearchRequest as SearchRequestMapper, SuggestRequest as SuggestRequestMapper, IndexBatch as IndexBatchMapper, AutocompleteRequest as AutocompleteRequestMapper, } from "../models/mappers";
|
|
9
9
|
export const accept = {
|
|
10
10
|
parameterPath: "accept",
|
|
11
11
|
mapper: {
|
|
@@ -13,9 +13,9 @@ export const accept = {
|
|
|
13
13
|
isConstant: true,
|
|
14
14
|
serializedName: "Accept",
|
|
15
15
|
type: {
|
|
16
|
-
name: "String"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
16
|
+
name: "String",
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
19
|
};
|
|
20
20
|
export const endpoint = {
|
|
21
21
|
parameterPath: "endpoint",
|
|
@@ -23,10 +23,10 @@ export const endpoint = {
|
|
|
23
23
|
serializedName: "endpoint",
|
|
24
24
|
required: true,
|
|
25
25
|
type: {
|
|
26
|
-
name: "String"
|
|
27
|
-
}
|
|
26
|
+
name: "String",
|
|
27
|
+
},
|
|
28
28
|
},
|
|
29
|
-
skipEncoding: true
|
|
29
|
+
skipEncoding: true,
|
|
30
30
|
};
|
|
31
31
|
export const indexName = {
|
|
32
32
|
parameterPath: "indexName",
|
|
@@ -34,9 +34,9 @@ export const indexName = {
|
|
|
34
34
|
serializedName: "indexName",
|
|
35
35
|
required: true,
|
|
36
36
|
type: {
|
|
37
|
-
name: "String"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
37
|
+
name: "String",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
40
|
};
|
|
41
41
|
export const apiVersion = {
|
|
42
42
|
parameterPath: "apiVersion",
|
|
@@ -44,27 +44,27 @@ export const apiVersion = {
|
|
|
44
44
|
serializedName: "api-version",
|
|
45
45
|
required: true,
|
|
46
46
|
type: {
|
|
47
|
-
name: "String"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
47
|
+
name: "String",
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
50
|
};
|
|
51
51
|
export const searchText = {
|
|
52
52
|
parameterPath: ["options", "searchText"],
|
|
53
53
|
mapper: {
|
|
54
54
|
serializedName: "search",
|
|
55
55
|
type: {
|
|
56
|
-
name: "String"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
56
|
+
name: "String",
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
59
|
};
|
|
60
60
|
export const includeTotalResultCount = {
|
|
61
61
|
parameterPath: ["options", "searchOptions", "includeTotalResultCount"],
|
|
62
62
|
mapper: {
|
|
63
63
|
serializedName: "$count",
|
|
64
64
|
type: {
|
|
65
|
-
name: "Boolean"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
65
|
+
name: "Boolean",
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
68
|
};
|
|
69
69
|
export const facets = {
|
|
70
70
|
parameterPath: ["options", "searchOptions", "facets"],
|
|
@@ -74,21 +74,21 @@ export const facets = {
|
|
|
74
74
|
name: "Sequence",
|
|
75
75
|
element: {
|
|
76
76
|
type: {
|
|
77
|
-
name: "String"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
77
|
+
name: "String",
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
81
|
},
|
|
82
|
-
collectionFormat: "Multi"
|
|
82
|
+
collectionFormat: "Multi",
|
|
83
83
|
};
|
|
84
84
|
export const filter = {
|
|
85
85
|
parameterPath: ["options", "searchOptions", "filter"],
|
|
86
86
|
mapper: {
|
|
87
87
|
serializedName: "$filter",
|
|
88
88
|
type: {
|
|
89
|
-
name: "String"
|
|
90
|
-
}
|
|
91
|
-
}
|
|
89
|
+
name: "String",
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
92
|
};
|
|
93
93
|
export const highlightFields = {
|
|
94
94
|
parameterPath: ["options", "searchOptions", "highlightFields"],
|
|
@@ -98,39 +98,39 @@ export const highlightFields = {
|
|
|
98
98
|
name: "Sequence",
|
|
99
99
|
element: {
|
|
100
100
|
type: {
|
|
101
|
-
name: "String"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
101
|
+
name: "String",
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
105
|
},
|
|
106
|
-
collectionFormat: "CSV"
|
|
106
|
+
collectionFormat: "CSV",
|
|
107
107
|
};
|
|
108
108
|
export const highlightPostTag = {
|
|
109
109
|
parameterPath: ["options", "searchOptions", "highlightPostTag"],
|
|
110
110
|
mapper: {
|
|
111
111
|
serializedName: "highlightPostTag",
|
|
112
112
|
type: {
|
|
113
|
-
name: "String"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
113
|
+
name: "String",
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
116
|
};
|
|
117
117
|
export const highlightPreTag = {
|
|
118
118
|
parameterPath: ["options", "searchOptions", "highlightPreTag"],
|
|
119
119
|
mapper: {
|
|
120
120
|
serializedName: "highlightPreTag",
|
|
121
121
|
type: {
|
|
122
|
-
name: "String"
|
|
123
|
-
}
|
|
124
|
-
}
|
|
122
|
+
name: "String",
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
125
|
};
|
|
126
126
|
export const minimumCoverage = {
|
|
127
127
|
parameterPath: ["options", "searchOptions", "minimumCoverage"],
|
|
128
128
|
mapper: {
|
|
129
129
|
serializedName: "minimumCoverage",
|
|
130
130
|
type: {
|
|
131
|
-
name: "Number"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
131
|
+
name: "Number",
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
134
|
};
|
|
135
135
|
export const orderBy = {
|
|
136
136
|
parameterPath: ["options", "searchOptions", "orderBy"],
|
|
@@ -140,12 +140,12 @@ export const orderBy = {
|
|
|
140
140
|
name: "Sequence",
|
|
141
141
|
element: {
|
|
142
142
|
type: {
|
|
143
|
-
name: "String"
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
143
|
+
name: "String",
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
147
|
},
|
|
148
|
-
collectionFormat: "CSV"
|
|
148
|
+
collectionFormat: "CSV",
|
|
149
149
|
};
|
|
150
150
|
export const queryType = {
|
|
151
151
|
parameterPath: ["options", "searchOptions", "queryType"],
|
|
@@ -153,9 +153,9 @@ export const queryType = {
|
|
|
153
153
|
serializedName: "queryType",
|
|
154
154
|
type: {
|
|
155
155
|
name: "Enum",
|
|
156
|
-
allowedValues: ["simple", "full", "semantic"]
|
|
157
|
-
}
|
|
158
|
-
}
|
|
156
|
+
allowedValues: ["simple", "full", "semantic"],
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
159
|
};
|
|
160
160
|
export const scoringParameters = {
|
|
161
161
|
parameterPath: ["options", "searchOptions", "scoringParameters"],
|
|
@@ -165,69 +165,69 @@ export const scoringParameters = {
|
|
|
165
165
|
name: "Sequence",
|
|
166
166
|
element: {
|
|
167
167
|
type: {
|
|
168
|
-
name: "String"
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
168
|
+
name: "String",
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
172
|
},
|
|
173
|
-
collectionFormat: "Multi"
|
|
173
|
+
collectionFormat: "Multi",
|
|
174
174
|
};
|
|
175
175
|
export const scoringProfile = {
|
|
176
176
|
parameterPath: ["options", "searchOptions", "scoringProfile"],
|
|
177
177
|
mapper: {
|
|
178
178
|
serializedName: "scoringProfile",
|
|
179
179
|
type: {
|
|
180
|
-
name: "String"
|
|
181
|
-
}
|
|
182
|
-
}
|
|
180
|
+
name: "String",
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
183
|
};
|
|
184
184
|
export const semanticQuery = {
|
|
185
185
|
parameterPath: ["options", "searchOptions", "semanticQuery"],
|
|
186
186
|
mapper: {
|
|
187
187
|
serializedName: "semanticQuery",
|
|
188
188
|
type: {
|
|
189
|
-
name: "String"
|
|
190
|
-
}
|
|
191
|
-
}
|
|
189
|
+
name: "String",
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
192
|
};
|
|
193
193
|
export const semanticConfiguration = {
|
|
194
194
|
parameterPath: ["options", "searchOptions", "semanticConfiguration"],
|
|
195
195
|
mapper: {
|
|
196
196
|
serializedName: "semanticConfiguration",
|
|
197
197
|
type: {
|
|
198
|
-
name: "String"
|
|
199
|
-
}
|
|
200
|
-
}
|
|
198
|
+
name: "String",
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
201
|
};
|
|
202
202
|
export const semanticErrorHandling = {
|
|
203
203
|
parameterPath: ["options", "searchOptions", "semanticErrorHandling"],
|
|
204
204
|
mapper: {
|
|
205
205
|
serializedName: "semanticErrorHandling",
|
|
206
206
|
type: {
|
|
207
|
-
name: "String"
|
|
208
|
-
}
|
|
209
|
-
}
|
|
207
|
+
name: "String",
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
210
|
};
|
|
211
211
|
export const semanticMaxWaitInMilliseconds = {
|
|
212
212
|
parameterPath: ["options", "searchOptions", "semanticMaxWaitInMilliseconds"],
|
|
213
213
|
mapper: {
|
|
214
214
|
constraints: {
|
|
215
|
-
InclusiveMinimum: 700
|
|
215
|
+
InclusiveMinimum: 700,
|
|
216
216
|
},
|
|
217
217
|
serializedName: "semanticMaxWaitInMilliseconds",
|
|
218
218
|
type: {
|
|
219
|
-
name: "Number"
|
|
220
|
-
}
|
|
221
|
-
}
|
|
219
|
+
name: "Number",
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
222
|
};
|
|
223
223
|
export const debug = {
|
|
224
224
|
parameterPath: ["options", "searchOptions", "debug"],
|
|
225
225
|
mapper: {
|
|
226
226
|
serializedName: "debug",
|
|
227
227
|
type: {
|
|
228
|
-
name: "String"
|
|
229
|
-
}
|
|
230
|
-
}
|
|
228
|
+
name: "String",
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
231
|
};
|
|
232
232
|
export const searchFields = {
|
|
233
233
|
parameterPath: ["options", "searchOptions", "searchFields"],
|
|
@@ -237,39 +237,39 @@ export const searchFields = {
|
|
|
237
237
|
name: "Sequence",
|
|
238
238
|
element: {
|
|
239
239
|
type: {
|
|
240
|
-
name: "String"
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
}
|
|
240
|
+
name: "String",
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
244
|
},
|
|
245
|
-
collectionFormat: "CSV"
|
|
245
|
+
collectionFormat: "CSV",
|
|
246
246
|
};
|
|
247
247
|
export const queryLanguage = {
|
|
248
248
|
parameterPath: ["options", "searchOptions", "queryLanguage"],
|
|
249
249
|
mapper: {
|
|
250
250
|
serializedName: "queryLanguage",
|
|
251
251
|
type: {
|
|
252
|
-
name: "String"
|
|
253
|
-
}
|
|
254
|
-
}
|
|
252
|
+
name: "String",
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
255
|
};
|
|
256
256
|
export const speller = {
|
|
257
257
|
parameterPath: ["options", "searchOptions", "speller"],
|
|
258
258
|
mapper: {
|
|
259
259
|
serializedName: "speller",
|
|
260
260
|
type: {
|
|
261
|
-
name: "String"
|
|
262
|
-
}
|
|
263
|
-
}
|
|
261
|
+
name: "String",
|
|
262
|
+
},
|
|
263
|
+
},
|
|
264
264
|
};
|
|
265
265
|
export const answers = {
|
|
266
266
|
parameterPath: ["options", "searchOptions", "answers"],
|
|
267
267
|
mapper: {
|
|
268
268
|
serializedName: "answers",
|
|
269
269
|
type: {
|
|
270
|
-
name: "String"
|
|
271
|
-
}
|
|
272
|
-
}
|
|
270
|
+
name: "String",
|
|
271
|
+
},
|
|
272
|
+
},
|
|
273
273
|
};
|
|
274
274
|
export const searchMode = {
|
|
275
275
|
parameterPath: ["options", "searchOptions", "searchMode"],
|
|
@@ -277,9 +277,9 @@ export const searchMode = {
|
|
|
277
277
|
serializedName: "searchMode",
|
|
278
278
|
type: {
|
|
279
279
|
name: "Enum",
|
|
280
|
-
allowedValues: ["any", "all"]
|
|
281
|
-
}
|
|
282
|
-
}
|
|
280
|
+
allowedValues: ["any", "all"],
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
283
|
};
|
|
284
284
|
export const scoringStatistics = {
|
|
285
285
|
parameterPath: ["options", "searchOptions", "scoringStatistics"],
|
|
@@ -287,18 +287,18 @@ export const scoringStatistics = {
|
|
|
287
287
|
serializedName: "scoringStatistics",
|
|
288
288
|
type: {
|
|
289
289
|
name: "Enum",
|
|
290
|
-
allowedValues: ["local", "global"]
|
|
291
|
-
}
|
|
292
|
-
}
|
|
290
|
+
allowedValues: ["local", "global"],
|
|
291
|
+
},
|
|
292
|
+
},
|
|
293
293
|
};
|
|
294
294
|
export const sessionId = {
|
|
295
295
|
parameterPath: ["options", "searchOptions", "sessionId"],
|
|
296
296
|
mapper: {
|
|
297
297
|
serializedName: "sessionId",
|
|
298
298
|
type: {
|
|
299
|
-
name: "String"
|
|
300
|
-
}
|
|
301
|
-
}
|
|
299
|
+
name: "String",
|
|
300
|
+
},
|
|
301
|
+
},
|
|
302
302
|
};
|
|
303
303
|
export const select = {
|
|
304
304
|
parameterPath: ["options", "searchOptions", "select"],
|
|
@@ -308,39 +308,39 @@ export const select = {
|
|
|
308
308
|
name: "Sequence",
|
|
309
309
|
element: {
|
|
310
310
|
type: {
|
|
311
|
-
name: "String"
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
}
|
|
311
|
+
name: "String",
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
315
|
},
|
|
316
|
-
collectionFormat: "CSV"
|
|
316
|
+
collectionFormat: "CSV",
|
|
317
317
|
};
|
|
318
318
|
export const skip = {
|
|
319
319
|
parameterPath: ["options", "searchOptions", "skip"],
|
|
320
320
|
mapper: {
|
|
321
321
|
serializedName: "$skip",
|
|
322
322
|
type: {
|
|
323
|
-
name: "Number"
|
|
324
|
-
}
|
|
325
|
-
}
|
|
323
|
+
name: "Number",
|
|
324
|
+
},
|
|
325
|
+
},
|
|
326
326
|
};
|
|
327
327
|
export const top = {
|
|
328
328
|
parameterPath: ["options", "searchOptions", "top"],
|
|
329
329
|
mapper: {
|
|
330
330
|
serializedName: "$top",
|
|
331
331
|
type: {
|
|
332
|
-
name: "Number"
|
|
333
|
-
}
|
|
334
|
-
}
|
|
332
|
+
name: "Number",
|
|
333
|
+
},
|
|
334
|
+
},
|
|
335
335
|
};
|
|
336
336
|
export const captions = {
|
|
337
337
|
parameterPath: ["options", "searchOptions", "captions"],
|
|
338
338
|
mapper: {
|
|
339
339
|
serializedName: "captions",
|
|
340
340
|
type: {
|
|
341
|
-
name: "String"
|
|
342
|
-
}
|
|
343
|
-
}
|
|
341
|
+
name: "String",
|
|
342
|
+
},
|
|
343
|
+
},
|
|
344
344
|
};
|
|
345
345
|
export const semanticFields = {
|
|
346
346
|
parameterPath: ["options", "searchOptions", "semanticFields"],
|
|
@@ -350,12 +350,12 @@ export const semanticFields = {
|
|
|
350
350
|
name: "Sequence",
|
|
351
351
|
element: {
|
|
352
352
|
type: {
|
|
353
|
-
name: "String"
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
}
|
|
353
|
+
name: "String",
|
|
354
|
+
},
|
|
355
|
+
},
|
|
356
|
+
},
|
|
357
357
|
},
|
|
358
|
-
collectionFormat: "CSV"
|
|
358
|
+
collectionFormat: "CSV",
|
|
359
359
|
};
|
|
360
360
|
export const contentType = {
|
|
361
361
|
parameterPath: ["options", "contentType"],
|
|
@@ -364,13 +364,13 @@ export const contentType = {
|
|
|
364
364
|
isConstant: true,
|
|
365
365
|
serializedName: "Content-Type",
|
|
366
366
|
type: {
|
|
367
|
-
name: "String"
|
|
368
|
-
}
|
|
369
|
-
}
|
|
367
|
+
name: "String",
|
|
368
|
+
},
|
|
369
|
+
},
|
|
370
370
|
};
|
|
371
371
|
export const searchRequest = {
|
|
372
372
|
parameterPath: "searchRequest",
|
|
373
|
-
mapper: SearchRequestMapper
|
|
373
|
+
mapper: SearchRequestMapper,
|
|
374
374
|
};
|
|
375
375
|
export const key = {
|
|
376
376
|
parameterPath: "key",
|
|
@@ -378,9 +378,9 @@ export const key = {
|
|
|
378
378
|
serializedName: "key",
|
|
379
379
|
required: true,
|
|
380
380
|
type: {
|
|
381
|
-
name: "String"
|
|
382
|
-
}
|
|
383
|
-
}
|
|
381
|
+
name: "String",
|
|
382
|
+
},
|
|
383
|
+
},
|
|
384
384
|
};
|
|
385
385
|
export const selectedFields = {
|
|
386
386
|
parameterPath: ["options", "selectedFields"],
|
|
@@ -390,12 +390,12 @@ export const selectedFields = {
|
|
|
390
390
|
name: "Sequence",
|
|
391
391
|
element: {
|
|
392
392
|
type: {
|
|
393
|
-
name: "String"
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
}
|
|
393
|
+
name: "String",
|
|
394
|
+
},
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
397
|
},
|
|
398
|
-
collectionFormat: "CSV"
|
|
398
|
+
collectionFormat: "CSV",
|
|
399
399
|
};
|
|
400
400
|
export const searchText1 = {
|
|
401
401
|
parameterPath: "searchText",
|
|
@@ -403,9 +403,9 @@ export const searchText1 = {
|
|
|
403
403
|
serializedName: "search",
|
|
404
404
|
required: true,
|
|
405
405
|
type: {
|
|
406
|
-
name: "String"
|
|
407
|
-
}
|
|
408
|
-
}
|
|
406
|
+
name: "String",
|
|
407
|
+
},
|
|
408
|
+
},
|
|
409
409
|
};
|
|
410
410
|
export const suggesterName = {
|
|
411
411
|
parameterPath: "suggesterName",
|
|
@@ -413,54 +413,54 @@ export const suggesterName = {
|
|
|
413
413
|
serializedName: "suggesterName",
|
|
414
414
|
required: true,
|
|
415
415
|
type: {
|
|
416
|
-
name: "String"
|
|
417
|
-
}
|
|
418
|
-
}
|
|
416
|
+
name: "String",
|
|
417
|
+
},
|
|
418
|
+
},
|
|
419
419
|
};
|
|
420
420
|
export const filter1 = {
|
|
421
421
|
parameterPath: ["options", "suggestOptions", "filter"],
|
|
422
422
|
mapper: {
|
|
423
423
|
serializedName: "$filter",
|
|
424
424
|
type: {
|
|
425
|
-
name: "String"
|
|
426
|
-
}
|
|
427
|
-
}
|
|
425
|
+
name: "String",
|
|
426
|
+
},
|
|
427
|
+
},
|
|
428
428
|
};
|
|
429
429
|
export const useFuzzyMatching = {
|
|
430
430
|
parameterPath: ["options", "suggestOptions", "useFuzzyMatching"],
|
|
431
431
|
mapper: {
|
|
432
432
|
serializedName: "fuzzy",
|
|
433
433
|
type: {
|
|
434
|
-
name: "Boolean"
|
|
435
|
-
}
|
|
436
|
-
}
|
|
434
|
+
name: "Boolean",
|
|
435
|
+
},
|
|
436
|
+
},
|
|
437
437
|
};
|
|
438
438
|
export const highlightPostTag1 = {
|
|
439
439
|
parameterPath: ["options", "suggestOptions", "highlightPostTag"],
|
|
440
440
|
mapper: {
|
|
441
441
|
serializedName: "highlightPostTag",
|
|
442
442
|
type: {
|
|
443
|
-
name: "String"
|
|
444
|
-
}
|
|
445
|
-
}
|
|
443
|
+
name: "String",
|
|
444
|
+
},
|
|
445
|
+
},
|
|
446
446
|
};
|
|
447
447
|
export const highlightPreTag1 = {
|
|
448
448
|
parameterPath: ["options", "suggestOptions", "highlightPreTag"],
|
|
449
449
|
mapper: {
|
|
450
450
|
serializedName: "highlightPreTag",
|
|
451
451
|
type: {
|
|
452
|
-
name: "String"
|
|
453
|
-
}
|
|
454
|
-
}
|
|
452
|
+
name: "String",
|
|
453
|
+
},
|
|
454
|
+
},
|
|
455
455
|
};
|
|
456
456
|
export const minimumCoverage1 = {
|
|
457
457
|
parameterPath: ["options", "suggestOptions", "minimumCoverage"],
|
|
458
458
|
mapper: {
|
|
459
459
|
serializedName: "minimumCoverage",
|
|
460
460
|
type: {
|
|
461
|
-
name: "Number"
|
|
462
|
-
}
|
|
463
|
-
}
|
|
461
|
+
name: "Number",
|
|
462
|
+
},
|
|
463
|
+
},
|
|
464
464
|
};
|
|
465
465
|
export const orderBy1 = {
|
|
466
466
|
parameterPath: ["options", "suggestOptions", "orderBy"],
|
|
@@ -470,12 +470,12 @@ export const orderBy1 = {
|
|
|
470
470
|
name: "Sequence",
|
|
471
471
|
element: {
|
|
472
472
|
type: {
|
|
473
|
-
name: "String"
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
}
|
|
473
|
+
name: "String",
|
|
474
|
+
},
|
|
475
|
+
},
|
|
476
|
+
},
|
|
477
477
|
},
|
|
478
|
-
collectionFormat: "CSV"
|
|
478
|
+
collectionFormat: "CSV",
|
|
479
479
|
};
|
|
480
480
|
export const searchFields1 = {
|
|
481
481
|
parameterPath: ["options", "suggestOptions", "searchFields"],
|
|
@@ -485,12 +485,12 @@ export const searchFields1 = {
|
|
|
485
485
|
name: "Sequence",
|
|
486
486
|
element: {
|
|
487
487
|
type: {
|
|
488
|
-
name: "String"
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
}
|
|
488
|
+
name: "String",
|
|
489
|
+
},
|
|
490
|
+
},
|
|
491
|
+
},
|
|
492
492
|
},
|
|
493
|
-
collectionFormat: "CSV"
|
|
493
|
+
collectionFormat: "CSV",
|
|
494
494
|
};
|
|
495
495
|
export const select1 = {
|
|
496
496
|
parameterPath: ["options", "suggestOptions", "select"],
|
|
@@ -500,29 +500,29 @@ export const select1 = {
|
|
|
500
500
|
name: "Sequence",
|
|
501
501
|
element: {
|
|
502
502
|
type: {
|
|
503
|
-
name: "String"
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
}
|
|
503
|
+
name: "String",
|
|
504
|
+
},
|
|
505
|
+
},
|
|
506
|
+
},
|
|
507
507
|
},
|
|
508
|
-
collectionFormat: "CSV"
|
|
508
|
+
collectionFormat: "CSV",
|
|
509
509
|
};
|
|
510
510
|
export const top1 = {
|
|
511
511
|
parameterPath: ["options", "suggestOptions", "top"],
|
|
512
512
|
mapper: {
|
|
513
513
|
serializedName: "$top",
|
|
514
514
|
type: {
|
|
515
|
-
name: "Number"
|
|
516
|
-
}
|
|
517
|
-
}
|
|
515
|
+
name: "Number",
|
|
516
|
+
},
|
|
517
|
+
},
|
|
518
518
|
};
|
|
519
519
|
export const suggestRequest = {
|
|
520
520
|
parameterPath: "suggestRequest",
|
|
521
|
-
mapper: SuggestRequestMapper
|
|
521
|
+
mapper: SuggestRequestMapper,
|
|
522
522
|
};
|
|
523
523
|
export const batch = {
|
|
524
524
|
parameterPath: "batch",
|
|
525
|
-
mapper: IndexBatchMapper
|
|
525
|
+
mapper: IndexBatchMapper,
|
|
526
526
|
};
|
|
527
527
|
export const autocompleteMode = {
|
|
528
528
|
parameterPath: ["options", "autocompleteOptions", "autocompleteMode"],
|
|
@@ -530,54 +530,54 @@ export const autocompleteMode = {
|
|
|
530
530
|
serializedName: "autocompleteMode",
|
|
531
531
|
type: {
|
|
532
532
|
name: "Enum",
|
|
533
|
-
allowedValues: ["oneTerm", "twoTerms", "oneTermWithContext"]
|
|
534
|
-
}
|
|
535
|
-
}
|
|
533
|
+
allowedValues: ["oneTerm", "twoTerms", "oneTermWithContext"],
|
|
534
|
+
},
|
|
535
|
+
},
|
|
536
536
|
};
|
|
537
537
|
export const filter2 = {
|
|
538
538
|
parameterPath: ["options", "autocompleteOptions", "filter"],
|
|
539
539
|
mapper: {
|
|
540
540
|
serializedName: "$filter",
|
|
541
541
|
type: {
|
|
542
|
-
name: "String"
|
|
543
|
-
}
|
|
544
|
-
}
|
|
542
|
+
name: "String",
|
|
543
|
+
},
|
|
544
|
+
},
|
|
545
545
|
};
|
|
546
546
|
export const useFuzzyMatching1 = {
|
|
547
547
|
parameterPath: ["options", "autocompleteOptions", "useFuzzyMatching"],
|
|
548
548
|
mapper: {
|
|
549
549
|
serializedName: "fuzzy",
|
|
550
550
|
type: {
|
|
551
|
-
name: "Boolean"
|
|
552
|
-
}
|
|
553
|
-
}
|
|
551
|
+
name: "Boolean",
|
|
552
|
+
},
|
|
553
|
+
},
|
|
554
554
|
};
|
|
555
555
|
export const highlightPostTag2 = {
|
|
556
556
|
parameterPath: ["options", "autocompleteOptions", "highlightPostTag"],
|
|
557
557
|
mapper: {
|
|
558
558
|
serializedName: "highlightPostTag",
|
|
559
559
|
type: {
|
|
560
|
-
name: "String"
|
|
561
|
-
}
|
|
562
|
-
}
|
|
560
|
+
name: "String",
|
|
561
|
+
},
|
|
562
|
+
},
|
|
563
563
|
};
|
|
564
564
|
export const highlightPreTag2 = {
|
|
565
565
|
parameterPath: ["options", "autocompleteOptions", "highlightPreTag"],
|
|
566
566
|
mapper: {
|
|
567
567
|
serializedName: "highlightPreTag",
|
|
568
568
|
type: {
|
|
569
|
-
name: "String"
|
|
570
|
-
}
|
|
571
|
-
}
|
|
569
|
+
name: "String",
|
|
570
|
+
},
|
|
571
|
+
},
|
|
572
572
|
};
|
|
573
573
|
export const minimumCoverage2 = {
|
|
574
574
|
parameterPath: ["options", "autocompleteOptions", "minimumCoverage"],
|
|
575
575
|
mapper: {
|
|
576
576
|
serializedName: "minimumCoverage",
|
|
577
577
|
type: {
|
|
578
|
-
name: "Number"
|
|
579
|
-
}
|
|
580
|
-
}
|
|
578
|
+
name: "Number",
|
|
579
|
+
},
|
|
580
|
+
},
|
|
581
581
|
};
|
|
582
582
|
export const searchFields2 = {
|
|
583
583
|
parameterPath: ["options", "autocompleteOptions", "searchFields"],
|
|
@@ -587,24 +587,24 @@ export const searchFields2 = {
|
|
|
587
587
|
name: "Sequence",
|
|
588
588
|
element: {
|
|
589
589
|
type: {
|
|
590
|
-
name: "String"
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
}
|
|
590
|
+
name: "String",
|
|
591
|
+
},
|
|
592
|
+
},
|
|
593
|
+
},
|
|
594
594
|
},
|
|
595
|
-
collectionFormat: "CSV"
|
|
595
|
+
collectionFormat: "CSV",
|
|
596
596
|
};
|
|
597
597
|
export const top2 = {
|
|
598
598
|
parameterPath: ["options", "autocompleteOptions", "top"],
|
|
599
599
|
mapper: {
|
|
600
600
|
serializedName: "$top",
|
|
601
601
|
type: {
|
|
602
|
-
name: "Number"
|
|
603
|
-
}
|
|
604
|
-
}
|
|
602
|
+
name: "Number",
|
|
603
|
+
},
|
|
604
|
+
},
|
|
605
605
|
};
|
|
606
606
|
export const autocompleteRequest = {
|
|
607
607
|
parameterPath: "autocompleteRequest",
|
|
608
|
-
mapper: AutocompleteRequestMapper
|
|
608
|
+
mapper: AutocompleteRequestMapper,
|
|
609
609
|
};
|
|
610
610
|
//# sourceMappingURL=parameters.js.map
|