API generation

This commit is contained in:
delvedor
2021-08-16 11:27:35 +02:00
parent 498199ca60
commit def28e33d1
5 changed files with 173 additions and 0 deletions

View File

@ -2180,6 +2180,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;