@@ -545,7 +545,7 @@ export interface MgetResponse<TDocument = unknown> {
545
545
546
546
export type MgetResponseItem < TDocument = unknown > = GetGetResult < TDocument > | MgetMultiGetError
547
547
548
- export interface MsearchMultiSearchItem < TDocument = unknown > extends SearchResponse < TDocument > {
548
+ export interface MsearchMultiSearchItem < TDocument = unknown > extends SearchResponseBody < TDocument > {
549
549
status ?: integer
550
550
}
551
551
@@ -920,8 +920,7 @@ export interface ScrollRequest extends RequestBase {
920
920
rest_total_hits_as_int ?: boolean
921
921
}
922
922
923
- export interface ScrollResponse < TDocument = unknown , TAggregations = Record < AggregateName , AggregationsAggregate > > extends SearchResponse < TDocument , TAggregations > {
924
- }
923
+ export type ScrollResponse < TDocument = unknown , TAggregations = Record < AggregateName , AggregationsAggregate > > = SearchResponseBody < TDocument >
925
924
926
925
export interface SearchRequest extends RequestBase {
927
926
index ?: Indices
@@ -987,12 +986,14 @@ export interface SearchRequest extends RequestBase {
987
986
runtime_mappings ?: MappingRuntimeFields
988
987
}
989
988
990
- export interface SearchResponse < TDocument = unknown , TAggregations = Record < AggregateName , AggregationsAggregate > > {
989
+ export type SearchResponse < TDocument = unknown , TAggregations = Record < AggregateName , AggregationsAggregate > > = SearchResponseBody < TDocument >
990
+
991
+ export interface SearchResponseBody < TDocument = unknown > {
991
992
took : long
992
993
timed_out : boolean
993
994
_shards : ShardStatistics
994
995
hits : SearchHitsMetadata < TDocument >
995
- aggregations ?: TAggregations
996
+ aggregations ?: Record < AggregateName , AggregationsAggregate >
996
997
_clusters ?: ClusterStatistics
997
998
fields ?: Record < string , any >
998
999
max_score ?: double
@@ -5809,6 +5810,10 @@ export type CatCatDfaColumns = CatCatDfaColumn | CatCatDfaColumn[]
5809
5810
export interface CatCatRequestBase extends RequestBase , SpecUtilsCommonCatQueryParameters {
5810
5811
}
5811
5812
5813
+ export type CatCatTrainedModelsColumn = 'create_time' | 'ct' | 'created_by' | 'c' | 'createdBy' | 'data_frame_analytics_id' | 'df' | 'dataFrameAnalytics' | 'description' | 'd' | 'heap_size' | 'hs' | 'modelHeapSize' | 'id' | 'ingest.count' | 'ic' | 'ingestCount' | 'ingest.current' | 'icurr' | 'ingestCurrent' | 'ingest.failed' | 'if' | 'ingestFailed' | 'ingest.pipelines' | 'ip' | 'ingestPipelines' | 'ingest.time' | 'it' | 'ingestTime' | 'license' | 'l' | 'operations' | 'o' | 'modelOperations' | 'version' | 'v'
5814
+
5815
+ export type CatCatTrainedModelsColumns = CatCatTrainedModelsColumn | CatCatTrainedModelsColumn [ ]
5816
+
5812
5817
export type CatCatTransformColumn = 'changes_last_detection_time' | 'cldt' | 'checkpoint' | 'cp' | 'checkpoint_duration_time_exp_avg' | 'cdtea' | 'checkpointTimeExpAvg' | 'checkpoint_progress' | 'c' | 'checkpointProgress' | 'create_time' | 'ct' | 'createTime' | 'delete_time' | 'dtime' | 'description' | 'd' | 'dest_index' | 'di' | 'destIndex' | 'documents_deleted' | 'docd' | 'documents_indexed' | 'doci' | 'docs_per_second' | 'dps' | 'documents_processed' | 'docp' | 'frequency' | 'f' | 'id' | 'index_failure' | 'if' | 'index_time' | 'itime' | 'index_total' | 'it' | 'indexed_documents_exp_avg' | 'idea' | 'last_search_time' | 'lst' | 'lastSearchTime' | 'max_page_search_size' | 'mpsz' | 'pages_processed' | 'pp' | 'pipeline' | 'p' | 'processed_documents_exp_avg' | 'pdea' | 'processing_time' | 'pt' | 'reason' | 'r' | 'search_failure' | 'sf' | 'search_time' | 'stime' | 'search_total' | 'st' | 'source_index' | 'si' | 'sourceIndex' | 'state' | 's' | 'transform_type' | 'tt' | 'trigger_count' | 'tc' | 'version' | 'v'
5813
5818
5814
5819
export type CatCatTransformColumns = CatCatTransformColumn | CatCatTransformColumn [ ]
@@ -6582,6 +6587,8 @@ export interface CatMlTrainedModelsRequest extends CatCatRequestBase {
6582
6587
model_id ?: Id
6583
6588
allow_no_match ?: boolean
6584
6589
bytes ?: Bytes
6590
+ h ?: CatCatTrainedModelsColumns
6591
+ s ?: CatCatTrainedModelsColumns
6585
6592
from ?: integer
6586
6593
size ?: integer
6587
6594
}
@@ -9229,6 +9236,28 @@ export interface IndicesIndexState {
9229
9236
data_stream ?: DataStreamName
9230
9237
}
9231
9238
9239
+ export interface IndicesIndexTemplate {
9240
+ index_patterns : Names
9241
+ composed_of : Name [ ]
9242
+ template ?: IndicesIndexTemplateSummary
9243
+ version ?: VersionNumber
9244
+ priority ?: long
9245
+ _meta ?: Metadata
9246
+ allow_auto_create ?: boolean
9247
+ data_stream ?: IndicesIndexTemplateDataStreamConfiguration
9248
+ }
9249
+
9250
+ export interface IndicesIndexTemplateDataStreamConfiguration {
9251
+ hidden ?: boolean
9252
+ allow_custom_routing ?: boolean
9253
+ }
9254
+
9255
+ export interface IndicesIndexTemplateSummary {
9256
+ aliases ?: Record < IndexName , IndicesAlias >
9257
+ mappings ?: MappingTypeMapping
9258
+ settings ?: IndicesIndexSettings
9259
+ }
9260
+
9232
9261
export interface IndicesIndexVersioning {
9233
9262
created : VersionString
9234
9263
created_string ?: VersionString
@@ -9787,26 +9816,9 @@ export interface IndicesGetFieldMappingTypeFieldMappings {
9787
9816
mappings : Partial < Record < Field , MappingFieldMapping > >
9788
9817
}
9789
9818
9790
- export interface IndicesGetIndexTemplateIndexTemplate {
9791
- index_patterns : Name [ ]
9792
- composed_of : Name [ ]
9793
- template ?: IndicesGetIndexTemplateIndexTemplateSummary
9794
- version ?: VersionNumber
9795
- priority ?: long
9796
- _meta ?: Metadata
9797
- allow_auto_create ?: boolean
9798
- data_stream ?: Record < string , any >
9799
- }
9800
-
9801
9819
export interface IndicesGetIndexTemplateIndexTemplateItem {
9802
9820
name : Name
9803
- index_template : IndicesGetIndexTemplateIndexTemplate
9804
- }
9805
-
9806
- export interface IndicesGetIndexTemplateIndexTemplateSummary {
9807
- aliases ?: Record < IndexName , IndicesAlias >
9808
- mappings ?: MappingTypeMapping
9809
- settings ?: Record < string , any >
9821
+ index_template : IndicesIndexTemplate
9810
9822
}
9811
9823
9812
9824
export interface IndicesGetIndexTemplateRequest extends RequestBase {
@@ -10300,18 +10312,18 @@ export interface IndicesSimulateTemplateRequest extends RequestBase {
10300
10312
name ?: Name
10301
10313
create ?: boolean
10302
10314
master_timeout ?: Time
10303
- template ?: IndicesGetIndexTemplateIndexTemplate
10315
+ template ?: IndicesIndexTemplate
10304
10316
}
10305
10317
10306
10318
export interface IndicesSimulateTemplateResponse {
10319
+ overlapping ?: IndicesSimulateTemplateOverlapping [ ]
10307
10320
template : IndicesSimulateTemplateTemplate
10308
10321
}
10309
10322
10310
10323
export interface IndicesSimulateTemplateTemplate {
10311
10324
aliases : Record < IndexName , IndicesAlias >
10312
10325
mappings : MappingTypeMapping
10313
- settings : Record < string , any >
10314
- overlapping : IndicesSimulateTemplateOverlapping [ ]
10326
+ settings : IndicesIndexSettings
10315
10327
}
10316
10328
10317
10329
export interface IndicesSplitRequest extends RequestBase {
@@ -11893,10 +11905,10 @@ export interface MlModelSizeStats {
11893
11905
export interface MlModelSnapshot {
11894
11906
description ?: string
11895
11907
job_id : Id
11896
- latest_record_time_stamp : integer
11897
- latest_result_time_stamp : integer
11908
+ latest_record_time_stamp ? : integer
11909
+ latest_result_time_stamp ? : integer
11898
11910
min_version : VersionString
11899
- model_size_stats : MlModelSizeStats
11911
+ model_size_stats ? : MlModelSizeStats
11900
11912
retain : boolean
11901
11913
snapshot_doc_count : long
11902
11914
snapshot_id : Id
@@ -12139,7 +12151,7 @@ export interface MlDeleteCalendarEventResponse extends AcknowledgedResponseBase
12139
12151
12140
12152
export interface MlDeleteCalendarJobRequest extends RequestBase {
12141
12153
calendar_id : Id
12142
- job_id : Id
12154
+ job_id : Ids
12143
12155
}
12144
12156
12145
12157
export interface MlDeleteCalendarJobResponse {
@@ -12482,7 +12494,7 @@ export interface MlGetDatafeedsResponse {
12482
12494
}
12483
12495
12484
12496
export interface MlGetFiltersRequest extends RequestBase {
12485
- filter_id ?: Id
12497
+ filter_id ?: Ids
12486
12498
from ?: integer
12487
12499
size ?: integer
12488
12500
}
@@ -12599,7 +12611,7 @@ export interface MlGetTrainedModelsResponse {
12599
12611
}
12600
12612
12601
12613
export interface MlGetTrainedModelsStatsRequest extends RequestBase {
12602
- model_id ?: Id
12614
+ model_id ?: Ids
12603
12615
allow_no_match ?: boolean
12604
12616
from ?: integer
12605
12617
size ?: integer
@@ -13718,7 +13730,6 @@ export interface NodesClearRepositoriesMeteringArchiveRequest extends RequestBas
13718
13730
}
13719
13731
13720
13732
export interface NodesClearRepositoriesMeteringArchiveResponse extends NodesNodesResponseBase {
13721
- _nodes : NodeStatistics
13722
13733
cluster_name : Name
13723
13734
nodes : Record < string , NodesRepositoryMeteringInformation >
13724
13735
}
@@ -13728,7 +13739,6 @@ export interface NodesGetRepositoriesMeteringInfoRequest extends RequestBase {
13728
13739
}
13729
13740
13730
13741
export interface NodesGetRepositoriesMeteringInfoResponse extends NodesNodesResponseBase {
13731
- _nodes : NodeStatistics
13732
13742
cluster_name : Name
13733
13743
nodes : Record < string , NodesRepositoryMeteringInformation >
13734
13744
}
@@ -15945,7 +15955,7 @@ export interface TransformDeleteTransformResponse extends AcknowledgedResponseBa
15945
15955
}
15946
15956
15947
15957
export interface TransformGetTransformRequest extends RequestBase {
15948
- transform_id ?: Name
15958
+ transform_id ?: Names
15949
15959
allow_no_match ?: boolean
15950
15960
from ?: integer
15951
15961
size ?: integer
@@ -16254,6 +16264,7 @@ export interface WatcherDataEmailAttachment {
16254
16264
export type WatcherDay = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'
16255
16265
16256
16266
export interface WatcherEmail {
16267
+ id ?: Id
16257
16268
bcc ?: string [ ]
16258
16269
body ?: WatcherEmailBody
16259
16270
cc ?: string [ ]
0 commit comments