@jellyfin/sdk 0.0.0-unstable.202512091852 → 0.0.0-unstable.202601062209

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 (33) hide show
  1. package/.nvmrc +1 -0
  2. package/eslint.config.mjs +118 -0
  3. package/lib/generated-client/api/activity-log-api.d.ts +10 -2
  4. package/lib/generated-client/api/activity-log-api.js +12 -5
  5. package/lib/generated-client/index.js +0 -1
  6. package/lib/generated-client/models/album-info.d.ts +2 -2
  7. package/lib/generated-client/models/backup-manifest-dto.d.ts +5 -5
  8. package/lib/generated-client/models/backup-restore-request-dto.d.ts +1 -1
  9. package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +26 -26
  10. package/lib/generated-client/models/base-item-dto.d.ts +4 -4
  11. package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +26 -26
  12. package/lib/generated-client/models/cast-receiver-application.d.ts +2 -2
  13. package/lib/generated-client/models/channel-mapping-options-dto.d.ts +2 -2
  14. package/lib/generated-client/models/create-playlist-dto.d.ts +1 -1
  15. package/lib/generated-client/models/custom-database-option.d.ts +2 -2
  16. package/lib/generated-client/models/custom-database-options.d.ts +3 -3
  17. package/lib/generated-client/models/database-configuration-options.d.ts +1 -1
  18. package/lib/generated-client/models/device-profile.d.ts +1 -1
  19. package/lib/generated-client/models/folder-storage-dto.d.ts +1 -1
  20. package/lib/generated-client/models/general-command.d.ts +2 -2
  21. package/lib/generated-client/models/index.js +0 -1
  22. package/lib/generated-client/models/library-storage-dto.d.ts +3 -3
  23. package/lib/generated-client/models/log-file.d.ts +1 -1
  24. package/lib/generated-client/models/playlist-dto.d.ts +2 -2
  25. package/lib/generated-client/models/remote-lyric-info-dto.d.ts +3 -3
  26. package/lib/generated-client/models/series-timer-info-dto.d.ts +2 -2
  27. package/lib/generated-client/models/system-storage-dto.d.ts +8 -8
  28. package/lib/generated-client/models/transcoding-info.d.ts +2 -3
  29. package/lib/generated-client/models/user-data-change-info.d.ts +1 -1
  30. package/lib/generated-client/models/user-item-data-dto.d.ts +1 -1
  31. package/lib/models/api/image-request-parameters.d.ts +1 -1
  32. package/package.json +18 -15
  33. package/lib/generated-client/models/transcoding-info.js +0 -15
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ 24
@@ -0,0 +1,118 @@
1
+ import eslint from '@eslint/js';
2
+ import stylistic from '@stylistic/eslint-plugin';
3
+ import vitest from '@vitest/eslint-plugin';
4
+ import importPlugin from 'eslint-plugin-import';
5
+ import globals from 'globals';
6
+ import tseslint from 'typescript-eslint';
7
+
8
+ export default tseslint.config(
9
+ // Global ignores
10
+ {
11
+ ignores: [
12
+ 'dist/**',
13
+ 'docs/**',
14
+ 'src/generated-client/**',
15
+ 'lib/**',
16
+ 'node_modules/**'
17
+ ]
18
+ },
19
+
20
+ // Base config for all files
21
+ eslint.configs.recommended,
22
+ ...tseslint.configs.recommended,
23
+
24
+ // Main source files config
25
+ {
26
+ files: ['**/*.ts', '**/*.mjs', '**/*.js'],
27
+ plugins: {
28
+ '@stylistic': stylistic,
29
+ 'import': importPlugin
30
+ },
31
+ languageOptions: {
32
+ globals: {
33
+ ...globals.node
34
+ }
35
+ },
36
+ settings: {
37
+ 'import/resolver': {
38
+ typescript: true,
39
+ node: true
40
+ }
41
+ },
42
+ rules: {
43
+ 'import/order': ['error', {
44
+ 'alphabetize': { 'order': 'asc', 'caseInsensitive': true },
45
+ 'newlines-between': 'always-and-inside-groups'
46
+ }],
47
+
48
+ '@stylistic/type-annotation-spacing': ['error'],
49
+
50
+ '@typescript-eslint/consistent-type-imports': ['error'],
51
+
52
+ 'array-callback-return': ['error'],
53
+ 'arrow-spacing': ['error'],
54
+ 'block-spacing': ['error'],
55
+ 'brace-style': ['error', '1tbs', { 'allowSingleLine': true }],
56
+ 'comma-dangle': ['error', 'never'],
57
+ 'comma-spacing': ['error'],
58
+ 'curly': ['error', 'multi-line'],
59
+ 'eol-last': ['error'],
60
+ 'indent': ['error', 'tab', { 'SwitchCase': 1 }],
61
+ 'jsx-quotes': ['error', 'prefer-single'],
62
+ 'key-spacing': ['error'],
63
+ 'keyword-spacing': ['error'],
64
+ 'max-statements-per-line': ['error'],
65
+ 'no-floating-decimal': ['error'],
66
+ 'no-multi-spaces': ['error'],
67
+ 'no-multiple-empty-lines': ['error', { 'max': 1 }],
68
+ 'no-restricted-globals': ['error'],
69
+ 'no-trailing-spaces': ['error'],
70
+ 'no-unreachable': ['error'],
71
+ 'no-unused-expressions': ['error', { 'allowShortCircuit': true, 'allowTernary': true, 'allowTaggedTemplates': true }],
72
+ 'object-curly-spacing': ['error', 'always'],
73
+ 'one-var': ['error', 'never'],
74
+ 'padded-blocks': ['error', 'never'],
75
+ 'prefer-const': ['error', { 'destructuring': 'all' }],
76
+ 'quotes': ['error', 'single', { 'avoidEscape': true, 'allowTemplateLiterals': false }],
77
+ 'semi': ['error'],
78
+ 'no-var': ['error'],
79
+ 'space-before-blocks': ['error'],
80
+ 'space-before-function-paren': ['error', { 'anonymous': 'never', 'named': 'never', 'asyncArrow': 'always' }],
81
+ 'space-infix-ops': 'error',
82
+ 'yoda': 'error'
83
+ }
84
+ },
85
+
86
+ // Source files - browser environment
87
+ {
88
+ files: ['src/**/*.ts'],
89
+ languageOptions: {
90
+ globals: {
91
+ ...globals.browser
92
+ }
93
+ }
94
+ },
95
+
96
+ // Test files config
97
+ {
98
+ files: ['**/*.test.ts'],
99
+ plugins: {
100
+ vitest
101
+ },
102
+ languageOptions: {
103
+ globals: {
104
+ ...globals.node
105
+ }
106
+ },
107
+ rules: {
108
+ ...vitest.configs.recommended.rules,
109
+ 'vitest/consistent-test-it': ['error'],
110
+ 'vitest/prefer-lowercase-title': ['error', { 'ignoreTopLevelDescribe': true }],
111
+ 'vitest/require-top-level-describe': ['error'],
112
+ // Disable because we use custom `itIf` helper that the plugin doesn't recognize
113
+ 'vitest/no-standalone-expect': 'off',
114
+ // Disable rules that require type information (would need parserOptions.project)
115
+ 'vitest/valid-title': 'off'
116
+ }
117
+ }
118
+ );
@@ -26,6 +26,7 @@ export declare const ActivityLogApiAxiosParamCreator: (configuration?: Configura
26
26
  * @param {number} [startIndex] The record index to start at. All items with a lower index will be dropped from the results.
27
27
  * @param {number} [limit] The maximum number of records to return.
28
28
  * @param {string} [minDate] The minimum date.
29
+ * @param {string} [maxDate] The maximum date.
29
30
  * @param {boolean} [hasUserId] Filter log entries if it has user id, or not.
30
31
  * @param {string} [name] Filter by name.
31
32
  * @param {string} [overview] Filter by overview.
@@ -39,7 +40,7 @@ export declare const ActivityLogApiAxiosParamCreator: (configuration?: Configura
39
40
  * @param {*} [options] Override http request option.
40
41
  * @throws {RequiredError}
41
42
  */
42
- getLogEntries: (startIndex?: number, limit?: number, minDate?: string, hasUserId?: boolean, name?: string, overview?: string, shortOverview?: string, type?: string, itemId?: string, username?: string, severity?: LogLevel, sortBy?: Array<ActivityLogSortBy>, sortOrder?: Array<SortOrder>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
+ getLogEntries: (startIndex?: number, limit?: number, minDate?: string, maxDate?: string, hasUserId?: boolean, name?: string, overview?: string, shortOverview?: string, type?: string, itemId?: string, username?: string, severity?: LogLevel, sortBy?: Array<ActivityLogSortBy>, sortOrder?: Array<SortOrder>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
44
  };
44
45
  /**
45
46
  * ActivityLogApi - functional programming interface
@@ -52,6 +53,7 @@ export declare const ActivityLogApiFp: (configuration?: Configuration) => {
52
53
  * @param {number} [startIndex] The record index to start at. All items with a lower index will be dropped from the results.
53
54
  * @param {number} [limit] The maximum number of records to return.
54
55
  * @param {string} [minDate] The minimum date.
56
+ * @param {string} [maxDate] The maximum date.
55
57
  * @param {boolean} [hasUserId] Filter log entries if it has user id, or not.
56
58
  * @param {string} [name] Filter by name.
57
59
  * @param {string} [overview] Filter by overview.
@@ -65,7 +67,7 @@ export declare const ActivityLogApiFp: (configuration?: Configuration) => {
65
67
  * @param {*} [options] Override http request option.
66
68
  * @throws {RequiredError}
67
69
  */
68
- getLogEntries(startIndex?: number, limit?: number, minDate?: string, hasUserId?: boolean, name?: string, overview?: string, shortOverview?: string, type?: string, itemId?: string, username?: string, severity?: LogLevel, sortBy?: Array<ActivityLogSortBy>, sortOrder?: Array<SortOrder>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivityLogEntryQueryResult>>;
70
+ getLogEntries(startIndex?: number, limit?: number, minDate?: string, maxDate?: string, hasUserId?: boolean, name?: string, overview?: string, shortOverview?: string, type?: string, itemId?: string, username?: string, severity?: LogLevel, sortBy?: Array<ActivityLogSortBy>, sortOrder?: Array<SortOrder>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivityLogEntryQueryResult>>;
69
71
  };
70
72
  /**
71
73
  * ActivityLogApi - factory interface
@@ -105,6 +107,12 @@ export interface ActivityLogApiGetLogEntriesRequest {
105
107
  * @memberof ActivityLogApiGetLogEntries
106
108
  */
107
109
  readonly minDate?: string;
110
+ /**
111
+ * The maximum date.
112
+ * @type {string}
113
+ * @memberof ActivityLogApiGetLogEntries
114
+ */
115
+ readonly maxDate?: string;
108
116
  /**
109
117
  * Filter log entries if it has user id, or not.
110
118
  * @type {boolean}
@@ -26,6 +26,7 @@ const ActivityLogApiAxiosParamCreator = function (configuration) {
26
26
  * @param {number} [startIndex] The record index to start at. All items with a lower index will be dropped from the results.
27
27
  * @param {number} [limit] The maximum number of records to return.
28
28
  * @param {string} [minDate] The minimum date.
29
+ * @param {string} [maxDate] The maximum date.
29
30
  * @param {boolean} [hasUserId] Filter log entries if it has user id, or not.
30
31
  * @param {string} [name] Filter by name.
31
32
  * @param {string} [overview] Filter by overview.
@@ -39,7 +40,7 @@ const ActivityLogApiAxiosParamCreator = function (configuration) {
39
40
  * @param {*} [options] Override http request option.
40
41
  * @throws {RequiredError}
41
42
  */
42
- getLogEntries: async (startIndex, limit, minDate, hasUserId, name, overview, shortOverview, type, itemId, username, severity, sortBy, sortOrder, options = {}) => {
43
+ getLogEntries: async (startIndex, limit, minDate, maxDate, hasUserId, name, overview, shortOverview, type, itemId, username, severity, sortBy, sortOrder, options = {}) => {
43
44
  const localVarPath = `/System/ActivityLog/Entries`;
44
45
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
45
46
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -63,6 +64,11 @@ const ActivityLogApiAxiosParamCreator = function (configuration) {
63
64
  minDate.toISOString() :
64
65
  minDate;
65
66
  }
67
+ if (maxDate !== undefined) {
68
+ localVarQueryParameter['maxDate'] = (maxDate instanceof Date) ?
69
+ maxDate.toISOString() :
70
+ maxDate;
71
+ }
66
72
  if (hasUserId !== undefined) {
67
73
  localVarQueryParameter['hasUserId'] = hasUserId;
68
74
  }
@@ -116,6 +122,7 @@ const ActivityLogApiFp = function (configuration) {
116
122
  * @param {number} [startIndex] The record index to start at. All items with a lower index will be dropped from the results.
117
123
  * @param {number} [limit] The maximum number of records to return.
118
124
  * @param {string} [minDate] The minimum date.
125
+ * @param {string} [maxDate] The maximum date.
119
126
  * @param {boolean} [hasUserId] Filter log entries if it has user id, or not.
120
127
  * @param {string} [name] Filter by name.
121
128
  * @param {string} [overview] Filter by overview.
@@ -129,9 +136,9 @@ const ActivityLogApiFp = function (configuration) {
129
136
  * @param {*} [options] Override http request option.
130
137
  * @throws {RequiredError}
131
138
  */
132
- async getLogEntries(startIndex, limit, minDate, hasUserId, name, overview, shortOverview, type, itemId, username, severity, sortBy, sortOrder, options) {
139
+ async getLogEntries(startIndex, limit, minDate, maxDate, hasUserId, name, overview, shortOverview, type, itemId, username, severity, sortBy, sortOrder, options) {
133
140
  var _a, _b, _c;
134
- const localVarAxiosArgs = await localVarAxiosParamCreator.getLogEntries(startIndex, limit, minDate, hasUserId, name, overview, shortOverview, type, itemId, username, severity, sortBy, sortOrder, options);
141
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLogEntries(startIndex, limit, minDate, maxDate, hasUserId, name, overview, shortOverview, type, itemId, username, severity, sortBy, sortOrder, options);
135
142
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
136
143
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ActivityLogApi.getLogEntries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
137
144
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -153,7 +160,7 @@ const ActivityLogApiFactory = function (configuration, basePath, axios) {
153
160
  * @throws {RequiredError}
154
161
  */
155
162
  getLogEntries(requestParameters = {}, options) {
156
- return localVarFp.getLogEntries(requestParameters.startIndex, requestParameters.limit, requestParameters.minDate, requestParameters.hasUserId, requestParameters.name, requestParameters.overview, requestParameters.shortOverview, requestParameters.type, requestParameters.itemId, requestParameters.username, requestParameters.severity, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(axios, basePath));
163
+ return localVarFp.getLogEntries(requestParameters.startIndex, requestParameters.limit, requestParameters.minDate, requestParameters.maxDate, requestParameters.hasUserId, requestParameters.name, requestParameters.overview, requestParameters.shortOverview, requestParameters.type, requestParameters.itemId, requestParameters.username, requestParameters.severity, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(axios, basePath));
157
164
  },
158
165
  };
159
166
  };
@@ -173,7 +180,7 @@ class ActivityLogApi extends BaseAPI {
173
180
  * @memberof ActivityLogApi
174
181
  */
175
182
  getLogEntries(requestParameters = {}, options) {
176
- return ActivityLogApiFp(this.configuration).getLogEntries(requestParameters.startIndex, requestParameters.limit, requestParameters.minDate, requestParameters.hasUserId, requestParameters.name, requestParameters.overview, requestParameters.shortOverview, requestParameters.type, requestParameters.itemId, requestParameters.username, requestParameters.severity, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(this.axios, this.basePath));
183
+ return ActivityLogApiFp(this.configuration).getLogEntries(requestParameters.startIndex, requestParameters.limit, requestParameters.minDate, requestParameters.maxDate, requestParameters.hasUserId, requestParameters.name, requestParameters.overview, requestParameters.shortOverview, requestParameters.type, requestParameters.itemId, requestParameters.username, requestParameters.severity, requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(this.axios, this.basePath));
177
184
  }
178
185
  }
179
186
 
@@ -146,7 +146,6 @@ export { TonemappingMode } from './models/tonemapping-mode.js';
146
146
  export { TonemappingRange } from './models/tonemapping-range.js';
147
147
  export { TranscodeReason } from './models/transcode-reason.js';
148
148
  export { TranscodeSeekInfo } from './models/transcode-seek-info.js';
149
- export { TranscodingInfoTranscodeReasonsEnum } from './models/transcoding-info.js';
150
149
  export { TransportStreamTimestamp } from './models/transport-stream-timestamp.js';
151
150
  export { TrickplayScanBehavior } from './models/trickplay-scan-behavior.js';
152
151
  export { UnratedItem } from './models/unrated-item.js';
@@ -91,11 +91,11 @@ export interface AlbumInfo {
91
91
  'AlbumArtists'?: Array<string>;
92
92
  /**
93
93
  * Gets or sets the artist provider ids.
94
- * @type {{ [key: string]: string | null; }}
94
+ * @type {{ [key: string]: string; }}
95
95
  * @memberof AlbumInfo
96
96
  */
97
97
  'ArtistProviderIds'?: {
98
- [key: string]: string | null;
98
+ [key: string]: string;
99
99
  };
100
100
  /**
101
101
  *
@@ -20,29 +20,29 @@ export interface BackupManifestDto {
20
20
  * @type {string}
21
21
  * @memberof BackupManifestDto
22
22
  */
23
- 'ServerVersion'?: string;
23
+ 'ServerVersion': string;
24
24
  /**
25
25
  * Gets or sets the backup engine version this backup was created with.
26
26
  * @type {string}
27
27
  * @memberof BackupManifestDto
28
28
  */
29
- 'BackupEngineVersion'?: string;
29
+ 'BackupEngineVersion': string;
30
30
  /**
31
31
  * Gets or sets the date this backup was created with.
32
32
  * @type {string}
33
33
  * @memberof BackupManifestDto
34
34
  */
35
- 'DateCreated'?: string;
35
+ 'DateCreated': string;
36
36
  /**
37
37
  * Gets or sets the path to the backup on the system.
38
38
  * @type {string}
39
39
  * @memberof BackupManifestDto
40
40
  */
41
- 'Path'?: string;
41
+ 'Path': string;
42
42
  /**
43
43
  *
44
44
  * @type {BackupOptionsDto}
45
45
  * @memberof BackupManifestDto
46
46
  */
47
- 'Options'?: BackupOptionsDto;
47
+ 'Options': BackupOptionsDto;
48
48
  }
@@ -19,5 +19,5 @@ export interface BackupRestoreRequestDto {
19
19
  * @type {string}
20
20
  * @memberof BackupRestoreRequestDto
21
21
  */
22
- 'ArchiveFileName'?: string;
22
+ 'ArchiveFileName': string;
23
23
  }
@@ -16,106 +16,106 @@
16
16
  export interface BaseItemDtoImageBlurHashes {
17
17
  /**
18
18
  *
19
- * @type {{ [key: string]: string; }}
19
+ * @type {{ [key: string]: string | null; }}
20
20
  * @memberof BaseItemDtoImageBlurHashes
21
21
  */
22
22
  'Primary'?: {
23
- [key: string]: string;
23
+ [key: string]: string | null;
24
24
  };
25
25
  /**
26
26
  *
27
- * @type {{ [key: string]: string; }}
27
+ * @type {{ [key: string]: string | null; }}
28
28
  * @memberof BaseItemDtoImageBlurHashes
29
29
  */
30
30
  'Art'?: {
31
- [key: string]: string;
31
+ [key: string]: string | null;
32
32
  };
33
33
  /**
34
34
  *
35
- * @type {{ [key: string]: string; }}
35
+ * @type {{ [key: string]: string | null; }}
36
36
  * @memberof BaseItemDtoImageBlurHashes
37
37
  */
38
38
  'Backdrop'?: {
39
- [key: string]: string;
39
+ [key: string]: string | null;
40
40
  };
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: string; }}
43
+ * @type {{ [key: string]: string | null; }}
44
44
  * @memberof BaseItemDtoImageBlurHashes
45
45
  */
46
46
  'Banner'?: {
47
- [key: string]: string;
47
+ [key: string]: string | null;
48
48
  };
49
49
  /**
50
50
  *
51
- * @type {{ [key: string]: string; }}
51
+ * @type {{ [key: string]: string | null; }}
52
52
  * @memberof BaseItemDtoImageBlurHashes
53
53
  */
54
54
  'Logo'?: {
55
- [key: string]: string;
55
+ [key: string]: string | null;
56
56
  };
57
57
  /**
58
58
  *
59
- * @type {{ [key: string]: string; }}
59
+ * @type {{ [key: string]: string | null; }}
60
60
  * @memberof BaseItemDtoImageBlurHashes
61
61
  */
62
62
  'Thumb'?: {
63
- [key: string]: string;
63
+ [key: string]: string | null;
64
64
  };
65
65
  /**
66
66
  *
67
- * @type {{ [key: string]: string; }}
67
+ * @type {{ [key: string]: string | null; }}
68
68
  * @memberof BaseItemDtoImageBlurHashes
69
69
  */
70
70
  'Disc'?: {
71
- [key: string]: string;
71
+ [key: string]: string | null;
72
72
  };
73
73
  /**
74
74
  *
75
- * @type {{ [key: string]: string; }}
75
+ * @type {{ [key: string]: string | null; }}
76
76
  * @memberof BaseItemDtoImageBlurHashes
77
77
  */
78
78
  'Box'?: {
79
- [key: string]: string;
79
+ [key: string]: string | null;
80
80
  };
81
81
  /**
82
82
  *
83
- * @type {{ [key: string]: string; }}
83
+ * @type {{ [key: string]: string | null; }}
84
84
  * @memberof BaseItemDtoImageBlurHashes
85
85
  */
86
86
  'Screenshot'?: {
87
- [key: string]: string;
87
+ [key: string]: string | null;
88
88
  };
89
89
  /**
90
90
  *
91
- * @type {{ [key: string]: string; }}
91
+ * @type {{ [key: string]: string | null; }}
92
92
  * @memberof BaseItemDtoImageBlurHashes
93
93
  */
94
94
  'Menu'?: {
95
- [key: string]: string;
95
+ [key: string]: string | null;
96
96
  };
97
97
  /**
98
98
  *
99
- * @type {{ [key: string]: string; }}
99
+ * @type {{ [key: string]: string | null; }}
100
100
  * @memberof BaseItemDtoImageBlurHashes
101
101
  */
102
102
  'Chapter'?: {
103
- [key: string]: string;
103
+ [key: string]: string | null;
104
104
  };
105
105
  /**
106
106
  *
107
- * @type {{ [key: string]: string; }}
107
+ * @type {{ [key: string]: string | null; }}
108
108
  * @memberof BaseItemDtoImageBlurHashes
109
109
  */
110
110
  'BoxRear'?: {
111
- [key: string]: string;
111
+ [key: string]: string | null;
112
112
  };
113
113
  /**
114
114
  *
115
- * @type {{ [key: string]: string; }}
115
+ * @type {{ [key: string]: string | null; }}
116
116
  * @memberof BaseItemDtoImageBlurHashes
117
117
  */
118
118
  'Profile'?: {
119
- [key: string]: string;
119
+ [key: string]: string | null;
120
120
  };
121
121
  }
@@ -582,11 +582,11 @@ export interface BaseItemDto {
582
582
  'MediaSourceCount'?: number | null;
583
583
  /**
584
584
  * Gets or sets the image tags.
585
- * @type {{ [key: string]: string; }}
585
+ * @type {{ [key: string]: string | null; }}
586
586
  * @memberof BaseItemDto
587
587
  */
588
588
  'ImageTags'?: {
589
- [key: string]: string;
589
+ [key: string]: string | null;
590
590
  } | null;
591
591
  /**
592
592
  * Gets or sets the backdrop image tags.
@@ -668,13 +668,13 @@ export interface BaseItemDto {
668
668
  'Chapters'?: Array<ChapterInfo> | null;
669
669
  /**
670
670
  * Gets or sets the trickplay manifest.
671
- * @type {{ [key: string]: { [key: string]: TrickplayInfoDto; }; }}
671
+ * @type {{ [key: string]: { [key: string]: TrickplayInfoDto; } | null; }}
672
672
  * @memberof BaseItemDto
673
673
  */
674
674
  'Trickplay'?: {
675
675
  [key: string]: {
676
676
  [key: string]: TrickplayInfoDto;
677
- };
677
+ } | null;
678
678
  } | null;
679
679
  /**
680
680
  *
@@ -16,106 +16,106 @@
16
16
  export interface BaseItemPersonImageBlurHashes {
17
17
  /**
18
18
  *
19
- * @type {{ [key: string]: string; }}
19
+ * @type {{ [key: string]: string | null; }}
20
20
  * @memberof BaseItemPersonImageBlurHashes
21
21
  */
22
22
  'Primary'?: {
23
- [key: string]: string;
23
+ [key: string]: string | null;
24
24
  };
25
25
  /**
26
26
  *
27
- * @type {{ [key: string]: string; }}
27
+ * @type {{ [key: string]: string | null; }}
28
28
  * @memberof BaseItemPersonImageBlurHashes
29
29
  */
30
30
  'Art'?: {
31
- [key: string]: string;
31
+ [key: string]: string | null;
32
32
  };
33
33
  /**
34
34
  *
35
- * @type {{ [key: string]: string; }}
35
+ * @type {{ [key: string]: string | null; }}
36
36
  * @memberof BaseItemPersonImageBlurHashes
37
37
  */
38
38
  'Backdrop'?: {
39
- [key: string]: string;
39
+ [key: string]: string | null;
40
40
  };
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: string; }}
43
+ * @type {{ [key: string]: string | null; }}
44
44
  * @memberof BaseItemPersonImageBlurHashes
45
45
  */
46
46
  'Banner'?: {
47
- [key: string]: string;
47
+ [key: string]: string | null;
48
48
  };
49
49
  /**
50
50
  *
51
- * @type {{ [key: string]: string; }}
51
+ * @type {{ [key: string]: string | null; }}
52
52
  * @memberof BaseItemPersonImageBlurHashes
53
53
  */
54
54
  'Logo'?: {
55
- [key: string]: string;
55
+ [key: string]: string | null;
56
56
  };
57
57
  /**
58
58
  *
59
- * @type {{ [key: string]: string; }}
59
+ * @type {{ [key: string]: string | null; }}
60
60
  * @memberof BaseItemPersonImageBlurHashes
61
61
  */
62
62
  'Thumb'?: {
63
- [key: string]: string;
63
+ [key: string]: string | null;
64
64
  };
65
65
  /**
66
66
  *
67
- * @type {{ [key: string]: string; }}
67
+ * @type {{ [key: string]: string | null; }}
68
68
  * @memberof BaseItemPersonImageBlurHashes
69
69
  */
70
70
  'Disc'?: {
71
- [key: string]: string;
71
+ [key: string]: string | null;
72
72
  };
73
73
  /**
74
74
  *
75
- * @type {{ [key: string]: string; }}
75
+ * @type {{ [key: string]: string | null; }}
76
76
  * @memberof BaseItemPersonImageBlurHashes
77
77
  */
78
78
  'Box'?: {
79
- [key: string]: string;
79
+ [key: string]: string | null;
80
80
  };
81
81
  /**
82
82
  *
83
- * @type {{ [key: string]: string; }}
83
+ * @type {{ [key: string]: string | null; }}
84
84
  * @memberof BaseItemPersonImageBlurHashes
85
85
  */
86
86
  'Screenshot'?: {
87
- [key: string]: string;
87
+ [key: string]: string | null;
88
88
  };
89
89
  /**
90
90
  *
91
- * @type {{ [key: string]: string; }}
91
+ * @type {{ [key: string]: string | null; }}
92
92
  * @memberof BaseItemPersonImageBlurHashes
93
93
  */
94
94
  'Menu'?: {
95
- [key: string]: string;
95
+ [key: string]: string | null;
96
96
  };
97
97
  /**
98
98
  *
99
- * @type {{ [key: string]: string; }}
99
+ * @type {{ [key: string]: string | null; }}
100
100
  * @memberof BaseItemPersonImageBlurHashes
101
101
  */
102
102
  'Chapter'?: {
103
- [key: string]: string;
103
+ [key: string]: string | null;
104
104
  };
105
105
  /**
106
106
  *
107
- * @type {{ [key: string]: string; }}
107
+ * @type {{ [key: string]: string | null; }}
108
108
  * @memberof BaseItemPersonImageBlurHashes
109
109
  */
110
110
  'BoxRear'?: {
111
- [key: string]: string;
111
+ [key: string]: string | null;
112
112
  };
113
113
  /**
114
114
  *
115
- * @type {{ [key: string]: string; }}
115
+ * @type {{ [key: string]: string | null; }}
116
116
  * @memberof BaseItemPersonImageBlurHashes
117
117
  */
118
118
  'Profile'?: {
119
- [key: string]: string;
119
+ [key: string]: string | null;
120
120
  };
121
121
  }
@@ -19,11 +19,11 @@ export interface CastReceiverApplication {
19
19
  * @type {string}
20
20
  * @memberof CastReceiverApplication
21
21
  */
22
- 'Id'?: string;
22
+ 'Id': string;
23
23
  /**
24
24
  * Gets or sets the cast receiver application name.
25
25
  * @type {string}
26
26
  * @memberof CastReceiverApplication
27
27
  */
28
- 'Name'?: string;
28
+ 'Name': string;
29
29
  }
@@ -22,13 +22,13 @@ export interface ChannelMappingOptionsDto {
22
22
  * @type {Array<TunerChannelMapping>}
23
23
  * @memberof ChannelMappingOptionsDto
24
24
  */
25
- 'TunerChannels'?: Array<TunerChannelMapping>;
25
+ 'TunerChannels': Array<TunerChannelMapping>;
26
26
  /**
27
27
  * Gets or sets list of provider channels.
28
28
  * @type {Array<NameIdPair>}
29
29
  * @memberof ChannelMappingOptionsDto
30
30
  */
31
- 'ProviderChannels'?: Array<NameIdPair>;
31
+ 'ProviderChannels': Array<NameIdPair>;
32
32
  /**
33
33
  * Gets or sets list of mappings.
34
34
  * @type {Array<NameValuePair>}
@@ -21,7 +21,7 @@ export interface CreatePlaylistDto {
21
21
  * @type {string}
22
22
  * @memberof CreatePlaylistDto
23
23
  */
24
- 'Name'?: string;
24
+ 'Name': string;
25
25
  /**
26
26
  * Gets or sets item ids to add to the playlist.
27
27
  * @type {Array<string>}
@@ -19,11 +19,11 @@ export interface CustomDatabaseOption {
19
19
  * @type {string}
20
20
  * @memberof CustomDatabaseOption
21
21
  */
22
- 'Key'?: string;
22
+ 'Key': string;
23
23
  /**
24
24
  * Gets or sets the value.
25
25
  * @type {string}
26
26
  * @memberof CustomDatabaseOption
27
27
  */
28
- 'Value'?: string;
28
+ 'Value': string;
29
29
  }
@@ -20,19 +20,19 @@ export interface CustomDatabaseOptions {
20
20
  * @type {string}
21
21
  * @memberof CustomDatabaseOptions
22
22
  */
23
- 'PluginName'?: string;
23
+ 'PluginName': string;
24
24
  /**
25
25
  * Gets or sets the plugin assembly to search for providers.
26
26
  * @type {string}
27
27
  * @memberof CustomDatabaseOptions
28
28
  */
29
- 'PluginAssembly'?: string;
29
+ 'PluginAssembly': string;
30
30
  /**
31
31
  * Gets or sets the connection string for the custom database provider.
32
32
  * @type {string}
33
33
  * @memberof CustomDatabaseOptions
34
34
  */
35
- 'ConnectionString'?: string;
35
+ 'ConnectionString': string;
36
36
  /**
37
37
  * Gets or sets the list of extra options for the custom provider.
38
38
  * @type {Array<CustomDatabaseOption>}
@@ -21,7 +21,7 @@ export interface DatabaseConfigurationOptions {
21
21
  * @type {string}
22
22
  * @memberof DatabaseConfigurationOptions
23
23
  */
24
- 'DatabaseType'?: string;
24
+ 'DatabaseType': string;
25
25
  /**
26
26
  *
27
27
  * @type {CustomDatabaseOptions}
@@ -14,7 +14,7 @@ import type { DirectPlayProfile } from './direct-play-profile';
14
14
  import type { SubtitleProfile } from './subtitle-profile';
15
15
  import type { TranscodingProfile } from './transcoding-profile';
16
16
  /**
17
- * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. <br /> Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn\'t.
17
+ * A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play. Specifically, it defines the supported <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.ContainerProfiles\">containers</see> and <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.CodecProfiles\">codecs</see> (video and/or audio, including codec profiles and levels) the device is able to direct play (without transcoding or remuxing), as well as which <see cref=\"P:MediaBrowser.Model.Dlna.DeviceProfile.TranscodingProfiles\">containers/codecs to transcode to</see> in case it isn\'t.
18
18
  * @export
19
19
  * @interface DeviceProfile
20
20
  */
@@ -19,7 +19,7 @@ export interface FolderStorageDto {
19
19
  * @type {string}
20
20
  * @memberof FolderStorageDto
21
21
  */
22
- 'Path'?: string;
22
+ 'Path': string;
23
23
  /**
24
24
  * Gets the free space of the underlying storage device of the Jellyfin.Api.Models.SystemInfoDtos.FolderStorageDto.Path.
25
25
  * @type {number}
@@ -29,10 +29,10 @@ export interface GeneralCommand {
29
29
  'ControllingUserId'?: string;
30
30
  /**
31
31
  *
32
- * @type {{ [key: string]: string | null; }}
32
+ * @type {{ [key: string]: string; }}
33
33
  * @memberof GeneralCommand
34
34
  */
35
35
  'Arguments'?: {
36
- [key: string]: string | null;
36
+ [key: string]: string;
37
37
  };
38
38
  }
@@ -84,7 +84,6 @@ export { TonemappingMode } from './tonemapping-mode.js';
84
84
  export { TonemappingRange } from './tonemapping-range.js';
85
85
  export { TranscodeReason } from './transcode-reason.js';
86
86
  export { TranscodeSeekInfo } from './transcode-seek-info.js';
87
- export { TranscodingInfoTranscodeReasonsEnum } from './transcoding-info.js';
88
87
  export { TransportStreamTimestamp } from './transport-stream-timestamp.js';
89
88
  export { TrickplayScanBehavior } from './trickplay-scan-behavior.js';
90
89
  export { UnratedItem } from './unrated-item.js';
@@ -20,17 +20,17 @@ export interface LibraryStorageDto {
20
20
  * @type {string}
21
21
  * @memberof LibraryStorageDto
22
22
  */
23
- 'Id'?: string;
23
+ 'Id': string;
24
24
  /**
25
25
  * Gets or sets the name of the library.
26
26
  * @type {string}
27
27
  * @memberof LibraryStorageDto
28
28
  */
29
- 'Name'?: string;
29
+ 'Name': string;
30
30
  /**
31
31
  * Gets or sets the storage informations about the folders used in a library.
32
32
  * @type {Array<FolderStorageDto>}
33
33
  * @memberof LibraryStorageDto
34
34
  */
35
- 'Folders'?: Array<FolderStorageDto>;
35
+ 'Folders': Array<FolderStorageDto>;
36
36
  }
@@ -37,5 +37,5 @@ export interface LogFile {
37
37
  * @type {string}
38
38
  * @memberof LogFile
39
39
  */
40
- 'Name'?: string;
40
+ 'Name': string;
41
41
  }
@@ -26,11 +26,11 @@ export interface PlaylistDto {
26
26
  * @type {Array<PlaylistUserPermissions>}
27
27
  * @memberof PlaylistDto
28
28
  */
29
- 'Shares'?: Array<PlaylistUserPermissions>;
29
+ 'Shares': Array<PlaylistUserPermissions>;
30
30
  /**
31
31
  * Gets or sets the item ids.
32
32
  * @type {Array<string>}
33
33
  * @memberof PlaylistDto
34
34
  */
35
- 'ItemIds'?: Array<string>;
35
+ 'ItemIds': Array<string>;
36
36
  }
@@ -20,17 +20,17 @@ export interface RemoteLyricInfoDto {
20
20
  * @type {string}
21
21
  * @memberof RemoteLyricInfoDto
22
22
  */
23
- 'Id'?: string;
23
+ 'Id': string;
24
24
  /**
25
25
  * Gets the provider name.
26
26
  * @type {string}
27
27
  * @memberof RemoteLyricInfoDto
28
28
  */
29
- 'ProviderName'?: string;
29
+ 'ProviderName': string;
30
30
  /**
31
31
  *
32
32
  * @type {LyricDto}
33
33
  * @memberof RemoteLyricInfoDto
34
34
  */
35
- 'Lyrics'?: LyricDto;
35
+ 'Lyrics': LyricDto;
36
36
  }
@@ -199,11 +199,11 @@ export interface SeriesTimerInfoDto {
199
199
  'DayPattern'?: DayPattern;
200
200
  /**
201
201
  * Gets or sets the image tags.
202
- * @type {{ [key: string]: string; }}
202
+ * @type {{ [key: string]: string | null; }}
203
203
  * @memberof SeriesTimerInfoDto
204
204
  */
205
205
  'ImageTags'?: {
206
- [key: string]: string;
206
+ [key: string]: string | null;
207
207
  } | null;
208
208
  /**
209
209
  * Gets or sets the parent thumb item id.
@@ -21,47 +21,47 @@ export interface SystemStorageDto {
21
21
  * @type {FolderStorageDto}
22
22
  * @memberof SystemStorageDto
23
23
  */
24
- 'ProgramDataFolder'?: FolderStorageDto;
24
+ 'ProgramDataFolder': FolderStorageDto;
25
25
  /**
26
26
  *
27
27
  * @type {FolderStorageDto}
28
28
  * @memberof SystemStorageDto
29
29
  */
30
- 'WebFolder'?: FolderStorageDto;
30
+ 'WebFolder': FolderStorageDto;
31
31
  /**
32
32
  *
33
33
  * @type {FolderStorageDto}
34
34
  * @memberof SystemStorageDto
35
35
  */
36
- 'ImageCacheFolder'?: FolderStorageDto;
36
+ 'ImageCacheFolder': FolderStorageDto;
37
37
  /**
38
38
  *
39
39
  * @type {FolderStorageDto}
40
40
  * @memberof SystemStorageDto
41
41
  */
42
- 'CacheFolder'?: FolderStorageDto;
42
+ 'CacheFolder': FolderStorageDto;
43
43
  /**
44
44
  *
45
45
  * @type {FolderStorageDto}
46
46
  * @memberof SystemStorageDto
47
47
  */
48
- 'LogFolder'?: FolderStorageDto;
48
+ 'LogFolder': FolderStorageDto;
49
49
  /**
50
50
  *
51
51
  * @type {FolderStorageDto}
52
52
  * @memberof SystemStorageDto
53
53
  */
54
- 'InternalMetadataFolder'?: FolderStorageDto;
54
+ 'InternalMetadataFolder': FolderStorageDto;
55
55
  /**
56
56
  *
57
57
  * @type {FolderStorageDto}
58
58
  * @memberof SystemStorageDto
59
59
  */
60
- 'TranscodingTempFolder'?: FolderStorageDto;
60
+ 'TranscodingTempFolder': FolderStorageDto;
61
61
  /**
62
62
  * Gets or sets the storage informations of all libraries.
63
63
  * @type {Array<LibraryStorageDto>}
64
64
  * @memberof SystemStorageDto
65
65
  */
66
- 'Libraries'?: Array<LibraryStorageDto>;
66
+ 'Libraries': Array<LibraryStorageDto>;
67
67
  }
@@ -9,6 +9,7 @@
9
9
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
10
  */
11
11
  import type { HardwareAccelerationType } from './hardware-acceleration-type';
12
+ import type { TranscodeReason } from './transcode-reason';
12
13
  /**
13
14
  * Class holding information on a running transcode.
14
15
  * @export
@@ -92,7 +93,5 @@ export interface TranscodingInfo {
92
93
  * @type {Array<TranscodeReason>}
93
94
  * @memberof TranscodingInfo
94
95
  */
95
- 'TranscodeReasons'?: TranscodingInfoTranscodeReasonsEnum;
96
+ 'TranscodeReasons'?: Array<TranscodeReason>;
96
97
  }
97
- export declare const TranscodingInfoTranscodeReasonsEnum: {};
98
- export type TranscodingInfoTranscodeReasonsEnum = typeof TranscodingInfoTranscodeReasonsEnum[keyof typeof TranscodingInfoTranscodeReasonsEnum];
@@ -26,5 +26,5 @@ export interface UserDataChangeInfo {
26
26
  * @type {Array<UserItemDataDto>}
27
27
  * @memberof UserDataChangeInfo
28
28
  */
29
- 'UserDataList'?: Array<UserItemDataDto>;
29
+ 'UserDataList': Array<UserItemDataDto>;
30
30
  }
@@ -73,7 +73,7 @@ export interface UserItemDataDto {
73
73
  * @type {string}
74
74
  * @memberof UserItemDataDto
75
75
  */
76
- 'Key'?: string;
76
+ 'Key': string;
77
77
  /**
78
78
  * Gets or sets the item identifier.
79
79
  * @type {string}
@@ -16,7 +16,7 @@ export interface ImageRequestParameters {
16
16
  quality?: number;
17
17
  fillWidth?: number;
18
18
  fillHeight?: number;
19
- tag?: string;
19
+ tag?: string | null;
20
20
  cropWhitespace?: boolean;
21
21
  format?: ImageFormat;
22
22
  percentPlayed?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jellyfin/sdk",
3
- "version": "0.0.0-unstable.202512091852+commit.b1c8b8d74a21b64230f76e1db7b7120704869e3f",
3
+ "version": "0.0.0-unstable.202601062209+commit.16e94e6038d4a7c77b33de7b55d80b203ffaa358",
4
4
  "description": "A TypeScript SDK for Jellyfin.",
5
5
  "keywords": [
6
6
  "jellyfin"
@@ -26,23 +26,26 @@
26
26
  "test:integration": "vitest integration"
27
27
  },
28
28
  "devDependencies": {
29
- "@openapitools/openapi-generator-cli": "2.25.0",
30
- "@rollup/plugin-typescript": "12.1.4",
31
- "@stylistic/eslint-plugin": "2.13.0",
32
- "@tsconfig/recommended": "1.0.10",
33
- "@types/node": "24.9.1",
34
- "@typescript-eslint/eslint-plugin": "8.46.2",
35
- "@typescript-eslint/parser": "8.46.2",
36
- "@vitest/coverage-v8": "3.2.4",
37
- "@vitest/eslint-plugin": "1.3.23",
38
- "eslint": "8.57.1",
29
+ "@openapitools/openapi-generator-cli": "2.26.0",
30
+ "@rollup/plugin-typescript": "12.3.0",
31
+ "@stylistic/eslint-plugin": "5.6.1",
32
+ "@tsconfig/recommended": "1.0.13",
33
+ "@types/node": "24.10.4",
34
+ "@typescript-eslint/eslint-plugin": "8.50.1",
35
+ "@typescript-eslint/parser": "8.50.1",
36
+ "@vitest/coverage-v8": "4.0.16",
37
+ "@vitest/eslint-plugin": "1.6.1",
38
+ "eslint": "9.39.2",
39
+ "eslint-import-resolver-typescript": "4.4.4",
39
40
  "eslint-plugin-import": "2.32.0",
40
- "glob": "11.0.3",
41
+ "glob": "13.0.0",
42
+ "globals": "16.5.0",
41
43
  "rimraf": "5.0.10",
42
- "rollup": "4.52.5",
43
- "typedoc": "0.28.14",
44
+ "rollup": "4.54.0",
45
+ "typedoc": "0.28.15",
44
46
  "typescript": "5.9.3",
45
- "vitest": "3.2.4"
47
+ "typescript-eslint": "8.50.1",
48
+ "vitest": "4.0.16"
46
49
  },
47
50
  "peerDependencies": {
48
51
  "axios": "^1.12.0"
@@ -1,15 +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
- const TranscodingInfoTranscodeReasonsEnum = {};
14
-
15
- export { TranscodingInfoTranscodeReasonsEnum };