@wix/auto_sdk_ecom_cart 1.0.188 → 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 +3 -3
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { CreateCartOptions, Cart, CreateCartApplicationErrors, UpdateCartOptions, UpdateCartApplicationErrors, AddToCartOptions, AddToCartResponse, AddToCartApplicationErrors, RemoveLineItemsResponse, CreateCheckoutOptions, CreateCheckoutResponse, CreateCheckoutApplicationErrors, RemoveCouponResponse, LineItemQuantityUpdate, UpdateLineItemsQuantityResponse, EstimateTotalsOptions, EstimateTotalsResponse, RemoveBusinessLocationResponse, 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, 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, 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 createCart$1(httpClient: HttpClient): CreateCartSignature;
|
|
6
6
|
interface CreateCartSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -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,
|
|
@@ -179,12 +181,21 @@ var TRANSFORM_PATHS_8 = [
|
|
|
179
181
|
},
|
|
180
182
|
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
181
183
|
{ path: "cart.lineItems.serviceProperties.endDate" },
|
|
184
|
+
{
|
|
185
|
+
path: "calculatedLineItems.pricesBreakdown.crossBorderAdjustment.baseRateCapturedDate"
|
|
186
|
+
},
|
|
182
187
|
{
|
|
183
188
|
path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
184
189
|
},
|
|
185
190
|
{
|
|
186
191
|
path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
|
|
187
192
|
},
|
|
193
|
+
{
|
|
194
|
+
path: "shippingInfo.selectedCarrierServiceOption.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
path: "shippingInfo.selectedCarrierServiceOption.otherCharges.cost.crossBorderAdjustment.baseRateCapturedDate"
|
|
198
|
+
},
|
|
188
199
|
{
|
|
189
200
|
path: "shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
|
|
190
201
|
},
|
|
@@ -195,7 +206,8 @@ var TRANSFORM_PATHS_8 = [
|
|
|
195
206
|
{ path: "membershipOptions.invalidMemberships.membership.expirationDate" },
|
|
196
207
|
{
|
|
197
208
|
path: "membershipOptions.validatedExistingMemberships.memberships.membership.expirationDate"
|
|
198
|
-
}
|
|
209
|
+
},
|
|
210
|
+
{ path: "additionalFees.crossBorderAdjustment.baseRateCapturedDate" }
|
|
199
211
|
];
|
|
200
212
|
var TRANSFORM_PATHS_9 = [
|
|
201
213
|
{ path: "cart.lineItems.image.focalPoint.x" },
|
|
@@ -878,6 +890,23 @@ var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
|
878
890
|
JurisdictionType2["SPECIAL"] = "SPECIAL";
|
|
879
891
|
return JurisdictionType2;
|
|
880
892
|
})(JurisdictionType || {});
|
|
893
|
+
var RepriceStatus = /* @__PURE__ */ ((RepriceStatus2) => {
|
|
894
|
+
RepriceStatus2["APPLIED"] = "APPLIED";
|
|
895
|
+
RepriceStatus2["KEPT"] = "KEPT";
|
|
896
|
+
RepriceStatus2["STRIP_ONLY"] = "STRIP_ONLY";
|
|
897
|
+
RepriceStatus2["SAME_REGION"] = "SAME_REGION";
|
|
898
|
+
RepriceStatus2["SAME_COUNTRY"] = "SAME_COUNTRY";
|
|
899
|
+
RepriceStatus2["NO_DESTINATION_REGION"] = "NO_DESTINATION_REGION";
|
|
900
|
+
RepriceStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
901
|
+
RepriceStatus2["NOT_APPLICABLE_MODIFIERS"] = "NOT_APPLICABLE_MODIFIERS";
|
|
902
|
+
RepriceStatus2["CONVERTED_CURRENCY_SUBSCRIPTION"] = "CONVERTED_CURRENCY_SUBSCRIPTION";
|
|
903
|
+
return RepriceStatus2;
|
|
904
|
+
})(RepriceStatus || {});
|
|
905
|
+
var BaseRateSource = /* @__PURE__ */ ((BaseRateSource2) => {
|
|
906
|
+
BaseRateSource2["MANUAL_SPI"] = "MANUAL_SPI";
|
|
907
|
+
BaseRateSource2["AVALARA_PROBE"] = "AVALARA_PROBE";
|
|
908
|
+
return BaseRateSource2;
|
|
909
|
+
})(BaseRateSource || {});
|
|
881
910
|
var RateType = /* @__PURE__ */ ((RateType2) => {
|
|
882
911
|
RateType2["NO_TAX_COLLECTED"] = "NO_TAX_COLLECTED";
|
|
883
912
|
RateType2["MANUAL_RATE"] = "MANUAL_RATE";
|
|
@@ -1849,6 +1878,7 @@ var onCartCreated2 = /* @__PURE__ */ (0, import_event_definition_modules.createE
|
|
|
1849
1878
|
AdditionalFeeSource,
|
|
1850
1879
|
AppliedDiscountDiscountType,
|
|
1851
1880
|
BalanceType,
|
|
1881
|
+
BaseRateSource,
|
|
1852
1882
|
ChannelType,
|
|
1853
1883
|
ChargeType,
|
|
1854
1884
|
DescriptionLineType,
|
|
@@ -1870,6 +1900,7 @@ var onCartCreated2 = /* @__PURE__ */ (0, import_event_definition_modules.createE
|
|
|
1870
1900
|
ProductPeriodAlignment,
|
|
1871
1901
|
QuotaType,
|
|
1872
1902
|
RateType,
|
|
1903
|
+
RepriceStatus,
|
|
1873
1904
|
RuleType,
|
|
1874
1905
|
Severity,
|
|
1875
1906
|
SubscriptionFrequency,
|