@prezly/sdk 11.7.1 → 11.8.1-cjs

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 (134) hide show
  1. package/dist/Client.js +33 -27
  2. package/dist/api/ApiClient.js +19 -12
  3. package/dist/api/DeferredJobsApiClient.js +19 -12
  4. package/dist/api/constants.js +9 -2
  5. package/dist/api/index.js +19 -2
  6. package/dist/endpoints/Accounts/Client.js +13 -6
  7. package/dist/endpoints/Accounts/index.js +25 -2
  8. package/dist/endpoints/Accounts/types.js +1 -1
  9. package/dist/endpoints/Billing/Client.js +11 -4
  10. package/dist/endpoints/Billing/index.js +25 -2
  11. package/dist/endpoints/Billing/types.js +15 -6
  12. package/dist/endpoints/CampaignRecipients/Client.js +19 -12
  13. package/dist/endpoints/CampaignRecipients/index.js +37 -3
  14. package/dist/endpoints/CampaignRecipients/types.js +1 -1
  15. package/dist/endpoints/Campaigns/Client.js +25 -18
  16. package/dist/endpoints/Campaigns/index.js +25 -2
  17. package/dist/endpoints/Campaigns/types.js +1 -1
  18. package/dist/endpoints/ContactsExports/Client.js +15 -8
  19. package/dist/endpoints/ContactsExports/index.js +37 -3
  20. package/dist/endpoints/ContactsExports/types.js +1 -1
  21. package/dist/endpoints/Coverage/Client.js +19 -12
  22. package/dist/endpoints/Coverage/index.js +25 -2
  23. package/dist/endpoints/Coverage/types.js +1 -1
  24. package/dist/endpoints/Jobs/Client.js +11 -4
  25. package/dist/endpoints/Jobs/index.js +25 -2
  26. package/dist/endpoints/Jobs/types.js +1 -1
  27. package/dist/endpoints/Licenses/Client.js +11 -4
  28. package/dist/endpoints/Licenses/index.js +15 -1
  29. package/dist/endpoints/NewsroomCategories/Client.js +15 -8
  30. package/dist/endpoints/NewsroomCategories/index.js +25 -2
  31. package/dist/endpoints/NewsroomCategories/types.js +1 -1
  32. package/dist/endpoints/NewsroomContacts/Client.js +18 -11
  33. package/dist/endpoints/NewsroomContacts/index.js +25 -2
  34. package/dist/endpoints/NewsroomContacts/types.js +1 -1
  35. package/dist/endpoints/NewsroomDomains/Client.js +16 -9
  36. package/dist/endpoints/NewsroomDomains/index.js +25 -2
  37. package/dist/endpoints/NewsroomDomains/types.js +1 -1
  38. package/dist/endpoints/NewsroomGalleries/Client.js +20 -13
  39. package/dist/endpoints/NewsroomGalleries/index.js +25 -2
  40. package/dist/endpoints/NewsroomGalleries/types.js +1 -1
  41. package/dist/endpoints/NewsroomLanguages/Client.js +17 -10
  42. package/dist/endpoints/NewsroomLanguages/index.js +25 -2
  43. package/dist/endpoints/NewsroomLanguages/lib.js +7 -1
  44. package/dist/endpoints/NewsroomLanguages/types.js +1 -1
  45. package/dist/endpoints/NewsroomPrivacyRequests/Client.js +12 -5
  46. package/dist/endpoints/NewsroomPrivacyRequests/index.js +25 -2
  47. package/dist/endpoints/NewsroomPrivacyRequests/types.js +1 -1
  48. package/dist/endpoints/NewsroomSubscriptions/Client.js +11 -4
  49. package/dist/endpoints/NewsroomSubscriptions/index.js +25 -2
  50. package/dist/endpoints/NewsroomSubscriptions/types.js +1 -1
  51. package/dist/endpoints/NewsroomThemes/Client.js +14 -7
  52. package/dist/endpoints/NewsroomThemes/index.js +15 -1
  53. package/dist/endpoints/NewsroomWebhooks/Client.js +15 -8
  54. package/dist/endpoints/NewsroomWebhooks/index.js +25 -2
  55. package/dist/endpoints/NewsroomWebhooks/types.js +1 -1
  56. package/dist/endpoints/Newsrooms/Client.js +22 -15
  57. package/dist/endpoints/Newsrooms/index.js +25 -2
  58. package/dist/endpoints/Newsrooms/types.js +1 -1
  59. package/dist/endpoints/NotificationSubscriptions/Client.js +12 -5
  60. package/dist/endpoints/NotificationSubscriptions/index.js +25 -2
  61. package/dist/endpoints/NotificationSubscriptions/types.js +1 -1
  62. package/dist/endpoints/SenderAddresses/Client.js +15 -8
  63. package/dist/endpoints/SenderAddresses/index.js +25 -2
  64. package/dist/endpoints/SenderAddresses/types.js +1 -1
  65. package/dist/endpoints/Signup/Client.js +11 -4
  66. package/dist/endpoints/Signup/index.js +25 -2
  67. package/dist/endpoints/Signup/types.js +9 -2
  68. package/dist/endpoints/Snippets/Client.js +15 -8
  69. package/dist/endpoints/Snippets/index.js +25 -2
  70. package/dist/endpoints/Snippets/types.js +1 -1
  71. package/dist/endpoints/Stories/Client.js +30 -23
  72. package/dist/endpoints/Stories/index.js +35 -3
  73. package/dist/endpoints/Stories/scopes.js +11 -4
  74. package/dist/endpoints/Stories/types.d.ts +5 -0
  75. package/dist/endpoints/Stories/types.js +10 -2
  76. package/dist/endpoints/Subscriptions/Client.js +15 -8
  77. package/dist/endpoints/Subscriptions/index.js +25 -2
  78. package/dist/endpoints/Subscriptions/types.js +9 -2
  79. package/dist/endpoints/index.js +56 -24
  80. package/dist/http/ApiError.js +9 -2
  81. package/dist/http/Http.js +21 -14
  82. package/dist/http/constants.js +12 -3
  83. package/dist/http/createRequest.js +20 -13
  84. package/dist/http/index.js +39 -4
  85. package/dist/http/lib.js +16 -6
  86. package/dist/http/types.js +12 -4
  87. package/dist/index.js +56 -5
  88. package/dist/routing.js +9 -2
  89. package/dist/types/Campaign.js +11 -4
  90. package/dist/types/Category.js +1 -1
  91. package/dist/types/Contact.js +9 -2
  92. package/dist/types/ContactDuplicateSuggestion.js +9 -2
  93. package/dist/types/ContactsExport.js +9 -2
  94. package/dist/types/ContactsScope.js +9 -2
  95. package/dist/types/Country.js +1 -1
  96. package/dist/types/CoverageEntry.js +9 -2
  97. package/dist/types/Culture.js +9 -2
  98. package/dist/types/Currency.js +9 -2
  99. package/dist/types/DnsConfigurationInstruction.js +1 -1
  100. package/dist/types/EmailRecipient.js +9 -2
  101. package/dist/types/EmailSubscription.js +1 -1
  102. package/dist/types/JobState.js +9 -2
  103. package/dist/types/License.js +9 -2
  104. package/dist/types/Newsroom.js +9 -2
  105. package/dist/types/NewsroomCompanyInformation.js +1 -1
  106. package/dist/types/NewsroomContact.js +1 -1
  107. package/dist/types/NewsroomDomain.js +9 -2
  108. package/dist/types/NewsroomGallery.js +9 -2
  109. package/dist/types/NewsroomLanguageSettings.js +1 -1
  110. package/dist/types/NewsroomTheme.js +12 -4
  111. package/dist/types/NewsroomWebhook.js +9 -2
  112. package/dist/types/NotificationSubscription.js +9 -2
  113. package/dist/types/Permissions.js +9 -2
  114. package/dist/types/Plan.js +9 -2
  115. package/dist/types/PrivacyRequest.js +9 -2
  116. package/dist/types/SEOSettings.d.ts +7 -0
  117. package/dist/types/SEOSettings.js +1 -0
  118. package/dist/types/SenderAddress.js +9 -2
  119. package/dist/types/SenderDomain.js +9 -2
  120. package/dist/types/Snippet.js +1 -1
  121. package/dist/types/Story.d.ts +2 -0
  122. package/dist/types/Story.js +9 -2
  123. package/dist/types/User.js +9 -2
  124. package/dist/types/UserAccount.js +1 -1
  125. package/dist/types/common/Notification.js +9 -2
  126. package/dist/types/common/OEmbedInfo.js +9 -2
  127. package/dist/types/common/Pagination.js +9 -4
  128. package/dist/types/common/Query.js +9 -3
  129. package/dist/types/common/Utm.js +1 -1
  130. package/dist/types/common/Warning.js +1 -1
  131. package/dist/types/common/index.js +65 -6
  132. package/dist/types/index.js +325 -33
  133. package/dist/utils.js +9 -2
  134. package/package.json +6 -5
@@ -1,6 +1,13 @@
1
- export let Currency;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Currency = void 0;
7
+ let Currency;
8
+ exports.Currency = Currency;
2
9
  (function (Currency) {
3
10
  Currency["EUR"] = "eur";
4
11
  Currency["USD"] = "usd";
5
12
  Currency["GBP"] = "gbp";
6
- })(Currency || (Currency = {}));
13
+ })(Currency || (exports.Currency = Currency = {}));
@@ -1 +1 @@
1
- export {};
1
+ "use strict";
@@ -1,4 +1,11 @@
1
- export let EmailRecipient;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.EmailRecipient = void 0;
7
+ let EmailRecipient;
8
+ exports.EmailRecipient = EmailRecipient;
2
9
  (function (_EmailRecipient) {
3
10
  let EmailAddressStatus;
4
11
  (function (EmailAddressStatus) {
@@ -8,4 +15,4 @@ export let EmailRecipient;
8
15
  EmailAddressStatus["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
9
16
  })(EmailAddressStatus || (EmailAddressStatus = {}));
10
17
  _EmailRecipient.EmailAddressStatus = EmailAddressStatus;
11
- })(EmailRecipient || (EmailRecipient = {}));
18
+ })(EmailRecipient || (exports.EmailRecipient = EmailRecipient = {}));
@@ -1 +1 @@
1
- export {};
1
+ "use strict";
@@ -1,6 +1,13 @@
1
- export let JobStatus;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.JobStatus = void 0;
7
+ let JobStatus;
8
+ exports.JobStatus = JobStatus;
2
9
  (function (JobStatus) {
3
10
  JobStatus["PENDING"] = "pending";
4
11
  JobStatus["RESOLVED"] = "resolved";
5
12
  JobStatus["REJECTED"] = "rejected";
6
- })(JobStatus || (JobStatus = {}));
13
+ })(JobStatus || (exports.JobStatus = JobStatus = {}));
@@ -1,4 +1,11 @@
1
- export let License;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.License = void 0;
7
+ let License;
8
+ exports.License = License;
2
9
  (function (_License) {
3
10
  let Type;
4
11
  (function (Type) {
@@ -21,4 +28,4 @@ export let License;
21
28
  Status["UNPAID"] = "unpaid";
22
29
  })(Status || (Status = {}));
23
30
  _License.Status = Status;
24
- })(License || (License = {}));
31
+ })(License || (exports.License = License = {}));
@@ -1,4 +1,11 @@
1
- export let Newsroom;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Newsroom = void 0;
7
+ let Newsroom;
8
+ exports.Newsroom = Newsroom;
2
9
  (function (_Newsroom) {
3
10
  let Status;
4
11
  (function (Status) {
@@ -20,4 +27,4 @@ export let Newsroom;
20
27
  TrackingPolicy["CONSENT_TO_IDENTIFY"] = "consent-to-identify";
21
28
  })(TrackingPolicy || (TrackingPolicy = {}));
22
29
  _Newsroom.TrackingPolicy = TrackingPolicy;
23
- })(Newsroom || (Newsroom = {}));
30
+ })(Newsroom || (exports.Newsroom = Newsroom = {}));
@@ -1 +1 @@
1
- export {};
1
+ "use strict";
@@ -1 +1 @@
1
- export {};
1
+ "use strict";
@@ -1,4 +1,11 @@
1
- export let NewsroomDomain;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.NewsroomDomain = void 0;
7
+ let NewsroomDomain;
8
+ exports.NewsroomDomain = NewsroomDomain;
2
9
  (function (_NewsroomDomain) {
3
10
  let Type;
4
11
  (function (Type) {
@@ -14,4 +21,4 @@ export let NewsroomDomain;
14
21
  Status["REDIRECT"] = "redirect";
15
22
  })(Status || (Status = {}));
16
23
  _NewsroomDomain.Status = Status;
17
- })(NewsroomDomain || (NewsroomDomain = {}));
24
+ })(NewsroomDomain || (exports.NewsroomDomain = NewsroomDomain = {}));
@@ -1,4 +1,11 @@
1
- export let NewsroomGallery;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.NewsroomGallery = void 0;
7
+ let NewsroomGallery;
8
+ exports.NewsroomGallery = NewsroomGallery;
2
9
  (function (_NewsroomGallery) {
3
10
  let Status;
4
11
  (function (Status) {
@@ -6,4 +13,4 @@ export let NewsroomGallery;
6
13
  Status["PUBLIC"] = "public";
7
14
  })(Status || (Status = {}));
8
15
  _NewsroomGallery.Status = Status;
9
- })(NewsroomGallery || (NewsroomGallery = {}));
16
+ })(NewsroomGallery || (exports.NewsroomGallery = NewsroomGallery = {}));
@@ -1 +1 @@
1
- export {};
1
+ "use strict";
@@ -1,4 +1,11 @@
1
- export let NewsroomTheme;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.NewsroomThemePreset = exports.NewsroomTheme = void 0;
7
+ let NewsroomTheme;
8
+ exports.NewsroomTheme = NewsroomTheme;
2
9
  (function (_NewsroomTheme) {
3
10
  let Status;
4
11
  (function (Status) {
@@ -25,6 +32,7 @@ export let NewsroomTheme;
25
32
  return theme.features.includes(feature);
26
33
  }
27
34
  _NewsroomTheme.isFeatureSupported = isFeatureSupported;
28
- })(NewsroomTheme || (NewsroomTheme = {}));
29
- export let NewsroomThemePreset;
30
- (function (_NewsroomThemePreset) {})(NewsroomThemePreset || (NewsroomThemePreset = {}));
35
+ })(NewsroomTheme || (exports.NewsroomTheme = NewsroomTheme = {}));
36
+ let NewsroomThemePreset;
37
+ exports.NewsroomThemePreset = NewsroomThemePreset;
38
+ (function (_NewsroomThemePreset) {})(NewsroomThemePreset || (exports.NewsroomThemePreset = NewsroomThemePreset = {}));
@@ -1,4 +1,11 @@
1
- export let NewsroomWebhook;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.NewsroomWebhook = void 0;
7
+ let NewsroomWebhook;
8
+ exports.NewsroomWebhook = NewsroomWebhook;
2
9
  (function (_NewsroomWebhook) {
3
10
  let Event;
4
11
  (function (Event) {
@@ -10,4 +17,4 @@ export let NewsroomWebhook;
10
17
  Event["CATEGORY_DELETED"] = "category.deleted";
11
18
  })(Event || (Event = {}));
12
19
  _NewsroomWebhook.Event = Event;
13
- })(NewsroomWebhook || (NewsroomWebhook = {}));
20
+ })(NewsroomWebhook || (exports.NewsroomWebhook = NewsroomWebhook = {}));
@@ -1,4 +1,11 @@
1
- export let NotificationSubscription;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.NotificationSubscription = void 0;
7
+ let NotificationSubscription;
8
+ exports.NotificationSubscription = NotificationSubscription;
2
9
  (function (_NotificationSubscription) {
3
10
  let Area;
4
11
  (function (Area) {
@@ -7,4 +14,4 @@ export let NotificationSubscription;
7
14
  Area["BILLING_AND_LEGAL"] = "Billing & Legal";
8
15
  })(Area || (Area = {}));
9
16
  _NotificationSubscription.Area = Area;
10
- })(NotificationSubscription || (NotificationSubscription = {}));
17
+ })(NotificationSubscription || (exports.NotificationSubscription = NotificationSubscription = {}));
@@ -1,4 +1,11 @@
1
- export let Permission;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Permission = void 0;
7
+ let Permission;
8
+ exports.Permission = Permission;
2
9
  (function (Permission) {
3
10
  Permission["CREATE_NEWSROOM"] = "create_newsroom";
4
11
  Permission["EXPORT_CONTACTS"] = "export_contacts";
@@ -8,4 +15,4 @@ export let Permission;
8
15
  Permission["VIEW_CONTACTS"] = "view_contacts";
9
16
  Permission["CREATE_SENDER_ADDRESS"] = "create_sender_address";
10
17
  Permission["SEND_EMAILS"] = "send_emails";
11
- })(Permission || (Permission = {}));
18
+ })(Permission || (exports.Permission = Permission = {}));
@@ -1,4 +1,11 @@
1
- export let PlanLevel;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PlanLevel = void 0;
7
+ let PlanLevel;
8
+ exports.PlanLevel = PlanLevel;
2
9
  (function (PlanLevel) {
3
10
  PlanLevel["BASIC"] = "basic";
4
11
  PlanLevel["CORE"] = "core";
@@ -8,4 +15,4 @@ export let PlanLevel;
8
15
  PlanLevel["PREMIUM"] = "premium";
9
16
  PlanLevel["PROFESSIONAL"] = "professional";
10
17
  PlanLevel["STARTER"] = "starter";
11
- })(PlanLevel || (PlanLevel = {}));
18
+ })(PlanLevel || (exports.PlanLevel = PlanLevel = {}));
@@ -1,4 +1,11 @@
1
- export let PrivacyRequest;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PrivacyRequest = void 0;
7
+ let PrivacyRequest;
8
+ exports.PrivacyRequest = PrivacyRequest;
2
9
  (function (_PrivacyRequest) {
3
10
  let Type;
4
11
  (function (Type) {
@@ -14,4 +21,4 @@ export let PrivacyRequest;
14
21
  Status["CONFIRMED"] = "confirmed";
15
22
  })(Status || (Status = {}));
16
23
  _PrivacyRequest.Status = Status;
17
- })(PrivacyRequest || (PrivacyRequest = {}));
24
+ })(PrivacyRequest || (exports.PrivacyRequest = PrivacyRequest = {}));
@@ -0,0 +1,7 @@
1
+ export interface SEOSettings {
2
+ default_meta_title: string | null;
3
+ default_meta_description: string | null;
4
+ meta_title: string | null;
5
+ meta_description: string | null;
6
+ canonical_url: string | null;
7
+ }
@@ -0,0 +1 @@
1
+ "use strict";
@@ -1,4 +1,11 @@
1
- export let SenderAddress;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SenderAddress = void 0;
7
+ let SenderAddress;
8
+ exports.SenderAddress = SenderAddress;
2
9
  (function (_SenderAddress) {
3
10
  let Type;
4
11
  (function (Type) {
@@ -6,4 +13,4 @@ export let SenderAddress;
6
13
  Type["PREZLYMAIL"] = "prezly_mail";
7
14
  })(Type || (Type = {}));
8
15
  _SenderAddress.Type = Type;
9
- })(SenderAddress || (SenderAddress = {}));
16
+ })(SenderAddress || (exports.SenderAddress = SenderAddress = {}));
@@ -1,4 +1,11 @@
1
- export let SenderDomain;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SenderDomain = void 0;
7
+ let SenderDomain;
8
+ exports.SenderDomain = SenderDomain;
2
9
  (function (_SenderDomain) {
3
10
  let VerificationFlowVersion;
4
11
  (function (VerificationFlowVersion) {
@@ -8,4 +15,4 @@ export let SenderDomain;
8
15
  VerificationFlowVersion["PREZLYMAIL"] = "prezlymail";
9
16
  })(VerificationFlowVersion || (VerificationFlowVersion = {}));
10
17
  _SenderDomain.VerificationFlowVersion = VerificationFlowVersion;
11
- })(SenderDomain || (SenderDomain = {}));
18
+ })(SenderDomain || (exports.SenderDomain = SenderDomain = {}));
@@ -1 +1 @@
1
- export {};
1
+ "use strict";
@@ -2,6 +2,7 @@ import type { Category } from './Category';
2
2
  import type { OEmbedInfo } from './common';
3
3
  import type { CultureRef } from './Culture';
4
4
  import type { NewsroomRef } from './Newsroom';
5
+ import type { SEOSettings } from './SEOSettings';
5
6
  import type { UserRef } from './User';
6
7
  export interface StoryRef {
7
8
  uuid: string;
@@ -132,6 +133,7 @@ export interface Story {
132
133
  visibility: Story.Visibility;
133
134
  is_pinned: boolean;
134
135
  pinned_by: UserRef | null;
136
+ seo_settings: SEOSettings;
135
137
  }
136
138
  export declare namespace Story {
137
139
  enum FormatVersion {
@@ -1,4 +1,11 @@
1
- export let Story;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Story = void 0;
7
+ let Story;
8
+ exports.Story = Story;
2
9
  (function (_Story) {
3
10
  let FormatVersion;
4
11
  (function (FormatVersion) {
@@ -79,4 +86,4 @@ export let Story;
79
86
  return arg === FormatVersion.SLATEJS;
80
87
  }
81
88
  _Story.isSlateFormat = isSlateFormat;
82
- })(Story || (Story = {}));
89
+ })(Story || (exports.Story = Story = {}));
@@ -1,4 +1,11 @@
1
- export let User;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.User = void 0;
7
+ let User;
8
+ exports.User = User;
2
9
  (function (_User) {
3
10
  let SignInFlow;
4
11
  (function (SignInFlow) {
@@ -18,4 +25,4 @@ export let User;
18
25
  UseCaseAnswer["SKIP"] = "skip";
19
26
  })(UseCaseAnswer || (UseCaseAnswer = {}));
20
27
  _User.UseCaseAnswer = UseCaseAnswer;
21
- })(User || (User = {}));
28
+ })(User || (exports.User = User = {}));
@@ -1 +1 @@
1
- export {};
1
+ "use strict";
@@ -1,4 +1,11 @@
1
- export let Notification;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Notification = void 0;
7
+ let Notification;
8
+ exports.Notification = Notification;
2
9
  (function (_Notification) {
3
10
  let Style;
4
11
  (function (Style) {
@@ -8,4 +15,4 @@ export let Notification;
8
15
  Style["DANGER"] = "danger";
9
16
  })(Style || (Style = {}));
10
17
  _Notification.Style = Style;
11
- })(Notification || (Notification = {}));
18
+ })(Notification || (exports.Notification = Notification = {}));
@@ -1,4 +1,11 @@
1
- export let OEmbedInfo;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.OEmbedInfo = void 0;
7
+ let OEmbedInfo;
8
+ exports.OEmbedInfo = OEmbedInfo;
2
9
  (function (_OEmbedInfo) {
3
10
  let Type;
4
11
  (function (Type) {
@@ -8,4 +15,4 @@ export let OEmbedInfo;
8
15
  Type["VIDEO"] = "video";
9
16
  })(Type || (Type = {}));
10
17
  _OEmbedInfo.Type = Type;
11
- })(OEmbedInfo || (OEmbedInfo = {}));
18
+ })(OEmbedInfo || (exports.OEmbedInfo = OEmbedInfo = {}));
@@ -1,10 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SelectionMode = void 0;
1
7
  /**
2
8
  * @see https://api.prezly.com/v2/common/schema.json#/definitions/Pagination
3
- */
4
-
5
- export let SelectionMode;
9
+ */let SelectionMode;
10
+ exports.SelectionMode = SelectionMode;
6
11
  (function (SelectionMode) {
7
12
  SelectionMode["ALL"] = "all";
8
13
  SelectionMode["IN"] = "in";
9
14
  SelectionMode["NOT_IN"] = "not_in";
10
- })(SelectionMode || (SelectionMode = {}));
15
+ })(SelectionMode || (exports.SelectionMode = SelectionMode = {}));
@@ -1,9 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Query = void 0;
1
7
  // TODO: Refine Query typings
2
8
  /**
3
9
  * @see https://developers.prezly.com/docs/api/docs/06-prezly-query-language.md
4
10
  */
5
-
6
- export let Query;
11
+ let Query;
12
+ exports.Query = Query;
7
13
  (function (_Query) {
8
14
  function stringify(query) {
9
15
  if (!query) {
@@ -12,4 +18,4 @@ export let Query;
12
18
  return typeof query === 'string' ? query : JSON.stringify(query);
13
19
  }
14
20
  _Query.stringify = stringify;
15
- })(Query || (Query = {}));
21
+ })(Query || (exports.Query = Query = {}));
@@ -1 +1 @@
1
- export {};
1
+ "use strict";
@@ -1 +1 @@
1
- export {};
1
+ "use strict";
@@ -1,6 +1,65 @@
1
- export * from "./Notification.js";
2
- export * from "./OEmbedInfo.js";
3
- export * from "./Pagination.js";
4
- export * from "./Query.js";
5
- export * from "./Utm.js";
6
- export * from "./Warning.js";
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _Notification = require("./Notification.js");
7
+ Object.keys(_Notification).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ Object.defineProperty(exports, key, {
10
+ enumerable: true,
11
+ get: function () {
12
+ return _Notification[key];
13
+ }
14
+ });
15
+ });
16
+ var _OEmbedInfo = require("./OEmbedInfo.js");
17
+ Object.keys(_OEmbedInfo).forEach(function (key) {
18
+ if (key === "default" || key === "__esModule") return;
19
+ Object.defineProperty(exports, key, {
20
+ enumerable: true,
21
+ get: function () {
22
+ return _OEmbedInfo[key];
23
+ }
24
+ });
25
+ });
26
+ var _Pagination = require("./Pagination.js");
27
+ Object.keys(_Pagination).forEach(function (key) {
28
+ if (key === "default" || key === "__esModule") return;
29
+ Object.defineProperty(exports, key, {
30
+ enumerable: true,
31
+ get: function () {
32
+ return _Pagination[key];
33
+ }
34
+ });
35
+ });
36
+ var _Query = require("./Query.js");
37
+ Object.keys(_Query).forEach(function (key) {
38
+ if (key === "default" || key === "__esModule") return;
39
+ Object.defineProperty(exports, key, {
40
+ enumerable: true,
41
+ get: function () {
42
+ return _Query[key];
43
+ }
44
+ });
45
+ });
46
+ var _Utm = require("./Utm.js");
47
+ Object.keys(_Utm).forEach(function (key) {
48
+ if (key === "default" || key === "__esModule") return;
49
+ Object.defineProperty(exports, key, {
50
+ enumerable: true,
51
+ get: function () {
52
+ return _Utm[key];
53
+ }
54
+ });
55
+ });
56
+ var _Warning = require("./Warning.js");
57
+ Object.keys(_Warning).forEach(function (key) {
58
+ if (key === "default" || key === "__esModule") return;
59
+ Object.defineProperty(exports, key, {
60
+ enumerable: true,
61
+ get: function () {
62
+ return _Warning[key];
63
+ }
64
+ });
65
+ });