@wix/auto_sdk_ecom_cart 1.0.123 → 1.0.125

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.
@@ -2847,6 +2847,8 @@ interface MessageEnvelope {
2847
2847
  identity?: IdentificationData;
2848
2848
  /** Stringify payload. */
2849
2849
  data?: string;
2850
+ /** Details related to the account */
2851
+ accountInfo?: AccountInfo;
2850
2852
  }
2851
2853
  interface IdentificationData extends IdentificationDataIdOneOf {
2852
2854
  /**
@@ -3169,6 +3171,8 @@ interface BaseEventMetadata {
3169
3171
  eventType?: string;
3170
3172
  /** The identification type and identity data. */
3171
3173
  identity?: IdentificationData;
3174
+ /** Details related to the account */
3175
+ accountInfo?: AccountInfo;
3172
3176
  }
3173
3177
  interface EventMetadata extends BaseEventMetadata {
3174
3178
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
@@ -3199,6 +3203,15 @@ interface EventMetadata extends BaseEventMetadata {
3199
3203
  * 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.
3200
3204
  */
3201
3205
  entityEventSequence?: string | null;
3206
+ accountInfo?: AccountInfoMetadata;
3207
+ }
3208
+ interface AccountInfoMetadata {
3209
+ /** ID of the Wix account associated with the event */
3210
+ accountId: string;
3211
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
3212
+ siteId?: string;
3213
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
3214
+ parentAccountId?: string;
3202
3215
  }
3203
3216
  interface CartDeletedEnvelope {
3204
3217
  metadata: EventMetadata;