Skip to content

Commit

Permalink
Auto-generated API code
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine committed Nov 10, 2023
1 parent a79bfac commit c767e0e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
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

0 comments on commit c767e0e

Please sign in to comment.