@prezly/sdk 23.3.0 → 23.4.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 (85) 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/Coverage/Client.cjs +4 -3
  8. package/dist/endpoints/Coverage/Client.d.ts +3 -1
  9. package/dist/endpoints/Coverage/Client.js +4 -3
  10. package/dist/endpoints/PricingTables/types.cjs +12 -12
  11. package/dist/endpoints/PricingTables/types.js +12 -12
  12. package/dist/endpoints/Subscriptions/types.cjs +3 -3
  13. package/dist/endpoints/Subscriptions/types.js +3 -3
  14. package/dist/http/types.cjs +6 -6
  15. package/dist/http/types.js +6 -6
  16. package/dist/types/BillingCycle.cjs +3 -3
  17. package/dist/types/BillingCycle.js +3 -3
  18. package/dist/types/Campaign.cjs +18 -18
  19. package/dist/types/Campaign.js +18 -18
  20. package/dist/types/Category.cjs +1 -0
  21. package/dist/types/Category.js +1 -0
  22. package/dist/types/Contact.cjs +18 -18
  23. package/dist/types/Contact.js +18 -18
  24. package/dist/types/ContactDuplicateSuggestion.cjs +3 -3
  25. package/dist/types/ContactDuplicateSuggestion.js +4 -3
  26. package/dist/types/ContactTag.cjs +2 -1
  27. package/dist/types/ContactTag.js +2 -1
  28. package/dist/types/ContactsExport.cjs +3 -3
  29. package/dist/types/ContactsExport.js +3 -3
  30. package/dist/types/ContactsScope.cjs +3 -3
  31. package/dist/types/ContactsScope.js +3 -3
  32. package/dist/types/CoverageEntry.cjs +9 -9
  33. package/dist/types/CoverageEntry.js +9 -9
  34. package/dist/types/CoverageIntegration.cjs +3 -3
  35. package/dist/types/CoverageIntegration.js +3 -3
  36. package/dist/types/CoverageIntegrationRun.cjs +3 -3
  37. package/dist/types/CoverageIntegrationRun.js +3 -3
  38. package/dist/types/Culture.cjs +3 -3
  39. package/dist/types/Culture.js +3 -3
  40. package/dist/types/Currency.cjs +3 -3
  41. package/dist/types/Currency.js +3 -3
  42. package/dist/types/EmailRecipient.cjs +3 -3
  43. package/dist/types/EmailRecipient.js +3 -3
  44. package/dist/types/JobState.cjs +3 -3
  45. package/dist/types/JobState.js +3 -3
  46. package/dist/types/License.cjs +12 -12
  47. package/dist/types/License.js +12 -12
  48. package/dist/types/Newsroom.cjs +12 -12
  49. package/dist/types/Newsroom.js +12 -12
  50. package/dist/types/NewsroomDomain.cjs +6 -6
  51. package/dist/types/NewsroomDomain.js +6 -6
  52. package/dist/types/NewsroomGallery.cjs +6 -6
  53. package/dist/types/NewsroomGallery.js +6 -6
  54. package/dist/types/NewsroomTheme.cjs +8 -7
  55. package/dist/types/NewsroomTheme.js +8 -7
  56. package/dist/types/NewsroomWebhook.cjs +3 -3
  57. package/dist/types/NewsroomWebhook.js +3 -3
  58. package/dist/types/NotificationSubscription.cjs +3 -3
  59. package/dist/types/NotificationSubscription.js +3 -3
  60. package/dist/types/Permissions.cjs +3 -3
  61. package/dist/types/Permissions.js +3 -3
  62. package/dist/types/Plan.cjs +10 -10
  63. package/dist/types/Plan.js +11 -11
  64. package/dist/types/Price.cjs +6 -6
  65. package/dist/types/Price.js +6 -6
  66. package/dist/types/PrivacyRequest.cjs +6 -6
  67. package/dist/types/PrivacyRequest.js +6 -6
  68. package/dist/types/SenderAddress.cjs +3 -3
  69. package/dist/types/SenderAddress.js +3 -3
  70. package/dist/types/SenderDomain.cjs +3 -3
  71. package/dist/types/SenderDomain.js +3 -3
  72. package/dist/types/SortOrder.cjs +3 -3
  73. package/dist/types/SortOrder.js +3 -3
  74. package/dist/types/Story.cjs +12 -12
  75. package/dist/types/Story.js +12 -12
  76. package/dist/types/User.cjs +6 -6
  77. package/dist/types/User.js +6 -6
  78. package/dist/types/common/Notification.cjs +3 -3
  79. package/dist/types/common/Notification.js +3 -3
  80. package/dist/types/common/OEmbedInfo.cjs +3 -3
  81. package/dist/types/common/OEmbedInfo.js +3 -3
  82. package/dist/types/common/Pagination.cjs +3 -3
  83. package/dist/types/common/Pagination.js +3 -3
  84. package/dist/types/common/Query.js +1 -0
  85. package/package.json +1 -1
@@ -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 = {}));
@@ -1,12 +1,13 @@
1
1
  export let NewsroomTheme;
2
2
  (function (_NewsroomTheme) {
3
- let Status = /*#__PURE__*/function (Status) {
3
+ let Status;
4
+ (function (Status) {
4
5
  Status["BETA"] = "beta";
5
6
  Status["STABLE"] = "stable";
6
- return Status;
7
- }({});
7
+ })(Status || (Status = {}));
8
8
  _NewsroomTheme.Status = Status;
9
- let Feature = /*#__PURE__*/function (Feature) {
9
+ let Feature; // DEV-11475
10
+ (function (Feature) {
10
11
  Feature["CATEGORIES"] = "categories";
11
12
  Feature["SEARCH"] = "search";
12
13
  Feature["MEDIA_GALLERIES"] = "media_galleries";
@@ -22,12 +23,12 @@ export let NewsroomTheme;
22
23
  Feature["CTA_BUTTONS"] = "cta_buttons";
23
24
  Feature["VIDEO_LAYOUT"] = "video_layout";
24
25
  Feature["EMBED_LAYOUT"] = "embed_layout";
25
- return Feature;
26
- }({}); // DEV-11475
26
+ })(Feature || (Feature = {}));
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;
33
+ export let NewsroomThemePreset;
34
+ (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 = /*#__PURE__*/function (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
- return Event;
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 = /*#__PURE__*/function (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
- return Event;
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 = /*#__PURE__*/function (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
- return Area;
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 = /*#__PURE__*/function (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
- return Area;
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 = /*#__PURE__*/function (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
- return Permission;
17
- }({});
17
+ })(Permission || (exports.Permission = Permission = {}));
@@ -1,4 +1,5 @@
1
- export let Permission = /*#__PURE__*/function (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
- return Permission;
11
- }({});
11
+ })(Permission || (Permission = {}));
@@ -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 = /*#__PURE__*/function (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";
@@ -14,16 +15,16 @@ let AddonId = exports.AddonId = /*#__PURE__*/function (AddonId) {
14
15
  AddonId["PREMIUM_USER"] = "premium_user";
15
16
  AddonId["SITE"] = "site";
16
17
  AddonId["STARTER_USER"] = "starter_user";
17
- return AddonId;
18
- }({});
19
- let ChangeType = exports.ChangeType = /*#__PURE__*/function (ChangeType) {
18
+ })(AddonId || (exports.AddonId = AddonId = {}));
19
+ let ChangeType = exports.ChangeType = void 0;
20
+ /** @deprecated Will be dropped in future */
21
+ (function (ChangeType) {
20
22
  ChangeType["ACTIVATION"] = "activation";
21
23
  ChangeType["UPGRADE"] = "upgrade";
22
24
  ChangeType["DOWNGRADE"] = "downgrade";
23
- return ChangeType;
24
- }({});
25
- /** @deprecated Will be dropped in future */
26
- let PlanLevel = exports.PlanLevel = /*#__PURE__*/function (PlanLevel) {
25
+ })(ChangeType || (exports.ChangeType = ChangeType = {}));
26
+ let PlanLevel = exports.PlanLevel = void 0;
27
+ (function (PlanLevel) {
27
28
  PlanLevel["BASIC"] = "basic";
28
29
  PlanLevel["CORE"] = "core";
29
30
  PlanLevel["ENTERPRISE"] = "enterprise";
@@ -36,5 +37,4 @@ let PlanLevel = exports.PlanLevel = /*#__PURE__*/function (PlanLevel) {
36
37
  PlanLevel["AGENCY_MEDIUM"] = "agency_medium";
37
38
  PlanLevel["AGENCY_LARGE"] = "agency_large";
38
39
  PlanLevel["AGENCY_HUGE"] = "agency_huge";
39
- return PlanLevel;
40
- }({});
40
+ })(PlanLevel || (exports.PlanLevel = PlanLevel = {}));
@@ -1,4 +1,5 @@
1
- export let AddonId = /*#__PURE__*/function (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";
@@ -8,17 +9,17 @@ export let AddonId = /*#__PURE__*/function (AddonId) {
8
9
  AddonId["PREMIUM_USER"] = "premium_user";
9
10
  AddonId["SITE"] = "site";
10
11
  AddonId["STARTER_USER"] = "starter_user";
11
- return AddonId;
12
- }({});
13
- export let ChangeType = /*#__PURE__*/function (ChangeType) {
12
+ })(AddonId || (AddonId = {}));
13
+ export let ChangeType;
14
+
15
+ /** @deprecated Will be dropped in future */
16
+ (function (ChangeType) {
14
17
  ChangeType["ACTIVATION"] = "activation";
15
18
  ChangeType["UPGRADE"] = "upgrade";
16
19
  ChangeType["DOWNGRADE"] = "downgrade";
17
- return ChangeType;
18
- }({});
19
-
20
- /** @deprecated Will be dropped in future */
21
- export let PlanLevel = /*#__PURE__*/function (PlanLevel) {
20
+ })(ChangeType || (ChangeType = {}));
21
+ export let PlanLevel;
22
+ (function (PlanLevel) {
22
23
  PlanLevel["BASIC"] = "basic";
23
24
  PlanLevel["CORE"] = "core";
24
25
  PlanLevel["ENTERPRISE"] = "enterprise";
@@ -31,5 +32,4 @@ export let PlanLevel = /*#__PURE__*/function (PlanLevel) {
31
32
  PlanLevel["AGENCY_MEDIUM"] = "agency_medium";
32
33
  PlanLevel["AGENCY_LARGE"] = "agency_large";
33
34
  PlanLevel["AGENCY_HUGE"] = "agency_huge";
34
- return PlanLevel;
35
- }({});
35
+ })(PlanLevel || (PlanLevel = {}));
@@ -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 = /*#__PURE__*/function (BillingSchema) {
7
+ let BillingSchema = exports.BillingSchema = void 0;
8
+ (function (BillingSchema) {
8
9
  BillingSchema["PER_UNIT"] = "per_unit";
9
10
  BillingSchema["TIERED"] = "tiered";
10
- return BillingSchema;
11
- }({});
12
- let TiersMode = exports.TiersMode = /*#__PURE__*/function (TiersMode) {
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
- return TiersMode;
16
- }({});
16
+ })(TiersMode || (exports.TiersMode = TiersMode = {}));
@@ -1,10 +1,10 @@
1
- export let BillingSchema = /*#__PURE__*/function (BillingSchema) {
1
+ export let BillingSchema;
2
+ (function (BillingSchema) {
2
3
  BillingSchema["PER_UNIT"] = "per_unit";
3
4
  BillingSchema["TIERED"] = "tiered";
4
- return BillingSchema;
5
- }({});
6
- export let TiersMode = /*#__PURE__*/function (TiersMode) {
5
+ })(BillingSchema || (BillingSchema = {}));
6
+ export let TiersMode;
7
+ (function (TiersMode) {
7
8
  TiersMode["GRADUATED"] = "graduated";
8
9
  TiersMode["VOLUME"] = "volume";
9
- return TiersMode;
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 = /*#__PURE__*/function (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
- return Type;
15
- }({});
15
+ })(Type || (Type = {}));
16
16
  _PrivacyRequest.Type = Type;
17
- let Status = /*#__PURE__*/function (Status) {
17
+ let Status;
18
+ (function (Status) {
18
19
  Status["UNCONFIRMED"] = "unconfirmed";
19
20
  Status["CONFIRMED"] = "confirmed";
20
- return Status;
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 = /*#__PURE__*/function (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
- return Type;
9
- }({});
9
+ })(Type || (Type = {}));
10
10
  _PrivacyRequest.Type = Type;
11
- let Status = /*#__PURE__*/function (Status) {
11
+ let Status;
12
+ (function (Status) {
12
13
  Status["UNCONFIRMED"] = "unconfirmed";
13
14
  Status["CONFIRMED"] = "confirmed";
14
- return Status;
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 = /*#__PURE__*/function (Type) {
9
+ let Type;
10
+ (function (Type) {
10
11
  Type["CUSTOM"] = "custom";
11
12
  Type["PREZLYMAIL"] = "prezly_mail";
12
- return Type;
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 = /*#__PURE__*/function (Type) {
3
+ let Type;
4
+ (function (Type) {
4
5
  Type["CUSTOM"] = "custom";
5
6
  Type["PREZLYMAIL"] = "prezly_mail";
6
- return Type;
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 = /*#__PURE__*/function (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
- return VerificationFlowVersion;
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 = /*#__PURE__*/function (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
- return VerificationFlowVersion;
9
- }({});
9
+ })(VerificationFlowVersion || (VerificationFlowVersion = {}));
10
10
  _SenderDomain.VerificationFlowVersion = VerificationFlowVersion;
11
11
  })(SenderDomain || (SenderDomain = {}));
@@ -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 = /*#__PURE__*/function (Direction) {
9
+ let Direction;
10
+ (function (Direction) {
10
11
  Direction["ASC"] = "asc";
11
12
  Direction["DESC"] = "desc";
12
- return Direction;
13
- }({});
13
+ })(Direction || (Direction = {}));
14
14
  _SortOrder.Direction = Direction;
15
15
  function empty() {
16
16
  return {
@@ -1,10 +1,10 @@
1
1
  export let SortOrder;
2
2
  (function (_SortOrder) {
3
- let Direction = /*#__PURE__*/function (Direction) {
3
+ let Direction;
4
+ (function (Direction) {
4
5
  Direction["ASC"] = "asc";
5
6
  Direction["DESC"] = "desc";
6
- return Direction;
7
- }({});
7
+ })(Direction || (Direction = {}));
8
8
  _SortOrder.Direction = Direction;
9
9
  function empty() {
10
10
  return {
@@ -7,43 +7,43 @@ exports.Story = void 0;
7
7
  var _Newsroom = require("./Newsroom.cjs");
8
8
  let Story = exports.Story = void 0;
9
9
  (function (_Story) {
10
- let FormatVersion = /*#__PURE__*/function (FormatVersion) {
10
+ let FormatVersion;
11
+ (function (FormatVersion) {
11
12
  FormatVersion[FormatVersion["HTML"] = 1] = "HTML";
12
13
  FormatVersion[FormatVersion["SLATEJS_V3"] = 3] = "SLATEJS_V3";
13
14
  FormatVersion[FormatVersion["SLATEJS_V4"] = 4] = "SLATEJS_V4";
14
15
  FormatVersion[FormatVersion["SLATEJS_V5"] = 5] = "SLATEJS_V5";
15
16
  FormatVersion[FormatVersion["SLATEJS_V6"] = 6] = "SLATEJS_V6";
16
- return FormatVersion;
17
- }({});
17
+ })(FormatVersion || (FormatVersion = {}));
18
18
  _Story.FormatVersion = FormatVersion;
19
- let Status = /*#__PURE__*/function (Status) {
19
+ let Status;
20
+ (function (Status) {
20
21
  Status["UNINITIALIZED"] = "uninitialized";
21
22
  Status["DRAFT"] = "draft";
22
23
  Status["SCHEDULED"] = "scheduled";
23
24
  Status["EMBARGO"] = "embargo";
24
25
  Status["PUBLISHED"] = "published";
25
- return Status;
26
- }({});
26
+ })(Status || (Status = {}));
27
27
  _Story.Status = Status;
28
28
  const LifecycleStatus = _Story.LifecycleStatus = Status;
29
29
  /**
30
30
  * @deprecated Please use `Status` instead.
31
31
  * @see Status
32
32
  */
33
- let PublicationStatus = /*#__PURE__*/function (PublicationStatus) {
33
+ let PublicationStatus;
34
+ (function (PublicationStatus) {
34
35
  PublicationStatus["NEW"] = "new";
35
36
  PublicationStatus["DRAFT"] = "draft";
36
37
  PublicationStatus["PUBLISHED"] = "published";
37
- return PublicationStatus;
38
- }({});
38
+ })(PublicationStatus || (PublicationStatus = {}));
39
39
  _Story.PublicationStatus = PublicationStatus;
40
- let Visibility = /*#__PURE__*/function (Visibility) {
40
+ let Visibility;
41
+ (function (Visibility) {
41
42
  Visibility["PUBLIC"] = "public";
42
43
  Visibility["EMBARGO"] = "embargo";
43
44
  Visibility["PRIVATE"] = "private";
44
45
  Visibility["CONFIDENTIAL"] = "confidential";
45
- return Visibility;
46
- }({});
46
+ })(Visibility || (Visibility = {}));
47
47
  _Story.Visibility = Visibility;
48
48
  /*
49
49
  * Newsroom status checks
@@ -1,43 +1,43 @@
1
1
  import { Newsroom } from "./Newsroom.js";
2
2
  export let Story;
3
3
  (function (_Story) {
4
- let FormatVersion = /*#__PURE__*/function (FormatVersion) {
4
+ let FormatVersion;
5
+ (function (FormatVersion) {
5
6
  FormatVersion[FormatVersion["HTML"] = 1] = "HTML";
6
7
  FormatVersion[FormatVersion["SLATEJS_V3"] = 3] = "SLATEJS_V3";
7
8
  FormatVersion[FormatVersion["SLATEJS_V4"] = 4] = "SLATEJS_V4";
8
9
  FormatVersion[FormatVersion["SLATEJS_V5"] = 5] = "SLATEJS_V5";
9
10
  FormatVersion[FormatVersion["SLATEJS_V6"] = 6] = "SLATEJS_V6";
10
- return FormatVersion;
11
- }({});
11
+ })(FormatVersion || (FormatVersion = {}));
12
12
  _Story.FormatVersion = FormatVersion;
13
- let Status = /*#__PURE__*/function (Status) {
13
+ let Status;
14
+ (function (Status) {
14
15
  Status["UNINITIALIZED"] = "uninitialized";
15
16
  Status["DRAFT"] = "draft";
16
17
  Status["SCHEDULED"] = "scheduled";
17
18
  Status["EMBARGO"] = "embargo";
18
19
  Status["PUBLISHED"] = "published";
19
- return Status;
20
- }({});
20
+ })(Status || (Status = {}));
21
21
  _Story.Status = Status;
22
22
  const LifecycleStatus = _Story.LifecycleStatus = Status;
23
23
  /**
24
24
  * @deprecated Please use `Status` instead.
25
25
  * @see Status
26
26
  */
27
- let PublicationStatus = /*#__PURE__*/function (PublicationStatus) {
27
+ let PublicationStatus;
28
+ (function (PublicationStatus) {
28
29
  PublicationStatus["NEW"] = "new";
29
30
  PublicationStatus["DRAFT"] = "draft";
30
31
  PublicationStatus["PUBLISHED"] = "published";
31
- return PublicationStatus;
32
- }({});
32
+ })(PublicationStatus || (PublicationStatus = {}));
33
33
  _Story.PublicationStatus = PublicationStatus;
34
- let Visibility = /*#__PURE__*/function (Visibility) {
34
+ let Visibility;
35
+ (function (Visibility) {
35
36
  Visibility["PUBLIC"] = "public";
36
37
  Visibility["EMBARGO"] = "embargo";
37
38
  Visibility["PRIVATE"] = "private";
38
39
  Visibility["CONFIDENTIAL"] = "confidential";
39
- return Visibility;
40
- }({});
40
+ })(Visibility || (Visibility = {}));
41
41
  _Story.Visibility = Visibility;
42
42
  /*
43
43
  * Newsroom status checks
@@ -6,14 +6,15 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.User = void 0;
7
7
  let User = exports.User = void 0;
8
8
  (function (_User) {
9
- let SignInFlow = /*#__PURE__*/function (SignInFlow) {
9
+ let SignInFlow;
10
+ (function (SignInFlow) {
10
11
  SignInFlow["GOOGLE"] = "google";
11
12
  SignInFlow["PASSWORD"] = "password";
12
13
  SignInFlow["SSO"] = "sso";
13
- return SignInFlow;
14
- }({});
14
+ })(SignInFlow || (SignInFlow = {}));
15
15
  _User.SignInFlow = SignInFlow;
16
- let UseCaseAnswer = /*#__PURE__*/function (UseCaseAnswer) {
16
+ let UseCaseAnswer;
17
+ (function (UseCaseAnswer) {
17
18
  UseCaseAnswer["UNKNOWN"] = "unknown";
18
19
  UseCaseAnswer["CAMPAIGNS"] = "campaigns";
19
20
  UseCaseAnswer["CONTACTS"] = "contacts";
@@ -21,7 +22,6 @@ let User = exports.User = void 0;
21
22
  UseCaseAnswer["NEWSROOM"] = "newsroom";
22
23
  UseCaseAnswer["COVERAGE"] = "coverage";
23
24
  UseCaseAnswer["SKIP"] = "skip";
24
- return UseCaseAnswer;
25
- }({});
25
+ })(UseCaseAnswer || (UseCaseAnswer = {}));
26
26
  _User.UseCaseAnswer = UseCaseAnswer;
27
27
  })(User || (exports.User = User = {}));
@@ -1,13 +1,14 @@
1
1
  export let User;
2
2
  (function (_User) {
3
- let SignInFlow = /*#__PURE__*/function (SignInFlow) {
3
+ let SignInFlow;
4
+ (function (SignInFlow) {
4
5
  SignInFlow["GOOGLE"] = "google";
5
6
  SignInFlow["PASSWORD"] = "password";
6
7
  SignInFlow["SSO"] = "sso";
7
- return SignInFlow;
8
- }({});
8
+ })(SignInFlow || (SignInFlow = {}));
9
9
  _User.SignInFlow = SignInFlow;
10
- let UseCaseAnswer = /*#__PURE__*/function (UseCaseAnswer) {
10
+ let UseCaseAnswer;
11
+ (function (UseCaseAnswer) {
11
12
  UseCaseAnswer["UNKNOWN"] = "unknown";
12
13
  UseCaseAnswer["CAMPAIGNS"] = "campaigns";
13
14
  UseCaseAnswer["CONTACTS"] = "contacts";
@@ -15,7 +16,6 @@ export let User;
15
16
  UseCaseAnswer["NEWSROOM"] = "newsroom";
16
17
  UseCaseAnswer["COVERAGE"] = "coverage";
17
18
  UseCaseAnswer["SKIP"] = "skip";
18
- return UseCaseAnswer;
19
- }({});
19
+ })(UseCaseAnswer || (UseCaseAnswer = {}));
20
20
  _User.UseCaseAnswer = UseCaseAnswer;
21
21
  })(User || (User = {}));
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.Notification = void 0;
7
7
  let Notification = exports.Notification = void 0;
8
8
  (function (_Notification) {
9
- let Style = /*#__PURE__*/function (Style) {
9
+ let Style;
10
+ (function (Style) {
10
11
  Style["SUCCESS"] = "success";
11
12
  Style["INFO"] = "info";
12
13
  Style["WARNING"] = "warning";
13
14
  Style["DANGER"] = "danger";
14
- return Style;
15
- }({});
15
+ })(Style || (Style = {}));
16
16
  _Notification.Style = Style;
17
17
  })(Notification || (exports.Notification = Notification = {}));