@prezly/sdk 22.6.0 → 22.7.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 = "22.
|
|
7
|
+
const VERSION = "22.6.1";
|
|
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
|
@@ -53,6 +53,10 @@ export interface CoverageEntry {
|
|
|
53
53
|
fragment_end_time: string | null;
|
|
54
54
|
page: number | null;
|
|
55
55
|
sentiment: CoverageEntry.Sentiment | null;
|
|
56
|
+
/**
|
|
57
|
+
* Available in Get Coverage endpoint.
|
|
58
|
+
*/
|
|
59
|
+
article_content_preview?: string | null;
|
|
56
60
|
}
|
|
57
61
|
export declare namespace CoverageEntry {
|
|
58
62
|
enum Type {
|
package/dist/types/Plan.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export interface Plan extends PlanReference {
|
|
|
33
33
|
export interface PlanAddOn {
|
|
34
34
|
add_on: AddOn;
|
|
35
35
|
quantity: number;
|
|
36
|
+
price: PricingPlan | null;
|
|
36
37
|
}
|
|
37
38
|
export interface AddOn {
|
|
38
39
|
id: string;
|
|
@@ -42,7 +43,7 @@ export interface AddOn {
|
|
|
42
43
|
export interface PricingPlan {
|
|
43
44
|
billing_cycle: BillingCycle;
|
|
44
45
|
currency: Currency;
|
|
45
|
-
|
|
46
|
+
billing_scheme: BillingSchema;
|
|
46
47
|
amount: number | null;
|
|
47
48
|
unit: string | null;
|
|
48
49
|
tiers_mode: TiersMode | null;
|