@wix/auto_sdk_ecom_cart-v-2 1.0.172 → 1.0.174

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 (41) hide show
  1. package/build/cjs/index.d.ts +24 -4
  2. package/build/cjs/index.js +222 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +221 -46
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +53 -41
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/cjs/schemas.d.ts +0 -26
  9. package/build/cjs/schemas.js +97 -127
  10. package/build/cjs/schemas.js.map +1 -1
  11. package/build/es/index.d.mts +24 -4
  12. package/build/es/index.mjs +218 -0
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +221 -46
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +53 -41
  17. package/build/es/meta.mjs.map +1 -1
  18. package/build/es/schemas.d.mts +0 -26
  19. package/build/es/schemas.mjs +97 -127
  20. package/build/es/schemas.mjs.map +1 -1
  21. package/build/internal/cjs/index.d.ts +24 -4
  22. package/build/internal/cjs/index.js +222 -0
  23. package/build/internal/cjs/index.js.map +1 -1
  24. package/build/internal/cjs/index.typings.d.ts +229 -44
  25. package/build/internal/cjs/index.typings.js.map +1 -1
  26. package/build/internal/cjs/meta.d.ts +53 -41
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/cjs/schemas.d.ts +0 -26
  29. package/build/internal/cjs/schemas.js +97 -127
  30. package/build/internal/cjs/schemas.js.map +1 -1
  31. package/build/internal/es/index.d.mts +24 -4
  32. package/build/internal/es/index.mjs +218 -0
  33. package/build/internal/es/index.mjs.map +1 -1
  34. package/build/internal/es/index.typings.d.mts +229 -44
  35. package/build/internal/es/index.typings.mjs.map +1 -1
  36. package/build/internal/es/meta.d.mts +53 -41
  37. package/build/internal/es/meta.mjs.map +1 -1
  38. package/build/internal/es/schemas.d.mts +0 -26
  39. package/build/internal/es/schemas.mjs +97 -127
  40. package/build/internal/es/schemas.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
- import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
- import { CreateCartOptions, Cart, CreateCartApplicationErrors, UpdateCart, UpdateCartApplicationErrors, RefreshCartResponse, RefreshCartApplicationErrors, EstimateCartOptions, EstimateCartResponse, EstimateCartApplicationErrors, CalculateCartOptions, CalculateCartResponse, CalculateCartApplicationErrors, GetCheckoutUrlOptions, GetCheckoutURLResponse, GetCheckoutUrlApplicationErrors, PlaceOrderOptions, PlaceOrderResponse, PlaceOrderApplicationErrors, AddLineItemsOptions, AddLineItemsResponse, AddLineItemsApplicationErrors, RemoveLineItemsResponse, RemoveLineItemsApplicationErrors, UpdateLineItemsOptions, UpdateLineItemsResponse, UpdateLineItemsApplicationErrors, CouponInput, AddCouponResponse, AddCouponApplicationErrors, RemoveCouponResponse, RemoveCouponApplicationErrors, DeliveryMethodInput, SetDeliveryMethodResponse, SetDeliveryMethodApplicationErrors, RemoveDeliveryMethodResponse, RemoveDeliveryMethodApplicationErrors, GiftCardInput, AddGiftCardResponse, AddGiftCardApplicationErrors, RemoveGiftCardResponse, RemoveGiftCardApplicationErrors, MarkCartAsCompletedOptions, MarkCartAsCompletedResponse, RawHttpResponse, UpdateFormSubmissionsOptions, UpdateFormSubmissionsResponse } from './index.typings.js';
3
- export { AccountInfo, ActionEvent, AddCouponRequest, AddCouponToCurrentCartRequest, AddCouponToCurrentCartResponse, AddGiftCardRequest, AddGiftCardToCurrentCartRequest, AddGiftCardToCurrentCartResponse, AddLineItemsRequest, AddLineItemsToCurrentCartRequest, AddLineItemsToCurrentCartResponse, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, Benefit, BenefitQuotaOneOf, BenefitType, BenefitTypeWithLiterals, BillingSettings, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCurrentCartRequest, CalculateCurrentCartResponse, CalculateTotalsResponse, CalculatedItemModifier, CalculatedLineItem, CalculatedPlatformFee, CalculationConfig, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CalculationOverrides, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CartAlreadyOrderedErrorData, CartEstimationIndicators, CartRevisionMismatchErrorData, CartSettings, CartSource, CartSummary, CatalogItemInput, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, Color, ConvertedMoney, Coupon, CouponAdded, CouponAlreadyExistsErrorData, CouponNotFoundInCartErrorData, CouponRemoved, CoveredLineItem, CreateCartRequest, CreateCartResponse, CreateCurrentCartRequest, CreateCurrentCartResponse, CreatedBy, CreatedByIdOneOf, CustomContentReference, CustomField, CustomItemAttributes, CustomItemDeliveryConfig, CustomItemInput, CustomItemPaymentConfig, CustomItemPricingInfo, CustomItemQuantityInfo, CustomItemSource, CustomItemTaxConfig, CustomValidationErrorData, CustomerInfo, CustomerInfoIdOneOf, DeleteCartRequest, DeleteCartResponse, DeleteCurrentCartRequest, DeleteCurrentCartResponse, DeliveryAllocation, DeliveryInfo, DeliveryLogistics, DeliveryMethod, DeliveryMethodNotFoundErrorData, DeliverySummary, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, Discount, DiscountBenefit, DiscountBenefitValueOneOf, DiscountRule, DiscountRuleName, DiscountScope, DiscountScopeWithLiterals, DiscountSource, DiscountSourceType, DiscountSourceTypeWithLiterals, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DuplicateItemModifierIdsErrorData, DuplicateLineItemUpdatesErrorData, DuplicateModifierGroupIdsErrorData, Empty, EmptyLineItemUpdatesErrorData, EmptyPaymentTokenErrorData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EstimateCartRequest, EstimateCurrentCartRequest, EstimateCurrentCartResponse, ExistingMembership, ExistingMembershipInput, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FixedQuantityItemErrorData, FormIdentifier, FormInfo, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, FutureMembership, FutureMembershipInput, GetCartRequest, GetCartResponse, GetCheckoutURLRequest, GetCurrentCartRequest, GetCurrentCartResponse, GetUpsellOptionsForCurrentCartRequest, GetUpsellOptionsForCurrentCartResponse, GetUpsellOptionsRequest, GetUpsellOptionsResponse, GiftCard, GiftCardAdded, GiftCardAlreadyExistsErrorData, GiftCardCalculationError, GiftCardNotFoundInCartErrorData, GiftCardRedeemErrorData, GiftCardRemoved, GiftCardSummary, Group, HandleAsyncCheckoutCompletionRequest, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InsufficientInventoryEntry, InsufficientInventoryErrorData, InvalidCartErrorData, InvalidCouponCodeErrorData, InvalidCouponReason, InvalidCouponReasonWithLiterals, InvalidCouponStatusErrorData, InvalidCouponStatusErrorDataDetailsOneOf, InvalidGiftCardCodeErrorData, InvalidGiftCardReason, InvalidGiftCardReasonWithLiterals, InvalidGiftCardStatusErrorData, InvalidMembership, InvalidMembershipEntry, InvalidMembershipErrorData, InvalidMembershipPaymentOptionErrorData, InvalidMembershipReason, InvalidMembershipReasonWithLiterals, InvalidMembershipStatusErrorData, InvalidPaymentStatusErrorData, InvalidPriceVerificationTokenErrorData, InvalidThirdPartyCheckoutTokenErrorData, ItemAttributes, ItemCombination, ItemCombinationLineItem, ItemDeliveryConfig, ItemDiscount, ItemModifier, ItemNotFoundInCatalogErrorData, ItemPaymentConfig, ItemPriceBreakdown, ItemPricingInfo, ItemQuantityInfo, ItemSource, ItemStatus, ItemStatusWithLiterals, ItemTaxConfig, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, ItemUpsells, JurisdictionType, JurisdictionTypeWithLiterals, LegacyFields, LimitedQuota, LimitedQuotaType, LimitedQuotaTypeWithLiterals, LineItem, LineItemAdded, LineItemCoverage, LineItemDiscount, LineItemIdentifier, LineItemIdentifierIdOneOf, LineItemNotFoundInCartErrorData, LineItemPriceConflictErrorData, LineItemPricesData, LineItemSummary, LineItemTax, LineItemUpdate, LineItemsOutOfStockErrorData, ManualCalculationReason, ManualCalculationReasonWithLiterals, MarkCartAsCompletedRequest, MaxItemModifiersExceededErrorData, MaxLineItemsExceededErrorData, MembersOnlyItemErrorData, Membership, MembershipInput, MembershipInputMembershipOneOf, MembershipName, MembershipOptions, MembershipPaymentCredits, MembershipSummary, MerchantDiscount, MessageEnvelope, MinLineItemQuantityNotReachedDetails, MinSubtotalNotReachedDetails, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentInfo, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PaymentSummary, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlaceOrderRequest, PlainTextValue, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, PlatformFeeSummary, Policy, Price, PriceDescription, PriceDetails, PriceSummary, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, PurchasablePlan, QuantityUpdate, QuotaType, QuotaTypeWithLiterals, RateType, RateTypeWithLiterals, RedemptionType, RedemptionTypeWithLiterals, RedirectUrls, RefreshCartRequest, RefreshCurrentCartRequest, RefreshCurrentCartResponse, Region, RemoveCouponFromCurrentCartRequest, RemoveCouponFromCurrentCartResponse, RemoveCouponRequest, RemoveDeliveryMethodFromCurrentCartRequest, RemoveDeliveryMethodFromCurrentCartResponse, RemoveDeliveryMethodRequest, RemoveGiftCardFromCurrentCartRequest, RemoveGiftCardFromCurrentCartResponse, RemoveGiftCardRequest, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsFromCurrentCartResponse, RemoveLineItemsRequest, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMembershipUpdate, SelectedMemberships, ServiceProperties, SetDeliveryMethodForCurrentCartRequest, SetDeliveryMethodForCurrentCartResponse, SetDeliveryMethodRequest, Severity, SeverityWithLiterals, ShippingInformation, ShippingOption, ShippingPrice, ShippingRegion, Source, SourceWithLiterals, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SubtotalBelowOrderMinimumErrorData, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetTargetTypeOneOf, Tax, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxDetails, TaxInfo, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UnmarkAsCurrentCartRequest, UnmarkAsCurrentCartResponse, UpdateCartRequest, UpdateCartResponse, UpdateCurrentCartRequest, UpdateCurrentCartResponse, UpdateFormSubmissionsInCurrentCartRequest, UpdateFormSubmissionsInCurrentCartResponse, UpdateFormSubmissionsRequest, UpdateLineItemsInCurrentCartRequest, UpdateLineItemsInCurrentCartResponse, UpdateLineItemsRequest, UpsellBenefitMetadata, UpsellOption, V1AdditionalFee, V1Membership, V1PriceSummary, V2AdditionalFee, V2CalculationErrors, V2CalculationErrorsShippingCalculationErrorOneOf, V2CarrierError, V2CarrierErrors, V2Coupon, V2ExistingMembership, V2GiftCard, V2LineItem, V2LineItemDiscount, V2Membership, V2MembershipIdentifierOneOf, V2PriceSummary, V2SelectedMembership, V2TaxSummary, V2Violation, V2ViolationDataOneOf, ValidatedExistingMemberships, ValidatedPurchasablePlans, ValidationError, ValidationsConfig, ValidationsConfigWithLiterals, VatId, VatType, VatTypeWithLiterals, Violation, ViolationCode, ViolationCodeWithLiterals, ViolationScope, ViolationScopeWithLiterals, ViolationSeverity, ViolationSeverityWithLiterals, ViolationWithErrorSeverityErrorData, ViolationsList, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
1
+ import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
+ import { CreateCartOptions, Cart, CreateCartApplicationErrors, UpdateCart, UpdateCartApplicationErrors, RefreshCartResponse, RefreshCartApplicationErrors, EstimateCartOptions, EstimateCartResponse, EstimateCartApplicationErrors, CalculateCartOptions, CalculateCartResponse, CalculateCartApplicationErrors, GetCheckoutUrlOptions, GetCheckoutURLResponse, GetCheckoutUrlApplicationErrors, PlaceOrderOptions, PlaceOrderResponse, PlaceOrderApplicationErrors, AddLineItemsOptions, AddLineItemsResponse, AddLineItemsApplicationErrors, RemoveLineItemsResponse, RemoveLineItemsApplicationErrors, UpdateLineItemsOptions, UpdateLineItemsResponse, UpdateLineItemsApplicationErrors, CouponInput, AddCouponResponse, AddCouponApplicationErrors, RemoveCouponResponse, RemoveCouponApplicationErrors, DeliveryMethodInput, SetDeliveryMethodResponse, SetDeliveryMethodApplicationErrors, RemoveDeliveryMethodResponse, RemoveDeliveryMethodApplicationErrors, GiftCardInput, AddGiftCardResponse, AddGiftCardApplicationErrors, RemoveGiftCardResponse, RemoveGiftCardApplicationErrors, MarkCartAsCompletedOptions, MarkCartAsCompletedResponse, RawHttpResponse, UpdateFormSubmissionsOptions, UpdateFormSubmissionsResponse, CartCalculatedEnvelope, CartCreatedEnvelope, CartDeletedEnvelope, CartUpdatedEnvelope } from './index.typings.js';
3
+ export { AccountInfo, AccountInfoMetadata, ActionEvent, AddCouponRequest, AddCouponToCurrentCartRequest, AddCouponToCurrentCartResponse, AddGiftCardRequest, AddGiftCardToCurrentCartRequest, AddGiftCardToCurrentCartResponse, AddLineItemsRequest, AddLineItemsToCurrentCartRequest, AddLineItemsToCurrentCartResponse, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BaseEventMetadata, Benefit, BenefitQuotaOneOf, BenefitType, BenefitTypeWithLiterals, BillingSettings, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCurrentCartRequest, CalculateCurrentCartResponse, CalculateTotalsResponse, CalculatedItemModifier, CalculatedLineItem, CalculatedPlatformFee, CalculationConfig, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CalculationOverrides, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CartAlreadyOrderedErrorData, CartEstimationIndicators, CartRevisionMismatchErrorData, CartSettings, CartSource, CartSummary, CatalogItemInput, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, Color, ConvertedMoney, Coupon, CouponAdded, CouponAlreadyExistsErrorData, CouponNotFoundInCartErrorData, CouponRemoved, CoveredLineItem, CreateCartRequest, CreateCartResponse, CreateCurrentCartRequest, CreateCurrentCartResponse, CreatedBy, CreatedByIdOneOf, CustomContentReference, CustomField, CustomItemAttributes, CustomItemDeliveryConfig, CustomItemInput, CustomItemPaymentConfig, CustomItemPricingInfo, CustomItemQuantityInfo, CustomItemSource, CustomItemTaxConfig, CustomValidationErrorData, CustomerInfo, CustomerInfoIdOneOf, DeleteCartRequest, DeleteCartResponse, DeleteCurrentCartRequest, DeleteCurrentCartResponse, DeliveryAllocation, DeliveryInfo, DeliveryLogistics, DeliveryMethod, DeliveryMethodNotFoundErrorData, DeliverySummary, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, Discount, DiscountRule, DiscountRuleName, DiscountScope, DiscountScopeWithLiterals, DiscountSource, DiscountSourceType, DiscountSourceTypeWithLiterals, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DuplicateItemModifierIdsErrorData, DuplicateLineItemUpdatesErrorData, DuplicateModifierGroupIdsErrorData, Empty, EmptyLineItemUpdatesErrorData, EmptyPaymentTokenErrorData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EstimateCartRequest, EstimateCurrentCartRequest, EstimateCurrentCartResponse, EventMetadata, ExistingMembership, ExistingMembershipInput, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FixedQuantityItemErrorData, FormIdentifier, FormInfo, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, FutureMembership, FutureMembershipInput, GetCartRequest, GetCartResponse, GetCheckoutURLRequest, GetCurrentCartRequest, GetCurrentCartResponse, GetUpsellOptionsForCurrentCartRequest, GetUpsellOptionsForCurrentCartResponse, GetUpsellOptionsRequest, GetUpsellOptionsResponse, GiftCard, GiftCardAdded, GiftCardAlreadyExistsErrorData, GiftCardCalculationError, GiftCardNotFoundInCartErrorData, GiftCardRedeemErrorData, GiftCardRemoved, GiftCardSummary, Group, HandleAsyncCheckoutCompletionRequest, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InsufficientInventoryEntry, InsufficientInventoryErrorData, InvalidCartErrorData, InvalidCouponCodeErrorData, InvalidCouponReason, InvalidCouponReasonWithLiterals, InvalidCouponStatusErrorData, InvalidCouponStatusErrorDataDetailsOneOf, InvalidGiftCardCodeErrorData, InvalidGiftCardReason, InvalidGiftCardReasonWithLiterals, InvalidGiftCardStatusErrorData, InvalidMembership, InvalidMembershipEntry, InvalidMembershipErrorData, InvalidMembershipPaymentOptionErrorData, InvalidMembershipReason, InvalidMembershipReasonWithLiterals, InvalidMembershipStatusErrorData, InvalidPaymentStatusErrorData, InvalidPriceVerificationTokenErrorData, InvalidThirdPartyCheckoutTokenErrorData, ItemAttributes, ItemCombination, ItemCombinationLineItem, ItemDeliveryConfig, ItemDiscount, ItemModifier, ItemNotFoundInCatalogErrorData, ItemPaymentConfig, ItemPriceBreakdown, ItemPricingInfo, ItemQuantityInfo, ItemSource, ItemStatus, ItemStatusWithLiterals, ItemTaxConfig, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, ItemUpsells, JurisdictionType, JurisdictionTypeWithLiterals, LegacyFields, LimitedQuota, LimitedQuotaType, LimitedQuotaTypeWithLiterals, LineItem, LineItemAdded, LineItemCoverage, LineItemDiscount, LineItemIdentifier, LineItemIdentifierIdOneOf, LineItemNotFoundInCartErrorData, LineItemPriceConflictErrorData, LineItemPricesData, LineItemSummary, LineItemTax, LineItemUpdate, LineItemsOutOfStockErrorData, ManualCalculationReason, ManualCalculationReasonWithLiterals, MarkCartAsCompletedRequest, MaxItemModifiersExceededErrorData, MaxLineItemsExceededErrorData, MembersOnlyItemErrorData, Membership, MembershipInput, MembershipInputMembershipOneOf, MembershipName, MembershipOptions, MembershipPaymentCredits, MembershipSummary, MerchantDiscount, MessageEnvelope, MinLineItemQuantityNotReachedDetails, MinSubtotalNotReachedDetails, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentInfo, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PaymentSummary, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlaceOrderRequest, PlainTextValue, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, PlatformFeeSummary, Policy, Price, PriceDescription, PriceDetails, PriceSummary, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, PurchasablePlan, QuantityUpdate, QuotaType, QuotaTypeWithLiterals, RateType, RateTypeWithLiterals, RedemptionType, RedemptionTypeWithLiterals, RedirectUrls, RefreshCartRequest, RefreshCurrentCartRequest, RefreshCurrentCartResponse, Region, RemoveCouponFromCurrentCartRequest, RemoveCouponFromCurrentCartResponse, RemoveCouponRequest, RemoveDeliveryMethodFromCurrentCartRequest, RemoveDeliveryMethodFromCurrentCartResponse, RemoveDeliveryMethodRequest, RemoveGiftCardFromCurrentCartRequest, RemoveGiftCardFromCurrentCartResponse, RemoveGiftCardRequest, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsFromCurrentCartResponse, RemoveLineItemsRequest, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMembershipUpdate, SelectedMemberships, ServiceProperties, SetDeliveryMethodForCurrentCartRequest, SetDeliveryMethodForCurrentCartResponse, SetDeliveryMethodRequest, Severity, SeverityWithLiterals, ShippingInformation, ShippingOption, ShippingPrice, ShippingRegion, Source, SourceWithLiterals, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SubtotalBelowOrderMinimumErrorData, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetTargetTypeOneOf, Tax, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxDetails, TaxInfo, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UnmarkAsCurrentCartRequest, UnmarkAsCurrentCartResponse, UpdateCartRequest, UpdateCartResponse, UpdateCurrentCartRequest, UpdateCurrentCartResponse, UpdateFormSubmissionsInCurrentCartRequest, UpdateFormSubmissionsInCurrentCartResponse, UpdateFormSubmissionsRequest, UpdateLineItemsInCurrentCartRequest, UpdateLineItemsInCurrentCartResponse, UpdateLineItemsRequest, UpsellBenefitMetadata, UpsellOption, V1AdditionalFee, V1Membership, V1PriceSummary, V2AdditionalFee, V2CalculationErrors, V2CalculationErrorsShippingCalculationErrorOneOf, V2CarrierError, V2CarrierErrors, V2Coupon, V2ExistingMembership, V2GiftCard, V2LineItem, V2LineItemDiscount, V2Membership, V2MembershipIdentifierOneOf, V2PriceSummary, V2SelectedMembership, V2TaxSummary, V2Violation, V2ViolationDataOneOf, ValidatedExistingMemberships, ValidatedPurchasablePlans, ValidationError, ValidationsConfig, ValidationsConfigWithLiterals, VatId, VatType, VatTypeWithLiterals, Violation, ViolationCode, ViolationCodeWithLiterals, ViolationScope, ViolationScopeWithLiterals, ViolationSeverity, ViolationSeverityWithLiterals, ViolationWithErrorSeverityErrorData, ViolationsList, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
4
4
 
5
5
  declare function createCart$1(httpClient: HttpClient): CreateCartSignature;
6
6
  interface CreateCartSignature {
@@ -242,6 +242,10 @@ interface UpdateFormSubmissionsSignature {
242
242
  */
243
243
  (cartId: string, options?: UpdateFormSubmissionsOptions): Promise<NonNullablePaths<UpdateFormSubmissionsResponse, `cart._id` | `cart.revision` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.openAccess` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `cart.demo`, 7>>;
244
244
  }
245
+ declare const onCartCalculated$1: EventDefinition<CartCalculatedEnvelope, "wix.ecom.v2.cart_calculated">;
246
+ declare const onCartCreated$1: EventDefinition<CartCreatedEnvelope, "wix.ecom.v2.cart_created">;
247
+ declare const onCartDeleted$1: EventDefinition<CartDeletedEnvelope, "wix.ecom.v2.cart_deleted">;
248
+ declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v2.cart_updated">;
245
249
 
246
250
  declare const createCart: MaybeContext<BuildRESTFunction<typeof createCart$1> & typeof createCart$1>;
247
251
  declare const getCart: MaybeContext<BuildRESTFunction<typeof getCart$1> & typeof getCart$1>;
@@ -264,5 +268,21 @@ declare const removeGiftCard: MaybeContext<BuildRESTFunction<typeof removeGiftCa
264
268
  declare const markCartAsCompleted: MaybeContext<BuildRESTFunction<typeof markCartAsCompleted$1> & typeof markCartAsCompleted$1>;
265
269
  declare const handleAsyncCheckoutCompletion: MaybeContext<BuildRESTFunction<typeof handleAsyncCheckoutCompletion$1> & typeof handleAsyncCheckoutCompletion$1>;
266
270
  declare const updateFormSubmissions: MaybeContext<BuildRESTFunction<typeof updateFormSubmissions$1> & typeof updateFormSubmissions$1>;
271
+ /**
272
+ * Triggered when a cart is calculated.
273
+ */
274
+ declare const onCartCalculated: BuildEventDefinition<typeof onCartCalculated$1> & typeof onCartCalculated$1;
275
+ /**
276
+ * Triggered when a cart is created.
277
+ */
278
+ declare const onCartCreated: BuildEventDefinition<typeof onCartCreated$1> & typeof onCartCreated$1;
279
+ /**
280
+ * Triggered when a cart is deleted.
281
+ */
282
+ declare const onCartDeleted: BuildEventDefinition<typeof onCartDeleted$1> & typeof onCartDeleted$1;
283
+ /**
284
+ * Triggered when a cart is updated.
285
+ */
286
+ declare const onCartUpdated: BuildEventDefinition<typeof onCartUpdated$1> & typeof onCartUpdated$1;
267
287
 
268
- export { AddCouponApplicationErrors, AddCouponResponse, AddGiftCardApplicationErrors, AddGiftCardResponse, AddLineItemsApplicationErrors, AddLineItemsOptions, AddLineItemsResponse, CalculateCartApplicationErrors, CalculateCartOptions, CalculateCartResponse, Cart, CouponInput, CreateCartApplicationErrors, CreateCartOptions, DeliveryMethodInput, EstimateCartApplicationErrors, EstimateCartOptions, EstimateCartResponse, GetCheckoutURLResponse, GetCheckoutUrlApplicationErrors, GetCheckoutUrlOptions, GiftCardInput, MarkCartAsCompletedOptions, MarkCartAsCompletedResponse, PlaceOrderApplicationErrors, PlaceOrderOptions, PlaceOrderResponse, RawHttpResponse, RefreshCartApplicationErrors, RefreshCartResponse, RemoveCouponApplicationErrors, RemoveCouponResponse, RemoveDeliveryMethodApplicationErrors, RemoveDeliveryMethodResponse, RemoveGiftCardApplicationErrors, RemoveGiftCardResponse, RemoveLineItemsApplicationErrors, RemoveLineItemsResponse, SetDeliveryMethodApplicationErrors, SetDeliveryMethodResponse, UpdateCart, UpdateCartApplicationErrors, UpdateFormSubmissionsOptions, UpdateFormSubmissionsResponse, UpdateLineItemsApplicationErrors, UpdateLineItemsOptions, UpdateLineItemsResponse, addCoupon, addGiftCard, addLineItems, calculateCart, createCart, deleteCart, estimateCart, getCart, getCheckoutUrl, handleAsyncCheckoutCompletion, markCartAsCompleted, placeOrder, refreshCart, removeCoupon, removeDeliveryMethod, removeGiftCard, removeLineItems, setDeliveryMethod, updateCart, updateFormSubmissions, updateLineItems };
288
+ export { AddCouponApplicationErrors, AddCouponResponse, AddGiftCardApplicationErrors, AddGiftCardResponse, AddLineItemsApplicationErrors, AddLineItemsOptions, AddLineItemsResponse, CalculateCartApplicationErrors, CalculateCartOptions, CalculateCartResponse, Cart, CartCalculatedEnvelope, CartCreatedEnvelope, CartDeletedEnvelope, CartUpdatedEnvelope, CouponInput, CreateCartApplicationErrors, CreateCartOptions, DeliveryMethodInput, EstimateCartApplicationErrors, EstimateCartOptions, EstimateCartResponse, GetCheckoutURLResponse, GetCheckoutUrlApplicationErrors, GetCheckoutUrlOptions, GiftCardInput, MarkCartAsCompletedOptions, MarkCartAsCompletedResponse, PlaceOrderApplicationErrors, PlaceOrderOptions, PlaceOrderResponse, RawHttpResponse, RefreshCartApplicationErrors, RefreshCartResponse, RemoveCouponApplicationErrors, RemoveCouponResponse, RemoveDeliveryMethodApplicationErrors, RemoveDeliveryMethodResponse, RemoveGiftCardApplicationErrors, RemoveGiftCardResponse, RemoveLineItemsApplicationErrors, RemoveLineItemsResponse, SetDeliveryMethodApplicationErrors, SetDeliveryMethodResponse, UpdateCart, UpdateCartApplicationErrors, UpdateFormSubmissionsOptions, UpdateFormSubmissionsResponse, UpdateLineItemsApplicationErrors, UpdateLineItemsOptions, UpdateLineItemsResponse, addCoupon, addGiftCard, addLineItems, calculateCart, createCart, deleteCart, estimateCart, getCart, getCheckoutUrl, handleAsyncCheckoutCompletion, markCartAsCompleted, onCartCalculated, onCartCreated, onCartDeleted, onCartUpdated, placeOrder, refreshCart, removeCoupon, removeDeliveryMethod, removeGiftCard, removeLineItems, setDeliveryMethod, updateCart, updateFormSubmissions, updateLineItems };
@@ -74,6 +74,10 @@ __export(index_exports, {
74
74
  getUpsellOptions: () => getUpsellOptions4,
75
75
  handleAsyncCheckoutCompletion: () => handleAsyncCheckoutCompletion4,
76
76
  markCartAsCompleted: () => markCartAsCompleted4,
77
+ onCartCalculated: () => onCartCalculated2,
78
+ onCartCreated: () => onCartCreated2,
79
+ onCartDeleted: () => onCartDeleted2,
80
+ onCartUpdated: () => onCartUpdated2,
77
81
  placeOrder: () => placeOrder4,
78
82
  refreshCart: () => refreshCart4,
79
83
  removeCoupon: () => removeCoupon4,
@@ -87,6 +91,16 @@ __export(index_exports, {
87
91
  });
88
92
  module.exports = __toCommonJS(index_exports);
89
93
 
94
+ // src/ecom-v2-cart-cart-v-2.public.ts
95
+ var import_rename_all_nested_keys2 = require("@wix/sdk-runtime/rename-all-nested-keys");
96
+ var import_address3 = require("@wix/sdk-runtime/transformations/address");
97
+ var import_float3 = require("@wix/sdk-runtime/transformations/float");
98
+ var import_image3 = require("@wix/sdk-runtime/transformations/image");
99
+ var import_page_url_v23 = require("@wix/sdk-runtime/transformations/page-url-v2");
100
+ var import_timestamp3 = require("@wix/sdk-runtime/transformations/timestamp");
101
+ var import_transform_paths3 = require("@wix/sdk-runtime/transformations/transform-paths");
102
+ var import_sdk_types = require("@wix/sdk-types");
103
+
90
104
  // src/ecom-v2-cart-cart-v-2.universal.ts
91
105
  var import_transform_error = require("@wix/sdk-runtime/transform-error");
92
106
  var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-keys");
@@ -2878,9 +2892,209 @@ function updateFormSubmissions3(httpClient) {
2878
2892
  { httpClient }
2879
2893
  );
2880
2894
  }
2895
+ var onCartCalculated = (0, import_sdk_types.EventDefinition)(
2896
+ "wix.ecom.v2.cart_calculated",
2897
+ true,
2898
+ (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
2899
+ (0, import_transform_paths3.transformPaths)(event, [
2900
+ {
2901
+ transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
2902
+ paths: [
2903
+ {
2904
+ path: "data.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
2905
+ },
2906
+ { path: "metadata.eventTime" }
2907
+ ]
2908
+ }
2909
+ ])
2910
+ )
2911
+ )();
2912
+ var onCartCreated = (0, import_sdk_types.EventDefinition)(
2913
+ "wix.ecom.v2.cart_created",
2914
+ true,
2915
+ (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
2916
+ (0, import_transform_paths3.transformPaths)(event, [
2917
+ {
2918
+ transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
2919
+ paths: [
2920
+ { path: "entity.createdDate" },
2921
+ { path: "entity.updatedDate" },
2922
+ {
2923
+ path: "entity.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
2924
+ },
2925
+ {
2926
+ path: "entity.lineItems.attributes.serviceProperties.scheduledDate"
2927
+ },
2928
+ { path: "entity.lineItems.attributes.serviceProperties.endDate" },
2929
+ { path: "metadata.eventTime" }
2930
+ ]
2931
+ },
2932
+ {
2933
+ transformFn: import_image3.transformRESTImageToSDKImage,
2934
+ paths: [
2935
+ { path: "entity.lineItems.source.catalogOverrideFields.image" },
2936
+ { path: "entity.lineItems.attributes.image" }
2937
+ ]
2938
+ },
2939
+ {
2940
+ transformFn: import_float3.transformRESTFloatToSDKFloat,
2941
+ paths: [
2942
+ {
2943
+ path: "entity.lineItems.source.catalogOverrideFields.physicalProperties.weight"
2944
+ },
2945
+ { path: "entity.lineItems.attributes.physicalProperties.weight" },
2946
+ { path: "entity.tcAppliedDiscounts.merchantDiscount.percentage" }
2947
+ ]
2948
+ },
2949
+ {
2950
+ transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
2951
+ paths: [{ path: "entity.lineItems.attributes.url" }]
2952
+ },
2953
+ {
2954
+ transformFn: import_address3.transformRESTAddressToSDKAddress,
2955
+ paths: [
2956
+ { path: "entity.deliveryInfo.address" },
2957
+ { path: "entity.paymentInfo.billingAddress" }
2958
+ ]
2959
+ }
2960
+ ])
2961
+ )
2962
+ )();
2963
+ var onCartDeleted = (0, import_sdk_types.EventDefinition)(
2964
+ "wix.ecom.v2.cart_deleted",
2965
+ true,
2966
+ (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
2967
+ (0, import_transform_paths3.transformPaths)(event, [
2968
+ {
2969
+ transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
2970
+ paths: [
2971
+ { path: "entity.createdDate" },
2972
+ { path: "entity.updatedDate" },
2973
+ {
2974
+ path: "entity.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
2975
+ },
2976
+ {
2977
+ path: "entity.lineItems.attributes.serviceProperties.scheduledDate"
2978
+ },
2979
+ { path: "entity.lineItems.attributes.serviceProperties.endDate" },
2980
+ { path: "metadata.eventTime" }
2981
+ ]
2982
+ },
2983
+ {
2984
+ transformFn: import_image3.transformRESTImageToSDKImage,
2985
+ paths: [
2986
+ { path: "entity.lineItems.source.catalogOverrideFields.image" },
2987
+ { path: "entity.lineItems.attributes.image" }
2988
+ ]
2989
+ },
2990
+ {
2991
+ transformFn: import_float3.transformRESTFloatToSDKFloat,
2992
+ paths: [
2993
+ {
2994
+ path: "entity.lineItems.source.catalogOverrideFields.physicalProperties.weight"
2995
+ },
2996
+ { path: "entity.lineItems.attributes.physicalProperties.weight" },
2997
+ { path: "entity.tcAppliedDiscounts.merchantDiscount.percentage" }
2998
+ ]
2999
+ },
3000
+ {
3001
+ transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
3002
+ paths: [{ path: "entity.lineItems.attributes.url" }]
3003
+ },
3004
+ {
3005
+ transformFn: import_address3.transformRESTAddressToSDKAddress,
3006
+ paths: [
3007
+ { path: "entity.deliveryInfo.address" },
3008
+ { path: "entity.paymentInfo.billingAddress" }
3009
+ ]
3010
+ }
3011
+ ])
3012
+ )
3013
+ )();
3014
+ var onCartUpdated = (0, import_sdk_types.EventDefinition)(
3015
+ "wix.ecom.v2.cart_updated",
3016
+ true,
3017
+ (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
3018
+ (0, import_transform_paths3.transformPaths)(event, [
3019
+ {
3020
+ transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
3021
+ paths: [
3022
+ { path: "entity.createdDate" },
3023
+ { path: "entity.updatedDate" },
3024
+ {
3025
+ path: "entity.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
3026
+ },
3027
+ {
3028
+ path: "entity.lineItems.attributes.serviceProperties.scheduledDate"
3029
+ },
3030
+ { path: "entity.lineItems.attributes.serviceProperties.endDate" },
3031
+ { path: "metadata.eventTime" },
3032
+ { path: "modifiedFields.createdDate" },
3033
+ { path: "modifiedFields.updatedDate" },
3034
+ {
3035
+ path: "modifiedFields.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
3036
+ },
3037
+ {
3038
+ path: "modifiedFields.lineItems.attributes.serviceProperties.scheduledDate"
3039
+ },
3040
+ {
3041
+ path: "modifiedFields.lineItems.attributes.serviceProperties.endDate"
3042
+ }
3043
+ ]
3044
+ },
3045
+ {
3046
+ transformFn: import_image3.transformRESTImageToSDKImage,
3047
+ paths: [
3048
+ { path: "entity.lineItems.source.catalogOverrideFields.image" },
3049
+ { path: "entity.lineItems.attributes.image" },
3050
+ {
3051
+ path: "modifiedFields.lineItems.source.catalogOverrideFields.image"
3052
+ },
3053
+ { path: "modifiedFields.lineItems.attributes.image" }
3054
+ ]
3055
+ },
3056
+ {
3057
+ transformFn: import_float3.transformRESTFloatToSDKFloat,
3058
+ paths: [
3059
+ {
3060
+ path: "entity.lineItems.source.catalogOverrideFields.physicalProperties.weight"
3061
+ },
3062
+ { path: "entity.lineItems.attributes.physicalProperties.weight" },
3063
+ { path: "entity.tcAppliedDiscounts.merchantDiscount.percentage" },
3064
+ {
3065
+ path: "modifiedFields.lineItems.source.catalogOverrideFields.physicalProperties.weight"
3066
+ },
3067
+ {
3068
+ path: "modifiedFields.lineItems.attributes.physicalProperties.weight"
3069
+ },
3070
+ {
3071
+ path: "modifiedFields.tcAppliedDiscounts.merchantDiscount.percentage"
3072
+ }
3073
+ ]
3074
+ },
3075
+ {
3076
+ transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
3077
+ paths: [
3078
+ { path: "entity.lineItems.attributes.url" },
3079
+ { path: "modifiedFields.lineItems.attributes.url" }
3080
+ ]
3081
+ },
3082
+ {
3083
+ transformFn: import_address3.transformRESTAddressToSDKAddress,
3084
+ paths: [
3085
+ { path: "entity.deliveryInfo.address" },
3086
+ { path: "entity.paymentInfo.billingAddress" },
3087
+ { path: "modifiedFields.deliveryInfo.address" },
3088
+ { path: "modifiedFields.paymentInfo.billingAddress" }
3089
+ ]
3090
+ }
3091
+ ])
3092
+ )
3093
+ )();
2881
3094
 
2882
3095
  // src/ecom-v2-cart-cart-v-2.context.ts
2883
3096
  var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
3097
+ var import_event_definition_modules = require("@wix/sdk-runtime/event-definition-modules");
2884
3098
  var createCart4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(createCart3);
2885
3099
  var getCart4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getCart3);
2886
3100
  var getUpsellOptions4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getUpsellOptions3);
@@ -2903,6 +3117,10 @@ var removeGiftCard4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)
2903
3117
  var markCartAsCompleted4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(markCartAsCompleted3);
2904
3118
  var handleAsyncCheckoutCompletion4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(handleAsyncCheckoutCompletion3);
2905
3119
  var updateFormSubmissions4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateFormSubmissions3);
3120
+ var onCartCalculated2 = (0, import_event_definition_modules.createEventModule)(onCartCalculated);
3121
+ var onCartCreated2 = (0, import_event_definition_modules.createEventModule)(onCartCreated);
3122
+ var onCartDeleted2 = (0, import_event_definition_modules.createEventModule)(onCartDeleted);
3123
+ var onCartUpdated2 = (0, import_event_definition_modules.createEventModule)(onCartUpdated);
2906
3124
  // Annotate the CommonJS export names for ESM import in node:
2907
3125
  0 && (module.exports = {
2908
3126
  AdditionalFeeSource,
@@ -2959,6 +3177,10 @@ var updateFormSubmissions4 = /* @__PURE__ */ (0, import_rest_modules3.createREST
2959
3177
  getUpsellOptions,
2960
3178
  handleAsyncCheckoutCompletion,
2961
3179
  markCartAsCompleted,
3180
+ onCartCalculated,
3181
+ onCartCreated,
3182
+ onCartDeleted,
3183
+ onCartUpdated,
2962
3184
  placeOrder,
2963
3185
  refreshCart,
2964
3186
  removeCoupon,