@wix/auto_sdk_email-marketing_campaigns 1.0.76 → 1.0.78
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
|
@@ -966,6 +966,8 @@ interface MessageEnvelope {
|
|
|
966
966
|
identity?: IdentificationData;
|
|
967
967
|
/** Stringify payload. */
|
|
968
968
|
data?: string;
|
|
969
|
+
/** Details related to the account */
|
|
970
|
+
accountInfo?: AccountInfo;
|
|
969
971
|
}
|
|
970
972
|
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
971
973
|
/**
|
|
@@ -1497,6 +1499,8 @@ interface BaseEventMetadata {
|
|
|
1497
1499
|
eventType?: string;
|
|
1498
1500
|
/** The identification type and identity data. */
|
|
1499
1501
|
identity?: IdentificationData;
|
|
1502
|
+
/** Details related to the account */
|
|
1503
|
+
accountInfo?: AccountInfo;
|
|
1500
1504
|
}
|
|
1501
1505
|
interface EventMetadata extends BaseEventMetadata {
|
|
1502
1506
|
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
@@ -1527,6 +1531,15 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
1527
1531
|
* 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.
|
|
1528
1532
|
*/
|
|
1529
1533
|
entityEventSequence?: string | null;
|
|
1534
|
+
accountInfo?: AccountInfoMetadata;
|
|
1535
|
+
}
|
|
1536
|
+
interface AccountInfoMetadata {
|
|
1537
|
+
/** ID of the Wix account associated with the event */
|
|
1538
|
+
accountId: string;
|
|
1539
|
+
/** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
|
|
1540
|
+
siteId?: string;
|
|
1541
|
+
/** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
|
|
1542
|
+
parentAccountId?: string;
|
|
1530
1543
|
}
|
|
1531
1544
|
interface CampaignDistributedEnvelope {
|
|
1532
1545
|
data: Distributed;
|