@wix/auto_sdk_members_members-about 1.0.45 → 1.0.47

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.
@@ -2106,6 +2106,8 @@ interface MessageEnvelope {
2106
2106
  identity?: IdentificationData;
2107
2107
  /** Stringify payload. */
2108
2108
  data?: string;
2109
+ /** Details related to the account */
2110
+ accountInfo?: AccountInfo;
2109
2111
  }
2110
2112
  interface IdentificationData extends IdentificationDataIdOneOf {
2111
2113
  /**
@@ -2193,6 +2195,8 @@ interface BaseEventMetadata {
2193
2195
  eventType?: string;
2194
2196
  /** The identification type and identity data. */
2195
2197
  identity?: IdentificationData;
2198
+ /** Details related to the account */
2199
+ accountInfo?: AccountInfo;
2196
2200
  }
2197
2201
  interface EventMetadata extends BaseEventMetadata {
2198
2202
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
@@ -2223,6 +2227,15 @@ interface EventMetadata extends BaseEventMetadata {
2223
2227
  * 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.
2224
2228
  */
2225
2229
  entityEventSequence?: string | null;
2230
+ accountInfo?: AccountInfoMetadata;
2231
+ }
2232
+ interface AccountInfoMetadata {
2233
+ /** ID of the Wix account associated with the event */
2234
+ accountId: string;
2235
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
2236
+ siteId?: string;
2237
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
2238
+ parentAccountId?: string;
2226
2239
  }
2227
2240
  interface MemberAboutCreatedEnvelope {
2228
2241
  entity: MemberAbout;