@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.
@@ -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";