import { ApiKeyResponse, ApplicationAddScopeRequest, ApplicationAllOwnResponse, ApplicationAllResponse, ApplicationCreateRequest, ApplicationDeleteRequest, ApplicationDeleteScopeRequest, ApplicationIsOwnerResponse, ApplicationNewApiKeyRequest, ApplicationResponse } from "@/dtos/applications"; import { AuthBodyRequest, AuthEmptyRequest, AuthQueryRequest, Empty } from "./interfaces/api.interface"; import { AppUserCreateRequest, AppUserDeleteRequest, AppUserFindRequest, AppUserIsAllowedResponse, AppUserIsAllowedRequest, AppUserResponse, AppUsersResponse, AppUserUpdateRequest } from "@/dtos/applications/user"; export default interface ApplicationApi { allByOwner(req: AuthEmptyRequest): Promise; details(req: AuthEmptyRequest): Promise; isOwner(req: AuthEmptyRequest): Promise; all(req: AuthEmptyRequest): Promise; create(req: AuthBodyRequest): Promise; delete(req: AuthBodyRequest): Promise; requestNewApiKey(req: AuthBodyRequest): Promise; addScope(req: AuthBodyRequest): Promise; deleteScope(req: AuthBodyRequest): Promise; isUserAllowed(req: AuthQueryRequest): Promise; allAppUsers(req: AuthEmptyRequest): Promise; findAppUsers(req: AuthQueryRequest): Promise; addUser(req: AuthBodyRequest): Promise; updateUser(req: AuthBodyRequest): Promise; deleteUser(req: AuthBodyRequest): Promise; }