@wix/auto_sdk_ecom_current-cart 1.0.127 → 1.0.129

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.
@@ -2700,6 +2700,8 @@ interface MessageEnvelope {
2700
2700
  identity?: IdentificationData;
2701
2701
  /** Stringify payload. */
2702
2702
  data?: string;
2703
+ /** Details related to the account */
2704
+ accountInfo?: AccountInfo;
2703
2705
  }
2704
2706
  interface IdentificationData extends IdentificationDataIdOneOf {
2705
2707
  /**
@@ -2982,6 +2984,8 @@ interface BaseEventMetadata {
2982
2984
  eventType?: string;
2983
2985
  /** The identification type and identity data. */
2984
2986
  identity?: IdentificationData;
2987
+ /** Details related to the account */
2988
+ accountInfo?: AccountInfo;
2985
2989
  }
2986
2990
  interface EventMetadata extends BaseEventMetadata {
2987
2991
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
@@ -3012,6 +3016,15 @@ interface EventMetadata extends BaseEventMetadata {
3012
3016
  * 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.
3013
3017
  */
3014
3018
  entityEventSequence?: string | null;
3019
+ accountInfo?: AccountInfoMetadata;
3020
+ }
3021
+ interface AccountInfoMetadata {
3022
+ /** ID of the Wix account associated with the event */
3023
+ accountId: string;
3024
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
3025
+ siteId?: string;
3026
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
3027
+ parentAccountId?: string;
3015
3028
  }
3016
3029
  interface CartDeletedEnvelope {
3017
3030
  metadata: EventMetadata;