@prezly/sdk 12.1.0 → 12.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.
@@ -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.4";
7
+ const VERSION = "12.1.1";
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.4";
1
+ const VERSION = "12.1.1";
2
2
  const URL = 'https://github.com/prezly/javascript-sdk';
3
3
  export const DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
@@ -41,6 +41,8 @@ const ALL_EXTRA_FIELDS_SHAPE = {
41
41
  last_modifying_user: true,
42
42
  attached_gallery_content: true,
43
43
  attached_videos_content: true,
44
+ attached_bookmarks_content: true,
45
+ attached_attachments_content: true,
44
46
  referenced_entities: true,
45
47
  'campaigns.count': true,
46
48
  'pitches.count': true
@@ -35,6 +35,8 @@ const ALL_EXTRA_FIELDS_SHAPE = {
35
35
  last_modifying_user: true,
36
36
  attached_gallery_content: true,
37
37
  attached_videos_content: true,
38
+ attached_bookmarks_content: true,
39
+ attached_attachments_content: true,
38
40
  referenced_entities: true,
39
41
  'campaigns.count': true,
40
42
  'pitches.count': true
@@ -15,4 +15,8 @@ exports.PlanLevel = PlanLevel;
15
15
  PlanLevel["PREMIUM"] = "premium";
16
16
  PlanLevel["PROFESSIONAL"] = "professional";
17
17
  PlanLevel["STARTER"] = "starter";
18
+ PlanLevel["AGENCY_SMALL"] = "agency_small";
19
+ PlanLevel["AGENCY_MEDIUM"] = "agency_medium";
20
+ PlanLevel["AGENCY_LARGE"] = "agency_large";
21
+ PlanLevel["AGENCY_HUGE"] = "agency_huge";
18
22
  })(PlanLevel || (exports.PlanLevel = PlanLevel = {}));
@@ -6,5 +6,9 @@ export declare enum PlanLevel {
6
6
  NONE = "",
7
7
  PREMIUM = "premium",
8
8
  PROFESSIONAL = "professional",
9
- STARTER = "starter"
9
+ STARTER = "starter",
10
+ AGENCY_SMALL = "agency_small",
11
+ AGENCY_MEDIUM = "agency_medium",
12
+ AGENCY_LARGE = "agency_large",
13
+ AGENCY_HUGE = "agency_huge"
10
14
  }
@@ -8,4 +8,8 @@ export let PlanLevel;
8
8
  PlanLevel["PREMIUM"] = "premium";
9
9
  PlanLevel["PROFESSIONAL"] = "professional";
10
10
  PlanLevel["STARTER"] = "starter";
11
+ PlanLevel["AGENCY_SMALL"] = "agency_small";
12
+ PlanLevel["AGENCY_MEDIUM"] = "agency_medium";
13
+ PlanLevel["AGENCY_LARGE"] = "agency_large";
14
+ PlanLevel["AGENCY_HUGE"] = "agency_huge";
11
15
  })(PlanLevel || (PlanLevel = {}));
@@ -210,6 +210,16 @@ export declare namespace Story {
210
210
  * Always `null` for v3 stories.
211
211
  */
212
212
  attached_videos_content: string | null;
213
+ /**
214
+ * Contains attached bookmarks slate content.
215
+ * Always `null` for v3 stories.
216
+ */
217
+ attached_bookmarks_content: string | null;
218
+ /**
219
+ * Contains attached files slate content.
220
+ * Always `null` for v3 stories.
221
+ */
222
+ attached_attachments_content: string | null;
213
223
  referenced_entities: {
214
224
  stories: Record<string, OEmbedInfo>;
215
225
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "12.1.0",
3
+ "version": "12.2.0",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",