@wix/auto_sdk_email-marketing_campaigns 1.0.12 → 1.0.14

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.
Files changed (25) hide show
  1. package/build/cjs/src/email-marketing-v1-campaign-campaigns.context.d.ts +1 -1
  2. package/build/cjs/src/email-marketing-v1-campaign-campaigns.types.d.ts +120 -128
  3. package/build/cjs/src/email-marketing-v1-campaign-campaigns.types.js.map +1 -1
  4. package/build/cjs/src/email-marketing-v1-campaign-campaigns.universal.d.ts +174 -144
  5. package/build/cjs/src/email-marketing-v1-campaign-campaigns.universal.js +28 -0
  6. package/build/cjs/src/email-marketing-v1-campaign-campaigns.universal.js.map +1 -1
  7. package/build/es/src/email-marketing-v1-campaign-campaigns.context.d.ts +1 -1
  8. package/build/es/src/email-marketing-v1-campaign-campaigns.types.d.ts +120 -128
  9. package/build/es/src/email-marketing-v1-campaign-campaigns.types.js.map +1 -1
  10. package/build/es/src/email-marketing-v1-campaign-campaigns.universal.d.ts +174 -144
  11. package/build/es/src/email-marketing-v1-campaign-campaigns.universal.js +28 -0
  12. package/build/es/src/email-marketing-v1-campaign-campaigns.universal.js.map +1 -1
  13. package/build/internal/cjs/src/email-marketing-v1-campaign-campaigns.context.d.ts +1 -1
  14. package/build/internal/cjs/src/email-marketing-v1-campaign-campaigns.types.d.ts +120 -128
  15. package/build/internal/cjs/src/email-marketing-v1-campaign-campaigns.types.js.map +1 -1
  16. package/build/internal/cjs/src/email-marketing-v1-campaign-campaigns.universal.d.ts +174 -144
  17. package/build/internal/cjs/src/email-marketing-v1-campaign-campaigns.universal.js +28 -0
  18. package/build/internal/cjs/src/email-marketing-v1-campaign-campaigns.universal.js.map +1 -1
  19. package/build/internal/es/src/email-marketing-v1-campaign-campaigns.context.d.ts +1 -1
  20. package/build/internal/es/src/email-marketing-v1-campaign-campaigns.types.d.ts +120 -128
  21. package/build/internal/es/src/email-marketing-v1-campaign-campaigns.types.js.map +1 -1
  22. package/build/internal/es/src/email-marketing-v1-campaign-campaigns.universal.d.ts +174 -144
  23. package/build/internal/es/src/email-marketing-v1-campaign-campaigns.universal.js +28 -0
  24. package/build/internal/es/src/email-marketing-v1-campaign-campaigns.universal.js.map +1 -1
  25. package/package.json +4 -4
@@ -197,117 +197,6 @@ export declare enum CampaignTypeEnum {
197
197
  /** Triggered email. */
198
198
  TRIGGERED = "TRIGGERED"
199
199
  }
200
- export interface ListStatisticsRequest {
201
- /**
202
- * IDs of the campaigns to retrieve (max 100 campaigns).
203
- * @format GUID
204
- * @minSize 1
205
- * @maxSize 100
206
- */
207
- campaignIds: string[];
208
- }
209
- export interface ListStatisticsResponse {
210
- /** List of statistics. */
211
- statistics?: CampaignStatisticsContainer[];
212
- }
213
- export interface CampaignStatisticsContainer {
214
- /**
215
- * Campaign ID.
216
- * @format GUID
217
- */
218
- campaignId?: string;
219
- /** Landing page statistics. */
220
- landingPage?: LandingPageStatistics;
221
- /** Email campaign statistics. */
222
- email?: DistributionStatistics;
223
- }
224
- export interface ListRecipientsRequest {
225
- /**
226
- * Campaign ID.
227
- * @format GUID
228
- */
229
- campaignId: string;
230
- /** Email activity to filter. */
231
- activity: RecipientsActivityEnum;
232
- /** Pagination options. */
233
- paging?: CursorPaging;
234
- }
235
- export declare enum RecipientsActivityEnum {
236
- UNKNOWN = "UNKNOWN",
237
- DELIVERED = "DELIVERED",
238
- OPENED = "OPENED",
239
- CLICKED = "CLICKED",
240
- BOUNCED = "BOUNCED",
241
- NOT_SENT = "NOT_SENT",
242
- SENT = "SENT",
243
- NOT_OPENED = "NOT_OPENED"
244
- }
245
- export interface CursorPaging {
246
- /**
247
- * Number of items to load.
248
- * @max 1000
249
- */
250
- limit?: number | null;
251
- /**
252
- * Pointer to the next or previous page in the list of results.
253
- *
254
- * You can get the relevant cursor token
255
- * from the `pagingMetadata` object in the previous call's response.
256
- * Not relevant for the first request.
257
- */
258
- cursor?: string | null;
259
- }
260
- export interface ListRecipientsResponse {
261
- /** List of recipients. */
262
- recipients?: CampaignRecipientDetails[];
263
- /** Details on the paged set of returned results. */
264
- pagingMetadata?: PagingMetadataV2;
265
- }
266
- export interface CampaignRecipientDetails {
267
- /**
268
- * Contact ID.
269
- * @format GUID
270
- */
271
- contactId?: string;
272
- /** Date and time of the last activity. */
273
- lastActivityDate?: Date | null;
274
- /**
275
- * Primary email address of the contact.
276
- * @format EMAIL
277
- */
278
- emailAddress?: string;
279
- /**
280
- * Full name of the contact (optional).
281
- * @maxLength 100
282
- */
283
- fullName?: string | null;
284
- /** Is this contact currently deleted from the site or not. */
285
- contactDeleted?: boolean;
286
- }
287
- export interface PagingMetadataV2 {
288
- /** Number of items returned in the response. */
289
- count?: number | null;
290
- /** Offset that was requested. */
291
- offset?: number | null;
292
- /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
293
- total?: number | null;
294
- /** Flag that indicates the server failed to calculate the `total` field. */
295
- tooManyToCount?: boolean | null;
296
- /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
297
- cursors?: Cursors;
298
- }
299
- export interface Cursors {
300
- /**
301
- * Cursor string pointing to the next page in the list of results.
302
- * @maxLength 16000
303
- */
304
- next?: string | null;
305
- /**
306
- * Cursor pointing to the previous page in the list of results.
307
- * @maxLength 16000
308
- */
309
- prev?: string | null;
310
- }
311
200
  export interface GetCampaignMappingRequest {
312
201
  /**
313
202
  * rule ID in automations
@@ -550,6 +439,117 @@ export interface Decimal {
550
439
  }
551
440
  export interface SendTestBulkResponse {
552
441
  }
442
+ export interface ListStatisticsRequest {
443
+ /**
444
+ * IDs of the campaigns to retrieve (max 100 campaigns).
445
+ * @format GUID
446
+ * @minSize 1
447
+ * @maxSize 100
448
+ */
449
+ campaignIds: string[];
450
+ }
451
+ export interface ListStatisticsResponse {
452
+ /** List of statistics. */
453
+ statistics?: CampaignStatisticsContainer[];
454
+ }
455
+ export interface CampaignStatisticsContainer {
456
+ /**
457
+ * Campaign ID.
458
+ * @format GUID
459
+ */
460
+ campaignId?: string;
461
+ /** Landing page statistics. */
462
+ landingPage?: LandingPageStatistics;
463
+ /** Email campaign statistics. */
464
+ email?: DistributionStatistics;
465
+ }
466
+ export interface ListRecipientsRequest {
467
+ /**
468
+ * Campaign ID.
469
+ * @format GUID
470
+ */
471
+ campaignId: string;
472
+ /** Email activity to filter. */
473
+ activity: RecipientsActivityEnum;
474
+ /** Pagination options. */
475
+ paging?: CursorPaging;
476
+ }
477
+ export declare enum RecipientsActivityEnum {
478
+ UNKNOWN = "UNKNOWN",
479
+ DELIVERED = "DELIVERED",
480
+ OPENED = "OPENED",
481
+ CLICKED = "CLICKED",
482
+ BOUNCED = "BOUNCED",
483
+ NOT_SENT = "NOT_SENT",
484
+ SENT = "SENT",
485
+ NOT_OPENED = "NOT_OPENED"
486
+ }
487
+ export interface CursorPaging {
488
+ /**
489
+ * Number of items to load.
490
+ * @max 1000
491
+ */
492
+ limit?: number | null;
493
+ /**
494
+ * Pointer to the next or previous page in the list of results.
495
+ *
496
+ * You can get the relevant cursor token
497
+ * from the `pagingMetadata` object in the previous call's response.
498
+ * Not relevant for the first request.
499
+ */
500
+ cursor?: string | null;
501
+ }
502
+ export interface ListRecipientsResponse {
503
+ /** List of recipients. */
504
+ recipients?: CampaignRecipientDetails[];
505
+ /** Details on the paged set of returned results. */
506
+ pagingMetadata?: PagingMetadataV2;
507
+ }
508
+ export interface CampaignRecipientDetails {
509
+ /**
510
+ * Contact ID.
511
+ * @format GUID
512
+ */
513
+ contactId?: string;
514
+ /** Date and time of the last activity. */
515
+ lastActivityDate?: Date | null;
516
+ /**
517
+ * Primary email address of the contact.
518
+ * @format EMAIL
519
+ */
520
+ emailAddress?: string;
521
+ /**
522
+ * Full name of the contact (optional).
523
+ * @maxLength 100
524
+ */
525
+ fullName?: string | null;
526
+ /** Is this contact currently deleted from the site or not. */
527
+ contactDeleted?: boolean;
528
+ }
529
+ export interface PagingMetadataV2 {
530
+ /** Number of items returned in the response. */
531
+ count?: number | null;
532
+ /** Offset that was requested. */
533
+ offset?: number | null;
534
+ /** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
535
+ total?: number | null;
536
+ /** Flag that indicates the server failed to calculate the `total` field. */
537
+ tooManyToCount?: boolean | null;
538
+ /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
539
+ cursors?: Cursors;
540
+ }
541
+ export interface Cursors {
542
+ /**
543
+ * Cursor string pointing to the next page in the list of results.
544
+ * @maxLength 16000
545
+ */
546
+ next?: string | null;
547
+ /**
548
+ * Cursor pointing to the previous page in the list of results.
549
+ * @maxLength 16000
550
+ */
551
+ prev?: string | null;
552
+ }
553
553
  export interface GetCampaignRequest {
554
554
  /**
555
555
  * Campaign ID.
@@ -1118,25 +1118,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1118
1118
  updatedEvent?: EntityUpdatedEvent;
1119
1119
  deletedEvent?: EntityDeletedEvent;
1120
1120
  actionEvent?: ActionEvent;
1121
- /**
1122
- * Unique event ID.
1123
- * Allows clients to ignore duplicate webhooks.
1124
- */
1121
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1125
1122
  _id?: string;
1126
1123
  /**
1127
- * Assumes actions are also always typed to an entity_type
1128
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1124
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1125
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1129
1126
  */
1130
1127
  entityFqdn?: string;
1131
1128
  /**
1132
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1133
- * This is although the created/updated/deleted notion is duplication of the oneof types
1134
- * Example: created/updated/deleted/started/completed/email_opened
1129
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1130
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1135
1131
  */
1136
1132
  slug?: string;
1137
1133
  /** ID of the entity associated with the event. */
1138
1134
  entityId?: string;
1139
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1135
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1140
1136
  eventTime?: Date | null;
1141
1137
  /**
1142
1138
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1146,12 +1142,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
1146
1142
  /** If present, indicates the action that triggered the event. */
1147
1143
  originatedFrom?: string | null;
1148
1144
  /**
1149
- * A sequence number defining the order of updates to the underlying entity.
1150
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1151
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1152
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1153
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1154
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1145
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1146
+ * 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.
1155
1147
  */
1156
1148
  entityEventSequence?: string | null;
1157
1149
  }
@@ -1177,7 +1169,7 @@ export interface EntityUpdatedEvent {
1177
1169
  currentEntity?: string;
1178
1170
  }
1179
1171
  export interface EntityDeletedEvent {
1180
- /** Entity that was deleted */
1172
+ /** Entity that was deleted. */
1181
1173
  deletedEntity?: string | null;
1182
1174
  }
1183
1175
  export interface ActionEvent {
@@ -1453,25 +1445,21 @@ export interface BaseEventMetadata {
1453
1445
  identity?: IdentificationData;
1454
1446
  }
1455
1447
  export interface EventMetadata extends BaseEventMetadata {
1456
- /**
1457
- * Unique event ID.
1458
- * Allows clients to ignore duplicate webhooks.
1459
- */
1448
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1460
1449
  _id?: string;
1461
1450
  /**
1462
- * Assumes actions are also always typed to an entity_type
1463
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
1451
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1452
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1464
1453
  */
1465
1454
  entityFqdn?: string;
1466
1455
  /**
1467
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
1468
- * This is although the created/updated/deleted notion is duplication of the oneof types
1469
- * Example: created/updated/deleted/started/completed/email_opened
1456
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1457
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1470
1458
  */
1471
1459
  slug?: string;
1472
1460
  /** ID of the entity associated with the event. */
1473
1461
  entityId?: string;
1474
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1462
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1475
1463
  eventTime?: Date | null;
1476
1464
  /**
1477
1465
  * Whether the event was triggered as a result of a privacy regulation application
@@ -1481,12 +1469,8 @@ export interface EventMetadata extends BaseEventMetadata {
1481
1469
  /** If present, indicates the action that triggered the event. */
1482
1470
  originatedFrom?: string | null;
1483
1471
  /**
1484
- * A sequence number defining the order of updates to the underlying entity.
1485
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
1486
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
1487
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
1488
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
1489
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
1472
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
1473
+ * 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.
1490
1474
  */
1491
1475
  entityEventSequence?: string | null;
1492
1476
  }
@@ -1496,6 +1480,8 @@ export interface CampaignDistributedEnvelope {
1496
1480
  }
1497
1481
  /**
1498
1482
  * Triggered when a campaign is successfully distributed to all recipients.
1483
+ * @permissionScope Manage Stores
1484
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1499
1485
  * @permissionScope Access Verticals by Automations
1500
1486
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1501
1487
  * @permissionScope Set Up Automations
@@ -1517,6 +1503,8 @@ export interface CampaignPausedEnvelope {
1517
1503
  }
1518
1504
  /**
1519
1505
  * Triggered when a scheduled campaign is paused.
1506
+ * @permissionScope Manage Stores
1507
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1520
1508
  * @permissionScope Access Verticals by Automations
1521
1509
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1522
1510
  * @permissionScope Set Up Automations
@@ -1538,6 +1526,8 @@ export interface CampaignPublishedEnvelope {
1538
1526
  }
1539
1527
  /**
1540
1528
  * Triggered when a draft campaign is published.
1529
+ * @permissionScope Manage Stores
1530
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1541
1531
  * @permissionScope Access Verticals by Automations
1542
1532
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1543
1533
  * @permissionScope Set Up Automations
@@ -1559,6 +1549,8 @@ export interface CampaignRejectedEnvelope {
1559
1549
  }
1560
1550
  /**
1561
1551
  * Triggered when a campaign is identified as abusive and rejected without sending emails to recipients.
1552
+ * @permissionScope Manage Stores
1553
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1562
1554
  * @permissionScope Access Verticals by Automations
1563
1555
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1564
1556
  * @permissionScope Set Up Automations
@@ -1580,6 +1572,8 @@ export interface CampaignScheduledEnvelope {
1580
1572
  }
1581
1573
  /**
1582
1574
  * Triggered when a campaign is scheduled to be sent out at the specific time.
1575
+ * @permissionScope Manage Stores
1576
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1583
1577
  * @permissionScope Access Verticals by Automations
1584
1578
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1585
1579
  * @permissionScope Set Up Automations
@@ -1601,6 +1595,8 @@ export interface CampaignTerminatedEnvelope {
1601
1595
  }
1602
1596
  /**
1603
1597
  * Triggered when the mailing list isn't clean and campaign was terminated.
1598
+ * @permissionScope Manage Stores
1599
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1604
1600
  * @permissionScope Access Verticals by Automations
1605
1601
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1606
1602
  * @permissionScope Set Up Automations
@@ -1622,6 +1618,8 @@ export interface CampaignCreatedEnvelope {
1622
1618
  }
1623
1619
  /**
1624
1620
  * Triggered when a campaign is created.
1621
+ * @permissionScope Manage Stores
1622
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1625
1623
  * @permissionScope Access Verticals by Automations
1626
1624
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1627
1625
  * @permissionScope Set Up Automations
@@ -1642,6 +1640,8 @@ export interface CampaignDeletedEnvelope {
1642
1640
  }
1643
1641
  /**
1644
1642
  * Triggered when a campaign is deleted.
1643
+ * @permissionScope Manage Stores
1644
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1645
1645
  * @permissionScope Access Verticals by Automations
1646
1646
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1647
1647
  * @permissionScope Set Up Automations
@@ -1663,6 +1663,8 @@ export interface CampaignEmailActivityUpdatedEnvelope {
1663
1663
  }
1664
1664
  /**
1665
1665
  * Triggered when an email campaign has a new recipient activity.
1666
+ * @permissionScope Manage Stores
1667
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1666
1668
  * @permissionScope Access Verticals by Automations
1667
1669
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1668
1670
  * @permissionScope Set Up Automations
@@ -1691,6 +1693,8 @@ type CampaignNonNullablePaths = `campaignId` | `editorType` | `status` | `visibi
1691
1693
  * @public
1692
1694
  * @requiredField campaignIds
1693
1695
  * @permissionId Shoutout.Read
1696
+ * @permissionScope Manage Stores
1697
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1694
1698
  * @permissionScope Access Verticals by Automations
1695
1699
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1696
1700
  * @permissionScope Set Up Automations
@@ -1719,6 +1723,8 @@ export declare function listStatistics(campaignIds: string[]): Promise<NonNullab
1719
1723
  * @requiredField campaignId
1720
1724
  * @param options - Options to use when getting the list of recipients.
1721
1725
  * @permissionId Shoutout.Read
1726
+ * @permissionScope Manage Stores
1727
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1722
1728
  * @permissionScope Access Verticals by Automations
1723
1729
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1724
1730
  * @permissionScope Set Up Automations
@@ -1742,6 +1748,8 @@ export interface ListRecipientsOptions {
1742
1748
  * @requiredField campaignId
1743
1749
  * @param options - Options to use when getting a campaign.
1744
1750
  * @permissionId Shoutout.Manage
1751
+ * @permissionScope Manage Stores
1752
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1745
1753
  * @permissionScope Access Verticals by Automations
1746
1754
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1747
1755
  * @permissionScope Set Up Automations
@@ -1768,6 +1776,8 @@ export interface GetCampaignOptions {
1768
1776
  * @public
1769
1777
  * @param options - Options to use when getting the list of campaigns.
1770
1778
  * @permissionId Shoutout.Read
1779
+ * @permissionScope Manage Stores
1780
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1771
1781
  * @permissionScope Access Verticals by Automations
1772
1782
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1773
1783
  * @permissionScope Set Up Automations
@@ -1805,6 +1815,8 @@ export interface ListCampaignsOptions {
1805
1815
  * @requiredField campaignId
1806
1816
  * @param options - Options to use when publishing a campaign.
1807
1817
  * @permissionId Shoutout.Manage
1818
+ * @permissionScope Manage Stores
1819
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1808
1820
  * @permissionScope Access Verticals by Automations
1809
1821
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1810
1822
  * @permissionScope Set Up Automations
@@ -1829,6 +1841,8 @@ export interface PublishCampaignOptions {
1829
1841
  * @requiredField options.toEmailAddress
1830
1842
  * @param options - Options for sending a test email.
1831
1843
  * @permissionId Shoutout.Manage
1844
+ * @permissionScope Manage Stores
1845
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1832
1846
  * @permissionScope Access Verticals by Automations
1833
1847
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1834
1848
  * @permissionScope Set Up Automations
@@ -1857,6 +1871,8 @@ export interface SendTestOptions {
1857
1871
  * @public
1858
1872
  * @requiredField campaignId
1859
1873
  * @permissionId Shoutout.Manage
1874
+ * @permissionScope Manage Stores
1875
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1860
1876
  * @permissionScope Access Verticals by Automations
1861
1877
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1862
1878
  * @permissionScope Set Up Automations
@@ -1875,6 +1891,8 @@ export declare function pauseScheduling(campaignId: string): Promise<void>;
1875
1891
  * @requiredField campaignId
1876
1892
  * @requiredField sendAt
1877
1893
  * @permissionId Shoutout.Manage
1894
+ * @permissionScope Manage Stores
1895
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1878
1896
  * @permissionScope Access Verticals by Automations
1879
1897
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1880
1898
  * @permissionScope Set Up Automations
@@ -1891,6 +1909,8 @@ export declare function reschedule(campaignId: string, sendAt: Date): Promise<vo
1891
1909
  * @public
1892
1910
  * @requiredField campaignId
1893
1911
  * @permissionId Shoutout.Manage
1912
+ * @permissionScope Manage Stores
1913
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1894
1914
  * @permissionScope Access Verticals by Automations
1895
1915
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1896
1916
  * @permissionScope Set Up Automations
@@ -1907,6 +1927,8 @@ export declare function deleteCampaign(campaignId: string): Promise<void>;
1907
1927
  * @public
1908
1928
  * @requiredField campaignId
1909
1929
  * @permissionId Shoutout.Manage
1930
+ * @permissionScope Manage Stores
1931
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1910
1932
  * @permissionScope Access Verticals by Automations
1911
1933
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1912
1934
  * @permissionScope Set Up Automations
@@ -1925,6 +1947,8 @@ export declare function reuseCampaign(campaignId: string): Promise<NonNullablePa
1925
1947
  * @public
1926
1948
  * @requiredField campaignId
1927
1949
  * @permissionId Shoutout.Manage
1950
+ * @permissionScope Manage Stores
1951
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1928
1952
  * @permissionScope Access Verticals by Automations
1929
1953
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1930
1954
  * @permissionScope Set Up Automations
@@ -1941,6 +1965,8 @@ export declare function getAudience(campaignId: string): Promise<NonNullablePath
1941
1965
  * @public
1942
1966
  * @requiredField emailAddress
1943
1967
  * @permissionId Shoutout.Manage
1968
+ * @permissionScope Manage Stores
1969
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1944
1970
  * @permissionScope Access Verticals by Automations
1945
1971
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1946
1972
  * @permissionScope Set Up Automations
@@ -1959,6 +1985,8 @@ export declare function identifySenderAddress(emailAddress: string): Promise<Non
1959
1985
  * @public
1960
1986
  * @requiredField url
1961
1987
  * @permissionId Shoutout.Manage
1988
+ * @permissionScope Manage Stores
1989
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1962
1990
  * @permissionScope Access Verticals by Automations
1963
1991
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1964
1992
  * @permissionScope Set Up Automations
@@ -1975,6 +2003,8 @@ export declare function validateLink(url: string): Promise<NonNullablePaths<Vali
1975
2003
  * @public
1976
2004
  * @requiredField html
1977
2005
  * @permissionId Shoutout.Manage
2006
+ * @permissionScope Manage Stores
2007
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1978
2008
  * @permissionScope Access Verticals by Automations
1979
2009
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
1980
2010
  * @permissionScope Set Up Automations
@@ -183,6 +183,8 @@ var WebhookIdentityType;
183
183
  * @public
184
184
  * @requiredField campaignIds
185
185
  * @permissionId Shoutout.Read
186
+ * @permissionScope Manage Stores
187
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
186
188
  * @permissionScope Access Verticals by Automations
187
189
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
188
190
  * @permissionScope Set Up Automations
@@ -234,6 +236,8 @@ exports.listStatistics = listStatistics;
234
236
  * @requiredField campaignId
235
237
  * @param options - Options to use when getting the list of recipients.
236
238
  * @permissionId Shoutout.Read
239
+ * @permissionScope Manage Stores
240
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
237
241
  * @permissionScope Access Verticals by Automations
238
242
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
239
243
  * @permissionScope Set Up Automations
@@ -282,6 +286,8 @@ exports.listRecipients = listRecipients;
282
286
  * @requiredField campaignId
283
287
  * @param options - Options to use when getting a campaign.
284
288
  * @permissionId Shoutout.Manage
289
+ * @permissionScope Manage Stores
290
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
285
291
  * @permissionScope Access Verticals by Automations
286
292
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
287
293
  * @permissionScope Set Up Automations
@@ -327,6 +333,8 @@ exports.getCampaign = getCampaign;
327
333
  * @public
328
334
  * @param options - Options to use when getting the list of campaigns.
329
335
  * @permissionId Shoutout.Read
336
+ * @permissionScope Manage Stores
337
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
330
338
  * @permissionScope Access Verticals by Automations
331
339
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
332
340
  * @permissionScope Set Up Automations
@@ -379,6 +387,8 @@ exports.listCampaigns = listCampaigns;
379
387
  * @requiredField campaignId
380
388
  * @param options - Options to use when publishing a campaign.
381
389
  * @permissionId Shoutout.Manage
390
+ * @permissionScope Manage Stores
391
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
382
392
  * @permissionScope Access Verticals by Automations
383
393
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
384
394
  * @permissionScope Set Up Automations
@@ -426,6 +436,8 @@ exports.publishCampaign = publishCampaign;
426
436
  * @requiredField options.toEmailAddress
427
437
  * @param options - Options for sending a test email.
428
438
  * @permissionId Shoutout.Manage
439
+ * @permissionScope Manage Stores
440
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
429
441
  * @permissionScope Access Verticals by Automations
430
442
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
431
443
  * @permissionScope Set Up Automations
@@ -470,6 +482,8 @@ exports.sendTest = sendTest;
470
482
  * @public
471
483
  * @requiredField campaignId
472
484
  * @permissionId Shoutout.Manage
485
+ * @permissionScope Manage Stores
486
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
473
487
  * @permissionScope Access Verticals by Automations
474
488
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
475
489
  * @permissionScope Set Up Automations
@@ -510,6 +524,8 @@ exports.pauseScheduling = pauseScheduling;
510
524
  * @requiredField campaignId
511
525
  * @requiredField sendAt
512
526
  * @permissionId Shoutout.Manage
527
+ * @permissionScope Manage Stores
528
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
513
529
  * @permissionScope Access Verticals by Automations
514
530
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
515
531
  * @permissionScope Set Up Automations
@@ -549,6 +565,8 @@ exports.reschedule = reschedule;
549
565
  * @public
550
566
  * @requiredField campaignId
551
567
  * @permissionId Shoutout.Manage
568
+ * @permissionScope Manage Stores
569
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
552
570
  * @permissionScope Access Verticals by Automations
553
571
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
554
572
  * @permissionScope Set Up Automations
@@ -587,6 +605,8 @@ exports.deleteCampaign = deleteCampaign;
587
605
  * @public
588
606
  * @requiredField campaignId
589
607
  * @permissionId Shoutout.Manage
608
+ * @permissionScope Manage Stores
609
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
590
610
  * @permissionScope Access Verticals by Automations
591
611
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
592
612
  * @permissionScope Set Up Automations
@@ -626,6 +646,8 @@ exports.reuseCampaign = reuseCampaign;
626
646
  * @public
627
647
  * @requiredField campaignId
628
648
  * @permissionId Shoutout.Manage
649
+ * @permissionScope Manage Stores
650
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
629
651
  * @permissionScope Access Verticals by Automations
630
652
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
631
653
  * @permissionScope Set Up Automations
@@ -665,6 +687,8 @@ exports.getAudience = getAudience;
665
687
  * @public
666
688
  * @requiredField emailAddress
667
689
  * @permissionId Shoutout.Manage
690
+ * @permissionScope Manage Stores
691
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
668
692
  * @permissionScope Access Verticals by Automations
669
693
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
670
694
  * @permissionScope Set Up Automations
@@ -706,6 +730,8 @@ exports.identifySenderAddress = identifySenderAddress;
706
730
  * @public
707
731
  * @requiredField url
708
732
  * @permissionId Shoutout.Manage
733
+ * @permissionScope Manage Stores
734
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
709
735
  * @permissionScope Access Verticals by Automations
710
736
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
711
737
  * @permissionScope Set Up Automations
@@ -743,6 +769,8 @@ exports.validateLink = validateLink;
743
769
  * @public
744
770
  * @requiredField html
745
771
  * @permissionId Shoutout.Manage
772
+ * @permissionScope Manage Stores
773
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
746
774
  * @permissionScope Access Verticals by Automations
747
775
  * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
748
776
  * @permissionScope Set Up Automations