UNPKG

projectmanager-sdk

Version:

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

32 lines (31 loc) 1.15 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 { UserRoleDto } from "../index.js"; export declare class UserRoleClient { private readonly client; /** * Internal constructor for this client library */ constructor(client: ProjectManagerClient); /** * Retrieves the list of UserRoles defined within this Workspace. * * A UserRole is a name for a privilege level granted to a specific User. The 'Global Admin' * UserRole is granted to the owner of the Workspace, and this UserRole cannot be changed. * You can choose which UserRole applies to a User within your Workspace. * */ retrieveUserRoles(): Promise<AstroResult<UserRoleDto[]>>; }