@wix/auto_sdk_ecom_current-cart 1.0.172 → 1.0.173

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.
@@ -2406,7 +2406,7 @@ interface Membership {
2406
2406
  /** The name of this membership. */
2407
2407
  name?: MembershipName;
2408
2408
  /**
2409
- * Deprecated. Use the response-level `coverages` (`LineItemCoverage`) to see which line items each benefit covers.
2409
+ * Deprecated. Use `ExistingMembership.covered_line_items` to see which line items this membership covers.
2410
2410
  * @minSize 1
2411
2411
  * @maxSize 300
2412
2412
  * @minLength 1
@@ -2414,9 +2414,10 @@ interface Membership {
2414
2414
  */
2415
2415
  lineItemIds?: string[];
2416
2416
  /**
2417
- * Deprecated. Use `benefits`.
2417
+ * Deprecated. The new flow no longer exposes raw balances on a membership; what a membership can pay
2418
+ * for is conveyed by `ExistingMembership.covered_line_items` (per-item redemption cost).
2418
2419
  * @deprecated
2419
- * @replacedBy benefits
2420
+ * @replacedBy ExistingMembership.covered_line_items.redemption_cost
2420
2421
  * @targetRemovalDate 2026-07-30
2421
2422
  */
2422
2423
  credits?: MembershipPaymentCredits;
@@ -2428,9 +2429,9 @@ interface Membership {
2428
2429
  */
2429
2430
  expirationDate?: Date | null;
2430
2431
  /**
2431
- * Deprecated. Use `benefits.additional_data`.
2432
+ * Deprecated. Use `offering_description`.
2432
2433
  * @deprecated
2433
- * @replacedBy benefits
2434
+ * @replacedBy offering_description
2434
2435
  * @targetRemovalDate 2026-07-30
2435
2436
  */
2436
2437
  additionalData?: Record<string, any> | null;
@@ -2465,14 +2466,15 @@ declare enum BalanceType {
2465
2466
  /** @enumType */
2466
2467
  type BalanceTypeWithLiterals = BalanceType | 'PUNCH_CARD' | 'CREDIT';
2467
2468
  /**
2468
- * A single redeemable benefit granted by a membership or a purchasable plan.
2469
- * Used by the per-benefit redemption flow (`ListExistingMemberships`, `ListPurchasablePlans`, `EnhanceAndValidateSelection`).
2469
+ * A single redeemable benefit. A purchasable plan grants one or more benefits (`PurchasablePlan.benefits`);
2470
+ * once the plan is paid, each benefit becomes its own membership (charged via `membership_id`).
2471
+ * (Also present on the deprecated `Membership.benefits`, retained for backward compatibility.)
2470
2472
  */
2471
2473
  interface Benefit extends BenefitQuotaOneOf {
2472
2474
  limitedQuota?: LimitedQuota;
2473
2475
  /**
2474
- * Identifier for this benefit. Must be unique within the response so the response-level `coverages`
2475
- * (`LineItemCoverage.benefit_id`) can reference it unambiguously across memberships/plans.
2476
+ * Identifier for this benefit. On a `PurchasablePlan` it must be unique within the response so
2477
+ * `coverages` (`LineItemCoverage.benefit_id`) can reference it unambiguously across the plan's benefits.
2476
2478
  * @minLength 1
2477
2479
  * @maxLength 200
2478
2480
  */