@@ -39,7 +39,8 @@ export interface Action {
39
39
throttle_period ?: Time
40
40
throttle_period_in_millis ?: EpochMillis
41
41
transform ?: TransformContainer
42
- index : ActionIndex
42
+ index ?: ActionIndex
43
+ logging ?: LoggingAction
43
44
}
44
45
45
46
export type ActionExecutionMode = 'simulate' | 'force_simulate' | 'execute' | 'force_execute' | 'skip'
@@ -48,6 +49,7 @@ export type ActionExecutionState = 'awaits_execution' | 'checking' | 'execution_
48
49
49
50
export interface ActionIndex {
50
51
index : IndexName
52
+ doc_id ?: Id
51
53
}
52
54
53
55
export interface ActionStatus {
@@ -390,7 +392,7 @@ export interface ApiKeys {
390
392
invalidated : boolean
391
393
name : Name
392
394
realm : string
393
- username : Name
395
+ username : Username
394
396
metadata ?: Record < string , any >
395
397
}
396
398
@@ -2675,7 +2677,7 @@ export interface CcrUsage extends XPackUsage {
2675
2677
}
2676
2678
2677
2679
export interface ChainInput {
2678
- inputs : Record < string , InputContainer >
2680
+ inputs : Array < InputContainer >
2679
2681
}
2680
2682
2681
2683
export interface ChainTransform {
@@ -3479,9 +3481,19 @@ export interface CompactNodeInfo {
3479
3481
}
3480
3482
3481
3483
export interface CompareCondition {
3482
- comparison : string
3483
- path : string
3484
- value : any
3484
+ comparison ?: string
3485
+ path ?: string
3486
+ value ?: any
3487
+ 'ctx.payload.match' ?: CompareContextPayloadCondition
3488
+ 'ctx.payload.value' ?: CompareContextPayloadCondition
3489
+ }
3490
+
3491
+ export interface CompareContextPayloadCondition {
3492
+ eq ?: any
3493
+ lt ?: any
3494
+ gt ?: any
3495
+ lte ?: any
3496
+ gte ?: any
3485
3497
}
3486
3498
3487
3499
export interface CompletionProperty extends DocValuesPropertyBase {
@@ -6045,18 +6057,19 @@ export interface HtmlStripCharFilter extends CharFilterBase {
6045
6057
export type HttpHeaders = Record < string , string | Array < string > >
6046
6058
6047
6059
export interface HttpInput {
6048
- extract : Array < string >
6049
- request : HttpInputRequestDefinition
6050
- response_content_type : ResponseContentType
6060
+ http ?: HttpInput
6061
+ extract ?: Array < string >
6062
+ request ?: HttpInputRequestDefinition
6063
+ response_content_type ?: ResponseContentType
6051
6064
}
6052
6065
6053
6066
export interface HttpInputAuthentication {
6054
6067
basic : HttpInputBasicAuthentication
6055
6068
}
6056
6069
6057
6070
export interface HttpInputBasicAuthentication {
6058
- password : string
6059
- username : string
6071
+ password : Password
6072
+ username : Username
6060
6073
}
6061
6074
6062
6075
export type HttpInputMethod = 'head' | 'get' | 'post' | 'put' | 'delete'
@@ -6742,6 +6755,7 @@ export interface IndicesOptions {
6742
6755
allow_no_indices : boolean
6743
6756
expand_wildcards : ExpandWildcards
6744
6757
ignore_unavailable : boolean
6758
+ ignore_throttled ?: boolean
6745
6759
}
6746
6760
6747
6761
export interface IndicesPrivileges {
@@ -7171,7 +7185,7 @@ export interface InputContainer {
7171
7185
chain ?: ChainInput
7172
7186
http ?: HttpInput
7173
7187
search ?: SearchInput
7174
- simple ?: SimpleInput
7188
+ simple ?: Record < string , any >
7175
7189
}
7176
7190
7177
7191
export type InputType = 'http' | 'search' | 'simple'
@@ -7180,13 +7194,6 @@ export interface IntegerRangeProperty extends RangePropertyBase {
7180
7194
type : 'integer_range'
7181
7195
}
7182
7196
7183
- export interface Interval extends ScheduleBase {
7184
- factor : long
7185
- unit : IntervalUnit
7186
- }
7187
-
7188
- export type IntervalUnit = 's' | 'm' | 'h' | 'd' | 'w'
7189
-
7190
7197
export interface IntervalsAllOf {
7191
7198
intervals ?: Array < IntervalsContainer >
7192
7199
max_gaps ?: integer
@@ -7612,6 +7619,11 @@ export interface ListTasksResponse extends ResponseBase {
7612
7619
tasks ?: Record < string , TaskInfo > | Array < TaskInfo >
7613
7620
}
7614
7621
7622
+ export interface LoggingAction {
7623
+ level : string
7624
+ text : string
7625
+ }
7626
+
7615
7627
export interface LoggingActionResult {
7616
7628
logged_text : string
7617
7629
}
@@ -9435,6 +9447,8 @@ export interface PartitionScore {
9435
9447
record_score : double
9436
9448
}
9437
9449
9450
+ export type Password = string
9451
+
9438
9452
export interface PathHierarchyTokenizer extends TokenizerBase {
9439
9453
buffer_size : integer
9440
9454
delimiter : string
@@ -10478,7 +10492,7 @@ export interface ReloadSecureSettingsRequest extends RequestBase {
10478
10492
node_id ?: NodeIds
10479
10493
timeout ?: Time
10480
10494
body ?: {
10481
- secure_settings_password ?: string
10495
+ secure_settings_password ?: Password
10482
10496
}
10483
10497
}
10484
10498
@@ -10490,9 +10504,9 @@ export interface ReloadSecureSettingsResponse extends NodesResponseBase {
10490
10504
export interface RemoteSource {
10491
10505
connect_timeout : Time
10492
10506
host : Host
10493
- password : string
10507
+ username : Username
10508
+ password : Password
10494
10509
socket_timeout : Time
10495
- username : string
10496
10510
}
10497
10511
10498
10512
export interface RemoveDuplicatesTokenFilter extends TokenFilterBase {
@@ -10880,7 +10894,7 @@ export interface ScheduleContainer {
10880
10894
cron ?: CronExpression
10881
10895
daily ?: DailySchedule
10882
10896
hourly ?: HourlySchedule
10883
- interval ?: Interval
10897
+ interval ?: Time
10884
10898
monthly ?: Array < TimeOfMonth >
10885
10899
weekly ?: Array < TimeOfWeek >
10886
10900
yearly ?: Array < TimeOfYear >
@@ -11021,17 +11035,22 @@ export interface SearchAsYouTypeProperty extends CorePropertyBase {
11021
11035
}
11022
11036
11023
11037
export interface SearchInput {
11024
- extract : Array < string >
11038
+ extract ? : Array < string >
11025
11039
request : SearchInputRequestDefinition
11026
- timeout : Time
11040
+ timeout ?: Time
11041
+ }
11042
+
11043
+ export interface SearchInputRequestBody {
11044
+ query : QueryContainer
11027
11045
}
11028
11046
11029
11047
export interface SearchInputRequestDefinition {
11030
- body ?: SearchRequest
11048
+ body ?: SearchInputRequestBody
11031
11049
indices ?: Array < IndexName >
11032
11050
indices_options ?: IndicesOptions
11033
11051
search_type ?: SearchType
11034
11052
template ?: SearchTemplateRequest
11053
+ rest_total_hits_as_int ?: boolean
11035
11054
}
11036
11055
11037
11056
export interface SearchNode {
@@ -11297,16 +11316,16 @@ export interface SecurityAuthenticateResponse extends ResponseBase {
11297
11316
lookup_realm : RealmInfo
11298
11317
metadata : Record < string , any >
11299
11318
roles : Array < string >
11300
- username : Name
11319
+ username : Username
11301
11320
enabled : boolean
11302
11321
authentication_type : string
11303
11322
}
11304
11323
11305
11324
export interface SecurityChangePasswordRequest extends RequestBase {
11306
- username ?: Name
11325
+ username ?: Username
11307
11326
refresh ?: Refresh
11308
11327
body : {
11309
- password ?: string
11328
+ password ?: Password
11310
11329
}
11311
11330
}
11312
11331
@@ -11398,7 +11417,7 @@ export interface SecurityDeleteRoleResponse extends ResponseBase {
11398
11417
}
11399
11418
11400
11419
export interface SecurityDeleteUserRequest extends RequestBase {
11401
- username : Name
11420
+ username : Username
11402
11421
refresh ?: Refresh
11403
11422
}
11404
11423
@@ -11407,7 +11426,7 @@ export interface SecurityDeleteUserResponse extends ResponseBase {
11407
11426
}
11408
11427
11409
11428
export interface SecurityDisableUserRequest extends RequestBase {
11410
- username : Name
11429
+ username : Username
11411
11430
refresh ?: Refresh
11412
11431
}
11413
11432
@@ -11416,7 +11435,7 @@ export interface SecurityDisableUserResponse extends ResponseBase {
11416
11435
}
11417
11436
11418
11437
export interface SecurityEnableUserRequest extends RequestBase {
11419
- username : Name
11438
+ username : Username
11420
11439
refresh ?: Refresh
11421
11440
}
11422
11441
@@ -11433,7 +11452,7 @@ export interface SecurityGetApiKeyRequest extends RequestBase {
11433
11452
name ?: Name
11434
11453
owner ?: boolean
11435
11454
realm_name ?: Name
11436
- username ?: Name
11455
+ username ?: Username
11437
11456
}
11438
11457
11439
11458
export interface SecurityGetApiKeyResponse extends ResponseBase {
@@ -11475,10 +11494,10 @@ export interface SecurityGetTokenRequest extends RequestBase {
11475
11494
body : {
11476
11495
grant_type ?: AccessTokenGrantType
11477
11496
scope ?: string
11478
- password ?: string
11497
+ password ?: Password
11479
11498
kerberos_ticket ?: string
11480
11499
refresh_token ?: string
11481
- username ?: string
11500
+ username ?: Username
11482
11501
}
11483
11502
}
11484
11503
@@ -11505,7 +11524,7 @@ export interface SecurityGetUserPrivilegesResponse extends ResponseBase {
11505
11524
}
11506
11525
11507
11526
export interface SecurityGetUserRequest extends RequestBase {
11508
- username ?: Names
11527
+ username ?: Array < Username >
11509
11528
}
11510
11529
11511
11530
export interface SecurityGetUserResponse extends DictionaryResponseBase < string , XPackUser > {
@@ -11516,8 +11535,8 @@ export interface SecurityGrantApiKeyRequest extends RequestBase {
11516
11535
api_key : ApiKey
11517
11536
grant_type : ApiKeyGrantType
11518
11537
access_token ?: string
11519
- username ?: Name
11520
- password ?: string
11538
+ username ?: Username
11539
+ password ?: Password
11521
11540
}
11522
11541
}
11523
11542
@@ -11542,7 +11561,7 @@ export interface SecurityHasPrivilegesResponse extends ResponseBase {
11542
11561
cluster : Record < string , boolean >
11543
11562
has_all_requested : boolean
11544
11563
index : Record < IndexName , Privileges >
11545
- username : string
11564
+ username : Username
11546
11565
}
11547
11566
11548
11567
export interface SecurityInvalidateApiKeyRequest extends RequestBase {
@@ -11552,7 +11571,7 @@ export interface SecurityInvalidateApiKeyRequest extends RequestBase {
11552
11571
name ?: Name
11553
11572
owner ?: boolean
11554
11573
realm_name ?: string
11555
- username ?: Name
11574
+ username ?: Username
11556
11575
}
11557
11576
}
11558
11577
@@ -11568,7 +11587,7 @@ export interface SecurityInvalidateTokenRequest extends RequestBase {
11568
11587
token ?: string
11569
11588
refresh_token ?: string
11570
11589
realm_name ?: Name
11571
- username ?: Name
11590
+ username ?: Username
11572
11591
}
11573
11592
}
11574
11593
@@ -11627,14 +11646,14 @@ export interface SecurityPutRoleResponse extends ResponseBase {
11627
11646
}
11628
11647
11629
11648
export interface SecurityPutUserRequest extends RequestBase {
11630
- username : Name
11649
+ username : Username
11631
11650
refresh ?: Refresh
11632
11651
body : {
11633
- username ?: Name
11652
+ username ?: Username
11634
11653
email ?: string | null
11635
11654
full_name ?: string | null
11636
11655
metadata ?: Record < string , any >
11637
- password ?: string
11656
+ password ?: Password
11638
11657
password_hash ?: string
11639
11658
roles ?: Array < string >
11640
11659
enabled ?: boolean
@@ -12118,10 +12137,6 @@ export interface SignificantTextAggregation extends BucketAggregationBase {
12118
12137
source_fields ?: Fields
12119
12138
}
12120
12139
12121
- export interface SimpleInput {
12122
- payload : Record < string , any >
12123
- }
12124
-
12125
12140
export type SimpleQueryStringFlags = 'NONE' | 'AND' | 'OR' | 'NOT' | 'PREFIX' | 'PHRASE' | 'PRECEDENCE' | 'ESCAPE' | 'WHITESPACE' | 'FUZZY' | 'NEAR' | 'SLOP' | 'ALL'
12126
12141
12127
12142
export interface SimpleQueryStringQuery extends QueryBase {
@@ -13825,6 +13840,8 @@ export interface UserRealm {
13825
13840
type : string
13826
13841
}
13827
13842
13843
+ export type Username = string
13844
+
13828
13845
export type Uuid = string
13829
13846
13830
13847
export interface ValueAggregate extends AggregateBase {
@@ -13889,6 +13906,7 @@ export interface Watch {
13889
13906
throttle_period ?: string
13890
13907
transform ?: TransformContainer
13891
13908
trigger : TriggerContainer
13909
+ throttle_period_in_millis ?: long
13892
13910
}
13893
13911
13894
13912
export interface WatchRecord {
@@ -14262,7 +14280,7 @@ export interface XPackUser {
14262
14280
full_name ?: Name
14263
14281
metadata : Record < string , any >
14264
14282
roles : Array < string >
14265
- username : Name
14283
+ username : Username
14266
14284
enabled : boolean
14267
14285
}
14268
14286
0 commit comments