@prezly/sdk 25.2.0 → 25.3.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/ApiClient.d.ts +4 -4
- package/dist/api/DeferredJobsApiClient.d.ts +4 -4
- package/dist/api/constants.cjs +1 -1
- package/dist/api/constants.js +1 -1
- package/dist/endpoints/Accounts/Client.d.ts +1 -1
- package/dist/endpoints/Billing/types.cjs +6 -6
- package/dist/endpoints/Billing/types.js +6 -6
- package/dist/endpoints/CampaignRecipients/Client.d.ts +1 -1
- package/dist/endpoints/Campaigns/Client.cjs +14 -1
- package/dist/endpoints/Campaigns/Client.d.ts +12 -9
- package/dist/endpoints/Campaigns/Client.js +14 -1
- package/dist/endpoints/ContactTagGroups/types.cjs +3 -3
- package/dist/endpoints/ContactTagGroups/types.js +3 -3
- package/dist/endpoints/ContactTags/Client.d.ts +4 -4
- package/dist/endpoints/Contacts/Client.d.ts +6 -6
- package/dist/endpoints/ContactsExports/Client.d.ts +2 -2
- package/dist/endpoints/CoverageIntegrations/Client.d.ts +3 -3
- package/dist/endpoints/NewsroomCategories/Client.d.ts +3 -3
- package/dist/endpoints/NewsroomGalleries/Client.d.ts +1 -1
- package/dist/endpoints/NewsroomLanguages/Client.d.ts +10 -10
- package/dist/endpoints/NewsroomPrivacyRequests/Client.d.ts +2 -2
- package/dist/endpoints/NewsroomThemes/Client.d.ts +1 -1
- package/dist/endpoints/NewsroomWebhooks/Client.d.ts +3 -3
- package/dist/endpoints/PricingTables/types.cjs +12 -12
- package/dist/endpoints/PricingTables/types.js +12 -12
- package/dist/endpoints/SenderAddresses/Client.d.ts +3 -3
- package/dist/endpoints/Stories/Client.cjs +4 -2
- package/dist/endpoints/Stories/Client.d.ts +104 -104
- package/dist/endpoints/Stories/Client.js +4 -2
- package/dist/endpoints/Stories/types.d.ts +4 -2
- package/dist/endpoints/Subscriptions/Client.d.ts +2 -2
- package/dist/endpoints/Subscriptions/types.cjs +3 -3
- package/dist/endpoints/Subscriptions/types.js +3 -3
- package/dist/endpoints/index.cjs +1 -1
- package/dist/http/lib.cjs +1 -1
- 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/BulkDeletePayload.d.ts +5 -0
- package/dist/types/Campaign.cjs +18 -18
- package/dist/types/Campaign.js +18 -18
- package/dist/types/Category.cjs +0 -1
- package/dist/types/Category.js +0 -1
- 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 +3 -4
- package/dist/types/ContactTag.cjs +1 -2
- package/dist/types/ContactTag.js +1 -2
- package/dist/types/ContactsExport.cjs +3 -3
- 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.js +3 -3
- package/dist/types/CoverageIntegrationRun.cjs +3 -3
- 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.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 +7 -8
- package/dist/types/NewsroomTheme.js +7 -8
- 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/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/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 +0 -1
- package/dist/types/index.cjs +4 -4
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +1 -1
- package/dist/types/StoriesBulkSelector.d.ts +0 -4
- /package/dist/types/{StoriesBulkSelector.cjs → BulkDeletePayload.cjs} +0 -0
- /package/dist/types/{StoriesBulkSelector.js → BulkDeletePayload.js} +0 -0
package/dist/types/License.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
export let License;
|
|
2
2
|
(function (_License) {
|
|
3
|
-
let Type
|
|
4
|
-
(function (Type) {
|
|
3
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
5
4
|
Type["FAVOUR"] = "favour";
|
|
6
5
|
Type["FREE"] = "free";
|
|
7
6
|
Type["PAID_AUTO"] = "paid_auto";
|
|
8
7
|
Type["PAID_MANUAL"] = "paid_manual";
|
|
9
8
|
Type["TRIAL"] = "trial";
|
|
10
|
-
|
|
9
|
+
return Type;
|
|
10
|
+
}({});
|
|
11
11
|
_License.Type = Type;
|
|
12
|
-
let Status
|
|
13
|
-
(function (Status) {
|
|
12
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
14
13
|
Status["TRIAL"] = "trial";
|
|
15
14
|
Status["ACTIVE"] = "active";
|
|
16
15
|
Status["PAST_DUE"] = "past_due";
|
|
@@ -19,21 +18,22 @@ export let License;
|
|
|
19
18
|
Status["INCOMPLETE"] = "incomplete";
|
|
20
19
|
Status["CANCELED"] = "canceled";
|
|
21
20
|
Status["UNPAID"] = "unpaid";
|
|
22
|
-
|
|
21
|
+
return Status;
|
|
22
|
+
}({});
|
|
23
23
|
_License.Status = Status;
|
|
24
|
-
let SubscriptionStatus
|
|
25
|
-
(function (SubscriptionStatus) {
|
|
24
|
+
let SubscriptionStatus = /*#__PURE__*/function (SubscriptionStatus) {
|
|
26
25
|
SubscriptionStatus["TRIALING"] = "trialing";
|
|
27
26
|
SubscriptionStatus["EXPIRED"] = "expired";
|
|
28
27
|
SubscriptionStatus["ACTIVE"] = "active";
|
|
29
28
|
SubscriptionStatus["CANCELED"] = "canceled";
|
|
30
|
-
|
|
29
|
+
return SubscriptionStatus;
|
|
30
|
+
}({});
|
|
31
31
|
_License.SubscriptionStatus = SubscriptionStatus;
|
|
32
|
-
let CompanyType
|
|
33
|
-
(function (CompanyType) {
|
|
32
|
+
let CompanyType = /*#__PURE__*/function (CompanyType) {
|
|
34
33
|
CompanyType["BRAND"] = "brand";
|
|
35
34
|
CompanyType["AGENCY"] = "agency";
|
|
36
35
|
CompanyType["INTERNAL"] = "internal";
|
|
37
|
-
|
|
36
|
+
return CompanyType;
|
|
37
|
+
}({});
|
|
38
38
|
_License.CompanyType = CompanyType;
|
|
39
39
|
})(License || (License = {}));
|
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
|
|
10
|
-
(function (Status) {
|
|
9
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
11
10
|
Status["ACTIVE"] = "active";
|
|
12
11
|
Status["INACTIVE"] = "inactive";
|
|
13
12
|
Status["ARCHIVED"] = "archived";
|
|
14
|
-
|
|
13
|
+
return Status;
|
|
14
|
+
}({});
|
|
15
15
|
_Newsroom.Status = Status;
|
|
16
|
-
let EmailBrandingMode
|
|
17
|
-
(function (EmailBrandingMode) {
|
|
16
|
+
let EmailBrandingMode = /*#__PURE__*/function (EmailBrandingMode) {
|
|
18
17
|
EmailBrandingMode["DEFAULT"] = "default";
|
|
19
18
|
EmailBrandingMode["CUSTOM"] = "custom";
|
|
20
|
-
|
|
19
|
+
return EmailBrandingMode;
|
|
20
|
+
}({});
|
|
21
21
|
_Newsroom.EmailBrandingMode = EmailBrandingMode;
|
|
22
|
-
let TrackingPolicy
|
|
23
|
-
(function (TrackingPolicy) {
|
|
22
|
+
let TrackingPolicy = /*#__PURE__*/function (TrackingPolicy) {
|
|
24
23
|
TrackingPolicy["DEFAULT"] = "default";
|
|
25
24
|
TrackingPolicy["DISABLED"] = "disabled";
|
|
26
25
|
TrackingPolicy["CONSENT_TO_IDENTIFY"] = "consent-to-identify";
|
|
27
26
|
TrackingPolicy["STRICT"] = "strict";
|
|
28
27
|
TrackingPolicy["NORMAL"] = "normal";
|
|
29
28
|
TrackingPolicy["LENIENT"] = "lenient";
|
|
30
|
-
|
|
29
|
+
return TrackingPolicy;
|
|
30
|
+
}({});
|
|
31
31
|
_Newsroom.TrackingPolicy = TrackingPolicy;
|
|
32
|
-
let EmailLogoAlignment
|
|
33
|
-
(function (EmailLogoAlignment) {
|
|
32
|
+
let EmailLogoAlignment = /*#__PURE__*/function (EmailLogoAlignment) {
|
|
34
33
|
EmailLogoAlignment["LEFT"] = "left";
|
|
35
34
|
EmailLogoAlignment["CENTER"] = "center";
|
|
36
35
|
EmailLogoAlignment["RIGHT"] = "right";
|
|
37
|
-
|
|
36
|
+
return EmailLogoAlignment;
|
|
37
|
+
}({});
|
|
38
38
|
_Newsroom.EmailLogoAlignment = EmailLogoAlignment;
|
|
39
39
|
/*
|
|
40
40
|
* Status checks
|
package/dist/types/Newsroom.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
export let Newsroom;
|
|
2
2
|
(function (_Newsroom) {
|
|
3
|
-
let Status
|
|
4
|
-
(function (Status) {
|
|
3
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
5
4
|
Status["ACTIVE"] = "active";
|
|
6
5
|
Status["INACTIVE"] = "inactive";
|
|
7
6
|
Status["ARCHIVED"] = "archived";
|
|
8
|
-
|
|
7
|
+
return Status;
|
|
8
|
+
}({});
|
|
9
9
|
_Newsroom.Status = Status;
|
|
10
|
-
let EmailBrandingMode
|
|
11
|
-
(function (EmailBrandingMode) {
|
|
10
|
+
let EmailBrandingMode = /*#__PURE__*/function (EmailBrandingMode) {
|
|
12
11
|
EmailBrandingMode["DEFAULT"] = "default";
|
|
13
12
|
EmailBrandingMode["CUSTOM"] = "custom";
|
|
14
|
-
|
|
13
|
+
return EmailBrandingMode;
|
|
14
|
+
}({});
|
|
15
15
|
_Newsroom.EmailBrandingMode = EmailBrandingMode;
|
|
16
|
-
let TrackingPolicy
|
|
17
|
-
(function (TrackingPolicy) {
|
|
16
|
+
let TrackingPolicy = /*#__PURE__*/function (TrackingPolicy) {
|
|
18
17
|
TrackingPolicy["DEFAULT"] = "default";
|
|
19
18
|
TrackingPolicy["DISABLED"] = "disabled";
|
|
20
19
|
TrackingPolicy["CONSENT_TO_IDENTIFY"] = "consent-to-identify";
|
|
21
20
|
TrackingPolicy["STRICT"] = "strict";
|
|
22
21
|
TrackingPolicy["NORMAL"] = "normal";
|
|
23
22
|
TrackingPolicy["LENIENT"] = "lenient";
|
|
24
|
-
|
|
23
|
+
return TrackingPolicy;
|
|
24
|
+
}({});
|
|
25
25
|
_Newsroom.TrackingPolicy = TrackingPolicy;
|
|
26
|
-
let EmailLogoAlignment
|
|
27
|
-
(function (EmailLogoAlignment) {
|
|
26
|
+
let EmailLogoAlignment = /*#__PURE__*/function (EmailLogoAlignment) {
|
|
28
27
|
EmailLogoAlignment["LEFT"] = "left";
|
|
29
28
|
EmailLogoAlignment["CENTER"] = "center";
|
|
30
29
|
EmailLogoAlignment["RIGHT"] = "right";
|
|
31
|
-
|
|
30
|
+
return EmailLogoAlignment;
|
|
31
|
+
}({});
|
|
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
|
|
10
|
-
(function (Type) {
|
|
9
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
11
10
|
Type["PREZLY"] = "prezly";
|
|
12
11
|
Type["CUSTOM"] = "custom";
|
|
13
12
|
Type["REVERSE_PROXY"] = "reverse_proxy";
|
|
14
|
-
|
|
13
|
+
return Type;
|
|
14
|
+
}({});
|
|
15
15
|
_NewsroomDomain.Type = Type;
|
|
16
|
-
let Status
|
|
17
|
-
(function (Status) {
|
|
16
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
18
17
|
Status["ACTIVE"] = "active";
|
|
19
18
|
Status["INACTIVE"] = "inactive";
|
|
20
19
|
Status["REDIRECT"] = "redirect";
|
|
21
|
-
|
|
20
|
+
return Status;
|
|
21
|
+
}({});
|
|
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
|
|
4
|
-
(function (Type) {
|
|
3
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
5
4
|
Type["PREZLY"] = "prezly";
|
|
6
5
|
Type["CUSTOM"] = "custom";
|
|
7
6
|
Type["REVERSE_PROXY"] = "reverse_proxy";
|
|
8
|
-
|
|
7
|
+
return Type;
|
|
8
|
+
}({});
|
|
9
9
|
_NewsroomDomain.Type = Type;
|
|
10
|
-
let Status
|
|
11
|
-
(function (Status) {
|
|
10
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
12
11
|
Status["ACTIVE"] = "active";
|
|
13
12
|
Status["INACTIVE"] = "inactive";
|
|
14
13
|
Status["REDIRECT"] = "redirect";
|
|
15
|
-
|
|
14
|
+
return Status;
|
|
15
|
+
}({});
|
|
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
|
|
10
|
-
(function (Status) {
|
|
9
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
11
10
|
Status["PRIVATE"] = "private";
|
|
12
11
|
Status["PUBLIC"] = "public";
|
|
13
|
-
|
|
12
|
+
return Status;
|
|
13
|
+
}({});
|
|
14
14
|
_NewsroomGallery.Status = Status;
|
|
15
|
-
let Type
|
|
16
|
-
(function (Type) {
|
|
15
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
17
16
|
Type["IMAGE"] = "image";
|
|
18
17
|
Type["VIDEO"] = "video";
|
|
19
|
-
|
|
18
|
+
return Type;
|
|
19
|
+
}({});
|
|
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
|
|
4
|
-
(function (Status) {
|
|
3
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
5
4
|
Status["PRIVATE"] = "private";
|
|
6
5
|
Status["PUBLIC"] = "public";
|
|
7
|
-
|
|
6
|
+
return Status;
|
|
7
|
+
}({});
|
|
8
8
|
_NewsroomGallery.Status = Status;
|
|
9
|
-
let Type
|
|
10
|
-
(function (Type) {
|
|
9
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
11
10
|
Type["IMAGE"] = "image";
|
|
12
11
|
Type["VIDEO"] = "video";
|
|
13
|
-
|
|
12
|
+
return Type;
|
|
13
|
+
}({});
|
|
14
14
|
_NewsroomGallery.Type = Type;
|
|
15
15
|
})(NewsroomGallery || (NewsroomGallery = {}));
|
|
@@ -6,14 +6,13 @@ 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
|
|
10
|
-
(function (Status) {
|
|
9
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
11
10
|
Status["BETA"] = "beta";
|
|
12
11
|
Status["STABLE"] = "stable";
|
|
13
|
-
|
|
12
|
+
return Status;
|
|
13
|
+
}({});
|
|
14
14
|
_NewsroomTheme.Status = Status;
|
|
15
|
-
let Feature
|
|
16
|
-
(function (Feature) {
|
|
15
|
+
let Feature = /*#__PURE__*/function (Feature) {
|
|
17
16
|
Feature["CATEGORIES"] = "categories";
|
|
18
17
|
Feature["SEARCH"] = "search";
|
|
19
18
|
Feature["MEDIA_GALLERIES"] = "media_galleries";
|
|
@@ -30,12 +29,12 @@ let NewsroomTheme = exports.NewsroomTheme = void 0;
|
|
|
30
29
|
Feature["VIDEO_LAYOUT"] = "video_layout";
|
|
31
30
|
Feature["EMBED_LAYOUT"] = "embed_layout";
|
|
32
31
|
Feature["STRICT_TRACKING_POLICY"] = "strict_tracking_policy";
|
|
33
|
-
|
|
32
|
+
return Feature;
|
|
33
|
+
}({}); // DEV-19123
|
|
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;
|
|
41
|
-
(function (_NewsroomThemePreset) {})(NewsroomThemePreset || (exports.NewsroomThemePreset = NewsroomThemePreset = {}));
|
|
40
|
+
let NewsroomThemePreset = exports.NewsroomThemePreset = void 0;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
export let NewsroomTheme;
|
|
2
2
|
(function (_NewsroomTheme) {
|
|
3
|
-
let Status
|
|
4
|
-
(function (Status) {
|
|
3
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
5
4
|
Status["BETA"] = "beta";
|
|
6
5
|
Status["STABLE"] = "stable";
|
|
7
|
-
|
|
6
|
+
return Status;
|
|
7
|
+
}({});
|
|
8
8
|
_NewsroomTheme.Status = Status;
|
|
9
|
-
let Feature
|
|
10
|
-
(function (Feature) {
|
|
9
|
+
let Feature = /*#__PURE__*/function (Feature) {
|
|
11
10
|
Feature["CATEGORIES"] = "categories";
|
|
12
11
|
Feature["SEARCH"] = "search";
|
|
13
12
|
Feature["MEDIA_GALLERIES"] = "media_galleries";
|
|
@@ -24,12 +23,12 @@ export let NewsroomTheme;
|
|
|
24
23
|
Feature["VIDEO_LAYOUT"] = "video_layout";
|
|
25
24
|
Feature["EMBED_LAYOUT"] = "embed_layout";
|
|
26
25
|
Feature["STRICT_TRACKING_POLICY"] = "strict_tracking_policy";
|
|
27
|
-
|
|
26
|
+
return Feature;
|
|
27
|
+
}({}); // DEV-19123
|
|
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;
|
|
35
|
-
(function (_NewsroomThemePreset) {})(NewsroomThemePreset || (NewsroomThemePreset = {}));
|
|
34
|
+
export let 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
|
|
10
|
-
(function (Event) {
|
|
9
|
+
let Event = /*#__PURE__*/function (Event) {
|
|
11
10
|
Event["STORY_CREATED"] = "story.created";
|
|
12
11
|
Event["STORY_UPDATED"] = "story.updated";
|
|
13
12
|
Event["STORY_DELETED"] = "story.deleted";
|
|
14
13
|
Event["CATEGORY_CREATED"] = "category.created";
|
|
15
14
|
Event["CATEGORY_UPDATED"] = "category.updated";
|
|
16
15
|
Event["CATEGORY_DELETED"] = "category.deleted";
|
|
17
|
-
|
|
16
|
+
return Event;
|
|
17
|
+
}({});
|
|
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
|
|
4
|
-
(function (Event) {
|
|
3
|
+
let Event = /*#__PURE__*/function (Event) {
|
|
5
4
|
Event["STORY_CREATED"] = "story.created";
|
|
6
5
|
Event["STORY_UPDATED"] = "story.updated";
|
|
7
6
|
Event["STORY_DELETED"] = "story.deleted";
|
|
8
7
|
Event["CATEGORY_CREATED"] = "category.created";
|
|
9
8
|
Event["CATEGORY_UPDATED"] = "category.updated";
|
|
10
9
|
Event["CATEGORY_DELETED"] = "category.deleted";
|
|
11
|
-
|
|
10
|
+
return Event;
|
|
11
|
+
}({});
|
|
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
|
|
10
|
-
(function (Area) {
|
|
9
|
+
let Area = /*#__PURE__*/function (Area) {
|
|
11
10
|
Area["SITES"] = "Sites";
|
|
12
11
|
Area["CAMPAIGNS"] = "Campaigns";
|
|
13
12
|
Area["CONTACTS"] = "Contacts";
|
|
14
13
|
Area["BILLING_AND_LEGAL"] = "Billing & Legal";
|
|
15
14
|
Area["ORGANIZATION_AND_LEGAL"] = "Organization & Legal";
|
|
16
|
-
|
|
15
|
+
return Area;
|
|
16
|
+
}({});
|
|
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
|
|
4
|
-
(function (Area) {
|
|
3
|
+
let Area = /*#__PURE__*/function (Area) {
|
|
5
4
|
Area["SITES"] = "Sites";
|
|
6
5
|
Area["CAMPAIGNS"] = "Campaigns";
|
|
7
6
|
Area["CONTACTS"] = "Contacts";
|
|
8
7
|
Area["BILLING_AND_LEGAL"] = "Billing & Legal";
|
|
9
8
|
Area["ORGANIZATION_AND_LEGAL"] = "Organization & Legal";
|
|
10
|
-
|
|
9
|
+
return Area;
|
|
10
|
+
}({});
|
|
11
11
|
_NotificationSubscription.Area = Area;
|
|
12
12
|
})(NotificationSubscription || (NotificationSubscription = {}));
|
|
@@ -4,8 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.Permission = void 0;
|
|
7
|
-
let Permission = exports.Permission =
|
|
8
|
-
(function (Permission) {
|
|
7
|
+
let Permission = exports.Permission = /*#__PURE__*/function (Permission) {
|
|
9
8
|
Permission["CREATE_NEWSROOM"] = "create_newsroom";
|
|
10
9
|
Permission["EXPORT_CONTACTS"] = "export_contacts";
|
|
11
10
|
Permission["MANAGE_BILLING"] = "manage_billing";
|
|
@@ -14,4 +13,5 @@ let Permission = exports.Permission = void 0;
|
|
|
14
13
|
Permission["VIEW_CONTACTS"] = "view_contacts";
|
|
15
14
|
Permission["CREATE_SENDER_ADDRESS"] = "create_sender_address";
|
|
16
15
|
Permission["SEND_EMAILS"] = "send_emails";
|
|
17
|
-
|
|
16
|
+
return Permission;
|
|
17
|
+
}({});
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export let Permission
|
|
2
|
-
(function (Permission) {
|
|
1
|
+
export let Permission = /*#__PURE__*/function (Permission) {
|
|
3
2
|
Permission["CREATE_NEWSROOM"] = "create_newsroom";
|
|
4
3
|
Permission["EXPORT_CONTACTS"] = "export_contacts";
|
|
5
4
|
Permission["MANAGE_BILLING"] = "manage_billing";
|
|
@@ -8,4 +7,5 @@ export let Permission;
|
|
|
8
7
|
Permission["VIEW_CONTACTS"] = "view_contacts";
|
|
9
8
|
Permission["CREATE_SENDER_ADDRESS"] = "create_sender_address";
|
|
10
9
|
Permission["SEND_EMAILS"] = "send_emails";
|
|
11
|
-
|
|
10
|
+
return Permission;
|
|
11
|
+
}({});
|
package/dist/types/Plan.cjs
CHANGED
|
@@ -4,8 +4,7 @@ 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 =
|
|
8
|
-
(function (AddonId) {
|
|
7
|
+
let AddonId = exports.AddonId = /*#__PURE__*/function (AddonId) {
|
|
9
8
|
AddonId["CORE_USER"] = "core_user";
|
|
10
9
|
AddonId["COVERAGE_INTEGRATION_AUXIPRESS"] = "coverage_integration_auxipress";
|
|
11
10
|
AddonId["COVERAGE_INTEGRATION_BELGA"] = "coverage_integration_belga";
|
|
@@ -16,16 +15,16 @@ let AddonId = exports.AddonId = void 0;
|
|
|
16
15
|
AddonId["PREMIUM_USER"] = "premium_user";
|
|
17
16
|
AddonId["SITE"] = "site";
|
|
18
17
|
AddonId["STARTER_USER"] = "starter_user";
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
(function (ChangeType) {
|
|
18
|
+
return AddonId;
|
|
19
|
+
}({});
|
|
20
|
+
let ChangeType = exports.ChangeType = /*#__PURE__*/function (ChangeType) {
|
|
23
21
|
ChangeType["ACTIVATION"] = "activation";
|
|
24
22
|
ChangeType["UPGRADE"] = "upgrade";
|
|
25
23
|
ChangeType["DOWNGRADE"] = "downgrade";
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
return ChangeType;
|
|
25
|
+
}({});
|
|
26
|
+
/** @deprecated Will be dropped in future */
|
|
27
|
+
let PlanLevel = exports.PlanLevel = /*#__PURE__*/function (PlanLevel) {
|
|
29
28
|
PlanLevel["BASIC"] = "basic";
|
|
30
29
|
PlanLevel["CORE"] = "core";
|
|
31
30
|
PlanLevel["ENTERPRISE"] = "enterprise";
|
|
@@ -38,4 +37,5 @@ let PlanLevel = exports.PlanLevel = void 0;
|
|
|
38
37
|
PlanLevel["AGENCY_MEDIUM"] = "agency_medium";
|
|
39
38
|
PlanLevel["AGENCY_LARGE"] = "agency_large";
|
|
40
39
|
PlanLevel["AGENCY_HUGE"] = "agency_huge";
|
|
41
|
-
|
|
40
|
+
return PlanLevel;
|
|
41
|
+
}({});
|
package/dist/types/Plan.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export let AddonId
|
|
2
|
-
(function (AddonId) {
|
|
1
|
+
export let AddonId = /*#__PURE__*/function (AddonId) {
|
|
3
2
|
AddonId["CORE_USER"] = "core_user";
|
|
4
3
|
AddonId["COVERAGE_INTEGRATION_AUXIPRESS"] = "coverage_integration_auxipress";
|
|
5
4
|
AddonId["COVERAGE_INTEGRATION_BELGA"] = "coverage_integration_belga";
|
|
@@ -10,17 +9,17 @@ export let AddonId;
|
|
|
10
9
|
AddonId["PREMIUM_USER"] = "premium_user";
|
|
11
10
|
AddonId["SITE"] = "site";
|
|
12
11
|
AddonId["STARTER_USER"] = "starter_user";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/** @deprecated Will be dropped in future */
|
|
17
|
-
(function (ChangeType) {
|
|
12
|
+
return AddonId;
|
|
13
|
+
}({});
|
|
14
|
+
export let ChangeType = /*#__PURE__*/function (ChangeType) {
|
|
18
15
|
ChangeType["ACTIVATION"] = "activation";
|
|
19
16
|
ChangeType["UPGRADE"] = "upgrade";
|
|
20
17
|
ChangeType["DOWNGRADE"] = "downgrade";
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
return ChangeType;
|
|
19
|
+
}({});
|
|
20
|
+
|
|
21
|
+
/** @deprecated Will be dropped in future */
|
|
22
|
+
export let PlanLevel = /*#__PURE__*/function (PlanLevel) {
|
|
24
23
|
PlanLevel["BASIC"] = "basic";
|
|
25
24
|
PlanLevel["CORE"] = "core";
|
|
26
25
|
PlanLevel["ENTERPRISE"] = "enterprise";
|
|
@@ -33,4 +32,5 @@ export let PlanLevel;
|
|
|
33
32
|
PlanLevel["AGENCY_MEDIUM"] = "agency_medium";
|
|
34
33
|
PlanLevel["AGENCY_LARGE"] = "agency_large";
|
|
35
34
|
PlanLevel["AGENCY_HUGE"] = "agency_huge";
|
|
36
|
-
|
|
35
|
+
return PlanLevel;
|
|
36
|
+
}({});
|
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 =
|
|
8
|
-
(function (BillingSchema) {
|
|
7
|
+
let BillingSchema = exports.BillingSchema = /*#__PURE__*/function (BillingSchema) {
|
|
9
8
|
BillingSchema["PER_UNIT"] = "per_unit";
|
|
10
9
|
BillingSchema["TIERED"] = "tiered";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
return BillingSchema;
|
|
11
|
+
}({});
|
|
12
|
+
let TiersMode = exports.TiersMode = /*#__PURE__*/function (TiersMode) {
|
|
14
13
|
TiersMode["GRADUATED"] = "graduated";
|
|
15
14
|
TiersMode["VOLUME"] = "volume";
|
|
16
|
-
|
|
15
|
+
return TiersMode;
|
|
16
|
+
}({});
|
package/dist/types/Price.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export let BillingSchema
|
|
2
|
-
(function (BillingSchema) {
|
|
1
|
+
export let BillingSchema = /*#__PURE__*/function (BillingSchema) {
|
|
3
2
|
BillingSchema["PER_UNIT"] = "per_unit";
|
|
4
3
|
BillingSchema["TIERED"] = "tiered";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
return BillingSchema;
|
|
5
|
+
}({});
|
|
6
|
+
export let TiersMode = /*#__PURE__*/function (TiersMode) {
|
|
8
7
|
TiersMode["GRADUATED"] = "graduated";
|
|
9
8
|
TiersMode["VOLUME"] = "volume";
|
|
10
|
-
|
|
9
|
+
return TiersMode;
|
|
10
|
+
}({});
|
|
@@ -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
|
|
10
|
-
(function (Type) {
|
|
9
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
11
10
|
Type["DELETE"] = "delete";
|
|
12
11
|
Type["EXPORT"] = "export";
|
|
13
12
|
Type["CORRECT"] = "correct";
|
|
14
13
|
Type["OTHER"] = "other";
|
|
15
|
-
|
|
14
|
+
return Type;
|
|
15
|
+
}({});
|
|
16
16
|
_PrivacyRequest.Type = Type;
|
|
17
|
-
let Status
|
|
18
|
-
(function (Status) {
|
|
17
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
19
18
|
Status["UNCONFIRMED"] = "unconfirmed";
|
|
20
19
|
Status["CONFIRMED"] = "confirmed";
|
|
21
|
-
|
|
20
|
+
return Status;
|
|
21
|
+
}({});
|
|
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
|
|
4
|
-
(function (Type) {
|
|
3
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
5
4
|
Type["DELETE"] = "delete";
|
|
6
5
|
Type["EXPORT"] = "export";
|
|
7
6
|
Type["CORRECT"] = "correct";
|
|
8
7
|
Type["OTHER"] = "other";
|
|
9
|
-
|
|
8
|
+
return Type;
|
|
9
|
+
}({});
|
|
10
10
|
_PrivacyRequest.Type = Type;
|
|
11
|
-
let Status
|
|
12
|
-
(function (Status) {
|
|
11
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
13
12
|
Status["UNCONFIRMED"] = "unconfirmed";
|
|
14
13
|
Status["CONFIRMED"] = "confirmed";
|
|
15
|
-
|
|
14
|
+
return Status;
|
|
15
|
+
}({});
|
|
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
|
|
10
|
-
(function (Type) {
|
|
9
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
11
10
|
Type["CUSTOM"] = "custom";
|
|
12
11
|
Type["PREZLYMAIL"] = "prezly_mail";
|
|
13
|
-
|
|
12
|
+
return Type;
|
|
13
|
+
}({});
|
|
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
|
|
4
|
-
(function (Type) {
|
|
3
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
5
4
|
Type["CUSTOM"] = "custom";
|
|
6
5
|
Type["PREZLYMAIL"] = "prezly_mail";
|
|
7
|
-
|
|
6
|
+
return Type;
|
|
7
|
+
}({});
|
|
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
|
|
10
|
-
(function (VerificationFlowVersion) {
|
|
9
|
+
let VerificationFlowVersion = /*#__PURE__*/function (VerificationFlowVersion) {
|
|
11
10
|
VerificationFlowVersion["V1"] = "v1";
|
|
12
11
|
VerificationFlowVersion["V2"] = "v2";
|
|
13
12
|
VerificationFlowVersion["V3"] = "v3";
|
|
14
13
|
VerificationFlowVersion["PREZLYMAIL"] = "prezlymail";
|
|
15
|
-
|
|
14
|
+
return VerificationFlowVersion;
|
|
15
|
+
}({});
|
|
16
16
|
_SenderDomain.VerificationFlowVersion = VerificationFlowVersion;
|
|
17
17
|
})(SenderDomain || (exports.SenderDomain = SenderDomain = {}));
|