@wix/stores 1.0.272 → 1.0.274

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.
@@ -15,7 +15,7 @@ interface WishlistItem$1 {
15
15
  * The data the item was save to the list
16
16
  * @readonly
17
17
  */
18
- dateAdded?: Date;
18
+ dateAdded?: Date | null;
19
19
  /** The type of the item. For example "product" */
20
20
  type?: string;
21
21
  /** The origin of the item. Should be the scope the item type is related to. For example "wixstores" */
@@ -72,7 +72,7 @@ interface WishlistItem {
72
72
  * The data the item was save to the list
73
73
  * @readonly
74
74
  */
75
- dateAdded?: Date;
75
+ dateAdded?: Date | null;
76
76
  /** The type of the item. For example "product" */
77
77
  type?: string;
78
78
  /** The origin of the item. Should be the scope the item type is related to. For example "wixstores" */
@@ -699,12 +699,12 @@ interface Product$5 {
699
699
  * Date and time the product was last updated.
700
700
  * @readonly
701
701
  */
702
- lastUpdated?: Date;
702
+ lastUpdated?: Date | null;
703
703
  /**
704
704
  * Date and time the product was created.
705
705
  * @readonly
706
706
  */
707
- createdDate?: Date;
707
+ createdDate?: Date | null;
708
708
  /** Custom SEO data for the product. */
709
709
  seoData?: SeoSchema$3;
710
710
  /** Product ribbon. Used to highlight relevant information about a product. For example, "Sale", "New Arrival", "Sold Out". */
@@ -2102,12 +2102,12 @@ interface Product$4 {
2102
2102
  * Date and time the product was last updated.
2103
2103
  * @readonly
2104
2104
  */
2105
- lastUpdated?: Date;
2105
+ lastUpdated?: Date | null;
2106
2106
  /**
2107
2107
  * Date and time the product was created.
2108
2108
  * @readonly
2109
2109
  */
2110
- _createdDate?: Date;
2110
+ _createdDate?: Date | null;
2111
2111
  /** Custom SEO data for the product. */
2112
2112
  seoData?: SeoSchema$2;
2113
2113
  /** Product ribbon. Used to highlight relevant information about a product. For example, "Sale", "New Arrival", "Sold Out". */
@@ -3442,12 +3442,12 @@ interface Brand$3 {
3442
3442
  * Date and time the brand was created.
3443
3443
  * @readonly
3444
3444
  */
3445
- createdDate?: Date;
3445
+ createdDate?: Date | null;
3446
3446
  /**
3447
3447
  * Date and time the brand was updated.
3448
3448
  * @readonly
3449
3449
  */
3450
- updatedDate?: Date;
3450
+ updatedDate?: Date | null;
3451
3451
  /**
3452
3452
  * Brand name.
3453
3453
  * >**Note:** `name` must be unique.
@@ -3786,12 +3786,12 @@ interface Brand$2 {
3786
3786
  * Date and time the brand was created.
3787
3787
  * @readonly
3788
3788
  */
3789
- _createdDate?: Date;
3789
+ _createdDate?: Date | null;
3790
3790
  /**
3791
3791
  * Date and time the brand was updated.
3792
3792
  * @readonly
3793
3793
  */
3794
- _updatedDate?: Date;
3794
+ _updatedDate?: Date | null;
3795
3795
  /**
3796
3796
  * Brand name.
3797
3797
  * >**Note:** `name` must be unique.
@@ -4183,12 +4183,12 @@ interface Customization$1 extends CustomizationCustomizationSettingsOneOf$1 {
4183
4183
  * Date and time the customization was created.
4184
4184
  * @readonly
4185
4185
  */
4186
- createdDate?: Date;
4186
+ createdDate?: Date | null;
4187
4187
  /**
4188
4188
  * Date and time the customization was updated.
4189
4189
  * @readonly
4190
4190
  */
4191
- updatedDate?: Date;
4191
+ updatedDate?: Date | null;
4192
4192
  /** Customization name for options (for example, `"color"`, `"size"`) and modifiers (for example, `"greeting card"`). */
4193
4193
  name?: string;
4194
4194
  /** Customization type. */
@@ -4690,12 +4690,12 @@ interface Customization extends CustomizationCustomizationSettingsOneOf {
4690
4690
  * Date and time the customization was created.
4691
4691
  * @readonly
4692
4692
  */
4693
- _createdDate?: Date;
4693
+ _createdDate?: Date | null;
4694
4694
  /**
4695
4695
  * Date and time the customization was updated.
4696
4696
  * @readonly
4697
4697
  */
4698
- _updatedDate?: Date;
4698
+ _updatedDate?: Date | null;
4699
4699
  /** Customization name for options (for example, `"color"`, `"size"`) and modifiers (for example, `"greeting card"`). */
4700
4700
  name?: string;
4701
4701
  /** Customization type. */
@@ -5228,12 +5228,12 @@ interface InfoSection$3 {
5228
5228
  * Date and time the info section was created.
5229
5229
  * @readonly
5230
5230
  */
5231
- createdDate?: Date;
5231
+ createdDate?: Date | null;
5232
5232
  /**
5233
5233
  * Date and time the info section was updated.
5234
5234
  * @readonly
5235
5235
  */
5236
- updatedDate?: Date;
5236
+ updatedDate?: Date | null;
5237
5237
  /** Unique name. Used as an identifier. */
5238
5238
  uniqueName?: string;
5239
5239
  /** Info section title. */
@@ -6435,12 +6435,12 @@ interface Metadata$3 {
6435
6435
  * @readonly
6436
6436
  * @deprecated
6437
6437
  */
6438
- createdTimestamp?: Date;
6438
+ createdTimestamp?: Date | null;
6439
6439
  /**
6440
6440
  * When the object was most recently updated.
6441
6441
  * @deprecated
6442
6442
  */
6443
- updatedTimestamp?: Date;
6443
+ updatedTimestamp?: Date | null;
6444
6444
  /** Object ID. */
6445
6445
  id?: string | null;
6446
6446
  }
@@ -7083,12 +7083,12 @@ interface InfoSection$2 {
7083
7083
  * Date and time the info section was created.
7084
7084
  * @readonly
7085
7085
  */
7086
- _createdDate?: Date;
7086
+ _createdDate?: Date | null;
7087
7087
  /**
7088
7088
  * Date and time the info section was updated.
7089
7089
  * @readonly
7090
7090
  */
7091
- _updatedDate?: Date;
7091
+ _updatedDate?: Date | null;
7092
7092
  /** Unique name. Used as an identifier. */
7093
7093
  uniqueName?: string;
7094
7094
  /** Info section title. */
@@ -8290,12 +8290,12 @@ interface Metadata$2 {
8290
8290
  * @readonly
8291
8291
  * @deprecated
8292
8292
  */
8293
- createdTimestamp?: Date;
8293
+ createdTimestamp?: Date | null;
8294
8294
  /**
8295
8295
  * When the object was most recently updated.
8296
8296
  * @deprecated
8297
8297
  */
8298
- updatedTimestamp?: Date;
8298
+ updatedTimestamp?: Date | null;
8299
8299
  /** Object ID. */
8300
8300
  _id?: string | null;
8301
8301
  }
@@ -8988,12 +8988,12 @@ interface InventoryItem$3 extends InventoryItemTrackingMethodOneOf$3 {
8988
8988
  * Date and time the inventory item was created.
8989
8989
  * @readonly
8990
8990
  */
8991
- createdDate?: Date;
8991
+ createdDate?: Date | null;
8992
8992
  /**
8993
8993
  * Date and time the inventory item was created.
8994
8994
  * @readonly
8995
8995
  */
8996
- updatedDate?: Date;
8996
+ updatedDate?: Date | null;
8997
8997
  /** Variant ID. */
8998
8998
  variantId?: string;
8999
8999
  /** Stores location ID. */
@@ -10071,12 +10071,12 @@ interface InventoryItem$2 extends InventoryItemTrackingMethodOneOf$2 {
10071
10071
  * Date and time the inventory item was created.
10072
10072
  * @readonly
10073
10073
  */
10074
- _createdDate?: Date;
10074
+ _createdDate?: Date | null;
10075
10075
  /**
10076
10076
  * Date and time the inventory item was created.
10077
10077
  * @readonly
10078
10078
  */
10079
- _updatedDate?: Date;
10079
+ _updatedDate?: Date | null;
10080
10080
  /** Variant ID. */
10081
10081
  variantId?: string;
10082
10082
  /** Stores location ID. */
@@ -11196,12 +11196,12 @@ interface V3Product$1 extends V3ProductTypedPropertiesOneOf$1 {
11196
11196
  * Date and time the product was created.
11197
11197
  * @readonly
11198
11198
  */
11199
- createdDate?: Date;
11199
+ createdDate?: Date | null;
11200
11200
  /**
11201
11201
  * Date and time the product was updated.
11202
11202
  * @readonly
11203
11203
  */
11204
- updatedDate?: Date;
11204
+ updatedDate?: Date | null;
11205
11205
  /** Product name. Translatable. */
11206
11206
  name?: string | null;
11207
11207
  /**
@@ -12563,12 +12563,12 @@ interface Metadata$1 {
12563
12563
  * @readonly
12564
12564
  * @deprecated
12565
12565
  */
12566
- createdTimestamp?: Date;
12566
+ createdTimestamp?: Date | null;
12567
12567
  /**
12568
12568
  * When the object was most recently updated.
12569
12569
  * @deprecated
12570
12570
  */
12571
- updatedTimestamp?: Date;
12571
+ updatedTimestamp?: Date | null;
12572
12572
  /** Object ID. */
12573
12573
  id?: string | null;
12574
12574
  }
@@ -13853,12 +13853,12 @@ interface InventoryItem$1 extends InventoryItemTrackingMethodOneOf$1 {
13853
13853
  * Date and time the inventory item was created.
13854
13854
  * @readonly
13855
13855
  */
13856
- createdDate?: Date;
13856
+ createdDate?: Date | null;
13857
13857
  /**
13858
13858
  * Date and time the inventory item was created.
13859
13859
  * @readonly
13860
13860
  */
13861
- updatedDate?: Date;
13861
+ updatedDate?: Date | null;
13862
13862
  /** Variant ID. */
13863
13863
  variantId?: string;
13864
13864
  /** Stores location ID. */
@@ -15623,12 +15623,12 @@ interface V3Product extends V3ProductTypedPropertiesOneOf {
15623
15623
  * Date and time the product was created.
15624
15624
  * @readonly
15625
15625
  */
15626
- _createdDate?: Date;
15626
+ _createdDate?: Date | null;
15627
15627
  /**
15628
15628
  * Date and time the product was updated.
15629
15629
  * @readonly
15630
15630
  */
15631
- _updatedDate?: Date;
15631
+ _updatedDate?: Date | null;
15632
15632
  /** Product name. Translatable. */
15633
15633
  name?: string | null;
15634
15634
  /**
@@ -16984,12 +16984,12 @@ interface Metadata {
16984
16984
  * @readonly
16985
16985
  * @deprecated
16986
16986
  */
16987
- createdTimestamp?: Date;
16987
+ createdTimestamp?: Date | null;
16988
16988
  /**
16989
16989
  * When the object was most recently updated.
16990
16990
  * @deprecated
16991
16991
  */
16992
- updatedTimestamp?: Date;
16992
+ updatedTimestamp?: Date | null;
16993
16993
  /** Object ID. */
16994
16994
  _id?: string | null;
16995
16995
  }
@@ -18227,12 +18227,12 @@ interface InventoryItem extends InventoryItemTrackingMethodOneOf {
18227
18227
  * Date and time the inventory item was created.
18228
18228
  * @readonly
18229
18229
  */
18230
- _createdDate?: Date;
18230
+ _createdDate?: Date | null;
18231
18231
  /**
18232
18232
  * Date and time the inventory item was created.
18233
18233
  * @readonly
18234
18234
  */
18235
- _updatedDate?: Date;
18235
+ _updatedDate?: Date | null;
18236
18236
  /** Variant ID. */
18237
18237
  variantId?: string;
18238
18238
  /** Stores location ID. */
@@ -20094,12 +20094,12 @@ interface Ribbon$1 {
20094
20094
  * Date and time the ribbon was created.
20095
20095
  * @readonly
20096
20096
  */
20097
- createdDate?: Date;
20097
+ createdDate?: Date | null;
20098
20098
  /**
20099
20099
  * Date and time the ribbon was updated.
20100
20100
  * @readonly
20101
20101
  */
20102
- updatedDate?: Date;
20102
+ updatedDate?: Date | null;
20103
20103
  /** Ribbon name. */
20104
20104
  name?: string;
20105
20105
  /**
@@ -20432,12 +20432,12 @@ interface Ribbon {
20432
20432
  * Date and time the ribbon was created.
20433
20433
  * @readonly
20434
20434
  */
20435
- _createdDate?: Date;
20435
+ _createdDate?: Date | null;
20436
20436
  /**
20437
20437
  * Date and time the ribbon was updated.
20438
20438
  * @readonly
20439
20439
  */
20440
- _updatedDate?: Date;
20440
+ _updatedDate?: Date | null;
20441
20441
  /** Ribbon name. */
20442
20442
  name?: string;
20443
20443
  /**
@@ -20811,12 +20811,12 @@ interface StoresLocation$1 {
20811
20811
  * Date and time the Stores location was created.
20812
20812
  * @readonly
20813
20813
  */
20814
- createdDate?: Date;
20814
+ createdDate?: Date | null;
20815
20815
  /**
20816
20816
  * Date and time the Stores location was last updated.
20817
20817
  * @readonly
20818
20818
  */
20819
- updatedDate?: Date;
20819
+ updatedDate?: Date | null;
20820
20820
  /**
20821
20821
  * Wix location ID.
20822
20822
  * Learn more about the [Locations API](https://dev.wix.com/docs/rest/business-management/locations/introduction).
@@ -20959,12 +20959,12 @@ interface StoresLocation {
20959
20959
  * Date and time the Stores location was created.
20960
20960
  * @readonly
20961
20961
  */
20962
- _createdDate?: Date;
20962
+ _createdDate?: Date | null;
20963
20963
  /**
20964
20964
  * Date and time the Stores location was last updated.
20965
20965
  * @readonly
20966
20966
  */
20967
- _updatedDate?: Date;
20967
+ _updatedDate?: Date | null;
20968
20968
  /**
20969
20969
  * Wix location ID.
20970
20970
  * Learn more about the [Locations API](https://dev.wix.com/docs/rest/business-management/locations/introduction).
@@ -21651,7 +21651,7 @@ interface InventoryItemV2$1 {
21651
21651
  * Last updated timestamp.
21652
21652
  * @readonly
21653
21653
  */
21654
- lastUpdated?: Date;
21654
+ lastUpdated?: Date | null;
21655
21655
  /**
21656
21656
  * Inventory’s unique numeric ID (assigned in ascending order).
21657
21657
  * Primarily for sorting and filtering when crawling all inventories.
@@ -21865,7 +21865,7 @@ interface InventoryItemV2 {
21865
21865
  * Last updated timestamp.
21866
21866
  * @readonly
21867
21867
  */
21868
- lastUpdated?: Date;
21868
+ lastUpdated?: Date | null;
21869
21869
  /**
21870
21870
  * Inventory’s unique numeric ID (assigned in ascending order).
21871
21871
  * Primarily for sorting and filtering when crawling all inventories.