@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.
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +13 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +13 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +13 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +13 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2700,6 +2700,8 @@ interface MessageEnvelope {
|
|
|
2700
2700
|
identity?: IdentificationData;
|
|
2701
2701
|
/** Stringify payload. */
|
|
2702
2702
|
data?: string;
|
|
2703
|
+
/** Details related to the account */
|
|
2704
|
+
accountInfo?: AccountInfo;
|
|
2703
2705
|
}
|
|
2704
2706
|
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
2705
2707
|
/**
|
|
@@ -3022,6 +3024,8 @@ interface BaseEventMetadata {
|
|
|
3022
3024
|
eventType?: string;
|
|
3023
3025
|
/** The identification type and identity data. */
|
|
3024
3026
|
identity?: IdentificationData;
|
|
3027
|
+
/** Details related to the account */
|
|
3028
|
+
accountInfo?: AccountInfo;
|
|
3025
3029
|
}
|
|
3026
3030
|
interface EventMetadata extends BaseEventMetadata {
|
|
3027
3031
|
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
@@ -3052,6 +3056,15 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
3052
3056
|
* 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.
|
|
3053
3057
|
*/
|
|
3054
3058
|
entityEventSequence?: string | null;
|
|
3059
|
+
accountInfo?: AccountInfoMetadata;
|
|
3060
|
+
}
|
|
3061
|
+
interface AccountInfoMetadata {
|
|
3062
|
+
/** ID of the Wix account associated with the event */
|
|
3063
|
+
accountId: string;
|
|
3064
|
+
/** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
|
|
3065
|
+
siteId?: string;
|
|
3066
|
+
/** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
|
|
3067
|
+
parentAccountId?: string;
|
|
3055
3068
|
}
|
|
3056
3069
|
interface CartDeletedEnvelope {
|
|
3057
3070
|
metadata: EventMetadata;
|