@wix/auto_sdk_ecom_cart-v-2 1.0.206 → 1.0.208
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 +9 -3
- package/build/cjs/index.js +43 -25
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +174 -57
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +147 -57
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +9 -3
- package/build/es/index.mjs +42 -25
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +174 -57
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +147 -57
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +9 -3
- package/build/internal/cjs/index.typings.d.ts +182 -61
- package/build/internal/cjs/meta.d.ts +155 -61
- package/build/internal/es/index.d.mts +9 -3
- package/build/internal/es/index.typings.d.mts +182 -61
- package/build/internal/es/meta.d.mts +155 -61
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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, GiftCardPaymentNotSupportedOnDemoCartErrorData, 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, MembershipSummaryMembershipIdentifierOneOf, MerchantDiscount, MessageEnvelope, MinLineItemQuantityNotReachedDetails, MinSubtotalNotReachedDetails, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentInfo, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PaymentSummary, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlaceOrderRequest, PlainTextValue, PlatformFee, 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, V1PlatformFeeChargeType, V1PlatformFeeChargeTypeWithLiterals, 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';
|
|
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, CartCompletedEnvelope, 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, CartCompleted, 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, GiftCardPaymentNotSupportedOnDemoCartErrorData, 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, MembershipSummaryMembershipIdentifierOneOf, MerchantDiscount, MessageEnvelope, MinLineItemQuantityNotReachedDetails, MinSubtotalNotReachedDetails, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentInfo, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PaymentSummary, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlaceOrderRequest, PlainTextValue, PlatformFee, 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, V1PlatformFeeChargeType, V1PlatformFeeChargeTypeWithLiterals, 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 {
|
|
@@ -243,6 +243,7 @@ interface UpdateFormSubmissionsSignature {
|
|
|
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}.paymentConfig.membership.redemptionType` | `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`, 5>>;
|
|
244
244
|
}
|
|
245
245
|
declare const onCartCalculated$1: EventDefinition<CartCalculatedEnvelope, "wix.ecom.v2.cart_calculated">;
|
|
246
|
+
declare const onCartCompleted$1: EventDefinition<CartCompletedEnvelope, "wix.ecom.v2.cart_completed">;
|
|
246
247
|
declare const onCartCreated$1: EventDefinition<CartCreatedEnvelope, "wix.ecom.v2.cart_created">;
|
|
247
248
|
declare const onCartDeleted$1: EventDefinition<CartDeletedEnvelope, "wix.ecom.v2.cart_deleted">;
|
|
248
249
|
declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v2.cart_updated">;
|
|
@@ -272,6 +273,11 @@ declare const updateFormSubmissions: MaybeContext<BuildRESTFunction<typeof updat
|
|
|
272
273
|
* Triggered when a cart is calculated.
|
|
273
274
|
*/
|
|
274
275
|
declare const onCartCalculated: BuildEventDefinition<typeof onCartCalculated$1> & typeof onCartCalculated$1;
|
|
276
|
+
/**
|
|
277
|
+
* Triggered when a cart is completed, meaning `orderPlaced` changes to `true`.
|
|
278
|
+
* Sent a single time per cart, even if `orderId` is added later.
|
|
279
|
+
*/
|
|
280
|
+
declare const onCartCompleted: BuildEventDefinition<typeof onCartCompleted$1> & typeof onCartCompleted$1;
|
|
275
281
|
/**
|
|
276
282
|
* Triggered when a cart is created.
|
|
277
283
|
*/
|
|
@@ -285,4 +291,4 @@ declare const onCartDeleted: BuildEventDefinition<typeof onCartDeleted$1> & type
|
|
|
285
291
|
*/
|
|
286
292
|
declare const onCartUpdated: BuildEventDefinition<typeof onCartUpdated$1> & typeof onCartUpdated$1;
|
|
287
293
|
|
|
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 };
|
|
294
|
+
export { AddCouponApplicationErrors, AddCouponResponse, AddGiftCardApplicationErrors, AddGiftCardResponse, AddLineItemsApplicationErrors, AddLineItemsOptions, AddLineItemsResponse, CalculateCartApplicationErrors, CalculateCartOptions, CalculateCartResponse, Cart, CartCalculatedEnvelope, CartCompletedEnvelope, 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, onCartCompleted, onCartCreated, onCartDeleted, onCartUpdated, placeOrder, refreshCart, removeCoupon, removeDeliveryMethod, removeGiftCard, removeLineItems, setDeliveryMethod, updateCart, updateFormSubmissions, updateLineItems };
|
package/build/cjs/index.js
CHANGED
|
@@ -76,6 +76,7 @@ __export(index_exports, {
|
|
|
76
76
|
handleAsyncCheckoutCompletion: () => handleAsyncCheckoutCompletion4,
|
|
77
77
|
markCartAsCompleted: () => markCartAsCompleted4,
|
|
78
78
|
onCartCalculated: () => onCartCalculated2,
|
|
79
|
+
onCartCompleted: () => onCartCompleted2,
|
|
79
80
|
onCartCreated: () => onCartCreated2,
|
|
80
81
|
onCartDeleted: () => onCartDeleted2,
|
|
81
82
|
onCartUpdated: () => onCartUpdated2,
|
|
@@ -2243,7 +2244,8 @@ var TRANSFORM_PATHS_03 = [
|
|
|
2243
2244
|
{ path: "data.paymentSummary.subscriptionCharges.charges.cycleBillingDate" },
|
|
2244
2245
|
{ path: "metadata.eventTime" }
|
|
2245
2246
|
];
|
|
2246
|
-
var TRANSFORM_PATHS_13 = [
|
|
2247
|
+
var TRANSFORM_PATHS_13 = [{ path: "metadata.eventTime" }];
|
|
2248
|
+
var TRANSFORM_PATHS_23 = [
|
|
2247
2249
|
{ path: "entity.createdDate" },
|
|
2248
2250
|
{ path: "entity.updatedDate" },
|
|
2249
2251
|
{
|
|
@@ -2253,23 +2255,23 @@ var TRANSFORM_PATHS_13 = [
|
|
|
2253
2255
|
{ path: "entity.lineItems.attributes.serviceProperties.endDate" },
|
|
2254
2256
|
{ path: "metadata.eventTime" }
|
|
2255
2257
|
];
|
|
2256
|
-
var
|
|
2258
|
+
var TRANSFORM_PATHS_33 = [
|
|
2257
2259
|
{ path: "entity.lineItems.source.catalogOverrideFields.image" },
|
|
2258
2260
|
{ path: "entity.lineItems.attributes.image" }
|
|
2259
2261
|
];
|
|
2260
|
-
var
|
|
2262
|
+
var TRANSFORM_PATHS_43 = [
|
|
2261
2263
|
{
|
|
2262
2264
|
path: "entity.lineItems.source.catalogOverrideFields.physicalProperties.weight"
|
|
2263
2265
|
},
|
|
2264
2266
|
{ path: "entity.lineItems.attributes.physicalProperties.weight" },
|
|
2265
2267
|
{ path: "entity.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
2266
2268
|
];
|
|
2267
|
-
var
|
|
2268
|
-
var
|
|
2269
|
+
var TRANSFORM_PATHS_53 = [{ path: "entity.lineItems.attributes.url" }];
|
|
2270
|
+
var TRANSFORM_PATHS_63 = [
|
|
2269
2271
|
{ path: "entity.deliveryInfo.address" },
|
|
2270
2272
|
{ path: "entity.paymentInfo.billingAddress" }
|
|
2271
2273
|
];
|
|
2272
|
-
var
|
|
2274
|
+
var TRANSFORM_PATHS_72 = [
|
|
2273
2275
|
{ path: "entity.createdDate" },
|
|
2274
2276
|
{ path: "entity.updatedDate" },
|
|
2275
2277
|
{
|
|
@@ -2288,13 +2290,13 @@ var TRANSFORM_PATHS_63 = [
|
|
|
2288
2290
|
},
|
|
2289
2291
|
{ path: "modifiedFields.lineItems.attributes.serviceProperties.endDate" }
|
|
2290
2292
|
];
|
|
2291
|
-
var
|
|
2293
|
+
var TRANSFORM_PATHS_82 = [
|
|
2292
2294
|
{ path: "entity.lineItems.source.catalogOverrideFields.image" },
|
|
2293
2295
|
{ path: "entity.lineItems.attributes.image" },
|
|
2294
2296
|
{ path: "modifiedFields.lineItems.source.catalogOverrideFields.image" },
|
|
2295
2297
|
{ path: "modifiedFields.lineItems.attributes.image" }
|
|
2296
2298
|
];
|
|
2297
|
-
var
|
|
2299
|
+
var TRANSFORM_PATHS_9 = [
|
|
2298
2300
|
{
|
|
2299
2301
|
path: "entity.lineItems.source.catalogOverrideFields.physicalProperties.weight"
|
|
2300
2302
|
},
|
|
@@ -2306,11 +2308,11 @@ var TRANSFORM_PATHS_82 = [
|
|
|
2306
2308
|
{ path: "modifiedFields.lineItems.attributes.physicalProperties.weight" },
|
|
2307
2309
|
{ path: "modifiedFields.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
2308
2310
|
];
|
|
2309
|
-
var
|
|
2311
|
+
var TRANSFORM_PATHS_10 = [
|
|
2310
2312
|
{ path: "entity.lineItems.attributes.url" },
|
|
2311
2313
|
{ path: "modifiedFields.lineItems.attributes.url" }
|
|
2312
2314
|
];
|
|
2313
|
-
var
|
|
2315
|
+
var TRANSFORM_PATHS_11 = [
|
|
2314
2316
|
{ path: "entity.deliveryInfo.address" },
|
|
2315
2317
|
{ path: "entity.paymentInfo.billingAddress" },
|
|
2316
2318
|
{ path: "modifiedFields.deliveryInfo.address" },
|
|
@@ -2497,6 +2499,18 @@ var onCartCalculated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
|
2497
2499
|
])
|
|
2498
2500
|
)
|
|
2499
2501
|
)();
|
|
2502
|
+
var onCartCompleted = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
2503
|
+
"wix.ecom.v2.cart_completed",
|
|
2504
|
+
true,
|
|
2505
|
+
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
2506
|
+
(0, import_transform_paths3.transformPaths)(event, [
|
|
2507
|
+
{
|
|
2508
|
+
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
2509
|
+
paths: TRANSFORM_PATHS_13
|
|
2510
|
+
}
|
|
2511
|
+
])
|
|
2512
|
+
)
|
|
2513
|
+
)();
|
|
2500
2514
|
var onCartCreated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
2501
2515
|
"wix.ecom.v2.cart_created",
|
|
2502
2516
|
true,
|
|
@@ -2504,23 +2518,23 @@ var onCartCreated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
|
2504
2518
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
2505
2519
|
{
|
|
2506
2520
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
2507
|
-
paths:
|
|
2521
|
+
paths: TRANSFORM_PATHS_23
|
|
2508
2522
|
},
|
|
2509
2523
|
{
|
|
2510
2524
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
2511
|
-
paths:
|
|
2525
|
+
paths: TRANSFORM_PATHS_33
|
|
2512
2526
|
},
|
|
2513
2527
|
{
|
|
2514
2528
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
2515
|
-
paths:
|
|
2529
|
+
paths: TRANSFORM_PATHS_43
|
|
2516
2530
|
},
|
|
2517
2531
|
{
|
|
2518
2532
|
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
2519
|
-
paths:
|
|
2533
|
+
paths: TRANSFORM_PATHS_53
|
|
2520
2534
|
},
|
|
2521
2535
|
{
|
|
2522
2536
|
transformFn: import_address3.transformRESTAddressToSDKAddress,
|
|
2523
|
-
paths:
|
|
2537
|
+
paths: TRANSFORM_PATHS_63
|
|
2524
2538
|
}
|
|
2525
2539
|
])
|
|
2526
2540
|
)
|
|
@@ -2532,23 +2546,23 @@ var onCartDeleted = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
|
2532
2546
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
2533
2547
|
{
|
|
2534
2548
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
2535
|
-
paths:
|
|
2549
|
+
paths: TRANSFORM_PATHS_23
|
|
2536
2550
|
},
|
|
2537
2551
|
{
|
|
2538
2552
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
2539
|
-
paths:
|
|
2553
|
+
paths: TRANSFORM_PATHS_33
|
|
2540
2554
|
},
|
|
2541
2555
|
{
|
|
2542
2556
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
2543
|
-
paths:
|
|
2557
|
+
paths: TRANSFORM_PATHS_43
|
|
2544
2558
|
},
|
|
2545
2559
|
{
|
|
2546
2560
|
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
2547
|
-
paths:
|
|
2561
|
+
paths: TRANSFORM_PATHS_53
|
|
2548
2562
|
},
|
|
2549
2563
|
{
|
|
2550
2564
|
transformFn: import_address3.transformRESTAddressToSDKAddress,
|
|
2551
|
-
paths:
|
|
2565
|
+
paths: TRANSFORM_PATHS_63
|
|
2552
2566
|
}
|
|
2553
2567
|
])
|
|
2554
2568
|
)
|
|
@@ -2560,23 +2574,23 @@ var onCartUpdated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
|
2560
2574
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
2561
2575
|
{
|
|
2562
2576
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
2563
|
-
paths:
|
|
2577
|
+
paths: TRANSFORM_PATHS_72
|
|
2564
2578
|
},
|
|
2565
2579
|
{
|
|
2566
2580
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
2567
|
-
paths:
|
|
2581
|
+
paths: TRANSFORM_PATHS_82
|
|
2568
2582
|
},
|
|
2569
2583
|
{
|
|
2570
2584
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
2571
|
-
paths:
|
|
2585
|
+
paths: TRANSFORM_PATHS_9
|
|
2572
2586
|
},
|
|
2573
2587
|
{
|
|
2574
2588
|
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
2575
|
-
paths:
|
|
2589
|
+
paths: TRANSFORM_PATHS_10
|
|
2576
2590
|
},
|
|
2577
2591
|
{
|
|
2578
2592
|
transformFn: import_address3.transformRESTAddressToSDKAddress,
|
|
2579
|
-
paths:
|
|
2593
|
+
paths: TRANSFORM_PATHS_11
|
|
2580
2594
|
}
|
|
2581
2595
|
])
|
|
2582
2596
|
)
|
|
@@ -2610,6 +2624,9 @@ var updateFormSubmissions4 = /* @__PURE__ */ (0, import_rest_modules3.createREST
|
|
|
2610
2624
|
var onCartCalculated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
|
|
2611
2625
|
onCartCalculated
|
|
2612
2626
|
);
|
|
2627
|
+
var onCartCompleted2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
|
|
2628
|
+
onCartCompleted
|
|
2629
|
+
);
|
|
2613
2630
|
var onCartCreated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onCartCreated);
|
|
2614
2631
|
var onCartDeleted2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onCartDeleted);
|
|
2615
2632
|
var onCartUpdated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onCartUpdated);
|
|
@@ -2671,6 +2688,7 @@ var onCartUpdated2 = /* @__PURE__ */ (0, import_event_definition_modules.createE
|
|
|
2671
2688
|
handleAsyncCheckoutCompletion,
|
|
2672
2689
|
markCartAsCompleted,
|
|
2673
2690
|
onCartCalculated,
|
|
2691
|
+
onCartCompleted,
|
|
2674
2692
|
onCartCreated,
|
|
2675
2693
|
onCartDeleted,
|
|
2676
2694
|
onCartUpdated,
|