mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
38 lines
1.1 KiB
TypeScript
38 lines
1.1 KiB
TypeScript
import type { NotificationAgentKey } from '@server/lib/settings';
|
|
|
|
export interface UserSettingsGeneralResponse {
|
|
username?: string;
|
|
discordId?: string;
|
|
locale?: string;
|
|
region?: string;
|
|
originalLanguage?: string;
|
|
movieQuotaLimit?: number;
|
|
movieQuotaDays?: number;
|
|
tvQuotaLimit?: number;
|
|
tvQuotaDays?: number;
|
|
globalMovieQuotaDays?: number;
|
|
globalMovieQuotaLimit?: number;
|
|
globalTvQuotaLimit?: number;
|
|
globalTvQuotaDays?: number;
|
|
watchlistSyncMovies?: boolean;
|
|
watchlistSyncTv?: boolean;
|
|
}
|
|
|
|
export type NotificationAgentTypes = Record<NotificationAgentKey, number>;
|
|
export interface UserSettingsNotificationsResponse {
|
|
emailEnabled?: boolean;
|
|
pgpKey?: string;
|
|
discordEnabled?: boolean;
|
|
discordEnabledTypes?: number;
|
|
discordId?: string;
|
|
pushbulletAccessToken?: string;
|
|
pushoverApplicationToken?: string;
|
|
pushoverUserKey?: string;
|
|
telegramEnabled?: boolean;
|
|
telegramBotUsername?: string;
|
|
telegramChatId?: string;
|
|
telegramSendSilently?: boolean;
|
|
webPushEnabled?: boolean;
|
|
notificationTypes: Partial<NotificationAgentTypes>;
|
|
}
|