@prezly/sdk 20.0.0 → 20.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) 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/PricingTables/types.cjs +12 -12
  6. package/dist/endpoints/PricingTables/types.js +12 -12
  7. package/dist/endpoints/Subscriptions/types.cjs +3 -3
  8. package/dist/endpoints/Subscriptions/types.js +3 -3
  9. package/dist/http/types.cjs +6 -6
  10. package/dist/http/types.js +6 -6
  11. package/dist/types/BillingCycle.cjs +3 -3
  12. package/dist/types/BillingCycle.js +3 -3
  13. package/dist/types/Campaign.cjs +18 -18
  14. package/dist/types/Campaign.js +18 -18
  15. package/dist/types/Category.cjs +0 -1
  16. package/dist/types/Category.js +0 -1
  17. package/dist/types/Contact.cjs +18 -18
  18. package/dist/types/Contact.js +18 -18
  19. package/dist/types/ContactDuplicateSuggestion.cjs +3 -3
  20. package/dist/types/ContactDuplicateSuggestion.js +3 -4
  21. package/dist/types/ContactsExport.cjs +3 -3
  22. package/dist/types/ContactsExport.js +3 -3
  23. package/dist/types/ContactsScope.cjs +3 -3
  24. package/dist/types/ContactsScope.js +3 -3
  25. package/dist/types/CoverageEntry.cjs +6 -6
  26. package/dist/types/CoverageEntry.js +6 -6
  27. package/dist/types/Culture.cjs +3 -3
  28. package/dist/types/Culture.js +3 -3
  29. package/dist/types/Currency.cjs +3 -3
  30. package/dist/types/Currency.js +3 -3
  31. package/dist/types/EmailRecipient.cjs +3 -3
  32. package/dist/types/EmailRecipient.js +3 -3
  33. package/dist/types/JobState.cjs +3 -3
  34. package/dist/types/JobState.js +3 -3
  35. package/dist/types/License.cjs +9 -9
  36. package/dist/types/License.js +9 -9
  37. package/dist/types/Newsroom.cjs +12 -12
  38. package/dist/types/Newsroom.js +12 -12
  39. package/dist/types/NewsroomDomain.cjs +6 -6
  40. package/dist/types/NewsroomDomain.js +6 -6
  41. package/dist/types/NewsroomGallery.cjs +6 -6
  42. package/dist/types/NewsroomGallery.js +6 -6
  43. package/dist/types/NewsroomTheme.cjs +7 -8
  44. package/dist/types/NewsroomTheme.js +7 -8
  45. package/dist/types/NewsroomWebhook.cjs +3 -3
  46. package/dist/types/NewsroomWebhook.js +3 -3
  47. package/dist/types/NotificationSubscription.cjs +4 -3
  48. package/dist/types/NotificationSubscription.d.ts +1 -0
  49. package/dist/types/NotificationSubscription.js +4 -3
  50. package/dist/types/Permissions.cjs +3 -3
  51. package/dist/types/Permissions.js +3 -3
  52. package/dist/types/Plan.cjs +7 -7
  53. package/dist/types/Plan.js +8 -8
  54. package/dist/types/PrivacyRequest.cjs +6 -6
  55. package/dist/types/PrivacyRequest.js +6 -6
  56. package/dist/types/SenderAddress.cjs +3 -3
  57. package/dist/types/SenderAddress.js +3 -3
  58. package/dist/types/SenderDomain.cjs +3 -3
  59. package/dist/types/SenderDomain.js +3 -3
  60. package/dist/types/SortOrder.cjs +3 -3
  61. package/dist/types/SortOrder.js +3 -3
  62. package/dist/types/Story.cjs +12 -12
  63. package/dist/types/Story.js +12 -12
  64. package/dist/types/User.cjs +6 -6
  65. package/dist/types/User.js +6 -6
  66. package/dist/types/UserAccount.d.ts +1 -0
  67. package/dist/types/common/Notification.cjs +3 -3
  68. package/dist/types/common/Notification.js +3 -3
  69. package/dist/types/common/OEmbedInfo.cjs +3 -3
  70. package/dist/types/common/OEmbedInfo.js +3 -3
  71. package/dist/types/common/Pagination.cjs +3 -3
  72. package/dist/types/common/Pagination.js +3 -3
  73. package/dist/types/common/Query.js +0 -1
  74. package/package.json +1 -1
@@ -4,15 +4,14 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.PlanLevel = exports.ChangeType = void 0;
7
- let ChangeType = exports.ChangeType = void 0;
8
- /** @deprecated Will be dropped in future */
9
- (function (ChangeType) {
7
+ let ChangeType = exports.ChangeType = /*#__PURE__*/function (ChangeType) {
10
8
  ChangeType["ACTIVATION"] = "activation";
11
9
  ChangeType["UPGRADE"] = "upgrade";
12
10
  ChangeType["DOWNGRADE"] = "downgrade";
13
- })(ChangeType || (exports.ChangeType = ChangeType = {}));
14
- let PlanLevel = exports.PlanLevel = void 0;
15
- (function (PlanLevel) {
11
+ return ChangeType;
12
+ }({});
13
+ /** @deprecated Will be dropped in future */
14
+ let PlanLevel = exports.PlanLevel = /*#__PURE__*/function (PlanLevel) {
16
15
  PlanLevel["BASIC"] = "basic";
17
16
  PlanLevel["CORE"] = "core";
18
17
  PlanLevel["ENTERPRISE"] = "enterprise";
@@ -25,4 +24,5 @@ let PlanLevel = exports.PlanLevel = void 0;
25
24
  PlanLevel["AGENCY_MEDIUM"] = "agency_medium";
26
25
  PlanLevel["AGENCY_LARGE"] = "agency_large";
27
26
  PlanLevel["AGENCY_HUGE"] = "agency_huge";
28
- })(PlanLevel || (exports.PlanLevel = PlanLevel = {}));
27
+ return PlanLevel;
28
+ }({});
@@ -1,13 +1,12 @@
1
- export let ChangeType;
2
-
3
- /** @deprecated Will be dropped in future */
4
- (function (ChangeType) {
1
+ export let ChangeType = /*#__PURE__*/function (ChangeType) {
5
2
  ChangeType["ACTIVATION"] = "activation";
6
3
  ChangeType["UPGRADE"] = "upgrade";
7
4
  ChangeType["DOWNGRADE"] = "downgrade";
8
- })(ChangeType || (ChangeType = {}));
9
- export let PlanLevel;
10
- (function (PlanLevel) {
5
+ return ChangeType;
6
+ }({});
7
+
8
+ /** @deprecated Will be dropped in future */
9
+ export let PlanLevel = /*#__PURE__*/function (PlanLevel) {
11
10
  PlanLevel["BASIC"] = "basic";
12
11
  PlanLevel["CORE"] = "core";
13
12
  PlanLevel["ENTERPRISE"] = "enterprise";
@@ -20,4 +19,5 @@ export let PlanLevel;
20
19
  PlanLevel["AGENCY_MEDIUM"] = "agency_medium";
21
20
  PlanLevel["AGENCY_LARGE"] = "agency_large";
22
21
  PlanLevel["AGENCY_HUGE"] = "agency_huge";
23
- })(PlanLevel || (PlanLevel = {}));
22
+ return PlanLevel;
23
+ }({});
@@ -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;
10
- (function (Type) {
9
+ let Type = /*#__PURE__*/function (Type) {
11
10
  Type["DELETE"] = "delete";
12
11
  Type["EXPORT"] = "export";
13
12
  Type["CORRECT"] = "correct";
14
13
  Type["OTHER"] = "other";
15
- })(Type || (Type = {}));
14
+ return Type;
15
+ }({});
16
16
  _PrivacyRequest.Type = Type;
17
- let Status;
18
- (function (Status) {
17
+ let Status = /*#__PURE__*/function (Status) {
19
18
  Status["UNCONFIRMED"] = "unconfirmed";
20
19
  Status["CONFIRMED"] = "confirmed";
21
- })(Status || (Status = {}));
20
+ return Status;
21
+ }({});
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;
4
- (function (Type) {
3
+ let Type = /*#__PURE__*/function (Type) {
5
4
  Type["DELETE"] = "delete";
6
5
  Type["EXPORT"] = "export";
7
6
  Type["CORRECT"] = "correct";
8
7
  Type["OTHER"] = "other";
9
- })(Type || (Type = {}));
8
+ return Type;
9
+ }({});
10
10
  _PrivacyRequest.Type = Type;
11
- let Status;
12
- (function (Status) {
11
+ let Status = /*#__PURE__*/function (Status) {
13
12
  Status["UNCONFIRMED"] = "unconfirmed";
14
13
  Status["CONFIRMED"] = "confirmed";
15
- })(Status || (Status = {}));
14
+ return Status;
15
+ }({});
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;
10
- (function (Type) {
9
+ let Type = /*#__PURE__*/function (Type) {
11
10
  Type["CUSTOM"] = "custom";
12
11
  Type["PREZLYMAIL"] = "prezly_mail";
13
- })(Type || (Type = {}));
12
+ return Type;
13
+ }({});
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;
4
- (function (Type) {
3
+ let Type = /*#__PURE__*/function (Type) {
5
4
  Type["CUSTOM"] = "custom";
6
5
  Type["PREZLYMAIL"] = "prezly_mail";
7
- })(Type || (Type = {}));
6
+ return Type;
7
+ }({});
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;
10
- (function (VerificationFlowVersion) {
9
+ let VerificationFlowVersion = /*#__PURE__*/function (VerificationFlowVersion) {
11
10
  VerificationFlowVersion["V1"] = "v1";
12
11
  VerificationFlowVersion["V2"] = "v2";
13
12
  VerificationFlowVersion["V3"] = "v3";
14
13
  VerificationFlowVersion["PREZLYMAIL"] = "prezlymail";
15
- })(VerificationFlowVersion || (VerificationFlowVersion = {}));
14
+ return VerificationFlowVersion;
15
+ }({});
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;
4
- (function (VerificationFlowVersion) {
3
+ let VerificationFlowVersion = /*#__PURE__*/function (VerificationFlowVersion) {
5
4
  VerificationFlowVersion["V1"] = "v1";
6
5
  VerificationFlowVersion["V2"] = "v2";
7
6
  VerificationFlowVersion["V3"] = "v3";
8
7
  VerificationFlowVersion["PREZLYMAIL"] = "prezlymail";
9
- })(VerificationFlowVersion || (VerificationFlowVersion = {}));
8
+ return VerificationFlowVersion;
9
+ }({});
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;
10
- (function (Direction) {
9
+ let Direction = /*#__PURE__*/function (Direction) {
11
10
  Direction["ASC"] = "asc";
12
11
  Direction["DESC"] = "desc";
13
- })(Direction || (Direction = {}));
12
+ return Direction;
13
+ }({});
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;
4
- (function (Direction) {
3
+ let Direction = /*#__PURE__*/function (Direction) {
5
4
  Direction["ASC"] = "asc";
6
5
  Direction["DESC"] = "desc";
7
- })(Direction || (Direction = {}));
6
+ return Direction;
7
+ }({});
8
8
  _SortOrder.Direction = Direction;
9
9
  function empty() {
10
10
  return {
@@ -7,22 +7,22 @@ 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;
11
- (function (FormatVersion) {
10
+ let FormatVersion = /*#__PURE__*/function (FormatVersion) {
12
11
  FormatVersion[FormatVersion["HTML"] = 1] = "HTML";
13
12
  FormatVersion[FormatVersion["SLATEJS_V3"] = 3] = "SLATEJS_V3";
14
13
  FormatVersion[FormatVersion["SLATEJS_V4"] = 4] = "SLATEJS_V4";
15
14
  FormatVersion[FormatVersion["SLATEJS_V5"] = 5] = "SLATEJS_V5";
16
- })(FormatVersion || (FormatVersion = {}));
15
+ return FormatVersion;
16
+ }({});
17
17
  _Story.FormatVersion = FormatVersion;
18
- let Status;
19
- (function (Status) {
18
+ let Status = /*#__PURE__*/function (Status) {
20
19
  Status["UNINITIALIZED"] = "uninitialized";
21
20
  Status["DRAFT"] = "draft";
22
21
  Status["SCHEDULED"] = "scheduled";
23
22
  Status["EMBARGO"] = "embargo";
24
23
  Status["PUBLISHED"] = "published";
25
- })(Status || (Status = {}));
24
+ return Status;
25
+ }({});
26
26
  _Story.Status = Status;
27
27
  /**
28
28
  * @deprecated Please use `Status` instead.
@@ -33,20 +33,20 @@ let Story = exports.Story = void 0;
33
33
  * @deprecated Please use `Status` instead.
34
34
  * @see Status
35
35
  */
36
- let PublicationStatus;
37
- (function (PublicationStatus) {
36
+ let PublicationStatus = /*#__PURE__*/function (PublicationStatus) {
38
37
  PublicationStatus["NEW"] = "new";
39
38
  PublicationStatus["DRAFT"] = "draft";
40
39
  PublicationStatus["PUBLISHED"] = "published";
41
- })(PublicationStatus || (PublicationStatus = {}));
40
+ return PublicationStatus;
41
+ }({});
42
42
  _Story.PublicationStatus = PublicationStatus;
43
- let Visibility;
44
- (function (Visibility) {
43
+ let Visibility = /*#__PURE__*/function (Visibility) {
45
44
  Visibility["PUBLIC"] = "public";
46
45
  Visibility["EMBARGO"] = "embargo";
47
46
  Visibility["PRIVATE"] = "private";
48
47
  Visibility["CONFIDENTIAL"] = "confidential";
49
- })(Visibility || (Visibility = {}));
48
+ return Visibility;
49
+ }({});
50
50
  _Story.Visibility = Visibility;
51
51
  /*
52
52
  * Newsroom status checks
@@ -1,22 +1,22 @@
1
1
  import { Newsroom } from "./Newsroom.js";
2
2
  export let Story;
3
3
  (function (_Story) {
4
- let FormatVersion;
5
- (function (FormatVersion) {
4
+ let FormatVersion = /*#__PURE__*/function (FormatVersion) {
6
5
  FormatVersion[FormatVersion["HTML"] = 1] = "HTML";
7
6
  FormatVersion[FormatVersion["SLATEJS_V3"] = 3] = "SLATEJS_V3";
8
7
  FormatVersion[FormatVersion["SLATEJS_V4"] = 4] = "SLATEJS_V4";
9
8
  FormatVersion[FormatVersion["SLATEJS_V5"] = 5] = "SLATEJS_V5";
10
- })(FormatVersion || (FormatVersion = {}));
9
+ return FormatVersion;
10
+ }({});
11
11
  _Story.FormatVersion = FormatVersion;
12
- let Status;
13
- (function (Status) {
12
+ let Status = /*#__PURE__*/function (Status) {
14
13
  Status["UNINITIALIZED"] = "uninitialized";
15
14
  Status["DRAFT"] = "draft";
16
15
  Status["SCHEDULED"] = "scheduled";
17
16
  Status["EMBARGO"] = "embargo";
18
17
  Status["PUBLISHED"] = "published";
19
- })(Status || (Status = {}));
18
+ return Status;
19
+ }({});
20
20
  _Story.Status = Status;
21
21
  /**
22
22
  * @deprecated Please use `Status` instead.
@@ -27,20 +27,20 @@ export let Story;
27
27
  * @deprecated Please use `Status` instead.
28
28
  * @see Status
29
29
  */
30
- let PublicationStatus;
31
- (function (PublicationStatus) {
30
+ let PublicationStatus = /*#__PURE__*/function (PublicationStatus) {
32
31
  PublicationStatus["NEW"] = "new";
33
32
  PublicationStatus["DRAFT"] = "draft";
34
33
  PublicationStatus["PUBLISHED"] = "published";
35
- })(PublicationStatus || (PublicationStatus = {}));
34
+ return PublicationStatus;
35
+ }({});
36
36
  _Story.PublicationStatus = PublicationStatus;
37
- let Visibility;
38
- (function (Visibility) {
37
+ let Visibility = /*#__PURE__*/function (Visibility) {
39
38
  Visibility["PUBLIC"] = "public";
40
39
  Visibility["EMBARGO"] = "embargo";
41
40
  Visibility["PRIVATE"] = "private";
42
41
  Visibility["CONFIDENTIAL"] = "confidential";
43
- })(Visibility || (Visibility = {}));
42
+ return Visibility;
43
+ }({});
44
44
  _Story.Visibility = Visibility;
45
45
  /*
46
46
  * Newsroom status checks
@@ -6,15 +6,14 @@ 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;
10
- (function (SignInFlow) {
9
+ let SignInFlow = /*#__PURE__*/function (SignInFlow) {
11
10
  SignInFlow["GOOGLE"] = "google";
12
11
  SignInFlow["PASSWORD"] = "password";
13
12
  SignInFlow["SSO"] = "sso";
14
- })(SignInFlow || (SignInFlow = {}));
13
+ return SignInFlow;
14
+ }({});
15
15
  _User.SignInFlow = SignInFlow;
16
- let UseCaseAnswer;
17
- (function (UseCaseAnswer) {
16
+ let UseCaseAnswer = /*#__PURE__*/function (UseCaseAnswer) {
18
17
  UseCaseAnswer["UNKNOWN"] = "unknown";
19
18
  UseCaseAnswer["CAMPAIGNS"] = "campaigns";
20
19
  UseCaseAnswer["CONTACTS"] = "contacts";
@@ -22,6 +21,7 @@ let User = exports.User = void 0;
22
21
  UseCaseAnswer["NEWSROOM"] = "newsroom";
23
22
  UseCaseAnswer["COVERAGE"] = "coverage";
24
23
  UseCaseAnswer["SKIP"] = "skip";
25
- })(UseCaseAnswer || (UseCaseAnswer = {}));
24
+ return UseCaseAnswer;
25
+ }({});
26
26
  _User.UseCaseAnswer = UseCaseAnswer;
27
27
  })(User || (exports.User = User = {}));
@@ -1,14 +1,13 @@
1
1
  export let User;
2
2
  (function (_User) {
3
- let SignInFlow;
4
- (function (SignInFlow) {
3
+ let SignInFlow = /*#__PURE__*/function (SignInFlow) {
5
4
  SignInFlow["GOOGLE"] = "google";
6
5
  SignInFlow["PASSWORD"] = "password";
7
6
  SignInFlow["SSO"] = "sso";
8
- })(SignInFlow || (SignInFlow = {}));
7
+ return SignInFlow;
8
+ }({});
9
9
  _User.SignInFlow = SignInFlow;
10
- let UseCaseAnswer;
11
- (function (UseCaseAnswer) {
10
+ let UseCaseAnswer = /*#__PURE__*/function (UseCaseAnswer) {
12
11
  UseCaseAnswer["UNKNOWN"] = "unknown";
13
12
  UseCaseAnswer["CAMPAIGNS"] = "campaigns";
14
13
  UseCaseAnswer["CONTACTS"] = "contacts";
@@ -16,6 +15,7 @@ export let User;
16
15
  UseCaseAnswer["NEWSROOM"] = "newsroom";
17
16
  UseCaseAnswer["COVERAGE"] = "coverage";
18
17
  UseCaseAnswer["SKIP"] = "skip";
19
- })(UseCaseAnswer || (UseCaseAnswer = {}));
18
+ return UseCaseAnswer;
19
+ }({});
20
20
  _User.UseCaseAnswer = UseCaseAnswer;
21
21
  })(User || (User = {}));
@@ -43,6 +43,7 @@ export interface UserAccount {
43
43
  joined_license_at: string;
44
44
  is_license_owner: boolean;
45
45
  last_seen_license_at: string | null;
46
+ two_factor_provider: 'email' | 'totp';
46
47
  time_format: string;
47
48
  timezone_offset: string;
48
49
  timezone: string;
@@ -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;
10
- (function (Style) {
9
+ let Style = /*#__PURE__*/function (Style) {
11
10
  Style["SUCCESS"] = "success";
12
11
  Style["INFO"] = "info";
13
12
  Style["WARNING"] = "warning";
14
13
  Style["DANGER"] = "danger";
15
- })(Style || (Style = {}));
14
+ return Style;
15
+ }({});
16
16
  _Notification.Style = Style;
17
17
  })(Notification || (exports.Notification = Notification = {}));
@@ -1,11 +1,11 @@
1
1
  export let Notification;
2
2
  (function (_Notification) {
3
- let Style;
4
- (function (Style) {
3
+ let Style = /*#__PURE__*/function (Style) {
5
4
  Style["SUCCESS"] = "success";
6
5
  Style["INFO"] = "info";
7
6
  Style["WARNING"] = "warning";
8
7
  Style["DANGER"] = "danger";
9
- })(Style || (Style = {}));
8
+ return Style;
9
+ }({});
10
10
  _Notification.Style = Style;
11
11
  })(Notification || (Notification = {}));
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.OEmbedInfo = void 0;
7
7
  let OEmbedInfo = exports.OEmbedInfo = void 0;
8
8
  (function (_OEmbedInfo) {
9
- let Type;
10
- (function (Type) {
9
+ let Type = /*#__PURE__*/function (Type) {
11
10
  Type["LINK"] = "link";
12
11
  Type["PHOTO"] = "photo";
13
12
  Type["RICH"] = "rich";
14
13
  Type["VIDEO"] = "video";
15
- })(Type || (Type = {}));
14
+ return Type;
15
+ }({});
16
16
  _OEmbedInfo.Type = Type;
17
17
  })(OEmbedInfo || (exports.OEmbedInfo = OEmbedInfo = {}));
@@ -1,11 +1,11 @@
1
1
  export let OEmbedInfo;
2
2
  (function (_OEmbedInfo) {
3
- let Type;
4
- (function (Type) {
3
+ let Type = /*#__PURE__*/function (Type) {
5
4
  Type["LINK"] = "link";
6
5
  Type["PHOTO"] = "photo";
7
6
  Type["RICH"] = "rich";
8
7
  Type["VIDEO"] = "video";
9
- })(Type || (Type = {}));
8
+ return Type;
9
+ }({});
10
10
  _OEmbedInfo.Type = Type;
11
11
  })(OEmbedInfo || (OEmbedInfo = {}));
@@ -7,9 +7,9 @@ exports.SelectionMode = void 0;
7
7
  /**
8
8
  * @see https://api.prezly.com/v2/common/schema.json#/definitions/Pagination
9
9
  */
10
- let SelectionMode = exports.SelectionMode = void 0;
11
- (function (SelectionMode) {
10
+ let SelectionMode = exports.SelectionMode = /*#__PURE__*/function (SelectionMode) {
12
11
  SelectionMode["ALL"] = "all";
13
12
  SelectionMode["IN"] = "in";
14
13
  SelectionMode["NOT_IN"] = "not_in";
15
- })(SelectionMode || (exports.SelectionMode = SelectionMode = {}));
14
+ return SelectionMode;
15
+ }({});
@@ -2,9 +2,9 @@
2
2
  * @see https://api.prezly.com/v2/common/schema.json#/definitions/Pagination
3
3
  */
4
4
 
5
- export let SelectionMode;
6
- (function (SelectionMode) {
5
+ export let SelectionMode = /*#__PURE__*/function (SelectionMode) {
7
6
  SelectionMode["ALL"] = "all";
8
7
  SelectionMode["IN"] = "in";
9
8
  SelectionMode["NOT_IN"] = "not_in";
10
- })(SelectionMode || (SelectionMode = {}));
9
+ return SelectionMode;
10
+ }({});
@@ -2,7 +2,6 @@
2
2
  /**
3
3
  * @see https://developers.prezly.com/docs/api/docs/06-prezly-query-language.md
4
4
  */
5
-
6
5
  export let Query;
7
6
  (function (_Query) {
8
7
  function stringify(query) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "20.0.0",
3
+ "version": "20.2.0",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",