@wix/auto_sdk_ecom_cart 1.0.123 → 1.0.125

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
  /**
@@ -3022,6 +3024,8 @@ interface BaseEventMetadata {
3022
3024
  eventType?: string;
3023
3025
  /** The identification type and identity data. */
3024
3026
  identity?: IdentificationData;
3027
+ /** Details related to the account */
3028
+ accountInfo?: AccountInfo;
3025
3029
  }
3026
3030
  interface EventMetadata extends BaseEventMetadata {
3027
3031
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
@@ -3052,6 +3056,15 @@ interface EventMetadata extends BaseEventMetadata {
3052
3056
  * 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.
3053
3057
  */
3054
3058
  entityEventSequence?: string | null;
3059
+ accountInfo?: AccountInfoMetadata;
3060
+ }
3061
+ interface AccountInfoMetadata {
3062
+ /** ID of the Wix account associated with the event */
3063
+ accountId: string;
3064
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
3065
+ siteId?: string;
3066
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
3067
+ parentAccountId?: string;
3055
3068
  }
3056
3069
  interface CartDeletedEnvelope {
3057
3070
  metadata: EventMetadata;