@prezly/sdk 23.12.0 → 23.14.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.
- package/dist/api/constants.cjs +1 -1
- package/dist/api/constants.js +1 -1
- package/dist/endpoints/PricingTables/types.cjs +6 -1
- package/dist/endpoints/PricingTables/types.d.ts +7 -1
- package/dist/endpoints/PricingTables/types.js +5 -0
- package/dist/types/NewsroomLanguageSettings.d.ts +1 -0
- package/package.json +1 -1
package/dist/api/constants.cjs
CHANGED
|
@@ -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.
|
|
7
|
+
const VERSION = "23.13.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})`;
|
package/dist/api/constants.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.TableId = exports.OptionId = exports.LimitId = exports.AddOnId = void 0;
|
|
6
|
+
exports.TableId = exports.OptionId = exports.LimitId = exports.CellType = exports.AddOnId = void 0;
|
|
7
7
|
let TableId = exports.TableId = /*#__PURE__*/function (TableId) {
|
|
8
8
|
TableId["STANDARD"] = "standard";
|
|
9
9
|
TableId["AGENCY"] = "agency";
|
|
@@ -32,4 +32,9 @@ 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;
|
|
35
40
|
}({});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PricingPlan } from '../../types';
|
|
1
2
|
export interface PricingTable {
|
|
2
3
|
id: TableId;
|
|
3
4
|
options: Option[];
|
|
@@ -67,7 +68,12 @@ export interface Row {
|
|
|
67
68
|
is_key_item: boolean;
|
|
68
69
|
cells: Record<string, Cell>;
|
|
69
70
|
}
|
|
71
|
+
export declare enum CellType {
|
|
72
|
+
TEXT = "text",
|
|
73
|
+
PRICING = "pricing"
|
|
74
|
+
}
|
|
70
75
|
export interface Cell {
|
|
71
|
-
|
|
76
|
+
type: CellType;
|
|
77
|
+
value: string | PricingPlan[] | null;
|
|
72
78
|
description: string | null;
|
|
73
79
|
}
|
|
@@ -26,4 +26,9 @@ 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;
|
|
29
34
|
}({});
|
|
@@ -9,6 +9,7 @@ export interface NewsroomLanguageSettings {
|
|
|
9
9
|
locale: CultureRef;
|
|
10
10
|
stories_count: number;
|
|
11
11
|
public_stories_count: number;
|
|
12
|
+
hub_public_stories_count: number;
|
|
12
13
|
default_email_disclaimer: string;
|
|
13
14
|
default_cookie_statement: string;
|
|
14
15
|
default_subscribe_disclaimer: string;
|