@wix/auto_sdk_events_wix-events-v-2 1.0.73 → 1.0.75

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.
@@ -3866,6 +3866,8 @@ interface MessageEnvelope {
3866
3866
  identity?: IdentificationData;
3867
3867
  /** Stringify payload. */
3868
3868
  data?: string;
3869
+ /** Details related to the account */
3870
+ accountInfo?: AccountInfo;
3869
3871
  }
3870
3872
  interface IdentificationData extends IdentificationDataIdOneOf {
3871
3873
  /**
@@ -4017,6 +4019,8 @@ interface BaseEventMetadata {
4017
4019
  eventType?: string;
4018
4020
  /** The identification type and identity data. */
4019
4021
  identity?: IdentificationData;
4022
+ /** Details related to the account */
4023
+ accountInfo?: AccountInfo;
4020
4024
  }
4021
4025
  interface EventMetadata extends BaseEventMetadata {
4022
4026
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
@@ -4047,6 +4051,15 @@ interface EventMetadata extends BaseEventMetadata {
4047
4051
  * 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.
4048
4052
  */
4049
4053
  entityEventSequence?: string | null;
4054
+ accountInfo?: AccountInfoMetadata;
4055
+ }
4056
+ interface AccountInfoMetadata {
4057
+ /** ID of the Wix account associated with the event */
4058
+ accountId: string;
4059
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
4060
+ siteId?: string;
4061
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
4062
+ parentAccountId?: string;
4050
4063
  }
4051
4064
  interface EventCanceledEnvelope {
4052
4065
  data: EventCanceled;