@wix/auto_sdk_media_files 1.0.65 → 1.0.66

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.
@@ -1532,6 +1532,8 @@ interface MessageEnvelope {
1532
1532
  identity?: IdentificationData;
1533
1533
  /** Stringify payload. */
1534
1534
  data?: string;
1535
+ /** Details related to the account */
1536
+ accountInfo?: AccountInfo;
1535
1537
  }
1536
1538
  interface IdentificationData extends IdentificationDataIdOneOf {
1537
1539
  /**
@@ -1679,6 +1681,8 @@ interface BaseEventMetadata {
1679
1681
  eventType?: string;
1680
1682
  /** The identification type and identity data. */
1681
1683
  identity?: IdentificationData;
1684
+ /** Details related to the account */
1685
+ accountInfo?: AccountInfo;
1682
1686
  }
1683
1687
  interface EventMetadata extends BaseEventMetadata {
1684
1688
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
@@ -1709,6 +1713,15 @@ interface EventMetadata extends BaseEventMetadata {
1709
1713
  * 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.
1710
1714
  */
1711
1715
  entityEventSequence?: string | null;
1716
+ accountInfo?: AccountInfoMetadata;
1717
+ }
1718
+ interface AccountInfoMetadata {
1719
+ /** ID of the Wix account associated with the event */
1720
+ accountId: string;
1721
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
1722
+ siteId?: string;
1723
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
1724
+ parentAccountId?: string;
1712
1725
  }
1713
1726
  interface FileDescriptorFileFailedEnvelope {
1714
1727
  data: FileFailed;