@prezly/sdk 23.1.0 → 23.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.
Files changed (84) hide show
  1. package/dist/api/constants.cjs +1 -1
  2. package/dist/api/constants.js +1 -1
  3. package/dist/endpoints/Billing/types.cjs +6 -6
  4. package/dist/endpoints/Billing/types.js +6 -6
  5. package/dist/endpoints/ContactTagGroups/types.cjs +3 -3
  6. package/dist/endpoints/ContactTagGroups/types.js +3 -3
  7. package/dist/endpoints/PricingTables/types.cjs +12 -12
  8. package/dist/endpoints/PricingTables/types.js +12 -12
  9. package/dist/endpoints/Subscriptions/types.cjs +3 -3
  10. package/dist/endpoints/Subscriptions/types.js +3 -3
  11. package/dist/http/types.cjs +6 -6
  12. package/dist/http/types.js +6 -6
  13. package/dist/types/BillingCycle.cjs +3 -3
  14. package/dist/types/BillingCycle.js +3 -3
  15. package/dist/types/Campaign.cjs +18 -18
  16. package/dist/types/Campaign.js +18 -18
  17. package/dist/types/Category.cjs +1 -0
  18. package/dist/types/Category.js +1 -0
  19. package/dist/types/Contact.cjs +18 -18
  20. package/dist/types/Contact.js +18 -18
  21. package/dist/types/ContactDuplicateSuggestion.cjs +3 -3
  22. package/dist/types/ContactDuplicateSuggestion.js +4 -3
  23. package/dist/types/ContactTag.cjs +2 -1
  24. package/dist/types/ContactTag.js +2 -1
  25. package/dist/types/ContactsExport.cjs +3 -3
  26. package/dist/types/ContactsExport.js +3 -3
  27. package/dist/types/ContactsScope.cjs +3 -3
  28. package/dist/types/ContactsScope.js +3 -3
  29. package/dist/types/CoverageEntry.cjs +9 -9
  30. package/dist/types/CoverageEntry.d.ts +9 -0
  31. package/dist/types/CoverageEntry.js +9 -9
  32. package/dist/types/CoverageIntegration.cjs +3 -3
  33. package/dist/types/CoverageIntegration.js +3 -3
  34. package/dist/types/CoverageIntegrationRun.cjs +3 -3
  35. package/dist/types/CoverageIntegrationRun.js +3 -3
  36. package/dist/types/Culture.cjs +3 -3
  37. package/dist/types/Culture.js +3 -3
  38. package/dist/types/Currency.cjs +3 -3
  39. package/dist/types/Currency.js +3 -3
  40. package/dist/types/EmailRecipient.cjs +3 -3
  41. package/dist/types/EmailRecipient.js +3 -3
  42. package/dist/types/JobState.cjs +3 -3
  43. package/dist/types/JobState.js +3 -3
  44. package/dist/types/License.cjs +9 -9
  45. package/dist/types/License.js +9 -9
  46. package/dist/types/Newsroom.cjs +12 -12
  47. package/dist/types/Newsroom.js +12 -12
  48. package/dist/types/NewsroomDomain.cjs +6 -6
  49. package/dist/types/NewsroomDomain.js +6 -6
  50. package/dist/types/NewsroomGallery.cjs +6 -6
  51. package/dist/types/NewsroomGallery.js +6 -6
  52. package/dist/types/NewsroomTheme.cjs +8 -7
  53. package/dist/types/NewsroomTheme.js +8 -7
  54. package/dist/types/NewsroomWebhook.cjs +3 -3
  55. package/dist/types/NewsroomWebhook.js +3 -3
  56. package/dist/types/NotificationSubscription.cjs +3 -3
  57. package/dist/types/NotificationSubscription.js +3 -3
  58. package/dist/types/Permissions.cjs +3 -3
  59. package/dist/types/Permissions.js +3 -3
  60. package/dist/types/Plan.cjs +10 -10
  61. package/dist/types/Plan.js +11 -11
  62. package/dist/types/Price.cjs +6 -6
  63. package/dist/types/Price.js +6 -6
  64. package/dist/types/PrivacyRequest.cjs +6 -6
  65. package/dist/types/PrivacyRequest.js +6 -6
  66. package/dist/types/SenderAddress.cjs +3 -3
  67. package/dist/types/SenderAddress.js +3 -3
  68. package/dist/types/SenderDomain.cjs +3 -3
  69. package/dist/types/SenderDomain.js +3 -3
  70. package/dist/types/SortOrder.cjs +3 -3
  71. package/dist/types/SortOrder.js +3 -3
  72. package/dist/types/Story.cjs +12 -12
  73. package/dist/types/Story.d.ts +1 -0
  74. package/dist/types/Story.js +12 -12
  75. package/dist/types/User.cjs +6 -6
  76. package/dist/types/User.js +6 -6
  77. package/dist/types/common/Notification.cjs +3 -3
  78. package/dist/types/common/Notification.js +3 -3
  79. package/dist/types/common/OEmbedInfo.cjs +3 -3
  80. package/dist/types/common/OEmbedInfo.js +3 -3
  81. package/dist/types/common/Pagination.cjs +3 -3
  82. package/dist/types/common/Pagination.js +3 -3
  83. package/dist/types/common/Query.js +1 -0
  84. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  export let ContactsExport;
2
2
  (function (_ContactsExport) {
3
- let Status = /*#__PURE__*/function (Status) {
3
+ let Status;
4
+ (function (Status) {
4
5
  Status["NEW"] = "new";
5
6
  Status["DONE"] = "done";
6
7
  Status["FAILED"] = "failed";
7
- return Status;
8
- }({});
8
+ })(Status || (Status = {}));
9
9
  _ContactsExport.Status = Status;
10
10
  })(ContactsExport || (ContactsExport = {}));
@@ -6,13 +6,13 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.ContactsScope = void 0;
7
7
  let ContactsScope = exports.ContactsScope = void 0;
8
8
  (function (_ContactsScope) {
9
- let Type = /*#__PURE__*/function (Type) {
9
+ let Type;
10
+ (function (Type) {
10
11
  Type["ALL_CONTACTS"] = "scope:contacts";
11
12
  Type["CONTACT_EMPLOYEES"] = "scope:contact_employees";
12
13
  Type["CONTACT_ORGANISATIONS"] = "scope:contact_organisations";
13
14
  Type["CAMPAIGN_RECIPIENTS"] = "scope:campaign_recipients";
14
15
  Type["CAMPAIGN_REPORT"] = "scope:campaign_report";
15
- return Type;
16
- }({});
16
+ })(Type || (Type = {}));
17
17
  _ContactsScope.Type = Type;
18
18
  })(ContactsScope || (exports.ContactsScope = ContactsScope = {}));
@@ -1,12 +1,12 @@
1
1
  export let ContactsScope;
2
2
  (function (_ContactsScope) {
3
- let Type = /*#__PURE__*/function (Type) {
3
+ let Type;
4
+ (function (Type) {
4
5
  Type["ALL_CONTACTS"] = "scope:contacts";
5
6
  Type["CONTACT_EMPLOYEES"] = "scope:contact_employees";
6
7
  Type["CONTACT_ORGANISATIONS"] = "scope:contact_organisations";
7
8
  Type["CAMPAIGN_RECIPIENTS"] = "scope:campaign_recipients";
8
9
  Type["CAMPAIGN_REPORT"] = "scope:campaign_report";
9
- return Type;
10
- }({});
10
+ })(Type || (Type = {}));
11
11
  _ContactsScope.Type = Type;
12
12
  })(ContactsScope || (ContactsScope = {}));
@@ -6,16 +6,17 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.CoverageEntry = void 0;
7
7
  let CoverageEntry = exports.CoverageEntry = void 0;
8
8
  (function (_CoverageEntry) {
9
- let Type = /*#__PURE__*/function (Type) {
9
+ let Type;
10
+ (function (Type) {
10
11
  Type["ONLINE"] = "online";
11
12
  Type["SOCIAL"] = "social";
12
13
  Type["PRINT"] = "print";
13
14
  Type["RADIO"] = "radio";
14
15
  Type["TELEVISION"] = "television";
15
- return Type;
16
- }({});
16
+ })(Type || (Type = {}));
17
17
  _CoverageEntry.Type = Type;
18
- let Provider = /*#__PURE__*/function (Provider) {
18
+ let Provider;
19
+ (function (Provider) {
19
20
  Provider["AMMCO"] = "ammco";
20
21
  Provider["AUXIPRESS"] = "auxipress";
21
22
  Provider["BELGA"] = "belga";
@@ -27,14 +28,13 @@ let CoverageEntry = exports.CoverageEntry = void 0;
27
28
  Provider["MEDIAWEB"] = "mediaweb";
28
29
  Provider["MELTWATER"] = "meltwater";
29
30
  Provider["OPOINT"] = "opoint";
30
- return Provider;
31
- }({});
31
+ })(Provider || (Provider = {}));
32
32
  _CoverageEntry.Provider = Provider;
33
- let Sentiment = /*#__PURE__*/function (Sentiment) {
33
+ let Sentiment;
34
+ (function (Sentiment) {
34
35
  Sentiment["POSITIVE"] = "positive";
35
36
  Sentiment["NEGATIVE"] = "negative";
36
37
  Sentiment["NEUTRAL"] = "neutral";
37
- return Sentiment;
38
- }({});
38
+ })(Sentiment || (Sentiment = {}));
39
39
  _CoverageEntry.Sentiment = Sentiment;
40
40
  })(CoverageEntry || (exports.CoverageEntry = CoverageEntry = {}));
@@ -20,6 +20,15 @@ export interface CoverageEntry {
20
20
  headline: string;
21
21
  user: UserRef;
22
22
  story: Story | null;
23
+ /**
24
+ * Tells whether the story reference has been manually set, or automatically matched.
25
+ * `none` means no information (which is only used for null references).
26
+ */
27
+ story_reference_origin: 'manual' | 'auto' | 'none';
28
+ /**
29
+ * Number of displayed story suggestions (if the automatic matching was not sure enough about it).
30
+ */
31
+ suggested_stories_count: number;
23
32
  newsroom: NewsroomRef | null;
24
33
  author_contact: Contact | null;
25
34
  organisation_contact: Contact | null;
@@ -1,15 +1,16 @@
1
1
  export let CoverageEntry;
2
2
  (function (_CoverageEntry) {
3
- let Type = /*#__PURE__*/function (Type) {
3
+ let Type;
4
+ (function (Type) {
4
5
  Type["ONLINE"] = "online";
5
6
  Type["SOCIAL"] = "social";
6
7
  Type["PRINT"] = "print";
7
8
  Type["RADIO"] = "radio";
8
9
  Type["TELEVISION"] = "television";
9
- return Type;
10
- }({});
10
+ })(Type || (Type = {}));
11
11
  _CoverageEntry.Type = Type;
12
- let Provider = /*#__PURE__*/function (Provider) {
12
+ let Provider;
13
+ (function (Provider) {
13
14
  Provider["AMMCO"] = "ammco";
14
15
  Provider["AUXIPRESS"] = "auxipress";
15
16
  Provider["BELGA"] = "belga";
@@ -21,14 +22,13 @@ export let CoverageEntry;
21
22
  Provider["MEDIAWEB"] = "mediaweb";
22
23
  Provider["MELTWATER"] = "meltwater";
23
24
  Provider["OPOINT"] = "opoint";
24
- return Provider;
25
- }({});
25
+ })(Provider || (Provider = {}));
26
26
  _CoverageEntry.Provider = Provider;
27
- let Sentiment = /*#__PURE__*/function (Sentiment) {
27
+ let Sentiment;
28
+ (function (Sentiment) {
28
29
  Sentiment["POSITIVE"] = "positive";
29
30
  Sentiment["NEGATIVE"] = "negative";
30
31
  Sentiment["NEUTRAL"] = "neutral";
31
- return Sentiment;
32
- }({});
32
+ })(Sentiment || (Sentiment = {}));
33
33
  _CoverageEntry.Sentiment = Sentiment;
34
34
  })(CoverageEntry || (CoverageEntry = {}));
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.CoverageIntegration = void 0;
7
7
  let CoverageIntegration = exports.CoverageIntegration = void 0;
8
8
  (function (_CoverageIntegration) {
9
- let Status = /*#__PURE__*/function (Status) {
9
+ let Status;
10
+ (function (Status) {
10
11
  Status["ACTIVE"] = "active";
11
12
  Status["PAUSED"] = "paused";
12
13
  Status["TRIAL"] = "trial";
13
14
  Status["DELETED"] = "deleted";
14
- return Status;
15
- }({});
15
+ })(Status || (Status = {}));
16
16
  _CoverageIntegration.Status = Status;
17
17
  })(CoverageIntegration || (exports.CoverageIntegration = CoverageIntegration = {}));
@@ -1,11 +1,11 @@
1
1
  export let CoverageIntegration;
2
2
  (function (_CoverageIntegration) {
3
- let Status = /*#__PURE__*/function (Status) {
3
+ let Status;
4
+ (function (Status) {
4
5
  Status["ACTIVE"] = "active";
5
6
  Status["PAUSED"] = "paused";
6
7
  Status["TRIAL"] = "trial";
7
8
  Status["DELETED"] = "deleted";
8
- return Status;
9
- }({});
9
+ })(Status || (Status = {}));
10
10
  _CoverageIntegration.Status = Status;
11
11
  })(CoverageIntegration || (CoverageIntegration = {}));
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.CoverageIntegrationRun = void 0;
7
7
  let CoverageIntegrationRun = exports.CoverageIntegrationRun = void 0;
8
8
  (function (_CoverageIntegrationRun) {
9
- let Status = /*#__PURE__*/function (Status) {
9
+ let Status;
10
+ (function (Status) {
10
11
  Status["DONE"] = "done";
11
12
  Status["ERROR"] = "error";
12
13
  Status["RUNNING"] = "running";
13
- return Status;
14
- }({});
14
+ })(Status || (Status = {}));
15
15
  _CoverageIntegrationRun.Status = Status;
16
16
  })(CoverageIntegrationRun || (exports.CoverageIntegrationRun = CoverageIntegrationRun = {}));
@@ -1,10 +1,10 @@
1
1
  export let CoverageIntegrationRun;
2
2
  (function (_CoverageIntegrationRun) {
3
- let Status = /*#__PURE__*/function (Status) {
3
+ let Status;
4
+ (function (Status) {
4
5
  Status["DONE"] = "done";
5
6
  Status["ERROR"] = "error";
6
7
  Status["RUNNING"] = "running";
7
- return Status;
8
- }({});
8
+ })(Status || (Status = {}));
9
9
  _CoverageIntegrationRun.Status = Status;
10
10
  })(CoverageIntegrationRun || (CoverageIntegrationRun = {}));
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.Culture = void 0;
7
7
  let Culture = exports.Culture = void 0;
8
8
  (function (_Culture) {
9
- let TextDirection = /*#__PURE__*/function (TextDirection) {
9
+ let TextDirection;
10
+ (function (TextDirection) {
10
11
  TextDirection["LTR"] = "ltr";
11
12
  TextDirection["RTL"] = "rtl";
12
- return TextDirection;
13
- }({});
13
+ })(TextDirection || (TextDirection = {}));
14
14
  _Culture.TextDirection = TextDirection;
15
15
  /**
16
16
  * Primary locale code used everywhere in the Prezly app.
@@ -1,10 +1,10 @@
1
1
  export let Culture;
2
2
  (function (_Culture) {
3
- let TextDirection = /*#__PURE__*/function (TextDirection) {
3
+ let TextDirection;
4
+ (function (TextDirection) {
4
5
  TextDirection["LTR"] = "ltr";
5
6
  TextDirection["RTL"] = "rtl";
6
- return TextDirection;
7
- }({});
7
+ })(TextDirection || (TextDirection = {}));
8
8
  _Culture.TextDirection = TextDirection;
9
9
  /**
10
10
  * Primary locale code used everywhere in the Prezly app.
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.Currency = void 0;
7
- let Currency = exports.Currency = /*#__PURE__*/function (Currency) {
7
+ let Currency = exports.Currency = void 0;
8
+ (function (Currency) {
8
9
  Currency["EUR"] = "eur";
9
10
  Currency["USD"] = "usd";
10
11
  Currency["GBP"] = "gbp";
11
12
  Currency["AUD"] = "aud";
12
- return Currency;
13
- }({});
13
+ })(Currency || (exports.Currency = Currency = {}));
@@ -1,7 +1,7 @@
1
- export let Currency = /*#__PURE__*/function (Currency) {
1
+ export let Currency;
2
+ (function (Currency) {
2
3
  Currency["EUR"] = "eur";
3
4
  Currency["USD"] = "usd";
4
5
  Currency["GBP"] = "gbp";
5
6
  Currency["AUD"] = "aud";
6
- return Currency;
7
- }({});
7
+ })(Currency || (Currency = {}));
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.EmailRecipient = void 0;
7
7
  let EmailRecipient = exports.EmailRecipient = void 0;
8
8
  (function (_EmailRecipient) {
9
- let EmailAddressStatus = /*#__PURE__*/function (EmailAddressStatus) {
9
+ let EmailAddressStatus;
10
+ (function (EmailAddressStatus) {
10
11
  EmailAddressStatus["OK"] = "ok";
11
12
  EmailAddressStatus["BOUNCED"] = "bounced";
12
13
  EmailAddressStatus["UNSUBSCRIBED"] = "unsubscribed";
13
14
  EmailAddressStatus["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
14
- return EmailAddressStatus;
15
- }({});
15
+ })(EmailAddressStatus || (EmailAddressStatus = {}));
16
16
  _EmailRecipient.EmailAddressStatus = EmailAddressStatus;
17
17
  })(EmailRecipient || (exports.EmailRecipient = EmailRecipient = {}));
@@ -1,11 +1,11 @@
1
1
  export let EmailRecipient;
2
2
  (function (_EmailRecipient) {
3
- let EmailAddressStatus = /*#__PURE__*/function (EmailAddressStatus) {
3
+ let EmailAddressStatus;
4
+ (function (EmailAddressStatus) {
4
5
  EmailAddressStatus["OK"] = "ok";
5
6
  EmailAddressStatus["BOUNCED"] = "bounced";
6
7
  EmailAddressStatus["UNSUBSCRIBED"] = "unsubscribed";
7
8
  EmailAddressStatus["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
8
- return EmailAddressStatus;
9
- }({});
9
+ })(EmailAddressStatus || (EmailAddressStatus = {}));
10
10
  _EmailRecipient.EmailAddressStatus = EmailAddressStatus;
11
11
  })(EmailRecipient || (EmailRecipient = {}));
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.JobStatus = void 0;
7
- let JobStatus = exports.JobStatus = /*#__PURE__*/function (JobStatus) {
7
+ let JobStatus = exports.JobStatus = void 0;
8
+ (function (JobStatus) {
8
9
  JobStatus["PENDING"] = "pending";
9
10
  JobStatus["RESOLVED"] = "resolved";
10
11
  JobStatus["REJECTED"] = "rejected";
11
- return JobStatus;
12
- }({});
12
+ })(JobStatus || (exports.JobStatus = JobStatus = {}));
@@ -1,6 +1,6 @@
1
- export let JobStatus = /*#__PURE__*/function (JobStatus) {
1
+ export let JobStatus;
2
+ (function (JobStatus) {
2
3
  JobStatus["PENDING"] = "pending";
3
4
  JobStatus["RESOLVED"] = "resolved";
4
5
  JobStatus["REJECTED"] = "rejected";
5
- return JobStatus;
6
- }({});
6
+ })(JobStatus || (JobStatus = {}));
@@ -6,16 +6,17 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.License = void 0;
7
7
  let License = exports.License = void 0;
8
8
  (function (_License) {
9
- let Type = /*#__PURE__*/function (Type) {
9
+ let Type;
10
+ (function (Type) {
10
11
  Type["FAVOUR"] = "favour";
11
12
  Type["FREE"] = "free";
12
13
  Type["PAID_AUTO"] = "paid_auto";
13
14
  Type["PAID_MANUAL"] = "paid_manual";
14
15
  Type["TRIAL"] = "trial";
15
- return Type;
16
- }({});
16
+ })(Type || (Type = {}));
17
17
  _License.Type = Type;
18
- let Status = /*#__PURE__*/function (Status) {
18
+ let Status;
19
+ (function (Status) {
19
20
  Status["TRIAL"] = "trial";
20
21
  Status["ACTIVE"] = "active";
21
22
  Status["PAST_DUE"] = "past_due";
@@ -24,14 +25,13 @@ let License = exports.License = void 0;
24
25
  Status["INCOMPLETE"] = "incomplete";
25
26
  Status["CANCELED"] = "canceled";
26
27
  Status["UNPAID"] = "unpaid";
27
- return Status;
28
- }({});
28
+ })(Status || (Status = {}));
29
29
  _License.Status = Status;
30
- let CompanyType = /*#__PURE__*/function (CompanyType) {
30
+ let CompanyType;
31
+ (function (CompanyType) {
31
32
  CompanyType["BRAND"] = "brand";
32
33
  CompanyType["AGENCY"] = "agency";
33
34
  CompanyType["INTERNAL"] = "internal";
34
- return CompanyType;
35
- }({});
35
+ })(CompanyType || (CompanyType = {}));
36
36
  _License.CompanyType = CompanyType;
37
37
  })(License || (exports.License = License = {}));
@@ -1,15 +1,16 @@
1
1
  export let License;
2
2
  (function (_License) {
3
- let Type = /*#__PURE__*/function (Type) {
3
+ let Type;
4
+ (function (Type) {
4
5
  Type["FAVOUR"] = "favour";
5
6
  Type["FREE"] = "free";
6
7
  Type["PAID_AUTO"] = "paid_auto";
7
8
  Type["PAID_MANUAL"] = "paid_manual";
8
9
  Type["TRIAL"] = "trial";
9
- return Type;
10
- }({});
10
+ })(Type || (Type = {}));
11
11
  _License.Type = Type;
12
- let Status = /*#__PURE__*/function (Status) {
12
+ let Status;
13
+ (function (Status) {
13
14
  Status["TRIAL"] = "trial";
14
15
  Status["ACTIVE"] = "active";
15
16
  Status["PAST_DUE"] = "past_due";
@@ -18,14 +19,13 @@ export let License;
18
19
  Status["INCOMPLETE"] = "incomplete";
19
20
  Status["CANCELED"] = "canceled";
20
21
  Status["UNPAID"] = "unpaid";
21
- return Status;
22
- }({});
22
+ })(Status || (Status = {}));
23
23
  _License.Status = Status;
24
- let CompanyType = /*#__PURE__*/function (CompanyType) {
24
+ let CompanyType;
25
+ (function (CompanyType) {
25
26
  CompanyType["BRAND"] = "brand";
26
27
  CompanyType["AGENCY"] = "agency";
27
28
  CompanyType["INTERNAL"] = "internal";
28
- return CompanyType;
29
- }({});
29
+ })(CompanyType || (CompanyType = {}));
30
30
  _License.CompanyType = CompanyType;
31
31
  })(License || (License = {}));
@@ -6,32 +6,32 @@ 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 = /*#__PURE__*/function (Status) {
9
+ let Status;
10
+ (function (Status) {
10
11
  Status["ACTIVE"] = "active";
11
12
  Status["INACTIVE"] = "inactive";
12
13
  Status["ARCHIVED"] = "archived";
13
- return Status;
14
- }({});
14
+ })(Status || (Status = {}));
15
15
  _Newsroom.Status = Status;
16
- let EmailBrandingMode = /*#__PURE__*/function (EmailBrandingMode) {
16
+ let EmailBrandingMode;
17
+ (function (EmailBrandingMode) {
17
18
  EmailBrandingMode["DEFAULT"] = "default";
18
19
  EmailBrandingMode["CUSTOM"] = "custom";
19
- return EmailBrandingMode;
20
- }({});
20
+ })(EmailBrandingMode || (EmailBrandingMode = {}));
21
21
  _Newsroom.EmailBrandingMode = EmailBrandingMode;
22
- let TrackingPolicy = /*#__PURE__*/function (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
- return TrackingPolicy;
27
- }({});
27
+ })(TrackingPolicy || (TrackingPolicy = {}));
28
28
  _Newsroom.TrackingPolicy = TrackingPolicy;
29
- let EmailLogoAlignment = /*#__PURE__*/function (EmailLogoAlignment) {
29
+ let EmailLogoAlignment;
30
+ (function (EmailLogoAlignment) {
30
31
  EmailLogoAlignment["LEFT"] = "left";
31
32
  EmailLogoAlignment["CENTER"] = "center";
32
33
  EmailLogoAlignment["RIGHT"] = "right";
33
- return EmailLogoAlignment;
34
- }({});
34
+ })(EmailLogoAlignment || (EmailLogoAlignment = {}));
35
35
  _Newsroom.EmailLogoAlignment = EmailLogoAlignment;
36
36
  /*
37
37
  * Status checks
@@ -1,31 +1,31 @@
1
1
  export let Newsroom;
2
2
  (function (_Newsroom) {
3
- let Status = /*#__PURE__*/function (Status) {
3
+ let Status;
4
+ (function (Status) {
4
5
  Status["ACTIVE"] = "active";
5
6
  Status["INACTIVE"] = "inactive";
6
7
  Status["ARCHIVED"] = "archived";
7
- return Status;
8
- }({});
8
+ })(Status || (Status = {}));
9
9
  _Newsroom.Status = Status;
10
- let EmailBrandingMode = /*#__PURE__*/function (EmailBrandingMode) {
10
+ let EmailBrandingMode;
11
+ (function (EmailBrandingMode) {
11
12
  EmailBrandingMode["DEFAULT"] = "default";
12
13
  EmailBrandingMode["CUSTOM"] = "custom";
13
- return EmailBrandingMode;
14
- }({});
14
+ })(EmailBrandingMode || (EmailBrandingMode = {}));
15
15
  _Newsroom.EmailBrandingMode = EmailBrandingMode;
16
- let TrackingPolicy = /*#__PURE__*/function (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
- return TrackingPolicy;
21
- }({});
21
+ })(TrackingPolicy || (TrackingPolicy = {}));
22
22
  _Newsroom.TrackingPolicy = TrackingPolicy;
23
- let EmailLogoAlignment = /*#__PURE__*/function (EmailLogoAlignment) {
23
+ let EmailLogoAlignment;
24
+ (function (EmailLogoAlignment) {
24
25
  EmailLogoAlignment["LEFT"] = "left";
25
26
  EmailLogoAlignment["CENTER"] = "center";
26
27
  EmailLogoAlignment["RIGHT"] = "right";
27
- return EmailLogoAlignment;
28
- }({});
28
+ })(EmailLogoAlignment || (EmailLogoAlignment = {}));
29
29
  _Newsroom.EmailLogoAlignment = EmailLogoAlignment;
30
30
  /*
31
31
  * 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 = /*#__PURE__*/function (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
- return Type;
14
- }({});
14
+ })(Type || (Type = {}));
15
15
  _NewsroomDomain.Type = Type;
16
- let Status = /*#__PURE__*/function (Status) {
16
+ let Status;
17
+ (function (Status) {
17
18
  Status["ACTIVE"] = "active";
18
19
  Status["INACTIVE"] = "inactive";
19
20
  Status["REDIRECT"] = "redirect";
20
- return Status;
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 = /*#__PURE__*/function (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
- return Type;
8
- }({});
8
+ })(Type || (Type = {}));
9
9
  _NewsroomDomain.Type = Type;
10
- let Status = /*#__PURE__*/function (Status) {
10
+ let Status;
11
+ (function (Status) {
11
12
  Status["ACTIVE"] = "active";
12
13
  Status["INACTIVE"] = "inactive";
13
14
  Status["REDIRECT"] = "redirect";
14
- return Status;
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 = /*#__PURE__*/function (Status) {
9
+ let Status;
10
+ (function (Status) {
10
11
  Status["PRIVATE"] = "private";
11
12
  Status["PUBLIC"] = "public";
12
- return Status;
13
- }({});
13
+ })(Status || (Status = {}));
14
14
  _NewsroomGallery.Status = Status;
15
- let Type = /*#__PURE__*/function (Type) {
15
+ let Type;
16
+ (function (Type) {
16
17
  Type["IMAGE"] = "image";
17
18
  Type["VIDEO"] = "video";
18
- return Type;
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 = /*#__PURE__*/function (Status) {
3
+ let Status;
4
+ (function (Status) {
4
5
  Status["PRIVATE"] = "private";
5
6
  Status["PUBLIC"] = "public";
6
- return Status;
7
- }({});
7
+ })(Status || (Status = {}));
8
8
  _NewsroomGallery.Status = Status;
9
- let Type = /*#__PURE__*/function (Type) {
9
+ let Type;
10
+ (function (Type) {
10
11
  Type["IMAGE"] = "image";
11
12
  Type["VIDEO"] = "video";
12
- return Type;
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 = /*#__PURE__*/function (Status) {
9
+ let Status;
10
+ (function (Status) {
10
11
  Status["BETA"] = "beta";
11
12
  Status["STABLE"] = "stable";
12
- return Status;
13
- }({});
13
+ })(Status || (Status = {}));
14
14
  _NewsroomTheme.Status = Status;
15
- let Feature = /*#__PURE__*/function (Feature) {
15
+ let Feature; // DEV-11475
16
+ (function (Feature) {
16
17
  Feature["CATEGORIES"] = "categories";
17
18
  Feature["SEARCH"] = "search";
18
19
  Feature["MEDIA_GALLERIES"] = "media_galleries";
@@ -28,12 +29,12 @@ let NewsroomTheme = exports.NewsroomTheme = void 0;
28
29
  Feature["CTA_BUTTONS"] = "cta_buttons";
29
30
  Feature["VIDEO_LAYOUT"] = "video_layout";
30
31
  Feature["EMBED_LAYOUT"] = "embed_layout";
31
- return Feature;
32
- }({}); // DEV-11475
32
+ })(Feature || (Feature = {}));
33
33
  _NewsroomTheme.Feature = Feature;
34
34
  function isFeatureSupported(theme, feature) {
35
35
  return theme.features.includes(feature);
36
36
  }
37
37
  _NewsroomTheme.isFeatureSupported = isFeatureSupported;
38
38
  })(NewsroomTheme || (exports.NewsroomTheme = NewsroomTheme = {}));
39
- let NewsroomThemePreset = exports.NewsroomThemePreset = void 0;
39
+ let NewsroomThemePreset = exports.NewsroomThemePreset = void 0;
40
+ (function (_NewsroomThemePreset) {})(NewsroomThemePreset || (exports.NewsroomThemePreset = NewsroomThemePreset = {}));