@wix/auto_sdk_stores_customizations-v-3 1.0.52 → 1.0.54

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.
@@ -808,6 +808,8 @@ interface MessageEnvelope {
808
808
  identity?: IdentificationData;
809
809
  /** Stringify payload. */
810
810
  data?: string;
811
+ /** Details related to the account */
812
+ accountInfo?: AccountInfo;
811
813
  }
812
814
  interface IdentificationData extends IdentificationDataIdOneOf {
813
815
  /**
@@ -1027,6 +1029,8 @@ interface BaseEventMetadata {
1027
1029
  eventType?: string;
1028
1030
  /** The identification type and identity data. */
1029
1031
  identity?: IdentificationData;
1032
+ /** Details related to the account */
1033
+ accountInfo?: AccountInfo;
1030
1034
  }
1031
1035
  interface EventMetadata extends BaseEventMetadata {
1032
1036
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
@@ -1057,6 +1061,15 @@ interface EventMetadata extends BaseEventMetadata {
1057
1061
  * 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.
1058
1062
  */
1059
1063
  entityEventSequence?: string | null;
1064
+ accountInfo?: AccountInfoMetadata;
1065
+ }
1066
+ interface AccountInfoMetadata {
1067
+ /** ID of the Wix account associated with the event */
1068
+ accountId: string;
1069
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
1070
+ siteId?: string;
1071
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
1072
+ parentAccountId?: string;
1060
1073
  }
1061
1074
  interface CustomizationCreatedEnvelope {
1062
1075
  entity: Customization;