Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-generated code for 8.11 #2065

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,7 @@ export interface SearchRequest extends RequestBase {
_source_includes?: Fields
q?: string
aggregations?: Record<string, AggregationsAggregationContainer>
/** @alias aggregations */
aggs?: Record<string, AggregationsAggregationContainer>
collapse?: SearchFieldCollapse
explain?: boolean
Expand Down Expand Up @@ -6117,6 +6118,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
_source_includes?: Fields
q?: string
aggregations?: Record<string, AggregationsAggregationContainer>
/** @alias aggregations */
aggs?: Record<string, AggregationsAggregationContainer>
collapse?: SearchFieldCollapse
explain?: boolean
Expand Down Expand Up @@ -9198,6 +9200,7 @@ export interface FleetSearchRequest extends RequestBase {
wait_for_checkpoints?: FleetCheckpoint[]
allow_partial_search_results?: boolean
aggregations?: Record<string, AggregationsAggregationContainer>
/** @alias aggregations */
aggs?: Record<string, AggregationsAggregationContainer>
collapse?: SearchFieldCollapse
explain?: boolean
Expand Down Expand Up @@ -13844,6 +13847,7 @@ export interface MlPutDatafeedRequest extends RequestBase {
delayed_data_check_config?: MlDelayedDataCheckConfig
frequency?: Duration
indices?: Indices
/** @alias indices */
indexes?: Indices
indices_options?: IndicesOptions
job_id?: Id
Expand Down Expand Up @@ -14177,6 +14181,7 @@ export interface MlUpdateDatafeedRequest extends RequestBase {
delayed_data_check_config?: MlDelayedDataCheckConfig
frequency?: Duration
indices?: string[]
/** @alias indices */
indexes?: string[]
indices_options?: IndicesOptions
job_id?: Id
Expand Down Expand Up @@ -15446,6 +15451,7 @@ export interface RollupRollupSearchRequest extends RequestBase {
rest_total_hits_as_int?: boolean
typed_keys?: boolean
aggregations?: Record<string, AggregationsAggregationContainer>
/** @alias aggregations */
aggs?: Record<string, AggregationsAggregationContainer>
query?: QueryDslQueryContainer
size?: integer
Expand Down
6 changes: 6 additions & 0 deletions src/api/typesWithBodyKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,7 @@ export interface SearchRequest extends RequestBase {
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
body?: {
aggregations?: Record<string, AggregationsAggregationContainer>
/** @alias aggregations */
aggs?: Record<string, AggregationsAggregationContainer>
collapse?: SearchFieldCollapse
explain?: boolean
Expand Down Expand Up @@ -6192,6 +6193,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
body?: {
aggregations?: Record<string, AggregationsAggregationContainer>
/** @alias aggregations */
aggs?: Record<string, AggregationsAggregationContainer>
collapse?: SearchFieldCollapse
explain?: boolean
Expand Down Expand Up @@ -9308,6 +9310,7 @@ export interface FleetSearchRequest extends RequestBase {
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
body?: {
aggregations?: Record<string, AggregationsAggregationContainer>
/** @alias aggregations */
aggs?: Record<string, AggregationsAggregationContainer>
collapse?: SearchFieldCollapse
explain?: boolean
Expand Down Expand Up @@ -14091,6 +14094,7 @@ export interface MlPutDatafeedRequest extends RequestBase {
delayed_data_check_config?: MlDelayedDataCheckConfig
frequency?: Duration
indices?: Indices
/** @alias indices */
indexes?: Indices
indices_options?: IndicesOptions
job_id?: Id
Expand Down Expand Up @@ -14454,6 +14458,7 @@ export interface MlUpdateDatafeedRequest extends RequestBase {
delayed_data_check_config?: MlDelayedDataCheckConfig
frequency?: Duration
indices?: string[]
/** @alias indices */
indexes?: string[]
indices_options?: IndicesOptions
job_id?: Id
Expand Down Expand Up @@ -15749,6 +15754,7 @@ export interface RollupRollupSearchRequest extends RequestBase {
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
body?: {
aggregations?: Record<string, AggregationsAggregationContainer>
/** @alias aggregations */
aggs?: Record<string, AggregationsAggregationContainer>
query?: QueryDslQueryContainer
size?: integer
Expand Down
Loading