@wix/auto_sdk_ecom_current-cart 1.0.172 → 1.0.174

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,19 +2406,14 @@ 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
2413
2413
  * @maxLength 100
2414
2414
  */
2415
2415
  lineItemIds?: string[];
2416
- /**
2417
- * Deprecated. Use `benefits`.
2418
- * @deprecated
2419
- * @replacedBy benefits
2420
- * @targetRemovalDate 2026-07-30
2421
- */
2416
+ /** Membership's payment credits (balance information). */
2422
2417
  credits?: MembershipPaymentCredits;
2423
2418
  /**
2424
2419
  * Deprecated. Use `offering_description`.
@@ -2428,9 +2423,9 @@ interface Membership {
2428
2423
  */
2429
2424
  expirationDate?: Date | null;
2430
2425
  /**
2431
- * Deprecated. Use `benefits.additional_data`.
2426
+ * Deprecated. Use `offering_description`.
2432
2427
  * @deprecated
2433
- * @replacedBy benefits
2428
+ * @replacedBy offering_description
2434
2429
  * @targetRemovalDate 2026-07-30
2435
2430
  */
2436
2431
  additionalData?: Record<string, any> | null;
@@ -2465,14 +2460,15 @@ declare enum BalanceType {
2465
2460
  /** @enumType */
2466
2461
  type BalanceTypeWithLiterals = BalanceType | 'PUNCH_CARD' | 'CREDIT';
2467
2462
  /**
2468
- * A single redeemable benefit granted by a membership or a purchasable plan.
2469
- * Used by the per-benefit redemption flow (`ListExistingMemberships`, `ListPurchasablePlans`, `EnhanceAndValidateSelection`).
2463
+ * A single redeemable benefit. A purchasable plan grants one or more benefits (`PurchasablePlan.benefits`);
2464
+ * once the plan is paid, each benefit becomes its own membership (charged via `membership_id`).
2465
+ * (Also present on the deprecated `Membership.benefits`, retained for backward compatibility.)
2470
2466
  */
2471
2467
  interface Benefit extends BenefitQuotaOneOf {
2472
2468
  limitedQuota?: LimitedQuota;
2473
2469
  /**
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.
2470
+ * Identifier for this benefit. On a `PurchasablePlan` it must be unique within the response so
2471
+ * `coverages` (`LineItemCoverage.benefit_id`) can reference it unambiguously across the plan's benefits.
2476
2472
  * @minLength 1
2477
2473
  * @maxLength 200
2478
2474
  */