@wix/auto_sdk_ecom_current-cart 1.0.174 → 1.0.176

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +3 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +168 -7
  5. package/build/cjs/index.typings.js +3 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +168 -7
  8. package/build/cjs/meta.js +3 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +3 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +168 -7
  14. package/build/es/index.typings.mjs +3 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +168 -7
  17. package/build/es/meta.mjs +3 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +3 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +186 -18
  23. package/build/internal/cjs/index.typings.js +3 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +168 -7
  26. package/build/internal/cjs/meta.js +3 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +3 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +186 -18
  32. package/build/internal/es/index.typings.mjs +3 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +168 -7
  35. package/build/internal/es/meta.mjs +3 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -2498,19 +2498,46 @@ interface GiftCardCalculationError {
2498
2498
  interface MembershipOptions {
2499
2499
  /**
2500
2500
  * List of payment options that can be used.
2501
+ * Populated by the legacy ListEligibleMemberships flow.
2501
2502
  * @maxSize 300
2503
+ * @deprecated List of payment options that can be used.
2504
+ * Populated by the legacy ListEligibleMemberships flow.
2505
+ * @replacedBy validated_existing_memberships
2506
+ * @targetRemovalDate 2026-10-01
2502
2507
  */
2503
2508
  eligibleMemberships?: Membership[];
2504
2509
  /**
2505
2510
  * List of payment options that are owned by the member, but cannot be used due to reason provided.
2511
+ * Populated by the legacy ListEligibleMemberships flow.
2506
2512
  * @maxSize 300
2513
+ * @deprecated List of payment options that are owned by the member, but cannot be used due to reason provided.
2514
+ * Populated by the legacy ListEligibleMemberships flow.
2515
+ * @replacedBy validated_existing_memberships
2516
+ * @targetRemovalDate 2026-10-01
2507
2517
  */
2508
2518
  invalidMemberships?: InvalidMembership[];
2509
2519
  /**
2510
2520
  * The selected membership payment options and which line items they apply to.
2521
+ * Populated by the legacy ListEligibleMemberships flow.
2511
2522
  * @maxSize 300
2523
+ * @deprecated The selected membership payment options and which line items they apply to.
2524
+ * Populated by the legacy ListEligibleMemberships flow.
2525
+ * @replacedBy validated_existing_memberships
2526
+ * @targetRemovalDate 2026-10-01
2512
2527
  */
2513
2528
  selectedMemberships?: HostSelectedMembership[];
2529
+ /**
2530
+ * Validated existing memberships selected for redemption, each with the line items it can cover.
2531
+ * Populated by the EnhanceAndValidateSelection flow.
2532
+ * @internal
2533
+ */
2534
+ validatedExistingMemberships?: ValidatedExistingMemberships;
2535
+ /**
2536
+ * Validated future plans (purchasable during this checkout) and how their benefits cover the line items.
2537
+ * Populated by the EnhanceAndValidateSelection flow.
2538
+ * @internal
2539
+ */
2540
+ validatedPurchasablePlans?: ValidatedPurchasablePlans;
2514
2541
  }
2515
2542
  interface Membership {
2516
2543
  /**
@@ -2556,17 +2583,6 @@ interface Membership {
2556
2583
  * @maxLength 500
2557
2584
  */
2558
2585
  offeringDescription?: string | null;
2559
- /**
2560
- * Deprecated. A membership is a single benefit of a paid plan and no longer models benefits itself.
2561
- * What a membership can pay for is exposed by `ListExistingMembershipsResponse.memberships`
2562
- * (`ExistingMembership.covered_line_items`).
2563
- * @internal
2564
- * @maxSize 50
2565
- * @deprecated
2566
- * @replacedBy ExistingMembership.covered_line_items
2567
- * @targetRemovalDate 2026-07-30
2568
- */
2569
- benefits?: Benefit[];
2570
2586
  }
2571
2587
  interface MembershipName {
2572
2588
  /**
@@ -2611,10 +2627,147 @@ declare enum BalanceType {
2611
2627
  }
2612
2628
  /** @enumType */
2613
2629
  type BalanceTypeWithLiterals = BalanceType | 'PUNCH_CARD' | 'CREDIT';
2630
+ interface InvalidMembership {
2631
+ /** Membership details. */
2632
+ membership?: Membership;
2633
+ /**
2634
+ * Reason why this membership is invalid and cannot be used.
2635
+ * @minLength 1
2636
+ * @maxLength 100
2637
+ */
2638
+ reason?: string;
2639
+ }
2640
+ /** Same shape as `ListExistingMembershipsResponse.memberships`. */
2641
+ interface ValidatedExistingMemberships {
2642
+ /**
2643
+ * The selected memberships, each paired with the line items it can redeem and the cost to redeem each.
2644
+ * @maxSize 300
2645
+ */
2646
+ memberships?: ExistingMembership[];
2647
+ }
2648
+ /**
2649
+ * A membership the member already owns, together with the input line items it can pay for.
2650
+ *
2651
+ * A membership is a single benefit granted by a plan the member has already paid for, so coverage is
2652
+ * nested here per membership (no `benefit_id` linkage is needed, unlike a plan that grants many benefits).
2653
+ */
2654
+ interface ExistingMembership {
2655
+ /** The membership the member owns. */
2656
+ membership?: V1Membership;
2657
+ /**
2658
+ * The input line items this membership can pay for, and the cost to redeem each.
2659
+ * @maxSize 300
2660
+ */
2661
+ coveredLineItems?: CoveredLineItem[];
2662
+ }
2663
+ interface V1Membership {
2664
+ /**
2665
+ * Membership ID.
2666
+ * @minLength 1
2667
+ * @maxLength 100
2668
+ */
2669
+ _id?: string;
2670
+ /** Membership name. */
2671
+ name?: MembershipName;
2672
+ /**
2673
+ * Deprecated. Use `ExistingMembership.covered_line_items` to see which line items this membership covers.
2674
+ * @minSize 1
2675
+ * @maxSize 300
2676
+ * @minLength 1
2677
+ * @maxLength 100
2678
+ * @deprecated
2679
+ * @replacedBy ExistingMembership.covered_line_items.line_item_id
2680
+ * @targetRemovalDate 2026-07-30
2681
+ */
2682
+ lineItemIds?: string[];
2683
+ /** Membership's payment credits (balance information). */
2684
+ credits?: MembershipPaymentCredits;
2685
+ /**
2686
+ * Membership expiration date.
2687
+ * @deprecated
2688
+ * @replacedBy offering_description
2689
+ * @targetRemovalDate 2026-07-30
2690
+ */
2691
+ expirationDate?: Date | null;
2692
+ /**
2693
+ * Deprecated. Use `offering_description` for human-readable provider data.
2694
+ * @deprecated
2695
+ * @replacedBy offering_description
2696
+ * @targetRemovalDate 2026-07-30
2697
+ */
2698
+ additionalData?: Record<string, any> | null;
2699
+ /**
2700
+ * Human-readable offering summary for display (for example price and validity text). Provider-supplied.
2701
+ * @internal
2702
+ * @maxLength 500
2703
+ */
2704
+ offeringDescription?: string | null;
2705
+ }
2706
+ /** A line item a membership can pay for, and the cost to redeem it. */
2707
+ interface CoveredLineItem {
2708
+ /**
2709
+ * The input line item this membership can cover.
2710
+ * @minLength 1
2711
+ * @maxLength 100
2712
+ */
2713
+ lineItemId?: string;
2714
+ /**
2715
+ * The amount to redeem from the membership's benefit quota (`benefit.limited_quota.remaining`) for this item.
2716
+ * Always 0 when the benefit is unlimited (nothing is decremented).
2717
+ */
2718
+ redemptionCost?: number;
2719
+ }
2720
+ /** Same shape as `ListPurchasablePlansResponse`. */
2721
+ interface ValidatedPurchasablePlans {
2722
+ /**
2723
+ * The selected plans.
2724
+ * @maxSize 300
2725
+ */
2726
+ purchasablePlans?: PurchasablePlan[];
2727
+ /**
2728
+ * How the plans' benefits cover the line items, linked to a benefit by `benefit_id`.
2729
+ * @maxSize 300
2730
+ */
2731
+ coverages?: LineItemCoverage[];
2732
+ }
2733
+ interface PurchasablePlan {
2734
+ /** Catalog and item reference for the plan that can be purchased. */
2735
+ catalogReference?: CatalogReference;
2736
+ /** Plan name. */
2737
+ name?: MembershipName;
2738
+ /**
2739
+ * Benefits the plan would grant once purchased. Multiple entries support multi-benefit plans (e.g., a bundle granting separate yoga and pilates credits).
2740
+ * @minSize 1
2741
+ * @maxSize 50
2742
+ */
2743
+ benefits?: Benefit[];
2744
+ /**
2745
+ * Human-readable offering summary for display (for example price and validity text). Provider-supplied.
2746
+ * @maxLength 500
2747
+ */
2748
+ offeringDescription?: string | null;
2749
+ /**
2750
+ * URL the buyer is redirected to in order to collect additional info required to purchase this plan.
2751
+ * @format WEB_URL
2752
+ */
2753
+ infoCollectionUrl?: string | null;
2754
+ /**
2755
+ * Plan price.
2756
+ * @decimalValue options { gte:0, maxScale:3 }
2757
+ */
2758
+ price?: string;
2759
+ /**
2760
+ * Human-readable description of the plan price (for example "First month free, then $20/month").
2761
+ *
2762
+ * `price` is simply the price (useful for sorting or comparison, for example), while this is a
2763
+ * descriptive, display-oriented summary of it.
2764
+ * @maxLength 500
2765
+ */
2766
+ priceDescription?: string | null;
2767
+ }
2614
2768
  /**
2615
2769
  * A single redeemable benefit. A purchasable plan grants one or more benefits (`PurchasablePlan.benefits`);
2616
2770
  * once the plan is paid, each benefit becomes its own membership (charged via `membership_id`).
2617
- * (Also present on the deprecated `Membership.benefits`, retained for backward compatibility.)
2618
2771
  */
2619
2772
  interface Benefit extends BenefitQuotaOneOf {
2620
2773
  limitedQuota?: LimitedQuota;
@@ -2668,15 +2821,30 @@ declare enum LimitedQuotaType {
2668
2821
  }
2669
2822
  /** @enumType */
2670
2823
  type LimitedQuotaTypeWithLiterals = LimitedQuotaType | 'PUNCH_CARD' | 'CREDIT';
2671
- interface InvalidMembership {
2672
- /** Membership details. */
2673
- membership?: Membership;
2824
+ /**
2825
+ * Maps a benefit to a line item it can cover, and at what cost, linked to a benefit by `benefit_id`.
2826
+ * One entry per (benefit, line item). Returned by `ListPurchasablePlans` (alongside `purchasable_plans`).
2827
+ * For the existing-memberships flow the equivalent mapping is `ExistingMembership.covered_line_items`,
2828
+ * which needs no `benefit_id` because a membership is a single benefit.
2829
+ */
2830
+ interface LineItemCoverage {
2674
2831
  /**
2675
- * Reason why this membership is invalid and cannot be used.
2832
+ * The benefit that covers the line item, as returned in `Benefit.benefit_id`.
2833
+ * @minLength 1
2834
+ * @maxLength 200
2835
+ */
2836
+ benefitId?: string;
2837
+ /**
2838
+ * The line item this benefit covers.
2676
2839
  * @minLength 1
2677
2840
  * @maxLength 100
2678
2841
  */
2679
- reason?: string;
2842
+ lineItemId?: string;
2843
+ /**
2844
+ * The amount to redeem from the benefit's `limited_quota.remaining` value for this item.
2845
+ * Always 0 for an unlimited benefit (nothing is decremented).
2846
+ */
2847
+ redemptionCost?: number;
2680
2848
  }
2681
2849
  interface AdditionalFee {
2682
2850
  /**
@@ -3701,4 +3869,4 @@ interface EstimateCurrentCartTotalsOptions {
3701
3869
  */
3702
3870
  declare function deleteCurrentCart(): Promise<void>;
3703
3871
 
3704
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCartRequest, type AddToCartResponse, type AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartOptions, type AddToCurrentCartRequest, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type Benefit, type BenefitQuotaOneOf, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedItemModifier, type CalculatedLineItem, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartCreatedEnvelope, type CartDeletedEnvelope, type CartDiscount, type CartDiscountDiscountSourceOneOf, type CartUpdatedEnvelope, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type Coupon, type CreateCartRequest, type CreateCartResponse, type CreateCheckoutFromCurrentCartOptions, type CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest, type CreateCheckoutResponse, type CustomLineItem, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EstimateCurrentCartTotalsOptions, type EstimateCurrentCartTotalsRequest, type EstimateTotalsRequest, type EstimateTotalsResponse, type EventMetadata, type ExtendedFields, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse, type GetCartRequest, type GetCartResponse, type GetCurrentCartApplicationErrors, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardCalculationError, type Group, type HostSelectedMembership, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LimitedQuota, LimitedQuotaType, type LimitedQuotaTypeWithLiterals, type LineItem, type LineItemAdded, type LineItemDiscount, type LineItemPricesData, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, QuotaType, type QuotaTypeWithLiterals, RateType, type RateTypeWithLiterals, type Region, type RemoveBusinessLocationRequest, type RemoveBusinessLocationResponse, type RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type SelectedShippingOption, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartLineItemQuantityRequest, type UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type V1Coupon, type V1DiscountRule, type V1DiscountRuleName, type V1ItemModifier, type V1MerchantDiscount, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCurrentCart, createCheckoutFromCurrentCart, deleteCurrentCart, estimateCurrentCartTotals, getCurrentCart, onCartCreated, onCartDeleted, onCartUpdated, removeCouponFromCurrentCart, removeLineItemsFromCurrentCart, updateCurrentCart, updateCurrentCartLineItemQuantity };
3872
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCartRequest, type AddToCartResponse, type AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartOptions, type AddToCurrentCartRequest, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type Benefit, type BenefitQuotaOneOf, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedItemModifier, type CalculatedLineItem, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartCreatedEnvelope, type CartDeletedEnvelope, type CartDiscount, type CartDiscountDiscountSourceOneOf, type CartUpdatedEnvelope, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type Coupon, type CoveredLineItem, type CreateCartRequest, type CreateCartResponse, type CreateCheckoutFromCurrentCartOptions, type CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest, type CreateCheckoutResponse, type CustomLineItem, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EstimateCurrentCartTotalsOptions, type EstimateCurrentCartTotalsRequest, type EstimateTotalsRequest, type EstimateTotalsResponse, type EventMetadata, type ExistingMembership, type ExtendedFields, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse, type GetCartRequest, type GetCartResponse, type GetCurrentCartApplicationErrors, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardCalculationError, type Group, type HostSelectedMembership, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LimitedQuota, LimitedQuotaType, type LimitedQuotaTypeWithLiterals, type LineItem, type LineItemAdded, type LineItemCoverage, type LineItemDiscount, type LineItemPricesData, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type PurchasablePlan, QuotaType, type QuotaTypeWithLiterals, RateType, type RateTypeWithLiterals, type Region, type RemoveBusinessLocationRequest, type RemoveBusinessLocationResponse, type RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type SelectedShippingOption, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartLineItemQuantityRequest, type UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type V1Coupon, type V1DiscountRule, type V1DiscountRuleName, type V1ItemModifier, type V1Membership, type V1MerchantDiscount, type V1ModifierGroup, type ValidatedExistingMemberships, type ValidatedPurchasablePlans, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCurrentCart, createCheckoutFromCurrentCart, deleteCurrentCart, estimateCurrentCartTotals, getCurrentCart, onCartCreated, onCartDeleted, onCartUpdated, removeCouponFromCurrentCart, removeLineItemsFromCurrentCart, updateCurrentCart, updateCurrentCartLineItemQuantity };
@@ -580,6 +580,9 @@ function estimateCurrentCartTotals(payload) {
580
580
  { path: "membershipOptions.eligibleMemberships.expirationDate" },
581
581
  {
582
582
  path: "membershipOptions.invalidMemberships.membership.expirationDate"
583
+ },
584
+ {
585
+ path: "membershipOptions.validatedExistingMemberships.memberships.membership.expirationDate"
583
586
  }
584
587
  ]
585
588
  },