@wix/auto_sdk_ecom_current-cart-v-2 1.0.143 → 1.0.145
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 +37 -17
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +43 -22
- package/build/cjs/index.typings.js +37 -17
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +43 -22
- package/build/cjs/meta.js +36 -17
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +46 -0
- package/build/cjs/schemas.js +124 -64
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +37 -17
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +43 -22
- package/build/es/index.typings.mjs +37 -17
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +43 -22
- package/build/es/meta.mjs +36 -17
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +46 -0
- package/build/es/schemas.mjs +124 -64
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +37 -17
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +50 -23
- package/build/internal/cjs/index.typings.js +37 -17
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +43 -22
- package/build/internal/cjs/meta.js +36 -17
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +46 -0
- package/build/internal/cjs/schemas.js +124 -64
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +37 -17
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +50 -23
- package/build/internal/es/index.typings.mjs +37 -17
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +43 -22
- package/build/internal/es/meta.mjs +36 -17
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +46 -0
- package/build/internal/es/schemas.mjs +124 -64
- 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, BillingSettings, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCartResponse, CalculateCurrentCartRequest, CalculateTotalsResponse, CalculatedItemModifier, CalculatedLineItem, CalculatedPlatformFee, CalculationConfig, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CalculationOverrides, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CartAlreadyOrderedErrorData, CartSettings, CartSource, CartSummary, CatalogItemInput, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, CheckoutStage, CheckoutStageWithLiterals, Color, ConvertedMoney, Coupon, CouponAdded, CouponAlreadyExistsErrorData, CouponNotFoundInCartErrorData, CouponRemoved, 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, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FixedQuantityItemErrorData, FormIdentifier, FormInfo, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, GetCartRequest, GetCartResponse, GetCheckoutURLRequest, GetCheckoutURLResponse, GetCurrentCartRequest, 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, InvalidPaymentStatusErrorData, InvalidPriceVerificationTokenErrorData, InvalidThirdPartyCheckoutTokenErrorData, ItemAttributes, ItemCombination, ItemCombinationLineItem, ItemDeliveryConfig, ItemDiscount, ItemModifier, ItemNotFoundInCatalogErrorData, ItemPaymentConfig, ItemPriceBreakdown, ItemPricingInfo, ItemQuantityInfo, ItemSource, ItemStatus, ItemStatusWithLiterals, ItemTaxConfig, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LegacyFields, LineItem, LineItemAdded, LineItemDiscount, LineItemIdentifier, LineItemIdentifierIdOneOf, LineItemNotFoundInCartErrorData, LineItemPriceConflictErrorData, LineItemPricesData, LineItemSummary, LineItemTax, LineItemUpdate, LineItemsOutOfStockErrorData, ManualCalculationReason, ManualCalculationReasonWithLiterals, MarkCartAsCompletedRequest, MarkCartAsCompletedResponse, MaxItemModifiersExceededErrorData, MaxLineItemsExceededErrorData, MembersOnlyItemErrorData, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, 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, PriceDescription, PriceSummary, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, QuantityUpdate, 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, Stage, StageStagesOneOf, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, 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, V1AdditionalFee, V2AdditionalFee, V2CalculationErrors, V2CalculationErrorsShippingCalculationErrorOneOf, V2CarrierError, V2CarrierErrors, V2Coupon, V2GiftCard, V2LineItem, V2LineItemDiscount, V2Membership, V2PriceSummary, V2SelectedMembership, V2TaxSummary, V2Violation, V2ViolationDataOneOf, 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, 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, CheckoutStage, CheckoutStageWithLiterals, Color, ConvertedMoney, Coupon, CouponAdded, CouponAlreadyExistsErrorData, CouponNotFoundInCartErrorData, CouponRemoved, 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, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FixedQuantityItemErrorData, FormIdentifier, FormInfo, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, GetCartRequest, GetCartResponse, GetCheckoutURLRequest, GetCheckoutURLResponse, GetCurrentCartRequest, 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, InvalidPaymentStatusErrorData, InvalidPriceVerificationTokenErrorData, InvalidThirdPartyCheckoutTokenErrorData, ItemAttributes, ItemCombination, ItemCombinationLineItem, ItemDeliveryConfig, ItemDiscount, ItemModifier, ItemNotFoundInCatalogErrorData, ItemPaymentConfig, ItemPriceBreakdown, ItemPricingInfo, ItemQuantityInfo, ItemSource, ItemStatus, ItemStatusWithLiterals, ItemTaxConfig, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LegacyFields, LineItem, LineItemAdded, LineItemDiscount, LineItemIdentifier, LineItemIdentifierIdOneOf, LineItemNotFoundInCartErrorData, LineItemPriceConflictErrorData, LineItemPricesData, LineItemSummary, LineItemTax, LineItemUpdate, LineItemsOutOfStockErrorData, ManualCalculationReason, ManualCalculationReasonWithLiterals, MarkCartAsCompletedRequest, MarkCartAsCompletedResponse, MaxItemModifiersExceededErrorData, MaxLineItemsExceededErrorData, MembersOnlyItemErrorData, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, 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, PriceDescription, PriceSummary, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, QuantityUpdate, 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, Stage, StageStagesOneOf, 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, V1AdditionalFee, V2AdditionalFee, V2CalculationErrors, V2CalculationErrorsShippingCalculationErrorOneOf, V2CarrierError, V2CarrierErrors, V2Coupon, V2GiftCard, V2LineItem, V2LineItemDiscount, V2Membership, V2PriceSummary, V2SelectedMembership, V2TaxSummary, V2Violation, V2ViolationDataOneOf, 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
|
@@ -221,6 +221,7 @@ function createCurrentCart(payload) {
|
|
|
221
221
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
222
222
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
223
223
|
{ path: "cart.legacyFields.discounts.merchantDiscount.percentage" },
|
|
224
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" },
|
|
224
225
|
{
|
|
225
226
|
path: "catalogItems.catalogOverrideFields.physicalProperties.weight"
|
|
226
227
|
},
|
|
@@ -274,7 +275,8 @@ function createCurrentCart(payload) {
|
|
|
274
275
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
275
276
|
{
|
|
276
277
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
277
|
-
}
|
|
278
|
+
},
|
|
279
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
278
280
|
]
|
|
279
281
|
}
|
|
280
282
|
])
|
|
@@ -331,7 +333,8 @@ function getCurrentCart(payload) {
|
|
|
331
333
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
332
334
|
{
|
|
333
335
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
334
|
-
}
|
|
336
|
+
},
|
|
337
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
335
338
|
]
|
|
336
339
|
}
|
|
337
340
|
])
|
|
@@ -374,7 +377,8 @@ function updateCurrentCart(payload) {
|
|
|
374
377
|
{ path: "cart.deliveryInfo.address.geocode.longitude" },
|
|
375
378
|
{ path: "cart.paymentInfo.billingAddress.geocode.latitude" },
|
|
376
379
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
377
|
-
{ path: "cart.legacyFields.discounts.merchantDiscount.percentage" }
|
|
380
|
+
{ path: "cart.legacyFields.discounts.merchantDiscount.percentage" },
|
|
381
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
378
382
|
]
|
|
379
383
|
}
|
|
380
384
|
]);
|
|
@@ -424,7 +428,8 @@ function updateCurrentCart(payload) {
|
|
|
424
428
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
425
429
|
{
|
|
426
430
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
427
|
-
}
|
|
431
|
+
},
|
|
432
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
428
433
|
]
|
|
429
434
|
}
|
|
430
435
|
])
|
|
@@ -502,7 +507,8 @@ function refreshCurrentCart(payload) {
|
|
|
502
507
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
503
508
|
{
|
|
504
509
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
505
|
-
}
|
|
510
|
+
},
|
|
511
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
506
512
|
]
|
|
507
513
|
}
|
|
508
514
|
])
|
|
@@ -562,7 +568,8 @@ function calculateCurrentCart(payload) {
|
|
|
562
568
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
563
569
|
{
|
|
564
570
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
565
|
-
}
|
|
571
|
+
},
|
|
572
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
566
573
|
]
|
|
567
574
|
}
|
|
568
575
|
])
|
|
@@ -622,7 +629,8 @@ function estimateCurrentCart(payload) {
|
|
|
622
629
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
623
630
|
{
|
|
624
631
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
625
|
-
}
|
|
632
|
+
},
|
|
633
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
626
634
|
]
|
|
627
635
|
}
|
|
628
636
|
])
|
|
@@ -704,7 +712,8 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
704
712
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
705
713
|
{
|
|
706
714
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
707
|
-
}
|
|
715
|
+
},
|
|
716
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
708
717
|
]
|
|
709
718
|
}
|
|
710
719
|
])
|
|
@@ -761,7 +770,8 @@ function removeLineItemsFromCurrentCart(payload) {
|
|
|
761
770
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
762
771
|
{
|
|
763
772
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
764
|
-
}
|
|
773
|
+
},
|
|
774
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
765
775
|
]
|
|
766
776
|
}
|
|
767
777
|
])
|
|
@@ -818,7 +828,8 @@ function updateLineItemsInCurrentCart(payload) {
|
|
|
818
828
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
819
829
|
{
|
|
820
830
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
821
|
-
}
|
|
831
|
+
},
|
|
832
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
822
833
|
]
|
|
823
834
|
}
|
|
824
835
|
])
|
|
@@ -875,7 +886,8 @@ function addCouponToCurrentCart(payload) {
|
|
|
875
886
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
876
887
|
{
|
|
877
888
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
878
|
-
}
|
|
889
|
+
},
|
|
890
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
879
891
|
]
|
|
880
892
|
}
|
|
881
893
|
])
|
|
@@ -932,7 +944,8 @@ function removeCouponFromCurrentCart(payload) {
|
|
|
932
944
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
933
945
|
{
|
|
934
946
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
935
|
-
}
|
|
947
|
+
},
|
|
948
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
936
949
|
]
|
|
937
950
|
}
|
|
938
951
|
])
|
|
@@ -989,7 +1002,8 @@ function setDeliveryMethodForCurrentCart(payload) {
|
|
|
989
1002
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
990
1003
|
{
|
|
991
1004
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
992
|
-
}
|
|
1005
|
+
},
|
|
1006
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
993
1007
|
]
|
|
994
1008
|
}
|
|
995
1009
|
])
|
|
@@ -1046,7 +1060,8 @@ function removeDeliveryMethodFromCurrentCart(payload) {
|
|
|
1046
1060
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1047
1061
|
{
|
|
1048
1062
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1049
|
-
}
|
|
1063
|
+
},
|
|
1064
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1050
1065
|
]
|
|
1051
1066
|
}
|
|
1052
1067
|
])
|
|
@@ -1103,7 +1118,8 @@ function addGiftCardToCurrentCart(payload) {
|
|
|
1103
1118
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1104
1119
|
{
|
|
1105
1120
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1106
|
-
}
|
|
1121
|
+
},
|
|
1122
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1107
1123
|
]
|
|
1108
1124
|
}
|
|
1109
1125
|
])
|
|
@@ -1160,7 +1176,8 @@ function removeGiftCardFromCurrentCart(payload) {
|
|
|
1160
1176
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1161
1177
|
{
|
|
1162
1178
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1163
|
-
}
|
|
1179
|
+
},
|
|
1180
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1164
1181
|
]
|
|
1165
1182
|
}
|
|
1166
1183
|
])
|
|
@@ -1217,7 +1234,8 @@ function updateFormSubmissionsInCurrentCart(payload) {
|
|
|
1217
1234
|
{ path: "cart.paymentInfo.billingAddress.geocode.longitude" },
|
|
1218
1235
|
{
|
|
1219
1236
|
path: "cart.legacyFields.discounts.merchantDiscount.percentage"
|
|
1220
|
-
}
|
|
1237
|
+
},
|
|
1238
|
+
{ path: "cart.tcAppliedDiscounts.merchantDiscount.percentage" }
|
|
1221
1239
|
]
|
|
1222
1240
|
}
|
|
1223
1241
|
])
|
|
@@ -1329,6 +1347,7 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
|
|
|
1329
1347
|
ChannelType2["PAYPAL_AGENTIC_CHECKOUT"] = "PAYPAL_AGENTIC_CHECKOUT";
|
|
1330
1348
|
ChannelType2["STRIPE_AGENTIC_CHECKOUT"] = "STRIPE_AGENTIC_CHECKOUT";
|
|
1331
1349
|
ChannelType2["WIX_INVOICES_PLATFORM"] = "WIX_INVOICES_PLATFORM";
|
|
1350
|
+
ChannelType2["UCP_AGENTIC_CHECKOUT"] = "UCP_AGENTIC_CHECKOUT";
|
|
1332
1351
|
return ChannelType2;
|
|
1333
1352
|
})(ChannelType || {});
|
|
1334
1353
|
var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
@@ -1432,6 +1451,7 @@ var ViolationCode = /* @__PURE__ */ ((ViolationCode2) => {
|
|
|
1432
1451
|
ViolationCode2["INVALID_GIFT_CARD_CODE"] = "INVALID_GIFT_CARD_CODE";
|
|
1433
1452
|
ViolationCode2["INVALID_GIFT_CARD_STATUS"] = "INVALID_GIFT_CARD_STATUS";
|
|
1434
1453
|
ViolationCode2["CANNOT_PAY_FOR_GIFT_CARD_WITH_GIFT_CARD"] = "CANNOT_PAY_FOR_GIFT_CARD_WITH_GIFT_CARD";
|
|
1454
|
+
ViolationCode2["SUBTOTAL_BELOW_ORDER_MINIMUM"] = "SUBTOTAL_BELOW_ORDER_MINIMUM";
|
|
1435
1455
|
return ViolationCode2;
|
|
1436
1456
|
})(ViolationCode || {});
|
|
1437
1457
|
var ViolationSeverity = /* @__PURE__ */ ((ViolationSeverity2) => {
|