@wix/auto_sdk_ecom_checkout 1.0.38 → 1.0.39

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.
@@ -2167,6 +2167,10 @@ interface UpdatedCheckoutMessage {
2167
2167
  /** Updated checkout. */
2168
2168
  updatedCheckout?: Checkout;
2169
2169
  }
2170
+ /** Triggered when an order created from this checkout is successfully paid for or when a checkout is marked as completed. */
2171
+ interface CheckoutMarkedAsCompleted {
2172
+ checkout?: Checkout;
2173
+ }
2170
2174
  interface CreateCheckoutRequest {
2171
2175
  /** Checkout information. */
2172
2176
  checkoutInfo?: Checkout;
@@ -2719,10 +2723,6 @@ interface MarkCheckoutAsCompletedRequest {
2719
2723
  }
2720
2724
  interface MarkCheckoutAsCompletedResponse {
2721
2725
  }
2722
- /** Triggered when an order created from this checkout is successfully paid for or when a checkout is marked as completed. */
2723
- interface CheckoutMarkedAsCompleted {
2724
- checkout?: Checkout;
2725
- }
2726
2726
  interface UpdateLineItemsQuantityRequest {
2727
2727
  /**
2728
2728
  * Checkout ID.
@@ -3590,6 +3590,9 @@ interface CheckoutCreatedEnvelope {
3590
3590
  entity: Checkout;
3591
3591
  metadata: EventMetadata;
3592
3592
  }
3593
+ interface CheckoutDeletedEnvelope {
3594
+ metadata: EventMetadata;
3595
+ }
3593
3596
  interface CheckoutUpdatedEnvelope {
3594
3597
  entity: Checkout;
3595
3598
  metadata: EventMetadata;
@@ -3891,4 +3894,4 @@ interface CreateOrderAndChargeOptions {
3891
3894
  delayCapture?: boolean;
3892
3895
  }
3893
3896
 
3894
- export { type ProductName as $, type AddToCheckoutOptions as A, SuggestedFix as B, type CreateCheckoutOptions as C, DescriptionLineType as D, GetCheckoutPaymentSettingsResponsePaymentOption as E, FileType as F, type GetCheckoutByCartIdResponse as G, IdentityType as H, ItemAvailabilityStatus as I, JurisdictionType as J, LineItemType as K, type LineItemQuantityUpdate as L, ManualCalculationReason as M, NameInOther as N, MediaItemType as O, PaymentOptionType as P, DiscountDiscountType as Q, type RemoveCouponResponse as R, SubscriptionFrequency as S, TaxableAddressType as T, type UpdateCheckout as U, VatType as V, WeightUnit as W, ChannelInfoChannelType as X, WebhookIdentityType as Y, type LineItem as Z, type CatalogReference as _, type Checkout as a, type ApplicationError as a$, type MultiCurrencyPrice as a0, type ItemTaxFullDetails as a1, type TaxRateBreakdown as a2, type TaxBreakdown as a3, type DescriptionLine as a4, type DescriptionLineValueOneOf as a5, type DescriptionLineDescriptionLineValueOneOf as a6, type DescriptionLineName as a7, type PlainTextValue as a8, type Color as a9, type StreetAddress as aA, type AddressLocation as aB, type FullAddressContactDetails as aC, type CommonVatId as aD, type ShippingInfo as aE, type SelectedCarrierServiceOption as aF, type DeliveryLogistics as aG, type PickupDetails as aH, type DeliveryTimeSlot as aI, type SelectedCarrierServiceOptionPrices as aJ, type SelectedCarrierServiceOptionOtherCharge as aK, type DeliveryAllocation as aL, type Carrier as aM, type Region as aN, type ApplicableLineItems as aO, type ShippingRegion as aP, type CarrierServiceOption as aQ, type ShippingOption as aR, type ShippingPrice as aS, type OtherCharge as aT, type BuyerInfo as aU, type BuyerInfoIdOneOf as aV, type PriceSummary as aW, type CalculationErrors as aX, type CalculationErrorsShippingCalculationErrorOneOf as aY, type Details as aZ, type DetailsKindOneOf as a_, type FocalPoint as aa, type ItemAvailabilityInfo as ab, type PhysicalProperties as ac, type Scope as ad, type Group as ae, type ItemType as af, type ItemTypeItemTypeDataOneOf as ag, type SubscriptionOptionInfo as ah, type SubscriptionSettings as ai, type FreeTrialPeriod as aj, type Title as ak, type Description as al, type SecuredMedia as am, type ServiceProperties as an, type PriceDescription as ao, type CatalogOverrideFields as ap, type PaymentOption as aq, type TaxableAddress as ar, type TaxableAddressTaxableAddressDataOneOf as as, type ExtendedFields as at, type Policy as au, type ModifierGroup as av, type TranslatableString as aw, type ItemModifier as ax, type AddressWithContact as ay, type ApiAddress as az, type GetCheckoutURLResponse as b, type RemoveLineItemsRequest as b$, type ValidationError as b0, type FieldViolation as b1, type SystemError as b2, type CarrierErrors as b3, type CarrierError as b4, type GiftCard as b5, type AppliedDiscount as b6, type AppliedDiscountDiscountSourceOneOf as b7, type Coupon as b8, type MerchantDiscount as b9, type CustomContentReference as bA, type ExternalReference as bB, type SubscriptionCharges as bC, type Charge as bD, type UpdatedCheckoutMessage as bE, type CreateCheckoutRequest as bF, type CustomLineItem as bG, type V1ModifierGroup as bH, type V1ItemModifier as bI, type MerchantDiscountInput as bJ, type CreateCheckoutResponse as bK, type ShippingCalculationErrorData as bL, type ShippingCalculationErrorDataShippingCalculationErrorOneOf as bM, type GetCheckoutRequest as bN, type GetCheckoutResponse as bO, type GetCheckoutWithAllExtendedFieldsRequest as bP, type GetCheckoutWithAllExtendedFieldsResponse as bQ, type GetCheckoutByCartIdRequest as bR, type GetWixCheckoutURLRequest as bS, type GetWixCheckoutURLResponse as bT, type GetCheckoutURLRequest as bU, type UpdateCheckoutRequest as bV, type UpdateCheckoutResponse as bW, type RemoveCouponRequest as bX, type RemoveGiftCardRequest as bY, type RemoveOverrideCheckoutUrlRequest as bZ, type AddToCheckoutRequest as b_, type DiscountRule as ba, type DiscountRuleName as bb, type LineItemDiscount as bc, type CustomField as bd, type TaxSummary as be, type TaxCalculationDetails as bf, type TaxCalculationDetailsCalculationDetailsOneOf as bg, type AutoTaxFallbackCalculationDetails as bh, type AggregatedTaxBreakdown as bi, type CreatedBy as bj, type CreatedByIdOneOf as bk, type MembershipOptions as bl, type Membership as bm, type MembershipName as bn, type MembershipPaymentCredits as bo, type InvalidMembership as bp, type SelectedMemberships as bq, type SelectedMembership as br, type AdditionalFee as bs, type ConversionInfo as bt, type Violation as bu, type Target as bv, type TargetTargetTypeOneOf as bw, type Other as bx, type TargetLineItem as by, type CustomSettings as bz, type UpdateCheckoutOptions as c, type CreateOrderRequest as c0, type CreateOrderResponseIdOneOf as c1, type PaymentErrorResponseData as c2, type DoublePaymentErrorData as c3, type DoublePaymentErrorDataIdOneOf as c4, type RedeemErrorData as c5, type ViolationsList as c6, type CreateOrderAndChargeRequest as c7, type CreateOrderAndChargeResponse as c8, type CreateOrderAndChargeResponseIdOneOf as c9, type V1ShippingInfo as cA, type V1ShippingInfoDetailsOneOf as cB, type ShipmentDetails as cC, type V1PickupDetails as cD, type PickupAddress as cE, type AppliedCoupon as cF, type V1CustomField as cG, type V1SubscriptionOptionInfo as cH, type Discount as cI, type ChannelInfo as cJ, type V1SubscriptionSettings as cK, type BillingInfo as cL, type Empty as cM, type DomainEvent as cN, type DomainEventBodyOneOf as cO, type EntityCreatedEvent as cP, type RestoreInfo as cQ, type EntityUpdatedEvent as cR, type EntityDeletedEvent as cS, type ActionEvent as cT, type MessageEnvelope as cU, type IdentificationData as cV, type IdentificationDataIdOneOf as cW, type BaseEventMetadata as cX, type EventMetadata as cY, type CreateOrderAndChargeOptions as cZ, type MarkCheckoutAsCompletedAndRedirectToUrlRequest as ca, type HeadersEntry as cb, type MarkCheckoutAsCompletedRequest as cc, type MarkCheckoutAsCompletedResponse as cd, type CheckoutMarkedAsCompleted as ce, type UpdateLineItemsQuantityRequest as cf, type GetCheckoutPaymentSettingsRequest as cg, type GetCheckoutPaymentSettingsResponse as ch, type DeleteCheckoutRequest as ci, type DeleteCheckoutResponse as cj, type SubscriptionCreated as ck, type Subscription as cl, type V1BuyerInfo as cm, type V1LineItem as cn, type OptionSelection as co, type CustomTextFieldSelection as cp, type ChargeDetails as cq, type ProductDetails as cr, type MediaItem as cs, type Totals as ct, type StoreSettings as cu, type Address as cv, type AddressAddressLine1OptionsOneOf as cw, type FullName as cx, type Street as cy, type VatId as cz, type RemoveGiftCardResponse as d, type RemoveOverrideCheckoutUrlResponse as e, type AddToCheckoutResponse as f, type RemoveLineItemsResponse as g, type CreateOrderOptions as h, type CreateOrderResponse as i, type RawHttpResponse as j, type UpdateLineItemsQuantityResponse as k, type CheckoutCompletedEnvelope as l, type CheckoutCreatedEnvelope as m, type CheckoutUpdatedEnvelope as n, ItemTypeItemType as o, CommonVatType as p, PickupMethod as q, ChargeType as r, RuleType as s, DiscountType as t, RateType as u, FallbackReason as v, ChannelType as w, AdditionalFeeSource as x, Severity as y, NameInLineItem as z };
3897
+ export { type CatalogReference as $, type AddToCheckoutOptions as A, NameInLineItem as B, type CreateCheckoutOptions as C, DescriptionLineType as D, SuggestedFix as E, FileType as F, type GetCheckoutByCartIdResponse as G, GetCheckoutPaymentSettingsResponsePaymentOption as H, ItemAvailabilityStatus as I, JurisdictionType as J, IdentityType as K, type LineItemQuantityUpdate as L, ManualCalculationReason as M, NameInOther as N, LineItemType as O, PaymentOptionType as P, MediaItemType as Q, type RemoveCouponResponse as R, SubscriptionFrequency as S, TaxableAddressType as T, type UpdateCheckout as U, VatType as V, WeightUnit as W, DiscountDiscountType as X, ChannelInfoChannelType as Y, WebhookIdentityType as Z, type LineItem as _, type Checkout as a, type DetailsKindOneOf as a$, type ProductName as a0, type MultiCurrencyPrice as a1, type ItemTaxFullDetails as a2, type TaxRateBreakdown as a3, type TaxBreakdown as a4, type DescriptionLine as a5, type DescriptionLineValueOneOf as a6, type DescriptionLineDescriptionLineValueOneOf as a7, type DescriptionLineName as a8, type PlainTextValue as a9, type ApiAddress as aA, type StreetAddress as aB, type AddressLocation as aC, type FullAddressContactDetails as aD, type CommonVatId as aE, type ShippingInfo as aF, type SelectedCarrierServiceOption as aG, type DeliveryLogistics as aH, type PickupDetails as aI, type DeliveryTimeSlot as aJ, type SelectedCarrierServiceOptionPrices as aK, type SelectedCarrierServiceOptionOtherCharge as aL, type DeliveryAllocation as aM, type Carrier as aN, type Region as aO, type ApplicableLineItems as aP, type ShippingRegion as aQ, type CarrierServiceOption as aR, type ShippingOption as aS, type ShippingPrice as aT, type OtherCharge as aU, type BuyerInfo as aV, type BuyerInfoIdOneOf as aW, type PriceSummary as aX, type CalculationErrors as aY, type CalculationErrorsShippingCalculationErrorOneOf as aZ, type Details as a_, type Color as aa, type FocalPoint as ab, type ItemAvailabilityInfo as ac, type PhysicalProperties as ad, type Scope as ae, type Group as af, type ItemType as ag, type ItemTypeItemTypeDataOneOf as ah, type SubscriptionOptionInfo as ai, type SubscriptionSettings as aj, type FreeTrialPeriod as ak, type Title as al, type Description as am, type SecuredMedia as an, type ServiceProperties as ao, type PriceDescription as ap, type CatalogOverrideFields as aq, type PaymentOption as ar, type TaxableAddress as as, type TaxableAddressTaxableAddressDataOneOf as at, type ExtendedFields as au, type Policy as av, type ModifierGroup as aw, type TranslatableString as ax, type ItemModifier as ay, type AddressWithContact as az, type GetCheckoutURLResponse as b, type RemoveOverrideCheckoutUrlRequest as b$, type ApplicationError as b0, type ValidationError as b1, type FieldViolation as b2, type SystemError as b3, type CarrierErrors as b4, type CarrierError as b5, type GiftCard as b6, type AppliedDiscount as b7, type AppliedDiscountDiscountSourceOneOf as b8, type Coupon as b9, type CustomSettings as bA, type CustomContentReference as bB, type ExternalReference as bC, type SubscriptionCharges as bD, type Charge as bE, type UpdatedCheckoutMessage as bF, type CheckoutMarkedAsCompleted as bG, type CreateCheckoutRequest as bH, type CustomLineItem as bI, type V1ModifierGroup as bJ, type V1ItemModifier as bK, type MerchantDiscountInput as bL, type CreateCheckoutResponse as bM, type ShippingCalculationErrorData as bN, type ShippingCalculationErrorDataShippingCalculationErrorOneOf as bO, type GetCheckoutRequest as bP, type GetCheckoutResponse as bQ, type GetCheckoutWithAllExtendedFieldsRequest as bR, type GetCheckoutWithAllExtendedFieldsResponse as bS, type GetCheckoutByCartIdRequest as bT, type GetWixCheckoutURLRequest as bU, type GetWixCheckoutURLResponse as bV, type GetCheckoutURLRequest as bW, type UpdateCheckoutRequest as bX, type UpdateCheckoutResponse as bY, type RemoveCouponRequest as bZ, type RemoveGiftCardRequest as b_, type MerchantDiscount as ba, type DiscountRule as bb, type DiscountRuleName as bc, type LineItemDiscount as bd, type CustomField as be, type TaxSummary as bf, type TaxCalculationDetails as bg, type TaxCalculationDetailsCalculationDetailsOneOf as bh, type AutoTaxFallbackCalculationDetails as bi, type AggregatedTaxBreakdown as bj, type CreatedBy as bk, type CreatedByIdOneOf as bl, type MembershipOptions as bm, type Membership as bn, type MembershipName as bo, type MembershipPaymentCredits as bp, type InvalidMembership as bq, type SelectedMemberships as br, type SelectedMembership as bs, type AdditionalFee as bt, type ConversionInfo as bu, type Violation as bv, type Target as bw, type TargetTargetTypeOneOf as bx, type Other as by, type TargetLineItem as bz, type UpdateCheckoutOptions as c, type AddToCheckoutRequest as c0, type RemoveLineItemsRequest as c1, type CreateOrderRequest as c2, type CreateOrderResponseIdOneOf as c3, type PaymentErrorResponseData as c4, type DoublePaymentErrorData as c5, type DoublePaymentErrorDataIdOneOf as c6, type RedeemErrorData as c7, type ViolationsList as c8, type CreateOrderAndChargeRequest as c9, type VatId as cA, type V1ShippingInfo as cB, type V1ShippingInfoDetailsOneOf as cC, type ShipmentDetails as cD, type V1PickupDetails as cE, type PickupAddress as cF, type AppliedCoupon as cG, type V1CustomField as cH, type V1SubscriptionOptionInfo as cI, type Discount as cJ, type ChannelInfo as cK, type V1SubscriptionSettings as cL, type BillingInfo as cM, type Empty as cN, type DomainEvent as cO, type DomainEventBodyOneOf as cP, type EntityCreatedEvent as cQ, type RestoreInfo as cR, type EntityUpdatedEvent as cS, type EntityDeletedEvent as cT, type ActionEvent as cU, type MessageEnvelope as cV, type IdentificationData as cW, type IdentificationDataIdOneOf as cX, type BaseEventMetadata as cY, type EventMetadata as cZ, type CreateOrderAndChargeOptions as c_, type CreateOrderAndChargeResponse as ca, type CreateOrderAndChargeResponseIdOneOf as cb, type MarkCheckoutAsCompletedAndRedirectToUrlRequest as cc, type HeadersEntry as cd, type MarkCheckoutAsCompletedRequest as ce, type MarkCheckoutAsCompletedResponse as cf, type UpdateLineItemsQuantityRequest as cg, type GetCheckoutPaymentSettingsRequest as ch, type GetCheckoutPaymentSettingsResponse as ci, type DeleteCheckoutRequest as cj, type DeleteCheckoutResponse as ck, type SubscriptionCreated as cl, type Subscription as cm, type V1BuyerInfo as cn, type V1LineItem as co, type OptionSelection as cp, type CustomTextFieldSelection as cq, type ChargeDetails as cr, type ProductDetails as cs, type MediaItem as ct, type Totals as cu, type StoreSettings as cv, type Address as cw, type AddressAddressLine1OptionsOneOf as cx, type FullName as cy, type Street as cz, type RemoveGiftCardResponse as d, type RemoveOverrideCheckoutUrlResponse as e, type AddToCheckoutResponse as f, type RemoveLineItemsResponse as g, type CreateOrderOptions as h, type CreateOrderResponse as i, type RawHttpResponse as j, type UpdateLineItemsQuantityResponse as k, type CheckoutCompletedEnvelope as l, type CheckoutCreatedEnvelope as m, type CheckoutDeletedEnvelope as n, type CheckoutUpdatedEnvelope as o, ItemTypeItemType as p, CommonVatType as q, PickupMethod as r, ChargeType as s, RuleType as t, DiscountType as u, RateType as v, FallbackReason as w, ChannelType as x, AdditionalFeeSource as y, Severity as z };
@@ -2167,6 +2167,10 @@ interface UpdatedCheckoutMessage {
2167
2167
  /** Updated checkout. */
2168
2168
  updatedCheckout?: Checkout;
2169
2169
  }
2170
+ /** Triggered when an order created from this checkout is successfully paid for or when a checkout is marked as completed. */
2171
+ interface CheckoutMarkedAsCompleted {
2172
+ checkout?: Checkout;
2173
+ }
2170
2174
  interface CreateCheckoutRequest {
2171
2175
  /** Checkout information. */
2172
2176
  checkoutInfo?: Checkout;
@@ -2719,10 +2723,6 @@ interface MarkCheckoutAsCompletedRequest {
2719
2723
  }
2720
2724
  interface MarkCheckoutAsCompletedResponse {
2721
2725
  }
2722
- /** Triggered when an order created from this checkout is successfully paid for or when a checkout is marked as completed. */
2723
- interface CheckoutMarkedAsCompleted {
2724
- checkout?: Checkout;
2725
- }
2726
2726
  interface UpdateLineItemsQuantityRequest {
2727
2727
  /**
2728
2728
  * Checkout ID.
@@ -3590,6 +3590,9 @@ interface CheckoutCreatedEnvelope {
3590
3590
  entity: Checkout;
3591
3591
  metadata: EventMetadata;
3592
3592
  }
3593
+ interface CheckoutDeletedEnvelope {
3594
+ metadata: EventMetadata;
3595
+ }
3593
3596
  interface CheckoutUpdatedEnvelope {
3594
3597
  entity: Checkout;
3595
3598
  metadata: EventMetadata;
@@ -3891,4 +3894,4 @@ interface CreateOrderAndChargeOptions {
3891
3894
  delayCapture?: boolean;
3892
3895
  }
3893
3896
 
3894
- export { type ProductName as $, type AddToCheckoutOptions as A, SuggestedFix as B, type CreateCheckoutOptions as C, DescriptionLineType as D, GetCheckoutPaymentSettingsResponsePaymentOption as E, FileType as F, type GetCheckoutByCartIdResponse as G, IdentityType as H, ItemAvailabilityStatus as I, JurisdictionType as J, LineItemType as K, type LineItemQuantityUpdate as L, ManualCalculationReason as M, NameInOther as N, MediaItemType as O, PaymentOptionType as P, DiscountDiscountType as Q, type RemoveCouponResponse as R, SubscriptionFrequency as S, TaxableAddressType as T, type UpdateCheckout as U, VatType as V, WeightUnit as W, ChannelInfoChannelType as X, WebhookIdentityType as Y, type LineItem as Z, type CatalogReference as _, type Checkout as a, type ApplicationError as a$, type MultiCurrencyPrice as a0, type ItemTaxFullDetails as a1, type TaxRateBreakdown as a2, type TaxBreakdown as a3, type DescriptionLine as a4, type DescriptionLineValueOneOf as a5, type DescriptionLineDescriptionLineValueOneOf as a6, type DescriptionLineName as a7, type PlainTextValue as a8, type Color as a9, type StreetAddress as aA, type AddressLocation as aB, type FullAddressContactDetails as aC, type CommonVatId as aD, type ShippingInfo as aE, type SelectedCarrierServiceOption as aF, type DeliveryLogistics as aG, type PickupDetails as aH, type DeliveryTimeSlot as aI, type SelectedCarrierServiceOptionPrices as aJ, type SelectedCarrierServiceOptionOtherCharge as aK, type DeliveryAllocation as aL, type Carrier as aM, type Region as aN, type ApplicableLineItems as aO, type ShippingRegion as aP, type CarrierServiceOption as aQ, type ShippingOption as aR, type ShippingPrice as aS, type OtherCharge as aT, type BuyerInfo as aU, type BuyerInfoIdOneOf as aV, type PriceSummary as aW, type CalculationErrors as aX, type CalculationErrorsShippingCalculationErrorOneOf as aY, type Details as aZ, type DetailsKindOneOf as a_, type FocalPoint as aa, type ItemAvailabilityInfo as ab, type PhysicalProperties as ac, type Scope as ad, type Group as ae, type ItemType as af, type ItemTypeItemTypeDataOneOf as ag, type SubscriptionOptionInfo as ah, type SubscriptionSettings as ai, type FreeTrialPeriod as aj, type Title as ak, type Description as al, type SecuredMedia as am, type ServiceProperties as an, type PriceDescription as ao, type CatalogOverrideFields as ap, type PaymentOption as aq, type TaxableAddress as ar, type TaxableAddressTaxableAddressDataOneOf as as, type ExtendedFields as at, type Policy as au, type ModifierGroup as av, type TranslatableString as aw, type ItemModifier as ax, type AddressWithContact as ay, type ApiAddress as az, type GetCheckoutURLResponse as b, type RemoveLineItemsRequest as b$, type ValidationError as b0, type FieldViolation as b1, type SystemError as b2, type CarrierErrors as b3, type CarrierError as b4, type GiftCard as b5, type AppliedDiscount as b6, type AppliedDiscountDiscountSourceOneOf as b7, type Coupon as b8, type MerchantDiscount as b9, type CustomContentReference as bA, type ExternalReference as bB, type SubscriptionCharges as bC, type Charge as bD, type UpdatedCheckoutMessage as bE, type CreateCheckoutRequest as bF, type CustomLineItem as bG, type V1ModifierGroup as bH, type V1ItemModifier as bI, type MerchantDiscountInput as bJ, type CreateCheckoutResponse as bK, type ShippingCalculationErrorData as bL, type ShippingCalculationErrorDataShippingCalculationErrorOneOf as bM, type GetCheckoutRequest as bN, type GetCheckoutResponse as bO, type GetCheckoutWithAllExtendedFieldsRequest as bP, type GetCheckoutWithAllExtendedFieldsResponse as bQ, type GetCheckoutByCartIdRequest as bR, type GetWixCheckoutURLRequest as bS, type GetWixCheckoutURLResponse as bT, type GetCheckoutURLRequest as bU, type UpdateCheckoutRequest as bV, type UpdateCheckoutResponse as bW, type RemoveCouponRequest as bX, type RemoveGiftCardRequest as bY, type RemoveOverrideCheckoutUrlRequest as bZ, type AddToCheckoutRequest as b_, type DiscountRule as ba, type DiscountRuleName as bb, type LineItemDiscount as bc, type CustomField as bd, type TaxSummary as be, type TaxCalculationDetails as bf, type TaxCalculationDetailsCalculationDetailsOneOf as bg, type AutoTaxFallbackCalculationDetails as bh, type AggregatedTaxBreakdown as bi, type CreatedBy as bj, type CreatedByIdOneOf as bk, type MembershipOptions as bl, type Membership as bm, type MembershipName as bn, type MembershipPaymentCredits as bo, type InvalidMembership as bp, type SelectedMemberships as bq, type SelectedMembership as br, type AdditionalFee as bs, type ConversionInfo as bt, type Violation as bu, type Target as bv, type TargetTargetTypeOneOf as bw, type Other as bx, type TargetLineItem as by, type CustomSettings as bz, type UpdateCheckoutOptions as c, type CreateOrderRequest as c0, type CreateOrderResponseIdOneOf as c1, type PaymentErrorResponseData as c2, type DoublePaymentErrorData as c3, type DoublePaymentErrorDataIdOneOf as c4, type RedeemErrorData as c5, type ViolationsList as c6, type CreateOrderAndChargeRequest as c7, type CreateOrderAndChargeResponse as c8, type CreateOrderAndChargeResponseIdOneOf as c9, type V1ShippingInfo as cA, type V1ShippingInfoDetailsOneOf as cB, type ShipmentDetails as cC, type V1PickupDetails as cD, type PickupAddress as cE, type AppliedCoupon as cF, type V1CustomField as cG, type V1SubscriptionOptionInfo as cH, type Discount as cI, type ChannelInfo as cJ, type V1SubscriptionSettings as cK, type BillingInfo as cL, type Empty as cM, type DomainEvent as cN, type DomainEventBodyOneOf as cO, type EntityCreatedEvent as cP, type RestoreInfo as cQ, type EntityUpdatedEvent as cR, type EntityDeletedEvent as cS, type ActionEvent as cT, type MessageEnvelope as cU, type IdentificationData as cV, type IdentificationDataIdOneOf as cW, type BaseEventMetadata as cX, type EventMetadata as cY, type CreateOrderAndChargeOptions as cZ, type MarkCheckoutAsCompletedAndRedirectToUrlRequest as ca, type HeadersEntry as cb, type MarkCheckoutAsCompletedRequest as cc, type MarkCheckoutAsCompletedResponse as cd, type CheckoutMarkedAsCompleted as ce, type UpdateLineItemsQuantityRequest as cf, type GetCheckoutPaymentSettingsRequest as cg, type GetCheckoutPaymentSettingsResponse as ch, type DeleteCheckoutRequest as ci, type DeleteCheckoutResponse as cj, type SubscriptionCreated as ck, type Subscription as cl, type V1BuyerInfo as cm, type V1LineItem as cn, type OptionSelection as co, type CustomTextFieldSelection as cp, type ChargeDetails as cq, type ProductDetails as cr, type MediaItem as cs, type Totals as ct, type StoreSettings as cu, type Address as cv, type AddressAddressLine1OptionsOneOf as cw, type FullName as cx, type Street as cy, type VatId as cz, type RemoveGiftCardResponse as d, type RemoveOverrideCheckoutUrlResponse as e, type AddToCheckoutResponse as f, type RemoveLineItemsResponse as g, type CreateOrderOptions as h, type CreateOrderResponse as i, type RawHttpResponse as j, type UpdateLineItemsQuantityResponse as k, type CheckoutCompletedEnvelope as l, type CheckoutCreatedEnvelope as m, type CheckoutUpdatedEnvelope as n, ItemTypeItemType as o, CommonVatType as p, PickupMethod as q, ChargeType as r, RuleType as s, DiscountType as t, RateType as u, FallbackReason as v, ChannelType as w, AdditionalFeeSource as x, Severity as y, NameInLineItem as z };
3897
+ export { type CatalogReference as $, type AddToCheckoutOptions as A, NameInLineItem as B, type CreateCheckoutOptions as C, DescriptionLineType as D, SuggestedFix as E, FileType as F, type GetCheckoutByCartIdResponse as G, GetCheckoutPaymentSettingsResponsePaymentOption as H, ItemAvailabilityStatus as I, JurisdictionType as J, IdentityType as K, type LineItemQuantityUpdate as L, ManualCalculationReason as M, NameInOther as N, LineItemType as O, PaymentOptionType as P, MediaItemType as Q, type RemoveCouponResponse as R, SubscriptionFrequency as S, TaxableAddressType as T, type UpdateCheckout as U, VatType as V, WeightUnit as W, DiscountDiscountType as X, ChannelInfoChannelType as Y, WebhookIdentityType as Z, type LineItem as _, type Checkout as a, type DetailsKindOneOf as a$, type ProductName as a0, type MultiCurrencyPrice as a1, type ItemTaxFullDetails as a2, type TaxRateBreakdown as a3, type TaxBreakdown as a4, type DescriptionLine as a5, type DescriptionLineValueOneOf as a6, type DescriptionLineDescriptionLineValueOneOf as a7, type DescriptionLineName as a8, type PlainTextValue as a9, type ApiAddress as aA, type StreetAddress as aB, type AddressLocation as aC, type FullAddressContactDetails as aD, type CommonVatId as aE, type ShippingInfo as aF, type SelectedCarrierServiceOption as aG, type DeliveryLogistics as aH, type PickupDetails as aI, type DeliveryTimeSlot as aJ, type SelectedCarrierServiceOptionPrices as aK, type SelectedCarrierServiceOptionOtherCharge as aL, type DeliveryAllocation as aM, type Carrier as aN, type Region as aO, type ApplicableLineItems as aP, type ShippingRegion as aQ, type CarrierServiceOption as aR, type ShippingOption as aS, type ShippingPrice as aT, type OtherCharge as aU, type BuyerInfo as aV, type BuyerInfoIdOneOf as aW, type PriceSummary as aX, type CalculationErrors as aY, type CalculationErrorsShippingCalculationErrorOneOf as aZ, type Details as a_, type Color as aa, type FocalPoint as ab, type ItemAvailabilityInfo as ac, type PhysicalProperties as ad, type Scope as ae, type Group as af, type ItemType as ag, type ItemTypeItemTypeDataOneOf as ah, type SubscriptionOptionInfo as ai, type SubscriptionSettings as aj, type FreeTrialPeriod as ak, type Title as al, type Description as am, type SecuredMedia as an, type ServiceProperties as ao, type PriceDescription as ap, type CatalogOverrideFields as aq, type PaymentOption as ar, type TaxableAddress as as, type TaxableAddressTaxableAddressDataOneOf as at, type ExtendedFields as au, type Policy as av, type ModifierGroup as aw, type TranslatableString as ax, type ItemModifier as ay, type AddressWithContact as az, type GetCheckoutURLResponse as b, type RemoveOverrideCheckoutUrlRequest as b$, type ApplicationError as b0, type ValidationError as b1, type FieldViolation as b2, type SystemError as b3, type CarrierErrors as b4, type CarrierError as b5, type GiftCard as b6, type AppliedDiscount as b7, type AppliedDiscountDiscountSourceOneOf as b8, type Coupon as b9, type CustomSettings as bA, type CustomContentReference as bB, type ExternalReference as bC, type SubscriptionCharges as bD, type Charge as bE, type UpdatedCheckoutMessage as bF, type CheckoutMarkedAsCompleted as bG, type CreateCheckoutRequest as bH, type CustomLineItem as bI, type V1ModifierGroup as bJ, type V1ItemModifier as bK, type MerchantDiscountInput as bL, type CreateCheckoutResponse as bM, type ShippingCalculationErrorData as bN, type ShippingCalculationErrorDataShippingCalculationErrorOneOf as bO, type GetCheckoutRequest as bP, type GetCheckoutResponse as bQ, type GetCheckoutWithAllExtendedFieldsRequest as bR, type GetCheckoutWithAllExtendedFieldsResponse as bS, type GetCheckoutByCartIdRequest as bT, type GetWixCheckoutURLRequest as bU, type GetWixCheckoutURLResponse as bV, type GetCheckoutURLRequest as bW, type UpdateCheckoutRequest as bX, type UpdateCheckoutResponse as bY, type RemoveCouponRequest as bZ, type RemoveGiftCardRequest as b_, type MerchantDiscount as ba, type DiscountRule as bb, type DiscountRuleName as bc, type LineItemDiscount as bd, type CustomField as be, type TaxSummary as bf, type TaxCalculationDetails as bg, type TaxCalculationDetailsCalculationDetailsOneOf as bh, type AutoTaxFallbackCalculationDetails as bi, type AggregatedTaxBreakdown as bj, type CreatedBy as bk, type CreatedByIdOneOf as bl, type MembershipOptions as bm, type Membership as bn, type MembershipName as bo, type MembershipPaymentCredits as bp, type InvalidMembership as bq, type SelectedMemberships as br, type SelectedMembership as bs, type AdditionalFee as bt, type ConversionInfo as bu, type Violation as bv, type Target as bw, type TargetTargetTypeOneOf as bx, type Other as by, type TargetLineItem as bz, type UpdateCheckoutOptions as c, type AddToCheckoutRequest as c0, type RemoveLineItemsRequest as c1, type CreateOrderRequest as c2, type CreateOrderResponseIdOneOf as c3, type PaymentErrorResponseData as c4, type DoublePaymentErrorData as c5, type DoublePaymentErrorDataIdOneOf as c6, type RedeemErrorData as c7, type ViolationsList as c8, type CreateOrderAndChargeRequest as c9, type VatId as cA, type V1ShippingInfo as cB, type V1ShippingInfoDetailsOneOf as cC, type ShipmentDetails as cD, type V1PickupDetails as cE, type PickupAddress as cF, type AppliedCoupon as cG, type V1CustomField as cH, type V1SubscriptionOptionInfo as cI, type Discount as cJ, type ChannelInfo as cK, type V1SubscriptionSettings as cL, type BillingInfo as cM, type Empty as cN, type DomainEvent as cO, type DomainEventBodyOneOf as cP, type EntityCreatedEvent as cQ, type RestoreInfo as cR, type EntityUpdatedEvent as cS, type EntityDeletedEvent as cT, type ActionEvent as cU, type MessageEnvelope as cV, type IdentificationData as cW, type IdentificationDataIdOneOf as cX, type BaseEventMetadata as cY, type EventMetadata as cZ, type CreateOrderAndChargeOptions as c_, type CreateOrderAndChargeResponse as ca, type CreateOrderAndChargeResponseIdOneOf as cb, type MarkCheckoutAsCompletedAndRedirectToUrlRequest as cc, type HeadersEntry as cd, type MarkCheckoutAsCompletedRequest as ce, type MarkCheckoutAsCompletedResponse as cf, type UpdateLineItemsQuantityRequest as cg, type GetCheckoutPaymentSettingsRequest as ch, type GetCheckoutPaymentSettingsResponse as ci, type DeleteCheckoutRequest as cj, type DeleteCheckoutResponse as ck, type SubscriptionCreated as cl, type Subscription as cm, type V1BuyerInfo as cn, type V1LineItem as co, type OptionSelection as cp, type CustomTextFieldSelection as cq, type ChargeDetails as cr, type ProductDetails as cs, type MediaItem as ct, type Totals as cu, type StoreSettings as cv, type Address as cw, type AddressAddressLine1OptionsOneOf as cx, type FullName as cy, type Street as cz, type RemoveGiftCardResponse as d, type RemoveOverrideCheckoutUrlResponse as e, type AddToCheckoutResponse as f, type RemoveLineItemsResponse as g, type CreateOrderOptions as h, type CreateOrderResponse as i, type RawHttpResponse as j, type UpdateLineItemsQuantityResponse as k, type CheckoutCompletedEnvelope as l, type CheckoutCreatedEnvelope as m, type CheckoutDeletedEnvelope as n, type CheckoutUpdatedEnvelope as o, ItemTypeItemType as p, CommonVatType as q, PickupMethod as r, ChargeType as s, RuleType as t, DiscountType as u, RateType as v, FallbackReason as w, ChannelType as x, AdditionalFeeSource as y, Severity as z };
package/build/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { C as CreateCheckoutOptions, a as Checkout, G as GetCheckoutByCartIdResponse, b as GetCheckoutURLResponse, U as UpdateCheckout, c as UpdateCheckoutOptions, R as RemoveCouponResponse, d as RemoveGiftCardResponse, e as RemoveOverrideCheckoutUrlResponse, A as AddToCheckoutOptions, f as AddToCheckoutResponse, g as RemoveLineItemsResponse, h as CreateOrderOptions, i as CreateOrderResponse, j as RawHttpResponse, L as LineItemQuantityUpdate, k as UpdateLineItemsQuantityResponse, l as CheckoutCompletedEnvelope, m as CheckoutCreatedEnvelope, n as CheckoutUpdatedEnvelope } from './ecom-v1-checkout-checkout.universal-DEDRvPML.mjs';
3
- export { cT as ActionEvent, b_ as AddToCheckoutRequest, bs as AdditionalFee, x as AdditionalFeeSource, cv as Address, cw as AddressAddressLine1OptionsOneOf, aB as AddressLocation, ay as AddressWithContact, bi as AggregatedTaxBreakdown, az as ApiAddress, aO as ApplicableLineItems, a$ as ApplicationError, cF as AppliedCoupon, b6 as AppliedDiscount, b7 as AppliedDiscountDiscountSourceOneOf, bh as AutoTaxFallbackCalculationDetails, cX as BaseEventMetadata, cL as BillingInfo, aU as BuyerInfo, aV as BuyerInfoIdOneOf, aX as CalculationErrors, aY as CalculationErrorsShippingCalculationErrorOneOf, aM as Carrier, b4 as CarrierError, b3 as CarrierErrors, aQ as CarrierServiceOption, ap as CatalogOverrideFields, _ as CatalogReference, cJ as ChannelInfo, X as ChannelInfoChannelType, w as ChannelType, bD as Charge, cq as ChargeDetails, r as ChargeType, ce as CheckoutMarkedAsCompleted, a9 as Color, aD as CommonVatId, p as CommonVatType, bt as ConversionInfo, b8 as Coupon, bF as CreateCheckoutRequest, bK as CreateCheckoutResponse, cZ as CreateOrderAndChargeOptions, c7 as CreateOrderAndChargeRequest, c8 as CreateOrderAndChargeResponse, c9 as CreateOrderAndChargeResponseIdOneOf, c0 as CreateOrderRequest, c1 as CreateOrderResponseIdOneOf, bj as CreatedBy, bk as CreatedByIdOneOf, bA as CustomContentReference, bd as CustomField, bG as CustomLineItem, bz as CustomSettings, cp as CustomTextFieldSelection, ci as DeleteCheckoutRequest, cj as DeleteCheckoutResponse, aL as DeliveryAllocation, aG as DeliveryLogistics, aI as DeliveryTimeSlot, al as Description, a4 as DescriptionLine, a6 as DescriptionLineDescriptionLineValueOneOf, a7 as DescriptionLineName, D as DescriptionLineType, a5 as DescriptionLineValueOneOf, aZ as Details, a_ as DetailsKindOneOf, cI as Discount, Q as DiscountDiscountType, ba as DiscountRule, bb as DiscountRuleName, t as DiscountType, cN as DomainEvent, cO as DomainEventBodyOneOf, c3 as DoublePaymentErrorData, c4 as DoublePaymentErrorDataIdOneOf, cM as Empty, cP as EntityCreatedEvent, cS as EntityDeletedEvent, cR as EntityUpdatedEvent, cY as EventMetadata, at as ExtendedFields, bB as ExternalReference, v as FallbackReason, b1 as FieldViolation, F as FileType, aa as FocalPoint, aj as FreeTrialPeriod, aC as FullAddressContactDetails, cx as FullName, bR as GetCheckoutByCartIdRequest, cg as GetCheckoutPaymentSettingsRequest, ch as GetCheckoutPaymentSettingsResponse, E as GetCheckoutPaymentSettingsResponsePaymentOption, bN as GetCheckoutRequest, bO as GetCheckoutResponse, bU as GetCheckoutURLRequest, bP as GetCheckoutWithAllExtendedFieldsRequest, bQ as GetCheckoutWithAllExtendedFieldsResponse, bS as GetWixCheckoutURLRequest, bT as GetWixCheckoutURLResponse, b5 as GiftCard, ae as Group, cb as HeadersEntry, cV as IdentificationData, cW as IdentificationDataIdOneOf, H as IdentityType, bp as InvalidMembership, ab as ItemAvailabilityInfo, I as ItemAvailabilityStatus, ax as ItemModifier, a1 as ItemTaxFullDetails, af as ItemType, o as ItemTypeItemType, ag as ItemTypeItemTypeDataOneOf, J as JurisdictionType, Z as LineItem, bc as LineItemDiscount, K as LineItemType, M as ManualCalculationReason, ca as MarkCheckoutAsCompletedAndRedirectToUrlRequest, cc as MarkCheckoutAsCompletedRequest, cd as MarkCheckoutAsCompletedResponse, cs as MediaItem, O as MediaItemType, bm as Membership, bn as MembershipName, bl as MembershipOptions, bo as MembershipPaymentCredits, b9 as MerchantDiscount, bJ as MerchantDiscountInput, cU as MessageEnvelope, av as ModifierGroup, a0 as MultiCurrencyPrice, z as NameInLineItem, N as NameInOther, co as OptionSelection, bx as Other, aT as OtherCharge, c2 as PaymentErrorResponseData, aq as PaymentOption, P as PaymentOptionType, ac as PhysicalProperties, cE as PickupAddress, aH as PickupDetails, q as PickupMethod, a8 as PlainTextValue, au as Policy, ao as PriceDescription, aW as PriceSummary, cr as ProductDetails, $ as ProductName, u as RateType, c5 as RedeemErrorData, aN as Region, bX as RemoveCouponRequest, bY as RemoveGiftCardRequest, b$ as RemoveLineItemsRequest, bZ as RemoveOverrideCheckoutUrlRequest, cQ as RestoreInfo, s as RuleType, ad as Scope, am as SecuredMedia, aF as SelectedCarrierServiceOption, aK as SelectedCarrierServiceOptionOtherCharge, aJ as SelectedCarrierServiceOptionPrices, br as SelectedMembership, bq as SelectedMemberships, an as ServiceProperties, y as Severity, cC as ShipmentDetails, bL as ShippingCalculationErrorData, bM as ShippingCalculationErrorDataShippingCalculationErrorOneOf, aE as ShippingInfo, aR as ShippingOption, aS as ShippingPrice, aP as ShippingRegion, cu as StoreSettings, cy as Street, aA as StreetAddress, cl as Subscription, bC as SubscriptionCharges, ck as SubscriptionCreated, S as SubscriptionFrequency, ah as SubscriptionOptionInfo, ai as SubscriptionSettings, B as SuggestedFix, b2 as SystemError, bv as Target, by as TargetLineItem, bw as TargetTargetTypeOneOf, a3 as TaxBreakdown, bf as TaxCalculationDetails, bg as TaxCalculationDetailsCalculationDetailsOneOf, a2 as TaxRateBreakdown, be as TaxSummary, ar as TaxableAddress, as as TaxableAddressTaxableAddressDataOneOf, T as TaxableAddressType, ak as Title, ct as Totals, aw as TranslatableString, bV as UpdateCheckoutRequest, bW as UpdateCheckoutResponse, cf as UpdateLineItemsQuantityRequest, bE as UpdatedCheckoutMessage, cm as V1BuyerInfo, cG as V1CustomField, bI as V1ItemModifier, cn as V1LineItem, bH as V1ModifierGroup, cD as V1PickupDetails, cA as V1ShippingInfo, cB as V1ShippingInfoDetailsOneOf, cH as V1SubscriptionOptionInfo, cK as V1SubscriptionSettings, b0 as ValidationError, cz as VatId, V as VatType, bu as Violation, c6 as ViolationsList, Y as WebhookIdentityType, W as WeightUnit } from './ecom-v1-checkout-checkout.universal-DEDRvPML.mjs';
2
+ import { C as CreateCheckoutOptions, a as Checkout, G as GetCheckoutByCartIdResponse, b as GetCheckoutURLResponse, U as UpdateCheckout, c as UpdateCheckoutOptions, R as RemoveCouponResponse, d as RemoveGiftCardResponse, e as RemoveOverrideCheckoutUrlResponse, A as AddToCheckoutOptions, f as AddToCheckoutResponse, g as RemoveLineItemsResponse, h as CreateOrderOptions, i as CreateOrderResponse, j as RawHttpResponse, L as LineItemQuantityUpdate, k as UpdateLineItemsQuantityResponse, l as CheckoutCompletedEnvelope, m as CheckoutCreatedEnvelope, n as CheckoutDeletedEnvelope, o as CheckoutUpdatedEnvelope } from './ecom-v1-checkout-checkout.universal-BWJwZODy.mjs';
3
+ export { cU as ActionEvent, c0 as AddToCheckoutRequest, bt as AdditionalFee, y as AdditionalFeeSource, cw as Address, cx as AddressAddressLine1OptionsOneOf, aC as AddressLocation, az as AddressWithContact, bj as AggregatedTaxBreakdown, aA as ApiAddress, aP as ApplicableLineItems, b0 as ApplicationError, cG as AppliedCoupon, b7 as AppliedDiscount, b8 as AppliedDiscountDiscountSourceOneOf, bi as AutoTaxFallbackCalculationDetails, cY as BaseEventMetadata, cM as BillingInfo, aV as BuyerInfo, aW as BuyerInfoIdOneOf, aY as CalculationErrors, aZ as CalculationErrorsShippingCalculationErrorOneOf, aN as Carrier, b5 as CarrierError, b4 as CarrierErrors, aR as CarrierServiceOption, aq as CatalogOverrideFields, $ as CatalogReference, cK as ChannelInfo, Y as ChannelInfoChannelType, x as ChannelType, bE as Charge, cr as ChargeDetails, s as ChargeType, bG as CheckoutMarkedAsCompleted, aa as Color, aE as CommonVatId, q as CommonVatType, bu as ConversionInfo, b9 as Coupon, bH as CreateCheckoutRequest, bM as CreateCheckoutResponse, c_ as CreateOrderAndChargeOptions, c9 as CreateOrderAndChargeRequest, ca as CreateOrderAndChargeResponse, cb as CreateOrderAndChargeResponseIdOneOf, c2 as CreateOrderRequest, c3 as CreateOrderResponseIdOneOf, bk as CreatedBy, bl as CreatedByIdOneOf, bB as CustomContentReference, be as CustomField, bI as CustomLineItem, bA as CustomSettings, cq as CustomTextFieldSelection, cj as DeleteCheckoutRequest, ck as DeleteCheckoutResponse, aM as DeliveryAllocation, aH as DeliveryLogistics, aJ as DeliveryTimeSlot, am as Description, a5 as DescriptionLine, a7 as DescriptionLineDescriptionLineValueOneOf, a8 as DescriptionLineName, D as DescriptionLineType, a6 as DescriptionLineValueOneOf, a_ as Details, a$ as DetailsKindOneOf, cJ as Discount, X as DiscountDiscountType, bb as DiscountRule, bc as DiscountRuleName, u as DiscountType, cO as DomainEvent, cP as DomainEventBodyOneOf, c5 as DoublePaymentErrorData, c6 as DoublePaymentErrorDataIdOneOf, cN as Empty, cQ as EntityCreatedEvent, cT as EntityDeletedEvent, cS as EntityUpdatedEvent, cZ as EventMetadata, au as ExtendedFields, bC as ExternalReference, w as FallbackReason, b2 as FieldViolation, F as FileType, ab as FocalPoint, ak as FreeTrialPeriod, aD as FullAddressContactDetails, cy as FullName, bT as GetCheckoutByCartIdRequest, ch as GetCheckoutPaymentSettingsRequest, ci as GetCheckoutPaymentSettingsResponse, H as GetCheckoutPaymentSettingsResponsePaymentOption, bP as GetCheckoutRequest, bQ as GetCheckoutResponse, bW as GetCheckoutURLRequest, bR as GetCheckoutWithAllExtendedFieldsRequest, bS as GetCheckoutWithAllExtendedFieldsResponse, bU as GetWixCheckoutURLRequest, bV as GetWixCheckoutURLResponse, b6 as GiftCard, af as Group, cd as HeadersEntry, cW as IdentificationData, cX as IdentificationDataIdOneOf, K as IdentityType, bq as InvalidMembership, ac as ItemAvailabilityInfo, I as ItemAvailabilityStatus, ay as ItemModifier, a2 as ItemTaxFullDetails, ag as ItemType, p as ItemTypeItemType, ah as ItemTypeItemTypeDataOneOf, J as JurisdictionType, _ as LineItem, bd as LineItemDiscount, O as LineItemType, M as ManualCalculationReason, cc as MarkCheckoutAsCompletedAndRedirectToUrlRequest, ce as MarkCheckoutAsCompletedRequest, cf as MarkCheckoutAsCompletedResponse, ct as MediaItem, Q as MediaItemType, bn as Membership, bo as MembershipName, bm as MembershipOptions, bp as MembershipPaymentCredits, ba as MerchantDiscount, bL as MerchantDiscountInput, cV as MessageEnvelope, aw as ModifierGroup, a1 as MultiCurrencyPrice, B as NameInLineItem, N as NameInOther, cp as OptionSelection, by as Other, aU as OtherCharge, c4 as PaymentErrorResponseData, ar as PaymentOption, P as PaymentOptionType, ad as PhysicalProperties, cF as PickupAddress, aI as PickupDetails, r as PickupMethod, a9 as PlainTextValue, av as Policy, ap as PriceDescription, aX as PriceSummary, cs as ProductDetails, a0 as ProductName, v as RateType, c7 as RedeemErrorData, aO as Region, bZ as RemoveCouponRequest, b_ as RemoveGiftCardRequest, c1 as RemoveLineItemsRequest, b$ as RemoveOverrideCheckoutUrlRequest, cR as RestoreInfo, t as RuleType, ae as Scope, an as SecuredMedia, aG as SelectedCarrierServiceOption, aL as SelectedCarrierServiceOptionOtherCharge, aK as SelectedCarrierServiceOptionPrices, bs as SelectedMembership, br as SelectedMemberships, ao as ServiceProperties, z as Severity, cD as ShipmentDetails, bN as ShippingCalculationErrorData, bO as ShippingCalculationErrorDataShippingCalculationErrorOneOf, aF as ShippingInfo, aS as ShippingOption, aT as ShippingPrice, aQ as ShippingRegion, cv as StoreSettings, cz as Street, aB as StreetAddress, cm as Subscription, bD as SubscriptionCharges, cl as SubscriptionCreated, S as SubscriptionFrequency, ai as SubscriptionOptionInfo, aj as SubscriptionSettings, E as SuggestedFix, b3 as SystemError, bw as Target, bz as TargetLineItem, bx as TargetTargetTypeOneOf, a4 as TaxBreakdown, bg as TaxCalculationDetails, bh as TaxCalculationDetailsCalculationDetailsOneOf, a3 as TaxRateBreakdown, bf as TaxSummary, as as TaxableAddress, at as TaxableAddressTaxableAddressDataOneOf, T as TaxableAddressType, al as Title, cu as Totals, ax as TranslatableString, bX as UpdateCheckoutRequest, bY as UpdateCheckoutResponse, cg as UpdateLineItemsQuantityRequest, bF as UpdatedCheckoutMessage, cn as V1BuyerInfo, cH as V1CustomField, bK as V1ItemModifier, co as V1LineItem, bJ as V1ModifierGroup, cE as V1PickupDetails, cB as V1ShippingInfo, cC as V1ShippingInfoDetailsOneOf, cI as V1SubscriptionOptionInfo, cL as V1SubscriptionSettings, b1 as ValidationError, cA as VatId, V as VatType, bv as Violation, c8 as ViolationsList, Z as WebhookIdentityType, W as WeightUnit } from './ecom-v1-checkout-checkout.universal-BWJwZODy.mjs';
4
4
 
5
5
  declare function createCheckout$1(httpClient: HttpClient): CreateCheckoutSignature;
6
6
  interface CreateCheckoutSignature {
@@ -177,6 +177,7 @@ interface UpdateLineItemsQuantitySignature {
177
177
  }
178
178
  declare const onCheckoutCompleted$1: EventDefinition<CheckoutCompletedEnvelope, "wix.ecom.v1.checkout_completed">;
179
179
  declare const onCheckoutCreated$1: EventDefinition<CheckoutCreatedEnvelope, "wix.ecom.v1.checkout_created">;
180
+ declare const onCheckoutDeleted$1: EventDefinition<CheckoutDeletedEnvelope, "wix.ecom.v1.checkout_deleted">;
180
181
  declare const onCheckoutUpdated$1: EventDefinition<CheckoutUpdatedEnvelope, "wix.ecom.v1.checkout_updated">;
181
182
 
182
183
  declare const createCheckout: MaybeContext<BuildRESTFunction<typeof createCheckout$1> & typeof createCheckout$1>;
@@ -194,17 +195,20 @@ declare const markCheckoutAsCompletedAndRedirectToUrl: MaybeContext<BuildRESTFun
194
195
  declare const markCheckoutAsCompleted: MaybeContext<BuildRESTFunction<typeof markCheckoutAsCompleted$1> & typeof markCheckoutAsCompleted$1>;
195
196
  declare const updateLineItemsQuantity: MaybeContext<BuildRESTFunction<typeof updateLineItemsQuantity$1> & typeof updateLineItemsQuantity$1>;
196
197
  /**
197
- * Triggered when an order created from this checkout is
198
- * successfully paid for or when a checkout is marked as completed.
198
+ * Triggered when an order created from this checkout is successfully paid for or when a checkout is marked as completed.
199
199
  */
200
200
  declare const onCheckoutCompleted: BuildEventDefinition<typeof onCheckoutCompleted$1>;
201
201
  /**
202
202
  * Triggered when a checkout is created.
203
203
  */
204
204
  declare const onCheckoutCreated: BuildEventDefinition<typeof onCheckoutCreated$1>;
205
+ /**
206
+ * Triggered when a checkout is deleted.
207
+ */
208
+ declare const onCheckoutDeleted: BuildEventDefinition<typeof onCheckoutDeleted$1>;
205
209
  /**
206
210
  * Triggered when a checkout is updated.
207
211
  */
208
212
  declare const onCheckoutUpdated: BuildEventDefinition<typeof onCheckoutUpdated$1>;
209
213
 
210
- export { AddToCheckoutOptions, AddToCheckoutResponse, Checkout, CheckoutCompletedEnvelope, CheckoutCreatedEnvelope, CheckoutUpdatedEnvelope, CreateCheckoutOptions, CreateOrderOptions, CreateOrderResponse, GetCheckoutByCartIdResponse, GetCheckoutURLResponse, LineItemQuantityUpdate, RawHttpResponse, RemoveCouponResponse, RemoveGiftCardResponse, RemoveLineItemsResponse, RemoveOverrideCheckoutUrlResponse, UpdateCheckout, UpdateCheckoutOptions, UpdateLineItemsQuantityResponse, addToCheckout, createCheckout, createOrder, getCheckout, getCheckoutByCartId, getCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, onCheckoutCompleted, onCheckoutCreated, onCheckoutUpdated, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
214
+ export { AddToCheckoutOptions, AddToCheckoutResponse, Checkout, CheckoutCompletedEnvelope, CheckoutCreatedEnvelope, CheckoutDeletedEnvelope, CheckoutUpdatedEnvelope, CreateCheckoutOptions, CreateOrderOptions, CreateOrderResponse, GetCheckoutByCartIdResponse, GetCheckoutURLResponse, LineItemQuantityUpdate, RawHttpResponse, RemoveCouponResponse, RemoveGiftCardResponse, RemoveLineItemsResponse, RemoveOverrideCheckoutUrlResponse, UpdateCheckout, UpdateCheckoutOptions, UpdateLineItemsQuantityResponse, addToCheckout, createCheckout, createOrder, getCheckout, getCheckoutByCartId, getCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, onCheckoutCompleted, onCheckoutCreated, onCheckoutDeleted, onCheckoutUpdated, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
package/build/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { C as CreateCheckoutOptions, a as Checkout, G as GetCheckoutByCartIdResponse, b as GetCheckoutURLResponse, U as UpdateCheckout, c as UpdateCheckoutOptions, R as RemoveCouponResponse, d as RemoveGiftCardResponse, e as RemoveOverrideCheckoutUrlResponse, A as AddToCheckoutOptions, f as AddToCheckoutResponse, g as RemoveLineItemsResponse, h as CreateOrderOptions, i as CreateOrderResponse, j as RawHttpResponse, L as LineItemQuantityUpdate, k as UpdateLineItemsQuantityResponse, l as CheckoutCompletedEnvelope, m as CheckoutCreatedEnvelope, n as CheckoutUpdatedEnvelope } from './ecom-v1-checkout-checkout.universal-DEDRvPML.js';
3
- export { cT as ActionEvent, b_ as AddToCheckoutRequest, bs as AdditionalFee, x as AdditionalFeeSource, cv as Address, cw as AddressAddressLine1OptionsOneOf, aB as AddressLocation, ay as AddressWithContact, bi as AggregatedTaxBreakdown, az as ApiAddress, aO as ApplicableLineItems, a$ as ApplicationError, cF as AppliedCoupon, b6 as AppliedDiscount, b7 as AppliedDiscountDiscountSourceOneOf, bh as AutoTaxFallbackCalculationDetails, cX as BaseEventMetadata, cL as BillingInfo, aU as BuyerInfo, aV as BuyerInfoIdOneOf, aX as CalculationErrors, aY as CalculationErrorsShippingCalculationErrorOneOf, aM as Carrier, b4 as CarrierError, b3 as CarrierErrors, aQ as CarrierServiceOption, ap as CatalogOverrideFields, _ as CatalogReference, cJ as ChannelInfo, X as ChannelInfoChannelType, w as ChannelType, bD as Charge, cq as ChargeDetails, r as ChargeType, ce as CheckoutMarkedAsCompleted, a9 as Color, aD as CommonVatId, p as CommonVatType, bt as ConversionInfo, b8 as Coupon, bF as CreateCheckoutRequest, bK as CreateCheckoutResponse, cZ as CreateOrderAndChargeOptions, c7 as CreateOrderAndChargeRequest, c8 as CreateOrderAndChargeResponse, c9 as CreateOrderAndChargeResponseIdOneOf, c0 as CreateOrderRequest, c1 as CreateOrderResponseIdOneOf, bj as CreatedBy, bk as CreatedByIdOneOf, bA as CustomContentReference, bd as CustomField, bG as CustomLineItem, bz as CustomSettings, cp as CustomTextFieldSelection, ci as DeleteCheckoutRequest, cj as DeleteCheckoutResponse, aL as DeliveryAllocation, aG as DeliveryLogistics, aI as DeliveryTimeSlot, al as Description, a4 as DescriptionLine, a6 as DescriptionLineDescriptionLineValueOneOf, a7 as DescriptionLineName, D as DescriptionLineType, a5 as DescriptionLineValueOneOf, aZ as Details, a_ as DetailsKindOneOf, cI as Discount, Q as DiscountDiscountType, ba as DiscountRule, bb as DiscountRuleName, t as DiscountType, cN as DomainEvent, cO as DomainEventBodyOneOf, c3 as DoublePaymentErrorData, c4 as DoublePaymentErrorDataIdOneOf, cM as Empty, cP as EntityCreatedEvent, cS as EntityDeletedEvent, cR as EntityUpdatedEvent, cY as EventMetadata, at as ExtendedFields, bB as ExternalReference, v as FallbackReason, b1 as FieldViolation, F as FileType, aa as FocalPoint, aj as FreeTrialPeriod, aC as FullAddressContactDetails, cx as FullName, bR as GetCheckoutByCartIdRequest, cg as GetCheckoutPaymentSettingsRequest, ch as GetCheckoutPaymentSettingsResponse, E as GetCheckoutPaymentSettingsResponsePaymentOption, bN as GetCheckoutRequest, bO as GetCheckoutResponse, bU as GetCheckoutURLRequest, bP as GetCheckoutWithAllExtendedFieldsRequest, bQ as GetCheckoutWithAllExtendedFieldsResponse, bS as GetWixCheckoutURLRequest, bT as GetWixCheckoutURLResponse, b5 as GiftCard, ae as Group, cb as HeadersEntry, cV as IdentificationData, cW as IdentificationDataIdOneOf, H as IdentityType, bp as InvalidMembership, ab as ItemAvailabilityInfo, I as ItemAvailabilityStatus, ax as ItemModifier, a1 as ItemTaxFullDetails, af as ItemType, o as ItemTypeItemType, ag as ItemTypeItemTypeDataOneOf, J as JurisdictionType, Z as LineItem, bc as LineItemDiscount, K as LineItemType, M as ManualCalculationReason, ca as MarkCheckoutAsCompletedAndRedirectToUrlRequest, cc as MarkCheckoutAsCompletedRequest, cd as MarkCheckoutAsCompletedResponse, cs as MediaItem, O as MediaItemType, bm as Membership, bn as MembershipName, bl as MembershipOptions, bo as MembershipPaymentCredits, b9 as MerchantDiscount, bJ as MerchantDiscountInput, cU as MessageEnvelope, av as ModifierGroup, a0 as MultiCurrencyPrice, z as NameInLineItem, N as NameInOther, co as OptionSelection, bx as Other, aT as OtherCharge, c2 as PaymentErrorResponseData, aq as PaymentOption, P as PaymentOptionType, ac as PhysicalProperties, cE as PickupAddress, aH as PickupDetails, q as PickupMethod, a8 as PlainTextValue, au as Policy, ao as PriceDescription, aW as PriceSummary, cr as ProductDetails, $ as ProductName, u as RateType, c5 as RedeemErrorData, aN as Region, bX as RemoveCouponRequest, bY as RemoveGiftCardRequest, b$ as RemoveLineItemsRequest, bZ as RemoveOverrideCheckoutUrlRequest, cQ as RestoreInfo, s as RuleType, ad as Scope, am as SecuredMedia, aF as SelectedCarrierServiceOption, aK as SelectedCarrierServiceOptionOtherCharge, aJ as SelectedCarrierServiceOptionPrices, br as SelectedMembership, bq as SelectedMemberships, an as ServiceProperties, y as Severity, cC as ShipmentDetails, bL as ShippingCalculationErrorData, bM as ShippingCalculationErrorDataShippingCalculationErrorOneOf, aE as ShippingInfo, aR as ShippingOption, aS as ShippingPrice, aP as ShippingRegion, cu as StoreSettings, cy as Street, aA as StreetAddress, cl as Subscription, bC as SubscriptionCharges, ck as SubscriptionCreated, S as SubscriptionFrequency, ah as SubscriptionOptionInfo, ai as SubscriptionSettings, B as SuggestedFix, b2 as SystemError, bv as Target, by as TargetLineItem, bw as TargetTargetTypeOneOf, a3 as TaxBreakdown, bf as TaxCalculationDetails, bg as TaxCalculationDetailsCalculationDetailsOneOf, a2 as TaxRateBreakdown, be as TaxSummary, ar as TaxableAddress, as as TaxableAddressTaxableAddressDataOneOf, T as TaxableAddressType, ak as Title, ct as Totals, aw as TranslatableString, bV as UpdateCheckoutRequest, bW as UpdateCheckoutResponse, cf as UpdateLineItemsQuantityRequest, bE as UpdatedCheckoutMessage, cm as V1BuyerInfo, cG as V1CustomField, bI as V1ItemModifier, cn as V1LineItem, bH as V1ModifierGroup, cD as V1PickupDetails, cA as V1ShippingInfo, cB as V1ShippingInfoDetailsOneOf, cH as V1SubscriptionOptionInfo, cK as V1SubscriptionSettings, b0 as ValidationError, cz as VatId, V as VatType, bu as Violation, c6 as ViolationsList, Y as WebhookIdentityType, W as WeightUnit } from './ecom-v1-checkout-checkout.universal-DEDRvPML.js';
2
+ import { C as CreateCheckoutOptions, a as Checkout, G as GetCheckoutByCartIdResponse, b as GetCheckoutURLResponse, U as UpdateCheckout, c as UpdateCheckoutOptions, R as RemoveCouponResponse, d as RemoveGiftCardResponse, e as RemoveOverrideCheckoutUrlResponse, A as AddToCheckoutOptions, f as AddToCheckoutResponse, g as RemoveLineItemsResponse, h as CreateOrderOptions, i as CreateOrderResponse, j as RawHttpResponse, L as LineItemQuantityUpdate, k as UpdateLineItemsQuantityResponse, l as CheckoutCompletedEnvelope, m as CheckoutCreatedEnvelope, n as CheckoutDeletedEnvelope, o as CheckoutUpdatedEnvelope } from './ecom-v1-checkout-checkout.universal-BWJwZODy.js';
3
+ export { cU as ActionEvent, c0 as AddToCheckoutRequest, bt as AdditionalFee, y as AdditionalFeeSource, cw as Address, cx as AddressAddressLine1OptionsOneOf, aC as AddressLocation, az as AddressWithContact, bj as AggregatedTaxBreakdown, aA as ApiAddress, aP as ApplicableLineItems, b0 as ApplicationError, cG as AppliedCoupon, b7 as AppliedDiscount, b8 as AppliedDiscountDiscountSourceOneOf, bi as AutoTaxFallbackCalculationDetails, cY as BaseEventMetadata, cM as BillingInfo, aV as BuyerInfo, aW as BuyerInfoIdOneOf, aY as CalculationErrors, aZ as CalculationErrorsShippingCalculationErrorOneOf, aN as Carrier, b5 as CarrierError, b4 as CarrierErrors, aR as CarrierServiceOption, aq as CatalogOverrideFields, $ as CatalogReference, cK as ChannelInfo, Y as ChannelInfoChannelType, x as ChannelType, bE as Charge, cr as ChargeDetails, s as ChargeType, bG as CheckoutMarkedAsCompleted, aa as Color, aE as CommonVatId, q as CommonVatType, bu as ConversionInfo, b9 as Coupon, bH as CreateCheckoutRequest, bM as CreateCheckoutResponse, c_ as CreateOrderAndChargeOptions, c9 as CreateOrderAndChargeRequest, ca as CreateOrderAndChargeResponse, cb as CreateOrderAndChargeResponseIdOneOf, c2 as CreateOrderRequest, c3 as CreateOrderResponseIdOneOf, bk as CreatedBy, bl as CreatedByIdOneOf, bB as CustomContentReference, be as CustomField, bI as CustomLineItem, bA as CustomSettings, cq as CustomTextFieldSelection, cj as DeleteCheckoutRequest, ck as DeleteCheckoutResponse, aM as DeliveryAllocation, aH as DeliveryLogistics, aJ as DeliveryTimeSlot, am as Description, a5 as DescriptionLine, a7 as DescriptionLineDescriptionLineValueOneOf, a8 as DescriptionLineName, D as DescriptionLineType, a6 as DescriptionLineValueOneOf, a_ as Details, a$ as DetailsKindOneOf, cJ as Discount, X as DiscountDiscountType, bb as DiscountRule, bc as DiscountRuleName, u as DiscountType, cO as DomainEvent, cP as DomainEventBodyOneOf, c5 as DoublePaymentErrorData, c6 as DoublePaymentErrorDataIdOneOf, cN as Empty, cQ as EntityCreatedEvent, cT as EntityDeletedEvent, cS as EntityUpdatedEvent, cZ as EventMetadata, au as ExtendedFields, bC as ExternalReference, w as FallbackReason, b2 as FieldViolation, F as FileType, ab as FocalPoint, ak as FreeTrialPeriod, aD as FullAddressContactDetails, cy as FullName, bT as GetCheckoutByCartIdRequest, ch as GetCheckoutPaymentSettingsRequest, ci as GetCheckoutPaymentSettingsResponse, H as GetCheckoutPaymentSettingsResponsePaymentOption, bP as GetCheckoutRequest, bQ as GetCheckoutResponse, bW as GetCheckoutURLRequest, bR as GetCheckoutWithAllExtendedFieldsRequest, bS as GetCheckoutWithAllExtendedFieldsResponse, bU as GetWixCheckoutURLRequest, bV as GetWixCheckoutURLResponse, b6 as GiftCard, af as Group, cd as HeadersEntry, cW as IdentificationData, cX as IdentificationDataIdOneOf, K as IdentityType, bq as InvalidMembership, ac as ItemAvailabilityInfo, I as ItemAvailabilityStatus, ay as ItemModifier, a2 as ItemTaxFullDetails, ag as ItemType, p as ItemTypeItemType, ah as ItemTypeItemTypeDataOneOf, J as JurisdictionType, _ as LineItem, bd as LineItemDiscount, O as LineItemType, M as ManualCalculationReason, cc as MarkCheckoutAsCompletedAndRedirectToUrlRequest, ce as MarkCheckoutAsCompletedRequest, cf as MarkCheckoutAsCompletedResponse, ct as MediaItem, Q as MediaItemType, bn as Membership, bo as MembershipName, bm as MembershipOptions, bp as MembershipPaymentCredits, ba as MerchantDiscount, bL as MerchantDiscountInput, cV as MessageEnvelope, aw as ModifierGroup, a1 as MultiCurrencyPrice, B as NameInLineItem, N as NameInOther, cp as OptionSelection, by as Other, aU as OtherCharge, c4 as PaymentErrorResponseData, ar as PaymentOption, P as PaymentOptionType, ad as PhysicalProperties, cF as PickupAddress, aI as PickupDetails, r as PickupMethod, a9 as PlainTextValue, av as Policy, ap as PriceDescription, aX as PriceSummary, cs as ProductDetails, a0 as ProductName, v as RateType, c7 as RedeemErrorData, aO as Region, bZ as RemoveCouponRequest, b_ as RemoveGiftCardRequest, c1 as RemoveLineItemsRequest, b$ as RemoveOverrideCheckoutUrlRequest, cR as RestoreInfo, t as RuleType, ae as Scope, an as SecuredMedia, aG as SelectedCarrierServiceOption, aL as SelectedCarrierServiceOptionOtherCharge, aK as SelectedCarrierServiceOptionPrices, bs as SelectedMembership, br as SelectedMemberships, ao as ServiceProperties, z as Severity, cD as ShipmentDetails, bN as ShippingCalculationErrorData, bO as ShippingCalculationErrorDataShippingCalculationErrorOneOf, aF as ShippingInfo, aS as ShippingOption, aT as ShippingPrice, aQ as ShippingRegion, cv as StoreSettings, cz as Street, aB as StreetAddress, cm as Subscription, bD as SubscriptionCharges, cl as SubscriptionCreated, S as SubscriptionFrequency, ai as SubscriptionOptionInfo, aj as SubscriptionSettings, E as SuggestedFix, b3 as SystemError, bw as Target, bz as TargetLineItem, bx as TargetTargetTypeOneOf, a4 as TaxBreakdown, bg as TaxCalculationDetails, bh as TaxCalculationDetailsCalculationDetailsOneOf, a3 as TaxRateBreakdown, bf as TaxSummary, as as TaxableAddress, at as TaxableAddressTaxableAddressDataOneOf, T as TaxableAddressType, al as Title, cu as Totals, ax as TranslatableString, bX as UpdateCheckoutRequest, bY as UpdateCheckoutResponse, cg as UpdateLineItemsQuantityRequest, bF as UpdatedCheckoutMessage, cn as V1BuyerInfo, cH as V1CustomField, bK as V1ItemModifier, co as V1LineItem, bJ as V1ModifierGroup, cE as V1PickupDetails, cB as V1ShippingInfo, cC as V1ShippingInfoDetailsOneOf, cI as V1SubscriptionOptionInfo, cL as V1SubscriptionSettings, b1 as ValidationError, cA as VatId, V as VatType, bv as Violation, c8 as ViolationsList, Z as WebhookIdentityType, W as WeightUnit } from './ecom-v1-checkout-checkout.universal-BWJwZODy.js';
4
4
 
5
5
  declare function createCheckout$1(httpClient: HttpClient): CreateCheckoutSignature;
6
6
  interface CreateCheckoutSignature {
@@ -177,6 +177,7 @@ interface UpdateLineItemsQuantitySignature {
177
177
  }
178
178
  declare const onCheckoutCompleted$1: EventDefinition<CheckoutCompletedEnvelope, "wix.ecom.v1.checkout_completed">;
179
179
  declare const onCheckoutCreated$1: EventDefinition<CheckoutCreatedEnvelope, "wix.ecom.v1.checkout_created">;
180
+ declare const onCheckoutDeleted$1: EventDefinition<CheckoutDeletedEnvelope, "wix.ecom.v1.checkout_deleted">;
180
181
  declare const onCheckoutUpdated$1: EventDefinition<CheckoutUpdatedEnvelope, "wix.ecom.v1.checkout_updated">;
181
182
 
182
183
  declare const createCheckout: MaybeContext<BuildRESTFunction<typeof createCheckout$1> & typeof createCheckout$1>;
@@ -194,17 +195,20 @@ declare const markCheckoutAsCompletedAndRedirectToUrl: MaybeContext<BuildRESTFun
194
195
  declare const markCheckoutAsCompleted: MaybeContext<BuildRESTFunction<typeof markCheckoutAsCompleted$1> & typeof markCheckoutAsCompleted$1>;
195
196
  declare const updateLineItemsQuantity: MaybeContext<BuildRESTFunction<typeof updateLineItemsQuantity$1> & typeof updateLineItemsQuantity$1>;
196
197
  /**
197
- * Triggered when an order created from this checkout is
198
- * successfully paid for or when a checkout is marked as completed.
198
+ * Triggered when an order created from this checkout is successfully paid for or when a checkout is marked as completed.
199
199
  */
200
200
  declare const onCheckoutCompleted: BuildEventDefinition<typeof onCheckoutCompleted$1>;
201
201
  /**
202
202
  * Triggered when a checkout is created.
203
203
  */
204
204
  declare const onCheckoutCreated: BuildEventDefinition<typeof onCheckoutCreated$1>;
205
+ /**
206
+ * Triggered when a checkout is deleted.
207
+ */
208
+ declare const onCheckoutDeleted: BuildEventDefinition<typeof onCheckoutDeleted$1>;
205
209
  /**
206
210
  * Triggered when a checkout is updated.
207
211
  */
208
212
  declare const onCheckoutUpdated: BuildEventDefinition<typeof onCheckoutUpdated$1>;
209
213
 
210
- export { AddToCheckoutOptions, AddToCheckoutResponse, Checkout, CheckoutCompletedEnvelope, CheckoutCreatedEnvelope, CheckoutUpdatedEnvelope, CreateCheckoutOptions, CreateOrderOptions, CreateOrderResponse, GetCheckoutByCartIdResponse, GetCheckoutURLResponse, LineItemQuantityUpdate, RawHttpResponse, RemoveCouponResponse, RemoveGiftCardResponse, RemoveLineItemsResponse, RemoveOverrideCheckoutUrlResponse, UpdateCheckout, UpdateCheckoutOptions, UpdateLineItemsQuantityResponse, addToCheckout, createCheckout, createOrder, getCheckout, getCheckoutByCartId, getCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, onCheckoutCompleted, onCheckoutCreated, onCheckoutUpdated, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
214
+ export { AddToCheckoutOptions, AddToCheckoutResponse, Checkout, CheckoutCompletedEnvelope, CheckoutCreatedEnvelope, CheckoutDeletedEnvelope, CheckoutUpdatedEnvelope, CreateCheckoutOptions, CreateOrderOptions, CreateOrderResponse, GetCheckoutByCartIdResponse, GetCheckoutURLResponse, LineItemQuantityUpdate, RawHttpResponse, RemoveCouponResponse, RemoveGiftCardResponse, RemoveLineItemsResponse, RemoveOverrideCheckoutUrlResponse, UpdateCheckout, UpdateCheckoutOptions, UpdateLineItemsQuantityResponse, addToCheckout, createCheckout, createOrder, getCheckout, getCheckoutByCartId, getCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, onCheckoutCompleted, onCheckoutCreated, onCheckoutDeleted, onCheckoutUpdated, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
package/build/index.js CHANGED
@@ -64,6 +64,7 @@ __export(index_exports, {
64
64
  markCheckoutAsCompletedAndRedirectToUrl: () => markCheckoutAsCompletedAndRedirectToUrl4,
65
65
  onCheckoutCompleted: () => onCheckoutCompleted2,
66
66
  onCheckoutCreated: () => onCheckoutCreated2,
67
+ onCheckoutDeleted: () => onCheckoutDeleted2,
67
68
  onCheckoutUpdated: () => onCheckoutUpdated2,
68
69
  removeCoupon: () => removeCoupon4,
69
70
  removeGiftCard: () => removeGiftCard4,
@@ -2626,6 +2627,79 @@ var onCheckoutCreated = (0, import_sdk_types.EventDefinition)(
2626
2627
  ])
2627
2628
  )
2628
2629
  )();
2630
+ var onCheckoutDeleted = (0, import_sdk_types.EventDefinition)(
2631
+ "wix.ecom.v1.checkout_deleted",
2632
+ true,
2633
+ (event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
2634
+ (0, import_transform_paths3.transformPaths)(event, [
2635
+ {
2636
+ transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
2637
+ paths: [
2638
+ { path: "undefined.createdDate" },
2639
+ { path: "undefined.updatedDate" },
2640
+ {
2641
+ path: "undefined.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
2642
+ },
2643
+ { path: "undefined.lineItems.serviceProperties.scheduledDate" },
2644
+ {
2645
+ path: "undefined.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
2646
+ },
2647
+ {
2648
+ path: "undefined.shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.to"
2649
+ },
2650
+ {
2651
+ path: "undefined.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.from"
2652
+ },
2653
+ {
2654
+ path: "undefined.shippingInfo.carrierServiceOptions.shippingOptions.logistics.deliveryTimeSlot.to"
2655
+ },
2656
+ {
2657
+ path: "undefined.membershipOptions.eligibleMemberships.expirationDate"
2658
+ },
2659
+ {
2660
+ path: "undefined.membershipOptions.invalidMemberships.membership.expirationDate"
2661
+ },
2662
+ { path: "undefined.subscriptionCharges.charges.cycleBillingDate" },
2663
+ { path: "metadata.eventTime" }
2664
+ ]
2665
+ },
2666
+ {
2667
+ transformFn: import_page_url_v23.transformRESTPageURLV2ToSDKPageURLV2,
2668
+ paths: [{ path: "undefined.lineItems.url" }]
2669
+ },
2670
+ {
2671
+ transformFn: import_image3.transformRESTImageToSDKImage,
2672
+ paths: [
2673
+ { path: "undefined.lineItems.media" },
2674
+ { path: "undefined.lineItems.catalogOverrideFields.image" }
2675
+ ]
2676
+ },
2677
+ {
2678
+ transformFn: import_float3.transformRESTFloatToSDKFloat,
2679
+ paths: [
2680
+ { path: "undefined.lineItems.physicalProperties.weight" },
2681
+ {
2682
+ path: "undefined.lineItems.catalogOverrideFields.physicalProperties.weight"
2683
+ },
2684
+ { path: "undefined.appliedDiscounts.merchantDiscount.percentage" }
2685
+ ]
2686
+ },
2687
+ {
2688
+ transformFn: import_address3.transformRESTAddressToSDKAddress,
2689
+ paths: [
2690
+ { path: "undefined.billingInfo.address" },
2691
+ { path: "undefined.shippingInfo.shippingDestination.address" },
2692
+ {
2693
+ path: "undefined.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.address"
2694
+ },
2695
+ {
2696
+ path: "undefined.shippingInfo.carrierServiceOptions.shippingOptions.logistics.pickupDetails.address"
2697
+ }
2698
+ ]
2699
+ }
2700
+ ])
2701
+ )
2702
+ )();
2629
2703
  var onCheckoutUpdated = (0, import_sdk_types.EventDefinition)(
2630
2704
  "wix.ecom.v1.checkout_updated",
2631
2705
  true,
@@ -2724,6 +2798,7 @@ var updateLineItemsQuantity4 = /* @__PURE__ */ (0, import_rest_modules3.createRE
2724
2798
  var getCheckoutPaymentSettings4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getCheckoutPaymentSettings3);
2725
2799
  var onCheckoutCompleted2 = (0, import_event_definition_modules.createEventModule)(onCheckoutCompleted);
2726
2800
  var onCheckoutCreated2 = (0, import_event_definition_modules.createEventModule)(onCheckoutCreated);
2801
+ var onCheckoutDeleted2 = (0, import_event_definition_modules.createEventModule)(onCheckoutDeleted);
2727
2802
  var onCheckoutUpdated2 = (0, import_event_definition_modules.createEventModule)(onCheckoutUpdated);
2728
2803
  // Annotate the CommonJS export names for ESM import in node:
2729
2804
  0 && (module.exports = {
@@ -2771,6 +2846,7 @@ var onCheckoutUpdated2 = (0, import_event_definition_modules.createEventModule)(
2771
2846
  markCheckoutAsCompletedAndRedirectToUrl,
2772
2847
  onCheckoutCompleted,
2773
2848
  onCheckoutCreated,
2849
+ onCheckoutDeleted,
2774
2850
  onCheckoutUpdated,
2775
2851
  removeCoupon,
2776
2852
  removeGiftCard,