@wix/auto_sdk_ecom_subscription-contracts 1.0.151 → 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
@@ -867,10 +876,7 @@ interface LineItemTaxInfo {
867
876
  * @maxSize 7
868
877
  */
869
878
  taxBreakdown?: LineItemTaxBreakdown[];
870
- /**
871
- * Amount of the line item price that was exempt from tax.
872
- * @internal
873
- */
879
+ /** Amount of the line item price that was exempt from tax. */
874
880
  exemptAmount?: Price;
875
881
  }
876
882
  /**
@@ -908,10 +914,7 @@ interface LineItemTaxBreakdown {
908
914
  nonTaxableAmount?: Price;
909
915
  /** Taxable amount of the line item price. */
910
916
  taxableAmount?: Price;
911
- /**
912
- * Amount of the line item price that was exempt from this authority.
913
- * @internal
914
- */
917
+ /** Amount of the line item price that was exempt from this authority. */
915
918
  exemptAmount?: Price;
916
919
  }
917
920
  /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
@@ -1893,8 +1896,7 @@ interface OrderTaxInfo {
1893
1896
  */
1894
1897
  taxExempt?: boolean | null;
1895
1898
  /**
1896
- * The total amount that was exempt from tax calculations.
1897
- * @internal
1899
+ * Total amount exempt from tax calculations.
1898
1900
  * @readonly
1899
1901
  */
1900
1902
  totalExempt?: Price;
@@ -1940,10 +1942,7 @@ interface OrderTaxBreakdown {
1940
1942
  * @internal
1941
1943
  */
1942
1944
  aggregatedTaxableAmount?: Price;
1943
- /**
1944
- * The aggregated exempt amount from all line items for tax identifiers.
1945
- * @internal
1946
- */
1945
+ /** Total amount exempt from this tax, summed across all line items. */
1947
1946
  aggregatedExemptAmount?: Price;
1948
1947
  }
1949
1948
  /** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
@@ -2123,19 +2122,7 @@ declare enum DiscountValueType {
2123
2122
  * @documentationMaturity preview
2124
2123
  * @internal
2125
2124
  */
2126
- FIXED_AMOUNT = "FIXED_AMOUNT",
2127
- /**
2128
- * The discount sets the price it applies to a fixed amount.
2129
- * @documentationMaturity preview
2130
- * @internal
2131
- */
2132
- FIXED_PRICE = "FIXED_PRICE",
2133
- /**
2134
- * The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
2135
- * @documentationMaturity preview
2136
- * @internal
2137
- */
2138
- QUANTITY_BASED = "QUANTITY_BASED"
2125
+ FIXED_AMOUNT = "FIXED_AMOUNT"
2139
2126
  }
2140
2127
  /** @enumType */
2141
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
@@ -908,10 +917,7 @@ interface LineItemTaxInfo {
908
917
  * @maxSize 7
909
918
  */
910
919
  taxBreakdown?: LineItemTaxBreakdown[];
911
- /**
912
- * Amount of the line item price that was exempt from tax.
913
- * @internal
914
- */
920
+ /** Amount of the line item price that was exempt from tax. */
915
921
  exemptAmount?: Price;
916
922
  }
917
923
  /**
@@ -949,10 +955,7 @@ interface LineItemTaxBreakdown {
949
955
  nonTaxableAmount?: Price;
950
956
  /** Taxable amount of the line item price. */
951
957
  taxableAmount?: Price;
952
- /**
953
- * Amount of the line item price that was exempt from this authority.
954
- * @internal
955
- */
958
+ /** Amount of the line item price that was exempt from this authority. */
956
959
  exemptAmount?: Price;
957
960
  }
958
961
  /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
@@ -1934,8 +1937,7 @@ interface OrderTaxInfo {
1934
1937
  */
1935
1938
  taxExempt?: boolean | null;
1936
1939
  /**
1937
- * The total amount that was exempt from tax calculations.
1938
- * @internal
1940
+ * Total amount exempt from tax calculations.
1939
1941
  * @readonly
1940
1942
  */
1941
1943
  totalExempt?: Price;
@@ -1981,10 +1983,7 @@ interface OrderTaxBreakdown {
1981
1983
  * @internal
1982
1984
  */
1983
1985
  aggregatedTaxableAmount?: Price;
1984
- /**
1985
- * The aggregated exempt amount from all line items for tax identifiers.
1986
- * @internal
1987
- */
1986
+ /** Total amount exempt from this tax, summed across all line items. */
1988
1987
  aggregatedExemptAmount?: Price;
1989
1988
  }
1990
1989
  /** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
@@ -2164,19 +2163,7 @@ declare enum DiscountValueType {
2164
2163
  * @documentationMaturity preview
2165
2164
  * @internal
2166
2165
  */
2167
- FIXED_AMOUNT = "FIXED_AMOUNT",
2168
- /**
2169
- * The discount sets the price it applies to a fixed amount.
2170
- * @documentationMaturity preview
2171
- * @internal
2172
- */
2173
- FIXED_PRICE = "FIXED_PRICE",
2174
- /**
2175
- * The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
2176
- * @documentationMaturity preview
2177
- * @internal
2178
- */
2179
- QUANTITY_BASED = "QUANTITY_BASED"
2166
+ FIXED_AMOUNT = "FIXED_AMOUNT"
2180
2167
  }
2181
2168
  /** @enumType */
2182
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
@@ -867,10 +876,7 @@ interface LineItemTaxInfo {
867
876
  * @maxSize 7
868
877
  */
869
878
  taxBreakdown?: LineItemTaxBreakdown[];
870
- /**
871
- * Amount of the line item price that was exempt from tax.
872
- * @internal
873
- */
879
+ /** Amount of the line item price that was exempt from tax. */
874
880
  exemptAmount?: Price;
875
881
  }
876
882
  /**
@@ -908,10 +914,7 @@ interface LineItemTaxBreakdown {
908
914
  nonTaxableAmount?: Price;
909
915
  /** Taxable amount of the line item price. */
910
916
  taxableAmount?: Price;
911
- /**
912
- * Amount of the line item price that was exempt from this authority.
913
- * @internal
914
- */
917
+ /** Amount of the line item price that was exempt from this authority. */
915
918
  exemptAmount?: Price;
916
919
  }
917
920
  /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
@@ -1893,8 +1896,7 @@ interface OrderTaxInfo {
1893
1896
  */
1894
1897
  taxExempt?: boolean | null;
1895
1898
  /**
1896
- * The total amount that was exempt from tax calculations.
1897
- * @internal
1899
+ * Total amount exempt from tax calculations.
1898
1900
  * @readonly
1899
1901
  */
1900
1902
  totalExempt?: Price;
@@ -1940,10 +1942,7 @@ interface OrderTaxBreakdown {
1940
1942
  * @internal
1941
1943
  */
1942
1944
  aggregatedTaxableAmount?: Price;
1943
- /**
1944
- * The aggregated exempt amount from all line items for tax identifiers.
1945
- * @internal
1946
- */
1945
+ /** Total amount exempt from this tax, summed across all line items. */
1947
1946
  aggregatedExemptAmount?: Price;
1948
1947
  }
1949
1948
  /** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
@@ -2123,19 +2122,7 @@ declare enum DiscountValueType {
2123
2122
  * @documentationMaturity preview
2124
2123
  * @internal
2125
2124
  */
2126
- FIXED_AMOUNT = "FIXED_AMOUNT",
2127
- /**
2128
- * The discount sets the price it applies to a fixed amount.
2129
- * @documentationMaturity preview
2130
- * @internal
2131
- */
2132
- FIXED_PRICE = "FIXED_PRICE",
2133
- /**
2134
- * The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
2135
- * @documentationMaturity preview
2136
- * @internal
2137
- */
2138
- QUANTITY_BASED = "QUANTITY_BASED"
2125
+ FIXED_AMOUNT = "FIXED_AMOUNT"
2139
2126
  }
2140
2127
  /** @enumType */
2141
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
@@ -908,10 +917,7 @@ interface LineItemTaxInfo {
908
917
  * @maxSize 7
909
918
  */
910
919
  taxBreakdown?: LineItemTaxBreakdown[];
911
- /**
912
- * Amount of the line item price that was exempt from tax.
913
- * @internal
914
- */
920
+ /** Amount of the line item price that was exempt from tax. */
915
921
  exemptAmount?: Price;
916
922
  }
917
923
  /**
@@ -949,10 +955,7 @@ interface LineItemTaxBreakdown {
949
955
  nonTaxableAmount?: Price;
950
956
  /** Taxable amount of the line item price. */
951
957
  taxableAmount?: Price;
952
- /**
953
- * Amount of the line item price that was exempt from this authority.
954
- * @internal
955
- */
958
+ /** Amount of the line item price that was exempt from this authority. */
956
959
  exemptAmount?: Price;
957
960
  }
958
961
  /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
@@ -1934,8 +1937,7 @@ interface OrderTaxInfo {
1934
1937
  */
1935
1938
  taxExempt?: boolean | null;
1936
1939
  /**
1937
- * The total amount that was exempt from tax calculations.
1938
- * @internal
1940
+ * Total amount exempt from tax calculations.
1939
1941
  * @readonly
1940
1942
  */
1941
1943
  totalExempt?: Price;
@@ -1981,10 +1983,7 @@ interface OrderTaxBreakdown {
1981
1983
  * @internal
1982
1984
  */
1983
1985
  aggregatedTaxableAmount?: Price;
1984
- /**
1985
- * The aggregated exempt amount from all line items for tax identifiers.
1986
- * @internal
1987
- */
1986
+ /** Total amount exempt from this tax, summed across all line items. */
1988
1987
  aggregatedExemptAmount?: Price;
1989
1988
  }
1990
1989
  /** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
@@ -2164,19 +2163,7 @@ declare enum DiscountValueType {
2164
2163
  * @documentationMaturity preview
2165
2164
  * @internal
2166
2165
  */
2167
- FIXED_AMOUNT = "FIXED_AMOUNT",
2168
- /**
2169
- * The discount sets the price it applies to a fixed amount.
2170
- * @documentationMaturity preview
2171
- * @internal
2172
- */
2173
- FIXED_PRICE = "FIXED_PRICE",
2174
- /**
2175
- * The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
2176
- * @documentationMaturity preview
2177
- * @internal
2178
- */
2179
- QUANTITY_BASED = "QUANTITY_BASED"
2166
+ FIXED_AMOUNT = "FIXED_AMOUNT"
2180
2167
  }
2181
2168
  /** @enumType */
2182
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.151",
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": "f6847cd35846abf8a3efab99254e1310e10ade7571d830d6af50dedb"
53
+ "falconPackageHash": "45dca96dc572a8d501c23a672bc5ed8804fc4a0be3cb2177ac71345a"
54
54
  }