@wix/auto_sdk_ecom_cart 1.0.150 → 1.0.152

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.
@@ -832,6 +832,12 @@ interface CatalogOverrideFields {
832
832
  * @format GUID
833
833
  */
834
834
  inventoryAppId?: string | null;
835
+ /**
836
+ * Whether the line item quantity is fixed and can't be changed.
837
+ * When not set, falls back to the value from the catalog.
838
+ * @internal
839
+ */
840
+ fixedQuantity?: boolean | null;
835
841
  }
836
842
  interface PaymentOption {
837
843
  /**
@@ -2704,11 +2710,13 @@ declare enum NameInLineItem {
2704
2710
  /** @enumType */
2705
2711
  type NameInLineItemWithLiterals = NameInLineItem | 'LINE_ITEM_DEFAULT';
2706
2712
  declare enum SuggestedFix {
2713
+ /** No suggested fix is specified. The user should refer to the violation description to resolve the issue. */
2714
+ UNKNOWN_SUGGESTED_FIX = "UNKNOWN_SUGGESTED_FIX",
2707
2715
  /** The line item should be removed from the cart or checkout to resolve the violation. */
2708
2716
  REMOVE_LINE_ITEM = "REMOVE_LINE_ITEM"
2709
2717
  }
2710
2718
  /** @enumType */
2711
- type SuggestedFixWithLiterals = SuggestedFix | 'REMOVE_LINE_ITEM';
2719
+ type SuggestedFixWithLiterals = SuggestedFix | 'UNKNOWN_SUGGESTED_FIX' | 'REMOVE_LINE_ITEM';
2712
2720
  /** General (other) violation. */
2713
2721
  interface Other {
2714
2722
  /** Location on a checkout or a cart page where a general (other) violation will be displayed. */
@@ -1017,6 +1017,7 @@ var NameInLineItem = /* @__PURE__ */ ((NameInLineItem2) => {
1017
1017
  return NameInLineItem2;
1018
1018
  })(NameInLineItem || {});
1019
1019
  var SuggestedFix = /* @__PURE__ */ ((SuggestedFix2) => {
1020
+ SuggestedFix2["UNKNOWN_SUGGESTED_FIX"] = "UNKNOWN_SUGGESTED_FIX";
1020
1021
  SuggestedFix2["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
1021
1022
  return SuggestedFix2;
1022
1023
  })(SuggestedFix || {});