@prezly/sdk 20.5.1 → 21.0.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
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 = "20.5.
|
|
7
|
+
const VERSION = "20.5.2";
|
|
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
|
@@ -109,4 +109,9 @@ export interface UpdateRequest {
|
|
|
109
109
|
status?: Newsroom.Status.ACTIVE | Newsroom.Status.INACTIVE;
|
|
110
110
|
is_plausible_enabled?: boolean;
|
|
111
111
|
is_white_labeled?: boolean;
|
|
112
|
+
onetrust_cookie_consent?: {
|
|
113
|
+
is_enabled?: boolean;
|
|
114
|
+
category?: string;
|
|
115
|
+
script?: string;
|
|
116
|
+
};
|
|
112
117
|
}
|
|
@@ -5,10 +5,10 @@ export interface ContactTag {
|
|
|
5
5
|
name: string;
|
|
6
6
|
contacts_number: number;
|
|
7
7
|
contacts_url: string;
|
|
8
|
-
created_at: Iso8601DateTime |
|
|
9
|
-
updated_at: Iso8601DateTime |
|
|
10
|
-
creator: UserRef |
|
|
11
|
-
last_updated_by_user: UserRef |
|
|
8
|
+
created_at: Iso8601DateTime | null;
|
|
9
|
+
updated_at: Iso8601DateTime | null;
|
|
10
|
+
creator: UserRef | null;
|
|
11
|
+
last_updated_by_user: UserRef | null;
|
|
12
12
|
}
|
|
13
13
|
export declare namespace ContactTag {
|
|
14
14
|
type Identifier = ContactTag['id'] | ContactTag['name'];
|
package/dist/types/Newsroom.d.ts
CHANGED
|
@@ -86,9 +86,10 @@ export interface Newsroom extends NewsroomRef {
|
|
|
86
86
|
custom_privacy_policy_link: string | null;
|
|
87
87
|
custom_data_request_link: string | null;
|
|
88
88
|
tracking_policy: Newsroom.TrackingPolicy;
|
|
89
|
-
|
|
89
|
+
onetrust_cookie_consent: {
|
|
90
90
|
is_enabled: boolean;
|
|
91
|
-
category: string
|
|
91
|
+
category: string;
|
|
92
|
+
script: string;
|
|
92
93
|
};
|
|
93
94
|
google_analytics_id: string | null;
|
|
94
95
|
/**
|