@wix/stores 1.0.235 → 1.0.237

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/stores",
3
- "version": "1.0.235",
3
+ "version": "1.0.237",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -25,8 +25,8 @@
25
25
  "@wix/stores_info-sections-v-3": "1.0.11",
26
26
  "@wix/stores_inventory": "1.0.39",
27
27
  "@wix/stores_inventory-items-v-3": "1.0.14",
28
- "@wix/stores_products": "1.0.53",
29
- "@wix/stores_products-v-3": "1.0.42",
28
+ "@wix/stores_products": "1.0.54",
29
+ "@wix/stores_products-v-3": "1.0.44",
30
30
  "@wix/stores_ribbons-v-3": "1.0.10",
31
31
  "@wix/stores_stores-locations-v-3": "1.0.11",
32
32
  "@wix/stores_subscription-options": "1.0.35",
@@ -55,5 +55,5 @@
55
55
  "fqdn": ""
56
56
  }
57
57
  },
58
- "falconPackageHash": "bfff9de3518a219352584afdd980ae72f1a2301c4369d7fc92c3240c"
58
+ "falconPackageHash": "97109abeb5d3a2ecef54b575d4c4ccdfd86bf4edd098761e66038025"
59
59
  }
@@ -9875,6 +9875,15 @@ interface V3Product extends V3ProductTypedPropertiesOneOf {
9875
9875
  * @readonly
9876
9876
  */
9877
9877
  url?: string;
9878
+ /**
9879
+ * Product description using rich content.
9880
+ * > **Note:** Returned only when you pass `"DESCRIPTION"` to the `fields` array in Products API requests.
9881
+ *
9882
+ * <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="indent.emoji.divider.codeBlock.file.gallery.giphy.image.table.link.textHighlight.textColor" exampleid="7dc9240e-d548-417a-abcf-0291b68b4303">
9883
+ * <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a>
9884
+ * </widget>
9885
+ */
9886
+ description?: RichContent;
9878
9887
  /**
9879
9888
  * Product description in HTML.
9880
9889
  *
@@ -13214,6 +13223,18 @@ interface WixCommonSorting {
13214
13223
  fieldName?: string;
13215
13224
  /** Sort order. */
13216
13225
  order?: WixCommonSortOrder;
13226
+ /**
13227
+ * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
13228
+ * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
13229
+ *
13230
+ * If multiple filters are provided, they are combined with AND operator.
13231
+ *
13232
+ * Example:
13233
+ * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
13234
+ * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
13235
+ * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
13236
+ */
13237
+ selectItemsBy?: Record<string, any>[] | null;
13217
13238
  }
13218
13239
  declare enum WixCommonSortOrder {
13219
13240
  ASC = "ASC",
@@ -15914,6 +15935,15 @@ interface UpdateProduct {
15914
15935
  * @readonly
15915
15936
  */
15916
15937
  url?: string;
15938
+ /**
15939
+ * Product description using rich content.
15940
+ * > **Note:** Returned only when you pass `"DESCRIPTION"` to the `fields` array in Products API requests.
15941
+ *
15942
+ * <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="indent.emoji.divider.codeBlock.file.gallery.giphy.image.table.link.textHighlight.textColor" exampleid="7dc9240e-d548-417a-abcf-0291b68b4303">
15943
+ * <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a>
15944
+ * </widget>
15945
+ */
15946
+ description?: RichContent;
15917
15947
  /**
15918
15948
  * Product description in HTML.
15919
15949
  *
@@ -9875,6 +9875,15 @@ interface V3Product extends V3ProductTypedPropertiesOneOf {
9875
9875
  * @readonly
9876
9876
  */
9877
9877
  url?: string;
9878
+ /**
9879
+ * Product description using rich content.
9880
+ * > **Note:** Returned only when you pass `"DESCRIPTION"` to the `fields` array in Products API requests.
9881
+ *
9882
+ * <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="indent.emoji.divider.codeBlock.file.gallery.giphy.image.table.link.textHighlight.textColor" exampleid="7dc9240e-d548-417a-abcf-0291b68b4303">
9883
+ * <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a>
9884
+ * </widget>
9885
+ */
9886
+ description?: RichContent;
9878
9887
  /**
9879
9888
  * Product description in HTML.
9880
9889
  *
@@ -13214,6 +13223,18 @@ interface WixCommonSorting {
13214
13223
  fieldName?: string;
13215
13224
  /** Sort order. */
13216
13225
  order?: WixCommonSortOrder;
13226
+ /**
13227
+ * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
13228
+ * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
13229
+ *
13230
+ * If multiple filters are provided, they are combined with AND operator.
13231
+ *
13232
+ * Example:
13233
+ * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
13234
+ * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
13235
+ * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
13236
+ */
13237
+ selectItemsBy?: Record<string, any>[] | null;
13217
13238
  }
13218
13239
  declare enum WixCommonSortOrder {
13219
13240
  ASC = "ASC",
@@ -15914,6 +15935,15 @@ interface UpdateProduct {
15914
15935
  * @readonly
15915
15936
  */
15916
15937
  url?: string;
15938
+ /**
15939
+ * Product description using rich content.
15940
+ * > **Note:** Returned only when you pass `"DESCRIPTION"` to the `fields` array in Products API requests.
15941
+ *
15942
+ * <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="indent.emoji.divider.codeBlock.file.gallery.giphy.image.table.link.textHighlight.textColor" exampleid="7dc9240e-d548-417a-abcf-0291b68b4303">
15943
+ * <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a>
15944
+ * </widget>
15945
+ */
15946
+ description?: RichContent;
15917
15947
  /**
15918
15948
  * Product description in HTML.
15919
15949
  *
@@ -11217,6 +11217,15 @@ interface V3Product$1 extends V3ProductTypedPropertiesOneOf$1 {
11217
11217
  * @readonly
11218
11218
  */
11219
11219
  url?: PageUrlV2;
11220
+ /**
11221
+ * Product description using rich content.
11222
+ * > **Note:** Returned only when you pass `"DESCRIPTION"` to the `fields` array in Products API requests.
11223
+ *
11224
+ * <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="indent.emoji.divider.codeBlock.file.gallery.giphy.image.table.link.textHighlight.textColor" exampleid="7dc9240e-d548-417a-abcf-0291b68b4303">
11225
+ * <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a>
11226
+ * </widget>
11227
+ */
11228
+ description?: RichContent$1;
11220
11229
  /**
11221
11230
  * Product description in HTML.
11222
11231
  *
@@ -14300,6 +14309,18 @@ interface WixCommonSorting$1 {
14300
14309
  fieldName?: string;
14301
14310
  /** Sort order. */
14302
14311
  order?: WixCommonSortOrder$1;
14312
+ /**
14313
+ * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
14314
+ * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
14315
+ *
14316
+ * If multiple filters are provided, they are combined with AND operator.
14317
+ *
14318
+ * Example:
14319
+ * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
14320
+ * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
14321
+ * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
14322
+ */
14323
+ selectItemsBy?: Record<string, any>[] | null;
14303
14324
  }
14304
14325
  declare enum WixCommonSortOrder$1 {
14305
14326
  ASC = "ASC",
@@ -15677,6 +15698,15 @@ interface V3Product extends V3ProductTypedPropertiesOneOf {
15677
15698
  * @readonly
15678
15699
  */
15679
15700
  url?: string;
15701
+ /**
15702
+ * Product description using rich content.
15703
+ * > **Note:** Returned only when you pass `"DESCRIPTION"` to the `fields` array in Products API requests.
15704
+ *
15705
+ * <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="indent.emoji.divider.codeBlock.file.gallery.giphy.image.table.link.textHighlight.textColor" exampleid="7dc9240e-d548-417a-abcf-0291b68b4303">
15706
+ * <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a>
15707
+ * </widget>
15708
+ */
15709
+ description?: RichContent;
15680
15710
  /**
15681
15711
  * Product description in HTML.
15682
15712
  *
@@ -18707,6 +18737,18 @@ interface WixCommonSorting {
18707
18737
  fieldName?: string;
18708
18738
  /** Sort order. */
18709
18739
  order?: WixCommonSortOrder;
18740
+ /**
18741
+ * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
18742
+ * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
18743
+ *
18744
+ * If multiple filters are provided, they are combined with AND operator.
18745
+ *
18746
+ * Example:
18747
+ * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
18748
+ * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
18749
+ * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
18750
+ */
18751
+ selectItemsBy?: Record<string, any>[] | null;
18710
18752
  }
18711
18753
  declare enum WixCommonSortOrder {
18712
18754
  ASC = "ASC",