@wix/auto_sdk_ecom_cart-v-2 1.0.65 → 1.0.66

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.
@@ -3932,6 +3932,16 @@ interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
3932
3932
  * @max 999
3933
3933
  */
3934
3934
  subscriptionCycles?: number | null;
3935
+ /**
3936
+ * A list of item combinations for this applied discount.
3937
+ * Each entry represents a unique combination of line items that triggered
3938
+ * or received this discount, along with how many times that combination was applied together.
3939
+ * Relevant ONLY for BXGY and Quantity-based promotions.
3940
+ * In BXGY the combination will contain the "X" items with discount amount of 0.
3941
+ * @internal
3942
+ * @maxSize 1000
3943
+ */
3944
+ itemCombinations?: ItemCombination[];
3935
3945
  }
3936
3946
  /** @oneof */
3937
3947
  interface AppliedDiscountDiscountSourceOneOf {
@@ -3980,16 +3990,6 @@ interface DiscountRule {
3980
3990
  name?: DiscountRuleName;
3981
3991
  /** Discount value. */
3982
3992
  amount?: MultiCurrencyPrice;
3983
- /**
3984
- * A list of item combinations for this discount rule.
3985
- * Each entry represents a unique combination of line items that triggered
3986
- * or received this discount, along with how many times that combination was applied together.
3987
- * Relevant ONLY for BXGY and Quantity-based promotions.
3988
- * In BXGY the combination will contain the "X" items with discount amount of 0.
3989
- * @internal
3990
- * @maxSize 1000
3991
- */
3992
- itemCombinations?: ItemCombination[];
3993
3993
  }
3994
3994
  interface DiscountRuleName {
3995
3995
  /**
@@ -4005,6 +4005,15 @@ interface DiscountRuleName {
4005
4005
  */
4006
4006
  translated?: string | null;
4007
4007
  }
4008
+ interface LineItemDiscount {
4009
+ /**
4010
+ * ID of line item the discount applies to.
4011
+ * @format GUID
4012
+ */
4013
+ _id?: string;
4014
+ /** Discount value. */
4015
+ totalDiscountAmount?: MultiCurrencyPrice;
4016
+ }
4008
4017
  interface ItemCombination {
4009
4018
  /**
4010
4019
  * The number of times this exact combination of items (with the specified quantities) was applied together in the order.
@@ -4034,15 +4043,6 @@ interface ItemCombinationLineItem {
4034
4043
  */
4035
4044
  quantity?: number;
4036
4045
  }
4037
- interface LineItemDiscount {
4038
- /**
4039
- * ID of line item the discount applies to.
4040
- * @format GUID
4041
- */
4042
- _id?: string;
4043
- /** Discount value. */
4044
- totalDiscountAmount?: MultiCurrencyPrice;
4045
- }
4046
4046
  interface CalculationErrors extends CalculationErrorsShippingCalculationErrorOneOf {
4047
4047
  /** General shipping calculation error. */
4048
4048
  generalShippingCalculationError?: Details;