Updated types
This commit is contained in:
114
api/types.d.ts
vendored
114
api/types.d.ts
vendored
@ -973,8 +973,8 @@ export interface SearchRequest extends RequestBase {
|
|||||||
from?: integer
|
from?: integer
|
||||||
sort?: string | string[]
|
sort?: string | string[]
|
||||||
body?: {
|
body?: {
|
||||||
aggs?: Record<string, AggregationsAggregationContainer>
|
|
||||||
aggregations?: Record<string, AggregationsAggregationContainer>
|
aggregations?: Record<string, AggregationsAggregationContainer>
|
||||||
|
aggs?: Record<string, AggregationsAggregationContainer>
|
||||||
collapse?: SearchFieldCollapse
|
collapse?: SearchFieldCollapse
|
||||||
explain?: boolean
|
explain?: boolean
|
||||||
from?: integer
|
from?: integer
|
||||||
@ -1188,8 +1188,8 @@ export interface SearchGeoDistanceSortKeys {
|
|||||||
order?: SearchSortOrder
|
order?: SearchSortOrder
|
||||||
unit?: DistanceUnit
|
unit?: DistanceUnit
|
||||||
}
|
}
|
||||||
export type SearchGeoDistanceSort = SearchGeoDistanceSortKeys |
|
export type SearchGeoDistanceSort = SearchGeoDistanceSortKeys
|
||||||
{ [property: string]: QueryDslGeoLocation | QueryDslGeoLocation[] }
|
& { [property: string]: QueryDslGeoLocation | QueryDslGeoLocation[] | SearchSortMode | GeoDistanceType | SearchSortOrder | DistanceUnit }
|
||||||
|
|
||||||
export interface SearchHighlight {
|
export interface SearchHighlight {
|
||||||
fields: Record<Field, SearchHighlightField>
|
fields: Record<Field, SearchHighlightField>
|
||||||
@ -1457,8 +1457,8 @@ export interface SearchSortContainerKeys {
|
|||||||
_geo_distance?: SearchGeoDistanceSort
|
_geo_distance?: SearchGeoDistanceSort
|
||||||
_script?: SearchScriptSort
|
_script?: SearchScriptSort
|
||||||
}
|
}
|
||||||
export type SearchSortContainer = SearchSortContainerKeys |
|
export type SearchSortContainer = SearchSortContainerKeys
|
||||||
{ [property: string]: SearchFieldSort | SearchSortOrder }
|
& { [property: string]: SearchFieldSort | SearchSortOrder | SearchScoreSort | SearchGeoDistanceSort | SearchScriptSort }
|
||||||
|
|
||||||
export type SearchSortMode = 'min' | 'max' | 'sum' | 'avg' | 'median'
|
export type SearchSortMode = 'min' | 'max' | 'sum' | 'avg' | 'median'
|
||||||
|
|
||||||
@ -1933,7 +1933,6 @@ export interface ElasticsearchVersionInfo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface EmptyObject {
|
export interface EmptyObject {
|
||||||
[key: string]: never
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EpochMillis = string | long
|
export type EpochMillis = string | long
|
||||||
@ -1946,8 +1945,8 @@ export interface ErrorCauseKeys {
|
|||||||
root_cause?: ErrorCause[]
|
root_cause?: ErrorCause[]
|
||||||
suppressed?: ErrorCause[]
|
suppressed?: ErrorCause[]
|
||||||
}
|
}
|
||||||
export type ErrorCause = ErrorCauseKeys |
|
export type ErrorCause = ErrorCauseKeys
|
||||||
{ [property: string]: any }
|
& { [property: string]: any }
|
||||||
|
|
||||||
export interface ErrorResponseBase {
|
export interface ErrorResponseBase {
|
||||||
error: ErrorCause
|
error: ErrorCause
|
||||||
@ -2066,8 +2065,8 @@ export interface InlineGetKeys<TDocument = unknown> {
|
|||||||
_routing?: Routing
|
_routing?: Routing
|
||||||
_source: TDocument
|
_source: TDocument
|
||||||
}
|
}
|
||||||
export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument> |
|
export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument>
|
||||||
{ [property: string]: any }
|
& { [property: string]: any }
|
||||||
|
|
||||||
export interface InlineScript extends ScriptBase {
|
export interface InlineScript extends ScriptBase {
|
||||||
source: string
|
source: string
|
||||||
@ -2371,7 +2370,6 @@ export type TimeZone = string
|
|||||||
export type Timestamp = string
|
export type Timestamp = string
|
||||||
|
|
||||||
export interface Transform {
|
export interface Transform {
|
||||||
[key: string]: never
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TransformContainer {
|
export interface TransformContainer {
|
||||||
@ -2648,8 +2646,8 @@ export interface AggregationsCompositeAggregationSource {
|
|||||||
|
|
||||||
export interface AggregationsCompositeBucketKeys {
|
export interface AggregationsCompositeBucketKeys {
|
||||||
}
|
}
|
||||||
export type AggregationsCompositeBucket = AggregationsCompositeBucketKeys |
|
export type AggregationsCompositeBucket = AggregationsCompositeBucketKeys
|
||||||
{ [property: string]: AggregationsAggregate }
|
& { [property: string]: AggregationsAggregate }
|
||||||
|
|
||||||
export interface AggregationsCompositeBucketAggregate extends AggregationsMultiBucketAggregate<Record<string, any>> {
|
export interface AggregationsCompositeBucketAggregate extends AggregationsMultiBucketAggregate<Record<string, any>> {
|
||||||
after_key: Record<string, any>
|
after_key: Record<string, any>
|
||||||
@ -2681,8 +2679,8 @@ export interface AggregationsDateHistogramAggregation extends AggregationsBucket
|
|||||||
|
|
||||||
export interface AggregationsDateHistogramBucketKeys {
|
export interface AggregationsDateHistogramBucketKeys {
|
||||||
}
|
}
|
||||||
export type AggregationsDateHistogramBucket = AggregationsDateHistogramBucketKeys |
|
export type AggregationsDateHistogramBucket = AggregationsDateHistogramBucketKeys
|
||||||
{ [property: string]: AggregationsAggregate }
|
& { [property: string]: AggregationsAggregate }
|
||||||
|
|
||||||
export type AggregationsDateInterval = 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year'
|
export type AggregationsDateInterval = 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year'
|
||||||
|
|
||||||
@ -2757,8 +2755,8 @@ export interface AggregationsFiltersAggregation extends AggregationsBucketAggreg
|
|||||||
export interface AggregationsFiltersBucketItemKeys {
|
export interface AggregationsFiltersBucketItemKeys {
|
||||||
doc_count: long
|
doc_count: long
|
||||||
}
|
}
|
||||||
export type AggregationsFiltersBucketItem = AggregationsFiltersBucketItemKeys |
|
export type AggregationsFiltersBucketItem = AggregationsFiltersBucketItemKeys
|
||||||
{ [property: string]: AggregationsAggregate }
|
& { [property: string]: AggregationsAggregate | long }
|
||||||
|
|
||||||
export interface AggregationsFormatMetricAggregationBase extends AggregationsMetricAggregationBase {
|
export interface AggregationsFormatMetricAggregationBase extends AggregationsMetricAggregationBase {
|
||||||
format?: string
|
format?: string
|
||||||
@ -2922,16 +2920,16 @@ export interface AggregationsIpRangeAggregationRange {
|
|||||||
|
|
||||||
export interface AggregationsIpRangeBucketKeys {
|
export interface AggregationsIpRangeBucketKeys {
|
||||||
}
|
}
|
||||||
export type AggregationsIpRangeBucket = AggregationsIpRangeBucketKeys |
|
export type AggregationsIpRangeBucket = AggregationsIpRangeBucketKeys
|
||||||
{ [property: string]: AggregationsAggregate }
|
& { [property: string]: AggregationsAggregate }
|
||||||
|
|
||||||
export interface AggregationsKeyedBucketKeys<TKey = unknown> {
|
export interface AggregationsKeyedBucketKeys<TKey = unknown> {
|
||||||
doc_count: long
|
doc_count: long
|
||||||
key: TKey
|
key: TKey
|
||||||
key_as_string: string
|
key_as_string: string
|
||||||
}
|
}
|
||||||
export type AggregationsKeyedBucket<TKey = unknown> = AggregationsKeyedBucketKeys<TKey> |
|
export type AggregationsKeyedBucket<TKey = unknown> = AggregationsKeyedBucketKeys<TKey>
|
||||||
{ [property: string]: AggregationsAggregate }
|
& { [property: string]: AggregationsAggregate | long | TKey | string }
|
||||||
|
|
||||||
export interface AggregationsKeyedValueAggregate extends AggregationsValueAggregate {
|
export interface AggregationsKeyedValueAggregate extends AggregationsValueAggregate {
|
||||||
keys: string[]
|
keys: string[]
|
||||||
@ -3054,7 +3052,6 @@ export interface AggregationsParentAggregation extends AggregationsBucketAggrega
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface AggregationsPercentageScoreHeuristic {
|
export interface AggregationsPercentageScoreHeuristic {
|
||||||
[key: string]: never
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface AggregationsPercentileItem {
|
export interface AggregationsPercentileItem {
|
||||||
@ -3100,8 +3097,8 @@ export interface AggregationsRangeAggregation extends AggregationsBucketAggregat
|
|||||||
|
|
||||||
export interface AggregationsRangeBucketKeys {
|
export interface AggregationsRangeBucketKeys {
|
||||||
}
|
}
|
||||||
export type AggregationsRangeBucket = AggregationsRangeBucketKeys |
|
export type AggregationsRangeBucket = AggregationsRangeBucketKeys
|
||||||
{ [property: string]: AggregationsAggregate }
|
& { [property: string]: AggregationsAggregate }
|
||||||
|
|
||||||
export interface AggregationsRareTermsAggregation extends AggregationsBucketAggregationBase {
|
export interface AggregationsRareTermsAggregation extends AggregationsBucketAggregationBase {
|
||||||
exclude?: string | string[]
|
exclude?: string | string[]
|
||||||
@ -3115,8 +3112,8 @@ export interface AggregationsRareTermsAggregation extends AggregationsBucketAggr
|
|||||||
|
|
||||||
export interface AggregationsRareTermsBucketKeys<TKey = unknown> {
|
export interface AggregationsRareTermsBucketKeys<TKey = unknown> {
|
||||||
}
|
}
|
||||||
export type AggregationsRareTermsBucket<TKey = unknown> = AggregationsRareTermsBucketKeys<TKey> |
|
export type AggregationsRareTermsBucket<TKey = unknown> = AggregationsRareTermsBucketKeys<TKey>
|
||||||
{ [property: string]: AggregationsAggregate }
|
& { [property: string]: AggregationsAggregate }
|
||||||
|
|
||||||
export interface AggregationsRateAggregation extends AggregationsFormatMetricAggregationBase {
|
export interface AggregationsRateAggregation extends AggregationsFormatMetricAggregationBase {
|
||||||
unit?: AggregationsDateInterval
|
unit?: AggregationsDateInterval
|
||||||
@ -3184,8 +3181,8 @@ export interface AggregationsSignificantTermsAggregation extends AggregationsBuc
|
|||||||
|
|
||||||
export interface AggregationsSignificantTermsBucketKeys<TKey = unknown> {
|
export interface AggregationsSignificantTermsBucketKeys<TKey = unknown> {
|
||||||
}
|
}
|
||||||
export type AggregationsSignificantTermsBucket<TKey = unknown> = AggregationsSignificantTermsBucketKeys<TKey> |
|
export type AggregationsSignificantTermsBucket<TKey = unknown> = AggregationsSignificantTermsBucketKeys<TKey>
|
||||||
{ [property: string]: AggregationsAggregate }
|
& { [property: string]: AggregationsAggregate }
|
||||||
|
|
||||||
export interface AggregationsSignificantTextAggregation extends AggregationsBucketAggregationBase {
|
export interface AggregationsSignificantTextAggregation extends AggregationsBucketAggregationBase {
|
||||||
background_filter?: QueryDslQueryContainer
|
background_filter?: QueryDslQueryContainer
|
||||||
@ -3209,8 +3206,8 @@ export interface AggregationsSignificantTextAggregation extends AggregationsBuck
|
|||||||
export interface AggregationsSingleBucketAggregateKeys extends AggregationsAggregateBase {
|
export interface AggregationsSingleBucketAggregateKeys extends AggregationsAggregateBase {
|
||||||
doc_count: double
|
doc_count: double
|
||||||
}
|
}
|
||||||
export type AggregationsSingleBucketAggregate = AggregationsSingleBucketAggregateKeys |
|
export type AggregationsSingleBucketAggregate = AggregationsSingleBucketAggregateKeys
|
||||||
{ [property: string]: AggregationsAggregate }
|
& { [property: string]: AggregationsAggregate | double | Record<string, any> }
|
||||||
|
|
||||||
export interface AggregationsStandardDeviationBounds {
|
export interface AggregationsStandardDeviationBounds {
|
||||||
lower?: double
|
lower?: double
|
||||||
@ -4397,8 +4394,8 @@ export interface QueryDslConstantScoreQuery extends QueryDslQueryBase {
|
|||||||
|
|
||||||
export interface QueryDslDateDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
export interface QueryDslDateDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
||||||
}
|
}
|
||||||
export type QueryDslDateDecayFunction = QueryDslDateDecayFunctionKeys |
|
export type QueryDslDateDecayFunction = QueryDslDateDecayFunctionKeys
|
||||||
{ [property: string]: QueryDslDecayPlacement<DateMath, Time> }
|
& { [property: string]: QueryDslDecayPlacement<DateMath, Time> | QueryDslMultiValueMode | QueryDslQueryContainer | double }
|
||||||
|
|
||||||
export interface QueryDslDateDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<DateMath, Time> {
|
export interface QueryDslDateDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<DateMath, Time> {
|
||||||
}
|
}
|
||||||
@ -4498,15 +4495,15 @@ export interface QueryDslGeoBoundingBoxQueryKeys extends QueryDslQueryBase {
|
|||||||
validation_method?: QueryDslGeoValidationMethod
|
validation_method?: QueryDslGeoValidationMethod
|
||||||
ignore_unmapped?: boolean
|
ignore_unmapped?: boolean
|
||||||
}
|
}
|
||||||
export type QueryDslGeoBoundingBoxQuery = QueryDslGeoBoundingBoxQueryKeys |
|
export type QueryDslGeoBoundingBoxQuery = QueryDslGeoBoundingBoxQueryKeys
|
||||||
{ [property: string]: QueryDslBoundingBox }
|
& { [property: string]: QueryDslBoundingBox | QueryDslGeoExecution | QueryDslGeoValidationMethod | boolean | float | string }
|
||||||
|
|
||||||
export type QueryDslGeoCoordinate = string | double[] | QueryDslThreeDimensionalPoint
|
export type QueryDslGeoCoordinate = string | double[] | QueryDslThreeDimensionalPoint
|
||||||
|
|
||||||
export interface QueryDslGeoDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
export interface QueryDslGeoDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
||||||
}
|
}
|
||||||
export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys |
|
export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys
|
||||||
{ [property: string]: QueryDslDecayPlacement<QueryDslGeoLocation, Distance> }
|
& { [property: string]: QueryDslDecayPlacement<QueryDslGeoLocation, Distance> | QueryDslMultiValueMode | QueryDslQueryContainer | double }
|
||||||
|
|
||||||
export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<QueryDslGeoCoordinate, Distance> {
|
export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<QueryDslGeoCoordinate, Distance> {
|
||||||
}
|
}
|
||||||
@ -4516,8 +4513,8 @@ export interface QueryDslGeoDistanceQueryKeys extends QueryDslQueryBase {
|
|||||||
distance_type?: GeoDistanceType
|
distance_type?: GeoDistanceType
|
||||||
validation_method?: QueryDslGeoValidationMethod
|
validation_method?: QueryDslGeoValidationMethod
|
||||||
}
|
}
|
||||||
export type QueryDslGeoDistanceQuery = QueryDslGeoDistanceQueryKeys |
|
export type QueryDslGeoDistanceQuery = QueryDslGeoDistanceQueryKeys
|
||||||
{ [property: string]: QueryDslGeoLocation }
|
& { [property: string]: QueryDslGeoLocation | Distance | GeoDistanceType | QueryDslGeoValidationMethod | float | string }
|
||||||
|
|
||||||
export type QueryDslGeoExecution = 'memory' | 'indexed'
|
export type QueryDslGeoExecution = 'memory' | 'indexed'
|
||||||
|
|
||||||
@ -4531,8 +4528,8 @@ export interface QueryDslGeoPolygonQueryKeys extends QueryDslQueryBase {
|
|||||||
validation_method?: QueryDslGeoValidationMethod
|
validation_method?: QueryDslGeoValidationMethod
|
||||||
ignore_unmapped?: boolean
|
ignore_unmapped?: boolean
|
||||||
}
|
}
|
||||||
export type QueryDslGeoPolygonQuery = QueryDslGeoPolygonQueryKeys |
|
export type QueryDslGeoPolygonQuery = QueryDslGeoPolygonQueryKeys
|
||||||
{ [property: string]: QueryDslGeoPolygonPoints }
|
& { [property: string]: QueryDslGeoPolygonPoints | QueryDslGeoValidationMethod | boolean | float | string }
|
||||||
|
|
||||||
export interface QueryDslGeoShapeFieldQuery {
|
export interface QueryDslGeoShapeFieldQuery {
|
||||||
shape?: GeoShape
|
shape?: GeoShape
|
||||||
@ -4543,8 +4540,8 @@ export interface QueryDslGeoShapeFieldQuery {
|
|||||||
export interface QueryDslGeoShapeQueryKeys extends QueryDslQueryBase {
|
export interface QueryDslGeoShapeQueryKeys extends QueryDslQueryBase {
|
||||||
ignore_unmapped?: boolean
|
ignore_unmapped?: boolean
|
||||||
}
|
}
|
||||||
export type QueryDslGeoShapeQuery = QueryDslGeoShapeQueryKeys |
|
export type QueryDslGeoShapeQuery = QueryDslGeoShapeQueryKeys
|
||||||
{ [property: string]: QueryDslGeoShapeFieldQuery }
|
& { [property: string]: QueryDslGeoShapeFieldQuery | boolean | float | string }
|
||||||
|
|
||||||
export type QueryDslGeoValidationMethod = 'coerce' | 'ignore_malformed' | 'strict'
|
export type QueryDslGeoValidationMethod = 'coerce' | 'ignore_malformed' | 'strict'
|
||||||
|
|
||||||
@ -4770,8 +4767,8 @@ export interface QueryDslNumberRangeQuery extends QueryDslRangeQueryBase {
|
|||||||
|
|
||||||
export interface QueryDslNumericDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
export interface QueryDslNumericDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
||||||
}
|
}
|
||||||
export type QueryDslNumericDecayFunction = QueryDslNumericDecayFunctionKeys |
|
export type QueryDslNumericDecayFunction = QueryDslNumericDecayFunctionKeys
|
||||||
{ [property: string]: QueryDslDecayPlacement<double, double> }
|
& { [property: string]: QueryDslDecayPlacement<double, double> | QueryDslMultiValueMode | QueryDslQueryContainer | double }
|
||||||
|
|
||||||
export type QueryDslOperator = 'and' | 'or'
|
export type QueryDslOperator = 'and' | 'or'
|
||||||
|
|
||||||
@ -4913,11 +4910,9 @@ export interface QueryDslRangeQueryBase extends QueryDslQueryBase {
|
|||||||
export type QueryDslRangeRelation = 'within' | 'contains' | 'intersects'
|
export type QueryDslRangeRelation = 'within' | 'contains' | 'intersects'
|
||||||
|
|
||||||
export interface QueryDslRankFeatureFunction {
|
export interface QueryDslRankFeatureFunction {
|
||||||
[key: string]: never
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface QueryDslRankFeatureFunctionLinear {
|
export interface QueryDslRankFeatureFunctionLinear {
|
||||||
[key: string]: never
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface QueryDslRankFeatureFunctionLogarithm {
|
export interface QueryDslRankFeatureFunctionLogarithm {
|
||||||
@ -4977,8 +4972,8 @@ export interface QueryDslShapeFieldQuery {
|
|||||||
|
|
||||||
export interface QueryDslShapeQueryKeys extends QueryDslQueryBase {
|
export interface QueryDslShapeQueryKeys extends QueryDslQueryBase {
|
||||||
}
|
}
|
||||||
export type QueryDslShapeQuery = QueryDslShapeQueryKeys |
|
export type QueryDslShapeQuery = QueryDslShapeQueryKeys
|
||||||
{ [property: string]: QueryDslShapeFieldQuery }
|
& { [property: string]: QueryDslShapeFieldQuery | float | string }
|
||||||
|
|
||||||
export type QueryDslSimpleQueryStringFlags = 'NONE' | 'AND' | 'OR' | 'NOT' | 'PREFIX' | 'PHRASE' | 'PRECEDENCE' | 'ESCAPE' | 'WHITESPACE' | 'FUZZY' | 'NEAR' | 'SLOP' | 'ALL'
|
export type QueryDslSimpleQueryStringFlags = 'NONE' | 'AND' | 'OR' | 'NOT' | 'PREFIX' | 'PHRASE' | 'PRECEDENCE' | 'ESCAPE' | 'WHITESPACE' | 'FUZZY' | 'NEAR' | 'SLOP' | 'ALL'
|
||||||
|
|
||||||
@ -5073,8 +5068,8 @@ export interface QueryDslTermsLookup {
|
|||||||
|
|
||||||
export interface QueryDslTermsQueryKeys extends QueryDslQueryBase {
|
export interface QueryDslTermsQueryKeys extends QueryDslQueryBase {
|
||||||
}
|
}
|
||||||
export type QueryDslTermsQuery = QueryDslTermsQueryKeys |
|
export type QueryDslTermsQuery = QueryDslTermsQueryKeys
|
||||||
{ [property: string]: string[] | long[] | QueryDslTermsLookup }
|
& { [property: string]: string[] | long[] | QueryDslTermsLookup | float | string }
|
||||||
|
|
||||||
export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
||||||
minimum_should_match_field?: Field
|
minimum_should_match_field?: Field
|
||||||
@ -5102,13 +5097,14 @@ export interface QueryDslTypeQuery extends QueryDslQueryBase {
|
|||||||
export interface QueryDslWildcardQuery extends QueryDslQueryBase {
|
export interface QueryDslWildcardQuery extends QueryDslQueryBase {
|
||||||
case_insensitive?: boolean
|
case_insensitive?: boolean
|
||||||
rewrite?: MultiTermQueryRewrite
|
rewrite?: MultiTermQueryRewrite
|
||||||
value: string
|
value?: string
|
||||||
|
wildcard?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export type QueryDslZeroTermsQuery = 'all' | 'none'
|
export type QueryDslZeroTermsQuery = 'all' | 'none'
|
||||||
|
|
||||||
export interface AsyncSearchAsyncSearch<TDocument = unknown> {
|
export interface AsyncSearchAsyncSearch<TDocument = unknown> {
|
||||||
aggregations?: Record<string, AggregationsAggregate>
|
aggregations?: Record<AggregateName, AggregationsAggregate>
|
||||||
_clusters?: ClusterStatistics
|
_clusters?: ClusterStatistics
|
||||||
fields?: Record<string, any>
|
fields?: Record<string, any>
|
||||||
hits: SearchHitsMetadata<TDocument>
|
hits: SearchHitsMetadata<TDocument>
|
||||||
@ -5211,8 +5207,8 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|||||||
from?: integer
|
from?: integer
|
||||||
sort?: string | string[]
|
sort?: string | string[]
|
||||||
body?: {
|
body?: {
|
||||||
aggs?: Record<string, AggregationsAggregationContainer>
|
|
||||||
aggregations?: Record<string, AggregationsAggregationContainer>
|
aggregations?: Record<string, AggregationsAggregationContainer>
|
||||||
|
aggs?: Record<string, AggregationsAggregationContainer>
|
||||||
collapse?: SearchFieldCollapse
|
collapse?: SearchFieldCollapse
|
||||||
explain?: boolean
|
explain?: boolean
|
||||||
from?: integer
|
from?: integer
|
||||||
@ -8234,7 +8230,6 @@ export interface GraphExploreResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface IlmAction {
|
export interface IlmAction {
|
||||||
[key: string]: never
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IlmPhase {
|
export interface IlmPhase {
|
||||||
@ -10354,7 +10349,6 @@ export interface LicensePostStartTrialRequest extends RequestBase {
|
|||||||
|
|
||||||
export interface LicensePostStartTrialResponse extends AcknowledgedResponseBase {
|
export interface LicensePostStartTrialResponse extends AcknowledgedResponseBase {
|
||||||
error_message?: string
|
error_message?: string
|
||||||
acknowledged: boolean
|
|
||||||
trial_was_started: boolean
|
trial_was_started: boolean
|
||||||
type: LicenseLicenseType
|
type: LicenseLicenseType
|
||||||
}
|
}
|
||||||
@ -11628,6 +11622,7 @@ export interface MlGetDataFrameAnalyticsStatsResponse {
|
|||||||
|
|
||||||
export interface MlGetDatafeedStatsRequest extends RequestBase {
|
export interface MlGetDatafeedStatsRequest extends RequestBase {
|
||||||
datafeed_id?: Ids
|
datafeed_id?: Ids
|
||||||
|
allow_no_datafeeds?: boolean
|
||||||
allow_no_match?: boolean
|
allow_no_match?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -11638,6 +11633,7 @@ export interface MlGetDatafeedStatsResponse {
|
|||||||
|
|
||||||
export interface MlGetDatafeedsRequest extends RequestBase {
|
export interface MlGetDatafeedsRequest extends RequestBase {
|
||||||
datafeed_id?: Ids
|
datafeed_id?: Ids
|
||||||
|
allow_no_datafeeds?: boolean
|
||||||
allow_no_match?: boolean
|
allow_no_match?: boolean
|
||||||
exclude_generated?: boolean
|
exclude_generated?: boolean
|
||||||
}
|
}
|
||||||
@ -11970,6 +11966,7 @@ export interface MlPutDatafeedRequest extends RequestBase {
|
|||||||
delayed_data_check_config?: MlDelayedDataCheckConfig
|
delayed_data_check_config?: MlDelayedDataCheckConfig
|
||||||
frequency?: Time
|
frequency?: Time
|
||||||
indices?: string[]
|
indices?: string[]
|
||||||
|
indexes?: string[]
|
||||||
indices_options?: MlDatafeedIndicesOptions
|
indices_options?: MlDatafeedIndicesOptions
|
||||||
job_id?: Id
|
job_id?: Id
|
||||||
max_empty_searches?: integer
|
max_empty_searches?: integer
|
||||||
@ -12222,6 +12219,7 @@ export interface MlStopDataFrameAnalyticsResponse {
|
|||||||
|
|
||||||
export interface MlStopDatafeedRequest extends RequestBase {
|
export interface MlStopDatafeedRequest extends RequestBase {
|
||||||
datafeed_id: Id
|
datafeed_id: Id
|
||||||
|
allow_no_datafeeds?: boolean
|
||||||
allow_no_match?: boolean
|
allow_no_match?: boolean
|
||||||
force?: boolean
|
force?: boolean
|
||||||
body?: {
|
body?: {
|
||||||
@ -13190,6 +13188,7 @@ export interface RollupRollupSearchRequest extends RequestBase {
|
|||||||
rest_total_hits_as_int?: boolean
|
rest_total_hits_as_int?: boolean
|
||||||
typed_keys?: boolean
|
typed_keys?: boolean
|
||||||
body?: {
|
body?: {
|
||||||
|
aggregations?: Record<string, AggregationsAggregationContainer>
|
||||||
aggs?: Record<string, AggregationsAggregationContainer>
|
aggs?: Record<string, AggregationsAggregationContainer>
|
||||||
query?: QueryDslQueryContainer
|
query?: QueryDslQueryContainer
|
||||||
size?: integer
|
size?: integer
|
||||||
@ -14869,7 +14868,6 @@ export interface WatcherActivationStatus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface WatcherAlwaysCondition {
|
export interface WatcherAlwaysCondition {
|
||||||
[key: string]: never
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface WatcherArrayCompareCondition {
|
export interface WatcherArrayCompareCondition {
|
||||||
@ -15073,7 +15071,6 @@ export interface WatcherLoggingResult {
|
|||||||
export type WatcherMonth = 'january' | 'february' | 'march' | 'april' | 'may' | 'june' | 'july' | 'august' | 'september' | 'october' | 'november' | 'december'
|
export type WatcherMonth = 'january' | 'february' | 'march' | 'april' | 'may' | 'june' | 'july' | 'august' | 'september' | 'october' | 'november' | 'december'
|
||||||
|
|
||||||
export interface WatcherNeverCondition {
|
export interface WatcherNeverCondition {
|
||||||
[key: string]: never
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface WatcherPagerDutyActionEventResult {
|
export interface WatcherPagerDutyActionEventResult {
|
||||||
@ -15916,11 +15913,9 @@ export interface XpackUsageWatcherWatchTriggerSchedule extends XpackUsageCounter
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface SpecUtilsAdditionalProperty<TKey = unknown, TValue = unknown> {
|
export interface SpecUtilsAdditionalProperty<TKey = unknown, TValue = unknown> {
|
||||||
[key: string]: never
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SpecUtilsAdditionalProperties<TKey = unknown, TValue = unknown> {
|
export interface SpecUtilsAdditionalProperties<TKey = unknown, TValue = unknown> {
|
||||||
[key: string]: never
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SpecUtilsCommonQueryParameters {
|
export interface SpecUtilsCommonQueryParameters {
|
||||||
@ -15942,6 +15937,5 @@ export interface SpecUtilsCommonCatQueryParameters {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface SpecUtilsOverloadOf<TDefinition = unknown> {
|
export interface SpecUtilsOverloadOf<TDefinition = unknown> {
|
||||||
[key: string]: never
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user