@prezly/sdk 19.4.2 → 19.6.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 (126) hide show
  1. package/dist/api/DeferredJobsApiClient.cjs +1 -0
  2. package/dist/api/DeferredJobsApiClient.js +1 -0
  3. package/dist/api/constants.cjs +3 -2
  4. package/dist/api/constants.js +1 -1
  5. package/dist/endpoints/Accounts/index.cjs +0 -2
  6. package/dist/endpoints/Billing/index.cjs +0 -2
  7. package/dist/endpoints/Billing/types.cjs +9 -7
  8. package/dist/endpoints/Billing/types.js +6 -6
  9. package/dist/endpoints/CampaignRecipients/index.cjs +0 -2
  10. package/dist/endpoints/Campaigns/index.cjs +0 -2
  11. package/dist/endpoints/Contacts/index.cjs +0 -2
  12. package/dist/endpoints/ContactsExports/index.cjs +0 -2
  13. package/dist/endpoints/Coverage/index.cjs +0 -2
  14. package/dist/endpoints/Jobs/index.cjs +0 -2
  15. package/dist/endpoints/Licenses/index.cjs +0 -1
  16. package/dist/endpoints/NewsroomCategories/index.cjs +0 -2
  17. package/dist/endpoints/NewsroomContacts/index.cjs +0 -2
  18. package/dist/endpoints/NewsroomDomains/index.cjs +0 -2
  19. package/dist/endpoints/NewsroomGalleries/index.cjs +0 -2
  20. package/dist/endpoints/NewsroomHub/index.cjs +0 -2
  21. package/dist/endpoints/NewsroomLanguages/index.cjs +0 -2
  22. package/dist/endpoints/NewsroomPrivacyRequests/index.cjs +0 -2
  23. package/dist/endpoints/NewsroomSubscriptions/Client.cjs +17 -0
  24. package/dist/endpoints/NewsroomSubscriptions/Client.d.ts +2 -1
  25. package/dist/endpoints/NewsroomSubscriptions/Client.js +17 -0
  26. package/dist/endpoints/NewsroomSubscriptions/index.cjs +0 -2
  27. package/dist/endpoints/NewsroomSubscriptions/types.d.ts +15 -1
  28. package/dist/endpoints/NewsroomThemes/index.cjs +0 -1
  29. package/dist/endpoints/NewsroomWebhooks/index.cjs +0 -2
  30. package/dist/endpoints/Newsrooms/index.cjs +0 -2
  31. package/dist/endpoints/Newsrooms/types.d.ts +1 -0
  32. package/dist/endpoints/NotificationSubscriptions/index.cjs +0 -2
  33. package/dist/endpoints/PricingTables/index.cjs +0 -2
  34. package/dist/endpoints/PricingTables/types.cjs +17 -13
  35. package/dist/endpoints/PricingTables/types.js +12 -12
  36. package/dist/endpoints/SenderAddresses/index.cjs +0 -2
  37. package/dist/endpoints/Snippets/index.cjs +0 -2
  38. package/dist/endpoints/Stories/Client.cjs +4 -23
  39. package/dist/endpoints/Stories/Client.js +7 -22
  40. package/dist/endpoints/Stories/index.cjs +0 -3
  41. package/dist/endpoints/Stories/scopes.cjs +3 -2
  42. package/dist/endpoints/Stories/types.cjs +4 -14
  43. package/dist/endpoints/Stories/types.js +3 -13
  44. package/dist/endpoints/Subscriptions/index.cjs +0 -2
  45. package/dist/endpoints/Subscriptions/types.cjs +4 -3
  46. package/dist/endpoints/Subscriptions/types.js +3 -3
  47. package/dist/endpoints/index.cjs +3 -3
  48. package/dist/http/constants.cjs +6 -3
  49. package/dist/http/index.cjs +8 -8
  50. package/dist/http/types.cjs +8 -6
  51. package/dist/http/types.js +6 -6
  52. package/dist/index.cjs +4 -7
  53. package/dist/routing.cjs +3 -3
  54. package/dist/routing.d.ts +0 -1
  55. package/dist/routing.js +0 -1
  56. package/dist/types/BillingCycle.cjs +4 -3
  57. package/dist/types/BillingCycle.js +3 -3
  58. package/dist/types/Campaign.cjs +20 -19
  59. package/dist/types/Campaign.js +18 -18
  60. package/dist/types/Category.cjs +2 -1
  61. package/dist/types/Contact.cjs +20 -19
  62. package/dist/types/Contact.js +18 -18
  63. package/dist/types/ContactDuplicateSuggestion.cjs +5 -5
  64. package/dist/types/ContactDuplicateSuggestion.js +4 -3
  65. package/dist/types/ContactsExport.cjs +5 -4
  66. package/dist/types/ContactsExport.js +3 -3
  67. package/dist/types/ContactsScope.cjs +5 -4
  68. package/dist/types/ContactsScope.js +3 -3
  69. package/dist/types/CoverageEntry.cjs +8 -7
  70. package/dist/types/CoverageEntry.js +6 -6
  71. package/dist/types/Culture.cjs +5 -10
  72. package/dist/types/Culture.js +3 -9
  73. package/dist/types/Currency.cjs +4 -3
  74. package/dist/types/Currency.js +3 -3
  75. package/dist/types/EmailRecipient.cjs +5 -4
  76. package/dist/types/EmailRecipient.js +3 -3
  77. package/dist/types/EmailSubscription.d.ts +1 -0
  78. package/dist/types/JobState.cjs +4 -3
  79. package/dist/types/JobState.js +3 -3
  80. package/dist/types/License.cjs +11 -10
  81. package/dist/types/License.js +9 -9
  82. package/dist/types/Newsroom.cjs +11 -13
  83. package/dist/types/Newsroom.d.ts +2 -0
  84. package/dist/types/Newsroom.js +9 -12
  85. package/dist/types/NewsroomDomain.cjs +8 -7
  86. package/dist/types/NewsroomDomain.js +6 -6
  87. package/dist/types/NewsroomGallery.cjs +8 -7
  88. package/dist/types/NewsroomGallery.js +6 -6
  89. package/dist/types/NewsroomSubscription.cjs +1 -0
  90. package/dist/types/NewsroomSubscription.d.ts +8 -0
  91. package/dist/types/NewsroomSubscription.js +1 -0
  92. package/dist/types/NewsroomTheme.cjs +11 -8
  93. package/dist/types/NewsroomTheme.js +8 -7
  94. package/dist/types/NewsroomWebhook.cjs +5 -4
  95. package/dist/types/NewsroomWebhook.js +3 -3
  96. package/dist/types/NotificationSubscription.cjs +5 -4
  97. package/dist/types/NotificationSubscription.js +3 -3
  98. package/dist/types/Permissions.cjs +4 -3
  99. package/dist/types/Permissions.js +3 -3
  100. package/dist/types/Plan.cjs +8 -7
  101. package/dist/types/Plan.js +8 -8
  102. package/dist/types/PrivacyRequest.cjs +8 -7
  103. package/dist/types/PrivacyRequest.js +6 -6
  104. package/dist/types/SenderAddress.cjs +5 -4
  105. package/dist/types/SenderAddress.js +3 -3
  106. package/dist/types/SenderDomain.cjs +5 -4
  107. package/dist/types/SenderDomain.js +3 -3
  108. package/dist/types/SortOrder.cjs +5 -4
  109. package/dist/types/SortOrder.js +3 -3
  110. package/dist/types/Story.cjs +18 -29
  111. package/dist/types/Story.js +16 -28
  112. package/dist/types/User.cjs +8 -7
  113. package/dist/types/User.js +6 -6
  114. package/dist/types/common/Notification.cjs +5 -4
  115. package/dist/types/common/Notification.js +3 -3
  116. package/dist/types/common/OEmbedInfo.cjs +5 -4
  117. package/dist/types/common/OEmbedInfo.js +3 -3
  118. package/dist/types/common/Pagination.cjs +4 -4
  119. package/dist/types/common/Pagination.js +3 -3
  120. package/dist/types/common/Query.cjs +2 -1
  121. package/dist/types/common/Query.js +1 -0
  122. package/dist/types/common/index.cjs +0 -6
  123. package/dist/types/index.cjs +10 -36
  124. package/dist/types/index.d.ts +1 -0
  125. package/dist/types/index.js +1 -0
  126. package/package.json +1 -1
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  var _index = require("./common/index.cjs");
7
7
  Object.keys(_index).forEach(function (key) {
8
8
  if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _index[key]) return;
10
9
  Object.defineProperty(exports, key, {
11
10
  enumerable: true,
12
11
  get: function () {
@@ -17,7 +16,6 @@ Object.keys(_index).forEach(function (key) {
17
16
  var _BillingCycle = require("./BillingCycle.cjs");
18
17
  Object.keys(_BillingCycle).forEach(function (key) {
19
18
  if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _BillingCycle[key]) return;
21
19
  Object.defineProperty(exports, key, {
22
20
  enumerable: true,
23
21
  get: function () {
@@ -28,7 +26,6 @@ Object.keys(_BillingCycle).forEach(function (key) {
28
26
  var _Campaign = require("./Campaign.cjs");
29
27
  Object.keys(_Campaign).forEach(function (key) {
30
28
  if (key === "default" || key === "__esModule") return;
31
- if (key in exports && exports[key] === _Campaign[key]) return;
32
29
  Object.defineProperty(exports, key, {
33
30
  enumerable: true,
34
31
  get: function () {
@@ -39,7 +36,6 @@ Object.keys(_Campaign).forEach(function (key) {
39
36
  var _Category = require("./Category.cjs");
40
37
  Object.keys(_Category).forEach(function (key) {
41
38
  if (key === "default" || key === "__esModule") return;
42
- if (key in exports && exports[key] === _Category[key]) return;
43
39
  Object.defineProperty(exports, key, {
44
40
  enumerable: true,
45
41
  get: function () {
@@ -50,7 +46,6 @@ Object.keys(_Category).forEach(function (key) {
50
46
  var _Contact = require("./Contact.cjs");
51
47
  Object.keys(_Contact).forEach(function (key) {
52
48
  if (key === "default" || key === "__esModule") return;
53
- if (key in exports && exports[key] === _Contact[key]) return;
54
49
  Object.defineProperty(exports, key, {
55
50
  enumerable: true,
56
51
  get: function () {
@@ -61,7 +56,6 @@ Object.keys(_Contact).forEach(function (key) {
61
56
  var _ContactDuplicateSuggestion = require("./ContactDuplicateSuggestion.cjs");
62
57
  Object.keys(_ContactDuplicateSuggestion).forEach(function (key) {
63
58
  if (key === "default" || key === "__esModule") return;
64
- if (key in exports && exports[key] === _ContactDuplicateSuggestion[key]) return;
65
59
  Object.defineProperty(exports, key, {
66
60
  enumerable: true,
67
61
  get: function () {
@@ -72,7 +66,6 @@ Object.keys(_ContactDuplicateSuggestion).forEach(function (key) {
72
66
  var _ContactsBulkSelector = require("./ContactsBulkSelector.cjs");
73
67
  Object.keys(_ContactsBulkSelector).forEach(function (key) {
74
68
  if (key === "default" || key === "__esModule") return;
75
- if (key in exports && exports[key] === _ContactsBulkSelector[key]) return;
76
69
  Object.defineProperty(exports, key, {
77
70
  enumerable: true,
78
71
  get: function () {
@@ -83,7 +76,6 @@ Object.keys(_ContactsBulkSelector).forEach(function (key) {
83
76
  var _ContactsExport = require("./ContactsExport.cjs");
84
77
  Object.keys(_ContactsExport).forEach(function (key) {
85
78
  if (key === "default" || key === "__esModule") return;
86
- if (key in exports && exports[key] === _ContactsExport[key]) return;
87
79
  Object.defineProperty(exports, key, {
88
80
  enumerable: true,
89
81
  get: function () {
@@ -94,7 +86,6 @@ Object.keys(_ContactsExport).forEach(function (key) {
94
86
  var _ContactsScope = require("./ContactsScope.cjs");
95
87
  Object.keys(_ContactsScope).forEach(function (key) {
96
88
  if (key === "default" || key === "__esModule") return;
97
- if (key in exports && exports[key] === _ContactsScope[key]) return;
98
89
  Object.defineProperty(exports, key, {
99
90
  enumerable: true,
100
91
  get: function () {
@@ -105,7 +96,6 @@ Object.keys(_ContactsScope).forEach(function (key) {
105
96
  var _Country = require("./Country.cjs");
106
97
  Object.keys(_Country).forEach(function (key) {
107
98
  if (key === "default" || key === "__esModule") return;
108
- if (key in exports && exports[key] === _Country[key]) return;
109
99
  Object.defineProperty(exports, key, {
110
100
  enumerable: true,
111
101
  get: function () {
@@ -116,7 +106,6 @@ Object.keys(_Country).forEach(function (key) {
116
106
  var _CoverageEntry = require("./CoverageEntry.cjs");
117
107
  Object.keys(_CoverageEntry).forEach(function (key) {
118
108
  if (key === "default" || key === "__esModule") return;
119
- if (key in exports && exports[key] === _CoverageEntry[key]) return;
120
109
  Object.defineProperty(exports, key, {
121
110
  enumerable: true,
122
111
  get: function () {
@@ -127,7 +116,6 @@ Object.keys(_CoverageEntry).forEach(function (key) {
127
116
  var _Culture = require("./Culture.cjs");
128
117
  Object.keys(_Culture).forEach(function (key) {
129
118
  if (key === "default" || key === "__esModule") return;
130
- if (key in exports && exports[key] === _Culture[key]) return;
131
119
  Object.defineProperty(exports, key, {
132
120
  enumerable: true,
133
121
  get: function () {
@@ -138,7 +126,6 @@ Object.keys(_Culture).forEach(function (key) {
138
126
  var _Currency = require("./Currency.cjs");
139
127
  Object.keys(_Currency).forEach(function (key) {
140
128
  if (key === "default" || key === "__esModule") return;
141
- if (key in exports && exports[key] === _Currency[key]) return;
142
129
  Object.defineProperty(exports, key, {
143
130
  enumerable: true,
144
131
  get: function () {
@@ -149,7 +136,6 @@ Object.keys(_Currency).forEach(function (key) {
149
136
  var _DnsConfigurationInstruction = require("./DnsConfigurationInstruction.cjs");
150
137
  Object.keys(_DnsConfigurationInstruction).forEach(function (key) {
151
138
  if (key === "default" || key === "__esModule") return;
152
- if (key in exports && exports[key] === _DnsConfigurationInstruction[key]) return;
153
139
  Object.defineProperty(exports, key, {
154
140
  enumerable: true,
155
141
  get: function () {
@@ -160,7 +146,6 @@ Object.keys(_DnsConfigurationInstruction).forEach(function (key) {
160
146
  var _EmailRecipient = require("./EmailRecipient.cjs");
161
147
  Object.keys(_EmailRecipient).forEach(function (key) {
162
148
  if (key === "default" || key === "__esModule") return;
163
- if (key in exports && exports[key] === _EmailRecipient[key]) return;
164
149
  Object.defineProperty(exports, key, {
165
150
  enumerable: true,
166
151
  get: function () {
@@ -171,7 +156,6 @@ Object.keys(_EmailRecipient).forEach(function (key) {
171
156
  var _EmailSubscription = require("./EmailSubscription.cjs");
172
157
  Object.keys(_EmailSubscription).forEach(function (key) {
173
158
  if (key === "default" || key === "__esModule") return;
174
- if (key in exports && exports[key] === _EmailSubscription[key]) return;
175
159
  Object.defineProperty(exports, key, {
176
160
  enumerable: true,
177
161
  get: function () {
@@ -182,7 +166,6 @@ Object.keys(_EmailSubscription).forEach(function (key) {
182
166
  var _JobState = require("./JobState.cjs");
183
167
  Object.keys(_JobState).forEach(function (key) {
184
168
  if (key === "default" || key === "__esModule") return;
185
- if (key in exports && exports[key] === _JobState[key]) return;
186
169
  Object.defineProperty(exports, key, {
187
170
  enumerable: true,
188
171
  get: function () {
@@ -193,7 +176,6 @@ Object.keys(_JobState).forEach(function (key) {
193
176
  var _License = require("./License.cjs");
194
177
  Object.keys(_License).forEach(function (key) {
195
178
  if (key === "default" || key === "__esModule") return;
196
- if (key in exports && exports[key] === _License[key]) return;
197
179
  Object.defineProperty(exports, key, {
198
180
  enumerable: true,
199
181
  get: function () {
@@ -204,7 +186,6 @@ Object.keys(_License).forEach(function (key) {
204
186
  var _Newsroom = require("./Newsroom.cjs");
205
187
  Object.keys(_Newsroom).forEach(function (key) {
206
188
  if (key === "default" || key === "__esModule") return;
207
- if (key in exports && exports[key] === _Newsroom[key]) return;
208
189
  Object.defineProperty(exports, key, {
209
190
  enumerable: true,
210
191
  get: function () {
@@ -215,7 +196,6 @@ Object.keys(_Newsroom).forEach(function (key) {
215
196
  var _NewsroomCompanyInformation = require("./NewsroomCompanyInformation.cjs");
216
197
  Object.keys(_NewsroomCompanyInformation).forEach(function (key) {
217
198
  if (key === "default" || key === "__esModule") return;
218
- if (key in exports && exports[key] === _NewsroomCompanyInformation[key]) return;
219
199
  Object.defineProperty(exports, key, {
220
200
  enumerable: true,
221
201
  get: function () {
@@ -226,7 +206,6 @@ Object.keys(_NewsroomCompanyInformation).forEach(function (key) {
226
206
  var _NewsroomContact = require("./NewsroomContact.cjs");
227
207
  Object.keys(_NewsroomContact).forEach(function (key) {
228
208
  if (key === "default" || key === "__esModule") return;
229
- if (key in exports && exports[key] === _NewsroomContact[key]) return;
230
209
  Object.defineProperty(exports, key, {
231
210
  enumerable: true,
232
211
  get: function () {
@@ -237,7 +216,6 @@ Object.keys(_NewsroomContact).forEach(function (key) {
237
216
  var _NewsroomDomain = require("./NewsroomDomain.cjs");
238
217
  Object.keys(_NewsroomDomain).forEach(function (key) {
239
218
  if (key === "default" || key === "__esModule") return;
240
- if (key in exports && exports[key] === _NewsroomDomain[key]) return;
241
219
  Object.defineProperty(exports, key, {
242
220
  enumerable: true,
243
221
  get: function () {
@@ -248,7 +226,6 @@ Object.keys(_NewsroomDomain).forEach(function (key) {
248
226
  var _NewsroomGallery = require("./NewsroomGallery.cjs");
249
227
  Object.keys(_NewsroomGallery).forEach(function (key) {
250
228
  if (key === "default" || key === "__esModule") return;
251
- if (key in exports && exports[key] === _NewsroomGallery[key]) return;
252
229
  Object.defineProperty(exports, key, {
253
230
  enumerable: true,
254
231
  get: function () {
@@ -259,7 +236,6 @@ Object.keys(_NewsroomGallery).forEach(function (key) {
259
236
  var _NewsroomLanguageSettings = require("./NewsroomLanguageSettings.cjs");
260
237
  Object.keys(_NewsroomLanguageSettings).forEach(function (key) {
261
238
  if (key === "default" || key === "__esModule") return;
262
- if (key in exports && exports[key] === _NewsroomLanguageSettings[key]) return;
263
239
  Object.defineProperty(exports, key, {
264
240
  enumerable: true,
265
241
  get: function () {
@@ -267,10 +243,19 @@ Object.keys(_NewsroomLanguageSettings).forEach(function (key) {
267
243
  }
268
244
  });
269
245
  });
246
+ var _NewsroomSubscription = require("./NewsroomSubscription.cjs");
247
+ Object.keys(_NewsroomSubscription).forEach(function (key) {
248
+ if (key === "default" || key === "__esModule") return;
249
+ Object.defineProperty(exports, key, {
250
+ enumerable: true,
251
+ get: function () {
252
+ return _NewsroomSubscription[key];
253
+ }
254
+ });
255
+ });
270
256
  var _NewsroomTheme = require("./NewsroomTheme.cjs");
271
257
  Object.keys(_NewsroomTheme).forEach(function (key) {
272
258
  if (key === "default" || key === "__esModule") return;
273
- if (key in exports && exports[key] === _NewsroomTheme[key]) return;
274
259
  Object.defineProperty(exports, key, {
275
260
  enumerable: true,
276
261
  get: function () {
@@ -281,7 +266,6 @@ Object.keys(_NewsroomTheme).forEach(function (key) {
281
266
  var _NewsroomWebhook = require("./NewsroomWebhook.cjs");
282
267
  Object.keys(_NewsroomWebhook).forEach(function (key) {
283
268
  if (key === "default" || key === "__esModule") return;
284
- if (key in exports && exports[key] === _NewsroomWebhook[key]) return;
285
269
  Object.defineProperty(exports, key, {
286
270
  enumerable: true,
287
271
  get: function () {
@@ -292,7 +276,6 @@ Object.keys(_NewsroomWebhook).forEach(function (key) {
292
276
  var _Plan = require("./Plan.cjs");
293
277
  Object.keys(_Plan).forEach(function (key) {
294
278
  if (key === "default" || key === "__esModule") return;
295
- if (key in exports && exports[key] === _Plan[key]) return;
296
279
  Object.defineProperty(exports, key, {
297
280
  enumerable: true,
298
281
  get: function () {
@@ -303,7 +286,6 @@ Object.keys(_Plan).forEach(function (key) {
303
286
  var _PrivacyRequest = require("./PrivacyRequest.cjs");
304
287
  Object.keys(_PrivacyRequest).forEach(function (key) {
305
288
  if (key === "default" || key === "__esModule") return;
306
- if (key in exports && exports[key] === _PrivacyRequest[key]) return;
307
289
  Object.defineProperty(exports, key, {
308
290
  enumerable: true,
309
291
  get: function () {
@@ -314,7 +296,6 @@ Object.keys(_PrivacyRequest).forEach(function (key) {
314
296
  var _SenderAddress = require("./SenderAddress.cjs");
315
297
  Object.keys(_SenderAddress).forEach(function (key) {
316
298
  if (key === "default" || key === "__esModule") return;
317
- if (key in exports && exports[key] === _SenderAddress[key]) return;
318
299
  Object.defineProperty(exports, key, {
319
300
  enumerable: true,
320
301
  get: function () {
@@ -325,7 +306,6 @@ Object.keys(_SenderAddress).forEach(function (key) {
325
306
  var _SenderDomain = require("./SenderDomain.cjs");
326
307
  Object.keys(_SenderDomain).forEach(function (key) {
327
308
  if (key === "default" || key === "__esModule") return;
328
- if (key in exports && exports[key] === _SenderDomain[key]) return;
329
309
  Object.defineProperty(exports, key, {
330
310
  enumerable: true,
331
311
  get: function () {
@@ -336,7 +316,6 @@ Object.keys(_SenderDomain).forEach(function (key) {
336
316
  var _Snippet = require("./Snippet.cjs");
337
317
  Object.keys(_Snippet).forEach(function (key) {
338
318
  if (key === "default" || key === "__esModule") return;
339
- if (key in exports && exports[key] === _Snippet[key]) return;
340
319
  Object.defineProperty(exports, key, {
341
320
  enumerable: true,
342
321
  get: function () {
@@ -347,7 +326,6 @@ Object.keys(_Snippet).forEach(function (key) {
347
326
  var _SortOrder = require("./SortOrder.cjs");
348
327
  Object.keys(_SortOrder).forEach(function (key) {
349
328
  if (key === "default" || key === "__esModule") return;
350
- if (key in exports && exports[key] === _SortOrder[key]) return;
351
329
  Object.defineProperty(exports, key, {
352
330
  enumerable: true,
353
331
  get: function () {
@@ -358,7 +336,6 @@ Object.keys(_SortOrder).forEach(function (key) {
358
336
  var _Story = require("./Story.cjs");
359
337
  Object.keys(_Story).forEach(function (key) {
360
338
  if (key === "default" || key === "__esModule") return;
361
- if (key in exports && exports[key] === _Story[key]) return;
362
339
  Object.defineProperty(exports, key, {
363
340
  enumerable: true,
364
341
  get: function () {
@@ -369,7 +346,6 @@ Object.keys(_Story).forEach(function (key) {
369
346
  var _User = require("./User.cjs");
370
347
  Object.keys(_User).forEach(function (key) {
371
348
  if (key === "default" || key === "__esModule") return;
372
- if (key in exports && exports[key] === _User[key]) return;
373
349
  Object.defineProperty(exports, key, {
374
350
  enumerable: true,
375
351
  get: function () {
@@ -380,7 +356,6 @@ Object.keys(_User).forEach(function (key) {
380
356
  var _UserAccount = require("./UserAccount.cjs");
381
357
  Object.keys(_UserAccount).forEach(function (key) {
382
358
  if (key === "default" || key === "__esModule") return;
383
- if (key in exports && exports[key] === _UserAccount[key]) return;
384
359
  Object.defineProperty(exports, key, {
385
360
  enumerable: true,
386
361
  get: function () {
@@ -391,7 +366,6 @@ Object.keys(_UserAccount).forEach(function (key) {
391
366
  var _NotificationSubscription = require("./NotificationSubscription.cjs");
392
367
  Object.keys(_NotificationSubscription).forEach(function (key) {
393
368
  if (key === "default" || key === "__esModule") return;
394
- if (key in exports && exports[key] === _NotificationSubscription[key]) return;
395
369
  Object.defineProperty(exports, key, {
396
370
  enumerable: true,
397
371
  get: function () {
@@ -22,6 +22,7 @@ export * from './NewsroomContact';
22
22
  export * from './NewsroomDomain';
23
23
  export * from './NewsroomGallery';
24
24
  export * from './NewsroomLanguageSettings';
25
+ export * from './NewsroomSubscription';
25
26
  export * from './NewsroomTheme';
26
27
  export * from './NewsroomWebhook';
27
28
  export * from './Plan';
@@ -23,6 +23,7 @@ export * from "./NewsroomContact.js";
23
23
  export * from "./NewsroomDomain.js";
24
24
  export * from "./NewsroomGallery.js";
25
25
  export * from "./NewsroomLanguageSettings.js";
26
+ export * from "./NewsroomSubscription.js";
26
27
  export * from "./NewsroomTheme.js";
27
28
  export * from "./NewsroomWebhook.js";
28
29
  export * from "./Plan.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "19.4.2",
3
+ "version": "19.6.0",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",