@prezly/sdk 15.11.0 → 15.13.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,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.DEFAULT_USER_AGENT = void 0;
|
|
7
|
-
const VERSION = "15.
|
|
7
|
+
const VERSION = "15.12.0";
|
|
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;
|
package/dist/api/constants.js
CHANGED
package/dist/types/License.cjs
CHANGED
|
@@ -28,4 +28,11 @@ exports.License = License;
|
|
|
28
28
|
Status["UNPAID"] = "unpaid";
|
|
29
29
|
})(Status || (Status = {}));
|
|
30
30
|
_License.Status = Status;
|
|
31
|
+
let CompanyType;
|
|
32
|
+
(function (CompanyType) {
|
|
33
|
+
CompanyType["BRAND"] = "brand";
|
|
34
|
+
CompanyType["AGENCY"] = "agency";
|
|
35
|
+
CompanyType["INTERNAL"] = "internal";
|
|
36
|
+
})(CompanyType || (CompanyType = {}));
|
|
37
|
+
_License.CompanyType = CompanyType;
|
|
31
38
|
})(License || (exports.License = License = {}));
|
package/dist/types/License.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface LicenseRef {
|
|
|
10
10
|
status: License.Status;
|
|
11
11
|
}
|
|
12
12
|
export interface License extends LicenseRef {
|
|
13
|
+
company_type: License.CompanyType | null;
|
|
13
14
|
billing_company_name: string;
|
|
14
15
|
billing_contact: string;
|
|
15
16
|
billing_contact_email: string;
|
|
@@ -19,6 +20,7 @@ export interface License extends LicenseRef {
|
|
|
19
20
|
* it will be null (no data about billing cycle).
|
|
20
21
|
*/
|
|
21
22
|
billing_cycle: number | null;
|
|
23
|
+
has_credit_card: boolean;
|
|
22
24
|
/**
|
|
23
25
|
* Date when subscription will be automatically canceled.
|
|
24
26
|
*/
|
|
@@ -108,4 +110,9 @@ export declare namespace License {
|
|
|
108
110
|
CANCELED = "canceled",
|
|
109
111
|
UNPAID = "unpaid"
|
|
110
112
|
}
|
|
113
|
+
enum CompanyType {
|
|
114
|
+
BRAND = "brand",
|
|
115
|
+
AGENCY = "agency",
|
|
116
|
+
INTERNAL = "internal"
|
|
117
|
+
}
|
|
111
118
|
}
|
package/dist/types/License.js
CHANGED
|
@@ -21,4 +21,11 @@ export let License;
|
|
|
21
21
|
Status["UNPAID"] = "unpaid";
|
|
22
22
|
})(Status || (Status = {}));
|
|
23
23
|
_License.Status = Status;
|
|
24
|
+
let CompanyType;
|
|
25
|
+
(function (CompanyType) {
|
|
26
|
+
CompanyType["BRAND"] = "brand";
|
|
27
|
+
CompanyType["AGENCY"] = "agency";
|
|
28
|
+
CompanyType["INTERNAL"] = "internal";
|
|
29
|
+
})(CompanyType || (CompanyType = {}));
|
|
30
|
+
_License.CompanyType = CompanyType;
|
|
24
31
|
})(License || (License = {}));
|
package/dist/types/Plan.d.ts
CHANGED