@prezly/sdk 21.3.0 → 21.4.1

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,6 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.DEFAULT_USER_AGENT = void 0;
7
- const VERSION = "21.2.0";
7
+ const VERSION = "21.4.0";
8
8
  const URL = 'https://github.com/prezly/javascript-sdk';
9
9
  const DEFAULT_USER_AGENT = exports.DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
@@ -1,3 +1,3 @@
1
- const VERSION = "21.2.0";
1
+ const VERSION = "21.4.0";
2
2
  const URL = 'https://github.com/prezly/javascript-sdk';
3
3
  export const DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
@@ -8,4 +8,5 @@ export interface EmailSubscription {
8
8
  * This field will be present only if user has permission to view contacts.
9
9
  */
10
10
  contacts?: ContactRef[];
11
+ is_demo: boolean;
11
12
  }
@@ -22,6 +22,7 @@ export interface NewsroomRef {
22
22
  * @see status
23
23
  */
24
24
  is_archived: boolean;
25
+ is_demo: boolean;
25
26
  is_multilingual: boolean;
26
27
  is_indexable: boolean;
27
28
  /**
@@ -113,7 +114,6 @@ export interface Newsroom extends NewsroomRef {
113
114
  visits_last_7_days: number | null;
114
115
  visits_last_7_days_previous: number | null;
115
116
  };
116
- is_demo: boolean;
117
117
  }
118
118
  export declare namespace Newsroom {
119
119
  enum Status {
@@ -17,6 +17,7 @@ export interface NewsroomContactRef {
17
17
  twitter: string | null;
18
18
  facebook: string | null;
19
19
  avatar_url: string | null;
20
+ is_demo: boolean;
20
21
  }
21
22
  export interface NewsroomContact extends Omit<NewsroomContactRef, 'avatar_url'> {
22
23
  avatar_image: UploadedImage | null;
@@ -26,6 +26,7 @@ export interface NewsroomGallery {
26
26
  images_number: number;
27
27
  videos_number: number;
28
28
  images: NewsroomGallery.Image[];
29
+ is_demo: boolean;
29
30
  }
30
31
  export declare namespace NewsroomGallery {
31
32
  enum Status {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "21.3.0",
3
+ "version": "21.4.1",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",