@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.
@@ -2367,7 +2367,7 @@ 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
@@ -2375,9 +2375,10 @@ interface Membership {
2375
2375
  */
2376
2376
  lineItemIds?: string[];
2377
2377
  /**
2378
- * Deprecated. Use `benefits`.
2378
+ * Deprecated. The new flow no longer exposes raw balances on a membership; what a membership can pay
2379
+ * for is conveyed by `ExistingMembership.covered_line_items` (per-item redemption cost).
2379
2380
  * @deprecated
2380
- * @replacedBy benefits
2381
+ * @replacedBy ExistingMembership.covered_line_items.redemption_cost
2381
2382
  * @targetRemovalDate 2026-07-30
2382
2383
  */
2383
2384
  credits?: MembershipPaymentCredits;
@@ -2389,9 +2390,9 @@ interface Membership {
2389
2390
  */
2390
2391
  expirationDate?: Date | null;
2391
2392
  /**
2392
- * Deprecated. Use `benefits.additional_data`.
2393
+ * Deprecated. Use `offering_description`.
2393
2394
  * @deprecated
2394
- * @replacedBy benefits
2395
+ * @replacedBy offering_description
2395
2396
  * @targetRemovalDate 2026-07-30
2396
2397
  */
2397
2398
  additionalData?: Record<string, any> | null;
@@ -2426,14 +2427,15 @@ declare enum BalanceType {
2426
2427
  /** @enumType */
2427
2428
  type BalanceTypeWithLiterals = BalanceType | 'PUNCH_CARD' | 'CREDIT';
2428
2429
  /**
2429
- * A single redeemable benefit granted by a membership or a purchasable plan.
2430
- * 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.)
2431
2433
  */
2432
2434
  interface Benefit extends BenefitQuotaOneOf {
2433
2435
  limitedQuota?: LimitedQuota;
2434
2436
  /**
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.
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.
2437
2439
  * @minLength 1
2438
2440
  * @maxLength 200
2439
2441
  */