@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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +41 -16
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +11 -7
  5. package/build/cjs/index.typings.js +41 -16
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +11 -7
  8. package/build/cjs/meta.js +41 -16
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +40 -16
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +11 -7
  14. package/build/es/index.typings.mjs +40 -16
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +11 -7
  17. package/build/es/meta.mjs +40 -16
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +41 -16
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +23 -8
  23. package/build/internal/cjs/index.typings.js +41 -16
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +11 -7
  26. package/build/internal/cjs/meta.js +41 -16
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +40 -16
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +23 -8
  32. package/build/internal/es/index.typings.mjs +40 -16
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +11 -7
  35. package/build/internal/es/meta.mjs +40 -16
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -681,6 +681,12 @@ interface ServiceProperties {
681
681
  * @max 10000
682
682
  */
683
683
  numberOfParticipants?: number | null;
684
+ /**
685
+ * Date and time the service is to be ended, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
686
+ * For example, the date and time a class will end.
687
+ * @internal
688
+ */
689
+ endDate?: Date | null;
684
690
  }
685
691
  interface ItemDeliveryConfig {
686
692
  /**
@@ -3952,19 +3958,32 @@ interface MembershipName {
3952
3958
  }
3953
3959
  interface MembershipPaymentCredits {
3954
3960
  /**
3955
- * Membership's total amount of credits.
3961
+ * Membership's initial value.
3956
3962
  * @min 1
3957
3963
  */
3958
3964
  total?: number;
3959
- /** Membership's remaining amount of credits. */
3965
+ /** Membership's remaining value. */
3960
3966
  remaining?: number;
3961
3967
  /**
3962
- * The amount of membership credits required to purchase the items.
3968
+ * The amount to be deducted from the `remaining` balance.
3963
3969
  * @internal
3964
3970
  * @min 1
3965
3971
  */
3966
3972
  redemptionCost?: number;
3973
+ /**
3974
+ * Membership's balance type.
3975
+ * @internal
3976
+ */
3977
+ balanceType?: BalanceTypeWithLiterals;
3967
3978
  }
3979
+ declare enum BalanceType {
3980
+ /** Balance is measured in discrete uses (e.g., sessions, visits). */
3981
+ PUNCH_CARD = "PUNCH_CARD",
3982
+ /** Balance is measured in a currency-like value (e.g., points). */
3983
+ CREDIT = "CREDIT"
3984
+ }
3985
+ /** @enumType */
3986
+ type BalanceTypeWithLiterals = BalanceType | 'PUNCH_CARD' | 'CREDIT';
3968
3987
  interface InvalidMembership {
3969
3988
  /** Membership details. */
3970
3989
  membership?: Membership;
@@ -4522,10 +4541,6 @@ type UpdateCurrentCartApplicationErrors = {
4522
4541
  code?: 'CART_ALREADY_ORDERED';
4523
4542
  description?: string;
4524
4543
  data?: CartAlreadyOrderedErrorData;
4525
- } | {
4526
- code?: 'ADDRESS_MISSING_COUNTRY';
4527
- description?: string;
4528
- data?: Record<string, any>;
4529
4544
  } | {
4530
4545
  code?: 'BUSINESS_LOCATION_NOT_FOUND';
4531
4546
  description?: string;
@@ -5046,4 +5061,4 @@ interface UpdateFormSubmissionsInCurrentCartOptions {
5046
5061
  formSubmissions?: FormSubmission[];
5047
5062
  }
5048
5063
 
5049
- export { type ActionEvent, type AddCouponRequest, type AddCouponResponse, type AddCouponToCurrentCartApplicationErrors, type AddCouponToCurrentCartRequest, type AddCouponToCurrentCartResponse, type AddGiftCardRequest, type AddGiftCardResponse, type AddGiftCardToCurrentCartApplicationErrors, type AddGiftCardToCurrentCartRequest, type AddGiftCardToCurrentCartResponse, type AddLineItemsRequest, type AddLineItemsResponse, type AddLineItemsToCurrentCartApplicationErrors, type AddLineItemsToCurrentCartOptions, type AddLineItemsToCurrentCartRequest, type AddLineItemsToCurrentCartResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type AdditionalFeeTax, type Address, type AddressLocation, type AggregatedTaxBreakdown, type AllLineItemsOutOfStockErrorData, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, type BusinessInfo, type CalculateCartForV1Request, type CalculateCartForV1Response, type CalculateCartRequest, type CalculateCartResponse, type CalculateCurrentCartApplicationErrors, type CalculateCurrentCartOptions, type CalculateCurrentCartRequest, type CalculateCurrentCartResponse, type CalculateTotalsResponse, type CalculatedItemModifier, type CalculatedLineItem, type CalculatedPlatformFee, type CalculationConfig, type CalculationErrorData, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CalculationOverrides, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartAlreadyOrderedErrorData, type CartSettings, type CartSource, type CartSummary, type CatalogItemInput, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, CheckoutStage, type CheckoutStageWithLiterals, type Color, type ConvertedMoney, type Coupon, type CouponAlreadyExistsErrorData, type CouponInput, type CouponNotFoundInCartErrorData, type CreateCartRequest, type CreateCartResponse, type CreateCurrentCartApplicationErrors, type CreateCurrentCartOptions, type CreateCurrentCartRequest, type CreateCurrentCartResponse, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomItemAttributes, type CustomItemDeliveryConfig, type CustomItemInput, type CustomItemPaymentConfig, type CustomItemPricingInfo, type CustomItemQuantityInfo, type CustomItemSource, type CustomItemTaxConfig, type CustomerInfo, type CustomerInfoIdOneOf, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeleteCurrentCartResponse, type DeliveryAllocation, type DeliveryInfo, type DeliveryLogistics, type DeliveryMethod, type DeliveryMethodInput, type DeliveryMethodNotFoundErrorData, type DeliverySummary, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Discount, type DiscountBenefit, type DiscountBenefitValueOneOf, type DiscountRule, type DiscountRuleName, DiscountScope, type DiscountScopeWithLiterals, type DiscountSource, DiscountSourceType, type DiscountSourceTypeWithLiterals, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DuplicateItemModifierIdsErrorData, type DuplicateLineItemUpdatesErrorData, type DuplicateModifierGroupIdsErrorData, type Empty, type EmptyLineItemUpdatesErrorData, type EmptyPaymentTokenErrorData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FixedQuantityItemErrorData, type FormIdentifier, type FormInfo, type FormSubmission, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartRequest, type GetCartResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardAlreadyExistsErrorData, type GiftCardInput, type GiftCardNotFoundInCartErrorData, type GiftCardRedeemErrorData, type GiftCardSummary, type Group, type HandleAsyncCheckoutCompletionRequest, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InsufficientInventoryEntry, type InsufficientInventoryErrorData, type InvalidCouponCodeErrorData, InvalidCouponReason, type InvalidCouponReasonWithLiterals, type InvalidCouponStatusErrorData, type InvalidCouponStatusErrorDataDetailsOneOf, type InvalidGiftCardCodeErrorData, InvalidGiftCardReason, type InvalidGiftCardReasonWithLiterals, type InvalidGiftCardStatusErrorData, type InvalidMembership, type InvalidMembershipEntry, type InvalidMembershipErrorData, type InvalidMembershipPaymentOptionErrorData, type InvalidPaymentStatusErrorData, type InvalidPriceVerificationTokenErrorData, type InvalidThirdPartyCheckoutTokenErrorData, type ItemAttributes, type ItemDeliveryConfig, type ItemDiscount, type ItemModifier, type ItemNotFoundInCatalogErrorData, type ItemPaymentConfig, type ItemPriceBreakdown, type ItemPricingInfo, type ItemQuantityInfo, type ItemSource, ItemStatus, type ItemStatusWithLiterals, type ItemTaxConfig, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LegacyFields, type LineItem, type LineItemDiscount, type LineItemIdentifier, type LineItemIdentifierIdOneOf, type LineItemNotFoundInCartErrorData, type LineItemPriceConflictErrorData, type LineItemPricesData, type LineItemSummary, type LineItemTax, type LineItemUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCartAsCompletedRequest, type MarkCartAsCompletedResponse, type MaxItemModifiersExceededErrorData, type MaxLineItemsExceededErrorData, type MembersOnlyItemErrorData, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type MinLineItemQuantityNotReachedDetails, type MinSubtotalNotReachedDetails, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentInfo, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentSummary, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlaceOrderRequest, type PlaceOrderResponse, type PlainTextValue, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type PlatformFeeSummary, type Policy, type PriceDescription, type PriceSummary, type QuantityUpdate, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedirectUrls, type RefreshCartRequest, type RefreshCartResponse, type RefreshCurrentCartApplicationErrors, type RefreshCurrentCartRequest, type RefreshCurrentCartResponse, type Region, type RemoveCouponFromCurrentCartApplicationErrors, type RemoveCouponFromCurrentCartRequest, type RemoveCouponFromCurrentCartResponse, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardFromCurrentCartApplicationErrors, type RemoveGiftCardFromCurrentCartRequest, type RemoveGiftCardFromCurrentCartResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsFromCurrentCartApplicationErrors, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsFromCurrentCartResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMembershipUpdate, type SelectedMemberships, type ServiceProperties, type SetDeliveryMethodForCurrentCartApplicationErrors, type SetDeliveryMethodForCurrentCartRequest, type SetDeliveryMethodForCurrentCartResponse, type SetDeliveryMethodRequest, type SetDeliveryMethodResponse, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type SomeLineItemsOutOfStockErrorData, type Stage, type StageStagesOneOf, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetTargetTypeOneOf, type Tax, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxDetails, type TaxInfo, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UnmarkAsCurrentCartRequest, type UnmarkAsCurrentCartResponse, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartApplicationErrors, type UpdateCurrentCartRequest, type UpdateCurrentCartResponse, type UpdateFormSubmissionsInCurrentCartOptions, type UpdateFormSubmissionsInCurrentCartRequest, type UpdateFormSubmissionsInCurrentCartResponse, type UpdateFormSubmissionsRequest, type UpdateFormSubmissionsResponse, type UpdateLineItemsInCurrentCartApplicationErrors, type UpdateLineItemsInCurrentCartOptions, type UpdateLineItemsInCurrentCartRequest, type UpdateLineItemsInCurrentCartResponse, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type V1AdditionalFee, type V2AdditionalFee, type V2CalculationErrors, type V2CalculationErrorsShippingCalculationErrorOneOf, type V2CarrierError, type V2CarrierErrors, type V2Coupon, type V2GiftCard, type V2LineItem, type V2Membership, type V2PriceSummary, type V2SelectedMembership, type V2TaxSummary, type ValidationError, ValidationsConfig, type ValidationsConfigWithLiterals, type VatId, VatType, type VatTypeWithLiterals, type Violation, type ViolationWithErrorSeverityErrorData, type ViolationsList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addCouponToCurrentCart, addGiftCardToCurrentCart, addLineItemsToCurrentCart, calculateCurrentCart, createCurrentCart, deleteCurrentCart, getCurrentCart, refreshCurrentCart, removeCouponFromCurrentCart, removeGiftCardFromCurrentCart, removeLineItemsFromCurrentCart, setDeliveryMethodForCurrentCart, updateCurrentCart, updateFormSubmissionsInCurrentCart, updateLineItemsInCurrentCart };
5064
+ export { type ActionEvent, type AddCouponRequest, type AddCouponResponse, type AddCouponToCurrentCartApplicationErrors, type AddCouponToCurrentCartRequest, type AddCouponToCurrentCartResponse, type AddGiftCardRequest, type AddGiftCardResponse, type AddGiftCardToCurrentCartApplicationErrors, type AddGiftCardToCurrentCartRequest, type AddGiftCardToCurrentCartResponse, type AddLineItemsRequest, type AddLineItemsResponse, type AddLineItemsToCurrentCartApplicationErrors, type AddLineItemsToCurrentCartOptions, type AddLineItemsToCurrentCartRequest, type AddLineItemsToCurrentCartResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type AdditionalFeeTax, type Address, type AddressLocation, type AggregatedTaxBreakdown, type AllLineItemsOutOfStockErrorData, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BusinessInfo, type CalculateCartForV1Request, type CalculateCartForV1Response, type CalculateCartRequest, type CalculateCartResponse, type CalculateCurrentCartApplicationErrors, type CalculateCurrentCartOptions, type CalculateCurrentCartRequest, type CalculateCurrentCartResponse, type CalculateTotalsResponse, type CalculatedItemModifier, type CalculatedLineItem, type CalculatedPlatformFee, type CalculationConfig, type CalculationErrorData, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CalculationOverrides, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartAlreadyOrderedErrorData, type CartSettings, type CartSource, type CartSummary, type CatalogItemInput, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, CheckoutStage, type CheckoutStageWithLiterals, type Color, type ConvertedMoney, type Coupon, type CouponAlreadyExistsErrorData, type CouponInput, type CouponNotFoundInCartErrorData, type CreateCartRequest, type CreateCartResponse, type CreateCurrentCartApplicationErrors, type CreateCurrentCartOptions, type CreateCurrentCartRequest, type CreateCurrentCartResponse, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomItemAttributes, type CustomItemDeliveryConfig, type CustomItemInput, type CustomItemPaymentConfig, type CustomItemPricingInfo, type CustomItemQuantityInfo, type CustomItemSource, type CustomItemTaxConfig, type CustomerInfo, type CustomerInfoIdOneOf, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeleteCurrentCartResponse, type DeliveryAllocation, type DeliveryInfo, type DeliveryLogistics, type DeliveryMethod, type DeliveryMethodInput, type DeliveryMethodNotFoundErrorData, type DeliverySummary, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Discount, type DiscountBenefit, type DiscountBenefitValueOneOf, type DiscountRule, type DiscountRuleName, DiscountScope, type DiscountScopeWithLiterals, type DiscountSource, DiscountSourceType, type DiscountSourceTypeWithLiterals, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DuplicateItemModifierIdsErrorData, type DuplicateLineItemUpdatesErrorData, type DuplicateModifierGroupIdsErrorData, type Empty, type EmptyLineItemUpdatesErrorData, type EmptyPaymentTokenErrorData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FixedQuantityItemErrorData, type FormIdentifier, type FormInfo, type FormSubmission, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartRequest, type GetCartResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardAlreadyExistsErrorData, type GiftCardInput, type GiftCardNotFoundInCartErrorData, type GiftCardRedeemErrorData, type GiftCardSummary, type Group, type HandleAsyncCheckoutCompletionRequest, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InsufficientInventoryEntry, type InsufficientInventoryErrorData, type InvalidCouponCodeErrorData, InvalidCouponReason, type InvalidCouponReasonWithLiterals, type InvalidCouponStatusErrorData, type InvalidCouponStatusErrorDataDetailsOneOf, type InvalidGiftCardCodeErrorData, InvalidGiftCardReason, type InvalidGiftCardReasonWithLiterals, type InvalidGiftCardStatusErrorData, type InvalidMembership, type InvalidMembershipEntry, type InvalidMembershipErrorData, type InvalidMembershipPaymentOptionErrorData, type InvalidPaymentStatusErrorData, type InvalidPriceVerificationTokenErrorData, type InvalidThirdPartyCheckoutTokenErrorData, type ItemAttributes, type ItemDeliveryConfig, type ItemDiscount, type ItemModifier, type ItemNotFoundInCatalogErrorData, type ItemPaymentConfig, type ItemPriceBreakdown, type ItemPricingInfo, type ItemQuantityInfo, type ItemSource, ItemStatus, type ItemStatusWithLiterals, type ItemTaxConfig, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LegacyFields, type LineItem, type LineItemDiscount, type LineItemIdentifier, type LineItemIdentifierIdOneOf, type LineItemNotFoundInCartErrorData, type LineItemPriceConflictErrorData, type LineItemPricesData, type LineItemSummary, type LineItemTax, type LineItemUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCartAsCompletedRequest, type MarkCartAsCompletedResponse, type MaxItemModifiersExceededErrorData, type MaxLineItemsExceededErrorData, type MembersOnlyItemErrorData, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type MinLineItemQuantityNotReachedDetails, type MinSubtotalNotReachedDetails, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentInfo, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentSummary, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlaceOrderRequest, type PlaceOrderResponse, type PlainTextValue, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type PlatformFeeSummary, type Policy, type PriceDescription, type PriceSummary, type QuantityUpdate, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedirectUrls, type RefreshCartRequest, type RefreshCartResponse, type RefreshCurrentCartApplicationErrors, type RefreshCurrentCartRequest, type RefreshCurrentCartResponse, type Region, type RemoveCouponFromCurrentCartApplicationErrors, type RemoveCouponFromCurrentCartRequest, type RemoveCouponFromCurrentCartResponse, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardFromCurrentCartApplicationErrors, type RemoveGiftCardFromCurrentCartRequest, type RemoveGiftCardFromCurrentCartResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsFromCurrentCartApplicationErrors, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsFromCurrentCartResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMembershipUpdate, type SelectedMemberships, type ServiceProperties, type SetDeliveryMethodForCurrentCartApplicationErrors, type SetDeliveryMethodForCurrentCartRequest, type SetDeliveryMethodForCurrentCartResponse, type SetDeliveryMethodRequest, type SetDeliveryMethodResponse, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type SomeLineItemsOutOfStockErrorData, type Stage, type StageStagesOneOf, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetTargetTypeOneOf, type Tax, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxDetails, type TaxInfo, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UnmarkAsCurrentCartRequest, type UnmarkAsCurrentCartResponse, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartApplicationErrors, type UpdateCurrentCartRequest, type UpdateCurrentCartResponse, type UpdateFormSubmissionsInCurrentCartOptions, type UpdateFormSubmissionsInCurrentCartRequest, type UpdateFormSubmissionsInCurrentCartResponse, type UpdateFormSubmissionsRequest, type UpdateFormSubmissionsResponse, type UpdateLineItemsInCurrentCartApplicationErrors, type UpdateLineItemsInCurrentCartOptions, type UpdateLineItemsInCurrentCartRequest, type UpdateLineItemsInCurrentCartResponse, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type V1AdditionalFee, type V2AdditionalFee, type V2CalculationErrors, type V2CalculationErrorsShippingCalculationErrorOneOf, type V2CarrierError, type V2CarrierErrors, type V2Coupon, type V2GiftCard, type V2LineItem, type V2Membership, type V2PriceSummary, type V2SelectedMembership, type V2TaxSummary, type ValidationError, ValidationsConfig, type ValidationsConfigWithLiterals, type VatId, VatType, type VatTypeWithLiterals, type Violation, type ViolationWithErrorSeverityErrorData, type ViolationsList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addCouponToCurrentCart, addGiftCardToCurrentCart, addLineItemsToCurrentCart, calculateCurrentCart, createCurrentCart, deleteCurrentCart, getCurrentCart, refreshCurrentCart, removeCouponFromCurrentCart, removeGiftCardFromCurrentCart, removeLineItemsFromCurrentCart, setDeliveryMethodForCurrentCart, updateCurrentCart, updateFormSubmissionsInCurrentCart, updateLineItemsInCurrentCart };
@@ -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";
@@ -1963,6 +1986,7 @@ async function updateFormSubmissionsInCurrentCart2(options) {
1963
1986
  }
1964
1987
  export {
1965
1988
  AdditionalFeeSource,
1989
+ BalanceType,
1966
1990
  ChannelType,
1967
1991
  ChargeType,
1968
1992
  CheckoutStage,