@prezly/sdk 25.0.0 → 25.2.0
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/dist/api/constants.cjs +1 -1
- package/dist/api/constants.js +1 -1
- package/dist/endpoints/Billing/types.cjs +6 -6
- package/dist/endpoints/Billing/types.js +6 -6
- package/dist/endpoints/ContactTagGroups/types.cjs +3 -3
- package/dist/endpoints/ContactTagGroups/types.js +3 -3
- package/dist/endpoints/PricingTables/types.cjs +12 -12
- package/dist/endpoints/PricingTables/types.js +12 -12
- package/dist/endpoints/Stories/Client.cjs +11 -0
- package/dist/endpoints/Stories/Client.d.ts +5 -1
- package/dist/endpoints/Stories/Client.js +11 -0
- package/dist/endpoints/Subscriptions/types.cjs +3 -3
- package/dist/endpoints/Subscriptions/types.js +3 -3
- package/dist/http/types.cjs +6 -6
- package/dist/http/types.js +6 -6
- package/dist/types/BillingCycle.cjs +3 -3
- package/dist/types/BillingCycle.js +3 -3
- package/dist/types/Campaign.cjs +18 -18
- package/dist/types/Campaign.js +18 -18
- package/dist/types/Category.cjs +1 -0
- package/dist/types/Category.js +1 -0
- package/dist/types/Contact.cjs +18 -18
- package/dist/types/Contact.js +18 -18
- package/dist/types/ContactDuplicateSuggestion.cjs +3 -3
- package/dist/types/ContactDuplicateSuggestion.js +4 -3
- package/dist/types/ContactTag.cjs +2 -1
- package/dist/types/ContactTag.d.ts +1 -2
- package/dist/types/ContactTag.js +2 -1
- package/dist/types/ContactsExport.cjs +3 -3
- package/dist/types/ContactsExport.d.ts +1 -2
- package/dist/types/ContactsExport.js +3 -3
- package/dist/types/ContactsScope.cjs +3 -3
- package/dist/types/ContactsScope.js +3 -3
- package/dist/types/CoverageEntry.cjs +9 -9
- package/dist/types/CoverageEntry.js +9 -9
- package/dist/types/CoverageIntegration.cjs +3 -3
- package/dist/types/CoverageIntegration.d.ts +1 -2
- package/dist/types/CoverageIntegration.js +3 -3
- package/dist/types/CoverageIntegrationRun.cjs +3 -3
- package/dist/types/CoverageIntegrationRun.d.ts +1 -2
- package/dist/types/CoverageIntegrationRun.js +3 -3
- package/dist/types/Culture.cjs +3 -3
- package/dist/types/Culture.js +3 -3
- package/dist/types/Currency.cjs +3 -3
- package/dist/types/Currency.js +3 -3
- package/dist/types/EmailRecipient.cjs +6 -6
- package/dist/types/EmailRecipient.js +6 -6
- package/dist/types/JobState.cjs +3 -3
- package/dist/types/JobState.js +3 -3
- package/dist/types/License.cjs +12 -12
- package/dist/types/License.js +12 -12
- package/dist/types/Newsroom.cjs +12 -12
- package/dist/types/Newsroom.d.ts +3 -1
- package/dist/types/Newsroom.js +12 -12
- package/dist/types/NewsroomDomain.cjs +6 -6
- package/dist/types/NewsroomDomain.js +6 -6
- package/dist/types/NewsroomGallery.cjs +6 -6
- package/dist/types/NewsroomGallery.js +6 -6
- package/dist/types/NewsroomTheme.cjs +8 -7
- package/dist/types/NewsroomTheme.js +8 -7
- package/dist/types/NewsroomWebhook.cjs +3 -3
- package/dist/types/NewsroomWebhook.js +3 -3
- package/dist/types/NotificationSubscription.cjs +3 -3
- package/dist/types/NotificationSubscription.js +3 -3
- package/dist/types/Permissions.cjs +3 -3
- package/dist/types/Permissions.js +3 -3
- package/dist/types/Plan.cjs +10 -10
- package/dist/types/Plan.js +11 -11
- package/dist/types/Price.cjs +6 -6
- package/dist/types/Price.js +6 -6
- package/dist/types/PrivacyRequest.cjs +6 -6
- package/dist/types/PrivacyRequest.js +6 -6
- package/dist/types/SenderAddress.cjs +3 -3
- package/dist/types/SenderAddress.js +3 -3
- package/dist/types/SenderDomain.cjs +3 -3
- package/dist/types/SenderDomain.js +3 -3
- package/dist/types/SortOrder.cjs +3 -3
- package/dist/types/SortOrder.js +3 -3
- package/dist/types/StoriesBulkSelector.cjs +1 -0
- package/dist/types/StoriesBulkSelector.d.ts +4 -0
- package/dist/types/StoriesBulkSelector.js +1 -0
- package/dist/types/Story.cjs +12 -12
- package/dist/types/Story.js +12 -12
- package/dist/types/User.cjs +6 -6
- package/dist/types/User.js +6 -6
- package/dist/types/common/Iso8601DateTime.cjs +1 -0
- package/dist/types/common/Iso8601DateTime.d.ts +1 -0
- package/dist/types/common/Iso8601DateTime.js +1 -0
- package/dist/types/common/Notification.cjs +3 -3
- package/dist/types/common/Notification.js +3 -3
- package/dist/types/common/OEmbedInfo.cjs +3 -3
- package/dist/types/common/OEmbedInfo.js +3 -3
- package/dist/types/common/Pagination.cjs +3 -3
- package/dist/types/common/Pagination.js +3 -3
- package/dist/types/common/Query.js +1 -0
- package/dist/types/common/index.cjs +11 -0
- package/dist/types/common/index.d.ts +1 -0
- package/dist/types/common/index.js +1 -0
- package/dist/types/index.cjs +11 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/package.json +1 -1
package/dist/types/Newsroom.cjs
CHANGED
|
@@ -6,35 +6,35 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Newsroom = void 0;
|
|
7
7
|
let Newsroom = exports.Newsroom = void 0;
|
|
8
8
|
(function (_Newsroom) {
|
|
9
|
-
let Status
|
|
9
|
+
let Status;
|
|
10
|
+
(function (Status) {
|
|
10
11
|
Status["ACTIVE"] = "active";
|
|
11
12
|
Status["INACTIVE"] = "inactive";
|
|
12
13
|
Status["ARCHIVED"] = "archived";
|
|
13
|
-
|
|
14
|
-
}({});
|
|
14
|
+
})(Status || (Status = {}));
|
|
15
15
|
_Newsroom.Status = Status;
|
|
16
|
-
let EmailBrandingMode
|
|
16
|
+
let EmailBrandingMode;
|
|
17
|
+
(function (EmailBrandingMode) {
|
|
17
18
|
EmailBrandingMode["DEFAULT"] = "default";
|
|
18
19
|
EmailBrandingMode["CUSTOM"] = "custom";
|
|
19
|
-
|
|
20
|
-
}({});
|
|
20
|
+
})(EmailBrandingMode || (EmailBrandingMode = {}));
|
|
21
21
|
_Newsroom.EmailBrandingMode = EmailBrandingMode;
|
|
22
|
-
let TrackingPolicy
|
|
22
|
+
let TrackingPolicy;
|
|
23
|
+
(function (TrackingPolicy) {
|
|
23
24
|
TrackingPolicy["DEFAULT"] = "default";
|
|
24
25
|
TrackingPolicy["DISABLED"] = "disabled";
|
|
25
26
|
TrackingPolicy["CONSENT_TO_IDENTIFY"] = "consent-to-identify";
|
|
26
27
|
TrackingPolicy["STRICT"] = "strict";
|
|
27
28
|
TrackingPolicy["NORMAL"] = "normal";
|
|
28
29
|
TrackingPolicy["LENIENT"] = "lenient";
|
|
29
|
-
|
|
30
|
-
}({});
|
|
30
|
+
})(TrackingPolicy || (TrackingPolicy = {}));
|
|
31
31
|
_Newsroom.TrackingPolicy = TrackingPolicy;
|
|
32
|
-
let EmailLogoAlignment
|
|
32
|
+
let EmailLogoAlignment;
|
|
33
|
+
(function (EmailLogoAlignment) {
|
|
33
34
|
EmailLogoAlignment["LEFT"] = "left";
|
|
34
35
|
EmailLogoAlignment["CENTER"] = "center";
|
|
35
36
|
EmailLogoAlignment["RIGHT"] = "right";
|
|
36
|
-
|
|
37
|
-
}({});
|
|
37
|
+
})(EmailLogoAlignment || (EmailLogoAlignment = {}));
|
|
38
38
|
_Newsroom.EmailLogoAlignment = EmailLogoAlignment;
|
|
39
39
|
/*
|
|
40
40
|
* Status checks
|
package/dist/types/Newsroom.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { UploadedImage } from '@prezly/uploads';
|
|
2
|
+
import type { Iso8601DateTime } from './common';
|
|
2
3
|
import type { CultureRef } from './Culture';
|
|
3
4
|
import type { NewroomThemeRef, NewsroomThemePreset } from './NewsroomTheme';
|
|
4
5
|
export interface NewsroomRef {
|
|
@@ -12,6 +13,7 @@ export interface NewsroomRef {
|
|
|
12
13
|
thumbnail_url: string;
|
|
13
14
|
name: string;
|
|
14
15
|
subdomain: string;
|
|
16
|
+
domain: string;
|
|
15
17
|
status: Newsroom.Status;
|
|
16
18
|
/**
|
|
17
19
|
* @deprecated Please use `status` instead
|
|
@@ -69,9 +71,9 @@ export interface NewsroomRef {
|
|
|
69
71
|
};
|
|
70
72
|
active_theme?: NewroomThemeRef | null;
|
|
71
73
|
is_auto_created: boolean;
|
|
74
|
+
created_at: Iso8601DateTime;
|
|
72
75
|
}
|
|
73
76
|
export interface Newsroom extends NewsroomRef {
|
|
74
|
-
domain: string;
|
|
75
77
|
is_hub: boolean;
|
|
76
78
|
cultures: CultureRef[];
|
|
77
79
|
campaigns_number: number;
|
package/dist/types/Newsroom.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
export let Newsroom;
|
|
2
2
|
(function (_Newsroom) {
|
|
3
|
-
let Status
|
|
3
|
+
let Status;
|
|
4
|
+
(function (Status) {
|
|
4
5
|
Status["ACTIVE"] = "active";
|
|
5
6
|
Status["INACTIVE"] = "inactive";
|
|
6
7
|
Status["ARCHIVED"] = "archived";
|
|
7
|
-
|
|
8
|
-
}({});
|
|
8
|
+
})(Status || (Status = {}));
|
|
9
9
|
_Newsroom.Status = Status;
|
|
10
|
-
let EmailBrandingMode
|
|
10
|
+
let EmailBrandingMode;
|
|
11
|
+
(function (EmailBrandingMode) {
|
|
11
12
|
EmailBrandingMode["DEFAULT"] = "default";
|
|
12
13
|
EmailBrandingMode["CUSTOM"] = "custom";
|
|
13
|
-
|
|
14
|
-
}({});
|
|
14
|
+
})(EmailBrandingMode || (EmailBrandingMode = {}));
|
|
15
15
|
_Newsroom.EmailBrandingMode = EmailBrandingMode;
|
|
16
|
-
let TrackingPolicy
|
|
16
|
+
let TrackingPolicy;
|
|
17
|
+
(function (TrackingPolicy) {
|
|
17
18
|
TrackingPolicy["DEFAULT"] = "default";
|
|
18
19
|
TrackingPolicy["DISABLED"] = "disabled";
|
|
19
20
|
TrackingPolicy["CONSENT_TO_IDENTIFY"] = "consent-to-identify";
|
|
20
21
|
TrackingPolicy["STRICT"] = "strict";
|
|
21
22
|
TrackingPolicy["NORMAL"] = "normal";
|
|
22
23
|
TrackingPolicy["LENIENT"] = "lenient";
|
|
23
|
-
|
|
24
|
-
}({});
|
|
24
|
+
})(TrackingPolicy || (TrackingPolicy = {}));
|
|
25
25
|
_Newsroom.TrackingPolicy = TrackingPolicy;
|
|
26
|
-
let EmailLogoAlignment
|
|
26
|
+
let EmailLogoAlignment;
|
|
27
|
+
(function (EmailLogoAlignment) {
|
|
27
28
|
EmailLogoAlignment["LEFT"] = "left";
|
|
28
29
|
EmailLogoAlignment["CENTER"] = "center";
|
|
29
30
|
EmailLogoAlignment["RIGHT"] = "right";
|
|
30
|
-
|
|
31
|
-
}({});
|
|
31
|
+
})(EmailLogoAlignment || (EmailLogoAlignment = {}));
|
|
32
32
|
_Newsroom.EmailLogoAlignment = EmailLogoAlignment;
|
|
33
33
|
/*
|
|
34
34
|
* Status checks
|
|
@@ -6,18 +6,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.NewsroomDomain = void 0;
|
|
7
7
|
let NewsroomDomain = exports.NewsroomDomain = void 0;
|
|
8
8
|
(function (_NewsroomDomain) {
|
|
9
|
-
let Type
|
|
9
|
+
let Type;
|
|
10
|
+
(function (Type) {
|
|
10
11
|
Type["PREZLY"] = "prezly";
|
|
11
12
|
Type["CUSTOM"] = "custom";
|
|
12
13
|
Type["REVERSE_PROXY"] = "reverse_proxy";
|
|
13
|
-
|
|
14
|
-
}({});
|
|
14
|
+
})(Type || (Type = {}));
|
|
15
15
|
_NewsroomDomain.Type = Type;
|
|
16
|
-
let Status
|
|
16
|
+
let Status;
|
|
17
|
+
(function (Status) {
|
|
17
18
|
Status["ACTIVE"] = "active";
|
|
18
19
|
Status["INACTIVE"] = "inactive";
|
|
19
20
|
Status["REDIRECT"] = "redirect";
|
|
20
|
-
|
|
21
|
-
}({});
|
|
21
|
+
})(Status || (Status = {}));
|
|
22
22
|
_NewsroomDomain.Status = Status;
|
|
23
23
|
})(NewsroomDomain || (exports.NewsroomDomain = NewsroomDomain = {}));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export let NewsroomDomain;
|
|
2
2
|
(function (_NewsroomDomain) {
|
|
3
|
-
let Type
|
|
3
|
+
let Type;
|
|
4
|
+
(function (Type) {
|
|
4
5
|
Type["PREZLY"] = "prezly";
|
|
5
6
|
Type["CUSTOM"] = "custom";
|
|
6
7
|
Type["REVERSE_PROXY"] = "reverse_proxy";
|
|
7
|
-
|
|
8
|
-
}({});
|
|
8
|
+
})(Type || (Type = {}));
|
|
9
9
|
_NewsroomDomain.Type = Type;
|
|
10
|
-
let Status
|
|
10
|
+
let Status;
|
|
11
|
+
(function (Status) {
|
|
11
12
|
Status["ACTIVE"] = "active";
|
|
12
13
|
Status["INACTIVE"] = "inactive";
|
|
13
14
|
Status["REDIRECT"] = "redirect";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
15
|
+
})(Status || (Status = {}));
|
|
16
16
|
_NewsroomDomain.Status = Status;
|
|
17
17
|
})(NewsroomDomain || (NewsroomDomain = {}));
|
|
@@ -6,16 +6,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.NewsroomGallery = void 0;
|
|
7
7
|
let NewsroomGallery = exports.NewsroomGallery = void 0;
|
|
8
8
|
(function (_NewsroomGallery) {
|
|
9
|
-
let Status
|
|
9
|
+
let Status;
|
|
10
|
+
(function (Status) {
|
|
10
11
|
Status["PRIVATE"] = "private";
|
|
11
12
|
Status["PUBLIC"] = "public";
|
|
12
|
-
|
|
13
|
-
}({});
|
|
13
|
+
})(Status || (Status = {}));
|
|
14
14
|
_NewsroomGallery.Status = Status;
|
|
15
|
-
let Type
|
|
15
|
+
let Type;
|
|
16
|
+
(function (Type) {
|
|
16
17
|
Type["IMAGE"] = "image";
|
|
17
18
|
Type["VIDEO"] = "video";
|
|
18
|
-
|
|
19
|
-
}({});
|
|
19
|
+
})(Type || (Type = {}));
|
|
20
20
|
_NewsroomGallery.Type = Type;
|
|
21
21
|
})(NewsroomGallery || (exports.NewsroomGallery = NewsroomGallery = {}));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export let NewsroomGallery;
|
|
2
2
|
(function (_NewsroomGallery) {
|
|
3
|
-
let Status
|
|
3
|
+
let Status;
|
|
4
|
+
(function (Status) {
|
|
4
5
|
Status["PRIVATE"] = "private";
|
|
5
6
|
Status["PUBLIC"] = "public";
|
|
6
|
-
|
|
7
|
-
}({});
|
|
7
|
+
})(Status || (Status = {}));
|
|
8
8
|
_NewsroomGallery.Status = Status;
|
|
9
|
-
let Type
|
|
9
|
+
let Type;
|
|
10
|
+
(function (Type) {
|
|
10
11
|
Type["IMAGE"] = "image";
|
|
11
12
|
Type["VIDEO"] = "video";
|
|
12
|
-
|
|
13
|
-
}({});
|
|
13
|
+
})(Type || (Type = {}));
|
|
14
14
|
_NewsroomGallery.Type = Type;
|
|
15
15
|
})(NewsroomGallery || (NewsroomGallery = {}));
|
|
@@ -6,13 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.NewsroomThemePreset = exports.NewsroomTheme = void 0;
|
|
7
7
|
let NewsroomTheme = exports.NewsroomTheme = void 0;
|
|
8
8
|
(function (_NewsroomTheme) {
|
|
9
|
-
let Status
|
|
9
|
+
let Status;
|
|
10
|
+
(function (Status) {
|
|
10
11
|
Status["BETA"] = "beta";
|
|
11
12
|
Status["STABLE"] = "stable";
|
|
12
|
-
|
|
13
|
-
}({});
|
|
13
|
+
})(Status || (Status = {}));
|
|
14
14
|
_NewsroomTheme.Status = Status;
|
|
15
|
-
let Feature
|
|
15
|
+
let Feature; // DEV-19123
|
|
16
|
+
(function (Feature) {
|
|
16
17
|
Feature["CATEGORIES"] = "categories";
|
|
17
18
|
Feature["SEARCH"] = "search";
|
|
18
19
|
Feature["MEDIA_GALLERIES"] = "media_galleries";
|
|
@@ -29,12 +30,12 @@ let NewsroomTheme = exports.NewsroomTheme = void 0;
|
|
|
29
30
|
Feature["VIDEO_LAYOUT"] = "video_layout";
|
|
30
31
|
Feature["EMBED_LAYOUT"] = "embed_layout";
|
|
31
32
|
Feature["STRICT_TRACKING_POLICY"] = "strict_tracking_policy";
|
|
32
|
-
|
|
33
|
-
}({}); // DEV-19123
|
|
33
|
+
})(Feature || (Feature = {}));
|
|
34
34
|
_NewsroomTheme.Feature = Feature;
|
|
35
35
|
function isFeatureSupported(theme, feature) {
|
|
36
36
|
return theme.features.includes(feature);
|
|
37
37
|
}
|
|
38
38
|
_NewsroomTheme.isFeatureSupported = isFeatureSupported;
|
|
39
39
|
})(NewsroomTheme || (exports.NewsroomTheme = NewsroomTheme = {}));
|
|
40
|
-
let NewsroomThemePreset = exports.NewsroomThemePreset = void 0;
|
|
40
|
+
let NewsroomThemePreset = exports.NewsroomThemePreset = void 0;
|
|
41
|
+
(function (_NewsroomThemePreset) {})(NewsroomThemePreset || (exports.NewsroomThemePreset = NewsroomThemePreset = {}));
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
export let NewsroomTheme;
|
|
2
2
|
(function (_NewsroomTheme) {
|
|
3
|
-
let Status
|
|
3
|
+
let Status;
|
|
4
|
+
(function (Status) {
|
|
4
5
|
Status["BETA"] = "beta";
|
|
5
6
|
Status["STABLE"] = "stable";
|
|
6
|
-
|
|
7
|
-
}({});
|
|
7
|
+
})(Status || (Status = {}));
|
|
8
8
|
_NewsroomTheme.Status = Status;
|
|
9
|
-
let Feature
|
|
9
|
+
let Feature; // DEV-19123
|
|
10
|
+
(function (Feature) {
|
|
10
11
|
Feature["CATEGORIES"] = "categories";
|
|
11
12
|
Feature["SEARCH"] = "search";
|
|
12
13
|
Feature["MEDIA_GALLERIES"] = "media_galleries";
|
|
@@ -23,12 +24,12 @@ export let NewsroomTheme;
|
|
|
23
24
|
Feature["VIDEO_LAYOUT"] = "video_layout";
|
|
24
25
|
Feature["EMBED_LAYOUT"] = "embed_layout";
|
|
25
26
|
Feature["STRICT_TRACKING_POLICY"] = "strict_tracking_policy";
|
|
26
|
-
|
|
27
|
-
}({}); // DEV-19123
|
|
27
|
+
})(Feature || (Feature = {}));
|
|
28
28
|
_NewsroomTheme.Feature = Feature;
|
|
29
29
|
function isFeatureSupported(theme, feature) {
|
|
30
30
|
return theme.features.includes(feature);
|
|
31
31
|
}
|
|
32
32
|
_NewsroomTheme.isFeatureSupported = isFeatureSupported;
|
|
33
33
|
})(NewsroomTheme || (NewsroomTheme = {}));
|
|
34
|
-
export let NewsroomThemePreset;
|
|
34
|
+
export let NewsroomThemePreset;
|
|
35
|
+
(function (_NewsroomThemePreset) {})(NewsroomThemePreset || (NewsroomThemePreset = {}));
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.NewsroomWebhook = void 0;
|
|
7
7
|
let NewsroomWebhook = exports.NewsroomWebhook = void 0;
|
|
8
8
|
(function (_NewsroomWebhook) {
|
|
9
|
-
let Event
|
|
9
|
+
let Event;
|
|
10
|
+
(function (Event) {
|
|
10
11
|
Event["STORY_CREATED"] = "story.created";
|
|
11
12
|
Event["STORY_UPDATED"] = "story.updated";
|
|
12
13
|
Event["STORY_DELETED"] = "story.deleted";
|
|
13
14
|
Event["CATEGORY_CREATED"] = "category.created";
|
|
14
15
|
Event["CATEGORY_UPDATED"] = "category.updated";
|
|
15
16
|
Event["CATEGORY_DELETED"] = "category.deleted";
|
|
16
|
-
|
|
17
|
-
}({});
|
|
17
|
+
})(Event || (Event = {}));
|
|
18
18
|
_NewsroomWebhook.Event = Event;
|
|
19
19
|
})(NewsroomWebhook || (exports.NewsroomWebhook = NewsroomWebhook = {}));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export let NewsroomWebhook;
|
|
2
2
|
(function (_NewsroomWebhook) {
|
|
3
|
-
let Event
|
|
3
|
+
let Event;
|
|
4
|
+
(function (Event) {
|
|
4
5
|
Event["STORY_CREATED"] = "story.created";
|
|
5
6
|
Event["STORY_UPDATED"] = "story.updated";
|
|
6
7
|
Event["STORY_DELETED"] = "story.deleted";
|
|
7
8
|
Event["CATEGORY_CREATED"] = "category.created";
|
|
8
9
|
Event["CATEGORY_UPDATED"] = "category.updated";
|
|
9
10
|
Event["CATEGORY_DELETED"] = "category.deleted";
|
|
10
|
-
|
|
11
|
-
}({});
|
|
11
|
+
})(Event || (Event = {}));
|
|
12
12
|
_NewsroomWebhook.Event = Event;
|
|
13
13
|
})(NewsroomWebhook || (NewsroomWebhook = {}));
|
|
@@ -6,13 +6,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.NotificationSubscription = void 0;
|
|
7
7
|
let NotificationSubscription = exports.NotificationSubscription = void 0;
|
|
8
8
|
(function (_NotificationSubscription) {
|
|
9
|
-
let Area
|
|
9
|
+
let Area;
|
|
10
|
+
(function (Area) {
|
|
10
11
|
Area["SITES"] = "Sites";
|
|
11
12
|
Area["CAMPAIGNS"] = "Campaigns";
|
|
12
13
|
Area["CONTACTS"] = "Contacts";
|
|
13
14
|
Area["BILLING_AND_LEGAL"] = "Billing & Legal";
|
|
14
15
|
Area["ORGANIZATION_AND_LEGAL"] = "Organization & Legal";
|
|
15
|
-
|
|
16
|
-
}({});
|
|
16
|
+
})(Area || (Area = {}));
|
|
17
17
|
_NotificationSubscription.Area = Area;
|
|
18
18
|
})(NotificationSubscription || (exports.NotificationSubscription = NotificationSubscription = {}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export let NotificationSubscription;
|
|
2
2
|
(function (_NotificationSubscription) {
|
|
3
|
-
let Area
|
|
3
|
+
let Area;
|
|
4
|
+
(function (Area) {
|
|
4
5
|
Area["SITES"] = "Sites";
|
|
5
6
|
Area["CAMPAIGNS"] = "Campaigns";
|
|
6
7
|
Area["CONTACTS"] = "Contacts";
|
|
7
8
|
Area["BILLING_AND_LEGAL"] = "Billing & Legal";
|
|
8
9
|
Area["ORGANIZATION_AND_LEGAL"] = "Organization & Legal";
|
|
9
|
-
|
|
10
|
-
}({});
|
|
10
|
+
})(Area || (Area = {}));
|
|
11
11
|
_NotificationSubscription.Area = Area;
|
|
12
12
|
})(NotificationSubscription || (NotificationSubscription = {}));
|
|
@@ -4,7 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.Permission = void 0;
|
|
7
|
-
let Permission = exports.Permission =
|
|
7
|
+
let Permission = exports.Permission = void 0;
|
|
8
|
+
(function (Permission) {
|
|
8
9
|
Permission["CREATE_NEWSROOM"] = "create_newsroom";
|
|
9
10
|
Permission["EXPORT_CONTACTS"] = "export_contacts";
|
|
10
11
|
Permission["MANAGE_BILLING"] = "manage_billing";
|
|
@@ -13,5 +14,4 @@ let Permission = exports.Permission = /*#__PURE__*/function (Permission) {
|
|
|
13
14
|
Permission["VIEW_CONTACTS"] = "view_contacts";
|
|
14
15
|
Permission["CREATE_SENDER_ADDRESS"] = "create_sender_address";
|
|
15
16
|
Permission["SEND_EMAILS"] = "send_emails";
|
|
16
|
-
|
|
17
|
-
}({});
|
|
17
|
+
})(Permission || (exports.Permission = Permission = {}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export let Permission
|
|
1
|
+
export let Permission;
|
|
2
|
+
(function (Permission) {
|
|
2
3
|
Permission["CREATE_NEWSROOM"] = "create_newsroom";
|
|
3
4
|
Permission["EXPORT_CONTACTS"] = "export_contacts";
|
|
4
5
|
Permission["MANAGE_BILLING"] = "manage_billing";
|
|
@@ -7,5 +8,4 @@ export let Permission = /*#__PURE__*/function (Permission) {
|
|
|
7
8
|
Permission["VIEW_CONTACTS"] = "view_contacts";
|
|
8
9
|
Permission["CREATE_SENDER_ADDRESS"] = "create_sender_address";
|
|
9
10
|
Permission["SEND_EMAILS"] = "send_emails";
|
|
10
|
-
|
|
11
|
-
}({});
|
|
11
|
+
})(Permission || (Permission = {}));
|
package/dist/types/Plan.cjs
CHANGED
|
@@ -4,7 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.PlanLevel = exports.ChangeType = exports.AddonId = void 0;
|
|
7
|
-
let AddonId = exports.AddonId =
|
|
7
|
+
let AddonId = exports.AddonId = void 0;
|
|
8
|
+
(function (AddonId) {
|
|
8
9
|
AddonId["CORE_USER"] = "core_user";
|
|
9
10
|
AddonId["COVERAGE_INTEGRATION_AUXIPRESS"] = "coverage_integration_auxipress";
|
|
10
11
|
AddonId["COVERAGE_INTEGRATION_BELGA"] = "coverage_integration_belga";
|
|
@@ -15,16 +16,16 @@ let AddonId = exports.AddonId = /*#__PURE__*/function (AddonId) {
|
|
|
15
16
|
AddonId["PREMIUM_USER"] = "premium_user";
|
|
16
17
|
AddonId["SITE"] = "site";
|
|
17
18
|
AddonId["STARTER_USER"] = "starter_user";
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
})(AddonId || (exports.AddonId = AddonId = {}));
|
|
20
|
+
let ChangeType = exports.ChangeType = void 0;
|
|
21
|
+
/** @deprecated Will be dropped in future */
|
|
22
|
+
(function (ChangeType) {
|
|
21
23
|
ChangeType["ACTIVATION"] = "activation";
|
|
22
24
|
ChangeType["UPGRADE"] = "upgrade";
|
|
23
25
|
ChangeType["DOWNGRADE"] = "downgrade";
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
let PlanLevel = exports.PlanLevel = /*#__PURE__*/function (PlanLevel) {
|
|
26
|
+
})(ChangeType || (exports.ChangeType = ChangeType = {}));
|
|
27
|
+
let PlanLevel = exports.PlanLevel = void 0;
|
|
28
|
+
(function (PlanLevel) {
|
|
28
29
|
PlanLevel["BASIC"] = "basic";
|
|
29
30
|
PlanLevel["CORE"] = "core";
|
|
30
31
|
PlanLevel["ENTERPRISE"] = "enterprise";
|
|
@@ -37,5 +38,4 @@ let PlanLevel = exports.PlanLevel = /*#__PURE__*/function (PlanLevel) {
|
|
|
37
38
|
PlanLevel["AGENCY_MEDIUM"] = "agency_medium";
|
|
38
39
|
PlanLevel["AGENCY_LARGE"] = "agency_large";
|
|
39
40
|
PlanLevel["AGENCY_HUGE"] = "agency_huge";
|
|
40
|
-
|
|
41
|
-
}({});
|
|
41
|
+
})(PlanLevel || (exports.PlanLevel = PlanLevel = {}));
|
package/dist/types/Plan.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export let AddonId
|
|
1
|
+
export let AddonId;
|
|
2
|
+
(function (AddonId) {
|
|
2
3
|
AddonId["CORE_USER"] = "core_user";
|
|
3
4
|
AddonId["COVERAGE_INTEGRATION_AUXIPRESS"] = "coverage_integration_auxipress";
|
|
4
5
|
AddonId["COVERAGE_INTEGRATION_BELGA"] = "coverage_integration_belga";
|
|
@@ -9,17 +10,17 @@ export let AddonId = /*#__PURE__*/function (AddonId) {
|
|
|
9
10
|
AddonId["PREMIUM_USER"] = "premium_user";
|
|
10
11
|
AddonId["SITE"] = "site";
|
|
11
12
|
AddonId["STARTER_USER"] = "starter_user";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
})(AddonId || (AddonId = {}));
|
|
14
|
+
export let ChangeType;
|
|
15
|
+
|
|
16
|
+
/** @deprecated Will be dropped in future */
|
|
17
|
+
(function (ChangeType) {
|
|
15
18
|
ChangeType["ACTIVATION"] = "activation";
|
|
16
19
|
ChangeType["UPGRADE"] = "upgrade";
|
|
17
20
|
ChangeType["DOWNGRADE"] = "downgrade";
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/** @deprecated Will be dropped in future */
|
|
22
|
-
export let PlanLevel = /*#__PURE__*/function (PlanLevel) {
|
|
21
|
+
})(ChangeType || (ChangeType = {}));
|
|
22
|
+
export let PlanLevel;
|
|
23
|
+
(function (PlanLevel) {
|
|
23
24
|
PlanLevel["BASIC"] = "basic";
|
|
24
25
|
PlanLevel["CORE"] = "core";
|
|
25
26
|
PlanLevel["ENTERPRISE"] = "enterprise";
|
|
@@ -32,5 +33,4 @@ export let PlanLevel = /*#__PURE__*/function (PlanLevel) {
|
|
|
32
33
|
PlanLevel["AGENCY_MEDIUM"] = "agency_medium";
|
|
33
34
|
PlanLevel["AGENCY_LARGE"] = "agency_large";
|
|
34
35
|
PlanLevel["AGENCY_HUGE"] = "agency_huge";
|
|
35
|
-
|
|
36
|
-
}({});
|
|
36
|
+
})(PlanLevel || (PlanLevel = {}));
|
package/dist/types/Price.cjs
CHANGED
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.TiersMode = exports.BillingSchema = void 0;
|
|
7
|
-
let BillingSchema = exports.BillingSchema =
|
|
7
|
+
let BillingSchema = exports.BillingSchema = void 0;
|
|
8
|
+
(function (BillingSchema) {
|
|
8
9
|
BillingSchema["PER_UNIT"] = "per_unit";
|
|
9
10
|
BillingSchema["TIERED"] = "tiered";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
})(BillingSchema || (exports.BillingSchema = BillingSchema = {}));
|
|
12
|
+
let TiersMode = exports.TiersMode = void 0;
|
|
13
|
+
(function (TiersMode) {
|
|
13
14
|
TiersMode["GRADUATED"] = "graduated";
|
|
14
15
|
TiersMode["VOLUME"] = "volume";
|
|
15
|
-
|
|
16
|
-
}({});
|
|
16
|
+
})(TiersMode || (exports.TiersMode = TiersMode = {}));
|
package/dist/types/Price.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export let BillingSchema
|
|
1
|
+
export let BillingSchema;
|
|
2
|
+
(function (BillingSchema) {
|
|
2
3
|
BillingSchema["PER_UNIT"] = "per_unit";
|
|
3
4
|
BillingSchema["TIERED"] = "tiered";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
})(BillingSchema || (BillingSchema = {}));
|
|
6
|
+
export let TiersMode;
|
|
7
|
+
(function (TiersMode) {
|
|
7
8
|
TiersMode["GRADUATED"] = "graduated";
|
|
8
9
|
TiersMode["VOLUME"] = "volume";
|
|
9
|
-
|
|
10
|
-
}({});
|
|
10
|
+
})(TiersMode || (TiersMode = {}));
|
|
@@ -6,18 +6,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.PrivacyRequest = void 0;
|
|
7
7
|
let PrivacyRequest = exports.PrivacyRequest = void 0;
|
|
8
8
|
(function (_PrivacyRequest) {
|
|
9
|
-
let Type
|
|
9
|
+
let Type;
|
|
10
|
+
(function (Type) {
|
|
10
11
|
Type["DELETE"] = "delete";
|
|
11
12
|
Type["EXPORT"] = "export";
|
|
12
13
|
Type["CORRECT"] = "correct";
|
|
13
14
|
Type["OTHER"] = "other";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
15
|
+
})(Type || (Type = {}));
|
|
16
16
|
_PrivacyRequest.Type = Type;
|
|
17
|
-
let Status
|
|
17
|
+
let Status;
|
|
18
|
+
(function (Status) {
|
|
18
19
|
Status["UNCONFIRMED"] = "unconfirmed";
|
|
19
20
|
Status["CONFIRMED"] = "confirmed";
|
|
20
|
-
|
|
21
|
-
}({});
|
|
21
|
+
})(Status || (Status = {}));
|
|
22
22
|
_PrivacyRequest.Status = Status;
|
|
23
23
|
})(PrivacyRequest || (exports.PrivacyRequest = PrivacyRequest = {}));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export let PrivacyRequest;
|
|
2
2
|
(function (_PrivacyRequest) {
|
|
3
|
-
let Type
|
|
3
|
+
let Type;
|
|
4
|
+
(function (Type) {
|
|
4
5
|
Type["DELETE"] = "delete";
|
|
5
6
|
Type["EXPORT"] = "export";
|
|
6
7
|
Type["CORRECT"] = "correct";
|
|
7
8
|
Type["OTHER"] = "other";
|
|
8
|
-
|
|
9
|
-
}({});
|
|
9
|
+
})(Type || (Type = {}));
|
|
10
10
|
_PrivacyRequest.Type = Type;
|
|
11
|
-
let Status
|
|
11
|
+
let Status;
|
|
12
|
+
(function (Status) {
|
|
12
13
|
Status["UNCONFIRMED"] = "unconfirmed";
|
|
13
14
|
Status["CONFIRMED"] = "confirmed";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
15
|
+
})(Status || (Status = {}));
|
|
16
16
|
_PrivacyRequest.Status = Status;
|
|
17
17
|
})(PrivacyRequest || (PrivacyRequest = {}));
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.SenderAddress = void 0;
|
|
7
7
|
let SenderAddress = exports.SenderAddress = void 0;
|
|
8
8
|
(function (_SenderAddress) {
|
|
9
|
-
let Type
|
|
9
|
+
let Type;
|
|
10
|
+
(function (Type) {
|
|
10
11
|
Type["CUSTOM"] = "custom";
|
|
11
12
|
Type["PREZLYMAIL"] = "prezly_mail";
|
|
12
|
-
|
|
13
|
-
}({});
|
|
13
|
+
})(Type || (Type = {}));
|
|
14
14
|
_SenderAddress.Type = Type;
|
|
15
15
|
})(SenderAddress || (exports.SenderAddress = SenderAddress = {}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export let SenderAddress;
|
|
2
2
|
(function (_SenderAddress) {
|
|
3
|
-
let Type
|
|
3
|
+
let Type;
|
|
4
|
+
(function (Type) {
|
|
4
5
|
Type["CUSTOM"] = "custom";
|
|
5
6
|
Type["PREZLYMAIL"] = "prezly_mail";
|
|
6
|
-
|
|
7
|
-
}({});
|
|
7
|
+
})(Type || (Type = {}));
|
|
8
8
|
_SenderAddress.Type = Type;
|
|
9
9
|
})(SenderAddress || (SenderAddress = {}));
|
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.SenderDomain = void 0;
|
|
7
7
|
let SenderDomain = exports.SenderDomain = void 0;
|
|
8
8
|
(function (_SenderDomain) {
|
|
9
|
-
let VerificationFlowVersion
|
|
9
|
+
let VerificationFlowVersion;
|
|
10
|
+
(function (VerificationFlowVersion) {
|
|
10
11
|
VerificationFlowVersion["V1"] = "v1";
|
|
11
12
|
VerificationFlowVersion["V2"] = "v2";
|
|
12
13
|
VerificationFlowVersion["V3"] = "v3";
|
|
13
14
|
VerificationFlowVersion["PREZLYMAIL"] = "prezlymail";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
15
|
+
})(VerificationFlowVersion || (VerificationFlowVersion = {}));
|
|
16
16
|
_SenderDomain.VerificationFlowVersion = VerificationFlowVersion;
|
|
17
17
|
})(SenderDomain || (exports.SenderDomain = SenderDomain = {}));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export let SenderDomain;
|
|
2
2
|
(function (_SenderDomain) {
|
|
3
|
-
let VerificationFlowVersion
|
|
3
|
+
let VerificationFlowVersion;
|
|
4
|
+
(function (VerificationFlowVersion) {
|
|
4
5
|
VerificationFlowVersion["V1"] = "v1";
|
|
5
6
|
VerificationFlowVersion["V2"] = "v2";
|
|
6
7
|
VerificationFlowVersion["V3"] = "v3";
|
|
7
8
|
VerificationFlowVersion["PREZLYMAIL"] = "prezlymail";
|
|
8
|
-
|
|
9
|
-
}({});
|
|
9
|
+
})(VerificationFlowVersion || (VerificationFlowVersion = {}));
|
|
10
10
|
_SenderDomain.VerificationFlowVersion = VerificationFlowVersion;
|
|
11
11
|
})(SenderDomain || (SenderDomain = {}));
|
package/dist/types/SortOrder.cjs
CHANGED
|
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.SortOrder = void 0;
|
|
7
7
|
let SortOrder = exports.SortOrder = void 0;
|
|
8
8
|
(function (_SortOrder) {
|
|
9
|
-
let Direction
|
|
9
|
+
let Direction;
|
|
10
|
+
(function (Direction) {
|
|
10
11
|
Direction["ASC"] = "asc";
|
|
11
12
|
Direction["DESC"] = "desc";
|
|
12
|
-
|
|
13
|
-
}({});
|
|
13
|
+
})(Direction || (Direction = {}));
|
|
14
14
|
_SortOrder.Direction = Direction;
|
|
15
15
|
function empty() {
|
|
16
16
|
return {
|