@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
|
@@ -12,6 +12,7 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
12
12
|
import { Configuration } from '../configuration';
|
|
13
13
|
import { RequestArgs, BaseAPI } from '../base';
|
|
14
14
|
import { BaseItemDtoQueryResult } from '../models';
|
|
15
|
+
import { CollectionType } from '../models';
|
|
15
16
|
import { SpecialViewOptionDto } from '../models';
|
|
16
17
|
/**
|
|
17
18
|
* UserViewsApi - axios parameter creator
|
|
@@ -21,22 +22,22 @@ export declare const UserViewsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
21
22
|
/**
|
|
22
23
|
*
|
|
23
24
|
* @summary Get user view grouping options.
|
|
24
|
-
* @param {string} userId User id.
|
|
25
|
+
* @param {string} [userId] User id.
|
|
25
26
|
* @param {*} [options] Override http request option.
|
|
26
27
|
* @throws {RequiredError}
|
|
27
28
|
*/
|
|
28
|
-
getGroupingOptions: (userId
|
|
29
|
+
getGroupingOptions: (userId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
29
30
|
/**
|
|
30
31
|
*
|
|
31
32
|
* @summary Get user views.
|
|
32
|
-
* @param {string} userId User id.
|
|
33
|
+
* @param {string} [userId] User id.
|
|
33
34
|
* @param {boolean} [includeExternalContent] Whether or not to include external views such as channels or live tv.
|
|
34
|
-
* @param {Array<
|
|
35
|
+
* @param {Array<CollectionType>} [presetViews] Preset views.
|
|
35
36
|
* @param {boolean} [includeHidden] Whether or not to include hidden content.
|
|
36
37
|
* @param {*} [options] Override http request option.
|
|
37
38
|
* @throws {RequiredError}
|
|
38
39
|
*/
|
|
39
|
-
getUserViews: (userId
|
|
40
|
+
getUserViews: (userId?: string, includeExternalContent?: boolean, presetViews?: Array<CollectionType>, includeHidden?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
41
|
};
|
|
41
42
|
/**
|
|
42
43
|
* UserViewsApi - functional programming interface
|
|
@@ -46,22 +47,22 @@ export declare const UserViewsApiFp: (configuration?: Configuration) => {
|
|
|
46
47
|
/**
|
|
47
48
|
*
|
|
48
49
|
* @summary Get user view grouping options.
|
|
49
|
-
* @param {string} userId User id.
|
|
50
|
+
* @param {string} [userId] User id.
|
|
50
51
|
* @param {*} [options] Override http request option.
|
|
51
52
|
* @throws {RequiredError}
|
|
52
53
|
*/
|
|
53
|
-
getGroupingOptions(userId
|
|
54
|
+
getGroupingOptions(userId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SpecialViewOptionDto>>>;
|
|
54
55
|
/**
|
|
55
56
|
*
|
|
56
57
|
* @summary Get user views.
|
|
57
|
-
* @param {string} userId User id.
|
|
58
|
+
* @param {string} [userId] User id.
|
|
58
59
|
* @param {boolean} [includeExternalContent] Whether or not to include external views such as channels or live tv.
|
|
59
|
-
* @param {Array<
|
|
60
|
+
* @param {Array<CollectionType>} [presetViews] Preset views.
|
|
60
61
|
* @param {boolean} [includeHidden] Whether or not to include hidden content.
|
|
61
62
|
* @param {*} [options] Override http request option.
|
|
62
63
|
* @throws {RequiredError}
|
|
63
64
|
*/
|
|
64
|
-
getUserViews(userId
|
|
65
|
+
getUserViews(userId?: string, includeExternalContent?: boolean, presetViews?: Array<CollectionType>, includeHidden?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
65
66
|
};
|
|
66
67
|
/**
|
|
67
68
|
* UserViewsApi - factory interface
|
|
@@ -71,22 +72,22 @@ export declare const UserViewsApiFactory: (configuration?: Configuration, basePa
|
|
|
71
72
|
/**
|
|
72
73
|
*
|
|
73
74
|
* @summary Get user view grouping options.
|
|
74
|
-
* @param {string} userId User id.
|
|
75
|
+
* @param {string} [userId] User id.
|
|
75
76
|
* @param {*} [options] Override http request option.
|
|
76
77
|
* @throws {RequiredError}
|
|
77
78
|
*/
|
|
78
|
-
getGroupingOptions(userId
|
|
79
|
+
getGroupingOptions(userId?: string, options?: any): AxiosPromise<Array<SpecialViewOptionDto>>;
|
|
79
80
|
/**
|
|
80
81
|
*
|
|
81
82
|
* @summary Get user views.
|
|
82
|
-
* @param {string} userId User id.
|
|
83
|
+
* @param {string} [userId] User id.
|
|
83
84
|
* @param {boolean} [includeExternalContent] Whether or not to include external views such as channels or live tv.
|
|
84
|
-
* @param {Array<
|
|
85
|
+
* @param {Array<CollectionType>} [presetViews] Preset views.
|
|
85
86
|
* @param {boolean} [includeHidden] Whether or not to include hidden content.
|
|
86
87
|
* @param {*} [options] Override http request option.
|
|
87
88
|
* @throws {RequiredError}
|
|
88
89
|
*/
|
|
89
|
-
getUserViews(userId
|
|
90
|
+
getUserViews(userId?: string, includeExternalContent?: boolean, presetViews?: Array<CollectionType>, includeHidden?: boolean, options?: any): AxiosPromise<BaseItemDtoQueryResult>;
|
|
90
91
|
};
|
|
91
92
|
/**
|
|
92
93
|
* Request parameters for getGroupingOptions operation in UserViewsApi.
|
|
@@ -99,7 +100,7 @@ export interface UserViewsApiGetGroupingOptionsRequest {
|
|
|
99
100
|
* @type {string}
|
|
100
101
|
* @memberof UserViewsApiGetGroupingOptions
|
|
101
102
|
*/
|
|
102
|
-
readonly userId
|
|
103
|
+
readonly userId?: string;
|
|
103
104
|
}
|
|
104
105
|
/**
|
|
105
106
|
* Request parameters for getUserViews operation in UserViewsApi.
|
|
@@ -112,7 +113,7 @@ export interface UserViewsApiGetUserViewsRequest {
|
|
|
112
113
|
* @type {string}
|
|
113
114
|
* @memberof UserViewsApiGetUserViews
|
|
114
115
|
*/
|
|
115
|
-
readonly userId
|
|
116
|
+
readonly userId?: string;
|
|
116
117
|
/**
|
|
117
118
|
* Whether or not to include external views such as channels or live tv.
|
|
118
119
|
* @type {boolean}
|
|
@@ -121,10 +122,10 @@ export interface UserViewsApiGetUserViewsRequest {
|
|
|
121
122
|
readonly includeExternalContent?: boolean;
|
|
122
123
|
/**
|
|
123
124
|
* Preset views.
|
|
124
|
-
* @type {Array<
|
|
125
|
+
* @type {Array<CollectionType>}
|
|
125
126
|
* @memberof UserViewsApiGetUserViews
|
|
126
127
|
*/
|
|
127
|
-
readonly presetViews?: Array<
|
|
128
|
+
readonly presetViews?: Array<CollectionType>;
|
|
128
129
|
/**
|
|
129
130
|
* Whether or not to include hidden content.
|
|
130
131
|
* @type {boolean}
|
|
@@ -147,7 +148,7 @@ export declare class UserViewsApi extends BaseAPI {
|
|
|
147
148
|
* @throws {RequiredError}
|
|
148
149
|
* @memberof UserViewsApi
|
|
149
150
|
*/
|
|
150
|
-
getGroupingOptions(requestParameters
|
|
151
|
+
getGroupingOptions(requestParameters?: UserViewsApiGetGroupingOptionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialViewOptionDto[], any>>;
|
|
151
152
|
/**
|
|
152
153
|
*
|
|
153
154
|
* @summary Get user views.
|
|
@@ -156,5 +157,5 @@ export declare class UserViewsApi extends BaseAPI {
|
|
|
156
157
|
* @throws {RequiredError}
|
|
157
158
|
* @memberof UserViewsApi
|
|
158
159
|
*/
|
|
159
|
-
getUserViews(requestParameters
|
|
160
|
+
getUserViews(requestParameters?: UserViewsApiGetUserViewsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
160
161
|
}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import globalAxios from 'axios';
|
|
3
|
-
import {
|
|
3
|
+
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
4
4
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
5
|
|
|
6
6
|
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Jellyfin API
|
|
13
|
+
*
|
|
14
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
15
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
16
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
17
|
+
*/
|
|
7
18
|
/**
|
|
8
19
|
* UserViewsApi - axios parameter creator
|
|
9
20
|
* @export
|
|
@@ -13,15 +24,12 @@ const UserViewsApiAxiosParamCreator = function (configuration) {
|
|
|
13
24
|
/**
|
|
14
25
|
*
|
|
15
26
|
* @summary Get user view grouping options.
|
|
16
|
-
* @param {string} userId User id.
|
|
27
|
+
* @param {string} [userId] User id.
|
|
17
28
|
* @param {*} [options] Override http request option.
|
|
18
29
|
* @throws {RequiredError}
|
|
19
30
|
*/
|
|
20
|
-
getGroupingOptions: (
|
|
21
|
-
|
|
22
|
-
assertParamExists('getGroupingOptions', 'userId', userId);
|
|
23
|
-
const localVarPath = `/Users/{userId}/GroupingOptions`
|
|
24
|
-
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
31
|
+
getGroupingOptions: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
|
|
32
|
+
const localVarPath = `/UserViews/GroupingOptions`;
|
|
25
33
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26
34
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27
35
|
let baseOptions;
|
|
@@ -33,6 +41,9 @@ const UserViewsApiAxiosParamCreator = function (configuration) {
|
|
|
33
41
|
const localVarQueryParameter = {};
|
|
34
42
|
// authentication CustomAuthentication required
|
|
35
43
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
44
|
+
if (userId !== undefined) {
|
|
45
|
+
localVarQueryParameter['userId'] = userId;
|
|
46
|
+
}
|
|
36
47
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37
48
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38
49
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -44,18 +55,15 @@ const UserViewsApiAxiosParamCreator = function (configuration) {
|
|
|
44
55
|
/**
|
|
45
56
|
*
|
|
46
57
|
* @summary Get user views.
|
|
47
|
-
* @param {string} userId User id.
|
|
58
|
+
* @param {string} [userId] User id.
|
|
48
59
|
* @param {boolean} [includeExternalContent] Whether or not to include external views such as channels or live tv.
|
|
49
|
-
* @param {Array<
|
|
60
|
+
* @param {Array<CollectionType>} [presetViews] Preset views.
|
|
50
61
|
* @param {boolean} [includeHidden] Whether or not to include hidden content.
|
|
51
62
|
* @param {*} [options] Override http request option.
|
|
52
63
|
* @throws {RequiredError}
|
|
53
64
|
*/
|
|
54
|
-
getUserViews: (
|
|
55
|
-
|
|
56
|
-
assertParamExists('getUserViews', 'userId', userId);
|
|
57
|
-
const localVarPath = `/Users/{userId}/Views`
|
|
58
|
-
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
65
|
+
getUserViews: (userId_2, includeExternalContent_1, presetViews_1, includeHidden_1, ...args_2) => __awaiter(this, [userId_2, includeExternalContent_1, presetViews_1, includeHidden_1, ...args_2], void 0, function* (userId, includeExternalContent, presetViews, includeHidden, options = {}) {
|
|
66
|
+
const localVarPath = `/UserViews`;
|
|
59
67
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60
68
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61
69
|
let baseOptions;
|
|
@@ -67,6 +75,9 @@ const UserViewsApiAxiosParamCreator = function (configuration) {
|
|
|
67
75
|
const localVarQueryParameter = {};
|
|
68
76
|
// authentication CustomAuthentication required
|
|
69
77
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
78
|
+
if (userId !== undefined) {
|
|
79
|
+
localVarQueryParameter['userId'] = userId;
|
|
80
|
+
}
|
|
70
81
|
if (includeExternalContent !== undefined) {
|
|
71
82
|
localVarQueryParameter['includeExternalContent'] = includeExternalContent;
|
|
72
83
|
}
|
|
@@ -96,7 +107,7 @@ const UserViewsApiFp = function (configuration) {
|
|
|
96
107
|
/**
|
|
97
108
|
*
|
|
98
109
|
* @summary Get user view grouping options.
|
|
99
|
-
* @param {string} userId User id.
|
|
110
|
+
* @param {string} [userId] User id.
|
|
100
111
|
* @param {*} [options] Override http request option.
|
|
101
112
|
* @throws {RequiredError}
|
|
102
113
|
*/
|
|
@@ -109,9 +120,9 @@ const UserViewsApiFp = function (configuration) {
|
|
|
109
120
|
/**
|
|
110
121
|
*
|
|
111
122
|
* @summary Get user views.
|
|
112
|
-
* @param {string} userId User id.
|
|
123
|
+
* @param {string} [userId] User id.
|
|
113
124
|
* @param {boolean} [includeExternalContent] Whether or not to include external views such as channels or live tv.
|
|
114
|
-
* @param {Array<
|
|
125
|
+
* @param {Array<CollectionType>} [presetViews] Preset views.
|
|
115
126
|
* @param {boolean} [includeHidden] Whether or not to include hidden content.
|
|
116
127
|
* @param {*} [options] Override http request option.
|
|
117
128
|
* @throws {RequiredError}
|
|
@@ -134,7 +145,7 @@ const UserViewsApiFactory = function (configuration, basePath, axios) {
|
|
|
134
145
|
/**
|
|
135
146
|
*
|
|
136
147
|
* @summary Get user view grouping options.
|
|
137
|
-
* @param {string} userId User id.
|
|
148
|
+
* @param {string} [userId] User id.
|
|
138
149
|
* @param {*} [options] Override http request option.
|
|
139
150
|
* @throws {RequiredError}
|
|
140
151
|
*/
|
|
@@ -144,9 +155,9 @@ const UserViewsApiFactory = function (configuration, basePath, axios) {
|
|
|
144
155
|
/**
|
|
145
156
|
*
|
|
146
157
|
* @summary Get user views.
|
|
147
|
-
* @param {string} userId User id.
|
|
158
|
+
* @param {string} [userId] User id.
|
|
148
159
|
* @param {boolean} [includeExternalContent] Whether or not to include external views such as channels or live tv.
|
|
149
|
-
* @param {Array<
|
|
160
|
+
* @param {Array<CollectionType>} [presetViews] Preset views.
|
|
150
161
|
* @param {boolean} [includeHidden] Whether or not to include hidden content.
|
|
151
162
|
* @param {*} [options] Override http request option.
|
|
152
163
|
* @throws {RequiredError}
|
|
@@ -171,7 +182,7 @@ class UserViewsApi extends BaseAPI {
|
|
|
171
182
|
* @throws {RequiredError}
|
|
172
183
|
* @memberof UserViewsApi
|
|
173
184
|
*/
|
|
174
|
-
getGroupingOptions(requestParameters, options) {
|
|
185
|
+
getGroupingOptions(requestParameters = {}, options) {
|
|
175
186
|
return UserViewsApiFp(this.configuration).getGroupingOptions(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
176
187
|
}
|
|
177
188
|
/**
|
|
@@ -182,7 +193,7 @@ class UserViewsApi extends BaseAPI {
|
|
|
182
193
|
* @throws {RequiredError}
|
|
183
194
|
* @memberof UserViewsApi
|
|
184
195
|
*/
|
|
185
|
-
getUserViews(requestParameters, options) {
|
|
196
|
+
getUserViews(requestParameters = {}, options) {
|
|
186
197
|
return UserViewsApiFp(this.configuration).getUserViews(requestParameters.userId, requestParameters.includeExternalContent, requestParameters.presetViews, requestParameters.includeHidden, options).then((request) => request(this.axios, this.basePath));
|
|
187
198
|
}
|
|
188
199
|
}
|
|
@@ -4,6 +4,17 @@ import { assertParamExists, DUMMY_BASE_URL, setSearchParams, toPathString, creat
|
|
|
4
4
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
5
|
|
|
6
6
|
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Jellyfin API
|
|
13
|
+
*
|
|
14
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
15
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
16
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
17
|
+
*/
|
|
7
18
|
/**
|
|
8
19
|
* VideoAttachmentsApi - axios parameter creator
|
|
9
20
|
* @export
|
|
@@ -19,7 +30,7 @@ const VideoAttachmentsApiAxiosParamCreator = function (configuration) {
|
|
|
19
30
|
* @param {*} [options] Override http request option.
|
|
20
31
|
* @throws {RequiredError}
|
|
21
32
|
*/
|
|
22
|
-
getAttachment: (
|
|
33
|
+
getAttachment: (videoId_1, mediaSourceId_1, index_1, ...args_1) => __awaiter(this, [videoId_1, mediaSourceId_1, index_1, ...args_1], void 0, function* (videoId, mediaSourceId, index, options = {}) {
|
|
23
34
|
// verify required parameter 'videoId' is not null or undefined
|
|
24
35
|
assertParamExists('getAttachment', 'videoId', videoId);
|
|
25
36
|
// verify required parameter 'mediaSourceId' is not null or undefined
|
|
@@ -4,6 +4,17 @@ import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams,
|
|
|
4
4
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
5
|
|
|
6
6
|
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Jellyfin API
|
|
13
|
+
*
|
|
14
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
15
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
16
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
17
|
+
*/
|
|
7
18
|
/**
|
|
8
19
|
* VideosApi - axios parameter creator
|
|
9
20
|
* @export
|
|
@@ -17,7 +28,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
|
|
|
17
28
|
* @param {*} [options] Override http request option.
|
|
18
29
|
* @throws {RequiredError}
|
|
19
30
|
*/
|
|
20
|
-
deleteAlternateSources: (
|
|
31
|
+
deleteAlternateSources: (itemId_1, ...args_1) => __awaiter(this, [itemId_1, ...args_1], void 0, function* (itemId, options = {}) {
|
|
21
32
|
// verify required parameter 'itemId' is not null or undefined
|
|
22
33
|
assertParamExists('deleteAlternateSources', 'itemId', itemId);
|
|
23
34
|
const localVarPath = `/Videos/{itemId}/AlternateSources`
|
|
@@ -49,7 +60,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
|
|
|
49
60
|
* @param {*} [options] Override http request option.
|
|
50
61
|
* @throws {RequiredError}
|
|
51
62
|
*/
|
|
52
|
-
getAdditionalPart: (
|
|
63
|
+
getAdditionalPart: (itemId_2, userId_1, ...args_2) => __awaiter(this, [itemId_2, userId_1, ...args_2], void 0, function* (itemId, userId, options = {}) {
|
|
53
64
|
// verify required parameter 'itemId' is not null or undefined
|
|
54
65
|
assertParamExists('getAdditionalPart', 'itemId', itemId);
|
|
55
66
|
const localVarPath = `/Videos/{itemId}/AdditionalParts`
|
|
@@ -133,7 +144,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
|
|
|
133
144
|
* @param {*} [options] Override http request option.
|
|
134
145
|
* @throws {RequiredError}
|
|
135
146
|
*/
|
|
136
|
-
getVideoStream: (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {})
|
|
147
|
+
getVideoStream: (itemId_3, container_1, _static_1, params_1, tag_1, deviceProfileId_1, playSessionId_1, segmentContainer_1, segmentLength_1, minSegments_1, mediaSourceId_1, deviceId_1, audioCodec_1, enableAutoStreamCopy_1, allowVideoStreamCopy_1, allowAudioStreamCopy_1, breakOnNonKeyFrames_1, audioSampleRate_1, maxAudioBitDepth_1, audioBitRate_1, audioChannels_1, maxAudioChannels_1, profile_1, level_1, framerate_1, maxFramerate_1, copyTimestamps_1, startTimeTicks_1, width_1, height_1, maxWidth_1, maxHeight_1, videoBitRate_1, subtitleStreamIndex_1, subtitleMethod_1, maxRefFrames_1, maxVideoBitDepth_1, requireAvc_1, deInterlace_1, requireNonAnamorphic_1, transcodingMaxAudioChannels_1, cpuCoreLimit_1, liveStreamId_1, enableMpegtsM2TsMode_1, videoCodec_1, subtitleCodec_1, transcodeReasons_1, audioStreamIndex_1, videoStreamIndex_1, context_1, streamOptions_1, ...args_3) => __awaiter(this, [itemId_3, container_1, _static_1, params_1, tag_1, deviceProfileId_1, playSessionId_1, segmentContainer_1, segmentLength_1, minSegments_1, mediaSourceId_1, deviceId_1, audioCodec_1, enableAutoStreamCopy_1, allowVideoStreamCopy_1, allowAudioStreamCopy_1, breakOnNonKeyFrames_1, audioSampleRate_1, maxAudioBitDepth_1, audioBitRate_1, audioChannels_1, maxAudioChannels_1, profile_1, level_1, framerate_1, maxFramerate_1, copyTimestamps_1, startTimeTicks_1, width_1, height_1, maxWidth_1, maxHeight_1, videoBitRate_1, subtitleStreamIndex_1, subtitleMethod_1, maxRefFrames_1, maxVideoBitDepth_1, requireAvc_1, deInterlace_1, requireNonAnamorphic_1, transcodingMaxAudioChannels_1, cpuCoreLimit_1, liveStreamId_1, enableMpegtsM2TsMode_1, videoCodec_1, subtitleCodec_1, transcodeReasons_1, audioStreamIndex_1, videoStreamIndex_1, context_1, streamOptions_1, ...args_3], void 0, function* (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) {
|
|
137
148
|
// verify required parameter 'itemId' is not null or undefined
|
|
138
149
|
assertParamExists('getVideoStream', 'itemId', itemId);
|
|
139
150
|
const localVarPath = `/Videos/{itemId}/stream`
|
|
@@ -362,7 +373,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
|
|
|
362
373
|
* @param {*} [options] Override http request option.
|
|
363
374
|
* @throws {RequiredError}
|
|
364
375
|
*/
|
|
365
|
-
getVideoStreamByContainer: (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {})
|
|
376
|
+
getVideoStreamByContainer: (itemId_4, container_2, _static_2, params_2, tag_2, deviceProfileId_2, playSessionId_2, segmentContainer_2, segmentLength_2, minSegments_2, mediaSourceId_2, deviceId_2, audioCodec_2, enableAutoStreamCopy_2, allowVideoStreamCopy_2, allowAudioStreamCopy_2, breakOnNonKeyFrames_2, audioSampleRate_2, maxAudioBitDepth_2, audioBitRate_2, audioChannels_2, maxAudioChannels_2, profile_2, level_2, framerate_2, maxFramerate_2, copyTimestamps_2, startTimeTicks_2, width_2, height_2, maxWidth_2, maxHeight_2, videoBitRate_2, subtitleStreamIndex_2, subtitleMethod_2, maxRefFrames_2, maxVideoBitDepth_2, requireAvc_2, deInterlace_2, requireNonAnamorphic_2, transcodingMaxAudioChannels_2, cpuCoreLimit_2, liveStreamId_2, enableMpegtsM2TsMode_2, videoCodec_2, subtitleCodec_2, transcodeReasons_2, audioStreamIndex_2, videoStreamIndex_2, context_2, streamOptions_2, ...args_4) => __awaiter(this, [itemId_4, container_2, _static_2, params_2, tag_2, deviceProfileId_2, playSessionId_2, segmentContainer_2, segmentLength_2, minSegments_2, mediaSourceId_2, deviceId_2, audioCodec_2, enableAutoStreamCopy_2, allowVideoStreamCopy_2, allowAudioStreamCopy_2, breakOnNonKeyFrames_2, audioSampleRate_2, maxAudioBitDepth_2, audioBitRate_2, audioChannels_2, maxAudioChannels_2, profile_2, level_2, framerate_2, maxFramerate_2, copyTimestamps_2, startTimeTicks_2, width_2, height_2, maxWidth_2, maxHeight_2, videoBitRate_2, subtitleStreamIndex_2, subtitleMethod_2, maxRefFrames_2, maxVideoBitDepth_2, requireAvc_2, deInterlace_2, requireNonAnamorphic_2, transcodingMaxAudioChannels_2, cpuCoreLimit_2, liveStreamId_2, enableMpegtsM2TsMode_2, videoCodec_2, subtitleCodec_2, transcodeReasons_2, audioStreamIndex_2, videoStreamIndex_2, context_2, streamOptions_2, ...args_4], void 0, function* (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) {
|
|
366
377
|
// verify required parameter 'itemId' is not null or undefined
|
|
367
378
|
assertParamExists('getVideoStreamByContainer', 'itemId', itemId);
|
|
368
379
|
// verify required parameter 'container' is not null or undefined
|
|
@@ -591,7 +602,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
|
|
|
591
602
|
* @param {*} [options] Override http request option.
|
|
592
603
|
* @throws {RequiredError}
|
|
593
604
|
*/
|
|
594
|
-
headVideoStream: (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {})
|
|
605
|
+
headVideoStream: (itemId_5, container_3, _static_3, params_3, tag_3, deviceProfileId_3, playSessionId_3, segmentContainer_3, segmentLength_3, minSegments_3, mediaSourceId_3, deviceId_3, audioCodec_3, enableAutoStreamCopy_3, allowVideoStreamCopy_3, allowAudioStreamCopy_3, breakOnNonKeyFrames_3, audioSampleRate_3, maxAudioBitDepth_3, audioBitRate_3, audioChannels_3, maxAudioChannels_3, profile_3, level_3, framerate_3, maxFramerate_3, copyTimestamps_3, startTimeTicks_3, width_3, height_3, maxWidth_3, maxHeight_3, videoBitRate_3, subtitleStreamIndex_3, subtitleMethod_3, maxRefFrames_3, maxVideoBitDepth_3, requireAvc_3, deInterlace_3, requireNonAnamorphic_3, transcodingMaxAudioChannels_3, cpuCoreLimit_3, liveStreamId_3, enableMpegtsM2TsMode_3, videoCodec_3, subtitleCodec_3, transcodeReasons_3, audioStreamIndex_3, videoStreamIndex_3, context_3, streamOptions_3, ...args_5) => __awaiter(this, [itemId_5, container_3, _static_3, params_3, tag_3, deviceProfileId_3, playSessionId_3, segmentContainer_3, segmentLength_3, minSegments_3, mediaSourceId_3, deviceId_3, audioCodec_3, enableAutoStreamCopy_3, allowVideoStreamCopy_3, allowAudioStreamCopy_3, breakOnNonKeyFrames_3, audioSampleRate_3, maxAudioBitDepth_3, audioBitRate_3, audioChannels_3, maxAudioChannels_3, profile_3, level_3, framerate_3, maxFramerate_3, copyTimestamps_3, startTimeTicks_3, width_3, height_3, maxWidth_3, maxHeight_3, videoBitRate_3, subtitleStreamIndex_3, subtitleMethod_3, maxRefFrames_3, maxVideoBitDepth_3, requireAvc_3, deInterlace_3, requireNonAnamorphic_3, transcodingMaxAudioChannels_3, cpuCoreLimit_3, liveStreamId_3, enableMpegtsM2TsMode_3, videoCodec_3, subtitleCodec_3, transcodeReasons_3, audioStreamIndex_3, videoStreamIndex_3, context_3, streamOptions_3, ...args_5], void 0, function* (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) {
|
|
595
606
|
// verify required parameter 'itemId' is not null or undefined
|
|
596
607
|
assertParamExists('headVideoStream', 'itemId', itemId);
|
|
597
608
|
const localVarPath = `/Videos/{itemId}/stream`
|
|
@@ -820,7 +831,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
|
|
|
820
831
|
* @param {*} [options] Override http request option.
|
|
821
832
|
* @throws {RequiredError}
|
|
822
833
|
*/
|
|
823
|
-
headVideoStreamByContainer: (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {})
|
|
834
|
+
headVideoStreamByContainer: (itemId_6, container_4, _static_4, params_4, tag_4, deviceProfileId_4, playSessionId_4, segmentContainer_4, segmentLength_4, minSegments_4, mediaSourceId_4, deviceId_4, audioCodec_4, enableAutoStreamCopy_4, allowVideoStreamCopy_4, allowAudioStreamCopy_4, breakOnNonKeyFrames_4, audioSampleRate_4, maxAudioBitDepth_4, audioBitRate_4, audioChannels_4, maxAudioChannels_4, profile_4, level_4, framerate_4, maxFramerate_4, copyTimestamps_4, startTimeTicks_4, width_4, height_4, maxWidth_4, maxHeight_4, videoBitRate_4, subtitleStreamIndex_4, subtitleMethod_4, maxRefFrames_4, maxVideoBitDepth_4, requireAvc_4, deInterlace_4, requireNonAnamorphic_4, transcodingMaxAudioChannels_4, cpuCoreLimit_4, liveStreamId_4, enableMpegtsM2TsMode_4, videoCodec_4, subtitleCodec_4, transcodeReasons_4, audioStreamIndex_4, videoStreamIndex_4, context_4, streamOptions_4, ...args_6) => __awaiter(this, [itemId_6, container_4, _static_4, params_4, tag_4, deviceProfileId_4, playSessionId_4, segmentContainer_4, segmentLength_4, minSegments_4, mediaSourceId_4, deviceId_4, audioCodec_4, enableAutoStreamCopy_4, allowVideoStreamCopy_4, allowAudioStreamCopy_4, breakOnNonKeyFrames_4, audioSampleRate_4, maxAudioBitDepth_4, audioBitRate_4, audioChannels_4, maxAudioChannels_4, profile_4, level_4, framerate_4, maxFramerate_4, copyTimestamps_4, startTimeTicks_4, width_4, height_4, maxWidth_4, maxHeight_4, videoBitRate_4, subtitleStreamIndex_4, subtitleMethod_4, maxRefFrames_4, maxVideoBitDepth_4, requireAvc_4, deInterlace_4, requireNonAnamorphic_4, transcodingMaxAudioChannels_4, cpuCoreLimit_4, liveStreamId_4, enableMpegtsM2TsMode_4, videoCodec_4, subtitleCodec_4, transcodeReasons_4, audioStreamIndex_4, videoStreamIndex_4, context_4, streamOptions_4, ...args_6], void 0, function* (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) {
|
|
824
835
|
// verify required parameter 'itemId' is not null or undefined
|
|
825
836
|
assertParamExists('headVideoStreamByContainer', 'itemId', itemId);
|
|
826
837
|
// verify required parameter 'container' is not null or undefined
|
|
@@ -999,7 +1010,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
|
|
|
999
1010
|
* @param {*} [options] Override http request option.
|
|
1000
1011
|
* @throws {RequiredError}
|
|
1001
1012
|
*/
|
|
1002
|
-
mergeVersions: (
|
|
1013
|
+
mergeVersions: (ids_1, ...args_7) => __awaiter(this, [ids_1, ...args_7], void 0, function* (ids, options = {}) {
|
|
1003
1014
|
// verify required parameter 'ids' is not null or undefined
|
|
1004
1015
|
assertParamExists('mergeVersions', 'ids', ids);
|
|
1005
1016
|
const localVarPath = `/Videos/MergeVersions`;
|
|
@@ -16,6 +16,8 @@ import { BaseItemDtoQueryResult } from '../models';
|
|
|
16
16
|
import { BaseItemKind } from '../models';
|
|
17
17
|
import { ImageType } from '../models';
|
|
18
18
|
import { ItemFields } from '../models';
|
|
19
|
+
import { ItemSortBy } from '../models';
|
|
20
|
+
import { MediaType } from '../models';
|
|
19
21
|
import { SortOrder } from '../models';
|
|
20
22
|
/**
|
|
21
23
|
* YearsApi - axios parameter creator
|
|
@@ -41,8 +43,8 @@ export declare const YearsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
41
43
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
42
44
|
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited.
|
|
43
45
|
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be included based on item type. This allows multiple, comma delimited.
|
|
44
|
-
* @param {Array<
|
|
45
|
-
* @param {Array<
|
|
46
|
+
* @param {Array<MediaType>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
|
|
47
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
|
|
46
48
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
47
49
|
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
48
50
|
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
@@ -52,7 +54,7 @@ export declare const YearsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
52
54
|
* @param {*} [options] Override http request option.
|
|
53
55
|
* @throws {RequiredError}
|
|
54
56
|
*/
|
|
55
|
-
getYears: (startIndex?: number, limit?: number, sortOrder?: Array<SortOrder>, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, mediaTypes?: Array<
|
|
57
|
+
getYears: (startIndex?: number, limit?: number, sortOrder?: Array<SortOrder>, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, mediaTypes?: Array<MediaType>, sortBy?: Array<ItemSortBy>, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, recursive?: boolean, enableImages?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
58
|
};
|
|
57
59
|
/**
|
|
58
60
|
* YearsApi - functional programming interface
|
|
@@ -78,8 +80,8 @@ export declare const YearsApiFp: (configuration?: Configuration) => {
|
|
|
78
80
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
79
81
|
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited.
|
|
80
82
|
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be included based on item type. This allows multiple, comma delimited.
|
|
81
|
-
* @param {Array<
|
|
82
|
-
* @param {Array<
|
|
83
|
+
* @param {Array<MediaType>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
|
|
84
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
|
|
83
85
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
84
86
|
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
85
87
|
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
@@ -89,7 +91,7 @@ export declare const YearsApiFp: (configuration?: Configuration) => {
|
|
|
89
91
|
* @param {*} [options] Override http request option.
|
|
90
92
|
* @throws {RequiredError}
|
|
91
93
|
*/
|
|
92
|
-
getYears(startIndex?: number, limit?: number, sortOrder?: Array<SortOrder>, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, mediaTypes?: Array<
|
|
94
|
+
getYears(startIndex?: number, limit?: number, sortOrder?: Array<SortOrder>, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, mediaTypes?: Array<MediaType>, sortBy?: Array<ItemSortBy>, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, recursive?: boolean, enableImages?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>>;
|
|
93
95
|
};
|
|
94
96
|
/**
|
|
95
97
|
* YearsApi - factory interface
|
|
@@ -115,8 +117,8 @@ export declare const YearsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
115
117
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
116
118
|
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited.
|
|
117
119
|
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be included based on item type. This allows multiple, comma delimited.
|
|
118
|
-
* @param {Array<
|
|
119
|
-
* @param {Array<
|
|
120
|
+
* @param {Array<MediaType>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
|
|
121
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
|
|
120
122
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
121
123
|
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
122
124
|
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
@@ -126,7 +128,7 @@ export declare const YearsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
126
128
|
* @param {*} [options] Override http request option.
|
|
127
129
|
* @throws {RequiredError}
|
|
128
130
|
*/
|
|
129
|
-
getYears(startIndex?: number, limit?: number, sortOrder?: Array<SortOrder>, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, mediaTypes?: Array<
|
|
131
|
+
getYears(startIndex?: number, limit?: number, sortOrder?: Array<SortOrder>, parentId?: string, fields?: Array<ItemFields>, excludeItemTypes?: Array<BaseItemKind>, includeItemTypes?: Array<BaseItemKind>, mediaTypes?: Array<MediaType>, sortBy?: Array<ItemSortBy>, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: Array<ImageType>, userId?: string, recursive?: boolean, enableImages?: boolean, options?: any): AxiosPromise<BaseItemDtoQueryResult>;
|
|
130
132
|
};
|
|
131
133
|
/**
|
|
132
134
|
* Request parameters for getYear operation in YearsApi.
|
|
@@ -197,16 +199,16 @@ export interface YearsApiGetYearsRequest {
|
|
|
197
199
|
readonly includeItemTypes?: Array<BaseItemKind>;
|
|
198
200
|
/**
|
|
199
201
|
* Optional. Filter by MediaType. Allows multiple, comma delimited.
|
|
200
|
-
* @type {Array<
|
|
202
|
+
* @type {Array<MediaType>}
|
|
201
203
|
* @memberof YearsApiGetYears
|
|
202
204
|
*/
|
|
203
|
-
readonly mediaTypes?: Array<
|
|
205
|
+
readonly mediaTypes?: Array<MediaType>;
|
|
204
206
|
/**
|
|
205
207
|
* Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
|
|
206
|
-
* @type {Array<
|
|
208
|
+
* @type {Array<ItemSortBy>}
|
|
207
209
|
* @memberof YearsApiGetYears
|
|
208
210
|
*/
|
|
209
|
-
readonly sortBy?: Array<
|
|
211
|
+
readonly sortBy?: Array<ItemSortBy>;
|
|
210
212
|
/**
|
|
211
213
|
* Optional. Include user data.
|
|
212
214
|
* @type {boolean}
|
|
@@ -4,6 +4,17 @@ import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams,
|
|
|
4
4
|
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
5
|
|
|
6
6
|
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
/**
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Jellyfin API
|
|
13
|
+
*
|
|
14
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
15
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
16
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
17
|
+
*/
|
|
7
18
|
/**
|
|
8
19
|
* YearsApi - axios parameter creator
|
|
9
20
|
* @export
|
|
@@ -18,7 +29,7 @@ const YearsApiAxiosParamCreator = function (configuration) {
|
|
|
18
29
|
* @param {*} [options] Override http request option.
|
|
19
30
|
* @throws {RequiredError}
|
|
20
31
|
*/
|
|
21
|
-
getYear: (
|
|
32
|
+
getYear: (year_1, userId_1, ...args_1) => __awaiter(this, [year_1, userId_1, ...args_1], void 0, function* (year, userId, options = {}) {
|
|
22
33
|
// verify required parameter 'year' is not null or undefined
|
|
23
34
|
assertParamExists('getYear', 'year', year);
|
|
24
35
|
const localVarPath = `/Years/{year}`
|
|
@@ -55,8 +66,8 @@ const YearsApiAxiosParamCreator = function (configuration) {
|
|
|
55
66
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
56
67
|
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited.
|
|
57
68
|
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be included based on item type. This allows multiple, comma delimited.
|
|
58
|
-
* @param {Array<
|
|
59
|
-
* @param {Array<
|
|
69
|
+
* @param {Array<MediaType>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
|
|
70
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
|
|
60
71
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
61
72
|
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
62
73
|
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
@@ -66,7 +77,7 @@ const YearsApiAxiosParamCreator = function (configuration) {
|
|
|
66
77
|
* @param {*} [options] Override http request option.
|
|
67
78
|
* @throws {RequiredError}
|
|
68
79
|
*/
|
|
69
|
-
getYears: (startIndex, limit, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, mediaTypes, sortBy, enableUserData, imageTypeLimit, enableImageTypes, userId, recursive, enableImages, options = {})
|
|
80
|
+
getYears: (startIndex_1, limit_1, sortOrder_1, parentId_1, fields_1, excludeItemTypes_1, includeItemTypes_1, mediaTypes_1, sortBy_1, enableUserData_1, imageTypeLimit_1, enableImageTypes_1, userId_2, recursive_1, enableImages_1, ...args_2) => __awaiter(this, [startIndex_1, limit_1, sortOrder_1, parentId_1, fields_1, excludeItemTypes_1, includeItemTypes_1, mediaTypes_1, sortBy_1, enableUserData_1, imageTypeLimit_1, enableImageTypes_1, userId_2, recursive_1, enableImages_1, ...args_2], void 0, function* (startIndex, limit, sortOrder, parentId, fields, excludeItemTypes, includeItemTypes, mediaTypes, sortBy, enableUserData, imageTypeLimit, enableImageTypes, userId, recursive, enableImages, options = {}) {
|
|
70
81
|
const localVarPath = `/Years`;
|
|
71
82
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72
83
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -165,8 +176,8 @@ const YearsApiFp = function (configuration) {
|
|
|
165
176
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
166
177
|
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited.
|
|
167
178
|
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be included based on item type. This allows multiple, comma delimited.
|
|
168
|
-
* @param {Array<
|
|
169
|
-
* @param {Array<
|
|
179
|
+
* @param {Array<MediaType>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
|
|
180
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
|
|
170
181
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
171
182
|
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
172
183
|
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
@@ -212,8 +223,8 @@ const YearsApiFactory = function (configuration, basePath, axios) {
|
|
|
212
223
|
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
213
224
|
* @param {Array<BaseItemKind>} [excludeItemTypes] Optional. If specified, results will be excluded based on item type. This allows multiple, comma delimited.
|
|
214
225
|
* @param {Array<BaseItemKind>} [includeItemTypes] Optional. If specified, results will be included based on item type. This allows multiple, comma delimited.
|
|
215
|
-
* @param {Array<
|
|
216
|
-
* @param {Array<
|
|
226
|
+
* @param {Array<MediaType>} [mediaTypes] Optional. Filter by MediaType. Allows multiple, comma delimited.
|
|
227
|
+
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.
|
|
217
228
|
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
218
229
|
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
219
230
|
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
@@ -20,15 +20,12 @@ export * from './api/configuration-api';
|
|
|
20
20
|
export * from './api/dashboard-api';
|
|
21
21
|
export * from './api/devices-api';
|
|
22
22
|
export * from './api/display-preferences-api';
|
|
23
|
-
export * from './api/dlna-api';
|
|
24
|
-
export * from './api/dlna-server-api';
|
|
25
23
|
export * from './api/dynamic-hls-api';
|
|
26
24
|
export * from './api/environment-api';
|
|
27
25
|
export * from './api/filter-api';
|
|
28
26
|
export * from './api/genres-api';
|
|
29
27
|
export * from './api/hls-segment-api';
|
|
30
28
|
export * from './api/image-api';
|
|
31
|
-
export * from './api/image-by-name-api';
|
|
32
29
|
export * from './api/instant-mix-api';
|
|
33
30
|
export * from './api/item-lookup-api';
|
|
34
31
|
export * from './api/item-refresh-api';
|
|
@@ -38,10 +35,10 @@ export * from './api/library-api';
|
|
|
38
35
|
export * from './api/library-structure-api';
|
|
39
36
|
export * from './api/live-tv-api';
|
|
40
37
|
export * from './api/localization-api';
|
|
38
|
+
export * from './api/lyrics-api';
|
|
41
39
|
export * from './api/media-info-api';
|
|
42
40
|
export * from './api/movies-api';
|
|
43
41
|
export * from './api/music-genres-api';
|
|
44
|
-
export * from './api/notifications-api';
|
|
45
42
|
export * from './api/package-api';
|
|
46
43
|
export * from './api/persons-api';
|
|
47
44
|
export * from './api/playlists-api';
|
|
@@ -61,6 +58,7 @@ export * from './api/system-api';
|
|
|
61
58
|
export * from './api/time-sync-api';
|
|
62
59
|
export * from './api/tmdb-api';
|
|
63
60
|
export * from './api/trailers-api';
|
|
61
|
+
export * from './api/trickplay-api';
|
|
64
62
|
export * from './api/tv-shows-api';
|
|
65
63
|
export * from './api/universal-audio-api';
|
|
66
64
|
export * from './api/user-api';
|