@wix/auto_sdk_ecom_cart-v-2 1.0.62 → 1.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +27 -4
  2. package/build/cjs/index.js +128 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +181 -2
  5. package/build/cjs/index.typings.js +119 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +125 -2
  8. package/build/cjs/meta.js +77 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +27 -4
  11. package/build/es/index.mjs +127 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +181 -2
  14. package/build/es/index.typings.mjs +118 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +125 -2
  17. package/build/es/meta.mjs +76 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +27 -4
  20. package/build/internal/cjs/index.js +128 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +191 -2
  23. package/build/internal/cjs/index.typings.js +119 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +125 -2
  26. package/build/internal/cjs/meta.js +77 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +27 -4
  29. package/build/internal/es/index.mjs +127 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +191 -2
  32. package/build/internal/es/index.typings.mjs +118 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +125 -2
  35. package/build/internal/es/meta.mjs +76 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -2565,6 +2565,46 @@ interface CalculateCurrentCartResponse {
2565
2565
  /** The calculation summary. */
2566
2566
  summary?: CartSummary;
2567
2567
  }
2568
+ interface EstimateCurrentCartRequest {
2569
+ /**
2570
+ * Whether to retrieve the latest item prices, discounts, and inventory data from the catalogs before estimating the cart.
2571
+ *
2572
+ * Default: `false`
2573
+ */
2574
+ refreshCart?: boolean;
2575
+ /**
2576
+ * Specifies the level of **business validation** to perform during cart calculation,
2577
+ * by calling the [Validations service plugin](https://dev.wix.com/api/rest/wix-ecommerce/validations-integration-spi/introduction).
2578
+ */
2579
+ validationConfig?: ValidationsConfigWithLiterals;
2580
+ /**
2581
+ * Whether to calculate delivery costs.
2582
+ * Default: false
2583
+ */
2584
+ calculateDelivery?: boolean;
2585
+ /**
2586
+ * Whether to calculate any additional fees.
2587
+ * Default: false
2588
+ */
2589
+ calculateAdditionalFees?: boolean;
2590
+ /**
2591
+ * Whether to include tax calculation.
2592
+ * Default: false
2593
+ */
2594
+ calculateTax?: boolean;
2595
+ /**
2596
+ * Whether to calculate the effect of gift card balances on the cart total.
2597
+ * Gift cards are not redeemed - only reflected for estimation purposes.
2598
+ * Default: false
2599
+ */
2600
+ calculateGiftCards?: boolean;
2601
+ }
2602
+ interface EstimateCurrentCartResponse {
2603
+ /** The Cart that was calculated. */
2604
+ cart?: Cart;
2605
+ /** The calculation summary. */
2606
+ summary?: CartSummary;
2607
+ }
2568
2608
  interface AddLineItemsToCurrentCartRequest {
2569
2609
  /**
2570
2610
  * A list of catalog items to add to the cart.
@@ -2972,6 +3012,51 @@ interface RefreshCartResponse {
2972
3012
  /** Synchronized Cart. */
2973
3013
  cart?: Cart;
2974
3014
  }
3015
+ interface EstimateCartRequest {
3016
+ /**
3017
+ * ID of the Cart to calculate.
3018
+ * @format GUID
3019
+ */
3020
+ cartId: string;
3021
+ /**
3022
+ * Whether to retrieve the latest item prices, discounts, and inventory data from the catalogs before estimating the cart.
3023
+ *
3024
+ * Default: `false`
3025
+ */
3026
+ refreshCart?: boolean;
3027
+ /**
3028
+ * Specifies the level of **business validation** to perform during cart calculation,
3029
+ * by calling the [Validations service plugin](https://dev.wix.com/api/rest/wix-ecommerce/validations-integration-spi/introduction).
3030
+ */
3031
+ validationConfig?: ValidationsConfigWithLiterals;
3032
+ /**
3033
+ * Whether to calculate delivery costs.
3034
+ * Default: false
3035
+ */
3036
+ calculateDelivery?: boolean;
3037
+ /**
3038
+ * Whether to calculate any additional fees.
3039
+ * Default: false
3040
+ */
3041
+ calculateAdditionalFees?: boolean;
3042
+ /**
3043
+ * Whether to include tax calculation.
3044
+ * Default: false
3045
+ */
3046
+ calculateTax?: boolean;
3047
+ /**
3048
+ * Whether to calculate the effect of gift card balances on the cart total.
3049
+ * Gift cards are not redeemed - only reflected for estimation purposes.
3050
+ * Default: false
3051
+ */
3052
+ calculateGiftCards?: boolean;
3053
+ }
3054
+ interface EstimateCartResponse {
3055
+ /** The Cart that was calculated. */
3056
+ cart?: Cart;
3057
+ /** The calculation summary. */
3058
+ summary?: CartSummary;
3059
+ }
2975
3060
  interface CalculateCartRequest {
2976
3061
  /**
2977
3062
  * ID of the Cart to calculate.
@@ -3800,6 +3885,35 @@ interface DiscountRuleName {
3800
3885
  */
3801
3886
  translated?: string | null;
3802
3887
  }
3888
+ interface ItemCombination {
3889
+ /**
3890
+ * The number of times this exact combination of items (with the specified quantities) was applied together in the order.
3891
+ * @min 1
3892
+ * @max 100000
3893
+ */
3894
+ count?: number;
3895
+ /**
3896
+ * Line items that participated together in this combination.
3897
+ * @minSize 1
3898
+ * @maxSize 100
3899
+ */
3900
+ lineItems?: ItemCombinationLineItem[];
3901
+ }
3902
+ interface ItemCombinationLineItem {
3903
+ /**
3904
+ * The unique ID of the line item to which this discount applies.
3905
+ * @format GUID
3906
+ */
3907
+ lineItemId?: string;
3908
+ /** Total discount amount for all units (quantity) of this line item in this combination. */
3909
+ discountAmount?: MultiCurrencyPrice;
3910
+ /**
3911
+ * Number of units from this line item that participated in a single combination.
3912
+ * @min 1
3913
+ * @max 100000
3914
+ */
3915
+ quantity?: number;
3916
+ }
3803
3917
  interface LineItemDiscount {
3804
3918
  /**
3805
3919
  * ID of line item the discount applies to.
@@ -4487,6 +4601,12 @@ type RefreshCartApplicationErrors = {
4487
4601
  data?: CartAlreadyOrderedErrorData;
4488
4602
  };
4489
4603
  /** @docsIgnore */
4604
+ type EstimateCartApplicationErrors = {
4605
+ code?: 'CART_ALREADY_ORDERED';
4606
+ description?: string;
4607
+ data?: CartAlreadyOrderedErrorData;
4608
+ };
4609
+ /** @docsIgnore */
4490
4610
  type CalculateCartApplicationErrors = {
4491
4611
  code?: 'CART_ALREADY_ORDERED';
4492
4612
  description?: string;
@@ -5010,10 +5130,69 @@ declare function deleteCart(cartId: string): Promise<void>;
5010
5130
  declare function refreshCart(cartId: string): Promise<NonNullablePaths<RefreshCartResponse, `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.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`, 7> & {
5011
5131
  __applicationErrorsType?: RefreshCartApplicationErrors;
5012
5132
  }>;
5133
+ /**
5134
+ * Estimates the cart totals based on its current state and the selected
5135
+ * calculation components.
5136
+ *
5137
+ * This API provides a partial, component-based estimation of the cart and is
5138
+ * intended for preview purposes (e.g. showing partial estimated totals).
5139
+ *
5140
+ * The estimation is controlled by boolean flags that indicate which components
5141
+ * should be included (delivery costs, additional fees, taxes, gift cards).
5142
+ * Components that are not explicitly enabled are excluded from the calculation.
5143
+ *
5144
+ * This is NOT a full cart calculation.
5145
+ *
5146
+ * Note that line items discounts are already pre-computed and applied to the Cart.
5147
+ * @param cartId - ID of the Cart to calculate.
5148
+ * @public
5149
+ * @documentationMaturity preview
5150
+ * @requiredField cartId
5151
+ * @permissionId ecom:v2:cart:estimate_cart
5152
+ * @applicableIdentity APP
5153
+ * @fqn wix.ecom.cart.v2.CartService.EstimateCart
5154
+ */
5155
+ declare function estimateCart(cartId: string, options?: EstimateCartOptions): Promise<NonNullablePaths<EstimateCartResponse, `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.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` | `summary.cartId` | `summary.cartRevision` | `summary.calculationId` | `summary.lineItems` | `summary.lineItems.${number}.lineItemId` | `summary.lineItems.${number}.quantity` | `summary.lineItems.${number}.unitPrice.amount` | `summary.lineItems.${number}.unitPrice.convertedAmount` | `summary.discounts` | `summary.discounts.${number}.name.original` | `summary.discounts.${number}.source.sourceType` | `summary.discounts.${number}.scope` | `summary.deliverySummary.method.code` | `summary.deliverySummary.method.pickup` | `summary.additionalFees` | `summary.taxSummary.taxes` | `summary.taxSummary.pricesIncludeTax` | `summary.taxSummary.lineItemTaxes` | `summary.taxSummary.lineItemTaxes.${number}.lineItemId` | `summary.taxSummary.additionalFeeTaxes` | `summary.taxSummary.additionalFeeTaxes.${number}.additionalFeeCode` | `summary.paymentSummary.giftCards` | `summary.paymentSummary.giftCards.${number}.giftCardId` | `summary.paymentSummary.memberships` | `summary.paymentSummary.memberships.${number}._id` | `summary.paymentSummary.memberships.${number}.appId` | `summary.paymentSummary.subscriptionCharges` | `summary.paymentSummary.requiresPaymentAfterGiftCard` | `summary.calculationErrors.generalShippingCalculationError.applicationError.code` | `summary.calculationErrors.generalShippingCalculationError.applicationError.description` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `summary.calculationErrors.carrierErrors.errors` | `summary.calculationErrors.carrierErrors.errors.${number}.carrierId` | `summary.calculationErrors.orderValidationErrors` | `summary.spiViolations` | `summary.spiViolations.${number}.severity` | `summary.spiViolations.${number}.target.other.name` | `summary.spiViolations.${number}.target.lineItem.name`, 8> & {
5156
+ __applicationErrorsType?: EstimateCartApplicationErrors;
5157
+ }>;
5158
+ interface EstimateCartOptions {
5159
+ /**
5160
+ * Whether to retrieve the latest item prices, discounts, and inventory data from the catalogs before estimating the cart.
5161
+ *
5162
+ * Default: `false`
5163
+ */
5164
+ refreshCart?: boolean;
5165
+ /**
5166
+ * Specifies the level of **business validation** to perform during cart calculation,
5167
+ * by calling the [Validations service plugin](https://dev.wix.com/api/rest/wix-ecommerce/validations-integration-spi/introduction).
5168
+ */
5169
+ validationConfig?: ValidationsConfigWithLiterals;
5170
+ /**
5171
+ * Whether to calculate delivery costs.
5172
+ * Default: false
5173
+ */
5174
+ calculateDelivery?: boolean;
5175
+ /**
5176
+ * Whether to calculate any additional fees.
5177
+ * Default: false
5178
+ */
5179
+ calculateAdditionalFees?: boolean;
5180
+ /**
5181
+ * Whether to include tax calculation.
5182
+ * Default: false
5183
+ */
5184
+ calculateTax?: boolean;
5185
+ /**
5186
+ * Whether to calculate the effect of gift card balances on the cart total.
5187
+ * Gift cards are not redeemed - only reflected for estimation purposes.
5188
+ * Default: false
5189
+ */
5190
+ calculateGiftCards?: boolean;
5191
+ }
5013
5192
  /**
5014
5193
  * Calculates the cart based on its current state (line items, discounts, delivery method, etc.)
5015
5194
  * and returns a detailed summary including subtotal, delivery costs, taxes, fees and the total price.
5016
- * Note that discounts are already pre-computed and applied to the Cart.
5195
+ * Note that line items discounts are already pre-computed and applied to the Cart.
5017
5196
  * @param cartId - ID of the Cart to calculate.
5018
5197
  * @public
5019
5198
  * @documentationMaturity preview
@@ -5311,4 +5490,4 @@ interface UpdateFormSubmissionsOptions {
5311
5490
  formSubmissions?: FormSubmission[];
5312
5491
  }
5313
5492
 
5314
- export { type ActionEvent, type AddCouponApplicationErrors, type AddCouponRequest, type AddCouponResponse, type AddCouponToCurrentCartRequest, type AddCouponToCurrentCartResponse, type AddGiftCardApplicationErrors, type AddGiftCardRequest, type AddGiftCardResponse, type AddGiftCardToCurrentCartRequest, type AddGiftCardToCurrentCartResponse, type AddLineItemsApplicationErrors, type AddLineItemsOptions, type AddLineItemsRequest, type AddLineItemsResponse, type AddLineItemsToCurrentCartRequest, type AddLineItemsToCurrentCartResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type AdditionalFeeTax, type Address, type AddressLocation, type AggregatedTaxBreakdown, type AllLineItemsOutOfStockErrorData, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BusinessInfo, type CalculateCartApplicationErrors, type CalculateCartForV1Request, type CalculateCartForV1Response, type CalculateCartOptions, type CalculateCartRequest, type CalculateCartResponse, type CalculateCurrentCartRequest, type CalculateCurrentCartResponse, type CalculateTotalsResponse, type CalculatedItemModifier, type CalculatedLineItem, type CalculatedPlatformFee, type CalculationConfig, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CalculationOverrides, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartAlreadyOrderedErrorData, type CartSettings, type CartSource, type CartSummary, type CatalogItemInput, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, CheckoutStage, type CheckoutStageWithLiterals, type Color, type ConvertedMoney, type Coupon, type CouponAdded, type CouponAlreadyExistsErrorData, type CouponInput, type CouponNotFoundInCartErrorData, type CouponRemoved, type CreateCartApplicationErrors, type CreateCartOptions, type CreateCartRequest, type CreateCartResponse, type CreateCurrentCartRequest, type CreateCurrentCartResponse, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomItemAttributes, type CustomItemDeliveryConfig, type CustomItemInput, type CustomItemPaymentConfig, type CustomItemPricingInfo, type CustomItemQuantityInfo, type CustomItemSource, type CustomItemTaxConfig, type CustomerInfo, type CustomerInfoIdOneOf, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeleteCurrentCartResponse, type DeliveryAllocation, type DeliveryInfo, type DeliveryLogistics, type DeliveryMethod, type DeliveryMethodInput, type DeliveryMethodNotFoundErrorData, type DeliverySummary, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Discount, type DiscountBenefit, type DiscountBenefitValueOneOf, type DiscountRule, type DiscountRuleName, DiscountScope, type DiscountScopeWithLiterals, type DiscountSource, DiscountSourceType, type DiscountSourceTypeWithLiterals, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DuplicateItemModifierIdsErrorData, type DuplicateLineItemUpdatesErrorData, type DuplicateModifierGroupIdsErrorData, type Empty, type EmptyLineItemUpdatesErrorData, type EmptyPaymentTokenErrorData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FixedQuantityItemErrorData, type FormIdentifier, type FormInfo, type FormSubmission, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartRequest, type GetCartResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetCheckoutUrlApplicationErrors, type GetCheckoutUrlOptions, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardAdded, type GiftCardAlreadyExistsErrorData, type GiftCardInput, type GiftCardNotFoundInCartErrorData, type GiftCardRedeemErrorData, type GiftCardRemoved, type GiftCardSummary, type Group, type HandleAsyncCheckoutCompletionRequest, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InsufficientInventoryEntry, type InsufficientInventoryErrorData, type InvalidCouponCodeErrorData, InvalidCouponReason, type InvalidCouponReasonWithLiterals, type InvalidCouponStatusErrorData, type InvalidCouponStatusErrorDataDetailsOneOf, type InvalidGiftCardCodeErrorData, InvalidGiftCardReason, type InvalidGiftCardReasonWithLiterals, type InvalidGiftCardStatusErrorData, type InvalidMembership, type InvalidMembershipEntry, type InvalidMembershipErrorData, type InvalidMembershipPaymentOptionErrorData, type InvalidPaymentStatusErrorData, type InvalidPriceVerificationTokenErrorData, type InvalidThirdPartyCheckoutTokenErrorData, type ItemAttributes, type ItemDeliveryConfig, type ItemDiscount, type ItemModifier, type ItemNotFoundInCatalogErrorData, type ItemPaymentConfig, type ItemPriceBreakdown, type ItemPricingInfo, type ItemQuantityInfo, type ItemSource, ItemStatus, type ItemStatusWithLiterals, type ItemTaxConfig, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LegacyFields, type LineItem, type LineItemAdded, type LineItemDiscount, type LineItemIdentifier, type LineItemIdentifierIdOneOf, type LineItemNotFoundInCartErrorData, type LineItemPriceConflictErrorData, type LineItemPricesData, type LineItemSummary, type LineItemTax, type LineItemUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCartAsCompletedOptions, type MarkCartAsCompletedRequest, type MarkCartAsCompletedResponse, type MaxItemModifiersExceededErrorData, type MaxLineItemsExceededErrorData, type MembersOnlyItemErrorData, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type MinLineItemQuantityNotReachedDetails, type MinSubtotalNotReachedDetails, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentInfo, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentSummary, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlaceOrderApplicationErrors, type PlaceOrderOptions, type PlaceOrderRequest, type PlaceOrderResponse, type PlainTextValue, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type PlatformFeeSummary, type Policy, type PriceDescription, type PriceSummary, type QuantityUpdate, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedirectUrls, type RefreshCartApplicationErrors, type RefreshCartRequest, type RefreshCartResponse, type RefreshCurrentCartRequest, type RefreshCurrentCartResponse, type Region, type RemoveCouponApplicationErrors, type RemoveCouponFromCurrentCartRequest, type RemoveCouponFromCurrentCartResponse, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardApplicationErrors, type RemoveGiftCardFromCurrentCartRequest, type RemoveGiftCardFromCurrentCartResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsApplicationErrors, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsFromCurrentCartResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMembershipUpdate, type SelectedMemberships, type ServiceProperties, type SetDeliveryMethodApplicationErrors, type SetDeliveryMethodForCurrentCartRequest, type SetDeliveryMethodForCurrentCartResponse, type SetDeliveryMethodRequest, type SetDeliveryMethodResponse, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type SomeLineItemsOutOfStockErrorData, type Stage, type StageStagesOneOf, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetTargetTypeOneOf, type Tax, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxDetails, type TaxInfo, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UnmarkAsCurrentCartRequest, type UnmarkAsCurrentCartResponse, type UpdateCart, type UpdateCartApplicationErrors, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartRequest, type UpdateCurrentCartResponse, type UpdateFormSubmissionsInCurrentCartRequest, type UpdateFormSubmissionsInCurrentCartResponse, type UpdateFormSubmissionsOptions, type UpdateFormSubmissionsRequest, type UpdateFormSubmissionsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsInCurrentCartRequest, type UpdateLineItemsInCurrentCartResponse, type UpdateLineItemsOptions, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type V1AdditionalFee, type V2AdditionalFee, type V2CalculationErrors, type V2CalculationErrorsShippingCalculationErrorOneOf, type V2CarrierError, type V2CarrierErrors, type V2Coupon, type V2GiftCard, type V2LineItem, type V2Membership, type V2PriceSummary, type V2SelectedMembership, type V2TaxSummary, type ValidationError, ValidationsConfig, type ValidationsConfigWithLiterals, type VatId, VatType, type VatTypeWithLiterals, type Violation, type ViolationWithErrorSeverityErrorData, type ViolationsList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addCoupon, addGiftCard, addLineItems, calculateCart, createCart, deleteCart, getCart, getCheckoutUrl, handleAsyncCheckoutCompletion, markCartAsCompleted, placeOrder, refreshCart, removeCoupon, removeGiftCard, removeLineItems, setDeliveryMethod, updateCart, updateFormSubmissions, updateLineItems };
5493
+ export { type ActionEvent, type AddCouponApplicationErrors, type AddCouponRequest, type AddCouponResponse, type AddCouponToCurrentCartRequest, type AddCouponToCurrentCartResponse, type AddGiftCardApplicationErrors, type AddGiftCardRequest, type AddGiftCardResponse, type AddGiftCardToCurrentCartRequest, type AddGiftCardToCurrentCartResponse, type AddLineItemsApplicationErrors, type AddLineItemsOptions, type AddLineItemsRequest, type AddLineItemsResponse, type AddLineItemsToCurrentCartRequest, type AddLineItemsToCurrentCartResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type AdditionalFeeTax, type Address, type AddressLocation, type AggregatedTaxBreakdown, type AllLineItemsOutOfStockErrorData, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BusinessInfo, type CalculateCartApplicationErrors, type CalculateCartForV1Request, type CalculateCartForV1Response, type CalculateCartOptions, type CalculateCartRequest, type CalculateCartResponse, type CalculateCurrentCartRequest, type CalculateCurrentCartResponse, type CalculateTotalsResponse, type CalculatedItemModifier, type CalculatedLineItem, type CalculatedPlatformFee, type CalculationConfig, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CalculationOverrides, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartAlreadyOrderedErrorData, type CartSettings, type CartSource, type CartSummary, type CatalogItemInput, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, CheckoutStage, type CheckoutStageWithLiterals, type Color, type ConvertedMoney, type Coupon, type CouponAdded, type CouponAlreadyExistsErrorData, type CouponInput, type CouponNotFoundInCartErrorData, type CouponRemoved, type CreateCartApplicationErrors, type CreateCartOptions, type CreateCartRequest, type CreateCartResponse, type CreateCurrentCartRequest, type CreateCurrentCartResponse, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomItemAttributes, type CustomItemDeliveryConfig, type CustomItemInput, type CustomItemPaymentConfig, type CustomItemPricingInfo, type CustomItemQuantityInfo, type CustomItemSource, type CustomItemTaxConfig, type CustomerInfo, type CustomerInfoIdOneOf, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeleteCurrentCartResponse, type DeliveryAllocation, type DeliveryInfo, type DeliveryLogistics, type DeliveryMethod, type DeliveryMethodInput, type DeliveryMethodNotFoundErrorData, type DeliverySummary, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Discount, type DiscountBenefit, type DiscountBenefitValueOneOf, type DiscountRule, type DiscountRuleName, DiscountScope, type DiscountScopeWithLiterals, type DiscountSource, DiscountSourceType, type DiscountSourceTypeWithLiterals, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DuplicateItemModifierIdsErrorData, type DuplicateLineItemUpdatesErrorData, type DuplicateModifierGroupIdsErrorData, type Empty, type EmptyLineItemUpdatesErrorData, type EmptyPaymentTokenErrorData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EstimateCartApplicationErrors, type EstimateCartOptions, type EstimateCartRequest, type EstimateCartResponse, type EstimateCurrentCartRequest, type EstimateCurrentCartResponse, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FixedQuantityItemErrorData, type FormIdentifier, type FormInfo, type FormSubmission, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartRequest, type GetCartResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetCheckoutUrlApplicationErrors, type GetCheckoutUrlOptions, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardAdded, type GiftCardAlreadyExistsErrorData, type GiftCardInput, type GiftCardNotFoundInCartErrorData, type GiftCardRedeemErrorData, type GiftCardRemoved, type GiftCardSummary, type Group, type HandleAsyncCheckoutCompletionRequest, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InsufficientInventoryEntry, type InsufficientInventoryErrorData, type InvalidCouponCodeErrorData, InvalidCouponReason, type InvalidCouponReasonWithLiterals, type InvalidCouponStatusErrorData, type InvalidCouponStatusErrorDataDetailsOneOf, type InvalidGiftCardCodeErrorData, InvalidGiftCardReason, type InvalidGiftCardReasonWithLiterals, type InvalidGiftCardStatusErrorData, type InvalidMembership, type InvalidMembershipEntry, type InvalidMembershipErrorData, type InvalidMembershipPaymentOptionErrorData, type InvalidPaymentStatusErrorData, type InvalidPriceVerificationTokenErrorData, type InvalidThirdPartyCheckoutTokenErrorData, type ItemAttributes, type ItemCombination, type ItemCombinationLineItem, type ItemDeliveryConfig, type ItemDiscount, type ItemModifier, type ItemNotFoundInCatalogErrorData, type ItemPaymentConfig, type ItemPriceBreakdown, type ItemPricingInfo, type ItemQuantityInfo, type ItemSource, ItemStatus, type ItemStatusWithLiterals, type ItemTaxConfig, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LegacyFields, type LineItem, type LineItemAdded, type LineItemDiscount, type LineItemIdentifier, type LineItemIdentifierIdOneOf, type LineItemNotFoundInCartErrorData, type LineItemPriceConflictErrorData, type LineItemPricesData, type LineItemSummary, type LineItemTax, type LineItemUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCartAsCompletedOptions, type MarkCartAsCompletedRequest, type MarkCartAsCompletedResponse, type MaxItemModifiersExceededErrorData, type MaxLineItemsExceededErrorData, type MembersOnlyItemErrorData, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type MinLineItemQuantityNotReachedDetails, type MinSubtotalNotReachedDetails, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentInfo, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentSummary, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlaceOrderApplicationErrors, type PlaceOrderOptions, type PlaceOrderRequest, type PlaceOrderResponse, type PlainTextValue, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type PlatformFeeSummary, type Policy, type PriceDescription, type PriceSummary, type QuantityUpdate, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedirectUrls, type RefreshCartApplicationErrors, type RefreshCartRequest, type RefreshCartResponse, type RefreshCurrentCartRequest, type RefreshCurrentCartResponse, type Region, type RemoveCouponApplicationErrors, type RemoveCouponFromCurrentCartRequest, type RemoveCouponFromCurrentCartResponse, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardApplicationErrors, type RemoveGiftCardFromCurrentCartRequest, type RemoveGiftCardFromCurrentCartResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsApplicationErrors, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsFromCurrentCartResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMembershipUpdate, type SelectedMemberships, type ServiceProperties, type SetDeliveryMethodApplicationErrors, type SetDeliveryMethodForCurrentCartRequest, type SetDeliveryMethodForCurrentCartResponse, type SetDeliveryMethodRequest, type SetDeliveryMethodResponse, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type SomeLineItemsOutOfStockErrorData, type Stage, type StageStagesOneOf, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetTargetTypeOneOf, type Tax, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxDetails, type TaxInfo, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UnmarkAsCurrentCartRequest, type UnmarkAsCurrentCartResponse, type UpdateCart, type UpdateCartApplicationErrors, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartRequest, type UpdateCurrentCartResponse, type UpdateFormSubmissionsInCurrentCartRequest, type UpdateFormSubmissionsInCurrentCartResponse, type UpdateFormSubmissionsOptions, type UpdateFormSubmissionsRequest, type UpdateFormSubmissionsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsInCurrentCartRequest, type UpdateLineItemsInCurrentCartResponse, type UpdateLineItemsOptions, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type V1AdditionalFee, type V2AdditionalFee, type V2CalculationErrors, type V2CalculationErrorsShippingCalculationErrorOneOf, type V2CarrierError, type V2CarrierErrors, type V2Coupon, type V2GiftCard, type V2LineItem, type V2Membership, type V2PriceSummary, type V2SelectedMembership, type V2TaxSummary, type ValidationError, ValidationsConfig, type ValidationsConfigWithLiterals, type VatId, VatType, type VatTypeWithLiterals, type Violation, type ViolationWithErrorSeverityErrorData, type ViolationsList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addCoupon, addGiftCard, addLineItems, calculateCart, createCart, deleteCart, estimateCart, getCart, getCheckoutUrl, handleAsyncCheckoutCompletion, markCartAsCompleted, placeOrder, refreshCart, removeCoupon, removeGiftCard, removeLineItems, setDeliveryMethod, updateCart, updateFormSubmissions, updateLineItems };
@@ -421,6 +421,63 @@ function refreshCart(payload) {
421
421
  }
422
422
  return __refreshCart;
423
423
  }
424
+ function estimateCart(payload) {
425
+ function __estimateCart({ host }) {
426
+ const metadata = {
427
+ entityFqdn: "wix.ecom.v2.cart",
428
+ method: "POST",
429
+ methodFqn: "wix.ecom.cart.v2.CartService.EstimateCart",
430
+ packageName: PACKAGE_NAME,
431
+ migrationOptions: {
432
+ optInTransformResponse: true
433
+ },
434
+ url: resolveWixEcomCartV2CartServiceUrl({
435
+ protoPath: "/v2/carts/{cartId}/estimate",
436
+ data: payload,
437
+ host
438
+ }),
439
+ data: payload,
440
+ transformResponse: (payload2) => transformPaths(payload2, [
441
+ {
442
+ transformFn: transformRESTTimestampToSDKTimestamp,
443
+ paths: [
444
+ { path: "cart.createdDate" },
445
+ { path: "cart.updatedDate" },
446
+ {
447
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
448
+ },
449
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
450
+ {
451
+ path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
452
+ },
453
+ {
454
+ path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
455
+ },
456
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" },
457
+ {
458
+ path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
459
+ }
460
+ ]
461
+ },
462
+ {
463
+ transformFn: transformRESTFloatToSDKFloat,
464
+ paths: [
465
+ {
466
+ path: "cart.lineItems.source.catalogOverrideFields.physicalProperties.weight"
467
+ },
468
+ { path: "cart.lineItems.attributes.physicalProperties.weight" },
469
+ { path: "cart.deliveryInfo.address.geocode.latitude" },
470
+ { path: "cart.deliveryInfo.address.geocode.longitude" },
471
+ { path: "cart.paymentInfo.billingAddress.geocode.latitude" },
472
+ { path: "cart.paymentInfo.billingAddress.geocode.longitude" }
473
+ ]
474
+ }
475
+ ])
476
+ };
477
+ return metadata;
478
+ }
479
+ return __estimateCart;
480
+ }
424
481
  function calculateCart(payload) {
425
482
  function __calculateCart({ host }) {
426
483
  const metadata = {
@@ -1629,6 +1686,66 @@ async function refreshCart2(cartId) {
1629
1686
  throw transformedError;
1630
1687
  }
1631
1688
  }
1689
+ async function estimateCart2(cartId, options) {
1690
+ const { httpClient, sideEffects } = arguments[2];
1691
+ const payload = renameKeysFromSDKRequestToRESTRequest({
1692
+ cartId,
1693
+ refreshCart: options?.refreshCart,
1694
+ validationConfig: options?.validationConfig,
1695
+ calculateDelivery: options?.calculateDelivery,
1696
+ calculateAdditionalFees: options?.calculateAdditionalFees,
1697
+ calculateTax: options?.calculateTax,
1698
+ calculateGiftCards: options?.calculateGiftCards
1699
+ });
1700
+ const reqOpts = estimateCart(payload);
1701
+ sideEffects?.onSiteCall?.();
1702
+ try {
1703
+ const result = await httpClient.request(reqOpts);
1704
+ sideEffects?.onSuccess?.(result);
1705
+ return renameKeysFromRESTResponseToSDKResponse(
1706
+ transformPaths2(result.data, [
1707
+ {
1708
+ transformFn: transformRESTImageToSDKImage,
1709
+ paths: [
1710
+ { path: "cart.lineItems.source.catalogOverrideFields.image" },
1711
+ { path: "cart.lineItems.attributes.image" }
1712
+ ]
1713
+ },
1714
+ {
1715
+ transformFn: transformRESTPageURLV2ToSDKPageURLV2,
1716
+ paths: [{ path: "cart.lineItems.attributes.url" }]
1717
+ },
1718
+ {
1719
+ transformFn: transformRESTAddressToSDKAddress,
1720
+ paths: [
1721
+ { path: "cart.deliveryInfo.address" },
1722
+ { path: "cart.paymentInfo.billingAddress" }
1723
+ ]
1724
+ }
1725
+ ])
1726
+ );
1727
+ } catch (err) {
1728
+ const transformedError = sdkTransformError(
1729
+ err,
1730
+ {
1731
+ spreadPathsToArguments: {},
1732
+ explicitPathsToArguments: {
1733
+ cartId: "$[0]",
1734
+ refreshCart: "$[1].refreshCart",
1735
+ validationConfig: "$[1].validationConfig",
1736
+ calculateDelivery: "$[1].calculateDelivery",
1737
+ calculateAdditionalFees: "$[1].calculateAdditionalFees",
1738
+ calculateTax: "$[1].calculateTax",
1739
+ calculateGiftCards: "$[1].calculateGiftCards"
1740
+ },
1741
+ singleArgumentUnchanged: false
1742
+ },
1743
+ ["cartId", "options"]
1744
+ );
1745
+ sideEffects?.onError?.(err);
1746
+ throw transformedError;
1747
+ }
1748
+ }
1632
1749
  async function calculateCart2(cartId, options) {
1633
1750
  const { httpClient, sideEffects } = arguments[2];
1634
1751
  const payload = renameKeysFromSDKRequestToRESTRequest({
@@ -2307,6 +2424,7 @@ export {
2307
2424
  calculateCart2 as calculateCart,
2308
2425
  createCart2 as createCart,
2309
2426
  deleteCart2 as deleteCart,
2427
+ estimateCart2 as estimateCart,
2310
2428
  getCart2 as getCart,
2311
2429
  getCheckoutUrl2 as getCheckoutUrl,
2312
2430
  handleAsyncCheckoutCompletion2 as handleAsyncCheckoutCompletion,