@wix/auto_sdk_ecom_cart-v-2 1.0.165 → 1.0.167
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 -59
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +138 -143
- package/build/cjs/index.typings.js +13 -59
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +138 -143
- package/build/cjs/meta.js +13 -59
- 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 -59
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +138 -143
- package/build/es/index.typings.mjs +12 -59
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +138 -143
- package/build/es/meta.mjs +12 -59
- 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 -59
- 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 -59
- 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 -59
- 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 -59
- 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 -59
- 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 -59
- 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 { CreateCartOptions, Cart, CreateCartApplicationErrors, UpdateCart, UpdateCartApplicationErrors, RefreshCartResponse, RefreshCartApplicationErrors, EstimateCartOptions, EstimateCartResponse, EstimateCartApplicationErrors, CalculateCartOptions, CalculateCartResponse, CalculateCartApplicationErrors, GetCheckoutUrlOptions, GetCheckoutURLResponse, GetCheckoutUrlApplicationErrors, PlaceOrderOptions, PlaceOrderResponse, PlaceOrderApplicationErrors, AddLineItemsOptions, AddLineItemsResponse, AddLineItemsApplicationErrors, RemoveLineItemsResponse, RemoveLineItemsApplicationErrors, UpdateLineItemsOptions, UpdateLineItemsResponse, UpdateLineItemsApplicationErrors, CouponInput, AddCouponResponse, AddCouponApplicationErrors, RemoveCouponResponse, RemoveCouponApplicationErrors, DeliveryMethodInput, SetDeliveryMethodResponse, SetDeliveryMethodApplicationErrors, RemoveDeliveryMethodResponse, RemoveDeliveryMethodApplicationErrors, GiftCardInput, AddGiftCardResponse, AddGiftCardApplicationErrors, RemoveGiftCardResponse, RemoveGiftCardApplicationErrors, MarkCartAsCompletedOptions, MarkCartAsCompletedResponse, RawHttpResponse, UpdateFormSubmissionsOptions, UpdateFormSubmissionsResponse } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, ActionEvent, AddCouponRequest, AddCouponToCurrentCartRequest, AddCouponToCurrentCartResponse, AddGiftCardRequest, AddGiftCardToCurrentCartRequest, AddGiftCardToCurrentCartResponse, AddLineItemsRequest, AddLineItemsToCurrentCartRequest, AddLineItemsToCurrentCartResponse, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, Benefit, BenefitQuotaOneOf, BenefitType, BenefitTypeWithLiterals, BillingSettings, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCurrentCartRequest, CalculateCurrentCartResponse, 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, CreateCurrentCartResponse, 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, EstimateCurrentCartRequest, EstimateCurrentCartResponse, ExistingMembership, ExistingMembershipInput, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FixedQuantityItemErrorData, FormIdentifier, FormInfo, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, FutureMembership, FutureMembershipInput, GetCartRequest, GetCartResponse, GetCheckoutURLRequest, GetCurrentCartRequest, GetCurrentCartResponse, 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, 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, PlainTextValue, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, PlatformFeeSummary, Policy, Price, PriceDescription, PriceDetails, PriceSummary, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, PurchasablePlan, QuantityUpdate, QuotaType, QuotaTypeWithLiterals, RateType, RateTypeWithLiterals, RedirectUrls, RefreshCartRequest, RefreshCurrentCartRequest, RefreshCurrentCartResponse, Region, RemoveCouponFromCurrentCartRequest, RemoveCouponFromCurrentCartResponse, RemoveCouponRequest, RemoveDeliveryMethodFromCurrentCartRequest, RemoveDeliveryMethodFromCurrentCartResponse, RemoveDeliveryMethodRequest, RemoveGiftCardFromCurrentCartRequest, RemoveGiftCardFromCurrentCartResponse, RemoveGiftCardRequest, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsFromCurrentCartResponse, RemoveLineItemsRequest, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMembershipUpdate, SelectedMemberships, ServiceProperties, SetDeliveryMethodForCurrentCartRequest, SetDeliveryMethodForCurrentCartResponse, SetDeliveryMethodRequest, 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, UpdateCurrentCartResponse, UpdateFormSubmissionsInCurrentCartRequest, UpdateFormSubmissionsInCurrentCartResponse, UpdateFormSubmissionsRequest, UpdateLineItemsInCurrentCartRequest, UpdateLineItemsInCurrentCartResponse, UpdateLineItemsRequest, 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, AddCouponToCurrentCartRequest, AddCouponToCurrentCartResponse, AddGiftCardRequest, AddGiftCardToCurrentCartRequest, AddGiftCardToCurrentCartResponse, AddLineItemsRequest, AddLineItemsToCurrentCartRequest, AddLineItemsToCurrentCartResponse, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, Benefit, BenefitQuotaOneOf, BenefitType, BenefitTypeWithLiterals, BillingSettings, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCurrentCartRequest, CalculateCurrentCartResponse, 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, CreateCurrentCartResponse, 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, EstimateCurrentCartRequest, EstimateCurrentCartResponse, ExistingMembership, ExistingMembershipInput, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FixedQuantityItemErrorData, FormIdentifier, FormInfo, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, FutureMembership, FutureMembershipInput, GetCartRequest, GetCartResponse, GetCheckoutURLRequest, GetCurrentCartRequest, GetCurrentCartResponse, 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, 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, PlainTextValue, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, PlatformFeeSummary, Policy, Price, PriceDescription, PriceDetails, PriceSummary, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, PurchasablePlan, QuantityUpdate, QuotaType, QuotaTypeWithLiterals, RateType, RateTypeWithLiterals, RedemptionType, RedemptionTypeWithLiterals, RedirectUrls, RefreshCartRequest, RefreshCurrentCartRequest, RefreshCurrentCartResponse, Region, RemoveCouponFromCurrentCartRequest, RemoveCouponFromCurrentCartResponse, RemoveCouponRequest, RemoveDeliveryMethodFromCurrentCartRequest, RemoveDeliveryMethodFromCurrentCartResponse, RemoveDeliveryMethodRequest, RemoveGiftCardFromCurrentCartRequest, RemoveGiftCardFromCurrentCartResponse, RemoveGiftCardRequest, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsFromCurrentCartResponse, RemoveLineItemsRequest, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMembershipUpdate, SelectedMemberships, ServiceProperties, SetDeliveryMethodForCurrentCartRequest, SetDeliveryMethodForCurrentCartResponse, SetDeliveryMethodRequest, 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, UpdateCurrentCartResponse, UpdateFormSubmissionsInCurrentCartRequest, UpdateFormSubmissionsInCurrentCartResponse, UpdateFormSubmissionsRequest, UpdateLineItemsInCurrentCartRequest, UpdateLineItemsInCurrentCartResponse, UpdateLineItemsRequest, 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 createCart$1(httpClient: HttpClient): CreateCartSignature;
|
|
6
6
|
interface CreateCartSignature {
|
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,
|
|
@@ -229,7 +230,6 @@ function createCart(payload) {
|
|
|
229
230
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
230
231
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
231
232
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
232
|
-
{ path: "cart.legacyFields.discounts.merchantDiscount.percentage" },
|
|
233
233
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" },
|
|
234
234
|
{
|
|
235
235
|
path: "catalogItems.catalogOverrideFields.physicalProperties.weight"
|
|
@@ -282,9 +282,6 @@ function createCart(payload) {
|
|
|
282
282
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
283
283
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
284
284
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
285
|
-
{
|
|
286
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
287
|
-
},
|
|
288
285
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
289
286
|
]
|
|
290
287
|
}
|
|
@@ -340,9 +337,6 @@ function getCart(payload) {
|
|
|
340
337
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
341
338
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
342
339
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
343
|
-
{
|
|
344
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
345
|
-
},
|
|
346
340
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
347
341
|
]
|
|
348
342
|
}
|
|
@@ -407,7 +401,6 @@ function updateCart(payload) {
|
|
|
407
401
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
408
402
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
409
403
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
410
|
-
{ path: "cart.legacyFields.discounts.merchantDiscount.percentage" },
|
|
411
404
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
412
405
|
]
|
|
413
406
|
}
|
|
@@ -456,9 +449,6 @@ function updateCart(payload) {
|
|
|
456
449
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
457
450
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
458
451
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
459
|
-
{
|
|
460
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
461
|
-
},
|
|
462
452
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
463
453
|
]
|
|
464
454
|
}
|
|
@@ -535,9 +525,6 @@ function refreshCart(payload) {
|
|
|
535
525
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
536
526
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
537
527
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
538
|
-
{
|
|
539
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
540
|
-
},
|
|
541
528
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
542
529
|
]
|
|
543
530
|
}
|
|
@@ -596,9 +583,6 @@ function estimateCart(payload) {
|
|
|
596
583
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
597
584
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
598
585
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
599
|
-
{
|
|
600
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
601
|
-
},
|
|
602
586
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
603
587
|
]
|
|
604
588
|
}
|
|
@@ -657,9 +641,6 @@ function calculateCart(payload) {
|
|
|
657
641
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
658
642
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
659
643
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
660
|
-
{
|
|
661
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
662
|
-
},
|
|
663
644
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
664
645
|
]
|
|
665
646
|
}
|
|
@@ -782,9 +763,6 @@ function addLineItems(payload) {
|
|
|
782
763
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
783
764
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
784
765
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
785
|
-
{
|
|
786
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
787
|
-
},
|
|
788
766
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
789
767
|
]
|
|
790
768
|
}
|
|
@@ -840,9 +818,6 @@ function removeLineItems(payload) {
|
|
|
840
818
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
841
819
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
842
820
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
843
|
-
{
|
|
844
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
845
|
-
},
|
|
846
821
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
847
822
|
]
|
|
848
823
|
}
|
|
@@ -898,9 +873,6 @@ function updateLineItems(payload) {
|
|
|
898
873
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
899
874
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
900
875
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
901
|
-
{
|
|
902
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
903
|
-
},
|
|
904
876
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
905
877
|
]
|
|
906
878
|
}
|
|
@@ -956,9 +928,6 @@ function addCoupon(payload) {
|
|
|
956
928
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
957
929
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
958
930
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
959
|
-
{
|
|
960
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
961
|
-
},
|
|
962
931
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
963
932
|
]
|
|
964
933
|
}
|
|
@@ -1014,9 +983,6 @@ function removeCoupon(payload) {
|
|
|
1014
983
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
1015
984
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
1016
985
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1017
|
-
{
|
|
1018
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1019
|
-
},
|
|
1020
986
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1021
987
|
]
|
|
1022
988
|
}
|
|
@@ -1072,9 +1038,6 @@ function setDeliveryMethod(payload) {
|
|
|
1072
1038
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
1073
1039
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
1074
1040
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1075
|
-
{
|
|
1076
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1077
|
-
},
|
|
1078
1041
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1079
1042
|
]
|
|
1080
1043
|
}
|
|
@@ -1130,9 +1093,6 @@ function removeDeliveryMethod(payload) {
|
|
|
1130
1093
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
1131
1094
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
1132
1095
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1133
|
-
{
|
|
1134
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1135
|
-
},
|
|
1136
1096
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1137
1097
|
]
|
|
1138
1098
|
}
|
|
@@ -1188,9 +1148,6 @@ function addGiftCard(payload) {
|
|
|
1188
1148
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
1189
1149
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
1190
1150
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1191
|
-
{
|
|
1192
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1193
|
-
},
|
|
1194
1151
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1195
1152
|
]
|
|
1196
1153
|
}
|
|
@@ -1246,9 +1203,6 @@ function removeGiftCard(payload) {
|
|
|
1246
1203
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
1247
1204
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
1248
1205
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1249
|
-
{
|
|
1250
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1251
|
-
},
|
|
1252
1206
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1253
1207
|
]
|
|
1254
1208
|
}
|
|
@@ -1304,9 +1258,6 @@ function markCartAsCompleted(payload) {
|
|
|
1304
1258
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
1305
1259
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
1306
1260
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1307
|
-
{
|
|
1308
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1309
|
-
},
|
|
1310
1261
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1311
1262
|
]
|
|
1312
1263
|
}
|
|
@@ -1389,9 +1340,6 @@ function updateFormSubmissions(payload) {
|
|
|
1389
1340
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
1390
1341
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
1391
1342
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1392
|
-
{
|
|
1393
|
-
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1394
|
-
},
|
|
1395
1343
|
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1396
1344
|
]
|
|
1397
1345
|
}
|
|
@@ -1472,6 +1420,11 @@ var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
|
1472
1420
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
1473
1421
|
return TaxableAddressType2;
|
|
1474
1422
|
})(TaxableAddressType || {});
|
|
1423
|
+
var RedemptionType = /* @__PURE__ */ ((RedemptionType2) => {
|
|
1424
|
+
RedemptionType2["CREDITS"] = "CREDITS";
|
|
1425
|
+
RedemptionType2["SESSIONS"] = "SESSIONS";
|
|
1426
|
+
return RedemptionType2;
|
|
1427
|
+
})(RedemptionType || {});
|
|
1475
1428
|
var ItemStatus = /* @__PURE__ */ ((ItemStatus2) => {
|
|
1476
1429
|
ItemStatus2["IN_STOCK"] = "IN_STOCK";
|
|
1477
1430
|
ItemStatus2["PARTIALLY_IN_STOCK"] = "PARTIALLY_IN_STOCK";
|
|
@@ -1519,6 +1472,12 @@ var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
|
1519
1472
|
WeightUnit2["LB"] = "LB";
|
|
1520
1473
|
return WeightUnit2;
|
|
1521
1474
|
})(WeightUnit || {});
|
|
1475
|
+
var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
1476
|
+
DiscountType2["GLOBAL"] = "GLOBAL";
|
|
1477
|
+
DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
|
|
1478
|
+
DiscountType2["SHIPPING"] = "SHIPPING";
|
|
1479
|
+
return DiscountType2;
|
|
1480
|
+
})(DiscountType || {});
|
|
1522
1481
|
var DiscountScope = /* @__PURE__ */ ((DiscountScope2) => {
|
|
1523
1482
|
DiscountScope2["UNKNOWN_DISCOUNT_SCOPE"] = "UNKNOWN_DISCOUNT_SCOPE";
|
|
1524
1483
|
DiscountScope2["CART_SUBTOTAL"] = "CART_SUBTOTAL";
|
|
@@ -1526,12 +1485,6 @@ var DiscountScope = /* @__PURE__ */ ((DiscountScope2) => {
|
|
|
1526
1485
|
DiscountScope2["DELIVERY"] = "DELIVERY";
|
|
1527
1486
|
return DiscountScope2;
|
|
1528
1487
|
})(DiscountScope || {});
|
|
1529
|
-
var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
1530
|
-
DiscountType2["GLOBAL"] = "GLOBAL";
|
|
1531
|
-
DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
|
|
1532
|
-
DiscountType2["SHIPPING"] = "SHIPPING";
|
|
1533
|
-
return DiscountType2;
|
|
1534
|
-
})(DiscountType || {});
|
|
1535
1488
|
var Source = /* @__PURE__ */ ((Source2) => {
|
|
1536
1489
|
Source2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
1537
1490
|
Source2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
@@ -2980,6 +2933,7 @@ var updateFormSubmissions4 = /* @__PURE__ */ (0, import_rest_modules3.createREST
|
|
|
2980
2933
|
ProductPeriodAlignment,
|
|
2981
2934
|
QuotaType,
|
|
2982
2935
|
RateType,
|
|
2936
|
+
RedemptionType,
|
|
2983
2937
|
RuleType,
|
|
2984
2938
|
Severity,
|
|
2985
2939
|
Source,
|