import {
AutoSelectSubtitle,
DefaultSubtitleAccessibility,
DefaultSubtitleForced,
GetTokenDetailsAuthenticationResponseStatus,
GetTokenDetailsAuthenticationStatus,
GetTokenDetailsResponse,
GetTokenDetailsStatus,
MailingListStatus,
MediaReviewsVisibility,
WatchedIndicator,
} from "@lukehagar/plexjs/sdk/models/operations";
let value: GetTokenDetailsResponse = {
contentType: "<value>",
statusCode: 100,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
userPlexAccount: {
adsConsent: false,
adsConsentReminderAt: 1556281940,
adsConsentSetAt: 1556281940,
authToken: "CxoUzBTSV5hsxjTpFKaf",
country: "US",
email: "[email protected]",
friendlyName: "friendlyUsername",
entitlements: [
"[]",
],
homeSize: 1,
id: 13692262,
joinedAt: 1556281940,
locale: "ko",
mailingListStatus: MailingListStatus.Active,
maxHomeSize: 15,
profile: {
autoSelectAudio: true,
defaultAudioLanguage: "ja",
defaultSubtitleLanguage: "en",
autoSelectSubtitle: AutoSelectSubtitle.Enable,
defaultSubtitleAccessibility: DefaultSubtitleAccessibility.Enable,
defaultSubtitleForced: DefaultSubtitleForced.Enable,
watchedIndicator: WatchedIndicator.Enable,
mediaReviewsVisibility: MediaReviewsVisibility.Enable,
},
rememberExpiresAt: 1556281940,
scrobbleTypes: "<value>",
services: [
{
identifier: "metadata-dev",
endpoint: "https://epg.provider.plex.tv",
token: "DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv",
secret: "<value>",
status: GetTokenDetailsStatus.Online,
},
],
subscription: {
active: true,
subscribedAt: "2021-04-12T18:21:12Z",
status: GetTokenDetailsAuthenticationStatus.Inactive,
},
subscriptionDescription: "<value>",
subscriptions: [
{
active: true,
subscribedAt: "2021-04-12T18:21:12Z",
status: GetTokenDetailsAuthenticationResponseStatus.Inactive,
},
],
thumb: "https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101",
title: "UsernameTitle",
username: "Username",
uuid: "dae343c1f45beb4f",
attributionPartner: null,
},
};