@wix/categories 1.0.66 → 1.0.67

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/categories",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -21,7 +21,7 @@
21
21
  "type-bundles"
22
22
  ],
23
23
  "dependencies": {
24
- "@wix/categories_categories": "1.0.42"
24
+ "@wix/categories_categories": "1.0.43"
25
25
  },
26
26
  "devDependencies": {
27
27
  "glob": "^10.4.1",
@@ -46,5 +46,5 @@
46
46
  "fqdn": ""
47
47
  }
48
48
  },
49
- "falconPackageHash": "e0815e88fad038abee98b4b5de2fb28255bcfda0d220d48c21e4bf42"
49
+ "falconPackageHash": "28b0851e3c2359873fd358fa10bb7588de4ceaca84412988028b79df"
50
50
  }
@@ -2036,6 +2036,7 @@ interface CreateCategoryRequest {
2036
2036
  fields?: SingleEntityOpsRequestedFields[];
2037
2037
  }
2038
2038
  declare enum SingleEntityOpsRequestedFields {
2039
+ /** Not implemented. */
2039
2040
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
2040
2041
  BREADCRUMBS_INFO = "BREADCRUMBS_INFO",
2041
2042
  DESCRIPTION = "DESCRIPTION",
@@ -2121,7 +2122,9 @@ interface Sorting {
2121
2122
  order?: SortOrder;
2122
2123
  }
2123
2124
  declare enum SortOrder {
2125
+ /** Ascending order. */
2124
2126
  ASC = "ASC",
2127
+ /** Descending order. */
2125
2128
  DESC = "DESC"
2126
2129
  }
2127
2130
  interface CursorPaging {
@@ -2136,6 +2139,7 @@ interface CursorPaging {
2136
2139
  cursor?: string | null;
2137
2140
  }
2138
2141
  declare enum RequestedFields {
2142
+ /** Not implemented. */
2139
2143
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
2140
2144
  BREADCRUMBS_INFO = "BREADCRUMBS_INFO"
2141
2145
  }
@@ -2268,21 +2272,21 @@ interface RangeBucket {
2268
2272
  to?: number | null;
2269
2273
  }
2270
2274
  declare enum SortType {
2271
- /** Should sort by number of matches */
2275
+ /** Sort by number of matches. */
2272
2276
  COUNT = "COUNT",
2273
- /** Should sort by value of the field alphabetically */
2277
+ /** Sort alphabetically by field value. */
2274
2278
  VALUE = "VALUE"
2275
2279
  }
2276
2280
  declare enum SortDirection {
2277
- /** Should sort in descending order */
2281
+ /** Sort in descending order. */
2278
2282
  DESC = "DESC",
2279
- /** Should sort in ascending order */
2283
+ /** Sort in ascending order. */
2280
2284
  ASC = "ASC"
2281
2285
  }
2282
2286
  declare enum MissingValues {
2283
- /** Should missing values be excluded from the aggregation results */
2287
+ /** Exclude missing values from the aggregation results. */
2284
2288
  EXCLUDE = "EXCLUDE",
2285
- /** Should missing values be included in the aggregation results */
2289
+ /** Included missing values in the aggregation results. */
2286
2290
  INCLUDE = "INCLUDE"
2287
2291
  }
2288
2292
  interface IncludeMissingValuesOptions {
@@ -2291,27 +2295,30 @@ interface IncludeMissingValuesOptions {
2291
2295
  }
2292
2296
  declare enum ScalarType {
2293
2297
  UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
2294
- /** Count of distinct values */
2298
+ /** Count of distinct values. */
2295
2299
  COUNT_DISTINCT = "COUNT_DISTINCT",
2296
- /** Minimum value */
2300
+ /** Minimum value. */
2297
2301
  MIN = "MIN",
2298
- /** Maximum value */
2302
+ /** Maximum value. */
2299
2303
  MAX = "MAX",
2300
- /** Sum of values */
2304
+ /** Sum of values. */
2301
2305
  SUM = "SUM",
2302
- /** Average of values */
2306
+ /** Average of values. */
2303
2307
  AVG = "AVG"
2304
2308
  }
2305
2309
  interface ValueAggregation extends ValueAggregationOptionsOneOf {
2306
2310
  /** Options for including missing values */
2307
2311
  includeOptions?: IncludeMissingValuesOptions;
2308
- /** Should sort by number of matches or value of the field */
2312
+ /** Type of sort to perform. */
2309
2313
  sortType?: SortType;
2310
- /** Should sort in ascending or descending order */
2314
+ /** Direction to sort in. */
2311
2315
  sortDirection?: SortDirection;
2312
2316
  /** How many aggregations would you like to return? Can be between 1 and 250. 10 is the default. */
2313
2317
  limit?: number | null;
2314
- /** Should missing values be included or excluded from the aggregation results. Default is EXCLUDE */
2318
+ /**
2319
+ * Whether missing values are included in the aggregation results.
2320
+ * Default: `EXCLUDE`
2321
+ */
2315
2322
  missingValues?: MissingValues;
2316
2323
  }
2317
2324
  /** @oneof */
@@ -2320,14 +2327,15 @@ interface ValueAggregationOptionsOneOf {
2320
2327
  includeOptions?: IncludeMissingValuesOptions;
2321
2328
  }
2322
2329
  declare enum NestedAggregationType {
2330
+ /** Unknown aggregation type. */
2323
2331
  UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
2324
- /** An aggregation where result buckets are dynamically built - one per unique value */
2332
+ /** An aggregation where result buckets are dynamically built - one per unique value. */
2325
2333
  VALUE = "VALUE",
2326
- /** An aggregation, where user can define set of ranges - each representing a bucket */
2334
+ /** An aggregation, where user can define set of ranges - each representing a bucket. */
2327
2335
  RANGE = "RANGE",
2328
- /** A single-value metric aggregation - e.g. min, max, sum, avg */
2336
+ /** A single-value metric aggregation - such as min, max, sum, and avg. */
2329
2337
  SCALAR = "SCALAR",
2330
- /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
2338
+ /** An aggregation, where result buckets are dynamically built - one per time interval such as hour, day, and week. */
2331
2339
  DATE_HISTOGRAM = "DATE_HISTOGRAM"
2332
2340
  }
2333
2341
  interface RangeAggregation {
@@ -2370,7 +2378,7 @@ interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
2370
2378
  dateHistogram?: DateHistogramAggregation;
2371
2379
  /** User-defined name of aggregation, should be unique, will appear in aggregation results */
2372
2380
  name?: string | null;
2373
- /** Type of aggregation, client must provide matching aggregation field below */
2381
+ /** Type of aggregation client must provide matching aggregation field below */
2374
2382
  type?: NestedAggregationType;
2375
2383
  /** Field to aggregate by, use dont notation to specify json path */
2376
2384
  fieldPath?: string;
@@ -2388,15 +2396,15 @@ interface NestedAggregationItemKindOneOf {
2388
2396
  }
2389
2397
  declare enum AggregationType {
2390
2398
  UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
2391
- /** An aggregation where result buckets are dynamically built - one per unique value */
2399
+ /** An aggregation where result buckets are dynamically built - one per unique value. */
2392
2400
  VALUE = "VALUE",
2393
- /** An aggregation, where user can define set of ranges - each representing a bucket */
2401
+ /** An aggregation, where user can define set of ranges - each representing a bucket. */
2394
2402
  RANGE = "RANGE",
2395
- /** A single-value metric aggregation - e.g. min, max, sum, avg */
2403
+ /** A single-value metric aggregation - such as min, max, sum, and avg. */
2396
2404
  SCALAR = "SCALAR",
2397
- /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
2405
+ /** An aggregation, where result buckets are dynamically built - one per time interval such as hour, day, and week. */
2398
2406
  DATE_HISTOGRAM = "DATE_HISTOGRAM",
2399
- /** Multi-level aggregation, where each next aggregation is nested within previous one */
2407
+ /** Multi-level aggregation, where each next aggregation is nested within the previous one. */
2400
2408
  NESTED = "NESTED"
2401
2409
  }
2402
2410
  /** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */
@@ -2405,13 +2413,7 @@ interface NestedAggregation {
2405
2413
  nestedAggregations?: NestedAggregationItem[];
2406
2414
  }
2407
2415
  interface SearchDetails {
2408
- /**
2409
- * Defines how separate search terms in `expression` are combined.
2410
- *
2411
- * Supported values:
2412
- * + `OR` - Any of the search terms must be present
2413
- * + `AND` - All search terms must be present
2414
- */
2416
+ /** Defines how separate search terms in `expression` are combined. */
2415
2417
  mode?: Mode;
2416
2418
  /** Search term or expression. */
2417
2419
  expression?: string | null;
@@ -2425,9 +2427,9 @@ interface SearchDetails {
2425
2427
  fuzzy?: boolean;
2426
2428
  }
2427
2429
  declare enum Mode {
2428
- /** Any of the search terms must be present */
2430
+ /** Any of the search terms must be present. */
2429
2431
  OR = "OR",
2430
- /** All search terms must be present */
2432
+ /** All search terms must be present. */
2431
2433
  AND = "AND"
2432
2434
  }
2433
2435
  interface SearchCategoriesResponse {
@@ -2036,6 +2036,7 @@ interface CreateCategoryRequest {
2036
2036
  fields?: SingleEntityOpsRequestedFields[];
2037
2037
  }
2038
2038
  declare enum SingleEntityOpsRequestedFields {
2039
+ /** Not implemented. */
2039
2040
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
2040
2041
  BREADCRUMBS_INFO = "BREADCRUMBS_INFO",
2041
2042
  DESCRIPTION = "DESCRIPTION",
@@ -2121,7 +2122,9 @@ interface Sorting {
2121
2122
  order?: SortOrder;
2122
2123
  }
2123
2124
  declare enum SortOrder {
2125
+ /** Ascending order. */
2124
2126
  ASC = "ASC",
2127
+ /** Descending order. */
2125
2128
  DESC = "DESC"
2126
2129
  }
2127
2130
  interface CursorPaging {
@@ -2136,6 +2139,7 @@ interface CursorPaging {
2136
2139
  cursor?: string | null;
2137
2140
  }
2138
2141
  declare enum RequestedFields {
2142
+ /** Not implemented. */
2139
2143
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
2140
2144
  BREADCRUMBS_INFO = "BREADCRUMBS_INFO"
2141
2145
  }
@@ -2268,21 +2272,21 @@ interface RangeBucket {
2268
2272
  to?: number | null;
2269
2273
  }
2270
2274
  declare enum SortType {
2271
- /** Should sort by number of matches */
2275
+ /** Sort by number of matches. */
2272
2276
  COUNT = "COUNT",
2273
- /** Should sort by value of the field alphabetically */
2277
+ /** Sort alphabetically by field value. */
2274
2278
  VALUE = "VALUE"
2275
2279
  }
2276
2280
  declare enum SortDirection {
2277
- /** Should sort in descending order */
2281
+ /** Sort in descending order. */
2278
2282
  DESC = "DESC",
2279
- /** Should sort in ascending order */
2283
+ /** Sort in ascending order. */
2280
2284
  ASC = "ASC"
2281
2285
  }
2282
2286
  declare enum MissingValues {
2283
- /** Should missing values be excluded from the aggregation results */
2287
+ /** Exclude missing values from the aggregation results. */
2284
2288
  EXCLUDE = "EXCLUDE",
2285
- /** Should missing values be included in the aggregation results */
2289
+ /** Included missing values in the aggregation results. */
2286
2290
  INCLUDE = "INCLUDE"
2287
2291
  }
2288
2292
  interface IncludeMissingValuesOptions {
@@ -2291,27 +2295,30 @@ interface IncludeMissingValuesOptions {
2291
2295
  }
2292
2296
  declare enum ScalarType {
2293
2297
  UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
2294
- /** Count of distinct values */
2298
+ /** Count of distinct values. */
2295
2299
  COUNT_DISTINCT = "COUNT_DISTINCT",
2296
- /** Minimum value */
2300
+ /** Minimum value. */
2297
2301
  MIN = "MIN",
2298
- /** Maximum value */
2302
+ /** Maximum value. */
2299
2303
  MAX = "MAX",
2300
- /** Sum of values */
2304
+ /** Sum of values. */
2301
2305
  SUM = "SUM",
2302
- /** Average of values */
2306
+ /** Average of values. */
2303
2307
  AVG = "AVG"
2304
2308
  }
2305
2309
  interface ValueAggregation extends ValueAggregationOptionsOneOf {
2306
2310
  /** Options for including missing values */
2307
2311
  includeOptions?: IncludeMissingValuesOptions;
2308
- /** Should sort by number of matches or value of the field */
2312
+ /** Type of sort to perform. */
2309
2313
  sortType?: SortType;
2310
- /** Should sort in ascending or descending order */
2314
+ /** Direction to sort in. */
2311
2315
  sortDirection?: SortDirection;
2312
2316
  /** How many aggregations would you like to return? Can be between 1 and 250. 10 is the default. */
2313
2317
  limit?: number | null;
2314
- /** Should missing values be included or excluded from the aggregation results. Default is EXCLUDE */
2318
+ /**
2319
+ * Whether missing values are included in the aggregation results.
2320
+ * Default: `EXCLUDE`
2321
+ */
2315
2322
  missingValues?: MissingValues;
2316
2323
  }
2317
2324
  /** @oneof */
@@ -2320,14 +2327,15 @@ interface ValueAggregationOptionsOneOf {
2320
2327
  includeOptions?: IncludeMissingValuesOptions;
2321
2328
  }
2322
2329
  declare enum NestedAggregationType {
2330
+ /** Unknown aggregation type. */
2323
2331
  UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
2324
- /** An aggregation where result buckets are dynamically built - one per unique value */
2332
+ /** An aggregation where result buckets are dynamically built - one per unique value. */
2325
2333
  VALUE = "VALUE",
2326
- /** An aggregation, where user can define set of ranges - each representing a bucket */
2334
+ /** An aggregation, where user can define set of ranges - each representing a bucket. */
2327
2335
  RANGE = "RANGE",
2328
- /** A single-value metric aggregation - e.g. min, max, sum, avg */
2336
+ /** A single-value metric aggregation - such as min, max, sum, and avg. */
2329
2337
  SCALAR = "SCALAR",
2330
- /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
2338
+ /** An aggregation, where result buckets are dynamically built - one per time interval such as hour, day, and week. */
2331
2339
  DATE_HISTOGRAM = "DATE_HISTOGRAM"
2332
2340
  }
2333
2341
  interface RangeAggregation {
@@ -2370,7 +2378,7 @@ interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
2370
2378
  dateHistogram?: DateHistogramAggregation;
2371
2379
  /** User-defined name of aggregation, should be unique, will appear in aggregation results */
2372
2380
  name?: string | null;
2373
- /** Type of aggregation, client must provide matching aggregation field below */
2381
+ /** Type of aggregation client must provide matching aggregation field below */
2374
2382
  type?: NestedAggregationType;
2375
2383
  /** Field to aggregate by, use dont notation to specify json path */
2376
2384
  fieldPath?: string;
@@ -2388,15 +2396,15 @@ interface NestedAggregationItemKindOneOf {
2388
2396
  }
2389
2397
  declare enum AggregationType {
2390
2398
  UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
2391
- /** An aggregation where result buckets are dynamically built - one per unique value */
2399
+ /** An aggregation where result buckets are dynamically built - one per unique value. */
2392
2400
  VALUE = "VALUE",
2393
- /** An aggregation, where user can define set of ranges - each representing a bucket */
2401
+ /** An aggregation, where user can define set of ranges - each representing a bucket. */
2394
2402
  RANGE = "RANGE",
2395
- /** A single-value metric aggregation - e.g. min, max, sum, avg */
2403
+ /** A single-value metric aggregation - such as min, max, sum, and avg. */
2396
2404
  SCALAR = "SCALAR",
2397
- /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
2405
+ /** An aggregation, where result buckets are dynamically built - one per time interval such as hour, day, and week. */
2398
2406
  DATE_HISTOGRAM = "DATE_HISTOGRAM",
2399
- /** Multi-level aggregation, where each next aggregation is nested within previous one */
2407
+ /** Multi-level aggregation, where each next aggregation is nested within the previous one. */
2400
2408
  NESTED = "NESTED"
2401
2409
  }
2402
2410
  /** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */
@@ -2405,13 +2413,7 @@ interface NestedAggregation {
2405
2413
  nestedAggregations?: NestedAggregationItem[];
2406
2414
  }
2407
2415
  interface SearchDetails {
2408
- /**
2409
- * Defines how separate search terms in `expression` are combined.
2410
- *
2411
- * Supported values:
2412
- * + `OR` - Any of the search terms must be present
2413
- * + `AND` - All search terms must be present
2414
- */
2416
+ /** Defines how separate search terms in `expression` are combined. */
2415
2417
  mode?: Mode;
2416
2418
  /** Search term or expression. */
2417
2419
  expression?: string | null;
@@ -2425,9 +2427,9 @@ interface SearchDetails {
2425
2427
  fuzzy?: boolean;
2426
2428
  }
2427
2429
  declare enum Mode {
2428
- /** Any of the search terms must be present */
2430
+ /** Any of the search terms must be present. */
2429
2431
  OR = "OR",
2430
- /** All search terms must be present */
2432
+ /** All search terms must be present. */
2431
2433
  AND = "AND"
2432
2434
  }
2433
2435
  interface SearchCategoriesResponse {
@@ -1406,6 +1406,7 @@ interface CreateCategoryRequest$1 {
1406
1406
  fields?: SingleEntityOpsRequestedFields$1[];
1407
1407
  }
1408
1408
  declare enum SingleEntityOpsRequestedFields$1 {
1409
+ /** Not implemented. */
1409
1410
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
1410
1411
  BREADCRUMBS_INFO = "BREADCRUMBS_INFO",
1411
1412
  DESCRIPTION = "DESCRIPTION",
@@ -1491,7 +1492,9 @@ interface Sorting$1 {
1491
1492
  order?: SortOrder$1;
1492
1493
  }
1493
1494
  declare enum SortOrder$1 {
1495
+ /** Ascending order. */
1494
1496
  ASC = "ASC",
1497
+ /** Descending order. */
1495
1498
  DESC = "DESC"
1496
1499
  }
1497
1500
  interface CursorPaging$1 {
@@ -1506,6 +1509,7 @@ interface CursorPaging$1 {
1506
1509
  cursor?: string | null;
1507
1510
  }
1508
1511
  declare enum RequestedFields$1 {
1512
+ /** Not implemented. */
1509
1513
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
1510
1514
  BREADCRUMBS_INFO = "BREADCRUMBS_INFO"
1511
1515
  }
@@ -1622,21 +1626,21 @@ interface RangeBucket$1 {
1622
1626
  to?: number | null;
1623
1627
  }
1624
1628
  declare enum SortType$1 {
1625
- /** Should sort by number of matches */
1629
+ /** Sort by number of matches. */
1626
1630
  COUNT = "COUNT",
1627
- /** Should sort by value of the field alphabetically */
1631
+ /** Sort alphabetically by field value. */
1628
1632
  VALUE = "VALUE"
1629
1633
  }
1630
1634
  declare enum SortDirection$1 {
1631
- /** Should sort in descending order */
1635
+ /** Sort in descending order. */
1632
1636
  DESC = "DESC",
1633
- /** Should sort in ascending order */
1637
+ /** Sort in ascending order. */
1634
1638
  ASC = "ASC"
1635
1639
  }
1636
1640
  declare enum MissingValues$1 {
1637
- /** Should missing values be excluded from the aggregation results */
1641
+ /** Exclude missing values from the aggregation results. */
1638
1642
  EXCLUDE = "EXCLUDE",
1639
- /** Should missing values be included in the aggregation results */
1643
+ /** Included missing values in the aggregation results. */
1640
1644
  INCLUDE = "INCLUDE"
1641
1645
  }
1642
1646
  interface IncludeMissingValuesOptions$1 {
@@ -1645,27 +1649,30 @@ interface IncludeMissingValuesOptions$1 {
1645
1649
  }
1646
1650
  declare enum ScalarType$1 {
1647
1651
  UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
1648
- /** Count of distinct values */
1652
+ /** Count of distinct values. */
1649
1653
  COUNT_DISTINCT = "COUNT_DISTINCT",
1650
- /** Minimum value */
1654
+ /** Minimum value. */
1651
1655
  MIN = "MIN",
1652
- /** Maximum value */
1656
+ /** Maximum value. */
1653
1657
  MAX = "MAX",
1654
- /** Sum of values */
1658
+ /** Sum of values. */
1655
1659
  SUM = "SUM",
1656
- /** Average of values */
1660
+ /** Average of values. */
1657
1661
  AVG = "AVG"
1658
1662
  }
1659
1663
  interface ValueAggregation$1 extends ValueAggregationOptionsOneOf$1 {
1660
1664
  /** Options for including missing values */
1661
1665
  includeOptions?: IncludeMissingValuesOptions$1;
1662
- /** Should sort by number of matches or value of the field */
1666
+ /** Type of sort to perform. */
1663
1667
  sortType?: SortType$1;
1664
- /** Should sort in ascending or descending order */
1668
+ /** Direction to sort in. */
1665
1669
  sortDirection?: SortDirection$1;
1666
1670
  /** How many aggregations would you like to return? Can be between 1 and 250. 10 is the default. */
1667
1671
  limit?: number | null;
1668
- /** Should missing values be included or excluded from the aggregation results. Default is EXCLUDE */
1672
+ /**
1673
+ * Whether missing values are included in the aggregation results.
1674
+ * Default: `EXCLUDE`
1675
+ */
1669
1676
  missingValues?: MissingValues$1;
1670
1677
  }
1671
1678
  /** @oneof */
@@ -1674,14 +1681,15 @@ interface ValueAggregationOptionsOneOf$1 {
1674
1681
  includeOptions?: IncludeMissingValuesOptions$1;
1675
1682
  }
1676
1683
  declare enum NestedAggregationType$1 {
1684
+ /** Unknown aggregation type. */
1677
1685
  UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
1678
- /** An aggregation where result buckets are dynamically built - one per unique value */
1686
+ /** An aggregation where result buckets are dynamically built - one per unique value. */
1679
1687
  VALUE = "VALUE",
1680
- /** An aggregation, where user can define set of ranges - each representing a bucket */
1688
+ /** An aggregation, where user can define set of ranges - each representing a bucket. */
1681
1689
  RANGE = "RANGE",
1682
- /** A single-value metric aggregation - e.g. min, max, sum, avg */
1690
+ /** A single-value metric aggregation - such as min, max, sum, and avg. */
1683
1691
  SCALAR = "SCALAR",
1684
- /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
1692
+ /** An aggregation, where result buckets are dynamically built - one per time interval such as hour, day, and week. */
1685
1693
  DATE_HISTOGRAM = "DATE_HISTOGRAM"
1686
1694
  }
1687
1695
  interface RangeAggregation$1 {
@@ -1724,7 +1732,7 @@ interface NestedAggregationItem$1 extends NestedAggregationItemKindOneOf$1 {
1724
1732
  dateHistogram?: DateHistogramAggregation$1;
1725
1733
  /** User-defined name of aggregation, should be unique, will appear in aggregation results */
1726
1734
  name?: string | null;
1727
- /** Type of aggregation, client must provide matching aggregation field below */
1735
+ /** Type of aggregation client must provide matching aggregation field below */
1728
1736
  type?: NestedAggregationType$1;
1729
1737
  /** Field to aggregate by, use dont notation to specify json path */
1730
1738
  fieldPath?: string;
@@ -1742,15 +1750,15 @@ interface NestedAggregationItemKindOneOf$1 {
1742
1750
  }
1743
1751
  declare enum AggregationType$1 {
1744
1752
  UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
1745
- /** An aggregation where result buckets are dynamically built - one per unique value */
1753
+ /** An aggregation where result buckets are dynamically built - one per unique value. */
1746
1754
  VALUE = "VALUE",
1747
- /** An aggregation, where user can define set of ranges - each representing a bucket */
1755
+ /** An aggregation, where user can define set of ranges - each representing a bucket. */
1748
1756
  RANGE = "RANGE",
1749
- /** A single-value metric aggregation - e.g. min, max, sum, avg */
1757
+ /** A single-value metric aggregation - such as min, max, sum, and avg. */
1750
1758
  SCALAR = "SCALAR",
1751
- /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
1759
+ /** An aggregation, where result buckets are dynamically built - one per time interval such as hour, day, and week. */
1752
1760
  DATE_HISTOGRAM = "DATE_HISTOGRAM",
1753
- /** Multi-level aggregation, where each next aggregation is nested within previous one */
1761
+ /** Multi-level aggregation, where each next aggregation is nested within the previous one. */
1754
1762
  NESTED = "NESTED"
1755
1763
  }
1756
1764
  /** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */
@@ -1759,13 +1767,7 @@ interface NestedAggregation$1 {
1759
1767
  nestedAggregations?: NestedAggregationItem$1[];
1760
1768
  }
1761
1769
  interface SearchDetails$1 {
1762
- /**
1763
- * Defines how separate search terms in `expression` are combined.
1764
- *
1765
- * Supported values:
1766
- * + `OR` - Any of the search terms must be present
1767
- * + `AND` - All search terms must be present
1768
- */
1770
+ /** Defines how separate search terms in `expression` are combined. */
1769
1771
  mode?: Mode$1;
1770
1772
  /** Search term or expression. */
1771
1773
  expression?: string | null;
@@ -1779,9 +1781,9 @@ interface SearchDetails$1 {
1779
1781
  fuzzy?: boolean;
1780
1782
  }
1781
1783
  declare enum Mode$1 {
1782
- /** Any of the search terms must be present */
1784
+ /** Any of the search terms must be present. */
1783
1785
  OR = "OR",
1784
- /** All search terms must be present */
1786
+ /** All search terms must be present. */
1785
1787
  AND = "AND"
1786
1788
  }
1787
1789
  interface SearchCategoriesResponse$1 {
@@ -4106,6 +4108,7 @@ interface CreateCategoryRequest {
4106
4108
  fields?: SingleEntityOpsRequestedFields[];
4107
4109
  }
4108
4110
  declare enum SingleEntityOpsRequestedFields {
4111
+ /** Not implemented. */
4109
4112
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
4110
4113
  BREADCRUMBS_INFO = "BREADCRUMBS_INFO",
4111
4114
  DESCRIPTION = "DESCRIPTION",
@@ -4191,7 +4194,9 @@ interface Sorting {
4191
4194
  order?: SortOrder;
4192
4195
  }
4193
4196
  declare enum SortOrder {
4197
+ /** Ascending order. */
4194
4198
  ASC = "ASC",
4199
+ /** Descending order. */
4195
4200
  DESC = "DESC"
4196
4201
  }
4197
4202
  interface CursorPaging {
@@ -4206,6 +4211,7 @@ interface CursorPaging {
4206
4211
  cursor?: string | null;
4207
4212
  }
4208
4213
  declare enum RequestedFields {
4214
+ /** Not implemented. */
4209
4215
  UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
4210
4216
  BREADCRUMBS_INFO = "BREADCRUMBS_INFO"
4211
4217
  }
@@ -4322,21 +4328,21 @@ interface RangeBucket {
4322
4328
  to?: number | null;
4323
4329
  }
4324
4330
  declare enum SortType {
4325
- /** Should sort by number of matches */
4331
+ /** Sort by number of matches. */
4326
4332
  COUNT = "COUNT",
4327
- /** Should sort by value of the field alphabetically */
4333
+ /** Sort alphabetically by field value. */
4328
4334
  VALUE = "VALUE"
4329
4335
  }
4330
4336
  declare enum SortDirection {
4331
- /** Should sort in descending order */
4337
+ /** Sort in descending order. */
4332
4338
  DESC = "DESC",
4333
- /** Should sort in ascending order */
4339
+ /** Sort in ascending order. */
4334
4340
  ASC = "ASC"
4335
4341
  }
4336
4342
  declare enum MissingValues {
4337
- /** Should missing values be excluded from the aggregation results */
4343
+ /** Exclude missing values from the aggregation results. */
4338
4344
  EXCLUDE = "EXCLUDE",
4339
- /** Should missing values be included in the aggregation results */
4345
+ /** Included missing values in the aggregation results. */
4340
4346
  INCLUDE = "INCLUDE"
4341
4347
  }
4342
4348
  interface IncludeMissingValuesOptions {
@@ -4345,27 +4351,30 @@ interface IncludeMissingValuesOptions {
4345
4351
  }
4346
4352
  declare enum ScalarType {
4347
4353
  UNKNOWN_SCALAR_TYPE = "UNKNOWN_SCALAR_TYPE",
4348
- /** Count of distinct values */
4354
+ /** Count of distinct values. */
4349
4355
  COUNT_DISTINCT = "COUNT_DISTINCT",
4350
- /** Minimum value */
4356
+ /** Minimum value. */
4351
4357
  MIN = "MIN",
4352
- /** Maximum value */
4358
+ /** Maximum value. */
4353
4359
  MAX = "MAX",
4354
- /** Sum of values */
4360
+ /** Sum of values. */
4355
4361
  SUM = "SUM",
4356
- /** Average of values */
4362
+ /** Average of values. */
4357
4363
  AVG = "AVG"
4358
4364
  }
4359
4365
  interface ValueAggregation extends ValueAggregationOptionsOneOf {
4360
4366
  /** Options for including missing values */
4361
4367
  includeOptions?: IncludeMissingValuesOptions;
4362
- /** Should sort by number of matches or value of the field */
4368
+ /** Type of sort to perform. */
4363
4369
  sortType?: SortType;
4364
- /** Should sort in ascending or descending order */
4370
+ /** Direction to sort in. */
4365
4371
  sortDirection?: SortDirection;
4366
4372
  /** How many aggregations would you like to return? Can be between 1 and 250. 10 is the default. */
4367
4373
  limit?: number | null;
4368
- /** Should missing values be included or excluded from the aggregation results. Default is EXCLUDE */
4374
+ /**
4375
+ * Whether missing values are included in the aggregation results.
4376
+ * Default: `EXCLUDE`
4377
+ */
4369
4378
  missingValues?: MissingValues;
4370
4379
  }
4371
4380
  /** @oneof */
@@ -4374,14 +4383,15 @@ interface ValueAggregationOptionsOneOf {
4374
4383
  includeOptions?: IncludeMissingValuesOptions;
4375
4384
  }
4376
4385
  declare enum NestedAggregationType {
4386
+ /** Unknown aggregation type. */
4377
4387
  UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
4378
- /** An aggregation where result buckets are dynamically built - one per unique value */
4388
+ /** An aggregation where result buckets are dynamically built - one per unique value. */
4379
4389
  VALUE = "VALUE",
4380
- /** An aggregation, where user can define set of ranges - each representing a bucket */
4390
+ /** An aggregation, where user can define set of ranges - each representing a bucket. */
4381
4391
  RANGE = "RANGE",
4382
- /** A single-value metric aggregation - e.g. min, max, sum, avg */
4392
+ /** A single-value metric aggregation - such as min, max, sum, and avg. */
4383
4393
  SCALAR = "SCALAR",
4384
- /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
4394
+ /** An aggregation, where result buckets are dynamically built - one per time interval such as hour, day, and week. */
4385
4395
  DATE_HISTOGRAM = "DATE_HISTOGRAM"
4386
4396
  }
4387
4397
  interface RangeAggregation {
@@ -4424,7 +4434,7 @@ interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
4424
4434
  dateHistogram?: DateHistogramAggregation;
4425
4435
  /** User-defined name of aggregation, should be unique, will appear in aggregation results */
4426
4436
  name?: string | null;
4427
- /** Type of aggregation, client must provide matching aggregation field below */
4437
+ /** Type of aggregation client must provide matching aggregation field below */
4428
4438
  type?: NestedAggregationType;
4429
4439
  /** Field to aggregate by, use dont notation to specify json path */
4430
4440
  fieldPath?: string;
@@ -4442,15 +4452,15 @@ interface NestedAggregationItemKindOneOf {
4442
4452
  }
4443
4453
  declare enum AggregationType {
4444
4454
  UNKNOWN_AGGREGATION_TYPE = "UNKNOWN_AGGREGATION_TYPE",
4445
- /** An aggregation where result buckets are dynamically built - one per unique value */
4455
+ /** An aggregation where result buckets are dynamically built - one per unique value. */
4446
4456
  VALUE = "VALUE",
4447
- /** An aggregation, where user can define set of ranges - each representing a bucket */
4457
+ /** An aggregation, where user can define set of ranges - each representing a bucket. */
4448
4458
  RANGE = "RANGE",
4449
- /** A single-value metric aggregation - e.g. min, max, sum, avg */
4459
+ /** A single-value metric aggregation - such as min, max, sum, and avg. */
4450
4460
  SCALAR = "SCALAR",
4451
- /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
4461
+ /** An aggregation, where result buckets are dynamically built - one per time interval such as hour, day, and week. */
4452
4462
  DATE_HISTOGRAM = "DATE_HISTOGRAM",
4453
- /** Multi-level aggregation, where each next aggregation is nested within previous one */
4463
+ /** Multi-level aggregation, where each next aggregation is nested within the previous one. */
4454
4464
  NESTED = "NESTED"
4455
4465
  }
4456
4466
  /** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */
@@ -4459,13 +4469,7 @@ interface NestedAggregation {
4459
4469
  nestedAggregations?: NestedAggregationItem[];
4460
4470
  }
4461
4471
  interface SearchDetails {
4462
- /**
4463
- * Defines how separate search terms in `expression` are combined.
4464
- *
4465
- * Supported values:
4466
- * + `OR` - Any of the search terms must be present
4467
- * + `AND` - All search terms must be present
4468
- */
4472
+ /** Defines how separate search terms in `expression` are combined. */
4469
4473
  mode?: Mode;
4470
4474
  /** Search term or expression. */
4471
4475
  expression?: string | null;
@@ -4479,9 +4483,9 @@ interface SearchDetails {
4479
4483
  fuzzy?: boolean;
4480
4484
  }
4481
4485
  declare enum Mode {
4482
- /** Any of the search terms must be present */
4486
+ /** Any of the search terms must be present. */
4483
4487
  OR = "OR",
4484
- /** All search terms must be present */
4488
+ /** All search terms must be present. */
4485
4489
  AND = "AND"
4486
4490
  }
4487
4491
  interface SearchCategoriesResponse {