@wix/auto_sdk_ecom_current-cart 1.0.174 → 1.0.175

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 +0 -14
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -58
  5. package/build/cjs/index.typings.js +0 -14
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +1 -58
  8. package/build/cjs/meta.js +0 -14
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +0 -12
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +1 -58
  14. package/build/es/index.typings.mjs +0 -12
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +1 -58
  17. package/build/es/meta.mjs +0 -12
  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 +0 -14
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +1 -69
  23. package/build/internal/cjs/index.typings.js +0 -14
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +1 -58
  26. package/build/internal/cjs/meta.js +0 -14
  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 +0 -12
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +1 -69
  32. package/build/internal/es/index.typings.mjs +0 -12
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +1 -58
  35. package/build/internal/es/meta.mjs +0 -12
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -2556,17 +2556,6 @@ interface Membership {
2556
2556
  * @maxLength 500
2557
2557
  */
2558
2558
  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
2559
  }
2571
2560
  interface MembershipName {
2572
2561
  /**
@@ -2611,63 +2600,6 @@ declare enum BalanceType {
2611
2600
  }
2612
2601
  /** @enumType */
2613
2602
  type BalanceTypeWithLiterals = BalanceType | 'PUNCH_CARD' | 'CREDIT';
2614
- /**
2615
- * A single redeemable benefit. A purchasable plan grants one or more benefits (`PurchasablePlan.benefits`);
2616
- * 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
- */
2619
- interface Benefit extends BenefitQuotaOneOf {
2620
- limitedQuota?: LimitedQuota;
2621
- /**
2622
- * Identifier for this benefit. On a `PurchasablePlan` it must be unique within the response so
2623
- * `coverages` (`LineItemCoverage.benefit_id`) can reference it unambiguously across the plan's benefits.
2624
- * @minLength 1
2625
- * @maxLength 200
2626
- */
2627
- benefitId?: string;
2628
- /**
2629
- * Human-readable label for this benefit (for example, "Manicure" or "Pedicure" on multi-set punchcards).
2630
- * @maxLength 200
2631
- */
2632
- label?: string | null;
2633
- /**
2634
- * The kind of quota this benefit grants: a countable amount drawn down on redemption (`LIMITED`),
2635
- * or an unbounded amount that is never drawn down (`UNLIMITED`).
2636
- */
2637
- quotaType?: QuotaTypeWithLiterals;
2638
- }
2639
- /** @oneof */
2640
- interface BenefitQuotaOneOf {
2641
- limitedQuota?: LimitedQuota;
2642
- }
2643
- declare enum QuotaType {
2644
- /** The benefit grants a countable quota that is drawn down on redemption. */
2645
- LIMITED = "LIMITED",
2646
- /** The benefit is unlimited (unbounded) and is never drawn down. */
2647
- UNLIMITED = "UNLIMITED"
2648
- }
2649
- /** @enumType */
2650
- type QuotaTypeWithLiterals = QuotaType | 'LIMITED' | 'UNLIMITED';
2651
- /** A limited, countable redeemable amount. */
2652
- interface LimitedQuota {
2653
- /**
2654
- * The quota's initial value.
2655
- * @min 1
2656
- */
2657
- total?: number;
2658
- /** The quota's remaining value. */
2659
- remaining?: number;
2660
- /** How the quota is measured. */
2661
- limitedQuotaType?: LimitedQuotaTypeWithLiterals;
2662
- }
2663
- declare enum LimitedQuotaType {
2664
- /** Quota is measured in discrete uses (e.g., sessions, visits). */
2665
- PUNCH_CARD = "PUNCH_CARD",
2666
- /** Quota is measured in a currency-like value (e.g., points). */
2667
- CREDIT = "CREDIT"
2668
- }
2669
- /** @enumType */
2670
- type LimitedQuotaTypeWithLiterals = LimitedQuotaType | 'PUNCH_CARD' | 'CREDIT';
2671
2603
  interface InvalidMembership {
2672
2604
  /** Membership details. */
2673
2605
  membership?: Membership;
@@ -3701,4 +3633,4 @@ interface EstimateCurrentCartTotalsOptions {
3701
3633
  */
3702
3634
  declare function deleteCurrentCart(): Promise<void>;
3703
3635
 
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 };
3636
+ 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 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 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, 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 };
@@ -808,16 +808,6 @@ var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
808
808
  BalanceType2["CREDIT"] = "CREDIT";
809
809
  return BalanceType2;
810
810
  })(BalanceType || {});
811
- var QuotaType = /* @__PURE__ */ ((QuotaType2) => {
812
- QuotaType2["LIMITED"] = "LIMITED";
813
- QuotaType2["UNLIMITED"] = "UNLIMITED";
814
- return QuotaType2;
815
- })(QuotaType || {});
816
- var LimitedQuotaType = /* @__PURE__ */ ((LimitedQuotaType2) => {
817
- LimitedQuotaType2["PUNCH_CARD"] = "PUNCH_CARD";
818
- LimitedQuotaType2["CREDIT"] = "CREDIT";
819
- return LimitedQuotaType2;
820
- })(LimitedQuotaType || {});
821
811
  var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
822
812
  AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
823
813
  AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
@@ -1338,7 +1328,6 @@ export {
1338
1328
  ItemAvailabilityStatus,
1339
1329
  ItemTypePreset,
1340
1330
  JurisdictionType,
1341
- LimitedQuotaType,
1342
1331
  ManualCalculationReason,
1343
1332
  NameInLineItem,
1344
1333
  NameInOther,
@@ -1346,7 +1335,6 @@ export {
1346
1335
  PickupMethod,
1347
1336
  PlatformFeeChargeType,
1348
1337
  ProductPeriodAlignment,
1349
- QuotaType,
1350
1338
  RateType,
1351
1339
  RuleType,
1352
1340
  Severity,