@jellyfin/sdk 0.8.2 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -4
- package/lib/api.d.ts +1 -0
- package/lib/api.js +4 -4
- package/lib/discovery/recommended-server-discovery.js +24 -16
- package/lib/generated-client/api/activity-log-api.js +12 -1
- package/lib/generated-client/api/api-key-api.js +14 -3
- package/lib/generated-client/api/artists-api.d.ts +28 -26
- package/lib/generated-client/api/artists-api.js +26 -15
- package/lib/generated-client/api/audio-api.d.ts +8 -8
- package/lib/generated-client/api/audio-api.js +21 -10
- package/lib/generated-client/api/branding-api.js +14 -3
- package/lib/generated-client/api/channels-api.d.ts +9 -8
- package/lib/generated-client/api/channels-api.js +19 -8
- package/lib/generated-client/api/client-log-api.js +12 -1
- package/lib/generated-client/api/collection-api.js +14 -3
- package/lib/generated-client/api/configuration-api.d.ts +0 -47
- package/lib/generated-client/api/configuration-api.js +16 -71
- package/lib/generated-client/api/dashboard-api.js +13 -2
- package/lib/generated-client/api/devices-api.d.ts +3 -12
- package/lib/generated-client/api/devices-api.js +21 -16
- package/lib/generated-client/api/display-preferences-api.d.ts +22 -22
- package/lib/generated-client/api/display-preferences-api.js +29 -22
- package/lib/generated-client/api/dynamic-hls-api.d.ts +28 -10
- package/lib/generated-client/api/dynamic-hls-api.js +45 -22
- package/lib/generated-client/api/environment-api.js +17 -6
- package/lib/generated-client/api/filter-api.d.ts +9 -8
- package/lib/generated-client/api/filter-api.js +16 -5
- package/lib/generated-client/api/genres-api.d.ts +9 -8
- package/lib/generated-client/api/genres-api.js +16 -5
- package/lib/generated-client/api/hls-segment-api.js +16 -5
- package/lib/generated-client/api/image-api.d.ts +109 -1184
- package/lib/generated-client/api/image-api.js +218 -1056
- package/lib/generated-client/api/instant-mix-api.d.ts +35 -35
- package/lib/generated-client/api/instant-mix-api.js +79 -68
- package/lib/generated-client/api/item-lookup-api.js +22 -11
- package/lib/generated-client/api/item-refresh-api.js +12 -1
- package/lib/generated-client/api/item-update-api.js +14 -3
- package/lib/generated-client/api/items-api.d.ts +333 -1012
- package/lib/generated-client/api/items-api.js +178 -595
- package/lib/generated-client/api/library-api.d.ts +9 -8
- package/lib/generated-client/api/library-api.js +39 -28
- package/lib/generated-client/api/library-structure-api.js +19 -8
- package/lib/generated-client/api/live-tv-api.d.ts +17 -16
- package/lib/generated-client/api/live-tv-api.js +58 -47
- package/lib/generated-client/api/localization-api.js +15 -4
- package/lib/generated-client/api/lyrics-api.d.ts +344 -0
- package/lib/generated-client/api/{dlna-api.js → lyrics-api.js} +165 -125
- package/lib/generated-client/api/media-info-api.d.ts +7 -7
- package/lib/generated-client/api/media-info-api.js +19 -10
- package/lib/generated-client/api/movies-api.js +12 -1
- package/lib/generated-client/api/music-genres-api.d.ts +9 -8
- package/lib/generated-client/api/music-genres-api.js +16 -5
- package/lib/generated-client/api/package-api.js +17 -6
- package/lib/generated-client/api/persons-api.js +13 -2
- package/lib/generated-client/api/playlists-api.d.ts +315 -36
- package/lib/generated-client/api/playlists-api.js +395 -29
- package/lib/generated-client/api/playstate-api.d.ts +41 -68
- package/lib/generated-client/api/playstate-api.js +74 -81
- package/lib/generated-client/api/plugins-api.js +20 -9
- package/lib/generated-client/api/quick-connect-api.d.ts +46 -37
- package/lib/generated-client/api/quick-connect-api.js +67 -50
- package/lib/generated-client/api/remote-image-api.js +14 -3
- package/lib/generated-client/api/scheduled-tasks-api.js +16 -5
- package/lib/generated-client/api/search-api.d.ts +41 -40
- package/lib/generated-client/api/search-api.js +29 -18
- package/lib/generated-client/api/session-api.d.ts +9 -17
- package/lib/generated-client/api/session-api.js +35 -30
- package/lib/generated-client/api/startup-api.js +18 -7
- package/lib/generated-client/api/studios-api.js +13 -2
- package/lib/generated-client/api/subtitle-api.d.ts +7 -7
- package/lib/generated-client/api/subtitle-api.js +33 -22
- package/lib/generated-client/api/suggestions-api.d.ts +14 -13
- package/lib/generated-client/api/suggestions-api.js +24 -13
- package/lib/generated-client/api/sync-play-api.js +32 -21
- package/lib/generated-client/api/system-api.js +21 -10
- package/lib/generated-client/api/time-sync-api.js +12 -1
- package/lib/generated-client/api/tmdb-api.js +12 -1
- package/lib/generated-client/api/trailers-api.d.ts +35 -33
- package/lib/generated-client/api/trailers-api.js +33 -22
- package/lib/generated-client/api/trickplay-api.d.ts +176 -0
- package/lib/generated-client/api/trickplay-api.js +213 -0
- package/lib/generated-client/api/tv-shows-api.d.ts +25 -15
- package/lib/generated-client/api/tv-shows-api.js +32 -15
- package/lib/generated-client/api/universal-audio-api.d.ts +17 -16
- package/lib/generated-client/api/universal-audio-api.js +19 -8
- package/lib/generated-client/api/user-api.d.ts +35 -155
- package/lib/generated-client/api/user-api.js +65 -203
- package/lib/generated-client/api/user-library-api.d.ts +100 -100
- package/lib/generated-client/api/user-library-api.js +136 -125
- package/lib/generated-client/api/user-views-api.d.ts +22 -21
- package/lib/generated-client/api/user-views-api.js +33 -22
- package/lib/generated-client/api/video-attachments-api.js +12 -1
- package/lib/generated-client/api/videos-api.js +18 -7
- package/lib/generated-client/api/years-api.d.ts +15 -13
- package/lib/generated-client/api/years-api.js +19 -8
- package/lib/generated-client/api.d.ts +2 -4
- package/lib/generated-client/base.js +13 -0
- package/lib/generated-client/common.js +11 -0
- package/lib/generated-client/index.js +19 -10
- package/lib/generated-client/models/activity-log-entry-message.d.ts +37 -0
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +30 -0
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +24 -0
- package/lib/generated-client/models/audio-spatial-format.d.ts +21 -0
- package/lib/generated-client/models/audio-spatial-format.js +24 -0
- package/lib/generated-client/models/authenticate-user-by-name.d.ts +0 -7
- package/lib/generated-client/models/base-item-dto.d.ts +37 -17
- package/lib/generated-client/models/base-item-person.d.ts +4 -3
- package/lib/generated-client/models/cast-receiver-application.d.ts +29 -0
- package/lib/generated-client/models/client-capabilities-dto.d.ts +17 -20
- package/lib/generated-client/models/client-capabilities.d.ts +16 -19
- package/lib/generated-client/models/collection-type-options.d.ts +9 -9
- package/lib/generated-client/models/collection-type-options.js +9 -9
- package/lib/generated-client/models/collection-type.d.ts +31 -0
- package/lib/generated-client/models/collection-type.js +34 -0
- package/lib/generated-client/models/container-profile.d.ts +1 -1
- package/lib/generated-client/models/create-playlist-dto.d.ts +18 -4
- package/lib/generated-client/models/create-user-by-name.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +6 -0
- package/lib/generated-client/models/device-profile.d.ts +0 -171
- package/lib/generated-client/models/dlna-profile-type.d.ts +1 -0
- package/lib/generated-client/models/dlna-profile-type.js +2 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +21 -0
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +24 -0
- package/lib/generated-client/models/encoding-options.d.ts +77 -40
- package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
- package/lib/generated-client/models/external-id-media-type.js +2 -1
- package/lib/generated-client/models/extra-type.d.ts +30 -0
- package/lib/generated-client/models/extra-type.js +33 -0
- package/lib/generated-client/models/force-keep-alive-message.d.ts +36 -0
- package/lib/generated-client/models/general-command-message.d.ts +37 -0
- package/lib/generated-client/models/general-command-type.d.ts +1 -0
- package/lib/generated-client/models/general-command-type.js +2 -1
- package/lib/generated-client/models/get-programs-dto.d.ts +4 -3
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +37 -0
- package/lib/generated-client/models/group-state-update-group-update.d.ts +37 -0
- package/lib/generated-client/models/group-state-update.d.ts +31 -0
- package/lib/generated-client/models/group-update.d.ts +20 -0
- package/lib/generated-client/models/hardware-encoding-type.d.ts +1 -0
- package/lib/generated-client/models/hardware-encoding-type.js +2 -1
- package/lib/generated-client/models/image-format.d.ts +1 -0
- package/lib/generated-client/models/image-format.js +2 -1
- package/lib/generated-client/models/image-resolution.d.ts +27 -0
- package/lib/generated-client/models/{ffmpeg-location.js → image-resolution.js} +12 -7
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +24 -0
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +23 -0
- package/lib/generated-client/models/index.d.ts +74 -25
- package/lib/generated-client/models/index.js +17 -6
- package/lib/generated-client/models/item-fields.d.ts +1 -2
- package/lib/generated-client/models/item-fields.js +1 -2
- package/lib/generated-client/models/item-sort-by.d.ts +50 -0
- package/lib/generated-client/models/item-sort-by.js +53 -0
- package/lib/generated-client/models/library-changed-message.d.ts +37 -0
- package/lib/generated-client/models/library-options.d.ts +36 -0
- package/lib/generated-client/models/live-tv-options.d.ts +12 -0
- package/lib/generated-client/models/log-file.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +31 -0
- package/lib/generated-client/models/lyric-line.d.ts +29 -0
- package/lib/generated-client/models/lyric-metadata.d.ts +77 -0
- package/lib/generated-client/models/media-source-info.d.ts +3 -2
- package/lib/generated-client/models/media-stream-protocol.d.ts +20 -0
- package/lib/generated-client/models/{header-match-type.js → media-stream-protocol.js} +5 -6
- package/lib/generated-client/models/media-stream-type.d.ts +1 -0
- package/lib/generated-client/models/media-stream-type.js +2 -1
- package/lib/generated-client/models/media-stream.d.ts +27 -6
- package/lib/generated-client/models/media-type.d.ts +23 -0
- package/lib/generated-client/models/{architecture.js → media-type.js} +8 -9
- package/lib/generated-client/models/metadata-editor-info.d.ts +3 -2
- package/lib/generated-client/models/network-configuration.d.ts +50 -116
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +30 -0
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +44 -0
- package/lib/generated-client/models/parental-rating.d.ts +1 -1
- package/lib/generated-client/models/person-kind.d.ts +43 -0
- package/lib/generated-client/models/person-kind.js +46 -0
- package/lib/generated-client/models/play-message.d.ts +37 -0
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +37 -0
- package/lib/generated-client/models/play-queue-update-reason.d.ts +28 -0
- package/lib/generated-client/models/play-queue-update-reason.js +31 -0
- package/lib/generated-client/models/play-queue-update.d.ts +69 -0
- package/lib/generated-client/models/playback-order.d.ts +20 -0
- package/lib/generated-client/models/{send-to-user-type.js → playback-order.js} +5 -6
- package/lib/generated-client/models/playback-progress-info.d.ts +7 -0
- package/lib/generated-client/models/playback-request-type.d.ts +35 -0
- package/lib/generated-client/models/playback-request-type.js +38 -0
- package/lib/generated-client/models/playback-start-info.d.ts +7 -0
- package/lib/generated-client/models/player-state-info.d.ts +7 -0
- package/lib/generated-client/models/playlist-user-permissions.d.ts +29 -0
- package/lib/generated-client/models/playstate-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-installing-message.d.ts +37 -0
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +37 -0
- package/lib/generated-client/models/process-priority-class.d.ts +24 -0
- package/lib/generated-client/models/process-priority-class.js +27 -0
- package/lib/generated-client/models/public-system-info.d.ts +1 -0
- package/lib/generated-client/models/refresh-progress-message.d.ts +38 -0
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +36 -0
- package/lib/generated-client/models/remote-subtitle-info.d.ts +30 -0
- package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +1 -1
- package/lib/generated-client/models/restart-required-message.d.ts +30 -0
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +37 -0
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +37 -0
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +30 -0
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +24 -0
- package/lib/generated-client/models/search-hint.d.ts +20 -17
- package/lib/generated-client/models/series-status.d.ts +2 -1
- package/lib/generated-client/models/series-status.js +3 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/series-timer-created-message.d.ts +37 -0
- package/lib/generated-client/models/server-configuration.d.ts +45 -0
- package/lib/generated-client/models/server-restarting-message.d.ts +30 -0
- package/lib/generated-client/models/server-shutting-down-message.d.ts +30 -0
- package/lib/generated-client/models/session-info.d.ts +9 -9
- package/lib/generated-client/models/sessions-message.d.ts +37 -0
- package/lib/generated-client/models/sessions-start-message.d.ts +30 -0
- package/lib/generated-client/models/sessions-stop-message.d.ts +24 -0
- package/lib/generated-client/models/string-group-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-command-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-queue-item.d.ts +29 -0
- package/lib/generated-client/models/system-info.d.ts +17 -6
- package/lib/generated-client/models/timer-cancelled-message.d.ts +37 -0
- package/lib/generated-client/models/timer-created-message.d.ts +37 -0
- package/lib/generated-client/models/transcoding-info.d.ts +3 -2
- package/lib/generated-client/models/transcoding-info.js +15 -0
- package/lib/generated-client/models/transcoding-profile.d.ts +3 -2
- package/lib/generated-client/models/trickplay-info.d.ts +59 -0
- package/lib/generated-client/models/trickplay-options.d.ts +85 -0
- package/lib/generated-client/models/trickplay-scan-behavior.d.ts +20 -0
- package/lib/generated-client/models/{notification-level.js → trickplay-scan-behavior.js} +5 -6
- package/lib/generated-client/models/tuner-host-info.d.ts +6 -0
- package/lib/generated-client/models/update-playlist-dto.d.ts +42 -0
- package/lib/generated-client/models/update-playlist-user-dto.d.ts +23 -0
- package/lib/generated-client/models/update-user-item-data-dto.d.ts +83 -0
- package/lib/generated-client/models/upload-subtitle-dto.d.ts +6 -0
- package/lib/generated-client/models/user-configuration.d.ts +6 -0
- package/lib/generated-client/models/user-data-change-info.d.ts +30 -0
- package/lib/generated-client/models/user-data-changed-message.d.ts +37 -0
- package/lib/generated-client/models/user-deleted-message.d.ts +36 -0
- package/lib/generated-client/models/user-dto.d.ts +1 -0
- package/lib/generated-client/models/user-policy.d.ts +26 -2
- package/lib/generated-client/models/user-updated-message.d.ts +37 -0
- package/lib/generated-client/models/video-range-type.d.ts +27 -0
- package/lib/generated-client/models/video-range-type.js +30 -0
- package/lib/generated-client/models/video-range.d.ts +21 -0
- package/lib/generated-client/models/{device-profile-type.js → video-range.js} +6 -5
- package/lib/generated-client/models/web-socket-message.d.ts +18 -0
- package/lib/node_modules/tslib/tslib.es6.js +9 -2
- package/lib/utils/api/image-api.d.ts +2 -2
- package/lib/utils/api/image-api.js +2 -2
- package/lib/utils/api/image-urls-api.d.ts +55 -0
- package/lib/utils/api/image-urls-api.js +103 -0
- package/lib/utils/api/index.d.ts +2 -4
- package/lib/utils/api/index.js +2 -4
- package/lib/utils/api/{dlna-api.d.ts → lyrics-api.d.ts} +2 -2
- package/lib/utils/api/{dlna-api.js → lyrics-api.js} +4 -4
- package/lib/utils/api/{dlna-server-api.d.ts → trickplay-api.d.ts} +2 -2
- package/lib/utils/api/trickplay-api.js +12 -0
- package/lib/utils/authentication.js +5 -6
- package/lib/utils/index.d.ts +2 -1
- package/lib/utils/index.js +2 -1
- package/lib/utils/versioning.d.ts +9 -0
- package/lib/utils/versioning.js +32 -0
- package/lib/versions.d.ts +2 -2
- package/lib/versions.js +2 -2
- package/package.json +17 -22
- package/lib/generated-client/api/dlna-server-api.js +0 -1088
- package/lib/generated-client/api/image-by-name-api.js +0 -423
- package/lib/generated-client/api/notifications-api.js +0 -484
- package/lib/utils/api/dlna-server-api.js +0 -12
- package/lib/utils/api/image-by-name-api.d.ts +0 -8
- package/lib/utils/api/image-by-name-api.js +0 -12
- package/lib/utils/api/notifications-api.d.ts +0 -8
- package/lib/utils/api/notifications-api.js +0 -12
|
@@ -25,34 +25,34 @@ export declare const UserLibraryApiAxiosParamCreator: (configuration?: Configura
|
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @summary Deletes a user\'s saved personal rating for an item.
|
|
28
|
-
* @param {string} userId User id.
|
|
29
28
|
* @param {string} itemId Item id.
|
|
29
|
+
* @param {string} [userId] User id.
|
|
30
30
|
* @param {*} [options] Override http request option.
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
*/
|
|
33
|
-
deleteUserItemRating: (
|
|
33
|
+
deleteUserItemRating: (itemId: string, userId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @summary Gets intros to play before the main media item plays.
|
|
37
|
-
* @param {string} userId User id.
|
|
38
37
|
* @param {string} itemId Item id.
|
|
38
|
+
* @param {string} [userId] User id.
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
getIntros: (
|
|
42
|
+
getIntros: (itemId: string, userId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @summary Gets an item from a user\'s library.
|
|
46
|
-
* @param {string} userId User id.
|
|
47
46
|
* @param {string} itemId Item id.
|
|
47
|
+
* @param {string} [userId] User id.
|
|
48
48
|
* @param {*} [options] Override http request option.
|
|
49
49
|
* @throws {RequiredError}
|
|
50
50
|
*/
|
|
51
|
-
getItem: (
|
|
51
|
+
getItem: (itemId: string, userId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @summary Gets latest media.
|
|
55
|
-
* @param {string} userId User id.
|
|
55
|
+
* @param {string} [userId] User id.
|
|
56
56
|
* @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
57
57
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
58
58
|
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
|
|
@@ -66,61 +66,61 @@ export declare const UserLibraryApiAxiosParamCreator: (configuration?: Configura
|
|
|
66
66
|
* @param {*} [options] Override http request option.
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
|
-
getLatestMedia: (userId
|
|
69
|
+
getLatestMedia: (userId?: string, parentId?: string, fields?: Array<ItemFields>, includeItemTypes?: Array<BaseItemKind>, isPlayed?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, enableUserData?: boolean, limit?: number, groupItems?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @summary Gets local trailers for an item.
|
|
73
|
-
* @param {string} userId User id.
|
|
74
73
|
* @param {string} itemId Item id.
|
|
74
|
+
* @param {string} [userId] User id.
|
|
75
75
|
* @param {*} [options] Override http request option.
|
|
76
76
|
* @throws {RequiredError}
|
|
77
77
|
*/
|
|
78
|
-
getLocalTrailers: (
|
|
78
|
+
getLocalTrailers: (itemId: string, userId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
79
|
/**
|
|
80
80
|
*
|
|
81
81
|
* @summary Gets the root folder from a user\'s library.
|
|
82
|
-
* @param {string} userId User id.
|
|
82
|
+
* @param {string} [userId] User id.
|
|
83
83
|
* @param {*} [options] Override http request option.
|
|
84
84
|
* @throws {RequiredError}
|
|
85
85
|
*/
|
|
86
|
-
getRootFolder: (userId
|
|
86
|
+
getRootFolder: (userId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
87
87
|
/**
|
|
88
88
|
*
|
|
89
89
|
* @summary Gets special features for an item.
|
|
90
|
-
* @param {string} userId User id.
|
|
91
90
|
* @param {string} itemId Item id.
|
|
91
|
+
* @param {string} [userId] User id.
|
|
92
92
|
* @param {*} [options] Override http request option.
|
|
93
93
|
* @throws {RequiredError}
|
|
94
94
|
*/
|
|
95
|
-
getSpecialFeatures: (
|
|
95
|
+
getSpecialFeatures: (itemId: string, userId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
98
|
* @summary Marks an item as a favorite.
|
|
99
|
-
* @param {string} userId User id.
|
|
100
99
|
* @param {string} itemId Item id.
|
|
100
|
+
* @param {string} [userId] User id.
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
102
102
|
* @throws {RequiredError}
|
|
103
103
|
*/
|
|
104
|
-
markFavoriteItem: (
|
|
104
|
+
markFavoriteItem: (itemId: string, userId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
107
|
* @summary Unmarks item as a favorite.
|
|
108
|
-
* @param {string} userId User id.
|
|
109
108
|
* @param {string} itemId Item id.
|
|
109
|
+
* @param {string} [userId] User id.
|
|
110
110
|
* @param {*} [options] Override http request option.
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
113
|
-
unmarkFavoriteItem: (
|
|
113
|
+
unmarkFavoriteItem: (itemId: string, userId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
114
114
|
/**
|
|
115
115
|
*
|
|
116
116
|
* @summary Updates a user\'s rating for an item.
|
|
117
|
-
* @param {string} userId User id.
|
|
118
117
|
* @param {string} itemId Item id.
|
|
119
|
-
* @param {
|
|
118
|
+
* @param {string} [userId] User id.
|
|
119
|
+
* @param {boolean} [likes] Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) is likes.
|
|
120
120
|
* @param {*} [options] Override http request option.
|
|
121
121
|
* @throws {RequiredError}
|
|
122
122
|
*/
|
|
123
|
-
updateUserItemRating: (
|
|
123
|
+
updateUserItemRating: (itemId: string, userId?: string, likes?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
124
124
|
};
|
|
125
125
|
/**
|
|
126
126
|
* UserLibraryApi - functional programming interface
|
|
@@ -130,34 +130,34 @@ export declare const UserLibraryApiFp: (configuration?: Configuration) => {
|
|
|
130
130
|
/**
|
|
131
131
|
*
|
|
132
132
|
* @summary Deletes a user\'s saved personal rating for an item.
|
|
133
|
-
* @param {string} userId User id.
|
|
134
133
|
* @param {string} itemId Item id.
|
|
134
|
+
* @param {string} [userId] User id.
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
*/
|
|
138
|
-
deleteUserItemRating(
|
|
138
|
+
deleteUserItemRating(itemId: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>>;
|
|
139
139
|
/**
|
|
140
140
|
*
|
|
141
141
|
* @summary Gets intros to play before the main media item plays.
|
|
142
|
-
* @param {string} userId User id.
|
|
143
142
|
* @param {string} itemId Item id.
|
|
143
|
+
* @param {string} [userId] User id.
|
|
144
144
|
* @param {*} [options] Override http request option.
|
|
145
145
|
* @throws {RequiredError}
|
|
146
146
|
*/
|
|
147
|
-
getIntros(
|
|
147
|
+
getIntros(itemId: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
148
148
|
/**
|
|
149
149
|
*
|
|
150
150
|
* @summary Gets an item from a user\'s library.
|
|
151
|
-
* @param {string} userId User id.
|
|
152
151
|
* @param {string} itemId Item id.
|
|
152
|
+
* @param {string} [userId] User id.
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
156
|
-
getItem(
|
|
156
|
+
getItem(itemId: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDto>>;
|
|
157
157
|
/**
|
|
158
158
|
*
|
|
159
159
|
* @summary Gets latest media.
|
|
160
|
-
* @param {string} userId User id.
|
|
160
|
+
* @param {string} [userId] User id.
|
|
161
161
|
* @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
162
162
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
163
163
|
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
|
|
@@ -171,61 +171,61 @@ export declare const UserLibraryApiFp: (configuration?: Configuration) => {
|
|
|
171
171
|
* @param {*} [options] Override http request option.
|
|
172
172
|
* @throws {RequiredError}
|
|
173
173
|
*/
|
|
174
|
-
getLatestMedia(userId
|
|
174
|
+
getLatestMedia(userId?: string, parentId?: string, fields?: Array<ItemFields>, includeItemTypes?: Array<BaseItemKind>, isPlayed?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, enableUserData?: boolean, limit?: number, groupItems?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BaseItemDto>>>;
|
|
175
175
|
/**
|
|
176
176
|
*
|
|
177
177
|
* @summary Gets local trailers for an item.
|
|
178
|
-
* @param {string} userId User id.
|
|
179
178
|
* @param {string} itemId Item id.
|
|
179
|
+
* @param {string} [userId] User id.
|
|
180
180
|
* @param {*} [options] Override http request option.
|
|
181
181
|
* @throws {RequiredError}
|
|
182
182
|
*/
|
|
183
|
-
getLocalTrailers(
|
|
183
|
+
getLocalTrailers(itemId: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BaseItemDto>>>;
|
|
184
184
|
/**
|
|
185
185
|
*
|
|
186
186
|
* @summary Gets the root folder from a user\'s library.
|
|
187
|
-
* @param {string} userId User id.
|
|
187
|
+
* @param {string} [userId] User id.
|
|
188
188
|
* @param {*} [options] Override http request option.
|
|
189
189
|
* @throws {RequiredError}
|
|
190
190
|
*/
|
|
191
|
-
getRootFolder(userId
|
|
191
|
+
getRootFolder(userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDto>>;
|
|
192
192
|
/**
|
|
193
193
|
*
|
|
194
194
|
* @summary Gets special features for an item.
|
|
195
|
-
* @param {string} userId User id.
|
|
196
195
|
* @param {string} itemId Item id.
|
|
196
|
+
* @param {string} [userId] User id.
|
|
197
197
|
* @param {*} [options] Override http request option.
|
|
198
198
|
* @throws {RequiredError}
|
|
199
199
|
*/
|
|
200
|
-
getSpecialFeatures(
|
|
200
|
+
getSpecialFeatures(itemId: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BaseItemDto>>>;
|
|
201
201
|
/**
|
|
202
202
|
*
|
|
203
203
|
* @summary Marks an item as a favorite.
|
|
204
|
-
* @param {string} userId User id.
|
|
205
204
|
* @param {string} itemId Item id.
|
|
205
|
+
* @param {string} [userId] User id.
|
|
206
206
|
* @param {*} [options] Override http request option.
|
|
207
207
|
* @throws {RequiredError}
|
|
208
208
|
*/
|
|
209
|
-
markFavoriteItem(
|
|
209
|
+
markFavoriteItem(itemId: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>>;
|
|
210
210
|
/**
|
|
211
211
|
*
|
|
212
212
|
* @summary Unmarks item as a favorite.
|
|
213
|
-
* @param {string} userId User id.
|
|
214
213
|
* @param {string} itemId Item id.
|
|
214
|
+
* @param {string} [userId] User id.
|
|
215
215
|
* @param {*} [options] Override http request option.
|
|
216
216
|
* @throws {RequiredError}
|
|
217
217
|
*/
|
|
218
|
-
unmarkFavoriteItem(
|
|
218
|
+
unmarkFavoriteItem(itemId: string, userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>>;
|
|
219
219
|
/**
|
|
220
220
|
*
|
|
221
221
|
* @summary Updates a user\'s rating for an item.
|
|
222
|
-
* @param {string} userId User id.
|
|
223
222
|
* @param {string} itemId Item id.
|
|
224
|
-
* @param {
|
|
223
|
+
* @param {string} [userId] User id.
|
|
224
|
+
* @param {boolean} [likes] Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) is likes.
|
|
225
225
|
* @param {*} [options] Override http request option.
|
|
226
226
|
* @throws {RequiredError}
|
|
227
227
|
*/
|
|
228
|
-
updateUserItemRating(
|
|
228
|
+
updateUserItemRating(itemId: string, userId?: string, likes?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserItemDataDto>>;
|
|
229
229
|
};
|
|
230
230
|
/**
|
|
231
231
|
* UserLibraryApi - factory interface
|
|
@@ -235,34 +235,34 @@ export declare const UserLibraryApiFactory: (configuration?: Configuration, base
|
|
|
235
235
|
/**
|
|
236
236
|
*
|
|
237
237
|
* @summary Deletes a user\'s saved personal rating for an item.
|
|
238
|
-
* @param {string} userId User id.
|
|
239
238
|
* @param {string} itemId Item id.
|
|
239
|
+
* @param {string} [userId] User id.
|
|
240
240
|
* @param {*} [options] Override http request option.
|
|
241
241
|
* @throws {RequiredError}
|
|
242
242
|
*/
|
|
243
|
-
deleteUserItemRating(
|
|
243
|
+
deleteUserItemRating(itemId: string, userId?: string, options?: any): AxiosPromise<UserItemDataDto>;
|
|
244
244
|
/**
|
|
245
245
|
*
|
|
246
246
|
* @summary Gets intros to play before the main media item plays.
|
|
247
|
-
* @param {string} userId User id.
|
|
248
247
|
* @param {string} itemId Item id.
|
|
248
|
+
* @param {string} [userId] User id.
|
|
249
249
|
* @param {*} [options] Override http request option.
|
|
250
250
|
* @throws {RequiredError}
|
|
251
251
|
*/
|
|
252
|
-
getIntros(
|
|
252
|
+
getIntros(itemId: string, userId?: string, options?: any): AxiosPromise<BaseItemDtoQueryResult>;
|
|
253
253
|
/**
|
|
254
254
|
*
|
|
255
255
|
* @summary Gets an item from a user\'s library.
|
|
256
|
-
* @param {string} userId User id.
|
|
257
256
|
* @param {string} itemId Item id.
|
|
257
|
+
* @param {string} [userId] User id.
|
|
258
258
|
* @param {*} [options] Override http request option.
|
|
259
259
|
* @throws {RequiredError}
|
|
260
260
|
*/
|
|
261
|
-
getItem(
|
|
261
|
+
getItem(itemId: string, userId?: string, options?: any): AxiosPromise<BaseItemDto>;
|
|
262
262
|
/**
|
|
263
263
|
*
|
|
264
264
|
* @summary Gets latest media.
|
|
265
|
-
* @param {string} userId User id.
|
|
265
|
+
* @param {string} [userId] User id.
|
|
266
266
|
* @param {string} [parentId] Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
267
267
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
268
268
|
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.
|
|
@@ -276,61 +276,61 @@ export declare const UserLibraryApiFactory: (configuration?: Configuration, base
|
|
|
276
276
|
* @param {*} [options] Override http request option.
|
|
277
277
|
* @throws {RequiredError}
|
|
278
278
|
*/
|
|
279
|
-
getLatestMedia(userId
|
|
279
|
+
getLatestMedia(userId?: string, parentId?: string, fields?: Array<ItemFields>, includeItemTypes?: Array<BaseItemKind>, isPlayed?: boolean, enableImages?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, enableUserData?: boolean, limit?: number, groupItems?: boolean, options?: any): AxiosPromise<Array<BaseItemDto>>;
|
|
280
280
|
/**
|
|
281
281
|
*
|
|
282
282
|
* @summary Gets local trailers for an item.
|
|
283
|
-
* @param {string} userId User id.
|
|
284
283
|
* @param {string} itemId Item id.
|
|
284
|
+
* @param {string} [userId] User id.
|
|
285
285
|
* @param {*} [options] Override http request option.
|
|
286
286
|
* @throws {RequiredError}
|
|
287
287
|
*/
|
|
288
|
-
getLocalTrailers(
|
|
288
|
+
getLocalTrailers(itemId: string, userId?: string, options?: any): AxiosPromise<Array<BaseItemDto>>;
|
|
289
289
|
/**
|
|
290
290
|
*
|
|
291
291
|
* @summary Gets the root folder from a user\'s library.
|
|
292
|
-
* @param {string} userId User id.
|
|
292
|
+
* @param {string} [userId] User id.
|
|
293
293
|
* @param {*} [options] Override http request option.
|
|
294
294
|
* @throws {RequiredError}
|
|
295
295
|
*/
|
|
296
|
-
getRootFolder(userId
|
|
296
|
+
getRootFolder(userId?: string, options?: any): AxiosPromise<BaseItemDto>;
|
|
297
297
|
/**
|
|
298
298
|
*
|
|
299
299
|
* @summary Gets special features for an item.
|
|
300
|
-
* @param {string} userId User id.
|
|
301
300
|
* @param {string} itemId Item id.
|
|
301
|
+
* @param {string} [userId] User id.
|
|
302
302
|
* @param {*} [options] Override http request option.
|
|
303
303
|
* @throws {RequiredError}
|
|
304
304
|
*/
|
|
305
|
-
getSpecialFeatures(
|
|
305
|
+
getSpecialFeatures(itemId: string, userId?: string, options?: any): AxiosPromise<Array<BaseItemDto>>;
|
|
306
306
|
/**
|
|
307
307
|
*
|
|
308
308
|
* @summary Marks an item as a favorite.
|
|
309
|
-
* @param {string} userId User id.
|
|
310
309
|
* @param {string} itemId Item id.
|
|
310
|
+
* @param {string} [userId] User id.
|
|
311
311
|
* @param {*} [options] Override http request option.
|
|
312
312
|
* @throws {RequiredError}
|
|
313
313
|
*/
|
|
314
|
-
markFavoriteItem(
|
|
314
|
+
markFavoriteItem(itemId: string, userId?: string, options?: any): AxiosPromise<UserItemDataDto>;
|
|
315
315
|
/**
|
|
316
316
|
*
|
|
317
317
|
* @summary Unmarks item as a favorite.
|
|
318
|
-
* @param {string} userId User id.
|
|
319
318
|
* @param {string} itemId Item id.
|
|
319
|
+
* @param {string} [userId] User id.
|
|
320
320
|
* @param {*} [options] Override http request option.
|
|
321
321
|
* @throws {RequiredError}
|
|
322
322
|
*/
|
|
323
|
-
unmarkFavoriteItem(
|
|
323
|
+
unmarkFavoriteItem(itemId: string, userId?: string, options?: any): AxiosPromise<UserItemDataDto>;
|
|
324
324
|
/**
|
|
325
325
|
*
|
|
326
326
|
* @summary Updates a user\'s rating for an item.
|
|
327
|
-
* @param {string} userId User id.
|
|
328
327
|
* @param {string} itemId Item id.
|
|
329
|
-
* @param {
|
|
328
|
+
* @param {string} [userId] User id.
|
|
329
|
+
* @param {boolean} [likes] Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) is likes.
|
|
330
330
|
* @param {*} [options] Override http request option.
|
|
331
331
|
* @throws {RequiredError}
|
|
332
332
|
*/
|
|
333
|
-
updateUserItemRating(
|
|
333
|
+
updateUserItemRating(itemId: string, userId?: string, likes?: boolean, options?: any): AxiosPromise<UserItemDataDto>;
|
|
334
334
|
};
|
|
335
335
|
/**
|
|
336
336
|
* Request parameters for deleteUserItemRating operation in UserLibraryApi.
|
|
@@ -339,17 +339,17 @@ export declare const UserLibraryApiFactory: (configuration?: Configuration, base
|
|
|
339
339
|
*/
|
|
340
340
|
export interface UserLibraryApiDeleteUserItemRatingRequest {
|
|
341
341
|
/**
|
|
342
|
-
*
|
|
342
|
+
* Item id.
|
|
343
343
|
* @type {string}
|
|
344
344
|
* @memberof UserLibraryApiDeleteUserItemRating
|
|
345
345
|
*/
|
|
346
|
-
readonly
|
|
346
|
+
readonly itemId: string;
|
|
347
347
|
/**
|
|
348
|
-
*
|
|
348
|
+
* User id.
|
|
349
349
|
* @type {string}
|
|
350
350
|
* @memberof UserLibraryApiDeleteUserItemRating
|
|
351
351
|
*/
|
|
352
|
-
readonly
|
|
352
|
+
readonly userId?: string;
|
|
353
353
|
}
|
|
354
354
|
/**
|
|
355
355
|
* Request parameters for getIntros operation in UserLibraryApi.
|
|
@@ -358,17 +358,17 @@ export interface UserLibraryApiDeleteUserItemRatingRequest {
|
|
|
358
358
|
*/
|
|
359
359
|
export interface UserLibraryApiGetIntrosRequest {
|
|
360
360
|
/**
|
|
361
|
-
*
|
|
361
|
+
* Item id.
|
|
362
362
|
* @type {string}
|
|
363
363
|
* @memberof UserLibraryApiGetIntros
|
|
364
364
|
*/
|
|
365
|
-
readonly
|
|
365
|
+
readonly itemId: string;
|
|
366
366
|
/**
|
|
367
|
-
*
|
|
367
|
+
* User id.
|
|
368
368
|
* @type {string}
|
|
369
369
|
* @memberof UserLibraryApiGetIntros
|
|
370
370
|
*/
|
|
371
|
-
readonly
|
|
371
|
+
readonly userId?: string;
|
|
372
372
|
}
|
|
373
373
|
/**
|
|
374
374
|
* Request parameters for getItem operation in UserLibraryApi.
|
|
@@ -377,17 +377,17 @@ export interface UserLibraryApiGetIntrosRequest {
|
|
|
377
377
|
*/
|
|
378
378
|
export interface UserLibraryApiGetItemRequest {
|
|
379
379
|
/**
|
|
380
|
-
*
|
|
380
|
+
* Item id.
|
|
381
381
|
* @type {string}
|
|
382
382
|
* @memberof UserLibraryApiGetItem
|
|
383
383
|
*/
|
|
384
|
-
readonly
|
|
384
|
+
readonly itemId: string;
|
|
385
385
|
/**
|
|
386
|
-
*
|
|
386
|
+
* User id.
|
|
387
387
|
* @type {string}
|
|
388
388
|
* @memberof UserLibraryApiGetItem
|
|
389
389
|
*/
|
|
390
|
-
readonly
|
|
390
|
+
readonly userId?: string;
|
|
391
391
|
}
|
|
392
392
|
/**
|
|
393
393
|
* Request parameters for getLatestMedia operation in UserLibraryApi.
|
|
@@ -400,7 +400,7 @@ export interface UserLibraryApiGetLatestMediaRequest {
|
|
|
400
400
|
* @type {string}
|
|
401
401
|
* @memberof UserLibraryApiGetLatestMedia
|
|
402
402
|
*/
|
|
403
|
-
readonly userId
|
|
403
|
+
readonly userId?: string;
|
|
404
404
|
/**
|
|
405
405
|
* Specify this to localize the search to a specific item or folder. Omit to use the root.
|
|
406
406
|
* @type {string}
|
|
@@ -469,17 +469,17 @@ export interface UserLibraryApiGetLatestMediaRequest {
|
|
|
469
469
|
*/
|
|
470
470
|
export interface UserLibraryApiGetLocalTrailersRequest {
|
|
471
471
|
/**
|
|
472
|
-
*
|
|
472
|
+
* Item id.
|
|
473
473
|
* @type {string}
|
|
474
474
|
* @memberof UserLibraryApiGetLocalTrailers
|
|
475
475
|
*/
|
|
476
|
-
readonly
|
|
476
|
+
readonly itemId: string;
|
|
477
477
|
/**
|
|
478
|
-
*
|
|
478
|
+
* User id.
|
|
479
479
|
* @type {string}
|
|
480
480
|
* @memberof UserLibraryApiGetLocalTrailers
|
|
481
481
|
*/
|
|
482
|
-
readonly
|
|
482
|
+
readonly userId?: string;
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
485
|
* Request parameters for getRootFolder operation in UserLibraryApi.
|
|
@@ -492,7 +492,7 @@ export interface UserLibraryApiGetRootFolderRequest {
|
|
|
492
492
|
* @type {string}
|
|
493
493
|
* @memberof UserLibraryApiGetRootFolder
|
|
494
494
|
*/
|
|
495
|
-
readonly userId
|
|
495
|
+
readonly userId?: string;
|
|
496
496
|
}
|
|
497
497
|
/**
|
|
498
498
|
* Request parameters for getSpecialFeatures operation in UserLibraryApi.
|
|
@@ -501,17 +501,17 @@ export interface UserLibraryApiGetRootFolderRequest {
|
|
|
501
501
|
*/
|
|
502
502
|
export interface UserLibraryApiGetSpecialFeaturesRequest {
|
|
503
503
|
/**
|
|
504
|
-
*
|
|
504
|
+
* Item id.
|
|
505
505
|
* @type {string}
|
|
506
506
|
* @memberof UserLibraryApiGetSpecialFeatures
|
|
507
507
|
*/
|
|
508
|
-
readonly
|
|
508
|
+
readonly itemId: string;
|
|
509
509
|
/**
|
|
510
|
-
*
|
|
510
|
+
* User id.
|
|
511
511
|
* @type {string}
|
|
512
512
|
* @memberof UserLibraryApiGetSpecialFeatures
|
|
513
513
|
*/
|
|
514
|
-
readonly
|
|
514
|
+
readonly userId?: string;
|
|
515
515
|
}
|
|
516
516
|
/**
|
|
517
517
|
* Request parameters for markFavoriteItem operation in UserLibraryApi.
|
|
@@ -520,17 +520,17 @@ export interface UserLibraryApiGetSpecialFeaturesRequest {
|
|
|
520
520
|
*/
|
|
521
521
|
export interface UserLibraryApiMarkFavoriteItemRequest {
|
|
522
522
|
/**
|
|
523
|
-
*
|
|
523
|
+
* Item id.
|
|
524
524
|
* @type {string}
|
|
525
525
|
* @memberof UserLibraryApiMarkFavoriteItem
|
|
526
526
|
*/
|
|
527
|
-
readonly
|
|
527
|
+
readonly itemId: string;
|
|
528
528
|
/**
|
|
529
|
-
*
|
|
529
|
+
* User id.
|
|
530
530
|
* @type {string}
|
|
531
531
|
* @memberof UserLibraryApiMarkFavoriteItem
|
|
532
532
|
*/
|
|
533
|
-
readonly
|
|
533
|
+
readonly userId?: string;
|
|
534
534
|
}
|
|
535
535
|
/**
|
|
536
536
|
* Request parameters for unmarkFavoriteItem operation in UserLibraryApi.
|
|
@@ -539,17 +539,17 @@ export interface UserLibraryApiMarkFavoriteItemRequest {
|
|
|
539
539
|
*/
|
|
540
540
|
export interface UserLibraryApiUnmarkFavoriteItemRequest {
|
|
541
541
|
/**
|
|
542
|
-
*
|
|
542
|
+
* Item id.
|
|
543
543
|
* @type {string}
|
|
544
544
|
* @memberof UserLibraryApiUnmarkFavoriteItem
|
|
545
545
|
*/
|
|
546
|
-
readonly
|
|
546
|
+
readonly itemId: string;
|
|
547
547
|
/**
|
|
548
|
-
*
|
|
548
|
+
* User id.
|
|
549
549
|
* @type {string}
|
|
550
550
|
* @memberof UserLibraryApiUnmarkFavoriteItem
|
|
551
551
|
*/
|
|
552
|
-
readonly
|
|
552
|
+
readonly userId?: string;
|
|
553
553
|
}
|
|
554
554
|
/**
|
|
555
555
|
* Request parameters for updateUserItemRating operation in UserLibraryApi.
|
|
@@ -558,19 +558,19 @@ export interface UserLibraryApiUnmarkFavoriteItemRequest {
|
|
|
558
558
|
*/
|
|
559
559
|
export interface UserLibraryApiUpdateUserItemRatingRequest {
|
|
560
560
|
/**
|
|
561
|
-
*
|
|
561
|
+
* Item id.
|
|
562
562
|
* @type {string}
|
|
563
563
|
* @memberof UserLibraryApiUpdateUserItemRating
|
|
564
564
|
*/
|
|
565
|
-
readonly
|
|
565
|
+
readonly itemId: string;
|
|
566
566
|
/**
|
|
567
|
-
*
|
|
567
|
+
* User id.
|
|
568
568
|
* @type {string}
|
|
569
569
|
* @memberof UserLibraryApiUpdateUserItemRating
|
|
570
570
|
*/
|
|
571
|
-
readonly
|
|
571
|
+
readonly userId?: string;
|
|
572
572
|
/**
|
|
573
|
-
* Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Guid,System.Guid,System.Nullable{System.Boolean}) is likes.
|
|
573
|
+
* Whether this M:Jellyfin.Api.Controllers.UserLibraryController.UpdateUserItemRating(System.Nullable{System.Guid},System.Guid,System.Nullable{System.Boolean}) is likes.
|
|
574
574
|
* @type {boolean}
|
|
575
575
|
* @memberof UserLibraryApiUpdateUserItemRating
|
|
576
576
|
*/
|
|
@@ -618,7 +618,7 @@ export declare class UserLibraryApi extends BaseAPI {
|
|
|
618
618
|
* @throws {RequiredError}
|
|
619
619
|
* @memberof UserLibraryApi
|
|
620
620
|
*/
|
|
621
|
-
getLatestMedia(requestParameters
|
|
621
|
+
getLatestMedia(requestParameters?: UserLibraryApiGetLatestMediaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto[], any>>;
|
|
622
622
|
/**
|
|
623
623
|
*
|
|
624
624
|
* @summary Gets local trailers for an item.
|
|
@@ -636,7 +636,7 @@ export declare class UserLibraryApi extends BaseAPI {
|
|
|
636
636
|
* @throws {RequiredError}
|
|
637
637
|
* @memberof UserLibraryApi
|
|
638
638
|
*/
|
|
639
|
-
getRootFolder(requestParameters
|
|
639
|
+
getRootFolder(requestParameters?: UserLibraryApiGetRootFolderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any>>;
|
|
640
640
|
/**
|
|
641
641
|
*
|
|
642
642
|
* @summary Gets special features for an item.
|