chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -14,6 +14,10 @@ export const protobufPackage = "auth.v1";
|
||||
export interface LoginRequest {
|
||||
username: string;
|
||||
password: string;
|
||||
/** Уникальный идентификатор устройства клиента */
|
||||
deviceId: string;
|
||||
/** Публичный ключ устройства для шифрования сообщений */
|
||||
publicKey: string;
|
||||
}
|
||||
|
||||
export interface LoginResponse {
|
||||
@@ -58,6 +62,7 @@ export interface VerifyTokenResponse {
|
||||
permissions: string[];
|
||||
sessionId?: string | undefined;
|
||||
requiresPin?: boolean | undefined;
|
||||
deviceId?: string | undefined;
|
||||
}
|
||||
|
||||
export interface GetAccountRoleLevelRequest {
|
||||
@@ -83,6 +88,7 @@ export interface SessionItem {
|
||||
lastActivity: number;
|
||||
/** Флаг текущей сессии */
|
||||
isCurrent: boolean;
|
||||
deviceId: string;
|
||||
}
|
||||
|
||||
export interface GetSessionsResponse {
|
||||
|
||||
Reference in New Issue
Block a user