@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/es/index.d.mts
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.mjs';
|
|
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.mjs';
|
|
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.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createCurrentCart$1(httpClient: HttpClient): CreateCurrentCartSignature;
|
|
6
6
|
interface CreateCurrentCartSignature {
|
package/build/es/index.mjs
CHANGED
|
@@ -120,6 +120,7 @@ function createCurrentCart(payload) {
|
|
|
120
120
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
121
121
|
},
|
|
122
122
|
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
123
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
123
124
|
{
|
|
124
125
|
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
125
126
|
},
|
|
@@ -127,7 +128,8 @@ function createCurrentCart(payload) {
|
|
|
127
128
|
{
|
|
128
129
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
129
130
|
},
|
|
130
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
131
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
132
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
131
133
|
]
|
|
132
134
|
},
|
|
133
135
|
{
|
|
@@ -177,7 +179,8 @@ function createCurrentCart(payload) {
|
|
|
177
179
|
},
|
|
178
180
|
{
|
|
179
181
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
180
|
-
}
|
|
182
|
+
},
|
|
183
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
181
184
|
]
|
|
182
185
|
},
|
|
183
186
|
{
|
|
@@ -230,7 +233,8 @@ function getCurrentCart(payload) {
|
|
|
230
233
|
},
|
|
231
234
|
{
|
|
232
235
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
233
|
-
}
|
|
236
|
+
},
|
|
237
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
234
238
|
]
|
|
235
239
|
},
|
|
236
240
|
{
|
|
@@ -271,7 +275,8 @@ function updateCurrentCart(payload) {
|
|
|
271
275
|
{
|
|
272
276
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
273
277
|
},
|
|
274
|
-
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" }
|
|
278
|
+
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
279
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
275
280
|
]
|
|
276
281
|
},
|
|
277
282
|
{
|
|
@@ -317,7 +322,8 @@ function updateCurrentCart(payload) {
|
|
|
317
322
|
},
|
|
318
323
|
{
|
|
319
324
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
320
|
-
}
|
|
325
|
+
},
|
|
326
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
321
327
|
]
|
|
322
328
|
},
|
|
323
329
|
{
|
|
@@ -391,7 +397,8 @@ function refreshCurrentCart(payload) {
|
|
|
391
397
|
},
|
|
392
398
|
{
|
|
393
399
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
394
|
-
}
|
|
400
|
+
},
|
|
401
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
395
402
|
]
|
|
396
403
|
},
|
|
397
404
|
{
|
|
@@ -445,6 +452,7 @@ function calculateCurrentCart(payload) {
|
|
|
445
452
|
{
|
|
446
453
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
447
454
|
},
|
|
455
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
448
456
|
{
|
|
449
457
|
path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
|
|
450
458
|
}
|
|
@@ -491,7 +499,8 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
491
499
|
{
|
|
492
500
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
493
501
|
},
|
|
494
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
502
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
503
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
495
504
|
]
|
|
496
505
|
}
|
|
497
506
|
]);
|
|
@@ -524,7 +533,8 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
524
533
|
},
|
|
525
534
|
{
|
|
526
535
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
527
|
-
}
|
|
536
|
+
},
|
|
537
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
528
538
|
]
|
|
529
539
|
},
|
|
530
540
|
{
|
|
@@ -577,7 +587,8 @@ function removeLineItemsFromCurrentCart(payload) {
|
|
|
577
587
|
},
|
|
578
588
|
{
|
|
579
589
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
580
|
-
}
|
|
590
|
+
},
|
|
591
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
581
592
|
]
|
|
582
593
|
},
|
|
583
594
|
{
|
|
@@ -630,7 +641,8 @@ function updateLineItemsInCurrentCart(payload) {
|
|
|
630
641
|
},
|
|
631
642
|
{
|
|
632
643
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
633
|
-
}
|
|
644
|
+
},
|
|
645
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
634
646
|
]
|
|
635
647
|
},
|
|
636
648
|
{
|
|
@@ -683,7 +695,8 @@ function addCouponToCurrentCart(payload) {
|
|
|
683
695
|
},
|
|
684
696
|
{
|
|
685
697
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
686
|
-
}
|
|
698
|
+
},
|
|
699
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
687
700
|
]
|
|
688
701
|
},
|
|
689
702
|
{
|
|
@@ -736,7 +749,8 @@ function removeCouponFromCurrentCart(payload) {
|
|
|
736
749
|
},
|
|
737
750
|
{
|
|
738
751
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
739
|
-
}
|
|
752
|
+
},
|
|
753
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
740
754
|
]
|
|
741
755
|
},
|
|
742
756
|
{
|
|
@@ -789,7 +803,8 @@ function setDeliveryMethodForCurrentCart(payload) {
|
|
|
789
803
|
},
|
|
790
804
|
{
|
|
791
805
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
792
|
-
}
|
|
806
|
+
},
|
|
807
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
793
808
|
]
|
|
794
809
|
},
|
|
795
810
|
{
|
|
@@ -842,7 +857,8 @@ function addGiftCardToCurrentCart(payload) {
|
|
|
842
857
|
},
|
|
843
858
|
{
|
|
844
859
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
845
|
-
}
|
|
860
|
+
},
|
|
861
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
846
862
|
]
|
|
847
863
|
},
|
|
848
864
|
{
|
|
@@ -895,7 +911,8 @@ function removeGiftCardFromCurrentCart(payload) {
|
|
|
895
911
|
},
|
|
896
912
|
{
|
|
897
913
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
898
|
-
}
|
|
914
|
+
},
|
|
915
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
899
916
|
]
|
|
900
917
|
},
|
|
901
918
|
{
|
|
@@ -948,7 +965,8 @@ function updateFormSubmissionsInCurrentCart(payload) {
|
|
|
948
965
|
},
|
|
949
966
|
{
|
|
950
967
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
951
|
-
}
|
|
968
|
+
},
|
|
969
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
952
970
|
]
|
|
953
971
|
},
|
|
954
972
|
{
|
|
@@ -1206,6 +1224,11 @@ var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
|
1206
1224
|
DiscountType2["SHIPPING"] = "SHIPPING";
|
|
1207
1225
|
return DiscountType2;
|
|
1208
1226
|
})(DiscountType || {});
|
|
1227
|
+
var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
|
|
1228
|
+
BalanceType2["PUNCH_CARD"] = "PUNCH_CARD";
|
|
1229
|
+
BalanceType2["CREDIT"] = "CREDIT";
|
|
1230
|
+
return BalanceType2;
|
|
1231
|
+
})(BalanceType || {});
|
|
1209
1232
|
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
1210
1233
|
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
1211
1234
|
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
@@ -2085,6 +2108,7 @@ var removeGiftCardFromCurrentCart4 = /* @__PURE__ */ createRESTModule(removeGift
|
|
|
2085
2108
|
var updateFormSubmissionsInCurrentCart4 = /* @__PURE__ */ createRESTModule(updateFormSubmissionsInCurrentCart3);
|
|
2086
2109
|
export {
|
|
2087
2110
|
AdditionalFeeSource,
|
|
2111
|
+
BalanceType,
|
|
2088
2112
|
ChannelType,
|
|
2089
2113
|
ChargeType,
|
|
2090
2114
|
CheckoutStage,
|