@jjdenhertog/plex-music-search
Version:
Library to find tracks in your Plex Library
61 lines (60 loc) • 1.5 kB
TypeScript
export type GetUserResponse = {
id: number;
uuid: string;
username: string;
title: string;
email: string;
friendlyName: string;
locale: null;
confirmed: boolean;
joinedAt: number;
emailOnlyAuth: boolean;
hasPassword: boolean;
protected: boolean;
thumb: string;
authToken: string;
mailingListStatus: string;
mailingListActive: boolean;
scrobbleTypes: string;
country: string;
subscription: {
active: boolean;
subscribedAt: string;
status: string;
paymentService: string;
plan: string;
features: string[];
};
subscriptionDescription: string;
restricted: boolean;
anonymous: boolean;
home: boolean;
guest: boolean;
homeSize: number;
homeAdmin: boolean;
maxHomeSize: number;
rememberExpiresAt: number;
profile: {
autoSelectAudio: boolean;
defaultAudioLanguage: string;
defaultSubtitleLanguage: string;
autoSelectSubtitle: number;
defaultSubtitleAccessibility: number;
defaultSubtitleForced: number;
};
entitlements: string[];
roles: string[];
services: {
identifier: string;
endpoint: string;
token: string;
secret: null;
status: string;
}[];
adsConsent: null;
adsConsentSetAt: null;
adsConsentReminderAt: null;
experimentalFeatures: boolean;
twoFactorEnabled: boolean;
backupCodesCreated: boolean;
};