@wix/auto_sdk_email-marketing_campaigns 1.0.77 → 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.
@@ -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;
@@ -1538,8 +1551,6 @@ interface CampaignDistributedEnvelope {
1538
1551
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1539
1552
  * @permissionScope Access Verticals by Automations
1540
1553
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1541
- * @permissionScope Manage Restaurants - all permissions
1542
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1543
1554
  * @permissionScope Set Up Automations
1544
1555
  * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
1545
1556
  * @permissionScope Read Email Marketing
@@ -1563,8 +1574,6 @@ interface CampaignPausedEnvelope {
1563
1574
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1564
1575
  * @permissionScope Access Verticals by Automations
1565
1576
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1566
- * @permissionScope Manage Restaurants - all permissions
1567
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1568
1577
  * @permissionScope Set Up Automations
1569
1578
  * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
1570
1579
  * @permissionScope Read Email Marketing
@@ -1588,8 +1597,6 @@ interface CampaignPublishedEnvelope {
1588
1597
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1589
1598
  * @permissionScope Access Verticals by Automations
1590
1599
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1591
- * @permissionScope Manage Restaurants - all permissions
1592
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1593
1600
  * @permissionScope Set Up Automations
1594
1601
  * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
1595
1602
  * @permissionScope Read Email Marketing
@@ -1613,8 +1620,6 @@ interface CampaignRejectedEnvelope {
1613
1620
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1614
1621
  * @permissionScope Access Verticals by Automations
1615
1622
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1616
- * @permissionScope Manage Restaurants - all permissions
1617
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1618
1623
  * @permissionScope Set Up Automations
1619
1624
  * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
1620
1625
  * @permissionScope Read Email Marketing
@@ -1638,8 +1643,6 @@ interface CampaignScheduledEnvelope {
1638
1643
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1639
1644
  * @permissionScope Access Verticals by Automations
1640
1645
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1641
- * @permissionScope Manage Restaurants - all permissions
1642
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1643
1646
  * @permissionScope Set Up Automations
1644
1647
  * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
1645
1648
  * @permissionScope Read Email Marketing
@@ -1663,8 +1666,6 @@ interface CampaignTerminatedEnvelope {
1663
1666
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1664
1667
  * @permissionScope Access Verticals by Automations
1665
1668
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1666
- * @permissionScope Manage Restaurants - all permissions
1667
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1668
1669
  * @permissionScope Set Up Automations
1669
1670
  * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
1670
1671
  * @permissionScope Read Email Marketing
@@ -1688,8 +1689,6 @@ interface CampaignCreatedEnvelope {
1688
1689
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1689
1690
  * @permissionScope Access Verticals by Automations
1690
1691
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1691
- * @permissionScope Manage Restaurants - all permissions
1692
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1693
1692
  * @permissionScope Set Up Automations
1694
1693
  * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
1695
1694
  * @permissionScope Read Email Marketing
@@ -1712,8 +1711,6 @@ interface CampaignDeletedEnvelope {
1712
1711
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1713
1712
  * @permissionScope Access Verticals by Automations
1714
1713
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1715
- * @permissionScope Manage Restaurants - all permissions
1716
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1717
1714
  * @permissionScope Set Up Automations
1718
1715
  * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
1719
1716
  * @permissionScope Read Email Marketing
@@ -1737,8 +1734,6 @@ interface CampaignEmailActivityUpdatedEnvelope {
1737
1734
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1738
1735
  * @permissionScope Access Verticals by Automations
1739
1736
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1740
- * @permissionScope Manage Restaurants - all permissions
1741
- * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1742
1737
  * @permissionScope Set Up Automations
1743
1738
  * @permissionScopeId SCOPE.CRM.SETUP-AUTOMATIONS
1744
1739
  * @permissionScope Read Email Marketing