@gooddata/api-client-bear
Version:
API Client for the GoodData platform
41 lines • 2.76 kB
TypeScript
import { IUserProjectsResponse, IProjectLcmIdentifiers, IProject, IGetUserListParams, IGetUserListResponse, IUserListItem, IAssociatedProjectPermissions, IGetUserGroupsParams, IGetUserGroupsResponse, IGetGranteesParams, IGetGranteesResponse } from "@gooddata/api-model-bear";
import { IColor, IColorPalette, IFeatureFlags, ITimezone } from "../interfaces.js";
import { ApiResponse } from "../xhr.js";
import { IProjectConfigSettingItem, IProjectModule, ProjectModule } from "../project.js";
export declare class ProjectModuleDecorator implements IProjectModule {
private decorated;
constructor(decorated: ProjectModule);
getCurrentProjectId(): Promise<string>;
getProject(projectId: string): Promise<IProject>;
getProjects(profileId: string): Promise<IProject[]>;
getProjectsWithPaging(userId: string, offset: number, limit: number, search?: string): Promise<IUserProjectsResponse>;
getDatasets(projectId: string): Promise<any>;
getColorPalette(projectId: string): Promise<{
r: number;
g: number;
b: number;
}[] | {
r: any;
g: any;
b: any;
}[]>;
getColorPaletteWithGuids(projectId: string): Promise<IColorPalette | undefined>;
setColorPalette(projectId: string, colors: IColor[]): Promise<ApiResponse>;
getTimezone(projectId: string): Promise<ITimezone>;
setTimezone(projectId: string, timezone: ITimezone): Promise<any>;
createProject(title: string, authorizationToken: string, options?: any): Promise<any>;
deleteProject(projectId: string): Promise<ApiResponse<any>>;
getFeatureFlags(projectId: string): Promise<IFeatureFlags>;
getConfig(projectId: string): Promise<IProjectConfigSettingItem[]>;
getConfigItem(projectId: string, key: string): Promise<IProjectConfigSettingItem | undefined>;
getProjectFeatureFlags(projectId: string, source?: string): Promise<IFeatureFlags>;
getUserListWithPaging(projectId: string, options: IGetUserListParams): Promise<IGetUserListResponse>;
getUserList(projectId: string, options: Omit<IGetUserListParams, "offset" | "limit">): Promise<IUserListItem[]>;
getUserGroups(projectId: string, options: IGetUserGroupsParams): Promise<IGetUserGroupsResponse>;
getGranteesInfo(objectUri: string, options: IGetGranteesParams): Promise<IGetGranteesResponse>;
addGrantees(objectUri: string, granteeUris: string[]): Promise<any>;
removeGrantees(objectUri: string, granteeUris?: string[]): Promise<any>;
getPermissions(workspaceId: string, userId: string): Promise<IAssociatedProjectPermissions>;
getProjectLcmIdentifiers(domainId: string, projectId?: string, productId?: string, clientId?: string): Promise<IProjectLcmIdentifiers>;
}
//# sourceMappingURL=project.d.ts.map