@prezly/sdk 21.14.0 → 21.14.2

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 (78) 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/Newsrooms/types.d.ts +2 -2
  8. package/dist/endpoints/PricingTables/types.cjs +12 -12
  9. package/dist/endpoints/PricingTables/types.js +12 -12
  10. package/dist/endpoints/Subscriptions/types.cjs +3 -3
  11. package/dist/endpoints/Subscriptions/types.js +3 -3
  12. package/dist/http/types.cjs +6 -6
  13. package/dist/http/types.js +6 -6
  14. package/dist/types/BillingCycle.cjs +3 -3
  15. package/dist/types/BillingCycle.js +3 -3
  16. package/dist/types/Campaign.cjs +18 -18
  17. package/dist/types/Campaign.js +18 -18
  18. package/dist/types/Category.cjs +0 -1
  19. package/dist/types/Category.js +0 -1
  20. package/dist/types/Contact.cjs +18 -18
  21. package/dist/types/Contact.js +18 -18
  22. package/dist/types/ContactDuplicateSuggestion.cjs +3 -3
  23. package/dist/types/ContactDuplicateSuggestion.js +3 -4
  24. package/dist/types/ContactTag.cjs +1 -2
  25. package/dist/types/ContactTag.js +1 -2
  26. package/dist/types/ContactsExport.cjs +3 -3
  27. package/dist/types/ContactsExport.js +3 -3
  28. package/dist/types/ContactsScope.cjs +3 -3
  29. package/dist/types/ContactsScope.js +3 -3
  30. package/dist/types/CoverageEntry.cjs +6 -6
  31. package/dist/types/CoverageEntry.js +6 -6
  32. package/dist/types/Culture.cjs +3 -3
  33. package/dist/types/Culture.js +3 -3
  34. package/dist/types/Currency.cjs +3 -3
  35. package/dist/types/Currency.js +3 -3
  36. package/dist/types/EmailRecipient.cjs +3 -3
  37. package/dist/types/EmailRecipient.js +3 -3
  38. package/dist/types/JobState.cjs +3 -3
  39. package/dist/types/JobState.js +3 -3
  40. package/dist/types/License.cjs +9 -9
  41. package/dist/types/License.js +9 -9
  42. package/dist/types/Newsroom.cjs +12 -12
  43. package/dist/types/Newsroom.js +12 -12
  44. package/dist/types/NewsroomDomain.cjs +6 -6
  45. package/dist/types/NewsroomDomain.js +6 -6
  46. package/dist/types/NewsroomGallery.cjs +6 -6
  47. package/dist/types/NewsroomGallery.js +6 -6
  48. package/dist/types/NewsroomTheme.cjs +7 -8
  49. package/dist/types/NewsroomTheme.js +7 -8
  50. package/dist/types/NewsroomWebhook.cjs +3 -3
  51. package/dist/types/NewsroomWebhook.js +3 -3
  52. package/dist/types/NotificationSubscription.cjs +3 -3
  53. package/dist/types/NotificationSubscription.js +3 -3
  54. package/dist/types/Permissions.cjs +3 -3
  55. package/dist/types/Permissions.js +3 -3
  56. package/dist/types/Plan.cjs +7 -7
  57. package/dist/types/Plan.js +8 -8
  58. package/dist/types/PrivacyRequest.cjs +6 -6
  59. package/dist/types/PrivacyRequest.js +6 -6
  60. package/dist/types/SenderAddress.cjs +3 -3
  61. package/dist/types/SenderAddress.js +3 -3
  62. package/dist/types/SenderDomain.cjs +3 -3
  63. package/dist/types/SenderDomain.js +3 -3
  64. package/dist/types/SortOrder.cjs +3 -3
  65. package/dist/types/SortOrder.js +3 -3
  66. package/dist/types/Story.cjs +12 -12
  67. package/dist/types/Story.js +12 -12
  68. package/dist/types/User.cjs +6 -6
  69. package/dist/types/User.js +6 -6
  70. package/dist/types/common/Notification.cjs +3 -3
  71. package/dist/types/common/Notification.js +3 -3
  72. package/dist/types/common/OEmbedInfo.cjs +3 -3
  73. package/dist/types/common/OEmbedInfo.d.ts +1 -1
  74. package/dist/types/common/OEmbedInfo.js +3 -3
  75. package/dist/types/common/Pagination.cjs +3 -3
  76. package/dist/types/common/Pagination.js +3 -3
  77. package/dist/types/common/Query.js +0 -1
  78. package/package.json +1 -1
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.ContactsExport = void 0;
7
7
  let ContactsExport = exports.ContactsExport = void 0;
8
8
  (function (_ContactsExport) {
9
- let Status;
10
- (function (Status) {
9
+ let Status = /*#__PURE__*/function (Status) {
11
10
  Status["NEW"] = "new";
12
11
  Status["DONE"] = "done";
13
12
  Status["FAILED"] = "failed";
14
- })(Status || (Status = {}));
13
+ return Status;
14
+ }({});
15
15
  _ContactsExport.Status = Status;
16
16
  })(ContactsExport || (exports.ContactsExport = ContactsExport = {}));
@@ -1,10 +1,10 @@
1
1
  export let ContactsExport;
2
2
  (function (_ContactsExport) {
3
- let Status;
4
- (function (Status) {
3
+ let Status = /*#__PURE__*/function (Status) {
5
4
  Status["NEW"] = "new";
6
5
  Status["DONE"] = "done";
7
6
  Status["FAILED"] = "failed";
8
- })(Status || (Status = {}));
7
+ return Status;
8
+ }({});
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;
10
- (function (Type) {
9
+ let Type = /*#__PURE__*/function (Type) {
11
10
  Type["ALL_CONTACTS"] = "scope:contacts";
12
11
  Type["CONTACT_EMPLOYEES"] = "scope:contact_employees";
13
12
  Type["CONTACT_ORGANISATIONS"] = "scope:contact_organisations";
14
13
  Type["CAMPAIGN_RECIPIENTS"] = "scope:campaign_recipients";
15
14
  Type["CAMPAIGN_REPORT"] = "scope:campaign_report";
16
- })(Type || (Type = {}));
15
+ return Type;
16
+ }({});
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;
4
- (function (Type) {
3
+ let Type = /*#__PURE__*/function (Type) {
5
4
  Type["ALL_CONTACTS"] = "scope:contacts";
6
5
  Type["CONTACT_EMPLOYEES"] = "scope:contact_employees";
7
6
  Type["CONTACT_ORGANISATIONS"] = "scope:contact_organisations";
8
7
  Type["CAMPAIGN_RECIPIENTS"] = "scope:campaign_recipients";
9
8
  Type["CAMPAIGN_REPORT"] = "scope:campaign_report";
10
- })(Type || (Type = {}));
9
+ return Type;
10
+ }({});
11
11
  _ContactsScope.Type = Type;
12
12
  })(ContactsScope || (ContactsScope = {}));
@@ -6,17 +6,16 @@ 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;
10
- (function (Type) {
9
+ let Type = /*#__PURE__*/function (Type) {
11
10
  Type["ONLINE"] = "online";
12
11
  Type["SOCIAL"] = "social";
13
12
  Type["PRINT"] = "print";
14
13
  Type["RADIO"] = "radio";
15
14
  Type["TELEVISION"] = "television";
16
- })(Type || (Type = {}));
15
+ return Type;
16
+ }({});
17
17
  _CoverageEntry.Type = Type;
18
- let Provider;
19
- (function (Provider) {
18
+ let Provider = /*#__PURE__*/function (Provider) {
20
19
  Provider["AMMCO"] = "ammco";
21
20
  Provider["AUXIPRESS"] = "auxipress";
22
21
  Provider["BELGA"] = "belga";
@@ -26,6 +25,7 @@ let CoverageEntry = exports.CoverageEntry = void 0;
26
25
  Provider["MEDIAWEB"] = "mediaweb";
27
26
  Provider["MELTWATER"] = "meltwater";
28
27
  Provider["MANUAL"] = "manual";
29
- })(Provider || (Provider = {}));
28
+ return Provider;
29
+ }({});
30
30
  _CoverageEntry.Provider = Provider;
31
31
  })(CoverageEntry || (exports.CoverageEntry = CoverageEntry = {}));
@@ -1,16 +1,15 @@
1
1
  export let CoverageEntry;
2
2
  (function (_CoverageEntry) {
3
- let Type;
4
- (function (Type) {
3
+ let Type = /*#__PURE__*/function (Type) {
5
4
  Type["ONLINE"] = "online";
6
5
  Type["SOCIAL"] = "social";
7
6
  Type["PRINT"] = "print";
8
7
  Type["RADIO"] = "radio";
9
8
  Type["TELEVISION"] = "television";
10
- })(Type || (Type = {}));
9
+ return Type;
10
+ }({});
11
11
  _CoverageEntry.Type = Type;
12
- let Provider;
13
- (function (Provider) {
12
+ let Provider = /*#__PURE__*/function (Provider) {
14
13
  Provider["AMMCO"] = "ammco";
15
14
  Provider["AUXIPRESS"] = "auxipress";
16
15
  Provider["BELGA"] = "belga";
@@ -20,6 +19,7 @@ export let CoverageEntry;
20
19
  Provider["MEDIAWEB"] = "mediaweb";
21
20
  Provider["MELTWATER"] = "meltwater";
22
21
  Provider["MANUAL"] = "manual";
23
- })(Provider || (Provider = {}));
22
+ return Provider;
23
+ }({});
24
24
  _CoverageEntry.Provider = Provider;
25
25
  })(CoverageEntry || (CoverageEntry = {}));
@@ -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;
10
- (function (TextDirection) {
9
+ let TextDirection = /*#__PURE__*/function (TextDirection) {
11
10
  TextDirection["LTR"] = "ltr";
12
11
  TextDirection["RTL"] = "rtl";
13
- })(TextDirection || (TextDirection = {}));
12
+ return TextDirection;
13
+ }({});
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;
4
- (function (TextDirection) {
3
+ let TextDirection = /*#__PURE__*/function (TextDirection) {
5
4
  TextDirection["LTR"] = "ltr";
6
5
  TextDirection["RTL"] = "rtl";
7
- })(TextDirection || (TextDirection = {}));
6
+ return TextDirection;
7
+ }({});
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 = void 0;
8
- (function (Currency) {
7
+ let Currency = exports.Currency = /*#__PURE__*/function (Currency) {
9
8
  Currency["EUR"] = "eur";
10
9
  Currency["USD"] = "usd";
11
10
  Currency["GBP"] = "gbp";
12
11
  Currency["AUD"] = "aud";
13
- })(Currency || (exports.Currency = Currency = {}));
12
+ return Currency;
13
+ }({});
@@ -1,7 +1,7 @@
1
- export let Currency;
2
- (function (Currency) {
1
+ export let Currency = /*#__PURE__*/function (Currency) {
3
2
  Currency["EUR"] = "eur";
4
3
  Currency["USD"] = "usd";
5
4
  Currency["GBP"] = "gbp";
6
5
  Currency["AUD"] = "aud";
7
- })(Currency || (Currency = {}));
6
+ return Currency;
7
+ }({});
@@ -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;
10
- (function (EmailAddressStatus) {
9
+ let EmailAddressStatus = /*#__PURE__*/function (EmailAddressStatus) {
11
10
  EmailAddressStatus["OK"] = "ok";
12
11
  EmailAddressStatus["BOUNCED"] = "bounced";
13
12
  EmailAddressStatus["UNSUBSCRIBED"] = "unsubscribed";
14
13
  EmailAddressStatus["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
15
- })(EmailAddressStatus || (EmailAddressStatus = {}));
14
+ return EmailAddressStatus;
15
+ }({});
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;
4
- (function (EmailAddressStatus) {
3
+ let EmailAddressStatus = /*#__PURE__*/function (EmailAddressStatus) {
5
4
  EmailAddressStatus["OK"] = "ok";
6
5
  EmailAddressStatus["BOUNCED"] = "bounced";
7
6
  EmailAddressStatus["UNSUBSCRIBED"] = "unsubscribed";
8
7
  EmailAddressStatus["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
9
- })(EmailAddressStatus || (EmailAddressStatus = {}));
8
+ return EmailAddressStatus;
9
+ }({});
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 = void 0;
8
- (function (JobStatus) {
7
+ let JobStatus = exports.JobStatus = /*#__PURE__*/function (JobStatus) {
9
8
  JobStatus["PENDING"] = "pending";
10
9
  JobStatus["RESOLVED"] = "resolved";
11
10
  JobStatus["REJECTED"] = "rejected";
12
- })(JobStatus || (exports.JobStatus = JobStatus = {}));
11
+ return JobStatus;
12
+ }({});
@@ -1,6 +1,6 @@
1
- export let JobStatus;
2
- (function (JobStatus) {
1
+ export let JobStatus = /*#__PURE__*/function (JobStatus) {
3
2
  JobStatus["PENDING"] = "pending";
4
3
  JobStatus["RESOLVED"] = "resolved";
5
4
  JobStatus["REJECTED"] = "rejected";
6
- })(JobStatus || (JobStatus = {}));
5
+ return JobStatus;
6
+ }({});
@@ -6,17 +6,16 @@ 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;
10
- (function (Type) {
9
+ let Type = /*#__PURE__*/function (Type) {
11
10
  Type["FAVOUR"] = "favour";
12
11
  Type["FREE"] = "free";
13
12
  Type["PAID_AUTO"] = "paid_auto";
14
13
  Type["PAID_MANUAL"] = "paid_manual";
15
14
  Type["TRIAL"] = "trial";
16
- })(Type || (Type = {}));
15
+ return Type;
16
+ }({});
17
17
  _License.Type = Type;
18
- let Status;
19
- (function (Status) {
18
+ let Status = /*#__PURE__*/function (Status) {
20
19
  Status["TRIAL"] = "trial";
21
20
  Status["ACTIVE"] = "active";
22
21
  Status["PAST_DUE"] = "past_due";
@@ -25,13 +24,14 @@ let License = exports.License = void 0;
25
24
  Status["INCOMPLETE"] = "incomplete";
26
25
  Status["CANCELED"] = "canceled";
27
26
  Status["UNPAID"] = "unpaid";
28
- })(Status || (Status = {}));
27
+ return Status;
28
+ }({});
29
29
  _License.Status = Status;
30
- let CompanyType;
31
- (function (CompanyType) {
30
+ let CompanyType = /*#__PURE__*/function (CompanyType) {
32
31
  CompanyType["BRAND"] = "brand";
33
32
  CompanyType["AGENCY"] = "agency";
34
33
  CompanyType["INTERNAL"] = "internal";
35
- })(CompanyType || (CompanyType = {}));
34
+ return CompanyType;
35
+ }({});
36
36
  _License.CompanyType = CompanyType;
37
37
  })(License || (exports.License = License = {}));
@@ -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
- })(Type || (Type = {}));
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,13 +18,14 @@ export let License;
19
18
  Status["INCOMPLETE"] = "incomplete";
20
19
  Status["CANCELED"] = "canceled";
21
20
  Status["UNPAID"] = "unpaid";
22
- })(Status || (Status = {}));
21
+ return Status;
22
+ }({});
23
23
  _License.Status = Status;
24
- let CompanyType;
25
- (function (CompanyType) {
24
+ let CompanyType = /*#__PURE__*/function (CompanyType) {
26
25
  CompanyType["BRAND"] = "brand";
27
26
  CompanyType["AGENCY"] = "agency";
28
27
  CompanyType["INTERNAL"] = "internal";
29
- })(CompanyType || (CompanyType = {}));
28
+ return CompanyType;
29
+ }({});
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;
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
- })(Status || (Status = {}));
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
- })(EmailBrandingMode || (EmailBrandingMode = {}));
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
- })(TrackingPolicy || (TrackingPolicy = {}));
26
+ return TrackingPolicy;
27
+ }({});
28
28
  _Newsroom.TrackingPolicy = TrackingPolicy;
29
- let EmailLogoAlignment;
30
- (function (EmailLogoAlignment) {
29
+ let EmailLogoAlignment = /*#__PURE__*/function (EmailLogoAlignment) {
31
30
  EmailLogoAlignment["LEFT"] = "left";
32
31
  EmailLogoAlignment["CENTER"] = "center";
33
32
  EmailLogoAlignment["RIGHT"] = "right";
34
- })(EmailLogoAlignment || (EmailLogoAlignment = {}));
33
+ return EmailLogoAlignment;
34
+ }({});
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;
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
- })(Status || (Status = {}));
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
- })(EmailBrandingMode || (EmailBrandingMode = {}));
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
- })(TrackingPolicy || (TrackingPolicy = {}));
20
+ return TrackingPolicy;
21
+ }({});
22
22
  _Newsroom.TrackingPolicy = TrackingPolicy;
23
- let EmailLogoAlignment;
24
- (function (EmailLogoAlignment) {
23
+ let EmailLogoAlignment = /*#__PURE__*/function (EmailLogoAlignment) {
25
24
  EmailLogoAlignment["LEFT"] = "left";
26
25
  EmailLogoAlignment["CENTER"] = "center";
27
26
  EmailLogoAlignment["RIGHT"] = "right";
28
- })(EmailLogoAlignment || (EmailLogoAlignment = {}));
27
+ return EmailLogoAlignment;
28
+ }({});
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;
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
- })(Type || (Type = {}));
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
- })(Status || (Status = {}));
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
- })(Type || (Type = {}));
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
- })(Status || (Status = {}));
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
- })(Status || (Status = {}));
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
- })(Type || (Type = {}));
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
- })(Status || (Status = {}));
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
- })(Type || (Type = {}));
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
- })(Status || (Status = {}));
12
+ return Status;
13
+ }({});
14
14
  _NewsroomTheme.Status = Status;
15
- let Feature; // DEV-11475
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";
@@ -29,12 +28,12 @@ let NewsroomTheme = exports.NewsroomTheme = void 0;
29
28
  Feature["CTA_BUTTONS"] = "cta_buttons";
30
29
  Feature["VIDEO_LAYOUT"] = "video_layout";
31
30
  Feature["EMBED_LAYOUT"] = "embed_layout";
32
- })(Feature || (Feature = {}));
31
+ return Feature;
32
+ }({}); // DEV-11475
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;
40
- (function (_NewsroomThemePreset) {})(NewsroomThemePreset || (exports.NewsroomThemePreset = NewsroomThemePreset = {}));
39
+ 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
- })(Status || (Status = {}));
6
+ return Status;
7
+ }({});
8
8
  _NewsroomTheme.Status = Status;
9
- let Feature; // DEV-11475
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";
@@ -23,12 +22,12 @@ export let NewsroomTheme;
23
22
  Feature["CTA_BUTTONS"] = "cta_buttons";
24
23
  Feature["VIDEO_LAYOUT"] = "video_layout";
25
24
  Feature["EMBED_LAYOUT"] = "embed_layout";
26
- })(Feature || (Feature = {}));
25
+ return Feature;
26
+ }({}); // DEV-11475
27
27
  _NewsroomTheme.Feature = Feature;
28
28
  function isFeatureSupported(theme, feature) {
29
29
  return theme.features.includes(feature);
30
30
  }
31
31
  _NewsroomTheme.isFeatureSupported = isFeatureSupported;
32
32
  })(NewsroomTheme || (NewsroomTheme = {}));
33
- export let NewsroomThemePreset;
34
- (function (_NewsroomThemePreset) {})(NewsroomThemePreset || (NewsroomThemePreset = {}));
33
+ 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
- })(Event || (Event = {}));
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
- })(Event || (Event = {}));
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
- })(Area || (Area = {}));
15
+ return Area;
16
+ }({});
17
17
  _NotificationSubscription.Area = Area;
18
18
  })(NotificationSubscription || (exports.NotificationSubscription = NotificationSubscription = {}));