projectmanager-sdk
Version:
Software development kit for the ProjectManager.com API. for TypeScript
44 lines (43 loc) • 1.74 kB
TypeScript
/**
* ProjectManager API for TypeScript
*
* (c) ProjectManager.com, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author ProjectManager.com <support@projectmanager.com>
* @copyright ProjectManager.com, Inc.
* @link https://github.com/projectmgr/projectmanager-sdk-typescript
*/
import { ProjectManagerClient } from "../index.js";
import { AstroResult } from "../index.js";
import { LicenseDto } from "../index.js";
export declare class LicenseClient {
private readonly client;
/**
* Internal constructor for this client library
*/
constructor(client: ProjectManagerClient);
/**
* Retrieve information about the current licenses possessed by this Workspace.
*
* Licenses contain information about your current subscription level and features that have
* been enabled on your Workspace. To modify the License information, please log on to the
* ProjectManager.com application and use the Account | Editions screen to review or update
* your Licenses.
*
*/
retrieveLicenses(): Promise<AstroResult<LicenseDto[]>>;
/**
* Adds a new License to the current Workspace.
*
* Licenses contain information about your current subscription level and features that have
* been enabled on your Workspace. To modify the License information, please log on to the
* ProjectManager.com application and use the Account | Editions screen to review or update
* your Licenses.
*
* @param bundleSku Information about the SKU you wish to add to your Workspace
*/
addLicense(bundleSku: string): Promise<AstroResult<LicenseDto[]>>;
}