@wix/auto_sdk_ecom_cart 1.0.186 → 1.0.188

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.
@@ -2498,6 +2498,14 @@ interface MembershipPaymentCredits {
2498
2498
  total?: number;
2499
2499
  /** Membership's remaining balance. */
2500
2500
  remaining?: number;
2501
+ /**
2502
+ * How the membership's balance is measured.
2503
+ *
2504
+ * Use the same value as `Benefit.quota.limitedQuota.limitedQuotaType` for the benefit this membership came from in [List Purchasable Plans](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/payments/memberships/memberships-service-plugin/list-purchasable-plans). This way the balance keeps the same unit before and after purchase.
2505
+ *
2506
+ * Default: `PUNCH_CARD`.
2507
+ */
2508
+ balanceType?: BalanceTypeWithLiterals;
2501
2509
  }
2502
2510
  declare enum BalanceType {
2503
2511
  /** Balance is measured in discrete uses, such as sessions or visits. */
package/build/es/meta.mjs CHANGED
@@ -780,8 +780,6 @@ var AppliedDiscountDiscountType = /* @__PURE__ */ ((AppliedDiscountDiscountType2
780
780
  var DiscountValueType = /* @__PURE__ */ ((DiscountValueType2) => {
781
781
  DiscountValueType2["PERCENTAGE"] = "PERCENTAGE";
782
782
  DiscountValueType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
783
- DiscountValueType2["FIXED_PRICE"] = "FIXED_PRICE";
784
- DiscountValueType2["QUANTITY_BASED"] = "QUANTITY_BASED";
785
783
  return DiscountValueType2;
786
784
  })(DiscountValueType || {});
787
785
  var RuleType = /* @__PURE__ */ ((RuleType2) => {