UNPKG

projectmanager-sdk

Version:

Software development kit for the ProjectManager.com API. for TypeScript

34 lines 1.05 kB
/** * 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 */ export class RiskClient { client; /** * Internal constructor for this client library */ constructor(client) { this.client = client; } /** * Initiates a new Export action for Risks. * * Returns the identifier of this Risk Export. * * @param projectId The unique identifier of the Project for which to export Risks * @param body The settings to use for this export action */ createRiskExport(projectId, body) { const url = `/api/data/projects/${projectId}/risks/export`; return this.client.request("post", url, null, body); } } //# sourceMappingURL=RiskClient.js.map