@wix/stores 1.0.315 → 1.0.316

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.315",
3
+ "version": "1.0.316",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -29,7 +29,7 @@
29
29
  "@wix/stores_inventory": "1.0.68",
30
30
  "@wix/stores_inventory-items-v-3": "1.0.37",
31
31
  "@wix/stores_products": "1.0.93",
32
- "@wix/stores_products-v-3": "1.0.80",
32
+ "@wix/stores_products-v-3": "1.0.81",
33
33
  "@wix/stores_ribbons-v-3": "1.0.26",
34
34
  "@wix/stores_stores-locations-v-3": "1.0.32",
35
35
  "@wix/stores_subscription-options": "1.0.50",
@@ -58,5 +58,5 @@
58
58
  "fqdn": ""
59
59
  }
60
60
  },
61
- "falconPackageHash": "8b112c57f93f8f07f1823a101d7d4d8656a886b846a74c6dfaf6e327"
61
+ "falconPackageHash": "67c375bcb2d5f901fedc3736914a6df34a25226f2303f3c31ee04abb"
62
62
  }
@@ -14168,15 +14168,29 @@ interface BulkUpdateProductVariantsByFilterResponse {
14168
14168
  interface V3BulkAdjustProductVariantsByFilterRequest {
14169
14169
  /** Filter object. */
14170
14170
  filter: Record<string, any> | null;
14171
- /** Base price adjustment. */
14171
+ /**
14172
+ * Base price adjustment.
14173
+ * @deprecated Base price adjustment.
14174
+ * @replacedBy compare_at_price
14175
+ * @targetRemovalDate 2024-12-31
14176
+ */
14172
14177
  basePrice?: V3AdjustValue;
14173
- /** Sale price adjustment. */
14178
+ /**
14179
+ * Sale price adjustment.
14180
+ * @deprecated Sale price adjustment.
14181
+ * @replacedBy actual_price
14182
+ * @targetRemovalDate 2024-12-31
14183
+ */
14174
14184
  salePrice?: V3AdjustValue;
14175
14185
  /** Cost adjustment. */
14176
14186
  cost?: V3AdjustValue;
14177
14187
  /**
14178
14188
  * Set variant sale price from base price by applying provided discount to it.
14179
14189
  * For example variant base price 100$, variant sale price 95$, requested `salePriceFromBasePrice.percentage` is 10, then old sale price ignored and new sale price set to 90 (100$ - 10%).
14190
+ * @deprecated Set variant sale price from base price by applying provided discount to it.
14191
+ * For example variant base price 100$, variant sale price 95$, requested `salePriceFromBasePrice.percentage` is 10, then old sale price ignored and new sale price set to 90 (100$ - 10%).
14192
+ * @replacedBy actual_price_from_compare_at_price
14193
+ * @targetRemovalDate 2024-12-31
14180
14194
  */
14181
14195
  salePriceFromBasePrice?: V3UnsignedAdjustValue;
14182
14196
  /**
@@ -14189,6 +14203,16 @@ interface V3BulkAdjustProductVariantsByFilterRequest {
14189
14203
  rounding?: BulkAdjustProductVariantsByFilterRequestRoundingStrategy;
14190
14204
  /** Free text to match in searchable fields. */
14191
14205
  search?: WixCommonSearchDetails;
14206
+ /** Actual price adjustment. */
14207
+ actualPrice?: V3AdjustValue;
14208
+ /** Compare at price adjustment. */
14209
+ compareAtPrice?: V3AdjustValue;
14210
+ /**
14211
+ * Set variant actual_price from compare_at_price by applying provided discount to it.
14212
+ * if compare-at-price doesn't exist, actual_price will be set to compare_at_price and the discount will be calculated from it.
14213
+ * For example variant compare at price 100$, variant actual price is 95$, requested `salePriceFromBasePrice.percentage` is 10, then old actual price ignored and new actual price set to 90 (100$ - 10%).
14214
+ */
14215
+ compareAtPriceDiscount?: V3UnsignedAdjustValue;
14192
14216
  }
14193
14217
  interface V3AdjustValue extends V3AdjustValueAdjustValueOneOf {
14194
14218
  /** A decimal value to increase or reduce from the original value, can be negative. */
@@ -16917,15 +16941,29 @@ interface BulkUpdateProductVariantsByFilterOptions {
16917
16941
  search?: WixCommonSearchDetails;
16918
16942
  }
16919
16943
  interface BulkAdjustProductVariantsByFilterOptions {
16920
- /** Base price adjustment. */
16944
+ /**
16945
+ * Base price adjustment.
16946
+ * @deprecated Base price adjustment.
16947
+ * @replacedBy compare_at_price
16948
+ * @targetRemovalDate 2024-12-31
16949
+ */
16921
16950
  basePrice?: V3AdjustValue;
16922
- /** Sale price adjustment. */
16951
+ /**
16952
+ * Sale price adjustment.
16953
+ * @deprecated Sale price adjustment.
16954
+ * @replacedBy actual_price
16955
+ * @targetRemovalDate 2024-12-31
16956
+ */
16923
16957
  salePrice?: V3AdjustValue;
16924
16958
  /** Cost adjustment. */
16925
16959
  cost?: V3AdjustValue;
16926
16960
  /**
16927
16961
  * Set variant sale price from base price by applying provided discount to it.
16928
16962
  * For example variant base price 100$, variant sale price 95$, requested `salePriceFromBasePrice.percentage` is 10, then old sale price ignored and new sale price set to 90 (100$ - 10%).
16963
+ * @deprecated Set variant sale price from base price by applying provided discount to it.
16964
+ * For example variant base price 100$, variant sale price 95$, requested `salePriceFromBasePrice.percentage` is 10, then old sale price ignored and new sale price set to 90 (100$ - 10%).
16965
+ * @replacedBy actual_price_from_compare_at_price
16966
+ * @targetRemovalDate 2024-12-31
16929
16967
  */
16930
16968
  salePriceFromBasePrice?: V3UnsignedAdjustValue;
16931
16969
  /**
@@ -16938,6 +16976,16 @@ interface BulkAdjustProductVariantsByFilterOptions {
16938
16976
  rounding?: BulkAdjustProductVariantsByFilterRequestRoundingStrategy;
16939
16977
  /** Free text to match in searchable fields. */
16940
16978
  search?: WixCommonSearchDetails;
16979
+ /** Actual price adjustment. */
16980
+ actualPrice?: V3AdjustValue;
16981
+ /** Compare at price adjustment. */
16982
+ compareAtPrice?: V3AdjustValue;
16983
+ /**
16984
+ * Set variant actual_price from compare_at_price by applying provided discount to it.
16985
+ * if compare-at-price doesn't exist, actual_price will be set to compare_at_price and the discount will be calculated from it.
16986
+ * For example variant compare at price 100$, variant actual price is 95$, requested `salePriceFromBasePrice.percentage` is 10, then old actual price ignored and new actual price set to 90 (100$ - 10%).
16987
+ */
16988
+ compareAtPriceDiscount?: V3UnsignedAdjustValue;
16941
16989
  }
16942
16990
  interface BulkAddInfoSectionsToProductsByFilterOptions {
16943
16991
  /** IDs of the info sections to add. */
@@ -14168,15 +14168,29 @@ interface BulkUpdateProductVariantsByFilterResponse {
14168
14168
  interface V3BulkAdjustProductVariantsByFilterRequest {
14169
14169
  /** Filter object. */
14170
14170
  filter: Record<string, any> | null;
14171
- /** Base price adjustment. */
14171
+ /**
14172
+ * Base price adjustment.
14173
+ * @deprecated Base price adjustment.
14174
+ * @replacedBy compare_at_price
14175
+ * @targetRemovalDate 2024-12-31
14176
+ */
14172
14177
  basePrice?: V3AdjustValue;
14173
- /** Sale price adjustment. */
14178
+ /**
14179
+ * Sale price adjustment.
14180
+ * @deprecated Sale price adjustment.
14181
+ * @replacedBy actual_price
14182
+ * @targetRemovalDate 2024-12-31
14183
+ */
14174
14184
  salePrice?: V3AdjustValue;
14175
14185
  /** Cost adjustment. */
14176
14186
  cost?: V3AdjustValue;
14177
14187
  /**
14178
14188
  * Set variant sale price from base price by applying provided discount to it.
14179
14189
  * For example variant base price 100$, variant sale price 95$, requested `salePriceFromBasePrice.percentage` is 10, then old sale price ignored and new sale price set to 90 (100$ - 10%).
14190
+ * @deprecated Set variant sale price from base price by applying provided discount to it.
14191
+ * For example variant base price 100$, variant sale price 95$, requested `salePriceFromBasePrice.percentage` is 10, then old sale price ignored and new sale price set to 90 (100$ - 10%).
14192
+ * @replacedBy actual_price_from_compare_at_price
14193
+ * @targetRemovalDate 2024-12-31
14180
14194
  */
14181
14195
  salePriceFromBasePrice?: V3UnsignedAdjustValue;
14182
14196
  /**
@@ -14189,6 +14203,16 @@ interface V3BulkAdjustProductVariantsByFilterRequest {
14189
14203
  rounding?: BulkAdjustProductVariantsByFilterRequestRoundingStrategy;
14190
14204
  /** Free text to match in searchable fields. */
14191
14205
  search?: WixCommonSearchDetails;
14206
+ /** Actual price adjustment. */
14207
+ actualPrice?: V3AdjustValue;
14208
+ /** Compare at price adjustment. */
14209
+ compareAtPrice?: V3AdjustValue;
14210
+ /**
14211
+ * Set variant actual_price from compare_at_price by applying provided discount to it.
14212
+ * if compare-at-price doesn't exist, actual_price will be set to compare_at_price and the discount will be calculated from it.
14213
+ * For example variant compare at price 100$, variant actual price is 95$, requested `salePriceFromBasePrice.percentage` is 10, then old actual price ignored and new actual price set to 90 (100$ - 10%).
14214
+ */
14215
+ compareAtPriceDiscount?: V3UnsignedAdjustValue;
14192
14216
  }
14193
14217
  interface V3AdjustValue extends V3AdjustValueAdjustValueOneOf {
14194
14218
  /** A decimal value to increase or reduce from the original value, can be negative. */
@@ -16917,15 +16941,29 @@ interface BulkUpdateProductVariantsByFilterOptions {
16917
16941
  search?: WixCommonSearchDetails;
16918
16942
  }
16919
16943
  interface BulkAdjustProductVariantsByFilterOptions {
16920
- /** Base price adjustment. */
16944
+ /**
16945
+ * Base price adjustment.
16946
+ * @deprecated Base price adjustment.
16947
+ * @replacedBy compare_at_price
16948
+ * @targetRemovalDate 2024-12-31
16949
+ */
16921
16950
  basePrice?: V3AdjustValue;
16922
- /** Sale price adjustment. */
16951
+ /**
16952
+ * Sale price adjustment.
16953
+ * @deprecated Sale price adjustment.
16954
+ * @replacedBy actual_price
16955
+ * @targetRemovalDate 2024-12-31
16956
+ */
16923
16957
  salePrice?: V3AdjustValue;
16924
16958
  /** Cost adjustment. */
16925
16959
  cost?: V3AdjustValue;
16926
16960
  /**
16927
16961
  * Set variant sale price from base price by applying provided discount to it.
16928
16962
  * For example variant base price 100$, variant sale price 95$, requested `salePriceFromBasePrice.percentage` is 10, then old sale price ignored and new sale price set to 90 (100$ - 10%).
16963
+ * @deprecated Set variant sale price from base price by applying provided discount to it.
16964
+ * For example variant base price 100$, variant sale price 95$, requested `salePriceFromBasePrice.percentage` is 10, then old sale price ignored and new sale price set to 90 (100$ - 10%).
16965
+ * @replacedBy actual_price_from_compare_at_price
16966
+ * @targetRemovalDate 2024-12-31
16929
16967
  */
16930
16968
  salePriceFromBasePrice?: V3UnsignedAdjustValue;
16931
16969
  /**
@@ -16938,6 +16976,16 @@ interface BulkAdjustProductVariantsByFilterOptions {
16938
16976
  rounding?: BulkAdjustProductVariantsByFilterRequestRoundingStrategy;
16939
16977
  /** Free text to match in searchable fields. */
16940
16978
  search?: WixCommonSearchDetails;
16979
+ /** Actual price adjustment. */
16980
+ actualPrice?: V3AdjustValue;
16981
+ /** Compare at price adjustment. */
16982
+ compareAtPrice?: V3AdjustValue;
16983
+ /**
16984
+ * Set variant actual_price from compare_at_price by applying provided discount to it.
16985
+ * if compare-at-price doesn't exist, actual_price will be set to compare_at_price and the discount will be calculated from it.
16986
+ * For example variant compare at price 100$, variant actual price is 95$, requested `salePriceFromBasePrice.percentage` is 10, then old actual price ignored and new actual price set to 90 (100$ - 10%).
16987
+ */
16988
+ compareAtPriceDiscount?: V3UnsignedAdjustValue;
16941
16989
  }
16942
16990
  interface BulkAddInfoSectionsToProductsByFilterOptions {
16943
16991
  /** IDs of the info sections to add. */
@@ -14800,15 +14800,29 @@ interface BulkUpdateProductVariantsByFilterResponse$1 {
14800
14800
  interface V3BulkAdjustProductVariantsByFilterRequest$1 {
14801
14801
  /** Filter object. */
14802
14802
  filter: Record<string, any> | null;
14803
- /** Base price adjustment. */
14803
+ /**
14804
+ * Base price adjustment.
14805
+ * @deprecated Base price adjustment.
14806
+ * @replacedBy compare_at_price
14807
+ * @targetRemovalDate 2024-12-31
14808
+ */
14804
14809
  basePrice?: V3AdjustValue$1;
14805
- /** Sale price adjustment. */
14810
+ /**
14811
+ * Sale price adjustment.
14812
+ * @deprecated Sale price adjustment.
14813
+ * @replacedBy actual_price
14814
+ * @targetRemovalDate 2024-12-31
14815
+ */
14806
14816
  salePrice?: V3AdjustValue$1;
14807
14817
  /** Cost adjustment. */
14808
14818
  cost?: V3AdjustValue$1;
14809
14819
  /**
14810
14820
  * Set variant sale price from base price by applying provided discount to it.
14811
14821
  * For example variant base price 100$, variant sale price 95$, requested `salePriceFromBasePrice.percentage` is 10, then old sale price ignored and new sale price set to 90 (100$ - 10%).
14822
+ * @deprecated Set variant sale price from base price by applying provided discount to it.
14823
+ * For example variant base price 100$, variant sale price 95$, requested `salePriceFromBasePrice.percentage` is 10, then old sale price ignored and new sale price set to 90 (100$ - 10%).
14824
+ * @replacedBy actual_price_from_compare_at_price
14825
+ * @targetRemovalDate 2024-12-31
14812
14826
  */
14813
14827
  salePriceFromBasePrice?: V3UnsignedAdjustValue$1;
14814
14828
  /**
@@ -14821,6 +14835,16 @@ interface V3BulkAdjustProductVariantsByFilterRequest$1 {
14821
14835
  rounding?: BulkAdjustProductVariantsByFilterRequestRoundingStrategy$1;
14822
14836
  /** Free text to match in searchable fields. */
14823
14837
  search?: WixCommonSearchDetails$1;
14838
+ /** Actual price adjustment. */
14839
+ actualPrice?: V3AdjustValue$1;
14840
+ /** Compare at price adjustment. */
14841
+ compareAtPrice?: V3AdjustValue$1;
14842
+ /**
14843
+ * Set variant actual_price from compare_at_price by applying provided discount to it.
14844
+ * if compare-at-price doesn't exist, actual_price will be set to compare_at_price and the discount will be calculated from it.
14845
+ * For example variant compare at price 100$, variant actual price is 95$, requested `salePriceFromBasePrice.percentage` is 10, then old actual price ignored and new actual price set to 90 (100$ - 10%).
14846
+ */
14847
+ compareAtPriceDiscount?: V3UnsignedAdjustValue$1;
14824
14848
  }
14825
14849
  interface V3AdjustValue$1 extends V3AdjustValueAdjustValueOneOf$1 {
14826
14850
  /** A decimal value to increase or reduce from the original value, can be negative. */
@@ -19204,15 +19228,29 @@ interface BulkUpdateProductVariantsByFilterResponse {
19204
19228
  interface V3BulkAdjustProductVariantsByFilterRequest {
19205
19229
  /** Filter object. */
19206
19230
  filter: Record<string, any> | null;
19207
- /** Base price adjustment. */
19231
+ /**
19232
+ * Base price adjustment.
19233
+ * @deprecated Base price adjustment.
19234
+ * @replacedBy compare_at_price
19235
+ * @targetRemovalDate 2024-12-31
19236
+ */
19208
19237
  basePrice?: V3AdjustValue;
19209
- /** Sale price adjustment. */
19238
+ /**
19239
+ * Sale price adjustment.
19240
+ * @deprecated Sale price adjustment.
19241
+ * @replacedBy actual_price
19242
+ * @targetRemovalDate 2024-12-31
19243
+ */
19210
19244
  salePrice?: V3AdjustValue;
19211
19245
  /** Cost adjustment. */
19212
19246
  cost?: V3AdjustValue;
19213
19247
  /**
19214
19248
  * Set variant sale price from base price by applying provided discount to it.
19215
19249
  * For example variant base price 100$, variant sale price 95$, requested `salePriceFromBasePrice.percentage` is 10, then old sale price ignored and new sale price set to 90 (100$ - 10%).
19250
+ * @deprecated Set variant sale price from base price by applying provided discount to it.
19251
+ * For example variant base price 100$, variant sale price 95$, requested `salePriceFromBasePrice.percentage` is 10, then old sale price ignored and new sale price set to 90 (100$ - 10%).
19252
+ * @replacedBy actual_price_from_compare_at_price
19253
+ * @targetRemovalDate 2024-12-31
19216
19254
  */
19217
19255
  salePriceFromBasePrice?: V3UnsignedAdjustValue;
19218
19256
  /**
@@ -19225,6 +19263,16 @@ interface V3BulkAdjustProductVariantsByFilterRequest {
19225
19263
  rounding?: BulkAdjustProductVariantsByFilterRequestRoundingStrategy;
19226
19264
  /** Free text to match in searchable fields. */
19227
19265
  search?: WixCommonSearchDetails;
19266
+ /** Actual price adjustment. */
19267
+ actualPrice?: V3AdjustValue;
19268
+ /** Compare at price adjustment. */
19269
+ compareAtPrice?: V3AdjustValue;
19270
+ /**
19271
+ * Set variant actual_price from compare_at_price by applying provided discount to it.
19272
+ * if compare-at-price doesn't exist, actual_price will be set to compare_at_price and the discount will be calculated from it.
19273
+ * For example variant compare at price 100$, variant actual price is 95$, requested `salePriceFromBasePrice.percentage` is 10, then old actual price ignored and new actual price set to 90 (100$ - 10%).
19274
+ */
19275
+ compareAtPriceDiscount?: V3UnsignedAdjustValue;
19228
19276
  }
19229
19277
  interface V3AdjustValue extends V3AdjustValueAdjustValueOneOf {
19230
19278
  /** A decimal value to increase or reduce from the original value, can be negative. */