@wix/auto_sdk_ecom_current-cart-v-2 1.0.206 → 1.0.207
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 +47 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +20 -1
- 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 +47 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +20 -1
- 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 +47 -1
- package/build/internal/cjs/meta.d.ts +20 -1
- package/build/internal/es/index.d.mts +9 -3
- package/build/internal/es/index.typings.d.mts +47 -1
- package/build/internal/es/meta.d.mts +20 -1
- 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 { CreateCurrentCartOptions, CreateCurrentCartResponse, CreateCurrentCartApplicationErrors, GetCurrentCartResponse, Cart, UpdateCurrentCartResponse, UpdateCurrentCartApplicationErrors, RefreshCurrentCartResponse, RefreshCurrentCartApplicationErrors, CalculateCurrentCartOptions, CalculateCurrentCartResponse, CalculateCurrentCartApplicationErrors, EstimateCurrentCartOptions, EstimateCurrentCartResponse, EstimateCurrentCartApplicationErrors, AddLineItemsToCurrentCartOptions, AddLineItemsToCurrentCartResponse, AddLineItemsToCurrentCartApplicationErrors, RemoveLineItemsFromCurrentCartResponse, RemoveLineItemsFromCurrentCartApplicationErrors, UpdateLineItemsInCurrentCartOptions, UpdateLineItemsInCurrentCartResponse, UpdateLineItemsInCurrentCartApplicationErrors, CouponInput, AddCouponToCurrentCartResponse, AddCouponToCurrentCartApplicationErrors, RemoveCouponFromCurrentCartResponse, RemoveCouponFromCurrentCartApplicationErrors, DeliveryMethodInput, SetDeliveryMethodForCurrentCartResponse, SetDeliveryMethodForCurrentCartApplicationErrors, RemoveDeliveryMethodFromCurrentCartResponse, RemoveDeliveryMethodFromCurrentCartApplicationErrors, GiftCardInput, AddGiftCardToCurrentCartResponse, AddGiftCardToCurrentCartApplicationErrors, RemoveGiftCardFromCurrentCartResponse, RemoveGiftCardFromCurrentCartApplicationErrors, UpdateFormSubmissionsInCurrentCartOptions, UpdateFormSubmissionsInCurrentCartResponse, CartCalculatedEnvelope, CartCreatedEnvelope, CartDeletedEnvelope, CartUpdatedEnvelope } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddCouponRequest, AddCouponResponse, AddCouponToCurrentCartRequest, AddGiftCardRequest, AddGiftCardResponse, AddGiftCardToCurrentCartRequest, AddLineItemsRequest, AddLineItemsResponse, AddLineItemsToCurrentCartRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BaseEventMetadata, Benefit, BenefitQuotaOneOf, BenefitType, BenefitTypeWithLiterals, BillingSettings, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCartResponse, CalculateCurrentCartRequest, 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, 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, EstimateCartResponse, EstimateCurrentCartRequest, EventMetadata, ExistingMembership, ExistingMembershipInput, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FixedQuantityItemErrorData, FormIdentifier, FormInfo, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, FutureMembership, FutureMembershipInput, GetCartRequest, GetCartResponse, GetCheckoutURLRequest, GetCheckoutURLResponse, GetCurrentCartRequest, 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, MarkCartAsCompletedResponse, 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, PlaceOrderResponse, PlainTextValue, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, PlatformFeeSummary, Policy, Price, PriceDescription, PriceDetails, PriceSummary, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, PurchasablePlan, QuantityUpdate, QuotaType, QuotaTypeWithLiterals, RateType, RateTypeWithLiterals, RawHttpResponse, RedemptionType, RedemptionTypeWithLiterals, RedirectUrls, RefreshCartRequest, RefreshCartResponse, RefreshCurrentCartRequest, Region, RemoveCouponFromCurrentCartRequest, RemoveCouponRequest, RemoveCouponResponse, RemoveDeliveryMethodFromCurrentCartRequest, RemoveDeliveryMethodRequest, RemoveDeliveryMethodResponse, RemoveGiftCardFromCurrentCartRequest, RemoveGiftCardRequest, RemoveGiftCardResponse, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsRequest, RemoveLineItemsResponse, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMembershipUpdate, SelectedMemberships, ServiceProperties, SetDeliveryMethodForCurrentCartRequest, SetDeliveryMethodRequest, SetDeliveryMethodResponse, 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, UpdateFormSubmissionsInCurrentCartRequest, UpdateFormSubmissionsRequest, UpdateFormSubmissionsResponse, UpdateLineItemsInCurrentCartRequest, UpdateLineItemsRequest, UpdateLineItemsResponse, 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 { CreateCurrentCartOptions, CreateCurrentCartResponse, CreateCurrentCartApplicationErrors, GetCurrentCartResponse, Cart, UpdateCurrentCartResponse, UpdateCurrentCartApplicationErrors, RefreshCurrentCartResponse, RefreshCurrentCartApplicationErrors, CalculateCurrentCartOptions, CalculateCurrentCartResponse, CalculateCurrentCartApplicationErrors, EstimateCurrentCartOptions, EstimateCurrentCartResponse, EstimateCurrentCartApplicationErrors, AddLineItemsToCurrentCartOptions, AddLineItemsToCurrentCartResponse, AddLineItemsToCurrentCartApplicationErrors, RemoveLineItemsFromCurrentCartResponse, RemoveLineItemsFromCurrentCartApplicationErrors, UpdateLineItemsInCurrentCartOptions, UpdateLineItemsInCurrentCartResponse, UpdateLineItemsInCurrentCartApplicationErrors, CouponInput, AddCouponToCurrentCartResponse, AddCouponToCurrentCartApplicationErrors, RemoveCouponFromCurrentCartResponse, RemoveCouponFromCurrentCartApplicationErrors, DeliveryMethodInput, SetDeliveryMethodForCurrentCartResponse, SetDeliveryMethodForCurrentCartApplicationErrors, RemoveDeliveryMethodFromCurrentCartResponse, RemoveDeliveryMethodFromCurrentCartApplicationErrors, GiftCardInput, AddGiftCardToCurrentCartResponse, AddGiftCardToCurrentCartApplicationErrors, RemoveGiftCardFromCurrentCartResponse, RemoveGiftCardFromCurrentCartApplicationErrors, UpdateFormSubmissionsInCurrentCartOptions, UpdateFormSubmissionsInCurrentCartResponse, CartCalculatedEnvelope, CartCompletedEnvelope, CartCreatedEnvelope, CartDeletedEnvelope, CartUpdatedEnvelope } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddCouponRequest, AddCouponResponse, AddCouponToCurrentCartRequest, AddGiftCardRequest, AddGiftCardResponse, AddGiftCardToCurrentCartRequest, AddLineItemsRequest, AddLineItemsResponse, AddLineItemsToCurrentCartRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BaseEventMetadata, Benefit, BenefitQuotaOneOf, BenefitType, BenefitTypeWithLiterals, BillingSettings, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCartResponse, CalculateCurrentCartRequest, 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, 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, EstimateCartResponse, EstimateCurrentCartRequest, EventMetadata, ExistingMembership, ExistingMembershipInput, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FixedQuantityItemErrorData, FormIdentifier, FormInfo, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, FutureMembership, FutureMembershipInput, GetCartRequest, GetCartResponse, GetCheckoutURLRequest, GetCheckoutURLResponse, GetCurrentCartRequest, 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, MarkCartAsCompletedResponse, 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, PlaceOrderResponse, PlainTextValue, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, PlatformFeeSummary, Policy, Price, PriceDescription, PriceDetails, PriceSummary, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, PurchasablePlan, QuantityUpdate, QuotaType, QuotaTypeWithLiterals, RateType, RateTypeWithLiterals, RawHttpResponse, RedemptionType, RedemptionTypeWithLiterals, RedirectUrls, RefreshCartRequest, RefreshCartResponse, RefreshCurrentCartRequest, Region, RemoveCouponFromCurrentCartRequest, RemoveCouponRequest, RemoveCouponResponse, RemoveDeliveryMethodFromCurrentCartRequest, RemoveDeliveryMethodRequest, RemoveDeliveryMethodResponse, RemoveGiftCardFromCurrentCartRequest, RemoveGiftCardRequest, RemoveGiftCardResponse, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsRequest, RemoveLineItemsResponse, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMembershipUpdate, SelectedMemberships, ServiceProperties, SetDeliveryMethodForCurrentCartRequest, SetDeliveryMethodRequest, SetDeliveryMethodResponse, 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, UpdateFormSubmissionsInCurrentCartRequest, UpdateFormSubmissionsRequest, UpdateFormSubmissionsResponse, UpdateLineItemsInCurrentCartRequest, UpdateLineItemsRequest, UpdateLineItemsResponse, 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 createCurrentCart$1(httpClient: HttpClient): CreateCurrentCartSignature;
|
|
6
6
|
interface CreateCurrentCartSignature {
|
|
@@ -186,6 +186,7 @@ interface UpdateFormSubmissionsInCurrentCartSignature {
|
|
|
186
186
|
(options?: UpdateFormSubmissionsInCurrentCartOptions): Promise<NonNullablePaths<UpdateFormSubmissionsInCurrentCartResponse, `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>>;
|
|
187
187
|
}
|
|
188
188
|
declare const onCartCalculated$1: EventDefinition<CartCalculatedEnvelope, "wix.ecom.v2.cart_calculated">;
|
|
189
|
+
declare const onCartCompleted$1: EventDefinition<CartCompletedEnvelope, "wix.ecom.v2.cart_completed">;
|
|
189
190
|
declare const onCartCreated$1: EventDefinition<CartCreatedEnvelope, "wix.ecom.v2.cart_created">;
|
|
190
191
|
declare const onCartDeleted$1: EventDefinition<CartDeletedEnvelope, "wix.ecom.v2.cart_deleted">;
|
|
191
192
|
declare const onCartUpdated$1: EventDefinition<CartUpdatedEnvelope, "wix.ecom.v2.cart_updated">;
|
|
@@ -211,6 +212,11 @@ declare const updateFormSubmissionsInCurrentCart: MaybeContext<BuildRESTFunction
|
|
|
211
212
|
* Triggered when a cart is calculated.
|
|
212
213
|
*/
|
|
213
214
|
declare const onCartCalculated: BuildEventDefinition<typeof onCartCalculated$1> & typeof onCartCalculated$1;
|
|
215
|
+
/**
|
|
216
|
+
* Triggered when a cart is completed, meaning `orderPlaced` changes to `true`.
|
|
217
|
+
* Sent a single time per cart, even if `orderId` is added later.
|
|
218
|
+
*/
|
|
219
|
+
declare const onCartCompleted: BuildEventDefinition<typeof onCartCompleted$1> & typeof onCartCompleted$1;
|
|
214
220
|
/**
|
|
215
221
|
* Triggered when a cart is created.
|
|
216
222
|
*/
|
|
@@ -224,4 +230,4 @@ declare const onCartDeleted: BuildEventDefinition<typeof onCartDeleted$1> & type
|
|
|
224
230
|
*/
|
|
225
231
|
declare const onCartUpdated: BuildEventDefinition<typeof onCartUpdated$1> & typeof onCartUpdated$1;
|
|
226
232
|
|
|
227
|
-
export { AddCouponToCurrentCartApplicationErrors, AddCouponToCurrentCartResponse, AddGiftCardToCurrentCartApplicationErrors, AddGiftCardToCurrentCartResponse, AddLineItemsToCurrentCartApplicationErrors, AddLineItemsToCurrentCartOptions, AddLineItemsToCurrentCartResponse, CalculateCurrentCartApplicationErrors, CalculateCurrentCartOptions, CalculateCurrentCartResponse, Cart, CartCalculatedEnvelope, CartCreatedEnvelope, CartDeletedEnvelope, CartUpdatedEnvelope, CouponInput, CreateCurrentCartApplicationErrors, CreateCurrentCartOptions, CreateCurrentCartResponse, DeliveryMethodInput, EstimateCurrentCartApplicationErrors, EstimateCurrentCartOptions, EstimateCurrentCartResponse, GetCurrentCartResponse, GiftCardInput, RefreshCurrentCartApplicationErrors, RefreshCurrentCartResponse, RemoveCouponFromCurrentCartApplicationErrors, RemoveCouponFromCurrentCartResponse, RemoveDeliveryMethodFromCurrentCartApplicationErrors, RemoveDeliveryMethodFromCurrentCartResponse, RemoveGiftCardFromCurrentCartApplicationErrors, RemoveGiftCardFromCurrentCartResponse, RemoveLineItemsFromCurrentCartApplicationErrors, RemoveLineItemsFromCurrentCartResponse, SetDeliveryMethodForCurrentCartApplicationErrors, SetDeliveryMethodForCurrentCartResponse, UpdateCurrentCartApplicationErrors, UpdateCurrentCartResponse, UpdateFormSubmissionsInCurrentCartOptions, UpdateFormSubmissionsInCurrentCartResponse, UpdateLineItemsInCurrentCartApplicationErrors, UpdateLineItemsInCurrentCartOptions, UpdateLineItemsInCurrentCartResponse, addCouponToCurrentCart, addGiftCardToCurrentCart, addLineItemsToCurrentCart, calculateCurrentCart, createCurrentCart, deleteCurrentCart, estimateCurrentCart, getCurrentCart, onCartCalculated, onCartCreated, onCartDeleted, onCartUpdated, refreshCurrentCart, removeCouponFromCurrentCart, removeDeliveryMethodFromCurrentCart, removeGiftCardFromCurrentCart, removeLineItemsFromCurrentCart, setDeliveryMethodForCurrentCart, updateCurrentCart, updateFormSubmissionsInCurrentCart, updateLineItemsInCurrentCart };
|
|
233
|
+
export { AddCouponToCurrentCartApplicationErrors, AddCouponToCurrentCartResponse, AddGiftCardToCurrentCartApplicationErrors, AddGiftCardToCurrentCartResponse, AddLineItemsToCurrentCartApplicationErrors, AddLineItemsToCurrentCartOptions, AddLineItemsToCurrentCartResponse, CalculateCurrentCartApplicationErrors, CalculateCurrentCartOptions, CalculateCurrentCartResponse, Cart, CartCalculatedEnvelope, CartCompletedEnvelope, CartCreatedEnvelope, CartDeletedEnvelope, CartUpdatedEnvelope, CouponInput, CreateCurrentCartApplicationErrors, CreateCurrentCartOptions, CreateCurrentCartResponse, DeliveryMethodInput, EstimateCurrentCartApplicationErrors, EstimateCurrentCartOptions, EstimateCurrentCartResponse, GetCurrentCartResponse, GiftCardInput, RefreshCurrentCartApplicationErrors, RefreshCurrentCartResponse, RemoveCouponFromCurrentCartApplicationErrors, RemoveCouponFromCurrentCartResponse, RemoveDeliveryMethodFromCurrentCartApplicationErrors, RemoveDeliveryMethodFromCurrentCartResponse, RemoveGiftCardFromCurrentCartApplicationErrors, RemoveGiftCardFromCurrentCartResponse, RemoveLineItemsFromCurrentCartApplicationErrors, RemoveLineItemsFromCurrentCartResponse, SetDeliveryMethodForCurrentCartApplicationErrors, SetDeliveryMethodForCurrentCartResponse, UpdateCurrentCartApplicationErrors, UpdateCurrentCartResponse, UpdateFormSubmissionsInCurrentCartOptions, UpdateFormSubmissionsInCurrentCartResponse, UpdateLineItemsInCurrentCartApplicationErrors, UpdateLineItemsInCurrentCartOptions, UpdateLineItemsInCurrentCartResponse, addCouponToCurrentCart, addGiftCardToCurrentCart, addLineItemsToCurrentCart, calculateCurrentCart, createCurrentCart, deleteCurrentCart, estimateCurrentCart, getCurrentCart, onCartCalculated, onCartCompleted, onCartCreated, onCartDeleted, onCartUpdated, refreshCurrentCart, removeCouponFromCurrentCart, removeDeliveryMethodFromCurrentCart, removeGiftCardFromCurrentCart, removeLineItemsFromCurrentCart, setDeliveryMethodForCurrentCart, updateCurrentCart, updateFormSubmissionsInCurrentCart, updateLineItemsInCurrentCart };
|
package/build/cjs/index.js
CHANGED
|
@@ -73,6 +73,7 @@ __export(index_exports, {
|
|
|
73
73
|
getCurrentCart: () => getCurrentCart4,
|
|
74
74
|
getUpsellOptionsForCurrentCart: () => getUpsellOptionsForCurrentCart4,
|
|
75
75
|
onCartCalculated: () => onCartCalculated2,
|
|
76
|
+
onCartCompleted: () => onCartCompleted2,
|
|
76
77
|
onCartCreated: () => onCartCreated2,
|
|
77
78
|
onCartDeleted: () => onCartDeleted2,
|
|
78
79
|
onCartUpdated: () => onCartUpdated2,
|
|
@@ -1977,7 +1978,8 @@ var TRANSFORM_PATHS_03 = [
|
|
|
1977
1978
|
{ path: "data.paymentSummary.subscriptionCharges.charges.cycleBillingDate" },
|
|
1978
1979
|
{ path: "metadata.eventTime" }
|
|
1979
1980
|
];
|
|
1980
|
-
var TRANSFORM_PATHS_13 = [
|
|
1981
|
+
var TRANSFORM_PATHS_13 = [{ path: "metadata.eventTime" }];
|
|
1982
|
+
var TRANSFORM_PATHS_23 = [
|
|
1981
1983
|
{ path: "entity.createdDate" },
|
|
1982
1984
|
{ path: "entity.updatedDate" },
|
|
1983
1985
|
{
|
|
@@ -1987,23 +1989,23 @@ var TRANSFORM_PATHS_13 = [
|
|
|
1987
1989
|
{ path: "entity.lineItems.attributes.serviceProperties.endDate" },
|
|
1988
1990
|
{ path: "metadata.eventTime" }
|
|
1989
1991
|
];
|
|
1990
|
-
var
|
|
1992
|
+
var TRANSFORM_PATHS_33 = [
|
|
1991
1993
|
{ path: "entity.lineItems.source.catalogOverrideFields.image" },
|
|
1992
1994
|
{ path: "entity.lineItems.attributes.image" }
|
|
1993
1995
|
];
|
|
1994
|
-
var
|
|
1996
|
+
var TRANSFORM_PATHS_43 = [
|
|
1995
1997
|
{
|
|
1996
1998
|
path: "entity.lineItems.source.catalogOverrideFields.physicalProperties.weight"
|
|
1997
1999
|
},
|
|
1998
2000
|
{ path: "entity.lineItems.attributes.physicalProperties.weight" },
|
|
1999
2001
|
{ path: "entity.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
2000
2002
|
];
|
|
2001
|
-
var
|
|
2002
|
-
var
|
|
2003
|
+
var TRANSFORM_PATHS_53 = [{ path: "entity.lineItems.attributes.url" }];
|
|
2004
|
+
var TRANSFORM_PATHS_63 = [
|
|
2003
2005
|
{ path: "entity.deliveryInfo.address" },
|
|
2004
2006
|
{ path: "entity.paymentInfo.billingAddress" }
|
|
2005
2007
|
];
|
|
2006
|
-
var
|
|
2008
|
+
var TRANSFORM_PATHS_72 = [
|
|
2007
2009
|
{ path: "entity.createdDate" },
|
|
2008
2010
|
{ path: "entity.updatedDate" },
|
|
2009
2011
|
{
|
|
@@ -2022,13 +2024,13 @@ var TRANSFORM_PATHS_63 = [
|
|
|
2022
2024
|
},
|
|
2023
2025
|
{ path: "modifiedFields.lineItems.attributes.serviceProperties.endDate" }
|
|
2024
2026
|
];
|
|
2025
|
-
var
|
|
2027
|
+
var TRANSFORM_PATHS_8 = [
|
|
2026
2028
|
{ path: "entity.lineItems.source.catalogOverrideFields.image" },
|
|
2027
2029
|
{ path: "entity.lineItems.attributes.image" },
|
|
2028
2030
|
{ path: "modifiedFields.lineItems.source.catalogOverrideFields.image" },
|
|
2029
2031
|
{ path: "modifiedFields.lineItems.attributes.image" }
|
|
2030
2032
|
];
|
|
2031
|
-
var
|
|
2033
|
+
var TRANSFORM_PATHS_9 = [
|
|
2032
2034
|
{
|
|
2033
2035
|
path: "entity.lineItems.source.catalogOverrideFields.physicalProperties.weight"
|
|
2034
2036
|
},
|
|
@@ -2040,11 +2042,11 @@ var TRANSFORM_PATHS_8 = [
|
|
|
2040
2042
|
{ path: "modifiedFields.lineItems.attributes.physicalProperties.weight" },
|
|
2041
2043
|
{ path: "modifiedFields.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
2042
2044
|
];
|
|
2043
|
-
var
|
|
2045
|
+
var TRANSFORM_PATHS_10 = [
|
|
2044
2046
|
{ path: "entity.lineItems.attributes.url" },
|
|
2045
2047
|
{ path: "modifiedFields.lineItems.attributes.url" }
|
|
2046
2048
|
];
|
|
2047
|
-
var
|
|
2049
|
+
var TRANSFORM_PATHS_11 = [
|
|
2048
2050
|
{ path: "entity.deliveryInfo.address" },
|
|
2049
2051
|
{ path: "entity.paymentInfo.billingAddress" },
|
|
2050
2052
|
{ path: "modifiedFields.deliveryInfo.address" },
|
|
@@ -2183,6 +2185,18 @@ var onCartCalculated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
|
2183
2185
|
])
|
|
2184
2186
|
)
|
|
2185
2187
|
)();
|
|
2188
|
+
var onCartCompleted = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
2189
|
+
"wix.ecom.v2.cart_completed",
|
|
2190
|
+
true,
|
|
2191
|
+
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
2192
|
+
(0, import_transform_paths3.transformPaths)(event, [
|
|
2193
|
+
{
|
|
2194
|
+
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
2195
|
+
paths: TRANSFORM_PATHS_13
|
|
2196
|
+
}
|
|
2197
|
+
])
|
|
2198
|
+
)
|
|
2199
|
+
)();
|
|
2186
2200
|
var onCartCreated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
2187
2201
|
"wix.ecom.v2.cart_created",
|
|
2188
2202
|
true,
|
|
@@ -2190,23 +2204,23 @@ var onCartCreated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
|
2190
2204
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
2191
2205
|
{
|
|
2192
2206
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
2193
|
-
paths:
|
|
2207
|
+
paths: TRANSFORM_PATHS_23
|
|
2194
2208
|
},
|
|
2195
2209
|
{
|
|
2196
2210
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
2197
|
-
paths:
|
|
2211
|
+
paths: TRANSFORM_PATHS_33
|
|
2198
2212
|
},
|
|
2199
2213
|
{
|
|
2200
2214
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
2201
|
-
paths:
|
|
2215
|
+
paths: TRANSFORM_PATHS_43
|
|
2202
2216
|
},
|
|
2203
2217
|
{
|
|
2204
2218
|
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
2205
|
-
paths:
|
|
2219
|
+
paths: TRANSFORM_PATHS_53
|
|
2206
2220
|
},
|
|
2207
2221
|
{
|
|
2208
2222
|
transformFn: import_address3.transformRESTAddressToSDKAddress,
|
|
2209
|
-
paths:
|
|
2223
|
+
paths: TRANSFORM_PATHS_63
|
|
2210
2224
|
}
|
|
2211
2225
|
])
|
|
2212
2226
|
)
|
|
@@ -2218,23 +2232,23 @@ var onCartDeleted = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
|
2218
2232
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
2219
2233
|
{
|
|
2220
2234
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
2221
|
-
paths:
|
|
2235
|
+
paths: TRANSFORM_PATHS_23
|
|
2222
2236
|
},
|
|
2223
2237
|
{
|
|
2224
2238
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
2225
|
-
paths:
|
|
2239
|
+
paths: TRANSFORM_PATHS_33
|
|
2226
2240
|
},
|
|
2227
2241
|
{
|
|
2228
2242
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
2229
|
-
paths:
|
|
2243
|
+
paths: TRANSFORM_PATHS_43
|
|
2230
2244
|
},
|
|
2231
2245
|
{
|
|
2232
2246
|
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
2233
|
-
paths:
|
|
2247
|
+
paths: TRANSFORM_PATHS_53
|
|
2234
2248
|
},
|
|
2235
2249
|
{
|
|
2236
2250
|
transformFn: import_address3.transformRESTAddressToSDKAddress,
|
|
2237
|
-
paths:
|
|
2251
|
+
paths: TRANSFORM_PATHS_63
|
|
2238
2252
|
}
|
|
2239
2253
|
])
|
|
2240
2254
|
)
|
|
@@ -2246,23 +2260,23 @@ var onCartUpdated = /* @__PURE__ */ (0, import_sdk_types.EventDefinition)(
|
|
|
2246
2260
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
2247
2261
|
{
|
|
2248
2262
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
2249
|
-
paths:
|
|
2263
|
+
paths: TRANSFORM_PATHS_72
|
|
2250
2264
|
},
|
|
2251
2265
|
{
|
|
2252
2266
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
2253
|
-
paths:
|
|
2267
|
+
paths: TRANSFORM_PATHS_8
|
|
2254
2268
|
},
|
|
2255
2269
|
{
|
|
2256
2270
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
2257
|
-
paths:
|
|
2271
|
+
paths: TRANSFORM_PATHS_9
|
|
2258
2272
|
},
|
|
2259
2273
|
{
|
|
2260
2274
|
transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
|
|
2261
|
-
paths:
|
|
2275
|
+
paths: TRANSFORM_PATHS_10
|
|
2262
2276
|
},
|
|
2263
2277
|
{
|
|
2264
2278
|
transformFn: import_address3.transformRESTAddressToSDKAddress,
|
|
2265
|
-
paths:
|
|
2279
|
+
paths: TRANSFORM_PATHS_11
|
|
2266
2280
|
}
|
|
2267
2281
|
])
|
|
2268
2282
|
)
|
|
@@ -2292,6 +2306,9 @@ var getUpsellOptionsForCurrentCart4 = /* @__PURE__ */ (0, import_rest_modules3.c
|
|
|
2292
2306
|
var onCartCalculated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
|
|
2293
2307
|
onCartCalculated
|
|
2294
2308
|
);
|
|
2309
|
+
var onCartCompleted2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(
|
|
2310
|
+
onCartCompleted
|
|
2311
|
+
);
|
|
2295
2312
|
var onCartCreated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onCartCreated);
|
|
2296
2313
|
var onCartDeleted2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onCartDeleted);
|
|
2297
2314
|
var onCartUpdated2 = /* @__PURE__ */ (0, import_event_definition_modules.createEventModule)(onCartUpdated);
|
|
@@ -2350,6 +2367,7 @@ var onCartUpdated2 = /* @__PURE__ */ (0, import_event_definition_modules.createE
|
|
|
2350
2367
|
getCurrentCart,
|
|
2351
2368
|
getUpsellOptionsForCurrentCart,
|
|
2352
2369
|
onCartCalculated,
|
|
2370
|
+
onCartCompleted,
|
|
2353
2371
|
onCartCreated,
|
|
2354
2372
|
onCartDeleted,
|
|
2355
2373
|
onCartUpdated,
|