From 11e160387ae2e54c6194825f5ec67195362286be Mon Sep 17 00:00:00 2001 From: jellyfin-bot Date: Mon, 1 Jul 2024 15:39:40 +0000 Subject: [PATCH] Update OpenAPI to unstable --- openapi.json | 4 +-- src/generated-client/.openapi-generator/FILES | 1 + src/generated-client/api/live-tv-api.ts | 8 ++--- .../models/device-info-query-result.ts | 4 +-- src/generated-client/models/index.ts | 1 + .../models/library-options-result-dto.ts | 6 ++++ .../models/library-options.ts | 2 +- .../models/server-configuration.ts | 6 ---- .../models/task-trigger-info-type.ts | 32 +++++++++++++++++++ .../models/task-trigger-info.ts | 9 ++++-- src/versions.ts | 2 +- 11 files changed, 56 insertions(+), 19 deletions(-) create mode 100644 src/generated-client/models/task-trigger-info-type.ts diff --git a/openapi.json b/openapi.json index f11fbb780..c4b826de9 100644 --- a/openapi.json +++ b/openapi.json @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7b13b7c577eaf62d0190a2c2fd908751cd45fa38d1f3b2ff0d546642ae38e23a -size 862642 +oid sha256:e4b36be9c327634385c84b8fe81a8c03ec8faf742f7adbdea258e13b25a19fad +size 862784 diff --git a/src/generated-client/.openapi-generator/FILES b/src/generated-client/.openapi-generator/FILES index c7cc88fb6..70aa46b7b 100644 --- a/src/generated-client/.openapi-generator/FILES +++ b/src/generated-client/.openapi-generator/FILES @@ -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 diff --git a/src/generated-client/api/live-tv-api.ts b/src/generated-client/api/live-tv-api.ts index 2c27de92a..c4b50b016 100644 --- a/src/generated-client/api/live-tv-api.ts +++ b/src/generated-client/api/live-tv-api.ts @@ -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} */ @@ -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} */ @@ -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} */ @@ -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 diff --git a/src/generated-client/models/device-info-query-result.ts b/src/generated-client/models/device-info-query-result.ts index 770c2b3b2..f151bb204 100644 --- a/src/generated-client/models/device-info-query-result.ts +++ b/src/generated-client/models/device-info-query-result.ts @@ -17,7 +17,7 @@ import type { DeviceInfo } from './device-info'; /** - * + * Query result container. * @export * @interface DeviceInfoQueryResult */ @@ -27,7 +27,7 @@ export interface DeviceInfoQueryResult { * @type {Array} * @memberof DeviceInfoQueryResult */ - 'Items'?: Array | null; + 'Items'?: Array; /** * Gets or sets the total number of records available. * @type {number} diff --git a/src/generated-client/models/index.ts b/src/generated-client/models/index.ts index e2f9309f8..17ab9aaf1 100644 --- a/src/generated-client/models/index.ts +++ b/src/generated-client/models/index.ts @@ -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'; diff --git a/src/generated-client/models/library-options-result-dto.ts b/src/generated-client/models/library-options-result-dto.ts index 619532bf8..6568612c6 100644 --- a/src/generated-client/models/library-options-result-dto.ts +++ b/src/generated-client/models/library-options-result-dto.ts @@ -49,6 +49,12 @@ export interface LibraryOptionsResultDto { * @memberof LibraryOptionsResultDto */ 'LyricFetchers'?: Array; + /** + * Gets or sets the list of MediaSegment Providers. + * @type {Array} + * @memberof LibraryOptionsResultDto + */ + 'MediaSegmentProviders'?: Array; /** * Gets or sets the type options. * @type {Array} diff --git a/src/generated-client/models/library-options.ts b/src/generated-client/models/library-options.ts index 63f69a6e8..615c6dd04 100644 --- a/src/generated-client/models/library-options.ts +++ b/src/generated-client/models/library-options.ts @@ -184,7 +184,7 @@ export interface LibraryOptions { * @type {Array} * @memberof LibraryOptions */ - 'MediaSegmentProvideOrder'?: Array; + 'MediaSegmentProviderOrder'?: Array; /** * * @type {boolean} diff --git a/src/generated-client/models/server-configuration.ts b/src/generated-client/models/server-configuration.ts index cb0f31268..619910930 100644 --- a/src/generated-client/models/server-configuration.ts +++ b/src/generated-client/models/server-configuration.ts @@ -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} diff --git a/src/generated-client/models/task-trigger-info-type.ts b/src/generated-client/models/task-trigger-info-type.ts new file mode 100644 index 000000000..3f68e2d74 --- /dev/null +++ b/src/generated-client/models/task-trigger-info-type.ts @@ -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]; + + + diff --git a/src/generated-client/models/task-trigger-info.ts b/src/generated-client/models/task-trigger-info.ts index 7e0a11ef8..e0134d5ea 100644 --- a/src/generated-client/models/task-trigger-info.ts +++ b/src/generated-client/models/task-trigger-info.ts @@ -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. @@ -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} diff --git a/src/versions.ts b/src/versions.ts index 14e1f8bd7..907712807 100644 --- a/src/versions.ts +++ b/src/versions.ts @@ -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';