@wix/auto_sdk_ecom_draft-orders 1.0.192 → 1.0.193
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/build/cjs/index.js +0 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +0 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +0 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +0 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +0 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +0 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +10 -13
- package/build/internal/cjs/meta.d.ts +10 -13
- package/build/internal/es/index.typings.d.mts +10 -13
- package/build/internal/es/meta.d.mts +10 -13
- package/package.json +4 -4
|
@@ -647,6 +647,15 @@ interface OrderLineItem {
|
|
|
647
647
|
* @readonly
|
|
648
648
|
*/
|
|
649
649
|
priceBeforeDiscountsAndTax?: Price;
|
|
650
|
+
/**
|
|
651
|
+
* Catalog price of a single item, with modifiers, before any discounts.
|
|
652
|
+
* When the item is on sale in the catalog, this is the price before the sale.
|
|
653
|
+
*
|
|
654
|
+
* For the price after the sale but before other discounts, see `priceBeforeDiscounts`.
|
|
655
|
+
* @internal
|
|
656
|
+
* @readonly
|
|
657
|
+
*/
|
|
658
|
+
fullPrice?: Price;
|
|
650
659
|
/**
|
|
651
660
|
* Total price after discounts, and before tax.
|
|
652
661
|
* @readonly
|
|
@@ -1993,19 +2002,7 @@ declare enum DiscountValueType {
|
|
|
1993
2002
|
* @documentationMaturity preview
|
|
1994
2003
|
* @internal
|
|
1995
2004
|
*/
|
|
1996
|
-
FIXED_AMOUNT = "FIXED_AMOUNT"
|
|
1997
|
-
/**
|
|
1998
|
-
* The discount sets the price it applies to a fixed amount.
|
|
1999
|
-
* @documentationMaturity preview
|
|
2000
|
-
* @internal
|
|
2001
|
-
*/
|
|
2002
|
-
FIXED_PRICE = "FIXED_PRICE",
|
|
2003
|
-
/**
|
|
2004
|
-
* The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
|
|
2005
|
-
* @documentationMaturity preview
|
|
2006
|
-
* @internal
|
|
2007
|
-
*/
|
|
2008
|
-
QUANTITY_BASED = "QUANTITY_BASED"
|
|
2005
|
+
FIXED_AMOUNT = "FIXED_AMOUNT"
|
|
2009
2006
|
}
|
|
2010
2007
|
/** @enumType */
|
|
2011
2008
|
type DiscountValueTypeWithLiterals = DiscountValueType;
|
|
@@ -647,6 +647,15 @@ interface OrderLineItem {
|
|
|
647
647
|
* @readonly
|
|
648
648
|
*/
|
|
649
649
|
priceBeforeDiscountsAndTax?: Price;
|
|
650
|
+
/**
|
|
651
|
+
* Catalog price of a single item, with modifiers, before any discounts.
|
|
652
|
+
* When the item is on sale in the catalog, this is the price before the sale.
|
|
653
|
+
*
|
|
654
|
+
* For the price after the sale but before other discounts, see `priceBeforeDiscounts`.
|
|
655
|
+
* @internal
|
|
656
|
+
* @readonly
|
|
657
|
+
*/
|
|
658
|
+
fullPrice?: Price;
|
|
650
659
|
/**
|
|
651
660
|
* Total price after discounts, and before tax.
|
|
652
661
|
* @readonly
|
|
@@ -2034,19 +2043,7 @@ declare enum DiscountValueType {
|
|
|
2034
2043
|
* @documentationMaturity preview
|
|
2035
2044
|
* @internal
|
|
2036
2045
|
*/
|
|
2037
|
-
FIXED_AMOUNT = "FIXED_AMOUNT"
|
|
2038
|
-
/**
|
|
2039
|
-
* The discount sets the price it applies to a fixed amount.
|
|
2040
|
-
* @documentationMaturity preview
|
|
2041
|
-
* @internal
|
|
2042
|
-
*/
|
|
2043
|
-
FIXED_PRICE = "FIXED_PRICE",
|
|
2044
|
-
/**
|
|
2045
|
-
* The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
|
|
2046
|
-
* @documentationMaturity preview
|
|
2047
|
-
* @internal
|
|
2048
|
-
*/
|
|
2049
|
-
QUANTITY_BASED = "QUANTITY_BASED"
|
|
2046
|
+
FIXED_AMOUNT = "FIXED_AMOUNT"
|
|
2050
2047
|
}
|
|
2051
2048
|
/** @enumType */
|
|
2052
2049
|
type DiscountValueTypeWithLiterals = DiscountValueType;
|
|
@@ -647,6 +647,15 @@ interface OrderLineItem {
|
|
|
647
647
|
* @readonly
|
|
648
648
|
*/
|
|
649
649
|
priceBeforeDiscountsAndTax?: Price;
|
|
650
|
+
/**
|
|
651
|
+
* Catalog price of a single item, with modifiers, before any discounts.
|
|
652
|
+
* When the item is on sale in the catalog, this is the price before the sale.
|
|
653
|
+
*
|
|
654
|
+
* For the price after the sale but before other discounts, see `priceBeforeDiscounts`.
|
|
655
|
+
* @internal
|
|
656
|
+
* @readonly
|
|
657
|
+
*/
|
|
658
|
+
fullPrice?: Price;
|
|
650
659
|
/**
|
|
651
660
|
* Total price after discounts, and before tax.
|
|
652
661
|
* @readonly
|
|
@@ -1993,19 +2002,7 @@ declare enum DiscountValueType {
|
|
|
1993
2002
|
* @documentationMaturity preview
|
|
1994
2003
|
* @internal
|
|
1995
2004
|
*/
|
|
1996
|
-
FIXED_AMOUNT = "FIXED_AMOUNT"
|
|
1997
|
-
/**
|
|
1998
|
-
* The discount sets the price it applies to a fixed amount.
|
|
1999
|
-
* @documentationMaturity preview
|
|
2000
|
-
* @internal
|
|
2001
|
-
*/
|
|
2002
|
-
FIXED_PRICE = "FIXED_PRICE",
|
|
2003
|
-
/**
|
|
2004
|
-
* The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
|
|
2005
|
-
* @documentationMaturity preview
|
|
2006
|
-
* @internal
|
|
2007
|
-
*/
|
|
2008
|
-
QUANTITY_BASED = "QUANTITY_BASED"
|
|
2005
|
+
FIXED_AMOUNT = "FIXED_AMOUNT"
|
|
2009
2006
|
}
|
|
2010
2007
|
/** @enumType */
|
|
2011
2008
|
type DiscountValueTypeWithLiterals = DiscountValueType;
|
|
@@ -647,6 +647,15 @@ interface OrderLineItem {
|
|
|
647
647
|
* @readonly
|
|
648
648
|
*/
|
|
649
649
|
priceBeforeDiscountsAndTax?: Price;
|
|
650
|
+
/**
|
|
651
|
+
* Catalog price of a single item, with modifiers, before any discounts.
|
|
652
|
+
* When the item is on sale in the catalog, this is the price before the sale.
|
|
653
|
+
*
|
|
654
|
+
* For the price after the sale but before other discounts, see `priceBeforeDiscounts`.
|
|
655
|
+
* @internal
|
|
656
|
+
* @readonly
|
|
657
|
+
*/
|
|
658
|
+
fullPrice?: Price;
|
|
650
659
|
/**
|
|
651
660
|
* Total price after discounts, and before tax.
|
|
652
661
|
* @readonly
|
|
@@ -2034,19 +2043,7 @@ declare enum DiscountValueType {
|
|
|
2034
2043
|
* @documentationMaturity preview
|
|
2035
2044
|
* @internal
|
|
2036
2045
|
*/
|
|
2037
|
-
FIXED_AMOUNT = "FIXED_AMOUNT"
|
|
2038
|
-
/**
|
|
2039
|
-
* The discount sets the price it applies to a fixed amount.
|
|
2040
|
-
* @documentationMaturity preview
|
|
2041
|
-
* @internal
|
|
2042
|
-
*/
|
|
2043
|
-
FIXED_PRICE = "FIXED_PRICE",
|
|
2044
|
-
/**
|
|
2045
|
-
* The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
|
|
2046
|
-
* @documentationMaturity preview
|
|
2047
|
-
* @internal
|
|
2048
|
-
*/
|
|
2049
|
-
QUANTITY_BASED = "QUANTITY_BASED"
|
|
2046
|
+
FIXED_AMOUNT = "FIXED_AMOUNT"
|
|
2050
2047
|
}
|
|
2051
2048
|
/** @enumType */
|
|
2052
2049
|
type DiscountValueTypeWithLiterals = DiscountValueType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_draft-orders",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.193",
|
|
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.
|
|
33
|
-
"@wix/sdk-types": "^1.17.
|
|
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.v1.draft_order"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "eb6c27097b70184dea168453c8bb191d34b903a930526f2326eb00af"
|
|
54
54
|
}
|