@jellyfin/sdk 0.0.0-unstable.202303301750 → 0.8.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.
Files changed (58) hide show
  1. package/lib/generated-client/api/audio-api.d.ts +8 -8
  2. package/lib/generated-client/api/audio-api.js +6 -6
  3. package/lib/generated-client/api/dynamic-hls-api.d.ts +4 -4
  4. package/lib/generated-client/api/dynamic-hls-api.js +3 -3
  5. package/lib/generated-client/api/image-api.d.ts +336 -84
  6. package/lib/generated-client/api/image-api.js +336 -168
  7. package/lib/generated-client/api/image-by-name-api.js +71 -2
  8. package/lib/generated-client/api/items-api.d.ts +36 -36
  9. package/lib/generated-client/api/items-api.js +27 -27
  10. package/lib/generated-client/api/notifications-api.js +79 -2
  11. package/lib/generated-client/api/quick-connect-api.d.ts +37 -46
  12. package/lib/generated-client/api/quick-connect-api.js +50 -56
  13. package/lib/generated-client/api/search-api.d.ts +38 -38
  14. package/lib/generated-client/api/search-api.js +18 -18
  15. package/lib/generated-client/api/trailers-api.d.ts +20 -20
  16. package/lib/generated-client/api/trailers-api.js +15 -15
  17. package/lib/generated-client/api/user-api.d.ts +12 -7
  18. package/lib/generated-client/api/user-api.js +12 -10
  19. package/lib/generated-client/api/user-library-api.d.ts +0 -56
  20. package/lib/generated-client/api/user-library-api.js +0 -71
  21. package/lib/generated-client/api.d.ts +2 -0
  22. package/lib/generated-client/index.js +4 -3
  23. package/lib/generated-client/models/architecture.d.ts +0 -3
  24. package/lib/generated-client/models/architecture.js +1 -4
  25. package/lib/generated-client/models/authenticate-user-by-name.d.ts +7 -0
  26. package/lib/generated-client/models/base-item-dto.d.ts +3 -9
  27. package/lib/generated-client/models/base-item-person.d.ts +3 -4
  28. package/lib/generated-client/models/container-profile.d.ts +1 -1
  29. package/lib/generated-client/models/create-user-by-name.d.ts +1 -1
  30. package/lib/generated-client/models/encoding-options.d.ts +36 -49
  31. package/lib/generated-client/models/index.d.ts +10 -6
  32. package/lib/generated-client/models/index.js +2 -3
  33. package/lib/generated-client/models/library-options.d.ts +0 -6
  34. package/lib/generated-client/models/live-tv-options.d.ts +0 -12
  35. package/lib/generated-client/models/media-stream.d.ts +0 -12
  36. package/lib/generated-client/models/network-configuration.d.ts +1 -1
  37. package/lib/generated-client/models/{image-resolution.js → notification-level.js} +6 -12
  38. package/lib/generated-client/models/parental-rating.d.ts +1 -1
  39. package/lib/generated-client/models/public-system-info.d.ts +0 -1
  40. package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +1 -1
  41. package/lib/generated-client/models/search-hint.d.ts +15 -17
  42. package/lib/generated-client/models/{down-mix-stereo-algorithms.js → send-to-user-type.js} +6 -6
  43. package/lib/generated-client/models/series-status.d.ts +1 -2
  44. package/lib/generated-client/models/series-status.js +2 -3
  45. package/lib/generated-client/models/server-configuration.d.ts +0 -19
  46. package/lib/generated-client/models/system-info.d.ts +0 -3
  47. package/lib/generated-client/models/tuner-host-info.d.ts +0 -6
  48. package/lib/generated-client/models/user-policy.d.ts +0 -12
  49. package/lib/versions.d.ts +1 -1
  50. package/lib/versions.js +1 -1
  51. package/package.json +1 -1
  52. package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +0 -21
  53. package/lib/generated-client/models/image-resolution.d.ts +0 -27
  54. package/lib/generated-client/models/lyric-line.d.ts +0 -29
  55. package/lib/generated-client/models/lyric-metadata.d.ts +0 -71
  56. package/lib/generated-client/models/lyric-response.d.ts +0 -31
  57. package/lib/generated-client/models/person-kind.d.ts +0 -36
  58. package/lib/generated-client/models/person-kind.js +0 -39
@@ -8,7 +8,6 @@
8
8
  * License, v. 2.0. If a copy of the MPL was not distributed with this
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
- import { ImageResolution } from './image-resolution';
12
11
  import { ImageSavingConvention } from './image-saving-convention';
13
12
  import { MetadataOptions } from './metadata-options';
14
13
  import { NameValuePair } from './name-value-pair';
@@ -308,22 +307,4 @@ export interface ServerConfiguration {
308
307
  * @memberof ServerConfiguration
309
308
  */
310
309
  'AllowClientLogUpload'?: boolean;
311
- /**
312
- * Gets or sets the dummy chapter duration in seconds, use 0 (zero) or less to disable generation alltogether.
313
- * @type {number}
314
- * @memberof ServerConfiguration
315
- */
316
- 'DummyChapterDuration'?: number;
317
- /**
318
- *
319
- * @type {ImageResolution}
320
- * @memberof ServerConfiguration
321
- */
322
- 'ChapterImageResolution'?: ImageResolution;
323
- /**
324
- * Gets or sets the limit for parallel image encoding.
325
- * @type {number}
326
- * @memberof ServerConfiguration
327
- */
328
- 'ParallelImageEncodingLimit'?: number;
329
310
  }
@@ -45,7 +45,6 @@ export interface SystemInfo {
45
45
  * Gets or sets the operating system.
46
46
  * @type {string}
47
47
  * @memberof SystemInfo
48
- * @deprecated
49
48
  */
50
49
  'OperatingSystem'?: string | null;
51
50
  /**
@@ -64,7 +63,6 @@ export interface SystemInfo {
64
63
  * Gets or sets the display name of the operating system.
65
64
  * @type {string}
66
65
  * @memberof SystemInfo
67
- * @deprecated
68
66
  */
69
67
  'OperatingSystemDisplayName'?: string | null;
70
68
  /**
@@ -107,7 +105,6 @@ export interface SystemInfo {
107
105
  * Gets or sets a value indicating whether this instance can self restart.
108
106
  * @type {boolean}
109
107
  * @memberof SystemInfo
110
- * @deprecated
111
108
  */
112
109
  'CanSelfRestart'?: boolean;
113
110
  /**
@@ -80,10 +80,4 @@ export interface TunerHostInfo {
80
80
  * @memberof TunerHostInfo
81
81
  */
82
82
  'UserAgent'?: string | null;
83
- /**
84
- *
85
- * @type {boolean}
86
- * @memberof TunerHostInfo
87
- */
88
- 'IgnoreDts'?: boolean;
89
83
  }
@@ -29,12 +29,6 @@ export interface UserPolicy {
29
29
  * @memberof UserPolicy
30
30
  */
31
31
  'IsHidden'?: boolean;
32
- /**
33
- * Gets or sets a value indicating whether this instance can manage collections.
34
- * @type {boolean}
35
- * @memberof UserPolicy
36
- */
37
- 'EnableCollectionManagement'?: boolean;
38
32
  /**
39
33
  * Gets or sets a value indicating whether this instance is disabled.
40
34
  * @type {boolean}
@@ -53,12 +47,6 @@ export interface UserPolicy {
53
47
  * @memberof UserPolicy
54
48
  */
55
49
  'BlockedTags'?: Array<string> | null;
56
- /**
57
- *
58
- * @type {Array<string>}
59
- * @memberof UserPolicy
60
- */
61
- 'AllowedTags'?: Array<string> | null;
62
50
  /**
63
51
  *
64
52
  * @type {boolean}
package/lib/versions.d.ts CHANGED
@@ -4,6 +4,6 @@
4
4
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
5
  */
6
6
  /** The current API version of the generated client. */
7
- export declare const API_VERSION = "10.9.0";
7
+ export declare const API_VERSION = "10.8.9";
8
8
  /** The minimum supported server version. */
9
9
  export declare const MINIMUM_VERSION = "10.8.1";
package/lib/versions.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
5
  */
6
6
  /** The current API version of the generated client. */
7
- const API_VERSION = '10.9.0';
7
+ const API_VERSION = '10.8.9';
8
8
  /** The minimum supported server version. */
9
9
  const MINIMUM_VERSION = '10.8.1';
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jellyfin/sdk",
3
- "version": "0.0.0-unstable.202303301750+commit.9083b4063008e9f230b1e68719169ae0321dcb1f",
3
+ "version": "0.8.0",
4
4
  "description": "A TypeScript SDK for Jellyfin.",
5
5
  "keywords": [
6
6
  "jellyfin"
@@ -1,21 +0,0 @@
1
- /**
2
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
- * Do not edit the class manually.
4
- *
5
- * Jellyfin API
6
- *
7
- * This Source Code Form is subject to the terms of the Mozilla Public
8
- * License, v. 2.0. If a copy of the MPL was not distributed with this
9
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
- */
11
- /**
12
- * An enum representing an algorithm to downmix 6ch+ to stereo. Algorithms sourced from https://superuser.com/questions/852400/properly-downmix-5-1-to-stereo-using-ffmpeg/1410620#1410620.
13
- * @export
14
- * @enum {string}
15
- */
16
- export declare const DownMixStereoAlgorithms: {
17
- readonly None: "None";
18
- readonly Dave750: "Dave750";
19
- readonly NightmodeDialogue: "NightmodeDialogue";
20
- };
21
- export type DownMixStereoAlgorithms = typeof DownMixStereoAlgorithms[keyof typeof DownMixStereoAlgorithms];
@@ -1,27 +0,0 @@
1
- /**
2
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
- * Do not edit the class manually.
4
- *
5
- * Jellyfin API
6
- *
7
- * This Source Code Form is subject to the terms of the Mozilla Public
8
- * License, v. 2.0. If a copy of the MPL was not distributed with this
9
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
- */
11
- /**
12
- * Enum ImageResolution.
13
- * @export
14
- * @enum {string}
15
- */
16
- export declare const ImageResolution: {
17
- readonly MatchSource: "MatchSource";
18
- readonly P144: "P144";
19
- readonly P240: "P240";
20
- readonly P360: "P360";
21
- readonly P480: "P480";
22
- readonly P720: "P720";
23
- readonly P1080: "P1080";
24
- readonly P1440: "P1440";
25
- readonly P2160: "P2160";
26
- };
27
- export type ImageResolution = typeof ImageResolution[keyof typeof ImageResolution];
@@ -1,29 +0,0 @@
1
- /**
2
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
- * Do not edit the class manually.
4
- *
5
- * Jellyfin API
6
- *
7
- * This Source Code Form is subject to the terms of the Mozilla Public
8
- * License, v. 2.0. If a copy of the MPL was not distributed with this
9
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
- */
11
- /**
12
- * Lyric model.
13
- * @export
14
- * @interface LyricLine
15
- */
16
- export interface LyricLine {
17
- /**
18
- * Gets the text of this lyric line.
19
- * @type {string}
20
- * @memberof LyricLine
21
- */
22
- 'Text'?: string;
23
- /**
24
- * Gets the start time in ticks.
25
- * @type {number}
26
- * @memberof LyricLine
27
- */
28
- 'Start'?: number | null;
29
- }
@@ -1,71 +0,0 @@
1
- /**
2
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
- * Do not edit the class manually.
4
- *
5
- * Jellyfin API
6
- *
7
- * This Source Code Form is subject to the terms of the Mozilla Public
8
- * License, v. 2.0. If a copy of the MPL was not distributed with this
9
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
- */
11
- /**
12
- * LyricMetadata model.
13
- * @export
14
- * @interface LyricMetadata
15
- */
16
- export interface LyricMetadata {
17
- /**
18
- * Gets or sets the song artist.
19
- * @type {string}
20
- * @memberof LyricMetadata
21
- */
22
- 'Artist'?: string | null;
23
- /**
24
- * Gets or sets the album this song is on.
25
- * @type {string}
26
- * @memberof LyricMetadata
27
- */
28
- 'Album'?: string | null;
29
- /**
30
- * Gets or sets the title of the song.
31
- * @type {string}
32
- * @memberof LyricMetadata
33
- */
34
- 'Title'?: string | null;
35
- /**
36
- * Gets or sets the author of the lyric data.
37
- * @type {string}
38
- * @memberof LyricMetadata
39
- */
40
- 'Author'?: string | null;
41
- /**
42
- * Gets or sets the length of the song in ticks.
43
- * @type {number}
44
- * @memberof LyricMetadata
45
- */
46
- 'Length'?: number | null;
47
- /**
48
- * Gets or sets who the LRC file was created by.
49
- * @type {string}
50
- * @memberof LyricMetadata
51
- */
52
- 'By'?: string | null;
53
- /**
54
- * Gets or sets the lyric offset compared to audio in ticks.
55
- * @type {number}
56
- * @memberof LyricMetadata
57
- */
58
- 'Offset'?: number | null;
59
- /**
60
- * Gets or sets the software used to create the LRC file.
61
- * @type {string}
62
- * @memberof LyricMetadata
63
- */
64
- 'Creator'?: string | null;
65
- /**
66
- * Gets or sets the version of the creator used.
67
- * @type {string}
68
- * @memberof LyricMetadata
69
- */
70
- 'Version'?: string | null;
71
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
- * Do not edit the class manually.
4
- *
5
- * Jellyfin API
6
- *
7
- * This Source Code Form is subject to the terms of the Mozilla Public
8
- * License, v. 2.0. If a copy of the MPL was not distributed with this
9
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
- */
11
- import { LyricLine } from './lyric-line';
12
- import { LyricMetadata } from './lyric-metadata';
13
- /**
14
- * LyricResponse model.
15
- * @export
16
- * @interface LyricResponse
17
- */
18
- export interface LyricResponse {
19
- /**
20
- *
21
- * @type {LyricMetadata}
22
- * @memberof LyricResponse
23
- */
24
- 'Metadata'?: LyricMetadata;
25
- /**
26
- * Gets or sets a collection of individual lyric lines.
27
- * @type {Array<LyricLine>}
28
- * @memberof LyricResponse
29
- */
30
- 'Lyrics'?: Array<LyricLine>;
31
- }
@@ -1,36 +0,0 @@
1
- /**
2
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3
- * Do not edit the class manually.
4
- *
5
- * Jellyfin API
6
- *
7
- * This Source Code Form is subject to the terms of the Mozilla Public
8
- * License, v. 2.0. If a copy of the MPL was not distributed with this
9
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
- */
11
- /**
12
- * The person kind.
13
- * @export
14
- * @enum {string}
15
- */
16
- export declare const PersonKind: {
17
- readonly Unknown: "Unknown";
18
- readonly Actor: "Actor";
19
- readonly Director: "Director";
20
- readonly Composer: "Composer";
21
- readonly Writer: "Writer";
22
- readonly GuestStar: "GuestStar";
23
- readonly Producer: "Producer";
24
- readonly Conductor: "Conductor";
25
- readonly Lyricist: "Lyricist";
26
- readonly Arranger: "Arranger";
27
- readonly Engineer: "Engineer";
28
- readonly Mixer: "Mixer";
29
- readonly Remixer: "Remixer";
30
- readonly Creator: "Creator";
31
- readonly Artist: "Artist";
32
- readonly AlbumArtist: "AlbumArtist";
33
- readonly Author: "Author";
34
- readonly Illustrator: "Illustrator";
35
- };
36
- export type PersonKind = typeof PersonKind[keyof typeof PersonKind];
@@ -1,39 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5
- * Do not edit the class manually.
6
- *
7
- * Jellyfin API
8
- *
9
- * This Source Code Form is subject to the terms of the Mozilla Public
10
- * License, v. 2.0. If a copy of the MPL was not distributed with this
11
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
12
- */
13
- /**
14
- * The person kind.
15
- * @export
16
- * @enum {string}
17
- */
18
- const PersonKind = {
19
- Unknown: 'Unknown',
20
- Actor: 'Actor',
21
- Director: 'Director',
22
- Composer: 'Composer',
23
- Writer: 'Writer',
24
- GuestStar: 'GuestStar',
25
- Producer: 'Producer',
26
- Conductor: 'Conductor',
27
- Lyricist: 'Lyricist',
28
- Arranger: 'Arranger',
29
- Engineer: 'Engineer',
30
- Mixer: 'Mixer',
31
- Remixer: 'Remixer',
32
- Creator: 'Creator',
33
- Artist: 'Artist',
34
- AlbumArtist: 'AlbumArtist',
35
- Author: 'Author',
36
- Illustrator: 'Illustrator'
37
- };
38
-
39
- export { PersonKind };