@wix/auto_sdk_ecom_current-cart-v-2 1.0.58 → 1.0.60
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 +41 -16
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +11 -7
- package/build/cjs/index.typings.js +41 -16
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -7
- package/build/cjs/meta.js +41 -16
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +40 -16
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +11 -7
- package/build/es/index.typings.mjs +40 -16
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -7
- package/build/es/meta.mjs +40 -16
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +41 -16
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +23 -8
- package/build/internal/cjs/index.typings.js +41 -16
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +11 -7
- package/build/internal/cjs/meta.js +41 -16
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +40 -16
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +23 -8
- package/build/internal/es/index.typings.mjs +40 -16
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +11 -7
- package/build/internal/es/meta.mjs +40 -16
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { CreateCurrentCartOptions, CreateCurrentCartResponse, CreateCurrentCartApplicationErrors, GetCurrentCartResponse, Cart, UpdateCurrentCartResponse, UpdateCurrentCartApplicationErrors, RefreshCurrentCartResponse, RefreshCurrentCartApplicationErrors, CalculateCurrentCartOptions, CalculateCurrentCartResponse, CalculateCurrentCartApplicationErrors, AddLineItemsToCurrentCartOptions, AddLineItemsToCurrentCartResponse, AddLineItemsToCurrentCartApplicationErrors, RemoveLineItemsFromCurrentCartResponse, RemoveLineItemsFromCurrentCartApplicationErrors, UpdateLineItemsInCurrentCartOptions, UpdateLineItemsInCurrentCartResponse, UpdateLineItemsInCurrentCartApplicationErrors, CouponInput, AddCouponToCurrentCartResponse, AddCouponToCurrentCartApplicationErrors, RemoveCouponFromCurrentCartResponse, RemoveCouponFromCurrentCartApplicationErrors, DeliveryMethodInput, SetDeliveryMethodForCurrentCartResponse, SetDeliveryMethodForCurrentCartApplicationErrors, GiftCardInput, AddGiftCardToCurrentCartResponse, AddGiftCardToCurrentCartApplicationErrors, RemoveGiftCardFromCurrentCartResponse, RemoveGiftCardFromCurrentCartApplicationErrors, UpdateFormSubmissionsInCurrentCartOptions, UpdateFormSubmissionsInCurrentCartResponse } from './index.typings.js';
|
|
3
|
-
export { ActionEvent, AddCouponRequest, AddCouponResponse, AddCouponToCurrentCartRequest, AddGiftCardRequest, AddGiftCardResponse, AddGiftCardToCurrentCartRequest, AddLineItemsRequest, AddLineItemsResponse, AddLineItemsToCurrentCartRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AggregatedTaxBreakdown, AllLineItemsOutOfStockErrorData, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCartResponse, CalculateCurrentCartRequest, CalculateTotalsResponse, CalculatedItemModifier, CalculatedLineItem, CalculatedPlatformFee, CalculationConfig, CalculationErrorData, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CalculationOverrides, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CartAlreadyOrderedErrorData, CartSettings, CartSource, CartSummary, CatalogItemInput, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, CheckoutStage, CheckoutStageWithLiterals, Color, ConvertedMoney, Coupon, CouponAlreadyExistsErrorData, CouponNotFoundInCartErrorData, CreateCartRequest, CreateCartResponse, CreateCurrentCartRequest, CreatedBy, CreatedByIdOneOf, CustomContentReference, CustomField, CustomItemAttributes, CustomItemDeliveryConfig, CustomItemInput, CustomItemPaymentConfig, CustomItemPricingInfo, CustomItemQuantityInfo, CustomItemSource, CustomItemTaxConfig, CustomerInfo, CustomerInfoIdOneOf, DeleteCartRequest, DeleteCartResponse, DeleteCurrentCartRequest, DeleteCurrentCartResponse, DeliveryAllocation, DeliveryInfo, DeliveryLogistics, DeliveryMethod, DeliveryMethodNotFoundErrorData, DeliverySummary, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Discount, DiscountBenefit, DiscountBenefitValueOneOf, DiscountRule, DiscountRuleName, DiscountScope, DiscountScopeWithLiterals, DiscountSource, DiscountSourceType, DiscountSourceTypeWithLiterals, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DuplicateItemModifierIdsErrorData, DuplicateLineItemUpdatesErrorData, DuplicateModifierGroupIdsErrorData, Empty, EmptyLineItemUpdatesErrorData, EmptyPaymentTokenErrorData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FixedQuantityItemErrorData, FormIdentifier, FormInfo, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, GetCartRequest, GetCartResponse, GetCheckoutURLRequest, GetCheckoutURLResponse, GetCurrentCartRequest, GiftCard, GiftCardAlreadyExistsErrorData, GiftCardNotFoundInCartErrorData, GiftCardRedeemErrorData, GiftCardSummary, Group, HandleAsyncCheckoutCompletionRequest, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InsufficientInventoryEntry, InsufficientInventoryErrorData, InvalidCouponCodeErrorData, InvalidCouponReason, InvalidCouponReasonWithLiterals, InvalidCouponStatusErrorData, InvalidCouponStatusErrorDataDetailsOneOf, InvalidGiftCardCodeErrorData, InvalidGiftCardReason, InvalidGiftCardReasonWithLiterals, InvalidGiftCardStatusErrorData, InvalidMembership, InvalidMembershipEntry, InvalidMembershipErrorData, InvalidMembershipPaymentOptionErrorData, InvalidPaymentStatusErrorData, InvalidPriceVerificationTokenErrorData, InvalidThirdPartyCheckoutTokenErrorData, ItemAttributes, ItemDeliveryConfig, ItemDiscount, ItemModifier, ItemNotFoundInCatalogErrorData, ItemPaymentConfig, ItemPriceBreakdown, ItemPricingInfo, ItemQuantityInfo, ItemSource, ItemStatus, ItemStatusWithLiterals, ItemTaxConfig, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LegacyFields, LineItem, LineItemDiscount, LineItemIdentifier, LineItemIdentifierIdOneOf, LineItemNotFoundInCartErrorData, LineItemPriceConflictErrorData, LineItemPricesData, LineItemSummary, LineItemTax, LineItemUpdate, 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, QuantityUpdate, RateType, RateTypeWithLiterals, RawHttpResponse, RedirectUrls, RefreshCartRequest, RefreshCartResponse, RefreshCurrentCartRequest, Region, RemoveCouponFromCurrentCartRequest, RemoveCouponRequest, RemoveCouponResponse, 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, SomeLineItemsOutOfStockErrorData, 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, V2Membership, V2PriceSummary, V2SelectedMembership, V2TaxSummary, ValidationError, ValidationsConfig, ValidationsConfigWithLiterals, VatId, VatType, VatTypeWithLiterals, Violation, ViolationWithErrorSeverityErrorData, ViolationsList, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, AddCouponRequest, AddCouponResponse, AddCouponToCurrentCartRequest, AddGiftCardRequest, AddGiftCardResponse, AddGiftCardToCurrentCartRequest, AddLineItemsRequest, AddLineItemsResponse, AddLineItemsToCurrentCartRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AggregatedTaxBreakdown, AllLineItemsOutOfStockErrorData, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCartResponse, CalculateCurrentCartRequest, CalculateTotalsResponse, CalculatedItemModifier, CalculatedLineItem, CalculatedPlatformFee, CalculationConfig, CalculationErrorData, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CalculationOverrides, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CartAlreadyOrderedErrorData, CartSettings, CartSource, CartSummary, CatalogItemInput, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, CheckoutStage, CheckoutStageWithLiterals, Color, ConvertedMoney, Coupon, CouponAlreadyExistsErrorData, CouponNotFoundInCartErrorData, CreateCartRequest, CreateCartResponse, CreateCurrentCartRequest, CreatedBy, CreatedByIdOneOf, CustomContentReference, CustomField, CustomItemAttributes, CustomItemDeliveryConfig, CustomItemInput, CustomItemPaymentConfig, CustomItemPricingInfo, CustomItemQuantityInfo, CustomItemSource, CustomItemTaxConfig, CustomerInfo, CustomerInfoIdOneOf, DeleteCartRequest, DeleteCartResponse, DeleteCurrentCartRequest, DeleteCurrentCartResponse, DeliveryAllocation, DeliveryInfo, DeliveryLogistics, DeliveryMethod, DeliveryMethodNotFoundErrorData, DeliverySummary, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Discount, DiscountBenefit, DiscountBenefitValueOneOf, DiscountRule, DiscountRuleName, DiscountScope, DiscountScopeWithLiterals, DiscountSource, DiscountSourceType, DiscountSourceTypeWithLiterals, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DuplicateItemModifierIdsErrorData, DuplicateLineItemUpdatesErrorData, DuplicateModifierGroupIdsErrorData, Empty, EmptyLineItemUpdatesErrorData, EmptyPaymentTokenErrorData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FixedQuantityItemErrorData, FormIdentifier, FormInfo, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, GetCartRequest, GetCartResponse, GetCheckoutURLRequest, GetCheckoutURLResponse, GetCurrentCartRequest, GiftCard, GiftCardAlreadyExistsErrorData, GiftCardNotFoundInCartErrorData, GiftCardRedeemErrorData, GiftCardSummary, Group, HandleAsyncCheckoutCompletionRequest, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InsufficientInventoryEntry, InsufficientInventoryErrorData, InvalidCouponCodeErrorData, InvalidCouponReason, InvalidCouponReasonWithLiterals, InvalidCouponStatusErrorData, InvalidCouponStatusErrorDataDetailsOneOf, InvalidGiftCardCodeErrorData, InvalidGiftCardReason, InvalidGiftCardReasonWithLiterals, InvalidGiftCardStatusErrorData, InvalidMembership, InvalidMembershipEntry, InvalidMembershipErrorData, InvalidMembershipPaymentOptionErrorData, InvalidPaymentStatusErrorData, InvalidPriceVerificationTokenErrorData, InvalidThirdPartyCheckoutTokenErrorData, ItemAttributes, ItemDeliveryConfig, ItemDiscount, ItemModifier, ItemNotFoundInCatalogErrorData, ItemPaymentConfig, ItemPriceBreakdown, ItemPricingInfo, ItemQuantityInfo, ItemSource, ItemStatus, ItemStatusWithLiterals, ItemTaxConfig, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LegacyFields, LineItem, LineItemDiscount, LineItemIdentifier, LineItemIdentifierIdOneOf, LineItemNotFoundInCartErrorData, LineItemPriceConflictErrorData, LineItemPricesData, LineItemSummary, LineItemTax, LineItemUpdate, 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, QuantityUpdate, RateType, RateTypeWithLiterals, RawHttpResponse, RedirectUrls, RefreshCartRequest, RefreshCartResponse, RefreshCurrentCartRequest, Region, RemoveCouponFromCurrentCartRequest, RemoveCouponRequest, RemoveCouponResponse, 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, SomeLineItemsOutOfStockErrorData, 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, V2Membership, V2PriceSummary, V2SelectedMembership, V2TaxSummary, ValidationError, ValidationsConfig, ValidationsConfigWithLiterals, VatId, VatType, VatTypeWithLiterals, Violation, 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
|
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
AdditionalFeeSource: () => AdditionalFeeSource,
|
|
24
|
+
BalanceType: () => BalanceType,
|
|
24
25
|
ChannelType: () => ChannelType,
|
|
25
26
|
ChargeType: () => ChargeType,
|
|
26
27
|
CheckoutStage: () => CheckoutStage,
|
|
@@ -188,6 +189,7 @@ function createCurrentCart(payload) {
|
|
|
188
189
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
189
190
|
},
|
|
190
191
|
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
192
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
191
193
|
{
|
|
192
194
|
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
193
195
|
},
|
|
@@ -195,7 +197,8 @@ function createCurrentCart(payload) {
|
|
|
195
197
|
{
|
|
196
198
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
197
199
|
},
|
|
198
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
200
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
201
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
199
202
|
]
|
|
200
203
|
},
|
|
201
204
|
{
|
|
@@ -245,7 +248,8 @@ function createCurrentCart(payload) {
|
|
|
245
248
|
},
|
|
246
249
|
{
|
|
247
250
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
248
|
-
}
|
|
251
|
+
},
|
|
252
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
249
253
|
]
|
|
250
254
|
},
|
|
251
255
|
{
|
|
@@ -298,7 +302,8 @@ function getCurrentCart(payload) {
|
|
|
298
302
|
},
|
|
299
303
|
{
|
|
300
304
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
301
|
-
}
|
|
305
|
+
},
|
|
306
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
302
307
|
]
|
|
303
308
|
},
|
|
304
309
|
{
|
|
@@ -339,7 +344,8 @@ function updateCurrentCart(payload) {
|
|
|
339
344
|
{
|
|
340
345
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
341
346
|
},
|
|
342
|
-
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" }
|
|
347
|
+
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
348
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
343
349
|
]
|
|
344
350
|
},
|
|
345
351
|
{
|
|
@@ -385,7 +391,8 @@ function updateCurrentCart(payload) {
|
|
|
385
391
|
},
|
|
386
392
|
{
|
|
387
393
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
388
|
-
}
|
|
394
|
+
},
|
|
395
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
389
396
|
]
|
|
390
397
|
},
|
|
391
398
|
{
|
|
@@ -459,7 +466,8 @@ function refreshCurrentCart(payload) {
|
|
|
459
466
|
},
|
|
460
467
|
{
|
|
461
468
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
462
|
-
}
|
|
469
|
+
},
|
|
470
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
463
471
|
]
|
|
464
472
|
},
|
|
465
473
|
{
|
|
@@ -513,6 +521,7 @@ function calculateCurrentCart(payload) {
|
|
|
513
521
|
{
|
|
514
522
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
515
523
|
},
|
|
524
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
516
525
|
{
|
|
517
526
|
path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
|
|
518
527
|
}
|
|
@@ -559,7 +568,8 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
559
568
|
{
|
|
560
569
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
561
570
|
},
|
|
562
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
571
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
572
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
563
573
|
]
|
|
564
574
|
}
|
|
565
575
|
]);
|
|
@@ -592,7 +602,8 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
592
602
|
},
|
|
593
603
|
{
|
|
594
604
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
595
|
-
}
|
|
605
|
+
},
|
|
606
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
596
607
|
]
|
|
597
608
|
},
|
|
598
609
|
{
|
|
@@ -645,7 +656,8 @@ function removeLineItemsFromCurrentCart(payload) {
|
|
|
645
656
|
},
|
|
646
657
|
{
|
|
647
658
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
648
|
-
}
|
|
659
|
+
},
|
|
660
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
649
661
|
]
|
|
650
662
|
},
|
|
651
663
|
{
|
|
@@ -698,7 +710,8 @@ function updateLineItemsInCurrentCart(payload) {
|
|
|
698
710
|
},
|
|
699
711
|
{
|
|
700
712
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
701
|
-
}
|
|
713
|
+
},
|
|
714
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
702
715
|
]
|
|
703
716
|
},
|
|
704
717
|
{
|
|
@@ -751,7 +764,8 @@ function addCouponToCurrentCart(payload) {
|
|
|
751
764
|
},
|
|
752
765
|
{
|
|
753
766
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
754
|
-
}
|
|
767
|
+
},
|
|
768
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
755
769
|
]
|
|
756
770
|
},
|
|
757
771
|
{
|
|
@@ -804,7 +818,8 @@ function removeCouponFromCurrentCart(payload) {
|
|
|
804
818
|
},
|
|
805
819
|
{
|
|
806
820
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
807
|
-
}
|
|
821
|
+
},
|
|
822
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
808
823
|
]
|
|
809
824
|
},
|
|
810
825
|
{
|
|
@@ -857,7 +872,8 @@ function setDeliveryMethodForCurrentCart(payload) {
|
|
|
857
872
|
},
|
|
858
873
|
{
|
|
859
874
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
860
|
-
}
|
|
875
|
+
},
|
|
876
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
861
877
|
]
|
|
862
878
|
},
|
|
863
879
|
{
|
|
@@ -910,7 +926,8 @@ function addGiftCardToCurrentCart(payload) {
|
|
|
910
926
|
},
|
|
911
927
|
{
|
|
912
928
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
913
|
-
}
|
|
929
|
+
},
|
|
930
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
914
931
|
]
|
|
915
932
|
},
|
|
916
933
|
{
|
|
@@ -963,7 +980,8 @@ function removeGiftCardFromCurrentCart(payload) {
|
|
|
963
980
|
},
|
|
964
981
|
{
|
|
965
982
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
966
|
-
}
|
|
983
|
+
},
|
|
984
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
967
985
|
]
|
|
968
986
|
},
|
|
969
987
|
{
|
|
@@ -1016,7 +1034,8 @@ function updateFormSubmissionsInCurrentCart(payload) {
|
|
|
1016
1034
|
},
|
|
1017
1035
|
{
|
|
1018
1036
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
1019
|
-
}
|
|
1037
|
+
},
|
|
1038
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
1020
1039
|
]
|
|
1021
1040
|
},
|
|
1022
1041
|
{
|
|
@@ -1274,6 +1293,11 @@ var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
|
1274
1293
|
DiscountType2["SHIPPING"] = "SHIPPING";
|
|
1275
1294
|
return DiscountType2;
|
|
1276
1295
|
})(DiscountType || {});
|
|
1296
|
+
var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
|
|
1297
|
+
BalanceType2["PUNCH_CARD"] = "PUNCH_CARD";
|
|
1298
|
+
BalanceType2["CREDIT"] = "CREDIT";
|
|
1299
|
+
return BalanceType2;
|
|
1300
|
+
})(BalanceType || {});
|
|
1277
1301
|
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
1278
1302
|
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
1279
1303
|
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
@@ -2154,6 +2178,7 @@ var updateFormSubmissionsInCurrentCart4 = /* @__PURE__ */ (0, import_rest_module
|
|
|
2154
2178
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2155
2179
|
0 && (module.exports = {
|
|
2156
2180
|
AdditionalFeeSource,
|
|
2181
|
+
BalanceType,
|
|
2157
2182
|
ChannelType,
|
|
2158
2183
|
ChargeType,
|
|
2159
2184
|
CheckoutStage,
|