@wix/email-marketing 1.0.85 → 1.0.87
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/email-marketing",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.87",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/email-marketing_account-details": "1.0.
|
|
22
|
-
"@wix/email-marketing_campaigns": "1.0.
|
|
23
|
-
"@wix/email-marketing_sender-details": "1.0.
|
|
21
|
+
"@wix/email-marketing_account-details": "1.0.30",
|
|
22
|
+
"@wix/email-marketing_campaigns": "1.0.39",
|
|
23
|
+
"@wix/email-marketing_sender-details": "1.0.33"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"glob": "^10.4.1",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"fqdn": ""
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
"falconPackageHash": "
|
|
48
|
+
"falconPackageHash": "125eae7b16c8d3603dd0411e42e3b434058df94da67663706a048a71"
|
|
49
49
|
}
|
|
@@ -529,9 +529,9 @@ declare enum BillingCycle {
|
|
|
529
529
|
}
|
|
530
530
|
interface QuotaPeriod {
|
|
531
531
|
/** Current quota period start date. */
|
|
532
|
-
dateFrom?: Date;
|
|
532
|
+
dateFrom?: Date | null;
|
|
533
533
|
/** Current quota period end date - after which quota will roll over. */
|
|
534
|
-
dateTo?: Date;
|
|
534
|
+
dateTo?: Date | null;
|
|
535
535
|
/** Information about allocated quota already used in this period. */
|
|
536
536
|
quotaUsage?: Quota;
|
|
537
537
|
}
|
|
@@ -703,9 +703,9 @@ interface Campaign {
|
|
|
703
703
|
/** Publishing data (present only if campaign is published). */
|
|
704
704
|
publishingData?: PublishingData;
|
|
705
705
|
/** Campaign creation date. */
|
|
706
|
-
dateCreated?: Date;
|
|
706
|
+
dateCreated?: Date | null;
|
|
707
707
|
/** Campaign last update date. */
|
|
708
|
-
dateUpdated?: Date;
|
|
708
|
+
dateUpdated?: Date | null;
|
|
709
709
|
/**
|
|
710
710
|
* Email subject of the campaign (initially copied from the template).
|
|
711
711
|
* TODO: Deprecated (moved to "GetComposerResponse").
|
|
@@ -765,7 +765,7 @@ interface PublishingData {
|
|
|
765
765
|
/** Marketing campaign statistics. */
|
|
766
766
|
statistics?: CampaignStatistics;
|
|
767
767
|
/** Marketing campaign publish date. */
|
|
768
|
-
datePublished?: Date;
|
|
768
|
+
datePublished?: Date | null;
|
|
769
769
|
}
|
|
770
770
|
interface CampaignStatistics {
|
|
771
771
|
/** Marketing campaign's landing page statistics. */
|
|
@@ -1052,7 +1052,7 @@ interface CampaignRecipientDetails {
|
|
|
1052
1052
|
/** Contact ID. */
|
|
1053
1053
|
contactId?: string;
|
|
1054
1054
|
/** Date and time of the last activity. */
|
|
1055
|
-
lastActivityDate?: Date;
|
|
1055
|
+
lastActivityDate?: Date | null;
|
|
1056
1056
|
/** Primary email address of the contact. */
|
|
1057
1057
|
emailAddress?: string;
|
|
1058
1058
|
/** Full name of the contact (optional). */
|
|
@@ -1189,12 +1189,12 @@ interface AutomationTemplate {
|
|
|
1189
1189
|
* Automation template created date
|
|
1190
1190
|
* @readonly
|
|
1191
1191
|
*/
|
|
1192
|
-
_createdDate?: Date;
|
|
1192
|
+
_createdDate?: Date | null;
|
|
1193
1193
|
/**
|
|
1194
1194
|
* Automation template updated date
|
|
1195
1195
|
* @readonly
|
|
1196
1196
|
*/
|
|
1197
|
-
_updatedDate?: Date;
|
|
1197
|
+
_updatedDate?: Date | null;
|
|
1198
1198
|
/** @readonly */
|
|
1199
1199
|
translation?: Translation;
|
|
1200
1200
|
/**
|
|
@@ -1472,7 +1472,7 @@ interface ListCampaignsResponse {
|
|
|
1472
1472
|
}
|
|
1473
1473
|
interface CountCampaignsRequest {
|
|
1474
1474
|
/** Since when should we start counting (optional, default value "1970-01-01T00:00:00.000Z") */
|
|
1475
|
-
dateFrom?: Date;
|
|
1475
|
+
dateFrom?: Date | null;
|
|
1476
1476
|
}
|
|
1477
1477
|
interface CountCampaignsResponse {
|
|
1478
1478
|
/** "drafts" + "scheduled" + "published" (excluding "archived"). */
|
|
@@ -1542,7 +1542,7 @@ interface EmailDistributionOptions {
|
|
|
1542
1542
|
* TODO: change to 30 minutes when Use30MinuteScheduledCampaignRestriction FT is merged
|
|
1543
1543
|
* For scheduling (at least one hour in the future, for premium users only).
|
|
1544
1544
|
*/
|
|
1545
|
-
sendAt?: Date;
|
|
1545
|
+
sendAt?: Date | null;
|
|
1546
1546
|
}
|
|
1547
1547
|
interface PublishCampaignResponse {
|
|
1548
1548
|
/** `publishingData.statistics` will be empty. */
|
|
@@ -1592,7 +1592,7 @@ interface EmailActivityUpdated extends EmailActivityUpdatedEventTypeOneOf {
|
|
|
1592
1592
|
/** Email address of recipient. */
|
|
1593
1593
|
recipientEmailAddress?: string;
|
|
1594
1594
|
/** Date and time of the event. */
|
|
1595
|
-
timestamp?: Date;
|
|
1595
|
+
timestamp?: Date | null;
|
|
1596
1596
|
activityType?: ActivityType;
|
|
1597
1597
|
/** email metadata */
|
|
1598
1598
|
metadata?: Record<string, string>;
|
|
@@ -1651,7 +1651,7 @@ interface CampaignScheduledEvent {
|
|
|
1651
1651
|
/** ID of the campaign that was scheduled. */
|
|
1652
1652
|
campaignId?: string;
|
|
1653
1653
|
/** The timestamp campaign is scheduled for. */
|
|
1654
|
-
sendAt?: Date;
|
|
1654
|
+
sendAt?: Date | null;
|
|
1655
1655
|
}
|
|
1656
1656
|
interface SendTestRequest {
|
|
1657
1657
|
/** Campaign ID. */
|
|
@@ -1705,7 +1705,7 @@ interface Money {
|
|
|
1705
1705
|
formattedValue?: string | null;
|
|
1706
1706
|
}
|
|
1707
1707
|
interface DateTime {
|
|
1708
|
-
timestamp?: Date;
|
|
1708
|
+
timestamp?: Date | null;
|
|
1709
1709
|
/** optional time zone is the full name. example: "Asia/Jerusalem" */
|
|
1710
1710
|
timeZone?: string | null;
|
|
1711
1711
|
}
|
|
@@ -1750,7 +1750,7 @@ interface RescheduleRequest {
|
|
|
1750
1750
|
/** ID of the campaign to reschedule. */
|
|
1751
1751
|
campaignId: string;
|
|
1752
1752
|
/** The new time for sending out the campaign. */
|
|
1753
|
-
sendAt: Date;
|
|
1753
|
+
sendAt: Date | null;
|
|
1754
1754
|
}
|
|
1755
1755
|
interface RescheduleResponse {
|
|
1756
1756
|
}
|
|
@@ -1895,7 +1895,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
|
1895
1895
|
/** ID of the entity associated with the event. */
|
|
1896
1896
|
entityId?: string;
|
|
1897
1897
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1898
|
-
eventTime?: Date;
|
|
1898
|
+
eventTime?: Date | null;
|
|
1899
1899
|
/**
|
|
1900
1900
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
1901
1901
|
* (for example, GDPR).
|
|
@@ -1924,7 +1924,7 @@ interface EntityCreatedEvent$1 {
|
|
|
1924
1924
|
entity?: string;
|
|
1925
1925
|
}
|
|
1926
1926
|
interface RestoreInfo$1 {
|
|
1927
|
-
deletedDate?: Date;
|
|
1927
|
+
deletedDate?: Date | null;
|
|
1928
1928
|
}
|
|
1929
1929
|
interface EntityUpdatedEvent$1 {
|
|
1930
1930
|
/**
|
|
@@ -2088,7 +2088,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
2088
2088
|
/** ID of the entity associated with the event. */
|
|
2089
2089
|
entityId?: string;
|
|
2090
2090
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2091
|
-
eventTime?: Date;
|
|
2091
|
+
eventTime?: Date | null;
|
|
2092
2092
|
/**
|
|
2093
2093
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
2094
2094
|
* (for example, GDPR).
|
|
@@ -2306,7 +2306,7 @@ interface RescheduleSignature {
|
|
|
2306
2306
|
* @param - ID of the campaign to reschedule.
|
|
2307
2307
|
* @param - The new time for sending out the campaign.
|
|
2308
2308
|
*/
|
|
2309
|
-
(campaignId: string, sendAt: Date): Promise<void>;
|
|
2309
|
+
(campaignId: string, sendAt: Date | null): Promise<void>;
|
|
2310
2310
|
}
|
|
2311
2311
|
declare function deleteCampaign$1(httpClient: HttpClient): DeleteCampaignSignature;
|
|
2312
2312
|
interface DeleteCampaignSignature {
|
|
@@ -2679,7 +2679,7 @@ interface SenderDetails {
|
|
|
2679
2679
|
* Date and time the sender's email address was verified.
|
|
2680
2680
|
* @readonly
|
|
2681
2681
|
*/
|
|
2682
|
-
dateVerified?: Date;
|
|
2682
|
+
dateVerified?: Date | null;
|
|
2683
2683
|
}
|
|
2684
2684
|
interface GetSenderDetailsRequest {
|
|
2685
2685
|
}
|
|
@@ -2733,7 +2733,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
2733
2733
|
/** ID of the entity associated with the event. */
|
|
2734
2734
|
entityId?: string;
|
|
2735
2735
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2736
|
-
eventTime?: Date;
|
|
2736
|
+
eventTime?: Date | null;
|
|
2737
2737
|
/**
|
|
2738
2738
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
2739
2739
|
* (for example, GDPR).
|
|
@@ -2762,7 +2762,7 @@ interface EntityCreatedEvent {
|
|
|
2762
2762
|
entity?: string;
|
|
2763
2763
|
}
|
|
2764
2764
|
interface RestoreInfo {
|
|
2765
|
-
deletedDate?: Date;
|
|
2765
|
+
deletedDate?: Date | null;
|
|
2766
2766
|
}
|
|
2767
2767
|
interface EntityUpdatedEvent {
|
|
2768
2768
|
/**
|
|
@@ -2860,7 +2860,7 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
2860
2860
|
/** ID of the entity associated with the event. */
|
|
2861
2861
|
entityId?: string;
|
|
2862
2862
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2863
|
-
eventTime?: Date;
|
|
2863
|
+
eventTime?: Date | null;
|
|
2864
2864
|
/**
|
|
2865
2865
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
2866
2866
|
* (for example, GDPR).
|
|
@@ -529,9 +529,9 @@ declare enum BillingCycle {
|
|
|
529
529
|
}
|
|
530
530
|
interface QuotaPeriod {
|
|
531
531
|
/** Current quota period start date. */
|
|
532
|
-
dateFrom?: Date;
|
|
532
|
+
dateFrom?: Date | null;
|
|
533
533
|
/** Current quota period end date - after which quota will roll over. */
|
|
534
|
-
dateTo?: Date;
|
|
534
|
+
dateTo?: Date | null;
|
|
535
535
|
/** Information about allocated quota already used in this period. */
|
|
536
536
|
quotaUsage?: Quota;
|
|
537
537
|
}
|
|
@@ -703,9 +703,9 @@ interface Campaign {
|
|
|
703
703
|
/** Publishing data (present only if campaign is published). */
|
|
704
704
|
publishingData?: PublishingData;
|
|
705
705
|
/** Campaign creation date. */
|
|
706
|
-
dateCreated?: Date;
|
|
706
|
+
dateCreated?: Date | null;
|
|
707
707
|
/** Campaign last update date. */
|
|
708
|
-
dateUpdated?: Date;
|
|
708
|
+
dateUpdated?: Date | null;
|
|
709
709
|
/**
|
|
710
710
|
* Email subject of the campaign (initially copied from the template).
|
|
711
711
|
* TODO: Deprecated (moved to "GetComposerResponse").
|
|
@@ -765,7 +765,7 @@ interface PublishingData {
|
|
|
765
765
|
/** Marketing campaign statistics. */
|
|
766
766
|
statistics?: CampaignStatistics;
|
|
767
767
|
/** Marketing campaign publish date. */
|
|
768
|
-
datePublished?: Date;
|
|
768
|
+
datePublished?: Date | null;
|
|
769
769
|
}
|
|
770
770
|
interface CampaignStatistics {
|
|
771
771
|
/** Marketing campaign's landing page statistics. */
|
|
@@ -1052,7 +1052,7 @@ interface CampaignRecipientDetails {
|
|
|
1052
1052
|
/** Contact ID. */
|
|
1053
1053
|
contactId?: string;
|
|
1054
1054
|
/** Date and time of the last activity. */
|
|
1055
|
-
lastActivityDate?: Date;
|
|
1055
|
+
lastActivityDate?: Date | null;
|
|
1056
1056
|
/** Primary email address of the contact. */
|
|
1057
1057
|
emailAddress?: string;
|
|
1058
1058
|
/** Full name of the contact (optional). */
|
|
@@ -1189,12 +1189,12 @@ interface AutomationTemplate {
|
|
|
1189
1189
|
* Automation template created date
|
|
1190
1190
|
* @readonly
|
|
1191
1191
|
*/
|
|
1192
|
-
_createdDate?: Date;
|
|
1192
|
+
_createdDate?: Date | null;
|
|
1193
1193
|
/**
|
|
1194
1194
|
* Automation template updated date
|
|
1195
1195
|
* @readonly
|
|
1196
1196
|
*/
|
|
1197
|
-
_updatedDate?: Date;
|
|
1197
|
+
_updatedDate?: Date | null;
|
|
1198
1198
|
/** @readonly */
|
|
1199
1199
|
translation?: Translation;
|
|
1200
1200
|
/**
|
|
@@ -1472,7 +1472,7 @@ interface ListCampaignsResponse {
|
|
|
1472
1472
|
}
|
|
1473
1473
|
interface CountCampaignsRequest {
|
|
1474
1474
|
/** Since when should we start counting (optional, default value "1970-01-01T00:00:00.000Z") */
|
|
1475
|
-
dateFrom?: Date;
|
|
1475
|
+
dateFrom?: Date | null;
|
|
1476
1476
|
}
|
|
1477
1477
|
interface CountCampaignsResponse {
|
|
1478
1478
|
/** "drafts" + "scheduled" + "published" (excluding "archived"). */
|
|
@@ -1542,7 +1542,7 @@ interface EmailDistributionOptions {
|
|
|
1542
1542
|
* TODO: change to 30 minutes when Use30MinuteScheduledCampaignRestriction FT is merged
|
|
1543
1543
|
* For scheduling (at least one hour in the future, for premium users only).
|
|
1544
1544
|
*/
|
|
1545
|
-
sendAt?: Date;
|
|
1545
|
+
sendAt?: Date | null;
|
|
1546
1546
|
}
|
|
1547
1547
|
interface PublishCampaignResponse {
|
|
1548
1548
|
/** `publishingData.statistics` will be empty. */
|
|
@@ -1592,7 +1592,7 @@ interface EmailActivityUpdated extends EmailActivityUpdatedEventTypeOneOf {
|
|
|
1592
1592
|
/** Email address of recipient. */
|
|
1593
1593
|
recipientEmailAddress?: string;
|
|
1594
1594
|
/** Date and time of the event. */
|
|
1595
|
-
timestamp?: Date;
|
|
1595
|
+
timestamp?: Date | null;
|
|
1596
1596
|
activityType?: ActivityType;
|
|
1597
1597
|
/** email metadata */
|
|
1598
1598
|
metadata?: Record<string, string>;
|
|
@@ -1651,7 +1651,7 @@ interface CampaignScheduledEvent {
|
|
|
1651
1651
|
/** ID of the campaign that was scheduled. */
|
|
1652
1652
|
campaignId?: string;
|
|
1653
1653
|
/** The timestamp campaign is scheduled for. */
|
|
1654
|
-
sendAt?: Date;
|
|
1654
|
+
sendAt?: Date | null;
|
|
1655
1655
|
}
|
|
1656
1656
|
interface SendTestRequest {
|
|
1657
1657
|
/** Campaign ID. */
|
|
@@ -1705,7 +1705,7 @@ interface Money {
|
|
|
1705
1705
|
formattedValue?: string | null;
|
|
1706
1706
|
}
|
|
1707
1707
|
interface DateTime {
|
|
1708
|
-
timestamp?: Date;
|
|
1708
|
+
timestamp?: Date | null;
|
|
1709
1709
|
/** optional time zone is the full name. example: "Asia/Jerusalem" */
|
|
1710
1710
|
timeZone?: string | null;
|
|
1711
1711
|
}
|
|
@@ -1750,7 +1750,7 @@ interface RescheduleRequest {
|
|
|
1750
1750
|
/** ID of the campaign to reschedule. */
|
|
1751
1751
|
campaignId: string;
|
|
1752
1752
|
/** The new time for sending out the campaign. */
|
|
1753
|
-
sendAt: Date;
|
|
1753
|
+
sendAt: Date | null;
|
|
1754
1754
|
}
|
|
1755
1755
|
interface RescheduleResponse {
|
|
1756
1756
|
}
|
|
@@ -1895,7 +1895,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
|
1895
1895
|
/** ID of the entity associated with the event. */
|
|
1896
1896
|
entityId?: string;
|
|
1897
1897
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1898
|
-
eventTime?: Date;
|
|
1898
|
+
eventTime?: Date | null;
|
|
1899
1899
|
/**
|
|
1900
1900
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
1901
1901
|
* (for example, GDPR).
|
|
@@ -1924,7 +1924,7 @@ interface EntityCreatedEvent$1 {
|
|
|
1924
1924
|
entity?: string;
|
|
1925
1925
|
}
|
|
1926
1926
|
interface RestoreInfo$1 {
|
|
1927
|
-
deletedDate?: Date;
|
|
1927
|
+
deletedDate?: Date | null;
|
|
1928
1928
|
}
|
|
1929
1929
|
interface EntityUpdatedEvent$1 {
|
|
1930
1930
|
/**
|
|
@@ -2088,7 +2088,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
|
2088
2088
|
/** ID of the entity associated with the event. */
|
|
2089
2089
|
entityId?: string;
|
|
2090
2090
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2091
|
-
eventTime?: Date;
|
|
2091
|
+
eventTime?: Date | null;
|
|
2092
2092
|
/**
|
|
2093
2093
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
2094
2094
|
* (for example, GDPR).
|
|
@@ -2306,7 +2306,7 @@ interface RescheduleSignature {
|
|
|
2306
2306
|
* @param - ID of the campaign to reschedule.
|
|
2307
2307
|
* @param - The new time for sending out the campaign.
|
|
2308
2308
|
*/
|
|
2309
|
-
(campaignId: string, sendAt: Date): Promise<void>;
|
|
2309
|
+
(campaignId: string, sendAt: Date | null): Promise<void>;
|
|
2310
2310
|
}
|
|
2311
2311
|
declare function deleteCampaign$1(httpClient: HttpClient): DeleteCampaignSignature;
|
|
2312
2312
|
interface DeleteCampaignSignature {
|
|
@@ -2679,7 +2679,7 @@ interface SenderDetails {
|
|
|
2679
2679
|
* Date and time the sender's email address was verified.
|
|
2680
2680
|
* @readonly
|
|
2681
2681
|
*/
|
|
2682
|
-
dateVerified?: Date;
|
|
2682
|
+
dateVerified?: Date | null;
|
|
2683
2683
|
}
|
|
2684
2684
|
interface GetSenderDetailsRequest {
|
|
2685
2685
|
}
|
|
@@ -2733,7 +2733,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
2733
2733
|
/** ID of the entity associated with the event. */
|
|
2734
2734
|
entityId?: string;
|
|
2735
2735
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2736
|
-
eventTime?: Date;
|
|
2736
|
+
eventTime?: Date | null;
|
|
2737
2737
|
/**
|
|
2738
2738
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
2739
2739
|
* (for example, GDPR).
|
|
@@ -2762,7 +2762,7 @@ interface EntityCreatedEvent {
|
|
|
2762
2762
|
entity?: string;
|
|
2763
2763
|
}
|
|
2764
2764
|
interface RestoreInfo {
|
|
2765
|
-
deletedDate?: Date;
|
|
2765
|
+
deletedDate?: Date | null;
|
|
2766
2766
|
}
|
|
2767
2767
|
interface EntityUpdatedEvent {
|
|
2768
2768
|
/**
|
|
@@ -2860,7 +2860,7 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
2860
2860
|
/** ID of the entity associated with the event. */
|
|
2861
2861
|
entityId?: string;
|
|
2862
2862
|
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2863
|
-
eventTime?: Date;
|
|
2863
|
+
eventTime?: Date | null;
|
|
2864
2864
|
/**
|
|
2865
2865
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
2866
2866
|
* (for example, GDPR).
|
|
@@ -45,9 +45,9 @@ declare enum BillingCycle$1 {
|
|
|
45
45
|
}
|
|
46
46
|
interface QuotaPeriod$1 {
|
|
47
47
|
/** Current quota period start date. */
|
|
48
|
-
dateFrom?: Date;
|
|
48
|
+
dateFrom?: Date | null;
|
|
49
49
|
/** Current quota period end date - after which quota will roll over. */
|
|
50
|
-
dateTo?: Date;
|
|
50
|
+
dateTo?: Date | null;
|
|
51
51
|
/** Information about allocated quota already used in this period. */
|
|
52
52
|
quotaUsage?: Quota$1;
|
|
53
53
|
}
|
|
@@ -139,9 +139,9 @@ declare enum BillingCycle {
|
|
|
139
139
|
}
|
|
140
140
|
interface QuotaPeriod {
|
|
141
141
|
/** Current quota period start date. */
|
|
142
|
-
dateFrom?: Date;
|
|
142
|
+
dateFrom?: Date | null;
|
|
143
143
|
/** Current quota period end date - after which quota will roll over. */
|
|
144
|
-
dateTo?: Date;
|
|
144
|
+
dateTo?: Date | null;
|
|
145
145
|
/** Information about allocated quota already used in this period. */
|
|
146
146
|
quotaUsage?: Quota;
|
|
147
147
|
}
|
|
@@ -229,9 +229,9 @@ interface Campaign$1 {
|
|
|
229
229
|
/** Publishing data (present only if campaign is published). */
|
|
230
230
|
publishingData?: PublishingData$1;
|
|
231
231
|
/** Campaign creation date. */
|
|
232
|
-
dateCreated?: Date;
|
|
232
|
+
dateCreated?: Date | null;
|
|
233
233
|
/** Campaign last update date. */
|
|
234
|
-
dateUpdated?: Date;
|
|
234
|
+
dateUpdated?: Date | null;
|
|
235
235
|
/**
|
|
236
236
|
* Email subject of the campaign (initially copied from the template).
|
|
237
237
|
* TODO: Deprecated (moved to "GetComposerResponse").
|
|
@@ -291,7 +291,7 @@ interface PublishingData$1 {
|
|
|
291
291
|
/** Marketing campaign statistics. */
|
|
292
292
|
statistics?: CampaignStatistics$1;
|
|
293
293
|
/** Marketing campaign publish date. */
|
|
294
|
-
datePublished?: Date;
|
|
294
|
+
datePublished?: Date | null;
|
|
295
295
|
}
|
|
296
296
|
interface CampaignStatistics$1 {
|
|
297
297
|
/** Marketing campaign's landing page statistics. */
|
|
@@ -460,7 +460,7 @@ interface CampaignRecipientDetails$1 {
|
|
|
460
460
|
/** Contact ID. */
|
|
461
461
|
contactId?: string;
|
|
462
462
|
/** Date and time of the last activity. */
|
|
463
|
-
lastActivityDate?: Date;
|
|
463
|
+
lastActivityDate?: Date | null;
|
|
464
464
|
/** Primary email address of the contact. */
|
|
465
465
|
emailAddress?: string;
|
|
466
466
|
/** Full name of the contact (optional). */
|
|
@@ -550,7 +550,7 @@ interface EmailDistributionOptions$1 {
|
|
|
550
550
|
* TODO: change to 30 minutes when Use30MinuteScheduledCampaignRestriction FT is merged
|
|
551
551
|
* For scheduling (at least one hour in the future, for premium users only).
|
|
552
552
|
*/
|
|
553
|
-
sendAt?: Date;
|
|
553
|
+
sendAt?: Date | null;
|
|
554
554
|
}
|
|
555
555
|
interface PublishCampaignResponse$1 {
|
|
556
556
|
/** `publishingData.statistics` will be empty. */
|
|
@@ -576,7 +576,7 @@ interface RescheduleRequest$1 {
|
|
|
576
576
|
/** ID of the campaign to reschedule. */
|
|
577
577
|
campaignId: string;
|
|
578
578
|
/** The new time for sending out the campaign. */
|
|
579
|
-
sendAt: Date;
|
|
579
|
+
sendAt: Date | null;
|
|
580
580
|
}
|
|
581
581
|
interface RescheduleResponse$1 {
|
|
582
582
|
}
|
|
@@ -740,9 +740,9 @@ interface Campaign {
|
|
|
740
740
|
/** Publishing data (present only if campaign is published). */
|
|
741
741
|
publishingData?: PublishingData;
|
|
742
742
|
/** Campaign creation date. */
|
|
743
|
-
dateCreated?: Date;
|
|
743
|
+
dateCreated?: Date | null;
|
|
744
744
|
/** Campaign last update date. */
|
|
745
|
-
dateUpdated?: Date;
|
|
745
|
+
dateUpdated?: Date | null;
|
|
746
746
|
/**
|
|
747
747
|
* Email subject of the campaign (initially copied from the template).
|
|
748
748
|
* TODO: Deprecated (moved to "GetComposerResponse").
|
|
@@ -802,7 +802,7 @@ interface PublishingData {
|
|
|
802
802
|
/** Marketing campaign statistics. */
|
|
803
803
|
statistics?: CampaignStatistics;
|
|
804
804
|
/** Marketing campaign publish date. */
|
|
805
|
-
datePublished?: Date;
|
|
805
|
+
datePublished?: Date | null;
|
|
806
806
|
}
|
|
807
807
|
interface CampaignStatistics {
|
|
808
808
|
/** Marketing campaign's landing page statistics. */
|
|
@@ -978,7 +978,7 @@ interface CampaignRecipientDetails {
|
|
|
978
978
|
/** Contact ID. */
|
|
979
979
|
contactId?: string;
|
|
980
980
|
/** Date and time of the last activity. */
|
|
981
|
-
lastActivityDate?: Date;
|
|
981
|
+
lastActivityDate?: Date | null;
|
|
982
982
|
/** Primary email address of the contact. */
|
|
983
983
|
emailAddress?: string;
|
|
984
984
|
/** Full name of the contact (optional). */
|
|
@@ -1084,7 +1084,7 @@ interface EmailDistributionOptions {
|
|
|
1084
1084
|
* TODO: change to 30 minutes when Use30MinuteScheduledCampaignRestriction FT is merged
|
|
1085
1085
|
* For scheduling (at least one hour in the future, for premium users only).
|
|
1086
1086
|
*/
|
|
1087
|
-
sendAt?: Date;
|
|
1087
|
+
sendAt?: Date | null;
|
|
1088
1088
|
}
|
|
1089
1089
|
interface PublishCampaignResponse {
|
|
1090
1090
|
/** `publishingData.statistics` will be empty. */
|
|
@@ -1110,7 +1110,7 @@ interface RescheduleRequest {
|
|
|
1110
1110
|
/** ID of the campaign to reschedule. */
|
|
1111
1111
|
campaignId: string;
|
|
1112
1112
|
/** The new time for sending out the campaign. */
|
|
1113
|
-
sendAt: Date;
|
|
1113
|
+
sendAt: Date | null;
|
|
1114
1114
|
}
|
|
1115
1115
|
interface RescheduleResponse {
|
|
1116
1116
|
}
|
|
@@ -1292,7 +1292,7 @@ interface SenderDetails$1 {
|
|
|
1292
1292
|
* Date and time the sender's email address was verified.
|
|
1293
1293
|
* @readonly
|
|
1294
1294
|
*/
|
|
1295
|
-
dateVerified?: Date;
|
|
1295
|
+
dateVerified?: Date | null;
|
|
1296
1296
|
}
|
|
1297
1297
|
interface GetSenderDetailsRequest$1 {
|
|
1298
1298
|
}
|
|
@@ -1355,7 +1355,7 @@ interface SenderDetails {
|
|
|
1355
1355
|
* Date and time the sender's email address was verified.
|
|
1356
1356
|
* @readonly
|
|
1357
1357
|
*/
|
|
1358
|
-
dateVerified?: Date;
|
|
1358
|
+
dateVerified?: Date | null;
|
|
1359
1359
|
}
|
|
1360
1360
|
interface GetSenderDetailsRequest {
|
|
1361
1361
|
}
|