@wix/auto_sdk_ecom_checkout 1.0.120 → 1.0.122

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.
@@ -3055,6 +3055,8 @@ interface MessageEnvelope {
3055
3055
  identity?: IdentificationData;
3056
3056
  /** Stringify payload. */
3057
3057
  data?: string;
3058
+ /** Details related to the account */
3059
+ accountInfo?: AccountInfo;
3058
3060
  }
3059
3061
  interface IdentificationData extends IdentificationDataIdOneOf {
3060
3062
  /**
@@ -3430,6 +3432,8 @@ interface BaseEventMetadata {
3430
3432
  eventType?: string;
3431
3433
  /** The identification type and identity data. */
3432
3434
  identity?: IdentificationData;
3435
+ /** Details related to the account */
3436
+ accountInfo?: AccountInfo;
3433
3437
  }
3434
3438
  interface EventMetadata extends BaseEventMetadata {
3435
3439
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
@@ -3460,6 +3464,15 @@ interface EventMetadata extends BaseEventMetadata {
3460
3464
  * 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.
3461
3465
  */
3462
3466
  entityEventSequence?: string | null;
3467
+ accountInfo?: AccountInfoMetadata;
3468
+ }
3469
+ interface AccountInfoMetadata {
3470
+ /** ID of the Wix account associated with the event */
3471
+ accountId: string;
3472
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
3473
+ siteId?: string;
3474
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
3475
+ parentAccountId?: string;
3463
3476
  }
3464
3477
  interface CheckoutCompletedEnvelope {
3465
3478
  data: CheckoutMarkedAsCompleted;