@wix/auto_sdk_ecom_current-cart 1.0.207 → 1.0.209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +94 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +93 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +94 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +93 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +13 -31
- package/build/internal/cjs/meta.d.ts +12 -30
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +13 -31
- package/build/internal/es/meta.d.mts +12 -30
- package/package.json +2 -2
|
@@ -616,6 +616,14 @@ interface SubscriptionSettings {
|
|
|
616
616
|
startDate?: Date | null;
|
|
617
617
|
/** Billing configuration for recurring charges. */
|
|
618
618
|
billingSettings?: BillingSettings;
|
|
619
|
+
/**
|
|
620
|
+
* Unit prices for specified billing cycles of the subscription. Cycles that no entry covers
|
|
621
|
+
* are charged the item's `price`.
|
|
622
|
+
*
|
|
623
|
+
* When `billingCycles` is set, every entry must end on or before the last billing cycle.
|
|
624
|
+
* @maxSize 1
|
|
625
|
+
*/
|
|
626
|
+
cyclePriceOverrides?: CyclePriceOverride[];
|
|
619
627
|
}
|
|
620
628
|
/** Frequency unit of recurring payment */
|
|
621
629
|
declare enum SubscriptionFrequency {
|
|
@@ -1625,6 +1633,13 @@ interface CalculatedLineItem {
|
|
|
1625
1633
|
paymentOption?: PaymentOptionTypeWithLiterals;
|
|
1626
1634
|
/** tax calculation address. */
|
|
1627
1635
|
taxableAddress?: TaxableAddress;
|
|
1636
|
+
/**
|
|
1637
|
+
* Cycle price overrides of the line item's subscription, one for each entry in the request's
|
|
1638
|
+
* `lineItems.subscriptionSettings.cyclePriceOverrides`, in the same order.
|
|
1639
|
+
* @readonly
|
|
1640
|
+
* @maxSize 1
|
|
1641
|
+
*/
|
|
1642
|
+
cyclePriceOverrides?: CalculatedCyclePriceOverride[];
|
|
1628
1643
|
}
|
|
1629
1644
|
interface LineItemPricesData {
|
|
1630
1645
|
/** Total price after discounts, tax, and modifiers. */
|
|
@@ -2286,6 +2301,17 @@ declare enum AppliedDiscountDiscountType {
|
|
|
2286
2301
|
type AppliedDiscountDiscountTypeWithLiterals = AppliedDiscountDiscountType | 'GLOBAL' | 'SPECIFIC_ITEMS' | 'SHIPPING';
|
|
2287
2302
|
/** Coupon */
|
|
2288
2303
|
interface V1Coupon extends V1CouponDiscountValueOneOf {
|
|
2304
|
+
/**
|
|
2305
|
+
* Percentage the coupon took off the price it applied to. For example, `10.5` for 10.5%.
|
|
2306
|
+
*
|
|
2307
|
+
* The price it applied to depends on the applied discount's `discountType`. For `SPECIFIC_ITEMS`, it's the
|
|
2308
|
+
* line items' price after the discounts applied before this one. For `GLOBAL`, it's the subtotal after the
|
|
2309
|
+
* line item discounts. An order discount applied before the coupon, such as an automatic discount on the
|
|
2310
|
+
* whole order, isn't taken off first.
|
|
2311
|
+
* @format DECIMAL_VALUE
|
|
2312
|
+
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
2313
|
+
*/
|
|
2314
|
+
percentage?: string;
|
|
2289
2315
|
/** Coupon ID. */
|
|
2290
2316
|
_id?: string;
|
|
2291
2317
|
/** Coupon code. */
|
|
@@ -2294,15 +2320,46 @@ interface V1Coupon extends V1CouponDiscountValueOneOf {
|
|
|
2294
2320
|
amount?: MultiCurrencyPrice;
|
|
2295
2321
|
/** Coupon name. */
|
|
2296
2322
|
name?: string;
|
|
2323
|
+
/**
|
|
2324
|
+
* How the coupon's discount is expressed. `percentage` holds the rate of a percentage coupon, and `amount` holds
|
|
2325
|
+
* the total amount the coupon took off, whatever the type.
|
|
2326
|
+
*
|
|
2327
|
+
* Not returned for a free-shipping coupon.
|
|
2328
|
+
*/
|
|
2329
|
+
discountValueType?: DiscountValueTypeWithLiterals;
|
|
2297
2330
|
}
|
|
2298
2331
|
/** @oneof */
|
|
2299
2332
|
interface V1CouponDiscountValueOneOf {
|
|
2333
|
+
/**
|
|
2334
|
+
* Percentage the coupon took off the price it applied to. For example, `10.5` for 10.5%.
|
|
2335
|
+
*
|
|
2336
|
+
* The price it applied to depends on the applied discount's `discountType`. For `SPECIFIC_ITEMS`, it's the
|
|
2337
|
+
* line items' price after the discounts applied before this one. For `GLOBAL`, it's the subtotal after the
|
|
2338
|
+
* line item discounts. An order discount applied before the coupon, such as an automatic discount on the
|
|
2339
|
+
* whole order, isn't taken off first.
|
|
2340
|
+
* @format DECIMAL_VALUE
|
|
2341
|
+
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
2342
|
+
*/
|
|
2343
|
+
percentage?: string;
|
|
2300
2344
|
}
|
|
2301
2345
|
/** How a coupon's or discount rule's discount value is expressed. */
|
|
2302
2346
|
declare enum DiscountValueType {
|
|
2347
|
+
/**
|
|
2348
|
+
* The discount takes a percentage off the price it applies to.
|
|
2349
|
+
* @documentationMaturity preview
|
|
2350
|
+
*/
|
|
2351
|
+
PERCENTAGE = "PERCENTAGE",
|
|
2352
|
+
/**
|
|
2353
|
+
* The discount takes a fixed amount off the price it applies to.
|
|
2354
|
+
*
|
|
2355
|
+
* Also returned for a discount that sets a fixed price, for a buy X for an amount discount, and for a buy X
|
|
2356
|
+
* get Y coupon. For each of these, the coupon's or discount rule's `amount` holds what the discount took off.
|
|
2357
|
+
* @documentationMaturity preview
|
|
2358
|
+
*/
|
|
2359
|
+
FIXED_AMOUNT = "FIXED_AMOUNT"
|
|
2303
2360
|
}
|
|
2304
2361
|
/** @enumType */
|
|
2305
|
-
type DiscountValueTypeWithLiterals = DiscountValueType;
|
|
2362
|
+
type DiscountValueTypeWithLiterals = DiscountValueType | 'PERCENTAGE' | 'FIXED_AMOUNT';
|
|
2306
2363
|
interface V1MerchantDiscount {
|
|
2307
2364
|
/** Discount value. */
|
|
2308
2365
|
amount?: MultiCurrencyPrice;
|
|
@@ -2314,6 +2371,16 @@ interface V1MerchantDiscount {
|
|
|
2314
2371
|
percentage?: number | null;
|
|
2315
2372
|
}
|
|
2316
2373
|
interface V1DiscountRule extends V1DiscountRuleDiscountValueOneOf {
|
|
2374
|
+
/**
|
|
2375
|
+
* Percentage the discount rule took off the price it applied to. For example, `10.5` for 10.5%.
|
|
2376
|
+
*
|
|
2377
|
+
* The price it applied to depends on the applied discount's `discountType`: the line items' price for
|
|
2378
|
+
* `SPECIFIC_ITEMS`, the subtotal for `GLOBAL`. In each case it's the price after the discounts applied
|
|
2379
|
+
* before this one.
|
|
2380
|
+
* @format DECIMAL_VALUE
|
|
2381
|
+
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
2382
|
+
*/
|
|
2383
|
+
percentage?: string;
|
|
2317
2384
|
/**
|
|
2318
2385
|
* Discount rule ID
|
|
2319
2386
|
* @format GUID
|
|
@@ -2323,9 +2390,26 @@ interface V1DiscountRule extends V1DiscountRuleDiscountValueOneOf {
|
|
|
2323
2390
|
name?: V1DiscountRuleName;
|
|
2324
2391
|
/** Total amount the discount rule took off. */
|
|
2325
2392
|
amount?: MultiCurrencyPrice;
|
|
2393
|
+
/**
|
|
2394
|
+
* How the discount rule's discount is expressed. `percentage` holds the rate of a percentage discount rule, and
|
|
2395
|
+
* `amount` holds the total amount the discount rule took off, whatever the type.
|
|
2396
|
+
*
|
|
2397
|
+
* Not returned for a free-shipping discount rule.
|
|
2398
|
+
*/
|
|
2399
|
+
discountValueType?: DiscountValueTypeWithLiterals;
|
|
2326
2400
|
}
|
|
2327
2401
|
/** @oneof */
|
|
2328
2402
|
interface V1DiscountRuleDiscountValueOneOf {
|
|
2403
|
+
/**
|
|
2404
|
+
* Percentage the discount rule took off the price it applied to. For example, `10.5` for 10.5%.
|
|
2405
|
+
*
|
|
2406
|
+
* The price it applied to depends on the applied discount's `discountType`: the line items' price for
|
|
2407
|
+
* `SPECIFIC_ITEMS`, the subtotal for `GLOBAL`. In each case it's the price after the discounts applied
|
|
2408
|
+
* before this one.
|
|
2409
|
+
* @format DECIMAL_VALUE
|
|
2410
|
+
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
2411
|
+
*/
|
|
2412
|
+
percentage?: string;
|
|
2329
2413
|
}
|
|
2330
2414
|
interface V1DiscountRuleName {
|
|
2331
2415
|
/**
|
|
@@ -2349,6 +2433,14 @@ interface LineItemDiscount {
|
|
|
2349
2433
|
_id?: string;
|
|
2350
2434
|
/** Discount value. */
|
|
2351
2435
|
totalDiscountAmount?: MultiCurrencyPrice;
|
|
2436
|
+
/**
|
|
2437
|
+
* Number of the line item's units the discount was applied to.
|
|
2438
|
+
*
|
|
2439
|
+
* Returned only for a `SPECIFIC_ITEMS` discount.
|
|
2440
|
+
* @min 1
|
|
2441
|
+
* @max 100000
|
|
2442
|
+
*/
|
|
2443
|
+
discountedQuantity?: number | null;
|
|
2352
2444
|
}
|
|
2353
2445
|
interface ItemCombination {
|
|
2354
2446
|
/**
|
|
@@ -3885,7 +3977,7 @@ declare function updateCurrentCartLineItemQuantity(lineItems: LineItemQuantityUp
|
|
|
3885
3977
|
* @replacedBy wix.ecom.cart.v2.CurrentCartService.EstimateCurrentCart
|
|
3886
3978
|
* @targetRemovalDate 2027-02-01
|
|
3887
3979
|
*/
|
|
3888
|
-
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>>;
|
|
3980
|
+
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>>;
|
|
3889
3981
|
interface EstimateCurrentCartTotalsOptions {
|
|
3890
3982
|
/**
|
|
3891
3983
|
* Selected shipping option
|