@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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +3 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +168 -7
- package/build/cjs/index.typings.js +3 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +168 -7
- package/build/cjs/meta.js +3 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +3 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +168 -7
- package/build/es/index.typings.mjs +3 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +168 -7
- package/build/es/meta.mjs +3 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +3 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +186 -18
- package/build/internal/cjs/index.typings.js +3 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +168 -7
- package/build/internal/cjs/meta.js +3 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +3 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +186 -18
- package/build/internal/es/index.typings.mjs +3 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +168 -7
- package/build/internal/es/meta.mjs +3 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2338,17 +2338,32 @@ interface GiftCardCalculationError {
|
|
|
2338
2338
|
interface MembershipOptions {
|
|
2339
2339
|
/**
|
|
2340
2340
|
* List of payment options that can be used.
|
|
2341
|
+
* Populated by the legacy ListEligibleMemberships flow.
|
|
2341
2342
|
* @maxSize 300
|
|
2343
|
+
* @deprecated List of payment options that can be used.
|
|
2344
|
+
* Populated by the legacy ListEligibleMemberships flow.
|
|
2345
|
+
* @replacedBy validated_existing_memberships
|
|
2346
|
+
* @targetRemovalDate 2026-10-01
|
|
2342
2347
|
*/
|
|
2343
2348
|
eligibleMemberships?: Membership[];
|
|
2344
2349
|
/**
|
|
2345
2350
|
* List of payment options that are owned by the member, but cannot be used due to reason provided.
|
|
2351
|
+
* Populated by the legacy ListEligibleMemberships flow.
|
|
2346
2352
|
* @maxSize 300
|
|
2353
|
+
* @deprecated List of payment options that are owned by the member, but cannot be used due to reason provided.
|
|
2354
|
+
* Populated by the legacy ListEligibleMemberships flow.
|
|
2355
|
+
* @replacedBy validated_existing_memberships
|
|
2356
|
+
* @targetRemovalDate 2026-10-01
|
|
2347
2357
|
*/
|
|
2348
2358
|
invalidMemberships?: InvalidMembership[];
|
|
2349
2359
|
/**
|
|
2350
2360
|
* The selected membership payment options and which line items they apply to.
|
|
2361
|
+
* Populated by the legacy ListEligibleMemberships flow.
|
|
2351
2362
|
* @maxSize 300
|
|
2363
|
+
* @deprecated The selected membership payment options and which line items they apply to.
|
|
2364
|
+
* Populated by the legacy ListEligibleMemberships flow.
|
|
2365
|
+
* @replacedBy validated_existing_memberships
|
|
2366
|
+
* @targetRemovalDate 2026-10-01
|
|
2352
2367
|
*/
|
|
2353
2368
|
selectedMemberships?: HostSelectedMembership[];
|
|
2354
2369
|
}
|
|
@@ -2420,10 +2435,141 @@ declare enum BalanceType {
|
|
|
2420
2435
|
}
|
|
2421
2436
|
/** @enumType */
|
|
2422
2437
|
type BalanceTypeWithLiterals = BalanceType | 'PUNCH_CARD' | 'CREDIT';
|
|
2438
|
+
interface InvalidMembership {
|
|
2439
|
+
/** Membership details. */
|
|
2440
|
+
membership?: Membership;
|
|
2441
|
+
/**
|
|
2442
|
+
* Reason why this membership is invalid and cannot be used.
|
|
2443
|
+
* @minLength 1
|
|
2444
|
+
* @maxLength 100
|
|
2445
|
+
*/
|
|
2446
|
+
reason?: string;
|
|
2447
|
+
}
|
|
2448
|
+
/** Same shape as `ListExistingMembershipsResponse.memberships`. */
|
|
2449
|
+
interface ValidatedExistingMemberships {
|
|
2450
|
+
/**
|
|
2451
|
+
* The selected memberships, each paired with the line items it can redeem and the cost to redeem each.
|
|
2452
|
+
* @maxSize 300
|
|
2453
|
+
*/
|
|
2454
|
+
memberships?: ExistingMembership[];
|
|
2455
|
+
}
|
|
2456
|
+
/**
|
|
2457
|
+
* A membership the member already owns, together with the input line items it can pay for.
|
|
2458
|
+
*
|
|
2459
|
+
* A membership is a single benefit granted by a plan the member has already paid for, so coverage is
|
|
2460
|
+
* nested here per membership (no `benefit_id` linkage is needed, unlike a plan that grants many benefits).
|
|
2461
|
+
*/
|
|
2462
|
+
interface ExistingMembership {
|
|
2463
|
+
/** The membership the member owns. */
|
|
2464
|
+
membership?: V1Membership;
|
|
2465
|
+
/**
|
|
2466
|
+
* The input line items this membership can pay for, and the cost to redeem each.
|
|
2467
|
+
* @maxSize 300
|
|
2468
|
+
*/
|
|
2469
|
+
coveredLineItems?: CoveredLineItem[];
|
|
2470
|
+
}
|
|
2471
|
+
interface V1Membership {
|
|
2472
|
+
/**
|
|
2473
|
+
* Membership ID.
|
|
2474
|
+
* @minLength 1
|
|
2475
|
+
* @maxLength 100
|
|
2476
|
+
*/
|
|
2477
|
+
_id?: string;
|
|
2478
|
+
/** Membership name. */
|
|
2479
|
+
name?: MembershipName;
|
|
2480
|
+
/**
|
|
2481
|
+
* Deprecated. Use `ExistingMembership.covered_line_items` to see which line items this membership covers.
|
|
2482
|
+
* @minSize 1
|
|
2483
|
+
* @maxSize 300
|
|
2484
|
+
* @minLength 1
|
|
2485
|
+
* @maxLength 100
|
|
2486
|
+
* @deprecated
|
|
2487
|
+
* @replacedBy ExistingMembership.covered_line_items.line_item_id
|
|
2488
|
+
* @targetRemovalDate 2026-07-30
|
|
2489
|
+
*/
|
|
2490
|
+
lineItemIds?: string[];
|
|
2491
|
+
/** Membership's payment credits (balance information). */
|
|
2492
|
+
credits?: MembershipPaymentCredits;
|
|
2493
|
+
/**
|
|
2494
|
+
* Membership expiration date.
|
|
2495
|
+
* @deprecated
|
|
2496
|
+
* @replacedBy offering_description
|
|
2497
|
+
* @targetRemovalDate 2026-07-30
|
|
2498
|
+
*/
|
|
2499
|
+
expirationDate?: Date | null;
|
|
2500
|
+
/**
|
|
2501
|
+
* Deprecated. Use `offering_description` for human-readable provider data.
|
|
2502
|
+
* @deprecated
|
|
2503
|
+
* @replacedBy offering_description
|
|
2504
|
+
* @targetRemovalDate 2026-07-30
|
|
2505
|
+
*/
|
|
2506
|
+
additionalData?: Record<string, any> | null;
|
|
2507
|
+
}
|
|
2508
|
+
/** A line item a membership can pay for, and the cost to redeem it. */
|
|
2509
|
+
interface CoveredLineItem {
|
|
2510
|
+
/**
|
|
2511
|
+
* The input line item this membership can cover.
|
|
2512
|
+
* @minLength 1
|
|
2513
|
+
* @maxLength 100
|
|
2514
|
+
*/
|
|
2515
|
+
lineItemId?: string;
|
|
2516
|
+
/**
|
|
2517
|
+
* The amount to redeem from the membership's benefit quota (`benefit.limited_quota.remaining`) for this item.
|
|
2518
|
+
* Always 0 when the benefit is unlimited (nothing is decremented).
|
|
2519
|
+
*/
|
|
2520
|
+
redemptionCost?: number;
|
|
2521
|
+
}
|
|
2522
|
+
/** Same shape as `ListPurchasablePlansResponse`. */
|
|
2523
|
+
interface ValidatedPurchasablePlans {
|
|
2524
|
+
/**
|
|
2525
|
+
* The selected plans.
|
|
2526
|
+
* @maxSize 300
|
|
2527
|
+
*/
|
|
2528
|
+
purchasablePlans?: PurchasablePlan[];
|
|
2529
|
+
/**
|
|
2530
|
+
* How the plans' benefits cover the line items, linked to a benefit by `benefit_id`.
|
|
2531
|
+
* @maxSize 300
|
|
2532
|
+
*/
|
|
2533
|
+
coverages?: LineItemCoverage[];
|
|
2534
|
+
}
|
|
2535
|
+
interface PurchasablePlan {
|
|
2536
|
+
/** Catalog and item reference for the plan that can be purchased. */
|
|
2537
|
+
catalogReference?: CatalogReference;
|
|
2538
|
+
/** Plan name. */
|
|
2539
|
+
name?: MembershipName;
|
|
2540
|
+
/**
|
|
2541
|
+
* Benefits the plan would grant once purchased. Multiple entries support multi-benefit plans (e.g., a bundle granting separate yoga and pilates credits).
|
|
2542
|
+
* @minSize 1
|
|
2543
|
+
* @maxSize 50
|
|
2544
|
+
*/
|
|
2545
|
+
benefits?: Benefit[];
|
|
2546
|
+
/**
|
|
2547
|
+
* Human-readable offering summary for display (for example price and validity text). Provider-supplied.
|
|
2548
|
+
* @maxLength 500
|
|
2549
|
+
*/
|
|
2550
|
+
offeringDescription?: string | null;
|
|
2551
|
+
/**
|
|
2552
|
+
* URL the buyer is redirected to in order to collect additional info required to purchase this plan.
|
|
2553
|
+
* @format WEB_URL
|
|
2554
|
+
*/
|
|
2555
|
+
infoCollectionUrl?: string | null;
|
|
2556
|
+
/**
|
|
2557
|
+
* Plan price.
|
|
2558
|
+
* @decimalValue options { gte:0, maxScale:3 }
|
|
2559
|
+
*/
|
|
2560
|
+
price?: string;
|
|
2561
|
+
/**
|
|
2562
|
+
* Human-readable description of the plan price (for example "First month free, then $20/month").
|
|
2563
|
+
*
|
|
2564
|
+
* `price` is simply the price (useful for sorting or comparison, for example), while this is a
|
|
2565
|
+
* descriptive, display-oriented summary of it.
|
|
2566
|
+
* @maxLength 500
|
|
2567
|
+
*/
|
|
2568
|
+
priceDescription?: string | null;
|
|
2569
|
+
}
|
|
2423
2570
|
/**
|
|
2424
2571
|
* A single redeemable benefit. A purchasable plan grants one or more benefits (`PurchasablePlan.benefits`);
|
|
2425
2572
|
* 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.)
|
|
2427
2573
|
*/
|
|
2428
2574
|
interface Benefit extends BenefitQuotaOneOf {
|
|
2429
2575
|
limitedQuota?: LimitedQuota;
|
|
@@ -2477,15 +2623,30 @@ declare enum LimitedQuotaType {
|
|
|
2477
2623
|
}
|
|
2478
2624
|
/** @enumType */
|
|
2479
2625
|
type LimitedQuotaTypeWithLiterals = LimitedQuotaType | 'PUNCH_CARD' | 'CREDIT';
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2626
|
+
/**
|
|
2627
|
+
* Maps a benefit to a line item it can cover, and at what cost, linked to a benefit by `benefit_id`.
|
|
2628
|
+
* One entry per (benefit, line item). Returned by `ListPurchasablePlans` (alongside `purchasable_plans`).
|
|
2629
|
+
* For the existing-memberships flow the equivalent mapping is `ExistingMembership.covered_line_items`,
|
|
2630
|
+
* which needs no `benefit_id` because a membership is a single benefit.
|
|
2631
|
+
*/
|
|
2632
|
+
interface LineItemCoverage {
|
|
2483
2633
|
/**
|
|
2484
|
-
*
|
|
2634
|
+
* The benefit that covers the line item, as returned in `Benefit.benefit_id`.
|
|
2635
|
+
* @minLength 1
|
|
2636
|
+
* @maxLength 200
|
|
2637
|
+
*/
|
|
2638
|
+
benefitId?: string;
|
|
2639
|
+
/**
|
|
2640
|
+
* The line item this benefit covers.
|
|
2485
2641
|
* @minLength 1
|
|
2486
2642
|
* @maxLength 100
|
|
2487
2643
|
*/
|
|
2488
|
-
|
|
2644
|
+
lineItemId?: string;
|
|
2645
|
+
/**
|
|
2646
|
+
* The amount to redeem from the benefit's `limited_quota.remaining` value for this item.
|
|
2647
|
+
* Always 0 for an unlimited benefit (nothing is decremented).
|
|
2648
|
+
*/
|
|
2649
|
+
redemptionCost?: number;
|
|
2489
2650
|
}
|
|
2490
2651
|
interface AdditionalFee {
|
|
2491
2652
|
/**
|
|
@@ -3480,4 +3641,4 @@ interface EstimateCurrentCartTotalsOptions {
|
|
|
3480
3641
|
*/
|
|
3481
3642
|
declare function deleteCurrentCart(): Promise<void>;
|
|
3482
3643
|
|
|
3483
|
-
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 };
|
|
3644
|
+
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
|
},
|