API generation

This commit is contained in:
delvedor
2021-08-11 12:00:15 +02:00
parent 3bd3748feb
commit 0f35880143
5 changed files with 177 additions and 4 deletions

View File

@ -2236,6 +2236,20 @@ export interface Search<T = RequestBody> extends Generic {
body?: T;
}
export interface SearchMvt<T = RequestBody> extends Generic {
index: string | string[];
field: string;
zoom: integer;
x: integer;
y: integer;
exact_bounds?: boolean;
extent?: number;
grid_precision?: number;
grid_type?: 'grid' | 'point';
size?: number;
body?: T;
}
export interface SearchShards extends Generic {
index?: string | string[];
preference?: string;