@prezly/sdk 23.17.1 → 23.19.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,6 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.DEFAULT_USER_AGENT = void 0;
7
- const VERSION = "23.17.0";
7
+ const VERSION = "23.18.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 = "23.17.0";
1
+ const VERSION = "23.18.0";
2
2
  const URL = 'https://github.com/prezly/javascript-sdk';
3
3
  export const DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.TableId = exports.OptionId = exports.LimitId = exports.CellType = exports.AddOnId = void 0;
6
+ exports.TableId = exports.OptionId = exports.LimitId = exports.AddOnId = void 0;
7
7
  let TableId = exports.TableId = /*#__PURE__*/function (TableId) {
8
8
  TableId["STANDARD"] = "standard";
9
9
  TableId["AGENCY"] = "agency";
@@ -32,9 +32,4 @@ let LimitId = exports.LimitId = /*#__PURE__*/function (LimitId) {
32
32
  let AddOnId = exports.AddOnId = /*#__PURE__*/function (AddOnId) {
33
33
  AddOnId["SITE"] = "site";
34
34
  return AddOnId;
35
- }({});
36
- let CellType = exports.CellType = /*#__PURE__*/function (CellType) {
37
- CellType["TEXT"] = "text";
38
- CellType["PRICING"] = "pricing";
39
- return CellType;
40
35
  }({});
@@ -1,8 +1,6 @@
1
- import type { PricingPlan } from '../../types';
2
1
  export interface PricingTable {
3
2
  id: TableId;
4
3
  options: Option[];
5
- rows: Row[];
6
4
  }
7
5
  export declare enum TableId {
8
6
  STANDARD = "standard",
@@ -59,21 +57,3 @@ export interface AddOn {
59
57
  export declare enum AddOnId {
60
58
  SITE = "site"
61
59
  }
62
- export interface Row {
63
- display_name: string;
64
- description: string | null;
65
- link: string | null;
66
- area: string | null;
67
- status: 'beta' | null;
68
- is_key_item: boolean;
69
- cells: Record<string, Cell>;
70
- }
71
- export declare enum CellType {
72
- TEXT = "text",
73
- PRICING = "pricing"
74
- }
75
- export interface Cell {
76
- type: CellType;
77
- value: string | PricingPlan[] | null;
78
- description: string | null;
79
- }
@@ -26,9 +26,4 @@ export let LimitId = /*#__PURE__*/function (LimitId) {
26
26
  export let AddOnId = /*#__PURE__*/function (AddOnId) {
27
27
  AddOnId["SITE"] = "site";
28
28
  return AddOnId;
29
- }({});
30
- export let CellType = /*#__PURE__*/function (CellType) {
31
- CellType["TEXT"] = "text";
32
- CellType["PRICING"] = "pricing";
33
- return CellType;
34
29
  }({});
@@ -12,6 +12,7 @@ export interface NewsroomTheme {
12
12
  preview_image: UploadedImage | null;
13
13
  demo_url: string | null;
14
14
  status: NewsroomTheme.Status;
15
+ content_width: number | null;
15
16
  }
16
17
  export type NewroomThemeRef = Pick<NewsroomTheme, 'id' | 'codename' | 'name'>;
17
18
  export declare namespace NewsroomTheme {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "23.17.1",
3
+ "version": "23.19.0",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",