@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.
@@ -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.
@@ -3360,6 +3360,12 @@ var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
3360
3360
  ChargeType2["ABSORBED"] = "ABSORBED";
3361
3361
  return ChargeType2;
3362
3362
  })(ChargeType || {});
3363
+ var SpecificItemsCouponBehavior = /* @__PURE__ */ ((SpecificItemsCouponBehavior2) => {
3364
+ SpecificItemsCouponBehavior2["UNDEFINED_COUPON_BEHAVIOR"] = "UNDEFINED_COUPON_BEHAVIOR";
3365
+ SpecificItemsCouponBehavior2["ITEM_SUBTOTAL_INCLUDES_DISCOUNT"] = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT";
3366
+ SpecificItemsCouponBehavior2["LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"] = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT";
3367
+ return SpecificItemsCouponBehavior2;
3368
+ })(SpecificItemsCouponBehavior || {});
3363
3369
  var FileType = /* @__PURE__ */ ((FileType2) => {
3364
3370
  FileType2["UNSPECIFIED"] = "UNSPECIFIED";
3365
3371
  FileType2["SECURE_PICTURE"] = "SECURE_PICTURE";
@@ -3574,12 +3580,6 @@ var OrderActionType = /* @__PURE__ */ ((OrderActionType2) => {
3574
3580
  OrderActionType2["MODIFY_INVENTORY"] = "MODIFY_INVENTORY";
3575
3581
  return OrderActionType2;
3576
3582
  })(OrderActionType || {});
3577
- var SpecificItemsCouponBehavior = /* @__PURE__ */ ((SpecificItemsCouponBehavior2) => {
3578
- SpecificItemsCouponBehavior2["UNDEFINED_COUPON_BEHAVIOR"] = "UNDEFINED_COUPON_BEHAVIOR";
3579
- SpecificItemsCouponBehavior2["ITEM_SUBTOTAL_INCLUDES_DISCOUNT"] = "ITEM_SUBTOTAL_INCLUDES_DISCOUNT";
3580
- SpecificItemsCouponBehavior2["LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT"] = "LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT";
3581
- return SpecificItemsCouponBehavior2;
3582
- })(SpecificItemsCouponBehavior || {});
3583
3583
  var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {
3584
3584
  OrderStatus2["UNKNOWN_ORDER_STATUS"] = "UNKNOWN_ORDER_STATUS";
3585
3585
  OrderStatus2["INITIALIZED"] = "INITIALIZED";