@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,11 +1,11 @@
1
1
  export let Notification;
2
2
  (function (_Notification) {
3
- let Style = /*#__PURE__*/function (Style) {
3
+ let Style;
4
+ (function (Style) {
4
5
  Style["SUCCESS"] = "success";
5
6
  Style["INFO"] = "info";
6
7
  Style["WARNING"] = "warning";
7
8
  Style["DANGER"] = "danger";
8
- return Style;
9
- }({});
9
+ })(Style || (Style = {}));
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 = /*#__PURE__*/function (Type) {
9
+ let Type;
10
+ (function (Type) {
10
11
  Type["LINK"] = "link";
11
12
  Type["PHOTO"] = "photo";
12
13
  Type["RICH"] = "rich";
13
14
  Type["VIDEO"] = "video";
14
- return Type;
15
- }({});
15
+ })(Type || (Type = {}));
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 = /*#__PURE__*/function (Type) {
3
+ let Type;
4
+ (function (Type) {
4
5
  Type["LINK"] = "link";
5
6
  Type["PHOTO"] = "photo";
6
7
  Type["RICH"] = "rich";
7
8
  Type["VIDEO"] = "video";
8
- return Type;
9
- }({});
9
+ })(Type || (Type = {}));
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 = /*#__PURE__*/function (SelectionMode) {
10
+ let SelectionMode = exports.SelectionMode = void 0;
11
+ (function (SelectionMode) {
11
12
  SelectionMode["ALL"] = "all";
12
13
  SelectionMode["IN"] = "in";
13
14
  SelectionMode["NOT_IN"] = "not_in";
14
- return SelectionMode;
15
- }({});
15
+ })(SelectionMode || (exports.SelectionMode = SelectionMode = {}));
@@ -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 = /*#__PURE__*/function (SelectionMode) {
5
+ export let SelectionMode;
6
+ (function (SelectionMode) {
6
7
  SelectionMode["ALL"] = "all";
7
8
  SelectionMode["IN"] = "in";
8
9
  SelectionMode["NOT_IN"] = "not_in";
9
- return SelectionMode;
10
- }({});
10
+ })(SelectionMode || (SelectionMode = {}));
@@ -2,6 +2,7 @@
2
2
  /**
3
3
  * @see https://developers.prezly.com/docs/api/docs/06-prezly-query-language.md
4
4
  */
5
+
5
6
  export let Query;
6
7
  (function (_Query) {
7
8
  function stringify(query) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "23.3.0",
3
+ "version": "23.4.0",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",