@wix/auto_sdk_ecom_payment-settings 1.0.129 → 1.0.130

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.
@@ -4648,7 +4648,7 @@ interface Membership {
4648
4648
  /** The name of this membership. */
4649
4649
  name?: MembershipName;
4650
4650
  /**
4651
- * Deprecated. Use the response-level `coverages` (`LineItemCoverage`) to see which line items each benefit covers.
4651
+ * Deprecated. Use `ExistingMembership.covered_line_items` to see which line items this membership covers.
4652
4652
  * @minSize 1
4653
4653
  * @maxSize 300
4654
4654
  * @minLength 1
@@ -4656,9 +4656,10 @@ interface Membership {
4656
4656
  */
4657
4657
  lineItemIds?: string[];
4658
4658
  /**
4659
- * Deprecated. Use `benefits`.
4659
+ * Deprecated. The new flow no longer exposes raw balances on a membership; what a membership can pay
4660
+ * for is conveyed by `ExistingMembership.covered_line_items` (per-item redemption cost).
4660
4661
  * @deprecated
4661
- * @replacedBy benefits
4662
+ * @replacedBy ExistingMembership.covered_line_items.redemption_cost
4662
4663
  * @targetRemovalDate 2026-07-30
4663
4664
  */
4664
4665
  credits?: MembershipPaymentCredits;
@@ -4670,9 +4671,9 @@ interface Membership {
4670
4671
  */
4671
4672
  expirationDate?: Date | null;
4672
4673
  /**
4673
- * Deprecated. Use `benefits.additional_data`.
4674
+ * Deprecated. Use `offering_description`.
4674
4675
  * @deprecated
4675
- * @replacedBy benefits
4676
+ * @replacedBy offering_description
4676
4677
  * @targetRemovalDate 2026-07-30
4677
4678
  */
4678
4679
  additionalData?: Record<string, any> | null;
@@ -4705,14 +4706,15 @@ declare enum BalanceType {
4705
4706
  CREDIT = "CREDIT"
4706
4707
  }
4707
4708
  /**
4708
- * A single redeemable benefit granted by a membership or a purchasable plan.
4709
- * Used by the per-benefit redemption flow (`ListExistingMemberships`, `ListPurchasablePlans`, `EnhanceAndValidateSelection`).
4709
+ * A single redeemable benefit. A purchasable plan grants one or more benefits (`PurchasablePlan.benefits`);
4710
+ * once the plan is paid, each benefit becomes its own membership (charged via `membership_id`).
4711
+ * (Also present on the deprecated `Membership.benefits`, retained for backward compatibility.)
4710
4712
  */
4711
4713
  interface Benefit extends BenefitQuotaOneOf {
4712
4714
  limitedQuota?: LimitedQuota;
4713
4715
  /**
4714
- * Identifier for this benefit. Must be unique within the response so the response-level `coverages`
4715
- * (`LineItemCoverage.benefit_id`) can reference it unambiguously across memberships/plans.
4716
+ * Identifier for this benefit. On a `PurchasablePlan` it must be unique within the response so
4717
+ * `coverages` (`LineItemCoverage.benefit_id`) can reference it unambiguously across the plan's benefits.
4716
4718
  * @minLength 1
4717
4719
  * @maxLength 200
4718
4720
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_payment-settings",
3
- "version": "1.0.129",
3
+ "version": "1.0.130",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -51,5 +51,5 @@
51
51
  "fqdn": "wix.interfaces.ecommerce.v1.payment_settings_provider"
52
52
  }
53
53
  },
54
- "falconPackageHash": "20fad4b75cc09510c950797954c33ac08b82e7f1a0700f1633a3daa7"
54
+ "falconPackageHash": "f5812534c1ba05723ea8e467c2d50ef7f45c7839cf30aaf8dbda3da0"
55
55
  }