@serptech/api 1.0.31 → 1.0.33

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serptech/api",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "description": "Library for work with SERP API",
5
5
  "source": "index.js",
6
6
  "main": "./dist/SerpApi.node.js",
@@ -4,7 +4,7 @@ import { AuthApiInterface } from "../../../../base/auth-api";
4
4
  export interface LicenseInterface {
5
5
  // General
6
6
  id?: id;
7
- license?: string;
7
+ license?: File;
8
8
  // read only
9
9
  unavailable_at?: string;
10
10
  created?: string;
@@ -25,4 +25,5 @@ export interface LicensesInterface extends AuthApiInterface {
25
25
  getLicense(licenseId: id): Promise<LicenseInterface>;
26
26
  createLicense(license: LicenseInterface): Promise<LicenseInterface>;
27
27
  deleteLicense(licenseId: id): Promise<null>;
28
+ uploadLicense(license: LicenseInterface): Promise<LicenseInterface>;
28
29
  }