@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.
@@ -3345,6 +3345,12 @@ var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
3345
3345
  ChargeType2["ABSORBED"] = "ABSORBED";
3346
3346
  return ChargeType2;
3347
3347
  })(ChargeType || {});
3348
+ var SpecificItemsCouponBehavior = /* @__PURE__ */ ((SpecificItemsCouponBehavior2) => {
3349
+ SpecificItemsCouponBehavior2["UNDEFINED_COUPON_BEHAVIOR"] = "UNDEFINED_COUPON_BEHAVIOR";
3350
+ SpecificItemsCouponBehavior2["ITEM_SUBTOTAL_INCLUDES_DISCOUNT"] = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT";
3351
+ SpecificItemsCouponBehavior2["LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"] = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT";
3352
+ return SpecificItemsCouponBehavior2;
3353
+ })(SpecificItemsCouponBehavior || {});
3348
3354
  var FileType = /* @__PURE__ */ ((FileType2) => {
3349
3355
  FileType2["UNSPECIFIED"] = "UNSPECIFIED";
3350
3356
  FileType2["SECURE_PICTURE"] = "SECURE_PICTURE";
@@ -3559,12 +3565,6 @@ var OrderActionType = /* @__PURE__ */ ((OrderActionType2) => {
3559
3565
  OrderActionType2["MODIFY_INVENTORY"] = "MODIFY_INVENTORY";
3560
3566
  return OrderActionType2;
3561
3567
  })(OrderActionType || {});
3562
- var SpecificItemsCouponBehavior = /* @__PURE__ */ ((SpecificItemsCouponBehavior2) => {
3563
- SpecificItemsCouponBehavior2["UNDEFINED_COUPON_BEHAVIOR"] = "UNDEFINED_COUPON_BEHAVIOR";
3564
- SpecificItemsCouponBehavior2["ITEM_SUBTOTAL_INCLUDES_DISCOUNT"] = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT";
3565
- SpecificItemsCouponBehavior2["LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"] = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT";
3566
- return SpecificItemsCouponBehavior2;
3567
- })(SpecificItemsCouponBehavior || {});
3568
3568
  var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {
3569
3569
  OrderStatus2["UNKNOWN_ORDER_STATUS"] = "UNKNOWN_ORDER_STATUS";
3570
3570
  OrderStatus2["INITIALIZED"] = "INITIALIZED";