@wix/auto_sdk_ecom_draft-orders 1.0.192 → 1.0.194
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.d.ts +2 -0
- package/build/cjs/index.typings.js +0 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -0
- 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.d.mts +2 -0
- package/build/es/index.typings.mjs +0 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -0
- package/build/es/meta.mjs +0 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +12 -13
- package/build/internal/cjs/meta.d.ts +12 -13
- package/build/internal/es/index.typings.d.mts +12 -13
- package/build/internal/es/meta.d.mts +12 -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;
|
|
@@ -5590,6 +5587,8 @@ interface V1BalanceSummary {
|
|
|
5590
5587
|
paid?: Price;
|
|
5591
5588
|
/**
|
|
5592
5589
|
* Sum of all successfully refunded payments.
|
|
5590
|
+
*
|
|
5591
|
+
* This is an order-level total. For the amount of an individual refund, see `summary.refunded` on each refund returned by [List Transactions For Single Order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-transactions/list-transactions-for-single-order) in the Order Transactions API.
|
|
5593
5592
|
* @readonly
|
|
5594
5593
|
*/
|
|
5595
5594
|
refunded?: Price;
|
|
@@ -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;
|
|
@@ -5637,6 +5634,8 @@ interface V1BalanceSummary {
|
|
|
5637
5634
|
paid?: Price;
|
|
5638
5635
|
/**
|
|
5639
5636
|
* Sum of all successfully refunded payments.
|
|
5637
|
+
*
|
|
5638
|
+
* This is an order-level total. For the amount of an individual refund, see `summary.refunded` on each refund returned by [List Transactions For Single Order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-transactions/list-transactions-for-single-order) in the Order Transactions API.
|
|
5640
5639
|
* @readonly
|
|
5641
5640
|
*/
|
|
5642
5641
|
refunded?: Price;
|
|
@@ -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;
|
|
@@ -5590,6 +5587,8 @@ interface V1BalanceSummary {
|
|
|
5590
5587
|
paid?: Price;
|
|
5591
5588
|
/**
|
|
5592
5589
|
* Sum of all successfully refunded payments.
|
|
5590
|
+
*
|
|
5591
|
+
* This is an order-level total. For the amount of an individual refund, see `summary.refunded` on each refund returned by [List Transactions For Single Order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-transactions/list-transactions-for-single-order) in the Order Transactions API.
|
|
5593
5592
|
* @readonly
|
|
5594
5593
|
*/
|
|
5595
5594
|
refunded?: Price;
|
|
@@ -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;
|
|
@@ -5637,6 +5634,8 @@ interface V1BalanceSummary {
|
|
|
5637
5634
|
paid?: Price;
|
|
5638
5635
|
/**
|
|
5639
5636
|
* Sum of all successfully refunded payments.
|
|
5637
|
+
*
|
|
5638
|
+
* This is an order-level total. For the amount of an individual refund, see `summary.refunded` on each refund returned by [List Transactions For Single Order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-transactions/list-transactions-for-single-order) in the Order Transactions API.
|
|
5640
5639
|
* @readonly
|
|
5641
5640
|
*/
|
|
5642
5641
|
refunded?: Price;
|
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.194",
|
|
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": "72b78b427ffa6babb8be85161c8e49e297444f2e666d9011e0977ef2"
|
|
54
54
|
}
|