@wix/auto_sdk_ecom_cart 1.0.117 → 1.0.118

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.
@@ -2151,6 +2151,16 @@ interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
2151
2151
  * @max 999
2152
2152
  */
2153
2153
  subscriptionCycles?: number | null;
2154
+ /**
2155
+ * A list of item combinations for this applied discount.
2156
+ * Each entry represents a unique combination of line items that triggered
2157
+ * or received this discount, along with how many times that combination was applied together.
2158
+ * Relevant ONLY for BXGY and Quantity-based promotions.
2159
+ * In BXGY the combination will contain the "X" items with discount amount of 0.
2160
+ * @internal
2161
+ * @maxSize 1000
2162
+ */
2163
+ itemCombinations?: ItemCombination[];
2154
2164
  }
2155
2165
  /** @oneof */
2156
2166
  interface AppliedDiscountDiscountSourceOneOf {
@@ -2199,16 +2209,6 @@ interface V1DiscountRule {
2199
2209
  name?: V1DiscountRuleName;
2200
2210
  /** Discount value. */
2201
2211
  amount?: MultiCurrencyPrice;
2202
- /**
2203
- * A list of item combinations for this discount rule.
2204
- * Each entry represents a unique combination of line items that triggered
2205
- * or received this discount, along with how many times that combination was applied together.
2206
- * Relevant ONLY for BXGY and Quantity-based promotions.
2207
- * In BXGY the combination will contain the "X" items with discount amount of 0.
2208
- * @internal
2209
- * @maxSize 1000
2210
- */
2211
- itemCombinations?: ItemCombination[];
2212
2212
  }
2213
2213
  interface V1DiscountRuleName {
2214
2214
  /**
@@ -2224,6 +2224,15 @@ interface V1DiscountRuleName {
2224
2224
  */
2225
2225
  translated?: string | null;
2226
2226
  }
2227
+ interface LineItemDiscount {
2228
+ /**
2229
+ * ID of line item the discount applies to.
2230
+ * @format GUID
2231
+ */
2232
+ _id?: string;
2233
+ /** Discount value. */
2234
+ totalDiscountAmount?: MultiCurrencyPrice;
2235
+ }
2227
2236
  interface ItemCombination {
2228
2237
  /**
2229
2238
  * The number of times this exact combination of items (with the specified quantities) was applied together in the order.
@@ -2253,15 +2262,6 @@ interface ItemCombinationLineItem {
2253
2262
  */
2254
2263
  quantity?: number;
2255
2264
  }
2256
- interface LineItemDiscount {
2257
- /**
2258
- * ID of line item the discount applies to.
2259
- * @format GUID
2260
- */
2261
- _id?: string;
2262
- /** Discount value. */
2263
- totalDiscountAmount?: MultiCurrencyPrice;
2264
- }
2265
2265
  interface CalculationErrors extends CalculationErrorsShippingCalculationErrorOneOf {
2266
2266
  /** General shipping calculation error. */
2267
2267
  generalShippingCalculationError?: Details;