Skip to content

Commit

Permalink
Update OpenAPI to unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
jellyfin-bot committed Jan 29, 2025
1 parent 2563962 commit 89ee022
Show file tree
Hide file tree
Showing 22 changed files with 80 additions and 36 deletions.
4 changes: 2 additions & 2 deletions openapi.json
Git LFS file not shown
1 change: 1 addition & 0 deletions src/generated-client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ models/task-completion-status.ts
models/task-info.ts
models/task-result.ts
models/task-state.ts
models/task-trigger-info-type.ts
models/task-trigger-info.ts
models/theme-media-result.ts
models/timer-cancelled-message.ts
Expand Down
12 changes: 6 additions & 6 deletions src/generated-client/api/audio-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
* @param {boolean} [requireAvc] Optional. Whether to require avc.
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
Expand Down Expand Up @@ -912,7 +912,7 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
* @param {boolean} [requireAvc] Optional. Whether to require avc.
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
Expand Down Expand Up @@ -1264,7 +1264,7 @@ export const AudioApiFp = function(configuration?: Configuration) {
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
* @param {boolean} [requireAvc] Optional. Whether to require avc.
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
Expand Down Expand Up @@ -1388,7 +1388,7 @@ export const AudioApiFp = function(configuration?: Configuration) {
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
* @param {boolean} [requireAvc] Optional. Whether to require avc.
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
* @param {string} [liveStreamId] The live stream id.
Expand Down Expand Up @@ -2086,7 +2086,7 @@ export interface AudioApiGetAudioStreamByContainerRequest {
readonly deInterlace?: boolean

/**
* Optional. Whether to require a non anamporphic stream.
* Optional. Whether to require a non anamorphic stream.
* @type {boolean}
* @memberof AudioApiGetAudioStreamByContainer
*/
Expand Down Expand Up @@ -2800,7 +2800,7 @@ export interface AudioApiHeadAudioStreamByContainerRequest {
readonly deInterlace?: boolean

/**
* Optional. Whether to require a non anamporphic stream.
* Optional. Whether to require a non anamorphic stream.
* @type {boolean}
* @memberof AudioApiHeadAudioStreamByContainer
*/
Expand Down
8 changes: 4 additions & 4 deletions src/generated-client/api/live-tv-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ export const LiveTvApiAxiosParamCreator = function (configuration?: Configuratio
},
/**
*
* @summary Get guid info.
* @summary Get guide info.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -2337,7 +2337,7 @@ export const LiveTvApiFp = function(configuration?: Configuration) {
},
/**
*
* @summary Get guid info.
* @summary Get guide info.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -2937,7 +2937,7 @@ export const LiveTvApiFactory = function (configuration?: Configuration, basePat
},
/**
*
* @summary Get guid info.
* @summary Get guide info.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -4645,7 +4645,7 @@ export class LiveTvApi extends BaseAPI {

/**
*
* @summary Get guid info.
* @summary Get guide info.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof LiveTvApi
Expand Down
4 changes: 2 additions & 2 deletions src/generated-client/models/device-info-query-result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import type { DeviceInfo } from './device-info';

/**
*
* Query result container.
* @export
* @interface DeviceInfoQueryResult
*/
Expand All @@ -27,7 +27,7 @@ export interface DeviceInfoQueryResult {
* @type {Array<DeviceInfo>}
* @memberof DeviceInfoQueryResult
*/
'Items'?: Array<DeviceInfo> | null;
'Items'?: Array<DeviceInfo>;
/**
* Gets or sets the total number of records available.
* @type {number}
Expand Down
1 change: 1 addition & 0 deletions src/generated-client/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ export * from './task-info';
export * from './task-result';
export * from './task-state';
export * from './task-trigger-info';
export * from './task-trigger-info-type';
export * from './theme-media-result';
export * from './timer-cancelled-message';
export * from './timer-created-message';
Expand Down
4 changes: 1 addition & 3 deletions src/generated-client/models/item-sort-by.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ export const ItemSortBy = {
DateLastContentAdded: 'DateLastContentAdded',
SeriesDatePlayed: 'SeriesDatePlayed',
ParentIndexNumber: 'ParentIndexNumber',
IndexNumber: 'IndexNumber',
SimilarityScore: 'SimilarityScore',
SearchScore: 'SearchScore'
IndexNumber: 'IndexNumber'
} as const;

export type ItemSortBy = typeof ItemSortBy[keyof typeof ItemSortBy];
Expand Down
6 changes: 6 additions & 0 deletions src/generated-client/models/library-options-result-dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ export interface LibraryOptionsResultDto {
* @memberof LibraryOptionsResultDto
*/
'LyricFetchers'?: Array<LibraryOptionInfoDto>;
/**
* Gets or sets the list of MediaSegment Providers.
* @type {Array<LibraryOptionInfoDto>}
* @memberof LibraryOptionsResultDto
*/
'MediaSegmentProviders'?: Array<LibraryOptionInfoDto>;
/**
* Gets or sets the type options.
* @type {Array<LibraryTypeOptionsDto>}
Expand Down
2 changes: 1 addition & 1 deletion src/generated-client/models/library-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export interface LibraryOptions {
* @type {Array<string>}
* @memberof LibraryOptions
*/
'MediaSegmentProvideOrder'?: Array<string>;
'MediaSegmentProviderOrder'?: Array<string>;
/**
*
* @type {boolean}
Expand Down
2 changes: 1 addition & 1 deletion src/generated-client/models/media-stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export interface MediaStream {
* @type {boolean}
* @memberof MediaStream
*/
'IsHearingImpaired'?: boolean;
'IsHearingImpaired'?: boolean | null;
/**
* Gets or sets the height.
* @type {number}
Expand Down
1 change: 1 addition & 0 deletions src/generated-client/models/network-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export interface NetworkConfiguration {
* Gets or sets a value indicating whether to enable automatic port forwarding.
* @type {boolean}
* @memberof NetworkConfiguration
* @deprecated
*/
'EnableUPnP'?: boolean;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/generated-client/models/open-live-stream-dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export interface OpenLiveStreamDto {
*/
'EnableDirectPlay'?: boolean | null;
/**
* Gets or sets a value indicating whether to enale direct stream.
* Gets or sets a value indicating whether to enable direct stream.
* @type {boolean}
* @memberof OpenLiveStreamDto
*/
Expand Down
2 changes: 1 addition & 1 deletion src/generated-client/models/playback-info-dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import type { DeviceProfile } from './device-profile';

/**
* Plabyback info dto.
* Playback info dto.
* @export
* @interface PlaybackInfoDto
*/
Expand Down
1 change: 1 addition & 0 deletions src/generated-client/models/plugin-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const PluginStatus = {
Active: 'Active',
Restart: 'Restart',
Deleted: 'Deleted',
Superseded: 'Superseded',
Superceded: 'Superceded',
Malfunctioned: 'Malfunctioned',
NotSupported: 'NotSupported',
Expand Down
16 changes: 8 additions & 8 deletions src/generated-client/models/server-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export interface ServerConfiguration {
*/
'QuickConnectAvailable'?: boolean;
/**
* Gets or sets a value indicating whether [enable case sensitive item ids].
* Gets or sets a value indicating whether [enable case-sensitive item ids].
* @type {boolean}
* @memberof ServerConfiguration
*/
Expand Down Expand Up @@ -325,20 +325,14 @@ export interface ServerConfiguration {
* @memberof ServerConfiguration
*/
'LibraryMetadataRefreshConcurrency'?: number;
/**
* Gets or sets a value indicating whether older plugins should automatically be deleted from the plugin folder.
* @type {boolean}
* @memberof ServerConfiguration
*/
'RemoveOldPlugins'?: boolean;
/**
* Gets or sets a value indicating whether clients should be allowed to upload logs.
* @type {boolean}
* @memberof ServerConfiguration
*/
'AllowClientLogUpload'?: boolean;
/**
* Gets or sets the dummy chapter duration in seconds, use 0 (zero) or less to disable generation alltogether.
* Gets or sets the dummy chapter duration in seconds, use 0 (zero) or less to disable generation altogether.
* @type {number}
* @memberof ServerConfiguration
*/
Expand Down Expand Up @@ -367,6 +361,12 @@ export interface ServerConfiguration {
* @memberof ServerConfiguration
*/
'TrickplayOptions'?: TrickplayOptions;
/**
* Gets or sets a value indicating whether old authorization methods are allowed.
* @type {boolean}
* @memberof ServerConfiguration
*/
'EnableLegacyAuthorization'?: boolean;
}


Expand Down
1 change: 1 addition & 0 deletions src/generated-client/models/startup-remote-access-dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export interface StartupRemoteAccessDto {
* Gets or sets a value indicating whether enable automatic port mapping.
* @type {boolean}
* @memberof StartupRemoteAccessDto
* @deprecated
*/
'EnableAutomaticPortMapping': boolean;
}
Expand Down
32 changes: 32 additions & 0 deletions src/generated-client/models/task-trigger-info-type.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/* tslint:disable */
/* eslint-disable */
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/



/**
* Enum TaskTriggerInfoType.
* @export
* @enum {string}
*/

export const TaskTriggerInfoType = {
DailyTrigger: 'DailyTrigger',
WeeklyTrigger: 'WeeklyTrigger',
IntervalTrigger: 'IntervalTrigger',
StartupTrigger: 'StartupTrigger'
} as const;

export type TaskTriggerInfoType = typeof TaskTriggerInfoType[keyof typeof TaskTriggerInfoType];



9 changes: 6 additions & 3 deletions src/generated-client/models/task-trigger-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
// May contain unused imports in some cases
// @ts-ignore
import type { DayOfWeek } from './day-of-week';
// May contain unused imports in some cases
// @ts-ignore
import type { TaskTriggerInfoType } from './task-trigger-info-type';

/**
* Class TaskTriggerInfo.
Expand All @@ -23,11 +26,11 @@ import type { DayOfWeek } from './day-of-week';
*/
export interface TaskTriggerInfo {
/**
* Gets or sets the type.
* @type {string}
*
* @type {TaskTriggerInfoType}
* @memberof TaskTriggerInfo
*/
'Type'?: string | null;
'Type'?: TaskTriggerInfoType;
/**
* Gets or sets the time of day.
* @type {number}
Expand Down
2 changes: 1 addition & 1 deletion src/generated-client/models/transcoding-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import type { HardwareAccelerationType } from './hardware-acceleration-type';
import type { TranscodeReason } from './transcode-reason';

/**
* Class holding information on a runnning transcode.
* Class holding information on a running transcode.
* @export
* @interface TranscodingInfo
*/
Expand Down
2 changes: 1 addition & 1 deletion src/generated-client/models/transcoding-profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import type { ProfileCondition } from './profile-condition';
import type { TranscodeSeekInfo } from './transcode-seek-info';

/**
* A class for transcoding profile information. Note for client developers: Conditions defined in MediaBrowser.Model.Dlna.CodecProfile has higher priority and can override values defined here.
* A class for transcoding profile information.
* @export
* @interface TranscodingProfile
*/
Expand Down
2 changes: 1 addition & 1 deletion src/generated-client/models/trickplay-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export interface TrickplayInfo {
*/
'Interval'?: number;
/**
* Gets or sets peak bandwith usage in bits per second.
* Gets or sets peak bandwidth usage in bits per second.
* @type {number}
* @memberof TrickplayInfo
*/
Expand Down
2 changes: 1 addition & 1 deletion src/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** The current API version of the generated client. */
export const API_VERSION = '10.10.5';
export const API_VERSION = '10.11.0';

/** The minimum supported server version. */
export const MINIMUM_VERSION = '10.9.0';

0 comments on commit 89ee022

Please sign in to comment.