@wix/auto_sdk_crm_contacts-v-5 1.0.6 → 1.0.7

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.
Files changed (37) hide show
  1. package/build/cjs/{contacts-v5-contact-contacts-v-5.universal-CehUMnuf.d.ts → contacts-v5-contact-contacts-v-5.universal-B3ebcTEk.d.ts} +166 -157
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -2
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +153 -143
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/cjs/schemas.js +129 -119
  9. package/build/cjs/schemas.js.map +1 -1
  10. package/build/es/{contacts-v5-contact-contacts-v-5.universal-CehUMnuf.d.mts → contacts-v5-contact-contacts-v-5.universal-B3ebcTEk.d.mts} +166 -157
  11. package/build/es/index.d.mts +2 -2
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +2 -2
  14. package/build/es/index.typings.mjs.map +1 -1
  15. package/build/es/meta.d.mts +153 -143
  16. package/build/es/meta.mjs.map +1 -1
  17. package/build/es/schemas.mjs +129 -119
  18. package/build/es/schemas.mjs.map +1 -1
  19. package/build/internal/cjs/{contacts-v5-contact-contacts-v-5.universal-CehUMnuf.d.ts → contacts-v5-contact-contacts-v-5.universal-B3ebcTEk.d.ts} +166 -157
  20. package/build/internal/cjs/index.d.ts +2 -2
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +2 -2
  23. package/build/internal/cjs/index.typings.js.map +1 -1
  24. package/build/internal/cjs/meta.d.ts +153 -143
  25. package/build/internal/cjs/meta.js.map +1 -1
  26. package/build/internal/cjs/schemas.js +129 -119
  27. package/build/internal/cjs/schemas.js.map +1 -1
  28. package/build/internal/es/{contacts-v5-contact-contacts-v-5.universal-CehUMnuf.d.mts → contacts-v5-contact-contacts-v-5.universal-B3ebcTEk.d.mts} +166 -157
  29. package/build/internal/es/index.d.mts +2 -2
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +2 -2
  32. package/build/internal/es/index.typings.mjs.map +1 -1
  33. package/build/internal/es/meta.d.mts +153 -143
  34. package/build/internal/es/meta.mjs.map +1 -1
  35. package/build/internal/es/schemas.mjs +129 -119
  36. package/build/internal/es/schemas.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -343,7 +343,7 @@ declare enum AddressTag {
343
343
  }
344
344
  /** @enumType */
345
345
  type AddressTagWithLiterals = AddressTag | 'OTHER' | 'HOME' | 'WORK' | 'BILLING' | 'SHIPPING';
346
- /** Physical address */
346
+ /** Physical address, such as a billing or shipping address. */
347
347
  interface Address extends AddressStreetOneOf {
348
348
  /** Street address object, with number and name in separate fields. */
349
349
  streetAddress?: StreetAddress;
@@ -359,7 +359,7 @@ interface Address extends AddressStreetOneOf {
359
359
  */
360
360
  country?: string | null;
361
361
  /**
362
- * Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. e.g. NY
362
+ * Subdivision shorthand. Usually, a short code (2 or 3 letters) that represents a state, region, prefecture, or province. For example, `NY`.
363
363
  * @format SUBDIVISION
364
364
  */
365
365
  subdivision?: string | null;
@@ -435,7 +435,7 @@ interface StreetAddress {
435
435
  */
436
436
  apt?: string;
437
437
  /**
438
- * Optional address line 1
438
+ * Optional formatted version of the street address line.
439
439
  * @maxLength 2000
440
440
  */
441
441
  formattedAddressLine?: string | null;
@@ -456,7 +456,7 @@ interface AddressLocation {
456
456
  }
457
457
  interface Subdivision {
458
458
  /**
459
- * subdivision short code
459
+ * Subdivision short code.
460
460
  * @maxLength 20
461
461
  */
462
462
  code?: string;
@@ -465,7 +465,7 @@ interface Subdivision {
465
465
  * @maxLength 100
466
466
  */
467
467
  name?: string;
468
- /** Subdivision level */
468
+ /** Subdivision level. */
469
469
  type?: SubdivisionTypeWithLiterals;
470
470
  /**
471
471
  * Free text description of subdivision type.
@@ -476,25 +476,25 @@ interface Subdivision {
476
476
  }
477
477
  declare enum SubdivisionType {
478
478
  UNKNOWN_SUBDIVISION_TYPE = "UNKNOWN_SUBDIVISION_TYPE",
479
- /** State */
479
+ /** State. */
480
480
  ADMINISTRATIVE_AREA_LEVEL_1 = "ADMINISTRATIVE_AREA_LEVEL_1",
481
- /** County */
481
+ /** County. */
482
482
  ADMINISTRATIVE_AREA_LEVEL_2 = "ADMINISTRATIVE_AREA_LEVEL_2",
483
- /** City/town */
483
+ /** City/town. */
484
484
  ADMINISTRATIVE_AREA_LEVEL_3 = "ADMINISTRATIVE_AREA_LEVEL_3",
485
- /** Neighborhood/quarter */
485
+ /** Neighborhood/quarter. */
486
486
  ADMINISTRATIVE_AREA_LEVEL_4 = "ADMINISTRATIVE_AREA_LEVEL_4",
487
- /** Street/block */
487
+ /** Street/block. */
488
488
  ADMINISTRATIVE_AREA_LEVEL_5 = "ADMINISTRATIVE_AREA_LEVEL_5",
489
- /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
489
+ /** Equivalent to `ADMINISTRATIVE_AREA_LEVEL_0`. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
490
490
  COUNTRY = "COUNTRY"
491
491
  }
492
492
  /** @enumType */
493
493
  type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
494
- /** Subdivision Concordance values */
494
+ /** Subdivision concordance values. */
495
495
  interface StandardDetails {
496
496
  /**
497
- * subdivision iso-3166-2 code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). e.g. US-NY, GB-SCT, NO-30
497
+ * Subdivision code according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). For example, `US-NY`, `GB-SCT`, `NO-30`.
498
498
  * @maxLength 20
499
499
  */
500
500
  iso31662?: string | null;
@@ -670,8 +670,9 @@ interface GroupInfo {
670
670
  */
671
671
  groupIds?: string[];
672
672
  }
673
+ /** Tags assigned to an entity that require an additional permission to access. */
673
674
  interface PrivateTags {
674
- /** Tags that are exposed to anyone with access to the entity. */
675
+ /** Tags that require an additional permission to access, normally not given to site members or visitors. */
675
676
  privateTags?: TagList;
676
677
  }
677
678
  interface TagList {
@@ -956,26 +957,26 @@ interface BulkUpdateContactSubscriptionsRequest {
956
957
  phoneSubscriptionStatus?: V5SubscriptionStatusWithLiterals;
957
958
  }
958
959
  interface SearchDetails {
959
- /** Defines how separate search terms in `expression` are combined */
960
+ /** How separate search terms in `expression` are combined. */
960
961
  mode?: ModeWithLiterals;
961
962
  /**
962
- * Search term or expression
963
+ * Search term or expression.
963
964
  * @maxLength 100
964
965
  */
965
966
  expression?: string | null;
966
967
  /**
967
- * Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path
968
+ * Fields to search in. If empty, searches all searchable fields. Use dot notation to specify the JSON path.
968
969
  * @maxLength 200
969
970
  * @maxSize 20
970
971
  */
971
972
  fields?: string[];
972
- /** Flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm) */
973
+ /** Whether to use fuzzy search, which allows typos using a managed proximity algorithm. */
973
974
  fuzzy?: boolean;
974
975
  }
975
976
  declare enum Mode {
976
- /** Any of the search terms must be present */
977
+ /** Any of the search terms must be present. */
977
978
  OR = "OR",
978
- /** All search terms must be present */
979
+ /** All search terms must be present. */
979
980
  AND = "AND"
980
981
  }
981
982
  /** @enumType */
@@ -1332,8 +1333,9 @@ interface QueryContactsResponse {
1332
1333
  /** Paging metadata. */
1333
1334
  pagingMetadata?: CursorPagingMetadata;
1334
1335
  }
1336
+ /** Paging metadata for cursor-based pagination. */
1335
1337
  interface CursorPagingMetadata {
1336
- /** Number of items returned in current page. */
1338
+ /** Number of items returned in the current page. */
1337
1339
  count?: number | null;
1338
1340
  /** Cursor strings that point to the next page, previous page, or both. */
1339
1341
  cursors?: Cursors;
@@ -1346,8 +1348,8 @@ interface CursorPagingMetadata {
1346
1348
  hasNext?: boolean | null;
1347
1349
  /**
1348
1350
  * Total number of items matching the filter.
1349
- * Available only on the first page of *Search* results, not included in *Query* or *List* results.
1350
- * If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page.
1351
+ * Available only on the first page of Search results, not included in Query or List results.
1352
+ * If the Search results span multiple pages, the value of `total` can exceed the number of items returned on the first page.
1351
1353
  */
1352
1354
  total?: number | null;
1353
1355
  }
@@ -1398,7 +1400,7 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
1398
1400
  */
1399
1401
  sort?: Sorting[];
1400
1402
  /**
1401
- * Aggregations | Faceted search: refers to 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.
1403
+ * Aggregations, also known as faceted search. Lets you explore large amounts of data by displaying summaries about different partitions of the data, and narrow the navigation to a specific partition.
1402
1404
  * @maxSize 10
1403
1405
  */
1404
1406
  aggregations?: Aggregation[];
@@ -1407,11 +1409,11 @@ interface CursorSearch extends CursorSearchPagingMethodOneOf {
1407
1409
  /**
1408
1410
  * UTC offset or IANA time zone. Valid values are
1409
1411
  * ISO 8601 UTC offsets, such as +02:00 or -06:00,
1410
- * and IANA time zone IDs, such as Europe/Rome
1412
+ * and IANA time zone IDs, such as Europe/Rome.
1411
1413
  *
1412
- * Affects all filters and aggregations returned values.
1413
- * You may override this behavior in a specific filter by providing
1414
- * timestamps including time zone. e.g. `"2023-12-20T10:52:34.795Z"`
1414
+ * Affects the values returned by all filters and aggregations.
1415
+ * You can override this behavior in a specific filter by providing
1416
+ * timestamps that include a time zone. For example, `"2023-12-20T10:52:34.795Z"`.
1415
1417
  * @maxLength 50
1416
1418
  */
1417
1419
  timeZone?: string | null;
@@ -1426,202 +1428,212 @@ interface CursorSearchPagingMethodOneOf {
1426
1428
  cursorPaging?: CursorPaging;
1427
1429
  }
1428
1430
  interface Aggregation extends AggregationKindOneOf {
1429
- /** Value aggregation */
1431
+ /** Value aggregation. */
1430
1432
  value?: ValueAggregation;
1431
- /** Range aggregation */
1433
+ /** Range aggregation. */
1432
1434
  range?: RangeAggregation;
1433
- /** Scalar aggregation */
1435
+ /** Scalar aggregation. */
1434
1436
  scalar?: ScalarAggregation;
1435
- /** Date histogram aggregation */
1437
+ /** Date histogram aggregation. */
1436
1438
  dateHistogram?: DateHistogramAggregation;
1437
- /** Nested aggregation */
1439
+ /** Nested aggregation. */
1438
1440
  nested?: NestedAggregation;
1439
1441
  /**
1440
- * User-defined name of aggregation, should be unique, will appear in aggregation results
1442
+ * User-defined name for the aggregation. Must be unique. Appears in the aggregation results.
1441
1443
  * @maxLength 100
1442
1444
  */
1443
1445
  name?: string | null;
1444
- /** Type of aggregation, client must provide matching aggregation field below */
1446
+ /** Type of aggregation. Must match the aggregation type provided in the `kind` field. */
1445
1447
  type?: AggregationTypeWithLiterals;
1446
1448
  /**
1447
- * Field to aggregate by, use dot notation to specify json path
1449
+ * Field to aggregate by. Use dot notation to specify the JSON path.
1448
1450
  * @maxLength 200
1449
1451
  */
1450
1452
  fieldPath?: string;
1451
1453
  }
1452
1454
  /** @oneof */
1453
1455
  interface AggregationKindOneOf {
1454
- /** Value aggregation */
1456
+ /** Value aggregation. */
1455
1457
  value?: ValueAggregation;
1456
- /** Range aggregation */
1458
+ /** Range aggregation. */
1457
1459
  range?: RangeAggregation;
1458
- /** Scalar aggregation */
1460
+ /** Scalar aggregation. */
1459
1461
  scalar?: ScalarAggregation;
1460
- /** Date histogram aggregation */
1462
+ /** Date histogram aggregation. */
1461
1463
  dateHistogram?: DateHistogramAggregation;
1462
- /** Nested aggregation */
1464
+ /** Nested aggregation. */
1463
1465
  nested?: NestedAggregation;
1464
1466
  }
1465
1467
  interface RangeBucket {
1466
- /** Inclusive lower bound of the range. Required if to is not given */
1468
+ /** Inclusive lower bound of the range. Required if `to` isn't given. */
1467
1469
  from?: number | null;
1468
- /** Exclusive upper bound of the range. Required if from is not given */
1470
+ /** Exclusive upper bound of the range. Required if `from` isn't given. */
1469
1471
  to?: number | null;
1470
1472
  }
1471
1473
  declare enum SortType {
1472
- /** Should sort by number of matches */
1474
+ /** Sorts by number of matches. */
1473
1475
  COUNT = "COUNT",
1474
- /** Should sort by value of the field alphabetically */
1476
+ /** Sorts by the field's value, alphabetically. */
1475
1477
  VALUE = "VALUE"
1476
1478
  }
1477
1479
  /** @enumType */
1478
1480
  type SortTypeWithLiterals = SortType | 'COUNT' | 'VALUE';
1479
1481
  declare enum SortDirection {
1480
- /** Should sort in descending order */
1482
+ /** Sorts in descending order. */
1481
1483
  DESC = "DESC",
1482
- /** Should sort in ascending order */
1484
+ /** Sorts in ascending order. */
1483
1485
  ASC = "ASC"
1484
1486
  }
1485
1487
  /** @enumType */
1486
1488
  type SortDirectionWithLiterals = SortDirection | 'DESC' | 'ASC';
1487
1489
  declare enum MissingValues {
1488
- /** Should missing values be excluded from the aggregation results */
1490
+ /** Missing values are excluded from the aggregation results. */
1489
1491
  EXCLUDE = "EXCLUDE",
1490
- /** Should missing values be included in the aggregation results */
1492
+ /** Missing values are included in the aggregation results. */
1491
1493
  INCLUDE = "INCLUDE"
1492
1494
  }
1493
1495
  /** @enumType */
1494
1496
  type MissingValuesWithLiterals = MissingValues | 'EXCLUDE' | 'INCLUDE';
1495
1497
  interface IncludeMissingValuesOptions {
1496
1498
  /**
1497
- * Can specify custom bucket name. Defaults are [string -> "N/A"], [int -> "0"], [bool -> "false"] ...
1499
+ * Custom name for the bucket that holds missing values.
1500
+ *
1501
+ * Default: `"N/A"` for string fields, `"0"` for integer fields, `"false"` for boolean fields.
1498
1502
  * @maxLength 20
1499
1503
  */
1500
1504
  addToBucket?: string;
1501
1505
  }
1502
1506
  declare enum ScalarType {
1503
- /** Count of distinct values */
1507
+ /** Count of distinct values. */
1504
1508
  COUNT_DISTINCT = "COUNT_DISTINCT",
1505
- /** Minimum value */
1509
+ /** Minimum value. */
1506
1510
  MIN = "MIN",
1507
- /** Maximum value */
1511
+ /** Maximum value. */
1508
1512
  MAX = "MAX"
1509
1513
  }
1510
1514
  /** @enumType */
1511
1515
  type ScalarTypeWithLiterals = ScalarType | 'COUNT_DISTINCT' | 'MIN' | 'MAX';
1512
1516
  declare enum NestedAggregationType {
1513
- /** An aggregation where result buckets are dynamically built - one per unique value */
1517
+ /** An aggregation where result buckets are dynamically built, one per unique value. */
1514
1518
  VALUE = "VALUE",
1515
- /** An aggregation, where user can define set of ranges - each representing a bucket */
1519
+ /** An aggregation where you can define a set of ranges, each representing a bucket. */
1516
1520
  RANGE = "RANGE",
1517
- /** A single-value metric aggregation - e.g. min, max, sum, avg */
1521
+ /** A single-value metric aggregation, such as min, max, sum, or avg. */
1518
1522
  SCALAR = "SCALAR",
1519
- /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
1523
+ /** An aggregation where result buckets are dynamically built, one per time interval (hour, day, week, and so on). */
1520
1524
  DATE_HISTOGRAM = "DATE_HISTOGRAM"
1521
1525
  }
1522
1526
  /** @enumType */
1523
1527
  type NestedAggregationTypeWithLiterals = NestedAggregationType | 'VALUE' | 'RANGE' | 'SCALAR' | 'DATE_HISTOGRAM';
1524
1528
  interface ValueAggregation extends ValueAggregationOptionsOneOf {
1525
- /** Options for including missing values */
1529
+ /** Options for including missing values. Used only when `missingValues` is `INCLUDE`. */
1526
1530
  includeOptions?: IncludeMissingValuesOptions;
1527
- /** Should sort by number of matches or value of the field */
1531
+ /** How to sort the aggregation results: by number of matches or by field value. */
1528
1532
  sortType?: SortTypeWithLiterals;
1529
- /** Should sort in ascending or descending order */
1533
+ /** Sort direction: ascending or descending. */
1530
1534
  sortDirection?: SortDirectionWithLiterals;
1531
- /** How many aggregations would you like to return? Can be between 1 and 250. 10 is the default. */
1535
+ /**
1536
+ * Number of aggregations to return.
1537
+ *
1538
+ * Default: `10`
1539
+ */
1532
1540
  limit?: number | null;
1533
- /** Should missing values be included or excluded from the aggregation results. Default is EXCLUDE */
1541
+ /**
1542
+ * Whether to include missing values in the aggregation results.
1543
+ *
1544
+ * Default: `EXCLUDE`
1545
+ */
1534
1546
  missingValues?: MissingValuesWithLiterals;
1535
1547
  }
1536
1548
  /** @oneof */
1537
1549
  interface ValueAggregationOptionsOneOf {
1538
- /** Options for including missing values */
1550
+ /** Options for including missing values. Used only when `missingValues` is `INCLUDE`. */
1539
1551
  includeOptions?: IncludeMissingValuesOptions;
1540
1552
  }
1541
1553
  interface RangeAggregation {
1542
1554
  /**
1543
- * List of range buckets, where during aggregation each entity will be placed in the first bucket where its value falls into based on provided range bounds
1555
+ * Range buckets used for the aggregation. Each entity is placed in the first bucket whose range its value falls into.
1544
1556
  * @maxSize 50
1545
1557
  */
1546
1558
  buckets?: RangeBucket[];
1547
1559
  }
1548
1560
  interface ScalarAggregation {
1549
- /** Define the operator for the scalar aggregation */
1561
+ /** Operator for the scalar aggregation. */
1550
1562
  type?: ScalarTypeWithLiterals;
1551
1563
  }
1552
1564
  interface DateHistogramAggregation {
1553
- /** Interval for date histogram aggregation */
1565
+ /** Interval for the date histogram aggregation. */
1554
1566
  interval?: IntervalWithLiterals;
1555
1567
  }
1556
1568
  declare enum Interval {
1557
- /** Yearly interval */
1569
+ /** Yearly interval. */
1558
1570
  YEAR = "YEAR",
1559
- /** Monthly interval */
1571
+ /** Monthly interval. */
1560
1572
  MONTH = "MONTH",
1561
- /** Weekly interval */
1573
+ /** Weekly interval. */
1562
1574
  WEEK = "WEEK",
1563
- /** Daily interval */
1575
+ /** Daily interval. */
1564
1576
  DAY = "DAY",
1565
- /** Hourly interval */
1577
+ /** Hourly interval. */
1566
1578
  HOUR = "HOUR",
1567
- /** Minute interval */
1579
+ /** Minute interval. */
1568
1580
  MINUTE = "MINUTE",
1569
- /** Second interval */
1581
+ /** Second interval. */
1570
1582
  SECOND = "SECOND"
1571
1583
  }
1572
1584
  /** @enumType */
1573
1585
  type IntervalWithLiterals = Interval | 'YEAR' | 'MONTH' | 'WEEK' | 'DAY' | 'HOUR' | 'MINUTE' | 'SECOND';
1574
1586
  interface NestedAggregationItem extends NestedAggregationItemKindOneOf {
1575
- /** Value aggregation */
1587
+ /** Value aggregation. */
1576
1588
  value?: ValueAggregation;
1577
- /** Range aggregation */
1589
+ /** Range aggregation. */
1578
1590
  range?: RangeAggregation;
1579
- /** Scalar aggregation */
1591
+ /** Scalar aggregation. */
1580
1592
  scalar?: ScalarAggregation;
1581
- /** Date histogram aggregation */
1593
+ /** Date histogram aggregation. */
1582
1594
  dateHistogram?: DateHistogramAggregation;
1583
1595
  /**
1584
- * User-defined name of aggregation, should be unique, will appear in aggregation results
1596
+ * User-defined name for the aggregation. Must be unique. Appears in the aggregation results.
1585
1597
  * @maxLength 100
1586
1598
  */
1587
1599
  name?: string | null;
1588
- /** Type of aggregation, client must provide matching aggregation field below */
1600
+ /** Type of aggregation. Must match the aggregation type provided in the `kind` field. */
1589
1601
  type?: NestedAggregationTypeWithLiterals;
1590
1602
  /**
1591
- * Field to aggregate by, use dont notation to specify json path
1603
+ * Field to aggregate by. Use dot notation to specify the JSON path.
1592
1604
  * @maxLength 200
1593
1605
  */
1594
1606
  fieldPath?: string;
1595
1607
  }
1596
1608
  /** @oneof */
1597
1609
  interface NestedAggregationItemKindOneOf {
1598
- /** Value aggregation */
1610
+ /** Value aggregation. */
1599
1611
  value?: ValueAggregation;
1600
- /** Range aggregation */
1612
+ /** Range aggregation. */
1601
1613
  range?: RangeAggregation;
1602
- /** Scalar aggregation */
1614
+ /** Scalar aggregation. */
1603
1615
  scalar?: ScalarAggregation;
1604
- /** Date histogram aggregation */
1616
+ /** Date histogram aggregation. */
1605
1617
  dateHistogram?: DateHistogramAggregation;
1606
1618
  }
1607
1619
  declare enum AggregationType {
1608
- /** An aggregation where result buckets are dynamically built - one per unique value */
1620
+ /** An aggregation where result buckets are dynamically built, one per unique value. */
1609
1621
  VALUE = "VALUE",
1610
- /** An aggregation, where user can define set of ranges - each representing a bucket */
1622
+ /** An aggregation where you can define a set of ranges, each representing a bucket. */
1611
1623
  RANGE = "RANGE",
1612
- /** A single-value metric aggregation - e.g. min, max, sum, avg */
1624
+ /** A single-value metric aggregation, such as min, max, sum, or avg. */
1613
1625
  SCALAR = "SCALAR",
1614
- /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */
1626
+ /** An aggregation where result buckets are dynamically built, one per time interval (hour, day, week, and so on). */
1615
1627
  DATE_HISTOGRAM = "DATE_HISTOGRAM",
1616
- /** Multi-level aggregation, where each next aggregation is nested within previous one */
1628
+ /** Multi-level aggregation, where each next aggregation is nested within the previous one. */
1617
1629
  NESTED = "NESTED"
1618
1630
  }
1619
1631
  /** @enumType */
1620
1632
  type AggregationTypeWithLiterals = AggregationType | 'VALUE' | 'RANGE' | 'SCALAR' | 'DATE_HISTOGRAM' | 'NESTED';
1621
- /** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */
1633
+ /** Nested aggregation expressed as a list of aggregations, where each next aggregation is nested within the previous one. */
1622
1634
  interface NestedAggregation {
1623
1635
  /**
1624
- * Flattened list of aggregations, where each next aggregation is nested within previous one
1636
+ * Flattened list of aggregations, where each next aggregation is nested within the previous one.
1625
1637
  * @minSize 2
1626
1638
  * @maxSize 3
1627
1639
  */
@@ -1646,156 +1658,153 @@ interface SearchContactsResponse {
1646
1658
  }
1647
1659
  interface AggregationData {
1648
1660
  /**
1649
- * key = aggregation name (as derived from search request)
1661
+ * Results of the requested aggregations.
1650
1662
  * @maxSize 10000
1651
1663
  */
1652
1664
  results?: AggregationResults[];
1653
1665
  }
1654
1666
  interface ValueAggregationResult {
1655
1667
  /**
1656
- * Value of the field
1668
+ * Value of the field.
1657
1669
  * @maxLength 100
1658
1670
  */
1659
1671
  value?: string;
1660
- /** Count of entities with this value */
1672
+ /** Count of entities with this value. */
1661
1673
  count?: number;
1662
1674
  }
1663
1675
  interface RangeAggregationResult {
1664
- /** Inclusive lower bound of the range */
1676
+ /** Inclusive lower bound of the range. */
1665
1677
  from?: number | null;
1666
- /** Exclusive upper bound of the range */
1678
+ /** Exclusive upper bound of the range. */
1667
1679
  to?: number | null;
1668
- /** Count of entities in this range */
1680
+ /** Count of entities in this range. */
1669
1681
  count?: number;
1670
1682
  }
1671
1683
  interface ValueResults {
1672
1684
  /**
1673
- * List of value aggregations
1685
+ * Value aggregation results.
1674
1686
  * @maxSize 250
1675
1687
  */
1676
1688
  results?: ValueAggregationResult[];
1677
1689
  }
1678
1690
  interface RangeResults {
1679
1691
  /**
1680
- * List of ranges returned in same order as requested
1692
+ * Range results, returned in the same order as requested.
1681
1693
  * @maxSize 50
1682
1694
  */
1683
1695
  results?: RangeAggregationResult[];
1684
1696
  }
1685
1697
  interface AggregationResultsScalarResult {
1686
- /** Type of scalar aggregation */
1698
+ /** Type of scalar aggregation. */
1687
1699
  type?: ScalarTypeWithLiterals;
1688
- /** Value of the scalar aggregation */
1700
+ /** Value of the scalar aggregation. */
1689
1701
  value?: number;
1690
1702
  }
1691
1703
  interface ValueResult {
1692
1704
  /**
1693
- * Value of the field
1705
+ * Value of the field.
1694
1706
  * @maxLength 1000
1695
1707
  */
1696
1708
  value?: string;
1697
- /** Count of entities with this value */
1709
+ /** Count of entities with this value. */
1698
1710
  count?: number | null;
1699
1711
  }
1700
1712
  interface RangeResult {
1701
- /** Inclusive lower bound of the range */
1713
+ /** Inclusive lower bound of the range. */
1702
1714
  from?: number | null;
1703
- /** Exclusive upper bound of the range */
1715
+ /** Exclusive upper bound of the range. */
1704
1716
  to?: number | null;
1705
- /** Count of entities in this range */
1717
+ /** Count of entities in this range. */
1706
1718
  count?: number | null;
1707
1719
  }
1708
1720
  interface ScalarResult {
1709
- /** Value of the scalar aggregation */
1721
+ /** Value of the scalar aggregation. */
1710
1722
  value?: number;
1711
1723
  }
1712
1724
  interface NestedResultValue extends NestedResultValueResultOneOf {
1713
- /** Value aggregation result */
1725
+ /** Value aggregation result. */
1714
1726
  value?: ValueResult;
1715
- /** Range aggregation result */
1727
+ /** Range aggregation result. */
1716
1728
  range?: RangeResult;
1717
- /** Scalar aggregation result */
1729
+ /** Scalar aggregation result. */
1718
1730
  scalar?: ScalarResult;
1719
- /** Date histogram aggregation result */
1731
+ /** Date histogram aggregation result. */
1720
1732
  dateHistogram?: ValueResult;
1721
1733
  }
1722
1734
  /** @oneof */
1723
1735
  interface NestedResultValueResultOneOf {
1724
- /** Value aggregation result */
1736
+ /** Value aggregation result. */
1725
1737
  value?: ValueResult;
1726
- /** Range aggregation result */
1738
+ /** Range aggregation result. */
1727
1739
  range?: RangeResult;
1728
- /** Scalar aggregation result */
1740
+ /** Scalar aggregation result. */
1729
1741
  scalar?: ScalarResult;
1730
- /** Date histogram aggregation result */
1742
+ /** Date histogram aggregation result. */
1731
1743
  dateHistogram?: ValueResult;
1732
1744
  }
1733
1745
  interface Results {
1734
- /** List of nested aggregations */
1746
+ /** Nested aggregation results, keyed by aggregation name. */
1735
1747
  results?: Record<string, NestedResultValue>;
1736
1748
  }
1737
1749
  interface DateHistogramResult {
1738
1750
  /**
1739
- * Date in ISO 8601 format
1751
+ * Date in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
1740
1752
  * @maxLength 100
1741
1753
  */
1742
1754
  value?: string;
1743
- /** Count of documents in the bucket */
1755
+ /** Count of documents in the bucket. */
1744
1756
  count?: number;
1745
1757
  }
1746
1758
  interface DateHistogramResults {
1747
1759
  /**
1748
- * List of date histogram aggregations
1760
+ * Date histogram aggregation results.
1749
1761
  * @maxSize 200
1750
1762
  */
1751
1763
  results?: DateHistogramResult[];
1752
1764
  }
1753
- /**
1754
- * Results of `NESTED` aggregation type in a flattened form
1755
- * aggregations in resulting array are keyed by requested aggregation `name`.
1756
- */
1765
+ /** Results of the `NESTED` aggregation type in a flattened form. Entries in the resulting array are keyed by the requested aggregation's `name`. */
1757
1766
  interface NestedResults {
1758
1767
  /**
1759
- * List of nested aggregations
1768
+ * Nested aggregation results.
1760
1769
  * @maxSize 1000
1761
1770
  */
1762
1771
  results?: Results[];
1763
1772
  }
1764
1773
  interface AggregationResults extends AggregationResultsResultOneOf {
1765
- /** Value aggregation results */
1774
+ /** Value aggregation results. */
1766
1775
  values?: ValueResults;
1767
- /** Range aggregation results */
1776
+ /** Range aggregation results. */
1768
1777
  ranges?: RangeResults;
1769
- /** Scalar aggregation results */
1778
+ /** Scalar aggregation results. */
1770
1779
  scalar?: AggregationResultsScalarResult;
1771
- /** Date histogram aggregation results */
1780
+ /** Date histogram aggregation results. */
1772
1781
  dateHistogram?: DateHistogramResults;
1773
- /** Nested aggregation results */
1782
+ /** Nested aggregation results. */
1774
1783
  nested?: NestedResults;
1775
1784
  /**
1776
- * User-defined name of aggregation as derived from search request
1785
+ * User-defined name of the aggregation, as provided in the search request.
1777
1786
  * @maxLength 100
1778
1787
  */
1779
1788
  name?: string;
1780
- /** Type of aggregation that must match provided kind as derived from search request */
1789
+ /** Type of aggregation. Matches the `kind` provided in the search request. */
1781
1790
  type?: AggregationTypeWithLiterals;
1782
1791
  /**
1783
- * Field to aggregate by as derived from search request
1792
+ * Field to aggregate by, as provided in the search request.
1784
1793
  * @maxLength 200
1785
1794
  */
1786
1795
  fieldPath?: string;
1787
1796
  }
1788
1797
  /** @oneof */
1789
1798
  interface AggregationResultsResultOneOf {
1790
- /** Value aggregation results */
1799
+ /** Value aggregation results. */
1791
1800
  values?: ValueResults;
1792
- /** Range aggregation results */
1801
+ /** Range aggregation results. */
1793
1802
  ranges?: RangeResults;
1794
- /** Scalar aggregation results */
1803
+ /** Scalar aggregation results. */
1795
1804
  scalar?: AggregationResultsScalarResult;
1796
- /** Date histogram aggregation results */
1805
+ /** Date histogram aggregation results. */
1797
1806
  dateHistogram?: DateHistogramResults;
1798
- /** Nested aggregation results */
1807
+ /** Nested aggregation results. */
1799
1808
  nested?: NestedResults;
1800
1809
  }
1801
1810
  interface CountContactsRequest {
@@ -2356,13 +2365,13 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
2356
2365
  */
2357
2366
  sort?: Sorting[];
2358
2367
  /**
2359
- * Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned.
2368
+ * Projected fields to return. If `fieldsets` is also specified, the union of `fieldsets` and `fields` is returned.
2360
2369
  * @maxSize 1000
2361
2370
  * @maxLength 100
2362
2371
  */
2363
2372
  fields?: string[];
2364
2373
  /**
2365
- * Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned.
2374
+ * Predefined, named sets of projected fields to return. Specifying multiple `fieldsets` returns the union of fields from all sets. If `fields` is also specified, the union of `fieldsets` and `fields` is returned.
2366
2375
  * @maxSize 100
2367
2376
  * @maxLength 100
2368
2377
  */
@@ -2404,7 +2413,7 @@ interface PagingMetadataV2 {
2404
2413
  offset?: number | null;
2405
2414
  /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
2406
2415
  total?: number | null;
2407
- /** Flag that indicates the server failed to calculate the `total` field. */
2416
+ /** Whether the server failed to calculate the `total` field. */
2408
2417
  tooManyToCount?: boolean | null;
2409
2418
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
2410
2419
  cursors?: Cursors;
@@ -3637,41 +3646,41 @@ type ContactSearch = {
3637
3646
  order?: NonNullable<CommonSearchWithEntityContext['sort']>[number]['order'];
3638
3647
  }[];
3639
3648
  /**
3640
- Aggregations | Faceted search: refers to 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.
3649
+ Aggregations, also known as faceted search. Lets you explore large amounts of data by displaying summaries about different partitions of the data, and narrow the navigation to a specific partition.
3641
3650
  @maxSize: 10
3642
3651
  */
3643
3652
  aggregations?: {
3644
3653
  /**
3645
- Value aggregation
3654
+ Value aggregation.
3646
3655
  */
3647
3656
  value?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['value'];
3648
3657
  /**
3649
- Range aggregation
3658
+ Range aggregation.
3650
3659
  */
3651
3660
  range?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['range'];
3652
3661
  /**
3653
- Scalar aggregation
3662
+ Scalar aggregation.
3654
3663
  */
3655
3664
  scalar?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['scalar'];
3656
3665
  /**
3657
- Date histogram aggregation
3666
+ Date histogram aggregation.
3658
3667
  */
3659
3668
  dateHistogram?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['dateHistogram'];
3660
3669
  /**
3661
- Nested aggregation
3670
+ Nested aggregation.
3662
3671
  */
3663
3672
  nested?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['nested'];
3664
3673
  /**
3665
- User-defined name of aggregation, should be unique, will appear in aggregation results
3674
+ User-defined name for the aggregation. Must be unique. Appears in the aggregation results.
3666
3675
  @maxLength: 100
3667
3676
  */
3668
3677
  name?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['name'] | null;
3669
3678
  /**
3670
- Type of aggregation, client must provide matching aggregation field below
3679
+ Type of aggregation. Must match the aggregation type provided in the `kind` field.
3671
3680
  */
3672
3681
  type?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['type'];
3673
3682
  /**
3674
- Field to aggregate by, use dot notation to specify json path
3683
+ Field to aggregate by. Use dot notation to specify the JSON path.
3675
3684
  @maxLength: 200
3676
3685
  */
3677
3686
  fieldPath?: NonNullable<CommonSearchWithEntityContext['aggregations']>[number]['fieldPath'];
@@ -3681,33 +3690,33 @@ type ContactSearch = {
3681
3690
  */
3682
3691
  search?: {
3683
3692
  /**
3684
- Defines how separate search terms in `expression` are combined
3693
+ How separate search terms in `expression` are combined.
3685
3694
  */
3686
3695
  mode?: NonNullable<CommonSearchWithEntityContext['search']>['mode'];
3687
3696
  /**
3688
- Search term or expression
3697
+ Search term or expression.
3689
3698
  @maxLength: 100
3690
3699
  */
3691
3700
  expression?: NonNullable<CommonSearchWithEntityContext['search']>['expression'] | null;
3692
3701
  /**
3693
- Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path
3702
+ Fields to search in. If empty, searches all searchable fields. Use dot notation to specify the JSON path.
3694
3703
  @maxLength: 200,
3695
3704
  @maxSize: 20
3696
3705
  */
3697
3706
  fields?: NonNullable<CommonSearchWithEntityContext['search']>['fields'];
3698
3707
  /**
3699
- Flag if should use auto fuzzy search (allowing typos by a managed proximity algorithm)
3708
+ Whether to use fuzzy search, which allows typos using a managed proximity algorithm.
3700
3709
  */
3701
3710
  fuzzy?: NonNullable<CommonSearchWithEntityContext['search']>['fuzzy'];
3702
3711
  };
3703
3712
  /**
3704
3713
  UTC offset or IANA time zone. Valid values are
3705
3714
  ISO 8601 UTC offsets, such as +02:00 or -06:00,
3706
- and IANA time zone IDs, such as Europe/Rome
3715
+ and IANA time zone IDs, such as Europe/Rome.
3707
3716
 
3708
- Affects all filters and aggregations returned values.
3709
- You may override this behavior in a specific filter by providing
3710
- timestamps including time zone. e.g. `"2023-12-20T10:52:34.795Z"`
3717
+ Affects the values returned by all filters and aggregations.
3718
+ You can override this behavior in a specific filter by providing
3719
+ timestamps that include a time zone. For example, `"2023-12-20T10:52:34.795Z"`.
3711
3720
  @maxLength: 50
3712
3721
  */
3713
3722
  timeZone?: CommonSearchWithEntityContext['timeZone'] | null;