@globus/sdk 5.8.0 → 6.0.0-rc.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 +8 -7
- package/dist/cjs/core/authorization/index.js.map +1 -1
- package/dist/cjs/index.js +0 -4
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/services/globus-connect-server/client.js.map +2 -2
- package/dist/esm/apps/web.d.ts +1 -1
- package/dist/esm/apps/web.d.ts.map +1 -1
- package/dist/esm/core/authorization/RedirectTransport.d.ts +1 -1
- package/dist/esm/core/authorization/RedirectTransport.d.ts.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +0 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/open-api/types/compute.d.ts +3759 -0
- package/dist/esm/open-api/types/compute.d.ts.map +1 -0
- package/dist/esm/open-api/types/compute.js +2 -0
- package/dist/esm/open-api/types/compute.js.map +1 -0
- package/dist/esm/open-api/types/gcs/v5.4.d.ts +12052 -0
- package/dist/esm/open-api/types/gcs/v5.4.d.ts.map +1 -0
- package/dist/esm/open-api/types/gcs/v5.4.js +2 -0
- package/dist/esm/open-api/types/gcs/v5.4.js.map +1 -0
- package/dist/esm/open-api/types/groups.d.ts +2382 -0
- package/dist/esm/open-api/types/groups.d.ts.map +1 -0
- package/dist/esm/open-api/types/groups.js +2 -0
- package/dist/esm/open-api/types/groups.js.map +1 -0
- package/dist/esm/open-api/types/search.d.ts +2191 -0
- package/dist/esm/open-api/types/search.d.ts.map +1 -0
- package/dist/esm/open-api/types/search.js +2 -0
- package/dist/esm/open-api/types/search.js.map +1 -0
- package/dist/esm/open-api/types/timer.d.ts +942 -0
- package/dist/esm/open-api/types/timer.d.ts.map +1 -0
- package/dist/esm/open-api/types/timer.js +2 -0
- package/dist/esm/open-api/types/timer.js.map +1 -0
- package/dist/esm/package.json +1 -1
- package/dist/esm/services/auth/utils.d.ts +1 -1
- package/dist/esm/services/auth/utils.d.ts.map +1 -1
- package/dist/esm/services/compute/index.d.ts +1 -0
- package/dist/esm/services/compute/index.d.ts.map +1 -1
- package/dist/esm/services/compute/index.js.map +1 -1
- package/dist/esm/services/compute/service/endpoints.d.ts +5 -5
- package/dist/esm/services/compute/service/endpoints.d.ts.map +1 -1
- package/dist/esm/services/compute/service/endpoints.js.map +1 -1
- package/dist/esm/services/globus-connect-server/client.d.ts +646 -261
- package/dist/esm/services/globus-connect-server/client.d.ts.map +1 -1
- package/dist/esm/services/globus-connect-server/index.d.ts +1 -0
- package/dist/esm/services/globus-connect-server/index.d.ts.map +1 -1
- package/dist/esm/services/globus-connect-server/index.js.map +1 -1
- package/dist/esm/services/globus-connect-server/service/collections.d.ts +40 -40
- package/dist/esm/services/globus-connect-server/service/collections.d.ts.map +1 -1
- package/dist/esm/services/globus-connect-server/service/collections.js.map +1 -1
- package/dist/esm/services/globus-connect-server/service/endpoint.d.ts +35 -35
- package/dist/esm/services/globus-connect-server/service/endpoint.d.ts.map +1 -1
- package/dist/esm/services/globus-connect-server/service/endpoint.js.map +1 -1
- package/dist/esm/services/globus-connect-server/service/nodes.d.ts +30 -30
- package/dist/esm/services/globus-connect-server/service/nodes.d.ts.map +1 -1
- package/dist/esm/services/globus-connect-server/service/nodes.js.map +1 -1
- package/dist/esm/services/globus-connect-server/service/roles.d.ts +20 -20
- package/dist/esm/services/globus-connect-server/service/roles.d.ts.map +1 -1
- package/dist/esm/services/globus-connect-server/service/roles.js.map +1 -1
- package/dist/esm/services/globus-connect-server/service/storage-gateways.d.ts +31 -31
- package/dist/esm/services/globus-connect-server/service/storage-gateways.d.ts.map +1 -1
- package/dist/esm/services/globus-connect-server/service/storage-gateways.js.map +1 -1
- package/dist/esm/services/globus-connect-server/service/user-credentials.d.ts +30 -30
- package/dist/esm/services/globus-connect-server/service/user-credentials.d.ts.map +1 -1
- package/dist/esm/services/globus-connect-server/service/user-credentials.js.map +1 -1
- package/dist/esm/services/globus-connect-server/service/versioning.d.ts +6 -6
- package/dist/esm/services/globus-connect-server/service/versioning.d.ts.map +1 -1
- package/dist/esm/services/globus-connect-server/service/versioning.js.map +1 -1
- package/dist/esm/services/groups/index.d.ts +1 -0
- package/dist/esm/services/groups/index.d.ts.map +1 -1
- package/dist/esm/services/groups/index.js.map +1 -1
- package/dist/esm/services/groups/service/groups.d.ts +5 -5
- package/dist/esm/services/groups/service/groups.d.ts.map +1 -1
- package/dist/esm/services/groups/service/groups.js.map +1 -1
- package/dist/esm/services/groups/service/membership.d.ts +3 -3
- package/dist/esm/services/groups/service/membership.d.ts.map +1 -1
- package/dist/esm/services/groups/service/membership.js.map +1 -1
- package/dist/esm/services/groups/service/policies.d.ts +2 -2
- package/dist/esm/services/groups/service/policies.d.ts.map +1 -1
- package/dist/esm/services/groups/service/policies.js.map +1 -1
- package/dist/esm/services/search/index.d.ts +1 -0
- package/dist/esm/services/search/index.d.ts.map +1 -1
- package/dist/esm/services/search/index.js.map +1 -1
- package/dist/esm/services/timer/index.d.ts +1 -0
- package/dist/esm/services/timer/index.d.ts.map +1 -1
- package/dist/esm/services/timer/index.js.map +1 -1
- package/dist/esm/services/timer/service/timer.d.ts +28 -2
- package/dist/esm/services/timer/service/timer.d.ts.map +1 -1
- package/dist/esm/services/timer/service/timer.js.map +1 -1
- package/dist/esm/services/transfer/service/access.d.ts +28 -5
- package/dist/esm/services/transfer/service/access.d.ts.map +1 -1
- package/dist/esm/services/transfer/service/access.js.map +1 -1
- package/dist/esm/services/transfer/service/collection-bookmarks.d.ts +20 -6
- package/dist/esm/services/transfer/service/collection-bookmarks.d.ts.map +1 -1
- package/dist/esm/services/transfer/service/collection-bookmarks.js.map +1 -1
- package/dist/esm/services/transfer/service/endpoint-manager/endpoint.d.ts +14 -6
- package/dist/esm/services/transfer/service/endpoint-manager/endpoint.d.ts.map +1 -1
- package/dist/esm/services/transfer/service/endpoint-manager/endpoint.js.map +1 -1
- package/dist/esm/services/transfer/service/endpoint-manager/pause-rule.d.ts +28 -6
- package/dist/esm/services/transfer/service/endpoint-manager/pause-rule.d.ts.map +1 -1
- package/dist/esm/services/transfer/service/endpoint-manager/pause-rule.js.map +1 -1
- package/dist/esm/services/transfer/service/endpoint-manager/task.d.ts +93 -15
- package/dist/esm/services/transfer/service/endpoint-manager/task.d.ts.map +1 -1
- package/dist/esm/services/transfer/service/endpoint-manager/task.js +1 -1
- package/dist/esm/services/transfer/service/endpoint-manager/task.js.map +1 -1
- package/dist/esm/services/transfer/service/endpoint-search.d.ts +20 -12
- package/dist/esm/services/transfer/service/endpoint-search.d.ts.map +1 -1
- package/dist/esm/services/transfer/service/endpoint-search.js +2 -11
- package/dist/esm/services/transfer/service/endpoint-search.js.map +1 -1
- package/dist/esm/services/transfer/service/task.d.ts +157 -11
- package/dist/esm/services/transfer/service/task.d.ts.map +1 -1
- package/dist/esm/services/transfer/service/task.js.map +1 -1
- package/dist/esm/services/transfer/types.d.ts +16 -3
- package/dist/esm/services/transfer/types.d.ts.map +1 -1
- package/dist/umd/globus.production.js +2 -2
- package/dist/umd/globus.production.js.map +2 -2
- package/package.json +3 -10
|
@@ -0,0 +1,2191 @@
|
|
|
1
|
+
export interface paths {
|
|
2
|
+
"/v1/index/{index_id}/search": {
|
|
3
|
+
parameters: {
|
|
4
|
+
query?: never;
|
|
5
|
+
header?: never;
|
|
6
|
+
path?: never;
|
|
7
|
+
cookie?: never;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Search Query
|
|
11
|
+
* @description Takes a GET request and parses the query from (url-encoded) query parameters.
|
|
12
|
+
* Returns query results.
|
|
13
|
+
*
|
|
14
|
+
* The results can be paginated with limit+offset up to the boundary of 10,000 results.
|
|
15
|
+
*/
|
|
16
|
+
get: {
|
|
17
|
+
parameters: {
|
|
18
|
+
query: {
|
|
19
|
+
q: string;
|
|
20
|
+
limit?: number;
|
|
21
|
+
advanced?: boolean;
|
|
22
|
+
/** @description Set to true to allow this operation to return data with visibility which does not include the current user. Only allowed for index admins and owners. */
|
|
23
|
+
bypass_visible_to?: boolean;
|
|
24
|
+
filter_principal_sets?: string[];
|
|
25
|
+
offset?: number;
|
|
26
|
+
};
|
|
27
|
+
header?: never;
|
|
28
|
+
path: {
|
|
29
|
+
index_id: string;
|
|
30
|
+
};
|
|
31
|
+
cookie?: never;
|
|
32
|
+
};
|
|
33
|
+
requestBody?: never;
|
|
34
|
+
responses: {
|
|
35
|
+
/** @description
|
|
36
|
+
* A Search Result document.
|
|
37
|
+
*
|
|
38
|
+
* The offset, count, total, and has_next_page fields are computed based on the
|
|
39
|
+
* number of results which were matched and which results were returned by the
|
|
40
|
+
* search.
|
|
41
|
+
* As long as `has_next_page` is True, you can add the count of results to the offset
|
|
42
|
+
* of a prior query to fetch another page of results.
|
|
43
|
+
* */
|
|
44
|
+
200: {
|
|
45
|
+
headers: {
|
|
46
|
+
[name: string]: unknown;
|
|
47
|
+
};
|
|
48
|
+
content: {
|
|
49
|
+
"application/json": components["schemas"]["GSearchResult"];
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
put?: never;
|
|
55
|
+
/**
|
|
56
|
+
* Complex Search Query
|
|
57
|
+
* @description Takes a POST request and parses the query from the request body.
|
|
58
|
+
* The search may include advanced filtering criteria, facets (aggregations), field
|
|
59
|
+
* weights (boosts), and sorting criteria.
|
|
60
|
+
*
|
|
61
|
+
* The results can be paginated with limit+offset up to the boundary of 10,000 results.
|
|
62
|
+
*/
|
|
63
|
+
post: {
|
|
64
|
+
parameters: {
|
|
65
|
+
query?: never;
|
|
66
|
+
header?: never;
|
|
67
|
+
path: {
|
|
68
|
+
index_id: string;
|
|
69
|
+
};
|
|
70
|
+
cookie?: never;
|
|
71
|
+
};
|
|
72
|
+
requestBody?: {
|
|
73
|
+
content: {
|
|
74
|
+
"application/json": components["schemas"]["GSearchRequestBody"];
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
responses: {
|
|
78
|
+
/** @description
|
|
79
|
+
* A Search Result document.
|
|
80
|
+
*
|
|
81
|
+
* The offset, count, total, and has_next_page fields are computed based on the
|
|
82
|
+
* number of results which were matched and which results were returned by the
|
|
83
|
+
* search.
|
|
84
|
+
* As long as `has_next_page` is True, you can add the count of results to the offset
|
|
85
|
+
* of a prior query to fetch another page of results.
|
|
86
|
+
* */
|
|
87
|
+
200: {
|
|
88
|
+
headers: {
|
|
89
|
+
[name: string]: unknown;
|
|
90
|
+
};
|
|
91
|
+
content: {
|
|
92
|
+
"application/json": components["schemas"]["GSearchResult"];
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
delete?: never;
|
|
98
|
+
options?: never;
|
|
99
|
+
head?: never;
|
|
100
|
+
patch?: never;
|
|
101
|
+
trace?: never;
|
|
102
|
+
};
|
|
103
|
+
"/v1/index/{index_id}/scroll": {
|
|
104
|
+
parameters: {
|
|
105
|
+
query?: never;
|
|
106
|
+
header?: never;
|
|
107
|
+
path?: never;
|
|
108
|
+
cookie?: never;
|
|
109
|
+
};
|
|
110
|
+
get?: never;
|
|
111
|
+
put?: never;
|
|
112
|
+
/**
|
|
113
|
+
* Scroll Query
|
|
114
|
+
* @description Scrolling is similar to a complex post query, but is intended for collecting all
|
|
115
|
+
* results matching a search.
|
|
116
|
+
*
|
|
117
|
+
* Scroll queries use marker+has_next_page for pagination and have no pagination limit.
|
|
118
|
+
*/
|
|
119
|
+
post: {
|
|
120
|
+
parameters: {
|
|
121
|
+
query?: never;
|
|
122
|
+
header?: never;
|
|
123
|
+
path: {
|
|
124
|
+
index_id: string;
|
|
125
|
+
};
|
|
126
|
+
cookie?: never;
|
|
127
|
+
};
|
|
128
|
+
requestBody?: {
|
|
129
|
+
content: {
|
|
130
|
+
"application/json": components["schemas"]["GScrollRequest"];
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
responses: {
|
|
134
|
+
/** @description
|
|
135
|
+
* A Scroll Result document.
|
|
136
|
+
*
|
|
137
|
+
* This is nearly identical to a Search Result, but includes the `marker` parameter.
|
|
138
|
+
* `marker` is an opaque token which can be used on subsequent requests for pagination.
|
|
139
|
+
*
|
|
140
|
+
* NOTE: In rare cases, `has_next_page` may be True until an empty page of results is
|
|
141
|
+
* reached.
|
|
142
|
+
* */
|
|
143
|
+
200: {
|
|
144
|
+
headers: {
|
|
145
|
+
[name: string]: unknown;
|
|
146
|
+
};
|
|
147
|
+
content: {
|
|
148
|
+
"application/json": components["schemas"]["GScrollResponse"];
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
delete?: never;
|
|
154
|
+
options?: never;
|
|
155
|
+
head?: never;
|
|
156
|
+
patch?: never;
|
|
157
|
+
trace?: never;
|
|
158
|
+
};
|
|
159
|
+
"/v1/index/{index_id}/ingest": {
|
|
160
|
+
parameters: {
|
|
161
|
+
query?: never;
|
|
162
|
+
header?: never;
|
|
163
|
+
path?: never;
|
|
164
|
+
cookie?: never;
|
|
165
|
+
};
|
|
166
|
+
get?: never;
|
|
167
|
+
put?: never;
|
|
168
|
+
/**
|
|
169
|
+
* Ingest
|
|
170
|
+
* @description Create or update a single document or a collection of documents.
|
|
171
|
+
* This submits an asynchronous task and returns the task ID.
|
|
172
|
+
*
|
|
173
|
+
* It is possible for ingest to fail immediately with a non-200 response, but a 200 Ok
|
|
174
|
+
* does not indicate that the task will succeed. It just means it was accepted for
|
|
175
|
+
* processing. The status of the resulting task will be given by the state of the task.
|
|
176
|
+
*
|
|
177
|
+
* Use Get Task to monitor tasks after submission.
|
|
178
|
+
*/
|
|
179
|
+
post: {
|
|
180
|
+
parameters: {
|
|
181
|
+
query?: never;
|
|
182
|
+
header?: never;
|
|
183
|
+
path: {
|
|
184
|
+
index_id: string;
|
|
185
|
+
};
|
|
186
|
+
cookie?: never;
|
|
187
|
+
};
|
|
188
|
+
requestBody?: {
|
|
189
|
+
content: {
|
|
190
|
+
"application/json": components["schemas"]["GIngest"];
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
responses: {
|
|
194
|
+
/** @description A Task Submission response */
|
|
195
|
+
200: {
|
|
196
|
+
headers: {
|
|
197
|
+
[name: string]: unknown;
|
|
198
|
+
};
|
|
199
|
+
content: {
|
|
200
|
+
"application/json": components["schemas"]["TaskSubmitResponse"];
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
delete?: never;
|
|
206
|
+
options?: never;
|
|
207
|
+
head?: never;
|
|
208
|
+
patch?: never;
|
|
209
|
+
trace?: never;
|
|
210
|
+
};
|
|
211
|
+
"/v1/task/{task_id}": {
|
|
212
|
+
parameters: {
|
|
213
|
+
query?: never;
|
|
214
|
+
header?: never;
|
|
215
|
+
path?: never;
|
|
216
|
+
cookie?: never;
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* Get Task
|
|
220
|
+
* @description Lookup a Task by ID.
|
|
221
|
+
*/
|
|
222
|
+
get: {
|
|
223
|
+
parameters: {
|
|
224
|
+
query?: never;
|
|
225
|
+
header?: never;
|
|
226
|
+
path: {
|
|
227
|
+
task_id: string;
|
|
228
|
+
};
|
|
229
|
+
cookie?: never;
|
|
230
|
+
};
|
|
231
|
+
requestBody?: never;
|
|
232
|
+
responses: {
|
|
233
|
+
200: {
|
|
234
|
+
headers: {
|
|
235
|
+
[name: string]: unknown;
|
|
236
|
+
};
|
|
237
|
+
content: {
|
|
238
|
+
"application/json": components["schemas"]["Task"];
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
put?: never;
|
|
244
|
+
post?: never;
|
|
245
|
+
delete?: never;
|
|
246
|
+
options?: never;
|
|
247
|
+
head?: never;
|
|
248
|
+
patch?: never;
|
|
249
|
+
trace?: never;
|
|
250
|
+
};
|
|
251
|
+
"/v1/task_list/{index_id}": {
|
|
252
|
+
parameters: {
|
|
253
|
+
query?: never;
|
|
254
|
+
header?: never;
|
|
255
|
+
path?: never;
|
|
256
|
+
cookie?: never;
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* Task List
|
|
260
|
+
* @description List up to 1000 of the most recent tasks for an index.
|
|
261
|
+
*/
|
|
262
|
+
get: {
|
|
263
|
+
parameters: {
|
|
264
|
+
query?: never;
|
|
265
|
+
header?: never;
|
|
266
|
+
path: {
|
|
267
|
+
index_id: string;
|
|
268
|
+
};
|
|
269
|
+
cookie?: never;
|
|
270
|
+
};
|
|
271
|
+
requestBody?: never;
|
|
272
|
+
responses: {
|
|
273
|
+
200: {
|
|
274
|
+
headers: {
|
|
275
|
+
[name: string]: unknown;
|
|
276
|
+
};
|
|
277
|
+
content: {
|
|
278
|
+
"application/json": components["schemas"]["TaskList"];
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
put?: never;
|
|
284
|
+
post?: never;
|
|
285
|
+
delete?: never;
|
|
286
|
+
options?: never;
|
|
287
|
+
head?: never;
|
|
288
|
+
patch?: never;
|
|
289
|
+
trace?: never;
|
|
290
|
+
};
|
|
291
|
+
"/v1/index/{index_id}/entry": {
|
|
292
|
+
parameters: {
|
|
293
|
+
query?: never;
|
|
294
|
+
header?: never;
|
|
295
|
+
path?: never;
|
|
296
|
+
cookie?: never;
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* Get Entry
|
|
300
|
+
* @description Lookup a specific entry by ID.
|
|
301
|
+
*/
|
|
302
|
+
get: {
|
|
303
|
+
parameters: {
|
|
304
|
+
query: {
|
|
305
|
+
/** @description The subject for this entry */
|
|
306
|
+
subject: string;
|
|
307
|
+
/** @description The entry ID for this entry. The default entry ID is null */
|
|
308
|
+
entry_id?: string | null;
|
|
309
|
+
/** @description Set to true to allow this operation to return data with visibility which does not include the current user. Only allowed for index admins and owners. */
|
|
310
|
+
bypass_visible_to?: boolean;
|
|
311
|
+
};
|
|
312
|
+
header?: never;
|
|
313
|
+
path: {
|
|
314
|
+
index_id: string;
|
|
315
|
+
};
|
|
316
|
+
cookie?: never;
|
|
317
|
+
};
|
|
318
|
+
requestBody?: never;
|
|
319
|
+
responses: {
|
|
320
|
+
200: {
|
|
321
|
+
headers: {
|
|
322
|
+
[name: string]: unknown;
|
|
323
|
+
};
|
|
324
|
+
content: {
|
|
325
|
+
"application/json": components["schemas"]["GMetaResult"];
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
/**
|
|
331
|
+
* Upsert Entry
|
|
332
|
+
* @description Create or update a single entry.
|
|
333
|
+
* This is just a wrapper around Ingest.
|
|
334
|
+
*/
|
|
335
|
+
put: {
|
|
336
|
+
parameters: {
|
|
337
|
+
query?: never;
|
|
338
|
+
header?: never;
|
|
339
|
+
path: {
|
|
340
|
+
index_id: string;
|
|
341
|
+
};
|
|
342
|
+
cookie?: never;
|
|
343
|
+
};
|
|
344
|
+
requestBody?: {
|
|
345
|
+
content: {
|
|
346
|
+
"application/json": components["schemas"]["GMetaEntry"];
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
responses: {
|
|
350
|
+
/** @description A Task Submission response */
|
|
351
|
+
200: {
|
|
352
|
+
headers: {
|
|
353
|
+
[name: string]: unknown;
|
|
354
|
+
};
|
|
355
|
+
content: {
|
|
356
|
+
"application/json": components["schemas"]["TaskSubmitResponse"];
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
/**
|
|
362
|
+
* Upsert Entry
|
|
363
|
+
* @description Create or update a single entry.
|
|
364
|
+
* This is just a wrapper around Ingest.
|
|
365
|
+
*/
|
|
366
|
+
post: {
|
|
367
|
+
parameters: {
|
|
368
|
+
query?: never;
|
|
369
|
+
header?: never;
|
|
370
|
+
path: {
|
|
371
|
+
index_id: string;
|
|
372
|
+
};
|
|
373
|
+
cookie?: never;
|
|
374
|
+
};
|
|
375
|
+
requestBody?: {
|
|
376
|
+
content: {
|
|
377
|
+
"application/json": components["schemas"]["GMetaEntry"];
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
responses: {
|
|
381
|
+
/** @description A Task Submission response */
|
|
382
|
+
200: {
|
|
383
|
+
headers: {
|
|
384
|
+
[name: string]: unknown;
|
|
385
|
+
};
|
|
386
|
+
content: {
|
|
387
|
+
"application/json": components["schemas"]["TaskSubmitResponse"];
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
/**
|
|
393
|
+
* Delete Entry
|
|
394
|
+
* @description Delete a specific entry by ID.
|
|
395
|
+
*/
|
|
396
|
+
delete: {
|
|
397
|
+
parameters: {
|
|
398
|
+
query: {
|
|
399
|
+
/** @description The subject for this entry */
|
|
400
|
+
subject: string;
|
|
401
|
+
/** @description The entry ID for this entry. The default entry ID is null */
|
|
402
|
+
entry_id?: string | null;
|
|
403
|
+
};
|
|
404
|
+
header?: never;
|
|
405
|
+
path: {
|
|
406
|
+
index_id: string;
|
|
407
|
+
};
|
|
408
|
+
cookie?: never;
|
|
409
|
+
};
|
|
410
|
+
requestBody?: never;
|
|
411
|
+
responses: {
|
|
412
|
+
/** @description A Task Submission response */
|
|
413
|
+
200: {
|
|
414
|
+
headers: {
|
|
415
|
+
[name: string]: unknown;
|
|
416
|
+
};
|
|
417
|
+
content: {
|
|
418
|
+
"application/json": components["schemas"]["TaskSubmitResponse"];
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
options?: never;
|
|
424
|
+
head?: never;
|
|
425
|
+
patch?: never;
|
|
426
|
+
trace?: never;
|
|
427
|
+
};
|
|
428
|
+
"/v1/index/{index_id}": {
|
|
429
|
+
parameters: {
|
|
430
|
+
query?: never;
|
|
431
|
+
header?: never;
|
|
432
|
+
path?: never;
|
|
433
|
+
cookie?: never;
|
|
434
|
+
};
|
|
435
|
+
/**
|
|
436
|
+
* Index Info
|
|
437
|
+
* @description Lookup descriptive information about an index.
|
|
438
|
+
*/
|
|
439
|
+
get: {
|
|
440
|
+
parameters: {
|
|
441
|
+
query?: never;
|
|
442
|
+
header?: never;
|
|
443
|
+
path: {
|
|
444
|
+
index_id: string;
|
|
445
|
+
};
|
|
446
|
+
cookie?: never;
|
|
447
|
+
};
|
|
448
|
+
requestBody?: never;
|
|
449
|
+
responses: {
|
|
450
|
+
200: {
|
|
451
|
+
headers: {
|
|
452
|
+
[name: string]: unknown;
|
|
453
|
+
};
|
|
454
|
+
content: {
|
|
455
|
+
"application/json": components["schemas"]["IndexWithPermissions"];
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
put?: never;
|
|
461
|
+
post?: never;
|
|
462
|
+
/**
|
|
463
|
+
* Index Delete
|
|
464
|
+
* @description Delete an Index.
|
|
465
|
+
* This operation is not instantaneous, but marks the index for deletion by
|
|
466
|
+
* putting it into the 'delete-pending' state.
|
|
467
|
+
* Once all active tasks have been cancelled and the index is safe to clean up,
|
|
468
|
+
* it will be deleted.
|
|
469
|
+
*
|
|
470
|
+
* If an index is non-trial, the deletion will wait for 30 days.
|
|
471
|
+
* During that time, the index will not be usable, except for the
|
|
472
|
+
* `POST /v1/index/<index_id>/reopen` operation, which cancels the deletion.
|
|
473
|
+
*/
|
|
474
|
+
delete: {
|
|
475
|
+
parameters: {
|
|
476
|
+
query?: never;
|
|
477
|
+
header?: never;
|
|
478
|
+
path: {
|
|
479
|
+
index_id: string;
|
|
480
|
+
};
|
|
481
|
+
cookie?: never;
|
|
482
|
+
};
|
|
483
|
+
requestBody?: never;
|
|
484
|
+
responses: {
|
|
485
|
+
/** @description An index deletion response */
|
|
486
|
+
200: {
|
|
487
|
+
headers: {
|
|
488
|
+
[name: string]: unknown;
|
|
489
|
+
};
|
|
490
|
+
content: {
|
|
491
|
+
"application/json": components["schemas"]["IndexDeleteResponse"];
|
|
492
|
+
};
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
options?: never;
|
|
497
|
+
head?: never;
|
|
498
|
+
patch?: never;
|
|
499
|
+
trace?: never;
|
|
500
|
+
};
|
|
501
|
+
"/v1/index_list": {
|
|
502
|
+
parameters: {
|
|
503
|
+
query?: never;
|
|
504
|
+
header?: never;
|
|
505
|
+
path?: never;
|
|
506
|
+
cookie?: never;
|
|
507
|
+
};
|
|
508
|
+
/**
|
|
509
|
+
* Index List
|
|
510
|
+
* @description Lookup descriptive information about all indices on which you have write or admin
|
|
511
|
+
* permissions. Returns a list of at most 100 such indices.
|
|
512
|
+
*
|
|
513
|
+
* The indices will be annotated with a list of permissions which the current user has
|
|
514
|
+
* on the indices.
|
|
515
|
+
*
|
|
516
|
+
* By default, all indices where the user has a role are included in the results.
|
|
517
|
+
* To filter to a subset of roles, pass the `filter_roles` query parameter.
|
|
518
|
+
*/
|
|
519
|
+
get: {
|
|
520
|
+
parameters: {
|
|
521
|
+
query?: {
|
|
522
|
+
filter_roles?: ("owner" | "admin" | "writer")[];
|
|
523
|
+
};
|
|
524
|
+
header?: never;
|
|
525
|
+
path?: never;
|
|
526
|
+
cookie?: never;
|
|
527
|
+
};
|
|
528
|
+
requestBody?: never;
|
|
529
|
+
responses: {
|
|
530
|
+
200: {
|
|
531
|
+
headers: {
|
|
532
|
+
[name: string]: unknown;
|
|
533
|
+
};
|
|
534
|
+
content: {
|
|
535
|
+
"application/json": components["schemas"]["IndexListWPermissions"];
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
};
|
|
540
|
+
put?: never;
|
|
541
|
+
post?: never;
|
|
542
|
+
delete?: never;
|
|
543
|
+
options?: never;
|
|
544
|
+
head?: never;
|
|
545
|
+
patch?: never;
|
|
546
|
+
trace?: never;
|
|
547
|
+
};
|
|
548
|
+
"/v1/index": {
|
|
549
|
+
parameters: {
|
|
550
|
+
query?: never;
|
|
551
|
+
header?: never;
|
|
552
|
+
path?: never;
|
|
553
|
+
cookie?: never;
|
|
554
|
+
};
|
|
555
|
+
get?: never;
|
|
556
|
+
put?: never;
|
|
557
|
+
/**
|
|
558
|
+
* Index Create
|
|
559
|
+
* @description Create a new Index. You will automatically be assigned as an 'owner' on the
|
|
560
|
+
* resulting index.
|
|
561
|
+
*
|
|
562
|
+
* New indices have `is_trial=true` when they are created. Users are limited
|
|
563
|
+
* in the number of trial indices they may own -- so the operation may fail if
|
|
564
|
+
* you already own a trial index.
|
|
565
|
+
*/
|
|
566
|
+
post: {
|
|
567
|
+
parameters: {
|
|
568
|
+
query?: never;
|
|
569
|
+
header?: never;
|
|
570
|
+
path?: never;
|
|
571
|
+
cookie?: never;
|
|
572
|
+
};
|
|
573
|
+
requestBody?: {
|
|
574
|
+
content: {
|
|
575
|
+
"application/json": components["schemas"]["IndexCreate"];
|
|
576
|
+
};
|
|
577
|
+
};
|
|
578
|
+
responses: {
|
|
579
|
+
200: {
|
|
580
|
+
headers: {
|
|
581
|
+
[name: string]: unknown;
|
|
582
|
+
};
|
|
583
|
+
content: {
|
|
584
|
+
"application/json": components["schemas"]["IndexInfo"];
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
delete?: never;
|
|
590
|
+
options?: never;
|
|
591
|
+
head?: never;
|
|
592
|
+
patch?: never;
|
|
593
|
+
trace?: never;
|
|
594
|
+
};
|
|
595
|
+
"/v1/index/{index_id}/reopen": {
|
|
596
|
+
parameters: {
|
|
597
|
+
query?: never;
|
|
598
|
+
header?: never;
|
|
599
|
+
path?: never;
|
|
600
|
+
cookie?: never;
|
|
601
|
+
};
|
|
602
|
+
get?: never;
|
|
603
|
+
put?: never;
|
|
604
|
+
/**
|
|
605
|
+
* Index Reopen
|
|
606
|
+
* @description On an index which has a status of `delete-pending`, reopen that index and
|
|
607
|
+
* change its status to `open`. This operation is a special case of index
|
|
608
|
+
* update and requires 'owner' permissions on the index.
|
|
609
|
+
*
|
|
610
|
+
* Reopening an index is valid on trial and non-trial indices, but trial indices
|
|
611
|
+
* may be deleted at any time after their deletion.
|
|
612
|
+
* Therefore, this API is most useful for cancelling the deletion of a non-trial index.
|
|
613
|
+
*/
|
|
614
|
+
post: {
|
|
615
|
+
parameters: {
|
|
616
|
+
query?: never;
|
|
617
|
+
header?: never;
|
|
618
|
+
path: {
|
|
619
|
+
index_id: string;
|
|
620
|
+
};
|
|
621
|
+
cookie?: never;
|
|
622
|
+
};
|
|
623
|
+
requestBody?: never;
|
|
624
|
+
responses: {
|
|
625
|
+
/** @description An index reopen response */
|
|
626
|
+
200: {
|
|
627
|
+
headers: {
|
|
628
|
+
[name: string]: unknown;
|
|
629
|
+
};
|
|
630
|
+
content: {
|
|
631
|
+
"application/json": components["schemas"]["IndexReopenResponse"];
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
delete?: never;
|
|
637
|
+
options?: never;
|
|
638
|
+
head?: never;
|
|
639
|
+
patch?: never;
|
|
640
|
+
trace?: never;
|
|
641
|
+
};
|
|
642
|
+
"/v1/index/{index_id}/role_list": {
|
|
643
|
+
parameters: {
|
|
644
|
+
query?: never;
|
|
645
|
+
header?: never;
|
|
646
|
+
path?: never;
|
|
647
|
+
cookie?: never;
|
|
648
|
+
};
|
|
649
|
+
/**
|
|
650
|
+
* Role List
|
|
651
|
+
* @description List all roles on an index. In order to list roles, you must have the
|
|
652
|
+
* 'admin' or 'owner' role on an index.
|
|
653
|
+
*/
|
|
654
|
+
get: {
|
|
655
|
+
parameters: {
|
|
656
|
+
query?: never;
|
|
657
|
+
header?: never;
|
|
658
|
+
path: {
|
|
659
|
+
index_id: string;
|
|
660
|
+
};
|
|
661
|
+
cookie?: never;
|
|
662
|
+
};
|
|
663
|
+
requestBody?: never;
|
|
664
|
+
responses: {
|
|
665
|
+
200: {
|
|
666
|
+
headers: {
|
|
667
|
+
[name: string]: unknown;
|
|
668
|
+
};
|
|
669
|
+
content: {
|
|
670
|
+
"application/json": components["schemas"]["RoleList"];
|
|
671
|
+
};
|
|
672
|
+
};
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
put?: never;
|
|
676
|
+
post?: never;
|
|
677
|
+
delete?: never;
|
|
678
|
+
options?: never;
|
|
679
|
+
head?: never;
|
|
680
|
+
patch?: never;
|
|
681
|
+
trace?: never;
|
|
682
|
+
};
|
|
683
|
+
"/v1/index/{index_id}/role": {
|
|
684
|
+
parameters: {
|
|
685
|
+
query?: never;
|
|
686
|
+
header?: never;
|
|
687
|
+
path?: never;
|
|
688
|
+
cookie?: never;
|
|
689
|
+
};
|
|
690
|
+
get?: never;
|
|
691
|
+
put?: never;
|
|
692
|
+
/**
|
|
693
|
+
* Role Create
|
|
694
|
+
* @description Create a new Role on an index. In order to create a role, you must already
|
|
695
|
+
* have the 'admin' or 'owner' role. Only owners can create other owners.
|
|
696
|
+
*/
|
|
697
|
+
post: {
|
|
698
|
+
parameters: {
|
|
699
|
+
query?: never;
|
|
700
|
+
header?: never;
|
|
701
|
+
path: {
|
|
702
|
+
index_id: string;
|
|
703
|
+
};
|
|
704
|
+
cookie?: never;
|
|
705
|
+
};
|
|
706
|
+
requestBody?: {
|
|
707
|
+
content: {
|
|
708
|
+
"application/json": components["schemas"]["RoleCreate"];
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
responses: {
|
|
712
|
+
200: {
|
|
713
|
+
headers: {
|
|
714
|
+
[name: string]: unknown;
|
|
715
|
+
};
|
|
716
|
+
content: {
|
|
717
|
+
"application/json": components["schemas"]["Role"];
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
delete?: never;
|
|
723
|
+
options?: never;
|
|
724
|
+
head?: never;
|
|
725
|
+
patch?: never;
|
|
726
|
+
trace?: never;
|
|
727
|
+
};
|
|
728
|
+
"/v1/index/{index_id}/role/{role_id}": {
|
|
729
|
+
parameters: {
|
|
730
|
+
query?: never;
|
|
731
|
+
header?: never;
|
|
732
|
+
path?: never;
|
|
733
|
+
cookie?: never;
|
|
734
|
+
};
|
|
735
|
+
get?: never;
|
|
736
|
+
put?: never;
|
|
737
|
+
post?: never;
|
|
738
|
+
/**
|
|
739
|
+
* Role Delete
|
|
740
|
+
* @description Delete a Role on an index. In order to delete a role, you must have the
|
|
741
|
+
* 'admin' or 'owner' role. Unlike role creation, admin users can delete owner
|
|
742
|
+
* roles.
|
|
743
|
+
*
|
|
744
|
+
* The last owner role on an index cannot be deleted -- there is always at
|
|
745
|
+
* least one owner.
|
|
746
|
+
*/
|
|
747
|
+
delete: {
|
|
748
|
+
parameters: {
|
|
749
|
+
query?: never;
|
|
750
|
+
header?: never;
|
|
751
|
+
path: {
|
|
752
|
+
index_id: string;
|
|
753
|
+
role_id: string;
|
|
754
|
+
};
|
|
755
|
+
cookie?: never;
|
|
756
|
+
};
|
|
757
|
+
requestBody?: never;
|
|
758
|
+
responses: {
|
|
759
|
+
200: {
|
|
760
|
+
headers: {
|
|
761
|
+
[name: string]: unknown;
|
|
762
|
+
};
|
|
763
|
+
content: {
|
|
764
|
+
"application/json": components["schemas"]["DeletedRole"];
|
|
765
|
+
};
|
|
766
|
+
};
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
options?: never;
|
|
770
|
+
head?: never;
|
|
771
|
+
patch?: never;
|
|
772
|
+
trace?: never;
|
|
773
|
+
};
|
|
774
|
+
"/v1/index/{index_id}/batch_delete_by_subject": {
|
|
775
|
+
parameters: {
|
|
776
|
+
query?: never;
|
|
777
|
+
header?: never;
|
|
778
|
+
path?: never;
|
|
779
|
+
cookie?: never;
|
|
780
|
+
};
|
|
781
|
+
get?: never;
|
|
782
|
+
put?: never;
|
|
783
|
+
/**
|
|
784
|
+
* Delete By Subject
|
|
785
|
+
* @description Delete the document with the given Subject(s).
|
|
786
|
+
*/
|
|
787
|
+
post: {
|
|
788
|
+
parameters: {
|
|
789
|
+
query?: never;
|
|
790
|
+
header?: never;
|
|
791
|
+
path: {
|
|
792
|
+
index_id: string;
|
|
793
|
+
};
|
|
794
|
+
cookie?: never;
|
|
795
|
+
};
|
|
796
|
+
requestBody?: {
|
|
797
|
+
content: {
|
|
798
|
+
"application/json": components["schemas"]["DeleteBySubjectRequest"];
|
|
799
|
+
};
|
|
800
|
+
};
|
|
801
|
+
responses: {
|
|
802
|
+
/** @description A Task Submission response */
|
|
803
|
+
200: {
|
|
804
|
+
headers: {
|
|
805
|
+
[name: string]: unknown;
|
|
806
|
+
};
|
|
807
|
+
content: {
|
|
808
|
+
"application/json": components["schemas"]["TaskSubmitResponse"];
|
|
809
|
+
};
|
|
810
|
+
};
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
delete?: never;
|
|
814
|
+
options?: never;
|
|
815
|
+
head?: never;
|
|
816
|
+
patch?: never;
|
|
817
|
+
trace?: never;
|
|
818
|
+
};
|
|
819
|
+
"/v1/index/{index_id}/subject": {
|
|
820
|
+
parameters: {
|
|
821
|
+
query?: never;
|
|
822
|
+
header?: never;
|
|
823
|
+
path?: never;
|
|
824
|
+
cookie?: never;
|
|
825
|
+
};
|
|
826
|
+
/**
|
|
827
|
+
* Get Subject
|
|
828
|
+
* @description Lookup the document for a given Subject.
|
|
829
|
+
*/
|
|
830
|
+
get: {
|
|
831
|
+
parameters: {
|
|
832
|
+
query: {
|
|
833
|
+
/** @description The subject for this operation */
|
|
834
|
+
subject: string;
|
|
835
|
+
/** @description Set to true to allow this operation to return data with visibility which does not include the current user. Only allowed for index admins and owners. */
|
|
836
|
+
bypass_visible_to?: boolean;
|
|
837
|
+
};
|
|
838
|
+
header?: never;
|
|
839
|
+
path: {
|
|
840
|
+
index_id: string;
|
|
841
|
+
};
|
|
842
|
+
cookie?: never;
|
|
843
|
+
};
|
|
844
|
+
requestBody?: never;
|
|
845
|
+
responses: {
|
|
846
|
+
200: {
|
|
847
|
+
headers: {
|
|
848
|
+
[name: string]: unknown;
|
|
849
|
+
};
|
|
850
|
+
content: {
|
|
851
|
+
"application/json": components["schemas"]["GMetaResult"];
|
|
852
|
+
};
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
put?: never;
|
|
857
|
+
post?: never;
|
|
858
|
+
/**
|
|
859
|
+
* Delete Subject
|
|
860
|
+
* @description Delete the document with the given Subject.
|
|
861
|
+
*/
|
|
862
|
+
delete: {
|
|
863
|
+
parameters: {
|
|
864
|
+
query: {
|
|
865
|
+
/** @description The subject for this operation */
|
|
866
|
+
subject: string;
|
|
867
|
+
};
|
|
868
|
+
header?: never;
|
|
869
|
+
path: {
|
|
870
|
+
index_id: string;
|
|
871
|
+
};
|
|
872
|
+
cookie?: never;
|
|
873
|
+
};
|
|
874
|
+
requestBody?: never;
|
|
875
|
+
responses: {
|
|
876
|
+
/** @description A Task Submission response */
|
|
877
|
+
200: {
|
|
878
|
+
headers: {
|
|
879
|
+
[name: string]: unknown;
|
|
880
|
+
};
|
|
881
|
+
content: {
|
|
882
|
+
"application/json": components["schemas"]["TaskSubmitResponse"];
|
|
883
|
+
};
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
};
|
|
887
|
+
options?: never;
|
|
888
|
+
head?: never;
|
|
889
|
+
patch?: never;
|
|
890
|
+
trace?: never;
|
|
891
|
+
};
|
|
892
|
+
"/v1/index/{index_id}/delete_by_query": {
|
|
893
|
+
parameters: {
|
|
894
|
+
query?: never;
|
|
895
|
+
header?: never;
|
|
896
|
+
path?: never;
|
|
897
|
+
cookie?: never;
|
|
898
|
+
};
|
|
899
|
+
get?: never;
|
|
900
|
+
put?: never;
|
|
901
|
+
/**
|
|
902
|
+
* Delete By Query
|
|
903
|
+
* @description Delete all documents in an index matching a given query.
|
|
904
|
+
* Boost, sort, limit, offset, and facet parameters are allowed but will be ignored.
|
|
905
|
+
*/
|
|
906
|
+
post: {
|
|
907
|
+
parameters: {
|
|
908
|
+
query?: never;
|
|
909
|
+
header?: never;
|
|
910
|
+
path: {
|
|
911
|
+
index_id: string;
|
|
912
|
+
};
|
|
913
|
+
cookie?: never;
|
|
914
|
+
};
|
|
915
|
+
requestBody?: {
|
|
916
|
+
content: {
|
|
917
|
+
"application/json": components["schemas"]["DeleteByQuery"];
|
|
918
|
+
};
|
|
919
|
+
};
|
|
920
|
+
responses: {
|
|
921
|
+
/** @description A Task Submission response */
|
|
922
|
+
200: {
|
|
923
|
+
headers: {
|
|
924
|
+
[name: string]: unknown;
|
|
925
|
+
};
|
|
926
|
+
content: {
|
|
927
|
+
"application/json": components["schemas"]["TaskSubmitResponse"];
|
|
928
|
+
};
|
|
929
|
+
};
|
|
930
|
+
};
|
|
931
|
+
};
|
|
932
|
+
delete?: never;
|
|
933
|
+
options?: never;
|
|
934
|
+
head?: never;
|
|
935
|
+
patch?: never;
|
|
936
|
+
trace?: never;
|
|
937
|
+
};
|
|
938
|
+
"/beta/index/{index_id}/mapping/{field_name}": {
|
|
939
|
+
parameters: {
|
|
940
|
+
query?: never;
|
|
941
|
+
header?: never;
|
|
942
|
+
path?: never;
|
|
943
|
+
cookie?: never;
|
|
944
|
+
};
|
|
945
|
+
/**
|
|
946
|
+
* [BETA] Get Field Mapping
|
|
947
|
+
* @description Lookup the mapped type for a specific field in an index.
|
|
948
|
+
* The `mappings` object will contain only one field.
|
|
949
|
+
*
|
|
950
|
+
* Requires a `writer`, `admin`, or `owner` role on the index.
|
|
951
|
+
*/
|
|
952
|
+
get: {
|
|
953
|
+
parameters: {
|
|
954
|
+
query?: never;
|
|
955
|
+
header?: never;
|
|
956
|
+
path: {
|
|
957
|
+
index_id: string;
|
|
958
|
+
field_name: string;
|
|
959
|
+
};
|
|
960
|
+
cookie?: never;
|
|
961
|
+
};
|
|
962
|
+
requestBody?: never;
|
|
963
|
+
responses: {
|
|
964
|
+
/** @description Field to type mapping. */
|
|
965
|
+
200: {
|
|
966
|
+
headers: {
|
|
967
|
+
[name: string]: unknown;
|
|
968
|
+
};
|
|
969
|
+
content: {
|
|
970
|
+
"application/json": components["schemas"]["UGFieldMappings"];
|
|
971
|
+
};
|
|
972
|
+
};
|
|
973
|
+
};
|
|
974
|
+
};
|
|
975
|
+
put?: never;
|
|
976
|
+
post?: never;
|
|
977
|
+
delete?: never;
|
|
978
|
+
options?: never;
|
|
979
|
+
head?: never;
|
|
980
|
+
patch?: never;
|
|
981
|
+
trace?: never;
|
|
982
|
+
};
|
|
983
|
+
"/beta/index/{index_id}/field_budget": {
|
|
984
|
+
parameters: {
|
|
985
|
+
query?: never;
|
|
986
|
+
header?: never;
|
|
987
|
+
path?: never;
|
|
988
|
+
cookie?: never;
|
|
989
|
+
};
|
|
990
|
+
/**
|
|
991
|
+
* [BETA] Get Field Budget Information
|
|
992
|
+
* @description Requires a `writer`, `admin`, or `owner` role on the index.
|
|
993
|
+
*/
|
|
994
|
+
get: {
|
|
995
|
+
parameters: {
|
|
996
|
+
query?: never;
|
|
997
|
+
header?: never;
|
|
998
|
+
path: {
|
|
999
|
+
index_id: string;
|
|
1000
|
+
};
|
|
1001
|
+
cookie?: never;
|
|
1002
|
+
};
|
|
1003
|
+
requestBody?: never;
|
|
1004
|
+
responses: {
|
|
1005
|
+
/** @description Field budget information, showing an index's usage of fields. */
|
|
1006
|
+
200: {
|
|
1007
|
+
headers: {
|
|
1008
|
+
[name: string]: unknown;
|
|
1009
|
+
};
|
|
1010
|
+
content: {
|
|
1011
|
+
"application/json": components["schemas"]["FieldBudget"];
|
|
1012
|
+
};
|
|
1013
|
+
};
|
|
1014
|
+
};
|
|
1015
|
+
};
|
|
1016
|
+
put?: never;
|
|
1017
|
+
post?: never;
|
|
1018
|
+
delete?: never;
|
|
1019
|
+
options?: never;
|
|
1020
|
+
head?: never;
|
|
1021
|
+
patch?: never;
|
|
1022
|
+
trace?: never;
|
|
1023
|
+
};
|
|
1024
|
+
"/beta/index/{index_id}/mapping": {
|
|
1025
|
+
parameters: {
|
|
1026
|
+
query?: never;
|
|
1027
|
+
header?: never;
|
|
1028
|
+
path?: never;
|
|
1029
|
+
cookie?: never;
|
|
1030
|
+
};
|
|
1031
|
+
/**
|
|
1032
|
+
* [BETA] Get Index Mapping
|
|
1033
|
+
* @description Lookup the mapped types of all fields in an index.
|
|
1034
|
+
*
|
|
1035
|
+
* Requires a `writer`, `admin`, or `owner` role on the index.
|
|
1036
|
+
*/
|
|
1037
|
+
get: {
|
|
1038
|
+
parameters: {
|
|
1039
|
+
query?: never;
|
|
1040
|
+
header?: never;
|
|
1041
|
+
path: {
|
|
1042
|
+
index_id: string;
|
|
1043
|
+
};
|
|
1044
|
+
cookie?: never;
|
|
1045
|
+
};
|
|
1046
|
+
requestBody?: never;
|
|
1047
|
+
responses: {
|
|
1048
|
+
/** @description Field to type mapping. */
|
|
1049
|
+
200: {
|
|
1050
|
+
headers: {
|
|
1051
|
+
[name: string]: unknown;
|
|
1052
|
+
};
|
|
1053
|
+
content: {
|
|
1054
|
+
"application/json": components["schemas"]["UGFieldMappings"];
|
|
1055
|
+
};
|
|
1056
|
+
};
|
|
1057
|
+
};
|
|
1058
|
+
};
|
|
1059
|
+
put?: never;
|
|
1060
|
+
post?: never;
|
|
1061
|
+
delete?: never;
|
|
1062
|
+
options?: never;
|
|
1063
|
+
head?: never;
|
|
1064
|
+
patch?: never;
|
|
1065
|
+
trace?: never;
|
|
1066
|
+
};
|
|
1067
|
+
}
|
|
1068
|
+
export type webhooks = Record<string, never>;
|
|
1069
|
+
export interface components {
|
|
1070
|
+
schemas: {
|
|
1071
|
+
ResultEntry: {
|
|
1072
|
+
content?: {
|
|
1073
|
+
[key: string]: unknown;
|
|
1074
|
+
};
|
|
1075
|
+
entry_id?: string;
|
|
1076
|
+
matched_principal_sets?: string[];
|
|
1077
|
+
};
|
|
1078
|
+
GMetaResult: {
|
|
1079
|
+
/** @default 2019-08-27 */
|
|
1080
|
+
readonly "@version": unknown;
|
|
1081
|
+
subject?: string;
|
|
1082
|
+
entries?: components["schemas"]["ResultEntry"][];
|
|
1083
|
+
};
|
|
1084
|
+
MetricFacetResult: {
|
|
1085
|
+
readonly name?: string;
|
|
1086
|
+
value?: number;
|
|
1087
|
+
};
|
|
1088
|
+
GBucket: {
|
|
1089
|
+
value?: unknown;
|
|
1090
|
+
count?: number;
|
|
1091
|
+
};
|
|
1092
|
+
BucketFacetResult: {
|
|
1093
|
+
readonly name?: string;
|
|
1094
|
+
buckets?: components["schemas"]["GBucket"][];
|
|
1095
|
+
};
|
|
1096
|
+
GFacetResult: components["schemas"]["MetricFacetResult"] | components["schemas"]["BucketFacetResult"];
|
|
1097
|
+
GSearchResult: {
|
|
1098
|
+
total?: number;
|
|
1099
|
+
/** @description The length of the 'gmeta' array. */
|
|
1100
|
+
count?: number;
|
|
1101
|
+
gmeta?: components["schemas"]["GMetaResult"][];
|
|
1102
|
+
/** @description True if another page of results is available with pagination. */
|
|
1103
|
+
has_next_page?: boolean;
|
|
1104
|
+
offset?: number;
|
|
1105
|
+
facet_results?: components["schemas"]["GFacetResult"][];
|
|
1106
|
+
};
|
|
1107
|
+
TermsFacet: {
|
|
1108
|
+
/**
|
|
1109
|
+
* @description The field to which the facet refers.
|
|
1110
|
+
* Any dots (`.`) must be escaped with a preceding backslash (`\`) character.
|
|
1111
|
+
* @example my_field_name
|
|
1112
|
+
*/
|
|
1113
|
+
field_name: string;
|
|
1114
|
+
/** @description A name for this facet which is referenced in the results.
|
|
1115
|
+
*
|
|
1116
|
+
* If `name` is omitted, it will default to the value of the `field_name` property. If more than one facet in a single search request references the same field, a name *must* be provided. */
|
|
1117
|
+
name?: string;
|
|
1118
|
+
/**
|
|
1119
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1120
|
+
* @enum {string}
|
|
1121
|
+
*/
|
|
1122
|
+
type: "terms";
|
|
1123
|
+
size?: number;
|
|
1124
|
+
};
|
|
1125
|
+
MetricFacet: {
|
|
1126
|
+
/**
|
|
1127
|
+
* @description The field to which the facet refers.
|
|
1128
|
+
* Any dots (`.`) must be escaped with a preceding backslash (`\`) character.
|
|
1129
|
+
* @example my_field_name
|
|
1130
|
+
*/
|
|
1131
|
+
field_name: string;
|
|
1132
|
+
/** @description A name for this facet which is referenced in the results.
|
|
1133
|
+
*
|
|
1134
|
+
* If `name` is omitted, it will default to the value of the `field_name` property. If more than one facet in a single search request references the same field, a name *must* be provided. */
|
|
1135
|
+
name?: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1138
|
+
* @enum {string}
|
|
1139
|
+
*/
|
|
1140
|
+
type: "sum" | "avg";
|
|
1141
|
+
missing?: number;
|
|
1142
|
+
};
|
|
1143
|
+
DateHistogramRange: {
|
|
1144
|
+
low?: unknown;
|
|
1145
|
+
high?: unknown;
|
|
1146
|
+
};
|
|
1147
|
+
DateHistogramFacet: {
|
|
1148
|
+
/**
|
|
1149
|
+
* @description The field to which the facet refers.
|
|
1150
|
+
* Any dots (`.`) must be escaped with a preceding backslash (`\`) character.
|
|
1151
|
+
* @example my_field_name
|
|
1152
|
+
*/
|
|
1153
|
+
field_name: string;
|
|
1154
|
+
/** @description A name for this facet which is referenced in the results.
|
|
1155
|
+
*
|
|
1156
|
+
* If `name` is omitted, it will default to the value of the `field_name` property. If more than one facet in a single search request references the same field, a name *must* be provided. */
|
|
1157
|
+
name?: string;
|
|
1158
|
+
/**
|
|
1159
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1160
|
+
* @enum {string}
|
|
1161
|
+
*/
|
|
1162
|
+
type: "date_histogram";
|
|
1163
|
+
histogram_range?: components["schemas"]["DateHistogramRange"];
|
|
1164
|
+
/** @enum {string} */
|
|
1165
|
+
date_interval: "year" | "quarter" | "month" | "week" | "day" | "hour" | "minute" | "second";
|
|
1166
|
+
};
|
|
1167
|
+
NumericHistogramRange: {
|
|
1168
|
+
low: number;
|
|
1169
|
+
high: number;
|
|
1170
|
+
};
|
|
1171
|
+
NumericHistogramFacet: {
|
|
1172
|
+
/**
|
|
1173
|
+
* @description The field to which the facet refers.
|
|
1174
|
+
* Any dots (`.`) must be escaped with a preceding backslash (`\`) character.
|
|
1175
|
+
* @example my_field_name
|
|
1176
|
+
*/
|
|
1177
|
+
field_name: string;
|
|
1178
|
+
/** @description A name for this facet which is referenced in the results.
|
|
1179
|
+
*
|
|
1180
|
+
* If `name` is omitted, it will default to the value of the `field_name` property. If more than one facet in a single search request references the same field, a name *must* be provided. */
|
|
1181
|
+
name?: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1184
|
+
* @enum {string}
|
|
1185
|
+
*/
|
|
1186
|
+
type: "numeric_histogram";
|
|
1187
|
+
size: number;
|
|
1188
|
+
histogram_range: components["schemas"]["NumericHistogramRange"];
|
|
1189
|
+
};
|
|
1190
|
+
GFacet: components["schemas"]["TermsFacet"] | components["schemas"]["MetricFacet"] | components["schemas"]["MetricFacet"] | components["schemas"]["DateHistogramFacet"] | components["schemas"]["NumericHistogramFacet"];
|
|
1191
|
+
GFilterMatchAll: {
|
|
1192
|
+
/**
|
|
1193
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1194
|
+
* @enum {string}
|
|
1195
|
+
*/
|
|
1196
|
+
type: "match_all";
|
|
1197
|
+
/**
|
|
1198
|
+
* @description Control whether or not this filter should be applied before or after facets are
|
|
1199
|
+
* calculated. If True, the filter will not impact facet results, but will filter the
|
|
1200
|
+
* query results.
|
|
1201
|
+
*
|
|
1202
|
+
* Defaults to True for all filters except `match_all`, where it defaults to False.
|
|
1203
|
+
*
|
|
1204
|
+
* @default false
|
|
1205
|
+
*/
|
|
1206
|
+
post_filter: boolean;
|
|
1207
|
+
/** @example my_field_name */
|
|
1208
|
+
field_name: string;
|
|
1209
|
+
values: unknown[];
|
|
1210
|
+
};
|
|
1211
|
+
GFilterMatchAny: {
|
|
1212
|
+
/**
|
|
1213
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1214
|
+
* @enum {string}
|
|
1215
|
+
*/
|
|
1216
|
+
type: "match_any";
|
|
1217
|
+
/**
|
|
1218
|
+
* @description Control whether or not this filter should be applied before or after facets are
|
|
1219
|
+
* calculated. If True, the filter will not impact facet results, but will filter the
|
|
1220
|
+
* query results.
|
|
1221
|
+
*
|
|
1222
|
+
* Defaults to True for all filters except `match_all`, where it defaults to False.
|
|
1223
|
+
*
|
|
1224
|
+
* @default true
|
|
1225
|
+
*/
|
|
1226
|
+
post_filter: boolean;
|
|
1227
|
+
/** @example my_field_name */
|
|
1228
|
+
field_name: string;
|
|
1229
|
+
values: unknown[];
|
|
1230
|
+
};
|
|
1231
|
+
RangeFilterValue: {
|
|
1232
|
+
from?: unknown;
|
|
1233
|
+
to?: unknown;
|
|
1234
|
+
gte?: unknown;
|
|
1235
|
+
gt?: unknown;
|
|
1236
|
+
lte?: unknown;
|
|
1237
|
+
lt?: unknown;
|
|
1238
|
+
};
|
|
1239
|
+
GFilterRange: {
|
|
1240
|
+
/**
|
|
1241
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1242
|
+
* @enum {string}
|
|
1243
|
+
*/
|
|
1244
|
+
type: "range";
|
|
1245
|
+
/**
|
|
1246
|
+
* @description Control whether or not this filter should be applied before or after facets are
|
|
1247
|
+
* calculated. If True, the filter will not impact facet results, but will filter the
|
|
1248
|
+
* query results.
|
|
1249
|
+
*
|
|
1250
|
+
* Defaults to True for all filters except `match_all`, where it defaults to False.
|
|
1251
|
+
*
|
|
1252
|
+
* @default true
|
|
1253
|
+
*/
|
|
1254
|
+
post_filter: boolean;
|
|
1255
|
+
/** @example my_field_name */
|
|
1256
|
+
field_name: string;
|
|
1257
|
+
values: components["schemas"]["RangeFilterValue"][];
|
|
1258
|
+
};
|
|
1259
|
+
Coordinate: {
|
|
1260
|
+
lat: number;
|
|
1261
|
+
lon: number;
|
|
1262
|
+
};
|
|
1263
|
+
GFilterBoundingBox: {
|
|
1264
|
+
/**
|
|
1265
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1266
|
+
* @enum {string}
|
|
1267
|
+
*/
|
|
1268
|
+
type: "geo_bounding_box";
|
|
1269
|
+
/**
|
|
1270
|
+
* @description Control whether or not this filter should be applied before or after facets are
|
|
1271
|
+
* calculated. If True, the filter will not impact facet results, but will filter the
|
|
1272
|
+
* query results.
|
|
1273
|
+
*
|
|
1274
|
+
* Defaults to True for all filters except `match_all`, where it defaults to False.
|
|
1275
|
+
*
|
|
1276
|
+
* @default true
|
|
1277
|
+
*/
|
|
1278
|
+
post_filter: boolean;
|
|
1279
|
+
/** @example my_field_name */
|
|
1280
|
+
field_name: string;
|
|
1281
|
+
/**
|
|
1282
|
+
* @description A coordinate pair is a geographical point, expressed as an object with two keys, `lat`
|
|
1283
|
+
* and `lon`, for latitude and longitude. The values must be floats, positive or negative,
|
|
1284
|
+
* within the range of acceptable coordinate values: [-90.0, 90.0] for latitude, and
|
|
1285
|
+
* [-180.0, 180.0] for longitude.
|
|
1286
|
+
*
|
|
1287
|
+
* @example {
|
|
1288
|
+
* "lat": 40.9,
|
|
1289
|
+
* "lon": 87.5
|
|
1290
|
+
* }
|
|
1291
|
+
*/
|
|
1292
|
+
top_left: components["schemas"]["Coordinate"];
|
|
1293
|
+
/**
|
|
1294
|
+
* @description A coordinate pair is a geographical point, expressed as an object with two keys, `lat`
|
|
1295
|
+
* and `lon`, for latitude and longitude. The values must be floats, positive or negative,
|
|
1296
|
+
* within the range of acceptable coordinate values: [-90.0, 90.0] for latitude, and
|
|
1297
|
+
* [-180.0, 180.0] for longitude.
|
|
1298
|
+
*
|
|
1299
|
+
* @example {
|
|
1300
|
+
* "lat": 40.9,
|
|
1301
|
+
* "lon": 87.5
|
|
1302
|
+
* }
|
|
1303
|
+
*/
|
|
1304
|
+
bottom_right: components["schemas"]["Coordinate"];
|
|
1305
|
+
};
|
|
1306
|
+
GeoPolygon: {
|
|
1307
|
+
/**
|
|
1308
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1309
|
+
* @enum {string}
|
|
1310
|
+
*/
|
|
1311
|
+
type: "Polygon";
|
|
1312
|
+
coordinates: unknown[][];
|
|
1313
|
+
};
|
|
1314
|
+
GeoShape: components["schemas"]["GeoPolygon"];
|
|
1315
|
+
GFilterGeoShape: {
|
|
1316
|
+
/**
|
|
1317
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1318
|
+
* @enum {string}
|
|
1319
|
+
*/
|
|
1320
|
+
type: "geo_shape";
|
|
1321
|
+
/**
|
|
1322
|
+
* @description Control whether or not this filter should be applied before or after facets are
|
|
1323
|
+
* calculated. If True, the filter will not impact facet results, but will filter the
|
|
1324
|
+
* query results.
|
|
1325
|
+
*
|
|
1326
|
+
* Defaults to True for all filters except `match_all`, where it defaults to False.
|
|
1327
|
+
*
|
|
1328
|
+
* @default true
|
|
1329
|
+
*/
|
|
1330
|
+
post_filter: boolean;
|
|
1331
|
+
/** @example my_field_name */
|
|
1332
|
+
field_name: string;
|
|
1333
|
+
shape: components["schemas"]["GeoShape"];
|
|
1334
|
+
/**
|
|
1335
|
+
* @description The relationship between the provided shape and the queried field.
|
|
1336
|
+
*
|
|
1337
|
+
* 'intersects': (default) Return documents whose shape intersects the query shape.
|
|
1338
|
+
* 'within': Return documents whose shape is fully within the query shape.
|
|
1339
|
+
*
|
|
1340
|
+
* @default intersects
|
|
1341
|
+
* @enum {string}
|
|
1342
|
+
*/
|
|
1343
|
+
relation: "intersects" | "within";
|
|
1344
|
+
};
|
|
1345
|
+
GFilterExists: {
|
|
1346
|
+
/**
|
|
1347
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1348
|
+
* @enum {string}
|
|
1349
|
+
*/
|
|
1350
|
+
type: "exists";
|
|
1351
|
+
/**
|
|
1352
|
+
* @description Control whether or not this filter should be applied before or after facets are
|
|
1353
|
+
* calculated. If True, the filter will not impact facet results, but will filter the
|
|
1354
|
+
* query results.
|
|
1355
|
+
*
|
|
1356
|
+
* Defaults to True for all filters except `match_all`, where it defaults to False.
|
|
1357
|
+
*
|
|
1358
|
+
* @default true
|
|
1359
|
+
*/
|
|
1360
|
+
post_filter: boolean;
|
|
1361
|
+
/** @example my_field_name */
|
|
1362
|
+
field_name: string;
|
|
1363
|
+
};
|
|
1364
|
+
GFilterLike: {
|
|
1365
|
+
/**
|
|
1366
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1367
|
+
* @enum {string}
|
|
1368
|
+
*/
|
|
1369
|
+
type: "like";
|
|
1370
|
+
/**
|
|
1371
|
+
* @description Control whether or not this filter should be applied before or after facets are
|
|
1372
|
+
* calculated. If True, the filter will not impact facet results, but will filter the
|
|
1373
|
+
* query results.
|
|
1374
|
+
*
|
|
1375
|
+
* Defaults to True for all filters except `match_all`, where it defaults to False.
|
|
1376
|
+
*
|
|
1377
|
+
* @default true
|
|
1378
|
+
*/
|
|
1379
|
+
post_filter: boolean;
|
|
1380
|
+
/**
|
|
1381
|
+
* @description The field name to query with this 'like' filter. This field must be a text field.
|
|
1382
|
+
* @example my_field_name
|
|
1383
|
+
*/
|
|
1384
|
+
field_name: string;
|
|
1385
|
+
/** @description A filter expression containing * and ? wildcards for a 'like' filter. */
|
|
1386
|
+
value: string;
|
|
1387
|
+
};
|
|
1388
|
+
GFilterMatchAllNested: {
|
|
1389
|
+
/**
|
|
1390
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1391
|
+
* @enum {string}
|
|
1392
|
+
*/
|
|
1393
|
+
type: "match_all";
|
|
1394
|
+
/** @example my_field_name */
|
|
1395
|
+
field_name: string;
|
|
1396
|
+
values: unknown[];
|
|
1397
|
+
};
|
|
1398
|
+
GFilterMatchAnyNested: {
|
|
1399
|
+
/**
|
|
1400
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1401
|
+
* @enum {string}
|
|
1402
|
+
*/
|
|
1403
|
+
type: "match_any";
|
|
1404
|
+
/** @example my_field_name */
|
|
1405
|
+
field_name: string;
|
|
1406
|
+
values: unknown[];
|
|
1407
|
+
};
|
|
1408
|
+
GFilterRangeNested: {
|
|
1409
|
+
/**
|
|
1410
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1411
|
+
* @enum {string}
|
|
1412
|
+
*/
|
|
1413
|
+
type: "range";
|
|
1414
|
+
/** @example my_field_name */
|
|
1415
|
+
field_name: string;
|
|
1416
|
+
values: components["schemas"]["RangeFilterValue"][];
|
|
1417
|
+
};
|
|
1418
|
+
GFilterBoundingBoxNested: {
|
|
1419
|
+
/**
|
|
1420
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1421
|
+
* @enum {string}
|
|
1422
|
+
*/
|
|
1423
|
+
type: "geo_bounding_box";
|
|
1424
|
+
/** @example my_field_name */
|
|
1425
|
+
field_name: string;
|
|
1426
|
+
/**
|
|
1427
|
+
* @description A coordinate pair is a geographical point, expressed as an object with two keys, `lat`
|
|
1428
|
+
* and `lon`, for latitude and longitude. The values must be floats, positive or negative,
|
|
1429
|
+
* within the range of acceptable coordinate values: [-90.0, 90.0] for latitude, and
|
|
1430
|
+
* [-180.0, 180.0] for longitude.
|
|
1431
|
+
*
|
|
1432
|
+
* @example {
|
|
1433
|
+
* "lat": 40.9,
|
|
1434
|
+
* "lon": 87.5
|
|
1435
|
+
* }
|
|
1436
|
+
*/
|
|
1437
|
+
top_left: components["schemas"]["Coordinate"];
|
|
1438
|
+
/**
|
|
1439
|
+
* @description A coordinate pair is a geographical point, expressed as an object with two keys, `lat`
|
|
1440
|
+
* and `lon`, for latitude and longitude. The values must be floats, positive or negative,
|
|
1441
|
+
* within the range of acceptable coordinate values: [-90.0, 90.0] for latitude, and
|
|
1442
|
+
* [-180.0, 180.0] for longitude.
|
|
1443
|
+
*
|
|
1444
|
+
* @example {
|
|
1445
|
+
* "lat": 40.9,
|
|
1446
|
+
* "lon": 87.5
|
|
1447
|
+
* }
|
|
1448
|
+
*/
|
|
1449
|
+
bottom_right: components["schemas"]["Coordinate"];
|
|
1450
|
+
};
|
|
1451
|
+
GFilterGeoShapeNested: {
|
|
1452
|
+
/**
|
|
1453
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1454
|
+
* @enum {string}
|
|
1455
|
+
*/
|
|
1456
|
+
type: "geo_shape";
|
|
1457
|
+
/** @example my_field_name */
|
|
1458
|
+
field_name: string;
|
|
1459
|
+
shape: components["schemas"]["GeoShape"];
|
|
1460
|
+
/**
|
|
1461
|
+
* @description The relationship between the provided shape and the queried field.
|
|
1462
|
+
*
|
|
1463
|
+
* 'intersects': (default) Return documents whose shape intersects the query shape.
|
|
1464
|
+
* 'within': Return documents whose shape is fully within the query shape.
|
|
1465
|
+
*
|
|
1466
|
+
* @default intersects
|
|
1467
|
+
* @enum {string}
|
|
1468
|
+
*/
|
|
1469
|
+
relation: "intersects" | "within";
|
|
1470
|
+
};
|
|
1471
|
+
GFilterExistsNested: {
|
|
1472
|
+
/**
|
|
1473
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1474
|
+
* @enum {string}
|
|
1475
|
+
*/
|
|
1476
|
+
type: "exists";
|
|
1477
|
+
/** @example my_field_name */
|
|
1478
|
+
field_name: string;
|
|
1479
|
+
};
|
|
1480
|
+
GFilterLikeNested: {
|
|
1481
|
+
/**
|
|
1482
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1483
|
+
* @enum {string}
|
|
1484
|
+
*/
|
|
1485
|
+
type: "like";
|
|
1486
|
+
/**
|
|
1487
|
+
* @description The field name to query with this 'like' filter. This field must be a text field.
|
|
1488
|
+
* @example my_field_name
|
|
1489
|
+
*/
|
|
1490
|
+
field_name: string;
|
|
1491
|
+
/** @description A filter expression containing * and ? wildcards for a 'like' filter. */
|
|
1492
|
+
value: string;
|
|
1493
|
+
};
|
|
1494
|
+
GFilterNotNested: {
|
|
1495
|
+
/**
|
|
1496
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1497
|
+
* @enum {string}
|
|
1498
|
+
*/
|
|
1499
|
+
type: "not";
|
|
1500
|
+
filter: components["schemas"]["GFilterNested"];
|
|
1501
|
+
};
|
|
1502
|
+
GFilterOrNested: {
|
|
1503
|
+
/**
|
|
1504
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1505
|
+
* @enum {string}
|
|
1506
|
+
*/
|
|
1507
|
+
type: "or";
|
|
1508
|
+
filters: components["schemas"]["GFilterNested"][];
|
|
1509
|
+
};
|
|
1510
|
+
GFilterAndNested: {
|
|
1511
|
+
/**
|
|
1512
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1513
|
+
* @enum {string}
|
|
1514
|
+
*/
|
|
1515
|
+
type: "and";
|
|
1516
|
+
filters: components["schemas"]["GFilterNested"][];
|
|
1517
|
+
};
|
|
1518
|
+
GFilterNested: components["schemas"]["GFilterMatchAllNested"] | components["schemas"]["GFilterMatchAnyNested"] | components["schemas"]["GFilterRangeNested"] | components["schemas"]["GFilterBoundingBoxNested"] | components["schemas"]["GFilterGeoShapeNested"] | components["schemas"]["GFilterExistsNested"] | components["schemas"]["GFilterLikeNested"] | components["schemas"]["GFilterNotNested"] | components["schemas"]["GFilterOrNested"] | components["schemas"]["GFilterAndNested"];
|
|
1519
|
+
GFilterNot: {
|
|
1520
|
+
/**
|
|
1521
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1522
|
+
* @enum {string}
|
|
1523
|
+
*/
|
|
1524
|
+
type: "not";
|
|
1525
|
+
/**
|
|
1526
|
+
* @description Control whether or not this filter should be applied before or after facets are
|
|
1527
|
+
* calculated. If True, the filter will not impact facet results, but will filter the
|
|
1528
|
+
* query results.
|
|
1529
|
+
*
|
|
1530
|
+
* Defaults to True for all filters except `match_all`, where it defaults to False.
|
|
1531
|
+
*
|
|
1532
|
+
* @default true
|
|
1533
|
+
*/
|
|
1534
|
+
post_filter: boolean;
|
|
1535
|
+
filter: components["schemas"]["GFilterNested"];
|
|
1536
|
+
};
|
|
1537
|
+
GFilterOr: {
|
|
1538
|
+
/**
|
|
1539
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1540
|
+
* @enum {string}
|
|
1541
|
+
*/
|
|
1542
|
+
type: "or";
|
|
1543
|
+
/**
|
|
1544
|
+
* @description Control whether or not this filter should be applied before or after facets are
|
|
1545
|
+
* calculated. If True, the filter will not impact facet results, but will filter the
|
|
1546
|
+
* query results.
|
|
1547
|
+
*
|
|
1548
|
+
* Defaults to True for all filters except `match_all`, where it defaults to False.
|
|
1549
|
+
*
|
|
1550
|
+
* @default true
|
|
1551
|
+
*/
|
|
1552
|
+
post_filter: boolean;
|
|
1553
|
+
filters: components["schemas"]["GFilterNested"][];
|
|
1554
|
+
};
|
|
1555
|
+
GFilterAnd: {
|
|
1556
|
+
/**
|
|
1557
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1558
|
+
* @enum {string}
|
|
1559
|
+
*/
|
|
1560
|
+
type: "and";
|
|
1561
|
+
/**
|
|
1562
|
+
* @description Control whether or not this filter should be applied before or after facets are
|
|
1563
|
+
* calculated. If True, the filter will not impact facet results, but will filter the
|
|
1564
|
+
* query results.
|
|
1565
|
+
*
|
|
1566
|
+
* Defaults to True for all filters except `match_all`, where it defaults to False.
|
|
1567
|
+
*
|
|
1568
|
+
* @default true
|
|
1569
|
+
*/
|
|
1570
|
+
post_filter: boolean;
|
|
1571
|
+
filters: components["schemas"]["GFilterNested"][];
|
|
1572
|
+
};
|
|
1573
|
+
GFilter: components["schemas"]["GFilterMatchAll"] | components["schemas"]["GFilterMatchAny"] | components["schemas"]["GFilterRange"] | components["schemas"]["GFilterBoundingBox"] | components["schemas"]["GFilterGeoShape"] | components["schemas"]["GFilterExists"] | components["schemas"]["GFilterLike"] | components["schemas"]["GFilterNot"] | components["schemas"]["GFilterOr"] | components["schemas"]["GFilterAnd"];
|
|
1574
|
+
GBoost: {
|
|
1575
|
+
/** @example my_field_name */
|
|
1576
|
+
field_name: string;
|
|
1577
|
+
factor: number;
|
|
1578
|
+
};
|
|
1579
|
+
GSort: {
|
|
1580
|
+
/** @example my_field_name */
|
|
1581
|
+
field_name: string;
|
|
1582
|
+
/**
|
|
1583
|
+
* @default desc
|
|
1584
|
+
* @enum {string}
|
|
1585
|
+
*/
|
|
1586
|
+
order: "asc" | "desc";
|
|
1587
|
+
};
|
|
1588
|
+
GSearchRequestBody2017: {
|
|
1589
|
+
q?: string;
|
|
1590
|
+
/** @default 10 */
|
|
1591
|
+
limit: number;
|
|
1592
|
+
advanced?: boolean;
|
|
1593
|
+
/**
|
|
1594
|
+
* @description Set to true to allow this operation to return data with visibility which does not include the current user. Only allowed for index admins and owners.
|
|
1595
|
+
* @default false
|
|
1596
|
+
*/
|
|
1597
|
+
bypass_visible_to: boolean;
|
|
1598
|
+
filter_principal_sets?: string[];
|
|
1599
|
+
offset?: number;
|
|
1600
|
+
facets?: components["schemas"]["GFacet"][];
|
|
1601
|
+
filters?: components["schemas"]["GFilter"][];
|
|
1602
|
+
boosts?: components["schemas"]["GBoost"][];
|
|
1603
|
+
sort?: components["schemas"]["GSort"][];
|
|
1604
|
+
/**
|
|
1605
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1606
|
+
* @enum {string}
|
|
1607
|
+
*/
|
|
1608
|
+
"@version": "2017-09-01" | "2016-11-09";
|
|
1609
|
+
};
|
|
1610
|
+
GFilterMatchAllV1: {
|
|
1611
|
+
/**
|
|
1612
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1613
|
+
* @enum {string}
|
|
1614
|
+
*/
|
|
1615
|
+
type: "match_all";
|
|
1616
|
+
/** @example my_field_name */
|
|
1617
|
+
field_name: string;
|
|
1618
|
+
values: unknown[];
|
|
1619
|
+
};
|
|
1620
|
+
GFilterMatchAnyV1: {
|
|
1621
|
+
/**
|
|
1622
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1623
|
+
* @enum {string}
|
|
1624
|
+
*/
|
|
1625
|
+
type: "match_any";
|
|
1626
|
+
/** @example my_field_name */
|
|
1627
|
+
field_name: string;
|
|
1628
|
+
values: unknown[];
|
|
1629
|
+
};
|
|
1630
|
+
RangeFilterValueV1: {
|
|
1631
|
+
from?: unknown;
|
|
1632
|
+
to?: unknown;
|
|
1633
|
+
gte?: unknown;
|
|
1634
|
+
gt?: unknown;
|
|
1635
|
+
lte?: unknown;
|
|
1636
|
+
lt?: unknown;
|
|
1637
|
+
};
|
|
1638
|
+
GFilterRangeV1: {
|
|
1639
|
+
/**
|
|
1640
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1641
|
+
* @enum {string}
|
|
1642
|
+
*/
|
|
1643
|
+
type: "range";
|
|
1644
|
+
/** @example my_field_name */
|
|
1645
|
+
field_name: string;
|
|
1646
|
+
values: components["schemas"]["RangeFilterValueV1"][];
|
|
1647
|
+
};
|
|
1648
|
+
GFilterBoundingBoxV1: {
|
|
1649
|
+
/**
|
|
1650
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1651
|
+
* @enum {string}
|
|
1652
|
+
*/
|
|
1653
|
+
type: "geo_bounding_box";
|
|
1654
|
+
/** @example my_field_name */
|
|
1655
|
+
field_name: string;
|
|
1656
|
+
/**
|
|
1657
|
+
* @description A coordinate pair is a geographical point, expressed as an object with two keys, `lat`
|
|
1658
|
+
* and `lon`, for latitude and longitude. The values must be floats, positive or negative,
|
|
1659
|
+
* within the range of acceptable coordinate values: [-90.0, 90.0] for latitude, and
|
|
1660
|
+
* [-180.0, 180.0] for longitude.
|
|
1661
|
+
*
|
|
1662
|
+
* @example {
|
|
1663
|
+
* "lat": 40.9,
|
|
1664
|
+
* "lon": 87.5
|
|
1665
|
+
* }
|
|
1666
|
+
*/
|
|
1667
|
+
top_left: components["schemas"]["Coordinate"];
|
|
1668
|
+
/**
|
|
1669
|
+
* @description A coordinate pair is a geographical point, expressed as an object with two keys, `lat`
|
|
1670
|
+
* and `lon`, for latitude and longitude. The values must be floats, positive or negative,
|
|
1671
|
+
* within the range of acceptable coordinate values: [-90.0, 90.0] for latitude, and
|
|
1672
|
+
* [-180.0, 180.0] for longitude.
|
|
1673
|
+
*
|
|
1674
|
+
* @example {
|
|
1675
|
+
* "lat": 40.9,
|
|
1676
|
+
* "lon": 87.5
|
|
1677
|
+
* }
|
|
1678
|
+
*/
|
|
1679
|
+
bottom_right: components["schemas"]["Coordinate"];
|
|
1680
|
+
};
|
|
1681
|
+
GeoPolygonV1: {
|
|
1682
|
+
/**
|
|
1683
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1684
|
+
* @enum {string}
|
|
1685
|
+
*/
|
|
1686
|
+
type: "Polygon";
|
|
1687
|
+
coordinates: unknown[][];
|
|
1688
|
+
};
|
|
1689
|
+
GeoShapeV1: components["schemas"]["GeoPolygonV1"];
|
|
1690
|
+
GFilterGeoShapeV1: {
|
|
1691
|
+
/**
|
|
1692
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1693
|
+
* @enum {string}
|
|
1694
|
+
*/
|
|
1695
|
+
type: "geo_shape";
|
|
1696
|
+
/** @example my_field_name */
|
|
1697
|
+
field_name: string;
|
|
1698
|
+
shape: components["schemas"]["GeoShapeV1"];
|
|
1699
|
+
/**
|
|
1700
|
+
* @description The relationship between the provided shape and the queried field.
|
|
1701
|
+
*
|
|
1702
|
+
* 'intersects': (default) Return documents whose shape intersects the query shape.
|
|
1703
|
+
* 'within': Return documents whose shape is fully within the query shape.
|
|
1704
|
+
*
|
|
1705
|
+
* @default intersects
|
|
1706
|
+
* @enum {string}
|
|
1707
|
+
*/
|
|
1708
|
+
relation: "intersects" | "within";
|
|
1709
|
+
};
|
|
1710
|
+
GFilterExistsV1: {
|
|
1711
|
+
/**
|
|
1712
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1713
|
+
* @enum {string}
|
|
1714
|
+
*/
|
|
1715
|
+
type: "exists";
|
|
1716
|
+
/** @example my_field_name */
|
|
1717
|
+
field_name: string;
|
|
1718
|
+
};
|
|
1719
|
+
GFilterLikeV1: {
|
|
1720
|
+
/**
|
|
1721
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1722
|
+
* @enum {string}
|
|
1723
|
+
*/
|
|
1724
|
+
type: "like";
|
|
1725
|
+
/**
|
|
1726
|
+
* @description The field name to query with this 'like' filter. This field must be a text field.
|
|
1727
|
+
* @example my_field_name
|
|
1728
|
+
*/
|
|
1729
|
+
field_name: string;
|
|
1730
|
+
/** @description A filter expression containing * and ? wildcards for a 'like' filter. */
|
|
1731
|
+
value: string;
|
|
1732
|
+
};
|
|
1733
|
+
GFilterNotV1: {
|
|
1734
|
+
/**
|
|
1735
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1736
|
+
* @enum {string}
|
|
1737
|
+
*/
|
|
1738
|
+
type: "not";
|
|
1739
|
+
filter: components["schemas"]["GFilterV1"];
|
|
1740
|
+
};
|
|
1741
|
+
GFilterOrV1: {
|
|
1742
|
+
/**
|
|
1743
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1744
|
+
* @enum {string}
|
|
1745
|
+
*/
|
|
1746
|
+
type: "or";
|
|
1747
|
+
filters: components["schemas"]["GFilterV1"][];
|
|
1748
|
+
};
|
|
1749
|
+
GFilterAndV1: {
|
|
1750
|
+
/**
|
|
1751
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1752
|
+
* @enum {string}
|
|
1753
|
+
*/
|
|
1754
|
+
type: "and";
|
|
1755
|
+
filters: components["schemas"]["GFilterV1"][];
|
|
1756
|
+
};
|
|
1757
|
+
GFilterV1: components["schemas"]["GFilterMatchAllV1"] | components["schemas"]["GFilterMatchAnyV1"] | components["schemas"]["GFilterRangeV1"] | components["schemas"]["GFilterBoundingBoxV1"] | components["schemas"]["GFilterGeoShapeV1"] | components["schemas"]["GFilterExistsV1"] | components["schemas"]["GFilterLikeV1"] | components["schemas"]["GFilterNotV1"] | components["schemas"]["GFilterOrV1"] | components["schemas"]["GFilterAndV1"];
|
|
1758
|
+
TermsFacetV1: {
|
|
1759
|
+
/**
|
|
1760
|
+
* @description The field to which the facet refers.
|
|
1761
|
+
* Any dots (`.`) must be escaped with a preceding backslash (`\`) character.
|
|
1762
|
+
* @example my_field_name
|
|
1763
|
+
*/
|
|
1764
|
+
field_name: string;
|
|
1765
|
+
/** @description A name for this facet which is referenced in the results.
|
|
1766
|
+
*
|
|
1767
|
+
* If `name` is omitted, it will default to the value of the `field_name` property. If more than one facet in a single search request references the same field, a name *must* be provided. */
|
|
1768
|
+
name?: string;
|
|
1769
|
+
/**
|
|
1770
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1771
|
+
* @enum {string}
|
|
1772
|
+
*/
|
|
1773
|
+
type: "terms";
|
|
1774
|
+
additional_filters?: components["schemas"]["GFilterV1"][];
|
|
1775
|
+
size?: number;
|
|
1776
|
+
};
|
|
1777
|
+
MetricFacetV1: {
|
|
1778
|
+
/**
|
|
1779
|
+
* @description The field to which the facet refers.
|
|
1780
|
+
* Any dots (`.`) must be escaped with a preceding backslash (`\`) character.
|
|
1781
|
+
* @example my_field_name
|
|
1782
|
+
*/
|
|
1783
|
+
field_name: string;
|
|
1784
|
+
/** @description A name for this facet which is referenced in the results.
|
|
1785
|
+
*
|
|
1786
|
+
* If `name` is omitted, it will default to the value of the `field_name` property. If more than one facet in a single search request references the same field, a name *must* be provided. */
|
|
1787
|
+
name?: string;
|
|
1788
|
+
/**
|
|
1789
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1790
|
+
* @enum {string}
|
|
1791
|
+
*/
|
|
1792
|
+
type: "sum" | "avg";
|
|
1793
|
+
additional_filters?: components["schemas"]["GFilterV1"][];
|
|
1794
|
+
missing?: number;
|
|
1795
|
+
};
|
|
1796
|
+
DateHistogramRangeV1: {
|
|
1797
|
+
low?: unknown;
|
|
1798
|
+
high?: unknown;
|
|
1799
|
+
};
|
|
1800
|
+
DateHistogramFacetV1: {
|
|
1801
|
+
/**
|
|
1802
|
+
* @description The field to which the facet refers.
|
|
1803
|
+
* Any dots (`.`) must be escaped with a preceding backslash (`\`) character.
|
|
1804
|
+
* @example my_field_name
|
|
1805
|
+
*/
|
|
1806
|
+
field_name: string;
|
|
1807
|
+
/** @description A name for this facet which is referenced in the results.
|
|
1808
|
+
*
|
|
1809
|
+
* If `name` is omitted, it will default to the value of the `field_name` property. If more than one facet in a single search request references the same field, a name *must* be provided. */
|
|
1810
|
+
name?: string;
|
|
1811
|
+
/**
|
|
1812
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1813
|
+
* @enum {string}
|
|
1814
|
+
*/
|
|
1815
|
+
type: "date_histogram";
|
|
1816
|
+
additional_filters?: components["schemas"]["GFilterV1"][];
|
|
1817
|
+
histogram_range?: components["schemas"]["DateHistogramRangeV1"];
|
|
1818
|
+
/** @enum {string} */
|
|
1819
|
+
date_interval: "year" | "quarter" | "month" | "week" | "day" | "hour" | "minute" | "second";
|
|
1820
|
+
};
|
|
1821
|
+
NumericHistogramRangeV1: {
|
|
1822
|
+
low: number;
|
|
1823
|
+
high: number;
|
|
1824
|
+
};
|
|
1825
|
+
NumericHistogramFacetV1: {
|
|
1826
|
+
/**
|
|
1827
|
+
* @description The field to which the facet refers.
|
|
1828
|
+
* Any dots (`.`) must be escaped with a preceding backslash (`\`) character.
|
|
1829
|
+
* @example my_field_name
|
|
1830
|
+
*/
|
|
1831
|
+
field_name: string;
|
|
1832
|
+
/** @description A name for this facet which is referenced in the results.
|
|
1833
|
+
*
|
|
1834
|
+
* If `name` is omitted, it will default to the value of the `field_name` property. If more than one facet in a single search request references the same field, a name *must* be provided. */
|
|
1835
|
+
name?: string;
|
|
1836
|
+
/**
|
|
1837
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1838
|
+
* @enum {string}
|
|
1839
|
+
*/
|
|
1840
|
+
type: "numeric_histogram";
|
|
1841
|
+
additional_filters?: components["schemas"]["GFilterV1"][];
|
|
1842
|
+
size: number;
|
|
1843
|
+
histogram_range: components["schemas"]["NumericHistogramRangeV1"];
|
|
1844
|
+
};
|
|
1845
|
+
GFacetV1: components["schemas"]["TermsFacetV1"] | components["schemas"]["MetricFacetV1"] | components["schemas"]["MetricFacetV1"] | components["schemas"]["DateHistogramFacetV1"] | components["schemas"]["NumericHistogramFacetV1"];
|
|
1846
|
+
GBoostV1: {
|
|
1847
|
+
/** @example my_field_name */
|
|
1848
|
+
field_name: string;
|
|
1849
|
+
factor: number;
|
|
1850
|
+
};
|
|
1851
|
+
GSortV1: {
|
|
1852
|
+
/** @example my_field_name */
|
|
1853
|
+
field_name: string;
|
|
1854
|
+
/**
|
|
1855
|
+
* @default desc
|
|
1856
|
+
* @enum {string}
|
|
1857
|
+
*/
|
|
1858
|
+
order: "asc" | "desc";
|
|
1859
|
+
};
|
|
1860
|
+
SimpleQSettings: {
|
|
1861
|
+
/**
|
|
1862
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1863
|
+
* @enum {string}
|
|
1864
|
+
*/
|
|
1865
|
+
mode: "query_string";
|
|
1866
|
+
default_operator: string;
|
|
1867
|
+
};
|
|
1868
|
+
AdvancedQSettings: {
|
|
1869
|
+
/**
|
|
1870
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1871
|
+
* @enum {string}
|
|
1872
|
+
*/
|
|
1873
|
+
mode: "advanced_query_string";
|
|
1874
|
+
default_operator: string;
|
|
1875
|
+
};
|
|
1876
|
+
QSettings: components["schemas"]["SimpleQSettings"] | components["schemas"]["AdvancedQSettings"];
|
|
1877
|
+
GSearchRequestBodyV1: {
|
|
1878
|
+
q?: string;
|
|
1879
|
+
/** @default 10 */
|
|
1880
|
+
limit: number;
|
|
1881
|
+
advanced?: boolean;
|
|
1882
|
+
/**
|
|
1883
|
+
* @description Set to true to allow this operation to return data with visibility which does not include the current user. Only allowed for index admins and owners.
|
|
1884
|
+
* @default false
|
|
1885
|
+
*/
|
|
1886
|
+
bypass_visible_to: boolean;
|
|
1887
|
+
filter_principal_sets?: string[];
|
|
1888
|
+
/**
|
|
1889
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1890
|
+
* @enum {string}
|
|
1891
|
+
*/
|
|
1892
|
+
"@version": "query#1.0.0";
|
|
1893
|
+
offset?: number;
|
|
1894
|
+
facets?: components["schemas"]["GFacetV1"][];
|
|
1895
|
+
filters?: components["schemas"]["GFilterV1"][];
|
|
1896
|
+
boosts?: components["schemas"]["GBoostV1"][];
|
|
1897
|
+
sort?: components["schemas"]["GSortV1"][];
|
|
1898
|
+
q_settings?: components["schemas"]["QSettings"];
|
|
1899
|
+
post_facet_filters?: components["schemas"]["GFilterV1"][];
|
|
1900
|
+
};
|
|
1901
|
+
GSearchRequestBody: components["schemas"]["GSearchRequestBody2017"] | components["schemas"]["GSearchRequestBody2017"] | components["schemas"]["GSearchRequestBodyV1"];
|
|
1902
|
+
GScrollRequest2017: {
|
|
1903
|
+
marker?: unknown;
|
|
1904
|
+
q?: string;
|
|
1905
|
+
/** @default 10 */
|
|
1906
|
+
limit: number;
|
|
1907
|
+
advanced?: boolean;
|
|
1908
|
+
/**
|
|
1909
|
+
* @description Set to true to allow this operation to return data with visibility which does not include the current user. Only allowed for index admins and owners.
|
|
1910
|
+
* @default false
|
|
1911
|
+
*/
|
|
1912
|
+
bypass_visible_to: boolean;
|
|
1913
|
+
filter_principal_sets?: string[];
|
|
1914
|
+
/**
|
|
1915
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1916
|
+
* @enum {string}
|
|
1917
|
+
*/
|
|
1918
|
+
"@version": "2017-09-01";
|
|
1919
|
+
filters?: components["schemas"]["GFilter"][];
|
|
1920
|
+
};
|
|
1921
|
+
GScrollRequestV1: {
|
|
1922
|
+
marker?: unknown;
|
|
1923
|
+
q?: string;
|
|
1924
|
+
/** @default 10 */
|
|
1925
|
+
limit: number;
|
|
1926
|
+
advanced?: boolean;
|
|
1927
|
+
/**
|
|
1928
|
+
* @description Set to true to allow this operation to return data with visibility which does not include the current user. Only allowed for index admins and owners.
|
|
1929
|
+
* @default false
|
|
1930
|
+
*/
|
|
1931
|
+
bypass_visible_to: boolean;
|
|
1932
|
+
filter_principal_sets?: string[];
|
|
1933
|
+
/**
|
|
1934
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1935
|
+
* @enum {string}
|
|
1936
|
+
*/
|
|
1937
|
+
"@version": "scroll#1.0.0";
|
|
1938
|
+
filters?: components["schemas"]["GFilterV1"][];
|
|
1939
|
+
q_settings?: components["schemas"]["QSettings"];
|
|
1940
|
+
};
|
|
1941
|
+
GScrollRequest: components["schemas"]["GScrollRequest2017"] | components["schemas"]["GScrollRequestV1"];
|
|
1942
|
+
GScrollResponse: {
|
|
1943
|
+
total?: number;
|
|
1944
|
+
/** @description The length of the 'gmeta' array. */
|
|
1945
|
+
count?: number;
|
|
1946
|
+
gmeta?: components["schemas"]["GMetaResult"][];
|
|
1947
|
+
/** @description True if another page of results is available with pagination. */
|
|
1948
|
+
has_next_page?: boolean;
|
|
1949
|
+
marker?: unknown;
|
|
1950
|
+
};
|
|
1951
|
+
GMetaEntry: {
|
|
1952
|
+
subject: string;
|
|
1953
|
+
/** @default null */
|
|
1954
|
+
id: string | null;
|
|
1955
|
+
content: {
|
|
1956
|
+
[key: string]: unknown;
|
|
1957
|
+
};
|
|
1958
|
+
visible_to: string[];
|
|
1959
|
+
principal_sets?: {
|
|
1960
|
+
[key: string]: string[];
|
|
1961
|
+
};
|
|
1962
|
+
};
|
|
1963
|
+
GIngestEntry: {
|
|
1964
|
+
/**
|
|
1965
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1966
|
+
* @enum {string}
|
|
1967
|
+
*/
|
|
1968
|
+
ingest_type: "GMetaEntry";
|
|
1969
|
+
/**
|
|
1970
|
+
* @description A field_mapping explicitly sets the type for fields being used in the ingest document.
|
|
1971
|
+
* The fieldnames are used as keys and their values are the types to which they map. Dots
|
|
1972
|
+
* in fieldnames are interpreted as part of the path to a field, but may be escaped with a
|
|
1973
|
+
* backslash.
|
|
1974
|
+
*
|
|
1975
|
+
* Currently, only geo datatypes are supported.
|
|
1976
|
+
*
|
|
1977
|
+
* @example {
|
|
1978
|
+
* "location.center": "geo_point",
|
|
1979
|
+
* "location.boundary": "geo_shape"
|
|
1980
|
+
* }
|
|
1981
|
+
*/
|
|
1982
|
+
field_mapping?: {
|
|
1983
|
+
[key: string]: "geo_point" | "geo_shape";
|
|
1984
|
+
};
|
|
1985
|
+
ingest_data: components["schemas"]["GMetaEntry"];
|
|
1986
|
+
};
|
|
1987
|
+
GMetaList: {
|
|
1988
|
+
gmeta: components["schemas"]["GMetaEntry"][];
|
|
1989
|
+
};
|
|
1990
|
+
GIngestList: {
|
|
1991
|
+
/**
|
|
1992
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1993
|
+
* @enum {string}
|
|
1994
|
+
*/
|
|
1995
|
+
ingest_type: "GMetaList";
|
|
1996
|
+
/**
|
|
1997
|
+
* @description A field_mapping explicitly sets the type for fields being used in the ingest document.
|
|
1998
|
+
* The fieldnames are used as keys and their values are the types to which they map. Dots
|
|
1999
|
+
* in fieldnames are interpreted as part of the path to a field, but may be escaped with a
|
|
2000
|
+
* backslash.
|
|
2001
|
+
*
|
|
2002
|
+
* Currently, only geo datatypes are supported.
|
|
2003
|
+
*
|
|
2004
|
+
* @example {
|
|
2005
|
+
* "location.center": "geo_point",
|
|
2006
|
+
* "location.boundary": "geo_shape"
|
|
2007
|
+
* }
|
|
2008
|
+
*/
|
|
2009
|
+
field_mapping?: {
|
|
2010
|
+
[key: string]: "geo_point" | "geo_shape";
|
|
2011
|
+
};
|
|
2012
|
+
ingest_data: components["schemas"]["GMetaList"];
|
|
2013
|
+
};
|
|
2014
|
+
GIngest: components["schemas"]["GIngestEntry"] | components["schemas"]["GIngestList"];
|
|
2015
|
+
TaskSubmitResponse: {
|
|
2016
|
+
/** @description Always true for successful task submission. */
|
|
2017
|
+
acknowledged?: boolean;
|
|
2018
|
+
/**
|
|
2019
|
+
* Format: uuid
|
|
2020
|
+
* @description The ID of the task which was just created.
|
|
2021
|
+
*/
|
|
2022
|
+
task_id?: string;
|
|
2023
|
+
};
|
|
2024
|
+
Task: {
|
|
2025
|
+
/** Format: uuid */
|
|
2026
|
+
task_id?: string;
|
|
2027
|
+
/** @enum {string} */
|
|
2028
|
+
state?: "PENDING" | "PROGRESS" | "SUCCESS" | "FAILED" | "CREATING";
|
|
2029
|
+
state_description?: string;
|
|
2030
|
+
task_type?: string;
|
|
2031
|
+
/** Format: uuid */
|
|
2032
|
+
index_id?: string;
|
|
2033
|
+
/** Format: date */
|
|
2034
|
+
creation_date?: string;
|
|
2035
|
+
message?: string;
|
|
2036
|
+
additional_details?: unknown;
|
|
2037
|
+
/** Format: date */
|
|
2038
|
+
completion_date?: string | null;
|
|
2039
|
+
};
|
|
2040
|
+
TaskList: {
|
|
2041
|
+
/** Format: uuid */
|
|
2042
|
+
index_id?: string;
|
|
2043
|
+
tasks?: components["schemas"]["Task"][];
|
|
2044
|
+
};
|
|
2045
|
+
IndexWithPermissions: {
|
|
2046
|
+
display_name?: string;
|
|
2047
|
+
description?: string;
|
|
2048
|
+
/** Format: uuid */
|
|
2049
|
+
id?: string;
|
|
2050
|
+
max_size_in_mb?: number;
|
|
2051
|
+
size_in_mb?: number;
|
|
2052
|
+
num_subjects?: number;
|
|
2053
|
+
num_entries?: number;
|
|
2054
|
+
/** Format: date */
|
|
2055
|
+
creation_date?: string;
|
|
2056
|
+
entry_schema?: {
|
|
2057
|
+
[key: string]: unknown;
|
|
2058
|
+
};
|
|
2059
|
+
/** Format: uuid */
|
|
2060
|
+
subscription_id?: string;
|
|
2061
|
+
is_trial?: boolean;
|
|
2062
|
+
status?: string;
|
|
2063
|
+
permissions?: ("owner" | "admin" | "writer")[];
|
|
2064
|
+
};
|
|
2065
|
+
IndexDeleteResponse: {
|
|
2066
|
+
/** @description Always true for successful index deletion. */
|
|
2067
|
+
acknowledged?: boolean;
|
|
2068
|
+
/**
|
|
2069
|
+
* Format: uuid
|
|
2070
|
+
* @description The ID of the index which was marked for deletion.
|
|
2071
|
+
*/
|
|
2072
|
+
index_id?: string;
|
|
2073
|
+
};
|
|
2074
|
+
IndexListWPermissions: {
|
|
2075
|
+
index_list?: components["schemas"]["IndexWithPermissions"][];
|
|
2076
|
+
};
|
|
2077
|
+
IndexCreate: {
|
|
2078
|
+
/** @description The name of the index */
|
|
2079
|
+
display_name: string;
|
|
2080
|
+
/** @description A description of the index */
|
|
2081
|
+
description: string;
|
|
2082
|
+
};
|
|
2083
|
+
IndexInfo: {
|
|
2084
|
+
display_name?: string;
|
|
2085
|
+
description?: string;
|
|
2086
|
+
/** Format: uuid */
|
|
2087
|
+
id?: string;
|
|
2088
|
+
max_size_in_mb?: number;
|
|
2089
|
+
size_in_mb?: number;
|
|
2090
|
+
num_subjects?: number;
|
|
2091
|
+
num_entries?: number;
|
|
2092
|
+
/** Format: date */
|
|
2093
|
+
creation_date?: string;
|
|
2094
|
+
entry_schema?: {
|
|
2095
|
+
[key: string]: unknown;
|
|
2096
|
+
};
|
|
2097
|
+
/** Format: uuid */
|
|
2098
|
+
subscription_id?: string;
|
|
2099
|
+
is_trial?: boolean;
|
|
2100
|
+
status?: string;
|
|
2101
|
+
};
|
|
2102
|
+
IndexReopenResponse: {
|
|
2103
|
+
/** @description Always true for successful index reopen. */
|
|
2104
|
+
acknowledged?: boolean;
|
|
2105
|
+
/**
|
|
2106
|
+
* Format: uuid
|
|
2107
|
+
* @description The ID of the index which was reopened.
|
|
2108
|
+
*/
|
|
2109
|
+
index_id?: string;
|
|
2110
|
+
};
|
|
2111
|
+
Role: {
|
|
2112
|
+
/** @description The ID of the role. */
|
|
2113
|
+
id?: string;
|
|
2114
|
+
/**
|
|
2115
|
+
* @description The name of the role. This implies some set of permissions.
|
|
2116
|
+
* @enum {string}
|
|
2117
|
+
*/
|
|
2118
|
+
role_name?: "owner" | "admin" | "writer";
|
|
2119
|
+
/** Format: uuid */
|
|
2120
|
+
index_id?: string;
|
|
2121
|
+
/** @description The principal URN for the entity which has this role. */
|
|
2122
|
+
principal?: string;
|
|
2123
|
+
/**
|
|
2124
|
+
* @description The type of principal encoded by the URN.
|
|
2125
|
+
* @enum {string}
|
|
2126
|
+
*/
|
|
2127
|
+
principal_type?: "identity" | "group";
|
|
2128
|
+
/** Format: date */
|
|
2129
|
+
creation_date?: string;
|
|
2130
|
+
};
|
|
2131
|
+
RoleList: {
|
|
2132
|
+
role_list?: components["schemas"]["Role"][];
|
|
2133
|
+
};
|
|
2134
|
+
RoleCreate: {
|
|
2135
|
+
/**
|
|
2136
|
+
* @description The name of the role. This implies some set of permissions.
|
|
2137
|
+
* @enum {string}
|
|
2138
|
+
*/
|
|
2139
|
+
role_name?: "owner" | "admin" | "writer";
|
|
2140
|
+
/** @description The principal URN for the entity which has this role. */
|
|
2141
|
+
principal?: string;
|
|
2142
|
+
};
|
|
2143
|
+
DeletedRole: {
|
|
2144
|
+
deleted?: components["schemas"]["Role"];
|
|
2145
|
+
success?: boolean;
|
|
2146
|
+
};
|
|
2147
|
+
DeleteBySubjectRequest: {
|
|
2148
|
+
subjects: string[];
|
|
2149
|
+
};
|
|
2150
|
+
DeleteByQueryV1: {
|
|
2151
|
+
/**
|
|
2152
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2153
|
+
* @enum {string}
|
|
2154
|
+
*/
|
|
2155
|
+
"@version": "delete_by_query#1.0.0";
|
|
2156
|
+
q?: string;
|
|
2157
|
+
advanced?: boolean;
|
|
2158
|
+
q_settings?: components["schemas"]["QSettings"];
|
|
2159
|
+
filters?: components["schemas"]["GFilterV1"][];
|
|
2160
|
+
};
|
|
2161
|
+
DeleteByQuery: components["schemas"]["GSearchRequestBody2017"] | components["schemas"]["GSearchRequestBody2017"] | components["schemas"]["DeleteByQueryV1"];
|
|
2162
|
+
UGFieldMappings: {
|
|
2163
|
+
/**
|
|
2164
|
+
* @description A mapping from full field names to their types.
|
|
2165
|
+
* @example {
|
|
2166
|
+
* "foo": "long",
|
|
2167
|
+
* "bar.baz": "text"
|
|
2168
|
+
* }
|
|
2169
|
+
*/
|
|
2170
|
+
mappings?: {
|
|
2171
|
+
[key: string]: unknown;
|
|
2172
|
+
};
|
|
2173
|
+
};
|
|
2174
|
+
FieldBudget: {
|
|
2175
|
+
/** @description The size of the budget for the index. */
|
|
2176
|
+
budget?: number;
|
|
2177
|
+
/** @description The amount of the budget which has been used (i.e., budget - remaining). */
|
|
2178
|
+
used?: number;
|
|
2179
|
+
/** @description The amount of the budget remaining (i.e., budget - used). */
|
|
2180
|
+
remaining?: number;
|
|
2181
|
+
};
|
|
2182
|
+
};
|
|
2183
|
+
responses: never;
|
|
2184
|
+
parameters: never;
|
|
2185
|
+
requestBodies: never;
|
|
2186
|
+
headers: never;
|
|
2187
|
+
pathItems: never;
|
|
2188
|
+
}
|
|
2189
|
+
export type $defs = Record<string, never>;
|
|
2190
|
+
export type operations = Record<string, never>;
|
|
2191
|
+
//# sourceMappingURL=search.d.ts.map
|