@prezly/sdk 23.0.1 → 23.1.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 (89) 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/PricingTables/types.cjs +12 -12
  8. package/dist/endpoints/PricingTables/types.js +12 -12
  9. package/dist/endpoints/Subscriptions/types.cjs +3 -3
  10. package/dist/endpoints/Subscriptions/types.js +3 -3
  11. package/dist/http/types.cjs +6 -6
  12. package/dist/http/types.js +6 -6
  13. package/dist/types/BillingCycle.cjs +3 -3
  14. package/dist/types/BillingCycle.js +3 -3
  15. package/dist/types/Campaign.cjs +18 -18
  16. package/dist/types/Campaign.js +18 -18
  17. package/dist/types/Category.cjs +0 -1
  18. package/dist/types/Category.js +0 -1
  19. package/dist/types/Contact.cjs +18 -18
  20. package/dist/types/Contact.js +18 -18
  21. package/dist/types/ContactDuplicateSuggestion.cjs +3 -3
  22. package/dist/types/ContactDuplicateSuggestion.js +3 -4
  23. package/dist/types/ContactTag.cjs +1 -2
  24. package/dist/types/ContactTag.js +1 -2
  25. package/dist/types/ContactsExport.cjs +3 -3
  26. package/dist/types/ContactsExport.js +3 -3
  27. package/dist/types/ContactsScope.cjs +3 -3
  28. package/dist/types/ContactsScope.js +3 -3
  29. package/dist/types/CoverageEntry.cjs +9 -9
  30. package/dist/types/CoverageEntry.js +9 -9
  31. package/dist/types/CoverageIntegration.cjs +3 -3
  32. package/dist/types/CoverageIntegration.js +3 -3
  33. package/dist/types/CoverageIntegrationRun.cjs +3 -3
  34. package/dist/types/CoverageIntegrationRun.js +3 -3
  35. package/dist/types/Culture.cjs +3 -3
  36. package/dist/types/Culture.d.ts +5 -0
  37. package/dist/types/Culture.js +3 -3
  38. package/dist/types/Currency.cjs +3 -3
  39. package/dist/types/Currency.js +3 -3
  40. package/dist/types/EmailRecipient.cjs +3 -3
  41. package/dist/types/EmailRecipient.js +3 -3
  42. package/dist/types/JobState.cjs +3 -3
  43. package/dist/types/JobState.js +3 -3
  44. package/dist/types/Language.cjs +1 -0
  45. package/dist/types/Language.d.ts +4 -0
  46. package/dist/types/Language.js +1 -0
  47. package/dist/types/License.cjs +9 -9
  48. package/dist/types/License.js +9 -9
  49. package/dist/types/Newsroom.cjs +12 -12
  50. package/dist/types/Newsroom.js +12 -12
  51. package/dist/types/NewsroomDomain.cjs +6 -6
  52. package/dist/types/NewsroomDomain.js +6 -6
  53. package/dist/types/NewsroomGallery.cjs +6 -6
  54. package/dist/types/NewsroomGallery.js +6 -6
  55. package/dist/types/NewsroomTheme.cjs +7 -8
  56. package/dist/types/NewsroomTheme.js +7 -8
  57. package/dist/types/NewsroomWebhook.cjs +3 -3
  58. package/dist/types/NewsroomWebhook.js +3 -3
  59. package/dist/types/NotificationSubscription.cjs +3 -3
  60. package/dist/types/NotificationSubscription.js +3 -3
  61. package/dist/types/Permissions.cjs +3 -3
  62. package/dist/types/Permissions.js +3 -3
  63. package/dist/types/Plan.cjs +10 -10
  64. package/dist/types/Plan.js +11 -11
  65. package/dist/types/Price.cjs +6 -6
  66. package/dist/types/Price.js +6 -6
  67. package/dist/types/PrivacyRequest.cjs +6 -6
  68. package/dist/types/PrivacyRequest.js +6 -6
  69. package/dist/types/SenderAddress.cjs +3 -3
  70. package/dist/types/SenderAddress.js +3 -3
  71. package/dist/types/SenderDomain.cjs +3 -3
  72. package/dist/types/SenderDomain.js +3 -3
  73. package/dist/types/SortOrder.cjs +3 -3
  74. package/dist/types/SortOrder.js +3 -3
  75. package/dist/types/Story.cjs +12 -12
  76. package/dist/types/Story.js +12 -12
  77. package/dist/types/User.cjs +6 -6
  78. package/dist/types/User.js +6 -6
  79. package/dist/types/common/Notification.cjs +3 -3
  80. package/dist/types/common/Notification.js +3 -3
  81. package/dist/types/common/OEmbedInfo.cjs +3 -3
  82. package/dist/types/common/OEmbedInfo.js +3 -3
  83. package/dist/types/common/Pagination.cjs +3 -3
  84. package/dist/types/common/Pagination.js +3 -3
  85. package/dist/types/common/Query.js +0 -1
  86. package/dist/types/index.cjs +11 -0
  87. package/dist/types/index.d.ts +1 -0
  88. package/dist/types/index.js +1 -0
  89. package/package.json +1 -1
@@ -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) {
@@ -234,6 +234,17 @@ Object.keys(_JobState).forEach(function (key) {
234
234
  }
235
235
  });
236
236
  });
237
+ var _Language = require("./Language.cjs");
238
+ Object.keys(_Language).forEach(function (key) {
239
+ if (key === "default" || key === "__esModule") return;
240
+ if (key in exports && exports[key] === _Language[key]) return;
241
+ Object.defineProperty(exports, key, {
242
+ enumerable: true,
243
+ get: function () {
244
+ return _Language[key];
245
+ }
246
+ });
247
+ });
237
248
  var _License = require("./License.cjs");
238
249
  Object.keys(_License).forEach(function (key) {
239
250
  if (key === "default" || key === "__esModule") return;
@@ -19,6 +19,7 @@ export * from './DnsConfigurationInstruction';
19
19
  export * from './EmailRecipient';
20
20
  export * from './EmailSubscription';
21
21
  export * from './JobState';
22
+ export * from './Language';
22
23
  export * from './License';
23
24
  export * from './Newsroom';
24
25
  export * from './NewsroomCompanyInformation';
@@ -20,6 +20,7 @@ export * from "./DnsConfigurationInstruction.js";
20
20
  export * from "./EmailRecipient.js";
21
21
  export * from "./EmailSubscription.js";
22
22
  export * from "./JobState.js";
23
+ export * from "./Language.js";
23
24
  export * from "./License.js";
24
25
  export * from "./Newsroom.js";
25
26
  export * from "./NewsroomCompanyInformation.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "23.0.1",
3
+ "version": "23.1.0",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",