@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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +43 -17
  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 +43 -17
  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 +43 -17
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +42 -17
  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 +42 -17
  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 +42 -17
  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 +43 -17
  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 +43 -17
  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 +43 -17
  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 +42 -17
  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 +42 -17
  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 +42 -17
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -3863,13 +3863,21 @@ interface MembershipName {
3863
3863
  }
3864
3864
  interface MembershipPaymentCredits {
3865
3865
  /**
3866
- * Membership's total amount of credits.
3866
+ * Membership's initial value.
3867
3867
  * @min 1
3868
3868
  */
3869
3869
  total?: number;
3870
- /** Membership's remaining amount of credits. */
3870
+ /** Membership's remaining value. */
3871
3871
  remaining?: number;
3872
3872
  }
3873
+ declare enum BalanceType {
3874
+ /** Balance is measured in discrete uses (e.g., sessions, visits). */
3875
+ PUNCH_CARD = "PUNCH_CARD",
3876
+ /** Balance is measured in a currency-like value (e.g., points). */
3877
+ CREDIT = "CREDIT"
3878
+ }
3879
+ /** @enumType */
3880
+ type BalanceTypeWithLiterals = BalanceType | 'PUNCH_CARD' | 'CREDIT';
3873
3881
  interface InvalidMembership {
3874
3882
  /** Membership details. */
3875
3883
  membership?: Membership;
@@ -4419,10 +4427,6 @@ type UpdateCartApplicationErrors = {
4419
4427
  code?: 'CART_ALREADY_ORDERED';
4420
4428
  description?: string;
4421
4429
  data?: CartAlreadyOrderedErrorData;
4422
- } | {
4423
- code?: 'ADDRESS_MISSING_COUNTRY';
4424
- description?: string;
4425
- data?: Record<string, any>;
4426
4430
  } | {
4427
4431
  code?: 'BUSINESS_LOCATION_NOT_FOUND';
4428
4432
  description?: string;
@@ -5267,4 +5271,4 @@ interface UpdateFormSubmissionsOptions {
5267
5271
  formSubmissions?: FormSubmission[];
5268
5272
  }
5269
5273
 
5270
- export { type ActionEvent, type AddCouponApplicationErrors, type AddCouponRequest, type AddCouponResponse, type AddCouponToCurrentCartRequest, type AddCouponToCurrentCartResponse, type AddGiftCardApplicationErrors, type AddGiftCardRequest, type AddGiftCardResponse, type AddGiftCardToCurrentCartRequest, type AddGiftCardToCurrentCartResponse, type AddLineItemsApplicationErrors, type AddLineItemsOptions, type AddLineItemsRequest, type AddLineItemsResponse, 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 CalculateCartApplicationErrors, type CalculateCartForV1Request, type CalculateCartForV1Response, type CalculateCartOptions, type CalculateCartRequest, type CalculateCartResponse, 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 CreateCartApplicationErrors, type CreateCartOptions, type CreateCartRequest, type CreateCartResponse, 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 GetCheckoutUrlApplicationErrors, type GetCheckoutUrlOptions, 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 MarkCartAsCompletedOptions, 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 PlaceOrderApplicationErrors, type PlaceOrderOptions, 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 RefreshCartApplicationErrors, type RefreshCartRequest, type RefreshCartResponse, type RefreshCurrentCartRequest, type RefreshCurrentCartResponse, type Region, type RemoveCouponApplicationErrors, type RemoveCouponFromCurrentCartRequest, type RemoveCouponFromCurrentCartResponse, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardApplicationErrors, type RemoveGiftCardFromCurrentCartRequest, type RemoveGiftCardFromCurrentCartResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsApplicationErrors, 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 SetDeliveryMethodApplicationErrors, 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 UpdateCart, type UpdateCartApplicationErrors, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartRequest, type UpdateCurrentCartResponse, type UpdateFormSubmissionsInCurrentCartRequest, type UpdateFormSubmissionsInCurrentCartResponse, type UpdateFormSubmissionsOptions, type UpdateFormSubmissionsRequest, type UpdateFormSubmissionsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsInCurrentCartRequest, type UpdateLineItemsInCurrentCartResponse, type UpdateLineItemsOptions, 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, addCoupon, addGiftCard, addLineItems, calculateCart, createCart, deleteCart, getCart, getCheckoutUrl, handleAsyncCheckoutCompletion, markCartAsCompleted, placeOrder, refreshCart, removeCoupon, removeGiftCard, removeLineItems, setDeliveryMethod, updateCart, updateFormSubmissions, updateLineItems };
5274
+ export { type ActionEvent, type AddCouponApplicationErrors, type AddCouponRequest, type AddCouponResponse, type AddCouponToCurrentCartRequest, type AddCouponToCurrentCartResponse, type AddGiftCardApplicationErrors, type AddGiftCardRequest, type AddGiftCardResponse, type AddGiftCardToCurrentCartRequest, type AddGiftCardToCurrentCartResponse, type AddLineItemsApplicationErrors, type AddLineItemsOptions, type AddLineItemsRequest, type AddLineItemsResponse, 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 CalculateCartApplicationErrors, type CalculateCartForV1Request, type CalculateCartForV1Response, type CalculateCartOptions, type CalculateCartRequest, type CalculateCartResponse, 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 CreateCartApplicationErrors, type CreateCartOptions, type CreateCartRequest, type CreateCartResponse, 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 GetCheckoutUrlApplicationErrors, type GetCheckoutUrlOptions, 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 MarkCartAsCompletedOptions, 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 PlaceOrderApplicationErrors, type PlaceOrderOptions, 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 RefreshCartApplicationErrors, type RefreshCartRequest, type RefreshCartResponse, type RefreshCurrentCartRequest, type RefreshCurrentCartResponse, type Region, type RemoveCouponApplicationErrors, type RemoveCouponFromCurrentCartRequest, type RemoveCouponFromCurrentCartResponse, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardApplicationErrors, type RemoveGiftCardFromCurrentCartRequest, type RemoveGiftCardFromCurrentCartResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsApplicationErrors, 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 SetDeliveryMethodApplicationErrors, 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 UpdateCart, type UpdateCartApplicationErrors, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartRequest, type UpdateCurrentCartResponse, type UpdateFormSubmissionsInCurrentCartRequest, type UpdateFormSubmissionsInCurrentCartResponse, type UpdateFormSubmissionsOptions, type UpdateFormSubmissionsRequest, type UpdateFormSubmissionsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsInCurrentCartRequest, type UpdateLineItemsInCurrentCartResponse, type UpdateLineItemsOptions, 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, addCoupon, addGiftCard, addLineItems, calculateCart, createCart, deleteCart, getCart, getCheckoutUrl, handleAsyncCheckoutCompletion, markCartAsCompleted, placeOrder, refreshCart, removeCoupon, removeGiftCard, removeLineItems, setDeliveryMethod, updateCart, updateFormSubmissions, updateLineItems };
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var index_typings_exports = {};
22
22
  __export(index_typings_exports, {
23
23
  AdditionalFeeSource: () => AdditionalFeeSource,
24
+ BalanceType: () => BalanceType,
24
25
  ChannelType: () => ChannelType,
25
26
  ChargeType: () => ChargeType,
26
27
  CheckoutStage: () => CheckoutStage,
@@ -193,6 +194,7 @@ function createCart(payload) {
193
194
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
194
195
  },
195
196
  { path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
197
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" },
196
198
  {
197
199
  path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
198
200
  },
@@ -200,7 +202,8 @@ function createCart(payload) {
200
202
  {
201
203
  path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
202
204
  },
203
- { path: "customItems.attributes.serviceProperties.scheduledDate" }
205
+ { path: "customItems.attributes.serviceProperties.scheduledDate" },
206
+ { path: "customItems.attributes.serviceProperties.endDate" }
204
207
  ]
205
208
  },
206
209
  {
@@ -250,7 +253,8 @@ function createCart(payload) {
250
253
  },
251
254
  {
252
255
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
253
- }
256
+ },
257
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
254
258
  ]
255
259
  },
256
260
  {
@@ -303,7 +307,8 @@ function getCart(payload) {
303
307
  },
304
308
  {
305
309
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
306
- }
310
+ },
311
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
307
312
  ]
308
313
  },
309
314
  {
@@ -344,7 +349,8 @@ function updateCart(payload) {
344
349
  {
345
350
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
346
351
  },
347
- { path: "cart.lineItems.attributes.serviceProperties.scheduledDate" }
352
+ { path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
353
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
348
354
  ]
349
355
  },
350
356
  {
@@ -390,7 +396,8 @@ function updateCart(payload) {
390
396
  },
391
397
  {
392
398
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
393
- }
399
+ },
400
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
394
401
  ]
395
402
  },
396
403
  {
@@ -464,7 +471,8 @@ function refreshCart(payload) {
464
471
  },
465
472
  {
466
473
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
467
- }
474
+ },
475
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
468
476
  ]
469
477
  },
470
478
  {
@@ -518,6 +526,7 @@ function calculateCart(payload) {
518
526
  {
519
527
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
520
528
  },
529
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" },
521
530
  {
522
531
  path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
523
532
  }
@@ -606,7 +615,8 @@ function addLineItems(payload) {
606
615
  {
607
616
  path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
608
617
  },
609
- { path: "customItems.attributes.serviceProperties.scheduledDate" }
618
+ { path: "customItems.attributes.serviceProperties.scheduledDate" },
619
+ { path: "customItems.attributes.serviceProperties.endDate" }
610
620
  ]
611
621
  }
612
622
  ]);
@@ -639,7 +649,8 @@ function addLineItems(payload) {
639
649
  },
640
650
  {
641
651
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
642
- }
652
+ },
653
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
643
654
  ]
644
655
  },
645
656
  {
@@ -692,7 +703,8 @@ function removeLineItems(payload) {
692
703
  },
693
704
  {
694
705
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
695
- }
706
+ },
707
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
696
708
  ]
697
709
  },
698
710
  {
@@ -745,7 +757,8 @@ function updateLineItems(payload) {
745
757
  },
746
758
  {
747
759
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
748
- }
760
+ },
761
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
749
762
  ]
750
763
  },
751
764
  {
@@ -798,7 +811,8 @@ function addCoupon(payload) {
798
811
  },
799
812
  {
800
813
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
801
- }
814
+ },
815
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
802
816
  ]
803
817
  },
804
818
  {
@@ -851,7 +865,8 @@ function removeCoupon(payload) {
851
865
  },
852
866
  {
853
867
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
854
- }
868
+ },
869
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
855
870
  ]
856
871
  },
857
872
  {
@@ -904,7 +919,8 @@ function setDeliveryMethod(payload) {
904
919
  },
905
920
  {
906
921
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
907
- }
922
+ },
923
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
908
924
  ]
909
925
  },
910
926
  {
@@ -957,7 +973,8 @@ function addGiftCard(payload) {
957
973
  },
958
974
  {
959
975
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
960
- }
976
+ },
977
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
961
978
  ]
962
979
  },
963
980
  {
@@ -1010,7 +1027,8 @@ function removeGiftCard(payload) {
1010
1027
  },
1011
1028
  {
1012
1029
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
1013
- }
1030
+ },
1031
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
1014
1032
  ]
1015
1033
  },
1016
1034
  {
@@ -1063,7 +1081,8 @@ function markCartAsCompleted(payload) {
1063
1081
  },
1064
1082
  {
1065
1083
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
1066
- }
1084
+ },
1085
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
1067
1086
  ]
1068
1087
  },
1069
1088
  {
@@ -1143,7 +1162,8 @@ function updateFormSubmissions(payload) {
1143
1162
  },
1144
1163
  {
1145
1164
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
1146
- }
1165
+ },
1166
+ { path: "cart.lineItems.attributes.serviceProperties.endDate" }
1147
1167
  ]
1148
1168
  },
1149
1169
  {
@@ -1401,6 +1421,11 @@ var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
1401
1421
  DiscountType2["SHIPPING"] = "SHIPPING";
1402
1422
  return DiscountType2;
1403
1423
  })(DiscountType || {});
1424
+ var BalanceType = /* @__PURE__ */ ((BalanceType2) => {
1425
+ BalanceType2["PUNCH_CARD"] = "PUNCH_CARD";
1426
+ BalanceType2["CREDIT"] = "CREDIT";
1427
+ return BalanceType2;
1428
+ })(BalanceType || {});
1404
1429
  var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
1405
1430
  AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
1406
1431
  AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
@@ -2319,6 +2344,7 @@ async function updateFormSubmissions2(cartId, options) {
2319
2344
  // Annotate the CommonJS export names for ESM import in node:
2320
2345
  0 && (module.exports = {
2321
2346
  AdditionalFeeSource,
2347
+ BalanceType,
2322
2348
  ChannelType,
2323
2349
  ChargeType,
2324
2350
  CheckoutStage,