@wix/motion 1.0.52 → 1.0.54

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.
@@ -9,7 +9,7 @@ interface AlarmRequest$1 {
9
9
  someOtherField?: string;
10
10
  }
11
11
  interface AlarmResponse$1 {
12
- time?: Date;
12
+ time?: Date | null;
13
13
  }
14
14
  interface UpdateAlarmRequest$1 {
15
15
  alarm: AlarmMessage$1;
@@ -36,7 +36,7 @@ interface AlarmRequest {
36
36
  someOtherField?: string;
37
37
  }
38
38
  interface AlarmResponse {
39
- time?: Date;
39
+ time?: Date | null;
40
40
  }
41
41
  interface UpdateAlarmRequest {
42
42
  alarm: AlarmMessage;
@@ -94,7 +94,7 @@ interface EchoRequest$1 {
94
94
  /** this field test translatable annotation */
95
95
  titleField?: string;
96
96
  someInt32?: number;
97
- someDate?: Date;
97
+ someDate?: Date | null;
98
98
  }
99
99
  interface EchoResponse$1 {
100
100
  /** message result as EchoMessage */
@@ -123,7 +123,7 @@ interface EchoRequest {
123
123
  /** this field test translatable annotation */
124
124
  titleField?: string;
125
125
  someInt32?: number;
126
- someDate?: Date;
126
+ someDate?: Date | null;
127
127
  }
128
128
  interface EchoResponse {
129
129
  /** message result as EchoMessage */
@@ -171,8 +171,8 @@ interface Product$1 {
171
171
  title?: string | null;
172
172
  id?: string;
173
173
  collectionId?: string;
174
- createdDate?: Date;
175
- modifiedDate?: Date;
174
+ createdDate?: Date | null;
175
+ modifiedDate?: Date | null;
176
176
  image?: Image;
177
177
  address?: Address$1;
178
178
  document?: Document;
@@ -383,17 +383,15 @@ interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
383
383
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
384
384
  cursorPaging?: CursorPaging$1;
385
385
  /**
386
- * Filter object in the following format:
387
- * `"filter" : {
388
- * "fieldName1": "value1",
389
- * "fieldName2":{"$operator":"value2"}
390
- * }`
391
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
386
+ * Filter object.
387
+ *
388
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
392
389
  */
393
390
  filter?: Record<string, any> | null;
394
391
  /**
395
- * Sort object in the following format:
396
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
392
+ * Sort object.
393
+ *
394
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
397
395
  */
398
396
  sort?: Sorting$1[];
399
397
  /** 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. */
@@ -759,17 +757,15 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
759
757
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
760
758
  cursorPaging?: CursorPaging;
761
759
  /**
762
- * Filter object in the following format:
763
- * `"filter" : {
764
- * "fieldName1": "value1",
765
- * "fieldName2":{"$operator":"value2"}
766
- * }`
767
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
760
+ * Filter object.
761
+ *
762
+ * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
768
763
  */
769
764
  filter?: Record<string, any> | null;
770
765
  /**
771
- * Sort object in the following format:
772
- * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
766
+ * Sort object.
767
+ *
768
+ * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
773
769
  */
774
770
  sort?: Sorting[];
775
771
  /** 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. */
@@ -992,8 +988,8 @@ interface Product {
992
988
  _id: string;
993
989
  name: string | null;
994
990
  collectionId: string;
995
- _createdDate: Date;
996
- modifiedDate: Date;
991
+ _createdDate: Date | null;
992
+ modifiedDate: Date | null;
997
993
  image: string;
998
994
  address: Address;
999
995
  document: string;