projectmanager-sdk
Version:
Software development kit for the ProjectManager.com API. for TypeScript
33 lines (32 loc) • 1.23 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 { WorkSpaceDto } from "../index.js";
export declare class WorkSpaceClient {
private readonly client;
/**
* Internal constructor for this client library
*/
constructor(client: ProjectManagerClient);
/**
* Retrieve the list of Workspaces to which the currently logged on user has access.
*
* A single User may have access to multiple Workspaces, although they can only be logged on
* to one Workspace at a time. This API lists all Workspaces to which the currently logged on
* user is entitled to access. To determine which Workspace a user is currently logged on
* use the `/api/data/me` endpoint.
*
*/
retrieveWorkspaces(): Promise<AstroResult<WorkSpaceDto[]>>;
}