/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import { RevokeAllSessionsResponse, Session } from '../models'; export interface GetSessionByIdRequest { userId: string; sessionId: string; } export interface RevokeAllEnvironmentSessionsRequest { environmentId: string; } export interface RevokeSessionByIdRequest { sessionId: string; } /** * */ export declare class SessionsApi extends runtime.BaseAPI { /** * Returns a session by its unique identifier. * Get a session by ID */ getSessionByIdRaw(requestParameters: GetSessionByIdRequest, initOverrides?: RequestInit): Promise>; /** * Returns a session by its unique identifier. * Get a session by ID */ getSessionById(requestParameters: GetSessionByIdRequest, initOverrides?: RequestInit): Promise; /** * Queues the revocation of all user sessions in the specified environment. This is an asynchronous operation - the job runs in the background. * Revoke all sessions for an environment */ revokeAllEnvironmentSessionsRaw(requestParameters: RevokeAllEnvironmentSessionsRequest, initOverrides?: RequestInit): Promise>; /** * Queues the revocation of all user sessions in the specified environment. This is an asynchronous operation - the job runs in the background. * Revoke all sessions for an environment */ revokeAllEnvironmentSessions(requestParameters: RevokeAllEnvironmentSessionsRequest, initOverrides?: RequestInit): Promise; /** * Revokes the specified session. * Revoke a session */ revokeSessionByIdRaw(requestParameters: RevokeSessionByIdRequest, initOverrides?: RequestInit): Promise>; /** * Revokes the specified session. * Revoke a session */ revokeSessionById(requestParameters: RevokeSessionByIdRequest, initOverrides?: RequestInit): Promise; }