@wix/auto_sdk_ecom_cart 1.0.189 → 1.0.190
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 +32 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +92 -1
- package/build/cjs/index.typings.js +32 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +92 -1
- package/build/cjs/meta.js +32 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +30 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +92 -1
- package/build/es/index.typings.mjs +30 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +92 -1
- package/build/es/meta.mjs +30 -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 +122 -1
- package/build/internal/cjs/meta.d.ts +122 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +122 -1
- package/build/internal/es/meta.d.mts +122 -1
- package/package.json +2 -2
|
@@ -1711,6 +1711,97 @@ declare enum JurisdictionType {
|
|
|
1711
1711
|
}
|
|
1712
1712
|
/** @enumType */
|
|
1713
1713
|
type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
|
|
1714
|
+
/**
|
|
1715
|
+
* Record of the cross-border repricing of a single line item, shipping option or fee on a site whose catalog prices include tax:
|
|
1716
|
+
* the catalog price the merchant entered, the base region's tax removed from it per unit, and the rate used.
|
|
1717
|
+
*
|
|
1718
|
+
* The totals calculator form of `com.wix.ecommerce.platform_common.api.CrossBorderPriceAdjustment`: the same fields under the same numbers,
|
|
1719
|
+
* with the amounts as `MultiCurrencyPrice`. This record describes how the price was reached, not the resulting amount;
|
|
1720
|
+
* the repriced figures are on the line, shipping option or fee that carries it.
|
|
1721
|
+
*/
|
|
1722
|
+
interface CrossBorderPriceAdjustment {
|
|
1723
|
+
/**
|
|
1724
|
+
* ID of the tax region whose tax is built into the catalog prices.
|
|
1725
|
+
* @format GUID
|
|
1726
|
+
* @readonly
|
|
1727
|
+
*/
|
|
1728
|
+
baseTaxRegionId?: string;
|
|
1729
|
+
/**
|
|
1730
|
+
* ID of the tax region resolved for the destination. Absent when no region matched.
|
|
1731
|
+
* @format GUID
|
|
1732
|
+
* @readonly
|
|
1733
|
+
*/
|
|
1734
|
+
destinationTaxRegionId?: string | null;
|
|
1735
|
+
/**
|
|
1736
|
+
* Price per unit as entered by the merchant, with the base region's tax inside it.
|
|
1737
|
+
* @readonly
|
|
1738
|
+
*/
|
|
1739
|
+
catalogPrice?: MultiCurrencyPrice;
|
|
1740
|
+
/**
|
|
1741
|
+
* Base region's tax removed per unit. Zero when `status` is `KEPT`, `SAME_REGION`, `SAME_COUNTRY`, `NOT_APPLICABLE`, `NOT_APPLICABLE_MODIFIERS` or `CONVERTED_CURRENCY_SUBSCRIPTION`, where nothing was removed.
|
|
1742
|
+
* @readonly
|
|
1743
|
+
*/
|
|
1744
|
+
baseTaxAmount?: MultiCurrencyPrice;
|
|
1745
|
+
/**
|
|
1746
|
+
* Outcome of the repricing for this line.
|
|
1747
|
+
* @readonly
|
|
1748
|
+
*/
|
|
1749
|
+
status?: RepriceStatusWithLiterals;
|
|
1750
|
+
/**
|
|
1751
|
+
* Where the base region's rate came from. Meaningful only when a rate was applied, that is when `status` is `APPLIED`, `STRIP_ONLY` or `NO_DESTINATION_REGION`.
|
|
1752
|
+
* @readonly
|
|
1753
|
+
*/
|
|
1754
|
+
baseRateSource?: BaseRateSourceWithLiterals;
|
|
1755
|
+
/**
|
|
1756
|
+
* Base region's rate used to remove the tax, as a decimal numeral between 0 and 1. For example, `"0.22"`. Absent when no rate was applied.
|
|
1757
|
+
* @format DECIMAL_VALUE
|
|
1758
|
+
* @decimalValue options { gte:0, maxScale:6 }
|
|
1759
|
+
* @readonly
|
|
1760
|
+
*/
|
|
1761
|
+
baseRate?: string | null;
|
|
1762
|
+
/**
|
|
1763
|
+
* When the base region's rate was captured. Set only when `baseRateSource` is `AVALARA_PROBE`.
|
|
1764
|
+
* @readonly
|
|
1765
|
+
*/
|
|
1766
|
+
baseRateCapturedDate?: Date | null;
|
|
1767
|
+
/**
|
|
1768
|
+
* Whether the destination's tax is included in the repriced amount. Reserved for per-region display; not populated.
|
|
1769
|
+
* @readonly
|
|
1770
|
+
*/
|
|
1771
|
+
destinationTaxIncluded?: boolean | null;
|
|
1772
|
+
}
|
|
1773
|
+
/** Outcome of the repricing for one line. */
|
|
1774
|
+
declare enum RepriceStatus {
|
|
1775
|
+
/** Base tax removed and the destination's tax applied. */
|
|
1776
|
+
APPLIED = "APPLIED",
|
|
1777
|
+
/** The caller asked for the line to be left at its price. Nothing was removed. */
|
|
1778
|
+
KEPT = "KEPT",
|
|
1779
|
+
/** Base tax removed and no destination tax applied, as in a tax-exempt calculation. This is the outcome; the mode that asks for it is `CrossBorderRepricingMode.STRIP_ONLY`. */
|
|
1780
|
+
STRIP_ONLY = "STRIP_ONLY",
|
|
1781
|
+
/** The destination is the base region. Nothing was removed. */
|
|
1782
|
+
SAME_REGION = "SAME_REGION",
|
|
1783
|
+
/** The destination is in the base region's country, outside the US and Canada, so the catalog price already carries the destination's tax. Nothing was removed. */
|
|
1784
|
+
SAME_COUNTRY = "SAME_COUNTRY",
|
|
1785
|
+
/** No tax region matched the destination. Base tax removed and no destination tax applied. */
|
|
1786
|
+
NO_DESTINATION_REGION = "NO_DESTINATION_REGION",
|
|
1787
|
+
/** The calculation didn't reprice this line, for example because the feature was off or a pass failed. Nothing was removed. */
|
|
1788
|
+
NOT_APPLICABLE = "NOT_APPLICABLE",
|
|
1789
|
+
/** The line's modifiers exceed its price at the destination's rate. Nothing was removed. */
|
|
1790
|
+
NOT_APPLICABLE_MODIFIERS = "NOT_APPLICABLE_MODIFIERS",
|
|
1791
|
+
/** A subscription line in a checkout whose currency differs from the site currency. Nothing was removed. */
|
|
1792
|
+
CONVERTED_CURRENCY_SUBSCRIPTION = "CONVERTED_CURRENCY_SUBSCRIPTION"
|
|
1793
|
+
}
|
|
1794
|
+
/** @enumType */
|
|
1795
|
+
type RepriceStatusWithLiterals = RepriceStatus | 'APPLIED' | 'KEPT' | 'STRIP_ONLY' | 'SAME_REGION' | 'SAME_COUNTRY' | 'NO_DESTINATION_REGION' | 'NOT_APPLICABLE' | 'NOT_APPLICABLE_MODIFIERS' | 'CONVERTED_CURRENCY_SUBSCRIPTION';
|
|
1796
|
+
/** Where the base region's rate came from. */
|
|
1797
|
+
declare enum BaseRateSource {
|
|
1798
|
+
/** The manual tax calculator computed the base tax for this calculation. */
|
|
1799
|
+
MANUAL_SPI = "MANUAL_SPI",
|
|
1800
|
+
/** The rate captured from Avalara by the embedded-rate probe. */
|
|
1801
|
+
AVALARA_PROBE = "AVALARA_PROBE"
|
|
1802
|
+
}
|
|
1803
|
+
/** @enumType */
|
|
1804
|
+
type BaseRateSourceWithLiterals = BaseRateSource | 'MANUAL_SPI' | 'AVALARA_PROBE';
|
|
1714
1805
|
interface CalculatedItemModifier {
|
|
1715
1806
|
/**
|
|
1716
1807
|
* Modifier ID.
|
|
@@ -3988,4 +4079,4 @@ declare function deleteCart(_id: string): Promise<void>;
|
|
|
3988
4079
|
*/
|
|
3989
4080
|
declare function removeBusinessLocation(_id: string): Promise<NonNullablePaths<RemoveBusinessLocationResponse, `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}.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`, 5>>;
|
|
3990
4081
|
|
|
3991
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCartApplicationErrors, type AddToCartOptions, type AddToCartRequest, type AddToCartResponse, type AddToCurrentCartAndEstimateTotalsRequest, 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, type Benefit, type BenefitQuotaOneOf, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, 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 CreateCartApplicationErrors, type CreateCartOptions, type CreateCartRequest, type CreateCartResponse, type CreateCheckoutApplicationErrors, type CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions, type CreateCheckoutRequest, type CreateCheckoutResponse, 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 EstimateCurrentCartTotalsRequest, type EstimateTotalsOptions, 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 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, 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 TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCartApplicationErrors, type UpdateCartOptions, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartLineItemQuantityRequest, 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, addToCart, createCart, createCheckout, deleteCart, estimateTotals, getCart, onCartCreated, onCartDeleted, onCartUpdated, removeBusinessLocation, removeCoupon, removeLineItems, updateCart, updateLineItemsQuantity };
|
|
4082
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCartApplicationErrors, type AddToCartOptions, type AddToCartRequest, type AddToCartResponse, type AddToCurrentCartAndEstimateTotalsRequest, 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 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 CreateCartApplicationErrors, type CreateCartOptions, type CreateCartRequest, type CreateCartResponse, type CreateCheckoutApplicationErrors, type CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions, 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 EstimateCurrentCartTotalsRequest, type EstimateTotalsOptions, 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 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 TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCartApplicationErrors, type UpdateCartOptions, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartLineItemQuantityRequest, 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, addToCart, createCart, createCheckout, deleteCart, estimateTotals, getCart, onCartCreated, onCartDeleted, onCartUpdated, removeBusinessLocation, removeCoupon, removeLineItems, updateCart, updateLineItemsQuantity };
|
|
@@ -23,6 +23,7 @@ __export(index_typings_exports, {
|
|
|
23
23
|
AdditionalFeeSource: () => AdditionalFeeSource,
|
|
24
24
|
AppliedDiscountDiscountType: () => AppliedDiscountDiscountType,
|
|
25
25
|
BalanceType: () => BalanceType,
|
|
26
|
+
BaseRateSource: () => BaseRateSource,
|
|
26
27
|
ChannelType: () => ChannelType,
|
|
27
28
|
ChargeType: () => ChargeType,
|
|
28
29
|
DescriptionLineType: () => DescriptionLineType,
|
|
@@ -44,6 +45,7 @@ __export(index_typings_exports, {
|
|
|
44
45
|
ProductPeriodAlignment: () => ProductPeriodAlignment,
|
|
45
46
|
QuotaType: () => QuotaType,
|
|
46
47
|
RateType: () => RateType,
|
|
48
|
+
RepriceStatus: () => RepriceStatus,
|
|
47
49
|
RuleType: () => RuleType,
|
|
48
50
|
Severity: () => Severity,
|
|
49
51
|
SubscriptionFrequency: () => SubscriptionFrequency,
|
|
@@ -166,12 +168,21 @@ var TRANSFORM_PATHS_8 = [
|
|
|
166
168
|
},
|
|
167
169
|
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
168
170
|
{ path: "cart.lineItems.serviceProperties.endDate" },
|
|
171
|
+
{
|
|
172
|
+
path: "calculatedLineItems.pricesBreakdown.crossBorderAdjustment.baseRateCapturedDate"
|
|
173
|
+
},
|
|
169
174
|
{
|
|
170
175
|
path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
171
176
|
},
|
|
172
177
|
{
|
|
173
178
|
path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
174
179
|
},
|
|
180
|
+
{
|
|
181
|
+
path: "shippingInfo.selectedCarrierServiceOption.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
path: "shippingInfo.selectedCarrierServiceOption.otherCharges.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
185
|
+
},
|
|
175
186
|
{
|
|
176
187
|
path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
177
188
|
},
|
|
@@ -182,7 +193,8 @@ var TRANSFORM_PATHS_8 = [
|
|
|
182
193
|
{ path: "membershipOptions.invalidMemberships.membership.expirationDate" },
|
|
183
194
|
{
|
|
184
195
|
path: "membershipOptions.validatedExistingMemberships.memberships.membership.expirationDate"
|
|
185
|
-
}
|
|
196
|
+
},
|
|
197
|
+
{ path: "additionalFees.crossBorderAdjustment.baseRateCapturedDate" }
|
|
186
198
|
];
|
|
187
199
|
var TRANSFORM_PATHS_9 = [
|
|
188
200
|
{ path: "cart.lineItems.image.focalPoint.x" },
|
|
@@ -865,6 +877,23 @@ var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
|
865
877
|
JurisdictionType2["SPECIAL"] = "SPECIAL";
|
|
866
878
|
return JurisdictionType2;
|
|
867
879
|
})(JurisdictionType || {});
|
|
880
|
+
var RepriceStatus = /* @__PURE__ */ ((RepriceStatus2) => {
|
|
881
|
+
RepriceStatus2["APPLIED"] = "APPLIED";
|
|
882
|
+
RepriceStatus2["KEPT"] = "KEPT";
|
|
883
|
+
RepriceStatus2["STRIP_ONLY"] = "STRIP_ONLY";
|
|
884
|
+
RepriceStatus2["SAME_REGION"] = "SAME_REGION";
|
|
885
|
+
RepriceStatus2["SAME_COUNTRY"] = "SAME_COUNTRY";
|
|
886
|
+
RepriceStatus2["NO_DESTINATION_REGION"] = "NO_DESTINATION_REGION";
|
|
887
|
+
RepriceStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
888
|
+
RepriceStatus2["NOT_APPLICABLE_MODIFIERS"] = "NOT_APPLICABLE_MODIFIERS";
|
|
889
|
+
RepriceStatus2["CONVERTED_CURRENCY_SUBSCRIPTION"] = "CONVERTED_CURRENCY_SUBSCRIPTION";
|
|
890
|
+
return RepriceStatus2;
|
|
891
|
+
})(RepriceStatus || {});
|
|
892
|
+
var BaseRateSource = /* @__PURE__ */ ((BaseRateSource2) => {
|
|
893
|
+
BaseRateSource2["MANUAL_SPI"] = "MANUAL_SPI";
|
|
894
|
+
BaseRateSource2["AVALARA_PROBE"] = "AVALARA_PROBE";
|
|
895
|
+
return BaseRateSource2;
|
|
896
|
+
})(BaseRateSource || {});
|
|
868
897
|
var RateType = /* @__PURE__ */ ((RateType2) => {
|
|
869
898
|
RateType2["NO_TAX_COLLECTED"] = "NO_TAX_COLLECTED";
|
|
870
899
|
RateType2["MANUAL_RATE"] = "MANUAL_RATE";
|
|
@@ -1560,6 +1589,7 @@ async function removeBusinessLocation2(_id) {
|
|
|
1560
1589
|
AdditionalFeeSource,
|
|
1561
1590
|
AppliedDiscountDiscountType,
|
|
1562
1591
|
BalanceType,
|
|
1592
|
+
BaseRateSource,
|
|
1563
1593
|
ChannelType,
|
|
1564
1594
|
ChargeType,
|
|
1565
1595
|
DescriptionLineType,
|
|
@@ -1581,6 +1611,7 @@ async function removeBusinessLocation2(_id) {
|
|
|
1581
1611
|
ProductPeriodAlignment,
|
|
1582
1612
|
QuotaType,
|
|
1583
1613
|
RateType,
|
|
1614
|
+
RepriceStatus,
|
|
1584
1615
|
RuleType,
|
|
1585
1616
|
Severity,
|
|
1586
1617
|
SubscriptionFrequency,
|