@prezly/sdk 12.0.3 → 12.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.
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.DEFAULT_USER_AGENT = void 0;
7
- const VERSION = "12.0.2";
7
+ const VERSION = "12.0.4";
8
8
  const URL = 'https://github.com/prezly/javascript-sdk';
9
9
  const DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
10
10
  exports.DEFAULT_USER_AGENT = DEFAULT_USER_AGENT;
@@ -1,3 +1,3 @@
1
- const VERSION = "12.0.2";
1
+ const VERSION = "12.0.4";
2
2
  const URL = 'https://github.com/prezly/javascript-sdk';
3
3
  export const DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
@@ -99,4 +99,5 @@ export interface UpdateRequest {
99
99
  */
100
100
  is_subscription_form_enabled?: boolean;
101
101
  status?: Newsroom.Status.ACTIVE | Newsroom.Status.INACTIVE;
102
+ is_plausible_enabled?: boolean;
102
103
  }
@@ -40,6 +40,7 @@ const ALL_EXTRA_FIELDS_SHAPE = {
40
40
  content_version: true,
41
41
  last_modifying_user: true,
42
42
  attached_gallery_content: true,
43
+ attached_videos_content: true,
43
44
  referenced_entities: true,
44
45
  'campaigns.count': true,
45
46
  'pitches.count': true
@@ -34,6 +34,7 @@ const ALL_EXTRA_FIELDS_SHAPE = {
34
34
  content_version: true,
35
35
  last_modifying_user: true,
36
36
  attached_gallery_content: true,
37
+ attached_videos_content: true,
37
38
  referenced_entities: true,
38
39
  'campaigns.count': true,
39
40
  'pitches.count': true
@@ -205,6 +205,11 @@ export declare namespace Story {
205
205
  * Always `null` for v3 stories.
206
206
  */
207
207
  attached_gallery_content: string | null;
208
+ /**
209
+ * Contains attached videos slate content.
210
+ * Always `null` for v3 stories.
211
+ */
212
+ attached_videos_content: string | null;
208
213
  referenced_entities: {
209
214
  stories: Record<string, OEmbedInfo>;
210
215
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "12.0.3",
3
+ "version": "12.1.0",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",