@prezly/sdk 14.2.0 → 14.4.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,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.DEFAULT_USER_AGENT = void 0;
7
- const VERSION = "14.1.1";
7
+ const VERSION = "14.3.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;
@@ -1,3 +1,3 @@
1
- const VERSION = "14.1.1";
1
+ const VERSION = "14.3.0";
2
2
  const URL = 'https://github.com/prezly/javascript-sdk';
3
3
  export const DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
@@ -10,4 +10,5 @@ exports.Currency = Currency;
10
10
  Currency["EUR"] = "eur";
11
11
  Currency["USD"] = "usd";
12
12
  Currency["GBP"] = "gbp";
13
+ Currency["AUD"] = "aud";
13
14
  })(Currency || (exports.Currency = Currency = {}));
@@ -1,5 +1,6 @@
1
1
  export declare enum Currency {
2
2
  EUR = "eur",
3
3
  USD = "usd",
4
- GBP = "gbp"
4
+ GBP = "gbp",
5
+ AUD = "aud"
5
6
  }
@@ -3,4 +3,5 @@ export let Currency;
3
3
  Currency["EUR"] = "eur";
4
4
  Currency["USD"] = "usd";
5
5
  Currency["GBP"] = "gbp";
6
+ Currency["AUD"] = "aud";
6
7
  })(Currency || (Currency = {}));
@@ -60,7 +60,7 @@ export interface License extends LicenseRef {
60
60
  * use "plan" instead.
61
61
  */
62
62
  plan_level: PlanLevel | null;
63
- plan: License.Plan;
63
+ plan: License.Plan | null;
64
64
  status: License.Status;
65
65
  subscription_lockout: boolean;
66
66
  /**
@@ -110,6 +110,9 @@ export declare namespace License {
110
110
  }
111
111
  interface Plan {
112
112
  display_name: string | null;
113
+ description: string | null;
113
114
  is_legacy: boolean;
115
+ is_superior: boolean;
116
+ pricing_table_option_id: string | null;
114
117
  }
115
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "14.2.0",
3
+ "version": "14.4.0",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",