@wix/auto_sdk_ecom_cart 1.0.164 → 1.0.165
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 +0 -14
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -58
- package/build/cjs/index.typings.js +0 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -58
- package/build/cjs/meta.js +0 -14
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +0 -12
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -58
- package/build/es/index.typings.mjs +0 -12
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -58
- package/build/es/meta.mjs +0 -12
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +0 -14
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -69
- package/build/internal/cjs/index.typings.js +0 -14
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -58
- package/build/internal/cjs/meta.js +0 -14
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +0 -12
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -69
- package/build/internal/es/index.typings.mjs +0 -12
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -58
- package/build/internal/es/meta.mjs +0 -12
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
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,
|
|
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, BillingSettings, BuyerInfo, BuyerInfoIdOneOf, CalculatedItemModifier, CalculatedLineItem, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CartDiscount, CartDiscountDiscountSourceOneOf, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, ChargeType, ChargeTypeWithLiterals, Color, Coupon, CreateCartRequest, CreateCartResponse, CreateCheckoutFromCurrentCartRequest, CreateCheckoutRequest, CustomLineItem, DeleteCartRequest, DeleteCartResponse, DeleteCurrentCartRequest, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EstimateCurrentCartTotalsRequest, EstimateTotalsRequest, EventMetadata, 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, LineItem, LineItemAdded, 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, 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, V1DiscountRule, V1DiscountRuleName, V1ItemModifier, V1MerchantDiscount, V1ModifierGroup, 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
|
@@ -33,7 +33,6 @@ __export(index_exports, {
|
|
|
33
33
|
ItemAvailabilityStatus: () => ItemAvailabilityStatus,
|
|
34
34
|
ItemTypePreset: () => ItemTypePreset,
|
|
35
35
|
JurisdictionType: () => JurisdictionType,
|
|
36
|
-
LimitedQuotaType: () => LimitedQuotaType,
|
|
37
36
|
ManualCalculationReason: () => ManualCalculationReason,
|
|
38
37
|
NameInLineItem: () => NameInLineItem,
|
|
39
38
|
NameInOther: () => NameInOther,
|
|
@@ -41,7 +40,6 @@ __export(index_exports, {
|
|
|
41
40
|
PickupMethod: () => PickupMethod,
|
|
42
41
|
PlatformFeeChargeType: () => PlatformFeeChargeType,
|
|
43
42
|
ProductPeriodAlignment: () => ProductPeriodAlignment,
|
|
44
|
-
QuotaType: () => QuotaType,
|
|
45
43
|
RateType: () => RateType,
|
|
46
44
|
RuleType: () => RuleType,
|
|
47
45
|
Severity: () => Severity,
|
|
@@ -1077,16 +1075,6 @@ var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
|
|
|
1077
1075
|
BalanceType2["CREDIT"] = "CREDIT";
|
|
1078
1076
|
return BalanceType2;
|
|
1079
1077
|
})(BalanceType || {});
|
|
1080
|
-
var QuotaType = /* @__PURE__ */ ((QuotaType2) => {
|
|
1081
|
-
QuotaType2["LIMITED"] = "LIMITED";
|
|
1082
|
-
QuotaType2["UNLIMITED"] = "UNLIMITED";
|
|
1083
|
-
return QuotaType2;
|
|
1084
|
-
})(QuotaType || {});
|
|
1085
|
-
var LimitedQuotaType = /* @__PURE__ */ ((LimitedQuotaType2) => {
|
|
1086
|
-
LimitedQuotaType2["PUNCH_CARD"] = "PUNCH_CARD";
|
|
1087
|
-
LimitedQuotaType2["CREDIT"] = "CREDIT";
|
|
1088
|
-
return LimitedQuotaType2;
|
|
1089
|
-
})(LimitedQuotaType || {});
|
|
1090
1078
|
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
1091
1079
|
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
1092
1080
|
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
@@ -2042,7 +2030,6 @@ var onCartCreated2 = (0, import_event_definition_modules.createEventModule)(onCa
|
|
|
2042
2030
|
ItemAvailabilityStatus,
|
|
2043
2031
|
ItemTypePreset,
|
|
2044
2032
|
JurisdictionType,
|
|
2045
|
-
LimitedQuotaType,
|
|
2046
2033
|
ManualCalculationReason,
|
|
2047
2034
|
NameInLineItem,
|
|
2048
2035
|
NameInOther,
|
|
@@ -2050,7 +2037,6 @@ var onCartCreated2 = (0, import_event_definition_modules.createEventModule)(onCa
|
|
|
2050
2037
|
PickupMethod,
|
|
2051
2038
|
PlatformFeeChargeType,
|
|
2052
2039
|
ProductPeriodAlignment,
|
|
2053
|
-
QuotaType,
|
|
2054
2040
|
RateType,
|
|
2055
2041
|
RuleType,
|
|
2056
2042
|
Severity,
|