@wix/auto_sdk_ecom_checkout-templates 1.0.100 → 1.0.102

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.
@@ -2822,6 +2822,8 @@ interface MessageEnvelope {
2822
2822
  identity?: IdentificationData;
2823
2823
  /** Stringify payload. */
2824
2824
  data?: string;
2825
+ /** Details related to the account */
2826
+ accountInfo?: AccountInfo;
2825
2827
  }
2826
2828
  interface IdentificationData extends IdentificationDataIdOneOf {
2827
2829
  /**
@@ -2945,6 +2947,8 @@ interface BaseEventMetadata {
2945
2947
  eventType?: string;
2946
2948
  /** The identification type and identity data. */
2947
2949
  identity?: IdentificationData;
2950
+ /** Details related to the account */
2951
+ accountInfo?: AccountInfo;
2948
2952
  }
2949
2953
  interface EventMetadata extends BaseEventMetadata {
2950
2954
  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
@@ -2975,6 +2979,15 @@ interface EventMetadata extends BaseEventMetadata {
2975
2979
  * 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.
2976
2980
  */
2977
2981
  entityEventSequence?: string | null;
2982
+ accountInfo?: AccountInfoMetadata;
2983
+ }
2984
+ interface AccountInfoMetadata {
2985
+ /** ID of the Wix account associated with the event */
2986
+ accountId: string;
2987
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
2988
+ siteId?: string;
2989
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
2990
+ parentAccountId?: string;
2978
2991
  }
2979
2992
  interface CheckoutTemplateCreatedEnvelope {
2980
2993
  entity: CheckoutTemplate;