@wix/auto_sdk_ecom_checkout-templates 1.0.140 → 1.0.142

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