Skip to content

Commit 37dc28e

Browse files
committed
Update OpenAPI to unstable
1 parent c516ac3 commit 37dc28e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1227
-124
lines changed

openapi.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:6e168ee146ddfbe3804bfaa0a13398ec13c6d3330a45557c6a9e8168108aafba
3-
size 863672
2+
oid sha256:1566949fc94d5549d4cdcb3403b2b6ae4dd56a4d610a3bb3fb1ceba45739d983
3+
size 1006182

src/generated-client/.openapi-generator/FILES

+18-7
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ models/book-info-remote-search-query.ts
9393
models/book-info.ts
9494
models/box-set-info-remote-search-query.ts
9595
models/box-set-info.ts
96-
models/branding-options.ts
96+
models/branding-options-dto.ts
9797
models/buffer-request-dto.ts
9898
models/cast-receiver-application.ts
9999
models/channel-features.ts
@@ -117,6 +117,7 @@ models/country-info.ts
117117
models/create-playlist-dto.ts
118118
models/create-user-by-name.ts
119119
models/culture-dto.ts
120+
models/database-configuration-options.ts
120121
models/day-of-week.ts
121122
models/day-pattern.ts
122123
models/default-directory-browser-info-dto.ts
@@ -141,6 +142,7 @@ models/external-url.ts
141142
models/extra-type.ts
142143
models/file-system-entry-info.ts
143144
models/file-system-entry-type.ts
145+
models/folder-storage-dto.ts
144146
models/font-file.ts
145147
models/force-keep-alive-message.ts
146148
models/forgot-password-action.ts
@@ -151,13 +153,11 @@ models/general-command-message.ts
151153
models/general-command-type.ts
152154
models/general-command.ts
153155
models/get-programs-dto.ts
154-
models/group-info-dto-group-update.ts
155156
models/group-info-dto.ts
156157
models/group-queue-mode.ts
157158
models/group-repeat-mode.ts
158159
models/group-shuffle-mode.ts
159160
models/group-state-type.ts
160-
models/group-state-update-group-update.ts
161161
models/group-state-update.ts
162162
models/group-update-type.ts
163163
models/group-update.ts
@@ -188,6 +188,7 @@ models/library-changed-message.ts
188188
models/library-option-info-dto.ts
189189
models/library-options-result-dto.ts
190190
models/library-options.ts
191+
models/library-storage-dto.ts
191192
models/library-type-options-dto.ts
192193
models/library-update-info.ts
193194
models/listings-provider-info.ts
@@ -201,6 +202,7 @@ models/location-type.ts
201202
models/log-file.ts
202203
models/log-level.ts
203204
models/lyric-dto.ts
205+
models/lyric-line-cue.ts
204206
models/lyric-line.ts
205207
models/lyric-metadata.ts
206208
models/media-attachment.ts
@@ -240,6 +242,7 @@ models/open-live-stream-dto.ts
240242
models/outbound-keep-alive-message.ts
241243
models/outbound-web-socket-message.ts
242244
models/package-info.ts
245+
models/parental-rating-score.ts
243246
models/parental-rating.ts
244247
models/path-substitution.ts
245248
models/person-kind.ts
@@ -251,7 +254,6 @@ models/play-access.ts
251254
models/play-command.ts
252255
models/play-message.ts
253256
models/play-method.ts
254-
models/play-queue-update-group-update.ts
255257
models/play-queue-update-reason.ts
256258
models/play-queue-update.ts
257259
models/play-request-dto.ts
@@ -344,20 +346,30 @@ models/special-view-option-dto.ts
344346
models/startup-configuration-dto.ts
345347
models/startup-remote-access-dto.ts
346348
models/startup-user-dto.ts
347-
models/string-group-update.ts
348349
models/subtitle-delivery-method.ts
349350
models/subtitle-options.ts
350351
models/subtitle-playback-mode.ts
351352
models/subtitle-profile.ts
352353
models/sync-play-command-message.ts
353-
models/sync-play-group-update-command-message.ts
354+
models/sync-play-group-does-not-exist-update.ts
355+
models/sync-play-group-joined-update.ts
356+
models/sync-play-group-left-update.ts
357+
models/sync-play-group-update-message.ts
358+
models/sync-play-library-access-denied-update.ts
359+
models/sync-play-not-in-group-update.ts
360+
models/sync-play-play-queue-update.ts
354361
models/sync-play-queue-item.ts
362+
models/sync-play-state-update.ts
355363
models/sync-play-user-access-type.ts
364+
models/sync-play-user-joined-update.ts
365+
models/sync-play-user-left-update.ts
356366
models/system-info.ts
367+
models/system-storage-dto.ts
357368
models/task-completion-status.ts
358369
models/task-info.ts
359370
models/task-result.ts
360371
models/task-state.ts
372+
models/task-trigger-info-type.ts
361373
models/task-trigger-info.ts
362374
models/theme-media-result.ts
363375
models/timer-cancelled-message.ts
@@ -405,6 +417,5 @@ models/video-range.ts
405417
models/video-type.ts
406418
models/video3-dformat.ts
407419
models/virtual-folder-info.ts
408-
models/wake-on-lan-info.ts
409420
models/web-socket-message.ts
410421
models/xbmc-metadata-options.ts

src/generated-client/api/audio-api.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
351351
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
352352
* @param {boolean} [requireAvc] Optional. Whether to require avc.
353353
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
354-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
354+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
355355
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
356356
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
357357
* @param {string} [liveStreamId] The live stream id.
@@ -912,7 +912,7 @@ export const AudioApiAxiosParamCreator = function (configuration?: Configuration
912912
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
913913
* @param {boolean} [requireAvc] Optional. Whether to require avc.
914914
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
915-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
915+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
916916
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
917917
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
918918
* @param {string} [liveStreamId] The live stream id.
@@ -1264,7 +1264,7 @@ export const AudioApiFp = function(configuration?: Configuration) {
12641264
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
12651265
* @param {boolean} [requireAvc] Optional. Whether to require avc.
12661266
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
1267-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
1267+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
12681268
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
12691269
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
12701270
* @param {string} [liveStreamId] The live stream id.
@@ -1388,7 +1388,7 @@ export const AudioApiFp = function(configuration?: Configuration) {
13881388
* @param {number} [maxVideoBitDepth] Optional. The maximum video bit depth.
13891389
* @param {boolean} [requireAvc] Optional. Whether to require avc.
13901390
* @param {boolean} [deInterlace] Optional. Whether to deinterlace the video.
1391-
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamporphic stream.
1391+
* @param {boolean} [requireNonAnamorphic] Optional. Whether to require a non anamorphic stream.
13921392
* @param {number} [transcodingMaxAudioChannels] Optional. The maximum number of audio channels to transcode.
13931393
* @param {number} [cpuCoreLimit] Optional. The limit of how many cpu cores to use.
13941394
* @param {string} [liveStreamId] The live stream id.
@@ -2086,7 +2086,7 @@ export interface AudioApiGetAudioStreamByContainerRequest {
20862086
readonly deInterlace?: boolean
20872087

20882088
/**
2089-
* Optional. Whether to require a non anamporphic stream.
2089+
* Optional. Whether to require a non anamorphic stream.
20902090
* @type {boolean}
20912091
* @memberof AudioApiGetAudioStreamByContainer
20922092
*/
@@ -2800,7 +2800,7 @@ export interface AudioApiHeadAudioStreamByContainerRequest {
28002800
readonly deInterlace?: boolean
28012801

28022802
/**
2803-
* Optional. Whether to require a non anamporphic stream.
2803+
* Optional. Whether to require a non anamorphic stream.
28042804
* @type {boolean}
28052805
* @memberof AudioApiHeadAudioStreamByContainer
28062806
*/

src/generated-client/api/branding-api.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
2121
// @ts-ignore
2222
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
2323
// @ts-ignore
24-
import type { BrandingOptions } from '../models';
24+
import type { BrandingOptionsDto } from '../models';
2525
/**
2626
* BrandingApi - axios parameter creator
2727
* @export
@@ -158,7 +158,7 @@ export const BrandingApiFp = function(configuration?: Configuration) {
158158
* @param {*} [options] Override http request option.
159159
* @throws {RequiredError}
160160
*/
161-
async getBrandingOptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrandingOptions>> {
161+
async getBrandingOptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BrandingOptionsDto>> {
162162
const localVarAxiosArgs = await localVarAxiosParamCreator.getBrandingOptions(options);
163163
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
164164
const localVarOperationServerBasePath = operationServerMap['BrandingApi.getBrandingOptions']?.[localVarOperationServerIndex]?.url;
@@ -198,7 +198,7 @@ export const BrandingApiFactory = function (configuration?: Configuration, baseP
198198
* @param {*} [options] Override http request option.
199199
* @throws {RequiredError}
200200
*/
201-
getBrandingOptions(options?: RawAxiosRequestConfig): AxiosPromise<BrandingOptions> {
201+
getBrandingOptions(options?: RawAxiosRequestConfig): AxiosPromise<BrandingOptionsDto> {
202202
return localVarFp.getBrandingOptions(options).then((request) => request(axios, basePath));
203203
},
204204
};

src/generated-client/api/configuration-api.ts

+90
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
2121
// @ts-ignore
2222
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
2323
// @ts-ignore
24+
import type { BrandingOptionsDto } from '../models';
25+
// @ts-ignore
2426
import type { MetadataOptions } from '../models';
2527
// @ts-ignore
2628
import type { ServerConfiguration } from '../models';
@@ -133,6 +135,45 @@ export const ConfigurationApiAxiosParamCreator = function (configuration?: Confi
133135
options: localVarRequestOptions,
134136
};
135137
},
138+
/**
139+
*
140+
* @summary Updates branding configuration.
141+
* @param {BrandingOptionsDto} brandingOptionsDto Branding configuration.
142+
* @param {*} [options] Override http request option.
143+
* @throws {RequiredError}
144+
*/
145+
updateBrandingConfiguration: async (brandingOptionsDto: BrandingOptionsDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
146+
// verify required parameter 'brandingOptionsDto' is not null or undefined
147+
assertParamExists('updateBrandingConfiguration', 'brandingOptionsDto', brandingOptionsDto)
148+
const localVarPath = `/System/Configuration/Branding`;
149+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
150+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
151+
let baseOptions;
152+
if (configuration) {
153+
baseOptions = configuration.baseOptions;
154+
}
155+
156+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
157+
const localVarHeaderParameter = {} as any;
158+
const localVarQueryParameter = {} as any;
159+
160+
// authentication CustomAuthentication required
161+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
162+
163+
164+
165+
localVarHeaderParameter['Content-Type'] = 'application/json';
166+
167+
setSearchParams(localVarUrlObj, localVarQueryParameter);
168+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
169+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
170+
localVarRequestOptions.data = serializeDataIfNeeded(brandingOptionsDto, localVarRequestOptions, configuration)
171+
172+
return {
173+
url: toPathString(localVarUrlObj),
174+
options: localVarRequestOptions,
175+
};
176+
},
136177
/**
137178
*
138179
* @summary Updates application configuration.
@@ -262,6 +303,19 @@ export const ConfigurationApiFp = function(configuration?: Configuration) {
262303
const localVarOperationServerBasePath = operationServerMap['ConfigurationApi.getNamedConfiguration']?.[localVarOperationServerIndex]?.url;
263304
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
264305
},
306+
/**
307+
*
308+
* @summary Updates branding configuration.
309+
* @param {BrandingOptionsDto} brandingOptionsDto Branding configuration.
310+
* @param {*} [options] Override http request option.
311+
* @throws {RequiredError}
312+
*/
313+
async updateBrandingConfiguration(brandingOptionsDto: BrandingOptionsDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
314+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBrandingConfiguration(brandingOptionsDto, options);
315+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
316+
const localVarOperationServerBasePath = operationServerMap['ConfigurationApi.updateBrandingConfiguration']?.[localVarOperationServerIndex]?.url;
317+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
318+
},
265319
/**
266320
*
267321
* @summary Updates application configuration.
@@ -327,6 +381,16 @@ export const ConfigurationApiFactory = function (configuration?: Configuration,
327381
getNamedConfiguration(requestParameters: ConfigurationApiGetNamedConfigurationRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
328382
return localVarFp.getNamedConfiguration(requestParameters.key, options).then((request) => request(axios, basePath));
329383
},
384+
/**
385+
*
386+
* @summary Updates branding configuration.
387+
* @param {ConfigurationApiUpdateBrandingConfigurationRequest} requestParameters Request parameters.
388+
* @param {*} [options] Override http request option.
389+
* @throws {RequiredError}
390+
*/
391+
updateBrandingConfiguration(requestParameters: ConfigurationApiUpdateBrandingConfigurationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
392+
return localVarFp.updateBrandingConfiguration(requestParameters.brandingOptionsDto, options).then((request) => request(axios, basePath));
393+
},
330394
/**
331395
*
332396
* @summary Updates application configuration.
@@ -364,6 +428,20 @@ export interface ConfigurationApiGetNamedConfigurationRequest {
364428
readonly key: string
365429
}
366430

431+
/**
432+
* Request parameters for updateBrandingConfiguration operation in ConfigurationApi.
433+
* @export
434+
* @interface ConfigurationApiUpdateBrandingConfigurationRequest
435+
*/
436+
export interface ConfigurationApiUpdateBrandingConfigurationRequest {
437+
/**
438+
* Branding configuration.
439+
* @type {BrandingOptionsDto}
440+
* @memberof ConfigurationApiUpdateBrandingConfiguration
441+
*/
442+
readonly brandingOptionsDto: BrandingOptionsDto
443+
}
444+
367445
/**
368446
* Request parameters for updateConfiguration operation in ConfigurationApi.
369447
* @export
@@ -440,6 +518,18 @@ export class ConfigurationApi extends BaseAPI {
440518
return ConfigurationApiFp(this.configuration).getNamedConfiguration(requestParameters.key, options).then((request) => request(this.axios, this.basePath));
441519
}
442520

521+
/**
522+
*
523+
* @summary Updates branding configuration.
524+
* @param {ConfigurationApiUpdateBrandingConfigurationRequest} requestParameters Request parameters.
525+
* @param {*} [options] Override http request option.
526+
* @throws {RequiredError}
527+
* @memberof ConfigurationApi
528+
*/
529+
public updateBrandingConfiguration(requestParameters: ConfigurationApiUpdateBrandingConfigurationRequest, options?: RawAxiosRequestConfig) {
530+
return ConfigurationApiFp(this.configuration).updateBrandingConfiguration(requestParameters.brandingOptionsDto, options).then((request) => request(this.axios, this.basePath));
531+
}
532+
443533
/**
444534
*
445535
* @summary Updates application configuration.

0 commit comments

Comments
 (0)