@wix/auto_sdk_ecom_cart 1.0.117 → 1.0.119

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.
@@ -763,6 +763,12 @@ interface CatalogOverrideFields {
763
763
  * Default: `false`
764
764
  */
765
765
  savePaymentMethod?: boolean | null;
766
+ /**
767
+ * ID of the app managing the inventory.
768
+ * @internal
769
+ * @format GUID
770
+ */
771
+ inventoryAppId?: string | null;
766
772
  }
767
773
  interface PaymentOption {
768
774
  /**
@@ -2151,6 +2157,16 @@ interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
2151
2157
  * @max 999
2152
2158
  */
2153
2159
  subscriptionCycles?: number | null;
2160
+ /**
2161
+ * A list of item combinations for this applied discount.
2162
+ * Each entry represents a unique combination of line items that triggered
2163
+ * or received this discount, along with how many times that combination was applied together.
2164
+ * Relevant ONLY for BXGY and Quantity-based promotions.
2165
+ * In BXGY the combination will contain the "X" items with discount amount of 0.
2166
+ * @internal
2167
+ * @maxSize 1000
2168
+ */
2169
+ itemCombinations?: ItemCombination[];
2154
2170
  }
2155
2171
  /** @oneof */
2156
2172
  interface AppliedDiscountDiscountSourceOneOf {
@@ -2199,16 +2215,6 @@ interface V1DiscountRule {
2199
2215
  name?: V1DiscountRuleName;
2200
2216
  /** Discount value. */
2201
2217
  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
2218
  }
2213
2219
  interface V1DiscountRuleName {
2214
2220
  /**
@@ -2224,6 +2230,15 @@ interface V1DiscountRuleName {
2224
2230
  */
2225
2231
  translated?: string | null;
2226
2232
  }
2233
+ interface LineItemDiscount {
2234
+ /**
2235
+ * ID of line item the discount applies to.
2236
+ * @format GUID
2237
+ */
2238
+ _id?: string;
2239
+ /** Discount value. */
2240
+ totalDiscountAmount?: MultiCurrencyPrice;
2241
+ }
2227
2242
  interface ItemCombination {
2228
2243
  /**
2229
2244
  * The number of times this exact combination of items (with the specified quantities) was applied together in the order.
@@ -2253,15 +2268,6 @@ interface ItemCombinationLineItem {
2253
2268
  */
2254
2269
  quantity?: number;
2255
2270
  }
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
2271
  interface CalculationErrors extends CalculationErrorsShippingCalculationErrorOneOf {
2266
2272
  /** General shipping calculation error. */
2267
2273
  generalShippingCalculationError?: Details;