@gooddata/api-client-bear
Version:
API Client for the GoodData platform
28 lines • 1.51 kB
TypeScript
import { IAccountInfo, IAccountSetting, IBootstrapResource, IFeatureFlags, IOrganization, ISeparators } from "@gooddata/api-model-bear";
import { IUserConfigsSettingItem, UserModule, IUserModule } from "../user.js";
import { ApiResponse } from "../xhr.js";
export declare class UserModuleDecorator implements IUserModule {
private decorated;
constructor(decorated: UserModule);
isLoggedIn(): Promise<boolean>;
isLoggedInProject(projectId: string): Promise<boolean>;
login(username: string, password: string): Promise<any>;
loginSso(encryptedClaims: string, ssoProvider: string, targetUrl: string): Promise<ApiResponse<any>>;
logout(): Promise<ApiResponse | void>;
getCurrentProfile(): Promise<IAccountSetting>;
getUserRegionalNumberFormatting(userId: string): Promise<ISeparators>;
updateProfileSettings(profileId: string, profileSetting: any): Promise<ApiResponse>;
getAccountInfo(): Promise<IAccountInfo>;
getUserConfigs(userId: string): Promise<IUserConfigsSettingItem[]>;
getUserFeatureFlags(userId: string, sourceFilter?: string[]): Promise<IFeatureFlags>;
getFeatureFlags(): Promise<IFeatureFlags>;
getCurrentOrganization(): Promise<IOrganization>;
getBootstrapResource(options?: {
projectId?: string;
productId?: string;
clientId?: string;
loadAnalyticalDashboards?: boolean;
}): Promise<IBootstrapResource>;
initiateSamlSso(relayState: string): Promise<void>;
}
//# sourceMappingURL=user.d.ts.map