@wix/auto_sdk_calendar_events 1.0.56 → 1.0.58

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.
@@ -777,6 +777,8 @@ interface MessageEnvelope {
777
777
  identity?: IdentificationData;
778
778
  /** Stringify payload. */
779
779
  data?: string;
780
+ /** Details related to the account */
781
+ accountInfo?: AccountInfo;
780
782
  }
781
783
  interface IdentificationData extends IdentificationDataIdOneOf {
782
784
  /**
@@ -1886,6 +1888,8 @@ interface BaseEventMetadata {
1886
1888
  eventType?: string;
1887
1889
  /** The identification type and identity data. */
1888
1890
  identity?: IdentificationData;
1891
+ /** Details related to the account */
1892
+ accountInfo?: AccountInfo;
1889
1893
  }
1890
1894
  interface EventMetadata extends BaseEventMetadata {
1891
1895
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
@@ -1916,6 +1920,15 @@ interface EventMetadata extends BaseEventMetadata {
1916
1920
  * 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.
1917
1921
  */
1918
1922
  entityEventSequence?: string | null;
1923
+ accountInfo?: AccountInfoMetadata;
1924
+ }
1925
+ interface AccountInfoMetadata {
1926
+ /** ID of the Wix account associated with the event */
1927
+ accountId: string;
1928
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
1929
+ siteId?: string;
1930
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
1931
+ parentAccountId?: string;
1919
1932
  }
1920
1933
  interface EventCancelledEnvelope {
1921
1934
  data: EventCancelled;