@wix/auto_sdk_ecom_current-cart 1.0.199 → 1.0.200

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.
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { Cart, GetCurrentCartApplicationErrors, UpdateCurrentCartOptions, AddToCurrentCartOptions, AddToCartResponse, RemoveLineItemsResponse, CreateCheckoutFromCurrentCartOptions, CreateCheckoutResponse, RemoveCouponResponse, LineItemQuantityUpdate, UpdateLineItemsQuantityResponse, EstimateCurrentCartTotalsOptions, EstimateTotalsResponse, CartDeletedEnvelope, CartUpdatedEnvelope, CartCreatedEnvelope } from './index.typings.js';
3
- export { AccountInfo, AccountInfoMetadata, ActionEvent, AddToCartRequest, AddToCurrentCartAndEstimateTotalsRequest, AddToCurrentCartRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address, AddressLocation, AddressWithContact, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, AppliedDiscountDiscountTypeWithLiterals, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BaseEventMetadata, Benefit, BenefitQuotaOneOf, BillingSettings, BuyerInfo, BuyerInfoIdOneOf, CalculatedItemModifier, CalculatedLineItem, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CartDiscount, CartDiscountDiscountSourceOneOf, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, ChargeType, ChargeTypeWithLiterals, Color, Coupon, CoveredLineItem, CreateCartRequest, CreateCartResponse, CreateCheckoutFromCurrentCartRequest, CreateCheckoutRequest, CustomLineItem, CyclePriceOverride, DeleteCartRequest, DeleteCartResponse, DeleteCurrentCartRequest, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DiscountValueType, DiscountValueTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EstimateCurrentCartTotalsRequest, EstimateTotalsRequest, EventMetadata, ExistingMembership, ExtendedFields, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FocalPoint, FreeTrialPeriod, FullAddressContactDetails, GetCartByCheckoutIdRequest, GetCartByCheckoutIdResponse, GetCartRequest, GetCartResponse, GetCurrentCartRequest, GetCurrentCartResponse, GiftCard, GiftCardCalculationError, Group, HostSelectedMembership, IdentificationData, IdentificationDataIdOneOf, InvalidMembership, ItemAvailabilityInfo, ItemAvailabilityStatus, ItemAvailabilityStatusWithLiterals, ItemCombination, ItemCombinationLineItem, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LimitedQuota, LimitedQuotaType, LimitedQuotaTypeWithLiterals, LineItem, LineItemAdded, LineItemCoverage, LineItemDiscount, LineItemPricesData, ManualCalculationReason, ManualCalculationReasonWithLiterals, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, MessageEnvelope, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, Policy, PriceDescription, PriceSummary, ProductName, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, PurchasablePlan, QuotaType, QuotaTypeWithLiterals, RateType, RateTypeWithLiterals, Region, RemoveBusinessLocationRequest, RemoveBusinessLocationResponse, RemoveCouponFromCurrentCartRequest, RemoveCouponRequest, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsRequest, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, SelectedShippingOption, ServiceProperties, Severity, SeverityWithLiterals, ShippingInformation, ShippingOption, ShippingPrice, ShippingRegion, StreetAddress, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetLineItem, TargetTargetTypeOneOf, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UpdateCartRequest, UpdateCartResponse, UpdateCurrentCartLineItemQuantityRequest, UpdateLineItemsQuantityRequest, V1Coupon, V1CouponDiscountValueOneOf, V1DiscountRule, V1DiscountRuleDiscountValueOneOf, V1DiscountRuleName, V1ItemModifier, V1Membership, V1MerchantDiscount, V1ModifierGroup, ValidatedExistingMemberships, ValidatedPurchasablePlans, ValidationError, VatId, VatType, VatTypeWithLiterals, Violation, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
3
+ export { AccountInfo, AccountInfoMetadata, ActionEvent, AddToCartRequest, AddToCurrentCartAndEstimateTotalsRequest, AddToCurrentCartRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address, AddressLocation, AddressWithContact, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, AppliedDiscountDiscountTypeWithLiterals, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BaseEventMetadata, BaseRateSource, BaseRateSourceWithLiterals, Benefit, BenefitQuotaOneOf, BillingSettings, BuyerInfo, BuyerInfoIdOneOf, CalculatedItemModifier, CalculatedLineItem, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CartDiscount, CartDiscountDiscountSourceOneOf, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, ChargeType, ChargeTypeWithLiterals, Color, Coupon, CoveredLineItem, CreateCartRequest, CreateCartResponse, CreateCheckoutFromCurrentCartRequest, CreateCheckoutRequest, CrossBorderPriceAdjustment, CustomLineItem, CyclePriceOverride, DeleteCartRequest, DeleteCartResponse, DeleteCurrentCartRequest, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DiscountValueType, DiscountValueTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EstimateCurrentCartTotalsRequest, EstimateTotalsRequest, EventMetadata, ExistingMembership, ExtendedFields, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FocalPoint, FreeTrialPeriod, FullAddressContactDetails, GetCartByCheckoutIdRequest, GetCartByCheckoutIdResponse, GetCartRequest, GetCartResponse, GetCurrentCartRequest, GetCurrentCartResponse, GiftCard, GiftCardCalculationError, Group, HostSelectedMembership, IdentificationData, IdentificationDataIdOneOf, InvalidMembership, ItemAvailabilityInfo, ItemAvailabilityStatus, ItemAvailabilityStatusWithLiterals, ItemCombination, ItemCombinationLineItem, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LimitedQuota, LimitedQuotaType, LimitedQuotaTypeWithLiterals, LineItem, LineItemAdded, LineItemCoverage, LineItemDiscount, LineItemPricesData, ManualCalculationReason, ManualCalculationReasonWithLiterals, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, MessageEnvelope, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, Policy, PriceDescription, PriceSummary, ProductName, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, PurchasablePlan, QuotaType, QuotaTypeWithLiterals, RateType, RateTypeWithLiterals, Region, RemoveBusinessLocationRequest, RemoveBusinessLocationResponse, RemoveCouponFromCurrentCartRequest, RemoveCouponRequest, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsRequest, RepriceStatus, RepriceStatusWithLiterals, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, SelectedShippingOption, ServiceProperties, Severity, SeverityWithLiterals, ShippingInformation, ShippingOption, ShippingPrice, ShippingRegion, StreetAddress, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetLineItem, TargetTargetTypeOneOf, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UpdateCartRequest, UpdateCartResponse, UpdateCurrentCartLineItemQuantityRequest, UpdateLineItemsQuantityRequest, V1Coupon, V1CouponDiscountValueOneOf, V1DiscountRule, V1DiscountRuleDiscountValueOneOf, V1DiscountRuleName, V1ItemModifier, V1Membership, V1MerchantDiscount, V1ModifierGroup, ValidatedExistingMemberships, ValidatedPurchasablePlans, ValidationError, VatId, VatType, VatTypeWithLiterals, Violation, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
4
4
 
5
5
  declare function getCurrentCart$1(httpClient: HttpClient): GetCurrentCartSignature;
6
6
  interface GetCurrentCartSignature {
@@ -23,6 +23,7 @@ __export(index_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_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,
@@ -176,12 +178,21 @@ var TRANSFORM_PATHS_8 = [
176
178
  },
177
179
  { path: "cart.lineItems.serviceProperties.scheduledDate" },
178
180
  { path: "cart.lineItems.serviceProperties.endDate" },
181
+ {
182
+ path: "calculatedLineItems.pricesBreakdown.crossBorderAdjustment.baseRateCapturedDate"
183
+ },
179
184
  {
180
185
  path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
181
186
  },
182
187
  {
183
188
  path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
184
189
  },
190
+ {
191
+ path: "shippingInfo.selectedCarrierServiceOption.cost.crossBorderAdjustment.baseRateCapturedDate"
192
+ },
193
+ {
194
+ path: "shippingInfo.selectedCarrierServiceOption.otherCharges.cost.crossBorderAdjustment.baseRateCapturedDate"
195
+ },
185
196
  {
186
197
  path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
187
198
  },
@@ -192,7 +203,8 @@ var TRANSFORM_PATHS_8 = [
192
203
  { path: "membershipOptions.invalidMemberships.membership.expirationDate" },
193
204
  {
194
205
  path: "membershipOptions.validatedExistingMemberships.memberships.membership.expirationDate"
195
- }
206
+ },
207
+ { path: "additionalFees.crossBorderAdjustment.baseRateCapturedDate" }
196
208
  ];
197
209
  var TRANSFORM_PATHS_9 = [
198
210
  { path: "cart.lineItems.image.focalPoint.x" },
@@ -772,6 +784,23 @@ var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
772
784
  JurisdictionType2["SPECIAL"] = "SPECIAL";
773
785
  return JurisdictionType2;
774
786
  })(JurisdictionType || {});
787
+ var RepriceStatus = /* @__PURE__ */ ((RepriceStatus2) => {
788
+ RepriceStatus2["APPLIED"] = "APPLIED";
789
+ RepriceStatus2["KEPT"] = "KEPT";
790
+ RepriceStatus2["STRIP_ONLY"] = "STRIP_ONLY";
791
+ RepriceStatus2["SAME_REGION"] = "SAME_REGION";
792
+ RepriceStatus2["SAME_COUNTRY"] = "SAME_COUNTRY";
793
+ RepriceStatus2["NO_DESTINATION_REGION"] = "NO_DESTINATION_REGION";
794
+ RepriceStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
795
+ RepriceStatus2["NOT_APPLICABLE_MODIFIERS"] = "NOT_APPLICABLE_MODIFIERS";
796
+ RepriceStatus2["CONVERTED_CURRENCY_SUBSCRIPTION"] = "CONVERTED_CURRENCY_SUBSCRIPTION";
797
+ return RepriceStatus2;
798
+ })(RepriceStatus || {});
799
+ var BaseRateSource = /* @__PURE__ */ ((BaseRateSource2) => {
800
+ BaseRateSource2["MANUAL_SPI"] = "MANUAL_SPI";
801
+ BaseRateSource2["AVALARA_PROBE"] = "AVALARA_PROBE";
802
+ return BaseRateSource2;
803
+ })(BaseRateSource || {});
775
804
  var RateType = /* @__PURE__ */ ((RateType2) => {
776
805
  RateType2["NO_TAX_COLLECTED"] = "NO_TAX_COLLECTED";
777
806
  RateType2["MANUAL_RATE"] = "MANUAL_RATE";
@@ -1562,6 +1591,7 @@ var onCartCreated2 = /* @__PURE__ */ (0, import_event_definition_modules.createE
1562
1591
  AdditionalFeeSource,
1563
1592
  AppliedDiscountDiscountType,
1564
1593
  BalanceType,
1594
+ BaseRateSource,
1565
1595
  ChannelType,
1566
1596
  ChargeType,
1567
1597
  DescriptionLineType,
@@ -1583,6 +1613,7 @@ var onCartCreated2 = /* @__PURE__ */ (0, import_event_definition_modules.createE
1583
1613
  ProductPeriodAlignment,
1584
1614
  QuotaType,
1585
1615
  RateType,
1616
+ RepriceStatus,
1586
1617
  RuleType,
1587
1618
  Severity,
1588
1619
  SubscriptionFrequency,