projectmanager-sdk
Version:
Software development kit for the ProjectManager.com API. for TypeScript
35 lines (34 loc) • 1.13 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 { HourlyRatePeriodDto } from "../index.js";
import { HourlyRatePeriodCreateDto } from "../index.js";
export declare class HourlyRatePeriodClient {
private readonly client;
/**
* Internal constructor for this client library
*/
constructor(client: ProjectManagerClient);
/**
* Gets a list of all rate periods in a work space
*
*/
getRatePeriods(): Promise<AstroResult<HourlyRatePeriodDto[]>>;
/**
* Creates a rate period
*
* @param body The rate period start date.
*/
createRatePeriod(body: HourlyRatePeriodCreateDto): Promise<AstroResult<HourlyRatePeriodDto>>;
}