@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
|
@@ -63,7 +63,7 @@ export interface BulkUpdateAction<TDocument = unknown, TPartialDocument = unknow
|
|
|
63
63
|
detect_noop?: boolean;
|
|
64
64
|
doc?: TPartialDocument;
|
|
65
65
|
doc_as_upsert?: boolean;
|
|
66
|
-
script?: Script;
|
|
66
|
+
script?: Script | string;
|
|
67
67
|
scripted_upsert?: boolean;
|
|
68
68
|
_source?: SearchSourceConfig;
|
|
69
69
|
upsert?: TDocument;
|
|
@@ -431,6 +431,7 @@ export interface HealthReportIlmIndicator extends HealthReportBaseIndicator {
|
|
|
431
431
|
export interface HealthReportIlmIndicatorDetails {
|
|
432
432
|
ilm_status: LifecycleOperationMode;
|
|
433
433
|
policies: long;
|
|
434
|
+
stagnating_indices: integer;
|
|
434
435
|
}
|
|
435
436
|
export interface HealthReportImpact {
|
|
436
437
|
description: string;
|
|
@@ -495,6 +496,7 @@ export interface HealthReportShardsAvailabilityIndicator extends HealthReportBas
|
|
|
495
496
|
}
|
|
496
497
|
export interface HealthReportShardsAvailabilityIndicatorDetails {
|
|
497
498
|
creating_primaries: long;
|
|
499
|
+
creating_replicas: long;
|
|
498
500
|
initializing_primaries: long;
|
|
499
501
|
initializing_replicas: long;
|
|
500
502
|
restarting_primaries: long;
|
|
@@ -521,7 +523,7 @@ export interface HealthReportSlmIndicator extends HealthReportBaseIndicator {
|
|
|
521
523
|
export interface HealthReportSlmIndicatorDetails {
|
|
522
524
|
slm_status: LifecycleOperationMode;
|
|
523
525
|
policies: long;
|
|
524
|
-
unhealthy_policies
|
|
526
|
+
unhealthy_policies?: HealthReportSlmIndicatorUnhealthyPolicies;
|
|
525
527
|
}
|
|
526
528
|
export interface HealthReportSlmIndicatorUnhealthyPolicies {
|
|
527
529
|
count: long;
|
|
@@ -747,7 +749,7 @@ export interface MtermvectorsResponse {
|
|
|
747
749
|
docs: MtermvectorsTermVectorsResult[];
|
|
748
750
|
}
|
|
749
751
|
export interface MtermvectorsTermVectorsResult {
|
|
750
|
-
_id
|
|
752
|
+
_id?: Id;
|
|
751
753
|
_index: IndexName;
|
|
752
754
|
_version?: VersionNumber;
|
|
753
755
|
took?: long;
|
|
@@ -887,7 +889,7 @@ export interface ReindexRequest extends RequestBase {
|
|
|
887
889
|
conflicts?: Conflicts;
|
|
888
890
|
dest: ReindexDestination;
|
|
889
891
|
max_docs?: long;
|
|
890
|
-
script?: Script;
|
|
892
|
+
script?: Script | string;
|
|
891
893
|
size?: long;
|
|
892
894
|
source: ReindexSource;
|
|
893
895
|
};
|
|
@@ -979,7 +981,7 @@ export interface ScriptsPainlessExecuteRequest extends RequestBase {
|
|
|
979
981
|
body?: {
|
|
980
982
|
context?: string;
|
|
981
983
|
context_setup?: ScriptsPainlessExecutePainlessContextSetup;
|
|
982
|
-
script?:
|
|
984
|
+
script?: Script | string;
|
|
983
985
|
};
|
|
984
986
|
}
|
|
985
987
|
export interface ScriptsPainlessExecuteResponse<TResult = unknown> {
|
|
@@ -1280,6 +1282,7 @@ export interface SearchHit<TDocument = unknown> {
|
|
|
1280
1282
|
_node?: string;
|
|
1281
1283
|
_routing?: string;
|
|
1282
1284
|
_source?: TDocument;
|
|
1285
|
+
_rank?: integer;
|
|
1283
1286
|
_seq_no?: SequenceNumber;
|
|
1284
1287
|
_primary_term?: long;
|
|
1285
1288
|
_version?: VersionNumber;
|
|
@@ -1638,7 +1641,7 @@ export interface TermvectorsRequest<TDocument = unknown> extends RequestBase {
|
|
|
1638
1641
|
}
|
|
1639
1642
|
export interface TermvectorsResponse {
|
|
1640
1643
|
found: boolean;
|
|
1641
|
-
_id
|
|
1644
|
+
_id?: Id;
|
|
1642
1645
|
_index: IndexName;
|
|
1643
1646
|
term_vectors?: Record<Field, TermvectorsTermVector>;
|
|
1644
1647
|
took: long;
|
|
@@ -1652,7 +1655,7 @@ export interface TermvectorsTerm {
|
|
|
1652
1655
|
ttf?: integer;
|
|
1653
1656
|
}
|
|
1654
1657
|
export interface TermvectorsTermVector {
|
|
1655
|
-
field_statistics
|
|
1658
|
+
field_statistics?: TermvectorsFieldStatistics;
|
|
1656
1659
|
terms: Record<string, TermvectorsTerm>;
|
|
1657
1660
|
}
|
|
1658
1661
|
export interface TermvectorsToken {
|
|
@@ -1680,7 +1683,7 @@ export interface UpdateRequest<TDocument = unknown, TPartialDocument = unknown>
|
|
|
1680
1683
|
detect_noop?: boolean;
|
|
1681
1684
|
doc?: TPartialDocument;
|
|
1682
1685
|
doc_as_upsert?: boolean;
|
|
1683
|
-
script?: Script;
|
|
1686
|
+
script?: Script | string;
|
|
1684
1687
|
scripted_upsert?: boolean;
|
|
1685
1688
|
_source?: SearchSourceConfig;
|
|
1686
1689
|
upsert?: TDocument;
|
|
@@ -1724,7 +1727,7 @@ export interface UpdateByQueryRequest extends RequestBase {
|
|
|
1724
1727
|
body?: {
|
|
1725
1728
|
max_docs?: long;
|
|
1726
1729
|
query?: QueryDslQueryContainer;
|
|
1727
|
-
script?: Script;
|
|
1730
|
+
script?: Script | string;
|
|
1728
1731
|
slice?: SlicedScroll;
|
|
1729
1732
|
conflicts?: Conflicts;
|
|
1730
1733
|
};
|
|
@@ -1923,9 +1926,10 @@ export interface GeoDistanceSortKeys {
|
|
|
1923
1926
|
ignore_unmapped?: boolean;
|
|
1924
1927
|
order?: SortOrder;
|
|
1925
1928
|
unit?: DistanceUnit;
|
|
1929
|
+
nested?: NestedSortValue;
|
|
1926
1930
|
}
|
|
1927
1931
|
export type GeoDistanceSort = GeoDistanceSortKeys & {
|
|
1928
|
-
[property: string]: GeoLocation | GeoLocation[] | SortMode | GeoDistanceType | boolean | SortOrder | DistanceUnit;
|
|
1932
|
+
[property: string]: GeoLocation | GeoLocation[] | SortMode | GeoDistanceType | boolean | SortOrder | DistanceUnit | NestedSortValue;
|
|
1929
1933
|
};
|
|
1930
1934
|
export type GeoDistanceType = 'arc' | 'plane';
|
|
1931
1935
|
export type GeoHash = string;
|
|
@@ -2004,11 +2008,6 @@ export interface InlineGetKeys<TDocument = unknown> {
|
|
|
2004
2008
|
export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument> & {
|
|
2005
2009
|
[property: string]: any;
|
|
2006
2010
|
};
|
|
2007
|
-
export interface InlineScript extends ScriptBase {
|
|
2008
|
-
lang?: ScriptLanguage;
|
|
2009
|
-
options?: Record<string, string>;
|
|
2010
|
-
source: string;
|
|
2011
|
-
}
|
|
2012
2011
|
export type Ip = string;
|
|
2013
2012
|
export interface KnnQuery extends QueryDslQueryBase {
|
|
2014
2013
|
field: Field;
|
|
@@ -2141,7 +2140,7 @@ export interface QueryVectorBuilder {
|
|
|
2141
2140
|
export interface RRFRetriever extends RetrieverBase {
|
|
2142
2141
|
retrievers: RetrieverContainer[];
|
|
2143
2142
|
rank_constant?: integer;
|
|
2144
|
-
|
|
2143
|
+
rank_window_size?: integer;
|
|
2145
2144
|
}
|
|
2146
2145
|
export interface RankBase {
|
|
2147
2146
|
}
|
|
@@ -2192,24 +2191,27 @@ export interface RetrieverContainer {
|
|
|
2192
2191
|
export type Routing = string;
|
|
2193
2192
|
export interface RrfRank {
|
|
2194
2193
|
rank_constant?: long;
|
|
2195
|
-
|
|
2194
|
+
rank_window_size?: long;
|
|
2196
2195
|
}
|
|
2197
2196
|
export type ScalarValue = long | double | string | boolean | null;
|
|
2198
2197
|
export interface ScoreSort {
|
|
2199
2198
|
order?: SortOrder;
|
|
2200
2199
|
}
|
|
2201
|
-
export
|
|
2202
|
-
|
|
2200
|
+
export interface Script {
|
|
2201
|
+
source?: string;
|
|
2202
|
+
id?: Id;
|
|
2203
2203
|
params?: Record<string, any>;
|
|
2204
|
+
lang?: ScriptLanguage;
|
|
2205
|
+
options?: Record<string, string>;
|
|
2204
2206
|
}
|
|
2205
2207
|
export interface ScriptField {
|
|
2206
|
-
script: Script;
|
|
2208
|
+
script: Script | string;
|
|
2207
2209
|
ignore_failure?: boolean;
|
|
2208
2210
|
}
|
|
2209
2211
|
export type ScriptLanguage = 'painless' | 'expression' | 'mustache' | 'java' | string;
|
|
2210
2212
|
export interface ScriptSort {
|
|
2211
2213
|
order?: SortOrder;
|
|
2212
|
-
script: Script;
|
|
2214
|
+
script: Script | string;
|
|
2213
2215
|
type?: ScriptSortType;
|
|
2214
2216
|
mode?: SortMode;
|
|
2215
2217
|
nested?: NestedSortValue;
|
|
@@ -2335,9 +2337,6 @@ export interface StoredScript {
|
|
|
2335
2337
|
options?: Record<string, string>;
|
|
2336
2338
|
source: string;
|
|
2337
2339
|
}
|
|
2338
|
-
export interface StoredScriptId extends ScriptBase {
|
|
2339
|
-
id: Id;
|
|
2340
|
-
}
|
|
2341
2340
|
export type SuggestMode = 'missing' | 'popular' | 'always';
|
|
2342
2341
|
export type SuggestionName = string;
|
|
2343
2342
|
export interface TaskFailure {
|
|
@@ -2538,7 +2537,7 @@ export interface AggregationsAutoDateHistogramAggregation extends AggregationsBu
|
|
|
2538
2537
|
missing?: DateTime;
|
|
2539
2538
|
offset?: string;
|
|
2540
2539
|
params?: Record<string, any>;
|
|
2541
|
-
script?: Script;
|
|
2540
|
+
script?: Script | string;
|
|
2542
2541
|
time_zone?: TimeZone;
|
|
2543
2542
|
}
|
|
2544
2543
|
export interface AggregationsAverageAggregation extends AggregationsFormatMetricAggregationBase {
|
|
@@ -2594,10 +2593,10 @@ export interface AggregationsBucketPathAggregation {
|
|
|
2594
2593
|
buckets_path?: AggregationsBucketsPath;
|
|
2595
2594
|
}
|
|
2596
2595
|
export interface AggregationsBucketScriptAggregation extends AggregationsPipelineAggregationBase {
|
|
2597
|
-
script?: Script;
|
|
2596
|
+
script?: Script | string;
|
|
2598
2597
|
}
|
|
2599
2598
|
export interface AggregationsBucketSelectorAggregation extends AggregationsPipelineAggregationBase {
|
|
2600
|
-
script?: Script;
|
|
2599
|
+
script?: Script | string;
|
|
2601
2600
|
}
|
|
2602
2601
|
export interface AggregationsBucketSortAggregation {
|
|
2603
2602
|
from?: integer;
|
|
@@ -2607,7 +2606,7 @@ export interface AggregationsBucketSortAggregation {
|
|
|
2607
2606
|
}
|
|
2608
2607
|
export type AggregationsBuckets<TBucket = unknown> = Record<string, TBucket> | TBucket[];
|
|
2609
2608
|
export type AggregationsBucketsPath = string | string[] | Record<string, string>;
|
|
2610
|
-
export type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '
|
|
2609
|
+
export type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '1y';
|
|
2611
2610
|
export interface AggregationsCardinalityAggregate extends AggregationsAggregateBase {
|
|
2612
2611
|
value: long;
|
|
2613
2612
|
}
|
|
@@ -2655,7 +2654,7 @@ export interface AggregationsCompositeAggregationBase {
|
|
|
2655
2654
|
field?: Field;
|
|
2656
2655
|
missing_bucket?: boolean;
|
|
2657
2656
|
missing_order?: AggregationsMissingOrder;
|
|
2658
|
-
script?: Script;
|
|
2657
|
+
script?: Script | string;
|
|
2659
2658
|
value_type?: AggregationsValueType;
|
|
2660
2659
|
order?: SortOrder;
|
|
2661
2660
|
}
|
|
@@ -2715,7 +2714,7 @@ export interface AggregationsDateHistogramAggregation extends AggregationsBucket
|
|
|
2715
2714
|
offset?: Duration;
|
|
2716
2715
|
order?: AggregationsAggregateOrder;
|
|
2717
2716
|
params?: Record<string, any>;
|
|
2718
|
-
script?: Script;
|
|
2717
|
+
script?: Script | string;
|
|
2719
2718
|
time_zone?: TimeZone;
|
|
2720
2719
|
keyed?: boolean;
|
|
2721
2720
|
}
|
|
@@ -2750,7 +2749,7 @@ export interface AggregationsDerivativeAggregation extends AggregationsPipelineA
|
|
|
2750
2749
|
export interface AggregationsDiversifiedSamplerAggregation extends AggregationsBucketAggregationBase {
|
|
2751
2750
|
execution_hint?: AggregationsSamplerAggregationExecutionHint;
|
|
2752
2751
|
max_docs_per_value?: integer;
|
|
2753
|
-
script?: Script;
|
|
2752
|
+
script?: Script | string;
|
|
2754
2753
|
shard_size?: integer;
|
|
2755
2754
|
field?: Field;
|
|
2756
2755
|
}
|
|
@@ -2959,7 +2958,7 @@ export interface AggregationsHistogramAggregation extends AggregationsBucketAggr
|
|
|
2959
2958
|
missing?: double;
|
|
2960
2959
|
offset?: double;
|
|
2961
2960
|
order?: AggregationsAggregateOrder;
|
|
2962
|
-
script?: Script;
|
|
2961
|
+
script?: Script | string;
|
|
2963
2962
|
format?: string;
|
|
2964
2963
|
keyed?: boolean;
|
|
2965
2964
|
}
|
|
@@ -3118,7 +3117,7 @@ export interface AggregationsMedianAbsoluteDeviationAggregation extends Aggregat
|
|
|
3118
3117
|
export interface AggregationsMetricAggregationBase {
|
|
3119
3118
|
field?: Field;
|
|
3120
3119
|
missing?: AggregationsMissing;
|
|
3121
|
-
script?: Script;
|
|
3120
|
+
script?: Script | string;
|
|
3122
3121
|
}
|
|
3123
3122
|
export interface AggregationsMinAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3124
3123
|
}
|
|
@@ -3241,7 +3240,7 @@ export interface AggregationsRangeAggregation extends AggregationsBucketAggregat
|
|
|
3241
3240
|
field?: Field;
|
|
3242
3241
|
missing?: integer;
|
|
3243
3242
|
ranges?: AggregationsAggregationRange[];
|
|
3244
|
-
script?: Script;
|
|
3243
|
+
script?: Script | string;
|
|
3245
3244
|
keyed?: boolean;
|
|
3246
3245
|
format?: string;
|
|
3247
3246
|
}
|
|
@@ -3291,17 +3290,17 @@ export interface AggregationsSamplerAggregation extends AggregationsBucketAggreg
|
|
|
3291
3290
|
}
|
|
3292
3291
|
export type AggregationsSamplerAggregationExecutionHint = 'map' | 'global_ordinals' | 'bytes_hash';
|
|
3293
3292
|
export interface AggregationsScriptedHeuristic {
|
|
3294
|
-
script: Script;
|
|
3293
|
+
script: Script | string;
|
|
3295
3294
|
}
|
|
3296
3295
|
export interface AggregationsScriptedMetricAggregate extends AggregationsAggregateBase {
|
|
3297
3296
|
value: any;
|
|
3298
3297
|
}
|
|
3299
3298
|
export interface AggregationsScriptedMetricAggregation extends AggregationsMetricAggregationBase {
|
|
3300
|
-
combine_script?: Script;
|
|
3301
|
-
init_script?: Script;
|
|
3302
|
-
map_script?: Script;
|
|
3299
|
+
combine_script?: Script | string;
|
|
3300
|
+
init_script?: Script | string;
|
|
3301
|
+
map_script?: Script | string;
|
|
3303
3302
|
params?: Record<string, any>;
|
|
3304
|
-
reduce_script?: Script;
|
|
3303
|
+
reduce_script?: Script | string;
|
|
3305
3304
|
}
|
|
3306
3305
|
export interface AggregationsSerialDifferencingAggregation extends AggregationsPipelineAggregationBase {
|
|
3307
3306
|
lag?: integer;
|
|
@@ -3482,7 +3481,8 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat
|
|
|
3482
3481
|
missing_bucket?: boolean;
|
|
3483
3482
|
value_type?: string;
|
|
3484
3483
|
order?: AggregationsAggregateOrder;
|
|
3485
|
-
script?: Script;
|
|
3484
|
+
script?: Script | string;
|
|
3485
|
+
shard_min_doc_count?: long;
|
|
3486
3486
|
shard_size?: integer;
|
|
3487
3487
|
show_term_doc_count_error?: boolean;
|
|
3488
3488
|
size?: integer;
|
|
@@ -3501,7 +3501,7 @@ export interface AggregationsTermsPartition {
|
|
|
3501
3501
|
}
|
|
3502
3502
|
export interface AggregationsTestPopulation {
|
|
3503
3503
|
field: Field;
|
|
3504
|
-
script?: Script;
|
|
3504
|
+
script?: Script | string;
|
|
3505
3505
|
filter?: QueryDslQueryContainer;
|
|
3506
3506
|
}
|
|
3507
3507
|
export interface AggregationsTopHitsAggregate extends AggregationsAggregateBase {
|
|
@@ -3560,7 +3560,7 @@ export interface AggregationsVariableWidthHistogramAggregation {
|
|
|
3560
3560
|
buckets?: integer;
|
|
3561
3561
|
shard_size?: integer;
|
|
3562
3562
|
initial_buffer?: integer;
|
|
3563
|
-
script?: Script;
|
|
3563
|
+
script?: Script | string;
|
|
3564
3564
|
}
|
|
3565
3565
|
export interface AggregationsVariableWidthHistogramBucketKeys extends AggregationsMultiBucketBase {
|
|
3566
3566
|
min: double;
|
|
@@ -3582,7 +3582,7 @@ export interface AggregationsWeightedAverageAggregation {
|
|
|
3582
3582
|
export interface AggregationsWeightedAverageValue {
|
|
3583
3583
|
field?: Field;
|
|
3584
3584
|
missing?: double;
|
|
3585
|
-
script?: Script;
|
|
3585
|
+
script?: Script | string;
|
|
3586
3586
|
}
|
|
3587
3587
|
export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3588
3588
|
}
|
|
@@ -3620,7 +3620,7 @@ export interface AnalysisCompoundWordTokenFilterBase extends AnalysisTokenFilter
|
|
|
3620
3620
|
export interface AnalysisConditionTokenFilter extends AnalysisTokenFilterBase {
|
|
3621
3621
|
type: 'condition';
|
|
3622
3622
|
filter: string[];
|
|
3623
|
-
script: Script;
|
|
3623
|
+
script: Script | string;
|
|
3624
3624
|
}
|
|
3625
3625
|
export interface AnalysisCustomAnalyzer {
|
|
3626
3626
|
type: 'custom';
|
|
@@ -3942,7 +3942,7 @@ export interface AnalysisPorterStemTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3942
3942
|
}
|
|
3943
3943
|
export interface AnalysisPredicateTokenFilter extends AnalysisTokenFilterBase {
|
|
3944
3944
|
type: 'predicate_token_filter';
|
|
3945
|
-
script: Script;
|
|
3945
|
+
script: Script | string;
|
|
3946
3946
|
}
|
|
3947
3947
|
export interface AnalysisRemoveDuplicatesTokenFilter extends AnalysisTokenFilterBase {
|
|
3948
3948
|
type: 'remove_duplicates';
|
|
@@ -3972,7 +3972,7 @@ export interface AnalysisSnowballAnalyzer {
|
|
|
3972
3972
|
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';
|
|
3973
3973
|
export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
|
|
3974
3974
|
type: 'snowball';
|
|
3975
|
-
language
|
|
3975
|
+
language?: AnalysisSnowballLanguage;
|
|
3976
3976
|
}
|
|
3977
3977
|
export interface AnalysisStandardAnalyzer {
|
|
3978
3978
|
type: 'standard';
|
|
@@ -4180,8 +4180,9 @@ export interface MappingDateRangeProperty extends MappingRangePropertyBase {
|
|
|
4180
4180
|
}
|
|
4181
4181
|
export interface MappingDenseVectorIndexOptions {
|
|
4182
4182
|
type: string;
|
|
4183
|
-
m
|
|
4184
|
-
ef_construction
|
|
4183
|
+
m?: integer;
|
|
4184
|
+
ef_construction?: integer;
|
|
4185
|
+
confidence_interval?: float;
|
|
4185
4186
|
}
|
|
4186
4187
|
export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
|
4187
4188
|
type: 'dense_vector';
|
|
@@ -4208,7 +4209,7 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
|
|
|
4208
4209
|
null_value?: FieldValue;
|
|
4209
4210
|
boost?: double;
|
|
4210
4211
|
coerce?: boolean;
|
|
4211
|
-
script?: Script;
|
|
4212
|
+
script?: Script | string;
|
|
4212
4213
|
on_script_error?: MappingOnScriptError;
|
|
4213
4214
|
ignore_malformed?: boolean;
|
|
4214
4215
|
time_series_metric?: MappingTimeSeriesMetricType;
|
|
@@ -4249,7 +4250,7 @@ export interface MappingFieldMapping {
|
|
|
4249
4250
|
export interface MappingFieldNamesField {
|
|
4250
4251
|
enabled: boolean;
|
|
4251
4252
|
}
|
|
4252
|
-
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';
|
|
4253
|
+
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';
|
|
4253
4254
|
export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
4254
4255
|
boost?: double;
|
|
4255
4256
|
depth_limit?: integer;
|
|
@@ -4276,7 +4277,7 @@ export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4276
4277
|
null_value?: GeoLocation;
|
|
4277
4278
|
index?: boolean;
|
|
4278
4279
|
on_script_error?: MappingOnScriptError;
|
|
4279
|
-
script?: Script;
|
|
4280
|
+
script?: Script | string;
|
|
4280
4281
|
type: 'geo_point';
|
|
4281
4282
|
}
|
|
4282
4283
|
export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
|
|
@@ -4332,7 +4333,7 @@ export interface MappingIpProperty extends MappingDocValuesPropertyBase {
|
|
|
4332
4333
|
ignore_malformed?: boolean;
|
|
4333
4334
|
null_value?: string;
|
|
4334
4335
|
on_script_error?: MappingOnScriptError;
|
|
4335
|
-
script?: Script;
|
|
4336
|
+
script?: Script | string;
|
|
4336
4337
|
time_series_dimension?: boolean;
|
|
4337
4338
|
type: 'ip';
|
|
4338
4339
|
}
|
|
@@ -4349,7 +4350,7 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
|
|
4349
4350
|
eager_global_ordinals?: boolean;
|
|
4350
4351
|
index?: boolean;
|
|
4351
4352
|
index_options?: MappingIndexOptions;
|
|
4352
|
-
script?: Script;
|
|
4353
|
+
script?: Script | string;
|
|
4353
4354
|
on_script_error?: MappingOnScriptError;
|
|
4354
4355
|
normalizer?: string;
|
|
4355
4356
|
norms?: boolean;
|
|
@@ -4387,7 +4388,7 @@ export interface MappingNumberPropertyBase extends MappingDocValuesPropertyBase
|
|
|
4387
4388
|
ignore_malformed?: boolean;
|
|
4388
4389
|
index?: boolean;
|
|
4389
4390
|
on_script_error?: MappingOnScriptError;
|
|
4390
|
-
script?: Script;
|
|
4391
|
+
script?: Script | string;
|
|
4391
4392
|
time_series_metric?: MappingTimeSeriesMetricType;
|
|
4392
4393
|
time_series_dimension?: boolean;
|
|
4393
4394
|
}
|
|
@@ -4406,7 +4407,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4406
4407
|
null_value?: string;
|
|
4407
4408
|
type: 'point';
|
|
4408
4409
|
}
|
|
4409
|
-
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty |
|
|
4410
|
+
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;
|
|
4410
4411
|
export interface MappingPropertyBase {
|
|
4411
4412
|
meta?: Record<string, string>;
|
|
4412
4413
|
properties?: Record<PropertyName, MappingProperty>;
|
|
@@ -4436,7 +4437,7 @@ export interface MappingRuntimeField {
|
|
|
4436
4437
|
input_field?: Field;
|
|
4437
4438
|
target_field?: Field;
|
|
4438
4439
|
target_index?: IndexName;
|
|
4439
|
-
script?: Script;
|
|
4440
|
+
script?: Script | string;
|
|
4440
4441
|
type: MappingRuntimeFieldType;
|
|
4441
4442
|
}
|
|
4442
4443
|
export interface MappingRuntimeFieldFetchFields {
|
|
@@ -4461,6 +4462,11 @@ export interface MappingSearchAsYouTypeProperty extends MappingCorePropertyBase
|
|
|
4461
4462
|
term_vector?: MappingTermVectorOption;
|
|
4462
4463
|
type: 'search_as_you_type';
|
|
4463
4464
|
}
|
|
4465
|
+
export interface MappingSemanticTextProperty {
|
|
4466
|
+
type: 'semantic_text';
|
|
4467
|
+
meta?: Record<string, string>;
|
|
4468
|
+
inference_id: Id;
|
|
4469
|
+
}
|
|
4464
4470
|
export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
|
|
4465
4471
|
coerce?: boolean;
|
|
4466
4472
|
ignore_malformed?: boolean;
|
|
@@ -4588,25 +4594,19 @@ export interface QueryDslCommonTermsQuery extends QueryDslQueryBase {
|
|
|
4588
4594
|
export interface QueryDslConstantScoreQuery extends QueryDslQueryBase {
|
|
4589
4595
|
filter: QueryDslQueryContainer;
|
|
4590
4596
|
}
|
|
4591
|
-
export interface QueryDslDateDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4597
|
+
export interface QueryDslDateDecayFunctionKeys extends QueryDslDecayFunctionBase<DateMath, Duration> {
|
|
4592
4598
|
}
|
|
4593
4599
|
export type QueryDslDateDecayFunction = QueryDslDateDecayFunctionKeys & {
|
|
4594
|
-
[property: string]: QueryDslDecayPlacement
|
|
4600
|
+
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
4595
4601
|
};
|
|
4596
4602
|
export interface QueryDslDateDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<DateMath, Duration> {
|
|
4597
4603
|
}
|
|
4598
|
-
export interface QueryDslDateRangeQuery extends QueryDslRangeQueryBase {
|
|
4599
|
-
gt?: DateMath;
|
|
4600
|
-
gte?: DateMath;
|
|
4601
|
-
lt?: DateMath;
|
|
4602
|
-
lte?: DateMath;
|
|
4603
|
-
from?: DateMath | null;
|
|
4604
|
-
to?: DateMath | null;
|
|
4604
|
+
export interface QueryDslDateRangeQuery extends QueryDslRangeQueryBase<DateMath> {
|
|
4605
4605
|
format?: DateFormat;
|
|
4606
4606
|
time_zone?: TimeZone;
|
|
4607
4607
|
}
|
|
4608
|
-
export type QueryDslDecayFunction = QueryDslDateDecayFunction | QueryDslNumericDecayFunction | QueryDslGeoDecayFunction;
|
|
4609
|
-
export interface QueryDslDecayFunctionBase {
|
|
4608
|
+
export type QueryDslDecayFunction = QueryDslUntypedDecayFunction | QueryDslDateDecayFunction | QueryDslNumericDecayFunction | QueryDslGeoDecayFunction;
|
|
4609
|
+
export interface QueryDslDecayFunctionBase<TOrigin = unknown, TScale = unknown> {
|
|
4610
4610
|
multi_value_mode?: QueryDslMultiValueMode;
|
|
4611
4611
|
}
|
|
4612
4612
|
export interface QueryDslDecayPlacement<TOrigin = unknown, TScale = unknown> {
|
|
@@ -4619,7 +4619,7 @@ export interface QueryDslDisMaxQuery extends QueryDslQueryBase {
|
|
|
4619
4619
|
queries: QueryDslQueryContainer[];
|
|
4620
4620
|
tie_breaker?: double;
|
|
4621
4621
|
}
|
|
4622
|
-
export type QueryDslDistanceFeatureQuery = QueryDslGeoDistanceFeatureQuery | QueryDslDateDistanceFeatureQuery;
|
|
4622
|
+
export type QueryDslDistanceFeatureQuery = QueryDslUntypedDistanceFeatureQuery | QueryDslGeoDistanceFeatureQuery | QueryDslDateDistanceFeatureQuery;
|
|
4623
4623
|
export interface QueryDslDistanceFeatureQueryBase<TOrigin = unknown, TDistance = unknown> extends QueryDslQueryBase {
|
|
4624
4624
|
origin: TOrigin;
|
|
4625
4625
|
pivot: TDistance;
|
|
@@ -4682,10 +4682,10 @@ export interface QueryDslGeoBoundingBoxQueryKeys extends QueryDslQueryBase {
|
|
|
4682
4682
|
export type QueryDslGeoBoundingBoxQuery = QueryDslGeoBoundingBoxQueryKeys & {
|
|
4683
4683
|
[property: string]: GeoBounds | QueryDslGeoExecution | QueryDslGeoValidationMethod | boolean | float | string;
|
|
4684
4684
|
};
|
|
4685
|
-
export interface QueryDslGeoDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4685
|
+
export interface QueryDslGeoDecayFunctionKeys extends QueryDslDecayFunctionBase<GeoLocation, Distance> {
|
|
4686
4686
|
}
|
|
4687
4687
|
export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
|
|
4688
|
-
[property: string]: QueryDslDecayPlacement
|
|
4688
|
+
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
4689
4689
|
};
|
|
4690
4690
|
export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<GeoLocation, Distance> {
|
|
4691
4691
|
}
|
|
@@ -4767,7 +4767,7 @@ export interface QueryDslIntervalsFilter {
|
|
|
4767
4767
|
not_containing?: QueryDslIntervalsContainer;
|
|
4768
4768
|
not_overlapping?: QueryDslIntervalsContainer;
|
|
4769
4769
|
overlapping?: QueryDslIntervalsContainer;
|
|
4770
|
-
script?: Script;
|
|
4770
|
+
script?: Script | string;
|
|
4771
4771
|
}
|
|
4772
4772
|
export interface QueryDslIntervalsFuzzy {
|
|
4773
4773
|
analyzer?: string;
|
|
@@ -4904,18 +4904,12 @@ export interface QueryDslNestedQuery extends QueryDslQueryBase {
|
|
|
4904
4904
|
query: QueryDslQueryContainer;
|
|
4905
4905
|
score_mode?: QueryDslChildScoreMode;
|
|
4906
4906
|
}
|
|
4907
|
-
export interface QueryDslNumberRangeQuery extends QueryDslRangeQueryBase {
|
|
4908
|
-
gt?: double;
|
|
4909
|
-
gte?: double;
|
|
4910
|
-
lt?: double;
|
|
4911
|
-
lte?: double;
|
|
4912
|
-
from?: double | null;
|
|
4913
|
-
to?: double | null;
|
|
4907
|
+
export interface QueryDslNumberRangeQuery extends QueryDslRangeQueryBase<double> {
|
|
4914
4908
|
}
|
|
4915
|
-
export interface QueryDslNumericDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4909
|
+
export interface QueryDslNumericDecayFunctionKeys extends QueryDslDecayFunctionBase<double, double> {
|
|
4916
4910
|
}
|
|
4917
4911
|
export type QueryDslNumericDecayFunction = QueryDslNumericDecayFunctionKeys & {
|
|
4918
|
-
[property: string]: QueryDslDecayPlacement
|
|
4912
|
+
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
4919
4913
|
};
|
|
4920
4914
|
export type QueryDslOperator = 'and' | 'AND' | 'or' | 'OR';
|
|
4921
4915
|
export interface QueryDslParentIdQuery extends QueryDslQueryBase {
|
|
@@ -4989,9 +4983,10 @@ export interface QueryDslQueryContainer {
|
|
|
4989
4983
|
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
4990
4984
|
rank_feature?: QueryDslRankFeatureQuery;
|
|
4991
4985
|
regexp?: Partial<Record<Field, QueryDslRegexpQuery | string>>;
|
|
4992
|
-
|
|
4986
|
+
rule?: QueryDslRuleQuery;
|
|
4993
4987
|
script?: QueryDslScriptQuery;
|
|
4994
4988
|
script_score?: QueryDslScriptScoreQuery;
|
|
4989
|
+
semantic?: QueryDslSemanticQuery;
|
|
4995
4990
|
shape?: QueryDslShapeQuery;
|
|
4996
4991
|
simple_query_string?: QueryDslSimpleQueryStringQuery;
|
|
4997
4992
|
span_containing?: QueryDslSpanContainingQuery;
|
|
@@ -5003,6 +4998,7 @@ export interface QueryDslQueryContainer {
|
|
|
5003
4998
|
span_or?: QueryDslSpanOrQuery;
|
|
5004
4999
|
span_term?: Partial<Record<Field, QueryDslSpanTermQuery | string>>;
|
|
5005
5000
|
span_within?: QueryDslSpanWithinQuery;
|
|
5001
|
+
sparse_vector?: QueryDslSparseVectorQuery;
|
|
5006
5002
|
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>;
|
|
5007
5003
|
terms?: QueryDslTermsQuery;
|
|
5008
5004
|
terms_set?: Partial<Record<Field, QueryDslTermsSetQuery>>;
|
|
@@ -5043,9 +5039,15 @@ export interface QueryDslRandomScoreFunction {
|
|
|
5043
5039
|
field?: Field;
|
|
5044
5040
|
seed?: long | string;
|
|
5045
5041
|
}
|
|
5046
|
-
export type QueryDslRangeQuery = QueryDslDateRangeQuery | QueryDslNumberRangeQuery;
|
|
5047
|
-
export interface QueryDslRangeQueryBase extends QueryDslQueryBase {
|
|
5042
|
+
export type QueryDslRangeQuery = QueryDslUntypedRangeQuery | QueryDslDateRangeQuery | QueryDslNumberRangeQuery | QueryDslTermRangeQuery;
|
|
5043
|
+
export interface QueryDslRangeQueryBase<T = unknown> extends QueryDslQueryBase {
|
|
5048
5044
|
relation?: QueryDslRangeRelation;
|
|
5045
|
+
gt?: T;
|
|
5046
|
+
gte?: T;
|
|
5047
|
+
lt?: T;
|
|
5048
|
+
lte?: T;
|
|
5049
|
+
from?: T | null;
|
|
5050
|
+
to?: T | null;
|
|
5049
5051
|
}
|
|
5050
5052
|
export type QueryDslRangeRelation = 'within' | 'contains' | 'intersects';
|
|
5051
5053
|
export interface QueryDslRankFeatureFunction {
|
|
@@ -5078,19 +5080,23 @@ export interface QueryDslRegexpQuery extends QueryDslQueryBase {
|
|
|
5078
5080
|
}
|
|
5079
5081
|
export interface QueryDslRuleQuery extends QueryDslQueryBase {
|
|
5080
5082
|
organic: QueryDslQueryContainer;
|
|
5081
|
-
|
|
5083
|
+
ruleset_ids: Id[];
|
|
5082
5084
|
match_criteria: any;
|
|
5083
5085
|
}
|
|
5084
5086
|
export interface QueryDslScriptQuery extends QueryDslQueryBase {
|
|
5085
|
-
script: Script;
|
|
5087
|
+
script: Script | string;
|
|
5086
5088
|
}
|
|
5087
5089
|
export interface QueryDslScriptScoreFunction {
|
|
5088
|
-
script: Script;
|
|
5090
|
+
script: Script | string;
|
|
5089
5091
|
}
|
|
5090
5092
|
export interface QueryDslScriptScoreQuery extends QueryDslQueryBase {
|
|
5091
5093
|
min_score?: float;
|
|
5092
5094
|
query: QueryDslQueryContainer;
|
|
5093
|
-
script: Script;
|
|
5095
|
+
script: Script | string;
|
|
5096
|
+
}
|
|
5097
|
+
export interface QueryDslSemanticQuery extends QueryDslQueryBase {
|
|
5098
|
+
field: string;
|
|
5099
|
+
query: string;
|
|
5094
5100
|
}
|
|
5095
5101
|
export interface QueryDslShapeFieldQuery {
|
|
5096
5102
|
indexed_shape?: QueryDslFieldLookup;
|
|
@@ -5170,10 +5176,20 @@ export interface QueryDslSpanWithinQuery extends QueryDslQueryBase {
|
|
|
5170
5176
|
big: QueryDslSpanQuery;
|
|
5171
5177
|
little: QueryDslSpanQuery;
|
|
5172
5178
|
}
|
|
5179
|
+
export interface QueryDslSparseVectorQuery extends QueryDslQueryBase {
|
|
5180
|
+
field: Field;
|
|
5181
|
+
query_vector?: Record<string, float>;
|
|
5182
|
+
inference_id?: Id;
|
|
5183
|
+
query?: string;
|
|
5184
|
+
prune?: boolean;
|
|
5185
|
+
pruning_config?: QueryDslTokenPruningConfig;
|
|
5186
|
+
}
|
|
5173
5187
|
export interface QueryDslTermQuery extends QueryDslQueryBase {
|
|
5174
5188
|
value: FieldValue;
|
|
5175
5189
|
case_insensitive?: boolean;
|
|
5176
5190
|
}
|
|
5191
|
+
export interface QueryDslTermRangeQuery extends QueryDslRangeQueryBase<string> {
|
|
5192
|
+
}
|
|
5177
5193
|
export interface QueryDslTermsLookup {
|
|
5178
5194
|
index: IndexName;
|
|
5179
5195
|
id: Id;
|
|
@@ -5188,7 +5204,7 @@ export type QueryDslTermsQuery = QueryDslTermsQueryKeys & {
|
|
|
5188
5204
|
export type QueryDslTermsQueryField = FieldValue[] | QueryDslTermsLookup;
|
|
5189
5205
|
export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
|
5190
5206
|
minimum_should_match_field?: Field;
|
|
5191
|
-
minimum_should_match_script?: Script;
|
|
5207
|
+
minimum_should_match_script?: Script | string;
|
|
5192
5208
|
terms: string[];
|
|
5193
5209
|
}
|
|
5194
5210
|
export interface QueryDslTextExpansionQuery extends QueryDslQueryBase {
|
|
@@ -5205,6 +5221,17 @@ export interface QueryDslTokenPruningConfig {
|
|
|
5205
5221
|
export interface QueryDslTypeQuery extends QueryDslQueryBase {
|
|
5206
5222
|
value: string;
|
|
5207
5223
|
}
|
|
5224
|
+
export interface QueryDslUntypedDecayFunctionKeys extends QueryDslDecayFunctionBase<any, any> {
|
|
5225
|
+
}
|
|
5226
|
+
export type QueryDslUntypedDecayFunction = QueryDslUntypedDecayFunctionKeys & {
|
|
5227
|
+
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
5228
|
+
};
|
|
5229
|
+
export interface QueryDslUntypedDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<any, any> {
|
|
5230
|
+
}
|
|
5231
|
+
export interface QueryDslUntypedRangeQuery extends QueryDslRangeQueryBase<any> {
|
|
5232
|
+
format?: DateFormat;
|
|
5233
|
+
time_zone?: TimeZone;
|
|
5234
|
+
}
|
|
5208
5235
|
export interface QueryDslWeightedTokensQuery extends QueryDslQueryBase {
|
|
5209
5236
|
tokens: Record<string, float>;
|
|
5210
5237
|
pruning_config?: QueryDslTokenPruningConfig;
|
|
@@ -5424,28 +5451,39 @@ export interface CatAliasesRequest extends CatCatRequestBase {
|
|
|
5424
5451
|
}
|
|
5425
5452
|
export type CatAliasesResponse = CatAliasesAliasesRecord[];
|
|
5426
5453
|
export interface CatAllocationAllocationRecord {
|
|
5427
|
-
shards
|
|
5428
|
-
s
|
|
5429
|
-
'
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5454
|
+
shards: string;
|
|
5455
|
+
s: string;
|
|
5456
|
+
'shards.undesired': string | null;
|
|
5457
|
+
'write_load.forecast': double | null;
|
|
5458
|
+
wlf: double | null;
|
|
5459
|
+
writeLoadForecast: double | null;
|
|
5460
|
+
'disk.indices.forecast': ByteSize | null;
|
|
5461
|
+
dif: ByteSize | null;
|
|
5462
|
+
diskIndicesForecast: ByteSize | null;
|
|
5463
|
+
'disk.indices': ByteSize | null;
|
|
5464
|
+
di: ByteSize | null;
|
|
5465
|
+
diskIndices: ByteSize | null;
|
|
5466
|
+
'disk.used': ByteSize | null;
|
|
5467
|
+
du: ByteSize | null;
|
|
5468
|
+
diskUsed: ByteSize | null;
|
|
5469
|
+
'disk.avail': ByteSize | null;
|
|
5470
|
+
da: ByteSize | null;
|
|
5471
|
+
diskAvail: ByteSize | null;
|
|
5472
|
+
'disk.total': ByteSize | null;
|
|
5473
|
+
dt: ByteSize | null;
|
|
5474
|
+
diskTotal: ByteSize | null;
|
|
5475
|
+
'disk.percent': Percentage | null;
|
|
5476
|
+
dp: Percentage | null;
|
|
5477
|
+
diskPercent: Percentage | null;
|
|
5478
|
+
host: Host | null;
|
|
5479
|
+
h: Host | null;
|
|
5480
|
+
ip: Ip | null;
|
|
5481
|
+
node: string;
|
|
5482
|
+
n: string;
|
|
5483
|
+
'node.role': string | null;
|
|
5484
|
+
r: string | null;
|
|
5485
|
+
role: string | null;
|
|
5486
|
+
nodeRole: string | null;
|
|
5449
5487
|
}
|
|
5450
5488
|
export interface CatAllocationRequest extends CatCatRequestBase {
|
|
5451
5489
|
node_id?: NodeIds;
|
|
@@ -7897,14 +7935,15 @@ export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
|
|
7897
7935
|
}
|
|
7898
7936
|
export interface ConnectorConnector {
|
|
7899
7937
|
api_key_id?: string;
|
|
7938
|
+
api_key_secret_id?: string;
|
|
7900
7939
|
configuration: ConnectorConnectorConfiguration;
|
|
7901
7940
|
custom_scheduling: ConnectorConnectorCustomScheduling;
|
|
7902
7941
|
description?: string;
|
|
7903
|
-
error?: string;
|
|
7942
|
+
error?: string | null;
|
|
7904
7943
|
features?: ConnectorConnectorFeatures;
|
|
7905
7944
|
filtering: ConnectorFilteringConfig[];
|
|
7906
7945
|
id?: Id;
|
|
7907
|
-
index_name?: IndexName;
|
|
7946
|
+
index_name?: IndexName | null;
|
|
7908
7947
|
is_native: boolean;
|
|
7909
7948
|
language?: string;
|
|
7910
7949
|
last_access_control_sync_error?: string;
|
|
@@ -7921,8 +7960,9 @@ export interface ConnectorConnector {
|
|
|
7921
7960
|
name?: string;
|
|
7922
7961
|
pipeline?: ConnectorIngestPipelineParams;
|
|
7923
7962
|
scheduling: ConnectorSchedulingConfiguration;
|
|
7924
|
-
service_type
|
|
7963
|
+
service_type?: string;
|
|
7925
7964
|
status: ConnectorConnectorStatus;
|
|
7965
|
+
sync_cursor?: any;
|
|
7926
7966
|
sync_now: boolean;
|
|
7927
7967
|
}
|
|
7928
7968
|
export interface ConnectorConnectorConfigProperties {
|
|
@@ -7936,19 +7976,18 @@ export interface ConnectorConnectorConfigProperties {
|
|
|
7936
7976
|
placeholder?: string;
|
|
7937
7977
|
required: boolean;
|
|
7938
7978
|
sensitive: boolean;
|
|
7939
|
-
tooltip?: string;
|
|
7940
|
-
type
|
|
7941
|
-
ui_restrictions
|
|
7942
|
-
validations
|
|
7943
|
-
value:
|
|
7979
|
+
tooltip?: string | null;
|
|
7980
|
+
type?: ConnectorConnectorFieldType;
|
|
7981
|
+
ui_restrictions?: string[];
|
|
7982
|
+
validations?: ConnectorValidation[];
|
|
7983
|
+
value: any;
|
|
7944
7984
|
}
|
|
7945
7985
|
export type ConnectorConnectorConfiguration = Record<string, ConnectorConnectorConfigProperties>;
|
|
7946
7986
|
export type ConnectorConnectorCustomScheduling = Record<string, ConnectorCustomScheduling>;
|
|
7947
7987
|
export interface ConnectorConnectorFeatures {
|
|
7948
7988
|
document_level_security?: ConnectorFeatureEnabled;
|
|
7949
|
-
filtering_advanced_config?: boolean;
|
|
7950
|
-
filtering_rules?: boolean;
|
|
7951
7989
|
incremental_sync?: ConnectorFeatureEnabled;
|
|
7990
|
+
native_connector_api_keys?: ConnectorFeatureEnabled;
|
|
7952
7991
|
sync_rules?: ConnectorSyncRulesFeature;
|
|
7953
7992
|
}
|
|
7954
7993
|
export type ConnectorConnectorFieldType = 'str' | 'int' | 'list' | 'bool';
|
|
@@ -8006,7 +8045,7 @@ export interface ConnectorFilteringAdvancedSnippet {
|
|
|
8006
8045
|
}
|
|
8007
8046
|
export interface ConnectorFilteringConfig {
|
|
8008
8047
|
active: ConnectorFilteringRules;
|
|
8009
|
-
domain
|
|
8048
|
+
domain?: string;
|
|
8010
8049
|
draft: ConnectorFilteringRules;
|
|
8011
8050
|
}
|
|
8012
8051
|
export type ConnectorFilteringPolicy = 'exclude' | 'include';
|
|
@@ -8041,7 +8080,7 @@ export interface ConnectorGreaterThanValidation {
|
|
|
8041
8080
|
}
|
|
8042
8081
|
export interface ConnectorIncludedInValidation {
|
|
8043
8082
|
type: 'included_in';
|
|
8044
|
-
constraint:
|
|
8083
|
+
constraint: ScalarValue[];
|
|
8045
8084
|
}
|
|
8046
8085
|
export interface ConnectorIngestPipelineParams {
|
|
8047
8086
|
extract_binary_content: boolean;
|
|
@@ -8055,7 +8094,7 @@ export interface ConnectorLessThanValidation {
|
|
|
8055
8094
|
}
|
|
8056
8095
|
export interface ConnectorListTypeValidation {
|
|
8057
8096
|
type: 'list_type';
|
|
8058
|
-
constraint:
|
|
8097
|
+
constraint: string;
|
|
8059
8098
|
}
|
|
8060
8099
|
export interface ConnectorRegexValidation {
|
|
8061
8100
|
type: 'regex';
|
|
@@ -8068,7 +8107,7 @@ export interface ConnectorSchedulingConfiguration {
|
|
|
8068
8107
|
}
|
|
8069
8108
|
export interface ConnectorSelectOption {
|
|
8070
8109
|
label: string;
|
|
8071
|
-
value:
|
|
8110
|
+
value: ScalarValue;
|
|
8072
8111
|
}
|
|
8073
8112
|
export interface ConnectorSyncJobConnectorReference {
|
|
8074
8113
|
configuration: ConnectorConnectorConfiguration;
|
|
@@ -8078,6 +8117,7 @@ export interface ConnectorSyncJobConnectorReference {
|
|
|
8078
8117
|
language?: string;
|
|
8079
8118
|
pipeline?: ConnectorIngestPipelineParams;
|
|
8080
8119
|
service_type: string;
|
|
8120
|
+
sync_cursor?: any;
|
|
8081
8121
|
}
|
|
8082
8122
|
export type ConnectorSyncJobTriggerMethod = 'on_demand' | 'scheduled';
|
|
8083
8123
|
export type ConnectorSyncJobType = 'full' | 'incremental' | 'access_control';
|
|
@@ -8095,7 +8135,7 @@ export interface ConnectorCheckInResponse {
|
|
|
8095
8135
|
}
|
|
8096
8136
|
export interface ConnectorDeleteRequest extends RequestBase {
|
|
8097
8137
|
connector_id: Id;
|
|
8098
|
-
delete_sync_jobs
|
|
8138
|
+
delete_sync_jobs?: boolean;
|
|
8099
8139
|
}
|
|
8100
8140
|
export type ConnectorDeleteResponse = AcknowledgedResponseBase;
|
|
8101
8141
|
export interface ConnectorGetRequest extends RequestBase {
|
|
@@ -8106,17 +8146,18 @@ export interface ConnectorLastSyncRequest extends RequestBase {
|
|
|
8106
8146
|
connector_id: Id;
|
|
8107
8147
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8108
8148
|
body?: {
|
|
8109
|
-
last_access_control_sync_error?:
|
|
8149
|
+
last_access_control_sync_error?: string;
|
|
8110
8150
|
last_access_control_sync_scheduled_at?: DateTime;
|
|
8111
8151
|
last_access_control_sync_status?: ConnectorSyncStatus;
|
|
8112
8152
|
last_deleted_document_count?: long;
|
|
8113
8153
|
last_incremental_sync_scheduled_at?: DateTime;
|
|
8114
8154
|
last_indexed_document_count?: long;
|
|
8115
|
-
last_seen?:
|
|
8116
|
-
last_sync_error?:
|
|
8155
|
+
last_seen?: DateTime;
|
|
8156
|
+
last_sync_error?: string;
|
|
8117
8157
|
last_sync_scheduled_at?: DateTime;
|
|
8118
8158
|
last_sync_status?: ConnectorSyncStatus;
|
|
8119
8159
|
last_synced?: DateTime;
|
|
8160
|
+
sync_cursor?: any;
|
|
8120
8161
|
};
|
|
8121
8162
|
}
|
|
8122
8163
|
export interface ConnectorLastSyncResponse {
|
|
@@ -8138,7 +8179,7 @@ export interface ConnectorPostRequest extends RequestBase {
|
|
|
8138
8179
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8139
8180
|
body?: {
|
|
8140
8181
|
description?: string;
|
|
8141
|
-
index_name
|
|
8182
|
+
index_name?: IndexName;
|
|
8142
8183
|
is_native?: boolean;
|
|
8143
8184
|
language?: string;
|
|
8144
8185
|
name?: string;
|
|
@@ -8146,14 +8187,15 @@ export interface ConnectorPostRequest extends RequestBase {
|
|
|
8146
8187
|
};
|
|
8147
8188
|
}
|
|
8148
8189
|
export interface ConnectorPostResponse {
|
|
8190
|
+
result: Result;
|
|
8149
8191
|
id: Id;
|
|
8150
8192
|
}
|
|
8151
8193
|
export interface ConnectorPutRequest extends RequestBase {
|
|
8152
|
-
connector_id
|
|
8194
|
+
connector_id?: Id;
|
|
8153
8195
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8154
8196
|
body?: {
|
|
8155
8197
|
description?: string;
|
|
8156
|
-
index_name
|
|
8198
|
+
index_name?: IndexName;
|
|
8157
8199
|
is_native?: boolean;
|
|
8158
8200
|
language?: string;
|
|
8159
8201
|
name?: string;
|
|
@@ -8162,6 +8204,7 @@ export interface ConnectorPutRequest extends RequestBase {
|
|
|
8162
8204
|
}
|
|
8163
8205
|
export interface ConnectorPutResponse {
|
|
8164
8206
|
result: Result;
|
|
8207
|
+
id: Id;
|
|
8165
8208
|
}
|
|
8166
8209
|
export interface ConnectorSyncJobCancelRequest extends RequestBase {
|
|
8167
8210
|
connector_sync_job_id: Id;
|
|
@@ -8182,7 +8225,7 @@ export interface ConnectorSyncJobListRequest extends RequestBase {
|
|
|
8182
8225
|
size?: integer;
|
|
8183
8226
|
status?: ConnectorSyncStatus;
|
|
8184
8227
|
connector_id?: Id;
|
|
8185
|
-
job_type?: ConnectorSyncJobType[];
|
|
8228
|
+
job_type?: ConnectorSyncJobType | ConnectorSyncJobType[];
|
|
8186
8229
|
}
|
|
8187
8230
|
export interface ConnectorSyncJobListResponse {
|
|
8188
8231
|
count: long;
|
|
@@ -8209,8 +8252,8 @@ export interface ConnectorUpdateApiKeyIdRequest extends RequestBase {
|
|
|
8209
8252
|
connector_id: Id;
|
|
8210
8253
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8211
8254
|
body?: {
|
|
8212
|
-
api_key_id?:
|
|
8213
|
-
api_key_secret_id?:
|
|
8255
|
+
api_key_id?: string;
|
|
8256
|
+
api_key_secret_id?: string;
|
|
8214
8257
|
};
|
|
8215
8258
|
}
|
|
8216
8259
|
export interface ConnectorUpdateApiKeyIdResponse {
|
|
@@ -8273,7 +8316,7 @@ export interface ConnectorUpdateNameRequest extends RequestBase {
|
|
|
8273
8316
|
connector_id: Id;
|
|
8274
8317
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8275
8318
|
body?: {
|
|
8276
|
-
name
|
|
8319
|
+
name?: string;
|
|
8277
8320
|
description?: string;
|
|
8278
8321
|
};
|
|
8279
8322
|
}
|
|
@@ -8441,11 +8484,12 @@ export interface EqlHitsEvent<TEvent = unknown> {
|
|
|
8441
8484
|
_index: IndexName;
|
|
8442
8485
|
_id: Id;
|
|
8443
8486
|
_source: TEvent;
|
|
8487
|
+
missing?: boolean;
|
|
8444
8488
|
fields?: Record<Field, any[]>;
|
|
8445
8489
|
}
|
|
8446
8490
|
export interface EqlHitsSequence<TEvent = unknown> {
|
|
8447
8491
|
events: EqlHitsEvent<TEvent>[];
|
|
8448
|
-
join_keys
|
|
8492
|
+
join_keys?: any[];
|
|
8449
8493
|
}
|
|
8450
8494
|
export interface EqlDeleteRequest extends RequestBase {
|
|
8451
8495
|
id: Id;
|
|
@@ -8696,19 +8740,45 @@ export interface GraphExploreResponse {
|
|
|
8696
8740
|
took: long;
|
|
8697
8741
|
vertices: GraphVertex[];
|
|
8698
8742
|
}
|
|
8699
|
-
export
|
|
8700
|
-
|
|
8701
|
-
|
|
8702
|
-
|
|
8703
|
-
|
|
8743
|
+
export interface IlmActions {
|
|
8744
|
+
allocate?: IlmAllocateAction;
|
|
8745
|
+
delete?: IlmDeleteAction;
|
|
8746
|
+
downsample?: IlmDownsampleAction;
|
|
8747
|
+
freeze?: EmptyObject;
|
|
8748
|
+
forcemerge?: IlmForceMergeAction;
|
|
8749
|
+
migrate?: IlmMigrateAction;
|
|
8750
|
+
readonly?: EmptyObject;
|
|
8751
|
+
rollover?: IlmRolloverAction;
|
|
8752
|
+
set_priority?: IlmSetPriorityAction;
|
|
8753
|
+
searchable_snapshot?: IlmSearchableSnapshotAction;
|
|
8754
|
+
shrink?: IlmShrinkAction;
|
|
8755
|
+
unfollow?: EmptyObject;
|
|
8756
|
+
wait_for_snapshot?: IlmWaitForSnapshotAction;
|
|
8757
|
+
}
|
|
8758
|
+
export interface IlmAllocateAction {
|
|
8759
|
+
number_of_replicas?: integer;
|
|
8760
|
+
total_shards_per_node?: integer;
|
|
8761
|
+
include?: Record<string, string>;
|
|
8762
|
+
exclude?: Record<string, string>;
|
|
8763
|
+
require?: Record<string, string>;
|
|
8764
|
+
}
|
|
8765
|
+
export interface IlmDeleteAction {
|
|
8766
|
+
delete_searchable_snapshot?: boolean;
|
|
8767
|
+
}
|
|
8768
|
+
export interface IlmDownsampleAction {
|
|
8769
|
+
fixed_interval: DurationLarge;
|
|
8770
|
+
wait_timeout?: Duration;
|
|
8704
8771
|
}
|
|
8705
|
-
export interface
|
|
8772
|
+
export interface IlmForceMergeAction {
|
|
8706
8773
|
max_num_segments: integer;
|
|
8774
|
+
index_codec?: string;
|
|
8775
|
+
}
|
|
8776
|
+
export interface IlmMigrateAction {
|
|
8777
|
+
enabled?: boolean;
|
|
8707
8778
|
}
|
|
8708
8779
|
export interface IlmPhase {
|
|
8709
8780
|
actions?: IlmActions;
|
|
8710
8781
|
min_age?: Duration | long;
|
|
8711
|
-
configurations?: IlmConfigurations;
|
|
8712
8782
|
}
|
|
8713
8783
|
export interface IlmPhases {
|
|
8714
8784
|
cold?: IlmPhase;
|
|
@@ -8721,8 +8791,32 @@ export interface IlmPolicy {
|
|
|
8721
8791
|
phases: IlmPhases;
|
|
8722
8792
|
_meta?: Metadata;
|
|
8723
8793
|
}
|
|
8724
|
-
export interface
|
|
8725
|
-
|
|
8794
|
+
export interface IlmRolloverAction {
|
|
8795
|
+
max_size?: ByteSize;
|
|
8796
|
+
max_primary_shard_size?: ByteSize;
|
|
8797
|
+
max_age?: Duration;
|
|
8798
|
+
max_docs?: long;
|
|
8799
|
+
max_primary_shard_docs?: long;
|
|
8800
|
+
min_size?: ByteSize;
|
|
8801
|
+
min_primary_shard_size?: ByteSize;
|
|
8802
|
+
min_age?: Duration;
|
|
8803
|
+
min_docs?: long;
|
|
8804
|
+
min_primary_shard_docs?: long;
|
|
8805
|
+
}
|
|
8806
|
+
export interface IlmSearchableSnapshotAction {
|
|
8807
|
+
snapshot_repository: string;
|
|
8808
|
+
force_merge_index?: boolean;
|
|
8809
|
+
}
|
|
8810
|
+
export interface IlmSetPriorityAction {
|
|
8811
|
+
priority?: integer;
|
|
8812
|
+
}
|
|
8813
|
+
export interface IlmShrinkAction {
|
|
8814
|
+
number_of_shards?: integer;
|
|
8815
|
+
max_primary_shard_size?: ByteSize;
|
|
8816
|
+
allow_write_after_shrink?: boolean;
|
|
8817
|
+
}
|
|
8818
|
+
export interface IlmWaitForSnapshotAction {
|
|
8819
|
+
policy: string;
|
|
8726
8820
|
}
|
|
8727
8821
|
export interface IlmDeleteLifecycleRequest extends RequestBase {
|
|
8728
8822
|
name: Name;
|
|
@@ -9135,6 +9229,7 @@ export interface IndicesMappingLimitSettingsNestedObjects {
|
|
|
9135
9229
|
}
|
|
9136
9230
|
export interface IndicesMappingLimitSettingsTotalFields {
|
|
9137
9231
|
limit?: long;
|
|
9232
|
+
ignore_dynamic_beyond_limit?: boolean;
|
|
9138
9233
|
}
|
|
9139
9234
|
export interface IndicesMerge {
|
|
9140
9235
|
scheduler?: IndicesMergeScheduler;
|
|
@@ -9208,8 +9303,8 @@ export interface IndicesSettingsSimilarityLmj {
|
|
|
9208
9303
|
}
|
|
9209
9304
|
export interface IndicesSettingsSimilarityScripted {
|
|
9210
9305
|
type: 'scripted';
|
|
9211
|
-
script: Script;
|
|
9212
|
-
weight_script?: Script;
|
|
9306
|
+
script: Script | string;
|
|
9307
|
+
weight_script?: Script | string;
|
|
9213
9308
|
}
|
|
9214
9309
|
export interface IndicesSlowlogSettings {
|
|
9215
9310
|
level?: string;
|
|
@@ -10417,8 +10512,20 @@ export interface IndicesValidateQueryResponse {
|
|
|
10417
10512
|
export interface InferenceCompletionResult {
|
|
10418
10513
|
result: string;
|
|
10419
10514
|
}
|
|
10515
|
+
export interface InferenceDeleteInferenceEndpointResult extends AcknowledgedResponseBase {
|
|
10516
|
+
pipelines: string[];
|
|
10517
|
+
}
|
|
10420
10518
|
export type InferenceDenseByteVector = byte[];
|
|
10421
10519
|
export type InferenceDenseVector = float[];
|
|
10520
|
+
export interface InferenceInferenceEndpoint {
|
|
10521
|
+
service: string;
|
|
10522
|
+
service_settings: InferenceServiceSettings;
|
|
10523
|
+
task_settings: InferenceTaskSettings;
|
|
10524
|
+
}
|
|
10525
|
+
export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoint {
|
|
10526
|
+
inference_id: string;
|
|
10527
|
+
task_type: InferenceTaskType;
|
|
10528
|
+
}
|
|
10422
10529
|
export interface InferenceInferenceResult {
|
|
10423
10530
|
text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
|
|
10424
10531
|
text_embedding?: InferenceTextEmbeddingResult[];
|
|
@@ -10426,15 +10533,6 @@ export interface InferenceInferenceResult {
|
|
|
10426
10533
|
completion?: InferenceCompletionResult[];
|
|
10427
10534
|
rerank?: InferenceRankedDocument[];
|
|
10428
10535
|
}
|
|
10429
|
-
export interface InferenceModelConfig {
|
|
10430
|
-
service: string;
|
|
10431
|
-
service_settings: InferenceServiceSettings;
|
|
10432
|
-
task_settings: InferenceTaskSettings;
|
|
10433
|
-
}
|
|
10434
|
-
export interface InferenceModelConfigContainer extends InferenceModelConfig {
|
|
10435
|
-
model_id: string;
|
|
10436
|
-
task_type: InferenceTaskType;
|
|
10437
|
-
}
|
|
10438
10536
|
export interface InferenceRankedDocument {
|
|
10439
10537
|
index: integer;
|
|
10440
10538
|
score: float;
|
|
@@ -10453,17 +10551,19 @@ export interface InferenceTextEmbeddingByteResult {
|
|
|
10453
10551
|
export interface InferenceTextEmbeddingResult {
|
|
10454
10552
|
embedding: InferenceDenseVector;
|
|
10455
10553
|
}
|
|
10456
|
-
export interface
|
|
10554
|
+
export interface InferenceDeleteRequest extends RequestBase {
|
|
10457
10555
|
task_type?: InferenceTaskType;
|
|
10458
10556
|
inference_id: Id;
|
|
10557
|
+
dry_run?: boolean;
|
|
10558
|
+
force?: boolean;
|
|
10459
10559
|
}
|
|
10460
|
-
export type
|
|
10461
|
-
export interface
|
|
10560
|
+
export type InferenceDeleteResponse = InferenceDeleteInferenceEndpointResult;
|
|
10561
|
+
export interface InferenceGetRequest extends RequestBase {
|
|
10462
10562
|
task_type?: InferenceTaskType;
|
|
10463
|
-
inference_id
|
|
10563
|
+
inference_id?: Id;
|
|
10464
10564
|
}
|
|
10465
|
-
export interface
|
|
10466
|
-
|
|
10565
|
+
export interface InferenceGetResponse {
|
|
10566
|
+
endpoints: InferenceInferenceEndpointInfo[];
|
|
10467
10567
|
}
|
|
10468
10568
|
export interface InferenceInferenceRequest extends RequestBase {
|
|
10469
10569
|
task_type?: InferenceTaskType;
|
|
@@ -10477,13 +10577,13 @@ export interface InferenceInferenceRequest extends RequestBase {
|
|
|
10477
10577
|
};
|
|
10478
10578
|
}
|
|
10479
10579
|
export type InferenceInferenceResponse = InferenceInferenceResult;
|
|
10480
|
-
export interface
|
|
10580
|
+
export interface InferencePutRequest extends RequestBase {
|
|
10481
10581
|
task_type?: InferenceTaskType;
|
|
10482
10582
|
inference_id: Id;
|
|
10483
|
-
/** @deprecated The use of the 'body' key has been deprecated, use '
|
|
10484
|
-
body?:
|
|
10583
|
+
/** @deprecated The use of the 'body' key has been deprecated, use 'inference_config' instead. */
|
|
10584
|
+
body?: InferenceInferenceEndpoint;
|
|
10485
10585
|
}
|
|
10486
|
-
export type
|
|
10586
|
+
export type InferencePutResponse = InferenceInferenceEndpointInfo;
|
|
10487
10587
|
export interface IngestAppendProcessor extends IngestProcessorBase {
|
|
10488
10588
|
field: Field;
|
|
10489
10589
|
value: any[];
|
|
@@ -10670,41 +10770,41 @@ export interface IngestProcessorBase {
|
|
|
10670
10770
|
tag?: string;
|
|
10671
10771
|
}
|
|
10672
10772
|
export interface IngestProcessorContainer {
|
|
10673
|
-
attachment?: IngestAttachmentProcessor;
|
|
10674
10773
|
append?: IngestAppendProcessor;
|
|
10675
|
-
|
|
10774
|
+
attachment?: IngestAttachmentProcessor;
|
|
10775
|
+
bytes?: IngestBytesProcessor;
|
|
10776
|
+
circle?: IngestCircleProcessor;
|
|
10676
10777
|
convert?: IngestConvertProcessor;
|
|
10778
|
+
csv?: IngestCsvProcessor;
|
|
10677
10779
|
date?: IngestDateProcessor;
|
|
10678
10780
|
date_index_name?: IngestDateIndexNameProcessor;
|
|
10781
|
+
dissect?: IngestDissectProcessor;
|
|
10679
10782
|
dot_expander?: IngestDotExpanderProcessor;
|
|
10783
|
+
drop?: IngestDropProcessor;
|
|
10680
10784
|
enrich?: IngestEnrichProcessor;
|
|
10681
10785
|
fail?: IngestFailProcessor;
|
|
10682
10786
|
foreach?: IngestForeachProcessor;
|
|
10683
|
-
json?: IngestJsonProcessor;
|
|
10684
|
-
user_agent?: IngestUserAgentProcessor;
|
|
10685
|
-
kv?: IngestKeyValueProcessor;
|
|
10686
10787
|
geoip?: IngestGeoIpProcessor;
|
|
10687
10788
|
grok?: IngestGrokProcessor;
|
|
10688
10789
|
gsub?: IngestGsubProcessor;
|
|
10790
|
+
inference?: IngestInferenceProcessor;
|
|
10689
10791
|
join?: IngestJoinProcessor;
|
|
10792
|
+
json?: IngestJsonProcessor;
|
|
10793
|
+
kv?: IngestKeyValueProcessor;
|
|
10690
10794
|
lowercase?: IngestLowercaseProcessor;
|
|
10795
|
+
pipeline?: IngestPipelineProcessor;
|
|
10691
10796
|
remove?: IngestRemoveProcessor;
|
|
10692
10797
|
rename?: IngestRenameProcessor;
|
|
10693
10798
|
reroute?: IngestRerouteProcessor;
|
|
10694
10799
|
script?: IngestScriptProcessor;
|
|
10695
10800
|
set?: IngestSetProcessor;
|
|
10801
|
+
set_security_user?: IngestSetSecurityUserProcessor;
|
|
10696
10802
|
sort?: IngestSortProcessor;
|
|
10697
10803
|
split?: IngestSplitProcessor;
|
|
10698
10804
|
trim?: IngestTrimProcessor;
|
|
10699
10805
|
uppercase?: IngestUppercaseProcessor;
|
|
10700
10806
|
urldecode?: IngestUrlDecodeProcessor;
|
|
10701
|
-
|
|
10702
|
-
dissect?: IngestDissectProcessor;
|
|
10703
|
-
set_security_user?: IngestSetSecurityUserProcessor;
|
|
10704
|
-
pipeline?: IngestPipelineProcessor;
|
|
10705
|
-
drop?: IngestDropProcessor;
|
|
10706
|
-
circle?: IngestCircleProcessor;
|
|
10707
|
-
inference?: IngestInferenceProcessor;
|
|
10807
|
+
user_agent?: IngestUserAgentProcessor;
|
|
10708
10808
|
}
|
|
10709
10809
|
export interface IngestRemoveProcessor extends IngestProcessorBase {
|
|
10710
10810
|
field: Fields;
|
|
@@ -11250,8 +11350,8 @@ export interface MlDatafeedConfig {
|
|
|
11250
11350
|
datafeed_id?: Id;
|
|
11251
11351
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
11252
11352
|
frequency?: Duration;
|
|
11253
|
-
indices?:
|
|
11254
|
-
indexes?:
|
|
11353
|
+
indices?: Indices;
|
|
11354
|
+
indexes?: Indices;
|
|
11255
11355
|
indices_options?: IndicesOptions;
|
|
11256
11356
|
job_id?: Id;
|
|
11257
11357
|
max_empty_searches?: integer;
|
|
@@ -12054,7 +12154,7 @@ export interface MlTrainedModelPrefixStrings {
|
|
|
12054
12154
|
}
|
|
12055
12155
|
export interface MlTrainedModelSizeStats {
|
|
12056
12156
|
model_size_bytes: ByteSize;
|
|
12057
|
-
required_native_memory_bytes:
|
|
12157
|
+
required_native_memory_bytes: ByteSize;
|
|
12058
12158
|
}
|
|
12059
12159
|
export interface MlTrainedModelStats {
|
|
12060
12160
|
deployment_stats?: MlTrainedModelDeploymentStats;
|
|
@@ -12579,14 +12679,14 @@ export interface MlGetRecordsResponse {
|
|
|
12579
12679
|
records: MlAnomaly[];
|
|
12580
12680
|
}
|
|
12581
12681
|
export interface MlGetTrainedModelsRequest extends RequestBase {
|
|
12582
|
-
model_id?:
|
|
12682
|
+
model_id?: Ids;
|
|
12583
12683
|
allow_no_match?: boolean;
|
|
12584
12684
|
decompress_definition?: boolean;
|
|
12585
12685
|
exclude_generated?: boolean;
|
|
12586
12686
|
from?: integer;
|
|
12587
12687
|
include?: MlInclude;
|
|
12588
12688
|
size?: integer;
|
|
12589
|
-
tags?: string;
|
|
12689
|
+
tags?: string | string[];
|
|
12590
12690
|
}
|
|
12591
12691
|
export interface MlGetTrainedModelsResponse {
|
|
12592
12692
|
count: integer;
|
|
@@ -12733,7 +12833,7 @@ export interface MlPutCalendarResponse {
|
|
|
12733
12833
|
}
|
|
12734
12834
|
export interface MlPutCalendarJobRequest extends RequestBase {
|
|
12735
12835
|
calendar_id: Id;
|
|
12736
|
-
job_id:
|
|
12836
|
+
job_id: Ids;
|
|
12737
12837
|
}
|
|
12738
12838
|
export interface MlPutCalendarJobResponse {
|
|
12739
12839
|
calendar_id: Id;
|
|
@@ -14049,55 +14149,81 @@ export interface NodesUsageResponseBase extends NodesNodesResponseBase {
|
|
|
14049
14149
|
cluster_name: Name;
|
|
14050
14150
|
nodes: Record<string, NodesUsageNodeUsage>;
|
|
14051
14151
|
}
|
|
14052
|
-
export interface
|
|
14152
|
+
export interface QueryRulesQueryRule {
|
|
14053
14153
|
rule_id: Id;
|
|
14054
|
-
type:
|
|
14055
|
-
criteria:
|
|
14056
|
-
actions:
|
|
14154
|
+
type: QueryRulesQueryRuleType;
|
|
14155
|
+
criteria: QueryRulesQueryRuleCriteria | QueryRulesQueryRuleCriteria[];
|
|
14156
|
+
actions: QueryRulesQueryRuleActions;
|
|
14157
|
+
priority?: integer;
|
|
14057
14158
|
}
|
|
14058
|
-
export interface
|
|
14159
|
+
export interface QueryRulesQueryRuleActions {
|
|
14059
14160
|
ids?: Id[];
|
|
14060
14161
|
docs?: QueryDslPinnedDoc[];
|
|
14061
14162
|
}
|
|
14062
|
-
export interface
|
|
14063
|
-
type:
|
|
14064
|
-
metadata
|
|
14163
|
+
export interface QueryRulesQueryRuleCriteria {
|
|
14164
|
+
type: QueryRulesQueryRuleCriteriaType;
|
|
14165
|
+
metadata?: string;
|
|
14065
14166
|
values?: any[];
|
|
14066
14167
|
}
|
|
14067
|
-
export type
|
|
14068
|
-
export type
|
|
14069
|
-
export interface
|
|
14168
|
+
export type QueryRulesQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte' | 'always';
|
|
14169
|
+
export type QueryRulesQueryRuleType = 'pinned';
|
|
14170
|
+
export interface QueryRulesQueryRuleset {
|
|
14171
|
+
ruleset_id: Id;
|
|
14172
|
+
rules: QueryRulesQueryRule[];
|
|
14173
|
+
}
|
|
14174
|
+
export interface QueryRulesDeleteRuleRequest extends RequestBase {
|
|
14175
|
+
ruleset_id: Id;
|
|
14176
|
+
rule_id: Id;
|
|
14177
|
+
}
|
|
14178
|
+
export type QueryRulesDeleteRuleResponse = AcknowledgedResponseBase;
|
|
14179
|
+
export interface QueryRulesDeleteRulesetRequest extends RequestBase {
|
|
14070
14180
|
ruleset_id: Id;
|
|
14071
|
-
rules: QueryRulesetQueryRule[];
|
|
14072
14181
|
}
|
|
14073
|
-
export
|
|
14182
|
+
export type QueryRulesDeleteRulesetResponse = AcknowledgedResponseBase;
|
|
14183
|
+
export interface QueryRulesGetRuleRequest extends RequestBase {
|
|
14074
14184
|
ruleset_id: Id;
|
|
14185
|
+
rule_id: Id;
|
|
14075
14186
|
}
|
|
14076
|
-
export type
|
|
14077
|
-
export interface
|
|
14187
|
+
export type QueryRulesGetRuleResponse = QueryRulesQueryRule;
|
|
14188
|
+
export interface QueryRulesGetRulesetRequest extends RequestBase {
|
|
14078
14189
|
ruleset_id: Id;
|
|
14079
14190
|
}
|
|
14080
|
-
export type
|
|
14081
|
-
export interface
|
|
14191
|
+
export type QueryRulesGetRulesetResponse = QueryRulesQueryRuleset;
|
|
14192
|
+
export interface QueryRulesListRulesetsQueryRulesetListItem {
|
|
14082
14193
|
ruleset_id: Id;
|
|
14083
|
-
|
|
14194
|
+
rule_total_count: integer;
|
|
14195
|
+
rule_criteria_types_counts: Record<string, integer>;
|
|
14084
14196
|
}
|
|
14085
|
-
export interface
|
|
14197
|
+
export interface QueryRulesListRulesetsRequest extends RequestBase {
|
|
14086
14198
|
from?: integer;
|
|
14087
14199
|
size?: integer;
|
|
14088
14200
|
}
|
|
14089
|
-
export interface
|
|
14201
|
+
export interface QueryRulesListRulesetsResponse {
|
|
14090
14202
|
count: long;
|
|
14091
|
-
results:
|
|
14203
|
+
results: QueryRulesListRulesetsQueryRulesetListItem[];
|
|
14092
14204
|
}
|
|
14093
|
-
export interface
|
|
14205
|
+
export interface QueryRulesPutRuleRequest extends RequestBase {
|
|
14094
14206
|
ruleset_id: Id;
|
|
14207
|
+
rule_id: Id;
|
|
14095
14208
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
14096
14209
|
body?: {
|
|
14097
|
-
|
|
14210
|
+
type: QueryRulesQueryRuleType;
|
|
14211
|
+
criteria: QueryRulesQueryRuleCriteria | QueryRulesQueryRuleCriteria[];
|
|
14212
|
+
actions: QueryRulesQueryRuleActions;
|
|
14213
|
+
priority?: integer;
|
|
14098
14214
|
};
|
|
14099
14215
|
}
|
|
14100
|
-
export interface
|
|
14216
|
+
export interface QueryRulesPutRuleResponse {
|
|
14217
|
+
result: Result;
|
|
14218
|
+
}
|
|
14219
|
+
export interface QueryRulesPutRulesetRequest extends RequestBase {
|
|
14220
|
+
ruleset_id: Id;
|
|
14221
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
14222
|
+
body?: {
|
|
14223
|
+
rules: QueryRulesQueryRule | QueryRulesQueryRule[];
|
|
14224
|
+
};
|
|
14225
|
+
}
|
|
14226
|
+
export interface QueryRulesPutRulesetResponse {
|
|
14101
14227
|
result: Result;
|
|
14102
14228
|
}
|
|
14103
14229
|
export interface RollupDateHistogramGrouping {
|
|
@@ -14274,7 +14400,7 @@ export interface SearchApplicationSearchApplication {
|
|
|
14274
14400
|
template?: SearchApplicationSearchApplicationTemplate;
|
|
14275
14401
|
}
|
|
14276
14402
|
export interface SearchApplicationSearchApplicationTemplate {
|
|
14277
|
-
script:
|
|
14403
|
+
script: Script | string;
|
|
14278
14404
|
}
|
|
14279
14405
|
export interface SearchApplicationDeleteRequest extends RequestBase {
|
|
14280
14406
|
name: Name;
|
|
@@ -14415,6 +14541,10 @@ export interface SecurityApplicationPrivileges {
|
|
|
14415
14541
|
privileges: string[];
|
|
14416
14542
|
resources: string[];
|
|
14417
14543
|
}
|
|
14544
|
+
export interface SecurityBulkError {
|
|
14545
|
+
count: integer;
|
|
14546
|
+
details: Record<string, ErrorCause>;
|
|
14547
|
+
}
|
|
14418
14548
|
export interface SecurityClusterNode {
|
|
14419
14549
|
name: Name;
|
|
14420
14550
|
}
|
|
@@ -14452,23 +14582,25 @@ export interface SecurityRealmInfo {
|
|
|
14452
14582
|
type: string;
|
|
14453
14583
|
}
|
|
14454
14584
|
export interface SecurityRoleDescriptor {
|
|
14455
|
-
cluster?:
|
|
14585
|
+
cluster?: SecurityClusterPrivilege[];
|
|
14456
14586
|
indices?: SecurityIndicesPrivileges[];
|
|
14457
14587
|
index?: SecurityIndicesPrivileges[];
|
|
14458
14588
|
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege;
|
|
14459
14589
|
applications?: SecurityApplicationPrivileges[];
|
|
14460
14590
|
metadata?: Metadata;
|
|
14461
14591
|
run_as?: string[];
|
|
14592
|
+
description?: string;
|
|
14462
14593
|
transient_metadata?: Record<string, any>;
|
|
14463
14594
|
}
|
|
14464
14595
|
export interface SecurityRoleDescriptorRead {
|
|
14465
|
-
cluster:
|
|
14596
|
+
cluster: SecurityClusterPrivilege[];
|
|
14466
14597
|
indices: SecurityIndicesPrivileges[];
|
|
14467
14598
|
index: SecurityIndicesPrivileges[];
|
|
14468
14599
|
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege;
|
|
14469
14600
|
applications?: SecurityApplicationPrivileges[];
|
|
14470
14601
|
metadata?: Metadata;
|
|
14471
14602
|
run_as?: string[];
|
|
14603
|
+
description?: string;
|
|
14472
14604
|
transient_metadata?: Record<string, any>;
|
|
14473
14605
|
}
|
|
14474
14606
|
export interface SecurityRoleMapping {
|
|
@@ -14486,18 +14618,19 @@ export interface SecurityRoleMappingRule {
|
|
|
14486
14618
|
}
|
|
14487
14619
|
export interface SecurityRoleTemplate {
|
|
14488
14620
|
format?: SecurityTemplateFormat;
|
|
14489
|
-
template: Script;
|
|
14621
|
+
template: Script | string;
|
|
14490
14622
|
}
|
|
14491
14623
|
export type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer;
|
|
14492
|
-
export interface
|
|
14624
|
+
export interface SecurityRoleTemplateQuery {
|
|
14625
|
+
template?: SecurityRoleTemplateScript | SecurityRoleTemplateInlineQuery;
|
|
14626
|
+
}
|
|
14627
|
+
export interface SecurityRoleTemplateScript {
|
|
14628
|
+
source?: SecurityRoleTemplateInlineQuery;
|
|
14629
|
+
id?: Id;
|
|
14630
|
+
params?: Record<string, any>;
|
|
14493
14631
|
lang?: ScriptLanguage;
|
|
14494
14632
|
options?: Record<string, string>;
|
|
14495
|
-
source: SecurityRoleTemplateInlineQuery;
|
|
14496
14633
|
}
|
|
14497
|
-
export interface SecurityRoleTemplateQuery {
|
|
14498
|
-
template?: SecurityRoleTemplateScript;
|
|
14499
|
-
}
|
|
14500
|
-
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId;
|
|
14501
14634
|
export type SecurityTemplateFormat = 'string' | 'json';
|
|
14502
14635
|
export interface SecurityUser {
|
|
14503
14636
|
email?: string | null;
|
|
@@ -14568,6 +14701,31 @@ export interface SecurityAuthenticateToken {
|
|
|
14568
14701
|
name: Name;
|
|
14569
14702
|
type?: string;
|
|
14570
14703
|
}
|
|
14704
|
+
export interface SecurityBulkDeleteRoleRequest extends RequestBase {
|
|
14705
|
+
refresh?: Refresh;
|
|
14706
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
14707
|
+
body?: {
|
|
14708
|
+
names: string[];
|
|
14709
|
+
};
|
|
14710
|
+
}
|
|
14711
|
+
export interface SecurityBulkDeleteRoleResponse {
|
|
14712
|
+
deleted?: string[];
|
|
14713
|
+
not_found?: string[];
|
|
14714
|
+
errors?: SecurityBulkError;
|
|
14715
|
+
}
|
|
14716
|
+
export interface SecurityBulkPutRoleRequest extends RequestBase {
|
|
14717
|
+
refresh?: Refresh;
|
|
14718
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
14719
|
+
body?: {
|
|
14720
|
+
roles: Record<string, SecurityRoleDescriptor>;
|
|
14721
|
+
};
|
|
14722
|
+
}
|
|
14723
|
+
export interface SecurityBulkPutRoleResponse {
|
|
14724
|
+
created?: string[];
|
|
14725
|
+
updated?: string[];
|
|
14726
|
+
noop?: string[];
|
|
14727
|
+
errors?: SecurityBulkError;
|
|
14728
|
+
}
|
|
14571
14729
|
export interface SecurityChangePasswordRequest extends RequestBase {
|
|
14572
14730
|
username?: Username;
|
|
14573
14731
|
refresh?: Refresh;
|
|
@@ -14994,6 +15152,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
|
|
|
14994
15152
|
indices?: SecurityIndicesPrivileges[];
|
|
14995
15153
|
metadata?: Metadata;
|
|
14996
15154
|
run_as?: string[];
|
|
15155
|
+
description?: string;
|
|
14997
15156
|
transient_metadata?: Record<string, any>;
|
|
14998
15157
|
};
|
|
14999
15158
|
}
|
|
@@ -15091,6 +15250,70 @@ export interface SecurityQueryApiKeysResponse {
|
|
|
15091
15250
|
api_keys: SecurityApiKey[];
|
|
15092
15251
|
aggregations?: Record<AggregateName, SecurityQueryApiKeysApiKeyAggregate>;
|
|
15093
15252
|
}
|
|
15253
|
+
export interface SecurityQueryRoleQueryRole extends SecurityRoleDescriptor {
|
|
15254
|
+
_sort?: SortResults;
|
|
15255
|
+
name: string;
|
|
15256
|
+
}
|
|
15257
|
+
export interface SecurityQueryRoleRequest extends RequestBase {
|
|
15258
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15259
|
+
body?: {
|
|
15260
|
+
query?: SecurityQueryRoleRoleQueryContainer;
|
|
15261
|
+
from?: integer;
|
|
15262
|
+
sort?: Sort;
|
|
15263
|
+
size?: integer;
|
|
15264
|
+
search_after?: SortResults;
|
|
15265
|
+
};
|
|
15266
|
+
}
|
|
15267
|
+
export interface SecurityQueryRoleResponse {
|
|
15268
|
+
total: integer;
|
|
15269
|
+
count: integer;
|
|
15270
|
+
roles: SecurityQueryRoleQueryRole[];
|
|
15271
|
+
}
|
|
15272
|
+
export interface SecurityQueryRoleRoleQueryContainer {
|
|
15273
|
+
bool?: QueryDslBoolQuery;
|
|
15274
|
+
exists?: QueryDslExistsQuery;
|
|
15275
|
+
ids?: QueryDslIdsQuery;
|
|
15276
|
+
match?: Partial<Record<Field, QueryDslMatchQuery | string | float | boolean>>;
|
|
15277
|
+
match_all?: QueryDslMatchAllQuery;
|
|
15278
|
+
prefix?: Partial<Record<Field, QueryDslPrefixQuery | string>>;
|
|
15279
|
+
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
15280
|
+
simple_query_string?: QueryDslSimpleQueryStringQuery;
|
|
15281
|
+
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>;
|
|
15282
|
+
terms?: QueryDslTermsQuery;
|
|
15283
|
+
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>;
|
|
15284
|
+
}
|
|
15285
|
+
export interface SecurityQueryUserQueryUser extends SecurityUser {
|
|
15286
|
+
_sort?: SortResults;
|
|
15287
|
+
}
|
|
15288
|
+
export interface SecurityQueryUserRequest extends RequestBase {
|
|
15289
|
+
with_profile_uid?: boolean;
|
|
15290
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15291
|
+
body?: {
|
|
15292
|
+
query?: SecurityQueryUserUserQueryContainer;
|
|
15293
|
+
from?: integer;
|
|
15294
|
+
sort?: Sort;
|
|
15295
|
+
size?: integer;
|
|
15296
|
+
search_after?: SortResults;
|
|
15297
|
+
};
|
|
15298
|
+
}
|
|
15299
|
+
export interface SecurityQueryUserResponse {
|
|
15300
|
+
total: integer;
|
|
15301
|
+
count: integer;
|
|
15302
|
+
users: SecurityQueryUserQueryUser[];
|
|
15303
|
+
}
|
|
15304
|
+
export interface SecurityQueryUserUserQueryContainer {
|
|
15305
|
+
ids?: QueryDslIdsQuery;
|
|
15306
|
+
bool?: QueryDslBoolQuery;
|
|
15307
|
+
exists?: QueryDslExistsQuery;
|
|
15308
|
+
match?: Partial<Record<Field, QueryDslMatchQuery | string | float | boolean>>;
|
|
15309
|
+
match_all?: QueryDslMatchAllQuery;
|
|
15310
|
+
prefix?: Partial<Record<Field, QueryDslPrefixQuery | string>>;
|
|
15311
|
+
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
15312
|
+
simple_query_string?: QueryDslSimpleQueryStringQuery;
|
|
15313
|
+
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>;
|
|
15314
|
+
terms?: QueryDslTermsQuery;
|
|
15315
|
+
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>;
|
|
15316
|
+
}
|
|
15094
15317
|
export interface SecuritySamlAuthenticateRequest extends RequestBase {
|
|
15095
15318
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15096
15319
|
body?: {
|
|
@@ -16122,9 +16345,9 @@ export interface TransformGetTransformStatsTransformIndexerStats {
|
|
|
16122
16345
|
export interface TransformGetTransformStatsTransformProgress {
|
|
16123
16346
|
docs_indexed: long;
|
|
16124
16347
|
docs_processed: long;
|
|
16125
|
-
docs_remaining
|
|
16126
|
-
percent_complete
|
|
16127
|
-
total_docs
|
|
16348
|
+
docs_remaining?: long;
|
|
16349
|
+
percent_complete?: double;
|
|
16350
|
+
total_docs?: long;
|
|
16128
16351
|
}
|
|
16129
16352
|
export interface TransformGetTransformStatsTransformStats {
|
|
16130
16353
|
checkpointing: TransformGetTransformStatsCheckpointing;
|