@wix/auto_sdk_ecom_current-cart 1.0.208 → 1.0.210

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.
@@ -1842,6 +1842,14 @@ interface CalculatedLineItem {
1842
1842
  * @maxSize 1
1843
1843
  */
1844
1844
  cyclePriceOverrides?: CalculatedCyclePriceOverride[];
1845
+ /**
1846
+ * Calculated amounts for each item in the bundle.
1847
+ *
1848
+ * Returned only for a bundle line item.
1849
+ * @internal
1850
+ * @maxSize 10
1851
+ */
1852
+ bundledItems?: CalculatedBundledItem[];
1845
1853
  }
1846
1854
  interface LineItemPricesData {
1847
1855
  /** Total price after discounts, tax, and modifiers. */
@@ -2192,6 +2200,40 @@ interface CalculatedCyclePriceOverride {
2192
2200
  */
2193
2201
  price?: MultiCurrencyPrice;
2194
2202
  }
2203
+ /**
2204
+ * Calculated amounts for one bundled item, for all of its units in the line item.
2205
+ * Has the fields of `CalculatedLineItem` except `paymentOption`, which is always the bundle line item's, plus `totalQuantity`.
2206
+ */
2207
+ interface CalculatedBundledItem {
2208
+ /**
2209
+ * Bundled item ID.
2210
+ * @format GUID
2211
+ */
2212
+ bundledItemId?: string;
2213
+ /**
2214
+ * Price breakdown for this item. Totals cover all of the item's units in the line item.
2215
+ * Per-unit amounts are rounded, so they may not multiply back to the totals.
2216
+ */
2217
+ pricesBreakdown?: LineItemPricesData;
2218
+ /** Address used to calculate tax for this item. */
2219
+ taxableAddress?: TaxableAddress;
2220
+ /**
2221
+ * Calculated modifiers of this item.
2222
+ * @maxSize 625
2223
+ */
2224
+ modifiers?: CalculatedItemModifier[];
2225
+ /**
2226
+ * This item's part of the bundle line item's `cyclePriceOverrides`, in the same order.
2227
+ * @readonly
2228
+ * @maxSize 1
2229
+ */
2230
+ cyclePriceOverrides?: CalculatedCyclePriceOverride[];
2231
+ /**
2232
+ * Number of units of this item in the line item. Equals its quantity in one bundle times the number of bundles.
2233
+ * @max 100000
2234
+ */
2235
+ totalQuantity?: number;
2236
+ }
2195
2237
  interface PriceSummary {
2196
2238
  /** Subtotal of all line items, before discounts and before tax. */
2197
2239
  subtotal?: MultiCurrencyPrice;
@@ -2575,6 +2617,16 @@ interface ApplicableLineItems {
2575
2617
  * @maxLength 100
2576
2618
  */
2577
2619
  lineItemIds?: string[];
2620
+ /**
2621
+ * Bundled items that the delivery solution is for. Their bundle line items are in `lineItemIds`.
2622
+ *
2623
+ * Returned only when the delivery solution is for a bundle line item.
2624
+ * @internal
2625
+ * @format GUID
2626
+ * @maxSize 3000
2627
+ * @readonly
2628
+ */
2629
+ bundledItemIds?: string[];
2578
2630
  }
2579
2631
  interface CarrierServiceOption {
2580
2632
  /**
@@ -2696,13 +2748,10 @@ interface V1Coupon extends V1CouponDiscountValueOneOf {
2696
2748
  /**
2697
2749
  * Percentage the coupon took off the price it applied to. For example, `10.5` for 10.5%.
2698
2750
  *
2699
- * The price it applied to depends on the applied discount's `discountType`: the line items' price for
2700
- * `SPECIFIC_ITEMS`, the subtotal for `GLOBAL`. In each case it's the price after the discounts applied
2701
- * before this one.
2702
- *
2703
- * On an entry supplied in the request's `appliedDiscounts` without `amount`, the discount is calculated
2704
- * again at this percentage. An amount, when present, wins.
2705
- * @internal
2751
+ * The price it applied to depends on the applied discount's `discountType`. For `SPECIFIC_ITEMS`, it's the
2752
+ * line items' price after the discounts applied before this one. For `GLOBAL`, it's the subtotal after the
2753
+ * line item discounts. An order discount applied before the coupon, such as an automatic discount on the
2754
+ * whole order, isn't taken off first.
2706
2755
  * @format DECIMAL_VALUE
2707
2756
  * @decimalValue options { gt:0, lte:100, maxScale:2 }
2708
2757
  */
@@ -2726,7 +2775,6 @@ interface V1Coupon extends V1CouponDiscountValueOneOf {
2726
2775
  * the total amount the coupon took off, whatever the type.
2727
2776
  *
2728
2777
  * Not returned for a free-shipping coupon.
2729
- * @internal
2730
2778
  */
2731
2779
  discountValueType?: DiscountValueTypeWithLiterals;
2732
2780
  }
@@ -2735,13 +2783,10 @@ interface V1CouponDiscountValueOneOf {
2735
2783
  /**
2736
2784
  * Percentage the coupon took off the price it applied to. For example, `10.5` for 10.5%.
2737
2785
  *
2738
- * The price it applied to depends on the applied discount's `discountType`: the line items' price for
2739
- * `SPECIFIC_ITEMS`, the subtotal for `GLOBAL`. In each case it's the price after the discounts applied
2740
- * before this one.
2741
- *
2742
- * On an entry supplied in the request's `appliedDiscounts` without `amount`, the discount is calculated
2743
- * again at this percentage. An amount, when present, wins.
2744
- * @internal
2786
+ * The price it applied to depends on the applied discount's `discountType`. For `SPECIFIC_ITEMS`, it's the
2787
+ * line items' price after the discounts applied before this one. For `GLOBAL`, it's the subtotal after the
2788
+ * line item discounts. An order discount applied before the coupon, such as an automatic discount on the
2789
+ * whole order, isn't taken off first.
2745
2790
  * @format DECIMAL_VALUE
2746
2791
  * @decimalValue options { gt:0, lte:100, maxScale:2 }
2747
2792
  */
@@ -2752,18 +2797,19 @@ declare enum DiscountValueType {
2752
2797
  /**
2753
2798
  * The discount takes a percentage off the price it applies to.
2754
2799
  * @documentationMaturity preview
2755
- * @internal
2756
2800
  */
2757
2801
  PERCENTAGE = "PERCENTAGE",
2758
2802
  /**
2759
2803
  * The discount takes a fixed amount off the price it applies to.
2804
+ *
2805
+ * Also returned for a discount that sets a fixed price, for a buy X for an amount discount, and for a buy X
2806
+ * get Y coupon. For each of these, the coupon's or discount rule's `amount` holds what the discount took off.
2760
2807
  * @documentationMaturity preview
2761
- * @internal
2762
2808
  */
2763
2809
  FIXED_AMOUNT = "FIXED_AMOUNT"
2764
2810
  }
2765
2811
  /** @enumType */
2766
- type DiscountValueTypeWithLiterals = DiscountValueType;
2812
+ type DiscountValueTypeWithLiterals = DiscountValueType | 'PERCENTAGE' | 'FIXED_AMOUNT';
2767
2813
  interface V1MerchantDiscount {
2768
2814
  /** Discount value. */
2769
2815
  amount?: MultiCurrencyPrice;
@@ -2781,10 +2827,6 @@ interface V1DiscountRule extends V1DiscountRuleDiscountValueOneOf {
2781
2827
  * The price it applied to depends on the applied discount's `discountType`: the line items' price for
2782
2828
  * `SPECIFIC_ITEMS`, the subtotal for `GLOBAL`. In each case it's the price after the discounts applied
2783
2829
  * before this one.
2784
- *
2785
- * On an entry supplied in the request's `appliedDiscounts` without `amount`, the discount is calculated
2786
- * again at this percentage. An amount, when present, wins.
2787
- * @internal
2788
2830
  * @format DECIMAL_VALUE
2789
2831
  * @decimalValue options { gt:0, lte:100, maxScale:2 }
2790
2832
  */
@@ -2803,7 +2845,6 @@ interface V1DiscountRule extends V1DiscountRuleDiscountValueOneOf {
2803
2845
  * `amount` holds the total amount the discount rule took off, whatever the type.
2804
2846
  *
2805
2847
  * Not returned for a free-shipping discount rule.
2806
- * @internal
2807
2848
  */
2808
2849
  discountValueType?: DiscountValueTypeWithLiterals;
2809
2850
  }
@@ -2815,10 +2856,6 @@ interface V1DiscountRuleDiscountValueOneOf {
2815
2856
  * The price it applied to depends on the applied discount's `discountType`: the line items' price for
2816
2857
  * `SPECIFIC_ITEMS`, the subtotal for `GLOBAL`. In each case it's the price after the discounts applied
2817
2858
  * before this one.
2818
- *
2819
- * On an entry supplied in the request's `appliedDiscounts` without `amount`, the discount is calculated
2820
- * again at this percentage. An amount, when present, wins.
2821
- * @internal
2822
2859
  * @format DECIMAL_VALUE
2823
2860
  * @decimalValue options { gt:0, lte:100, maxScale:2 }
2824
2861
  */
@@ -2850,7 +2887,32 @@ interface LineItemDiscount {
2850
2887
  * Number of the line item's units the discount was applied to.
2851
2888
  *
2852
2889
  * Returned only for a `SPECIFIC_ITEMS` discount.
2890
+ * @min 1
2891
+ * @max 100000
2892
+ */
2893
+ discountedQuantity?: number | null;
2894
+ /**
2895
+ * This discount's part for each item in the bundle. The parts add up to `totalDiscountAmount`.
2896
+ *
2897
+ * Returned only for a bundle line item.
2853
2898
  * @internal
2899
+ * @maxSize 10
2900
+ */
2901
+ bundledItems?: BundledItemDiscount[];
2902
+ }
2903
+ /** One bundled item's part of a line item's discount. */
2904
+ interface BundledItemDiscount {
2905
+ /**
2906
+ * Bundled item ID.
2907
+ * @format GUID
2908
+ */
2909
+ bundledItemId?: string;
2910
+ /** This item's part of the discount amount. */
2911
+ totalDiscountAmount?: MultiCurrencyPrice;
2912
+ /**
2913
+ * Number of this item's units the discount was applied to.
2914
+ *
2915
+ * Returned only for a `SPECIFIC_ITEMS` discount.
2854
2916
  * @min 1
2855
2917
  * @max 100000
2856
2918
  */
@@ -2884,6 +2946,30 @@ interface ItemCombinationLineItem {
2884
2946
  * @max 100000
2885
2947
  */
2886
2948
  quantity?: number;
2949
+ /**
2950
+ * This entry's part for each item in the bundle. The parts' discount amounts add up to `discountAmount`.
2951
+ *
2952
+ * Returned only for a bundle line item.
2953
+ * @internal
2954
+ * @maxSize 10
2955
+ */
2956
+ bundledItems?: ItemCombinationBundledItem[];
2957
+ }
2958
+ /** One bundled item's part of a line item's entry in an item combination. */
2959
+ interface ItemCombinationBundledItem {
2960
+ /**
2961
+ * Bundled item ID.
2962
+ * @format GUID
2963
+ */
2964
+ bundledItemId?: string;
2965
+ /** Total discount amount for all units of this item in this combination. */
2966
+ discountAmount?: MultiCurrencyPrice;
2967
+ /**
2968
+ * Number of units of this item in a single combination. Equals its quantity in one bundle times the entry's `quantity`.
2969
+ * @min 1
2970
+ * @max 100000
2971
+ */
2972
+ quantity?: number;
2887
2973
  }
2888
2974
  interface CalculationErrors extends CalculationErrorsShippingCalculationErrorOneOf {
2889
2975
  /** General shipping calculation error. */
@@ -3520,6 +3606,16 @@ interface AdditionalFee {
3520
3606
  * @readonly
3521
3607
  */
3522
3608
  crossBorderAdjustment?: CrossBorderPriceAdjustment;
3609
+ /**
3610
+ * IDs of the bundled items this fee applies to. Their bundle line items are in `lineItemIds`.
3611
+ *
3612
+ * Returned only when the fee applies to specific items in a bundle line item, such as a bundled item's own catalog fee.
3613
+ * @internal
3614
+ * @format GUID
3615
+ * @maxSize 100
3616
+ * @readonly
3617
+ */
3618
+ bundledItemIds?: string[];
3523
3619
  }
3524
3620
  declare enum AdditionalFeeSource {
3525
3621
  UNKNOWN_ADDITIONAL_FEE_SOURCE = "UNKNOWN_ADDITIONAL_FEE_SOURCE",
@@ -4502,7 +4598,7 @@ declare function updateCurrentCartLineItemQuantity(lineItems: LineItemQuantityUp
4502
4598
  * @replacedBy wix.ecom.cart.v2.CurrentCartService.EstimateCurrentCart
4503
4599
  * @targetRemovalDate 2027-02-01
4504
4600
  */
4505
- declare function estimateCurrentCartTotals(options?: EstimateCurrentCartTotalsOptions): Promise<NonNullablePaths<EstimateTotalsResponse, `cart.lineItems` | `cart.lineItems.${number}.quantity` | `cart.lineItems.${number}.catalogReference.catalogItemId` | `cart.lineItems.${number}.catalogReference.appId` | `cart.lineItems.${number}.productName.original` | `cart.lineItems.${number}.price.amount` | `cart.lineItems.${number}.price.convertedAmount` | `cart.lineItems.${number}.price.formattedAmount` | `cart.lineItems.${number}.price.formattedConvertedAmount` | `cart.lineItems.${number}.availability.status` | `cart.lineItems.${number}.physicalProperties.shippable` | `cart.lineItems.${number}.physicalProperties.productDimensions.unit` | `cart.lineItems.${number}.itemType.preset` | `cart.lineItems.${number}.itemType.custom` | `cart.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.frequency` | `cart.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.autoRenewal` | `cart.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation` | `cart.lineItems.${number}.subscriptionOptionInfo.title.original` | `cart.lineItems.${number}.subscriptionOptionInfo.description.original` | `cart.lineItems.${number}.paymentOption` | `cart.lineItems.${number}.priceDescription.original` | `cart.lineItems.${number}.selectedMembership._id` | `cart.lineItems.${number}.selectedMembership.appId` | `cart.lineItems.${number}.customLineItem` | `cart.lineItems.${number}.priceUndetermined` | `cart.lineItems.${number}.fixedQuantity` | `cart.lineItems.${number}.catalogOverrideFields.paymentOption.value` | `cart.lineItems.${number}.savePaymentMethod` | `cart.lineItems.${number}.taxableAddress.addressType` | `cart.lineItems.${number}.membersOnly` | `cart.buyerInfo.visitorId` | `cart.buyerInfo.memberId` | `cart.buyerInfo.userId` | `cart.currency` | `cart.conversionCurrency` | `cart.weightUnit` | `cart.appliedDiscounts` | `cart.appliedDiscounts.${number}.coupon._id` | `cart.appliedDiscounts.${number}.coupon.code` | `cart.contactInfo.address.streetAddress.number` | `cart.contactInfo.address.streetAddress.name` | `cart.contactInfo.contactDetails.vatId._id` | `cart.contactInfo.contactDetails.vatId.type` | `cart.selectedShippingOption.code` | `cart.paymentCurrency` | `calculatedLineItems` | `calculatedLineItems.${number}.lineItemId` | `calculatedLineItems.${number}.pricesBreakdown.totalPriceAfterTax.amount` | `calculatedLineItems.${number}.pricesBreakdown.totalPriceAfterTax.convertedAmount` | `calculatedLineItems.${number}.pricesBreakdown.totalPriceAfterTax.formattedAmount` | `calculatedLineItems.${number}.pricesBreakdown.totalPriceAfterTax.formattedConvertedAmount` | `calculatedLineItems.${number}.pricesBreakdown.taxDetails.taxRate` | `calculatedLineItems.${number}.paymentOption` | `calculatedLineItems.${number}.taxableAddress.addressType` | `priceSummary.subtotal.amount` | `priceSummary.subtotal.convertedAmount` | `priceSummary.subtotal.formattedAmount` | `priceSummary.subtotal.formattedConvertedAmount` | `giftCard._id` | `giftCard.obfuscatedCode` | `giftCard.amount.amount` | `giftCard.amount.convertedAmount` | `giftCard.amount.formattedAmount` | `giftCard.amount.formattedConvertedAmount` | `giftCard.appId` | `taxSummary.taxableAmount.amount` | `taxSummary.taxableAmount.convertedAmount` | `taxSummary.taxableAmount.formattedAmount` | `taxSummary.taxableAmount.formattedConvertedAmount` | `taxSummary.calculationDetails.manualRateReason` | `taxSummary.calculationDetails.autoTaxFallbackDetails.fallbackReason` | `taxSummary.calculationDetails.autoTaxFallbackDetails.error.code` | `taxSummary.calculationDetails.autoTaxFallbackDetails.error.description` | `taxSummary.calculationDetails.rateType` | `shippingInfo.region._id` | `shippingInfo.region.name` | `shippingInfo.selectedCarrierServiceOption.code` | `shippingInfo.selectedCarrierServiceOption.title` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.streetAddress.number` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.streetAddress.name` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.businessLocation` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.pickupMethod` | `shippingInfo.selectedCarrierServiceOption.cost.totalPriceAfterTax.amount` | `shippingInfo.selectedCarrierServiceOption.cost.totalPriceAfterTax.convertedAmount` | `shippingInfo.selectedCarrierServiceOption.cost.totalPriceAfterTax.formattedAmount` | `shippingInfo.selectedCarrierServiceOption.cost.totalPriceAfterTax.formattedConvertedAmount` | `shippingInfo.selectedCarrierServiceOption.cost.taxDetails.taxRate` | `shippingInfo.selectedCarrierServiceOption.cost.taxDetails.rateBreakdown` | `shippingInfo.selectedCarrierServiceOption.cost.taxDetails.rateBreakdown.${number}.name` | `shippingInfo.selectedCarrierServiceOption.cost.taxDetails.rateBreakdown.${number}.rate` | `shippingInfo.selectedCarrierServiceOption.cost.taxDetails.taxBreakdown` | `shippingInfo.selectedCarrierServiceOption.cost.taxDetails.taxBreakdown.${number}.jurisdictionType` | `shippingInfo.selectedCarrierServiceOption.requestedShippingOption` | `shippingInfo.selectedCarrierServiceOption.otherCharges` | `shippingInfo.selectedCarrierServiceOption.otherCharges.${number}.type` | `shippingInfo.selectedCarrierServiceOption.deliveryAllocations` | `shippingInfo.selectedCarrierServiceOption.deliveryAllocations.${number}.deliveryCarrier.code` | `shippingInfo.carrierServiceOptions` | `shippingInfo.carrierServiceOptions.${number}.carrierId` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.amount.amount` | `appliedDiscounts.${number}.coupon.amount.convertedAmount` | `appliedDiscounts.${number}.coupon.amount.formattedAmount` | `appliedDiscounts.${number}.coupon.amount.formattedConvertedAmount` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `calculationErrors.generalShippingCalculationError.applicationError.code` | `calculationErrors.generalShippingCalculationError.applicationError.description` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `calculationErrors.carrierErrors.errors` | `calculationErrors.carrierErrors.errors.${number}.carrierId` | `calculationErrors.orderValidationErrors` | `weightUnit` | `currency` | `payNow.subtotal.amount` | `payNow.subtotal.convertedAmount` | `payNow.subtotal.formattedAmount` | `payNow.subtotal.formattedConvertedAmount` | `payLater.subtotal.amount` | `payLater.subtotal.convertedAmount` | `payLater.subtotal.formattedAmount` | `payLater.subtotal.formattedConvertedAmount` | `membershipOptions.eligibleMemberships` | `membershipOptions.eligibleMemberships.${number}._id` | `membershipOptions.eligibleMemberships.${number}.appId` | `membershipOptions.eligibleMemberships.${number}.name.original` | `membershipOptions.eligibleMemberships.${number}.credits.total` | `membershipOptions.eligibleMemberships.${number}.credits.remaining` | `membershipOptions.eligibleMemberships.${number}.credits.balanceType` | `membershipOptions.invalidMemberships` | `membershipOptions.invalidMemberships.${number}.reason` | `membershipOptions.selectedMemberships` | `membershipOptions.selectedMemberships.${number}._id` | `membershipOptions.selectedMemberships.${number}.appId` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}.price.amount` | `additionalFees.${number}.price.convertedAmount` | `additionalFees.${number}.price.formattedAmount` | `additionalFees.${number}.price.formattedConvertedAmount` | `additionalFees.${number}.taxDetails.taxRate` | `additionalFees.${number}.source` | `additionalFees.${number}.taxableAddress.addressType` | `violations` | `violations.${number}.severity` | `violations.${number}.target.other.name` | `violations.${number}.target.lineItem.name`, 6>>;
4601
+ declare function estimateCurrentCartTotals(options?: EstimateCurrentCartTotalsOptions): Promise<NonNullablePaths<EstimateTotalsResponse, `cart.lineItems` | `cart.lineItems.${number}.quantity` | `cart.lineItems.${number}.catalogReference.catalogItemId` | `cart.lineItems.${number}.catalogReference.appId` | `cart.lineItems.${number}.productName.original` | `cart.lineItems.${number}.price.amount` | `cart.lineItems.${number}.price.convertedAmount` | `cart.lineItems.${number}.price.formattedAmount` | `cart.lineItems.${number}.price.formattedConvertedAmount` | `cart.lineItems.${number}.availability.status` | `cart.lineItems.${number}.physicalProperties.shippable` | `cart.lineItems.${number}.physicalProperties.productDimensions.unit` | `cart.lineItems.${number}.itemType.preset` | `cart.lineItems.${number}.itemType.custom` | `cart.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.frequency` | `cart.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.autoRenewal` | `cart.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation` | `cart.lineItems.${number}.subscriptionOptionInfo.title.original` | `cart.lineItems.${number}.subscriptionOptionInfo.description.original` | `cart.lineItems.${number}.paymentOption` | `cart.lineItems.${number}.priceDescription.original` | `cart.lineItems.${number}.selectedMembership._id` | `cart.lineItems.${number}.selectedMembership.appId` | `cart.lineItems.${number}.customLineItem` | `cart.lineItems.${number}.priceUndetermined` | `cart.lineItems.${number}.fixedQuantity` | `cart.lineItems.${number}.catalogOverrideFields.paymentOption.value` | `cart.lineItems.${number}.savePaymentMethod` | `cart.lineItems.${number}.taxableAddress.addressType` | `cart.lineItems.${number}.membersOnly` | `cart.buyerInfo.visitorId` | `cart.buyerInfo.memberId` | `cart.buyerInfo.userId` | `cart.currency` | `cart.conversionCurrency` | `cart.weightUnit` | `cart.appliedDiscounts` | `cart.appliedDiscounts.${number}.coupon._id` | `cart.appliedDiscounts.${number}.coupon.code` | `cart.contactInfo.address.streetAddress.number` | `cart.contactInfo.address.streetAddress.name` | `cart.contactInfo.contactDetails.vatId._id` | `cart.contactInfo.contactDetails.vatId.type` | `cart.selectedShippingOption.code` | `cart.paymentCurrency` | `calculatedLineItems` | `calculatedLineItems.${number}.lineItemId` | `calculatedLineItems.${number}.pricesBreakdown.totalPriceAfterTax.amount` | `calculatedLineItems.${number}.pricesBreakdown.totalPriceAfterTax.convertedAmount` | `calculatedLineItems.${number}.pricesBreakdown.totalPriceAfterTax.formattedAmount` | `calculatedLineItems.${number}.pricesBreakdown.totalPriceAfterTax.formattedConvertedAmount` | `calculatedLineItems.${number}.pricesBreakdown.taxDetails.taxRate` | `calculatedLineItems.${number}.paymentOption` | `calculatedLineItems.${number}.taxableAddress.addressType` | `priceSummary.subtotal.amount` | `priceSummary.subtotal.convertedAmount` | `priceSummary.subtotal.formattedAmount` | `priceSummary.subtotal.formattedConvertedAmount` | `giftCard._id` | `giftCard.obfuscatedCode` | `giftCard.amount.amount` | `giftCard.amount.convertedAmount` | `giftCard.amount.formattedAmount` | `giftCard.amount.formattedConvertedAmount` | `giftCard.appId` | `taxSummary.taxableAmount.amount` | `taxSummary.taxableAmount.convertedAmount` | `taxSummary.taxableAmount.formattedAmount` | `taxSummary.taxableAmount.formattedConvertedAmount` | `taxSummary.calculationDetails.manualRateReason` | `taxSummary.calculationDetails.autoTaxFallbackDetails.fallbackReason` | `taxSummary.calculationDetails.autoTaxFallbackDetails.error.code` | `taxSummary.calculationDetails.autoTaxFallbackDetails.error.description` | `taxSummary.calculationDetails.rateType` | `shippingInfo.region._id` | `shippingInfo.region.name` | `shippingInfo.selectedCarrierServiceOption.code` | `shippingInfo.selectedCarrierServiceOption.title` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.streetAddress.number` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address.streetAddress.name` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.businessLocation` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.pickupMethod` | `shippingInfo.selectedCarrierServiceOption.cost.totalPriceAfterTax.amount` | `shippingInfo.selectedCarrierServiceOption.cost.totalPriceAfterTax.convertedAmount` | `shippingInfo.selectedCarrierServiceOption.cost.totalPriceAfterTax.formattedAmount` | `shippingInfo.selectedCarrierServiceOption.cost.totalPriceAfterTax.formattedConvertedAmount` | `shippingInfo.selectedCarrierServiceOption.cost.taxDetails.taxRate` | `shippingInfo.selectedCarrierServiceOption.cost.taxDetails.rateBreakdown` | `shippingInfo.selectedCarrierServiceOption.cost.taxDetails.rateBreakdown.${number}.name` | `shippingInfo.selectedCarrierServiceOption.cost.taxDetails.rateBreakdown.${number}.rate` | `shippingInfo.selectedCarrierServiceOption.cost.taxDetails.taxBreakdown` | `shippingInfo.selectedCarrierServiceOption.cost.taxDetails.taxBreakdown.${number}.jurisdictionType` | `shippingInfo.selectedCarrierServiceOption.requestedShippingOption` | `shippingInfo.selectedCarrierServiceOption.otherCharges` | `shippingInfo.selectedCarrierServiceOption.otherCharges.${number}.type` | `shippingInfo.selectedCarrierServiceOption.deliveryAllocations` | `shippingInfo.selectedCarrierServiceOption.deliveryAllocations.${number}.deliveryCarrier.code` | `shippingInfo.carrierServiceOptions` | `shippingInfo.carrierServiceOptions.${number}.carrierId` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon.percentage` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.amount.amount` | `appliedDiscounts.${number}.coupon.amount.convertedAmount` | `appliedDiscounts.${number}.coupon.amount.formattedAmount` | `appliedDiscounts.${number}.coupon.amount.formattedConvertedAmount` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.coupon.discountValueType` | `appliedDiscounts.${number}.discountRule.percentage` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountRule.discountValueType` | `appliedDiscounts.${number}.discountType` | `calculationErrors.generalShippingCalculationError.applicationError.code` | `calculationErrors.generalShippingCalculationError.applicationError.description` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `calculationErrors.carrierErrors.errors` | `calculationErrors.carrierErrors.errors.${number}.carrierId` | `calculationErrors.orderValidationErrors` | `weightUnit` | `currency` | `payNow.subtotal.amount` | `payNow.subtotal.convertedAmount` | `payNow.subtotal.formattedAmount` | `payNow.subtotal.formattedConvertedAmount` | `payLater.subtotal.amount` | `payLater.subtotal.convertedAmount` | `payLater.subtotal.formattedAmount` | `payLater.subtotal.formattedConvertedAmount` | `membershipOptions.eligibleMemberships` | `membershipOptions.eligibleMemberships.${number}._id` | `membershipOptions.eligibleMemberships.${number}.appId` | `membershipOptions.eligibleMemberships.${number}.name.original` | `membershipOptions.eligibleMemberships.${number}.credits.total` | `membershipOptions.eligibleMemberships.${number}.credits.remaining` | `membershipOptions.eligibleMemberships.${number}.credits.balanceType` | `membershipOptions.invalidMemberships` | `membershipOptions.invalidMemberships.${number}.reason` | `membershipOptions.selectedMemberships` | `membershipOptions.selectedMemberships.${number}._id` | `membershipOptions.selectedMemberships.${number}.appId` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}.price.amount` | `additionalFees.${number}.price.convertedAmount` | `additionalFees.${number}.price.formattedAmount` | `additionalFees.${number}.price.formattedConvertedAmount` | `additionalFees.${number}.taxDetails.taxRate` | `additionalFees.${number}.source` | `additionalFees.${number}.taxableAddress.addressType` | `violations` | `violations.${number}.severity` | `violations.${number}.target.other.name` | `violations.${number}.target.lineItem.name`, 6>>;
4506
4602
  interface EstimateCurrentCartTotalsOptions {
4507
4603
  /**
4508
4604
  * Selected shipping option
@@ -4550,4 +4646,4 @@ interface EstimateCurrentCartTotalsOptions {
4550
4646
  */
4551
4647
  declare function deleteCurrentCart(): Promise<void>;
4552
4648
 
4553
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCartRequest, type AddToCartResponse, type AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartOptions, type AddToCurrentCartRequest, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, BaseRateSource, type BaseRateSourceWithLiterals, type Benefit, type BenefitQuotaOneOf, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedCyclePriceOverride, type CalculatedItemModifier, type CalculatedLineItem, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartCreatedEnvelope, type CartDeletedEnvelope, type CartDiscount, type CartDiscountDiscountSourceOneOf, type CartUpdatedEnvelope, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type Coupon, type CoveredLineItem, type CreateCartRequest, type CreateCartResponse, type CreateCheckoutFromCurrentCartOptions, type CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest, type CreateCheckoutResponse, type CrossBorderPriceAdjustment, type CustomLineItem, type CyclePriceOverride, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, DiscountValueType, type DiscountValueTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EstimateCurrentCartTotalsOptions, type EstimateCurrentCartTotalsRequest, type EstimateTotalsRequest, type EstimateTotalsResponse, type EventMetadata, type ExistingMembership, type ExtendedFields, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse, type GetCartRequest, type GetCartResponse, type GetCurrentCartApplicationErrors, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardCalculationError, type Group, type HostSelectedMembership, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LimitedQuota, LimitedQuotaType, type LimitedQuotaTypeWithLiterals, type LineItem, type LineItemAdded, type LineItemCoverage, type LineItemDiscount, type LineItemPricesData, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type PurchasablePlan, QuotaType, type QuotaTypeWithLiterals, RateType, type RateTypeWithLiterals, type Region, type RemoveBusinessLocationRequest, type RemoveBusinessLocationResponse, type RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest, type RemoveLineItemsResponse, RepriceStatus, type RepriceStatusWithLiterals, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type SelectedShippingOption, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxCalculatorAttribution, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartLineItemQuantityRequest, type UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type V1Coupon, type V1CouponDiscountValueOneOf, type V1DiscountRule, type V1DiscountRuleDiscountValueOneOf, type V1DiscountRuleName, type V1ItemModifier, type V1Membership, type V1MerchantDiscount, type V1ModifierGroup, type ValidatedExistingMemberships, type ValidatedPurchasablePlans, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCurrentCart, createCheckoutFromCurrentCart, deleteCurrentCart, estimateCurrentCartTotals, getCurrentCart, onCartCreated, onCartDeleted, onCartUpdated, removeCouponFromCurrentCart, removeLineItemsFromCurrentCart, updateCurrentCart, updateCurrentCartLineItemQuantity };
4649
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCartRequest, type AddToCartResponse, type AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartOptions, type AddToCurrentCartRequest, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, BaseRateSource, type BaseRateSourceWithLiterals, type Benefit, type BenefitQuotaOneOf, type BillingSettings, type BundledItemDiscount, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedBundledItem, type CalculatedCyclePriceOverride, type CalculatedItemModifier, type CalculatedLineItem, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartCreatedEnvelope, type CartDeletedEnvelope, type CartDiscount, type CartDiscountDiscountSourceOneOf, type CartUpdatedEnvelope, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type Coupon, type CoveredLineItem, type CreateCartRequest, type CreateCartResponse, type CreateCheckoutFromCurrentCartOptions, type CreateCheckoutFromCurrentCartRequest, type CreateCheckoutRequest, type CreateCheckoutResponse, type CrossBorderPriceAdjustment, type CustomLineItem, type CyclePriceOverride, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, DiscountValueType, type DiscountValueTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EstimateCurrentCartTotalsOptions, type EstimateCurrentCartTotalsRequest, type EstimateTotalsRequest, type EstimateTotalsResponse, type EventMetadata, type ExistingMembership, type ExtendedFields, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse, type GetCartRequest, type GetCartResponse, type GetCurrentCartApplicationErrors, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardCalculationError, type Group, type HostSelectedMembership, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationBundledItem, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LimitedQuota, LimitedQuotaType, type LimitedQuotaTypeWithLiterals, type LineItem, type LineItemAdded, type LineItemCoverage, type LineItemDiscount, type LineItemPricesData, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type PurchasablePlan, QuotaType, type QuotaTypeWithLiterals, RateType, type RateTypeWithLiterals, type Region, type RemoveBusinessLocationRequest, type RemoveBusinessLocationResponse, type RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest, type RemoveLineItemsResponse, RepriceStatus, type RepriceStatusWithLiterals, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type SelectedShippingOption, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxCalculatorAttribution, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartLineItemQuantityRequest, type UpdateCurrentCartOptions, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type V1Coupon, type V1CouponDiscountValueOneOf, type V1DiscountRule, type V1DiscountRuleDiscountValueOneOf, type V1DiscountRuleName, type V1ItemModifier, type V1Membership, type V1MerchantDiscount, type V1ModifierGroup, type ValidatedExistingMemberships, type ValidatedPurchasablePlans, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCurrentCart, createCheckoutFromCurrentCart, deleteCurrentCart, estimateCurrentCartTotals, getCurrentCart, onCartCreated, onCartDeleted, onCartUpdated, removeCouponFromCurrentCart, removeLineItemsFromCurrentCart, updateCurrentCart, updateCurrentCartLineItemQuantity };
@@ -1899,6 +1899,14 @@ interface CalculatedLineItem {
1899
1899
  * @maxSize 1
1900
1900
  */
1901
1901
  cyclePriceOverrides?: CalculatedCyclePriceOverride[];
1902
+ /**
1903
+ * Calculated amounts for each item in the bundle.
1904
+ *
1905
+ * Returned only for a bundle line item.
1906
+ * @internal
1907
+ * @maxSize 10
1908
+ */
1909
+ bundledItems?: CalculatedBundledItem[];
1902
1910
  }
1903
1911
  interface LineItemPricesData {
1904
1912
  /** Total price after discounts, tax, and modifiers. */
@@ -2249,6 +2257,40 @@ interface CalculatedCyclePriceOverride {
2249
2257
  */
2250
2258
  price?: MultiCurrencyPrice;
2251
2259
  }
2260
+ /**
2261
+ * Calculated amounts for one bundled item, for all of its units in the line item.
2262
+ * Has the fields of `CalculatedLineItem` except `paymentOption`, which is always the bundle line item's, plus `totalQuantity`.
2263
+ */
2264
+ interface CalculatedBundledItem {
2265
+ /**
2266
+ * Bundled item ID.
2267
+ * @format GUID
2268
+ */
2269
+ bundledItemId?: string;
2270
+ /**
2271
+ * Price breakdown for this item. Totals cover all of the item's units in the line item.
2272
+ * Per-unit amounts are rounded, so they may not multiply back to the totals.
2273
+ */
2274
+ pricesBreakdown?: LineItemPricesData;
2275
+ /** Address used to calculate tax for this item. */
2276
+ taxableAddress?: TaxableAddress;
2277
+ /**
2278
+ * Calculated modifiers of this item.
2279
+ * @maxSize 625
2280
+ */
2281
+ modifiers?: CalculatedItemModifier[];
2282
+ /**
2283
+ * This item's part of the bundle line item's `cyclePriceOverrides`, in the same order.
2284
+ * @readonly
2285
+ * @maxSize 1
2286
+ */
2287
+ cyclePriceOverrides?: CalculatedCyclePriceOverride[];
2288
+ /**
2289
+ * Number of units of this item in the line item. Equals its quantity in one bundle times the number of bundles.
2290
+ * @max 100000
2291
+ */
2292
+ totalQuantity?: number;
2293
+ }
2252
2294
  interface PriceSummary {
2253
2295
  /** Subtotal of all line items, before discounts and before tax. */
2254
2296
  subtotal?: MultiCurrencyPrice;
@@ -2632,6 +2674,16 @@ interface ApplicableLineItems {
2632
2674
  * @maxLength 100
2633
2675
  */
2634
2676
  lineItemIds?: string[];
2677
+ /**
2678
+ * Bundled items that the delivery solution is for. Their bundle line items are in `lineItemIds`.
2679
+ *
2680
+ * Returned only when the delivery solution is for a bundle line item.
2681
+ * @internal
2682
+ * @format GUID
2683
+ * @maxSize 3000
2684
+ * @readonly
2685
+ */
2686
+ bundledItemIds?: string[];
2635
2687
  }
2636
2688
  interface CarrierServiceOption {
2637
2689
  /**
@@ -2753,13 +2805,10 @@ interface V1Coupon extends V1CouponDiscountValueOneOf {
2753
2805
  /**
2754
2806
  * Percentage the coupon took off the price it applied to. For example, `10.5` for 10.5%.
2755
2807
  *
2756
- * The price it applied to depends on the applied discount's `discountType`: the line items' price for
2757
- * `SPECIFIC_ITEMS`, the subtotal for `GLOBAL`. In each case it's the price after the discounts applied
2758
- * before this one.
2759
- *
2760
- * On an entry supplied in the request's `appliedDiscounts` without `amount`, the discount is calculated
2761
- * again at this percentage. An amount, when present, wins.
2762
- * @internal
2808
+ * The price it applied to depends on the applied discount's `discountType`. For `SPECIFIC_ITEMS`, it's the
2809
+ * line items' price after the discounts applied before this one. For `GLOBAL`, it's the subtotal after the
2810
+ * line item discounts. An order discount applied before the coupon, such as an automatic discount on the
2811
+ * whole order, isn't taken off first.
2763
2812
  * @format DECIMAL_VALUE
2764
2813
  * @decimalValue options { gt:0, lte:100, maxScale:2 }
2765
2814
  */
@@ -2783,7 +2832,6 @@ interface V1Coupon extends V1CouponDiscountValueOneOf {
2783
2832
  * the total amount the coupon took off, whatever the type.
2784
2833
  *
2785
2834
  * Not returned for a free-shipping coupon.
2786
- * @internal
2787
2835
  */
2788
2836
  discountValueType?: DiscountValueTypeWithLiterals;
2789
2837
  }
@@ -2792,13 +2840,10 @@ interface V1CouponDiscountValueOneOf {
2792
2840
  /**
2793
2841
  * Percentage the coupon took off the price it applied to. For example, `10.5` for 10.5%.
2794
2842
  *
2795
- * The price it applied to depends on the applied discount's `discountType`: the line items' price for
2796
- * `SPECIFIC_ITEMS`, the subtotal for `GLOBAL`. In each case it's the price after the discounts applied
2797
- * before this one.
2798
- *
2799
- * On an entry supplied in the request's `appliedDiscounts` without `amount`, the discount is calculated
2800
- * again at this percentage. An amount, when present, wins.
2801
- * @internal
2843
+ * The price it applied to depends on the applied discount's `discountType`. For `SPECIFIC_ITEMS`, it's the
2844
+ * line items' price after the discounts applied before this one. For `GLOBAL`, it's the subtotal after the
2845
+ * line item discounts. An order discount applied before the coupon, such as an automatic discount on the
2846
+ * whole order, isn't taken off first.
2802
2847
  * @format DECIMAL_VALUE
2803
2848
  * @decimalValue options { gt:0, lte:100, maxScale:2 }
2804
2849
  */
@@ -2809,18 +2854,19 @@ declare enum DiscountValueType {
2809
2854
  /**
2810
2855
  * The discount takes a percentage off the price it applies to.
2811
2856
  * @documentationMaturity preview
2812
- * @internal
2813
2857
  */
2814
2858
  PERCENTAGE = "PERCENTAGE",
2815
2859
  /**
2816
2860
  * The discount takes a fixed amount off the price it applies to.
2861
+ *
2862
+ * Also returned for a discount that sets a fixed price, for a buy X for an amount discount, and for a buy X
2863
+ * get Y coupon. For each of these, the coupon's or discount rule's `amount` holds what the discount took off.
2817
2864
  * @documentationMaturity preview
2818
- * @internal
2819
2865
  */
2820
2866
  FIXED_AMOUNT = "FIXED_AMOUNT"
2821
2867
  }
2822
2868
  /** @enumType */
2823
- type DiscountValueTypeWithLiterals = DiscountValueType;
2869
+ type DiscountValueTypeWithLiterals = DiscountValueType | 'PERCENTAGE' | 'FIXED_AMOUNT';
2824
2870
  interface V1MerchantDiscount {
2825
2871
  /** Discount value. */
2826
2872
  amount?: MultiCurrencyPrice;
@@ -2838,10 +2884,6 @@ interface V1DiscountRule extends V1DiscountRuleDiscountValueOneOf {
2838
2884
  * The price it applied to depends on the applied discount's `discountType`: the line items' price for
2839
2885
  * `SPECIFIC_ITEMS`, the subtotal for `GLOBAL`. In each case it's the price after the discounts applied
2840
2886
  * before this one.
2841
- *
2842
- * On an entry supplied in the request's `appliedDiscounts` without `amount`, the discount is calculated
2843
- * again at this percentage. An amount, when present, wins.
2844
- * @internal
2845
2887
  * @format DECIMAL_VALUE
2846
2888
  * @decimalValue options { gt:0, lte:100, maxScale:2 }
2847
2889
  */
@@ -2860,7 +2902,6 @@ interface V1DiscountRule extends V1DiscountRuleDiscountValueOneOf {
2860
2902
  * `amount` holds the total amount the discount rule took off, whatever the type.
2861
2903
  *
2862
2904
  * Not returned for a free-shipping discount rule.
2863
- * @internal
2864
2905
  */
2865
2906
  discountValueType?: DiscountValueTypeWithLiterals;
2866
2907
  }
@@ -2872,10 +2913,6 @@ interface V1DiscountRuleDiscountValueOneOf {
2872
2913
  * The price it applied to depends on the applied discount's `discountType`: the line items' price for
2873
2914
  * `SPECIFIC_ITEMS`, the subtotal for `GLOBAL`. In each case it's the price after the discounts applied
2874
2915
  * before this one.
2875
- *
2876
- * On an entry supplied in the request's `appliedDiscounts` without `amount`, the discount is calculated
2877
- * again at this percentage. An amount, when present, wins.
2878
- * @internal
2879
2916
  * @format DECIMAL_VALUE
2880
2917
  * @decimalValue options { gt:0, lte:100, maxScale:2 }
2881
2918
  */
@@ -2907,7 +2944,32 @@ interface LineItemDiscount {
2907
2944
  * Number of the line item's units the discount was applied to.
2908
2945
  *
2909
2946
  * Returned only for a `SPECIFIC_ITEMS` discount.
2947
+ * @min 1
2948
+ * @max 100000
2949
+ */
2950
+ discountedQuantity?: number | null;
2951
+ /**
2952
+ * This discount's part for each item in the bundle. The parts add up to `totalDiscountAmount`.
2953
+ *
2954
+ * Returned only for a bundle line item.
2910
2955
  * @internal
2956
+ * @maxSize 10
2957
+ */
2958
+ bundledItems?: BundledItemDiscount[];
2959
+ }
2960
+ /** One bundled item's part of a line item's discount. */
2961
+ interface BundledItemDiscount {
2962
+ /**
2963
+ * Bundled item ID.
2964
+ * @format GUID
2965
+ */
2966
+ bundledItemId?: string;
2967
+ /** This item's part of the discount amount. */
2968
+ totalDiscountAmount?: MultiCurrencyPrice;
2969
+ /**
2970
+ * Number of this item's units the discount was applied to.
2971
+ *
2972
+ * Returned only for a `SPECIFIC_ITEMS` discount.
2911
2973
  * @min 1
2912
2974
  * @max 100000
2913
2975
  */
@@ -2941,6 +3003,30 @@ interface ItemCombinationLineItem {
2941
3003
  * @max 100000
2942
3004
  */
2943
3005
  quantity?: number;
3006
+ /**
3007
+ * This entry's part for each item in the bundle. The parts' discount amounts add up to `discountAmount`.
3008
+ *
3009
+ * Returned only for a bundle line item.
3010
+ * @internal
3011
+ * @maxSize 10
3012
+ */
3013
+ bundledItems?: ItemCombinationBundledItem[];
3014
+ }
3015
+ /** One bundled item's part of a line item's entry in an item combination. */
3016
+ interface ItemCombinationBundledItem {
3017
+ /**
3018
+ * Bundled item ID.
3019
+ * @format GUID
3020
+ */
3021
+ bundledItemId?: string;
3022
+ /** Total discount amount for all units of this item in this combination. */
3023
+ discountAmount?: MultiCurrencyPrice;
3024
+ /**
3025
+ * Number of units of this item in a single combination. Equals its quantity in one bundle times the entry's `quantity`.
3026
+ * @min 1
3027
+ * @max 100000
3028
+ */
3029
+ quantity?: number;
2944
3030
  }
2945
3031
  interface CalculationErrors extends CalculationErrorsShippingCalculationErrorOneOf {
2946
3032
  /** General shipping calculation error. */
@@ -3577,6 +3663,16 @@ interface AdditionalFee {
3577
3663
  * @readonly
3578
3664
  */
3579
3665
  crossBorderAdjustment?: CrossBorderPriceAdjustment;
3666
+ /**
3667
+ * IDs of the bundled items this fee applies to. Their bundle line items are in `lineItemIds`.
3668
+ *
3669
+ * Returned only when the fee applies to specific items in a bundle line item, such as a bundled item's own catalog fee.
3670
+ * @internal
3671
+ * @format GUID
3672
+ * @maxSize 100
3673
+ * @readonly
3674
+ */
3675
+ bundledItemIds?: string[];
3580
3676
  }
3581
3677
  declare enum AdditionalFeeSource {
3582
3678
  UNKNOWN_ADDITIONAL_FEE_SOURCE = "UNKNOWN_ADDITIONAL_FEE_SOURCE",
@@ -4265,4 +4361,4 @@ declare function updateCurrentCartLineItemQuantity(): __PublicMethodMetaInfo<'PO
4265
4361
  declare function estimateCurrentCartTotals(): __PublicMethodMetaInfo<'POST', {}, EstimateCurrentCartTotalsRequest$1, EstimateCurrentCartTotalsRequest, EstimateTotalsResponse$1, EstimateTotalsResponse>;
4266
4362
  declare function deleteCurrentCart(): __PublicMethodMetaInfo<'DELETE', {}, DeleteCurrentCartRequest$1, DeleteCurrentCartRequest, DeleteCartResponse$1, DeleteCartResponse>;
4267
4363
 
4268
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddToCartRequest as AddToCartRequestOriginal, type AddToCartResponse as AddToCartResponseOriginal, type AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequestOriginal, type AddToCurrentCartRequest as AddToCurrentCartRequestOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, type AggregatedTaxBreakdown as AggregatedTaxBreakdownOriginal, type ApplicableLineItems as ApplicableLineItemsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, AppliedDiscountDiscountType as AppliedDiscountDiscountTypeOriginal, type AppliedDiscountDiscountTypeWithLiterals as AppliedDiscountDiscountTypeWithLiteralsOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetailsOriginal, BalanceType as BalanceTypeOriginal, type BalanceTypeWithLiterals as BalanceTypeWithLiteralsOriginal, BaseRateSource as BaseRateSourceOriginal, type BaseRateSourceWithLiterals as BaseRateSourceWithLiteralsOriginal, type Benefit as BenefitOriginal, type BenefitQuotaOneOf as BenefitQuotaOneOfOriginal, type BillingSettings as BillingSettingsOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CalculatedCyclePriceOverride as CalculatedCyclePriceOverrideOriginal, type CalculatedItemModifier as CalculatedItemModifierOriginal, type CalculatedLineItem as CalculatedLineItemOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type Carrier as CarrierOriginal, type CarrierServiceOption as CarrierServiceOptionOriginal, type CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOfOriginal, type CartDiscount as CartDiscountOriginal, type Cart as CartOriginal, type CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type Color as ColorOriginal, type CommonImage as CommonImageOriginal, type Coupon as CouponOriginal, type CoveredLineItem as CoveredLineItemOriginal, type CreateCartRequest as CreateCartRequestOriginal, type CreateCartResponse as CreateCartResponseOriginal, type CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequestOriginal, type CreateCheckoutRequest as CreateCheckoutRequestOriginal, type CreateCheckoutResponse as CreateCheckoutResponseOriginal, type CrossBorderPriceAdjustment as CrossBorderPriceAdjustmentOriginal, type CurrentCartGetCurrentCartApplicationErrors as CurrentCartGetCurrentCartApplicationErrorsOriginal, type CustomLineItem as CustomLineItemOriginal, type CyclePriceOverride as CyclePriceOverrideOriginal, type DeleteCartRequest as DeleteCartRequestOriginal, type DeleteCartResponse as DeleteCartResponseOriginal, type DeleteCurrentCartRequest as DeleteCurrentCartRequestOriginal, type DeliveryAllocation as DeliveryAllocationOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Description as DescriptionOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, DiscountValueType as DiscountValueTypeOriginal, type DiscountValueTypeWithLiterals as DiscountValueTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequestOriginal, type EstimateTotalsRequest as EstimateTotalsRequestOriginal, type EstimateTotalsResponse as EstimateTotalsResponseOriginal, type ExistingMembership as ExistingMembershipOriginal, type ExtendedFields as ExtendedFieldsOriginal, FallbackReason as FallbackReasonOriginal, type FallbackReasonWithLiterals as FallbackReasonWithLiteralsOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequestOriginal, type GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponseOriginal, type GetCartRequest as GetCartRequestOriginal, type GetCartResponse as GetCartResponseOriginal, type GetCurrentCartRequest as GetCurrentCartRequestOriginal, type GetCurrentCartResponse as GetCurrentCartResponseOriginal, type GiftCardCalculationError as GiftCardCalculationErrorOriginal, type GiftCard as GiftCardOriginal, type Group as GroupOriginal, type HostSelectedMembership as HostSelectedMembershipOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InvalidMembership as InvalidMembershipOriginal, type ItemAvailabilityInfo as ItemAvailabilityInfoOriginal, ItemAvailabilityStatus as ItemAvailabilityStatusOriginal, type ItemAvailabilityStatusWithLiterals as ItemAvailabilityStatusWithLiteralsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LimitedQuota as LimitedQuotaOriginal, LimitedQuotaType as LimitedQuotaTypeOriginal, type LimitedQuotaTypeWithLiterals as LimitedQuotaTypeWithLiteralsOriginal, type LineItemAdded as LineItemAddedOriginal, type LineItemCoverage as LineItemCoverageOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItem as LineItemOriginal, type LineItemPricesData as LineItemPricesDataOriginal, type LineItemQuantityUpdate as LineItemQuantityUpdateOriginal, ManualCalculationReason as ManualCalculationReasonOriginal, type ManualCalculationReasonWithLiterals as ManualCalculationReasonWithLiteralsOriginal, type MembershipName as MembershipNameOriginal, type MembershipOptions as MembershipOptionsOriginal, type Membership as MembershipOriginal, type MembershipPaymentCredits as MembershipPaymentCreditsOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, NameInLineItem as NameInLineItemOriginal, type NameInLineItemWithLiterals as NameInLineItemWithLiteralsOriginal, NameInOther as NameInOtherOriginal, type NameInOtherWithLiterals as NameInOtherWithLiteralsOriginal, type OtherCharge as OtherChargeOriginal, type Other as OtherOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, PlatformFeeChargeType as PlatformFeeChargeTypeOriginal, type PlatformFeeChargeTypeWithLiterals as PlatformFeeChargeTypeWithLiteralsOriginal, type PlatformFee as PlatformFeeOriginal, type Policy as PolicyOriginal, type PriceDescription as PriceDescriptionOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type PurchasablePlan as PurchasablePlanOriginal, QuotaType as QuotaTypeOriginal, type QuotaTypeWithLiterals as QuotaTypeWithLiteralsOriginal, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, type Region as RegionOriginal, type RemoveBusinessLocationRequest as RemoveBusinessLocationRequestOriginal, type RemoveBusinessLocationResponse as RemoveBusinessLocationResponseOriginal, type RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequestOriginal, type RemoveCouponRequest as RemoveCouponRequestOriginal, type RemoveCouponResponse as RemoveCouponResponseOriginal, type RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequestOriginal, type RemoveLineItemsRequest as RemoveLineItemsRequestOriginal, type RemoveLineItemsResponse as RemoveLineItemsResponseOriginal, RepriceStatus as RepriceStatusOriginal, type RepriceStatusWithLiterals as RepriceStatusWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type Scope as ScopeOriginal, type SecuredMedia as SecuredMediaOriginal, type SelectedCarrierServiceOption as SelectedCarrierServiceOptionOriginal, type SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherChargeOriginal, type SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPricesOriginal, type SelectedMembership as SelectedMembershipOriginal, type SelectedMemberships as SelectedMembershipsOriginal, type SelectedShippingOption as SelectedShippingOptionOriginal, type ServiceProperties as ServicePropertiesOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, type StreetAddress as StreetAddressOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionOptionInfo as SubscriptionOptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SuggestedFix as SuggestedFixOriginal, type SuggestedFixWithLiterals as SuggestedFixWithLiteralsOriginal, type SystemError as SystemErrorOriginal, type TargetLineItem as TargetLineItemOriginal, type Target as TargetOriginal, type TargetTargetTypeOneOf as TargetTargetTypeOneOfOriginal, type TaxBreakdown as TaxBreakdownOriginal, type TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOfOriginal, type TaxCalculationDetails as TaxCalculationDetailsOriginal, type TaxCalculatorAttribution as TaxCalculatorAttributionOriginal, type TaxRateBreakdown as TaxRateBreakdownOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type Title as TitleOriginal, type TranslatableString as TranslatableStringOriginal, type UpdateCartRequest as UpdateCartRequestOriginal, type UpdateCartResponse as UpdateCartResponseOriginal, type UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequestOriginal, type UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequestOriginal, type UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponseOriginal, type V1CouponDiscountValueOneOf as V1CouponDiscountValueOneOfOriginal, type V1Coupon as V1CouponOriginal, type V1DiscountRuleDiscountValueOneOf as V1DiscountRuleDiscountValueOneOfOriginal, type V1DiscountRuleName as V1DiscountRuleNameOriginal, type V1DiscountRule as V1DiscountRuleOriginal, type V1ItemModifier as V1ItemModifierOriginal, type V1Membership as V1MembershipOriginal, type V1MerchantDiscount as V1MerchantDiscountOriginal, type V1ModifierGroup as V1ModifierGroupOriginal, type ValidatedExistingMemberships as ValidatedExistingMembershipsOriginal, type ValidatedPurchasablePlans as ValidatedPurchasablePlansOriginal, type ValidationError as ValidationErrorOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type Violation as ViolationOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, addToCurrentCart, createCheckoutFromCurrentCart, deleteCurrentCart, estimateCurrentCartTotals, getCurrentCart, removeCouponFromCurrentCart, removeLineItemsFromCurrentCart, updateCurrentCart, updateCurrentCartLineItemQuantity };
4364
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddToCartRequest as AddToCartRequestOriginal, type AddToCartResponse as AddToCartResponseOriginal, type AddToCurrentCartAndEstimateTotalsRequest as AddToCurrentCartAndEstimateTotalsRequestOriginal, type AddToCurrentCartRequest as AddToCurrentCartRequestOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, type AggregatedTaxBreakdown as AggregatedTaxBreakdownOriginal, type ApplicableLineItems as ApplicableLineItemsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, AppliedDiscountDiscountType as AppliedDiscountDiscountTypeOriginal, type AppliedDiscountDiscountTypeWithLiterals as AppliedDiscountDiscountTypeWithLiteralsOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetailsOriginal, BalanceType as BalanceTypeOriginal, type BalanceTypeWithLiterals as BalanceTypeWithLiteralsOriginal, BaseRateSource as BaseRateSourceOriginal, type BaseRateSourceWithLiterals as BaseRateSourceWithLiteralsOriginal, type Benefit as BenefitOriginal, type BenefitQuotaOneOf as BenefitQuotaOneOfOriginal, type BillingSettings as BillingSettingsOriginal, type BundledItemDiscount as BundledItemDiscountOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CalculatedBundledItem as CalculatedBundledItemOriginal, type CalculatedCyclePriceOverride as CalculatedCyclePriceOverrideOriginal, type CalculatedItemModifier as CalculatedItemModifierOriginal, type CalculatedLineItem as CalculatedLineItemOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type Carrier as CarrierOriginal, type CarrierServiceOption as CarrierServiceOptionOriginal, type CartDiscountDiscountSourceOneOf as CartDiscountDiscountSourceOneOfOriginal, type CartDiscount as CartDiscountOriginal, type Cart as CartOriginal, type CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type Color as ColorOriginal, type CommonImage as CommonImageOriginal, type Coupon as CouponOriginal, type CoveredLineItem as CoveredLineItemOriginal, type CreateCartRequest as CreateCartRequestOriginal, type CreateCartResponse as CreateCartResponseOriginal, type CreateCheckoutFromCurrentCartRequest as CreateCheckoutFromCurrentCartRequestOriginal, type CreateCheckoutRequest as CreateCheckoutRequestOriginal, type CreateCheckoutResponse as CreateCheckoutResponseOriginal, type CrossBorderPriceAdjustment as CrossBorderPriceAdjustmentOriginal, type CurrentCartGetCurrentCartApplicationErrors as CurrentCartGetCurrentCartApplicationErrorsOriginal, type CustomLineItem as CustomLineItemOriginal, type CyclePriceOverride as CyclePriceOverrideOriginal, type DeleteCartRequest as DeleteCartRequestOriginal, type DeleteCartResponse as DeleteCartResponseOriginal, type DeleteCurrentCartRequest as DeleteCurrentCartRequestOriginal, type DeliveryAllocation as DeliveryAllocationOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Description as DescriptionOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, DiscountValueType as DiscountValueTypeOriginal, type DiscountValueTypeWithLiterals as DiscountValueTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EstimateCurrentCartTotalsRequest as EstimateCurrentCartTotalsRequestOriginal, type EstimateTotalsRequest as EstimateTotalsRequestOriginal, type EstimateTotalsResponse as EstimateTotalsResponseOriginal, type ExistingMembership as ExistingMembershipOriginal, type ExtendedFields as ExtendedFieldsOriginal, FallbackReason as FallbackReasonOriginal, type FallbackReasonWithLiterals as FallbackReasonWithLiteralsOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetCartByCheckoutIdRequest as GetCartByCheckoutIdRequestOriginal, type GetCartByCheckoutIdResponse as GetCartByCheckoutIdResponseOriginal, type GetCartRequest as GetCartRequestOriginal, type GetCartResponse as GetCartResponseOriginal, type GetCurrentCartRequest as GetCurrentCartRequestOriginal, type GetCurrentCartResponse as GetCurrentCartResponseOriginal, type GiftCardCalculationError as GiftCardCalculationErrorOriginal, type GiftCard as GiftCardOriginal, type Group as GroupOriginal, type HostSelectedMembership as HostSelectedMembershipOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InvalidMembership as InvalidMembershipOriginal, type ItemAvailabilityInfo as ItemAvailabilityInfoOriginal, ItemAvailabilityStatus as ItemAvailabilityStatusOriginal, type ItemAvailabilityStatusWithLiterals as ItemAvailabilityStatusWithLiteralsOriginal, type ItemCombinationBundledItem as ItemCombinationBundledItemOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LimitedQuota as LimitedQuotaOriginal, LimitedQuotaType as LimitedQuotaTypeOriginal, type LimitedQuotaTypeWithLiterals as LimitedQuotaTypeWithLiteralsOriginal, type LineItemAdded as LineItemAddedOriginal, type LineItemCoverage as LineItemCoverageOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItem as LineItemOriginal, type LineItemPricesData as LineItemPricesDataOriginal, type LineItemQuantityUpdate as LineItemQuantityUpdateOriginal, ManualCalculationReason as ManualCalculationReasonOriginal, type ManualCalculationReasonWithLiterals as ManualCalculationReasonWithLiteralsOriginal, type MembershipName as MembershipNameOriginal, type MembershipOptions as MembershipOptionsOriginal, type Membership as MembershipOriginal, type MembershipPaymentCredits as MembershipPaymentCreditsOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, NameInLineItem as NameInLineItemOriginal, type NameInLineItemWithLiterals as NameInLineItemWithLiteralsOriginal, NameInOther as NameInOtherOriginal, type NameInOtherWithLiterals as NameInOtherWithLiteralsOriginal, type OtherCharge as OtherChargeOriginal, type Other as OtherOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, PlatformFeeChargeType as PlatformFeeChargeTypeOriginal, type PlatformFeeChargeTypeWithLiterals as PlatformFeeChargeTypeWithLiteralsOriginal, type PlatformFee as PlatformFeeOriginal, type Policy as PolicyOriginal, type PriceDescription as PriceDescriptionOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type PurchasablePlan as PurchasablePlanOriginal, QuotaType as QuotaTypeOriginal, type QuotaTypeWithLiterals as QuotaTypeWithLiteralsOriginal, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, type Region as RegionOriginal, type RemoveBusinessLocationRequest as RemoveBusinessLocationRequestOriginal, type RemoveBusinessLocationResponse as RemoveBusinessLocationResponseOriginal, type RemoveCouponFromCurrentCartRequest as RemoveCouponFromCurrentCartRequestOriginal, type RemoveCouponRequest as RemoveCouponRequestOriginal, type RemoveCouponResponse as RemoveCouponResponseOriginal, type RemoveLineItemsFromCurrentCartRequest as RemoveLineItemsFromCurrentCartRequestOriginal, type RemoveLineItemsRequest as RemoveLineItemsRequestOriginal, type RemoveLineItemsResponse as RemoveLineItemsResponseOriginal, RepriceStatus as RepriceStatusOriginal, type RepriceStatusWithLiterals as RepriceStatusWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type Scope as ScopeOriginal, type SecuredMedia as SecuredMediaOriginal, type SelectedCarrierServiceOption as SelectedCarrierServiceOptionOriginal, type SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherChargeOriginal, type SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPricesOriginal, type SelectedMembership as SelectedMembershipOriginal, type SelectedMemberships as SelectedMembershipsOriginal, type SelectedShippingOption as SelectedShippingOptionOriginal, type ServiceProperties as ServicePropertiesOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, type StreetAddress as StreetAddressOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionOptionInfo as SubscriptionOptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SuggestedFix as SuggestedFixOriginal, type SuggestedFixWithLiterals as SuggestedFixWithLiteralsOriginal, type SystemError as SystemErrorOriginal, type TargetLineItem as TargetLineItemOriginal, type Target as TargetOriginal, type TargetTargetTypeOneOf as TargetTargetTypeOneOfOriginal, type TaxBreakdown as TaxBreakdownOriginal, type TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOfOriginal, type TaxCalculationDetails as TaxCalculationDetailsOriginal, type TaxCalculatorAttribution as TaxCalculatorAttributionOriginal, type TaxRateBreakdown as TaxRateBreakdownOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type Title as TitleOriginal, type TranslatableString as TranslatableStringOriginal, type UpdateCartRequest as UpdateCartRequestOriginal, type UpdateCartResponse as UpdateCartResponseOriginal, type UpdateCurrentCartLineItemQuantityRequest as UpdateCurrentCartLineItemQuantityRequestOriginal, type UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequestOriginal, type UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponseOriginal, type V1CouponDiscountValueOneOf as V1CouponDiscountValueOneOfOriginal, type V1Coupon as V1CouponOriginal, type V1DiscountRuleDiscountValueOneOf as V1DiscountRuleDiscountValueOneOfOriginal, type V1DiscountRuleName as V1DiscountRuleNameOriginal, type V1DiscountRule as V1DiscountRuleOriginal, type V1ItemModifier as V1ItemModifierOriginal, type V1Membership as V1MembershipOriginal, type V1MerchantDiscount as V1MerchantDiscountOriginal, type V1ModifierGroup as V1ModifierGroupOriginal, type ValidatedExistingMemberships as ValidatedExistingMembershipsOriginal, type ValidatedPurchasablePlans as ValidatedPurchasablePlansOriginal, type ValidationError as ValidationErrorOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type Violation as ViolationOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, addToCurrentCart, createCheckoutFromCurrentCart, deleteCurrentCart, estimateCurrentCartTotals, getCurrentCart, removeCouponFromCurrentCart, removeLineItemsFromCurrentCart, updateCurrentCart, updateCurrentCartLineItemQuantity };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_current-cart",
3
- "version": "1.0.208",
3
+ "version": "1.0.210",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.ecom.v1.cart"
51
51
  }
52
52
  },
53
- "falconPackageHash": "762393f45d6046cf7ea598db8f4df4bc73ee5edc481d579a069a7bd1"
53
+ "falconPackageHash": "ebf2f9d3082f6e695a8fba8901c07872542a44fd4fb90689b0b4f7e8"
54
54
  }