@wix/auto_sdk_ecom_draft-orders 1.0.145 → 1.0.146
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 +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +13 -13
- package/build/cjs/index.typings.js +6 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +13 -13
- package/build/cjs/meta.js +6 -6
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +6 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +13 -13
- package/build/es/index.typings.mjs +6 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +13 -13
- package/build/es/meta.mjs +6 -6
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +6 -6
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +19 -13
- package/build/internal/cjs/index.typings.js +6 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +13 -13
- package/build/internal/cjs/meta.js +6 -6
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +6 -6
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +19 -13
- package/build/internal/es/index.typings.mjs +6 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +13 -13
- package/build/internal/es/meta.mjs +6 -6
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1938,6 +1938,19 @@ declare enum ChargeType {
|
|
|
1938
1938
|
}
|
|
1939
1939
|
/** @enumType */
|
|
1940
1940
|
type ChargeTypeWithLiterals = ChargeType | 'PASS_ON' | 'ABSORBED';
|
|
1941
|
+
declare enum SpecificItemsCouponBehavior {
|
|
1942
|
+
/** Coupon calculation behavior was not specified. */
|
|
1943
|
+
UNDEFINED_COUPON_BEHAVIOR = "UNDEFINED_COUPON_BEHAVIOR",
|
|
1944
|
+
/** Item subtotal includes coupon discount. */
|
|
1945
|
+
ITEM_SUBTOTAL_INCLUDES_DISCOUNT = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT",
|
|
1946
|
+
/**
|
|
1947
|
+
* Legacy flow.
|
|
1948
|
+
* Discount is applied as to specific items after subtotal calculation.
|
|
1949
|
+
*/
|
|
1950
|
+
LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"
|
|
1951
|
+
}
|
|
1952
|
+
/** @enumType */
|
|
1953
|
+
type SpecificItemsCouponBehaviorWithLiterals = SpecificItemsCouponBehavior | 'UNDEFINED_COUPON_BEHAVIOR' | 'ITEM_SUBTOTAL_INCLUDES_DISCOUNT' | 'LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT';
|
|
1941
1954
|
interface CreateDraftOrderRequest extends CreateDraftOrderRequestSourceOneOf {
|
|
1942
1955
|
/**
|
|
1943
1956
|
* ID of the order to create a draft for.
|
|
@@ -4404,19 +4417,6 @@ interface OwnerApps {
|
|
|
4404
4417
|
*/
|
|
4405
4418
|
appIds?: string[];
|
|
4406
4419
|
}
|
|
4407
|
-
declare enum SpecificItemsCouponBehavior {
|
|
4408
|
-
/** Coupon calculation behavior was not specified. */
|
|
4409
|
-
UNDEFINED_COUPON_BEHAVIOR = "UNDEFINED_COUPON_BEHAVIOR",
|
|
4410
|
-
/** Item subtotal includes coupon discount. */
|
|
4411
|
-
ITEM_SUBTOTAL_INCLUDES_DISCOUNT = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT",
|
|
4412
|
-
/**
|
|
4413
|
-
* Legacy flow.
|
|
4414
|
-
* Discount is applied as to specific items after subtotal calculation.
|
|
4415
|
-
*/
|
|
4416
|
-
LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"
|
|
4417
|
-
}
|
|
4418
|
-
/** @enumType */
|
|
4419
|
-
type SpecificItemsCouponBehaviorWithLiterals = SpecificItemsCouponBehavior | 'UNDEFINED_COUPON_BEHAVIOR' | 'ITEM_SUBTOTAL_INCLUDES_DISCOUNT' | 'LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT';
|
|
4420
4420
|
interface FormInfo {
|
|
4421
4421
|
/**
|
|
4422
4422
|
* The identifier of the form schema.
|
|
@@ -3443,6 +3443,12 @@ var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
|
3443
3443
|
ChargeType2["ABSORBED"] = "ABSORBED";
|
|
3444
3444
|
return ChargeType2;
|
|
3445
3445
|
})(ChargeType || {});
|
|
3446
|
+
var SpecificItemsCouponBehavior = /* @__PURE__ */ ((SpecificItemsCouponBehavior2) => {
|
|
3447
|
+
SpecificItemsCouponBehavior2["UNDEFINED_COUPON_BEHAVIOR"] = "UNDEFINED_COUPON_BEHAVIOR";
|
|
3448
|
+
SpecificItemsCouponBehavior2["ITEM_SUBTOTAL_INCLUDES_DISCOUNT"] = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT";
|
|
3449
|
+
SpecificItemsCouponBehavior2["LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"] = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT";
|
|
3450
|
+
return SpecificItemsCouponBehavior2;
|
|
3451
|
+
})(SpecificItemsCouponBehavior || {});
|
|
3446
3452
|
var FileType = /* @__PURE__ */ ((FileType2) => {
|
|
3447
3453
|
FileType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
3448
3454
|
FileType2["SECURE_PICTURE"] = "SECURE_PICTURE";
|
|
@@ -3657,12 +3663,6 @@ var OrderActionType = /* @__PURE__ */ ((OrderActionType2) => {
|
|
|
3657
3663
|
OrderActionType2["MODIFY_INVENTORY"] = "MODIFY_INVENTORY";
|
|
3658
3664
|
return OrderActionType2;
|
|
3659
3665
|
})(OrderActionType || {});
|
|
3660
|
-
var SpecificItemsCouponBehavior = /* @__PURE__ */ ((SpecificItemsCouponBehavior2) => {
|
|
3661
|
-
SpecificItemsCouponBehavior2["UNDEFINED_COUPON_BEHAVIOR"] = "UNDEFINED_COUPON_BEHAVIOR";
|
|
3662
|
-
SpecificItemsCouponBehavior2["ITEM_SUBTOTAL_INCLUDES_DISCOUNT"] = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT";
|
|
3663
|
-
SpecificItemsCouponBehavior2["LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"] = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT";
|
|
3664
|
-
return SpecificItemsCouponBehavior2;
|
|
3665
|
-
})(SpecificItemsCouponBehavior || {});
|
|
3666
3666
|
var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {
|
|
3667
3667
|
OrderStatus2["UNKNOWN_ORDER_STATUS"] = "UNKNOWN_ORDER_STATUS";
|
|
3668
3668
|
OrderStatus2["INITIALIZED"] = "INITIALIZED";
|