@wix/auto_sdk_ecom_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 +43 -17
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +11 -7
- package/build/cjs/index.typings.js +43 -17
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -7
- package/build/cjs/meta.js +43 -17
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +42 -17
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +11 -7
- package/build/es/index.typings.mjs +42 -17
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -7
- package/build/es/meta.mjs +42 -17
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +43 -17
- 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 +43 -17
- 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 +43 -17
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +42 -17
- 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 +42 -17
- 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 +42 -17
- 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 { CreateCartOptions, Cart, CreateCartApplicationErrors, UpdateCart, UpdateCartApplicationErrors, RefreshCartResponse, RefreshCartApplicationErrors, 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, GiftCardInput, AddGiftCardResponse, AddGiftCardApplicationErrors, RemoveGiftCardResponse, RemoveGiftCardApplicationErrors, MarkCartAsCompletedOptions, MarkCartAsCompletedResponse, RawHttpResponse, UpdateFormSubmissionsOptions, UpdateFormSubmissionsResponse } from './index.typings.mjs';
|
|
3
|
-
export { ActionEvent, AddCouponRequest, AddCouponToCurrentCartRequest, AddCouponToCurrentCartResponse, AddGiftCardRequest, AddGiftCardToCurrentCartRequest, AddGiftCardToCurrentCartResponse, AddLineItemsRequest, AddLineItemsToCurrentCartRequest, AddLineItemsToCurrentCartResponse, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AggregatedTaxBreakdown, AllLineItemsOutOfStockErrorData, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCurrentCartRequest, CalculateCurrentCartResponse, 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, CreateCurrentCartResponse, 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, GetCurrentCartRequest, GetCurrentCartResponse, 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, 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, PlainTextValue, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, PlatformFeeSummary, Policy, PriceDescription, PriceSummary, QuantityUpdate, RateType, RateTypeWithLiterals, RedirectUrls, RefreshCartRequest, RefreshCurrentCartRequest, RefreshCurrentCartResponse, Region, RemoveCouponFromCurrentCartRequest, RemoveCouponFromCurrentCartResponse, RemoveCouponRequest, 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, 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, UpdateCurrentCartResponse, UpdateFormSubmissionsInCurrentCartRequest, UpdateFormSubmissionsInCurrentCartResponse, UpdateFormSubmissionsRequest, UpdateLineItemsInCurrentCartRequest, UpdateLineItemsInCurrentCartResponse, UpdateLineItemsRequest, 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, AddCouponToCurrentCartRequest, AddCouponToCurrentCartResponse, AddGiftCardRequest, AddGiftCardToCurrentCartRequest, AddGiftCardToCurrentCartResponse, AddLineItemsRequest, AddLineItemsToCurrentCartRequest, AddLineItemsToCurrentCartResponse, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AggregatedTaxBreakdown, AllLineItemsOutOfStockErrorData, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCurrentCartRequest, CalculateCurrentCartResponse, 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, CreateCurrentCartResponse, 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, GetCurrentCartRequest, GetCurrentCartResponse, 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, 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, PlainTextValue, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, PlatformFeeSummary, Policy, PriceDescription, PriceSummary, QuantityUpdate, RateType, RateTypeWithLiterals, RedirectUrls, RefreshCartRequest, RefreshCurrentCartRequest, RefreshCurrentCartResponse, Region, RemoveCouponFromCurrentCartRequest, RemoveCouponFromCurrentCartResponse, RemoveCouponRequest, 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, 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, UpdateCurrentCartResponse, UpdateFormSubmissionsInCurrentCartRequest, UpdateFormSubmissionsInCurrentCartResponse, UpdateFormSubmissionsRequest, UpdateLineItemsInCurrentCartRequest, UpdateLineItemsInCurrentCartResponse, UpdateLineItemsRequest, 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 createCart$1(httpClient: HttpClient): CreateCartSignature;
|
|
6
6
|
interface CreateCartSignature {
|
package/build/es/index.mjs
CHANGED
|
@@ -121,6 +121,7 @@ function createCart(payload) {
|
|
|
121
121
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
122
122
|
},
|
|
123
123
|
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
124
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
124
125
|
{
|
|
125
126
|
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
126
127
|
},
|
|
@@ -128,7 +129,8 @@ function createCart(payload) {
|
|
|
128
129
|
{
|
|
129
130
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
130
131
|
},
|
|
131
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
132
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
133
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
132
134
|
]
|
|
133
135
|
},
|
|
134
136
|
{
|
|
@@ -178,7 +180,8 @@ function createCart(payload) {
|
|
|
178
180
|
},
|
|
179
181
|
{
|
|
180
182
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
181
|
-
}
|
|
183
|
+
},
|
|
184
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
182
185
|
]
|
|
183
186
|
},
|
|
184
187
|
{
|
|
@@ -231,7 +234,8 @@ function getCart(payload) {
|
|
|
231
234
|
},
|
|
232
235
|
{
|
|
233
236
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
234
|
-
}
|
|
237
|
+
},
|
|
238
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
235
239
|
]
|
|
236
240
|
},
|
|
237
241
|
{
|
|
@@ -272,7 +276,8 @@ function updateCart(payload) {
|
|
|
272
276
|
{
|
|
273
277
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
274
278
|
},
|
|
275
|
-
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" }
|
|
279
|
+
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
280
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
276
281
|
]
|
|
277
282
|
},
|
|
278
283
|
{
|
|
@@ -318,7 +323,8 @@ function updateCart(payload) {
|
|
|
318
323
|
},
|
|
319
324
|
{
|
|
320
325
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
321
|
-
}
|
|
326
|
+
},
|
|
327
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
322
328
|
]
|
|
323
329
|
},
|
|
324
330
|
{
|
|
@@ -392,7 +398,8 @@ function refreshCart(payload) {
|
|
|
392
398
|
},
|
|
393
399
|
{
|
|
394
400
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
395
|
-
}
|
|
401
|
+
},
|
|
402
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
396
403
|
]
|
|
397
404
|
},
|
|
398
405
|
{
|
|
@@ -446,6 +453,7 @@ function calculateCart(payload) {
|
|
|
446
453
|
{
|
|
447
454
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
448
455
|
},
|
|
456
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" },
|
|
449
457
|
{
|
|
450
458
|
path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
|
|
451
459
|
}
|
|
@@ -534,7 +542,8 @@ function addLineItems(payload) {
|
|
|
534
542
|
{
|
|
535
543
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
536
544
|
},
|
|
537
|
-
{ path: "customItems.attributes.serviceProperties.scheduledDate" }
|
|
545
|
+
{ path: "customItems.attributes.serviceProperties.scheduledDate" },
|
|
546
|
+
{ path: "customItems.attributes.serviceProperties.endDate" }
|
|
538
547
|
]
|
|
539
548
|
}
|
|
540
549
|
]);
|
|
@@ -567,7 +576,8 @@ function addLineItems(payload) {
|
|
|
567
576
|
},
|
|
568
577
|
{
|
|
569
578
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
570
|
-
}
|
|
579
|
+
},
|
|
580
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
571
581
|
]
|
|
572
582
|
},
|
|
573
583
|
{
|
|
@@ -620,7 +630,8 @@ function removeLineItems(payload) {
|
|
|
620
630
|
},
|
|
621
631
|
{
|
|
622
632
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
623
|
-
}
|
|
633
|
+
},
|
|
634
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
624
635
|
]
|
|
625
636
|
},
|
|
626
637
|
{
|
|
@@ -673,7 +684,8 @@ function updateLineItems(payload) {
|
|
|
673
684
|
},
|
|
674
685
|
{
|
|
675
686
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
676
|
-
}
|
|
687
|
+
},
|
|
688
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
677
689
|
]
|
|
678
690
|
},
|
|
679
691
|
{
|
|
@@ -726,7 +738,8 @@ function addCoupon(payload) {
|
|
|
726
738
|
},
|
|
727
739
|
{
|
|
728
740
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
729
|
-
}
|
|
741
|
+
},
|
|
742
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
730
743
|
]
|
|
731
744
|
},
|
|
732
745
|
{
|
|
@@ -779,7 +792,8 @@ function removeCoupon(payload) {
|
|
|
779
792
|
},
|
|
780
793
|
{
|
|
781
794
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
782
|
-
}
|
|
795
|
+
},
|
|
796
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
783
797
|
]
|
|
784
798
|
},
|
|
785
799
|
{
|
|
@@ -832,7 +846,8 @@ function setDeliveryMethod(payload) {
|
|
|
832
846
|
},
|
|
833
847
|
{
|
|
834
848
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
835
|
-
}
|
|
849
|
+
},
|
|
850
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
836
851
|
]
|
|
837
852
|
},
|
|
838
853
|
{
|
|
@@ -885,7 +900,8 @@ function addGiftCard(payload) {
|
|
|
885
900
|
},
|
|
886
901
|
{
|
|
887
902
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
888
|
-
}
|
|
903
|
+
},
|
|
904
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
889
905
|
]
|
|
890
906
|
},
|
|
891
907
|
{
|
|
@@ -938,7 +954,8 @@ function removeGiftCard(payload) {
|
|
|
938
954
|
},
|
|
939
955
|
{
|
|
940
956
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
941
|
-
}
|
|
957
|
+
},
|
|
958
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
942
959
|
]
|
|
943
960
|
},
|
|
944
961
|
{
|
|
@@ -991,7 +1008,8 @@ function markCartAsCompleted(payload) {
|
|
|
991
1008
|
},
|
|
992
1009
|
{
|
|
993
1010
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
994
|
-
}
|
|
1011
|
+
},
|
|
1012
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
995
1013
|
]
|
|
996
1014
|
},
|
|
997
1015
|
{
|
|
@@ -1071,7 +1089,8 @@ function updateFormSubmissions(payload) {
|
|
|
1071
1089
|
},
|
|
1072
1090
|
{
|
|
1073
1091
|
path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
|
|
1074
|
-
}
|
|
1092
|
+
},
|
|
1093
|
+
{ path: "cart.lineItems.attributes.serviceProperties.endDate" }
|
|
1075
1094
|
]
|
|
1076
1095
|
},
|
|
1077
1096
|
{
|
|
@@ -1329,6 +1348,11 @@ var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
|
1329
1348
|
DiscountType2["SHIPPING"] = "SHIPPING";
|
|
1330
1349
|
return DiscountType2;
|
|
1331
1350
|
})(DiscountType || {});
|
|
1351
|
+
var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
|
|
1352
|
+
BalanceType2["PUNCH_CARD"] = "PUNCH_CARD";
|
|
1353
|
+
BalanceType2["CREDIT"] = "CREDIT";
|
|
1354
|
+
return BalanceType2;
|
|
1355
|
+
})(BalanceType || {});
|
|
1332
1356
|
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
1333
1357
|
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
1334
1358
|
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
@@ -2417,6 +2441,7 @@ var handleAsyncCheckoutCompletion4 = /* @__PURE__ */ createRESTModule(handleAsyn
|
|
|
2417
2441
|
var updateFormSubmissions4 = /* @__PURE__ */ createRESTModule(updateFormSubmissions3);
|
|
2418
2442
|
export {
|
|
2419
2443
|
AdditionalFeeSource,
|
|
2444
|
+
BalanceType,
|
|
2420
2445
|
ChannelType,
|
|
2421
2446
|
ChargeType,
|
|
2422
2447
|
CheckoutStage,
|