@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.
@@ -2367,19 +2367,14 @@ interface Membership {
2367
2367
  /** The name of this membership. */
2368
2368
  name?: MembershipName;
2369
2369
  /**
2370
- * Deprecated. Use the response-level `coverages` (`LineItemCoverage`) to see which line items each benefit covers.
2370
+ * Deprecated. Use `ExistingMembership.covered_line_items` to see which line items this membership covers.
2371
2371
  * @minSize 1
2372
2372
  * @maxSize 300
2373
2373
  * @minLength 1
2374
2374
  * @maxLength 100
2375
2375
  */
2376
2376
  lineItemIds?: string[];
2377
- /**
2378
- * Deprecated. Use `benefits`.
2379
- * @deprecated
2380
- * @replacedBy benefits
2381
- * @targetRemovalDate 2026-07-30
2382
- */
2377
+ /** Membership's payment credits (balance information). */
2383
2378
  credits?: MembershipPaymentCredits;
2384
2379
  /**
2385
2380
  * Deprecated. Use `offering_description`.
@@ -2389,9 +2384,9 @@ interface Membership {
2389
2384
  */
2390
2385
  expirationDate?: Date | null;
2391
2386
  /**
2392
- * Deprecated. Use `benefits.additional_data`.
2387
+ * Deprecated. Use `offering_description`.
2393
2388
  * @deprecated
2394
- * @replacedBy benefits
2389
+ * @replacedBy offering_description
2395
2390
  * @targetRemovalDate 2026-07-30
2396
2391
  */
2397
2392
  additionalData?: Record<string, any> | null;
@@ -2426,14 +2421,15 @@ declare enum BalanceType {
2426
2421
  /** @enumType */
2427
2422
  type BalanceTypeWithLiterals = BalanceType | 'PUNCH_CARD' | 'CREDIT';
2428
2423
  /**
2429
- * A single redeemable benefit granted by a membership or a purchasable plan.
2430
- * Used by the per-benefit redemption flow (`ListExistingMemberships`, `ListPurchasablePlans`, `EnhanceAndValidateSelection`).
2424
+ * A single redeemable benefit. A purchasable plan grants one or more benefits (`PurchasablePlan.benefits`);
2425
+ * once the plan is paid, each benefit becomes its own membership (charged via `membership_id`).
2426
+ * (Also present on the deprecated `Membership.benefits`, retained for backward compatibility.)
2431
2427
  */
2432
2428
  interface Benefit extends BenefitQuotaOneOf {
2433
2429
  limitedQuota?: LimitedQuota;
2434
2430
  /**
2435
- * Identifier for this benefit. Must be unique within the response so the response-level `coverages`
2436
- * (`LineItemCoverage.benefit_id`) can reference it unambiguously across memberships/plans.
2431
+ * Identifier for this benefit. On a `PurchasablePlan` it must be unique within the response so
2432
+ * `coverages` (`LineItemCoverage.benefit_id`) can reference it unambiguously across the plan's benefits.
2437
2433
  * @minLength 1
2438
2434
  * @maxLength 200
2439
2435
  */