@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
|
@@ -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
|
|
3961
|
+
* Membership's initial value.
|
|
3956
3962
|
* @min 1
|
|
3957
3963
|
*/
|
|
3958
3964
|
total?: number;
|
|
3959
|
-
/** Membership's remaining
|
|
3965
|
+
/** Membership's remaining value. */
|
|
3960
3966
|
remaining?: number;
|
|
3961
3967
|
/**
|
|
3962
|
-
* The amount
|
|
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 UpdateCartApplicationErrors = {
|
|
|
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;
|
|
@@ -5377,4 +5392,4 @@ interface UpdateFormSubmissionsOptions {
|
|
|
5377
5392
|
formSubmissions?: FormSubmission[];
|
|
5378
5393
|
}
|
|
5379
5394
|
|
|
5380
|
-
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 };
|
|
5395
|
+
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 };
|
|
@@ -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";
|
|
@@ -2246,6 +2270,7 @@ async function updateFormSubmissions2(cartId, options) {
|
|
|
2246
2270
|
}
|
|
2247
2271
|
export {
|
|
2248
2272
|
AdditionalFeeSource,
|
|
2273
|
+
BalanceType,
|
|
2249
2274
|
ChannelType,
|
|
2250
2275
|
ChargeType,
|
|
2251
2276
|
CheckoutStage,
|