@wix/auto_sdk_ecom_current-cart-v-2 1.0.166 → 1.0.168
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 +13 -56
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +138 -143
- package/build/cjs/index.typings.js +13 -56
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +138 -143
- package/build/cjs/meta.js +13 -56
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +2 -54
- package/build/cjs/schemas.js +0 -120
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +12 -56
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +138 -143
- package/build/es/index.typings.mjs +12 -56
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +138 -143
- package/build/es/meta.mjs +12 -56
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +2 -54
- package/build/es/schemas.mjs +0 -120
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +13 -56
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +138 -143
- package/build/internal/cjs/index.typings.js +13 -56
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +138 -143
- package/build/internal/cjs/meta.js +13 -56
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +2 -54
- package/build/internal/cjs/schemas.js +0 -120
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +12 -56
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +138 -143
- package/build/internal/es/index.typings.mjs +12 -56
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +138 -143
- package/build/internal/es/meta.mjs +12 -56
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +2 -54
- package/build/internal/es/schemas.mjs +0 -120
- package/build/internal/es/schemas.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, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { CreateCurrentCartOptions, CreateCurrentCartResponse, CreateCurrentCartApplicationErrors, GetCurrentCartResponse, Cart, UpdateCurrentCartResponse, UpdateCurrentCartApplicationErrors, RefreshCurrentCartResponse, RefreshCurrentCartApplicationErrors, CalculateCurrentCartOptions, CalculateCurrentCartResponse, CalculateCurrentCartApplicationErrors, EstimateCurrentCartOptions, EstimateCurrentCartResponse, EstimateCurrentCartApplicationErrors, AddLineItemsToCurrentCartOptions, AddLineItemsToCurrentCartResponse, AddLineItemsToCurrentCartApplicationErrors, RemoveLineItemsFromCurrentCartResponse, RemoveLineItemsFromCurrentCartApplicationErrors, UpdateLineItemsInCurrentCartOptions, UpdateLineItemsInCurrentCartResponse, UpdateLineItemsInCurrentCartApplicationErrors, CouponInput, AddCouponToCurrentCartResponse, AddCouponToCurrentCartApplicationErrors, RemoveCouponFromCurrentCartResponse, RemoveCouponFromCurrentCartApplicationErrors, DeliveryMethodInput, SetDeliveryMethodForCurrentCartResponse, SetDeliveryMethodForCurrentCartApplicationErrors, RemoveDeliveryMethodFromCurrentCartResponse, RemoveDeliveryMethodFromCurrentCartApplicationErrors, GiftCardInput, AddGiftCardToCurrentCartResponse, AddGiftCardToCurrentCartApplicationErrors, RemoveGiftCardFromCurrentCartResponse, RemoveGiftCardFromCurrentCartApplicationErrors, UpdateFormSubmissionsInCurrentCartOptions, UpdateFormSubmissionsInCurrentCartResponse } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, ActionEvent, AddCouponRequest, AddCouponResponse, AddCouponToCurrentCartRequest, AddGiftCardRequest, AddGiftCardResponse, AddGiftCardToCurrentCartRequest, AddLineItemsRequest, AddLineItemsResponse, AddLineItemsToCurrentCartRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, Benefit, BenefitQuotaOneOf, BenefitType, BenefitTypeWithLiterals, BillingSettings, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCartResponse, CalculateCurrentCartRequest, CalculateTotalsResponse, CalculatedItemModifier, CalculatedLineItem, CalculatedPlatformFee, CalculationConfig, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CalculationOverrides, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CartAlreadyOrderedErrorData, CartEstimationIndicators, CartSettings, CartSource, CartSummary, CatalogItemInput, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, Color, ConvertedMoney, Coupon, CouponAdded, CouponAlreadyExistsErrorData, CouponNotFoundInCartErrorData, CouponRemoved, CoveredLineItem, CreateCartRequest, CreateCartResponse, CreateCurrentCartRequest, CreatedBy, CreatedByIdOneOf, CustomContentReference, CustomField, CustomItemAttributes, CustomItemDeliveryConfig, CustomItemInput, CustomItemPaymentConfig, CustomItemPricingInfo, CustomItemQuantityInfo, CustomItemSource, CustomItemTaxConfig, CustomValidationErrorData, CustomerInfo, CustomerInfoIdOneOf, DeleteCartRequest, DeleteCartResponse, DeleteCurrentCartRequest, DeleteCurrentCartResponse, DeliveryAllocation, DeliveryInfo, DeliveryLogistics, DeliveryMethod, DeliveryMethodNotFoundErrorData, DeliverySummary, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, Discount, DiscountBenefit, DiscountBenefitValueOneOf, DiscountRule, DiscountRuleName, DiscountScope, DiscountScopeWithLiterals, DiscountSource, DiscountSourceType, DiscountSourceTypeWithLiterals, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DuplicateItemModifierIdsErrorData, DuplicateLineItemUpdatesErrorData, DuplicateModifierGroupIdsErrorData, Empty, EmptyLineItemUpdatesErrorData, EmptyPaymentTokenErrorData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EstimateCartRequest, EstimateCartResponse, EstimateCurrentCartRequest, ExistingMembership, ExistingMembershipInput, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FixedQuantityItemErrorData, FormIdentifier, FormInfo, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, FutureMembership, FutureMembershipInput, GetCartRequest, GetCartResponse, GetCheckoutURLRequest, GetCheckoutURLResponse, GetCurrentCartRequest, GetUpsellOptionsForCurrentCartRequest, GetUpsellOptionsForCurrentCartResponse, GetUpsellOptionsRequest, GetUpsellOptionsResponse, GiftCard, GiftCardAdded, GiftCardAlreadyExistsErrorData, GiftCardCalculationError, GiftCardNotFoundInCartErrorData, GiftCardRedeemErrorData, GiftCardRemoved, GiftCardSummary, Group, HandleAsyncCheckoutCompletionRequest, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InsufficientInventoryEntry, InsufficientInventoryErrorData, InvalidCartErrorData, InvalidCouponCodeErrorData, InvalidCouponReason, InvalidCouponReasonWithLiterals, InvalidCouponStatusErrorData, InvalidCouponStatusErrorDataDetailsOneOf, InvalidGiftCardCodeErrorData, InvalidGiftCardReason, InvalidGiftCardReasonWithLiterals, InvalidGiftCardStatusErrorData, InvalidMembership, InvalidMembershipEntry, InvalidMembershipErrorData, InvalidMembershipPaymentOptionErrorData, InvalidMembershipReason, InvalidMembershipReasonWithLiterals, InvalidMembershipStatusErrorData, InvalidPaymentStatusErrorData, InvalidPriceVerificationTokenErrorData, InvalidThirdPartyCheckoutTokenErrorData, ItemAttributes, ItemCombination, ItemCombinationLineItem, ItemDeliveryConfig, ItemDiscount, ItemModifier, ItemNotFoundInCatalogErrorData, ItemPaymentConfig, ItemPriceBreakdown, ItemPricingInfo, ItemQuantityInfo, ItemSource, ItemStatus, ItemStatusWithLiterals, ItemTaxConfig, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, ItemUpsells, JurisdictionType, JurisdictionTypeWithLiterals, LegacyFields, LimitedQuota, LimitedQuotaType, LimitedQuotaTypeWithLiterals, LineItem, LineItemAdded, LineItemCoverage, LineItemDiscount, LineItemIdentifier, LineItemIdentifierIdOneOf, LineItemNotFoundInCartErrorData, LineItemPriceConflictErrorData, LineItemPricesData, LineItemSummary, LineItemTax, LineItemUpdate, LineItemsOutOfStockErrorData, ManualCalculationReason, ManualCalculationReasonWithLiterals, MarkCartAsCompletedRequest, MarkCartAsCompletedResponse, MaxItemModifiersExceededErrorData, MaxLineItemsExceededErrorData, MembersOnlyItemErrorData, Membership, MembershipInput, MembershipInputMembershipOneOf, MembershipName, MembershipOptions, MembershipPaymentCredits, MembershipSummary, MerchantDiscount, MessageEnvelope, MinLineItemQuantityNotReachedDetails, MinSubtotalNotReachedDetails, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentInfo, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PaymentSummary, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlaceOrderRequest, PlaceOrderResponse, PlainTextValue, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, PlatformFeeSummary, Policy, Price, PriceDescription, PriceDetails, PriceSummary, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, PurchasablePlan, QuantityUpdate, QuotaType, QuotaTypeWithLiterals, RateType, RateTypeWithLiterals, RawHttpResponse, RedirectUrls, RefreshCartRequest, RefreshCartResponse, RefreshCurrentCartRequest, Region, RemoveCouponFromCurrentCartRequest, RemoveCouponRequest, RemoveCouponResponse, RemoveDeliveryMethodFromCurrentCartRequest, RemoveDeliveryMethodRequest, RemoveDeliveryMethodResponse, RemoveGiftCardFromCurrentCartRequest, RemoveGiftCardRequest, RemoveGiftCardResponse, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsRequest, RemoveLineItemsResponse, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMembershipUpdate, SelectedMemberships, ServiceProperties, SetDeliveryMethodForCurrentCartRequest, SetDeliveryMethodRequest, SetDeliveryMethodResponse, Severity, SeverityWithLiterals, ShippingInformation, ShippingOption, ShippingPrice, ShippingRegion, Source, SourceWithLiterals, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SubtotalBelowOrderMinimumErrorData, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetTargetTypeOneOf, Tax, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxDetails, TaxInfo, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UnmarkAsCurrentCartRequest, UnmarkAsCurrentCartResponse, UpdateCartRequest, UpdateCartResponse, UpdateCurrentCartRequest, UpdateFormSubmissionsInCurrentCartRequest, UpdateFormSubmissionsRequest, UpdateFormSubmissionsResponse, UpdateLineItemsInCurrentCartRequest, UpdateLineItemsRequest, UpdateLineItemsResponse, UpsellBenefitMetadata, UpsellOption, V1AdditionalFee, V1Membership, V1PriceSummary, V2AdditionalFee, V2CalculationErrors, V2CalculationErrorsShippingCalculationErrorOneOf, V2CarrierError, V2CarrierErrors, V2Coupon, V2ExistingMembership, V2GiftCard, V2LineItem, V2LineItemDiscount, V2Membership, V2MembershipIdentifierOneOf, V2PriceSummary, V2SelectedMembership, V2TaxSummary, V2Violation, V2ViolationDataOneOf, ValidatedExistingMemberships, ValidatedPurchasablePlans, ValidationError, ValidationsConfig, ValidationsConfigWithLiterals, VatId, VatType, VatTypeWithLiterals, Violation, ViolationCode, ViolationCodeWithLiterals, ViolationScope, ViolationScopeWithLiterals, ViolationSeverity, ViolationSeverityWithLiterals, ViolationWithErrorSeverityErrorData, ViolationsList, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, ActionEvent, AddCouponRequest, AddCouponResponse, AddCouponToCurrentCartRequest, AddGiftCardRequest, AddGiftCardResponse, AddGiftCardToCurrentCartRequest, AddLineItemsRequest, AddLineItemsResponse, AddLineItemsToCurrentCartRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, Benefit, BenefitQuotaOneOf, BenefitType, BenefitTypeWithLiterals, BillingSettings, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCartResponse, CalculateCurrentCartRequest, CalculateTotalsResponse, CalculatedItemModifier, CalculatedLineItem, CalculatedPlatformFee, CalculationConfig, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CalculationOverrides, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CartAlreadyOrderedErrorData, CartEstimationIndicators, CartSettings, CartSource, CartSummary, CatalogItemInput, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, Color, ConvertedMoney, Coupon, CouponAdded, CouponAlreadyExistsErrorData, CouponNotFoundInCartErrorData, CouponRemoved, CoveredLineItem, CreateCartRequest, CreateCartResponse, CreateCurrentCartRequest, CreatedBy, CreatedByIdOneOf, CustomContentReference, CustomField, CustomItemAttributes, CustomItemDeliveryConfig, CustomItemInput, CustomItemPaymentConfig, CustomItemPricingInfo, CustomItemQuantityInfo, CustomItemSource, CustomItemTaxConfig, CustomValidationErrorData, CustomerInfo, CustomerInfoIdOneOf, DeleteCartRequest, DeleteCartResponse, DeleteCurrentCartRequest, DeleteCurrentCartResponse, DeliveryAllocation, DeliveryInfo, DeliveryLogistics, DeliveryMethod, DeliveryMethodNotFoundErrorData, DeliverySummary, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, Discount, DiscountBenefit, DiscountBenefitValueOneOf, DiscountRule, DiscountRuleName, DiscountScope, DiscountScopeWithLiterals, DiscountSource, DiscountSourceType, DiscountSourceTypeWithLiterals, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DuplicateItemModifierIdsErrorData, DuplicateLineItemUpdatesErrorData, DuplicateModifierGroupIdsErrorData, Empty, EmptyLineItemUpdatesErrorData, EmptyPaymentTokenErrorData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EstimateCartRequest, EstimateCartResponse, EstimateCurrentCartRequest, ExistingMembership, ExistingMembershipInput, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FixedQuantityItemErrorData, FormIdentifier, FormInfo, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, FutureMembership, FutureMembershipInput, GetCartRequest, GetCartResponse, GetCheckoutURLRequest, GetCheckoutURLResponse, GetCurrentCartRequest, GetUpsellOptionsForCurrentCartRequest, GetUpsellOptionsForCurrentCartResponse, GetUpsellOptionsRequest, GetUpsellOptionsResponse, GiftCard, GiftCardAdded, GiftCardAlreadyExistsErrorData, GiftCardCalculationError, GiftCardNotFoundInCartErrorData, GiftCardRedeemErrorData, GiftCardRemoved, GiftCardSummary, Group, HandleAsyncCheckoutCompletionRequest, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InsufficientInventoryEntry, InsufficientInventoryErrorData, InvalidCartErrorData, InvalidCouponCodeErrorData, InvalidCouponReason, InvalidCouponReasonWithLiterals, InvalidCouponStatusErrorData, InvalidCouponStatusErrorDataDetailsOneOf, InvalidGiftCardCodeErrorData, InvalidGiftCardReason, InvalidGiftCardReasonWithLiterals, InvalidGiftCardStatusErrorData, InvalidMembership, InvalidMembershipEntry, InvalidMembershipErrorData, InvalidMembershipPaymentOptionErrorData, InvalidMembershipReason, InvalidMembershipReasonWithLiterals, InvalidMembershipStatusErrorData, InvalidPaymentStatusErrorData, InvalidPriceVerificationTokenErrorData, InvalidThirdPartyCheckoutTokenErrorData, ItemAttributes, ItemCombination, ItemCombinationLineItem, ItemDeliveryConfig, ItemDiscount, ItemModifier, ItemNotFoundInCatalogErrorData, ItemPaymentConfig, ItemPriceBreakdown, ItemPricingInfo, ItemQuantityInfo, ItemSource, ItemStatus, ItemStatusWithLiterals, ItemTaxConfig, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, ItemUpsells, JurisdictionType, JurisdictionTypeWithLiterals, LegacyFields, LimitedQuota, LimitedQuotaType, LimitedQuotaTypeWithLiterals, LineItem, LineItemAdded, LineItemCoverage, LineItemDiscount, LineItemIdentifier, LineItemIdentifierIdOneOf, LineItemNotFoundInCartErrorData, LineItemPriceConflictErrorData, LineItemPricesData, LineItemSummary, LineItemTax, LineItemUpdate, LineItemsOutOfStockErrorData, ManualCalculationReason, ManualCalculationReasonWithLiterals, MarkCartAsCompletedRequest, MarkCartAsCompletedResponse, MaxItemModifiersExceededErrorData, MaxLineItemsExceededErrorData, MembersOnlyItemErrorData, Membership, MembershipInput, MembershipInputMembershipOneOf, MembershipName, MembershipOptions, MembershipPaymentCredits, MembershipSummary, MerchantDiscount, MessageEnvelope, MinLineItemQuantityNotReachedDetails, MinSubtotalNotReachedDetails, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentInfo, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PaymentSummary, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlaceOrderRequest, PlaceOrderResponse, PlainTextValue, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, PlatformFeeSummary, Policy, Price, PriceDescription, PriceDetails, PriceSummary, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, PurchasablePlan, QuantityUpdate, QuotaType, QuotaTypeWithLiterals, RateType, RateTypeWithLiterals, RawHttpResponse, RedemptionType, RedemptionTypeWithLiterals, RedirectUrls, RefreshCartRequest, RefreshCartResponse, RefreshCurrentCartRequest, Region, RemoveCouponFromCurrentCartRequest, RemoveCouponRequest, RemoveCouponResponse, RemoveDeliveryMethodFromCurrentCartRequest, RemoveDeliveryMethodRequest, RemoveDeliveryMethodResponse, RemoveGiftCardFromCurrentCartRequest, RemoveGiftCardRequest, RemoveGiftCardResponse, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsRequest, RemoveLineItemsResponse, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMembershipUpdate, SelectedMemberships, ServiceProperties, SetDeliveryMethodForCurrentCartRequest, SetDeliveryMethodRequest, SetDeliveryMethodResponse, Severity, SeverityWithLiterals, ShippingInformation, ShippingOption, ShippingPrice, ShippingRegion, Source, SourceWithLiterals, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SubtotalBelowOrderMinimumErrorData, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetTargetTypeOneOf, Tax, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxDetails, TaxInfo, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UnmarkAsCurrentCartRequest, UnmarkAsCurrentCartResponse, UpdateCartRequest, UpdateCartResponse, UpdateCurrentCartRequest, UpdateFormSubmissionsInCurrentCartRequest, UpdateFormSubmissionsRequest, UpdateFormSubmissionsResponse, UpdateLineItemsInCurrentCartRequest, UpdateLineItemsRequest, UpdateLineItemsResponse, UpsellBenefitMetadata, UpsellOption, V1AdditionalFee, V1Membership, V1PriceSummary, V2AdditionalFee, V2CalculationErrors, V2CalculationErrorsShippingCalculationErrorOneOf, V2CarrierError, V2CarrierErrors, V2Coupon, V2ExistingMembership, V2GiftCard, V2LineItem, V2LineItemDiscount, V2Membership, V2MembershipIdentifierOneOf, V2PriceSummary, V2SelectedMembership, V2TaxSummary, V2Violation, V2ViolationDataOneOf, ValidatedExistingMemberships, ValidatedPurchasablePlans, ValidationError, ValidationsConfig, ValidationsConfigWithLiterals, VatId, VatType, VatTypeWithLiterals, Violation, ViolationCode, ViolationCodeWithLiterals, ViolationScope, ViolationScopeWithLiterals, ViolationSeverity, ViolationSeverityWithLiterals, ViolationWithErrorSeverityErrorData, ViolationsList, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createCurrentCart$1(httpClient: HttpClient): CreateCurrentCartSignature;
|
|
6
6
|
interface CreateCurrentCartSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -48,6 +48,7 @@ __export(index_exports, {
|
|
|
48
48
|
ProductPeriodAlignment: () => ProductPeriodAlignment,
|
|
49
49
|
QuotaType: () => QuotaType,
|
|
50
50
|
RateType: () => RateType,
|
|
51
|
+
RedemptionType: () => RedemptionType,
|
|
51
52
|
RuleType: () => RuleType,
|
|
52
53
|
Severity: () => Severity,
|
|
53
54
|
Source: () => Source,
|
|
@@ -224,7 +225,6 @@ function createCurrentCart(payload) {
|
|
|
224
225
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
225
226
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
226
227
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
227
|
-
{ path: "cart.legacyFields.discounts.merchantDiscount.percentage" },
|
|
228
228
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" },
|
|
229
229
|
{
|
|
230
230
|
path: "catalogItems.catalogOverrideFields.physicalProperties.weight"
|
|
@@ -277,9 +277,6 @@ function createCurrentCart(payload) {
|
|
|
277
277
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
278
278
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
279
279
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
280
|
-
{
|
|
281
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
282
|
-
},
|
|
283
280
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
284
281
|
]
|
|
285
282
|
}
|
|
@@ -335,9 +332,6 @@ function getCurrentCart(payload) {
|
|
|
335
332
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
336
333
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
337
334
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
338
|
-
{
|
|
339
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
340
|
-
},
|
|
341
335
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
342
336
|
]
|
|
343
337
|
}
|
|
@@ -381,7 +375,6 @@ function updateCurrentCart(payload) {
|
|
|
381
375
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
382
376
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
383
377
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
384
|
-
{ path: "cart.legacyFields.discounts.merchantDiscount.percentage" },
|
|
385
378
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
386
379
|
]
|
|
387
380
|
}
|
|
@@ -430,9 +423,6 @@ function updateCurrentCart(payload) {
|
|
|
430
423
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
431
424
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
432
425
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
433
|
-
{
|
|
434
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
435
|
-
},
|
|
436
426
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
437
427
|
]
|
|
438
428
|
}
|
|
@@ -509,9 +499,6 @@ function refreshCurrentCart(payload) {
|
|
|
509
499
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
510
500
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
511
501
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
512
|
-
{
|
|
513
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
514
|
-
},
|
|
515
502
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
516
503
|
]
|
|
517
504
|
}
|
|
@@ -570,9 +557,6 @@ function calculateCurrentCart(payload) {
|
|
|
570
557
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
571
558
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
572
559
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
573
|
-
{
|
|
574
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
575
|
-
},
|
|
576
560
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
577
561
|
]
|
|
578
562
|
}
|
|
@@ -631,9 +615,6 @@ function estimateCurrentCart(payload) {
|
|
|
631
615
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
632
616
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
633
617
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
634
|
-
{
|
|
635
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
636
|
-
},
|
|
637
618
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
638
619
|
]
|
|
639
620
|
}
|
|
@@ -714,9 +695,6 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
714
695
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
715
696
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
716
697
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
717
|
-
{
|
|
718
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
719
|
-
},
|
|
720
698
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
721
699
|
]
|
|
722
700
|
}
|
|
@@ -772,9 +750,6 @@ function removeLineItemsFromCurrentCart(payload) {
|
|
|
772
750
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
773
751
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
774
752
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
775
|
-
{
|
|
776
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
777
|
-
},
|
|
778
753
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
779
754
|
]
|
|
780
755
|
}
|
|
@@ -830,9 +805,6 @@ function updateLineItemsInCurrentCart(payload) {
|
|
|
830
805
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
831
806
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
832
807
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
833
|
-
{
|
|
834
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
835
|
-
},
|
|
836
808
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
837
809
|
]
|
|
838
810
|
}
|
|
@@ -888,9 +860,6 @@ function addCouponToCurrentCart(payload) {
|
|
|
888
860
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
889
861
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
890
862
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
891
|
-
{
|
|
892
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
893
|
-
},
|
|
894
863
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
895
864
|
]
|
|
896
865
|
}
|
|
@@ -946,9 +915,6 @@ function removeCouponFromCurrentCart(payload) {
|
|
|
946
915
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
947
916
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
948
917
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
949
|
-
{
|
|
950
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
951
|
-
},
|
|
952
918
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
953
919
|
]
|
|
954
920
|
}
|
|
@@ -1004,9 +970,6 @@ function setDeliveryMethodForCurrentCart(payload) {
|
|
|
1004
970
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
1005
971
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
1006
972
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1007
|
-
{
|
|
1008
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1009
|
-
},
|
|
1010
973
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1011
974
|
]
|
|
1012
975
|
}
|
|
@@ -1062,9 +1025,6 @@ function removeDeliveryMethodFromCurrentCart(payload) {
|
|
|
1062
1025
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
1063
1026
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
1064
1027
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1065
|
-
{
|
|
1066
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1067
|
-
},
|
|
1068
1028
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1069
1029
|
]
|
|
1070
1030
|
}
|
|
@@ -1120,9 +1080,6 @@ function addGiftCardToCurrentCart(payload) {
|
|
|
1120
1080
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
1121
1081
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
1122
1082
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1123
|
-
{
|
|
1124
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1125
|
-
},
|
|
1126
1083
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1127
1084
|
]
|
|
1128
1085
|
}
|
|
@@ -1178,9 +1135,6 @@ function removeGiftCardFromCurrentCart(payload) {
|
|
|
1178
1135
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
1179
1136
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
1180
1137
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1181
|
-
{
|
|
1182
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1183
|
-
},
|
|
1184
1138
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1185
1139
|
]
|
|
1186
1140
|
}
|
|
@@ -1236,9 +1190,6 @@ function updateFormSubmissionsInCurrentCart(payload) {
|
|
|
1236
1190
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
1237
1191
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
1238
1192
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1239
|
-
{
|
|
1240
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1241
|
-
},
|
|
1242
1193
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1243
1194
|
]
|
|
1244
1195
|
}
|
|
@@ -1340,6 +1291,11 @@ var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
|
1340
1291
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
1341
1292
|
return TaxableAddressType2;
|
|
1342
1293
|
})(TaxableAddressType || {});
|
|
1294
|
+
var RedemptionType = /* @__PURE__ */ ((RedemptionType2) => {
|
|
1295
|
+
RedemptionType2["CREDITS"] = "CREDITS";
|
|
1296
|
+
RedemptionType2["SESSIONS"] = "SESSIONS";
|
|
1297
|
+
return RedemptionType2;
|
|
1298
|
+
})(RedemptionType || {});
|
|
1343
1299
|
var ItemStatus = /* @__PURE__ */ ((ItemStatus2) => {
|
|
1344
1300
|
ItemStatus2["IN_STOCK"] = "IN_STOCK";
|
|
1345
1301
|
ItemStatus2["PARTIALLY_IN_STOCK"] = "PARTIALLY_IN_STOCK";
|
|
@@ -1387,6 +1343,12 @@ var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
|
1387
1343
|
WeightUnit2["LB"] = "LB";
|
|
1388
1344
|
return WeightUnit2;
|
|
1389
1345
|
})(WeightUnit || {});
|
|
1346
|
+
var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
1347
|
+
DiscountType2["GLOBAL"] = "GLOBAL";
|
|
1348
|
+
DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
|
|
1349
|
+
DiscountType2["SHIPPING"] = "SHIPPING";
|
|
1350
|
+
return DiscountType2;
|
|
1351
|
+
})(DiscountType || {});
|
|
1390
1352
|
var DiscountScope = /* @__PURE__ */ ((DiscountScope2) => {
|
|
1391
1353
|
DiscountScope2["UNKNOWN_DISCOUNT_SCOPE"] = "UNKNOWN_DISCOUNT_SCOPE";
|
|
1392
1354
|
DiscountScope2["CART_SUBTOTAL"] = "CART_SUBTOTAL";
|
|
@@ -1394,12 +1356,6 @@ var DiscountScope = /* @__PURE__ */ ((DiscountScope2) => {
|
|
|
1394
1356
|
DiscountScope2["DELIVERY"] = "DELIVERY";
|
|
1395
1357
|
return DiscountScope2;
|
|
1396
1358
|
})(DiscountScope || {});
|
|
1397
|
-
var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
1398
|
-
DiscountType2["GLOBAL"] = "GLOBAL";
|
|
1399
|
-
DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
|
|
1400
|
-
DiscountType2["SHIPPING"] = "SHIPPING";
|
|
1401
|
-
return DiscountType2;
|
|
1402
|
-
})(DiscountType || {});
|
|
1403
1359
|
var Source = /* @__PURE__ */ ((Source2) => {
|
|
1404
1360
|
Source2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
1405
1361
|
Source2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
@@ -2630,6 +2586,7 @@ var getUpsellOptionsForCurrentCart4 = /* @__PURE__ */ (0, import_rest_modules3.c
|
|
|
2630
2586
|
ProductPeriodAlignment,
|
|
2631
2587
|
QuotaType,
|
|
2632
2588
|
RateType,
|
|
2589
|
+
RedemptionType,
|
|
2633
2590
|
RuleType,
|
|
2634
2591
|
Severity,
|
|
2635
2592
|
Source,
|