import { GetScopeDTO } from "~/scopes"; import { ApiResponse } from "../../apiResponse"; import { AppEnum } from "../../types"; export interface IManagementScopeApiService { GetScopesByAppIdAsync(appId: AppEnum): Promise>; GetUserScopesOnApp(userId: string, appId: AppEnum): Promise>; GetUserScopes(userId: string): Promise>; SaveUserScopesAsync(userPublicId: string, appId: AppEnum, body: string[]): Promise>; SaveScopesForAllApps(userPublicId: string, body: GetScopeDTO[]): Promise>; }