@jellyfin/sdk
Version:
A TypeScript SDK for Jellyfin.
53 lines (52 loc) • 2.35 kB
TypeScript
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
* The different kinds of messages that are used in the WebSocket api.
* @export
* @enum {string}
*/
export declare const SessionMessageType: {
readonly ForceKeepAlive: "ForceKeepAlive";
readonly GeneralCommand: "GeneralCommand";
readonly UserDataChanged: "UserDataChanged";
readonly Sessions: "Sessions";
readonly Play: "Play";
readonly SyncPlayCommand: "SyncPlayCommand";
readonly SyncPlayGroupUpdate: "SyncPlayGroupUpdate";
readonly Playstate: "Playstate";
readonly RestartRequired: "RestartRequired";
readonly ServerShuttingDown: "ServerShuttingDown";
readonly ServerRestarting: "ServerRestarting";
readonly LibraryChanged: "LibraryChanged";
readonly UserDeleted: "UserDeleted";
readonly UserUpdated: "UserUpdated";
readonly SeriesTimerCreated: "SeriesTimerCreated";
readonly TimerCreated: "TimerCreated";
readonly SeriesTimerCancelled: "SeriesTimerCancelled";
readonly TimerCancelled: "TimerCancelled";
readonly RefreshProgress: "RefreshProgress";
readonly ScheduledTaskEnded: "ScheduledTaskEnded";
readonly PackageInstallationCancelled: "PackageInstallationCancelled";
readonly PackageInstallationFailed: "PackageInstallationFailed";
readonly PackageInstallationCompleted: "PackageInstallationCompleted";
readonly PackageInstalling: "PackageInstalling";
readonly PackageUninstalled: "PackageUninstalled";
readonly ActivityLogEntry: "ActivityLogEntry";
readonly ScheduledTasksInfo: "ScheduledTasksInfo";
readonly ActivityLogEntryStart: "ActivityLogEntryStart";
readonly ActivityLogEntryStop: "ActivityLogEntryStop";
readonly SessionsStart: "SessionsStart";
readonly SessionsStop: "SessionsStop";
readonly ScheduledTasksInfoStart: "ScheduledTasksInfoStart";
readonly ScheduledTasksInfoStop: "ScheduledTasksInfoStop";
readonly KeepAlive: "KeepAlive";
};
export type SessionMessageType = typeof SessionMessageType[keyof typeof SessionMessageType];