@wix/multilingual 1.0.57 → 1.0.58
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/package.json +3 -3
- package/type-bundles/context.bundle.d.ts +131 -131
- package/type-bundles/index.bundle.d.ts +131 -131
- package/type-bundles/meta.bundle.d.ts +262 -262
|
@@ -5321,7 +5321,7 @@ interface ContentField extends ContentFieldValueOneOf {
|
|
|
5321
5321
|
* Supported values:
|
|
5322
5322
|
* + `USER`: The Wix user.
|
|
5323
5323
|
* + `EXTERNAL_APP`: An external translation app.
|
|
5324
|
-
* + `MACHINE`: Machine
|
|
5324
|
+
* + `MACHINE`: Machine translation service.
|
|
5325
5325
|
*/
|
|
5326
5326
|
updatedBy?: UpdaterIdentity;
|
|
5327
5327
|
/**
|
|
@@ -6808,18 +6808,18 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
|
6808
6808
|
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
6809
6809
|
*/
|
|
6810
6810
|
sort?: Sorting$1[];
|
|
6811
|
-
/** Aggregations
|
|
6811
|
+
/** Aggregations are a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition. */
|
|
6812
6812
|
aggregations?: Aggregation[];
|
|
6813
6813
|
/** Free text to match in searchable fields. */
|
|
6814
6814
|
search?: SearchDetails;
|
|
6815
6815
|
/**
|
|
6816
6816
|
* UTC offset or IANA time zone. Valid values are
|
|
6817
6817
|
* ISO 8601 UTC offsets, such as +02:00 or -06:00,
|
|
6818
|
-
* and IANA time zone IDs, such as Europe/Rome
|
|
6818
|
+
* and IANA time zone IDs, such as Europe/Rome.
|
|
6819
6819
|
*
|
|
6820
6820
|
* Affects all filters and aggregations returned values.
|
|
6821
6821
|
* You may override this behavior in a specific filter by providing
|
|
6822
|
-
* timestamps including time zone.
|
|
6822
|
+
* timestamps including time zone. For example, `"2023-12-20T10:52:34.795Z"`.
|
|
6823
6823
|
*/
|
|
6824
6824
|
timeZone?: string | null;
|
|
6825
6825
|
}
|
|
@@ -6833,25 +6833,25 @@ interface CursorSearchPagingMethodOneOf {
|
|
|
6833
6833
|
cursorPaging?: CursorPaging$1;
|
|
6834
6834
|
}
|
|
6835
6835
|
interface Aggregation extends AggregationKindOneOf {
|
|
6836
|
-
/** Value aggregation */
|
|
6836
|
+
/** Value aggregation. */
|
|
6837
6837
|
value?: ValueAggregation;
|
|
6838
|
-
/** Range aggregation */
|
|
6838
|
+
/** Range aggregation. */
|
|
6839
6839
|
range?: RangeAggregation;
|
|
6840
|
-
/** Scalar aggregation */
|
|
6840
|
+
/** Scalar aggregation. */
|
|
6841
6841
|
scalar?: ScalarAggregation;
|
|
6842
|
-
/** Date histogram aggregation */
|
|
6842
|
+
/** Date histogram aggregation. */
|
|
6843
6843
|
dateHistogram?: DateHistogramAggregation;
|
|
6844
|
-
/** Nested aggregation */
|
|
6844
|
+
/** Nested aggregation. */
|
|
6845
6845
|
nested?: NestedAggregation;
|
|
6846
|
-
/** User-defined name of aggregation, should be unique, will appear in aggregation results */
|
|
6846
|
+
/** User-defined name of aggregation, should be unique, will appear in aggregation results. */
|
|
6847
6847
|
name?: string | null;
|
|
6848
|
-
/** Type of aggregation, client must provide matching aggregation field below */
|
|
6848
|
+
/** Type of aggregation, client must provide matching aggregation field below. */
|
|
6849
6849
|
type?: AggregationType;
|
|
6850
|
-
/** Field to aggregate by, use dot notation to specify json path */
|
|
6850
|
+
/** Field to aggregate by, use dot notation to specify json path. */
|
|
6851
6851
|
fieldPath?: string;
|
|
6852
6852
|
/**
|
|
6853
|
-
*
|
|
6854
|
-
* @deprecated
|
|
6853
|
+
* Deprecated. Use `nested` instead.
|
|
6854
|
+
* @deprecated Deprecated. Use `nested` instead.
|
|
6855
6855
|
* @replacedBy kind.nested
|
|
6856
6856
|
* @targetRemovalDate 2024-03-30
|
|
6857
6857
|
*/
|
|
@@ -6859,96 +6859,96 @@ interface Aggregation extends AggregationKindOneOf {
|
|
|
6859
6859
|
}
|
|
6860
6860
|
/** @oneof */
|
|
6861
6861
|
interface AggregationKindOneOf {
|
|
6862
|
-
/** Value aggregation */
|
|
6862
|
+
/** Value aggregation. */
|
|
6863
6863
|
value?: ValueAggregation;
|
|
6864
|
-
/** Range aggregation */
|
|
6864
|
+
/** Range aggregation. */
|
|
6865
6865
|
range?: RangeAggregation;
|
|
6866
|
-
/** Scalar aggregation */
|
|
6866
|
+
/** Scalar aggregation. */
|
|
6867
6867
|
scalar?: ScalarAggregation;
|
|
6868
|
-
/** Date histogram aggregation */
|
|
6868
|
+
/** Date histogram aggregation. */
|
|
6869
6869
|
dateHistogram?: DateHistogramAggregation;
|
|
6870
|
-
/** Nested aggregation */
|
|
6870
|
+
/** Nested aggregation. */
|
|
6871
6871
|
nested?: NestedAggregation;
|
|
6872
6872
|
}
|
|
6873
6873
|
interface RangeBucket {
|
|
6874
|
-
/** Inclusive lower bound of the range. Required if to is not
|
|
6874
|
+
/** Inclusive lower bound of the range. Required if `to` is not provided. */
|
|
6875
6875
|
from?: number | null;
|
|
6876
|
-
/** Exclusive upper bound of the range. Required if from is not
|
|
6876
|
+
/** Exclusive upper bound of the range. Required if `from` is not provided. */
|
|
6877
6877
|
to?: number | null;
|
|
6878
6878
|
}
|
|
6879
6879
|
declare enum SortType {
|
|
6880
|
-
/**
|
|
6880
|
+
/** Sort by number of matches. */
|
|
6881
6881
|
COUNT = "COUNT",
|
|
6882
|
-
/**
|
|
6882
|
+
/** Sort by value of the field alphabetically. */
|
|
6883
6883
|
VALUE = "VALUE"
|
|
6884
6884
|
}
|
|
6885
6885
|
declare enum SortDirection {
|
|
6886
|
-
/**
|
|
6886
|
+
/** Sort in descending order. */
|
|
6887
6887
|
DESC = "DESC",
|
|
6888
|
-
/**
|
|
6888
|
+
/** Sort in ascending order. */
|
|
6889
6889
|
ASC = "ASC"
|
|
6890
6890
|
}
|
|
6891
6891
|
declare enum MissingValues {
|
|
6892
|
-
/**
|
|
6892
|
+
/** Exclude missing values from the aggregation results. */
|
|
6893
6893
|
EXCLUDE = "EXCLUDE",
|
|
6894
|
-
/**
|
|
6894
|
+
/** Include missing values in the aggregation results. */
|
|
6895
6895
|
INCLUDE = "INCLUDE"
|
|
6896
6896
|
}
|
|
6897
6897
|
interface IncludeMissingValuesOptions {
|
|
6898
|
-
/**
|
|
6898
|
+
/** Specify custom bucket name. Defaults are [string -> "N/A"], [int -> "0"], [bool -> "false"] ... */
|
|
6899
6899
|
addToBucket?: string;
|
|
6900
6900
|
}
|
|
6901
6901
|
declare enum ScalarType {
|
|
6902
6902
|
UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
|
|
6903
|
-
/** Count of distinct values */
|
|
6903
|
+
/** Count of distinct values. */
|
|
6904
6904
|
COUNT_DISTINCT = "COUNT_DISTINCT",
|
|
6905
|
-
/** Minimum value */
|
|
6905
|
+
/** Minimum value. */
|
|
6906
6906
|
MIN = "MIN",
|
|
6907
|
-
/** Maximum value */
|
|
6907
|
+
/** Maximum value. */
|
|
6908
6908
|
MAX = "MAX",
|
|
6909
|
-
/** Sum of values */
|
|
6909
|
+
/** Sum of values. */
|
|
6910
6910
|
SUM = "SUM",
|
|
6911
|
-
/** Average of values */
|
|
6911
|
+
/** Average of values. */
|
|
6912
6912
|
AVG = "AVG"
|
|
6913
6913
|
}
|
|
6914
6914
|
interface ValueAggregation extends ValueAggregationOptionsOneOf {
|
|
6915
|
-
/** Options for including missing values */
|
|
6915
|
+
/** Options for including missing values. */
|
|
6916
6916
|
includeOptions?: IncludeMissingValuesOptions;
|
|
6917
|
-
/**
|
|
6917
|
+
/** Whether to sort by number of matches or value of the field. */
|
|
6918
6918
|
sortType?: SortType;
|
|
6919
|
-
/**
|
|
6919
|
+
/** Whether to sort in ascending or descending order. */
|
|
6920
6920
|
sortDirection?: SortDirection;
|
|
6921
|
-
/** How many aggregations
|
|
6921
|
+
/** How many aggregations to return. Can be between 1 and 250. 10 is the default. */
|
|
6922
6922
|
limit?: number | null;
|
|
6923
|
-
/**
|
|
6923
|
+
/** Whether to include or exclude missing values from the aggregation results. Default: `EXCLUDE`. */
|
|
6924
6924
|
missingValues?: MissingValues;
|
|
6925
6925
|
}
|
|
6926
6926
|
/** @oneof */
|
|
6927
6927
|
interface ValueAggregationOptionsOneOf {
|
|
6928
|
-
/** Options for including missing values */
|
|
6928
|
+
/** Options for including missing values. */
|
|
6929
6929
|
includeOptions?: IncludeMissingValuesOptions;
|
|
6930
6930
|
}
|
|
6931
6931
|
declare enum NestedAggregationType {
|
|
6932
6932
|
UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
|
|
6933
|
-
/** An aggregation where result buckets are dynamically built - one per unique value */
|
|
6933
|
+
/** An aggregation where result buckets are dynamically built - one per unique value. */
|
|
6934
6934
|
VALUE = "VALUE",
|
|
6935
|
-
/** An aggregation, where user can define set of ranges - each representing a bucket */
|
|
6935
|
+
/** An aggregation, where user can define set of ranges - each representing a bucket. */
|
|
6936
6936
|
RANGE = "RANGE",
|
|
6937
|
-
/** A single-value metric aggregation
|
|
6937
|
+
/** A single-value metric aggregation. For example, min, max, sum, avg. */
|
|
6938
6938
|
SCALAR = "SCALAR",
|
|
6939
|
-
/** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
|
|
6939
|
+
/** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.). */
|
|
6940
6940
|
DATE_HISTOGRAM = "DATE_HISTOGRAM"
|
|
6941
6941
|
}
|
|
6942
6942
|
interface RangeAggregation {
|
|
6943
|
-
/** List of range buckets, where during aggregation each entity will be placed in the first bucket
|
|
6943
|
+
/** List of range buckets, where during aggregation each entity will be placed in the first bucket its value falls into, based on the provided range bounds. */
|
|
6944
6944
|
buckets?: RangeBucket[];
|
|
6945
6945
|
}
|
|
6946
6946
|
interface ScalarAggregation {
|
|
6947
|
-
/** Define the operator for the scalar aggregation */
|
|
6947
|
+
/** Define the operator for the scalar aggregation. */
|
|
6948
6948
|
type?: ScalarType;
|
|
6949
6949
|
}
|
|
6950
6950
|
interface DateHistogramAggregation {
|
|
6951
|
-
/** Interval for date histogram aggregation */
|
|
6951
|
+
/** Interval for date histogram aggregation. */
|
|
6952
6952
|
interval?: Interval;
|
|
6953
6953
|
}
|
|
6954
6954
|
declare enum Interval {
|
|
@@ -6969,77 +6969,77 @@ declare enum Interval {
|
|
|
6969
6969
|
SECOND = "SECOND"
|
|
6970
6970
|
}
|
|
6971
6971
|
interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
|
|
6972
|
-
/** Value aggregation */
|
|
6972
|
+
/** Value aggregation. */
|
|
6973
6973
|
value?: ValueAggregation;
|
|
6974
|
-
/** Range aggregation */
|
|
6974
|
+
/** Range aggregation. */
|
|
6975
6975
|
range?: RangeAggregation;
|
|
6976
|
-
/** Scalar aggregation */
|
|
6976
|
+
/** Scalar aggregation. */
|
|
6977
6977
|
scalar?: ScalarAggregation;
|
|
6978
|
-
/** Date histogram aggregation */
|
|
6978
|
+
/** Date histogram aggregation. */
|
|
6979
6979
|
dateHistogram?: DateHistogramAggregation;
|
|
6980
|
-
/** User-defined name of aggregation, should be unique, will appear in aggregation results */
|
|
6980
|
+
/** User-defined name of aggregation, should be unique, will appear in aggregation results. */
|
|
6981
6981
|
name?: string | null;
|
|
6982
|
-
/** Type of aggregation, client must provide matching aggregation field below */
|
|
6982
|
+
/** Type of aggregation, client must provide matching aggregation field below. */
|
|
6983
6983
|
type?: NestedAggregationType;
|
|
6984
|
-
/** Field to aggregate by, use
|
|
6984
|
+
/** Field to aggregate by, use dot notation to specify json path. */
|
|
6985
6985
|
fieldPath?: string;
|
|
6986
6986
|
}
|
|
6987
6987
|
/** @oneof */
|
|
6988
6988
|
interface NestedAggregationItemKindOneOf {
|
|
6989
|
-
/** Value aggregation */
|
|
6989
|
+
/** Value aggregation. */
|
|
6990
6990
|
value?: ValueAggregation;
|
|
6991
|
-
/** Range aggregation */
|
|
6991
|
+
/** Range aggregation. */
|
|
6992
6992
|
range?: RangeAggregation;
|
|
6993
|
-
/** Scalar aggregation */
|
|
6993
|
+
/** Scalar aggregation. */
|
|
6994
6994
|
scalar?: ScalarAggregation;
|
|
6995
|
-
/** Date histogram aggregation */
|
|
6995
|
+
/** Date histogram aggregation. */
|
|
6996
6996
|
dateHistogram?: DateHistogramAggregation;
|
|
6997
6997
|
}
|
|
6998
6998
|
declare enum AggregationType {
|
|
6999
6999
|
UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
|
|
7000
|
-
/** An aggregation where result buckets are dynamically built - one per unique value */
|
|
7000
|
+
/** An aggregation where result buckets are dynamically built - one per unique value. */
|
|
7001
7001
|
VALUE = "VALUE",
|
|
7002
|
-
/** An aggregation, where user can define set of ranges - each representing a bucket */
|
|
7002
|
+
/** An aggregation, where user can define set of ranges - each representing a bucket. */
|
|
7003
7003
|
RANGE = "RANGE",
|
|
7004
|
-
/** A single-value metric aggregation
|
|
7004
|
+
/** A single-value metric aggregation. For example, min, max, sum, avg. */
|
|
7005
7005
|
SCALAR = "SCALAR",
|
|
7006
7006
|
/** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
|
|
7007
7007
|
DATE_HISTOGRAM = "DATE_HISTOGRAM",
|
|
7008
|
-
/** Multi-level aggregation, where each next aggregation is nested within previous one */
|
|
7008
|
+
/** Multi-level aggregation, where each next aggregation is nested within previous one. */
|
|
7009
7009
|
NESTED = "NESTED"
|
|
7010
7010
|
}
|
|
7011
|
-
/** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */
|
|
7011
|
+
/** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one. */
|
|
7012
7012
|
interface NestedAggregation {
|
|
7013
|
-
/** Flattened list of aggregations, where each next aggregation is nested within previous one */
|
|
7013
|
+
/** Flattened list of aggregations, where each next aggregation is nested within previous one. */
|
|
7014
7014
|
nestedAggregations?: NestedAggregationItem[];
|
|
7015
7015
|
}
|
|
7016
7016
|
interface GroupByAggregation extends GroupByAggregationKindOneOf {
|
|
7017
|
-
/** Value aggregation configuration */
|
|
7017
|
+
/** Value aggregation configuration. */
|
|
7018
7018
|
value?: ValueAggregation;
|
|
7019
|
-
/** User-defined name of aggregation, should be unique, will appear in aggregation results */
|
|
7019
|
+
/** User-defined name of aggregation, should be unique, will appear in aggregation results. */
|
|
7020
7020
|
name?: string | null;
|
|
7021
|
-
/** Field to aggregate by */
|
|
7021
|
+
/** Field to aggregate by. */
|
|
7022
7022
|
fieldPath?: string;
|
|
7023
7023
|
}
|
|
7024
7024
|
/** @oneof */
|
|
7025
7025
|
interface GroupByAggregationKindOneOf {
|
|
7026
|
-
/** Value aggregation configuration */
|
|
7026
|
+
/** Value aggregation configuration. */
|
|
7027
7027
|
value?: ValueAggregation;
|
|
7028
7028
|
}
|
|
7029
7029
|
interface SearchDetails {
|
|
7030
|
-
/** Defines how separate search terms in `expression` are combined */
|
|
7030
|
+
/** Defines how separate search terms in `expression` are combined. */
|
|
7031
7031
|
mode?: Mode;
|
|
7032
|
-
/** Search term or expression */
|
|
7032
|
+
/** Search term or expression. */
|
|
7033
7033
|
expression?: string | null;
|
|
7034
|
-
/** Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path */
|
|
7034
|
+
/** Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path. */
|
|
7035
7035
|
fields?: string[];
|
|
7036
|
-
/**
|
|
7036
|
+
/** Whether to use auto fuzzy search (allowing typos by a managed proximity algorithm). */
|
|
7037
7037
|
fuzzy?: boolean;
|
|
7038
7038
|
}
|
|
7039
7039
|
declare enum Mode {
|
|
7040
|
-
/** Any of the search terms must be present */
|
|
7040
|
+
/** Any of the search terms must be present. */
|
|
7041
7041
|
OR = "OR",
|
|
7042
|
-
/** All search terms must be present */
|
|
7042
|
+
/** All search terms must be present. */
|
|
7043
7043
|
AND = "AND"
|
|
7044
7044
|
}
|
|
7045
7045
|
interface SearchContentsResponse {
|
|
@@ -7051,164 +7051,164 @@ interface SearchContentsResponse {
|
|
|
7051
7051
|
aggregationData?: AggregationData;
|
|
7052
7052
|
}
|
|
7053
7053
|
interface AggregationData {
|
|
7054
|
-
/** key = aggregation name (as derived from search request) */
|
|
7054
|
+
/** key = aggregation name (as derived from search request). */
|
|
7055
7055
|
results?: AggregationResults[];
|
|
7056
7056
|
}
|
|
7057
7057
|
interface ValueAggregationResult {
|
|
7058
|
-
/** Value of the field */
|
|
7058
|
+
/** Value of the field. */
|
|
7059
7059
|
value?: string;
|
|
7060
|
-
/** Count of entities with this value */
|
|
7060
|
+
/** Count of entities with this value. */
|
|
7061
7061
|
count?: number;
|
|
7062
7062
|
}
|
|
7063
7063
|
interface RangeAggregationResult {
|
|
7064
|
-
/** Inclusive lower bound of the range */
|
|
7064
|
+
/** Inclusive lower bound of the range. */
|
|
7065
7065
|
from?: number | null;
|
|
7066
|
-
/** Exclusive upper bound of the range */
|
|
7066
|
+
/** Exclusive upper bound of the range. */
|
|
7067
7067
|
to?: number | null;
|
|
7068
|
-
/** Count of entities in this range */
|
|
7068
|
+
/** Count of entities in this range. */
|
|
7069
7069
|
count?: number;
|
|
7070
7070
|
}
|
|
7071
7071
|
interface NestedAggregationResults extends NestedAggregationResultsResultOneOf {
|
|
7072
|
-
/** Value aggregation results */
|
|
7072
|
+
/** Value aggregation results. */
|
|
7073
7073
|
values?: ValueResults;
|
|
7074
|
-
/** Range aggregation results */
|
|
7074
|
+
/** Range aggregation results. */
|
|
7075
7075
|
ranges?: RangeResults;
|
|
7076
|
-
/** Scalar aggregation results */
|
|
7076
|
+
/** Scalar aggregation results. */
|
|
7077
7077
|
scalar?: AggregationResultsScalarResult;
|
|
7078
|
-
/** User-defined name of aggregation, matches the one provided in request */
|
|
7078
|
+
/** User-defined name of aggregation, matches the one provided in request. */
|
|
7079
7079
|
name?: string;
|
|
7080
|
-
/** Type of aggregation that matches result */
|
|
7080
|
+
/** Type of aggregation that matches result. */
|
|
7081
7081
|
type?: AggregationType;
|
|
7082
|
-
/** Field to aggregate by, matches the one provided in request */
|
|
7082
|
+
/** Field to aggregate by, matches the one provided in request. */
|
|
7083
7083
|
fieldPath?: string;
|
|
7084
7084
|
}
|
|
7085
7085
|
/** @oneof */
|
|
7086
7086
|
interface NestedAggregationResultsResultOneOf {
|
|
7087
|
-
/** Value aggregation results */
|
|
7087
|
+
/** Value aggregation results. */
|
|
7088
7088
|
values?: ValueResults;
|
|
7089
|
-
/** Range aggregation results */
|
|
7089
|
+
/** Range aggregation results. */
|
|
7090
7090
|
ranges?: RangeResults;
|
|
7091
|
-
/** Scalar aggregation results */
|
|
7091
|
+
/** Scalar aggregation results. */
|
|
7092
7092
|
scalar?: AggregationResultsScalarResult;
|
|
7093
7093
|
}
|
|
7094
7094
|
interface ValueResults {
|
|
7095
|
-
/** List of value aggregations */
|
|
7095
|
+
/** List of value aggregations. */
|
|
7096
7096
|
results?: ValueAggregationResult[];
|
|
7097
7097
|
}
|
|
7098
7098
|
interface RangeResults {
|
|
7099
|
-
/** List of ranges returned in same order as requested */
|
|
7099
|
+
/** List of ranges returned in same order as requested. */
|
|
7100
7100
|
results?: RangeAggregationResult[];
|
|
7101
7101
|
}
|
|
7102
7102
|
interface AggregationResultsScalarResult {
|
|
7103
|
-
/** Type of scalar aggregation */
|
|
7103
|
+
/** Type of scalar aggregation. */
|
|
7104
7104
|
type?: ScalarType;
|
|
7105
|
-
/** Value of the scalar aggregation */
|
|
7105
|
+
/** Value of the scalar aggregation. */
|
|
7106
7106
|
value?: number;
|
|
7107
7107
|
}
|
|
7108
7108
|
interface NestedValueAggregationResult {
|
|
7109
|
-
/** Value of the field */
|
|
7109
|
+
/** Value of the field. */
|
|
7110
7110
|
value?: string;
|
|
7111
|
-
/** Nested aggregations */
|
|
7111
|
+
/** Nested aggregations. */
|
|
7112
7112
|
nestedResults?: NestedAggregationResults;
|
|
7113
7113
|
}
|
|
7114
7114
|
interface ValueResult {
|
|
7115
|
-
/** Value of the field */
|
|
7115
|
+
/** Value of the field. */
|
|
7116
7116
|
value?: string;
|
|
7117
|
-
/** Count of entities with this value */
|
|
7117
|
+
/** Count of entities with this value. */
|
|
7118
7118
|
count?: number | null;
|
|
7119
7119
|
}
|
|
7120
7120
|
interface RangeResult {
|
|
7121
|
-
/** Inclusive lower bound of the range */
|
|
7121
|
+
/** Inclusive lower bound of the range. */
|
|
7122
7122
|
from?: number | null;
|
|
7123
|
-
/** Exclusive upper bound of the range */
|
|
7123
|
+
/** Exclusive upper bound of the range. */
|
|
7124
7124
|
to?: number | null;
|
|
7125
|
-
/** Count of entities in this range */
|
|
7125
|
+
/** Count of entities in this range. */
|
|
7126
7126
|
count?: number | null;
|
|
7127
7127
|
}
|
|
7128
7128
|
interface ScalarResult {
|
|
7129
|
-
/** Value of the scalar aggregation */
|
|
7129
|
+
/** Value of the scalar aggregation. */
|
|
7130
7130
|
value?: number;
|
|
7131
7131
|
}
|
|
7132
7132
|
interface NestedResultValue extends NestedResultValueResultOneOf {
|
|
7133
|
-
/** Value aggregation result */
|
|
7133
|
+
/** Value aggregation result. */
|
|
7134
7134
|
value?: ValueResult;
|
|
7135
|
-
/** Range aggregation result */
|
|
7135
|
+
/** Range aggregation result. */
|
|
7136
7136
|
range?: RangeResult;
|
|
7137
|
-
/** Scalar aggregation result */
|
|
7137
|
+
/** Scalar aggregation result. */
|
|
7138
7138
|
scalar?: ScalarResult;
|
|
7139
|
-
/** Date histogram aggregation result */
|
|
7139
|
+
/** Date histogram aggregation result. */
|
|
7140
7140
|
dateHistogram?: ValueResult;
|
|
7141
7141
|
}
|
|
7142
7142
|
/** @oneof */
|
|
7143
7143
|
interface NestedResultValueResultOneOf {
|
|
7144
|
-
/** Value aggregation result */
|
|
7144
|
+
/** Value aggregation result. */
|
|
7145
7145
|
value?: ValueResult;
|
|
7146
|
-
/** Range aggregation result */
|
|
7146
|
+
/** Range aggregation result. */
|
|
7147
7147
|
range?: RangeResult;
|
|
7148
|
-
/** Scalar aggregation result */
|
|
7148
|
+
/** Scalar aggregation result. */
|
|
7149
7149
|
scalar?: ScalarResult;
|
|
7150
|
-
/** Date histogram aggregation result */
|
|
7150
|
+
/** Date histogram aggregation result. */
|
|
7151
7151
|
dateHistogram?: ValueResult;
|
|
7152
7152
|
}
|
|
7153
7153
|
interface Results {
|
|
7154
|
-
/** List of nested aggregations */
|
|
7154
|
+
/** List of nested aggregations. */
|
|
7155
7155
|
results?: Record<string, NestedResultValue>;
|
|
7156
7156
|
}
|
|
7157
7157
|
interface DateHistogramResult {
|
|
7158
|
-
/** Date in ISO 8601 format */
|
|
7158
|
+
/** Date in ISO 8601 format. */
|
|
7159
7159
|
value?: string;
|
|
7160
|
-
/** Count of documents in the bucket */
|
|
7160
|
+
/** Count of documents in the bucket. */
|
|
7161
7161
|
count?: number;
|
|
7162
7162
|
}
|
|
7163
7163
|
interface GroupByValueResults {
|
|
7164
|
-
/** List of value aggregations */
|
|
7164
|
+
/** List of value aggregations. */
|
|
7165
7165
|
results?: NestedValueAggregationResult[];
|
|
7166
7166
|
}
|
|
7167
7167
|
interface DateHistogramResults {
|
|
7168
|
-
/** List of date histogram aggregations */
|
|
7168
|
+
/** List of date histogram aggregations. */
|
|
7169
7169
|
results?: DateHistogramResult[];
|
|
7170
7170
|
}
|
|
7171
7171
|
/**
|
|
7172
|
-
* Results of `NESTED` aggregation type in a flattened form
|
|
7173
|
-
*
|
|
7172
|
+
* Results of `NESTED` aggregation type in a flattened form.
|
|
7173
|
+
* Aggregations in resulting array are keyed by requested aggregation `name`.
|
|
7174
7174
|
*/
|
|
7175
7175
|
interface NestedResults {
|
|
7176
|
-
/** List of nested aggregations */
|
|
7176
|
+
/** List of nested aggregations. */
|
|
7177
7177
|
results?: Results[];
|
|
7178
7178
|
}
|
|
7179
7179
|
interface AggregationResults extends AggregationResultsResultOneOf {
|
|
7180
|
-
/** Value aggregation results */
|
|
7180
|
+
/** Value aggregation results. */
|
|
7181
7181
|
values?: ValueResults;
|
|
7182
|
-
/** Range aggregation results */
|
|
7182
|
+
/** Range aggregation results. */
|
|
7183
7183
|
ranges?: RangeResults;
|
|
7184
|
-
/** Scalar aggregation results */
|
|
7184
|
+
/** Scalar aggregation results. */
|
|
7185
7185
|
scalar?: AggregationResultsScalarResult;
|
|
7186
|
-
/** Group by value aggregation results */
|
|
7186
|
+
/** Group by value aggregation results. */
|
|
7187
7187
|
groupedByValue?: GroupByValueResults;
|
|
7188
|
-
/** Date histogram aggregation results */
|
|
7188
|
+
/** Date histogram aggregation results. */
|
|
7189
7189
|
dateHistogram?: DateHistogramResults;
|
|
7190
|
-
/** Nested aggregation results */
|
|
7190
|
+
/** Nested aggregation results. */
|
|
7191
7191
|
nested?: NestedResults;
|
|
7192
|
-
/** User-defined name of aggregation as derived from search request */
|
|
7192
|
+
/** User-defined name of aggregation as derived from search request. */
|
|
7193
7193
|
name?: string;
|
|
7194
|
-
/** Type of aggregation that must match provided kind as derived from search request */
|
|
7194
|
+
/** Type of aggregation that must match provided kind as derived from search request. */
|
|
7195
7195
|
type?: AggregationType;
|
|
7196
|
-
/** Field to aggregate by as derived from search request */
|
|
7196
|
+
/** Field to aggregate by as derived from search request. */
|
|
7197
7197
|
fieldPath?: string;
|
|
7198
7198
|
}
|
|
7199
7199
|
/** @oneof */
|
|
7200
7200
|
interface AggregationResultsResultOneOf {
|
|
7201
|
-
/** Value aggregation results */
|
|
7201
|
+
/** Value aggregation results. */
|
|
7202
7202
|
values?: ValueResults;
|
|
7203
|
-
/** Range aggregation results */
|
|
7203
|
+
/** Range aggregation results. */
|
|
7204
7204
|
ranges?: RangeResults;
|
|
7205
|
-
/** Scalar aggregation results */
|
|
7205
|
+
/** Scalar aggregation results. */
|
|
7206
7206
|
scalar?: AggregationResultsScalarResult;
|
|
7207
|
-
/** Group by value aggregation results */
|
|
7207
|
+
/** Group by value aggregation results. */
|
|
7208
7208
|
groupedByValue?: GroupByValueResults;
|
|
7209
|
-
/** Date histogram aggregation results */
|
|
7209
|
+
/** Date histogram aggregation results. */
|
|
7210
7210
|
dateHistogram?: DateHistogramResults;
|
|
7211
|
-
/** Nested aggregation results */
|
|
7211
|
+
/** Nested aggregation results. */
|
|
7212
7212
|
nested?: NestedResults;
|
|
7213
7213
|
}
|
|
7214
7214
|
interface BulkCreateContentRequest {
|