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 Dec 23, 2024
1 parent e8f3dcd commit 391a76a
Show file tree
Hide file tree
Showing 11 changed files with 56 additions and 19 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
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
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
6 changes: 0 additions & 6 deletions src/generated-client/models/server-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,6 @@ 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}
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/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.3';
export const API_VERSION = '10.11.0';

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

0 comments on commit 391a76a

Please sign in to comment.