@wix/auto_sdk_ecom_checkout 1.0.183 → 1.0.184

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.
@@ -1347,6 +1347,97 @@ interface SelectedCarrierServiceOptionPrices {
1347
1347
  /** Shipping price before discount and before tax. */
1348
1348
  price?: MultiCurrencyPrice;
1349
1349
  }
1350
+ /**
1351
+ * Record of the cross-border repricing of a single line item, shipping option or fee on a site whose catalog prices include tax:
1352
+ * the catalog price the merchant entered, the base region's tax removed from it per unit, and the rate used.
1353
+ *
1354
+ * The totals calculator form of `com.wix.ecommerce.platform_common.api.CrossBorderPriceAdjustment`: the same fields under the same numbers,
1355
+ * with the amounts as `MultiCurrencyPrice`. This record describes how the price was reached, not the resulting amount;
1356
+ * the repriced figures are on the line, shipping option or fee that carries it.
1357
+ */
1358
+ interface CrossBorderPriceAdjustment {
1359
+ /**
1360
+ * ID of the tax region whose tax is built into the catalog prices.
1361
+ * @format GUID
1362
+ * @readonly
1363
+ */
1364
+ baseTaxRegionId?: string;
1365
+ /**
1366
+ * ID of the tax region resolved for the destination. Absent when no region matched.
1367
+ * @format GUID
1368
+ * @readonly
1369
+ */
1370
+ destinationTaxRegionId?: string | null;
1371
+ /**
1372
+ * Price per unit as entered by the merchant, with the base region's tax inside it.
1373
+ * @readonly
1374
+ */
1375
+ catalogPrice?: MultiCurrencyPrice;
1376
+ /**
1377
+ * 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.
1378
+ * @readonly
1379
+ */
1380
+ baseTaxAmount?: MultiCurrencyPrice;
1381
+ /**
1382
+ * Outcome of the repricing for this line.
1383
+ * @readonly
1384
+ */
1385
+ status?: RepriceStatusWithLiterals;
1386
+ /**
1387
+ * 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`.
1388
+ * @readonly
1389
+ */
1390
+ baseRateSource?: BaseRateSourceWithLiterals;
1391
+ /**
1392
+ * 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.
1393
+ * @format DECIMAL_VALUE
1394
+ * @decimalValue options { gte:0, maxScale:6 }
1395
+ * @readonly
1396
+ */
1397
+ baseRate?: string | null;
1398
+ /**
1399
+ * When the base region's rate was captured. Set only when `baseRateSource` is `AVALARA_PROBE`.
1400
+ * @readonly
1401
+ */
1402
+ baseRateCapturedDate?: Date | null;
1403
+ /**
1404
+ * Whether the destination's tax is included in the repriced amount. Reserved for per-region display; not populated.
1405
+ * @readonly
1406
+ */
1407
+ destinationTaxIncluded?: boolean | null;
1408
+ }
1409
+ /** Outcome of the repricing for one line. */
1410
+ declare enum RepriceStatus {
1411
+ /** Base tax removed and the destination's tax applied. */
1412
+ APPLIED = "APPLIED",
1413
+ /** The caller asked for the line to be left at its price. Nothing was removed. */
1414
+ KEPT = "KEPT",
1415
+ /** 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`. */
1416
+ STRIP_ONLY = "STRIP_ONLY",
1417
+ /** The destination is the base region. Nothing was removed. */
1418
+ SAME_REGION = "SAME_REGION",
1419
+ /** 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. */
1420
+ SAME_COUNTRY = "SAME_COUNTRY",
1421
+ /** No tax region matched the destination. Base tax removed and no destination tax applied. */
1422
+ NO_DESTINATION_REGION = "NO_DESTINATION_REGION",
1423
+ /** The calculation didn't reprice this line, for example because the feature was off or a pass failed. Nothing was removed. */
1424
+ NOT_APPLICABLE = "NOT_APPLICABLE",
1425
+ /** The line's modifiers exceed its price at the destination's rate. Nothing was removed. */
1426
+ NOT_APPLICABLE_MODIFIERS = "NOT_APPLICABLE_MODIFIERS",
1427
+ /** A subscription line in a checkout whose currency differs from the site currency. Nothing was removed. */
1428
+ CONVERTED_CURRENCY_SUBSCRIPTION = "CONVERTED_CURRENCY_SUBSCRIPTION"
1429
+ }
1430
+ /** @enumType */
1431
+ type RepriceStatusWithLiterals = RepriceStatus | 'APPLIED' | 'KEPT' | 'STRIP_ONLY' | 'SAME_REGION' | 'SAME_COUNTRY' | 'NO_DESTINATION_REGION' | 'NOT_APPLICABLE' | 'NOT_APPLICABLE_MODIFIERS' | 'CONVERTED_CURRENCY_SUBSCRIPTION';
1432
+ /** Where the base region's rate came from. */
1433
+ declare enum BaseRateSource {
1434
+ /** The manual tax calculator computed the base tax for this calculation. */
1435
+ MANUAL_SPI = "MANUAL_SPI",
1436
+ /** The rate captured from Avalara by the embedded-rate probe. */
1437
+ AVALARA_PROBE = "AVALARA_PROBE"
1438
+ }
1439
+ /** @enumType */
1440
+ type BaseRateSourceWithLiterals = BaseRateSource | 'MANUAL_SPI' | 'AVALARA_PROBE';
1350
1441
  interface SelectedCarrierServiceOptionOtherCharge {
1351
1442
  /** Type of additional cost. */
1352
1443
  type?: ChargeTypeWithLiterals;
@@ -4291,4 +4382,4 @@ interface MarkCheckoutAsCompletedOptions {
4291
4382
  */
4292
4383
  declare function updateLineItemsQuantity(_id: string, lineItems: NonNullablePaths<LineItemQuantityUpdate, `_id` | `quantity`, 0>[]): Promise<NonNullablePaths<UpdateLineItemsQuantityResponse, `checkout.lineItems` | `checkout.lineItems.${number}.quantity` | `checkout.lineItems.${number}.catalogReference.catalogItemId` | `checkout.lineItems.${number}.catalogReference.appId` | `checkout.lineItems.${number}.productName.original` | `checkout.lineItems.${number}.price.amount` | `checkout.lineItems.${number}.price.convertedAmount` | `checkout.lineItems.${number}.price.formattedAmount` | `checkout.lineItems.${number}.price.formattedConvertedAmount` | `checkout.lineItems.${number}.taxDetails.taxRate` | `checkout.lineItems.${number}.availability.status` | `checkout.lineItems.${number}.physicalProperties.shippable` | `checkout.lineItems.${number}.itemType.preset` | `checkout.lineItems.${number}.itemType.custom` | `checkout.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.frequency` | `checkout.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.autoRenewal` | `checkout.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation` | `checkout.lineItems.${number}.subscriptionOptionInfo.title.original` | `checkout.lineItems.${number}.subscriptionOptionInfo.description.original` | `checkout.lineItems.${number}.paymentOption` | `checkout.lineItems.${number}.priceDescription.original` | `checkout.lineItems.${number}.customLineItem` | `checkout.lineItems.${number}.catalogOverrideFields.paymentOption.value` | `checkout.lineItems.${number}.priceUndetermined` | `checkout.lineItems.${number}.fixedQuantity` | `checkout.lineItems.${number}.savePaymentMethod` | `checkout.lineItems.${number}.taxableAddress.addressType` | `checkout.lineItems.${number}.membersOnly` | `checkout.billingInfo.address.streetAddress.number` | `checkout.billingInfo.address.streetAddress.name` | `checkout.billingInfo.contactDetails.vatId._id` | `checkout.billingInfo.contactDetails.vatId.type` | `checkout.shippingInfo.selectedCarrierServiceOption.code` | `checkout.shippingInfo.selectedCarrierServiceOption.title` | `checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.businessLocation` | `checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.pickupMethod` | `checkout.shippingInfo.selectedCarrierServiceOption.requestedShippingOption` | `checkout.shippingInfo.selectedCarrierServiceOption.otherCharges` | `checkout.shippingInfo.selectedCarrierServiceOption.otherCharges.${number}.type` | `checkout.shippingInfo.selectedCarrierServiceOption.deliveryAllocations` | `checkout.shippingInfo.selectedCarrierServiceOption.deliveryAllocations.${number}.deliveryCarrier.code` | `checkout.shippingInfo.region._id` | `checkout.shippingInfo.region.name` | `checkout.shippingInfo.carrierServiceOptions` | `checkout.shippingInfo.carrierServiceOptions.${number}.carrierId` | `checkout.buyerInfo.visitorId` | `checkout.buyerInfo.memberId` | `checkout.conversionCurrency` | `checkout.calculationErrors.generalShippingCalculationError.applicationError.code` | `checkout.calculationErrors.generalShippingCalculationError.applicationError.description` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `checkout.calculationErrors.carrierErrors.errors` | `checkout.calculationErrors.carrierErrors.errors.${number}.carrierId` | `checkout.calculationErrors.orderValidationErrors` | `checkout.giftCard._id` | `checkout.giftCard.obfuscatedCode` | `checkout.giftCard.appId` | `checkout.appliedDiscounts` | `checkout.appliedDiscounts.${number}.coupon._id` | `checkout.appliedDiscounts.${number}.coupon.code` | `checkout.appliedDiscounts.${number}.coupon.name` | `checkout.appliedDiscounts.${number}.discountRule._id` | `checkout.appliedDiscounts.${number}.discountRule.name.original` | `checkout.appliedDiscounts.${number}.discountType` | `checkout.customFields` | `checkout.customFields.${number}.title` | `checkout.weightUnit` | `checkout.taxSummary.calculationDetails.manualRateReason` | `checkout.taxSummary.calculationDetails.autoTaxFallbackDetails.fallbackReason` | `checkout.taxSummary.calculationDetails.rateType` | `checkout.currency` | `checkout.channelType` | `checkout.siteLanguage` | `checkout.buyerLanguage` | `checkout.completed` | `checkout.taxIncludedInPrice` | `checkout.createdBy.userId` | `checkout.createdBy.memberId` | `checkout.createdBy.visitorId` | `checkout.createdBy.appId` | `checkout.membershipOptions.eligibleMemberships` | `checkout.membershipOptions.eligibleMemberships.${number}._id` | `checkout.membershipOptions.eligibleMemberships.${number}.appId` | `checkout.membershipOptions.eligibleMemberships.${number}.name.original` | `checkout.membershipOptions.eligibleMemberships.${number}.credits.total` | `checkout.membershipOptions.eligibleMemberships.${number}.credits.remaining` | `checkout.membershipOptions.eligibleMemberships.${number}.credits.balanceType` | `checkout.membershipOptions.invalidMemberships` | `checkout.membershipOptions.invalidMemberships.${number}.reason` | `checkout.membershipOptions.selectedMemberships.memberships` | `checkout.membershipOptions.selectedMemberships.memberships.${number}._id` | `checkout.membershipOptions.selectedMemberships.memberships.${number}.appId` | `checkout.additionalFees` | `checkout.additionalFees.${number}.name` | `checkout.additionalFees.${number}.source` | `checkout.violations` | `checkout.violations.${number}.severity` | `checkout.violations.${number}.target.other.name` | `checkout.violations.${number}.target.lineItem.name` | `checkout.customSettings.lockGiftCard` | `checkout.customSettings.lockCouponCode` | `checkout.customSettings.disabledPolicyAgreementCheckbox` | `checkout.customSettings.disabledManualPayment` | `checkout.customContentReference.appId` | `checkout.customContentReference.componentId` | `checkout.externalReference.appId` | `checkout.paymentCurrency`, 6>>;
4293
4384
 
4294
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCheckoutApplicationErrors, type AddToCheckoutOptions, type AddToCheckoutRequest, type AddToCheckoutResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCompletedEnvelope, type CheckoutCreatedEnvelope, type CheckoutDeletedEnvelope, type CheckoutMarkedAsCompleted, type CheckoutUpdatedEnvelope, type Color, type ConversionInfo, type Coupon, type CouponAdded, type CouponDiscountValueOneOf, type CouponRemoved, type CreateCheckoutApplicationErrors, type CreateCheckoutOptions, type CreateCheckoutRequest, type CreateCheckoutResponse, type CreateOrderAndChargeApplicationErrors, type CreateOrderAndChargeOptions, type CreateOrderAndChargeRequest, type CreateOrderAndChargeResponse, type CreateOrderAndChargeResponseIdOneOf, type CreateOrderApplicationErrors, type CreateOrderOptions, type CreateOrderRequest, type CreateOrderResponse, type CreateOrderResponseIdOneOf, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomLineItem, type CustomSettings, type CyclePriceOverride, type DeleteCheckoutRequest, type DeleteCheckoutResponse, 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 DiscountRuleDiscountValueOneOf, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, DiscountValueType, type DiscountValueTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DoublePaymentErrorData, type DoublePaymentErrorDataIdOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCheckoutByCartIdRequest, type GetCheckoutByCartIdResponse, type GetCheckoutRequest, type GetCheckoutResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetWixCheckoutURLRequest, type GetWixCheckoutURLResponse, type GiftCard, type GiftCardAdded, type GiftCardCalculationError, type GiftCardRemoved, type Group, type HeadersEntry, 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 LineItem, type LineItemAdded, type LineItemDiscount, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, type MarkCheckoutAsCompletedAndRedirectToUrlRequest, type MarkCheckoutAsCompletedOptions, type MarkCheckoutAsCompletedRequest, type MarkCheckoutAsCompletedResponse, 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 PaymentErrorResponseData, 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, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedeemErrorData, type Region, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RemoveOverrideCheckoutUrlRequest, type RemoveOverrideCheckoutUrlResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingCalculationErrorData, type ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, type SubscriptionCharges, 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 UpdateCheckout, type UpdateCheckoutApplicationErrors, type UpdateCheckoutOptions, type UpdateCheckoutRequest, type UpdateCheckoutResponse, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type UpdatedCheckoutMessage, type V1ItemModifier, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, type ViolationsList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCheckout, createCheckout, createOrder, createOrderAndCharge, getCheckout, getCheckoutByCartId, getCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, onCheckoutCompleted, onCheckoutCreated, onCheckoutDeleted, onCheckoutUpdated, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
4385
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCheckoutApplicationErrors, type AddToCheckoutOptions, type AddToCheckoutRequest, type AddToCheckoutResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, BaseRateSource, type BaseRateSourceWithLiterals, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCompletedEnvelope, type CheckoutCreatedEnvelope, type CheckoutDeletedEnvelope, type CheckoutMarkedAsCompleted, type CheckoutUpdatedEnvelope, type Color, type ConversionInfo, type Coupon, type CouponAdded, type CouponDiscountValueOneOf, type CouponRemoved, type CreateCheckoutApplicationErrors, type CreateCheckoutOptions, type CreateCheckoutRequest, type CreateCheckoutResponse, type CreateOrderAndChargeApplicationErrors, type CreateOrderAndChargeOptions, type CreateOrderAndChargeRequest, type CreateOrderAndChargeResponse, type CreateOrderAndChargeResponseIdOneOf, type CreateOrderApplicationErrors, type CreateOrderOptions, type CreateOrderRequest, type CreateOrderResponse, type CreateOrderResponseIdOneOf, type CreatedBy, type CreatedByIdOneOf, type CrossBorderPriceAdjustment, type CustomContentReference, type CustomField, type CustomLineItem, type CustomSettings, type CyclePriceOverride, type DeleteCheckoutRequest, type DeleteCheckoutResponse, 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 DiscountRuleDiscountValueOneOf, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, DiscountValueType, type DiscountValueTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DoublePaymentErrorData, type DoublePaymentErrorDataIdOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCheckoutByCartIdRequest, type GetCheckoutByCartIdResponse, type GetCheckoutRequest, type GetCheckoutResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetWixCheckoutURLRequest, type GetWixCheckoutURLResponse, type GiftCard, type GiftCardAdded, type GiftCardCalculationError, type GiftCardRemoved, type Group, type HeadersEntry, 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 LineItem, type LineItemAdded, type LineItemDiscount, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, type MarkCheckoutAsCompletedAndRedirectToUrlRequest, type MarkCheckoutAsCompletedOptions, type MarkCheckoutAsCompletedRequest, type MarkCheckoutAsCompletedResponse, 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 PaymentErrorResponseData, 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, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedeemErrorData, type Region, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RemoveOverrideCheckoutUrlRequest, type RemoveOverrideCheckoutUrlResponse, RepriceStatus, type RepriceStatusWithLiterals, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingCalculationErrorData, type ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, type SubscriptionCharges, 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 UpdateCheckout, type UpdateCheckoutApplicationErrors, type UpdateCheckoutOptions, type UpdateCheckoutRequest, type UpdateCheckoutResponse, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type UpdatedCheckoutMessage, type V1ItemModifier, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, type ViolationsList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCheckout, createCheckout, createOrder, createOrderAndCharge, getCheckout, getCheckoutByCartId, getCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, onCheckoutCompleted, onCheckoutCreated, onCheckoutDeleted, onCheckoutUpdated, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
@@ -22,6 +22,7 @@ var index_typings_exports = {};
22
22
  __export(index_typings_exports, {
23
23
  AdditionalFeeSource: () => AdditionalFeeSource,
24
24
  BalanceType: () => BalanceType,
25
+ BaseRateSource: () => BaseRateSource,
25
26
  ChannelType: () => ChannelType,
26
27
  ChargeType: () => ChargeType,
27
28
  DescriptionLineType: () => DescriptionLineType,
@@ -41,6 +42,7 @@ __export(index_typings_exports, {
41
42
  PlatformFeeChargeType: () => PlatformFeeChargeType,
42
43
  ProductPeriodAlignment: () => ProductPeriodAlignment,
43
44
  RateType: () => RateType,
45
+ RepriceStatus: () => RepriceStatus,
44
46
  RuleType: () => RuleType,
45
47
  Severity: () => Severity,
46
48
  SubscriptionFrequency: () => SubscriptionFrequency,
@@ -97,6 +99,12 @@ var TRANSFORM_PATHS_0 = [
97
99
  {
98
100
  path: "checkoutInfo.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
99
101
  },
102
+ {
103
+ path: "checkoutInfo.shippingInfo.selectedCarrierServiceOption.cost.crossBorderAdjustment.baseRateCapturedDate"
104
+ },
105
+ {
106
+ path: "checkoutInfo.shippingInfo.selectedCarrierServiceOption.otherCharges.cost.crossBorderAdjustment.baseRateCapturedDate"
107
+ },
100
108
  {
101
109
  path: "checkoutInfo.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
102
110
  },
@@ -107,6 +115,9 @@ var TRANSFORM_PATHS_0 = [
107
115
  {
108
116
  path: "checkoutInfo.membershipOptions.invalidMemberships.membership.expirationDate"
109
117
  },
118
+ {
119
+ path: "checkoutInfo.additionalFees.crossBorderAdjustment.baseRateCapturedDate"
120
+ },
110
121
  { path: "checkoutInfo.subscriptionCharges.charges.cycleBillingDate" },
111
122
  { path: "lineItems.media.urlExpirationDate" },
112
123
  { path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate" },
@@ -167,6 +178,12 @@ var TRANSFORM_PATHS_2 = [
167
178
  {
168
179
  path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
169
180
  },
181
+ {
182
+ path: "checkout.shippingInfo.selectedCarrierServiceOption.cost.crossBorderAdjustment.baseRateCapturedDate"
183
+ },
184
+ {
185
+ path: "checkout.shippingInfo.selectedCarrierServiceOption.otherCharges.cost.crossBorderAdjustment.baseRateCapturedDate"
186
+ },
170
187
  {
171
188
  path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
172
189
  },
@@ -177,6 +194,9 @@ var TRANSFORM_PATHS_2 = [
177
194
  {
178
195
  path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
179
196
  },
197
+ {
198
+ path: "checkout.additionalFees.crossBorderAdjustment.baseRateCapturedDate"
199
+ },
180
200
  { path: "checkout.subscriptionCharges.charges.cycleBillingDate" }
181
201
  ];
182
202
  var TRANSFORM_PATHS_3 = [
@@ -224,6 +244,12 @@ var TRANSFORM_PATHS_5 = [
224
244
  {
225
245
  path: "checkout.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
226
246
  },
247
+ {
248
+ path: "checkout.shippingInfo.selectedCarrierServiceOption.cost.crossBorderAdjustment.baseRateCapturedDate"
249
+ },
250
+ {
251
+ path: "checkout.shippingInfo.selectedCarrierServiceOption.otherCharges.cost.crossBorderAdjustment.baseRateCapturedDate"
252
+ },
227
253
  {
228
254
  path: "checkout.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
229
255
  },
@@ -234,6 +260,9 @@ var TRANSFORM_PATHS_5 = [
234
260
  {
235
261
  path: "checkout.membershipOptions.invalidMemberships.membership.expirationDate"
236
262
  },
263
+ {
264
+ path: "checkout.additionalFees.crossBorderAdjustment.baseRateCapturedDate"
265
+ },
237
266
  { path: "checkout.subscriptionCharges.charges.cycleBillingDate" },
238
267
  { path: "lineItems.media.urlExpirationDate" },
239
268
  { path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate" },
@@ -1014,6 +1043,23 @@ var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
1014
1043
  PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
1015
1044
  return PickupMethod2;
1016
1045
  })(PickupMethod || {});
1046
+ var RepriceStatus = /* @__PURE__ */ ((RepriceStatus2) => {
1047
+ RepriceStatus2["APPLIED"] = "APPLIED";
1048
+ RepriceStatus2["KEPT"] = "KEPT";
1049
+ RepriceStatus2["STRIP_ONLY"] = "STRIP_ONLY";
1050
+ RepriceStatus2["SAME_REGION"] = "SAME_REGION";
1051
+ RepriceStatus2["SAME_COUNTRY"] = "SAME_COUNTRY";
1052
+ RepriceStatus2["NO_DESTINATION_REGION"] = "NO_DESTINATION_REGION";
1053
+ RepriceStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
1054
+ RepriceStatus2["NOT_APPLICABLE_MODIFIERS"] = "NOT_APPLICABLE_MODIFIERS";
1055
+ RepriceStatus2["CONVERTED_CURRENCY_SUBSCRIPTION"] = "CONVERTED_CURRENCY_SUBSCRIPTION";
1056
+ return RepriceStatus2;
1057
+ })(RepriceStatus || {});
1058
+ var BaseRateSource = /* @__PURE__ */ ((BaseRateSource2) => {
1059
+ BaseRateSource2["MANUAL_SPI"] = "MANUAL_SPI";
1060
+ BaseRateSource2["AVALARA_PROBE"] = "AVALARA_PROBE";
1061
+ return BaseRateSource2;
1062
+ })(BaseRateSource || {});
1017
1063
  var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
1018
1064
  ChargeType2["HANDLING_FEE"] = "HANDLING_FEE";
1019
1065
  ChargeType2["INSURANCE"] = "INSURANCE";
@@ -1782,6 +1828,7 @@ async function updateLineItemsQuantity2(_id, lineItems) {
1782
1828
  0 && (module.exports = {
1783
1829
  AdditionalFeeSource,
1784
1830
  BalanceType,
1831
+ BaseRateSource,
1785
1832
  ChannelType,
1786
1833
  ChargeType,
1787
1834
  DescriptionLineType,
@@ -1801,6 +1848,7 @@ async function updateLineItemsQuantity2(_id, lineItems) {
1801
1848
  PlatformFeeChargeType,
1802
1849
  ProductPeriodAlignment,
1803
1850
  RateType,
1851
+ RepriceStatus,
1804
1852
  RuleType,
1805
1853
  Severity,
1806
1854
  SubscriptionFrequency,