@wix/auto_sdk_ecom_subscription-contracts 1.0.152 → 1.0.153

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.
@@ -392,6 +392,15 @@ interface OrderLineItem {
392
392
  * @readonly
393
393
  */
394
394
  priceBeforeDiscountsAndTax?: Price;
395
+ /**
396
+ * Catalog price of a single item, with modifiers, before any discounts.
397
+ * When the item is on sale in the catalog, this is the price before the sale.
398
+ *
399
+ * For the price after the sale but before other discounts, see `priceBeforeDiscounts`.
400
+ * @internal
401
+ * @readonly
402
+ */
403
+ fullPrice?: Price;
395
404
  /**
396
405
  * Total price after discounts, and before tax.
397
406
  * @readonly
@@ -2113,19 +2122,7 @@ declare enum DiscountValueType {
2113
2122
  * @documentationMaturity preview
2114
2123
  * @internal
2115
2124
  */
2116
- FIXED_AMOUNT = "FIXED_AMOUNT",
2117
- /**
2118
- * The discount sets the price it applies to a fixed amount.
2119
- * @documentationMaturity preview
2120
- * @internal
2121
- */
2122
- FIXED_PRICE = "FIXED_PRICE",
2123
- /**
2124
- * The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
2125
- * @documentationMaturity preview
2126
- * @internal
2127
- */
2128
- QUANTITY_BASED = "QUANTITY_BASED"
2125
+ FIXED_AMOUNT = "FIXED_AMOUNT"
2129
2126
  }
2130
2127
  /** @enumType */
2131
2128
  type DiscountValueTypeWithLiterals = DiscountValueType;
@@ -392,6 +392,15 @@ interface OrderLineItem {
392
392
  * @readonly
393
393
  */
394
394
  priceBeforeDiscountsAndTax?: Price;
395
+ /**
396
+ * Catalog price of a single item, with modifiers, before any discounts.
397
+ * When the item is on sale in the catalog, this is the price before the sale.
398
+ *
399
+ * For the price after the sale but before other discounts, see `priceBeforeDiscounts`.
400
+ * @internal
401
+ * @readonly
402
+ */
403
+ fullPrice?: Price;
395
404
  /**
396
405
  * Total price after discounts, and before tax.
397
406
  * @readonly
@@ -2154,19 +2163,7 @@ declare enum DiscountValueType {
2154
2163
  * @documentationMaturity preview
2155
2164
  * @internal
2156
2165
  */
2157
- FIXED_AMOUNT = "FIXED_AMOUNT",
2158
- /**
2159
- * The discount sets the price it applies to a fixed amount.
2160
- * @documentationMaturity preview
2161
- * @internal
2162
- */
2163
- FIXED_PRICE = "FIXED_PRICE",
2164
- /**
2165
- * The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
2166
- * @documentationMaturity preview
2167
- * @internal
2168
- */
2169
- QUANTITY_BASED = "QUANTITY_BASED"
2166
+ FIXED_AMOUNT = "FIXED_AMOUNT"
2170
2167
  }
2171
2168
  /** @enumType */
2172
2169
  type DiscountValueTypeWithLiterals = DiscountValueType;
@@ -392,6 +392,15 @@ interface OrderLineItem {
392
392
  * @readonly
393
393
  */
394
394
  priceBeforeDiscountsAndTax?: Price;
395
+ /**
396
+ * Catalog price of a single item, with modifiers, before any discounts.
397
+ * When the item is on sale in the catalog, this is the price before the sale.
398
+ *
399
+ * For the price after the sale but before other discounts, see `priceBeforeDiscounts`.
400
+ * @internal
401
+ * @readonly
402
+ */
403
+ fullPrice?: Price;
395
404
  /**
396
405
  * Total price after discounts, and before tax.
397
406
  * @readonly
@@ -2113,19 +2122,7 @@ declare enum DiscountValueType {
2113
2122
  * @documentationMaturity preview
2114
2123
  * @internal
2115
2124
  */
2116
- FIXED_AMOUNT = "FIXED_AMOUNT",
2117
- /**
2118
- * The discount sets the price it applies to a fixed amount.
2119
- * @documentationMaturity preview
2120
- * @internal
2121
- */
2122
- FIXED_PRICE = "FIXED_PRICE",
2123
- /**
2124
- * The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
2125
- * @documentationMaturity preview
2126
- * @internal
2127
- */
2128
- QUANTITY_BASED = "QUANTITY_BASED"
2125
+ FIXED_AMOUNT = "FIXED_AMOUNT"
2129
2126
  }
2130
2127
  /** @enumType */
2131
2128
  type DiscountValueTypeWithLiterals = DiscountValueType;
@@ -392,6 +392,15 @@ interface OrderLineItem {
392
392
  * @readonly
393
393
  */
394
394
  priceBeforeDiscountsAndTax?: Price;
395
+ /**
396
+ * Catalog price of a single item, with modifiers, before any discounts.
397
+ * When the item is on sale in the catalog, this is the price before the sale.
398
+ *
399
+ * For the price after the sale but before other discounts, see `priceBeforeDiscounts`.
400
+ * @internal
401
+ * @readonly
402
+ */
403
+ fullPrice?: Price;
395
404
  /**
396
405
  * Total price after discounts, and before tax.
397
406
  * @readonly
@@ -2154,19 +2163,7 @@ declare enum DiscountValueType {
2154
2163
  * @documentationMaturity preview
2155
2164
  * @internal
2156
2165
  */
2157
- FIXED_AMOUNT = "FIXED_AMOUNT",
2158
- /**
2159
- * The discount sets the price it applies to a fixed amount.
2160
- * @documentationMaturity preview
2161
- * @internal
2162
- */
2163
- FIXED_PRICE = "FIXED_PRICE",
2164
- /**
2165
- * The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
2166
- * @documentationMaturity preview
2167
- * @internal
2168
- */
2169
- QUANTITY_BASED = "QUANTITY_BASED"
2166
+ FIXED_AMOUNT = "FIXED_AMOUNT"
2170
2167
  }
2171
2168
  /** @enumType */
2172
2169
  type DiscountValueTypeWithLiterals = DiscountValueType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_subscription-contracts",
3
- "version": "1.0.152",
3
+ "version": "1.0.153",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -29,8 +29,8 @@
29
29
  "service-plugins"
30
30
  ],
31
31
  "dependencies": {
32
- "@wix/sdk-runtime": "^1.0.24",
33
- "@wix/sdk-types": "^1.17.11"
32
+ "@wix/sdk-runtime": "^1.0.28",
33
+ "@wix/sdk-types": "^1.17.12"
34
34
  },
35
35
  "devDependencies": {
36
36
  "tsup": "^8.4.0",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.ecom.subscription_contracts.v1.subscription_contract"
51
51
  }
52
52
  },
53
- "falconPackageHash": "6c1a6af4f996c7c51650f5a3d576df813086cab1f677fe584105ab2d"
53
+ "falconPackageHash": "45dca96dc572a8d501c23a672bc5ed8804fc4a0be3cb2177ac71345a"
54
54
  }