@elastic/elasticsearch 8.14.0 → 8.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog-info.yaml +9 -9
- package/lib/api/api/async_search.d.ts +8 -8
- package/lib/api/api/async_search.js +28 -4
- package/lib/api/api/async_search.js.map +1 -1
- package/lib/api/api/autoscaling.d.ts +4 -4
- package/lib/api/api/autoscaling.js +25 -4
- package/lib/api/api/autoscaling.js.map +1 -1
- package/lib/api/api/bulk.d.ts +2 -2
- package/lib/api/api/bulk.js +7 -1
- package/lib/api/api/bulk.js.map +1 -1
- package/lib/api/api/capabilities.d.ts +14 -0
- package/lib/api/api/capabilities.js +42 -0
- package/lib/api/api/capabilities.js.map +1 -0
- package/lib/api/api/cat.d.ts +51 -51
- package/lib/api/api/cat.js +155 -26
- package/lib/api/api/cat.js.map +1 -1
- package/lib/api/api/ccr.d.ts +13 -13
- package/lib/api/api/ccr.js +88 -13
- package/lib/api/api/ccr.js.map +1 -1
- package/lib/api/api/clear_scroll.d.ts +2 -2
- package/lib/api/api/clear_scroll.js +7 -1
- package/lib/api/api/clear_scroll.js.map +1 -1
- package/lib/api/api/close_point_in_time.d.ts +2 -2
- package/lib/api/api/close_point_in_time.js +4 -1
- package/lib/api/api/close_point_in_time.js.map +1 -1
- package/lib/api/api/cluster.d.ts +24 -24
- package/lib/api/api/cluster.js +89 -16
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/connector.d.ts +245 -0
- package/lib/api/api/connector.js +1036 -0
- package/lib/api/api/connector.js.map +1 -0
- package/lib/api/api/count.d.ts +1 -1
- package/lib/api/api/count.js +7 -1
- package/lib/api/api/count.js.map +1 -1
- package/lib/api/api/create.d.ts +2 -2
- package/lib/api/api/create.js +8 -1
- package/lib/api/api/create.js.map +1 -1
- package/lib/api/api/dangling_indices.d.ts +3 -3
- package/lib/api/api/dangling_indices.js +18 -3
- package/lib/api/api/dangling_indices.js.map +1 -1
- package/lib/api/api/delete.d.ts +2 -2
- package/lib/api/api/delete.js +8 -1
- package/lib/api/api/delete.js.map +1 -1
- package/lib/api/api/delete_by_query.d.ts +2 -2
- package/lib/api/api/delete_by_query.js +7 -1
- package/lib/api/api/delete_by_query.js.map +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/delete_by_query_rethrottle.js +7 -1
- package/lib/api/api/delete_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/delete_script.d.ts +2 -2
- package/lib/api/api/delete_script.js +7 -1
- package/lib/api/api/delete_script.js.map +1 -1
- package/lib/api/api/enrich.d.ts +8 -8
- package/lib/api/api/enrich.js +32 -5
- package/lib/api/api/enrich.js.map +1 -1
- package/lib/api/api/eql.d.ts +7 -7
- package/lib/api/api/eql.js +28 -4
- package/lib/api/api/eql.js.map +1 -1
- package/lib/api/api/esql.d.ts +16 -2
- package/lib/api/api/esql.js +47 -1
- package/lib/api/api/esql.js.map +1 -1
- package/lib/api/api/exists.d.ts +2 -2
- package/lib/api/api/exists.js +8 -1
- package/lib/api/api/exists.js.map +1 -1
- package/lib/api/api/exists_source.d.ts +2 -2
- package/lib/api/api/exists_source.js +8 -1
- package/lib/api/api/exists_source.js.map +1 -1
- package/lib/api/api/explain.d.ts +2 -2
- package/lib/api/api/explain.js +8 -1
- package/lib/api/api/explain.js.map +1 -1
- package/lib/api/api/features.d.ts +2 -2
- package/lib/api/api/features.js +8 -2
- package/lib/api/api/features.js.map +1 -1
- package/lib/api/api/field_caps.d.ts +2 -2
- package/lib/api/api/field_caps.js +7 -1
- package/lib/api/api/field_caps.js.map +1 -1
- package/lib/api/api/fleet.d.ts +3 -3
- package/lib/api/api/fleet.js +39 -6
- package/lib/api/api/fleet.js.map +1 -1
- package/lib/api/api/get.d.ts +1 -1
- package/lib/api/api/get.js +8 -1
- package/lib/api/api/get.js.map +1 -1
- package/lib/api/api/get_script.d.ts +2 -2
- package/lib/api/api/get_script.js +7 -1
- package/lib/api/api/get_script.js.map +1 -1
- package/lib/api/api/get_script_context.d.ts +1 -1
- package/lib/api/api/get_script_context.js +4 -1
- package/lib/api/api/get_script_context.js.map +1 -1
- package/lib/api/api/get_script_languages.d.ts +1 -1
- package/lib/api/api/get_script_languages.js +4 -1
- package/lib/api/api/get_script_languages.js.map +1 -1
- package/lib/api/api/get_source.d.ts +1 -1
- package/lib/api/api/get_source.js +8 -1
- package/lib/api/api/get_source.js.map +1 -1
- package/lib/api/api/graph.d.ts +2 -2
- package/lib/api/api/graph.js +7 -1
- package/lib/api/api/graph.js.map +1 -1
- package/lib/api/api/health_report.d.ts +1 -1
- package/lib/api/api/health_report.js +7 -1
- package/lib/api/api/health_report.js.map +1 -1
- package/lib/api/api/ilm.d.ts +16 -16
- package/lib/api/api/ilm.js +65 -11
- package/lib/api/api/ilm.js.map +1 -1
- package/lib/api/api/index.d.ts +2 -2
- package/lib/api/api/index.js +8 -1
- package/lib/api/api/index.js.map +1 -1
- package/lib/api/api/indices.d.ts +111 -111
- package/lib/api/api/indices.js +420 -59
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +17 -17
- package/lib/api/api/inference.js +42 -9
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +1 -1
- package/lib/api/api/info.js +4 -1
- package/lib/api/api/info.js.map +1 -1
- package/lib/api/api/ingest.d.ts +33 -12
- package/lib/api/api/ingest.js +113 -6
- package/lib/api/api/ingest.js.map +1 -1
- package/lib/api/api/knn_search.d.ts +1 -1
- package/lib/api/api/knn_search.js +7 -1
- package/lib/api/api/knn_search.js.map +1 -1
- package/lib/api/api/license.d.ts +10 -10
- package/lib/api/api/license.js +28 -7
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/logstash.d.ts +6 -6
- package/lib/api/api/logstash.js +21 -3
- package/lib/api/api/logstash.js.map +1 -1
- package/lib/api/api/mget.d.ts +1 -1
- package/lib/api/api/mget.js +7 -1
- package/lib/api/api/mget.js.map +1 -1
- package/lib/api/api/migration.d.ts +3 -3
- package/lib/api/api/migration.js +15 -3
- package/lib/api/api/migration.js.map +1 -1
- package/lib/api/api/ml.d.ts +131 -131
- package/lib/api/api/ml.js +508 -73
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.d.ts +1 -1
- package/lib/api/api/monitoring.js +7 -1
- package/lib/api/api/monitoring.js.map +1 -1
- package/lib/api/api/msearch.d.ts +1 -1
- package/lib/api/api/msearch.js +7 -1
- package/lib/api/api/msearch.js.map +1 -1
- package/lib/api/api/msearch_template.d.ts +2 -2
- package/lib/api/api/msearch_template.js +7 -1
- package/lib/api/api/msearch_template.js.map +1 -1
- package/lib/api/api/mtermvectors.d.ts +1 -1
- package/lib/api/api/mtermvectors.js +7 -1
- package/lib/api/api/mtermvectors.js.map +1 -1
- package/lib/api/api/nodes.d.ts +14 -14
- package/lib/api/api/nodes.js +54 -7
- package/lib/api/api/nodes.js.map +1 -1
- package/lib/api/api/open_point_in_time.d.ts +2 -2
- package/lib/api/api/open_point_in_time.js +7 -1
- package/lib/api/api/open_point_in_time.js.map +1 -1
- package/lib/api/api/ping.d.ts +1 -1
- package/lib/api/api/ping.js +4 -1
- package/lib/api/api/ping.js.map +1 -1
- package/lib/api/api/profiling.d.ts +39 -0
- package/lib/api/api/{query_ruleset.js → profiling.js} +38 -41
- package/lib/api/api/profiling.js.map +1 -0
- package/lib/api/api/put_script.d.ts +2 -2
- package/lib/api/api/put_script.js +8 -1
- package/lib/api/api/put_script.js.map +1 -1
- package/lib/api/api/query_rules.d.ts +60 -0
- package/lib/api/api/query_rules.js +223 -0
- package/lib/api/api/query_rules.js.map +1 -0
- package/lib/api/api/rank_eval.d.ts +2 -2
- package/lib/api/api/rank_eval.js +7 -1
- package/lib/api/api/rank_eval.js.map +1 -1
- package/lib/api/api/reindex.d.ts +1 -1
- package/lib/api/api/reindex.js +4 -1
- package/lib/api/api/reindex.js.map +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +2 -2
- package/lib/api/api/reindex_rethrottle.js +7 -1
- package/lib/api/api/reindex_rethrottle.js.map +1 -1
- package/lib/api/api/render_search_template.d.ts +2 -2
- package/lib/api/api/render_search_template.js +7 -1
- package/lib/api/api/render_search_template.js.map +1 -1
- package/lib/api/api/rollup.d.ts +10 -10
- package/lib/api/api/rollup.js +56 -8
- package/lib/api/api/rollup.js.map +1 -1
- package/lib/api/api/scripts_painless_execute.d.ts +2 -2
- package/lib/api/api/scripts_painless_execute.js +4 -1
- package/lib/api/api/scripts_painless_execute.js.map +1 -1
- package/lib/api/api/scroll.d.ts +1 -1
- package/lib/api/api/scroll.js +7 -1
- package/lib/api/api/scroll.js.map +1 -1
- package/lib/api/api/search.d.ts +2 -2
- package/lib/api/api/search.js +7 -1
- package/lib/api/api/search.js.map +1 -1
- package/lib/api/api/search_application.d.ts +11 -11
- package/lib/api/api/search_application.js +68 -10
- package/lib/api/api/search_application.js.map +1 -1
- package/lib/api/api/search_mvt.d.ts +1 -1
- package/lib/api/api/search_mvt.js +11 -1
- package/lib/api/api/search_mvt.js.map +1 -1
- package/lib/api/api/search_shards.d.ts +1 -1
- package/lib/api/api/search_shards.js +7 -1
- package/lib/api/api/search_shards.js.map +1 -1
- package/lib/api/api/search_template.d.ts +2 -2
- package/lib/api/api/search_template.js +7 -1
- package/lib/api/api/search_template.js.map +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +4 -4
- package/lib/api/api/searchable_snapshots.js +29 -4
- package/lib/api/api/searchable_snapshots.js.map +1 -1
- package/lib/api/api/security.d.ts +110 -82
- package/lib/api/api/security.js +478 -60
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/shutdown.js +21 -3
- package/lib/api/api/shutdown.js.map +1 -1
- package/lib/api/api/simulate.d.ts +18 -0
- package/lib/api/api/simulate.js +64 -0
- package/lib/api/api/simulate.js.map +1 -0
- package/lib/api/api/slm.d.ts +9 -9
- package/lib/api/api/slm.js +48 -9
- package/lib/api/api/slm.js.map +1 -1
- package/lib/api/api/snapshot.d.ts +13 -13
- package/lib/api/api/snapshot.js +91 -12
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/sql.d.ts +6 -6
- package/lib/api/api/sql.js +33 -6
- package/lib/api/api/sql.js.map +1 -1
- package/lib/api/api/ssl.d.ts +1 -1
- package/lib/api/api/ssl.js +4 -1
- package/lib/api/api/ssl.js.map +1 -1
- package/lib/api/api/synonyms.d.ts +8 -8
- package/lib/api/api/synonyms.js +49 -7
- package/lib/api/api/synonyms.js.map +1 -1
- package/lib/api/api/tasks.d.ts +4 -4
- package/lib/api/api/tasks.js +18 -3
- package/lib/api/api/tasks.js.map +1 -1
- package/lib/api/api/terms_enum.d.ts +1 -1
- package/lib/api/api/terms_enum.js +7 -1
- package/lib/api/api/terms_enum.js.map +1 -1
- package/lib/api/api/termvectors.d.ts +1 -1
- package/lib/api/api/termvectors.js +8 -1
- package/lib/api/api/termvectors.js.map +1 -1
- package/lib/api/api/text_structure.d.ts +16 -2
- package/lib/api/api/text_structure.js +48 -2
- package/lib/api/api/text_structure.js.map +1 -1
- package/lib/api/api/transform.d.ts +26 -19
- package/lib/api/api/transform.js +94 -11
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/api/update.d.ts +1 -1
- package/lib/api/api/update.js +8 -1
- package/lib/api/api/update.js.map +1 -1
- package/lib/api/api/update_by_query.d.ts +2 -2
- package/lib/api/api/update_by_query.js +7 -1
- package/lib/api/api/update_by_query.js.map +1 -1
- package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/update_by_query_rethrottle.js +7 -1
- package/lib/api/api/update_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/watcher.d.ts +14 -14
- package/lib/api/api/watcher.js +77 -13
- package/lib/api/api/watcher.js.map +1 -1
- package/lib/api/api/xpack.d.ts +4 -4
- package/lib/api/api/xpack.js +8 -2
- package/lib/api/api/xpack.js.map +1 -1
- package/lib/api/index.d.ts +18 -4
- package/lib/api/index.js +45 -7
- package/lib/api/index.js.map +1 -1
- package/lib/api/types.d.ts +428 -220
- package/lib/api/typesWithBodyKey.d.ts +444 -221
- package/package.json +3 -3
- package/lib/api/api/query_ruleset.d.ts +0 -39
- package/lib/api/api/query_ruleset.js.map +0 -1
package/lib/api/types.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export interface BulkUpdateAction<TDocument = unknown, TPartialDocument = unknow
|
|
|
62
62
|
detect_noop?: boolean;
|
|
63
63
|
doc?: TPartialDocument;
|
|
64
64
|
doc_as_upsert?: boolean;
|
|
65
|
-
script?: Script;
|
|
65
|
+
script?: Script | string;
|
|
66
66
|
scripted_upsert?: boolean;
|
|
67
67
|
_source?: SearchSourceConfig;
|
|
68
68
|
upsert?: TDocument;
|
|
@@ -410,6 +410,7 @@ export interface HealthReportIlmIndicator extends HealthReportBaseIndicator {
|
|
|
410
410
|
export interface HealthReportIlmIndicatorDetails {
|
|
411
411
|
ilm_status: LifecycleOperationMode;
|
|
412
412
|
policies: long;
|
|
413
|
+
stagnating_indices: integer;
|
|
413
414
|
}
|
|
414
415
|
export interface HealthReportImpact {
|
|
415
416
|
description: string;
|
|
@@ -474,6 +475,7 @@ export interface HealthReportShardsAvailabilityIndicator extends HealthReportBas
|
|
|
474
475
|
}
|
|
475
476
|
export interface HealthReportShardsAvailabilityIndicatorDetails {
|
|
476
477
|
creating_primaries: long;
|
|
478
|
+
creating_replicas: long;
|
|
477
479
|
initializing_primaries: long;
|
|
478
480
|
initializing_replicas: long;
|
|
479
481
|
restarting_primaries: long;
|
|
@@ -500,7 +502,7 @@ export interface HealthReportSlmIndicator extends HealthReportBaseIndicator {
|
|
|
500
502
|
export interface HealthReportSlmIndicatorDetails {
|
|
501
503
|
slm_status: LifecycleOperationMode;
|
|
502
504
|
policies: long;
|
|
503
|
-
unhealthy_policies
|
|
505
|
+
unhealthy_policies?: HealthReportSlmIndicatorUnhealthyPolicies;
|
|
504
506
|
}
|
|
505
507
|
export interface HealthReportSlmIndicatorUnhealthyPolicies {
|
|
506
508
|
count: long;
|
|
@@ -714,7 +716,7 @@ export interface MtermvectorsResponse {
|
|
|
714
716
|
docs: MtermvectorsTermVectorsResult[];
|
|
715
717
|
}
|
|
716
718
|
export interface MtermvectorsTermVectorsResult {
|
|
717
|
-
_id
|
|
719
|
+
_id?: Id;
|
|
718
720
|
_index: IndexName;
|
|
719
721
|
_version?: VersionNumber;
|
|
720
722
|
took?: long;
|
|
@@ -846,7 +848,7 @@ export interface ReindexRequest extends RequestBase {
|
|
|
846
848
|
conflicts?: Conflicts;
|
|
847
849
|
dest: ReindexDestination;
|
|
848
850
|
max_docs?: long;
|
|
849
|
-
script?: Script;
|
|
851
|
+
script?: Script | string;
|
|
850
852
|
size?: long;
|
|
851
853
|
source: ReindexSource;
|
|
852
854
|
}
|
|
@@ -932,7 +934,7 @@ export interface ScriptsPainlessExecutePainlessContextSetup {
|
|
|
932
934
|
export interface ScriptsPainlessExecuteRequest extends RequestBase {
|
|
933
935
|
context?: string;
|
|
934
936
|
context_setup?: ScriptsPainlessExecutePainlessContextSetup;
|
|
935
|
-
script?:
|
|
937
|
+
script?: Script | string;
|
|
936
938
|
}
|
|
937
939
|
export interface ScriptsPainlessExecuteResponse<TResult = unknown> {
|
|
938
940
|
result: TResult;
|
|
@@ -1225,6 +1227,7 @@ export interface SearchHit<TDocument = unknown> {
|
|
|
1225
1227
|
_node?: string;
|
|
1226
1228
|
_routing?: string;
|
|
1227
1229
|
_source?: TDocument;
|
|
1230
|
+
_rank?: integer;
|
|
1228
1231
|
_seq_no?: SequenceNumber;
|
|
1229
1232
|
_primary_term?: long;
|
|
1230
1233
|
_version?: VersionNumber;
|
|
@@ -1571,7 +1574,7 @@ export interface TermvectorsRequest<TDocument = unknown> extends RequestBase {
|
|
|
1571
1574
|
}
|
|
1572
1575
|
export interface TermvectorsResponse {
|
|
1573
1576
|
found: boolean;
|
|
1574
|
-
_id
|
|
1577
|
+
_id?: Id;
|
|
1575
1578
|
_index: IndexName;
|
|
1576
1579
|
term_vectors?: Record<Field, TermvectorsTermVector>;
|
|
1577
1580
|
took: long;
|
|
@@ -1585,7 +1588,7 @@ export interface TermvectorsTerm {
|
|
|
1585
1588
|
ttf?: integer;
|
|
1586
1589
|
}
|
|
1587
1590
|
export interface TermvectorsTermVector {
|
|
1588
|
-
field_statistics
|
|
1591
|
+
field_statistics?: TermvectorsFieldStatistics;
|
|
1589
1592
|
terms: Record<string, TermvectorsTerm>;
|
|
1590
1593
|
}
|
|
1591
1594
|
export interface TermvectorsToken {
|
|
@@ -1611,7 +1614,7 @@ export interface UpdateRequest<TDocument = unknown, TPartialDocument = unknown>
|
|
|
1611
1614
|
detect_noop?: boolean;
|
|
1612
1615
|
doc?: TPartialDocument;
|
|
1613
1616
|
doc_as_upsert?: boolean;
|
|
1614
|
-
script?: Script;
|
|
1617
|
+
script?: Script | string;
|
|
1615
1618
|
scripted_upsert?: boolean;
|
|
1616
1619
|
_source?: SearchSourceConfig;
|
|
1617
1620
|
upsert?: TDocument;
|
|
@@ -1652,7 +1655,7 @@ export interface UpdateByQueryRequest extends RequestBase {
|
|
|
1652
1655
|
wait_for_completion?: boolean;
|
|
1653
1656
|
max_docs?: long;
|
|
1654
1657
|
query?: QueryDslQueryContainer;
|
|
1655
|
-
script?: Script;
|
|
1658
|
+
script?: Script | string;
|
|
1656
1659
|
slice?: SlicedScroll;
|
|
1657
1660
|
conflicts?: Conflicts;
|
|
1658
1661
|
}
|
|
@@ -1850,9 +1853,10 @@ export interface GeoDistanceSortKeys {
|
|
|
1850
1853
|
ignore_unmapped?: boolean;
|
|
1851
1854
|
order?: SortOrder;
|
|
1852
1855
|
unit?: DistanceUnit;
|
|
1856
|
+
nested?: NestedSortValue;
|
|
1853
1857
|
}
|
|
1854
1858
|
export type GeoDistanceSort = GeoDistanceSortKeys & {
|
|
1855
|
-
[property: string]: GeoLocation | GeoLocation[] | SortMode | GeoDistanceType | boolean | SortOrder | DistanceUnit;
|
|
1859
|
+
[property: string]: GeoLocation | GeoLocation[] | SortMode | GeoDistanceType | boolean | SortOrder | DistanceUnit | NestedSortValue;
|
|
1856
1860
|
};
|
|
1857
1861
|
export type GeoDistanceType = 'arc' | 'plane';
|
|
1858
1862
|
export type GeoHash = string;
|
|
@@ -1931,11 +1935,6 @@ export interface InlineGetKeys<TDocument = unknown> {
|
|
|
1931
1935
|
export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument> & {
|
|
1932
1936
|
[property: string]: any;
|
|
1933
1937
|
};
|
|
1934
|
-
export interface InlineScript extends ScriptBase {
|
|
1935
|
-
lang?: ScriptLanguage;
|
|
1936
|
-
options?: Record<string, string>;
|
|
1937
|
-
source: string;
|
|
1938
|
-
}
|
|
1939
1938
|
export type Ip = string;
|
|
1940
1939
|
export interface KnnQuery extends QueryDslQueryBase {
|
|
1941
1940
|
field: Field;
|
|
@@ -2068,7 +2067,7 @@ export interface QueryVectorBuilder {
|
|
|
2068
2067
|
export interface RRFRetriever extends RetrieverBase {
|
|
2069
2068
|
retrievers: RetrieverContainer[];
|
|
2070
2069
|
rank_constant?: integer;
|
|
2071
|
-
|
|
2070
|
+
rank_window_size?: integer;
|
|
2072
2071
|
}
|
|
2073
2072
|
export interface RankBase {
|
|
2074
2073
|
}
|
|
@@ -2119,24 +2118,27 @@ export interface RetrieverContainer {
|
|
|
2119
2118
|
export type Routing = string;
|
|
2120
2119
|
export interface RrfRank {
|
|
2121
2120
|
rank_constant?: long;
|
|
2122
|
-
|
|
2121
|
+
rank_window_size?: long;
|
|
2123
2122
|
}
|
|
2124
2123
|
export type ScalarValue = long | double | string | boolean | null;
|
|
2125
2124
|
export interface ScoreSort {
|
|
2126
2125
|
order?: SortOrder;
|
|
2127
2126
|
}
|
|
2128
|
-
export
|
|
2129
|
-
|
|
2127
|
+
export interface Script {
|
|
2128
|
+
source?: string;
|
|
2129
|
+
id?: Id;
|
|
2130
2130
|
params?: Record<string, any>;
|
|
2131
|
+
lang?: ScriptLanguage;
|
|
2132
|
+
options?: Record<string, string>;
|
|
2131
2133
|
}
|
|
2132
2134
|
export interface ScriptField {
|
|
2133
|
-
script: Script;
|
|
2135
|
+
script: Script | string;
|
|
2134
2136
|
ignore_failure?: boolean;
|
|
2135
2137
|
}
|
|
2136
2138
|
export type ScriptLanguage = 'painless' | 'expression' | 'mustache' | 'java' | string;
|
|
2137
2139
|
export interface ScriptSort {
|
|
2138
2140
|
order?: SortOrder;
|
|
2139
|
-
script: Script;
|
|
2141
|
+
script: Script | string;
|
|
2140
2142
|
type?: ScriptSortType;
|
|
2141
2143
|
mode?: SortMode;
|
|
2142
2144
|
nested?: NestedSortValue;
|
|
@@ -2262,9 +2264,6 @@ export interface StoredScript {
|
|
|
2262
2264
|
options?: Record<string, string>;
|
|
2263
2265
|
source: string;
|
|
2264
2266
|
}
|
|
2265
|
-
export interface StoredScriptId extends ScriptBase {
|
|
2266
|
-
id: Id;
|
|
2267
|
-
}
|
|
2268
2267
|
export type SuggestMode = 'missing' | 'popular' | 'always';
|
|
2269
2268
|
export type SuggestionName = string;
|
|
2270
2269
|
export interface TaskFailure {
|
|
@@ -2465,7 +2464,7 @@ export interface AggregationsAutoDateHistogramAggregation extends AggregationsBu
|
|
|
2465
2464
|
missing?: DateTime;
|
|
2466
2465
|
offset?: string;
|
|
2467
2466
|
params?: Record<string, any>;
|
|
2468
|
-
script?: Script;
|
|
2467
|
+
script?: Script | string;
|
|
2469
2468
|
time_zone?: TimeZone;
|
|
2470
2469
|
}
|
|
2471
2470
|
export interface AggregationsAverageAggregation extends AggregationsFormatMetricAggregationBase {
|
|
@@ -2521,10 +2520,10 @@ export interface AggregationsBucketPathAggregation {
|
|
|
2521
2520
|
buckets_path?: AggregationsBucketsPath;
|
|
2522
2521
|
}
|
|
2523
2522
|
export interface AggregationsBucketScriptAggregation extends AggregationsPipelineAggregationBase {
|
|
2524
|
-
script?: Script;
|
|
2523
|
+
script?: Script | string;
|
|
2525
2524
|
}
|
|
2526
2525
|
export interface AggregationsBucketSelectorAggregation extends AggregationsPipelineAggregationBase {
|
|
2527
|
-
script?: Script;
|
|
2526
|
+
script?: Script | string;
|
|
2528
2527
|
}
|
|
2529
2528
|
export interface AggregationsBucketSortAggregation {
|
|
2530
2529
|
from?: integer;
|
|
@@ -2534,7 +2533,7 @@ export interface AggregationsBucketSortAggregation {
|
|
|
2534
2533
|
}
|
|
2535
2534
|
export type AggregationsBuckets<TBucket = unknown> = Record<string, TBucket> | TBucket[];
|
|
2536
2535
|
export type AggregationsBucketsPath = string | string[] | Record<string, string>;
|
|
2537
|
-
export type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '
|
|
2536
|
+
export type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '1y';
|
|
2538
2537
|
export interface AggregationsCardinalityAggregate extends AggregationsAggregateBase {
|
|
2539
2538
|
value: long;
|
|
2540
2539
|
}
|
|
@@ -2582,7 +2581,7 @@ export interface AggregationsCompositeAggregationBase {
|
|
|
2582
2581
|
field?: Field;
|
|
2583
2582
|
missing_bucket?: boolean;
|
|
2584
2583
|
missing_order?: AggregationsMissingOrder;
|
|
2585
|
-
script?: Script;
|
|
2584
|
+
script?: Script | string;
|
|
2586
2585
|
value_type?: AggregationsValueType;
|
|
2587
2586
|
order?: SortOrder;
|
|
2588
2587
|
}
|
|
@@ -2642,7 +2641,7 @@ export interface AggregationsDateHistogramAggregation extends AggregationsBucket
|
|
|
2642
2641
|
offset?: Duration;
|
|
2643
2642
|
order?: AggregationsAggregateOrder;
|
|
2644
2643
|
params?: Record<string, any>;
|
|
2645
|
-
script?: Script;
|
|
2644
|
+
script?: Script | string;
|
|
2646
2645
|
time_zone?: TimeZone;
|
|
2647
2646
|
keyed?: boolean;
|
|
2648
2647
|
}
|
|
@@ -2677,7 +2676,7 @@ export interface AggregationsDerivativeAggregation extends AggregationsPipelineA
|
|
|
2677
2676
|
export interface AggregationsDiversifiedSamplerAggregation extends AggregationsBucketAggregationBase {
|
|
2678
2677
|
execution_hint?: AggregationsSamplerAggregationExecutionHint;
|
|
2679
2678
|
max_docs_per_value?: integer;
|
|
2680
|
-
script?: Script;
|
|
2679
|
+
script?: Script | string;
|
|
2681
2680
|
shard_size?: integer;
|
|
2682
2681
|
field?: Field;
|
|
2683
2682
|
}
|
|
@@ -2886,7 +2885,7 @@ export interface AggregationsHistogramAggregation extends AggregationsBucketAggr
|
|
|
2886
2885
|
missing?: double;
|
|
2887
2886
|
offset?: double;
|
|
2888
2887
|
order?: AggregationsAggregateOrder;
|
|
2889
|
-
script?: Script;
|
|
2888
|
+
script?: Script | string;
|
|
2890
2889
|
format?: string;
|
|
2891
2890
|
keyed?: boolean;
|
|
2892
2891
|
}
|
|
@@ -3045,7 +3044,7 @@ export interface AggregationsMedianAbsoluteDeviationAggregation extends Aggregat
|
|
|
3045
3044
|
export interface AggregationsMetricAggregationBase {
|
|
3046
3045
|
field?: Field;
|
|
3047
3046
|
missing?: AggregationsMissing;
|
|
3048
|
-
script?: Script;
|
|
3047
|
+
script?: Script | string;
|
|
3049
3048
|
}
|
|
3050
3049
|
export interface AggregationsMinAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3051
3050
|
}
|
|
@@ -3168,7 +3167,7 @@ export interface AggregationsRangeAggregation extends AggregationsBucketAggregat
|
|
|
3168
3167
|
field?: Field;
|
|
3169
3168
|
missing?: integer;
|
|
3170
3169
|
ranges?: AggregationsAggregationRange[];
|
|
3171
|
-
script?: Script;
|
|
3170
|
+
script?: Script | string;
|
|
3172
3171
|
keyed?: boolean;
|
|
3173
3172
|
format?: string;
|
|
3174
3173
|
}
|
|
@@ -3218,17 +3217,17 @@ export interface AggregationsSamplerAggregation extends AggregationsBucketAggreg
|
|
|
3218
3217
|
}
|
|
3219
3218
|
export type AggregationsSamplerAggregationExecutionHint = 'map' | 'global_ordinals' | 'bytes_hash';
|
|
3220
3219
|
export interface AggregationsScriptedHeuristic {
|
|
3221
|
-
script: Script;
|
|
3220
|
+
script: Script | string;
|
|
3222
3221
|
}
|
|
3223
3222
|
export interface AggregationsScriptedMetricAggregate extends AggregationsAggregateBase {
|
|
3224
3223
|
value: any;
|
|
3225
3224
|
}
|
|
3226
3225
|
export interface AggregationsScriptedMetricAggregation extends AggregationsMetricAggregationBase {
|
|
3227
|
-
combine_script?: Script;
|
|
3228
|
-
init_script?: Script;
|
|
3229
|
-
map_script?: Script;
|
|
3226
|
+
combine_script?: Script | string;
|
|
3227
|
+
init_script?: Script | string;
|
|
3228
|
+
map_script?: Script | string;
|
|
3230
3229
|
params?: Record<string, any>;
|
|
3231
|
-
reduce_script?: Script;
|
|
3230
|
+
reduce_script?: Script | string;
|
|
3232
3231
|
}
|
|
3233
3232
|
export interface AggregationsSerialDifferencingAggregation extends AggregationsPipelineAggregationBase {
|
|
3234
3233
|
lag?: integer;
|
|
@@ -3409,7 +3408,8 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat
|
|
|
3409
3408
|
missing_bucket?: boolean;
|
|
3410
3409
|
value_type?: string;
|
|
3411
3410
|
order?: AggregationsAggregateOrder;
|
|
3412
|
-
script?: Script;
|
|
3411
|
+
script?: Script | string;
|
|
3412
|
+
shard_min_doc_count?: long;
|
|
3413
3413
|
shard_size?: integer;
|
|
3414
3414
|
show_term_doc_count_error?: boolean;
|
|
3415
3415
|
size?: integer;
|
|
@@ -3428,7 +3428,7 @@ export interface AggregationsTermsPartition {
|
|
|
3428
3428
|
}
|
|
3429
3429
|
export interface AggregationsTestPopulation {
|
|
3430
3430
|
field: Field;
|
|
3431
|
-
script?: Script;
|
|
3431
|
+
script?: Script | string;
|
|
3432
3432
|
filter?: QueryDslQueryContainer;
|
|
3433
3433
|
}
|
|
3434
3434
|
export interface AggregationsTopHitsAggregate extends AggregationsAggregateBase {
|
|
@@ -3487,7 +3487,7 @@ export interface AggregationsVariableWidthHistogramAggregation {
|
|
|
3487
3487
|
buckets?: integer;
|
|
3488
3488
|
shard_size?: integer;
|
|
3489
3489
|
initial_buffer?: integer;
|
|
3490
|
-
script?: Script;
|
|
3490
|
+
script?: Script | string;
|
|
3491
3491
|
}
|
|
3492
3492
|
export interface AggregationsVariableWidthHistogramBucketKeys extends AggregationsMultiBucketBase {
|
|
3493
3493
|
min: double;
|
|
@@ -3509,7 +3509,7 @@ export interface AggregationsWeightedAverageAggregation {
|
|
|
3509
3509
|
export interface AggregationsWeightedAverageValue {
|
|
3510
3510
|
field?: Field;
|
|
3511
3511
|
missing?: double;
|
|
3512
|
-
script?: Script;
|
|
3512
|
+
script?: Script | string;
|
|
3513
3513
|
}
|
|
3514
3514
|
export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3515
3515
|
}
|
|
@@ -3547,7 +3547,7 @@ export interface AnalysisCompoundWordTokenFilterBase extends AnalysisTokenFilter
|
|
|
3547
3547
|
export interface AnalysisConditionTokenFilter extends AnalysisTokenFilterBase {
|
|
3548
3548
|
type: 'condition';
|
|
3549
3549
|
filter: string[];
|
|
3550
|
-
script: Script;
|
|
3550
|
+
script: Script | string;
|
|
3551
3551
|
}
|
|
3552
3552
|
export interface AnalysisCustomAnalyzer {
|
|
3553
3553
|
type: 'custom';
|
|
@@ -3869,7 +3869,7 @@ export interface AnalysisPorterStemTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3869
3869
|
}
|
|
3870
3870
|
export interface AnalysisPredicateTokenFilter extends AnalysisTokenFilterBase {
|
|
3871
3871
|
type: 'predicate_token_filter';
|
|
3872
|
-
script: Script;
|
|
3872
|
+
script: Script | string;
|
|
3873
3873
|
}
|
|
3874
3874
|
export interface AnalysisRemoveDuplicatesTokenFilter extends AnalysisTokenFilterBase {
|
|
3875
3875
|
type: 'remove_duplicates';
|
|
@@ -3899,7 +3899,7 @@ export interface AnalysisSnowballAnalyzer {
|
|
|
3899
3899
|
export type AnalysisSnowballLanguage = 'Armenian' | 'Basque' | 'Catalan' | 'Danish' | 'Dutch' | 'English' | 'Finnish' | 'French' | 'German' | 'German2' | 'Hungarian' | 'Italian' | 'Kp' | 'Lovins' | 'Norwegian' | 'Porter' | 'Portuguese' | 'Romanian' | 'Russian' | 'Spanish' | 'Swedish' | 'Turkish';
|
|
3900
3900
|
export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
|
|
3901
3901
|
type: 'snowball';
|
|
3902
|
-
language
|
|
3902
|
+
language?: AnalysisSnowballLanguage;
|
|
3903
3903
|
}
|
|
3904
3904
|
export interface AnalysisStandardAnalyzer {
|
|
3905
3905
|
type: 'standard';
|
|
@@ -4107,8 +4107,9 @@ export interface MappingDateRangeProperty extends MappingRangePropertyBase {
|
|
|
4107
4107
|
}
|
|
4108
4108
|
export interface MappingDenseVectorIndexOptions {
|
|
4109
4109
|
type: string;
|
|
4110
|
-
m
|
|
4111
|
-
ef_construction
|
|
4110
|
+
m?: integer;
|
|
4111
|
+
ef_construction?: integer;
|
|
4112
|
+
confidence_interval?: float;
|
|
4112
4113
|
}
|
|
4113
4114
|
export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
|
4114
4115
|
type: 'dense_vector';
|
|
@@ -4135,7 +4136,7 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
|
|
|
4135
4136
|
null_value?: FieldValue;
|
|
4136
4137
|
boost?: double;
|
|
4137
4138
|
coerce?: boolean;
|
|
4138
|
-
script?: Script;
|
|
4139
|
+
script?: Script | string;
|
|
4139
4140
|
on_script_error?: MappingOnScriptError;
|
|
4140
4141
|
ignore_malformed?: boolean;
|
|
4141
4142
|
time_series_metric?: MappingTimeSeriesMetricType;
|
|
@@ -4176,7 +4177,7 @@ export interface MappingFieldMapping {
|
|
|
4176
4177
|
export interface MappingFieldNamesField {
|
|
4177
4178
|
enabled: boolean;
|
|
4178
4179
|
}
|
|
4179
|
-
export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'version' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'sparse_vector' | 'match_only_text' | 'icu_collation_keyword';
|
|
4180
|
+
export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'version' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'semantic_text' | 'sparse_vector' | 'match_only_text' | 'icu_collation_keyword';
|
|
4180
4181
|
export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
4181
4182
|
boost?: double;
|
|
4182
4183
|
depth_limit?: integer;
|
|
@@ -4203,7 +4204,7 @@ export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4203
4204
|
null_value?: GeoLocation;
|
|
4204
4205
|
index?: boolean;
|
|
4205
4206
|
on_script_error?: MappingOnScriptError;
|
|
4206
|
-
script?: Script;
|
|
4207
|
+
script?: Script | string;
|
|
4207
4208
|
type: 'geo_point';
|
|
4208
4209
|
}
|
|
4209
4210
|
export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
|
|
@@ -4259,7 +4260,7 @@ export interface MappingIpProperty extends MappingDocValuesPropertyBase {
|
|
|
4259
4260
|
ignore_malformed?: boolean;
|
|
4260
4261
|
null_value?: string;
|
|
4261
4262
|
on_script_error?: MappingOnScriptError;
|
|
4262
|
-
script?: Script;
|
|
4263
|
+
script?: Script | string;
|
|
4263
4264
|
time_series_dimension?: boolean;
|
|
4264
4265
|
type: 'ip';
|
|
4265
4266
|
}
|
|
@@ -4276,7 +4277,7 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
|
|
4276
4277
|
eager_global_ordinals?: boolean;
|
|
4277
4278
|
index?: boolean;
|
|
4278
4279
|
index_options?: MappingIndexOptions;
|
|
4279
|
-
script?: Script;
|
|
4280
|
+
script?: Script | string;
|
|
4280
4281
|
on_script_error?: MappingOnScriptError;
|
|
4281
4282
|
normalizer?: string;
|
|
4282
4283
|
norms?: boolean;
|
|
@@ -4314,7 +4315,7 @@ export interface MappingNumberPropertyBase extends MappingDocValuesPropertyBase
|
|
|
4314
4315
|
ignore_malformed?: boolean;
|
|
4315
4316
|
index?: boolean;
|
|
4316
4317
|
on_script_error?: MappingOnScriptError;
|
|
4317
|
-
script?: Script;
|
|
4318
|
+
script?: Script | string;
|
|
4318
4319
|
time_series_metric?: MappingTimeSeriesMetricType;
|
|
4319
4320
|
time_series_dimension?: boolean;
|
|
4320
4321
|
}
|
|
@@ -4333,7 +4334,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4333
4334
|
null_value?: string;
|
|
4334
4335
|
type: 'point';
|
|
4335
4336
|
}
|
|
4336
|
-
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty |
|
|
4337
|
+
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingSemanticTextProperty | MappingSparseVectorProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty | MappingIcuCollationProperty;
|
|
4337
4338
|
export interface MappingPropertyBase {
|
|
4338
4339
|
meta?: Record<string, string>;
|
|
4339
4340
|
properties?: Record<PropertyName, MappingProperty>;
|
|
@@ -4363,7 +4364,7 @@ export interface MappingRuntimeField {
|
|
|
4363
4364
|
input_field?: Field;
|
|
4364
4365
|
target_field?: Field;
|
|
4365
4366
|
target_index?: IndexName;
|
|
4366
|
-
script?: Script;
|
|
4367
|
+
script?: Script | string;
|
|
4367
4368
|
type: MappingRuntimeFieldType;
|
|
4368
4369
|
}
|
|
4369
4370
|
export interface MappingRuntimeFieldFetchFields {
|
|
@@ -4388,6 +4389,11 @@ export interface MappingSearchAsYouTypeProperty extends MappingCorePropertyBase
|
|
|
4388
4389
|
term_vector?: MappingTermVectorOption;
|
|
4389
4390
|
type: 'search_as_you_type';
|
|
4390
4391
|
}
|
|
4392
|
+
export interface MappingSemanticTextProperty {
|
|
4393
|
+
type: 'semantic_text';
|
|
4394
|
+
meta?: Record<string, string>;
|
|
4395
|
+
inference_id: Id;
|
|
4396
|
+
}
|
|
4391
4397
|
export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
|
|
4392
4398
|
coerce?: boolean;
|
|
4393
4399
|
ignore_malformed?: boolean;
|
|
@@ -4515,25 +4521,19 @@ export interface QueryDslCommonTermsQuery extends QueryDslQueryBase {
|
|
|
4515
4521
|
export interface QueryDslConstantScoreQuery extends QueryDslQueryBase {
|
|
4516
4522
|
filter: QueryDslQueryContainer;
|
|
4517
4523
|
}
|
|
4518
|
-
export interface QueryDslDateDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4524
|
+
export interface QueryDslDateDecayFunctionKeys extends QueryDslDecayFunctionBase<DateMath, Duration> {
|
|
4519
4525
|
}
|
|
4520
4526
|
export type QueryDslDateDecayFunction = QueryDslDateDecayFunctionKeys & {
|
|
4521
|
-
[property: string]: QueryDslDecayPlacement
|
|
4527
|
+
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
4522
4528
|
};
|
|
4523
4529
|
export interface QueryDslDateDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<DateMath, Duration> {
|
|
4524
4530
|
}
|
|
4525
|
-
export interface QueryDslDateRangeQuery extends QueryDslRangeQueryBase {
|
|
4526
|
-
gt?: DateMath;
|
|
4527
|
-
gte?: DateMath;
|
|
4528
|
-
lt?: DateMath;
|
|
4529
|
-
lte?: DateMath;
|
|
4530
|
-
from?: DateMath | null;
|
|
4531
|
-
to?: DateMath | null;
|
|
4531
|
+
export interface QueryDslDateRangeQuery extends QueryDslRangeQueryBase<DateMath> {
|
|
4532
4532
|
format?: DateFormat;
|
|
4533
4533
|
time_zone?: TimeZone;
|
|
4534
4534
|
}
|
|
4535
|
-
export type QueryDslDecayFunction = QueryDslDateDecayFunction | QueryDslNumericDecayFunction | QueryDslGeoDecayFunction;
|
|
4536
|
-
export interface QueryDslDecayFunctionBase {
|
|
4535
|
+
export type QueryDslDecayFunction = QueryDslUntypedDecayFunction | QueryDslDateDecayFunction | QueryDslNumericDecayFunction | QueryDslGeoDecayFunction;
|
|
4536
|
+
export interface QueryDslDecayFunctionBase<TOrigin = unknown, TScale = unknown> {
|
|
4537
4537
|
multi_value_mode?: QueryDslMultiValueMode;
|
|
4538
4538
|
}
|
|
4539
4539
|
export interface QueryDslDecayPlacement<TOrigin = unknown, TScale = unknown> {
|
|
@@ -4546,7 +4546,7 @@ export interface QueryDslDisMaxQuery extends QueryDslQueryBase {
|
|
|
4546
4546
|
queries: QueryDslQueryContainer[];
|
|
4547
4547
|
tie_breaker?: double;
|
|
4548
4548
|
}
|
|
4549
|
-
export type QueryDslDistanceFeatureQuery = QueryDslGeoDistanceFeatureQuery | QueryDslDateDistanceFeatureQuery;
|
|
4549
|
+
export type QueryDslDistanceFeatureQuery = QueryDslUntypedDistanceFeatureQuery | QueryDslGeoDistanceFeatureQuery | QueryDslDateDistanceFeatureQuery;
|
|
4550
4550
|
export interface QueryDslDistanceFeatureQueryBase<TOrigin = unknown, TDistance = unknown> extends QueryDslQueryBase {
|
|
4551
4551
|
origin: TOrigin;
|
|
4552
4552
|
pivot: TDistance;
|
|
@@ -4609,10 +4609,10 @@ export interface QueryDslGeoBoundingBoxQueryKeys extends QueryDslQueryBase {
|
|
|
4609
4609
|
export type QueryDslGeoBoundingBoxQuery = QueryDslGeoBoundingBoxQueryKeys & {
|
|
4610
4610
|
[property: string]: GeoBounds | QueryDslGeoExecution | QueryDslGeoValidationMethod | boolean | float | string;
|
|
4611
4611
|
};
|
|
4612
|
-
export interface QueryDslGeoDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4612
|
+
export interface QueryDslGeoDecayFunctionKeys extends QueryDslDecayFunctionBase<GeoLocation, Distance> {
|
|
4613
4613
|
}
|
|
4614
4614
|
export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
|
|
4615
|
-
[property: string]: QueryDslDecayPlacement
|
|
4615
|
+
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
4616
4616
|
};
|
|
4617
4617
|
export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<GeoLocation, Distance> {
|
|
4618
4618
|
}
|
|
@@ -4694,7 +4694,7 @@ export interface QueryDslIntervalsFilter {
|
|
|
4694
4694
|
not_containing?: QueryDslIntervalsContainer;
|
|
4695
4695
|
not_overlapping?: QueryDslIntervalsContainer;
|
|
4696
4696
|
overlapping?: QueryDslIntervalsContainer;
|
|
4697
|
-
script?: Script;
|
|
4697
|
+
script?: Script | string;
|
|
4698
4698
|
}
|
|
4699
4699
|
export interface QueryDslIntervalsFuzzy {
|
|
4700
4700
|
analyzer?: string;
|
|
@@ -4831,18 +4831,12 @@ export interface QueryDslNestedQuery extends QueryDslQueryBase {
|
|
|
4831
4831
|
query: QueryDslQueryContainer;
|
|
4832
4832
|
score_mode?: QueryDslChildScoreMode;
|
|
4833
4833
|
}
|
|
4834
|
-
export interface QueryDslNumberRangeQuery extends QueryDslRangeQueryBase {
|
|
4835
|
-
gt?: double;
|
|
4836
|
-
gte?: double;
|
|
4837
|
-
lt?: double;
|
|
4838
|
-
lte?: double;
|
|
4839
|
-
from?: double | null;
|
|
4840
|
-
to?: double | null;
|
|
4834
|
+
export interface QueryDslNumberRangeQuery extends QueryDslRangeQueryBase<double> {
|
|
4841
4835
|
}
|
|
4842
|
-
export interface QueryDslNumericDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4836
|
+
export interface QueryDslNumericDecayFunctionKeys extends QueryDslDecayFunctionBase<double, double> {
|
|
4843
4837
|
}
|
|
4844
4838
|
export type QueryDslNumericDecayFunction = QueryDslNumericDecayFunctionKeys & {
|
|
4845
|
-
[property: string]: QueryDslDecayPlacement
|
|
4839
|
+
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
4846
4840
|
};
|
|
4847
4841
|
export type QueryDslOperator = 'and' | 'AND' | 'or' | 'OR';
|
|
4848
4842
|
export interface QueryDslParentIdQuery extends QueryDslQueryBase {
|
|
@@ -4916,9 +4910,10 @@ export interface QueryDslQueryContainer {
|
|
|
4916
4910
|
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
4917
4911
|
rank_feature?: QueryDslRankFeatureQuery;
|
|
4918
4912
|
regexp?: Partial<Record<Field, QueryDslRegexpQuery | string>>;
|
|
4919
|
-
|
|
4913
|
+
rule?: QueryDslRuleQuery;
|
|
4920
4914
|
script?: QueryDslScriptQuery;
|
|
4921
4915
|
script_score?: QueryDslScriptScoreQuery;
|
|
4916
|
+
semantic?: QueryDslSemanticQuery;
|
|
4922
4917
|
shape?: QueryDslShapeQuery;
|
|
4923
4918
|
simple_query_string?: QueryDslSimpleQueryStringQuery;
|
|
4924
4919
|
span_containing?: QueryDslSpanContainingQuery;
|
|
@@ -4930,6 +4925,7 @@ export interface QueryDslQueryContainer {
|
|
|
4930
4925
|
span_or?: QueryDslSpanOrQuery;
|
|
4931
4926
|
span_term?: Partial<Record<Field, QueryDslSpanTermQuery | string>>;
|
|
4932
4927
|
span_within?: QueryDslSpanWithinQuery;
|
|
4928
|
+
sparse_vector?: QueryDslSparseVectorQuery;
|
|
4933
4929
|
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>;
|
|
4934
4930
|
terms?: QueryDslTermsQuery;
|
|
4935
4931
|
terms_set?: Partial<Record<Field, QueryDslTermsSetQuery>>;
|
|
@@ -4970,9 +4966,15 @@ export interface QueryDslRandomScoreFunction {
|
|
|
4970
4966
|
field?: Field;
|
|
4971
4967
|
seed?: long | string;
|
|
4972
4968
|
}
|
|
4973
|
-
export type QueryDslRangeQuery = QueryDslDateRangeQuery | QueryDslNumberRangeQuery;
|
|
4974
|
-
export interface QueryDslRangeQueryBase extends QueryDslQueryBase {
|
|
4969
|
+
export type QueryDslRangeQuery = QueryDslUntypedRangeQuery | QueryDslDateRangeQuery | QueryDslNumberRangeQuery | QueryDslTermRangeQuery;
|
|
4970
|
+
export interface QueryDslRangeQueryBase<T = unknown> extends QueryDslQueryBase {
|
|
4975
4971
|
relation?: QueryDslRangeRelation;
|
|
4972
|
+
gt?: T;
|
|
4973
|
+
gte?: T;
|
|
4974
|
+
lt?: T;
|
|
4975
|
+
lte?: T;
|
|
4976
|
+
from?: T | null;
|
|
4977
|
+
to?: T | null;
|
|
4976
4978
|
}
|
|
4977
4979
|
export type QueryDslRangeRelation = 'within' | 'contains' | 'intersects';
|
|
4978
4980
|
export interface QueryDslRankFeatureFunction {
|
|
@@ -5005,19 +5007,23 @@ export interface QueryDslRegexpQuery extends QueryDslQueryBase {
|
|
|
5005
5007
|
}
|
|
5006
5008
|
export interface QueryDslRuleQuery extends QueryDslQueryBase {
|
|
5007
5009
|
organic: QueryDslQueryContainer;
|
|
5008
|
-
|
|
5010
|
+
ruleset_ids: Id[];
|
|
5009
5011
|
match_criteria: any;
|
|
5010
5012
|
}
|
|
5011
5013
|
export interface QueryDslScriptQuery extends QueryDslQueryBase {
|
|
5012
|
-
script: Script;
|
|
5014
|
+
script: Script | string;
|
|
5013
5015
|
}
|
|
5014
5016
|
export interface QueryDslScriptScoreFunction {
|
|
5015
|
-
script: Script;
|
|
5017
|
+
script: Script | string;
|
|
5016
5018
|
}
|
|
5017
5019
|
export interface QueryDslScriptScoreQuery extends QueryDslQueryBase {
|
|
5018
5020
|
min_score?: float;
|
|
5019
5021
|
query: QueryDslQueryContainer;
|
|
5020
|
-
script: Script;
|
|
5022
|
+
script: Script | string;
|
|
5023
|
+
}
|
|
5024
|
+
export interface QueryDslSemanticQuery extends QueryDslQueryBase {
|
|
5025
|
+
field: string;
|
|
5026
|
+
query: string;
|
|
5021
5027
|
}
|
|
5022
5028
|
export interface QueryDslShapeFieldQuery {
|
|
5023
5029
|
indexed_shape?: QueryDslFieldLookup;
|
|
@@ -5097,10 +5103,20 @@ export interface QueryDslSpanWithinQuery extends QueryDslQueryBase {
|
|
|
5097
5103
|
big: QueryDslSpanQuery;
|
|
5098
5104
|
little: QueryDslSpanQuery;
|
|
5099
5105
|
}
|
|
5106
|
+
export interface QueryDslSparseVectorQuery extends QueryDslQueryBase {
|
|
5107
|
+
field: Field;
|
|
5108
|
+
query_vector?: Record<string, float>;
|
|
5109
|
+
inference_id?: Id;
|
|
5110
|
+
query?: string;
|
|
5111
|
+
prune?: boolean;
|
|
5112
|
+
pruning_config?: QueryDslTokenPruningConfig;
|
|
5113
|
+
}
|
|
5100
5114
|
export interface QueryDslTermQuery extends QueryDslQueryBase {
|
|
5101
5115
|
value: FieldValue;
|
|
5102
5116
|
case_insensitive?: boolean;
|
|
5103
5117
|
}
|
|
5118
|
+
export interface QueryDslTermRangeQuery extends QueryDslRangeQueryBase<string> {
|
|
5119
|
+
}
|
|
5104
5120
|
export interface QueryDslTermsLookup {
|
|
5105
5121
|
index: IndexName;
|
|
5106
5122
|
id: Id;
|
|
@@ -5115,7 +5131,7 @@ export type QueryDslTermsQuery = QueryDslTermsQueryKeys & {
|
|
|
5115
5131
|
export type QueryDslTermsQueryField = FieldValue[] | QueryDslTermsLookup;
|
|
5116
5132
|
export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
|
5117
5133
|
minimum_should_match_field?: Field;
|
|
5118
|
-
minimum_should_match_script?: Script;
|
|
5134
|
+
minimum_should_match_script?: Script | string;
|
|
5119
5135
|
terms: string[];
|
|
5120
5136
|
}
|
|
5121
5137
|
export interface QueryDslTextExpansionQuery extends QueryDslQueryBase {
|
|
@@ -5132,6 +5148,17 @@ export interface QueryDslTokenPruningConfig {
|
|
|
5132
5148
|
export interface QueryDslTypeQuery extends QueryDslQueryBase {
|
|
5133
5149
|
value: string;
|
|
5134
5150
|
}
|
|
5151
|
+
export interface QueryDslUntypedDecayFunctionKeys extends QueryDslDecayFunctionBase<any, any> {
|
|
5152
|
+
}
|
|
5153
|
+
export type QueryDslUntypedDecayFunction = QueryDslUntypedDecayFunctionKeys & {
|
|
5154
|
+
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
5155
|
+
};
|
|
5156
|
+
export interface QueryDslUntypedDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<any, any> {
|
|
5157
|
+
}
|
|
5158
|
+
export interface QueryDslUntypedRangeQuery extends QueryDslRangeQueryBase<any> {
|
|
5159
|
+
format?: DateFormat;
|
|
5160
|
+
time_zone?: TimeZone;
|
|
5161
|
+
}
|
|
5135
5162
|
export interface QueryDslWeightedTokensQuery extends QueryDslQueryBase {
|
|
5136
5163
|
tokens: Record<string, float>;
|
|
5137
5164
|
pruning_config?: QueryDslTokenPruningConfig;
|
|
@@ -5347,28 +5374,39 @@ export interface CatAliasesRequest extends CatCatRequestBase {
|
|
|
5347
5374
|
}
|
|
5348
5375
|
export type CatAliasesResponse = CatAliasesAliasesRecord[];
|
|
5349
5376
|
export interface CatAllocationAllocationRecord {
|
|
5350
|
-
shards
|
|
5351
|
-
s
|
|
5352
|
-
'
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5377
|
+
shards: string;
|
|
5378
|
+
s: string;
|
|
5379
|
+
'shards.undesired': string | null;
|
|
5380
|
+
'write_load.forecast': double | null;
|
|
5381
|
+
wlf: double | null;
|
|
5382
|
+
writeLoadForecast: double | null;
|
|
5383
|
+
'disk.indices.forecast': ByteSize | null;
|
|
5384
|
+
dif: ByteSize | null;
|
|
5385
|
+
diskIndicesForecast: ByteSize | null;
|
|
5386
|
+
'disk.indices': ByteSize | null;
|
|
5387
|
+
di: ByteSize | null;
|
|
5388
|
+
diskIndices: ByteSize | null;
|
|
5389
|
+
'disk.used': ByteSize | null;
|
|
5390
|
+
du: ByteSize | null;
|
|
5391
|
+
diskUsed: ByteSize | null;
|
|
5392
|
+
'disk.avail': ByteSize | null;
|
|
5393
|
+
da: ByteSize | null;
|
|
5394
|
+
diskAvail: ByteSize | null;
|
|
5395
|
+
'disk.total': ByteSize | null;
|
|
5396
|
+
dt: ByteSize | null;
|
|
5397
|
+
diskTotal: ByteSize | null;
|
|
5398
|
+
'disk.percent': Percentage | null;
|
|
5399
|
+
dp: Percentage | null;
|
|
5400
|
+
diskPercent: Percentage | null;
|
|
5401
|
+
host: Host | null;
|
|
5402
|
+
h: Host | null;
|
|
5403
|
+
ip: Ip | null;
|
|
5404
|
+
node: string;
|
|
5405
|
+
n: string;
|
|
5406
|
+
'node.role': string | null;
|
|
5407
|
+
r: string | null;
|
|
5408
|
+
role: string | null;
|
|
5409
|
+
nodeRole: string | null;
|
|
5372
5410
|
}
|
|
5373
5411
|
export interface CatAllocationRequest extends CatCatRequestBase {
|
|
5374
5412
|
node_id?: NodeIds;
|
|
@@ -7796,14 +7834,15 @@ export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
|
|
7796
7834
|
}
|
|
7797
7835
|
export interface ConnectorConnector {
|
|
7798
7836
|
api_key_id?: string;
|
|
7837
|
+
api_key_secret_id?: string;
|
|
7799
7838
|
configuration: ConnectorConnectorConfiguration;
|
|
7800
7839
|
custom_scheduling: ConnectorConnectorCustomScheduling;
|
|
7801
7840
|
description?: string;
|
|
7802
|
-
error?: string;
|
|
7841
|
+
error?: string | null;
|
|
7803
7842
|
features?: ConnectorConnectorFeatures;
|
|
7804
7843
|
filtering: ConnectorFilteringConfig[];
|
|
7805
7844
|
id?: Id;
|
|
7806
|
-
index_name?: IndexName;
|
|
7845
|
+
index_name?: IndexName | null;
|
|
7807
7846
|
is_native: boolean;
|
|
7808
7847
|
language?: string;
|
|
7809
7848
|
last_access_control_sync_error?: string;
|
|
@@ -7820,8 +7859,9 @@ export interface ConnectorConnector {
|
|
|
7820
7859
|
name?: string;
|
|
7821
7860
|
pipeline?: ConnectorIngestPipelineParams;
|
|
7822
7861
|
scheduling: ConnectorSchedulingConfiguration;
|
|
7823
|
-
service_type
|
|
7862
|
+
service_type?: string;
|
|
7824
7863
|
status: ConnectorConnectorStatus;
|
|
7864
|
+
sync_cursor?: any;
|
|
7825
7865
|
sync_now: boolean;
|
|
7826
7866
|
}
|
|
7827
7867
|
export interface ConnectorConnectorConfigProperties {
|
|
@@ -7835,19 +7875,18 @@ export interface ConnectorConnectorConfigProperties {
|
|
|
7835
7875
|
placeholder?: string;
|
|
7836
7876
|
required: boolean;
|
|
7837
7877
|
sensitive: boolean;
|
|
7838
|
-
tooltip?: string;
|
|
7839
|
-
type
|
|
7840
|
-
ui_restrictions
|
|
7841
|
-
validations
|
|
7842
|
-
value:
|
|
7878
|
+
tooltip?: string | null;
|
|
7879
|
+
type?: ConnectorConnectorFieldType;
|
|
7880
|
+
ui_restrictions?: string[];
|
|
7881
|
+
validations?: ConnectorValidation[];
|
|
7882
|
+
value: any;
|
|
7843
7883
|
}
|
|
7844
7884
|
export type ConnectorConnectorConfiguration = Record<string, ConnectorConnectorConfigProperties>;
|
|
7845
7885
|
export type ConnectorConnectorCustomScheduling = Record<string, ConnectorCustomScheduling>;
|
|
7846
7886
|
export interface ConnectorConnectorFeatures {
|
|
7847
7887
|
document_level_security?: ConnectorFeatureEnabled;
|
|
7848
|
-
filtering_advanced_config?: boolean;
|
|
7849
|
-
filtering_rules?: boolean;
|
|
7850
7888
|
incremental_sync?: ConnectorFeatureEnabled;
|
|
7889
|
+
native_connector_api_keys?: ConnectorFeatureEnabled;
|
|
7851
7890
|
sync_rules?: ConnectorSyncRulesFeature;
|
|
7852
7891
|
}
|
|
7853
7892
|
export type ConnectorConnectorFieldType = 'str' | 'int' | 'list' | 'bool';
|
|
@@ -7905,7 +7944,7 @@ export interface ConnectorFilteringAdvancedSnippet {
|
|
|
7905
7944
|
}
|
|
7906
7945
|
export interface ConnectorFilteringConfig {
|
|
7907
7946
|
active: ConnectorFilteringRules;
|
|
7908
|
-
domain
|
|
7947
|
+
domain?: string;
|
|
7909
7948
|
draft: ConnectorFilteringRules;
|
|
7910
7949
|
}
|
|
7911
7950
|
export type ConnectorFilteringPolicy = 'exclude' | 'include';
|
|
@@ -7940,7 +7979,7 @@ export interface ConnectorGreaterThanValidation {
|
|
|
7940
7979
|
}
|
|
7941
7980
|
export interface ConnectorIncludedInValidation {
|
|
7942
7981
|
type: 'included_in';
|
|
7943
|
-
constraint:
|
|
7982
|
+
constraint: ScalarValue[];
|
|
7944
7983
|
}
|
|
7945
7984
|
export interface ConnectorIngestPipelineParams {
|
|
7946
7985
|
extract_binary_content: boolean;
|
|
@@ -7954,7 +7993,7 @@ export interface ConnectorLessThanValidation {
|
|
|
7954
7993
|
}
|
|
7955
7994
|
export interface ConnectorListTypeValidation {
|
|
7956
7995
|
type: 'list_type';
|
|
7957
|
-
constraint:
|
|
7996
|
+
constraint: string;
|
|
7958
7997
|
}
|
|
7959
7998
|
export interface ConnectorRegexValidation {
|
|
7960
7999
|
type: 'regex';
|
|
@@ -7967,7 +8006,7 @@ export interface ConnectorSchedulingConfiguration {
|
|
|
7967
8006
|
}
|
|
7968
8007
|
export interface ConnectorSelectOption {
|
|
7969
8008
|
label: string;
|
|
7970
|
-
value:
|
|
8009
|
+
value: ScalarValue;
|
|
7971
8010
|
}
|
|
7972
8011
|
export interface ConnectorSyncJobConnectorReference {
|
|
7973
8012
|
configuration: ConnectorConnectorConfiguration;
|
|
@@ -7977,6 +8016,7 @@ export interface ConnectorSyncJobConnectorReference {
|
|
|
7977
8016
|
language?: string;
|
|
7978
8017
|
pipeline?: ConnectorIngestPipelineParams;
|
|
7979
8018
|
service_type: string;
|
|
8019
|
+
sync_cursor?: any;
|
|
7980
8020
|
}
|
|
7981
8021
|
export type ConnectorSyncJobTriggerMethod = 'on_demand' | 'scheduled';
|
|
7982
8022
|
export type ConnectorSyncJobType = 'full' | 'incremental' | 'access_control';
|
|
@@ -7994,7 +8034,7 @@ export interface ConnectorCheckInResponse {
|
|
|
7994
8034
|
}
|
|
7995
8035
|
export interface ConnectorDeleteRequest extends RequestBase {
|
|
7996
8036
|
connector_id: Id;
|
|
7997
|
-
delete_sync_jobs
|
|
8037
|
+
delete_sync_jobs?: boolean;
|
|
7998
8038
|
}
|
|
7999
8039
|
export type ConnectorDeleteResponse = AcknowledgedResponseBase;
|
|
8000
8040
|
export interface ConnectorGetRequest extends RequestBase {
|
|
@@ -8003,17 +8043,18 @@ export interface ConnectorGetRequest extends RequestBase {
|
|
|
8003
8043
|
export type ConnectorGetResponse = ConnectorConnector;
|
|
8004
8044
|
export interface ConnectorLastSyncRequest extends RequestBase {
|
|
8005
8045
|
connector_id: Id;
|
|
8006
|
-
last_access_control_sync_error?:
|
|
8046
|
+
last_access_control_sync_error?: string;
|
|
8007
8047
|
last_access_control_sync_scheduled_at?: DateTime;
|
|
8008
8048
|
last_access_control_sync_status?: ConnectorSyncStatus;
|
|
8009
8049
|
last_deleted_document_count?: long;
|
|
8010
8050
|
last_incremental_sync_scheduled_at?: DateTime;
|
|
8011
8051
|
last_indexed_document_count?: long;
|
|
8012
|
-
last_seen?:
|
|
8013
|
-
last_sync_error?:
|
|
8052
|
+
last_seen?: DateTime;
|
|
8053
|
+
last_sync_error?: string;
|
|
8014
8054
|
last_sync_scheduled_at?: DateTime;
|
|
8015
8055
|
last_sync_status?: ConnectorSyncStatus;
|
|
8016
8056
|
last_synced?: DateTime;
|
|
8057
|
+
sync_cursor?: any;
|
|
8017
8058
|
}
|
|
8018
8059
|
export interface ConnectorLastSyncResponse {
|
|
8019
8060
|
result: Result;
|
|
@@ -8032,19 +8073,20 @@ export interface ConnectorListResponse {
|
|
|
8032
8073
|
}
|
|
8033
8074
|
export interface ConnectorPostRequest extends RequestBase {
|
|
8034
8075
|
description?: string;
|
|
8035
|
-
index_name
|
|
8076
|
+
index_name?: IndexName;
|
|
8036
8077
|
is_native?: boolean;
|
|
8037
8078
|
language?: string;
|
|
8038
8079
|
name?: string;
|
|
8039
8080
|
service_type?: string;
|
|
8040
8081
|
}
|
|
8041
8082
|
export interface ConnectorPostResponse {
|
|
8083
|
+
result: Result;
|
|
8042
8084
|
id: Id;
|
|
8043
8085
|
}
|
|
8044
8086
|
export interface ConnectorPutRequest extends RequestBase {
|
|
8045
|
-
connector_id
|
|
8087
|
+
connector_id?: Id;
|
|
8046
8088
|
description?: string;
|
|
8047
|
-
index_name
|
|
8089
|
+
index_name?: IndexName;
|
|
8048
8090
|
is_native?: boolean;
|
|
8049
8091
|
language?: string;
|
|
8050
8092
|
name?: string;
|
|
@@ -8052,6 +8094,7 @@ export interface ConnectorPutRequest extends RequestBase {
|
|
|
8052
8094
|
}
|
|
8053
8095
|
export interface ConnectorPutResponse {
|
|
8054
8096
|
result: Result;
|
|
8097
|
+
id: Id;
|
|
8055
8098
|
}
|
|
8056
8099
|
export interface ConnectorSyncJobCancelRequest extends RequestBase {
|
|
8057
8100
|
connector_sync_job_id: Id;
|
|
@@ -8072,7 +8115,7 @@ export interface ConnectorSyncJobListRequest extends RequestBase {
|
|
|
8072
8115
|
size?: integer;
|
|
8073
8116
|
status?: ConnectorSyncStatus;
|
|
8074
8117
|
connector_id?: Id;
|
|
8075
|
-
job_type?: ConnectorSyncJobType[];
|
|
8118
|
+
job_type?: ConnectorSyncJobType | ConnectorSyncJobType[];
|
|
8076
8119
|
}
|
|
8077
8120
|
export interface ConnectorSyncJobListResponse {
|
|
8078
8121
|
count: long;
|
|
@@ -8094,8 +8137,8 @@ export interface ConnectorUpdateActiveFilteringResponse {
|
|
|
8094
8137
|
}
|
|
8095
8138
|
export interface ConnectorUpdateApiKeyIdRequest extends RequestBase {
|
|
8096
8139
|
connector_id: Id;
|
|
8097
|
-
api_key_id?:
|
|
8098
|
-
api_key_secret_id?:
|
|
8140
|
+
api_key_id?: string;
|
|
8141
|
+
api_key_secret_id?: string;
|
|
8099
8142
|
}
|
|
8100
8143
|
export interface ConnectorUpdateApiKeyIdResponse {
|
|
8101
8144
|
result: Result;
|
|
@@ -8140,7 +8183,7 @@ export interface ConnectorUpdateIndexNameResponse {
|
|
|
8140
8183
|
}
|
|
8141
8184
|
export interface ConnectorUpdateNameRequest extends RequestBase {
|
|
8142
8185
|
connector_id: Id;
|
|
8143
|
-
name
|
|
8186
|
+
name?: string;
|
|
8144
8187
|
description?: string;
|
|
8145
8188
|
}
|
|
8146
8189
|
export interface ConnectorUpdateNameResponse {
|
|
@@ -8289,11 +8332,12 @@ export interface EqlHitsEvent<TEvent = unknown> {
|
|
|
8289
8332
|
_index: IndexName;
|
|
8290
8333
|
_id: Id;
|
|
8291
8334
|
_source: TEvent;
|
|
8335
|
+
missing?: boolean;
|
|
8292
8336
|
fields?: Record<Field, any[]>;
|
|
8293
8337
|
}
|
|
8294
8338
|
export interface EqlHitsSequence<TEvent = unknown> {
|
|
8295
8339
|
events: EqlHitsEvent<TEvent>[];
|
|
8296
|
-
join_keys
|
|
8340
|
+
join_keys?: any[];
|
|
8297
8341
|
}
|
|
8298
8342
|
export interface EqlDeleteRequest extends RequestBase {
|
|
8299
8343
|
id: Id;
|
|
@@ -8531,19 +8575,45 @@ export interface GraphExploreResponse {
|
|
|
8531
8575
|
took: long;
|
|
8532
8576
|
vertices: GraphVertex[];
|
|
8533
8577
|
}
|
|
8534
|
-
export
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8578
|
+
export interface IlmActions {
|
|
8579
|
+
allocate?: IlmAllocateAction;
|
|
8580
|
+
delete?: IlmDeleteAction;
|
|
8581
|
+
downsample?: IlmDownsampleAction;
|
|
8582
|
+
freeze?: EmptyObject;
|
|
8583
|
+
forcemerge?: IlmForceMergeAction;
|
|
8584
|
+
migrate?: IlmMigrateAction;
|
|
8585
|
+
readonly?: EmptyObject;
|
|
8586
|
+
rollover?: IlmRolloverAction;
|
|
8587
|
+
set_priority?: IlmSetPriorityAction;
|
|
8588
|
+
searchable_snapshot?: IlmSearchableSnapshotAction;
|
|
8589
|
+
shrink?: IlmShrinkAction;
|
|
8590
|
+
unfollow?: EmptyObject;
|
|
8591
|
+
wait_for_snapshot?: IlmWaitForSnapshotAction;
|
|
8592
|
+
}
|
|
8593
|
+
export interface IlmAllocateAction {
|
|
8594
|
+
number_of_replicas?: integer;
|
|
8595
|
+
total_shards_per_node?: integer;
|
|
8596
|
+
include?: Record<string, string>;
|
|
8597
|
+
exclude?: Record<string, string>;
|
|
8598
|
+
require?: Record<string, string>;
|
|
8599
|
+
}
|
|
8600
|
+
export interface IlmDeleteAction {
|
|
8601
|
+
delete_searchable_snapshot?: boolean;
|
|
8602
|
+
}
|
|
8603
|
+
export interface IlmDownsampleAction {
|
|
8604
|
+
fixed_interval: DurationLarge;
|
|
8605
|
+
wait_timeout?: Duration;
|
|
8539
8606
|
}
|
|
8540
|
-
export interface
|
|
8607
|
+
export interface IlmForceMergeAction {
|
|
8541
8608
|
max_num_segments: integer;
|
|
8609
|
+
index_codec?: string;
|
|
8610
|
+
}
|
|
8611
|
+
export interface IlmMigrateAction {
|
|
8612
|
+
enabled?: boolean;
|
|
8542
8613
|
}
|
|
8543
8614
|
export interface IlmPhase {
|
|
8544
8615
|
actions?: IlmActions;
|
|
8545
8616
|
min_age?: Duration | long;
|
|
8546
|
-
configurations?: IlmConfigurations;
|
|
8547
8617
|
}
|
|
8548
8618
|
export interface IlmPhases {
|
|
8549
8619
|
cold?: IlmPhase;
|
|
@@ -8556,8 +8626,32 @@ export interface IlmPolicy {
|
|
|
8556
8626
|
phases: IlmPhases;
|
|
8557
8627
|
_meta?: Metadata;
|
|
8558
8628
|
}
|
|
8559
|
-
export interface
|
|
8560
|
-
|
|
8629
|
+
export interface IlmRolloverAction {
|
|
8630
|
+
max_size?: ByteSize;
|
|
8631
|
+
max_primary_shard_size?: ByteSize;
|
|
8632
|
+
max_age?: Duration;
|
|
8633
|
+
max_docs?: long;
|
|
8634
|
+
max_primary_shard_docs?: long;
|
|
8635
|
+
min_size?: ByteSize;
|
|
8636
|
+
min_primary_shard_size?: ByteSize;
|
|
8637
|
+
min_age?: Duration;
|
|
8638
|
+
min_docs?: long;
|
|
8639
|
+
min_primary_shard_docs?: long;
|
|
8640
|
+
}
|
|
8641
|
+
export interface IlmSearchableSnapshotAction {
|
|
8642
|
+
snapshot_repository: string;
|
|
8643
|
+
force_merge_index?: boolean;
|
|
8644
|
+
}
|
|
8645
|
+
export interface IlmSetPriorityAction {
|
|
8646
|
+
priority?: integer;
|
|
8647
|
+
}
|
|
8648
|
+
export interface IlmShrinkAction {
|
|
8649
|
+
number_of_shards?: integer;
|
|
8650
|
+
max_primary_shard_size?: ByteSize;
|
|
8651
|
+
allow_write_after_shrink?: boolean;
|
|
8652
|
+
}
|
|
8653
|
+
export interface IlmWaitForSnapshotAction {
|
|
8654
|
+
policy: string;
|
|
8561
8655
|
}
|
|
8562
8656
|
export interface IlmDeleteLifecycleRequest extends RequestBase {
|
|
8563
8657
|
name: Name;
|
|
@@ -8961,6 +9055,7 @@ export interface IndicesMappingLimitSettingsNestedObjects {
|
|
|
8961
9055
|
}
|
|
8962
9056
|
export interface IndicesMappingLimitSettingsTotalFields {
|
|
8963
9057
|
limit?: long;
|
|
9058
|
+
ignore_dynamic_beyond_limit?: boolean;
|
|
8964
9059
|
}
|
|
8965
9060
|
export interface IndicesMerge {
|
|
8966
9061
|
scheduler?: IndicesMergeScheduler;
|
|
@@ -9034,8 +9129,8 @@ export interface IndicesSettingsSimilarityLmj {
|
|
|
9034
9129
|
}
|
|
9035
9130
|
export interface IndicesSettingsSimilarityScripted {
|
|
9036
9131
|
type: 'scripted';
|
|
9037
|
-
script: Script;
|
|
9038
|
-
weight_script?: Script;
|
|
9132
|
+
script: Script | string;
|
|
9133
|
+
weight_script?: Script | string;
|
|
9039
9134
|
}
|
|
9040
9135
|
export interface IndicesSlowlogSettings {
|
|
9041
9136
|
level?: string;
|
|
@@ -10196,8 +10291,20 @@ export interface IndicesValidateQueryResponse {
|
|
|
10196
10291
|
export interface InferenceCompletionResult {
|
|
10197
10292
|
result: string;
|
|
10198
10293
|
}
|
|
10294
|
+
export interface InferenceDeleteInferenceEndpointResult extends AcknowledgedResponseBase {
|
|
10295
|
+
pipelines: string[];
|
|
10296
|
+
}
|
|
10199
10297
|
export type InferenceDenseByteVector = byte[];
|
|
10200
10298
|
export type InferenceDenseVector = float[];
|
|
10299
|
+
export interface InferenceInferenceEndpoint {
|
|
10300
|
+
service: string;
|
|
10301
|
+
service_settings: InferenceServiceSettings;
|
|
10302
|
+
task_settings: InferenceTaskSettings;
|
|
10303
|
+
}
|
|
10304
|
+
export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoint {
|
|
10305
|
+
inference_id: string;
|
|
10306
|
+
task_type: InferenceTaskType;
|
|
10307
|
+
}
|
|
10201
10308
|
export interface InferenceInferenceResult {
|
|
10202
10309
|
text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
|
|
10203
10310
|
text_embedding?: InferenceTextEmbeddingResult[];
|
|
@@ -10205,15 +10312,6 @@ export interface InferenceInferenceResult {
|
|
|
10205
10312
|
completion?: InferenceCompletionResult[];
|
|
10206
10313
|
rerank?: InferenceRankedDocument[];
|
|
10207
10314
|
}
|
|
10208
|
-
export interface InferenceModelConfig {
|
|
10209
|
-
service: string;
|
|
10210
|
-
service_settings: InferenceServiceSettings;
|
|
10211
|
-
task_settings: InferenceTaskSettings;
|
|
10212
|
-
}
|
|
10213
|
-
export interface InferenceModelConfigContainer extends InferenceModelConfig {
|
|
10214
|
-
model_id: string;
|
|
10215
|
-
task_type: InferenceTaskType;
|
|
10216
|
-
}
|
|
10217
10315
|
export interface InferenceRankedDocument {
|
|
10218
10316
|
index: integer;
|
|
10219
10317
|
score: float;
|
|
@@ -10232,17 +10330,19 @@ export interface InferenceTextEmbeddingByteResult {
|
|
|
10232
10330
|
export interface InferenceTextEmbeddingResult {
|
|
10233
10331
|
embedding: InferenceDenseVector;
|
|
10234
10332
|
}
|
|
10235
|
-
export interface
|
|
10333
|
+
export interface InferenceDeleteRequest extends RequestBase {
|
|
10236
10334
|
task_type?: InferenceTaskType;
|
|
10237
10335
|
inference_id: Id;
|
|
10336
|
+
dry_run?: boolean;
|
|
10337
|
+
force?: boolean;
|
|
10238
10338
|
}
|
|
10239
|
-
export type
|
|
10240
|
-
export interface
|
|
10339
|
+
export type InferenceDeleteResponse = InferenceDeleteInferenceEndpointResult;
|
|
10340
|
+
export interface InferenceGetRequest extends RequestBase {
|
|
10241
10341
|
task_type?: InferenceTaskType;
|
|
10242
|
-
inference_id
|
|
10342
|
+
inference_id?: Id;
|
|
10243
10343
|
}
|
|
10244
|
-
export interface
|
|
10245
|
-
|
|
10344
|
+
export interface InferenceGetResponse {
|
|
10345
|
+
endpoints: InferenceInferenceEndpointInfo[];
|
|
10246
10346
|
}
|
|
10247
10347
|
export interface InferenceInferenceRequest extends RequestBase {
|
|
10248
10348
|
task_type?: InferenceTaskType;
|
|
@@ -10253,12 +10353,12 @@ export interface InferenceInferenceRequest extends RequestBase {
|
|
|
10253
10353
|
task_settings?: InferenceTaskSettings;
|
|
10254
10354
|
}
|
|
10255
10355
|
export type InferenceInferenceResponse = InferenceInferenceResult;
|
|
10256
|
-
export interface
|
|
10356
|
+
export interface InferencePutRequest extends RequestBase {
|
|
10257
10357
|
task_type?: InferenceTaskType;
|
|
10258
10358
|
inference_id: Id;
|
|
10259
|
-
|
|
10359
|
+
inference_config?: InferenceInferenceEndpoint;
|
|
10260
10360
|
}
|
|
10261
|
-
export type
|
|
10361
|
+
export type InferencePutResponse = InferenceInferenceEndpointInfo;
|
|
10262
10362
|
export interface IngestAppendProcessor extends IngestProcessorBase {
|
|
10263
10363
|
field: Field;
|
|
10264
10364
|
value: any[];
|
|
@@ -10445,41 +10545,41 @@ export interface IngestProcessorBase {
|
|
|
10445
10545
|
tag?: string;
|
|
10446
10546
|
}
|
|
10447
10547
|
export interface IngestProcessorContainer {
|
|
10448
|
-
attachment?: IngestAttachmentProcessor;
|
|
10449
10548
|
append?: IngestAppendProcessor;
|
|
10450
|
-
|
|
10549
|
+
attachment?: IngestAttachmentProcessor;
|
|
10550
|
+
bytes?: IngestBytesProcessor;
|
|
10551
|
+
circle?: IngestCircleProcessor;
|
|
10451
10552
|
convert?: IngestConvertProcessor;
|
|
10553
|
+
csv?: IngestCsvProcessor;
|
|
10452
10554
|
date?: IngestDateProcessor;
|
|
10453
10555
|
date_index_name?: IngestDateIndexNameProcessor;
|
|
10556
|
+
dissect?: IngestDissectProcessor;
|
|
10454
10557
|
dot_expander?: IngestDotExpanderProcessor;
|
|
10558
|
+
drop?: IngestDropProcessor;
|
|
10455
10559
|
enrich?: IngestEnrichProcessor;
|
|
10456
10560
|
fail?: IngestFailProcessor;
|
|
10457
10561
|
foreach?: IngestForeachProcessor;
|
|
10458
|
-
json?: IngestJsonProcessor;
|
|
10459
|
-
user_agent?: IngestUserAgentProcessor;
|
|
10460
|
-
kv?: IngestKeyValueProcessor;
|
|
10461
10562
|
geoip?: IngestGeoIpProcessor;
|
|
10462
10563
|
grok?: IngestGrokProcessor;
|
|
10463
10564
|
gsub?: IngestGsubProcessor;
|
|
10565
|
+
inference?: IngestInferenceProcessor;
|
|
10464
10566
|
join?: IngestJoinProcessor;
|
|
10567
|
+
json?: IngestJsonProcessor;
|
|
10568
|
+
kv?: IngestKeyValueProcessor;
|
|
10465
10569
|
lowercase?: IngestLowercaseProcessor;
|
|
10570
|
+
pipeline?: IngestPipelineProcessor;
|
|
10466
10571
|
remove?: IngestRemoveProcessor;
|
|
10467
10572
|
rename?: IngestRenameProcessor;
|
|
10468
10573
|
reroute?: IngestRerouteProcessor;
|
|
10469
10574
|
script?: IngestScriptProcessor;
|
|
10470
10575
|
set?: IngestSetProcessor;
|
|
10576
|
+
set_security_user?: IngestSetSecurityUserProcessor;
|
|
10471
10577
|
sort?: IngestSortProcessor;
|
|
10472
10578
|
split?: IngestSplitProcessor;
|
|
10473
10579
|
trim?: IngestTrimProcessor;
|
|
10474
10580
|
uppercase?: IngestUppercaseProcessor;
|
|
10475
10581
|
urldecode?: IngestUrlDecodeProcessor;
|
|
10476
|
-
|
|
10477
|
-
dissect?: IngestDissectProcessor;
|
|
10478
|
-
set_security_user?: IngestSetSecurityUserProcessor;
|
|
10479
|
-
pipeline?: IngestPipelineProcessor;
|
|
10480
|
-
drop?: IngestDropProcessor;
|
|
10481
|
-
circle?: IngestCircleProcessor;
|
|
10482
|
-
inference?: IngestInferenceProcessor;
|
|
10582
|
+
user_agent?: IngestUserAgentProcessor;
|
|
10483
10583
|
}
|
|
10484
10584
|
export interface IngestRemoveProcessor extends IngestProcessorBase {
|
|
10485
10585
|
field: Fields;
|
|
@@ -11015,8 +11115,8 @@ export interface MlDatafeedConfig {
|
|
|
11015
11115
|
datafeed_id?: Id;
|
|
11016
11116
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
11017
11117
|
frequency?: Duration;
|
|
11018
|
-
indices?:
|
|
11019
|
-
indexes?:
|
|
11118
|
+
indices?: Indices;
|
|
11119
|
+
indexes?: Indices;
|
|
11020
11120
|
indices_options?: IndicesOptions;
|
|
11021
11121
|
job_id?: Id;
|
|
11022
11122
|
max_empty_searches?: integer;
|
|
@@ -11819,7 +11919,7 @@ export interface MlTrainedModelPrefixStrings {
|
|
|
11819
11919
|
}
|
|
11820
11920
|
export interface MlTrainedModelSizeStats {
|
|
11821
11921
|
model_size_bytes: ByteSize;
|
|
11822
|
-
required_native_memory_bytes:
|
|
11922
|
+
required_native_memory_bytes: ByteSize;
|
|
11823
11923
|
}
|
|
11824
11924
|
export interface MlTrainedModelStats {
|
|
11825
11925
|
deployment_stats?: MlTrainedModelDeploymentStats;
|
|
@@ -12302,14 +12402,14 @@ export interface MlGetRecordsResponse {
|
|
|
12302
12402
|
records: MlAnomaly[];
|
|
12303
12403
|
}
|
|
12304
12404
|
export interface MlGetTrainedModelsRequest extends RequestBase {
|
|
12305
|
-
model_id?:
|
|
12405
|
+
model_id?: Ids;
|
|
12306
12406
|
allow_no_match?: boolean;
|
|
12307
12407
|
decompress_definition?: boolean;
|
|
12308
12408
|
exclude_generated?: boolean;
|
|
12309
12409
|
from?: integer;
|
|
12310
12410
|
include?: MlInclude;
|
|
12311
12411
|
size?: integer;
|
|
12312
|
-
tags?: string;
|
|
12412
|
+
tags?: string | string[];
|
|
12313
12413
|
}
|
|
12314
12414
|
export interface MlGetTrainedModelsResponse {
|
|
12315
12415
|
count: integer;
|
|
@@ -12437,7 +12537,7 @@ export interface MlPutCalendarResponse {
|
|
|
12437
12537
|
}
|
|
12438
12538
|
export interface MlPutCalendarJobRequest extends RequestBase {
|
|
12439
12539
|
calendar_id: Id;
|
|
12440
|
-
job_id:
|
|
12540
|
+
job_id: Ids;
|
|
12441
12541
|
}
|
|
12442
12542
|
export interface MlPutCalendarJobResponse {
|
|
12443
12543
|
calendar_id: Id;
|
|
@@ -13697,52 +13797,75 @@ export interface NodesUsageResponseBase extends NodesNodesResponseBase {
|
|
|
13697
13797
|
cluster_name: Name;
|
|
13698
13798
|
nodes: Record<string, NodesUsageNodeUsage>;
|
|
13699
13799
|
}
|
|
13700
|
-
export interface
|
|
13800
|
+
export interface QueryRulesQueryRule {
|
|
13701
13801
|
rule_id: Id;
|
|
13702
|
-
type:
|
|
13703
|
-
criteria:
|
|
13704
|
-
actions:
|
|
13802
|
+
type: QueryRulesQueryRuleType;
|
|
13803
|
+
criteria: QueryRulesQueryRuleCriteria | QueryRulesQueryRuleCriteria[];
|
|
13804
|
+
actions: QueryRulesQueryRuleActions;
|
|
13805
|
+
priority?: integer;
|
|
13705
13806
|
}
|
|
13706
|
-
export interface
|
|
13807
|
+
export interface QueryRulesQueryRuleActions {
|
|
13707
13808
|
ids?: Id[];
|
|
13708
13809
|
docs?: QueryDslPinnedDoc[];
|
|
13709
13810
|
}
|
|
13710
|
-
export interface
|
|
13711
|
-
type:
|
|
13712
|
-
metadata
|
|
13811
|
+
export interface QueryRulesQueryRuleCriteria {
|
|
13812
|
+
type: QueryRulesQueryRuleCriteriaType;
|
|
13813
|
+
metadata?: string;
|
|
13713
13814
|
values?: any[];
|
|
13714
13815
|
}
|
|
13715
|
-
export type
|
|
13716
|
-
export type
|
|
13717
|
-
export interface
|
|
13816
|
+
export type QueryRulesQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte' | 'always';
|
|
13817
|
+
export type QueryRulesQueryRuleType = 'pinned';
|
|
13818
|
+
export interface QueryRulesQueryRuleset {
|
|
13819
|
+
ruleset_id: Id;
|
|
13820
|
+
rules: QueryRulesQueryRule[];
|
|
13821
|
+
}
|
|
13822
|
+
export interface QueryRulesDeleteRuleRequest extends RequestBase {
|
|
13823
|
+
ruleset_id: Id;
|
|
13824
|
+
rule_id: Id;
|
|
13825
|
+
}
|
|
13826
|
+
export type QueryRulesDeleteRuleResponse = AcknowledgedResponseBase;
|
|
13827
|
+
export interface QueryRulesDeleteRulesetRequest extends RequestBase {
|
|
13718
13828
|
ruleset_id: Id;
|
|
13719
|
-
rules: QueryRulesetQueryRule[];
|
|
13720
13829
|
}
|
|
13721
|
-
export
|
|
13830
|
+
export type QueryRulesDeleteRulesetResponse = AcknowledgedResponseBase;
|
|
13831
|
+
export interface QueryRulesGetRuleRequest extends RequestBase {
|
|
13722
13832
|
ruleset_id: Id;
|
|
13833
|
+
rule_id: Id;
|
|
13723
13834
|
}
|
|
13724
|
-
export type
|
|
13725
|
-
export interface
|
|
13835
|
+
export type QueryRulesGetRuleResponse = QueryRulesQueryRule;
|
|
13836
|
+
export interface QueryRulesGetRulesetRequest extends RequestBase {
|
|
13726
13837
|
ruleset_id: Id;
|
|
13727
13838
|
}
|
|
13728
|
-
export type
|
|
13729
|
-
export interface
|
|
13839
|
+
export type QueryRulesGetRulesetResponse = QueryRulesQueryRuleset;
|
|
13840
|
+
export interface QueryRulesListRulesetsQueryRulesetListItem {
|
|
13730
13841
|
ruleset_id: Id;
|
|
13731
|
-
|
|
13842
|
+
rule_total_count: integer;
|
|
13843
|
+
rule_criteria_types_counts: Record<string, integer>;
|
|
13732
13844
|
}
|
|
13733
|
-
export interface
|
|
13845
|
+
export interface QueryRulesListRulesetsRequest extends RequestBase {
|
|
13734
13846
|
from?: integer;
|
|
13735
13847
|
size?: integer;
|
|
13736
13848
|
}
|
|
13737
|
-
export interface
|
|
13849
|
+
export interface QueryRulesListRulesetsResponse {
|
|
13738
13850
|
count: long;
|
|
13739
|
-
results:
|
|
13851
|
+
results: QueryRulesListRulesetsQueryRulesetListItem[];
|
|
13852
|
+
}
|
|
13853
|
+
export interface QueryRulesPutRuleRequest extends RequestBase {
|
|
13854
|
+
ruleset_id: Id;
|
|
13855
|
+
rule_id: Id;
|
|
13856
|
+
type: QueryRulesQueryRuleType;
|
|
13857
|
+
criteria: QueryRulesQueryRuleCriteria | QueryRulesQueryRuleCriteria[];
|
|
13858
|
+
actions: QueryRulesQueryRuleActions;
|
|
13859
|
+
priority?: integer;
|
|
13860
|
+
}
|
|
13861
|
+
export interface QueryRulesPutRuleResponse {
|
|
13862
|
+
result: Result;
|
|
13740
13863
|
}
|
|
13741
|
-
export interface
|
|
13864
|
+
export interface QueryRulesPutRulesetRequest extends RequestBase {
|
|
13742
13865
|
ruleset_id: Id;
|
|
13743
|
-
rules:
|
|
13866
|
+
rules: QueryRulesQueryRule | QueryRulesQueryRule[];
|
|
13744
13867
|
}
|
|
13745
|
-
export interface
|
|
13868
|
+
export interface QueryRulesPutRulesetResponse {
|
|
13746
13869
|
result: Result;
|
|
13747
13870
|
}
|
|
13748
13871
|
export interface RollupDateHistogramGrouping {
|
|
@@ -13913,7 +14036,7 @@ export interface SearchApplicationSearchApplication {
|
|
|
13913
14036
|
template?: SearchApplicationSearchApplicationTemplate;
|
|
13914
14037
|
}
|
|
13915
14038
|
export interface SearchApplicationSearchApplicationTemplate {
|
|
13916
|
-
script:
|
|
14039
|
+
script: Script | string;
|
|
13917
14040
|
}
|
|
13918
14041
|
export interface SearchApplicationDeleteRequest extends RequestBase {
|
|
13919
14042
|
name: Name;
|
|
@@ -14047,6 +14170,10 @@ export interface SecurityApplicationPrivileges {
|
|
|
14047
14170
|
privileges: string[];
|
|
14048
14171
|
resources: string[];
|
|
14049
14172
|
}
|
|
14173
|
+
export interface SecurityBulkError {
|
|
14174
|
+
count: integer;
|
|
14175
|
+
details: Record<string, ErrorCause>;
|
|
14176
|
+
}
|
|
14050
14177
|
export interface SecurityClusterNode {
|
|
14051
14178
|
name: Name;
|
|
14052
14179
|
}
|
|
@@ -14084,23 +14211,25 @@ export interface SecurityRealmInfo {
|
|
|
14084
14211
|
type: string;
|
|
14085
14212
|
}
|
|
14086
14213
|
export interface SecurityRoleDescriptor {
|
|
14087
|
-
cluster?:
|
|
14214
|
+
cluster?: SecurityClusterPrivilege[];
|
|
14088
14215
|
indices?: SecurityIndicesPrivileges[];
|
|
14089
14216
|
index?: SecurityIndicesPrivileges[];
|
|
14090
14217
|
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege;
|
|
14091
14218
|
applications?: SecurityApplicationPrivileges[];
|
|
14092
14219
|
metadata?: Metadata;
|
|
14093
14220
|
run_as?: string[];
|
|
14221
|
+
description?: string;
|
|
14094
14222
|
transient_metadata?: Record<string, any>;
|
|
14095
14223
|
}
|
|
14096
14224
|
export interface SecurityRoleDescriptorRead {
|
|
14097
|
-
cluster:
|
|
14225
|
+
cluster: SecurityClusterPrivilege[];
|
|
14098
14226
|
indices: SecurityIndicesPrivileges[];
|
|
14099
14227
|
index: SecurityIndicesPrivileges[];
|
|
14100
14228
|
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege;
|
|
14101
14229
|
applications?: SecurityApplicationPrivileges[];
|
|
14102
14230
|
metadata?: Metadata;
|
|
14103
14231
|
run_as?: string[];
|
|
14232
|
+
description?: string;
|
|
14104
14233
|
transient_metadata?: Record<string, any>;
|
|
14105
14234
|
}
|
|
14106
14235
|
export interface SecurityRoleMapping {
|
|
@@ -14118,18 +14247,19 @@ export interface SecurityRoleMappingRule {
|
|
|
14118
14247
|
}
|
|
14119
14248
|
export interface SecurityRoleTemplate {
|
|
14120
14249
|
format?: SecurityTemplateFormat;
|
|
14121
|
-
template: Script;
|
|
14250
|
+
template: Script | string;
|
|
14122
14251
|
}
|
|
14123
14252
|
export type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer;
|
|
14124
|
-
export interface
|
|
14253
|
+
export interface SecurityRoleTemplateQuery {
|
|
14254
|
+
template?: SecurityRoleTemplateScript | SecurityRoleTemplateInlineQuery;
|
|
14255
|
+
}
|
|
14256
|
+
export interface SecurityRoleTemplateScript {
|
|
14257
|
+
source?: SecurityRoleTemplateInlineQuery;
|
|
14258
|
+
id?: Id;
|
|
14259
|
+
params?: Record<string, any>;
|
|
14125
14260
|
lang?: ScriptLanguage;
|
|
14126
14261
|
options?: Record<string, string>;
|
|
14127
|
-
source: SecurityRoleTemplateInlineQuery;
|
|
14128
14262
|
}
|
|
14129
|
-
export interface SecurityRoleTemplateQuery {
|
|
14130
|
-
template?: SecurityRoleTemplateScript;
|
|
14131
|
-
}
|
|
14132
|
-
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId;
|
|
14133
14263
|
export type SecurityTemplateFormat = 'string' | 'json';
|
|
14134
14264
|
export interface SecurityUser {
|
|
14135
14265
|
email?: string | null;
|
|
@@ -14197,6 +14327,25 @@ export interface SecurityAuthenticateToken {
|
|
|
14197
14327
|
name: Name;
|
|
14198
14328
|
type?: string;
|
|
14199
14329
|
}
|
|
14330
|
+
export interface SecurityBulkDeleteRoleRequest extends RequestBase {
|
|
14331
|
+
refresh?: Refresh;
|
|
14332
|
+
names: string[];
|
|
14333
|
+
}
|
|
14334
|
+
export interface SecurityBulkDeleteRoleResponse {
|
|
14335
|
+
deleted?: string[];
|
|
14336
|
+
not_found?: string[];
|
|
14337
|
+
errors?: SecurityBulkError;
|
|
14338
|
+
}
|
|
14339
|
+
export interface SecurityBulkPutRoleRequest extends RequestBase {
|
|
14340
|
+
refresh?: Refresh;
|
|
14341
|
+
roles: Record<string, SecurityRoleDescriptor>;
|
|
14342
|
+
}
|
|
14343
|
+
export interface SecurityBulkPutRoleResponse {
|
|
14344
|
+
created?: string[];
|
|
14345
|
+
updated?: string[];
|
|
14346
|
+
noop?: string[];
|
|
14347
|
+
errors?: SecurityBulkError;
|
|
14348
|
+
}
|
|
14200
14349
|
export interface SecurityChangePasswordRequest extends RequestBase {
|
|
14201
14350
|
username?: Username;
|
|
14202
14351
|
refresh?: Refresh;
|
|
@@ -14596,6 +14745,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
|
|
|
14596
14745
|
indices?: SecurityIndicesPrivileges[];
|
|
14597
14746
|
metadata?: Metadata;
|
|
14598
14747
|
run_as?: string[];
|
|
14748
|
+
description?: string;
|
|
14599
14749
|
transient_metadata?: Record<string, any>;
|
|
14600
14750
|
}
|
|
14601
14751
|
export interface SecurityPutRoleResponse {
|
|
@@ -14682,6 +14832,64 @@ export interface SecurityQueryApiKeysResponse {
|
|
|
14682
14832
|
api_keys: SecurityApiKey[];
|
|
14683
14833
|
aggregations?: Record<AggregateName, SecurityQueryApiKeysApiKeyAggregate>;
|
|
14684
14834
|
}
|
|
14835
|
+
export interface SecurityQueryRoleQueryRole extends SecurityRoleDescriptor {
|
|
14836
|
+
_sort?: SortResults;
|
|
14837
|
+
name: string;
|
|
14838
|
+
}
|
|
14839
|
+
export interface SecurityQueryRoleRequest extends RequestBase {
|
|
14840
|
+
query?: SecurityQueryRoleRoleQueryContainer;
|
|
14841
|
+
from?: integer;
|
|
14842
|
+
sort?: Sort;
|
|
14843
|
+
size?: integer;
|
|
14844
|
+
search_after?: SortResults;
|
|
14845
|
+
}
|
|
14846
|
+
export interface SecurityQueryRoleResponse {
|
|
14847
|
+
total: integer;
|
|
14848
|
+
count: integer;
|
|
14849
|
+
roles: SecurityQueryRoleQueryRole[];
|
|
14850
|
+
}
|
|
14851
|
+
export interface SecurityQueryRoleRoleQueryContainer {
|
|
14852
|
+
bool?: QueryDslBoolQuery;
|
|
14853
|
+
exists?: QueryDslExistsQuery;
|
|
14854
|
+
ids?: QueryDslIdsQuery;
|
|
14855
|
+
match?: Partial<Record<Field, QueryDslMatchQuery | string | float | boolean>>;
|
|
14856
|
+
match_all?: QueryDslMatchAllQuery;
|
|
14857
|
+
prefix?: Partial<Record<Field, QueryDslPrefixQuery | string>>;
|
|
14858
|
+
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
14859
|
+
simple_query_string?: QueryDslSimpleQueryStringQuery;
|
|
14860
|
+
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>;
|
|
14861
|
+
terms?: QueryDslTermsQuery;
|
|
14862
|
+
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>;
|
|
14863
|
+
}
|
|
14864
|
+
export interface SecurityQueryUserQueryUser extends SecurityUser {
|
|
14865
|
+
_sort?: SortResults;
|
|
14866
|
+
}
|
|
14867
|
+
export interface SecurityQueryUserRequest extends RequestBase {
|
|
14868
|
+
with_profile_uid?: boolean;
|
|
14869
|
+
query?: SecurityQueryUserUserQueryContainer;
|
|
14870
|
+
from?: integer;
|
|
14871
|
+
sort?: Sort;
|
|
14872
|
+
size?: integer;
|
|
14873
|
+
search_after?: SortResults;
|
|
14874
|
+
}
|
|
14875
|
+
export interface SecurityQueryUserResponse {
|
|
14876
|
+
total: integer;
|
|
14877
|
+
count: integer;
|
|
14878
|
+
users: SecurityQueryUserQueryUser[];
|
|
14879
|
+
}
|
|
14880
|
+
export interface SecurityQueryUserUserQueryContainer {
|
|
14881
|
+
ids?: QueryDslIdsQuery;
|
|
14882
|
+
bool?: QueryDslBoolQuery;
|
|
14883
|
+
exists?: QueryDslExistsQuery;
|
|
14884
|
+
match?: Partial<Record<Field, QueryDslMatchQuery | string | float | boolean>>;
|
|
14885
|
+
match_all?: QueryDslMatchAllQuery;
|
|
14886
|
+
prefix?: Partial<Record<Field, QueryDslPrefixQuery | string>>;
|
|
14887
|
+
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
14888
|
+
simple_query_string?: QueryDslSimpleQueryStringQuery;
|
|
14889
|
+
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>;
|
|
14890
|
+
terms?: QueryDslTermsQuery;
|
|
14891
|
+
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>;
|
|
14892
|
+
}
|
|
14685
14893
|
export interface SecuritySamlAuthenticateRequest extends RequestBase {
|
|
14686
14894
|
content: string;
|
|
14687
14895
|
ids: Ids;
|
|
@@ -15654,9 +15862,9 @@ export interface TransformGetTransformStatsTransformIndexerStats {
|
|
|
15654
15862
|
export interface TransformGetTransformStatsTransformProgress {
|
|
15655
15863
|
docs_indexed: long;
|
|
15656
15864
|
docs_processed: long;
|
|
15657
|
-
docs_remaining
|
|
15658
|
-
percent_complete
|
|
15659
|
-
total_docs
|
|
15865
|
+
docs_remaining?: long;
|
|
15866
|
+
percent_complete?: double;
|
|
15867
|
+
total_docs?: long;
|
|
15660
15868
|
}
|
|
15661
15869
|
export interface TransformGetTransformStatsTransformStats {
|
|
15662
15870
|
checkpointing: TransformGetTransformStatsCheckpointing;
|