UNPKG

projectmanager-sdk

Version:

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

36 lines (35 loc) 1.23 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 */ import { ProjectManagerClient } from "../index.js"; import { AstroResult } from "../index.js"; import { DashboardSettingDto } from "../index.js"; import { DashboardSettingCreateDto } from "../index.js"; export declare class DashboardClient { private readonly client; /** * Internal constructor for this client library */ constructor(client: ProjectManagerClient); /** * Returns user dashboard settings * * @param type The dashboard type that is not custom */ retrieveDashboardUserSettings(type: string): Promise<AstroResult<DashboardSettingDto>>; /** * Create or Update User Dashboard Settings * * @param body User dashboard settings object */ createorUpdateUserDashboardSettings(body: DashboardSettingCreateDto): Promise<AstroResult<DashboardSettingDto>>; }