@wix/auto_sdk_ecom_checkout-templates 1.0.99 → 1.0.101

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.
@@ -3010,19 +3010,19 @@ declare enum WebhookIdentityType {
3010
3010
  }
3011
3011
  /** @enumType */
3012
3012
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
3013
- interface AccountDetails {
3013
+ interface AccountInfo {
3014
3014
  /**
3015
- * ID of the account.
3015
+ * ID of the Wix account associated with the event.
3016
3016
  * @format GUID
3017
3017
  */
3018
3018
  accountId?: string | null;
3019
3019
  /**
3020
- * ID of the parent account.
3020
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
3021
3021
  * @format GUID
3022
3022
  */
3023
3023
  parentAccountId?: string | null;
3024
3024
  /**
3025
- * ID of the site, if applicable.
3025
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
3026
3026
  * @format GUID
3027
3027
  */
3028
3028
  siteId?: string | null;
@@ -3106,6 +3106,15 @@ interface EventMetadata extends BaseEventMetadata {
3106
3106
  * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
3107
3107
  */
3108
3108
  entityEventSequence?: string | null;
3109
+ accountInfo?: AccountInfoMetadata;
3110
+ }
3111
+ interface AccountInfoMetadata {
3112
+ /** ID of the Wix account associated with the event */
3113
+ accountId: string;
3114
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
3115
+ siteId?: string;
3116
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
3117
+ parentAccountId?: string;
3109
3118
  }
3110
3119
  interface CheckoutTemplateCreatedEnvelope {
3111
3120
  entity: CheckoutTemplate;
@@ -3487,4 +3496,4 @@ declare function createAndRedirectToCheckout(checkoutTemplateId: string, siteId:
3487
3496
  __applicationErrorsType?: CreateAndRedirectToCheckoutApplicationErrors;
3488
3497
  }>;
3489
3498
 
3490
- export { type AccountDetails, type ActionEvent, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCustomization, type CheckoutTemplate, type CheckoutTemplateCreatedEnvelope, type CheckoutTemplateDeletedEnvelope, type CheckoutTemplateQuery, type CheckoutTemplateQuerySpec, type CheckoutTemplateUpdatedEnvelope, type CheckoutTemplateUsed, type CheckoutTemplateUsedEnvelope, type CheckoutTemplatesQueryBuilder, type CheckoutTemplatesQueryResult, type Color, type CommonQueryWithEntityContext, type ConversionInfo, type Coupon, type CreateAndRedirectToCheckoutApplicationErrors, type CreateAndRedirectToCheckoutRequest, type CreateCheckoutFromTemplateApplicationErrors, type CreateCheckoutFromTemplateRequest, type CreateCheckoutFromTemplateResponse, type CreateCheckoutTemplateApplicationErrors, type CreateCheckoutTemplateRequest, type CreateCheckoutTemplateResponse, type CreatedBy, type CreatedByIdOneOf, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomContentReference, type CustomField, type CustomLineItem, type CustomSettings, type DeleteCheckoutTemplateRequest, type DeleteCheckoutTemplateResponse, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCheckoutTemplateRequest, type GetCheckoutTemplateResponse, type GiftCard, type Group, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemDiscount, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, type QueryCheckoutTemplatesRequest, type QueryCheckoutTemplatesResponse, RateType, type RateTypeWithLiterals, type RawHttpResponse, type Region, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCheckoutTemplate, type UpdateCheckoutTemplateApplicationErrors, type UpdateCheckoutTemplateRequest, type UpdateCheckoutTemplateResponse, type V1ItemModifier, type V1LineItem, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, type WebClientCustomization, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, createAndRedirectToCheckout, createCheckoutFromTemplate, createCheckoutTemplate, deleteCheckoutTemplate, getCheckoutTemplate, onCheckoutTemplateCreated, onCheckoutTemplateDeleted, onCheckoutTemplateUpdated, onCheckoutTemplateUsed, queryCheckoutTemplates, typedQueryCheckoutTemplates, updateCheckoutTemplate };
3499
+ export { type AccountInfo, type ActionEvent, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCustomization, type CheckoutTemplate, type CheckoutTemplateCreatedEnvelope, type CheckoutTemplateDeletedEnvelope, type CheckoutTemplateQuery, type CheckoutTemplateQuerySpec, type CheckoutTemplateUpdatedEnvelope, type CheckoutTemplateUsed, type CheckoutTemplateUsedEnvelope, type CheckoutTemplatesQueryBuilder, type CheckoutTemplatesQueryResult, type Color, type CommonQueryWithEntityContext, type ConversionInfo, type Coupon, type CreateAndRedirectToCheckoutApplicationErrors, type CreateAndRedirectToCheckoutRequest, type CreateCheckoutFromTemplateApplicationErrors, type CreateCheckoutFromTemplateRequest, type CreateCheckoutFromTemplateResponse, type CreateCheckoutTemplateApplicationErrors, type CreateCheckoutTemplateRequest, type CreateCheckoutTemplateResponse, type CreatedBy, type CreatedByIdOneOf, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomContentReference, type CustomField, type CustomLineItem, type CustomSettings, type DeleteCheckoutTemplateRequest, type DeleteCheckoutTemplateResponse, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCheckoutTemplateRequest, type GetCheckoutTemplateResponse, type GiftCard, type Group, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemDiscount, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, type QueryCheckoutTemplatesRequest, type QueryCheckoutTemplatesResponse, RateType, type RateTypeWithLiterals, type RawHttpResponse, type Region, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCheckoutTemplate, type UpdateCheckoutTemplateApplicationErrors, type UpdateCheckoutTemplateRequest, type UpdateCheckoutTemplateResponse, type V1ItemModifier, type V1LineItem, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, type WebClientCustomization, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, createAndRedirectToCheckout, createCheckoutFromTemplate, createCheckoutTemplate, deleteCheckoutTemplate, getCheckoutTemplate, onCheckoutTemplateCreated, onCheckoutTemplateDeleted, onCheckoutTemplateUpdated, onCheckoutTemplateUsed, queryCheckoutTemplates, typedQueryCheckoutTemplates, updateCheckoutTemplate };