@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
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1961,6 +1961,19 @@ declare enum ChargeType {
|
|
|
1961
1961
|
}
|
|
1962
1962
|
/** @enumType */
|
|
1963
1963
|
type ChargeTypeWithLiterals = ChargeType | 'PASS_ON' | 'ABSORBED';
|
|
1964
|
+
declare enum SpecificItemsCouponBehavior {
|
|
1965
|
+
/** Coupon calculation behavior was not specified. */
|
|
1966
|
+
UNDEFINED_COUPON_BEHAVIOR = "UNDEFINED_COUPON_BEHAVIOR",
|
|
1967
|
+
/** Item subtotal includes coupon discount. */
|
|
1968
|
+
ITEM_SUBTOTAL_INCLUDES_DISCOUNT = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT",
|
|
1969
|
+
/**
|
|
1970
|
+
* Legacy flow.
|
|
1971
|
+
* Discount is applied as to specific items after subtotal calculation.
|
|
1972
|
+
*/
|
|
1973
|
+
LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"
|
|
1974
|
+
}
|
|
1975
|
+
/** @enumType */
|
|
1976
|
+
type SpecificItemsCouponBehaviorWithLiterals = SpecificItemsCouponBehavior | 'UNDEFINED_COUPON_BEHAVIOR' | 'ITEM_SUBTOTAL_INCLUDES_DISCOUNT' | 'LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT';
|
|
1964
1977
|
interface CreateDraftOrderRequest extends CreateDraftOrderRequestSourceOneOf {
|
|
1965
1978
|
/**
|
|
1966
1979
|
* ID of the order to create a draft for.
|
|
@@ -4433,19 +4446,6 @@ interface OwnerApps {
|
|
|
4433
4446
|
*/
|
|
4434
4447
|
appIds?: string[];
|
|
4435
4448
|
}
|
|
4436
|
-
declare enum SpecificItemsCouponBehavior {
|
|
4437
|
-
/** Coupon calculation behavior was not specified. */
|
|
4438
|
-
UNDEFINED_COUPON_BEHAVIOR = "UNDEFINED_COUPON_BEHAVIOR",
|
|
4439
|
-
/** Item subtotal includes coupon discount. */
|
|
4440
|
-
ITEM_SUBTOTAL_INCLUDES_DISCOUNT = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT",
|
|
4441
|
-
/**
|
|
4442
|
-
* Legacy flow.
|
|
4443
|
-
* Discount is applied as to specific items after subtotal calculation.
|
|
4444
|
-
*/
|
|
4445
|
-
LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"
|
|
4446
|
-
}
|
|
4447
|
-
/** @enumType */
|
|
4448
|
-
type SpecificItemsCouponBehaviorWithLiterals = SpecificItemsCouponBehavior | 'UNDEFINED_COUPON_BEHAVIOR' | 'ITEM_SUBTOTAL_INCLUDES_DISCOUNT' | 'LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT';
|
|
4449
4449
|
interface FormInfo {
|
|
4450
4450
|
/**
|
|
4451
4451
|
* The identifier of the form schema.
|
package/build/cjs/meta.js
CHANGED
|
@@ -3429,6 +3429,12 @@ var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
|
3429
3429
|
ChargeType2["ABSORBED"] = "ABSORBED";
|
|
3430
3430
|
return ChargeType2;
|
|
3431
3431
|
})(ChargeType || {});
|
|
3432
|
+
var SpecificItemsCouponBehavior = /* @__PURE__ */ ((SpecificItemsCouponBehavior2) => {
|
|
3433
|
+
SpecificItemsCouponBehavior2["UNDEFINED_COUPON_BEHAVIOR"] = "UNDEFINED_COUPON_BEHAVIOR";
|
|
3434
|
+
SpecificItemsCouponBehavior2["ITEM_SUBTOTAL_INCLUDES_DISCOUNT"] = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT";
|
|
3435
|
+
SpecificItemsCouponBehavior2["LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"] = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT";
|
|
3436
|
+
return SpecificItemsCouponBehavior2;
|
|
3437
|
+
})(SpecificItemsCouponBehavior || {});
|
|
3432
3438
|
var FileType = /* @__PURE__ */ ((FileType2) => {
|
|
3433
3439
|
FileType2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
3434
3440
|
FileType2["SECURE_PICTURE"] = "SECURE_PICTURE";
|
|
@@ -3643,12 +3649,6 @@ var OrderActionType = /* @__PURE__ */ ((OrderActionType2) => {
|
|
|
3643
3649
|
OrderActionType2["MODIFY_INVENTORY"] = "MODIFY_INVENTORY";
|
|
3644
3650
|
return OrderActionType2;
|
|
3645
3651
|
})(OrderActionType || {});
|
|
3646
|
-
var SpecificItemsCouponBehavior = /* @__PURE__ */ ((SpecificItemsCouponBehavior2) => {
|
|
3647
|
-
SpecificItemsCouponBehavior2["UNDEFINED_COUPON_BEHAVIOR"] = "UNDEFINED_COUPON_BEHAVIOR";
|
|
3648
|
-
SpecificItemsCouponBehavior2["ITEM_SUBTOTAL_INCLUDES_DISCOUNT"] = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT";
|
|
3649
|
-
SpecificItemsCouponBehavior2["LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"] = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT";
|
|
3650
|
-
return SpecificItemsCouponBehavior2;
|
|
3651
|
-
})(SpecificItemsCouponBehavior || {});
|
|
3652
3652
|
var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {
|
|
3653
3653
|
OrderStatus2["UNKNOWN_ORDER_STATUS"] = "UNKNOWN_ORDER_STATUS";
|
|
3654
3654
|
OrderStatus2["INITIALIZED"] = "INITIALIZED";
|