UNPKG

projectmanager-sdk

Version:

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

34 lines 1.1 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 ProjectChargeCodeClient { client; /** * Internal constructor for this client library */ constructor(client) { this.client = client; } /** * Retrieve all defined ChargeCodes that can be used when creating Projects. * * A ChargeCode is a code used to identify costs within your Projects. Each ChargeCode has * a name and a unique identifier. ChargeCodes are defined per Workspace and are shared * among Projects. * */ retrieveChargeCodes() { const url = `/api/data/projects/chargecodes`; return this.client.request("get", url, null, null); } } //# sourceMappingURL=ProjectChargeCodeClient.js.map