@wix/sdk-types 1.13.19 → 1.13.21

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.
@@ -347,11 +347,13 @@ type OperatorForArrayFiltering = '$matchItems';
347
347
  * Cursor-based paging configuration
348
348
  */
349
349
  interface CursorPaging {
350
- /** Maximum number of items to return in the results (0-100) */
350
+ /** Maximum number of items to return in the results. */
351
351
  limit?: number | null;
352
352
  /**
353
- * Pointer to the next or previous page in the results
354
- * Pass the cursor token from the pagingMetadata of the previous response
353
+ * Pointer to the next or previous page in the list of results.
354
+ *
355
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
356
+ * Not relevant for the first request.
355
357
  */
356
358
  cursor?: string | null;
357
359
  }
@@ -697,8 +699,7 @@ type Aggregation<Spec extends SearchSpec> = BaseAggregation<Spec> | {
697
699
  */
698
700
  interface SearchDetails<Spec extends SearchSpec> {
699
701
  /**
700
- * The search query text
701
- * @example 'urgent task'
702
+ * Search term or expression.
702
703
  */
703
704
  expression?: string | null;
704
705
  /**
@@ -708,8 +709,7 @@ interface SearchDetails<Spec extends SearchSpec> {
708
709
  */
709
710
  mode?: 'AND' | 'OR';
710
711
  /**
711
- * Fields to search within
712
- * If not specified, searches all searchable fields
712
+ Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path.
713
713
  */
714
714
  fields?: SearchableFields<Spec>[];
715
715
  /**
@@ -725,28 +725,31 @@ interface SearchDetails<Spec extends SearchSpec> {
725
725
  */
726
726
  type BaseSearch<Entity, Spec extends SearchSpec> = {
727
727
  /**
728
- * Filter conditions for the search
729
- * @example { status: { $eq: 'PUBLISHED' } }
728
+ * Filter object.
729
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
730
730
  */
731
731
  filter?: Filter<Entity, Spec>;
732
732
  /**
733
- * Sorting options for the results
734
- * @example [{ fieldName: 'createdAt', order: 'DESC' }]
733
+ * List of sort objects.
734
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
735
735
  */
736
736
  sort?: Sorting<Spec>[];
737
737
  /**
738
- * Full-text search configuration
739
- * @example { expression: 'urgent', mode: 'AND' }
738
+ * Free text to match in searchable fields.
740
739
  */
741
740
  search?: SearchDetails<Spec>;
742
741
  /**
743
- * Aggregations for data analysis
744
- * Aggregations provide summaries about data partitions
742
+ * 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.
745
743
  */
746
744
  aggregations?: Aggregation<Spec>[];
747
745
  /**
748
- * Timezone for date-related queries
749
- * Affects how date fields are interpreted
746
+ * UTC offset or IANA time zone. Valid values are
747
+ * ISO 8601 UTC offsets, such as +02:00 or -06:00,
748
+ * and IANA time zone IDs, such as Europe/Rome
749
+ *
750
+ * Affects all filters and aggregations returned values.
751
+ * You may override this behavior in a specific filter by providing
752
+ * timestamps including time zone. e.g. `"2023-12-20T10:52:34.795Z"`
750
753
  */
751
754
  timeZone?: string | null;
752
755
  };
package/build/index.d.mts CHANGED
@@ -347,11 +347,13 @@ type OperatorForArrayFiltering = '$matchItems';
347
347
  * Cursor-based paging configuration
348
348
  */
349
349
  interface CursorPaging {
350
- /** Maximum number of items to return in the results (0-100) */
350
+ /** Maximum number of items to return in the results. */
351
351
  limit?: number | null;
352
352
  /**
353
- * Pointer to the next or previous page in the results
354
- * Pass the cursor token from the pagingMetadata of the previous response
353
+ * Pointer to the next or previous page in the list of results.
354
+ *
355
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
356
+ * Not relevant for the first request.
355
357
  */
356
358
  cursor?: string | null;
357
359
  }
@@ -697,8 +699,7 @@ type Aggregation<Spec extends SearchSpec> = BaseAggregation<Spec> | {
697
699
  */
698
700
  interface SearchDetails<Spec extends SearchSpec> {
699
701
  /**
700
- * The search query text
701
- * @example 'urgent task'
702
+ * Search term or expression.
702
703
  */
703
704
  expression?: string | null;
704
705
  /**
@@ -708,8 +709,7 @@ interface SearchDetails<Spec extends SearchSpec> {
708
709
  */
709
710
  mode?: 'AND' | 'OR';
710
711
  /**
711
- * Fields to search within
712
- * If not specified, searches all searchable fields
712
+ Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path.
713
713
  */
714
714
  fields?: SearchableFields<Spec>[];
715
715
  /**
@@ -725,28 +725,31 @@ interface SearchDetails<Spec extends SearchSpec> {
725
725
  */
726
726
  type BaseSearch<Entity, Spec extends SearchSpec> = {
727
727
  /**
728
- * Filter conditions for the search
729
- * @example { status: { $eq: 'PUBLISHED' } }
728
+ * Filter object.
729
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
730
730
  */
731
731
  filter?: Filter<Entity, Spec>;
732
732
  /**
733
- * Sorting options for the results
734
- * @example [{ fieldName: 'createdAt', order: 'DESC' }]
733
+ * List of sort objects.
734
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
735
735
  */
736
736
  sort?: Sorting<Spec>[];
737
737
  /**
738
- * Full-text search configuration
739
- * @example { expression: 'urgent', mode: 'AND' }
738
+ * Free text to match in searchable fields.
740
739
  */
741
740
  search?: SearchDetails<Spec>;
742
741
  /**
743
- * Aggregations for data analysis
744
- * Aggregations provide summaries about data partitions
742
+ * 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.
745
743
  */
746
744
  aggregations?: Aggregation<Spec>[];
747
745
  /**
748
- * Timezone for date-related queries
749
- * Affects how date fields are interpreted
746
+ * UTC offset or IANA time zone. Valid values are
747
+ * ISO 8601 UTC offsets, such as +02:00 or -06:00,
748
+ * and IANA time zone IDs, such as Europe/Rome
749
+ *
750
+ * Affects all filters and aggregations returned values.
751
+ * You may override this behavior in a specific filter by providing
752
+ * timestamps including time zone. e.g. `"2023-12-20T10:52:34.795Z"`
750
753
  */
751
754
  timeZone?: string | null;
752
755
  };
package/build/index.d.ts CHANGED
@@ -347,11 +347,13 @@ type OperatorForArrayFiltering = '$matchItems';
347
347
  * Cursor-based paging configuration
348
348
  */
349
349
  interface CursorPaging {
350
- /** Maximum number of items to return in the results (0-100) */
350
+ /** Maximum number of items to return in the results. */
351
351
  limit?: number | null;
352
352
  /**
353
- * Pointer to the next or previous page in the results
354
- * Pass the cursor token from the pagingMetadata of the previous response
353
+ * Pointer to the next or previous page in the list of results.
354
+ *
355
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
356
+ * Not relevant for the first request.
355
357
  */
356
358
  cursor?: string | null;
357
359
  }
@@ -697,8 +699,7 @@ type Aggregation<Spec extends SearchSpec> = BaseAggregation<Spec> | {
697
699
  */
698
700
  interface SearchDetails<Spec extends SearchSpec> {
699
701
  /**
700
- * The search query text
701
- * @example 'urgent task'
702
+ * Search term or expression.
702
703
  */
703
704
  expression?: string | null;
704
705
  /**
@@ -708,8 +709,7 @@ interface SearchDetails<Spec extends SearchSpec> {
708
709
  */
709
710
  mode?: 'AND' | 'OR';
710
711
  /**
711
- * Fields to search within
712
- * If not specified, searches all searchable fields
712
+ Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path.
713
713
  */
714
714
  fields?: SearchableFields<Spec>[];
715
715
  /**
@@ -725,28 +725,31 @@ interface SearchDetails<Spec extends SearchSpec> {
725
725
  */
726
726
  type BaseSearch<Entity, Spec extends SearchSpec> = {
727
727
  /**
728
- * Filter conditions for the search
729
- * @example { status: { $eq: 'PUBLISHED' } }
728
+ * Filter object.
729
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
730
730
  */
731
731
  filter?: Filter<Entity, Spec>;
732
732
  /**
733
- * Sorting options for the results
734
- * @example [{ fieldName: 'createdAt', order: 'DESC' }]
733
+ * List of sort objects.
734
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
735
735
  */
736
736
  sort?: Sorting<Spec>[];
737
737
  /**
738
- * Full-text search configuration
739
- * @example { expression: 'urgent', mode: 'AND' }
738
+ * Free text to match in searchable fields.
740
739
  */
741
740
  search?: SearchDetails<Spec>;
742
741
  /**
743
- * Aggregations for data analysis
744
- * Aggregations provide summaries about data partitions
742
+ * 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.
745
743
  */
746
744
  aggregations?: Aggregation<Spec>[];
747
745
  /**
748
- * Timezone for date-related queries
749
- * Affects how date fields are interpreted
746
+ * UTC offset or IANA time zone. Valid values are
747
+ * ISO 8601 UTC offsets, such as +02:00 or -06:00,
748
+ * and IANA time zone IDs, such as Europe/Rome
749
+ *
750
+ * Affects all filters and aggregations returned values.
751
+ * You may override this behavior in a specific filter by providing
752
+ * timestamps including time zone. e.g. `"2023-12-20T10:52:34.795Z"`
750
753
  */
751
754
  timeZone?: string | null;
752
755
  };
@@ -410,11 +410,13 @@ type OperatorForArrayFiltering = '$matchItems';
410
410
  * Cursor-based paging configuration
411
411
  */
412
412
  interface CursorPaging {
413
- /** Maximum number of items to return in the results (0-100) */
413
+ /** Maximum number of items to return in the results. */
414
414
  limit?: number | null;
415
415
  /**
416
- * Pointer to the next or previous page in the results
417
- * Pass the cursor token from the pagingMetadata of the previous response
416
+ * Pointer to the next or previous page in the list of results.
417
+ *
418
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
419
+ * Not relevant for the first request.
418
420
  */
419
421
  cursor?: string | null;
420
422
  }
@@ -760,8 +762,7 @@ type Aggregation<Spec extends SearchSpec> = BaseAggregation<Spec> | {
760
762
  */
761
763
  interface SearchDetails<Spec extends SearchSpec> {
762
764
  /**
763
- * The search query text
764
- * @example 'urgent task'
765
+ * Search term or expression.
765
766
  */
766
767
  expression?: string | null;
767
768
  /**
@@ -771,8 +772,7 @@ interface SearchDetails<Spec extends SearchSpec> {
771
772
  */
772
773
  mode?: 'AND' | 'OR';
773
774
  /**
774
- * Fields to search within
775
- * If not specified, searches all searchable fields
775
+ Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path.
776
776
  */
777
777
  fields?: SearchableFields<Spec>[];
778
778
  /**
@@ -788,28 +788,31 @@ interface SearchDetails<Spec extends SearchSpec> {
788
788
  */
789
789
  type BaseSearch<Entity, Spec extends SearchSpec> = {
790
790
  /**
791
- * Filter conditions for the search
792
- * @example { status: { $eq: 'PUBLISHED' } }
791
+ * Filter object.
792
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
793
793
  */
794
794
  filter?: Filter<Entity, Spec>;
795
795
  /**
796
- * Sorting options for the results
797
- * @example [{ fieldName: 'createdAt', order: 'DESC' }]
796
+ * List of sort objects.
797
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
798
798
  */
799
799
  sort?: Sorting<Spec>[];
800
800
  /**
801
- * Full-text search configuration
802
- * @example { expression: 'urgent', mode: 'AND' }
801
+ * Free text to match in searchable fields.
803
802
  */
804
803
  search?: SearchDetails<Spec>;
805
804
  /**
806
- * Aggregations for data analysis
807
- * Aggregations provide summaries about data partitions
805
+ * 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.
808
806
  */
809
807
  aggregations?: Aggregation<Spec>[];
810
808
  /**
811
- * Timezone for date-related queries
812
- * Affects how date fields are interpreted
809
+ * UTC offset or IANA time zone. Valid values are
810
+ * ISO 8601 UTC offsets, such as +02:00 or -06:00,
811
+ * and IANA time zone IDs, such as Europe/Rome
812
+ *
813
+ * Affects all filters and aggregations returned values.
814
+ * You may override this behavior in a specific filter by providing
815
+ * timestamps including time zone. e.g. `"2023-12-20T10:52:34.795Z"`
813
816
  */
814
817
  timeZone?: string | null;
815
818
  };
@@ -410,11 +410,13 @@ type OperatorForArrayFiltering = '$matchItems';
410
410
  * Cursor-based paging configuration
411
411
  */
412
412
  interface CursorPaging {
413
- /** Maximum number of items to return in the results (0-100) */
413
+ /** Maximum number of items to return in the results. */
414
414
  limit?: number | null;
415
415
  /**
416
- * Pointer to the next or previous page in the results
417
- * Pass the cursor token from the pagingMetadata of the previous response
416
+ * Pointer to the next or previous page in the list of results.
417
+ *
418
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
419
+ * Not relevant for the first request.
418
420
  */
419
421
  cursor?: string | null;
420
422
  }
@@ -760,8 +762,7 @@ type Aggregation<Spec extends SearchSpec> = BaseAggregation<Spec> | {
760
762
  */
761
763
  interface SearchDetails<Spec extends SearchSpec> {
762
764
  /**
763
- * The search query text
764
- * @example 'urgent task'
765
+ * Search term or expression.
765
766
  */
766
767
  expression?: string | null;
767
768
  /**
@@ -771,8 +772,7 @@ interface SearchDetails<Spec extends SearchSpec> {
771
772
  */
772
773
  mode?: 'AND' | 'OR';
773
774
  /**
774
- * Fields to search within
775
- * If not specified, searches all searchable fields
775
+ Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path.
776
776
  */
777
777
  fields?: SearchableFields<Spec>[];
778
778
  /**
@@ -788,28 +788,31 @@ interface SearchDetails<Spec extends SearchSpec> {
788
788
  */
789
789
  type BaseSearch<Entity, Spec extends SearchSpec> = {
790
790
  /**
791
- * Filter conditions for the search
792
- * @example { status: { $eq: 'PUBLISHED' } }
791
+ * Filter object.
792
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
793
793
  */
794
794
  filter?: Filter<Entity, Spec>;
795
795
  /**
796
- * Sorting options for the results
797
- * @example [{ fieldName: 'createdAt', order: 'DESC' }]
796
+ * List of sort objects.
797
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
798
798
  */
799
799
  sort?: Sorting<Spec>[];
800
800
  /**
801
- * Full-text search configuration
802
- * @example { expression: 'urgent', mode: 'AND' }
801
+ * Free text to match in searchable fields.
803
802
  */
804
803
  search?: SearchDetails<Spec>;
805
804
  /**
806
- * Aggregations for data analysis
807
- * Aggregations provide summaries about data partitions
805
+ * 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.
808
806
  */
809
807
  aggregations?: Aggregation<Spec>[];
810
808
  /**
811
- * Timezone for date-related queries
812
- * Affects how date fields are interpreted
809
+ * UTC offset or IANA time zone. Valid values are
810
+ * ISO 8601 UTC offsets, such as +02:00 or -06:00,
811
+ * and IANA time zone IDs, such as Europe/Rome
812
+ *
813
+ * Affects all filters and aggregations returned values.
814
+ * You may override this behavior in a specific filter by providing
815
+ * timestamps including time zone. e.g. `"2023-12-20T10:52:34.795Z"`
813
816
  */
814
817
  timeZone?: string | null;
815
818
  };
@@ -410,11 +410,13 @@ type OperatorForArrayFiltering = '$matchItems';
410
410
  * Cursor-based paging configuration
411
411
  */
412
412
  interface CursorPaging {
413
- /** Maximum number of items to return in the results (0-100) */
413
+ /** Maximum number of items to return in the results. */
414
414
  limit?: number | null;
415
415
  /**
416
- * Pointer to the next or previous page in the results
417
- * Pass the cursor token from the pagingMetadata of the previous response
416
+ * Pointer to the next or previous page in the list of results.
417
+ *
418
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
419
+ * Not relevant for the first request.
418
420
  */
419
421
  cursor?: string | null;
420
422
  }
@@ -760,8 +762,7 @@ type Aggregation<Spec extends SearchSpec> = BaseAggregation<Spec> | {
760
762
  */
761
763
  interface SearchDetails<Spec extends SearchSpec> {
762
764
  /**
763
- * The search query text
764
- * @example 'urgent task'
765
+ * Search term or expression.
765
766
  */
766
767
  expression?: string | null;
767
768
  /**
@@ -771,8 +772,7 @@ interface SearchDetails<Spec extends SearchSpec> {
771
772
  */
772
773
  mode?: 'AND' | 'OR';
773
774
  /**
774
- * Fields to search within
775
- * If not specified, searches all searchable fields
775
+ Fields to search in. If empty - will search in all searchable fields. Use dot notation to specify json path.
776
776
  */
777
777
  fields?: SearchableFields<Spec>[];
778
778
  /**
@@ -788,28 +788,31 @@ interface SearchDetails<Spec extends SearchSpec> {
788
788
  */
789
789
  type BaseSearch<Entity, Spec extends SearchSpec> = {
790
790
  /**
791
- * Filter conditions for the search
792
- * @example { status: { $eq: 'PUBLISHED' } }
791
+ * Filter object.
792
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
793
793
  */
794
794
  filter?: Filter<Entity, Spec>;
795
795
  /**
796
- * Sorting options for the results
797
- * @example [{ fieldName: 'createdAt', order: 'DESC' }]
796
+ * List of sort objects.
797
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
798
798
  */
799
799
  sort?: Sorting<Spec>[];
800
800
  /**
801
- * Full-text search configuration
802
- * @example { expression: 'urgent', mode: 'AND' }
801
+ * Free text to match in searchable fields.
803
802
  */
804
803
  search?: SearchDetails<Spec>;
805
804
  /**
806
- * Aggregations for data analysis
807
- * Aggregations provide summaries about data partitions
805
+ * 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.
808
806
  */
809
807
  aggregations?: Aggregation<Spec>[];
810
808
  /**
811
- * Timezone for date-related queries
812
- * Affects how date fields are interpreted
809
+ * UTC offset or IANA time zone. Valid values are
810
+ * ISO 8601 UTC offsets, such as +02:00 or -06:00,
811
+ * and IANA time zone IDs, such as Europe/Rome
812
+ *
813
+ * Affects all filters and aggregations returned values.
814
+ * You may override this behavior in a specific filter by providing
815
+ * timestamps including time zone. e.g. `"2023-12-20T10:52:34.795Z"`
813
816
  */
814
817
  timeZone?: string | null;
815
818
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/sdk-types",
3
- "version": "1.13.19",
3
+ "version": "1.13.21",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Ronny Ringel",
@@ -61,5 +61,5 @@
61
61
  "wallaby": {
62
62
  "autoDetect": true
63
63
  },
64
- "falconPackageHash": "7a9d971b38d916a059cf9a4b6cd600f6d34c4e03f063d6ece5cc1bb4"
64
+ "falconPackageHash": "694788ef9dc33a22b172466ce303ac8bf4f7538d4f9175e592c02b63"
65
65
  }